~/f/nant/RPMS.2017 ~/f/nant ~/f/nant RPMS.2017/nant-0.92+git20130131-0.0.noarch.rpm RPMS/nant-0.92+git20130131-0.0.noarch.rpm differ: byte 225, line 1 Comparing nant-0.92+git20130131-0.0.noarch.rpm to nant-0.92+git20130131-0.0.noarch.rpm comparing the rpm tags of nant --- old-rpm-tags +++ new-rpm-tags @@ -199,49 +199,49 @@ /usr/bin/nant a7b586a9f370e62cc76f3ec9b7e53c8d43db038dfad8ef94790cc21c384bb29c 0 /usr/share/NAnt 0 /usr/share/NAnt/bin 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.dll 801ff387a154f725012f3baf2dc9b738113c36a74aeabd88d7f123d5587ec186 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.dll.mdb cdf8df4539a946b965465653953471593529e356845d4721b041f90a59c5ed55 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.xml ce7ea088bbc66e29f10c4b27d436861b25bb98882c6cff5f5a93279511951e6c 0 -/usr/share/NAnt/bin/NAnt.Core.dll 04dc502354d79f7870b81c47f24e4acf6d498da3a751ee5639110bfab8aa2104 0 -/usr/share/NAnt/bin/NAnt.Core.dll.mdb d2dbe7a5ebd9835c0412eaa471715ac6a8ba4713f63410609d1fef49cc97b4fa 0 -/usr/share/NAnt/bin/NAnt.Core.xml 86ecc3be49df0a762e717c779945e1bb05e088676551bcd6d0237aa0fac8b1d6 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.dll e3554a4e38a13be3290a6cc9b816906a95074e805720c54bfa96ac08ca91dc15 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.dll.mdb 1561566f6d8081ad35c2fafa436d71a94088e1edf049e4c935f8a0e25f7be294 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.xml a32c4c28b0d940ac7400579f0bb892af016bfcfca6a2cc6595881f93291a0fe2 0 -/usr/share/NAnt/bin/NAnt.NUnit.dll 1a54da1aa97afe35b09017a5802a3508dc3ca2aa6dd98889a6c58e9cf6f8b268 0 -/usr/share/NAnt/bin/NAnt.NUnit.dll.mdb 94883fd7ecefc7668e8d0c590d96f238c41565a11a090016280ffc6ef090ae5b 0 -/usr/share/NAnt/bin/NAnt.NUnit.xml 2b61682b0bf49ec07328cd4fba901d9d37d15cf825762712e3a81b6792e2561f 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll 8934279748c3170795f6cea2cb44f869e5a051ee61ee6c19f8371ed324bfff56 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll.mdb ff03390660654947496dfe8343528140dfed1287b8534b2b7c87f478b5c0b867 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.xml 4fdc506ddea8a80eeb2bdd68eed0266a371b44e1392bba06aff42d4580fbfbdc 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll 0060117b9e31b4cd2ba31c88695fd13f10fa3d0ff53301c70b583792cf881d24 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll.mdb d2e0b316e8f5dbb5333bc2116a3d1993d3a4974489029773b8c9a8d0111f8672 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 08a10af20c9f67a4030591e4b85506efc3441533755aca6329821f1d4cef4df1 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll b093ec4ab05ca703f60bfb8cbfcd5ec7c96d79b98cf6a13509b520fe9d8581ef 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll.mdb 26a46cac39bb3bc19dbb66c6cb929266dd5d24891490f7bc6bf4bd374724ba16 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.xml 279cf7b587774f53e68f0b62ce15a8dcc139d620c6341a3bd90bfab6008d7500 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.dll 74a0a9cc4916814b9eeaa6c21f28e19bd4a7de15d74af85d61fffbfaa7faabc7 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.dll.mdb 34d465f8e7667e48a851f58296acba6fad9bb85944db3211fdd1e8f9643bc57a 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.xml b07af8ef471f56728f303a1f1ba5d12081b6981ac826b88fce3b876670fd365b 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll abd8647d63d71072d409a40597abc2cf7df4a1f2b8a23d7e5be72b76de1ff085 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll.mdb e8d4d1049e3571782c73e3b220ac989b9610ab67e16440379b3ac16cbe4f25e9 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.xml e20a0f1a4eda22aee47a75920e641bd61dabda42aed2ce8349118826579fd372 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.dll b875ed0f4ec8d32c5fa10b7fb85ef03861c278f1db7d7222b1fbd42f46d984cf 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.dll.mdb 1799ed813add3e55b8d2438872d52d92c74ac3d8330472eb7737fe225b5a3523 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.xml 8b5697a041bd4975819c59ead42610f5bcfa6ac222353420db83c612bd3c30fe 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.dll bcea9ce2b7303962e2e0d5f9f695a2665736d50cc1cc276d42fa6322bbd326fc 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.dll.mdb 5ab24b54b5848fc8d2366b84cff322cedead7132a671c93692d7d8493c2214df 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.xml ad77181646552a65bf284af2aa7cba71cce01c5d5d8882d9fe3038d463028311 0 +/usr/share/NAnt/bin/NAnt.Core.dll 3ef9f5677f6ba928c5ef49192379b1449295619bc272ce53997a8171040d09b3 0 +/usr/share/NAnt/bin/NAnt.Core.dll.mdb 7960e531a147b2115c0c56f442c92e8ee1ee3cdb7c120c0ad6cef9088b9bdbb8 0 +/usr/share/NAnt/bin/NAnt.Core.xml c42215330ba8f059b5cf26bf2aa9ee8f9ad7bad53c433d9020e40ddf290bc780 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.dll 277fbbeaf47133115b85b9a485bd3b35ef696c46ceedbde045dea456a89da223 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.dll.mdb 3865da4ff7b4cbe0f3582eee2aeba5841c783728eadecb21845ab4179e2a43b1 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.xml 8338918971f46154a9a73040851eabd6cebe3d8af568869acaed28155202c58a 0 +/usr/share/NAnt/bin/NAnt.NUnit.dll 4e67ac745f63708e260f75eca707e78893857210603ee93524e1187098e387a5 0 +/usr/share/NAnt/bin/NAnt.NUnit.dll.mdb 08a70cef64e5d110af96be17e5cf822157c427ebdb76cbffa005054155674aa7 0 +/usr/share/NAnt/bin/NAnt.NUnit.xml e0e1c3643df0da7ef39a271734b51a43df900dacbab772be90b72cc925cea590 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll 4d5758ab3f72bcd4ea560b655032288ab8a15ee1c13d323e20f5777b951b5e81 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll.mdb e4b74f5b560071f4be160ab6ecaa8898d72b317d02ea222fb6ea11d45324d7a3 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.xml 464b5f6befe27a6a3aaf28ab72a5aee233f076d1c2e5fc5b0e97a819d2c95457 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll 9c9b53508480e887c9350ea0306476eaf89eda13f2b1af89106bb9c9c2d59570 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll.mdb 525a75ea321e77811641fe45deb2a16261a51114b4b57170a9e7eaa44bd850fb 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 90fbdf6214551516843b888c5018f92c94af76f3c24bdd1910da68cf10782f7e 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll d3962a9817eb7e71f749d50bbb54101829a4d5c90bd338e5d1bbea22701a4e23 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll.mdb 85d1f3ebf26916a8dd26980d564762b998866485432a5e44e21325b5df82b560 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.xml fad51b872e1ed8a8e092036b2a959a14622b569a7a9b77e4a8cf2c52d7dc51fc 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.dll 1b321ab9f950491f380966924de2821e36ce87cb333b64d69c5049279cd202d1 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.dll.mdb 1af7ab644a10da9597e195f32e2f839b68aaa2038216210cc53d45baeb5581e0 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.xml 2ef3d852d3da4911b4e44024151e918b34e3ed990ff3b6844a075c6b73a936f5 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll 50470b0b244b9e46a9e3e5cf980fe8f85a1f7077ea23f78958cc4bb9a9d68902 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll.mdb b64d68ac980d25a4221ade7e245a1e6ef968deefea3ab7d1309374b24976bcb1 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.xml ddbfbfd3abbc22aa9549a19a8b6e2782ffa8d8e38551121f355756b928298eb3 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.dll f1fdb465ec5333fd2655161e459289a5055a62c22aef48534aac49585a08ac14 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.dll.mdb 8dd4ff2083e95267b5a3726ba6aafa833f9f250a8ec47592600b5809e32a4dbe 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.xml 8cb0abc01f90880746d3e37fb0d036a333e95a29903e57b0c493087261c27454 0 /usr/share/NAnt/bin/NAnt.exe 0a150d928cfdfa63329b3273ac0a75b8f1ff4c123833ab5cedf8d6ef0dd44475 0 /usr/share/NAnt/bin/NAnt.exe.config df11d2afbd79693348a494a1efe68cb9a202f29074643b925cf1c05a6ad25d69 0 /usr/share/NAnt/bin/NAnt.exe.mdb 3dc2b3e69e379a675725c959298757f559f819fab2ddc573df6d1b0c5c56f281 0 /usr/share/NAnt/bin/NAnt.xml d64dc7eda2810a1168f2d55d27e5556c35e933519cfe52a77eca150cf2dc4ff2 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll cd969106b35784884e2680cfb4c7a0e466bee4e59284624f7a713fb849b7d85a 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll.mdb 6881f35e7b44d5909bf42dc70590be5349f1aae09cdb1fc7bebd3948e6a15aaa 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 59d22fe77f9e68747bb436d53e3ec6d9e6961f88f347a2193275a62c44bc2b7b 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll 8bf8fc36b2811bae8907545f001b84b643019cfa4d68ecaf278db8f6419838d4 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll.mdb aecf9e13fbaa8fba70787c891d65e6197ef6d0f3bc9de97c5251c93b56577a0e 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 272cccf9448e3ab2109520bacbaacb88aab515f60477165e60ad1bd2ea43a178 0 /usr/share/NAnt/bin/extensions 0 /usr/share/NAnt/bin/extensions/common 0 /usr/share/NAnt/bin/extensions/common/4.5 0 -/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll 6ea7054b25efd0fcba5853b7f54ca9ff6e8539153cdc2f192075585a6723c35d 0 -/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll.mdb 21a8d49dff0f2adaa5fe5cedbf9faae957e526de647222910ae1a6dae562b797 0 -/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml cdf0a3437b21d83e9f8779a8a7df4754d65f1ade8d4ec280d42dd06298389c6b 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll 5d5102dbb6b301f8fccdbdf56d5841f80d5d2bb621ac00904bbd309120d3083f 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll.mdb 4e91d7ea23e9c2b1dbcabae0e1c091ca496f15dfe79edfe5d5f6c9b6226a2e9b 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml 1666a1c57c7501384578a97d3bca2e6f5df1908e69c96c1c0142baee3b0c1a6d 0 /usr/share/NAnt/bin/lib 0 /usr/share/NAnt/bin/lib/common 0 /usr/share/NAnt/bin/lib/common/2.0 0 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/share/NAnt/bin/NAnt.CompressionTasks.dll /usr/share/NAnt/bin/NAnt.CompressionTasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.CompressionTasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.CompressionTasks.dll (monodis) @@ -3,11 +3,6 @@ .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern System -{ - .ver 4:0:0:0 - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. -} .assembly extern NAnt.Core { .ver 0:93:1:0 @@ -17,6 +12,11 @@ .ver 0:86:0:518 .publickeytoken = (1B 03 E6 AC F1 16 4F 73 ) // ......Os } +.assembly extern System +{ + .ver 4:0:0:0 + .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. +} .assembly 'NAnt.CompressionTasks' { .custom instance void class [mscorlib]System.Reflection.AssemblyDelaySignAttribute::'.ctor'(bool) = (01 00 00 00 00 ) // ..... @@ -62,3111 +62,3111 @@ .module NAnt.CompressionTasks.dll // GUID = { 42 } -.namespace NAnt.Compression.Types +.namespace NAnt.Compression.Tasks { - .class public auto ansi sealed DuplicateHandling - extends [mscorlib]System.Enum + .class public auto ansi beforefieldinit ZipTask + extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 31 4E 41 6E 74 2E 43 6F 6D 70 72 65 73 73 // ..1NAnt.Compress - 69 6F 6E 2E 54 79 70 65 73 2E 44 75 70 6C 69 63 // ion.Types.Duplic - 61 74 65 48 61 6E 64 6C 69 6E 67 43 6F 6E 76 65 // ateHandlingConve - 72 74 65 72 00 00 ) // rter.. - - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Compression.Types.DuplicateHandling Add = int32(0x00000000) - .field public static literal valuetype NAnt.Compression.Types.DuplicateHandling Preserve = int32(0x00000001) - .field public static literal valuetype NAnt.Compression.Types.DuplicateHandling Fail = int32(0x00000002) - - } // end of class NAnt.Compression.Types.DuplicateHandling -} + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 7A 69 70 00 00 ) // ...zip.. -.namespace NAnt.Compression.Types -{ - .class private auto ansi beforefieldinit DuplicateHandlingConverter - extends [System]System.ComponentModel.EnumConverter - { + .field private class [mscorlib]System.IO.FileInfo _zipfile + .field private int32 _ziplevel + .field private class NAnt.Compression.Types.ZipFileSetCollection _filesets + .field private valuetype [mscorlib]System.DateTime _stampDateTime + .field private string _comment + .field private bool _includeEmptyDirs + .field private bool _flatten + .field private valuetype NAnt.Compression.Types.DuplicateHandling _duplicateHandling + .field private class [mscorlib]System.Text.Encoding _encoding + .field private class [mscorlib]System.Collections.Hashtable _addedDirs + .field private class [mscorlib]System.Collections.Hashtable _fileEntries // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { // Method begins at RVA 0x2050 - // Code size 18 (0x12) + // Code size 54 (0x36) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldtoken NAnt.Compression.Types.DuplicateHandling - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) - IL_0010: nop - IL_0011: ret - } // end of method DuplicateHandlingConverter::.ctor + IL_0001: ldc.i4.6 + IL_0002: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.Compression.Types.ZipFileSetCollection::'.ctor'() + IL_000d: stfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets + IL_0012: ldarg.0 + IL_0013: ldc.i4.0 + IL_0014: stfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling + IL_0019: ldarg.0 + IL_001a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_001f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_addedDirs + IL_0024: ldarg.0 + IL_0025: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_002a: stfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_fileEntries + IL_002f: ldarg.0 + IL_0030: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0035: ret + } // end of method ZipTask::.ctor // method line 2 - .method public virtual hidebysig - instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed { - // Method begins at RVA 0x2064 - // Code size 50 (0x32) - .maxstack 4 + // Method begins at RVA 0x2088 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - object V_1) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: isinst [mscorlib]System.String + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_0021 - - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.Type class [System]System.ComponentModel.EnumConverter::get_EnumType() - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_001b: stloc.1 - IL_001c: br IL_0030 - - IL_0021: ldarg.0 - IL_0022: ldarg.1 - IL_0023: ldarg.2 - IL_0024: ldarg.3 - IL_0025: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) - IL_002a: stloc.1 - IL_002b: br IL_0030 - - IL_0030: ldloc.1 - IL_0031: ret - } // end of method DuplicateHandlingConverter::ConvertFrom - - } // end of class NAnt.Compression.Types.DuplicateHandlingConverter -} - -.namespace NAnt.Compression.Types -{ - .class public auto ansi beforefieldinit TarFileSet - extends [NAnt.Core]NAnt.Core.Types.FileSet - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 74 61 72 66 69 6C 65 73 65 74 00 00 ) // ...tarfileset.. + IL_0008: br IL_000d - .field private int32 _fileMode - .field private int32 _dirMode - .field private string _userName - .field private int32 _uid - .field private string _groupName - .field private int32 _gid - .field private string _prefix - .field private static literal int32 _dirFlag = int32(0x00004000) - .field private static literal int32 _fileFlag = int32(0x00008000) + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ZipTask::get_ZipFile // method line 3 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method public hidebysig specialname + instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x20a2 - // Code size 29 (0x1d) + // Method begins at RVA 0x20a3 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4 33188 - IL_0006: stfld int32 NAnt.Compression.Types.TarFileSet::_fileMode - IL_000b: ldarg.0 - IL_000c: ldc.i4 16877 - IL_0011: stfld int32 NAnt.Compression.Types.TarFileSet::_dirMode - IL_0016: ldarg.0 - IL_0017: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_001c: ret - } // end of method TarFileSet::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile + IL_0008: ret + } // end of method ZipTask::set_ZipFile // method line 4 .method public hidebysig specialname - instance default int32 get_FileMode () cil managed + instance default string get_Comment () cil managed { - // Method begins at RVA 0x20c0 + // Method begins at RVA 0x20b0 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_fileMode + IL_0002: ldfld string NAnt.Compression.Tasks.ZipTask::_comment IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSet::get_FileMode + } // end of method ZipTask::get_Comment // method line 5 .method public hidebysig specialname - instance default void set_FileMode (int32 'value') cil managed + instance default void set_Comment (string 'value') cil managed { - // Method begins at RVA 0x20db - // Code size 26 (0x1a) + // Method begins at RVA 0x20cb + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 32768 - IL_0007: ldarg.1 - IL_0008: call string class [mscorlib]System.Convert::ToString(int32) - IL_000d: ldc.i4.8 - IL_000e: call int32 class [mscorlib]System.Convert::ToInt32(string, int32) - IL_0013: or - IL_0014: stfld int32 NAnt.Compression.Types.TarFileSet::_fileMode - IL_0019: ret - } // end of method TarFileSet::set_FileMode + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Compression.Tasks.ZipTask::_comment + IL_000d: ret + } // end of method ZipTask::set_Comment // method line 6 .method public hidebysig specialname - instance default int32 get_DirMode () cil managed + instance default valuetype [mscorlib]System.DateTime get_Stamp () cil managed { - // Method begins at RVA 0x20f8 + // Method begins at RVA 0x20dc // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_dirMode + IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSet::get_DirMode + } // end of method ZipTask::get_Stamp // method line 7 .method public hidebysig specialname - instance default void set_DirMode (int32 'value') cil managed + instance default void set_Stamp (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x2113 - // Code size 26 (0x1a) + // Method begins at RVA 0x20f7 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 16384 - IL_0007: ldarg.1 - IL_0008: call string class [mscorlib]System.Convert::ToString(int32) - IL_000d: ldc.i4.8 - IL_000e: call int32 class [mscorlib]System.Convert::ToInt32(string, int32) - IL_0013: or - IL_0014: stfld int32 NAnt.Compression.Types.TarFileSet::_dirMode - IL_0019: ret - } // end of method TarFileSet::set_DirMode + IL_0002: ldarg.1 + IL_0003: stfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime + IL_0008: ret + } // end of method ZipTask::set_Stamp // method line 8 .method public hidebysig specialname - instance default string get_UserName () cil managed + instance default int32 get_ZipLevel () cil managed { - // Method begins at RVA 0x2130 + // Method begins at RVA 0x2104 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Compression.Types.TarFileSet::_userName + IL_0002: ldfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSet::get_UserName + } // end of method ZipTask::get_ZipLevel // method line 9 .method public hidebysig specialname - instance default void set_UserName (string 'value') cil managed + instance default void set_ZipLevel (int32 'value') cil managed { - // Method begins at RVA 0x214b - // Code size 14 (0xe) + // Method begins at RVA 0x211f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Compression.Types.TarFileSet::_userName - IL_000d: ret - } // end of method TarFileSet::set_UserName + IL_0003: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + IL_0008: ret + } // end of method ZipTask::set_ZipLevel // method line 10 .method public hidebysig specialname - instance default int32 get_Uid () cil managed + instance default bool get_IncludeEmptyDirs () cil managed { - // Method begins at RVA 0x215c + // Method begins at RVA 0x212c // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_uid + IL_0002: ldfld bool NAnt.Compression.Tasks.ZipTask::_includeEmptyDirs IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSet::get_Uid + } // end of method ZipTask::get_IncludeEmptyDirs // method line 11 .method public hidebysig specialname - instance default void set_Uid (int32 'value') cil managed + instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x2177 + // Method begins at RVA 0x2147 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Compression.Types.TarFileSet::_uid + IL_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_includeEmptyDirs IL_0008: ret - } // end of method TarFileSet::set_Uid + } // end of method ZipTask::set_IncludeEmptyDirs // method line 12 - .method public hidebysig specialname - instance default string get_GroupName () cil managed + .method public virtual hidebysig newslot specialname + instance default bool get_Flatten () cil managed { - // Method begins at RVA 0x2184 + // Method begins at RVA 0x2154 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Compression.Types.TarFileSet::_groupName + IL_0002: ldfld bool NAnt.Compression.Tasks.ZipTask::_flatten IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSet::get_GroupName + } // end of method ZipTask::get_Flatten // method line 13 - .method public hidebysig specialname - instance default void set_GroupName (string 'value') cil managed + .method public virtual hidebysig newslot specialname + instance default void set_Flatten (bool 'value') cil managed { - // Method begins at RVA 0x219f - // Code size 14 (0xe) + // Method begins at RVA 0x216f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Compression.Types.TarFileSet::_groupName - IL_000d: ret - } // end of method TarFileSet::set_GroupName + IL_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_flatten + IL_0008: ret + } // end of method ZipTask::set_Flatten // method line 14 .method public hidebysig specialname - instance default int32 get_Gid () cil managed + instance default class NAnt.Compression.Types.ZipFileSetCollection get_ZipFileSets () cil managed { - // Method begins at RVA 0x21b0 + // Method begins at RVA 0x217c // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Compression.Types.ZipFileSetCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_gid + IL_0002: ldfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSet::get_Gid + } // end of method ZipTask::get_ZipFileSets // method line 15 .method public hidebysig specialname - instance default void set_Gid (int32 'value') cil managed + instance default void set_ZipFileSets (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed { - // Method begins at RVA 0x21cb + // Method begins at RVA 0x2197 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Compression.Types.TarFileSet::_gid + IL_0003: stfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets IL_0008: ret - } // end of method TarFileSet::set_Gid + } // end of method ZipTask::set_ZipFileSets // method line 16 .method public hidebysig specialname - instance default string get_Prefix () cil managed + instance default valuetype NAnt.Compression.Types.DuplicateHandling get_DuplicateHandling () cil managed { - // Method begins at RVA 0x21d8 + // Method begins at RVA 0x21a4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype NAnt.Compression.Types.DuplicateHandling V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_0002: ldfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSet::get_Prefix + } // end of method ZipTask::get_DuplicateHandling // method line 17 .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed + instance default void set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') cil managed { - // Method begins at RVA 0x21f4 - // Code size 91 (0x5b) - .maxstack 3 + // Method begins at RVA 0x21bf + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_0003: stfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling + IL_0008: ret + } // end of method ZipTask::set_DuplicateHandling + + // method line 18 + .method public hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + { + // Method begins at RVA 0x21cc + // Code size 54 (0x36) + .maxstack 2 + .locals init ( + class [mscorlib]System.Text.Encoding V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding + IL_0007: brtrue IL_0028 + + IL_000c: nop IL_000d: ldarg.0 - IL_000e: ldfld string NAnt.Compression.Types.TarFileSet::_prefix - IL_0013: brfalse IL_005a + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_CurrentCulture() + IL_0013: callvirt instance class [mscorlib]System.Globalization.TextInfo class [mscorlib]System.Globalization.CultureInfo::get_TextInfo() + IL_0018: callvirt instance int32 class [mscorlib]System.Globalization.TextInfo::get_OEMCodePage() + IL_001d: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(int32) + IL_0022: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding + IL_002e: stloc.0 + IL_002f: br IL_0034 - IL_0018: ldarg.0 - IL_0019: ldfld string NAnt.Compression.Types.TarFileSet::_prefix - IL_001e: ldstr "/" - IL_0023: callvirt instance bool string::EndsWith(string) - IL_0028: brtrue IL_005a + IL_0034: ldloc.0 + IL_0035: ret + } // end of method ZipTask::get_Encoding - IL_002d: ldarg.0 - IL_002e: ldfld string NAnt.Compression.Types.TarFileSet::_prefix - IL_0033: ldstr "\\" - IL_0038: callvirt instance bool string::EndsWith(string) - IL_003d: brtrue IL_005a + // method line 19 + .method public hidebysig specialname + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + { + // Method begins at RVA 0x220e + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding + IL_0008: ret + } // end of method ZipTask::set_Encoding - IL_0042: nop - IL_0043: ldarg.0 - IL_0044: dup - IL_0045: ldfld string NAnt.Compression.Types.TarFileSet::_prefix - IL_004a: ldstr "/" - IL_004f: call string string::Concat(string, string) - IL_0054: stfld string NAnt.Compression.Types.TarFileSet::_prefix - IL_0059: nop - IL_005a: ret - } // end of method TarFileSet::set_Prefix + // method line 20 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x2218 + } // end of method ZipTask::ExecuteTask - .property instance int32 FileMode () + // method line 21 + .method private hidebysig + instance default void CleanUp () cil managed + { + // Method begins at RVA 0x2808 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_addedDirs + IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() + IL_000c: ldarg.0 + IL_000d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_fileEntries + IL_0012: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() + IL_0017: ret + } // end of method ZipTask::CleanUp + + .property instance class [mscorlib]System.IO.FileInfo ZipFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 66 69 6C 65 6D 6F 64 65 00 00 ) // ...filemode.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 7A 69 70 66 69 6C 65 01 00 54 02 08 52 // ...zipfile..T..R + 65 71 75 69 72 65 64 01 ) // equired. - .get instance default int32 NAnt.Compression.Types.TarFileSet::get_FileMode () - .set instance default void NAnt.Compression.Types.TarFileSet::set_FileMode (int32 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::get_ZipFile () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance int32 DirMode () + .property instance string Comment () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 64 69 72 6D 6F 64 65 00 00 ) // ...dirmode.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 63 6F 6D 6D 65 6E 74 00 00 ) // ...comment.. - .get instance default int32 NAnt.Compression.Types.TarFileSet::get_DirMode () - .set instance default void NAnt.Compression.Types.TarFileSet::set_DirMode (int32 'value') + .get instance default string NAnt.Compression.Tasks.ZipTask::get_Comment () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_Comment (string 'value') } - .property instance string UserName () + .property instance valuetype [mscorlib]System.DateTime Stamp () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 75 73 65 72 6E 61 6D 65 00 00 ) // ...username.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 73 74 61 6D 70 64 61 74 65 74 69 6D 65 // ...stampdatetime + 00 00 ) // .. - .get instance default string NAnt.Compression.Types.TarFileSet::get_UserName () - .set instance default void NAnt.Compression.Types.TarFileSet::set_UserName (string 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::get_Stamp () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_Stamp (valuetype [mscorlib]System.DateTime 'value') } - .property instance int32 Uid () + .property instance int32 ZipLevel () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 75 69 64 00 00 ) // ...uid.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 7A 69 70 6C 65 76 65 6C 00 00 ) // ...ziplevel.. - .get instance default int32 NAnt.Compression.Types.TarFileSet::get_Uid () - .set instance default void NAnt.Compression.Types.TarFileSet::set_Uid (int32 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 09 00 00 00 00 00 ) // ............ + + .get instance default int32 NAnt.Compression.Tasks.ZipTask::get_ZipLevel () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_ZipLevel (int32 'value') } - .property instance string GroupName () + .property instance bool IncludeEmptyDirs () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 67 72 6F 75 70 6E 61 6D 65 00 00 ) // ...groupname.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd + 69 72 73 00 00 ) // irs.. - .get instance default string NAnt.Compression.Types.TarFileSet::get_GroupName () - .set instance default void NAnt.Compression.Types.TarFileSet::set_GroupName (string 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Compression.Tasks.ZipTask::get_IncludeEmptyDirs () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_IncludeEmptyDirs (bool 'value') } - .property instance int32 Gid () + .property instance bool Flatten () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 67 69 64 00 00 ) // ...gid.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. - .get instance default int32 NAnt.Compression.Types.TarFileSet::get_Gid () - .set instance default void NAnt.Compression.Types.TarFileSet::set_Gid (int32 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Compression.Tasks.ZipTask::get_Flatten () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_Flatten (bool 'value') } - .property instance string Prefix () + .property instance class NAnt.Compression.Types.ZipFileSetCollection ZipFileSets () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 70 72 65 66 69 78 00 00 ) // ...prefix.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. - .get instance default string NAnt.Compression.Types.TarFileSet::get_Prefix () - .set instance default void NAnt.Compression.Types.TarFileSet::set_Prefix (string 'value') + .get instance default class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::get_ZipFileSets () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_ZipFileSets (class NAnt.Compression.Types.ZipFileSetCollection 'value') } - } // end of class NAnt.Compression.Types.TarFileSet + .property instance valuetype NAnt.Compression.Types.DuplicateHandling DuplicateHandling () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 75 70 6C 69 63 61 74 65 00 00 ) // ...duplicate.. + + .get instance default valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::get_DuplicateHandling () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') + } + .property instance class [mscorlib]System.Text.Encoding Encoding () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + + .get instance default class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::get_Encoding () + .set instance default void NAnt.Compression.Tasks.ZipTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') + } + } // end of class NAnt.Compression.Tasks.ZipTask } -.namespace NAnt.Compression.Types +.namespace NAnt.Compression.Tasks { - .class public auto ansi serializable beforefieldinit ZipFileSetCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit GUnzip + extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 67 75 6E 7A 69 70 00 00 ) // ...gunzip.. + .field private class [mscorlib]System.IO.FileInfo _srcFile + .field private class [mscorlib]System.IO.FileInfo _destFile - // method line 18 + // method line 22 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x225b - // Code size 8 (0x8) + // Method begins at RVA 0x2821 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method ZipFileSetCollection::.ctor + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method GUnzip::.ctor - // method line 19 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed + // method line 23 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed { - // Method begins at RVA 0x2264 + // Method begins at RVA 0x282c // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Compression.Types.ZipFileSetCollection::AddRange(class NAnt.Compression.Types.ZipFileSetCollection) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_srcFile + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method ZipFileSetCollection::.ctor + } // end of method GUnzip::get_SrcFile - // method line 20 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSet[] 'value') cil managed + // method line 24 + .method public hidebysig specialname + instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2274 - // Code size 15 (0xf) + // Method begins at RVA 0x2847 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Compression.Types.ZipFileSetCollection::AddRange(class NAnt.Compression.Types.ZipFileSet[]) - IL_000e: ret - } // end of method ZipFileSetCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_srcFile + IL_0008: ret + } // end of method GUnzip::set_SrcFile - // method line 21 + // method line 25 .method public hidebysig specialname - instance default class NAnt.Compression.Types.ZipFileSet get_Item (int32 index) cil managed + instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed { - // Method begins at RVA 0x2284 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2854 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Compression.Types.ZipFileSet V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Compression.Types.ZipFileSet - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_destFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ZipFileSetCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GUnzip::get_DestFile - // method line 22 + // method line 26 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Compression.Types.ZipFileSet 'value') cil managed + instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x22aa - // Code size 15 (0xf) + // Method begins at RVA 0x286f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method ZipFileSetCollection::set_Item + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_destFile + IL_0008: ret + } // end of method GUnzip::set_DestFile - // method line 23 - .method public hidebysig specialname - instance default int32 get_FileCount () cil managed + // method line 27 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x22bc - // Code size 96 (0x60) - .maxstack 2 - .locals init ( - int32 V_0, - class NAnt.Compression.Types.ZipFileSet V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - int32 V_4) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_000f: stloc.2 - .try { // 0 - IL_0010: br IL_0031 + // Method begins at RVA 0x287c + } // end of method GUnzip::ExecuteTask - IL_0015: ldloc.2 - IL_0016: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001b: castclass NAnt.Compression.Types.ZipFileSet - IL_0020: stloc.1 - IL_0021: nop - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0029: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_002e: add - IL_002f: stloc.0 - IL_0030: nop - IL_0031: ldloc.2 - IL_0032: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0037: brtrue IL_0015 + .property instance class [mscorlib]System.IO.FileInfo SrcFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 73 72 63 01 00 54 02 08 52 65 71 75 69 // ...src..T..Requi + 72 65 64 01 ) // red. - IL_003c: leave IL_0055 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::get_SrcFile () + .set instance default void NAnt.Compression.Tasks.GUnzip::set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo DestFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 64 65 73 74 01 00 54 02 08 52 65 71 75 // ...dest..T..Requ + 69 72 65 64 01 ) // ired. - } // end .try 0 - finally { // 0 - IL_0041: ldloc.2 - IL_0042: isinst [mscorlib]System.IDisposable - IL_0047: dup - IL_0048: stloc.3 - IL_0049: brfalse IL_0054 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::get_DestFile () + .set instance default void NAnt.Compression.Tasks.GUnzip::set_DestFile (class [mscorlib]System.IO.FileInfo 'value') + } + } // end of class NAnt.Compression.Tasks.GUnzip +} - IL_004e: ldloc.3 - IL_004f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0054: endfinally - } // end handler 0 - IL_0055: ldloc.0 - IL_0056: stloc.s 4 - IL_0058: br IL_005d +.namespace NAnt.Compression.Tasks +{ + .class public auto ansi abstract beforefieldinit ExpandBaseTask + extends [NAnt.Core]NAnt.Core.Task + { + .field private bool _overwrite - IL_005d: ldloc.s 4 - IL_005f: ret - } // end of method ZipFileSetCollection::get_FileCount + // method line 28 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x29fc + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Compression.Tasks.ExpandBaseTask::_overwrite + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_000d: ret + } // end of method ExpandBaseTask::.ctor - // method line 24 - .method public hidebysig - instance default int32 Add (class NAnt.Compression.Types.ZipFileSet item) cil managed + // method line 29 + .method public virtual hidebysig newslot specialname + instance default bool get_Overwrite () cil managed { - // Method begins at RVA 0x2338 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2a0c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld bool NAnt.Compression.Tasks.ExpandBaseTask::_overwrite + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ZipFileSetCollection::Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExpandBaseTask::get_Overwrite - // method line 25 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.ZipFileSet[] items) cil managed + // method line 30 + .method public virtual hidebysig newslot specialname + instance default void set_Overwrite (bool 'value') cil managed { - // Method begins at RVA 0x235c - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x2a27 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Compression.Types.ZipFileSetCollection::Add(class NAnt.Compression.Types.ZipFileSet) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 - - IL_0021: ret - } // end of method ZipFileSetCollection::AddRange + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Compression.Tasks.ExpandBaseTask::_overwrite + IL_0008: ret + } // end of method ExpandBaseTask::set_Overwrite - // method line 26 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.ZipFileSetCollection items) cil managed + // method line 31 + .method family hidebysig + instance default void ExtractFile (class [mscorlib]System.IO.Stream inputStream, string destDirectory, string entryName, valuetype [mscorlib]System.DateTime entryDate, int64 entrySize) cil managed { - // Method begins at RVA 0x238c - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0x2a34 + // Code size 369 (0x171) + .maxstack 7 .locals init ( - int32 V_0) + class [mscorlib]System.IO.FileInfo V_0, + class [mscorlib]System.Exception V_1, + class [mscorlib]System.IO.FileStream V_2, + int32 V_3, + unsigned int8[] V_4, + class [mscorlib]System.Exception V_5) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0008: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0019: brtrue IL_006e - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Compression.Types.ZipFileSet class NAnt.Compression.Types.ZipFileSetCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Compression.Types.ZipFileSetCollection::Add(class NAnt.Compression.Types.ZipFileSet) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method ZipFileSetCollection::AddRange - - // method line 27 - .method public hidebysig - instance default bool Contains (class NAnt.Compression.Types.ZipFileSet item) cil managed - { - // Method begins at RVA 0x23c4 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ZipFileSetCollection::Contains - - // method line 28 - .method public hidebysig - instance default void CopyTo (class NAnt.Compression.Types.ZipFileSet[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x23e5 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method ZipFileSetCollection::CopyTo - - // method line 29 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Compression.Types.ZipFileSet item) cil managed - { - // Method begins at RVA 0x23f8 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ZipFileSetCollection::IndexOf - - // method line 30 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Compression.Types.ZipFileSet item) cil managed - { - // Method begins at RVA 0x2419 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method ZipFileSetCollection::Insert - - // method line 31 - .method public hidebysig - instance default class NAnt.Compression.Types.ZipFileSetEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x242c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Compression.Types.ZipFileSetEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Compression.Types.ZipFileSetEnumerator::'.ctor'(class NAnt.Compression.Types.ZipFileSetCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipFileSetCollection::GetEnumerator - - // method line 32 - .method public hidebysig - instance default void Remove (class NAnt.Compression.Types.ZipFileSet item) cil managed - { - // Method begins at RVA 0x2447 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method ZipFileSetCollection::Remove - - .property instance class NAnt.Compression.Types.ZipFileSet Item (int32) - { - .get instance default class NAnt.Compression.Types.ZipFileSet NAnt.Compression.Types.ZipFileSetCollection::get_Item (int32 index) - .set instance default void NAnt.Compression.Types.ZipFileSetCollection::set_Item (int32 index, class NAnt.Compression.Types.ZipFileSet 'value') - } - .property instance int32 FileCount () - { - .get instance default int32 NAnt.Compression.Types.ZipFileSetCollection::get_FileCount () - } - } // end of class NAnt.Compression.Types.ZipFileSetCollection -} - -.namespace NAnt.Compression.Types -{ - .class public auto ansi beforefieldinit ZipFileSetEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 33 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection ZipFileSets) cil managed - { - // Method begins at RVA 0x2458 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator - IL_0015: ret - } // end of method ZipFileSetEnumerator::.ctor - - // method line 34 - .method public hidebysig specialname - instance default class NAnt.Compression.Types.ZipFileSet get_Current () cil managed - { - // Method begins at RVA 0x247c - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Compression.Types.ZipFileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Compression.Types.ZipFileSet - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ZipFileSetEnumerator::get_Current - - // method line 35 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x24a4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.get_Current - - // method line 36 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x24c4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_001e: nop + .try { // 0 + IL_001f: nop + IL_0020: ldloc.0 + IL_0021: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0026: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_002b: ldloc.0 + IL_002c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0031: ldarg.s 4 + IL_0033: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) + IL_0038: ldloc.0 + IL_0039: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_003e: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0043: nop + IL_0044: leave IL_006d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ZipFileSetEnumerator::MoveNext + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0049: stloc.1 + IL_004a: nop + IL_004b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0050: ldstr "Directory '{0}' could not be created." + IL_0055: ldloc.0 + IL_0056: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_005b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0060: ldarg.0 + IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0066: ldloc.1 + IL_0067: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_006c: throw + } // end handler 0 + IL_006d: nop + IL_006e: ldarg.0 + IL_006f: callvirt instance bool class NAnt.Compression.Tasks.ExpandBaseTask::get_Overwrite() + IL_0074: brtrue IL_00bb - // method line 37 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x24e4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0079: ldloc.0 + IL_007a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_007f: brfalse IL_00bb - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.MoveNext + IL_0084: ldloc.0 + IL_0085: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_008a: ldarg.s 4 + IL_008c: call bool valuetype [mscorlib]System.DateTime::op_GreaterThanOrEqual(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0091: brfalse IL_00bb - // method line 38 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x2504 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ZipFileSetEnumerator::Reset + IL_0096: nop + IL_0097: ldarg.0 + IL_0098: ldc.i4 1000 + IL_009d: ldstr "Skipping '{0}' as it is up-to-date." + IL_00a2: ldc.i4.1 + IL_00a3: newarr [mscorlib]System.Object + IL_00a8: dup + IL_00a9: ldc.i4.0 + IL_00aa: ldloc.0 + IL_00ab: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00b0: stelem.ref + IL_00b1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00b6: br IL_0170 - // method line 39 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x2512 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.Reset + IL_00bb: ldarg.0 + IL_00bc: ldc.i4 2000 + IL_00c1: ldstr "Extracting '{0}' to '{1}'." + IL_00c6: ldc.i4.2 + IL_00c7: newarr [mscorlib]System.Object + IL_00cc: dup + IL_00cd: ldc.i4.0 + IL_00ce: ldarg.3 + IL_00cf: stelem.ref + IL_00d0: dup + IL_00d1: ldc.i4.1 + IL_00d2: ldarg.2 + IL_00d3: stelem.ref + IL_00d4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + .try { // 2 + IL_00d9: nop + IL_00da: ldloc.0 + IL_00db: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00e0: ldc.i4.2 + IL_00e1: ldc.i4.2 + IL_00e2: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) + IL_00e7: stloc.2 + .try { // 1 + IL_00e8: nop + IL_00e9: ldc.i4 2048 + IL_00ee: stloc.3 + IL_00ef: ldc.i4 2048 + IL_00f4: newarr [mscorlib]System.Byte + IL_00f9: stloc.s 4 + IL_00fb: nop + IL_00fc: nop + IL_00fd: ldarg.1 + IL_00fe: ldloc.s 4 + IL_0100: ldc.i4.0 + IL_0101: ldloc.s 4 + IL_0103: ldlen + IL_0104: conv.i4 + IL_0105: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) + IL_010a: stloc.3 + IL_010b: ldloc.3 + IL_010c: brtrue IL_0117 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Compression.Types.ZipFileSetEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Compression.Types.ZipFileSet Current () - { - .get instance default class NAnt.Compression.Types.ZipFileSet NAnt.Compression.Types.ZipFileSetEnumerator::get_Current () - } - } // end of class NAnt.Compression.Types.ZipFileSetEnumerator -} + IL_0111: nop + IL_0112: leave IL_0127 -.namespace NAnt.Compression.Types -{ - .class public auto ansi sealed TarCompressionMethod - extends [mscorlib]System.Enum - { - .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 34 4E 41 6E 74 2E 43 6F 6D 70 72 65 73 73 // ..4NAnt.Compress - 69 6F 6E 2E 54 79 70 65 73 2E 54 61 72 43 6F 6D // ion.Types.TarCom - 70 72 65 73 73 69 6F 6E 4D 65 74 68 6F 64 43 6F // pressionMethodCo - 6E 76 65 72 74 65 72 00 00 ) // nverter.. + IL_0117: ldloc.2 + IL_0118: ldloc.s 4 + IL_011a: ldc.i4.0 + IL_011b: ldloc.3 + IL_011c: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0121: nop + IL_0122: br IL_00fb - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Compression.Types.TarCompressionMethod None = int32(0x00000000) - .field public static literal valuetype NAnt.Compression.Types.TarCompressionMethod GZip = int32(0x00000001) - .field public static literal valuetype NAnt.Compression.Types.TarCompressionMethod BZip2 = int32(0x00000002) + IL_0127: ldloc.2 + IL_0128: callvirt instance void class [mscorlib]System.IO.Stream::Close() + IL_012d: nop + IL_012e: leave IL_0140 - } // end of class NAnt.Compression.Types.TarCompressionMethod -} + } // end .try 1 + finally { // 1 + IL_0133: ldloc.2 + IL_0134: brfalse IL_013f -.namespace NAnt.Compression.Types -{ - .class private auto ansi beforefieldinit TarCompressionMethodConverter - extends [System]System.ComponentModel.EnumConverter - { + IL_0139: ldloc.2 + IL_013a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_013f: endfinally + } // end handler 1 + IL_0140: nop + IL_0141: leave IL_0168 - // method line 40 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2520 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldtoken NAnt.Compression.Types.TarCompressionMethod - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) - IL_0010: nop - IL_0011: ret - } // end of method TarCompressionMethodConverter::.ctor + } // end .try 2 + catch class [mscorlib]System.Exception { // 2 + IL_0146: stloc.s 5 + IL_0148: nop + IL_0149: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_014e: ldstr "Unable to expand '{0}' to '{1}'." + IL_0153: ldarg.3 + IL_0154: ldarg.2 + IL_0155: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_015a: ldarg.0 + IL_015b: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0160: ldloc.s 5 + IL_0162: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0167: throw + } // end handler 2 + IL_0168: ldloc.0 + IL_0169: ldarg.s 4 + IL_016b: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) + IL_0170: ret + } // end of method ExpandBaseTask::ExtractFile - // method line 41 - .method public virtual hidebysig - instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + // method line 32 + .method family hidebysig + instance default void ExtractDirectory (class [mscorlib]System.IO.Stream inputStream, string destDirectory, string entryName, valuetype [mscorlib]System.DateTime entryDate) cil managed { - // Method begins at RVA 0x2534 - // Code size 50 (0x32) - .maxstack 4 + // Method begins at RVA 0x2bdc + // Code size 91 (0x5b) + .maxstack 3 .locals init ( - string V_0, - object V_1) + class [mscorlib]System.IO.DirectoryInfo V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: isinst [mscorlib]System.String - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_0021 + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0008: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0014: brtrue IL_005a - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.Type class [System]System.ComponentModel.EnumConverter::get_EnumType() - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_001b: stloc.1 - IL_001c: br IL_0030 + IL_0019: nop + .try { // 0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0021: ldloc.0 + IL_0022: ldarg.s 4 + IL_0024: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) + IL_0029: ldloc.0 + IL_002a: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_002f: nop + IL_0030: leave IL_0059 - IL_0021: ldarg.0 - IL_0022: ldarg.1 - IL_0023: ldarg.2 - IL_0024: ldarg.3 - IL_0025: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) - IL_002a: stloc.1 - IL_002b: br IL_0030 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0035: stloc.1 + IL_0036: nop + IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003c: ldstr "Directory '{0}' could not be created." + IL_0041: ldloc.0 + IL_0042: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0047: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004c: ldarg.0 + IL_004d: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0052: ldloc.1 + IL_0053: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0058: throw + } // end handler 0 + IL_0059: nop + IL_005a: ret + } // end of method ExpandBaseTask::ExtractDirectory - IL_0030: ldloc.1 - IL_0031: ret - } // end of method TarCompressionMethodConverter::ConvertFrom + .property instance bool Overwrite () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6F 76 65 72 77 72 69 74 65 01 00 54 02 // ...overwrite..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - } // end of class NAnt.Compression.Types.TarCompressionMethodConverter + .get instance default bool NAnt.Compression.Tasks.ExpandBaseTask::get_Overwrite () + .set instance default void NAnt.Compression.Tasks.ExpandBaseTask::set_Overwrite (bool 'value') + } + } // end of class NAnt.Compression.Tasks.ExpandBaseTask } -.namespace NAnt.Compression.Types +.namespace NAnt.Compression.Tasks { - .class public auto ansi serializable beforefieldinit TarFileSetCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit TarTask + extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 74 61 72 00 00 ) // ...tar.. + .field private class [mscorlib]System.IO.FileInfo _destFile + .field private class NAnt.Compression.Types.TarFileSetCollection _filesets + .field private bool _flatten + .field private bool _includeEmptyDirs + .field private valuetype NAnt.Compression.Types.TarCompressionMethod _compressionMethod + .field private class [mscorlib]System.Collections.Hashtable _addedDirs - // method line 42 + // method line 33 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2572 - // Code size 8 (0x8) + // Method begins at RVA 0x2c54 + // Code size 50 (0x32) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method TarFileSetCollection::.ctor + IL_0001: newobj instance void class NAnt.Compression.Types.TarFileSetCollection::'.ctor'() + IL_0006: stfld class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::_filesets + IL_000b: ldarg.0 + IL_000c: ldc.i4.0 + IL_000d: stfld bool NAnt.Compression.Tasks.TarTask::_flatten + IL_0012: ldarg.0 + IL_0013: ldc.i4.0 + IL_0014: stfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs + IL_0019: ldarg.0 + IL_001a: ldc.i4.0 + IL_001b: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod + IL_0020: ldarg.0 + IL_0021: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0026: stfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.TarTask::_addedDirs + IL_002b: ldarg.0 + IL_002c: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0031: ret + } // end of method TarTask::.ctor - // method line 43 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection 'value') cil managed + // method line 34 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed { - // Method begins at RVA 0x257b + // Method begins at RVA 0x2c88 // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Compression.Types.TarFileSetCollection::AddRange(class NAnt.Compression.Types.TarFileSetCollection) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.TarTask::_destFile + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSetCollection::.ctor + } // end of method TarTask::get_DestFile - // method line 44 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSet[] 'value') cil managed + // method line 35 + .method public hidebysig specialname + instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x258b - // Code size 15 (0xf) + // Method begins at RVA 0x2ca3 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Compression.Types.TarFileSetCollection::AddRange(class NAnt.Compression.Types.TarFileSet[]) - IL_000e: ret - } // end of method TarFileSetCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.TarTask::_destFile + IL_0008: ret + } // end of method TarTask::set_DestFile - // method line 45 + // method line 36 .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSet get_Item (int32 index) cil managed + instance default bool get_IncludeEmptyDirs () cil managed { - // Method begins at RVA 0x259c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2cb0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Compression.Types.TarFileSet V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Compression.Types.TarFileSet - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method TarFileSetCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TarTask::get_IncludeEmptyDirs - // method line 46 + // method line 37 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') cil managed + instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x25c2 - // Code size 15 (0xf) + // Method begins at RVA 0x2ccb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method TarFileSetCollection::set_Item + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs + IL_0008: ret + } // end of method TarTask::set_IncludeEmptyDirs - // method line 47 - .method public hidebysig specialname - instance default int32 get_FileCount () cil managed + // method line 38 + .method public virtual hidebysig newslot specialname + instance default bool get_Flatten () cil managed { - // Method begins at RVA 0x25d4 - // Code size 96 (0x60) - .maxstack 2 + // Method begins at RVA 0x2cd8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0, - class NAnt.Compression.Types.TarFileSet V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - int32 V_4) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_000f: stloc.2 - .try { // 0 - IL_0010: br IL_0031 - - IL_0015: ldloc.2 - IL_0016: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001b: castclass NAnt.Compression.Types.TarFileSet - IL_0020: stloc.1 - IL_0021: nop - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0029: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_002e: add - IL_002f: stloc.0 - IL_0030: nop - IL_0031: ldloc.2 - IL_0032: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0037: brtrue IL_0015 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Compression.Tasks.TarTask::_flatten + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003c: leave IL_0055 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TarTask::get_Flatten - } // end .try 0 - finally { // 0 - IL_0041: ldloc.2 - IL_0042: isinst [mscorlib]System.IDisposable - IL_0047: dup - IL_0048: stloc.3 - IL_0049: brfalse IL_0054 + // method line 39 + .method public virtual hidebysig newslot specialname + instance default void set_Flatten (bool 'value') cil managed + { + // Method begins at RVA 0x2cf3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Compression.Tasks.TarTask::_flatten + IL_0008: ret + } // end of method TarTask::set_Flatten - IL_004e: ldloc.3 - IL_004f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0054: endfinally - } // end handler 0 - IL_0055: ldloc.0 - IL_0056: stloc.s 4 - IL_0058: br IL_005d + // method line 40 + .method public hidebysig specialname + instance default class NAnt.Compression.Types.TarFileSetCollection get_TarFileSets () cil managed + { + // Method begins at RVA 0x2d00 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Compression.Types.TarFileSetCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::_filesets + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_005d: ldloc.s 4 - IL_005f: ret - } // end of method TarFileSetCollection::get_FileCount + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TarTask::get_TarFileSets - // method line 48 - .method public hidebysig - instance default int32 Add (class NAnt.Compression.Types.TarFileSet item) cil managed + // method line 41 + .method public hidebysig specialname + instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed { - // Method begins at RVA 0x2650 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2d1c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + valuetype NAnt.Compression.Types.TarCompressionMethod V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TarFileSetCollection::Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TarTask::get_CompressionMethod - // method line 49 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.TarFileSet[] items) cil managed + // method line 42 + .method public hidebysig specialname + instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed { - // Method begins at RVA 0x2674 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x2d37 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Compression.Types.TarFileSetCollection::Add(class NAnt.Compression.Types.TarFileSet) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod + IL_0008: ret + } // end of method TarTask::set_CompressionMethod - IL_0021: ret - } // end of method TarFileSetCollection::AddRange + // method line 43 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x2d44 + } // end of method TarTask::ExecuteTask - // method line 50 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.TarFileSetCollection items) cil managed + // method line 44 + .method private hidebysig + (null) cil managed { - // Method begins at RVA 0x26a4 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + // Method begins at RVA 0x3220 + } // end of method TarTask:: - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Compression.Types.TarFileSet class NAnt.Compression.Types.TarFileSetCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Compression.Types.TarFileSetCollection::Add(class NAnt.Compression.Types.TarFileSet) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + .property instance class [mscorlib]System.IO.FileInfo DestFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 64 65 73 74 66 69 6C 65 01 00 54 02 08 // ...destfile..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - IL_0028: ret - } // end of method TarFileSetCollection::AddRange + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.TarTask::get_DestFile () + .set instance default void NAnt.Compression.Tasks.TarTask::set_DestFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance bool IncludeEmptyDirs () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd + 69 72 73 01 00 54 02 08 52 65 71 75 69 72 65 64 // irs..T..Required + 00 ) // . - // method line 51 - .method public hidebysig - instance default bool Contains (class NAnt.Compression.Types.TarFileSet item) cil managed + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Compression.Tasks.TarTask::get_IncludeEmptyDirs () + .set instance default void NAnt.Compression.Tasks.TarTask::set_IncludeEmptyDirs (bool 'value') + } + .property instance bool Flatten () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Compression.Tasks.TarTask::get_Flatten () + .set instance default void NAnt.Compression.Tasks.TarTask::set_Flatten (bool 'value') + } + .property instance class NAnt.Compression.Types.TarFileSetCollection TarFileSets () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + + .get instance default class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::get_TarFileSets () + } + .property instance valuetype NAnt.Compression.Types.TarCompressionMethod CompressionMethod () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 63 6F 6D 70 72 65 73 73 69 6F 6E 00 00 ) // ...compression.. + + .get instance default valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::get_CompressionMethod () + .set instance default void NAnt.Compression.Tasks.TarTask::set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') + } + } // end of class NAnt.Compression.Tasks.TarTask +} + +.namespace NAnt.Compression.Tasks +{ + .class public auto ansi beforefieldinit UnTarTask + extends NAnt.Compression.Tasks.ExpandBaseTask + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 74 61 72 00 00 ) // ...untar.. + + .field private class [mscorlib]System.IO.FileInfo _srcFile + .field private class [mscorlib]System.IO.DirectoryInfo _destDir + .field private valuetype NAnt.Compression.Types.TarCompressionMethod _compressionMethod + + // method line 45 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x26dc - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x32a2 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() + IL_000d: ret + } // end of method UnTarTask::.ctor + + // method line 46 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed + { + // Method begins at RVA 0x32b4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::_srcFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TarFileSetCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method UnTarTask::get_SrcFile - // method line 52 - .method public hidebysig - instance default void CopyTo (class NAnt.Compression.Types.TarFileSet[] 'array', int32 index) cil managed + // method line 47 + .method public hidebysig specialname + instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x26fd - // Code size 15 (0xf) + // Method begins at RVA 0x32cf + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method TarFileSetCollection::CopyTo + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::_srcFile + IL_0008: ret + } // end of method UnTarTask::set_SrcFile - // method line 53 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Compression.Types.TarFileSet item) cil managed + // method line 48 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed { - // Method begins at RVA 0x2710 - // Code size 21 (0x15) + // Method begins at RVA 0x32dc + // Code size 48 (0x30) .maxstack 2 .locals init ( - int32 V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0007: brtrue IL_0022 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TarFileSetCollection::IndexOf + IL_000c: ldarg.0 + IL_000d: ldarg.0 + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_001d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0022: ldarg.0 + IL_0023: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0028: stloc.0 + IL_0029: br IL_002e - // method line 54 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Compression.Types.TarFileSet item) cil managed + IL_002e: ldloc.0 + IL_002f: ret + } // end of method UnTarTask::get_DestinationDirectory + + // method line 49 + .method public hidebysig specialname + instance default void set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x2731 - // Code size 15 (0xf) + // Method begins at RVA 0x3318 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method TarFileSetCollection::Insert + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0008: ret + } // end of method UnTarTask::set_DestinationDirectory - // method line 55 - .method public hidebysig - instance default class NAnt.Compression.Types.TarFileSetEnumerator GetEnumerator () cil managed + // method line 50 + .method public hidebysig specialname + instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed { - // Method begins at RVA 0x2744 + // Method begins at RVA 0x3324 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Compression.Types.TarFileSetEnumerator V_0) + valuetype NAnt.Compression.Types.TarCompressionMethod V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Compression.Types.TarFileSetEnumerator::'.ctor'(class NAnt.Compression.Types.TarFileSetCollection) + IL_0002: ldfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarFileSetCollection::GetEnumerator + } // end of method UnTarTask::get_CompressionMethod - // method line 56 - .method public hidebysig - instance default void Remove (class NAnt.Compression.Types.TarFileSet item) cil managed + // method line 51 + .method public hidebysig specialname + instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed { - // Method begins at RVA 0x275f - // Code size 14 (0xe) + // Method begins at RVA 0x333f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method TarFileSetCollection::Remove + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod + IL_0008: ret + } // end of method UnTarTask::set_CompressionMethod - .property instance class NAnt.Compression.Types.TarFileSet Item (int32) + // method line 52 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x334c + } // end of method UnTarTask::ExecuteTask + + .property instance class [mscorlib]System.IO.FileInfo SrcFile () { - .get instance default class NAnt.Compression.Types.TarFileSet NAnt.Compression.Types.TarFileSetCollection::get_Item (int32 index) - .set instance default void NAnt.Compression.Types.TarFileSetCollection::set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 73 72 63 01 00 54 02 08 52 65 71 75 69 // ...src..T..Requi + 72 65 64 01 ) // red. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::get_SrcFile () + .set instance default void NAnt.Compression.Tasks.UnTarTask::set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance int32 FileCount () + .property instance class [mscorlib]System.IO.DirectoryInfo DestinationDirectory () { - .get instance default int32 NAnt.Compression.Types.TarFileSetCollection::get_FileCount () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 64 65 73 74 01 00 54 02 08 52 65 71 75 // ...dest..T..Requ + 69 72 65 64 00 ) // ired. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::get_DestinationDirectory () + .set instance default void NAnt.Compression.Tasks.UnTarTask::set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') } - } // end of class NAnt.Compression.Types.TarFileSetCollection + .property instance valuetype NAnt.Compression.Types.TarCompressionMethod CompressionMethod () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 63 6F 6D 70 72 65 73 73 69 6F 6E 00 00 ) // ...compression.. + + .get instance default valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::get_CompressionMethod () + .set instance default void NAnt.Compression.Tasks.UnTarTask::set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') + } + } // end of class NAnt.Compression.Tasks.UnTarTask } -.namespace NAnt.Compression.Types +.namespace NAnt.Compression.Tasks { - .class public auto ansi beforefieldinit TarFileSetEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + .class public auto ansi beforefieldinit UnZipTask + extends NAnt.Compression.Tasks.ExpandBaseTask + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 7A 69 70 00 00 ) // ...unzip.. - // method line 57 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection TarFileSets) cil managed + .field private class [mscorlib]System.IO.FileInfo _zipfile + .field private class [mscorlib]System.IO.DirectoryInfo _toDir + .field private class [mscorlib]System.Text.Encoding _encoding + + // method line 53 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2770 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + // Method begins at RVA 0x35f8 + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator - IL_0015: ret - } // end of method TarFileSetEnumerator::.ctor + IL_0001: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() + IL_0006: ret + } // end of method UnZipTask::.ctor - // method line 58 + // method line 54 .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSet get_Current () cil managed + instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed { - // Method begins at RVA 0x2794 - // Code size 25 (0x19) + // Method begins at RVA 0x3600 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Compression.Types.TarFileSet V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Compression.Types.TarFileSet - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnZipTask::_zipfile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method TarFileSetEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method UnZipTask::get_ZipFile - // method line 59 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 55 + .method public hidebysig specialname + instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x27bc - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0x361b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TarFileSetEnumerator::System.Collections.IEnumerator.get_Current + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnZipTask::_zipfile + IL_0008: ret + } // end of method UnZipTask::set_ZipFile - // method line 60 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 56 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed { - // Method begins at RVA 0x27dc - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x3628 + // Code size 48 (0x30) + .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir + IL_0007: brtrue IL_0022 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TarFileSetEnumerator::MoveNext + IL_000c: ldarg.0 + IL_000d: ldarg.0 + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_001d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir + IL_0022: ldarg.0 + IL_0023: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir + IL_0028: stloc.0 + IL_0029: br IL_002e - // method line 61 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + IL_002e: ldloc.0 + IL_002f: ret + } // end of method UnZipTask::get_ToDirectory + + // method line 57 + .method public hidebysig specialname + instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x27fc - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x3664 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TarFileSetEnumerator::System.Collections.IEnumerator.MoveNext + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir + IL_0008: ret + } // end of method UnZipTask::set_ToDirectory - // method line 62 - .method public hidebysig - instance default void Reset () cil managed + // method line 58 + .method public hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0x281c - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x3670 + // Code size 54 (0x36) + .maxstack 2 + .locals init ( + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method TarFileSetEnumerator::Reset + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding + IL_0007: brtrue IL_0028 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_CurrentCulture() + IL_0013: callvirt instance class [mscorlib]System.Globalization.TextInfo class [mscorlib]System.Globalization.CultureInfo::get_TextInfo() + IL_0018: callvirt instance int32 class [mscorlib]System.Globalization.TextInfo::get_OEMCodePage() + IL_001d: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(int32) + IL_0022: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding + IL_002e: stloc.0 + IL_002f: br IL_0034 + + IL_0034: ldloc.0 + IL_0035: ret + } // end of method UnZipTask::get_Encoding - // method line 63 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + // method line 59 + .method public hidebysig specialname + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0x282a - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x36b2 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method TarFileSetEnumerator::System.Collections.IEnumerator.Reset + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding + IL_0008: ret + } // end of method UnZipTask::set_Encoding - .property instance object System.Collections.IEnumerator.Current () + // method line 60 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x36bc + } // end of method UnZipTask::ExecuteTask + + .property instance class [mscorlib]System.IO.FileInfo ZipFile () { - .get instance default object NAnt.Compression.Types.TarFileSetEnumerator::System.Collections.IEnumerator.get_Current () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 7A 69 70 66 69 6C 65 01 00 54 02 08 52 // ...zipfile..T..R + 65 71 75 69 72 65 64 01 ) // equired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnZipTask::get_ZipFile () + .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class NAnt.Compression.Types.TarFileSet Current () + .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () { - .get instance default class NAnt.Compression.Types.TarFileSet NAnt.Compression.Types.TarFileSetEnumerator::get_Current () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 74 6F 64 69 72 01 00 54 02 08 52 65 71 // ...todir..T..Req + 75 69 72 65 64 00 ) // uired. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::get_ToDirectory () + .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') } - } // end of class NAnt.Compression.Types.TarFileSetEnumerator + .property instance class [mscorlib]System.Text.Encoding Encoding () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + + .get instance default class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::get_Encoding () + .set instance default void NAnt.Compression.Tasks.UnZipTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') + } + } // end of class NAnt.Compression.Tasks.UnZipTask } .namespace NAnt.Compression.Types { - .class public auto ansi beforefieldinit ZipFileSet - extends [NAnt.Core]NAnt.Core.Types.FileSet + .class public auto ansi sealed DuplicateHandling + extends [mscorlib]System.Enum { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 7A 69 70 66 69 6C 65 73 65 74 00 00 ) // ...zipfileset.. + .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 31 4E 41 6E 74 2E 43 6F 6D 70 72 65 73 73 // ..1NAnt.Compress + 69 6F 6E 2E 54 79 70 65 73 2E 44 75 70 6C 69 63 // ion.Types.Duplic + 61 74 65 48 61 6E 64 6C 69 6E 67 43 6F 6E 76 65 // ateHandlingConve + 72 74 65 72 00 00 ) // rter.. - .field private string _prefix + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Compression.Types.DuplicateHandling Add = int32(0x00000000) + .field public static literal valuetype NAnt.Compression.Types.DuplicateHandling Preserve = int32(0x00000001) + .field public static literal valuetype NAnt.Compression.Types.DuplicateHandling Fail = int32(0x00000002) - // method line 64 + } // end of class NAnt.Compression.Types.DuplicateHandling +} + +.namespace NAnt.Compression.Types +{ + .class private auto ansi beforefieldinit DuplicateHandlingConverter + extends [System]System.ComponentModel.EnumConverter + { + + // method line 61 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2838 - // Code size 7 (0x7) + // Method begins at RVA 0x3888 + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: ret - } // end of method ZipFileSet::.ctor + IL_0001: ldtoken NAnt.Compression.Types.DuplicateHandling + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) + IL_0010: nop + IL_0011: ret + } // end of method DuplicateHandlingConverter::.ctor - // method line 65 - .method public hidebysig specialname - instance default string get_Prefix () cil managed + // method line 62 + .method public virtual hidebysig + instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed { - // Method begins at RVA 0x2840 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x389c + // Code size 50 (0x32) + .maxstack 4 .locals init ( - string V_0) + string V_0, + object V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix + IL_0001: ldarg.3 + IL_0002: isinst [mscorlib]System.String IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: ldloc.0 + IL_0009: brfalse IL_0021 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipFileSet::get_Prefix + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.Type class [System]System.ComponentModel.EnumConverter::get_EnumType() + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_001b: stloc.1 + IL_001c: br IL_0030 - // method line 66 - .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed - { - // Method begins at RVA 0x285c - // Code size 91 (0x5b) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Compression.Types.ZipFileSet::_prefix - IL_000d: ldarg.0 - IL_000e: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix - IL_0013: brfalse IL_005a + IL_0021: ldarg.0 + IL_0022: ldarg.1 + IL_0023: ldarg.2 + IL_0024: ldarg.3 + IL_0025: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) + IL_002a: stloc.1 + IL_002b: br IL_0030 - IL_0018: ldarg.0 - IL_0019: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix - IL_001e: ldstr "/" - IL_0023: callvirt instance bool string::EndsWith(string) - IL_0028: brtrue IL_005a + IL_0030: ldloc.1 + IL_0031: ret + } // end of method DuplicateHandlingConverter::ConvertFrom - IL_002d: ldarg.0 - IL_002e: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix - IL_0033: ldstr "\\" - IL_0038: callvirt instance bool string::EndsWith(string) - IL_003d: brtrue IL_005a + } // end of class NAnt.Compression.Types.DuplicateHandlingConverter +} - IL_0042: nop - IL_0043: ldarg.0 - IL_0044: dup - IL_0045: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix - IL_004a: ldstr "/" - IL_004f: call string string::Concat(string, string) - IL_0054: stfld string NAnt.Compression.Types.ZipFileSet::_prefix - IL_0059: nop - IL_005a: ret - } // end of method ZipFileSet::set_Prefix +.namespace NAnt.Compression.Types +{ + .class public auto ansi sealed TarCompressionMethod + extends [mscorlib]System.Enum + { + .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 34 4E 41 6E 74 2E 43 6F 6D 70 72 65 73 73 // ..4NAnt.Compress + 69 6F 6E 2E 54 79 70 65 73 2E 54 61 72 43 6F 6D // ion.Types.TarCom + 70 72 65 73 73 69 6F 6E 4D 65 74 68 6F 64 43 6F // pressionMethodCo + 6E 76 65 72 74 65 72 00 00 ) // nverter.. - .property instance string Prefix () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re - 71 75 69 72 65 64 00 ) // quired. + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Compression.Types.TarCompressionMethod None = int32(0x00000000) + .field public static literal valuetype NAnt.Compression.Types.TarCompressionMethod GZip = int32(0x00000001) + .field public static literal valuetype NAnt.Compression.Types.TarCompressionMethod BZip2 = int32(0x00000002) - .get instance default string NAnt.Compression.Types.ZipFileSet::get_Prefix () - .set instance default void NAnt.Compression.Types.ZipFileSet::set_Prefix (string 'value') - } - } // end of class NAnt.Compression.Types.ZipFileSet + } // end of class NAnt.Compression.Types.TarCompressionMethod } -.namespace NAnt.Compression.Tasks +.namespace NAnt.Compression.Types { - .class public auto ansi beforefieldinit GUnzip - extends [NAnt.Core]NAnt.Core.Task + .class private auto ansi beforefieldinit TarCompressionMethodConverter + extends [System]System.ComponentModel.EnumConverter { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 67 75 6E 7A 69 70 00 00 ) // ...gunzip.. - .field private class [mscorlib]System.IO.FileInfo _srcFile - .field private class [mscorlib]System.IO.FileInfo _destFile + // method line 63 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x38da + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken NAnt.Compression.Types.TarCompressionMethod + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) + IL_0010: nop + IL_0011: ret + } // end of method TarCompressionMethodConverter::.ctor + + // method line 64 + .method public virtual hidebysig + instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + { + // Method begins at RVA 0x38f0 + // Code size 50 (0x32) + .maxstack 4 + .locals init ( + string V_0, + object V_1) + IL_0000: nop + IL_0001: ldarg.3 + IL_0002: isinst [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_0021 + + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.Type class [System]System.ComponentModel.EnumConverter::get_EnumType() + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_001b: stloc.1 + IL_001c: br IL_0030 + + IL_0021: ldarg.0 + IL_0022: ldarg.1 + IL_0023: ldarg.2 + IL_0024: ldarg.3 + IL_0025: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) + IL_002a: stloc.1 + IL_002b: br IL_0030 + + IL_0030: ldloc.1 + IL_0031: ret + } // end of method TarCompressionMethodConverter::ConvertFrom + + } // end of class NAnt.Compression.Types.TarCompressionMethodConverter +} + +.namespace NAnt.Compression.Types +{ + .class public auto ansi beforefieldinit TarFileSet + extends [NAnt.Core]NAnt.Core.Types.FileSet + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 74 61 72 66 69 6C 65 73 65 74 00 00 ) // ...tarfileset.. - // method line 67 + .field private int32 _fileMode + .field private int32 _dirMode + .field private string _userName + .field private int32 _uid + .field private string _groupName + .field private int32 _gid + .field private string _prefix + .field private static literal int32 _dirFlag = int32(0x00004000) + .field private static literal int32 _fileFlag = int32(0x00008000) + + // method line 65 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x28c3 - // Code size 7 (0x7) + // Method begins at RVA 0x392e + // Code size 29 (0x1d) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method GUnzip::.ctor + IL_0001: ldc.i4 33188 + IL_0006: stfld int32 NAnt.Compression.Types.TarFileSet::_fileMode + IL_000b: ldarg.0 + IL_000c: ldc.i4 16877 + IL_0011: stfld int32 NAnt.Compression.Types.TarFileSet::_dirMode + IL_0016: ldarg.0 + IL_0017: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_001c: ret + } // end of method TarFileSet::.ctor - // method line 68 + // method line 66 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed + instance default int32 get_FileMode () cil managed { - // Method begins at RVA 0x28cc + // Method begins at RVA 0x394c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_srcFile + IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_fileMode IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method GUnzip::get_SrcFile + } // end of method TarFileSet::get_FileMode - // method line 69 + // method line 67 .method public hidebysig specialname - instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_FileMode (int32 'value') cil managed { - // Method begins at RVA 0x28e7 - // Code size 9 (0x9) + // Method begins at RVA 0x3967 + // Code size 26 (0x1a) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_srcFile - IL_0008: ret - } // end of method GUnzip::set_SrcFile + IL_0002: ldc.i4 32768 + IL_0007: ldarg.1 + IL_0008: call string class [mscorlib]System.Convert::ToString(int32) + IL_000d: ldc.i4.8 + IL_000e: call int32 class [mscorlib]System.Convert::ToInt32(string, int32) + IL_0013: or + IL_0014: stfld int32 NAnt.Compression.Types.TarFileSet::_fileMode + IL_0019: ret + } // end of method TarFileSet::set_FileMode - // method line 70 + // method line 68 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + instance default int32 get_DirMode () cil managed { - // Method begins at RVA 0x28f4 + // Method begins at RVA 0x3984 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_destFile + IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_dirMode IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method GUnzip::get_DestFile + } // end of method TarFileSet::get_DirMode - // method line 71 + // method line 69 .method public hidebysig specialname - instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_DirMode (int32 'value') cil managed { - // Method begins at RVA 0x290f - // Code size 9 (0x9) + // Method begins at RVA 0x399f + // Code size 26 (0x1a) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_destFile - IL_0008: ret - } // end of method GUnzip::set_DestFile - - // method line 72 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x291c - } // end of method GUnzip::ExecuteTask - - .property instance class [mscorlib]System.IO.FileInfo SrcFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 73 72 63 01 00 54 02 08 52 65 71 75 69 // ...src..T..Requi - 72 65 64 01 ) // red. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::get_SrcFile () - .set instance default void NAnt.Compression.Tasks.GUnzip::set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo DestFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 64 65 73 74 01 00 54 02 08 52 65 71 75 // ...dest..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::get_DestFile () - .set instance default void NAnt.Compression.Tasks.GUnzip::set_DestFile (class [mscorlib]System.IO.FileInfo 'value') - } - } // end of class NAnt.Compression.Tasks.GUnzip -} - -.namespace NAnt.Compression.Tasks -{ - .class public auto ansi beforefieldinit UnTarTask - extends NAnt.Compression.Tasks.ExpandBaseTask - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 74 61 72 00 00 ) // ...untar.. - - .field private class [mscorlib]System.IO.FileInfo _srcFile - .field private class [mscorlib]System.IO.DirectoryInfo _destDir - .field private valuetype NAnt.Compression.Types.TarCompressionMethod _compressionMethod - - // method line 73 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2cf4 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() - IL_000d: ret - } // end of method UnTarTask::.ctor + IL_0002: ldc.i4 16384 + IL_0007: ldarg.1 + IL_0008: call string class [mscorlib]System.Convert::ToString(int32) + IL_000d: ldc.i4.8 + IL_000e: call int32 class [mscorlib]System.Convert::ToInt32(string, int32) + IL_0013: or + IL_0014: stfld int32 NAnt.Compression.Types.TarFileSet::_dirMode + IL_0019: ret + } // end of method TarFileSet::set_DirMode - // method line 74 + // method line 70 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed + instance default string get_UserName () cil managed { - // Method begins at RVA 0x2d04 + // Method begins at RVA 0x39bc // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::_srcFile + IL_0002: ldfld string NAnt.Compression.Types.TarFileSet::_userName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method UnTarTask::get_SrcFile - - // method line 75 - .method public hidebysig specialname - instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2d1f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::_srcFile - IL_0008: ret - } // end of method UnTarTask::set_SrcFile - - // method line 76 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed - { - // Method begins at RVA 0x2d2c - // Code size 48 (0x30) - .maxstack 2 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir - IL_0007: brtrue IL_0022 - - IL_000c: ldarg.0 - IL_000d: ldarg.0 - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir - IL_0022: ldarg.0 - IL_0023: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir - IL_0028: stloc.0 - IL_0029: br IL_002e - - IL_002e: ldloc.0 - IL_002f: ret - } // end of method UnTarTask::get_DestinationDirectory + } // end of method TarFileSet::get_UserName - // method line 77 + // method line 71 .method public hidebysig specialname - instance default void set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_UserName (string 'value') cil managed { - // Method begins at RVA 0x2d68 - // Code size 9 (0x9) + // Method begins at RVA 0x39d7 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir - IL_0008: ret - } // end of method UnTarTask::set_DestinationDirectory + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Compression.Types.TarFileSet::_userName + IL_000d: ret + } // end of method TarFileSet::set_UserName - // method line 78 + // method line 72 .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed + instance default int32 get_Uid () cil managed { - // Method begins at RVA 0x2d74 + // Method begins at RVA 0x39e8 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Compression.Types.TarCompressionMethod V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod + IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_uid IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method UnTarTask::get_CompressionMethod + } // end of method TarFileSet::get_Uid - // method line 79 + // method line 73 .method public hidebysig specialname - instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed + instance default void set_Uid (int32 'value') cil managed { - // Method begins at RVA 0x2d8f + // Method begins at RVA 0x3a03 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod + IL_0003: stfld int32 NAnt.Compression.Types.TarFileSet::_uid IL_0008: ret - } // end of method UnTarTask::set_CompressionMethod + } // end of method TarFileSet::set_Uid - // method line 80 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 74 + .method public hidebysig specialname + instance default string get_GroupName () cil managed { - // Method begins at RVA 0x2d9c - } // end of method UnTarTask::ExecuteTask - - .property instance class [mscorlib]System.IO.FileInfo SrcFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 73 72 63 01 00 54 02 08 52 65 71 75 69 // ...src..T..Requi - 72 65 64 01 ) // red. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::get_SrcFile () - .set instance default void NAnt.Compression.Tasks.UnTarTask::set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo DestinationDirectory () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 64 65 73 74 01 00 54 02 08 52 65 71 75 // ...dest..T..Requ - 69 72 65 64 00 ) // ired. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::get_DestinationDirectory () - .set instance default void NAnt.Compression.Tasks.UnTarTask::set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance valuetype NAnt.Compression.Types.TarCompressionMethod CompressionMethod () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 63 6F 6D 70 72 65 73 73 69 6F 6E 00 00 ) // ...compression.. - - .get instance default valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::get_CompressionMethod () - .set instance default void NAnt.Compression.Tasks.UnTarTask::set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') - } - } // end of class NAnt.Compression.Tasks.UnTarTask -} + // Method begins at RVA 0x3a10 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Compression.Types.TarFileSet::_groupName + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Compression.Tasks -{ - .class public auto ansi abstract beforefieldinit ExpandBaseTask - extends [NAnt.Core]NAnt.Core.Task - { - .field private bool _overwrite + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TarFileSet::get_GroupName - // method line 81 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 75 + .method public hidebysig specialname + instance default void set_GroupName (string 'value') cil managed { - // Method begins at RVA 0x2a9c + // Method begins at RVA 0x3a2b // Code size 14 (0xe) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Compression.Tasks.ExpandBaseTask::_overwrite - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Compression.Types.TarFileSet::_groupName IL_000d: ret - } // end of method ExpandBaseTask::.ctor + } // end of method TarFileSet::set_GroupName - // method line 82 - .method public virtual hidebysig newslot specialname - instance default bool get_Overwrite () cil managed + // method line 76 + .method public hidebysig specialname + instance default int32 get_Gid () cil managed { - // Method begins at RVA 0x2aac + // Method begins at RVA 0x3a3c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Compression.Tasks.ExpandBaseTask::_overwrite + IL_0002: ldfld int32 NAnt.Compression.Types.TarFileSet::_gid IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExpandBaseTask::get_Overwrite + } // end of method TarFileSet::get_Gid - // method line 83 - .method public virtual hidebysig newslot specialname - instance default void set_Overwrite (bool 'value') cil managed + // method line 77 + .method public hidebysig specialname + instance default void set_Gid (int32 'value') cil managed { - // Method begins at RVA 0x2ac7 + // Method begins at RVA 0x3a57 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Compression.Tasks.ExpandBaseTask::_overwrite + IL_0003: stfld int32 NAnt.Compression.Types.TarFileSet::_gid IL_0008: ret - } // end of method ExpandBaseTask::set_Overwrite + } // end of method TarFileSet::set_Gid - // method line 84 - .method family hidebysig - instance default void ExtractFile (class [mscorlib]System.IO.Stream inputStream, string destDirectory, string entryName, valuetype [mscorlib]System.DateTime entryDate, int64 entrySize) cil managed + // method line 78 + .method public hidebysig specialname + instance default string get_Prefix () cil managed { - // Method begins at RVA 0x2ad4 - // Code size 369 (0x171) - .maxstack 7 + // Method begins at RVA 0x3a64 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - class [mscorlib]System.Exception V_1, - class [mscorlib]System.IO.FileStream V_2, - int32 V_3, - unsigned int8[] V_4, - class [mscorlib]System.Exception V_5) + string V_0) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0008: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0019: brtrue IL_006e - - IL_001e: nop - .try { // 0 - IL_001f: nop - IL_0020: ldloc.0 - IL_0021: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0026: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_002b: ldloc.0 - IL_002c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0031: ldarg.s 4 - IL_0033: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) - IL_0038: ldloc.0 - IL_0039: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_003e: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0043: nop - IL_0044: leave IL_006d - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0049: stloc.1 - IL_004a: nop - IL_004b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0050: ldstr "Directory '{0}' could not be created." - IL_0055: ldloc.0 - IL_0056: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_005b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0060: ldarg.0 - IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0066: ldloc.1 - IL_0067: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_006c: throw - } // end handler 0 - IL_006d: nop - IL_006e: ldarg.0 - IL_006f: callvirt instance bool class NAnt.Compression.Tasks.ExpandBaseTask::get_Overwrite() - IL_0074: brtrue IL_00bb - - IL_0079: ldloc.0 - IL_007a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_007f: brfalse IL_00bb - - IL_0084: ldloc.0 - IL_0085: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_008a: ldarg.s 4 - IL_008c: call bool valuetype [mscorlib]System.DateTime::op_GreaterThanOrEqual(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0091: brfalse IL_00bb - - IL_0096: nop - IL_0097: ldarg.0 - IL_0098: ldc.i4 1000 - IL_009d: ldstr "Skipping '{0}' as it is up-to-date." - IL_00a2: ldc.i4.1 - IL_00a3: newarr [mscorlib]System.Object - IL_00a8: dup - IL_00a9: ldc.i4.0 - IL_00aa: ldloc.0 - IL_00ab: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00b0: stelem.ref - IL_00b1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00b6: br IL_0170 - - IL_00bb: ldarg.0 - IL_00bc: ldc.i4 2000 - IL_00c1: ldstr "Extracting '{0}' to '{1}'." - IL_00c6: ldc.i4.2 - IL_00c7: newarr [mscorlib]System.Object - IL_00cc: dup - IL_00cd: ldc.i4.0 - IL_00ce: ldarg.3 - IL_00cf: stelem.ref - IL_00d0: dup - IL_00d1: ldc.i4.1 - IL_00d2: ldarg.2 - IL_00d3: stelem.ref - IL_00d4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - .try { // 2 - IL_00d9: nop - IL_00da: ldloc.0 - IL_00db: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00e0: ldc.i4.2 - IL_00e1: ldc.i4.2 - IL_00e2: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) - IL_00e7: stloc.2 - .try { // 1 - IL_00e8: nop - IL_00e9: ldc.i4 2048 - IL_00ee: stloc.3 - IL_00ef: ldc.i4 2048 - IL_00f4: newarr [mscorlib]System.Byte - IL_00f9: stloc.s 4 - IL_00fb: nop - IL_00fc: nop - IL_00fd: ldarg.1 - IL_00fe: ldloc.s 4 - IL_0100: ldc.i4.0 - IL_0101: ldloc.s 4 - IL_0103: ldlen - IL_0104: conv.i4 - IL_0105: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) - IL_010a: stloc.3 - IL_010b: ldloc.3 - IL_010c: brtrue IL_0117 - - IL_0111: nop - IL_0112: leave IL_0127 - - IL_0117: ldloc.2 - IL_0118: ldloc.s 4 - IL_011a: ldc.i4.0 - IL_011b: ldloc.3 - IL_011c: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_0121: nop - IL_0122: br IL_00fb - - IL_0127: ldloc.2 - IL_0128: callvirt instance void class [mscorlib]System.IO.Stream::Close() - IL_012d: nop - IL_012e: leave IL_0140 - - } // end .try 1 - finally { // 1 - IL_0133: ldloc.2 - IL_0134: brfalse IL_013f - - IL_0139: ldloc.2 - IL_013a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_013f: endfinally - } // end handler 1 - IL_0140: nop - IL_0141: leave IL_0168 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 2 - catch class [mscorlib]System.Exception { // 2 - IL_0146: stloc.s 5 - IL_0148: nop - IL_0149: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_014e: ldstr "Unable to expand '{0}' to '{1}'." - IL_0153: ldarg.3 - IL_0154: ldarg.2 - IL_0155: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_015a: ldarg.0 - IL_015b: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0160: ldloc.s 5 - IL_0162: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0167: throw - } // end handler 2 - IL_0168: ldloc.0 - IL_0169: ldarg.s 4 - IL_016b: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) - IL_0170: ret - } // end of method ExpandBaseTask::ExtractFile + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TarFileSet::get_Prefix - // method line 85 - .method family hidebysig - instance default void ExtractDirectory (class [mscorlib]System.IO.Stream inputStream, string destDirectory, string entryName, valuetype [mscorlib]System.DateTime entryDate) cil managed + // method line 79 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0x2c7c + // Method begins at RVA 0x3a80 // Code size 91 (0x5b) .maxstack 3 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0, - class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0008: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0014: brtrue IL_005a + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_000d: ldarg.0 + IL_000e: ldfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_0013: brfalse IL_005a - IL_0019: nop - .try { // 0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0021: ldloc.0 - IL_0022: ldarg.s 4 - IL_0024: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) - IL_0029: ldloc.0 - IL_002a: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_002f: nop - IL_0030: leave IL_0059 + IL_0018: ldarg.0 + IL_0019: ldfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_001e: ldstr "/" + IL_0023: callvirt instance bool string::EndsWith(string) + IL_0028: brtrue IL_005a - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0035: stloc.1 - IL_0036: nop - IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003c: ldstr "Directory '{0}' could not be created." - IL_0041: ldloc.0 - IL_0042: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0047: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_004c: ldarg.0 - IL_004d: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0052: ldloc.1 - IL_0053: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0058: throw - } // end handler 0 + IL_002d: ldarg.0 + IL_002e: ldfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_0033: ldstr "\\" + IL_0038: callvirt instance bool string::EndsWith(string) + IL_003d: brtrue IL_005a + + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: dup + IL_0045: ldfld string NAnt.Compression.Types.TarFileSet::_prefix + IL_004a: ldstr "/" + IL_004f: call string string::Concat(string, string) + IL_0054: stfld string NAnt.Compression.Types.TarFileSet::_prefix IL_0059: nop IL_005a: ret - } // end of method ExpandBaseTask::ExtractDirectory + } // end of method TarFileSet::set_Prefix - .property instance bool Overwrite () + .property instance int32 FileMode () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6F 76 65 72 77 72 69 74 65 01 00 54 02 // ...overwrite..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 66 69 6C 65 6D 6F 64 65 00 00 ) // ...filemode.. - .get instance default bool NAnt.Compression.Tasks.ExpandBaseTask::get_Overwrite () - .set instance default void NAnt.Compression.Tasks.ExpandBaseTask::set_Overwrite (bool 'value') + .get instance default int32 NAnt.Compression.Types.TarFileSet::get_FileMode () + .set instance default void NAnt.Compression.Types.TarFileSet::set_FileMode (int32 'value') } - } // end of class NAnt.Compression.Tasks.ExpandBaseTask + .property instance int32 DirMode () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 64 69 72 6D 6F 64 65 00 00 ) // ...dirmode.. + + .get instance default int32 NAnt.Compression.Types.TarFileSet::get_DirMode () + .set instance default void NAnt.Compression.Types.TarFileSet::set_DirMode (int32 'value') + } + .property instance string UserName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 75 73 65 72 6E 61 6D 65 00 00 ) // ...username.. + + .get instance default string NAnt.Compression.Types.TarFileSet::get_UserName () + .set instance default void NAnt.Compression.Types.TarFileSet::set_UserName (string 'value') + } + .property instance int32 Uid () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 75 69 64 00 00 ) // ...uid.. + + .get instance default int32 NAnt.Compression.Types.TarFileSet::get_Uid () + .set instance default void NAnt.Compression.Types.TarFileSet::set_Uid (int32 'value') + } + .property instance string GroupName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 67 72 6F 75 70 6E 61 6D 65 00 00 ) // ...groupname.. + + .get instance default string NAnt.Compression.Types.TarFileSet::get_GroupName () + .set instance default void NAnt.Compression.Types.TarFileSet::set_GroupName (string 'value') + } + .property instance int32 Gid () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 67 69 64 00 00 ) // ...gid.. + + .get instance default int32 NAnt.Compression.Types.TarFileSet::get_Gid () + .set instance default void NAnt.Compression.Types.TarFileSet::set_Gid (int32 'value') + } + .property instance string Prefix () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 70 72 65 66 69 78 00 00 ) // ...prefix.. + + .get instance default string NAnt.Compression.Types.TarFileSet::get_Prefix () + .set instance default void NAnt.Compression.Types.TarFileSet::set_Prefix (string 'value') + } + } // end of class NAnt.Compression.Types.TarFileSet } -.namespace NAnt.Compression.Tasks +.namespace NAnt.Compression.Types { - .class public auto ansi beforefieldinit ZipTask - extends [NAnt.Core]NAnt.Core.Task + .class public auto ansi serializable beforefieldinit TarFileSetCollection + extends [mscorlib]System.Collections.CollectionBase { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 7A 69 70 00 00 ) // ...zip.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .field private class [mscorlib]System.IO.FileInfo _zipfile - .field private int32 _ziplevel - .field private class NAnt.Compression.Types.ZipFileSetCollection _filesets - .field private valuetype [mscorlib]System.DateTime _stampDateTime - .field private string _comment - .field private bool _includeEmptyDirs - .field private bool _flatten - .field private valuetype NAnt.Compression.Types.DuplicateHandling _duplicateHandling - .field private class [mscorlib]System.Text.Encoding _encoding - .field private class [mscorlib]System.Collections.Hashtable _addedDirs - .field private class [mscorlib]System.Collections.Hashtable _fileEntries - // method line 86 + // method line 80 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3048 - // Code size 54 (0x36) + // Method begins at RVA 0x3ae7 + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.6 - IL_0002: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method TarFileSetCollection::.ctor + + // method line 81 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection 'value') cil managed + { + // Method begins at RVA 0x3af0 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Compression.Types.ZipFileSetCollection::'.ctor'() - IL_000d: stfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling - IL_0019: ldarg.0 - IL_001a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_001f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_addedDirs - IL_0024: ldarg.0 - IL_0025: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_002a: stfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_fileEntries - IL_002f: ldarg.0 - IL_0030: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0035: ret - } // end of method ZipTask::.ctor + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Compression.Types.TarFileSetCollection::AddRange(class NAnt.Compression.Types.TarFileSetCollection) + IL_000e: ret + } // end of method TarFileSetCollection::.ctor - // method line 87 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed + // method line 82 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSet[] 'value') cil managed { - // Method begins at RVA 0x3080 + // Method begins at RVA 0x3b00 // Code size 15 (0xf) - .maxstack 1 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Compression.Types.TarFileSetCollection::AddRange(class NAnt.Compression.Types.TarFileSet[]) + IL_000e: ret + } // end of method TarFileSetCollection::.ctor + + // method line 83 + .method public hidebysig specialname + instance default class NAnt.Compression.Types.TarFileSet get_Item (int32 index) cil managed + { + // Method begins at RVA 0x3b10 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Compression.Types.TarFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Compression.Types.TarFileSet + IL_0012: stloc.0 + IL_0013: br IL_0018 + + IL_0018: ldloc.0 + IL_0019: ret + } // end of method TarFileSetCollection::get_Item + + // method line 84 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') cil managed + { + // Method begins at RVA 0x3b36 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method TarFileSetCollection::set_Item + + // method line 85 + .method public hidebysig specialname + instance default int32 get_FileCount () cil managed + { + // Method begins at RVA 0x3b48 + // Code size 96 (0x60) + .maxstack 2 + .locals init ( + int32 V_0, + class NAnt.Compression.Types.TarFileSet V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + int32 V_4) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_000f: stloc.2 + .try { // 0 + IL_0010: br IL_0031 + + IL_0015: ldloc.2 + IL_0016: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001b: castclass NAnt.Compression.Types.TarFileSet + IL_0020: stloc.1 + IL_0021: nop + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0029: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_002e: add + IL_002f: stloc.0 + IL_0030: nop + IL_0031: ldloc.2 + IL_0032: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0037: brtrue IL_0015 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_ZipFile + IL_003c: leave IL_0055 - // method line 88 - .method public hidebysig specialname - instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x309b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile - IL_0008: ret - } // end of method ZipTask::set_ZipFile + } // end .try 0 + finally { // 0 + IL_0041: ldloc.2 + IL_0042: isinst [mscorlib]System.IDisposable + IL_0047: dup + IL_0048: stloc.3 + IL_0049: brfalse IL_0054 - // method line 89 - .method public hidebysig specialname - instance default string get_Comment () cil managed - { - // Method begins at RVA 0x30a8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Compression.Tasks.ZipTask::_comment - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_004e: ldloc.3 + IL_004f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0054: endfinally + } // end handler 0 + IL_0055: ldloc.0 + IL_0056: stloc.s 4 + IL_0058: br IL_005d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_Comment + IL_005d: ldloc.s 4 + IL_005f: ret + } // end of method TarFileSetCollection::get_FileCount - // method line 90 - .method public hidebysig specialname - instance default void set_Comment (string 'value') cil managed + // method line 86 + .method public hidebysig + instance default int32 Add (class NAnt.Compression.Types.TarFileSet item) cil managed { - // Method begins at RVA 0x30c3 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x3bc4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Compression.Tasks.ZipTask::_comment - IL_000d: ret - } // end of method ZipTask::set_Comment + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 91 - .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Stamp () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TarFileSetCollection::Add + + // method line 87 + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.TarFileSet[] items) cil managed { - // Method begins at RVA 0x30d4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3be8 + // Code size 34 (0x22) + .maxstack 3 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_Stamp + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Compression.Types.TarFileSetCollection::Add(class NAnt.Compression.Types.TarFileSet) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - // method line 92 - .method public hidebysig specialname - instance default void set_Stamp (valuetype [mscorlib]System.DateTime 'value') cil managed - { - // Method begins at RVA 0x30ef - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime - IL_0008: ret - } // end of method ZipTask::set_Stamp + IL_0021: ret + } // end of method TarFileSetCollection::AddRange - // method line 93 - .method public hidebysig specialname - instance default int32 get_ZipLevel () cil managed + // method line 88 + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.TarFileSetCollection items) cil managed { - // Method begins at RVA 0x30fc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3c18 + // Code size 41 (0x29) + .maxstack 3 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_ZipLevel + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Compression.Types.TarFileSet class NAnt.Compression.Types.TarFileSetCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Compression.Types.TarFileSetCollection::Add(class NAnt.Compression.Types.TarFileSet) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - // method line 94 - .method public hidebysig specialname - instance default void set_ZipLevel (int32 'value') cil managed - { - // Method begins at RVA 0x3117 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel - IL_0008: ret - } // end of method ZipTask::set_ZipLevel + IL_0028: ret + } // end of method TarFileSetCollection::AddRange - // method line 95 - .method public hidebysig specialname - instance default bool get_IncludeEmptyDirs () cil managed + // method line 89 + .method public hidebysig + instance default bool Contains (class NAnt.Compression.Types.TarFileSet item) cil managed { - // Method begins at RVA 0x3124 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3c50 + // Code size 21 (0x15) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Compression.Tasks.ZipTask::_includeEmptyDirs - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_IncludeEmptyDirs + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TarFileSetCollection::Contains - // method line 96 - .method public hidebysig specialname - instance default void set_IncludeEmptyDirs (bool 'value') cil managed + // method line 90 + .method public hidebysig + instance default void CopyTo (class NAnt.Compression.Types.TarFileSet[] 'array', int32 index) cil managed { - // Method begins at RVA 0x313f - // Code size 9 (0x9) + // Method begins at RVA 0x3c71 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_includeEmptyDirs - IL_0008: ret - } // end of method ZipTask::set_IncludeEmptyDirs + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method TarFileSetCollection::CopyTo - // method line 97 - .method public virtual hidebysig newslot specialname - instance default bool get_Flatten () cil managed + // method line 91 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Compression.Types.TarFileSet item) cil managed { - // Method begins at RVA 0x314c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3c84 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Compression.Tasks.ZipTask::_flatten - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_Flatten + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TarFileSetCollection::IndexOf - // method line 98 - .method public virtual hidebysig newslot specialname - instance default void set_Flatten (bool 'value') cil managed + // method line 92 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Compression.Types.TarFileSet item) cil managed { - // Method begins at RVA 0x3167 - // Code size 9 (0x9) + // Method begins at RVA 0x3ca5 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_flatten - IL_0008: ret - } // end of method ZipTask::set_Flatten + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method TarFileSetCollection::Insert - // method line 99 - .method public hidebysig specialname - instance default class NAnt.Compression.Types.ZipFileSetCollection get_ZipFileSets () cil managed + // method line 93 + .method public hidebysig + instance default class NAnt.Compression.Types.TarFileSetEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x3174 + // Method begins at RVA 0x3cb8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Compression.Types.ZipFileSetCollection V_0) + class NAnt.Compression.Types.TarFileSetEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets + IL_0002: newobj instance void class NAnt.Compression.Types.TarFileSetEnumerator::'.ctor'(class NAnt.Compression.Types.TarFileSetCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ZipTask::get_ZipFileSets + } // end of method TarFileSetCollection::GetEnumerator - // method line 100 - .method public hidebysig specialname - instance default void set_ZipFileSets (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed + // method line 94 + .method public hidebysig + instance default void Remove (class NAnt.Compression.Types.TarFileSet item) cil managed { - // Method begins at RVA 0x318f - // Code size 9 (0x9) + // Method begins at RVA 0x3cd3 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets - IL_0008: ret - } // end of method ZipTask::set_ZipFileSets + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method TarFileSetCollection::Remove - // method line 101 - .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.DuplicateHandling get_DuplicateHandling () cil managed + .property instance class NAnt.Compression.Types.TarFileSet Item (int32) + { + .get instance default class NAnt.Compression.Types.TarFileSet NAnt.Compression.Types.TarFileSetCollection::get_Item (int32 index) + .set instance default void NAnt.Compression.Types.TarFileSetCollection::set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') + } + .property instance int32 FileCount () + { + .get instance default int32 NAnt.Compression.Types.TarFileSetCollection::get_FileCount () + } + } // end of class NAnt.Compression.Types.TarFileSetCollection +} + +.namespace NAnt.Compression.Types +{ + .class public auto ansi beforefieldinit TarFileSetEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 95 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection TarFileSets) cil managed { - // Method begins at RVA 0x319c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3ce4 + // Code size 22 (0x16) + .maxstack 2 .locals init ( - valuetype NAnt.Compression.Types.DuplicateHandling V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_DuplicateHandling + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator + IL_0015: ret + } // end of method TarFileSetEnumerator::.ctor - // method line 102 + // method line 96 .method public hidebysig specialname - instance default void set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') cil managed + instance default class NAnt.Compression.Types.TarFileSet get_Current () cil managed { - // Method begins at RVA 0x31b7 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x3d08 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Compression.Types.TarFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling - IL_0008: ret - } // end of method ZipTask::set_DuplicateHandling + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Compression.Types.TarFileSet + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 103 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + IL_0017: ldloc.0 + IL_0018: ret + } // end of method TarFileSetEnumerator::get_Current + + // method line 97 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x31c4 - // Code size 54 (0x36) - .maxstack 2 + // Method begins at RVA 0x3d30 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding - IL_0007: brtrue IL_0028 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_CurrentCulture() - IL_0013: callvirt instance class [mscorlib]System.Globalization.TextInfo class [mscorlib]System.Globalization.CultureInfo::get_TextInfo() - IL_0018: callvirt instance int32 class [mscorlib]System.Globalization.TextInfo::get_OEMCodePage() - IL_001d: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(int32) - IL_0022: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0034: ldloc.0 - IL_0035: ret - } // end of method ZipTask::get_Encoding + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TarFileSetEnumerator::System.Collections.IEnumerator.get_Current - // method line 104 - .method public hidebysig specialname - instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + // method line 98 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x3206 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x3d50 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding - IL_0008: ret - } // end of method ZipTask::set_Encoding + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 105 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x3210 - } // end of method ZipTask::ExecuteTask + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TarFileSetEnumerator::MoveNext - // method line 106 - .method private hidebysig - instance default void CleanUp () cil managed + // method line 99 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x3800 - // Code size 24 (0x18) - .maxstack 8 + // Method begins at RVA 0x3d70 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_addedDirs - IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() - IL_000c: ldarg.0 - IL_000d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.ZipTask::_fileEntries - IL_0012: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() - IL_0017: ret - } // end of method ZipTask::CleanUp - - .property instance class [mscorlib]System.IO.FileInfo ZipFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 7A 69 70 66 69 6C 65 01 00 54 02 08 52 // ...zipfile..T..R - 65 71 75 69 72 65 64 01 ) // equired. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::get_ZipFile () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string Comment () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 63 6F 6D 6D 65 6E 74 00 00 ) // ...comment.. - - .get instance default string NAnt.Compression.Tasks.ZipTask::get_Comment () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_Comment (string 'value') - } - .property instance valuetype [mscorlib]System.DateTime Stamp () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 73 74 61 6D 70 64 61 74 65 74 69 6D 65 // ...stampdatetime - 00 00 ) // .. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::get_Stamp () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_Stamp (valuetype [mscorlib]System.DateTime 'value') - } - .property instance int32 ZipLevel () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 7A 69 70 6C 65 76 65 6C 00 00 ) // ...ziplevel.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 09 00 00 00 00 00 ) // ............ - - .get instance default int32 NAnt.Compression.Tasks.ZipTask::get_ZipLevel () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_ZipLevel (int32 'value') - } - .property instance bool IncludeEmptyDirs () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd - 69 72 73 00 00 ) // irs.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default bool NAnt.Compression.Tasks.ZipTask::get_IncludeEmptyDirs () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_IncludeEmptyDirs (bool 'value') - } - .property instance bool Flatten () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TarFileSetEnumerator::System.Collections.IEnumerator.MoveNext - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 100 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x3d90 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method TarFileSetEnumerator::Reset - .get instance default bool NAnt.Compression.Tasks.ZipTask::get_Flatten () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_Flatten (bool 'value') - } - .property instance class NAnt.Compression.Types.ZipFileSetCollection ZipFileSets () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + // method line 101 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x3d9e + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.TarFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method TarFileSetEnumerator::System.Collections.IEnumerator.Reset - .get instance default class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::get_ZipFileSets () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_ZipFileSets (class NAnt.Compression.Types.ZipFileSetCollection 'value') - } - .property instance valuetype NAnt.Compression.Types.DuplicateHandling DuplicateHandling () + .property instance object System.Collections.IEnumerator.Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 75 70 6C 69 63 61 74 65 00 00 ) // ...duplicate.. - - .get instance default valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::get_DuplicateHandling () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') + .get instance default object NAnt.Compression.Types.TarFileSetEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class [mscorlib]System.Text.Encoding Encoding () + .property instance class NAnt.Compression.Types.TarFileSet Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. - - .get instance default class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::get_Encoding () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') + .get instance default class NAnt.Compression.Types.TarFileSet NAnt.Compression.Types.TarFileSetEnumerator::get_Current () } - } // end of class NAnt.Compression.Tasks.ZipTask + } // end of class NAnt.Compression.Types.TarFileSetEnumerator } -.namespace NAnt.Compression.Tasks +.namespace NAnt.Compression.Types { - .class public auto ansi beforefieldinit UnZipTask - extends NAnt.Compression.Tasks.ExpandBaseTask + .class public auto ansi beforefieldinit ZipFileSet + extends [NAnt.Core]NAnt.Core.Types.FileSet { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 7A 69 70 00 00 ) // ...unzip.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 7A 69 70 66 69 6C 65 73 65 74 00 00 ) // ...zipfileset.. - .field private class [mscorlib]System.IO.FileInfo _zipfile - .field private class [mscorlib]System.IO.DirectoryInfo _toDir - .field private class [mscorlib]System.Text.Encoding _encoding + .field private string _prefix - // method line 107 + // method line 102 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3819 + // Method begins at RVA 0x3dac // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() IL_0006: ret - } // end of method UnZipTask::.ctor + } // end of method ZipFileSet::.ctor - // method line 108 + // method line 103 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed + instance default string get_Prefix () cil managed { - // Method begins at RVA 0x3824 + // Method begins at RVA 0x3db4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnZipTask::_zipfile + IL_0002: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method UnZipTask::get_ZipFile + } // end of method ZipFileSet::get_Prefix + + // method line 104 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed + { + // Method begins at RVA 0x3dd0 + // Code size 91 (0x5b) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Compression.Types.ZipFileSet::_prefix + IL_000d: ldarg.0 + IL_000e: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix + IL_0013: brfalse IL_005a + + IL_0018: ldarg.0 + IL_0019: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix + IL_001e: ldstr "/" + IL_0023: callvirt instance bool string::EndsWith(string) + IL_0028: brtrue IL_005a + + IL_002d: ldarg.0 + IL_002e: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix + IL_0033: ldstr "\\" + IL_0038: callvirt instance bool string::EndsWith(string) + IL_003d: brtrue IL_005a + + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: dup + IL_0045: ldfld string NAnt.Compression.Types.ZipFileSet::_prefix + IL_004a: ldstr "/" + IL_004f: call string string::Concat(string, string) + IL_0054: stfld string NAnt.Compression.Types.ZipFileSet::_prefix + IL_0059: nop + IL_005a: ret + } // end of method ZipFileSet::set_Prefix + + .property instance string Prefix () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re + 71 75 69 72 65 64 00 ) // quired. + + .get instance default string NAnt.Compression.Types.ZipFileSet::get_Prefix () + .set instance default void NAnt.Compression.Types.ZipFileSet::set_Prefix (string 'value') + } + } // end of class NAnt.Compression.Types.ZipFileSet +} + +.namespace NAnt.Compression.Types +{ + .class public auto ansi serializable beforefieldinit ZipFileSetCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + + // method line 105 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x3e37 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method ZipFileSetCollection::.ctor + + // method line 106 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed + { + // Method begins at RVA 0x3e40 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Compression.Types.ZipFileSetCollection::AddRange(class NAnt.Compression.Types.ZipFileSetCollection) + IL_000e: ret + } // end of method ZipFileSetCollection::.ctor + + // method line 107 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSet[] 'value') cil managed + { + // Method begins at RVA 0x3e50 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Compression.Types.ZipFileSetCollection::AddRange(class NAnt.Compression.Types.ZipFileSet[]) + IL_000e: ret + } // end of method ZipFileSetCollection::.ctor + + // method line 108 + .method public hidebysig specialname + instance default class NAnt.Compression.Types.ZipFileSet get_Item (int32 index) cil managed + { + // Method begins at RVA 0x3e60 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Compression.Types.ZipFileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Compression.Types.ZipFileSet + IL_0012: stloc.0 + IL_0013: br IL_0018 + + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ZipFileSetCollection::get_Item // method line 109 .method public hidebysig specialname - instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Compression.Types.ZipFileSet 'value') cil managed { - // Method begins at RVA 0x383f - // Code size 9 (0x9) + // Method begins at RVA 0x3e86 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnZipTask::_zipfile - IL_0008: ret - } // end of method UnZipTask::set_ZipFile + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method ZipFileSetCollection::set_Item // method line 110 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed + instance default int32 get_FileCount () cil managed { - // Method begins at RVA 0x384c - // Code size 48 (0x30) + // Method begins at RVA 0x3e98 + // Code size 96 (0x60) .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + int32 V_0, + class NAnt.Compression.Types.ZipFileSet V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + int32 V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir - IL_0007: brtrue IL_0022 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_000f: stloc.2 + .try { // 0 + IL_0010: br IL_0031 + + IL_0015: ldloc.2 + IL_0016: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001b: castclass NAnt.Compression.Types.ZipFileSet + IL_0020: stloc.1 + IL_0021: nop + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0029: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_002e: add + IL_002f: stloc.0 + IL_0030: nop + IL_0031: ldloc.2 + IL_0032: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0037: brtrue IL_0015 + + IL_003c: leave IL_0055 + + } // end .try 0 + finally { // 0 + IL_0041: ldloc.2 + IL_0042: isinst [mscorlib]System.IDisposable + IL_0047: dup + IL_0048: stloc.3 + IL_0049: brfalse IL_0054 - IL_000c: ldarg.0 - IL_000d: ldarg.0 - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir - IL_0022: ldarg.0 - IL_0023: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir - IL_0028: stloc.0 - IL_0029: br IL_002e + IL_004e: ldloc.3 + IL_004f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0054: endfinally + } // end handler 0 + IL_0055: ldloc.0 + IL_0056: stloc.s 4 + IL_0058: br IL_005d - IL_002e: ldloc.0 - IL_002f: ret - } // end of method UnZipTask::get_ToDirectory + IL_005d: ldloc.s 4 + IL_005f: ret + } // end of method ZipFileSetCollection::get_FileCount // method line 111 - .method public hidebysig specialname - instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + .method public hidebysig + instance default int32 Add (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3888 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x3f14 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir - IL_0008: ret - } // end of method UnZipTask::set_ToDirectory + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ZipFileSetCollection::Add // method line 112 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.ZipFileSet[] items) cil managed { - // Method begins at RVA 0x3894 - // Code size 54 (0x36) - .maxstack 2 + // Method begins at RVA 0x3f38 + // Code size 34 (0x22) + .maxstack 3 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding - IL_0007: brtrue IL_0028 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_CurrentCulture() - IL_0013: callvirt instance class [mscorlib]System.Globalization.TextInfo class [mscorlib]System.Globalization.CultureInfo::get_TextInfo() - IL_0018: callvirt instance int32 class [mscorlib]System.Globalization.TextInfo::get_OEMCodePage() - IL_001d: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(int32) - IL_0022: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Compression.Types.ZipFileSetCollection::Add(class NAnt.Compression.Types.ZipFileSet) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_0034: ldloc.0 - IL_0035: ret - } // end of method UnZipTask::get_Encoding + IL_0021: ret + } // end of method ZipFileSetCollection::AddRange // method line 113 - .method public hidebysig specialname - instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.ZipFileSetCollection items) cil managed { - // Method begins at RVA 0x38d6 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x3f68 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding - IL_0008: ret - } // end of method UnZipTask::set_Encoding - - // method line 114 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x38e0 - } // end of method UnZipTask::ExecuteTask - - .property instance class [mscorlib]System.IO.FileInfo ZipFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 7A 69 70 66 69 6C 65 01 00 54 02 08 52 // ...zipfile..T..R - 65 71 75 69 72 65 64 01 ) // equired. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnZipTask::get_ZipFile () - .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 74 6F 64 69 72 01 00 54 02 08 52 65 71 // ...todir..T..Req - 75 69 72 65 64 00 ) // uired. + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::get_ToDirectory () - .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class [mscorlib]System.Text.Encoding Encoding () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Compression.Types.ZipFileSet class NAnt.Compression.Types.ZipFileSetCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Compression.Types.ZipFileSetCollection::Add(class NAnt.Compression.Types.ZipFileSet) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - .get instance default class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::get_Encoding () - .set instance default void NAnt.Compression.Tasks.UnZipTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') - } - } // end of class NAnt.Compression.Tasks.UnZipTask -} + IL_0028: ret + } // end of method ZipFileSetCollection::AddRange -.namespace NAnt.Compression.Tasks -{ - .class public auto ansi beforefieldinit TarTask - extends [NAnt.Core]NAnt.Core.Task - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 74 61 72 00 00 ) // ...tar.. + // method line 114 + .method public hidebysig + instance default bool Contains (class NAnt.Compression.Types.ZipFileSet item) cil managed + { + // Method begins at RVA 0x3fa0 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .field private class [mscorlib]System.IO.FileInfo _destFile - .field private class NAnt.Compression.Types.TarFileSetCollection _filesets - .field private bool _flatten - .field private bool _includeEmptyDirs - .field private valuetype NAnt.Compression.Types.TarCompressionMethod _compressionMethod - .field private class [mscorlib]System.Collections.Hashtable _addedDirs + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ZipFileSetCollection::Contains // method line 115 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method public hidebysig + instance default void CopyTo (class NAnt.Compression.Types.ZipFileSet[] 'array', int32 index) cil managed { - // Method begins at RVA 0x3aac - // Code size 50 (0x32) + // Method begins at RVA 0x3fc1 + // Code size 15 (0xf) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Compression.Types.TarFileSetCollection::'.ctor'() - IL_0006: stfld class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::_filesets - IL_000b: ldarg.0 - IL_000c: ldc.i4.0 - IL_000d: stfld bool NAnt.Compression.Tasks.TarTask::_flatten - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs - IL_0019: ldarg.0 - IL_001a: ldc.i4.0 - IL_001b: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod - IL_0020: ldarg.0 - IL_0021: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0026: stfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.TarTask::_addedDirs - IL_002b: ldarg.0 - IL_002c: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0031: ret - } // end of method TarTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method ZipFileSetCollection::CopyTo // method line 116 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + .method public hidebysig + instance default int32 IndexOf (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3ae0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3fd4 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.TarTask::_destFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TarTask::get_DestFile + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ZipFileSetCollection::IndexOf // method line 117 - .method public hidebysig specialname - instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3afb - // Code size 9 (0x9) + // Method begins at RVA 0x3ff5 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.TarTask::_destFile - IL_0008: ret - } // end of method TarTask::set_DestFile + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method ZipFileSetCollection::Insert // method line 118 - .method public hidebysig specialname - instance default bool get_IncludeEmptyDirs () cil managed + .method public hidebysig + instance default class NAnt.Compression.Types.ZipFileSetEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x3b08 + // Method begins at RVA 0x4008 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Compression.Types.ZipFileSetEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs + IL_0002: newobj instance void class NAnt.Compression.Types.ZipFileSetEnumerator::'.ctor'(class NAnt.Compression.Types.ZipFileSetCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TarTask::get_IncludeEmptyDirs + } // end of method ZipFileSetCollection::GetEnumerator // method line 119 - .method public hidebysig specialname - instance default void set_IncludeEmptyDirs (bool 'value') cil managed + .method public hidebysig + instance default void Remove (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3b23 - // Code size 9 (0x9) + // Method begins at RVA 0x4023 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs - IL_0008: ret - } // end of method TarTask::set_IncludeEmptyDirs + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method ZipFileSetCollection::Remove + + .property instance class NAnt.Compression.Types.ZipFileSet Item (int32) + { + .get instance default class NAnt.Compression.Types.ZipFileSet NAnt.Compression.Types.ZipFileSetCollection::get_Item (int32 index) + .set instance default void NAnt.Compression.Types.ZipFileSetCollection::set_Item (int32 index, class NAnt.Compression.Types.ZipFileSet 'value') + } + .property instance int32 FileCount () + { + .get instance default int32 NAnt.Compression.Types.ZipFileSetCollection::get_FileCount () + } + } // end of class NAnt.Compression.Types.ZipFileSetCollection +} + +.namespace NAnt.Compression.Types +{ + .class public auto ansi beforefieldinit ZipFileSetEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator // method line 120 - .method public virtual hidebysig newslot specialname - instance default bool get_Flatten () cil managed + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection ZipFileSets) cil managed { - // Method begins at RVA 0x3b30 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4034 + // Code size 22 (0x16) + .maxstack 2 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Compression.Tasks.TarTask::_flatten - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TarTask::get_Flatten + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator + IL_0015: ret + } // end of method ZipFileSetEnumerator::.ctor // method line 121 - .method public virtual hidebysig newslot specialname - instance default void set_Flatten (bool 'value') cil managed + .method public hidebysig specialname + instance default class NAnt.Compression.Types.ZipFileSet get_Current () cil managed { - // Method begins at RVA 0x3b4b - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x4058 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Compression.Types.ZipFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Compression.Tasks.TarTask::_flatten - IL_0008: ret - } // end of method TarTask::set_Flatten + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Compression.Types.ZipFileSet + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ZipFileSetEnumerator::get_Current // method line 122 - .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSetCollection get_TarFileSets () cil managed + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x3b58 - // Code size 15 (0xf) + // Method begins at RVA 0x4080 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Compression.Types.TarFileSetCollection V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::_filesets - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TarTask::get_TarFileSets + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.get_Current // method line 123 - .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x3b74 - // Code size 15 (0xf) + // Method begins at RVA 0x40a0 + // Code size 20 (0x14) .maxstack 1 .locals init ( - valuetype NAnt.Compression.Types.TarCompressionMethod V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TarTask::get_CompressionMethod + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ZipFileSetEnumerator::MoveNext // method line 124 - .method public hidebysig specialname - instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x3b8f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x40c0 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod - IL_0008: ret - } // end of method TarTask::set_CompressionMethod + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.MoveNext // method line 125 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x3b9c - } // end of method TarTask::ExecuteTask + // Method begins at RVA 0x40e0 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ZipFileSetEnumerator::Reset // method line 126 - .method private hidebysig - (null) cil managed + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x4078 - } // end of method TarTask:: - - .property instance class [mscorlib]System.IO.FileInfo DestFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 64 65 73 74 66 69 6C 65 01 00 54 02 08 // ...destfile..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.TarTask::get_DestFile () - .set instance default void NAnt.Compression.Tasks.TarTask::set_DestFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance bool IncludeEmptyDirs () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd - 69 72 73 01 00 54 02 08 52 65 71 75 69 72 65 64 // irs..T..Required - 00 ) // . - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Compression.Tasks.TarTask::get_IncludeEmptyDirs () - .set instance default void NAnt.Compression.Tasks.TarTask::set_IncludeEmptyDirs (bool 'value') - } - .property instance bool Flatten () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x40ee + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Compression.Types.ZipFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.Reset - .get instance default bool NAnt.Compression.Tasks.TarTask::get_Flatten () - .set instance default void NAnt.Compression.Tasks.TarTask::set_Flatten (bool 'value') - } - .property instance class NAnt.Compression.Types.TarFileSetCollection TarFileSets () + .property instance object System.Collections.IEnumerator.Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. - - .get instance default class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::get_TarFileSets () + .get instance default object NAnt.Compression.Types.ZipFileSetEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance valuetype NAnt.Compression.Types.TarCompressionMethod CompressionMethod () + .property instance class NAnt.Compression.Types.ZipFileSet Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 63 6F 6D 70 72 65 73 73 69 6F 6E 00 00 ) // ...compression.. - - .get instance default valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::get_CompressionMethod () - .set instance default void NAnt.Compression.Tasks.TarTask::set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') + .get instance default class NAnt.Compression.Types.ZipFileSet NAnt.Compression.Types.ZipFileSetEnumerator::get_Current () } - } // end of class NAnt.Compression.Tasks.TarTask + } // end of class NAnt.Compression.Types.ZipFileSetEnumerator } /usr/share/NAnt/bin/NAnt.CompressionTasks.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.CompressionTasks.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.CompressionTasks.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,233 +4,346 @@ NAnt.CompressionTasks - + - Specifies how entries with the same name should be processed. + Creates a zip file from the specified filesets. + + + Uses #ziplib + (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. + + + + + Zip all files in ${build.dir} and ${doc.dir} into a file + called "backup.zip". + + + + + + + + + + + ]]> + + - + - Overwrite existing entry with same name. + The zip file to create. - + - Preserve existing entry with the same name. + The comment for the file. - + - Report failure when two entries have the same name. + Date/time stamp for the files in the format MM/DD/YYYY HH:MM:SS. - + - Specialized for - that ignores case when converting from string. + Desired level of compression. Possible values are 0 (STORE only) + to 9 (highest). The default is 6. - + - Initializes a new instance of the - class. + Include empty directories in the generated zip file. The default is + . - + - Converts the given object to the type of this converter, using the - specified context and culture information. + Ignore directory structure of source directory, compress all files + into a single directory. + The default value is . - An that provides a format context. - A object. If a is passed, the current culture is assumed. - The to convert. - - An that represents the converted value. - - + - A is a with extra - attributes useful in the context of the . + The set of files to be included in the archive. - + - A 3 digit octal string, specify the user, group and other modes - in the standard Unix fashion. Only applies to plain files. The - default is 644. + Specifies the behaviour when a duplicate file is found. The default + is . - + - A 3 digit octal string, specify the user, group and other modes - in the standard Unix fashion. Only applies to directories. The - default is 755. + The character encoding to use for filenames and comment inside the + zip file. The default is the system's OEM code page. - + - The username for the tar entry. + Creates the zip file. - + - The user identifier (UID) for the tar entry. + Expands a file packed using GZip compression. + + Expands "test.tar.gz" to "test2.tar". + + + ]]> + + - + - The groupname for the tar entry. + The file to expand. - + - The group identifier (GID) for the tar entry. + The destination file. - + - The top level directory prefix. If set, all file and directory paths - in the fileset will have this value prepended. Can either be a single - directory name or a "/" separated path. + Extracts the file from the gzip archive. - + - Contains a collection of elements. + Summary description for ExpandTask. - + - Initializes a new instance of the class. + Overwrite files, even if they are newer than the corresponding + entries in the archive. The default is . - + - Initializes a new instance of the class - with the specified instance. + Extracts a file entry from the specified stream. + The containing the compressed entry. + The directory where to store the expanded file. + The name of the entry including directory information. + The date of the entry. + The uncompressed size of the entry. + + The destination directory for the entry could not be created. + -or- + The entry could not be extracted. + + + We cannot rely on the fact that the directory entry of a given file + is created before the file is extracted, so we should create the PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.Core.dll /usr/share/NAnt/bin/NAnt.Core.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.Core.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.Core.dll (monodis) @@ -74,24432 +74,25449 @@ .module NAnt.Core.dll // GUID = { 42 } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Attributes { - .class public auto ansi serializable beforefieldinit EnvironmentVariableCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi sealed beforefieldinit DateTimeValidatorAttribute + extends NAnt.Core.Attributes.ValidatorAttribute { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2050 + // Method begins at RVA 0x2058 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0001: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() IL_0006: nop IL_0007: ret - } // end of method EnvironmentVariableCollection::.ctor + } // end of method DateTimeValidatorAttribute::.ctor // method line 2 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed + .method public virtual hidebysig + instance default void Validate (object 'value') cil managed { - // Method begins at RVA 0x2059 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.EnvironmentVariableCollection::AddRange(class NAnt.Core.Types.EnvironmentVariableCollection) - IL_000e: ret - } // end of method EnvironmentVariableCollection::.ctor + // Method begins at RVA 0x2064 + // Code size 56 (0x38) + .maxstack 3 + .locals init ( + class [mscorlib]System.Exception V_0) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(object, class [mscorlib]System.IFormatProvider) + IL_000d: pop + IL_000e: nop + IL_000f: leave IL_0037 + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0014: stloc.0 + IL_0015: nop + IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001b: ldstr "NA1089" + IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0025: ldarg.1 + IL_0026: callvirt instance string object::ToString() + IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0030: ldloc.0 + IL_0031: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0036: throw + } // end handler 0 + IL_0037: ret + } // end of method DateTimeValidatorAttribute::Validate + + } // end of class NAnt.Core.Attributes.DateTimeValidatorAttribute +} + +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed LocationType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Attributes.LocationType FrameworkDir = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Attributes.LocationType FrameworkSdkDir = int32(0x00000001) + + } // end of class NAnt.Core.Attributes.LocationType +} + +.namespace NAnt.Core.Attributes +{ + .class public auto ansi beforefieldinit ProgramLocationAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul + 74 69 70 6C 65 00 ) // tiple. + + .field private valuetype NAnt.Core.Attributes.LocationType _locationType // method line 3 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariable[] 'value') cil managed + instance default void '.ctor' (valuetype NAnt.Core.Attributes.LocationType 'type') cil managed { - // Method begins at RVA 0x2069 + // Method begins at RVA 0x20b8 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() IL_0006: nop IL_0007: ldarg.0 IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.EnvironmentVariableCollection::AddRange(class NAnt.Core.Types.EnvironmentVariable[]) + IL_0009: call instance void class NAnt.Core.Attributes.ProgramLocationAttribute::set_LocationType(valuetype NAnt.Core.Attributes.LocationType) IL_000e: ret - } // end of method EnvironmentVariableCollection::.ctor + } // end of method ProgramLocationAttribute::.ctor // method line 4 .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariable get_Item (int32 index) cil managed + instance default valuetype NAnt.Core.Attributes.LocationType get_LocationType () cil managed { - // Method begins at RVA 0x207c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x20c8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Types.EnvironmentVariable V_0) + valuetype NAnt.Core.Attributes.LocationType V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.EnvironmentVariable - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld valuetype NAnt.Core.Attributes.LocationType NAnt.Core.Attributes.ProgramLocationAttribute::_locationType + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method EnvironmentVariableCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProgramLocationAttribute::get_LocationType // method line 5 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.EnvironmentVariable 'value') cil managed + instance default void set_LocationType (valuetype NAnt.Core.Attributes.LocationType 'value') cil managed { - // Method begins at RVA 0x20a2 - // Code size 15 (0xf) + // Method begins at RVA 0x20e3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method EnvironmentVariableCollection::set_Item - - // method line 6 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariable get_Item (string name) cil managed - { - // Method begins at RVA 0x20b4 - // Code size 111 (0x6f) - .maxstack 2 - .locals init ( - class NAnt.Core.Types.EnvironmentVariable V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.EnvironmentVariable V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 - - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.EnvironmentVariable - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() - IL_002d: ldarg.1 - IL_002e: call bool string::op_Equality(string, string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d - - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Core.Attributes.LocationType NAnt.Core.Attributes.ProgramLocationAttribute::_locationType + IL_0008: ret + } // end of method ProgramLocationAttribute::set_LocationType - IL_004c: leave IL_0065 + .property instance valuetype NAnt.Core.Attributes.LocationType LocationType () + { + .get instance default valuetype NAnt.Core.Attributes.LocationType NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType () + .set instance default void NAnt.Core.Attributes.ProgramLocationAttribute::set_LocationType (valuetype NAnt.Core.Attributes.LocationType 'value') + } + } // end of class NAnt.Core.Attributes.ProgramLocationAttribute +} - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 +.namespace NAnt.Core.Attributes +{ + .class public auto ansi beforefieldinit ElementNameAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul + 74 69 70 6C 65 00 ) // tiple. - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + .field private string _name - IL_006d: ldloc.2 - IL_006e: ret - } // end of method EnvironmentVariableCollection::get_Item + // method line 6 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed + { + // Method begins at RVA 0x20ed + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Attributes.ElementNameAttribute::set_Name(string) + IL_000e: ret + } // end of method ElementNameAttribute::.ctor // method line 7 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.EnvironmentVariable item) cil managed + .method public hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x2140 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2100 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld string NAnt.Core.Attributes.ElementNameAttribute::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EnvironmentVariableCollection::Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ElementNameAttribute::get_Name // method line 8 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.EnvironmentVariable[] items) cil managed + .method public hidebysig specialname + instance default void set_Name (string 'value') cil managed { - // Method begins at RVA 0x2164 - // Code size 34 (0x22) + // Method begins at RVA 0x211c + // Code size 66 (0x42) .maxstack 3 - .locals init ( - int32 V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.EnvironmentVariableCollection::Add(class NAnt.Core.Types.EnvironmentVariable) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0007: nop + IL_0008: ldstr "name" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance string string::Trim() + IL_001a: stfld string NAnt.Core.Attributes.ElementNameAttribute::_name + IL_001f: ldarg.0 + IL_0020: ldfld string NAnt.Core.Attributes.ElementNameAttribute::_name + IL_0025: callvirt instance int32 string::get_Length() + IL_002a: brtrue IL_0041 - IL_0021: ret - } // end of method EnvironmentVariableCollection::AddRange + IL_002f: nop + IL_0030: ldstr "name" + IL_0035: ldarg.1 + IL_0036: ldstr "A zero-length string is not an allowed value." + IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_0040: throw + IL_0041: ret + } // end of method ElementNameAttribute::set_Name - // method line 9 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.EnvironmentVariableCollection items) cil managed - { - // Method begins at RVA 0x2194 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + .property instance string Name () + { + .get instance default string NAnt.Core.Attributes.ElementNameAttribute::get_Name () + .set instance default void NAnt.Core.Attributes.ElementNameAttribute::set_Name (string 'value') + } + } // end of class NAnt.Core.Attributes.ElementNameAttribute +} - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.EnvironmentVariableCollection::Add(class NAnt.Core.Types.EnvironmentVariable) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit TaskNameAttribute + extends NAnt.Core.Attributes.ElementNameAttribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul + 74 69 70 6C 65 00 ) // tiple. - IL_0028: ret - } // end of method EnvironmentVariableCollection::AddRange - // method line 10 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.EnvironmentVariable item) cil managed + // method line 9 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x21cc - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EnvironmentVariableCollection::Contains + // Method begins at RVA 0x216a + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) + IL_0007: nop + IL_0008: ret + } // end of method TaskNameAttribute::.ctor - // method line 11 - .method public hidebysig - instance default bool Contains (string 'value') cil managed - { - // Method begins at RVA 0x21f0 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + } // end of class NAnt.Core.Attributes.TaskNameAttribute +} - IL_0014: ldloc.0 - IL_0015: ret - } // end of method EnvironmentVariableCollection::Contains +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit FunctionAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 40 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ..@.....T..Inher + 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul + 74 69 70 6C 65 00 ) // tiple. - // method line 12 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.EnvironmentVariable[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x2212 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method EnvironmentVariableCollection::CopyTo + .field private string _name - // method line 13 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.EnvironmentVariable item) cil managed + // method line 10 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x2224 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + // Method begins at RVA 0x2174 + // Code size 67 (0x43) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: nop IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0008: brtrue IL_0019 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EnvironmentVariableCollection::IndexOf + IL_000d: nop + IL_000e: ldstr "name" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.1 + IL_001a: callvirt instance string string::Trim() + IL_001f: callvirt instance int32 string::get_Length() + IL_0024: brtrue IL_003b - // method line 14 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.EnvironmentVariable item) cil managed - { - // Method begins at RVA 0x2245 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method EnvironmentVariableCollection::Insert + IL_0029: nop + IL_002a: ldstr "name" + IL_002f: ldarg.1 + IL_0030: ldstr "A zero-length string is not an allowed value." + IL_0035: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_003a: throw + IL_003b: ldarg.0 + IL_003c: ldarg.1 + IL_003d: stfld string NAnt.Core.Attributes.FunctionAttribute::_name + IL_0042: ret + } // end of method FunctionAttribute::.ctor - // method line 15 - .method public hidebysig - instance default class NAnt.Core.Types.EnvironmentVariableEnumerator GetEnumerator () cil managed + // method line 11 + .method public hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x2258 + // Method begins at RVA 0x21c4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.EnvironmentVariableEnumerator V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.EnvironmentVariableEnumerator::'.ctor'(class NAnt.Core.Types.EnvironmentVariableCollection) + IL_0002: ldfld string NAnt.Core.Attributes.FunctionAttribute::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EnvironmentVariableCollection::GetEnumerator + } // end of method FunctionAttribute::get_Name - // method line 16 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.EnvironmentVariable item) cil managed + // method line 12 + .method public hidebysig specialname + instance default void set_Name (string 'value') cil managed { - // Method begins at RVA 0x2273 - // Code size 14 (0xe) + // Method begins at RVA 0x21df + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method EnvironmentVariableCollection::Remove + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Attributes.FunctionAttribute::_name + IL_0008: ret + } // end of method FunctionAttribute::set_Name - .property instance class NAnt.Core.Types.EnvironmentVariable Item (int32) - { - .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.EnvironmentVariableCollection::set_Item (int32 index, class NAnt.Core.Types.EnvironmentVariable 'value') - } - .property instance class NAnt.Core.Types.EnvironmentVariable Item (string) + .property instance string Name () { - .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableCollection::get_Item (string name) + .get instance default string NAnt.Core.Attributes.FunctionAttribute::get_Name () + .set instance default void NAnt.Core.Attributes.FunctionAttribute::set_Name (string 'value') } - } // end of class NAnt.Core.Types.EnvironmentVariableCollection + } // end of class NAnt.Core.Attributes.FunctionAttribute } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit EnvironmentVariableEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + .class public auto ansi beforefieldinit BuildElementAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 C0 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. - // method line 17 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection arguments) cil managed + .field private string _name + .field private bool _required + .field private bool _processXml + + // method line 13 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x2284 + // Method begins at RVA 0x21e9 // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml + IL_0007: ldarg.0 + IL_0008: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: call instance void class NAnt.Core.Attributes.BuildElementAttribute::set_Name(string) IL_0015: ret - } // end of method EnvironmentVariableEnumerator::.ctor + } // end of method BuildElementAttribute::.ctor - // method line 18 + // method line 14 .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariable get_Current () cil managed + instance default string get_Name () cil managed { - // Method begins at RVA 0x22a8 - // Code size 25 (0x19) + // Method begins at RVA 0x2200 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.EnvironmentVariable V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.EnvironmentVariable - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld string NAnt.Core.Attributes.BuildElementAttribute::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method EnvironmentVariableEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildElementAttribute::get_Name - // method line 19 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 15 + .method public hidebysig specialname + instance default void set_Name (string 'value') cil managed { - // Method begins at RVA 0x22d0 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0x221c + // Code size 66 (0x42) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current + IL_0007: nop + IL_0008: ldstr "name" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance string string::Trim() + IL_001a: stfld string NAnt.Core.Attributes.BuildElementAttribute::_name + IL_001f: ldarg.0 + IL_0020: ldfld string NAnt.Core.Attributes.BuildElementAttribute::_name + IL_0025: callvirt instance int32 string::get_Length() + IL_002a: brtrue IL_0041 - // method line 20 - .method public hidebysig - instance default bool MoveNext () cil managed + IL_002f: nop + IL_0030: ldstr "name" + IL_0035: ldarg.1 + IL_0036: ldstr "A zero-length string is not an allowed value." + IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_0040: throw + IL_0041: ret + } // end of method BuildElementAttribute::set_Name + + // method line 16 + .method public hidebysig specialname + instance default bool get_Required () cil managed { - // Method begins at RVA 0x22f0 - // Code size 20 (0x14) + // Method begins at RVA 0x226c + // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.Core.Attributes.BuildElementAttribute::_required + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method EnvironmentVariableEnumerator::MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildElementAttribute::get_Required - // method line 21 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 17 + .method public hidebysig specialname + instance default void set_Required (bool 'value') cil managed { - // Method begins at RVA 0x2310 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x2287 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.MoveNext + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_required + IL_0008: ret + } // end of method BuildElementAttribute::set_Required - // method line 22 - .method public hidebysig - instance default void Reset () cil managed + // method line 18 + .method public hidebysig specialname + instance default bool get_ProcessXml () cil managed { - // Method begins at RVA 0x2330 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x2294 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method EnvironmentVariableEnumerator::Reset + IL_0002: ldfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 23 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildElementAttribute::get_ProcessXml + + // method line 19 + .method public hidebysig specialname + instance default void set_ProcessXml (bool 'value') cil managed { - // Method begins at RVA 0x233e - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x22af + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.Reset + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml + IL_0008: ret + } // end of method BuildElementAttribute::set_ProcessXml - .property instance object System.Collections.IEnumerator.Current () + .property instance string Name () { - .get instance default object NAnt.Core.Types.EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default string NAnt.Core.Attributes.BuildElementAttribute::get_Name () + .set instance default void NAnt.Core.Attributes.BuildElementAttribute::set_Name (string 'value') } - .property instance class NAnt.Core.Types.EnvironmentVariable Current () + .property instance bool Required () { - .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current () + .get instance default bool NAnt.Core.Attributes.BuildElementAttribute::get_Required () + .set instance default void NAnt.Core.Attributes.BuildElementAttribute::set_Required (bool 'value') } - } // end of class NAnt.Core.Types.EnvironmentVariableEnumerator + .property instance bool ProcessXml () + { + .get instance default bool NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml () + .set instance default void NAnt.Core.Attributes.BuildElementAttribute::set_ProcessXml (bool 'value') + } + } // end of class NAnt.Core.Attributes.BuildElementAttribute } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Attributes { - .class public auto ansi serializable beforefieldinit XmlNamespaceCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi sealed beforefieldinit FileSetAttribute + extends NAnt.Core.Attributes.BuildElementAttribute { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 4D 50 6C 65 61 73 65 20 75 73 65 20 61 20 // ..MPlease use a + 42 75 69 6C 64 45 6C 65 6D 65 6E 74 20 61 74 74 // BuildElement att + 72 69 62 75 74 65 20 69 6E 73 74 65 61 64 2E 20 // ribute instead. + 54 68 69 73 20 63 6C 61 73 73 20 77 69 6C 6C 20 // This class will + 62 65 20 72 65 6D 6F 76 65 64 20 73 6F 6F 6E 2E // be removed soon. + 01 00 00 ) // ... - // method line 24 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x234c - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method XmlNamespaceCollection::.ctor - // method line 25 + // method line 20 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x2355 - // Code size 15 (0xf) + // Method begins at RVA 0x22b9 + // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XmlNamespaceCollection::AddRange(class NAnt.Core.Types.XmlNamespaceCollection) - IL_000e: ret - } // end of method XmlNamespaceCollection::.ctor + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) + IL_0007: nop + IL_0008: ret + } // end of method FileSetAttribute::.ctor - // method line 26 + } // end of class NAnt.Core.Attributes.FileSetAttribute +} + +.namespace NAnt.Core.Attributes +{ + .class public auto ansi beforefieldinit BuildElementArrayAttribute + extends NAnt.Core.Attributes.BuildElementAttribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + + .field private class [mscorlib]System.Type _elementType + + // method line 21 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespace[] 'value') cil managed + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x2365 - // Code size 15 (0xf) + // Method begins at RVA 0x22c3 + // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XmlNamespaceCollection::AddRange(class NAnt.Core.Types.XmlNamespace[]) - IL_000e: ret - } // end of method XmlNamespaceCollection::.ctor + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) + IL_0007: nop + IL_0008: ret + } // end of method BuildElementArrayAttribute::.ctor - // method line 27 + // method line 22 .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Item (int32 index) cil managed + instance default class [mscorlib]System.Type get_ElementType () cil managed { - // Method begins at RVA 0x2378 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x22d0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespace V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.XmlNamespace - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method XmlNamespaceCollection::get_Item + IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Attributes.BuildElementArrayAttribute::_elementType + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 28 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') cil managed - { - // Method begins at RVA 0x239e - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespaceCollection::set_Item + } // end of method BuildElementArrayAttribute::get_ElementType - // method line 29 + // method line 23 .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Item (string 'value') cil managed + instance default void set_ElementType (class [mscorlib]System.Type 'value') cil managed { - // Method begins at RVA 0x23b0 - // Code size 111 (0x6f) - .maxstack 2 - .locals init ( - class NAnt.Core.Types.XmlNamespace V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.XmlNamespace V_2, - class [mscorlib]System.IDisposable V_3) + // Method begins at RVA 0x22eb + // Code size 33 (0x21) + .maxstack 8 IL_0000: nop IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + IL_0002: ldnull + IL_0003: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0008: brfalse IL_0019 - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 + IL_000d: nop + IL_000e: ldstr "ElementType" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: stfld class [mscorlib]System.Type NAnt.Core.Attributes.BuildElementArrayAttribute::_elementType + IL_0020: ret + } // end of method BuildElementArrayAttribute::set_ElementType - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.XmlNamespace - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Prefix() - IL_002d: ldarg.1 - IL_002e: call bool string::op_Equality(string, string) - IL_0033: brfalse IL_0040 + .property instance class [mscorlib]System.Type ElementType () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType () + .set instance default void NAnt.Core.Attributes.BuildElementArrayAttribute::set_ElementType (class [mscorlib]System.Type 'value') + } + } // end of class NAnt.Core.Attributes.BuildElementArrayAttribute +} - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit FunctionSetAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul + 74 69 70 6C 65 00 ) // tiple. - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + .field private string _prefix + .field private string _category - IL_004c: leave IL_0065 + // method line 24 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string prefix, string category) cil managed + { + // Method begins at RVA 0x2310 + // Code size 126 (0x7e) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + IL_000d: nop + IL_000e: ldstr "prefix" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.2 + IL_001a: brtrue IL_002b - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + IL_001f: nop + IL_0020: ldstr "category" + IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002a: throw + IL_002b: ldarg.1 + IL_002c: callvirt instance string string::Trim() + IL_0031: callvirt instance int32 string::get_Length() + IL_0036: brtrue IL_004d - IL_006d: ldloc.2 - IL_006e: ret - } // end of method XmlNamespaceCollection::get_Item + IL_003b: nop + IL_003c: ldstr "prefix" + IL_0041: ldarg.1 + IL_0042: ldstr "A zero-length string is not an allowed value." + IL_0047: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_004c: throw + IL_004d: ldarg.2 + IL_004e: callvirt instance string string::Trim() + IL_0053: callvirt instance int32 string::get_Length() + IL_0058: brtrue IL_006f - // method line 30 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.XmlNamespace item) cil managed + IL_005d: nop + IL_005e: ldstr "category" + IL_0063: ldarg.2 + IL_0064: ldstr "A zero-length string is not an allowed value." + IL_0069: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_006e: throw + IL_006f: ldarg.0 + IL_0070: ldarg.1 + IL_0071: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix + IL_0076: ldarg.0 + IL_0077: ldarg.2 + IL_0078: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_category + IL_007d: ret + } // end of method FunctionSetAttribute::.ctor + + // method line 25 + .method public hidebysig specialname + instance default string get_Category () cil managed { - // Method begins at RVA 0x243c - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x239c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld string NAnt.Core.Attributes.FunctionSetAttribute::_category + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XmlNamespaceCollection::Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionSetAttribute::get_Category - // method line 31 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XmlNamespace[] items) cil managed - { - // Method begins at RVA 0x2460 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.XmlNamespaceCollection::Add(class NAnt.Core.Types.XmlNamespace) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 - - IL_0021: ret - } // end of method XmlNamespaceCollection::AddRange - - // method line 32 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XmlNamespaceCollection items) cil managed + // method line 26 + .method public hidebysig specialname + instance default void set_Category (string 'value') cil managed { - // Method begins at RVA 0x2490 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x23b7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.XmlNamespaceCollection::Add(class NAnt.Core.Types.XmlNamespace) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method XmlNamespaceCollection::AddRange + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_category + IL_0008: ret + } // end of method FunctionSetAttribute::set_Category - // method line 33 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.XmlNamespace item) cil managed + // method line 27 + .method public hidebysig specialname + instance default string get_Prefix () cil managed { - // Method begins at RVA 0x24c8 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x23c4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XmlNamespaceCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionSetAttribute::get_Prefix - // method line 34 - .method public hidebysig - instance default bool Contains (string 'value') cil managed + // method line 28 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0x24ec - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x23df + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0003: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix + IL_0008: ret + } // end of method FunctionSetAttribute::set_Prefix - IL_0014: ldloc.0 - IL_0015: ret - } // end of method XmlNamespaceCollection::Contains + .property instance string Category () + { + .get instance default string NAnt.Core.Attributes.FunctionSetAttribute::get_Category () + .set instance default void NAnt.Core.Attributes.FunctionSetAttribute::set_Category (string 'value') + } + .property instance string Prefix () + { + .get instance default string NAnt.Core.Attributes.FunctionSetAttribute::get_Prefix () + .set instance default void NAnt.Core.Attributes.FunctionSetAttribute::set_Prefix (string 'value') + } + } // end of class NAnt.Core.Attributes.FunctionSetAttribute +} - // method line 35 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.XmlNamespace[] 'array', int32 index) cil managed +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit StringValidatorAttribute + extends NAnt.Core.Attributes.ValidatorAttribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + + .field private bool _allowEmpty + .field private string _expression + .field private string _expressionErrorMessage + + // method line 29 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x250e + // Method begins at RVA 0x23e9 // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() + IL_000d: nop IL_000e: ret - } // end of method XmlNamespaceCollection::CopyTo + } // end of method StringValidatorAttribute::.ctor - // method line 36 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.XmlNamespace item) cil managed + // method line 30 + .method public hidebysig specialname + instance default bool get_AllowEmpty () cil managed { - // Method begins at RVA 0x2520 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x23fc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XmlNamespaceCollection::IndexOf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringValidatorAttribute::get_AllowEmpty - // method line 37 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.XmlNamespace item) cil managed + // method line 31 + .method public hidebysig specialname + instance default void set_AllowEmpty (bool 'value') cil managed { - // Method begins at RVA 0x2541 - // Code size 15 (0xf) + // Method begins at RVA 0x2417 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method XmlNamespaceCollection::Insert + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty + IL_0008: ret + } // end of method StringValidatorAttribute::set_AllowEmpty - // method line 38 - .method public hidebysig - instance default class NAnt.Core.Types.XmlNamespaceEnumerator GetEnumerator () cil managed + // method line 32 + .method public hidebysig specialname + instance default string get_Expression () cil managed { - // Method begins at RVA 0x2554 + // Method begins at RVA 0x2424 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespaceEnumerator V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.XmlNamespaceEnumerator::'.ctor'(class NAnt.Core.Types.XmlNamespaceCollection) + IL_0002: ldfld string NAnt.Core.Attributes.StringValidatorAttribute::_expression IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespaceCollection::GetEnumerator + } // end of method StringValidatorAttribute::get_Expression - // method line 39 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.XmlNamespace item) cil managed + // method line 33 + .method public hidebysig specialname + instance default void set_Expression (string 'value') cil managed { - // Method begins at RVA 0x256f - // Code size 14 (0xe) + // Method begins at RVA 0x243f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method XmlNamespaceCollection::Remove - - .property instance class NAnt.Core.Types.XmlNamespace Item (int32) - { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.XmlNamespaceCollection::set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') - } - .property instance class NAnt.Core.Types.XmlNamespace Item (string) - { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (string 'value') - } - } // end of class NAnt.Core.Types.XmlNamespaceCollection -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit XmlNamespaceEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 40 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection arguments) cil managed - { - // Method begins at RVA 0x2580 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0015: ret - } // end of method XmlNamespaceEnumerator::.ctor + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Attributes.StringValidatorAttribute::_expression + IL_0008: ret + } // end of method StringValidatorAttribute::set_Expression - // method line 41 + // method line 34 .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Current () cil managed + instance default string get_ExpressionErrorMessage () cil managed { - // Method begins at RVA 0x25a4 - // Code size 25 (0x19) + // Method begins at RVA 0x244c + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespace V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.XmlNamespace - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld string NAnt.Core.Attributes.StringValidatorAttribute::_expressionErrorMessage + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method XmlNamespaceEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringValidatorAttribute::get_ExpressionErrorMessage - // method line 42 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 35 + .method public hidebysig specialname + instance default void set_ExpressionErrorMessage (string 'value') cil managed { - // Method begins at RVA 0x25cc - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0x2467 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Attributes.StringValidatorAttribute::_expressionErrorMessage + IL_0008: ret + } // end of method StringValidatorAttribute::set_ExpressionErrorMessage - // method line 43 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 36 + .method public virtual hidebysig + instance default void Validate (object 'value') cil managed { - // Method begins at RVA 0x25ec - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x2474 + // Code size 203 (0xcb) + .maxstack 3 .locals init ( - bool V_0) + string V_0, + class [mscorlib]System.Exception V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call string class [mscorlib]System.Convert::ToString(object, class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: nop + IL_000f: leave IL_0037 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XmlNamespaceEnumerator::MoveNext + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0014: stloc.1 + IL_0015: nop + IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001b: ldstr "NA1092" + IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0025: ldarg.1 + IL_0026: callvirt instance string object::ToString() + IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0030: ldloc.1 + IL_0031: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0036: throw + } // end handler 0 + IL_0037: ldloc.0 + IL_0038: call bool string::IsNullOrEmpty(string) + IL_003d: brfalse IL_005f - // method line 44 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x260c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: call instance bool class NAnt.Core.Attributes.StringValidatorAttribute::get_AllowEmpty() + IL_0049: brtrue IL_005a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.MoveNext + IL_004e: nop + IL_004f: ldstr "An empty value is not allowed." + IL_0054: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string) + IL_0059: throw + IL_005a: br IL_00ca - // method line 45 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x262c - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XmlNamespaceEnumerator::Reset + IL_005f: ldarg.0 + IL_0060: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_Expression() + IL_0065: call bool string::IsNullOrEmpty(string) + IL_006a: brtrue IL_00ca - // method line 46 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x263a - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.Reset + IL_006f: nop + IL_0070: ldarg.1 + IL_0071: call string class [mscorlib]System.Convert::ToString(object) + IL_0076: ldarg.0 + IL_0077: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_Expression() + IL_007c: call bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string, string) + IL_0081: brtrue IL_00c9 - .property instance object System.Collections.IEnumerator.Current () + IL_0086: nop + IL_0087: ldstr "String {0} does not match expression {1}." + IL_008c: ldarg.1 + IL_008d: ldarg.0 + IL_008e: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_Expression() + IL_0093: call string string::Format(string, object, object) + IL_0098: stloc.2 + IL_0099: ldarg.0 + IL_009a: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage() + IL_009f: brfalse IL_00c2 + + IL_00a4: ldsfld string [mscorlib]System.String::Empty + IL_00a9: ldarg.0 + IL_00aa: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage() + IL_00af: call bool string::op_Inequality(string, string) + IL_00b4: brfalse IL_00c2 + + IL_00b9: nop + IL_00ba: ldarg.0 + IL_00bb: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage() + IL_00c0: stloc.2 + IL_00c1: nop + IL_00c2: ldloc.2 + IL_00c3: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string) + IL_00c8: throw + IL_00c9: nop + IL_00ca: ret + } // end of method StringValidatorAttribute::Validate + + .property instance bool AllowEmpty () { - .get instance default object NAnt.Core.Types.XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default bool NAnt.Core.Attributes.StringValidatorAttribute::get_AllowEmpty () + .set instance default void NAnt.Core.Attributes.StringValidatorAttribute::set_AllowEmpty (bool 'value') } - .property instance class NAnt.Core.Types.XmlNamespace Current () + .property instance string Expression () { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceEnumerator::get_Current () + .get instance default string NAnt.Core.Attributes.StringValidatorAttribute::get_Expression () + .set instance default void NAnt.Core.Attributes.StringValidatorAttribute::set_Expression (string 'value') } - } // end of class NAnt.Core.Types.XmlNamespaceEnumerator + .property instance string ExpressionErrorMessage () + { + .get instance default string NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage () + .set instance default void NAnt.Core.Attributes.StringValidatorAttribute::set_ExpressionErrorMessage (string 'value') + } + } // end of class NAnt.Core.Attributes.StringValidatorAttribute } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Attributes { - .class public auto ansi serializable beforefieldinit OptionCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi sealed beforefieldinit TaskAttributeAttribute + extends NAnt.Core.Attributes.BuildAttributeAttribute { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. - // method line 47 + // method line 37 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x2648 - // Code size 8 (0x8) + // Method begins at RVA 0x265d + // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method OptionCollection::.ctor + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Attributes.BuildAttributeAttribute::'.ctor'(string) + IL_0007: nop + IL_0008: ret + } // end of method TaskAttributeAttribute::.ctor - // method line 48 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.OptionCollection 'value') cil managed - { - // Method begins at RVA 0x2651 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.OptionCollection::AddRange(class NAnt.Core.Types.OptionCollection) - IL_000e: ret - } // end of method OptionCollection::.ctor + } // end of class NAnt.Core.Attributes.TaskAttributeAttribute +} - // method line 49 +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit FrameworkConfigurableAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + + .field private string _name + .field private bool _required + .field private bool _expandProperties + + // method line 38 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.Option[] 'value') cil managed + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x2661 - // Code size 15 (0xf) + // Method begins at RVA 0x2667 + // Code size 22 (0x16) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.OptionCollection::AddRange(class NAnt.Core.Types.Option[]) - IL_000e: ret - } // end of method OptionCollection::.ctor + IL_0008: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: call instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Name(string) + IL_0015: ret + } // end of method FrameworkConfigurableAttribute::.ctor - // method line 50 + // method line 39 .method public hidebysig specialname - instance default class NAnt.Core.Types.Option get_Item (int32 index) cil managed + instance default string get_Name () cil managed { - // Method begins at RVA 0x2674 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2680 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Types.Option V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.Option - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method OptionCollection::get_Item + IL_0002: ldfld string NAnt.Core.Attributes.FrameworkConfigurableAttribute::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 51 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Option 'value') cil managed - { - // Method begins at RVA 0x269a - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000d: ldloc.0 IL_000e: ret - } // end of method OptionCollection::set_Item + } // end of method FrameworkConfigurableAttribute::get_Name - // method line 52 + // method line 40 .method public hidebysig specialname - instance default class NAnt.Core.Types.Option get_Item (string name) cil managed + instance default void set_Name (string 'value') cil managed { - // Method begins at RVA 0x26ac - // Code size 111 (0x6f) - .maxstack 2 - .locals init ( - class NAnt.Core.Types.Option V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.Option V_2, - class [mscorlib]System.IDisposable V_3) + // Method begins at RVA 0x269c + // Code size 66 (0x42) + .maxstack 3 IL_0000: nop IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + IL_0002: brtrue IL_0013 IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 - - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.Option - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.Core.Types.Option::get_OptionName() - IL_002e: callvirt instance bool string::Equals(string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d - - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a - - IL_004c: leave IL_0065 - - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 - - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + IL_0008: ldstr "name" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance string string::Trim() + IL_001a: stfld string NAnt.Core.Attributes.FrameworkConfigurableAttribute::_name + IL_001f: ldarg.0 + IL_0020: ldfld string NAnt.Core.Attributes.FrameworkConfigurableAttribute::_name + IL_0025: callvirt instance int32 string::get_Length() + IL_002a: brtrue IL_0041 - IL_006d: ldloc.2 - IL_006e: ret - } // end of method OptionCollection::get_Item + IL_002f: nop + IL_0030: ldstr "name" + IL_0035: ldarg.1 + IL_0036: ldstr "A zero-length string is not an allowed value." + IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_0040: throw + IL_0041: ret + } // end of method FrameworkConfigurableAttribute::set_Name - // method line 53 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Option item) cil managed + // method line 41 + .method public hidebysig specialname + instance default bool get_Required () cil managed { - // Method begins at RVA 0x2738 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x26ec + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method OptionCollection::Add - - // method line 54 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Option[] items) cil managed - { - // Method begins at RVA 0x275c - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.OptionCollection::Add(class NAnt.Core.Types.Option) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0002: ldfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_required + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0021: ret - } // end of method OptionCollection::AddRange + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkConfigurableAttribute::get_Required - // method line 55 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.OptionCollection items) cil managed + // method line 42 + .method public hidebysig specialname + instance default void set_Required (bool 'value') cil managed { - // Method begins at RVA 0x278c - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x2707 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.Option class NAnt.Core.Types.OptionCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.OptionCollection::Add(class NAnt.Core.Types.Option) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method OptionCollection::AddRange + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_required + IL_0008: ret + } // end of method FrameworkConfigurableAttribute::set_Required - // method line 56 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Option item) cil managed + // method line 43 + .method public hidebysig specialname + instance default bool get_ExpandProperties () cil managed { - // Method begins at RVA 0x27c4 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2714 + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method OptionCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkConfigurableAttribute::get_ExpandProperties - // method line 57 - .method public hidebysig - instance default bool Contains (string taskName) cil managed + // method line 44 + .method public hidebysig specialname + instance default void set_ExpandProperties (bool 'value') cil managed { - // Method begins at RVA 0x27e8 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x272f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.Option class NAnt.Core.Types.OptionCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0003: stfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties + IL_0008: ret + } // end of method FrameworkConfigurableAttribute::set_ExpandProperties - IL_0014: ldloc.0 - IL_0015: ret - } // end of method OptionCollection::Contains + .property instance string Name () + { + .get instance default string NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name () + .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Name (string 'value') + } + .property instance bool Required () + { + .get instance default bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required () + .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Required (bool 'value') + } + .property instance bool ExpandProperties () + { + .get instance default bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_ExpandProperties () + .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_ExpandProperties (bool 'value') + } + } // end of class NAnt.Core.Attributes.FrameworkConfigurableAttribute +} - // method line 58 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Option[] 'array', int32 index) cil managed +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit BooleanValidatorAttribute + extends NAnt.Core.Attributes.ValidatorAttribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + + + // method line 45 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x280a - // Code size 15 (0xf) + // Method begins at RVA 0x2739 + // Code size 8 (0x8) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method OptionCollection::CopyTo + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method BooleanValidatorAttribute::.ctor - // method line 59 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Option item) cil managed + // method line 46 + .method public virtual hidebysig + instance default void Validate (object 'value') cil managed { - // Method begins at RVA 0x281c - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2744 + // Code size 56 (0x38) + .maxstack 3 .locals init ( - int32 V_0) + class [mscorlib]System.Exception V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call bool class [mscorlib]System.Convert::ToBoolean(object, class [mscorlib]System.IFormatProvider) + IL_000d: pop + IL_000e: nop + IL_000f: leave IL_0037 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method OptionCollection::IndexOf + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0014: stloc.0 + IL_0015: nop + IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001b: ldstr "NA1088" + IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0025: ldarg.1 + IL_0026: callvirt instance string object::ToString() + IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0030: ldloc.0 + IL_0031: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0036: throw + } // end handler 0 + IL_0037: ret + } // end of method BooleanValidatorAttribute::Validate - // method line 60 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Option item) cil managed + } // end of class NAnt.Core.Attributes.BooleanValidatorAttribute +} + +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit BuildElementCollectionAttribute + extends NAnt.Core.Attributes.BuildElementArrayAttribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + + .field private string _elementName + + // method line 47 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string collectionName, string childName) cil managed { - // Method begins at RVA 0x283d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 + // Method begins at RVA 0x2798 + // Code size 73 (0x49) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) + IL_0007: nop IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method OptionCollection::Insert + IL_0009: brtrue IL_001a - // method line 61 - .method public hidebysig - instance default class NAnt.Core.Types.OptionEnumerator GetEnumerator () cil managed + IL_000e: nop + IL_000f: ldstr "childName" + IL_0014: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0019: throw + IL_001a: ldarg.0 + IL_001b: ldarg.2 + IL_001c: callvirt instance string string::Trim() + IL_0021: stfld string NAnt.Core.Attributes.BuildElementCollectionAttribute::_elementName + IL_0026: ldarg.0 + IL_0027: ldfld string NAnt.Core.Attributes.BuildElementCollectionAttribute::_elementName + IL_002c: callvirt instance int32 string::get_Length() + IL_0031: brtrue IL_0048 + + IL_0036: nop + IL_0037: ldstr "childName" + IL_003c: ldarg.2 + IL_003d: ldstr "A zero-length string is not an allowed value." + IL_0042: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_0047: throw + IL_0048: ret + } // end of method BuildElementCollectionAttribute::.ctor + + // method line 48 + .method public hidebysig specialname + instance default string get_ChildElementName () cil managed { - // Method begins at RVA 0x2850 + // Method begins at RVA 0x27f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.OptionEnumerator V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.OptionEnumerator::'.ctor'(class NAnt.Core.Types.OptionCollection) + IL_0002: ldfld string NAnt.Core.Attributes.BuildElementCollectionAttribute::_elementName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OptionCollection::GetEnumerator - - // method line 62 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Option item) cil managed - { - // Method begins at RVA 0x286b - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method OptionCollection::Remove + } // end of method BuildElementCollectionAttribute::get_ChildElementName - .property instance class NAnt.Core.Types.Option Item (int32) - { - .get instance default class NAnt.Core.Types.Option NAnt.Core.Types.OptionCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.OptionCollection::set_Item (int32 index, class NAnt.Core.Types.Option 'value') - } - .property instance class NAnt.Core.Types.Option Item (string) + .property instance string ChildElementName () { - .get instance default class NAnt.Core.Types.Option NAnt.Core.Types.OptionCollection::get_Item (string name) + .get instance default string NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName () } - } // end of class NAnt.Core.Types.OptionCollection + } // end of class NAnt.Core.Attributes.BuildElementCollectionAttribute } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit OptionEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 63 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.OptionCollection arguments) cil managed + .class public auto ansi abstract beforefieldinit ValidatorAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + + + // method line 49 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x287c - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + // Method begins at RVA 0x2050 + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator - IL_0015: ret - } // end of method OptionEnumerator::.ctor + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: ret + } // end of method ValidatorAttribute::.ctor - // method line 64 + // method line 50 + .method public virtual hidebysig newslot abstract + instance default void Validate (object 'value') cil managed + { + // Method begins at RVA 0x0 + } // end of method ValidatorAttribute::Validate + + } // end of class NAnt.Core.Attributes.ValidatorAttribute +} + +.namespace NAnt.Core.Attributes +{ + .class public auto ansi sealed beforefieldinit Int32ValidatorAttribute + extends NAnt.Core.Attributes.ValidatorAttribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. + + .field private int32 _minValue + .field private int32 _maxValue + .field private int32 _base + + // method line 51 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x280b + // Code size 38 (0x26) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 -2147483648 + IL_0006: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue + IL_000b: ldarg.0 + IL_000c: ldc.i4 2147483647 + IL_0011: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue + IL_0016: ldarg.0 + IL_0017: ldc.i4.s 0x0a + IL_0019: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base + IL_001e: ldarg.0 + IL_001f: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() + IL_0024: nop + IL_0025: ret + } // end of method Int32ValidatorAttribute::.ctor + + // method line 52 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 minValue, int32 maxValue) cil managed + { + // Method begins at RVA 0x2832 + // Code size 52 (0x34) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 -2147483648 + IL_0006: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue + IL_000b: ldarg.0 + IL_000c: ldc.i4 2147483647 + IL_0011: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue + IL_0016: ldarg.0 + IL_0017: ldc.i4.s 0x0a + IL_0019: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base + IL_001e: ldarg.0 + IL_001f: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() + IL_0024: nop + IL_0025: ldarg.0 + IL_0026: ldarg.1 + IL_0027: call instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::set_MinValue(int32) + IL_002c: ldarg.0 + IL_002d: ldarg.2 + IL_002e: call instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::set_MaxValue(int32) + IL_0033: ret + } // end of method Int32ValidatorAttribute::.ctor + + // method line 53 .method public hidebysig specialname - instance default class NAnt.Core.Types.Option get_Current () cil managed + instance default int32 get_MinValue () cil managed { - // Method begins at RVA 0x28a0 - // Code size 25 (0x19) + // Method begins at RVA 0x2868 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.Option V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.Option - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method OptionEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Int32ValidatorAttribute::get_MinValue - // method line 65 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 54 + .method public hidebysig specialname + instance default void set_MinValue (int32 'value') cil managed { - // Method begins at RVA 0x28c8 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0x2883 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method OptionEnumerator::System.Collections.IEnumerator.get_Current + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue + IL_0008: ret + } // end of method Int32ValidatorAttribute::set_MinValue - // method line 66 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 55 + .method public hidebysig specialname + instance default int32 get_MaxValue () cil managed { - // Method begins at RVA 0x28e8 - // Code size 20 (0x14) + // Method begins at RVA 0x2890 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method OptionEnumerator::MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Int32ValidatorAttribute::get_MaxValue - // method line 67 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 56 + .method public hidebysig specialname + instance default void set_MaxValue (int32 'value') cil managed { - // Method begins at RVA 0x2908 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x28ab + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue + IL_0008: ret + } // end of method Int32ValidatorAttribute::set_MaxValue + + // method line 57 + .method public hidebysig specialname + instance default int32 get_Base () cil managed + { + // Method begins at RVA 0x28b8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method OptionEnumerator::System.Collections.IEnumerator.MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Int32ValidatorAttribute::get_Base - // method line 68 - .method public hidebysig - instance default void Reset () cil managed + // method line 58 + .method public hidebysig specialname + instance default void set_Base (int32 'value') cil managed { - // Method begins at RVA 0x2928 - // Code size 13 (0xd) + // Method begins at RVA 0x28d3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method OptionEnumerator::Reset + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base + IL_0008: ret + } // end of method Int32ValidatorAttribute::set_Base - // method line 69 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + // method line 59 + .method public virtual hidebysig + instance default void Validate (object 'value') cil managed { - // Method begins at RVA 0x2936 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x28e0 + // Code size 173 (0xad) + .maxstack 5 + .locals init ( + int32 V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method OptionEnumerator::System.Collections.IEnumerator.Reset + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: isinst [mscorlib]System.String + IL_0008: brfalse IL_0026 - .property instance object System.Collections.IEnumerator.Current () + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: castclass [mscorlib]System.String + IL_0014: ldarg.0 + IL_0015: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_Base() + IL_001a: call int32 class [mscorlib]System.Convert::ToInt32(string, int32) + IL_001f: stloc.0 + IL_0020: nop + IL_0021: br IL_0034 + + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002d: call int32 class [mscorlib]System.Convert::ToInt32(object, class [mscorlib]System.IFormatProvider) + IL_0032: stloc.0 + IL_0033: nop + IL_0034: nop + IL_0035: leave IL_005d + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_003a: stloc.1 + IL_003b: nop + IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0041: ldstr "NA1091" + IL_0046: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004b: ldarg.1 + IL_004c: callvirt instance string object::ToString() + IL_0051: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0056: ldloc.1 + IL_0057: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) + IL_005c: throw + } // end handler 0 + IL_005d: ldloc.0 + IL_005e: ldarg.0 + IL_005f: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MinValue() + IL_0064: blt IL_0075 + + IL_0069: ldloc.0 + IL_006a: ldarg.0 + IL_006b: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MaxValue() + IL_0070: ble IL_00ac + + IL_0075: nop + IL_0076: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007b: ldstr "NA1090" + IL_0080: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0085: ldarg.1 + IL_0086: callvirt instance string object::ToString() + IL_008b: ldarg.0 + IL_008c: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MinValue() + IL_0091: box [mscorlib]System.Int32 + IL_0096: ldarg.0 + IL_0097: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MaxValue() + IL_009c: box [mscorlib]System.Int32 + IL_00a1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_00a6: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string) + IL_00ab: throw + IL_00ac: ret + } // end of method Int32ValidatorAttribute::Validate + + .property instance int32 MinValue () { - .get instance default object NAnt.Core.Types.OptionEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default int32 NAnt.Core.Attributes.Int32ValidatorAttribute::get_MinValue () + .set instance default void NAnt.Core.Attributes.Int32ValidatorAttribute::set_MinValue (int32 'value') } - .property instance class NAnt.Core.Types.Option Current () + .property instance int32 MaxValue () { - .get instance default class NAnt.Core.Types.Option NAnt.Core.Types.OptionEnumerator::get_Current () + .get instance default int32 NAnt.Core.Attributes.Int32ValidatorAttribute::get_MaxValue () + .set instance default void NAnt.Core.Attributes.Int32ValidatorAttribute::set_MaxValue (int32 'value') } - } // end of class NAnt.Core.Types.OptionEnumerator + .property instance int32 Base () + { + .get instance default int32 NAnt.Core.Attributes.Int32ValidatorAttribute::get_Base () + .set instance default void NAnt.Core.Attributes.Int32ValidatorAttribute::set_Base (int32 'value') + } + } // end of class NAnt.Core.Attributes.Int32ValidatorAttribute } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit PatternSet - extends NAnt.Core.DataTypeBase + .class public auto ansi abstract beforefieldinit BuildAttributeAttribute + extends [mscorlib]System.Attribute { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 01 ) // ited. - .field private initonly class NAnt.Core.Types.PatternCollection _include - .field private initonly class NAnt.Core.Types.PatternCollection _exclude - .field private initonly class NAnt.Core.Types.PatternCollection _includesFile - .field private initonly class NAnt.Core.Types.PatternCollection _excludesFile + .field private string _name + .field private bool _required + .field private bool _expandProperties + .field private bool _processXml - // method line 70 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 60 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x542e - // Code size 52 (0x34) + // Method begins at RVA 0x255c + // Code size 29 (0x1d) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_0006: nop + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_expandProperties IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_000d: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include - IL_0012: ldarg.0 - IL_0013: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_0018: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_0023: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile - IL_0028: ldarg.0 - IL_0029: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_002e: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile - IL_0033: ret - } // end of method PatternSet::.ctor + IL_0008: ldc.i4.1 + IL_0009: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_processXml + IL_000e: ldarg.0 + IL_000f: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0014: nop + IL_0015: ldarg.0 + IL_0016: ldarg.1 + IL_0017: call instance void class NAnt.Core.Attributes.BuildAttributeAttribute::set_Name(string) + IL_001c: ret + } // end of method BuildAttributeAttribute::.ctor - // method line 71 + // method line 61 .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_Include () cil managed + instance default string get_Name () cil managed { - // Method begins at RVA 0x5464 + // Method begins at RVA 0x257c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include + IL_0002: ldfld string NAnt.Core.Attributes.BuildAttributeAttribute::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternSet::get_Include + } // end of method BuildAttributeAttribute::get_Name - // method line 72 + // method line 62 .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_IncludesFile () cil managed + instance default void set_Name (string 'value') cil managed + { + // Method begins at RVA 0x2598 + // Code size 66 (0x42) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 + + IL_0007: nop + IL_0008: ldstr "name" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance string string::Trim() + IL_001a: stfld string NAnt.Core.Attributes.BuildAttributeAttribute::_name + IL_001f: ldarg.0 + IL_0020: ldfld string NAnt.Core.Attributes.BuildAttributeAttribute::_name + IL_0025: callvirt instance int32 string::get_Length() + IL_002a: brtrue IL_0041 + + IL_002f: nop + IL_0030: ldstr "name" + IL_0035: ldarg.1 + IL_0036: ldstr "A zero-length string is not an allowed value." + IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_0040: throw + IL_0041: ret + } // end of method BuildAttributeAttribute::set_Name + + // method line 63 + .method public hidebysig specialname + instance default bool get_Required () cil managed { - // Method begins at RVA 0x5480 + // Method begins at RVA 0x25e8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile + IL_0002: ldfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_required IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternSet::get_IncludesFile + } // end of method BuildAttributeAttribute::get_Required - // method line 73 + // method line 64 .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_Exclude () cil managed + instance default void set_Required (bool 'value') cil managed + { + // Method begins at RVA 0x2603 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_required + IL_0008: ret + } // end of method BuildAttributeAttribute::set_Required + + // method line 65 + .method public hidebysig specialname + instance default bool get_ExpandProperties () cil managed { - // Method begins at RVA 0x549c + // Method begins at RVA 0x2610 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude + IL_0002: ldfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_expandProperties IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternSet::get_Exclude + } // end of method BuildAttributeAttribute::get_ExpandProperties - // method line 74 + // method line 66 .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_ExcludesFile () cil managed + instance default void set_ExpandProperties (bool 'value') cil managed + { + // Method begins at RVA 0x262b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_expandProperties + IL_0008: ret + } // end of method BuildAttributeAttribute::set_ExpandProperties + + // method line 67 + .method public hidebysig specialname + instance default bool get_ProcessXml () cil managed { - // Method begins at RVA 0x54b8 + // Method begins at RVA 0x2638 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile + IL_0002: ldfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_processXml IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternSet::get_ExcludesFile + } // end of method BuildAttributeAttribute::get_ProcessXml - // method line 75 - .method public hidebysig - instance default void Append (class NAnt.Core.Types.PatternSet patternSet) cil managed + // method line 68 + .method public hidebysig specialname + instance default void set_ProcessXml (bool 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. - - // Method begins at RVA 0x54d4 - // Code size 134 (0x86) - .maxstack 3 - .locals init ( - string[] V_0, - string V_1, - string[] V_2, - int32 V_3, - string[] V_4, - string V_5, - string[] V_6, - int32 V_7) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetIncludePatterns() - IL_0007: stloc.0 - IL_0008: nop - IL_0009: ldloc.0 - IL_000a: stloc.2 - IL_000b: ldc.i4.0 - IL_000c: stloc.3 - IL_000d: br IL_0034 - - IL_0012: ldloc.2 - IL_0013: ldloc.3 - IL_0014: ldelem.ref - IL_0015: stloc.1 - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include - IL_001d: ldarg.0 - IL_001e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0023: ldloc.1 - IL_0024: newobj instance void class NAnt.Core.Types.Pattern::'.ctor'(class NAnt.Core.Project, string) - IL_0029: callvirt instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_002e: pop - IL_002f: nop - 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_0012 - - IL_003d: ldarg.1 - IL_003e: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetExcludePatterns() - IL_0043: stloc.s 4 - IL_0045: nop - IL_0046: ldloc.s 4 - IL_0048: stloc.s 6 - IL_004a: ldc.i4.0 - IL_004b: stloc.s 7 - IL_004d: br IL_007a - - IL_0052: ldloc.s 6 - IL_0054: ldloc.s 7 - IL_0056: ldelem.ref - IL_0057: stloc.s 5 - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude - IL_0060: ldarg.0 - IL_0061: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0066: ldloc.s 5 - IL_0068: newobj instance void class NAnt.Core.Types.Pattern::'.ctor'(class NAnt.Core.Project, string) - IL_006d: callvirt instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_0072: pop - IL_0073: nop - IL_0074: ldloc.s 7 - IL_0076: ldc.i4.1 - IL_0077: add - IL_0078: stloc.s 7 - IL_007a: ldloc.s 7 - IL_007c: ldloc.s 6 - IL_007e: ldlen - IL_007f: conv.i4 - IL_0080: blt IL_0052 - - IL_0085: ret - } // end of method PatternSet::Append - - // method line 76 - .method public hidebysig - instance default string[] GetIncludePatterns () cil managed - { - // Method begins at RVA 0x5568 - // Code size 301 (0x12d) - .maxstack 3 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - class NAnt.Core.Types.Pattern V_1, - class NAnt.Core.Types.PatternEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.Core.Types.Pattern V_4, - class NAnt.Core.Types.PatternEnumerator V_5, - string V_6, - class [mscorlib]System.IDisposable V_7, - string[] V_8) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Include() - IL_0007: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() - IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0011: stloc.0 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Include() - IL_0019: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_001e: stloc.2 - .try { // 0 - IL_001f: br IL_004b - - IL_0024: ldloc.2 - IL_0025: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_002a: stloc.1 - IL_002b: nop - IL_002c: ldloc.1 - IL_002d: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0032: brtrue IL_003d - - IL_0037: nop - IL_0038: leave IL_004b - - IL_003d: ldloc.0 - IL_003e: ldloc.1 - IL_003f: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0049: pop - IL_004a: nop - IL_004b: ldloc.2 - IL_004c: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_0051: brtrue IL_0024 - - IL_0056: leave IL_006f - - } // end .try 0 - finally { // 0 - IL_005b: ldloc.2 - IL_005c: isinst [mscorlib]System.IDisposable - IL_0061: dup - IL_0062: stloc.3 - IL_0063: brfalse IL_006e - - IL_0068: ldloc.3 - IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_006e: endfinally - } // end handler 0 - IL_006f: nop - IL_0070: ldarg.0 - IL_0071: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_IncludesFile() - IL_0076: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_007b: stloc.s 5 - .try { // 1 - IL_007d: br IL_00e6 - - IL_0082: ldloc.s 5 - IL_0084: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_0089: stloc.s 4 - IL_008b: nop - IL_008c: ldloc.s 4 - IL_008e: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0093: brtrue IL_009e - - IL_0098: nop - IL_0099: leave IL_00e6 - - IL_009e: ldarg.0 - IL_009f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00a4: ldloc.s 4 - IL_00a6: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_00ab: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_00b0: stloc.s 6 - IL_00b2: ldloc.s 6 - IL_00b4: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00b9: brtrue IL_00dc - - IL_00be: nop - IL_00bf: ldstr "Includesfile '" - IL_00c4: ldloc.s 6 - IL_00c6: ldstr "' not found." - IL_00cb: call string string::Concat(string, string, string) - IL_00d0: ldarg.0 - IL_00d1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00db: throw - IL_00dc: ldarg.0 - IL_00dd: ldloc.s 6 - IL_00df: ldloc.0 - IL_00e0: call instance void class NAnt.Core.Types.PatternSet::ReadPatterns(string, class [mscorlib]System.Collections.ArrayList) - IL_00e5: nop - IL_00e6: ldloc.s 5 - IL_00e8: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_00ed: brtrue IL_0082 - - IL_00f2: leave IL_010e - - } // end .try 1 - finally { // 1 - IL_00f7: ldloc.s 5 - IL_00f9: isinst [mscorlib]System.IDisposable - IL_00fe: dup - IL_00ff: stloc.s 7 - IL_0101: brfalse IL_010d - - IL_0106: ldloc.s 7 - IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010d: endfinally - } // end handler 1 - IL_010e: ldloc.0 - IL_010f: ldtoken [mscorlib]System.String - IL_0114: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0119: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_011e: castclass string[] - IL_0123: stloc.s 8 - IL_0125: br IL_012a - - IL_012a: ldloc.s 8 - IL_012c: ret - } // end of method PatternSet::GetIncludePatterns - - // method line 77 - .method public hidebysig - instance default string[] GetExcludePatterns () cil managed - { - // Method begins at RVA 0x56c0 - // Code size 301 (0x12d) - .maxstack 3 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - class NAnt.Core.Types.Pattern V_1, - class NAnt.Core.Types.PatternEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.Core.Types.Pattern V_4, - class NAnt.Core.Types.PatternEnumerator V_5, - string V_6, - class [mscorlib]System.IDisposable V_7, - string[] V_8) + // Method begins at RVA 0x2653 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Exclude() - IL_0007: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() - IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0011: stloc.0 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Exclude() - IL_0019: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_001e: stloc.2 - .try { // 0 - IL_001f: br IL_004b - - IL_0024: ldloc.2 - IL_0025: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_002a: stloc.1 - IL_002b: nop - IL_002c: ldloc.1 - IL_002d: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0032: brtrue IL_003d - - IL_0037: nop - IL_0038: leave IL_004b - - IL_003d: ldloc.0 - IL_003e: ldloc.1 - IL_003f: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0049: pop - IL_004a: nop - IL_004b: ldloc.2 - IL_004c: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_0051: brtrue IL_0024 - - IL_0056: leave IL_006f - - } // end .try 0 - finally { // 0 - IL_005b: ldloc.2 - IL_005c: isinst [mscorlib]System.IDisposable - IL_0061: dup - IL_0062: stloc.3 - IL_0063: brfalse IL_006e - - IL_0068: ldloc.3 - IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_006e: endfinally - } // end handler 0 - IL_006f: nop - IL_0070: ldarg.0 - IL_0071: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_ExcludesFile() - IL_0076: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_007b: stloc.s 5 - .try { // 1 - IL_007d: br IL_00e6 - - IL_0082: ldloc.s 5 - IL_0084: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_0089: stloc.s 4 - IL_008b: nop - IL_008c: ldloc.s 4 - IL_008e: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0093: brtrue IL_009e - - IL_0098: nop - IL_0099: leave IL_00e6 - - IL_009e: ldarg.0 - IL_009f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00a4: ldloc.s 4 - IL_00a6: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_00ab: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_00b0: stloc.s 6 - IL_00b2: ldloc.s 6 - IL_00b4: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00b9: brtrue IL_00dc - - IL_00be: nop - IL_00bf: ldstr "Excludesfile '" - IL_00c4: ldloc.s 6 - IL_00c6: ldstr "' not found." - IL_00cb: call string string::Concat(string, string, string) - IL_00d0: ldarg.0 - IL_00d1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00db: throw - IL_00dc: ldarg.0 - IL_00dd: ldloc.s 6 - IL_00df: ldloc.0 - IL_00e0: call instance void class NAnt.Core.Types.PatternSet::ReadPatterns(string, class [mscorlib]System.Collections.ArrayList) - IL_00e5: nop - IL_00e6: ldloc.s 5 - IL_00e8: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_00ed: brtrue IL_0082 - - IL_00f2: leave IL_010e - - } // end .try 1 - finally { // 1 - IL_00f7: ldloc.s 5 - IL_00f9: isinst [mscorlib]System.IDisposable - IL_00fe: dup - IL_00ff: stloc.s 7 - IL_0101: brfalse IL_010d - - IL_0106: ldloc.s 7 - IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010d: endfinally - } // end handler 1 - IL_010e: ldloc.0 - IL_010f: ldtoken [mscorlib]System.String - IL_0114: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0119: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_011e: castclass string[] - IL_0123: stloc.s 8 - IL_0125: br IL_012a - - IL_012a: ldloc.s 8 - IL_012c: ret - } // end of method PatternSet::GetExcludePatterns - - // method line 78 - .method private hidebysig - instance default void ReadPatterns (string fileName, class [mscorlib]System.Collections.ArrayList patterns) cil managed - { - // Method begins at RVA 0x5818 - // Code size 104 (0x68) - .maxstack 3 - .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_0007: ldc.i4.1 - IL_0008: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_000d: stloc.0 - .try { // 0 - IL_000e: nop - IL_000f: ldloc.0 - IL_0010: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0015: stloc.1 - IL_0016: br IL_004e - - IL_001b: nop - IL_001c: ldloc.1 - IL_001d: callvirt instance string string::Trim() - IL_0022: stloc.1 - IL_0023: ldloc.1 - IL_0024: callvirt instance int32 string::get_Length() - IL_0029: brfalse IL_0046 - - IL_002e: ldloc.1 - IL_002f: ldc.i4.0 - IL_0030: callvirt instance char string::get_Chars(int32) - IL_0035: ldc.i4.s 0x23 - IL_0037: beq IL_0046 - - IL_003c: nop - IL_003d: ldarg.2 - IL_003e: ldloc.1 - IL_003f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0044: pop - IL_0045: nop - IL_0046: ldloc.0 - IL_0047: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_004c: stloc.1 - IL_004d: nop - IL_004e: ldloc.1 - IL_004f: brtrue IL_001b - - IL_0054: nop - IL_0055: leave IL_0067 - - } // end .try 0 - finally { // 0 - IL_005a: ldloc.0 - IL_005b: brfalse IL_0066 - - IL_0060: ldloc.0 - IL_0061: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0066: endfinally - } // end handler 0 - IL_0067: ret - } // end of method PatternSet::ReadPatterns + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_processXml + IL_0008: ret + } // end of method BuildAttributeAttribute::set_ProcessXml - .property instance class NAnt.Core.Types.PatternCollection Include () + .property instance string Name () { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_Include () + .get instance default string NAnt.Core.Attributes.BuildAttributeAttribute::get_Name () + .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_Name (string 'value') } - .property instance class NAnt.Core.Types.PatternCollection IncludesFile () + .property instance bool Required () { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 0C 69 6E 63 6C 75 64 65 73 66 69 6C 65 00 // ...includesfile. - 00 ) // . - - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_IncludesFile () + .get instance default bool NAnt.Core.Attributes.BuildAttributeAttribute::get_Required () + .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_Required (bool 'value') } - .property instance class NAnt.Core.Types.PatternCollection Exclude () + .property instance bool ExpandProperties () { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. - - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_Exclude () + .get instance default bool NAnt.Core.Attributes.BuildAttributeAttribute::get_ExpandProperties () + .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_ExpandProperties (bool 'value') } - .property instance class NAnt.Core.Types.PatternCollection ExcludesFile () + .property instance bool ProcessXml () { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 0C 65 78 63 6C 75 64 65 73 66 69 6C 65 00 // ...excludesfile. - 00 ) // . - - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_ExcludesFile () + .get instance default bool NAnt.Core.Attributes.BuildAttributeAttribute::get_ProcessXml () + .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_ProcessXml (bool 'value') } - } // end of class NAnt.Core.Types.PatternSet + } // end of class NAnt.Core.Attributes.BuildAttributeAttribute } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi serializable beforefieldinit XsltParameterCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit LoadTasksTask + extends NAnt.Core.Task { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 09 6C 6F 61 64 74 61 73 6B 73 00 00 ) // ...loadtasks.. + .field private class [mscorlib]System.IO.FileInfo _assembly + .field private class [mscorlib]System.IO.DirectoryInfo _path + .field private class NAnt.Core.Types.FileSet _fileset - // method line 79 + // method line 69 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x589c - // Code size 8 (0x8) + // Method begins at RVA 0x5a72 + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method XsltParameterCollection::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method LoadTasksTask::.ctor - // method line 80 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection 'value') cil managed + // method line 70 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed { - // Method begins at RVA 0x58a5 + // Method begins at RVA 0x5a88 // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XsltParameterCollection::AddRange(class NAnt.Core.Types.XsltParameterCollection) - IL_000e: ret - } // end of method XsltParameterCollection::.ctor + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadTasksTask::_assembly + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 81 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltParameter[] 'value') cil managed - { - // Method begins at RVA 0x58b5 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XsltParameterCollection::AddRange(class NAnt.Core.Types.XsltParameter[]) + IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltParameterCollection::.ctor + } // end of method LoadTasksTask::get_AssemblyPath - // method line 82 + // method line 71 .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameter get_Item (int32 index) cil managed + instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x58c8 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.Core.Types.XsltParameter V_0) + // Method begins at RVA 0x5aa3 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.XsltParameter - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method XsltParameterCollection::get_Item + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadTasksTask::_assembly + IL_0008: ret + } // end of method LoadTasksTask::set_AssemblyPath - // method line 83 + // method line 72 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.XsltParameter 'value') cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Path () cil managed { - // Method begins at RVA 0x58ee + // Method begins at RVA 0x5ab0 // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method XsltParameterCollection::set_Item - - // method line 84 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameter get_Item (string 'value') cil managed - { - // Method begins at RVA 0x5900 - // Code size 111 (0x6f) - .maxstack 2 - .locals init ( - class NAnt.Core.Types.XsltParameter V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.XsltParameter V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 - - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.XsltParameter - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.Core.Element::get_Name() - IL_002d: ldarg.1 - IL_002e: call bool string::op_Equality(string, string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d - - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a - - IL_004c: leave IL_0065 - - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 - - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d - - IL_006d: ldloc.2 - IL_006e: ret - } // end of method XsltParameterCollection::get_Item - - // method line 85 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.XsltParameter item) cil managed - { - // Method begins at RVA 0x598c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XsltParameterCollection::Add - - // method line 86 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltParameter[] items) cil managed - { - // Method begins at RVA 0x59b0 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.XsltParameterCollection::Add(class NAnt.Core.Types.XsltParameter) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 - - IL_0021: ret - } // end of method XsltParameterCollection::AddRange - - // method line 87 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltParameterCollection items) cil managed - { - // Method begins at RVA 0x59e0 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.XsltParameter class NAnt.Core.Types.XsltParameterCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.XsltParameterCollection::Add(class NAnt.Core.Types.XsltParameter) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method XsltParameterCollection::AddRange - - // method line 88 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.XsltParameter item) cil managed - { - // Method begins at RVA 0x5a18 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XsltParameterCollection::Contains - - // method line 89 - .method public hidebysig - instance default bool Contains (string 'value') cil managed - { - // Method begins at RVA 0x5a3c - // Code size 22 (0x16) - .maxstack 2 + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.XsltParameter class NAnt.Core.Types.XsltParameterCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 - - IL_0014: ldloc.0 - IL_0015: ret - } // end of method XsltParameterCollection::Contains + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::_path + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 90 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.XsltParameter[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x5a5e - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltParameterCollection::CopyTo - - // method line 91 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.XsltParameter item) cil managed - { - // Method begins at RVA 0x5a70 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XsltParameterCollection::IndexOf + } // end of method LoadTasksTask::get_Path - // method line 92 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.XsltParameter item) cil managed + // method line 73 + .method public hidebysig specialname + instance default void set_Path (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x5a91 - // Code size 15 (0xf) + // Method begins at RVA 0x5acb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method XsltParameterCollection::Insert + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::_path + IL_0008: ret + } // end of method LoadTasksTask::set_Path - // method line 93 - .method public hidebysig - instance default class NAnt.Core.Types.XsltParameterEnumerator GetEnumerator () cil managed + // method line 74 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_TaskFileSet () cil managed { - // Method begins at RVA 0x5aa4 + // Method begins at RVA 0x5ad8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltParameterEnumerator V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.XsltParameterEnumerator::'.ctor'(class NAnt.Core.Types.XsltParameterCollection) + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltParameterCollection::GetEnumerator + } // end of method LoadTasksTask::get_TaskFileSet - // method line 94 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.XsltParameter item) cil managed + // method line 75 + .method public hidebysig specialname + instance default void set_TaskFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x5abf - // Code size 14 (0xe) + // Method begins at RVA 0x5af3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method XsltParameterCollection::Remove - - .property instance class NAnt.Core.Types.XsltParameter Item (int32) - { - .get instance default class NAnt.Core.Types.XsltParameter NAnt.Core.Types.XsltParameterCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.XsltParameterCollection::set_Item (int32 index, class NAnt.Core.Types.XsltParameter 'value') - } - .property instance class NAnt.Core.Types.XsltParameter Item (string) - { - .get instance default class NAnt.Core.Types.XsltParameter NAnt.Core.Types.XsltParameterCollection::get_Item (string 'value') - } - } // end of class NAnt.Core.Types.XsltParameterCollection -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit XsltParameterEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 95 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection arguments) cil managed - { - // Method begins at RVA 0x5ad0 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator - IL_0015: ret - } // end of method XsltParameterEnumerator::.ctor + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset + IL_0008: ret + } // end of method LoadTasksTask::set_TaskFileSet - // method line 96 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameter get_Current () cil managed + // method line 76 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x5af4 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x5b00 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 559 (0x22f) + .maxstack 5 .locals init ( - class NAnt.Core.Types.XsltParameter V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.Exception V_2, + string V_3, + class [mscorlib]System.IDisposable V_4, + string V_5, + class [System]System.Collections.Specialized.StringEnumerator V_6, + class [mscorlib]System.Exception V_7, + class [mscorlib]System.IDisposable V_8) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.XsltParameter - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method XsltParameterEnumerator::get_Current + IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - // method line 97 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x5b1c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() + IL_0018: ldarg.0 + IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() + IL_0034: brfalse IL_0098 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.get_Current + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() + IL_0040: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0045: brtrue IL_0076 - // method line 98 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x5b3c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_004a: nop + IL_004b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0050: ldstr "NA1132" + IL_0055: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_005a: ldarg.0 + IL_005b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() + IL_0060: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_006a: ldarg.0 + IL_006b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0070: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0075: throw + IL_0076: ldarg.0 + IL_0077: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() + IL_007c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0081: ldarg.0 + IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() + IL_0087: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_008c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0091: pop + IL_0092: nop + IL_0093: br IL_00f8 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XsltParameterEnumerator::MoveNext + IL_0098: ldarg.0 + IL_0099: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() + IL_009e: brfalse IL_00f8 - // method line 99 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x5b5c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00a3: nop + IL_00a4: ldarg.0 + IL_00a5: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() + IL_00aa: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_00af: brtrue IL_00db - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.MoveNext + IL_00b4: nop + IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ba: ldstr "NA1131" + IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00c4: ldarg.0 + IL_00c5: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() + IL_00ca: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00cf: ldarg.0 + IL_00d0: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00d5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00da: throw + IL_00db: ldarg.0 + IL_00dc: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() + IL_00e1: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_00e6: ldarg.0 + IL_00e7: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() + IL_00ec: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00f1: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00f6: pop + IL_00f7: nop + IL_00f8: nop + IL_00f9: ldarg.0 + IL_00fa: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() + IL_00ff: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0104: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0109: stloc.1 + .try { // 1 + IL_010a: br IL_017d - // method line 100 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x5b7c - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XsltParameterEnumerator::Reset + IL_010f: ldloc.1 + IL_0110: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0115: stloc.0 + IL_0116: nop + .try { // 0 + IL_0117: nop + IL_0118: ldloc.0 + IL_0119: ldarg.0 + IL_011a: call bool class NAnt.Core.TypeFactory::ScanAssembly(string, class NAnt.Core.Task) + IL_011f: pop + IL_0120: nop + IL_0121: leave IL_017c - // method line 101 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0126: stloc.2 + IL_0127: nop + IL_0128: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_012d: ldstr "NA1130" + IL_0132: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0137: ldloc.0 + IL_0138: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_013d: stloc.3 + IL_013e: ldarg.0 + IL_013f: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0144: brfalse IL_0158 + + IL_0149: nop + IL_014a: ldloc.3 + IL_014b: ldarg.0 + IL_014c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0151: ldloc.2 + IL_0152: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0157: throw + IL_0158: nop + IL_0159: ldarg.0 + IL_015a: ldc.i4 5000 + IL_015f: ldloc.3 + IL_0160: ldstr " " + IL_0165: ldloc.2 + IL_0166: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_016b: call string string::Concat(string, string, string) + IL_0170: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0175: nop + IL_0176: nop + IL_0177: leave IL_017c + + } // end handler 0 + IL_017c: nop + IL_017d: ldloc.1 + IL_017e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0183: brtrue IL_010f + + IL_0188: leave IL_01a3 + + } // end .try 1 + finally { // 1 + IL_018d: ldloc.1 + IL_018e: isinst [mscorlib]System.IDisposable + IL_0193: dup + IL_0194: stloc.s 4 + IL_0196: brfalse IL_01a2 + + IL_019b: ldloc.s 4 + IL_019d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01a2: endfinally + } // end handler 1 + IL_01a3: nop + IL_01a4: ldarg.0 + IL_01a5: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() + IL_01aa: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_01af: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_01b4: stloc.s 6 + .try { // 4 + IL_01b6: br IL_0206 + + IL_01bb: ldloc.s 6 + IL_01bd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_01c2: stloc.s 5 + IL_01c4: nop + .try { // 2 + IL_01c5: nop + IL_01c6: ldloc.s 5 + IL_01c8: ldarg.0 + IL_01c9: ldarg.0 + IL_01ca: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_01cf: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) + IL_01d4: nop + IL_01d5: leave IL_0205 + + } // end .try 2 + catch class NAnt.Core.BuildException { // 2 + IL_01da: pop + IL_01db: nop + IL_01dc: rethrow + } // end handler 2 + catch class [mscorlib]System.Exception { // 3 + IL_01de: stloc.s 7 + IL_01e0: nop + IL_01e1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01e6: ldstr "NA1130" + IL_01eb: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01f0: ldloc.s 5 + IL_01f2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01f7: ldarg.0 + IL_01f8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_01fd: ldloc.s 7 + IL_01ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0204: throw + } // end handler 3 + IL_0205: nop + IL_0206: ldloc.s 6 + IL_0208: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_020d: brtrue IL_01bb + + IL_0212: leave IL_022e + + } // end .try 4 + finally { // 4 + IL_0217: ldloc.s 6 + IL_0219: isinst [mscorlib]System.IDisposable + IL_021e: dup + IL_021f: stloc.s 8 + IL_0221: brfalse IL_022d + + IL_0226: ldloc.s 8 + IL_0228: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_022d: endfinally + } // end handler 4 + IL_022e: ret + } // end of method LoadTasksTask::ExecuteTask + + // method line 77 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x5b8a - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x5d7c + // Code size 42 (0x2a) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.Reset + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() + IL_0007: brfalse IL_0029 - .property instance object System.Collections.IEnumerator.Current () + IL_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() + IL_0012: brfalse IL_0029 + + IL_0017: nop + IL_0018: ldstr "Both asssembly and path attributes are set. Use one or the other." + IL_001d: ldarg.0 + IL_001e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0023: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0028: throw + IL_0029: ret + } // end of method LoadTasksTask::Initialize + + .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () { - .get instance default object NAnt.Core.Types.XsltParameterEnumerator::System.Collections.IEnumerator.get_Current () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 61 73 73 65 6D 62 6C 79 00 00 ) // ...assembly.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath () + .set instance default void NAnt.Core.Tasks.LoadTasksTask::set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class NAnt.Core.Types.XsltParameter Current () + .property instance class [mscorlib]System.IO.DirectoryInfo Path () { - .get instance default class NAnt.Core.Types.XsltParameter NAnt.Core.Types.XsltParameterEnumerator::get_Current () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::get_Path () + .set instance default void NAnt.Core.Tasks.LoadTasksTask::set_Path (class [mscorlib]System.IO.DirectoryInfo 'value') } - } // end of class NAnt.Core.Types.XsltParameterEnumerator + .property instance class NAnt.Core.Types.FileSet TaskFileSet () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet () + .set instance default void NAnt.Core.Tasks.LoadTasksTask::set_TaskFileSet (class NAnt.Core.Types.FileSet 'value') + } + } // end of class NAnt.Core.Tasks.LoadTasksTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi serializable beforefieldinit ArgumentCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit FailTask + extends NAnt.Core.Task { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 66 61 69 6C 00 00 ) // ...fail.. + .field private string _message + .field private string _contents - // method line 102 + // method line 78 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x5b98 - // Code size 8 (0x8) + // Method begins at RVA 0x5da7 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method ArgumentCollection::.ctor + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method FailTask::.ctor - // method line 103 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection 'value') cil managed + // method line 79 + .method public hidebysig specialname + instance default string get_Message () cil managed { - // Method begins at RVA 0x5ba1 + // Method begins at RVA 0x5db0 // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.ArgumentCollection) - IL_000e: ret - } // end of method ArgumentCollection::.ctor + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.FailTask::_message + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 104 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.Argument[] 'value') cil managed - { - // Method begins at RVA 0x5bb1 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) + IL_000d: ldloc.0 IL_000e: ret - } // end of method ArgumentCollection::.ctor + } // end of method FailTask::get_Message - // method line 105 + // method line 80 .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Item (int32 index) cil managed + instance default void set_Message (string 'value') cil managed { - // Method begins at RVA 0x5bc4 - // Code size 26 (0x1a) + // Method begins at RVA 0x5dcc + // Code size 72 (0x48) .maxstack 2 - .locals init ( - class NAnt.Core.Types.Argument V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.Argument - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0001: ldarg.1 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_003e - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ArgumentCollection::get_Item + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance string class NAnt.Core.Tasks.FailTask::get_Contents() + IL_0013: call bool string::IsNullOrEmpty(string) + IL_0018: brtrue IL_002f - // method line 106 + IL_001d: nop + IL_001e: ldstr "Inline content and the message attribute are mutually exclusive in the task." + IL_0023: ldarg.0 + IL_0024: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0029: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) + IL_002e: throw + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldarg.1 + IL_0032: stfld string NAnt.Core.Tasks.FailTask::_message + IL_0037: nop + IL_0038: nop + IL_0039: br IL_0047 + + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: ldnull + IL_0041: stfld string NAnt.Core.Tasks.FailTask::_message + IL_0046: nop + IL_0047: ret + } // end of method FailTask::set_Message + + // method line 81 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Argument 'value') cil managed + instance default string get_Contents () cil managed { - // Method begins at RVA 0x5bea + // Method begins at RVA 0x5e20 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_0002: ldfld string NAnt.Core.Tasks.FailTask::_contents + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method ArgumentCollection::set_Item + } // end of method FailTask::get_Contents - // method line 107 + // method line 82 .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Item (string 'value') cil managed + instance default void set_Contents (string 'value') cil managed { - // Method begins at RVA 0x5bfc - // Code size 111 (0x6f) + // Method begins at RVA 0x5e3c + // Code size 72 (0x48) .maxstack 2 - .locals init ( - class NAnt.Core.Types.Argument V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.Argument V_2, - class [mscorlib]System.IDisposable V_3) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 - - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.Argument - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.Core.Types.Argument::get_StringValue() - IL_002d: ldarg.1 - IL_002e: call bool string::op_Equality(string, string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d - - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a - - IL_004c: leave IL_0065 - - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 - - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_003e - IL_006d: ldloc.2 - IL_006e: ret - } // end of method ArgumentCollection::get_Item + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance string class NAnt.Core.Tasks.FailTask::get_Message() + IL_0013: call bool string::IsNullOrEmpty(string) + IL_0018: brtrue IL_002f - // method line 108 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x5c88 - // Code size 28 (0x1c) - .maxstack 2 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1) - IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) - IL_000e: ldloc.0 - IL_000f: callvirt instance string object::ToString() - IL_0014: stloc.1 - IL_0015: br IL_001a + IL_001d: nop + IL_001e: ldstr "Inline content and the message attribute are mutually exclusive in the task." + IL_0023: ldarg.0 + IL_0024: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0029: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) + IL_002e: throw + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldarg.1 + IL_0032: stfld string NAnt.Core.Tasks.FailTask::_contents + IL_0037: nop + IL_0038: nop + IL_0039: br IL_0047 - IL_001a: ldloc.1 - IL_001b: ret - } // end of method ArgumentCollection::ToString + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: ldnull + IL_0041: stfld string NAnt.Core.Tasks.FailTask::_contents + IL_0046: nop + IL_0047: ret + } // end of method FailTask::set_Contents - // method line 109 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Argument item) cil managed + // method line 83 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x5cb0 - // Code size 21 (0x15) + // Method begins at RVA 0x5e90 + // Code size 82 (0x52) .maxstack 2 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: call instance string class NAnt.Core.Tasks.FailTask::get_Message() + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: brtrue IL_001f - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ArgumentCollection::Add + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance string class NAnt.Core.Tasks.FailTask::get_Message() + IL_0018: stloc.0 + IL_0019: nop + IL_001a: br IL_0045 - // method line 110 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Argument[] items) cil managed - { - // Method begins at RVA 0x5cd4 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_001f: ldarg.0 + IL_0020: call instance string class NAnt.Core.Tasks.FailTask::get_Contents() + IL_0025: call bool string::IsNullOrEmpty(string) + IL_002a: brtrue IL_003d - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.ArgumentCollection::Add(class NAnt.Core.Types.Argument) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: call instance string class NAnt.Core.Tasks.FailTask::get_Contents() + IL_0036: stloc.0 + IL_0037: nop + IL_0038: br IL_0045 - IL_0021: ret - } // end of method ArgumentCollection::AddRange + IL_003d: nop + IL_003e: ldstr "No message." + IL_0043: stloc.0 + IL_0044: nop + IL_0045: ldloc.0 + IL_0046: ldarg.0 + IL_0047: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_004c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0051: throw + } // end of method FailTask::ExecuteTask - // method line 111 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.ArgumentCollection items) cil managed + // method line 84 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x5d04 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.ArgumentCollection::Add(class NAnt.Core.Types.Argument) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method ArgumentCollection::AddRange - - // method line 112 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Argument item) cil managed - { - // Method begins at RVA 0x5d3c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x5eee + // Code size 36 (0x24) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldarg.0 + IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0008: ldarg.0 + IL_0009: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_000e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_0013: ldarg.0 + IL_0014: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0019: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) + IL_001e: call instance void class NAnt.Core.Tasks.FailTask::set_Contents(string) + IL_0023: ret + } // end of method FailTask::Initialize - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ArgumentCollection::Contains + .property instance string Message () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. - // method line 113 - .method public hidebysig - instance default bool Contains (string 'value') cil managed - { - // Method begins at RVA 0x5d60 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + .get instance default string NAnt.Core.Tasks.FailTask::get_Message () + .set instance default void NAnt.Core.Tasks.FailTask::set_Message (string 'value') + } + .property instance string Contents () + { + .get instance default string NAnt.Core.Tasks.FailTask::get_Contents () + .set instance default void NAnt.Core.Tasks.FailTask::set_Contents (string 'value') + } + } // end of class NAnt.Core.Tasks.FailTask +} - IL_0014: ldloc.0 - IL_0015: ret - } // end of method ArgumentCollection::Contains +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit TouchTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 74 6F 75 63 68 00 00 ) // ...touch.. - // method line 114 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Argument[] 'array', int32 index) cil managed + .field private class [mscorlib]System.IO.FileInfo _file + .field private int64 _millis + .field private valuetype [mscorlib]System.DateTime _datetime + .field private class NAnt.Core.Types.FileSet _fileset + + // method line 85 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x5d82 - // Code size 15 (0xf) + // Method begins at RVA 0x5f13 + // Code size 18 (0x12) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method ArgumentCollection::CopyTo + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::_fileset + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method TouchTask::.ctor - // method line 115 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Argument item) cil managed + // method line 86 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x5d94 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x5f28 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::_file + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ArgumentCollection::IndexOf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TouchTask::get_File - // method line 116 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Argument item) cil managed + // method line 87 + .method public hidebysig specialname + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x5db5 - // Code size 15 (0xf) + // Method begins at RVA 0x5f43 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method ArgumentCollection::Insert + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::_file + IL_0008: ret + } // end of method TouchTask::set_File - // method line 117 - .method public hidebysig - instance default class NAnt.Core.Types.ArgumentEnumerator GetEnumerator () cil managed + // method line 88 + .method public hidebysig specialname + instance default int64 get_Millis () cil managed { - // Method begins at RVA 0x5dc8 + // Method begins at RVA 0x5f50 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.ArgumentEnumerator V_0) + int64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.ArgumentEnumerator::'.ctor'(class NAnt.Core.Types.ArgumentCollection) + IL_0002: ldfld int64 NAnt.Core.Tasks.TouchTask::_millis IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ArgumentCollection::GetEnumerator + } // end of method TouchTask::get_Millis - // method line 118 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Argument item) cil managed + // method line 89 + .method public hidebysig specialname + instance default void set_Millis (int64 'value') cil managed { - // Method begins at RVA 0x5de3 - // Code size 14 (0xe) + // Method begins at RVA 0x5f6b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method ArgumentCollection::Remove - - // method line 119 - .method assembly hidebysig - instance default void ToString (class [mscorlib]System.Text.StringBuilder sb) cil managed - { - // Method begins at RVA 0x5df4 - // Code size 120 (0x78) - .maxstack 2 - .locals init ( - class NAnt.Core.Types.Argument V_0, - class NAnt.Core.Types.ArgumentEnumerator V_1, - class [mscorlib]System.IDisposable V_2) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.Core.Types.ArgumentEnumerator class NAnt.Core.Types.ArgumentCollection::GetEnumerator() - IL_0008: stloc.1 - .try { // 0 - IL_0009: br IL_0053 - - IL_000e: ldloc.1 - IL_000f: callvirt instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentEnumerator::get_Current() - IL_0014: stloc.0 - IL_0015: nop - IL_0016: ldloc.0 - IL_0017: callvirt instance bool class NAnt.Core.Types.Argument::get_IfDefined() - IL_001c: brfalse IL_0052 - - IL_0021: ldloc.0 - IL_0022: callvirt instance bool class NAnt.Core.Types.Argument::get_UnlessDefined() - IL_0027: brtrue IL_0052 - - IL_002c: nop - IL_002d: ldarg.1 - IL_002e: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0033: ldc.i4.0 - IL_0034: ble IL_0044 - - IL_0039: nop - IL_003a: ldarg.1 - IL_003b: ldc.i4.s 0x20 - IL_003d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0042: pop - IL_0043: nop - IL_0044: ldarg.1 - IL_0045: ldloc.0 - IL_0046: callvirt instance string object::ToString() - IL_004b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0050: pop - IL_0051: nop - IL_0052: nop - IL_0053: ldloc.1 - IL_0054: callvirt instance bool class NAnt.Core.Types.ArgumentEnumerator::MoveNext() - IL_0059: brtrue IL_000e - - IL_005e: leave IL_0077 - - } // end .try 0 - finally { // 0 - IL_0063: ldloc.1 - IL_0064: isinst [mscorlib]System.IDisposable - IL_0069: dup - IL_006a: stloc.2 - IL_006b: brfalse IL_0076 - - IL_0070: ldloc.2 - IL_0071: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0076: endfinally - } // end handler 0 - IL_0077: ret - } // end of method ArgumentCollection::ToString - - .property instance class NAnt.Core.Types.Argument Item (int32) - { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.ArgumentCollection::set_Item (int32 index, class NAnt.Core.Types.Argument 'value') - } - .property instance class NAnt.Core.Types.Argument Item (string) - { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentCollection::get_Item (string 'value') - } - } // end of class NAnt.Core.Types.ArgumentCollection -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit ArgumentEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 120 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection arguments) cil managed - { - // Method begins at RVA 0x5e88 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0015: ret - } // end of method ArgumentEnumerator::.ctor + IL_0002: ldarg.1 + IL_0003: stfld int64 NAnt.Core.Tasks.TouchTask::_millis + IL_0008: ret + } // end of method TouchTask::set_Millis - // method line 121 + // method line 90 .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Current () cil managed - { - // Method begins at RVA 0x5eac - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.Argument V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.Argument - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ArgumentEnumerator::get_Current - - // method line 122 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + instance default valuetype [mscorlib]System.DateTime get_Datetime () cil managed { - // Method begins at RVA 0x5ed4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x5f78 + // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::_datetime + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TouchTask::get_Datetime - // method line 123 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 91 + .method public hidebysig specialname + instance default void set_Datetime (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x5ef4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x5f93 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ArgumentEnumerator::MoveNext + IL_0002: ldarg.1 + IL_0003: stfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::_datetime + IL_0008: ret + } // end of method TouchTask::set_Datetime - // method line 124 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 92 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_TouchFileSet () cil managed { - // Method begins at RVA 0x5f14 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x5fa0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::_fileset + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TouchTask::get_TouchFileSet - // method line 125 - .method public hidebysig - instance default void Reset () cil managed + // method line 93 + .method public hidebysig specialname + instance default void set_TouchFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x5f34 - // Code size 13 (0xd) + // Method begins at RVA 0x5fbb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ArgumentEnumerator::Reset + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::_fileset + IL_0008: ret + } // end of method TouchTask::set_TouchFileSet - // method line 126 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + // method line 94 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x5f42 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x5fc8 + // Code size 104 (0x68) + .maxstack 2 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.Reset + IL_0002: call instance int64 class NAnt.Core.Tasks.TouchTask::get_Millis() + IL_0007: ldc.i4.0 + IL_0008: conv.i8 + IL_0009: beq IL_0035 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.Types.ArgumentEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.Types.Argument Current () - { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentEnumerator::get_Current () - } - } // end of class NAnt.Core.Types.ArgumentEnumerator -} + IL_000e: ldarg.0 + IL_000f: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::get_Datetime() + IL_0014: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue + IL_0019: call bool valuetype [mscorlib]System.DateTime::op_Inequality(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_001e: brfalse IL_0035 -.namespace NAnt.Core.Types -{ - .class public auto ansi serializable beforefieldinit Argument - extends NAnt.Core.Element - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + IL_0023: nop + IL_0024: ldstr "Cannot specify 'millis' and 'datetime' in the same task." + IL_0029: ldarg.0 + IL_002a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_002f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0034: throw + IL_0035: ldarg.0 + IL_0036: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.TouchTask::get_File() + IL_003b: brfalse IL_0067 - .field private class [mscorlib]System.IO.FileInfo _file - .field private class [mscorlib]System.IO.DirectoryInfo _directory - .field private class NAnt.Core.Types.PathSet _path - .field private string _value - .field private string _line - .field private bool _ifDefined - .field private bool _unlessDefined + IL_0040: ldarg.0 + IL_0041: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() + IL_0046: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_004b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0050: brfalse IL_0067 - // method line 127 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x5f50 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Argument::.ctor + IL_0055: nop + IL_0056: ldstr "Cannot specify both 'file' attribute and use in the same task." + IL_005b: ldarg.0 + IL_005c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0061: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0066: throw + IL_0067: ret + } // end of method TouchTask::Initialize - // method line 128 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string 'value') cil managed + // method line 95 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x5f60 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld string NAnt.Core.Types.Argument::_value - IL_0015: ret - } // end of method Argument::.ctor - - // method line 129 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x5f77 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file - IL_0015: ret - } // end of method Argument::.ctor - - // method line 130 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.PathSet 'value') cil managed - { - // Method begins at RVA 0x5f8e - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0015: ret - } // end of method Argument::.ctor - - // method line 131 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x5fa8 - // Code size 170 (0xaa) - .maxstack 1 + // Method begins at RVA 0x603c + // Code size 230 (0xe6) + .maxstack 3 .locals init ( - string V_0) + valuetype [mscorlib]System.DateTime V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0007: brfalse IL_0023 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0018: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_001d: stloc.0 - IL_001e: br IL_00a8 - - IL_0023: ldarg.0 - IL_0024: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0029: brfalse IL_0045 - - IL_002e: nop - IL_002f: ldarg.0 - IL_0030: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0035: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003a: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_003f: stloc.0 - IL_0040: br IL_00a8 + IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() + IL_000d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0012: brtrue IL_0034 - IL_0045: ldarg.0 - IL_0046: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_004b: brfalse IL_0067 + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() + IL_001e: ldarg.0 + IL_001f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0024: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0029: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_002e: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0033: nop + IL_0034: ldarg.0 + IL_0035: call instance int64 class NAnt.Core.Tasks.TouchTask::get_Millis() + IL_003a: ldc.i4.0 + IL_003b: conv.i8 + IL_003c: beq IL_0055 - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_0057: callvirt instance string object::ToString() - IL_005c: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_0061: stloc.0 - IL_0062: br IL_00a8 + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: ldarg.0 + IL_0044: call instance int64 class NAnt.Core.Tasks.TouchTask::get_Millis() + IL_0049: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::GetDateTime(int64) + IL_004e: stloc.0 + IL_004f: nop + IL_0050: br IL_0073 - IL_0067: ldarg.0 - IL_0068: call instance string class NAnt.Core.Types.Argument::get_Value() - IL_006d: brfalse IL_0084 + IL_0055: ldarg.0 + IL_0056: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::get_Datetime() + IL_005b: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue + IL_0060: call bool valuetype [mscorlib]System.DateTime::op_Inequality(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0065: brfalse IL_0073 + IL_006a: nop + IL_006b: ldarg.0 + IL_006c: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::get_Datetime() + IL_0071: stloc.0 IL_0072: nop IL_0073: ldarg.0 - IL_0074: call instance string class NAnt.Core.Types.Argument::get_Value() - IL_0079: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_007e: stloc.0 - IL_007f: br IL_00a8 + IL_0074: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.TouchTask::get_File() + IL_0079: brfalse IL_0097 - IL_0084: ldarg.0 - IL_0085: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_008a: brfalse IL_009c + IL_007e: nop + IL_007f: ldarg.0 + IL_0080: ldarg.0 + IL_0081: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.TouchTask::get_File() + IL_0086: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_008b: ldloc.0 + IL_008c: call instance void class NAnt.Core.Tasks.TouchTask::TouchFile(string, valuetype [mscorlib]System.DateTime) + IL_0091: nop + IL_0092: br IL_00e5 - IL_008f: nop - IL_0090: ldarg.0 - IL_0091: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_0096: stloc.0 - IL_0097: br IL_00a8 + IL_0097: nop + IL_0098: nop + IL_0099: ldarg.0 + IL_009a: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() + IL_009f: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_00a4: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00a9: stloc.2 + .try { // 0 + IL_00aa: br IL_00c0 - IL_009c: nop - IL_009d: ldsfld string [mscorlib]System.String::Empty - IL_00a2: stloc.0 - IL_00a3: br IL_00a8 + IL_00af: ldloc.2 + IL_00b0: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00b5: stloc.1 + IL_00b6: nop + IL_00b7: ldarg.0 + IL_00b8: ldloc.1 + IL_00b9: ldloc.0 + IL_00ba: call instance void class NAnt.Core.Tasks.TouchTask::TouchFile(string, valuetype [mscorlib]System.DateTime) + IL_00bf: nop + IL_00c0: ldloc.2 + IL_00c1: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00c6: brtrue IL_00af - IL_00a8: ldloc.0 - IL_00a9: ret - } // end of method Argument::ToString + IL_00cb: leave IL_00e4 - // method line 132 - .method public hidebysig specialname - instance default string get_Value () cil managed - { - // Method begins at RVA 0x6060 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Argument::_value - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_00d0: ldloc.2 + IL_00d1: isinst [mscorlib]System.IDisposable + IL_00d6: dup + IL_00d7: stloc.3 + IL_00d8: brfalse IL_00e3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_Value + IL_00dd: ldloc.3 + IL_00de: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00e3: endfinally + } // end handler 0 + IL_00e4: nop + IL_00e5: ret + } // end of method TouchTask::ExecuteTask - // method line 133 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + // method line 96 + .method private hidebysig + instance default void TouchFile (string path, valuetype [mscorlib]System.DateTime touchDateTime) cil managed { - // Method begins at RVA 0x607b - // Code size 9 (0x9) + // Method begins at RVA 0x6140 + // Code size 229 (0xe5) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Argument::_value - IL_0008: ret - } // end of method Argument::set_Value - - // method line 134 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed - { - // Method begins at RVA 0x6088 - // Code size 15 (0xf) - .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [mscorlib]System.IO.FileStream V_0, + class [mscorlib]System.Exception V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + .try { // 1 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0008: brfalse IL_003d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_File + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldc.i4 2000 + IL_0014: ldstr "Touching file '{0}' with '{1}'." + IL_0019: ldc.i4.2 + IL_001a: newarr [mscorlib]System.Object + IL_001f: dup + IL_0020: ldc.i4.0 + IL_0021: ldarg.1 + IL_0022: stelem.ref + IL_0023: dup + IL_0024: ldc.i4.1 + IL_0025: ldarga.s 2 + IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002c: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_0031: stelem.ref + IL_0032: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0037: nop + IL_0038: br IL_0083 - // method line 135 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x60a3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file - IL_0008: ret - } // end of method Argument::set_File + IL_003d: nop + IL_003e: ldarg.0 + IL_003f: ldc.i4 2000 + IL_0044: ldstr "Creating file '{0}' with '{1}'." + IL_0049: ldc.i4.2 + IL_004a: newarr [mscorlib]System.Object + IL_004f: dup + IL_0050: ldc.i4.0 + IL_0051: ldarg.1 + IL_0052: stelem.ref + IL_0053: dup + IL_0054: ldc.i4.1 + IL_0055: ldarga.s 2 + IL_0057: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005c: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_0061: stelem.ref + IL_0062: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0067: ldarg.1 + IL_0068: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::Create(string) + IL_006d: stloc.0 + .try { // 0 + IL_006e: nop + IL_006f: nop + IL_0070: leave IL_0082 - // method line 136 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed - { - // Method begins at RVA 0x60b0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::_directory - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_0075: ldloc.0 + IL_0076: brfalse IL_0081 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_Directory + IL_007b: ldloc.0 + IL_007c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0081: endfinally + } // end handler 0 + IL_0082: nop + IL_0083: ldarg.1 + IL_0084: ldarg.2 + IL_0085: call void class [mscorlib]System.IO.File::SetLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_008a: nop + IL_008b: leave IL_00e4 - // method line 137 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x60cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::_directory - IL_0008: ret - } // end of method Argument::set_Directory + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_0090: stloc.1 + IL_0091: nop + IL_0092: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0097: ldstr "NA1152" + IL_009c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00a1: ldarg.1 + IL_00a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00a7: stloc.2 + IL_00a8: ldarg.0 + IL_00a9: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_00ae: brfalse IL_00c2 - // method line 138 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed + IL_00b3: nop + IL_00b4: ldloc.2 + IL_00b5: ldarg.0 + IL_00b6: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00bb: ldloc.1 + IL_00bc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00c1: throw + IL_00c2: ldarg.0 + IL_00c3: ldc.i4 2000 + IL_00c8: ldloc.2 + IL_00c9: ldstr " " + IL_00ce: ldloc.1 + IL_00cf: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_00d4: call string string::Concat(string, string, string) + IL_00d9: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_00de: nop + IL_00df: leave IL_00e4 + + } // end handler 1 + IL_00e4: ret + } // end of method TouchTask::TouchFile + + // method line 97 + .method private hidebysig + instance default valuetype [mscorlib]System.DateTime GetDateTime (int64 milliSeconds) cil managed { - // Method begins at RVA 0x60d8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6250 + // Code size 39 (0x27) + .maxstack 2 .locals init ( - class NAnt.Core.Types.PathSet V_0) + valuetype [mscorlib]System.DateTime V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldstr "01/01/1970 00:00:00" + IL_0006: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000b: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Parse(string, class [mscorlib]System.IFormatProvider) + IL_0010: stloc.0 + IL_0011: ldloca.s 0 + IL_0013: ldarg.1 + IL_0014: conv.r8 + IL_0015: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMilliseconds(float64) + IL_001a: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Add(valuetype [mscorlib]System.TimeSpan) + IL_001f: stloc.1 + IL_0020: br IL_0025 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_Path + IL_0025: ldloc.1 + IL_0026: ret + } // end of method TouchTask::GetDateTime - // method line 139 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + .property instance class [mscorlib]System.IO.FileInfo File () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::get_File () + .set instance default void NAnt.Core.Tasks.TouchTask::set_File (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance int64 Millis () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6D 69 6C 6C 69 73 00 00 ) // ...millis.. + + .get instance default int64 NAnt.Core.Tasks.TouchTask::get_Millis () + .set instance default void NAnt.Core.Tasks.TouchTask::set_Millis (int64 'value') + } + .property instance valuetype [mscorlib]System.DateTime Datetime () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 64 61 74 65 74 69 6D 65 00 00 ) // ...datetime.. + + .custom instance void class NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::get_Datetime () + .set instance default void NAnt.Core.Tasks.TouchTask::set_Datetime (valuetype [mscorlib]System.DateTime 'value') + } + .property instance class NAnt.Core.Types.FileSet TouchFileSet () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::get_TouchFileSet () + .set instance default void NAnt.Core.Tasks.TouchTask::set_TouchFileSet (class NAnt.Core.Types.FileSet 'value') + } + } // end of class NAnt.Core.Tasks.TouchTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit ChooseTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 63 68 6F 6F 73 65 00 00 ) // ...choose.. + + .field private class [mscorlib]System.Collections.Generic.List`1 _elementContainers + + // method line 98 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x60f3 - // Code size 38 (0x26) + // Method begins at RVA 0x6283 + // Code size 18 (0x12) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0007: brfalse IL_001e - - IL_000c: nop - IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001d: throw - IL_001e: ldarg.0 - IL_001f: ldarg.1 - IL_0020: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0025: ret - } // end of method Argument::set_Path + 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 NAnt.Core.Tasks.ChooseTask::_elementContainers + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method ChooseTask::.ctor - // method line 140 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed + // method line 99 + .method private hidebysig specialname + instance default bool get_IsFallbackDefined () cil managed { - // Method begins at RVA 0x611c - // Code size 15 (0xf) + // Method begins at RVA 0x6298 + // Code size 88 (0x58) .maxstack 1 .locals init ( - class NAnt.Core.Types.PathSet V_0) + class NAnt.Core.ElementContainer V_0, + valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_1, + bool V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers + IL_0008: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_0030 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_PathSet + IL_0013: ldloca.s 1 + IL_0015: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() + IL_001a: stloc.0 + IL_001b: nop + IL_001c: ldloc.0 + IL_001d: isinst NAnt.Core.Tasks.ChooseTask/When + IL_0022: brtrue IL_002f - // method line 141 - .method public hidebysig specialname - instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed + IL_0027: nop + IL_0028: ldc.i4.1 + IL_0029: stloc.2 + IL_002a: leave IL_0056 + + IL_002f: nop + IL_0030: ldloca.s 1 + IL_0032: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() + IL_0037: brtrue IL_0013 + + IL_003c: leave IL_004f + + } // end .try 0 + finally { // 0 + IL_0041: ldloca.s 1 + IL_0043: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator + IL_0049: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_004e: endfinally + } // end handler 0 + IL_004f: ldc.i4.0 + IL_0050: stloc.2 + IL_0051: br IL_0056 + + IL_0056: ldloc.2 + IL_0057: ret + } // end of method ChooseTask::get_IsFallbackDefined + + // method line 100 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x6137 - // Code size 38 (0x26) + // Method begins at RVA 0x630c + // Code size 112 (0x70) + .maxstack 1 + .locals init ( + class NAnt.Core.ElementContainer V_0, + valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_1, + class NAnt.Core.Tasks.ChooseTask/When V_2) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers + IL_0008: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_0050 + + IL_0013: ldloca.s 1 + IL_0015: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() + IL_001a: stloc.0 + IL_001b: nop + IL_001c: ldloc.0 + IL_001d: isinst NAnt.Core.Tasks.ChooseTask/When + IL_0022: stloc.2 + IL_0023: ldloc.2 + IL_0024: brfalse IL_0047 + + IL_0029: nop + IL_002a: ldloc.2 + IL_002b: callvirt instance bool class NAnt.Core.Tasks.ChooseTask/When::get_Test() + IL_0030: brfalse IL_0041 + + IL_0035: nop + IL_0036: ldloc.2 + IL_0037: callvirt instance void class NAnt.Core.ElementContainer::Execute() + IL_003c: leave IL_005c + + IL_0041: nop + IL_0042: br IL_004f + + IL_0047: nop + IL_0048: ldloc.0 + IL_0049: callvirt instance void class NAnt.Core.ElementContainer::Execute() + IL_004e: nop + IL_004f: nop + IL_0050: ldloca.s 1 + IL_0052: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() + IL_0057: brtrue IL_0013 + + IL_005c: leave IL_006f + + } // end .try 0 + finally { // 0 + IL_0061: ldloca.s 1 + IL_0063: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator + IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_006e: endfinally + } // end handler 0 + IL_006f: ret + } // end of method ChooseTask::ExecuteTask + + // method line 101 + .method public hidebysig + instance default void AddCondition (class NAnt.Core.Tasks.ChooseTask/When when) cil managed + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 04 77 68 65 6E 01 00 54 02 08 52 65 71 75 // ...when..T..Requ + 69 72 65 64 01 ) // ired. + + // Method begins at RVA 0x6398 + // Code size 59 (0x3b) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0002: call instance bool class NAnt.Core.Tasks.ChooseTask::get_IsFallbackDefined() + IL_0007: brfalse IL_002e + + IL_000c: nop + IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0012: ldstr "The element must be defined as the last nested element in the <{0} ... /> task." + IL_0017: ldarg.0 + IL_0018: callvirt instance string class NAnt.Core.Element::get_Name() + IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0022: ldarg.0 + IL_0023: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_002d: throw + IL_002e: ldarg.0 + IL_002f: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers + IL_0034: ldarg.1 + IL_0035: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_003a: ret + } // end of method ChooseTask::AddCondition + + // method line 102 + .method public hidebysig + instance default void AddFallback (class NAnt.Core.ElementContainer fallback) cil managed + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 09 6F 74 68 65 72 77 69 73 65 00 00 ) // ...otherwise.. + + // Method begins at RVA 0x63d4 + // Code size 43 (0x2b) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Tasks.ChooseTask::get_IsFallbackDefined() IL_0007: brfalse IL_001e IL_000c: nop - IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." + IL_000d: ldstr "The element may only be defined once." IL_0012: ldarg.0 IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) IL_001d: throw IL_001e: ldarg.0 - IL_001f: ldarg.1 - IL_0020: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0025: ret - } // end of method Argument::set_PathSet + IL_001f: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers + IL_0024: ldarg.1 + IL_0025: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) + IL_002a: ret + } // end of method ChooseTask::AddFallback - // method line 142 + .property instance bool IsFallbackDefined () + { + .get instance default bool NAnt.Core.Tasks.ChooseTask::get_IsFallbackDefined () + } + .class nested public auto ansi beforefieldinit When + extends NAnt.Core.ElementContainer + { + .field private bool _test + + // method line 103 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x6693 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Tasks.ChooseTask/When::_test + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.ElementContainer::'.ctor'() + IL_000d: ret + } // end of method When::.ctor + + // method line 104 .method public hidebysig specialname - instance default string get_Line () cil managed + instance default bool get_Test () cil managed { - // Method begins at RVA 0x6160 + // Method begins at RVA 0x66a4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Argument::_line + IL_0002: ldfld bool NAnt.Core.Tasks.ChooseTask/When::_test IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_Line + } // end of method When::get_Test - // method line 143 + // method line 105 .method public hidebysig specialname - instance default void set_Line (string 'value') cil managed + instance default void set_Test (bool 'value') cil managed { - // Method begins at RVA 0x617b + // Method begins at RVA 0x66bf // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Argument::_line + IL_0003: stfld bool NAnt.Core.Tasks.ChooseTask/When::_test IL_0008: ret - } // end of method Argument::set_Line + } // end of method When::set_Test - // method line 144 + // method line 106 + .method public virtual hidebysig + instance default void Execute () cil managed + { + // Method begins at RVA 0x66c9 + // Code size 25 (0x19) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Tasks.ChooseTask/When::get_Test() + IL_0007: brtrue IL_0012 + + IL_000c: nop + IL_000d: br IL_0018 + + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.ElementContainer::Execute() + IL_0018: ret + } // end of method When::Execute + + .property instance bool Test () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 74 65 73 74 01 00 54 02 08 52 65 71 75 // ...test..T..Requ + 69 72 65 64 01 ) // ired. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.ChooseTask/When::get_Test () + .set instance default void NAnt.Core.Tasks.ChooseTask/When::set_Test (bool 'value') + } + } // end of class When + + } // end of class NAnt.Core.Tasks.ChooseTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit LoadFileTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 6C 6F 61 64 66 69 6C 65 00 00 ) // ...loadfile.. + + .field private class [mscorlib]System.IO.FileInfo _file + .field private class [mscorlib]System.Text.Encoding _encoding + .field private string _property + .field private class NAnt.Core.Filters.FilterChain _filterChain + + // method line 107 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x66e3 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method LoadFileTask::.ctor + + // method line 108 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x6188 + // Method begins at RVA 0x66ec // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Argument::_ifDefined + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadFileTask::_file IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_IfDefined + } // end of method LoadFileTask::get_File - // method line 145 + // method line 109 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x61a3 + // Method begins at RVA 0x6707 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Argument::_ifDefined + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadFileTask::_file IL_0008: ret - } // end of method Argument::set_IfDefined + } // end of method LoadFileTask::set_File - // method line 146 + // method line 110 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default string get_Property () cil managed { - // Method begins at RVA 0x61b0 + // Method begins at RVA 0x6714 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Argument::_unlessDefined + IL_0002: ldfld string NAnt.Core.Tasks.LoadFileTask::_property IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_UnlessDefined + } // end of method LoadFileTask::get_Property - // method line 147 + // method line 111 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0x61cb + // Method begins at RVA 0x672f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Argument::_unlessDefined + IL_0003: stfld string NAnt.Core.Tasks.LoadFileTask::_property IL_0008: ret - } // end of method Argument::set_UnlessDefined + } // end of method LoadFileTask::set_Property - // method line 148 - .method assembly hidebysig specialname - instance default string get_StringValue () cil managed + // method line 112 + .method public hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0x61d8 - // Code size 127 (0x7f) + // Method begins at RVA 0x673c + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0007: brfalse IL_001e - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0018: stloc.0 - IL_0019: br IL_007d - - IL_001e: ldarg.0 - IL_001f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0024: brfalse IL_003b - - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: stloc.0 - IL_0036: br IL_007d - - IL_003b: ldarg.0 - IL_003c: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_0041: brfalse IL_0058 + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.LoadFileTask::_encoding + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0046: nop - IL_0047: ldarg.0 - IL_0048: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_004d: callvirt instance string object::ToString() - IL_0052: stloc.0 - IL_0053: br IL_007d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoadFileTask::get_Encoding - IL_0058: ldarg.0 - IL_0059: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_005e: brfalse IL_0070 + // method line 113 + .method public hidebysig specialname + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + { + // Method begins at RVA 0x6757 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.LoadFileTask::_encoding + IL_0008: ret + } // end of method LoadFileTask::set_Encoding - IL_0063: nop - IL_0064: ldarg.0 - IL_0065: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_006a: stloc.0 - IL_006b: br IL_007d + // method line 114 + .method public hidebysig specialname + instance default class NAnt.Core.Filters.FilterChain get_FilterChain () cil managed + { + // Method begins at RVA 0x6764 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Filters.FilterChain V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::_filterChain + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0070: nop - IL_0071: ldarg.0 - IL_0072: call instance string class NAnt.Core.Types.Argument::get_Value() - IL_0077: stloc.0 - IL_0078: br IL_007d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoadFileTask::get_FilterChain - IL_007d: ldloc.0 - IL_007e: ret - } // end of method Argument::get_StringValue + // method line 115 + .method public hidebysig specialname + instance default void set_FilterChain (class NAnt.Core.Filters.FilterChain 'value') cil managed + { + // Method begins at RVA 0x677f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::_filterChain + IL_0008: ret + } // end of method LoadFileTask::set_FilterChain - // method line 149 - .method private static hidebysig - default string QuoteArgument (string argument) cil managed + // method line 116 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x6264 - // Code size 97 (0x61) + // Method begins at RVA 0x678c + // Code size 159 (0x9f) .maxstack 3 .locals init ( - string V_0) + string V_0, + class [mscorlib]System.IO.IOException V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "\"" - IL_0007: callvirt instance int32 string::IndexOf(string) - IL_000c: ldc.i4.m1 - IL_000d: ble IL_001a - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: stloc.0 - IL_0015: br IL_005f - - IL_001a: ldarg.0 - IL_001b: ldstr "'" - IL_0020: callvirt instance int32 string::IndexOf(string) - IL_0025: ldc.i4.m1 - IL_0026: bgt IL_003c - - IL_002b: ldarg.0 - IL_002c: ldstr " " - IL_0031: callvirt instance int32 string::IndexOf(string) - IL_0036: ldc.i4.m1 - IL_0037: ble IL_0057 - - IL_003c: nop - IL_003d: ldc.i4.s 0x22 - IL_003f: box [mscorlib]System.Char - IL_0044: ldarg.0 - IL_0045: ldc.i4.s 0x22 - IL_0047: box [mscorlib]System.Char - IL_004c: call string string::Concat(object, object, object) - IL_0051: stloc.0 - IL_0052: br IL_005f - - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: stloc.0 - IL_005a: br IL_005f + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_0038 - IL_005f: ldloc.0 - IL_0060: ret - } // end of method Argument::QuoteArgument + IL_0011: nop + IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() + IL_0017: ldstr "File '{0}' does not exist." + IL_001c: ldarg.0 + IL_001d: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() + IL_0022: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0027: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002c: ldarg.0 + IL_002d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0032: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0037: throw + IL_0038: ldnull + IL_0039: stloc.0 + .try { // 0 + IL_003a: nop + IL_003b: ldarg.0 + IL_003c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() + IL_0041: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0046: ldarg.0 + IL_0047: call instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.LoadFileTask::get_FilterChain() + IL_004c: ldarg.0 + IL_004d: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.LoadFileTask::get_Encoding() + IL_0052: call string class NAnt.Core.Util.FileUtils::ReadFile(string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding) + IL_0057: stloc.0 + IL_0058: nop + IL_0059: leave IL_008c - .property instance string Value () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. + } // end .try 0 + catch class [mscorlib]System.IO.IOException { // 0 + IL_005e: stloc.1 + IL_005f: nop + IL_0060: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0065: ldstr "NA1129" + IL_006a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_006f: ldarg.0 + IL_0070: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() + IL_0075: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_007a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_007f: ldarg.0 + IL_0080: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0085: ldloc.1 + IL_0086: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_008b: throw + } // end handler 0 + IL_008c: ldarg.0 + IL_008d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0092: ldarg.0 + IL_0093: call instance string class NAnt.Core.Tasks.LoadFileTask::get_Property() + IL_0098: ldloc.0 + IL_0099: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_009e: ret + } // end of method LoadFileTask::ExecuteTask - .get instance default string NAnt.Core.Types.Argument::get_Value () - .set instance default void NAnt.Core.Types.Argument::set_Value (string 'value') - } .property instance class [mscorlib]System.IO.FileInfo File () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ + 69 72 65 64 01 ) // ired. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::get_File () - .set instance default void NAnt.Core.Types.Argument::set_File (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadFileTask::get_File () + .set instance default void NAnt.Core.Tasks.LoadFileTask::set_File (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () + .property instance string Property () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::get_Directory () - .set instance default void NAnt.Core.Types.Argument::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.Core.Types.PathSet Path () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::get_Path () - .set instance default void NAnt.Core.Types.Argument::set_Path (class NAnt.Core.Types.PathSet 'value') - } - .property instance class NAnt.Core.Types.PathSet PathSet () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::get_PathSet () - .set instance default void NAnt.Core.Types.Argument::set_PathSet (class NAnt.Core.Types.PathSet 'value') - } - .property instance string Line () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6C 69 6E 65 00 00 ) // ...line.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - .get instance default string NAnt.Core.Types.Argument::get_Line () - .set instance default void NAnt.Core.Types.Argument::set_Line (string 'value') + .get instance default string NAnt.Core.Tasks.LoadFileTask::get_Property () + .set instance default void NAnt.Core.Tasks.LoadFileTask::set_Property (string 'value') } - .property instance bool IfDefined () + .property instance class [mscorlib]System.Text.Encoding Encoding () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. - .get instance default bool NAnt.Core.Types.Argument::get_IfDefined () - .set instance default void NAnt.Core.Types.Argument::set_IfDefined (bool 'value') + .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.LoadFileTask::get_Encoding () + .set instance default void NAnt.Core.Tasks.LoadFileTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') } - .property instance bool UnlessDefined () + .property instance class NAnt.Core.Filters.FilterChain FilterChain () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. - .get instance default bool NAnt.Core.Types.Argument::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Argument::set_UnlessDefined (bool 'value') - } - .property instance string StringValue () - { - .get instance default string NAnt.Core.Types.Argument::get_StringValue () + .get instance default class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::get_FilterChain () + .set instance default void NAnt.Core.Tasks.LoadFileTask::set_FilterChain (class NAnt.Core.Filters.FilterChain 'value') } - } // end of class NAnt.Core.Types.Argument + } // end of class NAnt.Core.Tasks.LoadFileTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi serializable beforefieldinit FileSet - extends NAnt.Core.DataTypeBase + .class public auto ansi beforefieldinit LoopTask + extends NAnt.Core.TaskContainer { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 66 6F 72 65 61 63 68 00 00 ) // ...foreach.. - .field private bool _hasScanned - .field private bool _defaultExcludes - .field private bool _failOnEmpty - .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory - .field private class NAnt.Core.DirectoryScanner _scanner - .field private class [System]System.Collections.Specialized.StringCollection _asis - .field private class NAnt.Core.PathScanner _pathFiles - .field private static initonly class [log4net]log4net.ILog logger + .field private string _prop + .field private string[] _props + .field private valuetype NAnt.Core.Tasks.LoopTask/LoopItem _loopItem + .field private valuetype NAnt.Core.Tasks.LoopTask/LoopTrim _loopTrim + .field private string _inAttribute + .field private string _delim + .field private class NAnt.Core.Tasks.InElement _inElement + .field private class NAnt.Core.TaskContainer _doStuff - // method line 150 + // method line 117 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x62d1 - // Code size 48 (0x30) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() - IL_000d: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0012: ldarg.0 - IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.Core.PathScanner::'.ctor'() - IL_0023: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles - IL_0028: ldarg.0 - IL_0029: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_002e: nop - IL_002f: ret - } // end of method FileSet::.ctor - - // method line 151 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed - { - // Method begins at RVA 0x6302 - // Code size 55 (0x37) + // Method begins at RVA 0x6b7b + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() - IL_000d: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0012: ldarg.0 - IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.Core.PathScanner::'.ctor'() - IL_0023: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles - IL_0028: ldarg.0 - IL_0029: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_002e: nop - IL_002f: ldarg.1 - IL_0030: ldarg.0 - IL_0031: callvirt instance void class NAnt.Core.Types.FileSet::CopyTo(class NAnt.Core.Types.FileSet) - IL_0036: ret - } // end of method FileSet::.ctor + IL_0008: call instance void class NAnt.Core.TaskContainer::'.ctor'() + IL_000d: ret + } // end of method LoopTask::.ctor - // method line 152 + // method line 118 .method public hidebysig specialname - instance default bool get_CaseSensitive () cil managed + instance default string get_Property () cil managed { - // Method begins at RVA 0x633c - // Code size 20 (0x14) + // Method begins at RVA 0x6b8c + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: callvirt instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_prop + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileSet::get_CaseSensitive + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoopTask::get_Property - // method line 153 + // method line 119 .method public hidebysig specialname - instance default void set_CaseSensitive (bool 'value') cil managed + instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0x635c - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x6ba8 + // Code size 104 (0x68) + .maxstack 4 + .locals init ( + string V_0, + string[] V_1, + int32 V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.Core.DirectoryScanner::set_CaseSensitive(bool) - IL_000d: ret - } // end of method FileSet::set_CaseSensitive + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.LoopTask::_prop + IL_0008: ldarg.0 + IL_0009: ldarg.0 + IL_000a: ldfld string NAnt.Core.Tasks.LoopTask::_prop + IL_000f: ldc.i4.s 0x2c + IL_0011: ldc.i4.0 + IL_0012: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0017: stfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_0023: stloc.1 + IL_0024: ldc.i4.0 + IL_0025: stloc.2 + IL_0026: br IL_005e - // method line 154 + IL_002b: ldloc.1 + IL_002c: ldloc.2 + IL_002d: ldelem.ref + IL_002e: stloc.0 + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0036: ldloc.0 + IL_0037: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_003c: brfalse IL_0059 + + IL_0041: nop + IL_0042: ldstr "Property is readonly! :" + IL_0047: ldloc.0 + IL_0048: call string string::Concat(string, string) + IL_004d: ldarg.0 + IL_004e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0053: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0058: throw + IL_0059: nop + IL_005a: ldloc.2 + IL_005b: ldc.i4.1 + IL_005c: add + IL_005d: stloc.2 + IL_005e: ldloc.2 + IL_005f: ldloc.1 + IL_0060: ldlen + IL_0061: conv.i4 + IL_0062: blt IL_002b + + IL_0067: ret + } // end of method LoopTask::set_Property + + // method line 120 .method public hidebysig specialname - instance default bool get_FailOnEmpty () cil managed + instance default valuetype NAnt.Core.Tasks.LoopTask/LoopItem get_ItemType () cil managed { - // Method begins at RVA 0x636c + // Method begins at RVA 0x6c1c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.Core.Tasks.LoopTask/LoopItem V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_failOnEmpty + IL_0002: ldfld valuetype NAnt.Core.Tasks.LoopTask/LoopItem NAnt.Core.Tasks.LoopTask::_loopItem IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_FailOnEmpty + } // end of method LoopTask::get_ItemType - // method line 155 + // method line 121 .method public hidebysig specialname - instance default void set_FailOnEmpty (bool 'value') cil managed + instance default void set_ItemType (valuetype NAnt.Core.Tasks.LoopTask/LoopItem 'value') cil managed { - // Method begins at RVA 0x6387 + // Method begins at RVA 0x6c37 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet::_failOnEmpty + IL_0003: stfld valuetype NAnt.Core.Tasks.LoopTask/LoopItem NAnt.Core.Tasks.LoopTask::_loopItem IL_0008: ret - } // end of method FileSet::set_FailOnEmpty + } // end of method LoopTask::set_ItemType - // method line 156 + // method line 122 .method public hidebysig specialname - instance default bool get_DefaultExcludes () cil managed + instance default valuetype NAnt.Core.Tasks.LoopTask/LoopTrim get_TrimType () cil managed { - // Method begins at RVA 0x6394 + // Method begins at RVA 0x6c44 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.Core.Tasks.LoopTask/LoopTrim V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0002: ldfld valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_DefaultExcludes + } // end of method LoopTask::get_TrimType - // method line 157 + // method line 123 .method public hidebysig specialname - instance default void set_DefaultExcludes (bool 'value') cil managed + instance default void set_TrimType (valuetype NAnt.Core.Tasks.LoopTask/LoopTrim 'value') cil managed { - // Method begins at RVA 0x63af + // Method begins at RVA 0x6c5f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0003: stfld valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim IL_0008: ret - } // end of method FileSet::set_DefaultExcludes + } // end of method LoopTask::set_TrimType - // method line 158 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + // method line 124 + .method public hidebysig specialname + instance default string get_Source () cil managed { - // Method begins at RVA 0x63bc - // Code size 127 (0x7f) - .maxstack 2 + // Method begins at RVA 0x6c6c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_0007: brtrue IL_0071 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance object class NAnt.Core.Element::get_Parent() - IL_0013: brfalse IL_004e - - IL_0018: ldtoken NAnt.Core.Types.FileSet - IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0022: ldarg.0 - IL_0023: call instance object class NAnt.Core.Element::get_Parent() - IL_0028: callvirt instance class [mscorlib]System.Type object::GetType() - IL_002d: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0032: brfalse IL_004e - - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: call instance object class NAnt.Core.Element::get_Parent() - IL_003e: castclass NAnt.Core.Types.FileSet - IL_0043: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0048: stloc.0 - IL_0049: br IL_007d - - IL_004e: ldarg.0 - IL_004f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0054: brfalse IL_0070 - - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0060: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0065: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_006a: stloc.0 - IL_006b: br IL_007d - - IL_0070: nop - IL_0071: ldarg.0 - IL_0072: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_0077: stloc.0 - IL_0078: br IL_007d + IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_inAttribute + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_007d: ldloc.0 - IL_007e: ret - } // end of method FileSet::get_BaseDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoopTask::get_Source - // method line 159 - .method public virtual hidebysig newslot specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 125 + .method public hidebysig specialname + instance default void set_Source (string 'value') cil managed { - // Method begins at RVA 0x6447 - // Code size 9 (0x9) + // Method begins at RVA 0x6c87 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_0008: ret - } // end of method FileSet::set_BaseDirectory + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.LoopTask::_inAttribute + IL_000d: ret + } // end of method LoopTask::set_Source - // method line 160 + // method line 126 .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Includes () cil managed + instance default string get_Delimiter () cil managed { - // Method begins at RVA 0x6454 - // Code size 20 (0x14) + // Method begins at RVA 0x6c98 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_delim + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileSet::get_Includes + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoopTask::get_Delimiter - // method line 161 + // method line 127 .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Excludes () cil managed + instance default void set_Delimiter (string 'value') cil managed { - // Method begins at RVA 0x6474 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + // Method begins at RVA 0x6cb3 + // Code size 42 (0x2a) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Excludes() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldarg.1 + IL_0002: brfalse IL_0012 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileSet::get_Excludes + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 string::get_Length() + IL_000d: brtrue IL_0020 - // method line 162 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_AsIs () cil managed - { - // Method begins at RVA 0x6494 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldnull + IL_0015: stfld string NAnt.Core.Tasks.LoopTask::_delim + IL_001a: nop + IL_001b: br IL_0029 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileSet::get_AsIs + IL_0020: nop + IL_0021: ldarg.0 + IL_0022: ldarg.1 + IL_0023: stfld string NAnt.Core.Tasks.LoopTask::_delim + IL_0028: nop + IL_0029: ret + } // end of method LoopTask::set_Delimiter - // method line 163 + // method line 128 .method public hidebysig specialname - instance default class NAnt.Core.PathScanner get_PathFiles () cil managed + instance default class NAnt.Core.Tasks.InElement get_InElement () cil managed { - // Method begins at RVA 0x64b0 + // Method begins at RVA 0x6ce0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.PathScanner V_0) + class NAnt.Core.Tasks.InElement V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_0002: ldfld class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::_inElement IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_PathFiles - - // method line 164 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_FileNames () cil managed - { - // Method begins at RVA 0x64cc - // Code size 39 (0x27) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() - IL_001f: stloc.0 - IL_0020: br IL_0025 - - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_FileNames + } // end of method LoopTask::get_InElement - // method line 165 + // method line 129 .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_DirectoryNames () cil managed + instance default void set_InElement (class NAnt.Core.Tasks.InElement 'value') cil managed { - // Method begins at RVA 0x6500 - // Code size 39 (0x27) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + // Method begins at RVA 0x6cfb + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_DirectoryNames() - IL_001f: stloc.0 - IL_0020: br IL_0025 - - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_DirectoryNames + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::_inElement + IL_0008: ret + } // end of method LoopTask::set_InElement - // method line 166 + // method line 130 .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_ScannedDirectories () cil managed + instance default class NAnt.Core.TaskContainer get_StuffToDo () cil managed { - // Method begins at RVA 0x6534 - // Code size 39 (0x27) + // Method begins at RVA 0x6d08 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + class NAnt.Core.TaskContainer V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_ScannedDirectories() - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_0002: ldfld class NAnt.Core.TaskContainer NAnt.Core.Tasks.LoopTask::_doStuff + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_ScannedDirectories + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoopTask::get_StuffToDo - // method line 167 + // method line 131 .method public hidebysig specialname - instance default void set_SetIncludes (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed + instance default void set_StuffToDo (class NAnt.Core.TaskContainer 'value') cil managed { - // Method begins at RVA 0x6567 + // Method begins at RVA 0x6d23 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet::set_IncludeElements(class NAnt.Core.Types.FileSet/Include[]) + IL_0003: stfld class NAnt.Core.TaskContainer NAnt.Core.Tasks.LoopTask::_doStuff IL_0008: ret - } // end of method FileSet::set_SetIncludes + } // end of method LoopTask::set_StuffToDo - // method line 168 - .method public hidebysig specialname - instance default void set_IncludeElements (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed + // method line 132 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x6574 - // Code size 239 (0xef) - .maxstack 4 + // Method begins at RVA 0x6d30 + // Code size 1480 (0x5c8) + .maxstack 5 .locals init ( - class NAnt.Core.Types.FileSet/Include V_0, - class NAnt.Core.Types.FileSet/Include[] V_1, - int32 V_2) + string[] V_0, + int32 V_1, + valuetype NAnt.Core.Tasks.LoopTask/LoopItem V_2, + class [mscorlib]System.IO.DirectoryInfo V_3, + class [mscorlib]System.IO.FileInfo[] V_4, + class [mscorlib]System.IO.FileInfo V_5, + class [mscorlib]System.IO.FileInfo[] V_6, + int32 V_7, + string V_8, + class [System]System.Collections.Specialized.StringEnumerator V_9, + class [mscorlib]System.IDisposable V_10, + class [mscorlib]System.IO.DirectoryInfo V_11, + class [mscorlib]System.IO.DirectoryInfo[] V_12, + class [mscorlib]System.IO.DirectoryInfo V_13, + class [mscorlib]System.IO.DirectoryInfo[] V_14, + int32 V_15, + string V_16, + class [System]System.Collections.Specialized.StringEnumerator V_17, + class [mscorlib]System.IDisposable V_18, + string V_19, + class [System]System.Collections.Specialized.StringEnumerator V_20, + class [mscorlib]System.IDisposable V_21, + string[] V_22, + string V_23, + string[] V_24, + int32 V_25, + int32 V_26) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: stloc.1 - IL_0004: ldc.i4.0 - IL_0005: stloc.2 - IL_0006: br IL_00e5 - - IL_000b: ldloc.1 - IL_000c: ldloc.2 - IL_000d: ldelem.ref + IL_0001: ldarg.0 + IL_0002: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_0007: ldlen + IL_0008: conv.i4 + IL_0009: newarr [mscorlib]System.String IL_000e: stloc.0 - IL_000f: nop - IL_0010: ldloc.0 - IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_IfDefined() - IL_0016: brfalse IL_00e0 - - IL_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() - IL_0021: brtrue IL_00e0 - - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance bool class NAnt.Core.Types.FileSet/Include::get_AsIs() - IL_002d: brfalse IL_006a + IL_000f: ldc.i4.0 + IL_0010: stloc.1 + IL_0011: br IL_0032 - IL_0032: nop - IL_0033: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0038: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003d: ldstr "Including AsIs=" - IL_0042: ldloc.0 - IL_0043: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_004d: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_0052: ldarg.0 - IL_0053: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() - IL_0058: ldloc.0 - IL_0059: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_005e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0063: pop - IL_0064: nop - IL_0065: br IL_00df + IL_0016: nop + IL_0017: ldloc.0 + IL_0018: ldloc.1 + IL_0019: ldarg.0 + IL_001a: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_001f: ldarg.0 + IL_0020: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_0025: ldloc.1 + IL_0026: ldelem.ref + IL_0027: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_002c: stelem.ref + IL_002d: nop + IL_002e: ldloc.1 + IL_002f: ldc.i4.1 + IL_0030: add + IL_0031: stloc.1 + IL_0032: ldloc.1 + IL_0033: ldloc.0 + IL_0034: ldlen + IL_0035: conv.i4 + IL_0036: blt IL_0016 - IL_006a: ldloc.0 - IL_006b: callvirt instance bool class NAnt.Core.Types.FileSet/Include::get_FromPath() - IL_0070: brfalse IL_00ac + .try { // 3 + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: call instance valuetype NAnt.Core.Tasks.LoopTask/LoopItem class NAnt.Core.Tasks.LoopTask::get_ItemType() + IL_0042: stloc.2 + IL_0043: ldloc.2 + IL_0044: ldc.i4.1 + IL_0045: sub + IL_0046: switch ( + IL_0060, + IL_01f7, + IL_04e4, + IL_0390) + IL_005b: br IL_058c - IL_0075: nop - IL_0076: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_007b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0080: ldstr "Including FromPath=" - IL_0085: ldloc.0 - IL_0086: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_008b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0090: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_0095: ldarg.0 - IL_0096: call instance class NAnt.Core.PathScanner class NAnt.Core.Types.FileSet::get_PathFiles() - IL_009b: ldloc.0 - IL_009c: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_00a1: callvirt instance void class NAnt.Core.PathScanner::Add(string) - IL_00a6: nop - IL_00a7: br IL_00df + IL_0060: ldarg.0 + IL_0061: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0066: call bool string::IsNullOrEmpty(string) + IL_006b: brfalse IL_009c - IL_00ac: nop - IL_00ad: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_00b2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00b7: ldstr "Including pattern" - IL_00bc: ldloc.0 - IL_00bd: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_00c2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00c7: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_00cc: ldarg.0 - IL_00cd: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_00d2: ldloc.0 - IL_00d3: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_00d8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00dd: pop - IL_00de: nop - IL_00df: nop - IL_00e0: nop - IL_00e1: ldloc.2 - IL_00e2: ldc.i4.1 - IL_00e3: add - IL_00e4: stloc.2 - IL_00e5: ldloc.2 - IL_00e6: ldloc.1 - IL_00e7: ldlen - IL_00e8: conv.i4 - IL_00e9: blt IL_000b + IL_0070: ldarg.0 + IL_0071: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() + IL_0076: brtrue IL_009c - IL_00ee: ret - } // end of method FileSet::set_IncludeElements + IL_007b: nop + IL_007c: ldstr "Invalid foreach" + IL_0081: ldarg.0 + IL_0082: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0087: ldstr "Nothing to work with...!" + IL_008c: ldstr "in" + IL_0091: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) + IL_0096: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_009b: throw + IL_009c: ldarg.0 + IL_009d: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_00a2: call bool string::IsNullOrEmpty(string) + IL_00a7: brtrue IL_0172 - // method line 169 - .method public hidebysig specialname - instance default void set_SetExcludes (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed - { - // Method begins at RVA 0x666f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet::set_ExcludeElements(class NAnt.Core.Types.FileSet/Exclude[]) - IL_0008: ret - } // end of method FileSet::set_SetExcludes + IL_00ac: nop + IL_00ad: ldarg.0 + IL_00ae: ldarg.0 + IL_00af: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00b4: ldarg.0 + IL_00b5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_00ba: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_00bf: call instance void class NAnt.Core.Tasks.LoopTask::set_Source(string) + IL_00c4: ldarg.0 + IL_00c5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_00ca: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00cf: brtrue IL_00fb - // method line 170 - .method public hidebysig specialname - instance default void set_ExcludeElements (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed - { - // Method begins at RVA 0x667c - // Code size 104 (0x68) - .maxstack 4 - .locals init ( - class NAnt.Core.Types.FileSet/Exclude V_0, - class NAnt.Core.Types.FileSet/Exclude[] V_1, - int32 V_2) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: stloc.1 - IL_0004: ldc.i4.0 - IL_0005: stloc.2 - IL_0006: br IL_005e + IL_00d4: nop + IL_00d5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00da: ldstr "NA1134" + IL_00df: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00e4: ldarg.0 + IL_00e5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_00ea: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00ef: ldarg.0 + IL_00f0: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00f5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00fa: throw + IL_00fb: ldarg.0 + IL_00fc: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_0101: ldlen + IL_0102: conv.i4 + IL_0103: ldc.i4.1 + IL_0104: beq IL_011b - IL_000b: ldloc.1 - IL_000c: ldloc.2 - IL_000d: ldelem.ref - IL_000e: stloc.0 - IL_000f: nop - IL_0010: ldloc.0 - IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_IfDefined() - IL_0016: brfalse IL_0059 + IL_0109: nop + IL_010a: ldstr "Only one property is valid for item=\"File\"" + IL_010f: ldarg.0 + IL_0110: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0115: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_011a: throw + IL_011b: ldarg.0 + IL_011c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0121: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0126: stloc.3 + IL_0127: ldloc.3 + IL_0128: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles() + IL_012d: stloc.s 4 + IL_012f: nop + IL_0130: ldloc.s 4 + IL_0132: stloc.s 6 + IL_0134: ldc.i4.0 + IL_0135: stloc.s 7 + IL_0137: br IL_0161 - IL_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() - IL_0021: brtrue IL_0059 + IL_013c: ldloc.s 6 + IL_013e: ldloc.s 7 + IL_0140: ldelem.ref + IL_0141: stloc.s 5 + IL_0143: nop + IL_0144: ldarg.0 + IL_0145: ldc.i4.1 + IL_0146: newarr [mscorlib]System.String + IL_014b: dup + IL_014c: ldc.i4.0 + IL_014d: ldloc.s 5 + IL_014f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0154: stelem.ref + IL_0155: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) + IL_015a: nop + IL_015b: ldloc.s 7 + IL_015d: ldc.i4.1 + IL_015e: add + IL_015f: stloc.s 7 + IL_0161: ldloc.s 7 + IL_0163: ldloc.s 6 + IL_0165: ldlen + IL_0166: conv.i4 + IL_0167: blt IL_013c - IL_0026: nop - IL_0027: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0031: ldstr "Excluding pattern" - IL_0036: ldloc.0 - IL_0037: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_003c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0041: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_0046: ldarg.0 - IL_0047: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_004c: ldloc.0 - IL_004d: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() - IL_0052: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0057: pop - IL_0058: nop - IL_0059: nop - IL_005a: ldloc.2 - IL_005b: ldc.i4.1 - IL_005c: add - IL_005d: stloc.2 - IL_005e: ldloc.2 - IL_005f: ldloc.1 - IL_0060: ldlen - IL_0061: conv.i4 - IL_0062: blt IL_000b + IL_016c: nop + IL_016d: br IL_01f2 - IL_0067: ret - } // end of method FileSet::set_ExcludeElements + IL_0172: nop + IL_0173: ldarg.0 + IL_0174: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() + IL_0179: brtrue IL_0190 - // method line 171 - .method public hidebysig specialname - instance default void set_SetIncludesList (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed - { - // Method begins at RVA 0x66f0 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet::set_IncludesFiles(class NAnt.Core.Types.FileSet/IncludesFile[]) - IL_0008: ret - } // end of method FileSet::set_SetIncludesList + IL_017e: nop + IL_017f: ldstr "Must use with ." + IL_0184: ldarg.0 + IL_0185: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_018a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_018f: throw + IL_0190: nop + IL_0191: ldarg.0 + IL_0192: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() + IL_0197: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.InElement::get_Items() + IL_019c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_01a1: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_01a6: stloc.s 9 + .try { // 0 + IL_01a8: br IL_01c9 - // method line 172 - .method public hidebysig specialname - instance default void set_IncludesFiles (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed - { - // Method begins at RVA 0x66fc - // Code size 422 (0x1a6) - .maxstack 4 - .locals init ( - class NAnt.Core.Types.FileSet/IncludesFile V_0, - class NAnt.Core.Types.FileSet/IncludesFile[] V_1, - int32 V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - string V_6, - class [System]System.Collections.Specialized.StringEnumerator V_7, - class [mscorlib]System.IDisposable V_8, - string V_9, - class [System]System.Collections.Specialized.StringEnumerator V_10, - class [mscorlib]System.IDisposable V_11) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: stloc.1 - IL_0004: ldc.i4.0 - IL_0005: stloc.2 - IL_0006: br IL_019c + IL_01ad: ldloc.s 9 + IL_01af: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_01b4: stloc.s 8 + IL_01b6: nop + IL_01b7: ldarg.0 + IL_01b8: ldc.i4.1 + IL_01b9: newarr [mscorlib]System.String + IL_01be: dup + IL_01bf: ldc.i4.0 + IL_01c0: ldloc.s 8 + IL_01c2: stelem.ref + IL_01c3: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) + IL_01c8: nop + IL_01c9: ldloc.s 9 + IL_01cb: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_01d0: brtrue IL_01ad - IL_000b: ldloc.1 - IL_000c: ldloc.2 - IL_000d: ldelem.ref - IL_000e: stloc.0 - IL_000f: nop - IL_0010: ldloc.0 - IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined() - IL_0016: brfalse IL_0197 + IL_01d5: leave IL_01f1 - IL_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() - IL_0021: brtrue IL_0197 + } // end .try 0 + finally { // 0 + IL_01da: ldloc.s 9 + IL_01dc: isinst [mscorlib]System.IDisposable + IL_01e1: dup + IL_01e2: stloc.s 10 + IL_01e4: brfalse IL_01f0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance bool class NAnt.Core.Types.FileSet/IncludesFile::get_AsIs() - IL_002d: brfalse IL_00a5 + IL_01e9: ldloc.s 10 + IL_01eb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01f0: endfinally + } // end handler 0 + IL_01f1: nop + IL_01f2: leave IL_058c - IL_0032: nop - IL_0033: nop - IL_0034: ldloc.0 - IL_0035: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() - IL_003a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_003f: stloc.s 4 - .try { // 0 - IL_0041: br IL_0077 + IL_01f7: ldarg.0 + IL_01f8: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_01fd: call bool string::IsNullOrEmpty(string) + IL_0202: brfalse IL_0233 - IL_0046: ldloc.s 4 - IL_0048: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_004d: stloc.3 - IL_004e: nop - IL_004f: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0054: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0059: ldstr "Including AsIs=" - IL_005e: ldloc.3 - IL_005f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0064: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_0069: ldarg.0 - IL_006a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() - IL_006f: ldloc.3 - IL_0070: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0075: pop - IL_0076: nop - IL_0077: ldloc.s 4 - IL_0079: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_007e: brtrue IL_0046 + IL_0207: ldarg.0 + IL_0208: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() + IL_020d: brtrue IL_0233 - IL_0083: leave IL_009f + IL_0212: nop + IL_0213: ldstr "Invalid foreach" + IL_0218: ldarg.0 + IL_0219: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_021e: ldstr "Nothing to work with...!" + IL_0223: ldstr "in" + IL_0228: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) + IL_022d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0232: throw + IL_0233: ldarg.0 + IL_0234: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_0239: ldlen + IL_023a: conv.i4 + IL_023b: ldc.i4.1 + IL_023c: beq IL_0253 - } // end .try 0 - finally { // 0 - IL_0088: ldloc.s 4 - IL_008a: isinst [mscorlib]System.IDisposable - IL_008f: dup - IL_0090: stloc.s 5 - IL_0092: brfalse IL_009e + IL_0241: nop + IL_0242: ldstr "Only one property is valid for item=\"Folder\"" + IL_0247: ldarg.0 + IL_0248: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_024d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0252: throw + IL_0253: ldarg.0 + IL_0254: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0259: call bool string::IsNullOrEmpty(string) + IL_025e: brtrue IL_030b - IL_0097: ldloc.s 5 - IL_0099: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009e: endfinally - } // end handler 0 - IL_009f: nop - IL_00a0: br IL_0196 + IL_0263: nop + IL_0264: ldarg.0 + IL_0265: ldarg.0 + IL_0266: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_026b: ldarg.0 + IL_026c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0271: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_0276: call instance void class NAnt.Core.Tasks.LoopTask::set_Source(string) + IL_027b: ldarg.0 + IL_027c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0281: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0286: brtrue IL_02b2 - IL_00a5: ldloc.0 - IL_00a6: callvirt instance bool class NAnt.Core.Types.FileSet/IncludesFile::get_FromPath() - IL_00ab: brfalse IL_0125 + IL_028b: nop + IL_028c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0291: ldstr "NA1134" + IL_0296: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_029b: ldarg.0 + IL_029c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_02a1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_02a6: ldarg.0 + IL_02a7: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_02ac: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_02b1: throw + IL_02b2: ldarg.0 + IL_02b3: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_02b8: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_02bd: stloc.s 11 + IL_02bf: ldloc.s 11 + IL_02c1: callvirt instance class [mscorlib]System.IO.DirectoryInfo[] class [mscorlib]System.IO.DirectoryInfo::GetDirectories() + IL_02c6: stloc.s 12 + IL_02c8: nop + IL_02c9: ldloc.s 12 + IL_02cb: stloc.s 14 + IL_02cd: ldc.i4.0 + IL_02ce: stloc.s 15 + IL_02d0: br IL_02fa - IL_00b0: nop - IL_00b1: nop - IL_00b2: ldloc.0 - IL_00b3: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() - IL_00b8: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00bd: stloc.s 7 - .try { // 1 - IL_00bf: br IL_00f7 + IL_02d5: ldloc.s 14 + IL_02d7: ldloc.s 15 + IL_02d9: ldelem.ref + IL_02da: stloc.s 13 + IL_02dc: nop + IL_02dd: ldarg.0 + IL_02de: ldc.i4.1 + IL_02df: newarr [mscorlib]System.String + IL_02e4: dup + IL_02e5: ldc.i4.0 + IL_02e6: ldloc.s 13 + IL_02e8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02ed: stelem.ref + IL_02ee: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) + IL_02f3: nop + IL_02f4: ldloc.s 15 + IL_02f6: ldc.i4.1 + IL_02f7: add + IL_02f8: stloc.s 15 + IL_02fa: ldloc.s 15 + IL_02fc: ldloc.s 14 + IL_02fe: ldlen + IL_02ff: conv.i4 + IL_0300: blt IL_02d5 - IL_00c4: ldloc.s 7 - IL_00c6: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00cb: stloc.s 6 - IL_00cd: nop - IL_00ce: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_00d3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00d8: ldstr "Including FromPath=" - IL_00dd: ldloc.s 6 - IL_00df: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00e4: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_00e9: ldarg.0 - IL_00ea: call instance class NAnt.Core.PathScanner class NAnt.Core.Types.FileSet::get_PathFiles() - IL_00ef: ldloc.s 6 - IL_00f1: callvirt instance void class NAnt.Core.PathScanner::Add(string) - IL_00f6: nop - IL_00f7: ldloc.s 7 - IL_00f9: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00fe: brtrue IL_00c4 + IL_0305: nop + IL_0306: br IL_038b - IL_0103: leave IL_011f + IL_030b: nop + IL_030c: ldarg.0 + IL_030d: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() + IL_0312: brtrue IL_0329 - } // end .try 1 - finally { // 1 - IL_0108: ldloc.s 7 - IL_010a: isinst [mscorlib]System.IDisposable - IL_010f: dup - IL_0110: stloc.s 8 - IL_0112: brfalse IL_011e + IL_0317: nop + IL_0318: ldstr "Must use with ." + IL_031d: ldarg.0 + IL_031e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0323: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0328: throw + IL_0329: nop + IL_032a: ldarg.0 + IL_032b: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() + IL_0330: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.InElement::get_Items() + IL_0335: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_033a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_033f: stloc.s 17 + .try { // 1 + IL_0341: br IL_0362 - IL_0117: ldloc.s 8 - IL_0119: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_011e: endfinally - } // end handler 1 - IL_011f: nop - IL_0120: br IL_0196 + IL_0346: ldloc.s 17 + IL_0348: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_034d: stloc.s 16 + IL_034f: nop + IL_0350: ldarg.0 + IL_0351: ldc.i4.1 + IL_0352: newarr [mscorlib]System.String + IL_0357: dup + IL_0358: ldc.i4.0 + IL_0359: ldloc.s 16 + IL_035b: stelem.ref + IL_035c: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) + IL_0361: nop + IL_0362: ldloc.s 17 + IL_0364: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0369: brtrue IL_0346 - IL_0125: nop - IL_0126: nop - IL_0127: ldloc.0 - IL_0128: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() - IL_012d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0132: stloc.s 10 - .try { // 2 - IL_0134: br IL_016d + IL_036e: leave IL_038a - IL_0139: ldloc.s 10 - IL_013b: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0140: stloc.s 9 - IL_0142: nop - IL_0143: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0148: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_014d: ldstr "Including Pattern=" - IL_0152: ldloc.s 9 - IL_0154: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0159: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_015e: ldarg.0 - IL_015f: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0164: ldloc.s 9 - IL_0166: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_016b: pop - IL_016c: nop - IL_016d: ldloc.s 10 - IL_016f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0174: brtrue IL_0139 + } // end .try 1 + finally { // 1 + IL_0373: ldloc.s 17 + IL_0375: isinst [mscorlib]System.IDisposable + IL_037a: dup + IL_037b: stloc.s 18 + IL_037d: brfalse IL_0389 - IL_0179: leave IL_0195 + IL_0382: ldloc.s 18 + IL_0384: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0389: endfinally + } // end handler 1 + IL_038a: nop + IL_038b: leave IL_058c - } // end .try 2 - finally { // 2 - IL_017e: ldloc.s 10 - IL_0180: isinst [mscorlib]System.IDisposable - IL_0185: dup - IL_0186: stloc.s 11 - IL_0188: brfalse IL_0194 + IL_0390: ldarg.0 + IL_0391: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0396: call bool string::IsNullOrEmpty(string) + IL_039b: brfalse IL_03cc - IL_018d: ldloc.s 11 - IL_018f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0194: endfinally - } // end handler 2 - IL_0195: nop - IL_0196: nop - IL_0197: nop - IL_0198: ldloc.2 - IL_0199: ldc.i4.1 - IL_019a: add - IL_019b: stloc.2 - IL_019c: ldloc.2 - IL_019d: ldloc.1 - IL_019e: ldlen - IL_019f: conv.i4 - IL_01a0: blt IL_000b + IL_03a0: ldarg.0 + IL_03a1: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() + IL_03a6: brtrue IL_03cc - IL_01a5: ret - } // end of method FileSet::set_IncludesFiles + IL_03ab: nop + IL_03ac: ldstr "Invalid foreach" + IL_03b1: ldarg.0 + IL_03b2: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_03b7: ldstr "Nothing to work with...!" + IL_03bc: ldstr "in" + IL_03c1: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) + IL_03c6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_03cb: throw + IL_03cc: ldarg.0 + IL_03cd: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_03d2: ldlen + IL_03d3: conv.i4 + IL_03d4: ldc.i4.1 + IL_03d5: ble IL_03f7 - // method line 173 - .method public hidebysig specialname - instance default void set_ExcludesFiles (class NAnt.Core.Types.FileSet/ExcludesFile[] 'value') cil managed - { - // Method begins at RVA 0x68d8 - // Code size 163 (0xa3) - .maxstack 4 - .locals init ( - class NAnt.Core.Types.FileSet/ExcludesFile V_0, - class NAnt.Core.Types.FileSet/ExcludesFile[] V_1, - int32 V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: stloc.1 - IL_0004: ldc.i4.0 - IL_0005: stloc.2 - IL_0006: br IL_0099 + IL_03da: ldarg.0 + IL_03db: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() + IL_03e0: brtrue IL_03f7 - IL_000b: ldloc.1 - IL_000c: ldloc.2 - IL_000d: ldelem.ref - IL_000e: stloc.0 - IL_000f: nop - IL_0010: ldloc.0 - IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined() - IL_0016: brfalse IL_0094 + IL_03e5: nop + IL_03e6: ldstr "Delimiter(s) must be specified if multiple properties are specified" + IL_03eb: ldarg.0 + IL_03ec: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_03f1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_03f6: throw + IL_03f7: ldarg.0 + IL_03f8: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_03fd: call bool string::IsNullOrEmpty(string) + IL_0402: brtrue IL_0468 - IL_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() - IL_0021: brtrue IL_0094 + IL_0407: nop + IL_0408: ldarg.0 + IL_0409: ldarg.0 + IL_040a: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_040f: ldarg.0 + IL_0410: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0415: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_041a: call instance void class NAnt.Core.Tasks.LoopTask::set_Source(string) + IL_041f: ldarg.0 + IL_0420: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0425: call bool class [mscorlib]System.IO.File::Exists(string) + IL_042a: brtrue IL_0456 - IL_0026: nop - IL_0027: nop - IL_0028: ldloc.0 - IL_0029: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() - IL_002e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0033: stloc.s 4 - .try { // 0 - IL_0035: br IL_006b + IL_042f: nop + IL_0430: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0435: ldstr "NA1133" + IL_043a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_043f: ldarg.0 + IL_0440: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_0445: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_044a: ldarg.0 + IL_044b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0450: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0455: throw + IL_0456: ldarg.0 + IL_0457: ldarg.0 + IL_0458: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_045d: call instance void class NAnt.Core.Tasks.LoopTask::DoWorkOnFileLines(string) + IL_0462: nop + IL_0463: br IL_04df - IL_003a: ldloc.s 4 - IL_003c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0041: stloc.3 - IL_0042: nop - IL_0043: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0048: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004d: ldstr "Excluding=" - IL_0052: ldloc.3 - IL_0053: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0058: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_005d: ldarg.0 - IL_005e: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_0063: ldloc.3 - IL_0064: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0069: pop - IL_006a: nop - IL_006b: ldloc.s 4 - IL_006d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0072: brtrue IL_003a + IL_0468: nop + IL_0469: ldarg.0 + IL_046a: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() + IL_046f: brtrue IL_0486 - IL_0077: leave IL_0093 + IL_0474: nop + IL_0475: ldstr "Must use with ." + IL_047a: ldarg.0 + IL_047b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0480: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0485: throw + IL_0486: nop + IL_0487: ldarg.0 + IL_0488: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() + IL_048d: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.InElement::get_Items() + IL_0492: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0497: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_049c: stloc.s 20 + .try { // 2 + IL_049e: br IL_04b6 - } // end .try 0 - finally { // 0 - IL_007c: ldloc.s 4 - IL_007e: isinst [mscorlib]System.IDisposable - IL_0083: dup - IL_0084: stloc.s 5 - IL_0086: brfalse IL_0092 + IL_04a3: ldloc.s 20 + IL_04a5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_04aa: stloc.s 19 + IL_04ac: nop + IL_04ad: ldarg.0 + IL_04ae: ldloc.s 19 + IL_04b0: call instance void class NAnt.Core.Tasks.LoopTask::DoWorkOnFileLines(string) + IL_04b5: nop + IL_04b6: ldloc.s 20 + IL_04b8: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_04bd: brtrue IL_04a3 - IL_008b: ldloc.s 5 - IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0092: endfinally - } // end handler 0 - IL_0093: nop - IL_0094: nop - IL_0095: ldloc.2 - IL_0096: ldc.i4.1 - IL_0097: add - IL_0098: stloc.2 - IL_0099: ldloc.2 - IL_009a: ldloc.1 - IL_009b: ldlen - IL_009c: conv.i4 - IL_009d: blt IL_000b + IL_04c2: leave IL_04de - IL_00a2: ret - } // end of method FileSet::set_ExcludesFiles + } // end .try 2 + finally { // 2 + IL_04c7: ldloc.s 20 + IL_04c9: isinst [mscorlib]System.IDisposable + IL_04ce: dup + IL_04cf: stloc.s 21 + IL_04d1: brfalse IL_04dd - // method line 174 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_MostRecentLastWriteTimeFile () cil managed - { - // Method begins at RVA 0x6998 - // Code size 210 (0xd2) - .maxstack 5 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IO.FileInfo V_3, - class [mscorlib]System.IDisposable V_4, - class [mscorlib]System.IO.FileInfo V_5) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_000a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_000f: stloc.2 - .try { // 0 - IL_0010: br IL_00a1 + IL_04d6: ldloc.s 21 + IL_04d8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_04dd: endfinally + } // end handler 2 + IL_04de: nop + IL_04df: leave IL_058c - IL_0015: ldloc.2 - IL_0016: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_001b: stloc.1 - IL_001c: nop - IL_001d: ldloc.1 - IL_001e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0023: stloc.3 - IL_0024: ldloc.0 - IL_0025: brtrue IL_0039 + IL_04e4: ldarg.0 + IL_04e5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_04ea: call bool string::IsNullOrEmpty(string) + IL_04ef: brfalse IL_04fa - IL_002a: ldloc.3 - IL_002b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0030: brfalse IL_0039 + IL_04f4: nop + IL_04f5: leave IL_05c7 - IL_0035: nop - IL_0036: ldloc.3 - IL_0037: stloc.0 - IL_0038: nop - IL_0039: ldloc.3 - IL_003a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_003f: brtrue IL_0065 + IL_04fa: ldarg.0 + IL_04fb: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_0500: ldlen + IL_0501: conv.i4 + IL_0502: ldc.i4.1 + IL_0503: ble IL_051a - IL_0044: nop - IL_0045: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004f: ldstr "File '{0}' does not exist (and is not newer than {1})" - IL_0054: ldloc.1 - IL_0055: ldloc.0 - IL_0056: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_005b: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_0060: leave IL_00a1 + IL_0508: nop + IL_0509: ldstr "Only one property may be specified for item=\"String\"" + IL_050e: ldarg.0 + IL_050f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0514: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0519: throw + IL_051a: ldarg.0 + IL_051b: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() + IL_0520: brtrue IL_0537 - IL_0065: ldloc.0 - IL_0066: brfalse IL_00a0 + IL_0525: nop + IL_0526: ldstr "Delimiter must be specified for item=\"String\"" + IL_052b: ldarg.0 + IL_052c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0531: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0536: throw + IL_0537: ldarg.0 + IL_0538: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() + IL_053d: ldarg.0 + IL_053e: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() + IL_0543: callvirt instance char[] string::ToCharArray() + IL_0548: callvirt instance string[] string::Split(char[]) + IL_054d: stloc.s 22 + IL_054f: nop + IL_0550: ldloc.s 22 + IL_0552: stloc.s 24 + IL_0554: ldc.i4.0 + IL_0555: stloc.s 25 + IL_0557: br IL_057c - IL_006b: ldloc.3 - IL_006c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0071: ldloc.0 - IL_0072: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0077: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_007c: brfalse IL_00a0 + IL_055c: ldloc.s 24 + IL_055e: ldloc.s 25 + IL_0560: ldelem.ref + IL_0561: stloc.s 23 + IL_0563: nop + IL_0564: ldarg.0 + IL_0565: ldc.i4.1 + IL_0566: newarr [mscorlib]System.String + IL_056b: dup + IL_056c: ldc.i4.0 + IL_056d: ldloc.s 23 + IL_056f: stelem.ref + IL_0570: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) + IL_0575: nop + IL_0576: ldloc.s 25 + IL_0578: ldc.i4.1 + IL_0579: add + IL_057a: stloc.s 25 + IL_057c: ldloc.s 25 + IL_057e: ldloc.s 24 + IL_0580: ldlen + IL_0581: conv.i4 + IL_0582: blt IL_055c - IL_0081: nop - IL_0082: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0087: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_008c: ldstr "'{0}' was newer than {1}" - IL_0091: ldloc.1 - IL_0092: ldloc.0 - IL_0093: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0098: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_009d: ldloc.3 - IL_009e: stloc.0 - IL_009f: nop - IL_00a0: nop - IL_00a1: ldloc.2 - IL_00a2: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00a7: brtrue IL_0015 - - IL_00ac: leave IL_00c7 - - } // end .try 0 - finally { // 0 - IL_00b1: ldloc.2 - IL_00b2: isinst [mscorlib]System.IDisposable - IL_00b7: dup - IL_00b8: stloc.s 4 - IL_00ba: brfalse IL_00c6 + IL_0587: leave IL_058c - IL_00bf: ldloc.s 4 - IL_00c1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c6: endfinally - } // end handler 0 - IL_00c7: ldloc.0 - IL_00c8: stloc.s 5 - IL_00ca: br IL_00cf + IL_058c: nop + IL_058d: leave IL_05c7 - IL_00cf: ldloc.s 5 - IL_00d1: ret - } // end of method FileSet::get_MostRecentLastWriteTimeFile + } // end .try 3 + finally { // 3 + IL_0592: nop + IL_0593: ldc.i4.0 + IL_0594: stloc.s 26 + IL_0596: br IL_05bb - // method line 175 - .method public virtual hidebysig newslot - instance default object Clone () cil managed - { - // Method begins at RVA 0x6a88 - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - class NAnt.Core.Types.FileSet V_0, - object V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance void class NAnt.Core.Types.FileSet::CopyTo(class NAnt.Core.Types.FileSet) - IL_000e: ldloc.0 - IL_000f: stloc.1 - IL_0010: br IL_0015 + IL_059b: nop + IL_059c: ldarg.0 + IL_059d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_05a2: ldarg.0 + IL_05a3: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_05a8: ldloc.s 26 + IL_05aa: ldelem.ref + IL_05ab: ldloc.0 + IL_05ac: ldloc.s 26 + IL_05ae: ldelem.ref + IL_05af: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_05b4: nop + IL_05b5: ldloc.s 26 + IL_05b7: ldc.i4.1 + IL_05b8: add + IL_05b9: stloc.s 26 + IL_05bb: ldloc.s 26 + IL_05bd: ldloc.0 + IL_05be: ldlen + IL_05bf: conv.i4 + IL_05c0: blt IL_059b - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FileSet::Clone + IL_05c5: nop + IL_05c6: endfinally + } // end handler 3 + IL_05c7: ret + } // end of method LoopTask::ExecuteTask - // method line 176 + // method line 133 .method family virtual hidebysig - instance default void Initialize () cil managed + instance default void ExecuteChildTasks () cil managed { - // Method begins at RVA 0x6aac - // Code size 395 (0x18b) - .maxstack 2 + // Method begins at RVA 0x7368 + // Code size 39 (0x27) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.DataTypeBase::Initialize() - IL_0007: ldarg.0 - IL_0008: call instance bool class NAnt.Core.Types.FileSet::get_DefaultExcludes() - IL_000d: brfalse IL_018a + IL_0002: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() + IL_0007: brtrue IL_0019 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_0019: ldstr "**/.svn" - IL_001e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0023: pop - IL_0024: ldarg.0 - IL_0025: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_002a: ldstr "**/.svn/**" - IL_002f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0034: pop - IL_0035: ldarg.0 - IL_0036: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_003b: ldstr "**/_svn" - IL_0040: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0045: pop - IL_0046: ldarg.0 - IL_0047: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_004c: ldstr "**/_svn/**" - IL_0051: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0056: pop - IL_0057: ldarg.0 - IL_0058: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_005d: ldstr "**/.git" - IL_0062: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0067: pop - IL_0068: ldarg.0 - IL_0069: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_006e: ldstr "**/.git/**" - IL_0073: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0078: pop - IL_0079: ldarg.0 - IL_007a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_007f: ldstr "**/.git*" - IL_0084: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0089: pop - IL_008a: ldarg.0 - IL_008b: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_0090: ldstr "**/.hg" - IL_0095: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_009a: pop - IL_009b: ldarg.0 - IL_009c: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_00a1: ldstr "**/.hg/**" - IL_00a6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00ab: pop - IL_00ac: ldarg.0 - IL_00ad: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_00b2: ldstr "**/.hg*" - IL_00b7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00bc: pop - IL_00bd: ldarg.0 - IL_00be: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_00c3: ldstr "**/SCCS" - IL_00c8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00cd: pop - IL_00ce: ldarg.0 - IL_00cf: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_00d4: ldstr "**/SCCS/**" - IL_00d9: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00de: pop - IL_00df: ldarg.0 - IL_00e0: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_00e5: ldstr "**/vssver.scc" - IL_00ea: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00ef: pop - IL_00f0: ldarg.0 - IL_00f1: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_00f6: ldstr "**/vssver2.scc" - IL_00fb: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0100: pop - IL_0101: ldarg.0 - IL_0102: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_0107: ldstr "**/_vti_cnf/**" - IL_010c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0111: pop - IL_0112: ldarg.0 - IL_0113: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_0118: ldstr "**/*~" - IL_011d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0122: pop - IL_0123: ldarg.0 - IL_0124: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_0129: ldstr "**/#*#" - IL_012e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0133: pop - IL_0134: ldarg.0 - IL_0135: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_013a: ldstr "**/.#*" - IL_013f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0144: pop - IL_0145: ldarg.0 - IL_0146: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_014b: ldstr "**/%*%" - IL_0150: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0155: pop - IL_0156: ldarg.0 - IL_0157: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_015c: ldstr "**/CVS" - IL_0161: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0166: pop - IL_0167: ldarg.0 - IL_0168: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_016d: ldstr "**/CVS/**" - IL_0172: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0177: pop - IL_0178: ldarg.0 - IL_0179: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_017e: ldstr "**/.cvsignore" - IL_0183: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0188: pop - IL_0189: nop - IL_018a: ret - } // end of method FileSet::Initialize + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.Core.TaskContainer::ExecuteChildTasks() + IL_0013: nop + IL_0014: br IL_0026 - // method line 177 - .method public virtual hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x6c43 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: stfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0008: ret - } // end of method FileSet::Reset + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() + IL_0020: callvirt instance void class NAnt.Core.Task::Execute() + IL_0025: nop + IL_0026: ret + } // end of method LoopTask::ExecuteChildTasks - // method line 178 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 134 + .method family virtual hidebysig newslot + instance default void DoWork (string[] propVals) cil managed { - // Method begins at RVA 0x6c50 - // Code size 398 (0x18e) + .param [1] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x7390 + // Code size 155 (0x9b) .maxstack 3 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, + int32 V_0, string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - string V_7) + valuetype NAnt.Core.Tasks.LoopTask/LoopTrim V_2) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_000d: brtrue IL_008c - - IL_0012: nop - IL_0013: ldloc.0 - IL_0014: ldstr "Base path: {0}" - IL_0019: ldarg.0 - IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_001f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0024: pop - IL_0025: ldloc.0 - IL_0026: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() - IL_002b: pop - IL_002c: ldloc.0 - IL_002d: ldstr "AsIs:" - IL_0032: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_0037: pop - IL_0038: ldloc.0 - IL_0039: ldarg.0 - IL_003a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() - IL_003f: callvirt instance string object::ToString() - IL_0044: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_0049: pop - IL_004a: ldloc.0 - IL_004b: ldstr "Files:" - IL_0050: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_0055: pop - IL_0056: ldloc.0 - IL_0057: ldarg.0 - IL_0058: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_005d: callvirt instance string object::ToString() - IL_0062: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_0067: pop - IL_0068: ldloc.0 - IL_0069: ldstr "PathFiles:" - IL_006e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_0073: pop - IL_0074: ldloc.0 - IL_0075: ldarg.0 - IL_0076: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles - IL_007b: callvirt instance string object::ToString() - IL_0080: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_0085: pop - IL_0086: nop - IL_0087: br IL_017e + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_008b - IL_008c: nop - IL_008d: ldloc.0 - IL_008e: ldstr "IsEverythingIncluded: {0}" - IL_0093: ldarg.0 - IL_0094: call instance bool class NAnt.Core.Types.FileSet::get_IsEverythingIncluded() - IL_0099: box [mscorlib]System.Boolean - IL_009e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_00a3: pop - IL_00a4: ldloc.0 - IL_00a5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() - IL_00aa: pop - IL_00ab: ldloc.0 - IL_00ac: ldstr "Files:" - IL_00b1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_00b6: pop - IL_00b7: nop - IL_00b8: ldarg.0 - IL_00b9: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_00be: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00c3: stloc.2 - .try { // 0 - IL_00c4: br IL_00e6 + IL_0008: nop + IL_0009: ldarg.1 + IL_000a: ldloc.0 + IL_000b: ldelem.ref + IL_000c: stloc.1 + IL_000d: ldloc.0 + IL_000e: ldarg.0 + IL_000f: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_0014: ldlen + IL_0015: conv.i4 + IL_0016: blt IL_002d - IL_00c9: ldloc.2 - IL_00ca: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00cf: stloc.1 - IL_00d0: nop - IL_00d1: ldloc.0 - IL_00d2: ldloc.1 - IL_00d3: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00d8: pop - IL_00d9: ldloc.0 - IL_00da: call string class [mscorlib]System.Environment::get_NewLine() - IL_00df: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00e4: pop - IL_00e5: nop - IL_00e6: ldloc.2 - IL_00e7: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00ec: brtrue IL_00c9 + IL_001b: nop + IL_001c: ldstr "Too many items on line" + IL_0021: ldarg.0 + IL_0022: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0027: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_002c: throw + IL_002d: ldarg.0 + IL_002e: call instance valuetype NAnt.Core.Tasks.LoopTask/LoopTrim class NAnt.Core.Tasks.LoopTask::get_TrimType() + IL_0033: stloc.2 + IL_0034: ldloc.2 + IL_0035: ldc.i4.3 + IL_0036: beq IL_004e - IL_00f1: leave IL_010a + IL_003b: ldloc.2 + IL_003c: ldc.i4.2 + IL_003d: beq IL_005a - } // end .try 0 - finally { // 0 - IL_00f6: ldloc.2 - IL_00f7: isinst [mscorlib]System.IDisposable - IL_00fc: dup - IL_00fd: stloc.3 - IL_00fe: brfalse IL_0109 + IL_0042: ldloc.2 + IL_0043: ldc.i4.1 + IL_0044: beq IL_0066 - IL_0103: ldloc.3 - IL_0104: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0109: endfinally - } // end handler 0 - IL_010a: ldloc.0 - IL_010b: ldstr "Dirs:" - IL_0110: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0115: pop - IL_0116: ldloc.0 - IL_0117: call string class [mscorlib]System.Environment::get_NewLine() - IL_011c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0121: pop - IL_0122: nop - IL_0123: ldarg.0 - IL_0124: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0129: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_012e: stloc.s 5 - .try { // 1 - IL_0130: br IL_0155 + IL_0049: br IL_0072 - IL_0135: ldloc.s 5 - IL_0137: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_013c: stloc.s 4 - IL_013e: nop - IL_013f: ldloc.0 - IL_0140: ldloc.s 4 - IL_0142: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0147: pop - IL_0148: ldloc.0 - IL_0149: call string class [mscorlib]System.Environment::get_NewLine() - IL_014e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0153: pop - IL_0154: nop - IL_0155: ldloc.s 5 - IL_0157: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_015c: brtrue IL_0135 + IL_004e: ldloc.1 + IL_004f: callvirt instance string string::Trim() + IL_0054: stloc.1 + IL_0055: br IL_0072 - IL_0161: leave IL_017d + IL_005a: ldloc.1 + IL_005b: callvirt instance string [mscorlib]System.String::TrimStart() + IL_0060: stloc.1 + IL_0061: br IL_0072 - } // end .try 1 - finally { // 1 - IL_0166: ldloc.s 5 - IL_0168: isinst [mscorlib]System.IDisposable - IL_016d: dup - IL_016e: stloc.s 6 - IL_0170: brfalse IL_017c + IL_0066: ldloc.1 + IL_0067: callvirt instance string [mscorlib]System.String::TrimEnd() + IL_006c: stloc.1 + IL_006d: br IL_0072 - IL_0175: ldloc.s 6 - IL_0177: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_017c: endfinally - } // end handler 1 - IL_017d: nop - IL_017e: ldloc.0 - IL_017f: callvirt instance string object::ToString() - IL_0184: stloc.s 7 - IL_0186: br IL_018b + IL_0072: ldarg.0 + IL_0073: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0078: ldarg.0 + IL_0079: ldfld string[] NAnt.Core.Tasks.LoopTask::_props + IL_007e: ldloc.0 + IL_007f: ldelem.ref + IL_0080: ldloc.1 + IL_0081: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0086: nop + IL_0087: ldloc.0 + IL_0088: ldc.i4.1 + IL_0089: add + IL_008a: stloc.0 + IL_008b: ldloc.0 + IL_008c: ldarg.1 + IL_008d: ldlen + IL_008e: conv.i4 + IL_008f: blt IL_0008 - IL_018b: ldloc.s 7 - IL_018d: ret - } // end of method FileSet::ToString + IL_0094: ldarg.0 + IL_0095: call instance void class NAnt.Core.TaskContainer::ExecuteTask() + IL_009a: ret + } // end of method LoopTask::DoWork - // method line 179 - .method public hidebysig - instance default void AddPatternSet (class NAnt.Core.Types.PatternSet patternSet) cil managed + // method line 135 + .method private hidebysig + instance default void DoWorkOnFileLines (string filename) cil managed { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. - - // Method begins at RVA 0x6e08 - // Code size 36 (0x24) - .maxstack 8 + // Method begins at RVA 0x7438 + // Code size 115 (0x73) + .maxstack 5 + .locals init ( + class [mscorlib]System.IO.StreamReader V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0007: ldarg.1 - IL_0008: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetIncludePatterns() - IL_000d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0012: ldarg.0 - IL_0013: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() - IL_0018: ldarg.1 - IL_0019: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetExcludePatterns() - IL_001e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0023: ret - } // end of method FileSet::AddPatternSet + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) + IL_0007: stloc.0 + .try { // 0 + IL_0008: nop + IL_0009: nop + IL_000a: nop + IL_000b: ldloc.0 + IL_000c: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: brtrue IL_001e - // method line 180 - .method public virtual hidebysig newslot - instance default void Scan () cil managed - { - // Method begins at RVA 0x6e30 - // Code size 369 (0x171) - .maxstack 4 - .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - class [mscorlib]System.Exception V_6) - IL_0000: nop - .try { // 2 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0008: ldarg.0 - IL_0009: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000e: callvirt instance void class NAnt.Core.DirectoryScanner::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0019: callvirt instance void class NAnt.Core.DirectoryScanner::Scan() - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() - IL_0025: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_002a: stloc.1 - .try { // 0 - IL_002b: br IL_0071 + IL_0018: nop + IL_0019: leave IL_005f - IL_0030: ldloc.1 - IL_0031: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0036: stloc.0 - IL_0037: nop - IL_0038: ldloc.0 - IL_0039: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_003e: brfalse IL_005c + IL_001e: ldarg.0 + IL_001f: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() + IL_0024: brtrue IL_0040 - IL_0043: nop - IL_0044: ldarg.0 - IL_0045: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_004a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_DirectoryNames() - IL_004f: ldloc.0 - IL_0050: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0055: pop - IL_0056: nop - IL_0057: br IL_0070 + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: ldc.i4.1 + IL_002c: newarr [mscorlib]System.String + IL_0031: dup + IL_0032: ldc.i4.0 + IL_0033: ldloc.1 + IL_0034: stelem.ref + IL_0035: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) + IL_003a: nop + IL_003b: br IL_0059 - IL_005c: nop - IL_005d: ldarg.0 - IL_005e: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0063: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() - IL_0068: ldloc.0 - IL_0069: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_006e: pop - IL_006f: nop - IL_0070: nop - IL_0071: ldloc.1 - IL_0072: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0077: brtrue IL_0030 + IL_0040: nop + IL_0041: ldarg.0 + IL_0042: ldloc.1 + IL_0043: ldarg.0 + IL_0044: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() + IL_0049: callvirt instance char[] string::ToCharArray() + IL_004e: callvirt instance string[] string::Split(char[]) + IL_0053: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) + IL_0058: nop + IL_0059: nop + IL_005a: br IL_0009 - IL_007c: leave IL_0095 + IL_005f: nop + IL_0060: leave IL_0072 - } // end .try 0 - finally { // 0 - IL_0081: ldloc.1 - IL_0082: isinst [mscorlib]System.IDisposable - IL_0087: dup - IL_0088: stloc.2 - IL_0089: brfalse IL_0094 + } // end .try 0 + finally { // 0 + IL_0065: ldloc.0 + IL_0066: brfalse IL_0071 - IL_008e: ldloc.2 - IL_008f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0094: endfinally - } // end handler 0 - IL_0095: nop - IL_0096: ldarg.0 - IL_0097: call instance class NAnt.Core.PathScanner class NAnt.Core.Types.FileSet::get_PathFiles() - IL_009c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.PathScanner::Scan() - IL_00a1: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00a6: stloc.s 4 - .try { // 1 - IL_00a8: br IL_00c9 + IL_006b: ldloc.0 + IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0071: endfinally + } // end handler 0 + IL_0072: ret + } // end of method LoopTask::DoWorkOnFileLines - IL_00ad: ldloc.s 4 - IL_00af: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00b4: stloc.3 - IL_00b5: nop - IL_00b6: ldarg.0 - IL_00b7: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_00bc: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() - IL_00c1: ldloc.3 - IL_00c2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00c7: pop - IL_00c8: nop - IL_00c9: ldloc.s 4 - IL_00cb: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00d0: brtrue IL_00ad + .property instance string Property () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - IL_00d5: leave IL_00f1 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - } // end .try 1 - finally { // 1 - IL_00da: ldloc.s 4 - IL_00dc: isinst [mscorlib]System.IDisposable - IL_00e1: dup - IL_00e2: stloc.s 5 - IL_00e4: brfalse IL_00f0 + .get instance default string NAnt.Core.Tasks.LoopTask::get_Property () + .set instance default void NAnt.Core.Tasks.LoopTask::set_Property (string 'value') + } + .property instance valuetype NAnt.Core.Tasks.LoopTask/LoopItem ItemType () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 69 74 65 6D 01 00 54 02 08 52 65 71 75 // ...item..T..Requ + 69 72 65 64 01 ) // ired. - IL_00e9: ldloc.s 5 - IL_00eb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f0: endfinally - } // end handler 1 - IL_00f1: ldarg.0 - IL_00f2: ldc.i4.1 - IL_00f3: stfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_00f8: nop - IL_00f9: leave IL_0114 + .get instance default valuetype NAnt.Core.Tasks.LoopTask/LoopItem NAnt.Core.Tasks.LoopTask::get_ItemType () + .set instance default void NAnt.Core.Tasks.LoopTask::set_ItemType (valuetype NAnt.Core.Tasks.LoopTask/LoopItem 'value') + } + .property instance valuetype NAnt.Core.Tasks.LoopTask/LoopTrim TrimType () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 74 72 69 6D 00 00 ) // ...trim.. - } // end .try 2 - catch class [mscorlib]System.Exception { // 2 - IL_00fe: stloc.s 6 - IL_0100: nop - IL_0101: ldstr "Error creating FileSet." - IL_0106: ldarg.0 - IL_0107: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_010c: ldloc.s 6 - IL_010e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0113: throw - } // end handler 2 - IL_0114: ldarg.0 - IL_0115: call instance bool class NAnt.Core.Types.FileSet::get_FailOnEmpty() - IL_011a: brfalse IL_0170 + .get instance default valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::get_TrimType () + .set instance default void NAnt.Core.Tasks.LoopTask::set_TrimType (valuetype NAnt.Core.Tasks.LoopTask/LoopTrim 'value') + } + .property instance string Source () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 02 69 6E 01 00 54 02 08 52 65 71 75 69 72 // ...in..T..Requir + 65 64 00 ) // ed. - IL_011f: ldarg.0 - IL_0120: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0125: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() - IL_012a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_012f: brtrue IL_0170 + .get instance default string NAnt.Core.Tasks.LoopTask::get_Source () + .set instance default void NAnt.Core.Tasks.LoopTask::set_Source (string 'value') + } + .property instance string Delimiter () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 6C 69 6D 00 00 ) // ...delim.. - IL_0134: nop - IL_0135: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_013a: ldstr "NA1164" - IL_013f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0144: ldarg.0 - IL_0145: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_014a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.DirectoryScanner::get_BaseDirectory() - IL_014f: ldarg.0 - IL_0150: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0155: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() - IL_015a: callvirt instance string object::ToString() - IL_015f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0164: ldarg.0 - IL_0165: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_016a: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) - IL_016f: throw - IL_0170: ret - } // end of method FileSet::Scan + .get instance default string NAnt.Core.Tasks.LoopTask::get_Delimiter () + .set instance default void NAnt.Core.Tasks.LoopTask::set_Delimiter (string 'value') + } + .property instance class NAnt.Core.Tasks.InElement InElement () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 02 69 6E 00 00 ) // ...in.. - // method line 181 - .method family hidebysig - instance default void CopyTo (class NAnt.Core.Types.FileSet clone) cil managed - { - // Method begins at RVA 0x6fd8 - // Code size 136 (0x88) - .maxstack 2 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.DataTypeBase::CopyTo(class NAnt.Core.DataTypeBase) - IL_0008: ldarg.1 - IL_0009: ldarg.0 - IL_000a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis - IL_000f: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Util.StringUtils::Clone(class [System]System.Collections.Specialized.StringCollection) - IL_0014: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis - IL_0019: ldarg.0 - IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_001f: brfalse IL_003c + .get instance default class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::get_InElement () + .set instance default void NAnt.Core.Tasks.LoopTask::set_InElement (class NAnt.Core.Tasks.InElement 'value') + } + .property instance class NAnt.Core.TaskContainer StuffToDo () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 02 64 6F 00 00 ) // ...do.. - IL_0024: nop - IL_0025: ldarg.1 - IL_0026: ldarg.0 - IL_0027: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_002c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0031: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0036: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_003b: nop - IL_003c: ldarg.1 - IL_003d: ldarg.0 - IL_003e: ldfld bool NAnt.Core.Types.FileSet::_defaultExcludes - IL_0043: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes - IL_0048: ldarg.1 - IL_0049: ldarg.0 - IL_004a: ldfld bool NAnt.Core.Types.FileSet::_failOnEmpty - IL_004f: stfld bool NAnt.Core.Types.FileSet::_failOnEmpty - IL_0054: ldarg.1 - IL_0055: ldarg.0 - IL_0056: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_005b: stfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0060: ldarg.1 - IL_0061: ldarg.0 - IL_0062: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles - IL_0067: callvirt instance class NAnt.Core.PathScanner class NAnt.Core.PathScanner::Clone() - IL_006c: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles - IL_0071: ldarg.1 - IL_0072: ldarg.0 - IL_0073: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0078: callvirt instance object class NAnt.Core.DirectoryScanner::Clone() - IL_007d: castclass NAnt.Core.DirectoryScanner - IL_0082: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0087: ret - } // end of method FileSet::CopyTo + .get instance default class NAnt.Core.TaskContainer NAnt.Core.Tasks.LoopTask::get_StuffToDo () + .set instance default void NAnt.Core.Tasks.LoopTask::set_StuffToDo (class NAnt.Core.TaskContainer 'value') + } + .class nested public auto ansi sealed LoopItem + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem File = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem Folder = int32(0x00000002) + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem String = int32(0x00000003) + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem Line = int32(0x00000004) - // method line 182 - .method assembly hidebysig - instance default string Find (string fileName) cil managed + } // end of class LoopItem + + .class nested public auto ansi sealed LoopTrim + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim None = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim End = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim Start = int32(0x00000002) + .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim Both = int32(0x00000003) + + } // end of class LoopTrim + + } // end of class NAnt.Core.Tasks.LoopTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit InElement + extends NAnt.Core.Element + { + .field private class NAnt.Core.Types.FileSet _items + + // method line 136 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x706c - // Code size 133 (0x85) - .maxstack 4 + // Method begins at RVA 0x74c8 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method InElement::.ctor + + // method line 137 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_Items () cil managed + { + // Method begins at RVA 0x74d0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - valuetype [mscorlib]System.Globalization.CompareOptions V_0, - class [mscorlib]System.Globalization.CompareInfo V_1, - string V_2, - class [System]System.Collections.Specialized.StringEnumerator V_3, - string V_4, - class [mscorlib]System.IDisposable V_5) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000d: stloc.1 - IL_000e: ldarg.0 - IL_000f: call instance bool class NAnt.Core.Types.FileSet::get_CaseSensitive() - IL_0014: brtrue IL_001d - - IL_0019: ldloc.0 - IL_001a: ldc.i4.1 - IL_001b: or - IL_001c: stloc.0 - IL_001d: nop - IL_001e: ldarg.0 - IL_001f: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0024: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0029: stloc.3 - .try { // 0 - IL_002a: br IL_0054 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.InElement::_items + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002f: ldloc.3 - IL_0030: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0035: stloc.2 - IL_0036: nop - IL_0037: ldloc.1 - IL_0038: ldloc.2 - IL_0039: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_003e: ldarg.1 - IL_003f: ldloc.0 - IL_0040: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0045: brtrue IL_0053 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method InElement::get_Items - IL_004a: nop - IL_004b: ldloc.2 - IL_004c: stloc.s 4 - IL_004e: leave IL_0082 + // method line 138 + .method public hidebysig specialname + instance default void set_Items (class NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x74eb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.InElement::_items + IL_0008: ret + } // end of method InElement::set_Items - IL_0053: nop - IL_0054: ldloc.3 - IL_0055: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_005a: brtrue IL_002f + .property instance class NAnt.Core.Types.FileSet Items () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 69 74 65 6D 73 00 00 ) // ...items.. - IL_005f: leave IL_007a + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.InElement::get_Items () + .set instance default void NAnt.Core.Tasks.InElement::set_Items (class NAnt.Core.Types.FileSet 'value') + } + } // end of class NAnt.Core.Tasks.InElement +} - } // end .try 0 - finally { // 0 - IL_0064: ldloc.3 - IL_0065: isinst [mscorlib]System.IDisposable - IL_006a: dup - IL_006b: stloc.s 5 - IL_006d: brfalse IL_0079 +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit SysInfoTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 73 79 73 69 6E 66 6F 00 00 ) // ...sysinfo.. - IL_0072: ldloc.s 5 - IL_0074: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0079: endfinally - } // end handler 0 - IL_007a: ldnull - IL_007b: stloc.s 4 - IL_007d: br IL_0082 + .field private string _prefix - IL_0082: ldloc.s 4 - IL_0084: ret - } // end of method FileSet::Find + // method line 139 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x74f5 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldstr "sys." + IL_0006: stfld string NAnt.Core.Tasks.SysInfoTask::_prefix + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method SysInfoTask::.ctor - // method line 183 - .method famorassem hidebysig specialname - instance default bool get_IsEverythingIncluded () cil managed + // method line 140 + .method public hidebysig specialname + instance default string get_Prefix () cil managed { - // Method begins at RVA 0x7110 - // Code size 39 (0x27) + // Method begins at RVA 0x7508 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0007: brtrue IL_0014 + IL_0002: ldfld string NAnt.Core.Tasks.SysInfoTask::_prefix + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_001a: callvirt instance bool class NAnt.Core.DirectoryScanner::get_IsEverythingIncluded() - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SysInfoTask::get_Prefix - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_IsEverythingIncluded + // method line 141 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed + { + // Method begins at RVA 0x7523 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.SysInfoTask::_prefix + IL_0008: ret + } // end of method SysInfoTask::set_Prefix - // method line 184 - .method public static hidebysig - default string FindMoreRecentLastWriteTime (string fileName, valuetype [mscorlib]System.DateTime targetLastWriteTime) cil managed + // method line 142 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x7144 - // Code size 30 (0x1e) - .maxstack 2 + // Method begins at RVA 0x7530 + // Code size 788 (0x314) + .maxstack 7 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - string V_1) - IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_000e: pop - IL_000f: ldloc.0 - IL_0010: ldarg.1 - IL_0011: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0016: stloc.1 - IL_0017: br IL_001c - - IL_001c: ldloc.1 - IL_001d: ret - } // end of method FileSet::FindMoreRecentLastWriteTime - - // method line 185 - .method public static hidebysig - default string FindMoreRecentLastWriteTime (class [System]System.Collections.Specialized.StringCollection fileNames, valuetype [mscorlib]System.DateTime targetLastWriteTime) cil managed - { - // Method begins at RVA 0x7170 - // Code size 198 (0xc6) - .maxstack 5 - .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IO.FileInfo V_2, - string V_3, - class [mscorlib]System.IDisposable V_4) + valuetype [mscorlib]System.PlatformID V_0, + class [mscorlib]System.Collections.IDictionary V_1, + string V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + class [mscorlib]System.Exception V_4, + class [mscorlib]System.IDisposable V_5, + valuetype [mscorlib]System.Collections.DictionaryEntry V_6, + class [mscorlib]System.Collections.IDictionaryEnumerator V_7, + string V_8, + class [mscorlib]System.IDisposable V_9) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0008: stloc.1 - .try { // 0 - IL_0009: br IL_0097 + IL_0001: ldarg.0 + IL_0002: ldc.i4 3000 + IL_0007: ldstr "Setting system information properties under " + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_0012: ldstr "*" + IL_0017: call string string::Concat(string, string, string) + IL_001c: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0021: ldarg.0 + IL_0022: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0027: ldarg.0 + IL_0028: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_002d: ldstr "clr.version" + IL_0032: call string string::Concat(string, string) + IL_0037: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() + IL_003c: callvirt instance string object::ToString() + IL_0041: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0046: ldarg.0 + IL_0047: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_004c: ldarg.0 + IL_004d: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_0052: ldstr "os.platform" + IL_0057: call string string::Concat(string, string) + IL_005c: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_0061: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_0066: stloc.0 + IL_0067: ldloca.s 0 + IL_0069: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_006e: constrained. [mscorlib]System.PlatformID + IL_0074: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) + IL_0079: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_007e: ldarg.0 + IL_007f: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0084: ldarg.0 + IL_0085: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_008a: ldstr "os.version" + IL_008f: call string string::Concat(string, string) + IL_0094: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_0099: callvirt instance class [mscorlib]System.Version class [mscorlib]System.OperatingSystem::get_Version() + IL_009e: callvirt instance string object::ToString() + IL_00a3: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00a8: ldarg.0 + IL_00a9: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00ae: ldarg.0 + IL_00af: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_00b4: ldstr "os.folder.applicationdata" + IL_00b9: call string string::Concat(string, string) + IL_00be: ldc.i4.s 0x1a + IL_00c0: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_00c5: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00ca: ldarg.0 + IL_00cb: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00d0: ldarg.0 + IL_00d1: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_00d6: ldstr "os.folder.commonapplicationData" + IL_00db: call string string::Concat(string, string) + IL_00e0: ldc.i4.s 0x23 + IL_00e2: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_00e7: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00ec: ldarg.0 + IL_00ed: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00f2: ldarg.0 + IL_00f3: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_00f8: ldstr "os.folder.commonprogramFiles" + IL_00fd: call string string::Concat(string, string) + IL_0102: ldc.i4.s 0x2b + IL_0104: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_0109: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_010e: ldarg.0 + IL_010f: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0114: ldarg.0 + IL_0115: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_011a: ldstr "os.folder.desktopdirectory" + IL_011f: call string string::Concat(string, string) + IL_0124: ldc.i4.s 0x10 + IL_0126: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_012b: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0130: ldarg.0 + IL_0131: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0136: ldarg.0 + IL_0137: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_013c: ldstr "os.folder.programfiles" + IL_0141: call string string::Concat(string, string) + IL_0146: ldc.i4.s 0x26 + IL_0148: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_014d: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0152: ldarg.0 + IL_0153: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0158: ldarg.0 + IL_0159: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_015e: ldstr "os.folder.system" + IL_0163: call string string::Concat(string, string) + IL_0168: ldc.i4.s 0x25 + IL_016a: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_016f: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0174: ldarg.0 + IL_0175: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_017a: ldarg.0 + IL_017b: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_0180: ldstr "os.folder.temp" + IL_0185: call string string::Concat(string, string) + IL_018a: call string class [mscorlib]System.IO.Path::GetTempPath() + IL_018f: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0194: ldarg.0 + IL_0195: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_019a: ldarg.0 + IL_019b: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_01a0: ldstr "os" + IL_01a5: call string string::Concat(string, string) + IL_01aa: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_01af: callvirt instance string object::ToString() + IL_01b4: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_01b9: call class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Environment::GetEnvironmentVariables() + IL_01be: stloc.1 + IL_01bf: nop + IL_01c0: ldloc.1 + IL_01c1: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.IDictionary::get_Keys() + IL_01c6: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_01cb: stloc.3 + .try { // 1 + IL_01cc: br IL_0250 - IL_000e: ldloc.1 - IL_000f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0014: stloc.0 - IL_0015: nop - IL_0016: ldloc.0 - IL_0017: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_001c: brfalse IL_0096 + IL_01d1: ldloc.3 + IL_01d2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01d7: castclass [mscorlib]System.String + IL_01dc: stloc.2 + IL_01dd: nop + .try { // 0 + IL_01de: nop + IL_01df: ldarg.0 + IL_01e0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_01e5: ldarg.0 + IL_01e6: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_01eb: ldstr "env." + IL_01f0: ldloc.2 + IL_01f1: call string string::Concat(string, string, string) + IL_01f6: ldloc.1 + IL_01f7: ldloc.2 + IL_01f8: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) + IL_01fd: castclass [mscorlib]System.String + IL_0202: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0207: nop + IL_0208: leave IL_024f - IL_0021: nop - IL_0022: ldloc.0 - IL_0023: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0028: stloc.2 - IL_0029: ldloc.2 - IL_002a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_002f: brtrue IL_005c + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_020d: stloc.s 4 + IL_020f: nop + IL_0210: ldarg.0 + IL_0211: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0216: brtrue IL_0246 - IL_0034: nop - IL_0035: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_003a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003f: ldstr "File '{0}' no longer exist (so the target might need to be updated)" - IL_0044: ldloc.0 - IL_0045: ldarg.1 - IL_0046: box [mscorlib]System.DateTime - IL_004b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0050: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_0055: ldloc.0 - IL_0056: stloc.3 - IL_0057: leave IL_00c4 + IL_021b: nop + IL_021c: ldarg.0 + IL_021d: ldc.i4 4000 + IL_0222: ldstr "Property could not be created for environment variable '{0}' : {1}" + IL_0227: ldc.i4.2 + IL_0228: newarr [mscorlib]System.Object + IL_022d: dup + IL_022e: ldc.i4.0 + IL_022f: ldloc.2 + IL_0230: stelem.ref + IL_0231: dup + IL_0232: ldc.i4.1 + IL_0233: ldloc.s 4 + IL_0235: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_023a: stelem.ref + IL_023b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0240: nop + IL_0241: br IL_0249 - IL_005c: ldloc.2 - IL_005d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0062: ldarg.1 - IL_0063: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0068: brfalse IL_0095 + IL_0246: nop + IL_0247: rethrow + IL_0249: nop + IL_024a: leave IL_024f - IL_006d: nop - IL_006e: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0073: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0078: ldstr "'{0}' was newer than {1}" - IL_007d: ldloc.0 - IL_007e: ldarg.1 - IL_007f: box [mscorlib]System.DateTime - IL_0084: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0089: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_008e: ldloc.0 - IL_008f: stloc.3 - IL_0090: leave IL_00c4 + } // end handler 0 + IL_024f: nop + IL_0250: ldloc.3 + IL_0251: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0256: brtrue IL_01d1 - IL_0095: nop - IL_0096: nop - IL_0097: ldloc.1 - IL_0098: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_009d: brtrue IL_000e + IL_025b: leave IL_0276 - IL_00a2: leave IL_00bd + } // end .try 1 + finally { // 1 + IL_0260: ldloc.3 + IL_0261: isinst [mscorlib]System.IDisposable + IL_0266: dup + IL_0267: stloc.s 5 + IL_0269: brfalse IL_0275 - } // end .try 0 - finally { // 0 - IL_00a7: ldloc.1 - IL_00a8: isinst [mscorlib]System.IDisposable - IL_00ad: dup - IL_00ae: stloc.s 4 - IL_00b0: brfalse IL_00bc + IL_026e: ldloc.s 5 + IL_0270: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0275: endfinally + } // end handler 1 + IL_0276: ldarg.0 + IL_0277: callvirt instance bool class NAnt.Core.Task::get_Verbose() + IL_027c: brfalse IL_0313 - IL_00b5: ldloc.s 4 - IL_00b7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00bc: endfinally - } // end handler 0 - IL_00bd: ldnull - IL_00be: stloc.3 - IL_00bf: br IL_00c4 + IL_0281: nop + IL_0282: nop + IL_0283: ldarg.0 + IL_0284: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0289: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.DictionaryBase::GetEnumerator() + IL_028e: stloc.s 7 + .try { // 2 + IL_0290: br IL_02ea - IL_00c4: ldloc.3 - IL_00c5: ret - } // end of method FileSet::FindMoreRecentLastWriteTime + IL_0295: ldloc.s 7 + IL_0297: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_029c: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_02a1: stloc.s 6 + IL_02a3: nop + IL_02a4: ldloca.s 6 + IL_02a6: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_02ab: castclass [mscorlib]System.String + IL_02b0: stloc.s 8 + IL_02b2: ldloc.s 8 + IL_02b4: ldarg.0 + IL_02b5: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() + IL_02ba: callvirt instance bool string::StartsWith(string) + IL_02bf: brfalse IL_02e9 - // method line 186 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x7254 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0014: ret - } // end of method FileSet::.cctor + IL_02c4: nop + IL_02c5: ldarg.0 + IL_02c6: ldc.i4 3000 + IL_02cb: ldloc.s 8 + IL_02cd: ldstr " = " + IL_02d2: ldloca.s 6 + IL_02d4: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_02d9: callvirt instance string object::ToString() + IL_02de: call string string::Concat(string, string, string) + IL_02e3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_02e8: nop + IL_02e9: nop + IL_02ea: ldloc.s 7 + IL_02ec: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02f1: brtrue IL_0295 - .property instance bool CaseSensitive () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 63 61 73 65 73 65 6E 73 69 74 69 76 65 // ...casesensitive - 00 00 ) // .. + IL_02f6: leave IL_0312 - .get instance default bool NAnt.Core.Types.FileSet::get_CaseSensitive () - .set instance default void NAnt.Core.Types.FileSet::set_CaseSensitive (bool 'value') - } - .property instance bool FailOnEmpty () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 66 61 69 6C 6F 6E 65 6D 70 74 79 00 00 ) // ...failonempty.. + } // end .try 2 + finally { // 2 + IL_02fb: ldloc.s 7 + IL_02fd: isinst [mscorlib]System.IDisposable + IL_0302: dup + IL_0303: stloc.s 9 + IL_0305: brfalse IL_0311 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_030a: ldloc.s 9 + IL_030c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0311: endfinally + } // end handler 2 + IL_0312: nop + IL_0313: ret + } // end of method SysInfoTask::ExecuteTask - .get instance default bool NAnt.Core.Types.FileSet::get_FailOnEmpty () - .set instance default void NAnt.Core.Types.FileSet::set_FailOnEmpty (bool 'value') - } - .property instance bool DefaultExcludes () + .property instance string Prefix () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0F 64 65 66 61 75 6C 74 65 78 63 6C 75 64 // ...defaultexclud - 65 73 00 00 ) // es.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re + 71 75 69 72 65 64 00 ) // quired. - .get instance default bool NAnt.Core.Types.FileSet::get_DefaultExcludes () - .set instance default void NAnt.Core.Types.FileSet::set_DefaultExcludes (bool 'value') + .get instance default string NAnt.Core.Tasks.SysInfoTask::get_Prefix () + .set instance default void NAnt.Core.Tasks.SysInfoTask::set_Prefix (string 'value') } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 62 61 73 65 64 69 72 00 00 ) // ...basedir.. + } // end of class NAnt.Core.Tasks.SysInfoTask +} - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::get_BaseDirectory () - .set instance default void NAnt.Core.Types.FileSet::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class [System]System.Collections.Specialized.StringCollection Includes () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_Includes () - } - .property instance class [System]System.Collections.Specialized.StringCollection Excludes () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_Excludes () - } - .property instance class [System]System.Collections.Specialized.StringCollection AsIs () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_AsIs () - } - .property instance class NAnt.Core.PathScanner PathFiles () - { - .get instance default class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::get_PathFiles () - } - .property instance class [System]System.Collections.Specialized.StringCollection FileNames () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_FileNames () - } - .property instance class [System]System.Collections.Specialized.StringCollection DirectoryNames () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_DirectoryNames () - } - .property instance class [System]System.Collections.Specialized.StringCollection ScannedDirectories () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_ScannedDirectories () - } - .property instance class NAnt.Core.Types.FileSet/Include[] SetIncludes () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 08 69 6E 63 6C 75 64 65 73 00 00 ) // ...includes.. +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit SleepTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 73 6C 65 65 70 00 00 ) // ...sleep.. - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 1E 55 73 65 20 3C 69 6E 63 6C 75 64 65 3E // ...Use - 20 65 6C 65 6D 65 6E 74 20 69 6E 73 74 65 61 64 // element instead - 2E 00 00 00 ) // .... + .field private int32 _hours + .field private int32 _minutes + .field private int32 _seconds + .field private int32 _milliseconds - .set instance default void NAnt.Core.Types.FileSet::set_SetIncludes (class NAnt.Core.Types.FileSet/Include[] 'value') - } - .property instance class NAnt.Core.Types.FileSet/Include[] IncludeElements () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. + // method line 143 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x7878 + // Code size 35 (0x23) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld int32 NAnt.Core.Tasks.SleepTask::_hours + IL_0007: ldarg.0 + IL_0008: ldc.i4.0 + IL_0009: stfld int32 NAnt.Core.Tasks.SleepTask::_minutes + IL_000e: ldarg.0 + IL_000f: ldc.i4.0 + IL_0010: stfld int32 NAnt.Core.Tasks.SleepTask::_seconds + IL_0015: ldarg.0 + IL_0016: ldc.i4.0 + IL_0017: stfld int32 NAnt.Core.Tasks.SleepTask::_milliseconds + IL_001c: ldarg.0 + IL_001d: call instance void class NAnt.Core.Task::'.ctor'() + IL_0022: ret + } // end of method SleepTask::.ctor - .set instance default void NAnt.Core.Types.FileSet::set_IncludeElements (class NAnt.Core.Types.FileSet/Include[] 'value') - } - .property instance class NAnt.Core.Types.FileSet/Exclude[] SetExcludes () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 08 65 78 63 6C 75 64 65 73 00 00 ) // ...excludes.. + // method line 144 + .method public hidebysig specialname + instance default int32 get_Hours () cil managed + { + // Method begins at RVA 0x789c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_hours + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 1E 55 73 65 20 3C 65 78 63 6C 75 64 65 3E // ...Use - 20 65 6C 65 6D 65 6E 74 20 69 6E 73 74 65 61 64 // element instead - 2E 00 00 00 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SleepTask::get_Hours - .set instance default void NAnt.Core.Types.FileSet::set_SetExcludes (class NAnt.Core.Types.FileSet/Exclude[] 'value') - } - .property instance class NAnt.Core.Types.FileSet/Exclude[] ExcludeElements () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. + // method line 145 + .method public hidebysig specialname + instance default void set_Hours (int32 'value') cil managed + { + // Method begins at RVA 0x78b7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_hours + IL_0008: ret + } // end of method SleepTask::set_Hours - .set instance default void NAnt.Core.Types.FileSet::set_ExcludeElements (class NAnt.Core.Types.FileSet/Exclude[] 'value') - } - .property instance class NAnt.Core.Types.FileSet/IncludesFile[] SetIncludesList () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 0C 69 6E 63 6C 75 64 65 73 4C 69 73 74 00 // ...includesList. - 00 ) // . - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 1B 55 73 65 20 3C 69 6E 63 6C 75 64 65 73 // ...Use instead... - 00 ) // . - - .set instance default void NAnt.Core.Types.FileSet::set_SetIncludesList (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') - } - .property instance class NAnt.Core.Types.FileSet/IncludesFile[] IncludesFiles () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 0C 69 6E 63 6C 75 64 65 73 66 69 6C 65 00 // ...includesfile. - 00 ) // . - - .set instance default void NAnt.Core.Types.FileSet::set_IncludesFiles (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') - } - .property instance class NAnt.Core.Types.FileSet/ExcludesFile[] ExcludesFiles () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 0C 65 78 63 6C 75 64 65 73 66 69 6C 65 00 // ...excludesfile. - 00 ) // . - - .set instance default void NAnt.Core.Types.FileSet::set_ExcludesFiles (class NAnt.Core.Types.FileSet/ExcludesFile[] 'value') - } - .property instance class [mscorlib]System.IO.FileInfo MostRecentLastWriteTimeFile () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet::get_MostRecentLastWriteTimeFile () - } - .property instance bool IsEverythingIncluded () - { - .get instance default bool NAnt.Core.Types.FileSet::get_IsEverythingIncluded () - } - .class nested public auto ansi beforefieldinit Exclude - extends NAnt.Core.Element - { - .field private string _pattern - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 187 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x726a - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method Exclude::.ctor - - // method line 188 - .method public virtual hidebysig newslot specialname - instance default string get_Pattern () cil managed + // method line 146 + .method public hidebysig specialname + instance default int32 get_Minutes () cil managed { - // Method begins at RVA 0x727c + // Method begins at RVA 0x78c4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.FileSet/Exclude::_pattern + IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_minutes IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Exclude::get_Pattern + } // end of method SleepTask::get_Minutes - // method line 189 - .method public virtual hidebysig newslot specialname - instance default void set_Pattern (string 'value') cil managed + // method line 147 + .method public hidebysig specialname + instance default void set_Minutes (int32 'value') cil managed { - // Method begins at RVA 0x7297 + // Method begins at RVA 0x78df // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.FileSet/Exclude::_pattern + IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_minutes IL_0008: ret - } // end of method Exclude::set_Pattern + } // end of method SleepTask::set_Minutes - // method line 190 - .method public virtual hidebysig newslot specialname - instance default bool get_IfDefined () cil managed + // method line 148 + .method public hidebysig specialname + instance default int32 get_Seconds () cil managed { - // Method begins at RVA 0x72a4 + // Method begins at RVA 0x78ec // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined + IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_seconds IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Exclude::get_IfDefined + } // end of method SleepTask::get_Seconds - // method line 191 - .method public virtual hidebysig newslot specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 149 + .method public hidebysig specialname + instance default void set_Seconds (int32 'value') cil managed { - // Method begins at RVA 0x72bf + // Method begins at RVA 0x7907 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined + IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_seconds IL_0008: ret - } // end of method Exclude::set_IfDefined + } // end of method SleepTask::set_Seconds - // method line 192 - .method public virtual hidebysig newslot specialname - instance default bool get_UnlessDefined () cil managed + // method line 150 + .method public hidebysig specialname + instance default int32 get_Milliseconds () cil managed { - // Method begins at RVA 0x72cc + // Method begins at RVA 0x7914 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/Exclude::_unlessDefined + IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_milliseconds IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Exclude::get_UnlessDefined + } // end of method SleepTask::get_Milliseconds - // method line 193 - .method public virtual hidebysig newslot specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 151 + .method public hidebysig specialname + instance default void set_Milliseconds (int32 'value') cil managed { - // Method begins at RVA 0x72e7 + // Method begins at RVA 0x792f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/Exclude::_unlessDefined + IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_milliseconds IL_0008: ret - } // end of method Exclude::set_UnlessDefined + } // end of method SleepTask::set_Milliseconds - .property instance string Pattern () + // method line 152 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x7939 + // Code size 32 (0x20) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance int32 class NAnt.Core.Tasks.SleepTask::GetSleepTime() + IL_0007: ldc.i4.0 + IL_0008: bge IL_001f + + IL_000d: nop + IL_000e: ldstr "Negative sleep periods are not supported." + IL_0013: ldarg.0 + IL_0014: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0019: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_001e: throw + IL_001f: ret + } // end of method SleepTask::Initialize + + // method line 153 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x795c + // Code size 47 (0x2f) + .maxstack 7 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance int32 class NAnt.Core.Tasks.SleepTask::GetSleepTime() + IL_0007: stloc.0 + IL_0008: ldarg.0 + IL_0009: ldc.i4 3000 + IL_000e: ldstr "Sleeping for {0} milliseconds." + IL_0013: ldc.i4.1 + IL_0014: newarr [mscorlib]System.Object + IL_0019: dup + IL_001a: ldc.i4.0 + IL_001b: ldloc.0 + IL_001c: box [mscorlib]System.Int32 + IL_0021: stelem.ref + IL_0022: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0027: ldarg.0 + IL_0028: ldloc.0 + IL_0029: call instance void class NAnt.Core.Tasks.SleepTask::DoSleep(int32) + IL_002e: ret + } // end of method SleepTask::ExecuteTask + + // method line 154 + .method private hidebysig + instance default int32 GetSleepTime () cil managed + { + // Method begins at RVA 0x7998 + // Code size 48 (0x30) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Hours() + IL_0007: ldc.i4.s 0x3c + IL_0009: mul + IL_000a: ldarg.0 + IL_000b: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Minutes() + IL_0010: add + IL_0011: ldc.i4.s 0x3c + IL_0013: mul + IL_0014: ldarg.0 + IL_0015: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Seconds() + IL_001a: add + IL_001b: ldc.i4 1000 + IL_0020: mul + IL_0021: ldarg.0 + IL_0022: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Milliseconds() + IL_0027: add + IL_0028: stloc.0 + IL_0029: br IL_002e + + IL_002e: ldloc.0 + IL_002f: ret + } // end of method SleepTask::GetSleepTime + + // method line 155 + .method private hidebysig + instance default void DoSleep (int32 millis) cil managed + { + // Method begins at RVA 0x79d4 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call void class [mscorlib]System.Threading.Thread::Sleep(int32) + IL_0007: ret + } // end of method SleepTask::DoSleep + + .property instance int32 Hours () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 68 6F 75 72 73 00 00 ) // ...hours.. - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ - .get instance default string NAnt.Core.Types.FileSet/Exclude::get_Pattern () - .set instance default void NAnt.Core.Types.FileSet/Exclude::set_Pattern (string 'value') + .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Hours () + .set instance default void NAnt.Core.Tasks.SleepTask::set_Hours (int32 'value') } - .property instance bool IfDefined () + .property instance int32 Minutes () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 69 6E 75 74 65 73 00 00 ) // ...minutes.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ - .get instance default bool NAnt.Core.Types.FileSet/Exclude::get_IfDefined () - .set instance default void NAnt.Core.Types.FileSet/Exclude::set_IfDefined (bool 'value') + .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Minutes () + .set instance default void NAnt.Core.Tasks.SleepTask::set_Minutes (int32 'value') } - .property instance bool UnlessDefined () + .property instance int32 Seconds () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 73 65 63 6F 6E 64 73 00 00 ) // ...seconds.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ - .get instance default bool NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined () - .set instance default void NAnt.Core.Types.FileSet/Exclude::set_UnlessDefined (bool 'value') + .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Seconds () + .set instance default void NAnt.Core.Tasks.SleepTask::set_Seconds (int32 'value') } - } // end of class Exclude + .property instance int32 Milliseconds () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6D 69 6C 6C 69 73 65 63 6F 6E 64 73 00 // ...milliseconds. + 00 ) // . - .class nested public auto ansi beforefieldinit Include - extends NAnt.Core.Types.FileSet/Exclude + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + + .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Milliseconds () + .set instance default void NAnt.Core.Tasks.SleepTask::set_Milliseconds (int32 'value') + } + } // end of class NAnt.Core.Tasks.SleepTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit SetEnvTask + extends NAnt.Core.Task { - .field private bool _asIs - .field private bool _fromPath + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 73 65 74 65 6E 76 00 00 ) // ...setenv.. - // method line 194 + .field private string _name + .field private string _value + .field private string _literalValue + .field private class [mscorlib]System.IO.FileInfo _file + .field private class [mscorlib]System.IO.DirectoryInfo _directory + .field private class NAnt.Core.Types.PathSet _path + .field private class NAnt.Core.Types.EnvironmentVariableCollection _environmentVariables + + // method line 156 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x72f1 - // Code size 7 (0x7) + // Method begins at RVA 0x79dd + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Types.FileSet/Exclude::'.ctor'() - IL_0006: ret - } // end of method Include::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentVariableCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method SetEnvTask::.ctor - // method line 195 + // method line 157 .method public hidebysig specialname - instance default bool get_AsIs () cil managed + instance default string get_EnvName () cil managed { - // Method begins at RVA 0x72fc + // Method begins at RVA 0x79f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/Include::_asIs + IL_0002: ldfld string NAnt.Core.Tasks.SetEnvTask::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Include::get_AsIs + } // end of method SetEnvTask::get_EnvName - // method line 196 + // method line 158 .method public hidebysig specialname - instance default void set_AsIs (bool 'value') cil managed + instance default void set_EnvName (string 'value') cil managed { - // Method begins at RVA 0x7317 - // Code size 9 (0x9) + // Method begins at RVA 0x7a0b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/Include::_asIs - IL_0008: ret - } // end of method Include::set_AsIs + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_name + IL_000d: ret + } // end of method SetEnvTask::set_EnvName - // method line 197 + // method line 159 .method public hidebysig specialname - instance default bool get_FromPath () cil managed + instance default string get_LiteralValue () cil managed { - // Method begins at RVA 0x7324 + // Method begins at RVA 0x7a1c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/Include::_fromPath + IL_0002: ldfld string NAnt.Core.Tasks.SetEnvTask::_literalValue IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Include::get_FromPath + } // end of method SetEnvTask::get_LiteralValue - // method line 198 + // method line 160 .method public hidebysig specialname - instance default void set_FromPath (bool 'value') cil managed + instance default void set_LiteralValue (string 'value') cil managed { - // Method begins at RVA 0x733f - // Code size 9 (0x9) + // Method begins at RVA 0x7a37 + // Code size 16 (0x10) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/Include::_fromPath - IL_0008: ret - } // end of method Include::set_FromPath + IL_0003: stfld string NAnt.Core.Tasks.SetEnvTask::_value + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: stfld string NAnt.Core.Tasks.SetEnvTask::_literalValue + IL_000f: ret + } // end of method SetEnvTask::set_LiteralValue - // method line 199 - .method public virtual hidebysig specialname - instance default string get_Pattern () cil managed + // method line 161 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x734c + // Method begins at RVA 0x7a48 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.SetEnvTask::_file IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Include::get_Pattern + } // end of method SetEnvTask::get_File - // method line 200 - .method public virtual hidebysig specialname - instance default void set_Pattern (string 'value') cil managed + // method line 162 + .method public hidebysig specialname + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x7367 - // Code size 9 (0x9) + // Method begins at RVA 0x7a63 + // Code size 21 (0x15) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet/Exclude::set_Pattern(string) - IL_0008: ret - } // end of method Include::set_Pattern + IL_0003: callvirt instance string object::ToString() + IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_value + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.SetEnvTask::_file + IL_0014: ret + } // end of method SetEnvTask::set_File - // method line 201 - .method public virtual hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 163 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x7374 + // Method begins at RVA 0x7a7c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Types.FileSet/Exclude::get_IfDefined() + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.SetEnvTask::_directory IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Include::get_IfDefined + } // end of method SetEnvTask::get_Directory - // method line 202 - .method public virtual hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 164 + .method public hidebysig specialname + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x738f - // Code size 9 (0x9) + // Method begins at RVA 0x7a97 + // Code size 21 (0x15) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet/Exclude::set_IfDefined(bool) - IL_0008: ret - } // end of method Include::set_IfDefined + IL_0003: callvirt instance string object::ToString() + IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_value + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.SetEnvTask::_directory + IL_0014: ret + } // end of method SetEnvTask::set_Directory - // method line 203 - .method public virtual hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 165 + .method public hidebysig specialname + instance default class NAnt.Core.Types.PathSet get_Path () cil managed { - // Method begins at RVA 0x739c + // Method begins at RVA 0x7ab0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.PathSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Tasks.SetEnvTask::_path IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Include::get_UnlessDefined + } // end of method SetEnvTask::get_Path - // method line 204 - .method public virtual hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 166 + .method public hidebysig specialname + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x73b7 - // Code size 9 (0x9) + // Method begins at RVA 0x7acb + // Code size 21 (0x15) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet/Exclude::set_UnlessDefined(bool) - IL_0008: ret - } // end of method Include::set_UnlessDefined + IL_0003: callvirt instance string object::ToString() + IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_value + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: stfld class NAnt.Core.Types.PathSet NAnt.Core.Tasks.SetEnvTask::_path + IL_0014: ret + } // end of method SetEnvTask::set_Path - .property instance bool AsIs () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 61 73 69 73 00 00 ) // ...asis.. + // method line 167 + .method public hidebysig specialname + instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed + { + // Method begins at RVA 0x7ae4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.EnvironmentVariableCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SetEnvTask::get_EnvironmentVariables - .get instance default bool NAnt.Core.Types.FileSet/Include::get_AsIs () - .set instance default void NAnt.Core.Types.FileSet/Include::set_AsIs (bool 'value') - } - .property instance bool FromPath () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 66 72 6F 6D 70 61 74 68 00 00 ) // ...frompath.. + // method line 168 + .method public hidebysig specialname + instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed + { + // Method begins at RVA 0x7aff + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables + IL_0008: ret + } // end of method SetEnvTask::set_EnvironmentVariables - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 169 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x7b09 + // Code size 47 (0x2f) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() + IL_0007: brtrue IL_002e - .get instance default bool NAnt.Core.Types.FileSet/Include::get_FromPath () - .set instance default void NAnt.Core.Types.FileSet/Include::set_FromPath (bool 'value') - } - .property instance string Pattern () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + IL_000c: ldarg.0 + IL_000d: call instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables() + IL_0012: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0017: brtrue IL_002e - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_001c: nop + IL_001d: ldstr "Either the \"name\" attribute or at least one nested element is required." + IL_0022: ldarg.0 + IL_0023: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_002d: throw + IL_002e: ret + } // end of method SetEnvTask::Initialize - .get instance default string NAnt.Core.Types.FileSet/Include::get_Pattern () - .set instance default void NAnt.Core.Types.FileSet/Include::set_Pattern (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + // method line 170 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x7b3c + // Code size 149 (0x95) + .maxstack 3 + .locals init ( + class NAnt.Core.Types.EnvironmentVariable V_0, + class NAnt.Core.Types.EnvironmentVariableEnumerator V_1, + class [mscorlib]System.IDisposable V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() + IL_0007: brfalse IL_002b - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables() + IL_0013: ldarg.0 + IL_0014: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() + IL_0019: ldarg.0 + IL_001a: ldfld string NAnt.Core.Tasks.SetEnvTask::_value + IL_001f: newobj instance void class NAnt.Core.Types.EnvironmentVariable::'.ctor'(string, string) + IL_0024: callvirt instance int32 class NAnt.Core.Types.EnvironmentVariableCollection::Add(class NAnt.Core.Types.EnvironmentVariable) + IL_0029: pop + IL_002a: nop + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: call instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables() + IL_0032: callvirt instance class NAnt.Core.Types.EnvironmentVariableEnumerator class NAnt.Core.Types.EnvironmentVariableCollection::GetEnumerator() + IL_0037: stloc.1 + .try { // 0 + IL_0038: br IL_0070 - .get instance default bool NAnt.Core.Types.FileSet/Include::get_IfDefined () - .set instance default void NAnt.Core.Types.FileSet/Include::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + IL_003d: ldloc.1 + IL_003e: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current() + IL_0043: stloc.0 + IL_0044: nop + IL_0045: ldloc.0 + IL_0046: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_IfDefined() + IL_004b: brfalse IL_006f - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0050: ldloc.0 + IL_0051: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() + IL_0056: brtrue IL_006f - .get instance default bool NAnt.Core.Types.FileSet/Include::get_UnlessDefined () - .set instance default void NAnt.Core.Types.FileSet/Include::set_UnlessDefined (bool 'value') - } - } // end of class Include + IL_005b: nop + IL_005c: ldarg.0 + IL_005d: ldloc.0 + IL_005e: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() + IL_0063: ldloc.0 + IL_0064: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() + IL_0069: call instance void class NAnt.Core.Tasks.SetEnvTask::SetSingleEnvironmentVariable(string, string) + IL_006e: nop + IL_006f: nop + IL_0070: ldloc.1 + IL_0071: callvirt instance bool class NAnt.Core.Types.EnvironmentVariableEnumerator::MoveNext() + IL_0076: brtrue IL_003d - .class nested public auto ansi beforefieldinit ExcludesFile - extends NAnt.Core.Element - { - .field private bool _ifDefined - .field private bool _unlessDefined - .field private class [mscorlib]System.IO.FileInfo _patternFile + IL_007b: leave IL_0094 - // method line 205 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x73c1 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.FileSet/ExcludesFile::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method ExcludesFile::.ctor + } // end .try 0 + finally { // 0 + IL_0080: ldloc.1 + IL_0081: isinst [mscorlib]System.IDisposable + IL_0086: dup + IL_0087: stloc.2 + IL_0088: brfalse IL_0093 - // method line 206 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Patterns () cil managed + IL_008d: ldloc.2 + IL_008e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0093: endfinally + } // end handler 0 + IL_0094: ret + } // end of method SetEnvTask::ExecuteTask + + // method line 171 + .method private hidebysig + instance default void SetSingleEnvironmentVariable (string name, string 'value') cil managed { - // Method begins at RVA 0x73d0 - // Code size 191 (0xbf) - .maxstack 3 + // Method begins at RVA 0x7bf0 + // Code size 95 (0x5f) + .maxstack 7 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class [System]System.Collections.Specialized.StringCollection V_1, - class [mscorlib]System.IO.StreamReader V_2, - string V_3, - class [mscorlib]System.Exception V_4) + string V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile() - IL_000d: brtrue IL_001a + IL_0001: ldarg.0 + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Setting environment variable \"{0}\" to \"{1}\"." + IL_000c: ldc.i4.2 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.1 + IL_0015: stelem.ref + IL_0016: dup + IL_0017: ldc.i4.1 + IL_0018: ldarg.2 + IL_0019: stelem.ref + IL_001a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: ldarg.2 + IL_0022: brfalse IL_0030 - IL_0012: nop - IL_0013: ldloc.0 - IL_0014: stloc.1 - IL_0015: br IL_00bd + IL_0027: nop + IL_0028: ldarg.2 + IL_0029: call string class [mscorlib]System.Environment::ExpandEnvironmentVariables(string) + IL_002e: stloc.0 + IL_002f: nop + .try { // 0 + IL_0030: nop + IL_0031: ldarg.1 + IL_0032: ldloc.0 + IL_0033: call void class [mscorlib]System.Environment::SetEnvironmentVariable(string, string) + IL_0038: nop + IL_0039: leave IL_005e - .try { // 1 - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile() - IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0026: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_002b: ldc.i4.1 - IL_002c: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_0031: stloc.2 - .try { // 0 - IL_0032: nop - IL_0033: ldloc.2 - IL_0034: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0039: stloc.3 - IL_003a: br IL_0072 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_003e: stloc.1 + IL_003f: nop + IL_0040: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0045: ldstr "Error setting environment variable \"{0}\" to \"{1}\"." + IL_004a: ldarg.1 + IL_004b: ldarg.2 + IL_004c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0051: ldarg.0 + IL_0052: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0057: ldloc.1 + IL_0058: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_005d: throw + } // end handler 0 + IL_005e: ret + } // end of method SetEnvTask::SetSingleEnvironmentVariable - IL_003f: nop - IL_0040: ldloc.3 - IL_0041: callvirt instance string string::Trim() - IL_0046: stloc.3 - IL_0047: ldloc.3 - IL_0048: callvirt instance int32 string::get_Length() - IL_004d: brfalse IL_006a + .property instance string EnvName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - IL_0052: ldloc.3 - IL_0053: ldc.i4.0 - IL_0054: callvirt instance char string::get_Chars(int32) - IL_0059: ldc.i4.s 0x23 - IL_005b: beq IL_006a + .get instance default string NAnt.Core.Tasks.SetEnvTask::get_EnvName () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_EnvName (string 'value') + } + .property instance string LiteralValue () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - IL_0060: nop - IL_0061: ldloc.0 - IL_0062: ldloc.3 - IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0068: pop - IL_0069: nop - IL_006a: ldloc.2 - IL_006b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0070: stloc.3 - IL_0071: nop - IL_0072: ldloc.3 - IL_0073: brtrue IL_003f + .get instance default string NAnt.Core.Tasks.SetEnvTask::get_LiteralValue () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_LiteralValue (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo File () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - IL_0078: nop - IL_0079: leave IL_008b + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.SetEnvTask::get_File () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_File (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - } // end .try 0 - finally { // 0 - IL_007e: ldloc.2 - IL_007f: brfalse IL_008a + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.SetEnvTask::get_Directory () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class NAnt.Core.Types.PathSet Path () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - IL_0084: ldloc.2 - IL_0085: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_008a: endfinally - } // end handler 0 - IL_008b: ldloc.0 - IL_008c: stloc.1 - IL_008d: leave IL_00bd + .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Tasks.SetEnvTask::get_Path () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_Path (class NAnt.Core.Types.PathSet 'value') + } + .property instance class NAnt.Core.Types.EnvironmentVariableCollection EnvironmentVariables () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 08 76 61 72 69 61 62 6C 65 01 00 54 50 0B // ...variable..TP. + 45 6C 65 6D 65 6E 74 54 79 70 65 23 4E 41 6E 74 // ElementType#NAnt + 2E 43 6F 72 65 2E 54 79 70 65 73 2E 45 6E 76 69 // .Core.Types.Envi + 72 6F 6E 6D 65 6E 74 56 61 72 69 61 62 6C 65 ) // ronmentVariable - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_0092: stloc.s 4 - IL_0094: nop - IL_0095: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_009a: ldstr "'{0}' list could not be opened." - IL_009f: ldarg.0 - IL_00a0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile() - IL_00a5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00aa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00af: ldarg.0 - IL_00b0: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00b5: ldloc.s 4 - IL_00b7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00bc: throw - } // end handler 1 - IL_00bd: ldloc.1 - IL_00be: ret - } // end of method ExcludesFile::get_Patterns + .get instance default class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') + } + } // end of class NAnt.Core.Tasks.SetEnvTask +} - // method line 207 - .method public virtual hidebysig newslot specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x74b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/ExcludesFile::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit PropertyTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 70 72 6F 70 65 72 74 79 00 00 ) // ...property.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExcludesFile::get_IfDefined + .field private string _name + .field private string _value + .field private bool _readOnly + .field private bool _dynamic + .field private bool _overwrite - // method line 208 - .method public virtual hidebysig newslot specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 172 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x74d3 - // Code size 9 (0x9) + // Method begins at RVA 0x7c6c + // Code size 25 (0x19) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/ExcludesFile::_ifDefined - IL_0008: ret - } // end of method ExcludesFile::set_IfDefined + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.Core.Tasks.PropertyTask::_value + IL_000b: ldarg.0 + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.Core.Tasks.PropertyTask::_overwrite + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.Task::'.ctor'() + IL_0018: ret + } // end of method PropertyTask::.ctor - // method line 209 - .method public virtual hidebysig newslot specialname - instance default bool get_UnlessDefined () cil managed + // method line 173 + .method public hidebysig specialname + instance default string get_PropertyName () cil managed { - // Method begins at RVA 0x74e0 + // Method begins at RVA 0x7c88 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/ExcludesFile::_unlessDefined + IL_0002: ldfld string NAnt.Core.Tasks.PropertyTask::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExcludesFile::get_UnlessDefined + } // end of method PropertyTask::get_PropertyName - // method line 210 - .method public virtual hidebysig newslot specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 174 + .method public hidebysig specialname + instance default void set_PropertyName (string 'value') cil managed { - // Method begins at RVA 0x74fb + // Method begins at RVA 0x7ca3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/ExcludesFile::_unlessDefined + IL_0003: stfld string NAnt.Core.Tasks.PropertyTask::_name IL_0008: ret - } // end of method ExcludesFile::set_UnlessDefined + } // end of method PropertyTask::set_PropertyName - // method line 211 + // method line 175 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_PatternFile () cil managed + instance default string get_Value () cil managed { - // Method begins at RVA 0x7508 + // Method begins at RVA 0x7cb0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::_patternFile + IL_0002: ldfld string NAnt.Core.Tasks.PropertyTask::_value IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExcludesFile::get_PatternFile + } // end of method PropertyTask::get_Value - // method line 212 + // method line 176 .method public hidebysig specialname - instance default void set_PatternFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0x7523 + // Method begins at RVA 0x7ccb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::_patternFile + IL_0003: stfld string NAnt.Core.Tasks.PropertyTask::_value IL_0008: ret - } // end of method ExcludesFile::set_PatternFile - - .property instance class [System]System.Collections.Specialized.StringCollection Patterns () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns () - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined () - .set instance default void NAnt.Core.Types.FileSet/ExcludesFile::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined () - .set instance default void NAnt.Core.Types.FileSet/ExcludesFile::set_UnlessDefined (bool 'value') - } - .property instance class [mscorlib]System.IO.FileInfo PatternFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile () - .set instance default void NAnt.Core.Types.FileSet/ExcludesFile::set_PatternFile (class [mscorlib]System.IO.FileInfo 'value') - } - } // end of class ExcludesFile - - .class nested public auto ansi beforefieldinit IncludesFile - extends NAnt.Core.Types.FileSet/ExcludesFile - { - .field private bool _asIs - .field private bool _fromPath - - // method line 213 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x752d - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Types.FileSet/ExcludesFile::'.ctor'() - IL_0006: ret - } // end of method IncludesFile::.ctor + } // end of method PropertyTask::set_Value - // method line 214 + // method line 177 .method public hidebysig specialname - instance default bool get_AsIs () cil managed + instance default bool get_ReadOnly () cil managed { - // Method begins at RVA 0x7538 + // Method begins at RVA 0x7cd8 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/IncludesFile::_asIs + IL_0002: ldfld bool NAnt.Core.Tasks.PropertyTask::_readOnly IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IncludesFile::get_AsIs + } // end of method PropertyTask::get_ReadOnly - // method line 215 + // method line 178 .method public hidebysig specialname - instance default void set_AsIs (bool 'value') cil managed + instance default void set_ReadOnly (bool 'value') cil managed { - // Method begins at RVA 0x7553 + // Method begins at RVA 0x7cf3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/IncludesFile::_asIs + IL_0003: stfld bool NAnt.Core.Tasks.PropertyTask::_readOnly IL_0008: ret - } // end of method IncludesFile::set_AsIs + } // end of method PropertyTask::set_ReadOnly - // method line 216 + // method line 179 .method public hidebysig specialname - instance default bool get_FromPath () cil managed + instance default bool get_Dynamic () cil managed { - // Method begins at RVA 0x7560 + // Method begins at RVA 0x7d00 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/IncludesFile::_fromPath + IL_0002: ldfld bool NAnt.Core.Tasks.PropertyTask::_dynamic IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IncludesFile::get_FromPath + } // end of method PropertyTask::get_Dynamic - // method line 217 + // method line 180 .method public hidebysig specialname - instance default void set_FromPath (bool 'value') cil managed + instance default void set_Dynamic (bool 'value') cil managed { - // Method begins at RVA 0x757b + // Method begins at RVA 0x7d1b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet/IncludesFile::_fromPath + IL_0003: stfld bool NAnt.Core.Tasks.PropertyTask::_dynamic IL_0008: ret - } // end of method IncludesFile::set_FromPath + } // end of method PropertyTask::set_Dynamic - // method line 218 - .method public virtual hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 181 + .method public hidebysig specialname + instance default bool get_Overwrite () cil managed { - // Method begins at RVA 0x7588 + // Method begins at RVA 0x7d28 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined() + IL_0002: ldfld bool NAnt.Core.Tasks.PropertyTask::_overwrite IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IncludesFile::get_IfDefined + } // end of method PropertyTask::get_Overwrite - // method line 219 - .method public virtual hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 182 + .method public hidebysig specialname + instance default void set_Overwrite (bool 'value') cil managed { - // Method begins at RVA 0x75a3 + // Method begins at RVA 0x7d43 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet/ExcludesFile::set_IfDefined(bool) + IL_0003: stfld bool NAnt.Core.Tasks.PropertyTask::_overwrite IL_0008: ret - } // end of method IncludesFile::set_IfDefined + } // end of method PropertyTask::set_Overwrite - // method line 220 - .method public virtual hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 183 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x75b0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x7d50 + // Code size 726 (0x2d6) + .maxstack 7 .locals init ( - bool V_0) + string V_0, + class NAnt.Core.FrameworkInfo V_1, + class [mscorlib]System.Collections.ArrayList V_2, + class NAnt.Core.FrameworkInfo V_3, + class NAnt.Core.FrameworkInfoDictionaryEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + string V_6) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() + IL_0007: brtrue IL_002b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IncludesFile::get_UnlessDefined + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0013: ldarg.0 + IL_0014: call instance string class NAnt.Core.Tasks.PropertyTask::get_Value() + IL_0019: ldarg.0 + IL_001a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_001f: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) + IL_0024: stloc.0 + IL_0025: nop + IL_0026: br IL_0034 - // method line 221 - .method public virtual hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x75cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet/ExcludesFile::set_UnlessDefined(bool) - IL_0008: ret - } // end of method IncludesFile::set_UnlessDefined + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: call instance string class NAnt.Core.Tasks.PropertyTask::get_Value() + IL_0032: stloc.0 + IL_0033: nop + IL_0034: ldarg.0 + IL_0035: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_003a: ldstr "nant.settings.currentframework" + IL_003f: call bool string::op_Equality(string, string) + IL_0044: brfalse IL_01b5 - .property instance bool AsIs () + IL_0049: nop + IL_004a: ldarg.0 + IL_004b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0050: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_0055: ldloc.0 + IL_0056: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_005b: stloc.1 + IL_005c: ldloc.1 + IL_005d: brfalse IL_00ea + + IL_0062: nop + IL_0063: ldarg.0 + IL_0064: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0069: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_006e: brfalse IL_00b8 + + IL_0073: nop + IL_0074: ldarg.0 + IL_0075: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_007a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_007f: ldloc.1 + IL_0080: beq IL_00b2 + + IL_0085: nop + IL_0086: ldarg.0 + IL_0087: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_008c: ldloc.1 + IL_008d: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) + IL_0092: ldarg.0 + IL_0093: ldc.i4 3000 + IL_0098: ldstr "Target framework changed to \"{0}\"." + IL_009d: ldc.i4.1 + IL_009e: newarr [mscorlib]System.Object + IL_00a3: dup + IL_00a4: ldc.i4.0 + IL_00a5: ldloc.1 + IL_00a6: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_00ab: stelem.ref + IL_00ac: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00b1: nop + IL_00b2: nop + IL_00b3: br IL_00e5 + + IL_00b8: nop + IL_00b9: ldarg.0 + IL_00ba: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00bf: ldloc.1 + IL_00c0: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) + IL_00c5: ldarg.0 + IL_00c6: ldc.i4 3000 + IL_00cb: ldstr "Target framework set to \"{0}\"." + IL_00d0: ldc.i4.1 + IL_00d1: newarr [mscorlib]System.Object + IL_00d6: dup + IL_00d7: ldc.i4.0 + IL_00d8: ldloc.1 + IL_00d9: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_00de: stelem.ref + IL_00df: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00e4: nop + IL_00e5: br IL_02d5 + + IL_00ea: nop + IL_00eb: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_00f0: stloc.2 + IL_00f1: nop + IL_00f2: ldarg.0 + IL_00f3: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00f8: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_00fd: callvirt instance class NAnt.Core.FrameworkInfoDictionaryEnumerator class NAnt.Core.FrameworkInfoDictionary::GetEnumerator() + IL_0102: stloc.s 4 + .try { // 0 + IL_0104: br IL_0120 + + IL_0109: ldloc.s 4 + IL_010b: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Current() + IL_0110: stloc.3 + IL_0111: nop + IL_0112: ldloc.2 + IL_0113: ldloc.3 + IL_0114: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_0119: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_011e: pop + IL_011f: nop + IL_0120: ldloc.s 4 + IL_0122: callvirt instance bool class NAnt.Core.FrameworkInfoDictionaryEnumerator::MoveNext() + IL_0127: brtrue IL_0109 + + IL_012c: leave IL_0148 + + } // end .try 0 + finally { // 0 + IL_0131: ldloc.s 4 + IL_0133: isinst [mscorlib]System.IDisposable + IL_0138: dup + IL_0139: stloc.s 5 + IL_013b: brfalse IL_0147 + + IL_0140: ldloc.s 5 + IL_0142: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0147: endfinally + } // end handler 0 + IL_0148: ldsfld string [mscorlib]System.String::Empty + IL_014d: stloc.s 6 + IL_014f: ldloc.2 + IL_0150: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0155: ldc.i4.0 + IL_0156: ble IL_0192 + + IL_015b: nop + IL_015c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0161: ldstr "String_ValidValues" + IL_0166: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_016b: ldstr ", " + IL_0170: ldloc.2 + IL_0171: ldtoken [mscorlib]System.String + IL_0176: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_017b: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_0180: castclass string[] + IL_0185: call string string::Join(string, string[]) + IL_018a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_018f: stloc.s 6 + IL_0191: nop + IL_0192: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0197: ldstr "NA1143" + IL_019c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01a1: ldloc.0 + IL_01a2: ldloc.s 6 + IL_01a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_01a9: ldarg.0 + IL_01aa: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_01af: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_01b4: throw + IL_01b5: ldarg.0 + IL_01b6: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01bb: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_01c0: ldarg.0 + IL_01c1: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_01c6: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_01cb: brtrue IL_022d + + IL_01d0: nop + IL_01d1: ldarg.0 + IL_01d2: call instance bool class NAnt.Core.Tasks.PropertyTask::get_ReadOnly() + IL_01d7: brfalse IL_01f5 + + IL_01dc: nop + IL_01dd: ldarg.0 + IL_01de: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_01e3: ldarg.0 + IL_01e4: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_01e9: ldloc.0 + IL_01ea: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_01ef: nop + IL_01f0: br IL_0209 + + IL_01f5: nop + IL_01f6: ldarg.0 + IL_01f7: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_01fc: ldarg.0 + IL_01fd: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_0202: ldloc.0 + IL_0203: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0208: nop + IL_0209: ldarg.0 + IL_020a: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() + IL_020f: brfalse IL_0227 + + IL_0214: nop + IL_0215: ldarg.0 + IL_0216: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_021b: ldarg.0 + IL_021c: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_0221: callvirt instance void class NAnt.Core.PropertyDictionary::MarkDynamic(string) + IL_0226: nop + IL_0227: nop + IL_0228: br IL_02d5 + + IL_022d: nop + IL_022e: ldarg.0 + IL_022f: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Overwrite() + IL_0234: brfalse IL_02b3 + + IL_0239: nop + IL_023a: ldarg.0 + IL_023b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0240: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0245: ldarg.0 + IL_0246: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_024b: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_0250: brfalse IL_027b + + IL_0255: nop + IL_0256: ldarg.0 + IL_0257: ldc.i4 4000 + IL_025c: ldstr "Read-only property \"{0}\" cannot be overwritten." + IL_0261: ldc.i4.1 + IL_0262: newarr [mscorlib]System.Object + IL_0267: dup + IL_0268: ldc.i4.0 + IL_0269: ldarg.0 + IL_026a: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_026f: stelem.ref + IL_0270: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0275: nop + IL_0276: br IL_02ad + + IL_027b: nop + IL_027c: ldarg.0 + IL_027d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0282: ldarg.0 + IL_0283: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_0288: ldloc.0 + IL_0289: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_028e: ldarg.0 + IL_028f: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() + IL_0294: brfalse IL_02ac + + IL_0299: nop + IL_029a: ldarg.0 + IL_029b: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_02a0: ldarg.0 + IL_02a1: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_02a6: callvirt instance void class NAnt.Core.PropertyDictionary::MarkDynamic(string) + IL_02ab: nop + IL_02ac: nop + IL_02ad: nop + IL_02ae: br IL_02d4 + + IL_02b3: nop + IL_02b4: ldarg.0 + IL_02b5: ldc.i4 2000 + IL_02ba: ldstr "Property \"{0}\" already exists, and \"overwrite\" is set to false." + IL_02bf: ldc.i4.1 + IL_02c0: newarr [mscorlib]System.Object + IL_02c5: dup + IL_02c6: ldc.i4.0 + IL_02c7: ldarg.0 + IL_02c8: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() + IL_02cd: stelem.ref + IL_02ce: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_02d3: nop + IL_02d4: nop + IL_02d5: ret + } // end of method PropertyTask::ExecuteTask + + .property instance string PropertyName () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 61 73 69 73 00 00 ) // ...asis.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_AsIs () - .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_AsIs (bool 'value') + .get instance default string NAnt.Core.Tasks.PropertyTask::get_PropertyName () + .set instance default void NAnt.Core.Tasks.PropertyTask::set_PropertyName (string 'value') } - .property instance bool FromPath () + .property instance string Value () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 66 72 6F 6D 70 61 74 68 00 00 ) // ...frompath.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 76 61 6C 75 65 02 00 54 02 08 52 65 71 // ...value..T..Req + 75 69 72 65 64 01 54 02 10 45 78 70 61 6E 64 50 // uired.T..ExpandP + 72 6F 70 65 72 74 69 65 73 00 ) // roperties. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. - .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_FromPath () - .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_FromPath (bool 'value') + .get instance default string NAnt.Core.Tasks.PropertyTask::get_Value () + .set instance default void NAnt.Core.Tasks.PropertyTask::set_Value (string 'value') } - .property instance bool IfDefined () + .property instance bool ReadOnly () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 72 65 61 64 6F 6E 6C 79 01 00 54 02 08 // ...readonly..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_IfDefined () - .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_IfDefined (bool 'value') + .get instance default bool NAnt.Core.Tasks.PropertyTask::get_ReadOnly () + .set instance default void NAnt.Core.Tasks.PropertyTask::set_ReadOnly (bool 'value') } - .property instance bool UnlessDefined () + .property instance bool Dynamic () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 64 79 6E 61 6D 69 63 01 00 54 02 08 52 // ...dynamic..T..R + 65 71 75 69 72 65 64 00 ) // equired. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_UnlessDefined () - .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_UnlessDefined (bool 'value') + .get instance default bool NAnt.Core.Tasks.PropertyTask::get_Dynamic () + .set instance default void NAnt.Core.Tasks.PropertyTask::set_Dynamic (bool 'value') } - } // end of class IncludesFile + .property instance bool Overwrite () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6F 76 65 72 77 72 69 74 65 01 00 54 02 // ...overwrite..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - } // end of class NAnt.Core.Types.FileSet + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.PropertyTask::get_Overwrite () + .set instance default void NAnt.Core.Tasks.PropertyTask::set_Overwrite (bool 'value') + } + } // end of class NAnt.Core.Tasks.PropertyTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi serializable beforefieldinit PatternCollection - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .class public auto ansi beforefieldinit DeleteTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 64 65 6C 65 74 65 00 00 ) // ...delete.. - .field private initonly class [mscorlib]System.Collections.ArrayList _list + .field private class [mscorlib]System.IO.FileInfo _file + .field private class [mscorlib]System.IO.DirectoryInfo _dir + .field private class NAnt.Core.Types.FileSet _fileset + .field private bool _includeEmptyDirs - // method line 222 + // method line 184 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x75d5 - // Code size 19 (0x13) + // Method begins at RVA 0x8044 + // Code size 25 (0x19) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_000d: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::_list - IL_0012: ret - } // end of method PatternCollection::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::_fileset + IL_000b: ldarg.0 + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.Core.Tasks.DeleteTask::_includeEmptyDirs + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.Task::'.ctor'() + IL_0018: ret + } // end of method DeleteTask::.ctor - // method line 223 + // method line 185 .method public hidebysig specialname - instance default class NAnt.Core.Types.Pattern get_Item (int32 index) cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x75ec - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x8060 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Types.Pattern V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.Pattern - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.DeleteTask::_file + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method PatternCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_File - // method line 224 + // method line 186 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x7612 - // Code size 15 (0xf) + // Method begins at RVA 0x807b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_000e: ret - } // end of method PatternCollection::set_Item + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.DeleteTask::_file + IL_0008: ret + } // end of method DeleteTask::set_File - // method line 225 - .method private hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed + // method line 187 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x7624 + // Method begins at RVA 0x8088 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::_list + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.DeleteTask::_dir IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternCollection::get_List + } // end of method DeleteTask::get_Directory - // method line 226 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed + // method line 188 + .method public hidebysig specialname + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x7640 - // Code size 20 (0x14) + // Method begins at RVA 0x80a3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.DeleteTask::_dir + IL_0008: ret + } // end of method DeleteTask::set_Directory + + // method line 189 + .method public hidebysig specialname + instance default bool get_IncludeEmptyDirs () cil managed + { + // Method begins at RVA 0x80b0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.Core.Tasks.DeleteTask::_includeEmptyDirs + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::get_Count + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_IncludeEmptyDirs - // method line 227 - .method private final virtual hidebysig newslot - instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + // method line 190 + .method public hidebysig specialname + instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x7660 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) - // Code size 15 (0xf) + // Method begins at RVA 0x80cb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method PatternCollection::System.Collections.ICollection.CopyTo + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.DeleteTask::_includeEmptyDirs + IL_0008: ret + } // end of method DeleteTask::set_IncludeEmptyDirs - // method line 228 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed + // method line 191 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_DeleteFileSet () cil managed { - // Method begins at RVA 0x7670 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_IsSynchronized due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x80d8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance bool class [mscorlib]System.Collections.ArrayList::get_IsSynchronized() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::_fileset + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::System.Collections.ICollection.get_IsSynchronized + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_DeleteFileSet - // method line 229 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.ICollection.get_SyncRoot () cil managed + // method line 192 + .method public hidebysig specialname + instance default void set_DeleteFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x7690 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_SyncRoot due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0x80f3 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_SyncRoot() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::System.Collections.ICollection.get_SyncRoot + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::_fileset + IL_0008: ret + } // end of method DeleteTask::set_DeleteFileSet - // method line 230 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 193 + .method public virtual hidebysig specialname + instance default bool get_Verbose () cil managed { - // Method begins at RVA 0x76b0 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x8100 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: call instance bool class NAnt.Core.Task::get_Verbose() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::System.Collections.IEnumerable.GetEnumerator + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_Verbose - // method line 231 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IList.get_Item (int32 index) cil managed + // method line 194 + .method public virtual hidebysig specialname + instance default void set_Verbose (bool 'value') cil managed { - // Method begins at RVA 0x76d0 - .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - object V_0) + // Method begins at RVA 0x811b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternCollection::get_Item(int32) - IL_0008: stloc.0 - IL_0009: br IL_000e - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PatternCollection::System.Collections.IList.get_Item + IL_0003: call instance void class NAnt.Core.Task::set_Verbose(bool) + IL_0008: ret + } // end of method DeleteTask::set_Verbose - // method line 232 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + // method line 195 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x76ec - .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) - // Code size 81 (0x51) - .maxstack 3 + // Method begins at RVA 0x8128 + // Code size 103 (0x67) + .maxstack 2 IL_0000: nop - IL_0001: ldarg.2 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() + IL_0007: brfalse IL_0029 - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: ldarg.2 - IL_0046: castclass NAnt.Core.Types.Pattern - IL_004b: call instance void class NAnt.Core.Types.PatternCollection::set_Item(int32, class NAnt.Core.Types.Pattern) - IL_0050: ret - } // end of method PatternCollection::System.Collections.IList.set_Item + IL_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() + IL_0012: brfalse IL_0029 - // method line 233 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.IList.get_IsFixedSize () cil managed - { - // Method begins at RVA 0x774c - .override Could not decode method override class [mscorlib]System.Collections.IList::get_IsFixedSize due to (null) - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0017: nop + IL_0018: ldstr "Cannot specify both 'file' and 'dir' attribute in the same task." + IL_001d: ldarg.0 + IL_001e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0023: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() + IL_002f: brtrue IL_003f - IL_0008: ldloc.0 - IL_0009: ret - } // end of method PatternCollection::System.Collections.IList.get_IsFixedSize + IL_0034: ldarg.0 + IL_0035: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() + IL_003a: brfalse IL_0066 - // method line 234 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.IList.get_IsReadOnly () cil managed - { - // Method begins at RVA 0x7764 - .override Could not decode method override class [mscorlib]System.Collections.IList::get_IsReadOnly due to (null) - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_003f: ldarg.0 + IL_0040: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_0045: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_004a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_004f: brfalse IL_0066 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method PatternCollection::System.Collections.IList.get_IsReadOnly + IL_0054: nop + IL_0055: ldstr "Cannot specify both 'file' or 'dir' attribute and use in the same task." + IL_005a: ldarg.0 + IL_005b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0060: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0065: throw + IL_0066: ret + } // end of method DeleteTask::Initialize - // method line 235 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.Add (object 'value') cil managed + // method line 196 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x777c - .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) - // Code size 87 (0x57) - .maxstack 3 + // Method begins at RVA 0x819c + // Code size 631 (0x277) + .maxstack 7 .locals init ( - int32 V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + int32 V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + string[] V_6, + class [mscorlib]System.Exception V_7, + string V_8, + class [mscorlib]System.IDisposable V_9) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_0018: ldarg.0 + IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() + IL_0034: brfalse IL_0052 - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_004f: stloc.0 - IL_0050: br IL_0055 + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: ldarg.0 + IL_003c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() + IL_0041: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0046: ldc.i4.1 + IL_0047: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteFile(string, bool) + IL_004c: nop + IL_004d: br IL_0276 - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.Add + IL_0052: ldarg.0 + IL_0053: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() + IL_0058: brfalse IL_00bc - // method line 236 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IList.Contains (object 'value') cil managed - { - // Method begins at RVA 0x77e0 - .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) - // Code size 87 (0x57) - .maxstack 3 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_005d: nop + IL_005e: ldarg.0 + IL_005f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() + IL_0064: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0069: brtrue IL_0074 - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_006e: nop + IL_006f: br IL_0276 - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance bool class NAnt.Core.Types.PatternCollection::Contains(class NAnt.Core.Types.Pattern) - IL_004f: stloc.0 - IL_0050: br IL_0055 + IL_0074: ldarg.0 + IL_0075: callvirt instance bool class NAnt.Core.Task::get_Verbose() + IL_007a: brtrue IL_00a5 - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.Contains + IL_007f: nop + IL_0080: ldarg.0 + IL_0081: ldc.i4 3000 + IL_0086: ldstr "Deleting directory '{0}'." + IL_008b: ldc.i4.1 + IL_008c: newarr [mscorlib]System.Object + IL_0091: dup + IL_0092: ldc.i4.0 + IL_0093: ldarg.0 + IL_0094: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() + IL_0099: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_009e: stelem.ref + IL_009f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00a4: nop + IL_00a5: ldarg.0 + IL_00a6: ldarg.0 + IL_00a7: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() + IL_00ac: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00b1: call instance void class NAnt.Core.Tasks.DeleteTask::RecursiveDeleteDirectory(string) + IL_00b6: nop + IL_00b7: br IL_0276 - // method line 237 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed - { - // Method begins at RVA 0x7843 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() - IL_000c: ret - } // end of method PatternCollection::Clear + IL_00bc: nop + IL_00bd: ldarg.0 + IL_00be: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_00c3: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_00c8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00cd: ldc.i4.0 + IL_00ce: ble IL_0154 - // method line 238 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed - { - // Method begins at RVA 0x7854 - .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) - // Code size 87 (0x57) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_00d3: nop + IL_00d4: ldarg.0 + IL_00d5: ldc.i4 3000 + IL_00da: ldstr "Deleting {0} files." + IL_00df: ldc.i4.1 + IL_00e0: newarr [mscorlib]System.Object + IL_00e5: dup + IL_00e6: ldc.i4.0 + IL_00e7: ldarg.0 + IL_00e8: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_00ed: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_00f2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00f7: box [mscorlib]System.Int32 + IL_00fc: stelem.ref + IL_00fd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0102: nop + IL_0103: ldarg.0 + IL_0104: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_0109: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_010e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0113: stloc.1 + .try { // 0 + IL_0114: br IL_012f - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_0119: ldloc.1 + IL_011a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_011f: stloc.0 + IL_0120: nop + IL_0121: ldarg.0 + IL_0122: ldloc.0 + IL_0123: ldarg.0 + IL_0124: callvirt instance bool class NAnt.Core.Task::get_Verbose() + IL_0129: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteFile(string, bool) + IL_012e: nop + IL_012f: ldloc.1 + IL_0130: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0135: brtrue IL_0119 - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance int32 class NAnt.Core.Types.PatternCollection::IndexOf(class NAnt.Core.Types.Pattern) - IL_004f: stloc.0 - IL_0050: br IL_0055 + IL_013a: leave IL_0153 - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.IndexOf + } // end .try 0 + finally { // 0 + IL_013f: ldloc.1 + IL_0140: isinst [mscorlib]System.IDisposable + IL_0145: dup + IL_0146: stloc.2 + IL_0147: brfalse IL_0152 - // method line 239 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed - { - // Method begins at RVA 0x78b8 - .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) - // Code size 81 (0x51) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: brtrue IL_0013 + IL_014c: ldloc.2 + IL_014d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0152: endfinally + } // end handler 0 + IL_0153: nop + IL_0154: ldarg.0 + IL_0155: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_015a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_015f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0164: ldc.i4.0 + IL_0165: ble IL_0275 - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_016a: ldarg.0 + IL_016b: call instance bool class NAnt.Core.Tasks.DeleteTask::get_IncludeEmptyDirs() + IL_0170: brfalse IL_0275 - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: ldarg.2 - IL_0046: castclass NAnt.Core.Types.Pattern - IL_004b: call instance void class NAnt.Core.Types.PatternCollection::Insert(int32, class NAnt.Core.Types.Pattern) - IL_0050: ret - } // end of method PatternCollection::System.Collections.IList.Insert + IL_0175: nop + IL_0176: ldc.i4.0 + IL_0177: stloc.3 + IL_0178: nop + IL_0179: ldarg.0 + IL_017a: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() + IL_017f: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0184: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0189: stloc.s 5 + .try { // 2 + IL_018b: br IL_0224 - // method line 240 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Remove (object 'value') cil managed - { - // Method begins at RVA 0x7918 - .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) - // Code size 80 (0x50) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0190: ldloc.s 5 + IL_0192: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0197: stloc.s 4 + IL_0199: nop + IL_019a: ldloc.s 4 + IL_019c: call string[] class [mscorlib]System.IO.Directory::GetFileSystemEntries(string) + IL_01a1: stloc.s 6 + IL_01a3: ldloc.s 6 + IL_01a5: brfalse IL_01b3 - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_01aa: ldloc.s 6 + IL_01ac: ldlen + IL_01ad: conv.i4 + IL_01ae: brtrue IL_0223 - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance void class NAnt.Core.Types.PatternCollection::Remove(class NAnt.Core.Types.Pattern) - IL_004f: ret - } // end of method PatternCollection::System.Collections.IList.Remove + IL_01b3: nop + .try { // 1 + IL_01b4: nop + IL_01b5: ldarg.0 + IL_01b6: ldloc.s 4 + IL_01b8: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteDirectory(string) + IL_01bd: ldloc.3 + IL_01be: ldc.i4.1 + IL_01bf: add + IL_01c0: stloc.3 + IL_01c1: nop + IL_01c2: leave IL_0222 - // method line 241 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.RemoveAt (int32 index) cil managed - { - // Method begins at RVA 0x7974 - .override Could not decode method override class [mscorlib]System.Collections.IList::RemoveAt due to (null) - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) - IL_000d: ret - } // end of method PatternCollection::System.Collections.IList.RemoveAt + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_01c7: stloc.s 7 + IL_01c9: nop + IL_01ca: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01cf: ldstr "NA1113" + IL_01d4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01d9: ldloc.s 4 + IL_01db: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01e0: stloc.s 8 + IL_01e2: ldarg.0 + IL_01e3: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_01e8: brfalse IL_01fe - // method line 242 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Pattern item) cil managed - { - // Method begins at RVA 0x7984 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_01ed: nop + IL_01ee: ldloc.s 8 + IL_01f0: ldarg.0 + IL_01f1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_01f6: ldloc.s 7 + IL_01f8: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_01fd: throw + IL_01fe: ldarg.0 + IL_01ff: ldc.i4 4000 + IL_0204: ldloc.s 8 + IL_0206: ldstr " " + IL_020b: ldloc.s 7 + IL_020d: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0212: call string string::Concat(string, string, string) + IL_0217: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_021c: nop + IL_021d: leave IL_0222 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PatternCollection::Add + } // end handler 1 + IL_0222: nop + IL_0223: nop + IL_0224: ldloc.s 5 + IL_0226: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_022b: brtrue IL_0190 - // method line 243 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Pattern[] items) cil managed - { - // Method begins at RVA 0x79a8 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0230: leave IL_024c - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + } // end .try 2 + finally { // 2 + IL_0235: ldloc.s 5 + IL_0237: isinst [mscorlib]System.IDisposable + IL_023c: dup + IL_023d: stloc.s 9 + IL_023f: brfalse IL_024b - IL_0021: ret - } // end of method PatternCollection::AddRange + IL_0244: ldloc.s 9 + IL_0246: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_024b: endfinally + } // end handler 2 + IL_024c: ldloc.3 + IL_024d: ldc.i4.0 + IL_024e: ble IL_0274 - // method line 244 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.PatternCollection items) cil managed + IL_0253: nop + IL_0254: ldarg.0 + IL_0255: ldc.i4 3000 + IL_025a: ldstr "Deleted {0} directories." + IL_025f: ldc.i4.1 + IL_0260: newarr [mscorlib]System.Object + IL_0265: dup + IL_0266: ldc.i4.0 + IL_0267: ldloc.3 + IL_0268: box [mscorlib]System.Int32 + IL_026d: stelem.ref + IL_026e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0273: nop + IL_0274: nop + IL_0275: nop + IL_0276: ret + } // end of method DeleteTask::ExecuteTask + + // method line 197 + .method private hidebysig + instance default void RecursiveDeleteDirectory (string path) cil managed { - // Method begins at RVA 0x79d8 - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0x8448 + // Code size 363 (0x16b) + .maxstack 7 .locals init ( - int32 V_0) + string[] V_0, + string V_1, + string[] V_2, + int32 V_3, + string[] V_4, + string V_5, + string[] V_6, + int32 V_7, + class [mscorlib]System.Exception V_8, + string V_9, + class NAnt.Core.BuildException V_10, + class [mscorlib]System.Exception V_11, + string V_12) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + .try { // 1 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0008: brtrue IL_0013 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() - IL_0023: blt IL_0008 + IL_000d: nop + IL_000e: leave IL_016a - IL_0028: ret - } // end of method PatternCollection::AddRange + IL_0013: ldarg.1 + IL_0014: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: stloc.2 + IL_001d: ldc.i4.0 + IL_001e: stloc.3 + IL_001f: br IL_0035 - // method line 245 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Pattern item) cil managed - { - // Method begins at RVA 0x7a10 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0024: ldloc.2 + IL_0025: ldloc.3 + IL_0026: ldelem.ref + IL_0027: stloc.1 + IL_0028: nop + IL_0029: ldarg.0 + IL_002a: ldloc.1 + IL_002b: call instance void class NAnt.Core.Tasks.DeleteTask::RecursiveDeleteDirectory(string) + IL_0030: nop + 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_0024 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PatternCollection::Contains + IL_003e: ldarg.1 + IL_003f: call string[] class [mscorlib]System.IO.Directory::GetFiles(string) + IL_0044: stloc.s 4 + IL_0046: nop + IL_0047: ldloc.s 4 + IL_0049: stloc.s 6 + IL_004b: ldc.i4.0 + IL_004c: stloc.s 7 + IL_004e: br IL_00f2 - // method line 246 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Pattern[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x7a31 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method PatternCollection::CopyTo + IL_0053: ldloc.s 6 + IL_0055: ldloc.s 7 + IL_0057: ldelem.ref + IL_0058: stloc.s 5 + IL_005a: nop + .try { // 0 + IL_005b: nop + IL_005c: ldloc.s 5 + IL_005e: ldc.i4 128 + IL_0063: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_0068: ldarg.0 + IL_0069: ldc.i4 2000 + IL_006e: ldstr "Deleting file '{0}'." + IL_0073: ldc.i4.1 + IL_0074: newarr [mscorlib]System.Object + IL_0079: dup + IL_007a: ldc.i4.0 + IL_007b: ldloc.s 5 + IL_007d: stelem.ref + IL_007e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0083: ldloc.s 5 + IL_0085: call void class [mscorlib]System.IO.File::Delete(string) + IL_008a: nop + IL_008b: leave IL_00eb - // method line 247 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Pattern item) cil managed - { - // Method begins at RVA 0x7a44 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0090: stloc.s 8 + IL_0092: nop + IL_0093: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0098: ldstr "NA1114" + IL_009d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00a2: ldloc.s 5 + IL_00a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00a9: stloc.s 9 + IL_00ab: ldarg.0 + IL_00ac: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_00b1: brfalse IL_00c7 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PatternCollection::IndexOf + IL_00b6: nop + IL_00b7: ldloc.s 9 + IL_00b9: ldarg.0 + IL_00ba: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00bf: ldloc.s 8 + IL_00c1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00c6: throw + IL_00c7: ldarg.0 + IL_00c8: ldc.i4 2000 + IL_00cd: ldloc.s 9 + IL_00cf: ldstr " " + IL_00d4: ldloc.s 8 + IL_00d6: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_00db: call string string::Concat(string, string, string) + IL_00e0: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_00e5: nop + IL_00e6: leave IL_00eb - // method line 248 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Pattern item) cil managed - { - // Method begins at RVA 0x7a65 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) - IL_000e: ret - } // end of method PatternCollection::Insert + } // end handler 0 + IL_00eb: nop + IL_00ec: ldloc.s 7 + IL_00ee: ldc.i4.1 + IL_00ef: add + IL_00f0: stloc.s 7 + IL_00f2: ldloc.s 7 + IL_00f4: ldloc.s 6 + IL_00f6: ldlen + IL_00f7: conv.i4 + IL_00f8: blt IL_0053 - // method line 249 - .method public hidebysig - instance default class NAnt.Core.Types.PatternEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x7a78 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.PatternEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.PatternEnumerator::'.ctor'(class NAnt.Core.Types.PatternCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00fd: ldarg.0 + IL_00fe: ldarg.1 + IL_00ff: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteDirectory(string) + IL_0104: nop + IL_0105: leave IL_016a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PatternCollection::GetEnumerator + } // end .try 1 + catch class NAnt.Core.BuildException { // 1 + IL_010a: stloc.s 10 + IL_010c: nop + IL_010d: ldloc.s 10 + IL_010f: throw + } // end handler 1 + catch class [mscorlib]System.Exception { // 2 + IL_0110: stloc.s 11 + IL_0112: nop + IL_0113: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0118: ldstr "NA1113" + IL_011d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0122: ldarg.1 + IL_0123: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0128: stloc.s 12 + IL_012a: ldarg.0 + IL_012b: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0130: brfalse IL_0146 - // method line 250 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Pattern item) cil managed + IL_0135: nop + IL_0136: ldloc.s 12 + IL_0138: ldarg.0 + IL_0139: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_013e: ldloc.s 11 + IL_0140: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0145: throw + IL_0146: ldarg.0 + IL_0147: ldc.i4 4000 + IL_014c: ldloc.s 12 + IL_014e: ldstr " " + IL_0153: ldloc.s 11 + IL_0155: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_015a: call string string::Concat(string, string, string) + IL_015f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0164: nop + IL_0165: leave IL_016a + + } // end handler 2 + IL_016a: ret + } // end of method DeleteTask::RecursiveDeleteDirectory + + // method line 198 + .method private hidebysig + instance default void DeleteFile (string path, bool verbose) cil managed { - // Method begins at RVA 0x7a93 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x860c + // Code size 191 (0xbf) + .maxstack 7 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0, + class [mscorlib]System.Exception V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) - IL_000d: ret - } // end of method PatternCollection::Remove + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000f: brtrue IL_001a - .property instance bool System.Collections.ICollection.IsSynchronized () - { - .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.ICollection.get_IsSynchronized () - } - .property instance object System.Collections.ICollection.SyncRoot () - { - .get instance default object NAnt.Core.Types.PatternCollection::System.Collections.ICollection.get_SyncRoot () - } - .property instance object System.Collections.IList.Item (int32) - { - .get instance default object NAnt.Core.Types.PatternCollection::System.Collections.IList.get_Item (int32 index) - .set instance default void NAnt.Core.Types.PatternCollection::System.Collections.IList.set_Item (int32 index, object 'value') - } - .property instance bool System.Collections.IList.IsFixedSize () - { - .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.IList.get_IsFixedSize () - } - .property instance bool System.Collections.IList.IsReadOnly () - { - .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.IList.get_IsReadOnly () - } - .property instance class NAnt.Core.Types.Pattern Item (int32) - { - .get instance default class NAnt.Core.Types.Pattern NAnt.Core.Types.PatternCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.PatternCollection::set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') - } - .property instance class [mscorlib]System.Collections.ArrayList List () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::get_List () - } - .property instance int32 Count () - { - .get instance default int32 NAnt.Core.Types.PatternCollection::get_Count () - } - } // end of class NAnt.Core.Types.PatternCollection -} + IL_0014: nop + IL_0015: leave IL_00be -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit PatternEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_001a: ldarg.2 + IL_001b: brfalse IL_003c - // method line 251 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.PatternCollection arguments) cil managed - { - // Method begins at RVA 0x7aa4 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0015: ret - } // end of method PatternEnumerator::.ctor + IL_0020: nop + IL_0021: ldarg.0 + IL_0022: ldc.i4 3000 + IL_0027: ldstr "Deleting file {0}." + IL_002c: ldc.i4.1 + IL_002d: newarr [mscorlib]System.Object + IL_0032: dup + IL_0033: ldc.i4.0 + IL_0034: ldarg.1 + IL_0035: stelem.ref + IL_0036: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_003b: nop + IL_003c: ldloc.0 + IL_003d: callvirt instance valuetype [mscorlib]System.IO.FileAttributes class [mscorlib]System.IO.FileSystemInfo::get_Attributes() + IL_0042: ldc.i4 128 + IL_0047: beq IL_005e - // method line 252 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Pattern get_Current () cil managed - { - // Method begins at RVA 0x7ac8 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.Pattern V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.Pattern - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_004c: nop + IL_004d: ldloc.0 + IL_004e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0053: ldc.i4 128 + IL_0058: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_005d: nop + IL_005e: ldarg.1 + IL_005f: call void class [mscorlib]System.IO.File::Delete(string) + IL_0064: nop + IL_0065: leave IL_00be - IL_0017: ldloc.0 - IL_0018: ret - } // end of method PatternEnumerator::get_Current + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_006a: stloc.1 + IL_006b: nop + IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0071: ldstr "NA1114" + IL_0076: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_007b: ldarg.1 + IL_007c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0081: stloc.2 + IL_0082: ldarg.0 + IL_0083: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0088: brfalse IL_009c - // method line 253 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x7af0 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_008d: nop + IL_008e: ldloc.2 + IL_008f: ldarg.0 + IL_0090: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0095: ldloc.1 + IL_0096: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_009b: throw + IL_009c: ldarg.0 + IL_009d: ldc.i4 4000 + IL_00a2: ldloc.2 + IL_00a3: ldstr " " + IL_00a8: ldloc.1 + IL_00a9: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_00ae: call string string::Concat(string, string, string) + IL_00b3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_00b8: nop + IL_00b9: leave IL_00be - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternEnumerator::System.Collections.IEnumerator.get_Current + } // end handler 0 + IL_00be: ret + } // end of method DeleteTask::DeleteFile - // method line 254 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + // method line 199 + .method private hidebysig + instance default void DeleteDirectory (string path) cil managed { - // Method begins at RVA 0x7b10 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x86e8 + // Code size 45 (0x2d) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldarg.1 + IL_0002: ldc.i4 128 + IL_0007: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_000c: ldarg.0 + IL_000d: ldc.i4 2000 + IL_0012: ldstr "Deleting directory '{0}'." + IL_0017: ldc.i4.1 + IL_0018: newarr [mscorlib]System.Object + IL_001d: dup + IL_001e: ldc.i4.0 + IL_001f: ldarg.1 + IL_0020: stelem.ref + IL_0021: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0026: ldarg.1 + IL_0027: call void class [mscorlib]System.IO.Directory::Delete(string) + IL_002c: ret + } // end of method DeleteTask::DeleteDirectory - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternEnumerator::MoveNext + .property instance class [mscorlib]System.IO.FileInfo File () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - // method line 255 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - // Method begins at RVA 0x7b30 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method PatternEnumerator::Reset + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.DeleteTask::get_File () + .set instance default void NAnt.Core.Tasks.DeleteTask::set_File (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - .property instance object System.Collections.IEnumerator.Current () + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.DeleteTask::get_Directory () + .set instance default void NAnt.Core.Tasks.DeleteTask::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance bool IncludeEmptyDirs () { - .get instance default object NAnt.Core.Types.PatternEnumerator::System.Collections.IEnumerator.get_Current () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd + 69 72 73 00 00 ) // irs.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.DeleteTask::get_IncludeEmptyDirs () + .set instance default void NAnt.Core.Tasks.DeleteTask::set_IncludeEmptyDirs (bool 'value') } - .property instance class NAnt.Core.Types.Pattern Current () + .property instance class NAnt.Core.Types.FileSet DeleteFileSet () { - .get instance default class NAnt.Core.Types.Pattern NAnt.Core.Types.PatternEnumerator::get_Current () + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet () + .set instance default void NAnt.Core.Tasks.DeleteTask::set_DeleteFileSet (class NAnt.Core.Types.FileSet 'value') } - } // end of class NAnt.Core.Types.PatternEnumerator + .property instance bool Verbose () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 76 65 72 62 6F 73 65 00 00 ) // ...verbose.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.DeleteTask::get_Verbose () + .set instance default void NAnt.Core.Tasks.DeleteTask::set_Verbose (bool 'value') + } + } // end of class NAnt.Core.Tasks.DeleteTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit Pattern - extends NAnt.Core.Element + .class public auto ansi beforefieldinit NAntSchemaTask + extends NAnt.Core.Task { - .field private string _patternName - .field private bool _ifDefined - .field private bool _unlessDefined + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 6E 61 6E 74 73 63 68 65 6D 61 00 00 ) // ...nantschema.. - // method line 256 + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private string _forType + .field private string _targetNamespace + .field private static initonly class [log4net]log4net.ILog logger + .field private static initonly string[] mixedTaskNames + + // method line 200 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x7b3e - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Pattern::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Pattern::.ctor - - // method line 257 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, string patternName) cil managed - { - // Method begins at RVA 0x7b4e - // Code size 29 (0x1d) + // Method begins at RVA 0x8716 + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Pattern::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: callvirt instance void class NAnt.Core.Types.Pattern::set_PatternName(string) - IL_0015: ldarg.0 - IL_0016: ldarg.1 - IL_0017: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_001c: ret - } // end of method Pattern::.ctor + IL_0001: ldstr "http://tempuri.org/nant-donotuse.xsd" + IL_0006: stfld string NAnt.Core.Tasks.NAntSchemaTask::_targetNamespace + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method NAntSchemaTask::.ctor - // method line 258 + // method line 201 .method public virtual hidebysig newslot specialname - instance default string get_PatternName () cil managed + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x7b6c + // Method begins at RVA 0x872c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Pattern::_patternName + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntSchemaTask::_outputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Pattern::get_PatternName + } // end of method NAntSchemaTask::get_OutputFile - // method line 259 + // method line 202 .method public virtual hidebysig newslot specialname - instance default void set_PatternName (string 'value') cil managed + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x7b87 + // Method begins at RVA 0x8747 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Pattern::_patternName + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntSchemaTask::_outputFile IL_0008: ret - } // end of method Pattern::set_PatternName + } // end of method NAntSchemaTask::set_OutputFile - // method line 260 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 203 + .method public virtual hidebysig newslot specialname + instance default string get_TargetNamespace () cil managed { - // Method begins at RVA 0x7b94 + // Method begins at RVA 0x8754 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Pattern::_ifDefined + IL_0002: ldfld string NAnt.Core.Tasks.NAntSchemaTask::_targetNamespace IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Pattern::get_IfDefined + } // end of method NAntSchemaTask::get_TargetNamespace - // method line 261 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 204 + .method public virtual hidebysig newslot specialname + instance default void set_TargetNamespace (string 'value') cil managed { - // Method begins at RVA 0x7baf - // Code size 9 (0x9) + // Method begins at RVA 0x876f + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Pattern::_ifDefined - IL_0008: ret - } // end of method Pattern::set_IfDefined + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.NAntSchemaTask::_targetNamespace + IL_000d: ret + } // end of method NAntSchemaTask::set_TargetNamespace - // method line 262 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 205 + .method public virtual hidebysig newslot specialname + instance default string get_ForType () cil managed { - // Method begins at RVA 0x7bbc + // Method begins at RVA 0x8780 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Pattern::_unlessDefined + IL_0002: ldfld string NAnt.Core.Tasks.NAntSchemaTask::_forType IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Pattern::get_UnlessDefined + } // end of method NAntSchemaTask::get_ForType - // method line 263 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 206 + .method public virtual hidebysig newslot specialname + instance default void set_ForType (string 'value') cil managed { - // Method begins at RVA 0x7bd7 - // Code size 9 (0x9) + // Method begins at RVA 0x879b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Pattern::_unlessDefined - IL_0008: ret - } // end of method Pattern::set_UnlessDefined + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.NAntSchemaTask::_forType + IL_000d: ret + } // end of method NAntSchemaTask::set_ForType - // method line 264 - .method assembly hidebysig specialname - instance default bool get_Enabled () cil managed + // method line 207 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x7be4 - // Code size 32 (0x20) - .maxstack 2 + // Method begins at RVA 0x87ac + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 592 (0x250) + .maxstack 7 .locals init ( - bool V_0) + class [mscorlib]System.Collections.ArrayList V_0, + class [mscorlib]System.Collections.ArrayList V_1, + class NAnt.Core.TaskBuilder V_2, + class NAnt.Core.TaskBuilderEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + class NAnt.Core.DataTypeBaseBuilder V_5, + class NAnt.Core.DataTypeBaseBuilderEnumerator V_6, + class [mscorlib]System.IDisposable V_7, + class [mscorlib]System.IO.MemoryStream V_8, + class [System.Xml]System.Xml.Schema.XmlSchema V_9, + class [System.Xml]System.Xml.Schema.XmlSchemaException V_10, + class [mscorlib]System.Security.Permissions.FileIOPermission V_11, + class [mscorlib]System.IO.FileStream V_12, + unsigned int8[] V_13, + int32 V_14) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Types.Pattern::get_IfDefined() - IL_0007: brfalse IL_0017 - - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Types.Pattern::get_UnlessDefined() - IL_0012: ldc.i4.0 - IL_0013: ceq - IL_0015: br.s IL_0018 - - IL_0017: ldc.i4.0 - IL_0018: stloc.0 - IL_0019: br IL_001e - - IL_001e: ldloc.0 - IL_001f: ret - } // end of method Pattern::get_Enabled + IL_0002: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_ForType() + IL_0007: brtrue IL_00ee - .property instance string PatternName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + IL_000c: nop + IL_000d: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0012: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0017: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_001c: stloc.0 + IL_001d: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_0022: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0027: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_002c: stloc.1 + IL_002d: nop + IL_002e: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0033: callvirt instance class NAnt.Core.TaskBuilderEnumerator class NAnt.Core.TaskBuilderCollection::GetEnumerator() + IL_0038: stloc.3 + .try { // 0 + IL_0039: br IL_0061 - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_003e: ldloc.3 + IL_003f: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderEnumerator::get_Current() + IL_0044: stloc.2 + IL_0045: nop + IL_0046: ldloc.0 + IL_0047: ldloc.2 + IL_0048: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_004d: ldloc.2 + IL_004e: callvirt instance string class NAnt.Core.TaskBuilder::get_ClassName() + IL_0053: ldc.i4.1 + IL_0054: ldc.i4.1 + IL_0055: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) + IL_005a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_005f: pop + IL_0060: nop + IL_0061: ldloc.3 + IL_0062: callvirt instance bool class NAnt.Core.TaskBuilderEnumerator::MoveNext() + IL_0067: brtrue IL_003e - .get instance default string NAnt.Core.Types.Pattern::get_PatternName () - .set instance default void NAnt.Core.Types.Pattern::set_PatternName (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 69 66 01 00 54 02 08 52 65 71 75 69 72 // ...if..T..Requir - 65 64 00 ) // ed. + IL_006c: leave IL_0087 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end .try 0 + finally { // 0 + IL_0071: ldloc.3 + IL_0072: isinst [mscorlib]System.IDisposable + IL_0077: dup + IL_0078: stloc.s 4 + IL_007a: brfalse IL_0086 - .get instance default bool NAnt.Core.Types.Pattern::get_IfDefined () - .set instance default void NAnt.Core.Types.Pattern::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 75 6E 6C 65 73 73 01 00 54 02 08 52 65 // ...unless..T..Re - 71 75 69 72 65 64 00 ) // quired. + IL_007f: ldloc.s 4 + IL_0081: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0086: endfinally + } // end handler 0 + IL_0087: nop + IL_0088: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_008d: callvirt instance class NAnt.Core.DataTypeBaseBuilderEnumerator class NAnt.Core.DataTypeBaseBuilderCollection::GetEnumerator() + IL_0092: stloc.s 6 + .try { // 1 + IL_0094: br IL_00c0 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0099: ldloc.s 6 + IL_009b: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderEnumerator::get_Current() + IL_00a0: stloc.s 5 + IL_00a2: nop + IL_00a3: ldloc.1 + IL_00a4: ldloc.s 5 + IL_00a6: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_00ab: ldloc.s 5 + IL_00ad: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() + IL_00b2: ldc.i4.1 + IL_00b3: ldc.i4.1 + IL_00b4: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) + IL_00b9: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00be: pop + IL_00bf: nop + IL_00c0: ldloc.s 6 + IL_00c2: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderEnumerator::MoveNext() + IL_00c7: brtrue IL_0099 - .get instance default bool NAnt.Core.Types.Pattern::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Pattern::set_UnlessDefined (bool 'value') - } - .property instance bool Enabled () - { - .get instance default bool NAnt.Core.Types.Pattern::get_Enabled () - } - } // end of class NAnt.Core.Types.Pattern -} + IL_00cc: leave IL_00e8 -.namespace NAnt.Core.Types -{ - .class public auto ansi serializable beforefieldinit EnvironmentVariable - extends NAnt.Core.Element - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 03 65 6E 76 00 00 ) // ...env.. + } // end .try 1 + finally { // 1 + IL_00d1: ldloc.s 6 + IL_00d3: isinst [mscorlib]System.IDisposable + IL_00d8: dup + IL_00d9: stloc.s 7 + IL_00db: brfalse IL_00e7 - .field private string _name - .field private string _value - .field private string _literalValue - .field private class [mscorlib]System.IO.FileInfo _file - .field private class [mscorlib]System.IO.DirectoryInfo _directory - .field private class NAnt.Core.Types.PathSet _path - .field private bool _ifDefined - .field private bool _unlessDefined + IL_00e0: ldloc.s 7 + IL_00e2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00e7: endfinally + } // end handler 1 + IL_00e8: nop + IL_00e9: br IL_0111 - // method line 265 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name, string 'value') cil managed - { - // Method begins at RVA 0x7c10 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld string NAnt.Core.Types.EnvironmentVariable::_name - IL_0015: ldarg.0 - IL_0016: ldarg.2 - IL_0017: stfld string NAnt.Core.Types.EnvironmentVariable::_value - IL_001c: ret - } // end of method EnvironmentVariable::.ctor + IL_00ee: nop + IL_00ef: ldc.i4.1 + IL_00f0: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_00f5: stloc.0 + IL_00f6: ldloc.0 + IL_00f7: ldarg.0 + IL_00f8: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_ForType() + IL_00fd: ldc.i4.1 + IL_00fe: ldc.i4.1 + IL_00ff: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) + IL_0104: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0109: pop + IL_010a: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_010f: stloc.1 + IL_0110: nop + IL_0111: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_0116: stloc.s 8 + IL_0118: ldloc.s 8 + IL_011a: ldloc.0 + IL_011b: ldtoken [mscorlib]System.Type + IL_0120: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0125: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_012a: castclass class [mscorlib]System.Type[] + IL_012f: ldloc.1 + IL_0130: ldtoken [mscorlib]System.Type + IL_0135: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_013a: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_013f: castclass class [mscorlib]System.Type[] + IL_0144: ldarg.0 + IL_0145: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_TargetNamespace() + IL_014a: call class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask::WriteSchema(class [mscorlib]System.IO.Stream, class [mscorlib]System.Type[], class [mscorlib]System.Type[], string) + IL_014f: pop + IL_0150: ldloc.s 8 + IL_0152: ldc.i4.0 + IL_0153: conv.i8 + IL_0154: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + .try { // 2 + IL_0159: nop + IL_015a: ldloc.s 8 + IL_015c: ldnull + IL_015d: call class [System.Xml]System.Xml.Schema.XmlSchema class [System.Xml]System.Xml.Schema.XmlSchema::Read(class [mscorlib]System.IO.Stream, class [System.Xml]System.Xml.Schema.ValidationEventHandler) + IL_0162: stloc.s 9 + IL_0164: ldloc.s 9 + IL_0166: ldnull + IL_0167: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::Compile(class [System.Xml]System.Xml.Schema.ValidationEventHandler) + IL_016c: nop + IL_016d: leave IL_0188 - // method line 266 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x7c2e - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method EnvironmentVariable::.ctor + } // end .try 2 + catch class [System.Xml]System.Xml.Schema.XmlSchemaException { // 2 + IL_0172: stloc.s 10 + IL_0174: nop + IL_0175: ldstr "The generated XML schema is not valid." + IL_017a: ldarg.0 + IL_017b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0180: ldloc.s 10 + IL_0182: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0187: throw + } // end handler 2 + IL_0188: ldloc.s 8 + IL_018a: ldc.i4.0 + IL_018b: conv.i8 + IL_018c: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_0191: ldc.i4.s 0x0f + IL_0193: ldarg.0 + IL_0194: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile() + IL_0199: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_019e: newobj instance void class [mscorlib]System.Security.Permissions.FileIOPermission::'.ctor'(valuetype [mscorlib]System.Security.Permissions.FileIOPermissionAccess, string) + IL_01a3: stloc.s 11 + IL_01a5: ldloc.s 11 + IL_01a7: callvirt instance void class [mscorlib]System.Security.CodeAccessPermission::Assert() + IL_01ac: ldarg.0 + IL_01ad: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile() + IL_01b2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01b7: ldc.i4.2 + IL_01b8: ldc.i4.2 + IL_01b9: ldc.i4.1 + IL_01ba: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::Open(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) + IL_01bf: stloc.s 12 + .try { // 3 + IL_01c1: nop + IL_01c2: ldc.i4 4096 + IL_01c7: newarr [mscorlib]System.Byte + IL_01cc: stloc.s 13 + IL_01ce: ldloc.s 8 + IL_01d0: ldloc.s 13 + IL_01d2: ldc.i4.0 + IL_01d3: ldloc.s 13 + IL_01d5: ldlen + IL_01d6: conv.i4 + IL_01d7: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) + IL_01dc: stloc.s 14 + IL_01de: br IL_0201 - // method line 267 - .method public hidebysig specialname - instance default string get_VariableName () cil managed - { - // Method begins at RVA 0x7c40 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.EnvironmentVariable::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01e3: nop + IL_01e4: ldloc.s 12 + IL_01e6: ldloc.s 13 + IL_01e8: ldc.i4.0 + IL_01e9: ldloc.s 14 + IL_01eb: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_01f0: ldloc.s 8 + IL_01f2: ldloc.s 13 + IL_01f4: ldc.i4.0 + IL_01f5: ldloc.s 13 + IL_01f7: ldlen + IL_01f8: conv.i4 + IL_01f9: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) + IL_01fe: stloc.s 14 + IL_0200: nop + IL_0201: ldloc.s 14 + IL_0203: brtrue IL_01e3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_VariableName + IL_0208: ldloc.s 12 + IL_020a: callvirt instance void class [mscorlib]System.IO.Stream::Flush() + IL_020f: ldloc.s 12 + IL_0211: callvirt instance void class [mscorlib]System.IO.Stream::Close() + IL_0216: nop + IL_0217: leave IL_022b - // method line 268 - .method public hidebysig specialname - instance default void set_VariableName (string 'value') cil managed - { - // Method begins at RVA 0x7c5b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.EnvironmentVariable::_name - IL_0008: ret - } // end of method EnvironmentVariable::set_VariableName + } // end .try 3 + finally { // 3 + IL_021c: ldloc.s 12 + IL_021e: brfalse IL_022a - // method line 269 - .method public hidebysig specialname - instance default string get_LiteralValue () cil managed + IL_0223: ldloc.s 12 + IL_0225: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_022a: endfinally + } // end handler 3 + IL_022b: ldarg.0 + IL_022c: ldc.i4 3000 + IL_0231: ldstr "Wrote schema to '{0}'." + IL_0236: ldc.i4.1 + IL_0237: newarr [mscorlib]System.Object + IL_023c: dup + IL_023d: ldc.i4.0 + IL_023e: ldarg.0 + IL_023f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile() + IL_0244: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0249: stelem.ref + IL_024a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_024f: ret + } // end of method NAntSchemaTask::ExecuteTask + + // method line 208 + .method public static hidebysig + default class [System.Xml]System.Xml.Schema.XmlSchema WriteSchema (class [mscorlib]System.IO.Stream 'stream', class [mscorlib]System.Type[] tasks, class [mscorlib]System.Type[] dataTypes, string targetNS) cil managed { - // Method begins at RVA 0x7c68 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x8a3c + // Code size 68 (0x44) + .maxstack 3 .locals init ( - string V_0) + class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator V_0, + class [System.Xml]System.Xml.Schema.XmlSchema V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.EnvironmentVariable::_literalValue - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: newobj instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::'.ctor'(class [mscorlib]System.Type[], class [mscorlib]System.Type[], string) + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() + IL_0010: callvirt instance bool class [System.Xml]System.Xml.Schema.XmlSchema::get_IsCompiled() + IL_0015: brtrue IL_0022 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_LiteralValue + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: callvirt instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() + IL_0021: nop + IL_0022: ldarg.0 + IL_0023: brfalse IL_0036 - // method line 270 - .method public hidebysig specialname - instance default void set_LiteralValue (string 'value') cil managed - { - // Method begins at RVA 0x7c83 - // Code size 16 (0x10) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.EnvironmentVariable::_value - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: stfld string NAnt.Core.Types.EnvironmentVariable::_literalValue - IL_000f: ret - } // end of method EnvironmentVariable::set_LiteralValue + IL_0028: nop + IL_0029: ldloc.0 + IL_002a: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() + IL_002f: ldarg.0 + IL_0030: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::Write(class [mscorlib]System.IO.Stream) + IL_0035: nop + IL_0036: ldloc.0 + IL_0037: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() + IL_003c: stloc.1 + IL_003d: br IL_0042 - // method line 271 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + IL_0042: ldloc.1 + IL_0043: ret + } // end of method NAntSchemaTask::WriteSchema + + // method line 209 + .method family static hidebysig + default string GenerateIDFromType (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x7c94 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x8a8c + // Code size 60 (0x3c) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.EnvironmentVariable::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance string object::ToString() + IL_0007: ldstr "+" + IL_000c: ldstr "-" + IL_0011: callvirt instance string string::Replace(string, string) + IL_0016: ldstr "[" + IL_001b: ldstr "_" + IL_0020: callvirt instance string string::Replace(string, string) + IL_0025: ldstr "]" + IL_002a: ldstr "_" + IL_002f: callvirt instance string string::Replace(string, string) + IL_0034: stloc.0 + IL_0035: br IL_003a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_File + IL_003a: ldloc.0 + IL_003b: ret + } // end of method NAntSchemaTask::GenerateIDFromType - // method line 272 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 210 + .method family static hidebysig + default class [System.Xml]System.Xml.Schema.XmlSchemaAttribute CreateXsdAttribute (string name, bool required) cil managed { - // Method begins at RVA 0x7caf - // Code size 21 (0x15) - .maxstack 8 + // Method begins at RVA 0x8ad4 + // Code size 52 (0x34) + .maxstack 2 + .locals init ( + class [System.Xml]System.Xml.Schema.XmlSchemaAttribute V_0, + class [System.Xml]System.Xml.Schema.XmlSchemaAttribute V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance string object::ToString() - IL_0008: stfld string NAnt.Core.Types.EnvironmentVariable::_value - IL_000d: ldarg.0 + IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::set_Name(string) IL_000e: ldarg.1 - IL_000f: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.EnvironmentVariable::_file - IL_0014: ret - } // end of method EnvironmentVariable::set_File + IL_000f: brfalse IL_0022 - // method line 273 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed - { - // Method begins at RVA 0x7cc8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.EnvironmentVariable::_directory - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0014: nop + IL_0015: ldloc.0 + IL_0016: ldc.i4.3 + IL_0017: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::set_Use(valuetype [System.Xml]System.Xml.Schema.XmlSchemaUse) + IL_001c: nop + IL_001d: br IL_002b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_Directory + IL_0022: nop + IL_0023: ldloc.0 + IL_0024: ldc.i4.1 + IL_0025: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::set_Use(valuetype [System.Xml]System.Xml.Schema.XmlSchemaUse) + IL_002a: nop + IL_002b: ldloc.0 + IL_002c: stloc.1 + IL_002d: br IL_0032 - // method line 274 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x7ce3 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance string object::ToString() - IL_0008: stfld string NAnt.Core.Types.EnvironmentVariable::_value - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.EnvironmentVariable::_directory - IL_0014: ret - } // end of method EnvironmentVariable::set_Directory + IL_0032: ldloc.1 + IL_0033: ret + } // end of method NAntSchemaTask::CreateXsdAttribute - // method line 275 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed + // method line 211 + .method family static hidebysig + default class [System.Xml]System.Xml.Schema.XmlSchemaSequence CreateXsdSequence (valuetype [mscorlib]System.Decimal min, valuetype [mscorlib]System.Decimal max) cil managed { - // Method begins at RVA 0x7cfc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x8b14 + // Code size 71 (0x47) + .maxstack 6 .locals init ( - class NAnt.Core.Types.PathSet V_0) + class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_0, + class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaSequence::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) + IL_000e: ldarg.1 + IL_000f: ldc.i4.m1 + IL_0010: ldc.i4.m1 + IL_0011: ldc.i4.m1 + IL_0012: ldc.i4.0 + IL_0013: ldc.i4.0 + IL_0014: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) + IL_0019: call bool valuetype [mscorlib]System.Decimal::op_Inequality(valuetype [mscorlib]System.Decimal, valuetype [mscorlib]System.Decimal) + IL_001e: brfalse IL_0031 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_Path + IL_0023: nop + IL_0024: ldloc.0 + IL_0025: ldarg.1 + IL_0026: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccurs(valuetype [mscorlib]System.Decimal) + IL_002b: nop + IL_002c: br IL_003e - // method line 276 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed - { - // Method begins at RVA 0x7d17 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance string object::ToString() - IL_0008: stfld string NAnt.Core.Types.EnvironmentVariable::_value - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path - IL_0014: ret - } // end of method EnvironmentVariable::set_Path + IL_0031: nop + IL_0032: ldloc.0 + IL_0033: ldstr "unbounded" + IL_0038: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccursString(string) + IL_003d: nop + IL_003e: ldloc.0 + IL_003f: stloc.1 + IL_0040: br IL_0045 - // method line 277 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed + IL_0045: ldloc.1 + IL_0046: ret + } // end of method NAntSchemaTask::CreateXsdSequence + + // method line 212 + .method family static hidebysig + default class [System.Xml]System.Xml.XmlNode[] TextToNodeArray (string text) cil managed { - // Method begins at RVA 0x7d30 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x8b68 + // Code size 31 (0x1f) + .maxstack 5 .locals init ( - class NAnt.Core.Types.PathSet V_0) + class [System.Xml]System.Xml.XmlDocument V_0, + class [System.Xml]System.Xml.XmlNode[] V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldc.i4.1 + IL_0008: newarr [System.Xml]System.Xml.XmlNode + IL_000d: dup + IL_000e: ldc.i4.0 + IL_000f: ldloc.0 + IL_0010: ldarg.0 + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlText class [System.Xml]System.Xml.XmlDocument::CreateTextNode(string) + IL_0016: stelem.ref + IL_0017: stloc.1 + IL_0018: br IL_001d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_PathSet + IL_001d: ldloc.1 + IL_001e: ret + } // end of method NAntSchemaTask::TextToNodeArray - // method line 278 - .method public hidebysig specialname - instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 213 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x7d4b - // Code size 50 (0x32) + // Method begins at RVA 0x8b93 + // Code size 40 (0x28) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path - IL_0007: brfalse IL_001e + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger + IL_0014: ldc.i4.1 + IL_0015: newarr [mscorlib]System.String + IL_001a: dup + IL_001b: ldc.i4.0 + IL_001c: ldstr "NAnt.Core.Tasks.DescriptionTask" + IL_0021: stelem.ref + IL_0022: stsfld string[] NAnt.Core.Tasks.NAntSchemaTask::mixedTaskNames + IL_0027: ret + } // end of method NAntSchemaTask::.cctor - IL_000c: nop - IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001d: throw - IL_001e: ldarg.0 - IL_001f: ldarg.1 - IL_0020: callvirt instance string object::ToString() - IL_0025: stfld string NAnt.Core.Types.EnvironmentVariable::_value - IL_002a: ldarg.0 - IL_002b: ldarg.1 - IL_002c: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path - IL_0031: ret - } // end of method EnvironmentVariable::set_PathSet + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - // method line 279 - .method public hidebysig specialname - instance default string get_Value () cil managed - { - // Method begins at RVA 0x7d80 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.EnvironmentVariable::_value - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_Value - - // method line 280 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x7d9c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_IfDefined - - // method line 281 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x7db7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined - IL_0008: ret - } // end of method EnvironmentVariable::set_IfDefined - - // method line 282 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x7dc4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.EnvironmentVariable::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_UnlessDefined - - // method line 283 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x7ddf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.EnvironmentVariable::_unlessDefined - IL_0008: ret - } // end of method EnvironmentVariable::set_UnlessDefined - - .property instance string VariableName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Types.EnvironmentVariable::get_VariableName () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_VariableName (string 'value') - } - .property instance string LiteralValue () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - - .get instance default string NAnt.Core.Types.EnvironmentVariable::get_LiteralValue () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_LiteralValue (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo File () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.EnvironmentVariable::get_File () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.EnvironmentVariable::get_Directory () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.Core.Types.PathSet Path () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::get_Path () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_Path (class NAnt.Core.Types.PathSet 'value') - } - .property instance class NAnt.Core.Types.PathSet PathSet () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::get_PathSet () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_PathSet (class NAnt.Core.Types.PathSet 'value') - } - .property instance string Value () - { - .get instance default string NAnt.Core.Types.EnvironmentVariable::get_Value () + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile () + .set instance default void NAnt.Core.Tasks.NAntSchemaTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool IfDefined () + .property instance string TargetNamespace () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 74 61 72 67 65 74 2D 6E 73 01 00 54 02 // ...target-ns..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - .get instance default bool NAnt.Core.Types.EnvironmentVariable::get_IfDefined () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_IfDefined (bool 'value') + .get instance default string NAnt.Core.Tasks.NAntSchemaTask::get_TargetNamespace () + .set instance default void NAnt.Core.Tasks.NAntSchemaTask::set_TargetNamespace (string 'value') } - .property instance bool UnlessDefined () + .property instance string ForType () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 63 6C 61 73 73 01 00 54 02 08 52 65 71 // ...class..T..Req + 75 69 72 65 64 00 ) // uired. - .get instance default bool NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_UnlessDefined (bool 'value') + .get instance default string NAnt.Core.Tasks.NAntSchemaTask::get_ForType () + .set instance default void NAnt.Core.Tasks.NAntSchemaTask::set_ForType (string 'value') } - } // end of class NAnt.Core.Types.EnvironmentVariable -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi serializable beforefieldinit EnvironmentSet - extends NAnt.Core.Element + .class nested private auto ansi beforefieldinit NAntSchemaGenerator + extends [mscorlib]System.Object { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. - - .field private class NAnt.Core.Types.OptionCollection _options - .field private class NAnt.Core.Types.EnvironmentVariableCollection _environmentVariables + .field private class [mscorlib]System.Collections.IDictionary _nantComplexTypes + .field private class [System.Xml]System.Xml.Schema.XmlSchemaComplexType _targetCT + .field private class [System.Xml]System.Xml.Schema.XmlSchema _nantSchema - // method line 284 + // method line 214 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class [mscorlib]System.Type[] tasks, class [mscorlib]System.Type[] dataTypes, string targetNS) cil managed { - // Method begins at RVA 0x7de9 - // Code size 29 (0x1d) - .maxstack 8 + // Method begins at RVA 0x8bbc + // Code size 934 (0x3a6) + .maxstack 7 + .locals init ( + class [System.Xml]System.Xml.Schema.XmlSchemaAnnotation V_0, + class [System.Xml]System.Xml.Schema.XmlSchemaDocumentation V_1, + string V_2, + class [mscorlib]System.Collections.ArrayList V_3, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_4, + class [mscorlib]System.Collections.ArrayList V_5, + class [mscorlib]System.Type V_6, + class [mscorlib]System.Type[] V_7, + int32 V_8, + class [mscorlib]System.Type V_9, + class [mscorlib]System.Type[] V_10, + int32 V_11, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_12, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_13, + class [mscorlib]System.Collections.IEnumerator V_14, + class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_15, + class [mscorlib]System.IDisposable V_16, + class [System.Xml]System.Xml.Schema.XmlSchemaElement V_17, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_18) IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.OptionCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::_options + IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchema::'.ctor'() + IL_0006: stfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.Core.Types.EnvironmentVariableCollection::'.ctor'() - IL_0011: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::_environmentVariables - IL_0016: ldarg.0 - IL_0017: call instance void class NAnt.Core.Element::'.ctor'() - IL_001c: ret - } // end of method EnvironmentSet::.ctor + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ldarg.3 + IL_0013: brfalse IL_0046 - // method line 285 - .method public hidebysig specialname - instance default class NAnt.Core.Types.OptionCollection get_Options () cil managed - { - // Method begins at RVA 0x7e08 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.OptionCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::_options - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_001f: ldarg.3 + IL_0020: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::set_TargetNamespace(string) + IL_0025: ldarg.0 + IL_0026: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_002b: callvirt instance class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces class [System.Xml]System.Xml.Schema.XmlSchemaObject::get_Namespaces() + IL_0030: ldstr "nant" + IL_0035: ldarg.0 + IL_0036: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_003b: callvirt instance string class [System.Xml]System.Xml.Schema.XmlSchema::get_TargetNamespace() + IL_0040: callvirt instance void class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces::Add(string, string) + IL_0045: nop + IL_0046: ldarg.0 + IL_0047: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_004c: callvirt instance class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces class [System.Xml]System.Xml.Schema.XmlSchemaObject::get_Namespaces() + IL_0051: ldstr "xs" + IL_0056: ldstr "http://www.w3.org/2001/XMLSchema" + IL_005b: callvirt instance void class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces::Add(string, string) + IL_0060: ldarg.0 + IL_0061: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_0066: ldc.i4.1 + IL_0067: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::set_ElementFormDefault(valuetype [System.Xml]System.Xml.Schema.XmlSchemaForm) + IL_006c: ldarg.0 + IL_006d: ldarg.1 + IL_006e: ldlen + IL_006f: conv.i4 + IL_0070: ldarg.2 + IL_0071: ldlen + IL_0072: conv.i4 + IL_0073: add + IL_0074: newobj instance void class [System]System.Collections.Specialized.HybridDictionary::'.ctor'(int32) + IL_0079: stfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes + IL_007e: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnnotation::'.ctor'() + IL_0083: stloc.0 + IL_0084: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaDocumentation::'.ctor'() + IL_0089: stloc.1 + IL_008a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_008f: ldstr "String_SchemaGenerated" + IL_0094: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0099: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_009e: box [mscorlib]System.DateTime + IL_00a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00a8: stloc.2 + IL_00a9: ldloc.1 + IL_00aa: ldloc.2 + IL_00ab: call class [System.Xml]System.Xml.XmlNode[] class NAnt.Core.Tasks.NAntSchemaTask::TextToNodeArray(string) + IL_00b0: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaDocumentation::set_Markup(class [System.Xml]System.Xml.XmlNode[]) + IL_00b5: ldloc.0 + IL_00b6: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaAnnotation::get_Items() + IL_00bb: ldloc.1 + IL_00bc: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_00c1: pop + IL_00c2: ldarg.0 + IL_00c3: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_00c8: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() + IL_00cd: ldloc.0 + IL_00ce: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_00d3: pop + IL_00d4: ldc.i4.4 + IL_00d5: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_00da: stloc.3 + IL_00db: ldarg.0 + IL_00dc: ldtoken NAnt.Core.TaskContainer + IL_00e1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00e6: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) + IL_00eb: stloc.s 4 + IL_00ed: ldloc.s 4 + IL_00ef: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaParticle class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Particle() + IL_00f4: brtrue IL_0117 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentSet::get_Options + IL_00f9: nop + IL_00fa: ldloc.s 4 + IL_00fc: ldc.i4.0 + IL_00fd: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_0102: ldc.i4.m1 + IL_0103: ldc.i4.m1 + IL_0104: ldc.i4.m1 + IL_0105: ldc.i4.0 + IL_0106: ldc.i4.0 + IL_0107: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) + IL_010c: call class [System.Xml]System.Xml.Schema.XmlSchemaSequence class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdSequence(valuetype [mscorlib]System.Decimal, valuetype [mscorlib]System.Decimal) + IL_0111: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) + IL_0116: nop + IL_0117: ldloc.3 + IL_0118: ldloc.s 4 + IL_011a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_011f: pop + IL_0120: ldarg.2 + IL_0121: ldlen + IL_0122: conv.i4 + IL_0123: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0128: stloc.s 5 + IL_012a: nop + IL_012b: ldarg.2 + IL_012c: stloc.s 7 + IL_012e: ldc.i4.0 + IL_012f: stloc.s 8 + IL_0131: br IL_0155 - // method line 286 - .method public hidebysig specialname - instance default void set_Options (class NAnt.Core.Types.OptionCollection 'value') cil managed - { - // Method begins at RVA 0x7e23 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::_options - IL_0008: ret - } // end of method EnvironmentSet::set_Options + IL_0136: ldloc.s 7 + IL_0138: ldloc.s 8 + IL_013a: ldelem.ref + IL_013b: stloc.s 6 + IL_013d: nop + IL_013e: ldloc.s 5 + IL_0140: ldarg.0 + IL_0141: ldloc.s 6 + IL_0143: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) + IL_0148: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_014d: pop + IL_014e: nop + IL_014f: ldloc.s 8 + IL_0151: ldc.i4.1 + IL_0152: add + IL_0153: stloc.s 8 + IL_0155: ldloc.s 8 + IL_0157: ldloc.s 7 + IL_0159: ldlen + IL_015a: conv.i4 + IL_015b: blt IL_0136 - // method line 287 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed - { - // Method begins at RVA 0x7e30 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.EnvironmentVariableCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::_environmentVariables - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0160: nop + IL_0161: ldarg.1 + IL_0162: stloc.s 10 + IL_0164: ldc.i4.0 + IL_0165: stloc.s 11 + IL_0167: br IL_01a6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentSet::get_EnvironmentVariables + IL_016c: ldloc.s 10 + IL_016e: ldloc.s 11 + IL_0170: ldelem.ref + IL_0171: stloc.s 9 + IL_0173: nop + IL_0174: ldarg.0 + IL_0175: ldloc.s 9 + IL_0177: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) + IL_017c: stloc.s 12 + IL_017e: ldloc.s 9 + IL_0180: ldtoken NAnt.Core.TaskContainer + IL_0185: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_018a: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) + IL_018f: brfalse IL_019f - // method line 288 - .method public hidebysig specialname - instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed - { - // Method begins at RVA 0x7e4b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::_environmentVariables - IL_0008: ret - } // end of method EnvironmentSet::set_EnvironmentVariables + IL_0194: nop + IL_0195: ldloc.3 + IL_0196: ldloc.s 12 + IL_0198: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_019d: pop + IL_019e: nop + IL_019f: nop + IL_01a0: ldloc.s 11 + IL_01a2: ldc.i4.1 + IL_01a3: add + IL_01a4: stloc.s 11 + IL_01a6: ldloc.s 11 + IL_01a8: ldloc.s 10 + IL_01aa: ldlen + IL_01ab: conv.i4 + IL_01ac: blt IL_016c - .property instance class NAnt.Core.Types.OptionCollection Options () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 06 6F 70 74 69 6F 6E 00 00 ) // ...option.. + IL_01b1: ldarg.0 + IL_01b2: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() + IL_01b7: nop + IL_01b8: ldloc.3 + IL_01b9: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_01be: stloc.s 14 + .try { // 0 + IL_01c0: br IL_021b - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 1F 55 73 65 20 3C 76 61 72 69 61 62 6C 65 // ...Use element instea - 64 2E 00 00 ) // d... + IL_01c5: ldloc.s 14 + IL_01c7: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01cc: castclass [System.Xml]System.Xml.Schema.XmlSchemaComplexType + IL_01d1: stloc.s 13 + IL_01d3: nop + IL_01d4: ldloc.s 13 + IL_01d6: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaParticle class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Particle() + IL_01db: isinst [System.Xml]System.Xml.Schema.XmlSchemaSequence + IL_01e0: stloc.s 15 + IL_01e2: ldloc.s 15 + IL_01e4: brfalse IL_0209 - .get instance default class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::get_Options () - .set instance default void NAnt.Core.Types.EnvironmentSet::set_Options (class NAnt.Core.Types.OptionCollection 'value') - } - .property instance class NAnt.Core.Types.EnvironmentVariableCollection EnvironmentVariables () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 08 76 61 72 69 61 62 6C 65 00 00 ) // ...variable.. + IL_01e9: nop + IL_01ea: ldloc.s 15 + IL_01ec: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() + IL_01f1: ldarg.0 + IL_01f2: ldarg.1 + IL_01f3: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[]) + IL_01f8: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaParticle class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Particle() + IL_01fd: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_0202: pop + IL_0203: nop + IL_0204: br IL_021a - .get instance default class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::get_EnvironmentVariables () - .set instance default void NAnt.Core.Types.EnvironmentSet::set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') - } - } // end of class NAnt.Core.Types.EnvironmentSet -} + IL_0209: nop + IL_020a: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger + IL_020f: ldstr "Unable to fixup complextype with children. Particle is not XmlSchemaSequence" + IL_0214: callvirt instance void class [log4net]log4net.ILog::Error(object) + IL_0219: nop + IL_021a: nop + IL_021b: ldloc.s 14 + IL_021d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0222: brtrue IL_01c5 -.namespace NAnt.Core.Types -{ - .class public auto ansi serializable beforefieldinit PathSet - extends NAnt.Core.DataTypeBase - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. + IL_0227: leave IL_0243 - .field private class [mscorlib]System.Collections.ArrayList _elements - .field private class [System]System.Collections.Specialized.StringCollection _translatedElements - .field private static initonly bool _dosBasedFileSystem + } // end .try 0 + finally { // 0 + IL_022c: ldloc.s 14 + IL_022e: isinst [mscorlib]System.IDisposable + IL_0233: dup + IL_0234: stloc.s 16 + IL_0236: brfalse IL_0242 - // method line 289 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x7e55 - // Code size 30 (0x1e) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements - IL_000b: ldarg.0 - IL_000c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0011: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements - IL_0016: ldarg.0 - IL_0017: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_001c: nop - IL_001d: ret - } // end of method PathSet::.ctor - - // method line 290 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, string path) cil managed - { - // Method begins at RVA 0x7e74 - // Code size 50 (0x32) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements - IL_000b: ldarg.0 - IL_000c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0011: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements - IL_0016: ldarg.0 - IL_0017: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_001c: nop - IL_001d: ldarg.0 - IL_001e: ldarg.1 - IL_001f: call instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0024: ldarg.0 - IL_0025: ldarg.1 - IL_0026: ldarg.2 - IL_0027: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::TranslatePath(class NAnt.Core.Project, string) - IL_002c: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements - IL_0031: ret - } // end of method PathSet::.ctor + IL_023b: ldloc.s 16 + IL_023d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0242: endfinally + } // end handler 0 + IL_0243: ldarg.0 + IL_0244: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() + IL_0249: ldarg.0 + IL_024a: ldarg.0 + IL_024b: ldarg.1 + IL_024c: ldarg.2 + IL_024d: ldc.i4.0 + IL_024e: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[], class [mscorlib]System.Type[], bool) + IL_0253: stfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_0258: ldarg.0 + IL_0259: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_025e: ldstr "Target" + IL_0263: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_Name(string) + IL_0268: ldarg.0 + IL_0269: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_026e: ldc.i4.1 + IL_026f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_IsMixed(bool) + IL_0274: ldarg.0 + IL_0275: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_027a: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_027f: ldstr "name" + IL_0284: ldc.i4.1 + IL_0285: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_028a: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_028f: pop + IL_0290: ldarg.0 + IL_0291: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_0296: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_029b: ldstr "depends" + IL_02a0: ldc.i4.0 + IL_02a1: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_02a6: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_02ab: pop + IL_02ac: ldarg.0 + IL_02ad: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_02b2: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_02b7: ldstr "description" + IL_02bc: ldc.i4.0 + IL_02bd: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_02c2: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_02c7: pop + IL_02c8: ldarg.0 + IL_02c9: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_02ce: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_02d3: ldstr "if" + IL_02d8: ldc.i4.0 + IL_02d9: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_02de: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_02e3: pop + IL_02e4: ldarg.0 + IL_02e5: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_02ea: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_02ef: ldstr "unless" + IL_02f4: ldc.i4.0 + IL_02f5: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_02fa: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_02ff: pop + IL_0300: ldarg.0 + IL_0301: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_0306: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() + IL_030b: ldarg.0 + IL_030c: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_0311: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_0316: pop + IL_0317: ldarg.0 + IL_0318: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() + IL_031d: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() + IL_0322: stloc.s 17 + IL_0324: ldloc.s 17 + IL_0326: ldstr "project" + IL_032b: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) + IL_0330: ldarg.0 + IL_0331: ldarg.1 + IL_0332: ldarg.2 + IL_0333: ldc.i4.1 + IL_0334: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[], class [mscorlib]System.Type[], bool) + IL_0339: stloc.s 18 + IL_033b: ldloc.s 17 + IL_033d: ldloc.s 18 + IL_033f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaType(class [System.Xml]System.Xml.Schema.XmlSchemaType) + IL_0344: ldloc.s 18 + IL_0346: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_034b: ldstr "name" + IL_0350: ldc.i4.1 + IL_0351: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_0356: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_035b: pop + IL_035c: ldloc.s 18 + IL_035e: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_0363: ldstr "default" + IL_0368: ldc.i4.0 + IL_0369: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_036e: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_0373: pop + IL_0374: ldloc.s 18 + IL_0376: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_037b: ldstr "basedir" + IL_0380: ldc.i4.0 + IL_0381: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_0386: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_038b: pop + IL_038c: ldarg.0 + IL_038d: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_0392: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() + IL_0397: ldloc.s 17 + IL_0399: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_039e: pop + IL_039f: ldarg.0 + IL_03a0: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() + IL_03a5: ret + } // end of method NAntSchemaGenerator::.ctor - // method line 291 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 215 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.Schema.XmlSchema get_Schema () cil managed { - // Method begins at RVA 0x7ea8 - // Code size 115 (0x73) - .maxstack 3 + // Method begins at RVA 0x8f80 + // Code size 39 (0x27) + .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - string V_1, - class [mscorlib]System.Text.StringBuilder V_2, - int32 V_3) + class [System.Xml]System.Xml.Schema.XmlSchema V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::GetElements() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_000e: brtrue IL_001f - - IL_0013: nop - IL_0014: ldstr "" - IL_0019: stloc.1 - IL_001a: br IL_0071 - - IL_001f: ldloc.0 - IL_0020: ldc.i4.0 - IL_0021: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_0026: ldloc.0 - IL_0027: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_002c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string, int32) - IL_0031: stloc.2 - IL_0032: ldc.i4.1 - IL_0033: stloc.3 - IL_0034: br IL_0059 - - IL_0039: nop - IL_003a: ldloc.2 - IL_003b: ldsfld char [mscorlib]System.IO.Path::PathSeparator - IL_0040: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0045: pop - IL_0046: ldloc.2 - IL_0047: ldloc.0 - IL_0048: ldloc.3 - IL_0049: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_004e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0053: pop - IL_0054: nop - IL_0055: ldloc.3 - IL_0056: ldc.i4.1 - IL_0057: add - IL_0058: stloc.3 - IL_0059: ldloc.3 - IL_005a: ldloc.0 - IL_005b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0060: blt IL_0039 + IL_0002: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_0007: callvirt instance bool class [System.Xml]System.Xml.Schema.XmlSchema::get_IsCompiled() + IL_000c: brtrue IL_0019 - IL_0065: ldloc.2 - IL_0066: callvirt instance string object::ToString() - IL_006b: stloc.1 - IL_006c: br IL_0071 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_0071: ldloc.1 - IL_0072: ret - } // end of method PathSet::ToString + IL_0025: ldloc.0 + IL_0026: ret + } // end of method NAntSchemaGenerator::get_Schema - // method line 292 + // method line 216 .method public hidebysig - instance default void AddPath (class NAnt.Core.Types.PathSet path) cil managed + instance default void Compile () cil managed { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - - // Method begins at RVA 0x7f27 - // Code size 15 (0xf) + // Method begins at RVA 0x8fb3 + // Code size 25 (0x19) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_000d: pop - IL_000e: ret - } // end of method PathSet::AddPath + IL_0002: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema + IL_0007: ldarg.0 + IL_0008: ldftn instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::ValidationEH(object, class [System.Xml]System.Xml.Schema.ValidationEventArgs) + IL_000e: newobj instance void class [System.Xml]System.Xml.Schema.ValidationEventHandler::'.ctor'(object, native int) + IL_0013: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::Compile(class [System.Xml]System.Xml.Schema.ValidationEventHandler) + IL_0018: ret + } // end of method NAntSchemaGenerator::Compile - // method line 293 - .method public hidebysig - instance default void AddPathElement (class NAnt.Core.Types.PathElement pathElement) cil managed + // method line 217 + .method family hidebysig + instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType CreateTaskListComplexType (class [mscorlib]System.Type[] tasks) cil managed { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 70 61 74 68 65 6C 65 6D 65 6E 74 00 00 ) // ...pathelement.. - - // Method begins at RVA 0x7f37 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x8fd0 + // Code size 23 (0x17) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_000d: pop - IL_000e: ret - } // end of method PathSet::AddPathElement + IL_0002: ldarg.1 + IL_0003: ldc.i4.0 + IL_0004: newarr [mscorlib]System.Type + IL_0009: ldc.i4.0 + IL_000a: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[], class [mscorlib]System.Type[], bool) + IL_000f: stloc.0 + IL_0010: br IL_0015 - // method line 294 - .method public hidebysig - instance default class [System]System.Collections.Specialized.StringCollection GetElements () cil managed + IL_0015: ldloc.0 + IL_0016: ret + } // end of method NAntSchemaGenerator::CreateTaskListComplexType + + // method line 218 + .method family hidebysig + instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType CreateTaskListComplexType (class [mscorlib]System.Type[] tasks, class [mscorlib]System.Type[] dataTypes, bool includeProjectLevelItems) cil managed { - // Method begins at RVA 0x7f48 - // Code size 353 (0x161) - .maxstack 2 + // Method begins at RVA 0x8ff4 + // Code size 392 (0x188) + .maxstack 6 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - object V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - class NAnt.Core.Types.PathElement V_6, - string V_7, - class [System]System.Collections.Specialized.StringEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - class [mscorlib]System.IDisposable V_10, - class [System]System.Collections.Specialized.StringCollection V_11) + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0, + class [System.Xml]System.Xml.Schema.XmlSchemaChoice V_1, + class [mscorlib]System.Type V_2, + class [mscorlib]System.Type[] V_3, + int32 V_4, + class [System.Xml]System.Xml.Schema.XmlSchemaElement V_5, + string V_6, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_7, + class [mscorlib]System.Type V_8, + class [mscorlib]System.Type[] V_9, + int32 V_10, + class [System.Xml]System.Xml.Schema.XmlSchemaElement V_11, + string V_12, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_13, + class [System.Xml]System.Xml.Schema.XmlSchemaElement V_14, + class [System.Xml]System.Xml.Schema.XmlSchemaAny V_15, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_16) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements - IL_0007: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Util.StringUtils::Clone(class [System]System.Collections.Specialized.StringCollection) - IL_000c: stloc.0 - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements - IL_0014: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0019: stloc.2 - .try { // 2 - IL_001a: br IL_0130 + IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::'.ctor'() + IL_0006: stloc.0 + IL_0007: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaChoice::'.ctor'() + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldc.i4.0 + IL_000f: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_0014: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) + IL_0019: ldloc.1 + IL_001a: ldstr "unbounded" + IL_001f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccursString(string) + IL_0024: ldloc.0 + IL_0025: ldloc.1 + IL_0026: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) + IL_002b: nop + IL_002c: ldarg.1 + IL_002d: stloc.3 + IL_002e: ldc.i4.0 + IL_002f: stloc.s 4 + IL_0031: br IL_0086 - IL_001f: ldloc.2 - IL_0020: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0025: stloc.1 - IL_0026: nop - IL_0027: ldloc.1 - IL_0028: isinst NAnt.Core.Types.PathSet - IL_002d: brfalse IL_0099 + IL_0036: ldloc.3 + IL_0037: ldloc.s 4 + IL_0039: ldelem.ref + IL_003a: stloc.2 + IL_003b: nop + IL_003c: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() + IL_0041: stloc.s 5 + IL_0043: ldloc.2 + IL_0044: call string class NAnt.Core.Tasks.NAntSchemaTask::GenerateIDFromType(class [mscorlib]System.Type) + IL_0049: stloc.s 6 + IL_004b: ldarg.0 + IL_004c: ldloc.s 6 + IL_004e: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindComplexTypeByID(string) + IL_0053: stloc.s 7 + IL_0055: ldloc.s 5 + IL_0057: ldarg.0 + IL_0058: ldloc.2 + IL_0059: call instance string class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::GetTaskName(class [mscorlib]System.Type) + IL_005e: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) + IL_0063: ldloc.s 5 + IL_0065: ldloc.s 7 + IL_0067: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() + IL_006c: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) + IL_0071: ldloc.1 + IL_0072: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() + IL_0077: ldloc.s 5 + IL_0079: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_007e: pop + IL_007f: nop + IL_0080: ldloc.s 4 + IL_0082: ldc.i4.1 + IL_0083: add + IL_0084: stloc.s 4 + IL_0086: ldloc.s 4 + IL_0088: ldloc.3 + IL_0089: ldlen + IL_008a: conv.i4 + IL_008b: blt IL_0036 - IL_0032: nop - IL_0033: nop - IL_0034: ldloc.1 - IL_0035: castclass NAnt.Core.Types.PathSet - IL_003a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::GetElements() - IL_003f: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0044: stloc.s 4 - .try { // 0 - IL_0046: br IL_006b + IL_0090: nop + IL_0091: ldarg.2 + IL_0092: stloc.s 9 + IL_0094: ldc.i4.0 + IL_0095: stloc.s 10 + IL_0097: br IL_00f0 - IL_004b: ldloc.s 4 - IL_004d: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0052: stloc.3 - IL_0053: nop - IL_0054: ldloc.0 - IL_0055: ldloc.3 - IL_0056: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_005b: brtrue IL_006a + IL_009c: ldloc.s 9 + IL_009e: ldloc.s 10 + IL_00a0: ldelem.ref + IL_00a1: stloc.s 8 + IL_00a3: nop + IL_00a4: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() + IL_00a9: stloc.s 11 + IL_00ab: ldloc.s 8 + IL_00ad: call string class NAnt.Core.Tasks.NAntSchemaTask::GenerateIDFromType(class [mscorlib]System.Type) + IL_00b2: stloc.s 12 + IL_00b4: ldarg.0 + IL_00b5: ldloc.s 12 + IL_00b7: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindComplexTypeByID(string) + IL_00bc: stloc.s 13 + IL_00be: ldloc.s 11 + IL_00c0: ldarg.0 + IL_00c1: ldloc.s 8 + IL_00c3: call instance string class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::GetDataTypeName(class [mscorlib]System.Type) + IL_00c8: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) + IL_00cd: ldloc.s 11 + IL_00cf: ldloc.s 13 + IL_00d1: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() + IL_00d6: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) + IL_00db: ldloc.1 + IL_00dc: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() + IL_00e1: ldloc.s 11 + IL_00e3: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_00e8: pop + IL_00e9: nop + IL_00ea: ldloc.s 10 + IL_00ec: ldc.i4.1 + IL_00ed: add + IL_00ee: stloc.s 10 + IL_00f0: ldloc.s 10 + IL_00f2: ldloc.s 9 + IL_00f4: ldlen + IL_00f5: conv.i4 + IL_00f6: blt IL_009c - IL_0060: nop - IL_0061: ldloc.0 - IL_0062: ldloc.3 - IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0068: pop - IL_0069: nop - IL_006a: nop - IL_006b: ldloc.s 4 - IL_006d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0072: brtrue IL_004b + IL_00fb: ldarg.3 + IL_00fc: brfalse IL_0136 - IL_0077: leave IL_0093 + IL_0101: nop + IL_0102: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() + IL_0107: stloc.s 14 + IL_0109: ldloc.s 14 + IL_010b: ldstr "target" + IL_0110: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) + IL_0115: ldloc.s 14 + IL_0117: ldarg.0 + IL_0118: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT + IL_011d: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() + IL_0122: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) + IL_0127: ldloc.1 + IL_0128: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() + IL_012d: ldloc.s 14 + IL_012f: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_0134: pop + IL_0135: nop + IL_0136: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAny::'.ctor'() + IL_013b: stloc.s 15 + IL_013d: ldloc.s 15 + IL_013f: ldc.i4.0 + IL_0140: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_0145: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) + IL_014a: ldloc.s 15 + IL_014c: ldc.i4.m1 + IL_014d: ldc.i4.m1 + IL_014e: ldc.i4.m1 + IL_014f: ldc.i4.0 + IL_0150: ldc.i4.0 + IL_0151: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) + IL_0156: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccurs(valuetype [mscorlib]System.Decimal) + IL_015b: ldloc.s 15 + IL_015d: ldstr "##other" + IL_0162: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAny::set_Namespace(string) + IL_0167: ldloc.s 15 + IL_0169: ldc.i4.3 + IL_016a: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAny::set_ProcessContents(valuetype [System.Xml]System.Xml.Schema.XmlSchemaContentProcessing) + IL_016f: ldloc.1 + IL_0170: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() + IL_0175: ldloc.s 15 + IL_0177: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_017c: pop + IL_017d: ldloc.0 + IL_017e: stloc.s 16 + IL_0180: br IL_0185 - } // end .try 0 - finally { // 0 - IL_007c: ldloc.s 4 - IL_007e: isinst [mscorlib]System.IDisposable - IL_0083: dup - IL_0084: stloc.s 5 - IL_0086: brfalse IL_0092 - - IL_008b: ldloc.s 5 - IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0092: endfinally - } // end handler 0 - IL_0093: nop - IL_0094: br IL_012f - - IL_0099: ldloc.1 - IL_009a: isinst NAnt.Core.Types.PathElement - IL_009f: brfalse IL_012f - - IL_00a4: nop - IL_00a5: ldloc.1 - IL_00a6: castclass NAnt.Core.Types.PathElement - IL_00ab: stloc.s 6 - IL_00ad: ldloc.s 6 - IL_00af: callvirt instance bool class NAnt.Core.Types.PathElement::get_IfDefined() - IL_00b4: brfalse IL_00c5 - - IL_00b9: ldloc.s 6 - IL_00bb: callvirt instance bool class NAnt.Core.Types.PathElement::get_UnlessDefined() - IL_00c0: brfalse IL_00cb - - IL_00c5: nop - IL_00c6: leave IL_0130 - - IL_00cb: nop - IL_00cc: ldloc.1 - IL_00cd: castclass NAnt.Core.Types.PathElement - IL_00d2: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathElement::get_Parts() - IL_00d7: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00dc: stloc.s 8 - .try { // 1 - IL_00de: br IL_0106 + IL_0185: ldloc.s 16 + IL_0187: ret + } // end of method NAntSchemaGenerator::CreateTaskListComplexType - IL_00e3: ldloc.s 8 - IL_00e5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00ea: stloc.s 7 - IL_00ec: nop - IL_00ed: ldloc.0 - IL_00ee: ldloc.s 7 - IL_00f0: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_00f5: brtrue IL_0105 + // method line 219 + .method family hidebysig + instance default void ValidationEH (object sender, class [System.Xml]System.Xml.Schema.ValidationEventArgs args) cil managed + { + // Method begins at RVA 0x9188 + // Code size 136 (0x88) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: callvirt instance valuetype [System.Xml]System.Xml.Schema.XmlSeverityType class [System.Xml]System.Xml.Schema.ValidationEventArgs::get_Severity() + IL_0007: ldc.i4.1 + IL_0008: bne.un IL_0023 - IL_00fa: nop - IL_00fb: ldloc.0 - IL_00fc: ldloc.s 7 - IL_00fe: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0103: pop - IL_0104: nop - IL_0105: nop - IL_0106: ldloc.s 8 - IL_0108: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_010d: brtrue IL_00e3 + IL_000d: nop + IL_000e: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger + IL_0013: ldstr "WARNING: " + IL_0018: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_001d: nop + IL_001e: br IL_003f - IL_0112: leave IL_012e + IL_0023: ldarg.2 + IL_0024: callvirt instance valuetype [System.Xml]System.Xml.Schema.XmlSeverityType class [System.Xml]System.Xml.Schema.ValidationEventArgs::get_Severity() + IL_0029: brtrue IL_003f - } // end .try 1 - finally { // 1 - IL_0117: ldloc.s 8 - IL_0119: isinst [mscorlib]System.IDisposable - IL_011e: dup - IL_011f: stloc.s 9 - IL_0121: brfalse IL_012d + IL_002e: nop + IL_002f: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger + IL_0034: ldstr "ERROR: " + IL_0039: callvirt instance void class [log4net]log4net.ILog::Error(object) + IL_003e: nop + IL_003f: ldarg.2 + IL_0040: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaException class [System.Xml]System.Xml.Schema.ValidationEventArgs::get_Exception() + IL_0045: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObject class [System.Xml]System.Xml.Schema.XmlSchemaException::get_SourceSchemaObject() + IL_004a: isinst [System.Xml]System.Xml.Schema.XmlSchemaComplexType + IL_004f: stloc.0 + IL_0050: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger + IL_0055: ldarg.2 + IL_0056: callvirt instance string object::ToString() + IL_005b: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_0060: ldloc.0 + IL_0061: brfalse IL_0087 - IL_0126: ldloc.s 9 - IL_0128: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_012d: endfinally - } // end handler 1 - IL_012e: nop - IL_012f: nop - IL_0130: ldloc.2 - IL_0131: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0136: brtrue IL_001f + IL_0066: nop + IL_0067: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger + IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0071: ldstr "{0}" + IL_0076: ldloc.0 + IL_0077: callvirt instance string class [System.Xml]System.Xml.Schema.XmlSchemaType::get_Name() + IL_007c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0081: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_0086: nop + IL_0087: ret + } // end of method NAntSchemaGenerator::ValidationEH - IL_013b: leave IL_0156 + // method line 220 + .method family hidebysig + instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindComplexTypeByID (string id) cil managed + { + // Method begins at RVA 0x921c + // Code size 51 (0x33) + .maxstack 2 + .locals init ( + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IDictionary::Contains(object) + IL_000d: brfalse IL_002a - } // end .try 2 - finally { // 2 - IL_0140: ldloc.2 - IL_0141: isinst [mscorlib]System.IDisposable - IL_0146: dup - IL_0147: stloc.s 10 - IL_0149: brfalse IL_0155 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes + IL_0019: ldarg.1 + IL_001a: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) + IL_001f: castclass [System.Xml]System.Xml.Schema.XmlSchemaComplexType + IL_0024: stloc.0 + IL_0025: br IL_0031 - IL_014e: ldloc.s 10 - IL_0150: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0155: endfinally - } // end handler 2 - IL_0156: ldloc.0 - IL_0157: stloc.s 11 - IL_0159: br IL_015e + IL_002a: ldnull + IL_002b: stloc.0 + IL_002c: br IL_0031 - IL_015e: ldloc.s 11 - IL_0160: ret - } // end of method PathSet::GetElements + IL_0031: ldloc.0 + IL_0032: ret + } // end of method NAntSchemaGenerator::FindComplexTypeByID - // method line 295 - .method public static hidebysig - default class [System]System.Collections.Specialized.StringCollection TranslatePath (class NAnt.Core.Project project, string source) cil managed + // method line 221 + .method family hidebysig + instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindOrCreateComplexType (class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0x8104 - // Code size 388 (0x184) - .maxstack 7 + // Method begins at RVA 0x925c + // Code size 1102 (0x44e) + .maxstack 6 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class [System]System.Collections.Specialized.StringCollection V_1, - string[] V_2, - int32 V_3, - string V_4, - string V_5, - string V_6, - string V_7, - string[] V_8, - int32 V_9, - string V_10, - class [mscorlib]System.Exception V_11) + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0, + string V_1, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_2, + class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_3, + class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection V_4, + class [mscorlib]System.Reflection.MemberInfo V_5, + class [mscorlib]System.Reflection.MemberInfo[] V_6, + int32 V_7, + class NAnt.Core.Attributes.TaskAttributeAttribute V_8, + class NAnt.Core.Attributes.BuildElementAttribute V_9, + class [System.Xml]System.Xml.Schema.XmlSchemaAttribute V_10, + valuetype [mscorlib]System.Decimal V_11, + class [System.Xml]System.Xml.Schema.XmlSchemaElement V_12, + class [mscorlib]System.Type V_13, + class [mscorlib]System.Reflection.MethodInfo V_14, + class NAnt.Core.Attributes.BuildElementArrayAttribute V_15, + class [mscorlib]System.Type V_16, + class [mscorlib]System.Reflection.MethodInfo V_17, + class [mscorlib]System.Reflection.MethodInfo[] V_18, + int32 V_19, + class [mscorlib]System.Reflection.ParameterInfo V_20, + class NAnt.Core.Attributes.BuildElementCollectionAttribute V_21, + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_22, + class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_23, + class [System.Xml]System.Xml.Schema.XmlSchemaElement V_24) IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.1 - IL_0008: brtrue IL_0015 + IL_0001: ldarg.1 + IL_0002: call string class NAnt.Core.Tasks.NAntSchemaTask::GenerateIDFromType(class [mscorlib]System.Type) + IL_0007: stloc.1 + IL_0008: ldarg.0 + IL_0009: ldloc.1 + IL_000a: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindComplexTypeByID(string) + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: brfalse IL_001e - IL_000d: nop - IL_000e: ldloc.0 - IL_000f: stloc.1 - IL_0010: br IL_0182 + IL_0016: nop + IL_0017: ldloc.0 + IL_0018: stloc.2 + IL_0019: br IL_044c - IL_0015: ldarg.1 - IL_0016: ldc.i4.2 - IL_0017: newarr [mscorlib]System.Char - IL_001c: dup - IL_001d: ldc.i4.0 - IL_001e: ldc.i4.s 0x3a - IL_0020: stelem.i2 - IL_0021: dup - IL_0022: ldc.i4.1 - IL_0023: ldc.i4.s 0x3b - IL_0025: stelem.i2 - IL_0026: callvirt instance string[] string::Split(char[]) - IL_002b: stloc.2 - IL_002c: ldc.i4.0 - IL_002d: stloc.3 - IL_002e: br IL_0172 + IL_001e: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::'.ctor'() + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: ldloc.1 + IL_0026: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_Name(string) + IL_002b: ldsfld string[] NAnt.Core.Tasks.NAntSchemaTask::mixedTaskNames + IL_0030: ldloc.0 + IL_0031: callvirt instance string class [System.Xml]System.Xml.Schema.XmlSchemaType::get_Name() + IL_0036: call int32 class [mscorlib]System.Array::IndexOf (!!0[], !!0) + IL_003b: ldc.i4.m1 + IL_003c: beq IL_004a - IL_0033: nop - IL_0034: ldloc.2 - IL_0035: ldloc.3 - IL_0036: ldelem.ref - IL_0037: stloc.s 4 - IL_0039: ldloc.s 4 - IL_003b: callvirt instance int32 string::get_Length() - IL_0040: ldc.i4.1 - IL_0041: bne.un IL_00b3 + IL_0041: nop + IL_0042: ldloc.0 + IL_0043: ldc.i4.1 + IL_0044: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_IsMixed(bool) + IL_0049: nop + IL_004a: ldarg.0 + IL_004b: ldfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes + IL_0050: ldloc.1 + IL_0051: ldloc.0 + IL_0052: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) + IL_0057: ldnull + IL_0058: stloc.3 + IL_0059: ldloc.0 + IL_005a: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() + IL_005f: stloc.s 4 + IL_0061: nop + IL_0062: ldarg.1 + IL_0063: ldc.i4.s 0x14 + IL_0065: callvirt instance class [mscorlib]System.Reflection.MemberInfo[] class [mscorlib]System.Type::GetMembers(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_006a: stloc.s 6 + IL_006c: ldc.i4.0 + IL_006d: stloc.s 7 + IL_006f: br IL_03fb - IL_0046: ldloc.s 4 - IL_0048: ldc.i4.0 - IL_0049: callvirt instance char string::get_Chars(int32) - IL_004e: call bool char::IsLetter(char) - IL_0053: brfalse IL_00b3 + IL_0074: ldloc.s 6 + IL_0076: ldloc.s 7 + IL_0078: ldelem.ref + IL_0079: stloc.s 5 + IL_007b: nop + IL_007c: ldloc.s 5 + IL_007e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_0083: ldtoken [mscorlib]System.Object + IL_0088: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_008d: callvirt instance bool class [mscorlib]System.Type::Equals(class [mscorlib]System.Type) + IL_0092: brfalse IL_009d - IL_0058: ldsfld bool NAnt.Core.Types.PathSet::_dosBasedFileSystem - IL_005d: brfalse IL_00b3 + IL_0097: nop + IL_0098: br IL_03f5 - IL_0062: ldloc.2 - IL_0063: ldlen - IL_0064: conv.i4 - IL_0065: ldloc.3 - IL_0066: ldc.i4.1 - IL_0067: add - IL_0068: ble IL_00b3 + IL_009d: ldloc.s 5 + IL_009f: ldtoken NAnt.Core.Attributes.TaskAttributeAttribute + IL_00a4: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00a9: ldc.i4.0 + IL_00aa: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_00af: castclass NAnt.Core.Attributes.TaskAttributeAttribute + IL_00b4: stloc.s 8 + IL_00b6: ldloc.s 5 + IL_00b8: ldtoken NAnt.Core.Attributes.BuildElementAttribute + IL_00bd: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00c2: ldc.i4.0 + IL_00c3: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_00c8: castclass NAnt.Core.Attributes.BuildElementAttribute + IL_00cd: stloc.s 9 + IL_00cf: ldloc.s 8 + IL_00d1: brfalse IL_00fc - IL_006d: nop - IL_006e: ldloc.2 - IL_006f: ldloc.3 - IL_0070: ldc.i4.1 - IL_0071: add - IL_0072: ldelem.ref - IL_0073: callvirt instance string string::Trim() - IL_0078: stloc.s 5 - IL_007a: ldloc.s 5 - IL_007c: ldstr "\\" - IL_0081: callvirt instance bool string::StartsWith(string) - IL_0086: brtrue IL_009c + IL_00d6: nop + IL_00d7: ldloc.s 8 + IL_00d9: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() + IL_00de: ldloc.s 8 + IL_00e0: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_Required() + IL_00e5: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) + IL_00ea: stloc.s 10 + IL_00ec: ldloc.s 4 + IL_00ee: ldloc.s 10 + IL_00f0: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_00f5: pop + IL_00f6: nop + IL_00f7: br IL_03f4 - IL_008b: ldloc.s 5 - IL_008d: ldstr "/" - IL_0092: callvirt instance bool string::StartsWith(string) - IL_0097: brfalse IL_00b2 + IL_00fc: ldloc.s 9 + IL_00fe: brfalse IL_03f4 - IL_009c: nop - IL_009d: ldloc.s 4 - IL_009f: ldstr ":" - IL_00a4: ldloc.s 5 - IL_00a6: call string string::Concat(string, string, string) - IL_00ab: stloc.s 4 - IL_00ad: ldloc.3 - IL_00ae: ldc.i4.1 - IL_00af: add - IL_00b0: stloc.3 - IL_00b1: nop - IL_00b2: nop - IL_00b3: ldloc.s 4 - IL_00b5: call string class [mscorlib]System.Environment::ExpandEnvironmentVariables(string) - IL_00ba: stloc.s 6 - IL_00bc: ldloc.s 6 - IL_00be: ldstr "%" - IL_00c3: callvirt instance bool string::StartsWith(string) - IL_00c8: brfalse IL_00e4 + IL_0103: nop + IL_0104: ldc.i4.0 + IL_0105: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_010a: stloc.s 11 + IL_010c: ldloc.s 9 + IL_010e: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_0113: brfalse IL_0122 - IL_00cd: ldloc.s 6 - IL_00cf: ldstr "%" - IL_00d4: callvirt instance bool string::EndsWith(string) - IL_00d9: brfalse IL_00e4 + IL_0118: nop + IL_0119: ldc.i4.1 + IL_011a: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_011f: stloc.s 11 + IL_0121: nop + IL_0122: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() + IL_0127: stloc.s 12 + IL_0129: ldloc.s 12 + IL_012b: ldloc.s 11 + IL_012d: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) + IL_0132: ldloc.s 12 + IL_0134: ldc.i4.1 + IL_0135: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_013a: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccurs(valuetype [mscorlib]System.Decimal) + IL_013f: ldloc.s 12 + IL_0141: ldloc.s 9 + IL_0143: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0148: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) + IL_014d: ldloc.s 5 + IL_014f: isinst [mscorlib]System.Reflection.PropertyInfo + IL_0154: brfalse IL_016e - IL_00de: nop - IL_00df: br IL_016e + IL_0159: nop + IL_015a: ldloc.s 5 + IL_015c: castclass [mscorlib]System.Reflection.PropertyInfo + IL_0161: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0166: stloc.s 13 + IL_0168: nop + IL_0169: br IL_01e9 - IL_00e4: nop - IL_00e5: ldloc.s 6 - IL_00e7: ldsfld char [mscorlib]System.IO.Path::PathSeparator - IL_00ec: ldc.i4.0 - IL_00ed: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_00f2: stloc.s 8 - IL_00f4: ldc.i4.0 - IL_00f5: stloc.s 9 - IL_00f7: br IL_0162 + IL_016e: ldloc.s 5 + IL_0170: isinst [mscorlib]System.Reflection.FieldInfo + IL_0175: brfalse IL_018f - IL_00fc: ldloc.s 8 - IL_00fe: ldloc.s 9 - IL_0100: ldelem.ref - IL_0101: stloc.s 7 - IL_0103: nop - .try { // 0 - IL_0104: nop - IL_0105: ldarg.0 - IL_0106: ldloc.s 7 - IL_0108: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_010d: stloc.s 10 - IL_010f: ldloc.0 - IL_0110: ldloc.s 10 - IL_0112: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_0117: brtrue IL_0127 + IL_017a: nop + IL_017b: ldloc.s 5 + IL_017d: castclass [mscorlib]System.Reflection.FieldInfo + IL_0182: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() + IL_0187: stloc.s 13 + IL_0189: nop + IL_018a: br IL_01e9 - IL_011c: nop - IL_011d: ldloc.0 - IL_011e: ldloc.s 10 - IL_0120: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0125: pop - IL_0126: nop - IL_0127: nop - IL_0128: leave IL_015b + IL_018f: ldloc.s 5 + IL_0191: isinst [mscorlib]System.Reflection.MethodInfo + IL_0196: brfalse IL_01dd - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_012d: stloc.s 11 - IL_012f: nop - IL_0130: ldarg.0 - IL_0131: ldc.i4 2000 - IL_0136: ldstr "Dropping path element '{0}' as it could not be resolved to a full path. {1}" - IL_013b: ldc.i4.2 - IL_013c: newarr [mscorlib]System.Object - IL_0141: dup - IL_0142: ldc.i4.0 - IL_0143: ldloc.s 7 - IL_0145: stelem.ref - IL_0146: dup - IL_0147: ldc.i4.1 - IL_0148: ldloc.s 11 - IL_014a: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_014f: stelem.ref - IL_0150: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0155: nop - IL_0156: leave IL_015b + IL_019b: nop + IL_019c: ldloc.s 5 + IL_019e: castclass [mscorlib]System.Reflection.MethodInfo + IL_01a3: stloc.s 14 + IL_01a5: ldloc.s 14 + IL_01a7: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_01ac: ldlen + IL_01ad: conv.i4 + IL_01ae: ldc.i4.1 + IL_01af: bne.un IL_01cb - } // end handler 0 - IL_015b: nop - IL_015c: ldloc.s 9 - IL_015e: ldc.i4.1 - IL_015f: add - IL_0160: stloc.s 9 - IL_0162: ldloc.s 9 - IL_0164: ldloc.s 8 - IL_0166: ldlen - IL_0167: conv.i4 - IL_0168: blt IL_00fc + IL_01b4: nop + IL_01b5: ldloc.s 14 + IL_01b7: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_01bc: ldc.i4.0 + IL_01bd: ldelem.ref + IL_01be: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_01c3: stloc.s 13 + IL_01c5: nop + IL_01c6: br IL_01d7 - IL_016d: nop - IL_016e: ldloc.3 - IL_016f: ldc.i4.1 - IL_0170: add - IL_0171: stloc.3 - IL_0172: ldloc.3 - IL_0173: ldloc.2 - IL_0174: ldlen - IL_0175: conv.i4 - IL_0176: blt IL_0033 + IL_01cb: nop + IL_01cc: ldstr "Method should have one parameter." + IL_01d1: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_01d6: throw + IL_01d7: nop + IL_01d8: br IL_01e9 - IL_017b: ldloc.0 - IL_017c: stloc.1 - IL_017d: br IL_0182 + IL_01dd: nop + IL_01de: ldstr "Member Type != Field/Property/Method" + IL_01e3: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_01e8: throw + IL_01e9: ldloc.s 5 + IL_01eb: ldtoken NAnt.Core.Attributes.BuildElementArrayAttribute + IL_01f0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01f5: ldc.i4.0 + IL_01f6: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_01fb: castclass NAnt.Core.Attributes.BuildElementArrayAttribute + IL_0200: stloc.s 15 + IL_0202: ldloc.s 15 + IL_0204: brfalse IL_0312 - IL_0182: ldloc.1 - IL_0183: ret - } // end of method PathSet::TranslatePath + IL_0209: nop + IL_020a: ldloc.s 15 + IL_020c: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() + IL_0211: ldnull + IL_0212: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0217: brfalse IL_02b5 - // method line 296 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + IL_021c: nop + IL_021d: ldloc.s 13 + IL_021f: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_0224: brfalse IL_0239 + + IL_0229: nop + IL_022a: ldloc.s 13 + IL_022c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_0231: stloc.s 13 + IL_0233: nop + IL_0234: br IL_02af + + IL_0239: nop + IL_023a: ldnull + IL_023b: stloc.s 16 + IL_023d: nop + IL_023e: ldloc.s 13 + IL_0240: ldc.i4.s 0x14 + IL_0242: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0247: stloc.s 18 + IL_0249: ldc.i4.0 + IL_024a: stloc.s 19 + IL_024c: br IL_029f + + IL_0251: ldloc.s 18 + IL_0253: ldloc.s 19 + IL_0255: ldelem.ref + IL_0256: stloc.s 17 + IL_0258: nop + IL_0259: ldloc.s 17 + IL_025b: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0260: ldstr "Add" + IL_0265: call bool string::op_Equality(string, string) + IL_026a: brfalse IL_0298 + + IL_026f: ldloc.s 17 + IL_0271: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0276: ldlen + IL_0277: conv.i4 + IL_0278: ldc.i4.1 + IL_0279: bne.un IL_0298 + + IL_027e: nop + IL_027f: ldloc.s 17 + IL_0281: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0286: ldc.i4.0 + IL_0287: ldelem.ref + IL_0288: stloc.s 20 + IL_028a: ldloc.s 20 + IL_028c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0291: stloc.s 16 + IL_0293: br IL_02aa + + IL_0298: nop + IL_0299: ldloc.s 19 + IL_029b: ldc.i4.1 + IL_029c: add + IL_029d: stloc.s 19 + IL_029f: ldloc.s 19 + IL_02a1: ldloc.s 18 + IL_02a3: ldlen + IL_02a4: conv.i4 + IL_02a5: blt IL_0251 + + IL_02aa: ldloc.s 16 + IL_02ac: stloc.s 13 + IL_02ae: nop + IL_02af: nop + IL_02b0: br IL_02c0 + + IL_02b5: nop + IL_02b6: ldloc.s 15 + IL_02b8: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() + IL_02bd: stloc.s 13 + IL_02bf: nop + IL_02c0: ldloc.s 13 + IL_02c2: ldnull + IL_02c3: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_02c8: brtrue IL_02e3 + + IL_02cd: ldtoken NAnt.Core.Element + IL_02d2: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_02d7: ldloc.s 13 + IL_02d9: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_02de: brtrue IL_0311 + + IL_02e3: nop + IL_02e4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02e9: ldstr "NA1140" + IL_02ee: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02f3: ldloc.s 5 + IL_02f5: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_02fa: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_02ff: ldloc.s 5 + IL_0301: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0306: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_030b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0310: throw + IL_0311: nop + IL_0312: ldloc.s 5 + IL_0314: ldtoken NAnt.Core.Attributes.BuildElementCollectionAttribute + IL_0319: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_031e: ldc.i4.0 + IL_031f: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0324: castclass NAnt.Core.Attributes.BuildElementCollectionAttribute + IL_0329: stloc.s 21 + IL_032b: ldloc.s 21 + IL_032d: brfalse IL_03aa + + IL_0332: nop + IL_0333: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::'.ctor'() + IL_0338: stloc.s 22 + IL_033a: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaSequence::'.ctor'() + IL_033f: stloc.s 23 + IL_0341: ldloc.s 22 + IL_0343: ldloc.s 23 + IL_0345: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) + IL_034a: ldloc.s 23 + IL_034c: ldc.i4.0 + IL_034d: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_0352: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) + IL_0357: ldloc.s 23 + IL_0359: ldstr "unbounded" + IL_035e: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccursString(string) + IL_0363: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() + IL_0368: stloc.s 24 + IL_036a: ldloc.s 24 + IL_036c: ldloc.s 21 + IL_036e: callvirt instance string class NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName() + IL_0373: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) + IL_0378: ldloc.s 24 + IL_037a: ldarg.0 + IL_037b: ldloc.s 13 + IL_037d: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) + IL_0382: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() + IL_0387: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) + IL_038c: ldloc.s 23 + IL_038e: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() + IL_0393: ldloc.s 24 + IL_0395: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_039a: pop + IL_039b: ldloc.s 12 + IL_039d: ldloc.s 22 + IL_039f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaType(class [System.Xml]System.Xml.Schema.XmlSchemaType) + IL_03a4: nop + IL_03a5: br IL_03c0 + + IL_03aa: nop + IL_03ab: ldloc.s 12 + IL_03ad: ldarg.0 + IL_03ae: ldloc.s 13 + IL_03b0: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) + IL_03b5: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() + IL_03ba: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) + IL_03bf: nop + IL_03c0: ldloc.3 + IL_03c1: brtrue IL_03e5 + + IL_03c6: nop + IL_03c7: ldc.i4.0 + IL_03c8: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) + IL_03cd: ldc.i4.m1 + IL_03ce: ldc.i4.m1 + IL_03cf: ldc.i4.m1 + IL_03d0: ldc.i4.0 + IL_03d1: ldc.i4.0 + IL_03d2: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) + IL_03d7: call class [System.Xml]System.Xml.Schema.XmlSchemaSequence class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdSequence(valuetype [mscorlib]System.Decimal, valuetype [mscorlib]System.Decimal) + IL_03dc: stloc.3 + IL_03dd: ldloc.0 + IL_03de: ldloc.3 + IL_03df: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) + IL_03e4: nop + IL_03e5: ldloc.3 + IL_03e6: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() + IL_03eb: ldloc.s 12 + IL_03ed: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_03f2: pop + IL_03f3: nop + IL_03f4: nop + IL_03f5: ldloc.s 7 + IL_03f7: ldc.i4.1 + IL_03f8: add + IL_03f9: stloc.s 7 + IL_03fb: ldloc.s 7 + IL_03fd: ldloc.s 6 + IL_03ff: ldlen + IL_0400: conv.i4 + IL_0401: blt IL_0074 + + IL_0406: ldloc.0 + IL_0407: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute::'.ctor'() + IL_040c: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_AnyAttribute(class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute) + IL_0411: ldloc.0 + IL_0412: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_AnyAttribute() + IL_0417: ldstr "##other" + IL_041c: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute::set_Namespace(string) + IL_0421: ldloc.0 + IL_0422: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_AnyAttribute() + IL_0427: ldc.i4.1 + IL_0428: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute::set_ProcessContents(valuetype [System.Xml]System.Xml.Schema.XmlSchemaContentProcessing) + IL_042d: ldarg.0 + IL_042e: call instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() + IL_0433: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() + IL_0438: ldloc.0 + IL_0439: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) + IL_043e: pop + IL_043f: ldarg.0 + IL_0440: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() + IL_0445: ldloc.0 + IL_0446: stloc.2 + IL_0447: br IL_044c + + IL_044c: ldloc.2 + IL_044d: ret + } // end of method NAntSchemaGenerator::FindOrCreateComplexType + + // method line 222 + .method private hidebysig + instance default string GetTaskName (class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0x82a4 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldsfld char [mscorlib]System.IO.Path::PathSeparator - IL_0005: ldc.i4.s 0x3b - IL_0007: ceq - IL_0009: stsfld bool NAnt.Core.Types.PathSet::_dosBasedFileSystem - IL_000e: ret - } // end of method PathSet::.cctor + // Method begins at RVA 0x96b8 + // Code size 58 (0x3a) + .maxstack 3 + .locals init ( + class NAnt.Core.Attributes.TaskNameAttribute[] V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldtoken NAnt.Core.Attributes.TaskNameAttribute + IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000c: ldc.i4.0 + IL_000d: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0012: castclass class NAnt.Core.Attributes.TaskNameAttribute[] + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldlen + IL_001a: conv.i4 + IL_001b: ldc.i4.1 + IL_001c: bne.un IL_0030 - } // end of class NAnt.Core.Types.PathSet + IL_0021: nop + IL_0022: ldloc.0 + IL_0023: ldc.i4.0 + IL_0024: ldelem.ref + IL_0025: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_002a: stloc.1 + IL_002b: br IL_0038 + + IL_0030: nop + IL_0031: ldnull + IL_0032: stloc.1 + IL_0033: br IL_0038 + + IL_0038: ldloc.1 + IL_0039: ret + } // end of method NAntSchemaGenerator::GetTaskName + + // method line 223 + .method private hidebysig + instance default string GetDataTypeName (class [mscorlib]System.Type t) cil managed + { + // Method begins at RVA 0x9700 + // Code size 58 (0x3a) + .maxstack 3 + .locals init ( + class NAnt.Core.Attributes.ElementNameAttribute[] V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000c: ldc.i4.0 + IL_000d: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0012: castclass class NAnt.Core.Attributes.ElementNameAttribute[] + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldlen + IL_001a: conv.i4 + IL_001b: ldc.i4.1 + IL_001c: bne.un IL_0030 + + IL_0021: nop + IL_0022: ldloc.0 + IL_0023: ldc.i4.0 + IL_0024: ldelem.ref + IL_0025: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_002a: stloc.1 + IL_002b: br IL_0038 + + IL_0030: nop + IL_0031: ldnull + IL_0032: stloc.1 + IL_0033: br IL_0038 + + IL_0038: ldloc.1 + IL_0039: ret + } // end of method NAntSchemaGenerator::GetDataTypeName + + .property instance class [System.Xml]System.Xml.Schema.XmlSchema Schema () + { + .get instance default class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema () + } + } // end of class NAntSchemaGenerator + + } // end of class NAnt.Core.Tasks.NAntSchemaTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit XsltParameter - extends NAnt.Core.Element + .class public auto ansi beforefieldinit RegexTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0D 78 73 6C 74 70 61 72 61 6D 65 74 65 72 // ...xsltparameter - 00 00 ) // .. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 72 65 67 65 78 00 00 ) // ...regex.. - .field private string _name - .field private string _namespaceUri - .field private string _value - .field private bool _ifDefined - .field private bool _unlessDefined + .field private string _pattern + .field private string _input + .field private valuetype [System]System.Text.RegularExpressions.RegexOptions _options - // method line 297 + // method line 224 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x82b4 - // Code size 48 (0x30) + // Method begins at RVA 0x9746 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.Core.Types.XsltParameter::_name - IL_000b: ldarg.0 - IL_000c: ldsfld string [mscorlib]System.String::Empty - IL_0011: stfld string NAnt.Core.Types.XsltParameter::_namespaceUri - IL_0016: ldarg.0 - IL_0017: ldsfld string [mscorlib]System.String::Empty - IL_001c: stfld string NAnt.Core.Types.XsltParameter::_value - IL_0021: ldarg.0 - IL_0022: ldc.i4.1 - IL_0023: stfld bool NAnt.Core.Types.XsltParameter::_ifDefined - IL_0028: ldarg.0 - IL_0029: call instance void class NAnt.Core.Element::'.ctor'() - IL_002e: nop - IL_002f: ret - } // end of method XsltParameter::.ctor + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::_options + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Task::'.ctor'() + IL_000d: ret + } // end of method RegexTask::.ctor - // method line 298 + // method line 225 .method public hidebysig specialname - instance default string get_ParameterName () cil managed + instance default string get_Pattern () cil managed { - // Method begins at RVA 0x82e8 + // Method begins at RVA 0x9758 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XsltParameter::_name + IL_0002: ldfld string NAnt.Core.Tasks.RegexTask::_pattern IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltParameter::get_ParameterName + } // end of method RegexTask::get_Pattern - // method line 299 + // method line 226 .method public hidebysig specialname - instance default void set_ParameterName (string 'value') cil managed + instance default void set_Pattern (string 'value') cil managed { - // Method begins at RVA 0x8303 + // Method begins at RVA 0x9773 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XsltParameter::_name + IL_0003: stfld string NAnt.Core.Tasks.RegexTask::_pattern IL_0008: ret - } // end of method XsltParameter::set_ParameterName + } // end of method RegexTask::set_Pattern - // method line 300 + // method line 227 .method public hidebysig specialname - instance default string get_NamespaceUri () cil managed + instance default valuetype [System]System.Text.RegularExpressions.RegexOptions get_Options () cil managed { - // Method begins at RVA 0x8310 + // Method begins at RVA 0x9780 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype [System]System.Text.RegularExpressions.RegexOptions V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XsltParameter::_namespaceUri + IL_0002: ldfld valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::_options IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltParameter::get_NamespaceUri + } // end of method RegexTask::get_Options - // method line 301 + // method line 228 .method public hidebysig specialname - instance default void set_NamespaceUri (string 'value') cil managed + instance default void set_Options (valuetype [System]System.Text.RegularExpressions.RegexOptions 'value') cil managed { - // Method begins at RVA 0x832b + // Method begins at RVA 0x979b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XsltParameter::_namespaceUri + IL_0003: stfld valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::_options IL_0008: ret - } // end of method XsltParameter::set_NamespaceUri + } // end of method RegexTask::set_Options - // method line 302 + // method line 229 .method public hidebysig specialname - instance default string get_Value () cil managed + instance default string get_Input () cil managed { - // Method begins at RVA 0x8338 + // Method begins at RVA 0x97a8 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XsltParameter::_value + IL_0002: ldfld string NAnt.Core.Tasks.RegexTask::_input IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltParameter::get_Value + } // end of method RegexTask::get_Input - // method line 303 + // method line 230 .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + instance default void set_Input (string 'value') cil managed { - // Method begins at RVA 0x8353 + // Method begins at RVA 0x97c3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XsltParameter::_value + IL_0003: stfld string NAnt.Core.Tasks.RegexTask::_input IL_0008: ret - } // end of method XsltParameter::set_Value - - // method line 304 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x8360 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltParameter::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltParameter::get_IfDefined + } // end of method RegexTask::set_Input - // method line 305 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 231 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x837b - // Code size 9 (0x9) + // Method begins at RVA 0x97d0 + // Code size 257 (0x101) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XsltParameter::_ifDefined - IL_0008: ret - } // end of method XsltParameter::set_IfDefined - - // method line 306 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x8388 - // Code size 15 (0xf) - .maxstack 1 .locals init ( - bool V_0) + class [System]System.Text.RegularExpressions.Regex V_0, + class [mscorlib]System.ArgumentException V_1, + class [System]System.Text.RegularExpressions.Match V_2, + int32 V_3, + string V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltParameter::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: call instance string class NAnt.Core.Tasks.RegexTask::get_Pattern() + IL_000a: ldarg.0 + IL_000b: call instance valuetype [System]System.Text.RegularExpressions.RegexOptions class NAnt.Core.Tasks.RegexTask::get_Options() + IL_0010: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_0015: stloc.0 + IL_0016: nop + IL_0017: leave IL_0045 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltParameter::get_UnlessDefined + } // end .try 0 + catch class [mscorlib]System.ArgumentException { // 0 + IL_001c: stloc.1 + IL_001d: nop + IL_001e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0023: ldstr "NA1145" + IL_0028: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_002d: ldarg.0 + IL_002e: call instance string class NAnt.Core.Tasks.RegexTask::get_Pattern() + IL_0033: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0038: ldarg.0 + IL_0039: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_003e: ldloc.1 + IL_003f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0044: throw + } // end handler 0 + IL_0045: ldloc.0 + IL_0046: ldarg.0 + IL_0047: call instance string class NAnt.Core.Tasks.RegexTask::get_Input() + IL_004c: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0051: stloc.2 + IL_0052: ldloc.2 + IL_0053: call class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Match::get_Empty() + IL_0058: bne.un IL_008a - // method line 307 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x83a3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XsltParameter::_unlessDefined - IL_0008: ret - } // end of method XsltParameter::set_UnlessDefined + IL_005d: nop + IL_005e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0063: ldstr "NA1144" + IL_0068: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_006d: ldarg.0 + IL_006e: call instance string class NAnt.Core.Tasks.RegexTask::get_Pattern() + IL_0073: ldarg.0 + IL_0074: call instance string class NAnt.Core.Tasks.RegexTask::get_Input() + IL_0079: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_007e: ldarg.0 + IL_007f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0084: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0089: throw + IL_008a: ldc.i4.1 + IL_008b: stloc.3 + IL_008c: br IL_00ef - .property instance string ParameterName () + IL_0091: nop + IL_0092: ldloc.0 + IL_0093: ldloc.3 + IL_0094: callvirt instance string class [System]System.Text.RegularExpressions.Regex::GroupNameFromNumber(int32) + IL_0099: stloc.s 4 + IL_009b: ldarg.0 + IL_009c: ldc.i4 2000 + IL_00a1: ldstr "Setting property '{0}' to '{1}'." + IL_00a6: ldc.i4.2 + IL_00a7: newarr [mscorlib]System.Object + IL_00ac: dup + IL_00ad: ldc.i4.0 + IL_00ae: ldloc.s 4 + IL_00b0: stelem.ref + IL_00b1: dup + IL_00b2: ldc.i4.1 + IL_00b3: ldloc.2 + IL_00b4: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_00b9: ldloc.s 4 + IL_00bb: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_00c0: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_00c5: stelem.ref + IL_00c6: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00cb: ldarg.0 + IL_00cc: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00d1: ldloc.s 4 + IL_00d3: ldloc.2 + IL_00d4: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_00d9: ldloc.s 4 + IL_00db: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_00e0: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_00e5: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00ea: nop + IL_00eb: ldloc.3 + IL_00ec: ldc.i4.1 + IL_00ed: add + IL_00ee: stloc.3 + IL_00ef: ldloc.3 + IL_00f0: ldloc.2 + IL_00f1: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_00f6: callvirt instance int32 class [System]System.Text.RegularExpressions.GroupCollection::get_Count() + IL_00fb: blt IL_0091 + + IL_0100: ret + } // end of method RegexTask::ExecuteTask + + .property instance string Pattern () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + 01 00 07 70 61 74 74 65 72 6E 01 00 54 02 08 52 // ...pattern..T..R + 65 71 75 69 72 65 64 01 ) // equired. .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt 79 00 ) // y. - .get instance default string NAnt.Core.Types.XsltParameter::get_ParameterName () - .set instance default void NAnt.Core.Types.XsltParameter::set_ParameterName (string 'value') + .get instance default string NAnt.Core.Tasks.RegexTask::get_Pattern () + .set instance default void NAnt.Core.Tasks.RegexTask::set_Pattern (string 'value') } - .property instance string NamespaceUri () + .property instance valuetype [System]System.Text.RegularExpressions.RegexOptions Options () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6E 61 6D 65 73 70 61 63 65 75 72 69 00 // ...namespaceuri. - 00 ) // . + 01 00 07 6F 70 74 69 6F 6E 73 01 00 54 02 08 52 // ...options..T..R + 65 71 75 69 72 65 64 00 ) // equired. - .get instance default string NAnt.Core.Types.XsltParameter::get_NamespaceUri () - .set instance default void NAnt.Core.Types.XsltParameter::set_NamespaceUri (string 'value') + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. + + .get instance default valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::get_Options () + .set instance default void NAnt.Core.Tasks.RegexTask::set_Options (valuetype [System]System.Text.RegularExpressions.RegexOptions 'value') } - .property instance string Value () + .property instance string Input () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 76 61 6C 75 65 01 00 54 02 08 52 65 71 // ...value..T..Req + 01 00 05 69 6E 70 75 74 01 00 54 02 08 52 65 71 // ...input..T..Req 75 69 72 65 64 01 ) // uired. - .get instance default string NAnt.Core.Types.XsltParameter::get_Value () - .set instance default void NAnt.Core.Types.XsltParameter::set_Value (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.XsltParameter::get_IfDefined () - .set instance default void NAnt.Core.Types.XsltParameter::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. - .get instance default bool NAnt.Core.Types.XsltParameter::get_UnlessDefined () - .set instance default void NAnt.Core.Types.XsltParameter::set_UnlessDefined (bool 'value') + .get instance default string NAnt.Core.Tasks.RegexTask::get_Input () + .set instance default void NAnt.Core.Tasks.RegexTask::set_Input (string 'value') } - } // end of class NAnt.Core.Types.XsltParameter + } // end of class NAnt.Core.Tasks.RegexTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi sealed ManagedExecution - extends [mscorlib]System.Enum + .class public auto ansi beforefieldinit IfTask + extends NAnt.Core.TaskContainer { - .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 29 4E 41 6E 74 2E 43 6F 72 65 2E 54 79 70 // ..)NAnt.Core.Typ - 65 73 2E 4D 61 6E 61 67 65 64 45 78 65 63 75 74 // es.ManagedExecut - 69 6F 6E 43 6F 6E 76 65 72 74 65 72 00 00 ) // ionConverter.. - - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Types.ManagedExecution Default = int32(0x00000000) - .field public static literal valuetype NAnt.Core.Types.ManagedExecution Auto = int32(0x00000001) - .field public static literal valuetype NAnt.Core.Types.ManagedExecution Strict = int32(0x00000002) - - } // end of class NAnt.Core.Types.ManagedExecution -} + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit ManagedExecutionConverter - extends [System]System.ComponentModel.EnumConverter - { + .field private string _propNameTrue + .field private string _propNameExists + .field private string _targetName + .field private string _test + .field private class NAnt.Core.Types.FileSet _compareFiles + .field private class NAnt.Core.Types.FileSet _uptodateFiles - // method line 308 + // method line 232 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x83ad - // Code size 18 (0x12) + // Method begins at RVA 0x98f0 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldtoken NAnt.Core.Types.ManagedExecution - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) - IL_0010: nop - IL_0011: ret - } // end of method ManagedExecutionConverter::.ctor + IL_0001: call instance void class NAnt.Core.TaskContainer::'.ctor'() + IL_0006: ret + } // end of method IfTask::.ctor - // method line 309 - .method public virtual hidebysig - instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + // method line 233 + .method public hidebysig specialname + instance default void set_UpToDateFile (string 'value') cil managed { - // Method begins at RVA 0x83c0 - // Code size 122 (0x7a) - .maxstack 4 - .locals init ( - string V_0, - object V_1) + // Method begins at RVA 0x98f8 + // Code size 90 (0x5a) + .maxstack 2 IL_0000: nop - IL_0001: ldarg.3 - IL_0002: isinst [mscorlib]System.String - IL_0007: brfalse IL_0069 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_0007: brtrue IL_0047 IL_000c: nop - IL_000d: ldarg.3 - IL_000e: castclass [mscorlib]System.String - IL_0013: stloc.0 - IL_0014: ldloc.0 - IL_0015: ldsfld string [mscorlib]System.Boolean::TrueString - IL_001a: ldc.i4.1 - IL_001b: ldarg.2 - IL_001c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0021: brtrue IL_0033 - - IL_0026: nop - IL_0027: ldc.i4.1 - IL_0028: box NAnt.Core.Types.ManagedExecution - IL_002d: stloc.1 - IL_002e: br IL_0078 - - IL_0033: ldloc.0 - IL_0034: ldsfld string [mscorlib]System.Boolean::FalseString - IL_0039: ldc.i4.1 - IL_003a: ldarg.2 - IL_003b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0040: brtrue IL_0052 - - IL_0045: nop - IL_0046: ldc.i4.0 - IL_0047: box NAnt.Core.Types.ManagedExecution - IL_004c: stloc.1 - IL_004d: br IL_0078 - - IL_0052: ldtoken NAnt.Core.Types.ManagedExecution - IL_0057: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_005c: ldloc.0 - IL_005d: ldc.i4.1 - IL_005e: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_0063: stloc.1 - IL_0064: br IL_0078 - - IL_0069: ldarg.0 - IL_006a: ldarg.1 - IL_006b: ldarg.2 - IL_006c: ldarg.3 - IL_006d: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) - IL_0072: stloc.1 - IL_0073: br IL_0078 - - IL_0078: ldloc.1 - IL_0079: ret - } // end of method ManagedExecutionConverter::ConvertFrom - - } // end of class NAnt.Core.Types.ManagedExecutionConverter -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit RawXml - extends NAnt.Core.Element - { + IL_000d: ldarg.0 + IL_000e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0013: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_0018: ldarg.0 + IL_0019: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_001e: ldarg.0 + IL_001f: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0024: ldarg.0 + IL_0025: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_002a: ldarg.0 + IL_002b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0030: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0035: ldarg.0 + IL_0036: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_003b: ldarg.0 + IL_003c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_0041: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0046: nop + IL_0047: ldarg.0 + IL_0048: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_004d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0052: ldarg.1 + IL_0053: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0058: pop + IL_0059: ret + } // end of method IfTask::set_UpToDateFile - // method line 310 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 234 + .method public hidebysig specialname + instance default void set_CompareFile (string 'value') cil managed { - // Method begins at RVA 0x8446 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method RawXml::.ctor + // Method begins at RVA 0x9960 + // Code size 90 (0x5a) + .maxstack 2 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_0007: brtrue IL_0047 - // method line 311 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0013: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_0018: ldarg.0 + IL_0019: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_001e: ldarg.0 + IL_001f: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0024: ldarg.0 + IL_0025: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_002a: ldarg.0 + IL_002b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0030: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0035: ldarg.0 + IL_0036: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_003b: ldarg.0 + IL_003c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_0041: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0046: nop + IL_0047: ldarg.0 + IL_0048: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_004d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0052: ldarg.1 + IL_0053: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0058: pop + IL_0059: ret + } // end of method IfTask::set_CompareFile + + // method line 235 .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNode get_Xml () cil managed + instance default class NAnt.Core.Types.FileSet get_CompareFiles () cil managed { - // Method begins at RVA 0x8450 + // Method begins at RVA 0x99c8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RawXml::get_Xml - - // method line 312 - .method family virtual hidebysig specialname - instance default bool get_CustomXmlProcessing () cil managed - { - // Method begins at RVA 0x846c - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method RawXml::get_CustomXmlProcessing - - .property instance class [System.Xml]System.Xml.XmlNode Xml () - { - .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Types.RawXml::get_Xml () - } - .property instance bool CustomXmlProcessing () - { - .get instance default bool NAnt.Core.Types.RawXml::get_CustomXmlProcessing () - } - } // end of class NAnt.Core.Types.RawXml -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit Token - extends NAnt.Core.Element - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 05 74 6F 6B 65 6E 00 00 ) // ...token.. - - .field private string _key - .field private string _value - .field private bool _ifDefined - .field private bool _unlessDefined + } // end of method IfTask::get_CompareFiles - // method line 313 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 236 + .method public hidebysig specialname + instance default void set_CompareFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x8482 - // Code size 14 (0xe) + // Method begins at RVA 0x99e3 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Token::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method Token::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_0008: ret + } // end of method IfTask::set_CompareFiles - // method line 314 + // method line 237 .method public hidebysig specialname - instance default string get_Key () cil managed + instance default class NAnt.Core.Types.FileSet get_UpToDateFiles () cil managed { - // Method begins at RVA 0x8494 + // Method begins at RVA 0x99f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Token::_key + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Token::get_Key + } // end of method IfTask::get_UpToDateFiles - // method line 315 + // method line 238 .method public hidebysig specialname - instance default void set_Key (string 'value') cil managed + instance default void set_UpToDateFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x84af + // Method begins at RVA 0x9a0b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Token::_key + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles IL_0008: ret - } // end of method Token::set_Key + } // end of method IfTask::set_UpToDateFiles - // method line 316 + // method line 239 .method public hidebysig specialname - instance default string get_Value () cil managed + instance default string get_PropertyNameTrue () cil managed { - // Method begins at RVA 0x84bc + // Method begins at RVA 0x9a18 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Token::_value + IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_propNameTrue IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Token::get_Value + } // end of method IfTask::get_PropertyNameTrue - // method line 317 + // method line 240 .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + instance default void set_PropertyNameTrue (string 'value') cil managed { - // Method begins at RVA 0x84d7 - // Code size 9 (0x9) + // Method begins at RVA 0x9a33 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Token::_value - IL_0008: ret - } // end of method Token::set_Value + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.IfTask::_propNameTrue + IL_000d: ret + } // end of method IfTask::set_PropertyNameTrue - // method line 318 + // method line 241 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default string get_PropertyNameExists () cil managed { - // Method begins at RVA 0x84e4 + // Method begins at RVA 0x9a44 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Token::_ifDefined + IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_propNameExists IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Token::get_IfDefined + } // end of method IfTask::get_PropertyNameExists - // method line 319 + // method line 242 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_PropertyNameExists (string 'value') cil managed { - // Method begins at RVA 0x84ff - // Code size 9 (0x9) + // Method begins at RVA 0x9a5f + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Token::_ifDefined - IL_0008: ret - } // end of method Token::set_IfDefined + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.IfTask::_propNameExists + IL_000d: ret + } // end of method IfTask::set_PropertyNameExists - // method line 320 + // method line 243 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default string get_TargetNameExists () cil managed { - // Method begins at RVA 0x850c + // Method begins at RVA 0x9a70 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Token::_unlessDefined + IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_targetName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Token::get_UnlessDefined + } // end of method IfTask::get_TargetNameExists - // method line 321 + // method line 244 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_TargetNameExists (string 'value') cil managed { - // Method begins at RVA 0x8527 - // Code size 9 (0x9) + // Method begins at RVA 0x9a8b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Token::_unlessDefined - IL_0008: ret - } // end of method Token::set_UnlessDefined - - .property instance string Key () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 6B 65 79 01 00 54 02 08 52 65 71 75 69 // ...key..T..Requi - 72 65 64 01 ) // red. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Types.Token::get_Key () - .set instance default void NAnt.Core.Types.Token::set_Key (string 'value') - } - .property instance string Value () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 76 61 6C 75 65 01 00 54 02 08 52 65 71 // ...value..T..Req - 75 69 72 65 64 01 ) // uired. - - .get instance default string NAnt.Core.Types.Token::get_Value () - .set instance default void NAnt.Core.Types.Token::set_Value (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 69 66 01 00 54 02 08 52 65 71 75 69 72 // ...if..T..Requir - 65 64 00 ) // ed. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Token::get_IfDefined () - .set instance default void NAnt.Core.Types.Token::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 75 6E 6C 65 73 73 01 00 54 02 08 52 65 // ...unless..T..Re - 71 75 69 72 65 64 00 ) // quired. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Token::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Token::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.Token -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit Option - extends NAnt.Core.Element - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 06 6F 70 74 69 6F 6E 00 00 ) // ...option.. - - .field private string _name - .field private string _value - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 322 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name, string 'value') cil managed - { - // Method begins at RVA 0x8531 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Option::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld string NAnt.Core.Types.Option::_name - IL_0015: ldarg.0 - IL_0016: ldarg.2 - IL_0017: stfld string NAnt.Core.Types.Option::_value - IL_001c: ret - } // end of method Option::.ctor - - // method line 323 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x854f - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Option::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Option::.ctor + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.IfTask::_targetName + IL_000d: ret + } // end of method IfTask::set_TargetNameExists - // method line 324 + // method line 245 .method public hidebysig specialname - instance default string get_OptionName () cil managed + instance default string get_Test () cil managed { - // Method begins at RVA 0x8560 + // Method begins at RVA 0x9a9c // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Option::_name + IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_test IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Option::get_OptionName + } // end of method IfTask::get_Test - // method line 325 + // method line 246 .method public hidebysig specialname - instance default void set_OptionName (string 'value') cil managed + instance default void set_Test (string 'value') cil managed { - // Method begins at RVA 0x857b - // Code size 9 (0x9) + // Method begins at RVA 0x9ab7 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Option::_name - IL_0008: ret - } // end of method Option::set_OptionName + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.IfTask::_test + IL_000d: ret + } // end of method IfTask::set_Test - // method line 326 - .method public hidebysig specialname - instance default string get_Value () cil managed + // method line 247 + .method family virtual hidebysig newslot specialname + instance default bool get_ConditionsTrue () cil managed { - // Method begins at RVA 0x8588 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x9ac8 + // Code size 457 (0x1c9) + .maxstack 7 .locals init ( - string V_0) + bool V_0, + bool V_1, + class [mscorlib]System.Exception V_2, + class [mscorlib]System.IO.FileInfo V_3, + string V_4, + bool V_5) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Option::_value - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance string class NAnt.Core.Tasks.IfTask::get_Test() + IL_0009: brfalse IL_002d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Option::get_Value + IL_000e: nop + IL_000f: ldarg.0 + IL_0010: call instance string class NAnt.Core.Tasks.IfTask::get_Test() + IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001a: call bool class [mscorlib]System.Convert::ToBoolean(string, class [mscorlib]System.IFormatProvider) + IL_001f: brtrue IL_002c - // method line 327 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed - { - // Method begins at RVA 0x85a3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Option::_value - IL_0008: ret - } // end of method Option::set_Value + IL_0024: nop + IL_0025: ldc.i4.0 + IL_0026: stloc.1 + IL_0027: br IL_01c7 - // method line 328 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x85b0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Option::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_002c: nop + IL_002d: ldarg.0 + IL_002e: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() + IL_0033: brfalse IL_006e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Option::get_IfDefined + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: brfalse IL_005d - // method line 329 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x85cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Option::_ifDefined - IL_0008: ret - } // end of method Option::set_IfDefined + IL_003f: ldarg.0 + IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0045: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() + IL_004a: ldarg.0 + IL_004b: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() + IL_0050: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_0055: ldnull + IL_0056: ceq + IL_0058: ldc.i4.0 + IL_0059: ceq + IL_005b: br.s IL_005e - // method line 330 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x85d8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Option::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_005d: ldc.i4.0 + IL_005e: stloc.0 + IL_005f: ldloc.0 + IL_0060: brtrue IL_006d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Option::get_UnlessDefined + IL_0065: nop + IL_0066: ldc.i4.0 + IL_0067: stloc.1 + IL_0068: br IL_01c7 - // method line 331 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x85f3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Option::_unlessDefined - IL_0008: ret - } // end of method Option::set_UnlessDefined + IL_006d: nop + IL_006e: ldarg.0 + IL_006f: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameExists() + IL_0074: brfalse IL_00a4 - .property instance string OptionName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + IL_0079: nop + IL_007a: ldloc.0 + IL_007b: brfalse IL_0093 - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_0080: ldarg.0 + IL_0081: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0086: ldarg.0 + IL_0087: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameExists() + IL_008c: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0091: br.s IL_0094 - .get instance default string NAnt.Core.Types.Option::get_OptionName () - .set instance default void NAnt.Core.Types.Option::set_OptionName (string 'value') - } - .property instance string Value () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. + IL_0093: ldc.i4.0 + IL_0094: stloc.0 + IL_0095: ldloc.0 + IL_0096: brtrue IL_00a3 - .get instance default string NAnt.Core.Types.Option::get_Value () - .set instance default void NAnt.Core.Types.Option::set_Value (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + IL_009b: nop + IL_009c: ldc.i4.0 + IL_009d: stloc.1 + IL_009e: br IL_01c7 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00a3: nop + IL_00a4: ldarg.0 + IL_00a5: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() + IL_00aa: brfalse IL_010f - .get instance default bool NAnt.Core.Types.Option::get_IfDefined () - .set instance default void NAnt.Core.Types.Option::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + IL_00af: nop + .try { // 0 + IL_00b0: nop + IL_00b1: ldloc.0 + IL_00b2: brfalse IL_00cf - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00b7: ldarg.0 + IL_00b8: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00bd: ldarg.0 + IL_00be: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() + IL_00c3: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_00c8: call bool bool::Parse(string) + IL_00cd: br.s IL_00d0 - .get instance default bool NAnt.Core.Types.Option::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Option::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.Option -} + IL_00cf: ldc.i4.0 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: brtrue IL_00df -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit Proxy - extends NAnt.Core.DataTypeBase - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. + IL_00d7: nop + IL_00d8: ldc.i4.0 + IL_00d9: stloc.1 + IL_00da: leave IL_01c7 - .field private string _host - .field private int32 _port - .field private bool _bypassOnLocal - .field private class NAnt.Core.Types.Credential _credentials - .field private bool _ifDefined - .field private bool _unlessDefined + IL_00df: nop + IL_00e0: leave IL_010e - // method line 332 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x85fd - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Proxy::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Proxy::.ctor + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_00e5: stloc.2 + IL_00e6: nop + IL_00e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ec: ldstr "NA1126" + IL_00f1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f6: ldarg.0 + IL_00f7: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() + IL_00fc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0101: ldarg.0 + IL_0102: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0107: ldloc.2 + IL_0108: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_010d: throw + } // end handler 0 + IL_010e: nop + IL_010f: ldarg.0 + IL_0110: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_UpToDateFiles() + IL_0115: brfalse IL_01c0 - // method line 333 - .method public hidebysig specialname - instance default string get_Host () cil managed + IL_011a: nop + IL_011b: ldarg.0 + IL_011c: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_UpToDateFiles() + IL_0121: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet::get_MostRecentLastWriteTimeFile() + IL_0126: stloc.3 + IL_0127: ldloc.3 + IL_0128: brfalse IL_0138 + + IL_012d: ldloc.3 + IL_012e: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0133: brtrue IL_0151 + + IL_0138: nop + IL_0139: ldc.i4.0 + IL_013a: stloc.0 + IL_013b: ldarg.0 + IL_013c: ldc.i4 2000 + IL_0141: ldstr "Uptodatefile(s) do(es) not exist." + IL_0146: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_014b: nop + IL_014c: br IL_01b1 + + IL_0151: nop + IL_0152: ldarg.0 + IL_0153: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_0158: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_015d: ldloc.3 + IL_015e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0163: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0168: stloc.s 4 + IL_016a: ldloc.s 4 + IL_016c: ldnull + IL_016d: ceq + IL_016f: ldc.i4.0 + IL_0170: ceq + IL_0172: stloc.s 5 + IL_0174: ldloc.s 5 + IL_0176: brfalse IL_01a1 + + IL_017b: nop + IL_017c: ldarg.0 + IL_017d: ldc.i4 2000 + IL_0182: ldstr "{0} is newer than {1}." + IL_0187: ldc.i4.2 + IL_0188: newarr [mscorlib]System.Object + IL_018d: dup + IL_018e: ldc.i4.0 + IL_018f: ldloc.s 4 + IL_0191: stelem.ref + IL_0192: dup + IL_0193: ldc.i4.1 + IL_0194: ldloc.3 + IL_0195: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_019a: stelem.ref + IL_019b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01a0: nop + IL_01a1: ldloc.0 + IL_01a2: brfalse IL_01ae + + IL_01a7: ldloc.s 5 + IL_01a9: ldc.i4.0 + IL_01aa: ceq + IL_01ac: br.s IL_01af + + IL_01ae: ldc.i4.0 + IL_01af: stloc.0 + IL_01b0: nop + IL_01b1: ldloc.0 + IL_01b2: brtrue IL_01bf + + IL_01b7: nop + IL_01b8: ldc.i4.0 + IL_01b9: stloc.1 + IL_01ba: br IL_01c7 + + IL_01bf: nop + IL_01c0: ldloc.0 + IL_01c1: stloc.1 + IL_01c2: br IL_01c7 + + IL_01c7: ldloc.1 + IL_01c8: ret + } // end of method IfTask::get_ConditionsTrue + + // method line 248 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x8610 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x9cb0 + // Code size 21 (0x15) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Proxy::_host - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance bool class NAnt.Core.Tasks.IfTask::get_ConditionsTrue() + IL_0007: brfalse IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_Host + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.Core.TaskContainer::ExecuteTask() + IL_0013: nop + IL_0014: ret + } // end of method IfTask::ExecuteTask - // method line 334 - .method public hidebysig specialname - instance default void set_Host (string 'value') cil managed + // method line 249 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x862b - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x9cc8 + // Code size 92 (0x5c) + .maxstack 2 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Proxy::_host - IL_000d: ret - } // end of method Proxy::set_Host + IL_0002: call instance void class NAnt.Core.TaskContainer::Initialize() + IL_0007: ldarg.0 + IL_0008: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_UpToDateFiles() + IL_000d: brfalse IL_001d - // method line 335 - .method public hidebysig specialname - instance default int32 get_Port () cil managed + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_CompareFiles() + IL_0018: brtrue IL_005b + + IL_001d: ldarg.0 + IL_001e: call instance string class NAnt.Core.Tasks.IfTask::get_Test() + IL_0023: brtrue IL_005b + + IL_0028: ldarg.0 + IL_0029: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameExists() + IL_002e: brtrue IL_005b + + IL_0033: ldarg.0 + IL_0034: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() + IL_0039: brtrue IL_005b + + IL_003e: ldarg.0 + IL_003f: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() + IL_0044: brtrue IL_005b + + IL_0049: nop + IL_004a: ldstr "At least one if condition must be set (test, propertytrue, targetexists, etc...):" + IL_004f: ldarg.0 + IL_0050: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0055: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_005a: throw + IL_005b: ret + } // end of method IfTask::Initialize + + .property instance string UpToDateFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 75 70 74 6F 64 61 74 65 66 69 6C 65 00 // ...uptodatefile. + 00 ) // . + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 47 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..GUse instead.... + + .set instance default void NAnt.Core.Tasks.IfTask::set_UpToDateFile (string 'value') + } + .property instance string CompareFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 63 6F 6D 70 61 72 65 66 69 6C 65 00 00 ) // ...comparefile.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 47 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..GUse instead.... + + .set instance default void NAnt.Core.Tasks.IfTask::set_CompareFile (string 'value') + } + .property instance class NAnt.Core.Types.FileSet CompareFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0C 63 6F 6D 70 61 72 65 66 69 6C 65 73 00 // ...comparefiles. + 00 ) // . + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 1E 55 73 65 20 3C 75 70 74 6F 64 61 74 65 // ...Use task instead + 2E 00 00 00 ) // .... + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::get_CompareFiles () + .set instance default void NAnt.Core.Tasks.IfTask::set_CompareFiles (class NAnt.Core.Types.FileSet 'value') + } + .property instance class NAnt.Core.Types.FileSet UpToDateFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0D 75 70 74 6F 64 61 74 65 66 69 6C 65 73 // ...uptodatefiles + 00 00 ) // .. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 1E 55 73 65 20 3C 75 70 74 6F 64 61 74 65 // ...Use task instead + 2E 00 00 00 ) // .... + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::get_UpToDateFiles () + .set instance default void NAnt.Core.Tasks.IfTask::set_UpToDateFiles (class NAnt.Core.Types.FileSet 'value') + } + .property instance string PropertyNameTrue () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 70 72 6F 70 65 72 74 79 74 72 75 65 00 // ...propertytrue. + 00 ) // . + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 28 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..(Use instead.... + + .get instance default string NAnt.Core.Tasks.IfTask::get_PropertyNameTrue () + .set instance default void NAnt.Core.Tasks.IfTask::set_PropertyNameTrue (string 'value') + } + .property instance string PropertyNameExists () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 70 72 6F 70 65 72 74 79 65 78 69 73 74 // ...propertyexist + 73 00 00 ) // s.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 3C 55 73 65 20 3C 69 66 20 74 65 73 74 3D // .. instead.. + 00 00 ) // .. + + .get instance default string NAnt.Core.Tasks.IfTask::get_PropertyNameExists () + .set instance default void NAnt.Core.Tasks.IfTask::set_PropertyNameExists (string 'value') + } + .property instance string TargetNameExists () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 74 61 72 67 65 74 65 78 69 73 74 73 00 // ...targetexists. + 00 ) // . + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 38 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..8Use instead.... + + .get instance default string NAnt.Core.Tasks.IfTask::get_TargetNameExists () + .set instance default void NAnt.Core.Tasks.IfTask::set_TargetNameExists (string 'value') + } + .property instance string Test () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 74 65 73 74 00 00 ) // ...test.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default string NAnt.Core.Tasks.IfTask::get_Test () + .set instance default void NAnt.Core.Tasks.IfTask::set_Test (string 'value') + } + .property instance bool ConditionsTrue () + { + .get instance default bool NAnt.Core.Tasks.IfTask::get_ConditionsTrue () + } + } // end of class NAnt.Core.Tasks.IfTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit IfNotTask + extends NAnt.Core.Tasks.IfTask + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 69 66 6E 6F 74 00 00 ) // ...ifnot.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 1A 55 73 65 20 74 68 65 20 3C 69 66 3E 20 // ...Use the + 74 61 73 6B 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // task instead.... + + + // method line 250 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x863c - // Code size 15 (0xf) + // Method begins at RVA 0x9d30 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Tasks.IfTask::'.ctor'() + IL_0006: ret + } // end of method IfNotTask::.ctor + + // method line 251 + .method family virtual hidebysig specialname + instance default bool get_ConditionsTrue () cil managed + { + // Method begins at RVA 0x9d38 + // Code size 18 (0x12) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Tasks.IfTask::get_ConditionsTrue() + IL_0007: ldc.i4.0 + IL_0008: ceq + IL_000a: stloc.0 + IL_000b: br IL_0010 + + IL_0010: ldloc.0 + IL_0011: ret + } // end of method IfNotTask::get_ConditionsTrue + + .property instance bool ConditionsTrue () + { + .get instance default bool NAnt.Core.Tasks.IfNotTask::get_ConditionsTrue () + } + } // end of class NAnt.Core.Tasks.IfNotTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi abstract serializable beforefieldinit ExternalProgramBase + extends NAnt.Core.Task + { + .field private class [mscorlib]System.IO.StreamReader _stdError + .field private class [mscorlib]System.IO.StreamReader _stdOut + .field private class NAnt.Core.Types.ArgumentCollection _arguments + .field private valuetype NAnt.Core.Types.ManagedExecution _managed + .field private string _exeName + .field private int32 _timeout + .field private class [mscorlib]System.IO.TextWriter _outputWriter + .field private class [mscorlib]System.IO.TextWriter _errorWriter + .field private int32 _exitCode + .field private bool _spawn + .field private int32 _processId + .field private bool _useRuntimeEngine + .field public static literal int32 UnknownExitCode = int32(0xfffffc18) + .field private static initonly class [log4net]log4net.ILog logger + .field private static object _lockObject + + // method line 252 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x9d56 + // Code size 54 (0x36) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Types.ArgumentCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Tasks.ExternalProgramBase::_arguments + IL_000b: ldarg.0 + IL_000c: ldc.i4.0 + IL_000d: stfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed + IL_0012: ldarg.0 + IL_0013: ldc.i4 2147483647 + IL_0018: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_timeout + IL_001d: ldarg.0 + IL_001e: ldc.i4 -1000 + IL_0023: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_exitCode + IL_0028: ldarg.0 + IL_0029: ldc.i4.0 + IL_002a: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId + IL_002f: ldarg.0 + IL_0030: call instance void class NAnt.Core.Task::'.ctor'() + IL_0035: ret + } // end of method ExternalProgramBase::.ctor + + // method line 253 + .method public virtual hidebysig newslot specialname + instance default string get_ExeName () cil managed + { + // Method begins at RVA 0x9d90 + // Code size 37 (0x25) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Types.Proxy::_port - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName + IL_0007: brfalse IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_Port + IL_000c: ldarg.0 + IL_000d: ldfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName + IL_0012: br IL_001d - // method line 336 - .method public hidebysig specialname - instance default void set_Port (int32 'value') cil managed + IL_0017: ldarg.0 + IL_0018: callvirt instance string class NAnt.Core.Element::get_Name() + IL_001d: stloc.0 + IL_001e: br IL_0023 + + IL_0023: ldloc.0 + IL_0024: ret + } // end of method ExternalProgramBase::get_ExeName + + // method line 254 + .method public virtual hidebysig newslot specialname + instance default void set_ExeName (string 'value') cil managed { - // Method begins at RVA 0x8657 + // Method begins at RVA 0x9dc1 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Types.Proxy::_port + IL_0003: stfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName IL_0008: ret - } // end of method Proxy::set_Port + } // end of method ExternalProgramBase::set_ExeName - // method line 337 - .method public hidebysig specialname - instance default bool get_BypassOnLocal () cil managed + // method line 255 + .method public virtual hidebysig newslot specialname + instance default string get_ProgramFileName () cil managed { - // Method begins at RVA 0x8664 + // Method begins at RVA 0x9dcc // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Proxy::_bypassOnLocal + IL_0002: call instance string class NAnt.Core.Tasks.ExternalProgramBase::DetermineFilePath() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Proxy::get_BypassOnLocal + } // end of method ExternalProgramBase::get_ProgramFileName - // method line 338 - .method public hidebysig specialname - instance default void set_BypassOnLocal (bool 'value') cil managed + // method line 256 + .method public virtual hidebysig newslot abstract specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x867f - // Code size 9 (0x9) + // Method begins at RVA 0x0 + } // end of method ExternalProgramBase::get_ProgramArguments + + // method line 257 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed + { + // Method begins at RVA 0x9de8 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ExternalProgramBase::get_Output + + // method line 258 + .method public virtual hidebysig newslot specialname + instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x9dfe + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method ExternalProgramBase::set_Output + + // method line 259 + .method public virtual hidebysig newslot specialname + instance default bool get_OutputAppend () cil managed + { + // Method begins at RVA 0x9e04 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ExternalProgramBase::get_OutputAppend + + // method line 260 + .method public virtual hidebysig newslot specialname + instance default void set_OutputAppend (bool 'value') cil managed + { + // Method begins at RVA 0x9e1a + // Code size 2 (0x2) .maxstack 8 IL_0000: nop + IL_0001: ret + } // end of method ExternalProgramBase::set_OutputAppend + + // method line 261 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + { + // Method begins at RVA 0x9e20 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Proxy::_bypassOnLocal - IL_0008: ret - } // end of method Proxy::set_BypassOnLocal + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_000c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 339 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ExternalProgramBase::get_BaseDirectory + + // method line 262 + .method public virtual hidebysig newslot specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0x9e45 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method ExternalProgramBase::set_BaseDirectory + + // method line 263 .method public hidebysig specialname - instance default class NAnt.Core.Types.Credential get_Credentials () cil managed + instance default int32 get_TimeOut () cil managed { - // Method begins at RVA 0x868c + // Method begins at RVA 0x9e48 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.Credential V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials + IL_0002: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_timeout IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Proxy::get_Credentials + } // end of method ExternalProgramBase::get_TimeOut - // method line 340 + // method line 264 .method public hidebysig specialname - instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed + instance default void set_TimeOut (int32 'value') cil managed { - // Method begins at RVA 0x86a7 + // Method begins at RVA 0x9e63 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials + IL_0003: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_timeout IL_0008: ret - } // end of method Proxy::set_Credentials + } // end of method ExternalProgramBase::set_TimeOut - // method line 341 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 265 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed { - // Method begins at RVA 0x86b4 + // Method begins at RVA 0x9e70 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.ArgumentCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Proxy::_ifDefined + IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Tasks.ExternalProgramBase::_arguments IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Proxy::get_IfDefined - - // method line 342 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x86cf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Proxy::_ifDefined - IL_0008: ret - } // end of method Proxy::set_IfDefined + } // end of method ExternalProgramBase::get_Arguments - // method line 343 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 266 + .method public virtual hidebysig newslot specialname + instance default bool get_UseRuntimeEngine () cil managed { - // Method begins at RVA 0x86dc + // Method begins at RVA 0x9e8c // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Proxy::_unlessDefined + IL_0002: ldfld bool NAnt.Core.Tasks.ExternalProgramBase::_useRuntimeEngine IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Proxy::get_UnlessDefined + } // end of method ExternalProgramBase::get_UseRuntimeEngine - // method line 344 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 267 + .method public virtual hidebysig newslot specialname + instance default void set_UseRuntimeEngine (bool 'value') cil managed { - // Method begins at RVA 0x86f7 + // Method begins at RVA 0x9ea7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Proxy::_unlessDefined + IL_0003: stfld bool NAnt.Core.Tasks.ExternalProgramBase::_useRuntimeEngine IL_0008: ret - } // end of method Proxy::set_UnlessDefined + } // end of method ExternalProgramBase::set_UseRuntimeEngine - // method line 345 - .method public hidebysig - instance default class [System]System.Net.IWebProxy GetWebProxy () cil managed + // method line 268 + .method public virtual hidebysig newslot specialname + instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed { - // Method begins at RVA 0x8704 - // Code size 105 (0x69) - .maxstack 2 + // Method begins at RVA 0x9eb4 + // Code size 45 (0x2d) + .maxstack 1 .locals init ( - class [System]System.Net.WebProxy V_0, - class [System]System.Net.IWebProxy V_1) + valuetype NAnt.Core.Types.ManagedExecution V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Types.Proxy::get_IfDefined() - IL_0007: brfalse IL_005b + IL_0002: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_UseRuntimeEngine() + IL_0007: brfalse IL_001f IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Types.Proxy::get_UnlessDefined() - IL_0012: brtrue IL_005b + IL_000d: ldfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed + IL_0012: brtrue IL_001f IL_0017: nop - IL_0018: ldarg.0 - IL_0019: call instance string class NAnt.Core.Types.Proxy::get_Host() - IL_001e: ldarg.0 - IL_001f: call instance int32 class NAnt.Core.Types.Proxy::get_Port() - IL_0024: newobj instance void class [System]System.Net.WebProxy::'.ctor'(string, int32) - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: ldarg.0 - IL_002c: call instance bool class NAnt.Core.Types.Proxy::get_BypassOnLocal() - IL_0031: callvirt instance void class [System]System.Net.WebProxy::set_BypassProxyOnLocal(bool) - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() - IL_003c: brfalse IL_0054 + IL_0018: ldc.i4.1 + IL_0019: stloc.0 + IL_001a: br IL_002b - IL_0041: nop - IL_0042: ldloc.0 - IL_0043: ldarg.0 - IL_0044: call instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() - IL_0049: callvirt instance class [System]System.Net.ICredentials class NAnt.Core.Types.Credential::GetCredential() - IL_004e: callvirt instance void class [System]System.Net.WebProxy::set_Credentials(class [System]System.Net.ICredentials) - IL_0053: nop - IL_0054: ldloc.0 - IL_0055: stloc.1 - IL_0056: br IL_0067 + IL_001f: ldarg.0 + IL_0020: ldfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed + IL_0025: stloc.0 + IL_0026: br IL_002b - IL_005b: nop - IL_005c: call class [System]System.Net.IWebProxy class [System]System.Net.GlobalProxySelection::get_Select() - IL_0061: stloc.1 - IL_0062: br IL_0067 + IL_002b: ldloc.0 + IL_002c: ret + } // end of method ExternalProgramBase::get_Managed - IL_0067: ldloc.1 - IL_0068: ret - } // end of method Proxy::GetWebProxy - - .property instance string Host () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 68 6F 73 74 01 00 54 02 08 52 65 71 75 // ...host..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Types.Proxy::get_Host () - .set instance default void NAnt.Core.Types.Proxy::set_Host (string 'value') - } - .property instance int32 Port () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 70 6F 72 74 01 00 54 02 08 52 65 71 75 // ...port..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default int32 NAnt.Core.Types.Proxy::get_Port () - .set instance default void NAnt.Core.Types.Proxy::set_Port (int32 'value') - } - .property instance bool BypassOnLocal () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 62 79 70 61 73 73 6F 6E 6C 6F 63 61 6C // ...bypassonlocal - 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Proxy::get_BypassOnLocal () - .set instance default void NAnt.Core.Types.Proxy::set_BypassOnLocal (bool 'value') - } - .property instance class NAnt.Core.Types.Credential Credentials () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 63 72 65 64 65 6E 74 69 61 6C 73 01 00 // ...credentials.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. - - .get instance default class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::get_Credentials () - .set instance default void NAnt.Core.Types.Proxy::set_Credentials (class NAnt.Core.Types.Credential 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 69 66 01 00 54 02 08 52 65 71 75 69 72 // ...if..T..Requir - 65 64 00 ) // ed. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Proxy::get_IfDefined () - .set instance default void NAnt.Core.Types.Proxy::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 75 6E 6C 65 73 73 01 00 54 02 08 52 65 // ...unless..T..Re - 71 75 69 72 65 64 00 ) // quired. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Proxy::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Proxy::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.Proxy -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit DirSet - extends NAnt.Core.Types.FileSet - implements [mscorlib]System.ICloneable { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 06 64 69 72 73 65 74 00 00 ) // ...dirset.. - - - // method line 346 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x8779 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method DirSet::.ctor - - // method line 347 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed - { - // Method begins at RVA 0x8782 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Types.FileSet::'.ctor'(class NAnt.Core.Types.FileSet) - IL_0007: nop - IL_0008: ret - } // end of method DirSet::.ctor - - } // end of class NAnt.Core.Types.DirSet -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi serializable beforefieldinit XsltExtensionObjectCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - - // method line 348 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x878c - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method XsltExtensionObjectCollection::.ctor - - // method line 349 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection 'value') cil managed - { - // Method begins at RVA 0x8795 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XsltExtensionObjectCollection::AddRange(class NAnt.Core.Types.XsltExtensionObjectCollection) - IL_000e: ret - } // end of method XsltExtensionObjectCollection::.ctor - - // method line 350 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObject[] 'value') cil managed + // method line 269 + .method public virtual hidebysig newslot specialname + instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed { - // Method begins at RVA 0x87a5 - // Code size 15 (0xf) + // Method begins at RVA 0x9eed + // Code size 22 (0x16) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XsltExtensionObjectCollection::AddRange(class NAnt.Core.Types.XsltExtensionObject[]) - IL_000e: ret - } // end of method XsltExtensionObjectCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldc.i4.0 + IL_000b: ceq + IL_000d: ldc.i4.0 + IL_000e: ceq + IL_0010: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_UseRuntimeEngine(bool) + IL_0015: ret + } // end of method ExternalProgramBase::set_Managed - // method line 351 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObject get_Item (int32 index) cil managed + // method line 270 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed { - // Method begins at RVA 0x87b8 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x9f04 + // Code size 50 (0x32) + .maxstack 4 .locals init ( - class NAnt.Core.Types.XsltExtensionObject V_0) + class [mscorlib]System.IO.TextWriter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.XsltExtensionObject - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter + IL_0007: brtrue IL_0024 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method XsltExtensionObjectCollection::get_Item + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: ldc.i4 3000 + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: newobj instance void class NAnt.Core.LogWriter::'.ctor'(class NAnt.Core.Task, valuetype NAnt.Core.Level, class [mscorlib]System.IFormatProvider) + IL_001e: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter + IL_002a: stloc.0 + IL_002b: br IL_0030 - // method line 352 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.XsltExtensionObject 'value') cil managed + IL_0030: ldloc.0 + IL_0031: ret + } // end of method ExternalProgramBase::get_OutputWriter + + // method line 271 + .method public virtual hidebysig newslot specialname + instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed { - // Method begins at RVA 0x87de - // Code size 15 (0xf) + // Method begins at RVA 0x9f42 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method XsltExtensionObjectCollection::set_Item + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter + IL_0008: ret + } // end of method ExternalProgramBase::set_OutputWriter - // method line 353 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObject get_Item (string 'value') cil managed + // method line 272 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_ErrorWriter () cil managed { - // Method begins at RVA 0x87f0 - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0x9f4c + // Code size 50 (0x32) + .maxstack 4 .locals init ( - class NAnt.Core.Types.XsltExtensionObject V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.XsltExtensionObject V_2, - class [mscorlib]System.IDisposable V_3) + class [mscorlib]System.IO.TextWriter V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 - - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.XsltExtensionObject - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.Core.Element::get_Name() - IL_002d: ldarg.1 - IL_002e: call bool string::op_Equality(string, string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d - - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a - - IL_004c: leave IL_0065 - - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter + IL_0007: brtrue IL_0024 - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: ldc.i4 4000 + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: newobj instance void class NAnt.Core.LogWriter::'.ctor'(class NAnt.Core.Task, valuetype NAnt.Core.Level, class [mscorlib]System.IFormatProvider) + IL_001e: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter + IL_002a: stloc.0 + IL_002b: br IL_0030 - IL_006d: ldloc.2 - IL_006e: ret - } // end of method XsltExtensionObjectCollection::get_Item + IL_0030: ldloc.0 + IL_0031: ret + } // end of method ExternalProgramBase::get_ErrorWriter - // method line 354 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.XsltExtensionObject item) cil managed + // method line 273 + .method public virtual hidebysig newslot specialname + instance default void set_ErrorWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed { - // Method begins at RVA 0x887c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) + // Method begins at RVA 0x9f8a + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XsltExtensionObjectCollection::Add + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter + IL_0008: ret + } // end of method ExternalProgramBase::set_ErrorWriter - // method line 355 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltExtensionObject[] items) cil managed + // method line 274 + .method public hidebysig specialname + instance default int32 get_ExitCode () cil managed { - // Method begins at RVA 0x88a0 - // Code size 34 (0x22) - .maxstack 3 + // Method begins at RVA 0x9f94 + // Code size 15 (0xf) + .maxstack 1 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.XsltExtensionObjectCollection::Add(class NAnt.Core.Types.XsltExtensionObject) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_exitCode + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0021: ret - } // end of method XsltExtensionObjectCollection::AddRange + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExternalProgramBase::get_ExitCode - // method line 356 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltExtensionObjectCollection items) cil managed + // method line 275 + .method family hidebysig specialname + instance default int32 get_ProcessId () cil managed { - // Method begins at RVA 0x88d0 - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0x9fb0 + // Code size 61 (0x3d) + .maxstack 1 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.XsltExtensionObject class NAnt.Core.Types.XsltExtensionObjectCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.XsltExtensionObjectCollection::Add(class NAnt.Core.Types.XsltExtensionObject) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() + IL_0007: brtrue IL_0018 - IL_0028: ret - } // end of method XsltExtensionObjectCollection::AddRange + IL_000c: nop + IL_000d: ldstr "The unique identifier only applies to spawned applications." + IL_0012: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) + IL_0017: throw + IL_0018: ldarg.0 + IL_0019: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId + IL_001e: brtrue IL_002f - // method line 357 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.XsltExtensionObject item) cil managed - { - // Method begins at RVA 0x8908 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0023: nop + IL_0024: ldstr "The application was not started." + IL_0029: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) + IL_002e: throw + IL_002f: ldarg.0 + IL_0030: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId + IL_0035: stloc.0 + IL_0036: br IL_003b - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XsltExtensionObjectCollection::Contains + IL_003b: ldloc.0 + IL_003c: ret + } // end of method ExternalProgramBase::get_ProcessId - // method line 358 - .method public hidebysig - instance default bool Contains (string 'value') cil managed + // method line 276 + .method public virtual hidebysig newslot specialname + instance default bool get_Spawn () cil managed { - // Method begins at RVA 0x892c - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0x9ffc + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.XsltExtensionObject class NAnt.Core.Types.XsltExtensionObjectCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0002: ldfld bool NAnt.Core.Tasks.ExternalProgramBase::_spawn + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0014: ldloc.0 - IL_0015: ret - } // end of method XsltExtensionObjectCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExternalProgramBase::get_Spawn - // method line 359 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.XsltExtensionObject[] 'array', int32 index) cil managed + // method line 277 + .method public virtual hidebysig newslot specialname + instance default void set_Spawn (bool 'value') cil managed { - // Method begins at RVA 0x894e - // Code size 15 (0xf) + // Method begins at RVA 0xa017 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method XsltExtensionObjectCollection::CopyTo + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.ExternalProgramBase::_spawn + IL_0008: ret + } // end of method ExternalProgramBase::set_Spawn - // method line 360 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.XsltExtensionObject item) cil managed + // method line 278 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x8960 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xa024 + // Code size 489 (0x1e9) + .maxstack 4 .locals init ( - int32 V_0) + class [mscorlib]System.Threading.Thread V_0, + class [mscorlib]System.Threading.Thread V_1, + class [System]System.Diagnostics.Process V_2, + class NAnt.Core.BuildException V_3, + class [mscorlib]System.Exception V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + .try { // 3 + .try { // 1 + IL_0005: nop + IL_0006: ldarg.0 + IL_0007: callvirt instance class [System]System.Diagnostics.Process class NAnt.Core.Tasks.ExternalProgramBase::StartProcess() + IL_000c: stloc.2 + IL_000d: ldarg.0 + IL_000e: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() + IL_0013: brfalse IL_002a - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XsltExtensionObjectCollection::IndexOf + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldloc.2 + IL_001b: callvirt instance int32 class [System]System.Diagnostics.Process::get_Id() + IL_0020: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId + IL_0025: leave IL_01e8 - // method line 361 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.XsltExtensionObject item) cil managed - { - // Method begins at RVA 0x8981 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method XsltExtensionObjectCollection::Insert + IL_002a: ldarg.0 + IL_002b: ldftn instance void class NAnt.Core.Tasks.ExternalProgramBase::StreamReaderThread_Output() + IL_0031: newobj instance void class [mscorlib]System.Threading.ThreadStart::'.ctor'(object, native int) + IL_0036: newobj instance void class [mscorlib]System.Threading.Thread::'.ctor'(class [mscorlib]System.Threading.ThreadStart) + IL_003b: stloc.0 + IL_003c: ldarg.0 + IL_003d: ldftn instance void class NAnt.Core.Tasks.ExternalProgramBase::StreamReaderThread_Error() + IL_0043: newobj instance void class [mscorlib]System.Threading.ThreadStart::'.ctor'(object, native int) + IL_0048: newobj instance void class [mscorlib]System.Threading.Thread::'.ctor'(class [mscorlib]System.Threading.ThreadStart) + IL_004d: stloc.1 + IL_004e: ldarg.0 + IL_004f: ldloc.2 + IL_0050: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardOutput() + IL_0055: stfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdOut + IL_005a: ldarg.0 + IL_005b: ldloc.2 + IL_005c: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardError() + IL_0061: stfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdError + IL_0066: ldloc.0 + IL_0067: callvirt instance void class [mscorlib]System.Threading.Thread::Start() + IL_006c: ldloc.1 + IL_006d: callvirt instance void class [mscorlib]System.Threading.Thread::Start() + IL_0072: ldloc.2 + IL_0073: ldarg.0 + IL_0074: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_TimeOut() + IL_0079: callvirt instance bool class [System]System.Diagnostics.Process::WaitForExit(int32) + IL_007e: pop + IL_007f: ldloc.0 + IL_0080: ldc.i4 2000 + IL_0085: callvirt instance bool class [mscorlib]System.Threading.Thread::Join(int32) + IL_008a: pop + IL_008b: ldloc.1 + IL_008c: ldc.i4 2000 + IL_0091: callvirt instance bool class [mscorlib]System.Threading.Thread::Join(int32) + IL_0096: pop + IL_0097: ldloc.2 + IL_0098: callvirt instance bool class [System]System.Diagnostics.Process::get_HasExited() + IL_009d: brtrue IL_00e9 - // method line 362 - .method public hidebysig - instance default class NAnt.Core.Types.XsltExtensionObjectEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x8994 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.XsltExtensionObjectEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.XsltExtensionObjectEnumerator::'.ctor'(class NAnt.Core.Types.XsltExtensionObjectCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00a2: nop + .try { // 0 + IL_00a3: nop + IL_00a4: ldloc.2 + IL_00a5: callvirt instance void class [System]System.Diagnostics.Process::Kill() + IL_00aa: nop + IL_00ab: leave IL_00b8 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObjectCollection::GetEnumerator + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_00b0: pop + IL_00b1: nop + IL_00b2: nop + IL_00b3: leave IL_00b8 - // method line 363 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.XsltExtensionObject item) cil managed - { - // Method begins at RVA 0x89af - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method XsltExtensionObjectCollection::Remove + } // end handler 0 + IL_00b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00bd: ldstr "NA1118" + IL_00c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00c7: ldarg.0 + IL_00c8: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_00cd: ldarg.0 + IL_00ce: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_TimeOut() + IL_00d3: box [mscorlib]System.Int32 + IL_00d8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00dd: ldarg.0 + IL_00de: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00e3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00e8: throw + IL_00e9: ldarg.0 + IL_00ea: ldloc.2 + IL_00eb: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() + IL_00f0: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_exitCode + IL_00f5: ldloc.2 + IL_00f6: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() + IL_00fb: brfalse IL_0132 - .property instance class NAnt.Core.Types.XsltExtensionObject Item (int32) - { - .get instance default class NAnt.Core.Types.XsltExtensionObject NAnt.Core.Types.XsltExtensionObjectCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.XsltExtensionObjectCollection::set_Item (int32 index, class NAnt.Core.Types.XsltExtensionObject 'value') - } - .property instance class NAnt.Core.Types.XsltExtensionObject Item (string) - { - .get instance default class NAnt.Core.Types.XsltExtensionObject NAnt.Core.Types.XsltExtensionObjectCollection::get_Item (string 'value') - } - } // end of class NAnt.Core.Types.XsltExtensionObjectCollection -} + IL_0100: nop + IL_0101: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0106: ldstr "NA1119" + IL_010b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0110: ldarg.0 + IL_0111: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_0116: ldloc.2 + IL_0117: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() + IL_011c: box [mscorlib]System.Int32 + IL_0121: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0126: ldarg.0 + IL_0127: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_012c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0131: throw + IL_0132: nop + IL_0133: leave IL_01e8 -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit XsltExtensionObjectEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + } // end .try 1 + catch class NAnt.Core.BuildException { // 1 + IL_0138: stloc.3 + IL_0139: nop + IL_013a: ldarg.0 + IL_013b: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0140: brfalse IL_0148 - // method line 364 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection arguments) cil managed - { - // Method begins at RVA 0x89c0 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0015: ret - } // end of method XsltExtensionObjectEnumerator::.ctor + IL_0145: nop + IL_0146: rethrow + IL_0148: nop + IL_0149: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger + IL_014e: ldstr "Execution Error" + IL_0153: ldloc.3 + IL_0154: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) + IL_0159: ldarg.0 + IL_015a: ldc.i4 5000 + IL_015f: ldloc.3 + IL_0160: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0165: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_016a: nop + IL_016b: nop + IL_016c: leave IL_01e8 - // method line 365 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObject get_Current () cil managed - { - // Method begins at RVA 0x89e4 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.XsltExtensionObject V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.XsltExtensionObject - IL_0011: stloc.0 - IL_0012: br IL_0017 + } // end handler 1 + catch class [mscorlib]System.Exception { // 2 + IL_0171: stloc.s 4 + IL_0173: nop + IL_0174: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger + IL_0179: ldstr "Execution Error" + IL_017e: ldloc.s 4 + IL_0180: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) + IL_0185: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_018a: ldstr "{0}: {1} had errors. Please see log4net log." + IL_018f: ldarg.0 + IL_0190: call instance class [mscorlib]System.Type object::GetType() + IL_0195: callvirt instance string object::ToString() + IL_019a: ldarg.0 + IL_019b: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_01a0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_01a5: ldarg.0 + IL_01a6: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_01ab: ldloc.s 4 + IL_01ad: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_01b2: throw + } // end handler 2 + } // end .try 3 + finally { // 3 + IL_01b3: nop + IL_01b4: ldloc.0 + IL_01b5: brfalse IL_01cd - IL_0017: ldloc.0 - IL_0018: ret - } // end of method XsltExtensionObjectEnumerator::get_Current + IL_01ba: ldloc.0 + IL_01bb: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() + IL_01c0: brfalse IL_01cd - // method line 366 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x8a0c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_01c5: nop + IL_01c6: ldloc.0 + IL_01c7: callvirt instance void class [mscorlib]System.Threading.Thread::Abort() + IL_01cc: nop + IL_01cd: ldloc.1 + IL_01ce: brfalse IL_01e6 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.get_Current + IL_01d3: ldloc.1 + IL_01d4: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() + IL_01d9: brfalse IL_01e6 - // method line 367 - .method public hidebysig - instance default bool MoveNext () cil managed + IL_01de: nop + IL_01df: ldloc.1 + IL_01e0: callvirt instance void class [mscorlib]System.Threading.Thread::Abort() + IL_01e5: nop + IL_01e6: nop + IL_01e7: endfinally + } // end handler 3 + IL_01e8: ret + } // end of method ExternalProgramBase::ExecuteTask + + // method line 279 + .method public hidebysig specialname + instance default string get_CommandLine () cil managed { - // Method begins at RVA 0x8a2c - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xa280 + // Code size 39 (0x27) + .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.Text.StringBuilder V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0002: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramArguments() + IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_000d: ldarg.0 + IL_000e: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0013: ldloc.0 + IL_0014: callvirt instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) + IL_0019: ldloc.0 + IL_001a: callvirt instance string object::ToString() + IL_001f: stloc.1 + IL_0020: br IL_0025 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XsltExtensionObjectEnumerator::MoveNext + IL_0025: ldloc.1 + IL_0026: ret + } // end of method ExternalProgramBase::get_CommandLine - // method line 368 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 280 + .method family virtual hidebysig newslot + instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed { - // Method begins at RVA 0x8a4c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xa2b4 + // Code size 451 (0x1c3) + .maxstack 4 .locals init ( - bool V_0) + class NAnt.Core.Configuration.ManagedExecutionMode V_0, + class [mscorlib]System.Text.StringBuilder V_1, + class NAnt.Core.Types.EnvironmentVariable V_2, + class NAnt.Core.Types.EnvironmentVariableEnumerator V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Tasks.ExternalProgramBase::get_ManagedExecutionMode() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_0092 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.MoveNext + IL_000e: ldloc.0 + IL_000f: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() + IL_0014: brfalse IL_0092 - // method line 369 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x8a6c - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XsltExtensionObjectEnumerator::Reset + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0020: ldloc.0 + IL_0021: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() + IL_0026: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0030: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_FileName(string) + IL_0035: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_003a: stloc.1 + IL_003b: ldloc.0 + IL_003c: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() + IL_0041: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Configuration.RuntimeEngine::get_Arguments() + IL_0046: ldloc.1 + IL_0047: callvirt instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) + IL_004c: ldloc.1 + IL_004d: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0052: ldc.i4.0 + IL_0053: blt IL_0063 - // method line 370 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x8a7a - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.Reset + IL_0058: nop + IL_0059: ldloc.1 + IL_005a: ldc.i4.s 0x20 + IL_005c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0061: pop + IL_0062: nop + IL_0063: ldloc.1 + IL_0064: ldstr "\"{0}\" {1}" + IL_0069: ldarg.0 + IL_006a: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_006f: ldarg.0 + IL_0070: call instance string class NAnt.Core.Tasks.ExternalProgramBase::get_CommandLine() + IL_0075: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object, object) + IL_007a: pop + IL_007b: ldarg.1 + IL_007c: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0081: ldloc.1 + IL_0082: callvirt instance string object::ToString() + IL_0087: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_Arguments(string) + IL_008c: nop + IL_008d: br IL_00b6 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.Types.XsltExtensionObjectEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.Types.XsltExtensionObject Current () - { - .get instance default class NAnt.Core.Types.XsltExtensionObject NAnt.Core.Types.XsltExtensionObjectEnumerator::get_Current () - } - } // end of class NAnt.Core.Types.XsltExtensionObjectEnumerator -} + IL_0092: nop + IL_0093: ldarg.1 + IL_0094: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0099: ldarg.0 + IL_009a: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_009f: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_FileName(string) + IL_00a4: ldarg.1 + IL_00a5: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_00aa: ldarg.0 + IL_00ab: call instance string class NAnt.Core.Tasks.ExternalProgramBase::get_CommandLine() + IL_00b0: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_Arguments(string) + IL_00b5: nop + IL_00b6: ldarg.0 + IL_00b7: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() + IL_00bc: brtrue IL_00db -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit XsltExtensionObject - extends NAnt.Core.Element - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 13 78 73 6C 74 65 78 74 65 6E 73 69 6F 6E // ...xsltextension - 6F 62 6A 65 63 74 00 00 ) // object.. + IL_00c1: nop + IL_00c2: ldarg.1 + IL_00c3: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_00c8: ldc.i4.1 + IL_00c9: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardOutput(bool) + IL_00ce: ldarg.1 + IL_00cf: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_00d4: ldc.i4.1 + IL_00d5: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardError(bool) + IL_00da: nop + IL_00db: ldarg.1 + IL_00dc: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_00e1: ldc.i4.0 + IL_00e2: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_UseShellExecute(bool) + IL_00e7: ldarg.1 + IL_00e8: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_00ed: ldarg.0 + IL_00ee: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() + IL_00f3: ldc.i4.0 + IL_00f4: ceq + IL_00f6: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_CreateNoWindow(bool) + IL_00fb: ldarg.1 + IL_00fc: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0101: ldarg.0 + IL_0102: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0107: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_010c: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_0111: ldloc.0 + IL_0112: brfalse IL_01c2 - .field private string _namespaceUri - .field private string _typeName - .field private class [mscorlib]System.IO.FileInfo _assemblyPath - .field private bool _ifDefined - .field private bool _unlessDefined + IL_0117: nop + IL_0118: nop + IL_0119: ldloc.0 + IL_011a: callvirt instance class NAnt.Core.Types.EnvironmentSet class NAnt.Core.Configuration.ManagedExecutionMode::get_Environment() + IL_011f: callvirt instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Types.EnvironmentSet::get_EnvironmentVariables() + IL_0124: callvirt instance class NAnt.Core.Types.EnvironmentVariableEnumerator class NAnt.Core.Types.EnvironmentVariableCollection::GetEnumerator() + IL_0129: stloc.3 + .try { // 0 + IL_012a: br IL_019b - // method line 371 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x8a88 - // Code size 26 (0x1a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.Element::'.ctor'() - IL_0018: nop - IL_0019: ret - } // end of method XsltExtensionObject::.ctor + IL_012f: ldloc.3 + IL_0130: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current() + IL_0135: stloc.2 + IL_0136: nop + IL_0137: ldloc.2 + IL_0138: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_IfDefined() + IL_013d: brfalse IL_019a - // method line 372 - .method public hidebysig specialname - instance default string get_NamespaceUri () cil managed - { - // Method begins at RVA 0x8aa4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0142: ldloc.2 + IL_0143: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() + IL_0148: brtrue IL_019a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_NamespaceUri + IL_014d: nop + IL_014e: ldloc.2 + IL_014f: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() + IL_0154: brtrue IL_017b - // method line 373 - .method public hidebysig specialname - instance default void set_NamespaceUri (string 'value') cil managed - { - // Method begins at RVA 0x8abf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri - IL_0008: ret - } // end of method XsltExtensionObject::set_NamespaceUri + IL_0159: nop + IL_015a: ldarg.1 + IL_015b: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0160: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() + IL_0165: ldloc.2 + IL_0166: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() + IL_016b: ldstr "" + IL_0170: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) + IL_0175: nop + IL_0176: br IL_0199 - // method line 374 - .method public hidebysig specialname - instance default string get_TypeName () cil managed - { - // Method begins at RVA 0x8acc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_typeName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_017b: nop + IL_017c: ldarg.1 + IL_017d: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0182: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() + IL_0187: ldloc.2 + IL_0188: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() + IL_018d: ldloc.2 + IL_018e: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() + IL_0193: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) + IL_0198: nop + IL_0199: nop + IL_019a: nop + IL_019b: ldloc.3 + IL_019c: callvirt instance bool class NAnt.Core.Types.EnvironmentVariableEnumerator::MoveNext() + IL_01a1: brtrue IL_012f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_TypeName + IL_01a6: leave IL_01c1 - // method line 375 - .method public hidebysig specialname - instance default void set_TypeName (string 'value') cil managed - { - // Method begins at RVA 0x8ae7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_typeName - IL_0008: ret - } // end of method XsltExtensionObject::set_TypeName + } // end .try 0 + finally { // 0 + IL_01ab: ldloc.3 + IL_01ac: isinst [mscorlib]System.IDisposable + IL_01b1: dup + IL_01b2: stloc.s 4 + IL_01b4: brfalse IL_01c0 - // method line 376 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed + IL_01b9: ldloc.s 4 + IL_01bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01c0: endfinally + } // end handler 0 + IL_01c1: nop + IL_01c2: ret + } // end of method ExternalProgramBase::PrepareProcess + + // method line 281 + .method family virtual hidebysig newslot + instance default class [System]System.Diagnostics.Process StartProcess () cil managed { - // Method begins at RVA 0x8af4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xa494 + // Code size 154 (0x9a) + .maxstack 5 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [System]System.Diagnostics.Process V_0, + string V_1, + class [System]System.Diagnostics.Process V_2, + class [mscorlib]System.Exception V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::_assemblyPath - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_AssemblyPath + IL_0001: newobj instance void class [System]System.Diagnostics.Process::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) + .try { // 0 + IL_000e: nop + IL_000f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0014: ldstr "String_Starting_Program" + IL_0019: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001e: ldloc.0 + IL_001f: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0024: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_WorkingDirectory() + IL_0029: ldloc.0 + IL_002a: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_002f: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_FileName() + IL_0034: ldloc.0 + IL_0035: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_003a: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_Arguments() + IL_003f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0044: stloc.1 + IL_0045: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger + IL_004a: ldloc.1 + IL_004b: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_0050: ldarg.0 + IL_0051: ldc.i4 2000 + IL_0056: ldloc.1 + IL_0057: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_005c: ldloc.0 + IL_005d: callvirt instance bool class [System]System.Diagnostics.Process::Start() + IL_0062: pop + IL_0063: ldloc.0 + IL_0064: stloc.2 + IL_0065: leave IL_0098 - // method line 377 - .method public hidebysig specialname - instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x8b0f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::_assemblyPath - IL_0008: ret - } // end of method XsltExtensionObject::set_AssemblyPath + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_006a: stloc.3 + IL_006b: nop + IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0071: ldstr "NA1121" + IL_0076: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_007b: ldloc.0 + IL_007c: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0081: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_FileName() + IL_0086: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_008b: ldarg.0 + IL_008c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0091: ldloc.3 + IL_0092: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0097: throw + } // end handler 0 + IL_0098: ldloc.2 + IL_0099: ret + } // end of method ExternalProgramBase::StartProcess - // method line 378 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 282 + .method private hidebysig + instance default void StreamReaderThread_Output () cil managed { - // Method begins at RVA 0x8b1c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xa54c + // Code size 195 (0xc3) + .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.IO.StreamReader V_0, + bool V_1, + string V_2, + object V_3, + bool V_4, + class [mscorlib]System.IO.StreamWriter V_5, + object V_6, + bool V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined + IL_0002: ldfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdOut IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: ldarg.0 + IL_0009: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_OutputAppend() + IL_000e: stloc.1 + IL_000f: nop + IL_0010: nop + IL_0011: ldloc.0 + IL_0012: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0017: stloc.2 + IL_0018: ldloc.2 + IL_0019: brtrue IL_0024 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_IfDefined + IL_001e: nop + IL_001f: br IL_0091 - // method line 379 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x8b37 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined - IL_0008: ret - } // end of method XsltExtensionObject::set_IfDefined + IL_0024: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject + IL_0029: stloc.3 + IL_002a: ldc.i4.0 + IL_002b: stloc.s 4 + .try { // 0 + IL_002d: ldloc.3 + IL_002e: ldloca.s 4 + IL_0030: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() + IL_003c: brfalse IL_006c - // method line 380 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x8b44 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() + IL_0048: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004d: ldloc.1 + IL_004e: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool) + IL_0053: stloc.s 5 + IL_0055: ldloc.s 5 + IL_0057: ldloc.2 + IL_0058: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_005d: ldc.i4.1 + IL_005e: stloc.1 + IL_005f: ldloc.s 5 + IL_0061: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0066: nop + IL_0067: br IL_007a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_UnlessDefined + IL_006c: nop + IL_006d: ldarg.0 + IL_006e: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_OutputWriter() + IL_0073: ldloc.2 + IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0079: nop + IL_007a: nop + IL_007b: leave IL_008b - // method line 381 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x8b5f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined - IL_0008: ret - } // end of method XsltExtensionObject::set_UnlessDefined + } // end .try 0 + finally { // 0 + IL_0080: ldloc.s 4 + IL_0082: brfalse.s IL_008a - // method line 382 - .method public hidebysig - instance default object CreateInstance () cil managed + IL_0084: ldloc.3 + IL_0085: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_008a: endfinally + } // end handler 0 + IL_008b: nop + IL_008c: br IL_000f + + IL_0091: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject + IL_0096: stloc.s 6 + IL_0098: ldc.i4.0 + IL_0099: stloc.s 7 + .try { // 1 + IL_009b: ldloc.s 6 + IL_009d: ldloca.s 7 + IL_009f: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_00a4: nop + IL_00a5: ldarg.0 + IL_00a6: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_OutputWriter() + IL_00ab: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_00b0: nop + IL_00b1: leave IL_00c2 + + } // end .try 1 + finally { // 1 + IL_00b6: ldloc.s 7 + IL_00b8: brfalse.s IL_00c1 + + IL_00ba: ldloc.s 6 + IL_00bc: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_00c1: endfinally + } // end handler 1 + IL_00c2: ret + } // end of method ExternalProgramBase::StreamReaderThread_Output + + // method line 283 + .method private hidebysig + instance default void StreamReaderThread_Error () cil managed { - // Method begins at RVA 0x8b6c - // Code size 217 (0xd9) - .maxstack 4 + // Method begins at RVA 0xa638 + // Code size 188 (0xbc) + .maxstack 2 .locals init ( - object V_0, - class [mscorlib]System.Reflection.Assembly V_1, - class [mscorlib]System.Exception V_2, - object V_3) + class [mscorlib]System.IO.StreamReader V_0, + bool V_1, + string V_2, + object V_3, + bool V_4, + class [mscorlib]System.IO.StreamWriter V_5, + object V_6, + bool V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_003d + IL_0002: ldfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdError + IL_0007: stloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_OutputAppend() + IL_000e: stloc.1 + IL_000f: nop + IL_0010: nop + IL_0011: ldloc.0 + IL_0012: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0017: stloc.2 + IL_0018: ldloc.2 + IL_0019: brtrue IL_0024 - IL_0011: nop - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0017: ldstr "NA1166" - IL_001c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0021: ldarg.0 - IL_0022: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0027: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: ldarg.0 - IL_0032: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0037: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_003c: throw - IL_003d: ldnull - IL_003e: stloc.0 + IL_001e: nop + IL_001f: br IL_008a + + IL_0024: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject + IL_0029: stloc.3 + IL_002a: ldc.i4.0 + IL_002b: stloc.s 4 .try { // 0 - IL_003f: nop - IL_0040: ldarg.0 - IL_0041: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0046: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004b: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_0050: stloc.1 - IL_0051: ldloc.1 - IL_0052: ldarg.0 - IL_0053: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() - IL_0058: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string) - IL_005d: stloc.0 - IL_005e: ldloc.0 - IL_005f: brtrue IL_0096 + IL_002d: ldloc.3 + IL_002e: ldloca.s 4 + IL_0030: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_ErrorWriter() + IL_003c: ldloc.2 + IL_003d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0042: ldarg.0 + IL_0043: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() + IL_0048: brfalse IL_0073 - IL_0064: nop - IL_0065: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006a: ldstr "NA1168" - IL_006f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0074: ldarg.0 - IL_0075: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() - IL_007a: ldarg.0 - IL_007b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0080: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0085: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_008a: ldarg.0 - IL_008b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0090: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0095: throw - IL_0096: nop - IL_0097: leave IL_00d0 + IL_004d: nop + IL_004e: ldarg.0 + IL_004f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() + IL_0054: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0059: ldloc.1 + IL_005a: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool) + IL_005f: stloc.s 5 + IL_0061: ldloc.s 5 + IL_0063: ldloc.2 + IL_0064: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0069: ldc.i4.1 + IL_006a: stloc.1 + IL_006b: ldloc.s 5 + IL_006d: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0072: nop + IL_0073: nop + IL_0074: leave IL_0084 } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_009c: stloc.2 - IL_009d: nop - IL_009e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a3: ldstr "NA1167" - IL_00a8: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ad: ldarg.0 - IL_00ae: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() - IL_00b3: ldarg.0 - IL_00b4: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_00b9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00be: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00c3: ldarg.0 - IL_00c4: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00c9: ldloc.2 - IL_00ca: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00cf: throw - } // end handler 0 - IL_00d0: ldloc.0 - IL_00d1: stloc.3 - IL_00d2: br IL_00d7 + finally { // 0 + IL_0079: ldloc.s 4 + IL_007b: brfalse.s IL_0083 - IL_00d7: ldloc.3 - IL_00d8: ret - } // end of method XsltExtensionObject::CreateInstance + IL_007d: ldloc.3 + IL_007e: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0083: endfinally + } // end handler 0 + IL_0084: nop + IL_0085: br IL_000f - .property instance string NamespaceUri () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6E 61 6D 65 73 70 61 63 65 75 72 69 00 // ...namespaceuri. - 00 ) // . + IL_008a: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject + IL_008f: stloc.s 6 + IL_0091: ldc.i4.0 + IL_0092: stloc.s 7 + .try { // 1 + IL_0094: ldloc.s 6 + IL_0096: ldloca.s 7 + IL_0098: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_009d: nop + IL_009e: ldarg.0 + IL_009f: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_ErrorWriter() + IL_00a4: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_00a9: nop + IL_00aa: leave IL_00bb - .get instance default string NAnt.Core.Types.XsltExtensionObject::get_NamespaceUri () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_NamespaceUri (string 'value') + } // end .try 1 + finally { // 1 + IL_00af: ldloc.s 7 + IL_00b1: brfalse.s IL_00ba + + IL_00b3: ldloc.s 6 + IL_00b5: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_00ba: endfinally + } // end handler 1 + IL_00bb: ret + } // end of method ExternalProgramBase::StreamReaderThread_Error + + // method line 284 + .method private hidebysig + instance default string DetermineFilePath () cil managed + { + // Method begins at RVA 0xa71c + // Code size 517 (0x205) + .maxstack 3 + .locals init ( + string V_0, + string V_1, + class NAnt.Core.Attributes.ProgramLocationAttribute V_2, + valuetype NAnt.Core.Attributes.LocationType V_3, + string V_4, + string V_5, + string V_6) + IL_0000: nop + IL_0001: ldstr "" + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() + IL_000d: brfalse IL_002f + + IL_0012: ldarg.0 + IL_0013: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() + IL_0018: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_001d: brfalse IL_002f + + IL_0022: nop + IL_0023: ldarg.0 + IL_0024: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() + IL_0029: stloc.1 + IL_002a: br IL_0203 + + IL_002f: ldarg.0 + IL_0030: call instance class [mscorlib]System.Type object::GetType() + IL_0035: ldtoken NAnt.Core.Attributes.ProgramLocationAttribute + IL_003a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003f: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0044: castclass NAnt.Core.Attributes.ProgramLocationAttribute + IL_0049: stloc.2 + IL_004a: ldloc.2 + IL_004b: brfalse IL_01f3 + + IL_0050: nop + IL_0051: ldloc.2 + IL_0052: callvirt instance valuetype NAnt.Core.Attributes.LocationType class NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType() + IL_0057: brfalse IL_0068 + + IL_005c: ldloc.2 + IL_005d: callvirt instance valuetype NAnt.Core.Attributes.LocationType class NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType() + IL_0062: ldc.i4.1 + IL_0063: bne.un IL_00a3 + + IL_0068: ldarg.0 + IL_0069: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_006e: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0073: brtrue IL_00a3 + + IL_0078: nop + IL_0079: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007e: ldstr "NA1120" + IL_0083: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0088: call string class [mscorlib]System.Environment::get_NewLine() + IL_008d: call string string::Concat(string, string) + IL_0092: ldarg.0 + IL_0093: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0098: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_009d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_00a2: throw + IL_00a3: ldloc.2 + IL_00a4: callvirt instance valuetype NAnt.Core.Attributes.LocationType class NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType() + IL_00a9: stloc.3 + IL_00aa: ldloc.3 + IL_00ab: brfalse IL_00bc + + IL_00b0: ldloc.3 + IL_00b1: ldc.i4.1 + IL_00b2: beq IL_0137 + + IL_00b7: br IL_01b2 + + IL_00bc: ldarg.0 + IL_00bd: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00c2: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_00c7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_00cc: brfalse IL_0107 + + IL_00d1: nop + IL_00d2: ldarg.0 + IL_00d3: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00d8: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_00dd: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_00e2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00e7: stloc.s 4 + IL_00e9: ldloc.s 4 + IL_00eb: ldarg.0 + IL_00ec: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() + IL_00f1: ldstr ".exe" + IL_00f6: call string string::Concat(string, string) + IL_00fb: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0100: stloc.0 + IL_0101: nop + IL_0102: br IL_0132 + + IL_0107: nop + IL_0108: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_010d: ldstr "NA1124" + IL_0112: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0117: ldarg.0 + IL_0118: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_011d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0122: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_0127: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_012c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0131: throw + IL_0132: br IL_01b2 + + IL_0137: ldarg.0 + IL_0138: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_013d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0142: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_0147: brfalse IL_0182 + + IL_014c: nop + IL_014d: ldarg.0 + IL_014e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0153: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0158: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_015d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0162: stloc.s 5 + IL_0164: ldloc.s 5 + IL_0166: ldarg.0 + IL_0167: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() + IL_016c: ldstr ".exe" + IL_0171: call string string::Concat(string, string) + IL_0176: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_017b: stloc.0 + IL_017c: nop + IL_017d: br IL_01ad + + IL_0182: nop + IL_0183: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0188: ldstr "NA1122" + IL_018d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0192: ldarg.0 + IL_0193: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0198: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_019d: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_01a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01a7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_01ac: throw + IL_01ad: br IL_01b2 + + IL_01b2: ldloc.0 + IL_01b3: call bool class [mscorlib]System.IO.File::Exists(string) + IL_01b8: brtrue IL_01ed + + IL_01bd: nop + IL_01be: ldarg.0 + IL_01bf: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01c4: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_01c9: ldarg.0 + IL_01ca: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() + IL_01cf: ldstr ".exe" + IL_01d4: call string string::Concat(string, string) + IL_01d9: callvirt instance string class NAnt.Core.FrameworkInfo::GetToolPath(string) + IL_01de: stloc.s 6 + IL_01e0: ldloc.s 6 + IL_01e2: brfalse IL_01ec + + IL_01e7: nop + IL_01e8: ldloc.s 6 + IL_01ea: stloc.0 + IL_01eb: nop + IL_01ec: nop + IL_01ed: nop + IL_01ee: br IL_01fc + + IL_01f3: nop + IL_01f4: ldarg.0 + IL_01f5: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() + IL_01fa: stloc.0 + IL_01fb: nop + IL_01fc: ldloc.0 + IL_01fd: stloc.1 + IL_01fe: br IL_0203 + + IL_0203: ldloc.1 + IL_0204: ret + } // end of method ExternalProgramBase::DetermineFilePath + + // method line 285 + .method private hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_ManagedExecutionMode () cil managed + { + // Method begins at RVA 0xa930 + // Code size 92 (0x5c) + .maxstack 2 + .locals init ( + class NAnt.Core.Configuration.ManagedExecutionMode V_0, + class NAnt.Core.Configuration.Runtime V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000c: brfalse IL_001c + + IL_0011: ldarg.0 + IL_0012: callvirt instance valuetype NAnt.Core.Types.ManagedExecution class NAnt.Core.Tasks.ExternalProgramBase::get_Managed() + IL_0017: brtrue IL_0024 + + IL_001c: nop + IL_001d: ldnull + IL_001e: stloc.0 + IL_001f: br IL_005a + + IL_0024: ldarg.0 + IL_0025: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_002a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_002f: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0034: stloc.1 + IL_0035: ldloc.1 + IL_0036: brfalse IL_0053 + + IL_003b: nop + IL_003c: ldloc.1 + IL_003d: callvirt instance class NAnt.Core.Configuration.ManagedExecutionModes class NAnt.Core.Configuration.Runtime::get_Modes() + IL_0042: ldarg.0 + IL_0043: callvirt instance valuetype NAnt.Core.Types.ManagedExecution class NAnt.Core.Tasks.ExternalProgramBase::get_Managed() + IL_0048: callvirt instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::GetExecutionMode(valuetype NAnt.Core.Types.ManagedExecution) + IL_004d: stloc.0 + IL_004e: br IL_005a + + IL_0053: ldnull + IL_0054: stloc.0 + IL_0055: br IL_005a + + IL_005a: ldloc.0 + IL_005b: ret + } // end of method ExternalProgramBase::get_ManagedExecutionMode + + // method line 286 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0xa998 + // Code size 31 (0x1f) + .maxstack 8 + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger + IL_0014: newobj instance void object::'.ctor'() + IL_0019: stsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject + IL_001e: ret + } // end of method ExternalProgramBase::.cctor + + .property instance string ExeName () + { + .custom instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 07 65 78 65 6E 61 6D 65 00 00 ) // ...exename.. + + .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ExeName () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_ExeName (string 'value') } - .property instance string TypeName () + .property instance string ProgramFileName () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 74 79 70 65 6E 61 6D 65 01 00 54 02 08 // ...typename..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName () + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ProgramArguments () + } + .property instance class [mscorlib]System.IO.FileInfo Output () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExternalProgramBase::get_Output () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_Output (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance bool OutputAppend () + { + .get instance default bool NAnt.Core.Tasks.ExternalProgramBase::get_OutputAppend () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_OutputAppend (bool 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance int32 TimeOut () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 74 69 6D 65 6F 75 74 00 00 ) // ...timeout.. - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default string NAnt.Core.Types.XsltExtensionObject::get_TypeName () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_TypeName (string 'value') + .get instance default int32 NAnt.Core.Tasks.ExternalProgramBase::get_TimeOut () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_TimeOut (int32 'value') } - .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () + .property instance class NAnt.Core.Types.ArgumentCollection Arguments () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class NAnt.Core.Types.ArgumentCollection NAnt.Core.Tasks.ExternalProgramBase::get_Arguments () } - .property instance bool IfDefined () + .property instance bool UseRuntimeEngine () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 10 75 73 65 72 75 6E 74 69 6D 65 65 6E 67 // ...useruntimeeng + 69 6E 65 00 00 ) // ine.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 37 55 73 65 20 74 68 65 20 6D 61 6E 61 67 // ..7Use the manag + 65 64 20 61 74 74 72 69 62 75 74 65 20 61 6E 64 // ed attribute and + 20 4D 61 6E 61 67 65 64 20 70 72 6F 70 65 72 74 // Managed propert + 79 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // y instead.... - .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_IfDefined () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_IfDefined (bool 'value') + .get instance default bool NAnt.Core.Tasks.ExternalProgramBase::get_UseRuntimeEngine () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_UseRuntimeEngine (bool 'value') } - .property instance bool UnlessDefined () + .property instance valuetype NAnt.Core.Types.ManagedExecution Managed () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 07 6D 61 6E 61 67 65 64 00 00 ) // ...managed.. - .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_UnlessDefined () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_UnlessDefined (bool 'value') + .get instance default valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::get_Managed () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') } - } // end of class NAnt.Core.Types.XsltExtensionObject + .property instance class [mscorlib]System.IO.TextWriter OutputWriter () + { + .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::get_OutputWriter () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') + } + .property instance class [mscorlib]System.IO.TextWriter ErrorWriter () + { + .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::get_ErrorWriter () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_ErrorWriter (class [mscorlib]System.IO.TextWriter 'value') + } + .property instance int32 ExitCode () + { + .get instance default int32 NAnt.Core.Tasks.ExternalProgramBase::get_ExitCode () + } + .property instance int32 ProcessId () + { + .get instance default int32 NAnt.Core.Tasks.ExternalProgramBase::get_ProcessId () + } + .property instance bool Spawn () + { + .get instance default bool NAnt.Core.Tasks.ExternalProgramBase::get_Spawn () + .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_Spawn (bool 'value') + } + .property instance string CommandLine () + { + .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_CommandLine () + } + .property instance class NAnt.Core.Configuration.ManagedExecutionMode ManagedExecutionMode () + { + .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Tasks.ExternalProgramBase::get_ManagedExecutionMode () + } + } // end of class NAnt.Core.Tasks.ExternalProgramBase } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi serializable beforefieldinit PathElement - extends NAnt.Core.Element + .class public auto ansi beforefieldinit MkDirTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0B 70 61 74 68 65 6C 65 6D 65 6E 74 00 00 ) // ...pathelement.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 6D 6B 64 69 72 00 00 ) // ...mkdir.. - .field private class [mscorlib]System.IO.FileInfo _file - .field private class [mscorlib]System.IO.DirectoryInfo _directory - .field private class NAnt.Core.Types.PathSet _path - .field private bool _ifDefined - .field private bool _unlessDefined + .field private class [mscorlib]System.IO.DirectoryInfo _dir - // method line 383 + // method line 287 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8c64 - // Code size 14 (0xe) + // Method begins at RVA 0xa9b8 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.PathElement::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method PathElement::.ctor - - // method line 384 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed - { - // Method begins at RVA 0x8c74 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::_file - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PathElement::get_File - - // method line 385 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x8c8f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::_file - IL_0008: ret - } // end of method PathElement::set_File + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method MkDirTask::.ctor - // method line 386 + // method line 288 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Dir () cil managed { - // Method begins at RVA 0x8c9c + // Method begins at RVA 0xa9c0 // Code size 15 (0xf) .maxstack 1 .locals init ( class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.PathElement::_directory + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::_dir IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathElement::get_Directory + } // end of method MkDirTask::get_Dir - // method line 387 + // method line 289 .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x8cb7 + // Method begins at RVA 0xa9db // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.PathElement::_directory + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::_dir IL_0008: ret - } // end of method PathElement::set_Directory + } // end of method MkDirTask::set_Dir - // method line 388 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed + // method line 290 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x8cc4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xa9e8 + // Code size 120 (0x78) + .maxstack 7 .locals init ( - class NAnt.Core.Types.PathSet V_0) + class [mscorlib]System.Exception V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.PathElement::_path - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PathElement::get_Path + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() + IL_0008: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000d: brtrue IL_0043 - // method line 389 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed - { - // Method begins at RVA 0x8cdf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.PathElement::_path - IL_0008: ret - } // end of method PathElement::set_Path + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldc.i4 3000 + IL_0019: ldstr "Creating directory '{0}'." + IL_001e: ldc.i4.1 + IL_001f: newarr [mscorlib]System.Object + IL_0024: dup + IL_0025: ldc.i4.0 + IL_0026: ldarg.0 + IL_0027: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() + IL_002c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0031: stelem.ref + IL_0032: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0037: ldarg.0 + IL_0038: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() + IL_003d: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0042: nop + IL_0043: nop + IL_0044: leave IL_0077 - // method line 390 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0049: stloc.0 + IL_004a: nop + IL_004b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0050: ldstr "NA1137" + IL_0055: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_005a: ldarg.0 + IL_005b: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() + IL_0060: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_006a: ldarg.0 + IL_006b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0070: ldloc.0 + IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0076: throw + } // end handler 0 + IL_0077: ret + } // end of method MkDirTask::ExecuteTask + + .property instance class [mscorlib]System.IO.DirectoryInfo Dir () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 64 69 72 01 00 54 02 08 52 65 71 75 69 // ...dir..T..Requi + 72 65 64 01 ) // red. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::get_Dir () + .set instance default void NAnt.Core.Tasks.MkDirTask::set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') + } + } // end of class NAnt.Core.Tasks.MkDirTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit CallTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 63 61 6C 6C 00 00 ) // ...call.. + + .field private string _target + .field private bool _force + .field private bool _cascade + + // method line 291 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xaa7c + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Tasks.CallTask::_cascade + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Task::'.ctor'() + IL_000d: ret + } // end of method CallTask::.ctor + + // method line 292 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default string get_TargetName () cil managed + { + // Method begins at RVA 0xaa8c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.CallTask::_target + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CallTask::get_TargetName + + // method line 293 + .method public hidebysig specialname + instance default void set_TargetName (string 'value') cil managed + { + // Method begins at RVA 0xaaa7 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.CallTask::_target + IL_000d: ret + } // end of method CallTask::set_TargetName + + // method line 294 + .method public hidebysig specialname + instance default bool get_ForceExecute () cil managed { - // Method begins at RVA 0x8cec + // Method begins at RVA 0xaab8 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.PathElement::_ifDefined + IL_0002: ldfld bool NAnt.Core.Tasks.CallTask::_force IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathElement::get_IfDefined + } // end of method CallTask::get_ForceExecute - // method line 391 + // method line 295 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_ForceExecute (bool 'value') cil managed { - // Method begins at RVA 0x8d07 + // Method begins at RVA 0xaad3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.PathElement::_ifDefined + IL_0003: stfld bool NAnt.Core.Tasks.CallTask::_force IL_0008: ret - } // end of method PathElement::set_IfDefined + } // end of method CallTask::set_ForceExecute - // method line 392 + // method line 296 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default bool get_CascadeDependencies () cil managed { - // Method begins at RVA 0x8d14 + // Method begins at RVA 0xaae0 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.PathElement::_unlessDefined + IL_0002: ldfld bool NAnt.Core.Tasks.CallTask::_cascade IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathElement::get_UnlessDefined + } // end of method CallTask::get_CascadeDependencies - // method line 393 + // method line 297 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_CascadeDependencies (bool 'value') cil managed { - // Method begins at RVA 0x8d2f + // Method begins at RVA 0xaafb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.PathElement::_unlessDefined + IL_0003: stfld bool NAnt.Core.Tasks.CallTask::_cascade IL_0008: ret - } // end of method PathElement::set_UnlessDefined + } // end of method CallTask::set_CascadeDependencies - // method line 394 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Parts () cil managed + // method line 298 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x8d3c - // Code size 129 (0x81) - .maxstack 2 + // Method begins at RVA 0xab08 + // Code size 173 (0xad) + .maxstack 4 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class [System]System.Collections.Specialized.StringCollection V_1, - class [System]System.Collections.Specialized.StringCollection V_2) + class NAnt.Core.Target V_0, + class NAnt.Core.TargetCollection V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() - IL_0007: brfalse IL_002c + IL_0002: call instance object class NAnt.Core.Element::get_Parent() + IL_0007: isinst NAnt.Core.Target + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_0095 - IL_000c: nop - IL_000d: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0012: stloc.0 - IL_0013: ldloc.0 + IL_0013: nop IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() - IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0024: pop - IL_0025: ldloc.0 - IL_0026: stloc.1 - IL_0027: br IL_007f - - IL_002c: ldarg.0 - IL_002d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() - IL_0032: brfalse IL_0057 - - IL_0037: nop - IL_0038: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_003d: stloc.2 - IL_003e: ldloc.2 - IL_003f: ldarg.0 - IL_0040: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() - IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_004f: pop - IL_0050: ldloc.2 - IL_0051: stloc.1 - IL_0052: br IL_007f + IL_0015: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001a: ldarg.0 + IL_001b: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() + IL_0020: ldarg.0 + IL_0021: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0026: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() + IL_002b: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection) + IL_0030: stloc.1 + IL_0031: ldloc.1 + IL_0032: ldloc.0 + IL_0033: callvirt instance string class NAnt.Core.Target::get_Name() + IL_0038: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_003d: brfalse IL_0094 + IL_0042: nop + IL_0043: ldloc.1 + IL_0044: ldloc.1 + IL_0045: ldloc.0 + IL_0046: callvirt instance string class NAnt.Core.Target::get_Name() + IL_004b: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_0050: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_0055: ldloc.1 + IL_0056: ldloc.1 IL_0057: ldarg.0 - IL_0058: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() - IL_005d: brfalse IL_0074 - - IL_0062: nop - IL_0063: ldarg.0 - IL_0064: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() - IL_0069: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::GetElements() - IL_006e: stloc.1 - IL_006f: br IL_007f - - IL_0074: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0079: stloc.1 - IL_007a: br IL_007f + IL_0058: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() + IL_005d: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_0062: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_0067: bge IL_0093 - IL_007f: ldloc.1 - IL_0080: ret - } // end of method PathElement::get_Parts + IL_006c: nop + IL_006d: ldstr "Circular dependency: " + IL_0072: ldloc.1 + IL_0073: ldstr " <- " + IL_0078: callvirt instance string class NAnt.Core.TargetCollection::ToString(string) + IL_007d: ldstr " <- " + IL_0082: ldloc.0 + IL_0083: callvirt instance string class NAnt.Core.Target::get_Name() + IL_0088: call string string::Concat(string, string, string, string) + IL_008d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0092: throw + IL_0093: nop + IL_0094: nop + IL_0095: ldarg.0 + IL_0096: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_009b: ldarg.0 + IL_009c: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() + IL_00a1: ldarg.0 + IL_00a2: call instance bool class NAnt.Core.Tasks.CallTask::get_CascadeDependencies() + IL_00a7: callvirt instance void class NAnt.Core.Project::Execute(string, bool) + IL_00ac: ret + } // end of method CallTask::ExecuteTask - // method line 395 + // method line 299 .method family virtual hidebysig instance default void Initialize () cil managed { - // Method begins at RVA 0x8dcc - // Code size 134 (0x86) - .maxstack 3 + // Method begins at RVA 0xabc4 + // Code size 70 (0x46) + .maxstack 2 + .locals init ( + class NAnt.Core.Target V_0, + class NAnt.Core.Target V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() - IL_0007: brtrue IL_0043 - + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() IL_000c: ldarg.0 - IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() - IL_0012: brtrue IL_0043 - - IL_0017: ldarg.0 - IL_0018: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() - IL_001d: brtrue IL_0043 - - IL_0022: nop - IL_0023: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() - IL_0028: ldstr "At least \"file\", \"directory\" or \"path\" must be specified." - IL_002d: call !!0[] class [mscorlib]System.Array::Empty () - IL_0032: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0037: ldarg.0 - IL_0038: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_003d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() - IL_0049: brtrue IL_0085 - - IL_004e: ldarg.0 - IL_004f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() - IL_0054: brtrue IL_0085 + IL_000d: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() + IL_0012: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brfalse IL_0045 - IL_0059: ldarg.0 - IL_005a: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() - IL_005f: brtrue IL_0085 + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: call instance object class NAnt.Core.Element::get_Parent() + IL_0025: isinst NAnt.Core.Target + IL_002a: stloc.1 + IL_002b: ldloc.0 + IL_002c: ldloc.1 + IL_002d: bne.un IL_0044 - IL_0064: nop - IL_0065: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() - IL_006a: ldstr "\"file\", \"directory\" and \"path\" cannot be specified together." - IL_006f: call !!0[] class [mscorlib]System.Array::Empty () - IL_0074: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0079: ldarg.0 - IL_007a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_007f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0084: throw - IL_0085: ret - } // end of method PathElement::Initialize + IL_0032: nop + IL_0033: ldstr "Call task cannot call its own parent." + IL_0038: ldarg.0 + IL_0039: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_003e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0043: throw + IL_0044: nop + IL_0045: ret + } // end of method CallTask::Initialize - .property instance class [mscorlib]System.IO.FileInfo File () + .property instance string TargetName () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re + 71 75 69 72 65 64 01 ) // quired. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::get_File () - .set instance default void NAnt.Core.Types.PathElement::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.PathElement::get_Directory () - .set instance default void NAnt.Core.Types.PathElement::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') + .get instance default string NAnt.Core.Tasks.CallTask::get_TargetName () + .set instance default void NAnt.Core.Tasks.CallTask::set_TargetName (string 'value') } - .property instance class NAnt.Core.Types.PathSet Path () + .property instance bool ForceExecute () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 66 6F 72 63 65 00 00 ) // ...force.. - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.PathElement::get_Path () - .set instance default void NAnt.Core.Types.PathElement::set_Path (class NAnt.Core.Types.PathSet 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 52 55 73 65 20 74 68 65 20 22 63 61 73 63 // ..RUse the "casc + 61 73 65 22 20 61 74 74 72 69 62 75 74 65 20 74 // ase" attribute t + 6F 20 63 6F 6E 74 72 6F 6C 20 77 68 65 74 68 65 // o control whethe + 72 20 64 65 70 65 6E 64 65 6E 63 69 65 73 20 73 // r dependencies s + 68 6F 75 6C 64 20 62 65 20 72 65 2D 65 78 65 63 // hould be re-exec + 75 74 65 64 2E 00 00 00 ) // uted.... - .get instance default bool NAnt.Core.Types.PathElement::get_IfDefined () - .set instance default void NAnt.Core.Types.PathElement::set_IfDefined (bool 'value') + .get instance default bool NAnt.Core.Tasks.CallTask::get_ForceExecute () + .set instance default void NAnt.Core.Tasks.CallTask::set_ForceExecute (bool 'value') } - .property instance bool UnlessDefined () + .property instance bool CascadeDependencies () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 63 61 73 63 61 64 65 00 00 ) // ...cascade.. - .get instance default bool NAnt.Core.Types.PathElement::get_UnlessDefined () - .set instance default void NAnt.Core.Types.PathElement::set_UnlessDefined (bool 'value') - } - .property instance class [System]System.Collections.Specialized.StringCollection Parts () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathElement::get_Parts () + .get instance default bool NAnt.Core.Tasks.CallTask::get_CascadeDependencies () + .set instance default void NAnt.Core.Tasks.CallTask::set_CascadeDependencies (bool 'value') } - } // end of class NAnt.Core.Types.PathElement + } // end of class NAnt.Core.Tasks.CallTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit Formatter - extends NAnt.Core.Element + .class public auto ansi beforefieldinit DescriptionTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 66 6F 72 6D 61 74 74 65 72 00 00 ) // ...formatter.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( + 01 00 0B 64 65 73 63 72 69 70 74 69 6F 6E 00 00 ) // ...description.. - .field private string _property - .field private string _pattern - .field private bool _ifDefined - .field private bool _unlessDefined - // method line 396 + // method line 300 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8e5e - // Code size 14 (0xe) + // Method begins at RVA 0xac16 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Formatter::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method Formatter::.ctor + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method DescriptionTask::.ctor - // method line 397 - .method public hidebysig specialname - instance default string get_Property () cil managed + // method line 301 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x8e70 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0xac1e + // Code size 2 (0x2) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Formatter::_property - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ret + } // end of method DescriptionTask::ExecuteTask - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Formatter::get_Property + } // end of class NAnt.Core.Tasks.DescriptionTask +} - // method line 398 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit AvailableTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 09 61 76 61 69 6C 61 62 6C 65 00 00 ) // ...available.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 16 55 73 65 20 66 75 6E 63 74 69 6F 6E 73 // ...Use functions + 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // instead.... + + .field private valuetype NAnt.Core.Tasks.AvailableTask/ResourceType _resourceType + .field private string _resource + .field private string _propertyName + + // method line 302 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8e8b - // Code size 9 (0x9) + // Method begins at RVA 0xac21 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Formatter::_property - IL_0008: ret - } // end of method Formatter::set_Property + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method AvailableTask::.ctor - // method line 399 + // method line 303 .method public hidebysig specialname - instance default string get_Pattern () cil managed + instance default string get_Resource () cil managed { - // Method begins at RVA 0x8e98 + // Method begins at RVA 0xac2c // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Formatter::_pattern + IL_0002: ldfld string NAnt.Core.Tasks.AvailableTask::_resource IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Formatter::get_Pattern + } // end of method AvailableTask::get_Resource - // method line 400 + // method line 304 .method public hidebysig specialname - instance default void set_Pattern (string 'value') cil managed + instance default void set_Resource (string 'value') cil managed { - // Method begins at RVA 0x8eb3 - // Code size 9 (0x9) + // Method begins at RVA 0xac47 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Formatter::_pattern - IL_0008: ret - } // end of method Formatter::set_Pattern + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.AvailableTask::_resource + IL_000d: ret + } // end of method AvailableTask::set_Resource - // method line 401 + // method line 305 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default valuetype NAnt.Core.Tasks.AvailableTask/ResourceType get_Type () cil managed { - // Method begins at RVA 0x8ec0 + // Method begins at RVA 0xac58 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.Core.Tasks.AvailableTask/ResourceType V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Formatter::_ifDefined + IL_0002: ldfld valuetype NAnt.Core.Tasks.AvailableTask/ResourceType NAnt.Core.Tasks.AvailableTask::_resourceType IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Formatter::get_IfDefined + } // end of method AvailableTask::get_Type - // method line 402 + // method line 306 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_Type (valuetype NAnt.Core.Tasks.AvailableTask/ResourceType 'value') cil managed { - // Method begins at RVA 0x8edb - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xac74 + // Code size 65 (0x41) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Formatter::_ifDefined - IL_0008: ret - } // end of method Formatter::set_IfDefined - - // method line 403 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + IL_0001: ldtoken NAnt.Core.Tasks.AvailableTask/ResourceType + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: box NAnt.Core.Tasks.AvailableTask/ResourceType + IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0016: brtrue IL_0037 + + IL_001b: nop + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: ldstr "An invalid type {0} was specified." + IL_0026: ldarg.1 + IL_0027: box NAnt.Core.Tasks.AvailableTask/ResourceType + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0036: throw + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldarg.1 + IL_003a: stfld valuetype NAnt.Core.Tasks.AvailableTask/ResourceType NAnt.Core.Tasks.AvailableTask::_resourceType + IL_003f: nop + IL_0040: ret + } // end of method AvailableTask::set_Type + + // method line 307 + .method public hidebysig specialname + instance default string get_PropertyName () cil managed { - // Method begins at RVA 0x8ee8 + // Method begins at RVA 0xacc4 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Formatter::_unlessDefined + IL_0002: ldfld string NAnt.Core.Tasks.AvailableTask::_propertyName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Formatter::get_UnlessDefined + } // end of method AvailableTask::get_PropertyName - // method line 404 + // method line 308 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_PropertyName (string 'value') cil managed { - // Method begins at RVA 0x8f03 - // Code size 9 (0x9) + // Method begins at RVA 0xacdf + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Formatter::_unlessDefined - IL_0008: ret - } // end of method Formatter::set_UnlessDefined + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.AvailableTask::_propertyName + IL_000d: ret + } // end of method AvailableTask::set_PropertyName - .property instance string Property () + // method line 309 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xacf0 + // Code size 43 (0x2b) + .maxstack 4 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Tasks.AvailableTask::get_PropertyName() + IL_0012: ldarg.0 + IL_0013: callvirt instance bool class NAnt.Core.Tasks.AvailableTask::Evaluate() + IL_0018: stloc.0 + IL_0019: ldloca.s 0 + IL_001b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0020: call instance string bool::ToString(class [mscorlib]System.IFormatProvider) + IL_0025: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_002a: ret + } // end of method AvailableTask::ExecuteTask + + // method line 310 + .method family virtual hidebysig newslot + instance default bool Evaluate () cil managed + { + // Method begins at RVA 0xad28 + // Code size 181 (0xb5) + .maxstack 7 + .locals init ( + bool V_0, + valuetype NAnt.Core.Tasks.AvailableTask/ResourceType V_1, + bool V_2) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType class NAnt.Core.Tasks.AvailableTask::get_Type() + IL_0009: stloc.1 + IL_000a: ldloc.1 + IL_000b: ldc.i4.1 + IL_000c: sub + IL_000d: switch ( + IL_0027, + IL_0033, + IL_003f, + IL_004b) + IL_0022: br IL_0057 + + IL_0027: ldarg.0 + IL_0028: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckFile() + IL_002d: stloc.0 + IL_002e: br IL_0077 + + IL_0033: ldarg.0 + IL_0034: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckDirectory() + IL_0039: stloc.0 + IL_003a: br IL_0077 + + IL_003f: ldarg.0 + IL_0040: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckFramework() + IL_0045: stloc.0 + IL_0046: br IL_0077 + + IL_004b: ldarg.0 + IL_004c: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckFrameworkSDK() + IL_0051: stloc.0 + IL_0052: br IL_0077 + + IL_0057: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005c: ldstr "No resource check is implemented for {0}" + IL_0061: ldarg.0 + IL_0062: call instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType class NAnt.Core.Tasks.AvailableTask::get_Type() + IL_0067: box NAnt.Core.Tasks.AvailableTask/ResourceType + IL_006c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0076: throw + IL_0077: ldloc.0 + IL_0078: brtrue IL_00ac + + IL_007d: nop + IL_007e: ldarg.0 + IL_007f: ldc.i4 2000 + IL_0084: ldstr "Unable to find {0} {1}." + IL_0089: ldc.i4.2 + IL_008a: newarr [mscorlib]System.Object + IL_008f: dup + IL_0090: ldc.i4.0 + IL_0091: ldarg.0 + IL_0092: call instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType class NAnt.Core.Tasks.AvailableTask::get_Type() + IL_0097: box NAnt.Core.Tasks.AvailableTask/ResourceType + IL_009c: stelem.ref + IL_009d: dup + IL_009e: ldc.i4.1 + IL_009f: ldarg.0 + IL_00a0: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() + IL_00a5: stelem.ref + IL_00a6: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00ab: nop + IL_00ac: ldloc.0 + IL_00ad: stloc.2 + IL_00ae: br IL_00b3 + + IL_00b3: ldloc.2 + IL_00b4: ret + } // end of method AvailableTask::Evaluate + + // method line 311 + .method private hidebysig + instance default bool CheckFile () cil managed + { + // Method begins at RVA 0xadec + // Code size 80 (0x50) + .maxstack 3 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0, + bool V_1, + class [mscorlib]System.ArgumentException V_2) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0008: ldarg.0 + IL_0009: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() + IL_000e: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_0013: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0018: stloc.0 + IL_0019: ldloc.0 + IL_001a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001f: stloc.1 + IL_0020: leave IL_004e + + } // end .try 0 + catch class [mscorlib]System.ArgumentException { // 0 + IL_0025: stloc.2 + IL_0026: nop + IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002c: ldstr "NA1104" + IL_0031: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0036: ldarg.0 + IL_0037: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() + IL_003c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0041: ldarg.0 + IL_0042: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0047: ldloc.2 + IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_004d: throw + } // end handler 0 + IL_004e: ldloc.1 + IL_004f: ret + } // end of method AvailableTask::CheckFile + + // method line 312 + .method private hidebysig + instance default bool CheckDirectory () cil managed + { + // Method begins at RVA 0xae58 + // Code size 80 (0x50) + .maxstack 3 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0, + bool V_1, + class [mscorlib]System.ArgumentException V_2) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0008: ldarg.0 + IL_0009: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() + IL_000e: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_0013: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0018: stloc.0 + IL_0019: ldloc.0 + IL_001a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001f: stloc.1 + IL_0020: leave IL_004e + + } // end .try 0 + catch class [mscorlib]System.ArgumentException { // 0 + IL_0025: stloc.2 + IL_0026: nop + IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002c: ldstr "NA1103" + IL_0031: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0036: ldarg.0 + IL_0037: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() + IL_003c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0041: ldarg.0 + IL_0042: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0047: ldloc.2 + IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_004d: throw + } // end handler 0 + IL_004e: ldloc.1 + IL_004f: ret + } // end of method AvailableTask::CheckDirectory + + // method line 313 + .method private hidebysig + instance default bool CheckFramework () cil managed + { + // Method begins at RVA 0xaec4 + // Code size 31 (0x1f) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() + IL_0012: callvirt instance bool class NAnt.Core.FrameworkInfoDictionary::Contains(string) + IL_0017: stloc.0 + IL_0018: br IL_001d + + IL_001d: ldloc.0 + IL_001e: ret + } // end of method AvailableTask::CheckFramework + + // method line 314 + .method private hidebysig + instance default bool CheckFrameworkSDK () cil managed + { + // Method begins at RVA 0xaef0 + // Code size 59 (0x3b) + .maxstack 2 + .locals init ( + class NAnt.Core.FrameworkInfo V_0, + bool V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() + IL_0012: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brfalse IL_0031 + + IL_001e: nop + IL_001f: ldloc.0 + IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_0025: ldnull + IL_0026: ceq + IL_0028: ldc.i4.0 + IL_0029: ceq + IL_002b: stloc.1 + IL_002c: br IL_0039 + + IL_0031: nop + IL_0032: ldc.i4.0 + IL_0033: stloc.1 + IL_0034: br IL_0039 + + IL_0039: ldloc.1 + IL_003a: ret + } // end of method AvailableTask::CheckFrameworkSDK + + .property instance string Resource () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 01 00 08 72 65 73 6F 75 72 63 65 01 00 54 02 08 // ...resource..T.. 52 65 71 75 69 72 65 64 01 ) // Required. .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt 79 00 ) // y. - .get instance default string NAnt.Core.Types.Formatter::get_Property () - .set instance default void NAnt.Core.Types.Formatter::set_Property (string 'value') + .get instance default string NAnt.Core.Tasks.AvailableTask::get_Resource () + .set instance default void NAnt.Core.Tasks.AvailableTask::set_Resource (string 'value') } - .property instance string Pattern () + .property instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType Type () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 70 61 74 74 65 72 6E 01 00 54 02 08 52 // ...pattern..T..R - 65 71 75 69 72 65 64 01 ) // equired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + 01 00 04 74 79 70 65 01 00 54 02 08 52 65 71 75 // ...type..T..Requ + 69 72 65 64 01 ) // ired. - .get instance default string NAnt.Core.Types.Formatter::get_Pattern () - .set instance default void NAnt.Core.Types.Formatter::set_Pattern (string 'value') + .get instance default valuetype NAnt.Core.Tasks.AvailableTask/ResourceType NAnt.Core.Tasks.AvailableTask::get_Type () + .set instance default void NAnt.Core.Tasks.AvailableTask::set_Type (valuetype NAnt.Core.Tasks.AvailableTask/ResourceType 'value') } - .property instance bool IfDefined () + .property instance string PropertyName () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - .get instance default bool NAnt.Core.Types.Formatter::get_IfDefined () - .set instance default void NAnt.Core.Types.Formatter::set_IfDefined (bool 'value') + .get instance default string NAnt.Core.Tasks.AvailableTask::get_PropertyName () + .set instance default void NAnt.Core.Tasks.AvailableTask::set_PropertyName (string 'value') } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + .class nested public auto ansi sealed ResourceType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType File = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType Directory = int32(0x00000002) + .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType Framework = int32(0x00000003) + .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType FrameworkSDK = int32(0x00000004) - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end of class ResourceType - .get instance default bool NAnt.Core.Types.Formatter::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Formatter::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.Formatter + } // end of class NAnt.Core.Tasks.AvailableTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit XmlNamespace - extends NAnt.Core.Element + .class public auto ansi beforefieldinit MoveTask + extends NAnt.Core.Tasks.CopyTask { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 6E 61 6D 65 73 70 61 63 65 00 00 ) // ...namespace.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6D 6F 76 65 00 00 ) // ...move.. - .field private string _prefix - .field private string _uri - .field private bool _ifDefined - .field private bool _unlessDefined - // method line 405 + // method line 315 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8f0d - // Code size 14 (0xe) + // Method begins at RVA 0xc25d + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.XmlNamespace::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method XmlNamespace::.ctor + IL_0001: call instance void class NAnt.Core.Tasks.CopyTask::'.ctor'() + IL_0006: ret + } // end of method MoveTask::.ctor - // method line 406 - .method public hidebysig specialname - instance default string get_Prefix () cil managed + // method line 316 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_SourceFile () cil managed { - // Method begins at RVA 0x8f1c + // Method begins at RVA 0xc268 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XmlNamespace::_prefix + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespace::get_Prefix + } // end of method MoveTask::get_SourceFile - // method line 407 - .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed + // method line 317 + .method public virtual hidebysig specialname + instance default void set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x8f37 + // Method begins at RVA 0xc283 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XmlNamespace::_prefix + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_SourceFile(class [mscorlib]System.IO.FileInfo) IL_0008: ret - } // end of method XmlNamespace::set_Prefix + } // end of method MoveTask::set_SourceFile - // method line 408 - .method public hidebysig specialname - instance default string get_Uri () cil managed + // method line 318 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ToFile () cil managed { - // Method begins at RVA 0x8f44 + // Method begins at RVA 0xc290 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XmlNamespace::_uri + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespace::get_Uri + } // end of method MoveTask::get_ToFile - // method line 409 - .method public hidebysig specialname - instance default void set_Uri (string 'value') cil managed + // method line 319 + .method public virtual hidebysig specialname + instance default void set_ToFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x8f5f + // Method begins at RVA 0xc2ab // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XmlNamespace::_uri + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_ToFile(class [mscorlib]System.IO.FileInfo) IL_0008: ret - } // end of method XmlNamespace::set_Uri + } // end of method MoveTask::set_ToFile - // method line 410 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 320 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed { - // Method begins at RVA 0x8f6c + // Method begins at RVA 0xc2b8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XmlNamespace::_ifDefined + IL_0002: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespace::get_IfDefined + } // end of method MoveTask::get_ToDirectory - // method line 411 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 321 + .method public virtual hidebysig specialname + instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x8f87 + // Method begins at RVA 0xc2d3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XmlNamespace::_ifDefined + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) IL_0008: ret - } // end of method XmlNamespace::set_IfDefined + } // end of method MoveTask::set_ToDirectory - // method line 412 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 322 + .method public virtual hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_CopyFileSet () cil managed { - // Method begins at RVA 0x8f94 + // Method begins at RVA 0xc2e0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XmlNamespace::_unlessDefined + IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespace::get_UnlessDefined + } // end of method MoveTask::get_CopyFileSet - // method line 413 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 323 + .method public virtual hidebysig specialname + instance default void set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x8faf + // Method begins at RVA 0xc2fb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XmlNamespace::_unlessDefined + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_CopyFileSet(class NAnt.Core.Types.FileSet) IL_0008: ret - } // end of method XmlNamespace::set_UnlessDefined - - .property instance string Prefix () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re - 71 75 69 72 65 64 01 ) // quired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. + } // end of method MoveTask::set_CopyFileSet - .get instance default string NAnt.Core.Types.XmlNamespace::get_Prefix () - .set instance default void NAnt.Core.Types.XmlNamespace::set_Prefix (string 'value') - } - .property instance string Uri () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 75 72 69 01 00 54 02 08 52 65 71 75 69 // ...uri..T..Requi - 72 65 64 01 ) // red. + // method line 324 + .method public virtual hidebysig specialname + instance default bool get_Flatten () cil managed + { + // Method begins at RVA 0xc308 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MoveTask::get_Flatten - .get instance default string NAnt.Core.Types.XmlNamespace::get_Uri () - .set instance default void NAnt.Core.Types.XmlNamespace::set_Uri (string 'value') - } - .property instance bool IfDefined () + // method line 325 + .method public virtual hidebysig specialname + instance default void set_Flatten (bool 'value') cil managed + { + // Method begins at RVA 0xc323 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_Flatten(bool) + IL_0008: ret + } // end of method MoveTask::set_Flatten + + // method line 326 + .method public virtual hidebysig specialname + instance default class NAnt.Core.Filters.FilterChain get_Filters () cil managed + { + // Method begins at RVA 0xc330 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Filters.FilterChain V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MoveTask::get_Filters + + // method line 327 + .method public virtual hidebysig specialname + instance default void set_Filters (class NAnt.Core.Filters.FilterChain 'value') cil managed + { + // Method begins at RVA 0xc34b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_Filters(class NAnt.Core.Filters.FilterChain) + IL_0008: ret + } // end of method MoveTask::set_Filters + + // method line 328 + .method family virtual hidebysig + instance default void DoFileOperations () cil managed + { + // Method begins at RVA 0xc358 + // Code size 689 (0x2b1) + .maxstack 8 + .locals init ( + int32 V_0, + class NAnt.Core.Tasks.CopyTask/FileOperation V_1, + string V_2, + valuetype NAnt.Core.Tasks.CopyTask/OperationType V_3, + string V_4, + class [mscorlib]System.IO.IOException V_5, + int32 V_6, + int32 V_7) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_000c: ldc.i4.0 + IL_000d: bgt IL_0018 + + IL_0012: nop + IL_0013: br IL_02b0 + + IL_0018: ldc.i4.0 + IL_0019: stloc.0 + IL_001a: br IL_01fd + + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_0026: ldloc.0 + IL_0027: callvirt instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) + IL_002c: stloc.1 + IL_002d: ldloc.1 + IL_002e: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::SourceIsIdenticalToTarget() + IL_0033: brfalse IL_0059 + + IL_0038: nop + IL_0039: ldarg.0 + IL_003a: ldc.i4 4000 + IL_003f: ldstr "Skipping self-move of {0}." + IL_0044: ldloc.1 + IL_0045: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_004a: call string string::Format(string, object) + IL_004f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0054: br IL_01f9 + + .try { // 0 + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldc.i4 2000 + IL_0060: ldstr "Moving {0}." + IL_0065: ldc.i4.1 + IL_0066: newarr [mscorlib]System.Object + IL_006b: dup + IL_006c: ldc.i4.0 + IL_006d: ldloc.1 + IL_006e: callvirt instance string object::ToString() + IL_0073: stelem.ref + IL_0074: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0079: ldnull + IL_007a: stloc.2 + IL_007b: ldloc.1 + IL_007c: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() + IL_0081: stloc.3 + IL_0082: ldloc.3 + IL_0083: switch ( + IL_0099, + IL_0118, + IL_0199) + IL_0094: br IL_01c1 + + IL_0099: ldloc.1 + IL_009a: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_009f: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00a4: stloc.2 + IL_00a5: ldloc.2 + IL_00a6: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00ab: brtrue IL_00d3 + + IL_00b0: nop + IL_00b1: ldloc.2 + IL_00b2: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_00b7: pop + IL_00b8: ldarg.0 + IL_00b9: ldc.i4 2000 + IL_00be: ldstr "Created directory '{0}'." + IL_00c3: ldc.i4.1 + IL_00c4: newarr [mscorlib]System.Object + IL_00c9: dup + IL_00ca: ldc.i4.0 + IL_00cb: ldloc.2 + IL_00cc: stelem.ref + IL_00cd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00d2: nop + IL_00d3: ldloc.1 + IL_00d4: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_00d9: call bool class [mscorlib]System.IO.File::Exists(string) + IL_00de: brfalse IL_00f0 + + IL_00e3: nop + IL_00e4: ldloc.1 + IL_00e5: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_00ea: call void class [mscorlib]System.IO.File::Delete(string) + IL_00ef: nop + IL_00f0: ldloc.1 + IL_00f1: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_00f6: ldloc.1 + IL_00f7: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_00fc: ldarg.0 + IL_00fd: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_0102: ldarg.0 + IL_0103: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() + IL_0108: ldarg.0 + IL_0109: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() + IL_010e: call void class NAnt.Core.Util.FileUtils::MoveFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_0113: leave IL_01cc + + IL_0118: ldloc.1 + IL_0119: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_011e: stloc.2 + IL_011f: ldloc.2 + IL_0120: ldloc.1 + IL_0121: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_0126: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_012b: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0130: stloc.s 4 + IL_0132: ldloc.2 + IL_0133: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0138: brtrue IL_0160 + + IL_013d: nop + IL_013e: ldloc.2 + IL_013f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0144: pop + IL_0145: ldarg.0 + IL_0146: ldc.i4 2000 + IL_014b: ldstr "Created directory '{0}'." + IL_0150: ldc.i4.1 + IL_0151: newarr [mscorlib]System.Object + IL_0156: dup + IL_0157: ldc.i4.0 + IL_0158: ldloc.2 + IL_0159: stelem.ref + IL_015a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_015f: nop + IL_0160: ldloc.s 4 + IL_0162: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0167: brfalse IL_0175 + + IL_016c: nop + IL_016d: ldloc.s 4 + IL_016f: call void class [mscorlib]System.IO.File::Delete(string) + IL_0174: nop + IL_0175: ldloc.1 + IL_0176: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_017b: ldloc.s 4 + IL_017d: ldarg.0 + IL_017e: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_0183: ldarg.0 + IL_0184: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() + IL_0189: ldarg.0 + IL_018a: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() + IL_018f: call void class NAnt.Core.Util.FileUtils::MoveFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_0194: leave IL_01cc + + IL_0199: ldloc.1 + IL_019a: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_019f: ldloc.1 + IL_01a0: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_01a5: ldarg.0 + IL_01a6: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_01ab: ldarg.0 + IL_01ac: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() + IL_01b1: ldarg.0 + IL_01b2: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() + IL_01b7: call void class NAnt.Core.Util.FileUtils::MoveDirectory(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_01bc: leave IL_01cc + + IL_01c1: ldstr "Unrecognized move operation. The move task can only move a file to file, file to directory, or directory to directory." + IL_01c6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_01cb: throw + IL_01cc: nop + IL_01cd: leave IL_01f8 + + } // end .try 0 + catch class [mscorlib]System.IO.IOException { // 0 + IL_01d2: stloc.s 5 + IL_01d4: nop + IL_01d5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01da: ldstr "Failed to move {0}." + IL_01df: ldloc.1 + IL_01e0: callvirt instance string object::ToString() + IL_01e5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01ea: ldarg.0 + IL_01eb: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_01f0: ldloc.s 5 + IL_01f2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_01f7: throw + } // end handler 0 + IL_01f8: nop + IL_01f9: ldloc.0 + IL_01fa: ldc.i4.1 + IL_01fb: add + IL_01fc: stloc.0 + IL_01fd: ldloc.0 + IL_01fe: ldarg.0 + IL_01ff: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_0204: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_0209: blt IL_001f + + IL_020e: ldarg.0 + IL_020f: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_0214: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountFileOperations() + IL_0219: stloc.s 6 + IL_021b: ldarg.0 + IL_021c: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_0221: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountDirectoryOperations() + IL_0226: stloc.s 7 + IL_0228: ldloc.s 6 + IL_022a: ldc.i4.0 + IL_022b: ble IL_026c + + IL_0230: nop + IL_0231: ldarg.0 + IL_0232: ldc.i4 3000 + IL_0237: ldstr "{0} file{1} moved." + IL_023c: ldc.i4.2 + IL_023d: newarr [mscorlib]System.Object + IL_0242: dup + IL_0243: ldc.i4.0 + IL_0244: ldloc.s 6 + IL_0246: box [mscorlib]System.Int32 + IL_024b: stelem.ref + IL_024c: dup + IL_024d: ldc.i4.1 + IL_024e: ldloc.s 6 + IL_0250: ldc.i4.1 + IL_0251: beq IL_0260 + + IL_0256: ldstr "s" + IL_025b: br IL_0265 + + IL_0260: ldstr "" + IL_0265: stelem.ref + IL_0266: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_026b: nop + IL_026c: ldloc.s 7 + IL_026e: ldc.i4.0 + IL_026f: ble IL_02b0 + + IL_0274: nop + IL_0275: ldarg.0 + IL_0276: ldc.i4 3000 + IL_027b: ldstr "{0} {1} moved." + IL_0280: ldc.i4.2 + IL_0281: newarr [mscorlib]System.Object + IL_0286: dup + IL_0287: ldc.i4.0 + IL_0288: ldloc.s 7 + IL_028a: box [mscorlib]System.Int32 + IL_028f: stelem.ref + IL_0290: dup + IL_0291: ldc.i4.1 + IL_0292: ldloc.s 7 + IL_0294: ldc.i4.1 + IL_0295: beq IL_02a4 + + IL_029a: ldstr "directories" + IL_029f: br IL_02a9 + + IL_02a4: ldstr "directory" + IL_02a9: stelem.ref + IL_02aa: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_02af: nop + IL_02b0: ret + } // end of method MoveTask::DoFileOperations + + // method line 329 + .method family virtual hidebysig + instance default class NAnt.Core.BuildException CreateSourceFileNotFoundException (string sourceFile) cil managed + { + // Method begins at RVA 0xc634 + // Code size 36 (0x24) + .maxstack 3 + .locals init ( + class NAnt.Core.BuildException V_0) + IL_0000: nop + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldstr "Could not find file '{0}' to move." + IL_000b: ldarg.1 + IL_000c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0011: ldarg.0 + IL_0012: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0017: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_001c: stloc.0 + IL_001d: br IL_0022 + + IL_0022: ldloc.0 + IL_0023: ret + } // end of method MoveTask::CreateSourceFileNotFoundException + + .property instance class [mscorlib]System.IO.FileInfo SourceFile () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.MoveTask::get_SourceFile () + .set instance default void NAnt.Core.Tasks.MoveTask::set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo ToFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 6F 66 69 6C 65 00 00 ) // ...tofile.. - .get instance default bool NAnt.Core.Types.XmlNamespace::get_IfDefined () - .set instance default void NAnt.Core.Types.XmlNamespace::set_IfDefined (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.MoveTask::get_ToFile () + .set instance default void NAnt.Core.Tasks.MoveTask::set_ToFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool UnlessDefined () + .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 74 6F 64 69 72 00 00 ) // ...todir.. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MoveTask::get_ToDirectory () + .set instance default void NAnt.Core.Tasks.MoveTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class NAnt.Core.Types.FileSet CopyFileSet () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MoveTask::get_CopyFileSet () + .set instance default void NAnt.Core.Tasks.MoveTask::set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') + } + .property instance bool Flatten () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Types.XmlNamespace::get_UnlessDefined () - .set instance default void NAnt.Core.Types.XmlNamespace::set_UnlessDefined (bool 'value') + .get instance default bool NAnt.Core.Tasks.MoveTask::get_Flatten () + .set instance default void NAnt.Core.Tasks.MoveTask::set_Flatten (bool 'value') } - } // end of class NAnt.Core.Types.XmlNamespace + .property instance class NAnt.Core.Filters.FilterChain Filters () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. + + .get instance default class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.MoveTask::get_Filters () + .set instance default void NAnt.Core.Tasks.MoveTask::set_Filters (class NAnt.Core.Filters.FilterChain 'value') + } + } // end of class NAnt.Core.Tasks.MoveTask } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit Credential - extends NAnt.Core.DataTypeBase + .class public auto ansi beforefieldinit StyleTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 63 72 65 64 65 6E 74 69 61 6C 00 00 ) // ...credential.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 73 74 79 6C 65 00 00 ) // ...style.. - .field private string _domain - .field private string _password - .field private string _userName - .field private bool _ifDefined - .field private bool _unlessDefined + .field private class [mscorlib]System.IO.DirectoryInfo _destDir + .field private string _extension + .field private class [System]System.Uri _xsltFile + .field private class [mscorlib]System.IO.FileInfo _srcFile + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private class NAnt.Core.Types.FileSet _inFiles + .field private class NAnt.Core.Types.XsltParameterCollection _xsltParameters + .field private class NAnt.Core.Types.XsltExtensionObjectCollection _xsltExtensions + .field private class NAnt.Core.Types.Proxy _proxy - // method line 414 + // method line 330 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8fb9 - // Code size 15 (0xf) + // Method begins at RVA 0xc664 + // Code size 51 (0x33) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Credential::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Credential::.ctor + IL_0001: ldstr "html" + IL_0006: stfld string NAnt.Core.Tasks.StyleTask::_extension + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0011: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles + IL_0016: ldarg.0 + IL_0017: newobj instance void class NAnt.Core.Types.XsltParameterCollection::'.ctor'() + IL_001c: stfld class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::_xsltParameters + IL_0021: ldarg.0 + IL_0022: newobj instance void class NAnt.Core.Types.XsltExtensionObjectCollection::'.ctor'() + IL_0027: stfld class NAnt.Core.Types.XsltExtensionObjectCollection NAnt.Core.Tasks.StyleTask::_xsltExtensions + IL_002c: ldarg.0 + IL_002d: call instance void class NAnt.Core.Task::'.ctor'() + IL_0032: ret + } // end of method StyleTask::.ctor - // method line 415 + // method line 331 .method public hidebysig specialname - instance default string get_Domain () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_DestDir () cil managed { - // Method begins at RVA 0x8fcc - // Code size 15 (0xf) + // Method begins at RVA 0xc698 + // Code size 49 (0x31) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Credential::_domain - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::_destDir + IL_0007: brtrue IL_0023 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Credential::get_Domain + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0013: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_001d: stloc.0 + IL_001e: br IL_002f - // method line 416 + IL_0023: ldarg.0 + IL_0024: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::_destDir + IL_0029: stloc.0 + IL_002a: br IL_002f + + IL_002f: ldloc.0 + IL_0030: ret + } // end of method StyleTask::get_DestDir + + // method line 332 .method public hidebysig specialname - instance default void set_Domain (string 'value') cil managed + instance default void set_DestDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x8fe7 - // Code size 14 (0xe) + // Method begins at RVA 0xc6d5 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Credential::_domain - IL_000d: ret - } // end of method Credential::set_Domain + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::_destDir + IL_0008: ret + } // end of method StyleTask::set_DestDir - // method line 417 + // method line 333 .method public hidebysig specialname - instance default string get_Password () cil managed + instance default string get_Extension () cil managed { - // Method begins at RVA 0x8ff8 + // Method begins at RVA 0xc6e0 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Credential::_password + IL_0002: ldfld string NAnt.Core.Tasks.StyleTask::_extension IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Credential::get_Password + } // end of method StyleTask::get_Extension - // method line 418 + // method line 334 .method public hidebysig specialname - instance default void set_Password (string 'value') cil managed + instance default void set_Extension (string 'value') cil managed { - // Method begins at RVA 0x9013 - // Code size 14 (0xe) + // Method begins at RVA 0xc6fb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Credential::_password - IL_000d: ret - } // end of method Credential::set_Password + IL_0003: stfld string NAnt.Core.Tasks.StyleTask::_extension + IL_0008: ret + } // end of method StyleTask::set_Extension - // method line 419 + // method line 335 .method public hidebysig specialname - instance default string get_UserName () cil managed + instance default class [System]System.Uri get_XsltFile () cil managed { - // Method begins at RVA 0x9024 + // Method begins at RVA 0xc708 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [System]System.Uri V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Credential::_userName + IL_0002: ldfld class [System]System.Uri NAnt.Core.Tasks.StyleTask::_xsltFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Credential::get_UserName + } // end of method StyleTask::get_XsltFile - // method line 420 + // method line 336 .method public hidebysig specialname - instance default void set_UserName (string 'value') cil managed + instance default void set_XsltFile (class [System]System.Uri 'value') cil managed { - // Method begins at RVA 0x903f - // Code size 14 (0xe) + // Method begins at RVA 0xc723 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Credential::_userName - IL_000d: ret - } // end of method Credential::set_UserName + IL_0003: stfld class [System]System.Uri NAnt.Core.Tasks.StyleTask::_xsltFile + IL_0008: ret + } // end of method StyleTask::set_XsltFile - // method line 421 + // method line 337 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed { - // Method begins at RVA 0x9050 + // Method begins at RVA 0xc730 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Credential::_ifDefined + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_srcFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Credential::get_IfDefined + } // end of method StyleTask::get_SrcFile - // method line 422 + // method line 338 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x906b + // Method begins at RVA 0xc74b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Credential::_ifDefined + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_srcFile IL_0008: ret - } // end of method Credential::set_IfDefined + } // end of method StyleTask::set_SrcFile - // method line 423 + // method line 339 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x9078 + // Method begins at RVA 0xc758 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Credential::_unlessDefined + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_outputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Credential::get_UnlessDefined + } // end of method StyleTask::get_OutputFile - // method line 424 + // method line 340 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x9093 + // Method begins at RVA 0xc773 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Credential::_unlessDefined + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_outputFile IL_0008: ret - } // end of method Credential::set_UnlessDefined - - // method line 425 - .method public hidebysig - instance default class [System]System.Net.ICredentials GetCredential () cil managed - { - // Method begins at RVA 0x90a0 - // Code size 60 (0x3c) - .maxstack 3 - .locals init ( - class [System]System.Net.ICredentials V_0, - class [System]System.Net.ICredentials V_1) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance bool class NAnt.Core.Types.Credential::get_IfDefined() - IL_0009: brfalse IL_0033 - - IL_000e: ldarg.0 - IL_000f: call instance bool class NAnt.Core.Types.Credential::get_UnlessDefined() - IL_0014: brtrue IL_0033 - - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: call instance string class NAnt.Core.Types.Credential::get_UserName() - IL_0020: ldarg.0 - IL_0021: call instance string class NAnt.Core.Types.Credential::get_Password() - IL_0026: ldarg.0 - IL_0027: call instance string class NAnt.Core.Types.Credential::get_Domain() - IL_002c: newobj instance void class [System]System.Net.NetworkCredential::'.ctor'(string, string, string) - IL_0031: stloc.0 - IL_0032: nop - IL_0033: ldloc.0 - IL_0034: stloc.1 - IL_0035: br IL_003a - - IL_003a: ldloc.1 - IL_003b: ret - } // end of method Credential::GetCredential - - .property instance string Domain () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 64 6F 6D 61 69 6E 01 00 54 02 08 52 65 // ...domain..T..Re - 71 75 69 72 65 64 00 ) // quired. - - .get instance default string NAnt.Core.Types.Credential::get_Domain () - .set instance default void NAnt.Core.Types.Credential::set_Domain (string 'value') - } - .property instance string Password () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 61 73 73 77 6F 72 64 01 00 54 02 08 // ...password..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. - - .get instance default string NAnt.Core.Types.Credential::get_Password () - .set instance default void NAnt.Core.Types.Credential::set_Password (string 'value') - } - .property instance string UserName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 75 73 65 72 6E 61 6D 65 01 00 54 02 08 // ...username..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. - - .get instance default string NAnt.Core.Types.Credential::get_UserName () - .set instance default void NAnt.Core.Types.Credential::set_UserName (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Credential::get_IfDefined () - .set instance default void NAnt.Core.Types.Credential::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Credential::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Credential::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.Credential -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi serializable beforefieldinit FormatterCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - - // method line 426 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x90e8 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method FormatterCollection::.ctor - - // method line 427 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection 'value') cil managed - { - // Method begins at RVA 0x90f1 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.FormatterCollection::AddRange(class NAnt.Core.Types.FormatterCollection) - IL_000e: ret - } // end of method FormatterCollection::.ctor - - // method line 428 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.Formatter[] 'value') cil managed - { - // Method begins at RVA 0x9101 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.FormatterCollection::AddRange(class NAnt.Core.Types.Formatter[]) - IL_000e: ret - } // end of method FormatterCollection::.ctor + } // end of method StyleTask::set_OutputFile - // method line 429 + // method line 341 .method public hidebysig specialname - instance default class NAnt.Core.Types.Formatter get_Item (int32 index) cil managed + instance default class NAnt.Core.Types.FileSet get_InFiles () cil managed { - // Method begins at RVA 0x9114 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xc780 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Types.Formatter V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.Formatter - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FormatterCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StyleTask::get_InFiles - // method line 430 + // method line 342 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Formatter 'value') cil managed + instance default void set_InFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x913a - // Code size 15 (0xf) + // Method begins at RVA 0xc79b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method FormatterCollection::set_Item - - // method line 431 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Formatter item) cil managed - { - // Method begins at RVA 0x914c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FormatterCollection::Add - - // method line 432 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Formatter[] items) cil managed - { - // Method begins at RVA 0x9170 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.FormatterCollection::Add(class NAnt.Core.Types.Formatter) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 - - IL_0021: ret - } // end of method FormatterCollection::AddRange - - // method line 433 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.FormatterCollection items) cil managed - { - // Method begins at RVA 0x91a0 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.Formatter class NAnt.Core.Types.FormatterCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.FormatterCollection::Add(class NAnt.Core.Types.Formatter) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method FormatterCollection::AddRange + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles + IL_0008: ret + } // end of method StyleTask::set_InFiles - // method line 434 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Formatter item) cil managed + // method line 343 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltParameterCollection get_Parameters () cil managed { - // Method begins at RVA 0x91d8 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xc7a8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.XsltParameterCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FormatterCollection::Contains + IL_0002: ldfld class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::_xsltParameters + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 435 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Formatter[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x91f9 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000d: ldloc.0 IL_000e: ret - } // end of method FormatterCollection::CopyTo + } // end of method StyleTask::get_Parameters - // method line 436 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Formatter item) cil managed + // method line 344 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltExtensionObjectCollection get_ExtensionObjects () cil managed { - // Method begins at RVA 0x920c - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xc7c4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.XsltExtensionObjectCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FormatterCollection::IndexOf + IL_0002: ldfld class NAnt.Core.Types.XsltExtensionObjectCollection NAnt.Core.Tasks.StyleTask::_xsltExtensions + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 437 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Formatter item) cil managed - { - // Method begins at RVA 0x922d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000d: ldloc.0 IL_000e: ret - } // end of method FormatterCollection::Insert + } // end of method StyleTask::get_ExtensionObjects - // method line 438 - .method public hidebysig - instance default class NAnt.Core.Types.FormatterEnumerator GetEnumerator () cil managed + // method line 345 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Proxy get_Proxy () cil managed { - // Method begins at RVA 0x9240 + // Method begins at RVA 0xc7e0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FormatterEnumerator V_0) + class NAnt.Core.Types.Proxy V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.FormatterEnumerator::'.ctor'(class NAnt.Core.Types.FormatterCollection) + IL_0002: ldfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.StyleTask::_proxy IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FormatterCollection::GetEnumerator + } // end of method StyleTask::get_Proxy - // method line 439 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Formatter item) cil managed + // method line 346 + .method public hidebysig specialname + instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') cil managed { - // Method begins at RVA 0x925b - // Code size 14 (0xe) + // Method begins at RVA 0xc7fb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method FormatterCollection::Remove - - .property instance class NAnt.Core.Types.Formatter Item (int32) - { - .get instance default class NAnt.Core.Types.Formatter NAnt.Core.Types.FormatterCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.FormatterCollection::set_Item (int32 index, class NAnt.Core.Types.Formatter 'value') - } - } // end of class NAnt.Core.Types.FormatterCollection -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit FormatterEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 440 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection arguments) cil managed - { - // Method begins at RVA 0x926c - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator - IL_0015: ret - } // end of method FormatterEnumerator::.ctor + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.StyleTask::_proxy + IL_0008: ret + } // end of method StyleTask::set_Proxy - // method line 441 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Formatter get_Current () cil managed + // method line 347 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x9290 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0xc808 + // Code size 1638 (0x666) + .maxstack 7 .locals init ( - class NAnt.Core.Types.Formatter V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class [mscorlib]System.IO.FileInfo V_1, + class [System]System.Net.HttpWebRequest V_2, + class [System]System.Net.HttpWebResponse V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + string V_6, + string V_7, + int32 V_8, + class [mscorlib]System.IO.FileInfo V_9, + class [mscorlib]System.IO.FileInfo V_10, + bool V_11, + class [mscorlib]System.IO.FileInfo V_12, + class [System.Xml]System.Xml.XmlReader V_13, + class [System.Xml]System.Xml.XmlReader V_14, + class [mscorlib]System.IO.TextWriter V_15, + string V_16, + class [System.Xml]System.Xml.XPath.XPathDocument V_17, + class [System.Xml]System.Xml.Xsl.XsltArgumentList V_18, + class NAnt.Core.Types.XsltParameter V_19, + class NAnt.Core.Types.XsltParameterEnumerator V_20, + class [mscorlib]System.IDisposable V_21, + class NAnt.Core.Types.XsltExtensionObject V_22, + class NAnt.Core.Types.XsltExtensionObjectEnumerator V_23, + object V_24, + class [mscorlib]System.IDisposable V_25, + class [mscorlib]System.IO.FileInfo V_26, + class [System.Xml]System.Xml.Xsl.XslCompiledTransform V_27, + string V_28, + class [mscorlib]System.Exception V_29, + class [mscorlib]System.IDisposable V_30) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.Formatter - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FormatterEnumerator::get_Current + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() + IL_0018: ldarg.0 + IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldnull + IL_002f: stloc.0 + IL_0030: ldarg.0 + IL_0031: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_SrcFile() + IL_0036: brfalse IL_005a - // method line 442 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x92b8 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_003b: nop + IL_003c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0041: stloc.0 + IL_0042: ldloc.0 + IL_0043: ldarg.0 + IL_0044: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_SrcFile() + IL_0049: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0053: pop + IL_0054: nop + IL_0055: br IL_00af - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FormatterEnumerator::System.Collections.IEnumerator.get_Current + IL_005a: ldarg.0 + IL_005b: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() + IL_0060: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0065: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_006a: ldc.i4.0 + IL_006b: ble IL_00af - // method line 443 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x92d8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0070: nop + IL_0071: ldarg.0 + IL_0072: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_OutputFile() + IL_0077: brfalse IL_00a2 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FormatterEnumerator::MoveNext + IL_007c: nop + IL_007d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0082: ldstr "NA1148" + IL_0087: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_008c: call !!0[] class [mscorlib]System.Array::Empty () + IL_0091: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0096: ldarg.0 + IL_0097: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_009c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00a1: throw + IL_00a2: ldarg.0 + IL_00a3: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() + IL_00a8: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_00ad: stloc.0 + IL_00ae: nop + IL_00af: ldloc.0 + IL_00b0: brfalse IL_00c0 - // method line 444 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x92f8 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00b5: ldloc.0 + IL_00b6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00bb: brtrue IL_00e6 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FormatterEnumerator::System.Collections.IEnumerator.MoveNext + IL_00c0: nop + IL_00c1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c6: ldstr "NA1147" + IL_00cb: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00d0: call !!0[] class [mscorlib]System.Array::Empty () + IL_00d5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_00da: ldarg.0 + IL_00db: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00e0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00e5: throw + IL_00e6: ldarg.0 + IL_00e7: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_00ec: callvirt instance bool class [System]System.Uri::get_IsFile() + IL_00f1: brfalse IL_0140 - // method line 445 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x9318 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method FormatterEnumerator::Reset + IL_00f6: nop + IL_00f7: ldarg.0 + IL_00f8: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_00fd: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_0102: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0107: stloc.1 + IL_0108: ldloc.1 + IL_0109: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_010e: brtrue IL_013a - // method line 446 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x9326 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method FormatterEnumerator::System.Collections.IEnumerator.Reset + IL_0113: nop + IL_0114: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0119: ldstr "NA1149" + IL_011e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0123: ldloc.1 + IL_0124: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0129: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_012e: ldarg.0 + IL_012f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0134: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0139: throw + IL_013a: nop + IL_013b: br IL_01b4 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.Types.FormatterEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.Types.Formatter Current () - { - .get instance default class NAnt.Core.Types.Formatter NAnt.Core.Types.FormatterEnumerator::get_Current () - } - } // end of class NAnt.Core.Types.FormatterEnumerator -} + IL_0140: nop + IL_0141: ldarg.0 + IL_0142: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_0147: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) + IL_014c: castclass [System]System.Net.HttpWebRequest + IL_0151: stloc.2 + IL_0152: ldarg.0 + IL_0153: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() + IL_0158: brfalse IL_0170 -.namespace NAnt.Core.Extensibility -{ - .class public auto ansi sealed beforefieldinit PluginConsumerAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul - 74 69 70 6C 65 01 ) // tiple. + IL_015d: nop + IL_015e: ldloc.2 + IL_015f: ldarg.0 + IL_0160: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() + IL_0165: callvirt instance class [System]System.Net.IWebProxy class NAnt.Core.Types.Proxy::GetWebProxy() + IL_016a: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) + IL_016f: nop + IL_0170: ldloc.2 + IL_0171: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_0176: castclass [System]System.Net.HttpWebResponse + IL_017b: stloc.3 + IL_017c: ldloc.3 + IL_017d: callvirt instance valuetype [System]System.Net.HttpStatusCode class [System]System.Net.HttpWebResponse::get_StatusCode() + IL_0182: ldc.i4 200 + IL_0187: beq IL_01b3 - .field private class [mscorlib]System.Type _type + IL_018c: nop + IL_018d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0192: ldstr "NA1149" + IL_0197: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_019c: ldarg.0 + IL_019d: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_01a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01a7: ldarg.0 + IL_01a8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_01ad: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_01b2: throw + IL_01b3: nop + IL_01b4: nop + IL_01b5: ldloc.0 + IL_01b6: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_01bb: stloc.s 5 + .try { // 6 + IL_01bd: br IL_063d - // method line 447 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0x9334 - // Code size 39 (0x27) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: ldnull - IL_0009: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_000e: brfalse IL_001f + IL_01c2: ldloc.s 5 + IL_01c4: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_01c9: stloc.s 4 + IL_01cb: nop + IL_01cc: ldnull + IL_01cd: stloc.s 6 + IL_01cf: ldarg.0 + IL_01d0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_OutputFile() + IL_01d5: brfalse IL_01e9 - IL_0013: nop - IL_0014: ldstr "type" - IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001e: throw - IL_001f: ldarg.0 - IL_0020: ldarg.1 - IL_0021: stfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::_type - IL_0026: ret - } // end of method PluginConsumerAttribute::.ctor + IL_01da: nop + IL_01db: ldarg.0 + IL_01dc: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_OutputFile() + IL_01e1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01e6: stloc.s 6 + IL_01e8: nop + IL_01e9: ldloc.s 6 + IL_01eb: call bool string::IsNullOrEmpty(string) + IL_01f0: brfalse IL_026d - // method line 448 - .method public hidebysig specialname - instance default class [mscorlib]System.Type get_PluginType () cil managed - { - // Method begins at RVA 0x935c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Type V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::_type - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01f5: nop + IL_01f6: ldarg.0 + IL_01f7: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() + IL_01fc: ldstr "." + IL_0201: callvirt instance int32 string::IndexOf(string) + IL_0206: ldc.i4.m1 + IL_0207: ble IL_0217 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PluginConsumerAttribute::get_PluginType + IL_020c: ldarg.0 + IL_020d: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() + IL_0212: br IL_0227 - .property instance class [mscorlib]System.Type PluginType () - { - .get instance default class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::get_PluginType () - } - } // end of class NAnt.Core.Extensibility.PluginConsumerAttribute -} + IL_0217: ldstr "." + IL_021c: ldarg.0 + IL_021d: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() + IL_0222: call string string::Concat(string, string) + IL_0227: stloc.s 7 + IL_0229: ldloc.s 4 + IL_022b: ldc.i4.s 0x2e + IL_022d: callvirt instance int32 string::LastIndexOf(char) + IL_0232: stloc.s 8 + IL_0234: ldloc.s 8 + IL_0236: ldc.i4.m1 + IL_0237: bne.un IL_024e -.namespace NAnt.Core.Extensibility -{ - .class public auto ansi abstract beforefieldinit ExtensionBuilder - extends [mscorlib]System.Object - { - .field private initonly class NAnt.Core.Extensibility.ExtensionAssembly _extensionAssembly + IL_023c: nop + IL_023d: ldloc.s 4 + IL_023f: ldloc.s 7 + IL_0241: call string string::Concat(string, string) + IL_0246: stloc.s 6 + IL_0248: nop + IL_0249: br IL_0263 - // method line 449 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly) cil managed - { - // Method begins at RVA 0x9377 - // Code size 33 (0x21) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 + IL_024e: nop + IL_024f: ldloc.s 4 + IL_0251: ldc.i4.0 + IL_0252: ldloc.s 8 + IL_0254: callvirt instance string string::Substring(int32, int32) + IL_0259: ldloc.s 7 + IL_025b: call string string::Concat(string, string) + IL_0260: stloc.s 6 + IL_0262: nop + IL_0263: ldloc.s 6 + IL_0265: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_026a: stloc.s 6 + IL_026c: nop + IL_026d: ldloc.s 4 + IL_026f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0274: stloc.s 9 + IL_0276: ldarg.0 + IL_0277: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.StyleTask::get_DestDir() + IL_027c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0281: ldloc.s 6 + IL_0283: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0288: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_028d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0292: stloc.s 10 + IL_0294: ldloc.s 9 + IL_0296: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_029b: brtrue IL_02c8 - IL_000d: nop - IL_000e: ldstr "extensionAssembly" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: stfld class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::_extensionAssembly - IL_0020: ret - } // end of method ExtensionBuilder::.ctor + IL_02a0: nop + IL_02a1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02a6: ldstr "NA1150" + IL_02ab: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02b0: ldloc.s 9 + IL_02b2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02b7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_02bc: ldarg.0 + IL_02bd: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_02c2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_02c7: throw + IL_02c8: ldloc.s 10 + IL_02ca: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_02cf: brfalse IL_02e9 - // method line 450 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed - { - // Method begins at RVA 0x9399 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) - IL_0007: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) - IL_000c: nop - IL_000d: ret - } // end of method ExtensionBuilder::.ctor + IL_02d4: ldloc.s 9 + IL_02d6: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_02db: ldloc.s 10 + IL_02dd: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_02e2: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_02e7: br.s IL_02ea - // method line 451 - .method assembly hidebysig specialname - instance default class NAnt.Core.Extensibility.ExtensionAssembly get_ExtensionAssembly () cil managed - { - // Method begins at RVA 0x93a8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Extensibility.ExtensionAssembly V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::_extensionAssembly - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_02e9: ldc.i4.1 + IL_02ea: stloc.s 11 + IL_02ec: ldloc.s 11 + IL_02ee: brtrue IL_032f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExtensionBuilder::get_ExtensionAssembly + IL_02f3: ldarg.0 + IL_02f4: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_02f9: callvirt instance bool class [System]System.Uri::get_IsFile() + IL_02fe: brfalse IL_032f - // method line 452 - .method famorassem hidebysig specialname - instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed - { - // Method begins at RVA 0x93c4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly() - IL_0007: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionAssembly::get_Assembly() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0303: nop + IL_0304: ldarg.0 + IL_0305: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_030a: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_030f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0314: stloc.s 12 + IL_0316: ldloc.s 11 + IL_0318: ldloc.s 12 + IL_031a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_031f: ldloc.s 10 + IL_0321: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0326: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_032b: or + IL_032c: stloc.s 11 + IL_032e: nop + IL_032f: ldloc.s 11 + IL_0331: brfalse IL_063c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ExtensionBuilder::get_Assembly + IL_0336: nop + IL_0337: ldnull + IL_0338: stloc.s 13 + IL_033a: ldnull + IL_033b: stloc.s 14 + IL_033d: ldnull + IL_033e: stloc.s 15 + .try { // 5 + .try { // 4 + IL_0340: nop + IL_0341: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() + IL_0346: stloc.s 16 + IL_0348: ldnull + IL_0349: stloc.s 17 + .try { // 0 + IL_034b: nop + IL_034c: ldloc.s 9 + IL_034e: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_0353: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) + IL_0358: ldarg.0 + IL_0359: ldc.i4 2000 + IL_035e: ldstr "Loading XML file '{0}'." + IL_0363: ldc.i4.1 + IL_0364: newarr [mscorlib]System.Object + IL_0369: dup + IL_036a: ldc.i4.0 + IL_036b: ldloc.s 9 + IL_036d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0372: stelem.ref + IL_0373: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0378: ldarg.0 + IL_0379: ldloc.s 9 + IL_037b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0380: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0385: callvirt instance class [System.Xml]System.Xml.XmlReader class NAnt.Core.Tasks.StyleTask::CreateXmlReader(class [System]System.Uri) + IL_038a: stloc.s 13 + IL_038c: ldloc.s 13 + IL_038e: newobj instance void class [System.Xml]System.Xml.XPath.XPathDocument::'.ctor'(class [System.Xml]System.Xml.XmlReader) + IL_0393: stloc.s 17 + IL_0395: nop + IL_0396: leave IL_03a5 - .property instance class NAnt.Core.Extensibility.ExtensionAssembly ExtensionAssembly () - { - .get instance default class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly () - } - .property instance class [mscorlib]System.Reflection.Assembly Assembly () - { - .get instance default class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly () - } - } // end of class NAnt.Core.Extensibility.ExtensionBuilder -} - -.namespace NAnt.Core.Extensibility -{ - .class private auto ansi beforefieldinit PluginScanner - extends [mscorlib]System.Object - { - .field private initonly class [mscorlib]System.Collections.ArrayList _pluginBuilders - - // method line 453 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x93e4 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ret - } // end of method PluginScanner::.ctor + } // end .try 0 + finally { // 0 + IL_039b: nop + IL_039c: ldloc.s 16 + IL_039e: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) + IL_03a3: nop + IL_03a4: endfinally + } // end handler 0 + IL_03a5: newobj instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::'.ctor'() + IL_03aa: stloc.s 18 + IL_03ac: nop + IL_03ad: ldarg.0 + IL_03ae: call instance class NAnt.Core.Types.XsltParameterCollection class NAnt.Core.Tasks.StyleTask::get_Parameters() + IL_03b3: callvirt instance class NAnt.Core.Types.XsltParameterEnumerator class NAnt.Core.Types.XsltParameterCollection::GetEnumerator() + IL_03b8: stloc.s 20 + .try { // 1 + IL_03ba: br IL_03fe - // method line 454 - .method public hidebysig - instance default bool ScanTypeForPlugins (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed - { - // Method begins at RVA 0x93f8 - // Code size 116 (0x74) - .maxstack 7 - .locals init ( - bool V_0, - bool V_1, - class NAnt.Core.Extensibility.PluginBuilder V_2) - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0007: brfalse IL_0013 + IL_03bf: ldloc.s 20 + IL_03c1: callvirt instance class NAnt.Core.Types.XsltParameter class NAnt.Core.Types.XsltParameterEnumerator::get_Current() + IL_03c6: stloc.s 19 + IL_03c8: nop + IL_03c9: ldarg.0 + IL_03ca: call instance bool class NAnt.Core.Task::get_IfDefined() + IL_03cf: brfalse IL_03fd - IL_000c: ldc.i4.0 - IL_000d: stloc.0 - IL_000e: br IL_0072 + IL_03d4: ldarg.0 + IL_03d5: call instance bool class NAnt.Core.Task::get_UnlessDefined() + IL_03da: brtrue IL_03fd - .try { // 0 - IL_0013: nop - IL_0014: ldtoken NAnt.Core.Extensibility.IPlugin - IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_001e: ldarg.2 - IL_001f: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0024: stloc.1 - IL_0025: ldloc.1 - IL_0026: brtrue IL_0033 + IL_03df: nop + IL_03e0: ldloc.s 18 + IL_03e2: ldloc.s 19 + IL_03e4: callvirt instance string class NAnt.Core.Types.XsltParameter::get_ParameterName() + IL_03e9: ldloc.s 19 + IL_03eb: callvirt instance string class NAnt.Core.Types.XsltParameter::get_NamespaceUri() + IL_03f0: ldloc.s 19 + IL_03f2: callvirt instance string class NAnt.Core.Types.XsltParameter::get_Value() + IL_03f7: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_03fc: nop + IL_03fd: nop + IL_03fe: ldloc.s 20 + IL_0400: callvirt instance bool class NAnt.Core.Types.XsltParameterEnumerator::MoveNext() + IL_0405: brtrue IL_03bf - IL_002b: nop - IL_002c: ldc.i4.0 - IL_002d: stloc.0 - IL_002e: leave IL_0072 + IL_040a: leave IL_0426 - IL_0033: ldarg.1 - IL_0034: ldarg.2 - IL_0035: newobj instance void class NAnt.Core.Extensibility.PluginBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type) - IL_003a: stloc.2 - IL_003b: ldarg.0 - IL_003c: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders - IL_0041: ldloc.2 - IL_0042: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0047: pop - IL_0048: ldc.i4.1 - IL_0049: stloc.0 - IL_004a: leave IL_0072 + } // end .try 1 + finally { // 1 + IL_040f: ldloc.s 20 + IL_0411: isinst [mscorlib]System.IDisposable + IL_0416: dup + IL_0417: stloc.s 21 + IL_0419: brfalse IL_0425 - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_004f: pop - IL_0050: nop - IL_0051: ldarg.3 - IL_0052: ldc.i4 5000 - IL_0057: ldstr "Failure scanning \"{0}\" for plugins." - IL_005c: ldc.i4.1 - IL_005d: newarr [mscorlib]System.Object - IL_0062: dup - IL_0063: ldc.i4.0 - IL_0064: ldarg.2 - IL_0065: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() - IL_006a: stelem.ref - IL_006b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0070: rethrow - } // end handler 0 - IL_0072: ldloc.0 - IL_0073: ret - } // end of method PluginScanner::ScanTypeForPlugins + IL_041e: ldloc.s 21 + IL_0420: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0425: endfinally + } // end handler 1 + IL_0426: nop + IL_0427: ldarg.0 + IL_0428: call instance class NAnt.Core.Types.XsltExtensionObjectCollection class NAnt.Core.Tasks.StyleTask::get_ExtensionObjects() + IL_042d: callvirt instance class NAnt.Core.Types.XsltExtensionObjectEnumerator class NAnt.Core.Types.XsltExtensionObjectCollection::GetEnumerator() + IL_0432: stloc.s 23 + .try { // 2 + IL_0434: br IL_0477 - // method line 455 - .method public hidebysig - instance default void RegisterPlugins (class NAnt.Core.Extensibility.IPluginConsumer consumer) cil managed - { - // Method begins at RVA 0x9488 - // Code size 209 (0xd1) - .maxstack 3 - .locals init ( - object[] V_0, - class NAnt.Core.Extensibility.PluginBuilder V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class NAnt.Core.Extensibility.PluginConsumerAttribute V_3, - object[] V_4, - int32 V_5, - class [mscorlib]System.IDisposable V_6) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0439: ldloc.s 23 + IL_043b: callvirt instance class NAnt.Core.Types.XsltExtensionObject class NAnt.Core.Types.XsltExtensionObjectEnumerator::get_Current() + IL_0440: stloc.s 22 + IL_0442: nop + IL_0443: ldloc.s 22 + IL_0445: callvirt instance bool class NAnt.Core.Types.XsltExtensionObject::get_IfDefined() + IL_044a: brfalse IL_0476 - IL_0007: nop - IL_0008: ldstr "consumer" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0019: ldtoken NAnt.Core.Extensibility.PluginConsumerAttribute - IL_001e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0023: ldc.i4.0 - IL_0024: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: ldlen - IL_002c: conv.i4 - IL_002d: brtrue IL_0038 + IL_044f: ldloc.s 22 + IL_0451: callvirt instance bool class NAnt.Core.Types.XsltExtensionObject::get_UnlessDefined() + IL_0456: brtrue IL_0476 - IL_0032: nop - IL_0033: br IL_00d0 + IL_045b: nop + IL_045c: ldloc.s 22 + IL_045e: callvirt instance object class NAnt.Core.Types.XsltExtensionObject::CreateInstance() + IL_0463: stloc.s 24 + IL_0465: ldloc.s 18 + IL_0467: ldloc.s 22 + IL_0469: callvirt instance string class NAnt.Core.Types.XsltExtensionObject::get_NamespaceUri() + IL_046e: ldloc.s 24 + IL_0470: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) + IL_0475: nop + IL_0476: nop + IL_0477: ldloc.s 23 + IL_0479: callvirt instance bool class NAnt.Core.Types.XsltExtensionObjectEnumerator::MoveNext() + IL_047e: brtrue IL_0439 - IL_0038: nop - IL_0039: ldarg.0 - IL_003a: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders - IL_003f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0044: stloc.2 - .try { // 0 - IL_0045: br IL_00aa + IL_0483: leave IL_049f - IL_004a: ldloc.2 - IL_004b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0050: castclass NAnt.Core.Extensibility.PluginBuilder - IL_0055: stloc.1 - IL_0056: nop - IL_0057: nop - IL_0058: ldloc.0 - IL_0059: stloc.s 4 - IL_005b: ldc.i4.0 - IL_005c: stloc.s 5 - IL_005e: br IL_009e + } // end .try 2 + finally { // 2 + IL_0488: ldloc.s 23 + IL_048a: isinst [mscorlib]System.IDisposable + IL_048f: dup + IL_0490: stloc.s 25 + IL_0492: brfalse IL_049e - IL_0063: ldloc.s 4 - IL_0065: ldloc.s 5 - IL_0067: ldelem.ref - IL_0068: castclass NAnt.Core.Extensibility.PluginConsumerAttribute - IL_006d: stloc.3 - IL_006e: nop - IL_006f: ldloc.3 - IL_0070: callvirt instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginConsumerAttribute::get_PluginType() - IL_0075: ldloc.1 - IL_0076: callvirt instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginBuilder::get_PluginType() - IL_007b: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0080: brfalse IL_0097 + IL_0497: ldloc.s 25 + IL_0499: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_049e: endfinally + } // end handler 2 + .try { // 3 + IL_049f: nop + IL_04a0: ldarg.0 + IL_04a1: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_04a6: callvirt instance bool class [System]System.Uri::get_IsFile() + IL_04ab: brfalse IL_04d0 - IL_0085: nop - IL_0086: ldarg.1 - IL_0087: ldloc.1 - IL_0088: callvirt instance class NAnt.Core.Extensibility.IPlugin class NAnt.Core.Extensibility.PluginBuilder::CreatePlugin() - IL_008d: callvirt instance void class NAnt.Core.Extensibility.IPluginConsumer::ConsumePlugin(class NAnt.Core.Extensibility.IPlugin) - IL_0092: leave IL_00a9 + IL_04b0: nop + IL_04b1: ldarg.0 + IL_04b2: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_04b7: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_04bc: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_04c1: stloc.s 26 + IL_04c3: ldloc.s 26 + IL_04c5: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_04ca: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) + IL_04cf: nop + IL_04d0: ldarg.0 + IL_04d1: ldc.i4 2000 + IL_04d6: ldstr "Loading stylesheet '{0}'." + IL_04db: ldc.i4.1 + IL_04dc: newarr [mscorlib]System.Object + IL_04e1: dup + IL_04e2: ldc.i4.0 + IL_04e3: ldarg.0 + IL_04e4: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_04e9: stelem.ref + IL_04ea: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_04ef: ldarg.0 + IL_04f0: ldarg.0 + IL_04f1: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_04f6: callvirt instance class [System.Xml]System.Xml.XmlReader class NAnt.Core.Tasks.StyleTask::CreateXmlReader(class [System]System.Uri) + IL_04fb: stloc.s 14 + IL_04fd: ldarg.0 + IL_04fe: ldloc.s 10 + IL_0500: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0505: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.StyleTask::CreateWriter(string) + IL_050a: stloc.s 15 + IL_050c: ldarg.0 + IL_050d: ldc.i4 3000 + IL_0512: ldstr "Processing '{0}' to '{1}'." + IL_0517: ldc.i4.2 + IL_0518: newarr [mscorlib]System.Object + IL_051d: dup + IL_051e: ldc.i4.0 + IL_051f: ldloc.s 9 + IL_0521: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0526: stelem.ref + IL_0527: dup + IL_0528: ldc.i4.1 + IL_0529: ldloc.s 10 + IL_052b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0530: stelem.ref + IL_0531: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0536: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_053b: stloc.s 27 + IL_053d: ldloc.s 27 + IL_053f: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0544: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0549: stloc.s 28 + IL_054b: ldarg.0 + IL_054c: ldc.i4 2000 + IL_0551: ldstr "Using {0} to load '{1}'." + IL_0556: ldc.i4.2 + IL_0557: newarr [mscorlib]System.Object + IL_055c: dup + IL_055d: ldc.i4.0 + IL_055e: ldloc.s 28 + IL_0560: stelem.ref + IL_0561: dup + IL_0562: ldc.i4.1 + IL_0563: ldarg.0 + IL_0564: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_0569: stelem.ref + IL_056a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_056f: ldloc.s 27 + IL_0571: ldloc.s 14 + IL_0573: ldc.i4.1 + IL_0574: ldc.i4.1 + IL_0575: newobj instance void class [System.Xml]System.Xml.Xsl.XsltSettings::'.ctor'(bool, bool) + IL_057a: newobj instance void class [System.Xml]System.Xml.XmlUrlResolver::'.ctor'() + IL_057f: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Load(class [System.Xml]System.Xml.XmlReader, class [System.Xml]System.Xml.Xsl.XsltSettings, class [System.Xml]System.Xml.XmlResolver) + IL_0584: ldarg.0 + IL_0585: ldc.i4 2000 + IL_058a: ldstr "Using {0} to process '{1}' to '{2}'." + IL_058f: ldc.i4.3 + IL_0590: newarr [mscorlib]System.Object + IL_0595: dup + IL_0596: ldc.i4.0 + IL_0597: ldloc.s 28 + IL_0599: stelem.ref + IL_059a: dup + IL_059b: ldc.i4.1 + IL_059c: ldloc.s 9 + IL_059e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_05a3: stelem.ref + IL_05a4: dup + IL_05a5: ldc.i4.2 + IL_05a6: ldloc.s 10 + IL_05a8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_05ad: stelem.ref + IL_05ae: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_05b3: ldloc.s 27 + IL_05b5: ldloc.s 17 + IL_05b7: ldloc.s 18 + IL_05b9: ldloc.s 15 + IL_05bb: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Transform(class [System.Xml]System.Xml.XPath.IXPathNavigable, class [System.Xml]System.Xml.Xsl.XsltArgumentList, class [mscorlib]System.IO.TextWriter) + IL_05c0: nop + IL_05c1: leave IL_05d0 - IL_0097: nop - IL_0098: ldloc.s 5 - IL_009a: ldc.i4.1 - IL_009b: add - IL_009c: stloc.s 5 - IL_009e: ldloc.s 5 - IL_00a0: ldloc.s 4 - IL_00a2: ldlen - IL_00a3: conv.i4 - IL_00a4: blt IL_0063 + } // end .try 3 + finally { // 3 + IL_05c6: nop + IL_05c7: ldloc.s 16 + IL_05c9: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) + IL_05ce: nop + IL_05cf: endfinally + } // end handler 3 + IL_05d0: nop + IL_05d1: leave IL_063b - IL_00a9: nop - IL_00aa: ldloc.2 - IL_00ab: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00b0: brtrue IL_004a + } // end .try 4 + catch class [mscorlib]System.Exception { // 4 + IL_05d6: stloc.s 29 + IL_05d8: nop + IL_05d9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_05de: ldstr "NA1151" + IL_05e3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_05e8: ldloc.s 9 + IL_05ea: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_05ef: ldarg.0 + IL_05f0: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() + IL_05f5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_05fa: ldarg.0 + IL_05fb: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0600: ldloc.s 29 + IL_0602: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0607: throw + } // end handler 4 + } // end .try 5 + finally { // 5 + IL_0608: nop + IL_0609: ldloc.s 13 + IL_060b: brfalse IL_0619 - IL_00b5: leave IL_00d0 + IL_0610: nop + IL_0611: ldloc.s 13 + IL_0613: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() + IL_0618: nop + IL_0619: ldloc.s 14 + IL_061b: brfalse IL_0629 - } // end .try 0 - finally { // 0 - IL_00ba: ldloc.2 - IL_00bb: isinst [mscorlib]System.IDisposable - IL_00c0: dup - IL_00c1: stloc.s 6 - IL_00c3: brfalse IL_00cf + IL_0620: nop + IL_0621: ldloc.s 14 + IL_0623: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() + IL_0628: nop + IL_0629: ldloc.s 15 + IL_062b: brfalse IL_0639 - IL_00c8: ldloc.s 6 - IL_00ca: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00cf: endfinally - } // end handler 0 - IL_00d0: ret - } // end of method PluginScanner::RegisterPlugins + IL_0630: nop + IL_0631: ldloc.s 15 + IL_0633: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0638: nop + IL_0639: nop + IL_063a: endfinally + } // end handler 5 + IL_063b: nop + IL_063c: nop + IL_063d: ldloc.s 5 + IL_063f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0644: brtrue IL_01c2 - } // end of class NAnt.Core.Extensibility.PluginScanner -} + IL_0649: leave IL_0665 -.namespace NAnt.Core.Extensibility -{ - .class private auto ansi beforefieldinit FunctionArgument - extends [mscorlib]System.Object - { - .field private initonly int32 _index - .field private initonly string _name - .field private initonly object _value - .field private initonly valuetype NAnt.Core.ExpressionTokenizer/Position _beforeArgument - .field private initonly valuetype NAnt.Core.ExpressionTokenizer/Position _afterArgument + } // end .try 6 + finally { // 6 + IL_064e: ldloc.s 5 + IL_0650: isinst [mscorlib]System.IDisposable + IL_0655: dup + IL_0656: stloc.s 30 + IL_0658: brfalse IL_0664 - // method line 456 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name, int32 index, object 'value', valuetype NAnt.Core.ExpressionTokenizer/Position beforeArgument, valuetype NAnt.Core.ExpressionTokenizer/Position afterArgument) cil managed - { - // Method begins at RVA 0x9578 - // Code size 45 (0x2d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld string NAnt.Core.Extensibility.FunctionArgument::_name - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld int32 NAnt.Core.Extensibility.FunctionArgument::_index - IL_0015: ldarg.0 - IL_0016: ldarg.3 - IL_0017: stfld object NAnt.Core.Extensibility.FunctionArgument::_value - IL_001c: ldarg.0 - IL_001d: ldarg.s 4 - IL_001f: stfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_beforeArgument - IL_0024: ldarg.0 - IL_0025: ldarg.s 5 - IL_0027: stfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_afterArgument - IL_002c: ret - } // end of method FunctionArgument::.ctor + IL_065d: ldloc.s 30 + IL_065f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0664: endfinally + } // end handler 6 + IL_0665: ret + } // end of method StyleTask::ExecuteTask - // method line 457 - .method public hidebysig specialname - instance default int32 get_Index () cil managed + // method line 348 + .method family virtual hidebysig newslot + instance default class [System.Xml]System.Xml.XmlReader CreateXmlReader (class [System]System.Uri uri) cil managed { - // Method begins at RVA 0x95a8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xcf28 + // Code size 175 (0xaf) + .maxstack 3 .locals init ( - int32 V_0) + class [mscorlib]System.IO.Stream V_0, + class [System.Xml]System.Xml.XmlUrlResolver V_1, + class [System]System.Net.HttpWebRequest V_2, + class [System.Xml]System.Xml.XmlTextReader V_3, + class [System.Xml]System.Xml.XmlReader V_4) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldarg.1 + IL_0006: callvirt instance bool class [System]System.Uri::get_IsFile() + IL_000b: brfalse IL_0025 + + IL_0010: nop + IL_0011: ldarg.1 + IL_0012: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_0017: ldc.i4.3 + IL_0018: ldc.i4.1 + IL_0019: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) + IL_001e: stloc.0 + IL_001f: nop + IL_0020: br IL_008b + + IL_0025: nop + IL_0026: newobj instance void class [System.Xml]System.Xml.XmlUrlResolver::'.ctor'() + IL_002b: stloc.1 + IL_002c: ldarg.1 + IL_002d: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) + IL_0032: castclass [System]System.Net.HttpWebRequest + IL_0037: stloc.2 + IL_0038: ldarg.0 + IL_0039: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() + IL_003e: brfalse IL_0071 + + IL_0043: nop + IL_0044: ldloc.2 + IL_0045: ldarg.0 + IL_0046: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() + IL_004b: callvirt instance class [System]System.Net.IWebProxy class NAnt.Core.Types.Proxy::GetWebProxy() + IL_0050: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) + IL_0055: ldloc.1 + IL_0056: ldarg.0 + IL_0057: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() + IL_005c: callvirt instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() + IL_0061: callvirt instance class [System]System.Net.ICredentials class NAnt.Core.Types.Credential::GetCredential() + IL_0066: callvirt instance void class [System.Xml]System.Xml.XmlResolver::set_Credentials(class [System]System.Net.ICredentials) + IL_006b: nop + IL_006c: br IL_007e + + IL_0071: nop + IL_0072: ldloc.1 + IL_0073: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() + IL_0078: callvirt instance void class [System.Xml]System.Xml.XmlResolver::set_Credentials(class [System]System.Net.ICredentials) + IL_007d: nop + IL_007e: ldloc.2 + IL_007f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_0084: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() + IL_0089: stloc.0 + IL_008a: nop + IL_008b: ldarg.1 + IL_008c: callvirt instance string object::ToString() + IL_0091: ldloc.0 + IL_0092: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(string, class [mscorlib]System.IO.Stream) + IL_0097: stloc.3 + IL_0098: ldloc.3 + IL_0099: ldloc.1 + IL_009a: callvirt instance void class [System.Xml]System.Xml.XmlTextReader::set_XmlResolver(class [System.Xml]System.Xml.XmlResolver) + IL_009f: ldloc.3 + IL_00a0: newobj instance void class [System.Xml]System.Xml.XmlValidatingReader::'.ctor'(class [System.Xml]System.Xml.XmlReader) + IL_00a5: stloc.s 4 + IL_00a7: br IL_00ac + + IL_00ac: ldloc.s 4 + IL_00ae: ret + } // end of method StyleTask::CreateXmlReader + + // method line 349 + .method family virtual hidebysig newslot + instance default class [mscorlib]System.IO.TextWriter CreateWriter (string filepath) cil managed + { + // Method begins at RVA 0xcfe4 + // Code size 58 (0x3a) + .maxstack 1 + .locals init ( + string V_0, + class [mscorlib]System.IO.TextWriter V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0007: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: call bool string::IsNullOrEmpty(string) + IL_0013: brtrue IL_002c + + IL_0018: ldloc.0 + IL_0019: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_001e: brtrue IL_002c + + IL_0023: nop + IL_0024: ldloc.0 + IL_0025: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_002a: pop + IL_002b: nop + IL_002c: ldarg.1 + IL_002d: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_0032: stloc.1 + IL_0033: br IL_0038 + + IL_0038: ldloc.1 + IL_0039: ret + } // end of method StyleTask::CreateWriter + + .property instance class [mscorlib]System.IO.DirectoryInfo DestDir () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 64 65 73 74 64 69 72 01 00 54 02 08 52 // ...destdir..T..R + 65 71 75 69 72 65 64 00 ) // equired. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::get_DestDir () + .set instance default void NAnt.Core.Tasks.StyleTask::set_DestDir (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance string Extension () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 65 78 74 65 6E 73 69 6F 6E 01 00 54 02 // ...extension..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .get instance default string NAnt.Core.Tasks.StyleTask::get_Extension () + .set instance default void NAnt.Core.Tasks.StyleTask::set_Extension (string 'value') + } + .property instance class [System]System.Uri XsltFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 73 74 79 6C 65 01 00 54 02 08 52 65 71 // ...style..T..Req + 75 69 72 65 64 01 ) // uired. + + .get instance default class [System]System.Uri NAnt.Core.Tasks.StyleTask::get_XsltFile () + .set instance default void NAnt.Core.Tasks.StyleTask::set_XsltFile (class [System]System.Uri 'value') + } + .property instance class [mscorlib]System.IO.FileInfo SrcFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 02 69 6E 01 00 54 02 08 52 65 71 75 69 72 // ...in..T..Requir + 65 64 00 ) // ed. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::get_SrcFile () + .set instance default void NAnt.Core.Tasks.StyleTask::set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 6F 75 74 01 00 54 02 08 52 65 71 75 69 // ...out..T..Requi + 72 65 64 00 ) // red. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::get_OutputFile () + .set instance default void NAnt.Core.Tasks.StyleTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class NAnt.Core.Types.FileSet InFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6E 66 69 6C 65 73 00 00 ) // ...infiles.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::get_InFiles () + .set instance default void NAnt.Core.Tasks.StyleTask::set_InFiles (class NAnt.Core.Types.FileSet 'value') + } + .property instance class NAnt.Core.Types.XsltParameterCollection Parameters () + { + .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 0A 70 61 72 61 6D 65 74 65 72 73 09 70 61 // ...parameters.pa + 72 61 6D 65 74 65 72 00 00 ) // rameter.. + + .get instance default class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::get_Parameters () + } + .property instance class NAnt.Core.Types.XsltExtensionObjectCollection ExtensionObjects () + { + .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 10 65 78 74 65 6E 73 69 6F 6E 6F 62 6A 65 // ...extensionobje + 63 74 73 0F 65 78 74 65 6E 73 69 6F 6E 6F 62 6A // cts.extensionobj + 65 63 74 00 00 ) // ect.. + + .get instance default class NAnt.Core.Types.XsltExtensionObjectCollection NAnt.Core.Tasks.StyleTask::get_ExtensionObjects () + } + .property instance class NAnt.Core.Types.Proxy Proxy () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. + + .get instance default class NAnt.Core.Types.Proxy NAnt.Core.Tasks.StyleTask::get_Proxy () + .set instance default void NAnt.Core.Tasks.StyleTask::set_Proxy (class NAnt.Core.Types.Proxy 'value') + } + } // end of class NAnt.Core.Tasks.StyleTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit MailTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6D 61 69 6C 00 00 ) // ...mail.. + + .field private string _from + .field private string _replyTo + .field private string _toList + .field private string _ccList + .field private string _bccList + .field private string _mailHost + .field private string _subject + .field private string _message + .field private string _userName + .field private string _passWord + .field private bool _isBodyHtml + .field private bool _enableSsl + .field private int32 _portNumber + .field private class NAnt.Core.Types.FileSet _files + .field private class NAnt.Core.Types.FileSet _attachments + + // method line 350 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xd02c + // Code size 106 (0x6a) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: ldstr "localhost" + IL_0006: stfld string NAnt.Core.Tasks.MailTask::_mailHost + IL_000b: ldarg.0 + IL_000c: ldstr "" + IL_0011: stfld string NAnt.Core.Tasks.MailTask::_subject + IL_0016: ldarg.0 + IL_0017: ldstr "" + IL_001c: stfld string NAnt.Core.Tasks.MailTask::_message + IL_0021: ldarg.0 + IL_0022: ldstr "" + IL_0027: stfld string NAnt.Core.Tasks.MailTask::_userName + IL_002c: ldarg.0 + IL_002d: ldstr "" + IL_0032: stfld string NAnt.Core.Tasks.MailTask::_passWord + IL_0037: ldarg.0 + IL_0038: ldc.i4.0 + IL_0039: stfld bool NAnt.Core.Tasks.MailTask::_isBodyHtml + IL_003e: ldarg.0 + IL_003f: ldc.i4.0 + IL_0040: stfld bool NAnt.Core.Tasks.MailTask::_enableSsl + IL_0045: ldarg.0 + IL_0046: ldc.i4.s 0x19 + IL_0048: stfld int32 NAnt.Core.Tasks.MailTask::_portNumber + IL_004d: ldarg.0 + IL_004e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0053: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_files + IL_0058: ldarg.0 + IL_0059: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_005e: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_attachments + IL_0063: ldarg.0 + IL_0064: call instance void class NAnt.Core.Task::'.ctor'() + IL_0069: ret + } // end of method MailTask::.ctor + + // method line 351 + .method public hidebysig specialname + instance default string get_From () cil managed + { + // Method begins at RVA 0xd0a4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Extensibility.FunctionArgument::_index + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_from IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FunctionArgument::get_Index + } // end of method MailTask::get_From - // method line 458 + // method line 352 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default void set_From (string 'value') cil managed { - // Method begins at RVA 0x95c4 + // Method begins at RVA 0xd0bf + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.MailTask::_from + IL_000d: ret + } // end of method MailTask::set_From + + // method line 353 + .method public hidebysig specialname + instance default string get_ToList () cil managed + { + // Method begins at RVA 0xd0d0 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Extensibility.FunctionArgument::_name + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_toList IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FunctionArgument::get_Name + } // end of method MailTask::get_ToList - // method line 459 + // method line 354 .method public hidebysig specialname - instance default object get_Value () cil managed + instance default void set_ToList (string 'value') cil managed + { + // Method begins at RVA 0xd0eb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.MailTask::_toList + IL_0008: ret + } // end of method MailTask::set_ToList + + // method line 355 + .method public hidebysig specialname + instance default string get_ReplyTo () cil managed { - // Method begins at RVA 0x95e0 + // Method begins at RVA 0xd0f8 // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld object NAnt.Core.Extensibility.FunctionArgument::_value + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_replyTo IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FunctionArgument::get_Value + } // end of method MailTask::get_ReplyTo - // method line 460 + // method line 356 .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_BeforeArgument () cil managed + instance default void set_ReplyTo (string 'value') cil managed + { + // Method begins at RVA 0xd113 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.MailTask::_replyTo + IL_0008: ret + } // end of method MailTask::set_ReplyTo + + // method line 357 + .method public hidebysig specialname + instance default string get_CcList () cil managed { - // Method begins at RVA 0x95fc + // Method begins at RVA 0xd120 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_beforeArgument + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_ccList IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FunctionArgument::get_BeforeArgument + } // end of method MailTask::get_CcList - // method line 461 + // method line 358 .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_AfterArgument () cil managed + instance default void set_CcList (string 'value') cil managed + { + // Method begins at RVA 0xd13b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.MailTask::_ccList + IL_0008: ret + } // end of method MailTask::set_CcList + + // method line 359 + .method public hidebysig specialname + instance default string get_BccList () cil managed { - // Method begins at RVA 0x9618 + // Method begins at RVA 0xd148 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_afterArgument + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_bccList IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FunctionArgument::get_AfterArgument - - .property instance int32 Index () - { - .get instance default int32 NAnt.Core.Extensibility.FunctionArgument::get_Index () - } - .property instance string Name () - { - .get instance default string NAnt.Core.Extensibility.FunctionArgument::get_Name () - } - .property instance object Value () - { - .get instance default object NAnt.Core.Extensibility.FunctionArgument::get_Value () - } - .property instance valuetype NAnt.Core.ExpressionTokenizer/Position BeforeArgument () - { - .get instance default valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::get_BeforeArgument () - } - .property instance valuetype NAnt.Core.ExpressionTokenizer/Position AfterArgument () - { - .get instance default valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::get_AfterArgument () - } - } // end of class NAnt.Core.Extensibility.FunctionArgument -} - -.namespace NAnt.Core.Extensibility -{ - .class interface public auto ansi abstract IPluginConsumer - { + } // end of method MailTask::get_BccList - // method line 462 - .method public virtual hidebysig newslot abstract - instance default void ConsumePlugin (class NAnt.Core.Extensibility.IPlugin 'type') cil managed + // method line 360 + .method public hidebysig specialname + instance default void set_BccList (string 'value') cil managed { - // Method begins at RVA 0x0 - } // end of method IPluginConsumer::ConsumePlugin + // Method begins at RVA 0xd163 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.MailTask::_bccList + IL_0008: ret + } // end of method MailTask::set_BccList - } // end of class NAnt.Core.Extensibility.IPluginConsumer -} + // method line 361 + .method public hidebysig specialname + instance default string get_Mailhost () cil managed + { + // Method begins at RVA 0xd170 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_mailHost + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core.Extensibility -{ - .class private auto ansi beforefieldinit ExtensionAssembly - extends [mscorlib]System.Object - { - .field private static class [mscorlib]System.Collections.Hashtable _extensionAssemblies - .field private initonly class [mscorlib]System.Reflection.Assembly _assembly - .field private class [System.Xml]System.Xml.XmlNode _configurationSection - .field private bool _configurationInit + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Mailhost - // method line 463 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + // method line 362 + .method public hidebysig specialname + instance default void set_Mailhost (string 'value') cil managed { - // Method begins at RVA 0x9633 - // Code size 15 (0xf) + // Method begins at RVA 0xd18b + // Code size 14 (0xe) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly - IL_000e: ret - } // end of method ExtensionAssembly::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.MailTask::_mailHost + IL_000d: ret + } // end of method MailTask::set_Mailhost - // method line 464 + // method line 363 .method public hidebysig specialname - instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed + instance default int32 get_Port () cil managed { - // Method begins at RVA 0x9644 + // Method begins at RVA 0xd19c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly + IL_0002: ldfld int32 NAnt.Core.Tasks.MailTask::_portNumber IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExtensionAssembly::get_Assembly + } // end of method MailTask::get_Port - // method line 465 - .method assembly hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationSection () cil managed + // method line 364 + .method public hidebysig specialname + instance default void set_Port (int32 'value') cil managed { - // Method begins at RVA 0x9660 - // Code size 115 (0x73) - .maxstack 2 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.IO.Stream V_1, - class [System.Xml]System.Xml.XmlDocument V_2) + // Method begins at RVA 0xd1b7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Extensibility.ExtensionAssembly::_configurationInit - IL_0007: brfalse IL_0018 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Tasks.MailTask::_portNumber + IL_0008: ret + } // end of method MailTask::set_Port - IL_000c: ldarg.0 - IL_000d: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection - IL_0012: stloc.0 - IL_0013: br IL_0071 + // method line 365 + .method public hidebysig specialname + instance default bool get_EnableSsl () cil managed + { + // Method begins at RVA 0xd1c4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.MailTask::_enableSsl + IL_0007: stloc.0 + IL_0008: br IL_000d - .try { // 1 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly - IL_001f: ldstr "NAnt.Extension.config" - IL_0024: callvirt instance class [mscorlib]System.IO.Stream class [mscorlib]System.Reflection.Assembly::GetManifestResourceStream(string) - IL_0029: stloc.1 - IL_002a: ldloc.1 - IL_002b: brfalse IL_005b + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_EnableSsl - IL_0030: nop - .try { // 0 - IL_0031: nop - IL_0032: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0037: stloc.2 - IL_0038: ldloc.2 - IL_0039: ldloc.1 - IL_003a: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.Stream) - IL_003f: ldarg.0 - IL_0040: ldloc.2 - IL_0041: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0046: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection - IL_004b: nop - IL_004c: leave IL_005a - - } // end .try 0 - finally { // 0 - IL_0051: nop - IL_0052: ldloc.1 - IL_0053: callvirt instance void class [mscorlib]System.IO.Stream::Close() - IL_0058: nop - IL_0059: endfinally - } // end handler 0 - IL_005a: nop - IL_005b: ldarg.0 - IL_005c: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection - IL_0061: stloc.0 - IL_0062: leave IL_0071 - - } // end .try 1 - finally { // 1 - IL_0067: nop - IL_0068: ldarg.0 - IL_0069: ldc.i4.1 - IL_006a: stfld bool NAnt.Core.Extensibility.ExtensionAssembly::_configurationInit - IL_006f: nop - IL_0070: endfinally - } // end handler 1 - IL_0071: ldloc.0 - IL_0072: ret - } // end of method ExtensionAssembly::get_ConfigurationSection - - // method line 466 - .method public static hidebysig - default class NAnt.Core.Extensibility.ExtensionAssembly Create (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + // method line 366 + .method public hidebysig specialname + instance default void set_EnableSsl (bool 'value') cil managed { - // Method begins at RVA 0x96fc - // Code size 84 (0x54) - .maxstack 3 - .locals init ( - string V_0, - class NAnt.Core.Extensibility.ExtensionAssembly V_1, - class NAnt.Core.Extensibility.ExtensionAssembly V_2) + // Method begins at RVA 0xd1df + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldnull - IL_0003: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_0008: brfalse IL_0018 - - IL_000d: ldstr "assembly" - IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0017: throw - IL_0018: ldarg.0 - IL_0019: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() - IL_001e: stloc.0 - IL_001f: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Extensibility.ExtensionAssembly::_extensionAssemblies - IL_0024: ldloc.0 - IL_0025: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_002a: isinst NAnt.Core.Extensibility.ExtensionAssembly - IL_002f: stloc.1 - IL_0030: ldloc.1 - IL_0031: brtrue IL_004b - - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: newobj instance void class NAnt.Core.Extensibility.ExtensionAssembly::'.ctor'(class [mscorlib]System.Reflection.Assembly) - IL_003d: stloc.1 - IL_003e: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Extensibility.ExtensionAssembly::_extensionAssemblies - IL_0043: ldloc.0 - IL_0044: ldarg.0 - IL_0045: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_004a: nop - IL_004b: ldloc.1 - IL_004c: stloc.2 - IL_004d: br IL_0052 - - IL_0052: ldloc.2 - IL_0053: ret - } // end of method ExtensionAssembly::Create + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.MailTask::_enableSsl + IL_0008: ret + } // end of method MailTask::set_EnableSsl - // method line 467 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 367 + .method public hidebysig specialname + instance default string get_Message () cil managed { - // Method begins at RVA 0x975c - // Code size 11 (0xb) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0005: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Extensibility.ExtensionAssembly::_extensionAssemblies - IL_000a: ret - } // end of method ExtensionAssembly::.cctor - - .property instance class [mscorlib]System.Reflection.Assembly Assembly () - { - .get instance default class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::get_Assembly () - } - .property instance class [System.Xml]System.Xml.XmlNode ConfigurationSection () - { - .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::get_ConfigurationSection () - } - } // end of class NAnt.Core.Extensibility.ExtensionAssembly -} - -.namespace NAnt.Core.Extensibility -{ - .class interface public auto ansi abstract IPlugin - { - - } // end of class NAnt.Core.Extensibility.IPlugin -} + // Method begins at RVA 0xd1ec + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_message + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core.Extensibility -{ - .class private auto ansi beforefieldinit PluginBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder - { - .field private initonly class [mscorlib]System.Type _pluginType + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Message - // method line 468 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type pluginType) cil managed + // method line 368 + .method public hidebysig specialname + instance default void set_Message (string 'value') cil managed { - // Method begins at RVA 0x9768 - // Code size 16 (0x10) + // Method begins at RVA 0xd207 + // Code size 14 (0xe) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType - IL_000f: ret - } // end of method PluginBuilder::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.MailTask::_message + IL_000d: ret + } // end of method MailTask::set_Message - // method line 469 + // method line 369 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_PluginType () cil managed + instance default string get_Subject () cil managed { - // Method begins at RVA 0x977c + // Method begins at RVA 0xd218 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_subject IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PluginBuilder::get_PluginType + } // end of method MailTask::get_Subject - // method line 470 - .method public hidebysig - instance default class NAnt.Core.Extensibility.IPlugin CreatePlugin () cil managed + // method line 370 + .method public hidebysig specialname + instance default void set_Subject (string 'value') cil managed { - // Method begins at RVA 0x9798 - // Code size 25 (0x19) + // Method begins at RVA 0xd233 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.MailTask::_subject + IL_000d: ret + } // end of method MailTask::set_Subject + + // method line 371 + .method public hidebysig specialname + instance default bool get_IsBodyHtml () cil managed + { + // Method begins at RVA 0xd244 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Extensibility.IPlugin V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginBuilder::get_PluginType() - IL_0007: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) - IL_000c: castclass NAnt.Core.Extensibility.IPlugin - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method PluginBuilder::CreatePlugin - - .property instance class [mscorlib]System.Type PluginType () - { - .get instance default class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::get_PluginType () - } - } // end of class NAnt.Core.Extensibility.PluginBuilder -} - -.namespace NAnt.Core.Filters -{ - .class public auto ansi serializable beforefieldinit FilterBuilderCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_0002: ldfld bool NAnt.Core.Tasks.MailTask::_isBodyHtml + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_IsBodyHtml - // method line 471 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 372 + .method public hidebysig specialname + instance default void set_IsBodyHtml (bool 'value') cil managed { - // Method begins at RVA 0x97bd - // Code size 8 (0x8) + // Method begins at RVA 0xd25f + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method FilterBuilderCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.MailTask::_isBodyHtml + IL_0008: ret + } // end of method MailTask::set_IsBodyHtml - // method line 472 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection 'value') cil managed + // method line 373 + .method public hidebysig specialname + instance default string get_UserName () cil managed { - // Method begins at RVA 0x97c6 + // Method begins at RVA 0xd26c // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Filters.FilterBuilderCollection::AddRange(class NAnt.Core.Filters.FilterBuilderCollection) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_userName + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method FilterBuilderCollection::.ctor + } // end of method MailTask::get_UserName - // method line 473 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilder[] 'value') cil managed + // method line 374 + .method public hidebysig specialname + instance default void set_UserName (string 'value') cil managed { - // Method begins at RVA 0x97d6 - // Code size 15 (0xf) + // Method begins at RVA 0xd287 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Filters.FilterBuilderCollection::AddRange(class NAnt.Core.Filters.FilterBuilder[]) - IL_000e: ret - } // end of method FilterBuilderCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.MailTask::_userName + IL_0008: ret + } // end of method MailTask::set_UserName - // method line 474 + // method line 375 .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterBuilder get_Item (int32 index) cil managed + instance default string get_Password () cil managed { - // Method begins at RVA 0x97e8 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xd294 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Filters.FilterBuilder V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Filters.FilterBuilder - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_passWord + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FilterBuilderCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Password - // method line 475 + // method line 376 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Filters.FilterBuilder 'value') cil managed + instance default void set_Password (string 'value') cil managed { - // Method begins at RVA 0x980e - // Code size 15 (0xf) + // Method begins at RVA 0xd2af + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method FilterBuilderCollection::set_Item + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.MailTask::_passWord + IL_0008: ret + } // end of method MailTask::set_Password - // method line 476 + // method line 377 .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterBuilder get_Item (string filterName) cil managed + instance default valuetype NAnt.Core.Tasks.MailTask/MailFormat get_Format () cil managed { - // Method begins at RVA 0x9820 - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0xd2bc + // Code size 29 (0x1d) + .maxstack 1 .locals init ( - class NAnt.Core.Filters.FilterBuilder V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Filters.FilterBuilder V_2, - class [mscorlib]System.IDisposable V_3) + valuetype NAnt.Core.Tasks.MailTask/MailFormat V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Tasks.MailTask::get_IsBodyHtml() + IL_0007: brfalse IL_0014 - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Filters.FilterBuilder - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_FilterName() - IL_002e: callvirt instance bool string::Equals(string) - IL_0033: brfalse IL_0040 + IL_000c: nop + IL_000d: ldc.i4.1 + IL_000e: stloc.0 + IL_000f: br IL_001b - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + IL_0014: ldc.i4.0 + IL_0015: stloc.0 + IL_0016: br IL_001b - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + IL_001b: ldloc.0 + IL_001c: ret + } // end of method MailTask::get_Format - IL_004c: leave IL_0065 + // method line 378 + .method public hidebysig specialname + instance default void set_Format (valuetype NAnt.Core.Tasks.MailTask/MailFormat 'value') cil managed + { + // Method begins at RVA 0xd2e8 + // Code size 105 (0x69) + .maxstack 3 + IL_0000: nop + IL_0001: ldtoken NAnt.Core.Tasks.MailTask/MailFormat + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: box NAnt.Core.Tasks.MailTask/MailFormat + IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0016: brtrue IL_0037 - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + IL_001b: nop + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: ldstr "An invalid format {0} was specified." + IL_0026: ldarg.1 + IL_0027: box NAnt.Core.Tasks.MailTask/MailFormat + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0036: throw + IL_0037: nop + IL_0038: ldarga.s 1 + IL_003a: ldc.i4.1 + IL_003b: box NAnt.Core.Tasks.MailTask/MailFormat + IL_0040: constrained. NAnt.Core.Tasks.MailTask/MailFormat + IL_0046: callvirt instance bool object::Equals(object) + IL_004b: brfalse IL_005e - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: ldc.i4.1 + IL_0053: call instance void class NAnt.Core.Tasks.MailTask::set_IsBodyHtml(bool) + IL_0058: nop + IL_0059: br IL_0067 - IL_006d: ldloc.2 - IL_006e: ret - } // end of method FilterBuilderCollection::get_Item + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: ldc.i4.0 + IL_0061: call instance void class NAnt.Core.Tasks.MailTask::set_IsBodyHtml(bool) + IL_0066: nop + IL_0067: nop + IL_0068: ret + } // end of method MailTask::set_Format - // method line 477 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Filters.FilterBuilder item) cil managed + // method line 379 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_Files () cil managed { - // Method begins at RVA 0x98ac - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xd360 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_files + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterBuilderCollection::Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Files - // method line 478 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.FilterBuilder[] items) cil managed + // method line 380 + .method public hidebysig specialname + instance default void set_Files (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x98d0 - // Code size 34 (0x22) - .maxstack 3 + // Method begins at RVA 0xd37b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_files + IL_0008: ret + } // end of method MailTask::set_Files + + // method line 381 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_Attachments () cil managed + { + // Method begins at RVA 0xd388 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_attachments + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Filters.FilterBuilderCollection::Add(class NAnt.Core.Filters.FilterBuilder) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 - - IL_0021: ret - } // end of method FilterBuilderCollection::AddRange - - // method line 479 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.FilterBuilderCollection items) cil managed - { - // Method begins at RVA 0x9900 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Filters.FilterBuilderCollection::Add(class NAnt.Core.Filters.FilterBuilder) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method FilterBuilderCollection::AddRange - - // method line 480 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Filters.FilterBuilder item) cil managed - { - // Method begins at RVA 0x9938 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterBuilderCollection::Contains - - // method line 481 - .method public hidebysig - instance default bool Contains (string taskName) cil managed - { - // Method begins at RVA 0x995c - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 - - IL_0014: ldloc.0 - IL_0015: ret - } // end of method FilterBuilderCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Attachments - // method line 482 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Filters.FilterBuilder[] 'array', int32 index) cil managed + // method line 382 + .method public hidebysig specialname + instance default void set_Attachments (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x997e - // Code size 15 (0xf) + // Method begins at RVA 0xd3a3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method FilterBuilderCollection::CopyTo + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_attachments + IL_0008: ret + } // end of method MailTask::set_Attachments - // method line 483 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Filters.FilterBuilder item) cil managed + // method line 383 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x9990 - // Code size 21 (0x15) + // Method begins at RVA 0xd3b0 + // Code size 68 (0x44) .maxstack 2 - .locals init ( - int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: call instance string class NAnt.Core.Tasks.MailTask::get_ToList() + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: brfalse IL_0043 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterBuilderCollection::IndexOf + IL_0011: ldarg.0 + IL_0012: call instance string class NAnt.Core.Tasks.MailTask::get_CcList() + IL_0017: call bool string::IsNullOrEmpty(string) + IL_001c: brfalse IL_0043 - // method line 484 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Filters.FilterBuilder item) cil managed - { - // Method begins at RVA 0x99b1 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method FilterBuilderCollection::Insert + IL_0021: ldarg.0 + IL_0022: call instance string class NAnt.Core.Tasks.MailTask::get_BccList() + IL_0027: call bool string::IsNullOrEmpty(string) + IL_002c: brfalse IL_0043 - // method line 485 - .method public hidebysig - instance default class NAnt.Core.Filters.FilterBuilderEnumerator GetEnumerator () cil managed + IL_0031: nop + IL_0032: ldstr "There must be at least one name in the \"tolist\", \"cclist\" or \"bcclist\" attributes of the task." + IL_0037: ldarg.0 + IL_0038: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_003d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0042: throw + IL_0043: ret + } // end of method MailTask::Initialize + + // method line 384 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x99c4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xd400 + // Code size 1509 (0x5e5) + .maxstack 7 .locals init ( - class NAnt.Core.Filters.FilterBuilderEnumerator V_0) + class [System]System.Net.Mail.MailMessage V_0, + class [System]System.Net.Mail.MailAddressCollection V_1, + class [System]System.Net.Mail.MailAddressCollection V_2, + class [System]System.Net.Mail.MailAddressCollection V_3, + class [System]System.Net.Mail.MailAddress V_4, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5, + class [System]System.Net.Mail.MailAddress V_6, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_7, + class [System]System.Net.Mail.MailAddress V_8, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_9, + class [System]System.Net.Mail.MailAddressCollection V_10, + class [System]System.Net.Mail.MailAddress V_11, + class [mscorlib]System.Collections.Generic.IEnumerator`1 V_12, + class [mscorlib]System.IO.StringWriter V_13, + string V_14, + class [System]System.Collections.Specialized.StringEnumerator V_15, + string V_16, + class [mscorlib]System.Exception V_17, + class [mscorlib]System.IDisposable V_18, + string V_19, + string V_20, + class [System]System.Collections.Specialized.StringEnumerator V_21, + class [System]System.Net.Mail.Attachment V_22, + class [mscorlib]System.Exception V_23, + class [mscorlib]System.IDisposable V_24, + class [System]System.Net.Mail.SmtpClient V_25, + class [mscorlib]System.Exception V_26, + class [mscorlib]System.Text.StringBuilder V_27, + int32 V_28, + bool V_29) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Filters.FilterBuilderEnumerator::'.ctor'(class NAnt.Core.Filters.FilterBuilderCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FilterBuilderCollection::GetEnumerator + IL_0001: newobj instance void class [System]System.Net.Mail.MailMessage::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldarg.0 + IL_0009: call instance string class NAnt.Core.Tasks.MailTask::get_ToList() + IL_000e: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) + IL_0013: stloc.1 + IL_0014: ldarg.0 + IL_0015: ldarg.0 + IL_0016: call instance string class NAnt.Core.Tasks.MailTask::get_CcList() + IL_001b: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) + IL_0020: stloc.2 + IL_0021: ldarg.0 + IL_0022: ldarg.0 + IL_0023: call instance string class NAnt.Core.Tasks.MailTask::get_BccList() + IL_0028: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) + IL_002d: stloc.3 + IL_002e: nop + IL_002f: ldloc.1 + IL_0030: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() + IL_0035: stloc.s 5 + .try { // 0 + IL_0037: br IL_0054 - // method line 486 - .method public hidebysig - instance default void Remove (class NAnt.Core.Filters.FilterBuilder item) cil managed - { - // Method begins at RVA 0x99df - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method FilterBuilderCollection::Remove + IL_003c: ldloc.s 5 + IL_003e: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0043: stloc.s 4 + IL_0045: nop + IL_0046: ldloc.0 + IL_0047: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_To() + IL_004c: ldloc.s 4 + IL_004e: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0053: nop + IL_0054: ldloc.s 5 + IL_0056: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_005b: brtrue IL_003c - .property instance class NAnt.Core.Filters.FilterBuilder Item (int32) - { - .get instance default class NAnt.Core.Filters.FilterBuilder NAnt.Core.Filters.FilterBuilderCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Filters.FilterBuilderCollection::set_Item (int32 index, class NAnt.Core.Filters.FilterBuilder 'value') - } - .property instance class NAnt.Core.Filters.FilterBuilder Item (string) - { - .get instance default class NAnt.Core.Filters.FilterBuilder NAnt.Core.Filters.FilterBuilderCollection::get_Item (string filterName) - } - } // end of class NAnt.Core.Filters.FilterBuilderCollection -} + IL_0060: leave IL_0074 -.namespace NAnt.Core.Filters -{ - .class public auto ansi beforefieldinit FilterBuilderEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + } // end .try 0 + finally { // 0 + IL_0065: ldloc.s 5 + IL_0067: brfalse IL_0073 - // method line 487 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection arguments) cil managed - { - // Method begins at RVA 0x99f0 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator - IL_0015: ret - } // end of method FilterBuilderEnumerator::.ctor + IL_006c: ldloc.s 5 + IL_006e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0073: endfinally + } // end handler 0 + IL_0074: nop + IL_0075: ldloc.2 + IL_0076: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() + IL_007b: stloc.s 7 + .try { // 1 + IL_007d: br IL_009a - // method line 488 - .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterBuilder get_Current () cil managed - { - // Method begins at RVA 0x9a14 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.Filters.FilterBuilder V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Filters.FilterBuilder - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0082: ldloc.s 7 + IL_0084: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0089: stloc.s 6 + IL_008b: nop + IL_008c: ldloc.0 + IL_008d: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_CC() + IL_0092: ldloc.s 6 + IL_0094: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0099: nop + IL_009a: ldloc.s 7 + IL_009c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00a1: brtrue IL_0082 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FilterBuilderEnumerator::get_Current + IL_00a6: leave IL_00ba - // method line 489 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x9a3c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end .try 1 + finally { // 1 + IL_00ab: ldloc.s 7 + IL_00ad: brfalse IL_00b9 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.get_Current + IL_00b2: ldloc.s 7 + IL_00b4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b9: endfinally + } // end handler 1 + IL_00ba: nop + IL_00bb: ldloc.3 + IL_00bc: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() + IL_00c1: stloc.s 9 + .try { // 2 + IL_00c3: br IL_00e0 - // method line 490 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x9a5c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00c8: ldloc.s 9 + IL_00ca: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_00cf: stloc.s 8 + IL_00d1: nop + IL_00d2: ldloc.0 + IL_00d3: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_Bcc() + IL_00d8: ldloc.s 8 + IL_00da: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_00df: nop + IL_00e0: ldloc.s 9 + IL_00e2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00e7: brtrue IL_00c8 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FilterBuilderEnumerator::MoveNext + IL_00ec: leave IL_0100 - // method line 491 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x9a7c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end .try 2 + finally { // 2 + IL_00f1: ldloc.s 9 + IL_00f3: brfalse IL_00ff - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.MoveNext + IL_00f8: ldloc.s 9 + IL_00fa: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00ff: endfinally + } // end handler 2 + IL_0100: ldarg.0 + IL_0101: call instance string class NAnt.Core.Tasks.MailTask::get_ReplyTo() + IL_0106: call bool string::IsNullOrEmpty(string) + IL_010b: brtrue IL_0176 - // method line 492 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x9a9c - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method FilterBuilderEnumerator::Reset + IL_0110: nop + IL_0111: ldarg.0 + IL_0112: ldarg.0 + IL_0113: call instance string class NAnt.Core.Tasks.MailTask::get_ReplyTo() + IL_0118: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) + IL_011d: stloc.s 10 + IL_011f: ldloc.s 10 + IL_0121: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_0126: ldc.i4.0 + IL_0127: ble IL_0175 - // method line 493 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x9aaa - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.Reset + IL_012c: nop + IL_012d: nop + IL_012e: ldloc.s 10 + IL_0130: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() + IL_0135: stloc.s 12 + .try { // 3 + IL_0137: br IL_0154 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.Filters.FilterBuilderEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.Filters.FilterBuilder Current () - { - .get instance default class NAnt.Core.Filters.FilterBuilder NAnt.Core.Filters.FilterBuilderEnumerator::get_Current () - } - } // end of class NAnt.Core.Filters.FilterBuilderEnumerator -} + IL_013c: ldloc.s 12 + IL_013e: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() + IL_0143: stloc.s 11 + IL_0145: nop + IL_0146: ldloc.0 + IL_0147: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_ReplyToList() + IL_014c: ldloc.s 11 + IL_014e: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0153: nop + IL_0154: ldloc.s 12 + IL_0156: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_015b: brtrue IL_013c -.namespace NAnt.Core.Filters -{ - .class private auto ansi beforefieldinit PhysicalTextReader - extends NAnt.Core.Filters.Filter - { + IL_0160: leave IL_0174 - // method line 494 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.TextReader textReader) cil managed - { - // Method begins at RVA 0x9c68 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Filters.Filter::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class [mscorlib]System.IO.TextReader) - IL_000e: ret - } // end of method PhysicalTextReader::.ctor - - } // end of class NAnt.Core.Filters.PhysicalTextReader -} - -.namespace NAnt.Core.Filters -{ - .class public auto ansi serializable beforefieldinit FilterChain - extends NAnt.Core.DataTypeBase - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. + } // end .try 3 + finally { // 3 + IL_0165: ldloc.s 12 + IL_0167: brfalse IL_0173 - .field private class [mscorlib]System.Text.Encoding _inputEncoding - .field private class NAnt.Core.Filters.FilterCollection _filters + IL_016c: ldloc.s 12 + IL_016e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0173: endfinally + } // end handler 3 + IL_0174: nop + IL_0175: nop + IL_0176: ldloc.0 + IL_0177: ldarg.0 + IL_0178: ldarg.0 + IL_0179: call instance string class NAnt.Core.Tasks.MailTask::get_From() + IL_017e: call instance class [System]System.Net.Mail.MailAddress class NAnt.Core.Tasks.MailTask::ConvertStringToMailAddress(string) + IL_0183: callvirt instance void class [System]System.Net.Mail.MailMessage::set_From(class [System]System.Net.Mail.MailAddress) + IL_0188: ldloc.0 + IL_0189: ldarg.0 + IL_018a: call instance string class NAnt.Core.Tasks.MailTask::get_Subject() + IL_018f: callvirt instance void class [System]System.Net.Mail.MailMessage::set_Subject(string) + IL_0194: ldloc.0 + IL_0195: ldarg.0 + IL_0196: call instance bool class NAnt.Core.Tasks.MailTask::get_IsBodyHtml() + IL_019b: callvirt instance void class [System]System.Net.Mail.MailMessage::set_IsBodyHtml(bool) + IL_01a0: ldarg.0 + IL_01a1: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Files() + IL_01a6: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_01ab: brtrue IL_01cd - // method line 495 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x9c78 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Filters.FilterCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::_filters - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_0011: ret - } // end of method FilterChain::.ctor + IL_01b0: nop + IL_01b1: ldarg.0 + IL_01b2: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Files() + IL_01b7: ldarg.0 + IL_01b8: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01bd: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_01c2: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_01c7: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_01cc: nop + IL_01cd: ldarg.0 + IL_01ce: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Attachments() + IL_01d3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_01d8: brtrue IL_01fa - // method line 496 - .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterCollection get_Filters () cil managed - { - // Method begins at RVA 0x9c8c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Filters.FilterCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::_filters - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01dd: nop + IL_01de: ldarg.0 + IL_01df: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Attachments() + IL_01e4: ldarg.0 + IL_01e5: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01ea: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_01ef: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_01f4: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_01f9: nop + IL_01fa: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01ff: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'(class [mscorlib]System.IFormatProvider) + IL_0204: stloc.s 13 + IL_0206: ldarg.0 + IL_0207: call instance string class NAnt.Core.Tasks.MailTask::get_Message() + IL_020c: call bool string::IsNullOrEmpty(string) + IL_0211: brtrue IL_022c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FilterChain::get_Filters + IL_0216: nop + IL_0217: ldloc.s 13 + IL_0219: ldarg.0 + IL_021a: call instance string class NAnt.Core.Tasks.MailTask::get_Message() + IL_021f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0224: ldloc.s 13 + IL_0226: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_022b: nop + IL_022c: nop + IL_022d: ldarg.0 + IL_022e: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Files() + IL_0233: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0238: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_023d: stloc.s 15 + .try { // 5 + IL_023f: br IL_02b4 - // method line 497 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_InputEncoding () cil managed - { - // Method begins at RVA 0x9ca8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Text.Encoding V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::_inputEncoding - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0244: ldloc.s 15 + IL_0246: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_024b: stloc.s 14 + IL_024d: nop + .try { // 4 + IL_024e: nop + IL_024f: ldarg.0 + IL_0250: ldloc.s 14 + IL_0252: call instance string class NAnt.Core.Tasks.MailTask::ReadFile(string) + IL_0257: stloc.s 16 + IL_0259: ldloc.s 16 + IL_025b: call bool string::IsNullOrEmpty(string) + IL_0260: brtrue IL_027c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FilterChain::get_InputEncoding + IL_0265: nop + IL_0266: ldloc.s 13 + IL_0268: ldloc.s 16 + IL_026a: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_026f: ldloc.s 13 + IL_0271: ldsfld string [mscorlib]System.String::Empty + IL_0276: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_027b: nop + IL_027c: nop + IL_027d: leave IL_02b3 - // method line 498 - .method public hidebysig specialname - instance default void set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed - { - // Method begins at RVA 0x9cc3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::_inputEncoding - IL_0008: ret - } // end of method FilterChain::set_InputEncoding + } // end .try 4 + catch class [mscorlib]System.Exception { // 4 + IL_0282: stloc.s 17 + IL_0284: nop + IL_0285: ldarg.0 + IL_0286: ldc.i4 4000 + IL_028b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0290: ldstr "NA1135" + IL_0295: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_029a: ldloc.s 14 + IL_029c: ldloc.s 17 + IL_029e: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_02a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02a8: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_02ad: nop + IL_02ae: leave IL_02b3 - // method line 499 - .method family virtual hidebysig - instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed - { - // Method begins at RVA 0x9cd0 - // Code size 25 (0x19) - .maxstack 4 - .locals init ( - class NAnt.Core.Filters.FilterChain/FilterChainConfigurator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance void class NAnt.Core.Element::set_XmlNode(class [System.Xml]System.Xml.XmlNode) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: ldarg.3 - IL_000c: newobj instance void class NAnt.Core.Filters.FilterChain/FilterChainConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() - IL_0018: ret - } // end of method FilterChain::InitializeXml + } // end handler 4 + IL_02b3: nop + IL_02b4: ldloc.s 15 + IL_02b6: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_02bb: brtrue IL_0244 - // method line 500 - .method assembly hidebysig - instance default class NAnt.Core.Filters.Filter GetBaseFilter (class NAnt.Core.Filters.PhysicalTextReader physicalTextReader) cil managed - { - // Method begins at RVA 0x9cf8 - // Code size 164 (0xa4) - .maxstack 2 - .locals init ( - class NAnt.Core.Filters.Filter V_0, - class NAnt.Core.Filters.Filter V_1, - class NAnt.Core.Filters.Filter V_2, - class NAnt.Core.Filters.FilterEnumerator V_3, - class [mscorlib]System.IDisposable V_4) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_000f + IL_02c0: leave IL_02dc - IL_0007: nop - IL_0008: ldnull - IL_0009: stloc.0 - IL_000a: br IL_00a2 + } // end .try 5 + finally { // 5 + IL_02c5: ldloc.s 15 + IL_02c7: isinst [mscorlib]System.IDisposable + IL_02cc: dup + IL_02cd: stloc.s 18 + IL_02cf: brfalse IL_02db - IL_000f: ldarg.1 - IL_0010: callvirt instance bool class NAnt.Core.Filters.ChainableReader::get_Base() - IL_0015: brtrue IL_0031 + IL_02d4: ldloc.s 18 + IL_02d6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02db: endfinally + } // end handler 5 + IL_02dc: ldloc.s 13 + IL_02de: callvirt instance string object::ToString() + IL_02e3: stloc.s 19 + IL_02e5: ldloc.s 19 + IL_02e7: callvirt instance int32 string::get_Length() + IL_02ec: brfalse IL_02fb - IL_001a: nop - IL_001b: ldstr "String_UseBaseFilter" - IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0025: ldarg.0 - IL_0026: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_002b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0030: throw - IL_0031: ldarg.1 - IL_0032: stloc.1 - IL_0033: nop - IL_0034: ldarg.0 - IL_0035: call instance class NAnt.Core.Filters.FilterCollection class NAnt.Core.Filters.FilterChain::get_Filters() - IL_003a: callvirt instance class NAnt.Core.Filters.FilterEnumerator class NAnt.Core.Filters.FilterCollection::GetEnumerator() - IL_003f: stloc.3 - .try { // 0 - IL_0040: br IL_0075 + IL_02f1: nop + IL_02f2: ldloc.0 + IL_02f3: ldloc.s 19 + IL_02f5: callvirt instance void class [System]System.Net.Mail.MailMessage::set_Body(string) + IL_02fa: nop + IL_02fb: nop + IL_02fc: ldarg.0 + IL_02fd: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Attachments() + IL_0302: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0307: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_030c: stloc.s 21 + .try { // 7 + IL_030e: br IL_036c - IL_0045: ldloc.3 - IL_0046: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterEnumerator::get_Current() - IL_004b: stloc.2 - IL_004c: nop - IL_004d: ldloc.2 - IL_004e: callvirt instance bool class NAnt.Core.Filters.Filter::get_IfDefined() - IL_0053: brfalse IL_0074 + IL_0313: ldloc.s 21 + IL_0315: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_031a: stloc.s 20 + IL_031c: nop + .try { // 6 + IL_031d: nop + IL_031e: ldloc.s 20 + IL_0320: newobj instance void class [System]System.Net.Mail.Attachment::'.ctor'(string) + IL_0325: stloc.s 22 + IL_0327: ldloc.0 + IL_0328: callvirt instance class [System]System.Net.Mail.AttachmentCollection class [System]System.Net.Mail.MailMessage::get_Attachments() + IL_032d: ldloc.s 22 + IL_032f: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0334: nop + IL_0335: leave IL_036b - IL_0058: ldloc.2 - IL_0059: callvirt instance bool class NAnt.Core.Filters.Filter::get_UnlessDefined() - IL_005e: brtrue IL_0074 + } // end .try 6 + catch class [mscorlib]System.Exception { // 6 + IL_033a: stloc.s 23 + IL_033c: nop + IL_033d: ldarg.0 + IL_033e: ldc.i4 4000 + IL_0343: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0348: ldstr "NA1136" + IL_034d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0352: ldloc.s 20 + IL_0354: ldloc.s 23 + IL_0356: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_035b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0360: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0365: nop + IL_0366: leave IL_036b - IL_0063: nop - IL_0064: ldloc.2 - IL_0065: ldloc.1 - IL_0066: callvirt instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) - IL_006b: ldloc.2 - IL_006c: callvirt instance void class NAnt.Core.Filters.Filter::InitializeFilter() - IL_0071: ldloc.2 - IL_0072: stloc.1 - IL_0073: nop - IL_0074: nop - IL_0075: ldloc.3 - IL_0076: callvirt instance bool class NAnt.Core.Filters.FilterEnumerator::MoveNext() - IL_007b: brtrue IL_0045 + } // end handler 6 + IL_036b: nop + IL_036c: ldloc.s 21 + IL_036e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0373: brtrue IL_0313 - IL_0080: leave IL_009b + IL_0378: leave IL_0394 - } // end .try 0 - finally { // 0 - IL_0085: ldloc.3 - IL_0086: isinst [mscorlib]System.IDisposable - IL_008b: dup - IL_008c: stloc.s 4 - IL_008e: brfalse IL_009a + } // end .try 7 + finally { // 7 + IL_037d: ldloc.s 21 + IL_037f: isinst [mscorlib]System.IDisposable + IL_0384: dup + IL_0385: stloc.s 24 + IL_0387: brfalse IL_0393 - IL_0093: ldloc.s 4 - IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009a: endfinally - } // end handler 0 - IL_009b: ldloc.1 - IL_009c: stloc.0 - IL_009d: br IL_00a2 + IL_038c: ldloc.s 24 + IL_038e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0393: endfinally + } // end handler 7 + IL_0394: ldarg.0 + IL_0395: ldc.i4 3000 + IL_039a: ldstr "Sending mail..." + IL_039f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_03a4: ldarg.0 + IL_03a5: ldc.i4 2000 + IL_03aa: ldstr "To: {0}" + IL_03af: ldc.i4.1 + IL_03b0: newarr [mscorlib]System.Object + IL_03b5: dup + IL_03b6: ldc.i4.0 + IL_03b7: ldloc.0 + IL_03b8: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_To() + IL_03bd: stelem.ref + IL_03be: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_03c3: ldarg.0 + IL_03c4: ldc.i4 2000 + IL_03c9: ldstr "Cc: {0}" + IL_03ce: ldc.i4.1 + IL_03cf: newarr [mscorlib]System.Object + IL_03d4: dup + IL_03d5: ldc.i4.0 + IL_03d6: ldloc.0 + IL_03d7: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_CC() + IL_03dc: stelem.ref + IL_03dd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_03e2: ldarg.0 + IL_03e3: ldc.i4 2000 + IL_03e8: ldstr "Bcc: {0}" + IL_03ed: ldc.i4.1 + IL_03ee: newarr [mscorlib]System.Object + IL_03f3: dup + IL_03f4: ldc.i4.0 + IL_03f5: ldloc.0 + IL_03f6: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_Bcc() + IL_03fb: stelem.ref + IL_03fc: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0401: ldarg.0 + IL_0402: ldc.i4 2000 + IL_0407: ldstr "Subject: {0}" + IL_040c: ldc.i4.1 + IL_040d: newarr [mscorlib]System.Object + IL_0412: dup + IL_0413: ldc.i4.0 + IL_0414: ldloc.0 + IL_0415: callvirt instance string class [System]System.Net.Mail.MailMessage::get_Subject() + IL_041a: stelem.ref + IL_041b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0420: ldarg.0 + IL_0421: call instance string class NAnt.Core.Tasks.MailTask::get_Mailhost() + IL_0426: newobj instance void class [System]System.Net.Mail.SmtpClient::'.ctor'(string) + IL_042b: stloc.s 25 + .try { // 9 + IL_042d: nop + .try { // 8 + IL_042e: nop + IL_042f: ldarg.0 + IL_0430: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() + IL_0435: call bool string::IsNullOrEmpty(string) + IL_043a: brtrue IL_046e - IL_00a2: ldloc.0 - IL_00a3: ret - } // end of method FilterChain::GetBaseFilter + IL_043f: ldarg.0 + IL_0440: call instance string class NAnt.Core.Tasks.MailTask::get_Password() + IL_0445: call bool string::IsNullOrEmpty(string) + IL_044a: brtrue IL_046e - // method line 501 - .method assembly static hidebysig - default bool IsNullOrEmpty (class NAnt.Core.Filters.FilterChain filterChain) cil managed - { - // Method begins at RVA 0x9db8 - // Code size 41 (0x29) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_000f + IL_044f: nop + IL_0450: ldloc.s 25 + IL_0452: ldarg.0 + IL_0453: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() + IL_0458: ldarg.0 + IL_0459: call instance string class NAnt.Core.Tasks.MailTask::get_Password() + IL_045e: newobj instance void class [System]System.Net.NetworkCredential::'.ctor'(string, string) + IL_0463: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_Credentials(class [System]System.Net.ICredentialsByHost) + IL_0468: nop + IL_0469: br IL_0497 - IL_0007: nop - IL_0008: ldc.i4.1 - IL_0009: stloc.0 - IL_000a: br IL_0027 + IL_046e: nop + IL_046f: ldsfld bool NAnt.Core.PlatformHelper::IsMono + IL_0474: brfalse IL_048c - IL_000f: nop - IL_0010: ldarg.0 - IL_0011: callvirt instance class NAnt.Core.Filters.FilterCollection class NAnt.Core.Filters.FilterChain::get_Filters() - IL_0016: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_001b: ldc.i4.0 - IL_001c: cgt - IL_001e: ldc.i4.0 - IL_001f: ceq - IL_0021: stloc.0 - IL_0022: br IL_0027 + IL_0479: nop + IL_047a: ldloc.s 25 + IL_047c: newobj instance void class [System]System.Net.NetworkCredential::'.ctor'() + IL_0481: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_Credentials(class [System]System.Net.ICredentialsByHost) + IL_0486: nop + IL_0487: br IL_0496 - IL_0027: ldloc.0 - IL_0028: ret - } // end of method FilterChain::IsNullOrEmpty + IL_048c: nop + IL_048d: ldloc.s 25 + IL_048f: ldc.i4.1 + IL_0490: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_UseDefaultCredentials(bool) + IL_0495: nop + IL_0496: nop + IL_0497: ldloc.s 25 + IL_0499: ldarg.0 + IL_049a: call instance bool class NAnt.Core.Tasks.MailTask::get_EnableSsl() + IL_049f: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_EnableSsl(bool) + IL_04a4: ldloc.s 25 + IL_04a6: ldarg.0 + IL_04a7: call instance int32 class NAnt.Core.Tasks.MailTask::get_Port() + IL_04ac: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_Port(int32) + IL_04b1: ldloc.s 25 + IL_04b3: ldloc.0 + IL_04b4: callvirt instance void class [System]System.Net.Mail.SmtpClient::Send(class [System]System.Net.Mail.MailMessage) + IL_04b9: nop + IL_04ba: leave IL_05cf - .property instance class NAnt.Core.Filters.FilterCollection Filters () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 06 66 69 6C 74 65 72 01 00 54 50 0B 45 6C // ...filter..TP.El - 65 6D 65 6E 74 54 79 70 65 18 4E 41 6E 74 2E 43 // ementType.NAnt.C - 6F 72 65 2E 46 69 6C 74 65 72 73 2E 46 69 6C 74 // ore.Filters.Filt - 65 72 ) // er + } // end .try 8 + catch class [mscorlib]System.Exception { // 8 + IL_04bf: stloc.s 26 + IL_04c1: nop + IL_04c2: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_04c7: stloc.s 27 + IL_04c9: ldloc.s 27 + IL_04cb: ldstr "Error enountered while sending mail message." + IL_04d0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_04d5: pop + IL_04d6: ldloc.s 27 + IL_04d8: ldstr "Make sure that the following information is valid:" + IL_04dd: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_04e2: pop + IL_04e3: ldloc.s 27 + IL_04e5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_04ea: ldstr "Mailhost: {0}" + IL_04ef: ldarg.0 + IL_04f0: call instance string class NAnt.Core.Tasks.MailTask::get_Mailhost() + IL_04f5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_04fa: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() + IL_04ff: pop + IL_0500: ldloc.s 27 + IL_0502: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0507: ldstr "Mailport: {0}" + IL_050c: ldarg.0 + IL_050d: call instance int32 class NAnt.Core.Tasks.MailTask::get_Port() + IL_0512: stloc.s 28 + IL_0514: ldloca.s 28 + IL_0516: constrained. [mscorlib]System.Int32 + IL_051c: callvirt instance string object::ToString() + IL_0521: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_0526: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() + IL_052b: pop + IL_052c: ldloc.s 27 + IL_052e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0533: ldstr "Use SSL: {0}" + IL_0538: ldarg.0 + IL_0539: call instance bool class NAnt.Core.Tasks.MailTask::get_EnableSsl() + IL_053e: stloc.s 29 + IL_0540: ldloca.s 29 + IL_0542: constrained. [mscorlib]System.Boolean + IL_0548: callvirt instance string object::ToString() + IL_054d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_0552: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() + IL_0557: pop + IL_0558: ldarg.0 + IL_0559: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() + IL_055e: call bool string::IsNullOrEmpty(string) + IL_0563: brtrue IL_059c - .get instance default class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::get_Filters () - } - .property instance class [mscorlib]System.Text.Encoding InputEncoding () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + IL_0568: ldarg.0 + IL_0569: call instance string class NAnt.Core.Tasks.MailTask::get_Password() + IL_056e: call bool string::IsNullOrEmpty(string) + IL_0573: brtrue IL_059c - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 37 54 68 65 20 69 6E 70 75 74 20 65 6E 63 // ..7The input enc - 6F 64 69 6E 67 20 73 68 6F 75 6C 64 20 6E 6F 77 // oding should now - 20 62 65 20 73 70 65 63 69 66 69 65 64 20 6F 6E // be specified on - 20 74 68 65 20 74 61 73 6B 2E 01 00 00 ) // the task.... + IL_0578: nop + IL_0579: ldloc.s 27 + IL_057b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0580: ldstr "Username: {0}" + IL_0585: ldarg.0 + IL_0586: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() + IL_058b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_0590: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() + IL_0595: pop + IL_0596: nop + IL_0597: br IL_05ab - .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::get_InputEncoding () - .set instance default void NAnt.Core.Filters.FilterChain::set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') - } - .class nested public auto ansi beforefieldinit FilterChainConfigurator - extends NAnt.Core.Element/AttributeConfigurator - { + IL_059c: nop + IL_059d: ldloc.s 27 + IL_059f: ldstr "Using default credentials" + IL_05a4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_05a9: pop + IL_05aa: nop + IL_05ab: ldstr "Error sending mail:" + IL_05b0: call string class [mscorlib]System.Environment::get_NewLine() + IL_05b5: ldloc.s 27 + IL_05b7: callvirt instance string object::ToString() + IL_05bc: call string string::Concat(string, string, string) + IL_05c1: ldarg.0 + IL_05c2: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_05c7: ldloc.s 26 + IL_05c9: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_05ce: throw + } // end handler 8 + IL_05cf: nop + IL_05d0: leave IL_05e4 - // method line 502 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Element element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed + } // end .try 9 + finally { // 9 + IL_05d5: ldloc.s 25 + IL_05d7: brfalse IL_05e3 + + IL_05dc: ldloc.s 25 + IL_05de: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_05e3: endfinally + } // end handler 9 + IL_05e4: ret + } // end of method MailTask::ExecuteTask + + // method line 385 + .method private hidebysig + instance default string ReadFile (string filename) cil managed { - // Method begins at RVA 0x9ded - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 + // Method begins at RVA 0xdae8 + // Code size 49 (0x31) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.StreamReader V_0, + string V_1, + string V_2) + IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: call instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_000b: nop - IL_000c: ret - } // end of method FilterChainConfigurator::.ctor + IL_0002: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::OpenRead(string) + IL_0007: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_000c: stloc.0 + .try { // 0 + IL_000d: nop + IL_000e: ldloc.0 + IL_000f: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0014: stloc.1 + IL_0015: ldloc.0 + IL_0016: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_001b: ldloc.1 + IL_001c: stloc.2 + IL_001d: leave IL_002f - // method line 503 - .method family virtual hidebysig - instance default bool InitializeBuildElementCollection (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + } // end .try 0 + finally { // 0 + IL_0022: ldloc.0 + IL_0023: brfalse IL_002e + + IL_0028: ldloc.0 + IL_0029: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_002e: endfinally + } // end handler 0 + IL_002f: ldloc.2 + IL_0030: ret + } // end of method MailTask::ReadFile + + // method line 386 + .method private hidebysig + instance default class [System]System.Net.Mail.MailAddressCollection ParseAddresses (string addresses) cil managed { - // Method begins at RVA 0x9dfc - // Code size 732 (0x2dc) - .maxstack 8 + // Method begins at RVA 0xdb38 + // Code size 147 (0x93) + .maxstack 5 .locals init ( - class [mscorlib]System.Type V_0, - class NAnt.Core.Attributes.BuildElementArrayAttribute V_1, - bool V_2, - class [System.Xml]System.Xml.XmlNodeList V_3, - class [mscorlib]System.Collections.ArrayList V_4, - class [System.Xml]System.Xml.XmlNode V_5, - class [mscorlib]System.Collections.IEnumerator V_6, - class NAnt.Core.Filters.Filter V_7, - class [mscorlib]System.IDisposable V_8, - class [mscorlib]System.Reflection.MethodInfo V_9, - class [mscorlib]System.Reflection.MethodInfo[] V_10, - class [mscorlib]System.Reflection.MethodInfo V_11, - class [mscorlib]System.Reflection.MethodInfo[] V_12, - int32 V_13, - class [mscorlib]System.Reflection.ParameterInfo V_14, - object V_15, - object V_16, - object V_17, - class [mscorlib]System.Collections.IEnumerator V_18, - class [mscorlib]System.IDisposable V_19) + class [System]System.Net.Mail.MailAddressCollection V_0, + string[] V_1, + string V_2, + string[] V_3, + int32 V_4, + class [System]System.Net.Mail.MailAddressCollection V_5) IL_0000: nop - IL_0001: ldtoken NAnt.Core.Filters.Filter - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: stloc.0 - IL_000c: ldarg.1 - IL_000d: ldtoken NAnt.Core.Attributes.BuildElementArrayAttribute - IL_0012: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0017: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_001c: castclass NAnt.Core.Attributes.BuildElementArrayAttribute - IL_0021: stloc.1 - IL_0022: ldloc.1 - IL_0023: brfalse IL_0042 + IL_0001: newobj instance void class [System]System.Net.Mail.MailAddressCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.1 + IL_0008: call bool string::IsNullOrEmpty(string) + IL_000d: brtrue IL_0088 - IL_0028: ldarg.1 - IL_0029: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_002e: ldtoken NAnt.Core.Filters.FilterCollection - IL_0033: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0038: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_003d: brfalse IL_0050 + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: ldstr ";" + IL_0019: callvirt instance bool string::Contains(string) + IL_001e: brfalse IL_0078 - IL_0042: nop - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: call instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElementCollection(class [mscorlib]System.Reflection.PropertyInfo) - IL_004a: stloc.2 - IL_004b: br IL_02da + IL_0023: nop + IL_0024: ldarg.1 + IL_0025: ldc.i4.1 + IL_0026: newarr [mscorlib]System.Char + IL_002b: dup + IL_002c: ldc.i4.0 + IL_002d: ldc.i4.s 0x3b + IL_002f: stelem.i2 + IL_0030: callvirt instance string[] string::Split(char[]) + IL_0035: stloc.1 + IL_0036: nop + IL_0037: ldloc.1 + IL_0038: stloc.3 + IL_0039: ldc.i4.0 + IL_003a: stloc.s 4 + IL_003c: br IL_0068 - IL_0050: ldarg.0 - IL_0051: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0056: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() - IL_005b: stloc.3 - IL_005c: ldloc.3 - IL_005d: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0062: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0067: stloc.s 4 - IL_0069: nop + IL_0041: ldloc.3 + IL_0042: ldloc.s 4 + IL_0044: ldelem.ref + IL_0045: stloc.2 + IL_0046: nop + IL_0047: ldloc.2 + IL_0048: call bool string::IsNullOrEmpty(string) + IL_004d: brtrue IL_0061 + + IL_0052: nop + IL_0053: ldloc.0 + IL_0054: ldarg.0 + IL_0055: ldloc.2 + IL_0056: call instance class [System]System.Net.Mail.MailAddress class NAnt.Core.Tasks.MailTask::ConvertStringToMailAddress(string) + IL_005b: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0060: nop + IL_0061: nop + IL_0062: ldloc.s 4 + IL_0064: ldc.i4.1 + IL_0065: add + IL_0066: stloc.s 4 + IL_0068: ldloc.s 4 IL_006a: ldloc.3 - IL_006b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0070: stloc.s 6 - .try { // 0 - IL_0072: br IL_00e6 + IL_006b: ldlen + IL_006c: conv.i4 + IL_006d: blt IL_0041 - IL_0077: ldloc.s 6 - IL_0079: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_007e: castclass [System.Xml]System.Xml.XmlNode - IL_0083: stloc.s 5 - IL_0085: nop - IL_0086: ldloc.s 5 - IL_0088: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_008d: ldc.i4.1 - IL_008e: bne.un IL_00b4 + IL_0072: nop + IL_0073: br IL_0087 - IL_0093: ldloc.s 5 - IL_0095: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_009a: ldarg.0 - IL_009b: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_00a0: ldstr "nant" - IL_00a5: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_00aa: callvirt instance bool string::Equals(string) - IL_00af: brtrue IL_00ba + IL_0078: nop + IL_0079: ldloc.0 + IL_007a: ldarg.0 + IL_007b: ldarg.1 + IL_007c: call instance class [System]System.Net.Mail.MailAddress class NAnt.Core.Tasks.MailTask::ConvertStringToMailAddress(string) + IL_0081: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0086: nop + IL_0087: nop + IL_0088: ldloc.0 + IL_0089: stloc.s 5 + IL_008b: br IL_0090 - IL_00b4: nop - IL_00b5: leave IL_00e6 + IL_0090: ldloc.s 5 + IL_0092: ret + } // end of method MailTask::ParseAddresses - IL_00ba: ldarg.0 - IL_00bb: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_00c0: ldloc.s 5 - IL_00c2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00c7: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) - IL_00cc: ldloc.s 5 - IL_00ce: ldarg.0 - IL_00cf: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_00d4: call class NAnt.Core.Filters.Filter class NAnt.Core.TypeFactory::CreateFilter(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element) - IL_00d9: stloc.s 7 - IL_00db: ldloc.s 4 - IL_00dd: ldloc.s 7 - IL_00df: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00e4: pop - IL_00e5: nop - IL_00e6: ldloc.s 6 - IL_00e8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00ed: brtrue IL_0077 + // method line 387 + .method private hidebysig + instance default class [System]System.Net.Mail.MailAddress ConvertStringToMailAddress (string address) cil managed + { + // Method begins at RVA 0xdbd8 + // Code size 298 (0x12a) + .maxstack 4 + .locals init ( + string V_0, + string V_1, + string V_2, + string[] V_3, + string V_4, + string[] V_5, + int32 V_6, + class [System]System.Text.RegularExpressions.Regex V_7, + class [System]System.Text.RegularExpressions.Match V_8, + class [System]System.Net.Mail.MailAddress V_9, + class [System]System.Net.Mail.MailAddress V_10) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance string class NAnt.Core.Tasks.MailTask::UnescapeXmlCodes(string) + IL_0008: stloc.0 + IL_0009: ldnull + IL_000a: stloc.1 + IL_000b: ldnull + IL_000c: stloc.2 + IL_000d: ldc.i4.4 + IL_000e: newarr [mscorlib]System.String + IL_0013: dup + IL_0014: ldc.i4.0 + IL_0015: ldstr "^(?.+)\\s<(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^<>\\(\\)\\s]+)>$" + IL_001a: stelem.ref + IL_001b: dup + IL_001c: ldc.i4.1 + IL_001d: ldstr "^<(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^\\s]+)>\\s(?.+)$" + IL_0022: stelem.ref + IL_0023: dup + IL_0024: ldc.i4.2 + IL_0025: ldstr "^\\((?.+)\\)\\s(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^<>\\(\\)\\s]+)$" + IL_002a: stelem.ref + IL_002b: dup + IL_002c: ldc.i4.3 + IL_002d: ldstr "^(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^\\s]+)\\s\\((?.+)\\)$" + IL_0032: stelem.ref + IL_0033: stloc.3 + IL_0034: nop + IL_0035: ldloc.3 + IL_0036: stloc.s 5 + IL_0038: ldc.i4.0 + IL_0039: stloc.s 6 + IL_003b: br IL_00ac - IL_00f2: leave IL_010e + IL_0040: ldloc.s 5 + IL_0042: ldloc.s 6 + IL_0044: ldelem.ref + IL_0045: stloc.s 4 + IL_0047: nop + IL_0048: ldloc.s 4 + IL_004a: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_004f: stloc.s 7 + IL_0051: ldloc.s 7 + IL_0053: ldloc.0 + IL_0054: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0059: stloc.s 8 + IL_005b: ldloc.s 8 + IL_005d: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_0062: brfalse IL_00a5 - } // end .try 0 - finally { // 0 - IL_00f7: ldloc.s 6 - IL_00f9: isinst [mscorlib]System.IDisposable - IL_00fe: dup - IL_00ff: stloc.s 8 - IL_0101: brfalse IL_010d + IL_0067: nop + IL_0068: ldloc.s 8 + IL_006a: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_006f: ldstr "email" + IL_0074: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_0079: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_007e: callvirt instance string string::Trim() + IL_0083: stloc.2 + IL_0084: ldloc.s 8 + IL_0086: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_008b: ldstr "fullname" + IL_0090: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_0095: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_009a: callvirt instance string string::Trim() + IL_009f: stloc.1 + IL_00a0: br IL_00b7 - IL_0106: ldloc.s 8 - IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010d: endfinally - } // end handler 0 - IL_010e: ldnull - IL_010f: stloc.s 9 - IL_0111: ldarg.1 - IL_0112: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0117: ldc.i4.s 0x14 - IL_0119: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_011e: stloc.s 10 - IL_0120: nop - IL_0121: ldloc.s 10 - IL_0123: stloc.s 12 - IL_0125: ldc.i4.0 - IL_0126: stloc.s 13 - IL_0128: br IL_018a + IL_00a5: nop + IL_00a6: ldloc.s 6 + IL_00a8: ldc.i4.1 + IL_00a9: add + IL_00aa: stloc.s 6 + IL_00ac: ldloc.s 6 + IL_00ae: ldloc.s 5 + IL_00b0: ldlen + IL_00b1: conv.i4 + IL_00b2: blt IL_0040 - IL_012d: ldloc.s 12 - IL_012f: ldloc.s 13 - IL_0131: ldelem.ref - IL_0132: stloc.s 11 - IL_0134: nop - IL_0135: ldloc.s 11 - IL_0137: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_013c: ldstr "Add" - IL_0141: call bool string::op_Equality(string, string) - IL_0146: brfalse IL_0183 + .try { // 0 + IL_00b7: nop + IL_00b8: ldloc.1 + IL_00b9: call bool string::IsNullOrEmpty(string) + IL_00be: brtrue IL_00de - IL_014b: ldloc.s 11 - IL_014d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0152: ldlen - IL_0153: conv.i4 - IL_0154: ldc.i4.1 - IL_0155: bne.un IL_0183 + IL_00c3: ldloc.2 + IL_00c4: call bool string::IsNullOrEmpty(string) + IL_00c9: brtrue IL_00de - IL_015a: nop - IL_015b: ldloc.s 11 - IL_015d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0162: ldc.i4.0 - IL_0163: ldelem.ref - IL_0164: stloc.s 14 - IL_0166: ldloc.s 14 - IL_0168: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_016d: ldloc.0 - IL_016e: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0173: brfalse IL_0182 + IL_00ce: nop + IL_00cf: ldloc.2 + IL_00d0: ldloc.1 + IL_00d1: newobj instance void class [System]System.Net.Mail.MailAddress::'.ctor'(string, string) + IL_00d6: stloc.s 9 + IL_00d8: nop + IL_00d9: br IL_0102 - IL_0178: nop - IL_0179: ldloc.s 11 - IL_017b: stloc.s 9 - IL_017d: br IL_0195 + IL_00de: ldloc.2 + IL_00df: call bool string::IsNullOrEmpty(string) + IL_00e4: brtrue IL_00f8 - IL_0182: nop - IL_0183: nop - IL_0184: ldloc.s 13 - IL_0186: ldc.i4.1 - IL_0187: add - IL_0188: stloc.s 13 - IL_018a: ldloc.s 13 - IL_018c: ldloc.s 12 - IL_018e: ldlen - IL_018f: conv.i4 - IL_0190: blt IL_012d + IL_00e9: nop + IL_00ea: ldloc.2 + IL_00eb: newobj instance void class [System]System.Net.Mail.MailAddress::'.ctor'(string) + IL_00f0: stloc.s 9 + IL_00f2: nop + IL_00f3: br IL_0102 - IL_0195: ldloc.s 9 - IL_0197: ldnull - IL_0198: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_019d: brfalse IL_01f2 + IL_00f8: nop + IL_00f9: ldloc.0 + IL_00fa: newobj instance void class [System]System.Net.Mail.MailAddress::'.ctor'(string) + IL_00ff: stloc.s 9 + IL_0101: nop + IL_0102: ldloc.s 9 + IL_0104: stloc.s 10 + IL_0106: leave IL_0127 - IL_01a2: nop - IL_01a3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01a8: ldstr "NA1020" - IL_01ad: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01b2: ldc.i4.4 - IL_01b3: newarr [mscorlib]System.Object - IL_01b8: dup - IL_01b9: ldc.i4.0 - IL_01ba: ldloc.0 - IL_01bb: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01c0: stelem.ref - IL_01c1: dup - IL_01c2: ldc.i4.1 - IL_01c3: ldarg.1 - IL_01c4: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_01c9: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01ce: stelem.ref - IL_01cf: dup - IL_01d0: ldc.i4.2 - IL_01d1: ldarg.1 - IL_01d2: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_01d7: stelem.ref - IL_01d8: dup - IL_01d9: ldc.i4.3 - IL_01da: ldarg.0 - IL_01db: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_01e0: stelem.ref - IL_01e1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_01e6: ldarg.0 - IL_01e7: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_01ec: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_01f1: throw - IL_01f2: ldarg.1 - IL_01f3: ldarg.0 - IL_01f4: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_01f9: ldc.i4.0 - IL_01fa: ldnull - IL_01fb: ldnull - IL_01fc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0201: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0206: stloc.s 15 - IL_0208: ldloc.s 15 - IL_020a: brtrue IL_0275 + } // end .try 0 + catch class [mscorlib]System.FormatException { // 0 + IL_010b: pop + IL_010c: nop + IL_010d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0112: ldstr "{0} is not a recognized email address" + IL_0117: ldloc.0 + IL_0118: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_011d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0122: throw + } // end handler 0 + catch class [mscorlib]System.Exception { // 1 + IL_0123: pop + IL_0124: nop + IL_0125: rethrow + } // end handler 1 + IL_0127: ldloc.s 10 + IL_0129: ret + } // end of method MailTask::ConvertStringToMailAddress - IL_020f: nop - IL_0210: ldarg.1 - IL_0211: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_0216: brtrue IL_0248 + // method line 388 + .method private hidebysig + instance default string UnescapeXmlCodes (string 'value') cil managed + { + // Method begins at RVA 0xdd2c + // Code size 85 (0x55) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr """ + IL_0007: ldstr "\"" + IL_000c: callvirt instance string string::Replace(string, string) + IL_0011: ldstr "&" + IL_0016: ldstr "&" + IL_001b: callvirt instance string string::Replace(string, string) + IL_0020: ldstr "'" + IL_0025: ldstr "'" + IL_002a: callvirt instance string string::Replace(string, string) + IL_002f: ldstr "<" + IL_0034: ldstr "<" + IL_0039: callvirt instance string string::Replace(string, string) + IL_003e: ldstr ">" + IL_0043: ldstr ">" + IL_0048: callvirt instance string string::Replace(string, string) + IL_004d: stloc.0 + IL_004e: br IL_0053 - IL_021b: nop - IL_021c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0221: ldstr "NA1093" - IL_0226: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_022b: ldloc.1 - IL_022c: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0231: ldarg.0 - IL_0232: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_0237: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_023c: ldarg.0 - IL_023d: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0242: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0247: throw - IL_0248: ldarg.1 - IL_0249: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_024e: ldc.i4.s 0x14 - IL_0250: ldnull - IL_0251: ldnull - IL_0252: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0257: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_025c: stloc.s 16 - IL_025e: ldarg.1 - IL_025f: ldarg.0 - IL_0260: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0265: ldloc.s 16 - IL_0267: ldc.i4.0 - IL_0268: ldnull - IL_0269: ldnull - IL_026a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_026f: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0274: nop - IL_0275: nop - IL_0276: ldloc.s 4 - IL_0278: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_027d: stloc.s 18 - .try { // 1 - IL_027f: br IL_02ab + IL_0053: ldloc.0 + IL_0054: ret + } // end of method MailTask::UnescapeXmlCodes - IL_0284: ldloc.s 18 - IL_0286: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_028b: stloc.s 17 - IL_028d: nop - IL_028e: ldloc.s 9 - IL_0290: ldloc.s 15 - IL_0292: ldc.i4.0 - IL_0293: ldnull - IL_0294: ldc.i4.1 - IL_0295: newarr [mscorlib]System.Object - IL_029a: dup - IL_029b: ldc.i4.0 - IL_029c: ldloc.s 17 - IL_029e: stelem.ref - IL_029f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02a4: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_02a9: pop - IL_02aa: nop - IL_02ab: ldloc.s 18 - IL_02ad: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02b2: brtrue IL_0284 + .property instance string From () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 66 72 6F 6D 01 00 54 02 08 52 65 71 75 // ...from..T..Requ + 69 72 65 64 01 ) // ired. - IL_02b7: leave IL_02d3 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - } // end .try 1 - finally { // 1 - IL_02bc: ldloc.s 18 - IL_02be: isinst [mscorlib]System.IDisposable - IL_02c3: dup - IL_02c4: stloc.s 19 - IL_02c6: brfalse IL_02d2 + .get instance default string NAnt.Core.Tasks.MailTask::get_From () + .set instance default void NAnt.Core.Tasks.MailTask::set_From (string 'value') + } + .property instance string ToList () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 6F 6C 69 73 74 00 00 ) // ...tolist.. - IL_02cb: ldloc.s 19 - IL_02cd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02d2: endfinally - } // end handler 1 - IL_02d3: ldc.i4.1 - IL_02d4: stloc.2 - IL_02d5: br IL_02da + .get instance default string NAnt.Core.Tasks.MailTask::get_ToList () + .set instance default void NAnt.Core.Tasks.MailTask::set_ToList (string 'value') + } + .property instance string ReplyTo () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 70 6C 79 74 6F 00 00 ) // ...replyto.. - IL_02da: ldloc.2 - IL_02db: ret - } // end of method FilterChainConfigurator::InitializeBuildElementCollection + .get instance default string NAnt.Core.Tasks.MailTask::get_ReplyTo () + .set instance default void NAnt.Core.Tasks.MailTask::set_ReplyTo (string 'value') + } + .property instance string CcList () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 63 63 6C 69 73 74 00 00 ) // ...cclist.. - } // end of class FilterChainConfigurator + .get instance default string NAnt.Core.Tasks.MailTask::get_CcList () + .set instance default void NAnt.Core.Tasks.MailTask::set_CcList (string 'value') + } + .property instance string BccList () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 62 63 63 6C 69 73 74 00 00 ) // ...bcclist.. - } // end of class NAnt.Core.Filters.FilterChain -} + .get instance default string NAnt.Core.Tasks.MailTask::get_BccList () + .set instance default void NAnt.Core.Tasks.MailTask::set_BccList (string 'value') + } + .property instance string Mailhost () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6D 61 69 6C 68 6F 73 74 00 00 ) // ...mailhost.. -.namespace NAnt.Core.Filters -{ - .class public auto ansi beforefieldinit FilterBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder - { - .field private initonly string _className - .field private initonly string _filterName + .get instance default string NAnt.Core.Tasks.MailTask::get_Mailhost () + .set instance default void NAnt.Core.Tasks.MailTask::set_Mailhost (string 'value') + } + .property instance int32 Port () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6D 61 69 6C 70 6F 72 74 00 00 ) // ...mailport.. - // method line 504 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed - { - // Method begins at RVA 0xa100 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) - IL_0007: ldarg.2 - IL_0008: call instance void class NAnt.Core.Filters.FilterBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) - IL_000d: nop - IL_000e: ret - } // end of method FilterBuilder::.ctor + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 505 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed - { - // Method begins at RVA 0xa110 - // Code size 66 (0x42) - .maxstack 2 - .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute V_0) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld string NAnt.Core.Filters.FilterBuilder::_className - IL_000f: ldarg.0 - IL_0010: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0015: ldarg.0 - IL_0016: call instance string class NAnt.Core.Filters.FilterBuilder::get_ClassName() - IL_001b: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) - IL_0020: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_0025: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002a: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_002f: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_0034: stloc.0 - IL_0035: ldarg.0 - IL_0036: ldloc.0 - IL_0037: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_003c: stfld string NAnt.Core.Filters.FilterBuilder::_filterName - IL_0041: ret - } // end of method FilterBuilder::.ctor + .get instance default int32 NAnt.Core.Tasks.MailTask::get_Port () + .set instance default void NAnt.Core.Tasks.MailTask::set_Port (int32 'value') + } + .property instance bool EnableSsl () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 73 73 6C 00 00 ) // ...ssl.. - // method line 506 - .method public hidebysig specialname - instance default string get_ClassName () cil managed - { - // Method begins at RVA 0xa160 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Filters.FilterBuilder::_className - IL_0007: stloc.0 - IL_0008: br IL_000d + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FilterBuilder::get_ClassName + .get instance default bool NAnt.Core.Tasks.MailTask::get_EnableSsl () + .set instance default void NAnt.Core.Tasks.MailTask::set_EnableSsl (bool 'value') + } + .property instance string Message () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. - // method line 507 - .method public hidebysig specialname - instance default string get_FilterName () cil managed - { - // Method begins at RVA 0xa17c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Filters.FilterBuilder::_filterName - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default string NAnt.Core.Tasks.MailTask::get_Message () + .set instance default void NAnt.Core.Tasks.MailTask::set_Message (string 'value') + } + .property instance string Subject () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 73 75 62 6A 65 63 74 00 00 ) // ...subject.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FilterBuilder::get_FilterName + .get instance default string NAnt.Core.Tasks.MailTask::get_Subject () + .set instance default void NAnt.Core.Tasks.MailTask::set_Subject (string 'value') + } + .property instance bool IsBodyHtml () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 69 73 62 6F 64 79 68 74 6D 6C 00 00 ) // ...isbodyhtml.. - // method line 508 - .method public hidebysig - instance default class NAnt.Core.Filters.Filter CreateFilter () cil managed - { - // Method begins at RVA 0xa198 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 42 (0x2a) - .maxstack 8 - .locals init ( - class NAnt.Core.Filters.Filter V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.Core.Filters.FilterBuilder::get_ClassName() - IL_000d: ldc.i4.1 - IL_000e: ldc.i4.s 0x14 - IL_0010: ldnull - IL_0011: ldnull - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0017: ldnull - IL_0018: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) - IL_001d: castclass NAnt.Core.Filters.Filter - IL_0022: stloc.0 - IL_0023: br IL_0028 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0028: ldloc.0 - IL_0029: ret - } // end of method FilterBuilder::CreateFilter + .get instance default bool NAnt.Core.Tasks.MailTask::get_IsBodyHtml () + .set instance default void NAnt.Core.Tasks.MailTask::set_IsBodyHtml (bool 'value') + } + .property instance string UserName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 75 73 65 72 00 00 ) // ...user.. - .property instance string ClassName () + .get instance default string NAnt.Core.Tasks.MailTask::get_UserName () + .set instance default void NAnt.Core.Tasks.MailTask::set_UserName (string 'value') + } + .property instance string Password () { - .get instance default string NAnt.Core.Filters.FilterBuilder::get_ClassName () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 61 73 73 77 6F 72 64 00 00 ) // ...password.. + + .get instance default string NAnt.Core.Tasks.MailTask::get_Password () + .set instance default void NAnt.Core.Tasks.MailTask::set_Password (string 'value') } - .property instance string FilterName () + .property instance valuetype NAnt.Core.Tasks.MailTask/MailFormat Format () { - .get instance default string NAnt.Core.Filters.FilterBuilder::get_FilterName () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 66 6F 72 6D 61 74 00 00 ) // ...format.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 41 54 68 65 20 66 6F 72 6D 61 74 20 61 74 // ..AThe format at + 74 72 69 62 75 74 65 20 69 73 20 64 65 70 72 65 // tribute is depre + 63 61 74 65 64 2E 20 50 6C 65 61 73 65 20 75 73 // cated. Please us + 65 20 69 73 62 6F 64 79 68 74 6D 6C 20 69 6E 73 // e isbodyhtml ins + 74 65 61 64 00 00 00 ) // tead... + + .get instance default valuetype NAnt.Core.Tasks.MailTask/MailFormat NAnt.Core.Tasks.MailTask::get_Format () + .set instance default void NAnt.Core.Tasks.MailTask::set_Format (valuetype NAnt.Core.Tasks.MailTask/MailFormat 'value') } - } // end of class NAnt.Core.Filters.FilterBuilder + .property instance class NAnt.Core.Types.FileSet Files () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 66 69 6C 65 73 00 00 ) // ...files.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::get_Files () + .set instance default void NAnt.Core.Tasks.MailTask::set_Files (class NAnt.Core.Types.FileSet 'value') + } + .property instance class NAnt.Core.Types.FileSet Attachments () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 61 74 74 61 63 68 6D 65 6E 74 73 00 00 ) // ...attachments.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::get_Attachments () + .set instance default void NAnt.Core.Tasks.MailTask::set_Attachments (class NAnt.Core.Types.FileSet 'value') + } + .class nested public auto ansi sealed MailFormat + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Tasks.MailTask/MailFormat Text = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Tasks.MailTask/MailFormat Html = int32(0x00000001) + + } // end of class MailFormat + + } // end of class NAnt.Core.Tasks.MailTask } -.namespace NAnt.Core.Filters +.namespace NAnt.Core.Tasks { - .class public auto ansi abstract beforefieldinit Filter - extends NAnt.Core.Filters.ChainableReader + .class public auto ansi beforefieldinit AttribTask + extends NAnt.Core.Task { - .field private bool _ifDefined - .field private bool _unlessDefined + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 61 74 74 72 69 62 00 00 ) // ...attrib.. - // method line 509 - .method family hidebysig specialname rtspecialname + .field private class [mscorlib]System.IO.FileInfo _file + .field private class NAnt.Core.Types.FileSet _fileset + .field private bool _archiveAttrib + .field private bool _hiddenAttrib + .field private bool _normalAttrib + .field private bool _readOnlyAttrib + .field private bool _systemAttrib + + // method line 389 + .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x9c09 - // Code size 14 (0xe) + // Method begins at RVA 0xdd8d + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Filters.Filter::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Filters.ChainableReader::'.ctor'() - IL_000d: ret - } // end of method Filter::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method AttribTask::.ctor - // method line 510 + // method line 390 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x9c18 + // Method begins at RVA 0xdda0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Filters.Filter::_ifDefined + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.AttribTask::_file IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Filter::get_IfDefined + } // end of method AttribTask::get_File - // method line 511 + // method line 391 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x9c33 + // Method begins at RVA 0xddbb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Filters.Filter::_ifDefined + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.AttribTask::_file IL_0008: ret - } // end of method Filter::set_IfDefined + } // end of method AttribTask::set_File - // method line 512 + // method line 392 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class NAnt.Core.Types.FileSet get_AttribFileSet () cil managed { - // Method begins at RVA 0x9c40 + // Method begins at RVA 0xddc8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Filters.Filter::_unlessDefined + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Filter::get_UnlessDefined + } // end of method AttribTask::get_AttribFileSet - // method line 513 + // method line 393 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_AttribFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x9c5b + // Method begins at RVA 0xdde3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Filters.Filter::_unlessDefined + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset IL_0008: ret - } // end of method Filter::set_UnlessDefined + } // end of method AttribTask::set_AttribFileSet - // method line 514 - .method public virtual hidebysig newslot - instance default void InitializeFilter () cil managed - { - // Method begins at RVA 0x9c65 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method Filter::InitializeFilter - - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Filters.Filter::get_IfDefined () - .set instance default void NAnt.Core.Filters.Filter::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Filters.Filter::get_UnlessDefined () - .set instance default void NAnt.Core.Filters.Filter::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Filters.Filter -} - -.namespace NAnt.Core.Filters -{ - .class public auto ansi abstract beforefieldinit ChainableReader - extends NAnt.Core.Element - implements [mscorlib]System.IDisposable { - .field private class NAnt.Core.Filters.ChainableReader/internalRead InternalRead - .field private class NAnt.Core.Filters.ChainableReader/internalPeek InternalPeek - .field private class NAnt.Core.Filters.ChainableReader/internalClose InternalClose - .field private bool _baseReader - - // method line 515 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x9ab8 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method ChainableReader::.ctor - - // method line 516 + // method line 394 .method public hidebysig specialname - instance default bool get_Base () cil managed + instance default bool get_ArchiveAttrib () cil managed { - // Method begins at RVA 0x9ac0 + // Method begins at RVA 0xddf0 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Filters.ChainableReader::_baseReader + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_archiveAttrib IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ChainableReader::get_Base + } // end of method AttribTask::get_ArchiveAttrib - // method line 517 - .method public virtual hidebysig newslot - instance default void Chain (class NAnt.Core.Filters.ChainableReader parentChainedReader) cil managed + // method line 395 + .method public hidebysig specialname + instance default void set_ArchiveAttrib (bool 'value') cil managed { - // Method begins at RVA 0x9adc - // Code size 89 (0x59) - .maxstack 3 + // Method begins at RVA 0xde0b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0018 - - IL_0007: nop - IL_0008: ldstr "parentChainedReader" - IL_000d: ldstr "Argument can not be null" - IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string, string) - IL_0017: throw - IL_0018: ldarg.0 - IL_0019: ldarg.1 - IL_001a: dup - IL_001b: ldvirtftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0021: newobj instance void class NAnt.Core.Filters.ChainableReader/internalRead::'.ctor'(object, native int) - IL_0026: stfld class NAnt.Core.Filters.ChainableReader/internalRead NAnt.Core.Filters.ChainableReader::InternalRead - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: dup - IL_002e: ldvirtftn instance int32 class NAnt.Core.Filters.ChainableReader::Peek() - IL_0034: newobj instance void class NAnt.Core.Filters.ChainableReader/internalPeek::'.ctor'(object, native int) - IL_0039: stfld class NAnt.Core.Filters.ChainableReader/internalPeek NAnt.Core.Filters.ChainableReader::InternalPeek - IL_003e: ldarg.0 - IL_003f: ldarg.1 - IL_0040: dup - IL_0041: ldvirtftn instance void class NAnt.Core.Filters.ChainableReader::Close() - IL_0047: newobj instance void class NAnt.Core.Filters.ChainableReader/internalClose::'.ctor'(object, native int) - IL_004c: stfld class NAnt.Core.Filters.ChainableReader/internalClose NAnt.Core.Filters.ChainableReader::InternalClose - IL_0051: ldarg.0 - IL_0052: ldc.i4.0 - IL_0053: stfld bool NAnt.Core.Filters.ChainableReader::_baseReader - IL_0058: ret - } // end of method ChainableReader::Chain + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_archiveAttrib + IL_0008: ret + } // end of method AttribTask::set_ArchiveAttrib - // method line 518 - .method public virtual hidebysig newslot - instance default void Chain (class [mscorlib]System.IO.TextReader baseReader) cil managed + // method line 396 + .method public hidebysig specialname + instance default bool get_HiddenAttrib () cil managed { - // Method begins at RVA 0x9b44 - // Code size 89 (0x59) - .maxstack 3 + // Method begins at RVA 0xde18 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0018 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_hiddenAttrib + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0007: nop - IL_0008: ldstr "baseReader" - IL_000d: ldstr "Argument can not be null" - IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string, string) - IL_0017: throw - IL_0018: ldarg.0 - IL_0019: ldarg.1 - IL_001a: dup - IL_001b: ldvirtftn instance int32 class [mscorlib]System.IO.TextReader::Read() - IL_0021: newobj instance void class NAnt.Core.Filters.ChainableReader/internalRead::'.ctor'(object, native int) - IL_0026: stfld class NAnt.Core.Filters.ChainableReader/internalRead NAnt.Core.Filters.ChainableReader::InternalRead - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: dup - IL_002e: ldvirtftn instance int32 class [mscorlib]System.IO.TextReader::Peek() - IL_0034: newobj instance void class NAnt.Core.Filters.ChainableReader/internalPeek::'.ctor'(object, native int) - IL_0039: stfld class NAnt.Core.Filters.ChainableReader/internalPeek NAnt.Core.Filters.ChainableReader::InternalPeek - IL_003e: ldarg.0 - IL_003f: ldarg.1 - IL_0040: dup - IL_0041: ldvirtftn instance void class [mscorlib]System.IO.TextReader::Close() - IL_0047: newobj instance void class NAnt.Core.Filters.ChainableReader/internalClose::'.ctor'(object, native int) - IL_004c: stfld class NAnt.Core.Filters.ChainableReader/internalClose NAnt.Core.Filters.ChainableReader::InternalClose - IL_0051: ldarg.0 - IL_0052: ldc.i4.1 - IL_0053: stfld bool NAnt.Core.Filters.ChainableReader::_baseReader - IL_0058: ret - } // end of method ChainableReader::Chain + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_HiddenAttrib - // method line 519 - .method public virtual hidebysig newslot - instance default int32 Peek () cil managed + // method line 397 + .method public hidebysig specialname + instance default void set_HiddenAttrib (bool 'value') cil managed { - // Method begins at RVA 0x9bac - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0xde33 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Filters.ChainableReader/internalPeek NAnt.Core.Filters.ChainableReader::InternalPeek - IL_0007: callvirt instance int32 class NAnt.Core.Filters.ChainableReader/internalPeek::Invoke() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ChainableReader::Peek + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_hiddenAttrib + IL_0008: ret + } // end of method AttribTask::set_HiddenAttrib - // method line 520 - .method public virtual hidebysig newslot - instance default int32 Read () cil managed + // method line 398 + .method public hidebysig specialname + instance default bool get_NormalAttrib () cil managed { - // Method begins at RVA 0x9bcc - // Code size 20 (0x14) + // Method begins at RVA 0xde40 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Filters.ChainableReader/internalRead NAnt.Core.Filters.ChainableReader::InternalRead - IL_0007: callvirt instance int32 class NAnt.Core.Filters.ChainableReader/internalRead::Invoke() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_normalAttrib + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ChainableReader::Read + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_NormalAttrib - // method line 521 - .method public virtual hidebysig newslot - instance default void Close () cil managed + // method line 399 + .method public hidebysig specialname + instance default void set_NormalAttrib (bool 'value') cil managed { - // Method begins at RVA 0x9bec - // Code size 13 (0xd) + // Method begins at RVA 0xde5b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Filters.ChainableReader/internalClose NAnt.Core.Filters.ChainableReader::InternalClose - IL_0007: callvirt instance void class NAnt.Core.Filters.ChainableReader/internalClose::Invoke() - IL_000c: ret - } // end of method ChainableReader::Close + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_normalAttrib + IL_0008: ret + } // end of method AttribTask::set_NormalAttrib - // method line 522 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed + // method line 400 + .method public hidebysig specialname + instance default bool get_ReadOnlyAttrib () cil managed { - // Method begins at RVA 0x9bfa - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0xde68 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance void class NAnt.Core.Filters.ChainableReader::Close() - IL_0007: ldarg.0 - IL_0008: call void class [mscorlib]System.GC::SuppressFinalize(object) - IL_000d: ret - } // end of method ChainableReader::Dispose - - .property instance bool Base () - { - .get instance default bool NAnt.Core.Filters.ChainableReader::get_Base () - } - .class nested private auto ansi sealed internalRead - extends [mscorlib]System.MulticastDelegate - { - - // method line 523 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalRead::.ctor - - // method line 524 - .method public virtual hidebysig newslot - instance default int32 Invoke () runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalRead::Invoke - - // method line 525 - .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 internalRead::BeginInvoke - - // method line 526 - .method public virtual hidebysig newslot - instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalRead::EndInvoke - - } // end of class internalRead - - .class nested private auto ansi sealed internalPeek - extends [mscorlib]System.MulticastDelegate - { - - // method line 527 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalPeek::.ctor - - // method line 528 - .method public virtual hidebysig newslot - instance default int32 Invoke () runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalPeek::Invoke - - // method line 529 - .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 internalPeek::BeginInvoke - - // method line 530 - .method public virtual hidebysig newslot - instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalPeek::EndInvoke - - } // end of class internalPeek - - .class nested private auto ansi sealed internalClose - extends [mscorlib]System.MulticastDelegate - { - - // method line 531 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalClose::.ctor - - // method line 532 - .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 internalClose::Invoke - - // method line 533 - .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 internalClose::BeginInvoke - - // method line 534 - .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 internalClose::EndInvoke - - } // end of class internalClose - - } // end of class NAnt.Core.Filters.ChainableReader -} - -.namespace NAnt.Core.Filters -{ - .class public auto ansi serializable beforefieldinit FilterCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - - // method line 535 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa1ce - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method FilterCollection::.ctor + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_readOnlyAttrib + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 536 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection 'value') cil managed - { - // Method begins at RVA 0xa1d7 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Filters.FilterCollection::AddRange(class NAnt.Core.Filters.FilterCollection) + IL_000d: ldloc.0 IL_000e: ret - } // end of method FilterCollection::.ctor + } // end of method AttribTask::get_ReadOnlyAttrib - // method line 537 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.Filter[] 'value') cil managed + // method line 401 + .method public hidebysig specialname + instance default void set_ReadOnlyAttrib (bool 'value') cil managed { - // Method begins at RVA 0xa1e7 - // Code size 15 (0xf) + // Method begins at RVA 0xde83 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Filters.FilterCollection::AddRange(class NAnt.Core.Filters.Filter[]) - IL_000e: ret - } // end of method FilterCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_readOnlyAttrib + IL_0008: ret + } // end of method AttribTask::set_ReadOnlyAttrib - // method line 538 + // method line 402 .method public hidebysig specialname - instance default class NAnt.Core.Filters.Filter get_Item (int32 index) cil managed + instance default bool get_SystemAttrib () cil managed { - // Method begins at RVA 0xa1f8 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xde90 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Filters.Filter V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Filters.Filter - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_systemAttrib + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FilterCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_SystemAttrib - // method line 539 + // method line 403 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Filters.Filter 'value') cil managed + instance default void set_SystemAttrib (bool 'value') cil managed { - // Method begins at RVA 0xa21e - // Code size 15 (0xf) + // Method begins at RVA 0xdeab + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method FilterCollection::set_Item + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_systemAttrib + IL_0008: ret + } // end of method AttribTask::set_SystemAttrib - // method line 540 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Filters.Filter item) cil managed + // method line 404 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xa230 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xdeb8 + // Code size 506 (0x1fa) + .maxstack 8 .locals init ( - int32 V_0) + valuetype [mscorlib]System.IO.FileAttributes V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + valuetype [mscorlib]System.IO.FileAttributes V_4, + string V_5, + class [System]System.Collections.Specialized.StringEnumerator V_6, + class [mscorlib]System.IDisposable V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterCollection::Add + IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - // method line 541 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.Filter[] items) cil managed - { - // Method begins at RVA 0xa254 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_0018: ldarg.0 + IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.AttribTask::get_File() + IL_0034: brfalse IL_0057 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Filters.FilterCollection::Add(class NAnt.Core.Filters.Filter) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_0040: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0045: ldarg.0 + IL_0046: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.AttribTask::get_File() + IL_004b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0050: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0055: pop + IL_0056: nop + IL_0057: ldarg.0 + IL_0058: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_005d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0062: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0067: ldc.i4.0 + IL_0068: ble IL_0105 - IL_0021: ret - } // end of method FilterCollection::AddRange + IL_006d: nop + IL_006e: ldarg.0 + IL_006f: call instance valuetype [mscorlib]System.IO.FileAttributes class NAnt.Core.Tasks.AttribTask::GetFileAttributes() + IL_0074: stloc.0 + IL_0075: ldarg.0 + IL_0076: ldc.i4 3000 + IL_007b: ldstr "Setting file attributes for {0} files to {1}." + IL_0080: ldc.i4.2 + IL_0081: newarr [mscorlib]System.Object + IL_0086: dup + IL_0087: ldc.i4.0 + IL_0088: ldarg.0 + IL_0089: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_008e: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0093: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0098: box [mscorlib]System.Int32 + IL_009d: stelem.ref + IL_009e: dup + IL_009f: ldc.i4.1 + IL_00a0: ldloca.s 0 + IL_00a2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a7: constrained. [mscorlib]System.IO.FileAttributes + IL_00ad: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) + IL_00b2: stelem.ref + IL_00b3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00b8: nop + IL_00b9: ldarg.0 + IL_00ba: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_00bf: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_00c4: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00c9: stloc.2 + .try { // 0 + IL_00ca: br IL_00e0 - // method line 542 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.FilterCollection items) cil managed - { - // Method begins at RVA 0xa284 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_00cf: ldloc.2 + IL_00d0: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00d5: stloc.1 + IL_00d6: nop + IL_00d7: ldarg.0 + IL_00d8: ldloc.1 + IL_00d9: ldloc.0 + IL_00da: call instance void class NAnt.Core.Tasks.AttribTask::SetFileAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_00df: nop + IL_00e0: ldloc.2 + IL_00e1: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00e6: brtrue IL_00cf - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Filters.FilterCollection::Add(class NAnt.Core.Filters.Filter) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_00eb: leave IL_0104 - IL_0028: ret - } // end of method FilterCollection::AddRange + } // end .try 0 + finally { // 0 + IL_00f0: ldloc.2 + IL_00f1: isinst [mscorlib]System.IDisposable + IL_00f6: dup + IL_00f7: stloc.3 + IL_00f8: brfalse IL_0103 - // method line 543 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Filters.Filter item) cil managed - { - // Method begins at RVA 0xa2bc - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_00fd: ldloc.3 + IL_00fe: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0103: endfinally + } // end handler 0 + IL_0104: nop + IL_0105: ldarg.0 + IL_0106: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_010b: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0110: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0115: ldc.i4.0 + IL_0116: ble IL_01bd - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterCollection::Contains + IL_011b: nop + IL_011c: ldarg.0 + IL_011d: call instance valuetype [mscorlib]System.IO.FileAttributes class NAnt.Core.Tasks.AttribTask::GetDirectoryAttributes() + IL_0122: stloc.s 4 + IL_0124: ldarg.0 + IL_0125: ldc.i4 3000 + IL_012a: ldstr "Setting attributes for {0} directories to {1}." + IL_012f: ldc.i4.2 + IL_0130: newarr [mscorlib]System.Object + IL_0135: dup + IL_0136: ldc.i4.0 + IL_0137: ldarg.0 + IL_0138: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_013d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0142: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0147: box [mscorlib]System.Int32 + IL_014c: stelem.ref + IL_014d: dup + IL_014e: ldc.i4.1 + IL_014f: ldloca.s 4 + IL_0151: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0156: constrained. [mscorlib]System.IO.FileAttributes + IL_015c: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) + IL_0161: stelem.ref + IL_0162: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0167: nop + IL_0168: ldarg.0 + IL_0169: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_016e: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0173: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0178: stloc.s 6 + .try { // 1 + IL_017a: br IL_0194 - // method line 544 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Filters.Filter[] 'array', int32 index) cil managed - { - // Method begins at RVA 0xa2dd - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method FilterCollection::CopyTo + IL_017f: ldloc.s 6 + IL_0181: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0186: stloc.s 5 + IL_0188: nop + IL_0189: ldarg.0 + IL_018a: ldloc.s 5 + IL_018c: ldloc.s 4 + IL_018e: call instance void class NAnt.Core.Tasks.AttribTask::SetDirectoryAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_0193: nop + IL_0194: ldloc.s 6 + IL_0196: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_019b: brtrue IL_017f - // method line 545 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Filters.Filter item) cil managed + IL_01a0: leave IL_01bc + + } // end .try 1 + finally { // 1 + IL_01a5: ldloc.s 6 + IL_01a7: isinst [mscorlib]System.IDisposable + IL_01ac: dup + IL_01ad: stloc.s 7 + IL_01af: brfalse IL_01bb + + IL_01b4: ldloc.s 7 + IL_01b6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01bb: endfinally + } // end handler 1 + IL_01bc: nop + IL_01bd: ldarg.0 + IL_01be: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_01c3: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_01c8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_01cd: brtrue IL_01f9 + + IL_01d2: ldarg.0 + IL_01d3: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_01d8: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_01dd: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_01e2: brtrue IL_01f9 + + IL_01e7: nop + IL_01e8: ldarg.0 + IL_01e9: ldc.i4 2000 + IL_01ee: ldstr "No matching files or directories found." + IL_01f3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_01f8: nop + IL_01f9: ret + } // end of method AttribTask::ExecuteTask + + // method line 405 + .method private hidebysig + instance default valuetype [mscorlib]System.IO.FileAttributes GetFileAttributes () cil managed { - // Method begins at RVA 0xa2f0 - // Code size 21 (0x15) + // Method begins at RVA 0xe0dc + // Code size 141 (0x8d) .maxstack 2 .locals init ( - int32 V_0) + valuetype [mscorlib]System.IO.FileAttributes V_0, + valuetype [mscorlib]System.IO.FileAttributes V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance bool class NAnt.Core.Tasks.AttribTask::get_NormalAttrib() + IL_0009: brfalse IL_001b - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterCollection::IndexOf + IL_000e: nop + IL_000f: ldc.i4 128 + IL_0014: stloc.0 + IL_0015: nop + IL_0016: br IL_0062 - // method line 546 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Filters.Filter item) cil managed - { - // Method begins at RVA 0xa311 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method FilterCollection::Insert + IL_001b: nop + IL_001c: ldarg.0 + IL_001d: call instance bool class NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib() + IL_0022: brfalse IL_002e - // method line 547 - .method public hidebysig - instance default class NAnt.Core.Filters.FilterEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0xa324 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Filters.FilterEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Filters.FilterEnumerator::'.ctor'(class NAnt.Core.Filters.FilterCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0027: nop + IL_0028: ldloc.0 + IL_0029: ldc.i4.s 0x20 + IL_002b: or + IL_002c: stloc.0 + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance bool class NAnt.Core.Tasks.AttribTask::get_HiddenAttrib() + IL_0034: brfalse IL_003f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FilterCollection::GetEnumerator + IL_0039: nop + IL_003a: ldloc.0 + IL_003b: ldc.i4.2 + IL_003c: or + IL_003d: stloc.0 + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: call instance bool class NAnt.Core.Tasks.AttribTask::get_ReadOnlyAttrib() + IL_0045: brfalse IL_0050 - // method line 548 - .method public hidebysig - instance default void Remove (class NAnt.Core.Filters.Filter item) cil managed - { - // Method begins at RVA 0xa33f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method FilterCollection::Remove + IL_004a: nop + IL_004b: ldloc.0 + IL_004c: ldc.i4.1 + IL_004d: or + IL_004e: stloc.0 + IL_004f: nop + IL_0050: ldarg.0 + IL_0051: call instance bool class NAnt.Core.Tasks.AttribTask::get_SystemAttrib() + IL_0056: brfalse IL_0061 - .property instance class NAnt.Core.Filters.Filter Item (int32) - { - .get instance default class NAnt.Core.Filters.Filter NAnt.Core.Filters.FilterCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Filters.FilterCollection::set_Item (int32 index, class NAnt.Core.Filters.Filter 'value') - } - } // end of class NAnt.Core.Filters.FilterCollection -} + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: ldc.i4.4 + IL_005e: or + IL_005f: stloc.0 + IL_0060: nop + IL_0061: nop + IL_0062: ldtoken [mscorlib]System.IO.FileAttributes + IL_0067: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_006c: ldloc.0 + IL_006d: box [mscorlib]System.IO.FileAttributes + IL_0072: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0077: brtrue IL_0084 -.namespace NAnt.Core.Filters -{ - .class public auto ansi beforefieldinit FilterEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_007c: nop + IL_007d: ldc.i4 128 + IL_0082: stloc.0 + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: stloc.1 + IL_0086: br IL_008b - // method line 549 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection arguments) cil managed - { - // Method begins at RVA 0xa350 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator - IL_0015: ret - } // end of method FilterEnumerator::.ctor + IL_008b: ldloc.1 + IL_008c: ret + } // end of method AttribTask::GetFileAttributes - // method line 550 - .method public hidebysig specialname - instance default class NAnt.Core.Filters.Filter get_Current () cil managed + // method line 406 + .method private hidebysig + instance default void SetFileAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed { - // Method begins at RVA 0xa374 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0xe178 + // Code size 114 (0x72) + .maxstack 5 .locals init ( - class NAnt.Core.Filters.Filter V_0) + class [mscorlib]System.Exception V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Filters.Filter - IL_0011: stloc.0 - IL_0012: br IL_0017 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: ldc.i4 2000 + IL_0008: ldarg.1 + IL_0009: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_000e: ldarg.1 + IL_000f: ldarg.2 + IL_0010: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_0015: nop + IL_0016: leave IL_0071 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FilterEnumerator::get_Current + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_001b: stloc.0 + IL_001c: nop + IL_001d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0022: ldstr "NA1102" + IL_0027: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_002c: ldarg.1 + IL_002d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0032: stloc.1 + IL_0033: ldarg.0 + IL_0034: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0039: brfalse IL_004d - // method line 551 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0xa39c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_003e: nop + IL_003f: ldloc.1 + IL_0040: ldarg.0 + IL_0041: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0046: ldloc.0 + IL_0047: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_004c: throw + IL_004d: nop + IL_004e: ldarg.0 + IL_004f: ldc.i4 2000 + IL_0054: ldloc.1 + IL_0055: ldstr " " + IL_005a: ldloc.0 + IL_005b: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0060: call string string::Concat(string, string, string) + IL_0065: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_006a: nop + IL_006b: nop + IL_006c: leave IL_0071 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FilterEnumerator::System.Collections.IEnumerator.get_Current + } // end handler 0 + IL_0071: ret + } // end of method AttribTask::SetFileAttributes - // method line 552 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 407 + .method private hidebysig + instance default valuetype [mscorlib]System.IO.FileAttributes GetDirectoryAttributes () cil managed { - // Method begins at RVA 0xa3bc - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xe208 + // Code size 95 (0x5f) + .maxstack 2 .locals init ( - bool V_0) + valuetype [mscorlib]System.IO.FileAttributes V_0, + valuetype [mscorlib]System.IO.FileAttributes V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldc.i4.s 0x10 + IL_0003: stloc.0 + IL_0004: ldarg.0 + IL_0005: call instance bool class NAnt.Core.Tasks.AttribTask::get_NormalAttrib() + IL_000a: brtrue IL_0056 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FilterEnumerator::MoveNext + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: call instance bool class NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib() + IL_0016: brfalse IL_0022 - // method line 553 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + IL_001b: nop + IL_001c: ldloc.0 + IL_001d: ldc.i4.s 0x20 + IL_001f: or + IL_0020: stloc.0 + IL_0021: nop + IL_0022: ldarg.0 + IL_0023: call instance bool class NAnt.Core.Tasks.AttribTask::get_HiddenAttrib() + IL_0028: brfalse IL_0033 + + IL_002d: nop + IL_002e: ldloc.0 + IL_002f: ldc.i4.2 + IL_0030: or + IL_0031: stloc.0 + IL_0032: nop + IL_0033: ldarg.0 + IL_0034: call instance bool class NAnt.Core.Tasks.AttribTask::get_ReadOnlyAttrib() + IL_0039: brfalse IL_0044 + + IL_003e: nop + IL_003f: ldloc.0 + IL_0040: ldc.i4.1 + IL_0041: or + IL_0042: stloc.0 + IL_0043: nop + IL_0044: ldarg.0 + IL_0045: call instance bool class NAnt.Core.Tasks.AttribTask::get_SystemAttrib() + IL_004a: brfalse IL_0055 + + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: ldc.i4.4 + IL_0052: or + IL_0053: stloc.0 + IL_0054: nop + IL_0055: nop + IL_0056: ldloc.0 + IL_0057: stloc.1 + IL_0058: br IL_005d + + IL_005d: ldloc.1 + IL_005e: ret + } // end of method AttribTask::GetDirectoryAttributes + + // method line 408 + .method private hidebysig + instance default void SetDirectoryAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed { - // Method begins at RVA 0xa3dc - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xe274 + // Code size 139 (0x8b) + .maxstack 5 .locals init ( - bool V_0) + class [mscorlib]System.Exception V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0008: brfalse IL_0027 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FilterEnumerator::System.Collections.IEnumerator.MoveNext + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldc.i4 2000 + IL_0014: ldarg.1 + IL_0015: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_001a: ldarg.1 + IL_001b: ldarg.2 + IL_001c: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_0021: nop + IL_0022: br IL_002e - // method line 554 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0xa3fc - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method FilterEnumerator::Reset + IL_0027: nop + IL_0028: newobj instance void class [mscorlib]System.IO.DirectoryNotFoundException::'.ctor'() + IL_002d: throw + IL_002e: nop + IL_002f: leave IL_008a - // method line 555 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0xa40a - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method FilterEnumerator::System.Collections.IEnumerator.Reset + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0034: stloc.0 + IL_0035: nop + IL_0036: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003b: ldstr "NA1101" + IL_0040: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0045: ldarg.1 + IL_0046: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004b: stloc.1 + IL_004c: ldarg.0 + IL_004d: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0052: brfalse IL_0066 - .property instance object System.Collections.IEnumerator.Current () + IL_0057: nop + IL_0058: ldloc.1 + IL_0059: ldarg.0 + IL_005a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_005f: ldloc.0 + IL_0060: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0065: throw + IL_0066: nop + IL_0067: ldarg.0 + IL_0068: ldc.i4 2000 + IL_006d: ldloc.1 + IL_006e: ldstr " " + IL_0073: ldloc.0 + IL_0074: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0079: call string string::Concat(string, string, string) + IL_007e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0083: nop + IL_0084: nop + IL_0085: leave IL_008a + + } // end handler 0 + IL_008a: ret + } // end of method AttribTask::SetDirectoryAttributes + + .property instance class [mscorlib]System.IO.FileInfo File () { - .get instance default object NAnt.Core.Filters.FilterEnumerator::System.Collections.IEnumerator.get_Current () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.AttribTask::get_File () + .set instance default void NAnt.Core.Tasks.AttribTask::set_File (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class NAnt.Core.Filters.Filter Current () + .property instance class NAnt.Core.Types.FileSet AttribFileSet () { - .get instance default class NAnt.Core.Filters.Filter NAnt.Core.Filters.FilterEnumerator::get_Current () + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::get_AttribFileSet () + .set instance default void NAnt.Core.Tasks.AttribTask::set_AttribFileSet (class NAnt.Core.Types.FileSet 'value') } - } // end of class NAnt.Core.Filters.FilterEnumerator + .property instance bool ArchiveAttrib () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 61 72 63 68 69 76 65 00 00 ) // ...archive.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib () + .set instance default void NAnt.Core.Tasks.AttribTask::set_ArchiveAttrib (bool 'value') + } + .property instance bool HiddenAttrib () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 68 69 64 64 65 6E 00 00 ) // ...hidden.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.AttribTask::get_HiddenAttrib () + .set instance default void NAnt.Core.Tasks.AttribTask::set_HiddenAttrib (bool 'value') + } + .property instance bool NormalAttrib () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6E 6F 72 6D 61 6C 00 00 ) // ...normal.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.AttribTask::get_NormalAttrib () + .set instance default void NAnt.Core.Tasks.AttribTask::set_NormalAttrib (bool 'value') + } + .property instance bool ReadOnlyAttrib () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 72 65 61 64 6F 6E 6C 79 00 00 ) // ...readonly.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.AttribTask::get_ReadOnlyAttrib () + .set instance default void NAnt.Core.Tasks.AttribTask::set_ReadOnlyAttrib (bool 'value') + } + .property instance bool SystemAttrib () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 73 79 73 74 65 6D 00 00 ) // ...system.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.AttribTask::get_SystemAttrib () + .set instance default void NAnt.Core.Tasks.AttribTask::set_SystemAttrib (bool 'value') + } + } // end of class NAnt.Core.Tasks.AttribTask } -.namespace NAnt.Core.Filters +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit ReplaceString - extends NAnt.Core.Filters.Filter + .class public auto ansi beforefieldinit EchoTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0D 72 65 70 6C 61 63 65 73 74 72 69 6E 67 // ...replacestring - 00 00 ) // .. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 63 68 6F 00 00 ) // ...echo.. - .field private string _from - .field private string _to - .field private string _outputBuffer - .field private bool _endStreamAfterBuffer - .field private int32 _bufferPosition - .field private bool _stringNotFound - .field private bool _ignoreCase - .field private class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate ReadChar + .field private string _message + .field private string _contents + .field private class [mscorlib]System.IO.FileInfo _file + .field private bool _append + .field private valuetype NAnt.Core.Level _messageLevel + .field private class [mscorlib]System.Text.Encoding _encoding - // method line 556 + // method line 409 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa418 - // Code size 32 (0x20) + // Method begins at RVA 0xe31c + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.Core.Filters.ReplaceString::_to + IL_0001: ldc.i4 3000 + IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::_messageLevel IL_000b: ldarg.0 - IL_000c: ldc.i4.0 - IL_000d: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_0012: ldarg.0 - IL_0013: ldc.i4.1 - IL_0014: stfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound - IL_0019: ldarg.0 - IL_001a: call instance void class NAnt.Core.Filters.Filter::'.ctor'() - IL_001f: ret - } // end of method ReplaceString::.ctor + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method EchoTask::.ctor - // method line 557 + // method line 410 .method public hidebysig specialname - instance default string get_From () cil managed + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0xa43c - // Code size 15 (0xf) + // Method begins at RVA 0xe330 + // Code size 37 (0x25) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_from - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding + IL_0007: brtrue IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ReplaceString::get_From + IL_000c: newobj instance void class [mscorlib]System.Text.UTF8Encoding::'.ctor'() + IL_0011: stloc.0 + IL_0012: br IL_0023 - // method line 558 + IL_0017: ldarg.0 + IL_0018: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding + IL_001d: stloc.0 + IL_001e: br IL_0023 + + IL_0023: ldloc.0 + IL_0024: ret + } // end of method EchoTask::get_Encoding + + // method line 411 .method public hidebysig specialname - instance default void set_From (string 'value') cil managed + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0xa457 + // Method begins at RVA 0xe361 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Filters.ReplaceString::_from + IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding IL_0008: ret - } // end of method ReplaceString::set_From + } // end of method EchoTask::set_Encoding - // method line 559 + // method line 412 .method public hidebysig specialname - instance default string get_To () cil managed + instance default string get_Message () cil managed { - // Method begins at RVA 0xa464 + // Method begins at RVA 0xe36c // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_to + IL_0002: ldfld string NAnt.Core.Tasks.EchoTask::_message IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ReplaceString::get_To + } // end of method EchoTask::get_Message - // method line 560 + // method line 413 .method public hidebysig specialname - instance default void set_To (string 'value') cil managed + instance default void set_Message (string 'value') cil managed { - // Method begins at RVA 0xa47f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xe388 + // Code size 79 (0x4f) + .maxstack 2 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0045 + + IL_0007: ldarg.1 + IL_0008: callvirt instance string string::Trim() + IL_000d: callvirt instance int32 string::get_Length() + IL_0012: ldc.i4.0 + IL_0013: ble IL_0045 + + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() + IL_001f: brfalse IL_0036 + + IL_0024: nop + IL_0025: ldstr "Inline content and the message attribute are mutually exclusive in the task." + IL_002a: ldarg.0 + IL_002b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0030: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) + IL_0035: throw + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: stfld string NAnt.Core.Tasks.EchoTask::_message + IL_003e: nop + IL_003f: nop + IL_0040: br IL_004e + + IL_0045: nop + IL_0046: ldarg.0 + IL_0047: ldnull + IL_0048: stfld string NAnt.Core.Tasks.EchoTask::_message + IL_004d: nop + IL_004e: ret + } // end of method EchoTask::set_Message + + // method line 414 + .method public hidebysig specialname + instance default string get_Contents () cil managed + { + // Method begins at RVA 0xe3e4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Filters.ReplaceString::_to - IL_0008: ret - } // end of method ReplaceString::set_To + IL_0002: ldfld string NAnt.Core.Tasks.EchoTask::_contents + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 561 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EchoTask::get_Contents + + // method line 415 .method public hidebysig specialname - instance default bool get_IgnoreCase () cil managed + instance default void set_Contents (string 'value') cil managed + { + // Method begins at RVA 0xe400 + // Code size 79 (0x4f) + .maxstack 2 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0045 + + IL_0007: ldarg.1 + IL_0008: callvirt instance string string::Trim() + IL_000d: callvirt instance int32 string::get_Length() + IL_0012: ldc.i4.0 + IL_0013: ble IL_0045 + + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() + IL_001f: brfalse IL_0036 + + IL_0024: nop + IL_0025: ldstr "Inline content and the message attribute are mutually exclusive in the task." + IL_002a: ldarg.0 + IL_002b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0030: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) + IL_0035: throw + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: stfld string NAnt.Core.Tasks.EchoTask::_contents + IL_003e: nop + IL_003f: nop + IL_0040: br IL_004e + + IL_0045: nop + IL_0046: ldarg.0 + IL_0047: ldnull + IL_0048: stfld string NAnt.Core.Tasks.EchoTask::_contents + IL_004d: nop + IL_004e: ret + } // end of method EchoTask::set_Contents + + // method line 416 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0xa48c + // Method begins at RVA 0xe45c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.EchoTask::_file IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ReplaceString::get_IgnoreCase + } // end of method EchoTask::get_File - // method line 562 + // method line 417 .method public hidebysig specialname - instance default void set_IgnoreCase (bool 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xa4a7 + // Method begins at RVA 0xe477 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.EchoTask::_file IL_0008: ret - } // end of method ReplaceString::set_IgnoreCase + } // end of method EchoTask::set_File - // method line 563 - .method public virtual hidebysig - instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed + // method line 418 + .method public hidebysig specialname + instance default bool get_Append () cil managed { - // Method begins at RVA 0xa4b1 - // Code size 27 (0x1b) + // Method begins at RVA 0xe484 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.EchoTask::_append + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EchoTask::get_Append + + // method line 419 + .method public hidebysig specialname + instance default void set_Append (bool 'value') cil managed + { + // Method begins at RVA 0xe49f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) - IL_0008: ldarg.0 - IL_0009: ldarg.0 - IL_000a: ldftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0010: newobj instance void class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate::'.ctor'(object, native int) - IL_0015: stfld class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate NAnt.Core.Filters.ReplaceString::ReadChar - IL_001a: ret - } // end of method ReplaceString::Chain + IL_0003: stfld bool NAnt.Core.Tasks.EchoTask::_append + IL_0008: ret + } // end of method EchoTask::set_Append - // method line 564 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 420 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Level get_MessageLevel () cil managed { - // Method begins at RVA 0xa4d0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xe4ac + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + valuetype NAnt.Core.Level V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate NAnt.Core.Filters.ReplaceString::ReadChar - IL_0008: call instance int32 class NAnt.Core.Filters.ReplaceString::GetNextCharacter(class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::_messageLevel + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ReplaceString::Read + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EchoTask::get_MessageLevel - // method line 565 - .method public virtual hidebysig - instance default int32 Peek () cil managed + // method line 421 + .method public hidebysig specialname + instance default void set_MessageLevel (valuetype NAnt.Core.Level 'value') cil managed { - // Method begins at RVA 0xa4f1 - // Code size 17 (0x11) - .maxstack 8 + // Method begins at RVA 0xe4c8 + // Code size 65 (0x41) + .maxstack 3 IL_0000: nop - IL_0001: ldstr "String_PeekNotSupported" - IL_0006: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_000b: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_0010: throw - } // end of method ReplaceString::Peek - - // method line 566 - .method private hidebysig - instance default bool FindString (int32 startChar, [out] bool& streamEnded, [out] string& nonMatchingChars) cil managed - { - // Method begins at RVA 0xa504 - // Code size 164 (0xa4) - .maxstack 4 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - int32 V_1, - int32 V_2, - bool V_3) - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldc.i4.0 - IL_0003: stind.i1 - IL_0004: ldarg.3 - IL_0005: ldstr "" - IL_000a: stind.ref - IL_000b: ldarg.0 - IL_000c: ldfld string NAnt.Core.Filters.ReplaceString::_from - IL_0011: callvirt instance int32 string::get_Length() - IL_0016: ldarg.0 - IL_0017: ldfld string NAnt.Core.Filters.ReplaceString::_from - IL_001c: callvirt instance int32 string::get_Length() - IL_0021: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32, int32) - IL_0026: stloc.0 - IL_0027: ldloc.0 - IL_0028: ldarg.1 - IL_0029: conv.u2 - IL_002a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_002f: pop - IL_0030: ldc.i4.1 - IL_0031: stloc.2 - IL_0032: br IL_008a + IL_0001: ldtoken NAnt.Core.Level + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: box NAnt.Core.Level + IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0016: brtrue IL_0037 + IL_001b: nop + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: ldstr "An invalid level {0} was specified." + IL_0026: ldarg.1 + IL_0027: box NAnt.Core.Level + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0036: throw IL_0037: nop IL_0038: ldarg.0 - IL_0039: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_003e: stloc.1 - IL_003f: ldloc.1 - IL_0040: ldc.i4.m1 - IL_0041: beq IL_0051 - - IL_0046: nop - IL_0047: ldloc.0 - IL_0048: ldloc.1 - IL_0049: conv.u2 - IL_004a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_004f: pop - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: ldloc.1 - IL_0053: ldarg.0 - IL_0054: ldfld string NAnt.Core.Filters.ReplaceString::_from - IL_0059: ldloc.2 - IL_005a: callvirt instance char string::get_Chars(int32) - IL_005f: call instance bool class NAnt.Core.Filters.ReplaceString::CompareCharacters(int32, int32) - IL_0064: brtrue IL_0085 - - IL_0069: nop - IL_006a: ldloc.1 - IL_006b: ldc.i4.m1 - IL_006c: bne.un IL_0076 - - IL_0071: nop - IL_0072: ldarg.2 - IL_0073: ldc.i4.1 - IL_0074: stind.i1 - IL_0075: nop - IL_0076: ldarg.3 - IL_0077: ldloc.0 - IL_0078: callvirt instance string object::ToString() - IL_007d: stind.ref - IL_007e: ldc.i4.0 - IL_007f: stloc.3 - IL_0080: br IL_00a2 - - IL_0085: nop - IL_0086: ldloc.2 - IL_0087: ldc.i4.1 - IL_0088: add - IL_0089: stloc.2 - IL_008a: ldloc.2 - IL_008b: ldarg.0 - IL_008c: ldfld string NAnt.Core.Filters.ReplaceString::_from - IL_0091: callvirt instance int32 string::get_Length() - IL_0096: blt IL_0037 - - IL_009b: ldc.i4.1 - IL_009c: stloc.3 - IL_009d: br IL_00a2 - - IL_00a2: ldloc.3 - IL_00a3: ret - } // end of method ReplaceString::FindString + IL_0039: ldarg.1 + IL_003a: stfld valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::_messageLevel + IL_003f: nop + IL_0040: ret + } // end of method EchoTask::set_MessageLevel - // method line 567 - .method private hidebysig - instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate AcquireChar) cil managed + // method line 422 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xa5b4 - // Code size 397 (0x18d) - .maxstack 4 + // Method begins at RVA 0xe518 + // Code size 335 (0x14f) + .maxstack 3 .locals init ( - int32 V_0, - int32 V_1, - int32 V_2) + class [mscorlib]System.IO.StreamWriter V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_0007: brtrue IL_001a + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() + IL_0007: brfalse IL_00f1 IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0013: stloc.0 - IL_0014: nop - IL_0015: br IL_00e3 - - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_0021: ldarg.0 - IL_0022: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_0027: callvirt instance int32 string::get_Length() - IL_002c: bge IL_00ac - - IL_0031: nop - IL_0032: ldarg.0 - IL_0033: ldfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound - IL_0038: brfalse IL_0083 + .try { // 1 + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() + IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0019: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001e: brtrue IL_0045 - IL_003d: ldarg.0 - IL_003e: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_0043: ldarg.0 - IL_0044: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_0049: callvirt instance int32 string::get_Length() - IL_004e: ldc.i4.1 - IL_004f: sub - IL_0050: bne.un IL_0083 + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() + IL_002a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_002f: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0034: ldarg.0 + IL_0035: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() + IL_003a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_003f: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() + IL_004b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0050: ldarg.0 + IL_0051: call instance bool class NAnt.Core.Tasks.EchoTask::get_Append() + IL_0056: ldarg.0 + IL_0057: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.EchoTask::get_Encoding() + IL_005c: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool, class [mscorlib]System.Text.Encoding) + IL_0061: stloc.0 + .try { // 0 + IL_0062: nop + IL_0063: ldarg.0 + IL_0064: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() + IL_0069: call bool string::IsNullOrEmpty(string) + IL_006e: brtrue IL_0086 - IL_0055: nop - IL_0056: ldarg.0 - IL_0057: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_005c: ldarg.0 - IL_005d: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_0062: callvirt instance int32 string::get_Length() - IL_0067: ldc.i4.1 - IL_0068: sub - IL_0069: callvirt instance char string::get_Chars(int32) - IL_006e: stloc.0 - IL_006f: ldarg.0 - IL_0070: dup - IL_0071: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_0076: ldc.i4.1 - IL_0077: add - IL_0078: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_007d: nop - IL_007e: br IL_00a6 + IL_0073: nop + IL_0074: ldloc.0 + IL_0075: ldarg.0 + IL_0076: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() + IL_007b: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_0080: nop + IL_0081: br IL_00a4 - IL_0083: nop - IL_0084: ldarg.0 - IL_0085: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_008a: ldarg.0 - IL_008b: dup - IL_008c: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_0091: dup - IL_0092: stloc.1 - IL_0093: ldc.i4.1 - IL_0094: add - IL_0095: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_009a: ldloc.1 - IL_009b: callvirt instance char string::get_Chars(int32) - IL_00a0: stloc.2 - IL_00a1: br IL_018b + IL_0086: ldarg.0 + IL_0087: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() + IL_008c: call bool string::IsNullOrEmpty(string) + IL_0091: brtrue IL_00a4 - IL_00a6: nop - IL_00a7: br IL_00e2 + IL_0096: nop + IL_0097: ldloc.0 + IL_0098: ldarg.0 + IL_0099: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() + IL_009e: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_00a3: nop + IL_00a4: nop + IL_00a5: leave IL_00b7 - IL_00ac: nop - IL_00ad: ldarg.0 - IL_00ae: ldnull - IL_00af: stfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_00b4: ldarg.0 - IL_00b5: ldc.i4.0 - IL_00b6: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_00bb: ldarg.0 - IL_00bc: ldfld bool NAnt.Core.Filters.ReplaceString::_endStreamAfterBuffer - IL_00c1: brtrue IL_00d9 + } // end .try 0 + finally { // 0 + IL_00aa: ldloc.0 + IL_00ab: brfalse IL_00b6 - IL_00c6: nop - IL_00c7: ldarg.0 - IL_00c8: ldfld class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate NAnt.Core.Filters.ReplaceString::ReadChar - IL_00cd: callvirt instance int32 class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate::Invoke() - IL_00d2: stloc.0 - IL_00d3: nop - IL_00d4: br IL_00e1 + IL_00b0: ldloc.0 + IL_00b1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b6: endfinally + } // end handler 0 + IL_00b7: nop + IL_00b8: leave IL_00eb - IL_00d9: nop - IL_00da: ldc.i4.m1 - IL_00db: stloc.2 - IL_00dc: br IL_018b + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_00bd: stloc.1 + IL_00be: nop + IL_00bf: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c4: ldstr "NA1116" + IL_00c9: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00ce: ldarg.0 + IL_00cf: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() + IL_00d4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00d9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00de: ldarg.0 + IL_00df: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00e4: ldloc.1 + IL_00e5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00ea: throw + } // end handler 1 + IL_00eb: nop + IL_00ec: br IL_014e - IL_00e1: nop - IL_00e2: nop - IL_00e3: ldarg.0 - IL_00e4: ldloc.0 - IL_00e5: ldarg.0 - IL_00e6: ldfld string NAnt.Core.Filters.ReplaceString::_from - IL_00eb: ldc.i4.0 - IL_00ec: callvirt instance char string::get_Chars(int32) - IL_00f1: call instance bool class NAnt.Core.Filters.ReplaceString::CompareCharacters(int32, int32) - IL_00f6: brfalse IL_0183 + IL_00f1: nop + IL_00f2: ldarg.0 + IL_00f3: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() + IL_00f8: brfalse IL_0116 - IL_00fb: nop - IL_00fc: ldarg.0 - IL_00fd: ldloc.0 + IL_00fd: nop IL_00fe: ldarg.0 - IL_00ff: ldflda bool NAnt.Core.Filters.ReplaceString::_endStreamAfterBuffer - IL_0104: ldarg.0 - IL_0105: ldflda string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_010a: call instance bool class NAnt.Core.Filters.ReplaceString::FindString(int32, [out] bool&, [out] string&) - IL_010f: brfalse IL_016d - - IL_0114: nop - IL_0115: ldarg.0 - IL_0116: ldc.i4.0 - IL_0117: stfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound - IL_011c: ldarg.0 - IL_011d: ldfld string NAnt.Core.Filters.ReplaceString::_to - IL_0122: ldsfld string [mscorlib]System.String::Empty - IL_0127: call bool string::op_Equality(string, string) - IL_012c: brfalse IL_0146 - - IL_0131: nop - IL_0132: ldarg.0 - IL_0133: ldnull - IL_0134: stfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_0139: ldarg.0 - IL_013a: ldarg.1 - IL_013b: call instance int32 class NAnt.Core.Filters.ReplaceString::GetNextCharacter(class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate) - IL_0140: stloc.2 - IL_0141: br IL_018b - - IL_0146: nop - IL_0147: ldarg.0 - IL_0148: ldarg.0 - IL_0149: ldfld string NAnt.Core.Filters.ReplaceString::_to - IL_014e: stfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_0153: ldarg.0 - IL_0154: ldc.i4.1 - IL_0155: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_015a: nop - IL_015b: ldarg.0 - IL_015c: ldfld string NAnt.Core.Filters.ReplaceString::_to - IL_0161: ldc.i4.0 - IL_0162: callvirt instance char string::get_Chars(int32) - IL_0167: stloc.2 - IL_0168: br IL_018b + IL_00ff: ldarg.0 + IL_0100: call instance valuetype NAnt.Core.Level class NAnt.Core.Tasks.EchoTask::get_MessageLevel() + IL_0105: ldarg.0 + IL_0106: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() + IL_010b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0110: nop + IL_0111: br IL_014d - IL_016d: nop - IL_016e: ldarg.0 - IL_016f: ldc.i4.1 - IL_0170: stfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound - IL_0175: ldarg.0 - IL_0176: ldc.i4.1 - IL_0177: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition - IL_017c: ldloc.0 - IL_017d: stloc.2 - IL_017e: br IL_018b + IL_0116: ldarg.0 + IL_0117: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() + IL_011c: brfalse IL_013a - IL_0183: nop - IL_0184: ldloc.0 - IL_0185: stloc.2 - IL_0186: br IL_018b + IL_0121: nop + IL_0122: ldarg.0 + IL_0123: ldarg.0 + IL_0124: call instance valuetype NAnt.Core.Level class NAnt.Core.Tasks.EchoTask::get_MessageLevel() + IL_0129: ldarg.0 + IL_012a: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() + IL_012f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0134: nop + IL_0135: br IL_014d - IL_018b: ldloc.2 - IL_018c: ret - } // end of method ReplaceString::GetNextCharacter + IL_013a: nop + IL_013b: ldarg.0 + IL_013c: ldarg.0 + IL_013d: call instance valuetype NAnt.Core.Level class NAnt.Core.Tasks.EchoTask::get_MessageLevel() + IL_0142: ldsfld string [mscorlib]System.String::Empty + IL_0147: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_014c: nop + IL_014d: nop + IL_014e: ret + } // end of method EchoTask::ExecuteTask - // method line 568 - .method private hidebysig - instance default bool CompareCharacters (int32 char1, int32 char2) cil managed + // method line 423 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0xa750 - // Code size 48 (0x30) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0xe690 + // Code size 62 (0x3e) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase - IL_0007: brfalse IL_0023 - - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: conv.u2 - IL_000f: call char char::ToUpper(char) - IL_0014: ldarg.2 - IL_0015: conv.u2 - IL_0016: call char char::ToUpper(char) - IL_001b: ceq - IL_001d: stloc.0 - IL_001e: br IL_002e + IL_0002: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() + IL_000c: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0011: brtrue IL_001b - IL_0023: nop - IL_0024: ldarg.1 - IL_0025: ldarg.2 - IL_0026: ceq - IL_0028: stloc.0 - IL_0029: br IL_002e + IL_0016: br IL_003d - IL_002e: ldloc.0 - IL_002f: ret - } // end of method ReplaceString::CompareCharacters + IL_001b: ldarg.0 + IL_001c: ldarg.0 + IL_001d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0022: ldarg.0 + IL_0023: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0028: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_002d: ldarg.0 + IL_002e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0033: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) + IL_0038: call instance void class NAnt.Core.Tasks.EchoTask::set_Contents(string) + IL_003d: ret + } // end of method EchoTask::Initialize - .property instance string From () + .property instance class [mscorlib]System.Text.Encoding Encoding () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 66 72 6F 6D 01 00 54 02 08 52 65 71 75 // ...from..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. - .get instance default string NAnt.Core.Filters.ReplaceString::get_From () - .set instance default void NAnt.Core.Filters.ReplaceString::set_From (string 'value') + .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::get_Encoding () + .set instance default void NAnt.Core.Tasks.EchoTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') } - .property instance string To () + .property instance string Message () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 74 6F 01 00 54 02 08 52 65 71 75 69 72 // ...to..T..Requir - 65 64 00 ) // ed. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. + .get instance default string NAnt.Core.Tasks.EchoTask::get_Message () + .set instance default void NAnt.Core.Tasks.EchoTask::set_Message (string 'value') + } + .property instance string Contents () + { + .get instance default string NAnt.Core.Tasks.EchoTask::get_Contents () + .set instance default void NAnt.Core.Tasks.EchoTask::set_Contents (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo File () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - .get instance default string NAnt.Core.Filters.ReplaceString::get_To () - .set instance default void NAnt.Core.Filters.ReplaceString::set_To (string 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.EchoTask::get_File () + .set instance default void NAnt.Core.Tasks.EchoTask::set_File (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool IgnoreCase () + .property instance bool Append () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 69 67 6E 6F 72 65 63 61 73 65 01 00 54 // ...ignorecase..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 61 70 70 65 6E 64 00 00 ) // ...append.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .get instance default bool NAnt.Core.Tasks.EchoTask::get_Append () + .set instance default void NAnt.Core.Tasks.EchoTask::set_Append (bool 'value') + } + .property instance valuetype NAnt.Core.Level MessageLevel () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 6C 65 76 65 6C 00 00 ) // ...level.. - .get instance default bool NAnt.Core.Filters.ReplaceString::get_IgnoreCase () - .set instance default void NAnt.Core.Filters.ReplaceString::set_IgnoreCase (bool 'value') + .get instance default valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::get_MessageLevel () + .set instance default void NAnt.Core.Tasks.EchoTask::set_MessageLevel (valuetype NAnt.Core.Level 'value') } - .class nested private auto ansi sealed AcquireCharDelegate - extends [mscorlib]System.MulticastDelegate + } // end of class NAnt.Core.Tasks.EchoTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit UpToDateTask + extends NAnt.Core.Task { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 75 70 74 6F 64 61 74 65 00 00 ) // ...uptodate.. - // method line 569 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::.ctor - - // method line 570 - .method public virtual hidebysig newslot - instance default int32 Invoke () runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::Invoke - - // method line 571 - .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 AcquireCharDelegate::BeginInvoke - - // method line 572 - .method public virtual hidebysig newslot - instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::EndInvoke - - } // end of class AcquireCharDelegate - - } // end of class NAnt.Core.Filters.ReplaceString -} - -.namespace NAnt.Core.Filters -{ - .class public auto ansi beforefieldinit TabsToSpaces - extends NAnt.Core.Filters.Filter - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0C 74 61 62 73 74 6F 73 70 61 63 65 73 00 // ...tabstospaces. - 00 ) // . - - .field private int32 _tabLength - .field private int32 _spacesRemaining - .field private class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate ReadChar + .field private string _propertyName + .field private class NAnt.Core.Types.FileSet _sourceFiles + .field private class NAnt.Core.Types.FileSet _targetFiles - // method line 573 + // method line 424 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa78c - // Code size 14 (0xe) + // Method begins at RVA 0xe6cf + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.8 - IL_0002: stfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Filters.Filter::'.ctor'() - IL_000d: ret - } // end of method TabsToSpaces::.ctor + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method UpToDateTask::.ctor - // method line 574 + // method line 425 .method public hidebysig specialname - instance default int32 get_TabLength () cil managed + instance default string get_PropertyName () cil managed { - // Method begins at RVA 0xa79c + // Method begins at RVA 0xe6d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength + IL_0002: ldfld string NAnt.Core.Tasks.UpToDateTask::_propertyName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TabsToSpaces::get_TabLength + } // end of method UpToDateTask::get_PropertyName - // method line 575 + // method line 426 .method public hidebysig specialname - instance default void set_TabLength (int32 'value') cil managed + instance default void set_PropertyName (string 'value') cil managed { - // Method begins at RVA 0xa7b7 - // Code size 9 (0x9) + // Method begins at RVA 0xe6f3 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength - IL_0008: ret - } // end of method TabsToSpaces::set_TabLength + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.UpToDateTask::_propertyName + IL_000d: ret + } // end of method UpToDateTask::set_PropertyName - // method line 576 - .method public virtual hidebysig - instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed + // method line 427 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_SourceFiles () cil managed { - // Method begins at RVA 0xa7c1 - // Code size 27 (0x1b) - .maxstack 8 + // Method begins at RVA 0xe704 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) - IL_0008: ldarg.0 - IL_0009: ldarg.0 - IL_000a: ldftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0010: newobj instance void class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate::'.ctor'(object, native int) - IL_0015: stfld class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate NAnt.Core.Filters.TabsToSpaces::ReadChar - IL_001a: ret - } // end of method TabsToSpaces::Chain + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_sourceFiles + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 577 - .method public virtual hidebysig - instance default int32 Peek () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method UpToDateTask::get_SourceFiles + + // method line 428 + .method public hidebysig specialname + instance default void set_SourceFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xa7dd - // Code size 17 (0x11) + // Method begins at RVA 0xe71f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop - IL_0001: ldstr "String_PeekNotSupported" - IL_0006: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_000b: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_0010: throw - } // end of method TabsToSpaces::Peek + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_sourceFiles + IL_0008: ret + } // end of method UpToDateTask::set_SourceFiles - // method line 578 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 429 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_TargetFiles () cil managed { - // Method begins at RVA 0xa7f0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xe72c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate NAnt.Core.Filters.TabsToSpaces::ReadChar - IL_0008: call instance int32 class NAnt.Core.Filters.TabsToSpaces::GetNextCharacter(class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_targetFiles + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TabsToSpaces::Read + IL_000d: ldloc.0 + IL_000e: ret + } // end of method UpToDateTask::get_TargetFiles - // method line 579 - .method private hidebysig - instance default int32 GetNextCharacter (class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate AcquireChar) cil managed + // method line 430 + .method public hidebysig specialname + instance default void set_TargetFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xa814 - // Code size 84 (0x54) - .maxstack 3 - .locals init ( - int32 V_0, - int32 V_1) + // Method begins at RVA 0xe747 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining - IL_0007: brtrue IL_003b + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_targetFiles + IL_0008: ret + } // end of method UpToDateTask::set_TargetFiles - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: callvirt instance int32 class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate::Invoke() - IL_0013: stloc.0 - IL_0014: ldloc.0 - IL_0015: ldc.i4.s 0x09 - IL_0017: bne.un IL_0033 + // method line 431 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xe754 + // Code size 169 (0xa9) + .maxstack 7 + .locals init ( + bool V_0, + class [mscorlib]System.IO.FileInfo V_1, + string V_2, + bool V_3) + IL_0000: nop + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_targetFiles + IL_0009: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet::get_MostRecentLastWriteTimeFile() + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: brfalse IL_0020 - IL_001c: nop - IL_001d: ldarg.0 - IL_001e: ldarg.0 - IL_001f: call instance int32 class NAnt.Core.Filters.TabsToSpaces::get_TabLength() - IL_0024: ldc.i4.1 - IL_0025: sub - IL_0026: stfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining - IL_002b: ldc.i4.s 0x20 - IL_002d: stloc.1 - IL_002e: br IL_0052 + IL_0015: ldloc.1 + IL_0016: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001b: brtrue IL_0039 + IL_0020: nop + IL_0021: ldc.i4.0 + IL_0022: stloc.0 + IL_0023: ldarg.0 + IL_0024: ldc.i4 2000 + IL_0029: ldstr "Destination file(s) do(es) not exist." + IL_002e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) IL_0033: nop - IL_0034: ldloc.0 - IL_0035: stloc.1 - IL_0036: br IL_0052 + IL_0034: br IL_0087 - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: dup - IL_003e: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining - IL_0043: ldc.i4.1 - IL_0044: sub - IL_0045: stfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining - IL_004a: ldc.i4.s 0x20 - IL_004c: stloc.1 - IL_004d: br IL_0052 + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_sourceFiles + IL_0040: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0045: ldloc.1 + IL_0046: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_004b: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0050: stloc.2 + IL_0051: ldloc.2 + IL_0052: ldnull + IL_0053: ceq + IL_0055: ldc.i4.0 + IL_0056: ceq + IL_0058: stloc.3 + IL_0059: ldloc.3 + IL_005a: brfalse IL_0086 - IL_0052: ldloc.1 - IL_0053: ret - } // end of method TabsToSpaces::GetNextCharacter + IL_005f: nop + IL_0060: ldc.i4.0 + IL_0061: stloc.0 + IL_0062: ldarg.0 + IL_0063: ldc.i4 2000 + IL_0068: ldstr "{0} is newer than {1}." + IL_006d: ldc.i4.2 + IL_006e: newarr [mscorlib]System.Object + IL_0073: dup + IL_0074: ldc.i4.0 + IL_0075: ldloc.2 + IL_0076: stelem.ref + IL_0077: dup + IL_0078: ldc.i4.1 + IL_0079: ldloc.1 + IL_007a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_007f: stelem.ref + IL_0080: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0085: nop + IL_0086: nop + IL_0087: ldarg.0 + IL_0088: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_008d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0092: ldarg.0 + IL_0093: call instance string class NAnt.Core.Tasks.UpToDateTask::get_PropertyName() + IL_0098: ldloc.0 + IL_0099: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_009e: call string class [mscorlib]System.Convert::ToString(bool, class [mscorlib]System.IFormatProvider) + IL_00a3: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00a8: ret + } // end of method UpToDateTask::ExecuteTask - .property instance int32 TabLength () + .property instance string PropertyName () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 74 61 62 6C 65 6E 67 74 68 00 00 ) // ...tablength.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = ( - 01 00 02 00 54 08 08 4D 69 6E 56 61 6C 75 65 01 // ....T..MinValue. - 00 00 00 54 08 08 4D 61 78 56 61 6C 75 65 64 00 // ...T..MaxValued. - 00 00 ) // .. + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - .get instance default int32 NAnt.Core.Filters.TabsToSpaces::get_TabLength () - .set instance default void NAnt.Core.Filters.TabsToSpaces::set_TabLength (int32 'value') + .get instance default string NAnt.Core.Tasks.UpToDateTask::get_PropertyName () + .set instance default void NAnt.Core.Tasks.UpToDateTask::set_PropertyName (string 'value') } - .class nested private auto ansi sealed AcquireCharDelegate - extends [mscorlib]System.MulticastDelegate - { - - // method line 580 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::.ctor - - // method line 581 - .method public virtual hidebysig newslot - instance default int32 Invoke () runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::Invoke - - // method line 582 - .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 AcquireCharDelegate::BeginInvoke - - // method line 583 - .method public virtual hidebysig newslot - instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::EndInvoke + .property instance class NAnt.Core.Types.FileSet SourceFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 73 6F 75 72 63 65 66 69 6C 65 73 00 00 ) // ...sourcefiles.. - } // end of class AcquireCharDelegate + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::get_SourceFiles () + .set instance default void NAnt.Core.Tasks.UpToDateTask::set_SourceFiles (class NAnt.Core.Types.FileSet 'value') + } + .property instance class NAnt.Core.Types.FileSet TargetFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 74 61 72 67 65 74 66 69 6C 65 73 00 00 ) // ...targetfiles.. - } // end of class NAnt.Core.Filters.TabsToSpaces + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::get_TargetFiles () + .set instance default void NAnt.Core.Tasks.UpToDateTask::set_TargetFiles (class NAnt.Core.Types.FileSet 'value') + } + } // end of class NAnt.Core.Tasks.UpToDateTask } -.namespace NAnt.Core.Filters +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit ReplaceTokens - extends NAnt.Core.Filters.Filter + .class public auto ansi beforefieldinit TryCatchTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0D 72 65 70 6C 61 63 65 74 6F 6B 65 6E 73 // ...replacetokens - 00 00 ) // .. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 74 72 79 63 61 74 63 68 00 00 ) // ...trycatch.. - .field private char _beginToken - .field private char _endToken - .field private class NAnt.Core.Types.Token[] _tokens - .field private class [System]System.Collections.Specialized.StringDictionary _tokenValues - .field private class [mscorlib]System.Text.StringBuilder _tokenString - .field private int32 _maxTokenLength - .field private string _outputBuffer - .field private bool _endStreamAfterBuffer - .field private int32 _bufferPosition - .field private bool _unknownToken - .field private bool _tokenNotFound - .field private bool _ignoreCase - .field private class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate ReadChar + .field private class NAnt.Core.ElementContainer _tryBlock + .field private class NAnt.Core.Tasks.TryCatchTask/CatchElement _catchBlock + .field private class NAnt.Core.ElementContainer _finallyBlock - // method line 584 + // method line 432 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa874 - // Code size 48 (0x30) + // Method begins at RVA 0xe809 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.s 0x40 - IL_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_beginToken - IL_0008: ldarg.0 - IL_0009: ldc.i4.s 0x40 - IL_000b: stfld char NAnt.Core.Filters.ReplaceTokens::_endToken - IL_0010: ldarg.0 - IL_0011: newobj instance void class [System]System.Collections.Specialized.StringDictionary::'.ctor'() - IL_0016: stfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues - IL_001b: ldarg.0 - IL_001c: ldc.i4.1 - IL_001d: stfld bool NAnt.Core.Filters.ReplaceTokens::_unknownToken - IL_0022: ldarg.0 - IL_0023: ldc.i4.1 - IL_0024: stfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound - IL_0029: ldarg.0 - IL_002a: call instance void class NAnt.Core.Filters.Filter::'.ctor'() - IL_002f: ret - } // end of method ReplaceTokens::.ctor + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method TryCatchTask::.ctor - // method line 585 + // method line 433 .method public hidebysig specialname - instance default char get_BeginToken () cil managed + instance default class NAnt.Core.ElementContainer get_TryBlock () cil managed { - // Method begins at RVA 0xa8a8 + // Method begins at RVA 0xe814 // Code size 15 (0xf) .maxstack 1 .locals init ( - char V_0) + class NAnt.Core.ElementContainer V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld char NAnt.Core.Filters.ReplaceTokens::_beginToken + IL_0002: ldfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_tryBlock IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ReplaceTokens::get_BeginToken + } // end of method TryCatchTask::get_TryBlock - // method line 586 + // method line 434 .method public hidebysig specialname - instance default void set_BeginToken (char 'value') cil managed + instance default void set_TryBlock (class NAnt.Core.ElementContainer 'value') cil managed { - // Method begins at RVA 0xa8c3 + // Method begins at RVA 0xe82f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_beginToken + IL_0003: stfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_tryBlock IL_0008: ret - } // end of method ReplaceTokens::set_BeginToken + } // end of method TryCatchTask::set_TryBlock - // method line 587 + // method line 435 .method public hidebysig specialname - instance default char get_EndToken () cil managed + instance default class NAnt.Core.Tasks.TryCatchTask/CatchElement get_CatchBlock () cil managed { - // Method begins at RVA 0xa8d0 + // Method begins at RVA 0xe83c // Code size 15 (0xf) .maxstack 1 .locals init ( - char V_0) + class NAnt.Core.Tasks.TryCatchTask/CatchElement V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld char NAnt.Core.Filters.ReplaceTokens::_endToken + IL_0002: ldfld class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::_catchBlock IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ReplaceTokens::get_EndToken + } // end of method TryCatchTask::get_CatchBlock - // method line 588 + // method line 436 .method public hidebysig specialname - instance default void set_EndToken (char 'value') cil managed + instance default void set_CatchBlock (class NAnt.Core.Tasks.TryCatchTask/CatchElement 'value') cil managed { - // Method begins at RVA 0xa8eb + // Method begins at RVA 0xe857 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_endToken + IL_0003: stfld class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::_catchBlock IL_0008: ret - } // end of method ReplaceTokens::set_EndToken + } // end of method TryCatchTask::set_CatchBlock - // method line 589 + // method line 437 .method public hidebysig specialname - instance default class NAnt.Core.Types.Token[] get_Tokens () cil managed + instance default class NAnt.Core.ElementContainer get_FinallyBlock () cil managed { - // Method begins at RVA 0xa8f8 + // Method begins at RVA 0xe864 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.Token[] V_0) + class NAnt.Core.ElementContainer V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.Token[] NAnt.Core.Filters.ReplaceTokens::_tokens + IL_0002: ldfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_finallyBlock IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ReplaceTokens::get_Tokens + } // end of method TryCatchTask::get_FinallyBlock - // method line 590 + // method line 438 .method public hidebysig specialname - instance default void set_Tokens (class NAnt.Core.Types.Token[] 'value') cil managed + instance default void set_FinallyBlock (class NAnt.Core.ElementContainer 'value') cil managed { - // Method begins at RVA 0xa913 + // Method begins at RVA 0xe87f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.Token[] NAnt.Core.Filters.ReplaceTokens::_tokens + IL_0003: stfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_finallyBlock IL_0008: ret - } // end of method ReplaceTokens::set_Tokens + } // end of method TryCatchTask::set_FinallyBlock - // method line 591 - .method public hidebysig specialname - instance default bool get_IgnoreCase () cil managed + // method line 439 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xa920 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xe88c + // Code size 101 (0x65) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.BuildException V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Filters.ReplaceTokens::_ignoreCase - IL_0007: stloc.0 - IL_0008: br IL_000d + .try { // 1 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_TryBlock() + IL_0008: brfalse IL_001a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ReplaceTokens::get_IgnoreCase + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_TryBlock() + IL_0014: callvirt instance void class NAnt.Core.ElementContainer::Execute() + IL_0019: nop + IL_001a: nop + IL_001b: leave IL_0064 - // method line 592 - .method public hidebysig specialname - instance default void set_IgnoreCase (bool 'value') cil managed - { - // Method begins at RVA 0xa93b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Filters.ReplaceTokens::_ignoreCase - IL_0008: ret - } // end of method ReplaceTokens::set_IgnoreCase + } // end .try 0 + catch class NAnt.Core.BuildException { // 0 + IL_0020: stloc.0 + IL_0021: nop + IL_0022: ldarg.0 + IL_0023: call instance class NAnt.Core.Tasks.TryCatchTask/CatchElement class NAnt.Core.Tasks.TryCatchTask::get_CatchBlock() + IL_0028: brfalse IL_0040 - // method line 593 - .method public virtual hidebysig - instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class NAnt.Core.Tasks.TryCatchTask/CatchElement class NAnt.Core.Tasks.TryCatchTask::get_CatchBlock() + IL_0034: ldloc.0 + IL_0035: callvirt instance void class NAnt.Core.Tasks.TryCatchTask/CatchElement::Catch(class NAnt.Core.BuildException) + IL_003a: nop + IL_003b: br IL_0043 + + IL_0040: nop + IL_0041: rethrow + IL_0043: nop + IL_0044: leave IL_0064 + + } // end handler 0 + } // end .try 1 + finally { // 1 + IL_0049: nop + IL_004a: ldarg.0 + IL_004b: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_FinallyBlock() + IL_0050: brfalse IL_0062 + + IL_0055: nop + IL_0056: ldarg.0 + IL_0057: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_FinallyBlock() + IL_005c: callvirt instance void class NAnt.Core.ElementContainer::Execute() + IL_0061: nop + IL_0062: nop + IL_0063: endfinally + } // end handler 1 + IL_0064: ret + } // end of method TryCatchTask::ExecuteTask + + .property instance class NAnt.Core.ElementContainer TryBlock () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 03 74 72 79 01 00 54 02 08 52 65 71 75 69 // ...try..T..Requi + 72 65 64 01 ) // red. + + .get instance default class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::get_TryBlock () + .set instance default void NAnt.Core.Tasks.TryCatchTask::set_TryBlock (class NAnt.Core.ElementContainer 'value') + } + .property instance class NAnt.Core.Tasks.TryCatchTask/CatchElement CatchBlock () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 05 63 61 74 63 68 01 00 54 02 08 52 65 71 // ...catch..T..Req + 75 69 72 65 64 00 ) // uired. + + .get instance default class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::get_CatchBlock () + .set instance default void NAnt.Core.Tasks.TryCatchTask::set_CatchBlock (class NAnt.Core.Tasks.TryCatchTask/CatchElement 'value') + } + .property instance class NAnt.Core.ElementContainer FinallyBlock () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 07 66 69 6E 61 6C 6C 79 01 00 54 02 08 52 // ...finally..T..R + 65 71 75 69 72 65 64 00 ) // equired. + + .get instance default class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::get_FinallyBlock () + .set instance default void NAnt.Core.Tasks.TryCatchTask::set_FinallyBlock (class NAnt.Core.ElementContainer 'value') + } + .class nested public auto ansi beforefieldinit CatchElement + extends NAnt.Core.ElementContainer + { + .field private string _property + + // method line 440 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa945 - // Code size 27 (0x1b) + // Method begins at RVA 0xe91c + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) - IL_0008: ldarg.0 - IL_0009: ldarg.0 - IL_000a: ldftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0010: newobj instance void class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate::'.ctor'(object, native int) - IL_0015: stfld class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate NAnt.Core.Filters.ReplaceTokens::ReadChar - IL_001a: ret - } // end of method ReplaceTokens::Chain + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.ElementContainer::'.ctor'() + IL_0006: ret + } // end of method CatchElement::.ctor - // method line 594 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 441 + .method public hidebysig specialname + instance default string get_Property () cil managed { - // Method begins at RVA 0xa964 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xe924 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate NAnt.Core.Filters.ReplaceTokens::ReadChar - IL_0008: call instance int32 class NAnt.Core.Filters.ReplaceTokens::GetNextCharacter(class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld string NAnt.Core.Tasks.TryCatchTask/CatchElement::_property + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ReplaceTokens::Read + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CatchElement::get_Property - // method line 595 - .method public virtual hidebysig - instance default int32 Peek () cil managed + // method line 442 + .method public hidebysig specialname + instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0xa985 - // Code size 17 (0x11) + // Method begins at RVA 0xe93f + // Code size 14 (0xe) .maxstack 8 IL_0000: nop - IL_0001: ldstr "String_PeekNotSupported" - IL_0006: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_000b: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_0010: throw - } // end of method ReplaceTokens::Peek + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.TryCatchTask/CatchElement::_property + IL_000d: ret + } // end of method CatchElement::set_Property - // method line 596 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 443 + .method public hidebysig + instance default void Catch (class NAnt.Core.BuildException be) cil managed { - // Method begins at RVA 0xa998 - // Code size 190 (0xbe) - .maxstack 4 + // Method begins at RVA 0xe950 + // Code size 182 (0xb6) + .maxstack 3 .locals init ( - class NAnt.Core.Types.Token V_0, - class NAnt.Core.Types.Token[] V_1, - int32 V_2) + bool V_0, + string V_1) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.Core.Types.Token[] class NAnt.Core.Filters.ReplaceTokens::get_Tokens() - IL_0008: stloc.1 - IL_0009: ldc.i4.0 - IL_000a: stloc.2 - IL_000b: br IL_0072 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldarg.0 + IL_0006: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() + IL_000b: brfalse IL_005c - IL_0010: ldloc.1 - IL_0011: ldloc.2 - IL_0012: ldelem.ref - IL_0013: stloc.0 - IL_0014: nop - IL_0015: ldloc.0 - IL_0016: callvirt instance bool class NAnt.Core.Types.Token::get_IfDefined() - IL_001b: brfalse IL_006d + IL_0010: nop + IL_0011: ldarg.0 + IL_0012: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0017: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_001c: ldarg.0 + IL_001d: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() + IL_0022: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0027: stloc.0 + IL_0028: ldarg.0 + IL_0029: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_002e: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0033: ldarg.0 + IL_0034: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() + IL_0039: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_003e: stloc.1 + IL_003f: ldarg.0 + IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0045: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_004a: ldarg.0 + IL_004b: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() + IL_0050: ldarg.1 + IL_0051: callvirt instance string class NAnt.Core.BuildException::get_RawMessage() + IL_0056: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_005b: nop + .try { // 0 + IL_005c: nop + IL_005d: ldarg.0 + IL_005e: callvirt instance void class NAnt.Core.ElementContainer::Execute() + IL_0063: nop + IL_0064: leave IL_00b5 - IL_0020: ldloc.0 - IL_0021: callvirt instance bool class NAnt.Core.Types.Token::get_UnlessDefined() - IL_0026: brtrue IL_006d + } // end .try 0 + finally { // 0 + IL_0069: nop + IL_006a: ldarg.0 + IL_006b: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() + IL_0070: brfalse IL_00b3 - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: ldfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues - IL_0032: ldloc.0 - IL_0033: callvirt instance string class NAnt.Core.Types.Token::get_Key() - IL_0038: ldloc.0 - IL_0039: callvirt instance string class NAnt.Core.Types.Token::get_Value() - IL_003e: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::Add(string, string) - IL_0043: ldloc.0 - IL_0044: callvirt instance string class NAnt.Core.Types.Token::get_Key() - IL_0049: callvirt instance int32 string::get_Length() - IL_004e: ldarg.0 - IL_004f: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength - IL_0054: ble IL_006c + IL_0075: nop + IL_0076: ldloc.0 + IL_0077: brtrue IL_0099 - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldloc.0 - IL_005c: callvirt instance string class NAnt.Core.Types.Token::get_Key() - IL_0061: callvirt instance int32 string::get_Length() - IL_0066: stfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength - IL_006b: nop - IL_006c: nop - IL_006d: nop - IL_006e: ldloc.2 - IL_006f: ldc.i4.1 - IL_0070: add - IL_0071: stloc.2 - IL_0072: ldloc.2 - IL_0073: ldloc.1 - IL_0074: ldlen - IL_0075: conv.i4 - IL_0076: blt IL_0010 + IL_007c: nop + IL_007d: ldarg.0 + IL_007e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0083: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0088: ldarg.0 + IL_0089: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() + IL_008e: callvirt instance void class NAnt.Core.PropertyDictionary::Remove(string) + IL_0093: nop + IL_0094: br IL_00b2 - IL_007b: ldarg.0 - IL_007c: ldfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues - IL_0081: callvirt instance int32 class [System]System.Collections.Specialized.StringDictionary::get_Count() - IL_0086: brtrue IL_00a2 + IL_0099: nop + IL_009a: ldarg.0 + IL_009b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00a0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00a5: ldarg.0 + IL_00a6: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() + IL_00ab: ldloc.1 + IL_00ac: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00b1: nop + IL_00b2: nop + IL_00b3: nop + IL_00b4: endfinally + } // end handler 0 + IL_00b5: ret + } // end of method CatchElement::Catch - IL_008b: nop - IL_008c: ldstr "String_OneOrMoreTokens" - IL_0091: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0096: ldarg.0 - IL_0097: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_009c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00a1: throw - IL_00a2: ldarg.0 - IL_00a3: ldarg.0 - IL_00a4: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength - IL_00a9: ldc.i4.1 - IL_00aa: add - IL_00ab: ldarg.0 - IL_00ac: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength - IL_00b1: ldc.i4.1 - IL_00b2: add - IL_00b3: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32, int32) - IL_00b8: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_00bd: ret - } // end of method ReplaceTokens::Initialize + .property instance string Property () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. - // method line 597 - .method private hidebysig - instance default string FindTokenContents ([out] bool& tokenNotFound, [out] bool& unknownToken, [out] bool& streamEnded) cil managed - { - // Method begins at RVA 0xaa64 - // Code size 385 (0x181) - .maxstack 3 - .locals init ( - int32 V_0, - char V_1, - bool V_2, - int32 V_3, - string V_4, - string V_5, - string V_6) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() - IL_0009: stloc.1 - IL_000a: ldc.i4.0 - IL_000b: stloc.2 - IL_000c: ldarg.1 - IL_000d: ldc.i4.0 - IL_000e: stind.i1 - IL_000f: ldarg.3 - IL_0010: ldc.i4.0 - IL_0011: stind.i1 - IL_0012: ldarg.2 - IL_0013: ldc.i4.1 - IL_0014: stind.i1 - IL_0015: ldarg.0 - IL_0016: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_001b: ldc.i4.0 - IL_001c: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) - IL_0021: br IL_00d1 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: ldc.i4.1 - IL_0029: add - IL_002a: stloc.0 - IL_002b: ldarg.0 - IL_002c: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0031: stloc.3 - IL_0032: ldloc.3 - IL_0033: conv.u2 - IL_0034: stloc.1 - IL_0035: ldloc.3 - IL_0036: ldc.i4.m1 - IL_0037: bne.un IL_0058 + .get instance default string NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property () + .set instance default void NAnt.Core.Tasks.TryCatchTask/CatchElement::set_Property (string 'value') + } + } // end of class CatchElement - IL_003c: nop - IL_003d: ldarg.1 - IL_003e: ldc.i4.1 - IL_003f: stind.i1 - IL_0040: ldarg.2 - IL_0041: ldc.i4.1 - IL_0042: stind.i1 - IL_0043: ldarg.3 - IL_0044: ldc.i4.1 - IL_0045: stind.i1 - IL_0046: ldarg.0 - IL_0047: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_004c: callvirt instance string object::ToString() - IL_0051: stloc.s 4 - IL_0053: br IL_017e + } // end of class NAnt.Core.Tasks.TryCatchTask +} - IL_0058: ldarg.0 - IL_0059: ldloc.1 - IL_005a: ldarg.0 - IL_005b: call instance char class NAnt.Core.Filters.ReplaceTokens::get_EndToken() - IL_0060: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) - IL_0065: brfalse IL_0072 +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit GetTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 67 65 74 00 00 ) // ...get.. - IL_006a: nop - IL_006b: ldc.i4.1 - IL_006c: stloc.2 - IL_006d: br IL_00dd + .field private string _src + .field private class [mscorlib]System.IO.FileInfo _destFile + .field private string _httpProxy + .field private class NAnt.Core.Types.Proxy _proxy + .field private int32 _timeout + .field private bool _useTimeStamp + .field private class NAnt.Core.Types.Credential _credentials + .field private class NAnt.Core.Types.FileSet _certificates - IL_0072: ldarg.0 - IL_0073: ldloc.1 - IL_0074: ldarg.0 - IL_0075: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() - IL_007a: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) - IL_007f: brfalse IL_00c1 + // method line 444 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xea24 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 100000 + IL_0006: stfld int32 NAnt.Core.Tasks.GetTask::_timeout + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0011: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::_certificates + IL_0016: ldarg.0 + IL_0017: call instance void class NAnt.Core.Task::'.ctor'() + IL_001c: ret + } // end of method GetTask::.ctor - IL_0084: ldarg.0 - IL_0085: ldarg.0 - IL_0086: call instance char class NAnt.Core.Filters.ReplaceTokens::get_EndToken() - IL_008b: ldarg.0 - IL_008c: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() - IL_0091: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) - IL_0096: brtrue IL_00c1 + // method line 445 + .method public hidebysig specialname + instance default string get_Source () cil managed + { + // Method begins at RVA 0xea44 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.GetTask::_src + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_009b: nop - IL_009c: ldarg.1 - IL_009d: ldc.i4.1 - IL_009e: stind.i1 - IL_009f: ldarg.2 - IL_00a0: ldc.i4.1 - IL_00a1: stind.i1 - IL_00a2: ldarg.0 - IL_00a3: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_00a8: ldloc.1 - IL_00a9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00ae: pop - IL_00af: ldarg.0 - IL_00b0: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_00b5: callvirt instance string object::ToString() - IL_00ba: stloc.s 4 - IL_00bc: br IL_017e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_Source - IL_00c1: nop - IL_00c2: ldarg.0 - IL_00c3: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_00c8: ldloc.1 - IL_00c9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00ce: pop - IL_00cf: nop - IL_00d0: nop - IL_00d1: ldloc.0 - IL_00d2: ldarg.0 - IL_00d3: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength - IL_00d8: ble IL_0026 + // method line 446 + .method public hidebysig specialname + instance default void set_Source (string 'value') cil managed + { + // Method begins at RVA 0xea5f + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.GetTask::_src + IL_000d: ret + } // end of method GetTask::set_Source - IL_00dd: ldloc.2 - IL_00de: brfalse IL_0165 + // method line 447 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_DestinationFile () cil managed + { + // Method begins at RVA 0xea70 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.GetTask::_destFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00e3: nop - IL_00e4: ldnull - IL_00e5: stloc.s 5 - IL_00e7: ldarg.0 - IL_00e8: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_00ed: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_00f2: brfalse IL_011a + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_DestinationFile - IL_00f7: nop - IL_00f8: ldarg.0 - IL_00f9: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_00fe: callvirt instance string object::ToString() - IL_0103: stloc.s 6 - IL_0105: ldarg.0 - IL_0106: ldfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues - IL_010b: ldloc.s 6 - IL_010d: callvirt instance string class [System]System.Collections.Specialized.StringDictionary::get_Item(string) - IL_0112: stloc.s 5 - IL_0114: nop - IL_0115: br IL_012f - - IL_011a: nop - IL_011b: ldarg.1 - IL_011c: ldc.i4.1 - IL_011d: stind.i1 - IL_011e: ldarg.2 - IL_011f: ldc.i4.1 - IL_0120: stind.i1 - IL_0121: ldloc.1 - IL_0122: ldc.i4.1 - IL_0123: newobj instance void string::'.ctor'(char, int32) - IL_0128: stloc.s 4 - IL_012a: br IL_017e - - IL_012f: ldloc.s 5 - IL_0131: brfalse IL_0146 - - IL_0136: nop - IL_0137: ldarg.1 - IL_0138: ldc.i4.0 - IL_0139: stind.i1 - IL_013a: ldarg.2 - IL_013b: ldc.i4.0 - IL_013c: stind.i1 - IL_013d: ldloc.s 5 - IL_013f: stloc.s 4 - IL_0141: br IL_017e - - IL_0146: nop - IL_0147: ldarg.1 - IL_0148: ldc.i4.1 - IL_0149: stind.i1 - IL_014a: ldarg.2 - IL_014b: ldc.i4.1 - IL_014c: stind.i1 - IL_014d: ldarg.0 - IL_014e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_0153: ldloc.1 - IL_0154: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0159: callvirt instance string object::ToString() - IL_015e: stloc.s 4 - IL_0160: br IL_017e - - IL_0165: nop - IL_0166: ldarg.1 - IL_0167: ldc.i4.1 - IL_0168: stind.i1 - IL_0169: ldarg.2 - IL_016a: ldc.i4.0 - IL_016b: stind.i1 - IL_016c: ldarg.0 - IL_016d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString - IL_0172: callvirt instance string object::ToString() - IL_0177: stloc.s 4 - IL_0179: br IL_017e - - IL_017e: ldloc.s 4 - IL_0180: ret - } // end of method ReplaceTokens::FindTokenContents - - // method line 598 - .method private hidebysig - instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate AcquireChar) cil managed + // method line 448 + .method public hidebysig specialname + instance default void set_DestinationFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xabf4 - // Code size 386 (0x182) - .maxstack 5 - .locals init ( - int32 V_0, - int32 V_1, - int32 V_2) + // Method begins at RVA 0xea8b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_0007: brtrue IL_001a - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0013: stloc.0 - IL_0014: nop - IL_0015: br IL_00ee - - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_0021: ldarg.0 - IL_0022: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_0027: callvirt instance int32 string::get_Length() - IL_002c: bge IL_00b7 - - IL_0031: nop - IL_0032: ldarg.0 - IL_0033: ldfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound - IL_0038: brfalse IL_008e - - IL_003d: ldarg.0 - IL_003e: ldfld bool NAnt.Core.Filters.ReplaceTokens::_unknownToken - IL_0043: brfalse IL_008e - - IL_0048: ldarg.0 - IL_0049: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_004e: ldarg.0 - IL_004f: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_0054: callvirt instance int32 string::get_Length() - IL_0059: ldc.i4.1 - IL_005a: sub - IL_005b: bne.un IL_008e - - IL_0060: nop - IL_0061: ldarg.0 - IL_0062: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_0067: ldarg.0 - IL_0068: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_006d: callvirt instance int32 string::get_Length() - IL_0072: ldc.i4.1 - IL_0073: sub - IL_0074: callvirt instance char string::get_Chars(int32) - IL_0079: stloc.0 - IL_007a: ldarg.0 - IL_007b: dup - IL_007c: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_0081: ldc.i4.1 - IL_0082: add - IL_0083: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_0088: nop - IL_0089: br IL_00b1 - - IL_008e: nop - IL_008f: ldarg.0 - IL_0090: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_0095: ldarg.0 - IL_0096: dup - IL_0097: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_009c: dup - IL_009d: stloc.1 - IL_009e: ldc.i4.1 - IL_009f: add - IL_00a0: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_00a5: ldloc.1 - IL_00a6: callvirt instance char string::get_Chars(int32) - IL_00ab: stloc.2 - IL_00ac: br IL_0180 - - IL_00b1: nop - IL_00b2: br IL_00ed - - IL_00b7: nop - IL_00b8: ldarg.0 - IL_00b9: ldnull - IL_00ba: stfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_00bf: ldarg.0 - IL_00c0: ldc.i4.0 - IL_00c1: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_00c6: ldarg.0 - IL_00c7: ldfld bool NAnt.Core.Filters.ReplaceTokens::_endStreamAfterBuffer - IL_00cc: brtrue IL_00e4 - - IL_00d1: nop - IL_00d2: ldarg.0 - IL_00d3: ldfld class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate NAnt.Core.Filters.ReplaceTokens::ReadChar - IL_00d8: callvirt instance int32 class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate::Invoke() - IL_00dd: stloc.0 - IL_00de: nop - IL_00df: br IL_00ec - - IL_00e4: nop - IL_00e5: ldc.i4.m1 - IL_00e6: stloc.2 - IL_00e7: br IL_0180 - - IL_00ec: nop - IL_00ed: nop - IL_00ee: ldarg.0 - IL_00ef: ldloc.0 - IL_00f0: ldarg.0 - IL_00f1: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() - IL_00f6: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) - IL_00fb: brfalse IL_0178 - - IL_0100: nop - IL_0101: ldarg.0 - IL_0102: ldarg.0 - IL_0103: ldarg.0 - IL_0104: ldflda bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound - IL_0109: ldarg.0 - IL_010a: ldflda bool NAnt.Core.Filters.ReplaceTokens::_unknownToken - IL_010f: ldarg.0 - IL_0110: ldflda bool NAnt.Core.Filters.ReplaceTokens::_endStreamAfterBuffer - IL_0115: call instance string class NAnt.Core.Filters.ReplaceTokens::FindTokenContents([out] bool&, [out] bool&, [out] bool&) - IL_011a: stfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_011f: ldarg.0 - IL_0120: ldfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound - IL_0125: brfalse IL_013e - - IL_012a: nop - IL_012b: ldarg.0 - IL_012c: ldc.i4.0 - IL_012d: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_0132: ldarg.0 - IL_0133: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() - IL_0138: stloc.2 - IL_0139: br IL_0180 - - IL_013e: nop - IL_013f: ldarg.0 - IL_0140: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_0145: callvirt instance int32 string::get_Length() - IL_014a: ldc.i4.0 - IL_014b: ble IL_016a - - IL_0150: nop - IL_0151: ldarg.0 - IL_0152: ldc.i4.1 - IL_0153: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition - IL_0158: ldarg.0 - IL_0159: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_015e: ldc.i4.0 - IL_015f: callvirt instance char string::get_Chars(int32) - IL_0164: stloc.2 - IL_0165: br IL_0180 - - IL_016a: nop - IL_016b: ldarg.0 - IL_016c: ldarg.1 - IL_016d: call instance int32 class NAnt.Core.Filters.ReplaceTokens::GetNextCharacter(class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate) - IL_0172: stloc.2 - IL_0173: br IL_0180 - - IL_0178: nop - IL_0179: ldloc.0 - IL_017a: stloc.2 - IL_017b: br IL_0180 - - IL_0180: ldloc.2 - IL_0181: ret - } // end of method ReplaceTokens::GetNextCharacter + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.GetTask::_destFile + IL_0008: ret + } // end of method GetTask::set_DestinationFile - // method line 599 - .method private hidebysig - instance default bool CompareCharacters (int32 char1, int32 char2) cil managed + // method line 449 + .method public hidebysig specialname + instance default string get_HttpProxy () cil managed { - // Method begins at RVA 0xad84 - // Code size 48 (0x30) - .maxstack 2 + // Method begins at RVA 0xea98 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Filters.ReplaceTokens::get_IgnoreCase() - IL_0007: brfalse IL_0023 - - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: conv.u2 - IL_000f: call char char::ToUpper(char) - IL_0014: ldarg.2 - IL_0015: conv.u2 - IL_0016: call char char::ToUpper(char) - IL_001b: ceq - IL_001d: stloc.0 - IL_001e: br IL_002e - - IL_0023: nop - IL_0024: ldarg.1 - IL_0025: ldarg.2 - IL_0026: ceq - IL_0028: stloc.0 - IL_0029: br IL_002e - - IL_002e: ldloc.0 - IL_002f: ret - } // end of method ReplaceTokens::CompareCharacters - - .property instance char BeginToken () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 62 65 67 69 6E 74 6F 6B 65 6E 00 00 ) // ...begintoken.. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default char NAnt.Core.Filters.ReplaceTokens::get_BeginToken () - .set instance default void NAnt.Core.Filters.ReplaceTokens::set_BeginToken (char 'value') - } - .property instance char EndToken () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 64 74 6F 6B 65 6E 00 00 ) // ...endtoken.. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default char NAnt.Core.Filters.ReplaceTokens::get_EndToken () - .set instance default void NAnt.Core.Filters.ReplaceTokens::set_EndToken (char 'value') - } - .property instance class NAnt.Core.Types.Token[] Tokens () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 05 74 6F 6B 65 6E 00 00 ) // ...token.. - - .get instance default class NAnt.Core.Types.Token[] NAnt.Core.Filters.ReplaceTokens::get_Tokens () - .set instance default void NAnt.Core.Filters.ReplaceTokens::set_Tokens (class NAnt.Core.Types.Token[] 'value') - } - .property instance bool IgnoreCase () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 69 67 6E 6F 72 65 63 61 73 65 01 00 54 // ...ignorecase..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0002: ldfld string NAnt.Core.Tasks.GetTask::_httpProxy + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default bool NAnt.Core.Filters.ReplaceTokens::get_IgnoreCase () - .set instance default void NAnt.Core.Filters.ReplaceTokens::set_IgnoreCase (bool 'value') - } - .class nested private auto ansi sealed AcquireCharDelegate - extends [mscorlib]System.MulticastDelegate - { + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_HttpProxy - // method line 600 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed + // method line 450 + .method public hidebysig specialname + instance default void set_HttpProxy (string 'value') cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::.ctor + // Method begins at RVA 0xeab3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.GetTask::_httpProxy + IL_0008: ret + } // end of method GetTask::set_HttpProxy - // method line 601 - .method public virtual hidebysig newslot - instance default int32 Invoke () runtime managed + // method line 451 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Proxy get_Proxy () cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::Invoke + // Method begins at RVA 0xeac0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.Proxy V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.GetTask::_proxy + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 602 - .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 AcquireCharDelegate::BeginInvoke + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_Proxy - // method line 603 - .method public virtual hidebysig newslot - instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + // method line 452 + .method public hidebysig specialname + instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method AcquireCharDelegate::EndInvoke - - } // end of class AcquireCharDelegate - - } // end of class NAnt.Core.Filters.ReplaceTokens -} + // Method begins at RVA 0xeadb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.GetTask::_proxy + IL_0008: ret + } // end of method GetTask::set_Proxy -.namespace NAnt.Core.Filters -{ - .class public auto ansi beforefieldinit ExpandProperties - extends NAnt.Core.Filters.Filter - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 10 65 78 70 61 6E 64 70 72 6F 70 65 72 74 // ...expandpropert - 69 65 73 00 00 ) // ies.. + // method line 453 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Credential get_Credentials () cil managed + { + // Method begins at RVA 0xeae8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.Credential V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.Credential NAnt.Core.Tasks.GetTask::_credentials + IL_0007: stloc.0 + IL_0008: br IL_000d - .field private class [mscorlib]System.Text.StringBuilder _buffer - .field private static literal unsigned int16 MAX_RELIABLE_EXPRESSION_LENGTH = int16(0x00000800) - .field private static literal int32 BUFFER_LENGTH = int32(0x00000fff) + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_Credentials - // method line 604 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 454 + .method public hidebysig specialname + instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed { - // Method begins at RVA 0xadc0 - // Code size 7 (0x7) + // Method begins at RVA 0xeb03 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Filters.Filter::'.ctor'() - IL_0006: ret - } // end of method ExpandProperties::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.Credential NAnt.Core.Tasks.GetTask::_credentials + IL_0008: ret + } // end of method GetTask::set_Credentials - // method line 605 - .method private hidebysig specialname - instance default bool get_AtEnd () cil managed + // method line 455 + .method public hidebysig specialname + instance default bool get_IgnoreErrors () cil managed { - // Method begins at RVA 0xadc8 - // Code size 23 (0x17) - .maxstack 2 + // Method begins at RVA 0xeb10 + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_0007: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: br IL_0015 + IL_0002: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0015: ldloc.0 - IL_0016: ret - } // end of method ExpandProperties::get_AtEnd + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_IgnoreErrors - // method line 606 - .method public virtual hidebysig - instance default void InitializeFilter () cil managed + // method line 456 + .method public hidebysig specialname + instance default void set_IgnoreErrors (bool 'value') cil managed { - // Method begins at RVA 0xadeb - // Code size 24 (0x18) + // Method begins at RVA 0xeb2b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 4095 - IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) - IL_000c: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_0011: ldarg.0 - IL_0012: call instance void class NAnt.Core.Filters.ExpandProperties::ReplenishBuffer() - IL_0017: ret - } // end of method ExpandProperties::InitializeFilter + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Task::set_FailOnError(bool) + IL_0008: ret + } // end of method GetTask::set_IgnoreErrors - // method line 607 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 457 + .method public hidebysig specialname + instance default bool get_UseTimeStamp () cil managed { - // Method begins at RVA 0xae04 - // Code size 36 (0x24) + // Method begins at RVA 0xeb38 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0, - int32 V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class NAnt.Core.Filters.ChainableReader::Peek() + IL_0002: ldfld bool NAnt.Core.Tasks.GetTask::_useTimeStamp IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() - IL_000e: brtrue IL_001b - - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: call instance void class NAnt.Core.Filters.ExpandProperties::Advance() - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: stloc.1 - IL_001d: br IL_0022 - - IL_0022: ldloc.1 - IL_0023: ret - } // end of method ExpandProperties::Read - - // method line 608 - .method public virtual hidebysig - instance default int32 Peek () cil managed - { - // Method begins at RVA 0xae34 - // Code size 41 (0x29) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() - IL_0007: brfalse IL_0014 - - IL_000c: nop - IL_000d: ldc.i4.m1 - IL_000e: stloc.0 - IL_000f: br IL_0027 - - IL_0014: nop - IL_0015: ldarg.0 - IL_0016: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_001b: ldc.i4.0 - IL_001c: callvirt instance char class [mscorlib]System.Text.StringBuilder::get_Chars(int32) - IL_0021: stloc.0 - IL_0022: br IL_0027 - - IL_0027: ldloc.0 - IL_0028: ret - } // end of method ExpandProperties::Peek - - // method line 609 - .method private hidebysig - instance default void Advance () cil managed - { - // Method begins at RVA 0xae6c - // Code size 73 (0x49) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() - IL_0007: brfalse IL_001d - - IL_000c: nop - IL_000d: ldstr "String_EndOfOutput" - IL_0012: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0017: newobj instance void class [mscorlib]System.IndexOutOfRangeException::'.ctor'(string) - IL_001c: throw - IL_001d: ldarg.0 - IL_001e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_0023: ldc.i4.0 - IL_0024: ldc.i4.1 - IL_0025: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Remove(int32, int32) - IL_002a: pop - IL_002b: ldarg.0 - IL_002c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_0031: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0036: ldc.i4 2047 - IL_003b: bne.un IL_0048 - - IL_0040: nop - IL_0041: ldarg.0 - IL_0042: call instance void class NAnt.Core.Filters.ExpandProperties::ReplenishBuffer() - IL_0047: nop - IL_0048: ret - } // end of method ExpandProperties::Advance - - // method line 610 - .method private hidebysig - instance default void ReplenishBuffer () cil managed - { - // Method begins at RVA 0xaec4 - // Code size 273 (0x111) - .maxstack 5 - .locals init ( - bool V_0, - int32 V_1, - string V_2, - int32 V_3, - int32 V_4, - string V_5) - IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0031 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_000f: stloc.1 - IL_0010: ldloc.1 - IL_0011: ldc.i4.m1 - IL_0012: beq IL_002c - - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_001e: ldloc.1 - IL_001f: conv.u2 - IL_0020: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0025: pop - IL_0026: nop - IL_0027: br IL_0030 - - IL_002c: nop - IL_002d: ldc.i4.0 - IL_002e: stloc.0 - IL_002f: nop - IL_0030: nop - IL_0031: ldarg.0 - IL_0032: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_0037: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_003c: ldc.i4 4095 - IL_0041: bge IL_004c - - IL_0046: ldloc.0 - IL_0047: brtrue IL_0008 - - IL_004c: ldarg.0 - IL_004d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_0052: callvirt instance string object::ToString() - IL_0057: stloc.2 - IL_0058: ldloc.2 - IL_0059: ldstr "${" - IL_005e: callvirt instance int32 string::LastIndexOf(string) - IL_0063: stloc.3 - IL_0064: ldloc.2 - IL_0065: ldc.i4.s 0x7d - IL_0067: callvirt instance int32 string::LastIndexOf(char) - IL_006c: stloc.s 4 - IL_006e: ldloc.s 4 - IL_0070: ldloc.3 - IL_0071: bge IL_00d7 - - IL_0076: nop - IL_0077: ldarg.0 - IL_0078: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_007d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0082: ldloc.2 - IL_0083: ldc.i4.0 - IL_0084: ldloc.3 - IL_0085: callvirt instance string string::Substring(int32, int32) - IL_008a: ldarg.0 - IL_008b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0090: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_0095: stloc.s 5 - IL_0097: ldloc.2 - IL_0098: ldloc.3 - IL_0099: callvirt instance string string::Substring(int32) - IL_009e: stloc.2 - IL_009f: ldarg.0 - IL_00a0: ldloc.s 5 - IL_00a2: ldc.i4 4095 - IL_00a7: ldloc.s 5 - IL_00a9: callvirt instance int32 string::get_Length() - IL_00ae: ldloc.2 - IL_00af: callvirt instance int32 string::get_Length() - IL_00b4: add - IL_00b5: call int32 class [mscorlib]System.Math::Max(int32, int32) - IL_00ba: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string, int32) - IL_00bf: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_00c4: ldarg.0 - IL_00c5: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_00ca: ldloc.2 - IL_00cb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00d0: pop - IL_00d1: nop - IL_00d2: br IL_0110 - - IL_00d7: nop - IL_00d8: ldarg.0 - IL_00d9: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00de: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00e3: ldloc.2 - IL_00e4: ldarg.0 - IL_00e5: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00ea: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_00ef: stloc.s 5 - IL_00f1: ldarg.0 - IL_00f2: ldloc.s 5 - IL_00f4: ldc.i4 4095 - IL_00f9: ldloc.s 5 - IL_00fb: callvirt instance int32 string::get_Length() - IL_0100: call int32 class [mscorlib]System.Math::Max(int32, int32) - IL_0105: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string, int32) - IL_010a: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer - IL_010f: nop - IL_0110: ret - } // end of method ExpandProperties::ReplenishBuffer - - .property instance bool AtEnd () - { - .get instance default bool NAnt.Core.Filters.ExpandProperties::get_AtEnd () - } - } // end of class NAnt.Core.Filters.ExpandProperties -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed LocationType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Attributes.LocationType FrameworkDir = int32(0x00000000) - .field public static literal valuetype NAnt.Core.Attributes.LocationType FrameworkSdkDir = int32(0x00000001) - - } // end of class NAnt.Core.Attributes.LocationType -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi beforefieldinit ProgramLocationAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul - 74 69 70 6C 65 00 ) // tiple. - - .field private valuetype NAnt.Core.Attributes.LocationType _locationType - - // method line 611 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.Core.Attributes.LocationType 'type') cil managed - { - // Method begins at RVA 0xafe1 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Attributes.ProgramLocationAttribute::set_LocationType(valuetype NAnt.Core.Attributes.LocationType) - IL_000e: ret - } // end of method ProgramLocationAttribute::.ctor - - // method line 612 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Attributes.LocationType get_LocationType () cil managed - { - // Method begins at RVA 0xaff4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.Attributes.LocationType V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Attributes.LocationType NAnt.Core.Attributes.ProgramLocationAttribute::_locationType - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProgramLocationAttribute::get_LocationType + } // end of method GetTask::get_UseTimeStamp - // method line 613 + // method line 458 .method public hidebysig specialname - instance default void set_LocationType (valuetype NAnt.Core.Attributes.LocationType 'value') cil managed + instance default void set_UseTimeStamp (bool 'value') cil managed { - // Method begins at RVA 0xb00f + // Method begins at RVA 0xeb53 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Attributes.LocationType NAnt.Core.Attributes.ProgramLocationAttribute::_locationType - IL_0008: ret - } // end of method ProgramLocationAttribute::set_LocationType - - .property instance valuetype NAnt.Core.Attributes.LocationType LocationType () - { - .get instance default valuetype NAnt.Core.Attributes.LocationType NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType () - .set instance default void NAnt.Core.Attributes.ProgramLocationAttribute::set_LocationType (valuetype NAnt.Core.Attributes.LocationType 'value') - } - } // end of class NAnt.Core.Attributes.ProgramLocationAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi beforefieldinit BuildElementArrayAttribute - extends NAnt.Core.Attributes.BuildElementAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. - - .field private class [mscorlib]System.Type _elementType - - // method line 614 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xb0e9 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) - IL_0007: nop + IL_0003: stfld bool NAnt.Core.Tasks.GetTask::_useTimeStamp IL_0008: ret - } // end of method BuildElementArrayAttribute::.ctor + } // end of method GetTask::set_UseTimeStamp - // method line 615 + // method line 459 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_ElementType () cil managed + instance default int32 get_Timeout () cil managed { - // Method begins at RVA 0xb0f4 + // Method begins at RVA 0xeb60 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Attributes.BuildElementArrayAttribute::_elementType + IL_0002: ldfld int32 NAnt.Core.Tasks.GetTask::_timeout IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildElementArrayAttribute::get_ElementType + } // end of method GetTask::get_Timeout - // method line 616 + // method line 460 .method public hidebysig specialname - instance default void set_ElementType (class [mscorlib]System.Type 'value') cil managed + instance default void set_Timeout (int32 'value') cil managed { - // Method begins at RVA 0xb10f - // Code size 33 (0x21) + // Method begins at RVA 0xeb7b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldnull - IL_0003: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0008: brfalse IL_0019 - - IL_000d: nop - IL_000e: ldstr "ElementType" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: stfld class [mscorlib]System.Type NAnt.Core.Attributes.BuildElementArrayAttribute::_elementType - IL_0020: ret - } // end of method BuildElementArrayAttribute::set_ElementType - - .property instance class [mscorlib]System.Type ElementType () - { - .get instance default class [mscorlib]System.Type NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType () - .set instance default void NAnt.Core.Attributes.BuildElementArrayAttribute::set_ElementType (class [mscorlib]System.Type 'value') - } - } // end of class NAnt.Core.Attributes.BuildElementArrayAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit FunctionSetAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul - 74 69 70 6C 65 00 ) // tiple. - - .field private string _prefix - .field private string _category - - // method line 617 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string prefix, string category) cil managed - { - // Method begins at RVA 0xb134 - // Code size 126 (0x7e) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 - - IL_000d: nop - IL_000e: ldstr "prefix" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.2 - IL_001a: brtrue IL_002b - - IL_001f: nop - IL_0020: ldstr "category" - IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002a: throw - IL_002b: ldarg.1 - IL_002c: callvirt instance string string::Trim() - IL_0031: callvirt instance int32 string::get_Length() - IL_0036: brtrue IL_004d - - IL_003b: nop - IL_003c: ldstr "prefix" - IL_0041: ldarg.1 - IL_0042: ldstr "A zero-length string is not an allowed value." - IL_0047: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_004c: throw - IL_004d: ldarg.2 - IL_004e: callvirt instance string string::Trim() - IL_0053: callvirt instance int32 string::get_Length() - IL_0058: brtrue IL_006f - - IL_005d: nop - IL_005e: ldstr "category" - IL_0063: ldarg.2 - IL_0064: ldstr "A zero-length string is not an allowed value." - IL_0069: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_006e: throw - IL_006f: ldarg.0 - IL_0070: ldarg.1 - IL_0071: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix - IL_0076: ldarg.0 - IL_0077: ldarg.2 - IL_0078: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_category - IL_007d: ret - } // end of method FunctionSetAttribute::.ctor + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Tasks.GetTask::_timeout + IL_0008: ret + } // end of method GetTask::set_Timeout - // method line 618 + // method line 461 .method public hidebysig specialname - instance default string get_Category () cil managed + instance default class NAnt.Core.Types.FileSet get_Certificates () cil managed { - // Method begins at RVA 0xb1c0 + // Method begins at RVA 0xeb88 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.FunctionSetAttribute::_category + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::_certificates IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FunctionSetAttribute::get_Category + } // end of method GetTask::get_Certificates - // method line 619 + // method line 462 .method public hidebysig specialname - instance default void set_Category (string 'value') cil managed + instance default void set_Certificates (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xb1db + // Method begins at RVA 0xeba3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_category + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::_certificates IL_0008: ret - } // end of method FunctionSetAttribute::set_Category + } // end of method GetTask::set_Certificates - // method line 620 - .method public hidebysig specialname - instance default string get_Prefix () cil managed + // method line 463 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0xb1e8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0xebb0 + // Code size 116 (0x74) + .maxstack 2 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FunctionSetAttribute::get_Prefix + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brfalse IL_004b - // method line 621 - .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed - { - // Method begins at RVA 0xb203 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix - IL_0008: ret - } // end of method FunctionSetAttribute::set_Prefix + IL_0011: ldarg.0 + IL_0012: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001c: call valuetype [mscorlib]System.IO.FileAttributes class [mscorlib]System.IO.File::GetAttributes(string) + IL_0021: ldc.i4.1 + IL_0022: and + IL_0023: ldc.i4.1 + IL_0024: bne.un IL_004b - .property instance string Category () - { - .get instance default string NAnt.Core.Attributes.FunctionSetAttribute::get_Category () - .set instance default void NAnt.Core.Attributes.FunctionSetAttribute::set_Category (string 'value') - } - .property instance string Prefix () - { - .get instance default string NAnt.Core.Attributes.FunctionSetAttribute::get_Prefix () - .set instance default void NAnt.Core.Attributes.FunctionSetAttribute::set_Prefix (string 'value') - } - } // end of class NAnt.Core.Attributes.FunctionSetAttribute -} + IL_0029: nop + IL_002a: ldstr "Destination file '{0}' is read-only." + IL_002f: ldarg.0 + IL_0030: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0035: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_003a: call string string::Format(string, object) + IL_003f: ldarg.0 + IL_0040: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0045: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_004a: throw + IL_004b: ldarg.0 + IL_004c: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.GetTask::get_Proxy() + IL_0051: brfalse IL_0073 -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit TaskNameAttribute - extends NAnt.Core.Attributes.ElementNameAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul - 74 69 70 6C 65 00 ) // tiple. + IL_0056: ldarg.0 + IL_0057: call instance string class NAnt.Core.Tasks.GetTask::get_HttpProxy() + IL_005c: brfalse IL_0073 + IL_0061: nop + IL_0062: ldstr "The child element and the 'httpproxy' attribute are mutually exclusive." + IL_0067: ldarg.0 + IL_0068: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_006d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0072: throw + IL_0073: ret + } // end of method GetTask::Initialize - // method line 622 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed + // method line 464 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xb28a - // Code size 9 (0x9) + // Method begins at RVA 0xec30 + // Code size 989 (0x3dd) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) - IL_0007: nop - IL_0008: ret - } // end of method TaskNameAttribute::.ctor - - } // end of class NAnt.Core.Attributes.TaskNameAttribute -} + .locals init ( + valuetype [mscorlib]System.DateTime V_0, + class [System]System.Net.WebRequest V_1, + class [System]System.Net.WebResponse V_2, + class [mscorlib]System.IO.Stream V_3, + int32 V_4, + class [mscorlib]System.IO.IOException V_5, + class [mscorlib]System.IO.BinaryWriter V_6, + int32 V_7, + unsigned int8[] V_8, + int32 V_9, + int32 V_10, + int32 V_11, + class [System]System.Net.HttpWebResponse V_12, + valuetype [mscorlib]System.DateTime V_13, + class [System]System.Net.WebException V_14, + class [System]System.Net.HttpWebResponse V_15, + valuetype [mscorlib]System.DateTime V_16, + class [mscorlib]System.Exception V_17) + IL_0000: nop + .try { // 1 + IL_0001: nop + IL_0002: ldloca.s 0 + IL_0004: initobj [mscorlib]System.DateTime + IL_000a: ldarg.0 + IL_000b: call instance bool class NAnt.Core.Tasks.GetTask::get_UseTimeStamp() + IL_0010: brfalse IL_0058 -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit TaskAttributeAttribute - extends NAnt.Core.Attributes.BuildAttributeAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. + IL_0015: ldarg.0 + IL_0016: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_001b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0020: brfalse IL_0058 + IL_0025: nop + IL_0026: ldarg.0 + IL_0027: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_002c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0031: stloc.0 + IL_0032: ldarg.0 + IL_0033: ldc.i4 2000 + IL_0038: ldstr "Local file time stamp is {0}." + IL_003d: ldc.i4.1 + IL_003e: newarr [mscorlib]System.Object + IL_0043: dup + IL_0044: ldc.i4.0 + IL_0045: ldloca.s 0 + IL_0047: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004c: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_0051: stelem.ref + IL_0052: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: ldarg.0 + IL_005a: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_005f: ldloc.0 + IL_0060: call instance class [System]System.Net.WebRequest class NAnt.Core.Tasks.GetTask::GetWebRequest(string, valuetype [mscorlib]System.DateTime) + IL_0065: stloc.1 + IL_0066: ldloc.1 + IL_0067: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_006c: stloc.2 + IL_006d: ldnull + IL_006e: stloc.3 + IL_006f: ldc.i4.1 + IL_0070: stloc.s 4 + IL_0072: nop + IL_0073: nop + .try { // 0 + IL_0074: nop + IL_0075: ldloc.2 + IL_0076: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() + IL_007b: stloc.3 + IL_007c: leave IL_0107 - // method line 623 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xb395 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Attributes.BuildAttributeAttribute::'.ctor'(string) - IL_0007: nop - IL_0008: ret - } // end of method TaskAttributeAttribute::.ctor + } // end .try 0 + catch class [mscorlib]System.IO.IOException { // 0 + IL_0081: stloc.s 5 + IL_0083: nop + IL_0084: ldloc.s 4 + IL_0086: ldc.i4.3 + IL_0087: ble IL_00be - } // end of class NAnt.Core.Attributes.TaskAttributeAttribute -} + IL_008c: nop + IL_008d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0092: ldstr "NA1125" + IL_0097: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009c: ldarg.0 + IL_009d: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_00a2: ldarg.0 + IL_00a3: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_00a8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00ad: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00b2: ldarg.0 + IL_00b3: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00b8: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00bd: throw + IL_00be: nop + IL_00bf: ldarg.0 + IL_00c0: ldc.i4 4000 + IL_00c5: ldstr "Unable to open connection to '{0}' (try {1} of 3): " + IL_00ca: ldloc.s 5 + IL_00cc: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_00d1: call string string::Concat(string, string) + IL_00d6: ldc.i4.2 + IL_00d7: newarr [mscorlib]System.Object + IL_00dc: dup + IL_00dd: ldc.i4.0 + IL_00de: ldarg.0 + IL_00df: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_00e4: stelem.ref + IL_00e5: dup + IL_00e6: ldc.i4.1 + IL_00e7: ldloc.s 4 + IL_00e9: box [mscorlib]System.Int32 + IL_00ee: stelem.ref + IL_00ef: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00f4: nop + IL_00f5: nop + IL_00f6: leave IL_00fb -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit FrameworkConfigurableAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. + } // end handler 0 + IL_00fb: ldloc.s 4 + IL_00fd: ldc.i4.1 + IL_00fe: add + IL_00ff: stloc.s 4 + IL_0101: nop + IL_0102: br IL_0072 - .field private string _name - .field private bool _required - .field private bool _expandProperties + IL_0107: ldarg.0 + IL_0108: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_010d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0112: ldc.i4.2 + IL_0113: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) + IL_0118: newobj instance void class [mscorlib]System.IO.BinaryWriter::'.ctor'(class [mscorlib]System.IO.Stream) + IL_011d: stloc.s 6 + IL_011f: ldarg.0 + IL_0120: ldc.i4 3000 + IL_0125: ldstr "Retrieving '{0}' to '{1}'." + IL_012a: ldc.i4.2 + IL_012b: newarr [mscorlib]System.Object + IL_0130: dup + IL_0131: ldc.i4.0 + IL_0132: ldarg.0 + IL_0133: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_0138: stelem.ref + IL_0139: dup + IL_013a: ldc.i4.1 + IL_013b: ldarg.0 + IL_013c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0141: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0146: stelem.ref + IL_0147: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_014c: ldc.i4 102400 + IL_0151: stloc.s 7 + IL_0153: ldloc.s 7 + IL_0155: newarr [mscorlib]System.Byte + IL_015a: stloc.s 8 + IL_015c: ldc.i4.0 + IL_015d: stloc.s 9 + IL_015f: ldc.i4.0 + IL_0160: stloc.s 10 + IL_0162: ldc.i4.0 + IL_0163: stloc.s 11 + IL_0165: nop + IL_0166: ldloc.3 + IL_0167: ldloc.s 8 + IL_0169: ldc.i4.0 + IL_016a: ldloc.s 7 + IL_016c: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) + IL_0171: stloc.s 9 + IL_0173: ldloc.s 9 + IL_0175: brfalse IL_01ba - // method line 624 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xb39f - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties - IL_0007: ldarg.0 - IL_0008: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: call instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Name(string) - IL_0015: ret - } // end of method FrameworkConfigurableAttribute::.ctor + IL_017a: nop + IL_017b: ldloc.s 6 + IL_017d: ldloc.s 8 + IL_017f: ldc.i4.0 + IL_0180: ldloc.s 9 + IL_0182: callvirt instance void class [mscorlib]System.IO.BinaryWriter::Write(unsigned int8[], int32, int32) + IL_0187: ldloc.s 10 + IL_0189: ldloc.s 9 + IL_018b: add + IL_018c: stloc.s 10 + IL_018e: ldloc.s 11 + IL_0190: ldloc.s 9 + IL_0192: add + IL_0193: stloc.s 11 + IL_0195: ldarg.0 + IL_0196: callvirt instance bool class NAnt.Core.Task::get_Verbose() + IL_019b: brfalse IL_01b9 - // method line 625 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xb3b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.FrameworkConfigurableAttribute::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01a0: ldloc.s 11 + IL_01a2: ldloc.s 7 + IL_01a4: ble IL_01b9 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkConfigurableAttribute::get_Name + IL_01a9: nop + IL_01aa: ldloc.s 11 + IL_01ac: ldloc.s 10 + IL_01ae: bne.un IL_01b5 - // method line 626 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0xb3d4 - // Code size 66 (0x42) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_01b3: nop + IL_01b4: nop + IL_01b5: ldc.i4.0 + IL_01b6: stloc.s 11 + IL_01b8: nop + IL_01b9: nop + IL_01ba: nop + IL_01bb: ldloc.s 9 + IL_01bd: brtrue IL_0165 - IL_0007: nop - IL_0008: ldstr "name" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance string string::Trim() - IL_001a: stfld string NAnt.Core.Attributes.FrameworkConfigurableAttribute::_name - IL_001f: ldarg.0 - IL_0020: ldfld string NAnt.Core.Attributes.FrameworkConfigurableAttribute::_name - IL_0025: callvirt instance int32 string::get_Length() - IL_002a: brtrue IL_0041 + IL_01c2: ldloc.s 10 + IL_01c4: ldloc.s 7 + IL_01c6: ble IL_01dd - IL_002f: nop - IL_0030: ldstr "name" - IL_0035: ldarg.1 - IL_0036: ldstr "A zero-length string is not an allowed value." - IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_0040: throw - IL_0041: ret - } // end of method FrameworkConfigurableAttribute::set_Name + IL_01cb: nop + IL_01cc: ldarg.0 + IL_01cd: ldc.i4 2000 + IL_01d2: ldstr "" + IL_01d7: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_01dc: nop + IL_01dd: ldarg.0 + IL_01de: ldc.i4 2000 + IL_01e3: ldstr "Number of bytes read: {0}." + IL_01e8: ldc.i4.1 + IL_01e9: newarr [mscorlib]System.Object + IL_01ee: dup + IL_01ef: ldc.i4.0 + IL_01f0: ldloca.s 10 + IL_01f2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01f7: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_01fc: stelem.ref + IL_01fd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0202: ldloc.s 6 + IL_0204: callvirt instance void class [mscorlib]System.IO.BinaryWriter::Close() + IL_0209: ldloc.3 + IL_020a: callvirt instance void class [mscorlib]System.IO.Stream::Close() + IL_020f: ldarg.0 + IL_0210: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0215: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_021a: ldarg.0 + IL_021b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0220: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0225: brtrue IL_025c - // method line 627 - .method public hidebysig specialname - instance default bool get_Required () cil managed - { - // Method begins at RVA 0xb424 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_required - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_022a: nop + IL_022b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0230: ldstr "NA1125" + IL_0235: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_023a: ldarg.0 + IL_023b: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_0240: ldarg.0 + IL_0241: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0246: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_024b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0250: ldarg.0 + IL_0251: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0256: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_025b: throw + IL_025c: ldarg.0 + IL_025d: call instance bool class NAnt.Core.Tasks.GetTask::get_UseTimeStamp() + IL_0262: brfalse IL_02c3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkConfigurableAttribute::get_Required + IL_0267: nop + IL_0268: ldloc.1 + IL_0269: isinst [System]System.Net.HttpWebRequest + IL_026e: brfalse IL_02c2 - // method line 628 - .method public hidebysig specialname - instance default void set_Required (bool 'value') cil managed - { - // Method begins at RVA 0xb43f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_required - IL_0008: ret - } // end of method FrameworkConfigurableAttribute::set_Required + IL_0273: nop + IL_0274: ldloc.2 + IL_0275: castclass [System]System.Net.HttpWebResponse + IL_027a: stloc.s 12 + IL_027c: ldloc.s 12 + IL_027e: callvirt instance valuetype [mscorlib]System.DateTime class [System]System.Net.HttpWebResponse::get_LastModified() + IL_0283: stloc.s 13 + IL_0285: ldarg.0 + IL_0286: ldc.i4 2000 + IL_028b: ldstr "'{0}' last modified on {1}." + IL_0290: ldc.i4.2 + IL_0291: newarr [mscorlib]System.Object + IL_0296: dup + IL_0297: ldc.i4.0 + IL_0298: ldarg.0 + IL_0299: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_029e: stelem.ref + IL_029f: dup + IL_02a0: ldc.i4.1 + IL_02a1: ldloca.s 13 + IL_02a3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02a8: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_02ad: stelem.ref + IL_02ae: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_02b3: ldarg.0 + IL_02b4: ldarg.0 + IL_02b5: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_02ba: ldloc.s 13 + IL_02bc: call instance void class NAnt.Core.Tasks.GetTask::TouchFile(class [mscorlib]System.IO.FileInfo, valuetype [mscorlib]System.DateTime) + IL_02c1: nop + IL_02c2: nop + IL_02c3: nop + IL_02c4: leave IL_03dc - // method line 629 - .method public hidebysig specialname - instance default bool get_ExpandProperties () cil managed - { - // Method begins at RVA 0xb44c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 1 + catch class NAnt.Core.BuildException { // 1 + IL_02c9: pop + IL_02ca: nop + IL_02cb: rethrow + } // end handler 1 + catch class [System]System.Net.WebException { // 2 + IL_02cd: stloc.s 14 + IL_02cf: nop + IL_02d0: ldloc.s 14 + IL_02d2: callvirt instance valuetype [System]System.Net.WebExceptionStatus class [System]System.Net.WebException::get_Status() + IL_02d7: ldc.i4.7 + IL_02d8: bne.un IL_0372 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkConfigurableAttribute::get_ExpandProperties + IL_02dd: nop + IL_02de: ldloc.s 14 + IL_02e0: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebException::get_Response() + IL_02e5: castclass [System]System.Net.HttpWebResponse + IL_02ea: stloc.s 15 + IL_02ec: ldloc.s 15 + IL_02ee: callvirt instance valuetype [System]System.Net.HttpStatusCode class [System]System.Net.HttpWebResponse::get_StatusCode() + IL_02f3: ldc.i4 304 + IL_02f8: bne.un IL_033e - // method line 630 - .method public hidebysig specialname - instance default void set_ExpandProperties (bool 'value') cil managed - { - // Method begins at RVA 0xb467 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties - IL_0008: ret - } // end of method FrameworkConfigurableAttribute::set_ExpandProperties + IL_02fd: nop + IL_02fe: ldarg.0 + IL_02ff: ldc.i4 2000 + IL_0304: ldstr "'{0}' not downloaded. Not modified since {1}." + IL_0309: ldc.i4.2 + IL_030a: newarr [mscorlib]System.Object + IL_030f: dup + IL_0310: ldc.i4.0 + IL_0311: ldarg.0 + IL_0312: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_0317: stelem.ref + IL_0318: dup + IL_0319: ldc.i4.1 + IL_031a: ldarg.0 + IL_031b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_0320: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0325: stloc.s 16 + IL_0327: ldloca.s 16 + IL_0329: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_032e: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_0333: stelem.ref + IL_0334: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0339: leave IL_03dc - .property instance string Name () - { - .get instance default string NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name () - .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Name (string 'value') - } - .property instance bool Required () - { - .get instance default bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required () - .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Required (bool 'value') - } - .property instance bool ExpandProperties () - { - .get instance default bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_ExpandProperties () - .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_ExpandProperties (bool 'value') - } - } // end of class NAnt.Core.Attributes.FrameworkConfigurableAttribute -} + IL_033e: nop + IL_033f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0344: ldstr "NA1125" + IL_0349: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_034e: ldarg.0 + IL_034f: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_0354: ldarg.0 + IL_0355: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_035a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_035f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0364: ldarg.0 + IL_0365: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_036a: ldloc.s 14 + IL_036c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0371: throw + IL_0372: nop + IL_0373: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0378: ldstr "NA1125" + IL_037d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0382: ldarg.0 + IL_0383: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_0388: ldarg.0 + IL_0389: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_038e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0393: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0398: ldarg.0 + IL_0399: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_039e: ldloc.s 14 + IL_03a0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_03a5: throw + } // end handler 2 + catch class [mscorlib]System.Exception { // 3 + IL_03a6: stloc.s 17 + IL_03a8: nop + IL_03a9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03ae: ldstr "NA1125" + IL_03b3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03b8: ldarg.0 + IL_03b9: call instance string class NAnt.Core.Tasks.GetTask::get_Source() + IL_03be: ldarg.0 + IL_03bf: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() + IL_03c4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_03c9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_03ce: ldarg.0 + IL_03cf: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_03d4: ldloc.s 17 + IL_03d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_03db: throw + } // end handler 3 + IL_03dc: ret + } // end of method GetTask::ExecuteTask -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit BuildElementCollectionAttribute - extends NAnt.Core.Attributes.BuildElementArrayAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. + // method line 465 + .method family hidebysig + instance default void TouchFile (class [mscorlib]System.IO.FileInfo file, valuetype [mscorlib]System.DateTime touchDateTime) cil managed + { + // Method begins at RVA 0xf080 + // Code size 126 (0x7e) + .maxstack 8 + .locals init ( + class [mscorlib]System.Exception V_0) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0008: brfalse IL_0049 - .field private string _elementName + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldc.i4 2000 + IL_0014: ldstr "Touching file {0} with {1}." + IL_0019: ldc.i4.2 + IL_001a: newarr [mscorlib]System.Object + IL_001f: dup + IL_0020: ldc.i4.0 + IL_0021: ldarg.1 + IL_0022: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0027: stelem.ref + IL_0028: dup + IL_0029: ldc.i4.1 + IL_002a: ldarga.s 2 + IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0031: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_0036: stelem.ref + IL_0037: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_003c: ldarg.1 + IL_003d: ldarg.2 + IL_003e: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) + IL_0043: nop + IL_0044: br IL_0050 - // method line 631 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string collectionName, string childName) cil managed - { - // Method begins at RVA 0xb474 - // Code size 73 (0x49) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) - IL_0007: nop - IL_0008: ldarg.2 - IL_0009: brtrue IL_001a + IL_0049: nop + IL_004a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'() + IL_004f: throw + IL_0050: nop + IL_0051: leave IL_007d - IL_000e: nop - IL_000f: ldstr "childName" - IL_0014: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0019: throw - IL_001a: ldarg.0 - IL_001b: ldarg.2 - IL_001c: callvirt instance string string::Trim() - IL_0021: stfld string NAnt.Core.Attributes.BuildElementCollectionAttribute::_elementName - IL_0026: ldarg.0 - IL_0027: ldfld string NAnt.Core.Attributes.BuildElementCollectionAttribute::_elementName - IL_002c: callvirt instance int32 string::get_Length() - IL_0031: brtrue IL_0048 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0056: stloc.0 + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: ldc.i4 2000 + IL_005e: ldstr "Error: {0}." + IL_0063: ldc.i4.1 + IL_0064: newarr [mscorlib]System.Object + IL_0069: dup + IL_006a: ldc.i4.0 + IL_006b: ldloc.0 + IL_006c: callvirt instance string object::ToString() + IL_0071: stelem.ref + IL_0072: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0077: nop + IL_0078: leave IL_007d - IL_0036: nop - IL_0037: ldstr "childName" - IL_003c: ldarg.2 - IL_003d: ldstr "A zero-length string is not an allowed value." - IL_0042: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_0047: throw - IL_0048: ret - } // end of method BuildElementCollectionAttribute::.ctor + } // end handler 0 + IL_007d: ret + } // end of method GetTask::TouchFile - // method line 632 - .method public hidebysig specialname - instance default string get_ChildElementName () cil managed + // method line 466 + .method private hidebysig + instance default class [System]System.Net.WebRequest GetWebRequest (string url, valuetype [mscorlib]System.DateTime fileLastModified) cil managed { - // Method begins at RVA 0xb4cc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xf11c + // Code size 364 (0x16c) + .maxstack 2 .locals init ( - string V_0) + class [System]System.Net.WebRequest V_0, + class [System]System.Uri V_1, + class [System]System.Net.HttpWebRequest V_2, + valuetype [mscorlib]System.DateTime V_3, + valuetype [mscorlib]System.DateTime V_4, + valuetype [mscorlib]System.DateTime V_5, + string V_6, + class [System]System.Collections.Specialized.StringEnumerator V_7, + class [mscorlib]System.IDisposable V_8, + class [System]System.Net.WebRequest V_9) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.BuildElementCollectionAttribute::_elementName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.1 + IL_0004: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0009: stloc.1 + IL_000a: ldloc.1 + IL_000b: callvirt instance string class [System]System.Uri::get_Scheme() + IL_0010: ldsfld string [System]System.Uri::UriSchemeHttp + IL_0015: call bool string::op_Equality(string, string) + IL_001a: brtrue IL_0034 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildElementCollectionAttribute::get_ChildElementName + IL_001f: ldloc.1 + IL_0020: callvirt instance string class [System]System.Uri::get_Scheme() + IL_0025: ldsfld string [System]System.Uri::UriSchemeHttps + IL_002a: call bool string::op_Equality(string, string) + IL_002f: brfalse IL_00ed - .property instance string ChildElementName () + IL_0034: nop + IL_0035: ldloc.1 + IL_0036: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) + IL_003b: castclass [System]System.Net.HttpWebRequest + IL_0040: stloc.2 + IL_0041: ldarga.s 2 + IL_0043: ldloca.s 3 + IL_0045: initobj [mscorlib]System.DateTime + IL_004b: ldloc.3 + IL_004c: call instance bool valuetype [mscorlib]System.DateTime::Equals(valuetype [mscorlib]System.DateTime) + IL_0051: brtrue IL_007b + + IL_0056: nop + IL_0057: ldarga.s 2 + IL_0059: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::ToUniversalTime() + IL_005e: stloc.s 5 + IL_0060: ldloca.s 5 + IL_0062: ldc.r8 1. + IL_006b: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::AddSeconds(float64) + IL_0070: stloc.s 4 + IL_0072: ldloc.2 + IL_0073: ldloc.s 4 + IL_0075: callvirt instance void class [System]System.Net.HttpWebRequest::set_IfModifiedSince(valuetype [mscorlib]System.DateTime) + IL_007a: nop + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.GetTask::get_Certificates() + IL_0082: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0087: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_008c: stloc.s 7 + .try { // 0 + IL_008e: br IL_00b1 + + IL_0093: ldloc.s 7 + IL_0095: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_009a: stloc.s 6 + IL_009c: nop + IL_009d: ldloc.2 + IL_009e: callvirt instance class [System]System.Security.Cryptography.X509Certificates.X509CertificateCollection class [System]System.Net.HttpWebRequest::get_ClientCertificates() + IL_00a3: ldloc.s 6 + IL_00a5: call class [mscorlib]System.Security.Cryptography.X509Certificates.X509Certificate class [mscorlib]System.Security.Cryptography.X509Certificates.X509Certificate::CreateFromCertFile(string) + IL_00aa: callvirt instance int32 class [System]System.Security.Cryptography.X509Certificates.X509CertificateCollection::Add(class [mscorlib]System.Security.Cryptography.X509Certificates.X509Certificate) + IL_00af: pop + IL_00b0: nop + IL_00b1: ldloc.s 7 + IL_00b3: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00b8: brtrue IL_0093 + + IL_00bd: leave IL_00d9 + + } // end .try 0 + finally { // 0 + IL_00c2: ldloc.s 7 + IL_00c4: isinst [mscorlib]System.IDisposable + IL_00c9: dup + IL_00ca: stloc.s 8 + IL_00cc: brfalse IL_00d8 + + IL_00d1: ldloc.s 8 + IL_00d3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d8: endfinally + } // end handler 0 + IL_00d9: ldloc.2 + IL_00da: ldarg.0 + IL_00db: call instance int32 class NAnt.Core.Tasks.GetTask::get_Timeout() + IL_00e0: callvirt instance void class [System]System.Net.HttpWebRequest::set_ReadWriteTimeout(int32) + IL_00e5: ldloc.2 + IL_00e6: stloc.0 + IL_00e7: nop + IL_00e8: br IL_00f6 + + IL_00ed: nop + IL_00ee: ldloc.1 + IL_00ef: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) + IL_00f4: stloc.0 + IL_00f5: nop + IL_00f6: ldloc.0 + IL_00f7: ldarg.0 + IL_00f8: call instance int32 class NAnt.Core.Tasks.GetTask::get_Timeout() + IL_00fd: callvirt instance void class [System]System.Net.WebRequest::set_Timeout(int32) + IL_0102: ldarg.0 + IL_0103: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.GetTask::get_Proxy() + IL_0108: brfalse IL_0125 + + IL_010d: nop + IL_010e: ldloc.0 + IL_010f: ldarg.0 + IL_0110: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.GetTask::get_Proxy() + IL_0115: callvirt instance class [System]System.Net.IWebProxy class NAnt.Core.Types.Proxy::GetWebProxy() + IL_011a: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) + IL_011f: nop + IL_0120: br IL_0143 + + IL_0125: ldarg.0 + IL_0126: call instance string class NAnt.Core.Tasks.GetTask::get_HttpProxy() + IL_012b: brfalse IL_0143 + + IL_0130: nop + IL_0131: ldloc.0 + IL_0132: ldarg.0 + IL_0133: call instance string class NAnt.Core.Tasks.GetTask::get_HttpProxy() + IL_0138: newobj instance void class [System]System.Net.WebProxy::'.ctor'(string) + IL_013d: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) + IL_0142: nop + IL_0143: ldarg.0 + IL_0144: call instance class NAnt.Core.Types.Credential class NAnt.Core.Tasks.GetTask::get_Credentials() + IL_0149: brfalse IL_0161 + + IL_014e: nop + IL_014f: ldloc.0 + IL_0150: ldarg.0 + IL_0151: call instance class NAnt.Core.Types.Credential class NAnt.Core.Tasks.GetTask::get_Credentials() + IL_0156: callvirt instance class [System]System.Net.ICredentials class NAnt.Core.Types.Credential::GetCredential() + IL_015b: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) + IL_0160: nop + IL_0161: ldloc.0 + IL_0162: stloc.s 9 + IL_0164: br IL_0169 + + IL_0169: ldloc.s 9 + IL_016b: ret + } // end of method GetTask::GetWebRequest + + .property instance string Source () { - .get instance default string NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 73 72 63 01 00 54 02 08 52 65 71 75 69 // ...src..T..Requi + 72 65 64 01 ) // red. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Tasks.GetTask::get_Source () + .set instance default void NAnt.Core.Tasks.GetTask::set_Source (string 'value') } - } // end of class NAnt.Core.Attributes.BuildElementCollectionAttribute + .property instance class [mscorlib]System.IO.FileInfo DestinationFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 64 65 73 74 01 00 54 02 08 52 65 71 75 // ...dest..T..Requ + 69 72 65 64 01 ) // ired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.GetTask::get_DestinationFile () + .set instance default void NAnt.Core.Tasks.GetTask::set_DestinationFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string HttpProxy () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 68 74 74 70 70 72 6F 78 79 00 00 ) // ...httpproxy.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 26 55 73 65 20 74 68 65 20 3C 70 72 6F 78 // ..&Use the child element + 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // instead.... + + .get instance default string NAnt.Core.Tasks.GetTask::get_HttpProxy () + .set instance default void NAnt.Core.Tasks.GetTask::set_HttpProxy (string 'value') + } + .property instance class NAnt.Core.Types.Proxy Proxy () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. + + .get instance default class NAnt.Core.Types.Proxy NAnt.Core.Tasks.GetTask::get_Proxy () + .set instance default void NAnt.Core.Tasks.GetTask::set_Proxy (class NAnt.Core.Types.Proxy 'value') + } + .property instance class NAnt.Core.Types.Credential Credentials () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 63 72 65 64 65 6E 74 69 61 6C 73 00 00 ) // ...credentials.. + + .get instance default class NAnt.Core.Types.Credential NAnt.Core.Tasks.GetTask::get_Credentials () + .set instance default void NAnt.Core.Tasks.GetTask::set_Credentials (class NAnt.Core.Types.Credential 'value') + } + .property instance bool IgnoreErrors () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 69 67 6E 6F 72 65 65 72 72 6F 72 73 00 // ...ignoreerrors. + 00 ) // . + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 28 55 73 65 20 74 68 65 20 27 66 61 69 6C // ..(Use the 'fail + 6F 6E 65 72 72 6F 72 27 20 61 74 74 72 69 62 75 // onerror' attribu + 74 65 20 69 6E 73 74 65 61 64 2E 00 00 ) // te instead... + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.GetTask::get_IgnoreErrors () + .set instance default void NAnt.Core.Tasks.GetTask::set_IgnoreErrors (bool 'value') + } + .property instance bool UseTimeStamp () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 75 73 65 74 69 6D 65 73 74 61 6D 70 00 // ...usetimestamp. + 00 ) // . + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.GetTask::get_UseTimeStamp () + .set instance default void NAnt.Core.Tasks.GetTask::set_UseTimeStamp (bool 'value') + } + .property instance int32 Timeout () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 74 69 6D 65 6F 75 74 00 00 ) // ...timeout.. + + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default int32 NAnt.Core.Tasks.GetTask::get_Timeout () + .set instance default void NAnt.Core.Tasks.GetTask::set_Timeout (int32 'value') + } + .property instance class NAnt.Core.Types.FileSet Certificates () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0C 63 65 72 74 69 66 69 63 61 74 65 73 00 // ...certificates. + 00 ) // . + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::get_Certificates () + .set instance default void NAnt.Core.Tasks.GetTask::set_Certificates (class NAnt.Core.Types.FileSet 'value') + } + } // end of class NAnt.Core.Tasks.GetTask } -.namespace NAnt.Core.Attributes +.namespace NAnt.Core.Tasks { - .class public auto ansi sealed beforefieldinit StringValidatorAttribute - extends NAnt.Core.Attributes.ValidatorAttribute + .class public auto ansi beforefieldinit ExecTask + extends NAnt.Core.Tasks.ExternalProgramBase { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 78 65 63 00 00 ) // ...exec.. - .field private bool _allowEmpty - .field private string _expression - .field private string _expressionErrorMessage + .field private string _program + .field private string _commandline + .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory + .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory + .field private class [mscorlib]System.IO.FileInfo _output + .field private bool _outputAppend + .field private class NAnt.Core.Types.EnvironmentSet _environmentSet + .field private string _resultProperty + .field private string _processIdProperty - // method line 633 + // method line 467 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb4ef - // Code size 15 (0xf) + // Method begins at RVA 0xf2a4 + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method StringValidatorAttribute::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Tasks.ExecTask::_environmentSet + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0011: ret + } // end of method ExecTask::.ctor - // method line 634 + // method line 468 .method public hidebysig specialname - instance default bool get_AllowEmpty () cil managed + instance default string get_FileName () cil managed { - // Method begins at RVA 0xb500 + // Method begins at RVA 0xf2b8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty + IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_program IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringValidatorAttribute::get_AllowEmpty + } // end of method ExecTask::get_FileName - // method line 635 + // method line 469 .method public hidebysig specialname - instance default void set_AllowEmpty (bool 'value') cil managed + instance default void set_FileName (string 'value') cil managed { - // Method begins at RVA 0xb51b - // Code size 9 (0x9) + // Method begins at RVA 0xf2d3 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty - IL_0008: ret - } // end of method StringValidatorAttribute::set_AllowEmpty + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.ExecTask::_program + IL_000d: ret + } // end of method ExecTask::set_FileName - // method line 636 + // method line 470 .method public hidebysig specialname - instance default string get_Expression () cil managed + instance default string get_CommandLineArguments () cil managed { - // Method begins at RVA 0xb528 + // Method begins at RVA 0xf2e4 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.StringValidatorAttribute::_expression + IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_commandline IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringValidatorAttribute::get_Expression + } // end of method ExecTask::get_CommandLineArguments - // method line 637 + // method line 471 .method public hidebysig specialname - instance default void set_Expression (string 'value') cil managed + instance default void set_CommandLineArguments (string 'value') cil managed { - // Method begins at RVA 0xb543 - // Code size 9 (0x9) + // Method begins at RVA 0xf2ff + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Attributes.StringValidatorAttribute::_expression - IL_0008: ret - } // end of method StringValidatorAttribute::set_Expression + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.ExecTask::_commandline + IL_000d: ret + } // end of method ExecTask::set_CommandLineArguments - // method line 638 + // method line 472 .method public hidebysig specialname - instance default string get_ExpressionErrorMessage () cil managed + instance default class NAnt.Core.Types.EnvironmentSet get_EnvironmentSet () cil managed { - // Method begins at RVA 0xb550 + // Method begins at RVA 0xf310 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.EnvironmentSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.StringValidatorAttribute::_expressionErrorMessage + IL_0002: ldfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Tasks.ExecTask::_environmentSet IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringValidatorAttribute::get_ExpressionErrorMessage + } // end of method ExecTask::get_EnvironmentSet - // method line 639 + // method line 473 .method public hidebysig specialname - instance default void set_ExpressionErrorMessage (string 'value') cil managed - { - // Method begins at RVA 0xb56b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Attributes.StringValidatorAttribute::_expressionErrorMessage - IL_0008: ret - } // end of method StringValidatorAttribute::set_ExpressionErrorMessage - - // method line 640 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_WorkingDirectory () cil managed { - // Method begins at RVA 0xb578 - // Code size 203 (0xcb) - .maxstack 3 + // Method begins at RVA 0xf32c + // Code size 39 (0x27) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.Exception V_1, - string V_2) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call string class [mscorlib]System.Convert::ToString(object, class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: nop - IL_000f: leave IL_0037 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0014: stloc.1 - IL_0015: nop - IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001b: ldstr "NA1092" - IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0025: ldarg.1 - IL_0026: callvirt instance string object::ToString() - IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0030: ldloc.1 - IL_0031: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0036: throw - } // end handler 0 - IL_0037: ldloc.0 - IL_0038: call bool string::IsNullOrEmpty(string) - IL_003d: brfalse IL_005f - - IL_0042: nop - IL_0043: ldarg.0 - IL_0044: call instance bool class NAnt.Core.Attributes.StringValidatorAttribute::get_AllowEmpty() - IL_0049: brtrue IL_005a - - IL_004e: nop - IL_004f: ldstr "An empty value is not allowed." - IL_0054: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string) - IL_0059: throw - IL_005a: br IL_00ca - - IL_005f: ldarg.0 - IL_0060: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_Expression() - IL_0065: call bool string::IsNullOrEmpty(string) - IL_006a: brtrue IL_00ca - - IL_006f: nop - IL_0070: ldarg.1 - IL_0071: call string class [mscorlib]System.Convert::ToString(object) - IL_0076: ldarg.0 - IL_0077: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_Expression() - IL_007c: call bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string, string) - IL_0081: brtrue IL_00c9 - - IL_0086: nop - IL_0087: ldstr "String {0} does not match expression {1}." - IL_008c: ldarg.1 - IL_008d: ldarg.0 - IL_008e: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_Expression() - IL_0093: call string string::Format(string, object, object) - IL_0098: stloc.2 - IL_0099: ldarg.0 - IL_009a: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage() - IL_009f: brfalse IL_00c2 - - IL_00a4: ldsfld string [mscorlib]System.String::Empty - IL_00a9: ldarg.0 - IL_00aa: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage() - IL_00af: call bool string::op_Inequality(string, string) - IL_00b4: brfalse IL_00c2 - - IL_00b9: nop - IL_00ba: ldarg.0 - IL_00bb: call instance string class NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage() - IL_00c0: stloc.2 - IL_00c1: nop - IL_00c2: ldloc.2 - IL_00c3: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string) - IL_00c8: throw - IL_00c9: nop - IL_00ca: ret - } // end of method StringValidatorAttribute::Validate - - .property instance bool AllowEmpty () - { - .get instance default bool NAnt.Core.Attributes.StringValidatorAttribute::get_AllowEmpty () - .set instance default void NAnt.Core.Attributes.StringValidatorAttribute::set_AllowEmpty (bool 'value') - } - .property instance string Expression () - { - .get instance default string NAnt.Core.Attributes.StringValidatorAttribute::get_Expression () - .set instance default void NAnt.Core.Attributes.StringValidatorAttribute::set_Expression (string 'value') - } - .property instance string ExpressionErrorMessage () - { - .get instance default string NAnt.Core.Attributes.StringValidatorAttribute::get_ExpressionErrorMessage () - .set instance default void NAnt.Core.Attributes.StringValidatorAttribute::set_ExpressionErrorMessage (string 'value') - } - } // end of class NAnt.Core.Attributes.StringValidatorAttribute -} + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_workingDirectory + IL_0007: brtrue IL_0019 -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit FileSetAttribute - extends NAnt.Core.Attributes.BuildElementAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0013: stloc.0 + IL_0014: br IL_0025 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 4D 50 6C 65 61 73 65 20 75 73 65 20 61 20 // ..MPlease use a - 42 75 69 6C 64 45 6C 65 6D 65 6E 74 20 61 74 74 // BuildElement att - 72 69 62 75 74 65 20 69 6E 73 74 65 61 64 2E 20 // ribute instead. - 54 68 69 73 20 63 6C 61 73 73 20 77 69 6C 6C 20 // This class will - 62 65 20 72 65 6D 6F 76 65 64 20 73 6F 6F 6E 2E // be removed soon. - 01 00 00 ) // ... + IL_0019: ldarg.0 + IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_workingDirectory + IL_001f: stloc.0 + IL_0020: br IL_0025 + IL_0025: ldloc.0 + IL_0026: ret + } // end of method ExecTask::get_WorkingDirectory - // method line 641 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed + // method line 474 + .method public hidebysig specialname + instance default void set_WorkingDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0xb660 + // Method begins at RVA 0xf35f // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) - IL_0007: nop - IL_0008: ret - } // end of method FileSetAttribute::.ctor - - } // end of class NAnt.Core.Attributes.FileSetAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit BooleanValidatorAttribute - extends NAnt.Core.Attributes.ValidatorAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. - - - // method line 642 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xb66a - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method BooleanValidatorAttribute::.ctor - - // method line 643 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed - { - // Method begins at RVA 0xb674 - // Code size 56 (0x38) - .maxstack 3 - .locals init ( - class [mscorlib]System.Exception V_0) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call bool class [mscorlib]System.Convert::ToBoolean(object, class [mscorlib]System.IFormatProvider) - IL_000d: pop - IL_000e: nop - IL_000f: leave IL_0037 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0014: stloc.0 - IL_0015: nop - IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001b: ldstr "NA1088" - IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0025: ldarg.1 - IL_0026: callvirt instance string object::ToString() - IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0030: ldloc.0 - IL_0031: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0036: throw - } // end handler 0 - IL_0037: ret - } // end of method BooleanValidatorAttribute::Validate - - } // end of class NAnt.Core.Attributes.BooleanValidatorAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi beforefieldinit ElementNameAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul - 74 69 70 6C 65 00 ) // tiple. - - .field private string _name - - // method line 644 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xb20d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Attributes.ElementNameAttribute::set_Name(string) - IL_000e: ret - } // end of method ElementNameAttribute::.ctor - - // method line 645 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xb220 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.ElementNameAttribute::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ElementNameAttribute::get_Name - - // method line 646 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0xb23c - // Code size 66 (0x42) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "name" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance string string::Trim() - IL_001a: stfld string NAnt.Core.Attributes.ElementNameAttribute::_name - IL_001f: ldarg.0 - IL_0020: ldfld string NAnt.Core.Attributes.ElementNameAttribute::_name - IL_0025: callvirt instance int32 string::get_Length() - IL_002a: brtrue IL_0041 - - IL_002f: nop - IL_0030: ldstr "name" - IL_0035: ldarg.1 - IL_0036: ldstr "A zero-length string is not an allowed value." - IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_0040: throw - IL_0041: ret - } // end of method ElementNameAttribute::set_Name - - .property instance string Name () - { - .get instance default string NAnt.Core.Attributes.ElementNameAttribute::get_Name () - .set instance default void NAnt.Core.Attributes.ElementNameAttribute::set_Name (string 'value') - } - } // end of class NAnt.Core.Attributes.ElementNameAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit Int32ValidatorAttribute - extends NAnt.Core.Attributes.ValidatorAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. - - .field private int32 _minValue - .field private int32 _maxValue - .field private int32 _base - - // method line 647 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xb6c8 - // Code size 38 (0x26) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4 -2147483648 - IL_0006: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue - IL_000b: ldarg.0 - IL_000c: ldc.i4 2147483647 - IL_0011: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue - IL_0016: ldarg.0 - IL_0017: ldc.i4.s 0x0a - IL_0019: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base - IL_001e: ldarg.0 - IL_001f: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() - IL_0024: nop - IL_0025: ret - } // end of method Int32ValidatorAttribute::.ctor - - // method line 648 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 minValue, int32 maxValue) cil managed - { - // Method begins at RVA 0xb6ef - // Code size 52 (0x34) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4 -2147483648 - IL_0006: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue - IL_000b: ldarg.0 - IL_000c: ldc.i4 2147483647 - IL_0011: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue - IL_0016: ldarg.0 - IL_0017: ldc.i4.s 0x0a - IL_0019: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base - IL_001e: ldarg.0 - IL_001f: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() - IL_0024: nop - IL_0025: ldarg.0 - IL_0026: ldarg.1 - IL_0027: call instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::set_MinValue(int32) - IL_002c: ldarg.0 - IL_002d: ldarg.2 - IL_002e: call instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::set_MaxValue(int32) - IL_0033: ret - } // end of method Int32ValidatorAttribute::.ctor + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_workingDirectory + IL_0008: ret + } // end of method ExecTask::set_WorkingDirectory - // method line 649 + // method line 475 .method public hidebysig specialname - instance default int32 get_MinValue () cil managed + instance default string get_ResultProperty () cil managed { - // Method begins at RVA 0xb724 + // Method begins at RVA 0xf36c // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue + IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_resultProperty IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Int32ValidatorAttribute::get_MinValue + } // end of method ExecTask::get_ResultProperty - // method line 650 + // method line 476 .method public hidebysig specialname - instance default void set_MinValue (int32 'value') cil managed + instance default void set_ResultProperty (string 'value') cil managed { - // Method begins at RVA 0xb73f + // Method begins at RVA 0xf387 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue + IL_0003: stfld string NAnt.Core.Tasks.ExecTask::_resultProperty IL_0008: ret - } // end of method Int32ValidatorAttribute::set_MinValue + } // end of method ExecTask::set_ResultProperty - // method line 651 - .method public hidebysig specialname - instance default int32 get_MaxValue () cil managed + // method line 477 + .method public virtual hidebysig specialname + instance default bool get_UseRuntimeEngine () cil managed { - // Method begins at RVA 0xb74c + // Method begins at RVA 0xf394 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue + IL_0002: call instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_UseRuntimeEngine() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Int32ValidatorAttribute::get_MaxValue + } // end of method ExecTask::get_UseRuntimeEngine - // method line 652 - .method public hidebysig specialname - instance default void set_MaxValue (int32 'value') cil managed + // method line 478 + .method public virtual hidebysig specialname + instance default void set_UseRuntimeEngine (bool 'value') cil managed { - // Method begins at RVA 0xb767 + // Method begins at RVA 0xf3af // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue + IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::set_UseRuntimeEngine(bool) IL_0008: ret - } // end of method Int32ValidatorAttribute::set_MaxValue + } // end of method ExecTask::set_UseRuntimeEngine - // method line 653 - .method public hidebysig specialname - instance default int32 get_Base () cil managed + // method line 479 + .method public virtual hidebysig specialname + instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed { - // Method begins at RVA 0xb774 + // Method begins at RVA 0xf3bc // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + valuetype NAnt.Core.Types.ManagedExecution V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base + IL_0002: call instance valuetype NAnt.Core.Types.ManagedExecution class NAnt.Core.Tasks.ExternalProgramBase::get_Managed() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Int32ValidatorAttribute::get_Base + } // end of method ExecTask::get_Managed - // method line 654 - .method public hidebysig specialname - instance default void set_Base (int32 'value') cil managed + // method line 480 + .method public virtual hidebysig specialname + instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed { - // Method begins at RVA 0xb78f + // Method begins at RVA 0xf3d7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base + IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::set_Managed(valuetype NAnt.Core.Types.ManagedExecution) IL_0008: ret - } // end of method Int32ValidatorAttribute::set_Base + } // end of method ExecTask::set_Managed - // method line 655 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed + // method line 481 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed { - // Method begins at RVA 0xb79c - // Code size 173 (0xad) - .maxstack 5 + // Method begins at RVA 0xf3e4 + // Code size 127 (0x7f) + .maxstack 2 .locals init ( - int32 V_0, - class [mscorlib]System.Exception V_1) + string V_0, + string V_1) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: isinst [mscorlib]System.String - IL_0008: brfalse IL_0026 + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() + IL_0007: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_000c: brfalse IL_001e - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: castclass [mscorlib]System.String - IL_0014: ldarg.0 - IL_0015: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_Base() - IL_001a: call int32 class [mscorlib]System.Convert::ToInt32(string, int32) - IL_001f: stloc.0 - IL_0020: nop - IL_0021: br IL_0034 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() + IL_0018: stloc.0 + IL_0019: br IL_007d - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002d: call int32 class [mscorlib]System.Convert::ToInt32(object, class [mscorlib]System.IFormatProvider) - IL_0032: stloc.0 - IL_0033: nop - IL_0034: nop - IL_0035: leave IL_005d + IL_001e: ldarg.0 + IL_001f: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory + IL_0024: brtrue IL_005b - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_003a: stloc.1 - IL_003b: nop - IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0041: ldstr "NA1091" - IL_0046: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004b: ldarg.1 - IL_004c: callvirt instance string object::ToString() - IL_0051: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0056: ldloc.1 - IL_0057: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) - IL_005c: throw - } // end handler 0 - IL_005d: ldloc.0 - IL_005e: ldarg.0 - IL_005f: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MinValue() - IL_0064: blt IL_0075 + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0030: ldarg.0 + IL_0031: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() + IL_0036: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_003b: stloc.1 + IL_003c: ldloc.1 + IL_003d: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0042: brfalse IL_004f - IL_0069: ldloc.0 - IL_006a: ldarg.0 - IL_006b: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MaxValue() - IL_0070: ble IL_00ac - - IL_0075: nop - IL_0076: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007b: ldstr "NA1090" - IL_0080: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0085: ldarg.1 - IL_0086: callvirt instance string object::ToString() - IL_008b: ldarg.0 - IL_008c: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MinValue() - IL_0091: box [mscorlib]System.Int32 - IL_0096: ldarg.0 - IL_0097: call instance int32 class NAnt.Core.Attributes.Int32ValidatorAttribute::get_MaxValue() - IL_009c: box [mscorlib]System.Int32 - IL_00a1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_00a6: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string) - IL_00ab: throw - IL_00ac: ret - } // end of method Int32ValidatorAttribute::Validate - - .property instance int32 MinValue () - { - .get instance default int32 NAnt.Core.Attributes.Int32ValidatorAttribute::get_MinValue () - .set instance default void NAnt.Core.Attributes.Int32ValidatorAttribute::set_MinValue (int32 'value') - } - .property instance int32 MaxValue () - { - .get instance default int32 NAnt.Core.Attributes.Int32ValidatorAttribute::get_MaxValue () - .set instance default void NAnt.Core.Attributes.Int32ValidatorAttribute::set_MaxValue (int32 'value') - } - .property instance int32 Base () - { - .get instance default int32 NAnt.Core.Attributes.Int32ValidatorAttribute::get_Base () - .set instance default void NAnt.Core.Attributes.Int32ValidatorAttribute::set_Base (int32 'value') - } - } // end of class NAnt.Core.Attributes.Int32ValidatorAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit FunctionAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 40 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ..@.....T..Inher - 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul - 74 69 70 6C 65 00 ) // tiple. - - .field private string _name + IL_0047: nop + IL_0048: ldloc.1 + IL_0049: stloc.0 + IL_004a: br IL_007d - // method line 656 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xb868 - // Code size 67 (0x43) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 + IL_004f: ldarg.0 + IL_0050: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() + IL_0055: stloc.0 + IL_0056: br IL_007d - IL_000d: nop - IL_000e: ldstr "name" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.1 - IL_001a: callvirt instance string string::Trim() - IL_001f: callvirt instance int32 string::get_Length() - IL_0024: brtrue IL_003b + IL_005b: nop + IL_005c: ldarg.0 + IL_005d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0062: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0067: ldarg.0 + IL_0068: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() + IL_006d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0072: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0077: stloc.0 + IL_0078: br IL_007d - IL_0029: nop - IL_002a: ldstr "name" - IL_002f: ldarg.1 - IL_0030: ldstr "A zero-length string is not an allowed value." - IL_0035: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_003a: throw - IL_003b: ldarg.0 - IL_003c: ldarg.1 - IL_003d: stfld string NAnt.Core.Attributes.FunctionAttribute::_name - IL_0042: ret - } // end of method FunctionAttribute::.ctor + IL_007d: ldloc.0 + IL_007e: ret + } // end of method ExecTask::get_ProgramFileName - // method line 657 - .method public hidebysig specialname - instance default string get_Name () cil managed + // method line 482 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0xb8b8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xf470 + // Code size 80 (0x50) + .maxstack 4 .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.FunctionAttribute::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FunctionAttribute::get_Name - - // method line 658 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0xb8d3 - // Code size 9 (0x9) - .maxstack 8 + class [mscorlib]System.Exception V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Attributes.FunctionAttribute::_name - IL_0008: ret - } // end of method FunctionAttribute::set_Name - - .property instance string Name () - { - .get instance default string NAnt.Core.Attributes.FunctionAttribute::get_Name () - .set instance default void NAnt.Core.Attributes.FunctionAttribute::set_Name (string 'value') - } - } // end of class NAnt.Core.Attributes.FunctionAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi abstract beforefieldinit ValidatorAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. - - - // method line 659 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xb4e7 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: ret - } // end of method ValidatorAttribute::.ctor - - // method line 660 - .method public virtual hidebysig newslot abstract - instance default void Validate (object 'value') cil managed - { - // Method begins at RVA 0x0 - } // end of method ValidatorAttribute::Validate - - } // end of class NAnt.Core.Attributes.ValidatorAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi abstract beforefieldinit BuildAttributeAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. + IL_0002: call instance void class NAnt.Core.Task::Initialize() + .try { // 0 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() + IL_000e: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0013: brfalse IL_001a - .field private string _name - .field private bool _required - .field private bool _expandProperties - .field private bool _processXml + IL_0018: nop + IL_0019: nop + IL_001a: nop + IL_001b: leave IL_004f - // method line 661 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xb294 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_expandProperties - IL_0007: ldarg.0 - IL_0008: ldc.i4.1 - IL_0009: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_processXml - IL_000e: ldarg.0 - IL_000f: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0014: nop - IL_0015: ldarg.0 - IL_0016: ldarg.1 - IL_0017: call instance void class NAnt.Core.Attributes.BuildAttributeAttribute::set_Name(string) - IL_001c: ret - } // end of method BuildAttributeAttribute::.ctor + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0020: stloc.0 + IL_0021: nop + IL_0022: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0027: ldstr "NA1117" + IL_002c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0031: ldarg.0 + IL_0032: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() + IL_0037: ldarg.0 + IL_0038: callvirt instance string class NAnt.Core.Element::get_Name() + IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0042: ldarg.0 + IL_0043: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0048: ldloc.0 + IL_0049: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_004e: throw + } // end handler 0 + IL_004f: ret + } // end of method ExecTask::Initialize - // method line 662 - .method public hidebysig specialname - instance default string get_Name () cil managed + // method line 483 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0xb2b4 + // Method begins at RVA 0xf4dc // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.BuildAttributeAttribute::_name + IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_commandline IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildAttributeAttribute::get_Name - - // method line 663 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0xb2d0 - // Code size 66 (0x42) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "name" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance string string::Trim() - IL_001a: stfld string NAnt.Core.Attributes.BuildAttributeAttribute::_name - IL_001f: ldarg.0 - IL_0020: ldfld string NAnt.Core.Attributes.BuildAttributeAttribute::_name - IL_0025: callvirt instance int32 string::get_Length() - IL_002a: brtrue IL_0041 - - IL_002f: nop - IL_0030: ldstr "name" - IL_0035: ldarg.1 - IL_0036: ldstr "A zero-length string is not an allowed value." - IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_0040: throw - IL_0041: ret - } // end of method BuildAttributeAttribute::set_Name + } // end of method ExecTask::get_ProgramArguments - // method line 664 - .method public hidebysig specialname - instance default bool get_Required () cil managed + // method line 484 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0xb320 - // Code size 15 (0xf) + // Method begins at RVA 0xf4f8 + // Code size 39 (0x27) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_required - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory + IL_0007: brtrue IL_0019 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildAttributeAttribute::get_Required + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0013: stloc.0 + IL_0014: br IL_0025 - // method line 665 - .method public hidebysig specialname - instance default void set_Required (bool 'value') cil managed + IL_0019: ldarg.0 + IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory + IL_001f: stloc.0 + IL_0020: br IL_0025 + + IL_0025: ldloc.0 + IL_0026: ret + } // end of method ExecTask::get_BaseDirectory + + // method line 485 + .method public virtual hidebysig specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0xb33b + // Method begins at RVA 0xf52b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_required + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory IL_0008: ret - } // end of method BuildAttributeAttribute::set_Required + } // end of method ExecTask::set_BaseDirectory - // method line 666 - .method public hidebysig specialname - instance default bool get_ExpandProperties () cil managed + // method line 486 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed { - // Method begins at RVA 0xb348 + // Method begins at RVA 0xf538 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_expandProperties + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExecTask::_output IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildAttributeAttribute::get_ExpandProperties + } // end of method ExecTask::get_Output - // method line 667 - .method public hidebysig specialname - instance default void set_ExpandProperties (bool 'value') cil managed + // method line 487 + .method public virtual hidebysig specialname + instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xb363 + // Method begins at RVA 0xf553 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_expandProperties + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExecTask::_output IL_0008: ret - } // end of method BuildAttributeAttribute::set_ExpandProperties + } // end of method ExecTask::set_Output - // method line 668 - .method public hidebysig specialname - instance default bool get_ProcessXml () cil managed + // method line 488 + .method public virtual hidebysig specialname + instance default bool get_OutputAppend () cil managed { - // Method begins at RVA 0xb370 + // Method begins at RVA 0xf560 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_processXml + IL_0002: ldfld bool NAnt.Core.Tasks.ExecTask::_outputAppend IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildAttributeAttribute::get_ProcessXml + } // end of method ExecTask::get_OutputAppend - // method line 669 - .method public hidebysig specialname - instance default void set_ProcessXml (bool 'value') cil managed + // method line 489 + .method public virtual hidebysig specialname + instance default void set_OutputAppend (bool 'value') cil managed { - // Method begins at RVA 0xb38b + // Method begins at RVA 0xf57b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_processXml + IL_0003: stfld bool NAnt.Core.Tasks.ExecTask::_outputAppend IL_0008: ret - } // end of method BuildAttributeAttribute::set_ProcessXml - - .property instance string Name () - { - .get instance default string NAnt.Core.Attributes.BuildAttributeAttribute::get_Name () - .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_Name (string 'value') - } - .property instance bool Required () - { - .get instance default bool NAnt.Core.Attributes.BuildAttributeAttribute::get_Required () - .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_Required (bool 'value') - } - .property instance bool ExpandProperties () - { - .get instance default bool NAnt.Core.Attributes.BuildAttributeAttribute::get_ExpandProperties () - .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_ExpandProperties (bool 'value') - } - .property instance bool ProcessXml () - { - .get instance default bool NAnt.Core.Attributes.BuildAttributeAttribute::get_ProcessXml () - .set instance default void NAnt.Core.Attributes.BuildAttributeAttribute::set_ProcessXml (bool 'value') - } - } // end of class NAnt.Core.Attributes.BuildAttributeAttribute -} - -.namespace NAnt.Core.Attributes -{ - .class public auto ansi beforefieldinit BuildElementAttribute - extends [mscorlib]System.Attribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 C0 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. - - .field private string _name - .field private bool _required - .field private bool _processXml - - // method line 670 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xb019 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml - IL_0007: ldarg.0 - IL_0008: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: call instance void class NAnt.Core.Attributes.BuildElementAttribute::set_Name(string) - IL_0015: ret - } // end of method BuildElementAttribute::.ctor - - // method line 671 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xb030 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.BuildElementAttribute::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildElementAttribute::get_Name - - // method line 672 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0xb04c - // Code size 66 (0x42) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "name" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance string string::Trim() - IL_001a: stfld string NAnt.Core.Attributes.BuildElementAttribute::_name - IL_001f: ldarg.0 - IL_0020: ldfld string NAnt.Core.Attributes.BuildElementAttribute::_name - IL_0025: callvirt instance int32 string::get_Length() - IL_002a: brtrue IL_0041 - - IL_002f: nop - IL_0030: ldstr "name" - IL_0035: ldarg.1 - IL_0036: ldstr "A zero-length string is not an allowed value." - IL_003b: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_0040: throw - IL_0041: ret - } // end of method BuildElementAttribute::set_Name + } // end of method ExecTask::set_OutputAppend - // method line 673 - .method public hidebysig specialname - instance default bool get_Required () cil managed + // method line 490 + .method public virtual hidebysig specialname + instance default bool get_Spawn () cil managed { - // Method begins at RVA 0xb09c + // Method begins at RVA 0xf588 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.BuildElementAttribute::_required + IL_0002: call instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildElementAttribute::get_Required + } // end of method ExecTask::get_Spawn - // method line 674 - .method public hidebysig specialname - instance default void set_Required (bool 'value') cil managed + // method line 491 + .method public virtual hidebysig specialname + instance default void set_Spawn (bool 'value') cil managed { - // Method begins at RVA 0xb0b7 + // Method begins at RVA 0xf5a3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_required + IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::set_Spawn(bool) IL_0008: ret - } // end of method BuildElementAttribute::set_Required + } // end of method ExecTask::set_Spawn - // method line 675 + // method line 492 .method public hidebysig specialname - instance default bool get_ProcessXml () cil managed + instance default string get_ProcessIdProperty () cil managed { - // Method begins at RVA 0xb0c4 + // Method begins at RVA 0xf5b0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml + IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_processIdProperty IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildElementAttribute::get_ProcessXml + } // end of method ExecTask::get_ProcessIdProperty - // method line 676 + // method line 493 .method public hidebysig specialname - instance default void set_ProcessXml (bool 'value') cil managed + instance default void set_ProcessIdProperty (string 'value') cil managed { - // Method begins at RVA 0xb0df + // Method begins at RVA 0xf5cb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml + IL_0003: stfld string NAnt.Core.Tasks.ExecTask::_processIdProperty IL_0008: ret - } // end of method BuildElementAttribute::set_ProcessXml + } // end of method ExecTask::set_ProcessIdProperty - .property instance string Name () - { - .get instance default string NAnt.Core.Attributes.BuildElementAttribute::get_Name () - .set instance default void NAnt.Core.Attributes.BuildElementAttribute::set_Name (string 'value') - } - .property instance bool Required () - { - .get instance default bool NAnt.Core.Attributes.BuildElementAttribute::get_Required () - .set instance default void NAnt.Core.Attributes.BuildElementAttribute::set_Required (bool 'value') - } - .property instance bool ProcessXml () - { - .get instance default bool NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml () - .set instance default void NAnt.Core.Attributes.BuildElementAttribute::set_ProcessXml (bool 'value') - } - } // end of class NAnt.Core.Attributes.BuildElementAttribute -} + // method line 494 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xf5d8 + // Code size 117 (0x75) + .maxstack 4 + .locals init ( + int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.Core.Tasks.ExecTask::get_ResultProperty() + IL_000d: brfalse IL_0038 -.namespace NAnt.Core.Attributes -{ - .class public auto ansi sealed beforefieldinit DateTimeValidatorAttribute - extends NAnt.Core.Attributes.ValidatorAttribute - { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 00 00 01 00 54 02 09 49 6E 68 65 72 // ........T..Inher - 69 74 65 64 01 ) // ited. + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0019: ldarg.0 + IL_001a: call instance string class NAnt.Core.Tasks.ExecTask::get_ResultProperty() + IL_001f: ldarg.0 + IL_0020: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_ExitCode() + IL_0025: stloc.0 + IL_0026: ldloca.s 0 + IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002d: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_0032: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() + IL_003e: brfalse IL_0074 + IL_0043: ldarg.0 + IL_0044: call instance string class NAnt.Core.Tasks.ExecTask::get_ProcessIdProperty() + IL_0049: brfalse IL_0074 - // method line 677 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xb8dd - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method DateTimeValidatorAttribute::.ctor + IL_004e: nop + IL_004f: ldarg.0 + IL_0050: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0055: ldarg.0 + IL_0056: call instance string class NAnt.Core.Tasks.ExecTask::get_ProcessIdProperty() + IL_005b: ldarg.0 + IL_005c: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_ProcessId() + IL_0061: stloc.1 + IL_0062: ldloca.s 1 + IL_0064: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0069: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_006e: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0073: nop + IL_0074: ret + } // end of method ExecTask::ExecuteTask - // method line 678 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed + // method line 495 + .method family virtual hidebysig + instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed { - // Method begins at RVA 0xb8e8 - // Code size 56 (0x38) + // Method begins at RVA 0xf65c + // Code size 371 (0x173) .maxstack 3 .locals init ( - class [mscorlib]System.Exception V_0) + class NAnt.Core.Types.Option V_0, + class NAnt.Core.Types.OptionEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + class NAnt.Core.Types.EnvironmentVariable V_3, + class NAnt.Core.Types.EnvironmentVariableEnumerator V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) + IL_0008: ldarg.1 + IL_0009: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExecTask::get_WorkingDirectory() + IL_0014: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0019: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: call instance class NAnt.Core.Types.EnvironmentSet class NAnt.Core.Tasks.ExecTask::get_EnvironmentSet() + IL_0025: callvirt instance class NAnt.Core.Types.OptionCollection class NAnt.Core.Types.EnvironmentSet::get_Options() + IL_002a: callvirt instance class NAnt.Core.Types.OptionEnumerator class NAnt.Core.Types.OptionCollection::GetEnumerator() + IL_002f: stloc.1 .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(object, class [mscorlib]System.IFormatProvider) - IL_000d: pop - IL_000e: nop - IL_000f: leave IL_0037 + IL_0030: br IL_00a1 + + IL_0035: ldloc.1 + IL_0036: callvirt instance class NAnt.Core.Types.Option class NAnt.Core.Types.OptionEnumerator::get_Current() + IL_003b: stloc.0 + IL_003c: nop + IL_003d: ldloc.0 + IL_003e: callvirt instance bool class NAnt.Core.Types.Option::get_IfDefined() + IL_0043: brfalse IL_00a0 + + IL_0048: ldloc.0 + IL_0049: callvirt instance bool class NAnt.Core.Types.Option::get_UnlessDefined() + IL_004e: brtrue IL_00a0 + + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: callvirt instance string class NAnt.Core.Types.Option::get_Value() + IL_005a: brtrue IL_0081 + + IL_005f: nop + IL_0060: ldarg.1 + IL_0061: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0066: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() + IL_006b: ldloc.0 + IL_006c: callvirt instance string class NAnt.Core.Types.Option::get_OptionName() + IL_0071: ldstr "" + IL_0076: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) + IL_007b: nop + IL_007c: br IL_009f + + IL_0081: nop + IL_0082: ldarg.1 + IL_0083: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0088: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() + IL_008d: ldloc.0 + IL_008e: callvirt instance string class NAnt.Core.Types.Option::get_OptionName() + IL_0093: ldloc.0 + IL_0094: callvirt instance string class NAnt.Core.Types.Option::get_Value() + IL_0099: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) + IL_009e: nop + IL_009f: nop + IL_00a0: nop + IL_00a1: ldloc.1 + IL_00a2: callvirt instance bool class NAnt.Core.Types.OptionEnumerator::MoveNext() + IL_00a7: brtrue IL_0035 + + IL_00ac: leave IL_00c5 } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0014: stloc.0 - IL_0015: nop - IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001b: ldstr "NA1089" - IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0025: ldarg.1 - IL_0026: callvirt instance string object::ToString() - IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0030: ldloc.0 - IL_0031: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0036: throw + finally { // 0 + IL_00b1: ldloc.1 + IL_00b2: isinst [mscorlib]System.IDisposable + IL_00b7: dup + IL_00b8: stloc.2 + IL_00b9: brfalse IL_00c4 + + IL_00be: ldloc.2 + IL_00bf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c4: endfinally } // end handler 0 - IL_0037: ret - } // end of method DateTimeValidatorAttribute::Validate + IL_00c5: nop + IL_00c6: ldarg.0 + IL_00c7: call instance class NAnt.Core.Types.EnvironmentSet class NAnt.Core.Tasks.ExecTask::get_EnvironmentSet() + IL_00cc: callvirt instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Types.EnvironmentSet::get_EnvironmentVariables() + IL_00d1: callvirt instance class NAnt.Core.Types.EnvironmentVariableEnumerator class NAnt.Core.Types.EnvironmentVariableCollection::GetEnumerator() + IL_00d6: stloc.s 4 + .try { // 1 + IL_00d8: br IL_014a - } // end of class NAnt.Core.Attributes.DateTimeValidatorAttribute -} + IL_00dd: ldloc.s 4 + IL_00df: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current() + IL_00e4: stloc.3 + IL_00e5: nop + IL_00e6: ldloc.3 + IL_00e7: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_IfDefined() + IL_00ec: brfalse IL_0149 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit DnsFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 03 64 6E 73 03 44 4E 53 00 00 ) // ...dns.DNS.. + IL_00f1: ldloc.3 + IL_00f2: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() + IL_00f7: brtrue IL_0149 + IL_00fc: nop + IL_00fd: ldloc.3 + IL_00fe: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() + IL_0103: brtrue IL_012a - // method line 679 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xb971 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DnsFunctions::.ctor + IL_0108: nop + IL_0109: ldarg.1 + IL_010a: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_010f: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() + IL_0114: ldloc.3 + IL_0115: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() + IL_011a: ldstr "" + IL_011f: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) + IL_0124: nop + IL_0125: br IL_0148 - // method line 680 - .method public static hidebysig - default string GetHostName () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 68 6F 73 74 2D 6E 61 6D 65 // ...get-host-name - 00 00 ) // .. + IL_012a: nop + IL_012b: ldarg.1 + IL_012c: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() + IL_0131: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() + IL_0136: ldloc.3 + IL_0137: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() + IL_013c: ldloc.3 + IL_013d: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() + IL_0142: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) + IL_0147: nop + IL_0148: nop + IL_0149: nop + IL_014a: ldloc.s 4 + IL_014c: callvirt instance bool class NAnt.Core.Types.EnvironmentVariableEnumerator::MoveNext() + IL_0151: brtrue IL_00dd - // Method begins at RVA 0xb97c - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [System]System.Net.Dns::GetHostName() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0156: leave IL_0172 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method DnsFunctions::GetHostName + } // end .try 1 + finally { // 1 + IL_015b: ldloc.s 4 + IL_015d: isinst [mscorlib]System.IDisposable + IL_0162: dup + IL_0163: stloc.s 5 + IL_0165: brfalse IL_0171 - } // end of class NAnt.Core.Functions.DnsFunctions + IL_016a: ldloc.s 5 + IL_016c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0171: endfinally + } // end handler 1 + IL_0172: ret + } // end of method ExecTask::PrepareProcess + + .property instance string FileName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 70 72 6F 67 72 61 6D 01 00 54 02 08 52 // ...program..T..R + 65 71 75 69 72 65 64 01 ) // equired. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Tasks.ExecTask::get_FileName () + .set instance default void NAnt.Core.Tasks.ExecTask::set_FileName (string 'value') + } + .property instance string CommandLineArguments () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 63 6F 6D 6D 61 6E 64 6C 69 6E 65 00 00 ) // ...commandline.. + + .get instance default string NAnt.Core.Tasks.ExecTask::get_CommandLineArguments () + .set instance default void NAnt.Core.Tasks.ExecTask::set_CommandLineArguments (string 'value') + } + .property instance class NAnt.Core.Types.EnvironmentSet EnvironmentSet () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. + + .get instance default class NAnt.Core.Types.EnvironmentSet NAnt.Core.Tasks.ExecTask::get_EnvironmentSet () + } + .property instance class [mscorlib]System.IO.DirectoryInfo WorkingDirectory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 77 6F 72 6B 69 6E 67 64 69 72 00 00 ) // ...workingdir.. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::get_WorkingDirectory () + .set instance default void NAnt.Core.Tasks.ExecTask::set_WorkingDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance string ResultProperty () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 72 65 73 75 6C 74 70 72 6F 70 65 72 74 // ...resultpropert + 79 00 00 ) // y.. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Tasks.ExecTask::get_ResultProperty () + .set instance default void NAnt.Core.Tasks.ExecTask::set_ResultProperty (string 'value') + } + .property instance bool UseRuntimeEngine () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 75 73 65 72 75 6E 74 69 6D 65 65 6E 67 // ...useruntimeeng + 69 6E 65 00 00 ) // ine.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 37 55 73 65 20 74 68 65 20 6D 61 6E 61 67 // ..7Use the manag + 65 64 20 61 74 74 72 69 62 75 74 65 20 61 6E 64 // ed attribute and + 20 4D 61 6E 61 67 65 64 20 70 72 6F 70 65 72 74 // Managed propert + 79 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // y instead.... + + .get instance default bool NAnt.Core.Tasks.ExecTask::get_UseRuntimeEngine () + .set instance default void NAnt.Core.Tasks.ExecTask::set_UseRuntimeEngine (bool 'value') + } + .property instance valuetype NAnt.Core.Types.ManagedExecution Managed () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 61 6E 61 67 65 64 00 00 ) // ...managed.. + + .get instance default valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExecTask::get_Managed () + .set instance default void NAnt.Core.Tasks.ExecTask::set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') + } + .property instance string ProgramFileName () + { + .get instance default string NAnt.Core.Tasks.ExecTask::get_ProgramFileName () + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.Core.Tasks.ExecTask::get_ProgramArguments () + } + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 62 61 73 65 64 69 72 00 00 ) // ...basedir.. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::get_BaseDirectory () + .set instance default void NAnt.Core.Tasks.ExecTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo Output () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6F 75 74 70 75 74 00 00 ) // ...output.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExecTask::get_Output () + .set instance default void NAnt.Core.Tasks.ExecTask::set_Output (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance bool OutputAppend () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 61 70 70 65 6E 64 00 00 ) // ...append.. + + .get instance default bool NAnt.Core.Tasks.ExecTask::get_OutputAppend () + .set instance default void NAnt.Core.Tasks.ExecTask::set_OutputAppend (bool 'value') + } + .property instance bool Spawn () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 73 70 61 77 6E 00 00 ) // ...spawn.. + + .get instance default bool NAnt.Core.Tasks.ExecTask::get_Spawn () + .set instance default void NAnt.Core.Tasks.ExecTask::set_Spawn (bool 'value') + } + .property instance string ProcessIdProperty () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 70 69 64 70 72 6F 70 65 72 74 79 00 00 ) // ...pidproperty.. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Tasks.ExecTask::get_ProcessIdProperty () + .set instance default void NAnt.Core.Tasks.ExecTask::set_ProcessIdProperty (string 'value') + } + } // end of class NAnt.Core.Tasks.ExecTask } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit DirectoryFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit TStampTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 09 64 69 72 65 63 74 6F 72 79 09 44 69 72 // ...directory.Dir - 65 63 74 6F 72 79 00 00 ) // ectory.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 74 73 74 61 6D 70 00 00 ) // ...tstamp.. + .field private string _property + .field private string _pattern + .field private class NAnt.Core.Types.FormatterCollection _formatters - // method line 681 + // method line 496 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb996 - // Code size 10 (0xa) + // Method begins at RVA 0xf7f8 + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DirectoryFunctions::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.FormatterCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::_formatters + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method TStampTask::.ctor - // method line 682 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed + // method line 497 + .method public hidebysig specialname + instance default string get_Property () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 63 72 65 61 74 69 6F 6E 2D // ...get-creation- - 74 69 6D 65 00 00 ) // time.. - - // Method begins at RVA 0xb9a4 - // Code size 62 (0x3e) - .maxstack 3 + // Method begins at RVA 0xf80c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0014: brtrue IL_0030 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "Could not find a part of the path \"{0}\"." - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.Directory::GetCreationTime(string) - IL_0036: stloc.1 - IL_0037: br IL_003c + IL_0002: ldfld string NAnt.Core.Tasks.TStampTask::_property + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003c: ldloc.1 - IL_003d: ret - } // end of method DirectoryFunctions::GetCreationTime + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TStampTask::get_Property - // method line 683 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed + // method line 498 + .method public hidebysig specialname + instance default void set_Property (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 13 67 65 74 2D 6C 61 73 74 2D 77 72 69 74 // ...get-last-writ - 65 2D 74 69 6D 65 00 00 ) // e-time.. + // Method begins at RVA 0xf827 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.TStampTask::_property + IL_0008: ret + } // end of method TStampTask::set_Property - // Method begins at RVA 0xb9f0 - // Code size 62 (0x3e) - .maxstack 3 + // method line 499 + .method public hidebysig specialname + instance default string get_Pattern () cil managed + { + // Method begins at RVA 0xf834 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0014: brtrue IL_0030 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "Could not find a part of the path \"{0}\"." - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.Directory::GetLastWriteTime(string) - IL_0036: stloc.1 - IL_0037: br IL_003c + IL_0002: ldfld string NAnt.Core.Tasks.TStampTask::_pattern + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003c: ldloc.1 - IL_003d: ret - } // end of method DirectoryFunctions::GetLastWriteTime + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TStampTask::get_Pattern - // method line 684 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed + // method line 500 + .method public hidebysig specialname + instance default void set_Pattern (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 14 67 65 74 2D 6C 61 73 74 2D 61 63 63 65 // ...get-last-acce - 73 73 2D 74 69 6D 65 00 00 ) // ss-time.. - - // Method begins at RVA 0xba3c - // Code size 62 (0x3e) - .maxstack 3 - .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + // Method begins at RVA 0xf84f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0014: brtrue IL_0030 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "Could not find a part of the path \"{0}\"." - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.Directory::GetLastAccessTime(string) - IL_0036: stloc.1 - IL_0037: br IL_003c - - IL_003c: ldloc.1 - IL_003d: ret - } // end of method DirectoryFunctions::GetLastAccessTime + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.TStampTask::_pattern + IL_0008: ret + } // end of method TStampTask::set_Pattern - // method line 685 - .method public static hidebysig - default string GetCurrentDirectory () cil managed + // method line 501 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FormatterCollection get_Formatters () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 15 67 65 74 2D 63 75 72 72 65 6E 74 2D 64 // ...get-current-d - 69 72 65 63 74 6F 72 79 00 00 ) // irectory.. - - // Method begins at RVA 0xba88 - // Code size 14 (0xe) + // Method begins at RVA 0xf85c + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.FormatterCollection V_0) IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::_formatters + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method DirectoryFunctions::GetCurrentDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TStampTask::get_Formatters - // method line 686 - .method public hidebysig - instance default string GetParentDirectory (string path) cil managed + // method line 502 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 14 67 65 74 2D 70 61 72 65 6E 74 2D 64 69 // ...get-parent-di - 72 65 63 74 6F 72 79 00 00 ) // rectory.. - - // Method begins at RVA 0xbaa4 - // Code size 56 (0x38) - .maxstack 2 + // Method begins at RVA 0xf878 + // Code size 447 (0x1bf) + .maxstack 8 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0, - class [mscorlib]System.IO.DirectoryInfo V_1, - string V_2) + valuetype [mscorlib]System.DateTime V_0, + class NAnt.Core.Types.Formatter V_1, + class NAnt.Core.Types.FormatterEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.DirectoryInfo::get_Parent() - IL_0019: stloc.1 - IL_001a: ldloc.1 - IL_001b: brfalse IL_002b - - IL_0020: ldloc.1 - IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0026: br IL_0030 + IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldc.i4 3000 + IL_000d: ldstr "{0} {1}." + IL_0012: ldc.i4.2 + IL_0013: newarr [mscorlib]System.Object + IL_0018: dup + IL_0019: ldc.i4.0 + IL_001a: ldloca.s 0 + IL_001c: call instance string valuetype [mscorlib]System.DateTime::ToLongDateString() + IL_0021: stelem.ref + IL_0022: dup + IL_0023: ldc.i4.1 + IL_0024: ldloca.s 0 + IL_0026: call instance string valuetype [mscorlib]System.DateTime::ToLongTimeString() + IL_002b: stelem.ref + IL_002c: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0031: ldarg.0 + IL_0032: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0037: ldstr "tstamp.date" + IL_003c: ldloca.s 0 + IL_003e: ldstr "yyyyMMdd" + IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0048: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) + IL_004d: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0052: ldarg.0 + IL_0053: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0058: ldstr "tstamp.time" + IL_005d: ldloca.s 0 + IL_005f: ldstr "HHmm" + IL_0064: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0069: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) + IL_006e: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0073: ldarg.0 + IL_0074: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0079: ldstr "tstamp.now" + IL_007e: ldloca.s 0 + IL_0080: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0085: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_008a: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_008f: ldarg.0 + IL_0090: ldfld string NAnt.Core.Tasks.TStampTask::_property + IL_0095: brfalse IL_0107 - IL_002b: ldsfld string [mscorlib]System.String::Empty - IL_0030: stloc.2 - IL_0031: br IL_0036 + IL_009a: ldarg.0 + IL_009b: ldfld string NAnt.Core.Tasks.TStampTask::_pattern + IL_00a0: brfalse IL_0107 - IL_0036: ldloc.2 - IL_0037: ret - } // end of method DirectoryFunctions::GetParentDirectory + IL_00a5: nop + IL_00a6: ldarg.0 + IL_00a7: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00ac: ldarg.0 + IL_00ad: ldfld string NAnt.Core.Tasks.TStampTask::_property + IL_00b2: ldloca.s 0 + IL_00b4: ldarg.0 + IL_00b5: ldfld string NAnt.Core.Tasks.TStampTask::_pattern + IL_00ba: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00bf: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) + IL_00c4: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00c9: ldarg.0 + IL_00ca: ldc.i4 2000 + IL_00cf: ldstr "{0} = {1}." + IL_00d4: ldc.i4.2 + IL_00d5: newarr [mscorlib]System.Object + IL_00da: dup + IL_00db: ldc.i4.0 + IL_00dc: ldarg.0 + IL_00dd: ldfld string NAnt.Core.Tasks.TStampTask::_property + IL_00e2: stelem.ref + IL_00e3: dup + IL_00e4: ldc.i4.1 + IL_00e5: ldarg.0 + IL_00e6: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00eb: ldarg.0 + IL_00ec: ldfld string NAnt.Core.Tasks.TStampTask::_property + IL_00f1: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_00f6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00fb: callvirt instance string string::ToString(class [mscorlib]System.IFormatProvider) + IL_0100: stelem.ref + IL_0101: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0106: nop + IL_0107: nop + IL_0108: ldarg.0 + IL_0109: call instance class NAnt.Core.Types.FormatterCollection class NAnt.Core.Tasks.TStampTask::get_Formatters() + IL_010e: callvirt instance class NAnt.Core.Types.FormatterEnumerator class NAnt.Core.Types.FormatterCollection::GetEnumerator() + IL_0113: stloc.2 + .try { // 0 + IL_0114: br IL_019a - // method line 687 - .method public hidebysig - instance default string GetDirectoryRoot (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 64 69 72 65 63 74 6F 72 79 // ...get-directory - 2D 72 6F 6F 74 00 00 ) // -root.. + IL_0119: ldloc.2 + IL_011a: callvirt instance class NAnt.Core.Types.Formatter class NAnt.Core.Types.FormatterEnumerator::get_Current() + IL_011f: stloc.1 + IL_0120: nop + IL_0121: ldarg.0 + IL_0122: call instance bool class NAnt.Core.Task::get_IfDefined() + IL_0127: brfalse IL_0199 - // Method begins at RVA 0xbae8 - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - string V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call string class [mscorlib]System.IO.Directory::GetDirectoryRoot(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_0019: stloc.1 - IL_001a: br IL_001f + IL_012c: ldarg.0 + IL_012d: call instance bool class NAnt.Core.Task::get_UnlessDefined() + IL_0132: brtrue IL_0199 - IL_001f: ldloc.1 - IL_0020: ret - } // end of method DirectoryFunctions::GetDirectoryRoot + IL_0137: nop + IL_0138: ldarg.0 + IL_0139: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_013e: ldloc.1 + IL_013f: callvirt instance string class NAnt.Core.Types.Formatter::get_Property() + IL_0144: ldloca.s 0 + IL_0146: ldloc.1 + IL_0147: callvirt instance string class NAnt.Core.Types.Formatter::get_Pattern() + IL_014c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0151: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) + IL_0156: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_015b: ldarg.0 + IL_015c: ldc.i4 2000 + IL_0161: ldstr "{0} = {1}." + IL_0166: ldc.i4.2 + IL_0167: newarr [mscorlib]System.Object + IL_016c: dup + IL_016d: ldc.i4.0 + IL_016e: ldloc.1 + IL_016f: callvirt instance string class NAnt.Core.Types.Formatter::get_Property() + IL_0174: stelem.ref + IL_0175: dup + IL_0176: ldc.i4.1 + IL_0177: ldarg.0 + IL_0178: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_017d: ldloc.1 + IL_017e: callvirt instance string class NAnt.Core.Types.Formatter::get_Property() + IL_0183: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_0188: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_018d: callvirt instance string string::ToString(class [mscorlib]System.IFormatProvider) + IL_0192: stelem.ref + IL_0193: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0198: nop + IL_0199: nop + IL_019a: ldloc.2 + IL_019b: callvirt instance bool class NAnt.Core.Types.FormatterEnumerator::MoveNext() + IL_01a0: brtrue IL_0119 - // method line 688 - .method public hidebysig - instance default bool Exists (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + IL_01a5: leave IL_01be - // Method begins at RVA 0xbb18 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + } // end .try 0 + finally { // 0 + IL_01aa: ldloc.2 + IL_01ab: isinst [mscorlib]System.IDisposable + IL_01b0: dup + IL_01b1: stloc.3 + IL_01b2: brfalse IL_01bd - IL_0018: ldloc.0 - IL_0019: ret - } // end of method DirectoryFunctions::Exists + IL_01b7: ldloc.3 + IL_01b8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01bd: endfinally + } // end handler 0 + IL_01be: ret + } // end of method TStampTask::ExecuteTask - // method line 689 - .method public hidebysig - instance default string GetName (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. + .property instance string Property () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. - // Method begins at RVA 0xbb40 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_000c: stloc.0 - IL_000d: br IL_0012 + .get instance default string NAnt.Core.Tasks.TStampTask::get_Property () + .set instance default void NAnt.Core.Tasks.TStampTask::set_Property (string 'value') + } + .property instance string Pattern () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 70 61 74 74 65 72 6E 01 00 54 02 08 52 // ...pattern..T..R + 65 71 75 69 72 65 64 00 ) // equired. - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DirectoryFunctions::GetName + .get instance default string NAnt.Core.Tasks.TStampTask::get_Pattern () + .set instance default void NAnt.Core.Tasks.TStampTask::set_Pattern (string 'value') + } + .property instance class NAnt.Core.Types.FormatterCollection Formatters () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 09 66 6F 72 6D 61 74 74 65 72 00 00 ) // ...formatter.. - } // end of class NAnt.Core.Functions.DirectoryFunctions + .get instance default class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::get_Formatters () + } + } // end of class NAnt.Core.Tasks.TStampTask } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit VersionFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit NAntTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 07 76 65 72 73 69 6F 6E 07 56 65 72 73 69 // ...version.Versi - 6F 6E 00 00 ) // on.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6E 61 6E 74 00 00 ) // ...nant.. + .field private class [mscorlib]System.IO.FileInfo _buildFile + .field private class NAnt.Core.Types.FileSet _buildFiles + .field private string _target + .field private bool _inheritAll + .field private bool _inheritRefs + .field private class [mscorlib]System.Collections.ArrayList _overrideProperties - // method line 690 + // method line 503 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xbb60 - // Code size 10 (0xa) + // Method begins at RVA 0xfa54 + // Code size 36 (0x24) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method VersionFunctions::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::_buildFiles + IL_000b: ldarg.0 + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.Core.Tasks.NAntTask::_inheritAll + IL_0012: ldarg.0 + IL_0013: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0018: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::_overrideProperties + IL_001d: ldarg.0 + IL_001e: call instance void class NAnt.Core.Task::'.ctor'() + IL_0023: ret + } // end of method NAntTask::.ctor - // method line 691 - .method public static hidebysig - default int32 GetMajor (class [mscorlib]System.Version version) cil managed + // method line 504 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_BuildFile () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 6D 61 6A 6F 72 00 00 ) // ...get-major.. - - // Method begins at RVA 0xbb6c + // Method begins at RVA 0xfa7c // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Major() + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntTask::_buildFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionFunctions::GetMajor + } // end of method NAntTask::get_BuildFile - // method line 692 - .method public static hidebysig - default int32 GetMinor (class [mscorlib]System.Version version) cil managed + // method line 505 + .method public hidebysig specialname + instance default void set_BuildFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 6D 69 6E 6F 72 00 00 ) // ...get-minor.. + // Method begins at RVA 0xfa97 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntTask::_buildFile + IL_0008: ret + } // end of method NAntTask::set_BuildFile - // Method begins at RVA 0xbb88 + // method line 506 + .method public hidebysig specialname + instance default string get_DefaultTarget () cil managed + { + // Method begins at RVA 0xfaa4 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Minor() + IL_0002: ldfld string NAnt.Core.Tasks.NAntTask::_target IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionFunctions::GetMinor + } // end of method NAntTask::get_DefaultTarget - // method line 693 - .method public static hidebysig - default int32 GetBuild (class [mscorlib]System.Version version) cil managed + // method line 507 + .method public hidebysig specialname + instance default void set_DefaultTarget (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 62 75 69 6C 64 00 00 ) // ...get-build.. + // Method begins at RVA 0xfabf + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Tasks.NAntTask::_target + IL_000d: ret + } // end of method NAntTask::set_DefaultTarget - // Method begins at RVA 0xbba4 + // method line 508 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Types.FileSet get_BuildFiles () cil managed + { + // Method begins at RVA 0xfad0 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Build() + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::_buildFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionFunctions::GetBuild + } // end of method NAntTask::get_BuildFiles - // method line 694 - .method public static hidebysig - default int32 GetRevision (class [mscorlib]System.Version version) cil managed + // method line 509 + .method public virtual hidebysig newslot specialname + instance default void set_BuildFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 72 65 76 69 73 69 6F 6E 00 // ...get-revision. - 00 ) // . + // Method begins at RVA 0xfaeb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::_buildFiles + IL_0008: ret + } // end of method NAntTask::set_BuildFiles - // Method begins at RVA 0xbbc0 + // method line 510 + .method public hidebysig specialname + instance default bool get_InheritAll () cil managed + { + // Method begins at RVA 0xfaf8 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Revision() + IL_0002: ldfld bool NAnt.Core.Tasks.NAntTask::_inheritAll IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionFunctions::GetRevision - - } // end of class NAnt.Core.Functions.VersionFunctions -} + } // end of method NAntTask::get_InheritAll -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit VersionConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 07 76 65 72 73 69 6F 6E 0A 43 6F 6E 76 65 // ...version.Conve - 72 73 69 6F 6E 00 00 ) // rsion.. - - - // method line 695 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 511 + .method public hidebysig specialname + instance default void set_InheritAll (bool 'value') cil managed { - // Method begins at RVA 0xbbdb - // Code size 10 (0xa) + // Method begins at RVA 0xfb13 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method VersionConversionFunctions::.ctor - - // method line 696 - .method public static hidebysig - default class [mscorlib]System.Version Parse (string version) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. - - // Method begins at RVA 0xbbe8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VersionConversionFunctions::Parse + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.NAntTask::_inheritAll + IL_0008: ret + } // end of method NAntTask::set_InheritAll - // method line 697 - .method public static hidebysig - default string ToString (class [mscorlib]System.Version 'value') cil managed + // method line 512 + .method public hidebysig specialname + instance default bool get_InheritRefs () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - - // Method begins at RVA 0xbc04 + // Method begins at RVA 0xfb20 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string object::ToString() + IL_0002: ldfld bool NAnt.Core.Tasks.NAntTask::_inheritRefs IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionConversionFunctions::ToString - - } // end of class NAnt.Core.Functions.VersionConversionFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit MathFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 6D 61 74 68 04 4D 61 74 68 00 00 ) // ...math.Math.. - + } // end of method NAntTask::get_InheritRefs - // method line 698 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 513 + .method public hidebysig specialname + instance default void set_InheritRefs (bool 'value') cil managed { - // Method begins at RVA 0xbc1f - // Code size 10 (0xa) + // Method begins at RVA 0xfb3b + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method MathFunctions::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.NAntTask::_inheritRefs + IL_0008: ret + } // end of method NAntTask::set_InheritRefs - // method line 699 - .method public static hidebysig - default float64 Round (float64 'value') cil managed + // method line 514 + .method public hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_OverrideProperties () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 72 6F 75 6E 64 00 00 ) // ...round.. - - // Method begins at RVA 0xbc2c + // Method begins at RVA 0xfb48 // Code size 15 (0xf) .maxstack 1 .locals init ( - float64 V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Round(float64) + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::_overrideProperties IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MathFunctions::Round + } // end of method NAntTask::get_OverrideProperties - // method line 700 - .method public static hidebysig - default float64 Floor (float64 'value') cil managed + // method line 515 + .method family virtual hidebysig + instance default void Initialize () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 66 6C 6F 6F 72 00 00 ) // ...floor.. - - // Method begins at RVA 0xbc48 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - float64 V_0) + // Method begins at RVA 0xfb64 + // Code size 84 (0x54) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Floor(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() + IL_0007: brfalse IL_0053 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MathFunctions::Floor + IL_000c: ldarg.0 + IL_000d: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() + IL_0012: brfalse IL_0053 - // method line 701 - .method public static hidebysig - default float64 Ceiling (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 63 65 69 6C 69 6E 67 00 00 ) // ...ceiling.. + IL_0017: ldarg.0 + IL_0018: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() + IL_001d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0022: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0027: ldc.i4.0 + IL_0028: ble IL_0053 - // Method begins at RVA 0xbc64 - // Code size 15 (0xf) - .maxstack 1 + IL_002d: nop + IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0033: ldstr "NA1141" + IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_003d: call !!0[] class [mscorlib]System.Array::Empty () + IL_0042: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0047: ldarg.0 + IL_0048: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_004d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0052: throw + IL_0053: ret + } // end of method NAntTask::Initialize + + // method line 516 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xfbc4 + // Code size 157 (0x9d) + .maxstack 3 .locals init ( - float64 V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Ceiling(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() + IL_0007: brfalse IL_001f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MathFunctions::Ceiling + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() + IL_0014: call instance void class NAnt.Core.Tasks.NAntTask::RunBuild(class [mscorlib]System.IO.FileInfo) + IL_0019: nop + IL_001a: br IL_009c - // method line 702 - .method public static hidebysig - default float64 Abs (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 61 62 73 00 00 ) // ...abs.. + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() + IL_0026: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_002b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0030: brtrue IL_004b - // Method begins at RVA 0xbc80 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Abs(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: ldc.i4 4000 + IL_003c: ldstr "No matching build files found to run." + IL_0041: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0046: br IL_009c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MathFunctions::Abs + IL_004b: nop + IL_004c: ldarg.0 + IL_004d: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() + IL_0052: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0057: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_005c: stloc.1 + .try { // 0 + IL_005d: br IL_0077 - } // end of class NAnt.Core.Functions.MathFunctions -} + IL_0062: ldloc.1 + IL_0063: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0068: stloc.0 + IL_0069: nop + IL_006a: ldarg.0 + IL_006b: ldloc.0 + IL_006c: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0071: call instance void class NAnt.Core.Tasks.NAntTask::RunBuild(class [mscorlib]System.IO.FileInfo) + IL_0076: nop + IL_0077: ldloc.1 + IL_0078: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_007d: brtrue IL_0062 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit PkgConfigFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0A 70 6B 67 2D 63 6F 6E 66 69 67 0B 55 6E // ...pkg-config.Un - 69 78 2F 43 79 67 77 69 6E 00 00 ) // ix/Cygwin.. + IL_0082: leave IL_009b + } // end .try 0 + finally { // 0 + IL_0087: ldloc.1 + IL_0088: isinst [mscorlib]System.IDisposable + IL_008d: dup + IL_008e: stloc.2 + IL_008f: brfalse IL_009a - // method line 703 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xbc9b - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method PkgConfigFunctions::.ctor + IL_0094: ldloc.2 + IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009a: endfinally + } // end handler 0 + IL_009b: nop + IL_009c: ret + } // end of method NAntTask::ExecuteTask - // method line 704 - .method public hidebysig - instance default string GetVariable (string package, string name) cil managed + // method line 517 + .method private hidebysig + instance default void RunBuild (class [mscorlib]System.IO.FileInfo buildFile) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 76 61 72 69 61 62 6C 65 00 // ...get-variable. - 00 ) // . - - // Method begins at RVA 0xbca8 - // Code size 94 (0x5e) + // Method begins at RVA 0xfc80 + // Code size 490 (0x1ea) .maxstack 7 .locals init ( - string V_0) + class NAnt.Core.Project V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + class NAnt.Core.Tasks.PropertyTask V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + string V_5, + string[] V_6, + int32 V_7, + string V_8) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 + IL_0002: ldc.i4 3000 + IL_0007: ldstr "{0} {1}" + IL_000c: ldc.i4.2 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001a: stelem.ref + IL_001b: dup + IL_001c: ldc.i4.1 + IL_001d: ldarg.0 + IL_001e: call instance string class NAnt.Core.Tasks.NAntTask::get_DefaultTarget() + IL_0023: stelem.ref + IL_0024: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0029: ldarg.1 + IL_002a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002f: ldarg.0 + IL_0030: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0035: newobj instance void class NAnt.Core.Project::'.ctor'(string, class NAnt.Core.Project) + IL_003a: stloc.0 + IL_003b: ldarg.0 + IL_003c: call instance bool class NAnt.Core.Tasks.NAntTask::get_InheritAll() + IL_0041: brfalse IL_00cc - IL_000d: nop - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0013: ldstr "NA1100" - IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: ldarg.1 - IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: ldc.i4.2 - IL_002b: newarr NAnt.Core.Types.Argument - IL_0030: dup - IL_0031: ldc.i4.0 - IL_0032: ldstr "--variable=\"" - IL_0037: ldarg.2 - IL_0038: ldstr "\"" - IL_003d: call string string::Concat(string, string, string) - IL_0042: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0047: stelem.ref - IL_0048: dup - IL_0049: ldc.i4.1 - IL_004a: ldarg.1 - IL_004b: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0050: stelem.ref - IL_0051: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) - IL_0056: stloc.0 - IL_0057: br IL_005c + IL_0046: nop + IL_0047: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_004c: stloc.1 + IL_004d: ldloc.1 + IL_004e: ldstr "nant.filename" + IL_0053: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0058: pop + IL_0059: ldloc.1 + IL_005a: ldstr "nant.location" + IL_005f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0064: pop + IL_0065: ldloc.1 + IL_0066: ldstr "nant.onsuccess" + IL_006b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0070: pop + IL_0071: ldloc.1 + IL_0072: ldstr "nant.onfailure" + IL_0077: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_007c: pop + IL_007d: ldloc.1 + IL_007e: ldstr "nant.project.basedir" + IL_0083: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0088: pop + IL_0089: ldloc.1 + IL_008a: ldstr "nant.project.buildfile" + IL_008f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0094: pop + IL_0095: ldloc.1 + IL_0096: ldstr "nant.project.default" + IL_009b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00a0: pop + IL_00a1: ldloc.1 + IL_00a2: ldstr "nant.project.name" + IL_00a7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00ac: pop + IL_00ad: ldloc.1 + IL_00ae: ldstr "nant.version" + IL_00b3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00b8: pop + IL_00b9: ldloc.0 + IL_00ba: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00bf: ldarg.0 + IL_00c0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_00c5: ldloc.1 + IL_00c6: callvirt instance void class NAnt.Core.PropertyDictionary::Inherit(class NAnt.Core.PropertyDictionary, class [System]System.Collections.Specialized.StringCollection) + IL_00cb: nop + IL_00cc: nop + IL_00cd: ldarg.0 + IL_00ce: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Tasks.NAntTask::get_OverrideProperties() + IL_00d3: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_00d8: stloc.3 + .try { // 0 + IL_00d9: br IL_0123 - IL_005c: ldloc.0 - IL_005d: ret - } // end of method PkgConfigFunctions::GetVariable + IL_00de: ldloc.3 + IL_00df: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00e4: castclass NAnt.Core.Tasks.PropertyTask + IL_00e9: stloc.2 + IL_00ea: nop + IL_00eb: ldloc.2 + IL_00ec: callvirt instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() + IL_00f1: brtrue IL_0115 - // method line 705 - .method public hidebysig - instance default string GetLinkFlags (string package) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0E 67 65 74 2D 6C 69 6E 6B 2D 66 6C 61 67 // ...get-link-flag - 73 00 00 ) // s.. + IL_00f6: nop + IL_00f7: ldloc.2 + IL_00f8: ldarg.0 + IL_00f9: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00fe: ldloc.2 + IL_00ff: callvirt instance string class NAnt.Core.Tasks.PropertyTask::get_Value() + IL_0104: ldarg.0 + IL_0105: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_010a: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) + IL_010f: callvirt instance void class NAnt.Core.Tasks.PropertyTask::set_Value(string) + IL_0114: nop + IL_0115: ldloc.2 + IL_0116: ldloc.0 + IL_0117: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_011c: ldloc.2 + IL_011d: callvirt instance void class NAnt.Core.Task::Execute() + IL_0122: nop + IL_0123: ldloc.3 + IL_0124: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0129: brtrue IL_00de - // Method begins at RVA 0xbd14 - // Code size 83 (0x53) - .maxstack 5 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 + IL_012e: leave IL_0149 - IL_000d: nop - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0013: ldstr "NA1100" - IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: ldarg.1 - IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: ldc.i4.2 - IL_002b: newarr NAnt.Core.Types.Argument - IL_0030: dup - IL_0031: ldc.i4.0 - IL_0032: ldstr "--libs" - IL_0037: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_003c: stelem.ref - IL_003d: dup - IL_003e: ldc.i4.1 - IL_003f: ldarg.1 - IL_0040: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0045: stelem.ref - IL_0046: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) - IL_004b: stloc.0 - IL_004c: br IL_0051 + } // end .try 0 + finally { // 0 + IL_0133: ldloc.3 + IL_0134: isinst [mscorlib]System.IDisposable + IL_0139: dup + IL_013a: stloc.s 4 + IL_013c: brfalse IL_0148 - IL_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetLinkFlags + IL_0141: ldloc.s 4 + IL_0143: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0148: endfinally + } // end handler 0 + IL_0149: ldarg.0 + IL_014a: call instance bool class NAnt.Core.Tasks.NAntTask::get_InheritRefs() + IL_014f: brfalse IL_016c - // method line 706 - .method public hidebysig - instance default string GetCompileFlags (string package) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 63 6F 6D 70 69 6C 65 2D 66 // ...get-compile-f - 6C 61 67 73 00 00 ) // lags.. + IL_0154: nop + IL_0155: ldloc.0 + IL_0156: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_015b: ldarg.0 + IL_015c: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0161: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_0166: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Inherit(class NAnt.Core.DataTypeBaseDictionary) + IL_016b: nop + IL_016c: ldarg.0 + IL_016d: call instance string class NAnt.Core.Tasks.NAntTask::get_DefaultTarget() + IL_0172: brfalse IL_01d2 - // Method begins at RVA 0xbd74 - // Code size 83 (0x53) - .maxstack 5 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 + IL_0177: nop + IL_0178: nop + IL_0179: ldarg.0 + IL_017a: call instance string class NAnt.Core.Tasks.NAntTask::get_DefaultTarget() + IL_017f: ldc.i4.s 0x20 + IL_0181: ldc.i4.0 + IL_0182: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0187: stloc.s 6 + IL_0189: ldc.i4.0 + IL_018a: stloc.s 7 + IL_018c: br IL_01c6 - IL_000d: nop - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0013: ldstr "NA1100" - IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: ldarg.1 - IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: ldc.i4.2 - IL_002b: newarr NAnt.Core.Types.Argument - IL_0030: dup - IL_0031: ldc.i4.0 - IL_0032: ldstr "--cflags" - IL_0037: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_003c: stelem.ref - IL_003d: dup - IL_003e: ldc.i4.1 - IL_003f: ldarg.1 - IL_0040: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0045: stelem.ref - IL_0046: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) - IL_004b: stloc.0 - IL_004c: br IL_0051 + IL_0191: ldloc.s 6 + IL_0193: ldloc.s 7 + IL_0195: ldelem.ref + IL_0196: stloc.s 5 + IL_0198: nop + IL_0199: ldloc.s 5 + IL_019b: callvirt instance string string::Trim() + IL_01a0: stloc.s 8 + IL_01a2: ldloc.s 8 + IL_01a4: callvirt instance int32 string::get_Length() + IL_01a9: ldc.i4.0 + IL_01aa: ble IL_01bf - IL_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetCompileFlags + IL_01af: nop + IL_01b0: ldloc.0 + IL_01b1: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_01b6: ldloc.s 8 + IL_01b8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_01bd: pop + IL_01be: nop + IL_01bf: nop + IL_01c0: ldloc.s 7 + IL_01c2: ldc.i4.1 + IL_01c3: add + IL_01c4: stloc.s 7 + IL_01c6: ldloc.s 7 + IL_01c8: ldloc.s 6 + IL_01ca: ldlen + IL_01cb: conv.i4 + IL_01cc: blt IL_0191 - // method line 707 - .method public hidebysig - instance default string GetModVersion (string package) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 6D 6F 64 2D 76 65 72 73 69 // ...get-mod-versi - 6F 6E 00 00 ) // on.. + IL_01d1: nop + IL_01d2: ldloc.0 + IL_01d3: callvirt instance bool class NAnt.Core.Project::Run() + IL_01d8: brtrue IL_01e9 - // Method begins at RVA 0xbdd4 - // Code size 83 (0x53) - .maxstack 5 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 + IL_01dd: nop + IL_01de: ldstr "Nested build failed. Refer to build log for exact reason." + IL_01e3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_01e8: throw + IL_01e9: ret + } // end of method NAntTask::RunBuild - IL_000d: nop - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0013: ldstr "NA1100" - IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: ldarg.1 - IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: ldc.i4.2 - IL_002b: newarr NAnt.Core.Types.Argument - IL_0030: dup - IL_0031: ldc.i4.0 - IL_0032: ldstr "--modversion" - IL_0037: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_003c: stelem.ref - IL_003d: dup - IL_003e: ldc.i4.1 - IL_003f: ldarg.1 - IL_0040: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0045: stelem.ref - IL_0046: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) - IL_004b: stloc.0 - IL_004c: br IL_0051 + .property instance class [mscorlib]System.IO.FileInfo BuildFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 62 75 69 6C 64 66 69 6C 65 00 00 ) // ...buildfile.. - IL_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetModVersion + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntTask::get_BuildFile () + .set instance default void NAnt.Core.Tasks.NAntTask::set_BuildFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string DefaultTarget () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 61 72 67 65 74 00 00 ) // ...target.. - // method line 708 - .method public hidebysig - instance default bool IsAtLeastVersion (string package, string version) cil managed + .get instance default string NAnt.Core.Tasks.NAntTask::get_DefaultTarget () + .set instance default void NAnt.Core.Tasks.NAntTask::set_DefaultTarget (string 'value') + } + .property instance class NAnt.Core.Types.FileSet BuildFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 62 75 69 6C 64 66 69 6C 65 73 00 00 ) // ...buildfiles.. + + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::get_BuildFiles () + .set instance default void NAnt.Core.Tasks.NAntTask::set_BuildFiles (class NAnt.Core.Types.FileSet 'value') + } + .property instance bool InheritAll () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 69 6E 68 65 72 69 74 61 6C 6C 00 00 ) // ...inheritall.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.NAntTask::get_InheritAll () + .set instance default void NAnt.Core.Tasks.NAntTask::set_InheritAll (bool 'value') + } + .property instance bool InheritRefs () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 69 6E 68 65 72 69 74 72 65 66 73 00 00 ) // ...inheritrefs.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Tasks.NAntTask::get_InheritRefs () + .set instance default void NAnt.Core.Tasks.NAntTask::set_InheritRefs (bool 'value') + } + .property instance class [mscorlib]System.Collections.ArrayList OverrideProperties () + { + .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 0A 70 72 6F 70 65 72 74 69 65 73 08 70 72 // ...properties.pr + 6F 70 65 72 74 79 01 00 54 50 0B 45 6C 65 6D 65 // operty..TP.Eleme + 6E 74 54 79 70 65 1C 4E 41 6E 74 2E 43 6F 72 65 // ntType.NAnt.Core + 2E 54 61 73 6B 73 2E 50 72 6F 70 65 72 74 79 54 // .Tasks.PropertyT + 61 73 6B ) // ask + + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::get_OverrideProperties () + } + } // end of class NAnt.Core.Tasks.NAntTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit XmlPokeTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 78 6D 6C 70 6F 6B 65 00 00 ) // ...xmlpoke.. + + .field private class [mscorlib]System.IO.FileInfo _xmlFile + .field private string _value + .field private string _xPathExpression + .field private bool _preserveWhitespace + .field private class NAnt.Core.Types.XmlNamespaceCollection _namespaces + + // method line 518 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 69 73 2D 61 74 6C 65 61 73 74 2D 76 65 // ...is-atleast-ve - 72 73 69 6F 6E 00 00 ) // rsion.. + // Method begins at RVA 0xfe88 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Types.XmlNamespaceCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method XmlPokeTask::.ctor - // Method begins at RVA 0xbe34 - // Code size 54 (0x36) - .maxstack 7 + // method line 519 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_XmlFile () cil managed + { + // Method begins at RVA 0xfe9c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.2 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--atleast-version=\"" - IL_000f: ldarg.2 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldarg.1 - IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0028: stelem.ref - IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::_xmlFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsAtLeastVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_XmlFile - // method line 709 - .method public hidebysig - instance default bool IsExactVersion (string package, string version) cil managed + // method line 520 + .method public hidebysig specialname + instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 69 73 2D 65 78 61 63 74 2D 76 65 72 73 // ...is-exact-vers - 69 6F 6E 00 00 ) // ion.. + // Method begins at RVA 0xfeb7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::_xmlFile + IL_0008: ret + } // end of method XmlPokeTask::set_XmlFile - // Method begins at RVA 0xbe78 - // Code size 54 (0x36) - .maxstack 7 + // method line 521 + .method public hidebysig specialname + instance default string get_XPath () cil managed + { + // Method begins at RVA 0xfec4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.2 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--exact-version=\"" - IL_000f: ldarg.2 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldarg.1 - IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0028: stelem.ref - IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0002: ldfld string NAnt.Core.Tasks.XmlPokeTask::_xPathExpression + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsExactVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_XPath - // method line 710 - .method public hidebysig - instance default bool IsMaxVersion (string package, string version) cil managed + // method line 522 + .method public hidebysig specialname + instance default void set_XPath (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0E 69 73 2D 6D 61 78 2D 76 65 72 73 69 6F // ...is-max-versio - 6E 00 00 ) // n.. + // Method begins at RVA 0xfedf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.XmlPokeTask::_xPathExpression + IL_0008: ret + } // end of method XmlPokeTask::set_XPath - // Method begins at RVA 0xbebc - // Code size 54 (0x36) - .maxstack 7 + // method line 523 + .method public hidebysig specialname + instance default string get_Value () cil managed + { + // Method begins at RVA 0xfeec + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.2 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--max-version=\"" - IL_000f: ldarg.2 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldarg.1 - IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0028: stelem.ref - IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0002: ldfld string NAnt.Core.Tasks.XmlPokeTask::_value + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsMaxVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_Value - // method line 711 - .method public hidebysig - instance default bool IsBetweenVersion (string package, string minVersion, string maxVersion) cil managed + // method line 524 + .method public hidebysig specialname + instance default void set_Value (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 69 73 2D 62 65 74 77 65 65 6E 2D 76 65 // ...is-between-ve - 72 73 69 6F 6E 00 00 ) // rsion.. + // Method begins at RVA 0xff07 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.XmlPokeTask::_value + IL_0008: ret + } // end of method XmlPokeTask::set_Value - // Method begins at RVA 0xbf00 - // Code size 78 (0x4e) - .maxstack 7 + // method line 525 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed + { + // Method begins at RVA 0xff14 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.XmlNamespaceCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.3 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--atleast-version=\"" - IL_000f: ldarg.2 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldstr "--max-version=\"" - IL_0027: ldarg.3 - IL_0028: ldstr "\"" - IL_002d: call string string::Concat(string, string, string) - IL_0032: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0037: stelem.ref - IL_0038: dup - IL_0039: ldc.i4.2 - IL_003a: ldarg.1 - IL_003b: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0040: stelem.ref - IL_0041: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_0046: stloc.0 - IL_0047: br IL_004c + IL_0002: ldfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_004c: ldloc.0 - IL_004d: ret - } // end of method PkgConfigFunctions::IsBetweenVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_Namespaces - // method line 712 - .method public hidebysig - instance default bool Exists (string package) cil managed + // method line 526 + .method public hidebysig specialname + instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + // Method begins at RVA 0xff2f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces + IL_0008: ret + } // end of method XmlPokeTask::set_Namespaces - // Method begins at RVA 0xbf5c - // Code size 43 (0x2b) - .maxstack 5 + // method line 527 + .method public hidebysig specialname + instance default bool get_PreserveWhitespace () cil managed + { + // Method begins at RVA 0xff3c + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.2 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--exists" - IL_000f: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0014: stelem.ref - IL_0015: dup - IL_0016: ldc.i4.1 - IL_0017: ldarg.1 - IL_0018: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001d: stelem.ref - IL_001e: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_0023: stloc.0 - IL_0024: br IL_0029 + IL_0002: ldfld bool NAnt.Core.Tasks.XmlPokeTask::_preserveWhitespace + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0029: ldloc.0 - IL_002a: ret - } // end of method PkgConfigFunctions::Exists + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_PreserveWhitespace - // method line 713 - .method private hidebysig - instance default bool RunPkgConfigBool (class NAnt.Core.Types.Argument[] args) cil managed + // method line 528 + .method public hidebysig specialname + instance default void set_PreserveWhitespace (bool 'value') cil managed { - // Method begins at RVA 0xbf94 - // Code size 71 (0x47) - .maxstack 2 - .locals init ( - class [mscorlib]System.IO.MemoryStream V_0, - class NAnt.Core.Tasks.ExecTask V_1, - bool V_2) + // Method begins at RVA 0xff57 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance class NAnt.Core.Tasks.ExecTask class NAnt.Core.Functions.PkgConfigFunctions::GetTask(class [mscorlib]System.IO.Stream) - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0015: ldarg.1 - IL_0016: callvirt instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) - .try { // 0 - IL_001b: nop - IL_001c: ldloc.1 - IL_001d: callvirt instance void class NAnt.Core.Task::Execute() - IL_0022: ldc.i4.1 - IL_0023: stloc.2 - IL_0024: leave IL_0045 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0029: pop - IL_002a: nop - IL_002b: ldloc.1 - IL_002c: callvirt instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_ExitCode() - IL_0031: ldc.i4 -1000 - IL_0036: bne.un IL_003e + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.XmlPokeTask::_preserveWhitespace + IL_0008: ret + } // end of method XmlPokeTask::set_PreserveWhitespace - IL_003b: nop - IL_003c: rethrow - IL_003e: ldc.i4.0 - IL_003f: stloc.2 - IL_0040: leave IL_0045 - - } // end handler 0 - IL_0045: ldloc.2 - IL_0046: ret - } // end of method PkgConfigFunctions::RunPkgConfigBool - - // method line 714 - .method private hidebysig - instance default string RunPkgConfigString (class NAnt.Core.Types.Argument[] args) cil managed + // method line 529 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xbff8 - // Code size 134 (0x86) - .maxstack 2 + // Method begins at RVA 0xff64 + // Code size 329 (0x149) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.MemoryStream V_0, - class NAnt.Core.Tasks.ExecTask V_1, - class [mscorlib]System.IO.StreamReader V_2, - string V_3, - string V_4, - class [mscorlib]System.Exception V_5, - class [mscorlib]System.IO.StreamReader V_6, - string V_7) + class [System.Xml]System.Xml.XmlDocument V_0, + class [System.Xml]System.Xml.XmlNamespaceManager V_1, + class NAnt.Core.Types.XmlNamespace V_2, + class NAnt.Core.Types.XmlNamespaceEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + class [System.Xml]System.Xml.XmlNodeList V_5, + class NAnt.Core.BuildException V_6, + class [mscorlib]System.Exception V_7) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance class NAnt.Core.Tasks.ExecTask class NAnt.Core.Functions.PkgConfigFunctions::GetTask(class [mscorlib]System.IO.Stream) - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0015: ldarg.1 - IL_0016: callvirt instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) - .try { // 0 - IL_001b: nop - IL_001c: ldloc.1 - IL_001d: callvirt instance void class NAnt.Core.Task::Execute() - IL_0022: ldloc.0 - IL_0023: ldc.i4.0 - IL_0024: conv.i8 - IL_0025: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_002a: ldloc.0 - IL_002b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_0030: stloc.2 - IL_0031: ldloc.2 - IL_0032: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0037: stloc.3 - IL_0038: ldloc.2 - IL_0039: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_003e: ldloc.3 - IL_003f: stloc.s 4 - IL_0041: leave IL_0083 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0046: stloc.s 5 - IL_0048: nop - IL_0049: ldloc.0 - IL_004a: ldc.i4.0 - IL_004b: conv.i8 - IL_004c: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_0051: ldloc.0 - IL_0052: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_0057: stloc.s 6 - IL_0059: ldloc.s 6 - IL_005b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0060: stloc.s 7 - IL_0062: ldloc.s 6 - IL_0064: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_0069: ldloc.s 7 - IL_006b: callvirt instance int32 string::get_Length() - IL_0070: brfalse IL_0080 - - IL_0075: nop - IL_0076: ldloc.s 7 - IL_0078: ldloc.s 5 - IL_007a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) - IL_007f: throw - IL_0080: nop - IL_0081: rethrow - } // end handler 0 - IL_0083: ldloc.s 4 - IL_0085: ret - } // end of method PkgConfigFunctions::RunPkgConfigString + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_003d - // method line 715 - .method private hidebysig - instance default class NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed - { - // Method begins at RVA 0xc09c - // Code size 83 (0x53) - .maxstack 3 - .locals init ( - class NAnt.Core.Tasks.ExecTask V_0, - class [mscorlib]System.IO.TextWriter V_1, - class NAnt.Core.Tasks.ExecTask V_2) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.Tasks.ExecTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_000e: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_001a: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_001f: ldloc.0 - IL_0020: ldstr "pkg-config" - IL_0025: callvirt instance void class NAnt.Core.Tasks.ExecTask::set_FileName(string) - IL_002a: ldloc.0 - IL_002b: ldc.i4 9999 - IL_0030: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) - IL_0035: ldloc.0 - IL_0036: ldarg.1 - IL_0037: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream) - IL_003c: stloc.1 - IL_003d: ldloc.0 - IL_003e: ldloc.1 - IL_003f: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_OutputWriter(class [mscorlib]System.IO.TextWriter) - IL_0044: ldloc.1 - IL_0045: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_ErrorWriter(class [mscorlib]System.IO.TextWriter) - IL_004a: ldloc.0 - IL_004b: stloc.2 - IL_004c: br IL_0051 + IL_0011: nop + IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0017: ldstr "NA1154" + IL_001c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0021: ldarg.0 + IL_0022: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() + IL_0027: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: ldarg.0 + IL_0032: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0037: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_003c: throw + .try { // 1 + IL_003d: nop + IL_003e: ldarg.0 + IL_003f: ldarg.0 + IL_0040: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() + IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004a: ldarg.0 + IL_004b: call instance bool class NAnt.Core.Tasks.XmlPokeTask::get_PreserveWhitespace() + IL_0050: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Tasks.XmlPokeTask::LoadDocument(string, bool) + IL_0055: stloc.0 + IL_0056: ldloc.0 + IL_0057: callvirt instance class [System.Xml]System.Xml.XmlNameTable class [System.Xml]System.Xml.XmlDocument::get_NameTable() + IL_005c: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) + IL_0061: stloc.1 + IL_0062: nop + IL_0063: ldarg.0 + IL_0064: call instance class NAnt.Core.Types.XmlNamespaceCollection class NAnt.Core.Tasks.XmlPokeTask::get_Namespaces() + IL_0069: callvirt instance class NAnt.Core.Types.XmlNamespaceEnumerator class NAnt.Core.Types.XmlNamespaceCollection::GetEnumerator() + IL_006e: stloc.3 + .try { // 0 + IL_006f: br IL_00a7 - IL_0051: ldloc.2 - IL_0052: ret - } // end of method PkgConfigFunctions::GetTask + IL_0074: ldloc.3 + IL_0075: callvirt instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceEnumerator::get_Current() + IL_007a: stloc.2 + IL_007b: nop + IL_007c: ldloc.2 + IL_007d: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_IfDefined() + IL_0082: brfalse IL_00a6 - } // end of class NAnt.Core.Functions.PkgConfigFunctions -} + IL_0087: ldloc.2 + IL_0088: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() + IL_008d: brtrue IL_00a6 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit EnvironmentFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 0B 45 // ...environment.E - 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // nvironment.. + IL_0092: nop + IL_0093: ldloc.1 + IL_0094: ldloc.2 + IL_0095: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Prefix() + IL_009a: ldloc.2 + IL_009b: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Uri() + IL_00a0: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) + IL_00a5: nop + IL_00a6: nop + IL_00a7: ldloc.3 + IL_00a8: callvirt instance bool class NAnt.Core.Types.XmlNamespaceEnumerator::MoveNext() + IL_00ad: brtrue IL_0074 + IL_00b2: leave IL_00cd - // method line 716 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xc0fb - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method EnvironmentFunctions::.ctor + } // end .try 0 + finally { // 0 + IL_00b7: ldloc.3 + IL_00b8: isinst [mscorlib]System.IDisposable + IL_00bd: dup + IL_00be: stloc.s 4 + IL_00c0: brfalse IL_00cc - // method line 717 - .method public static hidebysig - default string GetFolderPath (valuetype [mscorlib]System.Environment/SpecialFolder folder) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 66 6F 6C 64 65 72 2D 70 61 // ...get-folder-pa - 74 68 00 00 ) // th.. + IL_00c5: ldloc.s 4 + IL_00c7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00cc: endfinally + } // end handler 0 + IL_00cd: ldarg.0 + IL_00ce: ldarg.0 + IL_00cf: call instance string class NAnt.Core.Tasks.XmlPokeTask::get_XPath() + IL_00d4: ldloc.0 + IL_00d5: ldloc.1 + IL_00d6: call instance class [System.Xml]System.Xml.XmlNodeList class NAnt.Core.Tasks.XmlPokeTask::SelectNodes(string, class [System.Xml]System.Xml.XmlDocument, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00db: stloc.s 5 + IL_00dd: ldloc.s 5 + IL_00df: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_00e4: ldc.i4.0 + IL_00e5: ble IL_010c - // Method begins at RVA 0xc108 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00ea: nop + IL_00eb: ldarg.0 + IL_00ec: ldloc.s 5 + IL_00ee: ldarg.0 + IL_00ef: call instance string class NAnt.Core.Tasks.XmlPokeTask::get_Value() + IL_00f4: call instance void class NAnt.Core.Tasks.XmlPokeTask::UpdateNodes(class [System.Xml]System.Xml.XmlNodeList, string) + IL_00f9: ldarg.0 + IL_00fa: ldloc.0 + IL_00fb: ldarg.0 + IL_00fc: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() + IL_0101: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0106: call instance void class NAnt.Core.Tasks.XmlPokeTask::SaveDocument(class [System.Xml]System.Xml.XmlDocument, string) + IL_010b: nop + IL_010c: nop + IL_010d: leave IL_0148 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentFunctions::GetFolderPath + } // end .try 1 + catch class NAnt.Core.BuildException { // 1 + IL_0112: stloc.s 6 + IL_0114: nop + IL_0115: ldloc.s 6 + IL_0117: throw + } // end handler 1 + catch class [mscorlib]System.Exception { // 2 + IL_0118: stloc.s 7 + IL_011a: nop + IL_011b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0120: ldstr "NA1159" + IL_0125: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_012a: ldarg.0 + IL_012b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() + IL_0130: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0135: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_013a: ldarg.0 + IL_013b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0140: ldloc.s 7 + IL_0142: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0147: throw + } // end handler 2 + IL_0148: ret + } // end of method XmlPokeTask::ExecuteTask - // method line 718 - .method public static hidebysig - default string GetMachineName () cil managed + // method line 530 + .method private hidebysig + instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName, bool preserveWhitespace) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 67 65 74 2D 6D 61 63 68 69 6E 65 2D 6E // ...get-machine-n - 61 6D 65 00 00 ) // ame.. - - // Method begins at RVA 0xc124 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x100e4 + // Code size 121 (0x79) + .maxstack 7 .locals init ( - string V_0) + class [System.Xml]System.Xml.XmlDocument V_0, + class [System.Xml]System.Xml.XmlDocument V_1, + class [mscorlib]System.Exception V_2) IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_MachineName() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: ldc.i4 2000 + IL_000a: ldstr "Attempting to load XML document in file '{0}'." + IL_000f: ldc.i4.1 + IL_0010: newarr [mscorlib]System.Object + IL_0015: dup + IL_0016: ldc.i4.0 + IL_0017: ldarg.1 + IL_0018: stelem.ref + IL_0019: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_001e: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: ldarg.2 + IL_0026: callvirt instance void class [System.Xml]System.Xml.XmlDocument::set_PreserveWhitespace(bool) + IL_002b: ldloc.0 + IL_002c: ldarg.1 + IL_002d: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) + IL_0032: ldarg.0 + IL_0033: ldc.i4 2000 + IL_0038: ldstr "XML document in file '{0}' loaded successfully." + IL_003d: ldc.i4.1 + IL_003e: newarr [mscorlib]System.Object + IL_0043: dup + IL_0044: ldc.i4.0 + IL_0045: ldarg.1 + IL_0046: stelem.ref + IL_0047: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_004c: ldloc.0 + IL_004d: stloc.1 + IL_004e: leave IL_0077 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetMachineName + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0053: stloc.2 + IL_0054: nop + IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005a: ldstr "NA1158" + IL_005f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0064: ldarg.1 + IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_006a: ldarg.0 + IL_006b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0070: ldloc.2 + IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0076: throw + } // end handler 0 + IL_0077: ldloc.1 + IL_0078: ret + } // end of method XmlPokeTask::LoadDocument - // method line 719 - .method public static hidebysig - default class [mscorlib]System.OperatingSystem GetOperatingSystem () cil managed + // method line 531 + .method private hidebysig + instance default class [System.Xml]System.Xml.XmlNodeList SelectNodes (string xpath, class [System.Xml]System.Xml.XmlDocument document, class [System.Xml]System.Xml.XmlNamespaceManager nsMgr) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 14 67 65 74 2D 6F 70 65 72 61 74 69 6E 67 // ...get-operating - 2D 73 79 73 74 65 6D 00 00 ) // -system.. - - // Method begins at RVA 0xc140 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x1017c + // Code size 181 (0xb5) + .maxstack 7 .locals init ( - class [mscorlib]System.OperatingSystem V_0) + class [System.Xml]System.Xml.XmlNodeList V_0, + class [mscorlib]System.Exception V_1, + class [System.Xml]System.Xml.XmlNodeList V_2) IL_0000: nop - IL_0001: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: ldc.i4 2000 + IL_000a: ldstr "Selecting nodes with XPath expression '{0}'." + IL_000f: ldc.i4.1 + IL_0010: newarr [mscorlib]System.Object + IL_0015: dup + IL_0016: ldc.i4.0 + IL_0017: ldarg.1 + IL_0018: stelem.ref + IL_0019: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_001e: ldarg.2 + IL_001f: ldarg.1 + IL_0020: ldarg.3 + IL_0021: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0026: stloc.0 + IL_0027: nop + IL_0028: leave IL_0051 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetOperatingSystem + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_002d: stloc.1 + IL_002e: nop + IL_002f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0034: ldstr "NA1161" + IL_0039: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_003e: ldarg.1 + IL_003f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0044: ldarg.0 + IL_0045: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_004a: ldloc.1 + IL_004b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0050: throw + } // end handler 0 + IL_0051: ldloc.0 + IL_0052: brfalse IL_0062 - // method line 720 - .method public static hidebysig - default string GetUserName () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 75 73 65 72 2D 6E 61 6D 65 // ...get-user-name - 00 00 ) // .. + IL_0057: ldloc.0 + IL_0058: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_005d: brtrue IL_0084 - // Method begins at RVA 0xc15c - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_UserName() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0062: nop + IL_0063: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0068: ldstr "NA1156" + IL_006d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0072: ldarg.1 + IL_0073: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0078: ldarg.0 + IL_0079: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_007e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0083: throw + IL_0084: ldarg.0 + IL_0085: ldc.i4 3000 + IL_008a: ldstr "Found '{0}' nodes matching XPath expression '{1}'." + IL_008f: ldc.i4.2 + IL_0090: newarr [mscorlib]System.Object + IL_0095: dup + IL_0096: ldc.i4.0 + IL_0097: ldloc.0 + IL_0098: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_009d: box [mscorlib]System.Int32 + IL_00a2: stelem.ref + IL_00a3: dup + IL_00a4: ldc.i4.1 + IL_00a5: ldarg.1 + IL_00a6: stelem.ref + IL_00a7: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00ac: ldloc.0 + IL_00ad: stloc.2 + IL_00ae: br IL_00b3 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetUserName + IL_00b3: ldloc.2 + IL_00b4: ret + } // end of method XmlPokeTask::SelectNodes - // method line 721 - .method public static hidebysig - default string GetVariable (string name) cil managed + // method line 532 + .method private hidebysig + instance default void UpdateNodes (class [System.Xml]System.Xml.XmlNodeList nodes, string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 76 61 72 69 61 62 6C 65 00 // ...get-variable. - 00 ) // . - - // Method begins at RVA 0xc178 - // Code size 54 (0x36) - .maxstack 3 + // Method begins at RVA 0x10250 + // Code size 161 (0xa1) + .maxstack 7 .locals init ( - string V_0) + int32 V_0, + class [System.Xml]System.Xml.XmlNode V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class NAnt.Core.Functions.EnvironmentFunctions::VariableExists(string) - IL_0007: brtrue IL_0028 - - IL_000c: nop - IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0012: ldstr "NA1095" - IL_0017: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001c: ldarg.0 - IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0022: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0027: throw - IL_0028: ldarg.0 - IL_0029: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_002e: stloc.0 - IL_002f: br IL_0034 - - IL_0034: ldloc.0 - IL_0035: ret - } // end of method EnvironmentFunctions::GetVariable - - // method line 722 - .method public static hidebysig - default bool VariableExists (string name) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 76 61 72 69 61 62 6C 65 2D 65 78 69 73 // ...variable-exis - 74 73 00 00 ) // ts.. - - // Method begins at RVA 0xc1bc - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_0007: ldnull - IL_0008: ceq - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Updating nodes with value '{0}'." + IL_000c: ldc.i4.1 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.2 + IL_0015: stelem.ref + IL_0016: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_001b: ldc.i4.0 + IL_001c: stloc.0 + IL_001d: nop + IL_001e: ldarg.1 + IL_001f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0024: stloc.2 + .try { // 0 + IL_0025: br IL_0062 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EnvironmentFunctions::VariableExists + IL_002a: ldloc.2 + IL_002b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0030: castclass [System.Xml]System.Xml.XmlNode + IL_0035: stloc.1 + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldc.i4 2000 + IL_003d: ldstr "Updating node '{0}'." + IL_0042: ldc.i4.1 + IL_0043: newarr [mscorlib]System.Object + IL_0048: dup + IL_0049: ldc.i4.0 + IL_004a: ldloc.0 + IL_004b: box [mscorlib]System.Int32 + IL_0050: stelem.ref + IL_0051: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0056: ldloc.1 + IL_0057: ldarg.2 + IL_0058: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_InnerXml(string) + IL_005d: ldloc.0 + IL_005e: ldc.i4.1 + IL_005f: add + IL_0060: stloc.0 + IL_0061: nop + IL_0062: ldloc.2 + IL_0063: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0068: brtrue IL_002a - // method line 723 - .method public static hidebysig - default class [mscorlib]System.Version GetVersion () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. + IL_006d: leave IL_0086 - // Method begins at RVA 0xc1e0 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [mscorlib]System.Version V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() - IL_0006: stloc.0 - IL_0007: br IL_000c + } // end .try 0 + finally { // 0 + IL_0072: ldloc.2 + IL_0073: isinst [mscorlib]System.IDisposable + IL_0078: dup + IL_0079: stloc.3 + IL_007a: brfalse IL_0085 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetVersion + IL_007f: ldloc.3 + IL_0080: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0085: endfinally + } // end handler 0 + IL_0086: ldarg.0 + IL_0087: ldc.i4 2000 + IL_008c: ldstr "Updated all nodes successfully." + IL_0091: ldc.i4.1 + IL_0092: newarr [mscorlib]System.Object + IL_0097: dup + IL_0098: ldc.i4.0 + IL_0099: ldarg.2 + IL_009a: stelem.ref + IL_009b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00a0: ret + } // end of method XmlPokeTask::UpdateNodes - // method line 724 - .method public static hidebysig - default string NewLine () cil managed + // method line 533 + .method private hidebysig + instance default void SaveDocument (class [System.Xml]System.Xml.XmlDocument document, string fileName) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 6E 65 77 6C 69 6E 65 00 00 ) // ...newline.. - - // Method begins at RVA 0xc1fc - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x10310 + // Code size 104 (0x68) + .maxstack 7 .locals init ( - string V_0) + class [mscorlib]System.Exception V_0) IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_NewLine() - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::NewLine - - } // end of class NAnt.Core.Functions.EnvironmentFunctions -} + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: ldc.i4 2000 + IL_0008: ldstr "Attempting to save XML document to '{0}'." + IL_000d: ldc.i4.1 + IL_000e: newarr [mscorlib]System.Object + IL_0013: dup + IL_0014: ldc.i4.0 + IL_0015: ldarg.2 + IL_0016: stelem.ref + IL_0017: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_001c: ldarg.1 + IL_001d: ldarg.2 + IL_001e: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Save(string) + IL_0023: ldarg.0 + IL_0024: ldc.i4 2000 + IL_0029: ldstr "XML document successfully saved to '{0}'." + IL_002e: ldc.i4.1 + IL_002f: newarr [mscorlib]System.Object + IL_0034: dup + IL_0035: ldc.i4.0 + IL_0036: ldarg.2 + IL_0037: stelem.ref + IL_0038: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_003d: nop + IL_003e: leave IL_0067 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit DoubleConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 06 64 6F 75 62 6C 65 0A 43 6F 6E 76 65 72 // ...double.Conver - 73 69 6F 6E 00 00 ) // sion.. + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0043: stloc.0 + IL_0044: nop + IL_0045: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004a: ldstr "NA1162" + IL_004f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0054: ldarg.2 + IL_0055: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005a: ldarg.0 + IL_005b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0060: ldloc.0 + IL_0061: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0066: throw + } // end handler 0 + IL_0067: ret + } // end of method XmlPokeTask::SaveDocument + .property instance class [mscorlib]System.IO.FileInfo XmlFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ + 69 72 65 64 01 ) // ired. - // method line 725 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xc216 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DoubleConversionFunctions::.ctor + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::get_XmlFile () + .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string XPath () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 78 70 61 74 68 01 00 54 02 08 52 65 71 // ...xpath..T..Req + 75 69 72 65 64 01 ) // uired. - // method line 726 - .method public static hidebysig - default float64 Parse (string s) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - // Method begins at RVA 0xc224 - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: call float64 float64::Parse(string, class [mscorlib]System.IFormatProvider) - IL_000c: stloc.0 - IL_000d: br IL_0012 + .get instance default string NAnt.Core.Tasks.XmlPokeTask::get_XPath () + .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_XPath (string 'value') + } + .property instance string Value () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 76 61 6C 75 65 01 00 54 02 08 52 65 71 // ...value..T..Req + 75 69 72 65 64 01 ) // uired. - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DoubleConversionFunctions::Parse + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. - // method line 727 - .method public static hidebysig - default string ToString (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + .get instance default string NAnt.Core.Tasks.XmlPokeTask::get_Value () + .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_Value (string 'value') + } + .property instance class NAnt.Core.Types.XmlNamespaceCollection Namespaces () + { + .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 0A 6E 61 6D 65 73 70 61 63 65 73 09 6E 61 // ...namespaces.na + 6D 65 73 70 61 63 65 00 00 ) // mespace.. - // Method begins at RVA 0xc244 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call instance string float64::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + .get instance default class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::get_Namespaces () + .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') + } + .property instance bool PreserveWhitespace () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 12 70 72 65 73 65 72 76 65 57 68 69 74 65 // ...preserveWhite + 73 70 61 63 65 01 00 54 02 08 52 65 71 75 69 72 // space..T..Requir + 65 64 00 ) // ed. - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DoubleConversionFunctions::ToString + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - } // end of class NAnt.Core.Functions.DoubleConversionFunctions + .get instance default bool NAnt.Core.Tasks.XmlPokeTask::get_PreserveWhitespace () + .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_PreserveWhitespace (bool 'value') + } + } // end of class NAnt.Core.Tasks.XmlPokeTask } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit StringFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit IncludeTask + extends NAnt.Core.Task { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 06 73 74 72 69 6E 67 06 53 74 72 69 6E 67 // ...string.String - 00 00 ) // .. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. + .field private string _buildFileName + .field private static class [mscorlib]System.Collections.Stack _includedFileNames + .field private static string _currentBasedir + .field private static int32 _nestinglevel - // method line 728 + // method line 534 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary propDict) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc265 - // Code size 10 (0xa) + // Method begins at RVA 0x10394 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method StringFunctions::.ctor + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method IncludeTask::.ctor - // method line 729 - .method public static hidebysig - default int32 GetLength (string s) cil managed + // method line 535 + .method public hidebysig specialname + instance default string get_BuildFileName () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6C 65 6E 67 74 68 00 00 ) // ...get-length.. - - // Method begins at RVA 0xc270 + // Method begins at RVA 0x1039c // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 string::get_Length() + IL_0002: ldfld string NAnt.Core.Tasks.IncludeTask::_buildFileName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::GetLength + } // end of method IncludeTask::get_BuildFileName - // method line 730 - .method public static hidebysig - default string Substring (string str, int32 startIndex, int32 length) cil managed + // method line 536 + .method public hidebysig specialname + instance default void set_BuildFileName (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 73 75 62 73 74 72 69 6E 67 00 00 ) // ...substring.. - - // Method begins at RVA 0xc28c - // Code size 17 (0x11) - .maxstack 3 - .locals init ( - string V_0) + // Method begins at RVA 0x103b7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: callvirt instance string string::Substring(int32, int32) - IL_0009: stloc.0 - IL_000a: br IL_000f - - IL_000f: ldloc.0 - IL_0010: ret - } // end of method StringFunctions::Substring + IL_0003: stfld string NAnt.Core.Tasks.IncludeTask::_buildFileName + IL_0008: ret + } // end of method IncludeTask::set_BuildFileName - // method line 731 - .method public static hidebysig - default bool StartsWith (string s1, string s2) cil managed + // method line 537 + .method family virtual hidebysig + instance default void Initialize () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 73 74 61 72 74 73 2D 77 69 74 68 00 00 ) // ...starts-with.. - - // Method begins at RVA 0xc2ac - // Code size 26 (0x1a) + // Method begins at RVA 0x103c4 + // Code size 271 (0x10f) .maxstack 3 .locals init ( - bool V_0) + string V_0, + class [mscorlib]System.Exception V_1, + string V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string) - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method StringFunctions::StartsWith - - // method line 732 - .method public static hidebysig - default bool EndsWith (string s1, string s2) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 65 6E 64 73 2D 77 69 74 68 00 00 ) // ...ends-with.. + IL_0001: ldarg.0 + IL_0002: call instance object class NAnt.Core.Element::get_Parent() + IL_0007: brfalse IL_0033 - // Method begins at RVA 0xc2d4 - // Code size 26 (0x1a) - .maxstack 3 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsSuffix(string, string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_000c: ldarg.0 + IL_000d: call instance object class NAnt.Core.Element::get_Parent() + IL_0012: isinst NAnt.Core.Project + IL_0017: brtrue IL_0033 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method StringFunctions::EndsWith + IL_001c: nop + IL_001d: ldstr "NA1180" + IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0027: ldarg.0 + IL_0028: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_002d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0032: throw + IL_0033: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + IL_0038: call bool string::IsNullOrEmpty(string) + IL_003d: brtrue IL_004c - // method line 733 - .method public static hidebysig - default string ToLower (string s) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 6F 2D 6C 6F 77 65 72 00 00 ) // ...to-lower.. + IL_0042: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel + IL_0047: brtrue IL_005e - // Method begins at RVA 0xc2fc - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_004c: nop + IL_004d: ldarg.0 + IL_004e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0053: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0058: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + IL_005d: nop + IL_005e: ldnull + IL_005f: stloc.0 + .try { // 0 + IL_0060: nop + IL_0061: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + IL_0066: ldarg.0 + IL_0067: call instance string class NAnt.Core.Tasks.IncludeTask::get_BuildFileName() + IL_006c: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0071: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0076: stloc.0 + IL_0077: nop + IL_0078: leave IL_00a6 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method StringFunctions::ToLower + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_007d: stloc.1 + IL_007e: nop + IL_007f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0084: ldstr "NA1128" + IL_0089: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_008e: ldarg.0 + IL_008f: call instance string class NAnt.Core.Tasks.IncludeTask::get_BuildFileName() + IL_0094: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0099: ldarg.0 + IL_009a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_009f: ldloc.1 + IL_00a0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00a5: throw + } // end handler 0 + IL_00a6: nop + IL_00a7: ldsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames + IL_00ac: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.Stack::GetEnumerator() + IL_00b1: stloc.3 + .try { // 1 + IL_00b2: br IL_00e8 - // method line 734 - .method public static hidebysig - default string ToUpper (string s) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 6F 2D 75 70 70 65 72 00 00 ) // ...to-upper.. + IL_00b7: ldloc.3 + IL_00b8: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00bd: castclass [mscorlib]System.String + IL_00c2: stloc.2 + IL_00c3: nop + IL_00c4: ldloc.2 + IL_00c5: ldloc.0 + IL_00c6: call bool string::op_Equality(string, string) + IL_00cb: brfalse IL_00e7 - // Method begins at RVA 0xc31c - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method StringFunctions::ToUpper + IL_00d0: nop + IL_00d1: ldstr "NA1179" + IL_00d6: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00db: ldarg.0 + IL_00dc: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00e1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00e6: throw + IL_00e7: nop + IL_00e8: ldloc.3 + IL_00e9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00ee: brtrue IL_00b7 - // method line 735 - .method public static hidebysig - default string Replace (string str, string oldValue, string newValue) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 72 65 70 6C 61 63 65 00 00 ) // ...replace.. + IL_00f3: leave IL_010e - // Method begins at RVA 0xc33c - // Code size 17 (0x11) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: callvirt instance string string::Replace(string, string) - IL_0009: stloc.0 - IL_000a: br IL_000f + } // end .try 1 + finally { // 1 + IL_00f8: ldloc.3 + IL_00f9: isinst [mscorlib]System.IDisposable + IL_00fe: dup + IL_00ff: stloc.s 4 + IL_0101: brfalse IL_010d - IL_000f: ldloc.0 - IL_0010: ret - } // end of method StringFunctions::Replace + IL_0106: ldloc.s 4 + IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_010d: endfinally + } // end handler 1 + IL_010e: ret + } // end of method IncludeTask::Initialize - // method line 736 - .method public static hidebysig - default bool Contains (string source, string 'value') cil managed + // method line 538 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 63 6F 6E 74 61 69 6E 73 00 00 ) // ...contains.. - - // Method begins at RVA 0xc35c - // Code size 33 (0x21) - .maxstack 4 + // Method begins at RVA 0x104fc + // Code size 564 (0x234) + .maxstack 7 .locals init ( - bool V_0) + string V_0, + class [System.Xml]System.Xml.XmlDocument V_1, + string V_2, + class [System.Xml]System.Xml.XmlDocument V_3, + class [System.Xml]System.Xml.XmlDocument V_4, + string V_5, + string V_6, + class [System.Xml]System.Xml.XmlTextReader V_7, + class [System.Xml]System.Xml.XmlAttribute V_8, + class [mscorlib]System.IO.StringWriter V_9, + class [System.Xml]System.Xml.XmlTextWriter V_10, + class [mscorlib]System.Exception V_11) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldc.i4.0 - IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::IndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0013: ldc.i4.0 - IL_0014: clt - IL_0016: ldc.i4.0 - IL_0017: ceq - IL_0019: stloc.0 - IL_001a: br IL_001f + IL_0001: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + IL_0006: ldarg.0 + IL_0007: call instance string class NAnt.Core.Tasks.IncludeTask::get_BuildFileName() + IL_000c: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0011: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: call bool class [mscorlib]System.IO.File::Exists(string) + IL_001d: brtrue IL_0044 - IL_001f: ldloc.0 - IL_0020: ret - } // end of method StringFunctions::Contains + IL_0022: nop + IL_0023: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0028: ldstr "NA1127" + IL_002d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0032: ldloc.0 + IL_0033: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0038: ldarg.0 + IL_0039: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_003e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0043: throw + IL_0044: ldarg.0 + IL_0045: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_004a: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_004f: ldloc.0 + IL_0050: callvirt instance bool class NAnt.Core.LocationMap::FileIsMapped(string) + IL_0055: brfalse IL_007f - // method line 737 - .method public static hidebysig - default int32 IndexOf (string source, string 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 69 6E 64 65 78 2D 6F 66 00 00 ) // ...index-of.. + IL_005a: nop + IL_005b: ldarg.0 + IL_005c: ldc.i4 2000 + IL_0061: ldstr "String_DuplicateInclude" + IL_0066: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_006b: ldc.i4.1 + IL_006c: newarr [mscorlib]System.Object + IL_0071: dup + IL_0072: ldc.i4.0 + IL_0073: ldloc.0 + IL_0074: stelem.ref + IL_0075: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_007a: br IL_0233 - // Method begins at RVA 0xc38c - // Code size 27 (0x1b) - .maxstack 4 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldc.i4.0 - IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::IndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_007f: nop + IL_0080: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0085: stloc.1 + IL_0086: ldloc.1 + IL_0087: ldloc.0 + IL_0088: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) + IL_008d: ldarg.0 + IL_008e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0093: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0098: ldloc.1 + IL_0099: callvirt instance void class NAnt.Core.LocationMap::Add(class [System.Xml]System.Xml.XmlDocument) + IL_009e: ldnull + IL_009f: stloc.1 + IL_00a0: nop + IL_00a1: ldsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames + IL_00a6: ldloc.0 + IL_00a7: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_00ac: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel + IL_00b1: ldc.i4.1 + IL_00b2: add + IL_00b3: stsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel + IL_00b8: ldarg.0 + IL_00b9: ldc.i4 2000 + IL_00be: ldstr "Including file {0}." + IL_00c3: ldc.i4.1 + IL_00c4: newarr [mscorlib]System.Object + IL_00c9: dup + IL_00ca: ldc.i4.0 + IL_00cb: ldloc.0 + IL_00cc: stelem.ref + IL_00cd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00d2: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + IL_00d7: stloc.2 + IL_00d8: ldloc.0 + IL_00d9: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00de: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + .try { // 3 + .try { // 1 + IL_00e3: nop + IL_00e4: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_00e9: stloc.3 + IL_00ea: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_00ef: stloc.s 4 + IL_00f1: ldarg.0 + IL_00f2: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00f7: callvirt instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() + IL_00fc: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0101: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_0106: stloc.s 5 + IL_0108: ldstr "" + IL_010d: stloc.s 6 + IL_010f: ldloc.0 + IL_0110: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(string) + IL_0115: stloc.s 7 + IL_0117: ldloc.s 7 + IL_0119: ldc.i4.0 + IL_011a: callvirt instance void class [System.Xml]System.Xml.XmlTextReader::set_Namespaces(bool) + IL_011f: ldloc.3 + IL_0120: ldloc.s 7 + IL_0122: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [System.Xml]System.Xml.XmlReader) + IL_0127: ldloc.3 + IL_0128: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_012d: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0132: ldstr "xmlns" + IL_0137: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::RemoveNamedItem(string) + IL_013c: pop + IL_013d: ldloc.s 7 + IL_013f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0144: ldnull + IL_0145: stloc.s 7 + IL_0147: ldloc.s 5 + IL_0149: call bool string::IsNullOrEmpty(string) + IL_014e: brtrue IL_0159 - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringFunctions::IndexOf + IL_0153: nop + IL_0154: ldloc.s 5 + IL_0156: stloc.s 6 + IL_0158: nop + IL_0159: ldloc.s 6 + IL_015b: call bool string::IsNullOrEmpty(string) + IL_0160: brtrue IL_0190 - // method line 738 - .method public static hidebysig - default int32 LastIndexOf (string source, string 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 6C 61 73 74 2D 69 6E 64 65 78 2D 6F 66 // ...last-index-of - 00 00 ) // .. + IL_0165: nop + IL_0166: ldloc.3 + IL_0167: ldstr "xmlns" + IL_016c: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlDocument::CreateAttribute(string) + IL_0171: stloc.s 8 + IL_0173: ldloc.s 8 + IL_0175: ldloc.s 6 + IL_0177: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) + IL_017c: ldloc.3 + IL_017d: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0182: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0187: ldloc.s 8 + IL_0189: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::Append(class [System.Xml]System.Xml.XmlAttribute) + IL_018e: pop + IL_018f: nop + IL_0190: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() + IL_0195: stloc.s 9 + .try { // 0 + IL_0197: nop + IL_0198: ldloc.s 9 + IL_019a: newobj instance void class [System.Xml]System.Xml.XmlTextWriter::'.ctor'(class [mscorlib]System.IO.TextWriter) + IL_019f: stloc.s 10 + IL_01a1: ldloc.3 + IL_01a2: ldloc.s 10 + IL_01a4: callvirt instance void class [System.Xml]System.Xml.XmlNode::WriteTo(class [System.Xml]System.Xml.XmlWriter) + IL_01a9: ldloc.s 4 + IL_01ab: ldloc.s 9 + IL_01ad: callvirt instance string object::ToString() + IL_01b2: callvirt instance void class [System.Xml]System.Xml.XmlDocument::LoadXml(string) + IL_01b7: ldloc.s 10 + IL_01b9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01be: ldnull + IL_01bf: stloc.s 10 + IL_01c1: nop + IL_01c2: leave IL_01d6 - // Method begins at RVA 0xc3b4 - // Code size 27 (0x1b) - .maxstack 4 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldc.i4.0 - IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::LastIndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0013: stloc.0 - IL_0014: br IL_0019 + } // end .try 0 + finally { // 0 + IL_01c7: ldloc.s 9 + IL_01c9: brfalse IL_01d5 - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringFunctions::LastIndexOf + IL_01ce: ldloc.s 9 + IL_01d0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01d5: endfinally + } // end handler 0 + IL_01d6: ldarg.0 + IL_01d7: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01dc: ldloc.s 4 + IL_01de: callvirt instance void class NAnt.Core.Project::InitializeProjectDocument(class [System.Xml]System.Xml.XmlDocument) + IL_01e3: nop + IL_01e4: leave IL_0233 - // method line 739 - .method public static hidebysig - default string PadLeft (string s, int32 totalWidth, string paddingChar) cil managed + } // end .try 1 + catch class NAnt.Core.BuildException { // 1 + IL_01e9: pop + IL_01ea: nop + IL_01eb: rethrow + } // end handler 1 + catch class [mscorlib]System.Exception { // 2 + IL_01ed: stloc.s 11 + IL_01ef: nop + IL_01f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01f5: ldstr "NA1128" + IL_01fa: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01ff: ldloc.0 + IL_0200: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0205: ldarg.0 + IL_0206: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_020b: ldloc.s 11 + IL_020d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0212: throw + } // end handler 2 + } // end .try 3 + finally { // 3 + IL_0213: nop + IL_0214: ldsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames + IL_0219: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_021e: pop + IL_021f: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel + IL_0224: ldc.i4.1 + IL_0225: sub + IL_0226: stsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel + IL_022b: ldloc.2 + IL_022c: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + IL_0231: nop + IL_0232: endfinally + } // end handler 3 + IL_0233: ret + } // end of method IncludeTask::ExecuteTask + + // method line 539 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 70 61 64 2D 6C 65 66 74 00 00 ) // ...pad-left.. + // Method begins at RVA 0x107a0 + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_0005: stsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames + IL_000a: ldstr "" + IL_000f: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir + IL_0014: ldc.i4.0 + IL_0015: stsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel + IL_001a: ret + } // end of method IncludeTask::.cctor - // Method begins at RVA 0xc3dc - // Code size 23 (0x17) - .maxstack 4 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldc.i4.0 - IL_0005: callvirt instance char string::get_Chars(int32) - IL_000a: callvirt instance string string::PadLeft(int32, char) - IL_000f: stloc.0 - IL_0010: br IL_0015 + .property instance string BuildFileName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 62 75 69 6C 64 66 69 6C 65 01 00 54 02 // ...buildfile..T. + 08 52 65 71 75 69 72 65 64 01 ) // .Required. - IL_0015: ldloc.0 - IL_0016: ret - } // end of method StringFunctions::PadLeft + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - // method line 740 - .method public static hidebysig - default string PadRight (string s, int32 totalWidth, string paddingChar) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 70 61 64 2D 72 69 67 68 74 00 00 ) // ...pad-right.. + .get instance default string NAnt.Core.Tasks.IncludeTask::get_BuildFileName () + .set instance default void NAnt.Core.Tasks.IncludeTask::set_BuildFileName (string 'value') + } + } // end of class NAnt.Core.Tasks.IncludeTask +} - // Method begins at RVA 0xc400 - // Code size 23 (0x17) - .maxstack 4 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldc.i4.0 - IL_0005: callvirt instance char string::get_Chars(int32) - IL_000a: callvirt instance string string::PadRight(int32, char) - IL_000f: stloc.0 - IL_0010: br IL_0015 +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit XmlPeekTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 78 6D 6C 70 65 65 6B 00 00 ) // ...xmlpeek.. - IL_0015: ldloc.0 - IL_0016: ret - } // end of method StringFunctions::PadRight + .field private class [mscorlib]System.IO.FileInfo _xmlFile + .field private int32 _nodeIndex + .field private string _property + .field private string _xPath + .field private class NAnt.Core.Types.XmlNamespaceCollection _namespaces - // method line 741 - .method public static hidebysig - default string Trim (string s) cil managed + // method line 540 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 74 72 69 6D 00 00 ) // ...trim.. + // Method begins at RVA 0x107bc + // Code size 25 (0x19) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld int32 NAnt.Core.Tasks.XmlPeekTask::_nodeIndex + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.Core.Types.XmlNamespaceCollection::'.ctor'() + IL_000d: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::_namespaces + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.Task::'.ctor'() + IL_0018: ret + } // end of method XmlPeekTask::.ctor - // Method begins at RVA 0xc424 + // method line 541 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_XmlFile () cil managed + { + // Method begins at RVA 0x107d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string string::Trim() + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPeekTask::_xmlFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::Trim + } // end of method XmlPeekTask::get_XmlFile - // method line 742 - .method public static hidebysig - default string TrimStart (string s) cil managed + // method line 542 + .method public hidebysig specialname + instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 74 72 69 6D 2D 73 74 61 72 74 00 00 ) // ...trim-start.. + // Method begins at RVA 0x107f3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPeekTask::_xmlFile + IL_0008: ret + } // end of method XmlPeekTask::set_XmlFile - // Method begins at RVA 0xc440 + // method line 543 + .method public hidebysig specialname + instance default int32 get_NodeIndex () cil managed + { + // Method begins at RVA 0x10800 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string [mscorlib]System.String::TrimStart() + IL_0002: ldfld int32 NAnt.Core.Tasks.XmlPeekTask::_nodeIndex IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::TrimStart + } // end of method XmlPeekTask::get_NodeIndex - // method line 743 - .method public static hidebysig - default string TrimEnd (string s) cil managed + // method line 544 + .method public hidebysig specialname + instance default void set_NodeIndex (int32 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 72 69 6D 2D 65 6E 64 00 00 ) // ...trim-end.. + // Method begins at RVA 0x1081b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Tasks.XmlPeekTask::_nodeIndex + IL_0008: ret + } // end of method XmlPeekTask::set_NodeIndex - // Method begins at RVA 0xc45c + // method line 545 + .method public hidebysig specialname + instance default string get_Property () cil managed + { + // Method begins at RVA 0x10828 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string [mscorlib]System.String::TrimEnd() + IL_0002: ldfld string NAnt.Core.Tasks.XmlPeekTask::_property IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::TrimEnd - - } // end of class NAnt.Core.Functions.StringFunctions -} + } // end of method XmlPeekTask::get_Property -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit AssemblyNameFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0C 61 73 73 65 6D 62 6C 79 6E 61 6D 65 08 // ...assemblyname. - 41 73 73 65 6D 62 6C 79 00 00 ) // Assembly.. - - - // method line 744 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 546 + .method public hidebysig specialname + instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0xc477 - // Code size 10 (0xa) + // Method begins at RVA 0x10843 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method AssemblyNameFunctions::.ctor - - // method line 745 - .method public static hidebysig - default string GetCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 63 6F 64 65 62 61 73 65 00 // ...get-codebase. - 00 ) // . - - // Method begins at RVA 0xc484 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_CodeBase() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetCodeBase + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.XmlPeekTask::_property + IL_0008: ret + } // end of method XmlPeekTask::set_Property - // method line 746 - .method public static hidebysig - default string GetEscapedCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 547 + .method public hidebysig specialname + instance default string get_XPath () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 14 67 65 74 2D 65 73 63 61 70 65 64 2D 63 // ...get-escaped-c - 6F 64 65 62 61 73 65 00 00 ) // odebase.. - - // Method begins at RVA 0xc4a0 + // Method begins at RVA 0x10850 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_EscapedCodeBase() + IL_0002: ldfld string NAnt.Core.Tasks.XmlPeekTask::_xPath IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyNameFunctions::GetEscapedCodeBase + } // end of method XmlPeekTask::get_XPath - // method line 747 - .method public static hidebysig - default string GetFullName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 548 + .method public hidebysig specialname + instance default void set_XPath (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 6E 61 6D 65 // ...get-full-name - 00 00 ) // .. - - // Method begins at RVA 0xc4bc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x1086b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetFullName + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.XmlPeekTask::_xPath + IL_0008: ret + } // end of method XmlPeekTask::set_XPath - // method line 748 - .method public static hidebysig - default string GetName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 549 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - - // Method begins at RVA 0xc4d8 + // Method begins at RVA 0x10878 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.XmlNamespaceCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_0002: ldfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::_namespaces IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyNameFunctions::GetName + } // end of method XmlPeekTask::get_Namespaces - // method line 749 - .method public static hidebysig - default class [mscorlib]System.Version GetVersion (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 550 + .method public hidebysig specialname + instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. - - // Method begins at RVA 0xc4f4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Version V_0) + // Method begins at RVA 0x10893 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetVersion + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::_namespaces + IL_0008: ret + } // end of method XmlPeekTask::set_Namespaces - // method line 750 - .method public hidebysig - instance default class [mscorlib]System.Reflection.AssemblyName GetAssemblyName (string assemblyFile) cil managed + // method line 551 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 61 73 73 65 6D 62 6C 79 2D // ...get-assembly- - 6E 61 6D 65 00 00 ) // name.. - - // Method begins at RVA 0xc510 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x108a0 + // Code size 218 (0xda) + .maxstack 7 .locals init ( - class [mscorlib]System.Reflection.AssemblyName V_0) + class [System.Xml]System.Xml.XmlDocument V_0, + class NAnt.Core.BuildException V_1, + class [mscorlib]System.Exception V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method AssemblyNameFunctions::GetAssemblyName - - } // end of class NAnt.Core.Functions.AssemblyNameFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit FrameworkFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 09 66 72 61 6D 65 77 6F 72 6B 04 4E 41 6E // ...framework.NAn - 74 00 00 ) // t.. + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Peeking at '{0}' with XPath expression '{1}'." + IL_000c: ldc.i4.2 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() + IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldarg.0 + IL_0023: call instance string class NAnt.Core.Tasks.XmlPeekTask::get_XPath() + IL_0028: stelem.ref + IL_0029: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_002e: ldarg.0 + IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() + IL_0034: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0039: brtrue IL_006a + IL_003e: nop + IL_003f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0044: ldstr "NA1154" + IL_0049: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004e: ldarg.0 + IL_004f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() + IL_0054: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0059: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005e: ldarg.0 + IL_005f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0064: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0069: throw + .try { // 0 + IL_006a: nop + IL_006b: ldarg.0 + IL_006c: ldarg.0 + IL_006d: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() + IL_0072: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0077: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Tasks.XmlPeekTask::LoadDocument(string) + IL_007c: stloc.0 + IL_007d: ldarg.0 + IL_007e: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() + IL_0083: ldarg.0 + IL_0084: call instance string class NAnt.Core.Tasks.XmlPeekTask::get_Property() + IL_0089: ldarg.0 + IL_008a: ldarg.0 + IL_008b: call instance string class NAnt.Core.Tasks.XmlPeekTask::get_XPath() + IL_0090: ldloc.0 + IL_0091: ldarg.0 + IL_0092: call instance int32 class NAnt.Core.Tasks.XmlPeekTask::get_NodeIndex() + IL_0097: call instance string class NAnt.Core.Tasks.XmlPeekTask::GetNodeContents(string, class [System.Xml]System.Xml.XmlDocument, int32) + IL_009c: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00a1: nop + IL_00a2: leave IL_00d9 - // method line 751 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xc536 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method FrameworkFunctions::.ctor + } // end .try 0 + catch class NAnt.Core.BuildException { // 0 + IL_00a7: stloc.1 + IL_00a8: nop + IL_00a9: ldloc.1 + IL_00aa: throw + } // end handler 0 + catch class [mscorlib]System.Exception { // 1 + IL_00ab: stloc.2 + IL_00ac: nop + IL_00ad: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00b2: ldstr "NA1153" + IL_00b7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00bc: ldarg.0 + IL_00bd: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() + IL_00c2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00c7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00cc: ldarg.0 + IL_00cd: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00d2: ldloc.2 + IL_00d3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00d8: throw + } // end handler 1 + IL_00d9: ret + } // end of method XmlPeekTask::ExecuteTask - // method line 752 - .method public hidebysig - instance default bool Exists (string framework) cil managed + // method line 552 + .method private hidebysig + instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - - // Method begins at RVA 0xc544 - // Code size 42 (0x2a) - .maxstack 2 + // Method begins at RVA 0x109a4 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - bool V_1) + class [System.Xml]System.Xml.XmlDocument V_0, + class [System.Xml]System.Xml.XmlDocument V_1, + class [mscorlib]System.Exception V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brfalse IL_0021 - - IL_0019: ldloc.0 - IL_001a: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() - IL_001f: br.s IL_0022 - - IL_0021: ldc.i4.0 - IL_0022: stloc.1 - IL_0023: br IL_0028 + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: ldarg.1 + IL_000c: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) + IL_0011: ldloc.0 + IL_0012: stloc.1 + IL_0013: leave IL_003c - IL_0028: ldloc.1 - IL_0029: ret - } // end of method FrameworkFunctions::Exists + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0018: stloc.2 + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "NA1158" + IL_0024: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0029: ldarg.1 + IL_002a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002f: ldarg.0 + IL_0030: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0035: ldloc.2 + IL_0036: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_003b: throw + } // end handler 0 + IL_003c: ldloc.1 + IL_003d: ret + } // end of method XmlPeekTask::LoadDocument - // method line 753 - .method public hidebysig - instance default bool SdkExists (string framework) cil managed + // method line 553 + .method private hidebysig + instance default string GetNodeContents (string xpath, class [System.Xml]System.Xml.XmlDocument document, int32 nodeIndex) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 73 64 6B 2D 65 78 69 73 74 73 00 00 ) // ...sdk-exists.. - - // Method begins at RVA 0xc57c - // Code size 29 (0x1d) - .maxstack 2 + // Method begins at RVA 0x10a00 + // Code size 528 (0x210) + .maxstack 8 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - bool V_1) + string V_0, + object V_1, + int32 V_2, + class [System.Xml]System.Xml.XmlNamespaceManager V_3, + class NAnt.Core.Types.XmlNamespace V_4, + class NAnt.Core.Types.XmlNamespaceEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class [System.Xml]System.Xml.XPath.XPathNavigator V_7, + class [System.Xml]System.Xml.XPath.XPathExpression V_8, + class [mscorlib]System.Exception V_9, + class [System.Xml]System.Xml.XPath.XPathNodeIterator V_10, + class [System.Xml]System.Xml.XmlNode V_11, + class [mscorlib]System.IFormattable V_12, + string V_13) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_000f: ldnull - IL_0010: ceq - IL_0012: ldc.i4.0 - IL_0013: ceq - IL_0015: stloc.1 - IL_0016: br IL_001b - - IL_001b: ldloc.1 - IL_001c: ret - } // end of method FrameworkFunctions::SdkExists + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldc.i4.0 + IL_0006: stloc.2 + .try { // 1 + IL_0007: nop + IL_0008: ldarg.2 + IL_0009: callvirt instance class [System.Xml]System.Xml.XmlNameTable class [System.Xml]System.Xml.XmlDocument::get_NameTable() + IL_000e: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) + IL_0013: stloc.3 + IL_0014: nop + IL_0015: ldarg.0 + IL_0016: call instance class NAnt.Core.Types.XmlNamespaceCollection class NAnt.Core.Tasks.XmlPeekTask::get_Namespaces() + IL_001b: callvirt instance class NAnt.Core.Types.XmlNamespaceEnumerator class NAnt.Core.Types.XmlNamespaceCollection::GetEnumerator() + IL_0020: stloc.s 5 + .try { // 0 + IL_0022: br IL_0060 - // method line 754 - .method public hidebysig - instance default string GetTargetFramework () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 14 67 65 74 2D 74 61 72 67 65 74 2D 66 72 // ...get-target-fr - 61 6D 65 77 6F 72 6B 00 00 ) // amework.. + IL_0027: ldloc.s 5 + IL_0029: callvirt instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceEnumerator::get_Current() + IL_002e: stloc.s 4 + IL_0030: nop + IL_0031: ldloc.s 4 + IL_0033: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_IfDefined() + IL_0038: brfalse IL_005f - // Method begins at RVA 0xc5a8 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_003d: ldloc.s 4 + IL_003f: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() + IL_0044: brtrue IL_005f - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetTargetFramework + IL_0049: nop + IL_004a: ldloc.3 + IL_004b: ldloc.s 4 + IL_004d: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Prefix() + IL_0052: ldloc.s 4 + IL_0054: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Uri() + IL_0059: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) + IL_005e: nop + IL_005f: nop + IL_0060: ldloc.s 5 + IL_0062: callvirt instance bool class NAnt.Core.Types.XmlNamespaceEnumerator::MoveNext() + IL_0067: brtrue IL_0027 - // method line 755 - .method public hidebysig - instance default string GetRuntimeFramework () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 15 67 65 74 2D 72 75 6E 74 69 6D 65 2D 66 // ...get-runtime-f - 72 61 6D 65 77 6F 72 6B 00 00 ) // ramework.. + IL_006c: leave IL_0088 - // Method begins at RVA 0xc5d0 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_000c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_0011: stloc.0 - IL_0012: br IL_0017 + } // end .try 0 + finally { // 0 + IL_0071: ldloc.s 5 + IL_0073: isinst [mscorlib]System.IDisposable + IL_0078: dup + IL_0079: stloc.s 6 + IL_007b: brfalse IL_0087 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetRuntimeFramework + IL_0080: ldloc.s 6 + IL_0082: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0087: endfinally + } // end handler 0 + IL_0088: ldarg.2 + IL_0089: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XmlNode::CreateNavigator() + IL_008e: stloc.s 7 + IL_0090: ldloc.s 7 + IL_0092: ldarg.1 + IL_0093: callvirt instance class [System.Xml]System.Xml.XPath.XPathExpression class [System.Xml]System.Xml.XPath.XPathNavigator::Compile(string) + IL_0098: stloc.s 8 + IL_009a: ldloc.s 8 + IL_009c: ldloc.3 + IL_009d: callvirt instance void class [System.Xml]System.Xml.XPath.XPathExpression::SetContext(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00a2: ldloc.s 7 + IL_00a4: ldloc.s 8 + IL_00a6: callvirt instance object class [System.Xml]System.Xml.XPath.XPathNavigator::Evaluate(class [System.Xml]System.Xml.XPath.XPathExpression) + IL_00ab: stloc.1 + IL_00ac: nop + IL_00ad: leave IL_00d8 - // method line 756 - .method public hidebysig - instance default string GetFamily (string framework) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 66 61 6D 69 6C 79 00 00 ) // ...get-family.. + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_00b2: stloc.s 9 + IL_00b4: nop + IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ba: ldstr "NA1155" + IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00c4: ldarg.1 + IL_00c5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00ca: ldarg.0 + IL_00cb: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00d0: ldloc.s 9 + IL_00d2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00d7: throw + } // end handler 1 + IL_00d8: ldloc.1 + IL_00d9: brtrue IL_0100 - // Method begins at RVA 0xc5f8 - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() - IL_000f: stloc.1 - IL_0010: br IL_0015 + IL_00de: nop + IL_00df: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00e4: ldstr "NA1156" + IL_00e9: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00ee: ldarg.1 + IL_00ef: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00f4: ldarg.0 + IL_00f5: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00fa: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00ff: throw + IL_0100: ldc.i4.1 + IL_0101: stloc.2 + IL_0102: ldloc.1 + IL_0103: isinst [System.Xml]System.Xml.XPath.XPathNodeIterator + IL_0108: stloc.s 10 + IL_010a: ldloc.s 10 + IL_010c: brfalse IL_011b - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetFamily + IL_0111: nop + IL_0112: ldloc.s 10 + IL_0114: callvirt instance int32 class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Count() + IL_0119: stloc.2 + IL_011a: nop + IL_011b: ldarg.0 + IL_011c: ldc.i4 2000 + IL_0121: ldstr "Found '{0}' node{1} with the XPath expression '{2}'." + IL_0126: ldc.i4.3 + IL_0127: newarr [mscorlib]System.Object + IL_012c: dup + IL_012d: ldc.i4.0 + IL_012e: ldloc.2 + IL_012f: box [mscorlib]System.Int32 + IL_0134: stelem.ref + IL_0135: dup + IL_0136: ldc.i4.1 + IL_0137: ldloc.2 + IL_0138: ldc.i4.1 + IL_0139: ble IL_0148 - // method line 757 - .method public hidebysig - instance default class [mscorlib]System.Version GetVersion () cil managed + IL_013e: ldstr "s" + IL_0143: br IL_014d + + IL_0148: ldstr "" + IL_014d: stelem.ref + IL_014e: dup + IL_014f: ldc.i4.2 + IL_0150: ldarg.1 + IL_0151: stelem.ref + IL_0152: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0157: ldloc.s 10 + IL_0159: brfalse IL_01d2 + + IL_015e: nop + IL_015f: ldarg.3 + IL_0160: ldloc.2 + IL_0161: blt IL_018d + + IL_0166: nop + IL_0167: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_016c: ldstr "NA1157" + IL_0171: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0176: ldarg.3 + IL_0177: box [mscorlib]System.Int32 + IL_017c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0181: ldarg.0 + IL_0182: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0187: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_018c: throw + IL_018d: br IL_01c0 + + IL_0192: nop + IL_0193: ldloc.s 10 + IL_0195: callvirt instance int32 class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_CurrentPosition() + IL_019a: ldarg.3 + IL_019b: ldc.i4.1 + IL_019c: add + IL_019d: bne.un IL_01bf + + IL_01a2: nop + IL_01a3: ldloc.s 10 + IL_01a5: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Current() + IL_01aa: castclass [System.Xml]System.Xml.IHasXmlNode + IL_01af: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.IHasXmlNode::GetNode() + IL_01b4: stloc.s 11 + IL_01b6: ldloc.s 11 + IL_01b8: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerXml() + IL_01bd: stloc.0 + IL_01be: nop + IL_01bf: nop + IL_01c0: ldloc.s 10 + IL_01c2: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNodeIterator::MoveNext() + IL_01c7: brtrue IL_0192 + + IL_01cc: nop + IL_01cd: br IL_0205 + + IL_01d2: nop + IL_01d3: ldloc.1 + IL_01d4: isinst [mscorlib]System.IFormattable + IL_01d9: brfalse IL_01fb + + IL_01de: nop + IL_01df: ldloc.1 + IL_01e0: castclass [mscorlib]System.IFormattable + IL_01e5: stloc.s 12 + IL_01e7: ldloc.s 12 + IL_01e9: ldnull + IL_01ea: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01ef: callvirt instance string class [mscorlib]System.IFormattable::ToString(string, class [mscorlib]System.IFormatProvider) + IL_01f4: stloc.0 + IL_01f5: nop + IL_01f6: br IL_0204 + + IL_01fb: nop + IL_01fc: ldloc.1 + IL_01fd: callvirt instance string object::ToString() + IL_0202: stloc.0 + IL_0203: nop + IL_0204: nop + IL_0205: ldloc.0 + IL_0206: stloc.s 13 + IL_0208: br IL_020d + + IL_020d: ldloc.s 13 + IL_020f: ret + } // end of method XmlPeekTask::GetNodeContents + + .property instance class [mscorlib]System.IO.FileInfo XmlFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ + 69 72 65 64 01 ) // ired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPeekTask::get_XmlFile () + .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance int32 NodeIndex () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6E 6F 64 65 69 6E 64 65 78 01 00 54 02 // ...nodeindex..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + + .get instance default int32 NAnt.Core.Tasks.XmlPeekTask::get_NodeIndex () + .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_NodeIndex (int32 'value') + } + .property instance string Property () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Tasks.XmlPeekTask::get_Property () + .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_Property (string 'value') + } + .property instance string XPath () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 78 70 61 74 68 01 00 54 02 08 52 65 71 // ...xpath..T..Req + 75 69 72 65 64 01 ) // uired. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Tasks.XmlPeekTask::get_XPath () + .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_XPath (string 'value') + } + .property instance class NAnt.Core.Types.XmlNamespaceCollection Namespaces () + { + .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 0A 6E 61 6D 65 73 70 61 63 65 73 09 6E 61 // ...namespaces.na + 6D 65 73 70 61 63 65 00 00 ) // mespace.. + + .get instance default class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::get_Namespaces () + .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') + } + } // end of class NAnt.Core.Tasks.XmlPeekTask +} + +.namespace NAnt.Core.Tasks +{ + .class public auto ansi beforefieldinit CopyTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 63 6F 70 79 00 00 ) // ...copy.. + + .field private class [mscorlib]System.IO.FileInfo _sourceFile + .field private class [mscorlib]System.IO.FileInfo _toFile + .field private class [mscorlib]System.IO.DirectoryInfo _toDirectory + .field private bool _overwrite + .field private bool _flatten + .field private class NAnt.Core.Types.FileSet _fileset + .field private class NAnt.Core.Tasks.CopyTask/FileOperationMap _operationMap + .field private bool _includeEmptyDirs + .field private class NAnt.Core.Filters.FilterChain _filters + .field private class [mscorlib]System.Text.Encoding _inputEncoding + .field private class [mscorlib]System.Text.Encoding _outputEncoding + + // method line 554 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. + // Method begins at RVA 0xaf38 + // Code size 72 (0x48) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::_fileset + IL_000b: ldarg.0 + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.Core.Tasks.CopyTask::_includeEmptyDirs + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.Task::'.ctor'() + IL_0018: nop + IL_0019: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_001e: brfalse IL_0035 - // Method begins at RVA 0xc61c - // Code size 25 (0x19) + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperationMap::'.ctor'() + IL_002a: stfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_002f: nop + IL_0030: br IL_0047 + + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: call class [mscorlib]System.StringComparer class [mscorlib]System.StringComparer::get_InvariantCultureIgnoreCase() + IL_003c: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperationMap::'.ctor'(class [mscorlib]System.StringComparer) + IL_0041: stfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_0046: nop + IL_0047: ret + } // end of method CopyTask::.ctor + + // method line 555 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.FileInfo get_SourceFile () cil managed + { + // Method begins at RVA 0xaf8c + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Version V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000c: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_sourceFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_SourceFile - // method line 758 - .method public hidebysig - instance default class [mscorlib]System.Version GetVersion (string framework) cil managed + // method line 556 + .method public virtual hidebysig newslot specialname + instance default void set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. - - // Method begins at RVA 0xc644 - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class [mscorlib]System.Version V_1) + // Method begins at RVA 0xafa7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() - IL_000f: stloc.1 - IL_0010: br IL_0015 - - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetVersion + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_sourceFile + IL_0008: ret + } // end of method CopyTask::set_SourceFile - // method line 759 - .method public hidebysig - instance default string GetDescription () cil managed + // method line 557 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.FileInfo get_ToFile () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 64 65 73 63 72 69 70 74 69 // ...get-descripti - 6F 6E 00 00 ) // on.. - - // Method begins at RVA 0xc668 - // Code size 25 (0x19) + // Method begins at RVA 0xafb4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_toFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetDescription + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_ToFile - // method line 760 - .method public hidebysig - instance default string GetDescription (string framework) cil managed + // method line 558 + .method public virtual hidebysig newslot specialname + instance default void set_ToFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 64 65 73 63 72 69 70 74 69 // ...get-descripti - 6F 6E 00 00 ) // on.. - - // Method begins at RVA 0xc690 - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) + // Method begins at RVA 0xafcf + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_000f: stloc.1 - IL_0010: br IL_0015 - - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetDescription + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_toFile + IL_0008: ret + } // end of method CopyTask::set_ToFile - // method line 761 - .method public hidebysig - instance default class [mscorlib]System.Version GetClrVersion () cil managed + // method line 559 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 63 6C 72 2D 76 65 72 73 69 // ...get-clr-versi - 6F 6E 00 00 ) // on.. - - // Method begins at RVA 0xc6b4 - // Code size 25 (0x19) + // Method begins at RVA 0xafdc + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Version V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000c: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.CopyTask::_toDirectory + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetClrVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_ToDirectory - // method line 762 - .method public hidebysig - instance default class [mscorlib]System.Version GetClrVersion (string framework) cil managed + // method line 560 + .method public virtual hidebysig newslot specialname + instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 63 6C 72 2D 76 65 72 73 69 // ...get-clr-versi - 6F 6E 00 00 ) // on.. - - // Method begins at RVA 0xc6dc - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class [mscorlib]System.Version V_1) + // Method begins at RVA 0xaff7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_000f: stloc.1 - IL_0010: br IL_0015 - - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetClrVersion + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.CopyTask::_toDirectory + IL_0008: ret + } // end of method CopyTask::set_ToDirectory - // method line 763 - .method public hidebysig - instance default string GetFrameworkDirectory (string framework) cil managed + // method line 561 + .method public hidebysig specialname + instance default bool get_Overwrite () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 17 67 65 74 2D 66 72 61 6D 65 77 6F 72 6B // ...get-framework - 2D 64 69 72 65 63 74 6F 72 79 00 00 ) // -directory.. - - // Method begins at RVA 0xc700 - // Code size 28 (0x1c) - .maxstack 2 + // Method begins at RVA 0xb004 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_000f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0014: stloc.1 - IL_0015: br IL_001a + IL_0002: ldfld bool NAnt.Core.Tasks.CopyTask::_overwrite + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001a: ldloc.1 - IL_001b: ret - } // end of method FrameworkFunctions::GetFrameworkDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_Overwrite - // method line 764 - .method public hidebysig - instance default string GetAssemblyDirectory (string framework) cil managed + // method line 562 + .method public hidebysig specialname + instance default void set_Overwrite (bool 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 16 67 65 74 2D 61 73 73 65 6D 62 6C 79 2D // ...get-assembly- - 64 69 72 65 63 74 6F 72 79 00 00 ) // directory.. - - // Method begins at RVA 0xc728 - // Code size 28 (0x1c) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) + // Method begins at RVA 0xb01f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() - IL_000f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0014: stloc.1 - IL_0015: br IL_001a - - IL_001a: ldloc.1 - IL_001b: ret - } // end of method FrameworkFunctions::GetAssemblyDirectory + IL_0003: stfld bool NAnt.Core.Tasks.CopyTask::_overwrite + IL_0008: ret + } // end of method CopyTask::set_Overwrite - // method line 765 - .method public hidebysig - instance default string GetSdkDirectory (string framework) cil managed + // method line 563 + .method public virtual hidebysig newslot specialname + instance default bool get_Flatten () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 73 64 6B 2D 64 69 72 65 63 // ...get-sdk-direc - 74 6F 72 79 00 00 ) // tory.. - - // Method begins at RVA 0xc750 - // Code size 46 (0x2e) - .maxstack 2 + // Method begins at RVA 0xb02c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class [mscorlib]System.IO.DirectoryInfo V_1, - string V_2) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_000f: stloc.1 - IL_0010: ldloc.1 - IL_0011: brfalse IL_0021 + IL_0002: ldfld bool NAnt.Core.Tasks.CopyTask::_flatten + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0016: ldloc.1 - IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001c: br IL_0026 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_Flatten - IL_0021: ldsfld string [mscorlib]System.String::Empty - IL_0026: stloc.2 - IL_0027: br IL_002c - - IL_002c: ldloc.2 - IL_002d: ret - } // end of method FrameworkFunctions::GetSdkDirectory - - // method line 766 - .method public hidebysig - instance default string GetToolPath (string tool) cil managed + // method line 564 + .method public virtual hidebysig newslot specialname + instance default void set_Flatten (bool 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 74 6F 6F 6C 2D 70 61 74 68 // ...get-tool-path - 00 00 ) // .. - - // Method begins at RVA 0xc78c - // Code size 57 (0x39) - .maxstack 3 - .locals init ( - string V_0, - string V_1) + // Method begins at RVA 0xb047 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000c: ldarg.1 - IL_000d: callvirt instance string class NAnt.Core.FrameworkInfo::GetToolPath(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brtrue IL_0030 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "\"{0}\" could not be found in any of the configured tool paths." - IL_0024: ldarg.1 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: stloc.1 - IL_0032: br IL_0037 - - IL_0037: ldloc.1 - IL_0038: ret - } // end of method FrameworkFunctions::GetToolPath + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.CopyTask::_flatten + IL_0008: ret + } // end of method CopyTask::set_Flatten - // method line 767 - .method public hidebysig - instance default string GetRuntimeEngine (string framework) cil managed + // method line 565 + .method public hidebysig specialname + instance default bool get_IncludeEmptyDirs () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 72 75 6E 74 69 6D 65 2D 65 // ...get-runtime-e - 6E 67 69 6E 65 00 00 ) // ngine.. - - // Method begins at RVA 0xc7d4 - // Code size 23 (0x17) - .maxstack 2 + // Method begins at RVA 0xb054 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance string class NAnt.Core.FrameworkInfo::get_RuntimeEngine() - IL_000f: stloc.1 - IL_0010: br IL_0015 + IL_0002: ldfld bool NAnt.Core.Tasks.CopyTask::_includeEmptyDirs + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetRuntimeEngine + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_IncludeEmptyDirs - // method line 768 - .method public hidebysig - instance default string GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed + // method line 566 + .method public hidebysig specialname + instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0E 67 65 74 2D 66 72 61 6D 65 77 6F 72 6B // ...get-framework - 73 00 00 ) // s.. - - // Method begins at RVA 0xc7f8 - // Code size 109 (0x6d) - .maxstack 3 - .locals init ( - class NAnt.Core.FrameworkInfo[] V_0, - string V_1, - class [mscorlib]System.Text.StringBuilder V_2, - int32 V_3) + // Method begins at RVA 0xb06f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.Core.FrameworkInfo[] class NAnt.Core.Project::GetFrameworks(valuetype NAnt.Core.FrameworkTypes) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldlen - IL_0010: conv.i4 - IL_0011: brtrue IL_0021 - - IL_0016: ldsfld string [mscorlib]System.String::Empty - IL_001b: stloc.1 - IL_001c: br IL_006b - - IL_0021: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0026: stloc.2 - IL_0027: ldc.i4.0 - IL_0028: stloc.3 - IL_0029: br IL_0056 - - IL_002e: nop - IL_002f: ldloc.3 - IL_0030: ldc.i4.0 - IL_0031: ble IL_0042 - - IL_0036: ldloc.2 - IL_0037: ldstr "," - IL_003c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0041: pop - IL_0042: ldloc.2 - IL_0043: ldloc.0 - IL_0044: ldloc.3 - IL_0045: ldelem.ref - IL_0046: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_004b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0050: pop - IL_0051: nop - IL_0052: ldloc.3 - IL_0053: ldc.i4.1 - IL_0054: add - IL_0055: stloc.3 - IL_0056: ldloc.3 - IL_0057: ldloc.0 - IL_0058: ldlen - IL_0059: conv.i4 - IL_005a: blt IL_002e - - IL_005f: ldloc.2 - IL_0060: callvirt instance string object::ToString() - IL_0065: stloc.1 - IL_0066: br IL_006b - - IL_006b: ldloc.1 - IL_006c: ret - } // end of method FrameworkFunctions::GetFrameworks + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.CopyTask::_includeEmptyDirs + IL_0008: ret + } // end of method CopyTask::set_IncludeEmptyDirs - // method line 769 - .method private hidebysig - instance default class NAnt.Core.FrameworkInfo GetFramework (string framework) cil managed + // method line 567 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Types.FileSet get_CopyFileSet () cil managed { - // Method begins at RVA 0xc874 - // Code size 114 (0x72) - .maxstack 3 + // Method begins at RVA 0xb07c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class NAnt.Core.FrameworkInfo V_1) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0008: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000d: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_0012: call bool string::op_Equality(string, string) - IL_0017: brfalse IL_002e - - IL_001c: nop - IL_001d: ldarg.0 - IL_001e: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0023: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0028: stloc.0 - IL_0029: br IL_0070 - - IL_002e: ldarg.0 - IL_002f: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0034: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_0039: ldarg.1 - IL_003a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_003f: stloc.1 - IL_0040: ldloc.1 - IL_0041: brtrue IL_0062 - - IL_0046: nop - IL_0047: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004c: ldstr "NA1096" - IL_0051: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0056: ldarg.1 - IL_0057: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005c: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0061: throw - IL_0062: nop - IL_0063: ldloc.1 - IL_0064: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() - IL_0069: ldloc.1 - IL_006a: stloc.0 - IL_006b: br IL_0070 - - IL_0070: ldloc.0 - IL_0071: ret - } // end of method FrameworkFunctions::GetFramework - - } // end of class NAnt.Core.Functions.FrameworkFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit DateTimeFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 64 61 74 65 74 69 6D 65 09 44 61 74 65 // ...datetime.Date - 2F 54 69 6D 65 00 00 ) // /Time.. + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::_fileset + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_CopyFileSet - // method line 770 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 568 + .method public virtual hidebysig newslot specialname + instance default void set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xc8f2 - // Code size 10 (0xa) + // Method begins at RVA 0xb097 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DateTimeFunctions::.ctor - - // method line 771 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime Now () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 6E 6F 77 00 00 ) // ...now.. - - // Method begins at RVA 0xc900 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) IL_0000: nop - IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method DateTimeFunctions::Now + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::_fileset + IL_0008: ret + } // end of method CopyTask::set_CopyFileSet - // method line 772 - .method public static hidebysig - default int32 GetYear (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 569 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Filters.FilterChain get_Filters () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 79 65 61 72 00 00 ) // ...get-year.. - - // Method begins at RVA 0xc91c - // Code size 16 (0x10) + // Method begins at RVA 0xb0a4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Filters.FilterChain V_0) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Year() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.CopyTask::_filters + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetYear + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_Filters - // method line 773 - .method public static hidebysig - default int32 GetMonth (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 570 + .method public virtual hidebysig newslot specialname + instance default void set_Filters (class NAnt.Core.Filters.FilterChain 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 6D 6F 6E 74 68 00 00 ) // ...get-month.. - - // Method begins at RVA 0xc938 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0xb0bf + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Month() - IL_0008: stloc.0 - IL_0009: br IL_000e - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetMonth + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.CopyTask::_filters + IL_0008: ret + } // end of method CopyTask::set_Filters - // method line 774 - .method public static hidebysig - default int32 GetDay (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 571 + .method public hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_InputEncoding () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 67 65 74 2D 64 61 79 00 00 ) // ...get-day.. - - // Method begins at RVA 0xc954 - // Code size 16 (0x10) + // Method begins at RVA 0xb0cc + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Day() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_inputEncoding + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDay + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_InputEncoding - // method line 775 - .method public static hidebysig - default int32 GetHour (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 572 + .method public hidebysig specialname + instance default void set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 68 6F 75 72 00 00 ) // ...get-hour.. - - // Method begins at RVA 0xc970 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0xb0e7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Hour() - IL_0008: stloc.0 - IL_0009: br IL_000e - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetHour + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_inputEncoding + IL_0008: ret + } // end of method CopyTask::set_InputEncoding - // method line 776 - .method public static hidebysig - default int32 GetMinute (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 573 + .method public hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_OutputEncoding () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6D 69 6E 75 74 65 00 00 ) // ...get-minute.. - - // Method begins at RVA 0xc98c - // Code size 16 (0x10) + // Method begins at RVA 0xb0f4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Minute() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_outputEncoding + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetMinute + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_OutputEncoding - // method line 777 - .method public static hidebysig - default int32 GetSecond (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 574 + .method public hidebysig specialname + instance default void set_OutputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 73 65 63 6F 6E 64 00 00 ) // ...get-second.. - - // Method begins at RVA 0xc9a8 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0xb10f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Second() - IL_0008: stloc.0 - IL_0009: br IL_000e - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetSecond + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_outputEncoding + IL_0008: ret + } // end of method CopyTask::set_OutputEncoding - // method line 778 - .method public static hidebysig - default int32 GetMillisecond (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 575 + .method family hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_FileCopyMap () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 6D 69 6C 6C 69 73 65 63 6F // ...get-milliseco - 6E 64 00 00 ) // nd.. - - // Method begins at RVA 0xc9c4 - // Code size 16 (0x10) + // Method begins at RVA 0xb11c + // Code size 20 (0x14) .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.Collections.Hashtable V_0) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Millisecond() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_0007: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.Tasks.CopyTask/FileOperationMap::ConvertToHashtable() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetMillisecond + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CopyTask::get_FileCopyMap - // method line 779 - .method public static hidebysig - default int64 GetTicks (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 576 + .method family hidebysig specialname + instance default class NAnt.Core.Tasks.CopyTask/FileOperationMap get_OperationMap () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 74 69 63 6B 73 00 00 ) // ...get-ticks.. - - // Method begins at RVA 0xc9e0 - // Code size 16 (0x10) + // Method begins at RVA 0xb13c + // Code size 15 (0xf) .maxstack 1 .locals init ( - int64 V_0) + class NAnt.Core.Tasks.CopyTask/FileOperationMap V_0) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int64 valuetype [mscorlib]System.DateTime::get_Ticks() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetTicks + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CopyTask::get_OperationMap - // method line 780 - .method public static hidebysig - default int32 GetDayOfWeek (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 577 + .method family virtual hidebysig + instance default void Initialize () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 77 65 // ...get-day-of-we - 65 6B 00 00 ) // ek.. - - // Method begins at RVA 0xc9fc - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0xb158 + // Code size 321 (0x141) + .maxstack 3 IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance valuetype [mscorlib]System.DayOfWeek valuetype [mscorlib]System.DateTime::get_DayOfWeek() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() + IL_0007: brfalse IL_0038 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDayOfWeek - - // method line 781 - .method public static hidebysig - default int32 GetDayOfYear (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 79 65 // ...get-day-of-ye - 61 72 00 00 ) // ar.. - - // Method begins at RVA 0xca18 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_DayOfYear() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_000c: ldarg.0 + IL_000d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_0012: brtrue IL_0038 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDayOfYear + IL_0017: nop + IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001d: ldstr "'flatten' attribute requires that 'todir' has been set." + IL_0022: call !!0[] class [mscorlib]System.Array::Empty () + IL_0027: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_002c: ldarg.0 + IL_002d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0032: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0037: throw + IL_0038: ldarg.0 + IL_0039: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_003e: brtrue IL_0085 - // method line 782 - .method public static hidebysig - default int32 GetDaysInMonth (int32 year, int32 month) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 64 61 79 73 2D 69 6E 2D 6D // ...get-days-in-m - 6F 6E 74 68 00 00 ) // onth.. + IL_0043: ldarg.0 + IL_0044: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0049: brfalse IL_0085 - // Method begins at RVA 0xca34 - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call int32 valuetype [mscorlib]System.DateTime::DaysInMonth(int32, int32) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_004e: ldarg.0 + IL_004f: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0054: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0059: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_005e: ldc.i4.0 + IL_005f: ble IL_0085 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDaysInMonth + IL_0064: nop + IL_0065: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_006a: ldstr "The 'todir' should be set when using the element to specify the list of files to be copied." + IL_006f: call !!0[] class [mscorlib]System.Array::Empty () + IL_0074: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0079: ldarg.0 + IL_007a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_007f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0084: throw + IL_0085: ldarg.0 + IL_0086: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() + IL_008b: brfalse IL_00d2 - // method line 783 - .method public static hidebysig - default bool IsLeapYear (int32 year) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 69 73 2D 6C 65 61 70 2D 79 65 61 72 00 // ...is-leap-year. - 00 ) // . + IL_0090: ldarg.0 + IL_0091: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0096: brfalse IL_00d2 - // Method begins at RVA 0xca50 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call bool valuetype [mscorlib]System.DateTime::IsLeapYear(int32) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_009b: ldarg.0 + IL_009c: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_00a1: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_00a6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00ab: ldc.i4.0 + IL_00ac: ble IL_00d2 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DateTimeFunctions::IsLeapYear + IL_00b1: nop + IL_00b2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00b7: ldstr "The 'file' attribute and the element cannot be combined." + IL_00bc: call !!0[] class [mscorlib]System.Array::Empty () + IL_00c1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_00c6: ldarg.0 + IL_00c7: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00cc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00d1: throw + IL_00d2: ldarg.0 + IL_00d3: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_00d8: brtrue IL_0109 - } // end of class NAnt.Core.Functions.DateTimeFunctions -} + IL_00dd: ldarg.0 + IL_00de: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_00e3: brtrue IL_0109 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit DateTimeConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 64 61 74 65 74 69 6D 65 0A 43 6F 6E 76 // ...datetime.Conv - 65 72 73 69 6F 6E 00 00 ) // ersion.. + IL_00e8: nop + IL_00e9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ee: ldstr "Either the 'tofile' or 'todir' attribute should be set." + IL_00f3: call !!0[] class [mscorlib]System.Array::Empty () + IL_00f8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_00fd: ldarg.0 + IL_00fe: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0103: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0108: throw + IL_0109: ldarg.0 + IL_010a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_010f: brfalse IL_0140 + IL_0114: ldarg.0 + IL_0115: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_011a: brfalse IL_0140 - // method line 784 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xca6b - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DateTimeConversionFunctions::.ctor + IL_011f: nop + IL_0120: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0125: ldstr "The 'tofile' and 'todir' attribute cannot both be set." + IL_012a: call !!0[] class [mscorlib]System.Array::Empty () + IL_012f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0134: ldarg.0 + IL_0135: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_013a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_013f: throw + IL_0140: ret + } // end of method CopyTask::Initialize - // method line 785 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime Parse (string s) cil managed + // method line 578 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. - - // Method begins at RVA 0xca78 - // Code size 20 (0x14) - .maxstack 2 + // Method begins at RVA 0xb2a8 + // Code size 1161 (0x489) + .maxstack 7 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + class NAnt.Core.Tasks.CopyTask/FileOperation V_0, + class [mscorlib]System.IO.FileSystemInfo V_1, + class [mscorlib]System.IO.FileSystemInfo V_2, + class [mscorlib]System.IO.DirectoryInfo V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IO.FileInfo V_6, + string V_7, + string V_8, + class [mscorlib]System.IO.FileInfo V_9, + class NAnt.Core.Tasks.CopyTask/FileOperation V_10, + class [mscorlib]System.IDisposable V_11, + string V_12, + class [System]System.Collections.Specialized.StringEnumerator V_13, + class [mscorlib]System.IO.DirectoryInfo V_14, + string V_15, + string V_16, + class [mscorlib]System.Exception V_17, + class [mscorlib]System.IDisposable V_18) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Parse(string, class [mscorlib]System.IFormatProvider) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DateTimeConversionFunctions::Parse + IL_0002: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - // method line 786 - .method public static hidebysig - default string ToString (valuetype [mscorlib]System.DateTime 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0018: ldarg.0 + IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_0034: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Clear() + IL_0039: ldarg.0 + IL_003a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() + IL_003f: brfalse IL_00fd - // Method begins at RVA 0xca98 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() + IL_004b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0050: brfalse IL_0063 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DateTimeConversionFunctions::ToString + IL_0055: nop + IL_0056: ldarg.0 + IL_0057: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() + IL_005c: stloc.1 + IL_005d: nop + IL_005e: br IL_00a3 - // method line 787 - .method public static hidebysig - default string ToString (valuetype [mscorlib]System.DateTime 'value', string format) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 66 6F 72 6D 61 74 2D 74 6F 2D 73 74 72 // ...format-to-str - 69 6E 67 00 00 ) // ing.. + IL_0063: ldarg.0 + IL_0064: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() + IL_0069: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_006e: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0073: brfalse IL_0090 - // Method begins at RVA 0xcabc - // Code size 22 (0x16) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: ldarg.1 - IL_0004: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0009: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0078: nop + IL_0079: ldarg.0 + IL_007a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() + IL_007f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0084: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0089: stloc.1 + IL_008a: nop + IL_008b: br IL_00a3 - IL_0014: ldloc.0 - IL_0015: ret - } // end of method DateTimeConversionFunctions::ToString + IL_0090: nop + IL_0091: ldarg.0 + IL_0092: ldarg.0 + IL_0093: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() + IL_0098: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_009d: callvirt instance class NAnt.Core.BuildException class NAnt.Core.Tasks.CopyTask::CreateSourceFileNotFoundException(string) + IL_00a2: throw + IL_00a3: ldarg.0 + IL_00a4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_00a9: brfalse IL_00bc - } // end of class NAnt.Core.Functions.DateTimeConversionFunctions -} + IL_00ae: nop + IL_00af: ldarg.0 + IL_00b0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_00b5: stloc.2 + IL_00b6: nop + IL_00b7: br IL_00c5 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit Int32ConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 03 69 6E 74 0A 43 6F 6E 76 65 72 73 69 6F // ...int.Conversio - 6E 00 00 ) // n.. + IL_00bc: nop + IL_00bd: ldarg.0 + IL_00be: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_00c3: stloc.2 + IL_00c4: nop + IL_00c5: ldloc.1 + IL_00c6: ldloc.2 + IL_00c7: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperation::'.ctor'(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) + IL_00cc: stloc.0 + IL_00cd: ldarg.0 + IL_00ce: call instance bool class NAnt.Core.Tasks.CopyTask::get_Overwrite() + IL_00d3: brtrue IL_00e3 + IL_00d8: ldloc.0 + IL_00d9: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::get_Outdated() + IL_00de: brfalse IL_00f7 - // method line 788 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xcade - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method Int32ConversionFunctions::.ctor + IL_00e3: nop + IL_00e4: ldloc.0 + IL_00e5: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::NormalizeTargetAttributes() + IL_00ea: ldarg.0 + IL_00eb: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_00f0: ldloc.0 + IL_00f1: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_00f6: nop + IL_00f7: nop + IL_00f8: br IL_0482 - // method line 789 - .method public static hidebysig - default int32 Parse (string s) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + IL_00fd: ldarg.0 + IL_00fe: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0103: callvirt instance bool class NAnt.Core.Types.FileSet::get_IsEverythingIncluded() + IL_0108: brfalse IL_0166 - // Method begins at RVA 0xcaec - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_010d: ldarg.0 + IL_010e: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() + IL_0113: brtrue IL_0166 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method Int32ConversionFunctions::Parse + IL_0118: ldarg.0 + IL_0119: call instance bool class NAnt.Core.Tasks.CopyTask::get_IncludeEmptyDirs() + IL_011e: brfalse IL_0166 - // method line 790 - .method public static hidebysig - default string ToString (int32 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + IL_0123: ldarg.0 + IL_0124: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0129: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_012e: ldarg.0 + IL_012f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_0134: call bool class NAnt.Core.Tasks.CopyTask/FileOperation::TargetDirectoryDoesNotExist(class [mscorlib]System.IO.DirectoryInfo, class [mscorlib]System.IO.DirectoryInfo) + IL_0139: brfalse IL_0166 - // Method begins at RVA 0xcb0c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_013e: nop + IL_013f: ldarg.0 + IL_0140: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_0145: ldarg.0 + IL_0146: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_014b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0150: ldarg.0 + IL_0151: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_0156: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperation::'.ctor'(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) + IL_015b: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0160: nop + IL_0161: br IL_0482 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method Int32ConversionFunctions::ToString + IL_0166: nop + IL_0167: ldarg.0 + IL_0168: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_016d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0172: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0177: brtrue IL_019f - } // end of class NAnt.Core.Functions.Int32ConversionFunctions -} + IL_017c: nop + IL_017d: ldarg.0 + IL_017e: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0183: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0188: ldstr "**/*" + IL_018d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0192: pop + IL_0193: ldarg.0 + IL_0194: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0199: callvirt instance void class NAnt.Core.Types.FileSet::Scan() + IL_019e: nop + IL_019f: ldarg.0 + IL_01a0: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_01a5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_01aa: stloc.3 + IL_01ab: nop + IL_01ac: ldarg.0 + IL_01ad: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_01b2: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_01b7: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_01bc: stloc.s 5 + .try { // 0 + IL_01be: br IL_031d -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit ConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 07 63 6F 6E 76 65 72 74 0A 43 6F 6E 76 65 // ...convert.Conve - 72 73 69 6F 6E 00 00 ) // rsion.. + IL_01c3: ldloc.s 5 + IL_01c5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_01ca: stloc.s 4 + IL_01cc: nop + IL_01cd: ldloc.s 4 + IL_01cf: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_01d4: stloc.s 6 + IL_01d6: ldloc.s 6 + IL_01d8: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_01dd: brfalse IL_030d + IL_01e2: nop + IL_01e3: ldarg.0 + IL_01e4: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() + IL_01e9: brfalse IL_020e - // method line 791 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary propDict) cil managed - { - // Method begins at RVA 0xcb2d - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method ConversionFunctions::.ctor + IL_01ee: nop + IL_01ef: ldarg.0 + IL_01f0: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_01f5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01fa: ldloc.s 6 + IL_01fc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_0201: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0206: stloc.s 7 + IL_0208: nop + IL_0209: br IL_028d - // method line 792 - .method public static hidebysig - default int32 ToInt (int32 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 74 6F 2D 69 6E 74 00 00 ) // ...to-int.. + IL_020e: nop + IL_020f: ldstr "" + IL_0214: stloc.s 8 + IL_0216: ldloc.s 6 + IL_0218: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_021d: ldloc.3 + IL_021e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0223: ldc.i4.0 + IL_0224: callvirt instance int32 string::IndexOf(string, int32) + IL_0229: ldc.i4.m1 + IL_022a: beq IL_024f - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec - 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion - 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea - 64 2E 00 00 00 ) // d.... + IL_022f: nop + IL_0230: ldloc.s 6 + IL_0232: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0237: ldloc.3 + IL_0238: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_023d: callvirt instance int32 string::get_Length() + IL_0242: callvirt instance string string::Substring(int32) + IL_0247: stloc.s 8 + IL_0249: nop + IL_024a: br IL_025a - // Method begins at RVA 0xcb38 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_024f: nop + IL_0250: ldloc.s 6 + IL_0252: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_0257: stloc.s 8 + IL_0259: nop + IL_025a: ldloc.s 8 + IL_025c: ldc.i4.0 + IL_025d: callvirt instance char string::get_Chars(int32) + IL_0262: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0267: bne.un IL_0278 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToInt + IL_026c: nop + IL_026d: ldloc.s 8 + IL_026f: ldc.i4.1 + IL_0270: callvirt instance string string::Substring(int32) + IL_0275: stloc.s 8 + IL_0277: nop + IL_0278: ldarg.0 + IL_0279: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_027e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0283: ldloc.s 8 + IL_0285: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_028a: stloc.s 7 + IL_028c: nop + IL_028d: ldloc.s 7 + IL_028f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0294: stloc.s 9 + IL_0296: ldloc.s 6 + IL_0298: ldloc.s 9 + IL_029a: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperation::'.ctor'(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) + IL_029f: stloc.s 10 + IL_02a1: ldarg.0 + IL_02a2: call instance bool class NAnt.Core.Tasks.CopyTask::get_Overwrite() + IL_02a7: brtrue IL_02b8 - // method line 793 - .method public static hidebysig - default float64 ToDouble (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 64 6F 75 62 6C 65 00 00 ) // ...to-double.. + IL_02ac: ldloc.s 10 + IL_02ae: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::get_Outdated() + IL_02b3: brfalse IL_0307 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec - 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion - 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea - 64 2E 00 00 00 ) // d.... + IL_02b8: nop + IL_02b9: ldarg.0 + IL_02ba: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_02bf: ldloc.s 9 + IL_02c1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02c6: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperationMap::ContainsKey(string) + IL_02cb: brfalse IL_02f0 - // Method begins at RVA 0xcb50 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_02d0: nop + IL_02d1: ldarg.0 + IL_02d2: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_02d7: ldloc.s 9 + IL_02d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02de: callvirt instance !1 class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::get_Item(!0) + IL_02e3: ldloc.s 6 + IL_02e5: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::UpdateSource(class [mscorlib]System.IO.FileSystemInfo) + IL_02ea: nop + IL_02eb: br IL_0306 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToDouble + IL_02f0: nop + IL_02f1: ldloc.s 10 + IL_02f3: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::NormalizeTargetAttributes() + IL_02f8: ldarg.0 + IL_02f9: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap + IL_02fe: ldloc.s 10 + IL_0300: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) + IL_0305: nop + IL_0306: nop + IL_0307: nop + IL_0308: br IL_031c - // method line 794 - .method public static hidebysig - default string ConvertToString (string 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + IL_030d: nop + IL_030e: ldarg.0 + IL_030f: ldloc.s 6 + IL_0311: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0316: callvirt instance class NAnt.Core.BuildException class NAnt.Core.Tasks.CopyTask::CreateSourceFileNotFoundException(string) + IL_031b: throw + IL_031c: nop + IL_031d: ldloc.s 5 + IL_031f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0324: brtrue IL_01c3 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec - 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion - 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea - 64 2E 00 00 00 ) // d.... + IL_0329: leave IL_0345 - // Method begins at RVA 0xcb68 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + } // end .try 0 + finally { // 0 + IL_032e: ldloc.s 5 + IL_0330: isinst [mscorlib]System.IDisposable + IL_0335: dup + IL_0336: stloc.s 11 + IL_0338: brfalse IL_0344 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ConvertToString + IL_033d: ldloc.s 11 + IL_033f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0344: endfinally + } // end handler 0 + IL_0345: ldarg.0 + IL_0346: call instance bool class NAnt.Core.Tasks.CopyTask::get_IncludeEmptyDirs() + IL_034b: brfalse IL_0481 - // method line 795 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime ToDateTime (valuetype [mscorlib]System.DateTime 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 74 6F 2D 64 61 74 65 74 69 6D 65 00 00 ) // ...to-datetime.. + IL_0350: ldarg.0 + IL_0351: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() + IL_0356: brtrue IL_0481 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec - 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion - 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea - 64 2E 00 00 00 ) // d.... + IL_035b: nop + IL_035c: nop + IL_035d: ldarg.0 + IL_035e: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0363: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0368: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_036d: stloc.s 13 + .try { // 2 + IL_036f: br IL_0458 - // Method begins at RVA 0xcb80 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0374: ldloc.s 13 + IL_0376: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_037b: stloc.s 12 + IL_037d: nop + IL_037e: ldloc.s 12 + IL_0380: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0385: stloc.s 14 + IL_0387: ldloc.s 14 + IL_0389: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_038e: ldloc.3 + IL_038f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0394: callvirt instance int32 string::IndexOf(string) + IL_0399: ldc.i4.m1 + IL_039a: bne.un IL_03a5 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToDateTime + IL_039f: nop + IL_03a0: leave IL_0458 - // method line 796 - .method public static hidebysig - default bool ToBoolean (bool 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 74 6F 2D 62 6F 6F 6C 65 61 6E 00 00 ) // ...to-boolean.. + IL_03a5: ldloc.s 14 + IL_03a7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_03ac: ldloc.3 + IL_03ad: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_03b2: callvirt instance int32 string::get_Length() + IL_03b7: callvirt instance string string::Substring(int32) + IL_03bc: stloc.s 15 + IL_03be: ldloc.s 15 + IL_03c0: callvirt instance int32 string::get_Length() + IL_03c5: ldc.i4.0 + IL_03c6: ble IL_03e9 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec - 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion - 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea - 64 2E 00 00 00 ) // d.... + IL_03cb: ldloc.s 15 + IL_03cd: ldc.i4.0 + IL_03ce: callvirt instance char string::get_Chars(int32) + IL_03d3: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_03d8: bne.un IL_03e9 - // Method begins at RVA 0xcb98 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_03dd: nop + IL_03de: ldloc.s 15 + IL_03e0: ldc.i4.1 + IL_03e1: callvirt instance string string::Substring(int32) + IL_03e6: stloc.s 15 + IL_03e8: nop + IL_03e9: ldarg.0 + IL_03ea: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_03ef: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_03f4: ldloc.s 15 + IL_03f6: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_03fb: stloc.s 16 + IL_03fd: ldloc.s 16 + IL_03ff: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0404: brtrue IL_0457 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToBoolean + IL_0409: nop + .try { // 1 + IL_040a: nop + IL_040b: ldloc.s 16 + IL_040d: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0412: pop + IL_0413: nop + IL_0414: leave IL_043b - } // end of class NAnt.Core.Functions.ConversionFunctions -} + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_0419: stloc.s 17 + IL_041b: nop + IL_041c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0421: ldstr "Failed to create directory '{0}'." + IL_0426: ldloc.s 16 + IL_0428: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_042d: ldarg.0 + IL_042e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0433: ldloc.s 17 + IL_0435: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_043a: throw + } // end handler 1 + IL_043b: ldarg.0 + IL_043c: ldc.i4 2000 + IL_0441: ldstr "Created directory '{0}'." + IL_0446: ldc.i4.1 + IL_0447: newarr [mscorlib]System.Object + IL_044c: dup + IL_044d: ldc.i4.0 + IL_044e: ldloc.s 16 + IL_0450: stelem.ref + IL_0451: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0456: nop + IL_0457: nop + IL_0458: ldloc.s 13 + IL_045a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_045f: brtrue IL_0374 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TimeSpanFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 74 69 6D 65 73 70 61 6E 09 44 61 74 65 // ...timespan.Date - 2F 54 69 6D 65 00 00 ) // /Time.. + IL_0464: leave IL_0480 + } // end .try 2 + finally { // 2 + IL_0469: ldloc.s 13 + IL_046b: isinst [mscorlib]System.IDisposable + IL_0470: dup + IL_0471: stloc.s 18 + IL_0473: brfalse IL_047f - // method line 797 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xcbae - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method TimeSpanFunctions::.ctor + IL_0478: ldloc.s 18 + IL_047a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_047f: endfinally + } // end handler 2 + IL_0480: nop + IL_0481: nop + IL_0482: ldarg.0 + IL_0483: callvirt instance void class NAnt.Core.Tasks.CopyTask::DoFileOperations() + IL_0488: ret + } // end of method CopyTask::ExecuteTask - // method line 798 - .method public static hidebysig - default float64 GetTotalDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 579 + .method family virtual hidebysig newslot + instance default void DoFileOperations () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0E 67 65 74 2D 74 6F 74 61 6C 2D 64 61 79 // ...get-total-day - 73 00 00 ) // s.. - - // Method begins at RVA 0xcbbc - // Code size 16 (0x10) - .maxstack 1 + // Method begins at RVA 0xb78c + // Code size 940 (0x3ac) + .maxstack 8 .locals init ( - float64 V_0) + int32 V_0, + int32 V_1, + int32 V_2, + class NAnt.Core.Tasks.CopyTask/FileOperation V_3, + valuetype NAnt.Core.Tasks.CopyTask/OperationType V_4, + string V_5, + string V_6, + class [mscorlib]System.Exception V_7) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalDays() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_000c: ldc.i4.0 + IL_000d: bgt IL_0018 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalDays + IL_0012: nop + IL_0013: br IL_03ab - // method line 799 - .method public static hidebysig - default float64 GetTotalHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 74 6F 74 61 6C 2D 68 6F 75 // ...get-total-hou - 72 73 00 00 ) // rs.. + IL_0018: ldarg.0 + IL_0019: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_001e: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountFileOperations() + IL_0023: stloc.0 + IL_0024: ldarg.0 + IL_0025: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_002a: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountDirectoryOperations() + IL_002f: stloc.1 + IL_0030: ldloc.0 + IL_0031: ldc.i4.0 + IL_0032: ble IL_00cf - // Method begins at RVA 0xcbd8 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalHours() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_003e: brfalse IL_008b - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalHours + IL_0043: nop + IL_0044: ldarg.0 + IL_0045: ldc.i4 3000 + IL_004a: ldstr "Copying {0} file{1} to '{2}'." + IL_004f: ldc.i4.3 + IL_0050: newarr [mscorlib]System.Object + IL_0055: dup + IL_0056: ldc.i4.0 + IL_0057: ldloc.0 + IL_0058: box [mscorlib]System.Int32 + IL_005d: stelem.ref + IL_005e: dup + IL_005f: ldc.i4.1 + IL_0060: ldloc.0 + IL_0061: ldc.i4.1 + IL_0062: beq IL_0071 - // method line 800 - .method public static hidebysig - default float64 GetTotalMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6E // ...get-total-min - 75 74 65 73 00 00 ) // utes.. + IL_0067: ldstr "s" + IL_006c: br IL_0076 - // Method begins at RVA 0xcbf4 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMinutes() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0071: ldstr "" + IL_0076: stelem.ref + IL_0077: dup + IL_0078: ldc.i4.2 + IL_0079: ldarg.0 + IL_007a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_007f: stelem.ref + IL_0080: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0085: nop + IL_0086: br IL_00ce - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalMinutes + IL_008b: nop + IL_008c: ldarg.0 + IL_008d: ldc.i4 3000 + IL_0092: ldstr "Copying {0} file{1} to '{2}'." + IL_0097: ldc.i4.3 + IL_0098: newarr [mscorlib]System.Object + IL_009d: dup + IL_009e: ldc.i4.0 + IL_009f: ldloc.0 + IL_00a0: box [mscorlib]System.Int32 + IL_00a5: stelem.ref + IL_00a6: dup + IL_00a7: ldc.i4.1 + IL_00a8: ldloc.0 + IL_00a9: ldc.i4.1 + IL_00aa: beq IL_00b9 - // method line 801 - .method public static hidebysig - default float64 GetTotalSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 73 65 63 // ...get-total-sec - 6F 6E 64 73 00 00 ) // onds.. + IL_00af: ldstr "s" + IL_00b4: br IL_00be - // Method begins at RVA 0xcc10 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_00b9: ldstr "" + IL_00be: stelem.ref + IL_00bf: dup + IL_00c0: ldc.i4.2 + IL_00c1: ldarg.0 + IL_00c2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_00c7: stelem.ref + IL_00c8: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00cd: nop + IL_00ce: nop + IL_00cf: ldloc.1 + IL_00d0: ldc.i4.0 + IL_00d1: ble IL_016e - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalSeconds + IL_00d6: nop + IL_00d7: ldarg.0 + IL_00d8: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_00dd: brfalse IL_012a - // method line 802 - .method public static hidebysig - default float64 GetTotalMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 16 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6C // ...get-total-mil - 6C 69 73 65 63 6F 6E 64 73 00 00 ) // liseconds.. - - // Method begins at RVA 0xcc2c - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMilliseconds() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_00e2: nop + IL_00e3: ldarg.0 + IL_00e4: ldc.i4 3000 + IL_00e9: ldstr "Copying {0} {1} to '{2}'." + IL_00ee: ldc.i4.3 + IL_00ef: newarr [mscorlib]System.Object + IL_00f4: dup + IL_00f5: ldc.i4.0 + IL_00f6: ldloc.1 + IL_00f7: box [mscorlib]System.Int32 + IL_00fc: stelem.ref + IL_00fd: dup + IL_00fe: ldc.i4.1 + IL_00ff: ldloc.1 + IL_0100: ldc.i4.1 + IL_0101: beq IL_0110 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalMilliseconds + IL_0106: ldstr "directories" + IL_010b: br IL_0115 - // method line 803 - .method public static hidebysig - default int32 GetDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 64 61 79 73 00 00 ) // ...get-days.. + IL_0110: ldstr "directory" + IL_0115: stelem.ref + IL_0116: dup + IL_0117: ldc.i4.2 + IL_0118: ldarg.0 + IL_0119: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_011e: stelem.ref + IL_011f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0124: nop + IL_0125: br IL_016d - // Method begins at RVA 0xcc48 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Days() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_012a: nop + IL_012b: ldarg.0 + IL_012c: ldc.i4 3000 + IL_0131: ldstr "Copying {0} {1} to '{2}'." + IL_0136: ldc.i4.3 + IL_0137: newarr [mscorlib]System.Object + IL_013c: dup + IL_013d: ldc.i4.0 + IL_013e: ldloc.1 + IL_013f: box [mscorlib]System.Int32 + IL_0144: stelem.ref + IL_0145: dup + IL_0146: ldc.i4.1 + IL_0147: ldloc.1 + IL_0148: ldc.i4.1 + IL_0149: beq IL_0158 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetDays + IL_014e: ldstr "directories" + IL_0153: br IL_015d - // method line 804 - .method public static hidebysig - default int32 GetHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 68 6F 75 72 73 00 00 ) // ...get-hours.. + IL_0158: ldstr "directory" + IL_015d: stelem.ref + IL_015e: dup + IL_015f: ldc.i4.2 + IL_0160: ldarg.0 + IL_0161: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_0166: stelem.ref + IL_0167: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_016c: nop + IL_016d: nop + IL_016e: ldc.i4.0 + IL_016f: stloc.2 + IL_0170: br IL_039a - // Method begins at RVA 0xcc64 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Hours() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0175: nop + IL_0176: ldarg.0 + IL_0177: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_017c: ldloc.2 + IL_017d: callvirt instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) + IL_0182: stloc.3 + IL_0183: ldloc.3 + IL_0184: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::SourceEqualsTarget() + IL_0189: brfalse IL_01b3 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetHours + IL_018e: nop + IL_018f: ldarg.0 + IL_0190: ldc.i4 2000 + IL_0195: ldstr "Skipping self-copy of '{0}'." + IL_019a: ldc.i4.1 + IL_019b: newarr [mscorlib]System.Object + IL_01a0: dup + IL_01a1: ldc.i4.0 + IL_01a2: ldloc.3 + IL_01a3: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_01a8: stelem.ref + IL_01a9: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01ae: br IL_0396 - // method line 805 - .method public static hidebysig - default int32 GetMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 6D 69 6E 75 74 65 73 00 00 ) // ...get-minutes.. + .try { // 0 + IL_01b3: nop + IL_01b4: ldarg.0 + IL_01b5: ldc.i4 2000 + IL_01ba: ldstr "Copying {0}." + IL_01bf: ldc.i4.1 + IL_01c0: newarr [mscorlib]System.Object + IL_01c5: dup + IL_01c6: ldc.i4.0 + IL_01c7: ldloc.3 + IL_01c8: callvirt instance string object::ToString() + IL_01cd: stelem.ref + IL_01ce: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01d3: ldloc.3 + IL_01d4: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() + IL_01d9: stloc.s 4 + IL_01db: ldloc.s 4 + IL_01dd: switch ( + IL_01f3, + IL_0276, + IL_0304) + IL_01ee: br IL_035e - // Method begins at RVA 0xcc80 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Minutes() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_01f3: ldloc.3 + IL_01f4: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_01f9: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_01fe: stloc.s 5 + IL_0200: ldloc.s 5 + IL_0202: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0207: brtrue IL_0231 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetMinutes + IL_020c: nop + IL_020d: ldloc.s 5 + IL_020f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0214: pop + IL_0215: ldarg.0 + IL_0216: ldc.i4 2000 + IL_021b: ldstr "Created directory '{0}'." + IL_0220: ldc.i4.1 + IL_0221: newarr [mscorlib]System.Object + IL_0226: dup + IL_0227: ldc.i4.0 + IL_0228: ldloc.s 5 + IL_022a: stelem.ref + IL_022b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0230: nop + IL_0231: ldloc.3 + IL_0232: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0237: call bool class [mscorlib]System.IO.File::Exists(string) + IL_023c: brfalse IL_024e - // method line 806 - .method public static hidebysig - default int32 GetSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 73 65 63 6F 6E 64 73 00 00 ) // ...get-seconds.. + IL_0241: nop + IL_0242: ldloc.3 + IL_0243: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0248: call void class [mscorlib]System.IO.File::Delete(string) + IL_024d: nop + IL_024e: ldloc.3 + IL_024f: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_0254: ldloc.3 + IL_0255: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_025a: ldarg.0 + IL_025b: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_0260: ldarg.0 + IL_0261: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() + IL_0266: ldarg.0 + IL_0267: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() + IL_026c: call void class NAnt.Core.Util.FileUtils::CopyFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_0271: leave IL_0369 - // Method begins at RVA 0xcc9c - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Seconds() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0276: ldloc.3 + IL_0277: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_027c: ldloc.3 + IL_027d: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_0282: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0287: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_028c: stloc.s 6 + IL_028e: ldloc.3 + IL_028f: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0294: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0299: brtrue IL_02cb - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetSeconds + IL_029e: nop + IL_029f: ldloc.3 + IL_02a0: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_02a5: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_02aa: pop + IL_02ab: ldarg.0 + IL_02ac: ldc.i4 2000 + IL_02b1: ldstr "Created directory '{0}'." + IL_02b6: ldc.i4.1 + IL_02b7: newarr [mscorlib]System.Object + IL_02bc: dup + IL_02bd: ldc.i4.0 + IL_02be: ldloc.3 + IL_02bf: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_02c4: stelem.ref + IL_02c5: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_02ca: nop + IL_02cb: ldloc.s 6 + IL_02cd: call bool class [mscorlib]System.IO.File::Exists(string) + IL_02d2: brfalse IL_02e0 - // method line 807 - .method public static hidebysig - default int32 GetMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 67 65 74 2D 6D 69 6C 6C 69 73 65 63 6F // ...get-milliseco - 6E 64 73 00 00 ) // nds.. + IL_02d7: nop + IL_02d8: ldloc.s 6 + IL_02da: call void class [mscorlib]System.IO.File::Delete(string) + IL_02df: nop + IL_02e0: ldloc.3 + IL_02e1: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_02e6: ldloc.s 6 + IL_02e8: ldarg.0 + IL_02e9: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_02ee: ldarg.0 + IL_02ef: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() + IL_02f4: ldarg.0 + IL_02f5: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() + IL_02fa: call void class NAnt.Core.Util.FileUtils::CopyFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_02ff: leave IL_0369 - // Method begins at RVA 0xccb8 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Milliseconds() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0304: ldloc.3 + IL_0305: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_030a: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_030f: brfalse IL_0336 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetMilliseconds + IL_0314: nop + IL_0315: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_031a: ldstr "Failed to copy {0}. Directory '{1}' already exists." + IL_031f: ldloc.3 + IL_0320: callvirt instance string object::ToString() + IL_0325: ldloc.3 + IL_0326: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_032b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0330: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0335: throw + IL_0336: ldloc.3 + IL_0337: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_033c: ldloc.3 + IL_033d: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0342: ldarg.0 + IL_0343: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_0348: ldarg.0 + IL_0349: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() + IL_034e: ldarg.0 + IL_034f: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() + IL_0354: call void class NAnt.Core.Util.FileUtils::CopyDirectory(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_0359: leave IL_0369 - // method line 808 - .method public static hidebysig - default int64 GetTicks (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 74 69 63 6B 73 00 00 ) // ...get-ticks.. + IL_035e: ldstr "Unrecognized copy operation. The copy task can only copy a file to file, file to directory, or directory to directory." + IL_0363: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0368: throw + IL_0369: nop + IL_036a: leave IL_0395 - // Method begins at RVA 0xccd4 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int64 valuetype [mscorlib]System.TimeSpan::get_Ticks() - IL_0008: stloc.0 - IL_0009: br IL_000e + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_036f: stloc.s 7 + IL_0371: nop + IL_0372: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0377: ldstr "Cannot copy {0}." + IL_037c: ldloc.3 + IL_037d: callvirt instance string object::ToString() + IL_0382: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0387: ldarg.0 + IL_0388: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_038d: ldloc.s 7 + IL_038f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0394: throw + } // end handler 0 + IL_0395: nop + IL_0396: ldloc.2 + IL_0397: ldc.i4.1 + IL_0398: add + IL_0399: stloc.2 + IL_039a: ldloc.2 + IL_039b: ldarg.0 + IL_039c: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() + IL_03a1: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_03a6: blt IL_0175 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTicks + IL_03ab: ret + } // end of method CopyTask::DoFileOperations - // method line 809 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromDays (float64 'value') cil managed + // method line 580 + .method family virtual hidebysig newslot + instance default class NAnt.Core.BuildException CreateSourceFileNotFoundException (string sourceFile) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 66 72 6F 6D 2D 64 61 79 73 00 00 ) // ...from-days.. - - // Method begins at RVA 0xccf0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xbb60 + // Code size 36 (0x24) + .maxstack 3 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + class NAnt.Core.BuildException V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromDays(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldstr "Could not find file '{0}' to copy." + IL_000b: ldarg.1 + IL_000c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0011: ldarg.0 + IL_0012: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0017: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_001c: stloc.0 + IL_001d: br IL_0022 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromDays + IL_0022: ldloc.0 + IL_0023: ret + } // end of method CopyTask::CreateSourceFileNotFoundException - // method line 810 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromHours (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 66 72 6F 6D 2D 68 6F 75 72 73 00 00 ) // ...from-hours.. + .property instance class [mscorlib]System.IO.FileInfo SourceFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - // Method begins at RVA 0xcd0c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromHours(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::get_SourceFile () + .set instance default void NAnt.Core.Tasks.CopyTask::set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo ToFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 6F 66 69 6C 65 00 00 ) // ...tofile.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromHours + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::get_ToFile () + .set instance default void NAnt.Core.Tasks.CopyTask::set_ToFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 74 6F 64 69 72 00 00 ) // ...todir.. - // method line 811 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromMinutes (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 66 72 6F 6D 2D 6D 69 6E 75 74 65 73 00 // ...from-minutes. - 00 ) // . + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.CopyTask::get_ToDirectory () + .set instance default void NAnt.Core.Tasks.CopyTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance bool Overwrite () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 6F 76 65 72 77 72 69 74 65 00 00 ) // ...overwrite.. - // Method begins at RVA 0xcd28 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMinutes(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromMinutes + .get instance default bool NAnt.Core.Tasks.CopyTask::get_Overwrite () + .set instance default void NAnt.Core.Tasks.CopyTask::set_Overwrite (bool 'value') + } + .property instance bool Flatten () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. - // method line 812 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromSeconds (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 66 72 6F 6D 2D 73 65 63 6F 6E 64 73 00 // ...from-seconds. - 00 ) // . + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0xcd44 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromSeconds(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default bool NAnt.Core.Tasks.CopyTask::get_Flatten () + .set instance default void NAnt.Core.Tasks.CopyTask::set_Flatten (bool 'value') + } + .property instance bool IncludeEmptyDirs () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd + 69 72 73 00 00 ) // irs.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromSeconds + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 813 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromMilliseconds (float64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 66 72 6F 6D 2D 6D 69 6C 6C 69 73 65 63 // ...from-millisec - 6F 6E 64 73 00 00 ) // onds.. + .get instance default bool NAnt.Core.Tasks.CopyTask::get_IncludeEmptyDirs () + .set instance default void NAnt.Core.Tasks.CopyTask::set_IncludeEmptyDirs (bool 'value') + } + .property instance class NAnt.Core.Types.FileSet CopyFileSet () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. - // Method begins at RVA 0xcd60 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMilliseconds(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromMilliseconds - - // method line 814 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromTicks (int64 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 66 72 6F 6D 2D 74 69 63 6B 73 00 00 ) // ...from-ticks.. + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::get_CopyFileSet () + .set instance default void NAnt.Core.Tasks.CopyTask::set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') + } + .property instance class NAnt.Core.Filters.FilterChain Filters () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. - // Method begins at RVA 0xcd7c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromTicks(int64) - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.CopyTask::get_Filters () + .set instance default void NAnt.Core.Tasks.CopyTask::set_Filters (class NAnt.Core.Filters.FilterChain 'value') + } + .property instance class [mscorlib]System.Text.Encoding InputEncoding () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 69 6E 70 75 74 65 6E 63 6F 64 69 6E 67 // ...inputencoding + 00 00 ) // .. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromTicks + .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::get_InputEncoding () + .set instance default void NAnt.Core.Tasks.CopyTask::set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') + } + .property instance class [mscorlib]System.Text.Encoding OutputEncoding () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 6F 75 74 70 75 74 65 6E 63 6F 64 69 6E // ...outputencodin + 67 00 00 ) // g.. - } // end of class NAnt.Core.Functions.TimeSpanFunctions -} + .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::get_OutputEncoding () + .set instance default void NAnt.Core.Tasks.CopyTask::set_OutputEncoding (class [mscorlib]System.Text.Encoding 'value') + } + .property instance class [mscorlib]System.Collections.Hashtable FileCopyMap () + { + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 72 46 69 6C 65 43 6F 70 79 4D 61 70 20 69 // ..rFileCopyMap i + 73 20 6E 6F 77 20 63 6F 6E 73 69 64 65 72 65 64 // s now considered + 20 61 20 72 65 61 64 6F 6E 6C 79 20 68 61 73 68 // a readonly hash + 74 61 62 6C 65 2E 20 54 6F 20 69 6E 74 65 72 61 // table. To intera + 63 74 20 77 69 74 68 20 66 69 6C 65 20 6F 70 65 // ct with file ope + 72 61 74 69 6F 6E 2C 20 75 73 65 20 74 68 65 20 // ration, use the + 4F 70 65 72 61 74 69 6F 6E 4D 61 70 20 70 72 6F // OperationMap pro + 70 65 72 74 79 00 00 ) // perty.. -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TimeSpanConversionFunctions - extends NAnt.Core.FunctionSetBase + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.Core.Tasks.CopyTask::get_FileCopyMap () + } + .property instance class NAnt.Core.Tasks.CopyTask/FileOperationMap OperationMap () + { + .get instance default class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::get_OperationMap () + } + .class nested family auto ansi beforefieldinit FileDateInfo + extends [mscorlib]System.Object { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 74 69 6D 65 73 70 61 6E 0A 43 6F 6E 76 // ...timespan.Conv - 65 72 73 69 6F 6E 00 00 ) // ersion.. - + .field private valuetype [mscorlib]System.DateTime _lastWriteTime + .field private string _path - // method line 815 + // method line 581 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' (class [mscorlib]System.IO.FileSystemInfo file) cil managed { - // Method begins at RVA 0xcd97 - // Code size 10 (0xa) + // Method begins at RVA 0xbb90 + // Code size 20 (0x14) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method TimeSpanConversionFunctions::.ctor + IL_0002: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0007: ldarg.1 + IL_0008: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_000d: call instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(string, valuetype [mscorlib]System.DateTime) + IL_0012: nop + IL_0013: ret + } // end of method FileDateInfo::.ctor - // method line 816 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan Parse (string s) cil managed + // method line 582 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string path, valuetype [mscorlib]System.DateTime lastWriteTime) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + // Method begins at RVA 0xbba5 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld string NAnt.Core.Tasks.CopyTask/FileDateInfo::_path + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.CopyTask/FileDateInfo::_lastWriteTime + IL_0015: ret + } // end of method FileDateInfo::.ctor - // Method begins at RVA 0xcda4 + // method line 583 + .method public hidebysig specialname + instance default string get_Path () cil managed + { + // Method begins at RVA 0xbbbc // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::Parse(string) + IL_0002: ldfld string NAnt.Core.Tasks.CopyTask/FileDateInfo::_path IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TimeSpanConversionFunctions::Parse + } // end of method FileDateInfo::get_Path - // method line 817 - .method public static hidebysig - default string ToString (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 584 + .method public hidebysig specialname + instance default valuetype [mscorlib]System.DateTime get_LastWriteTime () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - - // Method begins at RVA 0xcdc0 - // Code size 22 (0x16) + // Method begins at RVA 0xbbd8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: constrained. [mscorlib]System.TimeSpan - IL_0009: callvirt instance string object::ToString() - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0001: ldarg.0 + IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.CopyTask/FileDateInfo::_lastWriteTime + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0014: ldloc.0 - IL_0015: ret - } // end of method TimeSpanConversionFunctions::ToString + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FileDateInfo::get_LastWriteTime - } // end of class NAnt.Core.Functions.TimeSpanConversionFunctions -} + .property instance string Path () + { + .get instance default string NAnt.Core.Tasks.CopyTask/FileDateInfo::get_Path () + } + .property instance valuetype [mscorlib]System.DateTime LastWriteTime () + { + .get instance default valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.CopyTask/FileDateInfo::get_LastWriteTime () + } + } // end of class FileDateInfo -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit OperatingSystemFunctions - extends NAnt.Core.FunctionSetBase + .class nested family auto ansi beforefieldinit FileOperation + extends [mscorlib]System.Object { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 10 6F 70 65 72 61 74 69 6E 67 2D 73 79 73 // ...operating-sys - 74 65 6D 10 4F 70 65 72 61 74 69 6E 67 20 53 79 // tem.Operating Sy - 73 74 65 6D 00 00 ) // stem.. - + .field private class [mscorlib]System.IO.FileSystemInfo _source + .field private class [mscorlib]System.IO.FileSystemInfo _target + .field private class [mscorlib]System.StringComparer _comparer - // method line 818 + // method line 585 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' (class [mscorlib]System.IO.FileSystemInfo source, class [mscorlib]System.IO.FileSystemInfo target) cil managed { - // Method begins at RVA 0xcde2 - // Code size 10 (0xa) - .maxstack 8 + // Method begins at RVA 0xbbf4 + // Code size 94 (0x5e) + .maxstack 2 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method OperatingSystemFunctions::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - // method line 819 - .method public static hidebysig - default valuetype [mscorlib]System.PlatformID GetPlatform (class [mscorlib]System.OperatingSystem operatingSystem) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 70 6C 61 74 66 6F 72 6D 00 // ...get-platform. - 00 ) // . + IL_000d: nop + IL_000e: ldstr "source" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.2 + IL_001a: brtrue IL_002b + + IL_001f: nop + IL_0020: ldstr "target" + IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002a: throw + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_0032: brfalse IL_004f + + IL_0037: ldarg.0 + IL_0038: ldarg.2 + IL_0039: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_003e: brfalse IL_004f + + IL_0043: nop + IL_0044: ldstr "Cannot transfer directory to file" + IL_0049: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_004e: throw + IL_004f: ldarg.0 + IL_0050: ldarg.1 + IL_0051: stfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0056: ldarg.0 + IL_0057: ldarg.2 + IL_0058: stfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_005d: ret + } // end of method FileOperation::.ctor - // Method begins at RVA 0xcdf0 + // method line 586 + .method public hidebysig specialname + instance default class [mscorlib]System.StringComparer get_Comparer () cil managed + { + // Method begins at RVA 0xbc60 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.PlatformID V_0) + class [mscorlib]System.StringComparer V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_0002: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::_comparer IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OperatingSystemFunctions::GetPlatform + } // end of method FileOperation::get_Comparer - // method line 820 - .method public static hidebysig - default class [mscorlib]System.Version GetVersion (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + // method line 587 + .method public hidebysig specialname + instance default void set_Comparer (class [mscorlib]System.StringComparer 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. + // Method begins at RVA 0xbc7b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::_comparer + IL_0008: ret + } // end of method FileOperation::set_Comparer - // Method begins at RVA 0xce0c - // Code size 15 (0xf) + // method line 588 + .method public hidebysig specialname + instance default string get_Source () cil managed + { + // Method begins at RVA 0xbc88 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.Version V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.OperatingSystem::get_Version() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method OperatingSystemFunctions::GetVersion + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileOperation::get_Source - // method line 821 - .method public static hidebysig - default string ToString (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + // method line 589 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileSystemInfo get_SourceInfo () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - - // Method begins at RVA 0xce28 + // Method begins at RVA 0xbca8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileSystemInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string object::ToString() + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OperatingSystemFunctions::ToString - - } // end of class NAnt.Core.Functions.OperatingSystemFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit Int64ConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 04 6C 6F 6E 67 0A 43 6F 6E 76 65 72 73 69 // ...long.Conversi - 6F 6E 00 00 ) // on.. - - - // method line 822 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xce43 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method Int64ConversionFunctions::.ctor + } // end of method FileOperation::get_SourceInfo - // method line 823 - .method public static hidebysig - default int64 Parse (string s) cil managed + // method line 590 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_SourceType () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. - - // Method begins at RVA 0xce50 + // Method begins at RVA 0xbcc4 // Code size 20 (0x14) - .maxstack 2 + .maxstack 1 .locals init ( - int64 V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: call int64 int64::Parse(string, class [mscorlib]System.IFormatProvider) + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method Int64ConversionFunctions::Parse + } // end of method FileOperation::get_SourceType - // method line 824 - .method public static hidebysig - default string ToString (int64 'value') cil managed + // method line 591 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Tasks.CopyTask/OperationType get_OperationType () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - - // Method begins at RVA 0xce70 - // Code size 21 (0x15) + // Method begins at RVA 0xbce4 + // Code size 94 (0x5e) .maxstack 2 .locals init ( - string V_0) + valuetype NAnt.Core.Tasks.CopyTask/OperationType V_0) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call instance string int64::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() + IL_0008: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_000d: brfalse IL_002b - IL_0013: ldloc.0 - IL_0014: ret - } // end of method Int64ConversionFunctions::ToString + IL_0012: ldarg.0 + IL_0013: ldarg.0 + IL_0014: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetInfo() + IL_0019: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_001e: brfalse IL_002b - } // end of class NAnt.Core.Functions.Int64ConversionFunctions -} + IL_0023: nop + IL_0024: ldc.i4.0 + IL_0025: stloc.0 + IL_0026: br IL_005c -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit FileFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 66 69 6C 65 04 46 69 6C 65 00 00 ) // ...file.File.. + IL_002b: ldarg.0 + IL_002c: ldarg.0 + IL_002d: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() + IL_0032: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_0037: brfalse IL_0055 + IL_003c: ldarg.0 + IL_003d: ldarg.0 + IL_003e: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetInfo() + IL_0043: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_0048: brfalse IL_0055 - // method line 825 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xce91 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method FileFunctions::.ctor + IL_004d: nop + IL_004e: ldc.i4.1 + IL_004f: stloc.0 + IL_0050: br IL_005c - // method line 826 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 63 72 65 61 74 69 6F 6E 2D // ...get-creation- - 74 69 6D 65 00 00 ) // time.. + IL_0055: ldc.i4.2 + IL_0056: stloc.0 + IL_0057: br IL_005c - // Method begins at RVA 0xce9c - // Code size 62 (0x3e) - .maxstack 3 + IL_005c: ldloc.0 + IL_005d: ret + } // end of method FileOperation::get_OperationType + + // method line 592 + .method public hidebysig specialname + instance default bool get_Outdated () cil managed + { + // Method begins at RVA 0xbd50 + // Code size 66 (0x42) + .maxstack 2 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0014: brtrue IL_0030 + IL_0002: ldarg.0 + IL_0003: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0008: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_000d: brtrue IL_0039 - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "Could not find a part of the path \"{0}\"." - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetCreationTime(string) - IL_0036: stloc.1 - IL_0037: br IL_003c + IL_0012: ldarg.0 + IL_0013: ldarg.0 + IL_0014: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0019: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_001e: brfalse IL_0036 - IL_003c: ldloc.1 - IL_003d: ret - } // end of method FileFunctions::GetCreationTime + IL_0023: ldarg.0 + IL_0024: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0029: ldarg.0 + IL_002a: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_002f: call bool class NAnt.Core.Tasks.CopyTask/FileOperation::TargetIsOutdated(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) + IL_0034: br.s IL_0037 - // method line 827 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 13 67 65 74 2D 6C 61 73 74 2D 77 72 69 74 // ...get-last-writ - 65 2D 74 69 6D 65 00 00 ) // e-time.. + IL_0036: ldc.i4.0 + IL_0037: br.s IL_003a - // Method begins at RVA 0xcee8 - // Code size 62 (0x3e) - .maxstack 3 + IL_0039: ldc.i4.1 + IL_003a: stloc.0 + IL_003b: br IL_0040 + + IL_0040: ldloc.0 + IL_0041: ret + } // end of method FileOperation::get_Outdated + + // method line 593 + .method public hidebysig specialname + instance default string get_Target () cil managed + { + // Method begins at RVA 0xbda0 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0014: brtrue IL_0030 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "Could not find a part of the path \"{0}\"." - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_0036: stloc.1 - IL_0037: br IL_003c + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_003c: ldloc.1 - IL_003d: ret - } // end of method FileFunctions::GetLastWriteTime + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileOperation::get_Target - // method line 828 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed + // method line 594 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileSystemInfo get_TargetInfo () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 14 67 65 74 2D 6C 61 73 74 2D 61 63 63 65 // ...get-last-acce - 73 73 2D 74 69 6D 65 00 00 ) // ss-time.. - - // Method begins at RVA 0xcf34 - // Code size 62 (0x3e) - .maxstack 3 + // Method begins at RVA 0xbdc0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + class [mscorlib]System.IO.FileSystemInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0014: brtrue IL_0030 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "Could not find a part of the path \"{0}\"." - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastAccessTime(string) - IL_0036: stloc.1 - IL_0037: br IL_003c + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003c: ldloc.1 - IL_003d: ret - } // end of method FileFunctions::GetLastAccessTime + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FileOperation::get_TargetInfo - // method line 829 - .method public hidebysig - instance default bool Exists (string file) cil managed + // method line 595 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_TargetType () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - - // Method begins at RVA 0xcf80 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xbddc + // Code size 20 (0x14) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FileFunctions::Exists + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileOperation::get_TargetType - // method line 830 + // method line 596 .method public hidebysig - instance default bool UpToDate (string srcFile, string targetFile) cil managed + instance default void NormalizeTargetAttributes () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 75 70 2D 74 6F 2D 64 61 74 65 00 00 ) // ...up-to-date.. - - // Method begins at RVA 0xcfa8 - // Code size 75 (0x4b) + // Method begins at RVA 0xbdfc + // Code size 79 (0x4f) .maxstack 2 - .locals init ( - string V_0, - string V_1, - bool V_2, - valuetype [mscorlib]System.DateTime V_3, - string V_4) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldarg.0 - IL_000f: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0014: ldarg.2 - IL_0015: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_001a: stloc.1 - IL_001b: ldloc.1 - IL_001c: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0021: brtrue IL_002e + IL_0002: ldarg.0 + IL_0003: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0008: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) + IL_000d: brfalse IL_004e - IL_0026: nop - IL_0027: ldc.i4.0 - IL_0028: stloc.2 - IL_0029: br IL_0049 + IL_0012: ldarg.0 + IL_0013: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0018: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001d: brfalse IL_004e - IL_002e: ldloc.1 - IL_002f: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_0034: stloc.3 - IL_0035: ldloc.0 - IL_0036: ldloc.3 - IL_0037: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_003c: stloc.s 4 - IL_003e: ldloc.s 4 - IL_0040: ldnull - IL_0041: ceq - IL_0043: stloc.2 - IL_0044: br IL_0049 + IL_0022: ldarg.0 + IL_0023: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0028: callvirt instance valuetype [mscorlib]System.IO.FileAttributes class [mscorlib]System.IO.FileSystemInfo::get_Attributes() + IL_002d: ldc.i4 128 + IL_0032: beq IL_004e - IL_0049: ldloc.2 - IL_004a: ret - } // end of method FileFunctions::UpToDate + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_003e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0043: ldc.i4 128 + IL_0048: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_004d: nop + IL_004e: ret + } // end of method FileOperation::NormalizeTargetAttributes - // method line 831 + // method line 597 .method public hidebysig - instance default int64 GetLength (string file) cil managed + instance default bool SourceEqualsTarget () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6C 65 6E 67 74 68 00 00 ) // ...get-length.. - - // Method begins at RVA 0xd000 - // Code size 33 (0x21) - .maxstack 2 + // Method begins at RVA 0xbe58 + // Code size 45 (0x2d) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - int64 V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: callvirt instance int64 class [mscorlib]System.IO.FileInfo::get_Length() - IL_0019: stloc.1 - IL_001a: br IL_001f + IL_0002: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::_comparer + IL_0007: ldarg.0 + IL_0008: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_000d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0012: ldarg.0 + IL_0013: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0018: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001d: callvirt instance int32 class [mscorlib]System.StringComparer::Compare(string, string) + IL_0022: ldc.i4.0 + IL_0023: ceq + IL_0025: stloc.0 + IL_0026: br IL_002b - IL_001f: ldloc.1 - IL_0020: ret - } // end of method FileFunctions::GetLength + IL_002b: ldloc.0 + IL_002c: ret + } // end of method FileOperation::SourceEqualsTarget - // method line 832 + // method line 598 .method public hidebysig - instance default bool IsAssembly (string assemblyFile) cil managed + instance default bool SourceIsIdenticalToTarget () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 69 73 2D 61 73 73 65 6D 62 6C 79 00 00 ) // ...is-assembly.. - - // Method begins at RVA 0xd030 - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0xbe94 + // Code size 37 (0x25) + .maxstack 3 .locals init ( bool V_0) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0008: ldarg.1 - IL_0009: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000e: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) - IL_0013: pop - IL_0014: ldc.i4.1 - IL_0015: stloc.0 - IL_0016: leave IL_002d - - } // end .try 0 - catch class [mscorlib]System.IO.FileLoadException { // 0 - IL_001b: pop - IL_001c: nop - IL_001d: ldc.i4.0 - IL_001e: stloc.0 - IL_001f: leave IL_002d - - } // end handler 0 - catch class [mscorlib]System.BadImageFormatException { // 1 - IL_0024: pop - IL_0025: nop - IL_0026: ldc.i4.0 - IL_0027: stloc.0 - IL_0028: leave IL_002d - - } // end handler 1 - IL_002d: ldloc.0 - IL_002e: ret - } // end of method FileFunctions::IsAssembly - - } // end of class NAnt.Core.Functions.FileFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit AssemblyFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 61 73 73 65 6D 62 6C 79 08 41 73 73 65 // ...assembly.Asse - 6D 62 6C 79 00 00 ) // mbly.. - - - // method line 833 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xd088 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method AssemblyFunctions::.ctor - - // method line 834 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly LoadFromFile (string assemblyFile) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0E 6C 6F 61 64 2D 66 72 6F 6D 2D 66 69 6C // ...load-from-fil - 65 00 00 ) // e.. - - // Method begins at RVA 0xd094 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) - IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: ldarg.0 + IL_000d: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0017: ldc.i4.2 + IL_0018: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) + IL_001d: stloc.0 + IL_001e: br IL_0023 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method AssemblyFunctions::LoadFromFile + IL_0023: ldloc.0 + IL_0024: ret + } // end of method FileOperation::SourceIsIdenticalToTarget - // method line 835 + // method line 599 .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly Load (string assemblyString) cil managed + instance default void UpdateSource (class [mscorlib]System.IO.FileSystemInfo newSource) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 6C 6F 61 64 00 00 ) // ...load.. - - // Method begins at RVA 0xd0bc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) + // Method begins at RVA 0xbec5 + // Code size 38 (0x26) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::Load(string) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0007: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_000c: ldarg.1 + IL_000d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0012: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0017: brfalse IL_0025 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyFunctions::Load + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: ldarg.1 + IL_001f: stfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0024: nop + IL_0025: ret + } // end of method FileOperation::UpdateSource - // method line 836 - .method public static hidebysig - default string GetFullName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + // method line 600 + .method public virtual hidebysig + instance default string ToString () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 6E 61 6D 65 // ...get-full-name - 00 00 ) // .. - - // Method begins at RVA 0xd0d8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xbeec + // Code size 31 (0x1f) + .maxstack 3 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldstr "'{0}' to '{1}'" + IL_0006: ldarg.0 + IL_0007: call instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0012: call string string::Format(string, object, object) + IL_0017: stloc.0 + IL_0018: br IL_001d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyFunctions::GetFullName + IL_001d: ldloc.0 + IL_001e: ret + } // end of method FileOperation::ToString - // method line 837 + // method line 601 .method public static hidebysig - default class [mscorlib]System.Reflection.AssemblyName GetName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + default bool TargetIsOutdated (class [mscorlib]System.IO.FileSystemInfo source, class [mscorlib]System.IO.FileSystemInfo target) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - - // Method begins at RVA 0xd0f4 - // Code size 16 (0x10) + // Method begins at RVA 0xbf18 + // Code size 40 (0x28) .maxstack 2 .locals init ( - class [mscorlib]System.Reflection.AssemblyName V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.1 + IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0007: brfalse IL_001f - IL_000e: ldloc.0 - IL_000f: ret - } // end of method AssemblyFunctions::GetName + IL_000c: ldarg.0 + IL_000d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0012: ldarg.1 + IL_0013: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0018: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_001d: br.s IL_0020 - // method line 838 + IL_001f: ldc.i4.1 + IL_0020: stloc.0 + IL_0021: br IL_0026 + + IL_0026: ldloc.0 + IL_0027: ret + } // end of method FileOperation::TargetIsOutdated + + // method line 602 .method public static hidebysig - default string GetLocation (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + default bool TargetDirectoryDoesNotExist (class [mscorlib]System.IO.DirectoryInfo source, class [mscorlib]System.IO.DirectoryInfo target) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 6C 6F 63 61 74 69 6F 6E 00 // ...get-location. - 00 ) // . - - // Method begins at RVA 0xd110 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xbf4c + // Code size 46 (0x2e) + .maxstack 3 .locals init ( - string V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyFunctions::GetLocation - - } // end of class NAnt.Core.Functions.AssemblyFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit NAntFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 6E 61 6E 74 04 4E 41 6E 74 00 00 ) // ...nant.NAnt.. - - - // method line 839 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xd12b - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method NAntFunctions::.ctor + IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0007: brtrue IL_0014 - // method line 840 - .method public hidebysig - instance default string GetBaseDirectory () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 62 61 73 65 2D 64 69 72 65 // ...get-base-dire - 63 74 6F 72 79 00 00 ) // ctory.. + IL_000c: nop + IL_000d: ldc.i4.1 + IL_000e: stloc.0 + IL_000f: br IL_002c - // Method begins at RVA 0xd138 - // Code size 19 (0x13) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0006: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() - IL_000b: stloc.0 - IL_000c: br IL_0011 + IL_0014: ldarg.0 + IL_0015: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001a: ldarg.1 + IL_001b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0020: ldc.i4.3 + IL_0021: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) + IL_0026: stloc.0 + IL_0027: br IL_002c - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntFunctions::GetBaseDirectory + IL_002c: ldloc.0 + IL_002d: ret + } // end of method FileOperation::TargetDirectoryDoesNotExist - // method line 841 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly GetAssembly () cil managed + // method line 603 + .method private hidebysig + instance default bool IsFileSystemType<(class [mscorlib]System.IO.FileSystemInfo) TFileSystemInfo> (class [mscorlib]System.IO.FileSystemInfo item) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 61 73 73 65 6D 62 6C 79 00 // ...get-assembly. - 00 ) // . - - // Method begins at RVA 0xd158 - // Code size 50 (0x32) + // Method begins at RVA 0xbf88 + // Code size 30 (0x1e) .maxstack 2 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - class [mscorlib]System.Reflection.Assembly V_1) + bool V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_000d: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_0012: ldstr "NAnt" - IL_0017: call bool string::op_Inequality(string, string) - IL_001c: brfalse IL_0029 - - IL_0021: nop - IL_0022: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0027: stloc.0 - IL_0028: nop - IL_0029: ldloc.0 - IL_002a: stloc.1 - IL_002b: br IL_0030 - - IL_0030: ldloc.1 - IL_0031: ret - } // end of method NAntFunctions::GetAssembly - - // method line 842 - .method public hidebysig - instance default string ScanProbingPaths (string fileName) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 73 63 61 6E 2D 70 72 6F 62 69 6E 67 2D // ...scan-probing- - 70 61 74 68 73 00 00 ) // paths.. - - .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ - - // Method begins at RVA 0xd198 - // Code size 92 (0x5c) - .maxstack 3 - .locals init ( - string V_0, - class NAnt.Core.FrameworkInfo V_1, - string[] V_2, - string V_3) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0015: brfalse IL_0036 - - IL_001a: nop - IL_001b: ldloc.1 - IL_001c: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0021: callvirt instance class NAnt.Core.Configuration.DirList class NAnt.Core.Configuration.Runtime::get_ProbingPaths() - IL_0026: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories() - IL_002b: stloc.2 - IL_002c: ldloc.2 - IL_002d: ldarg.1 - IL_002e: ldc.i4.1 - IL_002f: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) - IL_0034: stloc.0 - IL_0035: nop - IL_0036: ldloc.0 - IL_0037: brtrue IL_0053 - - IL_003c: nop - IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0042: ldstr "\"{0}\" could not be found in any of the configured probing paths." - IL_0047: ldarg.1 - IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_004d: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) - IL_0052: throw - IL_0053: ldloc.0 - IL_0054: stloc.3 - IL_0055: br IL_005a - - IL_005a: ldloc.3 - IL_005b: ret - } // end of method NAntFunctions::ScanProbingPaths - - // method line 843 - .method public hidebysig - instance default string ScanProbingPaths (string baseDirectory, string fileName) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 73 63 61 6E 2D 70 72 6F 62 69 6E 67 2D // ...scan-probing- - 70 61 74 68 73 00 00 ) // paths.. - - .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ - - // Method begins at RVA 0xd200 - // Code size 93 (0x5d) - .maxstack 3 - .locals init ( - string V_0, - class NAnt.Core.FrameworkInfo V_1, - string[] V_2, - string V_3) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0015: brfalse IL_0037 - - IL_001a: nop - IL_001b: ldloc.1 - IL_001c: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0021: callvirt instance class NAnt.Core.Configuration.DirList class NAnt.Core.Configuration.Runtime::get_ProbingPaths() - IL_0026: ldarg.1 - IL_0027: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories(string) - IL_002c: stloc.2 - IL_002d: ldloc.2 - IL_002e: ldarg.2 - IL_002f: ldc.i4.1 - IL_0030: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) - IL_0035: stloc.0 - IL_0036: nop - IL_0037: ldloc.0 - IL_0038: brtrue IL_0054 - - IL_003d: nop - IL_003e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0043: ldstr "\"{0}\" could not be found in any of the configured probing paths." - IL_0048: ldarg.2 - IL_0049: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_004e: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) - IL_0053: throw - IL_0054: ldloc.0 - IL_0055: stloc.3 - IL_0056: br IL_005b + IL_0001: ldarg.1 + IL_0002: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0007: ldtoken !!TFileSystemInfo + IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0011: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0016: stloc.0 + IL_0017: br IL_001c - IL_005b: ldloc.3 - IL_005c: ret - } // end of method NAntFunctions::ScanProbingPaths + IL_001c: ldloc.0 + IL_001d: ret + } // end of method FileOperation::IsFileSystemType - } // end of class NAnt.Core.Functions.NAntFunctions -} + .property instance class [mscorlib]System.StringComparer Comparer () + { + .get instance default class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::get_Comparer () + .set instance default void NAnt.Core.Tasks.CopyTask/FileOperation::set_Comparer (class [mscorlib]System.StringComparer 'value') + } + .property instance string Source () + { + .get instance default string NAnt.Core.Tasks.CopyTask/FileOperation::get_Source () + } + .property instance class [mscorlib]System.IO.FileSystemInfo SourceInfo () + { + .get instance default class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo () + } + .property instance class [mscorlib]System.Type SourceType () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceType () + } + .property instance valuetype NAnt.Core.Tasks.CopyTask/OperationType OperationType () + { + .get instance default valuetype NAnt.Core.Tasks.CopyTask/OperationType NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType () + } + .property instance bool Outdated () + { + .get instance default bool NAnt.Core.Tasks.CopyTask/FileOperation::get_Outdated () + } + .property instance string Target () + { + .get instance default string NAnt.Core.Tasks.CopyTask/FileOperation::get_Target () + } + .property instance class [mscorlib]System.IO.FileSystemInfo TargetInfo () + { + .get instance default class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetInfo () + } + .property instance class [mscorlib]System.Type TargetType () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetType () + } + } // end of class FileOperation -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit ProjectFunctions - extends NAnt.Core.FunctionSetBase + .class nested family auto ansi beforefieldinit FileOperationMap + extends class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2 { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 07 70 72 6F 6A 65 63 74 04 4E 41 6E 74 00 // ...project.NAnt. - 00 ) // . + .field private class [mscorlib]System.StringComparer _stringComparer + // method line 604 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xbfb2 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call class [mscorlib]System.StringComparer class [mscorlib]System.StringComparer::get_InvariantCulture() + IL_0006: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::'.ctor'(class [mscorlib]System.Collections.Generic.IEqualityComparer`1) + IL_000b: nop + IL_000c: ldarg.0 + IL_000d: call class [mscorlib]System.StringComparer class [mscorlib]System.StringComparer::get_InvariantCulture() + IL_0012: stfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer + IL_0017: ret + } // end of method FileOperationMap::.ctor - // method line 844 + // method line 605 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' (class [mscorlib]System.StringComparer comparer) cil managed { - // Method begins at RVA 0xd269 - // Code size 10 (0xa) + // Method begins at RVA 0xbfcb + // Code size 16 (0x10) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method ProjectFunctions::.ctor + IL_0002: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::'.ctor'(class [mscorlib]System.Collections.Generic.IEqualityComparer`1) + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: stfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer + IL_000f: ret + } // end of method FileOperationMap::.ctor - // method line 845 + // method line 606 .method public hidebysig - instance default string GetName () cil managed + instance default bool ContainsKey (string key) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - - // Method begins at RVA 0xd274 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0xbfdc + // Code size 40 (0x28) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_ProjectName() - IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: call instance class [mscorlib]System.Collections.Generic.IDictionary`2 class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::get_Dictionary() + IL_0007: brfalse IL_001f - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetName + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.Collections.Generic.IDictionary`2 class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::get_Dictionary() + IL_0013: ldarg.1 + IL_0014: callvirt instance bool class [mscorlib]System.Collections.Generic.IDictionary`2::ContainsKey(!0) + IL_0019: stloc.0 + IL_001a: br IL_0026 - // method line 846 + IL_001f: ldc.i4.0 + IL_0020: stloc.0 + IL_0021: br IL_0026 + + IL_0026: ldloc.0 + IL_0027: ret + } // end of method FileOperationMap::ContainsKey + + // method line 607 .method public hidebysig - instance default string GetBuildFileUri () cil managed + instance default int32 CountDirectoryOperations () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 62 75 69 6C 64 66 69 6C 65 // ...get-buildfile - 2D 75 72 69 00 00 ) // -uri.. - - // Method begins at RVA 0xd29c - // Code size 59 (0x3b) + // Method begins at RVA 0xc010 + // Code size 75 (0x4b) .maxstack 2 .locals init ( - string V_0) + int32 V_0, + int32 V_1, + int32 V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_000c: ldnull - IL_000d: call bool class [System]System.Uri::op_Inequality(class [System]System.Uri, class [System]System.Uri) - IL_0012: brfalse IL_002e + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldc.i4.0 + IL_0004: stloc.1 + IL_0005: br IL_0036 - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_001e: callvirt instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_0023: callvirt instance string object::ToString() - IL_0028: stloc.0 - IL_0029: br IL_0039 + IL_000a: nop + IL_000b: ldarg.0 + IL_000c: ldloc.1 + IL_000d: call instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) + IL_0012: callvirt instance class [mscorlib]System.Type class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceType() + IL_0017: ldtoken [mscorlib]System.IO.DirectoryInfo + IL_001c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0021: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0026: brfalse IL_0031 - IL_002e: ldsfld string [mscorlib]System.String::Empty - IL_0033: stloc.0 - IL_0034: br IL_0039 + IL_002b: nop + IL_002c: ldloc.0 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: stloc.0 + IL_0030: nop + IL_0031: nop + IL_0032: ldloc.1 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: stloc.1 + IL_0036: ldloc.1 + IL_0037: ldarg.0 + IL_0038: call instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_003d: blt IL_000a - IL_0039: ldloc.0 - IL_003a: ret - } // end of method ProjectFunctions::GetBuildFileUri + IL_0042: ldloc.0 + IL_0043: stloc.2 + IL_0044: br IL_0049 - // method line 847 + IL_0049: ldloc.2 + IL_004a: ret + } // end of method FileOperationMap::CountDirectoryOperations + + // method line 608 .method public hidebysig - instance default string GetBuildFilePath () cil managed + instance default int32 CountFileOperations () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 62 75 69 6C 64 66 69 6C 65 // ...get-buildfile - 2D 70 61 74 68 00 00 ) // -path.. - - // Method begins at RVA 0xd2e4 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0xc068 + // Code size 75 (0x4b) + .maxstack 2 .locals init ( - string V_0) + int32 V_0, + int32 V_1, + int32 V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_BuildFileLocalName() - IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldc.i4.0 + IL_0004: stloc.1 + IL_0005: br IL_0036 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetBuildFilePath + IL_000a: nop + IL_000b: ldarg.0 + IL_000c: ldloc.1 + IL_000d: call instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) + IL_0012: callvirt instance class [mscorlib]System.Type class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceType() + IL_0017: ldtoken [mscorlib]System.IO.FileInfo + IL_001c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0021: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0026: brfalse IL_0031 - // method line 848 - .method public hidebysig - instance default string GetDefaultTarget () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 64 65 66 61 75 6C 74 2D 74 // ...get-default-t - 61 72 67 65 74 00 00 ) // arget.. + IL_002b: nop + IL_002c: ldloc.0 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: stloc.0 + IL_0030: nop + IL_0031: nop + IL_0032: ldloc.1 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: stloc.1 + IL_0036: ldloc.1 + IL_0037: ldarg.0 + IL_0038: call instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_003d: blt IL_000a - // Method begins at RVA 0xd30c - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_DefaultTargetName() - IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0042: ldloc.0 + IL_0043: stloc.2 + IL_0044: br IL_0049 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetDefaultTarget + IL_0049: ldloc.2 + IL_004a: ret + } // end of method FileOperationMap::CountFileOperations - // method line 849 + // method line 609 .method public hidebysig - instance default string GetBaseDirectory () cil managed + instance default class [mscorlib]System.Collections.Hashtable ConvertToHashtable () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 62 61 73 65 2D 64 69 72 65 // ...get-base-dire - 63 74 6F 72 79 00 00 ) // ctory.. - - // Method begins at RVA 0xd334 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xc0c0 + // Code size 325 (0x145) + .maxstack 4 .locals init ( - string V_0) + class [mscorlib]System.Collections.Hashtable V_0, + int32 V_1, + class NAnt.Core.Tasks.CopyTask/FileOperation V_2, + string V_3, + string V_4, + class NAnt.Core.DirectoryScanner V_5, + class [System]System.Collections.Specialized.StringCollection V_6, + int32 V_7, + string V_8, + class [mscorlib]System.Collections.Hashtable V_9) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ProjectFunctions::GetBaseDirectory + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: brfalse IL_0018 - } // end of class NAnt.Core.Functions.ProjectFunctions -} + IL_000b: nop + IL_000c: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0011: stloc.0 + IL_0012: nop + IL_0013: br IL_0020 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TargetFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 06 74 61 72 67 65 74 04 4E 41 6E 74 00 00 ) // ...target.NAnt.. + IL_0018: nop + IL_0019: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_001e: stloc.0 + IL_001f: nop + IL_0020: ldc.i4.0 + IL_0021: stloc.1 + IL_0022: br IL_012e + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldloc.1 + IL_002a: call instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) + IL_002f: stloc.2 + IL_0030: ldloc.2 + IL_0031: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() + IL_0036: brtrue IL_0059 - // method line 850 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xd354 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method TargetFunctions::.ctor + IL_003b: nop + IL_003c: ldloc.0 + IL_003d: ldloc.2 + IL_003e: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0043: ldloc.2 + IL_0044: callvirt instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() + IL_0049: newobj instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(class [mscorlib]System.IO.FileSystemInfo) + IL_004e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0053: nop + IL_0054: br IL_0129 - // method line 851 - .method public hidebysig - instance default bool Exists (string name) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + IL_0059: ldloc.2 + IL_005a: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() + IL_005f: ldc.i4.1 + IL_0060: bne.un IL_0099 - // Method begins at RVA 0xd360 - // Code size 32 (0x20) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0012: ldnull - IL_0013: ceq - IL_0015: ldc.i4.0 - IL_0016: ceq - IL_0018: stloc.0 - IL_0019: br IL_001e + IL_0065: nop + IL_0066: ldloc.2 + IL_0067: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() + IL_006c: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0071: stloc.3 + IL_0072: ldloc.2 + IL_0073: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0078: ldloc.3 + IL_0079: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_007e: stloc.s 4 + IL_0080: ldloc.0 + IL_0081: ldloc.s 4 + IL_0083: ldloc.2 + IL_0084: callvirt instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() + IL_0089: newobj instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(class [mscorlib]System.IO.FileSystemInfo) + IL_008e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0093: nop + IL_0094: br IL_0129 - IL_001e: ldloc.0 - IL_001f: ret - } // end of method TargetFunctions::Exists + IL_0099: nop + IL_009a: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() + IL_009f: stloc.s 5 + IL_00a1: ldloc.s 5 + IL_00a3: ldloc.2 + IL_00a4: callvirt instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() + IL_00a9: isinst [mscorlib]System.IO.DirectoryInfo + IL_00ae: callvirt instance void class NAnt.Core.DirectoryScanner::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00b3: ldloc.s 5 + IL_00b5: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() + IL_00ba: ldstr "**/*" + IL_00bf: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00c4: pop + IL_00c5: ldloc.s 5 + IL_00c7: callvirt instance void class NAnt.Core.DirectoryScanner::Scan() + IL_00cc: ldloc.s 5 + IL_00ce: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() + IL_00d3: stloc.s 6 + IL_00d5: ldc.i4.0 + IL_00d6: stloc.s 7 + IL_00d8: br IL_011a - // method line 852 - .method public hidebysig - instance default string GetCurrentTarget () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 63 75 72 72 65 6E 74 2D 74 // ...get-current-t - 61 72 67 65 74 00 00 ) // arget.. + IL_00dd: nop + IL_00de: ldloc.s 6 + IL_00e0: ldloc.s 7 + IL_00e2: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_00e7: stloc.s 8 + IL_00e9: ldloc.s 8 + IL_00eb: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_00f0: stloc.3 + IL_00f1: ldloc.2 + IL_00f2: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_00f7: ldloc.3 + IL_00f8: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00fd: stloc.s 4 + IL_00ff: ldloc.0 + IL_0100: ldloc.s 4 + IL_0102: ldloc.3 + IL_0103: ldloc.3 + IL_0104: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_0109: newobj instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(string, valuetype [mscorlib]System.DateTime) + IL_010e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0113: nop + IL_0114: ldloc.s 7 + IL_0116: ldc.i4.1 + IL_0117: add + IL_0118: stloc.s 7 + IL_011a: ldloc.s 7 + IL_011c: ldloc.s 6 + IL_011e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0123: blt IL_00dd - // Method begins at RVA 0xd38c - // Code size 45 (0x2d) - .maxstack 1 - .locals init ( - class NAnt.Core.Target V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.Target class NAnt.Core.Project::get_CurrentTarget() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brtrue IL_001f + IL_0128: nop + IL_0129: nop + IL_012a: ldloc.1 + IL_012b: ldc.i4.1 + IL_012c: add + IL_012d: stloc.1 + IL_012e: ldloc.1 + IL_012f: ldarg.0 + IL_0130: call instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() + IL_0135: blt IL_0027 - IL_0013: nop - IL_0014: ldstr "No target is being executed." - IL_0019: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) - IL_001e: throw - IL_001f: ldloc.0 - IL_0020: callvirt instance string class NAnt.Core.Target::get_Name() - IL_0025: stloc.1 - IL_0026: br IL_002b + IL_013a: ldloc.0 + IL_013b: stloc.s 9 + IL_013d: br IL_0142 - IL_002b: ldloc.1 - IL_002c: ret - } // end of method TargetFunctions::GetCurrentTarget + IL_0142: ldloc.s 9 + IL_0144: ret + } // end of method FileOperationMap::ConvertToHashtable - // method line 853 - .method public hidebysig - instance default bool HasExecuted (string name) cil managed + // method line 610 + .method family virtual hidebysig + instance default string GetKeyForItem (class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 68 61 73 2D 65 78 65 63 75 74 65 64 00 // ...has-executed. - 00 ) // . - - // Method begins at RVA 0xd3c8 - // Code size 67 (0x43) - .maxstack 3 + // Method begins at RVA 0xc214 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Target V_0, - bool V_1) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brtrue IL_0035 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "NA1097" - IL_0024: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0029: ldarg.1 - IL_002a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0034: throw - IL_0035: ldloc.0 - IL_0036: callvirt instance bool class NAnt.Core.Target::get_Executed() - IL_003b: stloc.1 - IL_003c: br IL_0041 - - IL_0041: ldloc.1 - IL_0042: ret - } // end of method TargetFunctions::HasExecuted - - } // end of class NAnt.Core.Functions.TargetFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TaskFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 74 61 73 6B 04 4E 41 6E 74 00 00 ) // ...task.NAnt.. + IL_0001: ldarg.1 + IL_0002: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FileOperationMap::GetKeyForItem - // method line 854 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 611 + .method family virtual hidebysig + instance default void InsertItem (int32 index, class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed { - // Method begins at RVA 0xd417 - // Code size 10 (0xa) + // Method begins at RVA 0xc22f + // Code size 22 (0x16) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method TaskFunctions::.ctor - - // method line 855 - .method public hidebysig - instance default bool Exists (string name) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - - // Method begins at RVA 0xd424 - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - bool V_0) IL_0000: nop - IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0006: ldarg.1 - IL_0007: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TaskFunctions::Exists + IL_0001: ldarg.2 + IL_0002: ldarg.0 + IL_0003: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer + IL_0008: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::set_Comparer(class [mscorlib]System.StringComparer) + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: ldarg.2 + IL_0010: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::InsertItem(int32, !1) + IL_0015: ret + } // end of method FileOperationMap::InsertItem - // method line 856 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly GetAssembly (string name) cil managed + // method line 612 + .method family virtual hidebysig + instance default void SetItem (int32 index, class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 61 73 73 65 6D 62 6C 79 00 // ...get-assembly. - 00 ) // . - - // Method begins at RVA 0xd444 - // Code size 61 (0x3d) - .maxstack 3 - .locals init ( - class NAnt.Core.TaskBuilder V_0, - class [mscorlib]System.Reflection.Assembly V_1) + // Method begins at RVA 0xc246 + // Code size 22 (0x16) + .maxstack 8 IL_0000: nop - IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0006: ldarg.1 - IL_0007: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brtrue IL_002f + IL_0001: ldarg.2 + IL_0002: ldarg.0 + IL_0003: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer + IL_0008: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::set_Comparer(class [mscorlib]System.StringComparer) + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: ldarg.2 + IL_0010: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::SetItem(int32, !1) + IL_0015: ret + } // end of method FileOperationMap::SetItem - IL_0013: nop - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: ldstr "NA1099" - IL_001e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0023: ldarg.1 - IL_0024: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0029: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_002e: throw - IL_002f: ldloc.0 - IL_0030: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0035: stloc.1 - IL_0036: br IL_003b + } // end of class FileOperationMap - IL_003b: ldloc.1 - IL_003c: ret - } // end of method TaskFunctions::GetAssembly + .class nested family auto ansi sealed OperationType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Tasks.CopyTask/OperationType FileToFile = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Tasks.CopyTask/OperationType FileToDirectory = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Tasks.CopyTask/OperationType DirectoryToDirectory = int32(0x00000002) - } // end of class NAnt.Core.Functions.TaskFunctions + } // end of class OperationType + + } // end of class NAnt.Core.Tasks.CopyTask } .namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit PropertyFunctions + .class public auto ansi beforefieldinit AssemblyFunctions extends NAnt.Core.FunctionSetBase { .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 04 4E 41 6E 74 // ...property.NAnt - 00 00 ) // .. + 01 00 08 61 73 73 65 6D 62 6C 79 08 41 73 73 65 // ...assembly.Asse + 6D 62 6C 79 00 00 ) // mbly.. - // method line 857 + // method line 613 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xd48d + // Method begins at RVA 0x10c6d // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -24508,129 +25525,141 @@ IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) IL_0008: nop IL_0009: ret - } // end of method PropertyFunctions::.ctor + } // end of method AssemblyFunctions::.ctor - // method line 858 + // method line 614 .method public hidebysig - instance default bool Exists (string name) cil managed + instance default class [mscorlib]System.Reflection.Assembly LoadFromFile (string assemblyFile) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 6C 6F 61 64 2D 66 72 6F 6D 2D 66 69 6C // ...load-from-fil + 65 00 00 ) // e.. - // Method begins at RVA 0xd498 + // Method begins at RVA 0x10c78 // Code size 26 (0x1a) .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.Reflection.Assembly V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) IL_0012: stloc.0 IL_0013: br IL_0018 IL_0018: ldloc.0 IL_0019: ret - } // end of method PropertyFunctions::Exists + } // end of method AssemblyFunctions::LoadFromFile - // method line 859 + // method line 615 .method public hidebysig - instance default bool IsReadOnly (string name) cil managed + instance default class [mscorlib]System.Reflection.Assembly Load (string assemblyString) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 6C 6F 61 64 00 00 ) // ...load.. + + // Method begins at RVA 0x10ca0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Reflection.Assembly V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::Load(string) + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyFunctions::Load + + // method line 616 + .method public static hidebysig + default string GetFullName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 69 73 2D 72 65 61 64 6F 6E 6C 79 00 00 ) // ...is-readonly.. + 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 6E 61 6D 65 // ...get-full-name + 00 00 ) // .. - // Method begins at RVA 0xd4c0 - // Code size 76 (0x4c) - .maxstack 3 + // Method begins at RVA 0x10cbc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0012: brtrue IL_0033 - - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "NA1053" - IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0027: ldarg.1 - IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0032: throw - IL_0033: ldarg.0 - IL_0034: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0039: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_003e: ldarg.1 - IL_003f: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_0044: stloc.0 - IL_0045: br IL_004a + IL_0002: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_004a: ldloc.0 - IL_004b: ret - } // end of method PropertyFunctions::IsReadOnly + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyFunctions::GetFullName - // method line 860 - .method public hidebysig - instance default bool IsDynamic (string name) cil managed + // method line 617 + .method public static hidebysig + default class [mscorlib]System.Reflection.AssemblyName GetName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 69 73 2D 64 79 6E 61 6D 69 63 00 00 ) // ...is-dynamic.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - // Method begins at RVA 0xd518 - // Code size 76 (0x4c) - .maxstack 3 + // Method begins at RVA 0x10cd8 + // Code size 16 (0x10) + .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.Reflection.AssemblyName V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0012: brtrue IL_0033 + IL_0002: ldc.i4.0 + IL_0003: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "NA1053" - IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0027: ldarg.1 - IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0032: throw - IL_0033: ldarg.0 - IL_0034: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0039: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_003e: ldarg.1 - IL_003f: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_0044: stloc.0 - IL_0045: br IL_004a + IL_000e: ldloc.0 + IL_000f: ret + } // end of method AssemblyFunctions::GetName - IL_004a: ldloc.0 - IL_004b: ret - } // end of method PropertyFunctions::IsDynamic + // method line 618 + .method public static hidebysig + default string GetLocation (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 6C 6F 63 61 74 69 6F 6E 00 // ...get-location. + 00 ) // . - } // end of class NAnt.Core.Functions.PropertyFunctions + // Method begins at RVA 0x10cf4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyFunctions::GetLocation + + } // end of class NAnt.Core.Functions.AssemblyFunctions } .namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit PlatformFunctions + .class public auto ansi beforefieldinit PkgConfigFunctions extends NAnt.Core.FunctionSetBase { .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 70 6C 61 74 66 6F 72 6D 04 4E 41 6E 74 // ...platform.NAnt - 00 00 ) // .. + 01 00 0A 70 6B 67 2D 63 6F 6E 66 69 67 0B 55 6E // ...pkg-config.Un + 69 78 2F 43 79 67 77 69 6E 00 00 ) // ix/Cygwin.. - // method line 861 + // method line 619 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xd570 + // Method begins at RVA 0x10d0f // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -24639,342 +25668,588 @@ IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) IL_0008: nop IL_0009: ret - } // end of method PlatformFunctions::.ctor + } // end of method PkgConfigFunctions::.ctor - // method line 862 + // method line 620 .method public hidebysig - instance default string GetName () cil managed + instance default string GetVariable (string package, string name) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 76 61 72 69 61 62 6C 65 00 // ...get-variable. + 00 ) // . - // Method begins at RVA 0xd57c - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x10d1c + // Code size 94 (0x5e) + .maxstack 7 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_PlatformName() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PlatformFunctions::GetName - - // method line 863 - .method public static hidebysig - default bool IsWin32 () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 69 73 2D 77 69 6E 33 32 00 00 ) // ...is-win32.. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 24 55 73 65 20 74 68 65 20 69 73 2D 77 69 // ..$Use the is-wi - 6E 64 6F 77 73 20 66 75 6E 63 74 69 6F 6E 20 69 // ndows function i - 6E 73 74 65 61 64 2E 00 00 ) // nstead... - - // Method begins at RVA 0xd59c - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformFunctions::IsWin32 + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - // method line 864 - .method public static hidebysig - default bool IsWindows () cil managed + IL_000d: nop + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: ldstr "NA1100" + IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldc.i4.2 + IL_002b: newarr NAnt.Core.Types.Argument + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldstr "--variable=\"" + IL_0037: ldarg.2 + IL_0038: ldstr "\"" + IL_003d: call string string::Concat(string, string, string) + IL_0042: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0047: stelem.ref + IL_0048: dup + IL_0049: ldc.i4.1 + IL_004a: ldarg.1 + IL_004b: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0050: stelem.ref + IL_0051: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) + IL_0056: stloc.0 + IL_0057: br IL_005c + + IL_005c: ldloc.0 + IL_005d: ret + } // end of method PkgConfigFunctions::GetVariable + + // method line 621 + .method public hidebysig + instance default string GetLinkFlags (string package) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 69 73 2D 77 69 6E 64 6F 77 73 00 00 ) // ...is-windows.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 67 65 74 2D 6C 69 6E 6B 2D 66 6C 61 67 // ...get-link-flag + 73 00 00 ) // s.. - // Method begins at RVA 0xd5b8 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x10d88 + // Code size 83 (0x53) + .maxstack 5 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformFunctions::IsWindows + IL_000d: nop + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: ldstr "NA1100" + IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldc.i4.2 + IL_002b: newarr NAnt.Core.Types.Argument + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldstr "--libs" + IL_0037: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_003c: stelem.ref + IL_003d: dup + IL_003e: ldc.i4.1 + IL_003f: ldarg.1 + IL_0040: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0045: stelem.ref + IL_0046: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) + IL_004b: stloc.0 + IL_004c: br IL_0051 - // method line 865 - .method public static hidebysig - default bool IsUnix () cil managed + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetLinkFlags + + // method line 622 + .method public hidebysig + instance default string GetCompileFlags (string package) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 69 73 2D 75 6E 69 78 00 00 ) // ...is-unix.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 63 6F 6D 70 69 6C 65 2D 66 // ...get-compile-f + 6C 61 67 73 00 00 ) // lags.. - // Method begins at RVA 0xd5d4 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x10de8 + // Code size 83 (0x53) + .maxstack 5 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformFunctions::IsUnix - - } // end of class NAnt.Core.Functions.PlatformFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit FileVersionInfoFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0F 66 69 6C 65 76 65 72 73 69 6F 6E 69 6E // ...fileversionin - 66 6F 07 56 65 72 73 69 6F 6E 00 00 ) // fo.Version.. + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 + IL_000d: nop + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: ldstr "NA1100" + IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldc.i4.2 + IL_002b: newarr NAnt.Core.Types.Argument + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldstr "--cflags" + IL_0037: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_003c: stelem.ref + IL_003d: dup + IL_003e: ldc.i4.1 + IL_003f: ldarg.1 + IL_0040: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0045: stelem.ref + IL_0046: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) + IL_004b: stloc.0 + IL_004c: br IL_0051 - // method line 866 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xd5ee - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method FileVersionInfoFunctions::.ctor + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetCompileFlags - // method line 867 + // method line 623 .method public hidebysig - instance default class [System]System.Diagnostics.FileVersionInfo GetVersionInfo (string fileName) cil managed + instance default string GetModVersion (string package) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 67 65 74 2D 76 65 72 73 69 6F 6E 2D 69 // ...get-version-i - 6E 66 6F 00 00 ) // nfo.. + 01 00 0F 67 65 74 2D 6D 6F 64 2D 76 65 72 73 69 // ...get-mod-versi + 6F 6E 00 00 ) // on.. - // Method begins at RVA 0xd5fc - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x10e48 + // Code size 83 (0x53) + .maxstack 5 .locals init ( - class [System]System.Diagnostics.FileVersionInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call class [System]System.Diagnostics.FileVersionInfo class [System]System.Diagnostics.FileVersionInfo::GetVersionInfo(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FileVersionInfoFunctions::GetVersionInfo + IL_000d: nop + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: ldstr "NA1100" + IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldc.i4.2 + IL_002b: newarr NAnt.Core.Types.Argument + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldstr "--modversion" + IL_0037: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_003c: stelem.ref + IL_003d: dup + IL_003e: ldc.i4.1 + IL_003f: ldarg.1 + IL_0040: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0045: stelem.ref + IL_0046: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) + IL_004b: stloc.0 + IL_004c: br IL_0051 - // method line 868 - .method public static hidebysig - default string GetCompanyName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetModVersion + + // method line 624 + .method public hidebysig + instance default bool IsAtLeastVersion (string package, string version) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 67 65 74 2D 63 6F 6D 70 61 6E 79 2D 6E // ...get-company-n - 61 6D 65 00 00 ) // ame.. + 01 00 12 69 73 2D 61 74 6C 65 61 73 74 2D 76 65 // ...is-atleast-ve + 72 73 69 6F 6E 00 00 ) // rsion.. - // Method begins at RVA 0xd624 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x10ea8 + // Code size 54 (0x36) + .maxstack 7 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_CompanyName() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.2 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--atleast-version=\"" + IL_000f: ldarg.2 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldarg.1 + IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0028: stelem.ref + IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_002e: stloc.0 + IL_002f: br IL_0034 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileVersionInfoFunctions::GetCompanyName + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsAtLeastVersion - // method line 869 - .method public static hidebysig - default class [mscorlib]System.Version GetFileVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 625 + .method public hidebysig + instance default bool IsExactVersion (string package, string version) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 67 65 74 2D 66 69 6C 65 2D 76 65 72 73 // ...get-file-vers + 01 00 10 69 73 2D 65 78 61 63 74 2D 76 65 72 73 // ...is-exact-vers 69 6F 6E 00 00 ) // ion.. - // Method begins at RVA 0xd640 - // Code size 38 (0x26) - .maxstack 4 + // Method begins at RVA 0x10eec + // Code size 54 (0x36) + .maxstack 7 .locals init ( - class [mscorlib]System.Version V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMajorPart() - IL_0007: ldarg.0 - IL_0008: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMinorPart() - IL_000d: ldarg.0 - IL_000e: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileBuildPart() - IL_0013: ldarg.0 - IL_0014: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FilePrivatePart() - IL_0019: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32, int32, int32) - IL_001e: stloc.0 - IL_001f: br IL_0024 + IL_0002: ldc.i4.2 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--exact-version=\"" + IL_000f: ldarg.2 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldarg.1 + IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0028: stelem.ref + IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_002e: stloc.0 + IL_002f: br IL_0034 - IL_0024: ldloc.0 - IL_0025: ret - } // end of method FileVersionInfoFunctions::GetFileVersion + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsExactVersion - // method line 870 - .method public static hidebysig - default string GetProductName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 626 + .method public hidebysig + instance default bool IsMaxVersion (string package, string version) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 67 65 74 2D 70 72 6F 64 75 63 74 2D 6E // ...get-product-n - 61 6D 65 00 00 ) // ame.. + 01 00 0E 69 73 2D 6D 61 78 2D 76 65 72 73 69 6F // ...is-max-versio + 6E 00 00 ) // n.. - // Method begins at RVA 0xd674 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x10f30 + // Code size 54 (0x36) + .maxstack 7 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_ProductName() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.2 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--max-version=\"" + IL_000f: ldarg.2 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldarg.1 + IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0028: stelem.ref + IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_002e: stloc.0 + IL_002f: br IL_0034 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileVersionInfoFunctions::GetProductName + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsMaxVersion - // method line 871 - .method public static hidebysig - default class [mscorlib]System.Version GetProductVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 627 + .method public hidebysig + instance default bool IsBetweenVersion (string package, string minVersion, string maxVersion) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 13 67 65 74 2D 70 72 6F 64 75 63 74 2D 76 // ...get-product-v - 65 72 73 69 6F 6E 00 00 ) // ersion.. + 01 00 12 69 73 2D 62 65 74 77 65 65 6E 2D 76 65 // ...is-between-ve + 72 73 69 6F 6E 00 00 ) // rsion.. - // Method begins at RVA 0xd690 - // Code size 38 (0x26) - .maxstack 4 + // Method begins at RVA 0x10f74 + // Code size 78 (0x4e) + .maxstack 7 .locals init ( - class [mscorlib]System.Version V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMajorPart() - IL_0007: ldarg.0 - IL_0008: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMinorPart() - IL_000d: ldarg.0 - IL_000e: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductBuildPart() - IL_0013: ldarg.0 - IL_0014: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductPrivatePart() - IL_0019: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32, int32, int32) - IL_001e: stloc.0 - IL_001f: br IL_0024 - - IL_0024: ldloc.0 - IL_0025: ret - } // end of method FileVersionInfoFunctions::GetProductVersion - - } // end of class NAnt.Core.Functions.FileVersionInfoFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit BooleanConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 04 62 6F 6F 6C 0A 43 6F 6E 76 65 72 73 69 // ...bool.Conversi - 6F 6E 00 00 ) // on.. - + IL_0002: ldc.i4.3 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--atleast-version=\"" + IL_000f: ldarg.2 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldstr "--max-version=\"" + IL_0027: ldarg.3 + IL_0028: ldstr "\"" + IL_002d: call string string::Concat(string, string, string) + IL_0032: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0037: stelem.ref + IL_0038: dup + IL_0039: ldc.i4.2 + IL_003a: ldarg.1 + IL_003b: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0040: stelem.ref + IL_0041: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_0046: stloc.0 + IL_0047: br IL_004c - // method line 872 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed - { - // Method begins at RVA 0xd6c2 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method BooleanConversionFunctions::.ctor + IL_004c: ldloc.0 + IL_004d: ret + } // end of method PkgConfigFunctions::IsBetweenVersion - // method line 873 - .method public static hidebysig - default bool Parse (string s) cil managed + // method line 628 + .method public hidebysig + instance default bool Exists (string package) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - // Method begins at RVA 0xd6d0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x10fd0 + // Code size 43 (0x2b) + .maxstack 5 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool bool::Parse(string) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.2 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--exists" + IL_000f: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0014: stelem.ref + IL_0015: dup + IL_0016: ldc.i4.1 + IL_0017: ldarg.1 + IL_0018: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001d: stelem.ref + IL_001e: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_0023: stloc.0 + IL_0024: br IL_0029 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BooleanConversionFunctions::Parse + IL_0029: ldloc.0 + IL_002a: ret + } // end of method PkgConfigFunctions::Exists - // method line 874 - .method public static hidebysig - default string ToString (bool 'value') cil managed + // method line 629 + .method private hidebysig + instance default bool RunPkgConfigBool (class NAnt.Core.Types.Argument[] args) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - - // Method begins at RVA 0xd6ec - // Code size 21 (0x15) + // Method begins at RVA 0x11008 + // Code size 71 (0x47) .maxstack 2 .locals init ( - string V_0) + class [mscorlib]System.IO.MemoryStream V_0, + class NAnt.Core.Tasks.ExecTask V_1, + bool V_2) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call instance string bool::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance class NAnt.Core.Tasks.ExecTask class NAnt.Core.Functions.PkgConfigFunctions::GetTask(class [mscorlib]System.IO.Stream) + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0015: ldarg.1 + IL_0016: callvirt instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) + .try { // 0 + IL_001b: nop + IL_001c: ldloc.1 + IL_001d: callvirt instance void class NAnt.Core.Task::Execute() + IL_0022: ldc.i4.1 + IL_0023: stloc.2 + IL_0024: leave IL_0045 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method BooleanConversionFunctions::ToString + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0029: pop + IL_002a: nop + IL_002b: ldloc.1 + IL_002c: callvirt instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_ExitCode() + IL_0031: ldc.i4 -1000 + IL_0036: bne.un IL_003e - } // end of class NAnt.Core.Functions.BooleanConversionFunctions + IL_003b: nop + IL_003c: rethrow + IL_003e: ldc.i4.0 + IL_003f: stloc.2 + IL_0040: leave IL_0045 + + } // end handler 0 + IL_0045: ldloc.2 + IL_0046: ret + } // end of method PkgConfigFunctions::RunPkgConfigBool + + // method line 630 + .method private hidebysig + instance default string RunPkgConfigString (class NAnt.Core.Types.Argument[] args) cil managed + { + // Method begins at RVA 0x1106c + // Code size 134 (0x86) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.MemoryStream V_0, + class NAnt.Core.Tasks.ExecTask V_1, + class [mscorlib]System.IO.StreamReader V_2, + string V_3, + string V_4, + class [mscorlib]System.Exception V_5, + class [mscorlib]System.IO.StreamReader V_6, + string V_7) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance class NAnt.Core.Tasks.ExecTask class NAnt.Core.Functions.PkgConfigFunctions::GetTask(class [mscorlib]System.IO.Stream) + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0015: ldarg.1 + IL_0016: callvirt instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) + .try { // 0 + IL_001b: nop + IL_001c: ldloc.1 + IL_001d: callvirt instance void class NAnt.Core.Task::Execute() + IL_0022: ldloc.0 + IL_0023: ldc.i4.0 + IL_0024: conv.i8 + IL_0025: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_002a: ldloc.0 + IL_002b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_0030: stloc.2 + IL_0031: ldloc.2 + IL_0032: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0037: stloc.3 + IL_0038: ldloc.2 + IL_0039: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_003e: ldloc.3 + IL_003f: stloc.s 4 + IL_0041: leave IL_0083 + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0046: stloc.s 5 + IL_0048: nop + IL_0049: ldloc.0 + IL_004a: ldc.i4.0 + IL_004b: conv.i8 + IL_004c: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_0051: ldloc.0 + IL_0052: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_0057: stloc.s 6 + IL_0059: ldloc.s 6 + IL_005b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0060: stloc.s 7 + IL_0062: ldloc.s 6 + IL_0064: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_0069: ldloc.s 7 + IL_006b: callvirt instance int32 string::get_Length() + IL_0070: brfalse IL_0080 + + IL_0075: nop + IL_0076: ldloc.s 7 + IL_0078: ldloc.s 5 + IL_007a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) + IL_007f: throw + IL_0080: nop + IL_0081: rethrow + } // end handler 0 + IL_0083: ldloc.s 4 + IL_0085: ret + } // end of method PkgConfigFunctions::RunPkgConfigString + + // method line 631 + .method private hidebysig + instance default class NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed + { + // Method begins at RVA 0x11110 + // Code size 83 (0x53) + .maxstack 3 + .locals init ( + class NAnt.Core.Tasks.ExecTask V_0, + class [mscorlib]System.IO.TextWriter V_1, + class NAnt.Core.Tasks.ExecTask V_2) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.Tasks.ExecTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_000e: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_001a: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_001f: ldloc.0 + IL_0020: ldstr "pkg-config" + IL_0025: callvirt instance void class NAnt.Core.Tasks.ExecTask::set_FileName(string) + IL_002a: ldloc.0 + IL_002b: ldc.i4 9999 + IL_0030: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) + IL_0035: ldloc.0 + IL_0036: ldarg.1 + IL_0037: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream) + IL_003c: stloc.1 + IL_003d: ldloc.0 + IL_003e: ldloc.1 + IL_003f: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_OutputWriter(class [mscorlib]System.IO.TextWriter) + IL_0044: ldloc.1 + IL_0045: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_ErrorWriter(class [mscorlib]System.IO.TextWriter) + IL_004a: ldloc.0 + IL_004b: stloc.2 + IL_004c: br IL_0051 + + IL_0051: ldloc.2 + IL_0052: ret + } // end of method PkgConfigFunctions::GetTask + + } // end of class NAnt.Core.Functions.PkgConfigFunctions } .namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit PathFunctions + .class public auto ansi beforefieldinit EnvironmentFunctions extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 70 61 74 68 04 50 61 74 68 00 00 ) // ...path.Path.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 0B 45 // ...environment.E + 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // nvironment.. - // method line 875 + // method line 632 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xd70d + // Method begins at RVA 0x1116f // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -24983,26671 +26258,23627 @@ IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) IL_0008: nop IL_0009: ret - } // end of method PathFunctions::.ctor - - // method line 876 - .method public hidebysig - instance default string GetFullPath (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 70 61 74 68 // ...get-full-path - 00 00 ) // .. - - // Method begins at RVA 0xd718 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PathFunctions::GetFullPath + } // end of method EnvironmentFunctions::.ctor - // method line 877 + // method line 633 .method public static hidebysig - default string Combine (string path1, string path2) cil managed + default string GetFolderPath (valuetype [mscorlib]System.Environment/SpecialFolder folder) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 63 6F 6D 62 69 6E 65 00 00 ) // ...combine.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 66 6F 6C 64 65 72 2D 70 61 // ...get-folder-pa + 74 68 00 00 ) // th.. - // Method begins at RVA 0xd73c - // Code size 16 (0x10) - .maxstack 2 + // Method begins at RVA 0x1117c + // Code size 15 (0xf) + .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0002: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PathFunctions::Combine + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentFunctions::GetFolderPath - // method line 878 + // method line 634 .method public static hidebysig - default string ChangeExtension (string path, string extension) cil managed + default string GetMachineName () cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 63 68 61 6E 67 65 2D 65 78 74 65 6E 73 // ...change-extens - 69 6F 6E 00 00 ) // ion.. + 01 00 10 67 65 74 2D 6D 61 63 68 69 6E 65 2D 6E // ...get-machine-n + 61 6D 65 00 00 ) // ame.. - // Method begins at RVA 0xd758 - // Code size 16 (0x10) - .maxstack 2 + // Method begins at RVA 0x11198 + // Code size 14 (0xe) + .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: call string class [mscorlib]System.Environment::get_MachineName() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PathFunctions::ChangeExtension + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetMachineName - // method line 879 + // method line 635 .method public static hidebysig - default string GetDirectoryName (string path) cil managed + default class [mscorlib]System.OperatingSystem GetOperatingSystem () cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 64 69 72 65 63 74 6F 72 79 // ...get-directory - 2D 6E 61 6D 65 00 00 ) // -name.. + 01 00 14 67 65 74 2D 6F 70 65 72 61 74 69 6E 67 // ...get-operating + 2D 73 79 73 74 65 6D 00 00 ) // -system.. - // Method begins at RVA 0xd774 - // Code size 22 (0x16) + // Method begins at RVA 0x111b4 + // Code size 14 (0xe) .maxstack 1 .locals init ( - string V_0, - string V_1) + class [mscorlib]System.OperatingSystem V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_000e: stloc.1 - IL_000f: br IL_0014 + IL_0001: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0014: ldloc.1 - IL_0015: ret - } // end of method PathFunctions::GetDirectoryName + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetOperatingSystem - // method line 880 + // method line 636 .method public static hidebysig - default string GetExtension (string path) cil managed + default string GetUserName () cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 65 78 74 65 6E 73 69 6F 6E // ...get-extension + 01 00 0D 67 65 74 2D 75 73 65 72 2D 6E 61 6D 65 // ...get-user-name 00 00 ) // .. - // Method begins at RVA 0xd798 - // Code size 15 (0xf) + // Method begins at RVA 0x111d0 + // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call string class [mscorlib]System.Environment::get_UserName() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PathFunctions::GetExtension + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetUserName - // method line 881 + // method line 637 .method public static hidebysig - default string GetFileName (string path) cil managed + default string GetVariable (string name) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 66 69 6C 65 2D 6E 61 6D 65 // ...get-file-name - 00 00 ) // .. + 01 00 0C 67 65 74 2D 76 61 72 69 61 62 6C 65 00 // ...get-variable. + 00 ) // . - // Method begins at RVA 0xd7b4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x111ec + // Code size 54 (0x36) + .maxstack 3 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call bool class NAnt.Core.Functions.EnvironmentFunctions::VariableExists(string) + IL_0007: brtrue IL_0028 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PathFunctions::GetFileName + IL_000c: nop + IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0012: ldstr "NA1095" + IL_0017: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001c: ldarg.0 + IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0022: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0027: throw + IL_0028: ldarg.0 + IL_0029: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_002e: stloc.0 + IL_002f: br IL_0034 - // method line 882 + IL_0034: ldloc.0 + IL_0035: ret + } // end of method EnvironmentFunctions::GetVariable + + // method line 638 .method public static hidebysig - default string GetFileNameWithoutExtension (string path) cil managed + default bool VariableExists (string name) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 1F 67 65 74 2D 66 69 6C 65 2D 6E 61 6D 65 // ...get-file-name - 2D 77 69 74 68 6F 75 74 2D 65 78 74 65 6E 73 69 // -without-extensi - 6F 6E 00 00 ) // on.. + 01 00 0F 76 61 72 69 61 62 6C 65 2D 65 78 69 73 // ...variable-exis + 74 73 00 00 ) // ts.. - // Method begins at RVA 0xd7d0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x11230 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_0007: ldnull + IL_0008: ceq + IL_000a: ldc.i4.0 + IL_000b: ceq + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PathFunctions::GetFileNameWithoutExtension + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentFunctions::VariableExists - // method line 883 + // method line 639 .method public static hidebysig - default string GetPathRoot (string path) cil managed + default class [mscorlib]System.Version GetVersion () cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 70 61 74 68 2D 72 6F 6F 74 // ...get-path-root - 00 00 ) // .. + 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. - // Method begins at RVA 0xd7ec - // Code size 22 (0x16) + // Method begins at RVA 0x11254 + // Code size 14 (0xe) .maxstack 1 .locals init ( - string V_0, - string V_1) + class [mscorlib]System.Version V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetPathRoot(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_000e: stloc.1 - IL_000f: br IL_0014 + IL_0001: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0014: ldloc.1 - IL_0015: ret - } // end of method PathFunctions::GetPathRoot + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetVersion - // method line 884 + // method line 640 .method public static hidebysig - default string GetTempFileName () cil managed + default string NewLine () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 74 65 6D 70 2D 66 69 6C 65 // ...get-temp-file - 2D 6E 61 6D 65 00 00 ) // -name.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 6E 65 77 6C 69 6E 65 00 00 ) // ...newline.. - // Method begins at RVA 0xd810 + // Method begins at RVA 0x11270 // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0001: call string class [mscorlib]System.Environment::get_NewLine() IL_0006: stloc.0 IL_0007: br IL_000c IL_000c: ldloc.0 IL_000d: ret - } // end of method PathFunctions::GetTempFileName + } // end of method EnvironmentFunctions::NewLine - // method line 885 + } // end of class NAnt.Core.Functions.EnvironmentFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit AssemblyNameFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 0C 61 73 73 65 6D 62 6C 79 6E 61 6D 65 08 // ...assemblyname. + 41 73 73 65 6D 62 6C 79 00 00 ) // Assembly.. + + + // method line 641 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x1128a + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method AssemblyNameFunctions::.ctor + + // method line 642 .method public static hidebysig - default string GetTempPath () cil managed + default string GetCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 74 65 6D 70 2D 70 61 74 68 // ...get-temp-path - 00 00 ) // .. + 01 00 0C 67 65 74 2D 63 6F 64 65 62 61 73 65 00 // ...get-codebase. + 00 ) // . - // Method begins at RVA 0xd82c - // Code size 14 (0xe) + // Method begins at RVA 0x11298 + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Path::GetTempPath() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_CodeBase() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PathFunctions::GetTempPath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyNameFunctions::GetCodeBase - // method line 886 + // method line 643 .method public static hidebysig - default bool HasExtension (string path) cil managed + default string GetEscapedCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 68 61 73 2D 65 78 74 65 6E 73 69 6F 6E // ...has-extension - 00 00 ) // .. + 01 00 14 67 65 74 2D 65 73 63 61 70 65 64 2D 63 // ...get-escaped-c + 6F 64 65 62 61 73 65 00 00 ) // odebase.. - // Method begins at RVA 0xd848 + // Method begins at RVA 0x112b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Path::HasExtension(string) + IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_EscapedCodeBase() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathFunctions::HasExtension + } // end of method AssemblyNameFunctions::GetEscapedCodeBase - // method line 887 + // method line 644 .method public static hidebysig - default bool IsPathRooted (string path) cil managed + default string GetFullName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0E 69 73 2D 70 61 74 68 2D 72 6F 6F 74 65 // ...is-path-roote - 64 00 00 ) // d.. + 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 6E 61 6D 65 // ...get-full-name + 00 00 ) // .. - // Method begins at RVA 0xd864 + // Method begins at RVA 0x112d0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathFunctions::IsPathRooted - - } // end of class NAnt.Core.Functions.PathFunctions -} - -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit DirectoryName - extends NAnt.Core.Configuration.ConditionalElement - { - .field private string _name + } // end of method AssemblyNameFunctions::GetFullName - // method line 888 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 645 + .method public static hidebysig + default string GetName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - // Method begins at RVA 0xda1b - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Configuration.ConditionalElement::'.ctor'() - IL_0006: ret - } // end of method DirectoryName::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - // method line 889 - .method public hidebysig specialname - instance default string get_DirName () cil managed - { - // Method begins at RVA 0xda24 + // Method begins at RVA 0x112ec // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Configuration.DirectoryName::_name + IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DirectoryName::get_DirName + } // end of method AssemblyNameFunctions::GetName - // method line 890 - .method public hidebysig specialname - instance default void set_DirName (string 'value') cil managed + // method line 646 + .method public static hidebysig + default class [mscorlib]System.Version GetVersion (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - // Method begins at RVA 0xda3f - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. + + // Method begins at RVA 0x11308 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Configuration.DirectoryName::_name - IL_0008: ret - } // end of method DirectoryName::set_DirName + IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance string DirName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyNameFunctions::GetVersion - .get instance default string NAnt.Core.Configuration.DirectoryName::get_DirName () - .set instance default void NAnt.Core.Configuration.DirectoryName::set_DirName (string 'value') - } - } // end of class NAnt.Core.Configuration.DirectoryName + // method line 647 + .method public hidebysig + instance default class [mscorlib]System.Reflection.AssemblyName GetAssemblyName (string assemblyFile) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 61 73 73 65 6D 62 6C 79 2D // ...get-assembly- + 6E 61 6D 65 00 00 ) // name.. + + // Method begins at RVA 0x11324 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class [mscorlib]System.Reflection.AssemblyName V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 + + IL_0018: ldloc.0 + IL_0019: ret + } // end of method AssemblyNameFunctions::GetAssemblyName + + } // end of class NAnt.Core.Functions.AssemblyNameFunctions } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Functions { - .class private auto ansi serializable beforefieldinit RuntimeEngine - extends NAnt.Core.Element + .class public auto ansi beforefieldinit TimeSpanFunctions + extends NAnt.Core.FunctionSetBase { - .field private class [mscorlib]System.IO.FileInfo _program - .field private class NAnt.Core.Types.ArgumentCollection _arguments + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 74 69 6D 65 73 70 61 6E 09 44 61 74 65 // ...timespan.Date + 2F 54 69 6D 65 00 00 ) // /Time.. - // method line 891 + + // method line 648 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xda49 - // Code size 18 (0x12) + // Method begins at RVA 0x1134a + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.ArgumentCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Element::'.ctor'() - IL_0011: ret - } // end of method RuntimeEngine::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method TimeSpanFunctions::.ctor - // method line 892 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Program () cil managed + // method line 649 + .method public static hidebysig + default float64 GetTotalDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xda5c - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 67 65 74 2D 74 6F 74 61 6C 2D 64 61 79 // ...get-total-day + 73 00 00 ) // s.. + + // Method begins at RVA 0x11358 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + float64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalDays() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RuntimeEngine::get_Program + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalDays - // method line 893 - .method public hidebysig specialname - instance default void set_Program (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 650 + .method public static hidebysig + default float64 GetTotalHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xda77 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program - IL_0008: ret - } // end of method RuntimeEngine::set_Program + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 74 6F 74 61 6C 2D 68 6F 75 // ...get-total-hou + 72 73 00 00 ) // rs.. - // method line 894 - .method public hidebysig specialname - instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed - { - // Method begins at RVA 0xda84 - // Code size 15 (0xf) + // Method begins at RVA 0x11374 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Types.ArgumentCollection V_0) + float64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalHours() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RuntimeEngine::get_Arguments + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalHours - // method line 895 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 651 + .method public static hidebysig + default float64 GetTotalMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xdaa0 - // Code size 73 (0x49) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.Element::Initialize() - IL_0007: ldarg.0 - IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_000d: ldnull - IL_000e: ceq - IL_0010: ldc.i4.0 - IL_0011: ceq - IL_0013: ldarg.0 - IL_0014: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_0019: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001e: ldc.i4.0 - IL_001f: ceq - IL_0021: and - IL_0022: brfalse IL_0048 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6E // ...get-total-min + 75 74 65 73 00 00 ) // utes.. - IL_0027: nop - IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002d: ldstr "Runtime engine '{0}' does not exist." - IL_0032: ldarg.0 - IL_0033: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_0038: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0042: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0047: throw - IL_0048: ret - } // end of method RuntimeEngine::Initialize + // Method begins at RVA 0x11390 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + float64 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMinutes() + IL_0008: stloc.0 + IL_0009: br IL_000e - .property instance class [mscorlib]System.IO.FileInfo Program () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 70 72 6F 67 72 61 6D 01 00 54 02 08 52 // ...program..T..R - 65 71 75 69 72 65 64 01 ) // equired. + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalMinutes - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::get_Program () - .set instance default void NAnt.Core.Configuration.RuntimeEngine::set_Program (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class NAnt.Core.Types.ArgumentCollection Arguments () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + // method line 652 + .method public static hidebysig + default float64 GetTotalSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 73 65 63 // ...get-total-sec + 6F 6E 64 73 00 00 ) // onds.. - .get instance default class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::get_Arguments () - } - } // end of class NAnt.Core.Configuration.RuntimeEngine -} + // Method begins at RVA 0x113ac + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + float64 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() + IL_0008: stloc.0 + IL_0009: br IL_000e -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit ManagedExecutionModes - extends NAnt.Core.Element - { - .field private class NAnt.Core.Configuration.ManagedExecutionMode _autoMode - .field private class NAnt.Core.Configuration.ManagedExecutionMode _strictMode + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalSeconds - // method line 896 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 653 + .method public static hidebysig + default float64 GetTotalMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xdaf5 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method ManagedExecutionModes::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 16 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6C // ...get-total-mil + 6C 69 73 65 63 6F 6E 64 73 00 00 ) // liseconds.. - // method line 897 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Auto () cil managed - { - // Method begins at RVA 0xdb00 - // Code size 15 (0xf) + // Method begins at RVA 0x113c8 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + float64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMilliseconds() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionModes::get_Auto + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalMilliseconds - // method line 898 - .method public hidebysig specialname - instance default void set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed + // method line 654 + .method public static hidebysig + default int32 GetDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xdb1b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode - IL_0008: ret - } // end of method ManagedExecutionModes::set_Auto + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 64 61 79 73 00 00 ) // ...get-days.. - // method line 899 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Strict () cil managed - { - // Method begins at RVA 0xdb28 - // Code size 15 (0xf) + // Method begins at RVA 0x113e4 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Days() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionModes::get_Strict + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetDays - // method line 900 - .method public hidebysig specialname - instance default void set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed + // method line 655 + .method public static hidebysig + default int32 GetHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xdb43 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode - IL_0008: ret - } // end of method ManagedExecutionModes::set_Strict + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 68 6F 75 72 73 00 00 ) // ...get-hours.. - // method line 901 - .method public hidebysig - instance default class NAnt.Core.Configuration.ManagedExecutionMode GetExecutionMode (valuetype NAnt.Core.Types.ManagedExecution 'managed') cil managed - { - // Method begins at RVA 0xdb50 - // Code size 86 (0x56) + // Method begins at RVA 0x11400 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: switch ( - IL_0018, - IL_001f, - IL_002b) - IL_0013: br IL_004e + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Hours() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0018: ldnull - IL_0019: stloc.0 - IL_001a: br IL_0054 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetHours - IL_001f: ldarg.0 - IL_0020: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() - IL_0025: stloc.0 - IL_0026: br IL_0054 + // method line 656 + .method public static hidebysig + default int32 GetMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 67 65 74 2D 6D 69 6E 75 74 65 73 00 00 ) // ...get-minutes.. - IL_002b: ldarg.0 - IL_002c: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() - IL_0031: brfalse IL_0042 + // Method begins at RVA 0x1141c + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Minutes() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() - IL_003c: stloc.0 - IL_003d: br IL_0054 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetMinutes - IL_0042: ldarg.0 - IL_0043: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() - IL_0048: stloc.0 - IL_0049: br IL_0054 + // method line 657 + .method public static hidebysig + default int32 GetSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 67 65 74 2D 73 65 63 6F 6E 64 73 00 00 ) // ...get-seconds.. - IL_004e: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'() - IL_0053: throw - IL_0054: ldloc.0 - IL_0055: ret - } // end of method ManagedExecutionModes::GetExecutionMode + // Method begins at RVA 0x11438 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Seconds() + IL_0008: stloc.0 + IL_0009: br IL_000e - .property instance class NAnt.Core.Configuration.ManagedExecutionMode Auto () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 61 75 74 6F 00 00 ) // ...auto.. + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetSeconds - .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Auto () - .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') - } - .property instance class NAnt.Core.Configuration.ManagedExecutionMode Strict () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 73 74 72 69 63 74 00 00 ) // ...strict.. + // method line 658 + .method public static hidebysig + default int32 GetMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 67 65 74 2D 6D 69 6C 6C 69 73 65 63 6F // ...get-milliseco + 6E 64 73 00 00 ) // nds.. - .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Strict () - .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') - } - } // end of class NAnt.Core.Configuration.ManagedExecutionModes -} + // Method begins at RVA 0x11454 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Milliseconds() + IL_0008: stloc.0 + IL_0009: br IL_000e -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit ConditionalElement - extends NAnt.Core.Element - { - .field private bool _ifDefined - .field private bool _unlessDefined + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetMilliseconds - // method line 902 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 659 + .method public static hidebysig + default int64 GetTicks (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xd87f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method ConditionalElement::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 74 69 63 6B 73 00 00 ) // ...get-ticks.. - // method line 903 - .method family virtual hidebysig - instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed - { - // Method begins at RVA 0xd890 - // Code size 25 (0x19) - .maxstack 4 + // Method begins at RVA 0x11470 + // Code size 16 (0x10) + .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator V_0) + int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance void class NAnt.Core.Element::set_XmlNode(class [System.Xml]System.Xml.XmlNode) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: ldarg.3 - IL_000c: newobj instance void class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::'.ctor'(class NAnt.Core.Configuration.ConditionalElement, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() - IL_0018: ret - } // end of method ConditionalElement::InitializeXml + IL_0001: ldarga.s 0 + IL_0003: call instance int64 valuetype [mscorlib]System.TimeSpan::get_Ticks() + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 904 - .method family hidebysig specialname - instance default bool get_IfDefined () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTicks + + // method line 660 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromDays (float64 'value') cil managed { - // Method begins at RVA 0xd8b8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 66 72 6F 6D 2D 64 61 79 73 00 00 ) // ...from-days.. + + // Method begins at RVA 0x1148c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromDays(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConditionalElement::get_IfDefined + } // end of method TimeSpanFunctions::FromDays - // method line 905 - .method family hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 661 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromHours (float64 'value') cil managed { - // Method begins at RVA 0xd8d3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined - IL_0008: ret - } // end of method ConditionalElement::set_IfDefined + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 66 72 6F 6D 2D 68 6F 75 72 73 00 00 ) // ...from-hours.. - // method line 906 - .method family hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // Method begins at RVA 0x114a8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.TimeSpan V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromHours(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromHours + + // method line 662 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromMinutes (float64 'value') cil managed { - // Method begins at RVA 0xd8e0 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 66 72 6F 6D 2D 6D 69 6E 75 74 65 73 00 // ...from-minutes. + 00 ) // . + + // Method begins at RVA 0x114c4 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMinutes(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConditionalElement::get_UnlessDefined + } // end of method TimeSpanFunctions::FromMinutes - // method line 907 - .method family hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 663 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromSeconds (float64 'value') cil managed { - // Method begins at RVA 0xd8fb - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 66 72 6F 6D 2D 73 65 63 6F 6E 64 73 00 // ...from-seconds. + 00 ) // . + + // Method begins at RVA 0x114e0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined - IL_0008: ret - } // end of method ConditionalElement::set_UnlessDefined + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromSeconds(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 908 - .method assembly hidebysig specialname - instance default bool get_Enabled () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromSeconds + + // method line 664 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromMilliseconds (float64 'value') cil managed { - // Method begins at RVA 0xd908 - // Code size 32 (0x20) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 66 72 6F 6D 2D 6D 69 6C 6C 69 73 65 63 // ...from-millisec + 6F 6E 64 73 00 00 ) // onds.. + + // Method begins at RVA 0x114fc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() - IL_0007: brfalse IL_0017 + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMilliseconds(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() - IL_0012: ldc.i4.0 - IL_0013: ceq - IL_0015: br.s IL_0018 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromMilliseconds - IL_0017: ldc.i4.0 - IL_0018: stloc.0 - IL_0019: br IL_001e + // method line 665 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromTicks (int64 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 66 72 6F 6D 2D 74 69 63 6B 73 00 00 ) // ...from-ticks.. - IL_001e: ldloc.0 - IL_001f: ret - } // end of method ConditionalElement::get_Enabled + // Method begins at RVA 0x11518 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.TimeSpan V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromTicks(int64) + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromTicks - .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_IfDefined () - .set instance default void NAnt.Core.Configuration.ConditionalElement::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + } // end of class NAnt.Core.Functions.TimeSpanFunctions +} - .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined () - .set instance default void NAnt.Core.Configuration.ConditionalElement::set_UnlessDefined (bool 'value') - } - .property instance bool Enabled () - { - .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_Enabled () - } - .class nested private auto ansi beforefieldinit ConditionalConfigurator - extends NAnt.Core.Element/AttributeConfigurator +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit TimeSpanConversionFunctions + extends NAnt.Core.FunctionSetBase { - .field private initonly bool _enabled + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 74 69 6D 65 73 70 61 6E 0A 43 6F 6E 76 // ...timespan.Conv + 65 72 73 69 6F 6E 00 00 ) // ersion.. - // method line 909 + + // method line 666 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Configuration.ConditionalElement element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xd934 - // Code size 148 (0x94) - .maxstack 5 - .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Reflection.PropertyInfo V_1, - class [mscorlib]System.Reflection.PropertyInfo V_2) + // Method begins at RVA 0x11533 + // Code size 10 (0xa) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: ldarg.s 4 - IL_000d: call instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0012: nop - IL_0013: ldarg.1 - IL_0014: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0019: stloc.0 - IL_001a: ldloc.0 - IL_001b: ldstr "IfDefined" - IL_0020: ldc.i4.s 0x24 - IL_0022: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0027: stloc.1 - IL_0028: ldarg.0 - IL_0029: ldloc.1 - IL_002a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_002f: pop - IL_0030: ldarg.1 - IL_0031: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() - IL_0036: brtrue IL_0049 - - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: ldc.i4.0 - IL_003e: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0043: nop - IL_0044: br IL_0070 - - IL_0049: nop - IL_004a: ldloc.0 - IL_004b: ldstr "UnlessDefined" - IL_0050: ldc.i4.s 0x24 - IL_0052: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0057: stloc.2 - IL_0058: ldarg.0 - IL_0059: ldloc.2 - IL_005a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_005f: pop - IL_0060: ldarg.0 - IL_0061: ldarg.1 - IL_0062: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() - IL_0067: ldc.i4.0 - IL_0068: ceq - IL_006a: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_006f: nop - IL_0070: ldarg.0 - IL_0071: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0076: brtrue IL_0093 - - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() - IL_0082: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0087: ldarg.0 - IL_0088: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_008d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0092: nop - IL_0093: ret - } // end of method ConditionalConfigurator::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method TimeSpanConversionFunctions::.ctor - // method line 910 - .method family virtual hidebysig - instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + // method line 667 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan Parse (string s) cil managed { - // Method begins at RVA 0xd9d4 - // Code size 34 (0x22) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x11540 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0007: brtrue IL_0013 - - IL_000c: ldc.i4.1 - IL_000d: stloc.0 - IL_000e: br IL_0020 - - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: call instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_001a: stloc.0 - IL_001b: br IL_0020 + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::Parse(string) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0020: ldloc.0 - IL_0021: ret - } // end of method ConditionalConfigurator::InitializeAttribute + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanConversionFunctions::Parse - // method line 911 - .method family virtual hidebysig - instance default void InitializeOrderedChildElements () cil managed + // method line 668 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0xda02 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0007: brtrue IL_0011 - - IL_000c: br IL_0017 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - IL_0011: ldarg.0 - IL_0012: call instance void class NAnt.Core.Element/AttributeConfigurator::InitializeOrderedChildElements() - IL_0017: ret - } // end of method ConditionalConfigurator::InitializeOrderedChildElements + // Method begins at RVA 0x1155c + // Code size 22 (0x16) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: constrained. [mscorlib]System.TimeSpan + IL_0009: callvirt instance string object::ToString() + IL_000e: stloc.0 + IL_000f: br IL_0014 - } // end of class ConditionalConfigurator + IL_0014: ldloc.0 + IL_0015: ret + } // end of method TimeSpanConversionFunctions::ToString - } // end of class NAnt.Core.Configuration.ConditionalElement + } // end of class NAnt.Core.Functions.TimeSpanConversionFunctions } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Functions { - .class private auto ansi serializable beforefieldinit DirList - extends NAnt.Core.Element + .class public auto ansi beforefieldinit DoubleConversionFunctions + extends NAnt.Core.FunctionSetBase { - .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory - .field private class NAnt.Core.Configuration.DirectoryName[] _directoryNames + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 06 64 6F 75 62 6C 65 0A 43 6F 6E 76 65 72 // ...double.Conver + 73 69 6F 6E 00 00 ) // sion.. - // method line 912 + + // method line 669 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xdbb2 - // Code size 7 (0x7) + // Method begins at RVA 0x1157e + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method DirList::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DoubleConversionFunctions::.ctor - // method line 913 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + // method line 670 + .method public static hidebysig + default float64 Parse (string s) cil managed { - // Method begins at RVA 0xdbbc - // Code size 49 (0x31) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x1158c + // Code size 20 (0x14) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory - IL_0007: brtrue IL_0023 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: call float64 float64::Parse(string, class [mscorlib]System.IFormatProvider) + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0013: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001d: stloc.0 - IL_001e: br IL_002f + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DoubleConversionFunctions::Parse - IL_0023: ldarg.0 - IL_0024: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory - IL_0029: stloc.0 - IL_002a: br IL_002f + // method line 671 + .method public static hidebysig + default string ToString (float64 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - IL_002f: ldloc.0 - IL_0030: ret - } // end of method DirList::get_Directory + // Method begins at RVA 0x115ac + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string float64::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 914 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DoubleConversionFunctions::ToString + + } // end of class NAnt.Core.Functions.DoubleConversionFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit StringFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 06 73 74 72 69 6E 67 06 53 74 72 69 6E 67 // ...string.String + 00 00 ) // .. + + + // method line 672 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary propDict) cil managed { - // Method begins at RVA 0xdbf9 - // Code size 9 (0x9) + // Method begins at RVA 0x115cd + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory - IL_0008: ret - } // end of method DirList::set_Directory + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method StringFunctions::.ctor - // method line 915 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.DirectoryName[] get_DirectoryNames () cil managed + // method line 673 + .method public static hidebysig + default int32 GetLength (string s) cil managed { - // Method begins at RVA 0xdc04 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6C 65 6E 67 74 68 00 00 ) // ...get-length.. + + // Method begins at RVA 0x115d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.DirectoryName[] V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames + IL_0002: callvirt instance int32 string::get_Length() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DirList::get_DirectoryNames + } // end of method StringFunctions::GetLength - // method line 916 - .method public hidebysig specialname - instance default void set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') cil managed + // method line 674 + .method public static hidebysig + default string Substring (string str, int32 startIndex, int32 length) cil managed { - // Method begins at RVA 0xdc1f - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 73 75 62 73 74 72 69 6E 67 00 00 ) // ...substring.. + + // Method begins at RVA 0x115f4 + // Code size 17 (0x11) + .maxstack 3 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0008: ret - } // end of method DirList::set_DirectoryNames + IL_0003: ldarg.2 + IL_0004: callvirt instance string string::Substring(int32, int32) + IL_0009: stloc.0 + IL_000a: br IL_000f - // method line 917 - .method public hidebysig - instance default string[] GetDirectories () cil managed + IL_000f: ldloc.0 + IL_0010: ret + } // end of method StringFunctions::Substring + + // method line 675 + .method public static hidebysig + default bool StartsWith (string s1, string s2) cil managed { - // Method begins at RVA 0xdc2c - // Code size 28 (0x1c) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 73 74 61 72 74 73 2D 77 69 74 68 00 00 ) // ...starts-with.. + + // Method begins at RVA 0x11614 + // Code size 26 (0x1a) + .maxstack 3 .locals init ( - string V_0, - string[] V_1) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Configuration.DirList::get_Directory() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: ldloc.0 - IL_000f: call instance string[] class NAnt.Core.Configuration.DirList::GetDirectories(string) - IL_0014: stloc.1 - IL_0015: br IL_001a + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_001a: ldloc.1 - IL_001b: ret - } // end of method DirList::GetDirectories + IL_0018: ldloc.0 + IL_0019: ret + } // end of method StringFunctions::StartsWith - // method line 918 - .method assembly hidebysig - instance default string[] GetDirectories (string baseDir) cil managed + // method line 676 + .method public static hidebysig + default bool EndsWith (string s1, string s2) cil managed { - // Method begins at RVA 0xdc54 - // Code size 116 (0x74) - .maxstack 4 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 65 6E 64 73 2D 77 69 74 68 00 00 ) // ...ends-with.. + + // Method begins at RVA 0x1163c + // Code size 26 (0x1a) + .maxstack 3 .locals init ( - string[] V_0, - string[] V_1, - int32 V_2, - class NAnt.Core.Configuration.DirectoryName V_3) + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0012 - - IL_0007: ldstr "baseDir" - IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0011: throw - IL_0012: ldarg.0 - IL_0013: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0018: brtrue IL_002a - - IL_001d: nop - IL_001e: ldc.i4.0 - IL_001f: newarr [mscorlib]System.String - IL_0024: stloc.0 - IL_0025: br IL_0072 - - IL_002a: ldarg.0 - IL_002b: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0030: ldlen - IL_0031: conv.i4 - IL_0032: newarr [mscorlib]System.String - IL_0037: stloc.1 - IL_0038: ldc.i4.0 - IL_0039: stloc.2 - IL_003a: br IL_005d + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsSuffix(string, string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_003f: nop - IL_0040: ldarg.0 - IL_0041: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0046: ldloc.2 - IL_0047: ldelem.ref - IL_0048: stloc.3 - IL_0049: ldloc.1 - IL_004a: ldloc.2 - IL_004b: ldarg.1 - IL_004c: ldloc.3 - IL_004d: callvirt instance string class NAnt.Core.Configuration.DirectoryName::get_DirName() - IL_0052: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0057: stelem.ref - IL_0058: nop - IL_0059: ldloc.2 - IL_005a: ldc.i4.1 - IL_005b: add - IL_005c: stloc.2 - IL_005d: ldloc.2 - IL_005e: ldarg.0 - IL_005f: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0064: ldlen - IL_0065: conv.i4 - IL_0066: blt IL_003f + IL_0018: ldloc.0 + IL_0019: ret + } // end of method StringFunctions::EndsWith - IL_006b: ldloc.1 - IL_006c: stloc.0 - IL_006d: br IL_0072 + // method line 677 + .method public static hidebysig + default string ToLower (string s) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 6F 2D 6C 6F 77 65 72 00 00 ) // ...to-lower.. - IL_0072: ldloc.0 - IL_0073: ret - } // end of method DirList::GetDirectories + // Method begins at RVA 0x11664 + // Code size 20 (0x14) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 + IL_000d: br IL_0012 - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method StringFunctions::ToLower - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::get_Directory () - .set instance default void NAnt.Core.Configuration.DirList::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.Core.Configuration.DirectoryName[] DirectoryNames () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 09 64 69 72 65 63 74 6F 72 79 00 00 ) // ...directory.. + // method line 678 + .method public static hidebysig + default string ToUpper (string s) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 6F 2D 75 70 70 65 72 00 00 ) // ...to-upper.. - .get instance default class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::get_DirectoryNames () - .set instance default void NAnt.Core.Configuration.DirList::set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') - } - } // end of class NAnt.Core.Configuration.DirList -} + // Method begins at RVA 0x11684 + // Code size 20 (0x14) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 + IL_000d: br IL_0012 -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit Runtime - extends NAnt.Core.Element - { - .field private class NAnt.Core.Configuration.ManagedExecutionModes _modes - .field private class NAnt.Core.Configuration.DirList _probingPaths + IL_0012: ldloc.0 + IL_0013: ret + } // end of method StringFunctions::ToUpper - // method line 919 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 679 + .method public static hidebysig + default string Replace (string str, string oldValue, string newValue) cil managed { - // Method begins at RVA 0xdcd4 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Configuration.ManagedExecutionModes::'.ctor'() - IL_0006: stfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.Core.Configuration.DirList::'.ctor'() - IL_0011: stfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths - IL_0016: ldarg.0 - IL_0017: call instance void class NAnt.Core.Element::'.ctor'() - IL_001c: ret - } // end of method Runtime::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 72 65 70 6C 61 63 65 00 00 ) // ...replace.. - // method line 920 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.DirList get_ProbingPaths () cil managed - { - // Method begins at RVA 0xdcf4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x116a4 + // Code size 17 (0x11) + .maxstack 3 .locals init ( - class NAnt.Core.Configuration.DirList V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: callvirt instance string string::Replace(string, string) + IL_0009: stloc.0 + IL_000a: br IL_000f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Runtime::get_ProbingPaths + IL_000f: ldloc.0 + IL_0010: ret + } // end of method StringFunctions::Replace - // method line 921 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionModes get_Modes () cil managed + // method line 680 + .method public static hidebysig + default bool Contains (string source, string 'value') cil managed { - // Method begins at RVA 0xdd10 - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 63 6F 6E 74 61 69 6E 73 00 00 ) // ...contains.. + + // Method begins at RVA 0x116c4 + // Code size 33 (0x21) + .maxstack 4 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionModes V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Runtime::get_Modes + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldc.i4.0 + IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::IndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0013: ldc.i4.0 + IL_0014: clt + IL_0016: ldc.i4.0 + IL_0017: ceq + IL_0019: stloc.0 + IL_001a: br IL_001f - .property instance class NAnt.Core.Configuration.DirList ProbingPaths () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0D 70 72 6F 62 69 6E 67 2D 70 61 74 68 73 // ...probing-paths - 00 00 ) // .. + IL_001f: ldloc.0 + IL_0020: ret + } // end of method StringFunctions::Contains - .get instance default class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::get_ProbingPaths () - } - .property instance class NAnt.Core.Configuration.ManagedExecutionModes Modes () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 6D 6F 64 65 73 00 00 ) // ...modes.. + // method line 681 + .method public static hidebysig + default int32 IndexOf (string source, string 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 69 6E 64 65 78 2D 6F 66 00 00 ) // ...index-of.. - .get instance default class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::get_Modes () - } - } // end of class NAnt.Core.Configuration.Runtime -} + // Method begins at RVA 0x116f4 + // Code size 27 (0x1b) + .maxstack 4 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldc.i4.0 + IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::IndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0013: stloc.0 + IL_0014: br IL_0019 -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit ManagedExecutionMode - extends NAnt.Core.Element - { - .field private class NAnt.Core.Configuration.RuntimeEngine _engine - .field private class NAnt.Core.Types.EnvironmentSet _environmentSet + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringFunctions::IndexOf - // method line 922 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 682 + .method public static hidebysig + default int32 LastIndexOf (string source, string 'value') cil managed { - // Method begins at RVA 0xdd2b - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 6C 61 73 74 2D 69 6E 64 65 78 2D 6F 66 // ...last-index-of + 00 00 ) // .. + + // Method begins at RVA 0x1171c + // Code size 27 (0x1b) + .maxstack 4 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Element::'.ctor'() - IL_0011: ret - } // end of method ManagedExecutionMode::.ctor + IL_000c: ldarg.1 + IL_000d: ldc.i4.0 + IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::LastIndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0013: stloc.0 + IL_0014: br IL_0019 - // method line 923 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.RuntimeEngine get_Engine () cil managed + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringFunctions::LastIndexOf + + // method line 683 + .method public static hidebysig + default string PadLeft (string s, int32 totalWidth, string paddingChar) cil managed { - // Method begins at RVA 0xdd40 - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 70 61 64 2D 6C 65 66 74 00 00 ) // ...pad-left.. + + // Method begins at RVA 0x11744 + // Code size 23 (0x17) + .maxstack 4 .locals init ( - class NAnt.Core.Configuration.RuntimeEngine V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldc.i4.0 + IL_0005: callvirt instance char string::get_Chars(int32) + IL_000a: callvirt instance string string::PadLeft(int32, char) + IL_000f: stloc.0 + IL_0010: br IL_0015 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionMode::get_Engine + IL_0015: ldloc.0 + IL_0016: ret + } // end of method StringFunctions::PadLeft - // method line 924 - .method public hidebysig specialname - instance default void set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') cil managed + // method line 684 + .method public static hidebysig + default string PadRight (string s, int32 totalWidth, string paddingChar) cil managed { - // Method begins at RVA 0xdd5b - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 70 61 64 2D 72 69 67 68 74 00 00 ) // ...pad-right.. + + // Method begins at RVA 0x11768 + // Code size 23 (0x17) + .maxstack 4 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine - IL_0008: ret - } // end of method ManagedExecutionMode::set_Engine + IL_0003: ldarg.2 + IL_0004: ldc.i4.0 + IL_0005: callvirt instance char string::get_Chars(int32) + IL_000a: callvirt instance string string::PadRight(int32, char) + IL_000f: stloc.0 + IL_0010: br IL_0015 - // method line 925 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentSet get_Environment () cil managed + IL_0015: ldloc.0 + IL_0016: ret + } // end of method StringFunctions::PadRight + + // method line 685 + .method public static hidebysig + default string Trim (string s) cil managed { - // Method begins at RVA 0xdd68 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 74 72 69 6D 00 00 ) // ...trim.. + + // Method begins at RVA 0x1178c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.EnvironmentSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet + IL_0002: callvirt instance string string::Trim() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedExecutionMode::get_Environment - - .property instance class NAnt.Core.Configuration.RuntimeEngine Engine () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 65 6E 67 69 6E 65 00 00 ) // ...engine.. - - .get instance default class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::get_Engine () - .set instance default void NAnt.Core.Configuration.ManagedExecutionMode::set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') - } - .property instance class NAnt.Core.Types.EnvironmentSet Environment () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. - - .get instance default class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::get_Environment () - } - } // end of class NAnt.Core.Configuration.ManagedExecutionMode -} - -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit FailTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 66 61 69 6C 00 00 ) // ...fail.. - - .field private string _message - .field private string _contents + } // end of method StringFunctions::Trim - // method line 926 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 686 + .method public static hidebysig + default string TrimStart (string s) cil managed { - // Method begins at RVA 0xe56e - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method FailTask::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 74 72 69 6D 2D 73 74 61 72 74 00 00 ) // ...trim-start.. - // method line 927 - .method public hidebysig specialname - instance default string get_Message () cil managed - { - // Method begins at RVA 0xe578 + // Method begins at RVA 0x117a8 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.FailTask::_message + IL_0002: callvirt instance string [mscorlib]System.String::TrimStart() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FailTask::get_Message + } // end of method StringFunctions::TrimStart - // method line 928 - .method public hidebysig specialname - instance default void set_Message (string 'value') cil managed + // method line 687 + .method public static hidebysig + default string TrimEnd (string s) cil managed { - // Method begins at RVA 0xe594 - // Code size 72 (0x48) - .maxstack 2 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_003e - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance string class NAnt.Core.Tasks.FailTask::get_Contents() - IL_0013: call bool string::IsNullOrEmpty(string) - IL_0018: brtrue IL_002f - - IL_001d: nop - IL_001e: ldstr "Inline content and the message attribute are mutually exclusive in the task." - IL_0023: ldarg.0 - IL_0024: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0029: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) - IL_002e: throw - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldarg.1 - IL_0032: stfld string NAnt.Core.Tasks.FailTask::_message - IL_0037: nop - IL_0038: nop - IL_0039: br IL_0047 - - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: ldnull - IL_0041: stfld string NAnt.Core.Tasks.FailTask::_message - IL_0046: nop - IL_0047: ret - } // end of method FailTask::set_Message + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 72 69 6D 2D 65 6E 64 00 00 ) // ...trim-end.. - // method line 929 - .method public hidebysig specialname - instance default string get_Contents () cil managed - { - // Method begins at RVA 0xe5e8 + // Method begins at RVA 0x117c4 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.FailTask::_contents + IL_0002: callvirt instance string [mscorlib]System.String::TrimEnd() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FailTask::get_Contents + } // end of method StringFunctions::TrimEnd - // method line 930 - .method public hidebysig specialname - instance default void set_Contents (string 'value') cil managed - { - // Method begins at RVA 0xe604 - // Code size 72 (0x48) - .maxstack 2 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_003e + } // end of class NAnt.Core.Functions.StringFunctions +} - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance string class NAnt.Core.Tasks.FailTask::get_Message() - IL_0013: call bool string::IsNullOrEmpty(string) - IL_0018: brtrue IL_002f +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit NAntFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 6E 61 6E 74 04 4E 41 6E 74 00 00 ) // ...nant.NAnt.. - IL_001d: nop - IL_001e: ldstr "Inline content and the message attribute are mutually exclusive in the task." - IL_0023: ldarg.0 - IL_0024: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0029: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) - IL_002e: throw - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldarg.1 - IL_0032: stfld string NAnt.Core.Tasks.FailTask::_contents - IL_0037: nop - IL_0038: nop - IL_0039: br IL_0047 - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: ldnull - IL_0041: stfld string NAnt.Core.Tasks.FailTask::_contents - IL_0046: nop - IL_0047: ret - } // end of method FailTask::set_Contents + // method line 688 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x117df + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method NAntFunctions::.ctor - // method line 931 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 689 + .method public hidebysig + instance default string GetBaseDirectory () cil managed { - // Method begins at RVA 0xe658 - // Code size 82 (0x52) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 62 61 73 65 2D 64 69 72 65 // ...get-base-dire + 63 74 6F 72 79 00 00 ) // ctory.. + + // Method begins at RVA 0x117ec + // Code size 19 (0x13) + .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.Tasks.FailTask::get_Message() - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: brtrue IL_001f + IL_0001: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0006: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() + IL_000b: stloc.0 + IL_000c: br IL_0011 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance string class NAnt.Core.Tasks.FailTask::get_Message() - IL_0018: stloc.0 - IL_0019: nop - IL_001a: br IL_0045 + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntFunctions::GetBaseDirectory - IL_001f: ldarg.0 - IL_0020: call instance string class NAnt.Core.Tasks.FailTask::get_Contents() - IL_0025: call bool string::IsNullOrEmpty(string) - IL_002a: brtrue IL_003d + // method line 690 + .method public hidebysig + instance default class [mscorlib]System.Reflection.Assembly GetAssembly () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 61 73 73 65 6D 62 6C 79 00 // ...get-assembly. + 00 ) // . - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: call instance string class NAnt.Core.Tasks.FailTask::get_Contents() - IL_0036: stloc.0 - IL_0037: nop - IL_0038: br IL_0045 + // Method begins at RVA 0x1180c + // Code size 50 (0x32) + .maxstack 2 + .locals init ( + class [mscorlib]System.Reflection.Assembly V_0, + class [mscorlib]System.Reflection.Assembly V_1) + IL_0000: nop + IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_000d: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_0012: ldstr "NAnt" + IL_0017: call bool string::op_Inequality(string, string) + IL_001c: brfalse IL_0029 - IL_003d: nop - IL_003e: ldstr "No message." - IL_0043: stloc.0 - IL_0044: nop - IL_0045: ldloc.0 - IL_0046: ldarg.0 - IL_0047: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_004c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0051: throw - } // end of method FailTask::ExecuteTask + IL_0021: nop + IL_0022: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0027: stloc.0 + IL_0028: nop + IL_0029: ldloc.0 + IL_002a: stloc.1 + IL_002b: br IL_0030 - // method line 932 - .method family virtual hidebysig - instance default void Initialize () cil managed + IL_0030: ldloc.1 + IL_0031: ret + } // end of method NAntFunctions::GetAssembly + + // method line 691 + .method public hidebysig + instance default string ScanProbingPaths (string fileName) cil managed { - // Method begins at RVA 0xe6b6 - // Code size 36 (0x24) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 73 63 61 6E 2D 70 72 6F 62 69 6E 67 2D // ...scan-probing- + 70 61 74 68 73 00 00 ) // paths.. + + .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ + + // Method begins at RVA 0x1184c + // Code size 92 (0x5c) + .maxstack 3 + .locals init ( + string V_0, + class NAnt.Core.FrameworkInfo V_1, + string[] V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0008: ldarg.0 - IL_0009: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() - IL_000e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_0013: ldarg.0 - IL_0014: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0019: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) - IL_001e: call instance void class NAnt.Core.Tasks.FailTask::set_Contents(string) - IL_0023: ret - } // end of method FailTask::Initialize + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0015: brfalse IL_0036 - .property instance string Message () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. + IL_001a: nop + IL_001b: ldloc.1 + IL_001c: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0021: callvirt instance class NAnt.Core.Configuration.DirList class NAnt.Core.Configuration.Runtime::get_ProbingPaths() + IL_0026: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories() + IL_002b: stloc.2 + IL_002c: ldloc.2 + IL_002d: ldarg.1 + IL_002e: ldc.i4.1 + IL_002f: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) + IL_0034: stloc.0 + IL_0035: nop + IL_0036: ldloc.0 + IL_0037: brtrue IL_0053 - .get instance default string NAnt.Core.Tasks.FailTask::get_Message () - .set instance default void NAnt.Core.Tasks.FailTask::set_Message (string 'value') - } - .property instance string Contents () - { - .get instance default string NAnt.Core.Tasks.FailTask::get_Contents () - .set instance default void NAnt.Core.Tasks.FailTask::set_Contents (string 'value') - } - } // end of class NAnt.Core.Tasks.FailTask + IL_003c: nop + IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0042: ldstr "\"{0}\" could not be found in any of the configured probing paths." + IL_0047: ldarg.1 + IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004d: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) + IL_0052: throw + IL_0053: ldloc.0 + IL_0054: stloc.3 + IL_0055: br IL_005a + + IL_005a: ldloc.3 + IL_005b: ret + } // end of method NAntFunctions::ScanProbingPaths + + // method line 692 + .method public hidebysig + instance default string ScanProbingPaths (string baseDirectory, string fileName) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 73 63 61 6E 2D 70 72 6F 62 69 6E 67 2D // ...scan-probing- + 70 61 74 68 73 00 00 ) // paths.. + + .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ + + // Method begins at RVA 0x118b4 + // Code size 93 (0x5d) + .maxstack 3 + .locals init ( + string V_0, + class NAnt.Core.FrameworkInfo V_1, + string[] V_2, + string V_3) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0015: brfalse IL_0037 + + IL_001a: nop + IL_001b: ldloc.1 + IL_001c: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0021: callvirt instance class NAnt.Core.Configuration.DirList class NAnt.Core.Configuration.Runtime::get_ProbingPaths() + IL_0026: ldarg.1 + IL_0027: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories(string) + IL_002c: stloc.2 + IL_002d: ldloc.2 + IL_002e: ldarg.2 + IL_002f: ldc.i4.1 + IL_0030: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) + IL_0035: stloc.0 + IL_0036: nop + IL_0037: ldloc.0 + IL_0038: brtrue IL_0054 + + IL_003d: nop + IL_003e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0043: ldstr "\"{0}\" could not be found in any of the configured probing paths." + IL_0048: ldarg.2 + IL_0049: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004e: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) + IL_0053: throw + IL_0054: ldloc.0 + IL_0055: stloc.3 + IL_0056: br IL_005b + + IL_005b: ldloc.3 + IL_005c: ret + } // end of method NAntFunctions::ScanProbingPaths + + } // end of class NAnt.Core.Functions.NAntFunctions } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit SysInfoTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit ProjectFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 73 79 73 69 6E 66 6F 00 00 ) // ...sysinfo.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 70 72 6F 6A 65 63 74 04 4E 41 6E 74 00 // ...project.NAnt. + 00 ) // . - .field private string _prefix - // method line 933 + // method line 693 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xe6db - // Code size 18 (0x12) + // Method begins at RVA 0x1191d + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldstr "sys." - IL_0006: stfld string NAnt.Core.Tasks.SysInfoTask::_prefix - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method SysInfoTask::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method ProjectFunctions::.ctor - // method line 934 - .method public hidebysig specialname - instance default string get_Prefix () cil managed + // method line 694 + .method public hidebysig + instance default string GetName () cil managed { - // Method begins at RVA 0xe6f0 - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. + + // Method begins at RVA 0x11928 + // Code size 25 (0x19) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.SysInfoTask::_prefix - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_ProjectName() + IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SysInfoTask::get_Prefix + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetName - // method line 935 - .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed + // method line 695 + .method public hidebysig + instance default string GetBuildFileUri () cil managed { - // Method begins at RVA 0xe70b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.SysInfoTask::_prefix - IL_0008: ret - } // end of method SysInfoTask::set_Prefix + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 62 75 69 6C 64 66 69 6C 65 // ...get-buildfile + 2D 75 72 69 00 00 ) // -uri.. - // method line 936 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0xe718 - // Code size 788 (0x314) - .maxstack 7 + // Method begins at RVA 0x11950 + // Code size 59 (0x3b) + .maxstack 2 .locals init ( - valuetype [mscorlib]System.PlatformID V_0, - class [mscorlib]System.Collections.IDictionary V_1, - string V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - class [mscorlib]System.Exception V_4, - class [mscorlib]System.IDisposable V_5, - valuetype [mscorlib]System.Collections.DictionaryEntry V_6, - class [mscorlib]System.Collections.IDictionaryEnumerator V_7, - string V_8, - class [mscorlib]System.IDisposable V_9) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 3000 - IL_0007: ldstr "Setting system information properties under " - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_0012: ldstr "*" - IL_0017: call string string::Concat(string, string, string) - IL_001c: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0021: ldarg.0 - IL_0022: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0027: ldarg.0 - IL_0028: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_002d: ldstr "clr.version" - IL_0032: call string string::Concat(string, string) - IL_0037: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() - IL_003c: callvirt instance string object::ToString() - IL_0041: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0046: ldarg.0 - IL_0047: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_004c: ldarg.0 - IL_004d: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_0052: ldstr "os.platform" - IL_0057: call string string::Concat(string, string) - IL_005c: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_0061: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() - IL_0066: stloc.0 - IL_0067: ldloca.s 0 - IL_0069: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006e: constrained. [mscorlib]System.PlatformID - IL_0074: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) - IL_0079: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_007e: ldarg.0 - IL_007f: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0084: ldarg.0 - IL_0085: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_008a: ldstr "os.version" - IL_008f: call string string::Concat(string, string) - IL_0094: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_0099: callvirt instance class [mscorlib]System.Version class [mscorlib]System.OperatingSystem::get_Version() - IL_009e: callvirt instance string object::ToString() - IL_00a3: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00a8: ldarg.0 - IL_00a9: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00ae: ldarg.0 - IL_00af: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_00b4: ldstr "os.folder.applicationdata" - IL_00b9: call string string::Concat(string, string) - IL_00be: ldc.i4.s 0x1a - IL_00c0: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_00c5: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00ca: ldarg.0 - IL_00cb: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00d0: ldarg.0 - IL_00d1: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_00d6: ldstr "os.folder.commonapplicationData" - IL_00db: call string string::Concat(string, string) - IL_00e0: ldc.i4.s 0x23 - IL_00e2: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_00e7: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00ec: ldarg.0 - IL_00ed: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00f2: ldarg.0 - IL_00f3: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_00f8: ldstr "os.folder.commonprogramFiles" - IL_00fd: call string string::Concat(string, string) - IL_0102: ldc.i4.s 0x2b - IL_0104: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_0109: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_010e: ldarg.0 - IL_010f: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0114: ldarg.0 - IL_0115: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_011a: ldstr "os.folder.desktopdirectory" - IL_011f: call string string::Concat(string, string) - IL_0124: ldc.i4.s 0x10 - IL_0126: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_012b: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0130: ldarg.0 - IL_0131: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0136: ldarg.0 - IL_0137: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_013c: ldstr "os.folder.programfiles" - IL_0141: call string string::Concat(string, string) - IL_0146: ldc.i4.s 0x26 - IL_0148: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_014d: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0152: ldarg.0 - IL_0153: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0158: ldarg.0 - IL_0159: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_015e: ldstr "os.folder.system" - IL_0163: call string string::Concat(string, string) - IL_0168: ldc.i4.s 0x25 - IL_016a: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_016f: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0174: ldarg.0 - IL_0175: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_017a: ldarg.0 - IL_017b: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_0180: ldstr "os.folder.temp" - IL_0185: call string string::Concat(string, string) - IL_018a: call string class [mscorlib]System.IO.Path::GetTempPath() - IL_018f: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0194: ldarg.0 - IL_0195: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_019a: ldarg.0 - IL_019b: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_01a0: ldstr "os" - IL_01a5: call string string::Concat(string, string) - IL_01aa: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_01af: callvirt instance string object::ToString() - IL_01b4: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_01b9: call class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Environment::GetEnvironmentVariables() - IL_01be: stloc.1 - IL_01bf: nop - IL_01c0: ldloc.1 - IL_01c1: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.IDictionary::get_Keys() - IL_01c6: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_01cb: stloc.3 - .try { // 1 - IL_01cc: br IL_0250 - - IL_01d1: ldloc.3 - IL_01d2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01d7: castclass [mscorlib]System.String - IL_01dc: stloc.2 - IL_01dd: nop - .try { // 0 - IL_01de: nop - IL_01df: ldarg.0 - IL_01e0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_01e5: ldarg.0 - IL_01e6: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_01eb: ldstr "env." - IL_01f0: ldloc.2 - IL_01f1: call string string::Concat(string, string, string) - IL_01f6: ldloc.1 - IL_01f7: ldloc.2 - IL_01f8: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) - IL_01fd: castclass [mscorlib]System.String - IL_0202: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0207: nop - IL_0208: leave IL_024f + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_000c: ldnull + IL_000d: call bool class [System]System.Uri::op_Inequality(class [System]System.Uri, class [System]System.Uri) + IL_0012: brfalse IL_002e - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_020d: stloc.s 4 - IL_020f: nop - IL_0210: ldarg.0 - IL_0211: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0216: brtrue IL_0246 + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_001e: callvirt instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_0023: callvirt instance string object::ToString() + IL_0028: stloc.0 + IL_0029: br IL_0039 - IL_021b: nop - IL_021c: ldarg.0 - IL_021d: ldc.i4 4000 - IL_0222: ldstr "Property could not be created for environment variable '{0}' : {1}" - IL_0227: ldc.i4.2 - IL_0228: newarr [mscorlib]System.Object - IL_022d: dup - IL_022e: ldc.i4.0 - IL_022f: ldloc.2 - IL_0230: stelem.ref - IL_0231: dup - IL_0232: ldc.i4.1 - IL_0233: ldloc.s 4 - IL_0235: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_023a: stelem.ref - IL_023b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0240: nop - IL_0241: br IL_0249 + IL_002e: ldsfld string [mscorlib]System.String::Empty + IL_0033: stloc.0 + IL_0034: br IL_0039 - IL_0246: nop - IL_0247: rethrow - IL_0249: nop - IL_024a: leave IL_024f + IL_0039: ldloc.0 + IL_003a: ret + } // end of method ProjectFunctions::GetBuildFileUri - } // end handler 0 - IL_024f: nop - IL_0250: ldloc.3 - IL_0251: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0256: brtrue IL_01d1 + // method line 696 + .method public hidebysig + instance default string GetBuildFilePath () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 62 75 69 6C 64 66 69 6C 65 // ...get-buildfile + 2D 70 61 74 68 00 00 ) // -path.. - IL_025b: leave IL_0276 + // Method begins at RVA 0x11998 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_BuildFileLocalName() + IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - } // end .try 1 - finally { // 1 - IL_0260: ldloc.3 - IL_0261: isinst [mscorlib]System.IDisposable - IL_0266: dup - IL_0267: stloc.s 5 - IL_0269: brfalse IL_0275 - - IL_026e: ldloc.s 5 - IL_0270: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0275: endfinally - } // end handler 1 - IL_0276: ldarg.0 - IL_0277: callvirt instance bool class NAnt.Core.Task::get_Verbose() - IL_027c: brfalse IL_0313 - - IL_0281: nop - IL_0282: nop - IL_0283: ldarg.0 - IL_0284: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0289: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.DictionaryBase::GetEnumerator() - IL_028e: stloc.s 7 - .try { // 2 - IL_0290: br IL_02ea + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetBuildFilePath - IL_0295: ldloc.s 7 - IL_0297: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_029c: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_02a1: stloc.s 6 - IL_02a3: nop - IL_02a4: ldloca.s 6 - IL_02a6: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_02ab: castclass [mscorlib]System.String - IL_02b0: stloc.s 8 - IL_02b2: ldloc.s 8 - IL_02b4: ldarg.0 - IL_02b5: call instance string class NAnt.Core.Tasks.SysInfoTask::get_Prefix() - IL_02ba: callvirt instance bool string::StartsWith(string) - IL_02bf: brfalse IL_02e9 + // method line 697 + .method public hidebysig + instance default string GetDefaultTarget () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 64 65 66 61 75 6C 74 2D 74 // ...get-default-t + 61 72 67 65 74 00 00 ) // arget.. - IL_02c4: nop - IL_02c5: ldarg.0 - IL_02c6: ldc.i4 3000 - IL_02cb: ldloc.s 8 - IL_02cd: ldstr " = " - IL_02d2: ldloca.s 6 - IL_02d4: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_02d9: callvirt instance string object::ToString() - IL_02de: call string string::Concat(string, string, string) - IL_02e3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_02e8: nop - IL_02e9: nop - IL_02ea: ldloc.s 7 - IL_02ec: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02f1: brtrue IL_0295 + // Method begins at RVA 0x119c0 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_DefaultTargetName() + IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_02f6: leave IL_0312 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetDefaultTarget - } // end .try 2 - finally { // 2 - IL_02fb: ldloc.s 7 - IL_02fd: isinst [mscorlib]System.IDisposable - IL_0302: dup - IL_0303: stloc.s 9 - IL_0305: brfalse IL_0311 + // method line 698 + .method public hidebysig + instance default string GetBaseDirectory () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 62 61 73 65 2D 64 69 72 65 // ...get-base-dire + 63 74 6F 72 79 00 00 ) // ctory.. - IL_030a: ldloc.s 9 - IL_030c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0311: endfinally - } // end handler 2 - IL_0312: nop - IL_0313: ret - } // end of method SysInfoTask::ExecuteTask + // Method begins at RVA 0x119e8 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .property instance string Prefix () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re - 71 75 69 72 65 64 00 ) // quired. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectFunctions::GetBaseDirectory - .get instance default string NAnt.Core.Tasks.SysInfoTask::get_Prefix () - .set instance default void NAnt.Core.Tasks.SysInfoTask::set_Prefix (string 'value') - } - } // end of class NAnt.Core.Tasks.SysInfoTask + } // end of class NAnt.Core.Functions.ProjectFunctions } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit GetTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit TargetFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 67 65 74 00 00 ) // ...get.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 06 74 61 72 67 65 74 04 4E 41 6E 74 00 00 ) // ...target.NAnt.. - .field private string _src - .field private class [mscorlib]System.IO.FileInfo _destFile - .field private string _httpProxy - .field private class NAnt.Core.Types.Proxy _proxy - .field private int32 _timeout - .field private bool _useTimeStamp - .field private class NAnt.Core.Types.Credential _credentials - .field private class NAnt.Core.Types.FileSet _certificates - // method line 937 + // method line 699 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xea60 - // Code size 29 (0x1d) + // Method begins at RVA 0x11a08 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4 100000 - IL_0006: stfld int32 NAnt.Core.Tasks.GetTask::_timeout - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0011: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::_certificates - IL_0016: ldarg.0 - IL_0017: call instance void class NAnt.Core.Task::'.ctor'() - IL_001c: ret - } // end of method GetTask::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method TargetFunctions::.ctor - // method line 938 - .method public hidebysig specialname - instance default string get_Source () cil managed + // method line 700 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0xea80 - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + + // Method begins at RVA 0x11a14 + // Code size 32 (0x20) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.GetTask::_src - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() + IL_000c: ldarg.1 + IL_000d: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_0012: ldnull + IL_0013: ceq + IL_0015: ldc.i4.0 + IL_0016: ceq + IL_0018: stloc.0 + IL_0019: br IL_001e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Source + IL_001e: ldloc.0 + IL_001f: ret + } // end of method TargetFunctions::Exists - // method line 939 - .method public hidebysig specialname - instance default void set_Source (string 'value') cil managed + // method line 701 + .method public hidebysig + instance default string GetCurrentTarget () cil managed { - // Method begins at RVA 0xea9b - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.GetTask::_src - IL_000d: ret - } // end of method GetTask::set_Source + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 63 75 72 72 65 6E 74 2D 74 // ...get-current-t + 61 72 67 65 74 00 00 ) // arget.. - // method line 940 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestinationFile () cil managed - { - // Method begins at RVA 0xeaac - // Code size 15 (0xf) + // Method begins at RVA 0x11a40 + // Code size 45 (0x2d) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Target V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.GetTask::_destFile - IL_0007: stloc.0 - IL_0008: br IL_000d - + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.Target class NAnt.Core.Project::get_CurrentTarget() + IL_000c: stloc.0 IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_DestinationFile + IL_000e: brtrue IL_001f - // method line 941 - .method public hidebysig specialname - instance default void set_DestinationFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0xeac7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.GetTask::_destFile - IL_0008: ret - } // end of method GetTask::set_DestinationFile + IL_0013: nop + IL_0014: ldstr "No target is being executed." + IL_0019: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) + IL_001e: throw + IL_001f: ldloc.0 + IL_0020: callvirt instance string class NAnt.Core.Target::get_Name() + IL_0025: stloc.1 + IL_0026: br IL_002b - // method line 942 - .method public hidebysig specialname - instance default string get_HttpProxy () cil managed + IL_002b: ldloc.1 + IL_002c: ret + } // end of method TargetFunctions::GetCurrentTarget + + // method line 702 + .method public hidebysig + instance default bool HasExecuted (string name) cil managed { - // Method begins at RVA 0xead4 - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 68 61 73 2D 65 78 65 63 75 74 65 64 00 // ...has-executed. + 00 ) // . + + // Method begins at RVA 0x11a7c + // Code size 67 (0x43) + .maxstack 3 .locals init ( - string V_0) + class NAnt.Core.Target V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.GetTask::_httpProxy - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() + IL_000c: ldarg.1 + IL_000d: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: brtrue IL_0035 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_HttpProxy + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "NA1097" + IL_0024: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0029: ldarg.1 + IL_002a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0034: throw + IL_0035: ldloc.0 + IL_0036: callvirt instance bool class NAnt.Core.Target::get_Executed() + IL_003b: stloc.1 + IL_003c: br IL_0041 - // method line 943 - .method public hidebysig specialname - instance default void set_HttpProxy (string 'value') cil managed + IL_0041: ldloc.1 + IL_0042: ret + } // end of method TargetFunctions::HasExecuted + + } // end of class NAnt.Core.Functions.TargetFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit TaskFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 74 61 73 6B 04 4E 41 6E 74 00 00 ) // ...task.NAnt.. + + + // method line 703 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xeaef - // Code size 9 (0x9) + // Method begins at RVA 0x11acb + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.GetTask::_httpProxy - IL_0008: ret - } // end of method GetTask::set_HttpProxy + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method TaskFunctions::.ctor - // method line 944 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Proxy get_Proxy () cil managed + // method line 704 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0xeafc - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + + // Method begins at RVA 0x11ad8 + // Code size 20 (0x14) + .maxstack 2 .locals init ( - class NAnt.Core.Types.Proxy V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.GetTask::_proxy - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0006: ldarg.1 + IL_0007: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Proxy + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TaskFunctions::Exists - // method line 945 - .method public hidebysig specialname - instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') cil managed + // method line 705 + .method public hidebysig + instance default class [mscorlib]System.Reflection.Assembly GetAssembly (string name) cil managed { - // Method begins at RVA 0xeb17 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.GetTask::_proxy - IL_0008: ret - } // end of method GetTask::set_Proxy + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 61 73 73 65 6D 62 6C 79 00 // ...get-assembly. + 00 ) // . - // method line 946 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Credential get_Credentials () cil managed - { - // Method begins at RVA 0xeb24 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x11af8 + // Code size 61 (0x3d) + .maxstack 3 .locals init ( - class NAnt.Core.Types.Credential V_0) + class NAnt.Core.TaskBuilder V_0, + class [mscorlib]System.Reflection.Assembly V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.Credential NAnt.Core.Tasks.GetTask::_credentials - IL_0007: stloc.0 - IL_0008: br IL_000d - + IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0006: ldarg.1 + IL_0007: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) + IL_000c: stloc.0 IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Credentials + IL_000e: brtrue IL_002f - // method line 947 - .method public hidebysig specialname - instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed + IL_0013: nop + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: ldstr "NA1099" + IL_001e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0023: ldarg.1 + IL_0024: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0029: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_002e: throw + IL_002f: ldloc.0 + IL_0030: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_0035: stloc.1 + IL_0036: br IL_003b + + IL_003b: ldloc.1 + IL_003c: ret + } // end of method TaskFunctions::GetAssembly + + } // end of class NAnt.Core.Functions.TaskFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit PropertyFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 04 4E 41 6E 74 // ...property.NAnt + 00 00 ) // .. + + + // method line 706 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xeb3f - // Code size 9 (0x9) + // Method begins at RVA 0x11b41 + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.Credential NAnt.Core.Tasks.GetTask::_credentials - IL_0008: ret - } // end of method GetTask::set_Credentials + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method PropertyFunctions::.ctor - // method line 948 - .method public hidebysig specialname - instance default bool get_IgnoreErrors () cil managed + // method line 707 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0xeb4c - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + + // Method begins at RVA 0x11b4c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_IgnoreErrors + IL_0018: ldloc.0 + IL_0019: ret + } // end of method PropertyFunctions::Exists - // method line 949 - .method public hidebysig specialname - instance default void set_IgnoreErrors (bool 'value') cil managed + // method line 708 + .method public hidebysig + instance default bool IsReadOnly (string name) cil managed { - // Method begins at RVA 0xeb67 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Task::set_FailOnError(bool) - IL_0008: ret - } // end of method GetTask::set_IgnoreErrors + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 69 73 2D 72 65 61 64 6F 6E 6C 79 00 00 ) // ...is-readonly.. - // method line 950 - .method public hidebysig specialname - instance default bool get_UseTimeStamp () cil managed - { - // Method begins at RVA 0xeb74 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x11b74 + // Code size 76 (0x4c) + .maxstack 3 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.GetTask::_useTimeStamp - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0012: brtrue IL_0033 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_UseTimeStamp + IL_0017: nop + IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001d: ldstr "NA1053" + IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0027: ldarg.1 + IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0032: throw + IL_0033: ldarg.0 + IL_0034: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0039: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_003e: ldarg.1 + IL_003f: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_0044: stloc.0 + IL_0045: br IL_004a - // method line 951 - .method public hidebysig specialname - instance default void set_UseTimeStamp (bool 'value') cil managed + IL_004a: ldloc.0 + IL_004b: ret + } // end of method PropertyFunctions::IsReadOnly + + // method line 709 + .method public hidebysig + instance default bool IsDynamic (string name) cil managed { - // Method begins at RVA 0xeb8f - // Code size 9 (0x9) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 69 73 2D 64 79 6E 61 6D 69 63 00 00 ) // ...is-dynamic.. + + // Method begins at RVA 0x11bcc + // Code size 76 (0x4c) + .maxstack 3 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0012: brtrue IL_0033 + + IL_0017: nop + IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001d: ldstr "NA1053" + IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0027: ldarg.1 + IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0032: throw + IL_0033: ldarg.0 + IL_0034: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0039: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_003e: ldarg.1 + IL_003f: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) + IL_0044: stloc.0 + IL_0045: br IL_004a + + IL_004a: ldloc.0 + IL_004b: ret + } // end of method PropertyFunctions::IsDynamic + + } // end of class NAnt.Core.Functions.PropertyFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit PlatformFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 70 6C 61 74 66 6F 72 6D 04 4E 41 6E 74 // ...platform.NAnt + 00 00 ) // .. + + + // method line 710 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x11c24 + // Code size 10 (0xa) .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method PlatformFunctions::.ctor + + // method line 711 + .method public hidebysig + instance default string GetName () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. + + // Method begins at RVA 0x11c30 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.GetTask::_useTimeStamp - IL_0008: ret - } // end of method GetTask::set_UseTimeStamp + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_PlatformName() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 952 - .method public hidebysig specialname - instance default int32 get_Timeout () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PlatformFunctions::GetName + + // method line 712 + .method public static hidebysig + default bool IsWin32 () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 69 73 2D 77 69 6E 33 32 00 00 ) // ...is-win32.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 24 55 73 65 20 74 68 65 20 69 73 2D 77 69 // ..$Use the is-wi + 6E 64 6F 77 73 20 66 75 6E 63 74 69 6F 6E 20 69 // ndows function i + 6E 73 74 65 61 64 2E 00 00 ) // nstead... + + // Method begins at RVA 0x11c50 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsWin32 + + // method line 713 + .method public static hidebysig + default bool IsWindows () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 69 73 2D 77 69 6E 64 6F 77 73 00 00 ) // ...is-windows.. + + // Method begins at RVA 0x11c6c + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsWindows + + // method line 714 + .method public static hidebysig + default bool IsUnix () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 69 73 2D 75 6E 69 78 00 00 ) // ...is-unix.. + + // Method begins at RVA 0x11c88 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsUnix + + } // end of class NAnt.Core.Functions.PlatformFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit MathFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 6D 61 74 68 04 4D 61 74 68 00 00 ) // ...math.Math.. + + + // method line 715 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x11ca2 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method MathFunctions::.ctor + + // method line 716 + .method public static hidebysig + default float64 Round (float64 'value') cil managed { - // Method begins at RVA 0xeb9c + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 72 6F 75 6E 64 00 00 ) // ...round.. + + // Method begins at RVA 0x11cb0 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.GetTask::_timeout + IL_0002: call float64 class [mscorlib]System.Math::Round(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method GetTask::get_Timeout + } // end of method MathFunctions::Round - // method line 953 - .method public hidebysig specialname - instance default void set_Timeout (int32 'value') cil managed + // method line 717 + .method public static hidebysig + default float64 Floor (float64 'value') cil managed { - // Method begins at RVA 0xebb7 - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 66 6C 6F 6F 72 00 00 ) // ...floor.. + + // Method begins at RVA 0x11ccc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.GetTask::_timeout - IL_0008: ret - } // end of method GetTask::set_Timeout + IL_0002: call float64 class [mscorlib]System.Math::Floor(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 954 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Certificates () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MathFunctions::Floor + + // method line 718 + .method public static hidebysig + default float64 Ceiling (float64 'value') cil managed { - // Method begins at RVA 0xebc4 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 63 65 69 6C 69 6E 67 00 00 ) // ...ceiling.. + + // Method begins at RVA 0x11ce8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::_certificates + IL_0002: call float64 class [mscorlib]System.Math::Ceiling(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method GetTask::get_Certificates + } // end of method MathFunctions::Ceiling - // method line 955 - .method public hidebysig specialname - instance default void set_Certificates (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 719 + .method public static hidebysig + default float64 Abs (float64 'value') cil managed { - // Method begins at RVA 0xebdf - // Code size 9 (0x9) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 61 62 73 00 00 ) // ...abs.. + + // Method begins at RVA 0x11d04 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + float64 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call float64 class [mscorlib]System.Math::Abs(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MathFunctions::Abs + + } // end of class NAnt.Core.Functions.MathFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit BooleanConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 04 62 6F 6F 6C 0A 43 6F 6E 76 65 72 73 69 // ...bool.Conversi + 6F 6E 00 00 ) // on.. + + + // method line 720 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x11d1f + // Code size 10 (0xa) .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method BooleanConversionFunctions::.ctor + + // method line 721 + .method public static hidebysig + default bool Parse (string s) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x11d2c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::_certificates - IL_0008: ret - } // end of method GetTask::set_Certificates + IL_0002: call bool bool::Parse(string) + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 956 - .method family virtual hidebysig - instance default void Initialize () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BooleanConversionFunctions::Parse + + // method line 722 + .method public static hidebysig + default string ToString (bool 'value') cil managed { - // Method begins at RVA 0xebec - // Code size 116 (0x74) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + + // Method begins at RVA 0x11d48 + // Code size 21 (0x15) .maxstack 2 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brfalse IL_004b + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string bool::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0011: ldarg.0 - IL_0012: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001c: call valuetype [mscorlib]System.IO.FileAttributes class [mscorlib]System.IO.File::GetAttributes(string) - IL_0021: ldc.i4.1 - IL_0022: and - IL_0023: ldc.i4.1 - IL_0024: bne.un IL_004b + IL_0013: ldloc.0 + IL_0014: ret + } // end of method BooleanConversionFunctions::ToString - IL_0029: nop - IL_002a: ldstr "Destination file '{0}' is read-only." - IL_002f: ldarg.0 - IL_0030: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0035: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003a: call string string::Format(string, object) - IL_003f: ldarg.0 - IL_0040: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0045: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_004a: throw - IL_004b: ldarg.0 - IL_004c: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.GetTask::get_Proxy() - IL_0051: brfalse IL_0073 + } // end of class NAnt.Core.Functions.BooleanConversionFunctions +} - IL_0056: ldarg.0 - IL_0057: call instance string class NAnt.Core.Tasks.GetTask::get_HttpProxy() - IL_005c: brfalse IL_0073 +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit FileFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 66 69 6C 65 04 46 69 6C 65 00 00 ) // ...file.File.. - IL_0061: nop - IL_0062: ldstr "The child element and the 'httpproxy' attribute are mutually exclusive." - IL_0067: ldarg.0 - IL_0068: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_006d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0072: throw - IL_0073: ret - } // end of method GetTask::Initialize - // method line 957 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 723 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xec6c - // Code size 989 (0x3dd) + // Method begins at RVA 0x11d69 + // Code size 10 (0xa) .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method FileFunctions::.ctor + + // method line 724 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 63 72 65 61 74 69 6F 6E 2D // ...get-creation- + 74 69 6D 65 00 00 ) // time.. + + // Method begins at RVA 0x11d74 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - valuetype [mscorlib]System.DateTime V_0, - class [System]System.Net.WebRequest V_1, - class [System]System.Net.WebResponse V_2, - class [mscorlib]System.IO.Stream V_3, - int32 V_4, - class [mscorlib]System.IO.IOException V_5, - class [mscorlib]System.IO.BinaryWriter V_6, - int32 V_7, - unsigned int8[] V_8, - int32 V_9, - int32 V_10, - int32 V_11, - class [System]System.Net.HttpWebResponse V_12, - valuetype [mscorlib]System.DateTime V_13, - class [System]System.Net.WebException V_14, - class [System]System.Net.HttpWebResponse V_15, - valuetype [mscorlib]System.DateTime V_16, - class [mscorlib]System.Exception V_17) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop - .try { // 1 - IL_0001: nop - IL_0002: ldloca.s 0 - IL_0004: initobj [mscorlib]System.DateTime - IL_000a: ldarg.0 - IL_000b: call instance bool class NAnt.Core.Tasks.GetTask::get_UseTimeStamp() - IL_0010: brfalse IL_0058 - - IL_0015: ldarg.0 - IL_0016: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_001b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0020: brfalse IL_0058 + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0014: brtrue IL_0030 - IL_0025: nop - IL_0026: ldarg.0 - IL_0027: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_002c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0031: stloc.0 - IL_0032: ldarg.0 - IL_0033: ldc.i4 2000 - IL_0038: ldstr "Local file time stamp is {0}." - IL_003d: ldc.i4.1 - IL_003e: newarr [mscorlib]System.Object - IL_0043: dup - IL_0044: ldc.i4.0 - IL_0045: ldloca.s 0 - IL_0047: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004c: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_0051: stelem.ref - IL_0052: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: ldarg.0 - IL_005a: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_005f: ldloc.0 - IL_0060: call instance class [System]System.Net.WebRequest class NAnt.Core.Tasks.GetTask::GetWebRequest(string, valuetype [mscorlib]System.DateTime) - IL_0065: stloc.1 - IL_0066: ldloc.1 - IL_0067: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_006c: stloc.2 - IL_006d: ldnull - IL_006e: stloc.3 - IL_006f: ldc.i4.1 - IL_0070: stloc.s 4 - IL_0072: nop - IL_0073: nop - .try { // 0 - IL_0074: nop - IL_0075: ldloc.2 - IL_0076: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() - IL_007b: stloc.3 - IL_007c: leave IL_0107 + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "Could not find a part of the path \"{0}\"." + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetCreationTime(string) + IL_0036: stloc.1 + IL_0037: br IL_003c - } // end .try 0 - catch class [mscorlib]System.IO.IOException { // 0 - IL_0081: stloc.s 5 - IL_0083: nop - IL_0084: ldloc.s 4 - IL_0086: ldc.i4.3 - IL_0087: ble IL_00be + IL_003c: ldloc.1 + IL_003d: ret + } // end of method FileFunctions::GetCreationTime - IL_008c: nop - IL_008d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0092: ldstr "NA1125" - IL_0097: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009c: ldarg.0 - IL_009d: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_00a2: ldarg.0 - IL_00a3: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_00a8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00ad: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00b2: ldarg.0 - IL_00b3: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00b8: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00bd: throw - IL_00be: nop - IL_00bf: ldarg.0 - IL_00c0: ldc.i4 4000 - IL_00c5: ldstr "Unable to open connection to '{0}' (try {1} of 3): " - IL_00ca: ldloc.s 5 - IL_00cc: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_00d1: call string string::Concat(string, string) - IL_00d6: ldc.i4.2 - IL_00d7: newarr [mscorlib]System.Object - IL_00dc: dup - IL_00dd: ldc.i4.0 - IL_00de: ldarg.0 - IL_00df: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_00e4: stelem.ref - IL_00e5: dup - IL_00e6: ldc.i4.1 - IL_00e7: ldloc.s 4 - IL_00e9: box [mscorlib]System.Int32 - IL_00ee: stelem.ref - IL_00ef: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00f4: nop - IL_00f5: nop - IL_00f6: leave IL_00fb + // method line 725 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 13 67 65 74 2D 6C 61 73 74 2D 77 72 69 74 // ...get-last-writ + 65 2D 74 69 6D 65 00 00 ) // e-time.. - } // end handler 0 - IL_00fb: ldloc.s 4 - IL_00fd: ldc.i4.1 - IL_00fe: add - IL_00ff: stloc.s 4 - IL_0101: nop - IL_0102: br IL_0072 + // Method begins at RVA 0x11dc0 + // Code size 62 (0x3e) + .maxstack 3 + .locals init ( + string V_0, + valuetype [mscorlib]System.DateTime V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0014: brtrue IL_0030 - IL_0107: ldarg.0 - IL_0108: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_010d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0112: ldc.i4.2 - IL_0113: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) - IL_0118: newobj instance void class [mscorlib]System.IO.BinaryWriter::'.ctor'(class [mscorlib]System.IO.Stream) - IL_011d: stloc.s 6 - IL_011f: ldarg.0 - IL_0120: ldc.i4 3000 - IL_0125: ldstr "Retrieving '{0}' to '{1}'." - IL_012a: ldc.i4.2 - IL_012b: newarr [mscorlib]System.Object - IL_0130: dup - IL_0131: ldc.i4.0 - IL_0132: ldarg.0 - IL_0133: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_0138: stelem.ref - IL_0139: dup - IL_013a: ldc.i4.1 - IL_013b: ldarg.0 - IL_013c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0141: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0146: stelem.ref - IL_0147: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_014c: ldc.i4 102400 - IL_0151: stloc.s 7 - IL_0153: ldloc.s 7 - IL_0155: newarr [mscorlib]System.Byte - IL_015a: stloc.s 8 - IL_015c: ldc.i4.0 - IL_015d: stloc.s 9 - IL_015f: ldc.i4.0 - IL_0160: stloc.s 10 - IL_0162: ldc.i4.0 - IL_0163: stloc.s 11 - IL_0165: nop - IL_0166: ldloc.3 - IL_0167: ldloc.s 8 - IL_0169: ldc.i4.0 - IL_016a: ldloc.s 7 - IL_016c: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) - IL_0171: stloc.s 9 - IL_0173: ldloc.s 9 - IL_0175: brfalse IL_01ba + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "Could not find a part of the path \"{0}\"." + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_0036: stloc.1 + IL_0037: br IL_003c - IL_017a: nop - IL_017b: ldloc.s 6 - IL_017d: ldloc.s 8 - IL_017f: ldc.i4.0 - IL_0180: ldloc.s 9 - IL_0182: callvirt instance void class [mscorlib]System.IO.BinaryWriter::Write(unsigned int8[], int32, int32) - IL_0187: ldloc.s 10 - IL_0189: ldloc.s 9 - IL_018b: add - IL_018c: stloc.s 10 - IL_018e: ldloc.s 11 - IL_0190: ldloc.s 9 - IL_0192: add - IL_0193: stloc.s 11 - IL_0195: ldarg.0 - IL_0196: callvirt instance bool class NAnt.Core.Task::get_Verbose() - IL_019b: brfalse IL_01b9 + IL_003c: ldloc.1 + IL_003d: ret + } // end of method FileFunctions::GetLastWriteTime - IL_01a0: ldloc.s 11 - IL_01a2: ldloc.s 7 - IL_01a4: ble IL_01b9 + // method line 726 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 14 67 65 74 2D 6C 61 73 74 2D 61 63 63 65 // ...get-last-acce + 73 73 2D 74 69 6D 65 00 00 ) // ss-time.. - IL_01a9: nop - IL_01aa: ldloc.s 11 - IL_01ac: ldloc.s 10 - IL_01ae: bne.un IL_01b5 + // Method begins at RVA 0x11e0c + // Code size 62 (0x3e) + .maxstack 3 + .locals init ( + string V_0, + valuetype [mscorlib]System.DateTime V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0014: brtrue IL_0030 - IL_01b3: nop - IL_01b4: nop - IL_01b5: ldc.i4.0 - IL_01b6: stloc.s 11 - IL_01b8: nop - IL_01b9: nop - IL_01ba: nop - IL_01bb: ldloc.s 9 - IL_01bd: brtrue IL_0165 + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "Could not find a part of the path \"{0}\"." + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastAccessTime(string) + IL_0036: stloc.1 + IL_0037: br IL_003c - IL_01c2: ldloc.s 10 - IL_01c4: ldloc.s 7 - IL_01c6: ble IL_01dd + IL_003c: ldloc.1 + IL_003d: ret + } // end of method FileFunctions::GetLastAccessTime - IL_01cb: nop - IL_01cc: ldarg.0 - IL_01cd: ldc.i4 2000 - IL_01d2: ldstr "" - IL_01d7: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_01dc: nop - IL_01dd: ldarg.0 - IL_01de: ldc.i4 2000 - IL_01e3: ldstr "Number of bytes read: {0}." - IL_01e8: ldc.i4.1 - IL_01e9: newarr [mscorlib]System.Object - IL_01ee: dup - IL_01ef: ldc.i4.0 - IL_01f0: ldloca.s 10 - IL_01f2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01f7: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_01fc: stelem.ref - IL_01fd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0202: ldloc.s 6 - IL_0204: callvirt instance void class [mscorlib]System.IO.BinaryWriter::Close() - IL_0209: ldloc.3 - IL_020a: callvirt instance void class [mscorlib]System.IO.Stream::Close() - IL_020f: ldarg.0 - IL_0210: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0215: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_021a: ldarg.0 - IL_021b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0220: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0225: brtrue IL_025c + // method line 727 + .method public hidebysig + instance default bool Exists (string file) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - IL_022a: nop - IL_022b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0230: ldstr "NA1125" - IL_0235: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_023a: ldarg.0 - IL_023b: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_0240: ldarg.0 - IL_0241: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0246: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_024b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0250: ldarg.0 - IL_0251: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0256: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_025b: throw - IL_025c: ldarg.0 - IL_025d: call instance bool class NAnt.Core.Tasks.GetTask::get_UseTimeStamp() - IL_0262: brfalse IL_02c3 + // Method begins at RVA 0x11e58 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0267: nop - IL_0268: ldloc.1 - IL_0269: isinst [System]System.Net.HttpWebRequest - IL_026e: brfalse IL_02c2 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FileFunctions::Exists - IL_0273: nop - IL_0274: ldloc.2 - IL_0275: castclass [System]System.Net.HttpWebResponse - IL_027a: stloc.s 12 - IL_027c: ldloc.s 12 - IL_027e: callvirt instance valuetype [mscorlib]System.DateTime class [System]System.Net.HttpWebResponse::get_LastModified() - IL_0283: stloc.s 13 - IL_0285: ldarg.0 - IL_0286: ldc.i4 2000 - IL_028b: ldstr "'{0}' last modified on {1}." - IL_0290: ldc.i4.2 - IL_0291: newarr [mscorlib]System.Object - IL_0296: dup - IL_0297: ldc.i4.0 - IL_0298: ldarg.0 - IL_0299: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_029e: stelem.ref - IL_029f: dup - IL_02a0: ldc.i4.1 - IL_02a1: ldloca.s 13 - IL_02a3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02a8: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_02ad: stelem.ref - IL_02ae: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_02b3: ldarg.0 - IL_02b4: ldarg.0 - IL_02b5: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_02ba: ldloc.s 13 - IL_02bc: call instance void class NAnt.Core.Tasks.GetTask::TouchFile(class [mscorlib]System.IO.FileInfo, valuetype [mscorlib]System.DateTime) - IL_02c1: nop - IL_02c2: nop - IL_02c3: nop - IL_02c4: leave IL_03dc + // method line 728 + .method public hidebysig + instance default bool UpToDate (string srcFile, string targetFile) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 75 70 2D 74 6F 2D 64 61 74 65 00 00 ) // ...up-to-date.. - } // end .try 1 - catch class NAnt.Core.BuildException { // 1 - IL_02c9: pop - IL_02ca: nop - IL_02cb: rethrow - } // end handler 1 - catch class [System]System.Net.WebException { // 2 - IL_02cd: stloc.s 14 - IL_02cf: nop - IL_02d0: ldloc.s 14 - IL_02d2: callvirt instance valuetype [System]System.Net.WebExceptionStatus class [System]System.Net.WebException::get_Status() - IL_02d7: ldc.i4.7 - IL_02d8: bne.un IL_0372 + // Method begins at RVA 0x11e80 + // Code size 75 (0x4b) + .maxstack 2 + .locals init ( + string V_0, + string V_1, + bool V_2, + valuetype [mscorlib]System.DateTime V_3, + string V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: ldarg.0 + IL_000f: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0014: ldarg.2 + IL_0015: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0021: brtrue IL_002e - IL_02dd: nop - IL_02de: ldloc.s 14 - IL_02e0: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebException::get_Response() - IL_02e5: castclass [System]System.Net.HttpWebResponse - IL_02ea: stloc.s 15 - IL_02ec: ldloc.s 15 - IL_02ee: callvirt instance valuetype [System]System.Net.HttpStatusCode class [System]System.Net.HttpWebResponse::get_StatusCode() - IL_02f3: ldc.i4 304 - IL_02f8: bne.un IL_033e + IL_0026: nop + IL_0027: ldc.i4.0 + IL_0028: stloc.2 + IL_0029: br IL_0049 - IL_02fd: nop - IL_02fe: ldarg.0 - IL_02ff: ldc.i4 2000 - IL_0304: ldstr "'{0}' not downloaded. Not modified since {1}." - IL_0309: ldc.i4.2 - IL_030a: newarr [mscorlib]System.Object - IL_030f: dup - IL_0310: ldc.i4.0 - IL_0311: ldarg.0 - IL_0312: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_0317: stelem.ref - IL_0318: dup - IL_0319: ldc.i4.1 - IL_031a: ldarg.0 - IL_031b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_0320: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0325: stloc.s 16 - IL_0327: ldloca.s 16 - IL_0329: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_032e: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_0333: stelem.ref - IL_0334: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0339: leave IL_03dc + IL_002e: ldloc.1 + IL_002f: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_0034: stloc.3 + IL_0035: ldloc.0 + IL_0036: ldloc.3 + IL_0037: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_003c: stloc.s 4 + IL_003e: ldloc.s 4 + IL_0040: ldnull + IL_0041: ceq + IL_0043: stloc.2 + IL_0044: br IL_0049 - IL_033e: nop - IL_033f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0344: ldstr "NA1125" - IL_0349: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_034e: ldarg.0 - IL_034f: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_0354: ldarg.0 - IL_0355: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_035a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_035f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0364: ldarg.0 - IL_0365: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_036a: ldloc.s 14 - IL_036c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0371: throw - IL_0372: nop - IL_0373: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0378: ldstr "NA1125" - IL_037d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0382: ldarg.0 - IL_0383: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_0388: ldarg.0 - IL_0389: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_038e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0393: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0398: ldarg.0 - IL_0399: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_039e: ldloc.s 14 - IL_03a0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_03a5: throw - } // end handler 2 - catch class [mscorlib]System.Exception { // 3 - IL_03a6: stloc.s 17 - IL_03a8: nop - IL_03a9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03ae: ldstr "NA1125" - IL_03b3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03b8: ldarg.0 - IL_03b9: call instance string class NAnt.Core.Tasks.GetTask::get_Source() - IL_03be: ldarg.0 - IL_03bf: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.GetTask::get_DestinationFile() - IL_03c4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_03c9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_03ce: ldarg.0 - IL_03cf: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_03d4: ldloc.s 17 - IL_03d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_03db: throw - } // end handler 3 - IL_03dc: ret - } // end of method GetTask::ExecuteTask + IL_0049: ldloc.2 + IL_004a: ret + } // end of method FileFunctions::UpToDate - // method line 958 - .method family hidebysig - instance default void TouchFile (class [mscorlib]System.IO.FileInfo file, valuetype [mscorlib]System.DateTime touchDateTime) cil managed + // method line 729 + .method public hidebysig + instance default int64 GetLength (string file) cil managed { - // Method begins at RVA 0xf0bc - // Code size 126 (0x7e) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6C 65 6E 67 74 68 00 00 ) // ...get-length.. + + // Method begins at RVA 0x11ed8 + // Code size 33 (0x21) + .maxstack 2 .locals init ( - class [mscorlib]System.Exception V_0) + class [mscorlib]System.IO.FileInfo V_0, + int64 V_1) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0008: brfalse IL_0049 + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: callvirt instance int64 class [mscorlib]System.IO.FileInfo::get_Length() + IL_0019: stloc.1 + IL_001a: br IL_001f - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldc.i4 2000 - IL_0014: ldstr "Touching file {0} with {1}." - IL_0019: ldc.i4.2 - IL_001a: newarr [mscorlib]System.Object - IL_001f: dup - IL_0020: ldc.i4.0 - IL_0021: ldarg.1 - IL_0022: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0027: stelem.ref - IL_0028: dup - IL_0029: ldc.i4.1 - IL_002a: ldarga.s 2 - IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0031: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_0036: stelem.ref - IL_0037: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_003c: ldarg.1 - IL_003d: ldarg.2 - IL_003e: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::set_LastWriteTime(valuetype [mscorlib]System.DateTime) - IL_0043: nop - IL_0044: br IL_0050 + IL_001f: ldloc.1 + IL_0020: ret + } // end of method FileFunctions::GetLength - IL_0049: nop - IL_004a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'() - IL_004f: throw - IL_0050: nop - IL_0051: leave IL_007d + // method line 730 + .method public hidebysig + instance default bool IsAssembly (string assemblyFile) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 69 73 2D 61 73 73 65 6D 62 6C 79 00 00 ) // ...is-assembly.. - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0056: stloc.0 - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: ldc.i4 2000 - IL_005e: ldstr "Error: {0}." - IL_0063: ldc.i4.1 - IL_0064: newarr [mscorlib]System.Object - IL_0069: dup - IL_006a: ldc.i4.0 - IL_006b: ldloc.0 - IL_006c: callvirt instance string object::ToString() - IL_0071: stelem.ref - IL_0072: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0077: nop - IL_0078: leave IL_007d - - } // end handler 0 - IL_007d: ret - } // end of method GetTask::TouchFile - - // method line 959 - .method private hidebysig - instance default class [System]System.Net.WebRequest GetWebRequest (string url, valuetype [mscorlib]System.DateTime fileLastModified) cil managed - { - // Method begins at RVA 0xf158 - // Code size 364 (0x16c) + // Method begins at RVA 0x11f08 + // Code size 47 (0x2f) .maxstack 2 .locals init ( - class [System]System.Net.WebRequest V_0, - class [System]System.Uri V_1, - class [System]System.Net.HttpWebRequest V_2, - valuetype [mscorlib]System.DateTime V_3, - valuetype [mscorlib]System.DateTime V_4, - valuetype [mscorlib]System.DateTime V_5, - string V_6, - class [System]System.Collections.Specialized.StringEnumerator V_7, - class [mscorlib]System.IDisposable V_8, - class [System]System.Net.WebRequest V_9) + bool V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.1 - IL_0004: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0009: stloc.1 - IL_000a: ldloc.1 - IL_000b: callvirt instance string class [System]System.Uri::get_Scheme() - IL_0010: ldsfld string [System]System.Uri::UriSchemeHttp - IL_0015: call bool string::op_Equality(string, string) - IL_001a: brtrue IL_0034 - - IL_001f: ldloc.1 - IL_0020: callvirt instance string class [System]System.Uri::get_Scheme() - IL_0025: ldsfld string [System]System.Uri::UriSchemeHttps - IL_002a: call bool string::op_Equality(string, string) - IL_002f: brfalse IL_00ed - - IL_0034: nop - IL_0035: ldloc.1 - IL_0036: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) - IL_003b: castclass [System]System.Net.HttpWebRequest - IL_0040: stloc.2 - IL_0041: ldarga.s 2 - IL_0043: ldloca.s 3 - IL_0045: initobj [mscorlib]System.DateTime - IL_004b: ldloc.3 - IL_004c: call instance bool valuetype [mscorlib]System.DateTime::Equals(valuetype [mscorlib]System.DateTime) - IL_0051: brtrue IL_007b - - IL_0056: nop - IL_0057: ldarga.s 2 - IL_0059: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::ToUniversalTime() - IL_005e: stloc.s 5 - IL_0060: ldloca.s 5 - IL_0062: ldc.r8 1. - IL_006b: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::AddSeconds(float64) - IL_0070: stloc.s 4 - IL_0072: ldloc.2 - IL_0073: ldloc.s 4 - IL_0075: callvirt instance void class [System]System.Net.HttpWebRequest::set_IfModifiedSince(valuetype [mscorlib]System.DateTime) - IL_007a: nop - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.GetTask::get_Certificates() - IL_0082: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0087: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_008c: stloc.s 7 .try { // 0 - IL_008e: br IL_00b1 - - IL_0093: ldloc.s 7 - IL_0095: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_009a: stloc.s 6 - IL_009c: nop - IL_009d: ldloc.2 - IL_009e: callvirt instance class [System]System.Security.Cryptography.X509Certificates.X509CertificateCollection class [System]System.Net.HttpWebRequest::get_ClientCertificates() - IL_00a3: ldloc.s 6 - IL_00a5: call class [mscorlib]System.Security.Cryptography.X509Certificates.X509Certificate class [mscorlib]System.Security.Cryptography.X509Certificates.X509Certificate::CreateFromCertFile(string) - IL_00aa: callvirt instance int32 class [System]System.Security.Cryptography.X509Certificates.X509CertificateCollection::Add(class [mscorlib]System.Security.Cryptography.X509Certificates.X509Certificate) - IL_00af: pop - IL_00b0: nop - IL_00b1: ldloc.s 7 - IL_00b3: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00b8: brtrue IL_0093 - - IL_00bd: leave IL_00d9 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0008: ldarg.1 + IL_0009: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000e: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) + IL_0013: pop + IL_0014: ldc.i4.1 + IL_0015: stloc.0 + IL_0016: leave IL_002d } // end .try 0 - finally { // 0 - IL_00c2: ldloc.s 7 - IL_00c4: isinst [mscorlib]System.IDisposable - IL_00c9: dup - IL_00ca: stloc.s 8 - IL_00cc: brfalse IL_00d8 + catch class [mscorlib]System.IO.FileLoadException { // 0 + IL_001b: pop + IL_001c: nop + IL_001d: ldc.i4.0 + IL_001e: stloc.0 + IL_001f: leave IL_002d - IL_00d1: ldloc.s 8 - IL_00d3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d8: endfinally } // end handler 0 - IL_00d9: ldloc.2 - IL_00da: ldarg.0 - IL_00db: call instance int32 class NAnt.Core.Tasks.GetTask::get_Timeout() - IL_00e0: callvirt instance void class [System]System.Net.HttpWebRequest::set_ReadWriteTimeout(int32) - IL_00e5: ldloc.2 - IL_00e6: stloc.0 - IL_00e7: nop - IL_00e8: br IL_00f6 - - IL_00ed: nop - IL_00ee: ldloc.1 - IL_00ef: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) - IL_00f4: stloc.0 - IL_00f5: nop - IL_00f6: ldloc.0 - IL_00f7: ldarg.0 - IL_00f8: call instance int32 class NAnt.Core.Tasks.GetTask::get_Timeout() - IL_00fd: callvirt instance void class [System]System.Net.WebRequest::set_Timeout(int32) - IL_0102: ldarg.0 - IL_0103: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.GetTask::get_Proxy() - IL_0108: brfalse IL_0125 - - IL_010d: nop - IL_010e: ldloc.0 - IL_010f: ldarg.0 - IL_0110: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.GetTask::get_Proxy() - IL_0115: callvirt instance class [System]System.Net.IWebProxy class NAnt.Core.Types.Proxy::GetWebProxy() - IL_011a: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) - IL_011f: nop - IL_0120: br IL_0143 - - IL_0125: ldarg.0 - IL_0126: call instance string class NAnt.Core.Tasks.GetTask::get_HttpProxy() - IL_012b: brfalse IL_0143 - - IL_0130: nop - IL_0131: ldloc.0 - IL_0132: ldarg.0 - IL_0133: call instance string class NAnt.Core.Tasks.GetTask::get_HttpProxy() - IL_0138: newobj instance void class [System]System.Net.WebProxy::'.ctor'(string) - IL_013d: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) - IL_0142: nop - IL_0143: ldarg.0 - IL_0144: call instance class NAnt.Core.Types.Credential class NAnt.Core.Tasks.GetTask::get_Credentials() - IL_0149: brfalse IL_0161 - - IL_014e: nop - IL_014f: ldloc.0 - IL_0150: ldarg.0 - IL_0151: call instance class NAnt.Core.Types.Credential class NAnt.Core.Tasks.GetTask::get_Credentials() - IL_0156: callvirt instance class [System]System.Net.ICredentials class NAnt.Core.Types.Credential::GetCredential() - IL_015b: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) - IL_0160: nop - IL_0161: ldloc.0 - IL_0162: stloc.s 9 - IL_0164: br IL_0169 - - IL_0169: ldloc.s 9 - IL_016b: ret - } // end of method GetTask::GetWebRequest - - .property instance string Source () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 73 72 63 01 00 54 02 08 52 65 71 75 69 // ...src..T..Requi - 72 65 64 01 ) // red. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.GetTask::get_Source () - .set instance default void NAnt.Core.Tasks.GetTask::set_Source (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo DestinationFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 64 65 73 74 01 00 54 02 08 52 65 71 75 // ...dest..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.GetTask::get_DestinationFile () - .set instance default void NAnt.Core.Tasks.GetTask::set_DestinationFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string HttpProxy () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 68 74 74 70 70 72 6F 78 79 00 00 ) // ...httpproxy.. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 26 55 73 65 20 74 68 65 20 3C 70 72 6F 78 // ..&Use the child element - 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // instead.... - - .get instance default string NAnt.Core.Tasks.GetTask::get_HttpProxy () - .set instance default void NAnt.Core.Tasks.GetTask::set_HttpProxy (string 'value') - } - .property instance class NAnt.Core.Types.Proxy Proxy () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. - - .get instance default class NAnt.Core.Types.Proxy NAnt.Core.Tasks.GetTask::get_Proxy () - .set instance default void NAnt.Core.Tasks.GetTask::set_Proxy (class NAnt.Core.Types.Proxy 'value') - } - .property instance class NAnt.Core.Types.Credential Credentials () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 63 72 65 64 65 6E 74 69 61 6C 73 00 00 ) // ...credentials.. - - .get instance default class NAnt.Core.Types.Credential NAnt.Core.Tasks.GetTask::get_Credentials () - .set instance default void NAnt.Core.Tasks.GetTask::set_Credentials (class NAnt.Core.Types.Credential 'value') - } - .property instance bool IgnoreErrors () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 69 67 6E 6F 72 65 65 72 72 6F 72 73 00 // ...ignoreerrors. - 00 ) // . - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 28 55 73 65 20 74 68 65 20 27 66 61 69 6C // ..(Use the 'fail - 6F 6E 65 72 72 6F 72 27 20 61 74 74 72 69 62 75 // onerror' attribu - 74 65 20 69 6E 73 74 65 61 64 2E 00 00 ) // te instead... - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Tasks.GetTask::get_IgnoreErrors () - .set instance default void NAnt.Core.Tasks.GetTask::set_IgnoreErrors (bool 'value') - } - .property instance bool UseTimeStamp () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 75 73 65 74 69 6D 65 73 74 61 6D 70 00 // ...usetimestamp. - 00 ) // . - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Tasks.GetTask::get_UseTimeStamp () - .set instance default void NAnt.Core.Tasks.GetTask::set_UseTimeStamp (bool 'value') - } - .property instance int32 Timeout () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 74 69 6D 65 6F 75 74 00 00 ) // ...timeout.. - - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + catch class [mscorlib]System.BadImageFormatException { // 1 + IL_0024: pop + IL_0025: nop + IL_0026: ldc.i4.0 + IL_0027: stloc.0 + IL_0028: leave IL_002d - .get instance default int32 NAnt.Core.Tasks.GetTask::get_Timeout () - .set instance default void NAnt.Core.Tasks.GetTask::set_Timeout (int32 'value') - } - .property instance class NAnt.Core.Types.FileSet Certificates () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0C 63 65 72 74 69 66 69 63 61 74 65 73 00 // ...certificates. - 00 ) // . + } // end handler 1 + IL_002d: ldloc.0 + IL_002e: ret + } // end of method FileFunctions::IsAssembly - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::get_Certificates () - .set instance default void NAnt.Core.Tasks.GetTask::set_Certificates (class NAnt.Core.Types.FileSet 'value') - } - } // end of class NAnt.Core.Tasks.GetTask + } // end of class NAnt.Core.Functions.FileFunctions } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit StyleTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit FileVersionInfoFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 73 74 79 6C 65 00 00 ) // ...style.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 0F 66 69 6C 65 76 65 72 73 69 6F 6E 69 6E // ...fileversionin + 66 6F 07 56 65 72 73 69 6F 6E 00 00 ) // fo.Version.. - .field private class [mscorlib]System.IO.DirectoryInfo _destDir - .field private string _extension - .field private class [System]System.Uri _xsltFile - .field private class [mscorlib]System.IO.FileInfo _srcFile - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private class NAnt.Core.Types.FileSet _inFiles - .field private class NAnt.Core.Types.XsltParameterCollection _xsltParameters - .field private class NAnt.Core.Types.XsltExtensionObjectCollection _xsltExtensions - .field private class NAnt.Core.Types.Proxy _proxy - // method line 960 + // method line 731 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xf2e0 - // Code size 51 (0x33) + // Method begins at RVA 0x11f60 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldstr "html" - IL_0006: stfld string NAnt.Core.Tasks.StyleTask::_extension - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0011: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles - IL_0016: ldarg.0 - IL_0017: newobj instance void class NAnt.Core.Types.XsltParameterCollection::'.ctor'() - IL_001c: stfld class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::_xsltParameters - IL_0021: ldarg.0 - IL_0022: newobj instance void class NAnt.Core.Types.XsltExtensionObjectCollection::'.ctor'() - IL_0027: stfld class NAnt.Core.Types.XsltExtensionObjectCollection NAnt.Core.Tasks.StyleTask::_xsltExtensions - IL_002c: ldarg.0 - IL_002d: call instance void class NAnt.Core.Task::'.ctor'() - IL_0032: ret - } // end of method StyleTask::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method FileVersionInfoFunctions::.ctor - // method line 961 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_DestDir () cil managed + // method line 732 + .method public hidebysig + instance default class [System]System.Diagnostics.FileVersionInfo GetVersionInfo (string fileName) cil managed { - // Method begins at RVA 0xf314 - // Code size 49 (0x31) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 67 65 74 2D 76 65 72 73 69 6F 6E 2D 69 // ...get-version-i + 6E 66 6F 00 00 ) // nfo.. + + // Method begins at RVA 0x11f6c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class [System]System.Diagnostics.FileVersionInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::_destDir - IL_0007: brtrue IL_0023 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0013: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001d: stloc.0 - IL_001e: br IL_002f - - IL_0023: ldarg.0 - IL_0024: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::_destDir - IL_0029: stloc.0 - IL_002a: br IL_002f + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: call class [System]System.Diagnostics.FileVersionInfo class [System]System.Diagnostics.FileVersionInfo::GetVersionInfo(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_002f: ldloc.0 - IL_0030: ret - } // end of method StyleTask::get_DestDir + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FileVersionInfoFunctions::GetVersionInfo - // method line 962 - .method public hidebysig specialname - instance default void set_DestDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 733 + .method public static hidebysig + default string GetCompanyName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed { - // Method begins at RVA 0xf351 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::_destDir - IL_0008: ret - } // end of method StyleTask::set_DestDir + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 67 65 74 2D 63 6F 6D 70 61 6E 79 2D 6E // ...get-company-n + 61 6D 65 00 00 ) // ame.. - // method line 963 - .method public hidebysig specialname - instance default string get_Extension () cil managed - { - // Method begins at RVA 0xf35c + // Method begins at RVA 0x11f94 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.StyleTask::_extension + IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_CompanyName() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StyleTask::get_Extension + } // end of method FileVersionInfoFunctions::GetCompanyName - // method line 964 - .method public hidebysig specialname - instance default void set_Extension (string 'value') cil managed + // method line 734 + .method public static hidebysig + default class [mscorlib]System.Version GetFileVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed { - // Method begins at RVA 0xf377 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.StyleTask::_extension - IL_0008: ret - } // end of method StyleTask::set_Extension + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 67 65 74 2D 66 69 6C 65 2D 76 65 72 73 // ...get-file-vers + 69 6F 6E 00 00 ) // ion.. - // method line 965 - .method public hidebysig specialname - instance default class [System]System.Uri get_XsltFile () cil managed - { - // Method begins at RVA 0xf384 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x11fb0 + // Code size 38 (0x26) + .maxstack 4 .locals init ( - class [System]System.Uri V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Uri NAnt.Core.Tasks.StyleTask::_xsltFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMajorPart() + IL_0007: ldarg.0 + IL_0008: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMinorPart() + IL_000d: ldarg.0 + IL_000e: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileBuildPart() + IL_0013: ldarg.0 + IL_0014: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FilePrivatePart() + IL_0019: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32, int32, int32) + IL_001e: stloc.0 + IL_001f: br IL_0024 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_XsltFile + IL_0024: ldloc.0 + IL_0025: ret + } // end of method FileVersionInfoFunctions::GetFileVersion - // method line 966 - .method public hidebysig specialname - instance default void set_XsltFile (class [System]System.Uri 'value') cil managed + // method line 735 + .method public static hidebysig + default string GetProductName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed { - // Method begins at RVA 0xf39f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [System]System.Uri NAnt.Core.Tasks.StyleTask::_xsltFile - IL_0008: ret - } // end of method StyleTask::set_XsltFile + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 67 65 74 2D 70 72 6F 64 75 63 74 2D 6E // ...get-product-n + 61 6D 65 00 00 ) // ame.. - // method line 967 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed - { - // Method begins at RVA 0xf3ac + // Method begins at RVA 0x11fe4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_srcFile + IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_ProductName() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StyleTask::get_SrcFile + } // end of method FileVersionInfoFunctions::GetProductName - // method line 968 - .method public hidebysig specialname - instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 736 + .method public static hidebysig + default class [mscorlib]System.Version GetProductVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed { - // Method begins at RVA 0xf3c7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_srcFile - IL_0008: ret - } // end of method StyleTask::set_SrcFile + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 13 67 65 74 2D 70 72 6F 64 75 63 74 2D 76 // ...get-product-v + 65 72 73 69 6F 6E 00 00 ) // ersion.. - // method line 969 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed - { - // Method begins at RVA 0xf3d4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x12000 + // Code size 38 (0x26) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_OutputFile - - // method line 970 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + IL_0002: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMajorPart() + IL_0007: ldarg.0 + IL_0008: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMinorPart() + IL_000d: ldarg.0 + IL_000e: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductBuildPart() + IL_0013: ldarg.0 + IL_0014: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductPrivatePart() + IL_0019: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32, int32, int32) + IL_001e: stloc.0 + IL_001f: br IL_0024 + + IL_0024: ldloc.0 + IL_0025: ret + } // end of method FileVersionInfoFunctions::GetProductVersion + + } // end of class NAnt.Core.Functions.FileVersionInfoFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit Int32ConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 03 69 6E 74 0A 43 6F 6E 76 65 72 73 69 6F // ...int.Conversio + 6E 00 00 ) // n.. + + + // method line 737 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xf3ef - // Code size 9 (0x9) + // Method begins at RVA 0x12032 + // Code size 10 (0xa) .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method Int32ConversionFunctions::.ctor + + // method line 738 + .method public static hidebysig + default int32 Parse (string s) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x12040 + // Code size 20 (0x14) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_outputFile - IL_0008: ret - } // end of method StyleTask::set_OutputFile + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 971 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_InFiles () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Int32ConversionFunctions::Parse + + // method line 739 + .method public static hidebysig + default string ToString (int32 'value') cil managed { - // Method begins at RVA 0xf3fc - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + + // Method begins at RVA 0x12060 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.Core.Types.FileSet V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_InFiles + IL_0013: ldloc.0 + IL_0014: ret + } // end of method Int32ConversionFunctions::ToString - // method line 972 - .method public hidebysig specialname - instance default void set_InFiles (class NAnt.Core.Types.FileSet 'value') cil managed + } // end of class NAnt.Core.Functions.Int32ConversionFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit DateTimeFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 64 61 74 65 74 69 6D 65 09 44 61 74 65 // ...datetime.Date + 2F 54 69 6D 65 00 00 ) // /Time.. + + + // method line 740 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0xf417 - // Code size 9 (0x9) + // Method begins at RVA 0x12081 + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles - IL_0008: ret - } // end of method StyleTask::set_InFiles + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DateTimeFunctions::.ctor - // method line 973 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameterCollection get_Parameters () cil managed + // method line 741 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime Now () cil managed { - // Method begins at RVA 0xf424 - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 6E 6F 77 00 00 ) // ...now.. + + // Method begins at RVA 0x1208c + // Code size 14 (0xe) .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltParameterCollection V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::_xsltParameters - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_Parameters + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DateTimeFunctions::Now - // method line 974 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObjectCollection get_ExtensionObjects () cil managed + // method line 742 + .method public static hidebysig + default int32 GetYear (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0xf440 - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 79 65 61 72 00 00 ) // ...get-year.. + + // Method begins at RVA 0x120a8 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltExtensionObjectCollection V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.XsltExtensionObjectCollection NAnt.Core.Tasks.StyleTask::_xsltExtensions - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Year() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_ExtensionObjects + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetYear - // method line 975 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Proxy get_Proxy () cil managed + // method line 743 + .method public static hidebysig + default int32 GetMonth (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0xf45c - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 6D 6F 6E 74 68 00 00 ) // ...get-month.. + + // Method begins at RVA 0x120c4 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Types.Proxy V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.StyleTask::_proxy - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Month() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_Proxy + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMonth - // method line 976 - .method public hidebysig specialname - instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') cil managed + // method line 744 + .method public static hidebysig + default int32 GetDay (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0xf477 - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 67 65 74 2D 64 61 79 00 00 ) // ...get-day.. + + // Method begins at RVA 0x120e0 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.Proxy NAnt.Core.Tasks.StyleTask::_proxy - IL_0008: ret - } // end of method StyleTask::set_Proxy + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Day() + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 977 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDay + + // method line 745 + .method public static hidebysig + default int32 GetHour (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0xf484 - // Code size 1638 (0x666) - .maxstack 7 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 68 6F 75 72 00 00 ) // ...get-hour.. + + // Method begins at RVA 0x120fc + // Code size 16 (0x10) + .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class [mscorlib]System.IO.FileInfo V_1, - class [System]System.Net.HttpWebRequest V_2, - class [System]System.Net.HttpWebResponse V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - string V_6, - string V_7, - int32 V_8, - class [mscorlib]System.IO.FileInfo V_9, - class [mscorlib]System.IO.FileInfo V_10, - bool V_11, - class [mscorlib]System.IO.FileInfo V_12, - class [System.Xml]System.Xml.XmlReader V_13, - class [System.Xml]System.Xml.XmlReader V_14, - class [mscorlib]System.IO.TextWriter V_15, - string V_16, - class [System.Xml]System.Xml.XPath.XPathDocument V_17, - class [System.Xml]System.Xml.Xsl.XsltArgumentList V_18, - class NAnt.Core.Types.XsltParameter V_19, - class NAnt.Core.Types.XsltParameterEnumerator V_20, - class [mscorlib]System.IDisposable V_21, - class NAnt.Core.Types.XsltExtensionObject V_22, - class NAnt.Core.Types.XsltExtensionObjectEnumerator V_23, - object V_24, - class [mscorlib]System.IDisposable V_25, - class [mscorlib]System.IO.FileInfo V_26, - class [System.Xml]System.Xml.Xsl.XslCompiledTransform V_27, - string V_28, - class [mscorlib]System.Exception V_29, - class [mscorlib]System.IDisposable V_30) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e - - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() - IL_0018: ldarg.0 - IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldnull - IL_002f: stloc.0 - IL_0030: ldarg.0 - IL_0031: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_SrcFile() - IL_0036: brfalse IL_005a + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Hour() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_003b: nop - IL_003c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0041: stloc.0 - IL_0042: ldloc.0 - IL_0043: ldarg.0 - IL_0044: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_SrcFile() - IL_0049: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0053: pop - IL_0054: nop - IL_0055: br IL_00af + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetHour - IL_005a: ldarg.0 - IL_005b: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() - IL_0060: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0065: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_006a: ldc.i4.0 - IL_006b: ble IL_00af + // method line 746 + .method public static hidebysig + default int32 GetMinute (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6D 69 6E 75 74 65 00 00 ) // ...get-minute.. - IL_0070: nop - IL_0071: ldarg.0 - IL_0072: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_OutputFile() - IL_0077: brfalse IL_00a2 + // Method begins at RVA 0x12118 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Minute() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_007c: nop - IL_007d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0082: ldstr "NA1148" - IL_0087: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_008c: call !!0[] class [mscorlib]System.Array::Empty () - IL_0091: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0096: ldarg.0 - IL_0097: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_009c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00a1: throw - IL_00a2: ldarg.0 - IL_00a3: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.StyleTask::get_InFiles() - IL_00a8: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_00ad: stloc.0 - IL_00ae: nop - IL_00af: ldloc.0 - IL_00b0: brfalse IL_00c0 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMinute - IL_00b5: ldloc.0 - IL_00b6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00bb: brtrue IL_00e6 + // method line 747 + .method public static hidebysig + default int32 GetSecond (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 73 65 63 6F 6E 64 00 00 ) // ...get-second.. - IL_00c0: nop - IL_00c1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c6: ldstr "NA1147" - IL_00cb: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00d0: call !!0[] class [mscorlib]System.Array::Empty () - IL_00d5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_00da: ldarg.0 - IL_00db: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00e0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00e5: throw - IL_00e6: ldarg.0 - IL_00e7: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_00ec: callvirt instance bool class [System]System.Uri::get_IsFile() - IL_00f1: brfalse IL_0140 + // Method begins at RVA 0x12134 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Second() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_00f6: nop - IL_00f7: ldarg.0 - IL_00f8: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_00fd: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_0102: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0107: stloc.1 - IL_0108: ldloc.1 - IL_0109: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_010e: brtrue IL_013a + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetSecond - IL_0113: nop - IL_0114: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0119: ldstr "NA1149" - IL_011e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0123: ldloc.1 - IL_0124: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0129: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_012e: ldarg.0 - IL_012f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0134: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0139: throw - IL_013a: nop - IL_013b: br IL_01b4 + // method line 748 + .method public static hidebysig + default int32 GetMillisecond (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 6D 69 6C 6C 69 73 65 63 6F // ...get-milliseco + 6E 64 00 00 ) // nd.. - IL_0140: nop - IL_0141: ldarg.0 - IL_0142: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_0147: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) - IL_014c: castclass [System]System.Net.HttpWebRequest - IL_0151: stloc.2 - IL_0152: ldarg.0 - IL_0153: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() - IL_0158: brfalse IL_0170 + // Method begins at RVA 0x12150 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Millisecond() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_015d: nop - IL_015e: ldloc.2 - IL_015f: ldarg.0 - IL_0160: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() - IL_0165: callvirt instance class [System]System.Net.IWebProxy class NAnt.Core.Types.Proxy::GetWebProxy() - IL_016a: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) - IL_016f: nop - IL_0170: ldloc.2 - IL_0171: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_0176: castclass [System]System.Net.HttpWebResponse - IL_017b: stloc.3 - IL_017c: ldloc.3 - IL_017d: callvirt instance valuetype [System]System.Net.HttpStatusCode class [System]System.Net.HttpWebResponse::get_StatusCode() - IL_0182: ldc.i4 200 - IL_0187: beq IL_01b3 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMillisecond - IL_018c: nop - IL_018d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0192: ldstr "NA1149" - IL_0197: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_019c: ldarg.0 - IL_019d: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_01a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01a7: ldarg.0 - IL_01a8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_01ad: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_01b2: throw - IL_01b3: nop - IL_01b4: nop - IL_01b5: ldloc.0 - IL_01b6: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_01bb: stloc.s 5 - .try { // 6 - IL_01bd: br IL_063d + // method line 749 + .method public static hidebysig + default int64 GetTicks (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 74 69 63 6B 73 00 00 ) // ...get-ticks.. - IL_01c2: ldloc.s 5 - IL_01c4: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_01c9: stloc.s 4 - IL_01cb: nop - IL_01cc: ldnull - IL_01cd: stloc.s 6 - IL_01cf: ldarg.0 - IL_01d0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_OutputFile() - IL_01d5: brfalse IL_01e9 + // Method begins at RVA 0x1216c + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int64 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int64 valuetype [mscorlib]System.DateTime::get_Ticks() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_01da: nop - IL_01db: ldarg.0 - IL_01dc: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.StyleTask::get_OutputFile() - IL_01e1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01e6: stloc.s 6 - IL_01e8: nop - IL_01e9: ldloc.s 6 - IL_01eb: call bool string::IsNullOrEmpty(string) - IL_01f0: brfalse IL_026d + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetTicks - IL_01f5: nop - IL_01f6: ldarg.0 - IL_01f7: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() - IL_01fc: ldstr "." - IL_0201: callvirt instance int32 string::IndexOf(string) - IL_0206: ldc.i4.m1 - IL_0207: ble IL_0217 + // method line 750 + .method public static hidebysig + default int32 GetDayOfWeek (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 77 65 // ...get-day-of-we + 65 6B 00 00 ) // ek.. - IL_020c: ldarg.0 - IL_020d: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() - IL_0212: br IL_0227 + // Method begins at RVA 0x12188 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance valuetype [mscorlib]System.DayOfWeek valuetype [mscorlib]System.DateTime::get_DayOfWeek() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0217: ldstr "." - IL_021c: ldarg.0 - IL_021d: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() - IL_0222: call string string::Concat(string, string) - IL_0227: stloc.s 7 - IL_0229: ldloc.s 4 - IL_022b: ldc.i4.s 0x2e - IL_022d: callvirt instance int32 string::LastIndexOf(char) - IL_0232: stloc.s 8 - IL_0234: ldloc.s 8 - IL_0236: ldc.i4.m1 - IL_0237: bne.un IL_024e + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDayOfWeek - IL_023c: nop - IL_023d: ldloc.s 4 - IL_023f: ldloc.s 7 - IL_0241: call string string::Concat(string, string) - IL_0246: stloc.s 6 - IL_0248: nop - IL_0249: br IL_0263 + // method line 751 + .method public static hidebysig + default int32 GetDayOfYear (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 79 65 // ...get-day-of-ye + 61 72 00 00 ) // ar.. - IL_024e: nop - IL_024f: ldloc.s 4 - IL_0251: ldc.i4.0 - IL_0252: ldloc.s 8 - IL_0254: callvirt instance string string::Substring(int32, int32) - IL_0259: ldloc.s 7 - IL_025b: call string string::Concat(string, string) - IL_0260: stloc.s 6 - IL_0262: nop - IL_0263: ldloc.s 6 - IL_0265: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_026a: stloc.s 6 - IL_026c: nop - IL_026d: ldloc.s 4 - IL_026f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0274: stloc.s 9 - IL_0276: ldarg.0 - IL_0277: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.StyleTask::get_DestDir() - IL_027c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0281: ldloc.s 6 - IL_0283: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0288: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_028d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0292: stloc.s 10 - IL_0294: ldloc.s 9 - IL_0296: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_029b: brtrue IL_02c8 + // Method begins at RVA 0x121a4 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_DayOfYear() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_02a0: nop - IL_02a1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02a6: ldstr "NA1150" - IL_02ab: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02b0: ldloc.s 9 - IL_02b2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02b7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_02bc: ldarg.0 - IL_02bd: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_02c2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_02c7: throw - IL_02c8: ldloc.s 10 - IL_02ca: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_02cf: brfalse IL_02e9 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDayOfYear - IL_02d4: ldloc.s 9 - IL_02d6: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_02db: ldloc.s 10 - IL_02dd: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_02e2: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_02e7: br.s IL_02ea + // method line 752 + .method public static hidebysig + default int32 GetDaysInMonth (int32 year, int32 month) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 64 61 79 73 2D 69 6E 2D 6D // ...get-days-in-m + 6F 6E 74 68 00 00 ) // onth.. - IL_02e9: ldc.i4.1 - IL_02ea: stloc.s 11 - IL_02ec: ldloc.s 11 - IL_02ee: brtrue IL_032f + // Method begins at RVA 0x121c0 + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call int32 valuetype [mscorlib]System.DateTime::DaysInMonth(int32, int32) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_02f3: ldarg.0 - IL_02f4: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_02f9: callvirt instance bool class [System]System.Uri::get_IsFile() - IL_02fe: brfalse IL_032f + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDaysInMonth - IL_0303: nop - IL_0304: ldarg.0 - IL_0305: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_030a: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_030f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0314: stloc.s 12 - IL_0316: ldloc.s 11 - IL_0318: ldloc.s 12 - IL_031a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_031f: ldloc.s 10 - IL_0321: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0326: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_032b: or - IL_032c: stloc.s 11 - IL_032e: nop - IL_032f: ldloc.s 11 - IL_0331: brfalse IL_063c + // method line 753 + .method public static hidebysig + default bool IsLeapYear (int32 year) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 69 73 2D 6C 65 61 70 2D 79 65 61 72 00 // ...is-leap-year. + 00 ) // . - IL_0336: nop - IL_0337: ldnull - IL_0338: stloc.s 13 - IL_033a: ldnull - IL_033b: stloc.s 14 - IL_033d: ldnull - IL_033e: stloc.s 15 - .try { // 5 - .try { // 4 - IL_0340: nop - IL_0341: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() - IL_0346: stloc.s 16 - IL_0348: ldnull - IL_0349: stloc.s 17 - .try { // 0 - IL_034b: nop - IL_034c: ldloc.s 9 - IL_034e: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_0353: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) - IL_0358: ldarg.0 - IL_0359: ldc.i4 2000 - IL_035e: ldstr "Loading XML file '{0}'." - IL_0363: ldc.i4.1 - IL_0364: newarr [mscorlib]System.Object - IL_0369: dup - IL_036a: ldc.i4.0 - IL_036b: ldloc.s 9 - IL_036d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0372: stelem.ref - IL_0373: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0378: ldarg.0 - IL_0379: ldloc.s 9 - IL_037b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0380: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0385: callvirt instance class [System.Xml]System.Xml.XmlReader class NAnt.Core.Tasks.StyleTask::CreateXmlReader(class [System]System.Uri) - IL_038a: stloc.s 13 - IL_038c: ldloc.s 13 - IL_038e: newobj instance void class [System.Xml]System.Xml.XPath.XPathDocument::'.ctor'(class [System.Xml]System.Xml.XmlReader) - IL_0393: stloc.s 17 - IL_0395: nop - IL_0396: leave IL_03a5 + // Method begins at RVA 0x121dc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call bool valuetype [mscorlib]System.DateTime::IsLeapYear(int32) + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_039b: nop - IL_039c: ldloc.s 16 - IL_039e: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) - IL_03a3: nop - IL_03a4: endfinally - } // end handler 0 - IL_03a5: newobj instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::'.ctor'() - IL_03aa: stloc.s 18 - IL_03ac: nop - IL_03ad: ldarg.0 - IL_03ae: call instance class NAnt.Core.Types.XsltParameterCollection class NAnt.Core.Tasks.StyleTask::get_Parameters() - IL_03b3: callvirt instance class NAnt.Core.Types.XsltParameterEnumerator class NAnt.Core.Types.XsltParameterCollection::GetEnumerator() - IL_03b8: stloc.s 20 - .try { // 1 - IL_03ba: br IL_03fe + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DateTimeFunctions::IsLeapYear - IL_03bf: ldloc.s 20 - IL_03c1: callvirt instance class NAnt.Core.Types.XsltParameter class NAnt.Core.Types.XsltParameterEnumerator::get_Current() - IL_03c6: stloc.s 19 - IL_03c8: nop - IL_03c9: ldarg.0 - IL_03ca: call instance bool class NAnt.Core.Task::get_IfDefined() - IL_03cf: brfalse IL_03fd + } // end of class NAnt.Core.Functions.DateTimeFunctions +} - IL_03d4: ldarg.0 - IL_03d5: call instance bool class NAnt.Core.Task::get_UnlessDefined() - IL_03da: brtrue IL_03fd +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit DateTimeConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 64 61 74 65 74 69 6D 65 0A 43 6F 6E 76 // ...datetime.Conv + 65 72 73 69 6F 6E 00 00 ) // ersion.. - IL_03df: nop - IL_03e0: ldloc.s 18 - IL_03e2: ldloc.s 19 - IL_03e4: callvirt instance string class NAnt.Core.Types.XsltParameter::get_ParameterName() - IL_03e9: ldloc.s 19 - IL_03eb: callvirt instance string class NAnt.Core.Types.XsltParameter::get_NamespaceUri() - IL_03f0: ldloc.s 19 - IL_03f2: callvirt instance string class NAnt.Core.Types.XsltParameter::get_Value() - IL_03f7: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_03fc: nop - IL_03fd: nop - IL_03fe: ldloc.s 20 - IL_0400: callvirt instance bool class NAnt.Core.Types.XsltParameterEnumerator::MoveNext() - IL_0405: brtrue IL_03bf - IL_040a: leave IL_0426 + // method line 754 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x121f7 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DateTimeConversionFunctions::.ctor - } // end .try 1 - finally { // 1 - IL_040f: ldloc.s 20 - IL_0411: isinst [mscorlib]System.IDisposable - IL_0416: dup - IL_0417: stloc.s 21 - IL_0419: brfalse IL_0425 + // method line 755 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime Parse (string s) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. - IL_041e: ldloc.s 21 - IL_0420: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0425: endfinally - } // end handler 1 - IL_0426: nop - IL_0427: ldarg.0 - IL_0428: call instance class NAnt.Core.Types.XsltExtensionObjectCollection class NAnt.Core.Tasks.StyleTask::get_ExtensionObjects() - IL_042d: callvirt instance class NAnt.Core.Types.XsltExtensionObjectEnumerator class NAnt.Core.Types.XsltExtensionObjectCollection::GetEnumerator() - IL_0432: stloc.s 23 - .try { // 2 - IL_0434: br IL_0477 + // Method begins at RVA 0x12204 + // Code size 20 (0x14) + .maxstack 2 + .locals init ( + valuetype [mscorlib]System.DateTime V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Parse(string, class [mscorlib]System.IFormatProvider) + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0439: ldloc.s 23 - IL_043b: callvirt instance class NAnt.Core.Types.XsltExtensionObject class NAnt.Core.Types.XsltExtensionObjectEnumerator::get_Current() - IL_0440: stloc.s 22 - IL_0442: nop - IL_0443: ldloc.s 22 - IL_0445: callvirt instance bool class NAnt.Core.Types.XsltExtensionObject::get_IfDefined() - IL_044a: brfalse IL_0476 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DateTimeConversionFunctions::Parse - IL_044f: ldloc.s 22 - IL_0451: callvirt instance bool class NAnt.Core.Types.XsltExtensionObject::get_UnlessDefined() - IL_0456: brtrue IL_0476 + // method line 756 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.DateTime 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - IL_045b: nop - IL_045c: ldloc.s 22 - IL_045e: callvirt instance object class NAnt.Core.Types.XsltExtensionObject::CreateInstance() - IL_0463: stloc.s 24 - IL_0465: ldloc.s 18 - IL_0467: ldloc.s 22 - IL_0469: callvirt instance string class NAnt.Core.Types.XsltExtensionObject::get_NamespaceUri() - IL_046e: ldloc.s 24 - IL_0470: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) - IL_0475: nop - IL_0476: nop - IL_0477: ldloc.s 23 - IL_0479: callvirt instance bool class NAnt.Core.Types.XsltExtensionObjectEnumerator::MoveNext() - IL_047e: brtrue IL_0439 + // Method begins at RVA 0x12224 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0483: leave IL_049f + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DateTimeConversionFunctions::ToString - } // end .try 2 - finally { // 2 - IL_0488: ldloc.s 23 - IL_048a: isinst [mscorlib]System.IDisposable - IL_048f: dup - IL_0490: stloc.s 25 - IL_0492: brfalse IL_049e + // method line 757 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.DateTime 'value', string format) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 66 6F 72 6D 61 74 2D 74 6F 2D 73 74 72 // ...format-to-str + 69 6E 67 00 00 ) // ing.. - IL_0497: ldloc.s 25 - IL_0499: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_049e: endfinally - } // end handler 2 - .try { // 3 - IL_049f: nop - IL_04a0: ldarg.0 - IL_04a1: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_04a6: callvirt instance bool class [System]System.Uri::get_IsFile() - IL_04ab: brfalse IL_04d0 + // Method begins at RVA 0x12248 + // Code size 22 (0x16) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: ldarg.1 + IL_0004: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0009: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_04b0: nop - IL_04b1: ldarg.0 - IL_04b2: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_04b7: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_04bc: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_04c1: stloc.s 26 - IL_04c3: ldloc.s 26 - IL_04c5: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_04ca: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) - IL_04cf: nop - IL_04d0: ldarg.0 - IL_04d1: ldc.i4 2000 - IL_04d6: ldstr "Loading stylesheet '{0}'." - IL_04db: ldc.i4.1 - IL_04dc: newarr [mscorlib]System.Object - IL_04e1: dup - IL_04e2: ldc.i4.0 - IL_04e3: ldarg.0 - IL_04e4: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_04e9: stelem.ref - IL_04ea: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_04ef: ldarg.0 - IL_04f0: ldarg.0 - IL_04f1: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_04f6: callvirt instance class [System.Xml]System.Xml.XmlReader class NAnt.Core.Tasks.StyleTask::CreateXmlReader(class [System]System.Uri) - IL_04fb: stloc.s 14 - IL_04fd: ldarg.0 - IL_04fe: ldloc.s 10 - IL_0500: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0505: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.StyleTask::CreateWriter(string) - IL_050a: stloc.s 15 - IL_050c: ldarg.0 - IL_050d: ldc.i4 3000 - IL_0512: ldstr "Processing '{0}' to '{1}'." - IL_0517: ldc.i4.2 - IL_0518: newarr [mscorlib]System.Object - IL_051d: dup - IL_051e: ldc.i4.0 - IL_051f: ldloc.s 9 - IL_0521: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0526: stelem.ref - IL_0527: dup - IL_0528: ldc.i4.1 - IL_0529: ldloc.s 10 - IL_052b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0530: stelem.ref - IL_0531: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0536: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_053b: stloc.s 27 - IL_053d: ldloc.s 27 - IL_053f: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0544: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0549: stloc.s 28 - IL_054b: ldarg.0 - IL_054c: ldc.i4 2000 - IL_0551: ldstr "Using {0} to load '{1}'." - IL_0556: ldc.i4.2 - IL_0557: newarr [mscorlib]System.Object - IL_055c: dup - IL_055d: ldc.i4.0 - IL_055e: ldloc.s 28 - IL_0560: stelem.ref - IL_0561: dup - IL_0562: ldc.i4.1 - IL_0563: ldarg.0 - IL_0564: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_0569: stelem.ref - IL_056a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_056f: ldloc.s 27 - IL_0571: ldloc.s 14 - IL_0573: ldc.i4.1 - IL_0574: ldc.i4.1 - IL_0575: newobj instance void class [System.Xml]System.Xml.Xsl.XsltSettings::'.ctor'(bool, bool) - IL_057a: newobj instance void class [System.Xml]System.Xml.XmlUrlResolver::'.ctor'() - IL_057f: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Load(class [System.Xml]System.Xml.XmlReader, class [System.Xml]System.Xml.Xsl.XsltSettings, class [System.Xml]System.Xml.XmlResolver) - IL_0584: ldarg.0 - IL_0585: ldc.i4 2000 - IL_058a: ldstr "Using {0} to process '{1}' to '{2}'." - IL_058f: ldc.i4.3 - IL_0590: newarr [mscorlib]System.Object - IL_0595: dup - IL_0596: ldc.i4.0 - IL_0597: ldloc.s 28 - IL_0599: stelem.ref - IL_059a: dup - IL_059b: ldc.i4.1 - IL_059c: ldloc.s 9 - IL_059e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_05a3: stelem.ref - IL_05a4: dup - IL_05a5: ldc.i4.2 - IL_05a6: ldloc.s 10 - IL_05a8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_05ad: stelem.ref - IL_05ae: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_05b3: ldloc.s 27 - IL_05b5: ldloc.s 17 - IL_05b7: ldloc.s 18 - IL_05b9: ldloc.s 15 - IL_05bb: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Transform(class [System.Xml]System.Xml.XPath.IXPathNavigable, class [System.Xml]System.Xml.Xsl.XsltArgumentList, class [mscorlib]System.IO.TextWriter) - IL_05c0: nop - IL_05c1: leave IL_05d0 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method DateTimeConversionFunctions::ToString - } // end .try 3 - finally { // 3 - IL_05c6: nop - IL_05c7: ldloc.s 16 - IL_05c9: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) - IL_05ce: nop - IL_05cf: endfinally - } // end handler 3 - IL_05d0: nop - IL_05d1: leave IL_063b + } // end of class NAnt.Core.Functions.DateTimeConversionFunctions +} - } // end .try 4 - catch class [mscorlib]System.Exception { // 4 - IL_05d6: stloc.s 29 - IL_05d8: nop - IL_05d9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_05de: ldstr "NA1151" - IL_05e3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_05e8: ldloc.s 9 - IL_05ea: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_05ef: ldarg.0 - IL_05f0: call instance class [System]System.Uri class NAnt.Core.Tasks.StyleTask::get_XsltFile() - IL_05f5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_05fa: ldarg.0 - IL_05fb: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0600: ldloc.s 29 - IL_0602: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0607: throw - } // end handler 4 - } // end .try 5 - finally { // 5 - IL_0608: nop - IL_0609: ldloc.s 13 - IL_060b: brfalse IL_0619 - - IL_0610: nop - IL_0611: ldloc.s 13 - IL_0613: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() - IL_0618: nop - IL_0619: ldloc.s 14 - IL_061b: brfalse IL_0629 - - IL_0620: nop - IL_0621: ldloc.s 14 - IL_0623: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() - IL_0628: nop - IL_0629: ldloc.s 15 - IL_062b: brfalse IL_0639 - - IL_0630: nop - IL_0631: ldloc.s 15 - IL_0633: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0638: nop - IL_0639: nop - IL_063a: endfinally - } // end handler 5 - IL_063b: nop - IL_063c: nop - IL_063d: ldloc.s 5 - IL_063f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0644: brtrue IL_01c2 - - IL_0649: leave IL_0665 +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit FrameworkFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 09 66 72 61 6D 65 77 6F 72 6B 04 4E 41 6E // ...framework.NAn + 74 00 00 ) // t.. - } // end .try 6 - finally { // 6 - IL_064e: ldloc.s 5 - IL_0650: isinst [mscorlib]System.IDisposable - IL_0655: dup - IL_0656: stloc.s 30 - IL_0658: brfalse IL_0664 - IL_065d: ldloc.s 30 - IL_065f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0664: endfinally - } // end handler 6 - IL_0665: ret - } // end of method StyleTask::ExecuteTask + // method line 758 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x1226a + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method FrameworkFunctions::.ctor - // method line 978 - .method family virtual hidebysig newslot - instance default class [System.Xml]System.Xml.XmlReader CreateXmlReader (class [System]System.Uri uri) cil managed + // method line 759 + .method public hidebysig + instance default bool Exists (string framework) cil managed { - // Method begins at RVA 0xfba4 - // Code size 175 (0xaf) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + + // Method begins at RVA 0x12278 + // Code size 42 (0x2a) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.Stream V_0, - class [System.Xml]System.Xml.XmlUrlResolver V_1, - class [System]System.Net.HttpWebRequest V_2, - class [System.Xml]System.Xml.XmlTextReader V_3, - class [System.Xml]System.Xml.XmlReader V_4) + class NAnt.Core.FrameworkInfo V_0, + bool V_1) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldarg.1 - IL_0006: callvirt instance bool class [System]System.Uri::get_IsFile() - IL_000b: brfalse IL_0025 - - IL_0010: nop - IL_0011: ldarg.1 - IL_0012: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_0017: ldc.i4.3 - IL_0018: ldc.i4.1 - IL_0019: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) - IL_001e: stloc.0 - IL_001f: nop - IL_0020: br IL_008b - - IL_0025: nop - IL_0026: newobj instance void class [System.Xml]System.Xml.XmlUrlResolver::'.ctor'() - IL_002b: stloc.1 - IL_002c: ldarg.1 - IL_002d: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(class [System]System.Uri) - IL_0032: castclass [System]System.Net.HttpWebRequest - IL_0037: stloc.2 - IL_0038: ldarg.0 - IL_0039: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() - IL_003e: brfalse IL_0071 + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_000c: ldarg.1 + IL_000d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: brfalse IL_0021 - IL_0043: nop - IL_0044: ldloc.2 - IL_0045: ldarg.0 - IL_0046: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() - IL_004b: callvirt instance class [System]System.Net.IWebProxy class NAnt.Core.Types.Proxy::GetWebProxy() - IL_0050: callvirt instance void class [System]System.Net.WebRequest::set_Proxy(class [System]System.Net.IWebProxy) - IL_0055: ldloc.1 - IL_0056: ldarg.0 - IL_0057: call instance class NAnt.Core.Types.Proxy class NAnt.Core.Tasks.StyleTask::get_Proxy() - IL_005c: callvirt instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() - IL_0061: callvirt instance class [System]System.Net.ICredentials class NAnt.Core.Types.Credential::GetCredential() - IL_0066: callvirt instance void class [System.Xml]System.Xml.XmlResolver::set_Credentials(class [System]System.Net.ICredentials) - IL_006b: nop - IL_006c: br IL_007e + IL_0019: ldloc.0 + IL_001a: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() + IL_001f: br.s IL_0022 - IL_0071: nop - IL_0072: ldloc.1 - IL_0073: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() - IL_0078: callvirt instance void class [System.Xml]System.Xml.XmlResolver::set_Credentials(class [System]System.Net.ICredentials) - IL_007d: nop - IL_007e: ldloc.2 - IL_007f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_0084: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() - IL_0089: stloc.0 - IL_008a: nop - IL_008b: ldarg.1 - IL_008c: callvirt instance string object::ToString() - IL_0091: ldloc.0 - IL_0092: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(string, class [mscorlib]System.IO.Stream) - IL_0097: stloc.3 - IL_0098: ldloc.3 - IL_0099: ldloc.1 - IL_009a: callvirt instance void class [System.Xml]System.Xml.XmlTextReader::set_XmlResolver(class [System.Xml]System.Xml.XmlResolver) - IL_009f: ldloc.3 - IL_00a0: newobj instance void class [System.Xml]System.Xml.XmlValidatingReader::'.ctor'(class [System.Xml]System.Xml.XmlReader) - IL_00a5: stloc.s 4 - IL_00a7: br IL_00ac + IL_0021: ldc.i4.0 + IL_0022: stloc.1 + IL_0023: br IL_0028 - IL_00ac: ldloc.s 4 - IL_00ae: ret - } // end of method StyleTask::CreateXmlReader + IL_0028: ldloc.1 + IL_0029: ret + } // end of method FrameworkFunctions::Exists - // method line 979 - .method family virtual hidebysig newslot - instance default class [mscorlib]System.IO.TextWriter CreateWriter (string filepath) cil managed + // method line 760 + .method public hidebysig + instance default bool SdkExists (string framework) cil managed { - // Method begins at RVA 0xfc60 - // Code size 58 (0x3a) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 73 64 6B 2D 65 78 69 73 74 73 00 00 ) // ...sdk-exists.. + + // Method begins at RVA 0x122b0 + // Code size 29 (0x1d) + .maxstack 2 .locals init ( - string V_0, - class [mscorlib]System.IO.TextWriter V_1) + class NAnt.Core.FrameworkInfo V_0, + bool V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_0007: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: call bool string::IsNullOrEmpty(string) - IL_0013: brtrue IL_002c - - IL_0018: ldloc.0 - IL_0019: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_001e: brtrue IL_002c - - IL_0023: nop - IL_0024: ldloc.0 - IL_0025: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_002a: pop - IL_002b: nop - IL_002c: ldarg.1 - IL_002d: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) - IL_0032: stloc.1 - IL_0033: br IL_0038 - - IL_0038: ldloc.1 - IL_0039: ret - } // end of method StyleTask::CreateWriter - - .property instance class [mscorlib]System.IO.DirectoryInfo DestDir () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 64 65 73 74 64 69 72 01 00 54 02 08 52 // ...destdir..T..R - 65 71 75 69 72 65 64 00 ) // equired. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::get_DestDir () - .set instance default void NAnt.Core.Tasks.StyleTask::set_DestDir (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance string Extension () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 65 78 74 65 6E 73 69 6F 6E 01 00 54 02 // ...extension..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. - - .get instance default string NAnt.Core.Tasks.StyleTask::get_Extension () - .set instance default void NAnt.Core.Tasks.StyleTask::set_Extension (string 'value') - } - .property instance class [System]System.Uri XsltFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 73 74 79 6C 65 01 00 54 02 08 52 65 71 // ...style..T..Req - 75 69 72 65 64 01 ) // uired. - - .get instance default class [System]System.Uri NAnt.Core.Tasks.StyleTask::get_XsltFile () - .set instance default void NAnt.Core.Tasks.StyleTask::set_XsltFile (class [System]System.Uri 'value') - } - .property instance class [mscorlib]System.IO.FileInfo SrcFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 69 6E 01 00 54 02 08 52 65 71 75 69 72 // ...in..T..Requir - 65 64 00 ) // ed. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::get_SrcFile () - .set instance default void NAnt.Core.Tasks.StyleTask::set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 6F 75 74 01 00 54 02 08 52 65 71 75 69 // ...out..T..Requi - 72 65 64 00 ) // red. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::get_OutputFile () - .set instance default void NAnt.Core.Tasks.StyleTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class NAnt.Core.Types.FileSet InFiles () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6E 66 69 6C 65 73 00 00 ) // ...infiles.. - - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::get_InFiles () - .set instance default void NAnt.Core.Tasks.StyleTask::set_InFiles (class NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.Core.Types.XsltParameterCollection Parameters () - { - .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0A 70 61 72 61 6D 65 74 65 72 73 09 70 61 // ...parameters.pa - 72 61 6D 65 74 65 72 00 00 ) // rameter.. - - .get instance default class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::get_Parameters () - } - .property instance class NAnt.Core.Types.XsltExtensionObjectCollection ExtensionObjects () - { - .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 10 65 78 74 65 6E 73 69 6F 6E 6F 62 6A 65 // ...extensionobje - 63 74 73 0F 65 78 74 65 6E 73 69 6F 6E 6F 62 6A // cts.extensionobj - 65 63 74 00 00 ) // ect.. - - .get instance default class NAnt.Core.Types.XsltExtensionObjectCollection NAnt.Core.Tasks.StyleTask::get_ExtensionObjects () - } - .property instance class NAnt.Core.Types.Proxy Proxy () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. - - .get instance default class NAnt.Core.Types.Proxy NAnt.Core.Tasks.StyleTask::get_Proxy () - .set instance default void NAnt.Core.Tasks.StyleTask::set_Proxy (class NAnt.Core.Types.Proxy 'value') - } - } // end of class NAnt.Core.Tasks.StyleTask -} + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_000f: ldnull + IL_0010: ceq + IL_0012: ldc.i4.0 + IL_0013: ceq + IL_0015: stloc.1 + IL_0016: br IL_001b -.namespace NAnt.Core.Tasks -{ - .class public auto ansi abstract serializable beforefieldinit ExternalProgramBase - extends NAnt.Core.Task - { - .field private class [mscorlib]System.IO.StreamReader _stdError - .field private class [mscorlib]System.IO.StreamReader _stdOut - .field private class NAnt.Core.Types.ArgumentCollection _arguments - .field private valuetype NAnt.Core.Types.ManagedExecution _managed - .field private string _exeName - .field private int32 _timeout - .field private class [mscorlib]System.IO.TextWriter _outputWriter - .field private class [mscorlib]System.IO.TextWriter _errorWriter - .field private int32 _exitCode - .field private bool _spawn - .field private int32 _processId - .field private bool _useRuntimeEngine - .field public static literal int32 UnknownExitCode = int32(0xfffffc18) - .field private static initonly class [log4net]log4net.ILog logger - .field private static object _lockObject + IL_001b: ldloc.1 + IL_001c: ret + } // end of method FrameworkFunctions::SdkExists - // method line 980 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 761 + .method public hidebysig + instance default string GetTargetFramework () cil managed { - // Method begins at RVA 0xfca6 - // Code size 54 (0x36) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.ArgumentCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Tasks.ExternalProgramBase::_arguments - IL_000b: ldarg.0 - IL_000c: ldc.i4.0 - IL_000d: stfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed - IL_0012: ldarg.0 - IL_0013: ldc.i4 2147483647 - IL_0018: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_timeout - IL_001d: ldarg.0 - IL_001e: ldc.i4 -1000 - IL_0023: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_exitCode - IL_0028: ldarg.0 - IL_0029: ldc.i4.0 - IL_002a: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId - IL_002f: ldarg.0 - IL_0030: call instance void class NAnt.Core.Task::'.ctor'() - IL_0035: ret - } // end of method ExternalProgramBase::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 14 67 65 74 2D 74 61 72 67 65 74 2D 66 72 // ...get-target-fr + 61 6D 65 77 6F 72 6B 00 00 ) // amework.. - // method line 981 - .method public virtual hidebysig newslot specialname - instance default string get_ExeName () cil managed - { - // Method begins at RVA 0xfce0 - // Code size 37 (0x25) + // Method begins at RVA 0x122dc + // Code size 25 (0x19) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName - IL_0007: brfalse IL_0017 - - IL_000c: ldarg.0 - IL_000d: ldfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName - IL_0012: br IL_001d - - IL_0017: ldarg.0 - IL_0018: callvirt instance string class NAnt.Core.Element::get_Name() - IL_001d: stloc.0 - IL_001e: br IL_0023 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0023: ldloc.0 - IL_0024: ret - } // end of method ExternalProgramBase::get_ExeName + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetTargetFramework - // method line 982 - .method public virtual hidebysig newslot specialname - instance default void set_ExeName (string 'value') cil managed + // method line 762 + .method public hidebysig + instance default string GetRuntimeFramework () cil managed { - // Method begins at RVA 0xfd11 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName - IL_0008: ret - } // end of method ExternalProgramBase::set_ExeName + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 15 67 65 74 2D 72 75 6E 74 69 6D 65 2D 66 // ...get-runtime-f + 72 61 6D 65 77 6F 72 6B 00 00 ) // ramework.. - // method line 983 - .method public virtual hidebysig newslot specialname - instance default string get_ProgramFileName () cil managed - { - // Method begins at RVA 0xfd1c - // Code size 15 (0xf) + // Method begins at RVA 0x12304 + // Code size 25 (0x19) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.Tasks.ExternalProgramBase::DetermineFilePath() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_000c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExternalProgramBase::get_ProgramFileName + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetRuntimeFramework - // method line 984 - .method public virtual hidebysig newslot abstract specialname - instance default string get_ProgramArguments () cil managed + // method line 763 + .method public hidebysig + instance default string GetFamily (string framework) cil managed { - // Method begins at RVA 0x0 - } // end of method ExternalProgramBase::get_ProgramArguments + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 66 61 6D 69 6C 79 00 00 ) // ...get-family.. - // method line 985 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed - { - // Method begins at RVA 0xfd38 - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x1232c + // Code size 23 (0x17) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() + IL_000f: stloc.1 + IL_0010: br IL_0015 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ExternalProgramBase::get_Output + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetFamily - // method line 986 - .method public virtual hidebysig newslot specialname - instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 764 + .method public hidebysig + instance default class [mscorlib]System.Version GetVersion () cil managed { - // Method begins at RVA 0xfd4e - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method ExternalProgramBase::set_Output + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. - // method line 987 - .method public virtual hidebysig newslot specialname - instance default bool get_OutputAppend () cil managed - { - // Method begins at RVA 0xfd54 - // Code size 10 (0xa) + // Method begins at RVA 0x12350 + // Code size 25 (0x19) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Version V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000c: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ExternalProgramBase::get_OutputAppend + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetVersion - // method line 988 - .method public virtual hidebysig newslot specialname - instance default void set_OutputAppend (bool 'value') cil managed + // method line 765 + .method public hidebysig + instance default class [mscorlib]System.Version GetVersion (string framework) cil managed { - // Method begins at RVA 0xfd6a - // Code size 2 (0x2) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. + + // Method begins at RVA 0x12378 + // Code size 23 (0x17) + .maxstack 2 + .locals init ( + class NAnt.Core.FrameworkInfo V_0, + class [mscorlib]System.Version V_1) IL_0000: nop - IL_0001: ret - } // end of method ExternalProgramBase::set_OutputAppend + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() + IL_000f: stloc.1 + IL_0010: br IL_0015 - // method line 989 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetVersion + + // method line 766 + .method public hidebysig + instance default string GetDescription () cil managed { - // Method begins at RVA 0xfd70 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 64 65 73 63 72 69 70 74 69 // ...get-descripti + 6F 6E 00 00 ) // on.. + + // Method begins at RVA 0x1239c // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_000c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() IL_0011: stloc.0 IL_0012: br IL_0017 IL_0017: ldloc.0 IL_0018: ret - } // end of method ExternalProgramBase::get_BaseDirectory + } // end of method FrameworkFunctions::GetDescription - // method line 990 - .method public virtual hidebysig newslot specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 767 + .method public hidebysig + instance default string GetDescription (string framework) cil managed { - // Method begins at RVA 0xfd95 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method ExternalProgramBase::set_BaseDirectory + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 64 65 73 63 72 69 70 74 69 // ...get-descripti + 6F 6E 00 00 ) // on.. - // method line 991 - .method public hidebysig specialname - instance default int32 get_TimeOut () cil managed - { - // Method begins at RVA 0xfd98 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x123c4 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - int32 V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_timeout - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_000f: stloc.1 + IL_0010: br IL_0015 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExternalProgramBase::get_TimeOut + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetDescription - // method line 992 - .method public hidebysig specialname - instance default void set_TimeOut (int32 'value') cil managed + // method line 768 + .method public hidebysig + instance default class [mscorlib]System.Version GetClrVersion () cil managed { - // Method begins at RVA 0xfdb3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_timeout - IL_0008: ret - } // end of method ExternalProgramBase::set_TimeOut + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 63 6C 72 2D 76 65 72 73 69 // ...get-clr-versi + 6F 6E 00 00 ) // on.. - // method line 993 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed - { - // Method begins at RVA 0xfdc0 - // Code size 15 (0xf) + // Method begins at RVA 0x123e8 + // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Types.ArgumentCollection V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Tasks.ExternalProgramBase::_arguments - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000c: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExternalProgramBase::get_Arguments + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetClrVersion - // method line 994 - .method public virtual hidebysig newslot specialname - instance default bool get_UseRuntimeEngine () cil managed + // method line 769 + .method public hidebysig + instance default class [mscorlib]System.Version GetClrVersion (string framework) cil managed { - // Method begins at RVA 0xfddc - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 63 6C 72 2D 76 65 72 73 69 // ...get-clr-versi + 6F 6E 00 00 ) // on.. + + // Method begins at RVA 0x12410 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0, + class [mscorlib]System.Version V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.ExternalProgramBase::_useRuntimeEngine - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_000f: stloc.1 + IL_0010: br IL_0015 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExternalProgramBase::get_UseRuntimeEngine + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetClrVersion - // method line 995 - .method public virtual hidebysig newslot specialname - instance default void set_UseRuntimeEngine (bool 'value') cil managed + // method line 770 + .method public hidebysig + instance default string GetFrameworkDirectory (string framework) cil managed { - // Method begins at RVA 0xfdf7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.ExternalProgramBase::_useRuntimeEngine - IL_0008: ret - } // end of method ExternalProgramBase::set_UseRuntimeEngine + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 17 67 65 74 2D 66 72 61 6D 65 77 6F 72 6B // ...get-framework + 2D 64 69 72 65 63 74 6F 72 79 00 00 ) // -directory.. - // method line 996 - .method public virtual hidebysig newslot specialname - instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed - { - // Method begins at RVA 0xfe04 - // Code size 45 (0x2d) - .maxstack 1 + // Method begins at RVA 0x12434 + // Code size 28 (0x1c) + .maxstack 2 .locals init ( - valuetype NAnt.Core.Types.ManagedExecution V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_UseRuntimeEngine() - IL_0007: brfalse IL_001f - - IL_000c: ldarg.0 - IL_000d: ldfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed - IL_0012: brtrue IL_001f - - IL_0017: nop - IL_0018: ldc.i4.1 - IL_0019: stloc.0 - IL_001a: br IL_002b - - IL_001f: ldarg.0 - IL_0020: ldfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed - IL_0025: stloc.0 - IL_0026: br IL_002b + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_000f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0014: stloc.1 + IL_0015: br IL_001a - IL_002b: ldloc.0 - IL_002c: ret - } // end of method ExternalProgramBase::get_Managed + IL_001a: ldloc.1 + IL_001b: ret + } // end of method FrameworkFunctions::GetFrameworkDirectory - // method line 997 - .method public virtual hidebysig newslot specialname - instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed + // method line 771 + .method public hidebysig + instance default string GetAssemblyDirectory (string framework) cil managed { - // Method begins at RVA 0xfe3d - // Code size 22 (0x16) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: ldc.i4.0 - IL_000e: ceq - IL_0010: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_UseRuntimeEngine(bool) - IL_0015: ret - } // end of method ExternalProgramBase::set_Managed + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 16 67 65 74 2D 61 73 73 65 6D 62 6C 79 2D // ...get-assembly- + 64 69 72 65 63 74 6F 72 79 00 00 ) // directory.. - // method line 998 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed - { - // Method begins at RVA 0xfe54 - // Code size 50 (0x32) - .maxstack 4 + // Method begins at RVA 0x1245c + // Code size 28 (0x1c) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.TextWriter V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter - IL_0007: brtrue IL_0024 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: ldc.i4 3000 - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: newobj instance void class NAnt.Core.LogWriter::'.ctor'(class NAnt.Core.Task, valuetype NAnt.Core.Level, class [mscorlib]System.IFormatProvider) - IL_001e: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter - IL_002a: stloc.0 - IL_002b: br IL_0030 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() + IL_000f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0014: stloc.1 + IL_0015: br IL_001a - IL_0030: ldloc.0 - IL_0031: ret - } // end of method ExternalProgramBase::get_OutputWriter + IL_001a: ldloc.1 + IL_001b: ret + } // end of method FrameworkFunctions::GetAssemblyDirectory - // method line 999 - .method public virtual hidebysig newslot specialname - instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + // method line 772 + .method public hidebysig + instance default string GetSdkDirectory (string framework) cil managed { - // Method begins at RVA 0xfe92 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_outputWriter - IL_0008: ret - } // end of method ExternalProgramBase::set_OutputWriter + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 73 64 6B 2D 64 69 72 65 63 // ...get-sdk-direc + 74 6F 72 79 00 00 ) // tory.. - // method line 1000 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.TextWriter get_ErrorWriter () cil managed - { - // Method begins at RVA 0xfe9c - // Code size 50 (0x32) - .maxstack 4 + // Method begins at RVA 0x12484 + // Code size 46 (0x2e) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.TextWriter V_0) + class NAnt.Core.FrameworkInfo V_0, + class [mscorlib]System.IO.DirectoryInfo V_1, + string V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter - IL_0007: brtrue IL_0024 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_000f: stloc.1 + IL_0010: ldloc.1 + IL_0011: brfalse IL_0021 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: ldc.i4 4000 - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: newobj instance void class NAnt.Core.LogWriter::'.ctor'(class NAnt.Core.Task, valuetype NAnt.Core.Level, class [mscorlib]System.IFormatProvider) - IL_001e: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter - IL_002a: stloc.0 - IL_002b: br IL_0030 + IL_0016: ldloc.1 + IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001c: br IL_0026 - IL_0030: ldloc.0 - IL_0031: ret - } // end of method ExternalProgramBase::get_ErrorWriter + IL_0021: ldsfld string [mscorlib]System.String::Empty + IL_0026: stloc.2 + IL_0027: br IL_002c - // method line 1001 - .method public virtual hidebysig newslot specialname - instance default void set_ErrorWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed - { - // Method begins at RVA 0xfeda - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::_errorWriter - IL_0008: ret - } // end of method ExternalProgramBase::set_ErrorWriter + IL_002c: ldloc.2 + IL_002d: ret + } // end of method FrameworkFunctions::GetSdkDirectory - // method line 1002 - .method public hidebysig specialname - instance default int32 get_ExitCode () cil managed + // method line 773 + .method public hidebysig + instance default string GetToolPath (string tool) cil managed { - // Method begins at RVA 0xfee4 - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 74 6F 6F 6C 2D 70 61 74 68 // ...get-tool-path + 00 00 ) // .. + + // Method begins at RVA 0x124c0 + // Code size 57 (0x39) + .maxstack 3 .locals init ( - int32 V_0) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_exitCode - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000c: ldarg.1 + IL_000d: callvirt instance string class NAnt.Core.FrameworkInfo::GetToolPath(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: brtrue IL_0030 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExternalProgramBase::get_ExitCode + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "\"{0}\" could not be found in any of the configured tool paths." + IL_0024: ldarg.1 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: stloc.1 + IL_0032: br IL_0037 - // method line 1003 - .method family hidebysig specialname - instance default int32 get_ProcessId () cil managed + IL_0037: ldloc.1 + IL_0038: ret + } // end of method FrameworkFunctions::GetToolPath + + // method line 774 + .method public hidebysig + instance default string GetRuntimeEngine (string framework) cil managed { - // Method begins at RVA 0xff00 - // Code size 61 (0x3d) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 72 75 6E 74 69 6D 65 2D 65 // ...get-runtime-e + 6E 67 69 6E 65 00 00 ) // ngine.. + + // Method begins at RVA 0x12508 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - int32 V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() - IL_0007: brtrue IL_0018 - - IL_000c: nop - IL_000d: ldstr "The unique identifier only applies to spawned applications." - IL_0012: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) - IL_0017: throw - IL_0018: ldarg.0 - IL_0019: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId - IL_001e: brtrue IL_002f - - IL_0023: nop - IL_0024: ldstr "The application was not started." - IL_0029: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) - IL_002e: throw - IL_002f: ldarg.0 - IL_0030: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId - IL_0035: stloc.0 - IL_0036: br IL_003b + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance string class NAnt.Core.FrameworkInfo::get_RuntimeEngine() + IL_000f: stloc.1 + IL_0010: br IL_0015 - IL_003b: ldloc.0 - IL_003c: ret - } // end of method ExternalProgramBase::get_ProcessId + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetRuntimeEngine - // method line 1004 - .method public virtual hidebysig newslot specialname - instance default bool get_Spawn () cil managed + // method line 775 + .method public hidebysig + instance default string GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed { - // Method begins at RVA 0xff4c - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 67 65 74 2D 66 72 61 6D 65 77 6F 72 6B // ...get-framework + 73 00 00 ) // s.. + + // Method begins at RVA 0x1252c + // Code size 109 (0x6d) + .maxstack 3 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo[] V_0, + string V_1, + class [mscorlib]System.Text.StringBuilder V_2, + int32 V_3) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.ExternalProgramBase::_spawn - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.Core.FrameworkInfo[] class NAnt.Core.Project::GetFrameworks(valuetype NAnt.Core.FrameworkTypes) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldlen + IL_0010: conv.i4 + IL_0011: brtrue IL_0021 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExternalProgramBase::get_Spawn + IL_0016: ldsfld string [mscorlib]System.String::Empty + IL_001b: stloc.1 + IL_001c: br IL_006b - // method line 1005 - .method public virtual hidebysig newslot specialname - instance default void set_Spawn (bool 'value') cil managed - { - // Method begins at RVA 0xff67 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.ExternalProgramBase::_spawn - IL_0008: ret - } // end of method ExternalProgramBase::set_Spawn + IL_0021: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0026: stloc.2 + IL_0027: ldc.i4.0 + IL_0028: stloc.3 + IL_0029: br IL_0056 - // method line 1006 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0xff74 - // Code size 489 (0x1e9) - .maxstack 4 + IL_002e: nop + IL_002f: ldloc.3 + IL_0030: ldc.i4.0 + IL_0031: ble IL_0042 + + IL_0036: ldloc.2 + IL_0037: ldstr "," + IL_003c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0041: pop + IL_0042: ldloc.2 + IL_0043: ldloc.0 + IL_0044: ldloc.3 + IL_0045: ldelem.ref + IL_0046: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_004b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0050: pop + IL_0051: nop + IL_0052: ldloc.3 + IL_0053: ldc.i4.1 + IL_0054: add + IL_0055: stloc.3 + IL_0056: ldloc.3 + IL_0057: ldloc.0 + IL_0058: ldlen + IL_0059: conv.i4 + IL_005a: blt IL_002e + + IL_005f: ldloc.2 + IL_0060: callvirt instance string object::ToString() + IL_0065: stloc.1 + IL_0066: br IL_006b + + IL_006b: ldloc.1 + IL_006c: ret + } // end of method FrameworkFunctions::GetFrameworks + + // method line 776 + .method private hidebysig + instance default class NAnt.Core.FrameworkInfo GetFramework (string framework) cil managed + { + // Method begins at RVA 0x125a8 + // Code size 114 (0x72) + .maxstack 3 .locals init ( - class [mscorlib]System.Threading.Thread V_0, - class [mscorlib]System.Threading.Thread V_1, - class [System]System.Diagnostics.Process V_2, - class NAnt.Core.BuildException V_3, - class [mscorlib]System.Exception V_4) + class NAnt.Core.FrameworkInfo V_0, + class NAnt.Core.FrameworkInfo V_1) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - .try { // 3 - .try { // 1 - IL_0005: nop - IL_0006: ldarg.0 - IL_0007: callvirt instance class [System]System.Diagnostics.Process class NAnt.Core.Tasks.ExternalProgramBase::StartProcess() - IL_000c: stloc.2 - IL_000d: ldarg.0 - IL_000e: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() - IL_0013: brfalse IL_002a - - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldloc.2 - IL_001b: callvirt instance int32 class [System]System.Diagnostics.Process::get_Id() - IL_0020: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_processId - IL_0025: leave IL_01e8 + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0008: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000d: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_0012: call bool string::op_Equality(string, string) + IL_0017: brfalse IL_002e - IL_002a: ldarg.0 - IL_002b: ldftn instance void class NAnt.Core.Tasks.ExternalProgramBase::StreamReaderThread_Output() - IL_0031: newobj instance void class [mscorlib]System.Threading.ThreadStart::'.ctor'(object, native int) - IL_0036: newobj instance void class [mscorlib]System.Threading.Thread::'.ctor'(class [mscorlib]System.Threading.ThreadStart) - IL_003b: stloc.0 - IL_003c: ldarg.0 - IL_003d: ldftn instance void class NAnt.Core.Tasks.ExternalProgramBase::StreamReaderThread_Error() - IL_0043: newobj instance void class [mscorlib]System.Threading.ThreadStart::'.ctor'(object, native int) - IL_0048: newobj instance void class [mscorlib]System.Threading.Thread::'.ctor'(class [mscorlib]System.Threading.ThreadStart) - IL_004d: stloc.1 - IL_004e: ldarg.0 - IL_004f: ldloc.2 - IL_0050: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardOutput() - IL_0055: stfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdOut - IL_005a: ldarg.0 - IL_005b: ldloc.2 - IL_005c: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardError() - IL_0061: stfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdError - IL_0066: ldloc.0 - IL_0067: callvirt instance void class [mscorlib]System.Threading.Thread::Start() - IL_006c: ldloc.1 - IL_006d: callvirt instance void class [mscorlib]System.Threading.Thread::Start() - IL_0072: ldloc.2 - IL_0073: ldarg.0 - IL_0074: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_TimeOut() - IL_0079: callvirt instance bool class [System]System.Diagnostics.Process::WaitForExit(int32) - IL_007e: pop - IL_007f: ldloc.0 - IL_0080: ldc.i4 2000 - IL_0085: callvirt instance bool class [mscorlib]System.Threading.Thread::Join(int32) - IL_008a: pop - IL_008b: ldloc.1 - IL_008c: ldc.i4 2000 - IL_0091: callvirt instance bool class [mscorlib]System.Threading.Thread::Join(int32) - IL_0096: pop - IL_0097: ldloc.2 - IL_0098: callvirt instance bool class [System]System.Diagnostics.Process::get_HasExited() - IL_009d: brtrue IL_00e9 + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0023: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0028: stloc.0 + IL_0029: br IL_0070 - IL_00a2: nop - .try { // 0 - IL_00a3: nop - IL_00a4: ldloc.2 - IL_00a5: callvirt instance void class [System]System.Diagnostics.Process::Kill() - IL_00aa: nop - IL_00ab: leave IL_00b8 + IL_002e: ldarg.0 + IL_002f: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0034: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_0039: ldarg.1 + IL_003a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_003f: stloc.1 + IL_0040: ldloc.1 + IL_0041: brtrue IL_0062 - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_00b0: pop - IL_00b1: nop - IL_00b2: nop - IL_00b3: leave IL_00b8 + IL_0046: nop + IL_0047: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004c: ldstr "NA1096" + IL_0051: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0056: ldarg.1 + IL_0057: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005c: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0061: throw + IL_0062: nop + IL_0063: ldloc.1 + IL_0064: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() + IL_0069: ldloc.1 + IL_006a: stloc.0 + IL_006b: br IL_0070 - } // end handler 0 - IL_00b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00bd: ldstr "NA1118" - IL_00c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00c7: ldarg.0 - IL_00c8: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_00cd: ldarg.0 - IL_00ce: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_TimeOut() - IL_00d3: box [mscorlib]System.Int32 - IL_00d8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00dd: ldarg.0 - IL_00de: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00e3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00e8: throw - IL_00e9: ldarg.0 - IL_00ea: ldloc.2 - IL_00eb: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() - IL_00f0: stfld int32 NAnt.Core.Tasks.ExternalProgramBase::_exitCode - IL_00f5: ldloc.2 - IL_00f6: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() - IL_00fb: brfalse IL_0132 + IL_0070: ldloc.0 + IL_0071: ret + } // end of method FrameworkFunctions::GetFramework - IL_0100: nop - IL_0101: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0106: ldstr "NA1119" - IL_010b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0110: ldarg.0 - IL_0111: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_0116: ldloc.2 - IL_0117: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() - IL_011c: box [mscorlib]System.Int32 - IL_0121: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0126: ldarg.0 - IL_0127: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_012c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0131: throw - IL_0132: nop - IL_0133: leave IL_01e8 + } // end of class NAnt.Core.Functions.FrameworkFunctions +} - } // end .try 1 - catch class NAnt.Core.BuildException { // 1 - IL_0138: stloc.3 - IL_0139: nop - IL_013a: ldarg.0 - IL_013b: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0140: brfalse IL_0148 +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit DirectoryFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 09 64 69 72 65 63 74 6F 72 79 09 44 69 72 // ...directory.Dir + 65 63 74 6F 72 79 00 00 ) // ectory.. - IL_0145: nop - IL_0146: rethrow - IL_0148: nop - IL_0149: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger - IL_014e: ldstr "Execution Error" - IL_0153: ldloc.3 - IL_0154: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) - IL_0159: ldarg.0 - IL_015a: ldc.i4 5000 - IL_015f: ldloc.3 - IL_0160: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0165: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_016a: nop - IL_016b: nop - IL_016c: leave IL_01e8 - } // end handler 1 - catch class [mscorlib]System.Exception { // 2 - IL_0171: stloc.s 4 - IL_0173: nop - IL_0174: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger - IL_0179: ldstr "Execution Error" - IL_017e: ldloc.s 4 - IL_0180: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) - IL_0185: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_018a: ldstr "{0}: {1} had errors. Please see log4net log." - IL_018f: ldarg.0 - IL_0190: call instance class [mscorlib]System.Type object::GetType() - IL_0195: callvirt instance string object::ToString() - IL_019a: ldarg.0 - IL_019b: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_01a0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_01a5: ldarg.0 - IL_01a6: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_01ab: ldloc.s 4 - IL_01ad: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_01b2: throw - } // end handler 2 - } // end .try 3 - finally { // 3 - IL_01b3: nop - IL_01b4: ldloc.0 - IL_01b5: brfalse IL_01cd + // method line 777 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x12626 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DirectoryFunctions::.ctor - IL_01ba: ldloc.0 - IL_01bb: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() - IL_01c0: brfalse IL_01cd + // method line 778 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 63 72 65 61 74 69 6F 6E 2D // ...get-creation- + 74 69 6D 65 00 00 ) // time.. - IL_01c5: nop - IL_01c6: ldloc.0 - IL_01c7: callvirt instance void class [mscorlib]System.Threading.Thread::Abort() - IL_01cc: nop - IL_01cd: ldloc.1 - IL_01ce: brfalse IL_01e6 + // Method begins at RVA 0x12634 + // Code size 62 (0x3e) + .maxstack 3 + .locals init ( + string V_0, + valuetype [mscorlib]System.DateTime V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0014: brtrue IL_0030 - IL_01d3: ldloc.1 - IL_01d4: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() - IL_01d9: brfalse IL_01e6 + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "Could not find a part of the path \"{0}\"." + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.Directory::GetCreationTime(string) + IL_0036: stloc.1 + IL_0037: br IL_003c - IL_01de: nop - IL_01df: ldloc.1 - IL_01e0: callvirt instance void class [mscorlib]System.Threading.Thread::Abort() - IL_01e5: nop - IL_01e6: nop - IL_01e7: endfinally - } // end handler 3 - IL_01e8: ret - } // end of method ExternalProgramBase::ExecuteTask + IL_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetCreationTime - // method line 1007 - .method public hidebysig specialname - instance default string get_CommandLine () cil managed + // method line 779 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed { - // Method begins at RVA 0x101d0 - // Code size 39 (0x27) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 13 67 65 74 2D 6C 61 73 74 2D 77 72 69 74 // ...get-last-writ + 65 2D 74 69 6D 65 00 00 ) // e-time.. + + // Method begins at RVA 0x12680 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramArguments() - IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0013: ldloc.0 - IL_0014: callvirt instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) - IL_0019: ldloc.0 - IL_001a: callvirt instance string object::ToString() - IL_001f: stloc.1 - IL_0020: br IL_0025 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0014: brtrue IL_0030 - IL_0025: ldloc.1 - IL_0026: ret - } // end of method ExternalProgramBase::get_CommandLine + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "Could not find a part of the path \"{0}\"." + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.Directory::GetLastWriteTime(string) + IL_0036: stloc.1 + IL_0037: br IL_003c - // method line 1008 - .method family virtual hidebysig newslot - instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + IL_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetLastWriteTime + + // method line 780 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed { - // Method begins at RVA 0x10204 - // Code size 451 (0x1c3) - .maxstack 4 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 14 67 65 74 2D 6C 61 73 74 2D 61 63 63 65 // ...get-last-acce + 73 73 2D 74 69 6D 65 00 00 ) // ss-time.. + + // Method begins at RVA 0x126cc + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0, - class [mscorlib]System.Text.StringBuilder V_1, - class NAnt.Core.Types.EnvironmentVariable V_2, - class NAnt.Core.Types.EnvironmentVariableEnumerator V_3, - class [mscorlib]System.IDisposable V_4) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Tasks.ExternalProgramBase::get_ManagedExecutionMode() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_0092 - + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 IL_000e: ldloc.0 - IL_000f: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() - IL_0014: brfalse IL_0092 + IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0014: brtrue IL_0030 IL_0019: nop - IL_001a: ldarg.1 - IL_001b: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0020: ldloc.0 - IL_0021: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() - IL_0026: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0030: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_FileName(string) - IL_0035: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_003a: stloc.1 - IL_003b: ldloc.0 - IL_003c: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() - IL_0041: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Configuration.RuntimeEngine::get_Arguments() - IL_0046: ldloc.1 - IL_0047: callvirt instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) - IL_004c: ldloc.1 - IL_004d: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0052: ldc.i4.0 - IL_0053: blt IL_0063 + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "Could not find a part of the path \"{0}\"." + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.Directory::GetLastAccessTime(string) + IL_0036: stloc.1 + IL_0037: br IL_003c - IL_0058: nop - IL_0059: ldloc.1 - IL_005a: ldc.i4.s 0x20 - IL_005c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0061: pop - IL_0062: nop - IL_0063: ldloc.1 - IL_0064: ldstr "\"{0}\" {1}" - IL_0069: ldarg.0 - IL_006a: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_006f: ldarg.0 - IL_0070: call instance string class NAnt.Core.Tasks.ExternalProgramBase::get_CommandLine() - IL_0075: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object, object) - IL_007a: pop - IL_007b: ldarg.1 - IL_007c: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0081: ldloc.1 - IL_0082: callvirt instance string object::ToString() - IL_0087: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_Arguments(string) - IL_008c: nop - IL_008d: br IL_00b6 + IL_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetLastAccessTime - IL_0092: nop - IL_0093: ldarg.1 - IL_0094: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0099: ldarg.0 - IL_009a: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_009f: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_FileName(string) - IL_00a4: ldarg.1 - IL_00a5: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_00aa: ldarg.0 - IL_00ab: call instance string class NAnt.Core.Tasks.ExternalProgramBase::get_CommandLine() - IL_00b0: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_Arguments(string) - IL_00b5: nop - IL_00b6: ldarg.0 - IL_00b7: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() - IL_00bc: brtrue IL_00db + // method line 781 + .method public static hidebysig + default string GetCurrentDirectory () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 15 67 65 74 2D 63 75 72 72 65 6E 74 2D 64 // ...get-current-d + 69 72 65 63 74 6F 72 79 00 00 ) // irectory.. - IL_00c1: nop - IL_00c2: ldarg.1 - IL_00c3: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_00c8: ldc.i4.1 - IL_00c9: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardOutput(bool) - IL_00ce: ldarg.1 - IL_00cf: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_00d4: ldc.i4.1 - IL_00d5: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardError(bool) - IL_00da: nop - IL_00db: ldarg.1 - IL_00dc: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_00e1: ldc.i4.0 - IL_00e2: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_UseShellExecute(bool) - IL_00e7: ldarg.1 - IL_00e8: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_00ed: ldarg.0 - IL_00ee: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() - IL_00f3: ldc.i4.0 - IL_00f4: ceq - IL_00f6: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_CreateNoWindow(bool) - IL_00fb: ldarg.1 - IL_00fc: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0101: ldarg.0 - IL_0102: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0107: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_010c: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_0111: ldloc.0 - IL_0112: brfalse IL_01c2 - - IL_0117: nop - IL_0118: nop - IL_0119: ldloc.0 - IL_011a: callvirt instance class NAnt.Core.Types.EnvironmentSet class NAnt.Core.Configuration.ManagedExecutionMode::get_Environment() - IL_011f: callvirt instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Types.EnvironmentSet::get_EnvironmentVariables() - IL_0124: callvirt instance class NAnt.Core.Types.EnvironmentVariableEnumerator class NAnt.Core.Types.EnvironmentVariableCollection::GetEnumerator() - IL_0129: stloc.3 - .try { // 0 - IL_012a: br IL_019b - - IL_012f: ldloc.3 - IL_0130: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current() - IL_0135: stloc.2 - IL_0136: nop - IL_0137: ldloc.2 - IL_0138: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_IfDefined() - IL_013d: brfalse IL_019a - - IL_0142: ldloc.2 - IL_0143: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() - IL_0148: brtrue IL_019a + // Method begins at RVA 0x12718 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_014d: nop - IL_014e: ldloc.2 - IL_014f: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() - IL_0154: brtrue IL_017b + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DirectoryFunctions::GetCurrentDirectory - IL_0159: nop - IL_015a: ldarg.1 - IL_015b: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0160: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() - IL_0165: ldloc.2 - IL_0166: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() - IL_016b: ldstr "" - IL_0170: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) - IL_0175: nop - IL_0176: br IL_0199 + // method line 782 + .method public hidebysig + instance default string GetParentDirectory (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 14 67 65 74 2D 70 61 72 65 6E 74 2D 64 69 // ...get-parent-di + 72 65 63 74 6F 72 79 00 00 ) // rectory.. - IL_017b: nop - IL_017c: ldarg.1 - IL_017d: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0182: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() - IL_0187: ldloc.2 - IL_0188: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() - IL_018d: ldloc.2 - IL_018e: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() - IL_0193: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) - IL_0198: nop - IL_0199: nop - IL_019a: nop - IL_019b: ldloc.3 - IL_019c: callvirt instance bool class NAnt.Core.Types.EnvironmentVariableEnumerator::MoveNext() - IL_01a1: brtrue IL_012f + // Method begins at RVA 0x12734 + // Code size 56 (0x38) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0, + class [mscorlib]System.IO.DirectoryInfo V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.DirectoryInfo::get_Parent() + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: brfalse IL_002b - IL_01a6: leave IL_01c1 + IL_0020: ldloc.1 + IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0026: br IL_0030 - } // end .try 0 - finally { // 0 - IL_01ab: ldloc.3 - IL_01ac: isinst [mscorlib]System.IDisposable - IL_01b1: dup - IL_01b2: stloc.s 4 - IL_01b4: brfalse IL_01c0 + IL_002b: ldsfld string [mscorlib]System.String::Empty + IL_0030: stloc.2 + IL_0031: br IL_0036 - IL_01b9: ldloc.s 4 - IL_01bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01c0: endfinally - } // end handler 0 - IL_01c1: nop - IL_01c2: ret - } // end of method ExternalProgramBase::PrepareProcess + IL_0036: ldloc.2 + IL_0037: ret + } // end of method DirectoryFunctions::GetParentDirectory - // method line 1009 - .method family virtual hidebysig newslot - instance default class [System]System.Diagnostics.Process StartProcess () cil managed + // method line 783 + .method public hidebysig + instance default string GetDirectoryRoot (string path) cil managed { - // Method begins at RVA 0x103e4 - // Code size 154 (0x9a) - .maxstack 5 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 64 69 72 65 63 74 6F 72 79 // ...get-directory + 2D 72 6F 6F 74 00 00 ) // -root.. + + // Method begins at RVA 0x12778 + // Code size 33 (0x21) + .maxstack 2 .locals init ( - class [System]System.Diagnostics.Process V_0, - string V_1, - class [System]System.Diagnostics.Process V_2, - class [mscorlib]System.Exception V_3) + string V_0, + string V_1) IL_0000: nop - IL_0001: newobj instance void class [System]System.Diagnostics.Process::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) - .try { // 0 - IL_000e: nop - IL_000f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0014: ldstr "String_Starting_Program" - IL_0019: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001e: ldloc.0 - IL_001f: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0024: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_WorkingDirectory() - IL_0029: ldloc.0 - IL_002a: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_002f: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_FileName() - IL_0034: ldloc.0 - IL_0035: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_003a: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_Arguments() - IL_003f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0044: stloc.1 - IL_0045: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger - IL_004a: ldloc.1 - IL_004b: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_0050: ldarg.0 - IL_0051: ldc.i4 2000 - IL_0056: ldloc.1 - IL_0057: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_005c: ldloc.0 - IL_005d: callvirt instance bool class [System]System.Diagnostics.Process::Start() - IL_0062: pop - IL_0063: ldloc.0 - IL_0064: stloc.2 - IL_0065: leave IL_0098 + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: call string class [mscorlib]System.IO.Directory::GetDirectoryRoot(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0019: stloc.1 + IL_001a: br IL_001f - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_006a: stloc.3 - IL_006b: nop - IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0071: ldstr "NA1121" - IL_0076: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_007b: ldloc.0 - IL_007c: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0081: callvirt instance string class [System]System.Diagnostics.ProcessStartInfo::get_FileName() - IL_0086: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_008b: ldarg.0 - IL_008c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0091: ldloc.3 - IL_0092: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0097: throw - } // end handler 0 - IL_0098: ldloc.2 - IL_0099: ret - } // end of method ExternalProgramBase::StartProcess + IL_001f: ldloc.1 + IL_0020: ret + } // end of method DirectoryFunctions::GetDirectoryRoot - // method line 1010 - .method private hidebysig - instance default void StreamReaderThread_Output () cil managed + // method line 784 + .method public hidebysig + instance default bool Exists (string path) cil managed { - // Method begins at RVA 0x1049c - // Code size 195 (0xc3) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + + // Method begins at RVA 0x127a8 + // Code size 26 (0x1a) .maxstack 2 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - bool V_1, - string V_2, - object V_3, - bool V_4, - class [mscorlib]System.IO.StreamWriter V_5, - object V_6, - bool V_7) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdOut - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_OutputAppend() - IL_000e: stloc.1 - IL_000f: nop - IL_0010: nop - IL_0011: ldloc.0 - IL_0012: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0017: stloc.2 - IL_0018: ldloc.2 - IL_0019: brtrue IL_0024 - - IL_001e: nop - IL_001f: br IL_0091 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0024: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject - IL_0029: stloc.3 - IL_002a: ldc.i4.0 - IL_002b: stloc.s 4 - .try { // 0 - IL_002d: ldloc.3 - IL_002e: ldloca.s 4 - IL_0030: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() - IL_003c: brfalse IL_006c + IL_0018: ldloc.0 + IL_0019: ret + } // end of method DirectoryFunctions::Exists - IL_0041: nop - IL_0042: ldarg.0 - IL_0043: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() - IL_0048: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004d: ldloc.1 - IL_004e: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool) - IL_0053: stloc.s 5 - IL_0055: ldloc.s 5 - IL_0057: ldloc.2 - IL_0058: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_005d: ldc.i4.1 - IL_005e: stloc.1 - IL_005f: ldloc.s 5 - IL_0061: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0066: nop - IL_0067: br IL_007a + // method line 785 + .method public hidebysig + instance default string GetName (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - IL_006c: nop - IL_006d: ldarg.0 - IL_006e: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_OutputWriter() - IL_0073: ldloc.2 - IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0079: nop - IL_007a: nop - IL_007b: leave IL_008b + // Method begins at RVA 0x127d0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_000c: stloc.0 + IL_000d: br IL_0012 - } // end .try 0 - finally { // 0 - IL_0080: ldloc.s 4 - IL_0082: brfalse.s IL_008a + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DirectoryFunctions::GetName - IL_0084: ldloc.3 - IL_0085: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_008a: endfinally - } // end handler 0 - IL_008b: nop - IL_008c: br IL_000f + } // end of class NAnt.Core.Functions.DirectoryFunctions +} - IL_0091: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject - IL_0096: stloc.s 6 - IL_0098: ldc.i4.0 - IL_0099: stloc.s 7 - .try { // 1 - IL_009b: ldloc.s 6 - IL_009d: ldloca.s 7 - IL_009f: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_00a4: nop - IL_00a5: ldarg.0 - IL_00a6: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_OutputWriter() - IL_00ab: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_00b0: nop - IL_00b1: leave IL_00c2 +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit Int64ConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 04 6C 6F 6E 67 0A 43 6F 6E 76 65 72 73 69 // ...long.Conversi + 6F 6E 00 00 ) // on.. - } // end .try 1 - finally { // 1 - IL_00b6: ldloc.s 7 - IL_00b8: brfalse.s IL_00c1 - IL_00ba: ldloc.s 6 - IL_00bc: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_00c1: endfinally - } // end handler 1 - IL_00c2: ret - } // end of method ExternalProgramBase::StreamReaderThread_Output + // method line 786 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x127f0 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method Int64ConversionFunctions::.ctor - // method line 1011 - .method private hidebysig - instance default void StreamReaderThread_Error () cil managed + // method line 787 + .method public static hidebysig + default int64 Parse (string s) cil managed { - // Method begins at RVA 0x10588 - // Code size 188 (0xbc) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x127fc + // Code size 20 (0x14) .maxstack 2 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - bool V_1, - string V_2, - object V_3, - bool V_4, - class [mscorlib]System.IO.StreamWriter V_5, - object V_6, - bool V_7) + int64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.StreamReader NAnt.Core.Tasks.ExternalProgramBase::_stdError - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_OutputAppend() - IL_000e: stloc.1 - IL_000f: nop - IL_0010: nop - IL_0011: ldloc.0 - IL_0012: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0017: stloc.2 - IL_0018: ldloc.2 - IL_0019: brtrue IL_0024 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: call int64 int64::Parse(string, class [mscorlib]System.IFormatProvider) + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_001e: nop - IL_001f: br IL_008a + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Int64ConversionFunctions::Parse - IL_0024: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject - IL_0029: stloc.3 - IL_002a: ldc.i4.0 - IL_002b: stloc.s 4 - .try { // 0 - IL_002d: ldloc.3 - IL_002e: ldloca.s 4 - IL_0030: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_ErrorWriter() - IL_003c: ldloc.2 - IL_003d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0042: ldarg.0 - IL_0043: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() - IL_0048: brfalse IL_0073 + // method line 788 + .method public static hidebysig + default string ToString (int64 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - IL_004d: nop - IL_004e: ldarg.0 - IL_004f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.ExternalProgramBase::get_Output() - IL_0054: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0059: ldloc.1 - IL_005a: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool) - IL_005f: stloc.s 5 - IL_0061: ldloc.s 5 - IL_0063: ldloc.2 - IL_0064: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0069: ldc.i4.1 - IL_006a: stloc.1 - IL_006b: ldloc.s 5 - IL_006d: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0072: nop - IL_0073: nop - IL_0074: leave IL_0084 + // Method begins at RVA 0x1281c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string int64::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - } // end .try 0 - finally { // 0 - IL_0079: ldloc.s 4 - IL_007b: brfalse.s IL_0083 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method Int64ConversionFunctions::ToString - IL_007d: ldloc.3 - IL_007e: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0083: endfinally - } // end handler 0 - IL_0084: nop - IL_0085: br IL_000f + } // end of class NAnt.Core.Functions.Int64ConversionFunctions +} - IL_008a: ldsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject - IL_008f: stloc.s 6 - IL_0091: ldc.i4.0 - IL_0092: stloc.s 7 - .try { // 1 - IL_0094: ldloc.s 6 - IL_0096: ldloca.s 7 - IL_0098: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_009d: nop - IL_009e: ldarg.0 - IL_009f: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.Tasks.ExternalProgramBase::get_ErrorWriter() - IL_00a4: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_00a9: nop - IL_00aa: leave IL_00bb +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit ConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 63 6F 6E 76 65 72 74 0A 43 6F 6E 76 65 // ...convert.Conve + 72 73 69 6F 6E 00 00 ) // rsion.. - } // end .try 1 - finally { // 1 - IL_00af: ldloc.s 7 - IL_00b1: brfalse.s IL_00ba - IL_00b3: ldloc.s 6 - IL_00b5: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_00ba: endfinally - } // end handler 1 - IL_00bb: ret - } // end of method ExternalProgramBase::StreamReaderThread_Error + // method line 789 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary propDict) cil managed + { + // Method begins at RVA 0x1283d + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method ConversionFunctions::.ctor - // method line 1012 - .method private hidebysig - instance default string DetermineFilePath () cil managed + // method line 790 + .method public static hidebysig + default int32 ToInt (int32 'value') cil managed { - // Method begins at RVA 0x1066c - // Code size 517 (0x205) - .maxstack 3 - .locals init ( - string V_0, - string V_1, - class NAnt.Core.Attributes.ProgramLocationAttribute V_2, - valuetype NAnt.Core.Attributes.LocationType V_3, - string V_4, - string V_5, - string V_6) - IL_0000: nop - IL_0001: ldstr "" - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() - IL_000d: brfalse IL_002f - - IL_0012: ldarg.0 - IL_0013: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() - IL_0018: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_001d: brfalse IL_002f - - IL_0022: nop - IL_0023: ldarg.0 - IL_0024: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() - IL_0029: stloc.1 - IL_002a: br IL_0203 - - IL_002f: ldarg.0 - IL_0030: call instance class [mscorlib]System.Type object::GetType() - IL_0035: ldtoken NAnt.Core.Attributes.ProgramLocationAttribute - IL_003a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003f: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0044: castclass NAnt.Core.Attributes.ProgramLocationAttribute - IL_0049: stloc.2 - IL_004a: ldloc.2 - IL_004b: brfalse IL_01f3 - - IL_0050: nop - IL_0051: ldloc.2 - IL_0052: callvirt instance valuetype NAnt.Core.Attributes.LocationType class NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType() - IL_0057: brfalse IL_0068 - - IL_005c: ldloc.2 - IL_005d: callvirt instance valuetype NAnt.Core.Attributes.LocationType class NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType() - IL_0062: ldc.i4.1 - IL_0063: bne.un IL_00a3 - - IL_0068: ldarg.0 - IL_0069: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_006e: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0073: brtrue IL_00a3 - - IL_0078: nop - IL_0079: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007e: ldstr "NA1120" - IL_0083: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0088: call string class [mscorlib]System.Environment::get_NewLine() - IL_008d: call string string::Concat(string, string) - IL_0092: ldarg.0 - IL_0093: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0098: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_009d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_00a2: throw - IL_00a3: ldloc.2 - IL_00a4: callvirt instance valuetype NAnt.Core.Attributes.LocationType class NAnt.Core.Attributes.ProgramLocationAttribute::get_LocationType() - IL_00a9: stloc.3 - IL_00aa: ldloc.3 - IL_00ab: brfalse IL_00bc - - IL_00b0: ldloc.3 - IL_00b1: ldc.i4.1 - IL_00b2: beq IL_0137 - - IL_00b7: br IL_01b2 - - IL_00bc: ldarg.0 - IL_00bd: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00c2: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_00c7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_00cc: brfalse IL_0107 - - IL_00d1: nop - IL_00d2: ldarg.0 - IL_00d3: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00d8: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_00dd: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_00e2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00e7: stloc.s 4 - IL_00e9: ldloc.s 4 - IL_00eb: ldarg.0 - IL_00ec: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() - IL_00f1: ldstr ".exe" - IL_00f6: call string string::Concat(string, string) - IL_00fb: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0100: stloc.0 - IL_0101: nop - IL_0102: br IL_0132 - - IL_0107: nop - IL_0108: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_010d: ldstr "NA1124" - IL_0112: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0117: ldarg.0 - IL_0118: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_011d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0122: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_0127: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_012c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0131: throw - IL_0132: br IL_01b2 - - IL_0137: ldarg.0 - IL_0138: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_013d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0142: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_0147: brfalse IL_0182 - - IL_014c: nop - IL_014d: ldarg.0 - IL_014e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0153: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0158: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_015d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0162: stloc.s 5 - IL_0164: ldloc.s 5 - IL_0166: ldarg.0 - IL_0167: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() - IL_016c: ldstr ".exe" - IL_0171: call string string::Concat(string, string) - IL_0176: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_017b: stloc.0 - IL_017c: nop - IL_017d: br IL_01ad - - IL_0182: nop - IL_0183: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0188: ldstr "NA1122" - IL_018d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0192: ldarg.0 - IL_0193: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0198: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_019d: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_01a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01a7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_01ac: throw - IL_01ad: br IL_01b2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 74 6F 2D 69 6E 74 00 00 ) // ...to-int.. - IL_01b2: ldloc.0 - IL_01b3: call bool class [mscorlib]System.IO.File::Exists(string) - IL_01b8: brtrue IL_01ed + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... - IL_01bd: nop - IL_01be: ldarg.0 - IL_01bf: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01c4: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_01c9: ldarg.0 - IL_01ca: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() - IL_01cf: ldstr ".exe" - IL_01d4: call string string::Concat(string, string) - IL_01d9: callvirt instance string class NAnt.Core.FrameworkInfo::GetToolPath(string) - IL_01de: stloc.s 6 - IL_01e0: ldloc.s 6 - IL_01e2: brfalse IL_01ec + // Method begins at RVA 0x12848 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_01e7: nop - IL_01e8: ldloc.s 6 - IL_01ea: stloc.0 - IL_01eb: nop - IL_01ec: nop - IL_01ed: nop - IL_01ee: br IL_01fc + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToInt - IL_01f3: nop - IL_01f4: ldarg.0 - IL_01f5: callvirt instance string class NAnt.Core.Tasks.ExternalProgramBase::get_ExeName() - IL_01fa: stloc.0 - IL_01fb: nop - IL_01fc: ldloc.0 - IL_01fd: stloc.1 - IL_01fe: br IL_0203 + // method line 791 + .method public static hidebysig + default float64 ToDouble (float64 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 64 6F 75 62 6C 65 00 00 ) // ...to-double.. - IL_0203: ldloc.1 - IL_0204: ret - } // end of method ExternalProgramBase::DetermineFilePath + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... - // method line 1013 - .method private hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_ManagedExecutionMode () cil managed - { - // Method begins at RVA 0x10880 - // Code size 92 (0x5c) - .maxstack 2 + // Method begins at RVA 0x12860 + // Code size 10 (0xa) + .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0, - class NAnt.Core.Configuration.Runtime V_1) + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000c: brfalse IL_001c - - IL_0011: ldarg.0 - IL_0012: callvirt instance valuetype NAnt.Core.Types.ManagedExecution class NAnt.Core.Tasks.ExternalProgramBase::get_Managed() - IL_0017: brtrue IL_0024 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_001c: nop - IL_001d: ldnull - IL_001e: stloc.0 - IL_001f: br IL_005a + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToDouble - IL_0024: ldarg.0 - IL_0025: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_002a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_002f: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0034: stloc.1 - IL_0035: ldloc.1 - IL_0036: brfalse IL_0053 + // method line 792 + .method public static hidebysig + default string ConvertToString (string 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - IL_003b: nop - IL_003c: ldloc.1 - IL_003d: callvirt instance class NAnt.Core.Configuration.ManagedExecutionModes class NAnt.Core.Configuration.Runtime::get_Modes() - IL_0042: ldarg.0 - IL_0043: callvirt instance valuetype NAnt.Core.Types.ManagedExecution class NAnt.Core.Tasks.ExternalProgramBase::get_Managed() - IL_0048: callvirt instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::GetExecutionMode(valuetype NAnt.Core.Types.ManagedExecution) - IL_004d: stloc.0 - IL_004e: br IL_005a + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... - IL_0053: ldnull - IL_0054: stloc.0 - IL_0055: br IL_005a + // Method begins at RVA 0x12878 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_005a: ldloc.0 - IL_005b: ret - } // end of method ExternalProgramBase::get_ManagedExecutionMode + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ConvertToString - // method line 1014 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 793 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime ToDateTime (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x108e8 - // Code size 31 (0x1f) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Tasks.ExternalProgramBase::logger - IL_0014: newobj instance void object::'.ctor'() - IL_0019: stsfld object NAnt.Core.Tasks.ExternalProgramBase::_lockObject - IL_001e: ret - } // end of method ExternalProgramBase::.cctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 74 6F 2D 64 61 74 65 74 69 6D 65 00 00 ) // ...to-datetime.. - .property instance string ExeName () - { - .custom instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 07 65 78 65 6E 61 6D 65 00 00 ) // ...exename.. + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... - .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ExeName () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_ExeName (string 'value') - } - .property instance string ProgramFileName () - { - .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName () - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ProgramArguments () - } - .property instance class [mscorlib]System.IO.FileInfo Output () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExternalProgramBase::get_Output () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_Output (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance bool OutputAppend () - { - .get instance default bool NAnt.Core.Tasks.ExternalProgramBase::get_OutputAppend () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_OutputAppend (bool 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance int32 TimeOut () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 74 69 6D 65 6F 75 74 00 00 ) // ...timeout.. + // Method begins at RVA 0x12890 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.DateTime V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToDateTime - .get instance default int32 NAnt.Core.Tasks.ExternalProgramBase::get_TimeOut () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_TimeOut (int32 'value') - } - .property instance class NAnt.Core.Types.ArgumentCollection Arguments () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + // method line 794 + .method public static hidebysig + default bool ToBoolean (bool 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 74 6F 2D 62 6F 6F 6C 65 61 6E 00 00 ) // ...to-boolean.. - .get instance default class NAnt.Core.Types.ArgumentCollection NAnt.Core.Tasks.ExternalProgramBase::get_Arguments () - } - .property instance bool UseRuntimeEngine () - { - .custom instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 10 75 73 65 72 75 6E 74 69 6D 65 65 6E 67 // ...useruntimeeng - 69 6E 65 00 00 ) // ine.. + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 37 55 73 65 20 74 68 65 20 6D 61 6E 61 67 // ..7Use the manag - 65 64 20 61 74 74 72 69 62 75 74 65 20 61 6E 64 // ed attribute and - 20 4D 61 6E 61 67 65 64 20 70 72 6F 70 65 72 74 // Managed propert - 79 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // y instead.... + // Method begins at RVA 0x128a8 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - .get instance default bool NAnt.Core.Tasks.ExternalProgramBase::get_UseRuntimeEngine () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_UseRuntimeEngine (bool 'value') - } - .property instance valuetype NAnt.Core.Types.ManagedExecution Managed () - { - .custom instance void class NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 07 6D 61 6E 61 67 65 64 00 00 ) // ...managed.. + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToBoolean - .get instance default valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::get_Managed () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') - } - .property instance class [mscorlib]System.IO.TextWriter OutputWriter () - { - .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::get_OutputWriter () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') - } - .property instance class [mscorlib]System.IO.TextWriter ErrorWriter () - { - .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.Tasks.ExternalProgramBase::get_ErrorWriter () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_ErrorWriter (class [mscorlib]System.IO.TextWriter 'value') - } - .property instance int32 ExitCode () - { - .get instance default int32 NAnt.Core.Tasks.ExternalProgramBase::get_ExitCode () - } - .property instance int32 ProcessId () - { - .get instance default int32 NAnt.Core.Tasks.ExternalProgramBase::get_ProcessId () - } - .property instance bool Spawn () - { - .get instance default bool NAnt.Core.Tasks.ExternalProgramBase::get_Spawn () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_Spawn (bool 'value') - } - .property instance string CommandLine () - { - .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_CommandLine () - } - .property instance class NAnt.Core.Configuration.ManagedExecutionMode ManagedExecutionMode () - { - .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Tasks.ExternalProgramBase::get_ManagedExecutionMode () - } - } // end of class NAnt.Core.Tasks.ExternalProgramBase + } // end of class NAnt.Core.Functions.ConversionFunctions } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit XmlPokeTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit PathFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 78 6D 6C 70 6F 6B 65 00 00 ) // ...xmlpoke.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 70 61 74 68 04 50 61 74 68 00 00 ) // ...path.Path.. - .field private class [mscorlib]System.IO.FileInfo _xmlFile - .field private string _value - .field private string _xPathExpression - .field private bool _preserveWhitespace - .field private class NAnt.Core.Types.XmlNamespaceCollection _namespaces - // method line 1015 + // method line 795 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x10908 - // Code size 18 (0x12) + // Method begins at RVA 0x128be + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.XmlNamespaceCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method XmlPokeTask::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method PathFunctions::.ctor - // method line 1016 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_XmlFile () cil managed + // method line 796 + .method public hidebysig + instance default string GetFullPath (string path) cil managed { - // Method begins at RVA 0x1091c - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 70 61 74 68 // ...get-full-path + 00 00 ) // .. + + // Method begins at RVA 0x128cc + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::_xmlFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPokeTask::get_XmlFile + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PathFunctions::GetFullPath - // method line 1017 - .method public hidebysig specialname - instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 797 + .method public static hidebysig + default string Combine (string path1, string path2) cil managed { - // Method begins at RVA 0x10937 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::_xmlFile - IL_0008: ret - } // end of method XmlPokeTask::set_XmlFile + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 63 6F 6D 62 69 6E 65 00 00 ) // ...combine.. - // method line 1018 - .method public hidebysig specialname - instance default string get_XPath () cil managed - { - // Method begins at RVA 0x10944 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x128f0 + // Code size 16 (0x10) + .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.XmlPokeTask::_xPathExpression - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPokeTask::get_XPath + IL_0002: ldarg.1 + IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 1019 - .method public hidebysig specialname - instance default void set_XPath (string 'value') cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PathFunctions::Combine + + // method line 798 + .method public static hidebysig + default string ChangeExtension (string path, string extension) cil managed { - // Method begins at RVA 0x1095f - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 63 68 61 6E 67 65 2D 65 78 74 65 6E 73 // ...change-extens + 69 6F 6E 00 00 ) // ion.. + + // Method begins at RVA 0x1290c + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.XmlPokeTask::_xPathExpression - IL_0008: ret - } // end of method XmlPokeTask::set_XPath + IL_0003: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 1020 - .method public hidebysig specialname - instance default string get_Value () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PathFunctions::ChangeExtension + + // method line 799 + .method public static hidebysig + default string GetDirectoryName (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 64 69 72 65 63 74 6F 72 79 // ...get-directory + 2D 6E 61 6D 65 00 00 ) // -name.. + + // Method begins at RVA 0x12928 + // Code size 22 (0x16) + .maxstack 1 + .locals init ( + string V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_000e: stloc.1 + IL_000f: br IL_0014 + + IL_0014: ldloc.1 + IL_0015: ret + } // end of method PathFunctions::GetDirectoryName + + // method line 800 + .method public static hidebysig + default string GetExtension (string path) cil managed { - // Method begins at RVA 0x1096c + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 65 78 74 65 6E 73 69 6F 6E // ...get-extension + 00 00 ) // .. + + // Method begins at RVA 0x1294c // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.XmlPokeTask::_value + IL_0002: call string class [mscorlib]System.IO.Path::GetExtension(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlPokeTask::get_Value + } // end of method PathFunctions::GetExtension - // method line 1021 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + // method line 801 + .method public static hidebysig + default string GetFileName (string path) cil managed { - // Method begins at RVA 0x10987 - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 66 69 6C 65 2D 6E 61 6D 65 // ...get-file-name + 00 00 ) // .. + + // Method begins at RVA 0x12968 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.XmlPokeTask::_value - IL_0008: ret - } // end of method XmlPokeTask::set_Value + IL_0002: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1022 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PathFunctions::GetFileName + + // method line 802 + .method public static hidebysig + default string GetFileNameWithoutExtension (string path) cil managed { - // Method begins at RVA 0x10994 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 1F 67 65 74 2D 66 69 6C 65 2D 6E 61 6D 65 // ...get-file-name + 2D 77 69 74 68 6F 75 74 2D 65 78 74 65 6E 73 69 // -without-extensi + 6F 6E 00 00 ) // on.. + + // Method begins at RVA 0x12984 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespaceCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces + IL_0002: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlPokeTask::get_Namespaces + } // end of method PathFunctions::GetFileNameWithoutExtension - // method line 1023 - .method public hidebysig specialname - instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed + // method line 803 + .method public static hidebysig + default string GetPathRoot (string path) cil managed { - // Method begins at RVA 0x109af - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 70 61 74 68 2D 72 6F 6F 74 // ...get-path-root + 00 00 ) // .. + + // Method begins at RVA 0x129a0 + // Code size 22 (0x16) + .maxstack 1 + .locals init ( + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces - IL_0008: ret - } // end of method XmlPokeTask::set_Namespaces + IL_0002: call string class [mscorlib]System.IO.Path::GetPathRoot(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_000e: stloc.1 + IL_000f: br IL_0014 - // method line 1024 - .method public hidebysig specialname - instance default bool get_PreserveWhitespace () cil managed + IL_0014: ldloc.1 + IL_0015: ret + } // end of method PathFunctions::GetPathRoot + + // method line 804 + .method public static hidebysig + default string GetTempFileName () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 74 65 6D 70 2D 66 69 6C 65 // ...get-temp-file + 2D 6E 61 6D 65 00 00 ) // -name.. + + // Method begins at RVA 0x129c4 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PathFunctions::GetTempFileName + + // method line 805 + .method public static hidebysig + default string GetTempPath () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 74 65 6D 70 2D 70 61 74 68 // ...get-temp-path + 00 00 ) // .. + + // Method begins at RVA 0x129e0 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call string class [mscorlib]System.IO.Path::GetTempPath() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PathFunctions::GetTempPath + + // method line 806 + .method public static hidebysig + default bool HasExtension (string path) cil managed { - // Method begins at RVA 0x109bc + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 68 61 73 2D 65 78 74 65 6E 73 69 6F 6E // ...has-extension + 00 00 ) // .. + + // Method begins at RVA 0x129fc // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.XmlPokeTask::_preserveWhitespace + IL_0002: call bool class [mscorlib]System.IO.Path::HasExtension(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlPokeTask::get_PreserveWhitespace + } // end of method PathFunctions::HasExtension - // method line 1025 - .method public hidebysig specialname - instance default void set_PreserveWhitespace (bool 'value') cil managed + // method line 807 + .method public static hidebysig + default bool IsPathRooted (string path) cil managed { - // Method begins at RVA 0x109d7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.XmlPokeTask::_preserveWhitespace - IL_0008: ret - } // end of method XmlPokeTask::set_PreserveWhitespace + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 69 73 2D 70 61 74 68 2D 72 6F 6F 74 65 // ...is-path-roote + 64 00 00 ) // d.. - // method line 1026 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x109e4 - // Code size 329 (0x149) - .maxstack 4 + // Method begins at RVA 0x12a18 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class [System.Xml]System.Xml.XmlNamespaceManager V_1, - class NAnt.Core.Types.XmlNamespace V_2, - class NAnt.Core.Types.XmlNamespaceEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - class [System.Xml]System.Xml.XmlNodeList V_5, - class NAnt.Core.BuildException V_6, - class [mscorlib]System.Exception V_7) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_003d - - IL_0011: nop - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0017: ldstr "NA1154" - IL_001c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0021: ldarg.0 - IL_0022: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() - IL_0027: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: ldarg.0 - IL_0032: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0037: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_003c: throw - .try { // 1 - IL_003d: nop - IL_003e: ldarg.0 - IL_003f: ldarg.0 - IL_0040: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() - IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004a: ldarg.0 - IL_004b: call instance bool class NAnt.Core.Tasks.XmlPokeTask::get_PreserveWhitespace() - IL_0050: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Tasks.XmlPokeTask::LoadDocument(string, bool) - IL_0055: stloc.0 - IL_0056: ldloc.0 - IL_0057: callvirt instance class [System.Xml]System.Xml.XmlNameTable class [System.Xml]System.Xml.XmlDocument::get_NameTable() - IL_005c: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_0061: stloc.1 - IL_0062: nop - IL_0063: ldarg.0 - IL_0064: call instance class NAnt.Core.Types.XmlNamespaceCollection class NAnt.Core.Tasks.XmlPokeTask::get_Namespaces() - IL_0069: callvirt instance class NAnt.Core.Types.XmlNamespaceEnumerator class NAnt.Core.Types.XmlNamespaceCollection::GetEnumerator() - IL_006e: stloc.3 - .try { // 0 - IL_006f: br IL_00a7 + IL_0002: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0074: ldloc.3 - IL_0075: callvirt instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceEnumerator::get_Current() - IL_007a: stloc.2 - IL_007b: nop - IL_007c: ldloc.2 - IL_007d: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_IfDefined() - IL_0082: brfalse IL_00a6 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PathFunctions::IsPathRooted - IL_0087: ldloc.2 - IL_0088: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() - IL_008d: brtrue IL_00a6 + } // end of class NAnt.Core.Functions.PathFunctions +} - IL_0092: nop - IL_0093: ldloc.1 - IL_0094: ldloc.2 - IL_0095: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Prefix() - IL_009a: ldloc.2 - IL_009b: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Uri() - IL_00a0: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) - IL_00a5: nop - IL_00a6: nop - IL_00a7: ldloc.3 - IL_00a8: callvirt instance bool class NAnt.Core.Types.XmlNamespaceEnumerator::MoveNext() - IL_00ad: brtrue IL_0074 +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit OperatingSystemFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 10 6F 70 65 72 61 74 69 6E 67 2D 73 79 73 // ...operating-sys + 74 65 6D 10 4F 70 65 72 61 74 69 6E 67 20 53 79 // tem.Operating Sy + 73 74 65 6D 00 00 ) // stem.. - IL_00b2: leave IL_00cd - } // end .try 0 - finally { // 0 - IL_00b7: ldloc.3 - IL_00b8: isinst [mscorlib]System.IDisposable - IL_00bd: dup - IL_00be: stloc.s 4 - IL_00c0: brfalse IL_00cc + // method line 808 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x12a33 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method OperatingSystemFunctions::.ctor - IL_00c5: ldloc.s 4 - IL_00c7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00cc: endfinally - } // end handler 0 - IL_00cd: ldarg.0 - IL_00ce: ldarg.0 - IL_00cf: call instance string class NAnt.Core.Tasks.XmlPokeTask::get_XPath() - IL_00d4: ldloc.0 - IL_00d5: ldloc.1 - IL_00d6: call instance class [System.Xml]System.Xml.XmlNodeList class NAnt.Core.Tasks.XmlPokeTask::SelectNodes(string, class [System.Xml]System.Xml.XmlDocument, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00db: stloc.s 5 - IL_00dd: ldloc.s 5 - IL_00df: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_00e4: ldc.i4.0 - IL_00e5: ble IL_010c + // method line 809 + .method public static hidebysig + default valuetype [mscorlib]System.PlatformID GetPlatform (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 70 6C 61 74 66 6F 72 6D 00 // ...get-platform. + 00 ) // . - IL_00ea: nop - IL_00eb: ldarg.0 - IL_00ec: ldloc.s 5 - IL_00ee: ldarg.0 - IL_00ef: call instance string class NAnt.Core.Tasks.XmlPokeTask::get_Value() - IL_00f4: call instance void class NAnt.Core.Tasks.XmlPokeTask::UpdateNodes(class [System.Xml]System.Xml.XmlNodeList, string) - IL_00f9: ldarg.0 - IL_00fa: ldloc.0 - IL_00fb: ldarg.0 - IL_00fc: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() - IL_0101: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0106: call instance void class NAnt.Core.Tasks.XmlPokeTask::SaveDocument(class [System.Xml]System.Xml.XmlDocument, string) - IL_010b: nop - IL_010c: nop - IL_010d: leave IL_0148 + // Method begins at RVA 0x12a40 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.PlatformID V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 1 - catch class NAnt.Core.BuildException { // 1 - IL_0112: stloc.s 6 - IL_0114: nop - IL_0115: ldloc.s 6 - IL_0117: throw - } // end handler 1 - catch class [mscorlib]System.Exception { // 2 - IL_0118: stloc.s 7 - IL_011a: nop - IL_011b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0120: ldstr "NA1159" - IL_0125: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_012a: ldarg.0 - IL_012b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPokeTask::get_XmlFile() - IL_0130: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0135: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_013a: ldarg.0 - IL_013b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0140: ldloc.s 7 - IL_0142: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0147: throw - } // end handler 2 - IL_0148: ret - } // end of method XmlPokeTask::ExecuteTask + IL_000d: ldloc.0 + IL_000e: ret + } // end of method OperatingSystemFunctions::GetPlatform - // method line 1027 - .method private hidebysig - instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName, bool preserveWhitespace) cil managed + // method line 810 + .method public static hidebysig + default class [mscorlib]System.Version GetVersion (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x10b64 - // Code size 121 (0x79) - .maxstack 7 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. + + // Method begins at RVA 0x12a5c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class [System.Xml]System.Xml.XmlDocument V_1, - class [mscorlib]System.Exception V_2) + class [mscorlib]System.Version V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: ldc.i4 2000 - IL_000a: ldstr "Attempting to load XML document in file '{0}'." - IL_000f: ldc.i4.1 - IL_0010: newarr [mscorlib]System.Object - IL_0015: dup - IL_0016: ldc.i4.0 - IL_0017: ldarg.1 - IL_0018: stelem.ref - IL_0019: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_001e: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: ldarg.2 - IL_0026: callvirt instance void class [System.Xml]System.Xml.XmlDocument::set_PreserveWhitespace(bool) - IL_002b: ldloc.0 - IL_002c: ldarg.1 - IL_002d: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) - IL_0032: ldarg.0 - IL_0033: ldc.i4 2000 - IL_0038: ldstr "XML document in file '{0}' loaded successfully." - IL_003d: ldc.i4.1 - IL_003e: newarr [mscorlib]System.Object - IL_0043: dup - IL_0044: ldc.i4.0 - IL_0045: ldarg.1 - IL_0046: stelem.ref - IL_0047: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_004c: ldloc.0 - IL_004d: stloc.1 - IL_004e: leave IL_0077 + IL_0001: ldarg.0 + IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.OperatingSystem::get_Version() + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0053: stloc.2 - IL_0054: nop - IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005a: ldstr "NA1158" - IL_005f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0064: ldarg.1 - IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_006a: ldarg.0 - IL_006b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0070: ldloc.2 - IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0076: throw - } // end handler 0 - IL_0077: ldloc.1 - IL_0078: ret - } // end of method XmlPokeTask::LoadDocument + IL_000d: ldloc.0 + IL_000e: ret + } // end of method OperatingSystemFunctions::GetVersion - // method line 1028 - .method private hidebysig - instance default class [System.Xml]System.Xml.XmlNodeList SelectNodes (string xpath, class [System.Xml]System.Xml.XmlDocument document, class [System.Xml]System.Xml.XmlNamespaceManager nsMgr) cil managed + // method line 811 + .method public static hidebysig + default string ToString (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x10bfc - // Code size 181 (0xb5) - .maxstack 7 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + + // Method begins at RVA 0x12a78 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlNodeList V_0, - class [mscorlib]System.Exception V_1, - class [System.Xml]System.Xml.XmlNodeList V_2) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: ldc.i4 2000 - IL_000a: ldstr "Selecting nodes with XPath expression '{0}'." - IL_000f: ldc.i4.1 - IL_0010: newarr [mscorlib]System.Object - IL_0015: dup - IL_0016: ldc.i4.0 - IL_0017: ldarg.1 - IL_0018: stelem.ref - IL_0019: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_001e: ldarg.2 - IL_001f: ldarg.1 - IL_0020: ldarg.3 - IL_0021: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0026: stloc.0 - IL_0027: nop - IL_0028: leave IL_0051 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_002d: stloc.1 - IL_002e: nop - IL_002f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0034: ldstr "NA1161" - IL_0039: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_003e: ldarg.1 - IL_003f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0044: ldarg.0 - IL_0045: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_004a: ldloc.1 - IL_004b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0050: throw - } // end handler 0 - IL_0051: ldloc.0 - IL_0052: brfalse IL_0062 - - IL_0057: ldloc.0 - IL_0058: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_005d: brtrue IL_0084 - - IL_0062: nop - IL_0063: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0068: ldstr "NA1156" - IL_006d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0072: ldarg.1 - IL_0073: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0078: ldarg.0 - IL_0079: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_007e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0083: throw - IL_0084: ldarg.0 - IL_0085: ldc.i4 3000 - IL_008a: ldstr "Found '{0}' nodes matching XPath expression '{1}'." - IL_008f: ldc.i4.2 - IL_0090: newarr [mscorlib]System.Object - IL_0095: dup - IL_0096: ldc.i4.0 - IL_0097: ldloc.0 - IL_0098: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_009d: box [mscorlib]System.Int32 - IL_00a2: stelem.ref - IL_00a3: dup - IL_00a4: ldc.i4.1 - IL_00a5: ldarg.1 - IL_00a6: stelem.ref - IL_00a7: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00ac: ldloc.0 - IL_00ad: stloc.2 - IL_00ae: br IL_00b3 - - IL_00b3: ldloc.2 - IL_00b4: ret - } // end of method XmlPokeTask::SelectNodes - - // method line 1029 - .method private hidebysig - instance default void UpdateNodes (class [System.Xml]System.Xml.XmlNodeList nodes, string 'value') cil managed - { - // Method begins at RVA 0x10cd0 - // Code size 161 (0xa1) - .maxstack 7 - .locals init ( - int32 V_0, - class [System.Xml]System.Xml.XmlNode V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Updating nodes with value '{0}'." - IL_000c: ldc.i4.1 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldarg.2 - IL_0015: stelem.ref - IL_0016: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_001b: ldc.i4.0 - IL_001c: stloc.0 - IL_001d: nop - IL_001e: ldarg.1 - IL_001f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0024: stloc.2 - .try { // 0 - IL_0025: br IL_0062 - - IL_002a: ldloc.2 - IL_002b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0030: castclass [System.Xml]System.Xml.XmlNode - IL_0035: stloc.1 - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: ldc.i4 2000 - IL_003d: ldstr "Updating node '{0}'." - IL_0042: ldc.i4.1 - IL_0043: newarr [mscorlib]System.Object - IL_0048: dup - IL_0049: ldc.i4.0 - IL_004a: ldloc.0 - IL_004b: box [mscorlib]System.Int32 - IL_0050: stelem.ref - IL_0051: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0056: ldloc.1 - IL_0057: ldarg.2 - IL_0058: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_InnerXml(string) - IL_005d: ldloc.0 - IL_005e: ldc.i4.1 - IL_005f: add - IL_0060: stloc.0 - IL_0061: nop - IL_0062: ldloc.2 - IL_0063: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0068: brtrue IL_002a - - IL_006d: leave IL_0086 - - } // end .try 0 - finally { // 0 - IL_0072: ldloc.2 - IL_0073: isinst [mscorlib]System.IDisposable - IL_0078: dup - IL_0079: stloc.3 - IL_007a: brfalse IL_0085 - - IL_007f: ldloc.3 - IL_0080: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0085: endfinally - } // end handler 0 - IL_0086: ldarg.0 - IL_0087: ldc.i4 2000 - IL_008c: ldstr "Updated all nodes successfully." - IL_0091: ldc.i4.1 - IL_0092: newarr [mscorlib]System.Object - IL_0097: dup - IL_0098: ldc.i4.0 - IL_0099: ldarg.2 - IL_009a: stelem.ref - IL_009b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00a0: ret - } // end of method XmlPokeTask::UpdateNodes - - // method line 1030 - .method private hidebysig - instance default void SaveDocument (class [System.Xml]System.Xml.XmlDocument document, string fileName) cil managed - { - // Method begins at RVA 0x10d90 - // Code size 104 (0x68) - .maxstack 7 - .locals init ( - class [mscorlib]System.Exception V_0) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldc.i4 2000 - IL_0008: ldstr "Attempting to save XML document to '{0}'." - IL_000d: ldc.i4.1 - IL_000e: newarr [mscorlib]System.Object - IL_0013: dup - IL_0014: ldc.i4.0 - IL_0015: ldarg.2 - IL_0016: stelem.ref - IL_0017: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_001c: ldarg.1 - IL_001d: ldarg.2 - IL_001e: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Save(string) - IL_0023: ldarg.0 - IL_0024: ldc.i4 2000 - IL_0029: ldstr "XML document successfully saved to '{0}'." - IL_002e: ldc.i4.1 - IL_002f: newarr [mscorlib]System.Object - IL_0034: dup - IL_0035: ldc.i4.0 - IL_0036: ldarg.2 - IL_0037: stelem.ref - IL_0038: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_003d: nop - IL_003e: leave IL_0067 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0043: stloc.0 - IL_0044: nop - IL_0045: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004a: ldstr "NA1162" - IL_004f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0054: ldarg.2 - IL_0055: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005a: ldarg.0 - IL_005b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0060: ldloc.0 - IL_0061: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0066: throw - } // end handler 0 - IL_0067: ret - } // end of method XmlPokeTask::SaveDocument - - .property instance class [mscorlib]System.IO.FileInfo XmlFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::get_XmlFile () - .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string XPath () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 78 70 61 74 68 01 00 54 02 08 52 65 71 // ...xpath..T..Req - 75 69 72 65 64 01 ) // uired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.XmlPokeTask::get_XPath () - .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_XPath (string 'value') - } - .property instance string Value () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 76 61 6C 75 65 01 00 54 02 08 52 65 71 // ...value..T..Req - 75 69 72 65 64 01 ) // uired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. - - .get instance default string NAnt.Core.Tasks.XmlPokeTask::get_Value () - .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_Value (string 'value') - } - .property instance class NAnt.Core.Types.XmlNamespaceCollection Namespaces () - { - .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0A 6E 61 6D 65 73 70 61 63 65 73 09 6E 61 // ...namespaces.na - 6D 65 73 70 61 63 65 00 00 ) // mespace.. - - .get instance default class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::get_Namespaces () - .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') - } - .property instance bool PreserveWhitespace () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 12 70 72 65 73 65 72 76 65 57 68 69 74 65 // ...preserveWhite - 73 70 61 63 65 01 00 54 02 08 52 65 71 75 69 72 // space..T..Requir - 65 64 00 ) // ed. + IL_0002: callvirt instance string object::ToString() + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method OperatingSystemFunctions::ToString - .get instance default bool NAnt.Core.Tasks.XmlPokeTask::get_PreserveWhitespace () - .set instance default void NAnt.Core.Tasks.XmlPokeTask::set_PreserveWhitespace (bool 'value') - } - } // end of class NAnt.Core.Tasks.XmlPokeTask + } // end of class NAnt.Core.Functions.OperatingSystemFunctions } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit IfTask - extends NAnt.Core.TaskContainer + .class public auto ansi beforefieldinit VersionFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 76 65 72 73 69 6F 6E 07 56 65 72 73 69 // ...version.Versi + 6F 6E 00 00 ) // on.. - .field private string _propNameTrue - .field private string _propNameExists - .field private string _targetName - .field private string _test - .field private class NAnt.Core.Types.FileSet _compareFiles - .field private class NAnt.Core.Types.FileSet _uptodateFiles - // method line 1031 + // method line 812 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x11147 - // Code size 7 (0x7) + // Method begins at RVA 0x12a93 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.TaskContainer::'.ctor'() - IL_0006: ret - } // end of method IfTask::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method VersionFunctions::.ctor - // method line 1032 - .method public hidebysig specialname - instance default void set_UpToDateFile (string 'value') cil managed + // method line 813 + .method public static hidebysig + default int32 GetMajor (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x11150 - // Code size 90 (0x5a) - .maxstack 2 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles - IL_0007: brtrue IL_0047 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0013: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles - IL_0018: ldarg.0 - IL_0019: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles - IL_001e: ldarg.0 - IL_001f: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0024: ldarg.0 - IL_0025: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles - IL_002a: ldarg.0 - IL_002b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0030: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0035: ldarg.0 - IL_0036: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles - IL_003b: ldarg.0 - IL_003c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_0041: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0046: nop - IL_0047: ldarg.0 - IL_0048: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles - IL_004d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0052: ldarg.1 - IL_0053: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0058: pop - IL_0059: ret - } // end of method IfTask::set_UpToDateFile + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 6D 61 6A 6F 72 00 00 ) // ...get-major.. - // method line 1033 - .method public hidebysig specialname - instance default void set_CompareFile (string 'value') cil managed - { - // Method begins at RVA 0x111b8 - // Code size 90 (0x5a) - .maxstack 2 + // Method begins at RVA 0x12aa0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_0007: brtrue IL_0047 + IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Major() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0013: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_0018: ldarg.0 - IL_0019: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_001e: ldarg.0 - IL_001f: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0024: ldarg.0 - IL_0025: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_002a: ldarg.0 - IL_002b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0030: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0035: ldarg.0 - IL_0036: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_003b: ldarg.0 - IL_003c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_0041: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0046: nop - IL_0047: ldarg.0 - IL_0048: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_004d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0052: ldarg.1 - IL_0053: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0058: pop - IL_0059: ret - } // end of method IfTask::set_CompareFile + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VersionFunctions::GetMajor - // method line 1034 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_CompareFiles () cil managed + // method line 814 + .method public static hidebysig + default int32 GetMinor (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x11220 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 6D 69 6E 6F 72 00 00 ) // ...get-minor.. + + // Method begins at RVA 0x12abc // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Minor() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IfTask::get_CompareFiles + } // end of method VersionFunctions::GetMinor - // method line 1035 - .method public hidebysig specialname - instance default void set_CompareFiles (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 815 + .method public static hidebysig + default int32 GetBuild (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x1123b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_0008: ret - } // end of method IfTask::set_CompareFiles + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 62 75 69 6C 64 00 00 ) // ...get-build.. - // method line 1036 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_UpToDateFiles () cil managed - { - // Method begins at RVA 0x11248 + // Method begins at RVA 0x12ad8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Build() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IfTask::get_UpToDateFiles + } // end of method VersionFunctions::GetBuild - // method line 1037 - .method public hidebysig specialname - instance default void set_UpToDateFiles (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 816 + .method public static hidebysig + default int32 GetRevision (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x11263 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles - IL_0008: ret - } // end of method IfTask::set_UpToDateFiles + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 72 65 76 69 73 69 6F 6E 00 // ...get-revision. + 00 ) // . - // method line 1038 - .method public hidebysig specialname - instance default string get_PropertyNameTrue () cil managed - { - // Method begins at RVA 0x11270 + // Method begins at RVA 0x12af4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_propNameTrue + IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Revision() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IfTask::get_PropertyNameTrue + } // end of method VersionFunctions::GetRevision - // method line 1039 - .method public hidebysig specialname - instance default void set_PropertyNameTrue (string 'value') cil managed + } // end of class NAnt.Core.Functions.VersionFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit VersionConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 76 65 72 73 69 6F 6E 0A 43 6F 6E 76 65 // ...version.Conve + 72 73 69 6F 6E 00 00 ) // rsion.. + + + // method line 817 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x1128b - // Code size 14 (0xe) + // Method begins at RVA 0x12b0f + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.IfTask::_propNameTrue - IL_000d: ret - } // end of method IfTask::set_PropertyNameTrue + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method VersionConversionFunctions::.ctor - // method line 1040 - .method public hidebysig specialname - instance default string get_PropertyNameExists () cil managed + // method line 818 + .method public static hidebysig + default class [mscorlib]System.Version Parse (string version) cil managed { - // Method begins at RVA 0x1129c + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x12b1c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_propNameExists + IL_0002: newobj instance void class [mscorlib]System.Version::'.ctor'(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IfTask::get_PropertyNameExists + } // end of method VersionConversionFunctions::Parse - // method line 1041 - .method public hidebysig specialname - instance default void set_PropertyNameExists (string 'value') cil managed - { - // Method begins at RVA 0x112b7 - // Code size 14 (0xe) - .maxstack 8 + // method line 819 + .method public static hidebysig + default string ToString (class [mscorlib]System.Version 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + + // Method begins at RVA 0x12b38 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.IfTask::_propNameExists + IL_0002: callvirt instance string object::ToString() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VersionConversionFunctions::ToString + + } // end of class NAnt.Core.Functions.VersionConversionFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit DnsFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 03 64 6E 73 03 44 4E 53 00 00 ) // ...dns.DNS.. + + + // method line 820 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x12b53 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DnsFunctions::.ctor + + // method line 821 + .method public static hidebysig + default string GetHostName () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 68 6F 73 74 2D 6E 61 6D 65 // ...get-host-name + 00 00 ) // .. + + // Method begins at RVA 0x12b60 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call string class [System]System.Net.Dns::GetHostName() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 IL_000d: ret - } // end of method IfTask::set_PropertyNameExists + } // end of method DnsFunctions::GetHostName - // method line 1042 + } // end of class NAnt.Core.Functions.DnsFunctions +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit PatternSet + extends NAnt.Core.DataTypeBase + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. + + .field private initonly class NAnt.Core.Types.PatternCollection _include + .field private initonly class NAnt.Core.Types.PatternCollection _exclude + .field private initonly class NAnt.Core.Types.PatternCollection _includesFile + .field private initonly class NAnt.Core.Types.PatternCollection _excludesFile + + // method line 822 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x12d8e + // Code size 52 (0x34) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() + IL_000d: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include + IL_0012: ldarg.0 + IL_0013: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() + IL_0018: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude + IL_001d: ldarg.0 + IL_001e: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() + IL_0023: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile + IL_0028: ldarg.0 + IL_0029: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() + IL_002e: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile + IL_0033: ret + } // end of method PatternSet::.ctor + + // method line 823 .method public hidebysig specialname - instance default string get_TargetNameExists () cil managed + instance default class NAnt.Core.Types.PatternCollection get_Include () cil managed { - // Method begins at RVA 0x112c8 + // Method begins at RVA 0x12dc4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.PatternCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_targetName + IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IfTask::get_TargetNameExists + } // end of method PatternSet::get_Include - // method line 1043 + // method line 824 .method public hidebysig specialname - instance default void set_TargetNameExists (string 'value') cil managed + instance default class NAnt.Core.Types.PatternCollection get_IncludesFile () cil managed { - // Method begins at RVA 0x112e3 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x12de0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PatternCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.IfTask::_targetName - IL_000d: ret - } // end of method IfTask::set_TargetNameExists + IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1044 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PatternSet::get_IncludesFile + + // method line 825 .method public hidebysig specialname - instance default string get_Test () cil managed + instance default class NAnt.Core.Types.PatternCollection get_Exclude () cil managed { - // Method begins at RVA 0x112f4 + // Method begins at RVA 0x12dfc // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.PatternCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.IfTask::_test + IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IfTask::get_Test + } // end of method PatternSet::get_Exclude - // method line 1045 + // method line 826 .method public hidebysig specialname - instance default void set_Test (string 'value') cil managed + instance default class NAnt.Core.Types.PatternCollection get_ExcludesFile () cil managed { - // Method begins at RVA 0x1130f - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x12e18 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PatternCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.IfTask::_test - IL_000d: ret - } // end of method IfTask::set_Test + IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1046 - .method family virtual hidebysig newslot specialname - instance default bool get_ConditionsTrue () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PatternSet::get_ExcludesFile + + // method line 827 + .method public hidebysig + instance default void Append (class NAnt.Core.Types.PatternSet patternSet) cil managed { - // Method begins at RVA 0x11320 - // Code size 457 (0x1c9) - .maxstack 7 + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. + + // Method begins at RVA 0x12e34 + // Code size 134 (0x86) + .maxstack 3 .locals init ( - bool V_0, - bool V_1, - class [mscorlib]System.Exception V_2, - class [mscorlib]System.IO.FileInfo V_3, - string V_4, - bool V_5) + string[] V_0, + string V_1, + string[] V_2, + int32 V_3, + string[] V_4, + string V_5, + string[] V_6, + int32 V_7) IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance string class NAnt.Core.Tasks.IfTask::get_Test() - IL_0009: brfalse IL_002d - - IL_000e: nop - IL_000f: ldarg.0 - IL_0010: call instance string class NAnt.Core.Tasks.IfTask::get_Test() - IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001a: call bool class [mscorlib]System.Convert::ToBoolean(string, class [mscorlib]System.IFormatProvider) - IL_001f: brtrue IL_002c - - IL_0024: nop - IL_0025: ldc.i4.0 - IL_0026: stloc.1 - IL_0027: br IL_01c7 + IL_0001: ldarg.1 + IL_0002: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetIncludePatterns() + IL_0007: stloc.0 + IL_0008: nop + IL_0009: ldloc.0 + IL_000a: stloc.2 + IL_000b: ldc.i4.0 + IL_000c: stloc.3 + IL_000d: br IL_0034 - IL_002c: nop - IL_002d: ldarg.0 - IL_002e: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() - IL_0033: brfalse IL_006e + IL_0012: ldloc.2 + IL_0013: ldloc.3 + IL_0014: ldelem.ref + IL_0015: stloc.1 + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include + IL_001d: ldarg.0 + IL_001e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0023: ldloc.1 + IL_0024: newobj instance void class NAnt.Core.Types.Pattern::'.ctor'(class NAnt.Core.Project, string) + IL_0029: callvirt instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) + IL_002e: pop + IL_002f: nop + 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_0012 - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: brfalse IL_005d + IL_003d: ldarg.1 + IL_003e: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetExcludePatterns() + IL_0043: stloc.s 4 + IL_0045: nop + IL_0046: ldloc.s 4 + IL_0048: stloc.s 6 + IL_004a: ldc.i4.0 + IL_004b: stloc.s 7 + IL_004d: br IL_007a - IL_003f: ldarg.0 - IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0045: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_004a: ldarg.0 - IL_004b: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() - IL_0050: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0055: ldnull - IL_0056: ceq - IL_0058: ldc.i4.0 - IL_0059: ceq - IL_005b: br.s IL_005e + IL_0052: ldloc.s 6 + IL_0054: ldloc.s 7 + IL_0056: ldelem.ref + IL_0057: stloc.s 5 + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude + IL_0060: ldarg.0 + IL_0061: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0066: ldloc.s 5 + IL_0068: newobj instance void class NAnt.Core.Types.Pattern::'.ctor'(class NAnt.Core.Project, string) + IL_006d: callvirt instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) + IL_0072: pop + IL_0073: nop + IL_0074: ldloc.s 7 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: stloc.s 7 + IL_007a: ldloc.s 7 + IL_007c: ldloc.s 6 + IL_007e: ldlen + IL_007f: conv.i4 + IL_0080: blt IL_0052 - IL_005d: ldc.i4.0 - IL_005e: stloc.0 - IL_005f: ldloc.0 - IL_0060: brtrue IL_006d + IL_0085: ret + } // end of method PatternSet::Append - IL_0065: nop - IL_0066: ldc.i4.0 - IL_0067: stloc.1 - IL_0068: br IL_01c7 + // method line 828 + .method public hidebysig + instance default string[] GetIncludePatterns () cil managed + { + // Method begins at RVA 0x12ec8 + // Code size 301 (0x12d) + .maxstack 3 + .locals init ( + class [mscorlib]System.Collections.ArrayList V_0, + class NAnt.Core.Types.Pattern V_1, + class NAnt.Core.Types.PatternEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.Core.Types.Pattern V_4, + class NAnt.Core.Types.PatternEnumerator V_5, + string V_6, + class [mscorlib]System.IDisposable V_7, + string[] V_8) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Include() + IL_0007: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() + IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0011: stloc.0 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Include() + IL_0019: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() + IL_001e: stloc.2 + .try { // 0 + IL_001f: br IL_004b - IL_006d: nop - IL_006e: ldarg.0 - IL_006f: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameExists() - IL_0074: brfalse IL_00a4 + IL_0024: ldloc.2 + IL_0025: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() + IL_002a: stloc.1 + IL_002b: nop + IL_002c: ldloc.1 + IL_002d: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() + IL_0032: brtrue IL_003d - IL_0079: nop - IL_007a: ldloc.0 - IL_007b: brfalse IL_0093 + IL_0037: nop + IL_0038: leave IL_004b - IL_0080: ldarg.0 - IL_0081: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0086: ldarg.0 - IL_0087: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameExists() - IL_008c: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0091: br.s IL_0094 + IL_003d: ldloc.0 + IL_003e: ldloc.1 + IL_003f: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() + IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0049: pop + IL_004a: nop + IL_004b: ldloc.2 + IL_004c: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() + IL_0051: brtrue IL_0024 - IL_0093: ldc.i4.0 - IL_0094: stloc.0 - IL_0095: ldloc.0 - IL_0096: brtrue IL_00a3 + IL_0056: leave IL_006f - IL_009b: nop - IL_009c: ldc.i4.0 - IL_009d: stloc.1 - IL_009e: br IL_01c7 + } // end .try 0 + finally { // 0 + IL_005b: ldloc.2 + IL_005c: isinst [mscorlib]System.IDisposable + IL_0061: dup + IL_0062: stloc.3 + IL_0063: brfalse IL_006e - IL_00a3: nop - IL_00a4: ldarg.0 - IL_00a5: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() - IL_00aa: brfalse IL_010f + IL_0068: ldloc.3 + IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_006e: endfinally + } // end handler 0 + IL_006f: nop + IL_0070: ldarg.0 + IL_0071: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_IncludesFile() + IL_0076: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() + IL_007b: stloc.s 5 + .try { // 1 + IL_007d: br IL_00e6 - IL_00af: nop - .try { // 0 - IL_00b0: nop - IL_00b1: ldloc.0 - IL_00b2: brfalse IL_00cf + IL_0082: ldloc.s 5 + IL_0084: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() + IL_0089: stloc.s 4 + IL_008b: nop + IL_008c: ldloc.s 4 + IL_008e: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() + IL_0093: brtrue IL_009e - IL_00b7: ldarg.0 - IL_00b8: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00bd: ldarg.0 - IL_00be: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() - IL_00c3: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_00c8: call bool bool::Parse(string) - IL_00cd: br.s IL_00d0 + IL_0098: nop + IL_0099: leave IL_00e6 - IL_00cf: ldc.i4.0 - IL_00d0: stloc.0 - IL_00d1: ldloc.0 - IL_00d2: brtrue IL_00df + IL_009e: ldarg.0 + IL_009f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00a4: ldloc.s 4 + IL_00a6: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() + IL_00ab: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_00b0: stloc.s 6 + IL_00b2: ldloc.s 6 + IL_00b4: call bool class [mscorlib]System.IO.File::Exists(string) + IL_00b9: brtrue IL_00dc - IL_00d7: nop - IL_00d8: ldc.i4.0 - IL_00d9: stloc.1 - IL_00da: leave IL_01c7 + IL_00be: nop + IL_00bf: ldstr "Includesfile '" + IL_00c4: ldloc.s 6 + IL_00c6: ldstr "' not found." + IL_00cb: call string string::Concat(string, string, string) + IL_00d0: ldarg.0 + IL_00d1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00db: throw + IL_00dc: ldarg.0 + IL_00dd: ldloc.s 6 + IL_00df: ldloc.0 + IL_00e0: call instance void class NAnt.Core.Types.PatternSet::ReadPatterns(string, class [mscorlib]System.Collections.ArrayList) + IL_00e5: nop + IL_00e6: ldloc.s 5 + IL_00e8: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() + IL_00ed: brtrue IL_0082 - IL_00df: nop - IL_00e0: leave IL_010e + IL_00f2: leave IL_010e - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_00e5: stloc.2 - IL_00e6: nop - IL_00e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ec: ldstr "NA1126" - IL_00f1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f6: ldarg.0 - IL_00f7: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() - IL_00fc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0101: ldarg.0 - IL_0102: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0107: ldloc.2 - IL_0108: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_010d: throw - } // end handler 0 - IL_010e: nop - IL_010f: ldarg.0 - IL_0110: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_UpToDateFiles() - IL_0115: brfalse IL_01c0 + } // end .try 1 + finally { // 1 + IL_00f7: ldloc.s 5 + IL_00f9: isinst [mscorlib]System.IDisposable + IL_00fe: dup + IL_00ff: stloc.s 7 + IL_0101: brfalse IL_010d - IL_011a: nop - IL_011b: ldarg.0 - IL_011c: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_UpToDateFiles() - IL_0121: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet::get_MostRecentLastWriteTimeFile() - IL_0126: stloc.3 - IL_0127: ldloc.3 - IL_0128: brfalse IL_0138 + IL_0106: ldloc.s 7 + IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_010d: endfinally + } // end handler 1 + IL_010e: ldloc.0 + IL_010f: ldtoken [mscorlib]System.String + IL_0114: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0119: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_011e: castclass string[] + IL_0123: stloc.s 8 + IL_0125: br IL_012a - IL_012d: ldloc.3 - IL_012e: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0133: brtrue IL_0151 + IL_012a: ldloc.s 8 + IL_012c: ret + } // end of method PatternSet::GetIncludePatterns - IL_0138: nop - IL_0139: ldc.i4.0 - IL_013a: stloc.0 - IL_013b: ldarg.0 - IL_013c: ldc.i4 2000 - IL_0141: ldstr "Uptodatefile(s) do(es) not exist." - IL_0146: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_014b: nop - IL_014c: br IL_01b1 - - IL_0151: nop - IL_0152: ldarg.0 - IL_0153: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles - IL_0158: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_015d: ldloc.3 - IL_015e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0163: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0168: stloc.s 4 - IL_016a: ldloc.s 4 - IL_016c: ldnull - IL_016d: ceq - IL_016f: ldc.i4.0 - IL_0170: ceq - IL_0172: stloc.s 5 - IL_0174: ldloc.s 5 - IL_0176: brfalse IL_01a1 + // method line 829 + .method public hidebysig + instance default string[] GetExcludePatterns () cil managed + { + // Method begins at RVA 0x13020 + // Code size 301 (0x12d) + .maxstack 3 + .locals init ( + class [mscorlib]System.Collections.ArrayList V_0, + class NAnt.Core.Types.Pattern V_1, + class NAnt.Core.Types.PatternEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.Core.Types.Pattern V_4, + class NAnt.Core.Types.PatternEnumerator V_5, + string V_6, + class [mscorlib]System.IDisposable V_7, + string[] V_8) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Exclude() + IL_0007: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() + IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0011: stloc.0 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Exclude() + IL_0019: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() + IL_001e: stloc.2 + .try { // 0 + IL_001f: br IL_004b - IL_017b: nop - IL_017c: ldarg.0 - IL_017d: ldc.i4 2000 - IL_0182: ldstr "{0} is newer than {1}." - IL_0187: ldc.i4.2 - IL_0188: newarr [mscorlib]System.Object - IL_018d: dup - IL_018e: ldc.i4.0 - IL_018f: ldloc.s 4 - IL_0191: stelem.ref - IL_0192: dup - IL_0193: ldc.i4.1 - IL_0194: ldloc.3 - IL_0195: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_019a: stelem.ref - IL_019b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_01a0: nop - IL_01a1: ldloc.0 - IL_01a2: brfalse IL_01ae + IL_0024: ldloc.2 + IL_0025: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() + IL_002a: stloc.1 + IL_002b: nop + IL_002c: ldloc.1 + IL_002d: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() + IL_0032: brtrue IL_003d - IL_01a7: ldloc.s 5 - IL_01a9: ldc.i4.0 - IL_01aa: ceq - IL_01ac: br.s IL_01af + IL_0037: nop + IL_0038: leave IL_004b - IL_01ae: ldc.i4.0 - IL_01af: stloc.0 - IL_01b0: nop - IL_01b1: ldloc.0 - IL_01b2: brtrue IL_01bf + IL_003d: ldloc.0 + IL_003e: ldloc.1 + IL_003f: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() + IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0049: pop + IL_004a: nop + IL_004b: ldloc.2 + IL_004c: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() + IL_0051: brtrue IL_0024 - IL_01b7: nop - IL_01b8: ldc.i4.0 - IL_01b9: stloc.1 - IL_01ba: br IL_01c7 + IL_0056: leave IL_006f - IL_01bf: nop - IL_01c0: ldloc.0 - IL_01c1: stloc.1 - IL_01c2: br IL_01c7 + } // end .try 0 + finally { // 0 + IL_005b: ldloc.2 + IL_005c: isinst [mscorlib]System.IDisposable + IL_0061: dup + IL_0062: stloc.3 + IL_0063: brfalse IL_006e - IL_01c7: ldloc.1 - IL_01c8: ret - } // end of method IfTask::get_ConditionsTrue + IL_0068: ldloc.3 + IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_006e: endfinally + } // end handler 0 + IL_006f: nop + IL_0070: ldarg.0 + IL_0071: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_ExcludesFile() + IL_0076: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() + IL_007b: stloc.s 5 + .try { // 1 + IL_007d: br IL_00e6 - // method line 1047 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x11508 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.Core.Tasks.IfTask::get_ConditionsTrue() - IL_0007: brfalse IL_0014 + IL_0082: ldloc.s 5 + IL_0084: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() + IL_0089: stloc.s 4 + IL_008b: nop + IL_008c: ldloc.s 4 + IL_008e: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() + IL_0093: brtrue IL_009e - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.Core.TaskContainer::ExecuteTask() - IL_0013: nop - IL_0014: ret - } // end of method IfTask::ExecuteTask + IL_0098: nop + IL_0099: leave IL_00e6 - // method line 1048 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x11520 - // Code size 92 (0x5c) - .maxstack 2 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.TaskContainer::Initialize() - IL_0007: ldarg.0 - IL_0008: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_UpToDateFiles() - IL_000d: brfalse IL_001d + IL_009e: ldarg.0 + IL_009f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00a4: ldloc.s 4 + IL_00a6: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() + IL_00ab: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_00b0: stloc.s 6 + IL_00b2: ldloc.s 6 + IL_00b4: call bool class [mscorlib]System.IO.File::Exists(string) + IL_00b9: brtrue IL_00dc - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.IfTask::get_CompareFiles() - IL_0018: brtrue IL_005b + IL_00be: nop + IL_00bf: ldstr "Excludesfile '" + IL_00c4: ldloc.s 6 + IL_00c6: ldstr "' not found." + IL_00cb: call string string::Concat(string, string, string) + IL_00d0: ldarg.0 + IL_00d1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00db: throw + IL_00dc: ldarg.0 + IL_00dd: ldloc.s 6 + IL_00df: ldloc.0 + IL_00e0: call instance void class NAnt.Core.Types.PatternSet::ReadPatterns(string, class [mscorlib]System.Collections.ArrayList) + IL_00e5: nop + IL_00e6: ldloc.s 5 + IL_00e8: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() + IL_00ed: brtrue IL_0082 - IL_001d: ldarg.0 - IL_001e: call instance string class NAnt.Core.Tasks.IfTask::get_Test() - IL_0023: brtrue IL_005b + IL_00f2: leave IL_010e - IL_0028: ldarg.0 - IL_0029: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameExists() - IL_002e: brtrue IL_005b + } // end .try 1 + finally { // 1 + IL_00f7: ldloc.s 5 + IL_00f9: isinst [mscorlib]System.IDisposable + IL_00fe: dup + IL_00ff: stloc.s 7 + IL_0101: brfalse IL_010d - IL_0033: ldarg.0 - IL_0034: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() - IL_0039: brtrue IL_005b + IL_0106: ldloc.s 7 + IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_010d: endfinally + } // end handler 1 + IL_010e: ldloc.0 + IL_010f: ldtoken [mscorlib]System.String + IL_0114: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0119: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_011e: castclass string[] + IL_0123: stloc.s 8 + IL_0125: br IL_012a - IL_003e: ldarg.0 - IL_003f: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() - IL_0044: brtrue IL_005b + IL_012a: ldloc.s 8 + IL_012c: ret + } // end of method PatternSet::GetExcludePatterns - IL_0049: nop - IL_004a: ldstr "At least one if condition must be set (test, propertytrue, targetexists, etc...):" - IL_004f: ldarg.0 - IL_0050: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0055: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_005a: throw - IL_005b: ret - } // end of method IfTask::Initialize + // method line 830 + .method private hidebysig + instance default void ReadPatterns (string fileName, class [mscorlib]System.Collections.ArrayList patterns) cil managed + { + // Method begins at RVA 0x13178 + // Code size 104 (0x68) + .maxstack 3 + .locals init ( + class [mscorlib]System.IO.StreamReader V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_0007: ldc.i4.1 + IL_0008: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_000d: stloc.0 + .try { // 0 + IL_000e: nop + IL_000f: ldloc.0 + IL_0010: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0015: stloc.1 + IL_0016: br IL_004e - .property instance string UpToDateFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 75 70 74 6F 64 61 74 65 66 69 6C 65 00 // ...uptodatefile. - 00 ) // . + IL_001b: nop + IL_001c: ldloc.1 + IL_001d: callvirt instance string string::Trim() + IL_0022: stloc.1 + IL_0023: ldloc.1 + IL_0024: callvirt instance int32 string::get_Length() + IL_0029: brfalse IL_0046 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 47 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..GUse instead.... + IL_002e: ldloc.1 + IL_002f: ldc.i4.0 + IL_0030: callvirt instance char string::get_Chars(int32) + IL_0035: ldc.i4.s 0x23 + IL_0037: beq IL_0046 - .set instance default void NAnt.Core.Tasks.IfTask::set_UpToDateFile (string 'value') - } - .property instance string CompareFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 63 6F 6D 70 61 72 65 66 69 6C 65 00 00 ) // ...comparefile.. + IL_003c: nop + IL_003d: ldarg.2 + IL_003e: ldloc.1 + IL_003f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0044: pop + IL_0045: nop + IL_0046: ldloc.0 + IL_0047: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_004c: stloc.1 + IL_004d: nop + IL_004e: ldloc.1 + IL_004f: brtrue IL_001b - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 47 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..GUse instead.... + IL_0054: nop + IL_0055: leave IL_0067 - .set instance default void NAnt.Core.Tasks.IfTask::set_CompareFile (string 'value') - } - .property instance class NAnt.Core.Types.FileSet CompareFiles () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0C 63 6F 6D 70 61 72 65 66 69 6C 65 73 00 // ...comparefiles. - 00 ) // . + } // end .try 0 + finally { // 0 + IL_005a: ldloc.0 + IL_005b: brfalse IL_0066 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 1E 55 73 65 20 3C 75 70 74 6F 64 61 74 65 // ...Use task instead - 2E 00 00 00 ) // .... + IL_0060: ldloc.0 + IL_0061: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0066: endfinally + } // end handler 0 + IL_0067: ret + } // end of method PatternSet::ReadPatterns - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::get_CompareFiles () - .set instance default void NAnt.Core.Tasks.IfTask::set_CompareFiles (class NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.Core.Types.FileSet UpToDateFiles () + .property instance class NAnt.Core.Types.PatternCollection Include () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0D 75 70 74 6F 64 61 74 65 66 69 6C 65 73 // ...uptodatefiles - 00 00 ) // .. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 1E 55 73 65 20 3C 75 70 74 6F 64 61 74 65 // ...Use task instead - 2E 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::get_UpToDateFiles () - .set instance default void NAnt.Core.Tasks.IfTask::set_UpToDateFiles (class NAnt.Core.Types.FileSet 'value') + .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_Include () } - .property instance string PropertyNameTrue () + .property instance class NAnt.Core.Types.PatternCollection IncludesFile () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 70 72 6F 70 65 72 74 79 74 72 75 65 00 // ...propertytrue. + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 0C 69 6E 63 6C 75 64 65 73 66 69 6C 65 00 // ...includesfile. 00 ) // . - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 28 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..(Use instead.... - - .get instance default string NAnt.Core.Tasks.IfTask::get_PropertyNameTrue () - .set instance default void NAnt.Core.Tasks.IfTask::set_PropertyNameTrue (string 'value') + .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_IncludesFile () } - .property instance string PropertyNameExists () + .property instance class NAnt.Core.Types.PatternCollection Exclude () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 70 72 6F 70 65 72 74 79 65 78 69 73 74 // ...propertyexist - 73 00 00 ) // s.. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 3C 55 73 65 20 3C 69 66 20 74 65 73 74 3D // .. instead.. - 00 00 ) // .. + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. - .get instance default string NAnt.Core.Tasks.IfTask::get_PropertyNameExists () - .set instance default void NAnt.Core.Tasks.IfTask::set_PropertyNameExists (string 'value') + .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_Exclude () } - .property instance string TargetNameExists () + .property instance class NAnt.Core.Types.PatternCollection ExcludesFile () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 74 61 72 67 65 74 65 78 69 73 74 73 00 // ...targetexists. + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 0C 65 78 63 6C 75 64 65 73 66 69 6C 65 00 // ...excludesfile. 00 ) // . - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 38 55 73 65 20 3C 69 66 20 74 65 73 74 3D // ..8Use instead.... - - .get instance default string NAnt.Core.Tasks.IfTask::get_TargetNameExists () - .set instance default void NAnt.Core.Tasks.IfTask::set_TargetNameExists (string 'value') - } - .property instance string Test () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 74 65 73 74 00 00 ) // ...test.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default string NAnt.Core.Tasks.IfTask::get_Test () - .set instance default void NAnt.Core.Tasks.IfTask::set_Test (string 'value') - } - .property instance bool ConditionsTrue () - { - .get instance default bool NAnt.Core.Tasks.IfTask::get_ConditionsTrue () + .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_ExcludesFile () } - } // end of class NAnt.Core.Tasks.IfTask + } // end of class NAnt.Core.Types.PatternSet } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit IfNotTask - extends NAnt.Core.Tasks.IfTask + .class public auto ansi serializable beforefieldinit Argument + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 69 66 6E 6F 74 00 00 ) // ...ifnot.. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 1A 55 73 65 20 74 68 65 20 3C 69 66 3E 20 // ...Use the - 74 61 73 6B 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // task instead.... + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + .field private class [mscorlib]System.IO.FileInfo _file + .field private class [mscorlib]System.IO.DirectoryInfo _directory + .field private class NAnt.Core.Types.PathSet _path + .field private string _value + .field private string _line + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1049 + // method line 831 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11588 - // Code size 7 (0x7) + // Method begins at RVA 0x131fc + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Tasks.IfTask::'.ctor'() - IL_0006: ret - } // end of method IfNotTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method Argument::.ctor - // method line 1050 - .method family virtual hidebysig specialname - instance default bool get_ConditionsTrue () cil managed + // method line 832 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string 'value') cil managed { - // Method begins at RVA 0x11590 - // Code size 18 (0x12) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.IfTask::get_ConditionsTrue() - IL_0007: ldc.i4.0 - IL_0008: ceq - IL_000a: stloc.0 - IL_000b: br IL_0010 - - IL_0010: ldloc.0 - IL_0011: ret - } // end of method IfNotTask::get_ConditionsTrue - - .property instance bool ConditionsTrue () - { - .get instance default bool NAnt.Core.Tasks.IfNotTask::get_ConditionsTrue () - } - } // end of class NAnt.Core.Tasks.IfNotTask -} - -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit PropertyTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 70 72 6F 70 65 72 74 79 00 00 ) // ...property.. + // Method begins at RVA 0x1320c + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld string NAnt.Core.Types.Argument::_value + IL_0015: ret + } // end of method Argument::.ctor - .field private string _name - .field private string _value - .field private bool _readOnly - .field private bool _dynamic - .field private bool _overwrite + // method line 833 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x13223 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file + IL_0015: ret + } // end of method Argument::.ctor - // method line 1051 + // method line 834 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x115ae - // Code size 25 (0x19) + // Method begins at RVA 0x1323a + // Code size 22 (0x16) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.Core.Tasks.PropertyTask::_value - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.Core.Tasks.PropertyTask::_overwrite - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.Task::'.ctor'() - IL_0018: ret - } // end of method PropertyTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0015: ret + } // end of method Argument::.ctor - // method line 1052 + // method line 835 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x13254 + // Code size 170 (0xaa) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() + IL_0007: brfalse IL_0023 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() + IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0018: call string class NAnt.Core.Types.Argument::QuoteArgument(string) + IL_001d: stloc.0 + IL_001e: br IL_00a8 + + IL_0023: ldarg.0 + IL_0024: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() + IL_0029: brfalse IL_0045 + + IL_002e: nop + IL_002f: ldarg.0 + IL_0030: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() + IL_0035: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_003a: call string class NAnt.Core.Types.Argument::QuoteArgument(string) + IL_003f: stloc.0 + IL_0040: br IL_00a8 + + IL_0045: ldarg.0 + IL_0046: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() + IL_004b: brfalse IL_0067 + + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() + IL_0057: callvirt instance string object::ToString() + IL_005c: call string class NAnt.Core.Types.Argument::QuoteArgument(string) + IL_0061: stloc.0 + IL_0062: br IL_00a8 + + IL_0067: ldarg.0 + IL_0068: call instance string class NAnt.Core.Types.Argument::get_Value() + IL_006d: brfalse IL_0084 + + IL_0072: nop + IL_0073: ldarg.0 + IL_0074: call instance string class NAnt.Core.Types.Argument::get_Value() + IL_0079: call string class NAnt.Core.Types.Argument::QuoteArgument(string) + IL_007e: stloc.0 + IL_007f: br IL_00a8 + + IL_0084: ldarg.0 + IL_0085: call instance string class NAnt.Core.Types.Argument::get_Line() + IL_008a: brfalse IL_009c + + IL_008f: nop + IL_0090: ldarg.0 + IL_0091: call instance string class NAnt.Core.Types.Argument::get_Line() + IL_0096: stloc.0 + IL_0097: br IL_00a8 + + IL_009c: nop + IL_009d: ldsfld string [mscorlib]System.String::Empty + IL_00a2: stloc.0 + IL_00a3: br IL_00a8 + + IL_00a8: ldloc.0 + IL_00a9: ret + } // end of method Argument::ToString + + // method line 836 .method public hidebysig specialname - instance default string get_PropertyName () cil managed + instance default string get_Value () cil managed { - // Method begins at RVA 0x115c8 + // Method begins at RVA 0x1330c // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.PropertyTask::_name + IL_0002: ldfld string NAnt.Core.Types.Argument::_value IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PropertyTask::get_PropertyName + } // end of method Argument::get_Value - // method line 1053 + // method line 837 .method public hidebysig specialname - instance default void set_PropertyName (string 'value') cil managed + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0x115e3 + // Method begins at RVA 0x13327 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.PropertyTask::_name + IL_0003: stfld string NAnt.Core.Types.Argument::_value IL_0008: ret - } // end of method PropertyTask::set_PropertyName + } // end of method Argument::set_Value - // method line 1054 + // method line 838 .method public hidebysig specialname - instance default string get_Value () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x115f0 + // Method begins at RVA 0x13334 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.PropertyTask::_value + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PropertyTask::get_Value + } // end of method Argument::get_File - // method line 1055 + // method line 839 .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x1160b + // Method begins at RVA 0x1334f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.PropertyTask::_value + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file IL_0008: ret - } // end of method PropertyTask::set_Value + } // end of method Argument::set_File - // method line 1056 + // method line 840 .method public hidebysig specialname - instance default bool get_ReadOnly () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x11618 + // Method begins at RVA 0x1335c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.PropertyTask::_readOnly + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::_directory IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PropertyTask::get_ReadOnly + } // end of method Argument::get_Directory - // method line 1057 + // method line 841 .method public hidebysig specialname - instance default void set_ReadOnly (bool 'value') cil managed + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x11633 + // Method begins at RVA 0x13377 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.PropertyTask::_readOnly + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::_directory IL_0008: ret - } // end of method PropertyTask::set_ReadOnly + } // end of method Argument::set_Directory - // method line 1058 + // method line 842 .method public hidebysig specialname - instance default bool get_Dynamic () cil managed + instance default class NAnt.Core.Types.PathSet get_Path () cil managed + { + // Method begins at RVA 0x13384 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PathSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Argument::get_Path + + // method line 843 + .method public hidebysig specialname + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + { + // Method begins at RVA 0x1339f + // Code size 38 (0x26) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0007: brfalse IL_001e + + IL_000c: nop + IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." + IL_0012: ldarg.0 + IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_001d: throw + IL_001e: ldarg.0 + IL_001f: ldarg.1 + IL_0020: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0025: ret + } // end of method Argument::set_Path + + // method line 844 + .method public hidebysig specialname + instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed + { + // Method begins at RVA 0x133c8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PathSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Argument::get_PathSet + + // method line 845 + .method public hidebysig specialname + instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed + { + // Method begins at RVA 0x133e3 + // Code size 38 (0x26) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0007: brfalse IL_001e + + IL_000c: nop + IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." + IL_0012: ldarg.0 + IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_001d: throw + IL_001e: ldarg.0 + IL_001f: ldarg.1 + IL_0020: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0025: ret + } // end of method Argument::set_PathSet + + // method line 846 + .method public hidebysig specialname + instance default string get_Line () cil managed + { + // Method begins at RVA 0x1340c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Argument::_line + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Argument::get_Line + + // method line 847 + .method public hidebysig specialname + instance default void set_Line (string 'value') cil managed + { + // Method begins at RVA 0x13427 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.Argument::_line + IL_0008: ret + } // end of method Argument::set_Line + + // method line 848 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x11640 + // Method begins at RVA 0x13434 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.PropertyTask::_dynamic + IL_0002: ldfld bool NAnt.Core.Types.Argument::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PropertyTask::get_Dynamic + } // end of method Argument::get_IfDefined - // method line 1059 + // method line 849 .method public hidebysig specialname - instance default void set_Dynamic (bool 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x1165b + // Method begins at RVA 0x1344f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.PropertyTask::_dynamic + IL_0003: stfld bool NAnt.Core.Types.Argument::_ifDefined IL_0008: ret - } // end of method PropertyTask::set_Dynamic + } // end of method Argument::set_IfDefined - // method line 1060 + // method line 850 .method public hidebysig specialname - instance default bool get_Overwrite () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x11668 + // Method begins at RVA 0x1345c // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.PropertyTask::_overwrite + IL_0002: ldfld bool NAnt.Core.Types.Argument::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PropertyTask::get_Overwrite + } // end of method Argument::get_UnlessDefined - // method line 1061 + // method line 851 .method public hidebysig specialname - instance default void set_Overwrite (bool 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x11683 + // Method begins at RVA 0x13477 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.PropertyTask::_overwrite + IL_0003: stfld bool NAnt.Core.Types.Argument::_unlessDefined IL_0008: ret - } // end of method PropertyTask::set_Overwrite + } // end of method Argument::set_UnlessDefined - // method line 1062 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 852 + .method assembly hidebysig specialname + instance default string get_StringValue () cil managed { - // Method begins at RVA 0x11690 - // Code size 726 (0x2d6) - .maxstack 7 + // Method begins at RVA 0x13484 + // Code size 127 (0x7f) + .maxstack 1 .locals init ( - string V_0, - class NAnt.Core.FrameworkInfo V_1, - class [mscorlib]System.Collections.ArrayList V_2, - class NAnt.Core.FrameworkInfo V_3, - class NAnt.Core.FrameworkInfoDictionaryEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - string V_6) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() - IL_0007: brtrue IL_002b + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() + IL_0007: brfalse IL_001e IL_000c: nop IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0013: ldarg.0 - IL_0014: call instance string class NAnt.Core.Tasks.PropertyTask::get_Value() - IL_0019: ldarg.0 - IL_001a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_001f: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) - IL_0024: stloc.0 - IL_0025: nop - IL_0026: br IL_0034 + IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() + IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0018: stloc.0 + IL_0019: br IL_007d - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: call instance string class NAnt.Core.Tasks.PropertyTask::get_Value() - IL_0032: stloc.0 - IL_0033: nop - IL_0034: ldarg.0 - IL_0035: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_003a: ldstr "nant.settings.currentframework" - IL_003f: call bool string::op_Equality(string, string) - IL_0044: brfalse IL_01b5 + IL_001e: ldarg.0 + IL_001f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() + IL_0024: brfalse IL_003b - IL_0049: nop - IL_004a: ldarg.0 - IL_004b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0050: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_0055: ldloc.0 - IL_0056: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_005b: stloc.1 - IL_005c: ldloc.1 - IL_005d: brfalse IL_00ea + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: stloc.0 + IL_0036: br IL_007d - IL_0062: nop - IL_0063: ldarg.0 - IL_0064: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0069: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_006e: brfalse IL_00b8 + IL_003b: ldarg.0 + IL_003c: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() + IL_0041: brfalse IL_0058 - IL_0073: nop - IL_0074: ldarg.0 - IL_0075: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_007a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_007f: ldloc.1 - IL_0080: beq IL_00b2 + IL_0046: nop + IL_0047: ldarg.0 + IL_0048: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() + IL_004d: callvirt instance string object::ToString() + IL_0052: stloc.0 + IL_0053: br IL_007d - IL_0085: nop - IL_0086: ldarg.0 - IL_0087: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_008c: ldloc.1 - IL_008d: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) - IL_0092: ldarg.0 - IL_0093: ldc.i4 3000 - IL_0098: ldstr "Target framework changed to \"{0}\"." - IL_009d: ldc.i4.1 - IL_009e: newarr [mscorlib]System.Object - IL_00a3: dup - IL_00a4: ldc.i4.0 - IL_00a5: ldloc.1 - IL_00a6: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_00ab: stelem.ref - IL_00ac: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00b1: nop - IL_00b2: nop - IL_00b3: br IL_00e5 + IL_0058: ldarg.0 + IL_0059: call instance string class NAnt.Core.Types.Argument::get_Line() + IL_005e: brfalse IL_0070 - IL_00b8: nop - IL_00b9: ldarg.0 - IL_00ba: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00bf: ldloc.1 - IL_00c0: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) - IL_00c5: ldarg.0 - IL_00c6: ldc.i4 3000 - IL_00cb: ldstr "Target framework set to \"{0}\"." - IL_00d0: ldc.i4.1 - IL_00d1: newarr [mscorlib]System.Object - IL_00d6: dup - IL_00d7: ldc.i4.0 - IL_00d8: ldloc.1 - IL_00d9: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_00de: stelem.ref - IL_00df: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00e4: nop - IL_00e5: br IL_02d5 + IL_0063: nop + IL_0064: ldarg.0 + IL_0065: call instance string class NAnt.Core.Types.Argument::get_Line() + IL_006a: stloc.0 + IL_006b: br IL_007d - IL_00ea: nop - IL_00eb: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_00f0: stloc.2 - IL_00f1: nop - IL_00f2: ldarg.0 - IL_00f3: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00f8: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_00fd: callvirt instance class NAnt.Core.FrameworkInfoDictionaryEnumerator class NAnt.Core.FrameworkInfoDictionary::GetEnumerator() - IL_0102: stloc.s 4 - .try { // 0 - IL_0104: br IL_0120 + IL_0070: nop + IL_0071: ldarg.0 + IL_0072: call instance string class NAnt.Core.Types.Argument::get_Value() + IL_0077: stloc.0 + IL_0078: br IL_007d - IL_0109: ldloc.s 4 - IL_010b: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Current() - IL_0110: stloc.3 - IL_0111: nop - IL_0112: ldloc.2 - IL_0113: ldloc.3 - IL_0114: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_0119: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_011e: pop - IL_011f: nop - IL_0120: ldloc.s 4 - IL_0122: callvirt instance bool class NAnt.Core.FrameworkInfoDictionaryEnumerator::MoveNext() - IL_0127: brtrue IL_0109 + IL_007d: ldloc.0 + IL_007e: ret + } // end of method Argument::get_StringValue - IL_012c: leave IL_0148 + // method line 853 + .method private static hidebysig + default string QuoteArgument (string argument) cil managed + { + // Method begins at RVA 0x13510 + // Code size 97 (0x61) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "\"" + IL_0007: callvirt instance int32 string::IndexOf(string) + IL_000c: ldc.i4.m1 + IL_000d: ble IL_001a - } // end .try 0 - finally { // 0 - IL_0131: ldloc.s 4 - IL_0133: isinst [mscorlib]System.IDisposable - IL_0138: dup - IL_0139: stloc.s 5 - IL_013b: brfalse IL_0147 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: stloc.0 + IL_0015: br IL_005f - IL_0140: ldloc.s 5 - IL_0142: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0147: endfinally - } // end handler 0 - IL_0148: ldsfld string [mscorlib]System.String::Empty - IL_014d: stloc.s 6 - IL_014f: ldloc.2 - IL_0150: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0155: ldc.i4.0 - IL_0156: ble IL_0192 + IL_001a: ldarg.0 + IL_001b: ldstr "'" + IL_0020: callvirt instance int32 string::IndexOf(string) + IL_0025: ldc.i4.m1 + IL_0026: bgt IL_003c - IL_015b: nop - IL_015c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0161: ldstr "String_ValidValues" - IL_0166: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_016b: ldstr ", " - IL_0170: ldloc.2 - IL_0171: ldtoken [mscorlib]System.String - IL_0176: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_017b: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_0180: castclass string[] - IL_0185: call string string::Join(string, string[]) - IL_018a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_018f: stloc.s 6 - IL_0191: nop - IL_0192: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0197: ldstr "NA1143" - IL_019c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01a1: ldloc.0 - IL_01a2: ldloc.s 6 - IL_01a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_01a9: ldarg.0 - IL_01aa: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_01af: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_01b4: throw - IL_01b5: ldarg.0 - IL_01b6: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01bb: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_01c0: ldarg.0 - IL_01c1: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_01c6: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_01cb: brtrue IL_022d - - IL_01d0: nop - IL_01d1: ldarg.0 - IL_01d2: call instance bool class NAnt.Core.Tasks.PropertyTask::get_ReadOnly() - IL_01d7: brfalse IL_01f5 - - IL_01dc: nop - IL_01dd: ldarg.0 - IL_01de: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_01e3: ldarg.0 - IL_01e4: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_01e9: ldloc.0 - IL_01ea: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_01ef: nop - IL_01f0: br IL_0209 - - IL_01f5: nop - IL_01f6: ldarg.0 - IL_01f7: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_01fc: ldarg.0 - IL_01fd: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_0202: ldloc.0 - IL_0203: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0208: nop - IL_0209: ldarg.0 - IL_020a: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() - IL_020f: brfalse IL_0227 - - IL_0214: nop - IL_0215: ldarg.0 - IL_0216: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_021b: ldarg.0 - IL_021c: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_0221: callvirt instance void class NAnt.Core.PropertyDictionary::MarkDynamic(string) - IL_0226: nop - IL_0227: nop - IL_0228: br IL_02d5 - - IL_022d: nop - IL_022e: ldarg.0 - IL_022f: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Overwrite() - IL_0234: brfalse IL_02b3 - - IL_0239: nop - IL_023a: ldarg.0 - IL_023b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0240: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0245: ldarg.0 - IL_0246: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_024b: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_0250: brfalse IL_027b - - IL_0255: nop - IL_0256: ldarg.0 - IL_0257: ldc.i4 4000 - IL_025c: ldstr "Read-only property \"{0}\" cannot be overwritten." - IL_0261: ldc.i4.1 - IL_0262: newarr [mscorlib]System.Object - IL_0267: dup - IL_0268: ldc.i4.0 - IL_0269: ldarg.0 - IL_026a: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_026f: stelem.ref - IL_0270: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0275: nop - IL_0276: br IL_02ad + IL_002b: ldarg.0 + IL_002c: ldstr " " + IL_0031: callvirt instance int32 string::IndexOf(string) + IL_0036: ldc.i4.m1 + IL_0037: ble IL_0057 - IL_027b: nop - IL_027c: ldarg.0 - IL_027d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0282: ldarg.0 - IL_0283: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_0288: ldloc.0 - IL_0289: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_028e: ldarg.0 - IL_028f: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() - IL_0294: brfalse IL_02ac + IL_003c: nop + IL_003d: ldc.i4.s 0x22 + IL_003f: box [mscorlib]System.Char + IL_0044: ldarg.0 + IL_0045: ldc.i4.s 0x22 + IL_0047: box [mscorlib]System.Char + IL_004c: call string string::Concat(object, object, object) + IL_0051: stloc.0 + IL_0052: br IL_005f - IL_0299: nop - IL_029a: ldarg.0 - IL_029b: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_02a0: ldarg.0 - IL_02a1: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_02a6: callvirt instance void class NAnt.Core.PropertyDictionary::MarkDynamic(string) - IL_02ab: nop - IL_02ac: nop - IL_02ad: nop - IL_02ae: br IL_02d4 + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: stloc.0 + IL_005a: br IL_005f - IL_02b3: nop - IL_02b4: ldarg.0 - IL_02b5: ldc.i4 2000 - IL_02ba: ldstr "Property \"{0}\" already exists, and \"overwrite\" is set to false." - IL_02bf: ldc.i4.1 - IL_02c0: newarr [mscorlib]System.Object - IL_02c5: dup - IL_02c6: ldc.i4.0 - IL_02c7: ldarg.0 - IL_02c8: call instance string class NAnt.Core.Tasks.PropertyTask::get_PropertyName() - IL_02cd: stelem.ref - IL_02ce: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_02d3: nop - IL_02d4: nop - IL_02d5: ret - } // end of method PropertyTask::ExecuteTask + IL_005f: ldloc.0 + IL_0060: ret + } // end of method Argument::QuoteArgument - .property instance string PropertyName () + .property instance string Value () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + .get instance default string NAnt.Core.Types.Argument::get_Value () + .set instance default void NAnt.Core.Types.Argument::set_Value (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo File () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - .get instance default string NAnt.Core.Tasks.PropertyTask::get_PropertyName () - .set instance default void NAnt.Core.Tasks.PropertyTask::set_PropertyName (string 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::get_File () + .set instance default void NAnt.Core.Types.Argument::set_File (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string Value () + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 76 61 6C 75 65 02 00 54 02 08 52 65 71 // ...value..T..Req - 75 69 72 65 64 01 54 02 10 45 78 70 61 6E 64 50 // uired.T..ExpandP - 72 6F 70 65 72 74 69 65 73 00 ) // roperties. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::get_Directory () + .set instance default void NAnt.Core.Types.Argument::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class NAnt.Core.Types.PathSet Path () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - .get instance default string NAnt.Core.Tasks.PropertyTask::get_Value () - .set instance default void NAnt.Core.Tasks.PropertyTask::set_Value (string 'value') + .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::get_Path () + .set instance default void NAnt.Core.Types.Argument::set_Path (class NAnt.Core.Types.PathSet 'value') } - .property instance bool ReadOnly () + .property instance class NAnt.Core.Types.PathSet PathSet () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 72 65 61 64 6F 6E 6C 79 01 00 54 02 08 // ...readonly..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::get_PathSet () + .set instance default void NAnt.Core.Types.Argument::set_PathSet (class NAnt.Core.Types.PathSet 'value') + } + .property instance string Line () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6C 69 6E 65 00 00 ) // ...line.. - .get instance default bool NAnt.Core.Tasks.PropertyTask::get_ReadOnly () - .set instance default void NAnt.Core.Tasks.PropertyTask::set_ReadOnly (bool 'value') + .get instance default string NAnt.Core.Types.Argument::get_Line () + .set instance default void NAnt.Core.Types.Argument::set_Line (string 'value') } - .property instance bool Dynamic () + .property instance bool IfDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 64 79 6E 61 6D 69 63 01 00 54 02 08 52 // ...dynamic..T..R - 65 71 75 69 72 65 64 00 ) // equired. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Tasks.PropertyTask::get_Dynamic () - .set instance default void NAnt.Core.Tasks.PropertyTask::set_Dynamic (bool 'value') + .get instance default bool NAnt.Core.Types.Argument::get_IfDefined () + .set instance default void NAnt.Core.Types.Argument::set_IfDefined (bool 'value') } - .property instance bool Overwrite () + .property instance bool UnlessDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6F 76 65 72 77 72 69 74 65 01 00 54 02 // ...overwrite..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Tasks.PropertyTask::get_Overwrite () - .set instance default void NAnt.Core.Tasks.PropertyTask::set_Overwrite (bool 'value') + .get instance default bool NAnt.Core.Types.Argument::get_UnlessDefined () + .set instance default void NAnt.Core.Types.Argument::set_UnlessDefined (bool 'value') } - } // end of class NAnt.Core.Tasks.PropertyTask + .property instance string StringValue () + { + .get instance default string NAnt.Core.Types.Argument::get_StringValue () + } + } // end of class NAnt.Core.Types.Argument } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit ChooseTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit Credential + extends NAnt.Core.DataTypeBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 63 68 6F 6F 73 65 00 00 ) // ...choose.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 63 72 65 64 65 6E 74 69 61 6C 00 00 ) // ...credential.. - .field private class [mscorlib]System.Collections.Generic.List`1 _elementContainers + .field private string _domain + .field private string _password + .field private string _userName + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1063 + // method line 854 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11984 - // Code size 18 (0x12) + // Method begins at RVA 0x1357d + // Code size 15 (0xf) .maxstack 8 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 NAnt.Core.Tasks.ChooseTask::_elementContainers - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method ChooseTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Credential::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method Credential::.ctor - // method line 1064 - .method private hidebysig specialname - instance default bool get_IsFallbackDefined () cil managed + // method line 855 + .method public hidebysig specialname + instance default string get_Domain () cil managed { - // Method begins at RVA 0x11998 - // Code size 88 (0x58) + // Method begins at RVA 0x13590 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.ElementContainer V_0, - valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_1, - bool V_2) + string V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers - IL_0008: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_0030 - - IL_0013: ldloca.s 1 - IL_0015: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() - IL_001a: stloc.0 - IL_001b: nop - IL_001c: ldloc.0 - IL_001d: isinst NAnt.Core.Tasks.ChooseTask/When - IL_0022: brtrue IL_002f - - IL_0027: nop - IL_0028: ldc.i4.1 - IL_0029: stloc.2 - IL_002a: leave IL_0056 - - IL_002f: nop - IL_0030: ldloca.s 1 - IL_0032: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() - IL_0037: brtrue IL_0013 - - IL_003c: leave IL_004f + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Credential::_domain + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_0041: ldloca.s 1 - IL_0043: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator - IL_0049: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_004e: endfinally - } // end handler 0 - IL_004f: ldc.i4.0 - IL_0050: stloc.2 - IL_0051: br IL_0056 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_Domain - IL_0056: ldloc.2 - IL_0057: ret - } // end of method ChooseTask::get_IsFallbackDefined + // method line 856 + .method public hidebysig specialname + instance default void set_Domain (string 'value') cil managed + { + // Method begins at RVA 0x135ab + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Types.Credential::_domain + IL_000d: ret + } // end of method Credential::set_Domain - // method line 1065 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 857 + .method public hidebysig specialname + instance default string get_Password () cil managed { - // Method begins at RVA 0x11a0c - // Code size 112 (0x70) + // Method begins at RVA 0x135bc + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.ElementContainer V_0, - valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_1, - class NAnt.Core.Tasks.ChooseTask/When V_2) + string V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers - IL_0008: callvirt instance valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator class [mscorlib]System.Collections.Generic.List`1::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_0050 - - IL_0013: ldloca.s 1 - IL_0015: call instance !0 valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::get_Current() - IL_001a: stloc.0 - IL_001b: nop - IL_001c: ldloc.0 - IL_001d: isinst NAnt.Core.Tasks.ChooseTask/When - IL_0022: stloc.2 - IL_0023: ldloc.2 - IL_0024: brfalse IL_0047 - - IL_0029: nop - IL_002a: ldloc.2 - IL_002b: callvirt instance bool class NAnt.Core.Tasks.ChooseTask/When::get_Test() - IL_0030: brfalse IL_0041 - - IL_0035: nop - IL_0036: ldloc.2 - IL_0037: callvirt instance void class NAnt.Core.ElementContainer::Execute() - IL_003c: leave IL_005c - - IL_0041: nop - IL_0042: br IL_004f - - IL_0047: nop - IL_0048: ldloc.0 - IL_0049: callvirt instance void class NAnt.Core.ElementContainer::Execute() - IL_004e: nop - IL_004f: nop - IL_0050: ldloca.s 1 - IL_0052: call instance bool valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator::MoveNext() - IL_0057: brtrue IL_0013 - - IL_005c: leave IL_006f + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Credential::_password + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_0061: ldloca.s 1 - IL_0063: constrained. valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator - IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_006e: endfinally - } // end handler 0 - IL_006f: ret - } // end of method ChooseTask::ExecuteTask + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_Password - // method line 1066 - .method public hidebysig - instance default void AddCondition (class NAnt.Core.Tasks.ChooseTask/When when) cil managed + // method line 858 + .method public hidebysig specialname + instance default void set_Password (string 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 04 77 68 65 6E 01 00 54 02 08 52 65 71 75 // ...when..T..Requ - 69 72 65 64 01 ) // ired. - - // Method begins at RVA 0x11a98 - // Code size 59 (0x3b) + // Method begins at RVA 0x135d7 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.ChooseTask::get_IsFallbackDefined() - IL_0007: brfalse IL_002e - - IL_000c: nop - IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0012: ldstr "The element must be defined as the last nested element in the <{0} ... /> task." - IL_0017: ldarg.0 - IL_0018: callvirt instance string class NAnt.Core.Element::get_Name() - IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0022: ldarg.0 - IL_0023: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_002d: throw - IL_002e: ldarg.0 - IL_002f: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers - IL_0034: ldarg.1 - IL_0035: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_003a: ret - } // end of method ChooseTask::AddCondition + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Types.Credential::_password + IL_000d: ret + } // end of method Credential::set_Password - // method line 1067 - .method public hidebysig - instance default void AddFallback (class NAnt.Core.ElementContainer fallback) cil managed + // method line 859 + .method public hidebysig specialname + instance default string get_UserName () cil managed { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 09 6F 74 68 65 72 77 69 73 65 00 00 ) // ...otherwise.. - - // Method begins at RVA 0x11ad4 - // Code size 43 (0x2b) - .maxstack 8 + // Method begins at RVA 0x135e8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.ChooseTask::get_IsFallbackDefined() - IL_0007: brfalse IL_001e - - IL_000c: nop - IL_000d: ldstr "The element may only be defined once." - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001d: throw - IL_001e: ldarg.0 - IL_001f: ldfld class [mscorlib]System.Collections.Generic.List`1 NAnt.Core.Tasks.ChooseTask::_elementContainers - IL_0024: ldarg.1 - IL_0025: callvirt instance void class [mscorlib]System.Collections.Generic.List`1::Add(!0) - IL_002a: ret - } // end of method ChooseTask::AddFallback + IL_0002: ldfld string NAnt.Core.Types.Credential::_userName + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance bool IsFallbackDefined () - { - .get instance default bool NAnt.Core.Tasks.ChooseTask::get_IsFallbackDefined () - } - .class nested public auto ansi beforefieldinit When - extends NAnt.Core.ElementContainer - { - .field private bool _test + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_UserName - // method line 1068 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 860 + .method public hidebysig specialname + instance default void set_UserName (string 'value') cil managed { - // Method begins at RVA 0x11d93 + // Method begins at RVA 0x13603 // Code size 14 (0xe) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Tasks.ChooseTask/When::_test - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.ElementContainer::'.ctor'() + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Types.Credential::_userName IL_000d: ret - } // end of method When::.ctor + } // end of method Credential::set_UserName - // method line 1069 + // method line 861 .method public hidebysig specialname - instance default bool get_Test () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x11da4 + // Method begins at RVA 0x13614 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.ChooseTask/When::_test + IL_0002: ldfld bool NAnt.Core.Types.Credential::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method When::get_Test + } // end of method Credential::get_IfDefined - // method line 1070 + // method line 862 .method public hidebysig specialname - instance default void set_Test (bool 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x11dbf + // Method begins at RVA 0x1362f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.ChooseTask/When::_test + IL_0003: stfld bool NAnt.Core.Types.Credential::_ifDefined IL_0008: ret - } // end of method When::set_Test + } // end of method Credential::set_IfDefined - // method line 1071 - .method public virtual hidebysig - instance default void Execute () cil managed + // method line 863 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x11dc9 - // Code size 25 (0x19) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.ChooseTask/When::get_Test() - IL_0007: brtrue IL_0012 + // Method begins at RVA 0x1363c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Credential::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: br IL_0018 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_UnlessDefined - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.ElementContainer::Execute() - IL_0018: ret - } // end of method When::Execute + // method line 864 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x13657 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Credential::_unlessDefined + IL_0008: ret + } // end of method Credential::set_UnlessDefined - .property instance bool Test () + // method line 865 + .method public hidebysig + instance default class [System]System.Net.ICredentials GetCredential () cil managed + { + // Method begins at RVA 0x13664 + // Code size 60 (0x3c) + .maxstack 3 + .locals init ( + class [System]System.Net.ICredentials V_0, + class [System]System.Net.ICredentials V_1) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance bool class NAnt.Core.Types.Credential::get_IfDefined() + IL_0009: brfalse IL_0033 + + IL_000e: ldarg.0 + IL_000f: call instance bool class NAnt.Core.Types.Credential::get_UnlessDefined() + IL_0014: brtrue IL_0033 + + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: call instance string class NAnt.Core.Types.Credential::get_UserName() + IL_0020: ldarg.0 + IL_0021: call instance string class NAnt.Core.Types.Credential::get_Password() + IL_0026: ldarg.0 + IL_0027: call instance string class NAnt.Core.Types.Credential::get_Domain() + IL_002c: newobj instance void class [System]System.Net.NetworkCredential::'.ctor'(string, string, string) + IL_0031: stloc.0 + IL_0032: nop + IL_0033: ldloc.0 + IL_0034: stloc.1 + IL_0035: br IL_003a + + IL_003a: ldloc.1 + IL_003b: ret + } // end of method Credential::GetCredential + + .property instance string Domain () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 74 65 73 74 01 00 54 02 08 52 65 71 75 // ...test..T..Requ - 69 72 65 64 01 ) // ired. + 01 00 06 64 6F 6D 61 69 6E 01 00 54 02 08 52 65 // ...domain..T..Re + 71 75 69 72 65 64 00 ) // quired. + + .get instance default string NAnt.Core.Types.Credential::get_Domain () + .set instance default void NAnt.Core.Types.Credential::set_Domain (string 'value') + } + .property instance string Password () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 61 73 73 77 6F 72 64 01 00 54 02 08 // ...password..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. + + .get instance default string NAnt.Core.Types.Credential::get_Password () + .set instance default void NAnt.Core.Types.Credential::set_Password (string 'value') + } + .property instance string UserName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 75 73 65 72 6E 61 6D 65 01 00 54 02 08 // ...username..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. + + .get instance default string NAnt.Core.Types.Credential::get_UserName () + .set instance default void NAnt.Core.Types.Credential::set_UserName (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Tasks.ChooseTask/When::get_Test () - .set instance default void NAnt.Core.Tasks.ChooseTask/When::set_Test (bool 'value') + .get instance default bool NAnt.Core.Types.Credential::get_IfDefined () + .set instance default void NAnt.Core.Types.Credential::set_IfDefined (bool 'value') } - } // end of class When + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - } // end of class NAnt.Core.Tasks.ChooseTask + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.Credential::get_UnlessDefined () + .set instance default void NAnt.Core.Types.Credential::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.Core.Types.Credential } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit ExecTask - extends NAnt.Core.Tasks.ExternalProgramBase + .class public auto ansi serializable beforefieldinit ArgumentCollection + extends [mscorlib]System.Collections.CollectionBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 78 65 63 00 00 ) // ...exec.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .field private string _program - .field private string _commandline - .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory - .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory - .field private class [mscorlib]System.IO.FileInfo _output - .field private bool _outputAppend - .field private class NAnt.Core.Types.EnvironmentSet _environmentSet - .field private string _resultProperty - .field private string _processIdProperty - // method line 1072 + // method line 866 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11de3 - // Code size 18 (0x12) + // Method begins at RVA 0x136ac + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Tasks.ExecTask::_environmentSet - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0011: ret - } // end of method ExecTask::.ctor + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method ArgumentCollection::.ctor - // method line 1073 - .method public hidebysig specialname - instance default string get_FileName () cil managed + // method line 867 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection 'value') cil managed { - // Method begins at RVA 0x11df8 + // Method begins at RVA 0x136b5 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_program - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.ArgumentCollection) IL_000e: ret - } // end of method ExecTask::get_FileName + } // end of method ArgumentCollection::.ctor - // method line 1074 - .method public hidebysig specialname - instance default void set_FileName (string 'value') cil managed + // method line 868 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.Argument[] 'value') cil managed { - // Method begins at RVA 0x11e13 - // Code size 14 (0xe) + // Method begins at RVA 0x136c5 + // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.ExecTask::_program - IL_000d: ret - } // end of method ExecTask::set_FileName + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) + IL_000e: ret + } // end of method ArgumentCollection::.ctor - // method line 1075 + // method line 869 .method public hidebysig specialname - instance default string get_CommandLineArguments () cil managed + instance default class NAnt.Core.Types.Argument get_Item (int32 index) cil managed { - // Method begins at RVA 0x11e24 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x136d8 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.Types.Argument V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_commandline - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.Argument + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_CommandLineArguments + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ArgumentCollection::get_Item - // method line 1076 + // method line 870 .method public hidebysig specialname - instance default void set_CommandLineArguments (string 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.Types.Argument 'value') cil managed { - // Method begins at RVA 0x11e3f - // Code size 14 (0xe) + // Method begins at RVA 0x136fe + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.ExecTask::_commandline - IL_000d: ret - } // end of method ExecTask::set_CommandLineArguments + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method ArgumentCollection::set_Item - // method line 1077 + // method line 871 .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentSet get_EnvironmentSet () cil managed + instance default class NAnt.Core.Types.Argument get_Item (string 'value') cil managed { - // Method begins at RVA 0x11e50 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13710 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - class NAnt.Core.Types.EnvironmentSet V_0) + class NAnt.Core.Types.Argument V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Types.Argument V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Tasks.ExecTask::_environmentSet - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_EnvironmentSet + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 - // method line 1078 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_WorkingDirectory () cil managed + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.Types.Argument + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance string class NAnt.Core.Types.Argument::get_StringValue() + IL_002d: ldarg.1 + IL_002e: call bool string::op_Equality(string, string) + IL_0033: brfalse IL_0040 + + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d + + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a + + IL_004c: leave IL_0065 + + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 + + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d + + IL_006d: ldloc.2 + IL_006e: ret + } // end of method ArgumentCollection::get_Item + + // method line 872 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x11e6c - // Code size 39 (0x27) - .maxstack 1 + // Method begins at RVA 0x1379c + // Code size 28 (0x1c) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class [mscorlib]System.Text.StringBuilder V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_workingDirectory - IL_0007: brtrue IL_0019 + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) + IL_000e: ldloc.0 + IL_000f: callvirt instance string object::ToString() + IL_0014: stloc.1 + IL_0015: br IL_001a - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0013: stloc.0 - IL_0014: br IL_0025 + IL_001a: ldloc.1 + IL_001b: ret + } // end of method ArgumentCollection::ToString - IL_0019: ldarg.0 - IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_workingDirectory - IL_001f: stloc.0 - IL_0020: br IL_0025 + // method line 873 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Argument item) cil managed + { + // Method begins at RVA 0x137c4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0025: ldloc.0 - IL_0026: ret - } // end of method ExecTask::get_WorkingDirectory + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ArgumentCollection::Add - // method line 1079 - .method public hidebysig specialname - instance default void set_WorkingDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 874 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.Argument[] items) cil managed { - // Method begins at RVA 0x11e9f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x137e8 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_workingDirectory - IL_0008: ret - } // end of method ExecTask::set_WorkingDirectory + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - // method line 1080 - .method public hidebysig specialname - instance default string get_ResultProperty () cil managed + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.ArgumentCollection::Add(class NAnt.Core.Types.Argument) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 + + IL_0021: ret + } // end of method ArgumentCollection::AddRange + + // method line 875 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.ArgumentCollection items) cil managed { - // Method begins at RVA 0x11eac - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13818 + // Code size 41 (0x29) + .maxstack 3 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_resultProperty - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_ResultProperty + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.ArgumentCollection::Add(class NAnt.Core.Types.Argument) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - // method line 1081 - .method public hidebysig specialname - instance default void set_ResultProperty (string 'value') cil managed + IL_0028: ret + } // end of method ArgumentCollection::AddRange + + // method line 876 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Argument item) cil managed { - // Method begins at RVA 0x11ec7 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x13850 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.ExecTask::_resultProperty - IL_0008: ret - } // end of method ExecTask::set_ResultProperty + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 1082 - .method public virtual hidebysig specialname - instance default bool get_UseRuntimeEngine () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ArgumentCollection::Contains + + // method line 877 + .method public hidebysig + instance default bool Contains (string 'value') cil managed { - // Method begins at RVA 0x11ed4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13874 + // Code size 22 (0x16) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_UseRuntimeEngine() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_UseRuntimeEngine + IL_0014: ldloc.0 + IL_0015: ret + } // end of method ArgumentCollection::Contains - // method line 1083 - .method public virtual hidebysig specialname - instance default void set_UseRuntimeEngine (bool 'value') cil managed + // method line 878 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Argument[] 'array', int32 index) cil managed { - // Method begins at RVA 0x11eef - // Code size 9 (0x9) + // Method begins at RVA 0x13896 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::set_UseRuntimeEngine(bool) - IL_0008: ret - } // end of method ExecTask::set_UseRuntimeEngine + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method ArgumentCollection::CopyTo - // method line 1084 - .method public virtual hidebysig specialname - instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed + // method line 879 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Argument item) cil managed + { + // Method begins at RVA 0x138a8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ArgumentCollection::IndexOf + + // method line 880 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Argument item) cil managed + { + // Method begins at RVA 0x138c9 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method ArgumentCollection::Insert + + // method line 881 + .method public hidebysig + instance default class NAnt.Core.Types.ArgumentEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x11efc + // Method begins at RVA 0x138dc // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Types.ManagedExecution V_0) + class NAnt.Core.Types.ArgumentEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance valuetype NAnt.Core.Types.ManagedExecution class NAnt.Core.Tasks.ExternalProgramBase::get_Managed() + IL_0002: newobj instance void class NAnt.Core.Types.ArgumentEnumerator::'.ctor'(class NAnt.Core.Types.ArgumentCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExecTask::get_Managed + } // end of method ArgumentCollection::GetEnumerator - // method line 1085 - .method public virtual hidebysig specialname - instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed + // method line 882 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Argument item) cil managed { - // Method begins at RVA 0x11f17 - // Code size 9 (0x9) + // Method begins at RVA 0x138f7 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::set_Managed(valuetype NAnt.Core.Types.ManagedExecution) - IL_0008: ret - } // end of method ExecTask::set_Managed + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method ArgumentCollection::Remove - // method line 1086 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed + // method line 883 + .method assembly hidebysig + instance default void ToString (class [mscorlib]System.Text.StringBuilder sb) cil managed { - // Method begins at RVA 0x11f24 - // Code size 127 (0x7f) + // Method begins at RVA 0x13908 + // Code size 120 (0x78) .maxstack 2 .locals init ( - string V_0, - string V_1) + class NAnt.Core.Types.Argument V_0, + class NAnt.Core.Types.ArgumentEnumerator V_1, + class [mscorlib]System.IDisposable V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() - IL_0007: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_000c: brfalse IL_001e + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class NAnt.Core.Types.ArgumentEnumerator class NAnt.Core.Types.ArgumentCollection::GetEnumerator() + IL_0008: stloc.1 + .try { // 0 + IL_0009: br IL_0053 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() - IL_0018: stloc.0 - IL_0019: br IL_007d + IL_000e: ldloc.1 + IL_000f: callvirt instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentEnumerator::get_Current() + IL_0014: stloc.0 + IL_0015: nop + IL_0016: ldloc.0 + IL_0017: callvirt instance bool class NAnt.Core.Types.Argument::get_IfDefined() + IL_001c: brfalse IL_0052 - IL_001e: ldarg.0 - IL_001f: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory - IL_0024: brtrue IL_005b + IL_0021: ldloc.0 + IL_0022: callvirt instance bool class NAnt.Core.Types.Argument::get_UnlessDefined() + IL_0027: brtrue IL_0052 - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0030: ldarg.0 - IL_0031: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() - IL_0036: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_003b: stloc.1 - IL_003c: ldloc.1 - IL_003d: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0042: brfalse IL_004f + IL_002c: nop + IL_002d: ldarg.1 + IL_002e: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0033: ldc.i4.0 + IL_0034: ble IL_0044 - IL_0047: nop - IL_0048: ldloc.1 - IL_0049: stloc.0 - IL_004a: br IL_007d + IL_0039: nop + IL_003a: ldarg.1 + IL_003b: ldc.i4.s 0x20 + IL_003d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0042: pop + IL_0043: nop + IL_0044: ldarg.1 + IL_0045: ldloc.0 + IL_0046: callvirt instance string object::ToString() + IL_004b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0050: pop + IL_0051: nop + IL_0052: nop + IL_0053: ldloc.1 + IL_0054: callvirt instance bool class NAnt.Core.Types.ArgumentEnumerator::MoveNext() + IL_0059: brtrue IL_000e - IL_004f: ldarg.0 - IL_0050: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() - IL_0055: stloc.0 - IL_0056: br IL_007d + IL_005e: leave IL_0077 - IL_005b: nop - IL_005c: ldarg.0 - IL_005d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0062: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0067: ldarg.0 - IL_0068: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() - IL_006d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0072: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_0077: stloc.0 - IL_0078: br IL_007d + } // end .try 0 + finally { // 0 + IL_0063: ldloc.1 + IL_0064: isinst [mscorlib]System.IDisposable + IL_0069: dup + IL_006a: stloc.2 + IL_006b: brfalse IL_0076 - IL_007d: ldloc.0 - IL_007e: ret - } // end of method ExecTask::get_ProgramFileName + IL_0070: ldloc.2 + IL_0071: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0076: endfinally + } // end handler 0 + IL_0077: ret + } // end of method ArgumentCollection::ToString - // method line 1087 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x11fb0 - // Code size 80 (0x50) - .maxstack 4 - .locals init ( - class [mscorlib]System.Exception V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.Task::Initialize() - .try { // 0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() - IL_000e: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_0013: brfalse IL_001a + .property instance class NAnt.Core.Types.Argument Item (int32) + { + .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.ArgumentCollection::set_Item (int32 index, class NAnt.Core.Types.Argument 'value') + } + .property instance class NAnt.Core.Types.Argument Item (string) + { + .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentCollection::get_Item (string 'value') + } + } // end of class NAnt.Core.Types.ArgumentCollection +} - IL_0018: nop - IL_0019: nop - IL_001a: nop - IL_001b: leave IL_004f +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit ArgumentEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0020: stloc.0 - IL_0021: nop - IL_0022: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0027: ldstr "NA1117" - IL_002c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0031: ldarg.0 - IL_0032: call instance string class NAnt.Core.Tasks.ExecTask::get_FileName() - IL_0037: ldarg.0 - IL_0038: callvirt instance string class NAnt.Core.Element::get_Name() - IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0042: ldarg.0 - IL_0043: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0048: ldloc.0 - IL_0049: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_004e: throw - } // end handler 0 - IL_004f: ret - } // end of method ExecTask::Initialize + // method line 884 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection arguments) cil managed + { + // Method begins at RVA 0x1399c + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0015: ret + } // end of method ArgumentEnumerator::.ctor - // method line 1088 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + // method line 885 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Argument get_Current () cil managed { - // Method begins at RVA 0x1201c - // Code size 15 (0xf) + // Method begins at RVA 0x139c0 + // Code size 25 (0x19) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.Argument V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_commandline - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.Argument + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_ProgramArguments + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ArgumentEnumerator::get_Current - // method line 1089 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + // method line 886 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x12038 - // Code size 39 (0x27) + // Method begins at RVA 0x139e8 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory - IL_0007: brtrue IL_0019 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0013: stloc.0 - IL_0014: br IL_0025 - - IL_0019: ldarg.0 - IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory - IL_001f: stloc.0 - IL_0020: br IL_0025 - - IL_0025: ldloc.0 - IL_0026: ret - } // end of method ExecTask::get_BaseDirectory + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1090 - .method public virtual hidebysig specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x1206b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory - IL_0008: ret - } // end of method ExecTask::set_BaseDirectory + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ArgumentEnumerator::System.Collections.IEnumerator.get_Current - // method line 1091 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed + // method line 887 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x12078 - // Code size 15 (0xf) + // Method begins at RVA 0x13a08 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExecTask::_output - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_Output + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1092 - .method public virtual hidebysig specialname - instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x12093 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExecTask::_output - IL_0008: ret - } // end of method ExecTask::set_Output + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ArgumentEnumerator::MoveNext - // method line 1093 - .method public virtual hidebysig specialname - instance default bool get_OutputAppend () cil managed + // method line 888 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x120a0 - // Code size 15 (0xf) + // Method begins at RVA 0x13a28 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.ExecTask::_outputAppend - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_OutputAppend + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ArgumentEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1094 - .method public virtual hidebysig specialname - instance default void set_OutputAppend (bool 'value') cil managed + // method line 889 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x120bb - // Code size 9 (0x9) + // Method begins at RVA 0x13a48 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.ExecTask::_outputAppend - IL_0008: ret - } // end of method ExecTask::set_OutputAppend + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ArgumentEnumerator::Reset - // method line 1095 - .method public virtual hidebysig specialname - instance default bool get_Spawn () cil managed + // method line 890 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x120c8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x13a56 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ArgumentEnumerator::System.Collections.IEnumerator.Reset - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_Spawn + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.ArgumentEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.Types.Argument Current () + { + .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.ArgumentEnumerator +} - // method line 1096 - .method public virtual hidebysig specialname - instance default void set_Spawn (bool 'value') cil managed +.namespace NAnt.Core.Types +{ + .class public auto ansi serializable beforefieldinit XsltParameterCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + + // method line 891 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x120e3 - // Code size 9 (0x9) + // Method begins at RVA 0x13a64 + // Code size 8 (0x8) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::set_Spawn(bool) - IL_0008: ret - } // end of method ExecTask::set_Spawn + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method XsltParameterCollection::.ctor - // method line 1097 - .method public hidebysig specialname - instance default string get_ProcessIdProperty () cil managed + // method line 892 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection 'value') cil managed { - // Method begins at RVA 0x120f0 + // Method begins at RVA 0x13a6d // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_processIdProperty - IL_0007: stloc.0 - IL_0008: br IL_000d + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.XsltParameterCollection::AddRange(class NAnt.Core.Types.XsltParameterCollection) + IL_000e: ret + } // end of method XsltParameterCollection::.ctor - IL_000d: ldloc.0 + // method line 893 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltParameter[] 'value') cil managed + { + // Method begins at RVA 0x13a7d + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.XsltParameterCollection::AddRange(class NAnt.Core.Types.XsltParameter[]) IL_000e: ret - } // end of method ExecTask::get_ProcessIdProperty + } // end of method XsltParameterCollection::.ctor - // method line 1098 + // method line 894 .method public hidebysig specialname - instance default void set_ProcessIdProperty (string 'value') cil managed + instance default class NAnt.Core.Types.XsltParameter get_Item (int32 index) cil managed { - // Method begins at RVA 0x1210b - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x13a90 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.Types.XsltParameter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.ExecTask::_processIdProperty - IL_0008: ret - } // end of method ExecTask::set_ProcessIdProperty + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.XsltParameter + IL_0012: stloc.0 + IL_0013: br IL_0018 - // method line 1099 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_0018: ldloc.0 + IL_0019: ret + } // end of method XsltParameterCollection::get_Item + + // method line 895 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.XsltParameter 'value') cil managed { - // Method begins at RVA 0x12118 - // Code size 117 (0x75) - .maxstack 4 - .locals init ( - int32 V_0, - int32 V_1) + // Method begins at RVA 0x13ab6 + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.Core.Tasks.ExecTask::get_ResultProperty() - IL_000d: brfalse IL_0038 - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0019: ldarg.0 - IL_001a: call instance string class NAnt.Core.Tasks.ExecTask::get_ResultProperty() - IL_001f: ldarg.0 - IL_0020: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_ExitCode() - IL_0025: stloc.0 - IL_0026: ldloca.s 0 - IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002d: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_0032: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: callvirt instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_Spawn() - IL_003e: brfalse IL_0074 - - IL_0043: ldarg.0 - IL_0044: call instance string class NAnt.Core.Tasks.ExecTask::get_ProcessIdProperty() - IL_0049: brfalse IL_0074 - - IL_004e: nop - IL_004f: ldarg.0 - IL_0050: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0055: ldarg.0 - IL_0056: call instance string class NAnt.Core.Tasks.ExecTask::get_ProcessIdProperty() - IL_005b: ldarg.0 - IL_005c: call instance int32 class NAnt.Core.Tasks.ExternalProgramBase::get_ProcessId() - IL_0061: stloc.1 - IL_0062: ldloca.s 1 - IL_0064: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0069: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_006e: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0073: nop - IL_0074: ret - } // end of method ExecTask::ExecuteTask + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method XsltParameterCollection::set_Item - // method line 1100 - .method family virtual hidebysig - instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + // method line 896 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltParameter get_Item (string 'value') cil managed { - // Method begins at RVA 0x1219c - // Code size 371 (0x173) - .maxstack 3 + // Method begins at RVA 0x13ac8 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - class NAnt.Core.Types.Option V_0, - class NAnt.Core.Types.OptionEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - class NAnt.Core.Types.EnvironmentVariable V_3, - class NAnt.Core.Types.EnvironmentVariableEnumerator V_4, - class [mscorlib]System.IDisposable V_5) + class NAnt.Core.Types.XsltParameter V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Types.XsltParameter V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) - IL_0008: ldarg.1 - IL_0009: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.ExecTask::get_WorkingDirectory() - IL_0014: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0019: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: call instance class NAnt.Core.Types.EnvironmentSet class NAnt.Core.Tasks.ExecTask::get_EnvironmentSet() - IL_0025: callvirt instance class NAnt.Core.Types.OptionCollection class NAnt.Core.Types.EnvironmentSet::get_Options() - IL_002a: callvirt instance class NAnt.Core.Types.OptionEnumerator class NAnt.Core.Types.OptionCollection::GetEnumerator() - IL_002f: stloc.1 - .try { // 0 - IL_0030: br IL_00a1 - - IL_0035: ldloc.1 - IL_0036: callvirt instance class NAnt.Core.Types.Option class NAnt.Core.Types.OptionEnumerator::get_Current() - IL_003b: stloc.0 - IL_003c: nop - IL_003d: ldloc.0 - IL_003e: callvirt instance bool class NAnt.Core.Types.Option::get_IfDefined() - IL_0043: brfalse IL_00a0 + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_0048: ldloc.0 - IL_0049: callvirt instance bool class NAnt.Core.Types.Option::get_UnlessDefined() - IL_004e: brtrue IL_00a0 + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 - IL_0053: nop - IL_0054: ldloc.0 - IL_0055: callvirt instance string class NAnt.Core.Types.Option::get_Value() - IL_005a: brtrue IL_0081 + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.Types.XsltParameter + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance string class NAnt.Core.Element::get_Name() + IL_002d: ldarg.1 + IL_002e: call bool string::op_Equality(string, string) + IL_0033: brfalse IL_0040 - IL_005f: nop - IL_0060: ldarg.1 - IL_0061: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0066: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() - IL_006b: ldloc.0 - IL_006c: callvirt instance string class NAnt.Core.Types.Option::get_OptionName() - IL_0071: ldstr "" - IL_0076: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) - IL_007b: nop - IL_007c: br IL_009f + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - IL_0081: nop - IL_0082: ldarg.1 - IL_0083: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0088: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() - IL_008d: ldloc.0 - IL_008e: callvirt instance string class NAnt.Core.Types.Option::get_OptionName() - IL_0093: ldloc.0 - IL_0094: callvirt instance string class NAnt.Core.Types.Option::get_Value() - IL_0099: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) - IL_009e: nop - IL_009f: nop - IL_00a0: nop - IL_00a1: ldloc.1 - IL_00a2: callvirt instance bool class NAnt.Core.Types.OptionEnumerator::MoveNext() - IL_00a7: brtrue IL_0035 + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - IL_00ac: leave IL_00c5 + IL_004c: leave IL_0065 } // end .try 0 finally { // 0 - IL_00b1: ldloc.1 - IL_00b2: isinst [mscorlib]System.IDisposable - IL_00b7: dup - IL_00b8: stloc.2 - IL_00b9: brfalse IL_00c4 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - IL_00be: ldloc.2 - IL_00bf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c4: endfinally + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally } // end handler 0 - IL_00c5: nop - IL_00c6: ldarg.0 - IL_00c7: call instance class NAnt.Core.Types.EnvironmentSet class NAnt.Core.Tasks.ExecTask::get_EnvironmentSet() - IL_00cc: callvirt instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Types.EnvironmentSet::get_EnvironmentVariables() - IL_00d1: callvirt instance class NAnt.Core.Types.EnvironmentVariableEnumerator class NAnt.Core.Types.EnvironmentVariableCollection::GetEnumerator() - IL_00d6: stloc.s 4 - .try { // 1 - IL_00d8: br IL_014a + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - IL_00dd: ldloc.s 4 - IL_00df: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current() - IL_00e4: stloc.3 - IL_00e5: nop - IL_00e6: ldloc.3 - IL_00e7: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_IfDefined() - IL_00ec: brfalse IL_0149 + IL_006d: ldloc.2 + IL_006e: ret + } // end of method XsltParameterCollection::get_Item - IL_00f1: ldloc.3 - IL_00f2: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() - IL_00f7: brtrue IL_0149 + // method line 897 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.XsltParameter item) cil managed + { + // Method begins at RVA 0x13b54 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00fc: nop - IL_00fd: ldloc.3 - IL_00fe: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() - IL_0103: brtrue IL_012a + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XsltParameterCollection::Add - IL_0108: nop - IL_0109: ldarg.1 - IL_010a: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_010f: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() - IL_0114: ldloc.3 - IL_0115: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() - IL_011a: ldstr "" - IL_011f: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) - IL_0124: nop - IL_0125: br IL_0148 + // method line 898 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltParameter[] items) cil managed + { + // Method begins at RVA 0x13b78 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_012a: nop - IL_012b: ldarg.1 - IL_012c: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() - IL_0131: callvirt instance class [System]System.Collections.Specialized.StringDictionary class [System]System.Diagnostics.ProcessStartInfo::get_EnvironmentVariables() - IL_0136: ldloc.3 - IL_0137: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() - IL_013c: ldloc.3 - IL_013d: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() - IL_0142: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::set_Item(string, string) - IL_0147: nop - IL_0148: nop - IL_0149: nop - IL_014a: ldloc.s 4 - IL_014c: callvirt instance bool class NAnt.Core.Types.EnvironmentVariableEnumerator::MoveNext() - IL_0151: brtrue IL_00dd + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.XsltParameterCollection::Add(class NAnt.Core.Types.XsltParameter) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_0156: leave IL_0172 + IL_0021: ret + } // end of method XsltParameterCollection::AddRange - } // end .try 1 - finally { // 1 - IL_015b: ldloc.s 4 - IL_015d: isinst [mscorlib]System.IDisposable - IL_0162: dup - IL_0163: stloc.s 5 - IL_0165: brfalse IL_0171 + // method line 899 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltParameterCollection items) cil managed + { + // Method begins at RVA 0x13ba8 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_016a: ldloc.s 5 - IL_016c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0171: endfinally - } // end handler 1 - IL_0172: ret - } // end of method ExecTask::PrepareProcess + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.XsltParameter class NAnt.Core.Types.XsltParameterCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.XsltParameterCollection::Add(class NAnt.Core.Types.XsltParameter) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - .property instance string FileName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 70 72 6F 67 72 61 6D 01 00 54 02 08 52 // ...program..T..R - 65 71 75 69 72 65 64 01 ) // equired. + IL_0028: ret + } // end of method XsltParameterCollection::AddRange - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + // method line 900 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.XsltParameter item) cil managed + { + // Method begins at RVA 0x13be0 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .get instance default string NAnt.Core.Tasks.ExecTask::get_FileName () - .set instance default void NAnt.Core.Tasks.ExecTask::set_FileName (string 'value') - } - .property instance string CommandLineArguments () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 63 6F 6D 6D 61 6E 64 6C 69 6E 65 00 00 ) // ...commandline.. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XsltParameterCollection::Contains - .get instance default string NAnt.Core.Tasks.ExecTask::get_CommandLineArguments () - .set instance default void NAnt.Core.Tasks.ExecTask::set_CommandLineArguments (string 'value') - } - .property instance class NAnt.Core.Types.EnvironmentSet EnvironmentSet () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. + // method line 901 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x13c04 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Types.XsltParameter class NAnt.Core.Types.XsltParameterCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - .get instance default class NAnt.Core.Types.EnvironmentSet NAnt.Core.Tasks.ExecTask::get_EnvironmentSet () - } - .property instance class [mscorlib]System.IO.DirectoryInfo WorkingDirectory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 77 6F 72 6B 69 6E 67 64 69 72 00 00 ) // ...workingdir.. + IL_0014: ldloc.0 + IL_0015: ret + } // end of method XsltParameterCollection::Contains - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::get_WorkingDirectory () - .set instance default void NAnt.Core.Tasks.ExecTask::set_WorkingDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance string ResultProperty () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 72 65 73 75 6C 74 70 72 6F 70 65 72 74 // ...resultpropert - 79 00 00 ) // y.. + // method line 902 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.XsltParameter[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x13c26 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method XsltParameterCollection::CopyTo - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + // method line 903 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.XsltParameter item) cil managed + { + // Method begins at RVA 0x13c38 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .get instance default string NAnt.Core.Tasks.ExecTask::get_ResultProperty () - .set instance default void NAnt.Core.Tasks.ExecTask::set_ResultProperty (string 'value') - } - .property instance bool UseRuntimeEngine () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 75 73 65 72 75 6E 74 69 6D 65 65 6E 67 // ...useruntimeeng - 69 6E 65 00 00 ) // ine.. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XsltParameterCollection::IndexOf - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 37 55 73 65 20 74 68 65 20 6D 61 6E 61 67 // ..7Use the manag - 65 64 20 61 74 74 72 69 62 75 74 65 20 61 6E 64 // ed attribute and - 20 4D 61 6E 61 67 65 64 20 70 72 6F 70 65 72 74 // Managed propert - 79 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // y instead.... + // method line 904 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.XsltParameter item) cil managed + { + // Method begins at RVA 0x13c59 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method XsltParameterCollection::Insert - .get instance default bool NAnt.Core.Tasks.ExecTask::get_UseRuntimeEngine () - .set instance default void NAnt.Core.Tasks.ExecTask::set_UseRuntimeEngine (bool 'value') - } - .property instance valuetype NAnt.Core.Types.ManagedExecution Managed () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 61 6E 61 67 65 64 00 00 ) // ...managed.. + // method line 905 + .method public hidebysig + instance default class NAnt.Core.Types.XsltParameterEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x13c6c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.XsltParameterEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.Types.XsltParameterEnumerator::'.ctor'(class NAnt.Core.Types.XsltParameterCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExecTask::get_Managed () - .set instance default void NAnt.Core.Tasks.ExecTask::set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') - } - .property instance string ProgramFileName () - { - .get instance default string NAnt.Core.Tasks.ExecTask::get_ProgramFileName () - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.Core.Tasks.ExecTask::get_ProgramArguments () - } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 62 61 73 65 64 69 72 00 00 ) // ...basedir.. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::get_BaseDirectory () - .set instance default void NAnt.Core.Tasks.ExecTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo Output () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6F 75 74 70 75 74 00 00 ) // ...output.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameterCollection::GetEnumerator - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.ExecTask::get_Output () - .set instance default void NAnt.Core.Tasks.ExecTask::set_Output (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance bool OutputAppend () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 61 70 70 65 6E 64 00 00 ) // ...append.. + // method line 906 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.XsltParameter item) cil managed + { + // Method begins at RVA 0x13c87 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method XsltParameterCollection::Remove - .get instance default bool NAnt.Core.Tasks.ExecTask::get_OutputAppend () - .set instance default void NAnt.Core.Tasks.ExecTask::set_OutputAppend (bool 'value') - } - .property instance bool Spawn () + .property instance class NAnt.Core.Types.XsltParameter Item (int32) { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 73 70 61 77 6E 00 00 ) // ...spawn.. - - .get instance default bool NAnt.Core.Tasks.ExecTask::get_Spawn () - .set instance default void NAnt.Core.Tasks.ExecTask::set_Spawn (bool 'value') + .get instance default class NAnt.Core.Types.XsltParameter NAnt.Core.Types.XsltParameterCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.XsltParameterCollection::set_Item (int32 index, class NAnt.Core.Types.XsltParameter 'value') } - .property instance string ProcessIdProperty () + .property instance class NAnt.Core.Types.XsltParameter Item (string) { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 70 69 64 70 72 6F 70 65 72 74 79 00 00 ) // ...pidproperty.. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.ExecTask::get_ProcessIdProperty () - .set instance default void NAnt.Core.Tasks.ExecTask::set_ProcessIdProperty (string 'value') + .get instance default class NAnt.Core.Types.XsltParameter NAnt.Core.Types.XsltParameterCollection::get_Item (string 'value') } - } // end of class NAnt.Core.Tasks.ExecTask -} - -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit DescriptionTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( - 01 00 0B 64 65 73 63 72 69 70 74 69 6F 6E 00 00 ) // ...description.. - - - // method line 1101 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x12338 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method DescriptionTask::.ctor - - // method line 1102 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x12340 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method DescriptionTask::ExecuteTask - - } // end of class NAnt.Core.Tasks.DescriptionTask + } // end of class NAnt.Core.Types.XsltParameterCollection } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit NAntTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6E 61 6E 74 00 00 ) // ...nant.. - - .field private class [mscorlib]System.IO.FileInfo _buildFile - .field private class NAnt.Core.Types.FileSet _buildFiles - .field private string _target - .field private bool _inheritAll - .field private bool _inheritRefs - .field private class [mscorlib]System.Collections.ArrayList _overrideProperties + .class public auto ansi beforefieldinit XsltParameterEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 1103 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 907 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection arguments) cil managed { - // Method begins at RVA 0x12343 - // Code size 36 (0x24) - .maxstack 8 + // Method begins at RVA 0x13c98 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::_buildFiles - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.Core.Tasks.NAntTask::_inheritAll - IL_0012: ldarg.0 - IL_0013: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0018: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::_overrideProperties - IL_001d: ldarg.0 - IL_001e: call instance void class NAnt.Core.Task::'.ctor'() - IL_0023: ret - } // end of method NAntTask::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator + IL_0015: ret + } // end of method XsltParameterEnumerator::.ctor - // method line 1104 + // method line 908 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_BuildFile () cil managed + instance default class NAnt.Core.Types.XsltParameter get_Current () cil managed { - // Method begins at RVA 0x12368 - // Code size 15 (0xf) + // Method begins at RVA 0x13cbc + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Types.XsltParameter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntTask::_buildFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntTask::get_BuildFile + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.XsltParameter + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 1105 - .method public hidebysig specialname - instance default void set_BuildFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x12383 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntTask::_buildFile - IL_0008: ret - } // end of method NAntTask::set_BuildFile + IL_0017: ldloc.0 + IL_0018: ret + } // end of method XsltParameterEnumerator::get_Current - // method line 1106 - .method public hidebysig specialname - instance default string get_DefaultTarget () cil managed + // method line 909 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x12390 - // Code size 15 (0xf) + // Method begins at RVA 0x13ce4 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - string V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.NAntTask::_target - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntTask::get_DefaultTarget + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1107 - .method public hidebysig specialname - instance default void set_DefaultTarget (string 'value') cil managed - { - // Method begins at RVA 0x123ab - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.NAntTask::_target - IL_000d: ret - } // end of method NAntTask::set_DefaultTarget + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.get_Current - // method line 1108 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Types.FileSet get_BuildFiles () cil managed + // method line 910 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x123bc - // Code size 15 (0xf) + // Method begins at RVA 0x13d04 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::_buildFiles - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntTask::get_BuildFiles + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1109 - .method public virtual hidebysig newslot specialname - instance default void set_BuildFiles (class NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x123d7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::_buildFiles - IL_0008: ret - } // end of method NAntTask::set_BuildFiles + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XsltParameterEnumerator::MoveNext - // method line 1110 - .method public hidebysig specialname - instance default bool get_InheritAll () cil managed + // method line 911 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x123e4 - // Code size 15 (0xf) + // Method begins at RVA 0x13d24 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.NAntTask::_inheritAll - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntTask::get_InheritAll + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1111 - .method public hidebysig specialname - instance default void set_InheritAll (bool 'value') cil managed + // method line 912 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x123ff - // Code size 9 (0x9) + // Method begins at RVA 0x13d44 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.NAntTask::_inheritAll - IL_0008: ret - } // end of method NAntTask::set_InheritAll - - // method line 1112 - .method public hidebysig specialname - instance default bool get_InheritRefs () cil managed - { - // Method begins at RVA 0x1240c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.NAntTask::_inheritRefs - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntTask::get_InheritRefs + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method XsltParameterEnumerator::Reset - // method line 1113 - .method public hidebysig specialname - instance default void set_InheritRefs (bool 'value') cil managed + // method line 913 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x12427 - // Code size 9 (0x9) + // Method begins at RVA 0x13d52 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.NAntTask::_inheritRefs - IL_0008: ret - } // end of method NAntTask::set_InheritRefs + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltParameterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.Reset - // method line 1114 - .method public hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_OverrideProperties () cil managed - { - // Method begins at RVA 0x12434 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::_overrideProperties - IL_0007: stloc.0 - IL_0008: br IL_000d + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.XsltParameterEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.Types.XsltParameter Current () + { + .get instance default class NAnt.Core.Types.XsltParameter NAnt.Core.Types.XsltParameterEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.XsltParameterEnumerator +} - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntTask::get_OverrideProperties +.namespace NAnt.Core.Types +{ + .class public auto ansi sealed ManagedExecution + extends [mscorlib]System.Enum + { + .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 29 4E 41 6E 74 2E 43 6F 72 65 2E 54 79 70 // ..)NAnt.Core.Typ + 65 73 2E 4D 61 6E 61 67 65 64 45 78 65 63 75 74 // es.ManagedExecut + 69 6F 6E 43 6F 6E 76 65 72 74 65 72 00 00 ) // ionConverter.. - // method line 1115 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x12450 - // Code size 84 (0x54) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() - IL_0007: brfalse IL_0053 + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Types.ManagedExecution Default = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Types.ManagedExecution Auto = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Types.ManagedExecution Strict = int32(0x00000002) - IL_000c: ldarg.0 - IL_000d: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() - IL_0012: brfalse IL_0053 + } // end of class NAnt.Core.Types.ManagedExecution +} - IL_0017: ldarg.0 - IL_0018: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() - IL_001d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0022: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0027: ldc.i4.0 - IL_0028: ble IL_0053 +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit ManagedExecutionConverter + extends [System]System.ComponentModel.EnumConverter + { - IL_002d: nop - IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0033: ldstr "NA1141" - IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_003d: call !!0[] class [mscorlib]System.Array::Empty () - IL_0042: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0047: ldarg.0 - IL_0048: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_004d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0052: throw - IL_0053: ret - } // end of method NAntTask::Initialize + // method line 914 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x13d60 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken NAnt.Core.Types.ManagedExecution + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) + IL_0010: nop + IL_0011: ret + } // end of method ManagedExecutionConverter::.ctor - // method line 1116 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 915 + .method public virtual hidebysig + instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed { - // Method begins at RVA 0x124b0 - // Code size 157 (0x9d) - .maxstack 3 + // Method begins at RVA 0x13d74 + // Code size 122 (0x7a) + .maxstack 4 .locals init ( string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + object V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() - IL_0007: brfalse IL_001f + IL_0001: ldarg.3 + IL_0002: isinst [mscorlib]System.String + IL_0007: brfalse IL_0069 IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() - IL_0014: call instance void class NAnt.Core.Tasks.NAntTask::RunBuild(class [mscorlib]System.IO.FileInfo) - IL_0019: nop - IL_001a: br IL_009c + IL_000d: ldarg.3 + IL_000e: castclass [mscorlib]System.String + IL_0013: stloc.0 + IL_0014: ldloc.0 + IL_0015: ldsfld string [mscorlib]System.Boolean::TrueString + IL_001a: ldc.i4.1 + IL_001b: ldarg.2 + IL_001c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0021: brtrue IL_0033 - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() - IL_0026: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_002b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0030: brtrue IL_004b + IL_0026: nop + IL_0027: ldc.i4.1 + IL_0028: box NAnt.Core.Types.ManagedExecution + IL_002d: stloc.1 + IL_002e: br IL_0078 - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: ldc.i4 4000 - IL_003c: ldstr "No matching build files found to run." - IL_0041: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0046: br IL_009c + IL_0033: ldloc.0 + IL_0034: ldsfld string [mscorlib]System.Boolean::FalseString + IL_0039: ldc.i4.1 + IL_003a: ldarg.2 + IL_003b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0040: brtrue IL_0052 - IL_004b: nop - IL_004c: ldarg.0 - IL_004d: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.NAntTask::get_BuildFiles() - IL_0052: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0057: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_005c: stloc.1 - .try { // 0 - IL_005d: br IL_0077 + IL_0045: nop + IL_0046: ldc.i4.0 + IL_0047: box NAnt.Core.Types.ManagedExecution + IL_004c: stloc.1 + IL_004d: br IL_0078 - IL_0062: ldloc.1 - IL_0063: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0068: stloc.0 - IL_0069: nop - IL_006a: ldarg.0 - IL_006b: ldloc.0 - IL_006c: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0071: call instance void class NAnt.Core.Tasks.NAntTask::RunBuild(class [mscorlib]System.IO.FileInfo) - IL_0076: nop - IL_0077: ldloc.1 - IL_0078: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_007d: brtrue IL_0062 + IL_0052: ldtoken NAnt.Core.Types.ManagedExecution + IL_0057: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_005c: ldloc.0 + IL_005d: ldc.i4.1 + IL_005e: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_0063: stloc.1 + IL_0064: br IL_0078 - IL_0082: leave IL_009b + IL_0069: ldarg.0 + IL_006a: ldarg.1 + IL_006b: ldarg.2 + IL_006c: ldarg.3 + IL_006d: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) + IL_0072: stloc.1 + IL_0073: br IL_0078 - } // end .try 0 - finally { // 0 - IL_0087: ldloc.1 - IL_0088: isinst [mscorlib]System.IDisposable - IL_008d: dup - IL_008e: stloc.2 - IL_008f: brfalse IL_009a - - IL_0094: ldloc.2 - IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009a: endfinally - } // end handler 0 - IL_009b: nop - IL_009c: ret - } // end of method NAntTask::ExecuteTask - - // method line 1117 - .method private hidebysig - instance default void RunBuild (class [mscorlib]System.IO.FileInfo buildFile) cil managed - { - // Method begins at RVA 0x1256c - // Code size 490 (0x1ea) - .maxstack 7 - .locals init ( - class NAnt.Core.Project V_0, - class [System]System.Collections.Specialized.StringCollection V_1, - class NAnt.Core.Tasks.PropertyTask V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - string V_5, - string[] V_6, - int32 V_7, - string V_8) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 3000 - IL_0007: ldstr "{0} {1}" - IL_000c: ldc.i4.2 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001a: stelem.ref - IL_001b: dup - IL_001c: ldc.i4.1 - IL_001d: ldarg.0 - IL_001e: call instance string class NAnt.Core.Tasks.NAntTask::get_DefaultTarget() - IL_0023: stelem.ref - IL_0024: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0029: ldarg.1 - IL_002a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002f: ldarg.0 - IL_0030: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0035: newobj instance void class NAnt.Core.Project::'.ctor'(string, class NAnt.Core.Project) - IL_003a: stloc.0 - IL_003b: ldarg.0 - IL_003c: call instance bool class NAnt.Core.Tasks.NAntTask::get_InheritAll() - IL_0041: brfalse IL_00cc - - IL_0046: nop - IL_0047: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_004c: stloc.1 - IL_004d: ldloc.1 - IL_004e: ldstr "nant.filename" - IL_0053: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0058: pop - IL_0059: ldloc.1 - IL_005a: ldstr "nant.location" - IL_005f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0064: pop - IL_0065: ldloc.1 - IL_0066: ldstr "nant.onsuccess" - IL_006b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0070: pop - IL_0071: ldloc.1 - IL_0072: ldstr "nant.onfailure" - IL_0077: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_007c: pop - IL_007d: ldloc.1 - IL_007e: ldstr "nant.project.basedir" - IL_0083: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0088: pop - IL_0089: ldloc.1 - IL_008a: ldstr "nant.project.buildfile" - IL_008f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0094: pop - IL_0095: ldloc.1 - IL_0096: ldstr "nant.project.default" - IL_009b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00a0: pop - IL_00a1: ldloc.1 - IL_00a2: ldstr "nant.project.name" - IL_00a7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00ac: pop - IL_00ad: ldloc.1 - IL_00ae: ldstr "nant.version" - IL_00b3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00b8: pop - IL_00b9: ldloc.0 - IL_00ba: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00bf: ldarg.0 - IL_00c0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00c5: ldloc.1 - IL_00c6: callvirt instance void class NAnt.Core.PropertyDictionary::Inherit(class NAnt.Core.PropertyDictionary, class [System]System.Collections.Specialized.StringCollection) - IL_00cb: nop - IL_00cc: nop - IL_00cd: ldarg.0 - IL_00ce: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Tasks.NAntTask::get_OverrideProperties() - IL_00d3: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_00d8: stloc.3 - .try { // 0 - IL_00d9: br IL_0123 - - IL_00de: ldloc.3 - IL_00df: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00e4: castclass NAnt.Core.Tasks.PropertyTask - IL_00e9: stloc.2 - IL_00ea: nop - IL_00eb: ldloc.2 - IL_00ec: callvirt instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() - IL_00f1: brtrue IL_0115 - - IL_00f6: nop - IL_00f7: ldloc.2 - IL_00f8: ldarg.0 - IL_00f9: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00fe: ldloc.2 - IL_00ff: callvirt instance string class NAnt.Core.Tasks.PropertyTask::get_Value() - IL_0104: ldarg.0 - IL_0105: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_010a: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) - IL_010f: callvirt instance void class NAnt.Core.Tasks.PropertyTask::set_Value(string) - IL_0114: nop - IL_0115: ldloc.2 - IL_0116: ldloc.0 - IL_0117: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_011c: ldloc.2 - IL_011d: callvirt instance void class NAnt.Core.Task::Execute() - IL_0122: nop - IL_0123: ldloc.3 - IL_0124: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0129: brtrue IL_00de - - IL_012e: leave IL_0149 - - } // end .try 0 - finally { // 0 - IL_0133: ldloc.3 - IL_0134: isinst [mscorlib]System.IDisposable - IL_0139: dup - IL_013a: stloc.s 4 - IL_013c: brfalse IL_0148 - - IL_0141: ldloc.s 4 - IL_0143: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0148: endfinally - } // end handler 0 - IL_0149: ldarg.0 - IL_014a: call instance bool class NAnt.Core.Tasks.NAntTask::get_InheritRefs() - IL_014f: brfalse IL_016c - - IL_0154: nop - IL_0155: ldloc.0 - IL_0156: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_015b: ldarg.0 - IL_015c: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0161: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_0166: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Inherit(class NAnt.Core.DataTypeBaseDictionary) - IL_016b: nop - IL_016c: ldarg.0 - IL_016d: call instance string class NAnt.Core.Tasks.NAntTask::get_DefaultTarget() - IL_0172: brfalse IL_01d2 - - IL_0177: nop - IL_0178: nop - IL_0179: ldarg.0 - IL_017a: call instance string class NAnt.Core.Tasks.NAntTask::get_DefaultTarget() - IL_017f: ldc.i4.s 0x20 - IL_0181: ldc.i4.0 - IL_0182: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0187: stloc.s 6 - IL_0189: ldc.i4.0 - IL_018a: stloc.s 7 - IL_018c: br IL_01c6 - - IL_0191: ldloc.s 6 - IL_0193: ldloc.s 7 - IL_0195: ldelem.ref - IL_0196: stloc.s 5 - IL_0198: nop - IL_0199: ldloc.s 5 - IL_019b: callvirt instance string string::Trim() - IL_01a0: stloc.s 8 - IL_01a2: ldloc.s 8 - IL_01a4: callvirt instance int32 string::get_Length() - IL_01a9: ldc.i4.0 - IL_01aa: ble IL_01bf - - IL_01af: nop - IL_01b0: ldloc.0 - IL_01b1: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_01b6: ldloc.s 8 - IL_01b8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_01bd: pop - IL_01be: nop - IL_01bf: nop - IL_01c0: ldloc.s 7 - IL_01c2: ldc.i4.1 - IL_01c3: add - IL_01c4: stloc.s 7 - IL_01c6: ldloc.s 7 - IL_01c8: ldloc.s 6 - IL_01ca: ldlen - IL_01cb: conv.i4 - IL_01cc: blt IL_0191 - - IL_01d1: nop - IL_01d2: ldloc.0 - IL_01d3: callvirt instance bool class NAnt.Core.Project::Run() - IL_01d8: brtrue IL_01e9 - - IL_01dd: nop - IL_01de: ldstr "Nested build failed. Refer to build log for exact reason." - IL_01e3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_01e8: throw - IL_01e9: ret - } // end of method NAntTask::RunBuild - - .property instance class [mscorlib]System.IO.FileInfo BuildFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 62 75 69 6C 64 66 69 6C 65 00 00 ) // ...buildfile.. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntTask::get_BuildFile () - .set instance default void NAnt.Core.Tasks.NAntTask::set_BuildFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string DefaultTarget () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 61 72 67 65 74 00 00 ) // ...target.. - - .get instance default string NAnt.Core.Tasks.NAntTask::get_DefaultTarget () - .set instance default void NAnt.Core.Tasks.NAntTask::set_DefaultTarget (string 'value') - } - .property instance class NAnt.Core.Types.FileSet BuildFiles () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 62 75 69 6C 64 66 69 6C 65 73 00 00 ) // ...buildfiles.. - - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.NAntTask::get_BuildFiles () - .set instance default void NAnt.Core.Tasks.NAntTask::set_BuildFiles (class NAnt.Core.Types.FileSet 'value') - } - .property instance bool InheritAll () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 69 6E 68 65 72 69 74 61 6C 6C 00 00 ) // ...inheritall.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Tasks.NAntTask::get_InheritAll () - .set instance default void NAnt.Core.Tasks.NAntTask::set_InheritAll (bool 'value') - } - .property instance bool InheritRefs () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 69 6E 68 65 72 69 74 72 65 66 73 00 00 ) // ...inheritrefs.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Tasks.NAntTask::get_InheritRefs () - .set instance default void NAnt.Core.Tasks.NAntTask::set_InheritRefs (bool 'value') - } - .property instance class [mscorlib]System.Collections.ArrayList OverrideProperties () - { - .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0A 70 72 6F 70 65 72 74 69 65 73 08 70 72 // ...properties.pr - 6F 70 65 72 74 79 01 00 54 50 0B 45 6C 65 6D 65 // operty..TP.Eleme - 6E 74 54 79 70 65 1C 4E 41 6E 74 2E 43 6F 72 65 // ntType.NAnt.Core - 2E 54 61 73 6B 73 2E 50 72 6F 70 65 72 74 79 54 // .Tasks.PropertyT - 61 73 6B ) // ask + IL_0078: ldloc.1 + IL_0079: ret + } // end of method ManagedExecutionConverter::ConvertFrom - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::get_OverrideProperties () - } - } // end of class NAnt.Core.Tasks.NAntTask + } // end of class NAnt.Core.Types.ManagedExecutionConverter } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit SleepTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit PathSet + extends NAnt.Core.DataTypeBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 73 6C 65 65 70 00 00 ) // ...sleep.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - .field private int32 _hours - .field private int32 _minutes - .field private int32 _seconds - .field private int32 _milliseconds + .field private class [mscorlib]System.Collections.ArrayList _elements + .field private class [System]System.Collections.Specialized.StringCollection _translatedElements + .field private static initonly bool _dosBasedFileSystem - // method line 1118 + // method line 916 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x12774 - // Code size 35 (0x23) + // Method begins at RVA 0x13dfa + // Code size 30 (0x1e) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld int32 NAnt.Core.Tasks.SleepTask::_hours - IL_0007: ldarg.0 - IL_0008: ldc.i4.0 - IL_0009: stfld int32 NAnt.Core.Tasks.SleepTask::_minutes - IL_000e: ldarg.0 - IL_000f: ldc.i4.0 - IL_0010: stfld int32 NAnt.Core.Tasks.SleepTask::_seconds - IL_0015: ldarg.0 - IL_0016: ldc.i4.0 - IL_0017: stfld int32 NAnt.Core.Tasks.SleepTask::_milliseconds - IL_001c: ldarg.0 - IL_001d: call instance void class NAnt.Core.Task::'.ctor'() - IL_0022: ret - } // end of method SleepTask::.ctor - - // method line 1119 - .method public hidebysig specialname - instance default int32 get_Hours () cil managed - { - // Method begins at RVA 0x12798 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_hours - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SleepTask::get_Hours + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements + IL_000b: ldarg.0 + IL_000c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0011: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements + IL_0016: ldarg.0 + IL_0017: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_001c: nop + IL_001d: ret + } // end of method PathSet::.ctor - // method line 1120 - .method public hidebysig specialname - instance default void set_Hours (int32 'value') cil managed + // method line 917 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, string path) cil managed { - // Method begins at RVA 0x127b3 - // Code size 9 (0x9) + // Method begins at RVA 0x13e19 + // Code size 50 (0x32) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_hours - IL_0008: ret - } // end of method SleepTask::set_Hours + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements + IL_000b: ldarg.0 + IL_000c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0011: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements + IL_0016: ldarg.0 + IL_0017: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: ldarg.1 + IL_001f: call instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0024: ldarg.0 + IL_0025: ldarg.1 + IL_0026: ldarg.2 + IL_0027: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::TranslatePath(class NAnt.Core.Project, string) + IL_002c: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements + IL_0031: ret + } // end of method PathSet::.ctor - // method line 1121 - .method public hidebysig specialname - instance default int32 get_Minutes () cil managed + // method line 918 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x127c0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13e4c + // Code size 115 (0x73) + .maxstack 3 .locals init ( - int32 V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + string V_1, + class [mscorlib]System.Text.StringBuilder V_2, + int32 V_3) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_minutes + IL_0002: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::GetElements() IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: ldloc.0 + IL_0009: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_000e: brtrue IL_001f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SleepTask::get_Minutes + IL_0013: nop + IL_0014: ldstr "" + IL_0019: stloc.1 + IL_001a: br IL_0071 - // method line 1122 - .method public hidebysig specialname - instance default void set_Minutes (int32 'value') cil managed - { - // Method begins at RVA 0x127db - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_minutes - IL_0008: ret - } // end of method SleepTask::set_Minutes + IL_001f: ldloc.0 + IL_0020: ldc.i4.0 + IL_0021: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_0026: ldloc.0 + IL_0027: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_002c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string, int32) + IL_0031: stloc.2 + IL_0032: ldc.i4.1 + IL_0033: stloc.3 + IL_0034: br IL_0059 - // method line 1123 - .method public hidebysig specialname - instance default int32 get_Seconds () cil managed + IL_0039: nop + IL_003a: ldloc.2 + IL_003b: ldsfld char [mscorlib]System.IO.Path::PathSeparator + IL_0040: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0045: pop + IL_0046: ldloc.2 + IL_0047: ldloc.0 + IL_0048: ldloc.3 + IL_0049: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_004e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0053: pop + IL_0054: nop + IL_0055: ldloc.3 + IL_0056: ldc.i4.1 + IL_0057: add + IL_0058: stloc.3 + IL_0059: ldloc.3 + IL_005a: ldloc.0 + IL_005b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0060: blt IL_0039 + + IL_0065: ldloc.2 + IL_0066: callvirt instance string object::ToString() + IL_006b: stloc.1 + IL_006c: br IL_0071 + + IL_0071: ldloc.1 + IL_0072: ret + } // end of method PathSet::ToString + + // method line 919 + .method public hidebysig + instance default void AddPath (class NAnt.Core.Types.PathSet path) cil managed { - // Method begins at RVA 0x127e8 + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. + + // Method begins at RVA 0x13ecb // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_seconds - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_000d: pop IL_000e: ret - } // end of method SleepTask::get_Seconds + } // end of method PathSet::AddPath - // method line 1124 - .method public hidebysig specialname - instance default void set_Seconds (int32 'value') cil managed + // method line 920 + .method public hidebysig + instance default void AddPathElement (class NAnt.Core.Types.PathElement pathElement) cil managed { - // Method begins at RVA 0x12803 - // Code size 9 (0x9) + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 70 61 74 68 65 6C 65 6D 65 6E 74 00 00 ) // ...pathelement.. + + // Method begins at RVA 0x13edb + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_seconds - IL_0008: ret - } // end of method SleepTask::set_Seconds + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_000d: pop + IL_000e: ret + } // end of method PathSet::AddPathElement - // method line 1125 - .method public hidebysig specialname - instance default int32 get_Milliseconds () cil managed + // method line 921 + .method public hidebysig + instance default class [System]System.Collections.Specialized.StringCollection GetElements () cil managed { - // Method begins at RVA 0x12810 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13eec + // Code size 353 (0x161) + .maxstack 2 .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_milliseconds - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SleepTask::get_Milliseconds - - // method line 1126 - .method public hidebysig specialname - instance default void set_Milliseconds (int32 'value') cil managed - { - // Method begins at RVA 0x1282b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.SleepTask::_milliseconds - IL_0008: ret - } // end of method SleepTask::set_Milliseconds - - // method line 1127 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x12835 - // Code size 32 (0x20) - .maxstack 8 + class [System]System.Collections.Specialized.StringCollection V_0, + object V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + class NAnt.Core.Types.PathElement V_6, + string V_7, + class [System]System.Collections.Specialized.StringEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + class [mscorlib]System.IDisposable V_10, + class [System]System.Collections.Specialized.StringCollection V_11) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance int32 class NAnt.Core.Tasks.SleepTask::GetSleepTime() - IL_0007: ldc.i4.0 - IL_0008: bge IL_001f - + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathSet::_translatedElements + IL_0007: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Util.StringUtils::Clone(class [System]System.Collections.Specialized.StringCollection) + IL_000c: stloc.0 IL_000d: nop - IL_000e: ldstr "Negative sleep periods are not supported." - IL_0013: ldarg.0 - IL_0014: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0019: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001e: throw - IL_001f: ret - } // end of method SleepTask::Initialize - - // method line 1128 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x12858 - // Code size 47 (0x2f) - .maxstack 7 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance int32 class NAnt.Core.Tasks.SleepTask::GetSleepTime() - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: ldc.i4 3000 - IL_000e: ldstr "Sleeping for {0} milliseconds." - IL_0013: ldc.i4.1 - IL_0014: newarr [mscorlib]System.Object - IL_0019: dup - IL_001a: ldc.i4.0 - IL_001b: ldloc.0 - IL_001c: box [mscorlib]System.Int32 - IL_0021: stelem.ref - IL_0022: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0027: ldarg.0 - IL_0028: ldloc.0 - IL_0029: call instance void class NAnt.Core.Tasks.SleepTask::DoSleep(int32) - IL_002e: ret - } // end of method SleepTask::ExecuteTask + IL_000e: ldarg.0 + IL_000f: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PathSet::_elements + IL_0014: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0019: stloc.2 + .try { // 2 + IL_001a: br IL_0130 - // method line 1129 - .method private hidebysig - instance default int32 GetSleepTime () cil managed - { - // Method begins at RVA 0x12894 - // Code size 48 (0x30) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Hours() - IL_0007: ldc.i4.s 0x3c - IL_0009: mul - IL_000a: ldarg.0 - IL_000b: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Minutes() - IL_0010: add - IL_0011: ldc.i4.s 0x3c - IL_0013: mul - IL_0014: ldarg.0 - IL_0015: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Seconds() - IL_001a: add - IL_001b: ldc.i4 1000 - IL_0020: mul - IL_0021: ldarg.0 - IL_0022: call instance int32 class NAnt.Core.Tasks.SleepTask::get_Milliseconds() - IL_0027: add - IL_0028: stloc.0 - IL_0029: br IL_002e + IL_001f: ldloc.2 + IL_0020: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0025: stloc.1 + IL_0026: nop + IL_0027: ldloc.1 + IL_0028: isinst NAnt.Core.Types.PathSet + IL_002d: brfalse IL_0099 - IL_002e: ldloc.0 - IL_002f: ret - } // end of method SleepTask::GetSleepTime + IL_0032: nop + IL_0033: nop + IL_0034: ldloc.1 + IL_0035: castclass NAnt.Core.Types.PathSet + IL_003a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::GetElements() + IL_003f: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0044: stloc.s 4 + .try { // 0 + IL_0046: br IL_006b - // method line 1130 - .method private hidebysig - instance default void DoSleep (int32 millis) cil managed - { - // Method begins at RVA 0x128d0 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call void class [mscorlib]System.Threading.Thread::Sleep(int32) - IL_0007: ret - } // end of method SleepTask::DoSleep + IL_004b: ldloc.s 4 + IL_004d: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0052: stloc.3 + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: ldloc.3 + IL_0056: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_005b: brtrue IL_006a - .property instance int32 Hours () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 68 6F 75 72 73 00 00 ) // ...hours.. + IL_0060: nop + IL_0061: ldloc.0 + IL_0062: ldloc.3 + IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0068: pop + IL_0069: nop + IL_006a: nop + IL_006b: ldloc.s 4 + IL_006d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0072: brtrue IL_004b - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + IL_0077: leave IL_0093 - .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Hours () - .set instance default void NAnt.Core.Tasks.SleepTask::set_Hours (int32 'value') - } - .property instance int32 Minutes () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 69 6E 75 74 65 73 00 00 ) // ...minutes.. + } // end .try 0 + finally { // 0 + IL_007c: ldloc.s 4 + IL_007e: isinst [mscorlib]System.IDisposable + IL_0083: dup + IL_0084: stloc.s 5 + IL_0086: brfalse IL_0092 - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + IL_008b: ldloc.s 5 + IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0092: endfinally + } // end handler 0 + IL_0093: nop + IL_0094: br IL_012f - .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Minutes () - .set instance default void NAnt.Core.Tasks.SleepTask::set_Minutes (int32 'value') - } - .property instance int32 Seconds () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 73 65 63 6F 6E 64 73 00 00 ) // ...seconds.. + IL_0099: ldloc.1 + IL_009a: isinst NAnt.Core.Types.PathElement + IL_009f: brfalse IL_012f - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + IL_00a4: nop + IL_00a5: ldloc.1 + IL_00a6: castclass NAnt.Core.Types.PathElement + IL_00ab: stloc.s 6 + IL_00ad: ldloc.s 6 + IL_00af: callvirt instance bool class NAnt.Core.Types.PathElement::get_IfDefined() + IL_00b4: brfalse IL_00c5 - .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Seconds () - .set instance default void NAnt.Core.Tasks.SleepTask::set_Seconds (int32 'value') - } - .property instance int32 Milliseconds () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6D 69 6C 6C 69 73 65 63 6F 6E 64 73 00 // ...milliseconds. - 00 ) // . + IL_00b9: ldloc.s 6 + IL_00bb: callvirt instance bool class NAnt.Core.Types.PathElement::get_UnlessDefined() + IL_00c0: brfalse IL_00cb - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + IL_00c5: nop + IL_00c6: leave IL_0130 - .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Milliseconds () - .set instance default void NAnt.Core.Tasks.SleepTask::set_Milliseconds (int32 'value') - } - } // end of class NAnt.Core.Tasks.SleepTask -} + IL_00cb: nop + IL_00cc: ldloc.1 + IL_00cd: castclass NAnt.Core.Types.PathElement + IL_00d2: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathElement::get_Parts() + IL_00d7: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00dc: stloc.s 8 + .try { // 1 + IL_00de: br IL_0106 -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit TouchTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 74 6F 75 63 68 00 00 ) // ...touch.. + IL_00e3: ldloc.s 8 + IL_00e5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00ea: stloc.s 7 + IL_00ec: nop + IL_00ed: ldloc.0 + IL_00ee: ldloc.s 7 + IL_00f0: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_00f5: brtrue IL_0105 - .field private class [mscorlib]System.IO.FileInfo _file - .field private int64 _millis - .field private valuetype [mscorlib]System.DateTime _datetime - .field private class NAnt.Core.Types.FileSet _fileset + IL_00fa: nop + IL_00fb: ldloc.0 + IL_00fc: ldloc.s 7 + IL_00fe: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0103: pop + IL_0104: nop + IL_0105: nop + IL_0106: ldloc.s 8 + IL_0108: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_010d: brtrue IL_00e3 - // method line 1131 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x128d9 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::_fileset - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method TouchTask::.ctor + IL_0112: leave IL_012e - // method line 1132 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed - { - // Method begins at RVA 0x128ec - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 1 + finally { // 1 + IL_0117: ldloc.s 8 + IL_0119: isinst [mscorlib]System.IDisposable + IL_011e: dup + IL_011f: stloc.s 9 + IL_0121: brfalse IL_012d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TouchTask::get_File + IL_0126: ldloc.s 9 + IL_0128: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_012d: endfinally + } // end handler 1 + IL_012e: nop + IL_012f: nop + IL_0130: ldloc.2 + IL_0131: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0136: brtrue IL_001f - // method line 1133 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x12907 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::_file - IL_0008: ret - } // end of method TouchTask::set_File + IL_013b: leave IL_0156 - // method line 1134 - .method public hidebysig specialname - instance default int64 get_Millis () cil managed - { - // Method begins at RVA 0x12914 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int64 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int64 NAnt.Core.Tasks.TouchTask::_millis - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 2 + finally { // 2 + IL_0140: ldloc.2 + IL_0141: isinst [mscorlib]System.IDisposable + IL_0146: dup + IL_0147: stloc.s 10 + IL_0149: brfalse IL_0155 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TouchTask::get_Millis + IL_014e: ldloc.s 10 + IL_0150: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0155: endfinally + } // end handler 2 + IL_0156: ldloc.0 + IL_0157: stloc.s 11 + IL_0159: br IL_015e - // method line 1135 - .method public hidebysig specialname - instance default void set_Millis (int64 'value') cil managed - { - // Method begins at RVA 0x1292f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int64 NAnt.Core.Tasks.TouchTask::_millis - IL_0008: ret - } // end of method TouchTask::set_Millis + IL_015e: ldloc.s 11 + IL_0160: ret + } // end of method PathSet::GetElements - // method line 1136 - .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Datetime () cil managed + // method line 922 + .method public static hidebysig + default class [System]System.Collections.Specialized.StringCollection TranslatePath (class NAnt.Core.Project project, string source) cil managed { - // Method begins at RVA 0x1293c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x140a8 + // Code size 388 (0x184) + .maxstack 7 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + string[] V_2, + int32 V_3, + string V_4, + string V_5, + string V_6, + string V_7, + string[] V_8, + int32 V_9, + string V_10, + class [mscorlib]System.Exception V_11) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::_datetime - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.1 + IL_0008: brtrue IL_0015 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TouchTask::get_Datetime + IL_000d: nop + IL_000e: ldloc.0 + IL_000f: stloc.1 + IL_0010: br IL_0182 - // method line 1137 - .method public hidebysig specialname - instance default void set_Datetime (valuetype [mscorlib]System.DateTime 'value') cil managed - { - // Method begins at RVA 0x12957 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::_datetime - IL_0008: ret - } // end of method TouchTask::set_Datetime + IL_0015: ldarg.1 + IL_0016: ldc.i4.2 + IL_0017: newarr [mscorlib]System.Char + IL_001c: dup + IL_001d: ldc.i4.0 + IL_001e: ldc.i4.s 0x3a + IL_0020: stelem.i2 + IL_0021: dup + IL_0022: ldc.i4.1 + IL_0023: ldc.i4.s 0x3b + IL_0025: stelem.i2 + IL_0026: callvirt instance string[] string::Split(char[]) + IL_002b: stloc.2 + IL_002c: ldc.i4.0 + IL_002d: stloc.3 + IL_002e: br IL_0172 - // method line 1138 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TouchFileSet () cil managed - { - // Method begins at RVA 0x12964 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::_fileset - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0033: nop + IL_0034: ldloc.2 + IL_0035: ldloc.3 + IL_0036: ldelem.ref + IL_0037: stloc.s 4 + IL_0039: ldloc.s 4 + IL_003b: callvirt instance int32 string::get_Length() + IL_0040: ldc.i4.1 + IL_0041: bne.un IL_00b3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TouchTask::get_TouchFileSet + IL_0046: ldloc.s 4 + IL_0048: ldc.i4.0 + IL_0049: callvirt instance char string::get_Chars(int32) + IL_004e: call bool char::IsLetter(char) + IL_0053: brfalse IL_00b3 - // method line 1139 - .method public hidebysig specialname - instance default void set_TouchFileSet (class NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x1297f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::_fileset - IL_0008: ret - } // end of method TouchTask::set_TouchFileSet + IL_0058: ldsfld bool NAnt.Core.Types.PathSet::_dosBasedFileSystem + IL_005d: brfalse IL_00b3 - // method line 1140 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x1298c - // Code size 104 (0x68) - .maxstack 2 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance int64 class NAnt.Core.Tasks.TouchTask::get_Millis() - IL_0007: ldc.i4.0 - IL_0008: conv.i8 - IL_0009: beq IL_0035 + IL_0062: ldloc.2 + IL_0063: ldlen + IL_0064: conv.i4 + IL_0065: ldloc.3 + IL_0066: ldc.i4.1 + IL_0067: add + IL_0068: ble IL_00b3 - IL_000e: ldarg.0 - IL_000f: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::get_Datetime() - IL_0014: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue - IL_0019: call bool valuetype [mscorlib]System.DateTime::op_Inequality(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_001e: brfalse IL_0035 + IL_006d: nop + IL_006e: ldloc.2 + IL_006f: ldloc.3 + IL_0070: ldc.i4.1 + IL_0071: add + IL_0072: ldelem.ref + IL_0073: callvirt instance string string::Trim() + IL_0078: stloc.s 5 + IL_007a: ldloc.s 5 + IL_007c: ldstr "\\" + IL_0081: callvirt instance bool string::StartsWith(string) + IL_0086: brtrue IL_009c - IL_0023: nop - IL_0024: ldstr "Cannot specify 'millis' and 'datetime' in the same task." - IL_0029: ldarg.0 - IL_002a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_002f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0034: throw - IL_0035: ldarg.0 - IL_0036: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.TouchTask::get_File() - IL_003b: brfalse IL_0067 - - IL_0040: ldarg.0 - IL_0041: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() - IL_0046: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_004b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0050: brfalse IL_0067 - - IL_0055: nop - IL_0056: ldstr "Cannot specify both 'file' attribute and use in the same task." - IL_005b: ldarg.0 - IL_005c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0061: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0066: throw - IL_0067: ret - } // end of method TouchTask::Initialize - - // method line 1141 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x12a00 - // Code size 230 (0xe6) - .maxstack 3 - .locals init ( - valuetype [mscorlib]System.DateTime V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() - IL_000d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0012: brtrue IL_0034 - - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() - IL_001e: ldarg.0 - IL_001f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0024: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0029: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_002e: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0033: nop - IL_0034: ldarg.0 - IL_0035: call instance int64 class NAnt.Core.Tasks.TouchTask::get_Millis() - IL_003a: ldc.i4.0 - IL_003b: conv.i8 - IL_003c: beq IL_0055 + IL_008b: ldloc.s 5 + IL_008d: ldstr "/" + IL_0092: callvirt instance bool string::StartsWith(string) + IL_0097: brfalse IL_00b2 - IL_0041: nop - IL_0042: ldarg.0 - IL_0043: ldarg.0 - IL_0044: call instance int64 class NAnt.Core.Tasks.TouchTask::get_Millis() - IL_0049: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::GetDateTime(int64) - IL_004e: stloc.0 - IL_004f: nop - IL_0050: br IL_0073 + IL_009c: nop + IL_009d: ldloc.s 4 + IL_009f: ldstr ":" + IL_00a4: ldloc.s 5 + IL_00a6: call string string::Concat(string, string, string) + IL_00ab: stloc.s 4 + IL_00ad: ldloc.3 + IL_00ae: ldc.i4.1 + IL_00af: add + IL_00b0: stloc.3 + IL_00b1: nop + IL_00b2: nop + IL_00b3: ldloc.s 4 + IL_00b5: call string class [mscorlib]System.Environment::ExpandEnvironmentVariables(string) + IL_00ba: stloc.s 6 + IL_00bc: ldloc.s 6 + IL_00be: ldstr "%" + IL_00c3: callvirt instance bool string::StartsWith(string) + IL_00c8: brfalse IL_00e4 - IL_0055: ldarg.0 - IL_0056: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::get_Datetime() - IL_005b: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue - IL_0060: call bool valuetype [mscorlib]System.DateTime::op_Inequality(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0065: brfalse IL_0073 + IL_00cd: ldloc.s 6 + IL_00cf: ldstr "%" + IL_00d4: callvirt instance bool string::EndsWith(string) + IL_00d9: brfalse IL_00e4 - IL_006a: nop - IL_006b: ldarg.0 - IL_006c: call instance valuetype [mscorlib]System.DateTime class NAnt.Core.Tasks.TouchTask::get_Datetime() - IL_0071: stloc.0 - IL_0072: nop - IL_0073: ldarg.0 - IL_0074: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.TouchTask::get_File() - IL_0079: brfalse IL_0097 + IL_00de: nop + IL_00df: br IL_016e - IL_007e: nop - IL_007f: ldarg.0 - IL_0080: ldarg.0 - IL_0081: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.TouchTask::get_File() - IL_0086: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_008b: ldloc.0 - IL_008c: call instance void class NAnt.Core.Tasks.TouchTask::TouchFile(string, valuetype [mscorlib]System.DateTime) - IL_0091: nop - IL_0092: br IL_00e5 + IL_00e4: nop + IL_00e5: ldloc.s 6 + IL_00e7: ldsfld char [mscorlib]System.IO.Path::PathSeparator + IL_00ec: ldc.i4.0 + IL_00ed: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_00f2: stloc.s 8 + IL_00f4: ldc.i4.0 + IL_00f5: stloc.s 9 + IL_00f7: br IL_0162 - IL_0097: nop - IL_0098: nop - IL_0099: ldarg.0 - IL_009a: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.TouchTask::get_TouchFileSet() - IL_009f: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_00a4: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00a9: stloc.2 + IL_00fc: ldloc.s 8 + IL_00fe: ldloc.s 9 + IL_0100: ldelem.ref + IL_0101: stloc.s 7 + IL_0103: nop .try { // 0 - IL_00aa: br IL_00c0 - - IL_00af: ldloc.2 - IL_00b0: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00b5: stloc.1 - IL_00b6: nop - IL_00b7: ldarg.0 - IL_00b8: ldloc.1 - IL_00b9: ldloc.0 - IL_00ba: call instance void class NAnt.Core.Tasks.TouchTask::TouchFile(string, valuetype [mscorlib]System.DateTime) - IL_00bf: nop - IL_00c0: ldloc.2 - IL_00c1: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00c6: brtrue IL_00af + IL_0104: nop + IL_0105: ldarg.0 + IL_0106: ldloc.s 7 + IL_0108: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_010d: stloc.s 10 + IL_010f: ldloc.0 + IL_0110: ldloc.s 10 + IL_0112: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_0117: brtrue IL_0127 - IL_00cb: leave IL_00e4 + IL_011c: nop + IL_011d: ldloc.0 + IL_011e: ldloc.s 10 + IL_0120: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0125: pop + IL_0126: nop + IL_0127: nop + IL_0128: leave IL_015b } // end .try 0 - finally { // 0 - IL_00d0: ldloc.2 - IL_00d1: isinst [mscorlib]System.IDisposable - IL_00d6: dup - IL_00d7: stloc.3 - IL_00d8: brfalse IL_00e3 + catch class [mscorlib]System.Exception { // 0 + IL_012d: stloc.s 11 + IL_012f: nop + IL_0130: ldarg.0 + IL_0131: ldc.i4 2000 + IL_0136: ldstr "Dropping path element '{0}' as it could not be resolved to a full path. {1}" + IL_013b: ldc.i4.2 + IL_013c: newarr [mscorlib]System.Object + IL_0141: dup + IL_0142: ldc.i4.0 + IL_0143: ldloc.s 7 + IL_0145: stelem.ref + IL_0146: dup + IL_0147: ldc.i4.1 + IL_0148: ldloc.s 11 + IL_014a: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_014f: stelem.ref + IL_0150: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0155: nop + IL_0156: leave IL_015b - IL_00dd: ldloc.3 - IL_00de: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00e3: endfinally } // end handler 0 - IL_00e4: nop - IL_00e5: ret - } // end of method TouchTask::ExecuteTask - - // method line 1142 - .method private hidebysig - instance default void TouchFile (string path, valuetype [mscorlib]System.DateTime touchDateTime) cil managed - { - // Method begins at RVA 0x12b04 - // Code size 229 (0xe5) - .maxstack 8 - .locals init ( - class [mscorlib]System.IO.FileStream V_0, - class [mscorlib]System.Exception V_1, - string V_2) - IL_0000: nop - .try { // 1 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0008: brfalse IL_003d - - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldc.i4 2000 - IL_0014: ldstr "Touching file '{0}' with '{1}'." - IL_0019: ldc.i4.2 - IL_001a: newarr [mscorlib]System.Object - IL_001f: dup - IL_0020: ldc.i4.0 - IL_0021: ldarg.1 - IL_0022: stelem.ref - IL_0023: dup - IL_0024: ldc.i4.1 - IL_0025: ldarga.s 2 - IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002c: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_0031: stelem.ref - IL_0032: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0037: nop - IL_0038: br IL_0083 - - IL_003d: nop - IL_003e: ldarg.0 - IL_003f: ldc.i4 2000 - IL_0044: ldstr "Creating file '{0}' with '{1}'." - IL_0049: ldc.i4.2 - IL_004a: newarr [mscorlib]System.Object - IL_004f: dup - IL_0050: ldc.i4.0 - IL_0051: ldarg.1 - IL_0052: stelem.ref - IL_0053: dup - IL_0054: ldc.i4.1 - IL_0055: ldarga.s 2 - IL_0057: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005c: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_0061: stelem.ref - IL_0062: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0067: ldarg.1 - IL_0068: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::Create(string) - IL_006d: stloc.0 - .try { // 0 - IL_006e: nop - IL_006f: nop - IL_0070: leave IL_0082 - - } // end .try 0 - finally { // 0 - IL_0075: ldloc.0 - IL_0076: brfalse IL_0081 - - IL_007b: ldloc.0 - IL_007c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0081: endfinally - } // end handler 0 - IL_0082: nop - IL_0083: ldarg.1 - IL_0084: ldarg.2 - IL_0085: call void class [mscorlib]System.IO.File::SetLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_008a: nop - IL_008b: leave IL_00e4 + IL_015b: nop + IL_015c: ldloc.s 9 + IL_015e: ldc.i4.1 + IL_015f: add + IL_0160: stloc.s 9 + IL_0162: ldloc.s 9 + IL_0164: ldloc.s 8 + IL_0166: ldlen + IL_0167: conv.i4 + IL_0168: blt IL_00fc - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_0090: stloc.1 - IL_0091: nop - IL_0092: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0097: ldstr "NA1152" - IL_009c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00a1: ldarg.1 - IL_00a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00a7: stloc.2 - IL_00a8: ldarg.0 - IL_00a9: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_00ae: brfalse IL_00c2 + IL_016d: nop + IL_016e: ldloc.3 + IL_016f: ldc.i4.1 + IL_0170: add + IL_0171: stloc.3 + IL_0172: ldloc.3 + IL_0173: ldloc.2 + IL_0174: ldlen + IL_0175: conv.i4 + IL_0176: blt IL_0033 - IL_00b3: nop - IL_00b4: ldloc.2 - IL_00b5: ldarg.0 - IL_00b6: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00bb: ldloc.1 - IL_00bc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00c1: throw - IL_00c2: ldarg.0 - IL_00c3: ldc.i4 2000 - IL_00c8: ldloc.2 - IL_00c9: ldstr " " - IL_00ce: ldloc.1 - IL_00cf: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_00d4: call string string::Concat(string, string, string) - IL_00d9: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_00de: nop - IL_00df: leave IL_00e4 + IL_017b: ldloc.0 + IL_017c: stloc.1 + IL_017d: br IL_0182 - } // end handler 1 - IL_00e4: ret - } // end of method TouchTask::TouchFile + IL_0182: ldloc.1 + IL_0183: ret + } // end of method PathSet::TranslatePath - // method line 1143 - .method private hidebysig - instance default valuetype [mscorlib]System.DateTime GetDateTime (int64 milliSeconds) cil managed + // method line 923 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x12c14 - // Code size 39 (0x27) - .maxstack 2 - .locals init ( - valuetype [mscorlib]System.DateTime V_0, - valuetype [mscorlib]System.DateTime V_1) - IL_0000: nop - IL_0001: ldstr "01/01/1970 00:00:00" - IL_0006: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000b: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Parse(string, class [mscorlib]System.IFormatProvider) - IL_0010: stloc.0 - IL_0011: ldloca.s 0 - IL_0013: ldarg.1 - IL_0014: conv.r8 - IL_0015: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMilliseconds(float64) - IL_001a: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Add(valuetype [mscorlib]System.TimeSpan) - IL_001f: stloc.1 - IL_0020: br IL_0025 - - IL_0025: ldloc.1 - IL_0026: ret - } // end of method TouchTask::GetDateTime - - .property instance class [mscorlib]System.IO.FileInfo File () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::get_File () - .set instance default void NAnt.Core.Tasks.TouchTask::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance int64 Millis () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6D 69 6C 6C 69 73 00 00 ) // ...millis.. - - .get instance default int64 NAnt.Core.Tasks.TouchTask::get_Millis () - .set instance default void NAnt.Core.Tasks.TouchTask::set_Millis (int64 'value') - } - .property instance valuetype [mscorlib]System.DateTime Datetime () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 64 61 74 65 74 69 6D 65 00 00 ) // ...datetime.. - - .custom instance void class NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::get_Datetime () - .set instance default void NAnt.Core.Tasks.TouchTask::set_Datetime (valuetype [mscorlib]System.DateTime 'value') - } - .property instance class NAnt.Core.Types.FileSet TouchFileSet () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + // Method begins at RVA 0x14248 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldsfld char [mscorlib]System.IO.Path::PathSeparator + IL_0005: ldc.i4.s 0x3b + IL_0007: ceq + IL_0009: stsfld bool NAnt.Core.Types.PathSet::_dosBasedFileSystem + IL_000e: ret + } // end of method PathSet::.cctor - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.TouchTask::get_TouchFileSet () - .set instance default void NAnt.Core.Tasks.TouchTask::set_TouchFileSet (class NAnt.Core.Types.FileSet 'value') - } - } // end of class NAnt.Core.Tasks.TouchTask + } // end of class NAnt.Core.Types.PathSet } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit LoopTask - extends NAnt.Core.TaskContainer + .class public auto ansi beforefieldinit Pattern + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 66 6F 72 65 61 63 68 00 00 ) // ...foreach.. - - .field private string _prop - .field private string[] _props - .field private valuetype NAnt.Core.Tasks.LoopTask/LoopItem _loopItem - .field private valuetype NAnt.Core.Tasks.LoopTask/LoopTrim _loopTrim - .field private string _inAttribute - .field private string _delim - .field private class NAnt.Core.Tasks.InElement _inElement - .field private class NAnt.Core.TaskContainer _doStuff + .field private string _patternName + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1144 + // method line 924 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x12c47 - // Code size 14 (0xe) + // Method begins at RVA 0x14258 + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Pattern::_ifDefined IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.TaskContainer::'.ctor'() - IL_000d: ret - } // end of method LoopTask::.ctor + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method Pattern::.ctor - // method line 1145 - .method public hidebysig specialname - instance default string get_Property () cil managed + // method line 925 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, string patternName) cil managed + { + // Method begins at RVA 0x14268 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Pattern::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: callvirt instance void class NAnt.Core.Types.Pattern::set_PatternName(string) + IL_0015: ldarg.0 + IL_0016: ldarg.1 + IL_0017: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_001c: ret + } // end of method Pattern::.ctor + + // method line 926 + .method public virtual hidebysig newslot specialname + instance default string get_PatternName () cil managed { - // Method begins at RVA 0x12c58 + // Method begins at RVA 0x14288 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_prop + IL_0002: ldfld string NAnt.Core.Types.Pattern::_patternName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoopTask::get_Property + } // end of method Pattern::get_PatternName - // method line 1146 + // method line 927 + .method public virtual hidebysig newslot specialname + instance default void set_PatternName (string 'value') cil managed + { + // Method begins at RVA 0x142a3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.Pattern::_patternName + IL_0008: ret + } // end of method Pattern::set_PatternName + + // method line 928 .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x12c74 - // Code size 104 (0x68) - .maxstack 4 + // Method begins at RVA 0x142b0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - string[] V_1, - int32 V_2) + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Pattern::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Pattern::get_IfDefined + + // method line 929 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x142cb + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.LoopTask::_prop - IL_0008: ldarg.0 - IL_0009: ldarg.0 - IL_000a: ldfld string NAnt.Core.Tasks.LoopTask::_prop - IL_000f: ldc.i4.s 0x2c - IL_0011: ldc.i4.0 - IL_0012: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0017: stfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_001c: nop - IL_001d: ldarg.0 - IL_001e: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_0023: stloc.1 - IL_0024: ldc.i4.0 - IL_0025: stloc.2 - IL_0026: br IL_005e - - IL_002b: ldloc.1 - IL_002c: ldloc.2 - IL_002d: ldelem.ref - IL_002e: stloc.0 - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0036: ldloc.0 - IL_0037: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_003c: brfalse IL_0059 - - IL_0041: nop - IL_0042: ldstr "Property is readonly! :" - IL_0047: ldloc.0 - IL_0048: call string string::Concat(string, string) - IL_004d: ldarg.0 - IL_004e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0053: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0058: throw - IL_0059: nop - IL_005a: ldloc.2 - IL_005b: ldc.i4.1 - IL_005c: add - IL_005d: stloc.2 - IL_005e: ldloc.2 - IL_005f: ldloc.1 - IL_0060: ldlen - IL_0061: conv.i4 - IL_0062: blt IL_002b - - IL_0067: ret - } // end of method LoopTask::set_Property + IL_0003: stfld bool NAnt.Core.Types.Pattern::_ifDefined + IL_0008: ret + } // end of method Pattern::set_IfDefined - // method line 1147 + // method line 930 .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.LoopTask/LoopItem get_ItemType () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x12ce8 + // Method begins at RVA 0x142d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Tasks.LoopTask/LoopItem V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Tasks.LoopTask/LoopItem NAnt.Core.Tasks.LoopTask::_loopItem + IL_0002: ldfld bool NAnt.Core.Types.Pattern::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoopTask::get_ItemType + } // end of method Pattern::get_UnlessDefined - // method line 1148 + // method line 931 .method public hidebysig specialname - instance default void set_ItemType (valuetype NAnt.Core.Tasks.LoopTask/LoopItem 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x12d03 + // Method begins at RVA 0x142f3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Tasks.LoopTask/LoopItem NAnt.Core.Tasks.LoopTask::_loopItem + IL_0003: stfld bool NAnt.Core.Types.Pattern::_unlessDefined IL_0008: ret - } // end of method LoopTask::set_ItemType + } // end of method Pattern::set_UnlessDefined - // method line 1149 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.LoopTask/LoopTrim get_TrimType () cil managed + // method line 932 + .method assembly hidebysig specialname + instance default bool get_Enabled () cil managed { - // Method begins at RVA 0x12d10 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x14300 + // Code size 32 (0x20) + .maxstack 2 .locals init ( - valuetype NAnt.Core.Tasks.LoopTask/LoopTrim V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance bool class NAnt.Core.Types.Pattern::get_IfDefined() + IL_0007: brfalse IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoopTask::get_TrimType + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Types.Pattern::get_UnlessDefined() + IL_0012: ldc.i4.0 + IL_0013: ceq + IL_0015: br.s IL_0018 - // method line 1150 - .method public hidebysig specialname - instance default void set_TrimType (valuetype NAnt.Core.Tasks.LoopTask/LoopTrim 'value') cil managed + IL_0017: ldc.i4.0 + IL_0018: stloc.0 + IL_0019: br IL_001e + + IL_001e: ldloc.0 + IL_001f: ret + } // end of method Pattern::get_Enabled + + .property instance string PatternName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Types.Pattern::get_PatternName () + .set instance default void NAnt.Core.Types.Pattern::set_PatternName (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 02 69 66 01 00 54 02 08 52 65 71 75 69 72 // ...if..T..Requir + 65 64 00 ) // ed. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.Pattern::get_IfDefined () + .set instance default void NAnt.Core.Types.Pattern::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 75 6E 6C 65 73 73 01 00 54 02 08 52 65 // ...unless..T..Re + 71 75 69 72 65 64 00 ) // quired. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.Pattern::get_UnlessDefined () + .set instance default void NAnt.Core.Types.Pattern::set_UnlessDefined (bool 'value') + } + .property instance bool Enabled () + { + .get instance default bool NAnt.Core.Types.Pattern::get_Enabled () + } + } // end of class NAnt.Core.Types.Pattern +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi serializable beforefieldinit XsltExtensionObjectCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + + // method line 933 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x12d2b - // Code size 9 (0x9) + // Method begins at RVA 0x1432c + // Code size 8 (0x8) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim - IL_0008: ret - } // end of method LoopTask::set_TrimType + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method XsltExtensionObjectCollection::.ctor - // method line 1151 - .method public hidebysig specialname - instance default string get_Source () cil managed + // method line 934 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection 'value') cil managed { - // Method begins at RVA 0x12d38 + // Method begins at RVA 0x14335 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_inAttribute - IL_0007: stloc.0 - IL_0008: br IL_000d + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.XsltExtensionObjectCollection::AddRange(class NAnt.Core.Types.XsltExtensionObjectCollection) + IL_000e: ret + } // end of method XsltExtensionObjectCollection::.ctor - IL_000d: ldloc.0 + // method line 935 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObject[] 'value') cil managed + { + // Method begins at RVA 0x14345 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.XsltExtensionObjectCollection::AddRange(class NAnt.Core.Types.XsltExtensionObject[]) IL_000e: ret - } // end of method LoopTask::get_Source + } // end of method XsltExtensionObjectCollection::.ctor - // method line 1152 + // method line 936 .method public hidebysig specialname - instance default void set_Source (string 'value') cil managed + instance default class NAnt.Core.Types.XsltExtensionObject get_Item (int32 index) cil managed { - // Method begins at RVA 0x12d53 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x14358 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.Types.XsltExtensionObject V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.LoopTask::_inAttribute - IL_000d: ret - } // end of method LoopTask::set_Source + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.XsltExtensionObject + IL_0012: stloc.0 + IL_0013: br IL_0018 - // method line 1153 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method XsltExtensionObjectCollection::get_Item + + // method line 937 .method public hidebysig specialname - instance default string get_Delimiter () cil managed + instance default void set_Item (int32 index, class NAnt.Core.Types.XsltExtensionObject 'value') cil managed { - // Method begins at RVA 0x12d64 + // Method begins at RVA 0x1437e // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_delim - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) IL_000e: ret - } // end of method LoopTask::get_Delimiter + } // end of method XsltExtensionObjectCollection::set_Item - // method line 1154 + // method line 938 .method public hidebysig specialname - instance default void set_Delimiter (string 'value') cil managed + instance default class NAnt.Core.Types.XsltExtensionObject get_Item (string 'value') cil managed { - // Method begins at RVA 0x12d7f - // Code size 42 (0x2a) - .maxstack 8 + // Method begins at RVA 0x14390 + // Code size 111 (0x6f) + .maxstack 2 + .locals init ( + class NAnt.Core.Types.XsltExtensionObject V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Types.XsltExtensionObject V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brfalse IL_0012 + IL_0002: brfalse IL_0066 - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 string::get_Length() - IL_000d: brtrue IL_0020 + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldnull - IL_0015: stfld string NAnt.Core.Tasks.LoopTask::_delim - IL_001a: nop - IL_001b: br IL_0029 + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.Types.XsltExtensionObject + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance string class NAnt.Core.Element::get_Name() + IL_002d: ldarg.1 + IL_002e: call bool string::op_Equality(string, string) + IL_0033: brfalse IL_0040 - IL_0020: nop - IL_0021: ldarg.0 - IL_0022: ldarg.1 - IL_0023: stfld string NAnt.Core.Tasks.LoopTask::_delim - IL_0028: nop - IL_0029: ret - } // end of method LoopTask::set_Delimiter + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - // method line 1155 - .method public hidebysig specialname - instance default class NAnt.Core.Tasks.InElement get_InElement () cil managed + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a + + IL_004c: leave IL_0065 + + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 + + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d + + IL_006d: ldloc.2 + IL_006e: ret + } // end of method XsltExtensionObjectCollection::get_Item + + // method line 939 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.XsltExtensionObject item) cil managed { - // Method begins at RVA 0x12dac - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1441c + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.Core.Tasks.InElement V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::_inElement - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoopTask::get_InElement + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XsltExtensionObjectCollection::Add - // method line 1156 - .method public hidebysig specialname - instance default void set_InElement (class NAnt.Core.Tasks.InElement 'value') cil managed + // method line 940 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltExtensionObject[] items) cil managed { - // Method begins at RVA 0x12dc7 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x14440 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.XsltExtensionObjectCollection::Add(class NAnt.Core.Types.XsltExtensionObject) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 + + IL_0021: ret + } // end of method XsltExtensionObjectCollection::AddRange + + // method line 941 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltExtensionObjectCollection items) cil managed + { + // Method begins at RVA 0x14470 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.XsltExtensionObject class NAnt.Core.Types.XsltExtensionObjectCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.XsltExtensionObjectCollection::Add(class NAnt.Core.Types.XsltExtensionObject) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 + + IL_0028: ret + } // end of method XsltExtensionObjectCollection::AddRange + + // method line 942 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.XsltExtensionObject item) cil managed + { + // Method begins at RVA 0x144a8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::_inElement - IL_0008: ret - } // end of method LoopTask::set_InElement + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 1157 - .method public hidebysig specialname - instance default class NAnt.Core.TaskContainer get_StuffToDo () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XsltExtensionObjectCollection::Contains + + // method line 943 + .method public hidebysig + instance default bool Contains (string 'value') cil managed { - // Method begins at RVA 0x12dd4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x144cc + // Code size 22 (0x16) + .maxstack 2 .locals init ( - class NAnt.Core.TaskContainer V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.TaskContainer NAnt.Core.Tasks.LoopTask::_doStuff - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Types.XsltExtensionObject class NAnt.Core.Types.XsltExtensionObjectCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoopTask::get_StuffToDo + IL_0014: ldloc.0 + IL_0015: ret + } // end of method XsltExtensionObjectCollection::Contains - // method line 1158 - .method public hidebysig specialname - instance default void set_StuffToDo (class NAnt.Core.TaskContainer 'value') cil managed + // method line 944 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.XsltExtensionObject[] 'array', int32 index) cil managed { - // Method begins at RVA 0x12def - // Code size 9 (0x9) + // Method begins at RVA 0x144ee + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.TaskContainer NAnt.Core.Tasks.LoopTask::_doStuff - IL_0008: ret - } // end of method LoopTask::set_StuffToDo + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method XsltExtensionObjectCollection::CopyTo - // method line 1159 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 945 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.XsltExtensionObject item) cil managed { - // Method begins at RVA 0x12dfc - // Code size 1480 (0x5c8) - .maxstack 5 + // Method begins at RVA 0x14500 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string[] V_0, - int32 V_1, - valuetype NAnt.Core.Tasks.LoopTask/LoopItem V_2, - class [mscorlib]System.IO.DirectoryInfo V_3, - class [mscorlib]System.IO.FileInfo[] V_4, - class [mscorlib]System.IO.FileInfo V_5, - class [mscorlib]System.IO.FileInfo[] V_6, - int32 V_7, - string V_8, - class [System]System.Collections.Specialized.StringEnumerator V_9, - class [mscorlib]System.IDisposable V_10, - class [mscorlib]System.IO.DirectoryInfo V_11, - class [mscorlib]System.IO.DirectoryInfo[] V_12, - class [mscorlib]System.IO.DirectoryInfo V_13, - class [mscorlib]System.IO.DirectoryInfo[] V_14, - int32 V_15, - string V_16, - class [System]System.Collections.Specialized.StringEnumerator V_17, - class [mscorlib]System.IDisposable V_18, - string V_19, - class [System]System.Collections.Specialized.StringEnumerator V_20, - class [mscorlib]System.IDisposable V_21, - string[] V_22, - string V_23, - string[] V_24, - int32 V_25, - int32 V_26) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_0007: ldlen - IL_0008: conv.i4 - IL_0009: newarr [mscorlib]System.String - IL_000e: stloc.0 - IL_000f: ldc.i4.0 - IL_0010: stloc.1 - IL_0011: br IL_0032 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0016: nop - IL_0017: ldloc.0 - IL_0018: ldloc.1 - IL_0019: ldarg.0 - IL_001a: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_001f: ldarg.0 - IL_0020: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_0025: ldloc.1 - IL_0026: ldelem.ref - IL_0027: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_002c: stelem.ref - IL_002d: nop - IL_002e: ldloc.1 - IL_002f: ldc.i4.1 - IL_0030: add - IL_0031: stloc.1 - IL_0032: ldloc.1 - IL_0033: ldloc.0 - IL_0034: ldlen - IL_0035: conv.i4 - IL_0036: blt IL_0016 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XsltExtensionObjectCollection::IndexOf - .try { // 3 - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: call instance valuetype NAnt.Core.Tasks.LoopTask/LoopItem class NAnt.Core.Tasks.LoopTask::get_ItemType() - IL_0042: stloc.2 - IL_0043: ldloc.2 - IL_0044: ldc.i4.1 - IL_0045: sub - IL_0046: switch ( - IL_0060, - IL_01f7, - IL_04e4, - IL_0390) - IL_005b: br IL_058c + // method line 946 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.XsltExtensionObject item) cil managed + { + // Method begins at RVA 0x14521 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method XsltExtensionObjectCollection::Insert - IL_0060: ldarg.0 - IL_0061: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0066: call bool string::IsNullOrEmpty(string) - IL_006b: brfalse IL_009c + // method line 947 + .method public hidebysig + instance default class NAnt.Core.Types.XsltExtensionObjectEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x14534 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.XsltExtensionObjectEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.Types.XsltExtensionObjectEnumerator::'.ctor'(class NAnt.Core.Types.XsltExtensionObjectCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0070: ldarg.0 - IL_0071: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() - IL_0076: brtrue IL_009c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltExtensionObjectCollection::GetEnumerator - IL_007b: nop - IL_007c: ldstr "Invalid foreach" - IL_0081: ldarg.0 - IL_0082: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0087: ldstr "Nothing to work with...!" - IL_008c: ldstr "in" - IL_0091: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) - IL_0096: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_009b: throw - IL_009c: ldarg.0 - IL_009d: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_00a2: call bool string::IsNullOrEmpty(string) - IL_00a7: brtrue IL_0172 + // method line 948 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.XsltExtensionObject item) cil managed + { + // Method begins at RVA 0x1454f + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method XsltExtensionObjectCollection::Remove - IL_00ac: nop - IL_00ad: ldarg.0 - IL_00ae: ldarg.0 - IL_00af: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00b4: ldarg.0 - IL_00b5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_00ba: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_00bf: call instance void class NAnt.Core.Tasks.LoopTask::set_Source(string) - IL_00c4: ldarg.0 - IL_00c5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_00ca: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_00cf: brtrue IL_00fb + .property instance class NAnt.Core.Types.XsltExtensionObject Item (int32) + { + .get instance default class NAnt.Core.Types.XsltExtensionObject NAnt.Core.Types.XsltExtensionObjectCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.XsltExtensionObjectCollection::set_Item (int32 index, class NAnt.Core.Types.XsltExtensionObject 'value') + } + .property instance class NAnt.Core.Types.XsltExtensionObject Item (string) + { + .get instance default class NAnt.Core.Types.XsltExtensionObject NAnt.Core.Types.XsltExtensionObjectCollection::get_Item (string 'value') + } + } // end of class NAnt.Core.Types.XsltExtensionObjectCollection +} - IL_00d4: nop - IL_00d5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00da: ldstr "NA1134" - IL_00df: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00e4: ldarg.0 - IL_00e5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_00ea: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00ef: ldarg.0 - IL_00f0: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00f5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00fa: throw - IL_00fb: ldarg.0 - IL_00fc: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_0101: ldlen - IL_0102: conv.i4 - IL_0103: ldc.i4.1 - IL_0104: beq IL_011b +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit XsltExtensionObjectEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - IL_0109: nop - IL_010a: ldstr "Only one property is valid for item=\"File\"" - IL_010f: ldarg.0 - IL_0110: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0115: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_011a: throw - IL_011b: ldarg.0 - IL_011c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0121: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0126: stloc.3 - IL_0127: ldloc.3 - IL_0128: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles() - IL_012d: stloc.s 4 - IL_012f: nop - IL_0130: ldloc.s 4 - IL_0132: stloc.s 6 - IL_0134: ldc.i4.0 - IL_0135: stloc.s 7 - IL_0137: br IL_0161 + // method line 949 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection arguments) cil managed + { + // Method begins at RVA 0x14560 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator + IL_0015: ret + } // end of method XsltExtensionObjectEnumerator::.ctor - IL_013c: ldloc.s 6 - IL_013e: ldloc.s 7 - IL_0140: ldelem.ref - IL_0141: stloc.s 5 - IL_0143: nop - IL_0144: ldarg.0 - IL_0145: ldc.i4.1 - IL_0146: newarr [mscorlib]System.String - IL_014b: dup - IL_014c: ldc.i4.0 - IL_014d: ldloc.s 5 - IL_014f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0154: stelem.ref - IL_0155: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) - IL_015a: nop - IL_015b: ldloc.s 7 - IL_015d: ldc.i4.1 - IL_015e: add - IL_015f: stloc.s 7 - IL_0161: ldloc.s 7 - IL_0163: ldloc.s 6 - IL_0165: ldlen - IL_0166: conv.i4 - IL_0167: blt IL_013c + // method line 950 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltExtensionObject get_Current () cil managed + { + // Method begins at RVA 0x14584 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.XsltExtensionObject V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.XsltExtensionObject + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_016c: nop - IL_016d: br IL_01f2 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method XsltExtensionObjectEnumerator::get_Current - IL_0172: nop - IL_0173: ldarg.0 - IL_0174: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() - IL_0179: brtrue IL_0190 + // method line 951 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x145ac + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_017e: nop - IL_017f: ldstr "Must use with ." - IL_0184: ldarg.0 - IL_0185: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_018a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_018f: throw - IL_0190: nop - IL_0191: ldarg.0 - IL_0192: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() - IL_0197: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.InElement::get_Items() - IL_019c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_01a1: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_01a6: stloc.s 9 - .try { // 0 - IL_01a8: br IL_01c9 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.get_Current - IL_01ad: ldloc.s 9 - IL_01af: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_01b4: stloc.s 8 - IL_01b6: nop - IL_01b7: ldarg.0 - IL_01b8: ldc.i4.1 - IL_01b9: newarr [mscorlib]System.String - IL_01be: dup - IL_01bf: ldc.i4.0 - IL_01c0: ldloc.s 8 - IL_01c2: stelem.ref - IL_01c3: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) - IL_01c8: nop - IL_01c9: ldloc.s 9 - IL_01cb: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_01d0: brtrue IL_01ad + // method line 952 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x145cc + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01d5: leave IL_01f1 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XsltExtensionObjectEnumerator::MoveNext - } // end .try 0 - finally { // 0 - IL_01da: ldloc.s 9 - IL_01dc: isinst [mscorlib]System.IDisposable - IL_01e1: dup - IL_01e2: stloc.s 10 - IL_01e4: brfalse IL_01f0 + // method line 953 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x145ec + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01e9: ldloc.s 10 - IL_01eb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01f0: endfinally - } // end handler 0 - IL_01f1: nop - IL_01f2: leave IL_058c + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.MoveNext - IL_01f7: ldarg.0 - IL_01f8: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_01fd: call bool string::IsNullOrEmpty(string) - IL_0202: brfalse IL_0233 + // method line 954 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x1460c + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method XsltExtensionObjectEnumerator::Reset - IL_0207: ldarg.0 - IL_0208: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() - IL_020d: brtrue IL_0233 + // method line 955 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x1461a + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XsltExtensionObjectEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.Reset - IL_0212: nop - IL_0213: ldstr "Invalid foreach" - IL_0218: ldarg.0 - IL_0219: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_021e: ldstr "Nothing to work with...!" - IL_0223: ldstr "in" - IL_0228: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) - IL_022d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0232: throw - IL_0233: ldarg.0 - IL_0234: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_0239: ldlen - IL_023a: conv.i4 - IL_023b: ldc.i4.1 - IL_023c: beq IL_0253 + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.XsltExtensionObjectEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.Types.XsltExtensionObject Current () + { + .get instance default class NAnt.Core.Types.XsltExtensionObject NAnt.Core.Types.XsltExtensionObjectEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.XsltExtensionObjectEnumerator +} - IL_0241: nop - IL_0242: ldstr "Only one property is valid for item=\"Folder\"" - IL_0247: ldarg.0 - IL_0248: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_024d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0252: throw - IL_0253: ldarg.0 - IL_0254: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0259: call bool string::IsNullOrEmpty(string) - IL_025e: brtrue IL_030b +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit Formatter + extends NAnt.Core.Element + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 66 6F 72 6D 61 74 74 65 72 00 00 ) // ...formatter.. - IL_0263: nop - IL_0264: ldarg.0 - IL_0265: ldarg.0 - IL_0266: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_026b: ldarg.0 - IL_026c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0271: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_0276: call instance void class NAnt.Core.Tasks.LoopTask::set_Source(string) - IL_027b: ldarg.0 - IL_027c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0281: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0286: brtrue IL_02b2 + .field private string _property + .field private string _pattern + .field private bool _ifDefined + .field private bool _unlessDefined - IL_028b: nop - IL_028c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0291: ldstr "NA1134" - IL_0296: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_029b: ldarg.0 - IL_029c: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_02a1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_02a6: ldarg.0 - IL_02a7: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_02ac: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_02b1: throw - IL_02b2: ldarg.0 - IL_02b3: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_02b8: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_02bd: stloc.s 11 - IL_02bf: ldloc.s 11 - IL_02c1: callvirt instance class [mscorlib]System.IO.DirectoryInfo[] class [mscorlib]System.IO.DirectoryInfo::GetDirectories() - IL_02c6: stloc.s 12 - IL_02c8: nop - IL_02c9: ldloc.s 12 - IL_02cb: stloc.s 14 - IL_02cd: ldc.i4.0 - IL_02ce: stloc.s 15 - IL_02d0: br IL_02fa + // method line 956 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x14628 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Formatter::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method Formatter::.ctor - IL_02d5: ldloc.s 14 - IL_02d7: ldloc.s 15 - IL_02d9: ldelem.ref - IL_02da: stloc.s 13 - IL_02dc: nop - IL_02dd: ldarg.0 - IL_02de: ldc.i4.1 - IL_02df: newarr [mscorlib]System.String - IL_02e4: dup - IL_02e5: ldc.i4.0 - IL_02e6: ldloc.s 13 - IL_02e8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02ed: stelem.ref - IL_02ee: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) - IL_02f3: nop - IL_02f4: ldloc.s 15 - IL_02f6: ldc.i4.1 - IL_02f7: add - IL_02f8: stloc.s 15 - IL_02fa: ldloc.s 15 - IL_02fc: ldloc.s 14 - IL_02fe: ldlen - IL_02ff: conv.i4 - IL_0300: blt IL_02d5 - - IL_0305: nop - IL_0306: br IL_038b - - IL_030b: nop - IL_030c: ldarg.0 - IL_030d: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() - IL_0312: brtrue IL_0329 - - IL_0317: nop - IL_0318: ldstr "Must use with ." - IL_031d: ldarg.0 - IL_031e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0323: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0328: throw - IL_0329: nop - IL_032a: ldarg.0 - IL_032b: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() - IL_0330: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.InElement::get_Items() - IL_0335: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_033a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_033f: stloc.s 17 - .try { // 1 - IL_0341: br IL_0362 - - IL_0346: ldloc.s 17 - IL_0348: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_034d: stloc.s 16 - IL_034f: nop - IL_0350: ldarg.0 - IL_0351: ldc.i4.1 - IL_0352: newarr [mscorlib]System.String - IL_0357: dup - IL_0358: ldc.i4.0 - IL_0359: ldloc.s 16 - IL_035b: stelem.ref - IL_035c: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) - IL_0361: nop - IL_0362: ldloc.s 17 - IL_0364: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0369: brtrue IL_0346 + // method line 957 + .method public hidebysig specialname + instance default string get_Property () cil managed + { + // Method begins at RVA 0x14638 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Formatter::_property + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_036e: leave IL_038a + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Formatter::get_Property - } // end .try 1 - finally { // 1 - IL_0373: ldloc.s 17 - IL_0375: isinst [mscorlib]System.IDisposable - IL_037a: dup - IL_037b: stloc.s 18 - IL_037d: brfalse IL_0389 + // method line 958 + .method public hidebysig specialname + instance default void set_Property (string 'value') cil managed + { + // Method begins at RVA 0x14653 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.Formatter::_property + IL_0008: ret + } // end of method Formatter::set_Property - IL_0382: ldloc.s 18 - IL_0384: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0389: endfinally - } // end handler 1 - IL_038a: nop - IL_038b: leave IL_058c + // method line 959 + .method public hidebysig specialname + instance default string get_Pattern () cil managed + { + // Method begins at RVA 0x14660 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Formatter::_pattern + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0390: ldarg.0 - IL_0391: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0396: call bool string::IsNullOrEmpty(string) - IL_039b: brfalse IL_03cc + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Formatter::get_Pattern - IL_03a0: ldarg.0 - IL_03a1: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() - IL_03a6: brtrue IL_03cc + // method line 960 + .method public hidebysig specialname + instance default void set_Pattern (string 'value') cil managed + { + // Method begins at RVA 0x1467b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.Formatter::_pattern + IL_0008: ret + } // end of method Formatter::set_Pattern - IL_03ab: nop - IL_03ac: ldstr "Invalid foreach" - IL_03b1: ldarg.0 - IL_03b2: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_03b7: ldstr "Nothing to work with...!" - IL_03bc: ldstr "in" - IL_03c1: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) - IL_03c6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_03cb: throw - IL_03cc: ldarg.0 - IL_03cd: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_03d2: ldlen - IL_03d3: conv.i4 - IL_03d4: ldc.i4.1 - IL_03d5: ble IL_03f7 + // method line 961 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x14688 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Formatter::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_03da: ldarg.0 - IL_03db: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() - IL_03e0: brtrue IL_03f7 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Formatter::get_IfDefined - IL_03e5: nop - IL_03e6: ldstr "Delimiter(s) must be specified if multiple properties are specified" - IL_03eb: ldarg.0 - IL_03ec: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_03f1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_03f6: throw - IL_03f7: ldarg.0 - IL_03f8: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_03fd: call bool string::IsNullOrEmpty(string) - IL_0402: brtrue IL_0468 + // method line 962 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x146a3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Formatter::_ifDefined + IL_0008: ret + } // end of method Formatter::set_IfDefined - IL_0407: nop - IL_0408: ldarg.0 - IL_0409: ldarg.0 - IL_040a: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_040f: ldarg.0 - IL_0410: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0415: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_041a: call instance void class NAnt.Core.Tasks.LoopTask::set_Source(string) - IL_041f: ldarg.0 - IL_0420: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0425: call bool class [mscorlib]System.IO.File::Exists(string) - IL_042a: brtrue IL_0456 + // method line 963 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x146b0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Formatter::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_042f: nop - IL_0430: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0435: ldstr "NA1133" - IL_043a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_043f: ldarg.0 - IL_0440: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_0445: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_044a: ldarg.0 - IL_044b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0450: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0455: throw - IL_0456: ldarg.0 - IL_0457: ldarg.0 - IL_0458: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_045d: call instance void class NAnt.Core.Tasks.LoopTask::DoWorkOnFileLines(string) - IL_0462: nop - IL_0463: br IL_04df + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Formatter::get_UnlessDefined - IL_0468: nop - IL_0469: ldarg.0 - IL_046a: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() - IL_046f: brtrue IL_0486 + // method line 964 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x146cb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Formatter::_unlessDefined + IL_0008: ret + } // end of method Formatter::set_UnlessDefined - IL_0474: nop - IL_0475: ldstr "Must use with ." - IL_047a: ldarg.0 - IL_047b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0480: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0485: throw - IL_0486: nop - IL_0487: ldarg.0 - IL_0488: call instance class NAnt.Core.Tasks.InElement class NAnt.Core.Tasks.LoopTask::get_InElement() - IL_048d: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.InElement::get_Items() - IL_0492: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0497: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_049c: stloc.s 20 - .try { // 2 - IL_049e: br IL_04b6 + .property instance string Property () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - IL_04a3: ldloc.s 20 - IL_04a5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_04aa: stloc.s 19 - IL_04ac: nop - IL_04ad: ldarg.0 - IL_04ae: ldloc.s 19 - IL_04b0: call instance void class NAnt.Core.Tasks.LoopTask::DoWorkOnFileLines(string) - IL_04b5: nop - IL_04b6: ldloc.s 20 - IL_04b8: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_04bd: brtrue IL_04a3 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_04c2: leave IL_04de + .get instance default string NAnt.Core.Types.Formatter::get_Property () + .set instance default void NAnt.Core.Types.Formatter::set_Property (string 'value') + } + .property instance string Pattern () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 70 61 74 74 65 72 6E 01 00 54 02 08 52 // ...pattern..T..R + 65 71 75 69 72 65 64 01 ) // equired. - } // end .try 2 - finally { // 2 - IL_04c7: ldloc.s 20 - IL_04c9: isinst [mscorlib]System.IDisposable - IL_04ce: dup - IL_04cf: stloc.s 21 - IL_04d1: brfalse IL_04dd + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_04d6: ldloc.s 21 - IL_04d8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_04dd: endfinally - } // end handler 2 - IL_04de: nop - IL_04df: leave IL_058c + .get instance default string NAnt.Core.Types.Formatter::get_Pattern () + .set instance default void NAnt.Core.Types.Formatter::set_Pattern (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_04e4: ldarg.0 - IL_04e5: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_04ea: call bool string::IsNullOrEmpty(string) - IL_04ef: brfalse IL_04fa + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_04f4: nop - IL_04f5: leave IL_05c7 + .get instance default bool NAnt.Core.Types.Formatter::get_IfDefined () + .set instance default void NAnt.Core.Types.Formatter::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_04fa: ldarg.0 - IL_04fb: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_0500: ldlen - IL_0501: conv.i4 - IL_0502: ldc.i4.1 - IL_0503: ble IL_051a + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0508: nop - IL_0509: ldstr "Only one property may be specified for item=\"String\"" - IL_050e: ldarg.0 - IL_050f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0514: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0519: throw - IL_051a: ldarg.0 - IL_051b: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() - IL_0520: brtrue IL_0537 + .get instance default bool NAnt.Core.Types.Formatter::get_UnlessDefined () + .set instance default void NAnt.Core.Types.Formatter::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.Core.Types.Formatter +} - IL_0525: nop - IL_0526: ldstr "Delimiter must be specified for item=\"String\"" - IL_052b: ldarg.0 - IL_052c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0531: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0536: throw - IL_0537: ldarg.0 - IL_0538: call instance string class NAnt.Core.Tasks.LoopTask::get_Source() - IL_053d: ldarg.0 - IL_053e: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() - IL_0543: callvirt instance char[] string::ToCharArray() - IL_0548: callvirt instance string[] string::Split(char[]) - IL_054d: stloc.s 22 - IL_054f: nop - IL_0550: ldloc.s 22 - IL_0552: stloc.s 24 - IL_0554: ldc.i4.0 - IL_0555: stloc.s 25 - IL_0557: br IL_057c +.namespace NAnt.Core.Types +{ + .class public auto ansi serializable beforefieldinit FormatterCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_055c: ldloc.s 24 - IL_055e: ldloc.s 25 - IL_0560: ldelem.ref - IL_0561: stloc.s 23 - IL_0563: nop - IL_0564: ldarg.0 - IL_0565: ldc.i4.1 - IL_0566: newarr [mscorlib]System.String - IL_056b: dup - IL_056c: ldc.i4.0 - IL_056d: ldloc.s 23 - IL_056f: stelem.ref - IL_0570: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) - IL_0575: nop - IL_0576: ldloc.s 25 - IL_0578: ldc.i4.1 - IL_0579: add - IL_057a: stloc.s 25 - IL_057c: ldloc.s 25 - IL_057e: ldloc.s 24 - IL_0580: ldlen - IL_0581: conv.i4 - IL_0582: blt IL_055c - IL_0587: leave IL_058c + // method line 965 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x146d5 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method FormatterCollection::.ctor - IL_058c: nop - IL_058d: leave IL_05c7 + // method line 966 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection 'value') cil managed + { + // Method begins at RVA 0x146de + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.FormatterCollection::AddRange(class NAnt.Core.Types.FormatterCollection) + IL_000e: ret + } // end of method FormatterCollection::.ctor - } // end .try 3 - finally { // 3 - IL_0592: nop - IL_0593: ldc.i4.0 - IL_0594: stloc.s 26 - IL_0596: br IL_05bb + // method line 967 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.Formatter[] 'value') cil managed + { + // Method begins at RVA 0x146ee + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.FormatterCollection::AddRange(class NAnt.Core.Types.Formatter[]) + IL_000e: ret + } // end of method FormatterCollection::.ctor - IL_059b: nop - IL_059c: ldarg.0 - IL_059d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_05a2: ldarg.0 - IL_05a3: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_05a8: ldloc.s 26 - IL_05aa: ldelem.ref - IL_05ab: ldloc.0 - IL_05ac: ldloc.s 26 - IL_05ae: ldelem.ref - IL_05af: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_05b4: nop - IL_05b5: ldloc.s 26 - IL_05b7: ldc.i4.1 - IL_05b8: add - IL_05b9: stloc.s 26 - IL_05bb: ldloc.s 26 - IL_05bd: ldloc.0 - IL_05be: ldlen - IL_05bf: conv.i4 - IL_05c0: blt IL_059b + // method line 968 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Formatter get_Item (int32 index) cil managed + { + // Method begins at RVA 0x14700 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.Types.Formatter V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.Formatter + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_05c5: nop - IL_05c6: endfinally - } // end handler 3 - IL_05c7: ret - } // end of method LoopTask::ExecuteTask + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FormatterCollection::get_Item - // method line 1160 - .method family virtual hidebysig - instance default void ExecuteChildTasks () cil managed + // method line 969 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.Formatter 'value') cil managed { - // Method begins at RVA 0x13434 - // Code size 39 (0x27) + // Method begins at RVA 0x14726 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() - IL_0007: brtrue IL_0019 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.Core.TaskContainer::ExecuteChildTasks() - IL_0013: nop - IL_0014: br IL_0026 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method FormatterCollection::set_Item - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() - IL_0020: callvirt instance void class NAnt.Core.Task::Execute() - IL_0025: nop - IL_0026: ret - } // end of method LoopTask::ExecuteChildTasks - - // method line 1161 - .method family virtual hidebysig newslot - instance default void DoWork (string[] propVals) cil managed + // method line 970 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Formatter item) cil managed { - .param [1] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x14738 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // Method begins at RVA 0x1345c - // Code size 155 (0x9b) + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FormatterCollection::Add + + // method line 971 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.Formatter[] items) cil managed + { + // Method begins at RVA 0x1475c + // Code size 34 (0x22) .maxstack 3 .locals init ( - int32 V_0, - string V_1, - valuetype NAnt.Core.Tasks.LoopTask/LoopTrim V_2) + int32 V_0) IL_0000: nop IL_0001: ldc.i4.0 IL_0002: stloc.0 - IL_0003: br IL_008b + IL_0003: br IL_0018 IL_0008: nop - IL_0009: ldarg.1 - IL_000a: ldloc.0 - IL_000b: ldelem.ref - IL_000c: stloc.1 - IL_000d: ldloc.0 - IL_000e: ldarg.0 - IL_000f: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_0014: ldlen - IL_0015: conv.i4 - IL_0016: blt IL_002d - - IL_001b: nop - IL_001c: ldstr "Too many items on line" - IL_0021: ldarg.0 - IL_0022: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0027: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_002c: throw - IL_002d: ldarg.0 - IL_002e: call instance valuetype NAnt.Core.Tasks.LoopTask/LoopTrim class NAnt.Core.Tasks.LoopTask::get_TrimType() - IL_0033: stloc.2 - IL_0034: ldloc.2 - IL_0035: ldc.i4.3 - IL_0036: beq IL_004e - - IL_003b: ldloc.2 - IL_003c: ldc.i4.2 - IL_003d: beq IL_005a - - IL_0042: ldloc.2 - IL_0043: ldc.i4.1 - IL_0044: beq IL_0066 - - IL_0049: br IL_0072 - - IL_004e: ldloc.1 - IL_004f: callvirt instance string string::Trim() - IL_0054: stloc.1 - IL_0055: br IL_0072 - - IL_005a: ldloc.1 - IL_005b: callvirt instance string [mscorlib]System.String::TrimStart() - IL_0060: stloc.1 - IL_0061: br IL_0072 - - IL_0066: ldloc.1 - IL_0067: callvirt instance string [mscorlib]System.String::TrimEnd() - IL_006c: stloc.1 - IL_006d: br IL_0072 - - IL_0072: ldarg.0 - IL_0073: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0078: ldarg.0 - IL_0079: ldfld string[] NAnt.Core.Tasks.LoopTask::_props - IL_007e: ldloc.0 - IL_007f: ldelem.ref - IL_0080: ldloc.1 - IL_0081: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0086: nop - IL_0087: ldloc.0 - IL_0088: ldc.i4.1 - IL_0089: add - IL_008a: stloc.0 - IL_008b: ldloc.0 - IL_008c: ldarg.1 - IL_008d: ldlen - IL_008e: conv.i4 - IL_008f: blt IL_0008 + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.FormatterCollection::Add(class NAnt.Core.Types.Formatter) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_0094: ldarg.0 - IL_0095: call instance void class NAnt.Core.TaskContainer::ExecuteTask() - IL_009a: ret - } // end of method LoopTask::DoWork + IL_0021: ret + } // end of method FormatterCollection::AddRange - // method line 1162 - .method private hidebysig - instance default void DoWorkOnFileLines (string filename) cil managed + // method line 972 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.FormatterCollection items) cil managed { - // Method begins at RVA 0x13504 - // Code size 115 (0x73) - .maxstack 5 + // Method begins at RVA 0x1478c + // Code size 41 (0x29) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - string V_1) + int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) - IL_0007: stloc.0 - .try { // 0 - IL_0008: nop - IL_0009: nop - IL_000a: nop - IL_000b: ldloc.0 - IL_000c: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0011: stloc.1 - IL_0012: ldloc.1 - IL_0013: brtrue IL_001e - - IL_0018: nop - IL_0019: leave IL_005f - - IL_001e: ldarg.0 - IL_001f: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() - IL_0024: brtrue IL_0040 - - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: ldc.i4.1 - IL_002c: newarr [mscorlib]System.String - IL_0031: dup - IL_0032: ldc.i4.0 - IL_0033: ldloc.1 - IL_0034: stelem.ref - IL_0035: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) - IL_003a: nop - IL_003b: br IL_0059 - - IL_0040: nop - IL_0041: ldarg.0 - IL_0042: ldloc.1 - IL_0043: ldarg.0 - IL_0044: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() - IL_0049: callvirt instance char[] string::ToCharArray() - IL_004e: callvirt instance string[] string::Split(char[]) - IL_0053: callvirt instance void class NAnt.Core.Tasks.LoopTask::DoWork(string[]) - IL_0058: nop - IL_0059: nop - IL_005a: br IL_0009 - - IL_005f: nop - IL_0060: leave IL_0072 - - } // end .try 0 - finally { // 0 - IL_0065: ldloc.0 - IL_0066: brfalse IL_0071 - - IL_006b: ldloc.0 - IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0071: endfinally - } // end handler 0 - IL_0072: ret - } // end of method LoopTask::DoWorkOnFileLines - - .property instance string Property () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.LoopTask::get_Property () - .set instance default void NAnt.Core.Tasks.LoopTask::set_Property (string 'value') - } - .property instance valuetype NAnt.Core.Tasks.LoopTask/LoopItem ItemType () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 69 74 65 6D 01 00 54 02 08 52 65 71 75 // ...item..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default valuetype NAnt.Core.Tasks.LoopTask/LoopItem NAnt.Core.Tasks.LoopTask::get_ItemType () - .set instance default void NAnt.Core.Tasks.LoopTask::set_ItemType (valuetype NAnt.Core.Tasks.LoopTask/LoopItem 'value') - } - .property instance valuetype NAnt.Core.Tasks.LoopTask/LoopTrim TrimType () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 74 72 69 6D 00 00 ) // ...trim.. - - .get instance default valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::get_TrimType () - .set instance default void NAnt.Core.Tasks.LoopTask::set_TrimType (valuetype NAnt.Core.Tasks.LoopTask/LoopTrim 'value') - } - .property instance string Source () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 69 6E 01 00 54 02 08 52 65 71 75 69 72 // ...in..T..Requir - 65 64 00 ) // ed. - - .get instance default string NAnt.Core.Tasks.LoopTask::get_Source () - .set instance default void NAnt.Core.Tasks.LoopTask::set_Source (string 'value') - } - .property instance string Delimiter () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 6C 69 6D 00 00 ) // ...delim.. - - .get instance default string NAnt.Core.Tasks.LoopTask::get_Delimiter () - .set instance default void NAnt.Core.Tasks.LoopTask::set_Delimiter (string 'value') - } - .property instance class NAnt.Core.Tasks.InElement InElement () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 02 69 6E 00 00 ) // ...in.. + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - .get instance default class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::get_InElement () - .set instance default void NAnt.Core.Tasks.LoopTask::set_InElement (class NAnt.Core.Tasks.InElement 'value') - } - .property instance class NAnt.Core.TaskContainer StuffToDo () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 02 64 6F 00 00 ) // ...do.. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.Formatter class NAnt.Core.Types.FormatterCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.FormatterCollection::Add(class NAnt.Core.Types.Formatter) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - .get instance default class NAnt.Core.TaskContainer NAnt.Core.Tasks.LoopTask::get_StuffToDo () - .set instance default void NAnt.Core.Tasks.LoopTask::set_StuffToDo (class NAnt.Core.TaskContainer 'value') - } - .class nested public auto ansi sealed LoopItem - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem File = int32(0x00000001) - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem Folder = int32(0x00000002) - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem String = int32(0x00000003) - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopItem Line = int32(0x00000004) + IL_0028: ret + } // end of method FormatterCollection::AddRange - } // end of class LoopItem + // method line 973 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Formatter item) cil managed + { + // Method begins at RVA 0x147c4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .class nested public auto ansi sealed LoopTrim - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim None = int32(0x00000000) - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim End = int32(0x00000001) - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim Start = int32(0x00000002) - .field public static literal valuetype NAnt.Core.Tasks.LoopTask/LoopTrim Both = int32(0x00000003) + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FormatterCollection::Contains - } // end of class LoopTrim + // method line 974 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Formatter[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x147e5 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method FormatterCollection::CopyTo - } // end of class NAnt.Core.Tasks.LoopTask -} + // method line 975 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Formatter item) cil managed + { + // Method begins at RVA 0x147f8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit InElement - extends NAnt.Core.Element - { - .field private class NAnt.Core.Types.FileSet _items + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FormatterCollection::IndexOf - // method line 1163 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 976 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Formatter item) cil managed { - // Method begins at RVA 0x13594 - // Code size 7 (0x7) + // Method begins at RVA 0x14819 + // Code size 15 (0xf) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method InElement::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method FormatterCollection::Insert - // method line 1164 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Items () cil managed + // method line 977 + .method public hidebysig + instance default class NAnt.Core.Types.FormatterEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x1359c + // Method begins at RVA 0x1482c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class NAnt.Core.Types.FormatterEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.InElement::_items + IL_0002: newobj instance void class NAnt.Core.Types.FormatterEnumerator::'.ctor'(class NAnt.Core.Types.FormatterCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method InElement::get_Items + } // end of method FormatterCollection::GetEnumerator - // method line 1165 - .method public hidebysig specialname - instance default void set_Items (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 978 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Formatter item) cil managed { - // Method begins at RVA 0x135b7 - // Code size 9 (0x9) + // Method begins at RVA 0x14847 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.InElement::_items - IL_0008: ret - } // end of method InElement::set_Items + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method FormatterCollection::Remove - .property instance class NAnt.Core.Types.FileSet Items () + .property instance class NAnt.Core.Types.Formatter Item (int32) { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 69 74 65 6D 73 00 00 ) // ...items.. - - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.InElement::get_Items () - .set instance default void NAnt.Core.Tasks.InElement::set_Items (class NAnt.Core.Types.FileSet 'value') + .get instance default class NAnt.Core.Types.Formatter NAnt.Core.Types.FormatterCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.FormatterCollection::set_Item (int32 index, class NAnt.Core.Types.Formatter 'value') } - } // end of class NAnt.Core.Tasks.InElement + } // end of class NAnt.Core.Types.FormatterCollection } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit SetEnvTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 73 65 74 65 6E 76 00 00 ) // ...setenv.. - - .field private string _name - .field private string _value - .field private string _literalValue - .field private class [mscorlib]System.IO.FileInfo _file - .field private class [mscorlib]System.IO.DirectoryInfo _directory - .field private class NAnt.Core.Types.PathSet _path - .field private class NAnt.Core.Types.EnvironmentVariableCollection _environmentVariables + .class public auto ansi beforefieldinit FormatterEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 1166 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 979 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection arguments) cil managed { - // Method begins at RVA 0x135c1 - // Code size 18 (0x12) - .maxstack 8 + // Method begins at RVA 0x14858 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentVariableCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method SetEnvTask::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0015: ret + } // end of method FormatterEnumerator::.ctor - // method line 1167 + // method line 980 .method public hidebysig specialname - instance default string get_EnvName () cil managed + instance default class NAnt.Core.Types.Formatter get_Current () cil managed { - // Method begins at RVA 0x135d4 - // Code size 15 (0xf) + // Method begins at RVA 0x1487c + // Code size 25 (0x19) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.Formatter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.SetEnvTask::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SetEnvTask::get_EnvName + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.Formatter + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 1168 - .method public hidebysig specialname - instance default void set_EnvName (string 'value') cil managed - { - // Method begins at RVA 0x135ef - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_name - IL_000d: ret - } // end of method SetEnvTask::set_EnvName + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FormatterEnumerator::get_Current - // method line 1169 - .method public hidebysig specialname - instance default string get_LiteralValue () cil managed + // method line 981 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x13600 - // Code size 15 (0xf) + // Method begins at RVA 0x148a4 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - string V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.SetEnvTask::_literalValue - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SetEnvTask::get_LiteralValue + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1170 - .method public hidebysig specialname - instance default void set_LiteralValue (string 'value') cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterEnumerator::System.Collections.IEnumerator.get_Current + + // method line 982 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x1361b - // Code size 16 (0x10) - .maxstack 8 + // Method begins at RVA 0x148c4 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.SetEnvTask::_value - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: stfld string NAnt.Core.Tasks.SetEnvTask::_literalValue - IL_000f: ret - } // end of method SetEnvTask::set_LiteralValue + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1171 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterEnumerator::MoveNext + + // method line 983 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x1362c - // Code size 15 (0xf) + // Method begins at RVA 0x148e4 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.SetEnvTask::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SetEnvTask::get_File + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1172 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 984 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x13647 - // Code size 21 (0x15) + // Method begins at RVA 0x14904 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance string object::ToString() - IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_value - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.SetEnvTask::_file - IL_0014: ret - } // end of method SetEnvTask::set_File + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method FormatterEnumerator::Reset - // method line 1173 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + // method line 985 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x13660 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + // Method begins at RVA 0x14912 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.SetEnvTask::_directory - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method FormatterEnumerator::System.Collections.IEnumerator.Reset - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SetEnvTask::get_Directory + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.FormatterEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.Types.Formatter Current () + { + .get instance default class NAnt.Core.Types.Formatter NAnt.Core.Types.FormatterEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.FormatterEnumerator +} - // method line 1174 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed +.namespace NAnt.Core.Types +{ + .class public auto ansi serializable beforefieldinit XmlNamespaceCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + + // method line 986 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1367b - // Code size 21 (0x15) + // Method begins at RVA 0x14920 + // Code size 8 (0x8) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance string object::ToString() - IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_value - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.SetEnvTask::_directory - IL_0014: ret - } // end of method SetEnvTask::set_Directory + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method XmlNamespaceCollection::.ctor - // method line 1175 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed + // method line 987 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed { - // Method begins at RVA 0x13694 + // Method begins at RVA 0x14929 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.PathSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Tasks.SetEnvTask::_path - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.XmlNamespaceCollection::AddRange(class NAnt.Core.Types.XmlNamespaceCollection) IL_000e: ret - } // end of method SetEnvTask::get_Path + } // end of method XmlNamespaceCollection::.ctor - // method line 1176 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 988 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XmlNamespace[] 'value') cil managed { - // Method begins at RVA 0x136af - // Code size 21 (0x15) + // Method begins at RVA 0x14939 + // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance string object::ToString() - IL_0008: stfld string NAnt.Core.Tasks.SetEnvTask::_value - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: stfld class NAnt.Core.Types.PathSet NAnt.Core.Tasks.SetEnvTask::_path - IL_0014: ret - } // end of method SetEnvTask::set_Path + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.XmlNamespaceCollection::AddRange(class NAnt.Core.Types.XmlNamespace[]) + IL_000e: ret + } // end of method XmlNamespaceCollection::.ctor - // method line 1177 + // method line 989 .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed + instance default class NAnt.Core.Types.XmlNamespace get_Item (int32 index) cil managed { - // Method begins at RVA 0x136c8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1494c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class NAnt.Core.Types.EnvironmentVariableCollection V_0) + class NAnt.Core.Types.XmlNamespace V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.XmlNamespace + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SetEnvTask::get_EnvironmentVariables + IL_0018: ldloc.0 + IL_0019: ret + } // end of method XmlNamespaceCollection::get_Item - // method line 1178 + // method line 990 .method public hidebysig specialname - instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed - { - // Method begins at RVA 0x136e3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables - IL_0008: ret - } // end of method SetEnvTask::set_EnvironmentVariables - - // method line 1179 - .method family virtual hidebysig - instance default void Initialize () cil managed + instance default void set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') cil managed { - // Method begins at RVA 0x136ed - // Code size 47 (0x2f) + // Method begins at RVA 0x14972 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() - IL_0007: brtrue IL_002e - - IL_000c: ldarg.0 - IL_000d: call instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables() - IL_0012: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0017: brtrue IL_002e - - IL_001c: nop - IL_001d: ldstr "Either the \"name\" attribute or at least one nested element is required." - IL_0022: ldarg.0 - IL_0023: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_002d: throw - IL_002e: ret - } // end of method SetEnvTask::Initialize + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method XmlNamespaceCollection::set_Item - // method line 1180 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 991 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XmlNamespace get_Item (string 'value') cil managed { - // Method begins at RVA 0x13720 - // Code size 149 (0x95) - .maxstack 3 + // Method begins at RVA 0x14984 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - class NAnt.Core.Types.EnvironmentVariable V_0, - class NAnt.Core.Types.EnvironmentVariableEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + class NAnt.Core.Types.XmlNamespace V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Types.XmlNamespace V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() - IL_0007: brfalse IL_002b + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables() - IL_0013: ldarg.0 - IL_0014: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() - IL_0019: ldarg.0 - IL_001a: ldfld string NAnt.Core.Tasks.SetEnvTask::_value - IL_001f: newobj instance void class NAnt.Core.Types.EnvironmentVariable::'.ctor'(string, string) - IL_0024: callvirt instance int32 class NAnt.Core.Types.EnvironmentVariableCollection::Add(class NAnt.Core.Types.EnvironmentVariable) - IL_0029: pop - IL_002a: nop - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: call instance class NAnt.Core.Types.EnvironmentVariableCollection class NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables() - IL_0032: callvirt instance class NAnt.Core.Types.EnvironmentVariableEnumerator class NAnt.Core.Types.EnvironmentVariableCollection::GetEnumerator() - IL_0037: stloc.1 + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 .try { // 0 - IL_0038: br IL_0070 + IL_0015: br IL_0041 - IL_003d: ldloc.1 - IL_003e: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current() - IL_0043: stloc.0 - IL_0044: nop - IL_0045: ldloc.0 - IL_0046: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_IfDefined() - IL_004b: brfalse IL_006f + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.Types.XmlNamespace + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Prefix() + IL_002d: ldarg.1 + IL_002e: call bool string::op_Equality(string, string) + IL_0033: brfalse IL_0040 - IL_0050: ldloc.0 - IL_0051: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() - IL_0056: brtrue IL_006f + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - IL_005b: nop - IL_005c: ldarg.0 - IL_005d: ldloc.0 - IL_005e: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() - IL_0063: ldloc.0 - IL_0064: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() - IL_0069: call instance void class NAnt.Core.Tasks.SetEnvTask::SetSingleEnvironmentVariable(string, string) - IL_006e: nop - IL_006f: nop - IL_0070: ldloc.1 - IL_0071: callvirt instance bool class NAnt.Core.Types.EnvironmentVariableEnumerator::MoveNext() - IL_0076: brtrue IL_003d + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - IL_007b: leave IL_0094 + IL_004c: leave IL_0065 } // end .try 0 finally { // 0 - IL_0080: ldloc.1 - IL_0081: isinst [mscorlib]System.IDisposable - IL_0086: dup - IL_0087: stloc.2 - IL_0088: brfalse IL_0093 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - IL_008d: ldloc.2 - IL_008e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0093: endfinally + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally } // end handler 0 - IL_0094: ret - } // end of method SetEnvTask::ExecuteTask + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - // method line 1181 - .method private hidebysig - instance default void SetSingleEnvironmentVariable (string name, string 'value') cil managed + IL_006d: ldloc.2 + IL_006e: ret + } // end of method XmlNamespaceCollection::get_Item + + // method line 992 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.XmlNamespace item) cil managed { - // Method begins at RVA 0x137d4 - // Code size 95 (0x5f) - .maxstack 7 + // Method begins at RVA 0x14a10 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0, - class [mscorlib]System.Exception V_1) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Setting environment variable \"{0}\" to \"{1}\"." - IL_000c: ldc.i4.2 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldarg.1 - IL_0015: stelem.ref - IL_0016: dup - IL_0017: ldc.i4.1 - IL_0018: ldarg.2 - IL_0019: stelem.ref - IL_001a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: ldarg.2 - IL_0022: brfalse IL_0030 - - IL_0027: nop - IL_0028: ldarg.2 - IL_0029: call string class [mscorlib]System.Environment::ExpandEnvironmentVariables(string) - IL_002e: stloc.0 - IL_002f: nop - .try { // 0 - IL_0030: nop - IL_0031: ldarg.1 - IL_0032: ldloc.0 - IL_0033: call void class [mscorlib]System.Environment::SetEnvironmentVariable(string, string) - IL_0038: nop - IL_0039: leave IL_005e + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_003e: stloc.1 - IL_003f: nop - IL_0040: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0045: ldstr "Error setting environment variable \"{0}\" to \"{1}\"." - IL_004a: ldarg.1 - IL_004b: ldarg.2 - IL_004c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0051: ldarg.0 - IL_0052: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0057: ldloc.1 - IL_0058: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_005d: throw - } // end handler 0 - IL_005e: ret - } // end of method SetEnvTask::SetSingleEnvironmentVariable + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XmlNamespaceCollection::Add - .property instance string EnvName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. + // method line 993 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XmlNamespace[] items) cil managed + { + // Method begins at RVA 0x14a34 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - .get instance default string NAnt.Core.Tasks.SetEnvTask::get_EnvName () - .set instance default void NAnt.Core.Tasks.SetEnvTask::set_EnvName (string 'value') - } - .property instance string LiteralValue () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.XmlNamespaceCollection::Add(class NAnt.Core.Types.XmlNamespace) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - .get instance default string NAnt.Core.Tasks.SetEnvTask::get_LiteralValue () - .set instance default void NAnt.Core.Tasks.SetEnvTask::set_LiteralValue (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo File () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + IL_0021: ret + } // end of method XmlNamespaceCollection::AddRange - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.SetEnvTask::get_File () - .set instance default void NAnt.Core.Tasks.SetEnvTask::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + // method line 994 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XmlNamespaceCollection items) cil managed + { + // Method begins at RVA 0x14a64 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.SetEnvTask::get_Directory () - .set instance default void NAnt.Core.Tasks.SetEnvTask::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.Core.Types.PathSet Path () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.XmlNamespaceCollection::Add(class NAnt.Core.Types.XmlNamespace) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Tasks.SetEnvTask::get_Path () - .set instance default void NAnt.Core.Tasks.SetEnvTask::set_Path (class NAnt.Core.Types.PathSet 'value') - } - .property instance class NAnt.Core.Types.EnvironmentVariableCollection EnvironmentVariables () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 08 76 61 72 69 61 62 6C 65 01 00 54 50 0B // ...variable..TP. - 45 6C 65 6D 65 6E 74 54 79 70 65 23 4E 41 6E 74 // ElementType#NAnt - 2E 43 6F 72 65 2E 54 79 70 65 73 2E 45 6E 76 69 // .Core.Types.Envi - 72 6F 6E 6D 65 6E 74 56 61 72 69 61 62 6C 65 ) // ronmentVariable + IL_0028: ret + } // end of method XmlNamespaceCollection::AddRange - .get instance default class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::get_EnvironmentVariables () - .set instance default void NAnt.Core.Tasks.SetEnvTask::set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') - } - } // end of class NAnt.Core.Tasks.SetEnvTask -} + // method line 995 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.XmlNamespace item) cil managed + { + // Method begins at RVA 0x14a9c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit MkDirTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 6D 6B 64 69 72 00 00 ) // ...mkdir.. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XmlNamespaceCollection::Contains - .field private class [mscorlib]System.IO.DirectoryInfo _dir + // method line 996 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x14ac0 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - // method line 1182 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + IL_0014: ldloc.0 + IL_0015: ret + } // end of method XmlNamespaceCollection::Contains + + // method line 997 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.XmlNamespace[] 'array', int32 index) cil managed { - // Method begins at RVA 0x13850 - // Code size 7 (0x7) + // Method begins at RVA 0x14ae2 + // Code size 15 (0xf) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method MkDirTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method XmlNamespaceCollection::CopyTo - // method line 1183 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Dir () cil managed + // method line 998 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.XmlNamespace item) cil managed + { + // Method begins at RVA 0x14af4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XmlNamespaceCollection::IndexOf + + // method line 999 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.XmlNamespace item) cil managed { - // Method begins at RVA 0x13858 + // Method begins at RVA 0x14b15 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method XmlNamespaceCollection::Insert + + // method line 1000 + .method public hidebysig + instance default class NAnt.Core.Types.XmlNamespaceEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x14b28 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class NAnt.Core.Types.XmlNamespaceEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::_dir + IL_0002: newobj instance void class NAnt.Core.Types.XmlNamespaceEnumerator::'.ctor'(class NAnt.Core.Types.XmlNamespaceCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MkDirTask::get_Dir + } // end of method XmlNamespaceCollection::GetEnumerator - // method line 1184 - .method public hidebysig specialname - instance default void set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 1001 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.XmlNamespace item) cil managed { - // Method begins at RVA 0x13873 - // Code size 9 (0x9) + // Method begins at RVA 0x14b43 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::_dir - IL_0008: ret - } // end of method MkDirTask::set_Dir + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method XmlNamespaceCollection::Remove - // method line 1185 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + .property instance class NAnt.Core.Types.XmlNamespace Item (int32) + { + .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.XmlNamespaceCollection::set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') + } + .property instance class NAnt.Core.Types.XmlNamespace Item (string) + { + .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (string 'value') + } + } // end of class NAnt.Core.Types.XmlNamespaceCollection +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit XmlNamespaceEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 1002 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection arguments) cil managed { - // Method begins at RVA 0x13880 - // Code size 120 (0x78) - .maxstack 7 + // Method begins at RVA 0x14b54 + // Code size 22 (0x16) + .maxstack 2 .locals init ( - class [mscorlib]System.Exception V_0) + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0015: ret + } // end of method XmlNamespaceEnumerator::.ctor + + // method line 1003 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XmlNamespace get_Current () cil managed + { + // Method begins at RVA 0x14b78 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.XmlNamespace V_0) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() - IL_0008: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000d: brtrue IL_0043 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.XmlNamespace + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldc.i4 3000 - IL_0019: ldstr "Creating directory '{0}'." - IL_001e: ldc.i4.1 - IL_001f: newarr [mscorlib]System.Object - IL_0024: dup - IL_0025: ldc.i4.0 - IL_0026: ldarg.0 - IL_0027: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() - IL_002c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0031: stelem.ref - IL_0032: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0037: ldarg.0 - IL_0038: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() - IL_003d: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0042: nop - IL_0043: nop - IL_0044: leave IL_0077 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method XmlNamespaceEnumerator::get_Current - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0049: stloc.0 - IL_004a: nop - IL_004b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0050: ldstr "NA1137" - IL_0055: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_005a: ldarg.0 - IL_005b: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.MkDirTask::get_Dir() - IL_0060: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_006a: ldarg.0 - IL_006b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0070: ldloc.0 - IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0076: throw - } // end handler 0 - IL_0077: ret - } // end of method MkDirTask::ExecuteTask + // method line 1004 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x14ba0 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .property instance class [mscorlib]System.IO.DirectoryInfo Dir () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 64 69 72 01 00 54 02 08 52 65 71 75 69 // ...dir..T..Requi - 72 65 64 01 ) // red. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::get_Dir () - .set instance default void NAnt.Core.Tasks.MkDirTask::set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') + // method line 1005 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x14bc0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XmlNamespaceEnumerator::MoveNext + + // method line 1006 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x14be0 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.MoveNext + + // method line 1007 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x14c00 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method XmlNamespaceEnumerator::Reset + + // method line 1008 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x14c0e + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.Reset + + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current () } - } // end of class NAnt.Core.Tasks.MkDirTask + .property instance class NAnt.Core.Types.XmlNamespace Current () + { + .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.XmlNamespaceEnumerator } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit DeleteTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit FileSet + extends NAnt.Core.DataTypeBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 64 65 6C 65 74 65 00 00 ) // ...delete.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. - .field private class [mscorlib]System.IO.FileInfo _file - .field private class [mscorlib]System.IO.DirectoryInfo _dir - .field private class NAnt.Core.Types.FileSet _fileset - .field private bool _includeEmptyDirs + .field private bool _hasScanned + .field private bool _defaultExcludes + .field private bool _failOnEmpty + .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory + .field private class NAnt.Core.DirectoryScanner _scanner + .field private class [System]System.Collections.Specialized.StringCollection _asis + .field private class NAnt.Core.PathScanner _pathFiles + .field private static initonly class [log4net]log4net.ILog logger - // method line 1186 + // method line 1009 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x13914 - // Code size 25 (0x19) + // Method begins at RVA 0x14c1c + // Code size 48 (0x30) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::_fileset - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.Core.Tasks.DeleteTask::_includeEmptyDirs + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() + IL_000d: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.Task::'.ctor'() - IL_0018: ret - } // end of method DeleteTask::.ctor + IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis + IL_001d: ldarg.0 + IL_001e: newobj instance void class NAnt.Core.PathScanner::'.ctor'() + IL_0023: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_0028: ldarg.0 + IL_0029: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_002e: nop + IL_002f: ret + } // end of method FileSet::.ctor - // method line 1187 + // method line 1010 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed + { + // Method begins at RVA 0x14c4d + // Code size 55 (0x37) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() + IL_000d: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0012: ldarg.0 + IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis + IL_001d: ldarg.0 + IL_001e: newobj instance void class NAnt.Core.PathScanner::'.ctor'() + IL_0023: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_0028: ldarg.0 + IL_0029: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_002e: nop + IL_002f: ldarg.1 + IL_0030: ldarg.0 + IL_0031: callvirt instance void class NAnt.Core.Types.FileSet::CopyTo(class NAnt.Core.Types.FileSet) + IL_0036: ret + } // end of method FileSet::.ctor + + // method line 1011 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default bool get_CaseSensitive () cil managed { - // Method begins at RVA 0x13930 - // Code size 15 (0xf) + // Method begins at RVA 0x14c88 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.DeleteTask::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0007: callvirt instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DeleteTask::get_File + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileSet::get_CaseSensitive - // method line 1188 + // method line 1012 .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_CaseSensitive (bool 'value') cil managed { - // Method begins at RVA 0x1394b - // Code size 9 (0x9) + // Method begins at RVA 0x14ca8 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.DeleteTask::_file - IL_0008: ret - } // end of method DeleteTask::set_File + IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0007: ldarg.1 + IL_0008: callvirt instance void class NAnt.Core.DirectoryScanner::set_CaseSensitive(bool) + IL_000d: ret + } // end of method FileSet::set_CaseSensitive - // method line 1189 + // method line 1013 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + instance default bool get_FailOnEmpty () cil managed { - // Method begins at RVA 0x13958 + // Method begins at RVA 0x14cb8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.DeleteTask::_dir + IL_0002: ldfld bool NAnt.Core.Types.FileSet::_failOnEmpty IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DeleteTask::get_Directory + } // end of method FileSet::get_FailOnEmpty - // method line 1190 + // method line 1014 .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_FailOnEmpty (bool 'value') cil managed { - // Method begins at RVA 0x13973 + // Method begins at RVA 0x14cd3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.DeleteTask::_dir + IL_0003: stfld bool NAnt.Core.Types.FileSet::_failOnEmpty IL_0008: ret - } // end of method DeleteTask::set_Directory + } // end of method FileSet::set_FailOnEmpty - // method line 1191 + // method line 1015 .method public hidebysig specialname - instance default bool get_IncludeEmptyDirs () cil managed + instance default bool get_DefaultExcludes () cil managed { - // Method begins at RVA 0x13980 + // Method begins at RVA 0x14ce0 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.DeleteTask::_includeEmptyDirs + IL_0002: ldfld bool NAnt.Core.Types.FileSet::_defaultExcludes IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DeleteTask::get_IncludeEmptyDirs + } // end of method FileSet::get_DefaultExcludes - // method line 1192 + // method line 1016 .method public hidebysig specialname - instance default void set_IncludeEmptyDirs (bool 'value') cil managed + instance default void set_DefaultExcludes (bool 'value') cil managed { - // Method begins at RVA 0x1399b + // Method begins at RVA 0x14cfb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.DeleteTask::_includeEmptyDirs + IL_0003: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes IL_0008: ret - } // end of method DeleteTask::set_IncludeEmptyDirs + } // end of method FileSet::set_DefaultExcludes - // method line 1193 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_DeleteFileSet () cil managed + // method line 1017 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0x139a8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x14d08 + // Code size 127 (0x7f) + .maxstack 2 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::_fileset - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory + IL_0007: brtrue IL_0071 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DeleteTask::get_DeleteFileSet + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance object class NAnt.Core.Element::get_Parent() + IL_0013: brfalse IL_004e - // method line 1194 - .method public hidebysig specialname - instance default void set_DeleteFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + IL_0018: ldtoken NAnt.Core.Types.FileSet + IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0022: ldarg.0 + IL_0023: call instance object class NAnt.Core.Element::get_Parent() + IL_0028: callvirt instance class [mscorlib]System.Type object::GetType() + IL_002d: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0032: brfalse IL_004e + + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: call instance object class NAnt.Core.Element::get_Parent() + IL_003e: castclass NAnt.Core.Types.FileSet + IL_0043: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0048: stloc.0 + IL_0049: br IL_007d + + IL_004e: ldarg.0 + IL_004f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0054: brfalse IL_0070 + + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0060: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0065: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_006a: stloc.0 + IL_006b: br IL_007d + + IL_0070: nop + IL_0071: ldarg.0 + IL_0072: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory + IL_0077: stloc.0 + IL_0078: br IL_007d + + IL_007d: ldloc.0 + IL_007e: ret + } // end of method FileSet::get_BaseDirectory + + // method line 1018 + .method public virtual hidebysig newslot specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x139c3 + // Method begins at RVA 0x14d93 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::_fileset + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory IL_0008: ret - } // end of method DeleteTask::set_DeleteFileSet + } // end of method FileSet::set_BaseDirectory - // method line 1195 - .method public virtual hidebysig specialname - instance default bool get_Verbose () cil managed + // method line 1019 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_Includes () cil managed + { + // Method begins at RVA 0x14da0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileSet::get_Includes + + // method line 1020 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_Excludes () cil managed + { + // Method begins at RVA 0x14dc0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Excludes() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileSet::get_Excludes + + // method line 1021 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_AsIs () cil managed { - // Method begins at RVA 0x139d0 + // Method begins at RVA 0x14de0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Task::get_Verbose() + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DeleteTask::get_Verbose + } // end of method FileSet::get_AsIs - // method line 1196 - .method public virtual hidebysig specialname - instance default void set_Verbose (bool 'value') cil managed + // method line 1022 + .method public hidebysig specialname + instance default class NAnt.Core.PathScanner get_PathFiles () cil managed { - // Method begins at RVA 0x139eb - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x14dfc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.PathScanner V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Task::set_Verbose(bool) - IL_0008: ret - } // end of method DeleteTask::set_Verbose + IL_0002: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1197 - .method family virtual hidebysig - instance default void Initialize () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FileSet::get_PathFiles + + // method line 1023 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_FileNames () cil managed { - // Method begins at RVA 0x139f8 - // Code size 103 (0x67) - .maxstack 2 + // Method begins at RVA 0x14e18 + // Code size 39 (0x27) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() - IL_0007: brfalse IL_0029 + IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_0007: brtrue IL_0014 - IL_000c: ldarg.0 - IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() - IL_0012: brfalse IL_0029 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_0017: nop - IL_0018: ldstr "Cannot specify both 'file' and 'dir' attribute in the same task." - IL_001d: ldarg.0 - IL_001e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0023: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() - IL_002f: brtrue IL_003f + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_FileNames - IL_0034: ldarg.0 - IL_0035: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() - IL_003a: brfalse IL_0066 + // method line 1024 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_DirectoryNames () cil managed + { + // Method begins at RVA 0x14e4c + // Code size 39 (0x27) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_0007: brtrue IL_0014 - IL_003f: ldarg.0 - IL_0040: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_0045: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_004a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_004f: brfalse IL_0066 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_DirectoryNames() + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_0054: nop - IL_0055: ldstr "Cannot specify both 'file' or 'dir' attribute and use in the same task." - IL_005a: ldarg.0 - IL_005b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0060: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0065: throw - IL_0066: ret - } // end of method DeleteTask::Initialize + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_DirectoryNames - // method line 1198 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1025 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_ScannedDirectories () cil managed { - // Method begins at RVA 0x13a6c - // Code size 631 (0x277) - .maxstack 7 + // Method begins at RVA 0x14e80 + // Code size 39 (0x27) + .maxstack 1 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - int32 V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - string[] V_6, - class [mscorlib]System.Exception V_7, - string V_8, - class [mscorlib]System.IDisposable V_9) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e - - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_0018: ldarg.0 - IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() - IL_0034: brfalse IL_0052 + IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_0007: brtrue IL_0014 - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: ldarg.0 - IL_003c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.DeleteTask::get_File() - IL_0041: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0046: ldc.i4.1 - IL_0047: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteFile(string, bool) - IL_004c: nop - IL_004d: br IL_0276 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_ScannedDirectories() + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_0052: ldarg.0 - IL_0053: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() - IL_0058: brfalse IL_00bc + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_ScannedDirectories - IL_005d: nop - IL_005e: ldarg.0 - IL_005f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() - IL_0064: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0069: brtrue IL_0074 + // method line 1026 + .method public hidebysig specialname + instance default void set_SetIncludes (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed + { + // Method begins at RVA 0x14eb3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet::set_IncludeElements(class NAnt.Core.Types.FileSet/Include[]) + IL_0008: ret + } // end of method FileSet::set_SetIncludes - IL_006e: nop - IL_006f: br IL_0276 + // method line 1027 + .method public hidebysig specialname + instance default void set_IncludeElements (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed + { + // Method begins at RVA 0x14ec0 + // Code size 239 (0xef) + .maxstack 4 + .locals init ( + class NAnt.Core.Types.FileSet/Include V_0, + class NAnt.Core.Types.FileSet/Include[] V_1, + int32 V_2) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: stloc.1 + IL_0004: ldc.i4.0 + IL_0005: stloc.2 + IL_0006: br IL_00e5 - IL_0074: ldarg.0 - IL_0075: callvirt instance bool class NAnt.Core.Task::get_Verbose() - IL_007a: brtrue IL_00a5 + IL_000b: ldloc.1 + IL_000c: ldloc.2 + IL_000d: ldelem.ref + IL_000e: stloc.0 + IL_000f: nop + IL_0010: ldloc.0 + IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_IfDefined() + IL_0016: brfalse IL_00e0 - IL_007f: nop - IL_0080: ldarg.0 - IL_0081: ldc.i4 3000 - IL_0086: ldstr "Deleting directory '{0}'." - IL_008b: ldc.i4.1 - IL_008c: newarr [mscorlib]System.Object - IL_0091: dup - IL_0092: ldc.i4.0 - IL_0093: ldarg.0 - IL_0094: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() - IL_0099: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_009e: stelem.ref - IL_009f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00a4: nop - IL_00a5: ldarg.0 - IL_00a6: ldarg.0 - IL_00a7: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() - IL_00ac: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00b1: call instance void class NAnt.Core.Tasks.DeleteTask::RecursiveDeleteDirectory(string) - IL_00b6: nop - IL_00b7: br IL_0276 + IL_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() + IL_0021: brtrue IL_00e0 - IL_00bc: nop - IL_00bd: ldarg.0 - IL_00be: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_00c3: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_00c8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00cd: ldc.i4.0 - IL_00ce: ble IL_0154 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance bool class NAnt.Core.Types.FileSet/Include::get_AsIs() + IL_002d: brfalse IL_006a - IL_00d3: nop - IL_00d4: ldarg.0 - IL_00d5: ldc.i4 3000 - IL_00da: ldstr "Deleting {0} files." - IL_00df: ldc.i4.1 - IL_00e0: newarr [mscorlib]System.Object - IL_00e5: dup - IL_00e6: ldc.i4.0 - IL_00e7: ldarg.0 - IL_00e8: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_00ed: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_00f2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00f7: box [mscorlib]System.Int32 - IL_00fc: stelem.ref - IL_00fd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0102: nop - IL_0103: ldarg.0 - IL_0104: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_0109: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_010e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0113: stloc.1 - .try { // 0 - IL_0114: br IL_012f + IL_0032: nop + IL_0033: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_0038: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003d: ldstr "Including AsIs=" + IL_0042: ldloc.0 + IL_0043: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004d: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_0052: ldarg.0 + IL_0053: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() + IL_0058: ldloc.0 + IL_0059: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_005e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0063: pop + IL_0064: nop + IL_0065: br IL_00df - IL_0119: ldloc.1 - IL_011a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_011f: stloc.0 - IL_0120: nop - IL_0121: ldarg.0 - IL_0122: ldloc.0 - IL_0123: ldarg.0 - IL_0124: callvirt instance bool class NAnt.Core.Task::get_Verbose() - IL_0129: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteFile(string, bool) - IL_012e: nop - IL_012f: ldloc.1 - IL_0130: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0135: brtrue IL_0119 + IL_006a: ldloc.0 + IL_006b: callvirt instance bool class NAnt.Core.Types.FileSet/Include::get_FromPath() + IL_0070: brfalse IL_00ac - IL_013a: leave IL_0153 + IL_0075: nop + IL_0076: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_007b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0080: ldstr "Including FromPath=" + IL_0085: ldloc.0 + IL_0086: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_008b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0090: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_0095: ldarg.0 + IL_0096: call instance class NAnt.Core.PathScanner class NAnt.Core.Types.FileSet::get_PathFiles() + IL_009b: ldloc.0 + IL_009c: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_00a1: callvirt instance void class NAnt.Core.PathScanner::Add(string) + IL_00a6: nop + IL_00a7: br IL_00df - } // end .try 0 - finally { // 0 - IL_013f: ldloc.1 - IL_0140: isinst [mscorlib]System.IDisposable - IL_0145: dup - IL_0146: stloc.2 - IL_0147: brfalse IL_0152 + IL_00ac: nop + IL_00ad: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_00b2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00b7: ldstr "Including pattern" + IL_00bc: ldloc.0 + IL_00bd: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_00c2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00c7: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_00cc: ldarg.0 + IL_00cd: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_00d2: ldloc.0 + IL_00d3: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_00d8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00dd: pop + IL_00de: nop + IL_00df: nop + IL_00e0: nop + IL_00e1: ldloc.2 + IL_00e2: ldc.i4.1 + IL_00e3: add + IL_00e4: stloc.2 + IL_00e5: ldloc.2 + IL_00e6: ldloc.1 + IL_00e7: ldlen + IL_00e8: conv.i4 + IL_00e9: blt IL_000b - IL_014c: ldloc.2 - IL_014d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0152: endfinally - } // end handler 0 - IL_0153: nop - IL_0154: ldarg.0 - IL_0155: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_015a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_015f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0164: ldc.i4.0 - IL_0165: ble IL_0275 + IL_00ee: ret + } // end of method FileSet::set_IncludeElements - IL_016a: ldarg.0 - IL_016b: call instance bool class NAnt.Core.Tasks.DeleteTask::get_IncludeEmptyDirs() - IL_0170: brfalse IL_0275 + // method line 1028 + .method public hidebysig specialname + instance default void set_SetExcludes (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed + { + // Method begins at RVA 0x14fbb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet::set_ExcludeElements(class NAnt.Core.Types.FileSet/Exclude[]) + IL_0008: ret + } // end of method FileSet::set_SetExcludes - IL_0175: nop - IL_0176: ldc.i4.0 - IL_0177: stloc.3 - IL_0178: nop - IL_0179: ldarg.0 - IL_017a: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet() - IL_017f: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0184: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0189: stloc.s 5 - .try { // 2 - IL_018b: br IL_0224 - - IL_0190: ldloc.s 5 - IL_0192: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0197: stloc.s 4 - IL_0199: nop - IL_019a: ldloc.s 4 - IL_019c: call string[] class [mscorlib]System.IO.Directory::GetFileSystemEntries(string) - IL_01a1: stloc.s 6 - IL_01a3: ldloc.s 6 - IL_01a5: brfalse IL_01b3 - - IL_01aa: ldloc.s 6 - IL_01ac: ldlen - IL_01ad: conv.i4 - IL_01ae: brtrue IL_0223 - - IL_01b3: nop - .try { // 1 - IL_01b4: nop - IL_01b5: ldarg.0 - IL_01b6: ldloc.s 4 - IL_01b8: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteDirectory(string) - IL_01bd: ldloc.3 - IL_01be: ldc.i4.1 - IL_01bf: add - IL_01c0: stloc.3 - IL_01c1: nop - IL_01c2: leave IL_0222 - - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_01c7: stloc.s 7 - IL_01c9: nop - IL_01ca: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01cf: ldstr "NA1113" - IL_01d4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01d9: ldloc.s 4 - IL_01db: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01e0: stloc.s 8 - IL_01e2: ldarg.0 - IL_01e3: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_01e8: brfalse IL_01fe - - IL_01ed: nop - IL_01ee: ldloc.s 8 - IL_01f0: ldarg.0 - IL_01f1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_01f6: ldloc.s 7 - IL_01f8: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_01fd: throw - IL_01fe: ldarg.0 - IL_01ff: ldc.i4 4000 - IL_0204: ldloc.s 8 - IL_0206: ldstr " " - IL_020b: ldloc.s 7 - IL_020d: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0212: call string string::Concat(string, string, string) - IL_0217: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_021c: nop - IL_021d: leave IL_0222 + // method line 1029 + .method public hidebysig specialname + instance default void set_ExcludeElements (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed + { + // Method begins at RVA 0x14fc8 + // Code size 104 (0x68) + .maxstack 4 + .locals init ( + class NAnt.Core.Types.FileSet/Exclude V_0, + class NAnt.Core.Types.FileSet/Exclude[] V_1, + int32 V_2) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: stloc.1 + IL_0004: ldc.i4.0 + IL_0005: stloc.2 + IL_0006: br IL_005e - } // end handler 1 - IL_0222: nop - IL_0223: nop - IL_0224: ldloc.s 5 - IL_0226: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_022b: brtrue IL_0190 + IL_000b: ldloc.1 + IL_000c: ldloc.2 + IL_000d: ldelem.ref + IL_000e: stloc.0 + IL_000f: nop + IL_0010: ldloc.0 + IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_IfDefined() + IL_0016: brfalse IL_0059 - IL_0230: leave IL_024c + IL_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() + IL_0021: brtrue IL_0059 - } // end .try 2 - finally { // 2 - IL_0235: ldloc.s 5 - IL_0237: isinst [mscorlib]System.IDisposable - IL_023c: dup - IL_023d: stloc.s 9 - IL_023f: brfalse IL_024b + IL_0026: nop + IL_0027: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0031: ldstr "Excluding pattern" + IL_0036: ldloc.0 + IL_0037: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_003c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0041: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_0046: ldarg.0 + IL_0047: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_004c: ldloc.0 + IL_004d: callvirt instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_0052: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0057: pop + IL_0058: nop + IL_0059: nop + IL_005a: ldloc.2 + IL_005b: ldc.i4.1 + IL_005c: add + IL_005d: stloc.2 + IL_005e: ldloc.2 + IL_005f: ldloc.1 + IL_0060: ldlen + IL_0061: conv.i4 + IL_0062: blt IL_000b - IL_0244: ldloc.s 9 - IL_0246: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_024b: endfinally - } // end handler 2 - IL_024c: ldloc.3 - IL_024d: ldc.i4.0 - IL_024e: ble IL_0274 + IL_0067: ret + } // end of method FileSet::set_ExcludeElements - IL_0253: nop - IL_0254: ldarg.0 - IL_0255: ldc.i4 3000 - IL_025a: ldstr "Deleted {0} directories." - IL_025f: ldc.i4.1 - IL_0260: newarr [mscorlib]System.Object - IL_0265: dup - IL_0266: ldc.i4.0 - IL_0267: ldloc.3 - IL_0268: box [mscorlib]System.Int32 - IL_026d: stelem.ref - IL_026e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0273: nop - IL_0274: nop - IL_0275: nop - IL_0276: ret - } // end of method DeleteTask::ExecuteTask + // method line 1030 + .method public hidebysig specialname + instance default void set_SetIncludesList (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed + { + // Method begins at RVA 0x1503c + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet::set_IncludesFiles(class NAnt.Core.Types.FileSet/IncludesFile[]) + IL_0008: ret + } // end of method FileSet::set_SetIncludesList - // method line 1199 - .method private hidebysig - instance default void RecursiveDeleteDirectory (string path) cil managed + // method line 1031 + .method public hidebysig specialname + instance default void set_IncludesFiles (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed { - // Method begins at RVA 0x13d18 - // Code size 363 (0x16b) - .maxstack 7 + // Method begins at RVA 0x15048 + // Code size 422 (0x1a6) + .maxstack 4 .locals init ( - string[] V_0, - string V_1, - string[] V_2, - int32 V_3, - string[] V_4, - string V_5, - string[] V_6, - int32 V_7, - class [mscorlib]System.Exception V_8, + class NAnt.Core.Types.FileSet/IncludesFile V_0, + class NAnt.Core.Types.FileSet/IncludesFile[] V_1, + int32 V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + string V_6, + class [System]System.Collections.Specialized.StringEnumerator V_7, + class [mscorlib]System.IDisposable V_8, string V_9, - class NAnt.Core.BuildException V_10, - class [mscorlib]System.Exception V_11, - string V_12) + class [System]System.Collections.Specialized.StringEnumerator V_10, + class [mscorlib]System.IDisposable V_11) IL_0000: nop - .try { // 1 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0008: brtrue IL_0013 - - IL_000d: nop - IL_000e: leave IL_016a + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: stloc.1 + IL_0004: ldc.i4.0 + IL_0005: stloc.2 + IL_0006: br IL_019c - IL_0013: ldarg.1 - IL_0014: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: stloc.2 - IL_001d: ldc.i4.0 - IL_001e: stloc.3 - IL_001f: br IL_0035 + IL_000b: ldloc.1 + IL_000c: ldloc.2 + IL_000d: ldelem.ref + IL_000e: stloc.0 + IL_000f: nop + IL_0010: ldloc.0 + IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined() + IL_0016: brfalse IL_0197 - IL_0024: ldloc.2 - IL_0025: ldloc.3 - IL_0026: ldelem.ref - IL_0027: stloc.1 - IL_0028: nop - IL_0029: ldarg.0 - IL_002a: ldloc.1 - IL_002b: call instance void class NAnt.Core.Tasks.DeleteTask::RecursiveDeleteDirectory(string) - IL_0030: nop - 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_0024 + IL_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() + IL_0021: brtrue IL_0197 - IL_003e: ldarg.1 - IL_003f: call string[] class [mscorlib]System.IO.Directory::GetFiles(string) - IL_0044: stloc.s 4 - IL_0046: nop - IL_0047: ldloc.s 4 - IL_0049: stloc.s 6 - IL_004b: ldc.i4.0 - IL_004c: stloc.s 7 - IL_004e: br IL_00f2 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance bool class NAnt.Core.Types.FileSet/IncludesFile::get_AsIs() + IL_002d: brfalse IL_00a5 - IL_0053: ldloc.s 6 - IL_0055: ldloc.s 7 - IL_0057: ldelem.ref - IL_0058: stloc.s 5 - IL_005a: nop - .try { // 0 - IL_005b: nop - IL_005c: ldloc.s 5 - IL_005e: ldc.i4 128 - IL_0063: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_0068: ldarg.0 - IL_0069: ldc.i4 2000 - IL_006e: ldstr "Deleting file '{0}'." - IL_0073: ldc.i4.1 - IL_0074: newarr [mscorlib]System.Object - IL_0079: dup - IL_007a: ldc.i4.0 - IL_007b: ldloc.s 5 - IL_007d: stelem.ref - IL_007e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0083: ldloc.s 5 - IL_0085: call void class [mscorlib]System.IO.File::Delete(string) - IL_008a: nop - IL_008b: leave IL_00eb + IL_0032: nop + IL_0033: nop + IL_0034: ldloc.0 + IL_0035: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() + IL_003a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_003f: stloc.s 4 + .try { // 0 + IL_0041: br IL_0077 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0090: stloc.s 8 - IL_0092: nop - IL_0093: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0098: ldstr "NA1114" - IL_009d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00a2: ldloc.s 5 - IL_00a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00a9: stloc.s 9 - IL_00ab: ldarg.0 - IL_00ac: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_00b1: brfalse IL_00c7 + IL_0046: ldloc.s 4 + IL_0048: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_004d: stloc.3 + IL_004e: nop + IL_004f: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_0054: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0059: ldstr "Including AsIs=" + IL_005e: ldloc.3 + IL_005f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0064: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_0069: ldarg.0 + IL_006a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() + IL_006f: ldloc.3 + IL_0070: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0075: pop + IL_0076: nop + IL_0077: ldloc.s 4 + IL_0079: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_007e: brtrue IL_0046 - IL_00b6: nop - IL_00b7: ldloc.s 9 - IL_00b9: ldarg.0 - IL_00ba: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00bf: ldloc.s 8 - IL_00c1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00c6: throw - IL_00c7: ldarg.0 - IL_00c8: ldc.i4 2000 - IL_00cd: ldloc.s 9 - IL_00cf: ldstr " " - IL_00d4: ldloc.s 8 - IL_00d6: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_00db: call string string::Concat(string, string, string) - IL_00e0: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_00e5: nop - IL_00e6: leave IL_00eb + IL_0083: leave IL_009f - } // end handler 0 - IL_00eb: nop - IL_00ec: ldloc.s 7 - IL_00ee: ldc.i4.1 - IL_00ef: add - IL_00f0: stloc.s 7 - IL_00f2: ldloc.s 7 - IL_00f4: ldloc.s 6 - IL_00f6: ldlen - IL_00f7: conv.i4 - IL_00f8: blt IL_0053 + } // end .try 0 + finally { // 0 + IL_0088: ldloc.s 4 + IL_008a: isinst [mscorlib]System.IDisposable + IL_008f: dup + IL_0090: stloc.s 5 + IL_0092: brfalse IL_009e - IL_00fd: ldarg.0 - IL_00fe: ldarg.1 - IL_00ff: call instance void class NAnt.Core.Tasks.DeleteTask::DeleteDirectory(string) - IL_0104: nop - IL_0105: leave IL_016a + IL_0097: ldloc.s 5 + IL_0099: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009e: endfinally + } // end handler 0 + IL_009f: nop + IL_00a0: br IL_0196 - } // end .try 1 - catch class NAnt.Core.BuildException { // 1 - IL_010a: stloc.s 10 - IL_010c: nop - IL_010d: ldloc.s 10 - IL_010f: throw - } // end handler 1 - catch class [mscorlib]System.Exception { // 2 - IL_0110: stloc.s 11 - IL_0112: nop - IL_0113: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0118: ldstr "NA1113" - IL_011d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0122: ldarg.1 - IL_0123: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0128: stloc.s 12 - IL_012a: ldarg.0 - IL_012b: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0130: brfalse IL_0146 + IL_00a5: ldloc.0 + IL_00a6: callvirt instance bool class NAnt.Core.Types.FileSet/IncludesFile::get_FromPath() + IL_00ab: brfalse IL_0125 - IL_0135: nop - IL_0136: ldloc.s 12 - IL_0138: ldarg.0 - IL_0139: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_013e: ldloc.s 11 - IL_0140: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0145: throw - IL_0146: ldarg.0 - IL_0147: ldc.i4 4000 - IL_014c: ldloc.s 12 - IL_014e: ldstr " " - IL_0153: ldloc.s 11 - IL_0155: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_015a: call string string::Concat(string, string, string) - IL_015f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0164: nop - IL_0165: leave IL_016a + IL_00b0: nop + IL_00b1: nop + IL_00b2: ldloc.0 + IL_00b3: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() + IL_00b8: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00bd: stloc.s 7 + .try { // 1 + IL_00bf: br IL_00f7 - } // end handler 2 - IL_016a: ret - } // end of method DeleteTask::RecursiveDeleteDirectory + IL_00c4: ldloc.s 7 + IL_00c6: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00cb: stloc.s 6 + IL_00cd: nop + IL_00ce: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_00d3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00d8: ldstr "Including FromPath=" + IL_00dd: ldloc.s 6 + IL_00df: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00e4: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_00e9: ldarg.0 + IL_00ea: call instance class NAnt.Core.PathScanner class NAnt.Core.Types.FileSet::get_PathFiles() + IL_00ef: ldloc.s 6 + IL_00f1: callvirt instance void class NAnt.Core.PathScanner::Add(string) + IL_00f6: nop + IL_00f7: ldloc.s 7 + IL_00f9: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00fe: brtrue IL_00c4 - // method line 1200 - .method private hidebysig - instance default void DeleteFile (string path, bool verbose) cil managed - { - // Method begins at RVA 0x13edc - // Code size 191 (0xbf) - .maxstack 7 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - class [mscorlib]System.Exception V_1, - string V_2) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000f: brtrue IL_001a + IL_0103: leave IL_011f - IL_0014: nop - IL_0015: leave IL_00be + } // end .try 1 + finally { // 1 + IL_0108: ldloc.s 7 + IL_010a: isinst [mscorlib]System.IDisposable + IL_010f: dup + IL_0110: stloc.s 8 + IL_0112: brfalse IL_011e - IL_001a: ldarg.2 - IL_001b: brfalse IL_003c + IL_0117: ldloc.s 8 + IL_0119: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_011e: endfinally + } // end handler 1 + IL_011f: nop + IL_0120: br IL_0196 - IL_0020: nop - IL_0021: ldarg.0 - IL_0022: ldc.i4 3000 - IL_0027: ldstr "Deleting file {0}." - IL_002c: ldc.i4.1 - IL_002d: newarr [mscorlib]System.Object - IL_0032: dup - IL_0033: ldc.i4.0 - IL_0034: ldarg.1 - IL_0035: stelem.ref - IL_0036: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_003b: nop - IL_003c: ldloc.0 - IL_003d: callvirt instance valuetype [mscorlib]System.IO.FileAttributes class [mscorlib]System.IO.FileSystemInfo::get_Attributes() - IL_0042: ldc.i4 128 - IL_0047: beq IL_005e + IL_0125: nop + IL_0126: nop + IL_0127: ldloc.0 + IL_0128: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() + IL_012d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0132: stloc.s 10 + .try { // 2 + IL_0134: br IL_016d - IL_004c: nop - IL_004d: ldloc.0 - IL_004e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0053: ldc.i4 128 - IL_0058: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_005d: nop - IL_005e: ldarg.1 - IL_005f: call void class [mscorlib]System.IO.File::Delete(string) - IL_0064: nop - IL_0065: leave IL_00be + IL_0139: ldloc.s 10 + IL_013b: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0140: stloc.s 9 + IL_0142: nop + IL_0143: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_0148: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_014d: ldstr "Including Pattern=" + IL_0152: ldloc.s 9 + IL_0154: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0159: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_015e: ldarg.0 + IL_015f: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0164: ldloc.s 9 + IL_0166: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_016b: pop + IL_016c: nop + IL_016d: ldloc.s 10 + IL_016f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0174: brtrue IL_0139 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_006a: stloc.1 - IL_006b: nop - IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0071: ldstr "NA1114" - IL_0076: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_007b: ldarg.1 - IL_007c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0081: stloc.2 - IL_0082: ldarg.0 - IL_0083: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0088: brfalse IL_009c + IL_0179: leave IL_0195 - IL_008d: nop - IL_008e: ldloc.2 - IL_008f: ldarg.0 - IL_0090: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0095: ldloc.1 - IL_0096: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_009b: throw - IL_009c: ldarg.0 - IL_009d: ldc.i4 4000 - IL_00a2: ldloc.2 - IL_00a3: ldstr " " - IL_00a8: ldloc.1 - IL_00a9: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_00ae: call string string::Concat(string, string, string) - IL_00b3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_00b8: nop - IL_00b9: leave IL_00be + } // end .try 2 + finally { // 2 + IL_017e: ldloc.s 10 + IL_0180: isinst [mscorlib]System.IDisposable + IL_0185: dup + IL_0186: stloc.s 11 + IL_0188: brfalse IL_0194 - } // end handler 0 - IL_00be: ret - } // end of method DeleteTask::DeleteFile + IL_018d: ldloc.s 11 + IL_018f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0194: endfinally + } // end handler 2 + IL_0195: nop + IL_0196: nop + IL_0197: nop + IL_0198: ldloc.2 + IL_0199: ldc.i4.1 + IL_019a: add + IL_019b: stloc.2 + IL_019c: ldloc.2 + IL_019d: ldloc.1 + IL_019e: ldlen + IL_019f: conv.i4 + IL_01a0: blt IL_000b - // method line 1201 - .method private hidebysig - instance default void DeleteDirectory (string path) cil managed + IL_01a5: ret + } // end of method FileSet::set_IncludesFiles + + // method line 1032 + .method public hidebysig specialname + instance default void set_ExcludesFiles (class NAnt.Core.Types.FileSet/ExcludesFile[] 'value') cil managed { - // Method begins at RVA 0x13fb8 - // Code size 45 (0x2d) - .maxstack 8 + // Method begins at RVA 0x15224 + // Code size 163 (0xa3) + .maxstack 4 + .locals init ( + class NAnt.Core.Types.FileSet/ExcludesFile V_0, + class NAnt.Core.Types.FileSet/ExcludesFile[] V_1, + int32 V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4 128 - IL_0007: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_000c: ldarg.0 - IL_000d: ldc.i4 2000 - IL_0012: ldstr "Deleting directory '{0}'." - IL_0017: ldc.i4.1 - IL_0018: newarr [mscorlib]System.Object - IL_001d: dup - IL_001e: ldc.i4.0 - IL_001f: ldarg.1 - IL_0020: stelem.ref - IL_0021: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0026: ldarg.1 - IL_0027: call void class [mscorlib]System.IO.Directory::Delete(string) - IL_002c: ret - } // end of method DeleteTask::DeleteDirectory - - .property instance class [mscorlib]System.IO.FileInfo File () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.DeleteTask::get_File () - .set instance default void NAnt.Core.Tasks.DeleteTask::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: stloc.1 + IL_0004: ldc.i4.0 + IL_0005: stloc.2 + IL_0006: br IL_0099 - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.DeleteTask::get_Directory () - .set instance default void NAnt.Core.Tasks.DeleteTask::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance bool IncludeEmptyDirs () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd - 69 72 73 00 00 ) // irs.. + IL_000b: ldloc.1 + IL_000c: ldloc.2 + IL_000d: ldelem.ref + IL_000e: stloc.0 + IL_000f: nop + IL_0010: ldloc.0 + IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined() + IL_0016: brfalse IL_0094 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() + IL_0021: brtrue IL_0094 - .get instance default bool NAnt.Core.Tasks.DeleteTask::get_IncludeEmptyDirs () - .set instance default void NAnt.Core.Tasks.DeleteTask::set_IncludeEmptyDirs (bool 'value') - } - .property instance class NAnt.Core.Types.FileSet DeleteFileSet () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + IL_0026: nop + IL_0027: nop + IL_0028: ldloc.0 + IL_0029: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns() + IL_002e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0033: stloc.s 4 + .try { // 0 + IL_0035: br IL_006b - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::get_DeleteFileSet () - .set instance default void NAnt.Core.Tasks.DeleteTask::set_DeleteFileSet (class NAnt.Core.Types.FileSet 'value') - } - .property instance bool Verbose () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 76 65 72 62 6F 73 65 00 00 ) // ...verbose.. + IL_003a: ldloc.s 4 + IL_003c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0041: stloc.3 + IL_0042: nop + IL_0043: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_0048: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004d: ldstr "Excluding=" + IL_0052: ldloc.3 + IL_0053: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0058: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_005d: ldarg.0 + IL_005e: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_0063: ldloc.3 + IL_0064: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0069: pop + IL_006a: nop + IL_006b: ldloc.s 4 + IL_006d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0072: brtrue IL_003a - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0077: leave IL_0093 - .get instance default bool NAnt.Core.Tasks.DeleteTask::get_Verbose () - .set instance default void NAnt.Core.Tasks.DeleteTask::set_Verbose (bool 'value') - } - } // end of class NAnt.Core.Tasks.DeleteTask -} + } // end .try 0 + finally { // 0 + IL_007c: ldloc.s 4 + IL_007e: isinst [mscorlib]System.IDisposable + IL_0083: dup + IL_0084: stloc.s 5 + IL_0086: brfalse IL_0092 -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit CopyTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 63 6F 70 79 00 00 ) // ...copy.. + IL_008b: ldloc.s 5 + IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0092: endfinally + } // end handler 0 + IL_0093: nop + IL_0094: nop + IL_0095: ldloc.2 + IL_0096: ldc.i4.1 + IL_0097: add + IL_0098: stloc.2 + IL_0099: ldloc.2 + IL_009a: ldloc.1 + IL_009b: ldlen + IL_009c: conv.i4 + IL_009d: blt IL_000b - .field private class [mscorlib]System.IO.FileInfo _sourceFile - .field private class [mscorlib]System.IO.FileInfo _toFile - .field private class [mscorlib]System.IO.DirectoryInfo _toDirectory - .field private bool _overwrite - .field private bool _flatten - .field private class NAnt.Core.Types.FileSet _fileset - .field private class NAnt.Core.Tasks.CopyTask/FileOperationMap _operationMap - .field private bool _includeEmptyDirs - .field private class NAnt.Core.Filters.FilterChain _filters - .field private class [mscorlib]System.Text.Encoding _inputEncoding - .field private class [mscorlib]System.Text.Encoding _outputEncoding + IL_00a2: ret + } // end of method FileSet::set_ExcludesFiles - // method line 1202 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1033 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_MostRecentLastWriteTimeFile () cil managed { - // Method begins at RVA 0x13fe8 - // Code size 72 (0x48) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::_fileset - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.Core.Tasks.CopyTask::_includeEmptyDirs - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.Task::'.ctor'() - IL_0018: nop - IL_0019: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_001e: brfalse IL_0035 + // Method begins at RVA 0x152e4 + // Code size 210 (0xd2) + .maxstack 5 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IO.FileInfo V_3, + class [mscorlib]System.IDisposable V_4, + class [mscorlib]System.IO.FileInfo V_5) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_000a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_000f: stloc.2 + .try { // 0 + IL_0010: br IL_00a1 - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperationMap::'.ctor'() - IL_002a: stfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_002f: nop - IL_0030: br IL_0047 + IL_0015: ldloc.2 + IL_0016: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_001b: stloc.1 + IL_001c: nop + IL_001d: ldloc.1 + IL_001e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0023: stloc.3 + IL_0024: ldloc.0 + IL_0025: brtrue IL_0039 - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: call class [mscorlib]System.StringComparer class [mscorlib]System.StringComparer::get_InvariantCultureIgnoreCase() - IL_003c: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperationMap::'.ctor'(class [mscorlib]System.StringComparer) - IL_0041: stfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_0046: nop - IL_0047: ret - } // end of method CopyTask::.ctor + IL_002a: ldloc.3 + IL_002b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0030: brfalse IL_0039 - // method line 1203 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.FileInfo get_SourceFile () cil managed - { - // Method begins at RVA 0x1403c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_sourceFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0035: nop + IL_0036: ldloc.3 + IL_0037: stloc.0 + IL_0038: nop + IL_0039: ldloc.3 + IL_003a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_003f: brtrue IL_0065 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_SourceFile + IL_0044: nop + IL_0045: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004f: ldstr "File '{0}' does not exist (and is not newer than {1})" + IL_0054: ldloc.1 + IL_0055: ldloc.0 + IL_0056: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_005b: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_0060: leave IL_00a1 - // method line 1204 - .method public virtual hidebysig newslot specialname - instance default void set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x14057 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_sourceFile - IL_0008: ret - } // end of method CopyTask::set_SourceFile + IL_0065: ldloc.0 + IL_0066: brfalse IL_00a0 - // method line 1205 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.FileInfo get_ToFile () cil managed - { - // Method begins at RVA 0x14064 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_toFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_006b: ldloc.3 + IL_006c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0071: ldloc.0 + IL_0072: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0077: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_007c: brfalse IL_00a0 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_ToFile + IL_0081: nop + IL_0082: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_0087: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_008c: ldstr "'{0}' was newer than {1}" + IL_0091: ldloc.1 + IL_0092: ldloc.0 + IL_0093: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0098: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_009d: ldloc.3 + IL_009e: stloc.0 + IL_009f: nop + IL_00a0: nop + IL_00a1: ldloc.2 + IL_00a2: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00a7: brtrue IL_0015 - // method line 1206 - .method public virtual hidebysig newslot specialname - instance default void set_ToFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x1407f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::_toFile - IL_0008: ret - } // end of method CopyTask::set_ToFile + IL_00ac: leave IL_00c7 - // method line 1207 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed - { - // Method begins at RVA 0x1408c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.CopyTask::_toDirectory - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_00b1: ldloc.2 + IL_00b2: isinst [mscorlib]System.IDisposable + IL_00b7: dup + IL_00b8: stloc.s 4 + IL_00ba: brfalse IL_00c6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_ToDirectory + IL_00bf: ldloc.s 4 + IL_00c1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c6: endfinally + } // end handler 0 + IL_00c7: ldloc.0 + IL_00c8: stloc.s 5 + IL_00ca: br IL_00cf - // method line 1208 - .method public virtual hidebysig newslot specialname - instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x140a7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.CopyTask::_toDirectory - IL_0008: ret - } // end of method CopyTask::set_ToDirectory + IL_00cf: ldloc.s 5 + IL_00d1: ret + } // end of method FileSet::get_MostRecentLastWriteTimeFile - // method line 1209 - .method public hidebysig specialname - instance default bool get_Overwrite () cil managed + // method line 1034 + .method public virtual hidebysig newslot + instance default object Clone () cil managed { - // Method begins at RVA 0x140b4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x153d4 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.Types.FileSet V_0, + object V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.CopyTask::_overwrite - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_Overwrite + IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance void class NAnt.Core.Types.FileSet::CopyTo(class NAnt.Core.Types.FileSet) + IL_000e: ldloc.0 + IL_000f: stloc.1 + IL_0010: br IL_0015 - // method line 1210 - .method public hidebysig specialname - instance default void set_Overwrite (bool 'value') cil managed - { - // Method begins at RVA 0x140cf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.CopyTask::_overwrite - IL_0008: ret - } // end of method CopyTask::set_Overwrite + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FileSet::Clone - // method line 1211 - .method public virtual hidebysig newslot specialname - instance default bool get_Flatten () cil managed + // method line 1035 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x140dc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x153f8 + // Code size 395 (0x18b) + .maxstack 2 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.CopyTask::_flatten - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance void class NAnt.Core.DataTypeBase::Initialize() + IL_0007: ldarg.0 + IL_0008: call instance bool class NAnt.Core.Types.FileSet::get_DefaultExcludes() + IL_000d: brfalse IL_018a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_Flatten + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_0019: ldstr "**/.svn" + IL_001e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0023: pop + IL_0024: ldarg.0 + IL_0025: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_002a: ldstr "**/.svn/**" + IL_002f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0034: pop + IL_0035: ldarg.0 + IL_0036: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_003b: ldstr "**/_svn" + IL_0040: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0045: pop + IL_0046: ldarg.0 + IL_0047: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_004c: ldstr "**/_svn/**" + IL_0051: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0056: pop + IL_0057: ldarg.0 + IL_0058: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_005d: ldstr "**/.git" + IL_0062: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0067: pop + IL_0068: ldarg.0 + IL_0069: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_006e: ldstr "**/.git/**" + IL_0073: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0078: pop + IL_0079: ldarg.0 + IL_007a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_007f: ldstr "**/.git*" + IL_0084: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0089: pop + IL_008a: ldarg.0 + IL_008b: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_0090: ldstr "**/.hg" + IL_0095: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_009a: pop + IL_009b: ldarg.0 + IL_009c: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_00a1: ldstr "**/.hg/**" + IL_00a6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00ab: pop + IL_00ac: ldarg.0 + IL_00ad: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_00b2: ldstr "**/.hg*" + IL_00b7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00bc: pop + IL_00bd: ldarg.0 + IL_00be: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_00c3: ldstr "**/SCCS" + IL_00c8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00cd: pop + IL_00ce: ldarg.0 + IL_00cf: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_00d4: ldstr "**/SCCS/**" + IL_00d9: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00de: pop + IL_00df: ldarg.0 + IL_00e0: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_00e5: ldstr "**/vssver.scc" + IL_00ea: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00ef: pop + IL_00f0: ldarg.0 + IL_00f1: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_00f6: ldstr "**/vssver2.scc" + IL_00fb: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0100: pop + IL_0101: ldarg.0 + IL_0102: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_0107: ldstr "**/_vti_cnf/**" + IL_010c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0111: pop + IL_0112: ldarg.0 + IL_0113: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_0118: ldstr "**/*~" + IL_011d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0122: pop + IL_0123: ldarg.0 + IL_0124: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_0129: ldstr "**/#*#" + IL_012e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0133: pop + IL_0134: ldarg.0 + IL_0135: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_013a: ldstr "**/.#*" + IL_013f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0144: pop + IL_0145: ldarg.0 + IL_0146: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_014b: ldstr "**/%*%" + IL_0150: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0155: pop + IL_0156: ldarg.0 + IL_0157: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_015c: ldstr "**/CVS" + IL_0161: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0166: pop + IL_0167: ldarg.0 + IL_0168: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_016d: ldstr "**/CVS/**" + IL_0172: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0177: pop + IL_0178: ldarg.0 + IL_0179: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_017e: ldstr "**/.cvsignore" + IL_0183: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0188: pop + IL_0189: nop + IL_018a: ret + } // end of method FileSet::Initialize - // method line 1212 - .method public virtual hidebysig newslot specialname - instance default void set_Flatten (bool 'value') cil managed + // method line 1036 + .method public virtual hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x140f7 + // Method begins at RVA 0x1558f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.CopyTask::_flatten + IL_0002: ldc.i4.0 + IL_0003: stfld bool NAnt.Core.Types.FileSet::_hasScanned IL_0008: ret - } // end of method CopyTask::set_Flatten + } // end of method FileSet::Reset - // method line 1213 - .method public hidebysig specialname - instance default bool get_IncludeEmptyDirs () cil managed + // method line 1037 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x14104 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1559c + // Code size 398 (0x18e) + .maxstack 3 .locals init ( - bool V_0) + class [mscorlib]System.Text.StringBuilder V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + string V_7) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.CopyTask::_includeEmptyDirs - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_000d: brtrue IL_008c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_IncludeEmptyDirs + IL_0012: nop + IL_0013: ldloc.0 + IL_0014: ldstr "Base path: {0}" + IL_0019: ldarg.0 + IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_001f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0024: pop + IL_0025: ldloc.0 + IL_0026: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() + IL_002b: pop + IL_002c: ldloc.0 + IL_002d: ldstr "AsIs:" + IL_0032: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_0037: pop + IL_0038: ldloc.0 + IL_0039: ldarg.0 + IL_003a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() + IL_003f: callvirt instance string object::ToString() + IL_0044: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_0049: pop + IL_004a: ldloc.0 + IL_004b: ldstr "Files:" + IL_0050: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_0055: pop + IL_0056: ldloc.0 + IL_0057: ldarg.0 + IL_0058: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_005d: callvirt instance string object::ToString() + IL_0062: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_0067: pop + IL_0068: ldloc.0 + IL_0069: ldstr "PathFiles:" + IL_006e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_0073: pop + IL_0074: ldloc.0 + IL_0075: ldarg.0 + IL_0076: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_007b: callvirt instance string object::ToString() + IL_0080: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_0085: pop + IL_0086: nop + IL_0087: br IL_017e - // method line 1214 - .method public hidebysig specialname - instance default void set_IncludeEmptyDirs (bool 'value') cil managed - { - // Method begins at RVA 0x1411f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.CopyTask::_includeEmptyDirs - IL_0008: ret - } // end of method CopyTask::set_IncludeEmptyDirs + IL_008c: nop + IL_008d: ldloc.0 + IL_008e: ldstr "IsEverythingIncluded: {0}" + IL_0093: ldarg.0 + IL_0094: call instance bool class NAnt.Core.Types.FileSet::get_IsEverythingIncluded() + IL_0099: box [mscorlib]System.Boolean + IL_009e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_00a3: pop + IL_00a4: ldloc.0 + IL_00a5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() + IL_00aa: pop + IL_00ab: ldloc.0 + IL_00ac: ldstr "Files:" + IL_00b1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) + IL_00b6: pop + IL_00b7: nop + IL_00b8: ldarg.0 + IL_00b9: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_00be: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00c3: stloc.2 + .try { // 0 + IL_00c4: br IL_00e6 - // method line 1215 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Types.FileSet get_CopyFileSet () cil managed - { - // Method begins at RVA 0x1412c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::_fileset - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00c9: ldloc.2 + IL_00ca: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00cf: stloc.1 + IL_00d0: nop + IL_00d1: ldloc.0 + IL_00d2: ldloc.1 + IL_00d3: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00d8: pop + IL_00d9: ldloc.0 + IL_00da: call string class [mscorlib]System.Environment::get_NewLine() + IL_00df: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00e4: pop + IL_00e5: nop + IL_00e6: ldloc.2 + IL_00e7: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00ec: brtrue IL_00c9 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_CopyFileSet + IL_00f1: leave IL_010a - // method line 1216 - .method public virtual hidebysig newslot specialname - instance default void set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x14147 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::_fileset - IL_0008: ret - } // end of method CopyTask::set_CopyFileSet + } // end .try 0 + finally { // 0 + IL_00f6: ldloc.2 + IL_00f7: isinst [mscorlib]System.IDisposable + IL_00fc: dup + IL_00fd: stloc.3 + IL_00fe: brfalse IL_0109 - // method line 1217 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Filters.FilterChain get_Filters () cil managed - { - // Method begins at RVA 0x14154 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Filters.FilterChain V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.CopyTask::_filters - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0103: ldloc.3 + IL_0104: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0109: endfinally + } // end handler 0 + IL_010a: ldloc.0 + IL_010b: ldstr "Dirs:" + IL_0110: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0115: pop + IL_0116: ldloc.0 + IL_0117: call string class [mscorlib]System.Environment::get_NewLine() + IL_011c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0121: pop + IL_0122: nop + IL_0123: ldarg.0 + IL_0124: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0129: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_012e: stloc.s 5 + .try { // 1 + IL_0130: br IL_0155 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_Filters + IL_0135: ldloc.s 5 + IL_0137: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_013c: stloc.s 4 + IL_013e: nop + IL_013f: ldloc.0 + IL_0140: ldloc.s 4 + IL_0142: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0147: pop + IL_0148: ldloc.0 + IL_0149: call string class [mscorlib]System.Environment::get_NewLine() + IL_014e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0153: pop + IL_0154: nop + IL_0155: ldloc.s 5 + IL_0157: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_015c: brtrue IL_0135 - // method line 1218 - .method public virtual hidebysig newslot specialname - instance default void set_Filters (class NAnt.Core.Filters.FilterChain 'value') cil managed - { - // Method begins at RVA 0x1416f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.CopyTask::_filters - IL_0008: ret - } // end of method CopyTask::set_Filters + IL_0161: leave IL_017d - // method line 1219 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_InputEncoding () cil managed - { - // Method begins at RVA 0x1417c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Text.Encoding V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_inputEncoding - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 1 + finally { // 1 + IL_0166: ldloc.s 5 + IL_0168: isinst [mscorlib]System.IDisposable + IL_016d: dup + IL_016e: stloc.s 6 + IL_0170: brfalse IL_017c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_InputEncoding + IL_0175: ldloc.s 6 + IL_0177: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_017c: endfinally + } // end handler 1 + IL_017d: nop + IL_017e: ldloc.0 + IL_017f: callvirt instance string object::ToString() + IL_0184: stloc.s 7 + IL_0186: br IL_018b - // method line 1220 - .method public hidebysig specialname - instance default void set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed - { - // Method begins at RVA 0x14197 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_inputEncoding - IL_0008: ret - } // end of method CopyTask::set_InputEncoding + IL_018b: ldloc.s 7 + IL_018d: ret + } // end of method FileSet::ToString - // method line 1221 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_OutputEncoding () cil managed + // method line 1038 + .method public hidebysig + instance default void AddPatternSet (class NAnt.Core.Types.PatternSet patternSet) cil managed { - // Method begins at RVA 0x141a4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Text.Encoding V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_outputEncoding - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_OutputEncoding + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. - // method line 1222 - .method public hidebysig specialname - instance default void set_OutputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed - { - // Method begins at RVA 0x141bf - // Code size 9 (0x9) + // Method begins at RVA 0x15754 + // Code size 36 (0x24) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::_outputEncoding - IL_0008: ret - } // end of method CopyTask::set_OutputEncoding - - // method line 1223 - .method family hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_FileCopyMap () cil managed - { - // Method begins at RVA 0x141cc - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_0007: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.Tasks.CopyTask/FileOperationMap::ConvertToHashtable() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CopyTask::get_FileCopyMap + IL_0002: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0007: ldarg.1 + IL_0008: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetIncludePatterns() + IL_000d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0012: ldarg.0 + IL_0013: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Excludes() + IL_0018: ldarg.1 + IL_0019: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetExcludePatterns() + IL_001e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0023: ret + } // end of method FileSet::AddPatternSet - // method line 1224 - .method family hidebysig specialname - instance default class NAnt.Core.Tasks.CopyTask/FileOperationMap get_OperationMap () cil managed + // method line 1039 + .method public virtual hidebysig newslot + instance default void Scan () cil managed { - // Method begins at RVA 0x141ec - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1577c + // Code size 369 (0x171) + .maxstack 4 .locals init ( - class NAnt.Core.Tasks.CopyTask/FileOperationMap V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + class [mscorlib]System.Exception V_6) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_0007: stloc.0 - IL_0008: br IL_000d + .try { // 2 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0008: ldarg.0 + IL_0009: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000e: callvirt instance void class NAnt.Core.DirectoryScanner::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0019: callvirt instance void class NAnt.Core.DirectoryScanner::Scan() + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_AsIs() + IL_0025: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_002a: stloc.1 + .try { // 0 + IL_002b: br IL_0071 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CopyTask::get_OperationMap + IL_0030: ldloc.1 + IL_0031: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0036: stloc.0 + IL_0037: nop + IL_0038: ldloc.0 + IL_0039: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_003e: brfalse IL_005c - // method line 1225 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x14208 - // Code size 321 (0x141) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() - IL_0007: brfalse IL_0038 - - IL_000c: ldarg.0 - IL_000d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_0012: brtrue IL_0038 - - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "'flatten' attribute requires that 'todir' has been set." - IL_0022: call !!0[] class [mscorlib]System.Array::Empty () - IL_0027: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_002c: ldarg.0 - IL_002d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0032: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0037: throw - IL_0038: ldarg.0 - IL_0039: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_003e: brtrue IL_0085 + IL_0043: nop + IL_0044: ldarg.0 + IL_0045: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_004a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_DirectoryNames() + IL_004f: ldloc.0 + IL_0050: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0055: pop + IL_0056: nop + IL_0057: br IL_0070 - IL_0043: ldarg.0 - IL_0044: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0049: brfalse IL_0085 + IL_005c: nop + IL_005d: ldarg.0 + IL_005e: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0063: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() + IL_0068: ldloc.0 + IL_0069: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_006e: pop + IL_006f: nop + IL_0070: nop + IL_0071: ldloc.1 + IL_0072: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0077: brtrue IL_0030 - IL_004e: ldarg.0 - IL_004f: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0054: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0059: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_005e: ldc.i4.0 - IL_005f: ble IL_0085 + IL_007c: leave IL_0095 - IL_0064: nop - IL_0065: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006a: ldstr "The 'todir' should be set when using the element to specify the list of files to be copied." - IL_006f: call !!0[] class [mscorlib]System.Array::Empty () - IL_0074: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0079: ldarg.0 - IL_007a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_007f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0084: throw - IL_0085: ldarg.0 - IL_0086: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_008b: brfalse IL_00d2 + } // end .try 0 + finally { // 0 + IL_0081: ldloc.1 + IL_0082: isinst [mscorlib]System.IDisposable + IL_0087: dup + IL_0088: stloc.2 + IL_0089: brfalse IL_0094 - IL_0090: ldarg.0 - IL_0091: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0096: brfalse IL_00d2 + IL_008e: ldloc.2 + IL_008f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0094: endfinally + } // end handler 0 + IL_0095: nop + IL_0096: ldarg.0 + IL_0097: call instance class NAnt.Core.PathScanner class NAnt.Core.Types.FileSet::get_PathFiles() + IL_009c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.PathScanner::Scan() + IL_00a1: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00a6: stloc.s 4 + .try { // 1 + IL_00a8: br IL_00c9 - IL_009b: ldarg.0 - IL_009c: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_00a1: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_00a6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00ab: ldc.i4.0 - IL_00ac: ble IL_00d2 + IL_00ad: ldloc.s 4 + IL_00af: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00b4: stloc.3 + IL_00b5: nop + IL_00b6: ldarg.0 + IL_00b7: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_00bc: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() + IL_00c1: ldloc.3 + IL_00c2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00c7: pop + IL_00c8: nop + IL_00c9: ldloc.s 4 + IL_00cb: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00d0: brtrue IL_00ad - IL_00b1: nop - IL_00b2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00b7: ldstr "The 'file' attribute and the element cannot be combined." - IL_00bc: call !!0[] class [mscorlib]System.Array::Empty () - IL_00c1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_00c6: ldarg.0 - IL_00c7: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00cc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00d1: throw - IL_00d2: ldarg.0 - IL_00d3: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_00d8: brtrue IL_0109 + IL_00d5: leave IL_00f1 - IL_00dd: ldarg.0 - IL_00de: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_00e3: brtrue IL_0109 + } // end .try 1 + finally { // 1 + IL_00da: ldloc.s 4 + IL_00dc: isinst [mscorlib]System.IDisposable + IL_00e1: dup + IL_00e2: stloc.s 5 + IL_00e4: brfalse IL_00f0 - IL_00e8: nop - IL_00e9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ee: ldstr "Either the 'tofile' or 'todir' attribute should be set." - IL_00f3: call !!0[] class [mscorlib]System.Array::Empty () - IL_00f8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_00fd: ldarg.0 - IL_00fe: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0103: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0108: throw - IL_0109: ldarg.0 - IL_010a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_010f: brfalse IL_0140 + IL_00e9: ldloc.s 5 + IL_00eb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f0: endfinally + } // end handler 1 + IL_00f1: ldarg.0 + IL_00f2: ldc.i4.1 + IL_00f3: stfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_00f8: nop + IL_00f9: leave IL_0114 + } // end .try 2 + catch class [mscorlib]System.Exception { // 2 + IL_00fe: stloc.s 6 + IL_0100: nop + IL_0101: ldstr "Error creating FileSet." + IL_0106: ldarg.0 + IL_0107: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_010c: ldloc.s 6 + IL_010e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0113: throw + } // end handler 2 IL_0114: ldarg.0 - IL_0115: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_011a: brfalse IL_0140 + IL_0115: call instance bool class NAnt.Core.Types.FileSet::get_FailOnEmpty() + IL_011a: brfalse IL_0170 - IL_011f: nop - IL_0120: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0125: ldstr "The 'tofile' and 'todir' attribute cannot both be set." - IL_012a: call !!0[] class [mscorlib]System.Array::Empty () - IL_012f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0134: ldarg.0 - IL_0135: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_013a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_013f: throw - IL_0140: ret - } // end of method CopyTask::Initialize + IL_011f: ldarg.0 + IL_0120: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0125: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() + IL_012a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_012f: brtrue IL_0170 - // method line 1226 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_0134: nop + IL_0135: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_013a: ldstr "NA1164" + IL_013f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0144: ldarg.0 + IL_0145: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_014a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.DirectoryScanner::get_BaseDirectory() + IL_014f: ldarg.0 + IL_0150: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0155: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() + IL_015a: callvirt instance string object::ToString() + IL_015f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0164: ldarg.0 + IL_0165: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_016a: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) + IL_016f: throw + IL_0170: ret + } // end of method FileSet::Scan + + // method line 1040 + .method family hidebysig + instance default void CopyTo (class NAnt.Core.Types.FileSet clone) cil managed { - // Method begins at RVA 0x14358 - // Code size 1161 (0x489) - .maxstack 7 - .locals init ( - class NAnt.Core.Tasks.CopyTask/FileOperation V_0, - class [mscorlib]System.IO.FileSystemInfo V_1, - class [mscorlib]System.IO.FileSystemInfo V_2, - class [mscorlib]System.IO.DirectoryInfo V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IO.FileInfo V_6, - string V_7, - string V_8, - class [mscorlib]System.IO.FileInfo V_9, - class NAnt.Core.Tasks.CopyTask/FileOperation V_10, - class [mscorlib]System.IDisposable V_11, - string V_12, - class [System]System.Collections.Specialized.StringEnumerator V_13, - class [mscorlib]System.IO.DirectoryInfo V_14, - string V_15, - string V_16, - class [mscorlib]System.Exception V_17, - class [mscorlib]System.IDisposable V_18) + // Method begins at RVA 0x15924 + // Code size 136 (0x88) + .maxstack 2 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.DataTypeBase::CopyTo(class NAnt.Core.DataTypeBase) + IL_0008: ldarg.1 + IL_0009: ldarg.0 + IL_000a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis + IL_000f: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Util.StringUtils::Clone(class [System]System.Collections.Specialized.StringCollection) + IL_0014: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis + IL_0019: ldarg.0 + IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory + IL_001f: brfalse IL_003c - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0018: ldarg.0 - IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_0034: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Clear() - IL_0039: ldarg.0 - IL_003a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_003f: brfalse IL_00fd + IL_0024: nop + IL_0025: ldarg.1 + IL_0026: ldarg.0 + IL_0027: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory + IL_002c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0031: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0036: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory + IL_003b: nop + IL_003c: ldarg.1 + IL_003d: ldarg.0 + IL_003e: ldfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0043: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0048: ldarg.1 + IL_0049: ldarg.0 + IL_004a: ldfld bool NAnt.Core.Types.FileSet::_failOnEmpty + IL_004f: stfld bool NAnt.Core.Types.FileSet::_failOnEmpty + IL_0054: ldarg.1 + IL_0055: ldarg.0 + IL_0056: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_005b: stfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_0060: ldarg.1 + IL_0061: ldarg.0 + IL_0062: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_0067: callvirt instance class NAnt.Core.PathScanner class NAnt.Core.PathScanner::Clone() + IL_006c: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_0071: ldarg.1 + IL_0072: ldarg.0 + IL_0073: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0078: callvirt instance object class NAnt.Core.DirectoryScanner::Clone() + IL_007d: castclass NAnt.Core.DirectoryScanner + IL_0082: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_0087: ret + } // end of method FileSet::CopyTo - IL_0044: nop - IL_0045: ldarg.0 - IL_0046: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_004b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0050: brfalse IL_0063 + // method line 1041 + .method assembly hidebysig + instance default string Find (string fileName) cil managed + { + // Method begins at RVA 0x159b8 + // Code size 133 (0x85) + .maxstack 4 + .locals init ( + valuetype [mscorlib]System.Globalization.CompareOptions V_0, + class [mscorlib]System.Globalization.CompareInfo V_1, + string V_2, + class [System]System.Collections.Specialized.StringEnumerator V_3, + string V_4, + class [mscorlib]System.IDisposable V_5) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000d: stloc.1 + IL_000e: ldarg.0 + IL_000f: call instance bool class NAnt.Core.Types.FileSet::get_CaseSensitive() + IL_0014: brtrue IL_001d - IL_0055: nop - IL_0056: ldarg.0 - IL_0057: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_005c: stloc.1 - IL_005d: nop - IL_005e: br IL_00a3 + IL_0019: ldloc.0 + IL_001a: ldc.i4.1 + IL_001b: or + IL_001c: stloc.0 + IL_001d: nop + IL_001e: ldarg.0 + IL_001f: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0024: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0029: stloc.3 + .try { // 0 + IL_002a: br IL_0054 - IL_0063: ldarg.0 - IL_0064: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_0069: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_006e: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0073: brfalse IL_0090 + IL_002f: ldloc.3 + IL_0030: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0035: stloc.2 + IL_0036: nop + IL_0037: ldloc.1 + IL_0038: ldloc.2 + IL_0039: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_003e: ldarg.1 + IL_003f: ldloc.0 + IL_0040: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0045: brtrue IL_0053 - IL_0078: nop - IL_0079: ldarg.0 - IL_007a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_007f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0084: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0089: stloc.1 - IL_008a: nop - IL_008b: br IL_00a3 + IL_004a: nop + IL_004b: ldloc.2 + IL_004c: stloc.s 4 + IL_004e: leave IL_0082 - IL_0090: nop - IL_0091: ldarg.0 - IL_0092: ldarg.0 - IL_0093: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_0098: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_009d: callvirt instance class NAnt.Core.BuildException class NAnt.Core.Tasks.CopyTask::CreateSourceFileNotFoundException(string) - IL_00a2: throw - IL_00a3: ldarg.0 - IL_00a4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_00a9: brfalse IL_00bc + IL_0053: nop + IL_0054: ldloc.3 + IL_0055: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_005a: brtrue IL_002f - IL_00ae: nop - IL_00af: ldarg.0 - IL_00b0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_00b5: stloc.2 - IL_00b6: nop - IL_00b7: br IL_00c5 + IL_005f: leave IL_007a - IL_00bc: nop - IL_00bd: ldarg.0 - IL_00be: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_00c3: stloc.2 - IL_00c4: nop - IL_00c5: ldloc.1 - IL_00c6: ldloc.2 - IL_00c7: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperation::'.ctor'(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) - IL_00cc: stloc.0 - IL_00cd: ldarg.0 - IL_00ce: call instance bool class NAnt.Core.Tasks.CopyTask::get_Overwrite() - IL_00d3: brtrue IL_00e3 + } // end .try 0 + finally { // 0 + IL_0064: ldloc.3 + IL_0065: isinst [mscorlib]System.IDisposable + IL_006a: dup + IL_006b: stloc.s 5 + IL_006d: brfalse IL_0079 - IL_00d8: ldloc.0 - IL_00d9: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::get_Outdated() - IL_00de: brfalse IL_00f7 + IL_0072: ldloc.s 5 + IL_0074: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0079: endfinally + } // end handler 0 + IL_007a: ldnull + IL_007b: stloc.s 4 + IL_007d: br IL_0082 - IL_00e3: nop - IL_00e4: ldloc.0 - IL_00e5: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::NormalizeTargetAttributes() - IL_00ea: ldarg.0 - IL_00eb: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_00f0: ldloc.0 - IL_00f1: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_00f6: nop - IL_00f7: nop - IL_00f8: br IL_0482 + IL_0082: ldloc.s 4 + IL_0084: ret + } // end of method FileSet::Find - IL_00fd: ldarg.0 - IL_00fe: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0103: callvirt instance bool class NAnt.Core.Types.FileSet::get_IsEverythingIncluded() - IL_0108: brfalse IL_0166 + // method line 1042 + .method famorassem hidebysig specialname + instance default bool get_IsEverythingIncluded () cil managed + { + // Method begins at RVA 0x15a5c + // Code size 39 (0x27) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_0007: brtrue IL_0014 - IL_010d: ldarg.0 - IL_010e: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() - IL_0113: brtrue IL_0166 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner + IL_001a: callvirt instance bool class NAnt.Core.DirectoryScanner::get_IsEverythingIncluded() + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_0118: ldarg.0 - IL_0119: call instance bool class NAnt.Core.Tasks.CopyTask::get_IncludeEmptyDirs() - IL_011e: brfalse IL_0166 + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_IsEverythingIncluded - IL_0123: ldarg.0 - IL_0124: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0129: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_012e: ldarg.0 - IL_012f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_0134: call bool class NAnt.Core.Tasks.CopyTask/FileOperation::TargetDirectoryDoesNotExist(class [mscorlib]System.IO.DirectoryInfo, class [mscorlib]System.IO.DirectoryInfo) - IL_0139: brfalse IL_0166 + // method line 1043 + .method public static hidebysig + default string FindMoreRecentLastWriteTime (string fileName, valuetype [mscorlib]System.DateTime targetLastWriteTime) cil managed + { + // Method begins at RVA 0x15a90 + // Code size 30 (0x1e) + .maxstack 2 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0, + string V_1) + IL_0000: nop + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_000e: pop + IL_000f: ldloc.0 + IL_0010: ldarg.1 + IL_0011: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0016: stloc.1 + IL_0017: br IL_001c - IL_013e: nop - IL_013f: ldarg.0 - IL_0140: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_0145: ldarg.0 - IL_0146: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_014b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0150: ldarg.0 - IL_0151: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_0156: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperation::'.ctor'(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) - IL_015b: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0160: nop - IL_0161: br IL_0482 + IL_001c: ldloc.1 + IL_001d: ret + } // end of method FileSet::FindMoreRecentLastWriteTime - IL_0166: nop - IL_0167: ldarg.0 - IL_0168: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_016d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0172: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0177: brtrue IL_019f - - IL_017c: nop - IL_017d: ldarg.0 - IL_017e: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0183: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0188: ldstr "**/*" - IL_018d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0192: pop - IL_0193: ldarg.0 - IL_0194: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0199: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_019e: nop - IL_019f: ldarg.0 - IL_01a0: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_01a5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_01aa: stloc.3 - IL_01ab: nop - IL_01ac: ldarg.0 - IL_01ad: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_01b2: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_01b7: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_01bc: stloc.s 5 + // method line 1044 + .method public static hidebysig + default string FindMoreRecentLastWriteTime (class [System]System.Collections.Specialized.StringCollection fileNames, valuetype [mscorlib]System.DateTime targetLastWriteTime) cil managed + { + // Method begins at RVA 0x15abc + // Code size 198 (0xc6) + .maxstack 5 + .locals init ( + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IO.FileInfo V_2, + string V_3, + class [mscorlib]System.IDisposable V_4) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0008: stloc.1 .try { // 0 - IL_01be: br IL_031d + IL_0009: br IL_0097 - IL_01c3: ldloc.s 5 - IL_01c5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_01ca: stloc.s 4 - IL_01cc: nop - IL_01cd: ldloc.s 4 - IL_01cf: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_01d4: stloc.s 6 - IL_01d6: ldloc.s 6 - IL_01d8: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_01dd: brfalse IL_030d + IL_000e: ldloc.1 + IL_000f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0014: stloc.0 + IL_0015: nop + IL_0016: ldloc.0 + IL_0017: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_001c: brfalse IL_0096 - IL_01e2: nop - IL_01e3: ldarg.0 - IL_01e4: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() - IL_01e9: brfalse IL_020e + IL_0021: nop + IL_0022: ldloc.0 + IL_0023: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0028: stloc.2 + IL_0029: ldloc.2 + IL_002a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_002f: brtrue IL_005c - IL_01ee: nop - IL_01ef: ldarg.0 - IL_01f0: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_01f5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01fa: ldloc.s 6 - IL_01fc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_0201: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0206: stloc.s 7 - IL_0208: nop - IL_0209: br IL_028d + IL_0034: nop + IL_0035: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_003a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003f: ldstr "File '{0}' no longer exist (so the target might need to be updated)" + IL_0044: ldloc.0 + IL_0045: ldarg.1 + IL_0046: box [mscorlib]System.DateTime + IL_004b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0050: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_0055: ldloc.0 + IL_0056: stloc.3 + IL_0057: leave IL_00c4 - IL_020e: nop - IL_020f: ldstr "" - IL_0214: stloc.s 8 - IL_0216: ldloc.s 6 - IL_0218: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_021d: ldloc.3 - IL_021e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0223: ldc.i4.0 - IL_0224: callvirt instance int32 string::IndexOf(string, int32) - IL_0229: ldc.i4.m1 - IL_022a: beq IL_024f + IL_005c: ldloc.2 + IL_005d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0062: ldarg.1 + IL_0063: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0068: brfalse IL_0095 - IL_022f: nop - IL_0230: ldloc.s 6 - IL_0232: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0237: ldloc.3 - IL_0238: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_023d: callvirt instance int32 string::get_Length() - IL_0242: callvirt instance string string::Substring(int32) - IL_0247: stloc.s 8 - IL_0249: nop - IL_024a: br IL_025a + IL_006d: nop + IL_006e: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_0073: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0078: ldstr "'{0}' was newer than {1}" + IL_007d: ldloc.0 + IL_007e: ldarg.1 + IL_007f: box [mscorlib]System.DateTime + IL_0084: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0089: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_008e: ldloc.0 + IL_008f: stloc.3 + IL_0090: leave IL_00c4 - IL_024f: nop - IL_0250: ldloc.s 6 - IL_0252: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_0257: stloc.s 8 - IL_0259: nop - IL_025a: ldloc.s 8 - IL_025c: ldc.i4.0 - IL_025d: callvirt instance char string::get_Chars(int32) - IL_0262: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0267: bne.un IL_0278 + IL_0095: nop + IL_0096: nop + IL_0097: ldloc.1 + IL_0098: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_009d: brtrue IL_000e - IL_026c: nop - IL_026d: ldloc.s 8 - IL_026f: ldc.i4.1 - IL_0270: callvirt instance string string::Substring(int32) - IL_0275: stloc.s 8 - IL_0277: nop - IL_0278: ldarg.0 - IL_0279: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_027e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0283: ldloc.s 8 - IL_0285: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_028a: stloc.s 7 - IL_028c: nop - IL_028d: ldloc.s 7 - IL_028f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0294: stloc.s 9 - IL_0296: ldloc.s 6 - IL_0298: ldloc.s 9 - IL_029a: newobj instance void class NAnt.Core.Tasks.CopyTask/FileOperation::'.ctor'(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) - IL_029f: stloc.s 10 - IL_02a1: ldarg.0 - IL_02a2: call instance bool class NAnt.Core.Tasks.CopyTask::get_Overwrite() - IL_02a7: brtrue IL_02b8 + IL_00a2: leave IL_00bd - IL_02ac: ldloc.s 10 - IL_02ae: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::get_Outdated() - IL_02b3: brfalse IL_0307 + } // end .try 0 + finally { // 0 + IL_00a7: ldloc.1 + IL_00a8: isinst [mscorlib]System.IDisposable + IL_00ad: dup + IL_00ae: stloc.s 4 + IL_00b0: brfalse IL_00bc - IL_02b8: nop - IL_02b9: ldarg.0 - IL_02ba: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_02bf: ldloc.s 9 - IL_02c1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02c6: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperationMap::ContainsKey(string) - IL_02cb: brfalse IL_02f0 + IL_00b5: ldloc.s 4 + IL_00b7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00bc: endfinally + } // end handler 0 + IL_00bd: ldnull + IL_00be: stloc.3 + IL_00bf: br IL_00c4 - IL_02d0: nop - IL_02d1: ldarg.0 - IL_02d2: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_02d7: ldloc.s 9 - IL_02d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02de: callvirt instance !1 class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::get_Item(!0) - IL_02e3: ldloc.s 6 - IL_02e5: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::UpdateSource(class [mscorlib]System.IO.FileSystemInfo) - IL_02ea: nop - IL_02eb: br IL_0306 + IL_00c4: ldloc.3 + IL_00c5: ret + } // end of method FileSet::FindMoreRecentLastWriteTime - IL_02f0: nop - IL_02f1: ldloc.s 10 - IL_02f3: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::NormalizeTargetAttributes() - IL_02f8: ldarg.0 - IL_02f9: ldfld class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::_operationMap - IL_02fe: ldloc.s 10 - IL_0300: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0305: nop - IL_0306: nop - IL_0307: nop - IL_0308: br IL_031c + // method line 1045 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x15ba0 + // Code size 21 (0x15) + .maxstack 8 + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger + IL_0014: ret + } // end of method FileSet::.cctor - IL_030d: nop - IL_030e: ldarg.0 - IL_030f: ldloc.s 6 - IL_0311: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0316: callvirt instance class NAnt.Core.BuildException class NAnt.Core.Tasks.CopyTask::CreateSourceFileNotFoundException(string) - IL_031b: throw - IL_031c: nop - IL_031d: ldloc.s 5 - IL_031f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0324: brtrue IL_01c3 + .property instance bool CaseSensitive () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 63 61 73 65 73 65 6E 73 69 74 69 76 65 // ...casesensitive + 00 00 ) // .. - IL_0329: leave IL_0345 + .get instance default bool NAnt.Core.Types.FileSet::get_CaseSensitive () + .set instance default void NAnt.Core.Types.FileSet::set_CaseSensitive (bool 'value') + } + .property instance bool FailOnEmpty () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 66 61 69 6C 6F 6E 65 6D 70 74 79 00 00 ) // ...failonempty.. - } // end .try 0 - finally { // 0 - IL_032e: ldloc.s 5 - IL_0330: isinst [mscorlib]System.IDisposable - IL_0335: dup - IL_0336: stloc.s 11 - IL_0338: brfalse IL_0344 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_033d: ldloc.s 11 - IL_033f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0344: endfinally - } // end handler 0 - IL_0345: ldarg.0 - IL_0346: call instance bool class NAnt.Core.Tasks.CopyTask::get_IncludeEmptyDirs() - IL_034b: brfalse IL_0481 + .get instance default bool NAnt.Core.Types.FileSet::get_FailOnEmpty () + .set instance default void NAnt.Core.Types.FileSet::set_FailOnEmpty (bool 'value') + } + .property instance bool DefaultExcludes () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0F 64 65 66 61 75 6C 74 65 78 63 6C 75 64 // ...defaultexclud + 65 73 00 00 ) // es.. - IL_0350: ldarg.0 - IL_0351: callvirt instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() - IL_0356: brtrue IL_0481 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_035b: nop - IL_035c: nop - IL_035d: ldarg.0 - IL_035e: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0363: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0368: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_036d: stloc.s 13 - .try { // 2 - IL_036f: br IL_0458 + .get instance default bool NAnt.Core.Types.FileSet::get_DefaultExcludes () + .set instance default void NAnt.Core.Types.FileSet::set_DefaultExcludes (bool 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 62 61 73 65 64 69 72 00 00 ) // ...basedir.. - IL_0374: ldloc.s 13 - IL_0376: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_037b: stloc.s 12 - IL_037d: nop - IL_037e: ldloc.s 12 - IL_0380: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0385: stloc.s 14 - IL_0387: ldloc.s 14 - IL_0389: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_038e: ldloc.3 - IL_038f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0394: callvirt instance int32 string::IndexOf(string) - IL_0399: ldc.i4.m1 - IL_039a: bne.un IL_03a5 + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::get_BaseDirectory () + .set instance default void NAnt.Core.Types.FileSet::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class [System]System.Collections.Specialized.StringCollection Includes () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_Includes () + } + .property instance class [System]System.Collections.Specialized.StringCollection Excludes () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_Excludes () + } + .property instance class [System]System.Collections.Specialized.StringCollection AsIs () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_AsIs () + } + .property instance class NAnt.Core.PathScanner PathFiles () + { + .get instance default class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::get_PathFiles () + } + .property instance class [System]System.Collections.Specialized.StringCollection FileNames () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_FileNames () + } + .property instance class [System]System.Collections.Specialized.StringCollection DirectoryNames () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_DirectoryNames () + } + .property instance class [System]System.Collections.Specialized.StringCollection ScannedDirectories () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::get_ScannedDirectories () + } + .property instance class NAnt.Core.Types.FileSet/Include[] SetIncludes () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 08 69 6E 63 6C 75 64 65 73 00 00 ) // ...includes.. - IL_039f: nop - IL_03a0: leave IL_0458 + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 1E 55 73 65 20 3C 69 6E 63 6C 75 64 65 3E // ...Use + 20 65 6C 65 6D 65 6E 74 20 69 6E 73 74 65 61 64 // element instead + 2E 00 00 00 ) // .... - IL_03a5: ldloc.s 14 - IL_03a7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_03ac: ldloc.3 - IL_03ad: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_03b2: callvirt instance int32 string::get_Length() - IL_03b7: callvirt instance string string::Substring(int32) - IL_03bc: stloc.s 15 - IL_03be: ldloc.s 15 - IL_03c0: callvirt instance int32 string::get_Length() - IL_03c5: ldc.i4.0 - IL_03c6: ble IL_03e9 + .set instance default void NAnt.Core.Types.FileSet::set_SetIncludes (class NAnt.Core.Types.FileSet/Include[] 'value') + } + .property instance class NAnt.Core.Types.FileSet/Include[] IncludeElements () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - IL_03cb: ldloc.s 15 - IL_03cd: ldc.i4.0 - IL_03ce: callvirt instance char string::get_Chars(int32) - IL_03d3: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_03d8: bne.un IL_03e9 + .set instance default void NAnt.Core.Types.FileSet::set_IncludeElements (class NAnt.Core.Types.FileSet/Include[] 'value') + } + .property instance class NAnt.Core.Types.FileSet/Exclude[] SetExcludes () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 08 65 78 63 6C 75 64 65 73 00 00 ) // ...excludes.. - IL_03dd: nop - IL_03de: ldloc.s 15 - IL_03e0: ldc.i4.1 - IL_03e1: callvirt instance string string::Substring(int32) - IL_03e6: stloc.s 15 - IL_03e8: nop - IL_03e9: ldarg.0 - IL_03ea: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_03ef: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_03f4: ldloc.s 15 - IL_03f6: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_03fb: stloc.s 16 - IL_03fd: ldloc.s 16 - IL_03ff: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0404: brtrue IL_0457 + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 1E 55 73 65 20 3C 65 78 63 6C 75 64 65 3E // ...Use + 20 65 6C 65 6D 65 6E 74 20 69 6E 73 74 65 61 64 // element instead + 2E 00 00 00 ) // .... - IL_0409: nop - .try { // 1 - IL_040a: nop - IL_040b: ldloc.s 16 - IL_040d: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0412: pop - IL_0413: nop - IL_0414: leave IL_043b + .set instance default void NAnt.Core.Types.FileSet::set_SetExcludes (class NAnt.Core.Types.FileSet/Exclude[] 'value') + } + .property instance class NAnt.Core.Types.FileSet/Exclude[] ExcludeElements () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_0419: stloc.s 17 - IL_041b: nop - IL_041c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0421: ldstr "Failed to create directory '{0}'." - IL_0426: ldloc.s 16 - IL_0428: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_042d: ldarg.0 - IL_042e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0433: ldloc.s 17 - IL_0435: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_043a: throw - } // end handler 1 - IL_043b: ldarg.0 - IL_043c: ldc.i4 2000 - IL_0441: ldstr "Created directory '{0}'." - IL_0446: ldc.i4.1 - IL_0447: newarr [mscorlib]System.Object - IL_044c: dup - IL_044d: ldc.i4.0 - IL_044e: ldloc.s 16 - IL_0450: stelem.ref - IL_0451: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0456: nop - IL_0457: nop - IL_0458: ldloc.s 13 - IL_045a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_045f: brtrue IL_0374 + .set instance default void NAnt.Core.Types.FileSet::set_ExcludeElements (class NAnt.Core.Types.FileSet/Exclude[] 'value') + } + .property instance class NAnt.Core.Types.FileSet/IncludesFile[] SetIncludesList () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 0C 69 6E 63 6C 75 64 65 73 4C 69 73 74 00 // ...includesList. + 00 ) // . - IL_0464: leave IL_0480 + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 1B 55 73 65 20 3C 69 6E 63 6C 75 64 65 73 // ...Use instead... + 00 ) // . - } // end .try 2 - finally { // 2 - IL_0469: ldloc.s 13 - IL_046b: isinst [mscorlib]System.IDisposable - IL_0470: dup - IL_0471: stloc.s 18 - IL_0473: brfalse IL_047f + .set instance default void NAnt.Core.Types.FileSet::set_SetIncludesList (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') + } + .property instance class NAnt.Core.Types.FileSet/IncludesFile[] IncludesFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 0C 69 6E 63 6C 75 64 65 73 66 69 6C 65 00 // ...includesfile. + 00 ) // . - IL_0478: ldloc.s 18 - IL_047a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_047f: endfinally - } // end handler 2 - IL_0480: nop - IL_0481: nop - IL_0482: ldarg.0 - IL_0483: callvirt instance void class NAnt.Core.Tasks.CopyTask::DoFileOperations() - IL_0488: ret - } // end of method CopyTask::ExecuteTask + .set instance default void NAnt.Core.Types.FileSet::set_IncludesFiles (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') + } + .property instance class NAnt.Core.Types.FileSet/ExcludesFile[] ExcludesFiles () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 0C 65 78 63 6C 75 64 65 73 66 69 6C 65 00 // ...excludesfile. + 00 ) // . - // method line 1227 - .method family virtual hidebysig newslot - instance default void DoFileOperations () cil managed + .set instance default void NAnt.Core.Types.FileSet::set_ExcludesFiles (class NAnt.Core.Types.FileSet/ExcludesFile[] 'value') + } + .property instance class [mscorlib]System.IO.FileInfo MostRecentLastWriteTimeFile () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet::get_MostRecentLastWriteTimeFile () + } + .property instance bool IsEverythingIncluded () + { + .get instance default bool NAnt.Core.Types.FileSet::get_IsEverythingIncluded () + } + .class nested public auto ansi beforefieldinit Exclude + extends NAnt.Core.Element + { + .field private string _pattern + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1046 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1483c - // Code size 940 (0x3ac) + // Method begins at RVA 0x15bb6 + // Code size 14 (0xe) .maxstack 8 - .locals init ( - int32 V_0, - int32 V_1, - int32 V_2, - class NAnt.Core.Tasks.CopyTask/FileOperation V_3, - valuetype NAnt.Core.Tasks.CopyTask/OperationType V_4, - string V_5, - string V_6, - class [mscorlib]System.Exception V_7) + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method Exclude::.ctor + + // method line 1047 + .method public virtual hidebysig newslot specialname + instance default string get_Pattern () cil managed + { + // Method begins at RVA 0x15bc8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_000c: ldc.i4.0 - IL_000d: bgt IL_0018 + IL_0002: ldfld string NAnt.Core.Types.FileSet/Exclude::_pattern + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: nop - IL_0013: br IL_03ab + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Exclude::get_Pattern - IL_0018: ldarg.0 - IL_0019: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_001e: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountFileOperations() - IL_0023: stloc.0 - IL_0024: ldarg.0 - IL_0025: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_002a: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountDirectoryOperations() - IL_002f: stloc.1 - IL_0030: ldloc.0 - IL_0031: ldc.i4.0 - IL_0032: ble IL_00cf + // method line 1048 + .method public virtual hidebysig newslot specialname + instance default void set_Pattern (string 'value') cil managed + { + // Method begins at RVA 0x15be3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.FileSet/Exclude::_pattern + IL_0008: ret + } // end of method Exclude::set_Pattern - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_003e: brfalse IL_008b + // method line 1049 + .method public virtual hidebysig newslot specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x15bf0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0043: nop - IL_0044: ldarg.0 - IL_0045: ldc.i4 3000 - IL_004a: ldstr "Copying {0} file{1} to '{2}'." - IL_004f: ldc.i4.3 - IL_0050: newarr [mscorlib]System.Object - IL_0055: dup - IL_0056: ldc.i4.0 - IL_0057: ldloc.0 - IL_0058: box [mscorlib]System.Int32 - IL_005d: stelem.ref - IL_005e: dup - IL_005f: ldc.i4.1 - IL_0060: ldloc.0 - IL_0061: ldc.i4.1 - IL_0062: beq IL_0071 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Exclude::get_IfDefined - IL_0067: ldstr "s" - IL_006c: br IL_0076 + // method line 1050 + .method public virtual hidebysig newslot specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15c0b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined + IL_0008: ret + } // end of method Exclude::set_IfDefined - IL_0071: ldstr "" - IL_0076: stelem.ref - IL_0077: dup - IL_0078: ldc.i4.2 - IL_0079: ldarg.0 - IL_007a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_007f: stelem.ref - IL_0080: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0085: nop - IL_0086: br IL_00ce + // method line 1051 + .method public virtual hidebysig newslot specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x15c18 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.FileSet/Exclude::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_008b: nop - IL_008c: ldarg.0 - IL_008d: ldc.i4 3000 - IL_0092: ldstr "Copying {0} file{1} to '{2}'." - IL_0097: ldc.i4.3 - IL_0098: newarr [mscorlib]System.Object - IL_009d: dup - IL_009e: ldc.i4.0 - IL_009f: ldloc.0 - IL_00a0: box [mscorlib]System.Int32 - IL_00a5: stelem.ref - IL_00a6: dup - IL_00a7: ldc.i4.1 - IL_00a8: ldloc.0 - IL_00a9: ldc.i4.1 - IL_00aa: beq IL_00b9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Exclude::get_UnlessDefined - IL_00af: ldstr "s" - IL_00b4: br IL_00be + // method line 1052 + .method public virtual hidebysig newslot specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15c33 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.FileSet/Exclude::_unlessDefined + IL_0008: ret + } // end of method Exclude::set_UnlessDefined - IL_00b9: ldstr "" - IL_00be: stelem.ref - IL_00bf: dup - IL_00c0: ldc.i4.2 - IL_00c1: ldarg.0 - IL_00c2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_00c7: stelem.ref - IL_00c8: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00cd: nop - IL_00ce: nop - IL_00cf: ldloc.1 - IL_00d0: ldc.i4.0 - IL_00d1: ble IL_016e + .property instance string Pattern () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - IL_00d6: nop - IL_00d7: ldarg.0 - IL_00d8: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_00dd: brfalse IL_012a + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_00e2: nop - IL_00e3: ldarg.0 - IL_00e4: ldc.i4 3000 - IL_00e9: ldstr "Copying {0} {1} to '{2}'." - IL_00ee: ldc.i4.3 - IL_00ef: newarr [mscorlib]System.Object - IL_00f4: dup - IL_00f5: ldc.i4.0 - IL_00f6: ldloc.1 - IL_00f7: box [mscorlib]System.Int32 - IL_00fc: stelem.ref - IL_00fd: dup - IL_00fe: ldc.i4.1 - IL_00ff: ldloc.1 - IL_0100: ldc.i4.1 - IL_0101: beq IL_0110 + .get instance default string NAnt.Core.Types.FileSet/Exclude::get_Pattern () + .set instance default void NAnt.Core.Types.FileSet/Exclude::set_Pattern (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_0106: ldstr "directories" - IL_010b: br IL_0115 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0110: ldstr "directory" - IL_0115: stelem.ref - IL_0116: dup - IL_0117: ldc.i4.2 - IL_0118: ldarg.0 - IL_0119: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_011e: stelem.ref - IL_011f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0124: nop - IL_0125: br IL_016d + .get instance default bool NAnt.Core.Types.FileSet/Exclude::get_IfDefined () + .set instance default void NAnt.Core.Types.FileSet/Exclude::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_012a: nop - IL_012b: ldarg.0 - IL_012c: ldc.i4 3000 - IL_0131: ldstr "Copying {0} {1} to '{2}'." - IL_0136: ldc.i4.3 - IL_0137: newarr [mscorlib]System.Object - IL_013c: dup - IL_013d: ldc.i4.0 - IL_013e: ldloc.1 - IL_013f: box [mscorlib]System.Int32 - IL_0144: stelem.ref - IL_0145: dup - IL_0146: ldc.i4.1 - IL_0147: ldloc.1 - IL_0148: ldc.i4.1 - IL_0149: beq IL_0158 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_014e: ldstr "directories" - IL_0153: br IL_015d + .get instance default bool NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined () + .set instance default void NAnt.Core.Types.FileSet/Exclude::set_UnlessDefined (bool 'value') + } + } // end of class Exclude - IL_0158: ldstr "directory" - IL_015d: stelem.ref - IL_015e: dup - IL_015f: ldc.i4.2 - IL_0160: ldarg.0 - IL_0161: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() - IL_0166: stelem.ref - IL_0167: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_016c: nop - IL_016d: nop - IL_016e: ldc.i4.0 - IL_016f: stloc.2 - IL_0170: br IL_039a + .class nested public auto ansi beforefieldinit Include + extends NAnt.Core.Types.FileSet/Exclude + { + .field private bool _asIs + .field private bool _fromPath - IL_0175: nop - IL_0176: ldarg.0 - IL_0177: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_017c: ldloc.2 - IL_017d: callvirt instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) - IL_0182: stloc.3 - IL_0183: ldloc.3 - IL_0184: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::SourceEqualsTarget() - IL_0189: brfalse IL_01b3 + // method line 1053 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x15c3d + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Types.FileSet/Exclude::'.ctor'() + IL_0006: ret + } // end of method Include::.ctor - IL_018e: nop - IL_018f: ldarg.0 - IL_0190: ldc.i4 2000 - IL_0195: ldstr "Skipping self-copy of '{0}'." - IL_019a: ldc.i4.1 - IL_019b: newarr [mscorlib]System.Object - IL_01a0: dup - IL_01a1: ldc.i4.0 - IL_01a2: ldloc.3 - IL_01a3: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_01a8: stelem.ref - IL_01a9: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_01ae: br IL_0396 + // method line 1054 + .method public hidebysig specialname + instance default bool get_AsIs () cil managed + { + // Method begins at RVA 0x15c48 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.FileSet/Include::_asIs + IL_0007: stloc.0 + IL_0008: br IL_000d - .try { // 0 - IL_01b3: nop - IL_01b4: ldarg.0 - IL_01b5: ldc.i4 2000 - IL_01ba: ldstr "Copying {0}." - IL_01bf: ldc.i4.1 - IL_01c0: newarr [mscorlib]System.Object - IL_01c5: dup - IL_01c6: ldc.i4.0 - IL_01c7: ldloc.3 - IL_01c8: callvirt instance string object::ToString() - IL_01cd: stelem.ref - IL_01ce: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_01d3: ldloc.3 - IL_01d4: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() - IL_01d9: stloc.s 4 - IL_01db: ldloc.s 4 - IL_01dd: switch ( - IL_01f3, - IL_0276, - IL_0304) - IL_01ee: br IL_035e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Include::get_AsIs - IL_01f3: ldloc.3 - IL_01f4: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_01f9: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_01fe: stloc.s 5 - IL_0200: ldloc.s 5 - IL_0202: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0207: brtrue IL_0231 + // method line 1055 + .method public hidebysig specialname + instance default void set_AsIs (bool 'value') cil managed + { + // Method begins at RVA 0x15c63 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.FileSet/Include::_asIs + IL_0008: ret + } // end of method Include::set_AsIs - IL_020c: nop - IL_020d: ldloc.s 5 - IL_020f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0214: pop - IL_0215: ldarg.0 - IL_0216: ldc.i4 2000 - IL_021b: ldstr "Created directory '{0}'." - IL_0220: ldc.i4.1 - IL_0221: newarr [mscorlib]System.Object - IL_0226: dup - IL_0227: ldc.i4.0 - IL_0228: ldloc.s 5 - IL_022a: stelem.ref - IL_022b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0230: nop - IL_0231: ldloc.3 - IL_0232: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0237: call bool class [mscorlib]System.IO.File::Exists(string) - IL_023c: brfalse IL_024e + // method line 1056 + .method public hidebysig specialname + instance default bool get_FromPath () cil managed + { + // Method begins at RVA 0x15c70 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.FileSet/Include::_fromPath + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0241: nop - IL_0242: ldloc.3 - IL_0243: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0248: call void class [mscorlib]System.IO.File::Delete(string) - IL_024d: nop - IL_024e: ldloc.3 - IL_024f: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_0254: ldloc.3 - IL_0255: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_025a: ldarg.0 - IL_025b: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() - IL_0260: ldarg.0 - IL_0261: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() - IL_0266: ldarg.0 - IL_0267: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() - IL_026c: call void class NAnt.Core.Util.FileUtils::CopyFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) - IL_0271: leave IL_0369 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Include::get_FromPath - IL_0276: ldloc.3 - IL_0277: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_027c: ldloc.3 - IL_027d: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_0282: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0287: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_028c: stloc.s 6 - IL_028e: ldloc.3 - IL_028f: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0294: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0299: brtrue IL_02cb + // method line 1057 + .method public hidebysig specialname + instance default void set_FromPath (bool 'value') cil managed + { + // Method begins at RVA 0x15c8b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.FileSet/Include::_fromPath + IL_0008: ret + } // end of method Include::set_FromPath - IL_029e: nop - IL_029f: ldloc.3 - IL_02a0: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_02a5: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_02aa: pop - IL_02ab: ldarg.0 - IL_02ac: ldc.i4 2000 - IL_02b1: ldstr "Created directory '{0}'." - IL_02b6: ldc.i4.1 - IL_02b7: newarr [mscorlib]System.Object - IL_02bc: dup - IL_02bd: ldc.i4.0 - IL_02be: ldloc.3 - IL_02bf: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_02c4: stelem.ref - IL_02c5: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_02ca: nop - IL_02cb: ldloc.s 6 - IL_02cd: call bool class [mscorlib]System.IO.File::Exists(string) - IL_02d2: brfalse IL_02e0 + // method line 1058 + .method public virtual hidebysig specialname + instance default string get_Pattern () cil managed + { + // Method begins at RVA 0x15c98 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02d7: nop - IL_02d8: ldloc.s 6 - IL_02da: call void class [mscorlib]System.IO.File::Delete(string) - IL_02df: nop - IL_02e0: ldloc.3 - IL_02e1: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_02e6: ldloc.s 6 - IL_02e8: ldarg.0 - IL_02e9: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() - IL_02ee: ldarg.0 - IL_02ef: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() - IL_02f4: ldarg.0 - IL_02f5: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() - IL_02fa: call void class NAnt.Core.Util.FileUtils::CopyFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) - IL_02ff: leave IL_0369 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Include::get_Pattern - IL_0304: ldloc.3 - IL_0305: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_030a: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_030f: brfalse IL_0336 + // method line 1059 + .method public virtual hidebysig specialname + instance default void set_Pattern (string 'value') cil managed + { + // Method begins at RVA 0x15cb3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet/Exclude::set_Pattern(string) + IL_0008: ret + } // end of method Include::set_Pattern - IL_0314: nop - IL_0315: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_031a: ldstr "Failed to copy {0}. Directory '{1}' already exists." - IL_031f: ldloc.3 - IL_0320: callvirt instance string object::ToString() - IL_0325: ldloc.3 - IL_0326: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_032b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0330: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0335: throw - IL_0336: ldloc.3 - IL_0337: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_033c: ldloc.3 - IL_033d: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0342: ldarg.0 - IL_0343: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() - IL_0348: ldarg.0 - IL_0349: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() - IL_034e: ldarg.0 - IL_034f: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() - IL_0354: call void class NAnt.Core.Util.FileUtils::CopyDirectory(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) - IL_0359: leave IL_0369 - - IL_035e: ldstr "Unrecognized copy operation. The copy task can only copy a file to file, file to directory, or directory to directory." - IL_0363: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0368: throw - IL_0369: nop - IL_036a: leave IL_0395 + // method line 1060 + .method public virtual hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x15cc0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Types.FileSet/Exclude::get_IfDefined() + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_036f: stloc.s 7 - IL_0371: nop - IL_0372: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0377: ldstr "Cannot copy {0}." - IL_037c: ldloc.3 - IL_037d: callvirt instance string object::ToString() - IL_0382: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0387: ldarg.0 - IL_0388: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_038d: ldloc.s 7 - IL_038f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0394: throw - } // end handler 0 - IL_0395: nop - IL_0396: ldloc.2 - IL_0397: ldc.i4.1 - IL_0398: add - IL_0399: stloc.2 - IL_039a: ldloc.2 - IL_039b: ldarg.0 - IL_039c: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_03a1: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_03a6: blt IL_0175 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Include::get_IfDefined - IL_03ab: ret - } // end of method CopyTask::DoFileOperations + // method line 1061 + .method public virtual hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15cdb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet/Exclude::set_IfDefined(bool) + IL_0008: ret + } // end of method Include::set_IfDefined - // method line 1228 - .method family virtual hidebysig newslot - instance default class NAnt.Core.BuildException CreateSourceFileNotFoundException (string sourceFile) cil managed + // method line 1062 + .method public virtual hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x14c10 - // Code size 36 (0x24) - .maxstack 3 + // Method begins at RVA 0x15ce8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.BuildException V_0) + bool V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldstr "Could not find file '{0}' to copy." - IL_000b: ldarg.1 - IL_000c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0011: ldarg.0 - IL_0012: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0017: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001c: stloc.0 - IL_001d: br IL_0022 - - IL_0022: ldloc.0 - IL_0023: ret - } // end of method CopyTask::CreateSourceFileNotFoundException - - .property instance class [mscorlib]System.IO.FileInfo SourceFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::get_SourceFile () - .set instance default void NAnt.Core.Tasks.CopyTask::set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo ToFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 6F 66 69 6C 65 00 00 ) // ...tofile.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Include::get_UnlessDefined - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.CopyTask::get_ToFile () - .set instance default void NAnt.Core.Tasks.CopyTask::set_ToFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 74 6F 64 69 72 00 00 ) // ...todir.. + // method line 1063 + .method public virtual hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15d03 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet/Exclude::set_UnlessDefined(bool) + IL_0008: ret + } // end of method Include::set_UnlessDefined - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.CopyTask::get_ToDirectory () - .set instance default void NAnt.Core.Tasks.CopyTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance bool Overwrite () + .property instance bool AsIs () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 6F 76 65 72 77 72 69 74 65 00 00 ) // ...overwrite.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 61 73 69 73 00 00 ) // ...asis.. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Tasks.CopyTask::get_Overwrite () - .set instance default void NAnt.Core.Tasks.CopyTask::set_Overwrite (bool 'value') + .get instance default bool NAnt.Core.Types.FileSet/Include::get_AsIs () + .set instance default void NAnt.Core.Types.FileSet/Include::set_AsIs (bool 'value') } - .property instance bool Flatten () + .property instance bool FromPath () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 66 72 6F 6D 70 61 74 68 00 00 ) // ...frompath.. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Tasks.CopyTask::get_Flatten () - .set instance default void NAnt.Core.Tasks.CopyTask::set_Flatten (bool 'value') + .get instance default bool NAnt.Core.Types.FileSet/Include::get_FromPath () + .set instance default void NAnt.Core.Types.FileSet/Include::set_FromPath (bool 'value') } - .property instance bool IncludeEmptyDirs () + .property instance string Pattern () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 69 6E 63 6C 75 64 65 65 6D 70 74 79 64 // ...includeemptyd - 69 72 73 00 00 ) // irs.. + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - .get instance default bool NAnt.Core.Tasks.CopyTask::get_IncludeEmptyDirs () - .set instance default void NAnt.Core.Tasks.CopyTask::set_IncludeEmptyDirs (bool 'value') + .get instance default string NAnt.Core.Types.FileSet/Include::get_Pattern () + .set instance default void NAnt.Core.Types.FileSet/Include::set_Pattern (string 'value') } - .property instance class NAnt.Core.Types.FileSet CopyFileSet () + .property instance bool IfDefined () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.CopyTask::get_CopyFileSet () - .set instance default void NAnt.Core.Tasks.CopyTask::set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.Core.Filters.FilterChain Filters () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.CopyTask::get_Filters () - .set instance default void NAnt.Core.Tasks.CopyTask::set_Filters (class NAnt.Core.Filters.FilterChain 'value') + .get instance default bool NAnt.Core.Types.FileSet/Include::get_IfDefined () + .set instance default void NAnt.Core.Types.FileSet/Include::set_IfDefined (bool 'value') } - .property instance class [mscorlib]System.Text.Encoding InputEncoding () + .property instance bool UnlessDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 69 6E 70 75 74 65 6E 63 6F 64 69 6E 67 // ...inputencoding - 00 00 ) // .. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::get_InputEncoding () - .set instance default void NAnt.Core.Tasks.CopyTask::set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') - } - .property instance class [mscorlib]System.Text.Encoding OutputEncoding () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 6F 75 74 70 75 74 65 6E 63 6F 64 69 6E // ...outputencodin - 67 00 00 ) // g.. + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.CopyTask::get_OutputEncoding () - .set instance default void NAnt.Core.Tasks.CopyTask::set_OutputEncoding (class [mscorlib]System.Text.Encoding 'value') + .get instance default bool NAnt.Core.Types.FileSet/Include::get_UnlessDefined () + .set instance default void NAnt.Core.Types.FileSet/Include::set_UnlessDefined (bool 'value') } - .property instance class [mscorlib]System.Collections.Hashtable FileCopyMap () - { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 72 46 69 6C 65 43 6F 70 79 4D 61 70 20 69 // ..rFileCopyMap i - 73 20 6E 6F 77 20 63 6F 6E 73 69 64 65 72 65 64 // s now considered - 20 61 20 72 65 61 64 6F 6E 6C 79 20 68 61 73 68 // a readonly hash - 74 61 62 6C 65 2E 20 54 6F 20 69 6E 74 65 72 61 // table. To intera - 63 74 20 77 69 74 68 20 66 69 6C 65 20 6F 70 65 // ct with file ope - 72 61 74 69 6F 6E 2C 20 75 73 65 20 74 68 65 20 // ration, use the - 4F 70 65 72 61 74 69 6F 6E 4D 61 70 20 70 72 6F // OperationMap pro - 70 65 72 74 79 00 00 ) // perty.. + } // end of class Include - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.Core.Tasks.CopyTask::get_FileCopyMap () - } - .property instance class NAnt.Core.Tasks.CopyTask/FileOperationMap OperationMap () - { - .get instance default class NAnt.Core.Tasks.CopyTask/FileOperationMap NAnt.Core.Tasks.CopyTask::get_OperationMap () - } - .class nested family auto ansi beforefieldinit FileDateInfo - extends [mscorlib]System.Object + .class nested public auto ansi beforefieldinit ExcludesFile + extends NAnt.Core.Element { - .field private valuetype [mscorlib]System.DateTime _lastWriteTime - .field private string _path - - // method line 1229 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.FileSystemInfo file) cil managed - { - // Method begins at RVA 0x14c40 - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0007: ldarg.1 - IL_0008: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_000d: call instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(string, valuetype [mscorlib]System.DateTime) - IL_0012: nop - IL_0013: ret - } // end of method FileDateInfo::.ctor + .field private bool _ifDefined + .field private bool _unlessDefined + .field private class [mscorlib]System.IO.FileInfo _patternFile - // method line 1230 + // method line 1064 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string path, valuetype [mscorlib]System.DateTime lastWriteTime) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x14c55 - // Code size 22 (0x16) + // Method begins at RVA 0x15d0d + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.FileSet/ExcludesFile::_ifDefined IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld string NAnt.Core.Tasks.CopyTask/FileDateInfo::_path - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.CopyTask/FileDateInfo::_lastWriteTime - IL_0015: ret - } // end of method FileDateInfo::.ctor + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method ExcludesFile::.ctor - // method line 1231 + // method line 1065 .method public hidebysig specialname - instance default string get_Path () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_Patterns () cil managed { - // Method begins at RVA 0x14c6c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x15d1c + // Code size 191 (0xbf) + .maxstack 3 .locals init ( - string V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + class [mscorlib]System.IO.StreamReader V_2, + string V_3, + class [mscorlib]System.Exception V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.CopyTask/FileDateInfo::_path - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileDateInfo::get_Path + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile() + IL_000d: brtrue IL_001a - // method line 1232 - .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_LastWriteTime () cil managed - { - // Method begins at RVA 0x14c88 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.CopyTask/FileDateInfo::_lastWriteTime - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0012: nop + IL_0013: ldloc.0 + IL_0014: stloc.1 + IL_0015: br IL_00bd - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileDateInfo::get_LastWriteTime + .try { // 1 + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile() + IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0026: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_002b: ldc.i4.1 + IL_002c: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_0031: stloc.2 + .try { // 0 + IL_0032: nop + IL_0033: ldloc.2 + IL_0034: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0039: stloc.3 + IL_003a: br IL_0072 - .property instance string Path () - { - .get instance default string NAnt.Core.Tasks.CopyTask/FileDateInfo::get_Path () - } - .property instance valuetype [mscorlib]System.DateTime LastWriteTime () - { - .get instance default valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.CopyTask/FileDateInfo::get_LastWriteTime () - } - } // end of class FileDateInfo + IL_003f: nop + IL_0040: ldloc.3 + IL_0041: callvirt instance string string::Trim() + IL_0046: stloc.3 + IL_0047: ldloc.3 + IL_0048: callvirt instance int32 string::get_Length() + IL_004d: brfalse IL_006a - .class nested family auto ansi beforefieldinit FileOperation - extends [mscorlib]System.Object - { - .field private class [mscorlib]System.IO.FileSystemInfo _source - .field private class [mscorlib]System.IO.FileSystemInfo _target - .field private class [mscorlib]System.StringComparer _comparer + IL_0052: ldloc.3 + IL_0053: ldc.i4.0 + IL_0054: callvirt instance char string::get_Chars(int32) + IL_0059: ldc.i4.s 0x23 + IL_005b: beq IL_006a - // method line 1233 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.FileSystemInfo source, class [mscorlib]System.IO.FileSystemInfo target) cil managed - { - // Method begins at RVA 0x14ca4 - // Code size 94 (0x5e) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 + IL_0060: nop + IL_0061: ldloc.0 + IL_0062: ldloc.3 + IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0068: pop + IL_0069: nop + IL_006a: ldloc.2 + IL_006b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0070: stloc.3 + IL_0071: nop + IL_0072: ldloc.3 + IL_0073: brtrue IL_003f - IL_000d: nop - IL_000e: ldstr "source" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.2 - IL_001a: brtrue IL_002b + IL_0078: nop + IL_0079: leave IL_008b - IL_001f: nop - IL_0020: ldstr "target" - IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002a: throw - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_0032: brfalse IL_004f + } // end .try 0 + finally { // 0 + IL_007e: ldloc.2 + IL_007f: brfalse IL_008a - IL_0037: ldarg.0 - IL_0038: ldarg.2 - IL_0039: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_003e: brfalse IL_004f + IL_0084: ldloc.2 + IL_0085: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_008a: endfinally + } // end handler 0 + IL_008b: ldloc.0 + IL_008c: stloc.1 + IL_008d: leave IL_00bd - IL_0043: nop - IL_0044: ldstr "Cannot transfer directory to file" - IL_0049: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_004e: throw - IL_004f: ldarg.0 - IL_0050: ldarg.1 - IL_0051: stfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_0056: ldarg.0 - IL_0057: ldarg.2 - IL_0058: stfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_005d: ret - } // end of method FileOperation::.ctor + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_0092: stloc.s 4 + IL_0094: nop + IL_0095: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_009a: ldstr "'{0}' list could not be opened." + IL_009f: ldarg.0 + IL_00a0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile() + IL_00a5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00aa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00af: ldarg.0 + IL_00b0: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00b5: ldloc.s 4 + IL_00b7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00bc: throw + } // end handler 1 + IL_00bd: ldloc.1 + IL_00be: ret + } // end of method ExcludesFile::get_Patterns - // method line 1234 - .method public hidebysig specialname - instance default class [mscorlib]System.StringComparer get_Comparer () cil managed + // method line 1066 + .method public virtual hidebysig newslot specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x14d10 + // Method begins at RVA 0x15e04 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.StringComparer V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::_comparer + IL_0002: ldfld bool NAnt.Core.Types.FileSet/ExcludesFile::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileOperation::get_Comparer + } // end of method ExcludesFile::get_IfDefined - // method line 1235 - .method public hidebysig specialname - instance default void set_Comparer (class [mscorlib]System.StringComparer 'value') cil managed + // method line 1067 + .method public virtual hidebysig newslot specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x14d2b + // Method begins at RVA 0x15e1f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::_comparer + IL_0003: stfld bool NAnt.Core.Types.FileSet/ExcludesFile::_ifDefined IL_0008: ret - } // end of method FileOperation::set_Comparer + } // end of method ExcludesFile::set_IfDefined - // method line 1236 - .method public hidebysig specialname - instance default string get_Source () cil managed + // method line 1068 + .method public virtual hidebysig newslot specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x14d38 - // Code size 20 (0x14) + // Method begins at RVA 0x15e2c + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.Core.Types.FileSet/ExcludesFile::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileOperation::get_Source + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExcludesFile::get_UnlessDefined - // method line 1237 + // method line 1069 + .method public virtual hidebysig newslot specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15e47 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.FileSet/ExcludesFile::_unlessDefined + IL_0008: ret + } // end of method ExcludesFile::set_UnlessDefined + + // method line 1070 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileSystemInfo get_SourceInfo () cil managed + instance default class [mscorlib]System.IO.FileInfo get_PatternFile () cil managed { - // Method begins at RVA 0x14d58 + // Method begins at RVA 0x15e54 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileSystemInfo V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::_patternFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileOperation::get_SourceInfo + } // end of method ExcludesFile::get_PatternFile - // method line 1238 + // method line 1071 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_SourceType () cil managed + instance default void set_PatternFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x14d74 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Type V_0) - IL_0000: nop + // Method begins at RVA 0x15e6f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::_patternFile + IL_0008: ret + } // end of method ExcludesFile::set_PatternFile - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileOperation::get_SourceType + .property instance class [System]System.Collections.Specialized.StringCollection Patterns () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet/ExcludesFile::get_Patterns () + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - // method line 1239 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.CopyTask/OperationType get_OperationType () cil managed - { - // Method begins at RVA 0x14d94 - // Code size 94 (0x5e) - .maxstack 2 - .locals init ( - valuetype NAnt.Core.Tasks.CopyTask/OperationType V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() - IL_0008: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_000d: brfalse IL_002b + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0012: ldarg.0 - IL_0013: ldarg.0 - IL_0014: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetInfo() - IL_0019: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_001e: brfalse IL_002b + .get instance default bool NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined () + .set instance default void NAnt.Core.Types.FileSet/ExcludesFile::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_0023: nop - IL_0024: ldc.i4.0 - IL_0025: stloc.0 - IL_0026: br IL_005c + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_002b: ldarg.0 - IL_002c: ldarg.0 - IL_002d: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() - IL_0032: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_0037: brfalse IL_0055 + .get instance default bool NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined () + .set instance default void NAnt.Core.Types.FileSet/ExcludesFile::set_UnlessDefined (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo PatternFile () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - IL_003c: ldarg.0 - IL_003d: ldarg.0 - IL_003e: call instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetInfo() - IL_0043: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_0048: brfalse IL_0055 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_004d: nop - IL_004e: ldc.i4.1 - IL_004f: stloc.0 - IL_0050: br IL_005c + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::get_PatternFile () + .set instance default void NAnt.Core.Types.FileSet/ExcludesFile::set_PatternFile (class [mscorlib]System.IO.FileInfo 'value') + } + } // end of class ExcludesFile - IL_0055: ldc.i4.2 - IL_0056: stloc.0 - IL_0057: br IL_005c + .class nested public auto ansi beforefieldinit IncludesFile + extends NAnt.Core.Types.FileSet/ExcludesFile + { + .field private bool _asIs + .field private bool _fromPath - IL_005c: ldloc.0 - IL_005d: ret - } // end of method FileOperation::get_OperationType + // method line 1072 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x15e79 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Types.FileSet/ExcludesFile::'.ctor'() + IL_0006: ret + } // end of method IncludesFile::.ctor - // method line 1240 + // method line 1073 .method public hidebysig specialname - instance default bool get_Outdated () cil managed + instance default bool get_AsIs () cil managed { - // Method begins at RVA 0x14e00 - // Code size 66 (0x42) - .maxstack 2 + // Method begins at RVA 0x15e84 + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0008: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_000d: brtrue IL_0039 - - IL_0012: ldarg.0 - IL_0013: ldarg.0 - IL_0014: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0019: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_001e: brfalse IL_0036 - - IL_0023: ldarg.0 - IL_0024: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_0029: ldarg.0 - IL_002a: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_002f: call bool class NAnt.Core.Tasks.CopyTask/FileOperation::TargetIsOutdated(class [mscorlib]System.IO.FileSystemInfo, class [mscorlib]System.IO.FileSystemInfo) - IL_0034: br.s IL_0037 - - IL_0036: ldc.i4.0 - IL_0037: br.s IL_003a + IL_0002: ldfld bool NAnt.Core.Types.FileSet/IncludesFile::_asIs + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0039: ldc.i4.1 - IL_003a: stloc.0 - IL_003b: br IL_0040 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method IncludesFile::get_AsIs - IL_0040: ldloc.0 - IL_0041: ret - } // end of method FileOperation::get_Outdated + // method line 1074 + .method public hidebysig specialname + instance default void set_AsIs (bool 'value') cil managed + { + // Method begins at RVA 0x15e9f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.FileSet/IncludesFile::_asIs + IL_0008: ret + } // end of method IncludesFile::set_AsIs - // method line 1241 + // method line 1075 .method public hidebysig specialname - instance default string get_Target () cil managed + instance default bool get_FromPath () cil managed { - // Method begins at RVA 0x14e50 - // Code size 20 (0x14) + // Method begins at RVA 0x15eac + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.Core.Types.FileSet/IncludesFile::_fromPath + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileOperation::get_Target + IL_000d: ldloc.0 + IL_000e: ret + } // end of method IncludesFile::get_FromPath - // method line 1242 + // method line 1076 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileSystemInfo get_TargetInfo () cil managed + instance default void set_FromPath (bool 'value') cil managed + { + // Method begins at RVA 0x15ec7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.FileSet/IncludesFile::_fromPath + IL_0008: ret + } // end of method IncludesFile::set_FromPath + + // method line 1077 + .method public virtual hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x14e70 + // Method begins at RVA 0x15ed4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileSystemInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target + IL_0002: call instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileOperation::get_TargetInfo + } // end of method IncludesFile::get_IfDefined - // method line 1243 - .method public hidebysig specialname - instance default class [mscorlib]System.Type get_TargetType () cil managed + // method line 1078 + .method public virtual hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x14e8c - // Code size 20 (0x14) + // Method begins at RVA 0x15eef + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet/ExcludesFile::set_IfDefined(bool) + IL_0008: ret + } // end of method IncludesFile::set_IfDefined + + // method line 1079 + .method public virtual hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x15efc + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: call instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileOperation::get_TargetType + IL_000d: ldloc.0 + IL_000e: ret + } // end of method IncludesFile::get_UnlessDefined - // method line 1244 - .method public hidebysig - instance default void NormalizeTargetAttributes () cil managed + // method line 1080 + .method public virtual hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x14eac - // Code size 79 (0x4f) - .maxstack 2 + // Method begins at RVA 0x15f17 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0008: call instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::IsFileSystemType (class [mscorlib]System.IO.FileSystemInfo) - IL_000d: brfalse IL_004e + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Types.FileSet/ExcludesFile::set_UnlessDefined(bool) + IL_0008: ret + } // end of method IncludesFile::set_UnlessDefined - IL_0012: ldarg.0 - IL_0013: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0018: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001d: brfalse IL_004e + .property instance bool AsIs () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 61 73 69 73 00 00 ) // ...asis.. - IL_0022: ldarg.0 - IL_0023: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0028: callvirt instance valuetype [mscorlib]System.IO.FileAttributes class [mscorlib]System.IO.FileSystemInfo::get_Attributes() - IL_002d: ldc.i4 128 - IL_0032: beq IL_004e + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_003e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0043: ldc.i4 128 - IL_0048: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_004d: nop - IL_004e: ret - } // end of method FileOperation::NormalizeTargetAttributes + .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_AsIs () + .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_AsIs (bool 'value') + } + .property instance bool FromPath () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 66 72 6F 6D 70 61 74 68 00 00 ) // ...frompath.. - // method line 1245 - .method public hidebysig - instance default bool SourceEqualsTarget () cil managed + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_FromPath () + .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_FromPath (bool 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_IfDefined () + .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.FileSet/IncludesFile::get_UnlessDefined () + .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_UnlessDefined (bool 'value') + } + } // end of class IncludesFile + + } // end of class NAnt.Core.Types.FileSet +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit XsltExtensionObject + extends NAnt.Core.Element + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 13 78 73 6C 74 65 78 74 65 6E 73 69 6F 6E // ...xsltextension + 6F 62 6A 65 63 74 00 00 ) // object.. + + .field private string _namespaceUri + .field private string _typeName + .field private class [mscorlib]System.IO.FileInfo _assemblyPath + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1081 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x14f08 - // Code size 45 (0x2d) - .maxstack 3 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::_comparer - IL_0007: ldarg.0 - IL_0008: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_000d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + // Method begins at RVA 0x15f21 + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri + IL_000b: ldarg.0 + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined IL_0012: ldarg.0 - IL_0013: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0018: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001d: callvirt instance int32 class [mscorlib]System.StringComparer::Compare(string, string) - IL_0022: ldc.i4.0 - IL_0023: ceq - IL_0025: stloc.0 - IL_0026: br IL_002b - - IL_002b: ldloc.0 - IL_002c: ret - } // end of method FileOperation::SourceEqualsTarget + IL_0013: call instance void class NAnt.Core.Element::'.ctor'() + IL_0018: nop + IL_0019: ret + } // end of method XsltExtensionObject::.ctor - // method line 1246 - .method public hidebysig - instance default bool SourceIsIdenticalToTarget () cil managed + // method line 1082 + .method public hidebysig specialname + instance default string get_NamespaceUri () cil managed { - // Method begins at RVA 0x14f44 - // Code size 37 (0x25) - .maxstack 3 + // Method begins at RVA 0x15f3c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: ldarg.0 - IL_000d: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_target - IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0017: ldc.i4.2 - IL_0018: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) - IL_001d: stloc.0 - IL_001e: br IL_0023 + IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0023: ldloc.0 - IL_0024: ret - } // end of method FileOperation::SourceIsIdenticalToTarget + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltExtensionObject::get_NamespaceUri - // method line 1247 - .method public hidebysig - instance default void UpdateSource (class [mscorlib]System.IO.FileSystemInfo newSource) cil managed + // method line 1083 + .method public hidebysig specialname + instance default void set_NamespaceUri (string 'value') cil managed { - // Method begins at RVA 0x14f75 - // Code size 38 (0x26) + // Method begins at RVA 0x15f57 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_0007: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_000c: ldarg.1 - IL_000d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0012: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0017: brfalse IL_0025 - - IL_001c: nop - IL_001d: ldarg.0 - IL_001e: ldarg.1 - IL_001f: stfld class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::_source - IL_0024: nop - IL_0025: ret - } // end of method FileOperation::UpdateSource + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri + IL_0008: ret + } // end of method XsltExtensionObject::set_NamespaceUri - // method line 1248 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 1084 + .method public hidebysig specialname + instance default string get_TypeName () cil managed { - // Method begins at RVA 0x14f9c - // Code size 31 (0x1f) - .maxstack 3 + // Method begins at RVA 0x15f64 + // Code size 15 (0xf) + .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldstr "'{0}' to '{1}'" - IL_0006: ldarg.0 - IL_0007: call instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0012: call string string::Format(string, object, object) - IL_0017: stloc.0 - IL_0018: br IL_001d + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_typeName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001d: ldloc.0 - IL_001e: ret - } // end of method FileOperation::ToString + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltExtensionObject::get_TypeName - // method line 1249 - .method public static hidebysig - default bool TargetIsOutdated (class [mscorlib]System.IO.FileSystemInfo source, class [mscorlib]System.IO.FileSystemInfo target) cil managed + // method line 1085 + .method public hidebysig specialname + instance default void set_TypeName (string 'value') cil managed { - // Method begins at RVA 0x14fc8 - // Code size 40 (0x28) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x15f7f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0007: brfalse IL_001f - - IL_000c: ldarg.0 - IL_000d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0012: ldarg.1 - IL_0013: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0018: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_001d: br.s IL_0020 - - IL_001f: ldc.i4.1 - IL_0020: stloc.0 - IL_0021: br IL_0026 - - IL_0026: ldloc.0 - IL_0027: ret - } // end of method FileOperation::TargetIsOutdated + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_typeName + IL_0008: ret + } // end of method XsltExtensionObject::set_TypeName - // method line 1250 - .method public static hidebysig - default bool TargetDirectoryDoesNotExist (class [mscorlib]System.IO.DirectoryInfo source, class [mscorlib]System.IO.DirectoryInfo target) cil managed + // method line 1086 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed { - // Method begins at RVA 0x14ffc - // Code size 46 (0x2e) - .maxstack 3 + // Method begins at RVA 0x15f8c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0007: brtrue IL_0014 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::_assemblyPath + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldc.i4.1 - IL_000e: stloc.0 - IL_000f: br IL_002c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltExtensionObject::get_AssemblyPath - IL_0014: ldarg.0 - IL_0015: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001a: ldarg.1 - IL_001b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0020: ldc.i4.3 - IL_0021: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) - IL_0026: stloc.0 - IL_0027: br IL_002c + // method line 1087 + .method public hidebysig specialname + instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x15fa7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::_assemblyPath + IL_0008: ret + } // end of method XsltExtensionObject::set_AssemblyPath - IL_002c: ldloc.0 - IL_002d: ret - } // end of method FileOperation::TargetDirectoryDoesNotExist + // method line 1088 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x15fb4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1251 - .method private hidebysig - instance default bool IsFileSystemType<(class [mscorlib]System.IO.FileSystemInfo) TFileSystemInfo> (class [mscorlib]System.IO.FileSystemInfo item) cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltExtensionObject::get_IfDefined + + // method line 1089 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x15038 - // Code size 30 (0x1e) - .maxstack 2 + // Method begins at RVA 0x15fcf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined + IL_0008: ret + } // end of method XsltExtensionObject::set_IfDefined + + // method line 1090 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x15fdc + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0007: ldtoken !!TFileSystemInfo - IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0011: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0016: stloc.0 - IL_0017: br IL_001c + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001c: ldloc.0 - IL_001d: ret - } // end of method FileOperation::IsFileSystemType + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltExtensionObject::get_UnlessDefined - .property instance class [mscorlib]System.StringComparer Comparer () - { - .get instance default class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperation::get_Comparer () - .set instance default void NAnt.Core.Tasks.CopyTask/FileOperation::set_Comparer (class [mscorlib]System.StringComparer 'value') - } - .property instance string Source () - { - .get instance default string NAnt.Core.Tasks.CopyTask/FileOperation::get_Source () - } - .property instance class [mscorlib]System.IO.FileSystemInfo SourceInfo () - { - .get instance default class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo () - } - .property instance class [mscorlib]System.Type SourceType () - { - .get instance default class [mscorlib]System.Type NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceType () - } - .property instance valuetype NAnt.Core.Tasks.CopyTask/OperationType OperationType () + // method line 1091 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15ff7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined + IL_0008: ret + } // end of method XsltExtensionObject::set_UnlessDefined + + // method line 1092 + .method public hidebysig + instance default object CreateInstance () cil managed + { + // Method begins at RVA 0x16004 + // Code size 217 (0xd9) + .maxstack 4 + .locals init ( + object V_0, + class [mscorlib]System.Reflection.Assembly V_1, + class [mscorlib]System.Exception V_2, + object V_3) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_003d + + IL_0011: nop + IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0017: ldstr "NA1166" + IL_001c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0021: ldarg.0 + IL_0022: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() + IL_0027: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: ldarg.0 + IL_0032: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0037: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_003c: throw + IL_003d: ldnull + IL_003e: stloc.0 + .try { // 0 + IL_003f: nop + IL_0040: ldarg.0 + IL_0041: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() + IL_0046: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004b: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_0050: stloc.1 + IL_0051: ldloc.1 + IL_0052: ldarg.0 + IL_0053: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() + IL_0058: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string) + IL_005d: stloc.0 + IL_005e: ldloc.0 + IL_005f: brtrue IL_0096 + + IL_0064: nop + IL_0065: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_006a: ldstr "NA1168" + IL_006f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0074: ldarg.0 + IL_0075: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() + IL_007a: ldarg.0 + IL_007b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() + IL_0080: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0085: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_008a: ldarg.0 + IL_008b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0090: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0095: throw + IL_0096: nop + IL_0097: leave IL_00d0 + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_009c: stloc.2 + IL_009d: nop + IL_009e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a3: ldstr "NA1167" + IL_00a8: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00ad: ldarg.0 + IL_00ae: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() + IL_00b3: ldarg.0 + IL_00b4: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() + IL_00b9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00be: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00c3: ldarg.0 + IL_00c4: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00c9: ldloc.2 + IL_00ca: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00cf: throw + } // end handler 0 + IL_00d0: ldloc.0 + IL_00d1: stloc.3 + IL_00d2: br IL_00d7 + + IL_00d7: ldloc.3 + IL_00d8: ret + } // end of method XsltExtensionObject::CreateInstance + + .property instance string NamespaceUri () { - .get instance default valuetype NAnt.Core.Tasks.CopyTask/OperationType NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6E 61 6D 65 73 70 61 63 65 75 72 69 00 // ...namespaceuri. + 00 ) // . + + .get instance default string NAnt.Core.Types.XsltExtensionObject::get_NamespaceUri () + .set instance default void NAnt.Core.Types.XsltExtensionObject::set_NamespaceUri (string 'value') } - .property instance bool Outdated () + .property instance string TypeName () { - .get instance default bool NAnt.Core.Tasks.CopyTask/FileOperation::get_Outdated () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 74 79 70 65 6E 61 6D 65 01 00 54 02 08 // ...typename..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Types.XsltExtensionObject::get_TypeName () + .set instance default void NAnt.Core.Types.XsltExtensionObject::set_TypeName (string 'value') } - .property instance string Target () + .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () { - .get instance default string NAnt.Core.Tasks.CopyTask/FileOperation::get_Target () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath () + .set instance default void NAnt.Core.Types.XsltExtensionObject::set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class [mscorlib]System.IO.FileSystemInfo TargetInfo () + .property instance bool IfDefined () { - .get instance default class [mscorlib]System.IO.FileSystemInfo NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetInfo () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_IfDefined () + .set instance default void NAnt.Core.Types.XsltExtensionObject::set_IfDefined (bool 'value') } - .property instance class [mscorlib]System.Type TargetType () + .property instance bool UnlessDefined () { - .get instance default class [mscorlib]System.Type NAnt.Core.Tasks.CopyTask/FileOperation::get_TargetType () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_UnlessDefined () + .set instance default void NAnt.Core.Types.XsltExtensionObject::set_UnlessDefined (bool 'value') } - } // end of class FileOperation + } // end of class NAnt.Core.Types.XsltExtensionObject +} - .class nested family auto ansi beforefieldinit FileOperationMap - extends class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2 +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit XmlNamespace + extends NAnt.Core.Element { - .field private class [mscorlib]System.StringComparer _stringComparer + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 6E 61 6D 65 73 70 61 63 65 00 00 ) // ...namespace.. - // method line 1252 + .field private string _prefix + .field private string _uri + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1093 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x15062 - // Code size 24 (0x18) + // Method begins at RVA 0x160fc + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call class [mscorlib]System.StringComparer class [mscorlib]System.StringComparer::get_InvariantCulture() - IL_0006: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::'.ctor'(class [mscorlib]System.Collections.Generic.IEqualityComparer`1) - IL_000b: nop - IL_000c: ldarg.0 - IL_000d: call class [mscorlib]System.StringComparer class [mscorlib]System.StringComparer::get_InvariantCulture() - IL_0012: stfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer - IL_0017: ret - } // end of method FileOperationMap::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.XmlNamespace::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method XmlNamespace::.ctor - // method line 1253 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.StringComparer comparer) cil managed + // method line 1094 + .method public hidebysig specialname + instance default string get_Prefix () cil managed { - // Method begins at RVA 0x1507b - // Code size 16 (0x10) + // Method begins at RVA 0x1610c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.XmlNamespace::_prefix + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlNamespace::get_Prefix + + // method line 1095 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed + { + // Method begins at RVA 0x16127 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::'.ctor'(class [mscorlib]System.Collections.Generic.IEqualityComparer`1) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: stfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer - IL_000f: ret - } // end of method FileOperationMap::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.XmlNamespace::_prefix + IL_0008: ret + } // end of method XmlNamespace::set_Prefix - // method line 1254 - .method public hidebysig - instance default bool ContainsKey (string key) cil managed + // method line 1096 + .method public hidebysig specialname + instance default string get_Uri () cil managed { - // Method begins at RVA 0x1508c - // Code size 40 (0x28) - .maxstack 2 + // Method begins at RVA 0x16134 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Generic.IDictionary`2 class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::get_Dictionary() - IL_0007: brfalse IL_001f - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.Collections.Generic.IDictionary`2 class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::get_Dictionary() - IL_0013: ldarg.1 - IL_0014: callvirt instance bool class [mscorlib]System.Collections.Generic.IDictionary`2::ContainsKey(!0) - IL_0019: stloc.0 - IL_001a: br IL_0026 + IL_0002: ldfld string NAnt.Core.Types.XmlNamespace::_uri + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001f: ldc.i4.0 - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlNamespace::get_Uri - IL_0026: ldloc.0 - IL_0027: ret - } // end of method FileOperationMap::ContainsKey + // method line 1097 + .method public hidebysig specialname + instance default void set_Uri (string 'value') cil managed + { + // Method begins at RVA 0x1614f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.XmlNamespace::_uri + IL_0008: ret + } // end of method XmlNamespace::set_Uri - // method line 1255 - .method public hidebysig - instance default int32 CountDirectoryOperations () cil managed + // method line 1098 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x150c0 - // Code size 75 (0x4b) - .maxstack 2 + // Method begins at RVA 0x1615c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0, - int32 V_1, - int32 V_2) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldc.i4.0 - IL_0004: stloc.1 - IL_0005: br IL_0036 - - IL_000a: nop - IL_000b: ldarg.0 - IL_000c: ldloc.1 - IL_000d: call instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) - IL_0012: callvirt instance class [mscorlib]System.Type class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceType() - IL_0017: ldtoken [mscorlib]System.IO.DirectoryInfo - IL_001c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0021: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0026: brfalse IL_0031 - - IL_002b: nop - IL_002c: ldloc.0 - IL_002d: ldc.i4.1 - IL_002e: add - IL_002f: stloc.0 - IL_0030: nop - IL_0031: nop - IL_0032: ldloc.1 - IL_0033: ldc.i4.1 - IL_0034: add - IL_0035: stloc.1 - IL_0036: ldloc.1 - IL_0037: ldarg.0 - IL_0038: call instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_003d: blt IL_000a + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.XmlNamespace::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0042: ldloc.0 - IL_0043: stloc.2 - IL_0044: br IL_0049 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlNamespace::get_IfDefined - IL_0049: ldloc.2 - IL_004a: ret - } // end of method FileOperationMap::CountDirectoryOperations + // method line 1099 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x16177 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.XmlNamespace::_ifDefined + IL_0008: ret + } // end of method XmlNamespace::set_IfDefined - // method line 1256 - .method public hidebysig - instance default int32 CountFileOperations () cil managed + // method line 1100 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x15118 - // Code size 75 (0x4b) - .maxstack 2 + // Method begins at RVA 0x16184 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0, - int32 V_1, - int32 V_2) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldc.i4.0 - IL_0004: stloc.1 - IL_0005: br IL_0036 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.XmlNamespace::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000a: nop - IL_000b: ldarg.0 - IL_000c: ldloc.1 - IL_000d: call instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) - IL_0012: callvirt instance class [mscorlib]System.Type class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceType() - IL_0017: ldtoken [mscorlib]System.IO.FileInfo - IL_001c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0021: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0026: brfalse IL_0031 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlNamespace::get_UnlessDefined - IL_002b: nop - IL_002c: ldloc.0 - IL_002d: ldc.i4.1 - IL_002e: add - IL_002f: stloc.0 - IL_0030: nop - IL_0031: nop - IL_0032: ldloc.1 - IL_0033: ldc.i4.1 - IL_0034: add - IL_0035: stloc.1 - IL_0036: ldloc.1 - IL_0037: ldarg.0 - IL_0038: call instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_003d: blt IL_000a + // method line 1101 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x1619f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.XmlNamespace::_unlessDefined + IL_0008: ret + } // end of method XmlNamespace::set_UnlessDefined - IL_0042: ldloc.0 - IL_0043: stloc.2 - IL_0044: br IL_0049 + .property instance string Prefix () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re + 71 75 69 72 65 64 01 ) // quired. - IL_0049: ldloc.2 - IL_004a: ret - } // end of method FileOperationMap::CountFileOperations - - // method line 1257 - .method public hidebysig - instance default class [mscorlib]System.Collections.Hashtable ConvertToHashtable () cil managed - { - // Method begins at RVA 0x15170 - // Code size 325 (0x145) - .maxstack 4 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - int32 V_1, - class NAnt.Core.Tasks.CopyTask/FileOperation V_2, - string V_3, - string V_4, - class NAnt.Core.DirectoryScanner V_5, - class [System]System.Collections.Specialized.StringCollection V_6, - int32 V_7, - string V_8, - class [mscorlib]System.Collections.Hashtable V_9) - IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: brfalse IL_0018 - - IL_000b: nop - IL_000c: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0011: stloc.0 - IL_0012: nop - IL_0013: br IL_0020 - - IL_0018: nop - IL_0019: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldc.i4.0 - IL_0021: stloc.1 - IL_0022: br IL_012e - - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldloc.1 - IL_002a: call instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) - IL_002f: stloc.2 - IL_0030: ldloc.2 - IL_0031: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() - IL_0036: brtrue IL_0059 - - IL_003b: nop - IL_003c: ldloc.0 - IL_003d: ldloc.2 - IL_003e: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0043: ldloc.2 - IL_0044: callvirt instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() - IL_0049: newobj instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(class [mscorlib]System.IO.FileSystemInfo) - IL_004e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0053: nop - IL_0054: br IL_0129 - - IL_0059: ldloc.2 - IL_005a: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() - IL_005f: ldc.i4.1 - IL_0060: bne.un IL_0099 - - IL_0065: nop - IL_0066: ldloc.2 - IL_0067: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_006c: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0071: stloc.3 - IL_0072: ldloc.2 - IL_0073: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0078: ldloc.3 - IL_0079: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_007e: stloc.s 4 - IL_0080: ldloc.0 - IL_0081: ldloc.s 4 - IL_0083: ldloc.2 - IL_0084: callvirt instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() - IL_0089: newobj instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(class [mscorlib]System.IO.FileSystemInfo) - IL_008e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0093: nop - IL_0094: br IL_0129 - - IL_0099: nop - IL_009a: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() - IL_009f: stloc.s 5 - IL_00a1: ldloc.s 5 - IL_00a3: ldloc.2 - IL_00a4: callvirt instance class [mscorlib]System.IO.FileSystemInfo class NAnt.Core.Tasks.CopyTask/FileOperation::get_SourceInfo() - IL_00a9: isinst [mscorlib]System.IO.DirectoryInfo - IL_00ae: callvirt instance void class NAnt.Core.DirectoryScanner::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00b3: ldloc.s 5 - IL_00b5: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() - IL_00ba: ldstr "**/*" - IL_00bf: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00c4: pop - IL_00c5: ldloc.s 5 - IL_00c7: callvirt instance void class NAnt.Core.DirectoryScanner::Scan() - IL_00cc: ldloc.s 5 - IL_00ce: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() - IL_00d3: stloc.s 6 - IL_00d5: ldc.i4.0 - IL_00d6: stloc.s 7 - IL_00d8: br IL_011a - - IL_00dd: nop - IL_00de: ldloc.s 6 - IL_00e0: ldloc.s 7 - IL_00e2: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_00e7: stloc.s 8 - IL_00e9: ldloc.s 8 - IL_00eb: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_00f0: stloc.3 - IL_00f1: ldloc.2 - IL_00f2: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_00f7: ldloc.3 - IL_00f8: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00fd: stloc.s 4 - IL_00ff: ldloc.0 - IL_0100: ldloc.s 4 - IL_0102: ldloc.3 - IL_0103: ldloc.3 - IL_0104: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_0109: newobj instance void class NAnt.Core.Tasks.CopyTask/FileDateInfo::'.ctor'(string, valuetype [mscorlib]System.DateTime) - IL_010e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0113: nop - IL_0114: ldloc.s 7 - IL_0116: ldc.i4.1 - IL_0117: add - IL_0118: stloc.s 7 - IL_011a: ldloc.s 7 - IL_011c: ldloc.s 6 - IL_011e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0123: blt IL_00dd - - IL_0128: nop - IL_0129: nop - IL_012a: ldloc.1 - IL_012b: ldc.i4.1 - IL_012c: add - IL_012d: stloc.1 - IL_012e: ldloc.1 - IL_012f: ldarg.0 - IL_0130: call instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_0135: blt IL_0027 - - IL_013a: ldloc.0 - IL_013b: stloc.s 9 - IL_013d: br IL_0142 - - IL_0142: ldloc.s 9 - IL_0144: ret - } // end of method FileOperationMap::ConvertToHashtable - - // method line 1258 - .method family virtual hidebysig - instance default string GetKeyForItem (class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed - { - // Method begins at RVA 0x152c4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_0007: stloc.0 - IL_0008: br IL_000d + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileOperationMap::GetKeyForItem + .get instance default string NAnt.Core.Types.XmlNamespace::get_Prefix () + .set instance default void NAnt.Core.Types.XmlNamespace::set_Prefix (string 'value') + } + .property instance string Uri () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 75 72 69 01 00 54 02 08 52 65 71 75 69 // ...uri..T..Requi + 72 65 64 01 ) // red. - // method line 1259 - .method family virtual hidebysig - instance default void InsertItem (int32 index, class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed - { - // Method begins at RVA 0x152df - // Code size 22 (0x16) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldarg.0 - IL_0003: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer - IL_0008: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::set_Comparer(class [mscorlib]System.StringComparer) - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: ldarg.2 - IL_0010: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::InsertItem(int32, !1) - IL_0015: ret - } // end of method FileOperationMap::InsertItem + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. - // method line 1260 - .method family virtual hidebysig - instance default void SetItem (int32 index, class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed - { - // Method begins at RVA 0x152f6 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldarg.0 - IL_0003: ldfld class [mscorlib]System.StringComparer NAnt.Core.Tasks.CopyTask/FileOperationMap::_stringComparer - IL_0008: callvirt instance void class NAnt.Core.Tasks.CopyTask/FileOperation::set_Comparer(class [mscorlib]System.StringComparer) - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: ldarg.2 - IL_0010: call instance void class [mscorlib]System.Collections.ObjectModel.KeyedCollection`2::SetItem(int32, !1) - IL_0015: ret - } // end of method FileOperationMap::SetItem + .get instance default string NAnt.Core.Types.XmlNamespace::get_Uri () + .set instance default void NAnt.Core.Types.XmlNamespace::set_Uri (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - } // end of class FileOperationMap + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .class nested family auto ansi sealed OperationType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Tasks.CopyTask/OperationType FileToFile = int32(0x00000000) - .field public static literal valuetype NAnt.Core.Tasks.CopyTask/OperationType FileToDirectory = int32(0x00000001) - .field public static literal valuetype NAnt.Core.Tasks.CopyTask/OperationType DirectoryToDirectory = int32(0x00000002) + .get instance default bool NAnt.Core.Types.XmlNamespace::get_IfDefined () + .set instance default void NAnt.Core.Types.XmlNamespace::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - } // end of class OperationType + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end of class NAnt.Core.Tasks.CopyTask + .get instance default bool NAnt.Core.Types.XmlNamespace::get_UnlessDefined () + .set instance default void NAnt.Core.Types.XmlNamespace::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.Core.Types.XmlNamespace } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit EchoTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit PathElement + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 63 68 6F 00 00 ) // ...echo.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0B 70 61 74 68 65 6C 65 6D 65 6E 74 00 00 ) // ...pathelement.. - .field private string _message - .field private string _contents .field private class [mscorlib]System.IO.FileInfo _file - .field private bool _append - .field private valuetype NAnt.Core.Level _messageLevel - .field private class [mscorlib]System.Text.Encoding _encoding + .field private class [mscorlib]System.IO.DirectoryInfo _directory + .field private class NAnt.Core.Types.PathSet _path + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1261 + // method line 1102 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1530d - // Code size 18 (0x12) + // Method begins at RVA 0x161a9 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4 3000 - IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::_messageLevel - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method EchoTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.PathElement::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method PathElement::.ctor - // method line 1262 + // method line 1103 .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x15320 - // Code size 37 (0x25) + // Method begins at RVA 0x161b8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding - IL_0007: brtrue IL_0017 - - IL_000c: newobj instance void class [mscorlib]System.Text.UTF8Encoding::'.ctor'() - IL_0011: stloc.0 - IL_0012: br IL_0023 - - IL_0017: ldarg.0 - IL_0018: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding - IL_001d: stloc.0 - IL_001e: br IL_0023 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::_file + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0023: ldloc.0 - IL_0024: ret - } // end of method EchoTask::get_Encoding + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PathElement::get_File - // method line 1263 + // method line 1104 .method public hidebysig specialname - instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x15351 + // Method begins at RVA 0x161d3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::_file IL_0008: ret - } // end of method EchoTask::set_Encoding + } // end of method PathElement::set_File - // method line 1264 + // method line 1105 .method public hidebysig specialname - instance default string get_Message () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x1535c + // Method begins at RVA 0x161e0 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.EchoTask::_message + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.PathElement::_directory IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EchoTask::get_Message + } // end of method PathElement::get_Directory - // method line 1265 + // method line 1106 .method public hidebysig specialname - instance default void set_Message (string 'value') cil managed + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x15378 - // Code size 79 (0x4f) - .maxstack 2 + // Method begins at RVA 0x161fb + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0045 - - IL_0007: ldarg.1 - IL_0008: callvirt instance string string::Trim() - IL_000d: callvirt instance int32 string::get_Length() - IL_0012: ldc.i4.0 - IL_0013: ble IL_0045 - - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() - IL_001f: brfalse IL_0036 - - IL_0024: nop - IL_0025: ldstr "Inline content and the message attribute are mutually exclusive in the task." - IL_002a: ldarg.0 - IL_002b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0030: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) - IL_0035: throw - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: ldarg.1 - IL_0039: stfld string NAnt.Core.Tasks.EchoTask::_message - IL_003e: nop - IL_003f: nop - IL_0040: br IL_004e - - IL_0045: nop - IL_0046: ldarg.0 - IL_0047: ldnull - IL_0048: stfld string NAnt.Core.Tasks.EchoTask::_message - IL_004d: nop - IL_004e: ret - } // end of method EchoTask::set_Message + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.PathElement::_directory + IL_0008: ret + } // end of method PathElement::set_Directory - // method line 1266 + // method line 1107 .method public hidebysig specialname - instance default string get_Contents () cil managed + instance default class NAnt.Core.Types.PathSet get_Path () cil managed { - // Method begins at RVA 0x153d4 + // Method begins at RVA 0x16208 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.PathSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.EchoTask::_contents + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.PathElement::_path IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EchoTask::get_Contents + } // end of method PathElement::get_Path - // method line 1267 + // method line 1108 .method public hidebysig specialname - instance default void set_Contents (string 'value') cil managed + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x153f0 - // Code size 79 (0x4f) - .maxstack 2 + // Method begins at RVA 0x16223 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0045 - - IL_0007: ldarg.1 - IL_0008: callvirt instance string string::Trim() - IL_000d: callvirt instance int32 string::get_Length() - IL_0012: ldc.i4.0 - IL_0013: ble IL_0045 - - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() - IL_001f: brfalse IL_0036 - - IL_0024: nop - IL_0025: ldstr "Inline content and the message attribute are mutually exclusive in the task." - IL_002a: ldarg.0 - IL_002b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0030: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location) - IL_0035: throw - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: ldarg.1 - IL_0039: stfld string NAnt.Core.Tasks.EchoTask::_contents - IL_003e: nop - IL_003f: nop - IL_0040: br IL_004e - - IL_0045: nop - IL_0046: ldarg.0 - IL_0047: ldnull - IL_0048: stfld string NAnt.Core.Tasks.EchoTask::_contents - IL_004d: nop - IL_004e: ret - } // end of method EchoTask::set_Contents + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.PathElement::_path + IL_0008: ret + } // end of method PathElement::set_Path - // method line 1268 + // method line 1109 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x1544c + // Method begins at RVA 0x16230 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.EchoTask::_file + IL_0002: ldfld bool NAnt.Core.Types.PathElement::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EchoTask::get_File + } // end of method PathElement::get_IfDefined - // method line 1269 + // method line 1110 .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x15467 + // Method begins at RVA 0x1624b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.EchoTask::_file + IL_0003: stfld bool NAnt.Core.Types.PathElement::_ifDefined IL_0008: ret - } // end of method EchoTask::set_File + } // end of method PathElement::set_IfDefined - // method line 1270 + // method line 1111 .method public hidebysig specialname - instance default bool get_Append () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x15474 + // Method begins at RVA 0x16258 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.EchoTask::_append + IL_0002: ldfld bool NAnt.Core.Types.PathElement::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EchoTask::get_Append + } // end of method PathElement::get_UnlessDefined - // method line 1271 + // method line 1112 .method public hidebysig specialname - instance default void set_Append (bool 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x1548f + // Method begins at RVA 0x16273 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.EchoTask::_append + IL_0003: stfld bool NAnt.Core.Types.PathElement::_unlessDefined IL_0008: ret - } // end of method EchoTask::set_Append + } // end of method PathElement::set_UnlessDefined - // method line 1272 + // method line 1113 .method public hidebysig specialname - instance default valuetype NAnt.Core.Level get_MessageLevel () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_Parts () cil managed { - // Method begins at RVA 0x1549c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16280 + // Code size 129 (0x81) + .maxstack 2 .locals init ( - valuetype NAnt.Core.Level V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + class [System]System.Collections.Specialized.StringCollection V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::_messageLevel - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() + IL_0007: brfalse IL_002c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EchoTask::get_MessageLevel + IL_000c: nop + IL_000d: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() + IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0024: pop + IL_0025: ldloc.0 + IL_0026: stloc.1 + IL_0027: br IL_007f - // method line 1273 - .method public hidebysig specialname - instance default void set_MessageLevel (valuetype NAnt.Core.Level 'value') cil managed - { - // Method begins at RVA 0x154b8 - // Code size 65 (0x41) - .maxstack 3 - IL_0000: nop - IL_0001: ldtoken NAnt.Core.Level - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: box NAnt.Core.Level - IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0016: brtrue IL_0037 + IL_002c: ldarg.0 + IL_002d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() + IL_0032: brfalse IL_0057 - IL_001b: nop - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: ldstr "An invalid level {0} was specified." - IL_0026: ldarg.1 - IL_0027: box NAnt.Core.Level - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0036: throw IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldarg.1 - IL_003a: stfld valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::_messageLevel - IL_003f: nop - IL_0040: ret - } // end of method EchoTask::set_MessageLevel - - // method line 1274 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x15508 - // Code size 335 (0x14f) - .maxstack 3 - .locals init ( - class [mscorlib]System.IO.StreamWriter V_0, - class [mscorlib]System.Exception V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() - IL_0007: brfalse IL_00f1 - - IL_000c: nop - .try { // 1 - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() - IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0019: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001e: brtrue IL_0045 - - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() - IL_002a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_002f: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0034: ldarg.0 - IL_0035: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() - IL_003a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_003f: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0044: nop - IL_0045: ldarg.0 - IL_0046: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() - IL_004b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0050: ldarg.0 - IL_0051: call instance bool class NAnt.Core.Tasks.EchoTask::get_Append() - IL_0056: ldarg.0 - IL_0057: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.EchoTask::get_Encoding() - IL_005c: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool, class [mscorlib]System.Text.Encoding) - IL_0061: stloc.0 - .try { // 0 - IL_0062: nop - IL_0063: ldarg.0 - IL_0064: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() - IL_0069: call bool string::IsNullOrEmpty(string) - IL_006e: brtrue IL_0086 - - IL_0073: nop - IL_0074: ldloc.0 - IL_0075: ldarg.0 - IL_0076: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() - IL_007b: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_0080: nop - IL_0081: br IL_00a4 - - IL_0086: ldarg.0 - IL_0087: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() - IL_008c: call bool string::IsNullOrEmpty(string) - IL_0091: brtrue IL_00a4 - - IL_0096: nop - IL_0097: ldloc.0 - IL_0098: ldarg.0 - IL_0099: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() - IL_009e: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_00a3: nop - IL_00a4: nop - IL_00a5: leave IL_00b7 - - } // end .try 0 - finally { // 0 - IL_00aa: ldloc.0 - IL_00ab: brfalse IL_00b6 - - IL_00b0: ldloc.0 - IL_00b1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00b6: endfinally - } // end handler 0 - IL_00b7: nop - IL_00b8: leave IL_00eb - - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_00bd: stloc.1 - IL_00be: nop - IL_00bf: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c4: ldstr "NA1116" - IL_00c9: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ce: ldarg.0 - IL_00cf: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() - IL_00d4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00d9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00de: ldarg.0 - IL_00df: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00e4: ldloc.1 - IL_00e5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00ea: throw - } // end handler 1 - IL_00eb: nop - IL_00ec: br IL_014e - - IL_00f1: nop - IL_00f2: ldarg.0 - IL_00f3: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() - IL_00f8: brfalse IL_0116 + IL_0038: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_003d: stloc.2 + IL_003e: ldloc.2 + IL_003f: ldarg.0 + IL_0040: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() + IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_004f: pop + IL_0050: ldloc.2 + IL_0051: stloc.1 + IL_0052: br IL_007f - IL_00fd: nop - IL_00fe: ldarg.0 - IL_00ff: ldarg.0 - IL_0100: call instance valuetype NAnt.Core.Level class NAnt.Core.Tasks.EchoTask::get_MessageLevel() - IL_0105: ldarg.0 - IL_0106: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() - IL_010b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0110: nop - IL_0111: br IL_014d + IL_0057: ldarg.0 + IL_0058: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() + IL_005d: brfalse IL_0074 - IL_0116: ldarg.0 - IL_0117: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() - IL_011c: brfalse IL_013a + IL_0062: nop + IL_0063: ldarg.0 + IL_0064: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() + IL_0069: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.PathSet::GetElements() + IL_006e: stloc.1 + IL_006f: br IL_007f - IL_0121: nop - IL_0122: ldarg.0 - IL_0123: ldarg.0 - IL_0124: call instance valuetype NAnt.Core.Level class NAnt.Core.Tasks.EchoTask::get_MessageLevel() - IL_0129: ldarg.0 - IL_012a: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() - IL_012f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0134: nop - IL_0135: br IL_014d + IL_0074: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0079: stloc.1 + IL_007a: br IL_007f - IL_013a: nop - IL_013b: ldarg.0 - IL_013c: ldarg.0 - IL_013d: call instance valuetype NAnt.Core.Level class NAnt.Core.Tasks.EchoTask::get_MessageLevel() - IL_0142: ldsfld string [mscorlib]System.String::Empty - IL_0147: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_014c: nop - IL_014d: nop - IL_014e: ret - } // end of method EchoTask::ExecuteTask + IL_007f: ldloc.1 + IL_0080: ret + } // end of method PathElement::get_Parts - // method line 1275 + // method line 1114 .method family virtual hidebysig instance default void Initialize () cil managed { - // Method begins at RVA 0x15680 - // Code size 62 (0x3e) - .maxstack 8 + // Method begins at RVA 0x16310 + // Code size 134 (0x86) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() - IL_000c: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0011: brtrue IL_001b + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() + IL_0007: brtrue IL_0043 - IL_0016: br IL_003d + IL_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() + IL_0012: brtrue IL_0043 - IL_001b: ldarg.0 - IL_001c: ldarg.0 - IL_001d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0022: ldarg.0 - IL_0023: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() - IL_0028: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_002d: ldarg.0 - IL_002e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0033: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) - IL_0038: call instance void class NAnt.Core.Tasks.EchoTask::set_Contents(string) - IL_003d: ret - } // end of method EchoTask::Initialize + IL_0017: ldarg.0 + IL_0018: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() + IL_001d: brtrue IL_0043 - .property instance class [mscorlib]System.Text.Encoding Encoding () + IL_0022: nop + IL_0023: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() + IL_0028: ldstr "At least \"file\", \"directory\" or \"path\" must be specified." + IL_002d: call !!0[] class [mscorlib]System.Array::Empty () + IL_0032: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0037: ldarg.0 + IL_0038: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_003d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() + IL_0049: brtrue IL_0085 + + IL_004e: ldarg.0 + IL_004f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() + IL_0054: brtrue IL_0085 + + IL_0059: ldarg.0 + IL_005a: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.PathElement::get_Path() + IL_005f: brtrue IL_0085 + + IL_0064: nop + IL_0065: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() + IL_006a: ldstr "\"file\", \"directory\" and \"path\" cannot be specified together." + IL_006f: call !!0[] class [mscorlib]System.Array::Empty () + IL_0074: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0079: ldarg.0 + IL_007a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_007f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0084: throw + IL_0085: ret + } // end of method PathElement::Initialize + + .property instance class [mscorlib]System.IO.FileInfo File () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::get_Encoding () - .set instance default void NAnt.Core.Tasks.EchoTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::get_File () + .set instance default void NAnt.Core.Types.PathElement::set_File (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string Message () + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - .get instance default string NAnt.Core.Tasks.EchoTask::get_Message () - .set instance default void NAnt.Core.Tasks.EchoTask::set_Message (string 'value') + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.PathElement::get_Directory () + .set instance default void NAnt.Core.Types.PathElement::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') } - .property instance string Contents () + .property instance class NAnt.Core.Types.PathSet Path () { - .get instance default string NAnt.Core.Tasks.EchoTask::get_Contents () - .set instance default void NAnt.Core.Tasks.EchoTask::set_Contents (string 'value') + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. + + .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.PathElement::get_Path () + .set instance default void NAnt.Core.Types.PathElement::set_Path (class NAnt.Core.Types.PathSet 'value') } - .property instance class [mscorlib]System.IO.FileInfo File () + .property instance bool IfDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.EchoTask::get_File () - .set instance default void NAnt.Core.Tasks.EchoTask::set_File (class [mscorlib]System.IO.FileInfo 'value') + .get instance default bool NAnt.Core.Types.PathElement::get_IfDefined () + .set instance default void NAnt.Core.Types.PathElement::set_IfDefined (bool 'value') } - .property instance bool Append () + .property instance bool UnlessDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 61 70 70 65 6E 64 00 00 ) // ...append.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - .get instance default bool NAnt.Core.Tasks.EchoTask::get_Append () - .set instance default void NAnt.Core.Tasks.EchoTask::set_Append (bool 'value') + .get instance default bool NAnt.Core.Types.PathElement::get_UnlessDefined () + .set instance default void NAnt.Core.Types.PathElement::set_UnlessDefined (bool 'value') } - .property instance valuetype NAnt.Core.Level MessageLevel () + .property instance class [System]System.Collections.Specialized.StringCollection Parts () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 6C 65 76 65 6C 00 00 ) // ...level.. - - .get instance default valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::get_MessageLevel () - .set instance default void NAnt.Core.Tasks.EchoTask::set_MessageLevel (valuetype NAnt.Core.Level 'value') + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathElement::get_Parts () } - } // end of class NAnt.Core.Tasks.EchoTask + } // end of class NAnt.Core.Types.PathElement } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit XmlPeekTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit EnvironmentVariableCollection + extends [mscorlib]System.Collections.CollectionBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 78 6D 6C 70 65 65 6B 00 00 ) // ...xmlpeek.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .field private class [mscorlib]System.IO.FileInfo _xmlFile - .field private int32 _nodeIndex - .field private string _property - .field private string _xPath - .field private class NAnt.Core.Types.XmlNamespaceCollection _namespaces - // method line 1276 + // method line 1115 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x156bf - // Code size 25 (0x19) + // Method begins at RVA 0x163a2 + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld int32 NAnt.Core.Tasks.XmlPeekTask::_nodeIndex - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Core.Types.XmlNamespaceCollection::'.ctor'() - IL_000d: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::_namespaces - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.Task::'.ctor'() - IL_0018: ret - } // end of method XmlPeekTask::.ctor + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method EnvironmentVariableCollection::.ctor - // method line 1277 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_XmlFile () cil managed + // method line 1116 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed { - // Method begins at RVA 0x156dc + // Method begins at RVA 0x163ab // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPeekTask::_xmlFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.EnvironmentVariableCollection::AddRange(class NAnt.Core.Types.EnvironmentVariableCollection) IL_000e: ret - } // end of method XmlPeekTask::get_XmlFile + } // end of method EnvironmentVariableCollection::.ctor - // method line 1278 - .method public hidebysig specialname - instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1117 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariable[] 'value') cil managed { - // Method begins at RVA 0x156f7 - // Code size 9 (0x9) + // Method begins at RVA 0x163bb + // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPeekTask::_xmlFile - IL_0008: ret - } // end of method XmlPeekTask::set_XmlFile + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.EnvironmentVariableCollection::AddRange(class NAnt.Core.Types.EnvironmentVariable[]) + IL_000e: ret + } // end of method EnvironmentVariableCollection::.ctor - // method line 1279 + // method line 1118 .method public hidebysig specialname - instance default int32 get_NodeIndex () cil managed + instance default class NAnt.Core.Types.EnvironmentVariable get_Item (int32 index) cil managed { - // Method begins at RVA 0x15704 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x163cc + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - int32 V_0) + class NAnt.Core.Types.EnvironmentVariable V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.XmlPeekTask::_nodeIndex - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.EnvironmentVariable + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPeekTask::get_NodeIndex + IL_0018: ldloc.0 + IL_0019: ret + } // end of method EnvironmentVariableCollection::get_Item - // method line 1280 + // method line 1119 .method public hidebysig specialname - instance default void set_NodeIndex (int32 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.Types.EnvironmentVariable 'value') cil managed { - // Method begins at RVA 0x1571f - // Code size 9 (0x9) + // Method begins at RVA 0x163f2 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.XmlPeekTask::_nodeIndex - IL_0008: ret - } // end of method XmlPeekTask::set_NodeIndex + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method EnvironmentVariableCollection::set_Item - // method line 1281 + // method line 1120 .method public hidebysig specialname - instance default string get_Property () cil managed + instance default class NAnt.Core.Types.EnvironmentVariable get_Item (string name) cil managed { - // Method begins at RVA 0x1572c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16404 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.Types.EnvironmentVariable V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Types.EnvironmentVariable V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.XmlPeekTask::_property - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPeekTask::get_Property + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 - // method line 1282 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed - { - // Method begins at RVA 0x15747 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.XmlPeekTask::_property - IL_0008: ret - } // end of method XmlPeekTask::set_Property + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.Types.EnvironmentVariable + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_VariableName() + IL_002d: ldarg.1 + IL_002e: call bool string::op_Equality(string, string) + IL_0033: brfalse IL_0040 - // method line 1283 - .method public hidebysig specialname - instance default string get_XPath () cil managed - { - // Method begins at RVA 0x15754 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.XmlPeekTask::_xPath - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPeekTask::get_XPath + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - // method line 1284 - .method public hidebysig specialname - instance default void set_XPath (string 'value') cil managed - { - // Method begins at RVA 0x1576f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.XmlPeekTask::_xPath - IL_0008: ret - } // end of method XmlPeekTask::set_XPath + IL_004c: leave IL_0065 - // method line 1285 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed - { - // Method begins at RVA 0x1577c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.XmlNamespaceCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::_namespaces - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPeekTask::get_Namespaces + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - // method line 1286 - .method public hidebysig specialname - instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed + IL_006d: ldloc.2 + IL_006e: ret + } // end of method EnvironmentVariableCollection::get_Item + + // method line 1121 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.EnvironmentVariable item) cil managed { - // Method begins at RVA 0x15797 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x16490 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::_namespaces - IL_0008: ret - } // end of method XmlPeekTask::set_Namespaces + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 1287 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentVariableCollection::Add + + // method line 1122 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.EnvironmentVariable[] items) cil managed { - // Method begins at RVA 0x157a4 - // Code size 218 (0xda) - .maxstack 7 + // Method begins at RVA 0x164b4 + // Code size 34 (0x22) + .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class NAnt.Core.BuildException V_1, - class [mscorlib]System.Exception V_2) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Peeking at '{0}' with XPath expression '{1}'." - IL_000c: ldc.i4.2 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() - IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldarg.0 - IL_0023: call instance string class NAnt.Core.Tasks.XmlPeekTask::get_XPath() - IL_0028: stelem.ref - IL_0029: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_002e: ldarg.0 - IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() - IL_0034: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0039: brtrue IL_006a + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_003e: nop - IL_003f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0044: ldstr "NA1154" - IL_0049: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004e: ldarg.0 - IL_004f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() - IL_0054: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0059: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005e: ldarg.0 - IL_005f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0064: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0069: throw - .try { // 0 - IL_006a: nop - IL_006b: ldarg.0 - IL_006c: ldarg.0 - IL_006d: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() - IL_0072: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0077: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Tasks.XmlPeekTask::LoadDocument(string) - IL_007c: stloc.0 - IL_007d: ldarg.0 - IL_007e: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0083: ldarg.0 - IL_0084: call instance string class NAnt.Core.Tasks.XmlPeekTask::get_Property() - IL_0089: ldarg.0 - IL_008a: ldarg.0 - IL_008b: call instance string class NAnt.Core.Tasks.XmlPeekTask::get_XPath() - IL_0090: ldloc.0 - IL_0091: ldarg.0 - IL_0092: call instance int32 class NAnt.Core.Tasks.XmlPeekTask::get_NodeIndex() - IL_0097: call instance string class NAnt.Core.Tasks.XmlPeekTask::GetNodeContents(string, class [System.Xml]System.Xml.XmlDocument, int32) - IL_009c: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00a1: nop - IL_00a2: leave IL_00d9 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.EnvironmentVariableCollection::Add(class NAnt.Core.Types.EnvironmentVariable) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - } // end .try 0 - catch class NAnt.Core.BuildException { // 0 - IL_00a7: stloc.1 - IL_00a8: nop - IL_00a9: ldloc.1 - IL_00aa: throw - } // end handler 0 - catch class [mscorlib]System.Exception { // 1 - IL_00ab: stloc.2 - IL_00ac: nop - IL_00ad: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00b2: ldstr "NA1153" - IL_00b7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00bc: ldarg.0 - IL_00bd: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.XmlPeekTask::get_XmlFile() - IL_00c2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00c7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00cc: ldarg.0 - IL_00cd: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d2: ldloc.2 - IL_00d3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00d8: throw - } // end handler 1 - IL_00d9: ret - } // end of method XmlPeekTask::ExecuteTask + IL_0021: ret + } // end of method EnvironmentVariableCollection::AddRange - // method line 1288 - .method private hidebysig - instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName) cil managed + // method line 1123 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.EnvironmentVariableCollection items) cil managed { - // Method begins at RVA 0x158a8 - // Code size 62 (0x3e) + // Method begins at RVA 0x164e4 + // Code size 41 (0x29) .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class [System.Xml]System.Xml.XmlDocument V_1, - class [mscorlib]System.Exception V_2) + int32 V_0) IL_0000: nop - IL_0001: ldnull + IL_0001: ldc.i4.0 IL_0002: stloc.0 - .try { // 0 - IL_0003: nop - IL_0004: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: ldarg.1 - IL_000c: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) - IL_0011: ldloc.0 - IL_0012: stloc.1 - IL_0013: leave IL_003c + IL_0003: br IL_001c - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0018: stloc.2 - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "NA1158" - IL_0024: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0029: ldarg.1 - IL_002a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002f: ldarg.0 - IL_0030: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0035: ldloc.2 - IL_0036: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_003b: throw - } // end handler 0 - IL_003c: ldloc.1 - IL_003d: ret - } // end of method XmlPeekTask::LoadDocument + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.EnvironmentVariableCollection::Add(class NAnt.Core.Types.EnvironmentVariable) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - // method line 1289 - .method private hidebysig - instance default string GetNodeContents (string xpath, class [System.Xml]System.Xml.XmlDocument document, int32 nodeIndex) cil managed + IL_0028: ret + } // end of method EnvironmentVariableCollection::AddRange + + // method line 1124 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.EnvironmentVariable item) cil managed { - // Method begins at RVA 0x15904 - // Code size 528 (0x210) - .maxstack 8 + // Method begins at RVA 0x1651c + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0, - object V_1, - int32 V_2, - class [System.Xml]System.Xml.XmlNamespaceManager V_3, - class NAnt.Core.Types.XmlNamespace V_4, - class NAnt.Core.Types.XmlNamespaceEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class [System.Xml]System.Xml.XPath.XPathNavigator V_7, - class [System.Xml]System.Xml.XPath.XPathExpression V_8, - class [mscorlib]System.Exception V_9, - class [System.Xml]System.Xml.XPath.XPathNodeIterator V_10, - class [System.Xml]System.Xml.XmlNode V_11, - class [mscorlib]System.IFormattable V_12, - string V_13) + bool V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldc.i4.0 - IL_0006: stloc.2 - .try { // 1 - IL_0007: nop - IL_0008: ldarg.2 - IL_0009: callvirt instance class [System.Xml]System.Xml.XmlNameTable class [System.Xml]System.Xml.XmlDocument::get_NameTable() - IL_000e: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_0013: stloc.3 - IL_0014: nop - IL_0015: ldarg.0 - IL_0016: call instance class NAnt.Core.Types.XmlNamespaceCollection class NAnt.Core.Tasks.XmlPeekTask::get_Namespaces() - IL_001b: callvirt instance class NAnt.Core.Types.XmlNamespaceEnumerator class NAnt.Core.Types.XmlNamespaceCollection::GetEnumerator() - IL_0020: stloc.s 5 - .try { // 0 - IL_0022: br IL_0060 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0027: ldloc.s 5 - IL_0029: callvirt instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceEnumerator::get_Current() - IL_002e: stloc.s 4 - IL_0030: nop - IL_0031: ldloc.s 4 - IL_0033: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_IfDefined() - IL_0038: brfalse IL_005f + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentVariableCollection::Contains - IL_003d: ldloc.s 4 - IL_003f: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() - IL_0044: brtrue IL_005f + // method line 1125 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x16540 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Types.EnvironmentVariable class NAnt.Core.Types.EnvironmentVariableCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_0049: nop - IL_004a: ldloc.3 - IL_004b: ldloc.s 4 - IL_004d: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Prefix() - IL_0052: ldloc.s 4 - IL_0054: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Uri() - IL_0059: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) - IL_005e: nop - IL_005f: nop - IL_0060: ldloc.s 5 - IL_0062: callvirt instance bool class NAnt.Core.Types.XmlNamespaceEnumerator::MoveNext() - IL_0067: brtrue IL_0027 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method EnvironmentVariableCollection::Contains - IL_006c: leave IL_0088 + // method line 1126 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.EnvironmentVariable[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x16562 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method EnvironmentVariableCollection::CopyTo - } // end .try 0 - finally { // 0 - IL_0071: ldloc.s 5 - IL_0073: isinst [mscorlib]System.IDisposable - IL_0078: dup - IL_0079: stloc.s 6 - IL_007b: brfalse IL_0087 + // method line 1127 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.EnvironmentVariable item) cil managed + { + // Method begins at RVA 0x16574 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0080: ldloc.s 6 - IL_0082: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0087: endfinally - } // end handler 0 - IL_0088: ldarg.2 - IL_0089: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XmlNode::CreateNavigator() - IL_008e: stloc.s 7 - IL_0090: ldloc.s 7 - IL_0092: ldarg.1 - IL_0093: callvirt instance class [System.Xml]System.Xml.XPath.XPathExpression class [System.Xml]System.Xml.XPath.XPathNavigator::Compile(string) - IL_0098: stloc.s 8 - IL_009a: ldloc.s 8 - IL_009c: ldloc.3 - IL_009d: callvirt instance void class [System.Xml]System.Xml.XPath.XPathExpression::SetContext(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00a2: ldloc.s 7 - IL_00a4: ldloc.s 8 - IL_00a6: callvirt instance object class [System.Xml]System.Xml.XPath.XPathNavigator::Evaluate(class [System.Xml]System.Xml.XPath.XPathExpression) - IL_00ab: stloc.1 - IL_00ac: nop - IL_00ad: leave IL_00d8 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentVariableCollection::IndexOf - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_00b2: stloc.s 9 - IL_00b4: nop - IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ba: ldstr "NA1155" - IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00c4: ldarg.1 - IL_00c5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00ca: ldarg.0 - IL_00cb: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d0: ldloc.s 9 - IL_00d2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00d7: throw - } // end handler 1 - IL_00d8: ldloc.1 - IL_00d9: brtrue IL_0100 + // method line 1128 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.EnvironmentVariable item) cil managed + { + // Method begins at RVA 0x16595 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method EnvironmentVariableCollection::Insert - IL_00de: nop - IL_00df: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00e4: ldstr "NA1156" - IL_00e9: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ee: ldarg.1 - IL_00ef: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00f4: ldarg.0 - IL_00f5: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00fa: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00ff: throw - IL_0100: ldc.i4.1 - IL_0101: stloc.2 - IL_0102: ldloc.1 - IL_0103: isinst [System.Xml]System.Xml.XPath.XPathNodeIterator - IL_0108: stloc.s 10 - IL_010a: ldloc.s 10 - IL_010c: brfalse IL_011b + // method line 1129 + .method public hidebysig + instance default class NAnt.Core.Types.EnvironmentVariableEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x165a8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.EnvironmentVariableEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.Types.EnvironmentVariableEnumerator::'.ctor'(class NAnt.Core.Types.EnvironmentVariableCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0111: nop - IL_0112: ldloc.s 10 - IL_0114: callvirt instance int32 class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Count() - IL_0119: stloc.2 - IL_011a: nop - IL_011b: ldarg.0 - IL_011c: ldc.i4 2000 - IL_0121: ldstr "Found '{0}' node{1} with the XPath expression '{2}'." - IL_0126: ldc.i4.3 - IL_0127: newarr [mscorlib]System.Object - IL_012c: dup - IL_012d: ldc.i4.0 - IL_012e: ldloc.2 - IL_012f: box [mscorlib]System.Int32 - IL_0134: stelem.ref - IL_0135: dup - IL_0136: ldc.i4.1 - IL_0137: ldloc.2 - IL_0138: ldc.i4.1 - IL_0139: ble IL_0148 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariableCollection::GetEnumerator - IL_013e: ldstr "s" - IL_0143: br IL_014d + // method line 1130 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.EnvironmentVariable item) cil managed + { + // Method begins at RVA 0x165c3 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method EnvironmentVariableCollection::Remove - IL_0148: ldstr "" - IL_014d: stelem.ref - IL_014e: dup - IL_014f: ldc.i4.2 - IL_0150: ldarg.1 - IL_0151: stelem.ref - IL_0152: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0157: ldloc.s 10 - IL_0159: brfalse IL_01d2 + .property instance class NAnt.Core.Types.EnvironmentVariable Item (int32) + { + .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.EnvironmentVariableCollection::set_Item (int32 index, class NAnt.Core.Types.EnvironmentVariable 'value') + } + .property instance class NAnt.Core.Types.EnvironmentVariable Item (string) + { + .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableCollection::get_Item (string name) + } + } // end of class NAnt.Core.Types.EnvironmentVariableCollection +} - IL_015e: nop - IL_015f: ldarg.3 - IL_0160: ldloc.2 - IL_0161: blt IL_018d - - IL_0166: nop - IL_0167: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_016c: ldstr "NA1157" - IL_0171: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0176: ldarg.3 - IL_0177: box [mscorlib]System.Int32 - IL_017c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0181: ldarg.0 - IL_0182: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0187: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_018c: throw - IL_018d: br IL_01c0 - - IL_0192: nop - IL_0193: ldloc.s 10 - IL_0195: callvirt instance int32 class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_CurrentPosition() - IL_019a: ldarg.3 - IL_019b: ldc.i4.1 - IL_019c: add - IL_019d: bne.un IL_01bf +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit EnvironmentVariableEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - IL_01a2: nop - IL_01a3: ldloc.s 10 - IL_01a5: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Current() - IL_01aa: castclass [System.Xml]System.Xml.IHasXmlNode - IL_01af: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.IHasXmlNode::GetNode() - IL_01b4: stloc.s 11 - IL_01b6: ldloc.s 11 - IL_01b8: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerXml() - IL_01bd: stloc.0 - IL_01be: nop - IL_01bf: nop - IL_01c0: ldloc.s 10 - IL_01c2: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNodeIterator::MoveNext() - IL_01c7: brtrue IL_0192 + // method line 1131 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection arguments) cil managed + { + // Method begins at RVA 0x165d4 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0015: ret + } // end of method EnvironmentVariableEnumerator::.ctor - IL_01cc: nop - IL_01cd: br IL_0205 + // method line 1132 + .method public hidebysig specialname + instance default class NAnt.Core.Types.EnvironmentVariable get_Current () cil managed + { + // Method begins at RVA 0x165f8 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.EnvironmentVariable V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.EnvironmentVariable + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_01d2: nop - IL_01d3: ldloc.1 - IL_01d4: isinst [mscorlib]System.IFormattable - IL_01d9: brfalse IL_01fb + IL_0017: ldloc.0 + IL_0018: ret + } // end of method EnvironmentVariableEnumerator::get_Current - IL_01de: nop - IL_01df: ldloc.1 - IL_01e0: castclass [mscorlib]System.IFormattable - IL_01e5: stloc.s 12 - IL_01e7: ldloc.s 12 - IL_01e9: ldnull - IL_01ea: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01ef: callvirt instance string class [mscorlib]System.IFormattable::ToString(string, class [mscorlib]System.IFormatProvider) - IL_01f4: stloc.0 - IL_01f5: nop - IL_01f6: br IL_0204 + // method line 1133 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x16620 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01fb: nop - IL_01fc: ldloc.1 - IL_01fd: callvirt instance string object::ToString() - IL_0202: stloc.0 - IL_0203: nop - IL_0204: nop - IL_0205: ldloc.0 - IL_0206: stloc.s 13 - IL_0208: br IL_020d + IL_0012: ldloc.0 + IL_0013: ret + } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current - IL_020d: ldloc.s 13 - IL_020f: ret - } // end of method XmlPeekTask::GetNodeContents + // method line 1134 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x16640 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .property instance class [mscorlib]System.IO.FileInfo XmlFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ - 69 72 65 64 01 ) // ired. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method EnvironmentVariableEnumerator::MoveNext - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPeekTask::get_XmlFile () - .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance int32 NodeIndex () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6E 6F 64 65 69 6E 64 65 78 01 00 54 02 // ...nodeindex..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + // method line 1135 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x16660 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + IL_0012: ldloc.0 + IL_0013: ret + } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.MoveNext - .get instance default int32 NAnt.Core.Tasks.XmlPeekTask::get_NodeIndex () - .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_NodeIndex (int32 'value') - } - .property instance string Property () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + // method line 1136 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x16680 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method EnvironmentVariableEnumerator::Reset - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + // method line 1137 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x1668e + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.EnvironmentVariableEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.Reset - .get instance default string NAnt.Core.Tasks.XmlPeekTask::get_Property () - .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_Property (string 'value') - } - .property instance string XPath () + .property instance object System.Collections.IEnumerator.Current () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 78 70 61 74 68 01 00 54 02 08 52 65 71 // ...xpath..T..Req - 75 69 72 65 64 01 ) // uired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.XmlPeekTask::get_XPath () - .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_XPath (string 'value') + .get instance default object NAnt.Core.Types.EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.Core.Types.XmlNamespaceCollection Namespaces () + .property instance class NAnt.Core.Types.EnvironmentVariable Current () { - .custom instance void class NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0A 6E 61 6D 65 73 70 61 63 65 73 09 6E 61 // ...namespaces.na - 6D 65 73 70 61 63 65 00 00 ) // mespace.. - - .get instance default class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::get_Namespaces () - .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') + .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current () } - } // end of class NAnt.Core.Tasks.XmlPeekTask + } // end of class NAnt.Core.Types.EnvironmentVariableEnumerator } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit LoadTasksTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit EnvironmentVariable + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 09 6C 6F 61 64 74 61 73 6B 73 00 00 ) // ...loadtasks.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 03 65 6E 76 00 00 ) // ...env.. - .field private class [mscorlib]System.IO.FileInfo _assembly - .field private class [mscorlib]System.IO.DirectoryInfo _path - .field private class NAnt.Core.Types.FileSet _fileset + .field private string _name + .field private string _value + .field private string _literalValue + .field private class [mscorlib]System.IO.FileInfo _file + .field private class [mscorlib]System.IO.DirectoryInfo _directory + .field private class NAnt.Core.Types.PathSet _path + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1290 + // method line 1138 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name, string 'value') cil managed + { + // Method begins at RVA 0x1669c + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld string NAnt.Core.Types.EnvironmentVariable::_name + IL_0015: ldarg.0 + IL_0016: ldarg.2 + IL_0017: stfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_001c: ret + } // end of method EnvironmentVariable::.ctor + + // method line 1139 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x15b3c - // Code size 18 (0x12) + // Method begins at RVA 0x166ba + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method LoadTasksTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method EnvironmentVariable::.ctor - // method line 1291 + // method line 1140 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed + instance default string get_VariableName () cil managed { - // Method begins at RVA 0x15b50 + // Method begins at RVA 0x166cc // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadTasksTask::_assembly + IL_0002: ldfld string NAnt.Core.Types.EnvironmentVariable::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoadTasksTask::get_AssemblyPath + } // end of method EnvironmentVariable::get_VariableName - // method line 1292 + // method line 1141 .method public hidebysig specialname - instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_VariableName (string 'value') cil managed { - // Method begins at RVA 0x15b6b + // Method begins at RVA 0x166e7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadTasksTask::_assembly + IL_0003: stfld string NAnt.Core.Types.EnvironmentVariable::_name IL_0008: ret - } // end of method LoadTasksTask::set_AssemblyPath + } // end of method EnvironmentVariable::set_VariableName - // method line 1293 + // method line 1142 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Path () cil managed + instance default string get_LiteralValue () cil managed { - // Method begins at RVA 0x15b78 + // Method begins at RVA 0x166f4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::_path + IL_0002: ldfld string NAnt.Core.Types.EnvironmentVariable::_literalValue IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoadTasksTask::get_Path + } // end of method EnvironmentVariable::get_LiteralValue - // method line 1294 + // method line 1143 .method public hidebysig specialname - instance default void set_Path (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_LiteralValue (string 'value') cil managed { - // Method begins at RVA 0x15b93 - // Code size 9 (0x9) + // Method begins at RVA 0x1670f + // Code size 16 (0x10) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::_path - IL_0008: ret - } // end of method LoadTasksTask::set_Path + IL_0003: stfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: stfld string NAnt.Core.Types.EnvironmentVariable::_literalValue + IL_000f: ret + } // end of method EnvironmentVariable::set_LiteralValue - // method line 1295 + // method line 1144 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TaskFileSet () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x15ba0 + // Method begins at RVA 0x16720 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.EnvironmentVariable::_file IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoadTasksTask::get_TaskFileSet + } // end of method EnvironmentVariable::get_File - // method line 1296 + // method line 1145 .method public hidebysig specialname - instance default void set_TaskFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x15bbb - // Code size 9 (0x9) + // Method begins at RVA 0x1673b + // Code size 21 (0x15) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset - IL_0008: ret - } // end of method LoadTasksTask::set_TaskFileSet + IL_0003: callvirt instance string object::ToString() + IL_0008: stfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.EnvironmentVariable::_file + IL_0014: ret + } // end of method EnvironmentVariable::set_File - // method line 1297 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1146 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x15bc8 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 559 (0x22f) - .maxstack 5 + // Method begins at RVA 0x16754 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.Exception V_2, - string V_3, - class [mscorlib]System.IDisposable V_4, - string V_5, - class [System]System.Collections.Specialized.StringEnumerator V_6, - class [mscorlib]System.Exception V_7, - class [mscorlib]System.IDisposable V_8) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.EnvironmentVariable::_directory + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() - IL_0018: ldarg.0 - IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() - IL_0034: brfalse IL_0098 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_Directory - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() - IL_0040: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0045: brtrue IL_0076 + // method line 1147 + .method public hidebysig specialname + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0x1676f + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: callvirt instance string object::ToString() + IL_0008: stfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.EnvironmentVariable::_directory + IL_0014: ret + } // end of method EnvironmentVariable::set_Directory - IL_004a: nop - IL_004b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0050: ldstr "NA1132" - IL_0055: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_005a: ldarg.0 - IL_005b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() - IL_0060: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_006a: ldarg.0 - IL_006b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0070: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0075: throw - IL_0076: ldarg.0 - IL_0077: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() - IL_007c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0081: ldarg.0 - IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() - IL_0087: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_008c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0091: pop - IL_0092: nop - IL_0093: br IL_00f8 + // method line 1148 + .method public hidebysig specialname + instance default class NAnt.Core.Types.PathSet get_Path () cil managed + { + // Method begins at RVA 0x16788 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PathSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0098: ldarg.0 - IL_0099: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() - IL_009e: brfalse IL_00f8 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_Path - IL_00a3: nop - IL_00a4: ldarg.0 - IL_00a5: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() - IL_00aa: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_00af: brtrue IL_00db + // method line 1149 + .method public hidebysig specialname + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + { + // Method begins at RVA 0x167a3 + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: callvirt instance string object::ToString() + IL_0008: stfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + IL_0014: ret + } // end of method EnvironmentVariable::set_Path - IL_00b4: nop - IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ba: ldstr "NA1131" - IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00c4: ldarg.0 - IL_00c5: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() - IL_00ca: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00cf: ldarg.0 - IL_00d0: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00da: throw - IL_00db: ldarg.0 - IL_00dc: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() - IL_00e1: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_00e6: ldarg.0 - IL_00e7: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() - IL_00ec: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00f1: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00f6: pop - IL_00f7: nop - IL_00f8: nop - IL_00f9: ldarg.0 - IL_00fa: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() - IL_00ff: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0104: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0109: stloc.1 - .try { // 1 - IL_010a: br IL_017d - - IL_010f: ldloc.1 - IL_0110: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0115: stloc.0 - IL_0116: nop - .try { // 0 - IL_0117: nop - IL_0118: ldloc.0 - IL_0119: ldarg.0 - IL_011a: call bool class NAnt.Core.TypeFactory::ScanAssembly(string, class NAnt.Core.Task) - IL_011f: pop - IL_0120: nop - IL_0121: leave IL_017c - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0126: stloc.2 - IL_0127: nop - IL_0128: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_012d: ldstr "NA1130" - IL_0132: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0137: ldloc.0 - IL_0138: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_013d: stloc.3 - IL_013e: ldarg.0 - IL_013f: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0144: brfalse IL_0158 + // method line 1150 + .method public hidebysig specialname + instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed + { + // Method begins at RVA 0x167bc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PathSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0149: nop - IL_014a: ldloc.3 - IL_014b: ldarg.0 - IL_014c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0151: ldloc.2 - IL_0152: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0157: throw - IL_0158: nop - IL_0159: ldarg.0 - IL_015a: ldc.i4 5000 - IL_015f: ldloc.3 - IL_0160: ldstr " " - IL_0165: ldloc.2 - IL_0166: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_016b: call string string::Concat(string, string, string) - IL_0170: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0175: nop - IL_0176: nop - IL_0177: leave IL_017c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_PathSet - } // end handler 0 - IL_017c: nop - IL_017d: ldloc.1 - IL_017e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0183: brtrue IL_010f + // method line 1151 + .method public hidebysig specialname + instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed + { + // Method begins at RVA 0x167d7 + // Code size 50 (0x32) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + IL_0007: brfalse IL_001e - IL_0188: leave IL_01a3 + IL_000c: nop + IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." + IL_0012: ldarg.0 + IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_001d: throw + IL_001e: ldarg.0 + IL_001f: ldarg.1 + IL_0020: callvirt instance string object::ToString() + IL_0025: stfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_002a: ldarg.0 + IL_002b: ldarg.1 + IL_002c: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + IL_0031: ret + } // end of method EnvironmentVariable::set_PathSet - } // end .try 1 - finally { // 1 - IL_018d: ldloc.1 - IL_018e: isinst [mscorlib]System.IDisposable - IL_0193: dup - IL_0194: stloc.s 4 - IL_0196: brfalse IL_01a2 + // method line 1152 + .method public hidebysig specialname + instance default string get_Value () cil managed + { + // Method begins at RVA 0x1680c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_019b: ldloc.s 4 - IL_019d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01a2: endfinally - } // end handler 1 - IL_01a3: nop - IL_01a4: ldarg.0 - IL_01a5: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() - IL_01aa: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_01af: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_01b4: stloc.s 6 - .try { // 4 - IL_01b6: br IL_0206 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_Value - IL_01bb: ldloc.s 6 - IL_01bd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_01c2: stloc.s 5 - IL_01c4: nop - .try { // 2 - IL_01c5: nop - IL_01c6: ldloc.s 5 - IL_01c8: ldarg.0 - IL_01c9: ldarg.0 - IL_01ca: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_01cf: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) - IL_01d4: nop - IL_01d5: leave IL_0205 + // method line 1153 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x16828 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 2 - catch class NAnt.Core.BuildException { // 2 - IL_01da: pop - IL_01db: nop - IL_01dc: rethrow - } // end handler 2 - catch class [mscorlib]System.Exception { // 3 - IL_01de: stloc.s 7 - IL_01e0: nop - IL_01e1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01e6: ldstr "NA1130" - IL_01eb: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01f0: ldloc.s 5 - IL_01f2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01f7: ldarg.0 - IL_01f8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_01fd: ldloc.s 7 - IL_01ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0204: throw - } // end handler 3 - IL_0205: nop - IL_0206: ldloc.s 6 - IL_0208: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_020d: brtrue IL_01bb + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_IfDefined - IL_0212: leave IL_022e + // method line 1154 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x16843 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined + IL_0008: ret + } // end of method EnvironmentVariable::set_IfDefined - } // end .try 4 - finally { // 4 - IL_0217: ldloc.s 6 - IL_0219: isinst [mscorlib]System.IDisposable - IL_021e: dup - IL_021f: stloc.s 8 - IL_0221: brfalse IL_022d + // method line 1155 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x16850 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.EnvironmentVariable::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0226: ldloc.s 8 - IL_0228: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_022d: endfinally - } // end handler 4 - IL_022e: ret - } // end of method LoadTasksTask::ExecuteTask + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_UnlessDefined - // method line 1298 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 1156 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x15e44 - // Code size 42 (0x2a) + // Method begins at RVA 0x1686b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath() - IL_0007: brfalse IL_0029 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.EnvironmentVariable::_unlessDefined + IL_0008: ret + } // end of method EnvironmentVariable::set_UnlessDefined - IL_000c: ldarg.0 - IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.LoadTasksTask::get_Path() - IL_0012: brfalse IL_0029 + .property instance string VariableName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - IL_0017: nop - IL_0018: ldstr "Both asssembly and path attributes are set. Use one or the other." - IL_001d: ldarg.0 - IL_001e: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0023: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0028: throw - IL_0029: ret - } // end of method LoadTasksTask::Initialize + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () + .get instance default string NAnt.Core.Types.EnvironmentVariable::get_VariableName () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_VariableName (string 'value') + } + .property instance string LiteralValue () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 61 73 73 65 6D 62 6C 79 00 00 ) // ...assembly.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadTasksTask::get_AssemblyPath () - .set instance default void NAnt.Core.Tasks.LoadTasksTask::set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') + .get instance default string NAnt.Core.Types.EnvironmentVariable::get_LiteralValue () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_LiteralValue (string 'value') } - .property instance class [mscorlib]System.IO.DirectoryInfo Path () + .property instance class [mscorlib]System.IO.FileInfo File () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.EnvironmentVariable::get_File () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_File (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.EnvironmentVariable::get_Directory () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class NAnt.Core.Types.PathSet Path () { .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::get_Path () - .set instance default void NAnt.Core.Tasks.LoadTasksTask::set_Path (class [mscorlib]System.IO.DirectoryInfo 'value') + .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::get_Path () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_Path (class NAnt.Core.Types.PathSet 'value') } - .property instance class NAnt.Core.Types.FileSet TaskFileSet () + .property instance class NAnt.Core.Types.PathSet PathSet () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet () - .set instance default void NAnt.Core.Tasks.LoadTasksTask::set_TaskFileSet (class NAnt.Core.Types.FileSet 'value') + .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::get_PathSet () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_PathSet (class NAnt.Core.Types.PathSet 'value') } - } // end of class NAnt.Core.Tasks.LoadTasksTask + .property instance string Value () + { + .get instance default string NAnt.Core.Types.EnvironmentVariable::get_Value () + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.EnvironmentVariable::get_IfDefined () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.Core.Types.EnvironmentVariable } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit RegexTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit EnvironmentSet + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 72 65 67 65 78 00 00 ) // ...regex.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. - .field private string _pattern - .field private string _input - .field private valuetype [System]System.Text.RegularExpressions.RegexOptions _options + .field private class NAnt.Core.Types.OptionCollection _options + .field private class NAnt.Core.Types.EnvironmentVariableCollection _environmentVariables - // method line 1299 + // method line 1157 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x15e6f - // Code size 14 (0xe) + // Method begins at RVA 0x16875 + // Code size 29 (0x1d) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::_options - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Task::'.ctor'() - IL_000d: ret - } // end of method RegexTask::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.OptionCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::_options + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.Core.Types.EnvironmentVariableCollection::'.ctor'() + IL_0011: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::_environmentVariables + IL_0016: ldarg.0 + IL_0017: call instance void class NAnt.Core.Element::'.ctor'() + IL_001c: ret + } // end of method EnvironmentSet::.ctor - // method line 1300 + // method line 1158 .method public hidebysig specialname - instance default string get_Pattern () cil managed + instance default class NAnt.Core.Types.OptionCollection get_Options () cil managed { - // Method begins at RVA 0x15e80 + // Method begins at RVA 0x16894 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.OptionCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.RegexTask::_pattern + IL_0002: ldfld class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::_options IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegexTask::get_Pattern + } // end of method EnvironmentSet::get_Options - // method line 1301 + // method line 1159 .method public hidebysig specialname - instance default void set_Pattern (string 'value') cil managed + instance default void set_Options (class NAnt.Core.Types.OptionCollection 'value') cil managed { - // Method begins at RVA 0x15e9b + // Method begins at RVA 0x168af // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.RegexTask::_pattern + IL_0003: stfld class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::_options IL_0008: ret - } // end of method RegexTask::set_Pattern + } // end of method EnvironmentSet::set_Options - // method line 1302 + // method line 1160 .method public hidebysig specialname - instance default valuetype [System]System.Text.RegularExpressions.RegexOptions get_Options () cil managed + instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed { - // Method begins at RVA 0x15ea8 + // Method begins at RVA 0x168bc // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [System]System.Text.RegularExpressions.RegexOptions V_0) + class NAnt.Core.Types.EnvironmentVariableCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::_options + IL_0002: ldfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::_environmentVariables IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegexTask::get_Options + } // end of method EnvironmentSet::get_EnvironmentVariables - // method line 1303 + // method line 1161 .method public hidebysig specialname - instance default void set_Options (valuetype [System]System.Text.RegularExpressions.RegexOptions 'value') cil managed + instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed { - // Method begins at RVA 0x15ec3 + // Method begins at RVA 0x168d7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::_options + IL_0003: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::_environmentVariables IL_0008: ret - } // end of method RegexTask::set_Options + } // end of method EnvironmentSet::set_EnvironmentVariables - // method line 1304 + .property instance class NAnt.Core.Types.OptionCollection Options () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 06 6F 70 74 69 6F 6E 00 00 ) // ...option.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 1F 55 73 65 20 3C 76 61 72 69 61 62 6C 65 // ...Use element instea + 64 2E 00 00 ) // d... + + .get instance default class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::get_Options () + .set instance default void NAnt.Core.Types.EnvironmentSet::set_Options (class NAnt.Core.Types.OptionCollection 'value') + } + .property instance class NAnt.Core.Types.EnvironmentVariableCollection EnvironmentVariables () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 08 76 61 72 69 61 62 6C 65 00 00 ) // ...variable.. + + .get instance default class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::get_EnvironmentVariables () + .set instance default void NAnt.Core.Types.EnvironmentSet::set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') + } + } // end of class NAnt.Core.Types.EnvironmentSet +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit XsltParameter + extends NAnt.Core.Element + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0D 78 73 6C 74 70 61 72 61 6D 65 74 65 72 // ...xsltparameter + 00 00 ) // .. + + .field private string _name + .field private string _namespaceUri + .field private string _value + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1162 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x168e1 + // Code size 48 (0x30) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.Core.Types.XsltParameter::_name + IL_000b: ldarg.0 + IL_000c: ldsfld string [mscorlib]System.String::Empty + IL_0011: stfld string NAnt.Core.Types.XsltParameter::_namespaceUri + IL_0016: ldarg.0 + IL_0017: ldsfld string [mscorlib]System.String::Empty + IL_001c: stfld string NAnt.Core.Types.XsltParameter::_value + IL_0021: ldarg.0 + IL_0022: ldc.i4.1 + IL_0023: stfld bool NAnt.Core.Types.XsltParameter::_ifDefined + IL_0028: ldarg.0 + IL_0029: call instance void class NAnt.Core.Element::'.ctor'() + IL_002e: nop + IL_002f: ret + } // end of method XsltParameter::.ctor + + // method line 1163 .method public hidebysig specialname - instance default string get_Input () cil managed + instance default string get_ParameterName () cil managed { - // Method begins at RVA 0x15ed0 + // Method begins at RVA 0x16914 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.RegexTask::_input + IL_0002: ldfld string NAnt.Core.Types.XsltParameter::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegexTask::get_Input + } // end of method XsltParameter::get_ParameterName - // method line 1305 + // method line 1164 .method public hidebysig specialname - instance default void set_Input (string 'value') cil managed + instance default void set_ParameterName (string 'value') cil managed { - // Method begins at RVA 0x15eeb + // Method begins at RVA 0x1692f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.RegexTask::_input + IL_0003: stfld string NAnt.Core.Types.XsltParameter::_name IL_0008: ret - } // end of method RegexTask::set_Input + } // end of method XsltParameter::set_ParameterName - // method line 1306 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1165 + .method public hidebysig specialname + instance default string get_NamespaceUri () cil managed { - // Method begins at RVA 0x15ef8 - // Code size 257 (0x101) - .maxstack 8 + // Method begins at RVA 0x1693c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0, - class [mscorlib]System.ArgumentException V_1, - class [System]System.Text.RegularExpressions.Match V_2, - int32 V_3, - string V_4) + string V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: call instance string class NAnt.Core.Tasks.RegexTask::get_Pattern() - IL_000a: ldarg.0 - IL_000b: call instance valuetype [System]System.Text.RegularExpressions.RegexOptions class NAnt.Core.Tasks.RegexTask::get_Options() - IL_0010: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_0015: stloc.0 - IL_0016: nop - IL_0017: leave IL_0045 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.XsltParameter::_namespaceUri + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - catch class [mscorlib]System.ArgumentException { // 0 - IL_001c: stloc.1 - IL_001d: nop - IL_001e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0023: ldstr "NA1145" - IL_0028: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_002d: ldarg.0 - IL_002e: call instance string class NAnt.Core.Tasks.RegexTask::get_Pattern() - IL_0033: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0038: ldarg.0 - IL_0039: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_003e: ldloc.1 - IL_003f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0044: throw - } // end handler 0 - IL_0045: ldloc.0 - IL_0046: ldarg.0 - IL_0047: call instance string class NAnt.Core.Tasks.RegexTask::get_Input() - IL_004c: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0051: stloc.2 - IL_0052: ldloc.2 - IL_0053: call class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Match::get_Empty() - IL_0058: bne.un IL_008a - - IL_005d: nop - IL_005e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0063: ldstr "NA1144" - IL_0068: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_006d: ldarg.0 - IL_006e: call instance string class NAnt.Core.Tasks.RegexTask::get_Pattern() - IL_0073: ldarg.0 - IL_0074: call instance string class NAnt.Core.Tasks.RegexTask::get_Input() - IL_0079: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_007e: ldarg.0 - IL_007f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0084: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0089: throw - IL_008a: ldc.i4.1 - IL_008b: stloc.3 - IL_008c: br IL_00ef - - IL_0091: nop - IL_0092: ldloc.0 - IL_0093: ldloc.3 - IL_0094: callvirt instance string class [System]System.Text.RegularExpressions.Regex::GroupNameFromNumber(int32) - IL_0099: stloc.s 4 - IL_009b: ldarg.0 - IL_009c: ldc.i4 2000 - IL_00a1: ldstr "Setting property '{0}' to '{1}'." - IL_00a6: ldc.i4.2 - IL_00a7: newarr [mscorlib]System.Object - IL_00ac: dup - IL_00ad: ldc.i4.0 - IL_00ae: ldloc.s 4 - IL_00b0: stelem.ref - IL_00b1: dup - IL_00b2: ldc.i4.1 - IL_00b3: ldloc.2 - IL_00b4: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_00b9: ldloc.s 4 - IL_00bb: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_00c0: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_00c5: stelem.ref - IL_00c6: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00cb: ldarg.0 - IL_00cc: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00d1: ldloc.s 4 - IL_00d3: ldloc.2 - IL_00d4: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_00d9: ldloc.s 4 - IL_00db: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_00e0: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_00e5: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00ea: nop - IL_00eb: ldloc.3 - IL_00ec: ldc.i4.1 - IL_00ed: add - IL_00ee: stloc.3 - IL_00ef: ldloc.3 - IL_00f0: ldloc.2 - IL_00f1: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_00f6: callvirt instance int32 class [System]System.Text.RegularExpressions.GroupCollection::get_Count() - IL_00fb: blt IL_0091 - - IL_0100: ret - } // end of method RegexTask::ExecuteTask - - .property instance string Pattern () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 70 61 74 74 65 72 6E 01 00 54 02 08 52 // ...pattern..T..R - 65 71 75 69 72 65 64 01 ) // equired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.RegexTask::get_Pattern () - .set instance default void NAnt.Core.Tasks.RegexTask::set_Pattern (string 'value') - } - .property instance valuetype [System]System.Text.RegularExpressions.RegexOptions Options () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 6F 70 74 69 6F 6E 73 01 00 54 02 08 52 // ...options..T..R - 65 71 75 69 72 65 64 00 ) // equired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. - - .get instance default valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::get_Options () - .set instance default void NAnt.Core.Tasks.RegexTask::set_Options (valuetype [System]System.Text.RegularExpressions.RegexOptions 'value') - } - .property instance string Input () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 69 6E 70 75 74 01 00 54 02 08 52 65 71 // ...input..T..Req - 75 69 72 65 64 01 ) // uired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. - - .get instance default string NAnt.Core.Tasks.RegexTask::get_Input () - .set instance default void NAnt.Core.Tasks.RegexTask::set_Input (string 'value') - } - } // end of class NAnt.Core.Tasks.RegexTask -} - -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit TryCatchTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 74 72 79 63 61 74 63 68 00 00 ) // ...trycatch.. - - .field private class NAnt.Core.ElementContainer _tryBlock - .field private class NAnt.Core.Tasks.TryCatchTask/CatchElement _catchBlock - .field private class NAnt.Core.ElementContainer _finallyBlock + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameter::get_NamespaceUri - // method line 1307 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1166 + .method public hidebysig specialname + instance default void set_NamespaceUri (string 'value') cil managed { - // Method begins at RVA 0x16018 - // Code size 7 (0x7) + // Method begins at RVA 0x16957 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method TryCatchTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.XsltParameter::_namespaceUri + IL_0008: ret + } // end of method XsltParameter::set_NamespaceUri - // method line 1308 + // method line 1167 .method public hidebysig specialname - instance default class NAnt.Core.ElementContainer get_TryBlock () cil managed + instance default string get_Value () cil managed { - // Method begins at RVA 0x16020 + // Method begins at RVA 0x16964 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.ElementContainer V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_tryBlock + IL_0002: ldfld string NAnt.Core.Types.XsltParameter::_value IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TryCatchTask::get_TryBlock + } // end of method XsltParameter::get_Value - // method line 1309 + // method line 1168 .method public hidebysig specialname - instance default void set_TryBlock (class NAnt.Core.ElementContainer 'value') cil managed + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0x1603b + // Method begins at RVA 0x1697f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_tryBlock + IL_0003: stfld string NAnt.Core.Types.XsltParameter::_value IL_0008: ret - } // end of method TryCatchTask::set_TryBlock + } // end of method XsltParameter::set_Value - // method line 1310 + // method line 1169 .method public hidebysig specialname - instance default class NAnt.Core.Tasks.TryCatchTask/CatchElement get_CatchBlock () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x16048 + // Method begins at RVA 0x1698c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Tasks.TryCatchTask/CatchElement V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::_catchBlock + IL_0002: ldfld bool NAnt.Core.Types.XsltParameter::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TryCatchTask::get_CatchBlock + } // end of method XsltParameter::get_IfDefined - // method line 1311 + // method line 1170 .method public hidebysig specialname - instance default void set_CatchBlock (class NAnt.Core.Tasks.TryCatchTask/CatchElement 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x16063 + // Method begins at RVA 0x169a7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::_catchBlock + IL_0003: stfld bool NAnt.Core.Types.XsltParameter::_ifDefined IL_0008: ret - } // end of method TryCatchTask::set_CatchBlock + } // end of method XsltParameter::set_IfDefined - // method line 1312 + // method line 1171 .method public hidebysig specialname - instance default class NAnt.Core.ElementContainer get_FinallyBlock () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x16070 + // Method begins at RVA 0x169b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.ElementContainer V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_finallyBlock + IL_0002: ldfld bool NAnt.Core.Types.XsltParameter::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TryCatchTask::get_FinallyBlock + } // end of method XsltParameter::get_UnlessDefined - // method line 1313 + // method line 1172 .method public hidebysig specialname - instance default void set_FinallyBlock (class NAnt.Core.ElementContainer 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x1608b + // Method begins at RVA 0x169cf // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_finallyBlock + IL_0003: stfld bool NAnt.Core.Types.XsltParameter::_unlessDefined IL_0008: ret - } // end of method TryCatchTask::set_FinallyBlock - - // method line 1314 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x16098 - // Code size 101 (0x65) - .maxstack 2 - .locals init ( - class NAnt.Core.BuildException V_0) - IL_0000: nop - .try { // 1 - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_TryBlock() - IL_0008: brfalse IL_001a - - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_TryBlock() - IL_0014: callvirt instance void class NAnt.Core.ElementContainer::Execute() - IL_0019: nop - IL_001a: nop - IL_001b: leave IL_0064 - - } // end .try 0 - catch class NAnt.Core.BuildException { // 0 - IL_0020: stloc.0 - IL_0021: nop - IL_0022: ldarg.0 - IL_0023: call instance class NAnt.Core.Tasks.TryCatchTask/CatchElement class NAnt.Core.Tasks.TryCatchTask::get_CatchBlock() - IL_0028: brfalse IL_0040 - - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class NAnt.Core.Tasks.TryCatchTask/CatchElement class NAnt.Core.Tasks.TryCatchTask::get_CatchBlock() - IL_0034: ldloc.0 - IL_0035: callvirt instance void class NAnt.Core.Tasks.TryCatchTask/CatchElement::Catch(class NAnt.Core.BuildException) - IL_003a: nop - IL_003b: br IL_0043 + } // end of method XsltParameter::set_UnlessDefined - IL_0040: nop - IL_0041: rethrow - IL_0043: nop - IL_0044: leave IL_0064 + .property instance string ParameterName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - } // end handler 0 - } // end .try 1 - finally { // 1 - IL_0049: nop - IL_004a: ldarg.0 - IL_004b: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_FinallyBlock() - IL_0050: brfalse IL_0062 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_0055: nop - IL_0056: ldarg.0 - IL_0057: call instance class NAnt.Core.ElementContainer class NAnt.Core.Tasks.TryCatchTask::get_FinallyBlock() - IL_005c: callvirt instance void class NAnt.Core.ElementContainer::Execute() - IL_0061: nop - IL_0062: nop - IL_0063: endfinally - } // end handler 1 - IL_0064: ret - } // end of method TryCatchTask::ExecuteTask + .get instance default string NAnt.Core.Types.XsltParameter::get_ParameterName () + .set instance default void NAnt.Core.Types.XsltParameter::set_ParameterName (string 'value') + } + .property instance string NamespaceUri () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6E 61 6D 65 73 70 61 63 65 75 72 69 00 // ...namespaceuri. + 00 ) // . - .property instance class NAnt.Core.ElementContainer TryBlock () + .get instance default string NAnt.Core.Types.XsltParameter::get_NamespaceUri () + .set instance default void NAnt.Core.Types.XsltParameter::set_NamespaceUri (string 'value') + } + .property instance string Value () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 03 74 72 79 01 00 54 02 08 52 65 71 75 69 // ...try..T..Requi - 72 65 64 01 ) // red. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 76 61 6C 75 65 01 00 54 02 08 52 65 71 // ...value..T..Req + 75 69 72 65 64 01 ) // uired. - .get instance default class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::get_TryBlock () - .set instance default void NAnt.Core.Tasks.TryCatchTask::set_TryBlock (class NAnt.Core.ElementContainer 'value') + .get instance default string NAnt.Core.Types.XsltParameter::get_Value () + .set instance default void NAnt.Core.Types.XsltParameter::set_Value (string 'value') } - .property instance class NAnt.Core.Tasks.TryCatchTask/CatchElement CatchBlock () + .property instance bool IfDefined () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 05 63 61 74 63 68 01 00 54 02 08 52 65 71 // ...catch..T..Req - 75 69 72 65 64 00 ) // uired. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - .get instance default class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::get_CatchBlock () - .set instance default void NAnt.Core.Tasks.TryCatchTask::set_CatchBlock (class NAnt.Core.Tasks.TryCatchTask/CatchElement 'value') + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.XsltParameter::get_IfDefined () + .set instance default void NAnt.Core.Types.XsltParameter::set_IfDefined (bool 'value') } - .property instance class NAnt.Core.ElementContainer FinallyBlock () + .property instance bool UnlessDefined () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 07 66 69 6E 61 6C 6C 79 01 00 54 02 08 52 // ...finally..T..R - 65 71 75 69 72 65 64 00 ) // equired. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - .get instance default class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::get_FinallyBlock () - .set instance default void NAnt.Core.Tasks.TryCatchTask::set_FinallyBlock (class NAnt.Core.ElementContainer 'value') + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.XsltParameter::get_UnlessDefined () + .set instance default void NAnt.Core.Types.XsltParameter::set_UnlessDefined (bool 'value') } - .class nested public auto ansi beforefieldinit CatchElement - extends NAnt.Core.ElementContainer - { - .field private string _property + } // end of class NAnt.Core.Types.XsltParameter +} - // method line 1315 +.namespace NAnt.Core.Types +{ + .class public auto ansi serializable beforefieldinit PatternCollection + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { + .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.ArrayList _list + + // method line 1173 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16128 - // Code size 7 (0x7) + // Method begins at RVA 0x169d9 + // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.ElementContainer::'.ctor'() - IL_0006: ret - } // end of method CatchElement::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_000d: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::_list + IL_0012: ret + } // end of method PatternCollection::.ctor - // method line 1316 + // method line 1174 .method public hidebysig specialname - instance default string get_Property () cil managed + instance default class NAnt.Core.Types.Pattern get_Item (int32 index) cil managed + { + // Method begins at RVA 0x169f0 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.Types.Pattern V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.Pattern + IL_0012: stloc.0 + IL_0013: br IL_0018 + + IL_0018: ldloc.0 + IL_0019: ret + } // end of method PatternCollection::get_Item + + // method line 1175 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') cil managed + { + // Method begins at RVA 0x16a16 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) + IL_000e: ret + } // end of method PatternCollection::set_Item + + // method line 1176 + .method private hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed { - // Method begins at RVA 0x16130 + // Method begins at RVA 0x16a28 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.TryCatchTask/CatchElement::_property + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::_list IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CatchElement::get_Property + } // end of method PatternCollection::get_List - // method line 1317 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + // method line 1177 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed { - // Method begins at RVA 0x1614b - // Code size 14 (0xe) + // Method begins at RVA 0x16a44 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::get_Count + + // method line 1178 + .method private final virtual hidebysig newslot + instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + { + // Method begins at RVA 0x16a64 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.TryCatchTask/CatchElement::_property - IL_000d: ret - } // end of method CatchElement::set_Property + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method PatternCollection::System.Collections.ICollection.CopyTo - // method line 1318 - .method public hidebysig - instance default void Catch (class NAnt.Core.BuildException be) cil managed + // method line 1179 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed { - // Method begins at RVA 0x1615c - // Code size 182 (0xb6) - .maxstack 3 + // Method begins at RVA 0x16a74 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_IsSynchronized due to (null) + // Code size 20 (0x14) + .maxstack 1 .locals init ( - bool V_0, - string V_1) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldarg.0 - IL_0006: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() - IL_000b: brfalse IL_005c - - IL_0010: nop - IL_0011: ldarg.0 - IL_0012: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0017: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_001c: ldarg.0 - IL_001d: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() - IL_0022: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0027: stloc.0 - IL_0028: ldarg.0 - IL_0029: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_002e: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0033: ldarg.0 - IL_0034: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() - IL_0039: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_003e: stloc.1 - IL_003f: ldarg.0 - IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0045: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_004a: ldarg.0 - IL_004b: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() - IL_0050: ldarg.1 - IL_0051: callvirt instance string class NAnt.Core.BuildException::get_RawMessage() - IL_0056: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_005b: nop - .try { // 0 - IL_005c: nop - IL_005d: ldarg.0 - IL_005e: callvirt instance void class NAnt.Core.ElementContainer::Execute() - IL_0063: nop - IL_0064: leave IL_00b5 - - } // end .try 0 - finally { // 0 - IL_0069: nop - IL_006a: ldarg.0 - IL_006b: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() - IL_0070: brfalse IL_00b3 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: callvirt instance bool class [mscorlib]System.Collections.ArrayList::get_IsSynchronized() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0075: nop - IL_0076: ldloc.0 - IL_0077: brtrue IL_0099 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::System.Collections.ICollection.get_IsSynchronized - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0083: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0088: ldarg.0 - IL_0089: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() - IL_008e: callvirt instance void class NAnt.Core.PropertyDictionary::Remove(string) - IL_0093: nop - IL_0094: br IL_00b2 + // method line 1180 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.ICollection.get_SyncRoot () cil managed + { + // Method begins at RVA 0x16a94 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_SyncRoot due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_SyncRoot() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0099: nop - IL_009a: ldarg.0 - IL_009b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00a0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00a5: ldarg.0 - IL_00a6: call instance string class NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property() - IL_00ab: ldloc.1 - IL_00ac: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00b1: nop - IL_00b2: nop - IL_00b3: nop - IL_00b4: endfinally - } // end handler 0 - IL_00b5: ret - } // end of method CatchElement::Catch + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::System.Collections.ICollection.get_SyncRoot - .property instance string Property () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. + // method line 1181 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + { + // Method begins at RVA 0x16ab4 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.IEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::System.Collections.IEnumerable.GetEnumerator - .get instance default string NAnt.Core.Tasks.TryCatchTask/CatchElement::get_Property () - .set instance default void NAnt.Core.Tasks.TryCatchTask/CatchElement::set_Property (string 'value') - } - } // end of class CatchElement + // method line 1182 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IList.get_Item (int32 index) cil managed + { + // Method begins at RVA 0x16ad4 + .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternCollection::get_Item(int32) + IL_0008: stloc.0 + IL_0009: br IL_000e - } // end of class NAnt.Core.Tasks.TryCatchTask -} + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PatternCollection::System.Collections.IList.get_Item -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit AvailableTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 09 61 76 61 69 6C 61 62 6C 65 00 00 ) // ...available.. + // method line 1183 + .method private final virtual hidebysig newslot specialname + instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + { + // Method begins at RVA 0x16af0 + .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) + // Code size 81 (0x51) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: brtrue IL_0013 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 16 55 73 65 20 66 75 6E 63 74 69 6F 6E 73 // ...Use functions - 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // instead.... + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: isinst NAnt.Core.Types.Pattern + IL_0019: brtrue IL_0043 - .field private valuetype NAnt.Core.Tasks.AvailableTask/ResourceType _resourceType - .field private string _resource - .field private string _propertyName + IL_001e: nop + IL_001f: ldstr "Specified value is not an instance of " + IL_0024: ldtoken NAnt.Core.Types.Pattern + IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0033: ldstr "." + IL_0038: call string string::Concat(string, string, string) + IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: ldarg.1 + IL_0045: ldarg.2 + IL_0046: castclass NAnt.Core.Types.Pattern + IL_004b: call instance void class NAnt.Core.Types.PatternCollection::set_Item(int32, class NAnt.Core.Types.Pattern) + IL_0050: ret + } // end of method PatternCollection::System.Collections.IList.set_Item - // method line 1319 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1184 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.IList.get_IsFixedSize () cil managed { - // Method begins at RVA 0x16230 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method AvailableTask::.ctor + // Method begins at RVA 0x16b50 + .override Could not decode method override class [mscorlib]System.Collections.IList::get_IsFixedSize due to (null) + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - // method line 1320 - .method public hidebysig specialname - instance default string get_Resource () cil managed + IL_0008: ldloc.0 + IL_0009: ret + } // end of method PatternCollection::System.Collections.IList.get_IsFixedSize + + // method line 1185 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.IList.get_IsReadOnly () cil managed { - // Method begins at RVA 0x16238 - // Code size 15 (0xf) + // Method begins at RVA 0x16b68 + .override Could not decode method override class [mscorlib]System.Collections.IList::get_IsReadOnly due to (null) + // Code size 10 (0xa) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.AvailableTask::_resource - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AvailableTask::get_Resource + IL_0008: ldloc.0 + IL_0009: ret + } // end of method PatternCollection::System.Collections.IList.get_IsReadOnly - // method line 1321 - .method public hidebysig specialname - instance default void set_Resource (string 'value') cil managed + // method line 1186 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.Add (object 'value') cil managed { - // Method begins at RVA 0x16253 - // Code size 14 (0xe) + // Method begins at RVA 0x16b80 + .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) + // Code size 87 (0x57) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 + + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.Core.Types.Pattern + IL_0019: brtrue IL_0043 + + IL_001e: nop + IL_001f: ldstr "Specified value is not an instance of " + IL_0024: ldtoken NAnt.Core.Types.Pattern + IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0033: ldstr "." + IL_0038: call string string::Concat(string, string, string) + IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: ldarg.1 + IL_0045: castclass NAnt.Core.Types.Pattern + IL_004a: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) + IL_004f: stloc.0 + IL_0050: br IL_0055 + + IL_0055: ldloc.0 + IL_0056: ret + } // end of method PatternCollection::System.Collections.IList.Add + + // method line 1187 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IList.Contains (object 'value') cil managed + { + // Method begins at RVA 0x16be4 + .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) + // Code size 87 (0x57) + .maxstack 3 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 + + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.Core.Types.Pattern + IL_0019: brtrue IL_0043 + + IL_001e: nop + IL_001f: ldstr "Specified value is not an instance of " + IL_0024: ldtoken NAnt.Core.Types.Pattern + IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0033: ldstr "." + IL_0038: call string string::Concat(string, string, string) + IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: ldarg.1 + IL_0045: castclass NAnt.Core.Types.Pattern + IL_004a: call instance bool class NAnt.Core.Types.PatternCollection::Contains(class NAnt.Core.Types.Pattern) + IL_004f: stloc.0 + IL_0050: br IL_0055 + + IL_0055: ldloc.0 + IL_0056: ret + } // end of method PatternCollection::System.Collections.IList.Contains + + // method line 1188 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed + { + // Method begins at RVA 0x16c47 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.AvailableTask::_resource - IL_000d: ret - } // end of method AvailableTask::set_Resource + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() + IL_000c: ret + } // end of method PatternCollection::Clear - // method line 1322 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.AvailableTask/ResourceType get_Type () cil managed + // method line 1189 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed { - // Method begins at RVA 0x16264 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16c58 + .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) + // Code size 87 (0x57) + .maxstack 3 .locals init ( - valuetype NAnt.Core.Tasks.AvailableTask/ResourceType V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Tasks.AvailableTask/ResourceType NAnt.Core.Tasks.AvailableTask::_resourceType - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AvailableTask::get_Type + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.Core.Types.Pattern + IL_0019: brtrue IL_0043 - // method line 1323 - .method public hidebysig specialname - instance default void set_Type (valuetype NAnt.Core.Tasks.AvailableTask/ResourceType 'value') cil managed + IL_001e: nop + IL_001f: ldstr "Specified value is not an instance of " + IL_0024: ldtoken NAnt.Core.Types.Pattern + IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0033: ldstr "." + IL_0038: call string string::Concat(string, string, string) + IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: ldarg.1 + IL_0045: castclass NAnt.Core.Types.Pattern + IL_004a: call instance int32 class NAnt.Core.Types.PatternCollection::IndexOf(class NAnt.Core.Types.Pattern) + IL_004f: stloc.0 + IL_0050: br IL_0055 + + IL_0055: ldloc.0 + IL_0056: ret + } // end of method PatternCollection::System.Collections.IList.IndexOf + + // method line 1190 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed { - // Method begins at RVA 0x16280 - // Code size 65 (0x41) + // Method begins at RVA 0x16cbc + .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) + // Code size 81 (0x51) .maxstack 3 IL_0000: nop - IL_0001: ldtoken NAnt.Core.Tasks.AvailableTask/ResourceType - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: box NAnt.Core.Tasks.AvailableTask/ResourceType - IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0016: brtrue IL_0037 + IL_0001: ldarg.2 + IL_0002: brtrue IL_0013 - IL_001b: nop - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: ldstr "An invalid type {0} was specified." - IL_0026: ldarg.1 - IL_0027: box NAnt.Core.Tasks.AvailableTask/ResourceType - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0036: throw - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldarg.1 - IL_003a: stfld valuetype NAnt.Core.Tasks.AvailableTask/ResourceType NAnt.Core.Tasks.AvailableTask::_resourceType - IL_003f: nop - IL_0040: ret - } // end of method AvailableTask::set_Type + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: isinst NAnt.Core.Types.Pattern + IL_0019: brtrue IL_0043 - // method line 1324 - .method public hidebysig specialname - instance default string get_PropertyName () cil managed + IL_001e: nop + IL_001f: ldstr "Specified value is not an instance of " + IL_0024: ldtoken NAnt.Core.Types.Pattern + IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0033: ldstr "." + IL_0038: call string string::Concat(string, string, string) + IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: ldarg.1 + IL_0045: ldarg.2 + IL_0046: castclass NAnt.Core.Types.Pattern + IL_004b: call instance void class NAnt.Core.Types.PatternCollection::Insert(int32, class NAnt.Core.Types.Pattern) + IL_0050: ret + } // end of method PatternCollection::System.Collections.IList.Insert + + // method line 1191 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Remove (object 'value') cil managed { - // Method begins at RVA 0x162d0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x16d1c + .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) + // Code size 80 (0x50) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.AvailableTask::_propertyName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AvailableTask::get_PropertyName + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.Core.Types.Pattern + IL_0019: brtrue IL_0043 - // method line 1325 - .method public hidebysig specialname - instance default void set_PropertyName (string 'value') cil managed + IL_001e: nop + IL_001f: ldstr "Specified value is not an instance of " + IL_0024: ldtoken NAnt.Core.Types.Pattern + IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0033: ldstr "." + IL_0038: call string string::Concat(string, string, string) + IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: ldarg.1 + IL_0045: castclass NAnt.Core.Types.Pattern + IL_004a: call instance void class NAnt.Core.Types.PatternCollection::Remove(class NAnt.Core.Types.Pattern) + IL_004f: ret + } // end of method PatternCollection::System.Collections.IList.Remove + + // method line 1192 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.RemoveAt (int32 index) cil managed { - // Method begins at RVA 0x162eb + // Method begins at RVA 0x16d78 + .override Could not decode method override class [mscorlib]System.Collections.IList::RemoveAt due to (null) // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.AvailableTask::_propertyName + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) IL_000d: ret - } // end of method AvailableTask::set_PropertyName + } // end of method PatternCollection::System.Collections.IList.RemoveAt - // method line 1326 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1193 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Pattern item) cil managed { - // Method begins at RVA 0x162fc - // Code size 43 (0x2b) - .maxstack 4 + // Method begins at RVA 0x16d88 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Tasks.AvailableTask::get_PropertyName() - IL_0012: ldarg.0 - IL_0013: callvirt instance bool class NAnt.Core.Tasks.AvailableTask::Evaluate() - IL_0018: stloc.0 - IL_0019: ldloca.s 0 - IL_001b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0020: call instance string bool::ToString(class [mscorlib]System.IFormatProvider) - IL_0025: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_002a: ret - } // end of method AvailableTask::ExecuteTask + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 1327 - .method family virtual hidebysig newslot - instance default bool Evaluate () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PatternCollection::Add + + // method line 1194 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.Pattern[] items) cil managed { - // Method begins at RVA 0x16334 - // Code size 181 (0xb5) - .maxstack 7 + // Method begins at RVA 0x16dac + // Code size 34 (0x22) + .maxstack 3 .locals init ( - bool V_0, - valuetype NAnt.Core.Tasks.AvailableTask/ResourceType V_1, - bool V_2) + int32 V_0) IL_0000: nop IL_0001: ldc.i4.0 IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType class NAnt.Core.Tasks.AvailableTask::get_Type() - IL_0009: stloc.1 - IL_000a: ldloc.1 - IL_000b: ldc.i4.1 - IL_000c: sub - IL_000d: switch ( - IL_0027, - IL_0033, - IL_003f, - IL_004b) - IL_0022: br IL_0057 + IL_0003: br IL_0018 - IL_0027: ldarg.0 - IL_0028: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckFile() - IL_002d: stloc.0 - IL_002e: br IL_0077 - - IL_0033: ldarg.0 - IL_0034: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckDirectory() - IL_0039: stloc.0 - IL_003a: br IL_0077 - - IL_003f: ldarg.0 - IL_0040: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckFramework() - IL_0045: stloc.0 - IL_0046: br IL_0077 - - IL_004b: ldarg.0 - IL_004c: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckFrameworkSDK() - IL_0051: stloc.0 - IL_0052: br IL_0077 - - IL_0057: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005c: ldstr "No resource check is implemented for {0}" - IL_0061: ldarg.0 - IL_0062: call instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType class NAnt.Core.Tasks.AvailableTask::get_Type() - IL_0067: box NAnt.Core.Tasks.AvailableTask/ResourceType - IL_006c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0076: throw - IL_0077: ldloc.0 - IL_0078: brtrue IL_00ac - - IL_007d: nop - IL_007e: ldarg.0 - IL_007f: ldc.i4 2000 - IL_0084: ldstr "Unable to find {0} {1}." - IL_0089: ldc.i4.2 - IL_008a: newarr [mscorlib]System.Object - IL_008f: dup - IL_0090: ldc.i4.0 - IL_0091: ldarg.0 - IL_0092: call instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType class NAnt.Core.Tasks.AvailableTask::get_Type() - IL_0097: box NAnt.Core.Tasks.AvailableTask/ResourceType - IL_009c: stelem.ref - IL_009d: dup - IL_009e: ldc.i4.1 - IL_009f: ldarg.0 - IL_00a0: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() - IL_00a5: stelem.ref - IL_00a6: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00ab: nop - IL_00ac: ldloc.0 - IL_00ad: stloc.2 - IL_00ae: br IL_00b3 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_00b3: ldloc.2 - IL_00b4: ret - } // end of method AvailableTask::Evaluate + IL_0021: ret + } // end of method PatternCollection::AddRange - // method line 1328 - .method private hidebysig - instance default bool CheckFile () cil managed + // method line 1195 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.PatternCollection items) cil managed { - // Method begins at RVA 0x163f8 - // Code size 80 (0x50) + // Method begins at RVA 0x16ddc + // Code size 41 (0x29) .maxstack 3 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - bool V_1, - class [mscorlib]System.ArgumentException V_2) + int32 V_0) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0008: ldarg.0 - IL_0009: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() - IL_000e: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_0013: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0018: stloc.0 - IL_0019: ldloc.0 - IL_001a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001f: stloc.1 - IL_0020: leave IL_004e - - } // end .try 0 - catch class [mscorlib]System.ArgumentException { // 0 - IL_0025: stloc.2 - IL_0026: nop - IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002c: ldstr "NA1104" - IL_0031: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0036: ldarg.0 - IL_0037: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() - IL_003c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0041: ldarg.0 - IL_0042: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0047: ldloc.2 - IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_004d: throw - } // end handler 0 - IL_004e: ldloc.1 - IL_004f: ret - } // end of method AvailableTask::CheckFile + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - // method line 1329 - .method private hidebysig - instance default bool CheckDirectory () cil managed - { - // Method begins at RVA 0x16464 - // Code size 80 (0x50) - .maxstack 3 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0, - bool V_1, - class [mscorlib]System.ArgumentException V_2) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0008: ldarg.0 - IL_0009: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() - IL_000e: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_0013: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0018: stloc.0 - IL_0019: ldloc.0 - IL_001a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001f: stloc.1 - IL_0020: leave IL_004e + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() + IL_0023: blt IL_0008 - } // end .try 0 - catch class [mscorlib]System.ArgumentException { // 0 - IL_0025: stloc.2 - IL_0026: nop - IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002c: ldstr "NA1103" - IL_0031: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0036: ldarg.0 - IL_0037: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() - IL_003c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0041: ldarg.0 - IL_0042: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0047: ldloc.2 - IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_004d: throw - } // end handler 0 - IL_004e: ldloc.1 - IL_004f: ret - } // end of method AvailableTask::CheckDirectory + IL_0028: ret + } // end of method PatternCollection::AddRange - // method line 1330 - .method private hidebysig - instance default bool CheckFramework () cil managed + // method line 1196 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Pattern item) cil managed { - // Method begins at RVA 0x164d0 - // Code size 31 (0x1f) + // Method begins at RVA 0x16e14 + // Code size 21 (0x15) .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() - IL_0012: callvirt instance bool class NAnt.Core.FrameworkInfoDictionary::Contains(string) - IL_0017: stloc.0 - IL_0018: br IL_001d + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_001d: ldloc.0 - IL_001e: ret - } // end of method AvailableTask::CheckFramework + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PatternCollection::Contains - // method line 1331 - .method private hidebysig - instance default bool CheckFrameworkSDK () cil managed + // method line 1197 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Pattern[] 'array', int32 index) cil managed { - // Method begins at RVA 0x164fc - // Code size 59 (0x3b) + // Method begins at RVA 0x16e35 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method PatternCollection::CopyTo + + // method line 1198 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x16e48 + // Code size 21 (0x15) .maxstack 2 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - bool V_1) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Tasks.AvailableTask::get_Resource() - IL_0012: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: brfalse IL_0031 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_001e: nop - IL_001f: ldloc.0 - IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_0025: ldnull - IL_0026: ceq - IL_0028: ldc.i4.0 - IL_0029: ceq - IL_002b: stloc.1 - IL_002c: br IL_0039 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PatternCollection::IndexOf - IL_0031: nop - IL_0032: ldc.i4.0 - IL_0033: stloc.1 - IL_0034: br IL_0039 + // method line 1199 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x16e69 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) + IL_000e: ret + } // end of method PatternCollection::Insert - IL_0039: ldloc.1 - IL_003a: ret - } // end of method AvailableTask::CheckFrameworkSDK + // method line 1200 + .method public hidebysig + instance default class NAnt.Core.Types.PatternEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x16e7c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PatternEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.Types.PatternEnumerator::'.ctor'(class NAnt.Core.Types.PatternCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance string Resource () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 72 65 73 6F 75 72 63 65 01 00 54 02 08 // ...resource..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PatternCollection::GetEnumerator - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + // method line 1201 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x16e97 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) + IL_000d: ret + } // end of method PatternCollection::Remove - .get instance default string NAnt.Core.Tasks.AvailableTask::get_Resource () - .set instance default void NAnt.Core.Tasks.AvailableTask::set_Resource (string 'value') + .property instance bool System.Collections.ICollection.IsSynchronized () + { + .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.ICollection.get_IsSynchronized () } - .property instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType Type () + .property instance object System.Collections.ICollection.SyncRoot () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 74 79 70 65 01 00 54 02 08 52 65 71 75 // ...type..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default valuetype NAnt.Core.Tasks.AvailableTask/ResourceType NAnt.Core.Tasks.AvailableTask::get_Type () - .set instance default void NAnt.Core.Tasks.AvailableTask::set_Type (valuetype NAnt.Core.Tasks.AvailableTask/ResourceType 'value') + .get instance default object NAnt.Core.Types.PatternCollection::System.Collections.ICollection.get_SyncRoot () } - .property instance string PropertyName () + .property instance object System.Collections.IList.Item (int32) { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.AvailableTask::get_PropertyName () - .set instance default void NAnt.Core.Tasks.AvailableTask::set_PropertyName (string 'value') + .get instance default object NAnt.Core.Types.PatternCollection::System.Collections.IList.get_Item (int32 index) + .set instance default void NAnt.Core.Types.PatternCollection::System.Collections.IList.set_Item (int32 index, object 'value') } - .class nested public auto ansi sealed ResourceType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType File = int32(0x00000001) - .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType Directory = int32(0x00000002) - .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType Framework = int32(0x00000003) - .field public static literal valuetype NAnt.Core.Tasks.AvailableTask/ResourceType FrameworkSDK = int32(0x00000004) - - } // end of class ResourceType - - } // end of class NAnt.Core.Tasks.AvailableTask + .property instance bool System.Collections.IList.IsFixedSize () + { + .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.IList.get_IsFixedSize () + } + .property instance bool System.Collections.IList.IsReadOnly () + { + .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.IList.get_IsReadOnly () + } + .property instance class NAnt.Core.Types.Pattern Item (int32) + { + .get instance default class NAnt.Core.Types.Pattern NAnt.Core.Types.PatternCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.PatternCollection::set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') + } + .property instance class [mscorlib]System.Collections.ArrayList List () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::get_List () + } + .property instance int32 Count () + { + .get instance default int32 NAnt.Core.Types.PatternCollection::get_Count () + } + } // end of class NAnt.Core.Types.PatternCollection } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit MoveTask - extends NAnt.Core.Tasks.CopyTask - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6D 6F 76 65 00 00 ) // ...move.. - + .class public auto ansi beforefieldinit PatternEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 1332 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1202 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.PatternCollection arguments) cil managed { - // Method begins at RVA 0x16543 - // Code size 7 (0x7) - .maxstack 8 + // Method begins at RVA 0x16ea8 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Tasks.CopyTask::'.ctor'() - IL_0006: ret - } // end of method MoveTask::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator + IL_0015: ret + } // end of method PatternEnumerator::.ctor - // method line 1333 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SourceFile () cil managed + // method line 1203 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Pattern get_Current () cil managed { - // Method begins at RVA 0x1654c - // Code size 15 (0xf) + // Method begins at RVA 0x16ecc + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Types.Pattern V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_SourceFile() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.Pattern + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MoveTask::get_SourceFile + IL_0017: ldloc.0 + IL_0018: ret + } // end of method PatternEnumerator::get_Current - // method line 1334 - .method public virtual hidebysig specialname - instance default void set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1204 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x16567 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x16ef4 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_SourceFile(class [mscorlib]System.IO.FileInfo) - IL_0008: ret - } // end of method MoveTask::set_SourceFile + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1335 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ToFile () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternEnumerator::System.Collections.IEnumerator.get_Current + + // method line 1205 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x16574 - // Code size 15 (0xf) + // Method begins at RVA 0x16f14 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MoveTask::get_ToFile + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternEnumerator::MoveNext - // method line 1336 - .method public virtual hidebysig specialname - instance default void set_ToFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1206 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed { - // Method begins at RVA 0x1658f - // Code size 9 (0x9) + // Method begins at RVA 0x16f34 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_ToFile(class [mscorlib]System.IO.FileInfo) - IL_0008: ret - } // end of method MoveTask::set_ToFile + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method PatternEnumerator::Reset - // method line 1337 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed - { - // Method begins at RVA 0x1659c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.PatternEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.Types.Pattern Current () + { + .get instance default class NAnt.Core.Types.Pattern NAnt.Core.Types.PatternEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.PatternEnumerator +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit DirSet + extends NAnt.Core.Types.FileSet + implements [mscorlib]System.ICloneable { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 06 64 69 72 73 65 74 00 00 ) // ...dirset.. + + + // method line 1207 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x16f42 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method DirSet::.ctor + + // method line 1208 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed + { + // Method begins at RVA 0x16f4b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Types.FileSet::'.ctor'(class NAnt.Core.Types.FileSet) + IL_0007: nop + IL_0008: ret + } // end of method DirSet::.ctor + + } // end of class NAnt.Core.Types.DirSet +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit Proxy + extends NAnt.Core.DataTypeBase + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. + + .field private string _host + .field private int32 _port + .field private bool _bypassOnLocal + .field private class NAnt.Core.Types.Credential _credentials + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1209 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x16f55 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Proxy::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method Proxy::.ctor + + // method line 1210 + .method public hidebysig specialname + instance default string get_Host () cil managed + { + // Method begins at RVA 0x16f68 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_0002: ldfld string NAnt.Core.Types.Proxy::_host IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MoveTask::get_ToDirectory + } // end of method Proxy::get_Host - // method line 1338 - .method public virtual hidebysig specialname - instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 1211 + .method public hidebysig specialname + instance default void set_Host (string 'value') cil managed { - // Method begins at RVA 0x165b7 - // Code size 9 (0x9) + // Method begins at RVA 0x16f83 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0008: ret - } // end of method MoveTask::set_ToDirectory + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Types.Proxy::_host + IL_000d: ret + } // end of method Proxy::set_Host - // method line 1339 - .method public virtual hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_CopyFileSet () cil managed + // method line 1212 + .method public hidebysig specialname + instance default int32 get_Port () cil managed { - // Method begins at RVA 0x165c4 + // Method begins at RVA 0x16f94 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0002: ldfld int32 NAnt.Core.Types.Proxy::_port IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MoveTask::get_CopyFileSet + } // end of method Proxy::get_Port - // method line 1340 - .method public virtual hidebysig specialname - instance default void set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 1213 + .method public hidebysig specialname + instance default void set_Port (int32 'value') cil managed { - // Method begins at RVA 0x165df + // Method begins at RVA 0x16faf // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_CopyFileSet(class NAnt.Core.Types.FileSet) + IL_0003: stfld int32 NAnt.Core.Types.Proxy::_port IL_0008: ret - } // end of method MoveTask::set_CopyFileSet + } // end of method Proxy::set_Port - // method line 1341 - .method public virtual hidebysig specialname - instance default bool get_Flatten () cil managed + // method line 1214 + .method public hidebysig specialname + instance default bool get_BypassOnLocal () cil managed { - // Method begins at RVA 0x165ec + // Method begins at RVA 0x16fbc // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() + IL_0002: ldfld bool NAnt.Core.Types.Proxy::_bypassOnLocal IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MoveTask::get_Flatten + } // end of method Proxy::get_BypassOnLocal - // method line 1342 - .method public virtual hidebysig specialname - instance default void set_Flatten (bool 'value') cil managed + // method line 1215 + .method public hidebysig specialname + instance default void set_BypassOnLocal (bool 'value') cil managed { - // Method begins at RVA 0x16607 + // Method begins at RVA 0x16fd7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_Flatten(bool) + IL_0003: stfld bool NAnt.Core.Types.Proxy::_bypassOnLocal IL_0008: ret - } // end of method MoveTask::set_Flatten + } // end of method Proxy::set_BypassOnLocal - // method line 1343 - .method public virtual hidebysig specialname - instance default class NAnt.Core.Filters.FilterChain get_Filters () cil managed + // method line 1216 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Credential get_Credentials () cil managed { - // Method begins at RVA 0x16614 + // Method begins at RVA 0x16fe4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Filters.FilterChain V_0) + class NAnt.Core.Types.Credential V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() + IL_0002: ldfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MoveTask::get_Filters + } // end of method Proxy::get_Credentials - // method line 1344 - .method public virtual hidebysig specialname - instance default void set_Filters (class NAnt.Core.Filters.FilterChain 'value') cil managed + // method line 1217 + .method public hidebysig specialname + instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed { - // Method begins at RVA 0x1662f + // Method begins at RVA 0x16fff // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_Filters(class NAnt.Core.Filters.FilterChain) + IL_0003: stfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials IL_0008: ret - } // end of method MoveTask::set_Filters + } // end of method Proxy::set_Credentials - // method line 1345 - .method family virtual hidebysig - instance default void DoFileOperations () cil managed + // method line 1218 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x1663c - // Code size 689 (0x2b1) - .maxstack 8 + // Method begins at RVA 0x1700c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0, - class NAnt.Core.Tasks.CopyTask/FileOperation V_1, - string V_2, - valuetype NAnt.Core.Tasks.CopyTask/OperationType V_3, - string V_4, - class [mscorlib]System.IO.IOException V_5, - int32 V_6, - int32 V_7) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_000c: ldc.i4.0 - IL_000d: bgt IL_0018 + IL_0002: ldfld bool NAnt.Core.Types.Proxy::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: nop - IL_0013: br IL_02b0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Proxy::get_IfDefined - IL_0018: ldc.i4.0 - IL_0019: stloc.0 - IL_001a: br IL_01fd + // method line 1219 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x17027 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Proxy::_ifDefined + IL_0008: ret + } // end of method Proxy::set_IfDefined - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_0026: ldloc.0 - IL_0027: callvirt instance !0 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Item(int32) - IL_002c: stloc.1 - IL_002d: ldloc.1 - IL_002e: callvirt instance bool class NAnt.Core.Tasks.CopyTask/FileOperation::SourceIsIdenticalToTarget() - IL_0033: brfalse IL_0059 + // method line 1220 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x17034 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Proxy::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0038: nop - IL_0039: ldarg.0 - IL_003a: ldc.i4 4000 - IL_003f: ldstr "Skipping self-move of {0}." - IL_0044: ldloc.1 - IL_0045: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_004a: call string string::Format(string, object) - IL_004f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0054: br IL_01f9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Proxy::get_UnlessDefined - .try { // 0 - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldc.i4 2000 - IL_0060: ldstr "Moving {0}." - IL_0065: ldc.i4.1 - IL_0066: newarr [mscorlib]System.Object - IL_006b: dup - IL_006c: ldc.i4.0 - IL_006d: ldloc.1 - IL_006e: callvirt instance string object::ToString() - IL_0073: stelem.ref - IL_0074: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0079: ldnull - IL_007a: stloc.2 - IL_007b: ldloc.1 - IL_007c: callvirt instance valuetype NAnt.Core.Tasks.CopyTask/OperationType class NAnt.Core.Tasks.CopyTask/FileOperation::get_OperationType() - IL_0081: stloc.3 - IL_0082: ldloc.3 - IL_0083: switch ( - IL_0099, - IL_0118, - IL_0199) - IL_0094: br IL_01c1 + // method line 1221 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x1704f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Proxy::_unlessDefined + IL_0008: ret + } // end of method Proxy::set_UnlessDefined - IL_0099: ldloc.1 - IL_009a: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_009f: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00a4: stloc.2 - IL_00a5: ldloc.2 - IL_00a6: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_00ab: brtrue IL_00d3 + // method line 1222 + .method public hidebysig + instance default class [System]System.Net.IWebProxy GetWebProxy () cil managed + { + // Method begins at RVA 0x1705c + // Code size 105 (0x69) + .maxstack 2 + .locals init ( + class [System]System.Net.WebProxy V_0, + class [System]System.Net.IWebProxy V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Types.Proxy::get_IfDefined() + IL_0007: brfalse IL_005b - IL_00b0: nop - IL_00b1: ldloc.2 - IL_00b2: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_00b7: pop - IL_00b8: ldarg.0 - IL_00b9: ldc.i4 2000 - IL_00be: ldstr "Created directory '{0}'." - IL_00c3: ldc.i4.1 - IL_00c4: newarr [mscorlib]System.Object - IL_00c9: dup - IL_00ca: ldc.i4.0 - IL_00cb: ldloc.2 - IL_00cc: stelem.ref - IL_00cd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00d2: nop - IL_00d3: ldloc.1 - IL_00d4: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_00d9: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00de: brfalse IL_00f0 + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Types.Proxy::get_UnlessDefined() + IL_0012: brtrue IL_005b - IL_00e3: nop - IL_00e4: ldloc.1 - IL_00e5: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_00ea: call void class [mscorlib]System.IO.File::Delete(string) - IL_00ef: nop - IL_00f0: ldloc.1 - IL_00f1: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_00f6: ldloc.1 - IL_00f7: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_00fc: ldarg.0 - IL_00fd: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() - IL_0102: ldarg.0 - IL_0103: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() - IL_0108: ldarg.0 - IL_0109: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() - IL_010e: call void class NAnt.Core.Util.FileUtils::MoveFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) - IL_0113: leave IL_01cc + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: call instance string class NAnt.Core.Types.Proxy::get_Host() + IL_001e: ldarg.0 + IL_001f: call instance int32 class NAnt.Core.Types.Proxy::get_Port() + IL_0024: newobj instance void class [System]System.Net.WebProxy::'.ctor'(string, int32) + IL_0029: stloc.0 + IL_002a: ldloc.0 + IL_002b: ldarg.0 + IL_002c: call instance bool class NAnt.Core.Types.Proxy::get_BypassOnLocal() + IL_0031: callvirt instance void class [System]System.Net.WebProxy::set_BypassProxyOnLocal(bool) + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() + IL_003c: brfalse IL_0054 - IL_0118: ldloc.1 - IL_0119: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_011e: stloc.2 - IL_011f: ldloc.2 - IL_0120: ldloc.1 - IL_0121: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_0126: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_012b: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0130: stloc.s 4 - IL_0132: ldloc.2 - IL_0133: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0138: brtrue IL_0160 + IL_0041: nop + IL_0042: ldloc.0 + IL_0043: ldarg.0 + IL_0044: call instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() + IL_0049: callvirt instance class [System]System.Net.ICredentials class NAnt.Core.Types.Credential::GetCredential() + IL_004e: callvirt instance void class [System]System.Net.WebProxy::set_Credentials(class [System]System.Net.ICredentials) + IL_0053: nop + IL_0054: ldloc.0 + IL_0055: stloc.1 + IL_0056: br IL_0067 - IL_013d: nop - IL_013e: ldloc.2 - IL_013f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0144: pop - IL_0145: ldarg.0 - IL_0146: ldc.i4 2000 - IL_014b: ldstr "Created directory '{0}'." - IL_0150: ldc.i4.1 - IL_0151: newarr [mscorlib]System.Object - IL_0156: dup - IL_0157: ldc.i4.0 - IL_0158: ldloc.2 - IL_0159: stelem.ref - IL_015a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_015f: nop - IL_0160: ldloc.s 4 - IL_0162: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0167: brfalse IL_0175 + IL_005b: nop + IL_005c: call class [System]System.Net.IWebProxy class [System]System.Net.GlobalProxySelection::get_Select() + IL_0061: stloc.1 + IL_0062: br IL_0067 - IL_016c: nop - IL_016d: ldloc.s 4 - IL_016f: call void class [mscorlib]System.IO.File::Delete(string) - IL_0174: nop - IL_0175: ldloc.1 - IL_0176: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_017b: ldloc.s 4 - IL_017d: ldarg.0 - IL_017e: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() - IL_0183: ldarg.0 - IL_0184: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() - IL_0189: ldarg.0 - IL_018a: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() - IL_018f: call void class NAnt.Core.Util.FileUtils::MoveFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) - IL_0194: leave IL_01cc + IL_0067: ldloc.1 + IL_0068: ret + } // end of method Proxy::GetWebProxy - IL_0199: ldloc.1 - IL_019a: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Source() - IL_019f: ldloc.1 - IL_01a0: callvirt instance string class NAnt.Core.Tasks.CopyTask/FileOperation::get_Target() - IL_01a5: ldarg.0 - IL_01a6: callvirt instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.CopyTask::get_Filters() - IL_01ab: ldarg.0 - IL_01ac: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_InputEncoding() - IL_01b1: ldarg.0 - IL_01b2: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.CopyTask::get_OutputEncoding() - IL_01b7: call void class NAnt.Core.Util.FileUtils::MoveDirectory(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) - IL_01bc: leave IL_01cc + .property instance string Host () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 68 6F 73 74 01 00 54 02 08 52 65 71 75 // ...host..T..Requ + 69 72 65 64 01 ) // ired. - IL_01c1: ldstr "Unrecognized move operation. The move task can only move a file to file, file to directory, or directory to directory." - IL_01c6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_01cb: throw - IL_01cc: nop - IL_01cd: leave IL_01f8 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - } // end .try 0 - catch class [mscorlib]System.IO.IOException { // 0 - IL_01d2: stloc.s 5 - IL_01d4: nop - IL_01d5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01da: ldstr "Failed to move {0}." - IL_01df: ldloc.1 - IL_01e0: callvirt instance string object::ToString() - IL_01e5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01ea: ldarg.0 - IL_01eb: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_01f0: ldloc.s 5 - IL_01f2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_01f7: throw - } // end handler 0 - IL_01f8: nop - IL_01f9: ldloc.0 - IL_01fa: ldc.i4.1 - IL_01fb: add - IL_01fc: stloc.0 - IL_01fd: ldloc.0 - IL_01fe: ldarg.0 - IL_01ff: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_0204: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_0209: blt IL_001f + .get instance default string NAnt.Core.Types.Proxy::get_Host () + .set instance default void NAnt.Core.Types.Proxy::set_Host (string 'value') + } + .property instance int32 Port () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 70 6F 72 74 01 00 54 02 08 52 65 71 75 // ...port..T..Requ + 69 72 65 64 01 ) // ired. - IL_020e: ldarg.0 - IL_020f: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_0214: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountFileOperations() - IL_0219: stloc.s 6 - IL_021b: ldarg.0 - IL_021c: call instance class NAnt.Core.Tasks.CopyTask/FileOperationMap class NAnt.Core.Tasks.CopyTask::get_OperationMap() - IL_0221: callvirt instance int32 class NAnt.Core.Tasks.CopyTask/FileOperationMap::CountDirectoryOperations() - IL_0226: stloc.s 7 - IL_0228: ldloc.s 6 - IL_022a: ldc.i4.0 - IL_022b: ble IL_026c + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0230: nop - IL_0231: ldarg.0 - IL_0232: ldc.i4 3000 - IL_0237: ldstr "{0} file{1} moved." - IL_023c: ldc.i4.2 - IL_023d: newarr [mscorlib]System.Object - IL_0242: dup - IL_0243: ldc.i4.0 - IL_0244: ldloc.s 6 - IL_0246: box [mscorlib]System.Int32 - IL_024b: stelem.ref - IL_024c: dup - IL_024d: ldc.i4.1 - IL_024e: ldloc.s 6 - IL_0250: ldc.i4.1 - IL_0251: beq IL_0260 + .get instance default int32 NAnt.Core.Types.Proxy::get_Port () + .set instance default void NAnt.Core.Types.Proxy::set_Port (int32 'value') + } + .property instance bool BypassOnLocal () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 62 79 70 61 73 73 6F 6E 6C 6F 63 61 6C // ...bypassonlocal + 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. - IL_0256: ldstr "s" - IL_025b: br IL_0265 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0260: ldstr "" - IL_0265: stelem.ref - IL_0266: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_026b: nop - IL_026c: ldloc.s 7 - IL_026e: ldc.i4.0 - IL_026f: ble IL_02b0 + .get instance default bool NAnt.Core.Types.Proxy::get_BypassOnLocal () + .set instance default void NAnt.Core.Types.Proxy::set_BypassOnLocal (bool 'value') + } + .property instance class NAnt.Core.Types.Credential Credentials () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 63 72 65 64 65 6E 74 69 61 6C 73 01 00 // ...credentials.. + 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. - IL_0274: nop - IL_0275: ldarg.0 - IL_0276: ldc.i4 3000 - IL_027b: ldstr "{0} {1} moved." - IL_0280: ldc.i4.2 - IL_0281: newarr [mscorlib]System.Object - IL_0286: dup - IL_0287: ldc.i4.0 - IL_0288: ldloc.s 7 - IL_028a: box [mscorlib]System.Int32 - IL_028f: stelem.ref - IL_0290: dup - IL_0291: ldc.i4.1 - IL_0292: ldloc.s 7 - IL_0294: ldc.i4.1 - IL_0295: beq IL_02a4 + .get instance default class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::get_Credentials () + .set instance default void NAnt.Core.Types.Proxy::set_Credentials (class NAnt.Core.Types.Credential 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 02 69 66 01 00 54 02 08 52 65 71 75 69 72 // ...if..T..Requir + 65 64 00 ) // ed. - IL_029a: ldstr "directories" - IL_029f: br IL_02a9 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_02a4: ldstr "directory" - IL_02a9: stelem.ref - IL_02aa: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_02af: nop - IL_02b0: ret - } // end of method MoveTask::DoFileOperations + .get instance default bool NAnt.Core.Types.Proxy::get_IfDefined () + .set instance default void NAnt.Core.Types.Proxy::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 75 6E 6C 65 73 73 01 00 54 02 08 52 65 // ...unless..T..Re + 71 75 69 72 65 64 00 ) // quired. - // method line 1346 - .method family virtual hidebysig - instance default class NAnt.Core.BuildException CreateSourceFileNotFoundException (string sourceFile) cil managed + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.Proxy::get_UnlessDefined () + .set instance default void NAnt.Core.Types.Proxy::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.Core.Types.Proxy +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit Token + extends NAnt.Core.Element + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 05 74 6F 6B 65 6E 00 00 ) // ...token.. + + .field private string _key + .field private string _value + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1223 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16918 - // Code size 36 (0x24) - .maxstack 3 + // Method begins at RVA 0x170d1 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Token::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method Token::.ctor + + // method line 1224 + .method public hidebysig specialname + instance default string get_Key () cil managed + { + // Method begins at RVA 0x170e0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.BuildException V_0) + string V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldstr "Could not find file '{0}' to move." - IL_000b: ldarg.1 - IL_000c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0011: ldarg.0 - IL_0012: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0017: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001c: stloc.0 - IL_001d: br IL_0022 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Token::_key + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0022: ldloc.0 - IL_0023: ret - } // end of method MoveTask::CreateSourceFileNotFoundException + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Token::get_Key - .property instance class [mscorlib]System.IO.FileInfo SourceFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + // method line 1225 + .method public hidebysig specialname + instance default void set_Key (string 'value') cil managed + { + // Method begins at RVA 0x170fb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.Token::_key + IL_0008: ret + } // end of method Token::set_Key - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.MoveTask::get_SourceFile () - .set instance default void NAnt.Core.Tasks.MoveTask::set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo ToFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 6F 66 69 6C 65 00 00 ) // ...tofile.. + // method line 1226 + .method public hidebysig specialname + instance default string get_Value () cil managed + { + // Method begins at RVA 0x17108 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Token::_value + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.MoveTask::get_ToFile () - .set instance default void NAnt.Core.Tasks.MoveTask::set_ToFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Token::get_Value + + // method line 1227 + .method public hidebysig specialname + instance default void set_Value (string 'value') cil managed + { + // Method begins at RVA 0x17123 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Types.Token::_value + IL_0008: ret + } // end of method Token::set_Value + + // method line 1228 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x17130 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Token::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Token::get_IfDefined + + // method line 1229 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x1714b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Token::_ifDefined + IL_0008: ret + } // end of method Token::set_IfDefined + + // method line 1230 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x17158 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Token::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Token::get_UnlessDefined + + // method line 1231 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x17173 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Token::_unlessDefined + IL_0008: ret + } // end of method Token::set_UnlessDefined + + .property instance string Key () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 74 6F 64 69 72 00 00 ) // ...todir.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 6B 65 79 01 00 54 02 08 52 65 71 75 69 // ...key..T..Requi + 72 65 64 01 ) // red. - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MoveTask::get_ToDirectory () - .set instance default void NAnt.Core.Tasks.MoveTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Types.Token::get_Key () + .set instance default void NAnt.Core.Types.Token::set_Key (string 'value') } - .property instance class NAnt.Core.Types.FileSet CopyFileSet () + .property instance string Value () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 76 61 6C 75 65 01 00 54 02 08 52 65 71 // ...value..T..Req + 75 69 72 65 64 01 ) // uired. - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MoveTask::get_CopyFileSet () - .set instance default void NAnt.Core.Tasks.MoveTask::set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') + .get instance default string NAnt.Core.Types.Token::get_Value () + .set instance default void NAnt.Core.Types.Token::set_Value (string 'value') } - .property instance bool Flatten () + .property instance bool IfDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 66 6C 61 74 74 65 6E 00 00 ) // ...flatten.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 02 69 66 01 00 54 02 08 52 65 71 75 69 72 // ...if..T..Requir + 65 64 00 ) // ed. .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.Tasks.MoveTask::get_Flatten () - .set instance default void NAnt.Core.Tasks.MoveTask::set_Flatten (bool 'value') + .get instance default bool NAnt.Core.Types.Token::get_IfDefined () + .set instance default void NAnt.Core.Types.Token::set_IfDefined (bool 'value') } - .property instance class NAnt.Core.Filters.FilterChain Filters () + .property instance bool UnlessDefined () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 75 6E 6C 65 73 73 01 00 54 02 08 52 65 // ...unless..T..Re + 71 75 69 72 65 64 00 ) // quired. - .get instance default class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.MoveTask::get_Filters () - .set instance default void NAnt.Core.Tasks.MoveTask::set_Filters (class NAnt.Core.Filters.FilterChain 'value') + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Types.Token::get_UnlessDefined () + .set instance default void NAnt.Core.Types.Token::set_UnlessDefined (bool 'value') } - } // end of class NAnt.Core.Tasks.MoveTask + } // end of class NAnt.Core.Types.Token } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit NAntSchemaTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit Option + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 6E 61 6E 74 73 63 68 65 6D 61 00 00 ) // ...nantschema.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 06 6F 70 74 69 6F 6E 00 00 ) // ...option.. - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private string _forType - .field private string _targetNamespace - .field private static initonly class [log4net]log4net.ILog logger - .field private static initonly string[] mixedTaskNames + .field private string _name + .field private string _value + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1347 + // method line 1232 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name, string 'value') cil managed + { + // Method begins at RVA 0x1717d + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Option::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld string NAnt.Core.Types.Option::_name + IL_0015: ldarg.0 + IL_0016: ldarg.2 + IL_0017: stfld string NAnt.Core.Types.Option::_value + IL_001c: ret + } // end of method Option::.ctor + + // method line 1233 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16948 - // Code size 18 (0x12) + // Method begins at RVA 0x1719b + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldstr "http://tempuri.org/nant-donotuse.xsd" - IL_0006: stfld string NAnt.Core.Tasks.NAntSchemaTask::_targetNamespace - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method NAntSchemaTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.Option::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method Option::.ctor - // method line 1348 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + // method line 1234 + .method public hidebysig specialname + instance default string get_OptionName () cil managed { - // Method begins at RVA 0x1695c + // Method begins at RVA 0x171ac // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntSchemaTask::_outputFile + IL_0002: ldfld string NAnt.Core.Types.Option::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NAntSchemaTask::get_OutputFile + } // end of method Option::get_OptionName - // method line 1349 - .method public virtual hidebysig newslot specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1235 + .method public hidebysig specialname + instance default void set_OptionName (string 'value') cil managed { - // Method begins at RVA 0x16977 + // Method begins at RVA 0x171c7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntSchemaTask::_outputFile + IL_0003: stfld string NAnt.Core.Types.Option::_name IL_0008: ret - } // end of method NAntSchemaTask::set_OutputFile + } // end of method Option::set_OptionName - // method line 1350 - .method public virtual hidebysig newslot specialname - instance default string get_TargetNamespace () cil managed + // method line 1236 + .method public hidebysig specialname + instance default string get_Value () cil managed { - // Method begins at RVA 0x16984 + // Method begins at RVA 0x171d4 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.NAntSchemaTask::_targetNamespace + IL_0002: ldfld string NAnt.Core.Types.Option::_value IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NAntSchemaTask::get_TargetNamespace + } // end of method Option::get_Value - // method line 1351 - .method public virtual hidebysig newslot specialname - instance default void set_TargetNamespace (string 'value') cil managed + // method line 1237 + .method public hidebysig specialname + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0x1699f - // Code size 14 (0xe) + // Method begins at RVA 0x171ef + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.NAntSchemaTask::_targetNamespace - IL_000d: ret - } // end of method NAntSchemaTask::set_TargetNamespace + IL_0003: stfld string NAnt.Core.Types.Option::_value + IL_0008: ret + } // end of method Option::set_Value - // method line 1352 - .method public virtual hidebysig newslot specialname - instance default string get_ForType () cil managed + // method line 1238 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x169b0 + // Method begins at RVA 0x171fc // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.NAntSchemaTask::_forType + IL_0002: ldfld bool NAnt.Core.Types.Option::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NAntSchemaTask::get_ForType + } // end of method Option::get_IfDefined - // method line 1353 - .method public virtual hidebysig newslot specialname - instance default void set_ForType (string 'value') cil managed + // method line 1239 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x169cb - // Code size 14 (0xe) + // Method begins at RVA 0x17217 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.NAntSchemaTask::_forType - IL_000d: ret - } // end of method NAntSchemaTask::set_ForType + IL_0003: stfld bool NAnt.Core.Types.Option::_ifDefined + IL_0008: ret + } // end of method Option::set_IfDefined - // method line 1354 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1240 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x169dc - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 592 (0x250) - .maxstack 7 + // Method begins at RVA 0x17224 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - class [mscorlib]System.Collections.ArrayList V_1, - class NAnt.Core.TaskBuilder V_2, - class NAnt.Core.TaskBuilderEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - class NAnt.Core.DataTypeBaseBuilder V_5, - class NAnt.Core.DataTypeBaseBuilderEnumerator V_6, - class [mscorlib]System.IDisposable V_7, - class [mscorlib]System.IO.MemoryStream V_8, - class [System.Xml]System.Xml.Schema.XmlSchema V_9, - class [System.Xml]System.Xml.Schema.XmlSchemaException V_10, - class [mscorlib]System.Security.Permissions.FileIOPermission V_11, - class [mscorlib]System.IO.FileStream V_12, - unsigned int8[] V_13, - int32 V_14) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_ForType() - IL_0007: brtrue IL_00ee + IL_0002: ldfld bool NAnt.Core.Types.Option::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0012: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0017: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_001c: stloc.0 - IL_001d: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_0022: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0027: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_002c: stloc.1 - IL_002d: nop - IL_002e: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0033: callvirt instance class NAnt.Core.TaskBuilderEnumerator class NAnt.Core.TaskBuilderCollection::GetEnumerator() - IL_0038: stloc.3 - .try { // 0 - IL_0039: br IL_0061 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Option::get_UnlessDefined - IL_003e: ldloc.3 - IL_003f: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderEnumerator::get_Current() - IL_0044: stloc.2 - IL_0045: nop - IL_0046: ldloc.0 - IL_0047: ldloc.2 - IL_0048: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_004d: ldloc.2 - IL_004e: callvirt instance string class NAnt.Core.TaskBuilder::get_ClassName() - IL_0053: ldc.i4.1 - IL_0054: ldc.i4.1 - IL_0055: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) - IL_005a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_005f: pop - IL_0060: nop - IL_0061: ldloc.3 - IL_0062: callvirt instance bool class NAnt.Core.TaskBuilderEnumerator::MoveNext() - IL_0067: brtrue IL_003e + // method line 1241 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x1723f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Option::_unlessDefined + IL_0008: ret + } // end of method Option::set_UnlessDefined - IL_006c: leave IL_0087 + .property instance string OptionName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - } // end .try 0 - finally { // 0 - IL_0071: ldloc.3 - IL_0072: isinst [mscorlib]System.IDisposable - IL_0077: dup - IL_0078: stloc.s 4 - IL_007a: brfalse IL_0086 - - IL_007f: ldloc.s 4 - IL_0081: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0086: endfinally - } // end handler 0 - IL_0087: nop - IL_0088: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_008d: callvirt instance class NAnt.Core.DataTypeBaseBuilderEnumerator class NAnt.Core.DataTypeBaseBuilderCollection::GetEnumerator() - IL_0092: stloc.s 6 - .try { // 1 - IL_0094: br IL_00c0 - - IL_0099: ldloc.s 6 - IL_009b: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderEnumerator::get_Current() - IL_00a0: stloc.s 5 - IL_00a2: nop - IL_00a3: ldloc.1 - IL_00a4: ldloc.s 5 - IL_00a6: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_00ab: ldloc.s 5 - IL_00ad: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() - IL_00b2: ldc.i4.1 - IL_00b3: ldc.i4.1 - IL_00b4: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) - IL_00b9: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00be: pop - IL_00bf: nop - IL_00c0: ldloc.s 6 - IL_00c2: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderEnumerator::MoveNext() - IL_00c7: brtrue IL_0099 - - IL_00cc: leave IL_00e8 - - } // end .try 1 - finally { // 1 - IL_00d1: ldloc.s 6 - IL_00d3: isinst [mscorlib]System.IDisposable - IL_00d8: dup - IL_00d9: stloc.s 7 - IL_00db: brfalse IL_00e7 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_00e0: ldloc.s 7 - IL_00e2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00e7: endfinally - } // end handler 1 - IL_00e8: nop - IL_00e9: br IL_0111 + .get instance default string NAnt.Core.Types.Option::get_OptionName () + .set instance default void NAnt.Core.Types.Option::set_OptionName (string 'value') + } + .property instance string Value () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - IL_00ee: nop - IL_00ef: ldc.i4.1 - IL_00f0: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_00f5: stloc.0 - IL_00f6: ldloc.0 - IL_00f7: ldarg.0 - IL_00f8: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_ForType() - IL_00fd: ldc.i4.1 - IL_00fe: ldc.i4.1 - IL_00ff: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) - IL_0104: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0109: pop - IL_010a: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_010f: stloc.1 - IL_0110: nop - IL_0111: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_0116: stloc.s 8 - IL_0118: ldloc.s 8 - IL_011a: ldloc.0 - IL_011b: ldtoken [mscorlib]System.Type - IL_0120: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0125: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_012a: castclass class [mscorlib]System.Type[] - IL_012f: ldloc.1 - IL_0130: ldtoken [mscorlib]System.Type - IL_0135: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_013a: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_013f: castclass class [mscorlib]System.Type[] - IL_0144: ldarg.0 - IL_0145: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_TargetNamespace() - IL_014a: call class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask::WriteSchema(class [mscorlib]System.IO.Stream, class [mscorlib]System.Type[], class [mscorlib]System.Type[], string) - IL_014f: pop - IL_0150: ldloc.s 8 - IL_0152: ldc.i4.0 - IL_0153: conv.i8 - IL_0154: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - .try { // 2 - IL_0159: nop - IL_015a: ldloc.s 8 - IL_015c: ldnull - IL_015d: call class [System.Xml]System.Xml.Schema.XmlSchema class [System.Xml]System.Xml.Schema.XmlSchema::Read(class [mscorlib]System.IO.Stream, class [System.Xml]System.Xml.Schema.ValidationEventHandler) - IL_0162: stloc.s 9 - IL_0164: ldloc.s 9 - IL_0166: ldnull - IL_0167: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::Compile(class [System.Xml]System.Xml.Schema.ValidationEventHandler) - IL_016c: nop - IL_016d: leave IL_0188 + .get instance default string NAnt.Core.Types.Option::get_Value () + .set instance default void NAnt.Core.Types.Option::set_Value (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - } // end .try 2 - catch class [System.Xml]System.Xml.Schema.XmlSchemaException { // 2 - IL_0172: stloc.s 10 - IL_0174: nop - IL_0175: ldstr "The generated XML schema is not valid." - IL_017a: ldarg.0 - IL_017b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0180: ldloc.s 10 - IL_0182: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0187: throw - } // end handler 2 - IL_0188: ldloc.s 8 - IL_018a: ldc.i4.0 - IL_018b: conv.i8 - IL_018c: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_0191: ldc.i4.s 0x0f - IL_0193: ldarg.0 - IL_0194: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile() - IL_0199: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_019e: newobj instance void class [mscorlib]System.Security.Permissions.FileIOPermission::'.ctor'(valuetype [mscorlib]System.Security.Permissions.FileIOPermissionAccess, string) - IL_01a3: stloc.s 11 - IL_01a5: ldloc.s 11 - IL_01a7: callvirt instance void class [mscorlib]System.Security.CodeAccessPermission::Assert() - IL_01ac: ldarg.0 - IL_01ad: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile() - IL_01b2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01b7: ldc.i4.2 - IL_01b8: ldc.i4.2 - IL_01b9: ldc.i4.1 - IL_01ba: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::Open(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) - IL_01bf: stloc.s 12 - .try { // 3 - IL_01c1: nop - IL_01c2: ldc.i4 4096 - IL_01c7: newarr [mscorlib]System.Byte - IL_01cc: stloc.s 13 - IL_01ce: ldloc.s 8 - IL_01d0: ldloc.s 13 - IL_01d2: ldc.i4.0 - IL_01d3: ldloc.s 13 - IL_01d5: ldlen - IL_01d6: conv.i4 - IL_01d7: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) - IL_01dc: stloc.s 14 - IL_01de: br IL_0201 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01e3: nop - IL_01e4: ldloc.s 12 - IL_01e6: ldloc.s 13 - IL_01e8: ldc.i4.0 - IL_01e9: ldloc.s 14 - IL_01eb: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_01f0: ldloc.s 8 - IL_01f2: ldloc.s 13 - IL_01f4: ldc.i4.0 - IL_01f5: ldloc.s 13 - IL_01f7: ldlen - IL_01f8: conv.i4 - IL_01f9: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) - IL_01fe: stloc.s 14 - IL_0200: nop - IL_0201: ldloc.s 14 - IL_0203: brtrue IL_01e3 + .get instance default bool NAnt.Core.Types.Option::get_IfDefined () + .set instance default void NAnt.Core.Types.Option::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_0208: ldloc.s 12 - IL_020a: callvirt instance void class [mscorlib]System.IO.Stream::Flush() - IL_020f: ldloc.s 12 - IL_0211: callvirt instance void class [mscorlib]System.IO.Stream::Close() - IL_0216: nop - IL_0217: leave IL_022b + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end .try 3 - finally { // 3 - IL_021c: ldloc.s 12 - IL_021e: brfalse IL_022a + .get instance default bool NAnt.Core.Types.Option::get_UnlessDefined () + .set instance default void NAnt.Core.Types.Option::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.Core.Types.Option +} - IL_0223: ldloc.s 12 - IL_0225: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_022a: endfinally - } // end handler 3 - IL_022b: ldarg.0 - IL_022c: ldc.i4 3000 - IL_0231: ldstr "Wrote schema to '{0}'." - IL_0236: ldc.i4.1 - IL_0237: newarr [mscorlib]System.Object - IL_023c: dup - IL_023d: ldc.i4.0 - IL_023e: ldarg.0 - IL_023f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile() - IL_0244: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0249: stelem.ref - IL_024a: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_024f: ret - } // end of method NAntSchemaTask::ExecuteTask +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit RawXml + extends NAnt.Core.Element + { - // method line 1355 - .method public static hidebysig - default class [System.Xml]System.Xml.Schema.XmlSchema WriteSchema (class [mscorlib]System.IO.Stream 'stream', class [mscorlib]System.Type[] tasks, class [mscorlib]System.Type[] dataTypes, string targetNS) cil managed + // method line 1242 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16c6c - // Code size 68 (0x44) - .maxstack 3 - .locals init ( - class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator V_0, - class [System.Xml]System.Xml.Schema.XmlSchema V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: newobj instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::'.ctor'(class [mscorlib]System.Type[], class [mscorlib]System.Type[], string) - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() - IL_0010: callvirt instance bool class [System.Xml]System.Xml.Schema.XmlSchema::get_IsCompiled() - IL_0015: brtrue IL_0022 - - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: callvirt instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() - IL_0021: nop - IL_0022: ldarg.0 - IL_0023: brfalse IL_0036 - - IL_0028: nop - IL_0029: ldloc.0 - IL_002a: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() - IL_002f: ldarg.0 - IL_0030: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::Write(class [mscorlib]System.IO.Stream) - IL_0035: nop - IL_0036: ldloc.0 - IL_0037: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() - IL_003c: stloc.1 - IL_003d: br IL_0042 - - IL_0042: ldloc.1 - IL_0043: ret - } // end of method NAntSchemaTask::WriteSchema + // Method begins at RVA 0x17249 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method RawXml::.ctor - // method line 1356 - .method family static hidebysig - default string GenerateIDFromType (class [mscorlib]System.Type 'type') cil managed + // method line 1243 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNode get_Xml () cil managed { - // Method begins at RVA 0x16cbc - // Code size 60 (0x3c) - .maxstack 3 + // Method begins at RVA 0x17254 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0) + class [System.Xml]System.Xml.XmlNode V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string object::ToString() - IL_0007: ldstr "+" - IL_000c: ldstr "-" - IL_0011: callvirt instance string string::Replace(string, string) - IL_0016: ldstr "[" - IL_001b: ldstr "_" - IL_0020: callvirt instance string string::Replace(string, string) - IL_0025: ldstr "]" - IL_002a: ldstr "_" - IL_002f: callvirt instance string string::Replace(string, string) - IL_0034: stloc.0 - IL_0035: br IL_003a + IL_0002: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003a: ldloc.0 - IL_003b: ret - } // end of method NAntSchemaTask::GenerateIDFromType + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RawXml::get_Xml - // method line 1357 - .method family static hidebysig - default class [System.Xml]System.Xml.Schema.XmlSchemaAttribute CreateXsdAttribute (string name, bool required) cil managed + // method line 1244 + .method family virtual hidebysig specialname + instance default bool get_CustomXmlProcessing () cil managed { - // Method begins at RVA 0x16d04 - // Code size 52 (0x34) - .maxstack 2 + // Method begins at RVA 0x17270 + // Code size 10 (0xa) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaAttribute V_0, - class [System.Xml]System.Xml.Schema.XmlSchemaAttribute V_1) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::set_Name(string) - IL_000e: ldarg.1 - IL_000f: brfalse IL_0022 + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0014: nop - IL_0015: ldloc.0 - IL_0016: ldc.i4.3 - IL_0017: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::set_Use(valuetype [System.Xml]System.Xml.Schema.XmlSchemaUse) - IL_001c: nop - IL_001d: br IL_002b + IL_0008: ldloc.0 + IL_0009: ret + } // end of method RawXml::get_CustomXmlProcessing - IL_0022: nop - IL_0023: ldloc.0 - IL_0024: ldc.i4.1 - IL_0025: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAttribute::set_Use(valuetype [System.Xml]System.Xml.Schema.XmlSchemaUse) - IL_002a: nop - IL_002b: ldloc.0 - IL_002c: stloc.1 - IL_002d: br IL_0032 + .property instance class [System.Xml]System.Xml.XmlNode Xml () + { + .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Types.RawXml::get_Xml () + } + .property instance bool CustomXmlProcessing () + { + .get instance default bool NAnt.Core.Types.RawXml::get_CustomXmlProcessing () + } + } // end of class NAnt.Core.Types.RawXml +} - IL_0032: ldloc.1 - IL_0033: ret - } // end of method NAntSchemaTask::CreateXsdAttribute +.namespace NAnt.Core.Types +{ + .class public auto ansi serializable beforefieldinit OptionCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 1358 - .method family static hidebysig - default class [System.Xml]System.Xml.Schema.XmlSchemaSequence CreateXsdSequence (valuetype [mscorlib]System.Decimal min, valuetype [mscorlib]System.Decimal max) cil managed - { - // Method begins at RVA 0x16d44 - // Code size 71 (0x47) - .maxstack 6 - .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_0, - class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_1) - IL_0000: nop - IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaSequence::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) - IL_000e: ldarg.1 - IL_000f: ldc.i4.m1 - IL_0010: ldc.i4.m1 - IL_0011: ldc.i4.m1 - IL_0012: ldc.i4.0 - IL_0013: ldc.i4.0 - IL_0014: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) - IL_0019: call bool valuetype [mscorlib]System.Decimal::op_Inequality(valuetype [mscorlib]System.Decimal, valuetype [mscorlib]System.Decimal) - IL_001e: brfalse IL_0031 - IL_0023: nop - IL_0024: ldloc.0 - IL_0025: ldarg.1 - IL_0026: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccurs(valuetype [mscorlib]System.Decimal) - IL_002b: nop - IL_002c: br IL_003e + // method line 1245 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x17286 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method OptionCollection::.ctor - IL_0031: nop - IL_0032: ldloc.0 - IL_0033: ldstr "unbounded" - IL_0038: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccursString(string) - IL_003d: nop - IL_003e: ldloc.0 - IL_003f: stloc.1 - IL_0040: br IL_0045 + // method line 1246 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.OptionCollection 'value') cil managed + { + // Method begins at RVA 0x1728f + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.OptionCollection::AddRange(class NAnt.Core.Types.OptionCollection) + IL_000e: ret + } // end of method OptionCollection::.ctor - IL_0045: ldloc.1 - IL_0046: ret - } // end of method NAntSchemaTask::CreateXsdSequence + // method line 1247 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.Option[] 'value') cil managed + { + // Method begins at RVA 0x1729f + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Types.OptionCollection::AddRange(class NAnt.Core.Types.Option[]) + IL_000e: ret + } // end of method OptionCollection::.ctor - // method line 1359 - .method family static hidebysig - default class [System.Xml]System.Xml.XmlNode[] TextToNodeArray (string text) cil managed + // method line 1248 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Option get_Item (int32 index) cil managed { - // Method begins at RVA 0x16d98 - // Code size 31 (0x1f) - .maxstack 5 + // Method begins at RVA 0x172b0 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class [System.Xml]System.Xml.XmlNode[] V_1) + class NAnt.Core.Types.Option V_0) IL_0000: nop - IL_0001: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldc.i4.1 - IL_0008: newarr [System.Xml]System.Xml.XmlNode - IL_000d: dup - IL_000e: ldc.i4.0 - IL_000f: ldloc.0 - IL_0010: ldarg.0 - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlText class [System.Xml]System.Xml.XmlDocument::CreateTextNode(string) - IL_0016: stelem.ref - IL_0017: stloc.1 - IL_0018: br IL_001d + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Types.Option + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_001d: ldloc.1 - IL_001e: ret - } // end of method NAntSchemaTask::TextToNodeArray + IL_0018: ldloc.0 + IL_0019: ret + } // end of method OptionCollection::get_Item - // method line 1360 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1249 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.Option 'value') cil managed { - // Method begins at RVA 0x16dc3 - // Code size 40 (0x28) + // Method begins at RVA 0x172d6 + // Code size 15 (0xf) .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger - IL_0014: ldc.i4.1 - IL_0015: newarr [mscorlib]System.String - IL_001a: dup - IL_001b: ldc.i4.0 - IL_001c: ldstr "NAnt.Core.Tasks.DescriptionTask" - IL_0021: stelem.ref - IL_0022: stsfld string[] NAnt.Core.Tasks.NAntSchemaTask::mixedTaskNames - IL_0027: ret - } // end of method NAntSchemaTask::.cctor - - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method OptionCollection::set_Item - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntSchemaTask::get_OutputFile () - .set instance default void NAnt.Core.Tasks.NAntSchemaTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string TargetNamespace () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 74 61 72 67 65 74 2D 6E 73 01 00 54 02 // ...target-ns..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. - - .get instance default string NAnt.Core.Tasks.NAntSchemaTask::get_TargetNamespace () - .set instance default void NAnt.Core.Tasks.NAntSchemaTask::set_TargetNamespace (string 'value') - } - .property instance string ForType () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 63 6C 61 73 73 01 00 54 02 08 52 65 71 // ...class..T..Req - 75 69 72 65 64 00 ) // uired. - - .get instance default string NAnt.Core.Tasks.NAntSchemaTask::get_ForType () - .set instance default void NAnt.Core.Tasks.NAntSchemaTask::set_ForType (string 'value') - } - .class nested private auto ansi beforefieldinit NAntSchemaGenerator - extends [mscorlib]System.Object - { - .field private class [mscorlib]System.Collections.IDictionary _nantComplexTypes - .field private class [System.Xml]System.Xml.Schema.XmlSchemaComplexType _targetCT - .field private class [System.Xml]System.Xml.Schema.XmlSchema _nantSchema - - // method line 1361 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Type[] tasks, class [mscorlib]System.Type[] dataTypes, string targetNS) cil managed + // method line 1250 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Option get_Item (string name) cil managed { - // Method begins at RVA 0x16dec - // Code size 934 (0x3a6) - .maxstack 7 + // Method begins at RVA 0x172e8 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaAnnotation V_0, - class [System.Xml]System.Xml.Schema.XmlSchemaDocumentation V_1, - string V_2, - class [mscorlib]System.Collections.ArrayList V_3, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_4, - class [mscorlib]System.Collections.ArrayList V_5, - class [mscorlib]System.Type V_6, - class [mscorlib]System.Type[] V_7, - int32 V_8, - class [mscorlib]System.Type V_9, - class [mscorlib]System.Type[] V_10, - int32 V_11, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_12, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_13, - class [mscorlib]System.Collections.IEnumerator V_14, - class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_15, - class [mscorlib]System.IDisposable V_16, - class [System.Xml]System.Xml.Schema.XmlSchemaElement V_17, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_18) - IL_0000: ldarg.0 - IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchema::'.ctor'() - IL_0006: stfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: nop - IL_0012: ldarg.3 - IL_0013: brfalse IL_0046 - - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_001f: ldarg.3 - IL_0020: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::set_TargetNamespace(string) - IL_0025: ldarg.0 - IL_0026: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_002b: callvirt instance class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces class [System.Xml]System.Xml.Schema.XmlSchemaObject::get_Namespaces() - IL_0030: ldstr "nant" - IL_0035: ldarg.0 - IL_0036: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_003b: callvirt instance string class [System.Xml]System.Xml.Schema.XmlSchema::get_TargetNamespace() - IL_0040: callvirt instance void class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces::Add(string, string) - IL_0045: nop - IL_0046: ldarg.0 - IL_0047: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_004c: callvirt instance class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces class [System.Xml]System.Xml.Schema.XmlSchemaObject::get_Namespaces() - IL_0051: ldstr "xs" - IL_0056: ldstr "http://www.w3.org/2001/XMLSchema" - IL_005b: callvirt instance void class [System.Xml]System.Xml.Serialization.XmlSerializerNamespaces::Add(string, string) - IL_0060: ldarg.0 - IL_0061: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_0066: ldc.i4.1 - IL_0067: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::set_ElementFormDefault(valuetype [System.Xml]System.Xml.Schema.XmlSchemaForm) - IL_006c: ldarg.0 - IL_006d: ldarg.1 - IL_006e: ldlen - IL_006f: conv.i4 - IL_0070: ldarg.2 - IL_0071: ldlen - IL_0072: conv.i4 - IL_0073: add - IL_0074: newobj instance void class [System]System.Collections.Specialized.HybridDictionary::'.ctor'(int32) - IL_0079: stfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes - IL_007e: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnnotation::'.ctor'() - IL_0083: stloc.0 - IL_0084: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaDocumentation::'.ctor'() - IL_0089: stloc.1 - IL_008a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_008f: ldstr "String_SchemaGenerated" - IL_0094: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0099: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_009e: box [mscorlib]System.DateTime - IL_00a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00a8: stloc.2 - IL_00a9: ldloc.1 - IL_00aa: ldloc.2 - IL_00ab: call class [System.Xml]System.Xml.XmlNode[] class NAnt.Core.Tasks.NAntSchemaTask::TextToNodeArray(string) - IL_00b0: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaDocumentation::set_Markup(class [System.Xml]System.Xml.XmlNode[]) - IL_00b5: ldloc.0 - IL_00b6: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaAnnotation::get_Items() - IL_00bb: ldloc.1 - IL_00bc: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_00c1: pop - IL_00c2: ldarg.0 - IL_00c3: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_00c8: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() - IL_00cd: ldloc.0 - IL_00ce: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_00d3: pop - IL_00d4: ldc.i4.4 - IL_00d5: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_00da: stloc.3 - IL_00db: ldarg.0 - IL_00dc: ldtoken NAnt.Core.TaskContainer - IL_00e1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00e6: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) - IL_00eb: stloc.s 4 - IL_00ed: ldloc.s 4 - IL_00ef: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaParticle class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Particle() - IL_00f4: brtrue IL_0117 - - IL_00f9: nop - IL_00fa: ldloc.s 4 - IL_00fc: ldc.i4.0 - IL_00fd: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_0102: ldc.i4.m1 - IL_0103: ldc.i4.m1 - IL_0104: ldc.i4.m1 - IL_0105: ldc.i4.0 - IL_0106: ldc.i4.0 - IL_0107: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) - IL_010c: call class [System.Xml]System.Xml.Schema.XmlSchemaSequence class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdSequence(valuetype [mscorlib]System.Decimal, valuetype [mscorlib]System.Decimal) - IL_0111: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) - IL_0116: nop - IL_0117: ldloc.3 - IL_0118: ldloc.s 4 - IL_011a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_011f: pop - IL_0120: ldarg.2 - IL_0121: ldlen - IL_0122: conv.i4 - IL_0123: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0128: stloc.s 5 - IL_012a: nop - IL_012b: ldarg.2 - IL_012c: stloc.s 7 - IL_012e: ldc.i4.0 - IL_012f: stloc.s 8 - IL_0131: br IL_0155 - - IL_0136: ldloc.s 7 - IL_0138: ldloc.s 8 - IL_013a: ldelem.ref - IL_013b: stloc.s 6 - IL_013d: nop - IL_013e: ldloc.s 5 - IL_0140: ldarg.0 - IL_0141: ldloc.s 6 - IL_0143: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) - IL_0148: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_014d: pop - IL_014e: nop - IL_014f: ldloc.s 8 - IL_0151: ldc.i4.1 - IL_0152: add - IL_0153: stloc.s 8 - IL_0155: ldloc.s 8 - IL_0157: ldloc.s 7 - IL_0159: ldlen - IL_015a: conv.i4 - IL_015b: blt IL_0136 - - IL_0160: nop - IL_0161: ldarg.1 - IL_0162: stloc.s 10 - IL_0164: ldc.i4.0 - IL_0165: stloc.s 11 - IL_0167: br IL_01a6 - - IL_016c: ldloc.s 10 - IL_016e: ldloc.s 11 - IL_0170: ldelem.ref - IL_0171: stloc.s 9 - IL_0173: nop - IL_0174: ldarg.0 - IL_0175: ldloc.s 9 - IL_0177: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) - IL_017c: stloc.s 12 - IL_017e: ldloc.s 9 - IL_0180: ldtoken NAnt.Core.TaskContainer - IL_0185: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_018a: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) - IL_018f: brfalse IL_019f - - IL_0194: nop - IL_0195: ldloc.3 - IL_0196: ldloc.s 12 - IL_0198: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_019d: pop - IL_019e: nop - IL_019f: nop - IL_01a0: ldloc.s 11 - IL_01a2: ldc.i4.1 - IL_01a3: add - IL_01a4: stloc.s 11 - IL_01a6: ldloc.s 11 - IL_01a8: ldloc.s 10 - IL_01aa: ldlen - IL_01ab: conv.i4 - IL_01ac: blt IL_016c + class NAnt.Core.Types.Option V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Types.Option V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_01b1: ldarg.0 - IL_01b2: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() - IL_01b7: nop - IL_01b8: ldloc.3 - IL_01b9: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_01be: stloc.s 14 + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 .try { // 0 - IL_01c0: br IL_021b + IL_0015: br IL_0041 - IL_01c5: ldloc.s 14 - IL_01c7: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01cc: castclass [System.Xml]System.Xml.Schema.XmlSchemaComplexType - IL_01d1: stloc.s 13 - IL_01d3: nop - IL_01d4: ldloc.s 13 - IL_01d6: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaParticle class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Particle() - IL_01db: isinst [System.Xml]System.Xml.Schema.XmlSchemaSequence - IL_01e0: stloc.s 15 - IL_01e2: ldloc.s 15 - IL_01e4: brfalse IL_0209 + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.Types.Option + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.Core.Types.Option::get_OptionName() + IL_002e: callvirt instance bool string::Equals(string) + IL_0033: brfalse IL_0040 - IL_01e9: nop - IL_01ea: ldloc.s 15 - IL_01ec: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() - IL_01f1: ldarg.0 - IL_01f2: ldarg.1 - IL_01f3: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[]) - IL_01f8: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaParticle class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Particle() - IL_01fd: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_0202: pop - IL_0203: nop - IL_0204: br IL_021a + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - IL_0209: nop - IL_020a: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger - IL_020f: ldstr "Unable to fixup complextype with children. Particle is not XmlSchemaSequence" - IL_0214: callvirt instance void class [log4net]log4net.ILog::Error(object) - IL_0219: nop - IL_021a: nop - IL_021b: ldloc.s 14 - IL_021d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0222: brtrue IL_01c5 + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - IL_0227: leave IL_0243 + IL_004c: leave IL_0065 } // end .try 0 finally { // 0 - IL_022c: ldloc.s 14 - IL_022e: isinst [mscorlib]System.IDisposable - IL_0233: dup - IL_0234: stloc.s 16 - IL_0236: brfalse IL_0242 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - IL_023b: ldloc.s 16 - IL_023d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0242: endfinally + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally } // end handler 0 - IL_0243: ldarg.0 - IL_0244: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() - IL_0249: ldarg.0 - IL_024a: ldarg.0 - IL_024b: ldarg.1 - IL_024c: ldarg.2 - IL_024d: ldc.i4.0 - IL_024e: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[], class [mscorlib]System.Type[], bool) - IL_0253: stfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_0258: ldarg.0 - IL_0259: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_025e: ldstr "Target" - IL_0263: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_Name(string) - IL_0268: ldarg.0 - IL_0269: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_026e: ldc.i4.1 - IL_026f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_IsMixed(bool) - IL_0274: ldarg.0 - IL_0275: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_027a: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_027f: ldstr "name" - IL_0284: ldc.i4.1 - IL_0285: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_028a: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_028f: pop - IL_0290: ldarg.0 - IL_0291: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_0296: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_029b: ldstr "depends" - IL_02a0: ldc.i4.0 - IL_02a1: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_02a6: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_02ab: pop - IL_02ac: ldarg.0 - IL_02ad: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_02b2: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_02b7: ldstr "description" - IL_02bc: ldc.i4.0 - IL_02bd: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_02c2: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_02c7: pop - IL_02c8: ldarg.0 - IL_02c9: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_02ce: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_02d3: ldstr "if" - IL_02d8: ldc.i4.0 - IL_02d9: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_02de: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_02e3: pop - IL_02e4: ldarg.0 - IL_02e5: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_02ea: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_02ef: ldstr "unless" - IL_02f4: ldc.i4.0 - IL_02f5: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_02fa: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_02ff: pop - IL_0300: ldarg.0 - IL_0301: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_0306: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() - IL_030b: ldarg.0 - IL_030c: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_0311: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_0316: pop - IL_0317: ldarg.0 - IL_0318: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() - IL_031d: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() - IL_0322: stloc.s 17 - IL_0324: ldloc.s 17 - IL_0326: ldstr "project" - IL_032b: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) - IL_0330: ldarg.0 - IL_0331: ldarg.1 - IL_0332: ldarg.2 - IL_0333: ldc.i4.1 - IL_0334: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[], class [mscorlib]System.Type[], bool) - IL_0339: stloc.s 18 - IL_033b: ldloc.s 17 - IL_033d: ldloc.s 18 - IL_033f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaType(class [System.Xml]System.Xml.Schema.XmlSchemaType) - IL_0344: ldloc.s 18 - IL_0346: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_034b: ldstr "name" - IL_0350: ldc.i4.1 - IL_0351: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_0356: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_035b: pop - IL_035c: ldloc.s 18 - IL_035e: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_0363: ldstr "default" - IL_0368: ldc.i4.0 - IL_0369: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_036e: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_0373: pop - IL_0374: ldloc.s 18 - IL_0376: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_037b: ldstr "basedir" - IL_0380: ldc.i4.0 - IL_0381: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_0386: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_038b: pop - IL_038c: ldarg.0 - IL_038d: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_0392: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() - IL_0397: ldloc.s 17 - IL_0399: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_039e: pop - IL_039f: ldarg.0 - IL_03a0: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() - IL_03a5: ret - } // end of method NAntSchemaGenerator::.ctor + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - // method line 1362 - .method public hidebysig specialname - instance default class [System.Xml]System.Xml.Schema.XmlSchema get_Schema () cil managed + IL_006d: ldloc.2 + IL_006e: ret + } // end of method OptionCollection::get_Item + + // method line 1251 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Option item) cil managed { - // Method begins at RVA 0x171b0 - // Code size 39 (0x27) - .maxstack 1 + // Method begins at RVA 0x17374 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchema V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_0007: callvirt instance bool class [System.Xml]System.Xml.Schema.XmlSchema::get_IsCompiled() - IL_000c: brtrue IL_0019 - - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0025: ldloc.0 - IL_0026: ret - } // end of method NAntSchemaGenerator::get_Schema + IL_0013: ldloc.0 + IL_0014: ret + } // end of method OptionCollection::Add - // method line 1363 + // method line 1252 .method public hidebysig - instance default void Compile () cil managed - { - // Method begins at RVA 0x171e3 - // Code size 25 (0x19) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantSchema - IL_0007: ldarg.0 - IL_0008: ldftn instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::ValidationEH(object, class [System.Xml]System.Xml.Schema.ValidationEventArgs) - IL_000e: newobj instance void class [System.Xml]System.Xml.Schema.ValidationEventHandler::'.ctor'(object, native int) - IL_0013: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchema::Compile(class [System.Xml]System.Xml.Schema.ValidationEventHandler) - IL_0018: ret - } // end of method NAntSchemaGenerator::Compile - - // method line 1364 - .method family hidebysig - instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType CreateTaskListComplexType (class [mscorlib]System.Type[] tasks) cil managed + instance default void AddRange (class NAnt.Core.Types.Option[] items) cil managed { - // Method begins at RVA 0x17200 - // Code size 23 (0x17) - .maxstack 4 + // Method begins at RVA 0x17398 + // Code size 34 (0x22) + .maxstack 3 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldc.i4.0 - IL_0004: newarr [mscorlib]System.Type - IL_0009: ldc.i4.0 - IL_000a: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::CreateTaskListComplexType(class [mscorlib]System.Type[], class [mscorlib]System.Type[], bool) - IL_000f: stloc.0 - IL_0010: br IL_0015 - - IL_0015: ldloc.0 - IL_0016: ret - } // end of method NAntSchemaGenerator::CreateTaskListComplexType + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - // method line 1365 - .method family hidebysig - instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType CreateTaskListComplexType (class [mscorlib]System.Type[] tasks, class [mscorlib]System.Type[] dataTypes, bool includeProjectLevelItems) cil managed + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Types.OptionCollection::Add(class NAnt.Core.Types.Option) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 + + IL_0021: ret + } // end of method OptionCollection::AddRange + + // method line 1253 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.OptionCollection items) cil managed { - // Method begins at RVA 0x17224 - // Code size 392 (0x188) - .maxstack 6 + // Method begins at RVA 0x173c8 + // Code size 41 (0x29) + .maxstack 3 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0, - class [System.Xml]System.Xml.Schema.XmlSchemaChoice V_1, - class [mscorlib]System.Type V_2, - class [mscorlib]System.Type[] V_3, - int32 V_4, - class [System.Xml]System.Xml.Schema.XmlSchemaElement V_5, - string V_6, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_7, - class [mscorlib]System.Type V_8, - class [mscorlib]System.Type[] V_9, - int32 V_10, - class [System.Xml]System.Xml.Schema.XmlSchemaElement V_11, - string V_12, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_13, - class [System.Xml]System.Xml.Schema.XmlSchemaElement V_14, - class [System.Xml]System.Xml.Schema.XmlSchemaAny V_15, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_16) + int32 V_0) IL_0000: nop - IL_0001: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::'.ctor'() - IL_0006: stloc.0 - IL_0007: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaChoice::'.ctor'() - IL_000c: stloc.1 - IL_000d: ldloc.1 - IL_000e: ldc.i4.0 - IL_000f: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_0014: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) - IL_0019: ldloc.1 - IL_001a: ldstr "unbounded" - IL_001f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccursString(string) - IL_0024: ldloc.0 - IL_0025: ldloc.1 - IL_0026: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) - IL_002b: nop - IL_002c: ldarg.1 - IL_002d: stloc.3 - IL_002e: ldc.i4.0 - IL_002f: stloc.s 4 - IL_0031: br IL_0086 - - IL_0036: ldloc.3 - IL_0037: ldloc.s 4 - IL_0039: ldelem.ref - IL_003a: stloc.2 - IL_003b: nop - IL_003c: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() - IL_0041: stloc.s 5 - IL_0043: ldloc.2 - IL_0044: call string class NAnt.Core.Tasks.NAntSchemaTask::GenerateIDFromType(class [mscorlib]System.Type) - IL_0049: stloc.s 6 - IL_004b: ldarg.0 - IL_004c: ldloc.s 6 - IL_004e: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindComplexTypeByID(string) - IL_0053: stloc.s 7 - IL_0055: ldloc.s 5 - IL_0057: ldarg.0 - IL_0058: ldloc.2 - IL_0059: call instance string class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::GetTaskName(class [mscorlib]System.Type) - IL_005e: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) - IL_0063: ldloc.s 5 - IL_0065: ldloc.s 7 - IL_0067: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() - IL_006c: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) - IL_0071: ldloc.1 - IL_0072: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() - IL_0077: ldloc.s 5 - IL_0079: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_007e: pop - IL_007f: nop - IL_0080: ldloc.s 4 - IL_0082: ldc.i4.1 - IL_0083: add - IL_0084: stloc.s 4 - IL_0086: ldloc.s 4 - IL_0088: ldloc.3 - IL_0089: ldlen - IL_008a: conv.i4 - IL_008b: blt IL_0036 - - IL_0090: nop - IL_0091: ldarg.2 - IL_0092: stloc.s 9 - IL_0094: ldc.i4.0 - IL_0095: stloc.s 10 - IL_0097: br IL_00f0 - - IL_009c: ldloc.s 9 - IL_009e: ldloc.s 10 - IL_00a0: ldelem.ref - IL_00a1: stloc.s 8 - IL_00a3: nop - IL_00a4: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() - IL_00a9: stloc.s 11 - IL_00ab: ldloc.s 8 - IL_00ad: call string class NAnt.Core.Tasks.NAntSchemaTask::GenerateIDFromType(class [mscorlib]System.Type) - IL_00b2: stloc.s 12 - IL_00b4: ldarg.0 - IL_00b5: ldloc.s 12 - IL_00b7: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindComplexTypeByID(string) - IL_00bc: stloc.s 13 - IL_00be: ldloc.s 11 - IL_00c0: ldarg.0 - IL_00c1: ldloc.s 8 - IL_00c3: call instance string class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::GetDataTypeName(class [mscorlib]System.Type) - IL_00c8: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) - IL_00cd: ldloc.s 11 - IL_00cf: ldloc.s 13 - IL_00d1: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() - IL_00d6: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) - IL_00db: ldloc.1 - IL_00dc: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() - IL_00e1: ldloc.s 11 - IL_00e3: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_00e8: pop - IL_00e9: nop - IL_00ea: ldloc.s 10 - IL_00ec: ldc.i4.1 - IL_00ed: add - IL_00ee: stloc.s 10 - IL_00f0: ldloc.s 10 - IL_00f2: ldloc.s 9 - IL_00f4: ldlen - IL_00f5: conv.i4 - IL_00f6: blt IL_009c - - IL_00fb: ldarg.3 - IL_00fc: brfalse IL_0136 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_0101: nop - IL_0102: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() - IL_0107: stloc.s 14 - IL_0109: ldloc.s 14 - IL_010b: ldstr "target" - IL_0110: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) - IL_0115: ldloc.s 14 - IL_0117: ldarg.0 - IL_0118: ldfld class [System.Xml]System.Xml.Schema.XmlSchemaComplexType NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_targetCT - IL_011d: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() - IL_0122: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) - IL_0127: ldloc.1 - IL_0128: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() - IL_012d: ldloc.s 14 - IL_012f: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_0134: pop - IL_0135: nop - IL_0136: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAny::'.ctor'() - IL_013b: stloc.s 15 - IL_013d: ldloc.s 15 - IL_013f: ldc.i4.0 - IL_0140: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_0145: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) - IL_014a: ldloc.s 15 - IL_014c: ldc.i4.m1 - IL_014d: ldc.i4.m1 - IL_014e: ldc.i4.m1 - IL_014f: ldc.i4.0 - IL_0150: ldc.i4.0 - IL_0151: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) - IL_0156: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccurs(valuetype [mscorlib]System.Decimal) - IL_015b: ldloc.s 15 - IL_015d: ldstr "##other" - IL_0162: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAny::set_Namespace(string) - IL_0167: ldloc.s 15 - IL_0169: ldc.i4.3 - IL_016a: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAny::set_ProcessContents(valuetype [System.Xml]System.Xml.Schema.XmlSchemaContentProcessing) - IL_016f: ldloc.1 - IL_0170: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() - IL_0175: ldloc.s 15 - IL_0177: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_017c: pop - IL_017d: ldloc.0 - IL_017e: stloc.s 16 - IL_0180: br IL_0185 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Types.Option class NAnt.Core.Types.OptionCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Types.OptionCollection::Add(class NAnt.Core.Types.Option) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - IL_0185: ldloc.s 16 - IL_0187: ret - } // end of method NAntSchemaGenerator::CreateTaskListComplexType + IL_0028: ret + } // end of method OptionCollection::AddRange - // method line 1366 - .method family hidebysig - instance default void ValidationEH (object sender, class [System.Xml]System.Xml.Schema.ValidationEventArgs args) cil managed + // method line 1254 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Option item) cil managed { - // Method begins at RVA 0x173b8 - // Code size 136 (0x88) - .maxstack 4 + // Method begins at RVA 0x17400 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance valuetype [System.Xml]System.Xml.Schema.XmlSeverityType class [System.Xml]System.Xml.Schema.ValidationEventArgs::get_Severity() - IL_0007: ldc.i4.1 - IL_0008: bne.un IL_0023 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: nop - IL_000e: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger - IL_0013: ldstr "WARNING: " - IL_0018: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_001d: nop - IL_001e: br IL_003f + IL_0013: ldloc.0 + IL_0014: ret + } // end of method OptionCollection::Contains - IL_0023: ldarg.2 - IL_0024: callvirt instance valuetype [System.Xml]System.Xml.Schema.XmlSeverityType class [System.Xml]System.Xml.Schema.ValidationEventArgs::get_Severity() - IL_0029: brtrue IL_003f + // method line 1255 + .method public hidebysig + instance default bool Contains (string taskName) cil managed + { + // Method begins at RVA 0x17424 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Types.Option class NAnt.Core.Types.OptionCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_002e: nop - IL_002f: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger - IL_0034: ldstr "ERROR: " - IL_0039: callvirt instance void class [log4net]log4net.ILog::Error(object) - IL_003e: nop - IL_003f: ldarg.2 - IL_0040: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaException class [System.Xml]System.Xml.Schema.ValidationEventArgs::get_Exception() - IL_0045: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObject class [System.Xml]System.Xml.Schema.XmlSchemaException::get_SourceSchemaObject() - IL_004a: isinst [System.Xml]System.Xml.Schema.XmlSchemaComplexType - IL_004f: stloc.0 - IL_0050: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger - IL_0055: ldarg.2 - IL_0056: callvirt instance string object::ToString() - IL_005b: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_0060: ldloc.0 - IL_0061: brfalse IL_0087 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method OptionCollection::Contains - IL_0066: nop - IL_0067: ldsfld class [log4net]log4net.ILog NAnt.Core.Tasks.NAntSchemaTask::logger - IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0071: ldstr "{0}" - IL_0076: ldloc.0 - IL_0077: callvirt instance string class [System.Xml]System.Xml.Schema.XmlSchemaType::get_Name() - IL_007c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0081: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_0086: nop - IL_0087: ret - } // end of method NAntSchemaGenerator::ValidationEH + // method line 1256 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Option[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x17446 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method OptionCollection::CopyTo - // method line 1367 - .method family hidebysig - instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindComplexTypeByID (string id) cil managed + // method line 1257 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Option item) cil managed { - // Method begins at RVA 0x1744c - // Code size 51 (0x33) + // Method begins at RVA 0x17458 + // Code size 21 (0x15) .maxstack 2 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IDictionary::Contains(object) - IL_000d: brfalse IL_002a - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes - IL_0019: ldarg.1 - IL_001a: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) - IL_001f: castclass [System.Xml]System.Xml.Schema.XmlSchemaComplexType - IL_0024: stloc.0 - IL_0025: br IL_0031 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_002a: ldnull - IL_002b: stloc.0 - IL_002c: br IL_0031 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method OptionCollection::IndexOf - IL_0031: ldloc.0 - IL_0032: ret - } // end of method NAntSchemaGenerator::FindComplexTypeByID + // method line 1258 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Option item) cil managed + { + // Method begins at RVA 0x17479 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method OptionCollection::Insert - // method line 1368 - .method family hidebysig - instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindOrCreateComplexType (class [mscorlib]System.Type t) cil managed + // method line 1259 + .method public hidebysig + instance default class NAnt.Core.Types.OptionEnumerator GetEnumerator () cil managed { // Method begins at RVA 0x1748c - // Code size 1102 (0x44e) - .maxstack 6 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0, - string V_1, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_2, - class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_3, - class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection V_4, - class [mscorlib]System.Reflection.MemberInfo V_5, - class [mscorlib]System.Reflection.MemberInfo[] V_6, - int32 V_7, - class NAnt.Core.Attributes.TaskAttributeAttribute V_8, - class NAnt.Core.Attributes.BuildElementAttribute V_9, - class [System.Xml]System.Xml.Schema.XmlSchemaAttribute V_10, - valuetype [mscorlib]System.Decimal V_11, - class [System.Xml]System.Xml.Schema.XmlSchemaElement V_12, - class [mscorlib]System.Type V_13, - class [mscorlib]System.Reflection.MethodInfo V_14, - class NAnt.Core.Attributes.BuildElementArrayAttribute V_15, - class [mscorlib]System.Type V_16, - class [mscorlib]System.Reflection.MethodInfo V_17, - class [mscorlib]System.Reflection.MethodInfo[] V_18, - int32 V_19, - class [mscorlib]System.Reflection.ParameterInfo V_20, - class NAnt.Core.Attributes.BuildElementCollectionAttribute V_21, - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_22, - class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_23, - class [System.Xml]System.Xml.Schema.XmlSchemaElement V_24) + class NAnt.Core.Types.OptionEnumerator V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call string class NAnt.Core.Tasks.NAntSchemaTask::GenerateIDFromType(class [mscorlib]System.Type) - IL_0007: stloc.1 - IL_0008: ldarg.0 - IL_0009: ldloc.1 - IL_000a: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindComplexTypeByID(string) - IL_000f: stloc.0 - IL_0010: ldloc.0 - IL_0011: brfalse IL_001e - - IL_0016: nop - IL_0017: ldloc.0 - IL_0018: stloc.2 - IL_0019: br IL_044c + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.Types.OptionEnumerator::'.ctor'(class NAnt.Core.Types.OptionCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001e: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::'.ctor'() - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: ldloc.1 - IL_0026: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_Name(string) - IL_002b: ldsfld string[] NAnt.Core.Tasks.NAntSchemaTask::mixedTaskNames - IL_0030: ldloc.0 - IL_0031: callvirt instance string class [System.Xml]System.Xml.Schema.XmlSchemaType::get_Name() - IL_0036: call int32 class [mscorlib]System.Array::IndexOf (!!0[], !!0) - IL_003b: ldc.i4.m1 - IL_003c: beq IL_004a + IL_000d: ldloc.0 + IL_000e: ret + } // end of method OptionCollection::GetEnumerator - IL_0041: nop - IL_0042: ldloc.0 - IL_0043: ldc.i4.1 - IL_0044: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaType::set_IsMixed(bool) - IL_0049: nop - IL_004a: ldarg.0 - IL_004b: ldfld class [mscorlib]System.Collections.IDictionary NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::_nantComplexTypes - IL_0050: ldloc.1 - IL_0051: ldloc.0 - IL_0052: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) - IL_0057: ldnull - IL_0058: stloc.3 - IL_0059: ldloc.0 - IL_005a: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_Attributes() - IL_005f: stloc.s 4 - IL_0061: nop - IL_0062: ldarg.1 - IL_0063: ldc.i4.s 0x14 - IL_0065: callvirt instance class [mscorlib]System.Reflection.MemberInfo[] class [mscorlib]System.Type::GetMembers(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_006a: stloc.s 6 - IL_006c: ldc.i4.0 - IL_006d: stloc.s 7 - IL_006f: br IL_03fb + // method line 1260 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Option item) cil managed + { + // Method begins at RVA 0x174a7 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method OptionCollection::Remove - IL_0074: ldloc.s 6 - IL_0076: ldloc.s 7 - IL_0078: ldelem.ref - IL_0079: stloc.s 5 - IL_007b: nop - IL_007c: ldloc.s 5 - IL_007e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_0083: ldtoken [mscorlib]System.Object - IL_0088: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_008d: callvirt instance bool class [mscorlib]System.Type::Equals(class [mscorlib]System.Type) - IL_0092: brfalse IL_009d + .property instance class NAnt.Core.Types.Option Item (int32) + { + .get instance default class NAnt.Core.Types.Option NAnt.Core.Types.OptionCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Types.OptionCollection::set_Item (int32 index, class NAnt.Core.Types.Option 'value') + } + .property instance class NAnt.Core.Types.Option Item (string) + { + .get instance default class NAnt.Core.Types.Option NAnt.Core.Types.OptionCollection::get_Item (string name) + } + } // end of class NAnt.Core.Types.OptionCollection +} - IL_0097: nop - IL_0098: br IL_03f5 +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit OptionEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - IL_009d: ldloc.s 5 - IL_009f: ldtoken NAnt.Core.Attributes.TaskAttributeAttribute - IL_00a4: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00a9: ldc.i4.0 - IL_00aa: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_00af: castclass NAnt.Core.Attributes.TaskAttributeAttribute - IL_00b4: stloc.s 8 - IL_00b6: ldloc.s 5 - IL_00b8: ldtoken NAnt.Core.Attributes.BuildElementAttribute - IL_00bd: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00c2: ldc.i4.0 - IL_00c3: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_00c8: castclass NAnt.Core.Attributes.BuildElementAttribute - IL_00cd: stloc.s 9 - IL_00cf: ldloc.s 8 - IL_00d1: brfalse IL_00fc + // method line 1261 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.OptionCollection arguments) cil managed + { + // Method begins at RVA 0x174b8 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator + IL_0015: ret + } // end of method OptionEnumerator::.ctor - IL_00d6: nop - IL_00d7: ldloc.s 8 - IL_00d9: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() - IL_00de: ldloc.s 8 - IL_00e0: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_Required() - IL_00e5: call class [System.Xml]System.Xml.Schema.XmlSchemaAttribute class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdAttribute(string, bool) - IL_00ea: stloc.s 10 - IL_00ec: ldloc.s 4 - IL_00ee: ldloc.s 10 - IL_00f0: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_00f5: pop - IL_00f6: nop - IL_00f7: br IL_03f4 + // method line 1262 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Option get_Current () cil managed + { + // Method begins at RVA 0x174dc + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.Option V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Types.Option + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_00fc: ldloc.s 9 - IL_00fe: brfalse IL_03f4 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method OptionEnumerator::get_Current - IL_0103: nop - IL_0104: ldc.i4.0 - IL_0105: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_010a: stloc.s 11 - IL_010c: ldloc.s 9 - IL_010e: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() - IL_0113: brfalse IL_0122 + // method line 1263 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x17504 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0118: nop - IL_0119: ldc.i4.1 - IL_011a: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_011f: stloc.s 11 - IL_0121: nop - IL_0122: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() - IL_0127: stloc.s 12 - IL_0129: ldloc.s 12 - IL_012b: ldloc.s 11 - IL_012d: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) - IL_0132: ldloc.s 12 - IL_0134: ldc.i4.1 - IL_0135: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_013a: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccurs(valuetype [mscorlib]System.Decimal) - IL_013f: ldloc.s 12 - IL_0141: ldloc.s 9 - IL_0143: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0148: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) - IL_014d: ldloc.s 5 - IL_014f: isinst [mscorlib]System.Reflection.PropertyInfo - IL_0154: brfalse IL_016e + IL_0012: ldloc.0 + IL_0013: ret + } // end of method OptionEnumerator::System.Collections.IEnumerator.get_Current - IL_0159: nop - IL_015a: ldloc.s 5 - IL_015c: castclass [mscorlib]System.Reflection.PropertyInfo - IL_0161: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0166: stloc.s 13 - IL_0168: nop - IL_0169: br IL_01e9 + // method line 1264 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x17524 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_016e: ldloc.s 5 - IL_0170: isinst [mscorlib]System.Reflection.FieldInfo - IL_0175: brfalse IL_018f + IL_0012: ldloc.0 + IL_0013: ret + } // end of method OptionEnumerator::MoveNext - IL_017a: nop - IL_017b: ldloc.s 5 - IL_017d: castclass [mscorlib]System.Reflection.FieldInfo - IL_0182: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() - IL_0187: stloc.s 13 - IL_0189: nop - IL_018a: br IL_01e9 + // method line 1265 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x17544 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_018f: ldloc.s 5 - IL_0191: isinst [mscorlib]System.Reflection.MethodInfo - IL_0196: brfalse IL_01dd + IL_0012: ldloc.0 + IL_0013: ret + } // end of method OptionEnumerator::System.Collections.IEnumerator.MoveNext - IL_019b: nop - IL_019c: ldloc.s 5 - IL_019e: castclass [mscorlib]System.Reflection.MethodInfo - IL_01a3: stloc.s 14 - IL_01a5: ldloc.s 14 - IL_01a7: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_01ac: ldlen - IL_01ad: conv.i4 - IL_01ae: ldc.i4.1 - IL_01af: bne.un IL_01cb + // method line 1266 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x17564 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method OptionEnumerator::Reset - IL_01b4: nop - IL_01b5: ldloc.s 14 - IL_01b7: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_01bc: ldc.i4.0 - IL_01bd: ldelem.ref - IL_01be: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_01c3: stloc.s 13 - IL_01c5: nop - IL_01c6: br IL_01d7 + // method line 1267 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x17572 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.OptionEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method OptionEnumerator::System.Collections.IEnumerator.Reset - IL_01cb: nop - IL_01cc: ldstr "Method should have one parameter." - IL_01d1: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_01d6: throw - IL_01d7: nop - IL_01d8: br IL_01e9 + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.OptionEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.Types.Option Current () + { + .get instance default class NAnt.Core.Types.Option NAnt.Core.Types.OptionEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.OptionEnumerator +} - IL_01dd: nop - IL_01de: ldstr "Member Type != Field/Property/Method" - IL_01e3: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_01e8: throw - IL_01e9: ldloc.s 5 - IL_01eb: ldtoken NAnt.Core.Attributes.BuildElementArrayAttribute - IL_01f0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01f5: ldc.i4.0 - IL_01f6: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_01fb: castclass NAnt.Core.Attributes.BuildElementArrayAttribute - IL_0200: stloc.s 15 - IL_0202: ldloc.s 15 - IL_0204: brfalse IL_0312 +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit ManagedExecutionModes + extends NAnt.Core.Element + { + .field private class NAnt.Core.Configuration.ManagedExecutionMode _autoMode + .field private class NAnt.Core.Configuration.ManagedExecutionMode _strictMode - IL_0209: nop - IL_020a: ldloc.s 15 - IL_020c: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() - IL_0211: ldnull - IL_0212: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0217: brfalse IL_02b5 + // method line 1268 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x17580 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method ManagedExecutionModes::.ctor - IL_021c: nop - IL_021d: ldloc.s 13 - IL_021f: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_0224: brfalse IL_0239 + // method line 1269 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Auto () cil managed + { + // Method begins at RVA 0x17588 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.ManagedExecutionMode V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0229: nop - IL_022a: ldloc.s 13 - IL_022c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_0231: stloc.s 13 - IL_0233: nop - IL_0234: br IL_02af + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedExecutionModes::get_Auto - IL_0239: nop - IL_023a: ldnull - IL_023b: stloc.s 16 - IL_023d: nop - IL_023e: ldloc.s 13 - IL_0240: ldc.i4.s 0x14 - IL_0242: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0247: stloc.s 18 - IL_0249: ldc.i4.0 - IL_024a: stloc.s 19 - IL_024c: br IL_029f + // method line 1270 + .method public hidebysig specialname + instance default void set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed + { + // Method begins at RVA 0x175a3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode + IL_0008: ret + } // end of method ManagedExecutionModes::set_Auto - IL_0251: ldloc.s 18 - IL_0253: ldloc.s 19 - IL_0255: ldelem.ref - IL_0256: stloc.s 17 - IL_0258: nop - IL_0259: ldloc.s 17 - IL_025b: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0260: ldstr "Add" - IL_0265: call bool string::op_Equality(string, string) - IL_026a: brfalse IL_0298 + // method line 1271 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Strict () cil managed + { + // Method begins at RVA 0x175b0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.ManagedExecutionMode V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_026f: ldloc.s 17 - IL_0271: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0276: ldlen - IL_0277: conv.i4 - IL_0278: ldc.i4.1 - IL_0279: bne.un IL_0298 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedExecutionModes::get_Strict - IL_027e: nop - IL_027f: ldloc.s 17 - IL_0281: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0286: ldc.i4.0 - IL_0287: ldelem.ref - IL_0288: stloc.s 20 - IL_028a: ldloc.s 20 - IL_028c: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0291: stloc.s 16 - IL_0293: br IL_02aa + // method line 1272 + .method public hidebysig specialname + instance default void set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed + { + // Method begins at RVA 0x175cb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode + IL_0008: ret + } // end of method ManagedExecutionModes::set_Strict - IL_0298: nop - IL_0299: ldloc.s 19 - IL_029b: ldc.i4.1 - IL_029c: add - IL_029d: stloc.s 19 - IL_029f: ldloc.s 19 - IL_02a1: ldloc.s 18 - IL_02a3: ldlen - IL_02a4: conv.i4 - IL_02a5: blt IL_0251 + // method line 1273 + .method public hidebysig + instance default class NAnt.Core.Configuration.ManagedExecutionMode GetExecutionMode (valuetype NAnt.Core.Types.ManagedExecution 'managed') cil managed + { + // Method begins at RVA 0x175d8 + // Code size 86 (0x56) + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.ManagedExecutionMode V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: switch ( + IL_0018, + IL_001f, + IL_002b) + IL_0013: br IL_004e - IL_02aa: ldloc.s 16 - IL_02ac: stloc.s 13 - IL_02ae: nop - IL_02af: nop - IL_02b0: br IL_02c0 + IL_0018: ldnull + IL_0019: stloc.0 + IL_001a: br IL_0054 - IL_02b5: nop - IL_02b6: ldloc.s 15 - IL_02b8: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() - IL_02bd: stloc.s 13 - IL_02bf: nop - IL_02c0: ldloc.s 13 - IL_02c2: ldnull - IL_02c3: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_02c8: brtrue IL_02e3 + IL_001f: ldarg.0 + IL_0020: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() + IL_0025: stloc.0 + IL_0026: br IL_0054 - IL_02cd: ldtoken NAnt.Core.Element - IL_02d2: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_02d7: ldloc.s 13 - IL_02d9: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_02de: brtrue IL_0311 + IL_002b: ldarg.0 + IL_002c: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() + IL_0031: brfalse IL_0042 - IL_02e3: nop - IL_02e4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02e9: ldstr "NA1140" - IL_02ee: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02f3: ldloc.s 5 - IL_02f5: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_02fa: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_02ff: ldloc.s 5 - IL_0301: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0306: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_030b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0310: throw - IL_0311: nop - IL_0312: ldloc.s 5 - IL_0314: ldtoken NAnt.Core.Attributes.BuildElementCollectionAttribute - IL_0319: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_031e: ldc.i4.0 - IL_031f: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0324: castclass NAnt.Core.Attributes.BuildElementCollectionAttribute - IL_0329: stloc.s 21 - IL_032b: ldloc.s 21 - IL_032d: brfalse IL_03aa + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() + IL_003c: stloc.0 + IL_003d: br IL_0054 - IL_0332: nop - IL_0333: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::'.ctor'() - IL_0338: stloc.s 22 - IL_033a: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaSequence::'.ctor'() - IL_033f: stloc.s 23 - IL_0341: ldloc.s 22 - IL_0343: ldloc.s 23 - IL_0345: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) - IL_034a: ldloc.s 23 - IL_034c: ldc.i4.0 - IL_034d: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_0352: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MinOccurs(valuetype [mscorlib]System.Decimal) - IL_0357: ldloc.s 23 - IL_0359: ldstr "unbounded" - IL_035e: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaParticle::set_MaxOccursString(string) - IL_0363: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::'.ctor'() - IL_0368: stloc.s 24 - IL_036a: ldloc.s 24 - IL_036c: ldloc.s 21 - IL_036e: callvirt instance string class NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName() - IL_0373: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_Name(string) - IL_0378: ldloc.s 24 - IL_037a: ldarg.0 - IL_037b: ldloc.s 13 - IL_037d: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) - IL_0382: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() - IL_0387: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) - IL_038c: ldloc.s 23 - IL_038e: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() - IL_0393: ldloc.s 24 - IL_0395: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_039a: pop - IL_039b: ldloc.s 12 - IL_039d: ldloc.s 22 - IL_039f: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaType(class [System.Xml]System.Xml.Schema.XmlSchemaType) - IL_03a4: nop - IL_03a5: br IL_03c0 + IL_0042: ldarg.0 + IL_0043: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() + IL_0048: stloc.0 + IL_0049: br IL_0054 - IL_03aa: nop - IL_03ab: ldloc.s 12 - IL_03ad: ldarg.0 - IL_03ae: ldloc.s 13 - IL_03b0: call instance class [System.Xml]System.Xml.Schema.XmlSchemaComplexType class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::FindOrCreateComplexType(class [mscorlib]System.Type) - IL_03b5: callvirt instance class [System.Xml]System.Xml.XmlQualifiedName class [System.Xml]System.Xml.Schema.XmlSchemaType::get_QualifiedName() - IL_03ba: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaElement::set_SchemaTypeName(class [System.Xml]System.Xml.XmlQualifiedName) - IL_03bf: nop - IL_03c0: ldloc.3 - IL_03c1: brtrue IL_03e5 + IL_004e: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'() + IL_0053: throw + IL_0054: ldloc.0 + IL_0055: ret + } // end of method ManagedExecutionModes::GetExecutionMode - IL_03c6: nop - IL_03c7: ldc.i4.0 - IL_03c8: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32) - IL_03cd: ldc.i4.m1 - IL_03ce: ldc.i4.m1 - IL_03cf: ldc.i4.m1 - IL_03d0: ldc.i4.0 - IL_03d1: ldc.i4.0 - IL_03d2: newobj instance void valuetype [mscorlib]System.Decimal::'.ctor'(int32, int32, int32, bool, unsigned int8) - IL_03d7: call class [System.Xml]System.Xml.Schema.XmlSchemaSequence class NAnt.Core.Tasks.NAntSchemaTask::CreateXsdSequence(valuetype [mscorlib]System.Decimal, valuetype [mscorlib]System.Decimal) - IL_03dc: stloc.3 - IL_03dd: ldloc.0 - IL_03de: ldloc.3 - IL_03df: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_Particle(class [System.Xml]System.Xml.Schema.XmlSchemaParticle) - IL_03e4: nop - IL_03e5: ldloc.3 - IL_03e6: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchemaGroupBase::get_Items() - IL_03eb: ldloc.s 12 - IL_03ed: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_03f2: pop - IL_03f3: nop - IL_03f4: nop - IL_03f5: ldloc.s 7 - IL_03f7: ldc.i4.1 - IL_03f8: add - IL_03f9: stloc.s 7 - IL_03fb: ldloc.s 7 - IL_03fd: ldloc.s 6 - IL_03ff: ldlen - IL_0400: conv.i4 - IL_0401: blt IL_0074 - - IL_0406: ldloc.0 - IL_0407: newobj instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute::'.ctor'() - IL_040c: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::set_AnyAttribute(class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute) - IL_0411: ldloc.0 - IL_0412: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_AnyAttribute() - IL_0417: ldstr "##other" - IL_041c: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute::set_Namespace(string) - IL_0421: ldloc.0 - IL_0422: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute class [System.Xml]System.Xml.Schema.XmlSchemaComplexType::get_AnyAttribute() - IL_0427: ldc.i4.1 - IL_0428: callvirt instance void class [System.Xml]System.Xml.Schema.XmlSchemaAnyAttribute::set_ProcessContents(valuetype [System.Xml]System.Xml.Schema.XmlSchemaContentProcessing) - IL_042d: ldarg.0 - IL_042e: call instance class [System.Xml]System.Xml.Schema.XmlSchema class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema() - IL_0433: callvirt instance class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection class [System.Xml]System.Xml.Schema.XmlSchema::get_Items() - IL_0438: ldloc.0 - IL_0439: callvirt instance int32 class [System.Xml]System.Xml.Schema.XmlSchemaObjectCollection::Add(class [System.Xml]System.Xml.Schema.XmlSchemaObject) - IL_043e: pop - IL_043f: ldarg.0 - IL_0440: call instance void class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::Compile() - IL_0445: ldloc.0 - IL_0446: stloc.2 - IL_0447: br IL_044c - - IL_044c: ldloc.2 - IL_044d: ret - } // end of method NAntSchemaGenerator::FindOrCreateComplexType - - // method line 1369 - .method private hidebysig - instance default string GetTaskName (class [mscorlib]System.Type t) cil managed - { - // Method begins at RVA 0x178e8 - // Code size 58 (0x3a) - .maxstack 3 - .locals init ( - class NAnt.Core.Attributes.TaskNameAttribute[] V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldtoken NAnt.Core.Attributes.TaskNameAttribute - IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000c: ldc.i4.0 - IL_000d: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0012: castclass class NAnt.Core.Attributes.TaskNameAttribute[] - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldlen - IL_001a: conv.i4 - IL_001b: ldc.i4.1 - IL_001c: bne.un IL_0030 - - IL_0021: nop - IL_0022: ldloc.0 - IL_0023: ldc.i4.0 - IL_0024: ldelem.ref - IL_0025: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_002a: stloc.1 - IL_002b: br IL_0038 - - IL_0030: nop - IL_0031: ldnull - IL_0032: stloc.1 - IL_0033: br IL_0038 - - IL_0038: ldloc.1 - IL_0039: ret - } // end of method NAntSchemaGenerator::GetTaskName - - // method line 1370 - .method private hidebysig - instance default string GetDataTypeName (class [mscorlib]System.Type t) cil managed - { - // Method begins at RVA 0x17930 - // Code size 58 (0x3a) - .maxstack 3 - .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute[] V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000c: ldc.i4.0 - IL_000d: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0012: castclass class NAnt.Core.Attributes.ElementNameAttribute[] - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldlen - IL_001a: conv.i4 - IL_001b: ldc.i4.1 - IL_001c: bne.un IL_0030 - - IL_0021: nop - IL_0022: ldloc.0 - IL_0023: ldc.i4.0 - IL_0024: ldelem.ref - IL_0025: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_002a: stloc.1 - IL_002b: br IL_0038 - - IL_0030: nop - IL_0031: ldnull - IL_0032: stloc.1 - IL_0033: br IL_0038 - - IL_0038: ldloc.1 - IL_0039: ret - } // end of method NAntSchemaGenerator::GetDataTypeName - - .property instance class [System.Xml]System.Xml.Schema.XmlSchema Schema () + .property instance class NAnt.Core.Configuration.ManagedExecutionMode Auto () { - .get instance default class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema () + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 61 75 74 6F 00 00 ) // ...auto.. + + .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Auto () + .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') } - } // end of class NAntSchemaGenerator + .property instance class NAnt.Core.Configuration.ManagedExecutionMode Strict () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 73 74 72 69 63 74 00 00 ) // ...strict.. - } // end of class NAnt.Core.Tasks.NAntSchemaTask + .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Strict () + .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') + } + } // end of class NAnt.Core.Configuration.ManagedExecutionModes } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Configuration { - .class public auto ansi beforefieldinit MailTask - extends NAnt.Core.Task + .class private auto ansi serializable beforefieldinit DirectoryName + extends NAnt.Core.Configuration.ConditionalElement { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6D 61 69 6C 00 00 ) // ...mail.. - - .field private string _from - .field private string _replyTo - .field private string _toList - .field private string _ccList - .field private string _bccList - .field private string _mailHost - .field private string _subject - .field private string _message - .field private string _userName - .field private string _passWord - .field private bool _isBodyHtml - .field private bool _enableSsl - .field private int32 _portNumber - .field private class NAnt.Core.Types.FileSet _files - .field private class NAnt.Core.Types.FileSet _attachments + .field private string _name - // method line 1371 + // method line 1274 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17978 - // Code size 106 (0x6a) - .maxstack 2 + // Method begins at RVA 0x177d7 + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldstr "localhost" - IL_0006: stfld string NAnt.Core.Tasks.MailTask::_mailHost - IL_000b: ldarg.0 - IL_000c: ldstr "" - IL_0011: stfld string NAnt.Core.Tasks.MailTask::_subject - IL_0016: ldarg.0 - IL_0017: ldstr "" - IL_001c: stfld string NAnt.Core.Tasks.MailTask::_message - IL_0021: ldarg.0 - IL_0022: ldstr "" - IL_0027: stfld string NAnt.Core.Tasks.MailTask::_userName - IL_002c: ldarg.0 - IL_002d: ldstr "" - IL_0032: stfld string NAnt.Core.Tasks.MailTask::_passWord - IL_0037: ldarg.0 - IL_0038: ldc.i4.0 - IL_0039: stfld bool NAnt.Core.Tasks.MailTask::_isBodyHtml - IL_003e: ldarg.0 - IL_003f: ldc.i4.0 - IL_0040: stfld bool NAnt.Core.Tasks.MailTask::_enableSsl - IL_0045: ldarg.0 - IL_0046: ldc.i4.s 0x19 - IL_0048: stfld int32 NAnt.Core.Tasks.MailTask::_portNumber - IL_004d: ldarg.0 - IL_004e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0053: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_files - IL_0058: ldarg.0 - IL_0059: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_005e: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_attachments - IL_0063: ldarg.0 - IL_0064: call instance void class NAnt.Core.Task::'.ctor'() - IL_0069: ret - } // end of method MailTask::.ctor + IL_0001: call instance void class NAnt.Core.Configuration.ConditionalElement::'.ctor'() + IL_0006: ret + } // end of method DirectoryName::.ctor - // method line 1372 + // method line 1275 .method public hidebysig specialname - instance default string get_From () cil managed + instance default string get_DirName () cil managed { - // Method begins at RVA 0x179f0 + // Method begins at RVA 0x177e0 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_from + IL_0002: ldfld string NAnt.Core.Configuration.DirectoryName::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_From + } // end of method DirectoryName::get_DirName - // method line 1373 + // method line 1276 .method public hidebysig specialname - instance default void set_From (string 'value') cil managed + instance default void set_DirName (string 'value') cil managed { - // Method begins at RVA 0x17a0b - // Code size 14 (0xe) + // Method begins at RVA 0x177fb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.MailTask::_from - IL_000d: ret - } // end of method MailTask::set_From + IL_0003: stfld string NAnt.Core.Configuration.DirectoryName::_name + IL_0008: ret + } // end of method DirectoryName::set_DirName - // method line 1374 + .property instance string DirName () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. + + .get instance default string NAnt.Core.Configuration.DirectoryName::get_DirName () + .set instance default void NAnt.Core.Configuration.DirectoryName::set_DirName (string 'value') + } + } // end of class NAnt.Core.Configuration.DirectoryName +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit DirList + extends NAnt.Core.Element + { + .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory + .field private class NAnt.Core.Configuration.DirectoryName[] _directoryNames + + // method line 1277 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x17805 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method DirList::.ctor + + // method line 1278 .method public hidebysig specialname - instance default string get_ToList () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x17a1c - // Code size 15 (0xf) + // Method begins at RVA 0x17810 + // Code size 49 (0x31) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_toList - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory + IL_0007: brtrue IL_0023 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MailTask::get_ToList + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0013: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_001d: stloc.0 + IL_001e: br IL_002f - // method line 1375 + IL_0023: ldarg.0 + IL_0024: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory + IL_0029: stloc.0 + IL_002a: br IL_002f + + IL_002f: ldloc.0 + IL_0030: ret + } // end of method DirList::get_Directory + + // method line 1279 .method public hidebysig specialname - instance default void set_ToList (string 'value') cil managed + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x17a37 + // Method begins at RVA 0x1784d // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.MailTask::_toList + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory IL_0008: ret - } // end of method MailTask::set_ToList + } // end of method DirList::set_Directory - // method line 1376 + // method line 1280 .method public hidebysig specialname - instance default string get_ReplyTo () cil managed + instance default class NAnt.Core.Configuration.DirectoryName[] get_DirectoryNames () cil managed { - // Method begins at RVA 0x17a44 + // Method begins at RVA 0x17858 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Configuration.DirectoryName[] V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_replyTo + IL_0002: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_ReplyTo + } // end of method DirList::get_DirectoryNames - // method line 1377 + // method line 1281 .method public hidebysig specialname - instance default void set_ReplyTo (string 'value') cil managed + instance default void set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') cil managed { - // Method begins at RVA 0x17a5f + // Method begins at RVA 0x17873 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.MailTask::_replyTo + IL_0003: stfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames IL_0008: ret - } // end of method MailTask::set_ReplyTo + } // end of method DirList::set_DirectoryNames - // method line 1378 - .method public hidebysig specialname - instance default string get_CcList () cil managed + // method line 1282 + .method public hidebysig + instance default string[] GetDirectories () cil managed { - // Method begins at RVA 0x17a6c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x17880 + // Code size 28 (0x1c) + .maxstack 2 .locals init ( - string V_0) + string V_0, + string[] V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_ccList - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Configuration.DirList::get_Directory() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: ldloc.0 + IL_000f: call instance string[] class NAnt.Core.Configuration.DirList::GetDirectories(string) + IL_0014: stloc.1 + IL_0015: br IL_001a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MailTask::get_CcList + IL_001a: ldloc.1 + IL_001b: ret + } // end of method DirList::GetDirectories - // method line 1379 - .method public hidebysig specialname - instance default void set_CcList (string 'value') cil managed + // method line 1283 + .method assembly hidebysig + instance default string[] GetDirectories (string baseDir) cil managed { - // Method begins at RVA 0x17a87 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x178a8 + // Code size 116 (0x74) + .maxstack 4 + .locals init ( + string[] V_0, + string[] V_1, + int32 V_2, + class NAnt.Core.Configuration.DirectoryName V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.MailTask::_ccList - IL_0008: ret - } // end of method MailTask::set_CcList + IL_0001: ldarg.1 + IL_0002: brtrue IL_0012 - // method line 1380 + IL_0007: ldstr "baseDir" + IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0011: throw + IL_0012: ldarg.0 + IL_0013: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames + IL_0018: brtrue IL_002a + + IL_001d: nop + IL_001e: ldc.i4.0 + IL_001f: newarr [mscorlib]System.String + IL_0024: stloc.0 + IL_0025: br IL_0072 + + IL_002a: ldarg.0 + IL_002b: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames + IL_0030: ldlen + IL_0031: conv.i4 + IL_0032: newarr [mscorlib]System.String + IL_0037: stloc.1 + IL_0038: ldc.i4.0 + IL_0039: stloc.2 + IL_003a: br IL_005d + + IL_003f: nop + IL_0040: ldarg.0 + IL_0041: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames + IL_0046: ldloc.2 + IL_0047: ldelem.ref + IL_0048: stloc.3 + IL_0049: ldloc.1 + IL_004a: ldloc.2 + IL_004b: ldarg.1 + IL_004c: ldloc.3 + IL_004d: callvirt instance string class NAnt.Core.Configuration.DirectoryName::get_DirName() + IL_0052: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0057: stelem.ref + IL_0058: nop + IL_0059: ldloc.2 + IL_005a: ldc.i4.1 + IL_005b: add + IL_005c: stloc.2 + IL_005d: ldloc.2 + IL_005e: ldarg.0 + IL_005f: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames + IL_0064: ldlen + IL_0065: conv.i4 + IL_0066: blt IL_003f + + IL_006b: ldloc.1 + IL_006c: stloc.0 + IL_006d: br IL_0072 + + IL_0072: ldloc.0 + IL_0073: ret + } // end of method DirList::GetDirectories + + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::get_Directory () + .set instance default void NAnt.Core.Configuration.DirList::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class NAnt.Core.Configuration.DirectoryName[] DirectoryNames () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 09 64 69 72 65 63 74 6F 72 79 00 00 ) // ...directory.. + + .get instance default class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::get_DirectoryNames () + .set instance default void NAnt.Core.Configuration.DirList::set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') + } + } // end of class NAnt.Core.Configuration.DirList +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit RuntimeEngine + extends NAnt.Core.Element + { + .field private class [mscorlib]System.IO.FileInfo _program + .field private class NAnt.Core.Types.ArgumentCollection _arguments + + // method line 1284 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x17928 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Types.ArgumentCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Element::'.ctor'() + IL_0011: ret + } // end of method RuntimeEngine::.ctor + + // method line 1285 .method public hidebysig specialname - instance default string get_BccList () cil managed + instance default class [mscorlib]System.IO.FileInfo get_Program () cil managed { - // Method begins at RVA 0x17a94 + // Method begins at RVA 0x1793c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_bccList + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_BccList + } // end of method RuntimeEngine::get_Program - // method line 1381 + // method line 1286 .method public hidebysig specialname - instance default void set_BccList (string 'value') cil managed + instance default void set_Program (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x17aaf + // Method begins at RVA 0x17957 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.MailTask::_bccList + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program IL_0008: ret - } // end of method MailTask::set_BccList + } // end of method RuntimeEngine::set_Program - // method line 1382 + // method line 1287 .method public hidebysig specialname - instance default string get_Mailhost () cil managed + instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed { - // Method begins at RVA 0x17abc + // Method begins at RVA 0x17964 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.ArgumentCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_mailHost + IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_Mailhost + } // end of method RuntimeEngine::get_Arguments - // method line 1383 - .method public hidebysig specialname - instance default void set_Mailhost (string 'value') cil managed + // method line 1288 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x17ad7 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x17980 + // Code size 73 (0x49) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.MailTask::_mailHost - IL_000d: ret - } // end of method MailTask::set_Mailhost - - // method line 1384 - .method public hidebysig specialname - instance default int32 get_Port () cil managed - { - // Method begins at RVA 0x17ae8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) + IL_0002: call instance void class NAnt.Core.Element::Initialize() + IL_0007: ldarg.0 + IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_000d: ldnull + IL_000e: ceq + IL_0010: ldc.i4.0 + IL_0011: ceq + IL_0013: ldarg.0 + IL_0014: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_0019: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001e: ldc.i4.0 + IL_001f: ceq + IL_0021: and + IL_0022: brfalse IL_0048 + + IL_0027: nop + IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002d: ldstr "Runtime engine '{0}' does not exist." + IL_0032: ldarg.0 + IL_0033: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_0038: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0042: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0047: throw + IL_0048: ret + } // end of method RuntimeEngine::Initialize + + .property instance class [mscorlib]System.IO.FileInfo Program () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 70 72 6F 67 72 61 6D 01 00 54 02 08 52 // ...program..T..R + 65 71 75 69 72 65 64 01 ) // equired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::get_Program () + .set instance default void NAnt.Core.Configuration.RuntimeEngine::set_Program (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class NAnt.Core.Types.ArgumentCollection Arguments () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + + .get instance default class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::get_Arguments () + } + } // end of class NAnt.Core.Configuration.RuntimeEngine +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit ConditionalElement + extends NAnt.Core.Element + { + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1289 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1763a + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method ConditionalElement::.ctor + + // method line 1290 + .method family virtual hidebysig + instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed + { + // Method begins at RVA 0x1764c + // Code size 25 (0x19) + .maxstack 4 + .locals init ( + class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.MailTask::_portNumber + IL_0002: ldarg.1 + IL_0003: callvirt instance void class NAnt.Core.Element::set_XmlNode(class [System.Xml]System.Xml.XmlNode) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: ldarg.3 + IL_000c: newobj instance void class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::'.ctor'(class NAnt.Core.Configuration.ConditionalElement, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() + IL_0018: ret + } // end of method ConditionalElement::InitializeXml + + // method line 1291 + .method family hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x17674 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_Port + } // end of method ConditionalElement::get_IfDefined - // method line 1385 - .method public hidebysig specialname - instance default void set_Port (int32 'value') cil managed + // method line 1292 + .method family hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x17b03 + // Method begins at RVA 0x1768f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Tasks.MailTask::_portNumber + IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined IL_0008: ret - } // end of method MailTask::set_Port + } // end of method ConditionalElement::set_IfDefined - // method line 1386 - .method public hidebysig specialname - instance default bool get_EnableSsl () cil managed + // method line 1293 + .method family hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x17b10 + // Method begins at RVA 0x1769c // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.MailTask::_enableSsl + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_EnableSsl + } // end of method ConditionalElement::get_UnlessDefined - // method line 1387 - .method public hidebysig specialname - instance default void set_EnableSsl (bool 'value') cil managed + // method line 1294 + .method family hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x17b2b + // Method begins at RVA 0x176b7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.MailTask::_enableSsl + IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined IL_0008: ret - } // end of method MailTask::set_EnableSsl + } // end of method ConditionalElement::set_UnlessDefined - // method line 1388 - .method public hidebysig specialname - instance default string get_Message () cil managed + // method line 1295 + .method assembly hidebysig specialname + instance default bool get_Enabled () cil managed { - // Method begins at RVA 0x17b38 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x176c4 + // Code size 32 (0x20) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_message - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() + IL_0007: brfalse IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MailTask::get_Message + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() + IL_0012: ldc.i4.0 + IL_0013: ceq + IL_0015: br.s IL_0018 - // method line 1389 - .method public hidebysig specialname - instance default void set_Message (string 'value') cil managed + IL_0017: ldc.i4.0 + IL_0018: stloc.0 + IL_0019: br IL_001e + + IL_001e: ldloc.0 + IL_001f: ret + } // end of method ConditionalElement::get_Enabled + + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_IfDefined () + .set instance default void NAnt.Core.Configuration.ConditionalElement::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined () + .set instance default void NAnt.Core.Configuration.ConditionalElement::set_UnlessDefined (bool 'value') + } + .property instance bool Enabled () + { + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_Enabled () + } + .class nested private auto ansi beforefieldinit ConditionalConfigurator + extends NAnt.Core.Element/AttributeConfigurator + { + .field private initonly bool _enabled + + // method line 1296 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Configuration.ConditionalElement element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed { - // Method begins at RVA 0x17b53 - // Code size 14 (0xe) + // Method begins at RVA 0x176f0 + // Code size 148 (0x94) + .maxstack 5 + .locals init ( + class [mscorlib]System.Type V_0, + class [mscorlib]System.Reflection.PropertyInfo V_1, + class [mscorlib]System.Reflection.PropertyInfo V_2) + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: ldarg.3 + IL_000b: ldarg.s 4 + IL_000d: call instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldstr "IfDefined" + IL_0020: ldc.i4.s 0x24 + IL_0022: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0027: stloc.1 + IL_0028: ldarg.0 + IL_0029: ldloc.1 + IL_002a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_002f: pop + IL_0030: ldarg.1 + IL_0031: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() + IL_0036: brtrue IL_0049 + + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: ldc.i4.0 + IL_003e: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0043: nop + IL_0044: br IL_0070 + + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: ldstr "UnlessDefined" + IL_0050: ldc.i4.s 0x24 + IL_0052: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0057: stloc.2 + IL_0058: ldarg.0 + IL_0059: ldloc.2 + IL_005a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_005f: pop + IL_0060: ldarg.0 + IL_0061: ldarg.1 + IL_0062: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() + IL_0067: ldc.i4.0 + IL_0068: ceq + IL_006a: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_006f: nop + IL_0070: ldarg.0 + IL_0071: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0076: brtrue IL_0093 + + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() + IL_0082: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0087: ldarg.0 + IL_0088: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_008d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0092: nop + IL_0093: ret + } // end of method ConditionalConfigurator::.ctor + + // method line 1297 + .method family virtual hidebysig + instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x17790 + // Code size 34 (0x22) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0007: brtrue IL_0013 + + IL_000c: ldc.i4.1 + IL_000d: stloc.0 + IL_000e: br IL_0020 + + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: call instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_001a: stloc.0 + IL_001b: br IL_0020 + + IL_0020: ldloc.0 + IL_0021: ret + } // end of method ConditionalConfigurator::InitializeAttribute + + // method line 1298 + .method family virtual hidebysig + instance default void InitializeOrderedChildElements () cil managed + { + // Method begins at RVA 0x177be + // Code size 24 (0x18) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.MailTask::_message - IL_000d: ret - } // end of method MailTask::set_Message + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0007: brtrue IL_0011 - // method line 1390 + IL_000c: br IL_0017 + + IL_0011: ldarg.0 + IL_0012: call instance void class NAnt.Core.Element/AttributeConfigurator::InitializeOrderedChildElements() + IL_0017: ret + } // end of method ConditionalConfigurator::InitializeOrderedChildElements + + } // end of class ConditionalConfigurator + + } // end of class NAnt.Core.Configuration.ConditionalElement +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit Runtime + extends NAnt.Core.Element + { + .field private class NAnt.Core.Configuration.ManagedExecutionModes _modes + .field private class NAnt.Core.Configuration.DirList _probingPaths + + // method line 1299 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x179d5 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Configuration.ManagedExecutionModes::'.ctor'() + IL_0006: stfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.Core.Configuration.DirList::'.ctor'() + IL_0011: stfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths + IL_0016: ldarg.0 + IL_0017: call instance void class NAnt.Core.Element::'.ctor'() + IL_001c: ret + } // end of method Runtime::.ctor + + // method line 1300 .method public hidebysig specialname - instance default string get_Subject () cil managed + instance default class NAnt.Core.Configuration.DirList get_ProbingPaths () cil managed { - // Method begins at RVA 0x17b64 + // Method begins at RVA 0x179f4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Configuration.DirList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_subject + IL_0002: ldfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_Subject - - // method line 1391 - .method public hidebysig specialname - instance default void set_Subject (string 'value') cil managed - { - // Method begins at RVA 0x17b7f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.MailTask::_subject - IL_000d: ret - } // end of method MailTask::set_Subject + } // end of method Runtime::get_ProbingPaths - // method line 1392 + // method line 1301 .method public hidebysig specialname - instance default bool get_IsBodyHtml () cil managed + instance default class NAnt.Core.Configuration.ManagedExecutionModes get_Modes () cil managed { - // Method begins at RVA 0x17b90 + // Method begins at RVA 0x17a10 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Configuration.ManagedExecutionModes V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.MailTask::_isBodyHtml + IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_IsBodyHtml + } // end of method Runtime::get_Modes - // method line 1393 - .method public hidebysig specialname - instance default void set_IsBodyHtml (bool 'value') cil managed + .property instance class NAnt.Core.Configuration.DirList ProbingPaths () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0D 70 72 6F 62 69 6E 67 2D 70 61 74 68 73 // ...probing-paths + 00 00 ) // .. + + .get instance default class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::get_ProbingPaths () + } + .property instance class NAnt.Core.Configuration.ManagedExecutionModes Modes () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 6D 6F 64 65 73 00 00 ) // ...modes.. + + .get instance default class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::get_Modes () + } + } // end of class NAnt.Core.Configuration.Runtime +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit ManagedExecutionMode + extends NAnt.Core.Element + { + .field private class NAnt.Core.Configuration.RuntimeEngine _engine + .field private class NAnt.Core.Types.EnvironmentSet _environmentSet + + // method line 1302 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17bab - // Code size 9 (0x9) + // Method begins at RVA 0x17a2b + // Code size 18 (0x12) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.MailTask::_isBodyHtml - IL_0008: ret - } // end of method MailTask::set_IsBodyHtml + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Element::'.ctor'() + IL_0011: ret + } // end of method ManagedExecutionMode::.ctor - // method line 1394 + // method line 1303 .method public hidebysig specialname - instance default string get_UserName () cil managed + instance default class NAnt.Core.Configuration.RuntimeEngine get_Engine () cil managed { - // Method begins at RVA 0x17bb8 + // Method begins at RVA 0x17a40 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Configuration.RuntimeEngine V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_userName + IL_0002: ldfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_UserName + } // end of method ManagedExecutionMode::get_Engine - // method line 1395 + // method line 1304 .method public hidebysig specialname - instance default void set_UserName (string 'value') cil managed + instance default void set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') cil managed { - // Method begins at RVA 0x17bd3 + // Method begins at RVA 0x17a5b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.MailTask::_userName + IL_0003: stfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine IL_0008: ret - } // end of method MailTask::set_UserName + } // end of method ManagedExecutionMode::set_Engine - // method line 1396 + // method line 1305 .method public hidebysig specialname - instance default string get_Password () cil managed + instance default class NAnt.Core.Types.EnvironmentSet get_Environment () cil managed { - // Method begins at RVA 0x17be0 + // Method begins at RVA 0x17a68 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.EnvironmentSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_passWord + IL_0002: ldfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_Password + } // end of method ManagedExecutionMode::get_Environment - // method line 1397 - .method public hidebysig specialname - instance default void set_Password (string 'value') cil managed + .property instance class NAnt.Core.Configuration.RuntimeEngine Engine () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 65 6E 67 69 6E 65 00 00 ) // ...engine.. + + .get instance default class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::get_Engine () + .set instance default void NAnt.Core.Configuration.ManagedExecutionMode::set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') + } + .property instance class NAnt.Core.Types.EnvironmentSet Environment () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. + + .get instance default class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::get_Environment () + } + } // end of class NAnt.Core.Configuration.ManagedExecutionMode +} + +.namespace NAnt.Core.Filters +{ + .class public auto ansi serializable beforefieldinit FilterChain + extends NAnt.Core.DataTypeBase + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. + + .field private class [mscorlib]System.Text.Encoding _inputEncoding + .field private class NAnt.Core.Filters.FilterCollection _filters + + // method line 1306 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17bfb - // Code size 9 (0x9) + // Method begins at RVA 0x17a83 + // Code size 18 (0x12) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.MailTask::_passWord - IL_0008: ret - } // end of method MailTask::set_Password + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Filters.FilterCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::_filters + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_0011: ret + } // end of method FilterChain::.ctor - // method line 1398 + // method line 1307 .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.MailTask/MailFormat get_Format () cil managed + instance default class NAnt.Core.Filters.FilterCollection get_Filters () cil managed { - // Method begins at RVA 0x17c08 - // Code size 29 (0x1d) + // Method begins at RVA 0x17a98 + // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Tasks.MailTask/MailFormat V_0) + class NAnt.Core.Filters.FilterCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Tasks.MailTask::get_IsBodyHtml() - IL_0007: brfalse IL_0014 - - IL_000c: nop - IL_000d: ldc.i4.1 - IL_000e: stloc.0 - IL_000f: br IL_001b - - IL_0014: ldc.i4.0 - IL_0015: stloc.0 - IL_0016: br IL_001b - - IL_001b: ldloc.0 - IL_001c: ret - } // end of method MailTask::get_Format - - // method line 1399 - .method public hidebysig specialname - instance default void set_Format (valuetype NAnt.Core.Tasks.MailTask/MailFormat 'value') cil managed - { - // Method begins at RVA 0x17c34 - // Code size 105 (0x69) - .maxstack 3 - IL_0000: nop - IL_0001: ldtoken NAnt.Core.Tasks.MailTask/MailFormat - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: box NAnt.Core.Tasks.MailTask/MailFormat - IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0016: brtrue IL_0037 - - IL_001b: nop - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: ldstr "An invalid format {0} was specified." - IL_0026: ldarg.1 - IL_0027: box NAnt.Core.Tasks.MailTask/MailFormat - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0036: throw - IL_0037: nop - IL_0038: ldarga.s 1 - IL_003a: ldc.i4.1 - IL_003b: box NAnt.Core.Tasks.MailTask/MailFormat - IL_0040: constrained. NAnt.Core.Tasks.MailTask/MailFormat - IL_0046: callvirt instance bool object::Equals(object) - IL_004b: brfalse IL_005e - - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: ldc.i4.1 - IL_0053: call instance void class NAnt.Core.Tasks.MailTask::set_IsBodyHtml(bool) - IL_0058: nop - IL_0059: br IL_0067 - - IL_005e: nop - IL_005f: ldarg.0 - IL_0060: ldc.i4.0 - IL_0061: call instance void class NAnt.Core.Tasks.MailTask::set_IsBodyHtml(bool) - IL_0066: nop - IL_0067: nop - IL_0068: ret - } // end of method MailTask::set_Format - - // method line 1400 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Files () cil managed - { - // Method begins at RVA 0x17cac - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_files + IL_0002: ldfld class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::_filters IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_Files - - // method line 1401 - .method public hidebysig specialname - instance default void set_Files (class NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x17cc7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_files - IL_0008: ret - } // end of method MailTask::set_Files + } // end of method FilterChain::get_Filters - // method line 1402 + // method line 1308 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Attachments () cil managed + instance default class [mscorlib]System.Text.Encoding get_InputEncoding () cil managed { - // Method begins at RVA 0x17cd4 + // Method begins at RVA 0x17ab4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_attachments + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::_inputEncoding IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MailTask::get_Attachments + } // end of method FilterChain::get_InputEncoding - // method line 1403 + // method line 1309 .method public hidebysig specialname - instance default void set_Attachments (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0x17cef + // Method begins at RVA 0x17acf // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_attachments + IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::_inputEncoding IL_0008: ret - } // end of method MailTask::set_Attachments + } // end of method FilterChain::set_InputEncoding - // method line 1404 + // method line 1310 .method family virtual hidebysig - instance default void Initialize () cil managed + instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed { - // Method begins at RVA 0x17cfc - // Code size 68 (0x44) - .maxstack 2 + // Method begins at RVA 0x17adc + // Code size 25 (0x19) + .maxstack 4 + .locals init ( + class NAnt.Core.Filters.FilterChain/FilterChainConfigurator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.Tasks.MailTask::get_ToList() - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: brfalse IL_0043 - - IL_0011: ldarg.0 - IL_0012: call instance string class NAnt.Core.Tasks.MailTask::get_CcList() - IL_0017: call bool string::IsNullOrEmpty(string) - IL_001c: brfalse IL_0043 - - IL_0021: ldarg.0 - IL_0022: call instance string class NAnt.Core.Tasks.MailTask::get_BccList() - IL_0027: call bool string::IsNullOrEmpty(string) - IL_002c: brfalse IL_0043 - - IL_0031: nop - IL_0032: ldstr "There must be at least one name in the \"tolist\", \"cclist\" or \"bcclist\" attributes of the task." - IL_0037: ldarg.0 - IL_0038: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_003d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0042: throw - IL_0043: ret - } // end of method MailTask::Initialize + IL_0002: ldarg.1 + IL_0003: callvirt instance void class NAnt.Core.Element::set_XmlNode(class [System.Xml]System.Xml.XmlNode) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: ldarg.3 + IL_000c: newobj instance void class NAnt.Core.Filters.FilterChain/FilterChainConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() + IL_0018: ret + } // end of method FilterChain::InitializeXml - // method line 1405 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1311 + .method assembly hidebysig + instance default class NAnt.Core.Filters.Filter GetBaseFilter (class NAnt.Core.Filters.PhysicalTextReader physicalTextReader) cil managed { - // Method begins at RVA 0x17d4c - // Code size 1509 (0x5e5) - .maxstack 7 + // Method begins at RVA 0x17b04 + // Code size 164 (0xa4) + .maxstack 2 .locals init ( - class [System]System.Net.Mail.MailMessage V_0, - class [System]System.Net.Mail.MailAddressCollection V_1, - class [System]System.Net.Mail.MailAddressCollection V_2, - class [System]System.Net.Mail.MailAddressCollection V_3, - class [System]System.Net.Mail.MailAddress V_4, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_5, - class [System]System.Net.Mail.MailAddress V_6, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_7, - class [System]System.Net.Mail.MailAddress V_8, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_9, - class [System]System.Net.Mail.MailAddressCollection V_10, - class [System]System.Net.Mail.MailAddress V_11, - class [mscorlib]System.Collections.Generic.IEnumerator`1 V_12, - class [mscorlib]System.IO.StringWriter V_13, - string V_14, - class [System]System.Collections.Specialized.StringEnumerator V_15, - string V_16, - class [mscorlib]System.Exception V_17, - class [mscorlib]System.IDisposable V_18, - string V_19, - string V_20, - class [System]System.Collections.Specialized.StringEnumerator V_21, - class [System]System.Net.Mail.Attachment V_22, - class [mscorlib]System.Exception V_23, - class [mscorlib]System.IDisposable V_24, - class [System]System.Net.Mail.SmtpClient V_25, - class [mscorlib]System.Exception V_26, - class [mscorlib]System.Text.StringBuilder V_27, - int32 V_28, - bool V_29) + class NAnt.Core.Filters.Filter V_0, + class NAnt.Core.Filters.Filter V_1, + class NAnt.Core.Filters.Filter V_2, + class NAnt.Core.Filters.FilterEnumerator V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop - IL_0001: newobj instance void class [System]System.Net.Mail.MailMessage::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldarg.0 - IL_0009: call instance string class NAnt.Core.Tasks.MailTask::get_ToList() - IL_000e: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) - IL_0013: stloc.1 - IL_0014: ldarg.0 - IL_0015: ldarg.0 - IL_0016: call instance string class NAnt.Core.Tasks.MailTask::get_CcList() - IL_001b: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) - IL_0020: stloc.2 - IL_0021: ldarg.0 - IL_0022: ldarg.0 - IL_0023: call instance string class NAnt.Core.Tasks.MailTask::get_BccList() - IL_0028: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) - IL_002d: stloc.3 - IL_002e: nop - IL_002f: ldloc.1 - IL_0030: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() - IL_0035: stloc.s 5 + IL_0001: ldarg.1 + IL_0002: brtrue IL_000f + + IL_0007: nop + IL_0008: ldnull + IL_0009: stloc.0 + IL_000a: br IL_00a2 + + IL_000f: ldarg.1 + IL_0010: callvirt instance bool class NAnt.Core.Filters.ChainableReader::get_Base() + IL_0015: brtrue IL_0031 + + IL_001a: nop + IL_001b: ldstr "String_UseBaseFilter" + IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0025: ldarg.0 + IL_0026: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_002b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0030: throw + IL_0031: ldarg.1 + IL_0032: stloc.1 + IL_0033: nop + IL_0034: ldarg.0 + IL_0035: call instance class NAnt.Core.Filters.FilterCollection class NAnt.Core.Filters.FilterChain::get_Filters() + IL_003a: callvirt instance class NAnt.Core.Filters.FilterEnumerator class NAnt.Core.Filters.FilterCollection::GetEnumerator() + IL_003f: stloc.3 .try { // 0 - IL_0037: br IL_0054 + IL_0040: br IL_0075 - IL_003c: ldloc.s 5 - IL_003e: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0043: stloc.s 4 - IL_0045: nop - IL_0046: ldloc.0 - IL_0047: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_To() - IL_004c: ldloc.s 4 - IL_004e: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0053: nop - IL_0054: ldloc.s 5 - IL_0056: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_005b: brtrue IL_003c + IL_0045: ldloc.3 + IL_0046: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterEnumerator::get_Current() + IL_004b: stloc.2 + IL_004c: nop + IL_004d: ldloc.2 + IL_004e: callvirt instance bool class NAnt.Core.Filters.Filter::get_IfDefined() + IL_0053: brfalse IL_0074 - IL_0060: leave IL_0074 + IL_0058: ldloc.2 + IL_0059: callvirt instance bool class NAnt.Core.Filters.Filter::get_UnlessDefined() + IL_005e: brtrue IL_0074 + + IL_0063: nop + IL_0064: ldloc.2 + IL_0065: ldloc.1 + IL_0066: callvirt instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) + IL_006b: ldloc.2 + IL_006c: callvirt instance void class NAnt.Core.Filters.Filter::InitializeFilter() + IL_0071: ldloc.2 + IL_0072: stloc.1 + IL_0073: nop + IL_0074: nop + IL_0075: ldloc.3 + IL_0076: callvirt instance bool class NAnt.Core.Filters.FilterEnumerator::MoveNext() + IL_007b: brtrue IL_0045 + + IL_0080: leave IL_009b } // end .try 0 finally { // 0 - IL_0065: ldloc.s 5 - IL_0067: brfalse IL_0073 + IL_0085: ldloc.3 + IL_0086: isinst [mscorlib]System.IDisposable + IL_008b: dup + IL_008c: stloc.s 4 + IL_008e: brfalse IL_009a - IL_006c: ldloc.s 5 - IL_006e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0073: endfinally + IL_0093: ldloc.s 4 + IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009a: endfinally } // end handler 0 - IL_0074: nop - IL_0075: ldloc.2 - IL_0076: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() - IL_007b: stloc.s 7 - .try { // 1 - IL_007d: br IL_009a + IL_009b: ldloc.1 + IL_009c: stloc.0 + IL_009d: br IL_00a2 - IL_0082: ldloc.s 7 - IL_0084: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0089: stloc.s 6 - IL_008b: nop - IL_008c: ldloc.0 - IL_008d: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_CC() - IL_0092: ldloc.s 6 - IL_0094: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0099: nop - IL_009a: ldloc.s 7 - IL_009c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00a1: brtrue IL_0082 + IL_00a2: ldloc.0 + IL_00a3: ret + } // end of method FilterChain::GetBaseFilter - IL_00a6: leave IL_00ba + // method line 1312 + .method assembly static hidebysig + default bool IsNullOrEmpty (class NAnt.Core.Filters.FilterChain filterChain) cil managed + { + // Method begins at RVA 0x17bc4 + // Code size 41 (0x29) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_000f - } // end .try 1 - finally { // 1 - IL_00ab: ldloc.s 7 - IL_00ad: brfalse IL_00b9 + IL_0007: nop + IL_0008: ldc.i4.1 + IL_0009: stloc.0 + IL_000a: br IL_0027 - IL_00b2: ldloc.s 7 - IL_00b4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00b9: endfinally - } // end handler 1 - IL_00ba: nop - IL_00bb: ldloc.3 - IL_00bc: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() - IL_00c1: stloc.s 9 - .try { // 2 - IL_00c3: br IL_00e0 + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: callvirt instance class NAnt.Core.Filters.FilterCollection class NAnt.Core.Filters.FilterChain::get_Filters() + IL_0016: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_001b: ldc.i4.0 + IL_001c: cgt + IL_001e: ldc.i4.0 + IL_001f: ceq + IL_0021: stloc.0 + IL_0022: br IL_0027 - IL_00c8: ldloc.s 9 - IL_00ca: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_00cf: stloc.s 8 - IL_00d1: nop - IL_00d2: ldloc.0 - IL_00d3: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_Bcc() - IL_00d8: ldloc.s 8 - IL_00da: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_00df: nop - IL_00e0: ldloc.s 9 - IL_00e2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00e7: brtrue IL_00c8 + IL_0027: ldloc.0 + IL_0028: ret + } // end of method FilterChain::IsNullOrEmpty - IL_00ec: leave IL_0100 + .property instance class NAnt.Core.Filters.FilterCollection Filters () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 06 66 69 6C 74 65 72 01 00 54 50 0B 45 6C // ...filter..TP.El + 65 6D 65 6E 74 54 79 70 65 18 4E 41 6E 74 2E 43 // ementType.NAnt.C + 6F 72 65 2E 46 69 6C 74 65 72 73 2E 46 69 6C 74 // ore.Filters.Filt + 65 72 ) // er - } // end .try 2 - finally { // 2 - IL_00f1: ldloc.s 9 - IL_00f3: brfalse IL_00ff + .get instance default class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::get_Filters () + } + .property instance class [mscorlib]System.Text.Encoding InputEncoding () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. - IL_00f8: ldloc.s 9 - IL_00fa: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00ff: endfinally - } // end handler 2 - IL_0100: ldarg.0 - IL_0101: call instance string class NAnt.Core.Tasks.MailTask::get_ReplyTo() - IL_0106: call bool string::IsNullOrEmpty(string) - IL_010b: brtrue IL_0176 + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 37 54 68 65 20 69 6E 70 75 74 20 65 6E 63 // ..7The input enc + 6F 64 69 6E 67 20 73 68 6F 75 6C 64 20 6E 6F 77 // oding should now + 20 62 65 20 73 70 65 63 69 66 69 65 64 20 6F 6E // be specified on + 20 74 68 65 20 74 61 73 6B 2E 01 00 00 ) // the task.... - IL_0110: nop - IL_0111: ldarg.0 - IL_0112: ldarg.0 - IL_0113: call instance string class NAnt.Core.Tasks.MailTask::get_ReplyTo() - IL_0118: call instance class [System]System.Net.Mail.MailAddressCollection class NAnt.Core.Tasks.MailTask::ParseAddresses(string) - IL_011d: stloc.s 10 - IL_011f: ldloc.s 10 - IL_0121: callvirt instance int32 class [mscorlib]System.Collections.ObjectModel.Collection`1::get_Count() - IL_0126: ldc.i4.0 - IL_0127: ble IL_0175 + .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::get_InputEncoding () + .set instance default void NAnt.Core.Filters.FilterChain::set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') + } + .class nested public auto ansi beforefieldinit FilterChainConfigurator + extends NAnt.Core.Element/AttributeConfigurator + { - IL_012c: nop - IL_012d: nop - IL_012e: ldloc.s 10 - IL_0130: callvirt instance class [mscorlib]System.Collections.Generic.IEnumerator`1 class [mscorlib]System.Collections.ObjectModel.Collection`1::GetEnumerator() - IL_0135: stloc.s 12 - .try { // 3 - IL_0137: br IL_0154 + // method line 1313 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Element element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed + { + // Method begins at RVA 0x17bf9 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: call instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_000b: nop + IL_000c: ret + } // end of method FilterChainConfigurator::.ctor - IL_013c: ldloc.s 12 - IL_013e: callvirt instance !0 class [mscorlib]System.Collections.Generic.IEnumerator`1::get_Current() - IL_0143: stloc.s 11 - IL_0145: nop - IL_0146: ldloc.0 - IL_0147: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_ReplyToList() - IL_014c: ldloc.s 11 - IL_014e: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0153: nop - IL_0154: ldloc.s 12 - IL_0156: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_015b: brtrue IL_013c + // method line 1314 + .method family virtual hidebysig + instance default bool InitializeBuildElementCollection (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x17c08 + // Code size 732 (0x2dc) + .maxstack 8 + .locals init ( + class [mscorlib]System.Type V_0, + class NAnt.Core.Attributes.BuildElementArrayAttribute V_1, + bool V_2, + class [System.Xml]System.Xml.XmlNodeList V_3, + class [mscorlib]System.Collections.ArrayList V_4, + class [System.Xml]System.Xml.XmlNode V_5, + class [mscorlib]System.Collections.IEnumerator V_6, + class NAnt.Core.Filters.Filter V_7, + class [mscorlib]System.IDisposable V_8, + class [mscorlib]System.Reflection.MethodInfo V_9, + class [mscorlib]System.Reflection.MethodInfo[] V_10, + class [mscorlib]System.Reflection.MethodInfo V_11, + class [mscorlib]System.Reflection.MethodInfo[] V_12, + int32 V_13, + class [mscorlib]System.Reflection.ParameterInfo V_14, + object V_15, + object V_16, + object V_17, + class [mscorlib]System.Collections.IEnumerator V_18, + class [mscorlib]System.IDisposable V_19) + IL_0000: nop + IL_0001: ldtoken NAnt.Core.Filters.Filter + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: stloc.0 + IL_000c: ldarg.1 + IL_000d: ldtoken NAnt.Core.Attributes.BuildElementArrayAttribute + IL_0012: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0017: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_001c: castclass NAnt.Core.Attributes.BuildElementArrayAttribute + IL_0021: stloc.1 + IL_0022: ldloc.1 + IL_0023: brfalse IL_0042 - IL_0160: leave IL_0174 + IL_0028: ldarg.1 + IL_0029: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_002e: ldtoken NAnt.Core.Filters.FilterCollection + IL_0033: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0038: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_003d: brfalse IL_0050 - } // end .try 3 - finally { // 3 - IL_0165: ldloc.s 12 - IL_0167: brfalse IL_0173 + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: ldarg.1 + IL_0045: call instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElementCollection(class [mscorlib]System.Reflection.PropertyInfo) + IL_004a: stloc.2 + IL_004b: br IL_02da - IL_016c: ldloc.s 12 - IL_016e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0173: endfinally - } // end handler 3 - IL_0174: nop - IL_0175: nop - IL_0176: ldloc.0 - IL_0177: ldarg.0 - IL_0178: ldarg.0 - IL_0179: call instance string class NAnt.Core.Tasks.MailTask::get_From() - IL_017e: call instance class [System]System.Net.Mail.MailAddress class NAnt.Core.Tasks.MailTask::ConvertStringToMailAddress(string) - IL_0183: callvirt instance void class [System]System.Net.Mail.MailMessage::set_From(class [System]System.Net.Mail.MailAddress) - IL_0188: ldloc.0 - IL_0189: ldarg.0 - IL_018a: call instance string class NAnt.Core.Tasks.MailTask::get_Subject() - IL_018f: callvirt instance void class [System]System.Net.Mail.MailMessage::set_Subject(string) - IL_0194: ldloc.0 - IL_0195: ldarg.0 - IL_0196: call instance bool class NAnt.Core.Tasks.MailTask::get_IsBodyHtml() - IL_019b: callvirt instance void class [System]System.Net.Mail.MailMessage::set_IsBodyHtml(bool) - IL_01a0: ldarg.0 - IL_01a1: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Files() - IL_01a6: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_01ab: brtrue IL_01cd + IL_0050: ldarg.0 + IL_0051: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0056: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() + IL_005b: stloc.3 + IL_005c: ldloc.3 + IL_005d: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0062: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0067: stloc.s 4 + IL_0069: nop + IL_006a: ldloc.3 + IL_006b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0070: stloc.s 6 + .try { // 0 + IL_0072: br IL_00e6 - IL_01b0: nop - IL_01b1: ldarg.0 - IL_01b2: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Files() - IL_01b7: ldarg.0 - IL_01b8: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01bd: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_01c2: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_01c7: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_01cc: nop - IL_01cd: ldarg.0 - IL_01ce: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Attachments() - IL_01d3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_01d8: brtrue IL_01fa + IL_0077: ldloc.s 6 + IL_0079: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_007e: castclass [System.Xml]System.Xml.XmlNode + IL_0083: stloc.s 5 + IL_0085: nop + IL_0086: ldloc.s 5 + IL_0088: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_008d: ldc.i4.1 + IL_008e: bne.un IL_00b4 - IL_01dd: nop - IL_01de: ldarg.0 - IL_01df: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Attachments() - IL_01e4: ldarg.0 - IL_01e5: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01ea: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_01ef: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_01f4: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_01f9: nop - IL_01fa: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01ff: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'(class [mscorlib]System.IFormatProvider) - IL_0204: stloc.s 13 - IL_0206: ldarg.0 - IL_0207: call instance string class NAnt.Core.Tasks.MailTask::get_Message() - IL_020c: call bool string::IsNullOrEmpty(string) - IL_0211: brtrue IL_022c + IL_0093: ldloc.s 5 + IL_0095: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_009a: ldarg.0 + IL_009b: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_00a0: ldstr "nant" + IL_00a5: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_00aa: callvirt instance bool string::Equals(string) + IL_00af: brtrue IL_00ba - IL_0216: nop - IL_0217: ldloc.s 13 - IL_0219: ldarg.0 - IL_021a: call instance string class NAnt.Core.Tasks.MailTask::get_Message() - IL_021f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0224: ldloc.s 13 - IL_0226: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_022b: nop - IL_022c: nop - IL_022d: ldarg.0 - IL_022e: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Files() - IL_0233: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0238: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_023d: stloc.s 15 - .try { // 5 - IL_023f: br IL_02b4 + IL_00b4: nop + IL_00b5: leave IL_00e6 - IL_0244: ldloc.s 15 - IL_0246: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_024b: stloc.s 14 - IL_024d: nop - .try { // 4 - IL_024e: nop - IL_024f: ldarg.0 - IL_0250: ldloc.s 14 - IL_0252: call instance string class NAnt.Core.Tasks.MailTask::ReadFile(string) - IL_0257: stloc.s 16 - IL_0259: ldloc.s 16 - IL_025b: call bool string::IsNullOrEmpty(string) - IL_0260: brtrue IL_027c + IL_00ba: ldarg.0 + IL_00bb: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_00c0: ldloc.s 5 + IL_00c2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00c7: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) + IL_00cc: ldloc.s 5 + IL_00ce: ldarg.0 + IL_00cf: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_00d4: call class NAnt.Core.Filters.Filter class NAnt.Core.TypeFactory::CreateFilter(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element) + IL_00d9: stloc.s 7 + IL_00db: ldloc.s 4 + IL_00dd: ldloc.s 7 + IL_00df: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00e4: pop + IL_00e5: nop + IL_00e6: ldloc.s 6 + IL_00e8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00ed: brtrue IL_0077 - IL_0265: nop - IL_0266: ldloc.s 13 - IL_0268: ldloc.s 16 - IL_026a: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_026f: ldloc.s 13 - IL_0271: ldsfld string [mscorlib]System.String::Empty - IL_0276: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_027b: nop - IL_027c: nop - IL_027d: leave IL_02b3 + IL_00f2: leave IL_010e - } // end .try 4 - catch class [mscorlib]System.Exception { // 4 - IL_0282: stloc.s 17 - IL_0284: nop - IL_0285: ldarg.0 - IL_0286: ldc.i4 4000 - IL_028b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0290: ldstr "NA1135" - IL_0295: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_029a: ldloc.s 14 - IL_029c: ldloc.s 17 - IL_029e: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_02a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_02a8: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_02ad: nop - IL_02ae: leave IL_02b3 + } // end .try 0 + finally { // 0 + IL_00f7: ldloc.s 6 + IL_00f9: isinst [mscorlib]System.IDisposable + IL_00fe: dup + IL_00ff: stloc.s 8 + IL_0101: brfalse IL_010d - } // end handler 4 - IL_02b3: nop - IL_02b4: ldloc.s 15 - IL_02b6: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_02bb: brtrue IL_0244 + IL_0106: ldloc.s 8 + IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_010d: endfinally + } // end handler 0 + IL_010e: ldnull + IL_010f: stloc.s 9 + IL_0111: ldarg.1 + IL_0112: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0117: ldc.i4.s 0x14 + IL_0119: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_011e: stloc.s 10 + IL_0120: nop + IL_0121: ldloc.s 10 + IL_0123: stloc.s 12 + IL_0125: ldc.i4.0 + IL_0126: stloc.s 13 + IL_0128: br IL_018a - IL_02c0: leave IL_02dc + IL_012d: ldloc.s 12 + IL_012f: ldloc.s 13 + IL_0131: ldelem.ref + IL_0132: stloc.s 11 + IL_0134: nop + IL_0135: ldloc.s 11 + IL_0137: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_013c: ldstr "Add" + IL_0141: call bool string::op_Equality(string, string) + IL_0146: brfalse IL_0183 - } // end .try 5 - finally { // 5 - IL_02c5: ldloc.s 15 - IL_02c7: isinst [mscorlib]System.IDisposable - IL_02cc: dup - IL_02cd: stloc.s 18 - IL_02cf: brfalse IL_02db + IL_014b: ldloc.s 11 + IL_014d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0152: ldlen + IL_0153: conv.i4 + IL_0154: ldc.i4.1 + IL_0155: bne.un IL_0183 - IL_02d4: ldloc.s 18 - IL_02d6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02db: endfinally - } // end handler 5 - IL_02dc: ldloc.s 13 - IL_02de: callvirt instance string object::ToString() - IL_02e3: stloc.s 19 - IL_02e5: ldloc.s 19 - IL_02e7: callvirt instance int32 string::get_Length() - IL_02ec: brfalse IL_02fb + IL_015a: nop + IL_015b: ldloc.s 11 + IL_015d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0162: ldc.i4.0 + IL_0163: ldelem.ref + IL_0164: stloc.s 14 + IL_0166: ldloc.s 14 + IL_0168: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_016d: ldloc.0 + IL_016e: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0173: brfalse IL_0182 - IL_02f1: nop - IL_02f2: ldloc.0 - IL_02f3: ldloc.s 19 - IL_02f5: callvirt instance void class [System]System.Net.Mail.MailMessage::set_Body(string) - IL_02fa: nop - IL_02fb: nop - IL_02fc: ldarg.0 - IL_02fd: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.MailTask::get_Attachments() - IL_0302: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0307: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_030c: stloc.s 21 - .try { // 7 - IL_030e: br IL_036c + IL_0178: nop + IL_0179: ldloc.s 11 + IL_017b: stloc.s 9 + IL_017d: br IL_0195 - IL_0313: ldloc.s 21 - IL_0315: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_031a: stloc.s 20 - IL_031c: nop - .try { // 6 - IL_031d: nop - IL_031e: ldloc.s 20 - IL_0320: newobj instance void class [System]System.Net.Mail.Attachment::'.ctor'(string) - IL_0325: stloc.s 22 - IL_0327: ldloc.0 - IL_0328: callvirt instance class [System]System.Net.Mail.AttachmentCollection class [System]System.Net.Mail.MailMessage::get_Attachments() - IL_032d: ldloc.s 22 - IL_032f: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0334: nop - IL_0335: leave IL_036b + IL_0182: nop + IL_0183: nop + IL_0184: ldloc.s 13 + IL_0186: ldc.i4.1 + IL_0187: add + IL_0188: stloc.s 13 + IL_018a: ldloc.s 13 + IL_018c: ldloc.s 12 + IL_018e: ldlen + IL_018f: conv.i4 + IL_0190: blt IL_012d - } // end .try 6 - catch class [mscorlib]System.Exception { // 6 - IL_033a: stloc.s 23 - IL_033c: nop - IL_033d: ldarg.0 - IL_033e: ldc.i4 4000 - IL_0343: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0348: ldstr "NA1136" - IL_034d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0352: ldloc.s 20 - IL_0354: ldloc.s 23 - IL_0356: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_035b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0360: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0365: nop - IL_0366: leave IL_036b + IL_0195: ldloc.s 9 + IL_0197: ldnull + IL_0198: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_019d: brfalse IL_01f2 - } // end handler 6 - IL_036b: nop - IL_036c: ldloc.s 21 - IL_036e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0373: brtrue IL_0313 + IL_01a2: nop + IL_01a3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01a8: ldstr "NA1020" + IL_01ad: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01b2: ldc.i4.4 + IL_01b3: newarr [mscorlib]System.Object + IL_01b8: dup + IL_01b9: ldc.i4.0 + IL_01ba: ldloc.0 + IL_01bb: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01c0: stelem.ref + IL_01c1: dup + IL_01c2: ldc.i4.1 + IL_01c3: ldarg.1 + IL_01c4: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_01c9: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01ce: stelem.ref + IL_01cf: dup + IL_01d0: ldc.i4.2 + IL_01d1: ldarg.1 + IL_01d2: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_01d7: stelem.ref + IL_01d8: dup + IL_01d9: ldc.i4.3 + IL_01da: ldarg.0 + IL_01db: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_01e0: stelem.ref + IL_01e1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_01e6: ldarg.0 + IL_01e7: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_01ec: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_01f1: throw + IL_01f2: ldarg.1 + IL_01f3: ldarg.0 + IL_01f4: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_01f9: ldc.i4.0 + IL_01fa: ldnull + IL_01fb: ldnull + IL_01fc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0201: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0206: stloc.s 15 + IL_0208: ldloc.s 15 + IL_020a: brtrue IL_0275 - IL_0378: leave IL_0394 + IL_020f: nop + IL_0210: ldarg.1 + IL_0211: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0216: brtrue IL_0248 - } // end .try 7 - finally { // 7 - IL_037d: ldloc.s 21 - IL_037f: isinst [mscorlib]System.IDisposable - IL_0384: dup - IL_0385: stloc.s 24 - IL_0387: brfalse IL_0393 + IL_021b: nop + IL_021c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0221: ldstr "NA1093" + IL_0226: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_022b: ldloc.1 + IL_022c: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0231: ldarg.0 + IL_0232: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_0237: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_023c: ldarg.0 + IL_023d: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0242: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0247: throw + IL_0248: ldarg.1 + IL_0249: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_024e: ldc.i4.s 0x14 + IL_0250: ldnull + IL_0251: ldnull + IL_0252: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0257: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_025c: stloc.s 16 + IL_025e: ldarg.1 + IL_025f: ldarg.0 + IL_0260: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0265: ldloc.s 16 + IL_0267: ldc.i4.0 + IL_0268: ldnull + IL_0269: ldnull + IL_026a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_026f: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0274: nop + IL_0275: nop + IL_0276: ldloc.s 4 + IL_0278: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_027d: stloc.s 18 + .try { // 1 + IL_027f: br IL_02ab - IL_038c: ldloc.s 24 - IL_038e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0393: endfinally - } // end handler 7 - IL_0394: ldarg.0 - IL_0395: ldc.i4 3000 - IL_039a: ldstr "Sending mail..." - IL_039f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_03a4: ldarg.0 - IL_03a5: ldc.i4 2000 - IL_03aa: ldstr "To: {0}" - IL_03af: ldc.i4.1 - IL_03b0: newarr [mscorlib]System.Object - IL_03b5: dup - IL_03b6: ldc.i4.0 - IL_03b7: ldloc.0 - IL_03b8: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_To() - IL_03bd: stelem.ref - IL_03be: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_03c3: ldarg.0 - IL_03c4: ldc.i4 2000 - IL_03c9: ldstr "Cc: {0}" - IL_03ce: ldc.i4.1 - IL_03cf: newarr [mscorlib]System.Object - IL_03d4: dup - IL_03d5: ldc.i4.0 - IL_03d6: ldloc.0 - IL_03d7: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_CC() - IL_03dc: stelem.ref - IL_03dd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_03e2: ldarg.0 - IL_03e3: ldc.i4 2000 - IL_03e8: ldstr "Bcc: {0}" - IL_03ed: ldc.i4.1 - IL_03ee: newarr [mscorlib]System.Object - IL_03f3: dup - IL_03f4: ldc.i4.0 - IL_03f5: ldloc.0 - IL_03f6: callvirt instance class [System]System.Net.Mail.MailAddressCollection class [System]System.Net.Mail.MailMessage::get_Bcc() - IL_03fb: stelem.ref - IL_03fc: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0401: ldarg.0 - IL_0402: ldc.i4 2000 - IL_0407: ldstr "Subject: {0}" - IL_040c: ldc.i4.1 - IL_040d: newarr [mscorlib]System.Object - IL_0412: dup - IL_0413: ldc.i4.0 - IL_0414: ldloc.0 - IL_0415: callvirt instance string class [System]System.Net.Mail.MailMessage::get_Subject() - IL_041a: stelem.ref - IL_041b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0420: ldarg.0 - IL_0421: call instance string class NAnt.Core.Tasks.MailTask::get_Mailhost() - IL_0426: newobj instance void class [System]System.Net.Mail.SmtpClient::'.ctor'(string) - IL_042b: stloc.s 25 - .try { // 9 - IL_042d: nop - .try { // 8 - IL_042e: nop - IL_042f: ldarg.0 - IL_0430: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() - IL_0435: call bool string::IsNullOrEmpty(string) - IL_043a: brtrue IL_046e + IL_0284: ldloc.s 18 + IL_0286: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_028b: stloc.s 17 + IL_028d: nop + IL_028e: ldloc.s 9 + IL_0290: ldloc.s 15 + IL_0292: ldc.i4.0 + IL_0293: ldnull + IL_0294: ldc.i4.1 + IL_0295: newarr [mscorlib]System.Object + IL_029a: dup + IL_029b: ldc.i4.0 + IL_029c: ldloc.s 17 + IL_029e: stelem.ref + IL_029f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02a4: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_02a9: pop + IL_02aa: nop + IL_02ab: ldloc.s 18 + IL_02ad: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02b2: brtrue IL_0284 - IL_043f: ldarg.0 - IL_0440: call instance string class NAnt.Core.Tasks.MailTask::get_Password() - IL_0445: call bool string::IsNullOrEmpty(string) - IL_044a: brtrue IL_046e + IL_02b7: leave IL_02d3 - IL_044f: nop - IL_0450: ldloc.s 25 - IL_0452: ldarg.0 - IL_0453: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() - IL_0458: ldarg.0 - IL_0459: call instance string class NAnt.Core.Tasks.MailTask::get_Password() - IL_045e: newobj instance void class [System]System.Net.NetworkCredential::'.ctor'(string, string) - IL_0463: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_Credentials(class [System]System.Net.ICredentialsByHost) - IL_0468: nop - IL_0469: br IL_0497 + } // end .try 1 + finally { // 1 + IL_02bc: ldloc.s 18 + IL_02be: isinst [mscorlib]System.IDisposable + IL_02c3: dup + IL_02c4: stloc.s 19 + IL_02c6: brfalse IL_02d2 - IL_046e: nop - IL_046f: ldsfld bool NAnt.Core.PlatformHelper::IsMono - IL_0474: brfalse IL_048c + IL_02cb: ldloc.s 19 + IL_02cd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02d2: endfinally + } // end handler 1 + IL_02d3: ldc.i4.1 + IL_02d4: stloc.2 + IL_02d5: br IL_02da - IL_0479: nop - IL_047a: ldloc.s 25 - IL_047c: newobj instance void class [System]System.Net.NetworkCredential::'.ctor'() - IL_0481: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_Credentials(class [System]System.Net.ICredentialsByHost) - IL_0486: nop - IL_0487: br IL_0496 - - IL_048c: nop - IL_048d: ldloc.s 25 - IL_048f: ldc.i4.1 - IL_0490: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_UseDefaultCredentials(bool) - IL_0495: nop - IL_0496: nop - IL_0497: ldloc.s 25 - IL_0499: ldarg.0 - IL_049a: call instance bool class NAnt.Core.Tasks.MailTask::get_EnableSsl() - IL_049f: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_EnableSsl(bool) - IL_04a4: ldloc.s 25 - IL_04a6: ldarg.0 - IL_04a7: call instance int32 class NAnt.Core.Tasks.MailTask::get_Port() - IL_04ac: callvirt instance void class [System]System.Net.Mail.SmtpClient::set_Port(int32) - IL_04b1: ldloc.s 25 - IL_04b3: ldloc.0 - IL_04b4: callvirt instance void class [System]System.Net.Mail.SmtpClient::Send(class [System]System.Net.Mail.MailMessage) - IL_04b9: nop - IL_04ba: leave IL_05cf - - } // end .try 8 - catch class [mscorlib]System.Exception { // 8 - IL_04bf: stloc.s 26 - IL_04c1: nop - IL_04c2: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_04c7: stloc.s 27 - IL_04c9: ldloc.s 27 - IL_04cb: ldstr "Error enountered while sending mail message." - IL_04d0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_04d5: pop - IL_04d6: ldloc.s 27 - IL_04d8: ldstr "Make sure that the following information is valid:" - IL_04dd: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_04e2: pop - IL_04e3: ldloc.s 27 - IL_04e5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_04ea: ldstr "Mailhost: {0}" - IL_04ef: ldarg.0 - IL_04f0: call instance string class NAnt.Core.Tasks.MailTask::get_Mailhost() - IL_04f5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_04fa: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() - IL_04ff: pop - IL_0500: ldloc.s 27 - IL_0502: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0507: ldstr "Mailport: {0}" - IL_050c: ldarg.0 - IL_050d: call instance int32 class NAnt.Core.Tasks.MailTask::get_Port() - IL_0512: stloc.s 28 - IL_0514: ldloca.s 28 - IL_0516: constrained. [mscorlib]System.Int32 - IL_051c: callvirt instance string object::ToString() - IL_0521: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_0526: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() - IL_052b: pop - IL_052c: ldloc.s 27 - IL_052e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0533: ldstr "Use SSL: {0}" - IL_0538: ldarg.0 - IL_0539: call instance bool class NAnt.Core.Tasks.MailTask::get_EnableSsl() - IL_053e: stloc.s 29 - IL_0540: ldloca.s 29 - IL_0542: constrained. [mscorlib]System.Boolean - IL_0548: callvirt instance string object::ToString() - IL_054d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_0552: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() - IL_0557: pop - IL_0558: ldarg.0 - IL_0559: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() - IL_055e: call bool string::IsNullOrEmpty(string) - IL_0563: brtrue IL_059c - - IL_0568: ldarg.0 - IL_0569: call instance string class NAnt.Core.Tasks.MailTask::get_Password() - IL_056e: call bool string::IsNullOrEmpty(string) - IL_0573: brtrue IL_059c + IL_02da: ldloc.2 + IL_02db: ret + } // end of method FilterChainConfigurator::InitializeBuildElementCollection - IL_0578: nop - IL_0579: ldloc.s 27 - IL_057b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0580: ldstr "Username: {0}" - IL_0585: ldarg.0 - IL_0586: call instance string class NAnt.Core.Tasks.MailTask::get_UserName() - IL_058b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_0590: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine() - IL_0595: pop - IL_0596: nop - IL_0597: br IL_05ab + } // end of class FilterChainConfigurator - IL_059c: nop - IL_059d: ldloc.s 27 - IL_059f: ldstr "Using default credentials" - IL_05a4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendLine(string) - IL_05a9: pop - IL_05aa: nop - IL_05ab: ldstr "Error sending mail:" - IL_05b0: call string class [mscorlib]System.Environment::get_NewLine() - IL_05b5: ldloc.s 27 - IL_05b7: callvirt instance string object::ToString() - IL_05bc: call string string::Concat(string, string, string) - IL_05c1: ldarg.0 - IL_05c2: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_05c7: ldloc.s 26 - IL_05c9: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_05ce: throw - } // end handler 8 - IL_05cf: nop - IL_05d0: leave IL_05e4 + } // end of class NAnt.Core.Filters.FilterChain +} - } // end .try 9 - finally { // 9 - IL_05d5: ldloc.s 25 - IL_05d7: brfalse IL_05e3 +.namespace NAnt.Core.Filters +{ + .class public auto ansi abstract beforefieldinit ChainableReader + extends NAnt.Core.Element + implements [mscorlib]System.IDisposable { + .field private class NAnt.Core.Filters.ChainableReader/internalRead InternalRead + .field private class NAnt.Core.Filters.ChainableReader/internalPeek InternalPeek + .field private class NAnt.Core.Filters.ChainableReader/internalClose InternalClose + .field private bool _baseReader - IL_05dc: ldloc.s 25 - IL_05de: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_05e3: endfinally - } // end handler 9 - IL_05e4: ret - } // end of method MailTask::ExecuteTask + // method line 1315 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x17f0c + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method ChainableReader::.ctor - // method line 1406 - .method private hidebysig - instance default string ReadFile (string filename) cil managed + // method line 1316 + .method public hidebysig specialname + instance default bool get_Base () cil managed { - // Method begins at RVA 0x18434 - // Code size 49 (0x31) + // Method begins at RVA 0x17f14 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - string V_1, - string V_2) + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::OpenRead(string) - IL_0007: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_000c: stloc.0 - .try { // 0 - IL_000d: nop - IL_000e: ldloc.0 - IL_000f: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0014: stloc.1 - IL_0015: ldloc.0 - IL_0016: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_001b: ldloc.1 - IL_001c: stloc.2 - IL_001d: leave IL_002f - - } // end .try 0 - finally { // 0 - IL_0022: ldloc.0 - IL_0023: brfalse IL_002e + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Filters.ChainableReader::_baseReader + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0028: ldloc.0 - IL_0029: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_002e: endfinally - } // end handler 0 - IL_002f: ldloc.2 - IL_0030: ret - } // end of method MailTask::ReadFile + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ChainableReader::get_Base - // method line 1407 - .method private hidebysig - instance default class [System]System.Net.Mail.MailAddressCollection ParseAddresses (string addresses) cil managed + // method line 1317 + .method public virtual hidebysig newslot + instance default void Chain (class NAnt.Core.Filters.ChainableReader parentChainedReader) cil managed { - // Method begins at RVA 0x18484 - // Code size 147 (0x93) - .maxstack 5 - .locals init ( - class [System]System.Net.Mail.MailAddressCollection V_0, - string[] V_1, - string V_2, - string[] V_3, - int32 V_4, - class [System]System.Net.Mail.MailAddressCollection V_5) + // Method begins at RVA 0x17f30 + // Code size 89 (0x59) + .maxstack 3 IL_0000: nop - IL_0001: newobj instance void class [System]System.Net.Mail.MailAddressCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.1 - IL_0008: call bool string::IsNullOrEmpty(string) - IL_000d: brtrue IL_0088 - - IL_0012: nop - IL_0013: ldarg.1 - IL_0014: ldstr ";" - IL_0019: callvirt instance bool string::Contains(string) - IL_001e: brfalse IL_0078 - - IL_0023: nop - IL_0024: ldarg.1 - IL_0025: ldc.i4.1 - IL_0026: newarr [mscorlib]System.Char - IL_002b: dup - IL_002c: ldc.i4.0 - IL_002d: ldc.i4.s 0x3b - IL_002f: stelem.i2 - IL_0030: callvirt instance string[] string::Split(char[]) - IL_0035: stloc.1 - IL_0036: nop - IL_0037: ldloc.1 - IL_0038: stloc.3 - IL_0039: ldc.i4.0 - IL_003a: stloc.s 4 - IL_003c: br IL_0068 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0018 - IL_0041: ldloc.3 - IL_0042: ldloc.s 4 - IL_0044: ldelem.ref - IL_0045: stloc.2 - IL_0046: nop - IL_0047: ldloc.2 - IL_0048: call bool string::IsNullOrEmpty(string) - IL_004d: brtrue IL_0061 + IL_0007: nop + IL_0008: ldstr "parentChainedReader" + IL_000d: ldstr "Argument can not be null" + IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string, string) + IL_0017: throw + IL_0018: ldarg.0 + IL_0019: ldarg.1 + IL_001a: dup + IL_001b: ldvirtftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0021: newobj instance void class NAnt.Core.Filters.ChainableReader/internalRead::'.ctor'(object, native int) + IL_0026: stfld class NAnt.Core.Filters.ChainableReader/internalRead NAnt.Core.Filters.ChainableReader::InternalRead + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: dup + IL_002e: ldvirtftn instance int32 class NAnt.Core.Filters.ChainableReader::Peek() + IL_0034: newobj instance void class NAnt.Core.Filters.ChainableReader/internalPeek::'.ctor'(object, native int) + IL_0039: stfld class NAnt.Core.Filters.ChainableReader/internalPeek NAnt.Core.Filters.ChainableReader::InternalPeek + IL_003e: ldarg.0 + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: ldvirtftn instance void class NAnt.Core.Filters.ChainableReader::Close() + IL_0047: newobj instance void class NAnt.Core.Filters.ChainableReader/internalClose::'.ctor'(object, native int) + IL_004c: stfld class NAnt.Core.Filters.ChainableReader/internalClose NAnt.Core.Filters.ChainableReader::InternalClose + IL_0051: ldarg.0 + IL_0052: ldc.i4.0 + IL_0053: stfld bool NAnt.Core.Filters.ChainableReader::_baseReader + IL_0058: ret + } // end of method ChainableReader::Chain - IL_0052: nop - IL_0053: ldloc.0 - IL_0054: ldarg.0 - IL_0055: ldloc.2 - IL_0056: call instance class [System]System.Net.Mail.MailAddress class NAnt.Core.Tasks.MailTask::ConvertStringToMailAddress(string) - IL_005b: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0060: nop - IL_0061: nop - IL_0062: ldloc.s 4 - IL_0064: ldc.i4.1 - IL_0065: add - IL_0066: stloc.s 4 - IL_0068: ldloc.s 4 - IL_006a: ldloc.3 - IL_006b: ldlen - IL_006c: conv.i4 - IL_006d: blt IL_0041 + // method line 1318 + .method public virtual hidebysig newslot + instance default void Chain (class [mscorlib]System.IO.TextReader baseReader) cil managed + { + // Method begins at RVA 0x17f98 + // Code size 89 (0x59) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0018 - IL_0072: nop - IL_0073: br IL_0087 + IL_0007: nop + IL_0008: ldstr "baseReader" + IL_000d: ldstr "Argument can not be null" + IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string, string) + IL_0017: throw + IL_0018: ldarg.0 + IL_0019: ldarg.1 + IL_001a: dup + IL_001b: ldvirtftn instance int32 class [mscorlib]System.IO.TextReader::Read() + IL_0021: newobj instance void class NAnt.Core.Filters.ChainableReader/internalRead::'.ctor'(object, native int) + IL_0026: stfld class NAnt.Core.Filters.ChainableReader/internalRead NAnt.Core.Filters.ChainableReader::InternalRead + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: dup + IL_002e: ldvirtftn instance int32 class [mscorlib]System.IO.TextReader::Peek() + IL_0034: newobj instance void class NAnt.Core.Filters.ChainableReader/internalPeek::'.ctor'(object, native int) + IL_0039: stfld class NAnt.Core.Filters.ChainableReader/internalPeek NAnt.Core.Filters.ChainableReader::InternalPeek + IL_003e: ldarg.0 + IL_003f: ldarg.1 + IL_0040: dup + IL_0041: ldvirtftn instance void class [mscorlib]System.IO.TextReader::Close() + IL_0047: newobj instance void class NAnt.Core.Filters.ChainableReader/internalClose::'.ctor'(object, native int) + IL_004c: stfld class NAnt.Core.Filters.ChainableReader/internalClose NAnt.Core.Filters.ChainableReader::InternalClose + IL_0051: ldarg.0 + IL_0052: ldc.i4.1 + IL_0053: stfld bool NAnt.Core.Filters.ChainableReader::_baseReader + IL_0058: ret + } // end of method ChainableReader::Chain - IL_0078: nop - IL_0079: ldloc.0 - IL_007a: ldarg.0 - IL_007b: ldarg.1 - IL_007c: call instance class [System]System.Net.Mail.MailAddress class NAnt.Core.Tasks.MailTask::ConvertStringToMailAddress(string) - IL_0081: callvirt instance void class [mscorlib]System.Collections.ObjectModel.Collection`1::Add(!0) - IL_0086: nop - IL_0087: nop - IL_0088: ldloc.0 - IL_0089: stloc.s 5 - IL_008b: br IL_0090 + // method line 1319 + .method public virtual hidebysig newslot + instance default int32 Peek () cil managed + { + // Method begins at RVA 0x18000 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Filters.ChainableReader/internalPeek NAnt.Core.Filters.ChainableReader::InternalPeek + IL_0007: callvirt instance int32 class NAnt.Core.Filters.ChainableReader/internalPeek::Invoke() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0090: ldloc.s 5 - IL_0092: ret - } // end of method MailTask::ParseAddresses + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ChainableReader::Peek - // method line 1408 - .method private hidebysig - instance default class [System]System.Net.Mail.MailAddress ConvertStringToMailAddress (string address) cil managed + // method line 1320 + .method public virtual hidebysig newslot + instance default int32 Read () cil managed { - // Method begins at RVA 0x18524 - // Code size 298 (0x12a) - .maxstack 4 + // Method begins at RVA 0x18020 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0, - string V_1, - string V_2, - string[] V_3, - string V_4, - string[] V_5, - int32 V_6, - class [System]System.Text.RegularExpressions.Regex V_7, - class [System]System.Text.RegularExpressions.Match V_8, - class [System]System.Net.Mail.MailAddress V_9, - class [System]System.Net.Mail.MailAddress V_10) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance string class NAnt.Core.Tasks.MailTask::UnescapeXmlCodes(string) - IL_0008: stloc.0 - IL_0009: ldnull - IL_000a: stloc.1 - IL_000b: ldnull - IL_000c: stloc.2 - IL_000d: ldc.i4.4 - IL_000e: newarr [mscorlib]System.String - IL_0013: dup - IL_0014: ldc.i4.0 - IL_0015: ldstr "^(?.+)\\s<(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^<>\\(\\)\\s]+)>$" - IL_001a: stelem.ref - IL_001b: dup - IL_001c: ldc.i4.1 - IL_001d: ldstr "^<(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^\\s]+)>\\s(?.+)$" - IL_0022: stelem.ref - IL_0023: dup - IL_0024: ldc.i4.2 - IL_0025: ldstr "^\\((?.+)\\)\\s(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^<>\\(\\)\\s]+)$" - IL_002a: stelem.ref - IL_002b: dup - IL_002c: ldc.i4.3 - IL_002d: ldstr "^(?[^<>\\(\\)\\s]+@[^<>\\(\\)\\s]+\\.[^\\s]+)\\s\\((?.+)\\)$" - IL_0032: stelem.ref - IL_0033: stloc.3 - IL_0034: nop - IL_0035: ldloc.3 - IL_0036: stloc.s 5 - IL_0038: ldc.i4.0 - IL_0039: stloc.s 6 - IL_003b: br IL_00ac + IL_0002: ldfld class NAnt.Core.Filters.ChainableReader/internalRead NAnt.Core.Filters.ChainableReader::InternalRead + IL_0007: callvirt instance int32 class NAnt.Core.Filters.ChainableReader/internalRead::Invoke() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0040: ldloc.s 5 - IL_0042: ldloc.s 6 - IL_0044: ldelem.ref - IL_0045: stloc.s 4 - IL_0047: nop - IL_0048: ldloc.s 4 - IL_004a: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_004f: stloc.s 7 - IL_0051: ldloc.s 7 - IL_0053: ldloc.0 - IL_0054: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0059: stloc.s 8 - IL_005b: ldloc.s 8 - IL_005d: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_0062: brfalse IL_00a5 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ChainableReader::Read - IL_0067: nop - IL_0068: ldloc.s 8 - IL_006a: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_006f: ldstr "email" - IL_0074: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_0079: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_007e: callvirt instance string string::Trim() - IL_0083: stloc.2 - IL_0084: ldloc.s 8 - IL_0086: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_008b: ldstr "fullname" - IL_0090: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_0095: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_009a: callvirt instance string string::Trim() - IL_009f: stloc.1 - IL_00a0: br IL_00b7 + // method line 1321 + .method public virtual hidebysig newslot + instance default void Close () cil managed + { + // Method begins at RVA 0x18040 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Filters.ChainableReader/internalClose NAnt.Core.Filters.ChainableReader::InternalClose + IL_0007: callvirt instance void class NAnt.Core.Filters.ChainableReader/internalClose::Invoke() + IL_000c: ret + } // end of method ChainableReader::Close - IL_00a5: nop - IL_00a6: ldloc.s 6 - IL_00a8: ldc.i4.1 - IL_00a9: add - IL_00aa: stloc.s 6 - IL_00ac: ldloc.s 6 - IL_00ae: ldloc.s 5 - IL_00b0: ldlen - IL_00b1: conv.i4 - IL_00b2: blt IL_0040 + // method line 1322 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed + { + // Method begins at RVA 0x1804e + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance void class NAnt.Core.Filters.ChainableReader::Close() + IL_0007: ldarg.0 + IL_0008: call void class [mscorlib]System.GC::SuppressFinalize(object) + IL_000d: ret + } // end of method ChainableReader::Dispose - .try { // 0 - IL_00b7: nop - IL_00b8: ldloc.1 - IL_00b9: call bool string::IsNullOrEmpty(string) - IL_00be: brtrue IL_00de + .property instance bool Base () + { + .get instance default bool NAnt.Core.Filters.ChainableReader::get_Base () + } + .class nested private auto ansi sealed internalRead + extends [mscorlib]System.MulticastDelegate + { - IL_00c3: ldloc.2 - IL_00c4: call bool string::IsNullOrEmpty(string) - IL_00c9: brtrue IL_00de + // method line 1323 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method internalRead::.ctor - IL_00ce: nop - IL_00cf: ldloc.2 - IL_00d0: ldloc.1 - IL_00d1: newobj instance void class [System]System.Net.Mail.MailAddress::'.ctor'(string, string) - IL_00d6: stloc.s 9 - IL_00d8: nop - IL_00d9: br IL_0102 - - IL_00de: ldloc.2 - IL_00df: call bool string::IsNullOrEmpty(string) - IL_00e4: brtrue IL_00f8 - - IL_00e9: nop - IL_00ea: ldloc.2 - IL_00eb: newobj instance void class [System]System.Net.Mail.MailAddress::'.ctor'(string) - IL_00f0: stloc.s 9 - IL_00f2: nop - IL_00f3: br IL_0102 - - IL_00f8: nop - IL_00f9: ldloc.0 - IL_00fa: newobj instance void class [System]System.Net.Mail.MailAddress::'.ctor'(string) - IL_00ff: stloc.s 9 - IL_0101: nop - IL_0102: ldloc.s 9 - IL_0104: stloc.s 10 - IL_0106: leave IL_0127 - - } // end .try 0 - catch class [mscorlib]System.FormatException { // 0 - IL_010b: pop - IL_010c: nop - IL_010d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0112: ldstr "{0} is not a recognized email address" - IL_0117: ldloc.0 - IL_0118: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_011d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0122: throw - } // end handler 0 - catch class [mscorlib]System.Exception { // 1 - IL_0123: pop - IL_0124: nop - IL_0125: rethrow - } // end handler 1 - IL_0127: ldloc.s 10 - IL_0129: ret - } // end of method MailTask::ConvertStringToMailAddress - - // method line 1409 - .method private hidebysig - instance default string UnescapeXmlCodes (string 'value') cil managed + // method line 1324 + .method public virtual hidebysig newslot + instance default int32 Invoke () runtime managed { - // Method begins at RVA 0x18678 - // Code size 85 (0x55) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr """ - IL_0007: ldstr "\"" - IL_000c: callvirt instance string string::Replace(string, string) - IL_0011: ldstr "&" - IL_0016: ldstr "&" - IL_001b: callvirt instance string string::Replace(string, string) - IL_0020: ldstr "'" - IL_0025: ldstr "'" - IL_002a: callvirt instance string string::Replace(string, string) - IL_002f: ldstr "<" - IL_0034: ldstr "<" - IL_0039: callvirt instance string string::Replace(string, string) - IL_003e: ldstr ">" - IL_0043: ldstr ">" - IL_0048: callvirt instance string string::Replace(string, string) - IL_004d: stloc.0 - IL_004e: br IL_0053 - - IL_0053: ldloc.0 - IL_0054: ret - } // end of method MailTask::UnescapeXmlCodes - - .property instance string From () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 66 72 6F 6D 01 00 54 02 08 52 65 71 75 // ...from..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.MailTask::get_From () - .set instance default void NAnt.Core.Tasks.MailTask::set_From (string 'value') - } - .property instance string ToList () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 6F 6C 69 73 74 00 00 ) // ...tolist.. - - .get instance default string NAnt.Core.Tasks.MailTask::get_ToList () - .set instance default void NAnt.Core.Tasks.MailTask::set_ToList (string 'value') - } - .property instance string ReplyTo () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 70 6C 79 74 6F 00 00 ) // ...replyto.. - - .get instance default string NAnt.Core.Tasks.MailTask::get_ReplyTo () - .set instance default void NAnt.Core.Tasks.MailTask::set_ReplyTo (string 'value') - } - .property instance string CcList () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 63 63 6C 69 73 74 00 00 ) // ...cclist.. - - .get instance default string NAnt.Core.Tasks.MailTask::get_CcList () - .set instance default void NAnt.Core.Tasks.MailTask::set_CcList (string 'value') - } - .property instance string BccList () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 62 63 63 6C 69 73 74 00 00 ) // ...bcclist.. - - .get instance default string NAnt.Core.Tasks.MailTask::get_BccList () - .set instance default void NAnt.Core.Tasks.MailTask::set_BccList (string 'value') - } - .property instance string Mailhost () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6D 61 69 6C 68 6F 73 74 00 00 ) // ...mailhost.. - - .get instance default string NAnt.Core.Tasks.MailTask::get_Mailhost () - .set instance default void NAnt.Core.Tasks.MailTask::set_Mailhost (string 'value') - } - .property instance int32 Port () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6D 61 69 6C 70 6F 72 74 00 00 ) // ...mailport.. + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method internalRead::Invoke - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1325 + .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 internalRead::BeginInvoke - .get instance default int32 NAnt.Core.Tasks.MailTask::get_Port () - .set instance default void NAnt.Core.Tasks.MailTask::set_Port (int32 'value') - } - .property instance bool EnableSsl () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 73 73 6C 00 00 ) // ...ssl.. + // method line 1326 + .method public virtual hidebysig newslot + instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method internalRead::EndInvoke - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end of class internalRead - .get instance default bool NAnt.Core.Tasks.MailTask::get_EnableSsl () - .set instance default void NAnt.Core.Tasks.MailTask::set_EnableSsl (bool 'value') - } - .property instance string Message () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. + .class nested private auto ansi sealed internalPeek + extends [mscorlib]System.MulticastDelegate + { - .get instance default string NAnt.Core.Tasks.MailTask::get_Message () - .set instance default void NAnt.Core.Tasks.MailTask::set_Message (string 'value') - } - .property instance string Subject () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 73 75 62 6A 65 63 74 00 00 ) // ...subject.. + // method line 1327 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method internalPeek::.ctor - .get instance default string NAnt.Core.Tasks.MailTask::get_Subject () - .set instance default void NAnt.Core.Tasks.MailTask::set_Subject (string 'value') - } - .property instance bool IsBodyHtml () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 69 73 62 6F 64 79 68 74 6D 6C 00 00 ) // ...isbodyhtml.. + // method line 1328 + .method public virtual hidebysig newslot + instance default int32 Invoke () runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method internalPeek::Invoke - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1329 + .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 internalPeek::BeginInvoke - .get instance default bool NAnt.Core.Tasks.MailTask::get_IsBodyHtml () - .set instance default void NAnt.Core.Tasks.MailTask::set_IsBodyHtml (bool 'value') - } - .property instance string UserName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 75 73 65 72 00 00 ) // ...user.. + // method line 1330 + .method public virtual hidebysig newslot + instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method internalPeek::EndInvoke - .get instance default string NAnt.Core.Tasks.MailTask::get_UserName () - .set instance default void NAnt.Core.Tasks.MailTask::set_UserName (string 'value') - } - .property instance string Password () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 61 73 73 77 6F 72 64 00 00 ) // ...password.. + } // end of class internalPeek - .get instance default string NAnt.Core.Tasks.MailTask::get_Password () - .set instance default void NAnt.Core.Tasks.MailTask::set_Password (string 'value') - } - .property instance valuetype NAnt.Core.Tasks.MailTask/MailFormat Format () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 66 6F 72 6D 61 74 00 00 ) // ...format.. + .class nested private auto ansi sealed internalClose + extends [mscorlib]System.MulticastDelegate + { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 41 54 68 65 20 66 6F 72 6D 61 74 20 61 74 // ..AThe format at - 74 72 69 62 75 74 65 20 69 73 20 64 65 70 72 65 // tribute is depre - 63 61 74 65 64 2E 20 50 6C 65 61 73 65 20 75 73 // cated. Please us - 65 20 69 73 62 6F 64 79 68 74 6D 6C 20 69 6E 73 // e isbodyhtml ins - 74 65 61 64 00 00 00 ) // tead... + // method line 1331 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method internalClose::.ctor - .get instance default valuetype NAnt.Core.Tasks.MailTask/MailFormat NAnt.Core.Tasks.MailTask::get_Format () - .set instance default void NAnt.Core.Tasks.MailTask::set_Format (valuetype NAnt.Core.Tasks.MailTask/MailFormat 'value') - } - .property instance class NAnt.Core.Types.FileSet Files () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 66 69 6C 65 73 00 00 ) // ...files.. + // method line 1332 + .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 internalClose::Invoke - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::get_Files () - .set instance default void NAnt.Core.Tasks.MailTask::set_Files (class NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.Core.Types.FileSet Attachments () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 61 74 74 61 63 68 6D 65 6E 74 73 00 00 ) // ...attachments.. + // method line 1333 + .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 internalClose::BeginInvoke - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::get_Attachments () - .set instance default void NAnt.Core.Tasks.MailTask::set_Attachments (class NAnt.Core.Types.FileSet 'value') - } - .class nested public auto ansi sealed MailFormat - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Tasks.MailTask/MailFormat Text = int32(0x00000000) - .field public static literal valuetype NAnt.Core.Tasks.MailTask/MailFormat Html = int32(0x00000001) + // method line 1334 + .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 internalClose::EndInvoke - } // end of class MailFormat + } // end of class internalClose - } // end of class NAnt.Core.Tasks.MailTask + } // end of class NAnt.Core.Filters.ChainableReader } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit TStampTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit FilterBuilderCollection + extends [mscorlib]System.Collections.CollectionBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 74 73 74 61 6D 70 00 00 ) // ...tstamp.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .field private string _property - .field private string _pattern - .field private class NAnt.Core.Types.FormatterCollection _formatters - // method line 1410 + // method line 1335 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x186d9 - // Code size 18 (0x12) + // Method begins at RVA 0x1805d + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.FormatterCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::_formatters - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method TStampTask::.ctor + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method FilterBuilderCollection::.ctor - // method line 1411 - .method public hidebysig specialname - instance default string get_Property () cil managed + // method line 1336 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection 'value') cil managed { - // Method begins at RVA 0x186ec + // Method begins at RVA 0x18066 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.TStampTask::_property - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Filters.FilterBuilderCollection::AddRange(class NAnt.Core.Filters.FilterBuilderCollection) IL_000e: ret - } // end of method TStampTask::get_Property + } // end of method FilterBuilderCollection::.ctor - // method line 1412 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + // method line 1337 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilder[] 'value') cil managed { - // Method begins at RVA 0x18707 - // Code size 9 (0x9) + // Method begins at RVA 0x18076 + // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.TStampTask::_property - IL_0008: ret - } // end of method TStampTask::set_Property + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Filters.FilterBuilderCollection::AddRange(class NAnt.Core.Filters.FilterBuilder[]) + IL_000e: ret + } // end of method FilterBuilderCollection::.ctor - // method line 1413 + // method line 1338 .method public hidebysig specialname - instance default string get_Pattern () cil managed + instance default class NAnt.Core.Filters.FilterBuilder get_Item (int32 index) cil managed { - // Method begins at RVA 0x18714 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x18088 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.Filters.FilterBuilder V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.TStampTask::_pattern - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Filters.FilterBuilder + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TStampTask::get_Pattern + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FilterBuilderCollection::get_Item - // method line 1414 + // method line 1339 .method public hidebysig specialname - instance default void set_Pattern (string 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.Filters.FilterBuilder 'value') cil managed { - // Method begins at RVA 0x1872f - // Code size 9 (0x9) + // Method begins at RVA 0x180ae + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.TStampTask::_pattern - IL_0008: ret - } // end of method TStampTask::set_Pattern + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method FilterBuilderCollection::set_Item - // method line 1415 + // method line 1340 .method public hidebysig specialname - instance default class NAnt.Core.Types.FormatterCollection get_Formatters () cil managed + instance default class NAnt.Core.Filters.FilterBuilder get_Item (string filterName) cil managed { - // Method begins at RVA 0x1873c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x180c0 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - class NAnt.Core.Types.FormatterCollection V_0) + class NAnt.Core.Filters.FilterBuilder V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Filters.FilterBuilder V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 + + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 + + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.Filters.FilterBuilder + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_FilterName() + IL_002e: callvirt instance bool string::Equals(string) + IL_0033: brfalse IL_0040 + + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d + + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a + + IL_004c: leave IL_0065 + + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 + + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d + + IL_006d: ldloc.2 + IL_006e: ret + } // end of method FilterBuilderCollection::get_Item + + // method line 1341 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Filters.FilterBuilder item) cil managed + { + // Method begins at RVA 0x1814c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::_formatters - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TStampTask::get_Formatters + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterBuilderCollection::Add - // method line 1416 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1342 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.FilterBuilder[] items) cil managed { - // Method begins at RVA 0x18758 - // Code size 447 (0x1bf) - .maxstack 8 + // Method begins at RVA 0x18170 + // Code size 34 (0x22) + .maxstack 3 .locals init ( - valuetype [mscorlib]System.DateTime V_0, - class NAnt.Core.Types.Formatter V_1, - class NAnt.Core.Types.FormatterEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + int32 V_0) IL_0000: nop - IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldc.i4 3000 - IL_000d: ldstr "{0} {1}." - IL_0012: ldc.i4.2 - IL_0013: newarr [mscorlib]System.Object - IL_0018: dup - IL_0019: ldc.i4.0 - IL_001a: ldloca.s 0 - IL_001c: call instance string valuetype [mscorlib]System.DateTime::ToLongDateString() - IL_0021: stelem.ref - IL_0022: dup - IL_0023: ldc.i4.1 - IL_0024: ldloca.s 0 - IL_0026: call instance string valuetype [mscorlib]System.DateTime::ToLongTimeString() - IL_002b: stelem.ref - IL_002c: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0031: ldarg.0 - IL_0032: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0037: ldstr "tstamp.date" - IL_003c: ldloca.s 0 - IL_003e: ldstr "yyyyMMdd" - IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0048: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) - IL_004d: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0052: ldarg.0 - IL_0053: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0058: ldstr "tstamp.time" - IL_005d: ldloca.s 0 - IL_005f: ldstr "HHmm" - IL_0064: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0069: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) - IL_006e: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0073: ldarg.0 - IL_0074: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0079: ldstr "tstamp.now" - IL_007e: ldloca.s 0 - IL_0080: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0085: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) - IL_008a: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_008f: ldarg.0 - IL_0090: ldfld string NAnt.Core.Tasks.TStampTask::_property - IL_0095: brfalse IL_0107 - - IL_009a: ldarg.0 - IL_009b: ldfld string NAnt.Core.Tasks.TStampTask::_pattern - IL_00a0: brfalse IL_0107 - - IL_00a5: nop - IL_00a6: ldarg.0 - IL_00a7: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00ac: ldarg.0 - IL_00ad: ldfld string NAnt.Core.Tasks.TStampTask::_property - IL_00b2: ldloca.s 0 - IL_00b4: ldarg.0 - IL_00b5: ldfld string NAnt.Core.Tasks.TStampTask::_pattern - IL_00ba: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00bf: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) - IL_00c4: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00c9: ldarg.0 - IL_00ca: ldc.i4 2000 - IL_00cf: ldstr "{0} = {1}." - IL_00d4: ldc.i4.2 - IL_00d5: newarr [mscorlib]System.Object - IL_00da: dup - IL_00db: ldc.i4.0 - IL_00dc: ldarg.0 - IL_00dd: ldfld string NAnt.Core.Tasks.TStampTask::_property - IL_00e2: stelem.ref - IL_00e3: dup - IL_00e4: ldc.i4.1 - IL_00e5: ldarg.0 - IL_00e6: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_00eb: ldarg.0 - IL_00ec: ldfld string NAnt.Core.Tasks.TStampTask::_property - IL_00f1: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_00f6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00fb: callvirt instance string string::ToString(class [mscorlib]System.IFormatProvider) - IL_0100: stelem.ref - IL_0101: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0106: nop - IL_0107: nop - IL_0108: ldarg.0 - IL_0109: call instance class NAnt.Core.Types.FormatterCollection class NAnt.Core.Tasks.TStampTask::get_Formatters() - IL_010e: callvirt instance class NAnt.Core.Types.FormatterEnumerator class NAnt.Core.Types.FormatterCollection::GetEnumerator() - IL_0113: stloc.2 - .try { // 0 - IL_0114: br IL_019a - - IL_0119: ldloc.2 - IL_011a: callvirt instance class NAnt.Core.Types.Formatter class NAnt.Core.Types.FormatterEnumerator::get_Current() - IL_011f: stloc.1 - IL_0120: nop - IL_0121: ldarg.0 - IL_0122: call instance bool class NAnt.Core.Task::get_IfDefined() - IL_0127: brfalse IL_0199 - - IL_012c: ldarg.0 - IL_012d: call instance bool class NAnt.Core.Task::get_UnlessDefined() - IL_0132: brtrue IL_0199 - - IL_0137: nop - IL_0138: ldarg.0 - IL_0139: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_013e: ldloc.1 - IL_013f: callvirt instance string class NAnt.Core.Types.Formatter::get_Property() - IL_0144: ldloca.s 0 - IL_0146: ldloc.1 - IL_0147: callvirt instance string class NAnt.Core.Types.Formatter::get_Pattern() - IL_014c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0151: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) - IL_0156: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_015b: ldarg.0 - IL_015c: ldc.i4 2000 - IL_0161: ldstr "{0} = {1}." - IL_0166: ldc.i4.2 - IL_0167: newarr [mscorlib]System.Object - IL_016c: dup - IL_016d: ldc.i4.0 - IL_016e: ldloc.1 - IL_016f: callvirt instance string class NAnt.Core.Types.Formatter::get_Property() - IL_0174: stelem.ref - IL_0175: dup - IL_0176: ldc.i4.1 - IL_0177: ldarg.0 - IL_0178: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_017d: ldloc.1 - IL_017e: callvirt instance string class NAnt.Core.Types.Formatter::get_Property() - IL_0183: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_0188: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_018d: callvirt instance string string::ToString(class [mscorlib]System.IFormatProvider) - IL_0192: stelem.ref - IL_0193: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0198: nop - IL_0199: nop - IL_019a: ldloc.2 - IL_019b: callvirt instance bool class NAnt.Core.Types.FormatterEnumerator::MoveNext() - IL_01a0: brtrue IL_0119 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_01a5: leave IL_01be + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Filters.FilterBuilderCollection::Add(class NAnt.Core.Filters.FilterBuilder) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - } // end .try 0 - finally { // 0 - IL_01aa: ldloc.2 - IL_01ab: isinst [mscorlib]System.IDisposable - IL_01b0: dup - IL_01b1: stloc.3 - IL_01b2: brfalse IL_01bd + IL_0021: ret + } // end of method FilterBuilderCollection::AddRange - IL_01b7: ldloc.3 - IL_01b8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01bd: endfinally - } // end handler 0 - IL_01be: ret - } // end of method TStampTask::ExecuteTask + // method line 1343 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.FilterBuilderCollection items) cil managed + { + // Method begins at RVA 0x181a0 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - .property instance string Property () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Filters.FilterBuilderCollection::Add(class NAnt.Core.Filters.FilterBuilder) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - .get instance default string NAnt.Core.Tasks.TStampTask::get_Property () - .set instance default void NAnt.Core.Tasks.TStampTask::set_Property (string 'value') - } - .property instance string Pattern () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 70 61 74 74 65 72 6E 01 00 54 02 08 52 // ...pattern..T..R - 65 71 75 69 72 65 64 00 ) // equired. + IL_0028: ret + } // end of method FilterBuilderCollection::AddRange - .get instance default string NAnt.Core.Tasks.TStampTask::get_Pattern () - .set instance default void NAnt.Core.Tasks.TStampTask::set_Pattern (string 'value') - } - .property instance class NAnt.Core.Types.FormatterCollection Formatters () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 09 66 6F 72 6D 61 74 74 65 72 00 00 ) // ...formatter.. + // method line 1344 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Filters.FilterBuilder item) cil managed + { + // Method begins at RVA 0x181d8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .get instance default class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::get_Formatters () - } - } // end of class NAnt.Core.Tasks.TStampTask -} + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterBuilderCollection::Contains -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit LoadFileTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 6C 6F 61 64 66 69 6C 65 00 00 ) // ...loadfile.. + // method line 1345 + .method public hidebysig + instance default bool Contains (string taskName) cil managed + { + // Method begins at RVA 0x181fc + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - .field private class [mscorlib]System.IO.FileInfo _file - .field private class [mscorlib]System.Text.Encoding _encoding - .field private string _property - .field private class NAnt.Core.Filters.FilterChain _filterChain + IL_0014: ldloc.0 + IL_0015: ret + } // end of method FilterBuilderCollection::Contains - // method line 1417 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1346 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Filters.FilterBuilder[] 'array', int32 index) cil managed { - // Method begins at RVA 0x18934 - // Code size 7 (0x7) + // Method begins at RVA 0x1821e + // Code size 15 (0xf) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method LoadFileTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method FilterBuilderCollection::CopyTo - // method line 1418 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + // method line 1347 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Filters.FilterBuilder item) cil managed { - // Method begins at RVA 0x1893c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x18230 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadFileTask::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoadFileTask::get_File + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterBuilderCollection::IndexOf - // method line 1419 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1348 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Filters.FilterBuilder item) cil managed { - // Method begins at RVA 0x18957 - // Code size 9 (0x9) + // Method begins at RVA 0x18251 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadFileTask::_file - IL_0008: ret - } // end of method LoadFileTask::set_File + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method FilterBuilderCollection::Insert - // method line 1420 - .method public hidebysig specialname - instance default string get_Property () cil managed + // method line 1349 + .method public hidebysig + instance default class NAnt.Core.Filters.FilterBuilderEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x18964 + // Method begins at RVA 0x18264 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Filters.FilterBuilderEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.LoadFileTask::_property + IL_0002: newobj instance void class NAnt.Core.Filters.FilterBuilderEnumerator::'.ctor'(class NAnt.Core.Filters.FilterBuilderCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoadFileTask::get_Property + } // end of method FilterBuilderCollection::GetEnumerator - // method line 1421 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + // method line 1350 + .method public hidebysig + instance default void Remove (class NAnt.Core.Filters.FilterBuilder item) cil managed { - // Method begins at RVA 0x1897f - // Code size 9 (0x9) + // Method begins at RVA 0x1827f + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.LoadFileTask::_property - IL_0008: ret - } // end of method LoadFileTask::set_Property + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method FilterBuilderCollection::Remove - // method line 1422 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + .property instance class NAnt.Core.Filters.FilterBuilder Item (int32) + { + .get instance default class NAnt.Core.Filters.FilterBuilder NAnt.Core.Filters.FilterBuilderCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Filters.FilterBuilderCollection::set_Item (int32 index, class NAnt.Core.Filters.FilterBuilder 'value') + } + .property instance class NAnt.Core.Filters.FilterBuilder Item (string) + { + .get instance default class NAnt.Core.Filters.FilterBuilder NAnt.Core.Filters.FilterBuilderCollection::get_Item (string filterName) + } + } // end of class NAnt.Core.Filters.FilterBuilderCollection +} + +.namespace NAnt.Core.Filters +{ + .class public auto ansi beforefieldinit FilterBuilderEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 1351 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection arguments) cil managed { - // Method begins at RVA 0x1898c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x18290 + // Code size 22 (0x16) + .maxstack 2 .locals init ( - class [mscorlib]System.Text.Encoding V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.LoadFileTask::_encoding - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoadFileTask::get_Encoding + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator + IL_0015: ret + } // end of method FilterBuilderEnumerator::.ctor - // method line 1423 + // method line 1352 .method public hidebysig specialname - instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + instance default class NAnt.Core.Filters.FilterBuilder get_Current () cil managed { - // Method begins at RVA 0x189a7 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x182b4 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Filters.FilterBuilder V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.LoadFileTask::_encoding - IL_0008: ret - } // end of method LoadFileTask::set_Encoding + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Filters.FilterBuilder + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 1424 - .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterChain get_FilterChain () cil managed + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FilterBuilderEnumerator::get_Current + + // method line 1353 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x189b4 - // Code size 15 (0xf) + // Method begins at RVA 0x182dc + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.Filters.FilterChain V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::_filterChain - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoadFileTask::get_FilterChain + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.get_Current - // method line 1425 - .method public hidebysig specialname - instance default void set_FilterChain (class NAnt.Core.Filters.FilterChain 'value') cil managed + // method line 1354 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x189cf - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x182fc + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::_filterChain - IL_0008: ret - } // end of method LoadFileTask::set_FilterChain + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1426 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterBuilderEnumerator::MoveNext + + // method line 1355 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x189dc - // Code size 159 (0x9f) - .maxstack 3 + // Method begins at RVA 0x1831c + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.IO.IOException V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_0038 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0011: nop - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() - IL_0017: ldstr "File '{0}' does not exist." - IL_001c: ldarg.0 - IL_001d: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() - IL_0022: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0027: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002c: ldarg.0 - IL_002d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0032: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0037: throw - IL_0038: ldnull - IL_0039: stloc.0 - .try { // 0 - IL_003a: nop - IL_003b: ldarg.0 - IL_003c: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() - IL_0041: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0046: ldarg.0 - IL_0047: call instance class NAnt.Core.Filters.FilterChain class NAnt.Core.Tasks.LoadFileTask::get_FilterChain() - IL_004c: ldarg.0 - IL_004d: call instance class [mscorlib]System.Text.Encoding class NAnt.Core.Tasks.LoadFileTask::get_Encoding() - IL_0052: call string class NAnt.Core.Util.FileUtils::ReadFile(string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding) - IL_0057: stloc.0 - IL_0058: nop - IL_0059: leave IL_008c + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.MoveNext - } // end .try 0 - catch class [mscorlib]System.IO.IOException { // 0 - IL_005e: stloc.1 - IL_005f: nop - IL_0060: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0065: ldstr "NA1129" - IL_006a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_006f: ldarg.0 - IL_0070: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.LoadFileTask::get_File() - IL_0075: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_007a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_007f: ldarg.0 - IL_0080: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0085: ldloc.1 - IL_0086: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_008b: throw - } // end handler 0 - IL_008c: ldarg.0 - IL_008d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element::get_Properties() - IL_0092: ldarg.0 - IL_0093: call instance string class NAnt.Core.Tasks.LoadFileTask::get_Property() - IL_0098: ldloc.0 - IL_0099: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_009e: ret - } // end of method LoadFileTask::ExecuteTask + // method line 1356 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x1833c + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method FilterBuilderEnumerator::Reset - .property instance class [mscorlib]System.IO.FileInfo File () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ - 69 72 65 64 01 ) // ired. + // method line 1357 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x1834a + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.Reset - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadFileTask::get_File () - .set instance default void NAnt.Core.Tasks.LoadFileTask::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string Property () + .property instance object System.Collections.IEnumerator.Current () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .get instance default string NAnt.Core.Tasks.LoadFileTask::get_Property () - .set instance default void NAnt.Core.Tasks.LoadFileTask::set_Property (string 'value') + .get instance default object NAnt.Core.Filters.FilterBuilderEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class [mscorlib]System.Text.Encoding Encoding () + .property instance class NAnt.Core.Filters.FilterBuilder Current () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + .get instance default class NAnt.Core.Filters.FilterBuilder NAnt.Core.Filters.FilterBuilderEnumerator::get_Current () + } + } // end of class NAnt.Core.Filters.FilterBuilderEnumerator +} - .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.LoadFileTask::get_Encoding () - .set instance default void NAnt.Core.Tasks.LoadFileTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') +.namespace NAnt.Core.Filters +{ + .class public auto ansi beforefieldinit FilterBuilder + extends NAnt.Core.Extensibility.ExtensionBuilder + { + .field private initonly string _className + .field private initonly string _filterName + + // method line 1358 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed + { + // Method begins at RVA 0x183c8 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) + IL_0007: ldarg.2 + IL_0008: call instance void class NAnt.Core.Filters.FilterBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) + IL_000d: nop + IL_000e: ret + } // end of method FilterBuilder::.ctor + + // method line 1359 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed + { + // Method begins at RVA 0x183d8 + // Code size 66 (0x42) + .maxstack 2 + .locals init ( + class NAnt.Core.Attributes.ElementNameAttribute V_0) + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldarg.2 + IL_000a: stfld string NAnt.Core.Filters.FilterBuilder::_className + IL_000f: ldarg.0 + IL_0010: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_0015: ldarg.0 + IL_0016: call instance string class NAnt.Core.Filters.FilterBuilder::get_ClassName() + IL_001b: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) + IL_0020: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_0025: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002a: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_002f: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_0034: stloc.0 + IL_0035: ldarg.0 + IL_0036: ldloc.0 + IL_0037: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_003c: stfld string NAnt.Core.Filters.FilterBuilder::_filterName + IL_0041: ret + } // end of method FilterBuilder::.ctor + + // method line 1360 + .method public hidebysig specialname + instance default string get_ClassName () cil managed + { + // Method begins at RVA 0x18428 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Filters.FilterBuilder::_className + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FilterBuilder::get_ClassName + + // method line 1361 + .method public hidebysig specialname + instance default string get_FilterName () cil managed + { + // Method begins at RVA 0x18444 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Filters.FilterBuilder::_filterName + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FilterBuilder::get_FilterName + + // method line 1362 + .method public hidebysig + instance default class NAnt.Core.Filters.Filter CreateFilter () cil managed + { + // Method begins at RVA 0x18460 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 42 (0x2a) + .maxstack 8 + .locals init ( + class NAnt.Core.Filters.Filter V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.Core.Filters.FilterBuilder::get_ClassName() + IL_000d: ldc.i4.1 + IL_000e: ldc.i4.s 0x14 + IL_0010: ldnull + IL_0011: ldnull + IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0017: ldnull + IL_0018: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) + IL_001d: castclass NAnt.Core.Filters.Filter + IL_0022: stloc.0 + IL_0023: br IL_0028 + + IL_0028: ldloc.0 + IL_0029: ret + } // end of method FilterBuilder::CreateFilter + + .property instance string ClassName () + { + .get instance default string NAnt.Core.Filters.FilterBuilder::get_ClassName () } - .property instance class NAnt.Core.Filters.FilterChain FilterChain () + .property instance string FilterName () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 66 69 6C 74 65 72 63 68 61 69 6E 00 00 ) // ...filterchain.. - - .get instance default class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::get_FilterChain () - .set instance default void NAnt.Core.Tasks.LoadFileTask::set_FilterChain (class NAnt.Core.Filters.FilterChain 'value') + .get instance default string NAnt.Core.Filters.FilterBuilder::get_FilterName () } - } // end of class NAnt.Core.Tasks.LoadFileTask + } // end of class NAnt.Core.Filters.FilterBuilder } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit IncludeTask - extends NAnt.Core.Task + .class public auto ansi abstract beforefieldinit Filter + extends NAnt.Core.Filters.ChainableReader { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - - .field private string _buildFileName - .field private static class [mscorlib]System.Collections.Stack _includedFileNames - .field private static string _currentBasedir - .field private static int32 _nestinglevel + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1427 - .method public hidebysig specialname rtspecialname + // method line 1363 + .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x18a98 - // Code size 7 (0x7) + // Method begins at RVA 0x18496 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method IncludeTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Filters.Filter::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Filters.ChainableReader::'.ctor'() + IL_000d: ret + } // end of method Filter::.ctor - // method line 1428 + // method line 1364 .method public hidebysig specialname - instance default string get_BuildFileName () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x18aa0 + // Method begins at RVA 0x184a8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.IncludeTask::_buildFileName + IL_0002: ldfld bool NAnt.Core.Filters.Filter::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IncludeTask::get_BuildFileName + } // end of method Filter::get_IfDefined - // method line 1429 + // method line 1365 .method public hidebysig specialname - instance default void set_BuildFileName (string 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x18abb + // Method begins at RVA 0x184c3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.IncludeTask::_buildFileName + IL_0003: stfld bool NAnt.Core.Filters.Filter::_ifDefined IL_0008: ret - } // end of method IncludeTask::set_BuildFileName + } // end of method Filter::set_IfDefined - // method line 1430 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 1366 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x18ac8 - // Code size 271 (0x10f) - .maxstack 3 + // Method begins at RVA 0x184d0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.Exception V_1, - string V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - class [mscorlib]System.IDisposable V_4) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance object class NAnt.Core.Element::get_Parent() - IL_0007: brfalse IL_0033 + IL_0002: ldfld bool NAnt.Core.Filters.Filter::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldarg.0 - IL_000d: call instance object class NAnt.Core.Element::get_Parent() - IL_0012: isinst NAnt.Core.Project - IL_0017: brtrue IL_0033 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Filter::get_UnlessDefined - IL_001c: nop - IL_001d: ldstr "NA1180" - IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0027: ldarg.0 - IL_0028: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_002d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0032: throw - IL_0033: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - IL_0038: call bool string::IsNullOrEmpty(string) - IL_003d: brtrue IL_004c + // method line 1367 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x184eb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Filters.Filter::_unlessDefined + IL_0008: ret + } // end of method Filter::set_UnlessDefined - IL_0042: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel - IL_0047: brtrue IL_005e + // method line 1368 + .method public virtual hidebysig newslot + instance default void InitializeFilter () cil managed + { + // Method begins at RVA 0x184f5 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method Filter::InitializeFilter - IL_004c: nop - IL_004d: ldarg.0 - IL_004e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0053: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0058: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - IL_005d: nop - IL_005e: ldnull - IL_005f: stloc.0 - .try { // 0 - IL_0060: nop - IL_0061: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - IL_0066: ldarg.0 - IL_0067: call instance string class NAnt.Core.Tasks.IncludeTask::get_BuildFileName() - IL_006c: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0071: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_0076: stloc.0 - IL_0077: nop - IL_0078: leave IL_00a6 + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_007d: stloc.1 - IL_007e: nop - IL_007f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0084: ldstr "NA1128" - IL_0089: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_008e: ldarg.0 - IL_008f: call instance string class NAnt.Core.Tasks.IncludeTask::get_BuildFileName() - IL_0094: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0099: ldarg.0 - IL_009a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_009f: ldloc.1 - IL_00a0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00a5: throw - } // end handler 0 - IL_00a6: nop - IL_00a7: ldsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames - IL_00ac: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.Stack::GetEnumerator() - IL_00b1: stloc.3 - .try { // 1 - IL_00b2: br IL_00e8 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00b7: ldloc.3 - IL_00b8: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00bd: castclass [mscorlib]System.String - IL_00c2: stloc.2 - IL_00c3: nop - IL_00c4: ldloc.2 - IL_00c5: ldloc.0 - IL_00c6: call bool string::op_Equality(string, string) - IL_00cb: brfalse IL_00e7 + .get instance default bool NAnt.Core.Filters.Filter::get_IfDefined () + .set instance default void NAnt.Core.Filters.Filter::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_00d0: nop - IL_00d1: ldstr "NA1179" - IL_00d6: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00db: ldarg.0 - IL_00dc: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00e1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00e6: throw - IL_00e7: nop - IL_00e8: ldloc.3 - IL_00e9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00ee: brtrue IL_00b7 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00f3: leave IL_010e + .get instance default bool NAnt.Core.Filters.Filter::get_UnlessDefined () + .set instance default void NAnt.Core.Filters.Filter::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.Core.Filters.Filter +} - } // end .try 1 - finally { // 1 - IL_00f8: ldloc.3 - IL_00f9: isinst [mscorlib]System.IDisposable - IL_00fe: dup - IL_00ff: stloc.s 4 - IL_0101: brfalse IL_010d +.namespace NAnt.Core.Filters +{ + .class public auto ansi serializable beforefieldinit FilterCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_0106: ldloc.s 4 - IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010d: endfinally - } // end handler 1 - IL_010e: ret - } // end of method IncludeTask::Initialize - // method line 1431 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1369 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x18c00 - // Code size 564 (0x234) - .maxstack 7 - .locals init ( - string V_0, - class [System.Xml]System.Xml.XmlDocument V_1, - string V_2, - class [System.Xml]System.Xml.XmlDocument V_3, - class [System.Xml]System.Xml.XmlDocument V_4, - string V_5, - string V_6, - class [System.Xml]System.Xml.XmlTextReader V_7, - class [System.Xml]System.Xml.XmlAttribute V_8, - class [mscorlib]System.IO.StringWriter V_9, - class [System.Xml]System.Xml.XmlTextWriter V_10, - class [mscorlib]System.Exception V_11) - IL_0000: nop - IL_0001: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - IL_0006: ldarg.0 - IL_0007: call instance string class NAnt.Core.Tasks.IncludeTask::get_BuildFileName() - IL_000c: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0011: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: call bool class [mscorlib]System.IO.File::Exists(string) - IL_001d: brtrue IL_0044 + // Method begins at RVA 0x184f8 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method FilterCollection::.ctor - IL_0022: nop - IL_0023: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0028: ldstr "NA1127" - IL_002d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0032: ldloc.0 - IL_0033: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0038: ldarg.0 - IL_0039: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_003e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0043: throw - IL_0044: ldarg.0 - IL_0045: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_004a: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_004f: ldloc.0 - IL_0050: callvirt instance bool class NAnt.Core.LocationMap::FileIsMapped(string) - IL_0055: brfalse IL_007f + // method line 1370 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection 'value') cil managed + { + // Method begins at RVA 0x18501 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Filters.FilterCollection::AddRange(class NAnt.Core.Filters.FilterCollection) + IL_000e: ret + } // end of method FilterCollection::.ctor - IL_005a: nop - IL_005b: ldarg.0 - IL_005c: ldc.i4 2000 - IL_0061: ldstr "String_DuplicateInclude" - IL_0066: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_006b: ldc.i4.1 - IL_006c: newarr [mscorlib]System.Object - IL_0071: dup - IL_0072: ldc.i4.0 - IL_0073: ldloc.0 - IL_0074: stelem.ref - IL_0075: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_007a: br IL_0233 - - IL_007f: nop - IL_0080: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0085: stloc.1 - IL_0086: ldloc.1 - IL_0087: ldloc.0 - IL_0088: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) - IL_008d: ldarg.0 - IL_008e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0093: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_0098: ldloc.1 - IL_0099: callvirt instance void class NAnt.Core.LocationMap::Add(class [System.Xml]System.Xml.XmlDocument) - IL_009e: ldnull - IL_009f: stloc.1 - IL_00a0: nop - IL_00a1: ldsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames - IL_00a6: ldloc.0 - IL_00a7: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) - IL_00ac: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel - IL_00b1: ldc.i4.1 - IL_00b2: add - IL_00b3: stsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel - IL_00b8: ldarg.0 - IL_00b9: ldc.i4 2000 - IL_00be: ldstr "Including file {0}." - IL_00c3: ldc.i4.1 - IL_00c4: newarr [mscorlib]System.Object - IL_00c9: dup - IL_00ca: ldc.i4.0 - IL_00cb: ldloc.0 - IL_00cc: stelem.ref - IL_00cd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00d2: ldsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - IL_00d7: stloc.2 - IL_00d8: ldloc.0 - IL_00d9: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00de: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - .try { // 3 - .try { // 1 - IL_00e3: nop - IL_00e4: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_00e9: stloc.3 - IL_00ea: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_00ef: stloc.s 4 - IL_00f1: ldarg.0 - IL_00f2: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00f7: callvirt instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() - IL_00fc: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0101: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_0106: stloc.s 5 - IL_0108: ldstr "" - IL_010d: stloc.s 6 - IL_010f: ldloc.0 - IL_0110: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(string) - IL_0115: stloc.s 7 - IL_0117: ldloc.s 7 - IL_0119: ldc.i4.0 - IL_011a: callvirt instance void class [System.Xml]System.Xml.XmlTextReader::set_Namespaces(bool) - IL_011f: ldloc.3 - IL_0120: ldloc.s 7 - IL_0122: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [System.Xml]System.Xml.XmlReader) - IL_0127: ldloc.3 - IL_0128: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_012d: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0132: ldstr "xmlns" - IL_0137: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::RemoveNamedItem(string) - IL_013c: pop - IL_013d: ldloc.s 7 - IL_013f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0144: ldnull - IL_0145: stloc.s 7 - IL_0147: ldloc.s 5 - IL_0149: call bool string::IsNullOrEmpty(string) - IL_014e: brtrue IL_0159 - - IL_0153: nop - IL_0154: ldloc.s 5 - IL_0156: stloc.s 6 - IL_0158: nop - IL_0159: ldloc.s 6 - IL_015b: call bool string::IsNullOrEmpty(string) - IL_0160: brtrue IL_0190 - - IL_0165: nop - IL_0166: ldloc.3 - IL_0167: ldstr "xmlns" - IL_016c: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlDocument::CreateAttribute(string) - IL_0171: stloc.s 8 - IL_0173: ldloc.s 8 - IL_0175: ldloc.s 6 - IL_0177: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) - IL_017c: ldloc.3 - IL_017d: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0182: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0187: ldloc.s 8 - IL_0189: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::Append(class [System.Xml]System.Xml.XmlAttribute) - IL_018e: pop - IL_018f: nop - IL_0190: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() - IL_0195: stloc.s 9 - .try { // 0 - IL_0197: nop - IL_0198: ldloc.s 9 - IL_019a: newobj instance void class [System.Xml]System.Xml.XmlTextWriter::'.ctor'(class [mscorlib]System.IO.TextWriter) - IL_019f: stloc.s 10 - IL_01a1: ldloc.3 - IL_01a2: ldloc.s 10 - IL_01a4: callvirt instance void class [System.Xml]System.Xml.XmlNode::WriteTo(class [System.Xml]System.Xml.XmlWriter) - IL_01a9: ldloc.s 4 - IL_01ab: ldloc.s 9 - IL_01ad: callvirt instance string object::ToString() - IL_01b2: callvirt instance void class [System.Xml]System.Xml.XmlDocument::LoadXml(string) - IL_01b7: ldloc.s 10 - IL_01b9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01be: ldnull - IL_01bf: stloc.s 10 - IL_01c1: nop - IL_01c2: leave IL_01d6 - - } // end .try 0 - finally { // 0 - IL_01c7: ldloc.s 9 - IL_01c9: brfalse IL_01d5 + // method line 1371 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.Filter[] 'value') cil managed + { + // Method begins at RVA 0x18511 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Filters.FilterCollection::AddRange(class NAnt.Core.Filters.Filter[]) + IL_000e: ret + } // end of method FilterCollection::.ctor - IL_01ce: ldloc.s 9 - IL_01d0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01d5: endfinally - } // end handler 0 - IL_01d6: ldarg.0 - IL_01d7: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01dc: ldloc.s 4 - IL_01de: callvirt instance void class NAnt.Core.Project::InitializeProjectDocument(class [System.Xml]System.Xml.XmlDocument) - IL_01e3: nop - IL_01e4: leave IL_0233 + // method line 1372 + .method public hidebysig specialname + instance default class NAnt.Core.Filters.Filter get_Item (int32 index) cil managed + { + // Method begins at RVA 0x18524 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.Filters.Filter V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Filters.Filter + IL_0012: stloc.0 + IL_0013: br IL_0018 - } // end .try 1 - catch class NAnt.Core.BuildException { // 1 - IL_01e9: pop - IL_01ea: nop - IL_01eb: rethrow - } // end handler 1 - catch class [mscorlib]System.Exception { // 2 - IL_01ed: stloc.s 11 - IL_01ef: nop - IL_01f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01f5: ldstr "NA1128" - IL_01fa: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01ff: ldloc.0 - IL_0200: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0205: ldarg.0 - IL_0206: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_020b: ldloc.s 11 - IL_020d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0212: throw - } // end handler 2 - } // end .try 3 - finally { // 3 - IL_0213: nop - IL_0214: ldsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames - IL_0219: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_021e: pop - IL_021f: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel - IL_0224: ldc.i4.1 - IL_0225: sub - IL_0226: stsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel - IL_022b: ldloc.2 - IL_022c: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - IL_0231: nop - IL_0232: endfinally - } // end handler 3 - IL_0233: ret - } // end of method IncludeTask::ExecuteTask + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FilterCollection::get_Item - // method line 1432 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1373 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Filters.Filter 'value') cil managed { - // Method begins at RVA 0x18ea4 - // Code size 27 (0x1b) + // Method begins at RVA 0x1854a + // Code size 15 (0xf) .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() - IL_0005: stsfld class [mscorlib]System.Collections.Stack NAnt.Core.Tasks.IncludeTask::_includedFileNames - IL_000a: ldstr "" - IL_000f: stsfld string NAnt.Core.Tasks.IncludeTask::_currentBasedir - IL_0014: ldc.i4.0 - IL_0015: stsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel - IL_001a: ret - } // end of method IncludeTask::.cctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method FilterCollection::set_Item - .property instance string BuildFileName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 62 75 69 6C 64 66 69 6C 65 01 00 54 02 // ...buildfile..T. - 08 52 65 71 75 69 72 65 64 01 ) // .Required. + // method line 1374 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Filters.Filter item) cil managed + { + // Method begins at RVA 0x1855c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterCollection::Add - .get instance default string NAnt.Core.Tasks.IncludeTask::get_BuildFileName () - .set instance default void NAnt.Core.Tasks.IncludeTask::set_BuildFileName (string 'value') - } - } // end of class NAnt.Core.Tasks.IncludeTask -} + // method line 1375 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.Filter[] items) cil managed + { + // Method begins at RVA 0x18580 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit CallTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 63 61 6C 6C 00 00 ) // ...call.. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.Filters.FilterCollection::Add(class NAnt.Core.Filters.Filter) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - .field private string _target - .field private bool _force - .field private bool _cascade + IL_0021: ret + } // end of method FilterCollection::AddRange - // method line 1433 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1376 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.FilterCollection items) cil managed { - // Method begins at RVA 0x18ec0 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Tasks.CallTask::_cascade - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Task::'.ctor'() - IL_000d: ret - } // end of method CallTask::.ctor + // Method begins at RVA 0x185b0 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - // method line 1434 - .method public hidebysig specialname - instance default string get_TargetName () cil managed + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Filters.FilterCollection::Add(class NAnt.Core.Filters.Filter) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 + + IL_0028: ret + } // end of method FilterCollection::AddRange + + // method line 1377 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Filters.Filter item) cil managed { - // Method begins at RVA 0x18ed0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x185e8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.CallTask::_target - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CallTask::get_TargetName + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterCollection::Contains - // method line 1435 - .method public hidebysig specialname - instance default void set_TargetName (string 'value') cil managed + // method line 1378 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Filters.Filter[] 'array', int32 index) cil managed { - // Method begins at RVA 0x18eeb - // Code size 14 (0xe) + // Method begins at RVA 0x18609 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.CallTask::_target - IL_000d: ret - } // end of method CallTask::set_TargetName + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method FilterCollection::CopyTo - // method line 1436 - .method public hidebysig specialname - instance default bool get_ForceExecute () cil managed + // method line 1379 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Filters.Filter item) cil managed { - // Method begins at RVA 0x18efc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1861c + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.CallTask::_force - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CallTask::get_ForceExecute + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterCollection::IndexOf - // method line 1437 - .method public hidebysig specialname - instance default void set_ForceExecute (bool 'value') cil managed + // method line 1380 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Filters.Filter item) cil managed { - // Method begins at RVA 0x18f17 - // Code size 9 (0x9) + // Method begins at RVA 0x1863d + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.CallTask::_force - IL_0008: ret - } // end of method CallTask::set_ForceExecute + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method FilterCollection::Insert - // method line 1438 - .method public hidebysig specialname - instance default bool get_CascadeDependencies () cil managed + // method line 1381 + .method public hidebysig + instance default class NAnt.Core.Filters.FilterEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x18f24 + // Method begins at RVA 0x18650 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Filters.FilterEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.CallTask::_cascade + IL_0002: newobj instance void class NAnt.Core.Filters.FilterEnumerator::'.ctor'(class NAnt.Core.Filters.FilterCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CallTask::get_CascadeDependencies + } // end of method FilterCollection::GetEnumerator - // method line 1439 - .method public hidebysig specialname - instance default void set_CascadeDependencies (bool 'value') cil managed + // method line 1382 + .method public hidebysig + instance default void Remove (class NAnt.Core.Filters.Filter item) cil managed { - // Method begins at RVA 0x18f3f - // Code size 9 (0x9) + // Method begins at RVA 0x1866b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.CallTask::_cascade - IL_0008: ret - } // end of method CallTask::set_CascadeDependencies + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method FilterCollection::Remove - // method line 1440 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x18f4c - // Code size 173 (0xad) - .maxstack 4 - .locals init ( - class NAnt.Core.Target V_0, - class NAnt.Core.TargetCollection V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance object class NAnt.Core.Element::get_Parent() - IL_0007: isinst NAnt.Core.Target - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_0095 + .property instance class NAnt.Core.Filters.Filter Item (int32) + { + .get instance default class NAnt.Core.Filters.Filter NAnt.Core.Filters.FilterCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Filters.FilterCollection::set_Item (int32 index, class NAnt.Core.Filters.Filter 'value') + } + } // end of class NAnt.Core.Filters.FilterCollection +} - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001a: ldarg.0 - IL_001b: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() - IL_0020: ldarg.0 - IL_0021: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0026: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_002b: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection) - IL_0030: stloc.1 - IL_0031: ldloc.1 - IL_0032: ldloc.0 - IL_0033: callvirt instance string class NAnt.Core.Target::get_Name() - IL_0038: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_003d: brfalse IL_0094 +.namespace NAnt.Core.Filters +{ + .class public auto ansi beforefieldinit FilterEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - IL_0042: nop - IL_0043: ldloc.1 - IL_0044: ldloc.1 - IL_0045: ldloc.0 - IL_0046: callvirt instance string class NAnt.Core.Target::get_Name() - IL_004b: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0050: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) - IL_0055: ldloc.1 - IL_0056: ldloc.1 - IL_0057: ldarg.0 - IL_0058: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() - IL_005d: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0062: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) - IL_0067: bge IL_0093 - - IL_006c: nop - IL_006d: ldstr "Circular dependency: " - IL_0072: ldloc.1 - IL_0073: ldstr " <- " - IL_0078: callvirt instance string class NAnt.Core.TargetCollection::ToString(string) - IL_007d: ldstr " <- " - IL_0082: ldloc.0 - IL_0083: callvirt instance string class NAnt.Core.Target::get_Name() - IL_0088: call string string::Concat(string, string, string, string) - IL_008d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0092: throw - IL_0093: nop - IL_0094: nop - IL_0095: ldarg.0 - IL_0096: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_009b: ldarg.0 - IL_009c: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() - IL_00a1: ldarg.0 - IL_00a2: call instance bool class NAnt.Core.Tasks.CallTask::get_CascadeDependencies() - IL_00a7: callvirt instance void class NAnt.Core.Project::Execute(string, bool) - IL_00ac: ret - } // end of method CallTask::ExecuteTask - - // method line 1441 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 1383 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection arguments) cil managed { - // Method begins at RVA 0x19008 - // Code size 70 (0x46) + // Method begins at RVA 0x1867c + // Code size 22 (0x16) .maxstack 2 .locals init ( - class NAnt.Core.Target V_0, - class NAnt.Core.Target V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Tasks.CallTask::get_TargetName() - IL_0012: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: brfalse IL_0045 - - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: call instance object class NAnt.Core.Element::get_Parent() - IL_0025: isinst NAnt.Core.Target - IL_002a: stloc.1 - IL_002b: ldloc.0 - IL_002c: ldloc.1 - IL_002d: bne.un IL_0044 - - IL_0032: nop - IL_0033: ldstr "Call task cannot call its own parent." - IL_0038: ldarg.0 - IL_0039: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_003e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0043: throw - IL_0044: nop - IL_0045: ret - } // end of method CallTask::Initialize - - .property instance string TargetName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re - 71 75 69 72 65 64 01 ) // quired. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Tasks.CallTask::get_TargetName () - .set instance default void NAnt.Core.Tasks.CallTask::set_TargetName (string 'value') - } - .property instance bool ForceExecute () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 66 6F 72 63 65 00 00 ) // ...force.. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 52 55 73 65 20 74 68 65 20 22 63 61 73 63 // ..RUse the "casc - 61 73 65 22 20 61 74 74 72 69 62 75 74 65 20 74 // ase" attribute t - 6F 20 63 6F 6E 74 72 6F 6C 20 77 68 65 74 68 65 // o control whethe - 72 20 64 65 70 65 6E 64 65 6E 63 69 65 73 20 73 // r dependencies s - 68 6F 75 6C 64 20 62 65 20 72 65 2D 65 78 65 63 // hould be re-exec - 75 74 65 64 2E 00 00 00 ) // uted.... - - .get instance default bool NAnt.Core.Tasks.CallTask::get_ForceExecute () - .set instance default void NAnt.Core.Tasks.CallTask::set_ForceExecute (bool 'value') - } - .property instance bool CascadeDependencies () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 63 61 73 63 61 64 65 00 00 ) // ...cascade.. - - .get instance default bool NAnt.Core.Tasks.CallTask::get_CascadeDependencies () - .set instance default void NAnt.Core.Tasks.CallTask::set_CascadeDependencies (bool 'value') - } - } // end of class NAnt.Core.Tasks.CallTask -} - -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit AttribTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 61 74 74 72 69 62 00 00 ) // ...attrib.. - - .field private class [mscorlib]System.IO.FileInfo _file - .field private class NAnt.Core.Types.FileSet _fileset - .field private bool _archiveAttrib - .field private bool _hiddenAttrib - .field private bool _normalAttrib - .field private bool _readOnlyAttrib - .field private bool _systemAttrib - - // method line 1442 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1905a - // Code size 18 (0x12) - .maxstack 8 + class [mscorlib]System.Collections.IEnumerable V_0) IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method AttribTask::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator + IL_0015: ret + } // end of method FilterEnumerator::.ctor - // method line 1443 + // method line 1384 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default class NAnt.Core.Filters.Filter get_Current () cil managed { - // Method begins at RVA 0x19070 - // Code size 15 (0xf) + // Method begins at RVA 0x186a0 + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Filters.Filter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.AttribTask::_file - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_File + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.Filters.Filter + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 1444 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x1908b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.AttribTask::_file - IL_0008: ret - } // end of method AttribTask::set_File + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FilterEnumerator::get_Current - // method line 1445 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_AttribFileSet () cil managed + // method line 1385 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x19098 - // Code size 15 (0xf) + // Method begins at RVA 0x186c8 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_AttribFileSet + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1446 - .method public hidebysig specialname - instance default void set_AttribFileSet (class NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x190b3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset - IL_0008: ret - } // end of method AttribTask::set_AttribFileSet + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterEnumerator::System.Collections.IEnumerator.get_Current - // method line 1447 - .method public hidebysig specialname - instance default bool get_ArchiveAttrib () cil managed + // method line 1386 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x190c0 - // Code size 15 (0xf) + // Method begins at RVA 0x186e8 + // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_archiveAttrib - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_ArchiveAttrib + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1448 - .method public hidebysig specialname - instance default void set_ArchiveAttrib (bool 'value') cil managed - { - // Method begins at RVA 0x190db - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_archiveAttrib - IL_0008: ret - } // end of method AttribTask::set_ArchiveAttrib + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterEnumerator::MoveNext - // method line 1449 - .method public hidebysig specialname - instance default bool get_HiddenAttrib () cil managed + // method line 1387 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x190e8 - // Code size 15 (0xf) + // Method begins at RVA 0x18708 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_hiddenAttrib - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_HiddenAttrib + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1450 - .method public hidebysig specialname - instance default void set_HiddenAttrib (bool 'value') cil managed + // method line 1388 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x19103 - // Code size 9 (0x9) + // Method begins at RVA 0x18728 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_hiddenAttrib - IL_0008: ret - } // end of method AttribTask::set_HiddenAttrib + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method FilterEnumerator::Reset - // method line 1451 - .method public hidebysig specialname - instance default bool get_NormalAttrib () cil managed + // method line 1389 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x19110 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x18736 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_normalAttrib - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Filters.FilterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method FilterEnumerator::System.Collections.IEnumerator.Reset - IL_000d: ldloc.0 + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Filters.FilterEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.Filters.Filter Current () + { + .get instance default class NAnt.Core.Filters.Filter NAnt.Core.Filters.FilterEnumerator::get_Current () + } + } // end of class NAnt.Core.Filters.FilterEnumerator +} + +.namespace NAnt.Core.Filters +{ + .class private auto ansi beforefieldinit PhysicalTextReader + extends NAnt.Core.Filters.Filter + { + + // method line 1390 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.IO.TextReader textReader) cil managed + { + // Method begins at RVA 0x18744 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Filters.Filter::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class [mscorlib]System.IO.TextReader) IL_000e: ret - } // end of method AttribTask::get_NormalAttrib + } // end of method PhysicalTextReader::.ctor - // method line 1452 - .method public hidebysig specialname - instance default void set_NormalAttrib (bool 'value') cil managed + } // end of class NAnt.Core.Filters.PhysicalTextReader +} + +.namespace NAnt.Core.Filters +{ + .class public auto ansi beforefieldinit ExpandProperties + extends NAnt.Core.Filters.Filter + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 10 65 78 70 61 6E 64 70 72 6F 70 65 72 74 // ...expandpropert + 69 65 73 00 00 ) // ies.. + + .field private class [mscorlib]System.Text.StringBuilder _buffer + .field private static literal unsigned int16 MAX_RELIABLE_EXPRESSION_LENGTH = int16(0x00000800) + .field private static literal int32 BUFFER_LENGTH = int32(0x00000fff) + + // method line 1391 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1912b - // Code size 9 (0x9) + // Method begins at RVA 0x18754 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_normalAttrib - IL_0008: ret - } // end of method AttribTask::set_NormalAttrib + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Filters.Filter::'.ctor'() + IL_0006: ret + } // end of method ExpandProperties::.ctor - // method line 1453 - .method public hidebysig specialname - instance default bool get_ReadOnlyAttrib () cil managed + // method line 1392 + .method private hidebysig specialname + instance default bool get_AtEnd () cil managed { - // Method begins at RVA 0x19138 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1875c + // Code size 23 (0x17) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_readOnlyAttrib - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_0007: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_ReadOnlyAttrib + IL_0015: ldloc.0 + IL_0016: ret + } // end of method ExpandProperties::get_AtEnd - // method line 1454 - .method public hidebysig specialname - instance default void set_ReadOnlyAttrib (bool 'value') cil managed + // method line 1393 + .method public virtual hidebysig + instance default void InitializeFilter () cil managed { - // Method begins at RVA 0x19153 - // Code size 9 (0x9) + // Method begins at RVA 0x1877f + // Code size 24 (0x18) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_readOnlyAttrib - IL_0008: ret - } // end of method AttribTask::set_ReadOnlyAttrib + IL_0002: ldc.i4 4095 + IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) + IL_000c: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_0011: ldarg.0 + IL_0012: call instance void class NAnt.Core.Filters.ExpandProperties::ReplenishBuffer() + IL_0017: ret + } // end of method ExpandProperties::InitializeFilter - // method line 1455 - .method public hidebysig specialname - instance default bool get_SystemAttrib () cil managed + // method line 1394 + .method public virtual hidebysig + instance default int32 Read () cil managed { - // Method begins at RVA 0x19160 - // Code size 15 (0xf) + // Method begins at RVA 0x18798 + // Code size 36 (0x24) .maxstack 1 .locals init ( - bool V_0) + int32 V_0, + int32 V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_systemAttrib + IL_0002: callvirt instance int32 class NAnt.Core.Filters.ChainableReader::Peek() IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: ldarg.0 + IL_0009: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() + IL_000e: brtrue IL_001b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_SystemAttrib + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: call instance void class NAnt.Core.Filters.ExpandProperties::Advance() + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: stloc.1 + IL_001d: br IL_0022 - // method line 1456 - .method public hidebysig specialname - instance default void set_SystemAttrib (bool 'value') cil managed - { - // Method begins at RVA 0x1917b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_systemAttrib - IL_0008: ret - } // end of method AttribTask::set_SystemAttrib + IL_0022: ldloc.1 + IL_0023: ret + } // end of method ExpandProperties::Read - // method line 1457 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1395 + .method public virtual hidebysig + instance default int32 Peek () cil managed { - // Method begins at RVA 0x19188 - // Code size 506 (0x1fa) - .maxstack 8 + // Method begins at RVA 0x187c8 + // Code size 41 (0x29) + .maxstack 2 .locals init ( - valuetype [mscorlib]System.IO.FileAttributes V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - valuetype [mscorlib]System.IO.FileAttributes V_4, - string V_5, - class [System]System.Collections.Specialized.StringEnumerator V_6, - class [mscorlib]System.IDisposable V_7) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e + IL_0002: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() + IL_0007: brfalse IL_0014 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_0018: ldarg.0 - IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.AttribTask::get_File() - IL_0034: brfalse IL_0057 + IL_000c: nop + IL_000d: ldc.i4.m1 + IL_000e: stloc.0 + IL_000f: br IL_0027 - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_0040: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0045: ldarg.0 - IL_0046: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.AttribTask::get_File() - IL_004b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0050: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0055: pop - IL_0056: nop - IL_0057: ldarg.0 - IL_0058: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_005d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0062: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0067: ldc.i4.0 - IL_0068: ble IL_0105 - - IL_006d: nop - IL_006e: ldarg.0 - IL_006f: call instance valuetype [mscorlib]System.IO.FileAttributes class NAnt.Core.Tasks.AttribTask::GetFileAttributes() - IL_0074: stloc.0 - IL_0075: ldarg.0 - IL_0076: ldc.i4 3000 - IL_007b: ldstr "Setting file attributes for {0} files to {1}." - IL_0080: ldc.i4.2 - IL_0081: newarr [mscorlib]System.Object - IL_0086: dup - IL_0087: ldc.i4.0 - IL_0088: ldarg.0 - IL_0089: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_008e: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0093: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0098: box [mscorlib]System.Int32 - IL_009d: stelem.ref - IL_009e: dup - IL_009f: ldc.i4.1 - IL_00a0: ldloca.s 0 - IL_00a2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a7: constrained. [mscorlib]System.IO.FileAttributes - IL_00ad: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) - IL_00b2: stelem.ref - IL_00b3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00b8: nop - IL_00b9: ldarg.0 - IL_00ba: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_00bf: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_00c4: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00c9: stloc.2 - .try { // 0 - IL_00ca: br IL_00e0 - - IL_00cf: ldloc.2 - IL_00d0: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00d5: stloc.1 - IL_00d6: nop - IL_00d7: ldarg.0 - IL_00d8: ldloc.1 - IL_00d9: ldloc.0 - IL_00da: call instance void class NAnt.Core.Tasks.AttribTask::SetFileAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_00df: nop - IL_00e0: ldloc.2 - IL_00e1: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00e6: brtrue IL_00cf - - IL_00eb: leave IL_0104 - - } // end .try 0 - finally { // 0 - IL_00f0: ldloc.2 - IL_00f1: isinst [mscorlib]System.IDisposable - IL_00f6: dup - IL_00f7: stloc.3 - IL_00f8: brfalse IL_0103 - - IL_00fd: ldloc.3 - IL_00fe: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0103: endfinally - } // end handler 0 - IL_0104: nop - IL_0105: ldarg.0 - IL_0106: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_010b: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0110: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0115: ldc.i4.0 - IL_0116: ble IL_01bd - - IL_011b: nop - IL_011c: ldarg.0 - IL_011d: call instance valuetype [mscorlib]System.IO.FileAttributes class NAnt.Core.Tasks.AttribTask::GetDirectoryAttributes() - IL_0122: stloc.s 4 - IL_0124: ldarg.0 - IL_0125: ldc.i4 3000 - IL_012a: ldstr "Setting attributes for {0} directories to {1}." - IL_012f: ldc.i4.2 - IL_0130: newarr [mscorlib]System.Object - IL_0135: dup - IL_0136: ldc.i4.0 - IL_0137: ldarg.0 - IL_0138: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_013d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0142: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0147: box [mscorlib]System.Int32 - IL_014c: stelem.ref - IL_014d: dup - IL_014e: ldc.i4.1 - IL_014f: ldloca.s 4 - IL_0151: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0156: constrained. [mscorlib]System.IO.FileAttributes - IL_015c: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) - IL_0161: stelem.ref - IL_0162: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0167: nop - IL_0168: ldarg.0 - IL_0169: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_016e: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0173: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0178: stloc.s 6 - .try { // 1 - IL_017a: br IL_0194 - - IL_017f: ldloc.s 6 - IL_0181: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0186: stloc.s 5 - IL_0188: nop - IL_0189: ldarg.0 - IL_018a: ldloc.s 5 - IL_018c: ldloc.s 4 - IL_018e: call instance void class NAnt.Core.Tasks.AttribTask::SetDirectoryAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_0193: nop - IL_0194: ldloc.s 6 - IL_0196: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_019b: brtrue IL_017f - - IL_01a0: leave IL_01bc + IL_0014: nop + IL_0015: ldarg.0 + IL_0016: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_001b: ldc.i4.0 + IL_001c: callvirt instance char class [mscorlib]System.Text.StringBuilder::get_Chars(int32) + IL_0021: stloc.0 + IL_0022: br IL_0027 - } // end .try 1 - finally { // 1 - IL_01a5: ldloc.s 6 - IL_01a7: isinst [mscorlib]System.IDisposable - IL_01ac: dup - IL_01ad: stloc.s 7 - IL_01af: brfalse IL_01bb + IL_0027: ldloc.0 + IL_0028: ret + } // end of method ExpandProperties::Peek - IL_01b4: ldloc.s 7 - IL_01b6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01bb: endfinally - } // end handler 1 - IL_01bc: nop - IL_01bd: ldarg.0 - IL_01be: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_01c3: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_01c8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_01cd: brtrue IL_01f9 + // method line 1396 + .method private hidebysig + instance default void Advance () cil managed + { + // Method begins at RVA 0x18800 + // Code size 73 (0x49) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() + IL_0007: brfalse IL_001d - IL_01d2: ldarg.0 - IL_01d3: call instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_01d8: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_01dd: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_01e2: brtrue IL_01f9 + IL_000c: nop + IL_000d: ldstr "String_EndOfOutput" + IL_0012: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0017: newobj instance void class [mscorlib]System.IndexOutOfRangeException::'.ctor'(string) + IL_001c: throw + IL_001d: ldarg.0 + IL_001e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_0023: ldc.i4.0 + IL_0024: ldc.i4.1 + IL_0025: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Remove(int32, int32) + IL_002a: pop + IL_002b: ldarg.0 + IL_002c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_0031: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0036: ldc.i4 2047 + IL_003b: bne.un IL_0048 - IL_01e7: nop - IL_01e8: ldarg.0 - IL_01e9: ldc.i4 2000 - IL_01ee: ldstr "No matching files or directories found." - IL_01f3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_01f8: nop - IL_01f9: ret - } // end of method AttribTask::ExecuteTask + IL_0040: nop + IL_0041: ldarg.0 + IL_0042: call instance void class NAnt.Core.Filters.ExpandProperties::ReplenishBuffer() + IL_0047: nop + IL_0048: ret + } // end of method ExpandProperties::Advance - // method line 1458 + // method line 1397 .method private hidebysig - instance default valuetype [mscorlib]System.IO.FileAttributes GetFileAttributes () cil managed + instance default void ReplenishBuffer () cil managed { - // Method begins at RVA 0x193ac - // Code size 141 (0x8d) - .maxstack 2 + // Method begins at RVA 0x18858 + // Code size 273 (0x111) + .maxstack 5 .locals init ( - valuetype [mscorlib]System.IO.FileAttributes V_0, - valuetype [mscorlib]System.IO.FileAttributes V_1) + bool V_0, + int32 V_1, + string V_2, + int32 V_3, + int32 V_4, + string V_5) IL_0000: nop - IL_0001: ldc.i4.0 + IL_0001: ldc.i4.1 IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance bool class NAnt.Core.Tasks.AttribTask::get_NormalAttrib() - IL_0009: brfalse IL_001b - - IL_000e: nop - IL_000f: ldc.i4 128 - IL_0014: stloc.0 - IL_0015: nop - IL_0016: br IL_0062 + IL_0003: br IL_0031 - IL_001b: nop - IL_001c: ldarg.0 - IL_001d: call instance bool class NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib() - IL_0022: brfalse IL_002e + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_000f: stloc.1 + IL_0010: ldloc.1 + IL_0011: ldc.i4.m1 + IL_0012: beq IL_002c - IL_0027: nop - IL_0028: ldloc.0 - IL_0029: ldc.i4.s 0x20 - IL_002b: or - IL_002c: stloc.0 - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance bool class NAnt.Core.Tasks.AttribTask::get_HiddenAttrib() - IL_0034: brfalse IL_003f + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_001e: ldloc.1 + IL_001f: conv.u2 + IL_0020: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0025: pop + IL_0026: nop + IL_0027: br IL_0030 - IL_0039: nop - IL_003a: ldloc.0 - IL_003b: ldc.i4.2 - IL_003c: or - IL_003d: stloc.0 - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: call instance bool class NAnt.Core.Tasks.AttribTask::get_ReadOnlyAttrib() - IL_0045: brfalse IL_0050 + IL_002c: nop + IL_002d: ldc.i4.0 + IL_002e: stloc.0 + IL_002f: nop + IL_0030: nop + IL_0031: ldarg.0 + IL_0032: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_0037: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_003c: ldc.i4 4095 + IL_0041: bge IL_004c - IL_004a: nop - IL_004b: ldloc.0 - IL_004c: ldc.i4.1 - IL_004d: or - IL_004e: stloc.0 - IL_004f: nop - IL_0050: ldarg.0 - IL_0051: call instance bool class NAnt.Core.Tasks.AttribTask::get_SystemAttrib() - IL_0056: brfalse IL_0061 + IL_0046: ldloc.0 + IL_0047: brtrue IL_0008 - IL_005b: nop - IL_005c: ldloc.0 - IL_005d: ldc.i4.4 - IL_005e: or - IL_005f: stloc.0 - IL_0060: nop - IL_0061: nop - IL_0062: ldtoken [mscorlib]System.IO.FileAttributes - IL_0067: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_006c: ldloc.0 - IL_006d: box [mscorlib]System.IO.FileAttributes - IL_0072: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0077: brtrue IL_0084 + IL_004c: ldarg.0 + IL_004d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_0052: callvirt instance string object::ToString() + IL_0057: stloc.2 + IL_0058: ldloc.2 + IL_0059: ldstr "${" + IL_005e: callvirt instance int32 string::LastIndexOf(string) + IL_0063: stloc.3 + IL_0064: ldloc.2 + IL_0065: ldc.i4.s 0x7d + IL_0067: callvirt instance int32 string::LastIndexOf(char) + IL_006c: stloc.s 4 + IL_006e: ldloc.s 4 + IL_0070: ldloc.3 + IL_0071: bge IL_00d7 - IL_007c: nop - IL_007d: ldc.i4 128 - IL_0082: stloc.0 - IL_0083: nop - IL_0084: ldloc.0 - IL_0085: stloc.1 - IL_0086: br IL_008b + IL_0076: nop + IL_0077: ldarg.0 + IL_0078: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_007d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0082: ldloc.2 + IL_0083: ldc.i4.0 + IL_0084: ldloc.3 + IL_0085: callvirt instance string string::Substring(int32, int32) + IL_008a: ldarg.0 + IL_008b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0090: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_0095: stloc.s 5 + IL_0097: ldloc.2 + IL_0098: ldloc.3 + IL_0099: callvirt instance string string::Substring(int32) + IL_009e: stloc.2 + IL_009f: ldarg.0 + IL_00a0: ldloc.s 5 + IL_00a2: ldc.i4 4095 + IL_00a7: ldloc.s 5 + IL_00a9: callvirt instance int32 string::get_Length() + IL_00ae: ldloc.2 + IL_00af: callvirt instance int32 string::get_Length() + IL_00b4: add + IL_00b5: call int32 class [mscorlib]System.Math::Max(int32, int32) + IL_00ba: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string, int32) + IL_00bf: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_00c4: ldarg.0 + IL_00c5: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_00ca: ldloc.2 + IL_00cb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00d0: pop + IL_00d1: nop + IL_00d2: br IL_0110 - IL_008b: ldloc.1 - IL_008c: ret - } // end of method AttribTask::GetFileAttributes + IL_00d7: nop + IL_00d8: ldarg.0 + IL_00d9: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00de: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00e3: ldloc.2 + IL_00e4: ldarg.0 + IL_00e5: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00ea: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_00ef: stloc.s 5 + IL_00f1: ldarg.0 + IL_00f2: ldloc.s 5 + IL_00f4: ldc.i4 4095 + IL_00f9: ldloc.s 5 + IL_00fb: callvirt instance int32 string::get_Length() + IL_0100: call int32 class [mscorlib]System.Math::Max(int32, int32) + IL_0105: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string, int32) + IL_010a: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ExpandProperties::_buffer + IL_010f: nop + IL_0110: ret + } // end of method ExpandProperties::ReplenishBuffer - // method line 1459 - .method private hidebysig - instance default void SetFileAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed - { - // Method begins at RVA 0x19448 - // Code size 114 (0x72) - .maxstack 5 - .locals init ( - class [mscorlib]System.Exception V_0, - string V_1) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldc.i4 2000 - IL_0008: ldarg.1 - IL_0009: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_000e: ldarg.1 - IL_000f: ldarg.2 - IL_0010: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_0015: nop - IL_0016: leave IL_0071 + .property instance bool AtEnd () + { + .get instance default bool NAnt.Core.Filters.ExpandProperties::get_AtEnd () + } + } // end of class NAnt.Core.Filters.ExpandProperties +} - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_001b: stloc.0 - IL_001c: nop - IL_001d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0022: ldstr "NA1102" - IL_0027: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_002c: ldarg.1 - IL_002d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0032: stloc.1 - IL_0033: ldarg.0 - IL_0034: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0039: brfalse IL_004d +.namespace NAnt.Core.Filters +{ + .class public auto ansi beforefieldinit TabsToSpaces + extends NAnt.Core.Filters.Filter + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0C 74 61 62 73 74 6F 73 70 61 63 65 73 00 // ...tabstospaces. + 00 ) // . - IL_003e: nop - IL_003f: ldloc.1 - IL_0040: ldarg.0 - IL_0041: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0046: ldloc.0 - IL_0047: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_004c: throw - IL_004d: nop - IL_004e: ldarg.0 - IL_004f: ldc.i4 2000 - IL_0054: ldloc.1 - IL_0055: ldstr " " - IL_005a: ldloc.0 - IL_005b: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0060: call string string::Concat(string, string, string) - IL_0065: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_006a: nop - IL_006b: nop - IL_006c: leave IL_0071 + .field private int32 _tabLength + .field private int32 _spacesRemaining + .field private class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate ReadChar - } // end handler 0 - IL_0071: ret - } // end of method AttribTask::SetFileAttributes + // method line 1398 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x18975 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.8 + IL_0002: stfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Filters.Filter::'.ctor'() + IL_000d: ret + } // end of method TabsToSpaces::.ctor - // method line 1460 - .method private hidebysig - instance default valuetype [mscorlib]System.IO.FileAttributes GetDirectoryAttributes () cil managed + // method line 1399 + .method public hidebysig specialname + instance default int32 get_TabLength () cil managed { - // Method begins at RVA 0x194d8 - // Code size 95 (0x5f) - .maxstack 2 + // Method begins at RVA 0x18984 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - valuetype [mscorlib]System.IO.FileAttributes V_0, - valuetype [mscorlib]System.IO.FileAttributes V_1) + int32 V_0) IL_0000: nop - IL_0001: ldc.i4.s 0x10 - IL_0003: stloc.0 - IL_0004: ldarg.0 - IL_0005: call instance bool class NAnt.Core.Tasks.AttribTask::get_NormalAttrib() - IL_000a: brtrue IL_0056 - - IL_000f: nop - IL_0010: ldarg.0 - IL_0011: call instance bool class NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib() - IL_0016: brfalse IL_0022 + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001b: nop - IL_001c: ldloc.0 - IL_001d: ldc.i4.s 0x20 - IL_001f: or - IL_0020: stloc.0 - IL_0021: nop - IL_0022: ldarg.0 - IL_0023: call instance bool class NAnt.Core.Tasks.AttribTask::get_HiddenAttrib() - IL_0028: brfalse IL_0033 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TabsToSpaces::get_TabLength - IL_002d: nop - IL_002e: ldloc.0 - IL_002f: ldc.i4.2 - IL_0030: or - IL_0031: stloc.0 - IL_0032: nop - IL_0033: ldarg.0 - IL_0034: call instance bool class NAnt.Core.Tasks.AttribTask::get_ReadOnlyAttrib() - IL_0039: brfalse IL_0044 - - IL_003e: nop - IL_003f: ldloc.0 - IL_0040: ldc.i4.1 - IL_0041: or - IL_0042: stloc.0 - IL_0043: nop - IL_0044: ldarg.0 - IL_0045: call instance bool class NAnt.Core.Tasks.AttribTask::get_SystemAttrib() - IL_004a: brfalse IL_0055 + // method line 1400 + .method public hidebysig specialname + instance default void set_TabLength (int32 'value') cil managed + { + // Method begins at RVA 0x1899f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength + IL_0008: ret + } // end of method TabsToSpaces::set_TabLength - IL_004f: nop - IL_0050: ldloc.0 - IL_0051: ldc.i4.4 - IL_0052: or - IL_0053: stloc.0 - IL_0054: nop - IL_0055: nop - IL_0056: ldloc.0 - IL_0057: stloc.1 - IL_0058: br IL_005d + // method line 1401 + .method public virtual hidebysig + instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed + { + // Method begins at RVA 0x189a9 + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) + IL_0008: ldarg.0 + IL_0009: ldarg.0 + IL_000a: ldftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0010: newobj instance void class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate::'.ctor'(object, native int) + IL_0015: stfld class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate NAnt.Core.Filters.TabsToSpaces::ReadChar + IL_001a: ret + } // end of method TabsToSpaces::Chain - IL_005d: ldloc.1 - IL_005e: ret - } // end of method AttribTask::GetDirectoryAttributes + // method line 1402 + .method public virtual hidebysig + instance default int32 Peek () cil managed + { + // Method begins at RVA 0x189c5 + // Code size 17 (0x11) + .maxstack 8 + IL_0000: nop + IL_0001: ldstr "String_PeekNotSupported" + IL_0006: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_000b: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_0010: throw + } // end of method TabsToSpaces::Peek - // method line 1461 - .method private hidebysig - instance default void SetDirectoryAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed + // method line 1403 + .method public virtual hidebysig + instance default int32 Read () cil managed { - // Method begins at RVA 0x19544 - // Code size 139 (0x8b) - .maxstack 5 + // Method begins at RVA 0x189d8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.Exception V_0, - string V_1) + int32 V_0) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0008: brfalse IL_0027 - - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldc.i4 2000 - IL_0014: ldarg.1 - IL_0015: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_001a: ldarg.1 - IL_001b: ldarg.2 - IL_001c: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_0021: nop - IL_0022: br IL_002e - - IL_0027: nop - IL_0028: newobj instance void class [mscorlib]System.IO.DirectoryNotFoundException::'.ctor'() - IL_002d: throw - IL_002e: nop - IL_002f: leave IL_008a + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate NAnt.Core.Filters.TabsToSpaces::ReadChar + IL_0008: call instance int32 class NAnt.Core.Filters.TabsToSpaces::GetNextCharacter(class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate) + IL_000d: stloc.0 + IL_000e: br IL_0013 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0034: stloc.0 - IL_0035: nop - IL_0036: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003b: ldstr "NA1101" - IL_0040: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0045: ldarg.1 - IL_0046: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_004b: stloc.1 - IL_004c: ldarg.0 - IL_004d: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0052: brfalse IL_0066 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TabsToSpaces::Read - IL_0057: nop - IL_0058: ldloc.1 - IL_0059: ldarg.0 - IL_005a: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_005f: ldloc.0 - IL_0060: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0065: throw - IL_0066: nop - IL_0067: ldarg.0 - IL_0068: ldc.i4 2000 - IL_006d: ldloc.1 - IL_006e: ldstr " " - IL_0073: ldloc.0 - IL_0074: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0079: call string string::Concat(string, string, string) - IL_007e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0083: nop - IL_0084: nop - IL_0085: leave IL_008a + // method line 1404 + .method private hidebysig + instance default int32 GetNextCharacter (class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate AcquireChar) cil managed + { + // Method begins at RVA 0x189fc + // Code size 84 (0x54) + .maxstack 3 + .locals init ( + int32 V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining + IL_0007: brtrue IL_003b - } // end handler 0 - IL_008a: ret - } // end of method AttribTask::SetDirectoryAttributes + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: callvirt instance int32 class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate::Invoke() + IL_0013: stloc.0 + IL_0014: ldloc.0 + IL_0015: ldc.i4.s 0x09 + IL_0017: bne.un IL_0033 - .property instance class [mscorlib]System.IO.FileInfo File () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: ldarg.0 + IL_001f: call instance int32 class NAnt.Core.Filters.TabsToSpaces::get_TabLength() + IL_0024: ldc.i4.1 + IL_0025: sub + IL_0026: stfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining + IL_002b: ldc.i4.s 0x20 + IL_002d: stloc.1 + IL_002e: br IL_0052 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.AttribTask::get_File () - .set instance default void NAnt.Core.Tasks.AttribTask::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class NAnt.Core.Types.FileSet AttribFileSet () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. + IL_0033: nop + IL_0034: ldloc.0 + IL_0035: stloc.1 + IL_0036: br IL_0052 - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::get_AttribFileSet () - .set instance default void NAnt.Core.Tasks.AttribTask::set_AttribFileSet (class NAnt.Core.Types.FileSet 'value') - } - .property instance bool ArchiveAttrib () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 61 72 63 68 69 76 65 00 00 ) // ...archive.. + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: dup + IL_003e: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining + IL_0043: ldc.i4.1 + IL_0044: sub + IL_0045: stfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining + IL_004a: ldc.i4.s 0x20 + IL_004c: stloc.1 + IL_004d: br IL_0052 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0052: ldloc.1 + IL_0053: ret + } // end of method TabsToSpaces::GetNextCharacter - .get instance default bool NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_ArchiveAttrib (bool 'value') - } - .property instance bool HiddenAttrib () + .property instance int32 TabLength () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 68 69 64 64 65 6E 00 00 ) // ...hidden.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 74 61 62 6C 65 6E 67 74 68 00 00 ) // ...tablength.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = ( + 01 00 02 00 54 08 08 4D 69 6E 56 61 6C 75 65 01 // ....T..MinValue. + 00 00 00 54 08 08 4D 61 78 56 61 6C 75 65 64 00 // ...T..MaxValued. + 00 00 ) // .. - .get instance default bool NAnt.Core.Tasks.AttribTask::get_HiddenAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_HiddenAttrib (bool 'value') + .get instance default int32 NAnt.Core.Filters.TabsToSpaces::get_TabLength () + .set instance default void NAnt.Core.Filters.TabsToSpaces::set_TabLength (int32 'value') } - .property instance bool NormalAttrib () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6E 6F 72 6D 61 6C 00 00 ) // ...normal.. + .class nested private auto ansi sealed AcquireCharDelegate + extends [mscorlib]System.MulticastDelegate + { - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1405 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::.ctor - .get instance default bool NAnt.Core.Tasks.AttribTask::get_NormalAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_NormalAttrib (bool 'value') - } - .property instance bool ReadOnlyAttrib () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 72 65 61 64 6F 6E 6C 79 00 00 ) // ...readonly.. + // method line 1406 + .method public virtual hidebysig newslot + instance default int32 Invoke () runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::Invoke - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1407 + .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 AcquireCharDelegate::BeginInvoke - .get instance default bool NAnt.Core.Tasks.AttribTask::get_ReadOnlyAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_ReadOnlyAttrib (bool 'value') - } - .property instance bool SystemAttrib () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 73 79 73 74 65 6D 00 00 ) // ...system.. + // method line 1408 + .method public virtual hidebysig newslot + instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::EndInvoke - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end of class AcquireCharDelegate - .get instance default bool NAnt.Core.Tasks.AttribTask::get_SystemAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_SystemAttrib (bool 'value') - } - } // end of class NAnt.Core.Tasks.AttribTask + } // end of class NAnt.Core.Filters.TabsToSpaces } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit UpToDateTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit ReplaceTokens + extends NAnt.Core.Filters.Filter { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 75 70 74 6F 64 61 74 65 00 00 ) // ...uptodate.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0D 72 65 70 6C 61 63 65 74 6F 6B 65 6E 73 // ...replacetokens + 00 00 ) // .. - .field private string _propertyName - .field private class NAnt.Core.Types.FileSet _sourceFiles - .field private class NAnt.Core.Types.FileSet _targetFiles + .field private char _beginToken + .field private char _endToken + .field private class NAnt.Core.Types.Token[] _tokens + .field private class [System]System.Collections.Specialized.StringDictionary _tokenValues + .field private class [mscorlib]System.Text.StringBuilder _tokenString + .field private int32 _maxTokenLength + .field private string _outputBuffer + .field private bool _endStreamAfterBuffer + .field private int32 _bufferPosition + .field private bool _unknownToken + .field private bool _tokenNotFound + .field private bool _ignoreCase + .field private class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate ReadChar - // method line 1462 + // method line 1409 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x195ec - // Code size 7 (0x7) + // Method begins at RVA 0x18a5c + // Code size 48 (0x30) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method UpToDateTask::.ctor + IL_0001: ldc.i4.s 0x40 + IL_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_beginToken + IL_0008: ldarg.0 + IL_0009: ldc.i4.s 0x40 + IL_000b: stfld char NAnt.Core.Filters.ReplaceTokens::_endToken + IL_0010: ldarg.0 + IL_0011: newobj instance void class [System]System.Collections.Specialized.StringDictionary::'.ctor'() + IL_0016: stfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues + IL_001b: ldarg.0 + IL_001c: ldc.i4.1 + IL_001d: stfld bool NAnt.Core.Filters.ReplaceTokens::_unknownToken + IL_0022: ldarg.0 + IL_0023: ldc.i4.1 + IL_0024: stfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound + IL_0029: ldarg.0 + IL_002a: call instance void class NAnt.Core.Filters.Filter::'.ctor'() + IL_002f: ret + } // end of method ReplaceTokens::.ctor - // method line 1463 + // method line 1410 .method public hidebysig specialname - instance default string get_PropertyName () cil managed + instance default char get_BeginToken () cil managed { - // Method begins at RVA 0x195f4 + // Method begins at RVA 0x18a90 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + char V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.UpToDateTask::_propertyName + IL_0002: ldfld char NAnt.Core.Filters.ReplaceTokens::_beginToken IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method UpToDateTask::get_PropertyName + } // end of method ReplaceTokens::get_BeginToken - // method line 1464 + // method line 1411 .method public hidebysig specialname - instance default void set_PropertyName (string 'value') cil managed + instance default void set_BeginToken (char 'value') cil managed { - // Method begins at RVA 0x1960f - // Code size 14 (0xe) + // Method begins at RVA 0x18aab + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.UpToDateTask::_propertyName - IL_000d: ret - } // end of method UpToDateTask::set_PropertyName + IL_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_beginToken + IL_0008: ret + } // end of method ReplaceTokens::set_BeginToken - // method line 1465 + // method line 1412 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_SourceFiles () cil managed + instance default char get_EndToken () cil managed { - // Method begins at RVA 0x19620 + // Method begins at RVA 0x18ab8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + char V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_sourceFiles + IL_0002: ldfld char NAnt.Core.Filters.ReplaceTokens::_endToken IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method UpToDateTask::get_SourceFiles + } // end of method ReplaceTokens::get_EndToken - // method line 1466 + // method line 1413 .method public hidebysig specialname - instance default void set_SourceFiles (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_EndToken (char 'value') cil managed { - // Method begins at RVA 0x1963b + // Method begins at RVA 0x18ad3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_sourceFiles + IL_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_endToken IL_0008: ret - } // end of method UpToDateTask::set_SourceFiles + } // end of method ReplaceTokens::set_EndToken - // method line 1467 + // method line 1414 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TargetFiles () cil managed + instance default class NAnt.Core.Types.Token[] get_Tokens () cil managed { - // Method begins at RVA 0x19648 + // Method begins at RVA 0x18ae0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class NAnt.Core.Types.Token[] V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_targetFiles + IL_0002: ldfld class NAnt.Core.Types.Token[] NAnt.Core.Filters.ReplaceTokens::_tokens IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method UpToDateTask::get_TargetFiles + } // end of method ReplaceTokens::get_Tokens - // method line 1468 + // method line 1415 .method public hidebysig specialname - instance default void set_TargetFiles (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_Tokens (class NAnt.Core.Types.Token[] 'value') cil managed { - // Method begins at RVA 0x19663 + // Method begins at RVA 0x18afb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_targetFiles + IL_0003: stfld class NAnt.Core.Types.Token[] NAnt.Core.Filters.ReplaceTokens::_tokens IL_0008: ret - } // end of method UpToDateTask::set_TargetFiles + } // end of method ReplaceTokens::set_Tokens - // method line 1469 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1416 + .method public hidebysig specialname + instance default bool get_IgnoreCase () cil managed { - // Method begins at RVA 0x19670 - // Code size 169 (0xa9) - .maxstack 7 + // Method begins at RVA 0x18b08 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0, - class [mscorlib]System.IO.FileInfo V_1, - string V_2, - bool V_3) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_targetFiles - IL_0009: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.FileSet::get_MostRecentLastWriteTimeFile() - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: brfalse IL_0020 - - IL_0015: ldloc.1 - IL_0016: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001b: brtrue IL_0039 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Filters.ReplaceTokens::_ignoreCase + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0020: nop - IL_0021: ldc.i4.0 - IL_0022: stloc.0 - IL_0023: ldarg.0 - IL_0024: ldc.i4 2000 - IL_0029: ldstr "Destination file(s) do(es) not exist." - IL_002e: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0033: nop - IL_0034: br IL_0087 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ReplaceTokens::get_IgnoreCase - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_sourceFiles - IL_0040: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() - IL_0045: ldloc.1 - IL_0046: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_004b: call string class NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0050: stloc.2 - IL_0051: ldloc.2 - IL_0052: ldnull - IL_0053: ceq - IL_0055: ldc.i4.0 - IL_0056: ceq - IL_0058: stloc.3 - IL_0059: ldloc.3 - IL_005a: brfalse IL_0086 + // method line 1417 + .method public hidebysig specialname + instance default void set_IgnoreCase (bool 'value') cil managed + { + // Method begins at RVA 0x18b23 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Filters.ReplaceTokens::_ignoreCase + IL_0008: ret + } // end of method ReplaceTokens::set_IgnoreCase - IL_005f: nop - IL_0060: ldc.i4.0 - IL_0061: stloc.0 - IL_0062: ldarg.0 - IL_0063: ldc.i4 2000 - IL_0068: ldstr "{0} is newer than {1}." - IL_006d: ldc.i4.2 - IL_006e: newarr [mscorlib]System.Object - IL_0073: dup - IL_0074: ldc.i4.0 - IL_0075: ldloc.2 - IL_0076: stelem.ref - IL_0077: dup - IL_0078: ldc.i4.1 - IL_0079: ldloc.1 - IL_007a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_007f: stelem.ref - IL_0080: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0085: nop - IL_0086: nop - IL_0087: ldarg.0 - IL_0088: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_008d: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0092: ldarg.0 - IL_0093: call instance string class NAnt.Core.Tasks.UpToDateTask::get_PropertyName() - IL_0098: ldloc.0 - IL_0099: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_009e: call string class [mscorlib]System.Convert::ToString(bool, class [mscorlib]System.IFormatProvider) - IL_00a3: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00a8: ret - } // end of method UpToDateTask::ExecuteTask + // method line 1418 + .method public virtual hidebysig + instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed + { + // Method begins at RVA 0x18b2d + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) + IL_0008: ldarg.0 + IL_0009: ldarg.0 + IL_000a: ldftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0010: newobj instance void class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate::'.ctor'(object, native int) + IL_0015: stfld class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate NAnt.Core.Filters.ReplaceTokens::ReadChar + IL_001a: ret + } // end of method ReplaceTokens::Chain - .property instance string PropertyName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + // method line 1419 + .method public virtual hidebysig + instance default int32 Read () cil managed + { + // Method begins at RVA 0x18b4c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate NAnt.Core.Filters.ReplaceTokens::ReadChar + IL_0008: call instance int32 class NAnt.Core.Filters.ReplaceTokens::GetNextCharacter(class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ReplaceTokens::Read - .get instance default string NAnt.Core.Tasks.UpToDateTask::get_PropertyName () - .set instance default void NAnt.Core.Tasks.UpToDateTask::set_PropertyName (string 'value') - } - .property instance class NAnt.Core.Types.FileSet SourceFiles () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 73 6F 75 72 63 65 66 69 6C 65 73 00 00 ) // ...sourcefiles.. + // method line 1420 + .method public virtual hidebysig + instance default int32 Peek () cil managed + { + // Method begins at RVA 0x18b6d + // Code size 17 (0x11) + .maxstack 8 + IL_0000: nop + IL_0001: ldstr "String_PeekNotSupported" + IL_0006: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_000b: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_0010: throw + } // end of method ReplaceTokens::Peek - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::get_SourceFiles () - .set instance default void NAnt.Core.Tasks.UpToDateTask::set_SourceFiles (class NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.Core.Types.FileSet TargetFiles () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 74 61 72 67 65 74 66 69 6C 65 73 00 00 ) // ...targetfiles.. + // method line 1421 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x18b80 + // Code size 190 (0xbe) + .maxstack 4 + .locals init ( + class NAnt.Core.Types.Token V_0, + class NAnt.Core.Types.Token[] V_1, + int32 V_2) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class NAnt.Core.Types.Token[] class NAnt.Core.Filters.ReplaceTokens::get_Tokens() + IL_0008: stloc.1 + IL_0009: ldc.i4.0 + IL_000a: stloc.2 + IL_000b: br IL_0072 - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::get_TargetFiles () - .set instance default void NAnt.Core.Tasks.UpToDateTask::set_TargetFiles (class NAnt.Core.Types.FileSet 'value') - } - } // end of class NAnt.Core.Tasks.UpToDateTask -} + IL_0010: ldloc.1 + IL_0011: ldloc.2 + IL_0012: ldelem.ref + IL_0013: stloc.0 + IL_0014: nop + IL_0015: ldloc.0 + IL_0016: callvirt instance bool class NAnt.Core.Types.Token::get_IfDefined() + IL_001b: brfalse IL_006d -.namespace NAnt.Core.Util -{ - .class public auto ansi beforefieldinit CommandLineArgument - extends [mscorlib]System.Object - { - .field private class [mscorlib]System.Type _elementType - .field private bool _seenValue - .field private valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType - .field private class [mscorlib]System.Reflection.PropertyInfo _propertyInfo - .field private class NAnt.Core.Util.CommandLineArgumentAttribute _attribute - .field private object _argumentValue - .field private class [mscorlib]System.Collections.ArrayList _collectionValues - .field private class [System]System.Collections.Specialized.NameValueCollection _valuePairs + IL_0020: ldloc.0 + IL_0021: callvirt instance bool class NAnt.Core.Types.Token::get_UnlessDefined() + IL_0026: brtrue IL_006d - // method line 1470 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: ldfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues + IL_0032: ldloc.0 + IL_0033: callvirt instance string class NAnt.Core.Types.Token::get_Key() + IL_0038: ldloc.0 + IL_0039: callvirt instance string class NAnt.Core.Types.Token::get_Value() + IL_003e: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::Add(string, string) + IL_0043: ldloc.0 + IL_0044: callvirt instance string class NAnt.Core.Types.Token::get_Key() + IL_0049: callvirt instance int32 string::get_Length() + IL_004e: ldarg.0 + IL_004f: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength + IL_0054: ble IL_006c + + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldloc.0 + IL_005c: callvirt instance string class NAnt.Core.Types.Token::get_Key() + IL_0061: callvirt instance int32 string::get_Length() + IL_0066: stfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength + IL_006b: nop + IL_006c: nop + IL_006d: nop + IL_006e: ldloc.2 + IL_006f: ldc.i4.1 + IL_0070: add + IL_0071: stloc.2 + IL_0072: ldloc.2 + IL_0073: ldloc.1 + IL_0074: ldlen + IL_0075: conv.i4 + IL_0076: blt IL_0010 + + IL_007b: ldarg.0 + IL_007c: ldfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues + IL_0081: callvirt instance int32 class [System]System.Collections.Specialized.StringDictionary::get_Count() + IL_0086: brtrue IL_00a2 + + IL_008b: nop + IL_008c: ldstr "String_OneOrMoreTokens" + IL_0091: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0096: ldarg.0 + IL_0097: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_009c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00a1: throw + IL_00a2: ldarg.0 + IL_00a3: ldarg.0 + IL_00a4: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength + IL_00a9: ldc.i4.1 + IL_00aa: add + IL_00ab: ldarg.0 + IL_00ac: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength + IL_00b1: ldc.i4.1 + IL_00b2: add + IL_00b3: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32, int32) + IL_00b8: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_00bd: ret + } // end of method ReplaceTokens::Initialize + + // method line 1422 + .method private hidebysig + instance default string FindTokenContents ([out] bool& tokenNotFound, [out] bool& unknownToken, [out] bool& streamEnded) cil managed { - // Method begins at RVA 0x19728 - // Code size 258 (0x102) + // Method begins at RVA 0x18c4c + // Code size 385 (0x181) .maxstack 3 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + .locals init ( + int32 V_0, + char V_1, + bool V_2, + int32 V_3, + string V_4, + string V_5, + string V_6) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() + IL_0009: stloc.1 + IL_000a: ldc.i4.0 + IL_000b: stloc.2 + IL_000c: ldarg.1 + IL_000d: ldc.i4.0 + IL_000e: stind.i1 + IL_000f: ldarg.3 + IL_0010: ldc.i4.0 + IL_0011: stind.i1 + IL_0012: ldarg.2 + IL_0013: ldc.i4.1 + IL_0014: stind.i1 IL_0015: ldarg.0 - IL_0016: ldc.i4.0 - IL_0017: stfld bool NAnt.Core.Util.CommandLineArgument::_seenValue - IL_001c: ldarg.0 - IL_001d: ldarg.2 - IL_001e: call class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::GetElementType(class [mscorlib]System.Reflection.PropertyInfo) - IL_0023: stfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType - IL_0028: ldarg.0 - IL_0029: ldarg.1 - IL_002a: ldarg.2 - IL_002b: call valuetype NAnt.Core.Util.CommandLineArgumentTypes class NAnt.Core.Util.CommandLineArgument::GetArgumentType(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) - IL_0030: stfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType - IL_0035: ldarg.0 - IL_0036: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_003b: brtrue IL_004b + IL_0016: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_001b: ldc.i4.0 + IL_001c: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) + IL_0021: br IL_00d1 - IL_0040: ldarg.0 - IL_0041: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_0046: brfalse IL_005d + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: ldc.i4.1 + IL_0029: add + IL_002a: stloc.0 + IL_002b: ldarg.0 + IL_002c: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0031: stloc.3 + IL_0032: ldloc.3 + IL_0033: conv.u2 + IL_0034: stloc.1 + IL_0035: ldloc.3 + IL_0036: ldc.i4.m1 + IL_0037: bne.un IL_0058 - IL_004b: nop - IL_004c: ldarg.0 - IL_004d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0052: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues - IL_0057: nop - IL_0058: br IL_0075 + IL_003c: nop + IL_003d: ldarg.1 + IL_003e: ldc.i4.1 + IL_003f: stind.i1 + IL_0040: ldarg.2 + IL_0041: ldc.i4.1 + IL_0042: stind.i1 + IL_0043: ldarg.3 + IL_0044: ldc.i4.1 + IL_0045: stind.i1 + IL_0046: ldarg.0 + IL_0047: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_004c: callvirt instance string object::ToString() + IL_0051: stloc.s 4 + IL_0053: br IL_017e - IL_005d: ldarg.0 - IL_005e: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_0063: brfalse IL_0075 + IL_0058: ldarg.0 + IL_0059: ldloc.1 + IL_005a: ldarg.0 + IL_005b: call instance char class NAnt.Core.Filters.ReplaceTokens::get_EndToken() + IL_0060: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) + IL_0065: brfalse IL_0072 - IL_0068: nop - IL_0069: ldarg.0 - IL_006a: newobj instance void class [System]System.Collections.Specialized.NameValueCollection::'.ctor'() - IL_006f: stfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs - IL_0074: nop - IL_0075: ldarg.0 - IL_0076: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_007b: brfalse IL_0090 + IL_006a: nop + IL_006b: ldc.i4.1 + IL_006c: stloc.2 + IL_006d: br IL_00dd - IL_0080: ldarg.0 - IL_0081: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0086: callvirt instance int32 string::get_Length() - IL_008b: ldc.i4.0 - IL_008c: cgt - IL_008e: br.s IL_0091 + IL_0072: ldarg.0 + IL_0073: ldloc.1 + IL_0074: ldarg.0 + IL_0075: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() + IL_007a: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) + IL_007f: brfalse IL_00c1 - IL_0090: ldc.i4.0 - IL_0091: call void class [System]System.Diagnostics.Debug::Assert(bool) - IL_0096: ldarg.0 - IL_0097: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_009c: brtrue IL_00b7 + IL_0084: ldarg.0 + IL_0085: ldarg.0 + IL_0086: call instance char class NAnt.Core.Filters.ReplaceTokens::get_EndToken() + IL_008b: ldarg.0 + IL_008c: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() + IL_0091: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) + IL_0096: brtrue IL_00c1 - IL_00a1: ldarg.0 - IL_00a2: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_00a7: brtrue IL_00b7 + IL_009b: nop + IL_009c: ldarg.1 + IL_009d: ldc.i4.1 + IL_009e: stind.i1 + IL_009f: ldarg.2 + IL_00a0: ldc.i4.1 + IL_00a1: stind.i1 + IL_00a2: ldarg.0 + IL_00a3: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_00a8: ldloc.1 + IL_00a9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_00ae: pop + IL_00af: ldarg.0 + IL_00b0: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_00b5: callvirt instance string object::ToString() + IL_00ba: stloc.s 4 + IL_00bc: br IL_017e - IL_00ac: ldarg.0 - IL_00ad: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_00b2: brfalse IL_00bf + IL_00c1: nop + IL_00c2: ldarg.0 + IL_00c3: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_00c8: ldloc.1 + IL_00c9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_00ce: pop + IL_00cf: nop + IL_00d0: nop + IL_00d1: ldloc.0 + IL_00d2: ldarg.0 + IL_00d3: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_maxTokenLength + IL_00d8: ble IL_0026 - IL_00b7: ldarg.0 - IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() - IL_00bd: br.s IL_00c0 + IL_00dd: ldloc.2 + IL_00de: brfalse IL_0165 - IL_00bf: ldc.i4.1 - IL_00c0: ldstr "Collection and array arguments must have allow multiple" - IL_00c5: call void class [System]System.Diagnostics.Debug::Assert(bool, string) - IL_00ca: ldarg.0 - IL_00cb: call instance bool class NAnt.Core.Util.CommandLineArgument::get_Unique() - IL_00d0: brfalse IL_00f6 + IL_00e3: nop + IL_00e4: ldnull + IL_00e5: stloc.s 5 + IL_00e7: ldarg.0 + IL_00e8: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_00ed: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_00f2: brfalse IL_011a - IL_00d5: ldarg.0 - IL_00d6: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_00db: brtrue IL_00f3 + IL_00f7: nop + IL_00f8: ldarg.0 + IL_00f9: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_00fe: callvirt instance string object::ToString() + IL_0103: stloc.s 6 + IL_0105: ldarg.0 + IL_0106: ldfld class [System]System.Collections.Specialized.StringDictionary NAnt.Core.Filters.ReplaceTokens::_tokenValues + IL_010b: ldloc.s 6 + IL_010d: callvirt instance string class [System]System.Collections.Specialized.StringDictionary::get_Item(string) + IL_0112: stloc.s 5 + IL_0114: nop + IL_0115: br IL_012f - IL_00e0: ldarg.0 - IL_00e1: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_00e6: brtrue IL_00f3 + IL_011a: nop + IL_011b: ldarg.1 + IL_011c: ldc.i4.1 + IL_011d: stind.i1 + IL_011e: ldarg.2 + IL_011f: ldc.i4.1 + IL_0120: stind.i1 + IL_0121: ldloc.1 + IL_0122: ldc.i4.1 + IL_0123: newobj instance void string::'.ctor'(char, int32) + IL_0128: stloc.s 4 + IL_012a: br IL_017e - IL_00eb: ldarg.0 - IL_00ec: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_00f1: br.s IL_00f4 + IL_012f: ldloc.s 5 + IL_0131: brfalse IL_0146 - IL_00f3: ldc.i4.1 - IL_00f4: br.s IL_00f7 + IL_0136: nop + IL_0137: ldarg.1 + IL_0138: ldc.i4.0 + IL_0139: stind.i1 + IL_013a: ldarg.2 + IL_013b: ldc.i4.0 + IL_013c: stind.i1 + IL_013d: ldloc.s 5 + IL_013f: stloc.s 4 + IL_0141: br IL_017e - IL_00f6: ldc.i4.1 - IL_00f7: ldstr "Unique only applicable to collection arguments" - IL_00fc: call void class [System]System.Diagnostics.Debug::Assert(bool, string) - IL_0101: ret - } // end of method CommandLineArgument::.ctor + IL_0146: nop + IL_0147: ldarg.1 + IL_0148: ldc.i4.1 + IL_0149: stind.i1 + IL_014a: ldarg.2 + IL_014b: ldc.i4.1 + IL_014c: stind.i1 + IL_014d: ldarg.0 + IL_014e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_0153: ldloc.1 + IL_0154: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0159: callvirt instance string object::ToString() + IL_015e: stloc.s 4 + IL_0160: br IL_017e - // method line 1471 - .method public hidebysig specialname - instance default class [mscorlib]System.Reflection.PropertyInfo get_Property () cil managed - { - // Method begins at RVA 0x19838 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Reflection.PropertyInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0165: nop + IL_0166: ldarg.1 + IL_0167: ldc.i4.1 + IL_0168: stind.i1 + IL_0169: ldarg.2 + IL_016a: ldc.i4.0 + IL_016b: stind.i1 + IL_016c: ldarg.0 + IL_016d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.Filters.ReplaceTokens::_tokenString + IL_0172: callvirt instance string object::ToString() + IL_0177: stloc.s 4 + IL_0179: br IL_017e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineArgument::get_Property + IL_017e: ldloc.s 4 + IL_0180: ret + } // end of method ReplaceTokens::FindTokenContents - // method line 1472 - .method public hidebysig specialname - instance default class [mscorlib]System.Type get_ValueType () cil managed + // method line 1423 + .method private hidebysig + instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate AcquireChar) cil managed { - // Method begins at RVA 0x19854 - // Code size 48 (0x30) - .maxstack 1 + // Method begins at RVA 0x18ddc + // Code size 386 (0x182) + .maxstack 5 .locals init ( - class [mscorlib]System.Type V_0) + int32 V_0, + int32 V_1, + int32 V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_0007: brtrue IL_0017 + IL_0002: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_0007: brtrue IL_001a - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_0012: brfalse IL_0022 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0013: stloc.0 + IL_0014: nop + IL_0015: br IL_00ee - IL_0017: ldarg.0 - IL_0018: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType - IL_001d: br IL_0028 + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_0021: ldarg.0 + IL_0022: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_0027: callvirt instance int32 string::get_Length() + IL_002c: bge IL_00b7 - IL_0022: ldarg.0 - IL_0023: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() - IL_0028: stloc.0 - IL_0029: br IL_002e + IL_0031: nop + IL_0032: ldarg.0 + IL_0033: ldfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound + IL_0038: brfalse IL_008e - IL_002e: ldloc.0 - IL_002f: ret - } // end of method CommandLineArgument::get_ValueType + IL_003d: ldarg.0 + IL_003e: ldfld bool NAnt.Core.Filters.ReplaceTokens::_unknownToken + IL_0043: brfalse IL_008e - // method line 1473 - .method public hidebysig specialname - instance default string get_LongName () cil managed - { - // Method begins at RVA 0x19890 - // Code size 66 (0x42) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0007: brfalse IL_002e + IL_0048: ldarg.0 + IL_0049: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_004e: ldarg.0 + IL_004f: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_0054: callvirt instance int32 string::get_Length() + IL_0059: ldc.i4.1 + IL_005a: sub + IL_005b: bne.un IL_008e - IL_000c: ldarg.0 - IL_000d: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0012: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_Name() - IL_0017: brfalse IL_002e + IL_0060: nop + IL_0061: ldarg.0 + IL_0062: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_0067: ldarg.0 + IL_0068: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_006d: callvirt instance int32 string::get_Length() + IL_0072: ldc.i4.1 + IL_0073: sub + IL_0074: callvirt instance char string::get_Chars(int32) + IL_0079: stloc.0 + IL_007a: ldarg.0 + IL_007b: dup + IL_007c: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_0081: ldc.i4.1 + IL_0082: add + IL_0083: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_0088: nop + IL_0089: br IL_00b1 - IL_001c: nop - IL_001d: ldarg.0 - IL_001e: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0023: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_Name() - IL_0028: stloc.0 - IL_0029: br IL_0040 + IL_008e: nop + IL_008f: ldarg.0 + IL_0090: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_0095: ldarg.0 + IL_0096: dup + IL_0097: ldfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_009c: dup + IL_009d: stloc.1 + IL_009e: ldc.i4.1 + IL_009f: add + IL_00a0: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_00a5: ldloc.1 + IL_00a6: callvirt instance char string::get_Chars(int32) + IL_00ab: stloc.2 + IL_00ac: br IL_0180 - IL_002e: nop - IL_002f: ldarg.0 - IL_0030: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0035: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_003a: stloc.0 - IL_003b: br IL_0040 + IL_00b1: nop + IL_00b2: br IL_00ed - IL_0040: ldloc.0 - IL_0041: ret - } // end of method CommandLineArgument::get_LongName + IL_00b7: nop + IL_00b8: ldarg.0 + IL_00b9: ldnull + IL_00ba: stfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_00bf: ldarg.0 + IL_00c0: ldc.i4.0 + IL_00c1: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_00c6: ldarg.0 + IL_00c7: ldfld bool NAnt.Core.Filters.ReplaceTokens::_endStreamAfterBuffer + IL_00cc: brtrue IL_00e4 - // method line 1474 - .method public hidebysig specialname - instance default string get_ShortName () cil managed + IL_00d1: nop + IL_00d2: ldarg.0 + IL_00d3: ldfld class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate NAnt.Core.Filters.ReplaceTokens::ReadChar + IL_00d8: callvirt instance int32 class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate::Invoke() + IL_00dd: stloc.0 + IL_00de: nop + IL_00df: br IL_00ec + + IL_00e4: nop + IL_00e5: ldc.i4.m1 + IL_00e6: stloc.2 + IL_00e7: br IL_0180 + + IL_00ec: nop + IL_00ed: nop + IL_00ee: ldarg.0 + IL_00ef: ldloc.0 + IL_00f0: ldarg.0 + IL_00f1: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() + IL_00f6: call instance bool class NAnt.Core.Filters.ReplaceTokens::CompareCharacters(int32, int32) + IL_00fb: brfalse IL_0178 + + IL_0100: nop + IL_0101: ldarg.0 + IL_0102: ldarg.0 + IL_0103: ldarg.0 + IL_0104: ldflda bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound + IL_0109: ldarg.0 + IL_010a: ldflda bool NAnt.Core.Filters.ReplaceTokens::_unknownToken + IL_010f: ldarg.0 + IL_0110: ldflda bool NAnt.Core.Filters.ReplaceTokens::_endStreamAfterBuffer + IL_0115: call instance string class NAnt.Core.Filters.ReplaceTokens::FindTokenContents([out] bool&, [out] bool&, [out] bool&) + IL_011a: stfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_011f: ldarg.0 + IL_0120: ldfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound + IL_0125: brfalse IL_013e + + IL_012a: nop + IL_012b: ldarg.0 + IL_012c: ldc.i4.0 + IL_012d: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_0132: ldarg.0 + IL_0133: call instance char class NAnt.Core.Filters.ReplaceTokens::get_BeginToken() + IL_0138: stloc.2 + IL_0139: br IL_0180 + + IL_013e: nop + IL_013f: ldarg.0 + IL_0140: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_0145: callvirt instance int32 string::get_Length() + IL_014a: ldc.i4.0 + IL_014b: ble IL_016a + + IL_0150: nop + IL_0151: ldarg.0 + IL_0152: ldc.i4.1 + IL_0153: stfld int32 NAnt.Core.Filters.ReplaceTokens::_bufferPosition + IL_0158: ldarg.0 + IL_0159: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer + IL_015e: ldc.i4.0 + IL_015f: callvirt instance char string::get_Chars(int32) + IL_0164: stloc.2 + IL_0165: br IL_0180 + + IL_016a: nop + IL_016b: ldarg.0 + IL_016c: ldarg.1 + IL_016d: call instance int32 class NAnt.Core.Filters.ReplaceTokens::GetNextCharacter(class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate) + IL_0172: stloc.2 + IL_0173: br IL_0180 + + IL_0178: nop + IL_0179: ldloc.0 + IL_017a: stloc.2 + IL_017b: br IL_0180 + + IL_0180: ldloc.2 + IL_0181: ret + } // end of method ReplaceTokens::GetNextCharacter + + // method line 1424 + .method private hidebysig + instance default bool CompareCharacters (int32 char1, int32 char2) cil managed { - // Method begins at RVA 0x198e0 - // Code size 40 (0x28) - .maxstack 1 + // Method begins at RVA 0x18f6c + // Code size 48 (0x30) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0007: brfalse IL_001e + IL_0002: call instance bool class NAnt.Core.Filters.ReplaceTokens::get_IgnoreCase() + IL_0007: brfalse IL_0023 IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0013: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_ShortName() - IL_0018: stloc.0 - IL_0019: br IL_0026 + IL_000d: ldarg.1 + IL_000e: conv.u2 + IL_000f: call char char::ToUpper(char) + IL_0014: ldarg.2 + IL_0015: conv.u2 + IL_0016: call char char::ToUpper(char) + IL_001b: ceq + IL_001d: stloc.0 + IL_001e: br IL_002e - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_0023: nop + IL_0024: ldarg.1 + IL_0025: ldarg.2 + IL_0026: ceq + IL_0028: stloc.0 + IL_0029: br IL_002e - IL_0026: ldloc.0 - IL_0027: ret - } // end of method CommandLineArgument::get_ShortName + IL_002e: ldloc.0 + IL_002f: ret + } // end of method ReplaceTokens::CompareCharacters - // method line 1475 - .method public hidebysig specialname - instance default string get_Description () cil managed + .property instance char BeginToken () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 62 65 67 69 6E 74 6F 6B 65 6E 00 00 ) // ...begintoken.. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default char NAnt.Core.Filters.ReplaceTokens::get_BeginToken () + .set instance default void NAnt.Core.Filters.ReplaceTokens::set_BeginToken (char 'value') + } + .property instance char EndToken () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 64 74 6F 6B 65 6E 00 00 ) // ...endtoken.. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default char NAnt.Core.Filters.ReplaceTokens::get_EndToken () + .set instance default void NAnt.Core.Filters.ReplaceTokens::set_EndToken (char 'value') + } + .property instance class NAnt.Core.Types.Token[] Tokens () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 05 74 6F 6B 65 6E 00 00 ) // ...token.. + + .get instance default class NAnt.Core.Types.Token[] NAnt.Core.Filters.ReplaceTokens::get_Tokens () + .set instance default void NAnt.Core.Filters.ReplaceTokens::set_Tokens (class NAnt.Core.Types.Token[] 'value') + } + .property instance bool IgnoreCase () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0A 69 67 6E 6F 72 65 63 61 73 65 01 00 54 // ...ignorecase..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Core.Filters.ReplaceTokens::get_IgnoreCase () + .set instance default void NAnt.Core.Filters.ReplaceTokens::set_IgnoreCase (bool 'value') + } + .class nested private auto ansi sealed AcquireCharDelegate + extends [mscorlib]System.MulticastDelegate + { + + // method line 1425 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed { - // Method begins at RVA 0x19914 - // Code size 40 (0x28) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0007: brfalse IL_001e + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::.ctor - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0013: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_Description() - IL_0018: stloc.0 - IL_0019: br IL_0026 + // method line 1426 + .method public virtual hidebysig newslot + instance default int32 Invoke () runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::Invoke - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 + // method line 1427 + .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 AcquireCharDelegate::BeginInvoke - IL_0026: ldloc.0 - IL_0027: ret - } // end of method CommandLineArgument::get_Description + // method line 1428 + .method public virtual hidebysig newslot + instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::EndInvoke - // method line 1476 - .method public hidebysig specialname - instance default bool get_IsRequired () cil managed + } // end of class AcquireCharDelegate + + } // end of class NAnt.Core.Filters.ReplaceTokens +} + +.namespace NAnt.Core.Filters +{ + .class public auto ansi beforefieldinit ReplaceString + extends NAnt.Core.Filters.Filter + { + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0D 72 65 70 6C 61 63 65 73 74 72 69 6E 67 // ...replacestring + 00 00 ) // .. + + .field private string _from + .field private string _to + .field private string _outputBuffer + .field private bool _endStreamAfterBuffer + .field private int32 _bufferPosition + .field private bool _stringNotFound + .field private bool _ignoreCase + .field private class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate ReadChar + + // method line 1429 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x19948 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: ldarg.0 - IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType - IL_0008: ldc.i4.1 - IL_0009: and - IL_000a: ceq + // Method begins at RVA 0x18fa8 + // Code size 32 (0x20) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.Core.Filters.ReplaceString::_to + IL_000b: ldarg.0 IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: br IL_0015 - - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CommandLineArgument::get_IsRequired + IL_000d: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_0012: ldarg.0 + IL_0013: ldc.i4.1 + IL_0014: stfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound + IL_0019: ldarg.0 + IL_001a: call instance void class NAnt.Core.Filters.Filter::'.ctor'() + IL_001f: ret + } // end of method ReplaceString::.ctor - // method line 1477 + // method line 1430 .method public hidebysig specialname - instance default bool get_SeenValue () cil managed + instance default string get_From () cil managed { - // Method begins at RVA 0x1996c + // Method begins at RVA 0x18fcc // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Util.CommandLineArgument::_seenValue + IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_from IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CommandLineArgument::get_SeenValue + } // end of method ReplaceString::get_From - // method line 1478 + // method line 1431 .method public hidebysig specialname - instance default bool get_AllowMultiple () cil managed + instance default void set_From (string 'value') cil managed { - // Method begins at RVA 0x19988 - // Code size 59 (0x3b) - .maxstack 3 - .locals init ( - bool V_0) + // Method begins at RVA 0x18fe7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_0007: brtrue IL_0022 - - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_0012: brtrue IL_0022 - - IL_0017: ldarg.0 - IL_0018: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_001d: brfalse IL_0032 - - IL_0022: ldc.i4.0 - IL_0023: ldarg.0 - IL_0024: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType - IL_0029: ldc.i4.4 - IL_002a: and - IL_002b: ceq - IL_002d: ldc.i4.0 - IL_002e: ceq - IL_0030: br.s IL_0033 - - IL_0032: ldc.i4.0 - IL_0033: stloc.0 - IL_0034: br IL_0039 - - IL_0039: ldloc.0 - IL_003a: ret - } // end of method CommandLineArgument::get_AllowMultiple - - // method line 1479 - .method public hidebysig specialname - instance default bool get_Unique () cil managed - { - // Method begins at RVA 0x199d0 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: ldarg.0 - IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType - IL_0008: ldc.i4.2 - IL_0009: and - IL_000a: ceq - IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: br IL_0015 - - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CommandLineArgument::get_Unique + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Filters.ReplaceString::_from + IL_0008: ret + } // end of method ReplaceString::set_From - // method line 1480 + // method line 1432 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_Type () cil managed + instance default string get_To () cil managed { - // Method begins at RVA 0x199f4 - // Code size 20 (0x14) + // Method begins at RVA 0x18ff4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0007: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_to + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CommandLineArgument::get_Type + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ReplaceString::get_To - // method line 1481 + // method line 1433 .method public hidebysig specialname - instance default bool get_IsCollection () cil managed + instance default void set_To (string 'value') cil managed { - // Method begins at RVA 0x19a14 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x1900f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() - IL_0007: call bool class NAnt.Core.Util.CommandLineArgument::IsCollectionType(class [mscorlib]System.Type) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CommandLineArgument::get_IsCollection + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Filters.ReplaceString::_to + IL_0008: ret + } // end of method ReplaceString::set_To - // method line 1482 + // method line 1434 .method public hidebysig specialname - instance default bool get_IsNameValueCollection () cil managed + instance default bool get_IgnoreCase () cil managed { - // Method begins at RVA 0x19a34 - // Code size 20 (0x14) + // Method begins at RVA 0x1901c + // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() - IL_0007: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CommandLineArgument::get_IsNameValueCollection + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ReplaceString::get_IgnoreCase - // method line 1483 + // method line 1435 .method public hidebysig specialname - instance default bool get_IsArray () cil managed + instance default void set_IgnoreCase (bool 'value') cil managed { - // Method begins at RVA 0x19a54 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x19037 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() - IL_0007: call bool class NAnt.Core.Util.CommandLineArgument::IsArrayType(class [mscorlib]System.Type) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase + IL_0008: ret + } // end of method ReplaceString::set_IgnoreCase - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CommandLineArgument::get_IsArray + // method line 1436 + .method public virtual hidebysig + instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed + { + // Method begins at RVA 0x19041 + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Filters.ChainableReader::Chain(class NAnt.Core.Filters.ChainableReader) + IL_0008: ldarg.0 + IL_0009: ldarg.0 + IL_000a: ldftn instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0010: newobj instance void class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate::'.ctor'(object, native int) + IL_0015: stfld class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate NAnt.Core.Filters.ReplaceString::ReadChar + IL_001a: ret + } // end of method ReplaceString::Chain - // method line 1484 - .method public hidebysig specialname - instance default bool get_IsDefault () cil managed + // method line 1437 + .method public virtual hidebysig + instance default int32 Read () cil managed { - // Method begins at RVA 0x19a74 - // Code size 37 (0x25) + // Method begins at RVA 0x19060 + // Code size 21 (0x15) .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0007: brfalse IL_001c - - IL_000c: ldarg.0 - IL_000d: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0012: isinst NAnt.Core.Util.DefaultCommandLineArgumentAttribute - IL_0017: ldnull - IL_0018: cgt.un - IL_001a: br.s IL_001d - - IL_001c: ldc.i4.0 - IL_001d: stloc.0 - IL_001e: br IL_0023 + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate NAnt.Core.Filters.ReplaceString::ReadChar + IL_0008: call instance int32 class NAnt.Core.Filters.ReplaceString::GetNextCharacter(class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0023: ldloc.0 - IL_0024: ret - } // end of method CommandLineArgument::get_IsDefault + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ReplaceString::Read - // method line 1485 - .method public hidebysig specialname - instance default bool get_IsExclusive () cil managed + // method line 1438 + .method public virtual hidebysig + instance default int32 Peek () cil managed { - // Method begins at RVA 0x19aa8 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - bool V_0) + // Method begins at RVA 0x19081 + // Code size 17 (0x11) + .maxstack 8 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: ldarg.0 - IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType - IL_0008: ldc.i4.8 - IL_0009: and - IL_000a: ceq - IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: br IL_0015 - - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CommandLineArgument::get_IsExclusive + IL_0001: ldstr "String_PeekNotSupported" + IL_0006: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_000b: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_0010: throw + } // end of method ReplaceString::Peek - // method line 1486 - .method public hidebysig - instance default void Finish (object destination) cil managed + // method line 1439 + .method private hidebysig + instance default bool FindString (int32 startChar, [out] bool& streamEnded, [out] string& nonMatchingChars) cil managed { - // Method begins at RVA 0x19acc - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 1197 (0x4ad) - .maxstack 9 + // Method begins at RVA 0x19094 + // Code size 164 (0xa4) + .maxstack 4 .locals init ( - object V_0, - object V_1, - class [mscorlib]System.Reflection.MethodInfo V_2, - class [mscorlib]System.Reflection.MethodInfo V_3, - class [mscorlib]System.Reflection.MethodInfo[] V_4, - int32 V_5, - class [mscorlib]System.Reflection.ParameterInfo V_6, - object V_7, - class [mscorlib]System.Collections.IEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - class [mscorlib]System.Exception V_10, - object V_11, - object V_12, - class [mscorlib]System.Reflection.MethodInfo V_13, - class [mscorlib]System.Reflection.MethodInfo V_14, - class [mscorlib]System.Reflection.MethodInfo[] V_15, - int32 V_16, - string V_17, - class [mscorlib]System.Collections.IEnumerator V_18, - class [mscorlib]System.IDisposable V_19, - class [mscorlib]System.Exception V_20) + class [mscorlib]System.Text.StringBuilder V_0, + int32 V_1, + int32 V_2, + bool V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsRequired() - IL_0007: brfalse IL_0033 - - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() - IL_0012: brtrue IL_0033 + IL_0001: ldarg.2 + IL_0002: ldc.i4.0 + IL_0003: stind.i1 + IL_0004: ldarg.3 + IL_0005: ldstr "" + IL_000a: stind.ref + IL_000b: ldarg.0 + IL_000c: ldfld string NAnt.Core.Filters.ReplaceString::_from + IL_0011: callvirt instance int32 string::get_Length() + IL_0016: ldarg.0 + IL_0017: ldfld string NAnt.Core.Filters.ReplaceString::_from + IL_001c: callvirt instance int32 string::get_Length() + IL_0021: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32, int32) + IL_0026: stloc.0 + IL_0027: ldloc.0 + IL_0028: ldarg.1 + IL_0029: conv.u2 + IL_002a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_002f: pop + IL_0030: ldc.i4.1 + IL_0031: stloc.2 + IL_0032: br IL_008a - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "Missing required argument '-{0}'." - IL_0022: ldarg.0 - IL_0023: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002d: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_0032: throw - IL_0033: ldarg.0 - IL_0034: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_0039: brfalse IL_006a + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_003e: stloc.1 + IL_003f: ldloc.1 + IL_0040: ldc.i4.m1 + IL_0041: beq IL_0051 - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0045: ldarg.1 - IL_0046: ldarg.0 - IL_0047: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues - IL_004c: ldarg.0 - IL_004d: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType - IL_0052: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_0057: ldc.i4.0 - IL_0058: ldnull - IL_0059: ldnull - IL_005a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005f: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0064: nop - IL_0065: br IL_04ac + IL_0046: nop + IL_0047: ldloc.0 + IL_0048: ldloc.1 + IL_0049: conv.u2 + IL_004a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_004f: pop + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: ldloc.1 + IL_0053: ldarg.0 + IL_0054: ldfld string NAnt.Core.Filters.ReplaceString::_from + IL_0059: ldloc.2 + IL_005a: callvirt instance char string::get_Chars(int32) + IL_005f: call instance bool class NAnt.Core.Filters.ReplaceString::CompareCharacters(int32, int32) + IL_0064: brtrue IL_0085 - IL_006a: ldarg.0 - IL_006b: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_0070: brfalse IL_0256 + IL_0069: nop + IL_006a: ldloc.1 + IL_006b: ldc.i4.m1 + IL_006c: bne.un IL_0076 + IL_0071: nop + IL_0072: ldarg.2 + IL_0073: ldc.i4.1 + IL_0074: stind.i1 IL_0075: nop - IL_0076: ldarg.0 - IL_0077: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_007c: ldarg.1 - IL_007d: ldc.i4.0 - IL_007e: ldnull - IL_007f: ldnull - IL_0080: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0085: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_008a: brtrue IL_00fb + IL_0076: ldarg.3 + IL_0077: ldloc.0 + IL_0078: callvirt instance string object::ToString() + IL_007d: stind.ref + IL_007e: ldc.i4.0 + IL_007f: stloc.3 + IL_0080: br IL_00a2 - IL_008f: nop - IL_0090: ldarg.0 - IL_0091: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0096: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_009b: brtrue IL_00cb + IL_0085: nop + IL_0086: ldloc.2 + IL_0087: ldc.i4.1 + IL_0088: add + IL_0089: stloc.2 + IL_008a: ldloc.2 + IL_008b: ldarg.0 + IL_008c: ldfld string NAnt.Core.Filters.ReplaceString::_from + IL_0091: callvirt instance int32 string::get_Length() + IL_0096: blt IL_0037 - IL_00a0: nop - IL_00a1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a6: ldstr "NA1171" - IL_00ab: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00b0: ldstr " but is not initialized and does not allow thecollection to be initialized." - IL_00b5: call string string::Concat(string, string) - IL_00ba: ldarg.0 - IL_00bb: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_00c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00c5: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_00ca: throw - IL_00cb: ldarg.0 - IL_00cc: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_00d1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_00d6: ldc.i4.s 0x14 - IL_00d8: ldnull - IL_00d9: ldnull - IL_00da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00df: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_00e4: stloc.0 - IL_00e5: ldarg.0 - IL_00e6: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_00eb: ldarg.1 - IL_00ec: ldloc.0 - IL_00ed: ldc.i4.0 - IL_00ee: ldnull - IL_00ef: ldnull - IL_00f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00f5: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_00fa: nop - IL_00fb: ldarg.0 - IL_00fc: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0101: ldarg.1 - IL_0102: ldc.i4.0 - IL_0103: ldnull - IL_0104: ldnull - IL_0105: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_010a: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_010f: stloc.1 - IL_0110: ldnull - IL_0111: stloc.2 - IL_0112: nop - IL_0113: ldloc.1 - IL_0114: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0119: ldc.i4.s 0x14 - IL_011b: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0120: stloc.s 4 - IL_0122: ldc.i4.0 - IL_0123: stloc.s 5 - IL_0125: br IL_018a + IL_009b: ldc.i4.1 + IL_009c: stloc.3 + IL_009d: br IL_00a2 - IL_012a: ldloc.s 4 - IL_012c: ldloc.s 5 - IL_012e: ldelem.ref - IL_012f: stloc.3 - IL_0130: nop - IL_0131: ldloc.3 - IL_0132: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0137: ldstr "Add" - IL_013c: call bool string::op_Equality(string, string) - IL_0141: brfalse IL_0183 + IL_00a2: ldloc.3 + IL_00a3: ret + } // end of method ReplaceString::FindString - IL_0146: ldloc.3 - IL_0147: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_014c: ldlen - IL_014d: conv.i4 - IL_014e: ldc.i4.1 - IL_014f: bne.un IL_0183 + // method line 1440 + .method private hidebysig + instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate AcquireChar) cil managed + { + // Method begins at RVA 0x19144 + // Code size 397 (0x18d) + .maxstack 4 + .locals init ( + int32 V_0, + int32 V_1, + int32 V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_0007: brtrue IL_001a - IL_0154: nop - IL_0155: ldloc.3 - IL_0156: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_015b: ldc.i4.0 - IL_015c: ldelem.ref - IL_015d: stloc.s 6 - IL_015f: ldloc.s 6 - IL_0161: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0166: ldtoken [mscorlib]System.Object - IL_016b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0170: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0175: brfalse IL_0182 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0013: stloc.0 + IL_0014: nop + IL_0015: br IL_00e3 - IL_017a: nop - IL_017b: ldloc.3 - IL_017c: stloc.2 - IL_017d: br IL_0195 + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_0021: ldarg.0 + IL_0022: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_0027: callvirt instance int32 string::get_Length() + IL_002c: bge IL_00ac - IL_0182: nop - IL_0183: nop - IL_0184: ldloc.s 5 - IL_0186: ldc.i4.1 - IL_0187: add - IL_0188: stloc.s 5 - IL_018a: ldloc.s 5 - IL_018c: ldloc.s 4 - IL_018e: ldlen - IL_018f: conv.i4 - IL_0190: blt IL_012a + IL_0031: nop + IL_0032: ldarg.0 + IL_0033: ldfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound + IL_0038: brfalse IL_0083 - IL_0195: ldloc.2 - IL_0196: ldnull - IL_0197: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_019c: brfalse IL_01c2 + IL_003d: ldarg.0 + IL_003e: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_0043: ldarg.0 + IL_0044: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_0049: callvirt instance int32 string::get_Length() + IL_004e: ldc.i4.1 + IL_004f: sub + IL_0050: bne.un IL_0083 - IL_01a1: nop - IL_01a2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01a7: ldstr "NA1169" - IL_01ac: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01b1: ldarg.0 - IL_01b2: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_01b7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01bc: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_01c1: throw - IL_01c2: nop - .try { // 1 - IL_01c3: nop - IL_01c4: nop - IL_01c5: ldarg.0 - IL_01c6: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues - IL_01cb: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_01d0: stloc.s 8 - .try { // 0 - IL_01d2: br IL_01fc + IL_0055: nop + IL_0056: ldarg.0 + IL_0057: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_005c: ldarg.0 + IL_005d: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_0062: callvirt instance int32 string::get_Length() + IL_0067: ldc.i4.1 + IL_0068: sub + IL_0069: callvirt instance char string::get_Chars(int32) + IL_006e: stloc.0 + IL_006f: ldarg.0 + IL_0070: dup + IL_0071: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_007d: nop + IL_007e: br IL_00a6 - IL_01d7: ldloc.s 8 - IL_01d9: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01de: stloc.s 7 - IL_01e0: nop - IL_01e1: ldloc.2 - IL_01e2: ldloc.1 - IL_01e3: ldc.i4.0 - IL_01e4: ldnull - IL_01e5: ldc.i4.1 - IL_01e6: newarr [mscorlib]System.Object - IL_01eb: dup - IL_01ec: ldc.i4.0 - IL_01ed: ldloc.s 7 - IL_01ef: stelem.ref - IL_01f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01f5: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_01fa: pop - IL_01fb: nop - IL_01fc: ldloc.s 8 - IL_01fe: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0203: brtrue IL_01d7 + IL_0083: nop + IL_0084: ldarg.0 + IL_0085: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_008a: ldarg.0 + IL_008b: dup + IL_008c: ldfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_0091: dup + IL_0092: stloc.1 + IL_0093: ldc.i4.1 + IL_0094: add + IL_0095: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_009a: ldloc.1 + IL_009b: callvirt instance char string::get_Chars(int32) + IL_00a0: stloc.2 + IL_00a1: br IL_018b - IL_0208: leave IL_0224 + IL_00a6: nop + IL_00a7: br IL_00e2 - } // end .try 0 - finally { // 0 - IL_020d: ldloc.s 8 - IL_020f: isinst [mscorlib]System.IDisposable - IL_0214: dup - IL_0215: stloc.s 9 - IL_0217: brfalse IL_0223 + IL_00ac: nop + IL_00ad: ldarg.0 + IL_00ae: ldnull + IL_00af: stfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_00b4: ldarg.0 + IL_00b5: ldc.i4.0 + IL_00b6: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_00bb: ldarg.0 + IL_00bc: ldfld bool NAnt.Core.Filters.ReplaceString::_endStreamAfterBuffer + IL_00c1: brtrue IL_00d9 - IL_021c: ldloc.s 9 - IL_021e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0223: endfinally - } // end handler 0 - IL_0224: nop - IL_0225: leave IL_024f + IL_00c6: nop + IL_00c7: ldarg.0 + IL_00c8: ldfld class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate NAnt.Core.Filters.ReplaceString::ReadChar + IL_00cd: callvirt instance int32 class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate::Invoke() + IL_00d2: stloc.0 + IL_00d3: nop + IL_00d4: br IL_00e1 - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_022a: stloc.s 10 - IL_022c: nop - IL_022d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0232: ldstr "NA1173" - IL_0237: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_023c: ldarg.0 - IL_023d: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0242: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0247: ldloc.s 10 - IL_0249: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string, class [mscorlib]System.Exception) - IL_024e: throw - } // end handler 1 - IL_024f: nop - IL_0250: nop - IL_0251: br IL_04ac + IL_00d9: nop + IL_00da: ldc.i4.m1 + IL_00db: stloc.2 + IL_00dc: br IL_018b - IL_0256: ldarg.0 - IL_0257: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_025c: brfalse IL_0483 + IL_00e1: nop + IL_00e2: nop + IL_00e3: ldarg.0 + IL_00e4: ldloc.0 + IL_00e5: ldarg.0 + IL_00e6: ldfld string NAnt.Core.Filters.ReplaceString::_from + IL_00eb: ldc.i4.0 + IL_00ec: callvirt instance char string::get_Chars(int32) + IL_00f1: call instance bool class NAnt.Core.Filters.ReplaceString::CompareCharacters(int32, int32) + IL_00f6: brfalse IL_0183 - IL_0261: nop - IL_0262: ldarg.0 - IL_0263: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0268: ldarg.1 - IL_0269: ldc.i4.0 - IL_026a: ldnull - IL_026b: ldnull - IL_026c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0271: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0276: brtrue IL_02e9 + IL_00fb: nop + IL_00fc: ldarg.0 + IL_00fd: ldloc.0 + IL_00fe: ldarg.0 + IL_00ff: ldflda bool NAnt.Core.Filters.ReplaceString::_endStreamAfterBuffer + IL_0104: ldarg.0 + IL_0105: ldflda string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_010a: call instance bool class NAnt.Core.Filters.ReplaceString::FindString(int32, [out] bool&, [out] string&) + IL_010f: brfalse IL_016d - IL_027b: nop - IL_027c: ldarg.0 - IL_027d: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0282: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_0287: brtrue IL_02b7 + IL_0114: nop + IL_0115: ldarg.0 + IL_0116: ldc.i4.0 + IL_0117: stfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound + IL_011c: ldarg.0 + IL_011d: ldfld string NAnt.Core.Filters.ReplaceString::_to + IL_0122: ldsfld string [mscorlib]System.String::Empty + IL_0127: call bool string::op_Equality(string, string) + IL_012c: brfalse IL_0146 - IL_028c: nop - IL_028d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0292: ldstr "NA1171" - IL_0297: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_029c: ldstr " but is not initialized and does not allow thecollection to be initialized." - IL_02a1: call string string::Concat(string, string) - IL_02a6: ldarg.0 - IL_02a7: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_02ac: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_02b1: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_02b6: throw - IL_02b7: ldarg.0 - IL_02b8: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_02bd: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_02c2: ldc.i4.s 0x14 - IL_02c4: ldnull - IL_02c5: ldnull - IL_02c6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02cb: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_02d0: stloc.s 11 - IL_02d2: ldarg.0 - IL_02d3: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_02d8: ldarg.1 - IL_02d9: ldloc.s 11 - IL_02db: ldc.i4.0 - IL_02dc: ldnull - IL_02dd: ldnull - IL_02de: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02e3: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_02e8: nop - IL_02e9: ldarg.0 - IL_02ea: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_02ef: ldarg.1 - IL_02f0: ldc.i4.0 - IL_02f1: ldnull - IL_02f2: ldnull - IL_02f3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02f8: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_02fd: stloc.s 12 - IL_02ff: ldnull - IL_0300: stloc.s 13 - IL_0302: nop - IL_0303: ldloc.s 12 - IL_0305: callvirt instance class [mscorlib]System.Type object::GetType() - IL_030a: ldc.i4.s 0x14 - IL_030c: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0311: stloc.s 15 - IL_0313: ldc.i4.0 - IL_0314: stloc.s 16 - IL_0316: br IL_039f + IL_0131: nop + IL_0132: ldarg.0 + IL_0133: ldnull + IL_0134: stfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_0139: ldarg.0 + IL_013a: ldarg.1 + IL_013b: call instance int32 class NAnt.Core.Filters.ReplaceString::GetNextCharacter(class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate) + IL_0140: stloc.2 + IL_0141: br IL_018b - IL_031b: ldloc.s 15 - IL_031d: ldloc.s 16 - IL_031f: ldelem.ref - IL_0320: stloc.s 14 - IL_0322: nop - IL_0323: ldloc.s 14 - IL_0325: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_032a: ldstr "Add" - IL_032f: call bool string::op_Equality(string, string) - IL_0334: brfalse IL_0398 + IL_0146: nop + IL_0147: ldarg.0 + IL_0148: ldarg.0 + IL_0149: ldfld string NAnt.Core.Filters.ReplaceString::_to + IL_014e: stfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_0153: ldarg.0 + IL_0154: ldc.i4.1 + IL_0155: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_015a: nop + IL_015b: ldarg.0 + IL_015c: ldfld string NAnt.Core.Filters.ReplaceString::_to + IL_0161: ldc.i4.0 + IL_0162: callvirt instance char string::get_Chars(int32) + IL_0167: stloc.2 + IL_0168: br IL_018b - IL_0339: ldloc.s 14 - IL_033b: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0340: ldlen - IL_0341: conv.i4 - IL_0342: ldc.i4.2 - IL_0343: bne.un IL_0398 + IL_016d: nop + IL_016e: ldarg.0 + IL_016f: ldc.i4.1 + IL_0170: stfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound + IL_0175: ldarg.0 + IL_0176: ldc.i4.1 + IL_0177: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_017c: ldloc.0 + IL_017d: stloc.2 + IL_017e: br IL_018b - IL_0348: nop - IL_0349: ldloc.s 14 - IL_034b: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0350: ldc.i4.0 - IL_0351: ldelem.ref - IL_0352: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0357: ldtoken [mscorlib]System.String - IL_035c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0361: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0366: brfalse IL_0397 + IL_0183: nop + IL_0184: ldloc.0 + IL_0185: stloc.2 + IL_0186: br IL_018b - IL_036b: ldloc.s 14 - IL_036d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0372: ldc.i4.1 - IL_0373: ldelem.ref - IL_0374: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0379: ldtoken [mscorlib]System.String - IL_037e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0383: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0388: brfalse IL_0397 + IL_018b: ldloc.2 + IL_018c: ret + } // end of method ReplaceString::GetNextCharacter - IL_038d: nop - IL_038e: ldloc.s 14 - IL_0390: stloc.s 13 - IL_0392: br IL_03aa + // method line 1441 + .method private hidebysig + instance default bool CompareCharacters (int32 char1, int32 char2) cil managed + { + // Method begins at RVA 0x192e0 + // Code size 48 (0x30) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase + IL_0007: brfalse IL_0023 - IL_0397: nop - IL_0398: nop - IL_0399: ldloc.s 16 - IL_039b: ldc.i4.1 - IL_039c: add - IL_039d: stloc.s 16 - IL_039f: ldloc.s 16 - IL_03a1: ldloc.s 15 - IL_03a3: ldlen - IL_03a4: conv.i4 - IL_03a5: blt IL_031b + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: conv.u2 + IL_000f: call char char::ToUpper(char) + IL_0014: ldarg.2 + IL_0015: conv.u2 + IL_0016: call char char::ToUpper(char) + IL_001b: ceq + IL_001d: stloc.0 + IL_001e: br IL_002e - IL_03aa: ldloc.s 13 - IL_03ac: ldnull - IL_03ad: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_03b2: brfalse IL_03d8 + IL_0023: nop + IL_0024: ldarg.1 + IL_0025: ldarg.2 + IL_0026: ceq + IL_0028: stloc.0 + IL_0029: br IL_002e - IL_03b7: nop - IL_03b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03bd: ldstr "NA1169" - IL_03c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03c7: ldarg.0 - IL_03c8: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_03cd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_03d2: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_03d7: throw - IL_03d8: nop - .try { // 3 - IL_03d9: nop - IL_03da: nop - IL_03db: ldarg.0 - IL_03dc: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs - IL_03e1: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Collections.Specialized.NameObjectCollectionBase::GetEnumerator() - IL_03e6: stloc.s 18 - .try { // 2 - IL_03e8: br IL_0429 + IL_002e: ldloc.0 + IL_002f: ret + } // end of method ReplaceString::CompareCharacters - IL_03ed: ldloc.s 18 - IL_03ef: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_03f4: castclass [mscorlib]System.String - IL_03f9: stloc.s 17 - IL_03fb: nop - IL_03fc: ldloc.s 13 - IL_03fe: ldloc.s 12 - IL_0400: ldc.i4.0 - IL_0401: ldnull - IL_0402: ldc.i4.2 - IL_0403: newarr [mscorlib]System.Object - IL_0408: dup - IL_0409: ldc.i4.0 - IL_040a: ldloc.s 17 - IL_040c: stelem.ref - IL_040d: dup - IL_040e: ldc.i4.1 - IL_040f: ldarg.0 - IL_0410: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs - IL_0415: ldloc.s 17 - IL_0417: callvirt instance string class [System]System.Collections.Specialized.NameValueCollection::Get(string) - IL_041c: stelem.ref - IL_041d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0422: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0427: pop - IL_0428: nop - IL_0429: ldloc.s 18 - IL_042b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0430: brtrue IL_03ed + .property instance string From () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 66 72 6F 6D 01 00 54 02 08 52 65 71 75 // ...from..T..Requ + 69 72 65 64 01 ) // ired. - IL_0435: leave IL_0451 + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - } // end .try 2 - finally { // 2 - IL_043a: ldloc.s 18 - IL_043c: isinst [mscorlib]System.IDisposable - IL_0441: dup - IL_0442: stloc.s 19 - IL_0444: brfalse IL_0450 + .get instance default string NAnt.Core.Filters.ReplaceString::get_From () + .set instance default void NAnt.Core.Filters.ReplaceString::set_From (string 'value') + } + .property instance string To () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 02 74 6F 01 00 54 02 08 52 65 71 75 69 72 // ...to..T..Requir + 65 64 00 ) // ed. - IL_0449: ldloc.s 19 - IL_044b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0450: endfinally - } // end handler 2 - IL_0451: nop - IL_0452: leave IL_047c + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. - } // end .try 3 - catch class [mscorlib]System.Exception { // 3 - IL_0457: stloc.s 20 - IL_0459: nop - IL_045a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_045f: ldstr "NA1173" - IL_0464: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0469: ldarg.0 - IL_046a: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_046f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0474: ldloc.s 20 - IL_0476: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string, class [mscorlib]System.Exception) - IL_047b: throw - } // end handler 3 - IL_047c: nop - IL_047d: nop - IL_047e: br IL_04ac + .get instance default string NAnt.Core.Filters.ReplaceString::get_To () + .set instance default void NAnt.Core.Filters.ReplaceString::set_To (string 'value') + } + .property instance bool IgnoreCase () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0A 69 67 6E 6F 72 65 63 61 73 65 01 00 54 // ...ignorecase..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. - IL_0483: nop - IL_0484: ldarg.0 - IL_0485: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue - IL_048a: brfalse IL_04ab + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_048f: nop - IL_0490: ldarg.0 - IL_0491: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo - IL_0496: ldarg.1 - IL_0497: ldarg.0 - IL_0498: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue - IL_049d: ldc.i4.0 - IL_049e: ldnull - IL_049f: ldnull - IL_04a0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_04a5: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_04aa: nop - IL_04ab: nop - IL_04ac: ret - } // end of method CommandLineArgument::Finish + .get instance default bool NAnt.Core.Filters.ReplaceString::get_IgnoreCase () + .set instance default void NAnt.Core.Filters.ReplaceString::set_IgnoreCase (bool 'value') + } + .class nested private auto ansi sealed AcquireCharDelegate + extends [mscorlib]System.MulticastDelegate + { - // method line 1487 - .method public hidebysig - instance default void SetValue (string 'value') cil managed + // method line 1442 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed { - // Method begins at RVA 0x19fbc - // Code size 211 (0xd3) - .maxstack 4 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() - IL_0007: brfalse IL_0038 + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::.ctor - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() - IL_0012: brtrue IL_0038 + // method line 1443 + .method public virtual hidebysig newslot + instance default int32 Invoke () runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::Invoke - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "NA1175" - IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0027: ldarg.0 - IL_0028: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_002d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0032: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_0037: throw - IL_0038: ldarg.0 - IL_0039: ldc.i4.1 - IL_003a: stfld bool NAnt.Core.Util.CommandLineArgument::_seenValue - IL_003f: ldarg.0 - IL_0040: ldarg.0 - IL_0041: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() - IL_0046: ldarg.1 - IL_0047: call instance object class NAnt.Core.Util.CommandLineArgument::ParseValue(class [mscorlib]System.Type, string) - IL_004c: stloc.0 - IL_004d: ldarg.0 - IL_004e: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_0053: brtrue IL_0063 + // method line 1444 + .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 AcquireCharDelegate::BeginInvoke - IL_0058: ldarg.0 - IL_0059: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_005e: brfalse IL_00b7 + // method line 1445 + .method public virtual hidebysig newslot + instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::EndInvoke - IL_0063: nop - IL_0064: ldarg.0 - IL_0065: call instance bool class NAnt.Core.Util.CommandLineArgument::get_Unique() - IL_006a: brfalse IL_00a2 + } // end of class AcquireCharDelegate - IL_006f: ldarg.0 - IL_0070: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues - IL_0075: ldloc.0 - IL_0076: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_007b: brfalse IL_00a2 + } // end of class NAnt.Core.Filters.ReplaceString +} - IL_0080: nop - IL_0081: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0086: ldstr "NA1172" - IL_008b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0090: ldarg.1 - IL_0091: ldarg.0 - IL_0092: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0097: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_009c: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_00a1: throw - IL_00a2: nop - IL_00a3: ldarg.0 - IL_00a4: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues - IL_00a9: ldloc.0 - IL_00aa: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00af: pop - IL_00b0: nop - IL_00b1: nop - IL_00b2: br IL_00d2 +.namespace NAnt.Core.Extensibility +{ + .class public auto ansi abstract beforefieldinit ExtensionBuilder + extends [mscorlib]System.Object + { + .field private initonly class NAnt.Core.Extensibility.ExtensionAssembly _extensionAssembly - IL_00b7: ldarg.0 - IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_00bd: brfalse IL_00c9 + // method line 1446 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly) cil managed + { + // Method begins at RVA 0x18358 + // Code size 33 (0x21) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - IL_00c2: nop - IL_00c3: nop - IL_00c4: br IL_00d2 + IL_000d: nop + IL_000e: ldstr "extensionAssembly" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: stfld class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::_extensionAssembly + IL_0020: ret + } // end of method ExtensionBuilder::.ctor - IL_00c9: nop - IL_00ca: ldarg.0 - IL_00cb: ldloc.0 - IL_00cc: stfld object NAnt.Core.Util.CommandLineArgument::_argumentValue - IL_00d1: nop - IL_00d2: ret - } // end of method CommandLineArgument::SetValue + // method line 1447 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + { + // Method begins at RVA 0x1837a + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) + IL_0007: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) + IL_000c: nop + IL_000d: ret + } // end of method ExtensionBuilder::.ctor - // method line 1488 - .method private hidebysig - instance default object ParseValue (class [mscorlib]System.Type 'type', string stringData) cil managed + // method line 1448 + .method assembly hidebysig specialname + instance default class NAnt.Core.Extensibility.ExtensionAssembly get_ExtensionAssembly () cil managed { - // Method begins at RVA 0x1a09c - // Code size 810 (0x32a) - .maxstack 9 + // Method begins at RVA 0x1838c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - object V_0, - class [System]System.Text.RegularExpressions.Match V_1, - string V_2, - string V_3, - class [mscorlib]System.ArgumentException V_4, - string V_5, - object V_6, - class [mscorlib]System.Collections.IEnumerator V_7, - class [mscorlib]System.IDisposable V_8, - class [mscorlib]System.Reflection.MethodInfo V_9, - class [mscorlib]System.Reflection.ConstructorInfo V_10, - class [mscorlib]System.Exception V_11) + class NAnt.Core.Extensibility.ExtensionAssembly V_0) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: brtrue IL_001c - - IL_0007: ldarg.1 - IL_0008: ldtoken [mscorlib]System.Boolean - IL_000d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0012: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0017: brfalse IL_0307 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::_extensionAssembly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001c: ldarg.2 - IL_001d: brfalse IL_002e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExtensionBuilder::get_ExtensionAssembly - IL_0022: ldarg.2 - IL_0023: callvirt instance int32 string::get_Length() - IL_0028: ldc.i4.0 - IL_0029: ble IL_0307 + // method line 1449 + .method famorassem hidebysig specialname + instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed + { + // Method begins at RVA 0x183a8 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.Reflection.Assembly V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly() + IL_0007: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionAssembly::get_Assembly() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_002e: nop - .try { // 2 - IL_002f: nop - IL_0030: ldarg.1 - IL_0031: ldtoken [mscorlib]System.String - IL_0036: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0040: brfalse IL_004d + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ExtensionBuilder::get_Assembly - IL_0045: nop - IL_0046: ldarg.2 - IL_0047: stloc.0 - IL_0048: leave IL_0328 + .property instance class NAnt.Core.Extensibility.ExtensionAssembly ExtensionAssembly () + { + .get instance default class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly () + } + .property instance class [mscorlib]System.Reflection.Assembly Assembly () + { + .get instance default class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly () + } + } // end of class NAnt.Core.Extensibility.ExtensionBuilder +} - IL_004d: ldarg.1 - IL_004e: ldtoken [mscorlib]System.Boolean - IL_0053: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0058: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_005d: brfalse IL_00a9 +.namespace NAnt.Core.Extensibility +{ + .class private auto ansi beforefieldinit ExtensionAssembly + extends [mscorlib]System.Object + { + .field private static class [mscorlib]System.Collections.Hashtable _extensionAssemblies + .field private initonly class [mscorlib]System.Reflection.Assembly _assembly + .field private class [System.Xml]System.Xml.XmlNode _configurationSection + .field private bool _configurationInit - IL_0062: nop - IL_0063: ldarg.2 - IL_0064: brfalse IL_0079 + // method line 1450 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + { + // Method begins at RVA 0x1931c + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly + IL_000e: ret + } // end of method ExtensionAssembly::.ctor - IL_0069: ldarg.2 - IL_006a: ldstr "+" - IL_006f: call bool string::op_Equality(string, string) - IL_0074: brfalse IL_0086 + // method line 1451 + .method public hidebysig specialname + instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed + { + // Method begins at RVA 0x1932c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Reflection.Assembly V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0079: nop - IL_007a: ldc.i4.1 - IL_007b: box [mscorlib]System.Boolean - IL_0080: stloc.0 - IL_0081: leave IL_0328 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExtensionAssembly::get_Assembly - IL_0086: ldarg.2 - IL_0087: ldstr "-" - IL_008c: call bool string::op_Equality(string, string) - IL_0091: brfalse IL_00a3 + // method line 1452 + .method assembly hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationSection () cil managed + { + // Method begins at RVA 0x19348 + // Code size 115 (0x73) + .maxstack 2 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + class [mscorlib]System.IO.Stream V_1, + class [System.Xml]System.Xml.XmlDocument V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Extensibility.ExtensionAssembly::_configurationInit + IL_0007: brfalse IL_0018 - IL_0096: nop - IL_0097: ldc.i4.0 - IL_0098: box [mscorlib]System.Boolean - IL_009d: stloc.0 - IL_009e: leave IL_0328 + IL_000c: ldarg.0 + IL_000d: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection + IL_0012: stloc.0 + IL_0013: br IL_0071 - IL_00a3: nop - IL_00a4: br IL_02d6 + .try { // 1 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly + IL_001f: ldstr "NAnt.Extension.config" + IL_0024: callvirt instance class [mscorlib]System.IO.Stream class [mscorlib]System.Reflection.Assembly::GetManifestResourceStream(string) + IL_0029: stloc.1 + IL_002a: ldloc.1 + IL_002b: brfalse IL_005b - IL_00a9: ldarg.1 - IL_00aa: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) - IL_00af: brfalse IL_0174 + IL_0030: nop + .try { // 0 + IL_0031: nop + IL_0032: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0037: stloc.2 + IL_0038: ldloc.2 + IL_0039: ldloc.1 + IL_003a: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.Stream) + IL_003f: ldarg.0 + IL_0040: ldloc.2 + IL_0041: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0046: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection + IL_004b: nop + IL_004c: leave IL_005a - IL_00b4: nop - IL_00b5: ldarg.2 - IL_00b6: ldstr "(\\w+[^=]*)=(\\w*.*)" - IL_00bb: call class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string, string) - IL_00c0: stloc.1 - IL_00c1: ldloc.1 - IL_00c2: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_00c7: brfalse IL_0148 + } // end .try 0 + finally { // 0 + IL_0051: nop + IL_0052: ldloc.1 + IL_0053: callvirt instance void class [mscorlib]System.IO.Stream::Close() + IL_0058: nop + IL_0059: endfinally + } // end handler 0 + IL_005a: nop + IL_005b: ldarg.0 + IL_005c: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection + IL_0061: stloc.0 + IL_0062: leave IL_0071 - IL_00cc: nop - IL_00cd: ldloc.1 - IL_00ce: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_00d3: ldc.i4.1 - IL_00d4: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_00d9: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_00de: stloc.2 - IL_00df: ldloc.1 - IL_00e0: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_00e5: ldc.i4.2 - IL_00e6: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_00eb: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_00f0: stloc.3 - IL_00f1: ldarg.0 - IL_00f2: call instance bool class NAnt.Core.Util.CommandLineArgument::get_Unique() - IL_00f7: brfalse IL_012f + } // end .try 1 + finally { // 1 + IL_0067: nop + IL_0068: ldarg.0 + IL_0069: ldc.i4.1 + IL_006a: stfld bool NAnt.Core.Extensibility.ExtensionAssembly::_configurationInit + IL_006f: nop + IL_0070: endfinally + } // end handler 1 + IL_0071: ldloc.0 + IL_0072: ret + } // end of method ExtensionAssembly::get_ConfigurationSection - IL_00fc: ldarg.0 - IL_00fd: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs - IL_0102: ldloc.2 - IL_0103: callvirt instance string class [System]System.Collections.Specialized.NameValueCollection::Get(string) - IL_0108: brfalse IL_012f + // method line 1453 + .method public static hidebysig + default class NAnt.Core.Extensibility.ExtensionAssembly Create (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + { + // Method begins at RVA 0x193e4 + // Code size 84 (0x54) + .maxstack 3 + .locals init ( + string V_0, + class NAnt.Core.Extensibility.ExtensionAssembly V_1, + class NAnt.Core.Extensibility.ExtensionAssembly V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldnull + IL_0003: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_0008: brfalse IL_0018 - IL_010d: nop - IL_010e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0113: ldstr "NA1174" - IL_0118: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_011d: ldloc.2 - IL_011e: ldarg.0 - IL_011f: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0124: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0129: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_012e: throw - IL_012f: ldarg.0 - IL_0130: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs - IL_0135: ldloc.2 - IL_0136: ldloc.3 - IL_0137: callvirt instance void class [System]System.Collections.Specialized.NameValueCollection::Add(string, string) - IL_013c: ldarg.0 - IL_013d: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs - IL_0142: stloc.0 - IL_0143: leave IL_0328 + IL_000d: ldstr "assembly" + IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0017: throw + IL_0018: ldarg.0 + IL_0019: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_001e: stloc.0 + IL_001f: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Extensibility.ExtensionAssembly::_extensionAssemblies + IL_0024: ldloc.0 + IL_0025: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_002a: isinst NAnt.Core.Extensibility.ExtensionAssembly + IL_002f: stloc.1 + IL_0030: ldloc.1 + IL_0031: brtrue IL_004b - IL_0148: nop - IL_0149: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_014e: ldstr "NA1170" - IL_0153: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0158: ldarg.2 - IL_0159: ldarg.0 - IL_015a: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_015f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0164: ldstr "Expected name/value pair (=)." - IL_0169: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_016e: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0173: throw - IL_0174: nop - IL_0175: ldarg.1 - IL_0176: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_017b: brfalse IL_022d + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: newobj instance void class NAnt.Core.Extensibility.ExtensionAssembly::'.ctor'(class [mscorlib]System.Reflection.Assembly) + IL_003d: stloc.1 + IL_003e: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Extensibility.ExtensionAssembly::_extensionAssemblies + IL_0043: ldloc.0 + IL_0044: ldarg.0 + IL_0045: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_004a: nop + IL_004b: ldloc.1 + IL_004c: stloc.2 + IL_004d: br IL_0052 - IL_0180: nop - .try { // 1 - IL_0181: nop - IL_0182: ldarg.1 - IL_0183: ldarg.2 - IL_0184: ldc.i4.1 - IL_0185: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_018a: stloc.0 - IL_018b: leave IL_0328 + IL_0052: ldloc.2 + IL_0053: ret + } // end of method ExtensionAssembly::Create - } // end .try 1 - catch class [mscorlib]System.ArgumentException { // 1 - IL_0190: stloc.s 4 - IL_0192: nop - IL_0193: ldstr "Invalid value {0} for command-line argument '-{1}'. Valid values are: " - IL_0198: stloc.s 5 - IL_019a: nop - IL_019b: ldarg.1 - IL_019c: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) - IL_01a1: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() - IL_01a6: stloc.s 7 - .try { // 0 - IL_01a8: br IL_01cd + // method line 1454 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x19444 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0005: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Extensibility.ExtensionAssembly::_extensionAssemblies + IL_000a: ret + } // end of method ExtensionAssembly::.cctor - IL_01ad: ldloc.s 7 - IL_01af: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01b4: stloc.s 6 - IL_01b6: nop - IL_01b7: ldloc.s 5 - IL_01b9: ldloc.s 6 - IL_01bb: callvirt instance string object::ToString() - IL_01c0: ldstr ", " - IL_01c5: call string string::Concat(string, string, string) - IL_01ca: stloc.s 5 - IL_01cc: nop - IL_01cd: ldloc.s 7 - IL_01cf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01d4: brtrue IL_01ad + .property instance class [mscorlib]System.Reflection.Assembly Assembly () + { + .get instance default class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::get_Assembly () + } + .property instance class [System.Xml]System.Xml.XmlNode ConfigurationSection () + { + .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::get_ConfigurationSection () + } + } // end of class NAnt.Core.Extensibility.ExtensionAssembly +} - IL_01d9: leave IL_01f5 +.namespace NAnt.Core.Extensibility +{ + .class private auto ansi beforefieldinit PluginScanner + extends [mscorlib]System.Object + { + .field private initonly class [mscorlib]System.Collections.ArrayList _pluginBuilders - } // end .try 0 - finally { // 0 - IL_01de: ldloc.s 7 - IL_01e0: isinst [mscorlib]System.IDisposable - IL_01e5: dup - IL_01e6: stloc.s 8 - IL_01e8: brfalse IL_01f4 + // method line 1455 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x19450 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ret + } // end of method PluginScanner::.ctor - IL_01ed: ldloc.s 8 - IL_01ef: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01f4: endfinally - } // end handler 0 - IL_01f5: ldloc.s 5 - IL_01f7: ldc.i4.0 - IL_01f8: ldloc.s 5 - IL_01fa: callvirt instance int32 string::get_Length() - IL_01ff: ldc.i4.2 - IL_0200: sub - IL_0201: callvirt instance string string::Substring(int32, int32) - IL_0206: ldstr "." - IL_020b: call string string::Concat(string, string) - IL_0210: stloc.s 5 - IL_0212: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0217: ldloc.s 5 - IL_0219: ldarg.2 - IL_021a: ldarg.0 - IL_021b: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0220: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0225: ldloc.s 4 - IL_0227: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) - IL_022c: throw - } // end handler 1 - IL_022d: nop - IL_022e: ldarg.1 - IL_022f: ldstr "Parse" - IL_0234: ldc.i4.s 0x18 - IL_0236: ldnull - IL_0237: ldc.i4.1 - IL_0238: ldc.i4.1 - IL_0239: newarr [mscorlib]System.Type - IL_023e: dup - IL_023f: ldc.i4.0 - IL_0240: ldtoken [mscorlib]System.String - IL_0245: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_024a: stelem.ref - IL_024b: ldnull - IL_024c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, valuetype [mscorlib]System.Reflection.CallingConventions, class [mscorlib]System.Type[], valuetype [mscorlib]System.Reflection.ParameterModifier[]) - IL_0251: stloc.s 9 - IL_0253: ldloc.s 9 - IL_0255: ldnull - IL_0256: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_025b: brfalse IL_0280 + // method line 1456 + .method public hidebysig + instance default bool ScanTypeForPlugins (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed + { + // Method begins at RVA 0x19464 + // Code size 116 (0x74) + .maxstack 7 + .locals init ( + bool V_0, + bool V_1, + class NAnt.Core.Extensibility.PluginBuilder V_2) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_0007: brfalse IL_0013 - IL_0260: nop - IL_0261: ldloc.s 9 - IL_0263: ldnull - IL_0264: ldc.i4.0 - IL_0265: ldnull - IL_0266: ldc.i4.1 - IL_0267: newarr [mscorlib]System.Object - IL_026c: dup - IL_026d: ldc.i4.0 - IL_026e: ldarg.2 - IL_026f: stelem.ref - IL_0270: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0275: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_027a: stloc.0 - IL_027b: leave IL_0328 + IL_000c: ldc.i4.0 + IL_000d: stloc.0 + IL_000e: br IL_0072 - IL_0280: ldarg.1 - IL_0281: callvirt instance bool class [mscorlib]System.Type::get_IsClass() - IL_0286: brfalse IL_02d4 + .try { // 0 + IL_0013: nop + IL_0014: ldtoken NAnt.Core.Extensibility.IPlugin + IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_001e: ldarg.2 + IL_001f: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0024: stloc.1 + IL_0025: ldloc.1 + IL_0026: brtrue IL_0033 - IL_028b: nop - IL_028c: ldarg.1 - IL_028d: ldc.i4.1 - IL_028e: newarr [mscorlib]System.Type - IL_0293: dup - IL_0294: ldc.i4.0 - IL_0295: ldtoken [mscorlib]System.String - IL_029a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_029f: stelem.ref - IL_02a0: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) - IL_02a5: stloc.s 10 - IL_02a7: ldloc.s 10 - IL_02a9: ldnull - IL_02aa: call bool class [mscorlib]System.Reflection.ConstructorInfo::op_Inequality(class [mscorlib]System.Reflection.ConstructorInfo, class [mscorlib]System.Reflection.ConstructorInfo) - IL_02af: brfalse IL_02d3 + IL_002b: nop + IL_002c: ldc.i4.0 + IL_002d: stloc.0 + IL_002e: leave IL_0072 - IL_02b4: nop - IL_02b5: ldloc.s 10 - IL_02b7: ldc.i4.0 - IL_02b8: ldnull - IL_02b9: ldc.i4.1 - IL_02ba: newarr [mscorlib]System.Object - IL_02bf: dup - IL_02c0: ldc.i4.0 - IL_02c1: ldarg.2 - IL_02c2: stelem.ref - IL_02c3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02c8: callvirt instance object class [mscorlib]System.Reflection.ConstructorInfo::Invoke(valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_02cd: stloc.0 - IL_02ce: leave IL_0328 - - IL_02d3: nop - IL_02d4: nop - IL_02d5: nop - IL_02d6: nop - IL_02d7: leave IL_0306 + IL_0033: ldarg.1 + IL_0034: ldarg.2 + IL_0035: newobj instance void class NAnt.Core.Extensibility.PluginBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type) + IL_003a: stloc.2 + IL_003b: ldarg.0 + IL_003c: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders + IL_0041: ldloc.2 + IL_0042: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0047: pop + IL_0048: ldc.i4.1 + IL_0049: stloc.0 + IL_004a: leave IL_0072 - } // end .try 2 - catch class NAnt.Core.Util.CommandLineArgumentException { // 2 - IL_02dc: pop - IL_02dd: nop - IL_02de: rethrow - } // end handler 2 - catch class [mscorlib]System.Exception { // 3 - IL_02e0: stloc.s 11 - IL_02e2: nop - IL_02e3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02e8: ldstr "NA1170" - IL_02ed: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02f2: ldarg.2 - IL_02f3: ldarg.0 - IL_02f4: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_02f9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_02fe: ldloc.s 11 - IL_0300: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0305: throw - } // end handler 3 - IL_0306: nop - IL_0307: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_030c: ldstr "NA1170" - IL_0311: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0316: ldarg.2 - IL_0317: ldarg.0 - IL_0318: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_031d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0322: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_0327: throw - IL_0328: ldloc.0 - IL_0329: ret - } // end of method CommandLineArgument::ParseValue + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_004f: pop + IL_0050: nop + IL_0051: ldarg.3 + IL_0052: ldc.i4 5000 + IL_0057: ldstr "Failure scanning \"{0}\" for plugins." + IL_005c: ldc.i4.1 + IL_005d: newarr [mscorlib]System.Object + IL_0062: dup + IL_0063: ldc.i4.0 + IL_0064: ldarg.2 + IL_0065: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() + IL_006a: stelem.ref + IL_006b: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0070: rethrow + } // end handler 0 + IL_0072: ldloc.0 + IL_0073: ret + } // end of method PluginScanner::ScanTypeForPlugins - // method line 1489 - .method private static hidebysig - default valuetype NAnt.Core.Util.CommandLineArgumentTypes GetArgumentType (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + // method line 1457 + .method public hidebysig + instance default void RegisterPlugins (class NAnt.Core.Extensibility.IPluginConsumer consumer) cil managed { - // Method begins at RVA 0x1a438 - // Code size 54 (0x36) - .maxstack 1 + // Method begins at RVA 0x194f4 + // Code size 209 (0xd1) + .maxstack 3 .locals init ( - valuetype NAnt.Core.Util.CommandLineArgumentTypes V_0) + object[] V_0, + class NAnt.Core.Extensibility.PluginBuilder V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class NAnt.Core.Extensibility.PluginConsumerAttribute V_3, + object[] V_4, + int32 V_5, + class [mscorlib]System.IDisposable V_6) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brfalse IL_0014 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 IL_0007: nop - IL_0008: ldarg.0 - IL_0009: callvirt instance valuetype NAnt.Core.Util.CommandLineArgumentTypes class NAnt.Core.Util.CommandLineArgumentAttribute::get_Type() - IL_000e: stloc.0 - IL_000f: br IL_0034 - - IL_0014: ldarg.1 - IL_0015: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_001a: call bool class NAnt.Core.Util.CommandLineArgument::IsCollectionType(class [mscorlib]System.Type) - IL_001f: brfalse IL_002c - - IL_0024: nop - IL_0025: ldc.i4.6 - IL_0026: stloc.0 - IL_0027: br IL_0034 - - IL_002c: nop - IL_002d: ldc.i4.0 - IL_002e: stloc.0 - IL_002f: br IL_0034 - - IL_0034: ldloc.0 - IL_0035: ret - } // end of method CommandLineArgument::GetArgumentType + IL_0008: ldstr "consumer" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0019: ldtoken NAnt.Core.Extensibility.PluginConsumerAttribute + IL_001e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0023: ldc.i4.0 + IL_0024: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0029: stloc.0 + IL_002a: ldloc.0 + IL_002b: ldlen + IL_002c: conv.i4 + IL_002d: brtrue IL_0038 - // method line 1490 - .method private static hidebysig - default class [mscorlib]System.Type GetElementType (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed - { - // Method begins at RVA 0x1a47c - // Code size 322 (0x142) - .maxstack 3 - .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Reflection.MethodInfo V_1, - class [mscorlib]System.Reflection.MethodInfo[] V_2, - int32 V_3, - class [mscorlib]System.Reflection.ParameterInfo V_4, - class [mscorlib]System.Type V_5) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0009: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_000e: brfalse IL_0057 + IL_0032: nop + IL_0033: br IL_00d0 - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_001a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_001f: stloc.0 - IL_0020: ldloc.0 - IL_0021: ldtoken [mscorlib]System.Object - IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0030: brfalse IL_0051 + IL_0038: nop + IL_0039: ldarg.0 + IL_003a: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders + IL_003f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0044: stloc.2 + .try { // 0 + IL_0045: br IL_00aa - IL_0035: nop - IL_0036: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003b: ldstr "Property {0} is not a strong-typed array." - IL_0040: ldarg.0 - IL_0041: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0046: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_004b: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_0050: throw - IL_0051: nop - IL_0052: br IL_0137 + IL_004a: ldloc.2 + IL_004b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0050: castclass NAnt.Core.Extensibility.PluginBuilder + IL_0055: stloc.1 + IL_0056: nop + IL_0057: nop + IL_0058: ldloc.0 + IL_0059: stloc.s 4 + IL_005b: ldc.i4.0 + IL_005c: stloc.s 5 + IL_005e: br IL_009e - IL_0057: ldtoken [mscorlib]System.Collections.ICollection - IL_005c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0061: ldarg.0 - IL_0062: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0067: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_006c: brfalse IL_0137 + IL_0063: ldloc.s 4 + IL_0065: ldloc.s 5 + IL_0067: ldelem.ref + IL_0068: castclass NAnt.Core.Extensibility.PluginConsumerAttribute + IL_006d: stloc.3 + IL_006e: nop + IL_006f: ldloc.3 + IL_0070: callvirt instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginConsumerAttribute::get_PluginType() + IL_0075: ldloc.1 + IL_0076: callvirt instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginBuilder::get_PluginType() + IL_007b: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0080: brfalse IL_0097 - IL_0071: nop - IL_0072: nop - IL_0073: ldarg.0 - IL_0074: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0079: ldc.i4.s 0x14 - IL_007b: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0080: stloc.2 - IL_0081: ldc.i4.0 - IL_0082: stloc.3 - IL_0083: br IL_0105 + IL_0085: nop + IL_0086: ldarg.1 + IL_0087: ldloc.1 + IL_0088: callvirt instance class NAnt.Core.Extensibility.IPlugin class NAnt.Core.Extensibility.PluginBuilder::CreatePlugin() + IL_008d: callvirt instance void class NAnt.Core.Extensibility.IPluginConsumer::ConsumePlugin(class NAnt.Core.Extensibility.IPlugin) + IL_0092: leave IL_00a9 - IL_0088: ldloc.2 - IL_0089: ldloc.3 - IL_008a: ldelem.ref - IL_008b: stloc.1 - IL_008c: nop - IL_008d: ldloc.1 - IL_008e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0093: ldstr "Add" - IL_0098: call bool string::op_Equality(string, string) - IL_009d: brfalse IL_0100 + IL_0097: nop + IL_0098: ldloc.s 5 + IL_009a: ldc.i4.1 + IL_009b: add + IL_009c: stloc.s 5 + IL_009e: ldloc.s 5 + IL_00a0: ldloc.s 4 + IL_00a2: ldlen + IL_00a3: conv.i4 + IL_00a4: blt IL_0063 - IL_00a2: ldloc.1 - IL_00a3: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_00a8: ldlen - IL_00a9: conv.i4 - IL_00aa: ldc.i4.1 - IL_00ab: bne.un IL_0100 + IL_00a9: nop + IL_00aa: ldloc.2 + IL_00ab: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00b0: brtrue IL_004a - IL_00b0: nop - IL_00b1: ldloc.1 - IL_00b2: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_00b7: ldc.i4.0 - IL_00b8: ldelem.ref - IL_00b9: stloc.s 4 - IL_00bb: ldloc.s 4 - IL_00bd: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_00c2: ldtoken [mscorlib]System.Object - IL_00c7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00cc: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00d1: brfalse IL_00f2 + IL_00b5: leave IL_00d0 - IL_00d6: nop - IL_00d7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00dc: ldstr "Property {0} is not a strong-typed collection." - IL_00e1: ldarg.0 - IL_00e2: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_00e7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00ec: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_00f1: throw - IL_00f2: nop - IL_00f3: ldloc.s 4 - IL_00f5: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_00fa: stloc.0 - IL_00fb: br IL_010e + } // end .try 0 + finally { // 0 + IL_00ba: ldloc.2 + IL_00bb: isinst [mscorlib]System.IDisposable + IL_00c0: dup + IL_00c1: stloc.s 6 + IL_00c3: brfalse IL_00cf - IL_0100: nop - IL_0101: ldloc.3 - IL_0102: ldc.i4.1 - IL_0103: add - IL_0104: stloc.3 - IL_0105: ldloc.3 - IL_0106: ldloc.2 - IL_0107: ldlen - IL_0108: conv.i4 - IL_0109: blt IL_0088 + IL_00c8: ldloc.s 6 + IL_00ca: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00cf: endfinally + } // end handler 0 + IL_00d0: ret + } // end of method PluginScanner::RegisterPlugins - IL_010e: ldloc.0 - IL_010f: ldnull - IL_0110: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0115: brfalse IL_0136 + } // end of class NAnt.Core.Extensibility.PluginScanner +} - IL_011a: nop - IL_011b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0120: ldstr "Invalid commandline argument type for property {0}." - IL_0125: ldarg.0 - IL_0126: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_012b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0130: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_0135: throw - IL_0136: nop - IL_0137: ldloc.0 - IL_0138: stloc.s 5 - IL_013a: br IL_013f +.namespace NAnt.Core.Extensibility +{ + .class public auto ansi sealed beforefieldinit PluginConsumerAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 04 00 00 00 02 00 54 02 09 49 6E 68 65 72 // ........T..Inher + 69 74 65 64 00 54 02 0D 41 6C 6C 6F 77 4D 75 6C // ited.T..AllowMul + 74 69 70 6C 65 01 ) // tiple. - IL_013f: ldloc.s 5 - IL_0141: ret - } // end of method CommandLineArgument::GetElementType + .field private class [mscorlib]System.Type _type - // method line 1491 - .method private static hidebysig - default bool IsNameValueCollectionType (class [mscorlib]System.Type 'type') cil managed + // method line 1458 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x1a5cc - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldtoken [System]System.Collections.Specialized.NameValueCollection - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.0 - IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0011: stloc.0 - IL_0012: br IL_0017 + // Method begins at RVA 0x195e4 + // Code size 39 (0x27) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: ldnull + IL_0009: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_000e: brfalse IL_001f - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CommandLineArgument::IsNameValueCollectionType + IL_0013: nop + IL_0014: ldstr "type" + IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001e: throw + IL_001f: ldarg.0 + IL_0020: ldarg.1 + IL_0021: stfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::_type + IL_0026: ret + } // end of method PluginConsumerAttribute::.ctor - // method line 1492 - .method private static hidebysig - default bool IsCollectionType (class [mscorlib]System.Type 'type') cil managed + // method line 1459 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_PluginType () cil managed { - // Method begins at RVA 0x1a5f4 - // Code size 42 (0x2a) - .maxstack 2 + // Method begins at RVA 0x1960c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Type V_0) IL_0000: nop - IL_0001: ldtoken [mscorlib]System.Collections.ICollection - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.0 - IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0011: brfalse IL_0021 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::_type + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0016: ldarg.0 - IL_0017: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) - IL_001c: ldc.i4.0 - IL_001d: ceq - IL_001f: br.s IL_0022 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PluginConsumerAttribute::get_PluginType - IL_0021: ldc.i4.0 - IL_0022: stloc.0 - IL_0023: br IL_0028 + .property instance class [mscorlib]System.Type PluginType () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::get_PluginType () + } + } // end of class NAnt.Core.Extensibility.PluginConsumerAttribute +} - IL_0028: ldloc.0 - IL_0029: ret - } // end of method CommandLineArgument::IsCollectionType +.namespace NAnt.Core.Extensibility +{ + .class private auto ansi beforefieldinit PluginBuilder + extends NAnt.Core.Extensibility.ExtensionBuilder + { + .field private initonly class [mscorlib]System.Type _pluginType - // method line 1493 - .method private static hidebysig - default bool IsArrayType (class [mscorlib]System.Type 'type') cil managed + // method line 1460 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type pluginType) cil managed + { + // Method begins at RVA 0x19627 + // Code size 16 (0x10) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldarg.2 + IL_000a: stfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType + IL_000f: ret + } // end of method PluginBuilder::.ctor + + // method line 1461 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_PluginType () cil managed { - // Method begins at RVA 0x1a62c + // Method begins at RVA 0x19638 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CommandLineArgument::IsArrayType + } // end of method PluginBuilder::get_PluginType - .property instance class [mscorlib]System.Reflection.PropertyInfo Property () - { - .get instance default class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::get_Property () - } - .property instance class [mscorlib]System.Type ValueType () - { - .get instance default class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::get_ValueType () - } - .property instance string LongName () - { - .get instance default string NAnt.Core.Util.CommandLineArgument::get_LongName () - } - .property instance string ShortName () - { - .get instance default string NAnt.Core.Util.CommandLineArgument::get_ShortName () - } - .property instance string Description () - { - .get instance default string NAnt.Core.Util.CommandLineArgument::get_Description () - } - .property instance bool IsRequired () - { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsRequired () - } - .property instance bool SeenValue () - { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_SeenValue () - } - .property instance bool AllowMultiple () - { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_AllowMultiple () - } - .property instance bool Unique () + // method line 1462 + .method public hidebysig + instance default class NAnt.Core.Extensibility.IPlugin CreatePlugin () cil managed + { + // Method begins at RVA 0x19654 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Extensibility.IPlugin V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginBuilder::get_PluginType() + IL_0007: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) + IL_000c: castclass NAnt.Core.Extensibility.IPlugin + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method PluginBuilder::CreatePlugin + + .property instance class [mscorlib]System.Type PluginType () { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_Unique () + .get instance default class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::get_PluginType () } - .property instance class [mscorlib]System.Type Type () - { - .get instance default class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::get_Type () - } - .property instance bool IsCollection () + } // end of class NAnt.Core.Extensibility.PluginBuilder +} + +.namespace NAnt.Core.Extensibility +{ + .class interface public auto ansi abstract IPluginConsumer + { + + // method line 1463 + .method public virtual hidebysig newslot abstract + instance default void ConsumePlugin (class NAnt.Core.Extensibility.IPlugin 'type') cil managed + { + // Method begins at RVA 0x0 + } // end of method IPluginConsumer::ConsumePlugin + + } // end of class NAnt.Core.Extensibility.IPluginConsumer +} + +.namespace NAnt.Core.Extensibility +{ + .class private auto ansi beforefieldinit FunctionArgument + extends [mscorlib]System.Object + { + .field private initonly int32 _index + .field private initonly string _name + .field private initonly object _value + .field private initonly valuetype NAnt.Core.ExpressionTokenizer/Position _beforeArgument + .field private initonly valuetype NAnt.Core.ExpressionTokenizer/Position _afterArgument + + // method line 1464 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name, int32 index, object 'value', valuetype NAnt.Core.ExpressionTokenizer/Position beforeArgument, valuetype NAnt.Core.ExpressionTokenizer/Position afterArgument) cil managed + { + // Method begins at RVA 0x19679 + // Code size 45 (0x2d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld string NAnt.Core.Extensibility.FunctionArgument::_name + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld int32 NAnt.Core.Extensibility.FunctionArgument::_index + IL_0015: ldarg.0 + IL_0016: ldarg.3 + IL_0017: stfld object NAnt.Core.Extensibility.FunctionArgument::_value + IL_001c: ldarg.0 + IL_001d: ldarg.s 4 + IL_001f: stfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_beforeArgument + IL_0024: ldarg.0 + IL_0025: ldarg.s 5 + IL_0027: stfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_afterArgument + IL_002c: ret + } // end of method FunctionArgument::.ctor + + // method line 1465 + .method public hidebysig specialname + instance default int32 get_Index () cil managed + { + // Method begins at RVA 0x196a8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Extensibility.FunctionArgument::_index + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionArgument::get_Index + + // method line 1466 + .method public hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x196c4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Extensibility.FunctionArgument::_name + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionArgument::get_Name + + // method line 1467 + .method public hidebysig specialname + instance default object get_Value () cil managed + { + // Method begins at RVA 0x196e0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld object NAnt.Core.Extensibility.FunctionArgument::_value + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionArgument::get_Value + + // method line 1468 + .method public hidebysig specialname + instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_BeforeArgument () cil managed + { + // Method begins at RVA 0x196fc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.ExpressionTokenizer/Position V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_beforeArgument + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionArgument::get_BeforeArgument + + // method line 1469 + .method public hidebysig specialname + instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_AfterArgument () cil managed + { + // Method begins at RVA 0x19718 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.ExpressionTokenizer/Position V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_afterArgument + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionArgument::get_AfterArgument + + .property instance int32 Index () { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsCollection () + .get instance default int32 NAnt.Core.Extensibility.FunctionArgument::get_Index () } - .property instance bool IsNameValueCollection () + .property instance string Name () { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection () + .get instance default string NAnt.Core.Extensibility.FunctionArgument::get_Name () } - .property instance bool IsArray () + .property instance object Value () { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsArray () + .get instance default object NAnt.Core.Extensibility.FunctionArgument::get_Value () } - .property instance bool IsDefault () + .property instance valuetype NAnt.Core.ExpressionTokenizer/Position BeforeArgument () { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsDefault () + .get instance default valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::get_BeforeArgument () } - .property instance bool IsExclusive () + .property instance valuetype NAnt.Core.ExpressionTokenizer/Position AfterArgument () { - .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsExclusive () + .get instance default valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::get_AfterArgument () } - } // end of class NAnt.Core.Util.CommandLineArgument + } // end of class NAnt.Core.Extensibility.FunctionArgument +} + +.namespace NAnt.Core.Extensibility +{ + .class interface public auto ansi abstract IPlugin + { + + } // end of class NAnt.Core.Extensibility.IPlugin } .namespace NAnt.Core.Util @@ -51657,11 +49888,11 @@ { .field private static literal int32 _bufferSize = int32(0x00002000) - // method line 1494 + // method line 1470 .method public static hidebysig default void CopyFile (string sourceFileName, string destFileName, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding, class [mscorlib]System.Text.Encoding outputEncoding) cil managed { - // Method begins at RVA 0x1a648 + // Method begins at RVA 0x19734 // Code size 329 (0x149) .maxstack 4 .locals init ( @@ -51840,11 +50071,11 @@ IL_0148: ret } // end of method FileUtils::CopyFile - // method line 1495 + // method line 1471 .method public static hidebysig default void MoveFile (string sourceFileName, string destFileName, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding, class [mscorlib]System.Text.Encoding outputEncoding) cil managed { - // Method begins at RVA 0x1a7bc + // Method begins at RVA 0x198a8 // Code size 88 (0x58) .maxstack 5 IL_0000: nop @@ -51888,11 +50119,11 @@ IL_0057: ret } // end of method FileUtils::MoveFile - // method line 1496 + // method line 1472 .method assembly static hidebysig default void CopyDirectory (string sourceDirectory, string destDirectory, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding, class [mscorlib]System.Text.Encoding outputEncoding) cil managed { - // Method begins at RVA 0x1a820 + // Method begins at RVA 0x1990c // Code size 180 (0xb4) .maxstack 5 .locals init ( @@ -51997,11 +50228,11 @@ IL_00b3: ret } // end of method FileUtils::CopyDirectory - // method line 1497 + // method line 1473 .method assembly static hidebysig default void MoveDirectory (string sourceDirectory, string destDirectory, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding, class [mscorlib]System.Text.Encoding outputEncoding) cil managed { - // Method begins at RVA 0x1a8e0 + // Method begins at RVA 0x199cc // Code size 308 (0x134) .maxstack 5 .locals init ( @@ -52154,11 +50385,11 @@ IL_0133: ret } // end of method FileUtils::MoveDirectory - // method line 1498 + // method line 1474 .method assembly static hidebysig default string GetTempDirectoryName () cil managed { - // Method begins at RVA 0x1aa3c + // Method begins at RVA 0x19b28 // Code size 24 (0x18) .maxstack 2 .locals init ( @@ -52174,11 +50405,11 @@ IL_0017: ret } // end of method FileUtils::GetTempDirectoryName - // method line 1499 + // method line 1475 .method public static hidebysig default string ReadFile (string fileName, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding) cil managed { - // Method begins at RVA 0x1aa60 + // Method begins at RVA 0x19b4c // Code size 166 (0xa6) .maxstack 3 .locals init ( @@ -52272,11 +50503,11 @@ IL_00a5: ret } // end of method FileUtils::ReadFile - // method line 1500 + // method line 1476 .method public static hidebysig default class [mscorlib]System.IO.DirectoryInfo GetTempDirectory () cil managed { - // Method begins at RVA 0x1ab24 + // Method begins at RVA 0x19c10 // Code size 34 (0x22) .maxstack 1 .locals init ( @@ -52299,11 +50530,11 @@ IL_0021: ret } // end of method FileUtils::GetTempDirectory - // method line 1501 + // method line 1477 .method public static hidebysig default string CombinePaths (string path1, string path2) cil managed { - // Method begins at RVA 0x1ab54 + // Method begins at RVA 0x19c40 // Code size 664 (0x298) .maxstack 4 .locals init ( @@ -52610,11 +50841,11 @@ IL_0297: ret } // end of method FileUtils::CombinePaths - // method line 1502 + // method line 1478 .method public static hidebysig default string GetFullPath (string path) cil managed { - // Method begins at RVA 0x1adf8 + // Method begins at RVA 0x19ee4 // Code size 135 (0x87) .maxstack 2 .locals init ( @@ -52673,11 +50904,11 @@ IL_0086: ret } // end of method FileUtils::GetFullPath - // method line 1503 + // method line 1479 .method public static hidebysig default string GetHomeDirectory () cil managed { - // Method begins at RVA 0x1ae8c + // Method begins at RVA 0x19f78 // Code size 47 (0x2f) .maxstack 1 .locals init ( @@ -52702,11 +50933,11 @@ IL_002e: ret } // end of method FileUtils::GetHomeDirectory - // method line 1504 + // method line 1480 .method public static hidebysig default string ResolveFile (string[] directories, string fileName, bool recursive) cil managed { - // Method begins at RVA 0x1aec8 + // Method begins at RVA 0x19fb4 // Code size 113 (0x71) .maxstack 3 .locals init ( @@ -52777,11 +51008,11 @@ IL_0070: ret } // end of method FileUtils::ResolveFile - // method line 1505 + // method line 1481 .method private static hidebysig default string ScanDirectory (string directory, string fileName, bool recursive) cil managed { - // Method begins at RVA 0x1af48 + // Method begins at RVA 0x1a034 // Code size 121 (0x79) .maxstack 3 .locals init ( @@ -52864,17 +51095,35 @@ .namespace NAnt.Core.Util { + .class public auto ansi sealed CommandLineArgumentTypes + extends [mscorlib]System.Enum + { + .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Required = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Unique = int32(0x00000002) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Multiple = int32(0x00000004) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Exclusive = int32(0x00000008) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes AtMostOnce = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes MultipleUnique = int32(0x00000006) + + } // end of class NAnt.Core.Util.CommandLineArgumentTypes +} + +.namespace NAnt.Core.Util +{ .class public auto ansi sealed serializable beforefieldinit AssemblyResolver extends [mscorlib]System.Object { .field private class [mscorlib]System.Collections.Hashtable _assemblyCache .field private class NAnt.Core.Task _task - // method line 1506 + // method line 1482 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1afcd + // Method begins at RVA 0x1a0b9 // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 @@ -52886,11 +51135,11 @@ IL_0012: ret } // end of method AssemblyResolver::.ctor - // method line 1507 + // method line 1483 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Task task) cil managed { - // Method begins at RVA 0x1afe1 + // Method begins at RVA 0x1a0cd // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -52902,11 +51151,11 @@ IL_000e: ret } // end of method AssemblyResolver::.ctor - // method line 1508 + // method line 1484 .method public hidebysig instance default void Attach () cil managed { - // Method begins at RVA 0x1aff1 + // Method begins at RVA 0x1a0dd // Code size 46 (0x2e) .maxstack 8 IL_0000: nop @@ -52923,11 +51172,11 @@ IL_002d: ret } // end of method AssemblyResolver::Attach - // method line 1509 + // method line 1485 .method public hidebysig instance default void Detach () cil managed { - // Method begins at RVA 0x1b020 + // Method begins at RVA 0x1a10c // Code size 57 (0x39) .maxstack 8 IL_0000: nop @@ -52947,11 +51196,11 @@ IL_0038: ret } // end of method AssemblyResolver::Detach - // method line 1510 + // method line 1486 .method private hidebysig instance default class [mscorlib]System.Reflection.Assembly AssemblyResolve (object sender, class [mscorlib]System.ResolveEventArgs args) cil managed { - // Method begins at RVA 0x1b05c + // Method begins at RVA 0x1a148 // Code size 502 (0x1f6) .maxstack 7 .locals init ( @@ -53169,11 +51418,11 @@ IL_01f5: ret } // end of method AssemblyResolver::AssemblyResolve - // method line 1511 + // method line 1487 .method private hidebysig instance default void AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed { - // Method begins at RVA 0x1b270 + // Method begins at RVA 0x1a35c // Code size 66 (0x42) .maxstack 7 IL_0000: nop @@ -53200,14 +51449,14 @@ IL_0041: ret } // end of method AssemblyResolver::AssemblyLoad - // method line 1512 + // method line 1488 .method private hidebysig instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed { .param [3] .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x1b2be + // Method begins at RVA 0x1a3aa // Code size 29 (0x1d) .maxstack 8 IL_0000: nop @@ -53231,412 +51480,127 @@ .namespace NAnt.Core.Util { - .class public auto ansi sealed beforefieldinit ReflectionUtils + .class public auto ansi beforefieldinit CommandLineParser extends [mscorlib]System.Object { + .field private class NAnt.Core.Util.CommandLineArgumentCollection _argumentCollection + .field private class NAnt.Core.Util.CommandLineArgument _defaultArgument + .field private class [mscorlib]System.Type _argumentSpecification + .field private bool _supportsResponseFile - // method line 1513 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1489 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Type argumentSpecification, bool supportsResponseFile) cil managed { - // Method begins at RVA 0x1b2dc - // Code size 8 (0x8) - .maxstack 8 + // Method begins at RVA 0x1a3c8 + // Code size 211 (0xd3) + .maxstack 3 + .locals init ( + class [mscorlib]System.Reflection.PropertyInfo V_0, + class [mscorlib]System.Reflection.PropertyInfo[] V_1, + int32 V_2, + class NAnt.Core.Util.CommandLineArgumentAttribute V_3) IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: nop - IL_0007: ret - } // end of method ReflectionUtils::.ctor + IL_0007: ldarg.1 + IL_0008: ldnull + IL_0009: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_000e: brfalse IL_001f - // method line 1514 - .method public static hidebysig - default class [mscorlib]System.Type GetTypeFromString (string typeName, bool throwOnError) cil managed - { - // Method begins at RVA 0x1b2e8 - // Code size 242 (0xf2) - .maxstack 4 - .locals init ( - class [mscorlib]System.Type V_0, - int32 V_1, - int32 V_2, - string V_3, - string V_4, - class [mscorlib]System.Reflection.Assembly[] V_5, - class [mscorlib]System.Reflection.Assembly V_6, - class [mscorlib]System.Reflection.Assembly[] V_7, - int32 V_8, - class [mscorlib]System.Type V_9) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: ldnull - IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0010: brfalse IL_00e7 + IL_0013: nop + IL_0014: ldstr "argumentSpecification" + IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001e: throw + IL_001f: ldarg.0 + IL_0020: newobj instance void class NAnt.Core.Util.CommandLineArgumentCollection::'.ctor'() + IL_0025: stfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_002a: nop + IL_002b: ldarg.1 + IL_002c: ldc.i4.s 0x14 + IL_002e: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0033: stloc.1 + IL_0034: ldc.i4.0 + IL_0035: stloc.2 + IL_0036: br IL_00bb - IL_0015: nop - IL_0016: ldarg.0 - IL_0017: ldc.i4.s 0x2c - IL_0019: callvirt instance int32 string::IndexOf(char) - IL_001e: ldc.i4.m1 - IL_001f: beq IL_0095 + IL_003b: ldloc.1 + IL_003c: ldloc.2 + IL_003d: ldelem.ref + IL_003e: stloc.0 + IL_003f: nop + IL_0040: ldloc.0 + IL_0041: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0046: brtrue IL_0065 - IL_0024: nop - IL_0025: ldarg.0 - IL_0026: ldc.i4.s 0x2c - IL_0028: callvirt instance int32 string::IndexOf(char) - IL_002d: stloc.1 - IL_002e: ldarg.0 - IL_002f: ldc.i4.s 0x2c - IL_0031: ldloc.1 - IL_0032: ldc.i4.1 - IL_0033: add - IL_0034: callvirt instance int32 string::IndexOf(char, int32) - IL_0039: stloc.2 - IL_003a: ldarg.0 - IL_003b: ldc.i4.0 - IL_003c: ldloc.1 - IL_003d: callvirt instance string string::Substring(int32, int32) - IL_0042: stloc.3 - IL_0043: ldnull - IL_0044: stloc.s 4 - IL_0046: ldloc.2 - IL_0047: ldc.i4.m1 - IL_0048: beq IL_0069 + IL_004b: ldtoken [mscorlib]System.Collections.ICollection + IL_0050: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0055: ldloc.0 + IL_0056: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_005b: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0060: brfalse IL_00b6 - IL_004d: nop - IL_004e: ldarg.0 - IL_004f: ldloc.1 - IL_0050: ldc.i4.1 - IL_0051: add - IL_0052: ldloc.2 - IL_0053: ldloc.1 - IL_0054: sub - IL_0055: ldc.i4.1 - IL_0056: sub - IL_0057: callvirt instance string string::Substring(int32, int32) - IL_005c: callvirt instance string string::Trim() - IL_0061: stloc.s 4 - IL_0063: nop - IL_0064: br IL_007b + IL_0065: nop + IL_0066: ldloc.0 + IL_0067: call class NAnt.Core.Util.CommandLineArgumentAttribute class NAnt.Core.Util.CommandLineParser::GetCommandLineAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_006c: stloc.3 + IL_006d: ldloc.3 + IL_006e: isinst NAnt.Core.Util.DefaultCommandLineArgumentAttribute + IL_0073: brfalse IL_009a - IL_0069: nop - IL_006a: ldarg.0 - IL_006b: ldloc.1 - IL_006c: ldc.i4.1 - IL_006d: add - IL_006e: callvirt instance string string::Substring(int32) - IL_0073: callvirt instance string string::Trim() - IL_0078: stloc.s 4 - IL_007a: nop - IL_007b: ldloc.3 - IL_007c: ldstr ", " - IL_0081: ldloc.s 4 - IL_0083: call string string::Concat(string, string, string) - IL_0088: ldc.i4.0 - IL_0089: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) - IL_008e: stloc.0 - IL_008f: nop - IL_0090: br IL_00e6 + IL_0078: nop + IL_0079: ldarg.0 + IL_007a: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_007f: ldnull + IL_0080: ceq + IL_0082: call void class [System]System.Diagnostics.Debug::Assert(bool) + IL_0087: ldarg.0 + IL_0088: ldloc.3 + IL_0089: ldloc.0 + IL_008a: newobj instance void class NAnt.Core.Util.CommandLineArgument::'.ctor'(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) + IL_008f: stfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0094: nop + IL_0095: br IL_00b5 - IL_0095: nop - IL_0096: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_009b: callvirt instance class [mscorlib]System.Reflection.Assembly[] class [mscorlib]System.AppDomain::GetAssemblies() - IL_00a0: stloc.s 5 - IL_00a2: nop - IL_00a3: ldloc.s 5 - IL_00a5: stloc.s 7 - IL_00a7: ldc.i4.0 - IL_00a8: stloc.s 8 - IL_00aa: br IL_00da + IL_009a: ldloc.3 + IL_009b: brfalse IL_00b5 - IL_00af: ldloc.s 7 - IL_00b1: ldloc.s 8 - IL_00b3: ldelem.ref - IL_00b4: stloc.s 6 + IL_00a0: nop + IL_00a1: ldarg.0 + IL_00a2: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_00a7: ldloc.3 + IL_00a8: ldloc.0 + IL_00a9: newobj instance void class NAnt.Core.Util.CommandLineArgument::'.ctor'(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) + IL_00ae: callvirt instance int32 class NAnt.Core.Util.CommandLineArgumentCollection::Add(class NAnt.Core.Util.CommandLineArgument) + IL_00b3: pop + IL_00b4: nop + IL_00b5: nop IL_00b6: nop - IL_00b7: ldloc.s 6 - IL_00b9: ldarg.0 - IL_00ba: ldc.i4.0 - IL_00bb: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool) - IL_00c0: stloc.0 - IL_00c1: ldloc.0 - IL_00c2: ldnull - IL_00c3: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00c8: brfalse IL_00d3 - - IL_00cd: nop - IL_00ce: br IL_00e5 - - IL_00d3: nop - IL_00d4: ldloc.s 8 - IL_00d6: ldc.i4.1 - IL_00d7: add - IL_00d8: stloc.s 8 - IL_00da: ldloc.s 8 - IL_00dc: ldloc.s 7 - IL_00de: ldlen - IL_00df: conv.i4 - IL_00e0: blt IL_00af - - IL_00e5: nop - IL_00e6: nop - IL_00e7: ldloc.0 - IL_00e8: stloc.s 9 - IL_00ea: br IL_00ef - - IL_00ef: ldloc.s 9 - IL_00f1: ret - } // end of method ReflectionUtils::GetTypeFromString - - } // end of class NAnt.Core.Util.ReflectionUtils -} - -.namespace NAnt.Core.Util -{ - .class public auto ansi beforefieldinit StopWatchStack - extends [mscorlib]System.Object - { - .field private initonly class NAnt.Core.Util.DateTimeProvider _dtProvider - .field private initonly class [mscorlib]System.Collections.Stack _stack + IL_00b7: ldloc.2 + IL_00b8: ldc.i4.1 + IL_00b9: add + IL_00ba: stloc.2 + IL_00bb: ldloc.2 + IL_00bc: ldloc.1 + IL_00bd: ldlen + IL_00be: conv.i4 + IL_00bf: blt IL_003b - // method line 1515 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed - { - // Method begins at RVA 0x1b3e6 - // Code size 26 (0x1a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: stfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack::_dtProvider - IL_0019: ret - } // end of method StopWatchStack::.ctor + IL_00c4: ldarg.0 + IL_00c5: ldarg.1 + IL_00c6: stfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineParser::_argumentSpecification + IL_00cb: ldarg.0 + IL_00cc: ldarg.2 + IL_00cd: stfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile + IL_00d2: ret + } // end of method CommandLineParser::.ctor - // method line 1516 - .method public hidebysig - instance default void PushStart () cil managed + // method line 1490 + .method public virtual hidebysig newslot specialname + instance default string get_LogoBanner () cil managed { - // Method begins at RVA 0x1b401 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack - IL_0007: ldarg.0 - IL_0008: ldfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack::_dtProvider - IL_000d: newobj instance void class NAnt.Core.Util.StopWatchStack/StopWatch::'.ctor'(class NAnt.Core.Util.DateTimeProvider) - IL_0012: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) - IL_0017: ret - } // end of method StopWatchStack::PushStart - - // method line 1517 - .method public hidebysig - instance default valuetype [mscorlib]System.TimeSpan PopStop () cil managed - { - // Method begins at RVA 0x1b41c - // Code size 30 (0x1e) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack - IL_0007: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_000c: castclass NAnt.Core.Util.StopWatchStack/StopWatch - IL_0011: callvirt instance valuetype [mscorlib]System.TimeSpan class NAnt.Core.Util.StopWatchStack/StopWatch::Elapsed() - IL_0016: stloc.0 - IL_0017: br IL_001c - - IL_001c: ldloc.0 - IL_001d: ret - } // end of method StopWatchStack::PopStop - - .class nested private auto ansi beforefieldinit StopWatch - extends [mscorlib]System.Object - { - .field private initonly class NAnt.Core.Util.DateTimeProvider _dtProvider - .field private initonly valuetype [mscorlib]System.DateTime _start - - // method line 1518 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed - { - // Method begins at RVA 0x1b446 - // Code size 27 (0x1b) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack/StopWatch::_dtProvider - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: callvirt instance valuetype [mscorlib]System.DateTime class NAnt.Core.Util.DateTimeProvider::get_Now() - IL_0015: stfld valuetype [mscorlib]System.DateTime NAnt.Core.Util.StopWatchStack/StopWatch::_start - IL_001a: ret - } // end of method StopWatch::.ctor - - // method line 1519 - .method public hidebysig - instance default valuetype [mscorlib]System.TimeSpan Elapsed () cil managed - { - // Method begins at RVA 0x1b464 - // Code size 31 (0x1f) - .maxstack 2 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack/StopWatch::_dtProvider - IL_0007: callvirt instance valuetype [mscorlib]System.DateTime class NAnt.Core.Util.DateTimeProvider::get_Now() - IL_000c: ldarg.0 - IL_000d: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Util.StopWatchStack/StopWatch::_start - IL_0012: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0017: stloc.0 - IL_0018: br IL_001d - - IL_001d: ldloc.0 - IL_001e: ret - } // end of method StopWatch::Elapsed - - } // end of class StopWatch - - } // end of class NAnt.Core.Util.StopWatchStack -} - -.namespace NAnt.Core.Util -{ - .class public auto ansi beforefieldinit CommandLineParser - extends [mscorlib]System.Object - { - .field private class NAnt.Core.Util.CommandLineArgumentCollection _argumentCollection - .field private class NAnt.Core.Util.CommandLineArgument _defaultArgument - .field private class [mscorlib]System.Type _argumentSpecification - .field private bool _supportsResponseFile - - // method line 1520 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Type argumentSpecification, bool supportsResponseFile) cil managed - { - // Method begins at RVA 0x1b490 - // Code size 211 (0xd3) - .maxstack 3 - .locals init ( - class [mscorlib]System.Reflection.PropertyInfo V_0, - class [mscorlib]System.Reflection.PropertyInfo[] V_1, - int32 V_2, - class NAnt.Core.Util.CommandLineArgumentAttribute V_3) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: ldnull - IL_0009: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_000e: brfalse IL_001f - - IL_0013: nop - IL_0014: ldstr "argumentSpecification" - IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001e: throw - IL_001f: ldarg.0 - IL_0020: newobj instance void class NAnt.Core.Util.CommandLineArgumentCollection::'.ctor'() - IL_0025: stfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection - IL_002a: nop - IL_002b: ldarg.1 - IL_002c: ldc.i4.s 0x14 - IL_002e: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0033: stloc.1 - IL_0034: ldc.i4.0 - IL_0035: stloc.2 - IL_0036: br IL_00bb - - IL_003b: ldloc.1 - IL_003c: ldloc.2 - IL_003d: ldelem.ref - IL_003e: stloc.0 - IL_003f: nop - IL_0040: ldloc.0 - IL_0041: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_0046: brtrue IL_0065 - - IL_004b: ldtoken [mscorlib]System.Collections.ICollection - IL_0050: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0055: ldloc.0 - IL_0056: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_005b: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0060: brfalse IL_00b6 - - IL_0065: nop - IL_0066: ldloc.0 - IL_0067: call class NAnt.Core.Util.CommandLineArgumentAttribute class NAnt.Core.Util.CommandLineParser::GetCommandLineAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_006c: stloc.3 - IL_006d: ldloc.3 - IL_006e: isinst NAnt.Core.Util.DefaultCommandLineArgumentAttribute - IL_0073: brfalse IL_009a - - IL_0078: nop - IL_0079: ldarg.0 - IL_007a: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_007f: ldnull - IL_0080: ceq - IL_0082: call void class [System]System.Diagnostics.Debug::Assert(bool) - IL_0087: ldarg.0 - IL_0088: ldloc.3 - IL_0089: ldloc.0 - IL_008a: newobj instance void class NAnt.Core.Util.CommandLineArgument::'.ctor'(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) - IL_008f: stfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0094: nop - IL_0095: br IL_00b5 - - IL_009a: ldloc.3 - IL_009b: brfalse IL_00b5 - - IL_00a0: nop - IL_00a1: ldarg.0 - IL_00a2: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection - IL_00a7: ldloc.3 - IL_00a8: ldloc.0 - IL_00a9: newobj instance void class NAnt.Core.Util.CommandLineArgument::'.ctor'(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) - IL_00ae: callvirt instance int32 class NAnt.Core.Util.CommandLineArgumentCollection::Add(class NAnt.Core.Util.CommandLineArgument) - IL_00b3: pop - IL_00b4: nop - IL_00b5: nop - IL_00b6: nop - IL_00b7: ldloc.2 - IL_00b8: ldc.i4.1 - IL_00b9: add - IL_00ba: stloc.2 - IL_00bb: ldloc.2 - IL_00bc: ldloc.1 - IL_00bd: ldlen - IL_00be: conv.i4 - IL_00bf: blt IL_003b - - IL_00c4: ldarg.0 - IL_00c5: ldarg.1 - IL_00c6: stfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineParser::_argumentSpecification - IL_00cb: ldarg.0 - IL_00cc: ldarg.2 - IL_00cd: stfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile - IL_00d2: ret - } // end of method CommandLineParser::.ctor - - // method line 1521 - .method public virtual hidebysig newslot specialname - instance default string get_LogoBanner () cil managed - { - // Method begins at RVA 0x1b570 - // Code size 634 (0x27a) + // Method begins at RVA 0x1a4a8 + // Code size 634 (0x27a) .maxstack 8 .locals init ( string V_0, @@ -53930,11 +51894,11 @@ IL_0279: ret } // end of method CommandLineParser::get_LogoBanner - // method line 1522 + // method line 1491 .method public virtual hidebysig newslot specialname instance default string get_Usage () cil managed { - // Method begins at RVA 0x1b7f8 + // Method begins at RVA 0x1a730 // Code size 805 (0x325) .maxstack 5 .locals init ( @@ -54230,11 +52194,11 @@ IL_0324: ret } // end of method CommandLineParser::get_Usage - // method line 1523 + // method line 1492 .method public hidebysig specialname instance default bool get_NoArgs () cil managed { - // Method begins at RVA 0x1bb48 + // Method begins at RVA 0x1aa80 // Code size 121 (0x79) .maxstack 2 .locals init ( @@ -54302,11 +52266,11 @@ IL_0078: ret } // end of method CommandLineParser::get_NoArgs - // method line 1524 + // method line 1493 .method public hidebysig instance default void Parse (string[] args, object destination) cil managed { - // Method begins at RVA 0x1bbe0 + // Method begins at RVA 0x1ab18 // Code size 156 (0x9c) .maxstack 2 .locals init ( @@ -54382,11 +52346,11 @@ IL_009b: ret } // end of method CommandLineParser::Parse - // method line 1525 + // method line 1494 .method private hidebysig instance default string[] ParseArguments (string sourceString, char[] delimiters) cil managed { - // Method begins at RVA 0x1bc98 + // Method begins at RVA 0x1abd0 // Code size 208 (0xd0) .maxstack 3 .locals init ( @@ -54499,11 +52463,11 @@ IL_00cf: ret } // end of method CommandLineParser::ParseArguments - // method line 1526 + // method line 1495 .method private static hidebysig default bool IsDelimiter (char c, char[] delimiters) cil managed { - // Method begins at RVA 0x1bd74 + // Method begins at RVA 0x1acac // Code size 54 (0x36) .maxstack 2 .locals init ( @@ -54552,11 +52516,11 @@ IL_0035: ret } // end of method CommandLineParser::IsDelimiter - // method line 1527 + // method line 1496 .method private hidebysig instance default void ProcessResponseFile (string file) cil managed { - // Method begins at RVA 0x1bdb8 + // Method begins at RVA 0x1acf0 // Code size 148 (0x94) .maxstack 4 .locals init ( @@ -54639,11 +52603,11 @@ IL_0093: ret } // end of method CommandLineParser::ProcessResponseFile - // method line 1528 + // method line 1497 .method private hidebysig instance default void ParseArgumentList (string[] args) cil managed { - // Method begins at RVA 0x1be68 + // Method begins at RVA 0x1ada0 // Code size 675 (0x2a3) .maxstack 4 .locals init ( @@ -54934,11 +52898,11 @@ IL_02a2: ret } // end of method CommandLineParser::ParseArgumentList - // method line 1529 + // method line 1498 .method private static hidebysig default class NAnt.Core.Util.CommandLineArgumentAttribute GetCommandLineAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed { - // Method begins at RVA 0x1c118 + // Method begins at RVA 0x1b050 // Code size 62 (0x3e) .maxstack 3 .locals init ( @@ -54995,83 +52959,17 @@ .namespace NAnt.Core.Util { - .class public auto ansi sealed serializable beforefieldinit CommandLineArgumentException - extends [mscorlib]System.ArgumentException - { - - // method line 1530 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1c162 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.ArgumentException::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method CommandLineArgumentException::.ctor - - // method line 1531 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message) cil managed - { - // Method begins at RVA 0x1c16b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0007: nop - IL_0008: ret - } // end of method CommandLineArgumentException::.ctor - - // method line 1532 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed - { - // Method begins at RVA 0x1c175 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class [mscorlib]System.ArgumentException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0008: nop - IL_0009: ret - } // end of method CommandLineArgumentException::.ctor - - // method line 1533 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed - { - // Method begins at RVA 0x1c180 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class [mscorlib]System.ArgumentException::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) - IL_0008: nop - IL_0009: ret - } // end of method CommandLineArgumentException::.ctor - - } // end of class NAnt.Core.Util.CommandLineArgumentException -} - -.namespace NAnt.Core.Util -{ .class public auto ansi sealed beforefieldinit ResourceUtils extends [mscorlib]System.Object { .field private static class [mscorlib]System.Resources.ResourceManager _sharedResourceManager .field private static initonly class [mscorlib]System.Collections.Hashtable _resourceManagerDictionary - // method line 1534 + // method line 1499 .method private hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1c18b + // Method begins at RVA 0x1b09a // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -55080,11 +52978,11 @@ IL_0007: ret } // end of method ResourceUtils::.ctor - // method line 1535 + // method line 1500 .method public static hidebysig default void RegisterSharedAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x1c194 + // Method begins at RVA 0x1b0a3 // Code size 24 (0x18) .maxstack 8 IL_0000: nop @@ -55097,11 +52995,11 @@ IL_0017: ret } // end of method ResourceUtils::RegisterSharedAssembly - // method line 1536 + // method line 1501 .method public static hidebysig default string GetString (string name) cil managed noinlining { - // Method begins at RVA 0x1c1b0 + // Method begins at RVA 0x1b0bc // Code size 23 (0x17) .maxstack 3 .locals init ( @@ -55121,11 +53019,11 @@ IL_0016: ret } // end of method ResourceUtils::GetString - // method line 1537 + // method line 1502 .method public static hidebysig default string GetString (string name, class [mscorlib]System.Globalization.CultureInfo culture) cil managed noinlining { - // Method begins at RVA 0x1c1d4 + // Method begins at RVA 0x1b0e0 // Code size 23 (0x17) .maxstack 3 .locals init ( @@ -55145,11 +53043,11 @@ IL_0016: ret } // end of method ResourceUtils::GetString - // method line 1538 + // method line 1503 .method public static hidebysig default string GetString (string name, class [mscorlib]System.Globalization.CultureInfo culture, class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x1c1f8 + // Method begins at RVA 0x1b104 // Code size 107 (0x6b) .maxstack 3 .locals init ( @@ -55203,11 +53101,11 @@ IL_006a: ret } // end of method ResourceUtils::GetString - // method line 1539 + // method line 1504 .method private static hidebysig default void RegisterAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x1c270 + // Method begins at RVA 0x1b17c // Code size 70 (0x46) .maxstack 4 .locals init ( @@ -55250,11 +53148,11 @@ IL_0045: ret } // end of method ResourceUtils::RegisterAssembly - // method line 1540 + // method line 1505 .method private static hidebysig default string GetResourceName (string assemblyName) cil managed { - // Method begins at RVA 0x1c2d4 + // Method begins at RVA 0x1b1e0 // Code size 65 (0x41) .maxstack 4 .locals init ( @@ -55294,11 +53192,11 @@ IL_0040: ret } // end of method ResourceUtils::GetResourceName - // method line 1541 + // method line 1506 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0x1c321 + // Method begins at RVA 0x1b22d // Code size 11 (0xb) .maxstack 8 IL_0000: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() @@ -55315,11 +53213,11 @@ extends [mscorlib]System.Object { - // method line 1542 + // method line 1507 .method private hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1c32d + // Method begins at RVA 0x1b239 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -55328,7 +53226,7 @@ IL_0007: ret } // end of method StringUtils::.ctor - // method line 1543 + // method line 1508 .method public static hidebysig default bool EndsWith (string 'value', char c) cil managed { @@ -55340,7 +53238,7 @@ 74 68 28 73 74 72 69 6E 67 29 20 69 6E 73 74 65 // th(string) inste 61 64 2E 00 00 ) // ad... - // Method begins at RVA 0x1c338 + // Method begins at RVA 0x1b244 // Code size 63 (0x3f) .maxstack 3 .locals init ( @@ -55380,7 +53278,7 @@ IL_003e: ret } // end of method StringUtils::EndsWith - // method line 1544 + // method line 1509 .method public static hidebysig default bool IsNullOrEmpty (string 'value') cil managed { @@ -55393,7 +53291,7 @@ 70 74 79 28 73 74 72 69 6E 67 29 20 69 6E 73 74 // pty(string) inst 65 61 64 2E 00 00 ) // ead... - // Method begins at RVA 0x1c384 + // Method begins at RVA 0x1b290 // Code size 27 (0x1b) .maxstack 2 .locals init ( @@ -55416,11 +53314,11 @@ IL_001a: ret } // end of method StringUtils::IsNullOrEmpty - // method line 1545 + // method line 1510 .method public static hidebysig default string ConvertEmptyToNull (string 'value') cil managed { - // Method begins at RVA 0x1c3ac + // Method begins at RVA 0x1b2b8 // Code size 28 (0x1c) .maxstack 1 .locals init ( @@ -55442,11 +53340,11 @@ IL_001b: ret } // end of method StringUtils::ConvertEmptyToNull - // method line 1546 + // method line 1511 .method public static hidebysig default string ConvertNullToEmpty (string 'value') cil managed { - // Method begins at RVA 0x1c3d4 + // Method begins at RVA 0x1b2e0 // Code size 27 (0x1b) .maxstack 1 .locals init ( @@ -55467,11 +53365,11 @@ IL_001a: ret } // end of method StringUtils::ConvertNullToEmpty - // method line 1547 + // method line 1512 .method public static hidebysig default string Join (string separator, class [System]System.Collections.Specialized.StringCollection 'value') cil managed { - // Method begins at RVA 0x1c3fc + // Method begins at RVA 0x1b308 // Code size 66 (0x42) .maxstack 3 .locals init ( @@ -55507,11 +53405,11 @@ IL_0041: ret } // end of method StringUtils::Join - // method line 1548 + // method line 1513 .method public static hidebysig default class [System]System.Collections.Specialized.StringCollection Clone (class [System]System.Collections.Specialized.StringCollection stringCollection) cil managed { - // Method begins at RVA 0x1c44c + // Method begins at RVA 0x1b358 // Code size 43 (0x2b) .maxstack 3 .locals init ( @@ -55545,6 +53443,177 @@ .namespace NAnt.Core.Util { + .class public auto ansi beforefieldinit CommandLineArgumentAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 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 private valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType + .field private string _name + .field private string _shortName + .field private string _description + + // method line 1514 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) cil managed + { + // Method begins at RVA 0x1b38f + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::_argumentType + IL_000e: ret + } // end of method CommandLineArgumentAttribute::.ctor + + // method line 1515 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes get_Type () cil managed + { + // Method begins at RVA 0x1b3a0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.Util.CommandLineArgumentTypes V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::_argumentType + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgumentAttribute::get_Type + + // method line 1516 + .method public hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x1b3bc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_name + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgumentAttribute::get_Name + + // method line 1517 + .method public hidebysig specialname + instance default void set_Name (string 'value') cil managed + { + // Method begins at RVA 0x1b3d7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_name + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_Name + + // method line 1518 + .method public hidebysig specialname + instance default string get_ShortName () cil managed + { + // Method begins at RVA 0x1b3e4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgumentAttribute::get_ShortName + + // method line 1519 + .method public hidebysig specialname + instance default void set_ShortName (string 'value') cil managed + { + // Method begins at RVA 0x1b3ff + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_ShortName + + // method line 1520 + .method public hidebysig specialname + instance default string get_Description () cil managed + { + // Method begins at RVA 0x1b40c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_description + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgumentAttribute::get_Description + + // method line 1521 + .method public hidebysig specialname + instance default void set_Description (string 'value') cil managed + { + // Method begins at RVA 0x1b427 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_description + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_Description + + .property instance valuetype NAnt.Core.Util.CommandLineArgumentTypes Type () + { + .get instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::get_Type () + } + .property instance string Name () + { + .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Name () + .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Name (string 'value') + } + .property instance string ShortName () + { + .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_ShortName () + .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_ShortName (string 'value') + } + .property instance string Description () + { + .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Description () + .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Description (string 'value') + } + } // end of class NAnt.Core.Util.CommandLineArgumentAttribute +} + +.namespace NAnt.Core.Util +{ .class public auto ansi sealed beforefieldinit GacCache extends [mscorlib]System.Object implements [mscorlib]System.IDisposable { @@ -55555,11 +53624,11 @@ .field private class NAnt.Core.Util.GacCache/GacResolver _resolver .field private bool _disposed - // method line 1549 + // method line 1522 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x1c483 + // Method begins at RVA 0x1b431 // Code size 32 (0x20) .maxstack 8 IL_0000: ldarg.0 @@ -55576,11 +53645,11 @@ IL_001f: ret } // end of method GacCache::.ctor - // method line 1550 + // method line 1523 .method family virtual hidebysig instance default void Finalize () cil managed { - // Method begins at RVA 0x1c4a4 + // Method begins at RVA 0x1b454 // Code size 21 (0x15) .maxstack 2 IL_0000: nop @@ -55599,11 +53668,11 @@ IL_0014: ret } // end of method GacCache::Finalize - // method line 1551 + // method line 1524 .method public hidebysig specialname instance default class NAnt.Core.Project get_Project () cil managed { - // Method begins at RVA 0x1c4d8 + // Method begins at RVA 0x1b488 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -55618,11 +53687,11 @@ IL_000e: ret } // end of method GacCache::get_Project - // method line 1552 + // method line 1525 .method private hidebysig specialname instance default class [mscorlib]System.AppDomain get_Domain () cil managed { - // Method begins at RVA 0x1c4f4 + // Method begins at RVA 0x1b4a4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -55637,11 +53706,11 @@ IL_000e: ret } // end of method GacCache::get_Domain - // method line 1553 + // method line 1526 .method private hidebysig specialname instance default class NAnt.Core.Util.GacCache/GacResolver get_Resolver () cil managed { - // Method begins at RVA 0x1c510 + // Method begins at RVA 0x1b4c0 // Code size 80 (0x50) .maxstack 4 .locals init ( @@ -55674,11 +53743,11 @@ IL_004f: ret } // end of method GacCache::get_Resolver - // method line 1554 + // method line 1527 .method public final virtual hidebysig newslot instance default void Dispose () cil managed { - // Method begins at RVA 0x1c56c + // Method begins at RVA 0x1b51c // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -55690,11 +53759,11 @@ IL_000e: ret } // end of method GacCache::Dispose - // method line 1555 + // method line 1528 .method private hidebysig instance default void Dispose (bool disposing) cil managed { - // Method begins at RVA 0x1c57c + // Method begins at RVA 0x1b52c // Code size 33 (0x21) .maxstack 8 IL_0000: nop @@ -55713,11 +53782,11 @@ IL_0020: ret } // end of method GacCache::Dispose - // method line 1556 + // method line 1529 .method public hidebysig instance default void RecreateDomain () cil managed { - // Method begins at RVA 0x1c5a0 + // Method begins at RVA 0x1b550 // Code size 114 (0x72) .maxstack 6 .locals init ( @@ -55762,11 +53831,11 @@ IL_0071: ret } // end of method GacCache::RecreateDomain - // method line 1557 + // method line 1530 .method public hidebysig instance default bool IsAssemblyInGac (string assemblyFile) cil managed { - // Method begins at RVA 0x1c620 + // Method begins at RVA 0x1b5d0 // Code size 160 (0xa0) .maxstack 4 .locals init ( @@ -55847,11 +53916,11 @@ extends [mscorlib]System.MarshalByRefObject { - // method line 1558 + // method line 1531 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1c6cc + // Method begins at RVA 0x1b67c // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -55859,11 +53928,11 @@ IL_0006: ret } // end of method GacResolver::.ctor - // method line 1559 + // method line 1532 .method public virtual hidebysig instance default object InitializeLifetimeService () cil managed { - // Method begins at RVA 0x1c6d4 + // Method begins at RVA 0x1b684 // Code size 47 (0x2f) .maxstack 2 .locals init ( @@ -55892,11 +53961,11 @@ IL_002e: ret } // end of method GacResolver::InitializeLifetimeService - // method line 1560 + // method line 1533 .method public hidebysig instance default bool IsAssemblyInGac (string assemblyFile) cil managed { - // Method begins at RVA 0x1c710 + // Method begins at RVA 0x1b6c0 // Code size 82 (0x52) .maxstack 1 .locals init ( @@ -55956,216 +54025,233 @@ .namespace NAnt.Core.Util { - .class public auto ansi beforefieldinit CommandLineArgumentAttribute - extends [mscorlib]System.Attribute + .class public auto ansi sealed serializable beforefieldinit CommandLineArgumentException + extends [mscorlib]System.ArgumentException { - .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( - 01 00 80 00 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 private valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType - .field private string _name - .field private string _shortName - .field private string _description - - // method line 1561 + // method line 1534 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1c780 - // Code size 15 (0xf) + // Method begins at RVA 0x1b730 + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0001: call instance void class [mscorlib]System.ArgumentException::'.ctor'() IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::_argumentType - IL_000e: ret - } // end of method CommandLineArgumentAttribute::.ctor - - // method line 1562 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes get_Type () cil managed - { - // Method begins at RVA 0x1c790 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.Util.CommandLineArgumentTypes V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::_argumentType - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineArgumentAttribute::get_Type - - // method line 1563 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x1c7ac - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineArgumentAttribute::get_Name + IL_0007: ret + } // end of method CommandLineArgumentException::.ctor - // method line 1564 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed + // method line 1535 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed { - // Method begins at RVA 0x1c7c7 + // Method begins at RVA 0x1b739 // Code size 9 (0x9) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_name + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0007: nop IL_0008: ret - } // end of method CommandLineArgumentAttribute::set_Name - - // method line 1565 - .method public hidebysig specialname - instance default string get_ShortName () cil managed - { - // Method begins at RVA 0x1c7d4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineArgumentAttribute::get_ShortName + } // end of method CommandLineArgumentException::.ctor - // method line 1566 - .method public hidebysig specialname - instance default void set_ShortName (string 'value') cil managed + // method line 1536 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed { - // Method begins at RVA 0x1c7ef - // Code size 9 (0x9) + // Method begins at RVA 0x1b743 + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName - IL_0008: ret - } // end of method CommandLineArgumentAttribute::set_ShortName - - // method line 1567 - .method public hidebysig specialname - instance default string get_Description () cil managed - { - // Method begins at RVA 0x1c7fc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_description - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineArgumentAttribute::get_Description + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class [mscorlib]System.ArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0008: nop + IL_0009: ret + } // end of method CommandLineArgumentException::.ctor - // method line 1568 - .method public hidebysig specialname - instance default void set_Description (string 'value') cil managed + // method line 1537 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed { - // Method begins at RVA 0x1c817 - // Code size 9 (0x9) + // Method begins at RVA 0x1b74e + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_description - IL_0008: ret - } // end of method CommandLineArgumentAttribute::set_Description + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class [mscorlib]System.ArgumentException::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) + IL_0008: nop + IL_0009: ret + } // end of method CommandLineArgumentException::.ctor - .property instance valuetype NAnt.Core.Util.CommandLineArgumentTypes Type () - { - .get instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::get_Type () - } - .property instance string Name () - { - .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Name () - .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Name (string 'value') - } - .property instance string ShortName () - { - .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_ShortName () - .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_ShortName (string 'value') - } - .property instance string Description () - { - .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Description () - .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Description (string 'value') - } - } // end of class NAnt.Core.Util.CommandLineArgumentAttribute + } // end of class NAnt.Core.Util.CommandLineArgumentException } .namespace NAnt.Core.Util { - .class public auto ansi beforefieldinit DateTimeProvider + .class public auto ansi sealed beforefieldinit ReflectionUtils extends [mscorlib]System.Object { - // method line 1569 - .method public hidebysig specialname rtspecialname + // method line 1538 + .method private hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1c821 - // Code size 7 (0x7) + // Method begins at RVA 0x1b759 + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method DateTimeProvider::.ctor + IL_0006: nop + IL_0007: ret + } // end of method ReflectionUtils::.ctor - // method line 1570 - .method public virtual hidebysig newslot specialname - instance default valuetype [mscorlib]System.DateTime get_Now () cil managed + // method line 1539 + .method public static hidebysig + default class [mscorlib]System.Type GetTypeFromString (string typeName, bool throwOnError) cil managed { - // Method begins at RVA 0x1c82c - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x1b764 + // Code size 242 (0xf2) + .maxstack 4 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + class [mscorlib]System.Type V_0, + int32 V_1, + int32 V_2, + string V_3, + string V_4, + class [mscorlib]System.Reflection.Assembly[] V_5, + class [mscorlib]System.Reflection.Assembly V_6, + class [mscorlib]System.Reflection.Assembly[] V_7, + int32 V_8, + class [mscorlib]System.Type V_9) IL_0000: nop - IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: ldnull + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_00e7 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method DateTimeProvider::get_Now + IL_0015: nop + IL_0016: ldarg.0 + IL_0017: ldc.i4.s 0x2c + IL_0019: callvirt instance int32 string::IndexOf(char) + IL_001e: ldc.i4.m1 + IL_001f: beq IL_0095 - .property instance valuetype [mscorlib]System.DateTime Now () - { - .get instance default valuetype [mscorlib]System.DateTime NAnt.Core.Util.DateTimeProvider::get_Now () - } - } // end of class NAnt.Core.Util.DateTimeProvider + IL_0024: nop + IL_0025: ldarg.0 + IL_0026: ldc.i4.s 0x2c + IL_0028: callvirt instance int32 string::IndexOf(char) + IL_002d: stloc.1 + IL_002e: ldarg.0 + IL_002f: ldc.i4.s 0x2c + IL_0031: ldloc.1 + IL_0032: ldc.i4.1 + IL_0033: add + IL_0034: callvirt instance int32 string::IndexOf(char, int32) + IL_0039: stloc.2 + IL_003a: ldarg.0 + IL_003b: ldc.i4.0 + IL_003c: ldloc.1 + IL_003d: callvirt instance string string::Substring(int32, int32) + IL_0042: stloc.3 + IL_0043: ldnull + IL_0044: stloc.s 4 + IL_0046: ldloc.2 + IL_0047: ldc.i4.m1 + IL_0048: beq IL_0069 + + IL_004d: nop + IL_004e: ldarg.0 + IL_004f: ldloc.1 + IL_0050: ldc.i4.1 + IL_0051: add + IL_0052: ldloc.2 + IL_0053: ldloc.1 + IL_0054: sub + IL_0055: ldc.i4.1 + IL_0056: sub + IL_0057: callvirt instance string string::Substring(int32, int32) + IL_005c: callvirt instance string string::Trim() + IL_0061: stloc.s 4 + IL_0063: nop + IL_0064: br IL_007b + + IL_0069: nop + IL_006a: ldarg.0 + IL_006b: ldloc.1 + IL_006c: ldc.i4.1 + IL_006d: add + IL_006e: callvirt instance string string::Substring(int32) + IL_0073: callvirt instance string string::Trim() + IL_0078: stloc.s 4 + IL_007a: nop + IL_007b: ldloc.3 + IL_007c: ldstr ", " + IL_0081: ldloc.s 4 + IL_0083: call string string::Concat(string, string, string) + IL_0088: ldc.i4.0 + IL_0089: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) + IL_008e: stloc.0 + IL_008f: nop + IL_0090: br IL_00e6 + + IL_0095: nop + IL_0096: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_009b: callvirt instance class [mscorlib]System.Reflection.Assembly[] class [mscorlib]System.AppDomain::GetAssemblies() + IL_00a0: stloc.s 5 + IL_00a2: nop + IL_00a3: ldloc.s 5 + IL_00a5: stloc.s 7 + IL_00a7: ldc.i4.0 + IL_00a8: stloc.s 8 + IL_00aa: br IL_00da + + IL_00af: ldloc.s 7 + IL_00b1: ldloc.s 8 + IL_00b3: ldelem.ref + IL_00b4: stloc.s 6 + IL_00b6: nop + IL_00b7: ldloc.s 6 + IL_00b9: ldarg.0 + IL_00ba: ldc.i4.0 + IL_00bb: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool) + IL_00c0: stloc.0 + IL_00c1: ldloc.0 + IL_00c2: ldnull + IL_00c3: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00c8: brfalse IL_00d3 + + IL_00cd: nop + IL_00ce: br IL_00e5 + + IL_00d3: nop + IL_00d4: ldloc.s 8 + IL_00d6: ldc.i4.1 + IL_00d7: add + IL_00d8: stloc.s 8 + IL_00da: ldloc.s 8 + IL_00dc: ldloc.s 7 + IL_00de: ldlen + IL_00df: conv.i4 + IL_00e0: blt IL_00af + + IL_00e5: nop + IL_00e6: nop + IL_00e7: ldloc.0 + IL_00e8: stloc.s 9 + IL_00ea: br IL_00ef + + IL_00ef: ldloc.s 9 + IL_00f1: ret + } // end of method ReflectionUtils::GetTypeFromString + + } // end of class NAnt.Core.Util.ReflectionUtils } .namespace NAnt.Core.Util @@ -56176,11 +54262,11 @@ .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 1571 + // method line 1540 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1c846 + // Method begins at RVA 0x1b862 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -56189,11 +54275,11 @@ IL_0007: ret } // end of method CommandLineArgumentCollection::.ctor - // method line 1572 + // method line 1541 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection 'value') cil managed { - // Method begins at RVA 0x1c84f + // Method begins at RVA 0x1b86b // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -56205,11 +54291,11 @@ IL_000e: ret } // end of method CommandLineArgumentCollection::.ctor - // method line 1573 + // method line 1542 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgument[] 'value') cil managed { - // Method begins at RVA 0x1c85f + // Method begins at RVA 0x1b87b // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -56221,11 +54307,11 @@ IL_000e: ret } // end of method CommandLineArgumentCollection::.ctor - // method line 1574 + // method line 1543 .method public hidebysig specialname instance default class NAnt.Core.Util.CommandLineArgument get_Item (int32 index) cil managed { - // Method begins at RVA 0x1c870 + // Method begins at RVA 0x1b88c // Code size 26 (0x1a) .maxstack 2 .locals init ( @@ -56243,11 +54329,11 @@ IL_0019: ret } // end of method CommandLineArgumentCollection::get_Item - // method line 1575 + // method line 1544 .method public hidebysig specialname instance default void set_Item (int32 index, class NAnt.Core.Util.CommandLineArgument 'value') cil managed { - // Method begins at RVA 0x1c896 + // Method begins at RVA 0x1b8b2 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -56259,11 +54345,11 @@ IL_000e: ret } // end of method CommandLineArgumentCollection::set_Item - // method line 1576 + // method line 1545 .method public hidebysig specialname instance default class NAnt.Core.Util.CommandLineArgument get_Item (string name) cil managed { - // Method begins at RVA 0x1c8a8 + // Method begins at RVA 0x1b8c4 // Code size 213 (0xd5) .maxstack 2 .locals init ( @@ -56374,11 +54460,11 @@ IL_00d4: ret } // end of method CommandLineArgumentCollection::get_Item - // method line 1577 + // method line 1546 .method public hidebysig instance default int32 Add (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1c9a8 + // Method begins at RVA 0x1b9c4 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -56395,11 +54481,11 @@ IL_0014: ret } // end of method CommandLineArgumentCollection::Add - // method line 1578 + // method line 1547 .method public hidebysig instance default void AddRange (class NAnt.Core.Util.CommandLineArgument[] items) cil managed { - // Method begins at RVA 0x1c9cc + // Method begins at RVA 0x1b9e8 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -56430,11 +54516,11 @@ IL_0021: ret } // end of method CommandLineArgumentCollection::AddRange - // method line 1579 + // method line 1548 .method public hidebysig instance default void AddRange (class NAnt.Core.Util.CommandLineArgumentCollection items) cil managed { - // Method begins at RVA 0x1c9fc + // Method begins at RVA 0x1ba18 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -56464,11 +54550,11 @@ IL_0028: ret } // end of method CommandLineArgumentCollection::AddRange - // method line 1580 + // method line 1549 .method public hidebysig instance default bool Contains (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1ca34 + // Method begins at RVA 0x1ba50 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -56485,11 +54571,11 @@ IL_0014: ret } // end of method CommandLineArgumentCollection::Contains - // method line 1581 + // method line 1550 .method public hidebysig instance default void CopyTo (class NAnt.Core.Util.CommandLineArgument[] 'array', int32 index) cil managed { - // Method begins at RVA 0x1ca55 + // Method begins at RVA 0x1ba71 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -56501,11 +54587,11 @@ IL_000e: ret } // end of method CommandLineArgumentCollection::CopyTo - // method line 1582 + // method line 1551 .method public hidebysig instance default int32 IndexOf (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1ca68 + // Method begins at RVA 0x1ba84 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -56522,11 +54608,11 @@ IL_0014: ret } // end of method CommandLineArgumentCollection::IndexOf - // method line 1583 + // method line 1552 .method public hidebysig instance default void Insert (int32 index, class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1ca89 + // Method begins at RVA 0x1baa5 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -56538,11 +54624,11 @@ IL_000e: ret } // end of method CommandLineArgumentCollection::Insert - // method line 1584 + // method line 1553 .method public hidebysig instance default class NAnt.Core.Util.CommandLineArgumentEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x1ca9c + // Method begins at RVA 0x1bab8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -56557,11 +54643,11 @@ IL_000e: ret } // end of method CommandLineArgumentCollection::GetEnumerator - // method line 1585 + // method line 1554 .method public hidebysig instance default void Remove (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1cab7 + // Method begins at RVA 0x1bad3 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -56591,11 +54677,11 @@ implements [mscorlib]System.Collections.IEnumerator { .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 1586 + // method line 1555 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection arguments) cil managed { - // Method begins at RVA 0x1cac8 + // Method begins at RVA 0x1bae4 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -56612,11 +54698,11 @@ IL_0015: ret } // end of method CommandLineArgumentEnumerator::.ctor - // method line 1587 + // method line 1556 .method public hidebysig specialname instance default class NAnt.Core.Util.CommandLineArgument get_Current () cil managed { - // Method begins at RVA 0x1caec + // Method begins at RVA 0x1bb08 // Code size 25 (0x19) .maxstack 1 .locals init ( @@ -56633,11 +54719,11 @@ IL_0018: ret } // end of method CommandLineArgumentEnumerator::get_Current - // method line 1588 + // method line 1557 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x1cb14 + // Method begins at RVA 0x1bb30 .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) // Code size 20 (0x14) .maxstack 1 @@ -56654,11 +54740,11 @@ IL_0013: ret } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.get_Current - // method line 1589 + // method line 1558 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x1cb34 + // Method begins at RVA 0x1bb50 // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -56674,11 +54760,11 @@ IL_0013: ret } // end of method CommandLineArgumentEnumerator::MoveNext - // method line 1590 + // method line 1559 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x1cb54 + // Method begins at RVA 0x1bb70 .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) // Code size 20 (0x14) .maxstack 1 @@ -56695,11 +54781,11 @@ IL_0013: ret } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1591 + // method line 1560 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x1cb74 + // Method begins at RVA 0x1bb90 // Code size 13 (0xd) .maxstack 8 IL_0000: nop @@ -56709,11 +54795,11 @@ IL_000c: ret } // end of method CommandLineArgumentEnumerator::Reset - // method line 1592 + // method line 1561 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x1cb82 + // Method begins at RVA 0x1bb9e .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) // Code size 13 (0xd) .maxstack 8 @@ -56746,11 +54832,11 @@ 72 69 74 65 64 01 ) // rited. - // method line 1593 + // method line 1562 .method public hidebysig specialname rtspecialname instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) cil managed { - // Method begins at RVA 0x1cb90 + // Method begins at RVA 0x1bbac // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 @@ -56765,23696 +54851,21926 @@ .namespace NAnt.Core.Util { - .class public auto ansi sealed CommandLineArgumentTypes - extends [mscorlib]System.Enum - { - .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Required = int32(0x00000001) - .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Unique = int32(0x00000002) - .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Multiple = int32(0x00000004) - .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Exclusive = int32(0x00000008) - .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes AtMostOnce = int32(0x00000000) - .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes MultipleUnique = int32(0x00000006) - - } // end of class NAnt.Core.Util.CommandLineArgumentTypes -} - -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit DataTypeBaseDictionary + .class public auto ansi beforefieldinit DateTimeProvider extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionary, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable, [mscorlib]System.ICloneable { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - .field private class [mscorlib]System.Collections.Hashtable _innerHash + { - // method line 1594 + // method line 1563 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1cb9a - // Code size 19 (0x13) + // Method begins at RVA 0x1bbb6 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0012: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_0006: ret + } // end of method DateTimeProvider::.ctor - // method line 1595 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.DataTypeBaseDictionary original) cil managed + // method line 1564 + .method public virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.DateTime get_Now () cil managed { - // Method begins at RVA 0x1cbae - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.DataTypeBaseDictionary::get_InnerHash() - IL_000e: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary) - IL_0013: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0018: ret - } // end of method DataTypeBaseDictionary::.ctor + // Method begins at RVA 0x1bbc0 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.DateTime V_0) + IL_0000: nop + IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 1596 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary) cil managed - { - // Method begins at RVA 0x1cbc8 - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary) - IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0013: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DateTimeProvider::get_Now - // method line 1597 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity) cil managed - { - // Method begins at RVA 0x1cbdd - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32) - IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0013: ret - } // end of method DataTypeBaseDictionary::.ctor + .property instance valuetype [mscorlib]System.DateTime Now () + { + .get instance default valuetype [mscorlib]System.DateTime NAnt.Core.Util.DateTimeProvider::get_Now () + } + } // end of class NAnt.Core.Util.DateTimeProvider +} - // method line 1598 +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit CommandLineArgument + extends [mscorlib]System.Object + { + .field private class [mscorlib]System.Type _elementType + .field private bool _seenValue + .field private valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType + .field private class [mscorlib]System.Reflection.PropertyInfo _propertyInfo + .field private class NAnt.Core.Util.CommandLineArgumentAttribute _attribute + .field private object _argumentValue + .field private class [mscorlib]System.Collections.ArrayList _collectionValues + .field private class [System]System.Collections.Specialized.NameValueCollection _valuePairs + + // method line 1565 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor) cil managed + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed { - // Method begins at RVA 0x1cbf2 - // Code size 21 (0x15) - .maxstack 8 + // Method begins at RVA 0x1bbdc + // Code size 258 (0x102) + .maxstack 3 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: nop IL_0007: ldarg.0 IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, float32) - IL_000f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0014: ret - } // end of method DataTypeBaseDictionary::.ctor - - // method line 1599 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x1cc08 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_000f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0014: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_0009: stfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0015: ldarg.0 + IL_0016: ldc.i4.0 + IL_0017: stfld bool NAnt.Core.Util.CommandLineArgument::_seenValue + IL_001c: ldarg.0 + IL_001d: ldarg.2 + IL_001e: call class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::GetElementType(class [mscorlib]System.Reflection.PropertyInfo) + IL_0023: stfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: ldarg.2 + IL_002b: call valuetype NAnt.Core.Util.CommandLineArgumentTypes class NAnt.Core.Util.CommandLineArgument::GetArgumentType(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) + IL_0030: stfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0035: ldarg.0 + IL_0036: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_003b: brtrue IL_004b - // method line 1600 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity, int32 loadFactor) cil managed - { - // Method begins at RVA 0x1cc1e - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: conv.r4 - IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, float32) - IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0015: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_0040: ldarg.0 + IL_0041: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0046: brfalse IL_005d - // method line 1601 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x1cc35 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0015: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_004b: nop + IL_004c: ldarg.0 + IL_004d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0052: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues + IL_0057: nop + IL_0058: br IL_0075 - // method line 1602 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x1cc4c - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0015: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_005d: ldarg.0 + IL_005e: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_0063: brfalse IL_0075 - // method line 1603 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x1cc63 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: ldarg.s 4 - IL_000d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, float32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0012: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0017: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_0068: nop + IL_0069: ldarg.0 + IL_006a: newobj instance void class [System]System.Collections.Specialized.NameValueCollection::'.ctor'() + IL_006f: stfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0074: nop + IL_0075: ldarg.0 + IL_0076: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_007b: brfalse IL_0090 - // method line 1604 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity, float32 loadFactor, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x1cc7c - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: ldarg.s 4 - IL_000d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, float32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0012: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0017: ret - } // end of method DataTypeBaseDictionary::.ctor + IL_0080: ldarg.0 + IL_0081: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0086: callvirt instance int32 string::get_Length() + IL_008b: ldc.i4.0 + IL_008c: cgt + IL_008e: br.s IL_0091 - // method line 1605 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed - { - // Method begins at RVA 0x1cc98 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0090: ldc.i4.0 + IL_0091: call void class [System]System.Diagnostics.Debug::Assert(bool) + IL_0096: ldarg.0 + IL_0097: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_009c: brtrue IL_00b7 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionary::get_InnerHash + IL_00a1: ldarg.0 + IL_00a2: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_00a7: brtrue IL_00b7 - // method line 1606 - .method assembly hidebysig specialname - instance default void set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') cil managed - { - // Method begins at RVA 0x1ccb3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0008: ret - } // end of method DataTypeBaseDictionary::set_InnerHash + IL_00ac: ldarg.0 + IL_00ad: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00b2: brfalse IL_00bf - // method line 1607 - .method public hidebysig - instance default class NAnt.Core.DataTypeBaseDictionaryEnumerator GetEnumerator () cil managed + IL_00b7: ldarg.0 + IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() + IL_00bd: br.s IL_00c0 + + IL_00bf: ldc.i4.1 + IL_00c0: ldstr "Collection and array arguments must have allow multiple" + IL_00c5: call void class [System]System.Diagnostics.Debug::Assert(bool, string) + IL_00ca: ldarg.0 + IL_00cb: call instance bool class NAnt.Core.Util.CommandLineArgument::get_Unique() + IL_00d0: brfalse IL_00f6 + + IL_00d5: ldarg.0 + IL_00d6: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_00db: brtrue IL_00f3 + + IL_00e0: ldarg.0 + IL_00e1: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_00e6: brtrue IL_00f3 + + IL_00eb: ldarg.0 + IL_00ec: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00f1: br.s IL_00f4 + + IL_00f3: ldc.i4.1 + IL_00f4: br.s IL_00f7 + + IL_00f6: ldc.i4.1 + IL_00f7: ldstr "Unique only applicable to collection arguments" + IL_00fc: call void class [System]System.Diagnostics.Debug::Assert(bool, string) + IL_0101: ret + } // end of method CommandLineArgument::.ctor + + // method line 1566 + .method public hidebysig specialname + instance default class [mscorlib]System.Reflection.PropertyInfo get_Property () cil managed { - // Method begins at RVA 0x1ccc0 + // Method begins at RVA 0x1bcec // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.DataTypeBaseDictionaryEnumerator V_0) + class [mscorlib]System.Reflection.PropertyInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.DataTypeBaseDictionaryEnumerator::'.ctor'(class NAnt.Core.DataTypeBaseDictionary) + IL_0002: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBaseDictionary::GetEnumerator + } // end of method CommandLineArgument::get_Property - // method line 1608 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed + // method line 1567 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_ValueType () cil managed { - // Method begins at RVA 0x1ccdc - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::GetEnumerator due to (null) - // Code size 15 (0xf) + // Method begins at RVA 0x1bd08 + // Code size 48 (0x30) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.IDictionaryEnumerator V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.DataTypeBaseDictionaryEnumerator::'.ctor'(class NAnt.Core.DataTypeBaseDictionary) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0007: brtrue IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.GetEnumerator + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0012: brfalse IL_0022 - // method line 1609 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + IL_0017: ldarg.0 + IL_0018: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType + IL_001d: br IL_0028 + + IL_0022: ldarg.0 + IL_0023: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() + IL_0028: stloc.0 + IL_0029: br IL_002e + + IL_002e: ldloc.0 + IL_002f: ret + } // end of method CommandLineArgument::get_ValueType + + // method line 1568 + .method public hidebysig specialname + instance default string get_LongName () cil managed { - // Method begins at RVA 0x1ccf8 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) - // Code size 15 (0xf) + // Method begins at RVA 0x1bd44 + // Code size 66 (0x42) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.DataTypeBaseDictionaryEnumerator class NAnt.Core.DataTypeBaseDictionary::GetEnumerator() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_002e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionary::System.Collections.IEnumerable.GetEnumerator + IL_000c: ldarg.0 + IL_000d: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0012: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_Name() + IL_0017: brfalse IL_002e - // method line 1610 - .method public hidebysig - instance default void Remove (string key) cil managed - { - // Method begins at RVA 0x1cd13 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_000d: ret - } // end of method DataTypeBaseDictionary::Remove + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0023: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_Name() + IL_0028: stloc.0 + IL_0029: br IL_0040 - // method line 1611 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Remove (object key) cil managed - { - // Method begins at RVA 0x1cd22 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Remove due to (null) - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: call instance void class NAnt.Core.DataTypeBaseDictionary::Remove(string) - IL_000d: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Remove + IL_002e: nop + IL_002f: ldarg.0 + IL_0030: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0035: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_003a: stloc.0 + IL_003b: br IL_0040 - // method line 1612 - .method public hidebysig - instance default bool Contains (string key) cil managed + IL_0040: ldloc.0 + IL_0041: ret + } // end of method CommandLineArgument::get_LongName + + // method line 1569 + .method public hidebysig specialname + instance default string get_ShortName () cil managed { - // Method begins at RVA 0x1cd34 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x1bd94 + // Code size 40 (0x28) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_001e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::Contains + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0013: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_ShortName() + IL_0018: stloc.0 + IL_0019: br IL_0026 - // method line 1613 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IDictionary.Contains (object key) cil managed + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 + + IL_0026: ldloc.0 + IL_0027: ret + } // end of method CommandLineArgument::get_ShortName + + // method line 1570 + .method public hidebysig specialname + instance default string get_Description () cil managed { - // Method begins at RVA 0x1cd58 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Contains due to (null) - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x1bdc8 + // Code size 40 (0x28) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: call instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_001e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Contains + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0013: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_Description() + IL_0018: stloc.0 + IL_0019: br IL_0026 - // method line 1614 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed - { - // Method begins at RVA 0x1cd79 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() - IL_000c: ret - } // end of method DataTypeBaseDictionary::Clear + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 - // method line 1615 - .method public hidebysig - instance default void Add (string key, class NAnt.Core.DataTypeBase 'value') cil managed - { - // Method begins at RVA 0x1cd87 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_000e: ret - } // end of method DataTypeBaseDictionary::Add + IL_0026: ldloc.0 + IL_0027: ret + } // end of method CommandLineArgument::get_Description - // method line 1616 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed + // method line 1571 + .method public hidebysig specialname + instance default bool get_IsRequired () cil managed { - // Method begins at RVA 0x1cd97 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Add due to (null) - // Code size 20 (0x14) - .maxstack 8 + // Method begins at RVA 0x1bdfc + // Code size 23 (0x17) + .maxstack 3 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: ldarg.2 - IL_0009: castclass NAnt.Core.DataTypeBase - IL_000e: call instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) - IL_0013: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Add + IL_0001: ldc.i4.0 + IL_0002: ldarg.0 + IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0008: ldc.i4.1 + IL_0009: and + IL_000a: ceq + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 - // method line 1617 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsReadOnly () cil managed + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CommandLineArgument::get_IsRequired + + // method line 1572 + .method public hidebysig specialname + instance default bool get_SeenValue () cil managed { - // Method begins at RVA 0x1cdac - // Code size 20 (0x14) + // Method begins at RVA 0x1be20 + // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsReadOnly() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.Core.Util.CommandLineArgument::_seenValue + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_IsReadOnly + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgument::get_SeenValue - // method line 1618 + // method line 1573 .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBase get_Item (string key) cil managed + instance default bool get_AllowMultiple () cil managed { - // Method begins at RVA 0x1cdcc - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x1be3c + // Code size 59 (0x3b) + .maxstack 3 .locals init ( - class NAnt.Core.DataTypeBase V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000d: castclass NAnt.Core.DataTypeBase - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0007: brtrue IL_0022 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method DataTypeBaseDictionary::get_Item + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0012: brtrue IL_0022 - // method line 1619 - .method public hidebysig specialname - instance default void set_Item (string key, class NAnt.Core.DataTypeBase 'value') cil managed - { - // Method begins at RVA 0x1cdf2 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_000e: ret - } // end of method DataTypeBaseDictionary::set_Item + IL_0017: ldarg.0 + IL_0018: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_001d: brfalse IL_0032 - // method line 1620 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionary.get_Item (object key) cil managed - { - // Method begins at RVA 0x1ce04 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::get_Item due to (null) - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: call instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseDictionary::get_Item(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0022: ldc.i4.0 + IL_0023: ldarg.0 + IL_0024: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0029: ldc.i4.4 + IL_002a: and + IL_002b: ceq + IL_002d: ldc.i4.0 + IL_002e: ceq + IL_0030: br.s IL_0033 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.get_Item + IL_0032: ldc.i4.0 + IL_0033: stloc.0 + IL_0034: br IL_0039 - // method line 1621 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed - { - // Method begins at RVA 0x1ce25 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::set_Item due to (null) - // Code size 20 (0x14) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: ldarg.2 - IL_0009: castclass NAnt.Core.DataTypeBase - IL_000e: call instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) - IL_0013: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.set_Item + IL_0039: ldloc.0 + IL_003a: ret + } // end of method CommandLineArgument::get_AllowMultiple - // method line 1622 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed + // method line 1574 + .method public hidebysig specialname + instance default bool get_Unique () cil managed { - // Method begins at RVA 0x1ce3c - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x1be84 + // Code size 23 (0x17) + .maxstack 3 .locals init ( - class [mscorlib]System.Collections.ICollection V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldc.i4.0 + IL_0002: ldarg.0 + IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0008: ldc.i4.2 + IL_0009: and + IL_000a: ceq + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_Values + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CommandLineArgument::get_Unique - // method line 1623 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed + // method line 1575 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_Type () cil managed { - // Method begins at RVA 0x1ce5c + // Method begins at RVA 0x1bea8 // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ICollection V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_0002: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0007: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method DataTypeBaseDictionary::get_Keys + } // end of method CommandLineArgument::get_Type - // method line 1624 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsFixedSize () cil managed + // method line 1576 + .method public hidebysig specialname + instance default bool get_IsCollection () cil managed { - // Method begins at RVA 0x1ce7c + // Method begins at RVA 0x1bec8 // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() + IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() + IL_0007: call bool class NAnt.Core.Util.CommandLineArgument::IsCollectionType(class [mscorlib]System.Type) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method DataTypeBaseDictionary::get_IsFixedSize - - // method line 1625 - .method private final virtual hidebysig newslot - instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed - { - // Method begins at RVA 0x1ce9c - .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method DataTypeBaseDictionary::System.Collections.ICollection.CopyTo + } // end of method CommandLineArgument::get_IsCollection - // method line 1626 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsSynchronized () cil managed + // method line 1577 + .method public hidebysig specialname + instance default bool get_IsNameValueCollection () cil managed { - // Method begins at RVA 0x1ceac + // Method begins at RVA 0x1bee8 // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsSynchronized() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_IsSynchronized - - // method line 1627 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed - { - // Method begins at RVA 0x1cecc - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() + IL_0007: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method DataTypeBaseDictionary::get_Count + } // end of method CommandLineArgument::get_IsNameValueCollection - // method line 1628 - .method public final virtual hidebysig newslot specialname - instance default object get_SyncRoot () cil managed + // method line 1578 + .method public hidebysig specialname + instance default bool get_IsArray () cil managed { - // Method begins at RVA 0x1ceec + // Method begins at RVA 0x1bf08 // Code size 20 (0x14) .maxstack 1 .locals init ( - object V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() + IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() + IL_0007: call bool class NAnt.Core.Util.CommandLineArgument::IsArrayType(class [mscorlib]System.Type) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method DataTypeBaseDictionary::get_SyncRoot - - // method line 1629 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.DataTypeBase[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x1cf0c - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method DataTypeBaseDictionary::CopyTo + } // end of method CommandLineArgument::get_IsArray - // method line 1630 - .method public hidebysig - instance default class NAnt.Core.DataTypeBaseDictionary Clone () cil managed + // method line 1579 + .method public hidebysig specialname + instance default bool get_IsDefault () cil managed { - // Method begins at RVA 0x1cf1c - // Code size 38 (0x26) + // Method begins at RVA 0x1bf28 + // Code size 37 (0x25) .maxstack 2 .locals init ( - class NAnt.Core.DataTypeBaseDictionary V_0, - class NAnt.Core.DataTypeBaseDictionary V_1) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_000e: callvirt instance object class [mscorlib]System.Collections.Hashtable::Clone() - IL_0013: castclass [mscorlib]System.Collections.Hashtable - IL_0018: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_InnerHash(class [mscorlib]System.Collections.Hashtable) - IL_001d: ldloc.0 - IL_001e: stloc.1 - IL_001f: br IL_0024 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_001c - IL_0024: ldloc.1 - IL_0025: ret - } // end of method DataTypeBaseDictionary::Clone + IL_000c: ldarg.0 + IL_000d: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0012: isinst NAnt.Core.Util.DefaultCommandLineArgumentAttribute + IL_0017: ldnull + IL_0018: cgt.un + IL_001a: br.s IL_001d - // method line 1631 - .method private final virtual hidebysig newslot - instance default object System.ICloneable.Clone () cil managed - { - // Method begins at RVA 0x1cf50 - .override Could not decode method override class [mscorlib]System.ICloneable::Clone due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.DataTypeBaseDictionary::Clone() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_001c: ldc.i4.0 + IL_001d: stloc.0 + IL_001e: br IL_0023 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionary::System.ICloneable.Clone + IL_0023: ldloc.0 + IL_0024: ret + } // end of method CommandLineArgument::get_IsDefault - // method line 1632 - .method public hidebysig - instance default bool ContainsKey (string key) cil managed + // method line 1580 + .method public hidebysig specialname + instance default bool get_IsExclusive () cil managed { - // Method begins at RVA 0x1cf6c - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x1bf5c + // Code size 23 (0x17) + .maxstack 3 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldc.i4.0 + IL_0002: ldarg.0 + IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0008: ldc.i4.8 + IL_0009: and + IL_000a: ceq + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::ContainsKey + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CommandLineArgument::get_IsExclusive - // method line 1633 + // method line 1581 .method public hidebysig - instance default bool ContainsValue (class NAnt.Core.DataTypeBase 'value') cil managed + instance default void Finish (object destination) cil managed { - // Method begins at RVA 0x1cf90 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x1bf80 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 1197 (0x4ad) + .maxstack 9 .locals init ( - bool V_0) + object V_0, + object V_1, + class [mscorlib]System.Reflection.MethodInfo V_2, + class [mscorlib]System.Reflection.MethodInfo V_3, + class [mscorlib]System.Reflection.MethodInfo[] V_4, + int32 V_5, + class [mscorlib]System.Reflection.ParameterInfo V_6, + object V_7, + class [mscorlib]System.Collections.IEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + class [mscorlib]System.Exception V_10, + object V_11, + object V_12, + class [mscorlib]System.Reflection.MethodInfo V_13, + class [mscorlib]System.Reflection.MethodInfo V_14, + class [mscorlib]System.Reflection.MethodInfo[] V_15, + int32 V_16, + string V_17, + class [mscorlib]System.Collections.IEnumerator V_18, + class [mscorlib]System.IDisposable V_19, + class [mscorlib]System.Exception V_20) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsValue(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsRequired() + IL_0007: brfalse IL_0033 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::ContainsValue + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_0012: brtrue IL_0033 - // method line 1634 - .method public static hidebysig - default class NAnt.Core.DataTypeBaseDictionary Synchronized (class NAnt.Core.DataTypeBaseDictionary nonSync) cil managed - { - // Method begins at RVA 0x1cfb4 - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - class NAnt.Core.DataTypeBaseDictionary V_0, - class NAnt.Core.DataTypeBaseDictionary V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.DataTypeBaseDictionary::get_InnerHash() - IL_000e: call class [mscorlib]System.Collections.Hashtable class [mscorlib]System.Collections.Hashtable::Synchronized(class [mscorlib]System.Collections.Hashtable) - IL_0013: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_InnerHash(class [mscorlib]System.Collections.Hashtable) - IL_0018: ldloc.0 - IL_0019: stloc.1 - IL_001a: br IL_001f + IL_0017: nop + IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001d: ldstr "Missing required argument '-{0}'." + IL_0022: ldarg.0 + IL_0023: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002d: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0032: throw + IL_0033: ldarg.0 + IL_0034: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0039: brfalse IL_006a - IL_001f: ldloc.1 - IL_0020: ret - } // end of method DataTypeBaseDictionary::Synchronized + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0045: ldarg.1 + IL_0046: ldarg.0 + IL_0047: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues + IL_004c: ldarg.0 + IL_004d: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType + IL_0052: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_0057: ldc.i4.0 + IL_0058: ldnull + IL_0059: ldnull + IL_005a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005f: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0064: nop + IL_0065: br IL_04ac - // method line 1635 - .method public virtual hidebysig newslot - instance default void Inherit (class NAnt.Core.DataTypeBaseDictionary source) cil managed - { - // Method begins at RVA 0x1cfe4 - // Code size 84 (0x54) - .maxstack 4 - .locals init ( - string V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class [mscorlib]System.IDisposable V_2) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance class [mscorlib]System.Collections.ICollection class NAnt.Core.DataTypeBaseDictionary::get_Keys() - IL_0008: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_002f + IL_006a: ldarg.0 + IL_006b: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0070: brfalse IL_0256 - IL_0013: ldloc.1 - IL_0014: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0019: castclass [mscorlib]System.String - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: ldloc.0 - IL_0022: ldarg.1 - IL_0023: ldloc.0 - IL_0024: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseDictionary::get_Item(string) - IL_0029: call instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) - IL_002e: nop - IL_002f: ldloc.1 - IL_0030: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0035: brtrue IL_0013 + IL_0075: nop + IL_0076: ldarg.0 + IL_0077: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_007c: ldarg.1 + IL_007d: ldc.i4.0 + IL_007e: ldnull + IL_007f: ldnull + IL_0080: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0085: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_008a: brtrue IL_00fb - IL_003a: leave IL_0053 + IL_008f: nop + IL_0090: ldarg.0 + IL_0091: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0096: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_009b: brtrue IL_00cb - } // end .try 0 - finally { // 0 - IL_003f: ldloc.1 - IL_0040: isinst [mscorlib]System.IDisposable - IL_0045: dup - IL_0046: stloc.2 - IL_0047: brfalse IL_0052 + IL_00a0: nop + IL_00a1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a6: ldstr "NA1171" + IL_00ab: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00b0: ldstr " but is not initialized and does not allow thecollection to be initialized." + IL_00b5: call string string::Concat(string, string) + IL_00ba: ldarg.0 + IL_00bb: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_00c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00c5: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_00ca: throw + IL_00cb: ldarg.0 + IL_00cc: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_00d1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_00d6: ldc.i4.s 0x14 + IL_00d8: ldnull + IL_00d9: ldnull + IL_00da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00df: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_00e4: stloc.0 + IL_00e5: ldarg.0 + IL_00e6: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_00eb: ldarg.1 + IL_00ec: ldloc.0 + IL_00ed: ldc.i4.0 + IL_00ee: ldnull + IL_00ef: ldnull + IL_00f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00f5: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_00fa: nop + IL_00fb: ldarg.0 + IL_00fc: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0101: ldarg.1 + IL_0102: ldc.i4.0 + IL_0103: ldnull + IL_0104: ldnull + IL_0105: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_010a: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_010f: stloc.1 + IL_0110: ldnull + IL_0111: stloc.2 + IL_0112: nop + IL_0113: ldloc.1 + IL_0114: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0119: ldc.i4.s 0x14 + IL_011b: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0120: stloc.s 4 + IL_0122: ldc.i4.0 + IL_0123: stloc.s 5 + IL_0125: br IL_018a - IL_004c: ldloc.2 - IL_004d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0052: endfinally - } // end handler 0 - IL_0053: ret - } // end of method DataTypeBaseDictionary::Inherit + IL_012a: ldloc.s 4 + IL_012c: ldloc.s 5 + IL_012e: ldelem.ref + IL_012f: stloc.3 + IL_0130: nop + IL_0131: ldloc.3 + IL_0132: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0137: ldstr "Add" + IL_013c: call bool string::op_Equality(string, string) + IL_0141: brfalse IL_0183 - .property instance object System.Collections.IDictionary.Item (object) - { - .get instance default object NAnt.Core.DataTypeBaseDictionary::System.Collections.IDictionary.get_Item (object key) - .set instance default void NAnt.Core.DataTypeBaseDictionary::System.Collections.IDictionary.set_Item (object key, object 'value') - } - .property instance class [mscorlib]System.Collections.Hashtable InnerHash () - { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::get_InnerHash () - .set instance default void NAnt.Core.DataTypeBaseDictionary::set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') - } - .property instance bool IsReadOnly () - { - .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsReadOnly () - } - .property instance class NAnt.Core.DataTypeBase Item (string) - { - .get instance default class NAnt.Core.DataTypeBase NAnt.Core.DataTypeBaseDictionary::get_Item (string key) - .set instance default void NAnt.Core.DataTypeBaseDictionary::set_Item (string key, class NAnt.Core.DataTypeBase 'value') - } - .property instance class [mscorlib]System.Collections.ICollection Values () - { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.DataTypeBaseDictionary::get_Values () - } - .property instance class [mscorlib]System.Collections.ICollection Keys () - { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.DataTypeBaseDictionary::get_Keys () - } - .property instance bool IsFixedSize () - { - .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsFixedSize () - } - .property instance bool IsSynchronized () - { - .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsSynchronized () - } - .property instance int32 Count () - { - .get instance default int32 NAnt.Core.DataTypeBaseDictionary::get_Count () - } - .property instance object SyncRoot () - { - .get instance default object NAnt.Core.DataTypeBaseDictionary::get_SyncRoot () - } - } // end of class NAnt.Core.DataTypeBaseDictionary -} + IL_0146: ldloc.3 + IL_0147: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_014c: ldlen + IL_014d: conv.i4 + IL_014e: ldc.i4.1 + IL_014f: bne.un IL_0183 -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit DataTypeBaseDictionaryEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator + IL_0154: nop + IL_0155: ldloc.3 + IL_0156: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_015b: ldc.i4.0 + IL_015c: ldelem.ref + IL_015d: stloc.s 6 + IL_015f: ldloc.s 6 + IL_0161: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0166: ldtoken [mscorlib]System.Object + IL_016b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0170: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0175: brfalse IL_0182 - // method line 1636 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.DataTypeBaseDictionary enumerable) cil managed - { - // Method begins at RVA 0x1d054 - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.DataTypeBaseDictionary::get_InnerHash() - IL_000e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0013: stfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0018: ret - } // end of method DataTypeBaseDictionaryEnumerator::.ctor + IL_017a: nop + IL_017b: ldloc.3 + IL_017c: stloc.2 + IL_017d: br IL_0195 - // method line 1637 - .method public hidebysig specialname - instance default string get_Key () cil managed - { - // Method begins at RVA 0x1d070 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() - IL_000c: castclass [mscorlib]System.String - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0182: nop + IL_0183: nop + IL_0184: ldloc.s 5 + IL_0186: ldc.i4.1 + IL_0187: add + IL_0188: stloc.s 5 + IL_018a: ldloc.s 5 + IL_018c: ldloc.s 4 + IL_018e: ldlen + IL_018f: conv.i4 + IL_0190: blt IL_012a - IL_0017: ldloc.0 - IL_0018: ret - } // end of method DataTypeBaseDictionaryEnumerator::get_Key + IL_0195: ldloc.2 + IL_0196: ldnull + IL_0197: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_019c: brfalse IL_01c2 - // method line 1638 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed - { - // Method begins at RVA 0x1d098 - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Key() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01a1: nop + IL_01a2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01a7: ldstr "NA1169" + IL_01ac: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01b1: ldarg.0 + IL_01b2: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_01b7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01bc: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_01c1: throw + IL_01c2: nop + .try { // 1 + IL_01c3: nop + IL_01c4: nop + IL_01c5: ldarg.0 + IL_01c6: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues + IL_01cb: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_01d0: stloc.s 8 + .try { // 0 + IL_01d2: br IL_01fc - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key + IL_01d7: ldloc.s 8 + IL_01d9: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01de: stloc.s 7 + IL_01e0: nop + IL_01e1: ldloc.2 + IL_01e2: ldloc.1 + IL_01e3: ldc.i4.0 + IL_01e4: ldnull + IL_01e5: ldc.i4.1 + IL_01e6: newarr [mscorlib]System.Object + IL_01eb: dup + IL_01ec: ldc.i4.0 + IL_01ed: ldloc.s 7 + IL_01ef: stelem.ref + IL_01f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01f5: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_01fa: pop + IL_01fb: nop + IL_01fc: ldloc.s 8 + IL_01fe: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0203: brtrue IL_01d7 - // method line 1639 - .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBase get_Value () cil managed - { - // Method begins at RVA 0x1d0b4 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.DataTypeBase V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value() - IL_000c: castclass NAnt.Core.DataTypeBase - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0208: leave IL_0224 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method DataTypeBaseDictionaryEnumerator::get_Value + } // end .try 0 + finally { // 0 + IL_020d: ldloc.s 8 + IL_020f: isinst [mscorlib]System.IDisposable + IL_0214: dup + IL_0215: stloc.s 9 + IL_0217: brfalse IL_0223 - // method line 1640 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed - { - // Method begins at RVA 0x1d0dc - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Value() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_021c: ldloc.s 9 + IL_021e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0223: endfinally + } // end handler 0 + IL_0224: nop + IL_0225: leave IL_024f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_022a: stloc.s 10 + IL_022c: nop + IL_022d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0232: ldstr "NA1173" + IL_0237: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_023c: ldarg.0 + IL_023d: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0242: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0247: ldloc.s 10 + IL_0249: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string, class [mscorlib]System.Exception) + IL_024e: throw + } // end handler 1 + IL_024f: nop + IL_0250: nop + IL_0251: br IL_04ac - // method line 1641 - .method public final virtual hidebysig newslot specialname - instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed - { - // Method begins at RVA 0x1d0f8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.Collections.DictionaryEntry V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance valuetype [mscorlib]System.Collections.DictionaryEntry class [mscorlib]System.Collections.IDictionaryEnumerator::get_Entry() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0256: ldarg.0 + IL_0257: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_025c: brfalse IL_0483 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionaryEnumerator::get_Entry + IL_0261: nop + IL_0262: ldarg.0 + IL_0263: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0268: ldarg.1 + IL_0269: ldc.i4.0 + IL_026a: ldnull + IL_026b: ldnull + IL_026c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0271: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0276: brtrue IL_02e9 - // method line 1642 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - // Method begins at RVA 0x1d118 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method DataTypeBaseDictionaryEnumerator::Reset + IL_027b: nop + IL_027c: ldarg.0 + IL_027d: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0282: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0287: brtrue IL_02b7 - // method line 1643 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x1d128 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_028c: nop + IL_028d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0292: ldstr "NA1171" + IL_0297: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_029c: ldstr " but is not initialized and does not allow thecollection to be initialized." + IL_02a1: call string string::Concat(string, string) + IL_02a6: ldarg.0 + IL_02a7: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_02ac: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_02b1: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_02b6: throw + IL_02b7: ldarg.0 + IL_02b8: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_02bd: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_02c2: ldc.i4.s 0x14 + IL_02c4: ldnull + IL_02c5: ldnull + IL_02c6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02cb: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_02d0: stloc.s 11 + IL_02d2: ldarg.0 + IL_02d3: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_02d8: ldarg.1 + IL_02d9: ldloc.s 11 + IL_02db: ldc.i4.0 + IL_02dc: ldnull + IL_02dd: ldnull + IL_02de: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02e3: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_02e8: nop + IL_02e9: ldarg.0 + IL_02ea: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_02ef: ldarg.1 + IL_02f0: ldc.i4.0 + IL_02f1: ldnull + IL_02f2: ldnull + IL_02f3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02f8: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_02fd: stloc.s 12 + IL_02ff: ldnull + IL_0300: stloc.s 13 + IL_0302: nop + IL_0303: ldloc.s 12 + IL_0305: callvirt instance class [mscorlib]System.Type object::GetType() + IL_030a: ldc.i4.s 0x14 + IL_030c: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0311: stloc.s 15 + IL_0313: ldc.i4.0 + IL_0314: stloc.s 16 + IL_0316: br IL_039f - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionaryEnumerator::MoveNext + IL_031b: ldloc.s 15 + IL_031d: ldloc.s 16 + IL_031f: ldelem.ref + IL_0320: stloc.s 14 + IL_0322: nop + IL_0323: ldloc.s 14 + IL_0325: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_032a: ldstr "Add" + IL_032f: call bool string::op_Equality(string, string) + IL_0334: brfalse IL_0398 - // method line 1644 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x1d148 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0339: ldloc.s 14 + IL_033b: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0340: ldlen + IL_0341: conv.i4 + IL_0342: ldc.i4.2 + IL_0343: bne.un IL_0398 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IEnumerator.get_Current + IL_0348: nop + IL_0349: ldloc.s 14 + IL_034b: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0350: ldc.i4.0 + IL_0351: ldelem.ref + IL_0352: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0357: ldtoken [mscorlib]System.String + IL_035c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0361: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0366: brfalse IL_0397 - // method line 1645 - .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBase get_Current () cil managed - { - // Method begins at RVA 0x1d168 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.DataTypeBase V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.DataTypeBaseDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.DataTypeBase - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_036b: ldloc.s 14 + IL_036d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0372: ldc.i4.1 + IL_0373: ldelem.ref + IL_0374: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0379: ldtoken [mscorlib]System.String + IL_037e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0383: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0388: brfalse IL_0397 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method DataTypeBaseDictionaryEnumerator::get_Current + IL_038d: nop + IL_038e: ldloc.s 14 + IL_0390: stloc.s 13 + IL_0392: br IL_03aa - .property instance object System.Collections.IDictionaryEnumerator.Key () - { - .get instance default object NAnt.Core.DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key () - } - .property instance object System.Collections.IDictionaryEnumerator.Value () - { - .get instance default object NAnt.Core.DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.DataTypeBaseDictionaryEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance string Key () - { - .get instance default string NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Key () - } - .property instance class NAnt.Core.DataTypeBase Value () - { - .get instance default class NAnt.Core.DataTypeBase NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Value () - } - .property instance valuetype [mscorlib]System.Collections.DictionaryEntry Entry () - { - .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Entry () - } - .property instance class NAnt.Core.DataTypeBase Current () - { - .get instance default class NAnt.Core.DataTypeBase NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Current () - } - } // end of class NAnt.Core.DataTypeBaseDictionaryEnumerator -} + IL_0397: nop + IL_0398: nop + IL_0399: ldloc.s 16 + IL_039b: ldc.i4.1 + IL_039c: add + IL_039d: stloc.s 16 + IL_039f: ldloc.s 16 + IL_03a1: ldloc.s 15 + IL_03a3: ldlen + IL_03a4: conv.i4 + IL_03a5: blt IL_031b -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit ConsoleDriver - extends [mscorlib]System.Object - { - .field private static literal int32 INDENTATION_SIZE = int32(0x00000004) + IL_03aa: ldloc.s 13 + IL_03ac: ldnull + IL_03ad: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_03b2: brfalse IL_03d8 - // method line 1646 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1d18d - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method ConsoleDriver::.ctor + IL_03b7: nop + IL_03b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03bd: ldstr "NA1169" + IL_03c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03c7: ldarg.0 + IL_03c8: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_03cd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_03d2: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_03d7: throw + IL_03d8: nop + .try { // 3 + IL_03d9: nop + IL_03da: nop + IL_03db: ldarg.0 + IL_03dc: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_03e1: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Collections.Specialized.NameObjectCollectionBase::GetEnumerator() + IL_03e6: stloc.s 18 + .try { // 2 + IL_03e8: br IL_0429 - // method line 1647 - .method public static hidebysig - default int32 Main (string[] args) cil managed - { - // Method begins at RVA 0x1d198 - // Code size 1595 (0x63b) - .maxstack 4 - .locals init ( - class NAnt.Core.Util.CommandLineParser V_0, - class NAnt.Core.Project V_1, - valuetype NAnt.Core.Level V_2, - class NAnt.Core.Util.AssemblyResolver V_3, - class NAnt.Core.CommandLineOptions V_4, - int32 V_5, - class NAnt.Core.PropertyDictionary V_6, - string V_7, - class [System]System.Collections.Specialized.StringEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - string V_10, - class [mscorlib]System.Collections.IEnumerator V_11, - class [mscorlib]System.IDisposable V_12, - valuetype [mscorlib]System.Collections.DictionaryEntry V_13, - class [mscorlib]System.Collections.IDictionaryEnumerator V_14, - class [mscorlib]System.IDisposable V_15, - class [mscorlib]System.Reflection.Assembly V_16, - class NAnt.Core.FrameworkInfo V_17, - class [mscorlib]System.Exception V_18, - class NAnt.Core.FrameworkInfo[] V_19, - class NAnt.Core.FrameworkInfo V_20, - class NAnt.Core.FrameworkInfo[] V_21, - int32 V_22, - class NAnt.Core.Util.CommandLineArgumentException V_23, - class [mscorlib]System.ApplicationException V_24, - class [mscorlib]System.Exception V_25) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldc.i4 3000 - IL_000a: stloc.2 - IL_000b: newobj instance void class NAnt.Core.Util.AssemblyResolver::'.ctor'() - IL_0010: stloc.3 - IL_0011: ldloc.3 - IL_0012: callvirt instance void class NAnt.Core.Util.AssemblyResolver::Attach() - IL_0017: newobj instance void class NAnt.Core.CommandLineOptions::'.ctor'() - IL_001c: stloc.s 4 - .try { // 7 - .try { // 4 - IL_001e: nop - IL_001f: ldtoken NAnt.Core.CommandLineOptions - IL_0024: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0029: ldc.i4.1 - IL_002a: newobj instance void class NAnt.Core.Util.CommandLineParser::'.ctor'(class [mscorlib]System.Type, bool) - IL_002f: stloc.0 - IL_0030: ldloc.0 - IL_0031: ldarg.0 - IL_0032: ldloc.s 4 - IL_0034: callvirt instance void class NAnt.Core.Util.CommandLineParser::Parse(string[], object) - IL_0039: ldloc.s 4 - IL_003b: callvirt instance bool class NAnt.Core.CommandLineOptions::get_NoLogo() - IL_0040: brtrue IL_0057 + IL_03ed: ldloc.s 18 + IL_03ef: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_03f4: castclass [mscorlib]System.String + IL_03f9: stloc.s 17 + IL_03fb: nop + IL_03fc: ldloc.s 13 + IL_03fe: ldloc.s 12 + IL_0400: ldc.i4.0 + IL_0401: ldnull + IL_0402: ldc.i4.2 + IL_0403: newarr [mscorlib]System.Object + IL_0408: dup + IL_0409: ldc.i4.0 + IL_040a: ldloc.s 17 + IL_040c: stelem.ref + IL_040d: dup + IL_040e: ldc.i4.1 + IL_040f: ldarg.0 + IL_0410: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0415: ldloc.s 17 + IL_0417: callvirt instance string class [System]System.Collections.Specialized.NameValueCollection::Get(string) + IL_041c: stelem.ref + IL_041d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0422: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0427: pop + IL_0428: nop + IL_0429: ldloc.s 18 + IL_042b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0430: brtrue IL_03ed - IL_0045: nop - IL_0046: ldloc.0 - IL_0047: callvirt instance string class NAnt.Core.Util.CommandLineParser::get_LogoBanner() - IL_004c: call void class [mscorlib]System.Console::WriteLine(string) - IL_0051: call void class [mscorlib]System.Console::WriteLine() - IL_0056: nop - IL_0057: ldloc.s 4 - IL_0059: callvirt instance bool class NAnt.Core.CommandLineOptions::get_ShowHelp() - IL_005e: brfalse IL_0072 + IL_0435: leave IL_0451 - IL_0063: nop - IL_0064: ldloc.0 - IL_0065: call void class NAnt.Core.ConsoleDriver::ShowHelp(class NAnt.Core.Util.CommandLineParser) - IL_006a: ldc.i4.0 - IL_006b: stloc.s 5 - IL_006d: leave IL_0638 + } // end .try 2 + finally { // 2 + IL_043a: ldloc.s 18 + IL_043c: isinst [mscorlib]System.IDisposable + IL_0441: dup + IL_0442: stloc.s 19 + IL_0444: brfalse IL_0450 - IL_0072: ldloc.s 4 - IL_0074: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Debug() - IL_0079: brfalse IL_008b + IL_0449: ldloc.s 19 + IL_044b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0450: endfinally + } // end handler 2 + IL_0451: nop + IL_0452: leave IL_047c - IL_007e: nop - IL_007f: ldc.i4 1000 - IL_0084: stloc.2 - IL_0085: nop - IL_0086: br IL_00b8 + } // end .try 3 + catch class [mscorlib]System.Exception { // 3 + IL_0457: stloc.s 20 + IL_0459: nop + IL_045a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_045f: ldstr "NA1173" + IL_0464: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0469: ldarg.0 + IL_046a: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_046f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0474: ldloc.s 20 + IL_0476: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string, class [mscorlib]System.Exception) + IL_047b: throw + } // end handler 3 + IL_047c: nop + IL_047d: nop + IL_047e: br IL_04ac - IL_008b: ldloc.s 4 - IL_008d: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Verbose() - IL_0092: brfalse IL_00a4 + IL_0483: nop + IL_0484: ldarg.0 + IL_0485: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue + IL_048a: brfalse IL_04ab - IL_0097: nop - IL_0098: ldc.i4 2000 - IL_009d: stloc.2 - IL_009e: nop - IL_009f: br IL_00b8 + IL_048f: nop + IL_0490: ldarg.0 + IL_0491: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0496: ldarg.1 + IL_0497: ldarg.0 + IL_0498: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue + IL_049d: ldc.i4.0 + IL_049e: ldnull + IL_049f: ldnull + IL_04a0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_04a5: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_04aa: nop + IL_04ab: nop + IL_04ac: ret + } // end of method CommandLineArgument::Finish - IL_00a4: ldloc.s 4 - IL_00a6: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Quiet() - IL_00ab: brfalse IL_00b8 + // method line 1582 + .method public hidebysig + instance default void SetValue (string 'value') cil managed + { + // Method begins at RVA 0x1c470 + // Code size 211 (0xd3) + .maxstack 4 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_0007: brfalse IL_0038 - IL_00b0: nop - IL_00b1: ldc.i4 4000 - IL_00b6: stloc.2 - IL_00b7: nop - IL_00b8: ldloc.s 4 - IL_00ba: callvirt instance string class NAnt.Core.CommandLineOptions::get_BuildFile() - IL_00bf: brfalse IL_0109 + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() + IL_0012: brtrue IL_0038 - IL_00c4: nop - IL_00c5: ldloc.1 - IL_00c6: brfalse IL_00f3 + IL_0017: nop + IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001d: ldstr "NA1175" + IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0027: ldarg.0 + IL_0028: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_002d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0032: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0037: throw + IL_0038: ldarg.0 + IL_0039: ldc.i4.1 + IL_003a: stfld bool NAnt.Core.Util.CommandLineArgument::_seenValue + IL_003f: ldarg.0 + IL_0040: ldarg.0 + IL_0041: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0046: ldarg.1 + IL_0047: call instance object class NAnt.Core.Util.CommandLineArgument::ParseValue(class [mscorlib]System.Type, string) + IL_004c: stloc.0 + IL_004d: ldarg.0 + IL_004e: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0053: brtrue IL_0063 - IL_00cb: nop - IL_00cc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00d1: ldstr "Buildfile has already been loaded! Using new value '{0}'; discarding old project file '{1}'" - IL_00d6: ldloc.s 4 - IL_00d8: callvirt instance string class NAnt.Core.CommandLineOptions::get_BuildFile() - IL_00dd: ldloc.1 - IL_00de: callvirt instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_00e3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00e8: call void class [mscorlib]System.Console::WriteLine(string) - IL_00ed: call void class [mscorlib]System.Console::WriteLine() - IL_00f2: nop - IL_00f3: ldloc.s 4 - IL_00f5: callvirt instance string class NAnt.Core.CommandLineOptions::get_BuildFile() - IL_00fa: ldloc.2 - IL_00fb: ldloc.s 4 - IL_00fd: callvirt instance int32 class NAnt.Core.CommandLineOptions::get_IndentationLevel() - IL_0102: newobj instance void class NAnt.Core.Project::'.ctor'(string, valuetype NAnt.Core.Level, int32) - IL_0107: stloc.1 - IL_0108: nop - IL_0109: ldloc.1 - IL_010a: brtrue IL_0131 + IL_0058: ldarg.0 + IL_0059: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_005e: brfalse IL_00b7 - IL_010f: nop - IL_0110: call string class [mscorlib]System.Environment::get_CurrentDirectory() - IL_0115: ldnull - IL_0116: ldloc.s 4 - IL_0118: callvirt instance bool class NAnt.Core.CommandLineOptions::get_FindInParent() - IL_011d: call string class NAnt.Core.ConsoleDriver::GetBuildFileName(string, string, bool) - IL_0122: ldloc.2 - IL_0123: ldloc.s 4 - IL_0125: callvirt instance int32 class NAnt.Core.CommandLineOptions::get_IndentationLevel() - IL_012a: newobj instance void class NAnt.Core.Project::'.ctor'(string, valuetype NAnt.Core.Level, int32) - IL_012f: stloc.1 - IL_0130: nop - IL_0131: ldloc.s 4 - IL_0133: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.CommandLineOptions::get_ExtensionAssemblies() - IL_0138: ldloc.1 - IL_0139: call void class NAnt.Core.ConsoleDriver::LoadExtensionAssemblies(class [System]System.Collections.Specialized.StringCollection, class NAnt.Core.Project) - IL_013e: ldloc.1 - IL_013f: newobj instance void class NAnt.Core.PropertyDictionary::'.ctor'(class NAnt.Core.Project) - IL_0144: stloc.s 6 - IL_0146: ldloc.s 4 - IL_0148: ldloc.1 - IL_0149: call void class NAnt.Core.ConsoleDriver::AddBuildListeners(class NAnt.Core.CommandLineOptions, class NAnt.Core.Project) - IL_014e: nop - IL_014f: ldloc.s 4 - IL_0151: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.CommandLineOptions::get_Targets() - IL_0156: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_015b: stloc.s 8 - .try { // 0 - IL_015d: br IL_017b + IL_0063: nop + IL_0064: ldarg.0 + IL_0065: call instance bool class NAnt.Core.Util.CommandLineArgument::get_Unique() + IL_006a: brfalse IL_00a2 - IL_0162: ldloc.s 8 - IL_0164: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0169: stloc.s 7 - IL_016b: nop - IL_016c: ldloc.1 - IL_016d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_0172: ldloc.s 7 - IL_0174: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0179: pop - IL_017a: nop - IL_017b: ldloc.s 8 - IL_017d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0182: brtrue IL_0162 + IL_006f: ldarg.0 + IL_0070: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues + IL_0075: ldloc.0 + IL_0076: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_007b: brfalse IL_00a2 - IL_0187: leave IL_01a3 + IL_0080: nop + IL_0081: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0086: ldstr "NA1172" + IL_008b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0090: ldarg.1 + IL_0091: ldarg.0 + IL_0092: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0097: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_009c: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_00a1: throw + IL_00a2: nop + IL_00a3: ldarg.0 + IL_00a4: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues + IL_00a9: ldloc.0 + IL_00aa: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00af: pop + IL_00b0: nop + IL_00b1: nop + IL_00b2: br IL_00d2 - } // end .try 0 - finally { // 0 - IL_018c: ldloc.s 8 - IL_018e: isinst [mscorlib]System.IDisposable - IL_0193: dup - IL_0194: stloc.s 9 - IL_0196: brfalse IL_01a2 + IL_00b7: ldarg.0 + IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00bd: brfalse IL_00c9 - IL_019b: ldloc.s 9 - IL_019d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01a2: endfinally - } // end handler 0 - IL_01a3: nop - IL_01a4: ldloc.s 4 - IL_01a6: callvirt instance class [System]System.Collections.Specialized.NameValueCollection class NAnt.Core.CommandLineOptions::get_Properties() - IL_01ab: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Collections.Specialized.NameObjectCollectionBase::GetEnumerator() - IL_01b0: stloc.s 11 - .try { // 1 - IL_01b2: br IL_01de + IL_00c2: nop + IL_00c3: nop + IL_00c4: br IL_00d2 - IL_01b7: ldloc.s 11 - IL_01b9: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01be: castclass [mscorlib]System.String - IL_01c3: stloc.s 10 - IL_01c5: nop - IL_01c6: ldloc.s 6 - IL_01c8: ldloc.s 10 - IL_01ca: ldloc.s 4 - IL_01cc: callvirt instance class [System]System.Collections.Specialized.NameValueCollection class NAnt.Core.CommandLineOptions::get_Properties() - IL_01d1: ldloc.s 10 - IL_01d3: callvirt instance string class [System]System.Collections.Specialized.NameValueCollection::Get(string) - IL_01d8: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_01dd: nop - IL_01de: ldloc.s 11 - IL_01e0: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01e5: brtrue IL_01b7 + IL_00c9: nop + IL_00ca: ldarg.0 + IL_00cb: ldloc.0 + IL_00cc: stfld object NAnt.Core.Util.CommandLineArgument::_argumentValue + IL_00d1: nop + IL_00d2: ret + } // end of method CommandLineArgument::SetValue - IL_01ea: leave IL_0206 + // method line 1583 + .method private hidebysig + instance default object ParseValue (class [mscorlib]System.Type 'type', string stringData) cil managed + { + // Method begins at RVA 0x1c550 + // Code size 810 (0x32a) + .maxstack 9 + .locals init ( + object V_0, + class [System]System.Text.RegularExpressions.Match V_1, + string V_2, + string V_3, + class [mscorlib]System.ArgumentException V_4, + string V_5, + object V_6, + class [mscorlib]System.Collections.IEnumerator V_7, + class [mscorlib]System.IDisposable V_8, + class [mscorlib]System.Reflection.MethodInfo V_9, + class [mscorlib]System.Reflection.ConstructorInfo V_10, + class [mscorlib]System.Exception V_11) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: brtrue IL_001c - } // end .try 1 - finally { // 1 - IL_01ef: ldloc.s 11 - IL_01f1: isinst [mscorlib]System.IDisposable - IL_01f6: dup - IL_01f7: stloc.s 12 - IL_01f9: brfalse IL_0205 + IL_0007: ldarg.1 + IL_0008: ldtoken [mscorlib]System.Boolean + IL_000d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0012: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0017: brfalse IL_0307 - IL_01fe: ldloc.s 12 - IL_0200: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0205: endfinally - } // end handler 1 - IL_0206: nop - IL_0207: ldloc.s 6 - IL_0209: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.DictionaryBase::GetEnumerator() - IL_020e: stloc.s 14 - .try { // 2 - IL_0210: br IL_0248 + IL_001c: ldarg.2 + IL_001d: brfalse IL_002e - IL_0215: ldloc.s 14 - IL_0217: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_021c: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0221: stloc.s 13 - IL_0223: nop - IL_0224: ldloc.1 - IL_0225: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_022a: ldloca.s 13 - IL_022c: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0231: castclass [mscorlib]System.String - IL_0236: ldloca.s 13 - IL_0238: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_023d: castclass [mscorlib]System.String - IL_0242: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_0247: nop - IL_0248: ldloc.s 14 - IL_024a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_024f: brtrue IL_0215 + IL_0022: ldarg.2 + IL_0023: callvirt instance int32 string::get_Length() + IL_0028: ldc.i4.0 + IL_0029: ble IL_0307 - IL_0254: leave IL_0270 + IL_002e: nop + .try { // 2 + IL_002f: nop + IL_0030: ldarg.1 + IL_0031: ldtoken [mscorlib]System.String + IL_0036: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0040: brfalse IL_004d - } // end .try 2 - finally { // 2 - IL_0259: ldloc.s 14 - IL_025b: isinst [mscorlib]System.IDisposable - IL_0260: dup - IL_0261: stloc.s 15 - IL_0263: brfalse IL_026f + IL_0045: nop + IL_0046: ldarg.2 + IL_0047: stloc.0 + IL_0048: leave IL_0328 - IL_0268: ldloc.s 15 - IL_026a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_026f: endfinally - } // end handler 2 - IL_0270: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0275: stloc.s 16 - IL_0277: ldloc.1 - IL_0278: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_027d: ldstr "nant.filename" - IL_0282: ldloc.s 16 - IL_0284: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_0289: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_028e: ldloc.1 - IL_028f: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0294: ldstr "nant.version" - IL_0299: ldloc.s 16 - IL_029b: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_02a0: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_02a5: callvirt instance string object::ToString() - IL_02aa: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_02af: ldloc.1 - IL_02b0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_02b5: ldstr "nant.location" - IL_02ba: ldloc.s 16 - IL_02bc: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_02c1: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_02c6: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_02cb: ldloc.s 4 - IL_02cd: callvirt instance string class NAnt.Core.CommandLineOptions::get_TargetFramework() - IL_02d2: brfalse IL_0414 + IL_004d: ldarg.1 + IL_004e: ldtoken [mscorlib]System.Boolean + IL_0053: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0058: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_005d: brfalse IL_00a9 - IL_02d7: nop - IL_02d8: ldloc.1 - IL_02d9: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_02de: ldloc.s 4 - IL_02e0: callvirt instance string class NAnt.Core.CommandLineOptions::get_TargetFramework() - IL_02e5: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_02ea: stloc.s 17 - IL_02ec: ldloc.s 17 - IL_02ee: brfalse IL_0363 + IL_0062: nop + IL_0063: ldarg.2 + IL_0064: brfalse IL_0079 - IL_02f3: nop - .try { // 3 - IL_02f4: nop - IL_02f5: ldloc.s 17 - IL_02f7: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() - IL_02fc: ldloc.1 - IL_02fd: ldloc.s 17 - IL_02ff: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) - IL_0304: nop - IL_0305: leave IL_035d + IL_0069: ldarg.2 + IL_006a: ldstr "+" + IL_006f: call bool string::op_Equality(string, string) + IL_0074: brfalse IL_0086 - } // end .try 3 - catch class [mscorlib]System.Exception { // 3 - IL_030a: stloc.s 18 - IL_030c: nop - IL_030d: ldloc.s 18 - IL_030f: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) - IL_0314: ldc.i4 1000 - IL_0319: ldloc.2 - IL_031a: blt IL_0355 + IL_0079: nop + IL_007a: ldc.i4.1 + IL_007b: box [mscorlib]System.Boolean + IL_0080: stloc.0 + IL_0081: leave IL_0328 - IL_031f: nop - IL_0320: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0325: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_032a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_032f: ldstr "Stacktrace:" - IL_0334: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0339: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_033e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0343: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0348: ldloc.s 18 - IL_034a: callvirt instance string object::ToString() - IL_034f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0354: nop - IL_0355: ldc.i4.1 - IL_0356: stloc.s 5 - IL_0358: leave IL_0638 + IL_0086: ldarg.2 + IL_0087: ldstr "-" + IL_008c: call bool string::op_Equality(string, string) + IL_0091: brfalse IL_00a3 - } // end handler 3 - IL_035d: nop - IL_035e: br IL_0413 + IL_0096: nop + IL_0097: ldc.i4.0 + IL_0098: box [mscorlib]System.Boolean + IL_009d: stloc.0 + IL_009e: leave IL_0328 - IL_0363: nop - IL_0364: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0369: ldstr "Invalid framework '{0}' specified." - IL_036e: ldloc.s 4 - IL_0370: callvirt instance string class NAnt.Core.CommandLineOptions::get_TargetFramework() - IL_0375: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_037a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_037f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0384: ldloc.1 - IL_0385: ldc.i4.2 - IL_0386: callvirt instance class NAnt.Core.FrameworkInfo[] class NAnt.Core.Project::GetFrameworks(valuetype NAnt.Core.FrameworkTypes) - IL_038b: stloc.s 19 - IL_038d: ldloc.s 19 - IL_038f: ldlen - IL_0390: conv.i4 - IL_0391: brtrue IL_03ac + IL_00a3: nop + IL_00a4: br IL_02d6 - IL_0396: nop - IL_0397: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_039c: ldstr "There are no supported frameworks available on your system." - IL_03a1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_03a6: nop - IL_03a7: br IL_040b + IL_00a9: ldarg.1 + IL_00aa: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) + IL_00af: brfalse IL_0174 - IL_03ac: nop - IL_03ad: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_03b2: ldstr "Possible values include:" - IL_03b7: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_03bc: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_03c1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_03c6: nop - IL_03c7: ldloc.s 19 - IL_03c9: stloc.s 21 - IL_03cb: ldc.i4.0 - IL_03cc: stloc.s 22 - IL_03ce: br IL_03ff + IL_00b4: nop + IL_00b5: ldarg.2 + IL_00b6: ldstr "(\\w+[^=]*)=(\\w*.*)" + IL_00bb: call class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string, string) + IL_00c0: stloc.1 + IL_00c1: ldloc.1 + IL_00c2: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_00c7: brfalse IL_0148 - IL_03d3: ldloc.s 21 - IL_03d5: ldloc.s 22 - IL_03d7: ldelem.ref - IL_03d8: stloc.s 20 - IL_03da: nop - IL_03db: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_03e0: ldstr "{0} ({1})" - IL_03e5: ldloc.s 20 - IL_03e7: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_03ec: ldloc.s 20 - IL_03ee: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_03f3: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) - IL_03f8: nop - IL_03f9: ldloc.s 22 - IL_03fb: ldc.i4.1 - IL_03fc: add - IL_03fd: stloc.s 22 - IL_03ff: ldloc.s 22 - IL_0401: ldloc.s 21 - IL_0403: ldlen - IL_0404: conv.i4 - IL_0405: blt IL_03d3 + IL_00cc: nop + IL_00cd: ldloc.1 + IL_00ce: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_00d3: ldc.i4.1 + IL_00d4: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_00d9: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_00de: stloc.2 + IL_00df: ldloc.1 + IL_00e0: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_00e5: ldc.i4.2 + IL_00e6: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_00eb: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_00f0: stloc.3 + IL_00f1: ldarg.0 + IL_00f2: call instance bool class NAnt.Core.Util.CommandLineArgument::get_Unique() + IL_00f7: brfalse IL_012f - IL_040a: nop - IL_040b: ldc.i4.1 - IL_040c: stloc.s 5 - IL_040e: leave IL_0638 + IL_00fc: ldarg.0 + IL_00fd: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0102: ldloc.2 + IL_0103: callvirt instance string class [System]System.Collections.Specialized.NameValueCollection::Get(string) + IL_0108: brfalse IL_012f - IL_0413: nop - IL_0414: ldloc.s 4 - IL_0416: callvirt instance bool class NAnt.Core.CommandLineOptions::get_ShowProjectHelp() - IL_041b: brfalse IL_0437 + IL_010d: nop + IL_010e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0113: ldstr "NA1174" + IL_0118: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_011d: ldloc.2 + IL_011e: ldarg.0 + IL_011f: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0124: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0129: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_012e: throw + IL_012f: ldarg.0 + IL_0130: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0135: ldloc.2 + IL_0136: ldloc.3 + IL_0137: callvirt instance void class [System]System.Collections.Specialized.NameValueCollection::Add(string, string) + IL_013c: ldarg.0 + IL_013d: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0142: stloc.0 + IL_0143: leave IL_0328 - IL_0420: nop - IL_0421: call void class [mscorlib]System.Console::WriteLine() - IL_0426: ldloc.1 - IL_0427: callvirt instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() - IL_042c: call void class NAnt.Core.ConsoleDriver::ShowProjectHelp(class [System.Xml]System.Xml.XmlDocument) - IL_0431: nop - IL_0432: br IL_044d + IL_0148: nop + IL_0149: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_014e: ldstr "NA1170" + IL_0153: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0158: ldarg.2 + IL_0159: ldarg.0 + IL_015a: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_015f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0164: ldstr "Expected name/value pair (=)." + IL_0169: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_016e: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0173: throw + IL_0174: nop + IL_0175: ldarg.1 + IL_0176: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_017b: brfalse IL_022d - IL_0437: nop - IL_0438: ldloc.1 - IL_0439: callvirt instance bool class NAnt.Core.Project::Run() - IL_043e: brtrue IL_044c + IL_0180: nop + .try { // 1 + IL_0181: nop + IL_0182: ldarg.1 + IL_0183: ldarg.2 + IL_0184: ldc.i4.1 + IL_0185: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_018a: stloc.0 + IL_018b: leave IL_0328 - IL_0443: nop - IL_0444: ldc.i4.1 - IL_0445: stloc.s 5 - IL_0447: leave IL_0638 + } // end .try 1 + catch class [mscorlib]System.ArgumentException { // 1 + IL_0190: stloc.s 4 + IL_0192: nop + IL_0193: ldstr "Invalid value {0} for command-line argument '-{1}'. Valid values are: " + IL_0198: stloc.s 5 + IL_019a: nop + IL_019b: ldarg.1 + IL_019c: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) + IL_01a1: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() + IL_01a6: stloc.s 7 + .try { // 0 + IL_01a8: br IL_01cd - IL_044c: nop - IL_044d: ldc.i4.0 - IL_044e: stloc.s 5 - IL_0450: leave IL_0638 + IL_01ad: ldloc.s 7 + IL_01af: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01b4: stloc.s 6 + IL_01b6: nop + IL_01b7: ldloc.s 5 + IL_01b9: ldloc.s 6 + IL_01bb: callvirt instance string object::ToString() + IL_01c0: ldstr ", " + IL_01c5: call string string::Concat(string, string, string) + IL_01ca: stloc.s 5 + IL_01cc: nop + IL_01cd: ldloc.s 7 + IL_01cf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01d4: brtrue IL_01ad - } // end .try 4 - catch class NAnt.Core.Util.CommandLineArgumentException { // 4 - IL_0455: stloc.s 23 - IL_0457: nop - IL_0458: ldloc.0 - IL_0459: brfalse IL_0475 + IL_01d9: leave IL_01f5 - IL_045e: nop - IL_045f: ldloc.0 - IL_0460: callvirt instance string class NAnt.Core.Util.CommandLineParser::get_LogoBanner() - IL_0465: call void class [mscorlib]System.Console::WriteLine(string) - IL_046a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_046f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0474: nop - IL_0475: ldloc.s 23 - IL_0477: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) - IL_047c: ldc.i4 1000 - IL_0481: ldloc.2 - IL_0482: blt IL_04bd + } // end .try 0 + finally { // 0 + IL_01de: ldloc.s 7 + IL_01e0: isinst [mscorlib]System.IDisposable + IL_01e5: dup + IL_01e6: stloc.s 8 + IL_01e8: brfalse IL_01f4 - IL_0487: nop - IL_0488: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_048d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0492: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0497: ldstr "Stacktrace:" - IL_049c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_04a1: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_04a6: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_04ab: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_04b0: ldloc.s 23 - IL_04b2: callvirt instance string object::ToString() - IL_04b7: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_04bc: nop - IL_04bd: call void class [mscorlib]System.Console::WriteLine() - IL_04c2: ldstr "Try 'nant -help' for more information" - IL_04c7: call void class [mscorlib]System.Console::WriteLine(string) - IL_04cc: ldc.i4.1 - IL_04cd: stloc.s 5 - IL_04cf: leave IL_0638 + IL_01ed: ldloc.s 8 + IL_01ef: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01f4: endfinally + } // end handler 0 + IL_01f5: ldloc.s 5 + IL_01f7: ldc.i4.0 + IL_01f8: ldloc.s 5 + IL_01fa: callvirt instance int32 string::get_Length() + IL_01ff: ldc.i4.2 + IL_0200: sub + IL_0201: callvirt instance string string::Substring(int32, int32) + IL_0206: ldstr "." + IL_020b: call string string::Concat(string, string) + IL_0210: stloc.s 5 + IL_0212: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0217: ldloc.s 5 + IL_0219: ldarg.2 + IL_021a: ldarg.0 + IL_021b: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0220: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0225: ldloc.s 4 + IL_0227: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_022c: throw + } // end handler 1 + IL_022d: nop + IL_022e: ldarg.1 + IL_022f: ldstr "Parse" + IL_0234: ldc.i4.s 0x18 + IL_0236: ldnull + IL_0237: ldc.i4.1 + IL_0238: ldc.i4.1 + IL_0239: newarr [mscorlib]System.Type + IL_023e: dup + IL_023f: ldc.i4.0 + IL_0240: ldtoken [mscorlib]System.String + IL_0245: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_024a: stelem.ref + IL_024b: ldnull + IL_024c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, valuetype [mscorlib]System.Reflection.CallingConventions, class [mscorlib]System.Type[], valuetype [mscorlib]System.Reflection.ParameterModifier[]) + IL_0251: stloc.s 9 + IL_0253: ldloc.s 9 + IL_0255: ldnull + IL_0256: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_025b: brfalse IL_0280 - } // end handler 4 - catch class [mscorlib]System.ApplicationException { // 5 - IL_04d4: stloc.s 24 - IL_04d6: nop - IL_04d7: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_04dc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_04e1: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_04e6: ldstr "BUILD FAILED" - IL_04eb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_04f0: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_04f5: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_04fa: ldloc.s 24 - IL_04fc: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) - IL_0501: ldc.i4 1000 - IL_0506: ldloc.2 - IL_0507: blt IL_0547 + IL_0260: nop + IL_0261: ldloc.s 9 + IL_0263: ldnull + IL_0264: ldc.i4.0 + IL_0265: ldnull + IL_0266: ldc.i4.1 + IL_0267: newarr [mscorlib]System.Object + IL_026c: dup + IL_026d: ldc.i4.0 + IL_026e: ldarg.2 + IL_026f: stelem.ref + IL_0270: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0275: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_027a: stloc.0 + IL_027b: leave IL_0328 - IL_050c: nop - IL_050d: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0512: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0517: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_051c: ldstr "Stacktrace:" - IL_0521: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0526: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_052b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0530: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0535: ldloc.s 24 - IL_0537: callvirt instance string object::ToString() - IL_053c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0541: nop - IL_0542: br IL_055d + IL_0280: ldarg.1 + IL_0281: callvirt instance bool class [mscorlib]System.Type::get_IsClass() + IL_0286: brfalse IL_02d4 - IL_0547: nop - IL_0548: ldsfld string [mscorlib]System.String::Empty - IL_054d: call void class [mscorlib]System.Console::WriteLine(string) - IL_0552: ldstr "For more information regarding the cause of the build failure, run the build again in debug mode." - IL_0557: call void class [mscorlib]System.Console::WriteLine(string) - IL_055c: nop - IL_055d: call void class [mscorlib]System.Console::WriteLine() - IL_0562: ldstr "Try 'nant -help' for more information" - IL_0567: call void class [mscorlib]System.Console::WriteLine(string) - IL_056c: ldc.i4.1 - IL_056d: stloc.s 5 - IL_056f: leave IL_0638 + IL_028b: nop + IL_028c: ldarg.1 + IL_028d: ldc.i4.1 + IL_028e: newarr [mscorlib]System.Type + IL_0293: dup + IL_0294: ldc.i4.0 + IL_0295: ldtoken [mscorlib]System.String + IL_029a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_029f: stelem.ref + IL_02a0: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) + IL_02a5: stloc.s 10 + IL_02a7: ldloc.s 10 + IL_02a9: ldnull + IL_02aa: call bool class [mscorlib]System.Reflection.ConstructorInfo::op_Inequality(class [mscorlib]System.Reflection.ConstructorInfo, class [mscorlib]System.Reflection.ConstructorInfo) + IL_02af: brfalse IL_02d3 - } // end handler 5 - catch class [mscorlib]System.Exception { // 6 - IL_0574: stloc.s 25 - IL_0576: nop - IL_0577: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_057c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_0581: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0586: ldstr "INTERNAL ERROR" - IL_058b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0590: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0595: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_059a: ldloc.s 25 - IL_059c: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) - IL_05a1: ldc.i4 2000 - IL_05a6: ldloc.2 - IL_05a7: blt IL_05e7 + IL_02b4: nop + IL_02b5: ldloc.s 10 + IL_02b7: ldc.i4.0 + IL_02b8: ldnull + IL_02b9: ldc.i4.1 + IL_02ba: newarr [mscorlib]System.Object + IL_02bf: dup + IL_02c0: ldc.i4.0 + IL_02c1: ldarg.2 + IL_02c2: stelem.ref + IL_02c3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02c8: callvirt instance object class [mscorlib]System.Reflection.ConstructorInfo::Invoke(valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_02cd: stloc.0 + IL_02ce: leave IL_0328 - IL_05ac: nop - IL_05ad: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_05b2: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_05b7: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_05bc: ldstr "Stacktrace:" - IL_05c1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_05c6: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_05cb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_05d0: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_05d5: ldloc.s 25 - IL_05d7: callvirt instance string object::ToString() - IL_05dc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_05e1: nop - IL_05e2: br IL_05f8 + IL_02d3: nop + IL_02d4: nop + IL_02d5: nop + IL_02d6: nop + IL_02d7: leave IL_0306 - IL_05e7: nop - IL_05e8: call void class [mscorlib]System.Console::WriteLine() - IL_05ed: ldstr "For more information regarding the cause of the build failure, run the build again in verbose mode." - IL_05f2: call void class [mscorlib]System.Console::WriteLine(string) - IL_05f7: nop - IL_05f8: call void class [mscorlib]System.Console::WriteLine() - IL_05fd: ldstr "Please send a bug report (including the version of NAnt you're using) to nant-developers@lists.sourceforge.net" - IL_0602: call void class [mscorlib]System.Console::WriteLine(string) - IL_0607: ldc.i4.2 - IL_0608: stloc.s 5 - IL_060a: leave IL_0638 + } // end .try 2 + catch class NAnt.Core.Util.CommandLineArgumentException { // 2 + IL_02dc: pop + IL_02dd: nop + IL_02de: rethrow + } // end handler 2 + catch class [mscorlib]System.Exception { // 3 + IL_02e0: stloc.s 11 + IL_02e2: nop + IL_02e3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02e8: ldstr "NA1170" + IL_02ed: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02f2: ldarg.2 + IL_02f3: ldarg.0 + IL_02f4: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_02f9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02fe: ldloc.s 11 + IL_0300: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0305: throw + } // end handler 3 + IL_0306: nop + IL_0307: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_030c: ldstr "NA1170" + IL_0311: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0316: ldarg.2 + IL_0317: ldarg.0 + IL_0318: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_031d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0322: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0327: throw + IL_0328: ldloc.0 + IL_0329: ret + } // end of method CommandLineArgument::ParseValue - } // end handler 6 - } // end .try 7 - finally { // 7 - IL_060f: nop - IL_0610: ldloc.1 - IL_0611: brfalse IL_061e + // method line 1584 + .method private static hidebysig + default valuetype NAnt.Core.Util.CommandLineArgumentTypes GetArgumentType (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x1c8ec + // Code size 54 (0x36) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.Util.CommandLineArgumentTypes V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brfalse IL_0014 - IL_0616: nop - IL_0617: ldloc.1 - IL_0618: callvirt instance void class NAnt.Core.Project::DetachBuildListeners() - IL_061d: nop - IL_061e: ldloc.3 - IL_061f: callvirt instance void class NAnt.Core.Util.AssemblyResolver::Detach() - IL_0624: ldloc.s 4 - IL_0626: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Pause() - IL_062b: brfalse IL_0636 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: callvirt instance valuetype NAnt.Core.Util.CommandLineArgumentTypes class NAnt.Core.Util.CommandLineArgumentAttribute::get_Type() + IL_000e: stloc.0 + IL_000f: br IL_0034 - IL_0630: call valuetype [mscorlib]System.ConsoleKeyInfo class [mscorlib]System.Console::ReadKey() - IL_0635: pop - IL_0636: nop - IL_0637: endfinally - } // end handler 7 - IL_0638: ldloc.s 5 - IL_063a: ret - } // end of method ConsoleDriver::Main + IL_0014: ldarg.1 + IL_0015: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_001a: call bool class NAnt.Core.Util.CommandLineArgument::IsCollectionType(class [mscorlib]System.Type) + IL_001f: brfalse IL_002c - // method line 1648 - .method public static hidebysig - default void ShowProjectHelp (class [System.Xml]System.Xml.XmlDocument buildDoc) cil managed - { - // Method begins at RVA 0x1d8a4 - // Code size 150 (0x96) - .maxstack 4 - .locals init ( - class [mscorlib]System.IO.Stream V_0, - class [System.Xml]System.Xml.XmlTextReader V_1, - class [System.Xml]System.Xml.XmlDocument V_2, - class [System.Xml]System.Xml.Xsl.XslCompiledTransform V_3, - class [mscorlib]System.Text.StringBuilder V_4, - class [mscorlib]System.IO.StringWriter V_5, - class [System.Xml]System.Xml.Xsl.XsltArgumentList V_6) - IL_0000: nop - IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0006: ldstr "NAnt.Core.Resources.ProjectHelp.xslt" - IL_000b: callvirt instance class [mscorlib]System.IO.Stream class [mscorlib]System.Reflection.Assembly::GetManifestResourceStream(string) - IL_0010: stloc.0 - IL_0011: ldloc.0 - IL_0012: brtrue IL_0023 + IL_0024: nop + IL_0025: ldc.i4.6 + IL_0026: stloc.0 + IL_0027: br IL_0034 - IL_0017: nop - IL_0018: ldstr "Missing 'ProjectHelp.xslt' Resource Stream" - IL_001d: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0022: throw - IL_0023: ldloc.0 - IL_0024: ldc.i4.s 0x09 - IL_0026: ldnull - IL_0027: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.Stream, valuetype [System.Xml]System.Xml.XmlNodeType, class [System.Xml]System.Xml.XmlParserContext) - IL_002c: stloc.1 - IL_002d: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0032: stloc.2 - IL_0033: ldloc.2 - IL_0034: ldloc.1 - IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [System.Xml]System.Xml.XmlReader) - IL_003a: ldloc.2 - IL_003b: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0040: ldstr "xmlns:nant" - IL_0045: ldarg.0 - IL_0046: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_004b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_0050: callvirt instance void class [System.Xml]System.Xml.XmlElement::SetAttribute(string, string) - IL_0055: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_005a: stloc.3 - IL_005b: ldloc.3 - IL_005c: ldloc.2 - IL_005d: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Load(class [System.Xml]System.Xml.XPath.IXPathNavigable) - IL_0062: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0067: stloc.s 4 - IL_0069: ldloc.s 4 - IL_006b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0070: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'(class [mscorlib]System.Text.StringBuilder, class [mscorlib]System.IFormatProvider) - IL_0075: stloc.s 5 - IL_0077: newobj instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::'.ctor'() - IL_007c: stloc.s 6 - IL_007e: ldloc.3 - IL_007f: ldarg.0 - IL_0080: ldloc.s 6 - IL_0082: ldloc.s 5 - IL_0084: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Transform(class [System.Xml]System.Xml.XPath.IXPathNavigable, class [System.Xml]System.Xml.Xsl.XsltArgumentList, class [mscorlib]System.IO.TextWriter) - IL_0089: ldloc.s 4 - IL_008b: callvirt instance string object::ToString() - IL_0090: call void class [mscorlib]System.Console::WriteLine(string) - IL_0095: ret - } // end of method ConsoleDriver::ShowProjectHelp + IL_002c: nop + IL_002d: ldc.i4.0 + IL_002e: stloc.0 + IL_002f: br IL_0034 - // method line 1649 - .method public static hidebysig - default string GetBuildFileName (string directory, string searchPattern, bool findInParent) cil managed + IL_0034: ldloc.0 + IL_0035: ret + } // end of method CommandLineArgument::GetArgumentType + + // method line 1585 + .method private static hidebysig + default class [mscorlib]System.Type GetElementType (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed { - // Method begins at RVA 0x1d948 - // Code size 296 (0x128) - .maxstack 4 + // Method begins at RVA 0x1c930 + // Code size 322 (0x142) + .maxstack 3 .locals init ( - string V_0, - class [mscorlib]System.IO.DirectoryInfo V_1, - class [mscorlib]System.IO.FileInfo[] V_2, - string V_3, - class [mscorlib]System.IO.DirectoryInfo V_4) + class [mscorlib]System.Type V_0, + class [mscorlib]System.Reflection.MethodInfo V_1, + class [mscorlib]System.Reflection.MethodInfo[] V_2, + int32 V_3, + class [mscorlib]System.Reflection.ParameterInfo V_4, + class [mscorlib]System.Type V_5) IL_0000: nop IL_0001: ldnull IL_0002: stloc.0 - IL_0003: ldarg.1 - IL_0004: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_0009: brfalse IL_0017 - - IL_000e: nop - IL_000f: ldarg.1 - IL_0010: stloc.0 - IL_0011: nop - IL_0012: br IL_011f - - IL_0017: nop - IL_0018: ldarg.1 - IL_0019: brtrue IL_0027 - - IL_001e: nop - IL_001f: ldstr "*.build" - IL_0024: starg.s 1 - IL_0026: nop - IL_0027: ldarg.0 - IL_0028: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_002d: stloc.1 - IL_002e: ldloc.1 - IL_002f: ldstr "default.build" - IL_0034: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles(string) - IL_0039: stloc.2 - IL_003a: ldloc.2 - IL_003b: ldlen - IL_003c: conv.i4 - IL_003d: ldc.i4.1 - IL_003e: bne.un IL_0054 + IL_0003: ldarg.0 + IL_0004: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0009: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_000e: brfalse IL_0057 - IL_0043: nop - IL_0044: ldloc.2 - IL_0045: ldc.i4.0 - IL_0046: ldelem.ref - IL_0047: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004c: stloc.0 - IL_004d: ldloc.0 - IL_004e: stloc.3 - IL_004f: br IL_0126 + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_001a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_001f: stloc.0 + IL_0020: ldloc.0 + IL_0021: ldtoken [mscorlib]System.Object + IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0030: brfalse IL_0051 - IL_0054: ldloc.1 - IL_0055: ldarg.1 - IL_0056: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles(string) - IL_005b: stloc.2 - IL_005c: ldloc.2 - IL_005d: ldlen - IL_005e: conv.i4 - IL_005f: ldc.i4.1 - IL_0060: bne.un IL_0075 + IL_0035: nop + IL_0036: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003b: ldstr "Property {0} is not a strong-typed array." + IL_0040: ldarg.0 + IL_0041: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0046: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004b: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_0050: throw + IL_0051: nop + IL_0052: br IL_0137 - IL_0065: nop - IL_0066: ldloc.2 - IL_0067: ldc.i4.0 - IL_0068: ldelem.ref - IL_0069: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_006e: stloc.0 - IL_006f: nop - IL_0070: br IL_011e + IL_0057: ldtoken [mscorlib]System.Collections.ICollection + IL_005c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0061: ldarg.0 + IL_0062: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0067: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_006c: brfalse IL_0137 - IL_0075: ldloc.2 - IL_0076: ldlen - IL_0077: conv.i4 - IL_0078: ldc.i4.1 - IL_0079: ble IL_00a5 + IL_0071: nop + IL_0072: nop + IL_0073: ldarg.0 + IL_0074: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0079: ldc.i4.s 0x14 + IL_007b: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0080: stloc.2 + IL_0081: ldc.i4.0 + IL_0082: stloc.3 + IL_0083: br IL_0105 - IL_007e: nop - IL_007f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0084: ldstr "NA1001" - IL_0089: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_008e: ldstr " Use -buildfile: to specify the build file to execute or create a default.build file." - IL_0093: call string string::Concat(string, string) - IL_0098: ldarg.1 - IL_0099: ldarg.0 - IL_009a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_009f: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_00a4: throw - IL_00a5: ldloc.2 - IL_00a6: ldlen - IL_00a7: conv.i4 - IL_00a8: brtrue IL_0101 + IL_0088: ldloc.2 + IL_0089: ldloc.3 + IL_008a: ldelem.ref + IL_008b: stloc.1 + IL_008c: nop + IL_008d: ldloc.1 + IL_008e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0093: ldstr "Add" + IL_0098: call bool string::op_Equality(string, string) + IL_009d: brfalse IL_0100 - IL_00ad: ldarg.2 - IL_00ae: brfalse IL_0101 + IL_00a2: ldloc.1 + IL_00a3: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_00a8: ldlen + IL_00a9: conv.i4 + IL_00aa: ldc.i4.1 + IL_00ab: bne.un IL_0100 - IL_00b3: nop - IL_00b4: ldloc.1 - IL_00b5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.DirectoryInfo::get_Parent() - IL_00ba: stloc.s 4 - IL_00bc: ldarg.2 - IL_00bd: brfalse IL_00df + IL_00b0: nop + IL_00b1: ldloc.1 + IL_00b2: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_00b7: ldc.i4.0 + IL_00b8: ldelem.ref + IL_00b9: stloc.s 4 + IL_00bb: ldloc.s 4 + IL_00bd: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_00c2: ldtoken [mscorlib]System.Object + IL_00c7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00cc: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00d1: brfalse IL_00f2 - IL_00c2: ldloc.s 4 - IL_00c4: brfalse IL_00df + IL_00d6: nop + IL_00d7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00dc: ldstr "Property {0} is not a strong-typed collection." + IL_00e1: ldarg.0 + IL_00e2: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_00e7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00ec: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_00f1: throw + IL_00f2: nop + IL_00f3: ldloc.s 4 + IL_00f5: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_00fa: stloc.0 + IL_00fb: br IL_010e - IL_00c9: nop - IL_00ca: ldloc.s 4 - IL_00cc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00d1: ldarg.1 - IL_00d2: ldarg.2 - IL_00d3: call string class NAnt.Core.ConsoleDriver::GetBuildFileName(string, string, bool) - IL_00d8: stloc.0 - IL_00d9: nop - IL_00da: br IL_00fb + IL_0100: nop + IL_0101: ldloc.3 + IL_0102: ldc.i4.1 + IL_0103: add + IL_0104: stloc.3 + IL_0105: ldloc.3 + IL_0106: ldloc.2 + IL_0107: ldlen + IL_0108: conv.i4 + IL_0109: blt IL_0088 - IL_00df: nop - IL_00e0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00e5: ldstr "NA1007" - IL_00ea: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ef: ldarg.1 - IL_00f0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00f5: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_00fa: throw - IL_00fb: nop - IL_00fc: br IL_011e + IL_010e: ldloc.0 + IL_010f: ldnull + IL_0110: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0115: brfalse IL_0136 - IL_0101: nop - IL_0102: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0107: ldstr "NA1004" - IL_010c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0111: ldarg.1 - IL_0112: ldarg.0 - IL_0113: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0118: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_011d: throw - IL_011e: nop - IL_011f: ldloc.0 - IL_0120: stloc.3 - IL_0121: br IL_0126 + IL_011a: nop + IL_011b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0120: ldstr "Invalid commandline argument type for property {0}." + IL_0125: ldarg.0 + IL_0126: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_012b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0130: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_0135: throw + IL_0136: nop + IL_0137: ldloc.0 + IL_0138: stloc.s 5 + IL_013a: br IL_013f - IL_0126: ldloc.3 - IL_0127: ret - } // end of method ConsoleDriver::GetBuildFileName + IL_013f: ldloc.s 5 + IL_0141: ret + } // end of method CommandLineArgument::GetElementType - // method line 1650 + // method line 1586 .method private static hidebysig - default void LoadExtensionAssemblies (class [System]System.Collections.Specialized.StringCollection extensionAssemblies, class NAnt.Core.Project project) cil managed + default bool IsNameValueCollectionType (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x1da7c - // Code size 153 (0x99) - .maxstack 3 + // Method begins at RVA 0x1ca80 + // Code size 25 (0x19) + .maxstack 2 .locals init ( - class NAnt.Core.Tasks.LoadTasksTask V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_000e: ldloc.0 - IL_000f: ldarg.1 - IL_0010: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_0015: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_001a: ldloc.0 - IL_001b: ldarg.1 - IL_001c: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0021: ldloc.0 - IL_0022: ldarg.1 - IL_0023: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_0028: ldc.i4 1000 - IL_002d: bne.un IL_003c - - IL_0032: ldc.i4 1000 - IL_0037: br IL_0041 + IL_0001: ldtoken [System]System.Collections.Specialized.NameValueCollection + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.0 + IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_003c: ldc.i4 4000 - IL_0041: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) - IL_0046: nop - IL_0047: ldarg.0 - IL_0048: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_004d: stloc.2 - .try { // 0 - IL_004e: br IL_006e + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CommandLineArgument::IsNameValueCollectionType - IL_0053: ldloc.2 - IL_0054: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0059: stloc.1 - IL_005a: nop - IL_005b: ldloc.0 - IL_005c: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() - IL_0061: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() - IL_0066: ldloc.1 - IL_0067: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_006c: pop - IL_006d: nop - IL_006e: ldloc.2 - IL_006f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0074: brtrue IL_0053 + // method line 1587 + .method private static hidebysig + default bool IsCollectionType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x1caa8 + // Code size 42 (0x2a) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldtoken [mscorlib]System.Collections.ICollection + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.0 + IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0011: brfalse IL_0021 - IL_0079: leave IL_0092 + IL_0016: ldarg.0 + IL_0017: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) + IL_001c: ldc.i4.0 + IL_001d: ceq + IL_001f: br.s IL_0022 - } // end .try 0 - finally { // 0 - IL_007e: ldloc.2 - IL_007f: isinst [mscorlib]System.IDisposable - IL_0084: dup - IL_0085: stloc.3 - IL_0086: brfalse IL_0091 + IL_0021: ldc.i4.0 + IL_0022: stloc.0 + IL_0023: br IL_0028 - IL_008b: ldloc.3 - IL_008c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0091: endfinally - } // end handler 0 - IL_0092: ldloc.0 - IL_0093: callvirt instance void class NAnt.Core.Task::Execute() - IL_0098: ret - } // end of method ConsoleDriver::LoadExtensionAssemblies + IL_0028: ldloc.0 + IL_0029: ret + } // end of method CommandLineArgument::IsCollectionType - // method line 1651 - .method public static hidebysig - default class NAnt.Core.IBuildLogger CreateLogger (string typeName) cil managed + // method line 1588 + .method private static hidebysig + default bool IsArrayType (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x1db34 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 144 (0x90) - .maxstack 4 + // Method begins at RVA 0x1cae0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0, - object V_1, - class NAnt.Core.IBuildLogger V_2) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: call class [mscorlib]System.Type class NAnt.Core.Util.ReflectionUtils::GetTypeFromString(string, bool) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: ldnull - IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0010: brfalse IL_0031 - - IL_0015: nop - IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001b: ldstr "NA1006" - IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0025: ldarg.0 - IL_0026: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002b: newobj instance void class [mscorlib]System.TypeLoadException::'.ctor'(string) - IL_0030: throw - IL_0031: ldloc.0 - IL_0032: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) - IL_0037: stloc.1 - IL_0038: ldtoken NAnt.Core.IBuildLogger - IL_003d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0042: ldloc.1 - IL_0043: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0048: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_004d: brtrue IL_0082 - - IL_0052: nop - IL_0053: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0058: ldstr "{0} does not implement {1}." - IL_005d: ldloc.1 - IL_005e: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0063: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0068: ldtoken NAnt.Core.IBuildLogger - IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0072: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_007c: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0081: throw - IL_0082: ldloc.1 - IL_0083: castclass NAnt.Core.IBuildLogger - IL_0088: stloc.2 - IL_0089: br IL_008e + IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_008e: ldloc.2 - IL_008f: ret - } // end of method ConsoleDriver::CreateLogger + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgument::IsArrayType - // method line 1652 - .method public static hidebysig - default class NAnt.Core.IBuildListener CreateListener (string typeName) cil managed - { - // Method begins at RVA 0x1dbd0 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 144 (0x90) - .maxstack 4 - .locals init ( - class [mscorlib]System.Type V_0, - object V_1, - class NAnt.Core.IBuildListener V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: call class [mscorlib]System.Type class NAnt.Core.Util.ReflectionUtils::GetTypeFromString(string, bool) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: ldnull - IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0010: brfalse IL_0031 + .property instance class [mscorlib]System.Reflection.PropertyInfo Property () + { + .get instance default class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::get_Property () + } + .property instance class [mscorlib]System.Type ValueType () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::get_ValueType () + } + .property instance string LongName () + { + .get instance default string NAnt.Core.Util.CommandLineArgument::get_LongName () + } + .property instance string ShortName () + { + .get instance default string NAnt.Core.Util.CommandLineArgument::get_ShortName () + } + .property instance string Description () + { + .get instance default string NAnt.Core.Util.CommandLineArgument::get_Description () + } + .property instance bool IsRequired () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsRequired () + } + .property instance bool SeenValue () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_SeenValue () + } + .property instance bool AllowMultiple () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_AllowMultiple () + } + .property instance bool Unique () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_Unique () + } + .property instance class [mscorlib]System.Type Type () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::get_Type () + } + .property instance bool IsCollection () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsCollection () + } + .property instance bool IsNameValueCollection () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection () + } + .property instance bool IsArray () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsArray () + } + .property instance bool IsDefault () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsDefault () + } + .property instance bool IsExclusive () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsExclusive () + } + } // end of class NAnt.Core.Util.CommandLineArgument +} - IL_0015: nop - IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001b: ldstr "NA1006" - IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0025: ldarg.0 - IL_0026: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002b: newobj instance void class [mscorlib]System.TypeLoadException::'.ctor'(string) - IL_0030: throw - IL_0031: ldloc.0 - IL_0032: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) - IL_0037: stloc.1 - IL_0038: ldtoken NAnt.Core.IBuildListener - IL_003d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0042: ldloc.1 - IL_0043: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0048: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_004d: brtrue IL_0082 +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit StopWatchStack + extends [mscorlib]System.Object + { + .field private initonly class NAnt.Core.Util.DateTimeProvider _dtProvider + .field private initonly class [mscorlib]System.Collections.Stack _stack - IL_0052: nop - IL_0053: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0058: ldstr "{0} does not implement {1}." - IL_005d: ldloc.1 - IL_005e: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0063: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0068: ldtoken NAnt.Core.IBuildListener - IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0072: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_007c: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0081: throw - IL_0082: ldloc.1 - IL_0083: castclass NAnt.Core.IBuildListener - IL_0088: stloc.2 - IL_0089: br IL_008e + // method line 1589 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed + { + // Method begins at RVA 0x1cafb + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: stfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack::_dtProvider + IL_0019: ret + } // end of method StopWatchStack::.ctor - IL_008e: ldloc.2 - IL_008f: ret - } // end of method ConsoleDriver::CreateListener + // method line 1590 + .method public hidebysig + instance default void PushStart () cil managed + { + // Method begins at RVA 0x1cb16 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack + IL_0007: ldarg.0 + IL_0008: ldfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack::_dtProvider + IL_000d: newobj instance void class NAnt.Core.Util.StopWatchStack/StopWatch::'.ctor'(class NAnt.Core.Util.DateTimeProvider) + IL_0012: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_0017: ret + } // end of method StopWatchStack::PushStart - // method line 1653 - .method private static hidebysig - default void AddBuildListeners (class NAnt.Core.CommandLineOptions cmdlineOptions, class NAnt.Core.Project project) cil managed + // method line 1591 + .method public hidebysig + instance default valuetype [mscorlib]System.TimeSpan PopStop () cil managed { - // Method begins at RVA 0x1dc6c - // Code size 412 (0x19c) - .maxstack 4 + // Method begins at RVA 0x1cb30 + // Code size 30 (0x1e) + .maxstack 1 .locals init ( - class NAnt.Core.BuildListenerCollection V_0, - class NAnt.Core.IBuildLogger V_1, - class [mscorlib]System.IO.TextWriter V_2, - class [mscorlib]System.Exception V_3, - class [mscorlib]System.Exception V_4, - string V_5, - class [System]System.Collections.Specialized.StringEnumerator V_6, - class NAnt.Core.IBuildListener V_7, - class [mscorlib]System.Exception V_8, - class [mscorlib]System.IDisposable V_9) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldnull - IL_0008: stloc.1 - IL_0009: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Out() - IL_000e: stloc.2 - IL_000f: ldarg.0 - IL_0010: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() - IL_0015: brfalse IL_0069 - - IL_001a: nop - .try { // 0 - IL_001b: nop - IL_001c: ldarg.0 - IL_001d: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() - IL_0022: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0027: ldc.i4.2 - IL_0028: ldc.i4.2 - IL_0029: ldc.i4.1 - IL_002a: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) - IL_002f: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream) - IL_0034: stloc.2 - IL_0035: nop - IL_0036: leave IL_0068 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_003b: stloc.3 - IL_003c: nop - IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0042: ldstr "NA1005" - IL_0047: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004c: ldarg.0 - IL_004d: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() - IL_0052: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0057: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005c: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0061: ldloc.3 - IL_0062: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0067: throw - } // end handler 0 - IL_0068: nop - IL_0069: ldarg.0 - IL_006a: callvirt instance string class NAnt.Core.CommandLineOptions::get_LoggerType() - IL_006f: brfalse IL_00b3 - - IL_0074: nop - .try { // 1 - IL_0075: nop - IL_0076: ldarg.0 - IL_0077: callvirt instance string class NAnt.Core.CommandLineOptions::get_LoggerType() - IL_007c: call class NAnt.Core.IBuildLogger class NAnt.Core.ConsoleDriver::CreateLogger(string) - IL_0081: stloc.1 - IL_0082: nop - IL_0083: leave IL_00b2 - - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_0088: stloc.s 4 - IL_008a: nop - IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0090: ldstr "NA1003" - IL_0095: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009a: ldarg.0 - IL_009b: callvirt instance string class NAnt.Core.CommandLineOptions::get_LoggerType() - IL_00a0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00a5: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_00aa: ldloc.s 4 - IL_00ac: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00b1: throw - } // end handler 1 - IL_00b2: nop - IL_00b3: ldloc.1 - IL_00b4: brtrue IL_00c1 - - IL_00b9: nop - IL_00ba: newobj instance void class NAnt.Core.DefaultLogger::'.ctor'() - IL_00bf: stloc.1 - IL_00c0: nop - IL_00c1: ldtoken NAnt.Core.DefaultLogger - IL_00c6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00cb: ldloc.1 - IL_00cc: callvirt instance class [mscorlib]System.Type object::GetType() - IL_00d1: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_00d6: brfalse IL_00e6 - - IL_00db: ldarg.0 - IL_00dc: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() - IL_00e1: brfalse IL_00ef - - IL_00e6: nop - IL_00e7: ldloc.1 - IL_00e8: ldloc.2 - IL_00e9: callvirt instance void class NAnt.Core.IBuildLogger::set_OutputWriter(class [mscorlib]System.IO.TextWriter) - IL_00ee: nop - IL_00ef: ldloc.1 - IL_00f0: ldarg.1 - IL_00f1: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_00f6: callvirt instance void class NAnt.Core.IBuildLogger::set_Threshold(valuetype NAnt.Core.Level) - IL_00fb: ldloc.1 - IL_00fc: ldarg.0 - IL_00fd: callvirt instance bool class NAnt.Core.CommandLineOptions::get_EmacsMode() - IL_0102: callvirt instance void class NAnt.Core.IBuildLogger::set_EmacsMode(bool) - IL_0107: ldloc.0 - IL_0108: ldloc.1 - IL_0109: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) - IL_010e: pop - IL_010f: nop - IL_0110: ldarg.0 - IL_0111: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.CommandLineOptions::get_Listeners() - IL_0116: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_011b: stloc.s 6 - .try { // 3 - IL_011d: br IL_016c - - IL_0122: ldloc.s 6 - IL_0124: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0129: stloc.s 5 - IL_012b: nop - .try { // 2 - IL_012c: nop - IL_012d: ldloc.s 5 - IL_012f: call class NAnt.Core.IBuildListener class NAnt.Core.ConsoleDriver::CreateListener(string) - IL_0134: stloc.s 7 - IL_0136: ldloc.0 - IL_0137: ldloc.s 7 - IL_0139: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) - IL_013e: pop - IL_013f: nop - IL_0140: leave IL_016b - - } // end .try 2 - catch class [mscorlib]System.Exception { // 2 - IL_0145: stloc.s 8 - IL_0147: nop - IL_0148: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_014d: ldstr "NA1002" - IL_0152: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0157: ldloc.s 5 - IL_0159: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_015e: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0163: ldloc.s 8 - IL_0165: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_016a: throw - } // end handler 2 - IL_016b: nop - IL_016c: ldloc.s 6 - IL_016e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0173: brtrue IL_0122 - - IL_0178: leave IL_0194 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack + IL_0007: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_000c: castclass NAnt.Core.Util.StopWatchStack/StopWatch + IL_0011: callvirt instance valuetype [mscorlib]System.TimeSpan class NAnt.Core.Util.StopWatchStack/StopWatch::Elapsed() + IL_0016: stloc.0 + IL_0017: br IL_001c - } // end .try 3 - finally { // 3 - IL_017d: ldloc.s 6 - IL_017f: isinst [mscorlib]System.IDisposable - IL_0184: dup - IL_0185: stloc.s 9 - IL_0187: brfalse IL_0193 + IL_001c: ldloc.0 + IL_001d: ret + } // end of method StopWatchStack::PopStop - IL_018c: ldloc.s 9 - IL_018e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0193: endfinally - } // end handler 3 - IL_0194: ldarg.1 - IL_0195: ldloc.0 - IL_0196: callvirt instance void class NAnt.Core.Project::AttachBuildListeners(class NAnt.Core.BuildListenerCollection) - IL_019b: ret - } // end of method ConsoleDriver::AddBuildListeners + .class nested private auto ansi beforefieldinit StopWatch + extends [mscorlib]System.Object + { + .field private initonly class NAnt.Core.Util.DateTimeProvider _dtProvider + .field private initonly valuetype [mscorlib]System.DateTime _start - // method line 1654 - .method private static hidebysig - default void ShowHelp (class NAnt.Core.Util.CommandLineParser parser) cil managed + // method line 1592 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed { - // Method begins at RVA 0x1de48 - // Code size 68 (0x44) - .maxstack 1 - IL_0000: nop - IL_0001: ldstr "NAnt comes with ABSOLUTELY NO WARRANTY." - IL_0006: call void class [mscorlib]System.Console::WriteLine(string) - IL_000b: ldstr "This is free software, and you are welcome to redistribute it under certain" - IL_0010: call void class [mscorlib]System.Console::WriteLine(string) - IL_0015: ldstr "conditions set out by the GNU General Public License. A copy of the license" - IL_001a: call void class [mscorlib]System.Console::WriteLine(string) - IL_001f: ldstr "is available in the distribution package and from the NAnt web site." - IL_0024: call void class [mscorlib]System.Console::WriteLine(string) - IL_0029: call void class [mscorlib]System.Console::WriteLine() - IL_002e: ldarg.0 - IL_002f: callvirt instance string class NAnt.Core.Util.CommandLineParser::get_Usage() - IL_0034: call void class [mscorlib]System.Console::WriteLine(string) - IL_0039: ldstr "A file ending in .build will be used if no buildfile is specified." - IL_003e: call void class [mscorlib]System.Console::WriteLine(string) - IL_0043: ret - } // end of method ConsoleDriver::ShowHelp + // Method begins at RVA 0x1cb5a + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack/StopWatch::_dtProvider + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: callvirt instance valuetype [mscorlib]System.DateTime class NAnt.Core.Util.DateTimeProvider::get_Now() + IL_0015: stfld valuetype [mscorlib]System.DateTime NAnt.Core.Util.StopWatchStack/StopWatch::_start + IL_001a: ret + } // end of method StopWatch::.ctor - // method line 1655 - .method private static hidebysig - default void WriteException (class [mscorlib]System.Exception cause) cil managed + // method line 1593 + .method public hidebysig + instance default valuetype [mscorlib]System.TimeSpan Elapsed () cil managed { - // Method begins at RVA 0x1de98 - // Code size 113 (0x71) - .maxstack 4 + // Method begins at RVA 0x1cb78 + // Code size 31 (0x1f) + .maxstack 2 .locals init ( - int32 V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_005a - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_000f: call bool string::IsNullOrEmpty(string) - IL_0014: brtrue IL_0051 - - IL_0019: nop - IL_001a: ldloc.0 - IL_001b: ldc.i4.0 - IL_001c: ble IL_002d - - IL_0021: nop - IL_0022: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0027: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() - IL_002c: nop - IL_002d: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() - IL_0032: ldc.i4.s 0x20 - IL_0034: ldloc.0 - IL_0035: ldc.i4.4 - IL_0036: mul - IL_0037: newobj instance void string::'.ctor'(char, int32) - IL_003c: ldarg.0 - IL_003d: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0042: call string string::Concat(string, string) - IL_0047: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_004c: ldloc.0 - IL_004d: ldc.i4.1 - IL_004e: add - IL_004f: stloc.0 - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_0057: starg.s 0 - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: brfalse IL_0070 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack/StopWatch::_dtProvider + IL_0007: callvirt instance valuetype [mscorlib]System.DateTime class NAnt.Core.Util.DateTimeProvider::get_Now() + IL_000c: ldarg.0 + IL_000d: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Util.StopWatchStack/StopWatch::_start + IL_0012: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0017: stloc.0 + IL_0018: br IL_001d - IL_0060: ldarg.0 - IL_0061: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0066: call bool string::IsNullOrEmpty(string) - IL_006b: brfalse IL_0008 + IL_001d: ldloc.0 + IL_001e: ret + } // end of method StopWatch::Elapsed - IL_0070: ret - } // end of method ConsoleDriver::WriteException + } // end of class StopWatch - } // end of class NAnt.Core.ConsoleDriver + } // end of class NAnt.Core.Util.StopWatchStack } .namespace NAnt.Core { - .class public auto ansi sealed beforefieldinit TypeFactory + .class public auto ansi abstract beforefieldinit ExpressionEvalBase extends [mscorlib]System.Object { - .field private static initonly class [log4net]log4net.ILog logger - .field private static class NAnt.Core.TaskBuilderCollection _taskBuilders - .field private static class NAnt.Core.DataTypeBaseBuilderCollection _dataTypeBuilders - .field private static class NAnt.Core.Filters.FilterBuilderCollection _filterBuilders - .field private static class [mscorlib]System.Collections.Hashtable _methodInfoCollection - .field private static class NAnt.Core.Extensibility.PluginScanner _pluginScanner + .field private valuetype NAnt.Core.ExpressionEvalBase/EvalMode _evalMode + .field private class NAnt.Core.ExpressionTokenizer _tokenizer + .field private initonly class NAnt.Core.Project _project - // method line 1656 + // method line 1594 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x1df15 - // Code size 7 (0x7) + // Method begins at RVA 0x1cba3 + // Code size 39 (0x27) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method TypeFactory::.ctor - - // method line 1657 - .method public static hidebysig specialname - default class NAnt.Core.TaskBuilderCollection get_TaskBuilders () cil managed - { - // Method begins at RVA 0x1df20 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class NAnt.Core.TaskBuilderCollection V_0) - IL_0000: nop - IL_0001: ldsfld class NAnt.Core.TaskBuilderCollection NAnt.Core.TypeFactory::_taskBuilders - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_0007: ldarg.0 + IL_0008: call instance void object::'.ctor'() + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: brtrue IL_001f - IL_000c: ldloc.0 - IL_000d: ret - } // end of method TypeFactory::get_TaskBuilders + IL_0014: ldstr "project" + IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001e: throw + IL_001f: ldarg.0 + IL_0020: ldarg.1 + IL_0021: stfld class NAnt.Core.Project NAnt.Core.ExpressionEvalBase::_project + IL_0026: ret + } // end of method ExpressionEvalBase::.ctor - // method line 1658 - .method public static hidebysig specialname - default class NAnt.Core.DataTypeBaseBuilderCollection get_DataTypeBuilders () cil managed + // method line 1595 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed { - // Method begins at RVA 0x1df3c - // Code size 14 (0xe) + // Method begins at RVA 0x1cbcc + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.DataTypeBaseBuilderCollection V_0) + class NAnt.Core.Project V_0) IL_0000: nop - IL_0001: ldsfld class NAnt.Core.DataTypeBaseBuilderCollection NAnt.Core.TypeFactory::_dataTypeBuilders - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Project NAnt.Core.ExpressionEvalBase::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method TypeFactory::get_DataTypeBuilders + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExpressionEvalBase::get_Project - // method line 1659 - .method public static hidebysig specialname - default class NAnt.Core.Filters.FilterBuilderCollection get_FilterBuilders () cil managed + // method line 1596 + .method public hidebysig + instance default object Evaluate (class NAnt.Core.ExpressionTokenizer tokenizer) cil managed { - // Method begins at RVA 0x1df58 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x1cbe8 + // Code size 29 (0x1d) + .maxstack 2 .locals init ( - class NAnt.Core.Filters.FilterBuilderCollection V_0) + object V_0) IL_0000: nop - IL_0001: ldsfld class NAnt.Core.Filters.FilterBuilderCollection NAnt.Core.TypeFactory::_filterBuilders - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: stfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_000f: ldarg.0 + IL_0010: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_0015: stloc.0 + IL_0016: br IL_001b - IL_000c: ldloc.0 - IL_000d: ret - } // end of method TypeFactory::get_FilterBuilders + IL_001b: ldloc.0 + IL_001c: ret + } // end of method ExpressionEvalBase::Evaluate - // method line 1660 - .method assembly static hidebysig specialname - default class NAnt.Core.Extensibility.PluginScanner get_PluginScanner () cil managed + // method line 1597 + .method public hidebysig + instance default object Evaluate (string s) cil managed { - // Method begins at RVA 0x1df74 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x1cc14 + // Code size 88 (0x58) + .maxstack 3 .locals init ( - class NAnt.Core.Extensibility.PluginScanner V_0) + object V_0, + object V_1) IL_0000: nop - IL_0001: ldsfld class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::_pluginScanner - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.ExpressionTokenizer::'.ctor'() + IL_0007: stfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_000c: ldarg.0 + IL_000d: ldc.i4.0 + IL_000e: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0019: ldarg.1 + IL_001a: callvirt instance void class NAnt.Core.ExpressionTokenizer::InitTokenizer(string) + IL_001f: ldarg.0 + IL_0020: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_0025: stloc.0 + IL_0026: ldarg.0 + IL_0027: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_002c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0031: ldc.i4.1 + IL_0032: beq IL_004f - IL_000c: ldloc.0 - IL_000d: ret - } // end of method TypeFactory::get_PluginScanner + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldstr "Unexpected token at the end of expression" + IL_003e: ldarg.0 + IL_003f: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0044: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0049: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_004e: throw + IL_004f: ldloc.0 + IL_0050: stloc.1 + IL_0051: br IL_0056 - // method line 1661 - .method public static hidebysig - default bool ScanAssembly (string assemblyFile, class NAnt.Core.Task task) cil managed + IL_0056: ldloc.1 + IL_0057: ret + } // end of method ExpressionEvalBase::Evaluate + + // method line 1598 + .method public hidebysig + instance default void CheckSyntax (string s) cil managed { - // Method begins at RVA 0x1df90 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 23 (0x17) + // Method begins at RVA 0x1cc78 + // Code size 80 (0x50) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.ExpressionTokenizer::'.ctor'() + IL_0007: stfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_000c: ldarg.0 + IL_000d: ldc.i4.1 + IL_000e: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0019: ldarg.1 + IL_001a: callvirt instance void class NAnt.Core.ExpressionTokenizer::InitTokenizer(string) + IL_001f: ldarg.0 + IL_0020: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_0025: pop + IL_0026: ldarg.0 + IL_0027: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_002c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0031: ldc.i4.1 + IL_0032: beq IL_004f + + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldstr "Unexpected token at the end of expression" + IL_003e: ldarg.0 + IL_003f: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0044: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0049: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_004e: throw + IL_004f: ret + } // end of method ExpressionEvalBase::CheckSyntax + + // method line 1599 + .method private hidebysig + instance default bool SyntaxCheckOnly () cil managed + { + // Method begins at RVA 0x1ccd4 + // Code size 18 (0x12) .maxstack 2 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - bool V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_0002: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_0007: ldc.i4.1 + IL_0008: ceq + IL_000a: stloc.0 + IL_000b: br IL_0010 + + IL_0010: ldloc.0 + IL_0011: ret + } // end of method ExpressionEvalBase::SyntaxCheckOnly + + // method line 1600 + .method private hidebysig + instance default object ParseExpression () cil managed + { + // Method begins at RVA 0x1ccf4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance object class NAnt.Core.ExpressionEvalBase::ParseBooleanOr() IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldarg.1 - IL_000a: call bool class NAnt.Core.TypeFactory::ScanAssembly(class [mscorlib]System.Reflection.Assembly, class NAnt.Core.Task) - IL_000f: stloc.1 - IL_0010: br IL_0015 + IL_0008: br IL_000d - IL_0015: ldloc.1 - IL_0016: ret - } // end of method TypeFactory::ScanAssembly + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExpressionEvalBase::ParseExpression - // method line 1662 - .method public static hidebysig - default bool ScanAssembly (class [mscorlib]System.Reflection.Assembly 'assembly', class NAnt.Core.Task task) cil managed + // method line 1601 + .method private hidebysig + instance default object ParseBooleanOr () cil managed { - // Method begins at RVA 0x1dfb4 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 563 (0x233) - .maxstack 7 + // Method begins at RVA 0x1cd10 + // Code size 256 (0x100) + .maxstack 6 .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Type[] V_1, - int32 V_2, - class [mscorlib]System.Reflection.MethodInfo V_3, - class [mscorlib]System.Reflection.MethodInfo[] V_4, - int32 V_5, - bool V_6, - class NAnt.Core.Extensibility.ExtensionAssembly V_7, - class [mscorlib]System.Type[] V_8, - class [mscorlib]System.Reflection.ReflectionTypeLoadException V_9, - class [mscorlib]System.Type V_10, - class [mscorlib]System.Type[] V_11, - int32 V_12, - bool V_13, - class [mscorlib]System.Reflection.AssemblyName V_14, - class [mscorlib]System.Reflection.AssemblyName V_15, - class [mscorlib]System.Reflection.AssemblyName[] V_16, - int32 V_17, - bool V_18) + valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + object V_1, + valuetype NAnt.Core.ExpressionEvalBase/EvalMode V_2, + bool V_3, + valuetype NAnt.Core.ExpressionTokenizer/Position V_4, + object V_5, + valuetype NAnt.Core.ExpressionTokenizer/Position V_6, + bool V_7, + object V_8) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Scanning assembly \"{0}\" for extensions." - IL_000c: ldc.i4.1 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseBooleanAnd() + IL_0013: stloc.1 IL_0014: ldarg.0 - IL_0015: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_001a: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_001f: stelem.ref - IL_0020: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0025: nop - IL_0026: ldarg.0 - IL_0027: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Reflection.Assembly::GetExportedTypes() - IL_002c: stloc.1 - IL_002d: ldc.i4.0 - IL_002e: stloc.2 - IL_002f: br IL_0094 + IL_0015: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_001a: stloc.2 + .try { // 0 + IL_001b: nop + IL_001c: br IL_00d6 - IL_0034: ldloc.1 - IL_0035: ldloc.2 - IL_0036: ldelem.ref - IL_0037: stloc.0 - IL_0038: nop - IL_0039: nop - IL_003a: ldloc.0 - IL_003b: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods() - IL_0040: stloc.s 4 - IL_0042: ldc.i4.0 - IL_0043: stloc.s 5 - IL_0045: br IL_0084 + IL_0021: nop + IL_0022: ldc.i4.1 + IL_0023: stloc.3 + IL_0024: ldarg.0 + IL_0025: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_002a: brtrue IL_0068 - IL_004a: ldloc.s 4 - IL_004c: ldloc.s 5 - IL_004e: ldelem.ref - IL_004f: stloc.3 - IL_0050: nop - IL_0051: ldloc.3 - IL_0052: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsStatic() - IL_0057: brfalse IL_007d + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldtoken [mscorlib]System.Boolean + IL_0036: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003b: ldloc.1 + IL_003c: ldstr "the left hand side of the 'or' operator" + IL_0041: ldloc.0 + IL_0042: ldarg.0 + IL_0043: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0048: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_004d: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0052: unbox.any [mscorlib]System.Boolean + IL_0057: stloc.3 + IL_0058: ldloc.3 + IL_0059: brfalse IL_0067 - IL_005c: nop - IL_005d: ldarg.1 - IL_005e: ldc.i4 2000 - IL_0063: ldstr "Found method {0}." - IL_0068: ldc.i4.1 - IL_0069: newarr [mscorlib]System.Object - IL_006e: dup - IL_006f: ldc.i4.0 - IL_0070: ldloc.3 - IL_0071: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0076: stelem.ref - IL_0077: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_007c: nop - IL_007d: nop - IL_007e: ldloc.s 5 - IL_0080: ldc.i4.1 - IL_0081: add - IL_0082: stloc.s 5 - IL_0084: ldloc.s 5 - IL_0086: ldloc.s 4 - IL_0088: ldlen - IL_0089: conv.i4 - IL_008a: blt IL_004a + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: ldc.i4.1 + IL_0061: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_0066: nop + IL_0067: nop + IL_0068: ldarg.0 + IL_0069: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_006e: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0073: ldarg.0 + IL_0074: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0079: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_007e: stloc.s 4 + IL_0080: ldarg.0 + IL_0081: call instance object class NAnt.Core.ExpressionEvalBase::ParseBooleanAnd() + IL_0086: stloc.s 5 + IL_0088: ldarg.0 + IL_0089: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_008e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0093: stloc.s 6 + IL_0095: ldarg.0 + IL_0096: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_009b: brtrue IL_00d5 - IL_008f: nop - IL_0090: ldloc.2 - IL_0091: ldc.i4.1 - IL_0092: add - IL_0093: stloc.2 - IL_0094: ldloc.2 - IL_0095: ldloc.1 - IL_0096: ldlen - IL_0097: conv.i4 - IL_0098: blt IL_0034 + IL_00a0: nop + IL_00a1: ldarg.0 + IL_00a2: ldtoken [mscorlib]System.Boolean + IL_00a7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00ac: ldloc.s 5 + IL_00ae: ldstr "the right hand side of the 'or' operator" + IL_00b3: ldloc.s 4 + IL_00b5: ldloc.s 6 + IL_00b7: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_00bc: unbox.any [mscorlib]System.Boolean + IL_00c1: stloc.s 7 + IL_00c3: ldloc.3 + IL_00c4: brtrue IL_00cd - IL_009d: ldc.i4.0 - IL_009e: stloc.s 6 - IL_00a0: ldarg.0 - IL_00a1: newobj instance void class NAnt.Core.Extensibility.ExtensionAssembly::'.ctor'(class [mscorlib]System.Reflection.Assembly) - IL_00a6: stloc.s 7 - .try { // 0 - IL_00a8: nop - IL_00a9: ldarg.0 - IL_00aa: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Reflection.Assembly::GetTypes() - IL_00af: stloc.s 8 - IL_00b1: nop - IL_00b2: leave IL_00e2 + IL_00c9: ldloc.s 7 + IL_00cb: br.s IL_00ce - } // end .try 0 - catch class [mscorlib]System.Reflection.ReflectionTypeLoadException { // 0 - IL_00b7: stloc.s 9 - IL_00b9: nop - IL_00ba: ldloc.s 9 - IL_00bc: callvirt instance class [mscorlib]System.Exception[] class [mscorlib]System.Reflection.ReflectionTypeLoadException::get_LoaderExceptions() - IL_00c1: brfalse IL_00e0 + IL_00cd: ldc.i4.1 + IL_00ce: box [mscorlib]System.Boolean + IL_00d3: stloc.1 + IL_00d4: nop + IL_00d5: nop + IL_00d6: ldarg.0 + IL_00d7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00dc: ldstr "or" + IL_00e1: callvirt instance bool class NAnt.Core.ExpressionTokenizer::IsKeyword(string) + IL_00e6: brtrue IL_0021 - IL_00c6: ldloc.s 9 - IL_00c8: callvirt instance class [mscorlib]System.Exception[] class [mscorlib]System.Reflection.ReflectionTypeLoadException::get_LoaderExceptions() - IL_00cd: ldlen - IL_00ce: conv.i4 - IL_00cf: ldc.i4.0 - IL_00d0: ble IL_00e0 + IL_00eb: ldloc.1 + IL_00ec: stloc.s 8 + IL_00ee: leave IL_00fd - IL_00d5: nop - IL_00d6: ldloc.s 9 - IL_00d8: callvirt instance class [mscorlib]System.Exception[] class [mscorlib]System.Reflection.ReflectionTypeLoadException::get_LoaderExceptions() - IL_00dd: ldc.i4.0 - IL_00de: ldelem.ref - IL_00df: throw - IL_00e0: rethrow + } // end .try 0 + finally { // 0 + IL_00f3: nop + IL_00f4: ldarg.0 + IL_00f5: ldloc.2 + IL_00f6: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_00fb: nop + IL_00fc: endfinally } // end handler 0 - IL_00e2: nop - IL_00e3: ldloc.s 8 - IL_00e5: stloc.s 11 - IL_00e7: ldc.i4.0 - IL_00e8: stloc.s 12 - IL_00ea: br IL_016f - - IL_00ef: ldloc.s 11 - IL_00f1: ldloc.s 12 - IL_00f3: ldelem.ref - IL_00f4: stloc.s 10 - IL_00f6: nop - IL_00f7: ldloc.s 7 - IL_00f9: ldloc.s 10 - IL_00fb: ldarg.1 - IL_00fc: call bool class NAnt.Core.TypeFactory::ScanTypeForTasks(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) - IL_0101: stloc.s 13 - IL_0103: ldloc.s 13 - IL_0105: brtrue IL_0118 + IL_00fd: ldloc.s 8 + IL_00ff: ret + } // end of method ExpressionEvalBase::ParseBooleanOr - IL_010a: nop - IL_010b: ldloc.s 7 - IL_010d: ldloc.s 10 - IL_010f: ldarg.1 - IL_0110: call bool class NAnt.Core.TypeFactory::ScanTypeForDataTypes(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) - IL_0115: stloc.s 13 - IL_0117: nop - IL_0118: ldloc.s 13 - IL_011a: brtrue IL_012b + // method line 1602 + .method private hidebysig + instance default object ParseBooleanAnd () cil managed + { + // Method begins at RVA 0x1ce2c + // Code size 256 (0x100) + .maxstack 6 + .locals init ( + valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + object V_1, + valuetype NAnt.Core.ExpressionEvalBase/EvalMode V_2, + bool V_3, + valuetype NAnt.Core.ExpressionTokenizer/Position V_4, + object V_5, + valuetype NAnt.Core.ExpressionTokenizer/Position V_6, + bool V_7, + object V_8) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseRelationalExpression() + IL_0013: stloc.1 + IL_0014: ldarg.0 + IL_0015: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_001a: stloc.2 + .try { // 0 + IL_001b: nop + IL_001c: br IL_00d6 - IL_011f: nop - IL_0120: ldloc.s 10 - IL_0122: ldarg.1 - IL_0123: call bool class NAnt.Core.TypeFactory::ScanTypeForFunctions(class [mscorlib]System.Type, class NAnt.Core.Task) - IL_0128: stloc.s 13 - IL_012a: nop - IL_012b: ldloc.s 13 - IL_012d: brtrue IL_0140 + IL_0021: nop + IL_0022: ldc.i4.1 + IL_0023: stloc.3 + IL_0024: ldarg.0 + IL_0025: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_002a: brtrue IL_0068 - IL_0132: nop - IL_0133: ldloc.s 7 - IL_0135: ldloc.s 10 - IL_0137: ldarg.1 - IL_0138: call bool class NAnt.Core.TypeFactory::ScanTypeForFilters(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) - IL_013d: stloc.s 13 - IL_013f: nop - IL_0140: ldloc.s 13 - IL_0142: brtrue IL_015a - - IL_0147: nop - IL_0148: ldsfld class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::_pluginScanner - IL_014d: ldloc.s 7 - IL_014f: ldloc.s 10 - IL_0151: ldarg.1 - IL_0152: callvirt instance bool class NAnt.Core.Extensibility.PluginScanner::ScanTypeForPlugins(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) - IL_0157: stloc.s 13 - IL_0159: nop - IL_015a: ldloc.s 6 - IL_015c: brtrue IL_0165 - - IL_0161: ldloc.s 13 - IL_0163: br.s IL_0166 - - IL_0165: ldc.i4.1 - IL_0166: stloc.s 6 - IL_0168: nop - IL_0169: ldloc.s 12 - IL_016b: ldc.i4.1 - IL_016c: add - IL_016d: stloc.s 12 - IL_016f: ldloc.s 12 - IL_0171: ldloc.s 11 - IL_0173: ldlen - IL_0174: conv.i4 - IL_0175: blt IL_00ef - - IL_017a: ldloc.s 6 - IL_017c: brtrue IL_0227 + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldtoken [mscorlib]System.Boolean + IL_0036: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003b: ldloc.1 + IL_003c: ldstr "the left hand side of the 'and' operator" + IL_0041: ldloc.0 + IL_0042: ldarg.0 + IL_0043: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0048: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_004d: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0052: unbox.any [mscorlib]System.Boolean + IL_0057: stloc.3 + IL_0058: ldloc.3 + IL_0059: brtrue IL_0067 - IL_0181: nop - IL_0182: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0187: ldc.i4.0 - IL_0188: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) - IL_018d: stloc.s 14 - IL_018f: nop - IL_0190: ldarg.0 - IL_0191: callvirt instance class [mscorlib]System.Reflection.AssemblyName[] class [mscorlib]System.Reflection.Assembly::GetReferencedAssemblies() - IL_0196: stloc.s 16 - IL_0198: ldc.i4.0 - IL_0199: stloc.s 17 - IL_019b: br IL_021b + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: ldc.i4.1 + IL_0061: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_0066: nop + IL_0067: nop + IL_0068: ldarg.0 + IL_0069: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_006e: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0073: ldarg.0 + IL_0074: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0079: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_007e: stloc.s 4 + IL_0080: ldarg.0 + IL_0081: call instance object class NAnt.Core.ExpressionEvalBase::ParseRelationalExpression() + IL_0086: stloc.s 5 + IL_0088: ldarg.0 + IL_0089: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_008e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0093: stloc.s 6 + IL_0095: ldarg.0 + IL_0096: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_009b: brtrue IL_00d5 - IL_01a0: ldloc.s 16 - IL_01a2: ldloc.s 17 - IL_01a4: ldelem.ref - IL_01a5: stloc.s 15 - IL_01a7: nop - IL_01a8: ldloc.s 15 - IL_01aa: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_01af: ldloc.s 14 - IL_01b1: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_01b6: call bool string::op_Equality(string, string) - IL_01bb: brfalse IL_0214 + IL_00a0: nop + IL_00a1: ldarg.0 + IL_00a2: ldtoken [mscorlib]System.Boolean + IL_00a7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00ac: ldloc.s 5 + IL_00ae: ldstr "the right hand side of the 'and' operator" + IL_00b3: ldloc.s 4 + IL_00b5: ldloc.s 6 + IL_00b7: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_00bc: unbox.any [mscorlib]System.Boolean + IL_00c1: stloc.s 7 + IL_00c3: ldloc.3 + IL_00c4: brfalse IL_00cd - IL_01c0: nop - IL_01c1: ldloc.s 15 - IL_01c3: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_01c8: ldloc.s 14 - IL_01ca: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_01cf: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_01d4: brfalse IL_0213 + IL_00c9: ldloc.s 7 + IL_00cb: br.s IL_00ce - IL_01d9: nop - IL_01da: ldarg.1 - IL_01db: ldc.i4 4000 - IL_01e0: ldstr "Assembly \"{0}\" is built using version {1} of NAnt. If any problems arise, then try using a version that is built for NAnt version {2}." - IL_01e5: ldc.i4.3 - IL_01e6: newarr [mscorlib]System.Object - IL_01eb: dup - IL_01ec: ldc.i4.0 - IL_01ed: ldarg.0 - IL_01ee: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_01f3: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_01f8: stelem.ref - IL_01f9: dup - IL_01fa: ldc.i4.1 - IL_01fb: ldloc.s 15 - IL_01fd: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_0202: stelem.ref - IL_0203: dup - IL_0204: ldc.i4.2 - IL_0205: ldloc.s 14 - IL_0207: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_020c: stelem.ref - IL_020d: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0212: nop - IL_0213: nop - IL_0214: nop - IL_0215: ldloc.s 17 - IL_0217: ldc.i4.1 - IL_0218: add - IL_0219: stloc.s 17 - IL_021b: ldloc.s 17 - IL_021d: ldloc.s 16 - IL_021f: ldlen - IL_0220: conv.i4 - IL_0221: blt IL_01a0 + IL_00cd: ldc.i4.0 + IL_00ce: box [mscorlib]System.Boolean + IL_00d3: stloc.1 + IL_00d4: nop + IL_00d5: nop + IL_00d6: ldarg.0 + IL_00d7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00dc: ldstr "and" + IL_00e1: callvirt instance bool class NAnt.Core.ExpressionTokenizer::IsKeyword(string) + IL_00e6: brtrue IL_0021 - IL_0226: nop - IL_0227: ldloc.s 6 - IL_0229: stloc.s 18 - IL_022b: br IL_0230 + IL_00eb: ldloc.1 + IL_00ec: stloc.s 8 + IL_00ee: leave IL_00fd - IL_0230: ldloc.s 18 - IL_0232: ret - } // end of method TypeFactory::ScanAssembly + } // end .try 0 + finally { // 0 + IL_00f3: nop + IL_00f4: ldarg.0 + IL_00f5: ldloc.2 + IL_00f6: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_00fb: nop + IL_00fc: endfinally + } // end handler 0 + IL_00fd: ldloc.s 8 + IL_00ff: ret + } // end of method ExpressionEvalBase::ParseBooleanAnd - // method line 1663 - .method public static hidebysig - default void ScanDir (string path, class NAnt.Core.Task task, bool failOnError) cil managed + // method line 1603 + .method private hidebysig + instance default object ParseRelationalExpression () cil managed { - // Method begins at RVA 0x1e204 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 256 (0x100) - .maxstack 7 + // Method begins at RVA 0x1cf48 + // Code size 5433 (0x1539) + .maxstack 6 .locals init ( - class NAnt.Core.DirectoryScanner V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.Exception V_3, - string V_4, - class [mscorlib]System.IDisposable V_5) + valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + object V_1, + valuetype NAnt.Core.ExpressionTokenizer/TokenType V_2, + object V_3, + valuetype NAnt.Core.ExpressionTokenizer/Position V_4, + object V_5, + int64 V_6, + float64 V_7, + float64 V_8, + int64 V_9, + float64 V_10, + float64 V_11) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brfalse IL_0012 - - IL_000c: nop - IL_000d: br IL_00ff + IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseAddSubtract() + IL_0013: stloc.1 + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_001a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_001f: ldc.i4.5 + IL_0020: beq IL_007c - IL_0012: ldarg.1 - IL_0013: ldc.i4 3000 - IL_0018: ldstr "Scanning directory \"{0}\" for extension assemblies." - IL_001d: ldc.i4.1 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 IL_0025: ldarg.0 - IL_0026: stelem.ref - IL_0027: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_002c: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() - IL_0031: stloc.0 - IL_0032: ldloc.0 - IL_0033: ldarg.0 - IL_0034: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0039: callvirt instance void class NAnt.Core.DirectoryScanner::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_003e: ldloc.0 - IL_003f: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() - IL_0044: ldstr "*.dll" - IL_0049: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_004e: pop - IL_004f: nop - IL_0050: ldloc.0 - IL_0051: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() - IL_0056: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_005b: stloc.2 - .try { // 1 - IL_005c: br IL_00d9 + IL_0026: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_002b: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0030: ldc.i4.6 + IL_0031: beq IL_007c - IL_0061: ldloc.2 - IL_0062: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0067: stloc.1 - IL_0068: nop - .try { // 0 - IL_0069: nop - IL_006a: ldloc.1 - IL_006b: ldarg.1 - IL_006c: call bool class NAnt.Core.TypeFactory::ScanAssembly(string, class NAnt.Core.Task) - IL_0071: pop - IL_0072: nop - IL_0073: leave IL_00d8 + IL_0036: ldarg.0 + IL_0037: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_003c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0041: ldc.i4.7 + IL_0042: beq IL_007c - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0078: stloc.3 - IL_0079: nop - IL_007a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007f: ldstr "Failure scanning \"{0}\" for extensions" - IL_0084: ldloc.1 - IL_0085: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_008a: stloc.s 4 - IL_008c: ldarg.2 - IL_008d: brfalse IL_00ab + IL_0047: ldarg.0 + IL_0048: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_004d: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0052: ldc.i4.8 + IL_0053: beq IL_007c - IL_0092: nop - IL_0093: ldloc.s 4 - IL_0095: ldstr "." - IL_009a: call string string::Concat(string, string) - IL_009f: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_00a4: ldloc.3 - IL_00a5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00aa: throw - IL_00ab: ldarg.1 - IL_00ac: ldc.i4 5000 - IL_00b1: ldloc.s 4 - IL_00b3: ldstr ": " - IL_00b8: ldloc.1 - IL_00b9: call string string::Concat(string, string, string) - IL_00be: ldc.i4.1 - IL_00bf: newarr [mscorlib]System.Object - IL_00c4: dup - IL_00c5: ldc.i4.0 - IL_00c6: ldloc.3 - IL_00c7: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_00cc: stelem.ref - IL_00cd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00d2: nop - IL_00d3: leave IL_00d8 + IL_0058: ldarg.0 + IL_0059: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_005e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0063: ldc.i4.s 0x09 + IL_0065: beq IL_007c - } // end handler 0 - IL_00d8: nop - IL_00d9: ldloc.2 - IL_00da: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00df: brtrue IL_0061 + IL_006a: ldarg.0 + IL_006b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0070: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0075: ldc.i4.s 0x0a + IL_0077: bne.un IL_152e - IL_00e4: leave IL_00ff + IL_007c: nop + IL_007d: ldarg.0 + IL_007e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0083: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0088: stloc.2 + IL_0089: ldarg.0 + IL_008a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_008f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0094: ldarg.0 + IL_0095: call instance object class NAnt.Core.ExpressionEvalBase::ParseAddSubtract() + IL_009a: stloc.3 + IL_009b: ldarg.0 + IL_009c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00a1: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_00a6: stloc.s 4 + IL_00a8: ldarg.0 + IL_00a9: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_00ae: brfalse IL_00bc - } // end .try 1 - finally { // 1 - IL_00e9: ldloc.2 - IL_00ea: isinst [mscorlib]System.IDisposable - IL_00ef: dup - IL_00f0: stloc.s 5 - IL_00f2: brfalse IL_00fe + IL_00b3: nop + IL_00b4: ldnull + IL_00b5: stloc.s 5 + IL_00b7: br IL_1536 - IL_00f7: ldloc.s 5 - IL_00f9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00fe: endfinally - } // end handler 1 - IL_00ff: ret - } // end of method TypeFactory::ScanDir + IL_00bc: ldloc.2 + IL_00bd: ldc.i4.5 + IL_00be: sub + IL_00bf: switch ( + IL_00e1, + IL_046e, + IL_0831, + IL_0b5b, + IL_0e85, + IL_11d9) + IL_00dc: br IL_152d - // method line 1664 - .method assembly static hidebysig - default void AddProject (class NAnt.Core.Project project) cil managed - { - // Method begins at RVA 0x1e32c - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: call void class NAnt.Core.TypeFactory::AddProject(class NAnt.Core.Project, bool) - IL_0008: ret - } // end of method TypeFactory::AddProject + IL_00e1: ldloc.1 + IL_00e2: isinst [mscorlib]System.String + IL_00e7: brfalse IL_010b - // method line 1665 - .method assembly static hidebysig - default void AddProject (class NAnt.Core.Project project, bool scan) cil managed - { - // Method begins at RVA 0x1e338 - // Code size 264 (0x108) - .maxstack 3 - .locals init ( - class NAnt.Core.Tasks.LoadTasksTask V_0, - string V_1, - string V_2, - string V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0017 + IL_00ec: ldloc.3 + IL_00ed: isinst [mscorlib]System.String + IL_00f2: brfalse IL_010b - IL_0007: ldarg.0 - IL_0008: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_000d: call bool string::IsNullOrEmpty(string) - IL_0012: brfalse IL_001c + IL_00f7: nop + IL_00f8: ldloc.1 + IL_00f9: ldloc.3 + IL_00fa: callvirt instance bool object::Equals(object) + IL_00ff: box [mscorlib]System.Boolean + IL_0104: stloc.s 5 + IL_0106: br IL_1536 - IL_0017: br IL_0107 + IL_010b: ldloc.1 + IL_010c: isinst [mscorlib]System.Boolean + IL_0111: brfalse IL_0135 - IL_001c: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldarg.0 - IL_0024: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0029: ldloc.0 - IL_002a: ldarg.0 - IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_0030: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_003c: ldloc.0 - IL_003d: ldc.i4.0 - IL_003e: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) - IL_0043: ldloc.0 - IL_0044: ldarg.0 - IL_0045: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_004a: ldc.i4 1000 - IL_004f: bne.un IL_005e + IL_0116: ldloc.3 + IL_0117: isinst [mscorlib]System.Boolean + IL_011c: brfalse IL_0135 - IL_0054: ldc.i4 1000 - IL_0059: br IL_0063 + IL_0121: nop + IL_0122: ldloc.1 + IL_0123: ldloc.3 + IL_0124: callvirt instance bool object::Equals(object) + IL_0129: box [mscorlib]System.Boolean + IL_012e: stloc.s 5 + IL_0130: br IL_1536 - IL_005e: ldc.i4 4000 - IL_0063: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) - IL_0068: ldarg.0 - IL_0069: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_006e: ldstr "extensions" - IL_0073: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0078: stloc.1 - IL_0079: ldloc.1 - IL_007a: ldstr "common" - IL_007f: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0084: stloc.2 - IL_0085: ldloc.2 - IL_0086: ldstr "neutral" - IL_008b: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0090: ldloc.0 - IL_0091: ldc.i4.0 - IL_0092: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) - IL_0097: ldarg.0 - IL_0098: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_009d: brtrue IL_00a8 + IL_0135: ldloc.1 + IL_0136: isinst [mscorlib]System.Int32 + IL_013b: brfalse IL_015f - IL_00a2: nop - IL_00a3: br IL_0107 + IL_0140: ldloc.3 + IL_0141: isinst [mscorlib]System.Int32 + IL_0146: brfalse IL_015f - IL_00a8: ldloc.2 - IL_00a9: ldarg.0 - IL_00aa: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_00af: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_00b4: ldc.i4.2 - IL_00b5: callvirt instance string class [mscorlib]System.Version::ToString(int32) - IL_00ba: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00bf: ldloc.0 - IL_00c0: ldc.i4.0 - IL_00c1: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) - IL_00c6: ldloc.1 - IL_00c7: ldarg.0 - IL_00c8: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_00cd: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() - IL_00d2: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00d7: stloc.3 - IL_00d8: ldloc.3 - IL_00d9: ldstr "neutral" - IL_00de: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00e3: ldloc.0 - IL_00e4: ldc.i4.0 - IL_00e5: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) - IL_00ea: ldloc.3 - IL_00eb: ldarg.0 - IL_00ec: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_00f1: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() - IL_00f6: callvirt instance string object::ToString() - IL_00fb: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0100: ldloc.0 - IL_0101: ldc.i4.0 - IL_0102: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) - IL_0107: ret - } // end of method TypeFactory::AddProject + IL_014b: nop + IL_014c: ldloc.1 + IL_014d: ldloc.3 + IL_014e: callvirt instance bool object::Equals(object) + IL_0153: box [mscorlib]System.Boolean + IL_0158: stloc.s 5 + IL_015a: br IL_1536 - // method line 1666 - .method assembly static hidebysig - default class [mscorlib]System.Reflection.MethodInfo LookupFunction (string functionName, class NAnt.Core.Extensibility.FunctionArgument[] args, class NAnt.Core.Project project) cil managed - { - // Method begins at RVA 0x1e44c - // Code size 225 (0xe1) - .maxstack 4 - .locals init ( - object V_0, - class [mscorlib]System.Reflection.MethodInfo V_1, - class [mscorlib]System.Reflection.MethodInfo V_2, - class [mscorlib]System.Collections.ArrayList V_3, - int32 V_4) - IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection - IL_0006: ldarg.0 - IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brtrue IL_002e + IL_015f: ldloc.1 + IL_0160: isinst [mscorlib]System.Int32 + IL_0165: brfalse IL_0198 - IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0018: ldstr "NA1052" - IL_001d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0022: ldarg.0 - IL_0023: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_002d: throw - IL_002e: ldloc.0 - IL_002f: isinst [mscorlib]System.Reflection.MethodInfo - IL_0034: stloc.1 - IL_0035: ldloc.1 - IL_0036: ldnull - IL_0037: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_003c: brfalse IL_0068 + IL_016a: ldloc.3 + IL_016b: isinst [mscorlib]System.Int64 + IL_0170: brfalse IL_0198 - IL_0041: nop - IL_0042: ldloc.1 - IL_0043: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0048: ldlen - IL_0049: conv.i4 - IL_004a: ldarg.1 - IL_004b: ldlen - IL_004c: conv.i4 - IL_004d: bne.un IL_0062 + IL_0175: nop + IL_0176: ldloc.1 + IL_0177: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_017c: stloc.s 6 + IL_017e: ldloca.s 6 + IL_0180: ldloc.3 + IL_0181: constrained. [mscorlib]System.Int64 + IL_0187: callvirt instance bool object::Equals(object) + IL_018c: box [mscorlib]System.Boolean + IL_0191: stloc.s 5 + IL_0193: br IL_1536 - IL_0052: nop - IL_0053: ldarg.0 - IL_0054: ldloc.1 - IL_0055: ldarg.2 - IL_0056: call void class NAnt.Core.TypeFactory::CheckDeprecation(string, class [mscorlib]System.Reflection.MethodInfo, class NAnt.Core.Project) - IL_005b: ldloc.1 - IL_005c: stloc.2 - IL_005d: br IL_00df + IL_0198: ldloc.1 + IL_0199: isinst [mscorlib]System.Int32 + IL_019e: brfalse IL_01d1 - IL_0062: nop - IL_0063: br IL_00bc + IL_01a3: ldloc.3 + IL_01a4: isinst [mscorlib]System.Double + IL_01a9: brfalse IL_01d1 - IL_0068: nop - IL_0069: ldloc.0 - IL_006a: castclass [mscorlib]System.Collections.ArrayList - IL_006f: stloc.3 - IL_0070: ldc.i4.0 - IL_0071: stloc.s 4 - IL_0073: br IL_00ae + IL_01ae: nop + IL_01af: ldloc.1 + IL_01b0: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_01b5: stloc.s 7 + IL_01b7: ldloca.s 7 + IL_01b9: ldloc.3 + IL_01ba: constrained. [mscorlib]System.Double + IL_01c0: callvirt instance bool object::Equals(object) + IL_01c5: box [mscorlib]System.Boolean + IL_01ca: stloc.s 5 + IL_01cc: br IL_1536 - IL_0078: nop - IL_0079: ldloc.3 - IL_007a: ldloc.s 4 - IL_007c: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_0081: castclass [mscorlib]System.Reflection.MethodInfo - IL_0086: stloc.1 - IL_0087: ldloc.1 - IL_0088: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_008d: ldlen - IL_008e: conv.i4 - IL_008f: ldarg.1 - IL_0090: ldlen - IL_0091: conv.i4 - IL_0092: bne.un IL_00a7 + IL_01d1: ldloc.1 + IL_01d2: isinst [mscorlib]System.Int64 + IL_01d7: brfalse IL_01fb - IL_0097: nop - IL_0098: ldarg.0 - IL_0099: ldloc.1 - IL_009a: ldarg.2 - IL_009b: call void class NAnt.Core.TypeFactory::CheckDeprecation(string, class [mscorlib]System.Reflection.MethodInfo, class NAnt.Core.Project) - IL_00a0: ldloc.1 - IL_00a1: stloc.2 - IL_00a2: br IL_00df + IL_01dc: ldloc.3 + IL_01dd: isinst [mscorlib]System.Int64 + IL_01e2: brfalse IL_01fb - IL_00a7: nop - IL_00a8: ldloc.s 4 - IL_00aa: ldc.i4.1 - IL_00ab: add - IL_00ac: stloc.s 4 - IL_00ae: ldloc.s 4 - IL_00b0: ldloc.3 - IL_00b1: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_00b6: blt IL_0078 + IL_01e7: nop + IL_01e8: ldloc.1 + IL_01e9: ldloc.3 + IL_01ea: callvirt instance bool object::Equals(object) + IL_01ef: box [mscorlib]System.Boolean + IL_01f4: stloc.s 5 + IL_01f6: br IL_1536 - IL_00bb: nop - IL_00bc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c1: ldstr "NA1044" - IL_00c6: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00cb: ldarg.0 - IL_00cc: ldarg.1 - IL_00cd: ldlen - IL_00ce: conv.i4 - IL_00cf: box [mscorlib]System.Int32 - IL_00d4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00d9: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_00de: throw - IL_00df: ldloc.2 - IL_00e0: ret - } // end of method TypeFactory::LookupFunction + IL_01fb: ldloc.1 + IL_01fc: isinst [mscorlib]System.Int64 + IL_0201: brfalse IL_022f - // method line 1667 - .method private static hidebysig - default void CheckDeprecation (string functionName, class [mscorlib]System.Reflection.MethodInfo function, class NAnt.Core.Project project) cil managed - { - // Method begins at RVA 0x1e53c - // Code size 149 (0x95) - .maxstack 7 - .locals init ( - class [mscorlib]System.ObsoleteAttribute V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldtoken [mscorlib]System.ObsoleteAttribute - IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000c: ldc.i4.1 - IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0012: castclass [mscorlib]System.ObsoleteAttribute - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: brtrue IL_003c + IL_0206: ldloc.3 + IL_0207: isinst [mscorlib]System.Int32 + IL_020c: brfalse IL_022f - IL_001e: nop - IL_001f: ldarg.1 - IL_0020: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_0025: ldtoken [mscorlib]System.ObsoleteAttribute - IL_002a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002f: ldc.i4.1 - IL_0030: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0035: castclass [mscorlib]System.ObsoleteAttribute - IL_003a: stloc.0 - IL_003b: nop - IL_003c: ldloc.0 - IL_003d: brfalse IL_0094 + IL_0211: nop + IL_0212: ldloc.1 + IL_0213: ldloc.3 + IL_0214: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_0219: box [mscorlib]System.Int64 + IL_021e: callvirt instance bool object::Equals(object) + IL_0223: box [mscorlib]System.Boolean + IL_0228: stloc.s 5 + IL_022a: br IL_1536 - IL_0042: nop - IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0048: ldstr "NA1087" - IL_004d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0052: ldarg.0 - IL_0053: ldloc.0 - IL_0054: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_0059: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_005e: stloc.1 - IL_005f: ldloc.0 - IL_0060: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_0065: brfalse IL_0077 + IL_022f: ldloc.1 + IL_0230: isinst [mscorlib]System.Int64 + IL_0235: brfalse IL_0268 - IL_006a: nop - IL_006b: ldloc.1 - IL_006c: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0076: throw - IL_0077: nop - IL_0078: ldarg.2 - IL_0079: ldc.i4 4000 - IL_007e: ldstr "{0}" - IL_0083: ldc.i4.1 - IL_0084: newarr [mscorlib]System.Object - IL_0089: dup - IL_008a: ldc.i4.0 - IL_008b: ldloc.1 - IL_008c: stelem.ref - IL_008d: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0092: nop - IL_0093: nop - IL_0094: ret - } // end of method TypeFactory::CheckDeprecation + IL_023a: ldloc.3 + IL_023b: isinst [mscorlib]System.Double + IL_0240: brfalse IL_0268 - // method line 1668 - .method public static hidebysig - default class NAnt.Core.Task CreateTask (class [System.Xml]System.Xml.XmlNode taskNode, class NAnt.Core.Project proj) cil managed - { - // Method begins at RVA 0x1e5e0 - // Code size 280 (0x118) - .maxstack 7 - .locals init ( - string V_0, - class NAnt.Core.TaskBuilder V_1, - class NAnt.Core.Location V_2, - class NAnt.Core.Task V_3, - class [mscorlib]System.ObsoleteAttribute V_4, - class NAnt.Core.Location V_5, - string V_6, - class NAnt.Core.Task V_7) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 + IL_0245: nop + IL_0246: ldloc.1 + IL_0247: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_024c: stloc.s 8 + IL_024e: ldloca.s 8 + IL_0250: ldloc.3 + IL_0251: constrained. [mscorlib]System.Double + IL_0257: callvirt instance bool object::Equals(object) + IL_025c: box [mscorlib]System.Boolean + IL_0261: stloc.s 5 + IL_0263: br IL_1536 - IL_0007: nop - IL_0008: ldstr "taskNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: brtrue IL_0025 + IL_0268: ldloc.1 + IL_0269: isinst [mscorlib]System.Double + IL_026e: brfalse IL_0292 - IL_0019: nop - IL_001a: ldstr "proj" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.0 - IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_002b: stloc.0 - IL_002c: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0031: ldloc.0 - IL_0032: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) - IL_0037: stloc.1 - IL_0038: ldloc.1 - IL_0039: brtrue IL_0068 + IL_0273: ldloc.3 + IL_0274: isinst [mscorlib]System.Double + IL_0279: brfalse IL_0292 - IL_003e: nop - IL_003f: ldarg.1 - IL_0040: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_0045: ldarg.0 - IL_0046: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_004b: stloc.2 - IL_004c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0051: ldstr "NA1083" - IL_0056: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_005b: ldloc.0 - IL_005c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0061: ldloc.2 - IL_0062: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0067: throw - IL_0068: ldloc.1 - IL_0069: callvirt instance class NAnt.Core.Task class NAnt.Core.TaskBuilder::CreateTask() - IL_006e: stloc.3 - IL_006f: ldloc.3 - IL_0070: ldarg.1 - IL_0071: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0076: ldloc.3 - IL_0077: ldarg.1 - IL_0078: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_007d: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0082: ldloc.3 - IL_0083: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0088: ldtoken [mscorlib]System.ObsoleteAttribute - IL_008d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0092: ldc.i4.1 - IL_0093: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0098: castclass [mscorlib]System.ObsoleteAttribute - IL_009d: stloc.s 4 - IL_009f: ldloc.s 4 - IL_00a1: brfalse IL_010d + IL_027e: nop + IL_027f: ldloc.1 + IL_0280: ldloc.3 + IL_0281: callvirt instance bool object::Equals(object) + IL_0286: box [mscorlib]System.Boolean + IL_028b: stloc.s 5 + IL_028d: br IL_1536 - IL_00a6: nop - IL_00a7: ldarg.1 - IL_00a8: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_00ad: ldarg.0 - IL_00ae: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_00b3: stloc.s 5 - IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ba: ldstr "NA1086" - IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00c4: ldloc.0 - IL_00c5: ldloc.s 4 - IL_00c7: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_00cc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00d1: stloc.s 6 - IL_00d3: ldloc.s 4 - IL_00d5: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_00da: brfalse IL_00ea + IL_0292: ldloc.1 + IL_0293: isinst [mscorlib]System.Double + IL_0298: brfalse IL_02c6 - IL_00df: nop - IL_00e0: ldloc.s 6 - IL_00e2: ldloc.s 5 - IL_00e4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00e9: throw - IL_00ea: nop - IL_00eb: ldarg.1 - IL_00ec: ldc.i4 4000 - IL_00f1: ldstr "{0} {1}" - IL_00f6: ldc.i4.2 - IL_00f7: newarr [mscorlib]System.Object - IL_00fc: dup - IL_00fd: ldc.i4.0 - IL_00fe: ldloc.s 5 - IL_0100: stelem.ref - IL_0101: dup - IL_0102: ldc.i4.1 - IL_0103: ldloc.s 6 - IL_0105: stelem.ref - IL_0106: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_010b: nop - IL_010c: nop - IL_010d: ldloc.3 - IL_010e: stloc.s 7 - IL_0110: br IL_0115 + IL_029d: ldloc.3 + IL_029e: isinst [mscorlib]System.Int32 + IL_02a3: brfalse IL_02c6 - IL_0115: ldloc.s 7 - IL_0117: ret - } // end of method TypeFactory::CreateTask + IL_02a8: nop + IL_02a9: ldloc.1 + IL_02aa: ldloc.3 + IL_02ab: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_02b0: box [mscorlib]System.Double + IL_02b5: callvirt instance bool object::Equals(object) + IL_02ba: box [mscorlib]System.Boolean + IL_02bf: stloc.s 5 + IL_02c1: br IL_1536 - // method line 1669 - .method public static hidebysig - default class NAnt.Core.Filters.Filter CreateFilter (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.Element parent) cil managed - { - // Method begins at RVA 0x1e704 - // Code size 319 (0x13f) - .maxstack 7 - .locals init ( - string V_0, - class NAnt.Core.Filters.FilterBuilder V_1, - class NAnt.Core.Location V_2, - class NAnt.Core.Filters.Filter V_3, - class [mscorlib]System.ObsoleteAttribute V_4, - class NAnt.Core.Location V_5, - string V_6, - class NAnt.Core.Filters.Filter V_7) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 + IL_02c6: ldloc.1 + IL_02c7: isinst [mscorlib]System.Double + IL_02cc: brfalse IL_02fa - IL_0007: nop - IL_0008: ldstr "elementNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: brtrue IL_0025 + IL_02d1: ldloc.3 + IL_02d2: isinst [mscorlib]System.Int64 + IL_02d7: brfalse IL_02fa - IL_0019: nop - IL_001a: ldstr "parent" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.0 - IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_002b: stloc.0 - IL_002c: call class NAnt.Core.Filters.FilterBuilderCollection class NAnt.Core.TypeFactory::get_FilterBuilders() - IL_0031: ldloc.0 - IL_0032: callvirt instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(string) - IL_0037: stloc.1 - IL_0038: ldloc.1 - IL_0039: brtrue IL_006d + IL_02dc: nop + IL_02dd: ldloc.1 + IL_02de: ldloc.3 + IL_02df: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_02e4: box [mscorlib]System.Double + IL_02e9: callvirt instance bool object::Equals(object) + IL_02ee: box [mscorlib]System.Boolean + IL_02f3: stloc.s 5 + IL_02f5: br IL_1536 - IL_003e: nop - IL_003f: ldarg.1 - IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0045: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_004a: ldarg.0 - IL_004b: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_0050: stloc.2 - IL_0051: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0056: ldstr "NA1082" - IL_005b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0060: ldloc.0 - IL_0061: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0066: ldloc.2 - IL_0067: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_006c: throw - IL_006d: ldloc.1 - IL_006e: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterBuilder::CreateFilter() - IL_0073: stloc.3 - IL_0074: ldloc.3 - IL_0075: ldarg.1 - IL_0076: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_007b: ldloc.3 - IL_007c: ldarg.1 - IL_007d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0082: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0087: ldloc.3 - IL_0088: ldarg.1 - IL_0089: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_008e: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_0093: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0098: ldloc.3 - IL_0099: ldarg.0 - IL_009a: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) - IL_009f: ldloc.3 - IL_00a0: callvirt instance class [mscorlib]System.Type object::GetType() - IL_00a5: ldtoken [mscorlib]System.ObsoleteAttribute - IL_00aa: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00af: ldc.i4.1 - IL_00b0: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_00b5: castclass [mscorlib]System.ObsoleteAttribute - IL_00ba: stloc.s 4 - IL_00bc: ldloc.s 4 - IL_00be: brfalse IL_0134 + IL_02fa: ldloc.1 + IL_02fb: isinst [mscorlib]System.DateTime + IL_0300: brfalse IL_0324 - IL_00c3: nop - IL_00c4: ldarg.1 - IL_00c5: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00ca: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_00cf: ldarg.0 - IL_00d0: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_00d5: stloc.s 5 - IL_00d7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00dc: ldstr "NA1079" - IL_00e1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00e6: ldloc.0 - IL_00e7: ldloc.s 4 - IL_00e9: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_00ee: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00f3: stloc.s 6 - IL_00f5: ldloc.s 4 - IL_00f7: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_00fc: brfalse IL_010c + IL_0305: ldloc.3 + IL_0306: isinst [mscorlib]System.DateTime + IL_030b: brfalse IL_0324 - IL_0101: nop - IL_0102: ldloc.s 6 - IL_0104: ldloc.s 5 - IL_0106: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_010b: throw - IL_010c: nop - IL_010d: ldarg.1 - IL_010e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0113: ldc.i4 4000 - IL_0118: ldstr "{0} {1}" - IL_011d: ldc.i4.2 - IL_011e: newarr [mscorlib]System.Object - IL_0123: dup - IL_0124: ldc.i4.0 - IL_0125: ldloc.s 5 - IL_0127: stelem.ref - IL_0128: dup - IL_0129: ldc.i4.1 - IL_012a: ldloc.s 6 - IL_012c: stelem.ref - IL_012d: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0132: nop - IL_0133: nop - IL_0134: ldloc.3 - IL_0135: stloc.s 7 - IL_0137: br IL_013c + IL_0310: nop + IL_0311: ldloc.1 + IL_0312: ldloc.3 + IL_0313: callvirt instance bool object::Equals(object) + IL_0318: box [mscorlib]System.Boolean + IL_031d: stloc.s 5 + IL_031f: br IL_1536 - IL_013c: ldloc.s 7 - IL_013e: ret - } // end of method TypeFactory::CreateFilter + IL_0324: ldloc.1 + IL_0325: isinst [mscorlib]System.TimeSpan + IL_032a: brfalse IL_034e - // method line 1670 - .method public static hidebysig - default class NAnt.Core.DataTypeBase CreateDataType (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.Project proj) cil managed - { - // Method begins at RVA 0x1e850 - // Code size 280 (0x118) - .maxstack 7 - .locals init ( - string V_0, - class NAnt.Core.DataTypeBaseBuilder V_1, - class NAnt.Core.Location V_2, - class NAnt.Core.DataTypeBase V_3, - class [mscorlib]System.ObsoleteAttribute V_4, - class NAnt.Core.Location V_5, - string V_6, - class NAnt.Core.DataTypeBase V_7) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 + IL_032f: ldloc.3 + IL_0330: isinst [mscorlib]System.TimeSpan + IL_0335: brfalse IL_034e - IL_0007: nop - IL_0008: ldstr "elementNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: brtrue IL_0025 + IL_033a: nop + IL_033b: ldloc.1 + IL_033c: ldloc.3 + IL_033d: callvirt instance bool object::Equals(object) + IL_0342: box [mscorlib]System.Boolean + IL_0347: stloc.s 5 + IL_0349: br IL_1536 - IL_0019: nop - IL_001a: ldstr "proj" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.0 - IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_002b: stloc.0 - IL_002c: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_0031: ldloc.0 - IL_0032: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(string) - IL_0037: stloc.1 - IL_0038: ldloc.1 - IL_0039: brtrue IL_0068 + IL_034e: ldloc.1 + IL_034f: isinst [mscorlib]System.Version + IL_0354: brfalse IL_0378 - IL_003e: nop - IL_003f: ldarg.1 - IL_0040: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_0045: ldarg.0 - IL_0046: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_004b: stloc.2 - IL_004c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0051: ldstr "NA1081" - IL_0056: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_005b: ldloc.0 - IL_005c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0061: ldloc.2 - IL_0062: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0067: throw - IL_0068: ldloc.1 - IL_0069: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseBuilder::CreateDataTypeBase() - IL_006e: stloc.3 - IL_006f: ldloc.3 - IL_0070: ldarg.1 - IL_0071: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0076: ldloc.3 - IL_0077: ldarg.1 - IL_0078: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_007d: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0082: ldloc.3 - IL_0083: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0088: ldtoken [mscorlib]System.ObsoleteAttribute - IL_008d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0092: ldc.i4.1 - IL_0093: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0098: castclass [mscorlib]System.ObsoleteAttribute - IL_009d: stloc.s 4 - IL_009f: ldloc.s 4 - IL_00a1: brfalse IL_010d + IL_0359: ldloc.3 + IL_035a: isinst [mscorlib]System.Version + IL_035f: brfalse IL_0378 - IL_00a6: nop - IL_00a7: ldarg.1 - IL_00a8: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_00ad: ldarg.0 - IL_00ae: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_00b3: stloc.s 5 - IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ba: ldstr "NA1085" - IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00c4: ldloc.0 - IL_00c5: ldloc.s 4 - IL_00c7: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_00cc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00d1: stloc.s 6 - IL_00d3: ldloc.s 4 - IL_00d5: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_00da: brfalse IL_00ea + IL_0364: nop + IL_0365: ldloc.1 + IL_0366: ldloc.3 + IL_0367: callvirt instance bool object::Equals(object) + IL_036c: box [mscorlib]System.Boolean + IL_0371: stloc.s 5 + IL_0373: br IL_1536 - IL_00df: nop - IL_00e0: ldloc.s 6 - IL_00e2: ldloc.s 5 - IL_00e4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00e9: throw - IL_00ea: nop - IL_00eb: ldarg.1 - IL_00ec: ldc.i4 4000 - IL_00f1: ldstr "{0} {1}" - IL_00f6: ldc.i4.2 - IL_00f7: newarr [mscorlib]System.Object - IL_00fc: dup - IL_00fd: ldc.i4.0 - IL_00fe: ldloc.s 5 - IL_0100: stelem.ref - IL_0101: dup - IL_0102: ldc.i4.1 - IL_0103: ldloc.s 6 - IL_0105: stelem.ref - IL_0106: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_010b: nop - IL_010c: nop - IL_010d: ldloc.3 - IL_010e: stloc.s 7 - IL_0110: br IL_0115 + IL_0378: ldloc.1 + IL_0379: callvirt instance class [mscorlib]System.Type object::GetType() + IL_037e: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_0383: brfalse IL_03d8 - IL_0115: ldloc.s 7 - IL_0117: ret - } // end of method TypeFactory::CreateDataType + IL_0388: nop + IL_0389: ldloc.3 + IL_038a: isinst [mscorlib]System.String + IL_038f: brfalse IL_03b9 - // method line 1671 - .method private static hidebysig - default bool ScanTypeForTasks (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed - { - // Method begins at RVA 0x1e974 - // Code size 254 (0xfe) - .maxstack 7 - .locals init ( - class NAnt.Core.Attributes.TaskNameAttribute V_0, - class NAnt.Core.TaskBuilder V_1, - bool V_2) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: ldtoken NAnt.Core.Attributes.TaskNameAttribute - IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0012: castclass NAnt.Core.Attributes.TaskNameAttribute - IL_0017: stloc.0 - IL_0018: ldarg.1 - IL_0019: ldtoken NAnt.Core.Task - 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_00d1 + IL_0394: nop + IL_0395: ldloc.1 + IL_0396: ldloc.1 + IL_0397: callvirt instance class [mscorlib]System.Type object::GetType() + IL_039c: ldloc.3 + IL_039d: castclass [mscorlib]System.String + IL_03a2: ldc.i4.0 + IL_03a3: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_03a8: callvirt instance bool object::Equals(object) + IL_03ad: box [mscorlib]System.Boolean + IL_03b2: stloc.s 5 + IL_03b4: br IL_1536 - IL_002d: ldarg.1 - IL_002e: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0033: brtrue IL_00d1 + IL_03b9: nop + IL_03ba: ldloc.1 + IL_03bb: ldloc.1 + IL_03bc: callvirt instance class [mscorlib]System.Type object::GetType() + IL_03c1: ldloc.3 + IL_03c2: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) + IL_03c7: callvirt instance bool object::Equals(object) + IL_03cc: box [mscorlib]System.Boolean + IL_03d1: stloc.s 5 + IL_03d3: br IL_1536 - IL_0038: ldloc.0 - IL_0039: brfalse IL_00d1 + IL_03d8: ldloc.3 + IL_03d9: callvirt instance class [mscorlib]System.Type object::GetType() + IL_03de: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_03e3: brfalse IL_0438 - IL_003e: nop - IL_003f: ldarg.2 - IL_0040: ldc.i4 1000 - IL_0045: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004a: ldstr "String_CreatingTaskBuilder" - IL_004f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0054: ldarg.1 - IL_0055: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0064: ldarg.0 - IL_0065: ldarg.1 - IL_0066: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_006b: newobj instance void class NAnt.Core.TaskBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) - IL_0070: stloc.1 - IL_0071: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0076: ldloc.1 - IL_0077: callvirt instance string class NAnt.Core.TaskBuilder::get_TaskName() - IL_007c: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) - IL_0081: brtrue IL_00ca + IL_03e8: nop + IL_03e9: ldloc.1 + IL_03ea: isinst [mscorlib]System.String + IL_03ef: brfalse IL_0419 - IL_0086: nop - IL_0087: ldarg.2 - IL_0088: ldc.i4 1000 - IL_008d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0092: ldstr "String_AddingTask" - IL_0097: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009c: ldloc.1 - IL_009d: callvirt instance string class NAnt.Core.TaskBuilder::get_TaskName() - IL_00a2: ldloc.1 - IL_00a3: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_00a8: call string class NAnt.Core.TypeFactory::GetAssemblyLocation(class [mscorlib]System.Reflection.Assembly) - IL_00ad: ldloc.1 - IL_00ae: callvirt instance string class NAnt.Core.TaskBuilder::get_ClassName() - IL_00b3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_00b8: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_00bd: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_00c2: ldloc.1 - IL_00c3: callvirt instance int32 class NAnt.Core.TaskBuilderCollection::Add(class NAnt.Core.TaskBuilder) - IL_00c8: pop - IL_00c9: nop - IL_00ca: ldc.i4.1 - IL_00cb: stloc.2 - IL_00cc: leave IL_00fc + IL_03f4: nop + IL_03f5: ldloc.3 + IL_03f6: ldloc.3 + IL_03f7: callvirt instance class [mscorlib]System.Type object::GetType() + IL_03fc: ldloc.1 + IL_03fd: castclass [mscorlib]System.String + IL_0402: ldc.i4.0 + IL_0403: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_0408: callvirt instance bool object::Equals(object) + IL_040d: box [mscorlib]System.Boolean + IL_0412: stloc.s 5 + IL_0414: br IL_1536 - IL_00d1: nop - IL_00d2: ldc.i4.0 - IL_00d3: stloc.2 - IL_00d4: leave IL_00fc + IL_0419: nop + IL_041a: ldloc.3 + IL_041b: ldloc.3 + IL_041c: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0421: ldloc.1 + IL_0422: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) + IL_0427: callvirt instance bool object::Equals(object) + IL_042c: box [mscorlib]System.Boolean + IL_0431: stloc.s 5 + IL_0433: br IL_1536 - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_00d9: pop - IL_00da: nop - IL_00db: ldarg.2 - IL_00dc: ldc.i4 5000 - IL_00e1: ldstr "Failure scanning \"{0}\" for tasks." - IL_00e6: ldc.i4.1 - IL_00e7: newarr [mscorlib]System.Object - IL_00ec: dup - IL_00ed: ldc.i4.0 - IL_00ee: ldarg.1 - IL_00ef: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() - IL_00f4: stelem.ref - IL_00f5: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00fa: rethrow - } // end handler 0 - IL_00fc: ldloc.2 - IL_00fd: ret - } // end of method TypeFactory::ScanTypeForTasks + IL_0438: ldarg.0 + IL_0439: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_043e: ldstr "NA1038" + IL_0443: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0448: ldarg.0 + IL_0449: ldloc.1 + IL_044a: callvirt instance class [mscorlib]System.Type object::GetType() + IL_044f: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0454: ldarg.0 + IL_0455: ldloc.3 + IL_0456: callvirt instance class [mscorlib]System.Type object::GetType() + IL_045b: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0460: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0465: ldloc.0 + IL_0466: ldloc.s 4 + IL_0468: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_046d: throw + IL_046e: ldloc.1 + IL_046f: isinst [mscorlib]System.String + IL_0474: brfalse IL_049b - // method line 1672 - .method private static hidebysig - default bool ScanTypeForDataTypes (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed - { - // Method begins at RVA 0x1ea90 - // Code size 252 (0xfc) - .maxstack 7 - .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute V_0, - class NAnt.Core.DataTypeBaseBuilder V_1, - bool V_2) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0012: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_0017: stloc.0 - IL_0018: ldarg.1 - IL_0019: ldtoken NAnt.Core.DataTypeBase - 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_00cf + IL_0479: ldloc.3 + IL_047a: isinst [mscorlib]System.String + IL_047f: brfalse IL_049b - IL_002d: ldarg.1 - IL_002e: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0033: brtrue IL_00cf + IL_0484: nop + IL_0485: ldloc.1 + IL_0486: ldloc.3 + IL_0487: callvirt instance bool object::Equals(object) + IL_048c: ldc.i4.0 + IL_048d: ceq + IL_048f: box [mscorlib]System.Boolean + IL_0494: stloc.s 5 + IL_0496: br IL_1536 - IL_0038: ldloc.0 - IL_0039: brfalse IL_00cf + IL_049b: ldloc.1 + IL_049c: isinst [mscorlib]System.Boolean + IL_04a1: brfalse IL_04c8 - IL_003e: nop - IL_003f: ldsfld class [log4net]log4net.ILog NAnt.Core.TypeFactory::logger - IL_0044: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0049: ldstr "String_CreatingDataTypeBaseBuilder" - IL_004e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0053: ldarg.1 - IL_0054: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0059: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005e: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_0063: ldarg.0 - IL_0064: ldarg.1 - IL_0065: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_006a: newobj instance void class NAnt.Core.DataTypeBaseBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) - IL_006f: stloc.1 - IL_0070: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_0075: ldloc.1 - IL_0076: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_DataTypeName() - IL_007b: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(string) - IL_0080: brtrue IL_00c8 + IL_04a6: ldloc.3 + IL_04a7: isinst [mscorlib]System.Boolean + IL_04ac: brfalse IL_04c8 - IL_0085: nop - IL_0086: ldsfld class [log4net]log4net.ILog NAnt.Core.TypeFactory::logger - IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0090: ldstr "String_AddingDataType" - IL_0095: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009a: ldloc.1 - IL_009b: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_DataTypeName() - IL_00a0: ldloc.1 - IL_00a1: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_00a6: call string class NAnt.Core.TypeFactory::GetAssemblyLocation(class [mscorlib]System.Reflection.Assembly) - IL_00ab: ldloc.1 - IL_00ac: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() - IL_00b1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_00b6: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_00bb: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_00c0: ldloc.1 - IL_00c1: callvirt instance int32 class NAnt.Core.DataTypeBaseBuilderCollection::Add(class NAnt.Core.DataTypeBaseBuilder) - IL_00c6: pop - IL_00c7: nop - IL_00c8: ldc.i4.1 - IL_00c9: stloc.2 - IL_00ca: leave IL_00fa + IL_04b1: nop + IL_04b2: ldloc.1 + IL_04b3: ldloc.3 + IL_04b4: callvirt instance bool object::Equals(object) + IL_04b9: ldc.i4.0 + IL_04ba: ceq + IL_04bc: box [mscorlib]System.Boolean + IL_04c1: stloc.s 5 + IL_04c3: br IL_1536 - IL_00cf: nop - IL_00d0: ldc.i4.0 - IL_00d1: stloc.2 - IL_00d2: leave IL_00fa + IL_04c8: ldloc.1 + IL_04c9: isinst [mscorlib]System.Int32 + IL_04ce: brfalse IL_04f5 - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_00d7: pop - IL_00d8: nop - IL_00d9: ldarg.2 - IL_00da: ldc.i4 5000 - IL_00df: ldstr "Failure scanning \"{0}\" for data types." - IL_00e4: ldc.i4.1 - IL_00e5: newarr [mscorlib]System.Object - IL_00ea: dup - IL_00eb: ldc.i4.0 - IL_00ec: ldarg.1 - IL_00ed: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() - IL_00f2: stelem.ref - IL_00f3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00f8: rethrow - } // end handler 0 - IL_00fa: ldloc.2 - IL_00fb: ret - } // end of method TypeFactory::ScanTypeForDataTypes + IL_04d3: ldloc.3 + IL_04d4: isinst [mscorlib]System.Int32 + IL_04d9: brfalse IL_04f5 - // method line 1673 - .method private static hidebysig - default bool ScanTypeForFunctions (class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed - { - // Method begins at RVA 0x1eba8 - // Code size 333 (0x14d) - .maxstack 7 - .locals init ( - class NAnt.Core.Attributes.FunctionSetAttribute V_0, - bool V_1, - bool V_2, - string V_3, - class [mscorlib]System.Reflection.MethodInfo V_4, - class [mscorlib]System.Reflection.MethodInfo[] V_5, - int32 V_6, - class NAnt.Core.Attributes.FunctionAttribute V_7) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldtoken NAnt.Core.Attributes.FunctionSetAttribute - IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0012: castclass NAnt.Core.Attributes.FunctionSetAttribute - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: brtrue IL_0026 + IL_04de: nop + IL_04df: ldloc.1 + IL_04e0: ldloc.3 + IL_04e1: callvirt instance bool object::Equals(object) + IL_04e6: ldc.i4.0 + IL_04e7: ceq + IL_04e9: box [mscorlib]System.Boolean + IL_04ee: stloc.s 5 + IL_04f0: br IL_1536 - IL_001e: nop - IL_001f: ldc.i4.0 - IL_0020: stloc.1 - IL_0021: leave IL_014b + IL_04f5: ldloc.1 + IL_04f6: isinst [mscorlib]System.Int32 + IL_04fb: brfalse IL_0531 - IL_0026: ldarg.0 - IL_0027: ldtoken NAnt.Core.ExpressionEvaluator - IL_002c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0031: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0036: stloc.2 - IL_0037: ldarg.0 - IL_0038: ldtoken NAnt.Core.FunctionSetBase - IL_003d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0042: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) - IL_0047: brfalse IL_005b + IL_0500: ldloc.3 + IL_0501: isinst [mscorlib]System.Int64 + IL_0506: brfalse IL_0531 - IL_004c: ldarg.0 - IL_004d: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0052: brtrue IL_005b + IL_050b: nop + IL_050c: ldloc.1 + IL_050d: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_0512: stloc.s 9 + IL_0514: ldloca.s 9 + IL_0516: ldloc.3 + IL_0517: constrained. [mscorlib]System.Int64 + IL_051d: callvirt instance bool object::Equals(object) + IL_0522: ldc.i4.0 + IL_0523: ceq + IL_0525: box [mscorlib]System.Boolean + IL_052a: stloc.s 5 + IL_052c: br IL_1536 - IL_0057: nop - IL_0058: ldc.i4.1 - IL_0059: stloc.2 - IL_005a: nop - IL_005b: ldloc.2 - IL_005c: brfalse IL_0120 + IL_0531: ldloc.1 + IL_0532: isinst [mscorlib]System.Int32 + IL_0537: brfalse IL_056d - IL_0061: nop - IL_0062: ldloc.0 - IL_0063: callvirt instance string class NAnt.Core.Attributes.FunctionSetAttribute::get_Prefix() - IL_0068: stloc.3 - IL_0069: ldloc.3 - IL_006a: brfalse IL_0092 + IL_053c: ldloc.3 + IL_053d: isinst [mscorlib]System.Double + IL_0542: brfalse IL_056d - IL_006f: ldloc.3 - IL_0070: ldsfld string [mscorlib]System.String::Empty - IL_0075: call bool string::op_Inequality(string, string) - IL_007a: brfalse IL_0092 + IL_0547: nop + IL_0548: ldloc.1 + IL_0549: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_054e: stloc.s 10 + IL_0550: ldloca.s 10 + IL_0552: ldloc.3 + IL_0553: constrained. [mscorlib]System.Double + IL_0559: callvirt instance bool object::Equals(object) + IL_055e: ldc.i4.0 + IL_055f: ceq + IL_0561: box [mscorlib]System.Boolean + IL_0566: stloc.s 5 + IL_0568: br IL_1536 - IL_007f: nop - IL_0080: ldloc.3 - IL_0081: ldstr "::" - IL_0086: call string string::Concat(string, string) - IL_008b: stloc.3 - IL_008c: nop - IL_008d: br IL_00b9 + IL_056d: ldloc.1 + IL_056e: isinst [mscorlib]System.Int64 + IL_0573: brfalse IL_059a - IL_0092: nop - IL_0093: ldarg.1 - IL_0094: ldc.i4 4000 - IL_0099: ldstr "Ignoring functions in type \"{0}\": no prefix was set." - IL_009e: ldc.i4.1 - IL_009f: newarr [mscorlib]System.Object - IL_00a4: dup - IL_00a5: ldc.i4.0 - IL_00a6: ldarg.0 - IL_00a7: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() - IL_00ac: stelem.ref - IL_00ad: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00b2: ldc.i4.0 - IL_00b3: stloc.1 - IL_00b4: leave IL_014b + IL_0578: ldloc.3 + IL_0579: isinst [mscorlib]System.Int64 + IL_057e: brfalse IL_059a - IL_00b9: nop - IL_00ba: ldarg.0 - IL_00bb: ldc.i4.s 0x1c - IL_00bd: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_00c2: stloc.s 5 - IL_00c4: ldc.i4.0 - IL_00c5: stloc.s 6 - IL_00c7: br IL_010e + IL_0583: nop + IL_0584: ldloc.1 + IL_0585: ldloc.3 + IL_0586: callvirt instance bool object::Equals(object) + IL_058b: ldc.i4.0 + IL_058c: ceq + IL_058e: box [mscorlib]System.Boolean + IL_0593: stloc.s 5 + IL_0595: br IL_1536 - IL_00cc: ldloc.s 5 - IL_00ce: ldloc.s 6 - IL_00d0: ldelem.ref - IL_00d1: stloc.s 4 - IL_00d3: nop - IL_00d4: ldloc.s 4 - IL_00d6: ldtoken NAnt.Core.Attributes.FunctionAttribute - IL_00db: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00e0: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_00e5: castclass NAnt.Core.Attributes.FunctionAttribute - IL_00ea: stloc.s 7 - IL_00ec: ldloc.s 7 - IL_00ee: brfalse IL_0107 + IL_059a: ldloc.1 + IL_059b: isinst [mscorlib]System.Int64 + IL_05a0: brfalse IL_05d1 - IL_00f3: ldloc.3 - IL_00f4: ldloc.s 7 - IL_00f6: callvirt instance string class NAnt.Core.Attributes.FunctionAttribute::get_Name() - IL_00fb: call string string::Concat(string, string) - IL_0100: ldloc.s 4 - IL_0102: call void class NAnt.Core.TypeFactory::RegisterFunction(string, class [mscorlib]System.Reflection.MethodInfo) - IL_0107: nop - IL_0108: ldloc.s 6 - IL_010a: ldc.i4.1 - IL_010b: add - IL_010c: stloc.s 6 - IL_010e: ldloc.s 6 - IL_0110: ldloc.s 5 - IL_0112: ldlen - IL_0113: conv.i4 - IL_0114: blt IL_00cc + IL_05a5: ldloc.3 + IL_05a6: isinst [mscorlib]System.Int32 + IL_05ab: brfalse IL_05d1 - IL_0119: ldc.i4.1 - IL_011a: stloc.1 - IL_011b: leave IL_014b + IL_05b0: nop + IL_05b1: ldloc.1 + IL_05b2: ldloc.3 + IL_05b3: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_05b8: box [mscorlib]System.Int64 + IL_05bd: callvirt instance bool object::Equals(object) + IL_05c2: ldc.i4.0 + IL_05c3: ceq + IL_05c5: box [mscorlib]System.Boolean + IL_05ca: stloc.s 5 + IL_05cc: br IL_1536 - IL_0120: nop - IL_0121: ldc.i4.0 - IL_0122: stloc.1 - IL_0123: leave IL_014b + IL_05d1: ldloc.1 + IL_05d2: isinst [mscorlib]System.Int64 + IL_05d7: brfalse IL_060d - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0128: pop - IL_0129: nop - IL_012a: ldarg.1 - IL_012b: ldc.i4 5000 - IL_0130: ldstr "Failure scanning \"{0}\" for functions." - IL_0135: ldc.i4.1 - IL_0136: newarr [mscorlib]System.Object - IL_013b: dup - IL_013c: ldc.i4.0 - IL_013d: ldarg.0 - IL_013e: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() - IL_0143: stelem.ref - IL_0144: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0149: rethrow - } // end handler 0 - IL_014b: ldloc.1 - IL_014c: ret - } // end of method TypeFactory::ScanTypeForFunctions + IL_05dc: ldloc.3 + IL_05dd: isinst [mscorlib]System.Double + IL_05e2: brfalse IL_060d - // method line 1674 - .method private static hidebysig - default void RegisterFunction (string key, class [mscorlib]System.Reflection.MethodInfo info) cil managed - { - // Method begins at RVA 0x1ed20 - // Code size 119 (0x77) - .maxstack 3 - .locals init ( - object V_0, - class [mscorlib]System.Reflection.MethodInfo V_1, - class [mscorlib]System.Collections.ArrayList V_2, - class [mscorlib]System.Collections.ArrayList V_3) - IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection - IL_0006: ldarg.0 - IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brtrue IL_0026 + IL_05e7: nop + IL_05e8: ldloc.1 + IL_05e9: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_05ee: stloc.s 11 + IL_05f0: ldloca.s 11 + IL_05f2: ldloc.3 + IL_05f3: constrained. [mscorlib]System.Double + IL_05f9: callvirt instance bool object::Equals(object) + IL_05fe: ldc.i4.0 + IL_05ff: ceq + IL_0601: box [mscorlib]System.Boolean + IL_0606: stloc.s 5 + IL_0608: br IL_1536 - IL_0013: nop - IL_0014: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0020: nop - IL_0021: br IL_0076 + IL_060d: ldloc.1 + IL_060e: isinst [mscorlib]System.Double + IL_0613: brfalse IL_063a - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: isinst [mscorlib]System.Reflection.MethodInfo - IL_002d: stloc.1 - IL_002e: ldloc.1 - IL_002f: ldnull - IL_0030: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_0035: brfalse IL_0050 + IL_0618: ldloc.3 + IL_0619: isinst [mscorlib]System.Double + IL_061e: brfalse IL_063a - IL_003a: nop - IL_003b: ldloc.0 - IL_003c: castclass [mscorlib]System.Collections.ArrayList - IL_0041: stloc.2 - IL_0042: ldloc.2 - IL_0043: ldarg.1 - IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0049: pop - IL_004a: nop - IL_004b: br IL_0075 + IL_0623: nop + IL_0624: ldloc.1 + IL_0625: ldloc.3 + IL_0626: callvirt instance bool object::Equals(object) + IL_062b: ldc.i4.0 + IL_062c: ceq + IL_062e: box [mscorlib]System.Boolean + IL_0633: stloc.s 5 + IL_0635: br IL_1536 - IL_0050: nop - IL_0051: ldc.i4.3 - IL_0052: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0057: stloc.3 - IL_0058: ldloc.3 - IL_0059: ldloc.1 - IL_005a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_005f: pop - IL_0060: ldloc.3 - IL_0061: ldarg.1 - IL_0062: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0067: pop - IL_0068: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection - IL_006d: ldarg.0 - IL_006e: ldloc.3 - IL_006f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0074: nop - IL_0075: nop - IL_0076: ret - } // end of method TypeFactory::RegisterFunction + IL_063a: ldloc.1 + IL_063b: isinst [mscorlib]System.Double + IL_0640: brfalse IL_0671 - // method line 1675 - .method private static hidebysig - default bool ScanTypeForFilters (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed - { - // Method begins at RVA 0x1eda4 - // Code size 247 (0xf7) - .maxstack 7 - .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute V_0, - class NAnt.Core.Filters.FilterBuilder V_1, - bool V_2) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0012: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_0017: stloc.0 - IL_0018: ldarg.1 - IL_0019: ldtoken NAnt.Core.Filters.Filter - 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_00cb + IL_0645: ldloc.3 + IL_0646: isinst [mscorlib]System.Int32 + IL_064b: brfalse IL_0671 - IL_002d: ldarg.1 - IL_002e: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0033: brtrue IL_00cb + IL_0650: nop + IL_0651: ldloc.1 + IL_0652: ldloc.3 + IL_0653: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0658: box [mscorlib]System.Double + IL_065d: callvirt instance bool object::Equals(object) + IL_0662: ldc.i4.0 + IL_0663: ceq + IL_0665: box [mscorlib]System.Boolean + IL_066a: stloc.s 5 + IL_066c: br IL_1536 - IL_0038: ldloc.0 - IL_0039: brfalse IL_00cb + IL_0671: ldloc.1 + IL_0672: isinst [mscorlib]System.Double + IL_0677: brfalse IL_06a8 - IL_003e: nop - IL_003f: ldarg.2 - IL_0040: ldc.i4 1000 - IL_0045: ldstr "Creating FilterBuilder for \"{0}\"." - IL_004a: ldc.i4.1 - IL_004b: newarr [mscorlib]System.Object - IL_0050: dup - IL_0051: ldc.i4.0 - IL_0052: ldarg.1 - IL_0053: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0058: stelem.ref - IL_0059: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_005e: ldarg.0 - IL_005f: ldarg.1 - IL_0060: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0065: newobj instance void class NAnt.Core.Filters.FilterBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) - IL_006a: stloc.1 - IL_006b: call class NAnt.Core.Filters.FilterBuilderCollection class NAnt.Core.TypeFactory::get_FilterBuilders() - IL_0070: ldloc.1 - IL_0071: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_FilterName() - IL_0076: callvirt instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(string) - IL_007b: brtrue IL_00c4 + IL_067c: ldloc.3 + IL_067d: isinst [mscorlib]System.Int64 + IL_0682: brfalse IL_06a8 - IL_0080: nop - IL_0081: call class NAnt.Core.Filters.FilterBuilderCollection class NAnt.Core.TypeFactory::get_FilterBuilders() - IL_0086: ldloc.1 - IL_0087: callvirt instance int32 class NAnt.Core.Filters.FilterBuilderCollection::Add(class NAnt.Core.Filters.FilterBuilder) - IL_008c: pop - IL_008d: ldarg.2 - IL_008e: ldc.i4 1000 - IL_0093: ldstr "Adding filter \"{0}\" from {1}:{2}." - IL_0098: ldc.i4.3 - IL_0099: newarr [mscorlib]System.Object - IL_009e: dup - IL_009f: ldc.i4.0 - IL_00a0: ldloc.1 - IL_00a1: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_FilterName() - IL_00a6: stelem.ref - IL_00a7: dup - IL_00a8: ldc.i4.1 - IL_00a9: ldloc.1 - IL_00aa: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_00af: call string class NAnt.Core.TypeFactory::GetAssemblyLocation(class [mscorlib]System.Reflection.Assembly) - IL_00b4: stelem.ref - IL_00b5: dup - IL_00b6: ldc.i4.2 - IL_00b7: ldloc.1 - IL_00b8: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_ClassName() - IL_00bd: stelem.ref - IL_00be: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00c3: nop - IL_00c4: ldc.i4.1 - IL_00c5: stloc.2 - IL_00c6: leave IL_00f5 + IL_0687: nop + IL_0688: ldloc.1 + IL_0689: ldloc.3 + IL_068a: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_068f: box [mscorlib]System.Double + IL_0694: callvirt instance bool object::Equals(object) + IL_0699: ldc.i4.0 + IL_069a: ceq + IL_069c: box [mscorlib]System.Boolean + IL_06a1: stloc.s 5 + IL_06a3: br IL_1536 - IL_00cb: ldc.i4.0 - IL_00cc: stloc.2 - IL_00cd: leave IL_00f5 + IL_06a8: ldloc.1 + IL_06a9: isinst [mscorlib]System.DateTime + IL_06ae: brfalse IL_06d5 - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_00d2: pop - IL_00d3: nop - IL_00d4: ldarg.2 - IL_00d5: ldc.i4 5000 - IL_00da: ldstr "Failure scanning \"{0}\" for filters." - IL_00df: ldc.i4.1 - IL_00e0: newarr [mscorlib]System.Object - IL_00e5: dup - IL_00e6: ldc.i4.0 - IL_00e7: ldarg.1 - IL_00e8: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() - IL_00ed: stelem.ref - IL_00ee: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00f3: rethrow - } // end handler 0 - IL_00f5: ldloc.2 - IL_00f6: ret - } // end of method TypeFactory::ScanTypeForFilters + IL_06b3: ldloc.3 + IL_06b4: isinst [mscorlib]System.DateTime + IL_06b9: brfalse IL_06d5 - // method line 1676 - .method private static hidebysig - default string GetAssemblyLocation (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed - { - // Method begins at RVA 0x1eeb8 - // Code size 35 (0x23) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_0008: stloc.0 - IL_0009: leave IL_0021 + IL_06be: nop + IL_06bf: ldloc.1 + IL_06c0: ldloc.3 + IL_06c1: callvirt instance bool object::Equals(object) + IL_06c6: ldc.i4.0 + IL_06c7: ceq + IL_06c9: box [mscorlib]System.Boolean + IL_06ce: stloc.s 5 + IL_06d0: br IL_1536 - } // end .try 0 - catch class [mscorlib]System.NotSupportedException { // 0 - IL_000e: pop - IL_000f: nop - IL_0010: ldarg.0 - IL_0011: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_0016: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_001b: stloc.0 - IL_001c: leave IL_0021 + IL_06d5: ldloc.1 + IL_06d6: isinst [mscorlib]System.TimeSpan + IL_06db: brfalse IL_0702 - } // end handler 0 - IL_0021: ldloc.0 - IL_0022: ret - } // end of method TypeFactory::GetAssemblyLocation + IL_06e0: ldloc.3 + IL_06e1: isinst [mscorlib]System.TimeSpan + IL_06e6: brfalse IL_0702 - // method line 1677 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x1eef8 - // Code size 71 (0x47) - .maxstack 1 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.TypeFactory::logger - IL_0014: newobj instance void class NAnt.Core.TaskBuilderCollection::'.ctor'() - IL_0019: stsfld class NAnt.Core.TaskBuilderCollection NAnt.Core.TypeFactory::_taskBuilders - IL_001e: newobj instance void class NAnt.Core.DataTypeBaseBuilderCollection::'.ctor'() - IL_0023: stsfld class NAnt.Core.DataTypeBaseBuilderCollection NAnt.Core.TypeFactory::_dataTypeBuilders - IL_0028: newobj instance void class NAnt.Core.Filters.FilterBuilderCollection::'.ctor'() - IL_002d: stsfld class NAnt.Core.Filters.FilterBuilderCollection NAnt.Core.TypeFactory::_filterBuilders - IL_0032: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0037: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection - IL_003c: newobj instance void class NAnt.Core.Extensibility.PluginScanner::'.ctor'() - IL_0041: stsfld class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::_pluginScanner - IL_0046: ret - } // end of method TypeFactory::.cctor + IL_06eb: nop + IL_06ec: ldloc.1 + IL_06ed: ldloc.3 + IL_06ee: callvirt instance bool object::Equals(object) + IL_06f3: ldc.i4.0 + IL_06f4: ceq + IL_06f6: box [mscorlib]System.Boolean + IL_06fb: stloc.s 5 + IL_06fd: br IL_1536 - .property class NAnt.Core.TaskBuilderCollection TaskBuilders () - { - .get default class NAnt.Core.TaskBuilderCollection NAnt.Core.TypeFactory::get_TaskBuilders () - } - .property class NAnt.Core.DataTypeBaseBuilderCollection DataTypeBuilders () - { - .get default class NAnt.Core.DataTypeBaseBuilderCollection NAnt.Core.TypeFactory::get_DataTypeBuilders () - } - .property class NAnt.Core.Filters.FilterBuilderCollection FilterBuilders () - { - .get default class NAnt.Core.Filters.FilterBuilderCollection NAnt.Core.TypeFactory::get_FilterBuilders () - } - .property class NAnt.Core.Extensibility.PluginScanner PluginScanner () - { - .get default class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::get_PluginScanner () - } - } // end of class NAnt.Core.TypeFactory -} + IL_0702: ldloc.1 + IL_0703: isinst [mscorlib]System.Version + IL_0708: brfalse IL_072f -.namespace NAnt.Core -{ - .class public auto ansi abstract beforefieldinit ExpressionEvalBase - extends [mscorlib]System.Object - { - .field private valuetype NAnt.Core.ExpressionEvalBase/EvalMode _evalMode - .field private class NAnt.Core.ExpressionTokenizer _tokenizer - .field private initonly class NAnt.Core.Project _project + IL_070d: ldloc.3 + IL_070e: isinst [mscorlib]System.Version + IL_0713: brfalse IL_072f - // method line 1678 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project) cil managed - { - // Method begins at RVA 0x1ef4b - // Code size 39 (0x27) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_0007: ldarg.0 - IL_0008: call instance void object::'.ctor'() - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: brtrue IL_001f + IL_0718: nop + IL_0719: ldloc.1 + IL_071a: ldloc.3 + IL_071b: callvirt instance bool object::Equals(object) + IL_0720: ldc.i4.0 + IL_0721: ceq + IL_0723: box [mscorlib]System.Boolean + IL_0728: stloc.s 5 + IL_072a: br IL_1536 - IL_0014: ldstr "project" - IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001e: throw - IL_001f: ldarg.0 - IL_0020: ldarg.1 - IL_0021: stfld class NAnt.Core.Project NAnt.Core.ExpressionEvalBase::_project - IL_0026: ret - } // end of method ExpressionEvalBase::.ctor + IL_072f: ldloc.1 + IL_0730: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0735: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_073a: brfalse IL_0795 - // method line 1679 - .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed - { - // Method begins at RVA 0x1ef74 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Project V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Project NAnt.Core.ExpressionEvalBase::_project - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_073f: nop + IL_0740: ldloc.3 + IL_0741: isinst [mscorlib]System.String + IL_0746: brfalse IL_0773 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionEvalBase::get_Project + IL_074b: nop + IL_074c: ldloc.1 + IL_074d: ldloc.1 + IL_074e: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0753: ldloc.3 + IL_0754: castclass [mscorlib]System.String + IL_0759: ldc.i4.0 + IL_075a: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_075f: callvirt instance bool object::Equals(object) + IL_0764: ldc.i4.0 + IL_0765: ceq + IL_0767: box [mscorlib]System.Boolean + IL_076c: stloc.s 5 + IL_076e: br IL_1536 - // method line 1680 - .method public hidebysig - instance default object Evaluate (class NAnt.Core.ExpressionTokenizer tokenizer) cil managed - { - // Method begins at RVA 0x1ef90 - // Code size 29 (0x1d) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: stfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_000f: ldarg.0 - IL_0010: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_0015: stloc.0 - IL_0016: br IL_001b + IL_0773: nop + IL_0774: ldloc.1 + IL_0775: ldloc.1 + IL_0776: callvirt instance class [mscorlib]System.Type object::GetType() + IL_077b: ldloc.3 + IL_077c: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) + IL_0781: callvirt instance bool object::Equals(object) + IL_0786: ldc.i4.0 + IL_0787: ceq + IL_0789: box [mscorlib]System.Boolean + IL_078e: stloc.s 5 + IL_0790: br IL_1536 - IL_001b: ldloc.0 - IL_001c: ret - } // end of method ExpressionEvalBase::Evaluate + IL_0795: ldloc.3 + IL_0796: callvirt instance class [mscorlib]System.Type object::GetType() + IL_079b: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_07a0: brfalse IL_07fb - // method line 1681 - .method public hidebysig - instance default object Evaluate (string s) cil managed - { - // Method begins at RVA 0x1efbc - // Code size 88 (0x58) - .maxstack 3 - .locals init ( - object V_0, - object V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.ExpressionTokenizer::'.ctor'() - IL_0007: stfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_000c: ldarg.0 - IL_000d: ldc.i4.0 - IL_000e: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0019: ldarg.1 - IL_001a: callvirt instance void class NAnt.Core.ExpressionTokenizer::InitTokenizer(string) - IL_001f: ldarg.0 - IL_0020: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_0025: stloc.0 - IL_0026: ldarg.0 - IL_0027: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_002c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0031: ldc.i4.1 - IL_0032: beq IL_004f + IL_07a5: nop + IL_07a6: ldloc.1 + IL_07a7: isinst [mscorlib]System.String + IL_07ac: brfalse IL_07d9 - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldstr "Unexpected token at the end of expression" - IL_003e: ldarg.0 - IL_003f: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0044: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0049: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_004e: throw - IL_004f: ldloc.0 - IL_0050: stloc.1 - IL_0051: br IL_0056 + IL_07b1: nop + IL_07b2: ldloc.3 + IL_07b3: ldloc.3 + IL_07b4: callvirt instance class [mscorlib]System.Type object::GetType() + IL_07b9: ldloc.1 + IL_07ba: castclass [mscorlib]System.String + IL_07bf: ldc.i4.0 + IL_07c0: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_07c5: callvirt instance bool object::Equals(object) + IL_07ca: ldc.i4.0 + IL_07cb: ceq + IL_07cd: box [mscorlib]System.Boolean + IL_07d2: stloc.s 5 + IL_07d4: br IL_1536 - IL_0056: ldloc.1 - IL_0057: ret - } // end of method ExpressionEvalBase::Evaluate + IL_07d9: nop + IL_07da: ldloc.3 + IL_07db: ldloc.3 + IL_07dc: callvirt instance class [mscorlib]System.Type object::GetType() + IL_07e1: ldloc.1 + IL_07e2: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) + IL_07e7: callvirt instance bool object::Equals(object) + IL_07ec: ldc.i4.0 + IL_07ed: ceq + IL_07ef: box [mscorlib]System.Boolean + IL_07f4: stloc.s 5 + IL_07f6: br IL_1536 - // method line 1682 - .method public hidebysig - instance default void CheckSyntax (string s) cil managed - { - // Method begins at RVA 0x1f020 - // Code size 80 (0x50) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.ExpressionTokenizer::'.ctor'() - IL_0007: stfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_000c: ldarg.0 - IL_000d: ldc.i4.1 - IL_000e: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0019: ldarg.1 - IL_001a: callvirt instance void class NAnt.Core.ExpressionTokenizer::InitTokenizer(string) - IL_001f: ldarg.0 - IL_0020: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_0025: pop - IL_0026: ldarg.0 - IL_0027: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_002c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0031: ldc.i4.1 - IL_0032: beq IL_004f + IL_07fb: ldarg.0 + IL_07fc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0801: ldstr "NA1042" + IL_0806: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_080b: ldarg.0 + IL_080c: ldloc.1 + IL_080d: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0812: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0817: ldarg.0 + IL_0818: ldloc.3 + IL_0819: callvirt instance class [mscorlib]System.Type object::GetType() + IL_081e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0823: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0828: ldloc.0 + IL_0829: ldloc.s 4 + IL_082b: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0830: throw + IL_0831: ldloc.1 + IL_0832: isinst [mscorlib]System.String + IL_0837: brfalse IL_086e - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldstr "Unexpected token at the end of expression" - IL_003e: ldarg.0 - IL_003f: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0044: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0049: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_004e: throw - IL_004f: ret - } // end of method ExpressionEvalBase::CheckSyntax + IL_083c: ldloc.3 + IL_083d: isinst [mscorlib]System.String + IL_0842: brfalse IL_086e - // method line 1683 - .method private hidebysig - instance default bool SyntaxCheckOnly () cil managed - { - // Method begins at RVA 0x1f07c - // Code size 18 (0x12) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_0007: ldc.i4.1 - IL_0008: ceq - IL_000a: stloc.0 - IL_000b: br IL_0010 + IL_0847: nop + IL_0848: ldloc.1 + IL_0849: castclass [mscorlib]System.String + IL_084e: ldloc.3 + IL_084f: castclass [mscorlib]System.String + IL_0854: ldc.i4.0 + IL_0855: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_085a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_085f: ldc.i4.0 + IL_0860: clt + IL_0862: box [mscorlib]System.Boolean + IL_0867: stloc.s 5 + IL_0869: br IL_1536 - IL_0010: ldloc.0 - IL_0011: ret - } // end of method ExpressionEvalBase::SyntaxCheckOnly + IL_086e: ldloc.1 + IL_086f: isinst [mscorlib]System.Boolean + IL_0874: brfalse IL_08a0 - // method line 1684 - .method private hidebysig - instance default object ParseExpression () cil managed - { - // Method begins at RVA 0x1f09c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance object class NAnt.Core.ExpressionEvalBase::ParseBooleanOr() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0879: ldloc.3 + IL_087a: isinst [mscorlib]System.Boolean + IL_087f: brfalse IL_08a0 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionEvalBase::ParseExpression + IL_0884: nop + IL_0885: ldloc.1 + IL_0886: castclass [mscorlib]System.IComparable + IL_088b: ldloc.3 + IL_088c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0891: ldc.i4.0 + IL_0892: clt + IL_0894: box [mscorlib]System.Boolean + IL_0899: stloc.s 5 + IL_089b: br IL_1536 - // method line 1685 - .method private hidebysig - instance default object ParseBooleanOr () cil managed - { - // Method begins at RVA 0x1f0b8 - // Code size 256 (0x100) - .maxstack 6 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0, - object V_1, - valuetype NAnt.Core.ExpressionEvalBase/EvalMode V_2, - bool V_3, - valuetype NAnt.Core.ExpressionTokenizer/Position V_4, - object V_5, - valuetype NAnt.Core.ExpressionTokenizer/Position V_6, - bool V_7, - object V_8) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseBooleanAnd() - IL_0013: stloc.1 - IL_0014: ldarg.0 - IL_0015: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_001a: stloc.2 - .try { // 0 - IL_001b: nop - IL_001c: br IL_00d6 + IL_08a0: ldloc.1 + IL_08a1: isinst [mscorlib]System.Int32 + IL_08a6: brfalse IL_08d2 - IL_0021: nop - IL_0022: ldc.i4.1 - IL_0023: stloc.3 - IL_0024: ldarg.0 - IL_0025: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_002a: brtrue IL_0068 + IL_08ab: ldloc.3 + IL_08ac: isinst [mscorlib]System.Int32 + IL_08b1: brfalse IL_08d2 - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldtoken [mscorlib]System.Boolean - IL_0036: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003b: ldloc.1 - IL_003c: ldstr "the left hand side of the 'or' operator" - IL_0041: ldloc.0 - IL_0042: ldarg.0 - IL_0043: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0048: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_004d: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0052: unbox.any [mscorlib]System.Boolean - IL_0057: stloc.3 - IL_0058: ldloc.3 - IL_0059: brfalse IL_0067 + IL_08b6: nop + IL_08b7: ldloc.1 + IL_08b8: castclass [mscorlib]System.IComparable + IL_08bd: ldloc.3 + IL_08be: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_08c3: ldc.i4.0 + IL_08c4: clt + IL_08c6: box [mscorlib]System.Boolean + IL_08cb: stloc.s 5 + IL_08cd: br IL_1536 - IL_005e: nop - IL_005f: ldarg.0 - IL_0060: ldc.i4.1 - IL_0061: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_0066: nop - IL_0067: nop - IL_0068: ldarg.0 - IL_0069: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_006e: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0073: ldarg.0 - IL_0074: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0079: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_007e: stloc.s 4 - IL_0080: ldarg.0 - IL_0081: call instance object class NAnt.Core.ExpressionEvalBase::ParseBooleanAnd() - IL_0086: stloc.s 5 - IL_0088: ldarg.0 - IL_0089: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_008e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0093: stloc.s 6 - IL_0095: ldarg.0 - IL_0096: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_009b: brtrue IL_00d5 + IL_08d2: ldloc.1 + IL_08d3: isinst [mscorlib]System.Int32 + IL_08d8: brfalse IL_0909 - IL_00a0: nop - IL_00a1: ldarg.0 - IL_00a2: ldtoken [mscorlib]System.Boolean - IL_00a7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00ac: ldloc.s 5 - IL_00ae: ldstr "the right hand side of the 'or' operator" - IL_00b3: ldloc.s 4 - IL_00b5: ldloc.s 6 - IL_00b7: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_00bc: unbox.any [mscorlib]System.Boolean - IL_00c1: stloc.s 7 - IL_00c3: ldloc.3 - IL_00c4: brtrue IL_00cd + IL_08dd: ldloc.3 + IL_08de: isinst [mscorlib]System.Int64 + IL_08e3: brfalse IL_0909 - IL_00c9: ldloc.s 7 - IL_00cb: br.s IL_00ce + IL_08e8: nop + IL_08e9: ldloc.1 + IL_08ea: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_08ef: box [mscorlib]System.Int64 + IL_08f4: ldloc.3 + IL_08f5: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_08fa: ldc.i4.0 + IL_08fb: clt + IL_08fd: box [mscorlib]System.Boolean + IL_0902: stloc.s 5 + IL_0904: br IL_1536 - IL_00cd: ldc.i4.1 - IL_00ce: box [mscorlib]System.Boolean - IL_00d3: stloc.1 - IL_00d4: nop - IL_00d5: nop - IL_00d6: ldarg.0 - IL_00d7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00dc: ldstr "or" - IL_00e1: callvirt instance bool class NAnt.Core.ExpressionTokenizer::IsKeyword(string) - IL_00e6: brtrue IL_0021 + IL_0909: ldloc.1 + IL_090a: isinst [mscorlib]System.Int32 + IL_090f: brfalse IL_0940 - IL_00eb: ldloc.1 - IL_00ec: stloc.s 8 - IL_00ee: leave IL_00fd + IL_0914: ldloc.3 + IL_0915: isinst [mscorlib]System.Double + IL_091a: brfalse IL_0940 - } // end .try 0 - finally { // 0 - IL_00f3: nop - IL_00f4: ldarg.0 - IL_00f5: ldloc.2 - IL_00f6: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_00fb: nop - IL_00fc: endfinally - } // end handler 0 - IL_00fd: ldloc.s 8 - IL_00ff: ret - } // end of method ExpressionEvalBase::ParseBooleanOr + IL_091f: nop + IL_0920: ldloc.1 + IL_0921: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0926: box [mscorlib]System.Double + IL_092b: ldloc.3 + IL_092c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0931: ldc.i4.0 + IL_0932: clt + IL_0934: box [mscorlib]System.Boolean + IL_0939: stloc.s 5 + IL_093b: br IL_1536 - // method line 1686 - .method private hidebysig - instance default object ParseBooleanAnd () cil managed - { - // Method begins at RVA 0x1f1d4 - // Code size 256 (0x100) - .maxstack 6 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0, - object V_1, - valuetype NAnt.Core.ExpressionEvalBase/EvalMode V_2, - bool V_3, - valuetype NAnt.Core.ExpressionTokenizer/Position V_4, - object V_5, - valuetype NAnt.Core.ExpressionTokenizer/Position V_6, - bool V_7, - object V_8) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseRelationalExpression() - IL_0013: stloc.1 - IL_0014: ldarg.0 - IL_0015: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_001a: stloc.2 - .try { // 0 - IL_001b: nop - IL_001c: br IL_00d6 + IL_0940: ldloc.1 + IL_0941: isinst [mscorlib]System.Int64 + IL_0946: brfalse IL_0972 - IL_0021: nop - IL_0022: ldc.i4.1 - IL_0023: stloc.3 - IL_0024: ldarg.0 - IL_0025: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_002a: brtrue IL_0068 + IL_094b: ldloc.3 + IL_094c: isinst [mscorlib]System.Int64 + IL_0951: brfalse IL_0972 - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldtoken [mscorlib]System.Boolean - IL_0036: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003b: ldloc.1 - IL_003c: ldstr "the left hand side of the 'and' operator" - IL_0041: ldloc.0 - IL_0042: ldarg.0 - IL_0043: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0048: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_004d: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0052: unbox.any [mscorlib]System.Boolean - IL_0057: stloc.3 - IL_0058: ldloc.3 - IL_0059: brtrue IL_0067 + IL_0956: nop + IL_0957: ldloc.1 + IL_0958: castclass [mscorlib]System.IComparable + IL_095d: ldloc.3 + IL_095e: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0963: ldc.i4.0 + IL_0964: clt + IL_0966: box [mscorlib]System.Boolean + IL_096b: stloc.s 5 + IL_096d: br IL_1536 - IL_005e: nop - IL_005f: ldarg.0 - IL_0060: ldc.i4.1 - IL_0061: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_0066: nop - IL_0067: nop - IL_0068: ldarg.0 - IL_0069: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_006e: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0073: ldarg.0 - IL_0074: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0079: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_007e: stloc.s 4 - IL_0080: ldarg.0 - IL_0081: call instance object class NAnt.Core.ExpressionEvalBase::ParseRelationalExpression() - IL_0086: stloc.s 5 - IL_0088: ldarg.0 - IL_0089: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_008e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0093: stloc.s 6 - IL_0095: ldarg.0 - IL_0096: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_009b: brtrue IL_00d5 + IL_0972: ldloc.1 + IL_0973: isinst [mscorlib]System.Int64 + IL_0978: brfalse IL_09ae - IL_00a0: nop - IL_00a1: ldarg.0 - IL_00a2: ldtoken [mscorlib]System.Boolean - IL_00a7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00ac: ldloc.s 5 - IL_00ae: ldstr "the right hand side of the 'and' operator" - IL_00b3: ldloc.s 4 - IL_00b5: ldloc.s 6 - IL_00b7: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_00bc: unbox.any [mscorlib]System.Boolean - IL_00c1: stloc.s 7 - IL_00c3: ldloc.3 - IL_00c4: brfalse IL_00cd + IL_097d: ldloc.3 + IL_097e: isinst [mscorlib]System.Int32 + IL_0983: brfalse IL_09ae - IL_00c9: ldloc.s 7 - IL_00cb: br.s IL_00ce + IL_0988: nop + IL_0989: ldloc.1 + IL_098a: castclass [mscorlib]System.IComparable + IL_098f: ldloc.3 + IL_0990: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_0995: box [mscorlib]System.Int64 + IL_099a: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_099f: ldc.i4.0 + IL_09a0: clt + IL_09a2: box [mscorlib]System.Boolean + IL_09a7: stloc.s 5 + IL_09a9: br IL_1536 - IL_00cd: ldc.i4.0 - IL_00ce: box [mscorlib]System.Boolean - IL_00d3: stloc.1 - IL_00d4: nop - IL_00d5: nop - IL_00d6: ldarg.0 - IL_00d7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00dc: ldstr "and" - IL_00e1: callvirt instance bool class NAnt.Core.ExpressionTokenizer::IsKeyword(string) - IL_00e6: brtrue IL_0021 + IL_09ae: ldloc.1 + IL_09af: isinst [mscorlib]System.Int64 + IL_09b4: brfalse IL_09e5 - IL_00eb: ldloc.1 - IL_00ec: stloc.s 8 - IL_00ee: leave IL_00fd + IL_09b9: ldloc.3 + IL_09ba: isinst [mscorlib]System.Double + IL_09bf: brfalse IL_09e5 - } // end .try 0 - finally { // 0 - IL_00f3: nop - IL_00f4: ldarg.0 - IL_00f5: ldloc.2 - IL_00f6: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_00fb: nop - IL_00fc: endfinally - } // end handler 0 - IL_00fd: ldloc.s 8 - IL_00ff: ret - } // end of method ExpressionEvalBase::ParseBooleanAnd + IL_09c4: nop + IL_09c5: ldloc.1 + IL_09c6: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_09cb: box [mscorlib]System.Double + IL_09d0: ldloc.3 + IL_09d1: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_09d6: ldc.i4.0 + IL_09d7: clt + IL_09d9: box [mscorlib]System.Boolean + IL_09de: stloc.s 5 + IL_09e0: br IL_1536 - // method line 1687 - .method private hidebysig - instance default object ParseRelationalExpression () cil managed - { - // Method begins at RVA 0x1f2f0 - // Code size 5433 (0x1539) - .maxstack 6 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0, - object V_1, - valuetype NAnt.Core.ExpressionTokenizer/TokenType V_2, - object V_3, - valuetype NAnt.Core.ExpressionTokenizer/Position V_4, - object V_5, - int64 V_6, - float64 V_7, - float64 V_8, - int64 V_9, - float64 V_10, - float64 V_11) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseAddSubtract() - IL_0013: stloc.1 - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_001a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_001f: ldc.i4.5 - IL_0020: beq IL_007c + IL_09e5: ldloc.1 + IL_09e6: isinst [mscorlib]System.Double + IL_09eb: brfalse IL_0a17 - IL_0025: ldarg.0 - IL_0026: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_002b: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0030: ldc.i4.6 - IL_0031: beq IL_007c + IL_09f0: ldloc.3 + IL_09f1: isinst [mscorlib]System.Double + IL_09f6: brfalse IL_0a17 - IL_0036: ldarg.0 - IL_0037: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_003c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0041: ldc.i4.7 - IL_0042: beq IL_007c + IL_09fb: nop + IL_09fc: ldloc.1 + IL_09fd: castclass [mscorlib]System.IComparable + IL_0a02: ldloc.3 + IL_0a03: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0a08: ldc.i4.0 + IL_0a09: clt + IL_0a0b: box [mscorlib]System.Boolean + IL_0a10: stloc.s 5 + IL_0a12: br IL_1536 - IL_0047: ldarg.0 - IL_0048: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_004d: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0052: ldc.i4.8 - IL_0053: beq IL_007c + IL_0a17: ldloc.1 + IL_0a18: isinst [mscorlib]System.Double + IL_0a1d: brfalse IL_0a53 - IL_0058: ldarg.0 - IL_0059: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_005e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0063: ldc.i4.s 0x09 - IL_0065: beq IL_007c + IL_0a22: ldloc.3 + IL_0a23: isinst [mscorlib]System.Int32 + IL_0a28: brfalse IL_0a53 - IL_006a: ldarg.0 - IL_006b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0070: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0075: ldc.i4.s 0x0a - IL_0077: bne.un IL_152e + IL_0a2d: nop + IL_0a2e: ldloc.1 + IL_0a2f: castclass [mscorlib]System.IComparable + IL_0a34: ldloc.3 + IL_0a35: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0a3a: box [mscorlib]System.Double + IL_0a3f: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0a44: ldc.i4.0 + IL_0a45: clt + IL_0a47: box [mscorlib]System.Boolean + IL_0a4c: stloc.s 5 + IL_0a4e: br IL_1536 - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0083: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0088: stloc.2 - IL_0089: ldarg.0 - IL_008a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_008f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0094: ldarg.0 - IL_0095: call instance object class NAnt.Core.ExpressionEvalBase::ParseAddSubtract() - IL_009a: stloc.3 - IL_009b: ldarg.0 - IL_009c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00a1: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_00a6: stloc.s 4 - IL_00a8: ldarg.0 - IL_00a9: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_00ae: brfalse IL_00bc + IL_0a53: ldloc.1 + IL_0a54: isinst [mscorlib]System.Double + IL_0a59: brfalse IL_0a8f - IL_00b3: nop - IL_00b4: ldnull - IL_00b5: stloc.s 5 - IL_00b7: br IL_1536 + IL_0a5e: ldloc.3 + IL_0a5f: isinst [mscorlib]System.Int64 + IL_0a64: brfalse IL_0a8f - IL_00bc: ldloc.2 - IL_00bd: ldc.i4.5 - IL_00be: sub - IL_00bf: switch ( - IL_00e1, - IL_046e, - IL_0831, - IL_0b5b, - IL_0e85, - IL_11d9) - IL_00dc: br IL_152d + IL_0a69: nop + IL_0a6a: ldloc.1 + IL_0a6b: castclass [mscorlib]System.IComparable + IL_0a70: ldloc.3 + IL_0a71: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0a76: box [mscorlib]System.Double + IL_0a7b: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0a80: ldc.i4.0 + IL_0a81: clt + IL_0a83: box [mscorlib]System.Boolean + IL_0a88: stloc.s 5 + IL_0a8a: br IL_1536 - IL_00e1: ldloc.1 - IL_00e2: isinst [mscorlib]System.String - IL_00e7: brfalse IL_010b + IL_0a8f: ldloc.1 + IL_0a90: isinst [mscorlib]System.DateTime + IL_0a95: brfalse IL_0ac1 - IL_00ec: ldloc.3 - IL_00ed: isinst [mscorlib]System.String - IL_00f2: brfalse IL_010b + IL_0a9a: ldloc.3 + IL_0a9b: isinst [mscorlib]System.DateTime + IL_0aa0: brfalse IL_0ac1 - IL_00f7: nop - IL_00f8: ldloc.1 - IL_00f9: ldloc.3 - IL_00fa: callvirt instance bool object::Equals(object) - IL_00ff: box [mscorlib]System.Boolean - IL_0104: stloc.s 5 - IL_0106: br IL_1536 + IL_0aa5: nop + IL_0aa6: ldloc.1 + IL_0aa7: castclass [mscorlib]System.IComparable + IL_0aac: ldloc.3 + IL_0aad: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0ab2: ldc.i4.0 + IL_0ab3: clt + IL_0ab5: box [mscorlib]System.Boolean + IL_0aba: stloc.s 5 + IL_0abc: br IL_1536 - IL_010b: ldloc.1 - IL_010c: isinst [mscorlib]System.Boolean - IL_0111: brfalse IL_0135 + IL_0ac1: ldloc.1 + IL_0ac2: isinst [mscorlib]System.TimeSpan + IL_0ac7: brfalse IL_0af3 - IL_0116: ldloc.3 - IL_0117: isinst [mscorlib]System.Boolean - IL_011c: brfalse IL_0135 + IL_0acc: ldloc.3 + IL_0acd: isinst [mscorlib]System.TimeSpan + IL_0ad2: brfalse IL_0af3 - IL_0121: nop - IL_0122: ldloc.1 - IL_0123: ldloc.3 - IL_0124: callvirt instance bool object::Equals(object) - IL_0129: box [mscorlib]System.Boolean - IL_012e: stloc.s 5 - IL_0130: br IL_1536 + IL_0ad7: nop + IL_0ad8: ldloc.1 + IL_0ad9: castclass [mscorlib]System.IComparable + IL_0ade: ldloc.3 + IL_0adf: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0ae4: ldc.i4.0 + IL_0ae5: clt + IL_0ae7: box [mscorlib]System.Boolean + IL_0aec: stloc.s 5 + IL_0aee: br IL_1536 - IL_0135: ldloc.1 - IL_0136: isinst [mscorlib]System.Int32 - IL_013b: brfalse IL_015f + IL_0af3: ldloc.1 + IL_0af4: isinst [mscorlib]System.Version + IL_0af9: brfalse IL_0b25 - IL_0140: ldloc.3 - IL_0141: isinst [mscorlib]System.Int32 - IL_0146: brfalse IL_015f + IL_0afe: ldloc.3 + IL_0aff: isinst [mscorlib]System.Version + IL_0b04: brfalse IL_0b25 - IL_014b: nop - IL_014c: ldloc.1 - IL_014d: ldloc.3 - IL_014e: callvirt instance bool object::Equals(object) - IL_0153: box [mscorlib]System.Boolean - IL_0158: stloc.s 5 - IL_015a: br IL_1536 + IL_0b09: nop + IL_0b0a: ldloc.1 + IL_0b0b: castclass [mscorlib]System.IComparable + IL_0b10: ldloc.3 + IL_0b11: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0b16: ldc.i4.0 + IL_0b17: clt + IL_0b19: box [mscorlib]System.Boolean + IL_0b1e: stloc.s 5 + IL_0b20: br IL_1536 - IL_015f: ldloc.1 - IL_0160: isinst [mscorlib]System.Int32 - IL_0165: brfalse IL_0198 + IL_0b25: ldarg.0 + IL_0b26: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0b2b: ldstr "NA1051" + IL_0b30: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0b35: ldarg.0 + IL_0b36: ldloc.1 + IL_0b37: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0b3c: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0b41: ldarg.0 + IL_0b42: ldloc.3 + IL_0b43: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0b48: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0b4d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0b52: ldloc.0 + IL_0b53: ldloc.s 4 + IL_0b55: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0b5a: throw + IL_0b5b: ldloc.1 + IL_0b5c: isinst [mscorlib]System.String + IL_0b61: brfalse IL_0b98 - IL_016a: ldloc.3 - IL_016b: isinst [mscorlib]System.Int64 - IL_0170: brfalse IL_0198 + IL_0b66: ldloc.3 + IL_0b67: isinst [mscorlib]System.String + IL_0b6c: brfalse IL_0b98 - IL_0175: nop - IL_0176: ldloc.1 - IL_0177: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_017c: stloc.s 6 - IL_017e: ldloca.s 6 - IL_0180: ldloc.3 - IL_0181: constrained. [mscorlib]System.Int64 - IL_0187: callvirt instance bool object::Equals(object) - IL_018c: box [mscorlib]System.Boolean - IL_0191: stloc.s 5 - IL_0193: br IL_1536 + IL_0b71: nop + IL_0b72: ldloc.1 + IL_0b73: castclass [mscorlib]System.String + IL_0b78: ldloc.3 + IL_0b79: castclass [mscorlib]System.String + IL_0b7e: ldc.i4.0 + IL_0b7f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0b84: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0b89: ldc.i4.0 + IL_0b8a: cgt + IL_0b8c: box [mscorlib]System.Boolean + IL_0b91: stloc.s 5 + IL_0b93: br IL_1536 - IL_0198: ldloc.1 - IL_0199: isinst [mscorlib]System.Int32 - IL_019e: brfalse IL_01d1 + IL_0b98: ldloc.1 + IL_0b99: isinst [mscorlib]System.Boolean + IL_0b9e: brfalse IL_0bca - IL_01a3: ldloc.3 - IL_01a4: isinst [mscorlib]System.Double - IL_01a9: brfalse IL_01d1 + IL_0ba3: ldloc.3 + IL_0ba4: isinst [mscorlib]System.Boolean + IL_0ba9: brfalse IL_0bca - IL_01ae: nop - IL_01af: ldloc.1 - IL_01b0: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_01b5: stloc.s 7 - IL_01b7: ldloca.s 7 - IL_01b9: ldloc.3 - IL_01ba: constrained. [mscorlib]System.Double - IL_01c0: callvirt instance bool object::Equals(object) - IL_01c5: box [mscorlib]System.Boolean - IL_01ca: stloc.s 5 - IL_01cc: br IL_1536 + IL_0bae: nop + IL_0baf: ldloc.1 + IL_0bb0: castclass [mscorlib]System.IComparable + IL_0bb5: ldloc.3 + IL_0bb6: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0bbb: ldc.i4.0 + IL_0bbc: cgt + IL_0bbe: box [mscorlib]System.Boolean + IL_0bc3: stloc.s 5 + IL_0bc5: br IL_1536 - IL_01d1: ldloc.1 - IL_01d2: isinst [mscorlib]System.Int64 - IL_01d7: brfalse IL_01fb + IL_0bca: ldloc.1 + IL_0bcb: isinst [mscorlib]System.Int32 + IL_0bd0: brfalse IL_0bfc - IL_01dc: ldloc.3 - IL_01dd: isinst [mscorlib]System.Int64 - IL_01e2: brfalse IL_01fb + IL_0bd5: ldloc.3 + IL_0bd6: isinst [mscorlib]System.Int32 + IL_0bdb: brfalse IL_0bfc - IL_01e7: nop - IL_01e8: ldloc.1 - IL_01e9: ldloc.3 - IL_01ea: callvirt instance bool object::Equals(object) - IL_01ef: box [mscorlib]System.Boolean - IL_01f4: stloc.s 5 - IL_01f6: br IL_1536 + IL_0be0: nop + IL_0be1: ldloc.1 + IL_0be2: castclass [mscorlib]System.IComparable + IL_0be7: ldloc.3 + IL_0be8: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0bed: ldc.i4.0 + IL_0bee: cgt + IL_0bf0: box [mscorlib]System.Boolean + IL_0bf5: stloc.s 5 + IL_0bf7: br IL_1536 - IL_01fb: ldloc.1 - IL_01fc: isinst [mscorlib]System.Int64 - IL_0201: brfalse IL_022f + IL_0bfc: ldloc.1 + IL_0bfd: isinst [mscorlib]System.Int32 + IL_0c02: brfalse IL_0c33 - IL_0206: ldloc.3 - IL_0207: isinst [mscorlib]System.Int32 - IL_020c: brfalse IL_022f + IL_0c07: ldloc.3 + IL_0c08: isinst [mscorlib]System.Int64 + IL_0c0d: brfalse IL_0c33 - IL_0211: nop - IL_0212: ldloc.1 - IL_0213: ldloc.3 - IL_0214: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_0219: box [mscorlib]System.Int64 - IL_021e: callvirt instance bool object::Equals(object) - IL_0223: box [mscorlib]System.Boolean - IL_0228: stloc.s 5 - IL_022a: br IL_1536 + IL_0c12: nop + IL_0c13: ldloc.1 + IL_0c14: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_0c19: box [mscorlib]System.Int64 + IL_0c1e: ldloc.3 + IL_0c1f: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0c24: ldc.i4.0 + IL_0c25: cgt + IL_0c27: box [mscorlib]System.Boolean + IL_0c2c: stloc.s 5 + IL_0c2e: br IL_1536 - IL_022f: ldloc.1 - IL_0230: isinst [mscorlib]System.Int64 - IL_0235: brfalse IL_0268 + IL_0c33: ldloc.1 + IL_0c34: isinst [mscorlib]System.Int32 + IL_0c39: brfalse IL_0c6a - IL_023a: ldloc.3 - IL_023b: isinst [mscorlib]System.Double - IL_0240: brfalse IL_0268 + IL_0c3e: ldloc.3 + IL_0c3f: isinst [mscorlib]System.Double + IL_0c44: brfalse IL_0c6a - IL_0245: nop - IL_0246: ldloc.1 - IL_0247: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_024c: stloc.s 8 - IL_024e: ldloca.s 8 - IL_0250: ldloc.3 - IL_0251: constrained. [mscorlib]System.Double - IL_0257: callvirt instance bool object::Equals(object) - IL_025c: box [mscorlib]System.Boolean - IL_0261: stloc.s 5 - IL_0263: br IL_1536 + IL_0c49: nop + IL_0c4a: ldloc.1 + IL_0c4b: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0c50: box [mscorlib]System.Double + IL_0c55: ldloc.3 + IL_0c56: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0c5b: ldc.i4.0 + IL_0c5c: cgt + IL_0c5e: box [mscorlib]System.Boolean + IL_0c63: stloc.s 5 + IL_0c65: br IL_1536 - IL_0268: ldloc.1 - IL_0269: isinst [mscorlib]System.Double - IL_026e: brfalse IL_0292 + IL_0c6a: ldloc.1 + IL_0c6b: isinst [mscorlib]System.Int64 + IL_0c70: brfalse IL_0c9c - IL_0273: ldloc.3 - IL_0274: isinst [mscorlib]System.Double - IL_0279: brfalse IL_0292 + IL_0c75: ldloc.3 + IL_0c76: isinst [mscorlib]System.Int64 + IL_0c7b: brfalse IL_0c9c - IL_027e: nop - IL_027f: ldloc.1 - IL_0280: ldloc.3 - IL_0281: callvirt instance bool object::Equals(object) - IL_0286: box [mscorlib]System.Boolean - IL_028b: stloc.s 5 - IL_028d: br IL_1536 + IL_0c80: nop + IL_0c81: ldloc.1 + IL_0c82: castclass [mscorlib]System.IComparable + IL_0c87: ldloc.3 + IL_0c88: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0c8d: ldc.i4.0 + IL_0c8e: cgt + IL_0c90: box [mscorlib]System.Boolean + IL_0c95: stloc.s 5 + IL_0c97: br IL_1536 - IL_0292: ldloc.1 - IL_0293: isinst [mscorlib]System.Double - IL_0298: brfalse IL_02c6 + IL_0c9c: ldloc.1 + IL_0c9d: isinst [mscorlib]System.Int64 + IL_0ca2: brfalse IL_0cd8 - IL_029d: ldloc.3 - IL_029e: isinst [mscorlib]System.Int32 - IL_02a3: brfalse IL_02c6 + IL_0ca7: ldloc.3 + IL_0ca8: isinst [mscorlib]System.Int32 + IL_0cad: brfalse IL_0cd8 - IL_02a8: nop - IL_02a9: ldloc.1 - IL_02aa: ldloc.3 - IL_02ab: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_02b0: box [mscorlib]System.Double - IL_02b5: callvirt instance bool object::Equals(object) - IL_02ba: box [mscorlib]System.Boolean - IL_02bf: stloc.s 5 - IL_02c1: br IL_1536 + IL_0cb2: nop + IL_0cb3: ldloc.1 + IL_0cb4: castclass [mscorlib]System.IComparable + IL_0cb9: ldloc.3 + IL_0cba: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_0cbf: box [mscorlib]System.Int64 + IL_0cc4: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0cc9: ldc.i4.0 + IL_0cca: cgt + IL_0ccc: box [mscorlib]System.Boolean + IL_0cd1: stloc.s 5 + IL_0cd3: br IL_1536 - IL_02c6: ldloc.1 - IL_02c7: isinst [mscorlib]System.Double - IL_02cc: brfalse IL_02fa + IL_0cd8: ldloc.1 + IL_0cd9: isinst [mscorlib]System.Int64 + IL_0cde: brfalse IL_0d0f - IL_02d1: ldloc.3 - IL_02d2: isinst [mscorlib]System.Int64 - IL_02d7: brfalse IL_02fa + IL_0ce3: ldloc.3 + IL_0ce4: isinst [mscorlib]System.Double + IL_0ce9: brfalse IL_0d0f - IL_02dc: nop - IL_02dd: ldloc.1 - IL_02de: ldloc.3 - IL_02df: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_02e4: box [mscorlib]System.Double - IL_02e9: callvirt instance bool object::Equals(object) - IL_02ee: box [mscorlib]System.Boolean - IL_02f3: stloc.s 5 - IL_02f5: br IL_1536 + IL_0cee: nop + IL_0cef: ldloc.1 + IL_0cf0: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0cf5: box [mscorlib]System.Double + IL_0cfa: ldloc.3 + IL_0cfb: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0d00: ldc.i4.0 + IL_0d01: cgt + IL_0d03: box [mscorlib]System.Boolean + IL_0d08: stloc.s 5 + IL_0d0a: br IL_1536 - IL_02fa: ldloc.1 - IL_02fb: isinst [mscorlib]System.DateTime - IL_0300: brfalse IL_0324 + IL_0d0f: ldloc.1 + IL_0d10: isinst [mscorlib]System.Double + IL_0d15: brfalse IL_0d41 - IL_0305: ldloc.3 - IL_0306: isinst [mscorlib]System.DateTime - IL_030b: brfalse IL_0324 + IL_0d1a: ldloc.3 + IL_0d1b: isinst [mscorlib]System.Double + IL_0d20: brfalse IL_0d41 - IL_0310: nop - IL_0311: ldloc.1 - IL_0312: ldloc.3 - IL_0313: callvirt instance bool object::Equals(object) - IL_0318: box [mscorlib]System.Boolean - IL_031d: stloc.s 5 - IL_031f: br IL_1536 + IL_0d25: nop + IL_0d26: ldloc.1 + IL_0d27: castclass [mscorlib]System.IComparable + IL_0d2c: ldloc.3 + IL_0d2d: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0d32: ldc.i4.0 + IL_0d33: cgt + IL_0d35: box [mscorlib]System.Boolean + IL_0d3a: stloc.s 5 + IL_0d3c: br IL_1536 - IL_0324: ldloc.1 - IL_0325: isinst [mscorlib]System.TimeSpan - IL_032a: brfalse IL_034e + IL_0d41: ldloc.1 + IL_0d42: isinst [mscorlib]System.Double + IL_0d47: brfalse IL_0d7d - IL_032f: ldloc.3 - IL_0330: isinst [mscorlib]System.TimeSpan - IL_0335: brfalse IL_034e + IL_0d4c: ldloc.3 + IL_0d4d: isinst [mscorlib]System.Int32 + IL_0d52: brfalse IL_0d7d - IL_033a: nop - IL_033b: ldloc.1 - IL_033c: ldloc.3 - IL_033d: callvirt instance bool object::Equals(object) - IL_0342: box [mscorlib]System.Boolean - IL_0347: stloc.s 5 - IL_0349: br IL_1536 + IL_0d57: nop + IL_0d58: ldloc.1 + IL_0d59: castclass [mscorlib]System.IComparable + IL_0d5e: ldloc.3 + IL_0d5f: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0d64: box [mscorlib]System.Double + IL_0d69: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0d6e: ldc.i4.0 + IL_0d6f: cgt + IL_0d71: box [mscorlib]System.Boolean + IL_0d76: stloc.s 5 + IL_0d78: br IL_1536 - IL_034e: ldloc.1 - IL_034f: isinst [mscorlib]System.Version - IL_0354: brfalse IL_0378 + IL_0d7d: ldloc.1 + IL_0d7e: isinst [mscorlib]System.Double + IL_0d83: brfalse IL_0db9 - IL_0359: ldloc.3 - IL_035a: isinst [mscorlib]System.Version - IL_035f: brfalse IL_0378 + IL_0d88: ldloc.3 + IL_0d89: isinst [mscorlib]System.Int64 + IL_0d8e: brfalse IL_0db9 - IL_0364: nop - IL_0365: ldloc.1 - IL_0366: ldloc.3 - IL_0367: callvirt instance bool object::Equals(object) - IL_036c: box [mscorlib]System.Boolean - IL_0371: stloc.s 5 - IL_0373: br IL_1536 + IL_0d93: nop + IL_0d94: ldloc.1 + IL_0d95: castclass [mscorlib]System.IComparable + IL_0d9a: ldloc.3 + IL_0d9b: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0da0: box [mscorlib]System.Double + IL_0da5: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0daa: ldc.i4.0 + IL_0dab: cgt + IL_0dad: box [mscorlib]System.Boolean + IL_0db2: stloc.s 5 + IL_0db4: br IL_1536 - IL_0378: ldloc.1 - IL_0379: callvirt instance class [mscorlib]System.Type object::GetType() - IL_037e: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_0383: brfalse IL_03d8 + IL_0db9: ldloc.1 + IL_0dba: isinst [mscorlib]System.DateTime + IL_0dbf: brfalse IL_0deb - IL_0388: nop - IL_0389: ldloc.3 - IL_038a: isinst [mscorlib]System.String - IL_038f: brfalse IL_03b9 + IL_0dc4: ldloc.3 + IL_0dc5: isinst [mscorlib]System.DateTime + IL_0dca: brfalse IL_0deb - IL_0394: nop - IL_0395: ldloc.1 - IL_0396: ldloc.1 - IL_0397: callvirt instance class [mscorlib]System.Type object::GetType() - IL_039c: ldloc.3 - IL_039d: castclass [mscorlib]System.String - IL_03a2: ldc.i4.0 - IL_03a3: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_03a8: callvirt instance bool object::Equals(object) - IL_03ad: box [mscorlib]System.Boolean - IL_03b2: stloc.s 5 - IL_03b4: br IL_1536 + IL_0dcf: nop + IL_0dd0: ldloc.1 + IL_0dd1: castclass [mscorlib]System.IComparable + IL_0dd6: ldloc.3 + IL_0dd7: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0ddc: ldc.i4.0 + IL_0ddd: cgt + IL_0ddf: box [mscorlib]System.Boolean + IL_0de4: stloc.s 5 + IL_0de6: br IL_1536 - IL_03b9: nop - IL_03ba: ldloc.1 - IL_03bb: ldloc.1 - IL_03bc: callvirt instance class [mscorlib]System.Type object::GetType() - IL_03c1: ldloc.3 - IL_03c2: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) - IL_03c7: callvirt instance bool object::Equals(object) - IL_03cc: box [mscorlib]System.Boolean - IL_03d1: stloc.s 5 - IL_03d3: br IL_1536 + IL_0deb: ldloc.1 + IL_0dec: isinst [mscorlib]System.TimeSpan + IL_0df1: brfalse IL_0e1d - IL_03d8: ldloc.3 - IL_03d9: callvirt instance class [mscorlib]System.Type object::GetType() - IL_03de: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_03e3: brfalse IL_0438 + IL_0df6: ldloc.3 + IL_0df7: isinst [mscorlib]System.TimeSpan + IL_0dfc: brfalse IL_0e1d - IL_03e8: nop - IL_03e9: ldloc.1 - IL_03ea: isinst [mscorlib]System.String - IL_03ef: brfalse IL_0419 + IL_0e01: nop + IL_0e02: ldloc.1 + IL_0e03: castclass [mscorlib]System.IComparable + IL_0e08: ldloc.3 + IL_0e09: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0e0e: ldc.i4.0 + IL_0e0f: cgt + IL_0e11: box [mscorlib]System.Boolean + IL_0e16: stloc.s 5 + IL_0e18: br IL_1536 - IL_03f4: nop - IL_03f5: ldloc.3 - IL_03f6: ldloc.3 - IL_03f7: callvirt instance class [mscorlib]System.Type object::GetType() - IL_03fc: ldloc.1 - IL_03fd: castclass [mscorlib]System.String - IL_0402: ldc.i4.0 - IL_0403: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_0408: callvirt instance bool object::Equals(object) - IL_040d: box [mscorlib]System.Boolean - IL_0412: stloc.s 5 - IL_0414: br IL_1536 + IL_0e1d: ldloc.1 + IL_0e1e: isinst [mscorlib]System.Version + IL_0e23: brfalse IL_0e4f - IL_0419: nop - IL_041a: ldloc.3 - IL_041b: ldloc.3 - IL_041c: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0421: ldloc.1 - IL_0422: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) - IL_0427: callvirt instance bool object::Equals(object) - IL_042c: box [mscorlib]System.Boolean - IL_0431: stloc.s 5 - IL_0433: br IL_1536 + IL_0e28: ldloc.3 + IL_0e29: isinst [mscorlib]System.Version + IL_0e2e: brfalse IL_0e4f - IL_0438: ldarg.0 - IL_0439: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_043e: ldstr "NA1038" - IL_0443: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0448: ldarg.0 - IL_0449: ldloc.1 - IL_044a: callvirt instance class [mscorlib]System.Type object::GetType() - IL_044f: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0454: ldarg.0 - IL_0455: ldloc.3 - IL_0456: callvirt instance class [mscorlib]System.Type object::GetType() - IL_045b: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0460: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0465: ldloc.0 - IL_0466: ldloc.s 4 - IL_0468: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_046d: throw - IL_046e: ldloc.1 - IL_046f: isinst [mscorlib]System.String - IL_0474: brfalse IL_049b + IL_0e33: nop + IL_0e34: ldloc.1 + IL_0e35: castclass [mscorlib]System.IComparable + IL_0e3a: ldloc.3 + IL_0e3b: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0e40: ldc.i4.0 + IL_0e41: cgt + IL_0e43: box [mscorlib]System.Boolean + IL_0e48: stloc.s 5 + IL_0e4a: br IL_1536 - IL_0479: ldloc.3 - IL_047a: isinst [mscorlib]System.String - IL_047f: brfalse IL_049b + IL_0e4f: ldarg.0 + IL_0e50: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0e55: ldstr "NA1037" + IL_0e5a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0e5f: ldarg.0 + IL_0e60: ldloc.1 + IL_0e61: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0e66: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0e6b: ldarg.0 + IL_0e6c: ldloc.3 + IL_0e6d: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0e72: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0e77: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0e7c: ldloc.0 + IL_0e7d: ldloc.s 4 + IL_0e7f: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0e84: throw + IL_0e85: ldloc.1 + IL_0e86: isinst [mscorlib]System.String + IL_0e8b: brfalse IL_0ec5 - IL_0484: nop - IL_0485: ldloc.1 - IL_0486: ldloc.3 - IL_0487: callvirt instance bool object::Equals(object) - IL_048c: ldc.i4.0 - IL_048d: ceq - IL_048f: box [mscorlib]System.Boolean - IL_0494: stloc.s 5 - IL_0496: br IL_1536 + IL_0e90: ldloc.3 + IL_0e91: isinst [mscorlib]System.String + IL_0e96: brfalse IL_0ec5 - IL_049b: ldloc.1 - IL_049c: isinst [mscorlib]System.Boolean - IL_04a1: brfalse IL_04c8 + IL_0e9b: nop + IL_0e9c: ldloc.1 + IL_0e9d: castclass [mscorlib]System.String + IL_0ea2: ldloc.3 + IL_0ea3: castclass [mscorlib]System.String + IL_0ea8: ldc.i4.0 + IL_0ea9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0eae: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0eb3: ldc.i4.0 + IL_0eb4: cgt + IL_0eb6: ldc.i4.0 + IL_0eb7: ceq + IL_0eb9: box [mscorlib]System.Boolean + IL_0ebe: stloc.s 5 + IL_0ec0: br IL_1536 - IL_04a6: ldloc.3 - IL_04a7: isinst [mscorlib]System.Boolean - IL_04ac: brfalse IL_04c8 + IL_0ec5: ldloc.1 + IL_0ec6: isinst [mscorlib]System.Boolean + IL_0ecb: brfalse IL_0efa - IL_04b1: nop - IL_04b2: ldloc.1 - IL_04b3: ldloc.3 - IL_04b4: callvirt instance bool object::Equals(object) - IL_04b9: ldc.i4.0 - IL_04ba: ceq - IL_04bc: box [mscorlib]System.Boolean - IL_04c1: stloc.s 5 - IL_04c3: br IL_1536 + IL_0ed0: ldloc.3 + IL_0ed1: isinst [mscorlib]System.Boolean + IL_0ed6: brfalse IL_0efa - IL_04c8: ldloc.1 - IL_04c9: isinst [mscorlib]System.Int32 - IL_04ce: brfalse IL_04f5 + IL_0edb: nop + IL_0edc: ldloc.1 + IL_0edd: castclass [mscorlib]System.IComparable + IL_0ee2: ldloc.3 + IL_0ee3: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0ee8: ldc.i4.0 + IL_0ee9: cgt + IL_0eeb: ldc.i4.0 + IL_0eec: ceq + IL_0eee: box [mscorlib]System.Boolean + IL_0ef3: stloc.s 5 + IL_0ef5: br IL_1536 - IL_04d3: ldloc.3 - IL_04d4: isinst [mscorlib]System.Int32 - IL_04d9: brfalse IL_04f5 + IL_0efa: ldloc.1 + IL_0efb: isinst [mscorlib]System.Int32 + IL_0f00: brfalse IL_0f2f - IL_04de: nop - IL_04df: ldloc.1 - IL_04e0: ldloc.3 - IL_04e1: callvirt instance bool object::Equals(object) - IL_04e6: ldc.i4.0 - IL_04e7: ceq - IL_04e9: box [mscorlib]System.Boolean - IL_04ee: stloc.s 5 - IL_04f0: br IL_1536 + IL_0f05: ldloc.3 + IL_0f06: isinst [mscorlib]System.Int32 + IL_0f0b: brfalse IL_0f2f - IL_04f5: ldloc.1 - IL_04f6: isinst [mscorlib]System.Int32 - IL_04fb: brfalse IL_0531 + IL_0f10: nop + IL_0f11: ldloc.1 + IL_0f12: castclass [mscorlib]System.IComparable + IL_0f17: ldloc.3 + IL_0f18: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0f1d: ldc.i4.0 + IL_0f1e: cgt + IL_0f20: ldc.i4.0 + IL_0f21: ceq + IL_0f23: box [mscorlib]System.Boolean + IL_0f28: stloc.s 5 + IL_0f2a: br IL_1536 - IL_0500: ldloc.3 - IL_0501: isinst [mscorlib]System.Int64 - IL_0506: brfalse IL_0531 + IL_0f2f: ldloc.1 + IL_0f30: isinst [mscorlib]System.Int32 + IL_0f35: brfalse IL_0f69 - IL_050b: nop - IL_050c: ldloc.1 - IL_050d: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_0512: stloc.s 9 - IL_0514: ldloca.s 9 - IL_0516: ldloc.3 - IL_0517: constrained. [mscorlib]System.Int64 - IL_051d: callvirt instance bool object::Equals(object) - IL_0522: ldc.i4.0 - IL_0523: ceq - IL_0525: box [mscorlib]System.Boolean - IL_052a: stloc.s 5 - IL_052c: br IL_1536 + IL_0f3a: ldloc.3 + IL_0f3b: isinst [mscorlib]System.Int64 + IL_0f40: brfalse IL_0f69 - IL_0531: ldloc.1 - IL_0532: isinst [mscorlib]System.Int32 - IL_0537: brfalse IL_056d - - IL_053c: ldloc.3 - IL_053d: isinst [mscorlib]System.Double - IL_0542: brfalse IL_056d + IL_0f45: nop + IL_0f46: ldloc.1 + IL_0f47: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_0f4c: box [mscorlib]System.Int64 + IL_0f51: ldloc.3 + IL_0f52: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0f57: ldc.i4.0 + IL_0f58: cgt + IL_0f5a: ldc.i4.0 + IL_0f5b: ceq + IL_0f5d: box [mscorlib]System.Boolean + IL_0f62: stloc.s 5 + IL_0f64: br IL_1536 - IL_0547: nop - IL_0548: ldloc.1 - IL_0549: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_054e: stloc.s 10 - IL_0550: ldloca.s 10 - IL_0552: ldloc.3 - IL_0553: constrained. [mscorlib]System.Double - IL_0559: callvirt instance bool object::Equals(object) - IL_055e: ldc.i4.0 - IL_055f: ceq - IL_0561: box [mscorlib]System.Boolean - IL_0566: stloc.s 5 - IL_0568: br IL_1536 + IL_0f69: ldloc.1 + IL_0f6a: isinst [mscorlib]System.Int32 + IL_0f6f: brfalse IL_0fa3 - IL_056d: ldloc.1 - IL_056e: isinst [mscorlib]System.Int64 - IL_0573: brfalse IL_059a + IL_0f74: ldloc.3 + IL_0f75: isinst [mscorlib]System.Double + IL_0f7a: brfalse IL_0fa3 - IL_0578: ldloc.3 - IL_0579: isinst [mscorlib]System.Int64 - IL_057e: brfalse IL_059a + IL_0f7f: nop + IL_0f80: ldloc.1 + IL_0f81: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_0f86: box [mscorlib]System.Double + IL_0f8b: ldloc.3 + IL_0f8c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0f91: ldc.i4.0 + IL_0f92: cgt + IL_0f94: ldc.i4.0 + IL_0f95: ceq + IL_0f97: box [mscorlib]System.Boolean + IL_0f9c: stloc.s 5 + IL_0f9e: br IL_1536 - IL_0583: nop - IL_0584: ldloc.1 - IL_0585: ldloc.3 - IL_0586: callvirt instance bool object::Equals(object) - IL_058b: ldc.i4.0 - IL_058c: ceq - IL_058e: box [mscorlib]System.Boolean - IL_0593: stloc.s 5 - IL_0595: br IL_1536 + IL_0fa3: ldloc.1 + IL_0fa4: isinst [mscorlib]System.Int64 + IL_0fa9: brfalse IL_0fd8 - IL_059a: ldloc.1 - IL_059b: isinst [mscorlib]System.Int64 - IL_05a0: brfalse IL_05d1 + IL_0fae: ldloc.3 + IL_0faf: isinst [mscorlib]System.Int64 + IL_0fb4: brfalse IL_0fd8 - IL_05a5: ldloc.3 - IL_05a6: isinst [mscorlib]System.Int32 - IL_05ab: brfalse IL_05d1 + IL_0fb9: nop + IL_0fba: ldloc.1 + IL_0fbb: castclass [mscorlib]System.IComparable + IL_0fc0: ldloc.3 + IL_0fc1: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_0fc6: ldc.i4.0 + IL_0fc7: cgt + IL_0fc9: ldc.i4.0 + IL_0fca: ceq + IL_0fcc: box [mscorlib]System.Boolean + IL_0fd1: stloc.s 5 + IL_0fd3: br IL_1536 - IL_05b0: nop - IL_05b1: ldloc.1 - IL_05b2: ldloc.3 - IL_05b3: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_05b8: box [mscorlib]System.Int64 - IL_05bd: callvirt instance bool object::Equals(object) - IL_05c2: ldc.i4.0 - IL_05c3: ceq - IL_05c5: box [mscorlib]System.Boolean - IL_05ca: stloc.s 5 - IL_05cc: br IL_1536 + IL_0fd8: ldloc.1 + IL_0fd9: isinst [mscorlib]System.Int64 + IL_0fde: brfalse IL_1017 - IL_05d1: ldloc.1 - IL_05d2: isinst [mscorlib]System.Int64 - IL_05d7: brfalse IL_060d + IL_0fe3: ldloc.3 + IL_0fe4: isinst [mscorlib]System.Int32 + IL_0fe9: brfalse IL_1017 - IL_05dc: ldloc.3 - IL_05dd: isinst [mscorlib]System.Double - IL_05e2: brfalse IL_060d + IL_0fee: nop + IL_0fef: ldloc.1 + IL_0ff0: castclass [mscorlib]System.IComparable + IL_0ff5: ldloc.3 + IL_0ff6: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_0ffb: box [mscorlib]System.Int64 + IL_1000: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1005: ldc.i4.0 + IL_1006: cgt + IL_1008: ldc.i4.0 + IL_1009: ceq + IL_100b: box [mscorlib]System.Boolean + IL_1010: stloc.s 5 + IL_1012: br IL_1536 - IL_05e7: nop - IL_05e8: ldloc.1 - IL_05e9: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_05ee: stloc.s 11 - IL_05f0: ldloca.s 11 - IL_05f2: ldloc.3 - IL_05f3: constrained. [mscorlib]System.Double - IL_05f9: callvirt instance bool object::Equals(object) - IL_05fe: ldc.i4.0 - IL_05ff: ceq - IL_0601: box [mscorlib]System.Boolean - IL_0606: stloc.s 5 - IL_0608: br IL_1536 + IL_1017: ldloc.1 + IL_1018: isinst [mscorlib]System.Int64 + IL_101d: brfalse IL_1051 - IL_060d: ldloc.1 - IL_060e: isinst [mscorlib]System.Double - IL_0613: brfalse IL_063a + IL_1022: ldloc.3 + IL_1023: isinst [mscorlib]System.Double + IL_1028: brfalse IL_1051 - IL_0618: ldloc.3 - IL_0619: isinst [mscorlib]System.Double - IL_061e: brfalse IL_063a + IL_102d: nop + IL_102e: ldloc.1 + IL_102f: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_1034: box [mscorlib]System.Double + IL_1039: ldloc.3 + IL_103a: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_103f: ldc.i4.0 + IL_1040: cgt + IL_1042: ldc.i4.0 + IL_1043: ceq + IL_1045: box [mscorlib]System.Boolean + IL_104a: stloc.s 5 + IL_104c: br IL_1536 - IL_0623: nop - IL_0624: ldloc.1 - IL_0625: ldloc.3 - IL_0626: callvirt instance bool object::Equals(object) - IL_062b: ldc.i4.0 - IL_062c: ceq - IL_062e: box [mscorlib]System.Boolean - IL_0633: stloc.s 5 - IL_0635: br IL_1536 + IL_1051: ldloc.1 + IL_1052: isinst [mscorlib]System.Double + IL_1057: brfalse IL_1086 - IL_063a: ldloc.1 - IL_063b: isinst [mscorlib]System.Double - IL_0640: brfalse IL_0671 + IL_105c: ldloc.3 + IL_105d: isinst [mscorlib]System.Double + IL_1062: brfalse IL_1086 - IL_0645: ldloc.3 - IL_0646: isinst [mscorlib]System.Int32 - IL_064b: brfalse IL_0671 + IL_1067: nop + IL_1068: ldloc.1 + IL_1069: castclass [mscorlib]System.IComparable + IL_106e: ldloc.3 + IL_106f: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1074: ldc.i4.0 + IL_1075: cgt + IL_1077: ldc.i4.0 + IL_1078: ceq + IL_107a: box [mscorlib]System.Boolean + IL_107f: stloc.s 5 + IL_1081: br IL_1536 - IL_0650: nop - IL_0651: ldloc.1 - IL_0652: ldloc.3 - IL_0653: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0658: box [mscorlib]System.Double - IL_065d: callvirt instance bool object::Equals(object) - IL_0662: ldc.i4.0 - IL_0663: ceq - IL_0665: box [mscorlib]System.Boolean - IL_066a: stloc.s 5 - IL_066c: br IL_1536 + IL_1086: ldloc.1 + IL_1087: isinst [mscorlib]System.Double + IL_108c: brfalse IL_10c5 - IL_0671: ldloc.1 - IL_0672: isinst [mscorlib]System.Double - IL_0677: brfalse IL_06a8 + IL_1091: ldloc.3 + IL_1092: isinst [mscorlib]System.Int32 + IL_1097: brfalse IL_10c5 - IL_067c: ldloc.3 - IL_067d: isinst [mscorlib]System.Int64 - IL_0682: brfalse IL_06a8 + IL_109c: nop + IL_109d: ldloc.1 + IL_109e: castclass [mscorlib]System.IComparable + IL_10a3: ldloc.3 + IL_10a4: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_10a9: box [mscorlib]System.Double + IL_10ae: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_10b3: ldc.i4.0 + IL_10b4: cgt + IL_10b6: ldc.i4.0 + IL_10b7: ceq + IL_10b9: box [mscorlib]System.Boolean + IL_10be: stloc.s 5 + IL_10c0: br IL_1536 - IL_0687: nop - IL_0688: ldloc.1 - IL_0689: ldloc.3 - IL_068a: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_068f: box [mscorlib]System.Double - IL_0694: callvirt instance bool object::Equals(object) - IL_0699: ldc.i4.0 - IL_069a: ceq - IL_069c: box [mscorlib]System.Boolean - IL_06a1: stloc.s 5 - IL_06a3: br IL_1536 + IL_10c5: ldloc.1 + IL_10c6: isinst [mscorlib]System.Double + IL_10cb: brfalse IL_1104 - IL_06a8: ldloc.1 - IL_06a9: isinst [mscorlib]System.DateTime - IL_06ae: brfalse IL_06d5 + IL_10d0: ldloc.3 + IL_10d1: isinst [mscorlib]System.Int64 + IL_10d6: brfalse IL_1104 - IL_06b3: ldloc.3 - IL_06b4: isinst [mscorlib]System.DateTime - IL_06b9: brfalse IL_06d5 + IL_10db: nop + IL_10dc: ldloc.1 + IL_10dd: castclass [mscorlib]System.IComparable + IL_10e2: ldloc.3 + IL_10e3: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_10e8: box [mscorlib]System.Double + IL_10ed: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_10f2: ldc.i4.0 + IL_10f3: cgt + IL_10f5: ldc.i4.0 + IL_10f6: ceq + IL_10f8: box [mscorlib]System.Boolean + IL_10fd: stloc.s 5 + IL_10ff: br IL_1536 - IL_06be: nop - IL_06bf: ldloc.1 - IL_06c0: ldloc.3 - IL_06c1: callvirt instance bool object::Equals(object) - IL_06c6: ldc.i4.0 - IL_06c7: ceq - IL_06c9: box [mscorlib]System.Boolean - IL_06ce: stloc.s 5 - IL_06d0: br IL_1536 + IL_1104: ldloc.1 + IL_1105: isinst [mscorlib]System.DateTime + IL_110a: brfalse IL_1139 - IL_06d5: ldloc.1 - IL_06d6: isinst [mscorlib]System.TimeSpan - IL_06db: brfalse IL_0702 + IL_110f: ldloc.3 + IL_1110: isinst [mscorlib]System.DateTime + IL_1115: brfalse IL_1139 - IL_06e0: ldloc.3 - IL_06e1: isinst [mscorlib]System.TimeSpan - IL_06e6: brfalse IL_0702 + IL_111a: nop + IL_111b: ldloc.1 + IL_111c: castclass [mscorlib]System.IComparable + IL_1121: ldloc.3 + IL_1122: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1127: ldc.i4.0 + IL_1128: cgt + IL_112a: ldc.i4.0 + IL_112b: ceq + IL_112d: box [mscorlib]System.Boolean + IL_1132: stloc.s 5 + IL_1134: br IL_1536 - IL_06eb: nop - IL_06ec: ldloc.1 - IL_06ed: ldloc.3 - IL_06ee: callvirt instance bool object::Equals(object) - IL_06f3: ldc.i4.0 - IL_06f4: ceq - IL_06f6: box [mscorlib]System.Boolean - IL_06fb: stloc.s 5 - IL_06fd: br IL_1536 + IL_1139: ldloc.1 + IL_113a: isinst [mscorlib]System.TimeSpan + IL_113f: brfalse IL_116e - IL_0702: ldloc.1 - IL_0703: isinst [mscorlib]System.Version - IL_0708: brfalse IL_072f + IL_1144: ldloc.3 + IL_1145: isinst [mscorlib]System.TimeSpan + IL_114a: brfalse IL_116e - IL_070d: ldloc.3 - IL_070e: isinst [mscorlib]System.Version - IL_0713: brfalse IL_072f + IL_114f: nop + IL_1150: ldloc.1 + IL_1151: castclass [mscorlib]System.IComparable + IL_1156: ldloc.3 + IL_1157: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_115c: ldc.i4.0 + IL_115d: cgt + IL_115f: ldc.i4.0 + IL_1160: ceq + IL_1162: box [mscorlib]System.Boolean + IL_1167: stloc.s 5 + IL_1169: br IL_1536 - IL_0718: nop - IL_0719: ldloc.1 - IL_071a: ldloc.3 - IL_071b: callvirt instance bool object::Equals(object) - IL_0720: ldc.i4.0 - IL_0721: ceq - IL_0723: box [mscorlib]System.Boolean - IL_0728: stloc.s 5 - IL_072a: br IL_1536 + IL_116e: ldloc.1 + IL_116f: isinst [mscorlib]System.Version + IL_1174: brfalse IL_11a3 - IL_072f: ldloc.1 - IL_0730: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0735: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_073a: brfalse IL_0795 + IL_1179: ldloc.3 + IL_117a: isinst [mscorlib]System.Version + IL_117f: brfalse IL_11a3 - IL_073f: nop - IL_0740: ldloc.3 - IL_0741: isinst [mscorlib]System.String - IL_0746: brfalse IL_0773 + IL_1184: nop + IL_1185: ldloc.1 + IL_1186: castclass [mscorlib]System.IComparable + IL_118b: ldloc.3 + IL_118c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1191: ldc.i4.0 + IL_1192: cgt + IL_1194: ldc.i4.0 + IL_1195: ceq + IL_1197: box [mscorlib]System.Boolean + IL_119c: stloc.s 5 + IL_119e: br IL_1536 - IL_074b: nop - IL_074c: ldloc.1 - IL_074d: ldloc.1 - IL_074e: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0753: ldloc.3 - IL_0754: castclass [mscorlib]System.String - IL_0759: ldc.i4.0 - IL_075a: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_075f: callvirt instance bool object::Equals(object) - IL_0764: ldc.i4.0 - IL_0765: ceq - IL_0767: box [mscorlib]System.Boolean - IL_076c: stloc.s 5 - IL_076e: br IL_1536 + IL_11a3: ldarg.0 + IL_11a4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_11a9: ldstr "NA1049" + IL_11ae: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_11b3: ldarg.0 + IL_11b4: ldloc.1 + IL_11b5: callvirt instance class [mscorlib]System.Type object::GetType() + IL_11ba: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_11bf: ldarg.0 + IL_11c0: ldloc.3 + IL_11c1: callvirt instance class [mscorlib]System.Type object::GetType() + IL_11c6: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_11cb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_11d0: ldloc.0 + IL_11d1: ldloc.s 4 + IL_11d3: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_11d8: throw + IL_11d9: ldloc.1 + IL_11da: isinst [mscorlib]System.String + IL_11df: brfalse IL_1219 - IL_0773: nop - IL_0774: ldloc.1 - IL_0775: ldloc.1 - IL_0776: callvirt instance class [mscorlib]System.Type object::GetType() - IL_077b: ldloc.3 - IL_077c: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) - IL_0781: callvirt instance bool object::Equals(object) - IL_0786: ldc.i4.0 - IL_0787: ceq - IL_0789: box [mscorlib]System.Boolean - IL_078e: stloc.s 5 - IL_0790: br IL_1536 + IL_11e4: ldloc.3 + IL_11e5: isinst [mscorlib]System.String + IL_11ea: brfalse IL_1219 - IL_0795: ldloc.3 - IL_0796: callvirt instance class [mscorlib]System.Type object::GetType() - IL_079b: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_07a0: brfalse IL_07fb + IL_11ef: nop + IL_11f0: ldloc.1 + IL_11f1: castclass [mscorlib]System.String + IL_11f6: ldloc.3 + IL_11f7: castclass [mscorlib]System.String + IL_11fc: ldc.i4.0 + IL_11fd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_1202: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_1207: ldc.i4.0 + IL_1208: clt + IL_120a: ldc.i4.0 + IL_120b: ceq + IL_120d: box [mscorlib]System.Boolean + IL_1212: stloc.s 5 + IL_1214: br IL_1536 - IL_07a5: nop - IL_07a6: ldloc.1 - IL_07a7: isinst [mscorlib]System.String - IL_07ac: brfalse IL_07d9 + IL_1219: ldloc.1 + IL_121a: isinst [mscorlib]System.Boolean + IL_121f: brfalse IL_124e - IL_07b1: nop - IL_07b2: ldloc.3 - IL_07b3: ldloc.3 - IL_07b4: callvirt instance class [mscorlib]System.Type object::GetType() - IL_07b9: ldloc.1 - IL_07ba: castclass [mscorlib]System.String - IL_07bf: ldc.i4.0 - IL_07c0: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_07c5: callvirt instance bool object::Equals(object) - IL_07ca: ldc.i4.0 - IL_07cb: ceq - IL_07cd: box [mscorlib]System.Boolean - IL_07d2: stloc.s 5 - IL_07d4: br IL_1536 + IL_1224: ldloc.3 + IL_1225: isinst [mscorlib]System.Boolean + IL_122a: brfalse IL_124e - IL_07d9: nop - IL_07da: ldloc.3 - IL_07db: ldloc.3 - IL_07dc: callvirt instance class [mscorlib]System.Type object::GetType() - IL_07e1: ldloc.1 - IL_07e2: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) - IL_07e7: callvirt instance bool object::Equals(object) - IL_07ec: ldc.i4.0 - IL_07ed: ceq - IL_07ef: box [mscorlib]System.Boolean - IL_07f4: stloc.s 5 - IL_07f6: br IL_1536 + IL_122f: nop + IL_1230: ldloc.1 + IL_1231: castclass [mscorlib]System.IComparable + IL_1236: ldloc.3 + IL_1237: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_123c: ldc.i4.0 + IL_123d: clt + IL_123f: ldc.i4.0 + IL_1240: ceq + IL_1242: box [mscorlib]System.Boolean + IL_1247: stloc.s 5 + IL_1249: br IL_1536 - IL_07fb: ldarg.0 - IL_07fc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0801: ldstr "NA1042" - IL_0806: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_080b: ldarg.0 - IL_080c: ldloc.1 - IL_080d: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0812: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0817: ldarg.0 - IL_0818: ldloc.3 - IL_0819: callvirt instance class [mscorlib]System.Type object::GetType() - IL_081e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0823: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0828: ldloc.0 - IL_0829: ldloc.s 4 - IL_082b: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0830: throw - IL_0831: ldloc.1 - IL_0832: isinst [mscorlib]System.String - IL_0837: brfalse IL_086e + IL_124e: ldloc.1 + IL_124f: isinst [mscorlib]System.Int32 + IL_1254: brfalse IL_1283 - IL_083c: ldloc.3 - IL_083d: isinst [mscorlib]System.String - IL_0842: brfalse IL_086e + IL_1259: ldloc.3 + IL_125a: isinst [mscorlib]System.Int32 + IL_125f: brfalse IL_1283 - IL_0847: nop - IL_0848: ldloc.1 - IL_0849: castclass [mscorlib]System.String - IL_084e: ldloc.3 - IL_084f: castclass [mscorlib]System.String - IL_0854: ldc.i4.0 - IL_0855: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_085a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_085f: ldc.i4.0 - IL_0860: clt - IL_0862: box [mscorlib]System.Boolean - IL_0867: stloc.s 5 - IL_0869: br IL_1536 + IL_1264: nop + IL_1265: ldloc.1 + IL_1266: castclass [mscorlib]System.IComparable + IL_126b: ldloc.3 + IL_126c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1271: ldc.i4.0 + IL_1272: clt + IL_1274: ldc.i4.0 + IL_1275: ceq + IL_1277: box [mscorlib]System.Boolean + IL_127c: stloc.s 5 + IL_127e: br IL_1536 - IL_086e: ldloc.1 - IL_086f: isinst [mscorlib]System.Boolean - IL_0874: brfalse IL_08a0 + IL_1283: ldloc.1 + IL_1284: isinst [mscorlib]System.Int32 + IL_1289: brfalse IL_12bd - IL_0879: ldloc.3 - IL_087a: isinst [mscorlib]System.Boolean - IL_087f: brfalse IL_08a0 + IL_128e: ldloc.3 + IL_128f: isinst [mscorlib]System.Int64 + IL_1294: brfalse IL_12bd - IL_0884: nop - IL_0885: ldloc.1 - IL_0886: castclass [mscorlib]System.IComparable - IL_088b: ldloc.3 - IL_088c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0891: ldc.i4.0 - IL_0892: clt - IL_0894: box [mscorlib]System.Boolean - IL_0899: stloc.s 5 - IL_089b: br IL_1536 + IL_1299: nop + IL_129a: ldloc.1 + IL_129b: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_12a0: box [mscorlib]System.Int64 + IL_12a5: ldloc.3 + IL_12a6: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_12ab: ldc.i4.0 + IL_12ac: clt + IL_12ae: ldc.i4.0 + IL_12af: ceq + IL_12b1: box [mscorlib]System.Boolean + IL_12b6: stloc.s 5 + IL_12b8: br IL_1536 - IL_08a0: ldloc.1 - IL_08a1: isinst [mscorlib]System.Int32 - IL_08a6: brfalse IL_08d2 + IL_12bd: ldloc.1 + IL_12be: isinst [mscorlib]System.Int32 + IL_12c3: brfalse IL_12f7 - IL_08ab: ldloc.3 - IL_08ac: isinst [mscorlib]System.Int32 - IL_08b1: brfalse IL_08d2 + IL_12c8: ldloc.3 + IL_12c9: isinst [mscorlib]System.Double + IL_12ce: brfalse IL_12f7 - IL_08b6: nop - IL_08b7: ldloc.1 - IL_08b8: castclass [mscorlib]System.IComparable - IL_08bd: ldloc.3 - IL_08be: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_08c3: ldc.i4.0 - IL_08c4: clt - IL_08c6: box [mscorlib]System.Boolean - IL_08cb: stloc.s 5 - IL_08cd: br IL_1536 + IL_12d3: nop + IL_12d4: ldloc.1 + IL_12d5: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_12da: box [mscorlib]System.Double + IL_12df: ldloc.3 + IL_12e0: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_12e5: ldc.i4.0 + IL_12e6: clt + IL_12e8: ldc.i4.0 + IL_12e9: ceq + IL_12eb: box [mscorlib]System.Boolean + IL_12f0: stloc.s 5 + IL_12f2: br IL_1536 - IL_08d2: ldloc.1 - IL_08d3: isinst [mscorlib]System.Int32 - IL_08d8: brfalse IL_0909 + IL_12f7: ldloc.1 + IL_12f8: isinst [mscorlib]System.Int64 + IL_12fd: brfalse IL_132c - IL_08dd: ldloc.3 - IL_08de: isinst [mscorlib]System.Int64 - IL_08e3: brfalse IL_0909 + IL_1302: ldloc.3 + IL_1303: isinst [mscorlib]System.Int64 + IL_1308: brfalse IL_132c - IL_08e8: nop - IL_08e9: ldloc.1 - IL_08ea: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_08ef: box [mscorlib]System.Int64 - IL_08f4: ldloc.3 - IL_08f5: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_08fa: ldc.i4.0 - IL_08fb: clt - IL_08fd: box [mscorlib]System.Boolean - IL_0902: stloc.s 5 - IL_0904: br IL_1536 + IL_130d: nop + IL_130e: ldloc.1 + IL_130f: castclass [mscorlib]System.IComparable + IL_1314: ldloc.3 + IL_1315: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_131a: ldc.i4.0 + IL_131b: clt + IL_131d: ldc.i4.0 + IL_131e: ceq + IL_1320: box [mscorlib]System.Boolean + IL_1325: stloc.s 5 + IL_1327: br IL_1536 - IL_0909: ldloc.1 - IL_090a: isinst [mscorlib]System.Int32 - IL_090f: brfalse IL_0940 + IL_132c: ldloc.1 + IL_132d: isinst [mscorlib]System.Int64 + IL_1332: brfalse IL_136b - IL_0914: ldloc.3 - IL_0915: isinst [mscorlib]System.Double - IL_091a: brfalse IL_0940 + IL_1337: ldloc.3 + IL_1338: isinst [mscorlib]System.Int32 + IL_133d: brfalse IL_136b - IL_091f: nop - IL_0920: ldloc.1 - IL_0921: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0926: box [mscorlib]System.Double - IL_092b: ldloc.3 - IL_092c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0931: ldc.i4.0 - IL_0932: clt - IL_0934: box [mscorlib]System.Boolean - IL_0939: stloc.s 5 - IL_093b: br IL_1536 + IL_1342: nop + IL_1343: ldloc.1 + IL_1344: castclass [mscorlib]System.IComparable + IL_1349: ldloc.3 + IL_134a: call int64 class [mscorlib]System.Convert::ToInt64(object) + IL_134f: box [mscorlib]System.Int64 + IL_1354: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1359: ldc.i4.0 + IL_135a: clt + IL_135c: ldc.i4.0 + IL_135d: ceq + IL_135f: box [mscorlib]System.Boolean + IL_1364: stloc.s 5 + IL_1366: br IL_1536 - IL_0940: ldloc.1 - IL_0941: isinst [mscorlib]System.Int64 - IL_0946: brfalse IL_0972 + IL_136b: ldloc.1 + IL_136c: isinst [mscorlib]System.Int64 + IL_1371: brfalse IL_13a5 - IL_094b: ldloc.3 - IL_094c: isinst [mscorlib]System.Int64 - IL_0951: brfalse IL_0972 + IL_1376: ldloc.3 + IL_1377: isinst [mscorlib]System.Double + IL_137c: brfalse IL_13a5 - IL_0956: nop - IL_0957: ldloc.1 - IL_0958: castclass [mscorlib]System.IComparable - IL_095d: ldloc.3 - IL_095e: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0963: ldc.i4.0 - IL_0964: clt - IL_0966: box [mscorlib]System.Boolean - IL_096b: stloc.s 5 - IL_096d: br IL_1536 + IL_1381: nop + IL_1382: ldloc.1 + IL_1383: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_1388: box [mscorlib]System.Double + IL_138d: ldloc.3 + IL_138e: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1393: ldc.i4.0 + IL_1394: clt + IL_1396: ldc.i4.0 + IL_1397: ceq + IL_1399: box [mscorlib]System.Boolean + IL_139e: stloc.s 5 + IL_13a0: br IL_1536 - IL_0972: ldloc.1 - IL_0973: isinst [mscorlib]System.Int64 - IL_0978: brfalse IL_09ae + IL_13a5: ldloc.1 + IL_13a6: isinst [mscorlib]System.Double + IL_13ab: brfalse IL_13da - IL_097d: ldloc.3 - IL_097e: isinst [mscorlib]System.Int32 - IL_0983: brfalse IL_09ae + IL_13b0: ldloc.3 + IL_13b1: isinst [mscorlib]System.Double + IL_13b6: brfalse IL_13da - IL_0988: nop - IL_0989: ldloc.1 - IL_098a: castclass [mscorlib]System.IComparable - IL_098f: ldloc.3 - IL_0990: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_0995: box [mscorlib]System.Int64 - IL_099a: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_099f: ldc.i4.0 - IL_09a0: clt - IL_09a2: box [mscorlib]System.Boolean - IL_09a7: stloc.s 5 - IL_09a9: br IL_1536 + IL_13bb: nop + IL_13bc: ldloc.1 + IL_13bd: castclass [mscorlib]System.IComparable + IL_13c2: ldloc.3 + IL_13c3: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_13c8: ldc.i4.0 + IL_13c9: clt + IL_13cb: ldc.i4.0 + IL_13cc: ceq + IL_13ce: box [mscorlib]System.Boolean + IL_13d3: stloc.s 5 + IL_13d5: br IL_1536 - IL_09ae: ldloc.1 - IL_09af: isinst [mscorlib]System.Int64 - IL_09b4: brfalse IL_09e5 + IL_13da: ldloc.1 + IL_13db: isinst [mscorlib]System.Double + IL_13e0: brfalse IL_1419 - IL_09b9: ldloc.3 - IL_09ba: isinst [mscorlib]System.Double - IL_09bf: brfalse IL_09e5 + IL_13e5: ldloc.3 + IL_13e6: isinst [mscorlib]System.Int32 + IL_13eb: brfalse IL_1419 - IL_09c4: nop - IL_09c5: ldloc.1 - IL_09c6: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_09cb: box [mscorlib]System.Double - IL_09d0: ldloc.3 - IL_09d1: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_09d6: ldc.i4.0 - IL_09d7: clt - IL_09d9: box [mscorlib]System.Boolean - IL_09de: stloc.s 5 - IL_09e0: br IL_1536 + IL_13f0: nop + IL_13f1: ldloc.1 + IL_13f2: castclass [mscorlib]System.IComparable + IL_13f7: ldloc.3 + IL_13f8: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_13fd: box [mscorlib]System.Double + IL_1402: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1407: ldc.i4.0 + IL_1408: clt + IL_140a: ldc.i4.0 + IL_140b: ceq + IL_140d: box [mscorlib]System.Boolean + IL_1412: stloc.s 5 + IL_1414: br IL_1536 - IL_09e5: ldloc.1 - IL_09e6: isinst [mscorlib]System.Double - IL_09eb: brfalse IL_0a17 + IL_1419: ldloc.1 + IL_141a: isinst [mscorlib]System.Double + IL_141f: brfalse IL_1458 - IL_09f0: ldloc.3 - IL_09f1: isinst [mscorlib]System.Double - IL_09f6: brfalse IL_0a17 + IL_1424: ldloc.3 + IL_1425: isinst [mscorlib]System.Int64 + IL_142a: brfalse IL_1458 - IL_09fb: nop - IL_09fc: ldloc.1 - IL_09fd: castclass [mscorlib]System.IComparable - IL_0a02: ldloc.3 - IL_0a03: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0a08: ldc.i4.0 - IL_0a09: clt - IL_0a0b: box [mscorlib]System.Boolean - IL_0a10: stloc.s 5 - IL_0a12: br IL_1536 + IL_142f: nop + IL_1430: ldloc.1 + IL_1431: castclass [mscorlib]System.IComparable + IL_1436: ldloc.3 + IL_1437: call float64 class [mscorlib]System.Convert::ToDouble(object) + IL_143c: box [mscorlib]System.Double + IL_1441: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_1446: ldc.i4.0 + IL_1447: clt + IL_1449: ldc.i4.0 + IL_144a: ceq + IL_144c: box [mscorlib]System.Boolean + IL_1451: stloc.s 5 + IL_1453: br IL_1536 - IL_0a17: ldloc.1 - IL_0a18: isinst [mscorlib]System.Double - IL_0a1d: brfalse IL_0a53 + IL_1458: ldloc.1 + IL_1459: isinst [mscorlib]System.DateTime + IL_145e: brfalse IL_148d - IL_0a22: ldloc.3 - IL_0a23: isinst [mscorlib]System.Int32 - IL_0a28: brfalse IL_0a53 + IL_1463: ldloc.3 + IL_1464: isinst [mscorlib]System.DateTime + IL_1469: brfalse IL_148d - IL_0a2d: nop - IL_0a2e: ldloc.1 - IL_0a2f: castclass [mscorlib]System.IComparable - IL_0a34: ldloc.3 - IL_0a35: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0a3a: box [mscorlib]System.Double - IL_0a3f: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0a44: ldc.i4.0 - IL_0a45: clt - IL_0a47: box [mscorlib]System.Boolean - IL_0a4c: stloc.s 5 - IL_0a4e: br IL_1536 + IL_146e: nop + IL_146f: ldloc.1 + IL_1470: castclass [mscorlib]System.IComparable + IL_1475: ldloc.3 + IL_1476: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_147b: ldc.i4.0 + IL_147c: clt + IL_147e: ldc.i4.0 + IL_147f: ceq + IL_1481: box [mscorlib]System.Boolean + IL_1486: stloc.s 5 + IL_1488: br IL_1536 - IL_0a53: ldloc.1 - IL_0a54: isinst [mscorlib]System.Double - IL_0a59: brfalse IL_0a8f + IL_148d: ldloc.1 + IL_148e: isinst [mscorlib]System.TimeSpan + IL_1493: brfalse IL_14c2 - IL_0a5e: ldloc.3 - IL_0a5f: isinst [mscorlib]System.Int64 - IL_0a64: brfalse IL_0a8f + IL_1498: ldloc.3 + IL_1499: isinst [mscorlib]System.TimeSpan + IL_149e: brfalse IL_14c2 - IL_0a69: nop - IL_0a6a: ldloc.1 - IL_0a6b: castclass [mscorlib]System.IComparable - IL_0a70: ldloc.3 - IL_0a71: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0a76: box [mscorlib]System.Double - IL_0a7b: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0a80: ldc.i4.0 - IL_0a81: clt - IL_0a83: box [mscorlib]System.Boolean - IL_0a88: stloc.s 5 - IL_0a8a: br IL_1536 + IL_14a3: nop + IL_14a4: ldloc.1 + IL_14a5: castclass [mscorlib]System.IComparable + IL_14aa: ldloc.3 + IL_14ab: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_14b0: ldc.i4.0 + IL_14b1: clt + IL_14b3: ldc.i4.0 + IL_14b4: ceq + IL_14b6: box [mscorlib]System.Boolean + IL_14bb: stloc.s 5 + IL_14bd: br IL_1536 - IL_0a8f: ldloc.1 - IL_0a90: isinst [mscorlib]System.DateTime - IL_0a95: brfalse IL_0ac1 + IL_14c2: ldloc.1 + IL_14c3: isinst [mscorlib]System.Version + IL_14c8: brfalse IL_14f7 - IL_0a9a: ldloc.3 - IL_0a9b: isinst [mscorlib]System.DateTime - IL_0aa0: brfalse IL_0ac1 + IL_14cd: ldloc.3 + IL_14ce: isinst [mscorlib]System.Version + IL_14d3: brfalse IL_14f7 - IL_0aa5: nop - IL_0aa6: ldloc.1 - IL_0aa7: castclass [mscorlib]System.IComparable - IL_0aac: ldloc.3 - IL_0aad: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0ab2: ldc.i4.0 - IL_0ab3: clt - IL_0ab5: box [mscorlib]System.Boolean - IL_0aba: stloc.s 5 - IL_0abc: br IL_1536 + IL_14d8: nop + IL_14d9: ldloc.1 + IL_14da: castclass [mscorlib]System.IComparable + IL_14df: ldloc.3 + IL_14e0: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) + IL_14e5: ldc.i4.0 + IL_14e6: clt + IL_14e8: ldc.i4.0 + IL_14e9: ceq + IL_14eb: box [mscorlib]System.Boolean + IL_14f0: stloc.s 5 + IL_14f2: br IL_1536 - IL_0ac1: ldloc.1 - IL_0ac2: isinst [mscorlib]System.TimeSpan - IL_0ac7: brfalse IL_0af3 + IL_14f7: ldarg.0 + IL_14f8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_14fd: ldstr "NA1050" + IL_1502: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_1507: ldarg.0 + IL_1508: ldloc.1 + IL_1509: callvirt instance class [mscorlib]System.Type object::GetType() + IL_150e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_1513: ldarg.0 + IL_1514: ldloc.3 + IL_1515: callvirt instance class [mscorlib]System.Type object::GetType() + IL_151a: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_151f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_1524: ldloc.0 + IL_1525: ldloc.s 4 + IL_1527: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_152c: throw + IL_152d: nop + IL_152e: ldloc.1 + IL_152f: stloc.s 5 + IL_1531: br IL_1536 - IL_0acc: ldloc.3 - IL_0acd: isinst [mscorlib]System.TimeSpan - IL_0ad2: brfalse IL_0af3 + IL_1536: ldloc.s 5 + IL_1538: ret + } // end of method ExpressionEvalBase::ParseRelationalExpression - IL_0ad7: nop - IL_0ad8: ldloc.1 - IL_0ad9: castclass [mscorlib]System.IComparable - IL_0ade: ldloc.3 - IL_0adf: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0ae4: ldc.i4.0 - IL_0ae5: clt - IL_0ae7: box [mscorlib]System.Boolean - IL_0aec: stloc.s 5 - IL_0aee: br IL_1536 + // method line 1604 + .method private hidebysig + instance default object ParseAddSubtract () cil managed + { + // Method begins at RVA 0x1e490 + // Code size 1500 (0x5dc) + .maxstack 6 + .locals init ( + valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + object V_1, + object V_2, + valuetype NAnt.Core.ExpressionTokenizer/Position V_3, + object V_4, + valuetype NAnt.Core.ExpressionTokenizer/Position V_5, + object V_6) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseMulDiv() + IL_0013: stloc.1 + IL_0014: nop + IL_0015: nop + IL_0016: ldarg.0 + IL_0017: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_001c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0021: ldc.i4.s 0x0b + IL_0023: bne.un IL_02dd - IL_0af3: ldloc.1 - IL_0af4: isinst [mscorlib]System.Version - IL_0af9: brfalse IL_0b25 + IL_0028: nop + IL_0029: ldarg.0 + IL_002a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_002f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0034: ldarg.0 + IL_0035: call instance object class NAnt.Core.ExpressionEvalBase::ParseMulDiv() + IL_003a: stloc.2 + IL_003b: ldarg.0 + IL_003c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0041: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0046: stloc.3 + IL_0047: ldarg.0 + IL_0048: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_004d: brtrue IL_02d7 - IL_0afe: ldloc.3 - IL_0aff: isinst [mscorlib]System.Version - IL_0b04: brfalse IL_0b25 + IL_0052: nop + IL_0053: ldloc.1 + IL_0054: isinst [mscorlib]System.String + IL_0059: brfalse IL_0082 - IL_0b09: nop - IL_0b0a: ldloc.1 - IL_0b0b: castclass [mscorlib]System.IComparable - IL_0b10: ldloc.3 - IL_0b11: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0b16: ldc.i4.0 - IL_0b17: clt - IL_0b19: box [mscorlib]System.Boolean - IL_0b1e: stloc.s 5 - IL_0b20: br IL_1536 + IL_005e: ldloc.2 + IL_005f: isinst [mscorlib]System.String + IL_0064: brfalse IL_0082 - IL_0b25: ldarg.0 - IL_0b26: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0b2b: ldstr "NA1051" - IL_0b30: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0b35: ldarg.0 - IL_0b36: ldloc.1 - IL_0b37: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0b3c: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0b41: ldarg.0 - IL_0b42: ldloc.3 - IL_0b43: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0b48: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0b4d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0b52: ldloc.0 - IL_0b53: ldloc.s 4 - IL_0b55: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0b5a: throw - IL_0b5b: ldloc.1 - IL_0b5c: isinst [mscorlib]System.String - IL_0b61: brfalse IL_0b98 + IL_0069: nop + IL_006a: ldloc.1 + IL_006b: castclass [mscorlib]System.String + IL_0070: ldloc.2 + IL_0071: castclass [mscorlib]System.String + IL_0076: call string string::Concat(string, string) + IL_007b: stloc.1 + IL_007c: nop + IL_007d: br IL_02d6 - IL_0b66: ldloc.3 - IL_0b67: isinst [mscorlib]System.String - IL_0b6c: brfalse IL_0b98 + IL_0082: ldloc.1 + IL_0083: isinst [mscorlib]System.Int32 + IL_0088: brfalse IL_00b2 - IL_0b71: nop - IL_0b72: ldloc.1 - IL_0b73: castclass [mscorlib]System.String - IL_0b78: ldloc.3 - IL_0b79: castclass [mscorlib]System.String - IL_0b7e: ldc.i4.0 - IL_0b7f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0b84: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0b89: ldc.i4.0 - IL_0b8a: cgt - IL_0b8c: box [mscorlib]System.Boolean - IL_0b91: stloc.s 5 - IL_0b93: br IL_1536 + IL_008d: ldloc.2 + IL_008e: isinst [mscorlib]System.Int32 + IL_0093: brfalse IL_00b2 - IL_0b98: ldloc.1 - IL_0b99: isinst [mscorlib]System.Boolean - IL_0b9e: brfalse IL_0bca + IL_0098: nop + IL_0099: ldloc.1 + IL_009a: unbox.any [mscorlib]System.Int32 + IL_009f: ldloc.2 + IL_00a0: unbox.any [mscorlib]System.Int32 + IL_00a5: add + IL_00a6: box [mscorlib]System.Int32 + IL_00ab: stloc.1 + IL_00ac: nop + IL_00ad: br IL_02d6 - IL_0ba3: ldloc.3 - IL_0ba4: isinst [mscorlib]System.Boolean - IL_0ba9: brfalse IL_0bca + IL_00b2: ldloc.1 + IL_00b3: isinst [mscorlib]System.Int32 + IL_00b8: brfalse IL_00e3 - IL_0bae: nop - IL_0baf: ldloc.1 - IL_0bb0: castclass [mscorlib]System.IComparable - IL_0bb5: ldloc.3 - IL_0bb6: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0bbb: ldc.i4.0 - IL_0bbc: cgt - IL_0bbe: box [mscorlib]System.Boolean - IL_0bc3: stloc.s 5 - IL_0bc5: br IL_1536 + IL_00bd: ldloc.2 + IL_00be: isinst [mscorlib]System.Int64 + IL_00c3: brfalse IL_00e3 - IL_0bca: ldloc.1 - IL_0bcb: isinst [mscorlib]System.Int32 - IL_0bd0: brfalse IL_0bfc + IL_00c8: nop + IL_00c9: ldloc.1 + IL_00ca: unbox.any [mscorlib]System.Int32 + IL_00cf: conv.i8 + IL_00d0: ldloc.2 + IL_00d1: unbox.any [mscorlib]System.Int64 + IL_00d6: add + IL_00d7: box [mscorlib]System.Int64 + IL_00dc: stloc.1 + IL_00dd: nop + IL_00de: br IL_02d6 - IL_0bd5: ldloc.3 - IL_0bd6: isinst [mscorlib]System.Int32 - IL_0bdb: brfalse IL_0bfc + IL_00e3: ldloc.1 + IL_00e4: isinst [mscorlib]System.Int32 + IL_00e9: brfalse IL_0114 - IL_0be0: nop - IL_0be1: ldloc.1 - IL_0be2: castclass [mscorlib]System.IComparable - IL_0be7: ldloc.3 - IL_0be8: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0bed: ldc.i4.0 - IL_0bee: cgt - IL_0bf0: box [mscorlib]System.Boolean - IL_0bf5: stloc.s 5 - IL_0bf7: br IL_1536 + IL_00ee: ldloc.2 + IL_00ef: isinst [mscorlib]System.Double + IL_00f4: brfalse IL_0114 - IL_0bfc: ldloc.1 - IL_0bfd: isinst [mscorlib]System.Int32 - IL_0c02: brfalse IL_0c33 + IL_00f9: nop + IL_00fa: ldloc.1 + IL_00fb: unbox.any [mscorlib]System.Int32 + IL_0100: conv.r8 + IL_0101: ldloc.2 + IL_0102: unbox.any [mscorlib]System.Double + IL_0107: add + IL_0108: box [mscorlib]System.Double + IL_010d: stloc.1 + IL_010e: nop + IL_010f: br IL_02d6 - IL_0c07: ldloc.3 - IL_0c08: isinst [mscorlib]System.Int64 - IL_0c0d: brfalse IL_0c33 + IL_0114: ldloc.1 + IL_0115: isinst [mscorlib]System.Int64 + IL_011a: brfalse IL_0144 - IL_0c12: nop - IL_0c13: ldloc.1 - IL_0c14: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_0c19: box [mscorlib]System.Int64 - IL_0c1e: ldloc.3 - IL_0c1f: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0c24: ldc.i4.0 - IL_0c25: cgt - IL_0c27: box [mscorlib]System.Boolean - IL_0c2c: stloc.s 5 - IL_0c2e: br IL_1536 + IL_011f: ldloc.2 + IL_0120: isinst [mscorlib]System.Int64 + IL_0125: brfalse IL_0144 - IL_0c33: ldloc.1 - IL_0c34: isinst [mscorlib]System.Int32 - IL_0c39: brfalse IL_0c6a + IL_012a: nop + IL_012b: ldloc.1 + IL_012c: unbox.any [mscorlib]System.Int64 + IL_0131: ldloc.2 + IL_0132: unbox.any [mscorlib]System.Int64 + IL_0137: add + IL_0138: box [mscorlib]System.Int64 + IL_013d: stloc.1 + IL_013e: nop + IL_013f: br IL_02d6 - IL_0c3e: ldloc.3 - IL_0c3f: isinst [mscorlib]System.Double - IL_0c44: brfalse IL_0c6a + IL_0144: ldloc.1 + IL_0145: isinst [mscorlib]System.Int64 + IL_014a: brfalse IL_0175 - IL_0c49: nop - IL_0c4a: ldloc.1 - IL_0c4b: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0c50: box [mscorlib]System.Double - IL_0c55: ldloc.3 - IL_0c56: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0c5b: ldc.i4.0 - IL_0c5c: cgt - IL_0c5e: box [mscorlib]System.Boolean - IL_0c63: stloc.s 5 - IL_0c65: br IL_1536 + IL_014f: ldloc.2 + IL_0150: isinst [mscorlib]System.Int32 + IL_0155: brfalse IL_0175 - IL_0c6a: ldloc.1 - IL_0c6b: isinst [mscorlib]System.Int64 - IL_0c70: brfalse IL_0c9c + IL_015a: nop + IL_015b: ldloc.1 + IL_015c: unbox.any [mscorlib]System.Int64 + IL_0161: ldloc.2 + IL_0162: unbox.any [mscorlib]System.Int32 + IL_0167: conv.i8 + IL_0168: add + IL_0169: box [mscorlib]System.Int64 + IL_016e: stloc.1 + IL_016f: nop + IL_0170: br IL_02d6 - IL_0c75: ldloc.3 - IL_0c76: isinst [mscorlib]System.Int64 - IL_0c7b: brfalse IL_0c9c + IL_0175: ldloc.1 + IL_0176: isinst [mscorlib]System.Int64 + IL_017b: brfalse IL_01a6 - IL_0c80: nop - IL_0c81: ldloc.1 - IL_0c82: castclass [mscorlib]System.IComparable - IL_0c87: ldloc.3 - IL_0c88: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0c8d: ldc.i4.0 - IL_0c8e: cgt - IL_0c90: box [mscorlib]System.Boolean - IL_0c95: stloc.s 5 - IL_0c97: br IL_1536 + IL_0180: ldloc.2 + IL_0181: isinst [mscorlib]System.Double + IL_0186: brfalse IL_01a6 - IL_0c9c: ldloc.1 - IL_0c9d: isinst [mscorlib]System.Int64 - IL_0ca2: brfalse IL_0cd8 + IL_018b: nop + IL_018c: ldloc.1 + IL_018d: unbox.any [mscorlib]System.Int64 + IL_0192: conv.r8 + IL_0193: ldloc.2 + IL_0194: unbox.any [mscorlib]System.Double + IL_0199: add + IL_019a: box [mscorlib]System.Double + IL_019f: stloc.1 + IL_01a0: nop + IL_01a1: br IL_02d6 - IL_0ca7: ldloc.3 - IL_0ca8: isinst [mscorlib]System.Int32 - IL_0cad: brfalse IL_0cd8 + IL_01a6: ldloc.1 + IL_01a7: isinst [mscorlib]System.Double + IL_01ac: brfalse IL_01d6 - IL_0cb2: nop - IL_0cb3: ldloc.1 - IL_0cb4: castclass [mscorlib]System.IComparable - IL_0cb9: ldloc.3 - IL_0cba: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_0cbf: box [mscorlib]System.Int64 - IL_0cc4: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0cc9: ldc.i4.0 - IL_0cca: cgt - IL_0ccc: box [mscorlib]System.Boolean - IL_0cd1: stloc.s 5 - IL_0cd3: br IL_1536 + IL_01b1: ldloc.2 + IL_01b2: isinst [mscorlib]System.Double + IL_01b7: brfalse IL_01d6 - IL_0cd8: ldloc.1 - IL_0cd9: isinst [mscorlib]System.Int64 - IL_0cde: brfalse IL_0d0f + IL_01bc: nop + IL_01bd: ldloc.1 + IL_01be: unbox.any [mscorlib]System.Double + IL_01c3: ldloc.2 + IL_01c4: unbox.any [mscorlib]System.Double + IL_01c9: add + IL_01ca: box [mscorlib]System.Double + IL_01cf: stloc.1 + IL_01d0: nop + IL_01d1: br IL_02d6 - IL_0ce3: ldloc.3 - IL_0ce4: isinst [mscorlib]System.Double - IL_0ce9: brfalse IL_0d0f + IL_01d6: ldloc.1 + IL_01d7: isinst [mscorlib]System.Double + IL_01dc: brfalse IL_0207 - IL_0cee: nop - IL_0cef: ldloc.1 - IL_0cf0: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0cf5: box [mscorlib]System.Double - IL_0cfa: ldloc.3 - IL_0cfb: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0d00: ldc.i4.0 - IL_0d01: cgt - IL_0d03: box [mscorlib]System.Boolean - IL_0d08: stloc.s 5 - IL_0d0a: br IL_1536 + IL_01e1: ldloc.2 + IL_01e2: isinst [mscorlib]System.Int32 + IL_01e7: brfalse IL_0207 - IL_0d0f: ldloc.1 - IL_0d10: isinst [mscorlib]System.Double - IL_0d15: brfalse IL_0d41 + IL_01ec: nop + IL_01ed: ldloc.1 + IL_01ee: unbox.any [mscorlib]System.Double + IL_01f3: ldloc.2 + IL_01f4: unbox.any [mscorlib]System.Int32 + IL_01f9: conv.r8 + IL_01fa: add + IL_01fb: box [mscorlib]System.Double + IL_0200: stloc.1 + IL_0201: nop + IL_0202: br IL_02d6 - IL_0d1a: ldloc.3 - IL_0d1b: isinst [mscorlib]System.Double - IL_0d20: brfalse IL_0d41 + IL_0207: ldloc.1 + IL_0208: isinst [mscorlib]System.Double + IL_020d: brfalse IL_0238 - IL_0d25: nop - IL_0d26: ldloc.1 - IL_0d27: castclass [mscorlib]System.IComparable - IL_0d2c: ldloc.3 - IL_0d2d: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0d32: ldc.i4.0 - IL_0d33: cgt - IL_0d35: box [mscorlib]System.Boolean - IL_0d3a: stloc.s 5 - IL_0d3c: br IL_1536 + IL_0212: ldloc.2 + IL_0213: isinst [mscorlib]System.Int64 + IL_0218: brfalse IL_0238 - IL_0d41: ldloc.1 - IL_0d42: isinst [mscorlib]System.Double - IL_0d47: brfalse IL_0d7d + IL_021d: nop + IL_021e: ldloc.1 + IL_021f: unbox.any [mscorlib]System.Double + IL_0224: ldloc.2 + IL_0225: unbox.any [mscorlib]System.Int64 + IL_022a: conv.r8 + IL_022b: add + IL_022c: box [mscorlib]System.Double + IL_0231: stloc.1 + IL_0232: nop + IL_0233: br IL_02d6 - IL_0d4c: ldloc.3 - IL_0d4d: isinst [mscorlib]System.Int32 - IL_0d52: brfalse IL_0d7d + IL_0238: ldloc.1 + IL_0239: isinst [mscorlib]System.DateTime + IL_023e: brfalse IL_026c - IL_0d57: nop - IL_0d58: ldloc.1 - IL_0d59: castclass [mscorlib]System.IComparable - IL_0d5e: ldloc.3 - IL_0d5f: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0d64: box [mscorlib]System.Double - IL_0d69: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0d6e: ldc.i4.0 - IL_0d6f: cgt - IL_0d71: box [mscorlib]System.Boolean - IL_0d76: stloc.s 5 - IL_0d78: br IL_1536 + IL_0243: ldloc.2 + IL_0244: isinst [mscorlib]System.TimeSpan + IL_0249: brfalse IL_026c - IL_0d7d: ldloc.1 - IL_0d7e: isinst [mscorlib]System.Double - IL_0d83: brfalse IL_0db9 + IL_024e: nop + IL_024f: ldloc.1 + IL_0250: unbox.any [mscorlib]System.DateTime + IL_0255: ldloc.2 + IL_0256: unbox.any [mscorlib]System.TimeSpan + IL_025b: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::op_Addition(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.TimeSpan) + IL_0260: box [mscorlib]System.DateTime + IL_0265: stloc.1 + IL_0266: nop + IL_0267: br IL_02d6 - IL_0d88: ldloc.3 - IL_0d89: isinst [mscorlib]System.Int64 - IL_0d8e: brfalse IL_0db9 + IL_026c: ldloc.1 + IL_026d: isinst [mscorlib]System.TimeSpan + IL_0272: brfalse IL_02a0 - IL_0d93: nop - IL_0d94: ldloc.1 - IL_0d95: castclass [mscorlib]System.IComparable - IL_0d9a: ldloc.3 - IL_0d9b: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0da0: box [mscorlib]System.Double - IL_0da5: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0daa: ldc.i4.0 - IL_0dab: cgt - IL_0dad: box [mscorlib]System.Boolean - IL_0db2: stloc.s 5 - IL_0db4: br IL_1536 + IL_0277: ldloc.2 + IL_0278: isinst [mscorlib]System.TimeSpan + IL_027d: brfalse IL_02a0 - IL_0db9: ldloc.1 - IL_0dba: isinst [mscorlib]System.DateTime - IL_0dbf: brfalse IL_0deb + IL_0282: nop + IL_0283: ldloc.1 + IL_0284: unbox.any [mscorlib]System.TimeSpan + IL_0289: ldloc.2 + IL_028a: unbox.any [mscorlib]System.TimeSpan + IL_028f: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::op_Addition(valuetype [mscorlib]System.TimeSpan, valuetype [mscorlib]System.TimeSpan) + IL_0294: box [mscorlib]System.TimeSpan + IL_0299: stloc.1 + IL_029a: nop + IL_029b: br IL_02d6 - IL_0dc4: ldloc.3 - IL_0dc5: isinst [mscorlib]System.DateTime - IL_0dca: brfalse IL_0deb + IL_02a0: nop + IL_02a1: ldarg.0 + IL_02a2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02a7: ldstr "NA1041" + IL_02ac: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02b1: ldarg.0 + IL_02b2: ldloc.1 + IL_02b3: callvirt instance class [mscorlib]System.Type object::GetType() + IL_02b8: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_02bd: ldarg.0 + IL_02be: ldloc.2 + IL_02bf: callvirt instance class [mscorlib]System.Type object::GetType() + IL_02c4: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_02c9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02ce: ldloc.0 + IL_02cf: ldloc.3 + IL_02d0: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_02d5: throw + IL_02d6: nop + IL_02d7: nop + IL_02d8: br IL_05cb - IL_0dcf: nop - IL_0dd0: ldloc.1 - IL_0dd1: castclass [mscorlib]System.IComparable - IL_0dd6: ldloc.3 - IL_0dd7: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0ddc: ldc.i4.0 - IL_0ddd: cgt - IL_0ddf: box [mscorlib]System.Boolean - IL_0de4: stloc.s 5 - IL_0de6: br IL_1536 + IL_02dd: ldarg.0 + IL_02de: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_02e3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_02e8: ldc.i4.s 0x0c + IL_02ea: bne.un IL_05c5 - IL_0deb: ldloc.1 - IL_0dec: isinst [mscorlib]System.TimeSpan - IL_0df1: brfalse IL_0e1d + IL_02ef: nop + IL_02f0: ldarg.0 + IL_02f1: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_02f6: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_02fb: ldarg.0 + IL_02fc: call instance object class NAnt.Core.ExpressionEvalBase::ParseMulDiv() + IL_0301: stloc.s 4 + IL_0303: ldarg.0 + IL_0304: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0309: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_030e: stloc.s 5 + IL_0310: ldarg.0 + IL_0311: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_0316: brtrue IL_05bf - IL_0df6: ldloc.3 - IL_0df7: isinst [mscorlib]System.TimeSpan - IL_0dfc: brfalse IL_0e1d + IL_031b: nop + IL_031c: ldloc.1 + IL_031d: isinst [mscorlib]System.Int32 + IL_0322: brfalse IL_034e - IL_0e01: nop - IL_0e02: ldloc.1 - IL_0e03: castclass [mscorlib]System.IComparable - IL_0e08: ldloc.3 - IL_0e09: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0e0e: ldc.i4.0 - IL_0e0f: cgt - IL_0e11: box [mscorlib]System.Boolean - IL_0e16: stloc.s 5 - IL_0e18: br IL_1536 + IL_0327: ldloc.s 4 + IL_0329: isinst [mscorlib]System.Int32 + IL_032e: brfalse IL_034e - IL_0e1d: ldloc.1 - IL_0e1e: isinst [mscorlib]System.Version - IL_0e23: brfalse IL_0e4f + IL_0333: nop + IL_0334: ldloc.1 + IL_0335: unbox.any [mscorlib]System.Int32 + IL_033a: ldloc.s 4 + IL_033c: unbox.any [mscorlib]System.Int32 + IL_0341: sub + IL_0342: box [mscorlib]System.Int32 + IL_0347: stloc.1 + IL_0348: nop + IL_0349: br IL_05be - IL_0e28: ldloc.3 - IL_0e29: isinst [mscorlib]System.Version - IL_0e2e: brfalse IL_0e4f + IL_034e: ldloc.1 + IL_034f: isinst [mscorlib]System.Int32 + IL_0354: brfalse IL_0381 - IL_0e33: nop - IL_0e34: ldloc.1 - IL_0e35: castclass [mscorlib]System.IComparable - IL_0e3a: ldloc.3 - IL_0e3b: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0e40: ldc.i4.0 - IL_0e41: cgt - IL_0e43: box [mscorlib]System.Boolean - IL_0e48: stloc.s 5 - IL_0e4a: br IL_1536 - - IL_0e4f: ldarg.0 - IL_0e50: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0e55: ldstr "NA1037" - IL_0e5a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0e5f: ldarg.0 - IL_0e60: ldloc.1 - IL_0e61: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0e66: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0e6b: ldarg.0 - IL_0e6c: ldloc.3 - IL_0e6d: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0e72: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0e77: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0e7c: ldloc.0 - IL_0e7d: ldloc.s 4 - IL_0e7f: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0e84: throw - IL_0e85: ldloc.1 - IL_0e86: isinst [mscorlib]System.String - IL_0e8b: brfalse IL_0ec5 + IL_0359: ldloc.s 4 + IL_035b: isinst [mscorlib]System.Int64 + IL_0360: brfalse IL_0381 - IL_0e90: ldloc.3 - IL_0e91: isinst [mscorlib]System.String - IL_0e96: brfalse IL_0ec5 + IL_0365: nop + IL_0366: ldloc.1 + IL_0367: unbox.any [mscorlib]System.Int32 + IL_036c: conv.i8 + IL_036d: ldloc.s 4 + IL_036f: unbox.any [mscorlib]System.Int64 + IL_0374: sub + IL_0375: box [mscorlib]System.Int64 + IL_037a: stloc.1 + IL_037b: nop + IL_037c: br IL_05be - IL_0e9b: nop - IL_0e9c: ldloc.1 - IL_0e9d: castclass [mscorlib]System.String - IL_0ea2: ldloc.3 - IL_0ea3: castclass [mscorlib]System.String - IL_0ea8: ldc.i4.0 - IL_0ea9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0eae: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0eb3: ldc.i4.0 - IL_0eb4: cgt - IL_0eb6: ldc.i4.0 - IL_0eb7: ceq - IL_0eb9: box [mscorlib]System.Boolean - IL_0ebe: stloc.s 5 - IL_0ec0: br IL_1536 + IL_0381: ldloc.1 + IL_0382: isinst [mscorlib]System.Int32 + IL_0387: brfalse IL_03b4 - IL_0ec5: ldloc.1 - IL_0ec6: isinst [mscorlib]System.Boolean - IL_0ecb: brfalse IL_0efa + IL_038c: ldloc.s 4 + IL_038e: isinst [mscorlib]System.Double + IL_0393: brfalse IL_03b4 - IL_0ed0: ldloc.3 - IL_0ed1: isinst [mscorlib]System.Boolean - IL_0ed6: brfalse IL_0efa + IL_0398: nop + IL_0399: ldloc.1 + IL_039a: unbox.any [mscorlib]System.Int32 + IL_039f: conv.r8 + IL_03a0: ldloc.s 4 + IL_03a2: unbox.any [mscorlib]System.Double + IL_03a7: sub + IL_03a8: box [mscorlib]System.Double + IL_03ad: stloc.1 + IL_03ae: nop + IL_03af: br IL_05be - IL_0edb: nop - IL_0edc: ldloc.1 - IL_0edd: castclass [mscorlib]System.IComparable - IL_0ee2: ldloc.3 - IL_0ee3: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0ee8: ldc.i4.0 - IL_0ee9: cgt - IL_0eeb: ldc.i4.0 - IL_0eec: ceq - IL_0eee: box [mscorlib]System.Boolean - IL_0ef3: stloc.s 5 - IL_0ef5: br IL_1536 + IL_03b4: ldloc.1 + IL_03b5: isinst [mscorlib]System.Int64 + IL_03ba: brfalse IL_03e6 - IL_0efa: ldloc.1 - IL_0efb: isinst [mscorlib]System.Int32 - IL_0f00: brfalse IL_0f2f + IL_03bf: ldloc.s 4 + IL_03c1: isinst [mscorlib]System.Int64 + IL_03c6: brfalse IL_03e6 - IL_0f05: ldloc.3 - IL_0f06: isinst [mscorlib]System.Int32 - IL_0f0b: brfalse IL_0f2f + IL_03cb: nop + IL_03cc: ldloc.1 + IL_03cd: unbox.any [mscorlib]System.Int64 + IL_03d2: ldloc.s 4 + IL_03d4: unbox.any [mscorlib]System.Int64 + IL_03d9: sub + IL_03da: box [mscorlib]System.Int64 + IL_03df: stloc.1 + IL_03e0: nop + IL_03e1: br IL_05be - IL_0f10: nop - IL_0f11: ldloc.1 - IL_0f12: castclass [mscorlib]System.IComparable - IL_0f17: ldloc.3 - IL_0f18: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0f1d: ldc.i4.0 - IL_0f1e: cgt - IL_0f20: ldc.i4.0 - IL_0f21: ceq - IL_0f23: box [mscorlib]System.Boolean - IL_0f28: stloc.s 5 - IL_0f2a: br IL_1536 + IL_03e6: ldloc.1 + IL_03e7: isinst [mscorlib]System.Int64 + IL_03ec: brfalse IL_0419 - IL_0f2f: ldloc.1 - IL_0f30: isinst [mscorlib]System.Int32 - IL_0f35: brfalse IL_0f69 + IL_03f1: ldloc.s 4 + IL_03f3: isinst [mscorlib]System.Int32 + IL_03f8: brfalse IL_0419 - IL_0f3a: ldloc.3 - IL_0f3b: isinst [mscorlib]System.Int64 - IL_0f40: brfalse IL_0f69 + IL_03fd: nop + IL_03fe: ldloc.1 + IL_03ff: unbox.any [mscorlib]System.Int64 + IL_0404: ldloc.s 4 + IL_0406: unbox.any [mscorlib]System.Int32 + IL_040b: conv.i8 + IL_040c: sub + IL_040d: box [mscorlib]System.Int64 + IL_0412: stloc.1 + IL_0413: nop + IL_0414: br IL_05be - IL_0f45: nop - IL_0f46: ldloc.1 - IL_0f47: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_0f4c: box [mscorlib]System.Int64 - IL_0f51: ldloc.3 - IL_0f52: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0f57: ldc.i4.0 - IL_0f58: cgt - IL_0f5a: ldc.i4.0 - IL_0f5b: ceq - IL_0f5d: box [mscorlib]System.Boolean - IL_0f62: stloc.s 5 - IL_0f64: br IL_1536 + IL_0419: ldloc.1 + IL_041a: isinst [mscorlib]System.Int64 + IL_041f: brfalse IL_044c - IL_0f69: ldloc.1 - IL_0f6a: isinst [mscorlib]System.Int32 - IL_0f6f: brfalse IL_0fa3 + IL_0424: ldloc.s 4 + IL_0426: isinst [mscorlib]System.Double + IL_042b: brfalse IL_044c - IL_0f74: ldloc.3 - IL_0f75: isinst [mscorlib]System.Double - IL_0f7a: brfalse IL_0fa3 + IL_0430: nop + IL_0431: ldloc.1 + IL_0432: unbox.any [mscorlib]System.Int64 + IL_0437: conv.r8 + IL_0438: ldloc.s 4 + IL_043a: unbox.any [mscorlib]System.Double + IL_043f: sub + IL_0440: box [mscorlib]System.Double + IL_0445: stloc.1 + IL_0446: nop + IL_0447: br IL_05be - IL_0f7f: nop - IL_0f80: ldloc.1 - IL_0f81: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_0f86: box [mscorlib]System.Double - IL_0f8b: ldloc.3 - IL_0f8c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0f91: ldc.i4.0 - IL_0f92: cgt - IL_0f94: ldc.i4.0 - IL_0f95: ceq - IL_0f97: box [mscorlib]System.Boolean - IL_0f9c: stloc.s 5 - IL_0f9e: br IL_1536 + IL_044c: ldloc.1 + IL_044d: isinst [mscorlib]System.Double + IL_0452: brfalse IL_047e - IL_0fa3: ldloc.1 - IL_0fa4: isinst [mscorlib]System.Int64 - IL_0fa9: brfalse IL_0fd8 + IL_0457: ldloc.s 4 + IL_0459: isinst [mscorlib]System.Double + IL_045e: brfalse IL_047e - IL_0fae: ldloc.3 - IL_0faf: isinst [mscorlib]System.Int64 - IL_0fb4: brfalse IL_0fd8 + IL_0463: nop + IL_0464: ldloc.1 + IL_0465: unbox.any [mscorlib]System.Double + IL_046a: ldloc.s 4 + IL_046c: unbox.any [mscorlib]System.Double + IL_0471: sub + IL_0472: box [mscorlib]System.Double + IL_0477: stloc.1 + IL_0478: nop + IL_0479: br IL_05be - IL_0fb9: nop - IL_0fba: ldloc.1 - IL_0fbb: castclass [mscorlib]System.IComparable - IL_0fc0: ldloc.3 - IL_0fc1: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_0fc6: ldc.i4.0 - IL_0fc7: cgt - IL_0fc9: ldc.i4.0 - IL_0fca: ceq - IL_0fcc: box [mscorlib]System.Boolean - IL_0fd1: stloc.s 5 - IL_0fd3: br IL_1536 + IL_047e: ldloc.1 + IL_047f: isinst [mscorlib]System.Double + IL_0484: brfalse IL_04b1 - IL_0fd8: ldloc.1 - IL_0fd9: isinst [mscorlib]System.Int64 - IL_0fde: brfalse IL_1017 + IL_0489: ldloc.s 4 + IL_048b: isinst [mscorlib]System.Int32 + IL_0490: brfalse IL_04b1 - IL_0fe3: ldloc.3 - IL_0fe4: isinst [mscorlib]System.Int32 - IL_0fe9: brfalse IL_1017 + IL_0495: nop + IL_0496: ldloc.1 + IL_0497: unbox.any [mscorlib]System.Double + IL_049c: ldloc.s 4 + IL_049e: unbox.any [mscorlib]System.Int32 + IL_04a3: conv.r8 + IL_04a4: sub + IL_04a5: box [mscorlib]System.Double + IL_04aa: stloc.1 + IL_04ab: nop + IL_04ac: br IL_05be - IL_0fee: nop - IL_0fef: ldloc.1 - IL_0ff0: castclass [mscorlib]System.IComparable - IL_0ff5: ldloc.3 - IL_0ff6: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_0ffb: box [mscorlib]System.Int64 - IL_1000: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1005: ldc.i4.0 - IL_1006: cgt - IL_1008: ldc.i4.0 - IL_1009: ceq - IL_100b: box [mscorlib]System.Boolean - IL_1010: stloc.s 5 - IL_1012: br IL_1536 + IL_04b1: ldloc.1 + IL_04b2: isinst [mscorlib]System.Double + IL_04b7: brfalse IL_04e4 - IL_1017: ldloc.1 - IL_1018: isinst [mscorlib]System.Int64 - IL_101d: brfalse IL_1051 + IL_04bc: ldloc.s 4 + IL_04be: isinst [mscorlib]System.Int64 + IL_04c3: brfalse IL_04e4 - IL_1022: ldloc.3 - IL_1023: isinst [mscorlib]System.Double - IL_1028: brfalse IL_1051 + IL_04c8: nop + IL_04c9: ldloc.1 + IL_04ca: unbox.any [mscorlib]System.Double + IL_04cf: ldloc.s 4 + IL_04d1: unbox.any [mscorlib]System.Int64 + IL_04d6: conv.r8 + IL_04d7: sub + IL_04d8: box [mscorlib]System.Double + IL_04dd: stloc.1 + IL_04de: nop + IL_04df: br IL_05be - IL_102d: nop - IL_102e: ldloc.1 - IL_102f: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_1034: box [mscorlib]System.Double - IL_1039: ldloc.3 - IL_103a: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_103f: ldc.i4.0 - IL_1040: cgt - IL_1042: ldc.i4.0 - IL_1043: ceq - IL_1045: box [mscorlib]System.Boolean - IL_104a: stloc.s 5 - IL_104c: br IL_1536 + IL_04e4: ldloc.1 + IL_04e5: isinst [mscorlib]System.DateTime + IL_04ea: brfalse IL_051a - IL_1051: ldloc.1 - IL_1052: isinst [mscorlib]System.Double - IL_1057: brfalse IL_1086 + IL_04ef: ldloc.s 4 + IL_04f1: isinst [mscorlib]System.DateTime + IL_04f6: brfalse IL_051a - IL_105c: ldloc.3 - IL_105d: isinst [mscorlib]System.Double - IL_1062: brfalse IL_1086 + IL_04fb: nop + IL_04fc: ldloc.1 + IL_04fd: unbox.any [mscorlib]System.DateTime + IL_0502: ldloc.s 4 + IL_0504: unbox.any [mscorlib]System.DateTime + IL_0509: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_050e: box [mscorlib]System.TimeSpan + IL_0513: stloc.1 + IL_0514: nop + IL_0515: br IL_05be - IL_1067: nop - IL_1068: ldloc.1 - IL_1069: castclass [mscorlib]System.IComparable - IL_106e: ldloc.3 - IL_106f: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1074: ldc.i4.0 - IL_1075: cgt - IL_1077: ldc.i4.0 - IL_1078: ceq - IL_107a: box [mscorlib]System.Boolean - IL_107f: stloc.s 5 - IL_1081: br IL_1536 + IL_051a: ldloc.1 + IL_051b: isinst [mscorlib]System.DateTime + IL_0520: brfalse IL_0550 - IL_1086: ldloc.1 - IL_1087: isinst [mscorlib]System.Double - IL_108c: brfalse IL_10c5 + IL_0525: ldloc.s 4 + IL_0527: isinst [mscorlib]System.TimeSpan + IL_052c: brfalse IL_0550 - IL_1091: ldloc.3 - IL_1092: isinst [mscorlib]System.Int32 - IL_1097: brfalse IL_10c5 + IL_0531: nop + IL_0532: ldloc.1 + IL_0533: unbox.any [mscorlib]System.DateTime + IL_0538: ldloc.s 4 + IL_053a: unbox.any [mscorlib]System.TimeSpan + IL_053f: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.TimeSpan) + IL_0544: box [mscorlib]System.DateTime + IL_0549: stloc.1 + IL_054a: nop + IL_054b: br IL_05be - IL_109c: nop - IL_109d: ldloc.1 - IL_109e: castclass [mscorlib]System.IComparable - IL_10a3: ldloc.3 - IL_10a4: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_10a9: box [mscorlib]System.Double - IL_10ae: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_10b3: ldc.i4.0 - IL_10b4: cgt - IL_10b6: ldc.i4.0 - IL_10b7: ceq - IL_10b9: box [mscorlib]System.Boolean - IL_10be: stloc.s 5 - IL_10c0: br IL_1536 + IL_0550: ldloc.1 + IL_0551: isinst [mscorlib]System.TimeSpan + IL_0556: brfalse IL_0586 - IL_10c5: ldloc.1 - IL_10c6: isinst [mscorlib]System.Double - IL_10cb: brfalse IL_1104 + IL_055b: ldloc.s 4 + IL_055d: isinst [mscorlib]System.TimeSpan + IL_0562: brfalse IL_0586 - IL_10d0: ldloc.3 - IL_10d1: isinst [mscorlib]System.Int64 - IL_10d6: brfalse IL_1104 + IL_0567: nop + IL_0568: ldloc.1 + IL_0569: unbox.any [mscorlib]System.TimeSpan + IL_056e: ldloc.s 4 + IL_0570: unbox.any [mscorlib]System.TimeSpan + IL_0575: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::op_Subtraction(valuetype [mscorlib]System.TimeSpan, valuetype [mscorlib]System.TimeSpan) + IL_057a: box [mscorlib]System.TimeSpan + IL_057f: stloc.1 + IL_0580: nop + IL_0581: br IL_05be - IL_10db: nop - IL_10dc: ldloc.1 - IL_10dd: castclass [mscorlib]System.IComparable - IL_10e2: ldloc.3 - IL_10e3: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_10e8: box [mscorlib]System.Double - IL_10ed: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_10f2: ldc.i4.0 - IL_10f3: cgt - IL_10f5: ldc.i4.0 - IL_10f6: ceq - IL_10f8: box [mscorlib]System.Boolean - IL_10fd: stloc.s 5 - IL_10ff: br IL_1536 + IL_0586: nop + IL_0587: ldarg.0 + IL_0588: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_058d: ldstr "NA1048" + IL_0592: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0597: ldarg.0 + IL_0598: ldloc.1 + IL_0599: callvirt instance class [mscorlib]System.Type object::GetType() + IL_059e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_05a3: ldarg.0 + IL_05a4: ldloc.s 4 + IL_05a6: callvirt instance class [mscorlib]System.Type object::GetType() + IL_05ab: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_05b0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_05b5: ldloc.0 + IL_05b6: ldloc.s 5 + IL_05b8: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_05bd: throw + IL_05be: nop + IL_05bf: nop + IL_05c0: br IL_05cb - IL_1104: ldloc.1 - IL_1105: isinst [mscorlib]System.DateTime - IL_110a: brfalse IL_1139 + IL_05c5: nop + IL_05c6: br IL_05d1 - IL_110f: ldloc.3 - IL_1110: isinst [mscorlib]System.DateTime - IL_1115: brfalse IL_1139 + IL_05cb: nop + IL_05cc: br IL_0014 - IL_111a: nop - IL_111b: ldloc.1 - IL_111c: castclass [mscorlib]System.IComparable - IL_1121: ldloc.3 - IL_1122: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1127: ldc.i4.0 - IL_1128: cgt - IL_112a: ldc.i4.0 - IL_112b: ceq - IL_112d: box [mscorlib]System.Boolean - IL_1132: stloc.s 5 - IL_1134: br IL_1536 + IL_05d1: ldloc.1 + IL_05d2: stloc.s 6 + IL_05d4: br IL_05d9 - IL_1139: ldloc.1 - IL_113a: isinst [mscorlib]System.TimeSpan - IL_113f: brfalse IL_116e + IL_05d9: ldloc.s 6 + IL_05db: ret + } // end of method ExpressionEvalBase::ParseAddSubtract - IL_1144: ldloc.3 - IL_1145: isinst [mscorlib]System.TimeSpan - IL_114a: brfalse IL_116e + // method line 1605 + .method private hidebysig + instance default object ParseMulDiv () cil managed + { + // Method begins at RVA 0x1ea78 + // Code size 2743 (0xab7) + .maxstack 6 + .locals init ( + valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + object V_1, + object V_2, + valuetype NAnt.Core.ExpressionTokenizer/Position V_3, + valuetype NAnt.Core.ExpressionTokenizer/Position V_4, + object V_5, + valuetype NAnt.Core.ExpressionTokenizer/Position V_6, + valuetype NAnt.Core.ExpressionTokenizer/Position V_7, + object V_8, + valuetype NAnt.Core.ExpressionTokenizer/Position V_9, + object V_10) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() + IL_0013: stloc.1 + IL_0014: nop + IL_0015: nop + IL_0016: ldarg.0 + IL_0017: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_001c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0021: ldc.i4.s 0x0d + IL_0023: bne.un IL_0246 - IL_114f: nop - IL_1150: ldloc.1 - IL_1151: castclass [mscorlib]System.IComparable - IL_1156: ldloc.3 - IL_1157: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_115c: ldc.i4.0 - IL_115d: cgt - IL_115f: ldc.i4.0 - IL_1160: ceq - IL_1162: box [mscorlib]System.Boolean - IL_1167: stloc.s 5 - IL_1169: br IL_1536 - - IL_116e: ldloc.1 - IL_116f: isinst [mscorlib]System.Version - IL_1174: brfalse IL_11a3 + IL_0028: nop + IL_0029: ldarg.0 + IL_002a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_002f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0034: ldarg.0 + IL_0035: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() + IL_003a: stloc.2 + IL_003b: ldarg.0 + IL_003c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0041: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0046: stloc.3 + IL_0047: ldarg.0 + IL_0048: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_004d: brtrue IL_0240 - IL_1179: ldloc.3 - IL_117a: isinst [mscorlib]System.Version - IL_117f: brfalse IL_11a3 + IL_0052: nop + IL_0053: ldloc.1 + IL_0054: isinst [mscorlib]System.Int32 + IL_0059: brfalse IL_0083 - IL_1184: nop - IL_1185: ldloc.1 - IL_1186: castclass [mscorlib]System.IComparable - IL_118b: ldloc.3 - IL_118c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1191: ldc.i4.0 - IL_1192: cgt - IL_1194: ldc.i4.0 - IL_1195: ceq - IL_1197: box [mscorlib]System.Boolean - IL_119c: stloc.s 5 - IL_119e: br IL_1536 + IL_005e: ldloc.2 + IL_005f: isinst [mscorlib]System.Int32 + IL_0064: brfalse IL_0083 - IL_11a3: ldarg.0 - IL_11a4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_11a9: ldstr "NA1049" - IL_11ae: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_11b3: ldarg.0 - IL_11b4: ldloc.1 - IL_11b5: callvirt instance class [mscorlib]System.Type object::GetType() - IL_11ba: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_11bf: ldarg.0 - IL_11c0: ldloc.3 - IL_11c1: callvirt instance class [mscorlib]System.Type object::GetType() - IL_11c6: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_11cb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_11d0: ldloc.0 - IL_11d1: ldloc.s 4 - IL_11d3: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_11d8: throw - IL_11d9: ldloc.1 - IL_11da: isinst [mscorlib]System.String - IL_11df: brfalse IL_1219 + IL_0069: nop + IL_006a: ldloc.1 + IL_006b: unbox.any [mscorlib]System.Int32 + IL_0070: ldloc.2 + IL_0071: unbox.any [mscorlib]System.Int32 + IL_0076: mul + IL_0077: box [mscorlib]System.Int32 + IL_007c: stloc.1 + IL_007d: nop + IL_007e: br IL_023f - IL_11e4: ldloc.3 - IL_11e5: isinst [mscorlib]System.String - IL_11ea: brfalse IL_1219 + IL_0083: ldloc.1 + IL_0084: isinst [mscorlib]System.Int32 + IL_0089: brfalse IL_00b4 - IL_11ef: nop - IL_11f0: ldloc.1 - IL_11f1: castclass [mscorlib]System.String - IL_11f6: ldloc.3 - IL_11f7: castclass [mscorlib]System.String - IL_11fc: ldc.i4.0 - IL_11fd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_1202: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_1207: ldc.i4.0 - IL_1208: clt - IL_120a: ldc.i4.0 - IL_120b: ceq - IL_120d: box [mscorlib]System.Boolean - IL_1212: stloc.s 5 - IL_1214: br IL_1536 + IL_008e: ldloc.2 + IL_008f: isinst [mscorlib]System.Int64 + IL_0094: brfalse IL_00b4 - IL_1219: ldloc.1 - IL_121a: isinst [mscorlib]System.Boolean - IL_121f: brfalse IL_124e + IL_0099: nop + IL_009a: ldloc.1 + IL_009b: unbox.any [mscorlib]System.Int32 + IL_00a0: conv.i8 + IL_00a1: ldloc.2 + IL_00a2: unbox.any [mscorlib]System.Int64 + IL_00a7: mul + IL_00a8: box [mscorlib]System.Int64 + IL_00ad: stloc.1 + IL_00ae: nop + IL_00af: br IL_023f - IL_1224: ldloc.3 - IL_1225: isinst [mscorlib]System.Boolean - IL_122a: brfalse IL_124e + IL_00b4: ldloc.1 + IL_00b5: isinst [mscorlib]System.Int32 + IL_00ba: brfalse IL_00e5 - IL_122f: nop - IL_1230: ldloc.1 - IL_1231: castclass [mscorlib]System.IComparable - IL_1236: ldloc.3 - IL_1237: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_123c: ldc.i4.0 - IL_123d: clt - IL_123f: ldc.i4.0 - IL_1240: ceq - IL_1242: box [mscorlib]System.Boolean - IL_1247: stloc.s 5 - IL_1249: br IL_1536 + IL_00bf: ldloc.2 + IL_00c0: isinst [mscorlib]System.Double + IL_00c5: brfalse IL_00e5 - IL_124e: ldloc.1 - IL_124f: isinst [mscorlib]System.Int32 - IL_1254: brfalse IL_1283 + IL_00ca: nop + IL_00cb: ldloc.1 + IL_00cc: unbox.any [mscorlib]System.Int32 + IL_00d1: conv.r8 + IL_00d2: ldloc.2 + IL_00d3: unbox.any [mscorlib]System.Double + IL_00d8: mul + IL_00d9: box [mscorlib]System.Double + IL_00de: stloc.1 + IL_00df: nop + IL_00e0: br IL_023f - IL_1259: ldloc.3 - IL_125a: isinst [mscorlib]System.Int32 - IL_125f: brfalse IL_1283 + IL_00e5: ldloc.1 + IL_00e6: isinst [mscorlib]System.Int64 + IL_00eb: brfalse IL_0115 - IL_1264: nop - IL_1265: ldloc.1 - IL_1266: castclass [mscorlib]System.IComparable - IL_126b: ldloc.3 - IL_126c: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1271: ldc.i4.0 - IL_1272: clt - IL_1274: ldc.i4.0 - IL_1275: ceq - IL_1277: box [mscorlib]System.Boolean - IL_127c: stloc.s 5 - IL_127e: br IL_1536 + IL_00f0: ldloc.2 + IL_00f1: isinst [mscorlib]System.Int64 + IL_00f6: brfalse IL_0115 - IL_1283: ldloc.1 - IL_1284: isinst [mscorlib]System.Int32 - IL_1289: brfalse IL_12bd + IL_00fb: nop + IL_00fc: ldloc.1 + IL_00fd: unbox.any [mscorlib]System.Int64 + IL_0102: ldloc.2 + IL_0103: unbox.any [mscorlib]System.Int64 + IL_0108: mul + IL_0109: box [mscorlib]System.Int64 + IL_010e: stloc.1 + IL_010f: nop + IL_0110: br IL_023f - IL_128e: ldloc.3 - IL_128f: isinst [mscorlib]System.Int64 - IL_1294: brfalse IL_12bd + IL_0115: ldloc.1 + IL_0116: isinst [mscorlib]System.Int64 + IL_011b: brfalse IL_0146 - IL_1299: nop - IL_129a: ldloc.1 - IL_129b: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_12a0: box [mscorlib]System.Int64 - IL_12a5: ldloc.3 - IL_12a6: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_12ab: ldc.i4.0 - IL_12ac: clt - IL_12ae: ldc.i4.0 - IL_12af: ceq - IL_12b1: box [mscorlib]System.Boolean - IL_12b6: stloc.s 5 - IL_12b8: br IL_1536 + IL_0120: ldloc.2 + IL_0121: isinst [mscorlib]System.Int32 + IL_0126: brfalse IL_0146 - IL_12bd: ldloc.1 - IL_12be: isinst [mscorlib]System.Int32 - IL_12c3: brfalse IL_12f7 + IL_012b: nop + IL_012c: ldloc.1 + IL_012d: unbox.any [mscorlib]System.Int64 + IL_0132: ldloc.2 + IL_0133: unbox.any [mscorlib]System.Int32 + IL_0138: conv.i8 + IL_0139: mul + IL_013a: box [mscorlib]System.Int64 + IL_013f: stloc.1 + IL_0140: nop + IL_0141: br IL_023f - IL_12c8: ldloc.3 - IL_12c9: isinst [mscorlib]System.Double - IL_12ce: brfalse IL_12f7 + IL_0146: ldloc.1 + IL_0147: isinst [mscorlib]System.Int64 + IL_014c: brfalse IL_0177 - IL_12d3: nop - IL_12d4: ldloc.1 - IL_12d5: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_12da: box [mscorlib]System.Double - IL_12df: ldloc.3 - IL_12e0: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_12e5: ldc.i4.0 - IL_12e6: clt - IL_12e8: ldc.i4.0 - IL_12e9: ceq - IL_12eb: box [mscorlib]System.Boolean - IL_12f0: stloc.s 5 - IL_12f2: br IL_1536 + IL_0151: ldloc.2 + IL_0152: isinst [mscorlib]System.Double + IL_0157: brfalse IL_0177 - IL_12f7: ldloc.1 - IL_12f8: isinst [mscorlib]System.Int64 - IL_12fd: brfalse IL_132c + IL_015c: nop + IL_015d: ldloc.1 + IL_015e: unbox.any [mscorlib]System.Int64 + IL_0163: conv.r8 + IL_0164: ldloc.2 + IL_0165: unbox.any [mscorlib]System.Double + IL_016a: mul + IL_016b: box [mscorlib]System.Double + IL_0170: stloc.1 + IL_0171: nop + IL_0172: br IL_023f - IL_1302: ldloc.3 - IL_1303: isinst [mscorlib]System.Int64 - IL_1308: brfalse IL_132c + IL_0177: ldloc.1 + IL_0178: isinst [mscorlib]System.Double + IL_017d: brfalse IL_01a7 - IL_130d: nop - IL_130e: ldloc.1 - IL_130f: castclass [mscorlib]System.IComparable - IL_1314: ldloc.3 - IL_1315: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_131a: ldc.i4.0 - IL_131b: clt - IL_131d: ldc.i4.0 - IL_131e: ceq - IL_1320: box [mscorlib]System.Boolean - IL_1325: stloc.s 5 - IL_1327: br IL_1536 + IL_0182: ldloc.2 + IL_0183: isinst [mscorlib]System.Double + IL_0188: brfalse IL_01a7 - IL_132c: ldloc.1 - IL_132d: isinst [mscorlib]System.Int64 - IL_1332: brfalse IL_136b + IL_018d: nop + IL_018e: ldloc.1 + IL_018f: unbox.any [mscorlib]System.Double + IL_0194: ldloc.2 + IL_0195: unbox.any [mscorlib]System.Double + IL_019a: mul + IL_019b: box [mscorlib]System.Double + IL_01a0: stloc.1 + IL_01a1: nop + IL_01a2: br IL_023f - IL_1337: ldloc.3 - IL_1338: isinst [mscorlib]System.Int32 - IL_133d: brfalse IL_136b + IL_01a7: ldloc.1 + IL_01a8: isinst [mscorlib]System.Double + IL_01ad: brfalse IL_01d8 - IL_1342: nop - IL_1343: ldloc.1 - IL_1344: castclass [mscorlib]System.IComparable - IL_1349: ldloc.3 - IL_134a: call int64 class [mscorlib]System.Convert::ToInt64(object) - IL_134f: box [mscorlib]System.Int64 - IL_1354: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1359: ldc.i4.0 - IL_135a: clt - IL_135c: ldc.i4.0 - IL_135d: ceq - IL_135f: box [mscorlib]System.Boolean - IL_1364: stloc.s 5 - IL_1366: br IL_1536 + IL_01b2: ldloc.2 + IL_01b3: isinst [mscorlib]System.Int32 + IL_01b8: brfalse IL_01d8 - IL_136b: ldloc.1 - IL_136c: isinst [mscorlib]System.Int64 - IL_1371: brfalse IL_13a5 + IL_01bd: nop + IL_01be: ldloc.1 + IL_01bf: unbox.any [mscorlib]System.Double + IL_01c4: ldloc.2 + IL_01c5: unbox.any [mscorlib]System.Int32 + IL_01ca: conv.r8 + IL_01cb: mul + IL_01cc: box [mscorlib]System.Double + IL_01d1: stloc.1 + IL_01d2: nop + IL_01d3: br IL_023f - IL_1376: ldloc.3 - IL_1377: isinst [mscorlib]System.Double - IL_137c: brfalse IL_13a5 + IL_01d8: ldloc.1 + IL_01d9: isinst [mscorlib]System.Double + IL_01de: brfalse IL_0209 - IL_1381: nop - IL_1382: ldloc.1 - IL_1383: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_1388: box [mscorlib]System.Double - IL_138d: ldloc.3 - IL_138e: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1393: ldc.i4.0 - IL_1394: clt - IL_1396: ldc.i4.0 - IL_1397: ceq - IL_1399: box [mscorlib]System.Boolean - IL_139e: stloc.s 5 - IL_13a0: br IL_1536 + IL_01e3: ldloc.2 + IL_01e4: isinst [mscorlib]System.Int64 + IL_01e9: brfalse IL_0209 - IL_13a5: ldloc.1 - IL_13a6: isinst [mscorlib]System.Double - IL_13ab: brfalse IL_13da + IL_01ee: nop + IL_01ef: ldloc.1 + IL_01f0: unbox.any [mscorlib]System.Double + IL_01f5: ldloc.2 + IL_01f6: unbox.any [mscorlib]System.Int64 + IL_01fb: conv.r8 + IL_01fc: mul + IL_01fd: box [mscorlib]System.Double + IL_0202: stloc.1 + IL_0203: nop + IL_0204: br IL_023f - IL_13b0: ldloc.3 - IL_13b1: isinst [mscorlib]System.Double - IL_13b6: brfalse IL_13da + IL_0209: nop + IL_020a: ldarg.0 + IL_020b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0210: ldstr "NA1036" + IL_0215: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_021a: ldarg.0 + IL_021b: ldloc.1 + IL_021c: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0221: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0226: ldarg.0 + IL_0227: ldloc.2 + IL_0228: callvirt instance class [mscorlib]System.Type object::GetType() + IL_022d: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0232: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0237: ldloc.0 + IL_0238: ldloc.3 + IL_0239: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_023e: throw + IL_023f: nop + IL_0240: nop + IL_0241: br IL_0aa6 - IL_13bb: nop - IL_13bc: ldloc.1 - IL_13bd: castclass [mscorlib]System.IComparable - IL_13c2: ldloc.3 - IL_13c3: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_13c8: ldc.i4.0 - IL_13c9: clt - IL_13cb: ldc.i4.0 - IL_13cc: ceq - IL_13ce: box [mscorlib]System.Boolean - IL_13d3: stloc.s 5 - IL_13d5: br IL_1536 + IL_0246: ldarg.0 + IL_0247: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_024c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0251: ldc.i4.s 0x0e + IL_0253: bne.un IL_0673 - IL_13da: ldloc.1 - IL_13db: isinst [mscorlib]System.Double - IL_13e0: brfalse IL_1419 + IL_0258: nop + IL_0259: ldarg.0 + IL_025a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_025f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0264: ldarg.0 + IL_0265: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_026a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_026f: stloc.s 4 + IL_0271: ldarg.0 + IL_0272: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() + IL_0277: stloc.s 5 + IL_0279: ldarg.0 + IL_027a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_027f: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0284: stloc.s 6 + IL_0286: ldarg.0 + IL_0287: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_028c: brtrue IL_066d - IL_13e5: ldloc.3 - IL_13e6: isinst [mscorlib]System.Int32 - IL_13eb: brfalse IL_1419 + IL_0291: nop + IL_0292: ldloc.1 + IL_0293: isinst [mscorlib]System.Int32 + IL_0298: brfalse IL_02f5 - IL_13f0: nop - IL_13f1: ldloc.1 - IL_13f2: castclass [mscorlib]System.IComparable - IL_13f7: ldloc.3 - IL_13f8: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_13fd: box [mscorlib]System.Double - IL_1402: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1407: ldc.i4.0 - IL_1408: clt - IL_140a: ldc.i4.0 - IL_140b: ceq - IL_140d: box [mscorlib]System.Boolean - IL_1412: stloc.s 5 - IL_1414: br IL_1536 + IL_029d: ldloc.s 5 + IL_029f: isinst [mscorlib]System.Int32 + IL_02a4: brfalse IL_02f5 - IL_1419: ldloc.1 - IL_141a: isinst [mscorlib]System.Double - IL_141f: brfalse IL_1458 + IL_02a9: nop + IL_02aa: ldloc.s 5 + IL_02ac: unbox.any [mscorlib]System.Int32 + IL_02b1: brtrue IL_02db - IL_1424: ldloc.3 - IL_1425: isinst [mscorlib]System.Int64 - IL_142a: brfalse IL_1458 + IL_02b6: nop + IL_02b7: ldarg.0 + IL_02b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02bd: ldstr "NA1043" + IL_02c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02c7: call !!0[] class [mscorlib]System.Array::Empty () + IL_02cc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_02d1: ldloc.s 4 + IL_02d3: ldloc.s 6 + IL_02d5: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_02da: throw + IL_02db: ldloc.1 + IL_02dc: unbox.any [mscorlib]System.Int32 + IL_02e1: ldloc.s 5 + IL_02e3: unbox.any [mscorlib]System.Int32 + IL_02e8: div + IL_02e9: box [mscorlib]System.Int32 + IL_02ee: stloc.1 + IL_02ef: nop + IL_02f0: br IL_066c - IL_142f: nop - IL_1430: ldloc.1 - IL_1431: castclass [mscorlib]System.IComparable - IL_1436: ldloc.3 - IL_1437: call float64 class [mscorlib]System.Convert::ToDouble(object) - IL_143c: box [mscorlib]System.Double - IL_1441: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_1446: ldc.i4.0 - IL_1447: clt - IL_1449: ldc.i4.0 - IL_144a: ceq - IL_144c: box [mscorlib]System.Boolean - IL_1451: stloc.s 5 - IL_1453: br IL_1536 + IL_02f5: ldloc.1 + IL_02f6: isinst [mscorlib]System.Int32 + IL_02fb: brfalse IL_035b - IL_1458: ldloc.1 - IL_1459: isinst [mscorlib]System.DateTime - IL_145e: brfalse IL_148d + IL_0300: ldloc.s 5 + IL_0302: isinst [mscorlib]System.Int64 + IL_0307: brfalse IL_035b - IL_1463: ldloc.3 - IL_1464: isinst [mscorlib]System.DateTime - IL_1469: brfalse IL_148d + IL_030c: nop + IL_030d: ldloc.s 5 + IL_030f: unbox.any [mscorlib]System.Int64 + IL_0314: ldc.i4.0 + IL_0315: conv.i8 + IL_0316: bne.un IL_0340 - IL_146e: nop - IL_146f: ldloc.1 - IL_1470: castclass [mscorlib]System.IComparable - IL_1475: ldloc.3 - IL_1476: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_147b: ldc.i4.0 - IL_147c: clt - IL_147e: ldc.i4.0 - IL_147f: ceq - IL_1481: box [mscorlib]System.Boolean - IL_1486: stloc.s 5 - IL_1488: br IL_1536 - - IL_148d: ldloc.1 - IL_148e: isinst [mscorlib]System.TimeSpan - IL_1493: brfalse IL_14c2 - - IL_1498: ldloc.3 - IL_1499: isinst [mscorlib]System.TimeSpan - IL_149e: brfalse IL_14c2 - - IL_14a3: nop - IL_14a4: ldloc.1 - IL_14a5: castclass [mscorlib]System.IComparable - IL_14aa: ldloc.3 - IL_14ab: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_14b0: ldc.i4.0 - IL_14b1: clt - IL_14b3: ldc.i4.0 - IL_14b4: ceq - IL_14b6: box [mscorlib]System.Boolean - IL_14bb: stloc.s 5 - IL_14bd: br IL_1536 + IL_031b: nop + IL_031c: ldarg.0 + IL_031d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0322: ldstr "NA1043" + IL_0327: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_032c: call !!0[] class [mscorlib]System.Array::Empty () + IL_0331: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0336: ldloc.s 4 + IL_0338: ldloc.s 6 + IL_033a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_033f: throw + IL_0340: ldloc.1 + IL_0341: unbox.any [mscorlib]System.Int32 + IL_0346: conv.i8 + IL_0347: ldloc.s 5 + IL_0349: unbox.any [mscorlib]System.Int64 + IL_034e: div + IL_034f: box [mscorlib]System.Int64 + IL_0354: stloc.1 + IL_0355: nop + IL_0356: br IL_066c - IL_14c2: ldloc.1 - IL_14c3: isinst [mscorlib]System.Version - IL_14c8: brfalse IL_14f7 + IL_035b: ldloc.1 + IL_035c: isinst [mscorlib]System.Int32 + IL_0361: brfalse IL_03c8 - IL_14cd: ldloc.3 - IL_14ce: isinst [mscorlib]System.Version - IL_14d3: brfalse IL_14f7 + IL_0366: ldloc.s 5 + IL_0368: isinst [mscorlib]System.Double + IL_036d: brfalse IL_03c8 - IL_14d8: nop - IL_14d9: ldloc.1 - IL_14da: castclass [mscorlib]System.IComparable - IL_14df: ldloc.3 - IL_14e0: callvirt instance int32 class [mscorlib]System.IComparable::CompareTo(object) - IL_14e5: ldc.i4.0 - IL_14e6: clt - IL_14e8: ldc.i4.0 - IL_14e9: ceq - IL_14eb: box [mscorlib]System.Boolean - IL_14f0: stloc.s 5 - IL_14f2: br IL_1536 + IL_0372: nop + IL_0373: ldloc.s 5 + IL_0375: unbox.any [mscorlib]System.Double + IL_037a: ldc.r8 0. + IL_0383: bne.un IL_03ad - IL_14f7: ldarg.0 - IL_14f8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_14fd: ldstr "NA1050" - IL_1502: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_1507: ldarg.0 - IL_1508: ldloc.1 - IL_1509: callvirt instance class [mscorlib]System.Type object::GetType() - IL_150e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_1513: ldarg.0 - IL_1514: ldloc.3 - IL_1515: callvirt instance class [mscorlib]System.Type object::GetType() - IL_151a: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_151f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_1524: ldloc.0 - IL_1525: ldloc.s 4 - IL_1527: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_152c: throw - IL_152d: nop - IL_152e: ldloc.1 - IL_152f: stloc.s 5 - IL_1531: br IL_1536 + IL_0388: nop + IL_0389: ldarg.0 + IL_038a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_038f: ldstr "NA1043" + IL_0394: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0399: call !!0[] class [mscorlib]System.Array::Empty () + IL_039e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_03a3: ldloc.s 4 + IL_03a5: ldloc.s 6 + IL_03a7: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_03ac: throw + IL_03ad: ldloc.1 + IL_03ae: unbox.any [mscorlib]System.Int32 + IL_03b3: conv.r8 + IL_03b4: ldloc.s 5 + IL_03b6: unbox.any [mscorlib]System.Double + IL_03bb: div + IL_03bc: box [mscorlib]System.Double + IL_03c1: stloc.1 + IL_03c2: nop + IL_03c3: br IL_066c - IL_1536: ldloc.s 5 - IL_1538: ret - } // end of method ExpressionEvalBase::ParseRelationalExpression + IL_03c8: ldloc.1 + IL_03c9: isinst [mscorlib]System.Int64 + IL_03ce: brfalse IL_042d - // method line 1688 - .method private hidebysig - instance default object ParseAddSubtract () cil managed - { - // Method begins at RVA 0x20838 - // Code size 1500 (0x5dc) - .maxstack 6 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0, - object V_1, - object V_2, - valuetype NAnt.Core.ExpressionTokenizer/Position V_3, - object V_4, - valuetype NAnt.Core.ExpressionTokenizer/Position V_5, - object V_6) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseMulDiv() - IL_0013: stloc.1 - IL_0014: nop - IL_0015: nop - IL_0016: ldarg.0 - IL_0017: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_001c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0021: ldc.i4.s 0x0b - IL_0023: bne.un IL_02dd + IL_03d3: ldloc.s 5 + IL_03d5: isinst [mscorlib]System.Int64 + IL_03da: brfalse IL_042d - IL_0028: nop - IL_0029: ldarg.0 - IL_002a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_002f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0034: ldarg.0 - IL_0035: call instance object class NAnt.Core.ExpressionEvalBase::ParseMulDiv() - IL_003a: stloc.2 - IL_003b: ldarg.0 - IL_003c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0041: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0046: stloc.3 - IL_0047: ldarg.0 - IL_0048: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_004d: brtrue IL_02d7 + IL_03df: nop + IL_03e0: ldloc.s 5 + IL_03e2: unbox.any [mscorlib]System.Int64 + IL_03e7: ldc.i4.0 + IL_03e8: conv.i8 + IL_03e9: bne.un IL_0413 - IL_0052: nop - IL_0053: ldloc.1 - IL_0054: isinst [mscorlib]System.String - IL_0059: brfalse IL_0082 + IL_03ee: nop + IL_03ef: ldarg.0 + IL_03f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03f5: ldstr "NA1043" + IL_03fa: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03ff: call !!0[] class [mscorlib]System.Array::Empty () + IL_0404: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0409: ldloc.s 4 + IL_040b: ldloc.s 6 + IL_040d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0412: throw + IL_0413: ldloc.1 + IL_0414: unbox.any [mscorlib]System.Int64 + IL_0419: ldloc.s 5 + IL_041b: unbox.any [mscorlib]System.Int64 + IL_0420: div + IL_0421: box [mscorlib]System.Int64 + IL_0426: stloc.1 + IL_0427: nop + IL_0428: br IL_066c - IL_005e: ldloc.2 - IL_005f: isinst [mscorlib]System.String - IL_0064: brfalse IL_0082 + IL_042d: ldloc.1 + IL_042e: isinst [mscorlib]System.Int64 + IL_0433: brfalse IL_0491 - IL_0069: nop - IL_006a: ldloc.1 - IL_006b: castclass [mscorlib]System.String - IL_0070: ldloc.2 - IL_0071: castclass [mscorlib]System.String - IL_0076: call string string::Concat(string, string) - IL_007b: stloc.1 - IL_007c: nop - IL_007d: br IL_02d6 + IL_0438: ldloc.s 5 + IL_043a: isinst [mscorlib]System.Int32 + IL_043f: brfalse IL_0491 - IL_0082: ldloc.1 - IL_0083: isinst [mscorlib]System.Int32 - IL_0088: brfalse IL_00b2 + IL_0444: nop + IL_0445: ldloc.s 5 + IL_0447: unbox.any [mscorlib]System.Int32 + IL_044c: brtrue IL_0476 - IL_008d: ldloc.2 - IL_008e: isinst [mscorlib]System.Int32 - IL_0093: brfalse IL_00b2 + IL_0451: nop + IL_0452: ldarg.0 + IL_0453: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0458: ldstr "NA1043" + IL_045d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0462: call !!0[] class [mscorlib]System.Array::Empty () + IL_0467: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_046c: ldloc.s 4 + IL_046e: ldloc.s 6 + IL_0470: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0475: throw + IL_0476: ldloc.1 + IL_0477: unbox.any [mscorlib]System.Int64 + IL_047c: ldloc.s 5 + IL_047e: unbox.any [mscorlib]System.Int32 + IL_0483: conv.i8 + IL_0484: div + IL_0485: box [mscorlib]System.Int64 + IL_048a: stloc.1 + IL_048b: nop + IL_048c: br IL_066c - IL_0098: nop - IL_0099: ldloc.1 - IL_009a: unbox.any [mscorlib]System.Int32 - IL_009f: ldloc.2 - IL_00a0: unbox.any [mscorlib]System.Int32 - IL_00a5: add - IL_00a6: box [mscorlib]System.Int32 - IL_00ab: stloc.1 - IL_00ac: nop - IL_00ad: br IL_02d6 + IL_0491: ldloc.1 + IL_0492: isinst [mscorlib]System.Int64 + IL_0497: brfalse IL_04fe - IL_00b2: ldloc.1 - IL_00b3: isinst [mscorlib]System.Int32 - IL_00b8: brfalse IL_00e3 + IL_049c: ldloc.s 5 + IL_049e: isinst [mscorlib]System.Double + IL_04a3: brfalse IL_04fe - IL_00bd: ldloc.2 - IL_00be: isinst [mscorlib]System.Int64 - IL_00c3: brfalse IL_00e3 + IL_04a8: nop + IL_04a9: ldloc.s 5 + IL_04ab: unbox.any [mscorlib]System.Double + IL_04b0: ldc.r8 0. + IL_04b9: bne.un IL_04e3 - IL_00c8: nop - IL_00c9: ldloc.1 - IL_00ca: unbox.any [mscorlib]System.Int32 - IL_00cf: conv.i8 - IL_00d0: ldloc.2 - IL_00d1: unbox.any [mscorlib]System.Int64 - IL_00d6: add - IL_00d7: box [mscorlib]System.Int64 - IL_00dc: stloc.1 - IL_00dd: nop - IL_00de: br IL_02d6 + IL_04be: nop + IL_04bf: ldarg.0 + IL_04c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_04c5: ldstr "NA1043" + IL_04ca: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_04cf: call !!0[] class [mscorlib]System.Array::Empty () + IL_04d4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_04d9: ldloc.s 4 + IL_04db: ldloc.s 6 + IL_04dd: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_04e2: throw + IL_04e3: ldloc.1 + IL_04e4: unbox.any [mscorlib]System.Int64 + IL_04e9: conv.r8 + IL_04ea: ldloc.s 5 + IL_04ec: unbox.any [mscorlib]System.Double + IL_04f1: div + IL_04f2: box [mscorlib]System.Double + IL_04f7: stloc.1 + IL_04f8: nop + IL_04f9: br IL_066c - IL_00e3: ldloc.1 - IL_00e4: isinst [mscorlib]System.Int32 - IL_00e9: brfalse IL_0114 + IL_04fe: ldloc.1 + IL_04ff: isinst [mscorlib]System.Double + IL_0504: brfalse IL_056a - IL_00ee: ldloc.2 - IL_00ef: isinst [mscorlib]System.Double - IL_00f4: brfalse IL_0114 + IL_0509: ldloc.s 5 + IL_050b: isinst [mscorlib]System.Double + IL_0510: brfalse IL_056a - IL_00f9: nop - IL_00fa: ldloc.1 - IL_00fb: unbox.any [mscorlib]System.Int32 - IL_0100: conv.r8 - IL_0101: ldloc.2 - IL_0102: unbox.any [mscorlib]System.Double - IL_0107: add - IL_0108: box [mscorlib]System.Double - IL_010d: stloc.1 - IL_010e: nop - IL_010f: br IL_02d6 + IL_0515: nop + IL_0516: ldloc.s 5 + IL_0518: unbox.any [mscorlib]System.Double + IL_051d: ldc.r8 0. + IL_0526: bne.un IL_0550 - IL_0114: ldloc.1 - IL_0115: isinst [mscorlib]System.Int64 - IL_011a: brfalse IL_0144 + IL_052b: nop + IL_052c: ldarg.0 + IL_052d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0532: ldstr "NA1043" + IL_0537: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_053c: call !!0[] class [mscorlib]System.Array::Empty () + IL_0541: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0546: ldloc.s 4 + IL_0548: ldloc.s 6 + IL_054a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_054f: throw + IL_0550: ldloc.1 + IL_0551: unbox.any [mscorlib]System.Double + IL_0556: ldloc.s 5 + IL_0558: unbox.any [mscorlib]System.Double + IL_055d: div + IL_055e: box [mscorlib]System.Double + IL_0563: stloc.1 + IL_0564: nop + IL_0565: br IL_066c - IL_011f: ldloc.2 - IL_0120: isinst [mscorlib]System.Int64 - IL_0125: brfalse IL_0144 + IL_056a: ldloc.1 + IL_056b: isinst [mscorlib]System.Double + IL_0570: brfalse IL_05ce - IL_012a: nop - IL_012b: ldloc.1 - IL_012c: unbox.any [mscorlib]System.Int64 - IL_0131: ldloc.2 - IL_0132: unbox.any [mscorlib]System.Int64 - IL_0137: add - IL_0138: box [mscorlib]System.Int64 - IL_013d: stloc.1 - IL_013e: nop - IL_013f: br IL_02d6 + IL_0575: ldloc.s 5 + IL_0577: isinst [mscorlib]System.Int32 + IL_057c: brfalse IL_05ce - IL_0144: ldloc.1 - IL_0145: isinst [mscorlib]System.Int64 - IL_014a: brfalse IL_0175 + IL_0581: nop + IL_0582: ldloc.s 5 + IL_0584: unbox.any [mscorlib]System.Int32 + IL_0589: brtrue IL_05b3 - IL_014f: ldloc.2 - IL_0150: isinst [mscorlib]System.Int32 - IL_0155: brfalse IL_0175 + IL_058e: nop + IL_058f: ldarg.0 + IL_0590: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0595: ldstr "NA1043" + IL_059a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_059f: call !!0[] class [mscorlib]System.Array::Empty () + IL_05a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_05a9: ldloc.s 4 + IL_05ab: ldloc.s 6 + IL_05ad: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_05b2: throw + IL_05b3: ldloc.1 + IL_05b4: unbox.any [mscorlib]System.Double + IL_05b9: ldloc.s 5 + IL_05bb: unbox.any [mscorlib]System.Int32 + IL_05c0: conv.r8 + IL_05c1: div + IL_05c2: box [mscorlib]System.Double + IL_05c7: stloc.1 + IL_05c8: nop + IL_05c9: br IL_066c - IL_015a: nop - IL_015b: ldloc.1 - IL_015c: unbox.any [mscorlib]System.Int64 - IL_0161: ldloc.2 - IL_0162: unbox.any [mscorlib]System.Int32 - IL_0167: conv.i8 - IL_0168: add - IL_0169: box [mscorlib]System.Int64 - IL_016e: stloc.1 - IL_016f: nop - IL_0170: br IL_02d6 + IL_05ce: ldloc.1 + IL_05cf: isinst [mscorlib]System.Double + IL_05d4: brfalse IL_0634 - IL_0175: ldloc.1 - IL_0176: isinst [mscorlib]System.Int64 - IL_017b: brfalse IL_01a6 + IL_05d9: ldloc.s 5 + IL_05db: isinst [mscorlib]System.Int64 + IL_05e0: brfalse IL_0634 - IL_0180: ldloc.2 - IL_0181: isinst [mscorlib]System.Double - IL_0186: brfalse IL_01a6 + IL_05e5: nop + IL_05e6: ldloc.s 5 + IL_05e8: unbox.any [mscorlib]System.Int64 + IL_05ed: ldc.i4.0 + IL_05ee: conv.i8 + IL_05ef: bne.un IL_0619 - IL_018b: nop - IL_018c: ldloc.1 - IL_018d: unbox.any [mscorlib]System.Int64 - IL_0192: conv.r8 - IL_0193: ldloc.2 - IL_0194: unbox.any [mscorlib]System.Double - IL_0199: add - IL_019a: box [mscorlib]System.Double - IL_019f: stloc.1 - IL_01a0: nop - IL_01a1: br IL_02d6 + IL_05f4: nop + IL_05f5: ldarg.0 + IL_05f6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_05fb: ldstr "NA1043" + IL_0600: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0605: call !!0[] class [mscorlib]System.Array::Empty () + IL_060a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_060f: ldloc.s 4 + IL_0611: ldloc.s 6 + IL_0613: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0618: throw + IL_0619: ldloc.1 + IL_061a: unbox.any [mscorlib]System.Double + IL_061f: ldloc.s 5 + IL_0621: unbox.any [mscorlib]System.Int64 + IL_0626: conv.r8 + IL_0627: div + IL_0628: box [mscorlib]System.Double + IL_062d: stloc.1 + IL_062e: nop + IL_062f: br IL_066c - IL_01a6: ldloc.1 - IL_01a7: isinst [mscorlib]System.Double - IL_01ac: brfalse IL_01d6 + IL_0634: nop + IL_0635: ldarg.0 + IL_0636: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_063b: ldstr "NA1039" + IL_0640: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0645: ldarg.0 + IL_0646: ldloc.1 + IL_0647: callvirt instance class [mscorlib]System.Type object::GetType() + IL_064c: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0651: ldarg.0 + IL_0652: ldloc.s 5 + IL_0654: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0659: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_065e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0663: ldloc.0 + IL_0664: ldloc.s 6 + IL_0666: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_066b: throw + IL_066c: nop + IL_066d: nop + IL_066e: br IL_0aa6 - IL_01b1: ldloc.2 - IL_01b2: isinst [mscorlib]System.Double - IL_01b7: brfalse IL_01d6 + IL_0673: ldarg.0 + IL_0674: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0679: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_067e: ldc.i4.s 0x0f + IL_0680: bne.un IL_0aa0 - IL_01bc: nop - IL_01bd: ldloc.1 - IL_01be: unbox.any [mscorlib]System.Double - IL_01c3: ldloc.2 - IL_01c4: unbox.any [mscorlib]System.Double - IL_01c9: add - IL_01ca: box [mscorlib]System.Double - IL_01cf: stloc.1 - IL_01d0: nop - IL_01d1: br IL_02d6 - - IL_01d6: ldloc.1 - IL_01d7: isinst [mscorlib]System.Double - IL_01dc: brfalse IL_0207 + IL_0685: nop + IL_0686: ldarg.0 + IL_0687: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_068c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0691: ldarg.0 + IL_0692: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0697: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_069c: stloc.s 7 + IL_069e: ldarg.0 + IL_069f: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() + IL_06a4: stloc.s 8 + IL_06a6: ldarg.0 + IL_06a7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_06ac: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_06b1: stloc.s 9 + IL_06b3: ldarg.0 + IL_06b4: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_06b9: brtrue IL_0a9a - IL_01e1: ldloc.2 - IL_01e2: isinst [mscorlib]System.Int32 - IL_01e7: brfalse IL_0207 + IL_06be: nop + IL_06bf: ldloc.1 + IL_06c0: isinst [mscorlib]System.Int32 + IL_06c5: brfalse IL_0722 - IL_01ec: nop - IL_01ed: ldloc.1 - IL_01ee: unbox.any [mscorlib]System.Double - IL_01f3: ldloc.2 - IL_01f4: unbox.any [mscorlib]System.Int32 - IL_01f9: conv.r8 - IL_01fa: add - IL_01fb: box [mscorlib]System.Double - IL_0200: stloc.1 - IL_0201: nop - IL_0202: br IL_02d6 + IL_06ca: ldloc.s 8 + IL_06cc: isinst [mscorlib]System.Int32 + IL_06d1: brfalse IL_0722 - IL_0207: ldloc.1 - IL_0208: isinst [mscorlib]System.Double - IL_020d: brfalse IL_0238 + IL_06d6: nop + IL_06d7: ldloc.s 8 + IL_06d9: unbox.any [mscorlib]System.Int32 + IL_06de: brtrue IL_0708 - IL_0212: ldloc.2 - IL_0213: isinst [mscorlib]System.Int64 - IL_0218: brfalse IL_0238 + IL_06e3: nop + IL_06e4: ldarg.0 + IL_06e5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_06ea: ldstr "NA1043" + IL_06ef: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_06f4: call !!0[] class [mscorlib]System.Array::Empty () + IL_06f9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_06fe: ldloc.s 7 + IL_0700: ldloc.s 9 + IL_0702: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0707: throw + IL_0708: ldloc.1 + IL_0709: unbox.any [mscorlib]System.Int32 + IL_070e: ldloc.s 8 + IL_0710: unbox.any [mscorlib]System.Int32 + IL_0715: rem + IL_0716: box [mscorlib]System.Int32 + IL_071b: stloc.1 + IL_071c: nop + IL_071d: br IL_0a99 - IL_021d: nop - IL_021e: ldloc.1 - IL_021f: unbox.any [mscorlib]System.Double - IL_0224: ldloc.2 - IL_0225: unbox.any [mscorlib]System.Int64 - IL_022a: conv.r8 - IL_022b: add - IL_022c: box [mscorlib]System.Double - IL_0231: stloc.1 - IL_0232: nop - IL_0233: br IL_02d6 + IL_0722: ldloc.1 + IL_0723: isinst [mscorlib]System.Int32 + IL_0728: brfalse IL_0788 - IL_0238: ldloc.1 - IL_0239: isinst [mscorlib]System.DateTime - IL_023e: brfalse IL_026c + IL_072d: ldloc.s 8 + IL_072f: isinst [mscorlib]System.Int64 + IL_0734: brfalse IL_0788 - IL_0243: ldloc.2 - IL_0244: isinst [mscorlib]System.TimeSpan - IL_0249: brfalse IL_026c + IL_0739: nop + IL_073a: ldloc.s 8 + IL_073c: unbox.any [mscorlib]System.Int64 + IL_0741: ldc.i4.0 + IL_0742: conv.i8 + IL_0743: bne.un IL_076d - IL_024e: nop - IL_024f: ldloc.1 - IL_0250: unbox.any [mscorlib]System.DateTime - IL_0255: ldloc.2 - IL_0256: unbox.any [mscorlib]System.TimeSpan - IL_025b: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::op_Addition(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.TimeSpan) - IL_0260: box [mscorlib]System.DateTime - IL_0265: stloc.1 - IL_0266: nop - IL_0267: br IL_02d6 + IL_0748: nop + IL_0749: ldarg.0 + IL_074a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_074f: ldstr "NA1043" + IL_0754: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0759: call !!0[] class [mscorlib]System.Array::Empty () + IL_075e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0763: ldloc.s 7 + IL_0765: ldloc.s 9 + IL_0767: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_076c: throw + IL_076d: ldloc.1 + IL_076e: unbox.any [mscorlib]System.Int32 + IL_0773: conv.i8 + IL_0774: ldloc.s 8 + IL_0776: unbox.any [mscorlib]System.Int64 + IL_077b: rem + IL_077c: box [mscorlib]System.Int64 + IL_0781: stloc.1 + IL_0782: nop + IL_0783: br IL_0a99 - IL_026c: ldloc.1 - IL_026d: isinst [mscorlib]System.TimeSpan - IL_0272: brfalse IL_02a0 + IL_0788: ldloc.1 + IL_0789: isinst [mscorlib]System.Int32 + IL_078e: brfalse IL_07f5 - IL_0277: ldloc.2 - IL_0278: isinst [mscorlib]System.TimeSpan - IL_027d: brfalse IL_02a0 + IL_0793: ldloc.s 8 + IL_0795: isinst [mscorlib]System.Double + IL_079a: brfalse IL_07f5 - IL_0282: nop - IL_0283: ldloc.1 - IL_0284: unbox.any [mscorlib]System.TimeSpan - IL_0289: ldloc.2 - IL_028a: unbox.any [mscorlib]System.TimeSpan - IL_028f: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::op_Addition(valuetype [mscorlib]System.TimeSpan, valuetype [mscorlib]System.TimeSpan) - IL_0294: box [mscorlib]System.TimeSpan - IL_0299: stloc.1 - IL_029a: nop - IL_029b: br IL_02d6 + IL_079f: nop + IL_07a0: ldloc.s 8 + IL_07a2: unbox.any [mscorlib]System.Double + IL_07a7: ldc.r8 0. + IL_07b0: bne.un IL_07da - IL_02a0: nop - IL_02a1: ldarg.0 - IL_02a2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02a7: ldstr "NA1041" - IL_02ac: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02b1: ldarg.0 - IL_02b2: ldloc.1 - IL_02b3: callvirt instance class [mscorlib]System.Type object::GetType() - IL_02b8: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_02bd: ldarg.0 - IL_02be: ldloc.2 - IL_02bf: callvirt instance class [mscorlib]System.Type object::GetType() - IL_02c4: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_02c9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_02ce: ldloc.0 - IL_02cf: ldloc.3 - IL_02d0: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_02d5: throw - IL_02d6: nop - IL_02d7: nop - IL_02d8: br IL_05cb + IL_07b5: nop + IL_07b6: ldarg.0 + IL_07b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_07bc: ldstr "NA1043" + IL_07c1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_07c6: call !!0[] class [mscorlib]System.Array::Empty () + IL_07cb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_07d0: ldloc.s 7 + IL_07d2: ldloc.s 9 + IL_07d4: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_07d9: throw + IL_07da: ldloc.1 + IL_07db: unbox.any [mscorlib]System.Int32 + IL_07e0: conv.r8 + IL_07e1: ldloc.s 8 + IL_07e3: unbox.any [mscorlib]System.Double + IL_07e8: rem + IL_07e9: box [mscorlib]System.Double + IL_07ee: stloc.1 + IL_07ef: nop + IL_07f0: br IL_0a99 - IL_02dd: ldarg.0 - IL_02de: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_02e3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_02e8: ldc.i4.s 0x0c - IL_02ea: bne.un IL_05c5 + IL_07f5: ldloc.1 + IL_07f6: isinst [mscorlib]System.Int64 + IL_07fb: brfalse IL_085a - IL_02ef: nop - IL_02f0: ldarg.0 - IL_02f1: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_02f6: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_02fb: ldarg.0 - IL_02fc: call instance object class NAnt.Core.ExpressionEvalBase::ParseMulDiv() - IL_0301: stloc.s 4 - IL_0303: ldarg.0 - IL_0304: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0309: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_030e: stloc.s 5 - IL_0310: ldarg.0 - IL_0311: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_0316: brtrue IL_05bf + IL_0800: ldloc.s 8 + IL_0802: isinst [mscorlib]System.Int64 + IL_0807: brfalse IL_085a - IL_031b: nop - IL_031c: ldloc.1 - IL_031d: isinst [mscorlib]System.Int32 - IL_0322: brfalse IL_034e + IL_080c: nop + IL_080d: ldloc.s 8 + IL_080f: unbox.any [mscorlib]System.Int64 + IL_0814: ldc.i4.0 + IL_0815: conv.i8 + IL_0816: bne.un IL_0840 - IL_0327: ldloc.s 4 - IL_0329: isinst [mscorlib]System.Int32 - IL_032e: brfalse IL_034e + IL_081b: nop + IL_081c: ldarg.0 + IL_081d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0822: ldstr "NA1043" + IL_0827: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_082c: call !!0[] class [mscorlib]System.Array::Empty () + IL_0831: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0836: ldloc.s 7 + IL_0838: ldloc.s 9 + IL_083a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_083f: throw + IL_0840: ldloc.1 + IL_0841: unbox.any [mscorlib]System.Int64 + IL_0846: ldloc.s 8 + IL_0848: unbox.any [mscorlib]System.Int64 + IL_084d: rem + IL_084e: box [mscorlib]System.Int64 + IL_0853: stloc.1 + IL_0854: nop + IL_0855: br IL_0a99 - IL_0333: nop - IL_0334: ldloc.1 - IL_0335: unbox.any [mscorlib]System.Int32 - IL_033a: ldloc.s 4 - IL_033c: unbox.any [mscorlib]System.Int32 - IL_0341: sub - IL_0342: box [mscorlib]System.Int32 - IL_0347: stloc.1 - IL_0348: nop - IL_0349: br IL_05be + IL_085a: ldloc.1 + IL_085b: isinst [mscorlib]System.Int64 + IL_0860: brfalse IL_08be - IL_034e: ldloc.1 - IL_034f: isinst [mscorlib]System.Int32 - IL_0354: brfalse IL_0381 + IL_0865: ldloc.s 8 + IL_0867: isinst [mscorlib]System.Int32 + IL_086c: brfalse IL_08be - IL_0359: ldloc.s 4 - IL_035b: isinst [mscorlib]System.Int64 - IL_0360: brfalse IL_0381 + IL_0871: nop + IL_0872: ldloc.s 8 + IL_0874: unbox.any [mscorlib]System.Int32 + IL_0879: brtrue IL_08a3 - IL_0365: nop - IL_0366: ldloc.1 - IL_0367: unbox.any [mscorlib]System.Int32 - IL_036c: conv.i8 - IL_036d: ldloc.s 4 - IL_036f: unbox.any [mscorlib]System.Int64 - IL_0374: sub - IL_0375: box [mscorlib]System.Int64 - IL_037a: stloc.1 - IL_037b: nop - IL_037c: br IL_05be + IL_087e: nop + IL_087f: ldarg.0 + IL_0880: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0885: ldstr "NA1043" + IL_088a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_088f: call !!0[] class [mscorlib]System.Array::Empty () + IL_0894: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0899: ldloc.s 7 + IL_089b: ldloc.s 9 + IL_089d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_08a2: throw + IL_08a3: ldloc.1 + IL_08a4: unbox.any [mscorlib]System.Int64 + IL_08a9: ldloc.s 8 + IL_08ab: unbox.any [mscorlib]System.Int32 + IL_08b0: conv.i8 + IL_08b1: rem + IL_08b2: box [mscorlib]System.Int64 + IL_08b7: stloc.1 + IL_08b8: nop + IL_08b9: br IL_0a99 - IL_0381: ldloc.1 - IL_0382: isinst [mscorlib]System.Int32 - IL_0387: brfalse IL_03b4 + IL_08be: ldloc.1 + IL_08bf: isinst [mscorlib]System.Int64 + IL_08c4: brfalse IL_092b - IL_038c: ldloc.s 4 - IL_038e: isinst [mscorlib]System.Double - IL_0393: brfalse IL_03b4 + IL_08c9: ldloc.s 8 + IL_08cb: isinst [mscorlib]System.Double + IL_08d0: brfalse IL_092b - IL_0398: nop - IL_0399: ldloc.1 - IL_039a: unbox.any [mscorlib]System.Int32 - IL_039f: conv.r8 - IL_03a0: ldloc.s 4 - IL_03a2: unbox.any [mscorlib]System.Double - IL_03a7: sub - IL_03a8: box [mscorlib]System.Double - IL_03ad: stloc.1 - IL_03ae: nop - IL_03af: br IL_05be + IL_08d5: nop + IL_08d6: ldloc.s 8 + IL_08d8: unbox.any [mscorlib]System.Double + IL_08dd: ldc.r8 0. + IL_08e6: bne.un IL_0910 - IL_03b4: ldloc.1 - IL_03b5: isinst [mscorlib]System.Int64 - IL_03ba: brfalse IL_03e6 + IL_08eb: nop + IL_08ec: ldarg.0 + IL_08ed: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_08f2: ldstr "NA1043" + IL_08f7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_08fc: call !!0[] class [mscorlib]System.Array::Empty () + IL_0901: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0906: ldloc.s 7 + IL_0908: ldloc.s 9 + IL_090a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_090f: throw + IL_0910: ldloc.1 + IL_0911: unbox.any [mscorlib]System.Int64 + IL_0916: conv.r8 + IL_0917: ldloc.s 8 + IL_0919: unbox.any [mscorlib]System.Double + IL_091e: rem + IL_091f: box [mscorlib]System.Double + IL_0924: stloc.1 + IL_0925: nop + IL_0926: br IL_0a99 - IL_03bf: ldloc.s 4 - IL_03c1: isinst [mscorlib]System.Int64 - IL_03c6: brfalse IL_03e6 + IL_092b: ldloc.1 + IL_092c: isinst [mscorlib]System.Double + IL_0931: brfalse IL_0997 - IL_03cb: nop - IL_03cc: ldloc.1 - IL_03cd: unbox.any [mscorlib]System.Int64 - IL_03d2: ldloc.s 4 - IL_03d4: unbox.any [mscorlib]System.Int64 - IL_03d9: sub - IL_03da: box [mscorlib]System.Int64 - IL_03df: stloc.1 - IL_03e0: nop - IL_03e1: br IL_05be + IL_0936: ldloc.s 8 + IL_0938: isinst [mscorlib]System.Double + IL_093d: brfalse IL_0997 - IL_03e6: ldloc.1 - IL_03e7: isinst [mscorlib]System.Int64 - IL_03ec: brfalse IL_0419 + IL_0942: nop + IL_0943: ldloc.s 8 + IL_0945: unbox.any [mscorlib]System.Double + IL_094a: ldc.r8 0. + IL_0953: bne.un IL_097d - IL_03f1: ldloc.s 4 - IL_03f3: isinst [mscorlib]System.Int32 - IL_03f8: brfalse IL_0419 + IL_0958: nop + IL_0959: ldarg.0 + IL_095a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_095f: ldstr "NA1043" + IL_0964: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0969: call !!0[] class [mscorlib]System.Array::Empty () + IL_096e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0973: ldloc.s 7 + IL_0975: ldloc.s 9 + IL_0977: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_097c: throw + IL_097d: ldloc.1 + IL_097e: unbox.any [mscorlib]System.Double + IL_0983: ldloc.s 8 + IL_0985: unbox.any [mscorlib]System.Double + IL_098a: rem + IL_098b: box [mscorlib]System.Double + IL_0990: stloc.1 + IL_0991: nop + IL_0992: br IL_0a99 - IL_03fd: nop - IL_03fe: ldloc.1 - IL_03ff: unbox.any [mscorlib]System.Int64 - IL_0404: ldloc.s 4 - IL_0406: unbox.any [mscorlib]System.Int32 - IL_040b: conv.i8 - IL_040c: sub - IL_040d: box [mscorlib]System.Int64 - IL_0412: stloc.1 - IL_0413: nop - IL_0414: br IL_05be + IL_0997: ldloc.1 + IL_0998: isinst [mscorlib]System.Double + IL_099d: brfalse IL_09fb - IL_0419: ldloc.1 - IL_041a: isinst [mscorlib]System.Int64 - IL_041f: brfalse IL_044c + IL_09a2: ldloc.s 8 + IL_09a4: isinst [mscorlib]System.Int32 + IL_09a9: brfalse IL_09fb - IL_0424: ldloc.s 4 - IL_0426: isinst [mscorlib]System.Double - IL_042b: brfalse IL_044c + IL_09ae: nop + IL_09af: ldloc.s 8 + IL_09b1: unbox.any [mscorlib]System.Int32 + IL_09b6: brtrue IL_09e0 - IL_0430: nop - IL_0431: ldloc.1 - IL_0432: unbox.any [mscorlib]System.Int64 - IL_0437: conv.r8 - IL_0438: ldloc.s 4 - IL_043a: unbox.any [mscorlib]System.Double - IL_043f: sub - IL_0440: box [mscorlib]System.Double - IL_0445: stloc.1 - IL_0446: nop - IL_0447: br IL_05be + IL_09bb: nop + IL_09bc: ldarg.0 + IL_09bd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_09c2: ldstr "NA1043" + IL_09c7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_09cc: call !!0[] class [mscorlib]System.Array::Empty () + IL_09d1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_09d6: ldloc.s 7 + IL_09d8: ldloc.s 9 + IL_09da: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_09df: throw + IL_09e0: ldloc.1 + IL_09e1: unbox.any [mscorlib]System.Double + IL_09e6: ldloc.s 8 + IL_09e8: unbox.any [mscorlib]System.Int32 + IL_09ed: conv.r8 + IL_09ee: rem + IL_09ef: box [mscorlib]System.Double + IL_09f4: stloc.1 + IL_09f5: nop + IL_09f6: br IL_0a99 - IL_044c: ldloc.1 - IL_044d: isinst [mscorlib]System.Double - IL_0452: brfalse IL_047e + IL_09fb: ldloc.1 + IL_09fc: isinst [mscorlib]System.Double + IL_0a01: brfalse IL_0a61 - IL_0457: ldloc.s 4 - IL_0459: isinst [mscorlib]System.Double - IL_045e: brfalse IL_047e + IL_0a06: ldloc.s 8 + IL_0a08: isinst [mscorlib]System.Int64 + IL_0a0d: brfalse IL_0a61 - IL_0463: nop - IL_0464: ldloc.1 - IL_0465: unbox.any [mscorlib]System.Double - IL_046a: ldloc.s 4 - IL_046c: unbox.any [mscorlib]System.Double - IL_0471: sub - IL_0472: box [mscorlib]System.Double - IL_0477: stloc.1 - IL_0478: nop - IL_0479: br IL_05be + IL_0a12: nop + IL_0a13: ldloc.s 8 + IL_0a15: unbox.any [mscorlib]System.Int64 + IL_0a1a: ldc.i4.0 + IL_0a1b: conv.i8 + IL_0a1c: bne.un IL_0a46 - IL_047e: ldloc.1 - IL_047f: isinst [mscorlib]System.Double - IL_0484: brfalse IL_04b1 - - IL_0489: ldloc.s 4 - IL_048b: isinst [mscorlib]System.Int32 - IL_0490: brfalse IL_04b1 + IL_0a21: nop + IL_0a22: ldarg.0 + IL_0a23: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0a28: ldstr "NA1043" + IL_0a2d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0a32: call !!0[] class [mscorlib]System.Array::Empty () + IL_0a37: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0a3c: ldloc.s 7 + IL_0a3e: ldloc.s 9 + IL_0a40: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0a45: throw + IL_0a46: ldloc.1 + IL_0a47: unbox.any [mscorlib]System.Double + IL_0a4c: ldloc.s 8 + IL_0a4e: unbox.any [mscorlib]System.Int64 + IL_0a53: conv.r8 + IL_0a54: rem + IL_0a55: box [mscorlib]System.Double + IL_0a5a: stloc.1 + IL_0a5b: nop + IL_0a5c: br IL_0a99 - IL_0495: nop - IL_0496: ldloc.1 - IL_0497: unbox.any [mscorlib]System.Double - IL_049c: ldloc.s 4 - IL_049e: unbox.any [mscorlib]System.Int32 - IL_04a3: conv.r8 - IL_04a4: sub - IL_04a5: box [mscorlib]System.Double - IL_04aa: stloc.1 - IL_04ab: nop - IL_04ac: br IL_05be + IL_0a61: nop + IL_0a62: ldarg.0 + IL_0a63: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0a68: ldstr "NA1047" + IL_0a6d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0a72: ldarg.0 + IL_0a73: ldloc.1 + IL_0a74: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0a79: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0a7e: ldarg.0 + IL_0a7f: ldloc.s 8 + IL_0a81: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0a86: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0a8b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0a90: ldloc.0 + IL_0a91: ldloc.s 9 + IL_0a93: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0a98: throw + IL_0a99: nop + IL_0a9a: nop + IL_0a9b: br IL_0aa6 - IL_04b1: ldloc.1 - IL_04b2: isinst [mscorlib]System.Double - IL_04b7: brfalse IL_04e4 + IL_0aa0: nop + IL_0aa1: br IL_0aac - IL_04bc: ldloc.s 4 - IL_04be: isinst [mscorlib]System.Int64 - IL_04c3: brfalse IL_04e4 + IL_0aa6: nop + IL_0aa7: br IL_0014 - IL_04c8: nop - IL_04c9: ldloc.1 - IL_04ca: unbox.any [mscorlib]System.Double - IL_04cf: ldloc.s 4 - IL_04d1: unbox.any [mscorlib]System.Int64 - IL_04d6: conv.r8 - IL_04d7: sub - IL_04d8: box [mscorlib]System.Double - IL_04dd: stloc.1 - IL_04de: nop - IL_04df: br IL_05be + IL_0aac: ldloc.1 + IL_0aad: stloc.s 10 + IL_0aaf: br IL_0ab4 - IL_04e4: ldloc.1 - IL_04e5: isinst [mscorlib]System.DateTime - IL_04ea: brfalse IL_051a + IL_0ab4: ldloc.s 10 + IL_0ab6: ret + } // end of method ExpressionEvalBase::ParseMulDiv - IL_04ef: ldloc.s 4 - IL_04f1: isinst [mscorlib]System.DateTime - IL_04f6: brfalse IL_051a + // method line 1606 + .method private hidebysig + instance default object ParseConditional () cil managed + { + // Method begins at RVA 0x1f53c + // Code size 437 (0x1b5) + .maxstack 6 + .locals init ( + valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + object V_1, + valuetype NAnt.Core.ExpressionTokenizer/Position V_2, + bool V_3, + valuetype NAnt.Core.ExpressionEvalBase/EvalMode V_4, + object V_5, + object V_6, + object V_7) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0007: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_000c: ldarg.0 + IL_000d: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0012: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0017: ldc.i4.s 0x10 + IL_0019: beq IL_0036 - IL_04fb: nop - IL_04fc: ldloc.1 - IL_04fd: unbox.any [mscorlib]System.DateTime - IL_0502: ldloc.s 4 - IL_0504: unbox.any [mscorlib]System.DateTime - IL_0509: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_050e: box [mscorlib]System.TimeSpan - IL_0513: stloc.1 - IL_0514: nop - IL_0515: br IL_05be + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: ldstr "'(' expected." + IL_0025: ldarg.0 + IL_0026: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_002b: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0030: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0035: throw + IL_0036: ldarg.0 + IL_0037: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_003c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0041: ldarg.0 + IL_0042: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0047: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_004c: stloc.0 + IL_004d: ldarg.0 + IL_004e: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_0053: stloc.1 + IL_0054: ldarg.0 + IL_0055: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_005a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_005f: stloc.2 + IL_0060: ldc.i4.0 + IL_0061: stloc.3 + IL_0062: ldarg.0 + IL_0063: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_0068: brtrue IL_008d - IL_051a: ldloc.1 - IL_051b: isinst [mscorlib]System.DateTime - IL_0520: brfalse IL_0550 + IL_006d: nop + IL_006e: ldarg.0 + IL_006f: ldtoken [mscorlib]System.Boolean + IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0079: ldloc.1 + IL_007a: ldstr "the conditional expression" + IL_007f: ldloc.0 + IL_0080: ldloc.2 + IL_0081: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0086: unbox.any [mscorlib]System.Boolean + IL_008b: stloc.3 + IL_008c: nop + IL_008d: ldarg.0 + IL_008e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0093: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0098: ldc.i4.s 0x18 + IL_009a: beq IL_00b7 - IL_0525: ldloc.s 4 - IL_0527: isinst [mscorlib]System.TimeSpan - IL_052c: brfalse IL_0550 + IL_009f: nop + IL_00a0: ldarg.0 + IL_00a1: ldstr "',' expected." + IL_00a6: ldarg.0 + IL_00a7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00ac: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_00b1: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_00b6: throw + IL_00b7: ldarg.0 + IL_00b8: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00bd: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_00c2: ldarg.0 + IL_00c3: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_00c8: stloc.s 4 + .try { // 0 + IL_00ca: nop + IL_00cb: ldloc.3 + IL_00cc: brtrue IL_00df - IL_0531: nop - IL_0532: ldloc.1 - IL_0533: unbox.any [mscorlib]System.DateTime - IL_0538: ldloc.s 4 - IL_053a: unbox.any [mscorlib]System.TimeSpan - IL_053f: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.TimeSpan) - IL_0544: box [mscorlib]System.DateTime - IL_0549: stloc.1 - IL_054a: nop - IL_054b: br IL_05be + IL_00d1: nop + IL_00d2: ldarg.0 + IL_00d3: ldc.i4.1 + IL_00d4: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_00d9: nop + IL_00da: br IL_00e9 - IL_0550: ldloc.1 - IL_0551: isinst [mscorlib]System.TimeSpan - IL_0556: brfalse IL_0586 + IL_00df: nop + IL_00e0: ldarg.0 + IL_00e1: ldloc.s 4 + IL_00e3: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_00e8: nop + IL_00e9: ldarg.0 + IL_00ea: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_00ef: stloc.s 5 + IL_00f1: ldarg.0 + IL_00f2: ldloc.s 4 + IL_00f4: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_00f9: ldarg.0 + IL_00fa: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00ff: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0104: ldc.i4.s 0x18 + IL_0106: beq IL_0123 - IL_055b: ldloc.s 4 - IL_055d: isinst [mscorlib]System.TimeSpan - IL_0562: brfalse IL_0586 + IL_010b: nop + IL_010c: ldarg.0 + IL_010d: ldstr "',' expected." + IL_0112: ldarg.0 + IL_0113: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0118: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_011d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0122: throw + IL_0123: ldarg.0 + IL_0124: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0129: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_012e: ldloc.3 + IL_012f: brfalse IL_0142 - IL_0567: nop - IL_0568: ldloc.1 - IL_0569: unbox.any [mscorlib]System.TimeSpan - IL_056e: ldloc.s 4 - IL_0570: unbox.any [mscorlib]System.TimeSpan - IL_0575: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::op_Subtraction(valuetype [mscorlib]System.TimeSpan, valuetype [mscorlib]System.TimeSpan) - IL_057a: box [mscorlib]System.TimeSpan - IL_057f: stloc.1 - IL_0580: nop - IL_0581: br IL_05be + IL_0134: nop + IL_0135: ldarg.0 + IL_0136: ldc.i4.1 + IL_0137: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_013c: nop + IL_013d: br IL_014c - IL_0586: nop - IL_0587: ldarg.0 - IL_0588: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_058d: ldstr "NA1048" - IL_0592: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0597: ldarg.0 - IL_0598: ldloc.1 - IL_0599: callvirt instance class [mscorlib]System.Type object::GetType() - IL_059e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_05a3: ldarg.0 - IL_05a4: ldloc.s 4 - IL_05a6: callvirt instance class [mscorlib]System.Type object::GetType() - IL_05ab: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_05b0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_05b5: ldloc.0 - IL_05b6: ldloc.s 5 - IL_05b8: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_05bd: throw - IL_05be: nop - IL_05bf: nop - IL_05c0: br IL_05cb + IL_0142: nop + IL_0143: ldarg.0 + IL_0144: ldloc.s 4 + IL_0146: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_014b: nop + IL_014c: ldarg.0 + IL_014d: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_0152: stloc.s 6 + IL_0154: ldarg.0 + IL_0155: ldloc.s 4 + IL_0157: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_015c: ldarg.0 + IL_015d: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0162: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0167: ldc.i4.s 0x11 + IL_0169: beq IL_0186 - IL_05c5: nop - IL_05c6: br IL_05d1 + IL_016e: nop + IL_016f: ldarg.0 + IL_0170: ldstr "')' expected." + IL_0175: ldarg.0 + IL_0176: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_017b: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0180: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0185: throw + IL_0186: ldarg.0 + IL_0187: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_018c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0191: ldloc.3 + IL_0192: brfalse IL_019e - IL_05cb: nop - IL_05cc: br IL_0014 + IL_0197: ldloc.s 5 + IL_0199: br IL_01a0 - IL_05d1: ldloc.1 - IL_05d2: stloc.s 6 - IL_05d4: br IL_05d9 + IL_019e: ldloc.s 6 + IL_01a0: stloc.s 7 + IL_01a2: leave IL_01b2 - IL_05d9: ldloc.s 6 - IL_05db: ret - } // end of method ExpressionEvalBase::ParseAddSubtract + } // end .try 0 + finally { // 0 + IL_01a7: nop + IL_01a8: ldarg.0 + IL_01a9: ldloc.s 4 + IL_01ab: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode + IL_01b0: nop + IL_01b1: endfinally + } // end handler 0 + IL_01b2: ldloc.s 7 + IL_01b4: ret + } // end of method ExpressionEvalBase::ParseConditional - // method line 1689 + // method line 1607 .method private hidebysig - instance default object ParseMulDiv () cil managed + instance default object ParseValue () cil managed { - // Method begins at RVA 0x20e20 - // Code size 2743 (0xab7) - .maxstack 6 + // Method begins at RVA 0x1f710 + // Code size 1978 (0x7ba) + .maxstack 8 .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + object V_0, object V_1, - object V_2, + string V_2, valuetype NAnt.Core.ExpressionTokenizer/Position V_3, valuetype NAnt.Core.ExpressionTokenizer/Position V_4, - object V_5, + valuetype NAnt.Core.ExpressionTokenizer/Position V_5, valuetype NAnt.Core.ExpressionTokenizer/Position V_6, - valuetype NAnt.Core.ExpressionTokenizer/Position V_7, - object V_8, + object V_7, + valuetype NAnt.Core.ExpressionTokenizer/Position V_8, valuetype NAnt.Core.ExpressionTokenizer/Position V_9, - object V_10) + object V_10, + valuetype NAnt.Core.ExpressionTokenizer/Position V_11, + bool V_12, + object V_13, + valuetype NAnt.Core.ExpressionTokenizer/Position V_14, + string V_15, + class [mscorlib]System.Collections.ArrayList V_16, + bool V_17, + class [mscorlib]System.Reflection.MethodInfo V_18, + int32 V_19, + valuetype NAnt.Core.ExpressionTokenizer/Position V_20, + object V_21, + valuetype NAnt.Core.ExpressionTokenizer/Position V_22, + class NAnt.Core.Extensibility.FunctionArgument[] V_23, + class NAnt.Core.BuildException V_24, + class [mscorlib]System.Reflection.ParameterInfo[] V_25, + int32 V_26, + class NAnt.Core.Extensibility.FunctionArgument V_27, + class [mscorlib]System.Reflection.ParameterInfo V_28, + object V_29, + class [mscorlib]System.Exception V_30) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() - IL_0013: stloc.1 - IL_0014: nop - IL_0015: nop - IL_0016: ldarg.0 - IL_0017: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_001c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0021: ldc.i4.s 0x0d - IL_0023: bne.un IL_0246 + IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_000c: ldc.i4.3 + IL_000d: bne.un IL_0031 - IL_0028: nop - IL_0029: ldarg.0 - IL_002a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_002f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0034: ldarg.0 - IL_0035: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() - IL_003a: stloc.2 - IL_003b: ldarg.0 - IL_003c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0041: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0046: stloc.3 - IL_0047: ldarg.0 - IL_0048: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_004d: brtrue IL_0240 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0019: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_001e: stloc.0 + IL_001f: ldarg.0 + IL_0020: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0025: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_002a: ldloc.0 + IL_002b: stloc.1 + IL_002c: br IL_07b8 - IL_0052: nop - IL_0053: ldloc.1 - IL_0054: isinst [mscorlib]System.Int32 - IL_0059: brfalse IL_0083 + IL_0031: ldarg.0 + IL_0032: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0037: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_003c: ldc.i4.2 + IL_003d: bne.un IL_016a - IL_005e: ldloc.2 - IL_005f: isinst [mscorlib]System.Int32 - IL_0064: brfalse IL_0083 + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0049: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_004e: stloc.2 + IL_004f: ldarg.0 + IL_0050: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0055: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_005a: stloc.3 + IL_005b: ldarg.0 + IL_005c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0061: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0066: ldloca.s 4 + IL_0068: ldarg.0 + IL_0069: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_006e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0073: stloc.s 5 + IL_0075: ldloca.s 5 + IL_0077: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() + IL_007c: ldc.i4.1 + IL_007d: sub + IL_007e: call instance void valuetype NAnt.Core.ExpressionTokenizer/Position::'.ctor'(int32) + IL_0083: ldarg.0 + IL_0084: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0089: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_008e: ldc.i4.s 0x19 + IL_0090: bne.un IL_0128 - IL_0069: nop - IL_006a: ldloc.1 - IL_006b: unbox.any [mscorlib]System.Int32 - IL_0070: ldloc.2 - IL_0071: unbox.any [mscorlib]System.Int32 - IL_0076: mul - IL_0077: box [mscorlib]System.Int32 - IL_007c: stloc.1 - IL_007d: nop - IL_007e: br IL_023f + IL_0095: nop + IL_0096: ldloc.2 + IL_0097: ldstr "." + IL_009c: call string string::Concat(string, string) + IL_00a1: stloc.2 + IL_00a2: ldarg.0 + IL_00a3: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00a8: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_00ad: ldarg.0 + IL_00ae: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00b3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_00b8: ldc.i4.2 + IL_00b9: beq IL_00d6 - IL_0083: ldloc.1 - IL_0084: isinst [mscorlib]System.Int32 - IL_0089: brfalse IL_00b4 + IL_00be: nop + IL_00bf: ldarg.0 + IL_00c0: ldstr "Fractional part expected." + IL_00c5: ldarg.0 + IL_00c6: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00cb: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_00d0: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_00d5: throw + IL_00d6: ldloc.2 + IL_00d7: ldarg.0 + IL_00d8: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00dd: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_00e2: call string string::Concat(string, string) + IL_00e7: stloc.2 + IL_00e8: ldarg.0 + IL_00e9: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00ee: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_00f3: ldarg.0 + IL_00f4: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_00f9: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_00fe: stloc.s 4 + .try { // 0 + IL_0100: nop + IL_0101: ldloc.2 + IL_0102: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0107: call float64 float64::Parse(string, class [mscorlib]System.IFormatProvider) + IL_010c: box [mscorlib]System.Double + IL_0111: stloc.1 + IL_0112: leave IL_07b8 - IL_008e: ldloc.2 - IL_008f: isinst [mscorlib]System.Int64 - IL_0094: brfalse IL_00b4 + } // end .try 0 + catch class [mscorlib]System.OverflowException { // 0 + IL_0117: pop + IL_0118: nop + IL_0119: ldarg.0 + IL_011a: ldstr "Value was either too large or too small for type 'double'." + IL_011f: ldloc.3 + IL_0120: ldloc.s 4 + IL_0122: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0127: throw + } // end handler 0 + IL_0128: nop + .try { // 2 + IL_0129: nop + IL_012a: ldloc.2 + IL_012b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0130: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_0135: box [mscorlib]System.Int32 + IL_013a: stloc.1 + IL_013b: leave IL_07b8 - IL_0099: nop - IL_009a: ldloc.1 - IL_009b: unbox.any [mscorlib]System.Int32 - IL_00a0: conv.i8 - IL_00a1: ldloc.2 - IL_00a2: unbox.any [mscorlib]System.Int64 - IL_00a7: mul - IL_00a8: box [mscorlib]System.Int64 - IL_00ad: stloc.1 - IL_00ae: nop - IL_00af: br IL_023f + } // end .try 2 + catch class [mscorlib]System.OverflowException { // 2 + IL_0140: pop + IL_0141: nop + .try { // 1 + IL_0142: nop + IL_0143: ldloc.2 + IL_0144: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0149: call int64 int64::Parse(string, class [mscorlib]System.IFormatProvider) + IL_014e: box [mscorlib]System.Int64 + IL_0153: stloc.1 + IL_0154: leave IL_07b8 - IL_00b4: ldloc.1 - IL_00b5: isinst [mscorlib]System.Int32 - IL_00ba: brfalse IL_00e5 + } // end .try 1 + catch class [mscorlib]System.OverflowException { // 1 + IL_0159: pop + IL_015a: nop + IL_015b: ldarg.0 + IL_015c: ldstr "Value was either too large or too small for type 'long'." + IL_0161: ldloc.3 + IL_0162: ldloc.s 4 + IL_0164: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0169: throw + } // end handler 1 + } // end handler 2 + IL_016a: ldarg.0 + IL_016b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0170: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0175: ldc.i4.s 0x0c + IL_0177: bne.un IL_0249 - IL_00bf: ldloc.2 - IL_00c0: isinst [mscorlib]System.Double - IL_00c5: brfalse IL_00e5 + IL_017c: nop + IL_017d: ldarg.0 + IL_017e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0183: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0188: ldarg.0 + IL_0189: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_018e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0193: stloc.s 6 + IL_0195: ldarg.0 + IL_0196: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() + IL_019b: stloc.s 7 + IL_019d: ldarg.0 + IL_019e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_01a3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_01a8: stloc.s 8 + IL_01aa: ldarg.0 + IL_01ab: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_01b0: brtrue IL_0242 - IL_00ca: nop - IL_00cb: ldloc.1 - IL_00cc: unbox.any [mscorlib]System.Int32 - IL_00d1: conv.r8 - IL_00d2: ldloc.2 - IL_00d3: unbox.any [mscorlib]System.Double - IL_00d8: mul - IL_00d9: box [mscorlib]System.Double - IL_00de: stloc.1 - IL_00df: nop - IL_00e0: br IL_023f + IL_01b5: nop + IL_01b6: ldloc.s 7 + IL_01b8: isinst [mscorlib]System.Int32 + IL_01bd: brfalse IL_01d6 - IL_00e5: ldloc.1 - IL_00e6: isinst [mscorlib]System.Int64 - IL_00eb: brfalse IL_0115 + IL_01c2: nop + IL_01c3: ldloc.s 7 + IL_01c5: unbox.any [mscorlib]System.Int32 + IL_01ca: neg + IL_01cb: box [mscorlib]System.Int32 + IL_01d0: stloc.1 + IL_01d1: br IL_07b8 - IL_00f0: ldloc.2 - IL_00f1: isinst [mscorlib]System.Int64 - IL_00f6: brfalse IL_0115 + IL_01d6: ldloc.s 7 + IL_01d8: isinst [mscorlib]System.Int64 + IL_01dd: brfalse IL_01f6 - IL_00fb: nop - IL_00fc: ldloc.1 - IL_00fd: unbox.any [mscorlib]System.Int64 - IL_0102: ldloc.2 - IL_0103: unbox.any [mscorlib]System.Int64 - IL_0108: mul - IL_0109: box [mscorlib]System.Int64 - IL_010e: stloc.1 - IL_010f: nop - IL_0110: br IL_023f + IL_01e2: nop + IL_01e3: ldloc.s 7 + IL_01e5: unbox.any [mscorlib]System.Int64 + IL_01ea: neg + IL_01eb: box [mscorlib]System.Int64 + IL_01f0: stloc.1 + IL_01f1: br IL_07b8 - IL_0115: ldloc.1 - IL_0116: isinst [mscorlib]System.Int64 - IL_011b: brfalse IL_0146 + IL_01f6: ldloc.s 7 + IL_01f8: isinst [mscorlib]System.Double + IL_01fd: brfalse IL_0216 - IL_0120: ldloc.2 - IL_0121: isinst [mscorlib]System.Int32 - IL_0126: brfalse IL_0146 + IL_0202: nop + IL_0203: ldloc.s 7 + IL_0205: unbox.any [mscorlib]System.Double + IL_020a: neg + IL_020b: box [mscorlib]System.Double + IL_0210: stloc.1 + IL_0211: br IL_07b8 - IL_012b: nop - IL_012c: ldloc.1 - IL_012d: unbox.any [mscorlib]System.Int64 - IL_0132: ldloc.2 - IL_0133: unbox.any [mscorlib]System.Int32 - IL_0138: conv.i8 - IL_0139: mul - IL_013a: box [mscorlib]System.Int64 - IL_013f: stloc.1 - IL_0140: nop - IL_0141: br IL_023f + IL_0216: ldarg.0 + IL_0217: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_021c: ldstr "NA1040" + IL_0221: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0226: ldarg.0 + IL_0227: ldloc.s 7 + IL_0229: callvirt instance class [mscorlib]System.Type object::GetType() + IL_022e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0233: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0238: ldloc.s 6 + IL_023a: ldloc.s 8 + IL_023c: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0241: throw + IL_0242: ldnull + IL_0243: stloc.1 + IL_0244: br IL_07b8 - IL_0146: ldloc.1 - IL_0147: isinst [mscorlib]System.Int64 - IL_014c: brfalse IL_0177 + IL_0249: ldarg.0 + IL_024a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_024f: ldstr "not" + IL_0254: callvirt instance bool class NAnt.Core.ExpressionTokenizer::IsKeyword(string) + IL_0259: brfalse IL_02d1 - IL_0151: ldloc.2 - IL_0152: isinst [mscorlib]System.Double - IL_0157: brfalse IL_0177 + IL_025e: nop + IL_025f: ldarg.0 + IL_0260: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0265: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_026a: ldarg.0 + IL_026b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0270: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0275: stloc.s 9 + IL_0277: ldarg.0 + IL_0278: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() + IL_027d: stloc.s 10 + IL_027f: ldarg.0 + IL_0280: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0285: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_028a: stloc.s 11 + IL_028c: ldarg.0 + IL_028d: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_0292: brtrue IL_02ca - IL_015c: nop - IL_015d: ldloc.1 - IL_015e: unbox.any [mscorlib]System.Int64 - IL_0163: conv.r8 - IL_0164: ldloc.2 - IL_0165: unbox.any [mscorlib]System.Double - IL_016a: mul - IL_016b: box [mscorlib]System.Double - IL_0170: stloc.1 - IL_0171: nop - IL_0172: br IL_023f + IL_0297: nop + IL_0298: ldarg.0 + IL_0299: ldtoken [mscorlib]System.Boolean + IL_029e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_02a3: ldloc.s 10 + IL_02a5: ldstr "the argument of 'not' operator" + IL_02aa: ldloc.s 9 + IL_02ac: ldloc.s 11 + IL_02ae: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_02b3: unbox.any [mscorlib]System.Boolean + IL_02b8: stloc.s 12 + IL_02ba: ldloc.s 12 + IL_02bc: ldc.i4.0 + IL_02bd: ceq + IL_02bf: box [mscorlib]System.Boolean + IL_02c4: stloc.1 + IL_02c5: br IL_07b8 - IL_0177: ldloc.1 - IL_0178: isinst [mscorlib]System.Double - IL_017d: brfalse IL_01a7 + IL_02ca: ldnull + IL_02cb: stloc.1 + IL_02cc: br IL_07b8 - IL_0182: ldloc.2 - IL_0183: isinst [mscorlib]System.Double - IL_0188: brfalse IL_01a7 + IL_02d1: ldarg.0 + IL_02d2: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_02d7: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_02dc: ldc.i4.s 0x10 + IL_02de: bne.un IL_0334 - IL_018d: nop - IL_018e: ldloc.1 - IL_018f: unbox.any [mscorlib]System.Double - IL_0194: ldloc.2 - IL_0195: unbox.any [mscorlib]System.Double - IL_019a: mul - IL_019b: box [mscorlib]System.Double - IL_01a0: stloc.1 - IL_01a1: nop - IL_01a2: br IL_023f + IL_02e3: nop + IL_02e4: ldarg.0 + IL_02e5: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_02ea: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_02ef: ldarg.0 + IL_02f0: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_02f5: stloc.s 13 + IL_02f7: ldarg.0 + IL_02f8: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_02fd: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0302: ldc.i4.s 0x11 + IL_0304: beq IL_0321 - IL_01a7: ldloc.1 - IL_01a8: isinst [mscorlib]System.Double - IL_01ad: brfalse IL_01d8 + IL_0309: nop + IL_030a: ldarg.0 + IL_030b: ldstr "')' expected." + IL_0310: ldarg.0 + IL_0311: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0316: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_031b: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0320: throw + IL_0321: ldarg.0 + IL_0322: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0327: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_032c: ldloc.s 13 + IL_032e: stloc.1 + IL_032f: br IL_07b8 - IL_01b2: ldloc.2 - IL_01b3: isinst [mscorlib]System.Int32 - IL_01b8: brfalse IL_01d8 + IL_0334: ldarg.0 + IL_0335: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_033a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_033f: ldc.i4.4 + IL_0340: bne.un IL_07ac - IL_01bd: nop - IL_01be: ldloc.1 - IL_01bf: unbox.any [mscorlib]System.Double - IL_01c4: ldloc.2 - IL_01c5: unbox.any [mscorlib]System.Int32 - IL_01ca: conv.r8 - IL_01cb: mul - IL_01cc: box [mscorlib]System.Double - IL_01d1: stloc.1 - IL_01d2: nop - IL_01d3: br IL_023f + IL_0345: nop + IL_0346: ldarg.0 + IL_0347: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_034c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0351: stloc.s 14 + IL_0353: ldarg.0 + IL_0354: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0359: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_035e: stloc.s 15 + IL_0360: ldloc.s 15 + IL_0362: ldstr "if" + IL_0367: call bool string::op_Equality(string, string) + IL_036c: brfalse IL_037e - IL_01d8: ldloc.1 - IL_01d9: isinst [mscorlib]System.Double - IL_01de: brfalse IL_0209 + IL_0371: nop + IL_0372: ldarg.0 + IL_0373: call instance object class NAnt.Core.ExpressionEvalBase::ParseConditional() + IL_0378: stloc.1 + IL_0379: br IL_07b8 - IL_01e3: ldloc.2 - IL_01e4: isinst [mscorlib]System.Int64 - IL_01e9: brfalse IL_0209 + IL_037e: ldloc.s 15 + IL_0380: ldstr "true" + IL_0385: call bool string::op_Equality(string, string) + IL_038a: brfalse IL_03a7 - IL_01ee: nop - IL_01ef: ldloc.1 - IL_01f0: unbox.any [mscorlib]System.Double - IL_01f5: ldloc.2 - IL_01f6: unbox.any [mscorlib]System.Int64 - IL_01fb: conv.r8 - IL_01fc: mul - IL_01fd: box [mscorlib]System.Double - IL_0202: stloc.1 - IL_0203: nop - IL_0204: br IL_023f + IL_038f: nop + IL_0390: ldarg.0 + IL_0391: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0396: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_039b: ldc.i4.1 + IL_039c: box [mscorlib]System.Boolean + IL_03a1: stloc.1 + IL_03a2: br IL_07b8 - IL_0209: nop - IL_020a: ldarg.0 - IL_020b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0210: ldstr "NA1036" - IL_0215: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_021a: ldarg.0 - IL_021b: ldloc.1 - IL_021c: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0221: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0226: ldarg.0 - IL_0227: ldloc.2 - IL_0228: callvirt instance class [mscorlib]System.Type object::GetType() - IL_022d: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0232: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0237: ldloc.0 - IL_0238: ldloc.3 - IL_0239: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_023e: throw - IL_023f: nop - IL_0240: nop - IL_0241: br IL_0aa6 + IL_03a7: ldloc.s 15 + IL_03a9: ldstr "false" + IL_03ae: call bool string::op_Equality(string, string) + IL_03b3: brfalse IL_03d0 - IL_0246: ldarg.0 - IL_0247: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_024c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0251: ldc.i4.s 0x0e - IL_0253: bne.un IL_0673 + IL_03b8: nop + IL_03b9: ldarg.0 + IL_03ba: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_03bf: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_03c4: ldc.i4.0 + IL_03c5: box [mscorlib]System.Boolean + IL_03ca: stloc.1 + IL_03cb: br IL_07b8 - IL_0258: nop - IL_0259: ldarg.0 - IL_025a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_025f: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0264: ldarg.0 - IL_0265: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_026a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_026f: stloc.s 4 - IL_0271: ldarg.0 - IL_0272: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() - IL_0277: stloc.s 5 - IL_0279: ldarg.0 - IL_027a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_027f: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0284: stloc.s 6 - IL_0286: ldarg.0 - IL_0287: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_028c: brtrue IL_066d + IL_03d0: ldarg.0 + IL_03d1: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_03d6: ldc.i4.0 + IL_03d7: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) + IL_03dc: ldarg.0 + IL_03dd: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_03e2: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_03e7: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_03ec: stloc.s 16 + IL_03ee: ldc.i4.0 + IL_03ef: stloc.s 17 + IL_03f1: ldarg.0 + IL_03f2: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_03f7: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_03fc: ldc.i4.s 0x1a + IL_03fe: bne.un IL_0470 - IL_0291: nop - IL_0292: ldloc.1 - IL_0293: isinst [mscorlib]System.Int32 - IL_0298: brfalse IL_02f5 + IL_0403: nop + IL_0404: ldc.i4.1 + IL_0405: stloc.s 17 + IL_0407: ldloc.s 15 + IL_0409: ldstr "::" + IL_040e: call string string::Concat(string, string) + IL_0413: stloc.s 15 + IL_0415: ldarg.0 + IL_0416: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_041b: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0420: ldarg.0 + IL_0421: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0426: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_042b: ldc.i4.4 + IL_042c: beq IL_044b - IL_029d: ldloc.s 5 - IL_029f: isinst [mscorlib]System.Int32 - IL_02a4: brfalse IL_02f5 + IL_0431: nop + IL_0432: ldarg.0 + IL_0433: ldstr "Function name expected." + IL_0438: ldloc.s 14 + IL_043a: ldarg.0 + IL_043b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0440: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0445: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_044a: throw + IL_044b: ldloc.s 15 + IL_044d: ldarg.0 + IL_044e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0453: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_0458: call string string::Concat(string, string) + IL_045d: stloc.s 15 + IL_045f: ldarg.0 + IL_0460: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0465: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_046a: nop + IL_046b: br IL_04de - IL_02a9: nop - IL_02aa: ldloc.s 5 - IL_02ac: unbox.any [mscorlib]System.Int32 - IL_02b1: brtrue IL_02db + IL_0470: nop + IL_0471: br IL_0497 - IL_02b6: nop - IL_02b7: ldarg.0 - IL_02b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02bd: ldstr "NA1043" - IL_02c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02c7: call !!0[] class [mscorlib]System.Array::Empty () - IL_02cc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_02d1: ldloc.s 4 - IL_02d3: ldloc.s 6 - IL_02d5: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_02da: throw - IL_02db: ldloc.1 - IL_02dc: unbox.any [mscorlib]System.Int32 - IL_02e1: ldloc.s 5 - IL_02e3: unbox.any [mscorlib]System.Int32 - IL_02e8: div - IL_02e9: box [mscorlib]System.Int32 - IL_02ee: stloc.1 - IL_02ef: nop - IL_02f0: br IL_066c + IL_0476: nop + IL_0477: ldloc.s 15 + IL_0479: ldarg.0 + IL_047a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_047f: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_0484: call string string::Concat(string, string) + IL_0489: stloc.s 15 + IL_048b: ldarg.0 + IL_048c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0491: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0496: nop + IL_0497: ldarg.0 + IL_0498: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_049d: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_04a2: ldc.i4.s 0x19 + IL_04a4: beq IL_0476 - IL_02f5: ldloc.1 - IL_02f6: isinst [mscorlib]System.Int32 - IL_02fb: brfalse IL_035b + IL_04a9: ldarg.0 + IL_04aa: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_04af: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_04b4: ldc.i4.s 0x0c + IL_04b6: beq IL_0476 - IL_0300: ldloc.s 5 - IL_0302: isinst [mscorlib]System.Int64 - IL_0307: brfalse IL_035b + IL_04bb: ldarg.0 + IL_04bc: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_04c1: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_04c6: ldc.i4.4 + IL_04c7: beq IL_0476 - IL_030c: nop - IL_030d: ldloc.s 5 - IL_030f: unbox.any [mscorlib]System.Int64 - IL_0314: ldc.i4.0 - IL_0315: conv.i8 - IL_0316: bne.un IL_0340 + IL_04cc: ldarg.0 + IL_04cd: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_04d2: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_04d7: ldc.i4.2 + IL_04d8: beq IL_0476 - IL_031b: nop - IL_031c: ldarg.0 - IL_031d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0322: ldstr "NA1043" - IL_0327: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_032c: call !!0[] class [mscorlib]System.Array::Empty () - IL_0331: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0336: ldloc.s 4 - IL_0338: ldloc.s 6 - IL_033a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_033f: throw - IL_0340: ldloc.1 - IL_0341: unbox.any [mscorlib]System.Int32 - IL_0346: conv.i8 - IL_0347: ldloc.s 5 - IL_0349: unbox.any [mscorlib]System.Int64 - IL_034e: div - IL_034f: box [mscorlib]System.Int64 - IL_0354: stloc.1 - IL_0355: nop - IL_0356: br IL_066c + IL_04dd: nop + IL_04de: ldarg.0 + IL_04df: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_04e4: ldc.i4.1 + IL_04e5: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) + IL_04ea: ldarg.0 + IL_04eb: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_04f0: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_04f5: ldc.i4.s 0x16 + IL_04f7: bne.un IL_0509 - IL_035b: ldloc.1 - IL_035c: isinst [mscorlib]System.Int32 - IL_0361: brfalse IL_03c8 + IL_04fc: nop + IL_04fd: ldarg.0 + IL_04fe: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0503: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0508: nop + IL_0509: ldnull + IL_050a: stloc.s 18 + IL_050c: ldloc.s 17 + IL_050e: brfalse IL_0729 - IL_0366: ldloc.s 5 - IL_0368: isinst [mscorlib]System.Double - IL_036d: brfalse IL_03c8 + IL_0513: nop + IL_0514: ldarg.0 + IL_0515: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_051a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_051f: ldc.i4.s 0x10 + IL_0521: beq IL_053e - IL_0372: nop - IL_0373: ldloc.s 5 - IL_0375: unbox.any [mscorlib]System.Double - IL_037a: ldc.r8 0. - IL_0383: bne.un IL_03ad + IL_0526: nop + IL_0527: ldarg.0 + IL_0528: ldstr "'(' expected." + IL_052d: ldarg.0 + IL_052e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0533: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0538: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_053d: throw + IL_053e: ldarg.0 + IL_053f: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0544: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0549: ldc.i4.0 + IL_054a: stloc.s 19 + IL_054c: br IL_05dd - IL_0388: nop - IL_0389: ldarg.0 - IL_038a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_038f: ldstr "NA1043" - IL_0394: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0399: call !!0[] class [mscorlib]System.Array::Empty () - IL_039e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_03a3: ldloc.s 4 - IL_03a5: ldloc.s 6 - IL_03a7: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_03ac: throw - IL_03ad: ldloc.1 - IL_03ae: unbox.any [mscorlib]System.Int32 - IL_03b3: conv.r8 - IL_03b4: ldloc.s 5 - IL_03b6: unbox.any [mscorlib]System.Double - IL_03bb: div - IL_03bc: box [mscorlib]System.Double - IL_03c1: stloc.1 - IL_03c2: nop - IL_03c3: br IL_066c + IL_0551: nop + IL_0552: ldarg.0 + IL_0553: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0558: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_055d: stloc.s 20 + IL_055f: ldarg.0 + IL_0560: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() + IL_0565: stloc.s 21 + IL_0567: ldarg.0 + IL_0568: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_056d: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0572: stloc.s 22 + IL_0574: ldloc.s 16 + IL_0576: ldloc.s 15 + IL_0578: ldloc.s 19 + IL_057a: ldloc.s 21 + IL_057c: ldloc.s 20 + IL_057e: ldloc.s 22 + IL_0580: newobj instance void class NAnt.Core.Extensibility.FunctionArgument::'.ctor'(string, int32, object, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0585: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_058a: pop + IL_058b: ldloc.s 19 + IL_058d: ldc.i4.1 + IL_058e: add + IL_058f: stloc.s 19 + IL_0591: ldarg.0 + IL_0592: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0597: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_059c: ldc.i4.s 0x11 + IL_059e: bne.un IL_05a8 - IL_03c8: ldloc.1 - IL_03c9: isinst [mscorlib]System.Int64 - IL_03ce: brfalse IL_042d + IL_05a3: br IL_0600 - IL_03d3: ldloc.s 5 - IL_03d5: isinst [mscorlib]System.Int64 - IL_03da: brfalse IL_042d + IL_05a8: ldarg.0 + IL_05a9: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_05ae: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_05b3: ldc.i4.s 0x18 + IL_05b5: beq IL_05d1 - IL_03df: nop - IL_03e0: ldloc.s 5 - IL_03e2: unbox.any [mscorlib]System.Int64 - IL_03e7: ldc.i4.0 - IL_03e8: conv.i8 - IL_03e9: bne.un IL_0413 + IL_05ba: ldarg.0 + IL_05bb: ldstr "',' expected." + IL_05c0: ldarg.0 + IL_05c1: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_05c6: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_05cb: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_05d0: throw + IL_05d1: ldarg.0 + IL_05d2: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_05d7: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_05dc: nop + IL_05dd: ldarg.0 + IL_05de: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_05e3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_05e8: ldc.i4.s 0x11 + IL_05ea: beq IL_0600 - IL_03ee: nop - IL_03ef: ldarg.0 - IL_03f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03f5: ldstr "NA1043" - IL_03fa: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03ff: call !!0[] class [mscorlib]System.Array::Empty () - IL_0404: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0409: ldloc.s 4 - IL_040b: ldloc.s 6 - IL_040d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0412: throw - IL_0413: ldloc.1 - IL_0414: unbox.any [mscorlib]System.Int64 - IL_0419: ldloc.s 5 - IL_041b: unbox.any [mscorlib]System.Int64 - IL_0420: div - IL_0421: box [mscorlib]System.Int64 - IL_0426: stloc.1 - IL_0427: nop - IL_0428: br IL_066c + IL_05ef: ldarg.0 + IL_05f0: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_05f5: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_05fa: ldc.i4.1 + IL_05fb: bne.un IL_0551 - IL_042d: ldloc.1 - IL_042e: isinst [mscorlib]System.Int64 - IL_0433: brfalse IL_0491 + IL_0600: ldarg.0 + IL_0601: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0606: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_060b: ldc.i4.s 0x11 + IL_060d: beq IL_062a - IL_0438: ldloc.s 5 - IL_043a: isinst [mscorlib]System.Int32 - IL_043f: brfalse IL_0491 + IL_0612: nop + IL_0613: ldarg.0 + IL_0614: ldstr "')' expected." + IL_0619: ldarg.0 + IL_061a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_061f: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0624: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0629: throw + IL_062a: ldarg.0 + IL_062b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0630: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0635: ldarg.0 + IL_0636: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_063b: brtrue IL_0728 - IL_0444: nop - IL_0445: ldloc.s 5 - IL_0447: unbox.any [mscorlib]System.Int32 - IL_044c: brtrue IL_0476 + IL_0640: nop + IL_0641: ldloc.s 16 + IL_0643: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0648: newarr NAnt.Core.Extensibility.FunctionArgument + IL_064d: stloc.s 23 + IL_064f: ldloc.s 16 + IL_0651: ldc.i4.0 + IL_0652: ldloc.s 23 + IL_0654: ldc.i4.0 + IL_0655: ldloc.s 16 + IL_0657: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_065c: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(int32, class [mscorlib]System.Array, int32, int32) + .try { // 3 + IL_0661: nop + IL_0662: ldloc.s 15 + IL_0664: ldloc.s 23 + IL_0666: ldarg.0 + IL_0667: call instance class NAnt.Core.Project class NAnt.Core.ExpressionEvalBase::get_Project() + IL_066c: call class [mscorlib]System.Reflection.MethodInfo class NAnt.Core.TypeFactory::LookupFunction(string, class NAnt.Core.Extensibility.FunctionArgument[], class NAnt.Core.Project) + IL_0671: stloc.s 18 + IL_0673: nop + IL_0674: leave IL_0697 - IL_0451: nop - IL_0452: ldarg.0 - IL_0453: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0458: ldstr "NA1043" - IL_045d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0462: call !!0[] class [mscorlib]System.Array::Empty () - IL_0467: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_046c: ldloc.s 4 - IL_046e: ldloc.s 6 - IL_0470: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0475: throw - IL_0476: ldloc.1 - IL_0477: unbox.any [mscorlib]System.Int64 - IL_047c: ldloc.s 5 - IL_047e: unbox.any [mscorlib]System.Int32 - IL_0483: conv.i8 - IL_0484: div - IL_0485: box [mscorlib]System.Int64 - IL_048a: stloc.1 - IL_048b: nop - IL_048c: br IL_066c + } // end .try 3 + catch class NAnt.Core.BuildException { // 3 + IL_0679: stloc.s 24 + IL_067b: nop + IL_067c: ldarg.0 + IL_067d: ldloc.s 24 + IL_067f: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0684: ldloc.s 14 + IL_0686: ldarg.0 + IL_0687: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_068c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0691: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0696: throw + } // end handler 3 + IL_0697: ldloc.s 18 + IL_0699: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_069e: stloc.s 25 + IL_06a0: ldloc.s 16 + IL_06a2: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() + IL_06a7: ldc.i4.0 + IL_06a8: stloc.s 26 + IL_06aa: br IL_071c - IL_0491: ldloc.1 - IL_0492: isinst [mscorlib]System.Int64 - IL_0497: brfalse IL_04fe + IL_06af: nop + IL_06b0: ldloc.s 23 + IL_06b2: ldloc.s 26 + IL_06b4: ldelem.ref + IL_06b5: stloc.s 27 + IL_06b7: ldloc.s 25 + IL_06b9: ldloc.s 26 + IL_06bb: ldelem.ref + IL_06bc: stloc.s 28 + IL_06be: ldarg.0 + IL_06bf: ldloc.s 28 + IL_06c1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_06c6: ldloc.s 27 + IL_06c8: callvirt instance object class NAnt.Core.Extensibility.FunctionArgument::get_Value() + IL_06cd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_06d2: ldstr "argument {1} ({0}) of {2}()" + IL_06d7: ldloc.s 28 + IL_06d9: callvirt instance string class [mscorlib]System.Reflection.ParameterInfo::get_Name() + IL_06de: ldloc.s 27 + IL_06e0: callvirt instance int32 class NAnt.Core.Extensibility.FunctionArgument::get_Index() + IL_06e5: box [mscorlib]System.Int32 + IL_06ea: ldloc.s 27 + IL_06ec: callvirt instance string class NAnt.Core.Extensibility.FunctionArgument::get_Name() + IL_06f1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_06f6: ldloc.s 27 + IL_06f8: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.Extensibility.FunctionArgument::get_BeforeArgument() + IL_06fd: ldloc.s 27 + IL_06ff: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.Extensibility.FunctionArgument::get_AfterArgument() + IL_0704: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0709: stloc.s 29 + IL_070b: ldloc.s 16 + IL_070d: ldloc.s 29 + IL_070f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0714: pop + IL_0715: nop + IL_0716: ldloc.s 26 + IL_0718: ldc.i4.1 + IL_0719: add + IL_071a: stloc.s 26 + IL_071c: ldloc.s 26 + IL_071e: ldloc.s 23 + IL_0720: ldlen + IL_0721: conv.i4 + IL_0722: blt IL_06af - IL_049c: ldloc.s 5 - IL_049e: isinst [mscorlib]System.Double - IL_04a3: brfalse IL_04fe + IL_0727: nop + IL_0728: nop + .try { // 4 + IL_0729: nop + IL_072a: ldarg.0 + IL_072b: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() + IL_0730: brtrue IL_0762 - IL_04a8: nop - IL_04a9: ldloc.s 5 - IL_04ab: unbox.any [mscorlib]System.Double - IL_04b0: ldc.r8 0. - IL_04b9: bne.un IL_04e3 + IL_0735: nop + IL_0736: ldloc.s 17 + IL_0738: brfalse IL_0753 - IL_04be: nop - IL_04bf: ldarg.0 - IL_04c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_04c5: ldstr "NA1043" - IL_04ca: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_04cf: call !!0[] class [mscorlib]System.Array::Empty () - IL_04d4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_04d9: ldloc.s 4 - IL_04db: ldloc.s 6 - IL_04dd: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_04e2: throw - IL_04e3: ldloc.1 - IL_04e4: unbox.any [mscorlib]System.Int64 - IL_04e9: conv.r8 - IL_04ea: ldloc.s 5 - IL_04ec: unbox.any [mscorlib]System.Double - IL_04f1: div - IL_04f2: box [mscorlib]System.Double - IL_04f7: stloc.1 - IL_04f8: nop - IL_04f9: br IL_066c + IL_073d: nop + IL_073e: ldarg.0 + IL_073f: ldloc.s 18 + IL_0741: ldloc.s 16 + IL_0743: callvirt instance object[] class [mscorlib]System.Collections.ArrayList::ToArray() + IL_0748: callvirt instance object class NAnt.Core.ExpressionEvalBase::EvaluateFunction(class [mscorlib]System.Reflection.MethodInfo, object[]) + IL_074d: stloc.1 + IL_074e: leave IL_07b8 - IL_04fe: ldloc.1 - IL_04ff: isinst [mscorlib]System.Double - IL_0504: brfalse IL_056a + IL_0753: nop + IL_0754: ldarg.0 + IL_0755: ldloc.s 15 + IL_0757: callvirt instance object class NAnt.Core.ExpressionEvalBase::EvaluateProperty(string) + IL_075c: stloc.1 + IL_075d: leave IL_07b8 - IL_0509: ldloc.s 5 - IL_050b: isinst [mscorlib]System.Double - IL_0510: brfalse IL_056a + IL_0762: nop + IL_0763: ldnull + IL_0764: stloc.1 + IL_0765: leave IL_07b8 - IL_0515: nop - IL_0516: ldloc.s 5 - IL_0518: unbox.any [mscorlib]System.Double - IL_051d: ldc.r8 0. - IL_0526: bne.un IL_0550 + } // end .try 4 + catch class [mscorlib]System.Exception { // 4 + IL_076a: stloc.s 30 + IL_076c: nop + IL_076d: ldloc.s 17 + IL_076f: brfalse IL_0790 - IL_052b: nop - IL_052c: ldarg.0 - IL_052d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0532: ldstr "NA1043" - IL_0537: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_053c: call !!0[] class [mscorlib]System.Array::Empty () - IL_0541: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0546: ldloc.s 4 - IL_0548: ldloc.s 6 - IL_054a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_054f: throw - IL_0550: ldloc.1 - IL_0551: unbox.any [mscorlib]System.Double - IL_0556: ldloc.s 5 - IL_0558: unbox.any [mscorlib]System.Double - IL_055d: div - IL_055e: box [mscorlib]System.Double - IL_0563: stloc.1 - IL_0564: nop - IL_0565: br IL_066c + IL_0774: nop + IL_0775: ldarg.0 + IL_0776: ldstr "Function call failed." + IL_077b: ldloc.s 14 + IL_077d: ldarg.0 + IL_077e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0783: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_0788: ldloc.s 30 + IL_078a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position, class [mscorlib]System.Exception) + IL_078f: throw + IL_0790: nop + IL_0791: ldarg.0 + IL_0792: ldstr "Property evaluation failed." + IL_0797: ldloc.s 14 + IL_0799: ldarg.0 + IL_079a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_079f: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_07a4: ldloc.s 30 + IL_07a6: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position, class [mscorlib]System.Exception) + IL_07ab: throw + } // end handler 4 + IL_07ac: ldarg.0 + IL_07ad: callvirt instance object class NAnt.Core.ExpressionEvalBase::UnexpectedToken() + IL_07b2: stloc.1 + IL_07b3: br IL_07b8 - IL_056a: ldloc.1 - IL_056b: isinst [mscorlib]System.Double - IL_0570: brfalse IL_05ce + IL_07b8: ldloc.1 + IL_07b9: ret + } // end of method ExpressionEvalBase::ParseValue - IL_0575: ldloc.s 5 - IL_0577: isinst [mscorlib]System.Int32 - IL_057c: brfalse IL_05ce + // method line 1608 + .method family hidebysig + instance default class NAnt.Core.ExpressionParseException BuildParseError (string desc, valuetype NAnt.Core.ExpressionTokenizer/Position p0) cil managed + { + // Method begins at RVA 0x1ff18 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class NAnt.Core.ExpressionParseException V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarga.s 2 + IL_0004: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() + IL_0009: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32) + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_0581: nop - IL_0582: ldloc.s 5 - IL_0584: unbox.any [mscorlib]System.Int32 - IL_0589: brtrue IL_05b3 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method ExpressionEvalBase::BuildParseError - IL_058e: nop - IL_058f: ldarg.0 - IL_0590: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0595: ldstr "NA1043" - IL_059a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_059f: call !!0[] class [mscorlib]System.Array::Empty () - IL_05a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_05a9: ldloc.s 4 - IL_05ab: ldloc.s 6 - IL_05ad: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_05b2: throw - IL_05b3: ldloc.1 - IL_05b4: unbox.any [mscorlib]System.Double - IL_05b9: ldloc.s 5 - IL_05bb: unbox.any [mscorlib]System.Int32 - IL_05c0: conv.r8 - IL_05c1: div - IL_05c2: box [mscorlib]System.Double - IL_05c7: stloc.1 - IL_05c8: nop - IL_05c9: br IL_066c - - IL_05ce: ldloc.1 - IL_05cf: isinst [mscorlib]System.Double - IL_05d4: brfalse IL_0634 + // method line 1609 + .method family hidebysig + instance default class NAnt.Core.ExpressionParseException BuildParseError (string desc, valuetype NAnt.Core.ExpressionTokenizer/Position p0, valuetype NAnt.Core.ExpressionTokenizer/Position p1) cil managed + { + // Method begins at RVA 0x1ff3c + // Code size 29 (0x1d) + .maxstack 3 + .locals init ( + class NAnt.Core.ExpressionParseException V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarga.s 2 + IL_0004: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() + IL_0009: ldarga.s 3 + IL_000b: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() + IL_0010: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32, int32) + IL_0015: stloc.0 + IL_0016: br IL_001b - IL_05d9: ldloc.s 5 - IL_05db: isinst [mscorlib]System.Int64 - IL_05e0: brfalse IL_0634 + IL_001b: ldloc.0 + IL_001c: ret + } // end of method ExpressionEvalBase::BuildParseError - IL_05e5: nop - IL_05e6: ldloc.s 5 - IL_05e8: unbox.any [mscorlib]System.Int64 - IL_05ed: ldc.i4.0 - IL_05ee: conv.i8 - IL_05ef: bne.un IL_0619 + // method line 1610 + .method family hidebysig + instance default class NAnt.Core.ExpressionParseException BuildParseError (string desc, valuetype NAnt.Core.ExpressionTokenizer/Position p0, valuetype NAnt.Core.ExpressionTokenizer/Position p1, class [mscorlib]System.Exception ex) cil managed + { + // Method begins at RVA 0x1ff68 + // Code size 31 (0x1f) + .maxstack 4 + .locals init ( + class NAnt.Core.ExpressionParseException V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarga.s 2 + IL_0004: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() + IL_0009: ldarga.s 3 + IL_000b: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() + IL_0010: ldarg.s 4 + IL_0012: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32, int32, class [mscorlib]System.Exception) + IL_0017: stloc.0 + IL_0018: br IL_001d - IL_05f4: nop - IL_05f5: ldarg.0 - IL_05f6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_05fb: ldstr "NA1043" - IL_0600: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0605: call !!0[] class [mscorlib]System.Array::Empty () - IL_060a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_060f: ldloc.s 4 - IL_0611: ldloc.s 6 - IL_0613: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0618: throw - IL_0619: ldloc.1 - IL_061a: unbox.any [mscorlib]System.Double - IL_061f: ldloc.s 5 - IL_0621: unbox.any [mscorlib]System.Int64 - IL_0626: conv.r8 - IL_0627: div - IL_0628: box [mscorlib]System.Double - IL_062d: stloc.1 - IL_062e: nop - IL_062f: br IL_066c + IL_001d: ldloc.0 + IL_001e: ret + } // end of method ExpressionEvalBase::BuildParseError - IL_0634: nop - IL_0635: ldarg.0 - IL_0636: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_063b: ldstr "NA1039" - IL_0640: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0645: ldarg.0 - IL_0646: ldloc.1 - IL_0647: callvirt instance class [mscorlib]System.Type object::GetType() - IL_064c: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0651: ldarg.0 - IL_0652: ldloc.s 5 - IL_0654: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0659: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_065e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0663: ldloc.0 - IL_0664: ldloc.s 6 - IL_0666: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_066b: throw - IL_066c: nop - IL_066d: nop - IL_066e: br IL_0aa6 + // method line 1611 + .method family hidebysig + instance default object SafeConvert (class [mscorlib]System.Type returnType, object source, string description, valuetype NAnt.Core.ExpressionTokenizer/Position p0, valuetype NAnt.Core.ExpressionTokenizer/Position p1) cil managed + { + // Method begins at RVA 0x1ff94 + // Code size 787 (0x313) + .maxstack 7 + .locals init ( + bool V_0, + object V_1, + string V_2, + string[] V_3, + class [mscorlib]System.Text.StringBuilder V_4, + int32 V_5, + string V_6, + class [mscorlib]System.Exception V_7) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldc.i4.0 + IL_0003: stloc.0 + IL_0004: ldarg.2 + IL_0005: brtrue IL_0053 - IL_0673: ldarg.0 - IL_0674: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0679: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_067e: ldc.i4.s 0x0f - IL_0680: bne.un IL_0aa0 + IL_000a: nop + IL_000b: ldarg.1 + IL_000c: ldtoken [mscorlib]System.String + 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_002c - IL_0685: nop - IL_0686: ldarg.0 - IL_0687: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_068c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0691: ldarg.0 - IL_0692: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0697: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_069c: stloc.s 7 - IL_069e: ldarg.0 - IL_069f: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() - IL_06a4: stloc.s 8 - IL_06a6: ldarg.0 - IL_06a7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_06ac: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_06b1: stloc.s 9 - IL_06b3: ldarg.0 - IL_06b4: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_06b9: brtrue IL_0a9a + IL_0020: nop + IL_0021: ldsfld string [mscorlib]System.String::Empty + IL_0026: stloc.1 + IL_0027: leave IL_0311 - IL_06be: nop - IL_06bf: ldloc.1 - IL_06c0: isinst [mscorlib]System.Int32 - IL_06c5: brfalse IL_0722 + IL_002c: ldarg.0 + IL_002d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0032: ldstr "NA1045" + IL_0037: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_003c: ldarg.3 + IL_003d: ldarg.0 + IL_003e: ldarg.1 + IL_003f: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0044: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0049: ldarg.s 4 + IL_004b: ldarg.s 5 + IL_004d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0052: throw + IL_0053: ldarg.2 + IL_0054: isinst [mscorlib]System.Boolean + IL_0059: brfalse IL_008e - IL_06ca: ldloc.s 8 - IL_06cc: isinst [mscorlib]System.Int32 - IL_06d1: brfalse IL_0722 + IL_005e: nop + IL_005f: ldarg.1 + IL_0060: ldtoken [mscorlib]System.String + 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_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_006f: brfalse IL_008d - IL_06d6: nop - IL_06d7: ldloc.s 8 - IL_06d9: unbox.any [mscorlib]System.Int32 - IL_06de: brtrue IL_0708 + IL_0074: ldarg.1 + IL_0075: ldtoken [mscorlib]System.Boolean + IL_007a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_007f: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0084: brfalse IL_008d - IL_06e3: nop - IL_06e4: ldarg.0 - IL_06e5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_06ea: ldstr "NA1043" - IL_06ef: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_06f4: call !!0[] class [mscorlib]System.Array::Empty () - IL_06f9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_06fe: ldloc.s 7 - IL_0700: ldloc.s 9 - IL_0702: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0707: throw - IL_0708: ldloc.1 - IL_0709: unbox.any [mscorlib]System.Int32 - IL_070e: ldloc.s 8 - IL_0710: unbox.any [mscorlib]System.Int32 - IL_0715: rem - IL_0716: box [mscorlib]System.Int32 - IL_071b: stloc.1 - IL_071c: nop - IL_071d: br IL_0a99 + IL_0089: nop + IL_008a: ldc.i4.1 + IL_008b: stloc.0 + IL_008c: nop + IL_008d: nop + IL_008e: ldarg.1 + IL_008f: ldtoken [mscorlib]System.Boolean + IL_0094: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0099: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_009e: brfalse IL_00bf - IL_0722: ldloc.1 - IL_0723: isinst [mscorlib]System.Int32 - IL_0728: brfalse IL_0788 + IL_00a3: nop + IL_00a4: ldarg.2 + IL_00a5: isinst [mscorlib]System.String + IL_00aa: brtrue IL_00be - IL_072d: ldloc.s 8 - IL_072f: isinst [mscorlib]System.Int64 - IL_0734: brfalse IL_0788 + IL_00af: ldarg.2 + IL_00b0: isinst [mscorlib]System.Boolean + IL_00b5: brtrue IL_00be - IL_0739: nop - IL_073a: ldloc.s 8 - IL_073c: unbox.any [mscorlib]System.Int64 - IL_0741: ldc.i4.0 - IL_0742: conv.i8 - IL_0743: bne.un IL_076d + IL_00ba: nop + IL_00bb: ldc.i4.1 + IL_00bc: stloc.0 + IL_00bd: nop + IL_00be: nop + IL_00bf: ldarg.2 + IL_00c0: isinst [mscorlib]System.DateTime + IL_00c5: brfalse IL_00fa - IL_0748: nop - IL_0749: ldarg.0 - IL_074a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_074f: ldstr "NA1043" - IL_0754: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0759: call !!0[] class [mscorlib]System.Array::Empty () - IL_075e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0763: ldloc.s 7 - IL_0765: ldloc.s 9 - IL_0767: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_076c: throw - IL_076d: ldloc.1 - IL_076e: unbox.any [mscorlib]System.Int32 - IL_0773: conv.i8 - IL_0774: ldloc.s 8 - IL_0776: unbox.any [mscorlib]System.Int64 - IL_077b: rem - IL_077c: box [mscorlib]System.Int64 - IL_0781: stloc.1 - IL_0782: nop - IL_0783: br IL_0a99 + IL_00ca: nop + IL_00cb: ldarg.1 + IL_00cc: ldtoken [mscorlib]System.String + IL_00d1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00d6: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00db: brfalse IL_00f9 - IL_0788: ldloc.1 - IL_0789: isinst [mscorlib]System.Int32 - IL_078e: brfalse IL_07f5 + IL_00e0: ldarg.1 + IL_00e1: ldtoken [mscorlib]System.DateTime + IL_00e6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00eb: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00f0: brfalse IL_00f9 - IL_0793: ldloc.s 8 - IL_0795: isinst [mscorlib]System.Double - IL_079a: brfalse IL_07f5 + IL_00f5: nop + IL_00f6: ldc.i4.1 + IL_00f7: stloc.0 + IL_00f8: nop + IL_00f9: nop + IL_00fa: ldarg.1 + IL_00fb: ldtoken [mscorlib]System.DateTime + IL_0100: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0105: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_010a: brfalse IL_012b - IL_079f: nop - IL_07a0: ldloc.s 8 - IL_07a2: unbox.any [mscorlib]System.Double - IL_07a7: ldc.r8 0. - IL_07b0: bne.un IL_07da + IL_010f: nop + IL_0110: ldarg.2 + IL_0111: isinst [mscorlib]System.DateTime + IL_0116: brtrue IL_012a - IL_07b5: nop - IL_07b6: ldarg.0 - IL_07b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_07bc: ldstr "NA1043" - IL_07c1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_07c6: call !!0[] class [mscorlib]System.Array::Empty () - IL_07cb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_07d0: ldloc.s 7 - IL_07d2: ldloc.s 9 - IL_07d4: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_07d9: throw - IL_07da: ldloc.1 - IL_07db: unbox.any [mscorlib]System.Int32 - IL_07e0: conv.r8 - IL_07e1: ldloc.s 8 - IL_07e3: unbox.any [mscorlib]System.Double - IL_07e8: rem - IL_07e9: box [mscorlib]System.Double - IL_07ee: stloc.1 - IL_07ef: nop - IL_07f0: br IL_0a99 + IL_011b: ldarg.2 + IL_011c: isinst [mscorlib]System.String + IL_0121: brtrue IL_012a - IL_07f5: ldloc.1 - IL_07f6: isinst [mscorlib]System.Int64 - IL_07fb: brfalse IL_085a + IL_0126: nop + IL_0127: ldc.i4.1 + IL_0128: stloc.0 + IL_0129: nop + IL_012a: nop + IL_012b: ldarg.2 + IL_012c: isinst [mscorlib]System.TimeSpan + IL_0131: brfalse IL_014f - IL_0800: ldloc.s 8 - IL_0802: isinst [mscorlib]System.Int64 - IL_0807: brfalse IL_085a + IL_0136: ldarg.1 + IL_0137: ldtoken [mscorlib]System.TimeSpan + IL_013c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0141: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0146: brfalse IL_014f - IL_080c: nop - IL_080d: ldloc.s 8 - IL_080f: unbox.any [mscorlib]System.Int64 - IL_0814: ldc.i4.0 - IL_0815: conv.i8 - IL_0816: bne.un IL_0840 + IL_014b: nop + IL_014c: ldc.i4.1 + IL_014d: stloc.0 + IL_014e: nop + IL_014f: ldarg.1 + IL_0150: ldtoken [mscorlib]System.TimeSpan + IL_0155: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_015a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_015f: brfalse IL_0173 - IL_081b: nop - IL_081c: ldarg.0 - IL_081d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0822: ldstr "NA1043" - IL_0827: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_082c: call !!0[] class [mscorlib]System.Array::Empty () - IL_0831: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0836: ldloc.s 7 - IL_0838: ldloc.s 9 - IL_083a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_083f: throw - IL_0840: ldloc.1 - IL_0841: unbox.any [mscorlib]System.Int64 - IL_0846: ldloc.s 8 - IL_0848: unbox.any [mscorlib]System.Int64 - IL_084d: rem - IL_084e: box [mscorlib]System.Int64 - IL_0853: stloc.1 - IL_0854: nop - IL_0855: br IL_0a99 + IL_0164: ldarg.2 + IL_0165: isinst [mscorlib]System.TimeSpan + IL_016a: brtrue IL_0173 - IL_085a: ldloc.1 - IL_085b: isinst [mscorlib]System.Int64 - IL_0860: brfalse IL_08be + IL_016f: nop + IL_0170: ldc.i4.1 + IL_0171: stloc.0 + IL_0172: nop + IL_0173: ldarg.1 + IL_0174: ldtoken [mscorlib]System.String + IL_0179: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_017e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0183: brfalse IL_01c4 - IL_0865: ldloc.s 8 - IL_0867: isinst [mscorlib]System.Int32 - IL_086c: brfalse IL_08be + IL_0188: nop + IL_0189: ldarg.2 + IL_018a: isinst [mscorlib]System.IO.DirectoryInfo + IL_018f: brfalse IL_01a6 - IL_0871: nop - IL_0872: ldloc.s 8 - IL_0874: unbox.any [mscorlib]System.Int32 - IL_0879: brtrue IL_08a3 + IL_0194: nop + IL_0195: ldarg.2 + IL_0196: castclass [mscorlib]System.IO.DirectoryInfo + IL_019b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01a0: stloc.1 + IL_01a1: leave IL_0311 - IL_087e: nop - IL_087f: ldarg.0 - IL_0880: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0885: ldstr "NA1043" - IL_088a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_088f: call !!0[] class [mscorlib]System.Array::Empty () - IL_0894: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0899: ldloc.s 7 - IL_089b: ldloc.s 9 - IL_089d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_08a2: throw - IL_08a3: ldloc.1 - IL_08a4: unbox.any [mscorlib]System.Int64 - IL_08a9: ldloc.s 8 - IL_08ab: unbox.any [mscorlib]System.Int32 - IL_08b0: conv.i8 - IL_08b1: rem - IL_08b2: box [mscorlib]System.Int64 - IL_08b7: stloc.1 - IL_08b8: nop - IL_08b9: br IL_0a99 + IL_01a6: ldarg.2 + IL_01a7: isinst [mscorlib]System.IO.FileInfo + IL_01ac: brfalse IL_01c3 - IL_08be: ldloc.1 - IL_08bf: isinst [mscorlib]System.Int64 - IL_08c4: brfalse IL_092b + IL_01b1: nop + IL_01b2: ldarg.2 + IL_01b3: castclass [mscorlib]System.IO.FileInfo + IL_01b8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01bd: stloc.1 + IL_01be: leave IL_0311 - IL_08c9: ldloc.s 8 - IL_08cb: isinst [mscorlib]System.Double - IL_08d0: brfalse IL_092b + IL_01c3: nop + IL_01c4: ldarg.1 + IL_01c5: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_01ca: brfalse IL_027b - IL_08d5: nop - IL_08d6: ldloc.s 8 - IL_08d8: unbox.any [mscorlib]System.Double - IL_08dd: ldc.r8 0. - IL_08e6: bne.un IL_0910 + IL_01cf: nop + IL_01d0: ldarg.2 + IL_01d1: isinst [mscorlib]System.String + IL_01d6: stloc.2 + IL_01d7: ldloc.2 + IL_01d8: brfalse IL_026d - IL_08eb: nop - IL_08ec: ldarg.0 - IL_08ed: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_08f2: ldstr "NA1043" - IL_08f7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_08fc: call !!0[] class [mscorlib]System.Array::Empty () - IL_0901: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0906: ldloc.s 7 - IL_0908: ldloc.s 9 - IL_090a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_090f: throw - IL_0910: ldloc.1 - IL_0911: unbox.any [mscorlib]System.Int64 - IL_0916: conv.r8 - IL_0917: ldloc.s 8 - IL_0919: unbox.any [mscorlib]System.Double - IL_091e: rem - IL_091f: box [mscorlib]System.Double - IL_0924: stloc.1 - IL_0925: nop - IL_0926: br IL_0a99 + IL_01dd: nop + IL_01de: ldloc.2 + IL_01df: ldc.i4.2 + IL_01e0: newarr [mscorlib]System.Char + IL_01e5: dup + IL_01e6: ldc.i4.0 + IL_01e7: ldc.i4.s 0x20 + IL_01e9: stelem.i2 + IL_01ea: dup + IL_01eb: ldc.i4.1 + IL_01ec: ldc.i4.s 0x2c + IL_01ee: stelem.i2 + IL_01ef: callvirt instance string[] string::Split(char[]) + IL_01f4: stloc.3 + IL_01f5: ldloc.2 + IL_01f6: callvirt instance int32 string::get_Length() + IL_01fb: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) + IL_0200: stloc.s 4 + IL_0202: ldc.i4.0 + IL_0203: stloc.s 5 + IL_0205: br IL_024f - IL_092b: ldloc.1 - IL_092c: isinst [mscorlib]System.Double - IL_0931: brfalse IL_0997 - - IL_0936: ldloc.s 8 - IL_0938: isinst [mscorlib]System.Double - IL_093d: brfalse IL_0997 + IL_020a: nop + IL_020b: ldloc.3 + IL_020c: ldloc.s 5 + IL_020e: ldelem.ref + IL_020f: callvirt instance string string::Trim() + IL_0214: stloc.s 6 + IL_0216: ldloc.s 6 + IL_0218: callvirt instance int32 string::get_Length() + IL_021d: brtrue IL_0227 - IL_0942: nop - IL_0943: ldloc.s 8 - IL_0945: unbox.any [mscorlib]System.Double - IL_094a: ldc.r8 0. - IL_0953: bne.un IL_097d + IL_0222: leave IL_0249 - IL_0958: nop - IL_0959: ldarg.0 - IL_095a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_095f: ldstr "NA1043" - IL_0964: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0969: call !!0[] class [mscorlib]System.Array::Empty () - IL_096e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0973: ldloc.s 7 - IL_0975: ldloc.s 9 - IL_0977: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_097c: throw - IL_097d: ldloc.1 - IL_097e: unbox.any [mscorlib]System.Double - IL_0983: ldloc.s 8 - IL_0985: unbox.any [mscorlib]System.Double - IL_098a: rem - IL_098b: box [mscorlib]System.Double - IL_0990: stloc.1 - IL_0991: nop - IL_0992: br IL_0a99 + IL_0227: ldloc.s 4 + IL_0229: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_022e: ldc.i4.0 + IL_022f: ble IL_023e - IL_0997: ldloc.1 - IL_0998: isinst [mscorlib]System.Double - IL_099d: brfalse IL_09fb + IL_0234: ldloc.s 4 + IL_0236: ldc.i4.s 0x2c + IL_0238: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_023d: pop + IL_023e: ldloc.s 4 + IL_0240: ldloc.s 6 + IL_0242: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0247: pop + IL_0248: nop + IL_0249: ldloc.s 5 + IL_024b: ldc.i4.1 + IL_024c: add + IL_024d: stloc.s 5 + IL_024f: ldloc.s 5 + IL_0251: ldloc.3 + IL_0252: ldlen + IL_0253: conv.i4 + IL_0254: blt IL_020a - IL_09a2: ldloc.s 8 - IL_09a4: isinst [mscorlib]System.Int32 - IL_09a9: brfalse IL_09fb + IL_0259: ldarg.1 + IL_025a: ldloc.s 4 + IL_025c: callvirt instance string object::ToString() + IL_0261: ldc.i4.1 + IL_0262: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_0267: stloc.1 + IL_0268: leave IL_0311 - IL_09ae: nop - IL_09af: ldloc.s 8 - IL_09b1: unbox.any [mscorlib]System.Int32 - IL_09b6: brtrue IL_09e0 + IL_026d: nop + IL_026e: ldarg.1 + IL_026f: ldarg.2 + IL_0270: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) + IL_0275: stloc.1 + IL_0276: leave IL_0311 - IL_09bb: nop - IL_09bc: ldarg.0 - IL_09bd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_09c2: ldstr "NA1043" - IL_09c7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_09cc: call !!0[] class [mscorlib]System.Array::Empty () - IL_09d1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_09d6: ldloc.s 7 - IL_09d8: ldloc.s 9 - IL_09da: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_09df: throw - IL_09e0: ldloc.1 - IL_09e1: unbox.any [mscorlib]System.Double - IL_09e6: ldloc.s 8 - IL_09e8: unbox.any [mscorlib]System.Int32 - IL_09ed: conv.r8 - IL_09ee: rem - IL_09ef: box [mscorlib]System.Double - IL_09f4: stloc.1 - IL_09f5: nop - IL_09f6: br IL_0a99 + IL_027b: ldloc.0 + IL_027c: brfalse IL_02b0 - IL_09fb: ldloc.1 - IL_09fc: isinst [mscorlib]System.Double - IL_0a01: brfalse IL_0a61 + IL_0281: nop + IL_0282: ldarg.0 + IL_0283: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0288: ldstr "Cannot convert {0} to '{1}' (actual type was '{2}')." + IL_028d: ldarg.3 + IL_028e: ldarg.0 + IL_028f: ldarg.1 + IL_0290: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0295: ldarg.0 + IL_0296: ldarg.2 + IL_0297: callvirt instance class [mscorlib]System.Type object::GetType() + IL_029c: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_02a1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_02a6: ldarg.s 4 + IL_02a8: ldarg.s 5 + IL_02aa: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_02af: throw + IL_02b0: ldarg.1 + IL_02b1: ldarg.2 + IL_02b2: callvirt instance class [mscorlib]System.Type object::GetType() + IL_02b7: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_02bc: brfalse IL_02c8 - IL_0a06: ldloc.s 8 - IL_0a08: isinst [mscorlib]System.Int64 - IL_0a0d: brfalse IL_0a61 + IL_02c1: ldarg.2 + IL_02c2: stloc.1 + IL_02c3: leave IL_0311 - IL_0a12: nop - IL_0a13: ldloc.s 8 - IL_0a15: unbox.any [mscorlib]System.Int64 - IL_0a1a: ldc.i4.0 - IL_0a1b: conv.i8 - IL_0a1c: bne.un IL_0a46 + IL_02c8: ldarg.2 + IL_02c9: ldarg.1 + IL_02ca: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02cf: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) + IL_02d4: stloc.1 + IL_02d5: leave IL_0311 - IL_0a21: nop - IL_0a22: ldarg.0 - IL_0a23: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0a28: ldstr "NA1043" - IL_0a2d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0a32: call !!0[] class [mscorlib]System.Array::Empty () - IL_0a37: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0a3c: ldloc.s 7 - IL_0a3e: ldloc.s 9 - IL_0a40: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0a45: throw - IL_0a46: ldloc.1 - IL_0a47: unbox.any [mscorlib]System.Double - IL_0a4c: ldloc.s 8 - IL_0a4e: unbox.any [mscorlib]System.Int64 - IL_0a53: conv.r8 - IL_0a54: rem - IL_0a55: box [mscorlib]System.Double - IL_0a5a: stloc.1 - IL_0a5b: nop - IL_0a5c: br IL_0a99 + } // end .try 0 + catch class NAnt.Core.ExpressionParseException { // 0 + IL_02da: pop + IL_02db: nop + IL_02dc: rethrow + } // end handler 0 + catch class [mscorlib]System.Exception { // 1 + IL_02de: stloc.s 7 + IL_02e0: nop + IL_02e1: ldarg.0 + IL_02e2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02e7: ldstr "Cannot convert {0} to '{1}' (actual type was '{2}')." + IL_02ec: ldarg.3 + IL_02ed: ldarg.0 + IL_02ee: ldarg.1 + IL_02ef: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_02f4: ldarg.0 + IL_02f5: ldarg.2 + IL_02f6: callvirt instance class [mscorlib]System.Type object::GetType() + IL_02fb: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) + IL_0300: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0305: ldarg.s 4 + IL_0307: ldarg.s 5 + IL_0309: ldloc.s 7 + IL_030b: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position, class [mscorlib]System.Exception) + IL_0310: throw + } // end handler 1 + IL_0311: ldloc.1 + IL_0312: ret + } // end of method ExpressionEvalBase::SafeConvert - IL_0a61: nop - IL_0a62: ldarg.0 - IL_0a63: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0a68: ldstr "NA1047" - IL_0a6d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0a72: ldarg.0 - IL_0a73: ldloc.1 - IL_0a74: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0a79: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0a7e: ldarg.0 - IL_0a7f: ldloc.s 8 - IL_0a81: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0a86: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0a8b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0a90: ldloc.0 - IL_0a91: ldloc.s 9 - IL_0a93: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0a98: throw - IL_0a99: nop - IL_0a9a: nop - IL_0a9b: br IL_0aa6 + // method line 1612 + .method family hidebysig + instance default string GetSimpleTypeName (class [mscorlib]System.Type t) cil managed + { + // Method begins at RVA 0x202e8 + // Code size 247 (0xf7) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldtoken [mscorlib]System.Int32 + IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0011: brfalse IL_0022 - IL_0aa0: nop - IL_0aa1: br IL_0aac + IL_0016: nop + IL_0017: ldstr "int" + IL_001c: stloc.0 + IL_001d: br IL_00f5 - IL_0aa6: nop - IL_0aa7: br IL_0014 + IL_0022: ldarg.1 + IL_0023: ldtoken [mscorlib]System.Int64 + IL_0028: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002d: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0032: brfalse IL_0043 - IL_0aac: ldloc.1 - IL_0aad: stloc.s 10 - IL_0aaf: br IL_0ab4 + IL_0037: nop + IL_0038: ldstr "long" + IL_003d: stloc.0 + IL_003e: br IL_00f5 - IL_0ab4: ldloc.s 10 - IL_0ab6: ret - } // end of method ExpressionEvalBase::ParseMulDiv + IL_0043: ldarg.1 + IL_0044: ldtoken [mscorlib]System.Double + IL_0049: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_004e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0053: brfalse IL_0064 - // method line 1690 - .method private hidebysig - instance default object ParseConditional () cil managed - { - // Method begins at RVA 0x218e4 - // Code size 437 (0x1b5) - .maxstack 6 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0, - object V_1, - valuetype NAnt.Core.ExpressionTokenizer/Position V_2, - bool V_3, - valuetype NAnt.Core.ExpressionEvalBase/EvalMode V_4, - object V_5, - object V_6, - object V_7) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0007: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_000c: ldarg.0 - IL_000d: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0012: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0017: ldc.i4.s 0x10 - IL_0019: beq IL_0036 + IL_0058: nop + IL_0059: ldstr "double" + IL_005e: stloc.0 + IL_005f: br IL_00f5 - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: ldstr "'(' expected." - IL_0025: ldarg.0 - IL_0026: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_002b: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0030: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0035: throw - IL_0036: ldarg.0 - IL_0037: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_003c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0041: ldarg.0 - IL_0042: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0047: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_004c: stloc.0 - IL_004d: ldarg.0 - IL_004e: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_0053: stloc.1 - IL_0054: ldarg.0 - IL_0055: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_005a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_005f: stloc.2 - IL_0060: ldc.i4.0 - IL_0061: stloc.3 - IL_0062: ldarg.0 - IL_0063: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_0068: brtrue IL_008d + IL_0064: ldarg.1 + IL_0065: ldtoken [mscorlib]System.String + IL_006a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_006f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0074: brfalse IL_0085 - IL_006d: nop - IL_006e: ldarg.0 - IL_006f: ldtoken [mscorlib]System.Boolean - IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0079: ldloc.1 - IL_007a: ldstr "the conditional expression" - IL_007f: ldloc.0 - IL_0080: ldloc.2 - IL_0081: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0086: unbox.any [mscorlib]System.Boolean - IL_008b: stloc.3 - IL_008c: nop - IL_008d: ldarg.0 - IL_008e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0093: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0098: ldc.i4.s 0x18 - IL_009a: beq IL_00b7 + IL_0079: nop + IL_007a: ldstr "string" + IL_007f: stloc.0 + IL_0080: br IL_00f5 - IL_009f: nop - IL_00a0: ldarg.0 - IL_00a1: ldstr "',' expected." - IL_00a6: ldarg.0 - IL_00a7: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00ac: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_00b1: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_00b6: throw - IL_00b7: ldarg.0 - IL_00b8: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00bd: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_00c2: ldarg.0 - IL_00c3: ldfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_00c8: stloc.s 4 - .try { // 0 - IL_00ca: nop - IL_00cb: ldloc.3 - IL_00cc: brtrue IL_00df + IL_0085: ldarg.1 + IL_0086: ldtoken [mscorlib]System.Boolean + IL_008b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0090: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0095: brfalse IL_00a6 - IL_00d1: nop - IL_00d2: ldarg.0 - IL_00d3: ldc.i4.1 - IL_00d4: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_00d9: nop - IL_00da: br IL_00e9 + IL_009a: nop + IL_009b: ldstr "bool" + IL_00a0: stloc.0 + IL_00a1: br IL_00f5 - IL_00df: nop - IL_00e0: ldarg.0 - IL_00e1: ldloc.s 4 - IL_00e3: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_00e8: nop - IL_00e9: ldarg.0 - IL_00ea: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_00ef: stloc.s 5 - IL_00f1: ldarg.0 - IL_00f2: ldloc.s 4 - IL_00f4: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_00f9: ldarg.0 - IL_00fa: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00ff: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0104: ldc.i4.s 0x18 - IL_0106: beq IL_0123 + IL_00a6: ldarg.1 + IL_00a7: ldtoken [mscorlib]System.DateTime + IL_00ac: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00b1: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00b6: brfalse IL_00c7 - IL_010b: nop - IL_010c: ldarg.0 - IL_010d: ldstr "',' expected." - IL_0112: ldarg.0 - IL_0113: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0118: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_011d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0122: throw - IL_0123: ldarg.0 - IL_0124: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0129: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_012e: ldloc.3 - IL_012f: brfalse IL_0142 + IL_00bb: nop + IL_00bc: ldstr "datetime" + IL_00c1: stloc.0 + IL_00c2: br IL_00f5 - IL_0134: nop - IL_0135: ldarg.0 - IL_0136: ldc.i4.1 - IL_0137: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_013c: nop - IL_013d: br IL_014c + IL_00c7: ldarg.1 + IL_00c8: ldtoken [mscorlib]System.TimeSpan + IL_00cd: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00d2: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00d7: brfalse IL_00e8 - IL_0142: nop - IL_0143: ldarg.0 - IL_0144: ldloc.s 4 - IL_0146: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_014b: nop - IL_014c: ldarg.0 - IL_014d: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_0152: stloc.s 6 - IL_0154: ldarg.0 - IL_0155: ldloc.s 4 - IL_0157: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_015c: ldarg.0 - IL_015d: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0162: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0167: ldc.i4.s 0x11 - IL_0169: beq IL_0186 + IL_00dc: nop + IL_00dd: ldstr "timespan" + IL_00e2: stloc.0 + IL_00e3: br IL_00f5 - IL_016e: nop - IL_016f: ldarg.0 - IL_0170: ldstr "')' expected." - IL_0175: ldarg.0 - IL_0176: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_017b: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0180: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0185: throw - IL_0186: ldarg.0 - IL_0187: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_018c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0191: ldloc.3 - IL_0192: brfalse IL_019e + IL_00e8: nop + IL_00e9: ldarg.1 + IL_00ea: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00ef: stloc.0 + IL_00f0: br IL_00f5 - IL_0197: ldloc.s 5 - IL_0199: br IL_01a0 + IL_00f5: ldloc.0 + IL_00f6: ret + } // end of method ExpressionEvalBase::GetSimpleTypeName - IL_019e: ldloc.s 6 - IL_01a0: stloc.s 7 - IL_01a2: leave IL_01b2 + // method line 1613 + .method family virtual hidebysig newslot abstract + instance default object EvaluateFunction (class [mscorlib]System.Reflection.MethodInfo 'method', object[] args) cil managed + { + // Method begins at RVA 0x0 + } // end of method ExpressionEvalBase::EvaluateFunction - } // end .try 0 - finally { // 0 - IL_01a7: nop - IL_01a8: ldarg.0 - IL_01a9: ldloc.s 4 - IL_01ab: stfld valuetype NAnt.Core.ExpressionEvalBase/EvalMode NAnt.Core.ExpressionEvalBase::_evalMode - IL_01b0: nop - IL_01b1: endfinally - } // end handler 0 - IL_01b2: ldloc.s 7 - IL_01b4: ret - } // end of method ExpressionEvalBase::ParseConditional + // method line 1614 + .method family virtual hidebysig newslot abstract + instance default object EvaluateProperty (string propertyName) cil managed + { + // Method begins at RVA 0x0 + } // end of method ExpressionEvalBase::EvaluateProperty - // method line 1691 - .method private hidebysig - instance default object ParseValue () cil managed + // method line 1615 + .method family virtual hidebysig newslot + instance default object UnexpectedToken () cil managed { - // Method begins at RVA 0x21ab8 - // Code size 1978 (0x7ba) + // Method begins at RVA 0x203eb + // Code size 50 (0x32) .maxstack 8 - .locals init ( - object V_0, - object V_1, - string V_2, - valuetype NAnt.Core.ExpressionTokenizer/Position V_3, - valuetype NAnt.Core.ExpressionTokenizer/Position V_4, - valuetype NAnt.Core.ExpressionTokenizer/Position V_5, - valuetype NAnt.Core.ExpressionTokenizer/Position V_6, - object V_7, - valuetype NAnt.Core.ExpressionTokenizer/Position V_8, - valuetype NAnt.Core.ExpressionTokenizer/Position V_9, - object V_10, - valuetype NAnt.Core.ExpressionTokenizer/Position V_11, - bool V_12, - object V_13, - valuetype NAnt.Core.ExpressionTokenizer/Position V_14, - string V_15, - class [mscorlib]System.Collections.ArrayList V_16, - bool V_17, - class [mscorlib]System.Reflection.MethodInfo V_18, - int32 V_19, - valuetype NAnt.Core.ExpressionTokenizer/Position V_20, - object V_21, - valuetype NAnt.Core.ExpressionTokenizer/Position V_22, - class NAnt.Core.Extensibility.FunctionArgument[] V_23, - class NAnt.Core.BuildException V_24, - class [mscorlib]System.Reflection.ParameterInfo[] V_25, - int32 V_26, - class NAnt.Core.Extensibility.FunctionArgument V_27, - class [mscorlib]System.Reflection.ParameterInfo V_28, - object V_29, - class [mscorlib]System.Exception V_30) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0007: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_000c: ldc.i4.3 - IL_000d: bne.un IL_0031 - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0019: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_001e: stloc.0 - IL_001f: ldarg.0 - IL_0020: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0025: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_002a: ldloc.0 - IL_002b: stloc.1 - IL_002c: br IL_07b8 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: ldstr "Unexpected token '{0}'." + IL_000c: ldarg.0 + IL_000d: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0012: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0017: box NAnt.Core.ExpressionTokenizer/TokenType + IL_001c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0021: ldarg.0 + IL_0022: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer + IL_0027: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_002c: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) + IL_0031: throw + } // end of method ExpressionEvalBase::UnexpectedToken - IL_0031: ldarg.0 - IL_0032: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0037: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_003c: ldc.i4.2 - IL_003d: bne.un IL_016a + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.ExpressionEvalBase::get_Project () + } + .class nested private auto ansi sealed EvalMode + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.ExpressionEvalBase/EvalMode Evaluate = int32(0x00000000) + .field public static literal valuetype NAnt.Core.ExpressionEvalBase/EvalMode ParseOnly = int32(0x00000001) - IL_0042: nop - IL_0043: ldarg.0 - IL_0044: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0049: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_004e: stloc.2 - IL_004f: ldarg.0 - IL_0050: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0055: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_005a: stloc.3 - IL_005b: ldarg.0 - IL_005c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0061: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0066: ldloca.s 4 - IL_0068: ldarg.0 - IL_0069: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_006e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0073: stloc.s 5 - IL_0075: ldloca.s 5 - IL_0077: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_007c: ldc.i4.1 - IL_007d: sub - IL_007e: call instance void valuetype NAnt.Core.ExpressionTokenizer/Position::'.ctor'(int32) - IL_0083: ldarg.0 - IL_0084: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0089: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_008e: ldc.i4.s 0x19 - IL_0090: bne.un IL_0128 + } // end of class EvalMode - IL_0095: nop - IL_0096: ldloc.2 - IL_0097: ldstr "." - IL_009c: call string string::Concat(string, string) - IL_00a1: stloc.2 - IL_00a2: ldarg.0 - IL_00a3: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00a8: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_00ad: ldarg.0 - IL_00ae: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00b3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_00b8: ldc.i4.2 - IL_00b9: beq IL_00d6 + } // end of class NAnt.Core.ExpressionEvalBase +} - IL_00be: nop - IL_00bf: ldarg.0 - IL_00c0: ldstr "Fractional part expected." - IL_00c5: ldarg.0 - IL_00c6: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00cb: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_00d0: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_00d5: throw - IL_00d6: ldloc.2 - IL_00d7: ldarg.0 - IL_00d8: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00dd: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_00e2: call string string::Concat(string, string) - IL_00e7: stloc.2 - IL_00e8: ldarg.0 - IL_00e9: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00ee: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_00f3: ldarg.0 - IL_00f4: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_00f9: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_00fe: stloc.s 4 - .try { // 0 - IL_0100: nop - IL_0101: ldloc.2 - IL_0102: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0107: call float64 float64::Parse(string, class [mscorlib]System.IFormatProvider) - IL_010c: box [mscorlib]System.Double - IL_0111: stloc.1 - IL_0112: leave IL_07b8 +.namespace NAnt.Core +{ + .class public auto ansi sealed Level + extends [mscorlib]System.Enum + { + .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 18 4E 41 6E 74 2E 43 6F 72 65 2E 4C 65 76 // ...NAnt.Core.Lev + 65 6C 43 6F 6E 76 65 72 74 65 72 00 00 ) // elConverter.. - } // end .try 0 - catch class [mscorlib]System.OverflowException { // 0 - IL_0117: pop - IL_0118: nop - IL_0119: ldarg.0 - IL_011a: ldstr "Value was either too large or too small for type 'double'." - IL_011f: ldloc.3 - IL_0120: ldloc.s 4 - IL_0122: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0127: throw - } // end handler 0 - IL_0128: nop - .try { // 2 - IL_0129: nop - IL_012a: ldloc.2 - IL_012b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0130: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_0135: box [mscorlib]System.Int32 - IL_013a: stloc.1 - IL_013b: leave IL_07b8 + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Level Debug = int32(0x000003e8) + .field public static literal valuetype NAnt.Core.Level Verbose = int32(0x000007d0) + .field public static literal valuetype NAnt.Core.Level Info = int32(0x00000bb8) + .field public static literal valuetype NAnt.Core.Level Warning = int32(0x00000fa0) + .field public static literal valuetype NAnt.Core.Level Error = int32(0x00001388) + .field public static literal valuetype NAnt.Core.Level None = int32(0x0000270f) - } // end .try 2 - catch class [mscorlib]System.OverflowException { // 2 - IL_0140: pop - IL_0141: nop - .try { // 1 - IL_0142: nop - IL_0143: ldloc.2 - IL_0144: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0149: call int64 int64::Parse(string, class [mscorlib]System.IFormatProvider) - IL_014e: box [mscorlib]System.Int64 - IL_0153: stloc.1 - IL_0154: leave IL_07b8 + } // end of class NAnt.Core.Level +} - } // end .try 1 - catch class [mscorlib]System.OverflowException { // 1 - IL_0159: pop - IL_015a: nop - IL_015b: ldarg.0 - IL_015c: ldstr "Value was either too large or too small for type 'long'." - IL_0161: ldloc.3 - IL_0162: ldloc.s 4 - IL_0164: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0169: throw - } // end handler 1 - } // end handler 2 - IL_016a: ldarg.0 - IL_016b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0170: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0175: ldc.i4.s 0x0c - IL_0177: bne.un IL_0249 +.namespace NAnt.Core +{ + .class private auto ansi beforefieldinit LevelConverter + extends [System]System.ComponentModel.EnumConverter + { - IL_017c: nop - IL_017d: ldarg.0 - IL_017e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0183: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0188: ldarg.0 - IL_0189: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_018e: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0193: stloc.s 6 - IL_0195: ldarg.0 - IL_0196: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() - IL_019b: stloc.s 7 - IL_019d: ldarg.0 - IL_019e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_01a3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_01a8: stloc.s 8 - IL_01aa: ldarg.0 - IL_01ab: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_01b0: brtrue IL_0242 + // method line 1616 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x2041e + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken NAnt.Core.Level + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) + IL_0010: nop + IL_0011: ret + } // end of method LevelConverter::.ctor - IL_01b5: nop - IL_01b6: ldloc.s 7 - IL_01b8: isinst [mscorlib]System.Int32 - IL_01bd: brfalse IL_01d6 + // method line 1617 + .method public virtual hidebysig + instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + { + // Method begins at RVA 0x20434 + // Code size 50 (0x32) + .maxstack 4 + .locals init ( + string V_0, + object V_1) + IL_0000: nop + IL_0001: ldarg.3 + IL_0002: isinst [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_0021 - IL_01c2: nop - IL_01c3: ldloc.s 7 - IL_01c5: unbox.any [mscorlib]System.Int32 - IL_01ca: neg - IL_01cb: box [mscorlib]System.Int32 - IL_01d0: stloc.1 - IL_01d1: br IL_07b8 + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.Type class [System]System.ComponentModel.EnumConverter::get_EnumType() + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_001b: stloc.1 + IL_001c: br IL_0030 - IL_01d6: ldloc.s 7 - IL_01d8: isinst [mscorlib]System.Int64 - IL_01dd: brfalse IL_01f6 + IL_0021: ldarg.0 + IL_0022: ldarg.1 + IL_0023: ldarg.2 + IL_0024: ldarg.3 + IL_0025: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) + IL_002a: stloc.1 + IL_002b: br IL_0030 - IL_01e2: nop - IL_01e3: ldloc.s 7 - IL_01e5: unbox.any [mscorlib]System.Int64 - IL_01ea: neg - IL_01eb: box [mscorlib]System.Int64 - IL_01f0: stloc.1 - IL_01f1: br IL_07b8 + IL_0030: ldloc.1 + IL_0031: ret + } // end of method LevelConverter::ConvertFrom - IL_01f6: ldloc.s 7 - IL_01f8: isinst [mscorlib]System.Double - IL_01fd: brfalse IL_0216 + } // end of class NAnt.Core.LevelConverter +} - IL_0202: nop - IL_0203: ldloc.s 7 - IL_0205: unbox.any [mscorlib]System.Double - IL_020a: neg - IL_020b: box [mscorlib]System.Double - IL_0210: stloc.1 - IL_0211: br IL_07b8 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit BuildEventArgs + extends [mscorlib]System.EventArgs + { + .field private initonly class NAnt.Core.Project _project + .field private initonly class NAnt.Core.Target _target + .field private initonly class NAnt.Core.Task _task + .field private string _message + .field private valuetype NAnt.Core.Level _messageLevel + .field private class [mscorlib]System.Exception _exception - IL_0216: ldarg.0 - IL_0217: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_021c: ldstr "NA1040" - IL_0221: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0226: ldarg.0 - IL_0227: ldloc.s 7 - IL_0229: callvirt instance class [mscorlib]System.Type object::GetType() - IL_022e: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0233: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0238: ldloc.s 6 - IL_023a: ldloc.s 8 - IL_023c: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0241: throw - IL_0242: ldnull - IL_0243: stloc.1 - IL_0244: br IL_07b8 + // method line 1618 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x20472 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 2000 + IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_000b: ldarg.0 + IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() + IL_0011: nop + IL_0012: ret + } // end of method BuildEventArgs::.ctor - IL_0249: ldarg.0 - IL_024a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_024f: ldstr "not" - IL_0254: callvirt instance bool class NAnt.Core.ExpressionTokenizer::IsKeyword(string) - IL_0259: brfalse IL_02d1 + // method line 1619 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project) cil managed + { + // Method begins at RVA 0x20486 + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 2000 + IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_000b: ldarg.0 + IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: stfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project + IL_0019: ret + } // end of method BuildEventArgs::.ctor - IL_025e: nop - IL_025f: ldarg.0 - IL_0260: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0265: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_026a: ldarg.0 - IL_026b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0270: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0275: stloc.s 9 - IL_0277: ldarg.0 - IL_0278: call instance object class NAnt.Core.ExpressionEvalBase::ParseValue() - IL_027d: stloc.s 10 - IL_027f: ldarg.0 - IL_0280: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0285: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_028a: stloc.s 11 - IL_028c: ldarg.0 - IL_028d: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_0292: brtrue IL_02ca + // method line 1620 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Target target) cil managed + { + // Method begins at RVA 0x204a1 + // Code size 38 (0x26) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 2000 + IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_000b: ldarg.0 + IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0019: stfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project + IL_001e: ldarg.0 + IL_001f: ldarg.1 + IL_0020: stfld class NAnt.Core.Target NAnt.Core.BuildEventArgs::_target + IL_0025: ret + } // end of method BuildEventArgs::.ctor - IL_0297: nop - IL_0298: ldarg.0 - IL_0299: ldtoken [mscorlib]System.Boolean - IL_029e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_02a3: ldloc.s 10 - IL_02a5: ldstr "the argument of 'not' operator" - IL_02aa: ldloc.s 9 - IL_02ac: ldloc.s 11 - IL_02ae: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_02b3: unbox.any [mscorlib]System.Boolean - IL_02b8: stloc.s 12 - IL_02ba: ldloc.s 12 - IL_02bc: ldc.i4.0 - IL_02bd: ceq - IL_02bf: box [mscorlib]System.Boolean - IL_02c4: stloc.1 - IL_02c5: br IL_07b8 + // method line 1621 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Task task) cil managed + { + // Method begins at RVA 0x204c8 + // Code size 55 (0x37) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 2000 + IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_000b: ldarg.0 + IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0019: stfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project + IL_001e: ldarg.0 + IL_001f: ldarg.1 + IL_0020: callvirt instance object class NAnt.Core.Element::get_Parent() + IL_0025: isinst NAnt.Core.Target + IL_002a: stfld class NAnt.Core.Target NAnt.Core.BuildEventArgs::_target + IL_002f: ldarg.0 + IL_0030: ldarg.1 + IL_0031: stfld class NAnt.Core.Task NAnt.Core.BuildEventArgs::_task + IL_0036: ret + } // end of method BuildEventArgs::.ctor - IL_02ca: ldnull - IL_02cb: stloc.1 - IL_02cc: br IL_07b8 + // method line 1622 + .method public hidebysig specialname + instance default string get_Message () cil managed + { + // Method begins at RVA 0x20500 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.BuildEventArgs::_message + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02d1: ldarg.0 - IL_02d2: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_02d7: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_02dc: ldc.i4.s 0x10 - IL_02de: bne.un IL_0334 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Message - IL_02e3: nop - IL_02e4: ldarg.0 - IL_02e5: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_02ea: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_02ef: ldarg.0 - IL_02f0: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_02f5: stloc.s 13 - IL_02f7: ldarg.0 - IL_02f8: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_02fd: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0302: ldc.i4.s 0x11 - IL_0304: beq IL_0321 + // method line 1623 + .method public hidebysig specialname + instance default void set_Message (string 'value') cil managed + { + // Method begins at RVA 0x2051b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.BuildEventArgs::_message + IL_0008: ret + } // end of method BuildEventArgs::set_Message - IL_0309: nop - IL_030a: ldarg.0 - IL_030b: ldstr "')' expected." - IL_0310: ldarg.0 - IL_0311: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0316: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_031b: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0320: throw - IL_0321: ldarg.0 - IL_0322: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0327: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_032c: ldloc.s 13 - IL_032e: stloc.1 - IL_032f: br IL_07b8 - - IL_0334: ldarg.0 - IL_0335: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_033a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_033f: ldc.i4.4 - IL_0340: bne.un IL_07ac + // method line 1624 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Level get_MessageLevel () cil managed + { + // Method begins at RVA 0x20528 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.Level V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0345: nop - IL_0346: ldarg.0 - IL_0347: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_034c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0351: stloc.s 14 - IL_0353: ldarg.0 - IL_0354: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0359: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_035e: stloc.s 15 - IL_0360: ldloc.s 15 - IL_0362: ldstr "if" - IL_0367: call bool string::op_Equality(string, string) - IL_036c: brfalse IL_037e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_MessageLevel - IL_0371: nop - IL_0372: ldarg.0 - IL_0373: call instance object class NAnt.Core.ExpressionEvalBase::ParseConditional() - IL_0378: stloc.1 - IL_0379: br IL_07b8 + // method line 1625 + .method public hidebysig specialname + instance default void set_MessageLevel (valuetype NAnt.Core.Level 'value') cil managed + { + // Method begins at RVA 0x20543 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_0008: ret + } // end of method BuildEventArgs::set_MessageLevel - IL_037e: ldloc.s 15 - IL_0380: ldstr "true" - IL_0385: call bool string::op_Equality(string, string) - IL_038a: brfalse IL_03a7 + // method line 1626 + .method public hidebysig specialname + instance default class [mscorlib]System.Exception get_Exception () cil managed + { + // Method begins at RVA 0x20550 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Exception V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Exception NAnt.Core.BuildEventArgs::_exception + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_038f: nop - IL_0390: ldarg.0 - IL_0391: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0396: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_039b: ldc.i4.1 - IL_039c: box [mscorlib]System.Boolean - IL_03a1: stloc.1 - IL_03a2: br IL_07b8 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Exception - IL_03a7: ldloc.s 15 - IL_03a9: ldstr "false" - IL_03ae: call bool string::op_Equality(string, string) - IL_03b3: brfalse IL_03d0 + // method line 1627 + .method public hidebysig specialname + instance default void set_Exception (class [mscorlib]System.Exception 'value') cil managed + { + // Method begins at RVA 0x2056b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.Exception NAnt.Core.BuildEventArgs::_exception + IL_0008: ret + } // end of method BuildEventArgs::set_Exception - IL_03b8: nop - IL_03b9: ldarg.0 - IL_03ba: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_03bf: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_03c4: ldc.i4.0 - IL_03c5: box [mscorlib]System.Boolean - IL_03ca: stloc.1 - IL_03cb: br IL_07b8 + // method line 1628 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed + { + // Method begins at RVA 0x20578 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Project V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_03d0: ldarg.0 - IL_03d1: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_03d6: ldc.i4.0 - IL_03d7: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) - IL_03dc: ldarg.0 - IL_03dd: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_03e2: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_03e7: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_03ec: stloc.s 16 - IL_03ee: ldc.i4.0 - IL_03ef: stloc.s 17 - IL_03f1: ldarg.0 - IL_03f2: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_03f7: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_03fc: ldc.i4.s 0x1a - IL_03fe: bne.un IL_0470 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Project - IL_0403: nop - IL_0404: ldc.i4.1 - IL_0405: stloc.s 17 - IL_0407: ldloc.s 15 - IL_0409: ldstr "::" - IL_040e: call string string::Concat(string, string) - IL_0413: stloc.s 15 - IL_0415: ldarg.0 - IL_0416: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_041b: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0420: ldarg.0 - IL_0421: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0426: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_042b: ldc.i4.4 - IL_042c: beq IL_044b + // method line 1629 + .method public hidebysig specialname + instance default class NAnt.Core.Target get_Target () cil managed + { + // Method begins at RVA 0x20594 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Target V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Target NAnt.Core.BuildEventArgs::_target + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0431: nop - IL_0432: ldarg.0 - IL_0433: ldstr "Function name expected." - IL_0438: ldloc.s 14 - IL_043a: ldarg.0 - IL_043b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0440: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0445: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_044a: throw - IL_044b: ldloc.s 15 - IL_044d: ldarg.0 - IL_044e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0453: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_0458: call string string::Concat(string, string) - IL_045d: stloc.s 15 - IL_045f: ldarg.0 - IL_0460: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0465: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_046a: nop - IL_046b: br IL_04de + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Target - IL_0470: nop - IL_0471: br IL_0497 + // method line 1630 + .method public hidebysig specialname + instance default class NAnt.Core.Task get_Task () cil managed + { + // Method begins at RVA 0x205b0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Task V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Task NAnt.Core.BuildEventArgs::_task + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0476: nop - IL_0477: ldloc.s 15 - IL_0479: ldarg.0 - IL_047a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_047f: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_0484: call string string::Concat(string, string) - IL_0489: stloc.s 15 - IL_048b: ldarg.0 - IL_048c: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0491: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0496: nop - IL_0497: ldarg.0 - IL_0498: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_049d: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_04a2: ldc.i4.s 0x19 - IL_04a4: beq IL_0476 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Task - IL_04a9: ldarg.0 - IL_04aa: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_04af: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_04b4: ldc.i4.s 0x0c - IL_04b6: beq IL_0476 + .property instance string Message () + { + .get instance default string NAnt.Core.BuildEventArgs::get_Message () + .set instance default void NAnt.Core.BuildEventArgs::set_Message (string 'value') + } + .property instance valuetype NAnt.Core.Level MessageLevel () + { + .get instance default valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::get_MessageLevel () + .set instance default void NAnt.Core.BuildEventArgs::set_MessageLevel (valuetype NAnt.Core.Level 'value') + } + .property instance class [mscorlib]System.Exception Exception () + { + .get instance default class [mscorlib]System.Exception NAnt.Core.BuildEventArgs::get_Exception () + .set instance default void NAnt.Core.BuildEventArgs::set_Exception (class [mscorlib]System.Exception 'value') + } + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.BuildEventArgs::get_Project () + } + .property instance class NAnt.Core.Target Target () + { + .get instance default class NAnt.Core.Target NAnt.Core.BuildEventArgs::get_Target () + } + .property instance class NAnt.Core.Task Task () + { + .get instance default class NAnt.Core.Task NAnt.Core.BuildEventArgs::get_Task () + } + } // end of class NAnt.Core.BuildEventArgs +} - IL_04bb: ldarg.0 - IL_04bc: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_04c1: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_04c6: ldc.i4.4 - IL_04c7: beq IL_0476 +.namespace NAnt.Core +{ + .class public auto ansi sealed BuildEventHandler + extends [mscorlib]System.MulticastDelegate + { - IL_04cc: ldarg.0 - IL_04cd: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_04d2: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_04d7: ldc.i4.2 - IL_04d8: beq IL_0476 + // method line 1631 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method BuildEventHandler::.ctor - IL_04dd: nop - IL_04de: ldarg.0 - IL_04df: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_04e4: ldc.i4.1 - IL_04e5: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) - IL_04ea: ldarg.0 - IL_04eb: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_04f0: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_04f5: ldc.i4.s 0x16 - IL_04f7: bne.un IL_0509 + // method line 1632 + .method public virtual hidebysig newslot + instance default void Invoke (object sender, class NAnt.Core.BuildEventArgs e) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method BuildEventHandler::Invoke - IL_04fc: nop - IL_04fd: ldarg.0 - IL_04fe: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0503: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0508: nop - IL_0509: ldnull - IL_050a: stloc.s 18 - IL_050c: ldloc.s 17 - IL_050e: brfalse IL_0729 + // method line 1633 + .method public virtual hidebysig newslot + instance default class [mscorlib]System.IAsyncResult BeginInvoke (object sender, class NAnt.Core.BuildEventArgs e, class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method BuildEventHandler::BeginInvoke - IL_0513: nop - IL_0514: ldarg.0 - IL_0515: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_051a: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_051f: ldc.i4.s 0x10 - IL_0521: beq IL_053e + // method line 1634 + .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 BuildEventHandler::EndInvoke - IL_0526: nop - IL_0527: ldarg.0 - IL_0528: ldstr "'(' expected." - IL_052d: ldarg.0 - IL_052e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0533: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0538: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_053d: throw - IL_053e: ldarg.0 - IL_053f: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0544: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0549: ldc.i4.0 - IL_054a: stloc.s 19 - IL_054c: br IL_05dd + } // end of class NAnt.Core.BuildEventHandler +} - IL_0551: nop - IL_0552: ldarg.0 - IL_0553: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0558: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_055d: stloc.s 20 - IL_055f: ldarg.0 - IL_0560: call instance object class NAnt.Core.ExpressionEvalBase::ParseExpression() - IL_0565: stloc.s 21 - IL_0567: ldarg.0 - IL_0568: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_056d: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0572: stloc.s 22 - IL_0574: ldloc.s 16 - IL_0576: ldloc.s 15 - IL_0578: ldloc.s 19 - IL_057a: ldloc.s 21 - IL_057c: ldloc.s 20 - IL_057e: ldloc.s 22 - IL_0580: newobj instance void class NAnt.Core.Extensibility.FunctionArgument::'.ctor'(string, int32, object, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0585: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_058a: pop - IL_058b: ldloc.s 19 - IL_058d: ldc.i4.1 - IL_058e: add - IL_058f: stloc.s 19 - IL_0591: ldarg.0 - IL_0592: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0597: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_059c: ldc.i4.s 0x11 - IL_059e: bne.un IL_05a8 +.namespace NAnt.Core +{ + .class interface public auto ansi abstract IBuildListener + { - IL_05a3: br IL_0600 + // method line 1635 + .method public virtual hidebysig newslot abstract + instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildListener::BuildStarted - IL_05a8: ldarg.0 - IL_05a9: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_05ae: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_05b3: ldc.i4.s 0x18 - IL_05b5: beq IL_05d1 + // method line 1636 + .method public virtual hidebysig newslot abstract + instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildListener::BuildFinished - IL_05ba: ldarg.0 - IL_05bb: ldstr "',' expected." - IL_05c0: ldarg.0 - IL_05c1: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_05c6: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_05cb: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_05d0: throw - IL_05d1: ldarg.0 - IL_05d2: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_05d7: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_05dc: nop - IL_05dd: ldarg.0 - IL_05de: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_05e3: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_05e8: ldc.i4.s 0x11 - IL_05ea: beq IL_0600 + // method line 1637 + .method public virtual hidebysig newslot abstract + instance default void TargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildListener::TargetStarted - IL_05ef: ldarg.0 - IL_05f0: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_05f5: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_05fa: ldc.i4.1 - IL_05fb: bne.un IL_0551 + // method line 1638 + .method public virtual hidebysig newslot abstract + instance default void TargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildListener::TargetFinished - IL_0600: ldarg.0 - IL_0601: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0606: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_060b: ldc.i4.s 0x11 - IL_060d: beq IL_062a + // method line 1639 + .method public virtual hidebysig newslot abstract + instance default void TaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildListener::TaskStarted - IL_0612: nop - IL_0613: ldarg.0 - IL_0614: ldstr "')' expected." - IL_0619: ldarg.0 - IL_061a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_061f: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0624: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0629: throw - IL_062a: ldarg.0 - IL_062b: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0630: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0635: ldarg.0 - IL_0636: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_063b: brtrue IL_0728 + // method line 1640 + .method public virtual hidebysig newslot abstract + instance default void TaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildListener::TaskFinished - IL_0640: nop - IL_0641: ldloc.s 16 - IL_0643: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0648: newarr NAnt.Core.Extensibility.FunctionArgument - IL_064d: stloc.s 23 - IL_064f: ldloc.s 16 - IL_0651: ldc.i4.0 - IL_0652: ldloc.s 23 - IL_0654: ldc.i4.0 - IL_0655: ldloc.s 16 - IL_0657: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_065c: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(int32, class [mscorlib]System.Array, int32, int32) - .try { // 3 - IL_0661: nop - IL_0662: ldloc.s 15 - IL_0664: ldloc.s 23 - IL_0666: ldarg.0 - IL_0667: call instance class NAnt.Core.Project class NAnt.Core.ExpressionEvalBase::get_Project() - IL_066c: call class [mscorlib]System.Reflection.MethodInfo class NAnt.Core.TypeFactory::LookupFunction(string, class NAnt.Core.Extensibility.FunctionArgument[], class NAnt.Core.Project) - IL_0671: stloc.s 18 - IL_0673: nop - IL_0674: leave IL_0697 + // method line 1641 + .method public virtual hidebysig newslot abstract + instance default void MessageLogged (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildListener::MessageLogged - } // end .try 3 - catch class NAnt.Core.BuildException { // 3 - IL_0679: stloc.s 24 - IL_067b: nop - IL_067c: ldarg.0 - IL_067d: ldloc.s 24 - IL_067f: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0684: ldloc.s 14 - IL_0686: ldarg.0 - IL_0687: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_068c: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0691: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0696: throw - } // end handler 3 - IL_0697: ldloc.s 18 - IL_0699: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_069e: stloc.s 25 - IL_06a0: ldloc.s 16 - IL_06a2: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() - IL_06a7: ldc.i4.0 - IL_06a8: stloc.s 26 - IL_06aa: br IL_071c + } // end of class NAnt.Core.IBuildListener +} - IL_06af: nop - IL_06b0: ldloc.s 23 - IL_06b2: ldloc.s 26 - IL_06b4: ldelem.ref - IL_06b5: stloc.s 27 - IL_06b7: ldloc.s 25 - IL_06b9: ldloc.s 26 - IL_06bb: ldelem.ref - IL_06bc: stloc.s 28 - IL_06be: ldarg.0 - IL_06bf: ldloc.s 28 - IL_06c1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_06c6: ldloc.s 27 - IL_06c8: callvirt instance object class NAnt.Core.Extensibility.FunctionArgument::get_Value() - IL_06cd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_06d2: ldstr "argument {1} ({0}) of {2}()" - IL_06d7: ldloc.s 28 - IL_06d9: callvirt instance string class [mscorlib]System.Reflection.ParameterInfo::get_Name() - IL_06de: ldloc.s 27 - IL_06e0: callvirt instance int32 class NAnt.Core.Extensibility.FunctionArgument::get_Index() - IL_06e5: box [mscorlib]System.Int32 - IL_06ea: ldloc.s 27 - IL_06ec: callvirt instance string class NAnt.Core.Extensibility.FunctionArgument::get_Name() - IL_06f1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_06f6: ldloc.s 27 - IL_06f8: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.Extensibility.FunctionArgument::get_BeforeArgument() - IL_06fd: ldloc.s 27 - IL_06ff: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.Extensibility.FunctionArgument::get_AfterArgument() - IL_0704: call instance object class NAnt.Core.ExpressionEvalBase::SafeConvert(class [mscorlib]System.Type, object, string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0709: stloc.s 29 - IL_070b: ldloc.s 16 - IL_070d: ldloc.s 29 - IL_070f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0714: pop - IL_0715: nop - IL_0716: ldloc.s 26 - IL_0718: ldc.i4.1 - IL_0719: add - IL_071a: stloc.s 26 - IL_071c: ldloc.s 26 - IL_071e: ldloc.s 23 - IL_0720: ldlen - IL_0721: conv.i4 - IL_0722: blt IL_06af +.namespace NAnt.Core +{ + .class interface public auto ansi abstract IBuildLogger + implements NAnt.Core.IBuildListener { - IL_0727: nop - IL_0728: nop - .try { // 4 - IL_0729: nop - IL_072a: ldarg.0 - IL_072b: call instance bool class NAnt.Core.ExpressionEvalBase::SyntaxCheckOnly() - IL_0730: brtrue IL_0762 + // method line 1642 + .method public virtual hidebysig newslot abstract specialname + instance default valuetype NAnt.Core.Level get_Threshold () cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::get_Threshold - IL_0735: nop - IL_0736: ldloc.s 17 - IL_0738: brfalse IL_0753 + // method line 1643 + .method public virtual hidebysig newslot abstract specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::set_Threshold - IL_073d: nop - IL_073e: ldarg.0 - IL_073f: ldloc.s 18 - IL_0741: ldloc.s 16 - IL_0743: callvirt instance object[] class [mscorlib]System.Collections.ArrayList::ToArray() - IL_0748: callvirt instance object class NAnt.Core.ExpressionEvalBase::EvaluateFunction(class [mscorlib]System.Reflection.MethodInfo, object[]) - IL_074d: stloc.1 - IL_074e: leave IL_07b8 + // method line 1644 + .method public virtual hidebysig newslot abstract specialname + instance default bool get_EmacsMode () cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::get_EmacsMode - IL_0753: nop - IL_0754: ldarg.0 - IL_0755: ldloc.s 15 - IL_0757: callvirt instance object class NAnt.Core.ExpressionEvalBase::EvaluateProperty(string) - IL_075c: stloc.1 - IL_075d: leave IL_07b8 + // method line 1645 + .method public virtual hidebysig newslot abstract specialname + instance default void set_EmacsMode (bool 'value') cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::set_EmacsMode - IL_0762: nop - IL_0763: ldnull - IL_0764: stloc.1 - IL_0765: leave IL_07b8 + // method line 1646 + .method public virtual hidebysig newslot abstract specialname + instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::get_OutputWriter - } // end .try 4 - catch class [mscorlib]System.Exception { // 4 - IL_076a: stloc.s 30 - IL_076c: nop - IL_076d: ldloc.s 17 - IL_076f: brfalse IL_0790 + // method line 1647 + .method public virtual hidebysig newslot abstract specialname + instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::set_OutputWriter - IL_0774: nop - IL_0775: ldarg.0 - IL_0776: ldstr "Function call failed." - IL_077b: ldloc.s 14 - IL_077d: ldarg.0 - IL_077e: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0783: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_0788: ldloc.s 30 - IL_078a: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position, class [mscorlib]System.Exception) - IL_078f: throw - IL_0790: nop - IL_0791: ldarg.0 - IL_0792: ldstr "Property evaluation failed." - IL_0797: ldloc.s 14 - IL_0799: ldarg.0 - IL_079a: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_079f: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_07a4: ldloc.s 30 - IL_07a6: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position, class [mscorlib]System.Exception) - IL_07ab: throw - } // end handler 4 - IL_07ac: ldarg.0 - IL_07ad: callvirt instance object class NAnt.Core.ExpressionEvalBase::UnexpectedToken() - IL_07b2: stloc.1 - IL_07b3: br IL_07b8 + // method line 1648 + .method public virtual hidebysig newslot abstract + instance default void Flush () cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::Flush - IL_07b8: ldloc.1 - IL_07b9: ret - } // end of method ExpressionEvalBase::ParseValue + .property instance valuetype NAnt.Core.Level Threshold () + { + .get instance default valuetype NAnt.Core.Level NAnt.Core.IBuildLogger::get_Threshold () + .set instance default void NAnt.Core.IBuildLogger::set_Threshold (valuetype NAnt.Core.Level 'value') + } + .property instance bool EmacsMode () + { + .get instance default bool NAnt.Core.IBuildLogger::get_EmacsMode () + .set instance default void NAnt.Core.IBuildLogger::set_EmacsMode (bool 'value') + } + .property instance class [mscorlib]System.IO.TextWriter OutputWriter () + { + .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.IBuildLogger::get_OutputWriter () + .set instance default void NAnt.Core.IBuildLogger::set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') + } + } // end of class NAnt.Core.IBuildLogger +} - // method line 1692 - .method family hidebysig - instance default class NAnt.Core.ExpressionParseException BuildParseError (string desc, valuetype NAnt.Core.ExpressionTokenizer/Position p0) cil managed +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit DefaultLogger + extends [mscorlib]System.Object + implements NAnt.Core.IBuildLogger, NAnt.Core.IBuildListener { + .field private valuetype NAnt.Core.Level _threshold + .field private class [mscorlib]System.IO.TextWriter _outputWriter + .field private bool _emacsMode + .field private initonly class [mscorlib]System.Collections.Stack _buildReports + + // method line 1649 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x222c0 - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0x205cb + // Code size 30 (0x1e) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4 3000 + IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.DefaultLogger::_threshold + IL_000b: ldarg.0 + IL_000c: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_0011: stfld class [mscorlib]System.Collections.Stack NAnt.Core.DefaultLogger::_buildReports + IL_0016: ldarg.0 + IL_0017: call instance void object::'.ctor'() + IL_001c: nop + IL_001d: ret + } // end of method DefaultLogger::.ctor + + // method line 1650 + .method public virtual hidebysig newslot specialname + instance default valuetype NAnt.Core.Level get_Threshold () cil managed + { + // Method begins at RVA 0x205ec + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.ExpressionParseException V_0) + valuetype NAnt.Core.Level V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarga.s 2 - IL_0004: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_0009: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32) - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.DefaultLogger::_threshold + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0014: ldloc.0 - IL_0015: ret - } // end of method ExpressionEvalBase::BuildParseError + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DefaultLogger::get_Threshold - // method line 1693 - .method family hidebysig - instance default class NAnt.Core.ExpressionParseException BuildParseError (string desc, valuetype NAnt.Core.ExpressionTokenizer/Position p0, valuetype NAnt.Core.ExpressionTokenizer/Position p1) cil managed + // method line 1651 + .method public virtual hidebysig newslot specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed { - // Method begins at RVA 0x222e4 - // Code size 29 (0x1d) - .maxstack 3 - .locals init ( - class NAnt.Core.ExpressionParseException V_0) + // Method begins at RVA 0x20607 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarga.s 2 - IL_0004: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_0009: ldarga.s 3 - IL_000b: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_0010: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32, int32) - IL_0015: stloc.0 - IL_0016: br IL_001b - - IL_001b: ldloc.0 - IL_001c: ret - } // end of method ExpressionEvalBase::BuildParseError + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.DefaultLogger::_threshold + IL_0008: ret + } // end of method DefaultLogger::set_Threshold - // method line 1694 - .method family hidebysig - instance default class NAnt.Core.ExpressionParseException BuildParseError (string desc, valuetype NAnt.Core.ExpressionTokenizer/Position p0, valuetype NAnt.Core.ExpressionTokenizer/Position p1, class [mscorlib]System.Exception ex) cil managed + // method line 1652 + .method public virtual hidebysig newslot specialname + instance default bool get_EmacsMode () cil managed { - // Method begins at RVA 0x22310 - // Code size 31 (0x1f) - .maxstack 4 + // Method begins at RVA 0x20614 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.ExpressionParseException V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarga.s 2 - IL_0004: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_0009: ldarga.s 3 - IL_000b: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_0010: ldarg.s 4 - IL_0012: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32, int32, class [mscorlib]System.Exception) - IL_0017: stloc.0 - IL_0018: br IL_001d + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.DefaultLogger::_emacsMode + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001d: ldloc.0 - IL_001e: ret - } // end of method ExpressionEvalBase::BuildParseError + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DefaultLogger::get_EmacsMode - // method line 1695 - .method family hidebysig - instance default object SafeConvert (class [mscorlib]System.Type returnType, object source, string description, valuetype NAnt.Core.ExpressionTokenizer/Position p0, valuetype NAnt.Core.ExpressionTokenizer/Position p1) cil managed + // method line 1653 + .method public virtual hidebysig newslot specialname + instance default void set_EmacsMode (bool 'value') cil managed { - // Method begins at RVA 0x2233c - // Code size 787 (0x313) - .maxstack 7 - .locals init ( - bool V_0, - object V_1, - string V_2, - string[] V_3, - class [mscorlib]System.Text.StringBuilder V_4, - int32 V_5, - string V_6, - class [mscorlib]System.Exception V_7) + // Method begins at RVA 0x2062f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldc.i4.0 - IL_0003: stloc.0 - IL_0004: ldarg.2 - IL_0005: brtrue IL_0053 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.DefaultLogger::_emacsMode + IL_0008: ret + } // end of method DefaultLogger::set_EmacsMode - IL_000a: nop - IL_000b: ldarg.1 - IL_000c: ldtoken [mscorlib]System.String - 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_002c + // method line 1654 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed + { + // Method begins at RVA 0x2063c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.TextWriter V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.DefaultLogger::_outputWriter + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0020: nop - IL_0021: ldsfld string [mscorlib]System.String::Empty - IL_0026: stloc.1 - IL_0027: leave IL_0311 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DefaultLogger::get_OutputWriter - IL_002c: ldarg.0 - IL_002d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0032: ldstr "NA1045" - IL_0037: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_003c: ldarg.3 - IL_003d: ldarg.0 - IL_003e: ldarg.1 - IL_003f: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0044: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0049: ldarg.s 4 - IL_004b: ldarg.s 5 - IL_004d: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0052: throw - IL_0053: ldarg.2 - IL_0054: isinst [mscorlib]System.Boolean - IL_0059: brfalse IL_008e + // method line 1655 + .method public virtual hidebysig newslot specialname + instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + { + // Method begins at RVA 0x20657 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.DefaultLogger::_outputWriter + IL_0008: ret + } // end of method DefaultLogger::set_OutputWriter - IL_005e: nop - IL_005f: ldarg.1 - IL_0060: ldtoken [mscorlib]System.String - 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_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_006f: brfalse IL_008d + // method line 1656 + .method public virtual hidebysig newslot + instance default void Flush () cil managed + { + // Method begins at RVA 0x20661 + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.DefaultLogger::get_OutputWriter() + IL_0007: brfalse IL_0019 - IL_0074: ldarg.1 - IL_0075: ldtoken [mscorlib]System.Boolean - IL_007a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_007f: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0084: brfalse IL_008d + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.DefaultLogger::get_OutputWriter() + IL_0013: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_0018: nop + IL_0019: ret + } // end of method DefaultLogger::Flush - IL_0089: nop - IL_008a: ldc.i4.1 - IL_008b: stloc.0 - IL_008c: nop - IL_008d: nop - IL_008e: ldarg.1 - IL_008f: ldtoken [mscorlib]System.Boolean - IL_0094: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0099: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_009e: brfalse IL_00bf + // method line 1657 + .method public virtual hidebysig newslot + instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x2067c + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.DefaultLogger::_buildReports + IL_0007: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_000c: newobj instance void class NAnt.Core.BuildReport::'.ctor'(valuetype [mscorlib]System.DateTime) + IL_0011: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_0016: ret + } // end of method DefaultLogger::BuildStarted - IL_00a3: nop - IL_00a4: ldarg.2 - IL_00a5: isinst [mscorlib]System.String - IL_00aa: brtrue IL_00be + // method line 1658 + .method public virtual hidebysig newslot + instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x20694 + // Code size 708 (0x2c4) + .maxstack 6 + .locals init ( + class [mscorlib]System.Exception V_0, + int32 V_1, + class NAnt.Core.BuildReport V_2, + class [mscorlib]System.Exception V_3, + int32 V_4, + int32 V_5, + valuetype [mscorlib]System.TimeSpan V_6) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: callvirt instance class [mscorlib]System.Exception class NAnt.Core.BuildEventArgs::get_Exception() + IL_0007: stloc.0 + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + IL_000a: ldarg.2 + IL_000b: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0010: brfalse IL_002f - IL_00af: ldarg.2 - IL_00b0: isinst [mscorlib]System.Boolean - IL_00b5: brtrue IL_00be + IL_0015: nop + IL_0016: ldarg.2 + IL_0017: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_001c: callvirt instance int32 class NAnt.Core.Project::get_IndentationLevel() + IL_0021: ldarg.2 + IL_0022: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0027: callvirt instance int32 class NAnt.Core.Project::get_IndentationSize() + IL_002c: mul + IL_002d: stloc.1 + IL_002e: nop + IL_002f: ldarg.0 + IL_0030: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.DefaultLogger::_buildReports + IL_0035: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_003a: castclass NAnt.Core.BuildReport + IL_003f: stloc.2 + IL_0040: ldloc.0 + IL_0041: brtrue IL_00d5 - IL_00ba: nop - IL_00bb: ldc.i4.1 - IL_00bc: stloc.0 - IL_00bd: nop - IL_00be: nop - IL_00bf: ldarg.2 - IL_00c0: isinst [mscorlib]System.DateTime - IL_00c5: brfalse IL_00fa + IL_0046: nop + IL_0047: ldarg.0 + IL_0048: ldc.i4 3000 + IL_004d: ldsfld string [mscorlib]System.String::Empty + IL_0052: ldloc.1 + IL_0053: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_0058: ldloc.2 + IL_0059: ldfld int32 NAnt.Core.BuildReport::Errors + IL_005e: brtrue IL_0086 - IL_00ca: nop - IL_00cb: ldarg.1 - IL_00cc: ldtoken [mscorlib]System.String - IL_00d1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00d6: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00db: brfalse IL_00f9 + IL_0063: ldloc.2 + IL_0064: ldfld int32 NAnt.Core.BuildReport::Warnings + IL_0069: brtrue IL_0086 - IL_00e0: ldarg.1 - IL_00e1: ldtoken [mscorlib]System.DateTime - IL_00e6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00eb: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00f0: brfalse IL_00f9 + IL_006e: nop + IL_006f: ldarg.0 + IL_0070: ldc.i4 3000 + IL_0075: ldstr "BUILD SUCCEEDED" + IL_007a: ldloc.1 + IL_007b: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_0080: nop + IL_0081: br IL_00be - IL_00f5: nop - IL_00f6: ldc.i4.1 - IL_00f7: stloc.0 - IL_00f8: nop - IL_00f9: nop - IL_00fa: ldarg.1 - IL_00fb: ldtoken [mscorlib]System.DateTime - IL_0100: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0105: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_010a: brfalse IL_012b + IL_0086: nop + IL_0087: ldarg.0 + IL_0088: ldc.i4 3000 + IL_008d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0092: ldstr "String_BuildSucceeded" + IL_0097: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009c: ldloc.2 + IL_009d: ldfld int32 NAnt.Core.BuildReport::Errors + IL_00a2: box [mscorlib]System.Int32 + IL_00a7: ldloc.2 + IL_00a8: ldfld int32 NAnt.Core.BuildReport::Warnings + IL_00ad: box [mscorlib]System.Int32 + IL_00b2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00b7: ldloc.1 + IL_00b8: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_00bd: nop + IL_00be: ldarg.0 + IL_00bf: ldc.i4 3000 + IL_00c4: ldsfld string [mscorlib]System.String::Empty + IL_00c9: ldloc.1 + IL_00ca: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_00cf: nop + IL_00d0: br IL_026f - IL_010f: nop - IL_0110: ldarg.2 - IL_0111: isinst [mscorlib]System.DateTime - IL_0116: brtrue IL_012a + IL_00d5: nop + IL_00d6: ldarg.0 + IL_00d7: ldc.i4 5000 + IL_00dc: ldsfld string [mscorlib]System.String::Empty + IL_00e1: ldloc.1 + IL_00e2: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_00e7: ldloc.2 + IL_00e8: ldfld int32 NAnt.Core.BuildReport::Errors + IL_00ed: brtrue IL_0115 - IL_011b: ldarg.2 - IL_011c: isinst [mscorlib]System.String - IL_0121: brtrue IL_012a + IL_00f2: ldloc.2 + IL_00f3: ldfld int32 NAnt.Core.BuildReport::Warnings + IL_00f8: brtrue IL_0115 - IL_0126: nop - IL_0127: ldc.i4.1 - IL_0128: stloc.0 - IL_0129: nop - IL_012a: nop - IL_012b: ldarg.2 - IL_012c: isinst [mscorlib]System.TimeSpan - IL_0131: brfalse IL_014f + IL_00fd: nop + IL_00fe: ldarg.0 + IL_00ff: ldc.i4 5000 + IL_0104: ldstr "BUILD FAILED" + IL_0109: ldloc.1 + IL_010a: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_010f: nop + IL_0110: br IL_014d - IL_0136: ldarg.1 - IL_0137: ldtoken [mscorlib]System.TimeSpan - IL_013c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0141: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0146: brfalse IL_014f + IL_0115: nop + IL_0116: ldarg.0 + IL_0117: ldc.i4 3000 + IL_011c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0121: ldstr "String_BuildFailed" + IL_0126: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_012b: ldloc.2 + IL_012c: ldfld int32 NAnt.Core.BuildReport::Errors + IL_0131: box [mscorlib]System.Int32 + IL_0136: ldloc.2 + IL_0137: ldfld int32 NAnt.Core.BuildReport::Warnings + IL_013c: box [mscorlib]System.Int32 + IL_0141: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0146: ldloc.1 + IL_0147: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_014c: nop + IL_014d: ldarg.0 + IL_014e: ldc.i4 5000 + IL_0153: ldsfld string [mscorlib]System.String::Empty + IL_0158: ldloc.1 + IL_0159: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_015e: ldloc.0 + IL_015f: isinst NAnt.Core.BuildException + IL_0164: brfalse IL_0205 - IL_014b: nop - IL_014c: ldc.i4.1 - IL_014d: stloc.0 - IL_014e: nop - IL_014f: ldarg.1 - IL_0150: ldtoken [mscorlib]System.TimeSpan - IL_0155: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_015a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_015f: brfalse IL_0173 + IL_0169: nop + IL_016a: ldarg.0 + IL_016b: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.DefaultLogger::get_Threshold() + IL_0170: ldc.i4 2000 + IL_0175: bgt IL_0193 - IL_0164: ldarg.2 - IL_0165: isinst [mscorlib]System.TimeSpan - IL_016a: brtrue IL_0173 + IL_017a: nop + IL_017b: ldarg.0 + IL_017c: ldc.i4 5000 + IL_0181: ldloc.0 + IL_0182: callvirt instance string object::ToString() + IL_0187: ldloc.1 + IL_0188: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_018d: nop + IL_018e: br IL_01ff - IL_016f: nop - IL_0170: ldc.i4.1 - IL_0171: stloc.0 - IL_0172: nop - IL_0173: ldarg.1 - IL_0174: ldtoken [mscorlib]System.String - IL_0179: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_017e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0183: brfalse IL_01c4 + IL_0193: nop + IL_0194: ldloc.0 + IL_0195: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_019a: brfalse IL_01b3 - IL_0188: nop - IL_0189: ldarg.2 - IL_018a: isinst [mscorlib]System.IO.DirectoryInfo - IL_018f: brfalse IL_01a6 + IL_019f: nop + IL_01a0: ldarg.0 + IL_01a1: ldc.i4 5000 + IL_01a6: ldloc.0 + IL_01a7: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_01ac: ldloc.1 + IL_01ad: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_01b2: nop + IL_01b3: ldloc.0 + IL_01b4: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_01b9: stloc.3 + IL_01ba: ldloc.1 + IL_01bb: stloc.s 4 + IL_01bd: ldc.i4.4 + IL_01be: stloc.s 5 + IL_01c0: br IL_01e8 - IL_0194: nop - IL_0195: ldarg.2 - IL_0196: castclass [mscorlib]System.IO.DirectoryInfo - IL_019b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01a0: stloc.1 - IL_01a1: leave IL_0311 + IL_01c5: nop + IL_01c6: ldloc.s 4 + IL_01c8: ldloc.s 5 + IL_01ca: add + IL_01cb: stloc.s 4 + IL_01cd: ldarg.0 + IL_01ce: ldc.i4 5000 + IL_01d3: ldloc.3 + IL_01d4: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_01d9: ldloc.s 4 + IL_01db: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_01e0: ldloc.3 + IL_01e1: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_01e6: stloc.3 + IL_01e7: nop + IL_01e8: ldloc.3 + IL_01e9: brfalse IL_01fe - IL_01a6: ldarg.2 - IL_01a7: isinst [mscorlib]System.IO.FileInfo - IL_01ac: brfalse IL_01c3 + IL_01ee: ldloc.3 + IL_01ef: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_01f4: call bool string::IsNullOrEmpty(string) + IL_01f9: brfalse IL_01c5 - IL_01b1: nop - IL_01b2: ldarg.2 - IL_01b3: castclass [mscorlib]System.IO.FileInfo - IL_01b8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01bd: stloc.1 - IL_01be: leave IL_0311 + IL_01fe: nop + IL_01ff: nop + IL_0200: br IL_025d - IL_01c3: nop - IL_01c4: ldarg.1 - IL_01c5: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_01ca: brfalse IL_027b + IL_0205: nop + IL_0206: ldarg.0 + IL_0207: ldc.i4 5000 + IL_020c: ldstr "INTERNAL ERROR" + IL_0211: ldloc.1 + IL_0212: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_0217: ldarg.0 + IL_0218: ldc.i4 5000 + IL_021d: ldsfld string [mscorlib]System.String::Empty + IL_0222: ldloc.1 + IL_0223: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_0228: ldarg.0 + IL_0229: ldc.i4 5000 + IL_022e: ldloc.0 + IL_022f: callvirt instance string object::ToString() + IL_0234: ldloc.1 + IL_0235: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_023a: ldarg.0 + IL_023b: ldc.i4 5000 + IL_0240: ldsfld string [mscorlib]System.String::Empty + IL_0245: ldloc.1 + IL_0246: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_024b: ldarg.0 + IL_024c: ldc.i4 5000 + IL_0251: ldstr "Please send bug report to nant-developers@lists.sourceforge.net." + IL_0256: ldloc.1 + IL_0257: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_025c: nop + IL_025d: ldarg.0 + IL_025e: ldc.i4 5000 + IL_0263: ldsfld string [mscorlib]System.String::Empty + IL_0268: ldloc.1 + IL_0269: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_026e: nop + IL_026f: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0274: ldloc.2 + IL_0275: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.BuildReport::StartTime + IL_027a: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.DateTime::op_Subtraction(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_027f: stloc.s 6 + IL_0281: ldarg.0 + IL_0282: ldc.i4 3000 + IL_0287: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_028c: ldstr "String_TotalTime" + IL_0291: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0296: call string class [mscorlib]System.Environment::get_NewLine() + IL_029b: call string string::Concat(string, string) + IL_02a0: ldloca.s 6 + IL_02a2: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() + IL_02a7: ldc.i4.1 + IL_02a8: call float64 class [mscorlib]System.Math::Round(float64, int32) + IL_02ad: box [mscorlib]System.Double + IL_02b2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_02b7: ldloc.1 + IL_02b8: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_02bd: ldarg.0 + IL_02be: callvirt instance void class NAnt.Core.DefaultLogger::Flush() + IL_02c3: ret + } // end of method DefaultLogger::BuildFinished - IL_01cf: nop - IL_01d0: ldarg.2 - IL_01d1: isinst [mscorlib]System.String - IL_01d6: stloc.2 - IL_01d7: ldloc.2 - IL_01d8: brfalse IL_026d + // method line 1659 + .method public virtual hidebysig newslot + instance default void TargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x20964 + // Code size 126 (0x7e) + .maxstack 5 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldarg.2 + IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0009: brfalse IL_0028 - IL_01dd: nop - IL_01de: ldloc.2 - IL_01df: ldc.i4.2 - IL_01e0: newarr [mscorlib]System.Char - IL_01e5: dup - IL_01e6: ldc.i4.0 - IL_01e7: ldc.i4.s 0x20 - IL_01e9: stelem.i2 - IL_01ea: dup - IL_01eb: ldc.i4.1 - IL_01ec: ldc.i4.s 0x2c - IL_01ee: stelem.i2 - IL_01ef: callvirt instance string[] string::Split(char[]) - IL_01f4: stloc.3 - IL_01f5: ldloc.2 - IL_01f6: callvirt instance int32 string::get_Length() - IL_01fb: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) - IL_0200: stloc.s 4 - IL_0202: ldc.i4.0 - IL_0203: stloc.s 5 - IL_0205: br IL_024f + IL_000e: nop + IL_000f: ldarg.2 + IL_0010: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0015: callvirt instance int32 class NAnt.Core.Project::get_IndentationLevel() + IL_001a: ldarg.2 + IL_001b: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0020: callvirt instance int32 class NAnt.Core.Project::get_IndentationSize() + IL_0025: mul + IL_0026: stloc.0 + IL_0027: nop + IL_0028: ldarg.2 + IL_0029: callvirt instance class NAnt.Core.Target class NAnt.Core.BuildEventArgs::get_Target() + IL_002e: brfalse IL_007d - IL_020a: nop - IL_020b: ldloc.3 - IL_020c: ldloc.s 5 - IL_020e: ldelem.ref - IL_020f: callvirt instance string string::Trim() - IL_0214: stloc.s 6 - IL_0216: ldloc.s 6 - IL_0218: callvirt instance int32 string::get_Length() - IL_021d: brtrue IL_0227 + IL_0033: nop + IL_0034: ldarg.0 + IL_0035: ldc.i4 3000 + IL_003a: ldsfld string [mscorlib]System.String::Empty + IL_003f: ldloc.0 + IL_0040: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_0045: ldarg.0 + IL_0046: ldc.i4 3000 + IL_004b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0050: ldstr "{0}:" + IL_0055: ldarg.2 + IL_0056: callvirt instance class NAnt.Core.Target class NAnt.Core.BuildEventArgs::get_Target() + IL_005b: callvirt instance string class NAnt.Core.Target::get_Name() + IL_0060: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0065: ldloc.0 + IL_0066: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_006b: ldarg.0 + IL_006c: ldc.i4 3000 + IL_0071: ldsfld string [mscorlib]System.String::Empty + IL_0076: ldloc.0 + IL_0077: call instance void class NAnt.Core.DefaultLogger::OutputMessage(valuetype NAnt.Core.Level, string, int32) + IL_007c: nop + IL_007d: ret + } // end of method DefaultLogger::TargetStarted - IL_0222: leave IL_0249 + // method line 1660 + .method public virtual hidebysig newslot + instance default void TargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x209ee + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::TargetFinished - IL_0227: ldloc.s 4 - IL_0229: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_022e: ldc.i4.0 - IL_022f: ble IL_023e + // method line 1661 + .method public virtual hidebysig newslot + instance default void TaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x209f1 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::TaskStarted - IL_0234: ldloc.s 4 - IL_0236: ldc.i4.s 0x2c - IL_0238: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_023d: pop - IL_023e: ldloc.s 4 - IL_0240: ldloc.s 6 - IL_0242: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0247: pop - IL_0248: nop - IL_0249: ldloc.s 5 - IL_024b: ldc.i4.1 - IL_024c: add - IL_024d: stloc.s 5 - IL_024f: ldloc.s 5 - IL_0251: ldloc.3 - IL_0252: ldlen - IL_0253: conv.i4 - IL_0254: blt IL_020a + // method line 1662 + .method public virtual hidebysig newslot + instance default void TaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x209f4 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::TaskFinished - IL_0259: ldarg.1 - IL_025a: ldloc.s 4 - IL_025c: callvirt instance string object::ToString() - IL_0261: ldc.i4.1 - IL_0262: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_0267: stloc.1 - IL_0268: leave IL_0311 + // method line 1663 + .method public virtual hidebysig newslot + instance default void MessageLogged (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x209f8 + // Code size 131 (0x83) + .maxstack 3 + .locals init ( + class NAnt.Core.BuildReport V_0, + class NAnt.Core.BuildReport V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.DefaultLogger::_buildReports + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Stack::get_Count() + IL_000c: ldc.i4.0 + IL_000d: ble IL_007b - IL_026d: nop - IL_026e: ldarg.1 - IL_026f: ldarg.2 - IL_0270: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, object) - IL_0275: stloc.1 - IL_0276: leave IL_0311 + IL_0012: nop + IL_0013: ldarg.2 + IL_0014: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.BuildEventArgs::get_MessageLevel() + IL_0019: ldc.i4 5000 + IL_001e: bne.un IL_0049 - IL_027b: ldloc.0 - IL_027c: brfalse IL_02b0 + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.DefaultLogger::_buildReports + IL_002a: callvirt instance object class [mscorlib]System.Collections.Stack::Peek() + IL_002f: castclass NAnt.Core.BuildReport + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: dup + IL_0037: ldfld int32 NAnt.Core.BuildReport::Errors + IL_003c: ldc.i4.1 + IL_003d: add + IL_003e: stfld int32 NAnt.Core.BuildReport::Errors + IL_0043: nop + IL_0044: br IL_007a - IL_0281: nop - IL_0282: ldarg.0 - IL_0283: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0288: ldstr "Cannot convert {0} to '{1}' (actual type was '{2}')." - IL_028d: ldarg.3 - IL_028e: ldarg.0 - IL_028f: ldarg.1 - IL_0290: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0295: ldarg.0 - IL_0296: ldarg.2 - IL_0297: callvirt instance class [mscorlib]System.Type object::GetType() - IL_029c: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_02a1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_02a6: ldarg.s 4 - IL_02a8: ldarg.s 5 - IL_02aa: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_02af: throw - IL_02b0: ldarg.1 - IL_02b1: ldarg.2 - IL_02b2: callvirt instance class [mscorlib]System.Type object::GetType() - IL_02b7: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_02bc: brfalse IL_02c8 + IL_0049: ldarg.2 + IL_004a: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.BuildEventArgs::get_MessageLevel() + IL_004f: ldc.i4 4000 + IL_0054: bne.un IL_007a - IL_02c1: ldarg.2 - IL_02c2: stloc.1 - IL_02c3: leave IL_0311 + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.DefaultLogger::_buildReports + IL_0060: callvirt instance object class [mscorlib]System.Collections.Stack::Peek() + IL_0065: castclass NAnt.Core.BuildReport + IL_006a: stloc.1 + IL_006b: ldloc.1 + IL_006c: dup + IL_006d: ldfld int32 NAnt.Core.BuildReport::Warnings + IL_0072: ldc.i4.1 + IL_0073: add + IL_0074: stfld int32 NAnt.Core.BuildReport::Warnings + IL_0079: nop + IL_007a: nop + IL_007b: ldarg.0 + IL_007c: ldarg.2 + IL_007d: call instance void class NAnt.Core.DefaultLogger::OutputMessage(class NAnt.Core.BuildEventArgs) + IL_0082: ret + } // end of method DefaultLogger::MessageLogged - IL_02c8: ldarg.2 - IL_02c9: ldarg.1 - IL_02ca: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02cf: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) - IL_02d4: stloc.1 - IL_02d5: leave IL_0311 + // method line 1664 + .method family virtual hidebysig newslot + instance default void Log (string message) cil managed + { + // Method begins at RVA 0x20a87 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::Log - } // end .try 0 - catch class NAnt.Core.ExpressionParseException { // 0 - IL_02da: pop - IL_02db: nop - IL_02dc: rethrow - } // end handler 0 - catch class [mscorlib]System.Exception { // 1 - IL_02de: stloc.s 7 - IL_02e0: nop - IL_02e1: ldarg.0 - IL_02e2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02e7: ldstr "Cannot convert {0} to '{1}' (actual type was '{2}')." - IL_02ec: ldarg.3 - IL_02ed: ldarg.0 - IL_02ee: ldarg.1 - IL_02ef: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_02f4: ldarg.0 - IL_02f5: ldarg.2 - IL_02f6: callvirt instance class [mscorlib]System.Type object::GetType() - IL_02fb: call instance string class NAnt.Core.ExpressionEvalBase::GetSimpleTypeName(class [mscorlib]System.Type) - IL_0300: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0305: ldarg.s 4 - IL_0307: ldarg.s 5 - IL_0309: ldloc.s 7 - IL_030b: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position, valuetype NAnt.Core.ExpressionTokenizer/Position, class [mscorlib]System.Exception) - IL_0310: throw - } // end handler 1 - IL_0311: ldloc.1 - IL_0312: ret - } // end of method ExpressionEvalBase::SafeConvert + // method line 1665 + .method private hidebysig + instance default void OutputMessage (valuetype NAnt.Core.Level messageLevel, string message, int32 indentationLength) cil managed + { + // Method begins at RVA 0x20a8a + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: call class NAnt.Core.BuildEventArgs class NAnt.Core.DefaultLogger::CreateBuildEvent(valuetype NAnt.Core.Level, string) + IL_0009: ldarg.3 + IL_000a: call instance void class NAnt.Core.DefaultLogger::OutputMessage(class NAnt.Core.BuildEventArgs, int32) + IL_000f: ret + } // end of method DefaultLogger::OutputMessage - // method line 1696 - .method family hidebysig - instance default string GetSimpleTypeName (class [mscorlib]System.Type t) cil managed + // method line 1666 + .method private hidebysig + instance default void OutputMessage (class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x22690 - // Code size 247 (0xf7) - .maxstack 2 + // Method begins at RVA 0x20a9c + // Code size 49 (0x31) + .maxstack 3 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldtoken [mscorlib]System.Int32 - IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000c: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0011: brfalse IL_0022 - - IL_0016: nop - IL_0017: ldstr "int" - IL_001c: stloc.0 - IL_001d: br IL_00f5 - - IL_0022: ldarg.1 - IL_0023: ldtoken [mscorlib]System.Int64 - IL_0028: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002d: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0032: brfalse IL_0043 - - IL_0037: nop - IL_0038: ldstr "long" - IL_003d: stloc.0 - IL_003e: br IL_00f5 - - IL_0043: ldarg.1 - IL_0044: ldtoken [mscorlib]System.Double - IL_0049: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_004e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0053: brfalse IL_0064 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldarg.1 + IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0009: brfalse IL_0028 - IL_0058: nop - IL_0059: ldstr "double" - IL_005e: stloc.0 - IL_005f: br IL_00f5 + IL_000e: nop + IL_000f: ldarg.1 + IL_0010: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0015: callvirt instance int32 class NAnt.Core.Project::get_IndentationLevel() + IL_001a: ldarg.1 + IL_001b: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0020: callvirt instance int32 class NAnt.Core.Project::get_IndentationSize() + IL_0025: mul + IL_0026: stloc.0 + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: ldloc.0 + IL_002b: call instance void class NAnt.Core.DefaultLogger::OutputMessage(class NAnt.Core.BuildEventArgs, int32) + IL_0030: ret + } // end of method DefaultLogger::OutputMessage - IL_0064: ldarg.1 - IL_0065: ldtoken [mscorlib]System.String - IL_006a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_006f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0074: brfalse IL_0085 + // method line 1667 + .method private hidebysig + instance default void OutputMessage (class NAnt.Core.BuildEventArgs e, int32 indentationLength) cil managed + { + // Method begins at RVA 0x20adc + // Code size 288 (0x120) + .maxstack 3 + .locals init ( + string V_0, + string[] V_1, + string V_2, + string V_3, + string[] V_4, + int32 V_5, + class [mscorlib]System.Text.StringBuilder V_6, + string V_7) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.BuildEventArgs::get_MessageLevel() + IL_0007: ldarg.0 + IL_0008: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.DefaultLogger::get_Threshold() + IL_000d: blt IL_011f - IL_0079: nop - IL_007a: ldstr "string" - IL_007f: stloc.0 - IL_0080: br IL_00f5 + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: callvirt instance string class NAnt.Core.BuildEventArgs::get_Message() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldstr "\t" + IL_0020: ldstr " " + IL_0025: callvirt instance string string::Replace(string, string) + IL_002a: stloc.0 + IL_002b: ldloc.0 + IL_002c: ldstr "\r" + IL_0031: ldstr "" + IL_0036: callvirt instance string string::Replace(string, string) + IL_003b: stloc.0 + IL_003c: ldloc.0 + IL_003d: ldc.i4.s 0x0a + IL_003f: ldc.i4.0 + IL_0040: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0045: stloc.1 + IL_0046: ldsfld string [mscorlib]System.String::Empty + IL_004b: stloc.2 + IL_004c: ldarg.1 + IL_004d: callvirt instance class NAnt.Core.Task class NAnt.Core.BuildEventArgs::get_Task() + IL_0052: brfalse IL_0091 - IL_0085: ldarg.1 - IL_0086: ldtoken [mscorlib]System.Boolean - IL_008b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0090: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0095: brfalse IL_00a6 + IL_0057: ldarg.0 + IL_0058: callvirt instance bool class NAnt.Core.DefaultLogger::get_EmacsMode() + IL_005d: brtrue IL_0091 - IL_009a: nop - IL_009b: ldstr "bool" - IL_00a0: stloc.0 - IL_00a1: br IL_00f5 + IL_0062: nop + IL_0063: ldstr "[" + IL_0068: ldarg.1 + IL_0069: callvirt instance class NAnt.Core.Task class NAnt.Core.BuildEventArgs::get_Task() + IL_006e: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0073: ldstr "] " + IL_0078: call string string::Concat(string, string, string) + IL_007d: stloc.2 + IL_007e: ldloc.2 + IL_007f: ldarg.1 + IL_0080: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0085: callvirt instance int32 class NAnt.Core.Project::get_IndentationSize() + IL_008a: callvirt instance string string::PadLeft(int32) + IL_008f: stloc.2 + IL_0090: nop + IL_0091: ldarg.2 + IL_0092: ldc.i4.0 + IL_0093: ble IL_00a9 - IL_00a6: ldarg.1 - IL_00a7: ldtoken [mscorlib]System.DateTime - IL_00ac: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00b1: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00b6: brfalse IL_00c7 + IL_0098: nop + IL_0099: ldc.i4.s 0x20 + IL_009b: ldarg.2 + IL_009c: newobj instance void string::'.ctor'(char, int32) + IL_00a1: ldloc.2 + IL_00a2: call string string::Concat(string, string) + IL_00a7: stloc.2 + IL_00a8: nop + IL_00a9: nop + IL_00aa: ldloc.1 + IL_00ab: stloc.s 4 + IL_00ad: ldc.i4.0 + IL_00ae: stloc.s 5 + IL_00b0: br IL_0113 + IL_00b5: ldloc.s 4 + IL_00b7: ldloc.s 5 + IL_00b9: ldelem.ref + IL_00ba: stloc.3 IL_00bb: nop - IL_00bc: ldstr "datetime" - IL_00c1: stloc.0 - IL_00c2: br IL_00f5 - - IL_00c7: ldarg.1 - IL_00c8: ldtoken [mscorlib]System.TimeSpan - IL_00cd: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00d2: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00d7: brfalse IL_00e8 - - IL_00dc: nop - IL_00dd: ldstr "timespan" - IL_00e2: stloc.0 - IL_00e3: br IL_00f5 - - IL_00e8: nop - IL_00e9: ldarg.1 - IL_00ea: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00ef: stloc.0 - IL_00f0: br IL_00f5 - - IL_00f5: ldloc.0 - IL_00f6: ret - } // end of method ExpressionEvalBase::GetSimpleTypeName + IL_00bc: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_00c1: stloc.s 6 + IL_00c3: ldloc.s 6 + IL_00c5: ldloc.2 + IL_00c6: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00cb: pop + IL_00cc: ldloc.s 6 + IL_00ce: ldloc.3 + IL_00cf: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00d4: pop + IL_00d5: ldloc.s 6 + IL_00d7: callvirt instance string object::ToString() + IL_00dc: stloc.s 7 + IL_00de: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Out() + IL_00e3: ldloc.s 7 + IL_00e5: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_00ea: ldarg.0 + IL_00eb: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.DefaultLogger::get_OutputWriter() + IL_00f0: brfalse IL_0104 - // method line 1697 - .method family virtual hidebysig newslot abstract - instance default object EvaluateFunction (class [mscorlib]System.Reflection.MethodInfo 'method', object[] args) cil managed - { - // Method begins at RVA 0x0 - } // end of method ExpressionEvalBase::EvaluateFunction + IL_00f5: nop + IL_00f6: ldarg.0 + IL_00f7: callvirt instance class [mscorlib]System.IO.TextWriter class NAnt.Core.DefaultLogger::get_OutputWriter() + IL_00fc: ldloc.s 7 + IL_00fe: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0103: nop + IL_0104: ldarg.0 + IL_0105: ldloc.s 7 + IL_0107: callvirt instance void class NAnt.Core.DefaultLogger::Log(string) + IL_010c: nop + IL_010d: ldloc.s 5 + IL_010f: ldc.i4.1 + IL_0110: add + IL_0111: stloc.s 5 + IL_0113: ldloc.s 5 + IL_0115: ldloc.s 4 + IL_0117: ldlen + IL_0118: conv.i4 + IL_0119: blt IL_00b5 - // method line 1698 - .method family virtual hidebysig newslot abstract - instance default object EvaluateProperty (string propertyName) cil managed - { - // Method begins at RVA 0x0 - } // end of method ExpressionEvalBase::EvaluateProperty + IL_011e: nop + IL_011f: ret + } // end of method DefaultLogger::OutputMessage - // method line 1699 - .method family virtual hidebysig newslot - instance default object UnexpectedToken () cil managed + // method line 1668 + .method private static hidebysig + default class NAnt.Core.BuildEventArgs CreateBuildEvent (valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x22793 - // Code size 50 (0x32) - .maxstack 8 + // Method begins at RVA 0x20c08 + // Code size 30 (0x1e) + .maxstack 2 + .locals init ( + class NAnt.Core.BuildEventArgs V_0, + class NAnt.Core.BuildEventArgs V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: ldstr "Unexpected token '{0}'." - IL_000c: ldarg.0 - IL_000d: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0012: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0017: box NAnt.Core.ExpressionTokenizer/TokenType - IL_001c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0021: ldarg.0 - IL_0022: ldfld class NAnt.Core.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0027: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_002c: call instance class NAnt.Core.ExpressionParseException class NAnt.Core.ExpressionEvalBase::BuildParseError(string, valuetype NAnt.Core.ExpressionTokenizer/Position) - IL_0031: throw - } // end of method ExpressionEvalBase::UnexpectedToken + IL_0001: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) + IL_000e: ldloc.0 + IL_000f: ldarg.1 + IL_0010: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) + IL_0015: ldloc.0 + IL_0016: stloc.1 + IL_0017: br IL_001c - .property instance class NAnt.Core.Project Project () + IL_001c: ldloc.1 + IL_001d: ret + } // end of method DefaultLogger::CreateBuildEvent + + .property instance valuetype NAnt.Core.Level Threshold () { - .get instance default class NAnt.Core.Project NAnt.Core.ExpressionEvalBase::get_Project () + .get instance default valuetype NAnt.Core.Level NAnt.Core.DefaultLogger::get_Threshold () + .set instance default void NAnt.Core.DefaultLogger::set_Threshold (valuetype NAnt.Core.Level 'value') } - .class nested private auto ansi sealed EvalMode - extends [mscorlib]System.Enum + .property instance bool EmacsMode () + { + .get instance default bool NAnt.Core.DefaultLogger::get_EmacsMode () + .set instance default void NAnt.Core.DefaultLogger::set_EmacsMode (bool 'value') + } + .property instance class [mscorlib]System.IO.TextWriter OutputWriter () + { + .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.DefaultLogger::get_OutputWriter () + .set instance default void NAnt.Core.DefaultLogger::set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') + } + } // end of class NAnt.Core.DefaultLogger +} + +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit BuildReport + extends [mscorlib]System.Object { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.ExpressionEvalBase/EvalMode Evaluate = int32(0x00000000) - .field public static literal valuetype NAnt.Core.ExpressionEvalBase/EvalMode ParseOnly = int32(0x00000001) + .field public int32 Errors + .field public int32 Warnings + .field public initonly valuetype [mscorlib]System.DateTime StartTime - } // end of class EvalMode + // method line 1669 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype [mscorlib]System.DateTime startTime) cil managed + { + // Method begins at RVA 0x20c32 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld valuetype [mscorlib]System.DateTime NAnt.Core.BuildReport::StartTime + IL_000e: ldarg.0 + IL_000f: ldc.i4.0 + IL_0010: stfld int32 NAnt.Core.BuildReport::Errors + IL_0015: ldarg.0 + IL_0016: ldc.i4.0 + IL_0017: stfld int32 NAnt.Core.BuildReport::Warnings + IL_001c: ret + } // end of method BuildReport::.ctor - } // end of class NAnt.Core.ExpressionEvalBase + } // end of class NAnt.Core.BuildReport } .namespace NAnt.Core { - .class public auto ansi serializable beforefieldinit PropertyDictionary - extends [mscorlib]System.Collections.DictionaryBase + .class public auto ansi serializable beforefieldinit MailLogger + extends NAnt.Core.DefaultLogger { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - .field private class [System]System.Collections.Specialized.StringCollection _readOnlyProperties - .field private class [System]System.Collections.Specialized.StringCollection _dynamicProperties - .field private initonly class NAnt.Core.Project _project - .field assembly static literal string Visiting = "VISITING" - .field assembly static literal string Visited = "VISITED" - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map0' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - + .field private class [mscorlib]System.Text.StringBuilder _buffer + .field private class [mscorlib]System.Collections.Stack _projectStack - // method line 1700 + // method line 1670 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x227c6 - // Code size 37 (0x25) + // Method begins at RVA 0x20c50 + // Code size 30 (0x1e) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stfld class [mscorlib]System.Text.StringBuilder NAnt.Core.MailLogger::_buffer IL_000b: ldarg.0 - IL_000c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0011: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties + IL_000c: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_0011: stfld class [mscorlib]System.Collections.Stack NAnt.Core.MailLogger::_projectStack IL_0016: ldarg.0 - IL_0017: call instance void class [mscorlib]System.Collections.DictionaryBase::'.ctor'() + IL_0017: call instance void class NAnt.Core.DefaultLogger::'.ctor'() IL_001c: nop - IL_001d: ldarg.0 - IL_001e: ldarg.1 - IL_001f: stfld class NAnt.Core.Project NAnt.Core.PropertyDictionary::_project - IL_0024: ret - } // end of method PropertyDictionary::.ctor - - // method line 1701 - .method public virtual hidebysig newslot specialname - instance default string get_Item (string name) cil managed - { - // Method begins at RVA 0x227ec - // Code size 67 (0x43) - .maxstack 3 - .locals init ( - string V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) - IL_000d: castclass [mscorlib]System.String - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: call instance void class NAnt.Core.PropertyDictionary::CheckDeprecation(string) - IL_001a: ldarg.0 - IL_001b: ldarg.1 - IL_001c: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_0021: brfalse IL_0039 - - IL_0026: nop - IL_0027: ldarg.0 - IL_0028: ldloc.0 - IL_0029: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_002e: call instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_0033: stloc.1 - IL_0034: br IL_0041 - - IL_0039: nop - IL_003a: ldloc.0 - IL_003b: stloc.1 - IL_003c: br IL_0041 - - IL_0041: ldloc.1 - IL_0042: ret - } // end of method PropertyDictionary::get_Item + IL_001d: ret + } // end of method MailLogger::.ctor - // method line 1702 - .method public virtual hidebysig newslot specialname - instance default void set_Item (string name, string 'value') cil managed + // method line 1671 + .method public virtual hidebysig + instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x2283b - // Code size 15 (0xf) + // Method begins at RVA 0x20c6f + // Code size 22 (0x16) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) - IL_000e: ret - } // end of method PropertyDictionary::set_Item + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: call instance void class NAnt.Core.DefaultLogger::BuildStarted(object, class NAnt.Core.BuildEventArgs) + IL_0009: ldarg.0 + IL_000a: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.MailLogger::_projectStack + IL_000f: ldnull + IL_0010: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_0015: ret + } // end of method MailLogger::BuildStarted - // method line 1703 - .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 1672 + .method public virtual hidebysig + instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x2284c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x20c88 + // Code size 712 (0x2c8) + .maxstack 8 .locals init ( - class NAnt.Core.Project V_0) + class [mscorlib]System.Text.Encoding V_0, + class NAnt.Core.Project V_1, + class NAnt.Core.PropertyDictionary V_2, + bool V_3, + string V_4, + string V_5, + bool V_6, + class [System.Web]System.Web.Mail.MailMessage V_7, + string V_8, + string V_9, + string V_10, + string V_11, + class [mscorlib]System.Exception V_12) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Project NAnt.Core.PropertyDictionary::_project - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PropertyDictionary::get_Project + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: call instance void class NAnt.Core.DefaultLogger::BuildFinished(object, class NAnt.Core.BuildEventArgs) + IL_0009: ldarg.0 + IL_000a: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.MailLogger::_projectStack + IL_000f: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_0014: pop + IL_0015: ldarg.0 + IL_0016: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.MailLogger::_projectStack + IL_001b: callvirt instance int32 class [mscorlib]System.Collections.Stack::get_Count() + IL_0020: brfalse IL_002b - // method line 1704 - .method family virtual hidebysig - instance default void OnClear () cil managed - { - // Method begins at RVA 0x22867 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties - IL_0007: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_000c: ldarg.0 - IL_000d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties - IL_0012: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0017: ret - } // end of method PropertyDictionary::OnClear + IL_0025: nop + IL_0026: br IL_02c7 - // method line 1705 - .method family virtual hidebysig - instance default void OnSet (object key, object oldValue, object newValue) cil managed - { - // Method begins at RVA 0x22880 - // Code size 63 (0x3f) - .maxstack 4 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: castclass [mscorlib]System.String - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_000f: brfalse IL_0035 + IL_002b: ldnull + IL_002c: stloc.0 + IL_002d: ldarg.2 + IL_002e: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_0033: stloc.1 + IL_0034: ldloc.1 + IL_0035: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_003a: stloc.2 + IL_003b: ldarg.2 + IL_003c: callvirt instance class [mscorlib]System.Exception class NAnt.Core.BuildEventArgs::get_Exception() + IL_0041: ldnull + IL_0042: ceq + IL_0044: stloc.3 + IL_0045: ldloc.3 + IL_0046: brfalse IL_0055 - IL_0014: nop - IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001a: ldstr "NA1068" - IL_001f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_002f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0034: throw - IL_0035: ldarg.0 - IL_0036: ldarg.1 - IL_0037: ldarg.2 - IL_0038: ldarg.3 - IL_0039: call instance void class [mscorlib]System.Collections.DictionaryBase::OnSet(object, object, object) - IL_003e: ret - } // end of method PropertyDictionary::OnSet + IL_004b: ldstr "success" + IL_0050: br IL_005a - // method line 1706 - .method family virtual hidebysig - instance default void OnInsert (object key, object 'value') cil managed - { - // Method begins at RVA 0x228cc - // Code size 54 (0x36) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: castclass [mscorlib]System.String - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: ldloc.0 - IL_000a: call instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_000f: brfalse IL_0035 + IL_0055: ldstr "failure" + IL_005a: stloc.s 4 + .try { // 2 + IL_005c: nop + IL_005d: ldarg.0 + IL_005e: ldloc.2 + IL_005f: ldloc.s 4 + IL_0061: ldstr ".notify" + IL_0066: call string string::Concat(string, string) + IL_006b: ldstr "true" + IL_0070: ldc.i4.0 + IL_0071: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_0076: stloc.s 5 + IL_0078: ldc.i4.1 + IL_0079: stloc.s 6 + .try { // 0 + IL_007b: nop + IL_007c: ldloc.s 5 + IL_007e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0083: call bool class [mscorlib]System.Convert::ToBoolean(string, class [mscorlib]System.IFormatProvider) + IL_0088: stloc.s 6 + IL_008a: nop + IL_008b: leave IL_009b - IL_0014: nop - IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001a: ldstr "NA1065" - IL_001f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0024: ldloc.0 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_002f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0034: throw - IL_0035: ret - } // end of method PropertyDictionary::OnInsert + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0090: pop + IL_0091: nop + IL_0092: ldc.i4.1 + IL_0093: stloc.s 6 + IL_0095: nop + IL_0096: leave IL_009b - // method line 1707 - .method family virtual hidebysig - instance default void OnRemove (object key, object 'value') cil managed - { - // Method begins at RVA 0x22910 - // Code size 46 (0x2e) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: isinst [mscorlib]System.String - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_002d + } // end handler 0 + IL_009b: ldarg.0 + IL_009c: ldloc.2 + IL_009d: ldstr "body.encoding" + IL_00a2: ldnull + IL_00a3: ldc.i4.0 + IL_00a4: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_00a9: stloc.s 5 + .try { // 1 + IL_00ab: nop + IL_00ac: ldloc.s 5 + IL_00ae: brfalse IL_00bd - IL_000e: ldarg.0 - IL_000f: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties - IL_0014: ldloc.0 - IL_0015: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_001a: brfalse IL_002d + IL_00b3: nop + IL_00b4: ldloc.s 5 + IL_00b6: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(string) + IL_00bb: stloc.0 + IL_00bc: nop + IL_00bd: nop + IL_00be: leave IL_00cb - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties - IL_0026: ldloc.0 - IL_0027: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) - IL_002c: nop - IL_002d: ret - } // end of method PropertyDictionary::OnRemove + } // end .try 1 + catch class [mscorlib]System.Object { // 1 + IL_00c3: pop + IL_00c4: nop + IL_00c5: nop + IL_00c6: leave IL_00cb - // method line 1708 - .method family virtual hidebysig - instance default void OnValidate (object key, object 'value') cil managed - { - // Method begins at RVA 0x2294c - // Code size 62 (0x3e) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: isinst [mscorlib]System.String - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brtrue IL_001f + } // end handler 1 + IL_00cb: ldloc.s 6 + IL_00cd: brtrue IL_00d8 - IL_000e: nop - IL_000f: ldstr "Property name must be a string." - IL_0014: ldstr "key" - IL_0019: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) - IL_001e: throw - IL_001f: ldloc.0 - IL_0020: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0025: call void class NAnt.Core.PropertyDictionary::ValidatePropertyName(string, class NAnt.Core.Location) - IL_002a: ldarg.2 - IL_002b: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0030: call void class NAnt.Core.PropertyDictionary::ValidatePropertyValue(object, class NAnt.Core.Location) - IL_0035: ldarg.0 - IL_0036: ldarg.1 - IL_0037: ldarg.2 - IL_0038: call instance void class [mscorlib]System.Collections.DictionaryBase::OnValidate(object, object) - IL_003d: ret - } // end of method PropertyDictionary::OnValidate + IL_00d2: nop + IL_00d3: leave IL_02c7 - // method line 1709 - .method public virtual hidebysig newslot - instance default void AddReadOnly (string name, string 'value') cil managed - { - // Method begins at RVA 0x22996 - // Code size 42 (0x2a) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_0008: brtrue IL_0029 + IL_00d8: newobj instance void class [System.Web]System.Web.Mail.MailMessage::'.ctor'() + IL_00dd: stloc.s 7 + IL_00df: ldloc.s 7 + IL_00e1: ldarg.0 + IL_00e2: ldloc.2 + IL_00e3: ldstr "from" + IL_00e8: ldnull + IL_00e9: ldc.i4.1 + IL_00ea: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_00ef: callvirt instance void class [System.Web]System.Web.Mail.MailMessage::set_From(string) + IL_00f4: ldloc.s 7 + IL_00f6: ldarg.0 + IL_00f7: ldloc.2 + IL_00f8: ldloc.s 4 + IL_00fa: ldstr ".to" + IL_00ff: call string string::Concat(string, string) + IL_0104: ldnull + IL_0105: ldc.i4.1 + IL_0106: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_010b: callvirt instance void class [System.Web]System.Web.Mail.MailMessage::set_To(string) + IL_0110: ldloc.s 7 + IL_0112: ldarg.0 + IL_0113: ldloc.2 + IL_0114: ldloc.s 4 + IL_0116: ldstr ".subject" + IL_011b: call string string::Concat(string, string) + IL_0120: ldloc.3 + IL_0121: brfalse IL_0130 - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() - IL_0014: ldarg.1 - IL_0015: ldarg.2 - IL_0016: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) - IL_001b: ldarg.0 - IL_001c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties - IL_0021: ldarg.1 - IL_0022: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0027: pop - IL_0028: nop - IL_0029: ret - } // end of method PropertyDictionary::AddReadOnly + IL_0126: ldstr "Build Success" + IL_012b: br IL_0135 - // method line 1710 - .method public virtual hidebysig newslot - instance default void MarkDynamic (string name) cil managed - { - // Method begins at RVA 0x229c4 - // Code size 73 (0x49) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_0008: brtrue IL_0048 + IL_0130: ldstr "Build Failure" + IL_0135: ldc.i4.0 + IL_0136: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_013b: callvirt instance void class [System.Web]System.Web.Mail.MailMessage::set_Subject(string) + IL_0140: ldloc.s 7 + IL_0142: ldarg.0 + IL_0143: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.MailLogger::_buffer + IL_0148: callvirt instance string object::ToString() + IL_014d: callvirt instance void class [System.Web]System.Web.Mail.MailMessage::set_Body(string) + IL_0152: ldarg.0 + IL_0153: ldloc.2 + IL_0154: ldstr "smtp.username" + IL_0159: ldnull + IL_015a: ldc.i4.0 + IL_015b: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_0160: stloc.s 8 + IL_0162: ldarg.0 + IL_0163: ldloc.2 + IL_0164: ldstr "smtp.port" + IL_0169: ldnull + IL_016a: ldc.i4.0 + IL_016b: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_0170: stloc.s 9 + IL_0172: ldarg.0 + IL_0173: ldloc.2 + IL_0174: ldstr "smtp.enablessl" + IL_0179: ldnull + IL_017a: ldc.i4.0 + IL_017b: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_0180: stloc.s 10 + IL_0182: ldloc.s 8 + IL_0184: brtrue IL_019c - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: call instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0015: brtrue IL_003a + IL_0189: ldloc.s 9 + IL_018b: brtrue IL_019c - IL_001a: nop - IL_001b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0020: ldstr "NA1067" - IL_0025: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_002a: call !!0[] class [mscorlib]System.Array::Empty () - IL_002f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0034: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0039: throw - IL_003a: ldarg.0 - IL_003b: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties - IL_0040: ldarg.1 - IL_0041: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0046: pop - IL_0047: nop - IL_0048: ret - } // end of method PropertyDictionary::MarkDynamic + IL_0190: ldarg.0 + IL_0191: ldloc.2 + IL_0192: call instance bool class NAnt.Core.MailLogger::IsSSLEnabled(class NAnt.Core.PropertyDictionary) + IL_0197: brfalse IL_01b5 - // method line 1711 - .method public virtual hidebysig newslot - instance default void Add (string name, string 'value') cil managed + IL_019c: nop + IL_019d: ldloc.s 7 + IL_019f: callvirt instance class [mscorlib]System.Collections.IDictionary class [System.Web]System.Web.Mail.MailMessage::get_Fields() + IL_01a4: ldstr "http://schemas.microsoft.com/cdo/configuration/sendusing" + IL_01a9: ldc.i4.2 + IL_01aa: box [mscorlib]System.Int32 + IL_01af: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_01b4: nop + IL_01b5: ldloc.s 8 + IL_01b7: brfalse IL_01e8 + + IL_01bc: nop + IL_01bd: ldloc.s 7 + IL_01bf: callvirt instance class [mscorlib]System.Collections.IDictionary class [System.Web]System.Web.Mail.MailMessage::get_Fields() + IL_01c4: ldstr "http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" + IL_01c9: ldc.i4.1 + IL_01ca: box [mscorlib]System.Int32 + IL_01cf: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_01d4: ldloc.s 7 + IL_01d6: callvirt instance class [mscorlib]System.Collections.IDictionary class [System.Web]System.Web.Mail.MailMessage::get_Fields() + IL_01db: ldstr "http://schemas.microsoft.com/cdo/configuration/sendusername" + IL_01e0: ldloc.s 8 + IL_01e2: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_01e7: nop + IL_01e8: ldarg.0 + IL_01e9: ldloc.2 + IL_01ea: ldstr "smtp.password" + IL_01ef: ldnull + IL_01f0: ldc.i4.0 + IL_01f1: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_01f6: stloc.s 11 + IL_01f8: ldloc.s 11 + IL_01fa: brfalse IL_0214 + + IL_01ff: nop + IL_0200: ldloc.s 7 + IL_0202: callvirt instance class [mscorlib]System.Collections.IDictionary class [System.Web]System.Web.Mail.MailMessage::get_Fields() + IL_0207: ldstr "http://schemas.microsoft.com/cdo/configuration/sendpassword" + IL_020c: ldloc.s 11 + IL_020e: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_0213: nop + IL_0214: ldloc.s 9 + IL_0216: brfalse IL_0230 + + IL_021b: nop + IL_021c: ldloc.s 7 + IL_021e: callvirt instance class [mscorlib]System.Collections.IDictionary class [System.Web]System.Web.Mail.MailMessage::get_Fields() + IL_0223: ldstr "http://schemas.microsoft.com/cdo/configuration/smtpserverport" + IL_0228: ldloc.s 9 + IL_022a: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_022f: nop + IL_0230: ldloc.s 10 + IL_0232: brfalse IL_024c + + IL_0237: nop + IL_0238: ldloc.s 7 + IL_023a: callvirt instance class [mscorlib]System.Collections.IDictionary class [System.Web]System.Web.Mail.MailMessage::get_Fields() + IL_023f: ldstr "http://schemas.microsoft.com/cdo/configuration/smtpusessl" + IL_0244: ldloc.s 10 + IL_0246: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_024b: nop + IL_024c: ldarg.0 + IL_024d: ldloc.s 7 + IL_024f: ldloc.1 + IL_0250: ldarg.0 + IL_0251: ldloc.2 + IL_0252: ldloc.s 4 + IL_0254: ldstr ".attachments" + IL_0259: call string string::Concat(string, string) + IL_025e: ldnull + IL_025f: ldc.i4.0 + IL_0260: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_0265: call instance void class NAnt.Core.MailLogger::AttachFiles(class [System.Web]System.Web.Mail.MailMessage, class NAnt.Core.Project, string) + IL_026a: ldloc.0 + IL_026b: brfalse IL_027a + + IL_0270: nop + IL_0271: ldloc.s 7 + IL_0273: ldloc.0 + IL_0274: callvirt instance void class [System.Web]System.Web.Mail.MailMessage::set_BodyEncoding(class [mscorlib]System.Text.Encoding) + IL_0279: nop + IL_027a: ldarg.0 + IL_027b: ldloc.2 + IL_027c: ldstr "mailhost" + IL_0281: ldstr "localhost" + IL_0286: ldc.i4.0 + IL_0287: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_028c: call void class [System.Web]System.Web.Mail.SmtpMail::set_SmtpServer(string) + IL_0291: ldloc.s 7 + IL_0293: call void class [System.Web]System.Web.Mail.SmtpMail::Send(class [System.Web]System.Web.Mail.MailMessage) + IL_0298: nop + IL_0299: leave IL_02c7 + + } // end .try 2 + catch class [mscorlib]System.Exception { // 2 + IL_029e: stloc.s 12 + IL_02a0: nop + IL_02a1: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_02a6: ldstr "[MailLogger] E-mail could not be sent!" + IL_02ab: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_02b0: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_02b5: ldloc.s 12 + IL_02b7: callvirt instance string object::ToString() + IL_02bc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_02c1: nop + IL_02c2: leave IL_02c7 + + } // end handler 2 + IL_02c7: ret + } // end of method MailLogger::BuildFinished + + // method line 1673 + .method family virtual hidebysig + instance default void Log (string message) cil managed { - // Method begins at RVA 0x22a19 - // Code size 15 (0xf) + // Method begins at RVA 0x20fa8 + // Code size 25 (0x19) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.MailLogger::_buffer IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) - IL_000e: ret - } // end of method PropertyDictionary::Add + IL_0008: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_000d: call string class [mscorlib]System.Environment::get_NewLine() + IL_0012: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0017: pop + IL_0018: ret + } // end of method MailLogger::Log - // method line 1712 - .method public virtual hidebysig newslot - instance default bool IsReadOnlyProperty (string name) cil managed + // method line 1674 + .method private hidebysig + instance default string GetPropertyValue (class NAnt.Core.PropertyDictionary properties, string name, string defaultValue, bool required) cil managed { - // Method begins at RVA 0x22a2c - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x20fc4 + // Code size 76 (0x4c) + .maxstack 3 .locals init ( - bool V_0) + string V_0, + string V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldstr "MailLogger." + IL_0006: ldarg.2 + IL_0007: call string string::Concat(string, string) + IL_000c: stloc.0 + IL_000d: ldarg.1 + IL_000e: ldloc.0 + IL_000f: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_0014: stloc.1 + IL_0015: ldloc.1 + IL_0016: brtrue IL_001f - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PropertyDictionary::IsReadOnlyProperty + IL_001b: nop + IL_001c: ldarg.3 + IL_001d: stloc.1 + IL_001e: nop + IL_001f: ldarg.s 4 + IL_0021: brfalse IL_0043 - // method line 1713 - .method public virtual hidebysig newslot - instance default bool IsDynamicProperty (string name) cil managed + IL_0026: ldloc.1 + IL_0027: brtrue IL_0043 + + IL_002c: nop + IL_002d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0032: ldstr "Missing required parameter {0}." + IL_0037: ldloc.0 + IL_0038: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0042: throw + IL_0043: ldloc.1 + IL_0044: stloc.2 + IL_0045: br IL_004a + + IL_004a: ldloc.2 + IL_004b: ret + } // end of method MailLogger::GetPropertyValue + + // method line 1675 + .method private hidebysig + instance default bool IsSSLEnabled (class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x22a50 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2101c + // Code size 69 (0x45) + .maxstack 5 .locals init ( - bool V_0) + string V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldarg.1 + IL_0003: ldstr "smtp.enablessl" + IL_0008: ldnull + IL_0009: ldc.i4.0 + IL_000a: call instance string class NAnt.Core.MailLogger::GetPropertyValue(class NAnt.Core.PropertyDictionary, string, string, bool) + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: brfalse IL_003c - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PropertyDictionary::IsDynamicProperty + IL_0016: nop + .try { // 0 + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: call bool bool::Parse(string) + IL_001e: stloc.1 + IL_001f: leave IL_0043 - // method line 1714 - .method public virtual hidebysig newslot - instance default void Inherit (class NAnt.Core.PropertyDictionary source, class [System]System.Collections.Specialized.StringCollection excludes) cil managed + } // end .try 0 + catch class [mscorlib]System.FormatException { // 0 + IL_0024: pop + IL_0025: nop + IL_0026: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002b: ldstr "Invalid value '{0}' for MailLogger.smtp.enablessl property." + IL_0030: ldloc.0 + IL_0031: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0036: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_003b: throw + } // end handler 0 + IL_003c: ldc.i4.0 + IL_003d: stloc.1 + IL_003e: br IL_0043 + + IL_0043: ldloc.1 + IL_0044: ret + } // end of method MailLogger::IsSSLEnabled + + // method line 1676 + .method private hidebysig + instance default void AttachFiles (class [System.Web]System.Web.Mail.MailMessage mail, class NAnt.Core.Project project, string filesetID) cil managed { - // Method begins at RVA 0x22a74 - // Code size 221 (0xdd) + // Method begins at RVA 0x21080 + // Code size 184 (0xb8) .maxstack 3 .locals init ( - valuetype [mscorlib]System.Collections.DictionaryEntry V_0, - class [mscorlib]System.Collections.IDictionaryEnumerator V_1, - string V_2, - class [mscorlib]System.IDisposable V_3) + class NAnt.Core.Types.FileSet V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [System.Web]System.Web.Mail.MailAttachment V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() - IL_0008: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.IDictionary::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_00b8 + IL_0001: ldarg.3 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brfalse IL_0012 - IL_0013: ldloc.1 - IL_0014: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0019: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldloca.s 0 - IL_0022: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0027: castclass [mscorlib]System.String - IL_002c: stloc.2 - IL_002d: ldarg.2 - IL_002e: brfalse IL_0045 + IL_000c: nop + IL_000d: br IL_00b7 - IL_0033: ldarg.2 - IL_0034: ldloc.2 - IL_0035: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_003a: brfalse IL_0045 + IL_0012: ldarg.2 + IL_0013: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_0018: ldarg.3 + IL_0019: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseDictionary::get_Item(string) + IL_001e: isinst NAnt.Core.Types.FileSet + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: brtrue IL_0040 - IL_003f: nop - IL_0040: leave IL_00b8 + IL_002a: nop + IL_002b: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0030: ldstr "[MailLogger] Fileset \"{0}\" is not defined. No files have been attached." + IL_0035: ldarg.3 + IL_0036: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_003b: br IL_00b7 - IL_0045: ldarg.0 - IL_0046: ldloc.2 - IL_0047: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_004c: brfalse IL_0057 + IL_0040: nop + IL_0041: ldloc.0 + IL_0042: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_FileNames() + IL_0047: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_004c: stloc.2 + .try { // 0 + IL_004d: br IL_0091 - IL_0051: nop - IL_0052: leave IL_00b8 + IL_0052: ldloc.2 + IL_0053: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0058: stloc.1 + IL_0059: nop + IL_005a: ldloc.1 + IL_005b: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0060: brtrue IL_007b - IL_0057: ldloc.2 - IL_0058: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_005d: call void class NAnt.Core.PropertyDictionary::ValidatePropertyName(string, class NAnt.Core.Location) - IL_0062: ldarg.0 - IL_0063: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() - IL_0068: ldloc.2 - IL_0069: ldloca.s 0 - IL_006b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0070: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) - IL_0075: ldarg.1 - IL_0076: ldloc.2 - IL_0077: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_007c: brfalse IL_0090 + IL_0065: nop + IL_0066: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_006b: ldstr "[MailLogger] Attachment \"{0}\" does not exist. Skipping." + IL_0070: ldarg.3 + IL_0071: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0076: leave IL_0091 - IL_0081: nop - IL_0082: ldarg.0 - IL_0083: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties - IL_0088: ldloc.2 - IL_0089: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_008e: pop - IL_008f: nop - IL_0090: ldarg.1 + IL_007b: ldloc.1 + IL_007c: ldc.i4.0 + IL_007d: newobj instance void class [System.Web]System.Web.Mail.MailAttachment::'.ctor'(string, valuetype [System.Web]System.Web.Mail.MailEncoding) + IL_0082: stloc.3 + IL_0083: ldarg.1 + IL_0084: callvirt instance class [mscorlib]System.Collections.IList class [System.Web]System.Web.Mail.MailMessage::get_Attachments() + IL_0089: ldloc.3 + IL_008a: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_008f: pop + IL_0090: nop IL_0091: ldloc.2 - IL_0092: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_0097: brfalse IL_00b7 - - IL_009c: ldarg.0 - IL_009d: ldloc.2 - IL_009e: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_00a3: brtrue IL_00b7 - - IL_00a8: nop - IL_00a9: ldarg.0 - IL_00aa: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties - IL_00af: ldloc.2 - IL_00b0: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00b5: pop - IL_00b6: nop - IL_00b7: nop - IL_00b8: ldloc.1 - IL_00b9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00be: brtrue IL_0013 + IL_0092: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0097: brtrue IL_0052 - IL_00c3: leave IL_00dc + IL_009c: leave IL_00b7 } // end .try 0 finally { // 0 - IL_00c8: ldloc.1 - IL_00c9: isinst [mscorlib]System.IDisposable - IL_00ce: dup - IL_00cf: stloc.3 - IL_00d0: brfalse IL_00db + IL_00a1: ldloc.2 + IL_00a2: isinst [mscorlib]System.IDisposable + IL_00a7: dup + IL_00a8: stloc.s 4 + IL_00aa: brfalse IL_00b6 - IL_00d5: ldloc.3 - IL_00d6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00db: endfinally + IL_00af: ldloc.s 4 + IL_00b1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b6: endfinally } // end handler 0 - IL_00dc: ret - } // end of method PropertyDictionary::Inherit + IL_00b7: ret + } // end of method MailLogger::AttachFiles - // method line 1715 + } // end of class NAnt.Core.MailLogger +} + +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit BuildListenerCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + + // method line 1677 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x21154 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method BuildListenerCollection::.ctor + + // method line 1678 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.BuildListenerCollection 'value') cil managed + { + // Method begins at RVA 0x2115d + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.BuildListenerCollection::AddRange(class NAnt.Core.BuildListenerCollection) + IL_000e: ret + } // end of method BuildListenerCollection::.ctor + + // method line 1679 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.IBuildListener[] 'value') cil managed + { + // Method begins at RVA 0x2116d + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.BuildListenerCollection::AddRange(class NAnt.Core.IBuildListener[]) + IL_000e: ret + } // end of method BuildListenerCollection::.ctor + + // method line 1680 + .method public hidebysig specialname + instance default class NAnt.Core.IBuildListener get_Item (int32 index) cil managed + { + // Method begins at RVA 0x21180 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.IBuildListener V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.IBuildListener + IL_0012: stloc.0 + IL_0013: br IL_0018 + + IL_0018: ldloc.0 + IL_0019: ret + } // end of method BuildListenerCollection::get_Item + + // method line 1681 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.IBuildListener 'value') cil managed + { + // Method begins at RVA 0x211a6 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method BuildListenerCollection::set_Item + + // method line 1682 .method public hidebysig - instance default string ExpandProperties (string input, class NAnt.Core.Location location) cil managed + instance default int32 Add (class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x22b70 - // Code size 31 (0x1f) - .maxstack 5 + // Method begins at RVA 0x211b8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class [mscorlib]System.Collections.Stack V_1, - string V_2) + int32 V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0006: stloc.0 - IL_0007: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() - IL_000c: stloc.1 - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: ldarg.2 - IL_0010: ldloc.0 - IL_0011: ldloc.1 - IL_0012: call instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) - IL_0017: stloc.2 - IL_0018: br IL_001d + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_001d: ldloc.2 - IL_001e: ret - } // end of method PropertyDictionary::ExpandProperties + IL_0013: ldloc.0 + IL_0014: ret + } // end of method BuildListenerCollection::Add - // method line 1716 + // method line 1683 .method public hidebysig - instance default bool Contains (string name) cil managed + instance default void AddRange (class NAnt.Core.IBuildListener[] items) cil managed + { + // Method begins at RVA 0x211dc + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 + + IL_0021: ret + } // end of method BuildListenerCollection::AddRange + + // method line 1684 + .method public hidebysig + instance default void AddRange (class NAnt.Core.BuildListenerCollection items) cil managed + { + // Method begins at RVA 0x2120c + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.IBuildListener class NAnt.Core.BuildListenerCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 + + IL_0028: ret + } // end of method BuildListenerCollection::AddRange + + // method line 1685 + .method public hidebysig + instance default bool Contains (class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x22b9c + // Method begins at RVA 0x21244 // Code size 21 (0x15) .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IDictionary::Contains(object) + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) IL_000d: stloc.0 IL_000e: br IL_0013 IL_0013: ldloc.0 IL_0014: ret - } // end of method PropertyDictionary::Contains + } // end of method BuildListenerCollection::Contains - // method line 1717 + // method line 1686 .method public hidebysig - instance default void Remove (string name) cil managed + instance default void CopyTo (class NAnt.Core.IBuildListener[] 'array', int32 index) cil managed { - // Method begins at RVA 0x22bbd - // Code size 14 (0xe) + // Method begins at RVA 0x21265 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IDictionary::Remove(object) - IL_000d: ret - } // end of method PropertyDictionary::Remove + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method BuildListenerCollection::CopyTo - // method line 1718 - .method assembly hidebysig - instance default string GetPropertyValue (string propertyName) cil managed + // method line 1687 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x22bcc - // Code size 33 (0x21) + // Method begins at RVA 0x21278 + // Code size 21 (0x15) .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.PropertyDictionary::CheckDeprecation(string) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() - IL_000e: ldarg.1 - IL_000f: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) - IL_0014: castclass [mscorlib]System.String - IL_0019: stloc.0 - IL_001a: br IL_001f + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_001f: ldloc.0 - IL_0020: ret - } // end of method PropertyDictionary::GetPropertyValue + IL_0013: ldloc.0 + IL_0014: ret + } // end of method BuildListenerCollection::IndexOf - // method line 1719 - .method assembly hidebysig - instance default string ExpandProperties (string input, class NAnt.Core.Location location, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting) cil managed + // method line 1688 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x22bfc - // Code size 20 (0x14) - .maxstack 5 - .locals init ( - string V_0) + // Method begins at RVA 0x21299 + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldarg.3 - IL_0005: ldarg.s 4 - IL_0007: call instance string class NAnt.Core.PropertyDictionary::EvaluateEmbeddedExpressions(string, class NAnt.Core.Location, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method BuildListenerCollection::Insert - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PropertyDictionary::ExpandProperties - - // method line 1720 - .method private hidebysig - instance default string EvaluateEmbeddedExpressions (string input, class NAnt.Core.Location location, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting) cil managed + // method line 1689 + .method public hidebysig + instance default class NAnt.Core.BuildListenerEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x22c1c - // Code size 611 (0x263) - .maxstack 4 + // Method begins at RVA 0x212ac + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.Text.StringBuilder V_1, - class NAnt.Core.ExpressionTokenizer V_2, - class NAnt.Core.ExpressionEvaluator V_3, - string V_4, - valuetype NAnt.Core.ExpressionTokenizer/Position V_5, - class NAnt.Core.ExpressionParseException V_6, - class [mscorlib]System.Text.StringBuilder V_7, - string V_8, - string V_9, - int32 V_10, - int32 V_11, - int32 V_12, - int32 V_13) + class NAnt.Core.BuildListenerEnumerator V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_000f - - IL_0007: nop - IL_0008: ldnull - IL_0009: stloc.0 - IL_000a: br IL_0261 - - IL_000f: ldarg.1 - IL_0010: ldc.i4.s 0x24 - IL_0012: callvirt instance int32 string::IndexOf(char) - IL_0017: ldc.i4.0 - IL_0018: bge IL_0025 + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.BuildListenerEnumerator::'.ctor'(class NAnt.Core.BuildListenerCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001d: nop - IL_001e: ldarg.1 - IL_001f: stloc.0 - IL_0020: br IL_0261 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildListenerCollection::GetEnumerator - .try { // 0 - IL_0025: nop - IL_0026: ldarg.1 - IL_0027: callvirt instance int32 string::get_Length() - IL_002c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) - IL_0031: stloc.1 - IL_0032: newobj instance void class NAnt.Core.ExpressionTokenizer::'.ctor'() - IL_0037: stloc.2 - IL_0038: ldarg.0 - IL_0039: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_003e: ldarg.0 - IL_003f: ldarg.3 - IL_0040: ldarg.s 4 - IL_0042: newobj instance void class NAnt.Core.ExpressionEvaluator::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) - IL_0047: stloc.3 - IL_0048: ldloc.2 - IL_0049: ldc.i4.0 - IL_004a: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) - IL_004f: ldloc.2 - IL_0050: ldc.i4.1 - IL_0051: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode(bool) - IL_0056: ldloc.2 - IL_0057: ldarg.1 - IL_0058: callvirt instance void class NAnt.Core.ExpressionTokenizer::InitTokenizer(string) - IL_005d: br IL_013f + // method line 1690 + .method public hidebysig + instance default void Remove (class NAnt.Core.IBuildListener item) cil managed + { + // Method begins at RVA 0x212c7 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method BuildListenerCollection::Remove - IL_0062: nop - IL_0063: ldloc.2 - IL_0064: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0069: ldc.i4.s 0x17 - IL_006b: bne.un IL_0129 + .property instance class NAnt.Core.IBuildListener Item (int32) + { + .get instance default class NAnt.Core.IBuildListener NAnt.Core.BuildListenerCollection::get_Item (int32 index) + .set instance default void NAnt.Core.BuildListenerCollection::set_Item (int32 index, class NAnt.Core.IBuildListener 'value') + } + } // end of class NAnt.Core.BuildListenerCollection +} - IL_0070: nop - IL_0071: ldloc.2 - IL_0072: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0077: ldloc.2 - IL_0078: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_007d: ldc.i4.s 0x12 - IL_007f: bne.un IL_00f7 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit BuildListenerEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - IL_0084: nop - IL_0085: ldloc.2 - IL_0086: ldc.i4.1 - IL_0087: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) - IL_008c: ldloc.2 - IL_008d: ldc.i4.0 - IL_008e: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode(bool) - IL_0093: ldloc.2 - IL_0094: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0099: ldloc.3 - IL_009a: ldloc.2 - IL_009b: callvirt instance object class NAnt.Core.ExpressionEvalBase::Evaluate(class NAnt.Core.ExpressionTokenizer) - IL_00a0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a5: call string class [mscorlib]System.Convert::ToString(object, class [mscorlib]System.IFormatProvider) - IL_00aa: stloc.s 4 - IL_00ac: ldloc.1 - IL_00ad: ldloc.s 4 - IL_00af: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00b4: pop - IL_00b5: ldloc.2 - IL_00b6: ldc.i4.0 - IL_00b7: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) - IL_00bc: ldloc.2 - IL_00bd: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_00c2: ldc.i4.s 0x13 - IL_00c4: beq IL_00e4 + // method line 1691 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.BuildListenerCollection arguments) cil managed + { + // Method begins at RVA 0x212d8 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator + IL_0015: ret + } // end of method BuildListenerEnumerator::.ctor - IL_00c9: nop - IL_00ca: ldstr "'}' expected" - IL_00cf: ldloc.2 - IL_00d0: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_00d5: stloc.s 5 - IL_00d7: ldloca.s 5 - IL_00d9: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_00de: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32) - IL_00e3: throw - IL_00e4: ldloc.2 - IL_00e5: ldc.i4.1 - IL_00e6: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode(bool) - IL_00eb: ldloc.2 - IL_00ec: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_00f1: nop - IL_00f2: br IL_0123 + // method line 1692 + .method public hidebysig specialname + instance default class NAnt.Core.IBuildListener get_Current () cil managed + { + // Method begins at RVA 0x212fc + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.IBuildListener V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.IBuildListener + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_00f7: nop - IL_00f8: ldloc.1 - IL_00f9: ldc.i4.s 0x24 - IL_00fb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0100: pop - IL_0101: ldloc.2 - IL_0102: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0107: ldc.i4.1 - IL_0108: beq IL_0122 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method BuildListenerEnumerator::get_Current - IL_010d: nop - IL_010e: ldloc.1 - IL_010f: ldloc.2 - IL_0110: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_0115: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_011a: pop - IL_011b: ldloc.2 - IL_011c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_0121: nop - IL_0122: nop - IL_0123: nop - IL_0124: br IL_013e + // method line 1693 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x21324 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0129: nop - IL_012a: ldloc.1 - IL_012b: ldloc.2 - IL_012c: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() - IL_0131: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0136: pop - IL_0137: ldloc.2 - IL_0138: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_013d: nop - IL_013e: nop - IL_013f: ldloc.2 - IL_0140: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() - IL_0145: ldc.i4.1 - IL_0146: bne.un IL_0062 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.get_Current - IL_014b: ldloc.1 - IL_014c: callvirt instance string object::ToString() - IL_0151: stloc.0 - IL_0152: leave IL_0261 + // method line 1694 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x21344 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - } // end .try 0 - catch class NAnt.Core.ExpressionParseException { // 0 - IL_0157: stloc.s 6 - IL_0159: nop - IL_015a: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_015f: stloc.s 7 - IL_0161: ldarg.1 - IL_0162: stloc.s 8 - IL_0164: ldloc.s 8 - IL_0166: ldc.i4.s 0x0a - IL_0168: ldc.i4.s 0x20 - IL_016a: callvirt instance string string::Replace(char, char) - IL_016f: stloc.s 8 - IL_0171: ldloc.s 8 - IL_0173: ldc.i4.s 0x0d - IL_0175: ldc.i4.s 0x20 - IL_0177: callvirt instance string string::Replace(char, char) - IL_017c: stloc.s 8 - IL_017e: ldloc.s 8 - IL_0180: ldc.i4.s 0x09 - IL_0182: ldc.i4.s 0x20 - IL_0184: callvirt instance string string::Replace(char, char) - IL_0189: stloc.s 8 - IL_018b: ldloc.s 7 - IL_018d: ldloc.s 6 - IL_018f: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0194: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0199: pop - IL_019a: ldloc.s 7 - IL_019c: call string class [mscorlib]System.Environment::get_NewLine() - IL_01a1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01a6: pop - IL_01a7: ldstr "Expression: " - IL_01ac: stloc.s 9 - IL_01ae: ldloc.s 7 - IL_01b0: ldloc.s 9 - IL_01b2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01b7: pop - IL_01b8: ldloc.s 7 - IL_01ba: ldloc.s 8 - IL_01bc: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01c1: pop - IL_01c2: ldloc.s 6 - IL_01c4: callvirt instance int32 class NAnt.Core.ExpressionParseException::get_StartPos() - IL_01c9: stloc.s 10 - IL_01cb: ldloc.s 6 - IL_01cd: callvirt instance int32 class NAnt.Core.ExpressionParseException::get_EndPos() - IL_01d2: stloc.s 11 - IL_01d4: ldloc.s 10 - IL_01d6: ldc.i4.m1 - IL_01d7: bne.un IL_01e4 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method BuildListenerEnumerator::MoveNext - IL_01dc: ldloc.s 11 - IL_01de: ldc.i4.m1 - IL_01df: beq IL_024c + // method line 1695 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x21364 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01e4: nop - IL_01e5: ldloc.s 7 - IL_01e7: call string class [mscorlib]System.Environment::get_NewLine() - IL_01ec: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01f1: pop - IL_01f2: ldloc.s 11 - IL_01f4: ldc.i4.m1 - IL_01f5: bne.un IL_0200 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.MoveNext - IL_01fa: ldloc.s 10 - IL_01fc: ldc.i4.1 - IL_01fd: add - IL_01fe: stloc.s 11 - IL_0200: ldc.i4.0 - IL_0201: stloc.s 12 - IL_0203: br IL_0218 + // method line 1696 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x21384 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method BuildListenerEnumerator::Reset - IL_0208: ldloc.s 7 - IL_020a: ldc.i4.s 0x20 - IL_020c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0211: pop - IL_0212: ldloc.s 12 - IL_0214: ldc.i4.1 - IL_0215: add - IL_0216: stloc.s 12 - IL_0218: ldloc.s 12 - IL_021a: ldloc.s 10 - IL_021c: ldloc.s 9 - IL_021e: callvirt instance int32 string::get_Length() - IL_0223: add - IL_0224: blt IL_0208 + // method line 1697 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x21392 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.Reset - IL_0229: ldloc.s 10 - IL_022b: stloc.s 13 - IL_022d: br IL_0242 + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.BuildListenerEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.IBuildListener Current () + { + .get instance default class NAnt.Core.IBuildListener NAnt.Core.BuildListenerEnumerator::get_Current () + } + } // end of class NAnt.Core.BuildListenerEnumerator +} - IL_0232: ldloc.s 7 - IL_0234: ldc.i4.s 0x5e - IL_0236: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_023b: pop - IL_023c: ldloc.s 13 - IL_023e: ldc.i4.1 - IL_023f: add - IL_0240: stloc.s 13 - IL_0242: ldloc.s 13 - IL_0244: ldloc.s 11 - IL_0246: blt IL_0232 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit LogWriter + extends [mscorlib]System.IO.TextWriter + { + .field private initonly class NAnt.Core.Task _task + .field private initonly valuetype NAnt.Core.Level _outputLevel + .field private string _message - IL_024b: nop - IL_024c: ldloc.s 7 - IL_024e: callvirt instance string object::ToString() - IL_0253: ldarg.2 - IL_0254: ldloc.s 6 - IL_0256: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_025b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0260: throw - } // end handler 0 - IL_0261: ldloc.0 - IL_0262: ret - } // end of method PropertyDictionary::EvaluateEmbeddedExpressions + // method line 1698 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Task task, valuetype NAnt.Core.Level outputLevel, class [mscorlib]System.IFormatProvider formatProvider) cil managed + { + // Method begins at RVA 0x213a0 + // Code size 34 (0x22) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.Core.LogWriter::_message + IL_000b: ldarg.0 + IL_000c: ldarg.3 + IL_000d: call instance void class [mscorlib]System.IO.TextWriter::'.ctor'(class [mscorlib]System.IFormatProvider) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: stfld class NAnt.Core.Task NAnt.Core.LogWriter::_task + IL_001a: ldarg.0 + IL_001b: ldarg.2 + IL_001c: stfld valuetype NAnt.Core.Level NAnt.Core.LogWriter::_outputLevel + IL_0021: ret + } // end of method LogWriter::.ctor - // method line 1721 - .method private hidebysig - instance default void CheckDeprecation (string name) cil managed + // method line 1699 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0x22ea8 - // Code size 856 (0x358) - .maxstack 7 + // Method begins at RVA 0x213c4 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Generic.Dictionary`2 V_0, - int32 V_1) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0352 + IL_0001: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0007: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.Core.PropertyDictionary::'<>f__switch$map0' - IL_000c: brtrue IL_00d9 + IL_000c: ldloc.0 + IL_000d: ret + } // end of method LogWriter::get_Encoding - IL_0011: ldc.i4.s 0x0f - IL_0013: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) - IL_0018: stloc.0 - IL_0019: ldloc.0 - IL_001a: ldstr "nant.filename" - IL_001f: ldc.i4.0 - IL_0020: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0025: ldloc.0 - IL_0026: ldstr "nant.version" - IL_002b: ldc.i4.1 - IL_002c: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0031: ldloc.0 - IL_0032: ldstr "nant.location" - IL_0037: ldc.i4.2 - IL_0038: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_003d: ldloc.0 - IL_003e: ldstr "nant.project.basedir" - IL_0043: ldc.i4.3 - IL_0044: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0049: ldloc.0 - IL_004a: ldstr "nant.project.name" - IL_004f: ldc.i4.4 - IL_0050: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0055: ldloc.0 - IL_0056: ldstr "nant.project.buildfile" - IL_005b: ldc.i4.5 - IL_005c: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0061: ldloc.0 - IL_0062: ldstr "nant.project.default" - IL_0067: ldc.i4.6 - IL_0068: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_006d: ldloc.0 - IL_006e: ldstr "nant.platform.name" - IL_0073: ldc.i4.7 - IL_0074: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0079: ldloc.0 - IL_007a: ldstr "nant.platform.win32" - IL_007f: ldc.i4.8 - IL_0080: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0085: ldloc.0 - IL_0086: ldstr "nant.platform.unix" - IL_008b: ldc.i4.s 0x09 - IL_008d: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0092: ldloc.0 - IL_0093: ldstr "nant.settings.currentframework.description" - IL_0098: ldc.i4.s 0x0a - IL_009a: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_009f: ldloc.0 - IL_00a0: ldstr "nant.settings.currentframework.frameworkdirectory" - IL_00a5: ldc.i4.s 0x0b - IL_00a7: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_00ac: ldloc.0 - IL_00ad: ldstr "nant.settings.currentframework.sdkdirectory" - IL_00b2: ldc.i4.s 0x0c - IL_00b4: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_00b9: ldloc.0 - IL_00ba: ldstr "nant.settings.currentframework.frameworkassemblydirectory" - IL_00bf: ldc.i4.s 0x0d - IL_00c1: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_00c6: ldloc.0 - IL_00c7: ldstr "nant.settings.currentframework.runtimeengine" - IL_00cc: ldc.i4.s 0x0e - IL_00ce: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_00d3: ldloc.0 - IL_00d4: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.Core.PropertyDictionary::'<>f__switch$map0' - IL_00d9: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.Core.PropertyDictionary::'<>f__switch$map0' - IL_00de: ldarg.1 - IL_00df: ldloca.s 1 - IL_00e1: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_00e6: brfalse IL_0352 + // method line 1700 + .method public virtual hidebysig + instance default void Write (char[] chars) cil managed + { + // Method begins at RVA 0x213de + // Code size 20 (0x14) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldc.i4.0 + IL_0004: ldarg.1 + IL_0005: ldlen + IL_0006: conv.i4 + IL_0007: ldc.i4.1 + IL_0008: sub + IL_0009: newobj instance void string::'.ctor'(char[], int32, int32) + IL_000e: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_0013: ret + } // end of method LogWriter::Write - IL_00eb: ldloc.1 - IL_00ec: switch ( - IL_0136, - IL_015a, - IL_017e, - IL_01a2, - IL_01c6, - IL_01ea, - IL_020e, - IL_0232, - IL_0256, - IL_027a, - IL_029e, - IL_02c2, - IL_02e6, - IL_030a, - IL_032e, - IL_0352) - IL_0131: br IL_0352 + // method line 1701 + .method public virtual hidebysig + instance default void Write (string 'value') cil managed + { + // Method begins at RVA 0x213f3 + // Code size 20 (0x14) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld string NAnt.Core.LogWriter::_message + IL_0008: ldarg.1 + IL_0009: call string string::Concat(string, string) + IL_000e: stfld string NAnt.Core.LogWriter::_message + IL_0013: ret + } // end of method LogWriter::Write - IL_0136: ldarg.0 - IL_0137: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_013c: ldc.i4 4000 - IL_0141: ldstr "Built-in property '{0}' is deprecated. Use assembly::get-location(nant::get-assembly()) expression instead." - IL_0146: ldc.i4.1 - IL_0147: newarr [mscorlib]System.Object - IL_014c: dup - IL_014d: ldc.i4.0 - IL_014e: ldarg.1 - IL_014f: stelem.ref - IL_0150: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0155: br IL_0357 + // method line 1702 + .method public virtual hidebysig + instance default void WriteLine () cil managed + { + // Method begins at RVA 0x21408 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldsfld string [mscorlib]System.String::Empty + IL_0007: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_000c: ret + } // end of method LogWriter::WriteLine - IL_015a: ldarg.0 - IL_015b: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_0160: ldc.i4 4000 - IL_0165: ldstr "Built-in property '{0}' is deprecated. Use the assemblyname::get-version(assembly::get-name(nant::get-assembly)) expression instead." - IL_016a: ldc.i4.1 - IL_016b: newarr [mscorlib]System.Object - IL_0170: dup - IL_0171: ldc.i4.0 - IL_0172: ldarg.1 - IL_0173: stelem.ref - IL_0174: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0179: br IL_0357 + // method line 1703 + .method public virtual hidebysig + instance default void WriteLine (string 'value') cil managed + { + // Method begins at RVA 0x21416 + // Code size 54 (0x36) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld string NAnt.Core.LogWriter::_message + IL_0008: ldarg.1 + IL_0009: call string string::Concat(string, string) + IL_000e: stfld string NAnt.Core.LogWriter::_message + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.Task NAnt.Core.LogWriter::_task + IL_0019: ldarg.0 + IL_001a: call instance valuetype NAnt.Core.Level class NAnt.Core.LogWriter::get_OutputLevel() + IL_001f: ldarg.0 + IL_0020: ldfld string NAnt.Core.LogWriter::_message + IL_0025: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_002a: ldarg.0 + IL_002b: ldsfld string [mscorlib]System.String::Empty + IL_0030: stfld string NAnt.Core.LogWriter::_message + IL_0035: ret + } // end of method LogWriter::WriteLine - IL_017e: ldarg.0 - IL_017f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_0184: ldc.i4 4000 - IL_0189: ldstr "Built-in property '{0}' is deprecated. Use the nant::get-base-directory() function instead." - IL_018e: ldc.i4.1 - IL_018f: newarr [mscorlib]System.Object - IL_0194: dup - IL_0195: ldc.i4.0 - IL_0196: ldarg.1 - IL_0197: stelem.ref - IL_0198: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_019d: br IL_0357 + // method line 1704 + .method public virtual hidebysig + instance default void WriteLine (string line, object[] args) cil managed + { + // Method begins at RVA 0x21450 + // Code size 65 (0x41) + .maxstack 5 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld string NAnt.Core.LogWriter::_message + IL_0008: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000d: ldarg.1 + IL_000e: ldarg.2 + IL_000f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0014: call string string::Concat(string, string) + IL_0019: stfld string NAnt.Core.LogWriter::_message + IL_001e: ldarg.0 + IL_001f: ldfld class NAnt.Core.Task NAnt.Core.LogWriter::_task + IL_0024: ldarg.0 + IL_0025: call instance valuetype NAnt.Core.Level class NAnt.Core.LogWriter::get_OutputLevel() + IL_002a: ldarg.0 + IL_002b: ldfld string NAnt.Core.LogWriter::_message + IL_0030: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0035: ldarg.0 + IL_0036: ldsfld string [mscorlib]System.String::Empty + IL_003b: stfld string NAnt.Core.LogWriter::_message + IL_0040: ret + } // end of method LogWriter::WriteLine - IL_01a2: ldarg.0 - IL_01a3: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_01a8: ldc.i4 4000 - IL_01ad: ldstr "Built-in property '{0}' is deprecated. Use the project::get-base-directory() function instead." - IL_01b2: ldc.i4.1 - IL_01b3: newarr [mscorlib]System.Object - IL_01b8: dup - IL_01b9: ldc.i4.0 - IL_01ba: ldarg.1 - IL_01bb: stelem.ref - IL_01bc: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_01c1: br IL_0357 + // method line 1705 + .method public virtual hidebysig + instance default void Flush () cil managed + { + // Method begins at RVA 0x2149d + // Code size 54 (0x36) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.LogWriter::_message + IL_0007: callvirt instance int32 string::get_Length() + IL_000c: brfalse IL_0035 - IL_01c6: ldarg.0 - IL_01c7: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_01cc: ldc.i4 4000 - IL_01d1: ldstr "Built-in property '{0}' is deprecated. Use the project::get-name() function instead." - IL_01d6: ldc.i4.1 - IL_01d7: newarr [mscorlib]System.Object - IL_01dc: dup - IL_01dd: ldc.i4.0 - IL_01de: ldarg.1 - IL_01df: stelem.ref - IL_01e0: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_01e5: br IL_0357 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldfld class NAnt.Core.Task NAnt.Core.LogWriter::_task + IL_0018: ldarg.0 + IL_0019: call instance valuetype NAnt.Core.Level class NAnt.Core.LogWriter::get_OutputLevel() + IL_001e: ldarg.0 + IL_001f: ldfld string NAnt.Core.LogWriter::_message + IL_0024: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0029: ldarg.0 + IL_002a: ldsfld string [mscorlib]System.String::Empty + IL_002f: stfld string NAnt.Core.LogWriter::_message + IL_0034: nop + IL_0035: ret + } // end of method LogWriter::Flush - IL_01ea: ldarg.0 - IL_01eb: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_01f0: ldc.i4 4000 - IL_01f5: ldstr "Built-in property '{0}' is deprecated. Use the project::get-buildfile-uri() function instead." - IL_01fa: ldc.i4.1 - IL_01fb: newarr [mscorlib]System.Object - IL_0200: dup - IL_0201: ldc.i4.0 - IL_0202: ldarg.1 - IL_0203: stelem.ref - IL_0204: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0209: br IL_0357 + // method line 1706 + .method public virtual hidebysig + instance default void Close () cil managed + { + // Method begins at RVA 0x214d4 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_0007: ldarg.0 + IL_0008: call instance void class [mscorlib]System.IO.TextWriter::Close() + IL_000d: ret + } // end of method LogWriter::Close - IL_020e: ldarg.0 - IL_020f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_0214: ldc.i4 4000 - IL_0219: ldstr "Built-in property '{0}' is deprecated. Use the project::get-default-target() function instead." - IL_021e: ldc.i4.1 - IL_021f: newarr [mscorlib]System.Object - IL_0224: dup - IL_0225: ldc.i4.0 - IL_0226: ldarg.1 - IL_0227: stelem.ref - IL_0228: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_022d: br IL_0357 + // method line 1707 + .method public virtual hidebysig + instance default object InitializeLifetimeService () cil managed + { + // Method begins at RVA 0x214e4 + // Code size 47 (0x2f) + .maxstack 2 + .locals init ( + class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, + object V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() + IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() + IL_0013: ldc.i4.1 + IL_0014: bne.un IL_0026 - IL_0232: ldarg.0 - IL_0233: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_0238: ldc.i4 4000 - IL_023d: ldstr "Built-in property '{0}' is deprecated. Use the platform::get-name() function instead." - IL_0242: ldc.i4.1 - IL_0243: newarr [mscorlib]System.Object - IL_0248: dup - IL_0249: ldc.i4.0 - IL_024a: ldarg.1 - IL_024b: stelem.ref - IL_024c: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0251: br IL_0357 + IL_0019: nop + IL_001a: ldloc.0 + IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero + IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) + IL_0025: nop + IL_0026: ldloc.0 + IL_0027: stloc.1 + IL_0028: br IL_002d - IL_0256: ldarg.0 - IL_0257: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_025c: ldc.i4 4000 - IL_0261: ldstr "Built-in property '{0}' is deprecated. Use the platform::is-win32() function instead." - IL_0266: ldc.i4.1 - IL_0267: newarr [mscorlib]System.Object - IL_026c: dup - IL_026d: ldc.i4.0 - IL_026e: ldarg.1 - IL_026f: stelem.ref - IL_0270: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0275: br IL_0357 + IL_002d: ldloc.1 + IL_002e: ret + } // end of method LogWriter::InitializeLifetimeService - IL_027a: ldarg.0 - IL_027b: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_0280: ldc.i4 4000 - IL_0285: ldstr "Built-in property '{0}' is deprecated. Use the platform::is-unix() function instead." - IL_028a: ldc.i4.1 - IL_028b: newarr [mscorlib]System.Object - IL_0290: dup - IL_0291: ldc.i4.0 - IL_0292: ldarg.1 - IL_0293: stelem.ref - IL_0294: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0299: br IL_0357 + // method line 1708 + .method family hidebysig specialname + instance default valuetype NAnt.Core.Level get_OutputLevel () cil managed + { + // Method begins at RVA 0x21520 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.Level V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.LogWriter::_outputLevel + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_029e: ldarg.0 - IL_029f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_02a4: ldc.i4 4000 - IL_02a9: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-description(framework::get-target-framework()) function instead." - IL_02ae: ldc.i4.1 - IL_02af: newarr [mscorlib]System.Object - IL_02b4: dup - IL_02b5: ldc.i4.0 - IL_02b6: ldarg.1 - IL_02b7: stelem.ref - IL_02b8: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_02bd: br IL_0357 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LogWriter::get_OutputLevel - IL_02c2: ldarg.0 - IL_02c3: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_02c8: ldc.i4 4000 - IL_02cd: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-framework-directory(framework::get-target-framework()) function instead." - IL_02d2: ldc.i4.1 - IL_02d3: newarr [mscorlib]System.Object - IL_02d8: dup - IL_02d9: ldc.i4.0 - IL_02da: ldarg.1 - IL_02db: stelem.ref - IL_02dc: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_02e1: br IL_0357 + .property instance class [mscorlib]System.Text.Encoding Encoding () + { + .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.LogWriter::get_Encoding () + } + .property instance valuetype NAnt.Core.Level OutputLevel () + { + .get instance default valuetype NAnt.Core.Level NAnt.Core.LogWriter::get_OutputLevel () + } + } // end of class NAnt.Core.LogWriter +} - IL_02e6: ldarg.0 - IL_02e7: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_02ec: ldc.i4 4000 - IL_02f1: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-sdk-directory(framework::get-target-framework()) function instead." - IL_02f6: ldc.i4.1 - IL_02f7: newarr [mscorlib]System.Object - IL_02fc: dup - IL_02fd: ldc.i4.0 - IL_02fe: ldarg.1 - IL_02ff: stelem.ref - IL_0300: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0305: br IL_0357 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit DataTypeBaseBuilder + extends NAnt.Core.Extensibility.ExtensionBuilder + { + .field private initonly string _className + .field private string _dataTypeName - IL_030a: ldarg.0 - IL_030b: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_0310: ldc.i4 4000 - IL_0315: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-assembly-directory(framework::get-target-framework()) function instead." - IL_031a: ldc.i4.1 - IL_031b: newarr [mscorlib]System.Object - IL_0320: dup - IL_0321: ldc.i4.0 - IL_0322: ldarg.1 - IL_0323: stelem.ref - IL_0324: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0329: br IL_0357 + // method line 1709 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed + { + // Method begins at RVA 0x2153b + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) + IL_0007: ldarg.2 + IL_0008: call instance void class NAnt.Core.DataTypeBaseBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) + IL_000d: nop + IL_000e: ret + } // end of method DataTypeBaseBuilder::.ctor - IL_032e: ldarg.0 - IL_032f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() - IL_0334: ldc.i4 4000 - IL_0339: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-runtime-engine(framework::get-target-framework()) function instead." - IL_033e: ldc.i4.1 - IL_033f: newarr [mscorlib]System.Object - IL_0344: dup - IL_0345: ldc.i4.0 - IL_0346: ldarg.1 - IL_0347: stelem.ref - IL_0348: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_034d: br IL_0357 + // method line 1710 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed + { + // Method begins at RVA 0x2154b + // Code size 16 (0x10) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldarg.2 + IL_000a: stfld string NAnt.Core.DataTypeBaseBuilder::_className + IL_000f: ret + } // end of method DataTypeBaseBuilder::.ctor - IL_0352: br IL_0357 + // method line 1711 + .method public hidebysig specialname + instance default string get_ClassName () cil managed + { + // Method begins at RVA 0x2155c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.DataTypeBaseBuilder::_className + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0357: ret - } // end of method PropertyDictionary::CheckDeprecation + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeBaseBuilder::get_ClassName - // method line 1722 - .method private static hidebysig - default void ValidatePropertyName (string propertyName, class NAnt.Core.Location location) cil managed + // method line 1712 + .method public hidebysig specialname + instance default string get_DataTypeName () cil managed { - // Method begins at RVA 0x2320c - // Code size 108 (0x6c) - .maxstack 3 + // Method begins at RVA 0x21578 + // Code size 78 (0x4e) + .maxstack 2 + .locals init ( + class NAnt.Core.Attributes.ElementNameAttribute V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "^[_A-Za-z0-9][_A-Za-z0-9\\-.]*$" - IL_0007: call bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string, string) - IL_000c: brtrue IL_002e - - IL_0011: nop - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0017: ldstr "NA1064" - IL_001c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0021: ldarg.0 - IL_0022: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0027: ldarg.1 - IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_002d: throw - IL_002e: ldarg.0 - IL_002f: ldstr "-" - IL_0034: callvirt instance bool string::EndsWith(string) - IL_0039: brtrue IL_004e - - IL_003e: ldarg.0 - IL_003f: ldstr "." - IL_0044: callvirt instance bool string::EndsWith(string) - IL_0049: brfalse IL_006b - - IL_004e: nop - IL_004f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0054: ldstr "NA1064" - IL_0059: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_005e: ldarg.0 - IL_005f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0064: ldarg.1 - IL_0065: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_006a: throw - IL_006b: ret - } // end of method PropertyDictionary::ValidatePropertyName - - // method line 1723 - .method private static hidebysig - default void ValidatePropertyValue (object 'value', class NAnt.Core.Location location) cil managed - { - // Method begins at RVA 0x23284 - // Code size 70 (0x46) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brfalse IL_003f - - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: isinst [mscorlib]System.String - IL_000e: brtrue IL_0039 - - IL_0013: nop - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: ldstr "NA1066" - IL_001e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0023: ldarg.0 - IL_0024: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0029: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002e: ldstr "value" - IL_0033: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) - IL_0038: throw - IL_0039: nop - IL_003a: br IL_0045 + IL_0002: ldfld string NAnt.Core.DataTypeBaseBuilder::_dataTypeName + IL_0007: brtrue IL_0040 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_0013: ldarg.0 + IL_0014: call instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() + IL_0019: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) + IL_001e: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0028: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_002d: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_0032: stloc.0 + IL_0033: ldarg.0 + IL_0034: ldloc.0 + IL_0035: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_003a: stfld string NAnt.Core.DataTypeBaseBuilder::_dataTypeName IL_003f: nop - IL_0040: br IL_0045 + IL_0040: ldarg.0 + IL_0041: ldfld string NAnt.Core.DataTypeBaseBuilder::_dataTypeName + IL_0046: stloc.1 + IL_0047: br IL_004c - IL_0045: ret - } // end of method PropertyDictionary::ValidatePropertyValue + IL_004c: ldloc.1 + IL_004d: ret + } // end of method DataTypeBaseBuilder::get_DataTypeName - // method line 1724 - .method assembly static hidebysig - default class NAnt.Core.BuildException CreateCircularException (string end, class [mscorlib]System.Collections.Stack stack) cil managed + // method line 1713 + .method public hidebysig + instance default class NAnt.Core.DataTypeBase CreateDataTypeBase () cil managed { - // Method begins at RVA 0x232d8 - // Code size 85 (0x55) - .maxstack 2 + // Method begins at RVA 0x215d4 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 42 (0x2a) + .maxstack 8 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1, - class NAnt.Core.BuildException V_2) + class NAnt.Core.DataTypeBase V_0) IL_0000: nop - IL_0001: ldstr "Circular property reference: " - IL_0006: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) - IL_000b: stloc.0 - IL_000c: ldloc.0 - IL_000d: ldarg.0 - IL_000e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0013: pop - IL_0014: nop - IL_0015: ldarg.1 - IL_0016: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_001b: castclass [mscorlib]System.String - IL_0020: stloc.1 - IL_0021: ldloc.0 - IL_0022: ldstr " <- " - IL_0027: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_002c: pop - IL_002d: ldloc.0 - IL_002e: ldloc.1 - IL_002f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0034: pop - IL_0035: nop - IL_0036: ldloc.1 - IL_0037: ldarg.0 - IL_0038: callvirt instance bool string::Equals(string) - IL_003d: brfalse IL_0014 - - IL_0042: ldloc.0 - IL_0043: callvirt instance string object::ToString() - IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_004d: stloc.2 - IL_004e: br IL_0053 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() + IL_000d: ldc.i4.1 + IL_000e: ldc.i4.s 0x14 + IL_0010: ldnull + IL_0011: ldnull + IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0017: ldnull + IL_0018: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) + IL_001d: castclass NAnt.Core.DataTypeBase + IL_0022: stloc.0 + IL_0023: br IL_0028 - IL_0053: ldloc.2 - IL_0054: ret - } // end of method PropertyDictionary::CreateCircularException + IL_0028: ldloc.0 + IL_0029: ret + } // end of method DataTypeBaseBuilder::CreateDataTypeBase - .property instance string Item (string) + .property instance string ClassName () { - .get instance default string NAnt.Core.PropertyDictionary::get_Item (string name) - .set instance default void NAnt.Core.PropertyDictionary::set_Item (string name, string 'value') + .get instance default string NAnt.Core.DataTypeBaseBuilder::get_ClassName () } - .property instance class NAnt.Core.Project Project () + .property instance string DataTypeName () { - .get instance default class NAnt.Core.Project NAnt.Core.PropertyDictionary::get_Project () + .get instance default string NAnt.Core.DataTypeBaseBuilder::get_DataTypeName () } - } // end of class NAnt.Core.PropertyDictionary + } // end of class NAnt.Core.DataTypeBaseBuilder } .namespace NAnt.Core { - .class private auto ansi serializable beforefieldinit LocationMap + .class public auto ansi beforefieldinit ConsoleDriver extends [mscorlib]System.Object { - .field private class [mscorlib]System.Collections.Hashtable _fileMap + .field private static literal int32 INDENTATION_SIZE = int32(0x00000004) - // method line 1725 + // method line 1714 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x23339 - // Code size 19 (0x13) + // Method begins at RVA 0x2160a + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: nop - IL_0012: ret - } // end of method LocationMap::.ctor - - // method line 1726 - .method public hidebysig - instance default bool FileIsMapped (string fileOrUri) cil managed - { - // Method begins at RVA 0x23350 - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - class [System]System.Uri V_0, - bool V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap - IL_000e: ldloc.0 - IL_000f: callvirt instance string class [System]System.Uri::get_AbsoluteUri() - IL_0014: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0019: stloc.1 - IL_001a: br IL_001f - - IL_001f: ldloc.1 - IL_0020: ret - } // end of method LocationMap::FileIsMapped + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method ConsoleDriver::.ctor - // method line 1727 - .method public hidebysig - instance default void Add (class [System.Xml]System.Xml.XmlDocument doc) cil managed + // method line 1715 + .method public static hidebysig + default int32 Main (string[] args) cil managed { - // Method begins at RVA 0x23380 - // Code size 660 (0x294) - .maxstack 5 + // Method begins at RVA 0x21614 + // Code size 1595 (0x63b) + .maxstack 4 .locals init ( - class [System]System.Uri V_0, - string V_1, - class [mscorlib]System.Collections.Hashtable V_2, - string V_3, - string V_4, + class NAnt.Core.Util.CommandLineParser V_0, + class NAnt.Core.Project V_1, + valuetype NAnt.Core.Level V_2, + class NAnt.Core.Util.AssemblyResolver V_3, + class NAnt.Core.CommandLineOptions V_4, int32 V_5, - class [System.Xml]System.Xml.XmlTextReader V_6, - class [mscorlib]System.Collections.ArrayList V_7, - int32 V_8, - string V_9, - string[] V_10, - string V_11, - int32 V_12, - int32 V_13, - string V_14) + class NAnt.Core.PropertyDictionary V_6, + string V_7, + class [System]System.Collections.Specialized.StringEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + string V_10, + class [mscorlib]System.Collections.IEnumerator V_11, + class [mscorlib]System.IDisposable V_12, + valuetype [mscorlib]System.Collections.DictionaryEntry V_13, + class [mscorlib]System.Collections.IDictionaryEnumerator V_14, + class [mscorlib]System.IDisposable V_15, + class [mscorlib]System.Reflection.Assembly V_16, + class NAnt.Core.FrameworkInfo V_17, + class [mscorlib]System.Exception V_18, + class NAnt.Core.FrameworkInfo[] V_19, + class NAnt.Core.FrameworkInfo V_20, + class NAnt.Core.FrameworkInfo[] V_21, + int32 V_22, + class NAnt.Core.Util.CommandLineArgumentException V_23, + class [mscorlib]System.ApplicationException V_24, + class [mscorlib]System.Exception V_25) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: brfalse IL_0017 + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldc.i4 3000 + IL_000a: stloc.2 + IL_000b: newobj instance void class NAnt.Core.Util.AssemblyResolver::'.ctor'() + IL_0010: stloc.3 + IL_0011: ldloc.3 + IL_0012: callvirt instance void class NAnt.Core.Util.AssemblyResolver::Attach() + IL_0017: newobj instance void class NAnt.Core.CommandLineOptions::'.ctor'() + IL_001c: stloc.s 4 + .try { // 7 + .try { // 4 + IL_001e: nop + IL_001f: ldtoken NAnt.Core.CommandLineOptions + IL_0024: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0029: ldc.i4.1 + IL_002a: newobj instance void class NAnt.Core.Util.CommandLineParser::'.ctor'(class [mscorlib]System.Type, bool) + IL_002f: stloc.0 + IL_0030: ldloc.0 + IL_0031: ldarg.0 + IL_0032: ldloc.s 4 + IL_0034: callvirt instance void class NAnt.Core.Util.CommandLineParser::Parse(string[], object) + IL_0039: ldloc.s 4 + IL_003b: callvirt instance bool class NAnt.Core.CommandLineOptions::get_NoLogo() + IL_0040: brtrue IL_0057 - IL_0011: nop - IL_0012: br IL_0293 + IL_0045: nop + IL_0046: ldloc.0 + IL_0047: callvirt instance string class NAnt.Core.Util.CommandLineParser::get_LogoBanner() + IL_004c: call void class [mscorlib]System.Console::WriteLine(string) + IL_0051: call void class [mscorlib]System.Console::WriteLine() + IL_0056: nop + IL_0057: ldloc.s 4 + IL_0059: callvirt instance bool class NAnt.Core.CommandLineOptions::get_ShowHelp() + IL_005e: brfalse IL_0072 - IL_0017: ldarg.1 - IL_0018: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() - IL_001d: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0022: stloc.0 - IL_0023: ldloc.0 - IL_0024: callvirt instance string class [System]System.Uri::get_AbsoluteUri() - IL_0029: stloc.1 - IL_002a: ldarg.0 - IL_002b: ldloc.1 - IL_002c: call instance bool class NAnt.Core.LocationMap::FileIsMapped(string) - IL_0031: brfalse IL_004d + IL_0063: nop + IL_0064: ldloc.0 + IL_0065: call void class NAnt.Core.ConsoleDriver::ShowHelp(class NAnt.Core.Util.CommandLineParser) + IL_006a: ldc.i4.0 + IL_006b: stloc.s 5 + IL_006d: leave IL_0638 - IL_0036: nop - IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003c: ldstr "XML document '{0}' has already been mapped." - IL_0041: ldloc.1 - IL_0042: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0047: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_004c: throw - IL_004d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0052: stloc.2 - IL_0053: ldstr "/" - IL_0058: stloc.3 - IL_0059: ldstr "" - IL_005e: stloc.s 4 - IL_0060: ldc.i4.0 - IL_0061: stloc.s 5 - IL_0063: ldloc.1 - IL_0064: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(string) - IL_0069: stloc.s 6 - .try { // 0 - IL_006b: nop - IL_006c: ldloc.2 - IL_006d: ldstr "/" - IL_0072: ldc.i4.1 - IL_0073: ldc.i4.1 - IL_0074: newobj instance void valuetype NAnt.Core.LocationMap/TextPosition::'.ctor'(int32, int32) - IL_0079: box NAnt.Core.LocationMap/TextPosition - IL_007e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0083: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0088: stloc.s 7 - IL_008a: br IL_026a + IL_0072: ldloc.s 4 + IL_0074: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Debug() + IL_0079: brfalse IL_008b - IL_008f: nop - IL_0090: ldloc.s 6 - IL_0092: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_0097: ldc.i4.s 0x0d - IL_0099: beq IL_0269 + IL_007e: nop + IL_007f: ldc.i4 1000 + IL_0084: stloc.2 + IL_0085: nop + IL_0086: br IL_00b8 - IL_009e: ldloc.s 6 - IL_00a0: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_00a5: ldc.i4.s 0x0f - IL_00a7: beq IL_0269 + IL_008b: ldloc.s 4 + IL_008d: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Verbose() + IL_0092: brfalse IL_00a4 - IL_00ac: ldloc.s 6 - IL_00ae: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_00b3: ldc.i4.7 - IL_00b4: beq IL_0269 + IL_0097: nop + IL_0098: ldc.i4 2000 + IL_009d: stloc.2 + IL_009e: nop + IL_009f: br IL_00b8 - IL_00b9: ldloc.s 6 - IL_00bb: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_00c0: ldc.i4.s 0x11 - IL_00c2: beq IL_0269 + IL_00a4: ldloc.s 4 + IL_00a6: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Quiet() + IL_00ab: brfalse IL_00b8 - IL_00c7: ldloc.s 6 - IL_00c9: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_00ce: ldc.i4.s 0x0a - IL_00d0: beq IL_0269 + IL_00b0: nop + IL_00b1: ldc.i4 4000 + IL_00b6: stloc.2 + IL_00b7: nop + IL_00b8: ldloc.s 4 + IL_00ba: callvirt instance string class NAnt.Core.CommandLineOptions::get_BuildFile() + IL_00bf: brfalse IL_0109 - IL_00d5: nop - IL_00d6: ldloc.s 6 - IL_00d8: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() - IL_00dd: stloc.s 8 - IL_00df: ldstr "" - IL_00e4: stloc.s 9 - IL_00e6: ldloc.s 6 - IL_00e8: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() - IL_00ed: ldloc.s 5 - IL_00ef: bge IL_0155 + IL_00c4: nop + IL_00c5: ldloc.1 + IL_00c6: brfalse IL_00f3 - IL_00f4: nop - IL_00f5: ldloc.3 - IL_00f6: ldc.i4.s 0x2f - IL_00f8: ldc.i4.0 - IL_00f9: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_00fe: stloc.s 10 - IL_0100: ldstr "" - IL_0105: stloc.s 11 - IL_0107: ldc.i4.1 - IL_0108: stloc.s 12 - IL_010a: br IL_012a + IL_00cb: nop + IL_00cc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00d1: ldstr "Buildfile has already been loaded! Using new value '{0}'; discarding old project file '{1}'" + IL_00d6: ldloc.s 4 + IL_00d8: callvirt instance string class NAnt.Core.CommandLineOptions::get_BuildFile() + IL_00dd: ldloc.1 + IL_00de: callvirt instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_00e3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00e8: call void class [mscorlib]System.Console::WriteLine(string) + IL_00ed: call void class [mscorlib]System.Console::WriteLine() + IL_00f2: nop + IL_00f3: ldloc.s 4 + IL_00f5: callvirt instance string class NAnt.Core.CommandLineOptions::get_BuildFile() + IL_00fa: ldloc.2 + IL_00fb: ldloc.s 4 + IL_00fd: callvirt instance int32 class NAnt.Core.CommandLineOptions::get_IndentationLevel() + IL_0102: newobj instance void class NAnt.Core.Project::'.ctor'(string, valuetype NAnt.Core.Level, int32) + IL_0107: stloc.1 + IL_0108: nop + IL_0109: ldloc.1 + IL_010a: brtrue IL_0131 - IL_010f: nop - IL_0110: ldloc.s 11 - IL_0112: ldstr "/" - IL_0117: ldloc.s 10 - IL_0119: ldloc.s 12 - IL_011b: ldelem.ref - IL_011c: call string string::Concat(string, string, string) - IL_0121: stloc.s 11 - IL_0123: nop - IL_0124: ldloc.s 12 - IL_0126: ldc.i4.1 - IL_0127: add - IL_0128: stloc.s 12 - IL_012a: ldloc.s 12 - IL_012c: ldloc.s 8 - IL_012e: ldc.i4.1 - IL_012f: add - IL_0130: blt IL_010f + IL_010f: nop + IL_0110: call string class [mscorlib]System.Environment::get_CurrentDirectory() + IL_0115: ldnull + IL_0116: ldloc.s 4 + IL_0118: callvirt instance bool class NAnt.Core.CommandLineOptions::get_FindInParent() + IL_011d: call string class NAnt.Core.ConsoleDriver::GetBuildFileName(string, string, bool) + IL_0122: ldloc.2 + IL_0123: ldloc.s 4 + IL_0125: callvirt instance int32 class NAnt.Core.CommandLineOptions::get_IndentationLevel() + IL_012a: newobj instance void class NAnt.Core.Project::'.ctor'(string, valuetype NAnt.Core.Level, int32) + IL_012f: stloc.1 + IL_0130: nop + IL_0131: ldloc.s 4 + IL_0133: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.CommandLineOptions::get_ExtensionAssemblies() + IL_0138: ldloc.1 + IL_0139: call void class NAnt.Core.ConsoleDriver::LoadExtensionAssemblies(class [System]System.Collections.Specialized.StringCollection, class NAnt.Core.Project) + IL_013e: ldloc.1 + IL_013f: newobj instance void class NAnt.Core.PropertyDictionary::'.ctor'(class NAnt.Core.Project) + IL_0144: stloc.s 6 + IL_0146: ldloc.s 4 + IL_0148: ldloc.1 + IL_0149: call void class NAnt.Core.ConsoleDriver::AddBuildListeners(class NAnt.Core.CommandLineOptions, class NAnt.Core.Project) + IL_014e: nop + IL_014f: ldloc.s 4 + IL_0151: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.CommandLineOptions::get_Targets() + IL_0156: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_015b: stloc.s 8 + .try { // 0 + IL_015d: br IL_017b - IL_0135: ldloc.s 11 - IL_0137: stloc.3 - IL_0138: ldloc.s 7 - IL_013a: ldloc.s 8 - IL_013c: ldc.i4.1 - IL_013d: add - IL_013e: ldloc.s 7 - IL_0140: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0145: ldloc.s 8 - IL_0147: ldc.i4.1 - IL_0148: add - IL_0149: sub - IL_014a: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveRange(int32, int32) - IL_014f: nop - IL_0150: br IL_0168 + IL_0162: ldloc.s 8 + IL_0164: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0169: stloc.s 7 + IL_016b: nop + IL_016c: ldloc.1 + IL_016d: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_0172: ldloc.s 7 + IL_0174: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0179: pop + IL_017a: nop + IL_017b: ldloc.s 8 + IL_017d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0182: brtrue IL_0162 - IL_0155: ldloc.s 6 - IL_0157: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() - IL_015c: ldloc.s 5 - IL_015e: ble IL_0168 + IL_0187: leave IL_01a3 - IL_0163: nop - IL_0164: ldloc.s 4 - IL_0166: stloc.3 - IL_0167: nop - IL_0168: ldloc.s 7 - IL_016a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_016f: stloc.s 13 - IL_0171: br IL_018c + } // end .try 0 + finally { // 0 + IL_018c: ldloc.s 8 + IL_018e: isinst [mscorlib]System.IDisposable + IL_0193: dup + IL_0194: stloc.s 9 + IL_0196: brfalse IL_01a2 - IL_0176: nop - IL_0177: ldloc.s 7 - IL_0179: ldc.i4.0 - IL_017a: box [mscorlib]System.Int32 - IL_017f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0184: pop - IL_0185: nop - IL_0186: ldloc.s 13 - IL_0188: ldc.i4.1 - IL_0189: add - IL_018a: stloc.s 13 - IL_018c: ldloc.s 13 - IL_018e: ldloc.s 8 - IL_0190: ldc.i4.1 - IL_0191: add - IL_0192: blt IL_0176 + IL_019b: ldloc.s 9 + IL_019d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01a2: endfinally + } // end handler 0 + IL_01a3: nop + IL_01a4: ldloc.s 4 + IL_01a6: callvirt instance class [System]System.Collections.Specialized.NameValueCollection class NAnt.Core.CommandLineOptions::get_Properties() + IL_01ab: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Collections.Specialized.NameObjectCollectionBase::GetEnumerator() + IL_01b0: stloc.s 11 + .try { // 1 + IL_01b2: br IL_01de - IL_0197: ldloc.s 7 - IL_0199: ldloc.s 8 - IL_019b: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_01a0: unbox.any [mscorlib]System.Int32 - IL_01a5: brtrue IL_01c0 + IL_01b7: ldloc.s 11 + IL_01b9: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01be: castclass [mscorlib]System.String + IL_01c3: stloc.s 10 + IL_01c5: nop + IL_01c6: ldloc.s 6 + IL_01c8: ldloc.s 10 + IL_01ca: ldloc.s 4 + IL_01cc: callvirt instance class [System]System.Collections.Specialized.NameValueCollection class NAnt.Core.CommandLineOptions::get_Properties() + IL_01d1: ldloc.s 10 + IL_01d3: callvirt instance string class [System]System.Collections.Specialized.NameValueCollection::Get(string) + IL_01d8: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_01dd: nop + IL_01de: ldloc.s 11 + IL_01e0: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01e5: brtrue IL_01b7 - IL_01aa: nop - IL_01ab: ldloc.s 7 - IL_01ad: ldloc.s 8 - IL_01af: ldc.i4.1 - IL_01b0: box [mscorlib]System.Int32 - IL_01b5: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_01ba: nop - IL_01bb: br IL_01e0 + IL_01ea: leave IL_0206 - IL_01c0: nop - IL_01c1: ldloc.s 7 - IL_01c3: ldloc.s 8 - IL_01c5: ldloc.s 7 - IL_01c7: ldloc.s 8 - IL_01c9: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_01ce: unbox.any [mscorlib]System.Int32 - IL_01d3: ldc.i4.1 - IL_01d4: add - IL_01d5: box [mscorlib]System.Int32 - IL_01da: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_01df: nop - IL_01e0: ldloc.3 - IL_01e1: ldstr "/" - IL_01e6: callvirt instance bool string::EndsWith(string) - IL_01eb: brfalse IL_01fa + } // end .try 1 + finally { // 1 + IL_01ef: ldloc.s 11 + IL_01f1: isinst [mscorlib]System.IDisposable + IL_01f6: dup + IL_01f7: stloc.s 12 + IL_01f9: brfalse IL_0205 - IL_01f0: nop - IL_01f1: ldloc.3 - IL_01f2: stloc.s 9 - IL_01f4: nop - IL_01f5: br IL_0209 + IL_01fe: ldloc.s 12 + IL_0200: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0205: endfinally + } // end handler 1 + IL_0206: nop + IL_0207: ldloc.s 6 + IL_0209: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.DictionaryBase::GetEnumerator() + IL_020e: stloc.s 14 + .try { // 2 + IL_0210: br IL_0248 - IL_01fa: nop - IL_01fb: ldloc.3 - IL_01fc: ldstr "/" - IL_0201: call string string::Concat(string, string) - IL_0206: stloc.s 9 - IL_0208: nop - IL_0209: ldloc.s 9 - IL_020b: stloc.s 14 - IL_020d: ldc.i4.4 - IL_020e: newarr [mscorlib]System.Object - IL_0213: dup - IL_0214: ldc.i4.0 - IL_0215: ldloc.s 14 - IL_0217: stelem.ref - IL_0218: dup - IL_0219: ldc.i4.1 - IL_021a: ldstr "child::node()[" - IL_021f: stelem.ref - IL_0220: dup - IL_0221: ldc.i4.2 - IL_0222: ldloc.s 7 - IL_0224: ldloc.s 8 - IL_0226: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_022b: stelem.ref - IL_022c: dup - IL_022d: ldc.i4.3 - IL_022e: ldstr "]" - IL_0233: stelem.ref - IL_0234: call string string::Concat(object[]) - IL_0239: stloc.s 9 - IL_023b: ldloc.2 - IL_023c: ldloc.s 9 - IL_023e: ldloc.s 6 - IL_0240: callvirt instance int32 class [System.Xml]System.Xml.XmlTextReader::get_LineNumber() - IL_0245: ldloc.s 6 - IL_0247: callvirt instance int32 class [System.Xml]System.Xml.XmlTextReader::get_LinePosition() - IL_024c: newobj instance void valuetype NAnt.Core.LocationMap/TextPosition::'.ctor'(int32, int32) - IL_0251: box NAnt.Core.LocationMap/TextPosition - IL_0256: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_025b: ldloc.s 9 - IL_025d: stloc.s 4 - IL_025f: ldloc.s 6 - IL_0261: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() - IL_0266: stloc.s 5 - IL_0268: nop - IL_0269: nop - IL_026a: ldloc.s 6 - IL_026c: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() - IL_0271: brtrue IL_008f + IL_0215: ldloc.s 14 + IL_0217: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_021c: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0221: stloc.s 13 + IL_0223: nop + IL_0224: ldloc.1 + IL_0225: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_022a: ldloca.s 13 + IL_022c: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0231: castclass [mscorlib]System.String + IL_0236: ldloca.s 13 + IL_0238: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_023d: castclass [mscorlib]System.String + IL_0242: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_0247: nop + IL_0248: ldloc.s 14 + IL_024a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_024f: brtrue IL_0215 - IL_0276: nop - IL_0277: leave IL_0286 + IL_0254: leave IL_0270 - } // end .try 0 - finally { // 0 - IL_027c: nop - IL_027d: ldloc.s 6 - IL_027f: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() - IL_0284: nop - IL_0285: endfinally - } // end handler 0 - IL_0286: ldarg.0 - IL_0287: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap - IL_028c: ldloc.1 - IL_028d: ldloc.2 - IL_028e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0293: ret - } // end of method LocationMap::Add + } // end .try 2 + finally { // 2 + IL_0259: ldloc.s 14 + IL_025b: isinst [mscorlib]System.IDisposable + IL_0260: dup + IL_0261: stloc.s 15 + IL_0263: brfalse IL_026f - // method line 1728 - .method public hidebysig - instance default class NAnt.Core.Location GetLocation (class [System.Xml]System.Xml.XmlNode node) cil managed - { - // Method begins at RVA 0x2363c - // Code size 170 (0xaa) - .maxstack 3 - .locals init ( - class NAnt.Core.Location V_0, - class [System]System.Uri V_1, - string V_2, - class [mscorlib]System.Collections.Hashtable V_3, - string V_4, - valuetype NAnt.Core.LocationMap/TextPosition V_5, - class NAnt.Core.Location V_6) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: brfalse IL_001c + IL_0268: ldloc.s 15 + IL_026a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_026f: endfinally + } // end handler 2 + IL_0270: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0275: stloc.s 16 + IL_0277: ldloc.1 + IL_0278: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_027d: ldstr "nant.filename" + IL_0282: ldloc.s 16 + IL_0284: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_0289: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_028e: ldloc.1 + IL_028f: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0294: ldstr "nant.version" + IL_0299: ldloc.s 16 + IL_029b: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_02a0: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_02a5: callvirt instance string object::ToString() + IL_02aa: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_02af: ldloc.1 + IL_02b0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_02b5: ldstr "nant.location" + IL_02ba: ldloc.s 16 + IL_02bc: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_02c1: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_02c6: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_02cb: ldloc.s 4 + IL_02cd: callvirt instance string class NAnt.Core.CommandLineOptions::get_TargetFramework() + IL_02d2: brfalse IL_0414 - IL_0011: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0016: stloc.0 - IL_0017: br IL_00a8 + IL_02d7: nop + IL_02d8: ldloc.1 + IL_02d9: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_02de: ldloc.s 4 + IL_02e0: callvirt instance string class NAnt.Core.CommandLineOptions::get_TargetFramework() + IL_02e5: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_02ea: stloc.s 17 + IL_02ec: ldloc.s 17 + IL_02ee: brfalse IL_0363 - IL_001c: ldarg.1 - IL_001d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() - IL_0022: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0027: stloc.1 - IL_0028: ldloc.1 - IL_0029: callvirt instance string class [System]System.Uri::get_AbsoluteUri() - IL_002e: stloc.2 - IL_002f: ldarg.0 - IL_0030: ldloc.2 - IL_0031: call instance bool class NAnt.Core.LocationMap::FileIsMapped(string) - IL_0036: brtrue IL_0047 + IL_02f3: nop + .try { // 3 + IL_02f4: nop + IL_02f5: ldloc.s 17 + IL_02f7: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() + IL_02fc: ldloc.1 + IL_02fd: ldloc.s 17 + IL_02ff: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) + IL_0304: nop + IL_0305: leave IL_035d - IL_003b: nop - IL_003c: ldstr "Xml node has not been mapped." - IL_0041: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0046: throw - IL_0047: ldarg.0 - IL_0048: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap - IL_004d: ldloc.2 - IL_004e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0053: castclass [mscorlib]System.Collections.Hashtable - IL_0058: stloc.3 - IL_0059: ldarg.0 - IL_005a: ldarg.1 - IL_005b: call instance string class NAnt.Core.LocationMap::GetXPathFromNode(class [System.Xml]System.Xml.XmlNode) - IL_0060: stloc.s 4 - IL_0062: ldloc.3 - IL_0063: ldloc.s 4 - IL_0065: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_006a: brtrue IL_007b + } // end .try 3 + catch class [mscorlib]System.Exception { // 3 + IL_030a: stloc.s 18 + IL_030c: nop + IL_030d: ldloc.s 18 + IL_030f: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) + IL_0314: ldc.i4 1000 + IL_0319: ldloc.2 + IL_031a: blt IL_0355 - IL_006f: nop - IL_0070: ldstr "Xml node has not been mapped." - IL_0075: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_007a: throw - IL_007b: ldloc.3 - IL_007c: ldloc.s 4 - IL_007e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0083: unbox.any NAnt.Core.LocationMap/TextPosition - IL_0088: stloc.s 5 - IL_008a: ldloc.2 - IL_008b: ldloca.s 5 - IL_008d: ldfld int32 NAnt.Core.LocationMap/TextPosition::Line - IL_0092: ldloca.s 5 - IL_0094: ldfld int32 NAnt.Core.LocationMap/TextPosition::Column - IL_0099: newobj instance void class NAnt.Core.Location::'.ctor'(string, int32, int32) - IL_009e: stloc.s 6 - IL_00a0: ldloc.s 6 - IL_00a2: stloc.0 - IL_00a3: br IL_00a8 + IL_031f: nop + IL_0320: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0325: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_032a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_032f: ldstr "Stacktrace:" + IL_0334: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0339: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_033e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0343: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0348: ldloc.s 18 + IL_034a: callvirt instance string object::ToString() + IL_034f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0354: nop + IL_0355: ldc.i4.1 + IL_0356: stloc.s 5 + IL_0358: leave IL_0638 - IL_00a8: ldloc.0 - IL_00a9: ret - } // end of method LocationMap::GetLocation + } // end handler 3 + IL_035d: nop + IL_035e: br IL_0413 - // method line 1729 - .method private hidebysig - instance default string GetXPathFromNode (class [System.Xml]System.Xml.XmlNode node) cil managed - { - // Method begins at RVA 0x236f4 - // Code size 246 (0xf6) - .maxstack 3 - .locals init ( - class [System.Xml]System.Xml.XPath.XPathNavigator V_0, - string V_1, - int32 V_2, - class [System.Xml]System.Xml.XPath.XPathNavigator V_3, - int32 V_4, - string V_5, - valuetype [System.Xml]System.Xml.XPath.XPathNodeType V_6, - string V_7) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XmlNode::CreateNavigator() - IL_0007: stloc.0 - IL_0008: ldstr "" - IL_000d: stloc.1 - IL_000e: ldc.i4.0 - IL_000f: stloc.2 - IL_0010: br IL_00b6 + IL_0363: nop + IL_0364: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0369: ldstr "Invalid framework '{0}' specified." + IL_036e: ldloc.s 4 + IL_0370: callvirt instance string class NAnt.Core.CommandLineOptions::get_TargetFramework() + IL_0375: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_037a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_037f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0384: ldloc.1 + IL_0385: ldc.i4.2 + IL_0386: callvirt instance class NAnt.Core.FrameworkInfo[] class NAnt.Core.Project::GetFrameworks(valuetype NAnt.Core.FrameworkTypes) + IL_038b: stloc.s 19 + IL_038d: ldloc.s 19 + IL_038f: ldlen + IL_0390: conv.i4 + IL_0391: brtrue IL_03ac - IL_0015: nop - IL_0016: ldloc.0 - IL_0017: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNavigator::Clone() - IL_001c: stloc.3 - IL_001d: ldloc.3 - IL_001e: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToParent() - IL_0023: pop - IL_0024: ldc.i4.0 - IL_0025: stloc.s 4 - IL_0027: ldloc.3 - IL_0028: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToFirstChild() - IL_002d: pop - IL_002e: ldloc.3 - IL_002f: ldloc.0 - IL_0030: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::IsSamePosition(class [System.Xml]System.Xml.XPath.XPathNavigator) - IL_0035: brfalse IL_003f + IL_0396: nop + IL_0397: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_039c: ldstr "There are no supported frameworks available on your system." + IL_03a1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_03a6: nop + IL_03a7: br IL_040b - IL_003a: nop - IL_003b: ldloc.s 4 - IL_003d: stloc.2 - IL_003e: nop - IL_003f: br IL_005d + IL_03ac: nop + IL_03ad: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_03b2: ldstr "Possible values include:" + IL_03b7: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_03bc: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_03c1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_03c6: nop + IL_03c7: ldloc.s 19 + IL_03c9: stloc.s 21 + IL_03cb: ldc.i4.0 + IL_03cc: stloc.s 22 + IL_03ce: br IL_03ff - IL_0044: nop - IL_0045: ldloc.s 4 - IL_0047: ldc.i4.1 - IL_0048: add - IL_0049: stloc.s 4 - IL_004b: ldloc.3 - IL_004c: ldloc.0 - IL_004d: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::IsSamePosition(class [System.Xml]System.Xml.XPath.XPathNavigator) - IL_0052: brfalse IL_005c + IL_03d3: ldloc.s 21 + IL_03d5: ldloc.s 22 + IL_03d7: ldelem.ref + IL_03d8: stloc.s 20 + IL_03da: nop + IL_03db: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_03e0: ldstr "{0} ({1})" + IL_03e5: ldloc.s 20 + IL_03e7: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_03ec: ldloc.s 20 + IL_03ee: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_03f3: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) + IL_03f8: nop + IL_03f9: ldloc.s 22 + IL_03fb: ldc.i4.1 + IL_03fc: add + IL_03fd: stloc.s 22 + IL_03ff: ldloc.s 22 + IL_0401: ldloc.s 21 + IL_0403: ldlen + IL_0404: conv.i4 + IL_0405: blt IL_03d3 - IL_0057: nop - IL_0058: ldloc.s 4 - IL_005a: stloc.2 - IL_005b: nop - IL_005c: nop - IL_005d: ldloc.3 - IL_005e: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToNext() - IL_0063: brtrue IL_0044 + IL_040a: nop + IL_040b: ldc.i4.1 + IL_040c: stloc.s 5 + IL_040e: leave IL_0638 - IL_0068: ldloc.0 - IL_0069: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToParent() - IL_006e: pop - IL_006f: ldloc.2 - IL_0070: ldc.i4.1 - IL_0071: add - IL_0072: stloc.2 - IL_0073: ldstr "child::node()[" - IL_0078: ldloca.s 2 - IL_007a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007f: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_0084: ldstr "]" - IL_0089: call string string::Concat(string, string, string) - IL_008e: stloc.s 5 - IL_0090: ldloc.1 - IL_0091: callvirt instance int32 string::get_Length() - IL_0096: brtrue IL_00a5 + IL_0413: nop + IL_0414: ldloc.s 4 + IL_0416: callvirt instance bool class NAnt.Core.CommandLineOptions::get_ShowProjectHelp() + IL_041b: brfalse IL_0437 - IL_009b: nop - IL_009c: ldloc.s 5 - IL_009e: stloc.1 - IL_009f: nop - IL_00a0: br IL_00b5 + IL_0420: nop + IL_0421: call void class [mscorlib]System.Console::WriteLine() + IL_0426: ldloc.1 + IL_0427: callvirt instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() + IL_042c: call void class NAnt.Core.ConsoleDriver::ShowProjectHelp(class [System.Xml]System.Xml.XmlDocument) + IL_0431: nop + IL_0432: br IL_044d - IL_00a5: nop - IL_00a6: ldloc.s 5 - IL_00a8: ldstr "/" - IL_00ad: ldloc.1 - IL_00ae: call string string::Concat(string, string, string) - IL_00b3: stloc.1 - IL_00b4: nop - IL_00b5: nop - IL_00b6: ldloc.0 - IL_00b7: callvirt instance valuetype [System.Xml]System.Xml.XPath.XPathNodeType class [System.Xml]System.Xml.XPath.XPathNavigator::get_NodeType() - IL_00bc: stloc.s 6 - IL_00be: ldloca.s 6 - IL_00c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c5: constrained. [System.Xml]System.Xml.XPath.XPathNodeType - IL_00cb: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) - IL_00d0: ldstr "Root" - IL_00d5: call bool string::op_Inequality(string, string) - IL_00da: brtrue IL_0015 + IL_0437: nop + IL_0438: ldloc.1 + IL_0439: callvirt instance bool class NAnt.Core.Project::Run() + IL_043e: brtrue IL_044c - IL_00df: ldstr "/" - IL_00e4: ldloc.1 - IL_00e5: call string string::Concat(string, string) - IL_00ea: stloc.1 - IL_00eb: ldloc.1 - IL_00ec: stloc.s 7 - IL_00ee: br IL_00f3 + IL_0443: nop + IL_0444: ldc.i4.1 + IL_0445: stloc.s 5 + IL_0447: leave IL_0638 - IL_00f3: ldloc.s 7 - IL_00f5: ret - } // end of method LocationMap::GetXPathFromNode + IL_044c: nop + IL_044d: ldc.i4.0 + IL_044e: stloc.s 5 + IL_0450: leave IL_0638 - .class nested private sequential ansi sealed serializable beforefieldinit TextPosition - extends [mscorlib]System.ValueType - { - .field public int32 Line - .field public int32 Column + } // end .try 4 + catch class NAnt.Core.Util.CommandLineArgumentException { // 4 + IL_0455: stloc.s 23 + IL_0457: nop + IL_0458: ldloc.0 + IL_0459: brfalse IL_0475 - // method line 1730 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 line, int32 column) cil managed - { - // Method begins at RVA 0x237f6 - // Code size 16 (0x10) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.LocationMap/TextPosition::Line - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld int32 NAnt.Core.LocationMap/TextPosition::Column - IL_000f: ret - } // end of method TextPosition::.ctor + IL_045e: nop + IL_045f: ldloc.0 + IL_0460: callvirt instance string class NAnt.Core.Util.CommandLineParser::get_LogoBanner() + IL_0465: call void class [mscorlib]System.Console::WriteLine(string) + IL_046a: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_046f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0474: nop + IL_0475: ldloc.s 23 + IL_0477: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) + IL_047c: ldc.i4 1000 + IL_0481: ldloc.2 + IL_0482: blt IL_04bd - } // end of class TextPosition + IL_0487: nop + IL_0488: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_048d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0492: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0497: ldstr "Stacktrace:" + IL_049c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_04a1: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_04a6: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_04ab: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_04b0: ldloc.s 23 + IL_04b2: callvirt instance string object::ToString() + IL_04b7: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_04bc: nop + IL_04bd: call void class [mscorlib]System.Console::WriteLine() + IL_04c2: ldstr "Try 'nant -help' for more information" + IL_04c7: call void class [mscorlib]System.Console::WriteLine(string) + IL_04cc: ldc.i4.1 + IL_04cd: stloc.s 5 + IL_04cf: leave IL_0638 - } // end of class NAnt.Core.LocationMap -} + } // end handler 4 + catch class [mscorlib]System.ApplicationException { // 5 + IL_04d4: stloc.s 24 + IL_04d6: nop + IL_04d7: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_04dc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_04e1: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_04e6: ldstr "BUILD FAILED" + IL_04eb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_04f0: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_04f5: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_04fa: ldloc.s 24 + IL_04fc: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) + IL_0501: ldc.i4 1000 + IL_0506: ldloc.2 + IL_0507: blt IL_0547 -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit TargetCollection - extends [mscorlib]System.Collections.ArrayList - { - .field private static initonly class [log4net]log4net.ILog logger + IL_050c: nop + IL_050d: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0512: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0517: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_051c: ldstr "Stacktrace:" + IL_0521: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0526: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_052b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0530: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0535: ldloc.s 24 + IL_0537: callvirt instance string object::ToString() + IL_053c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0541: nop + IL_0542: br IL_055d - // method line 1731 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x23807 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: ret - } // end of method TargetCollection::.ctor + IL_0547: nop + IL_0548: ldsfld string [mscorlib]System.String::Empty + IL_054d: call void class [mscorlib]System.Console::WriteLine(string) + IL_0552: ldstr "For more information regarding the cause of the build failure, run the build again in debug mode." + IL_0557: call void class [mscorlib]System.Console::WriteLine(string) + IL_055c: nop + IL_055d: call void class [mscorlib]System.Console::WriteLine() + IL_0562: ldstr "Try 'nant -help' for more information" + IL_0567: call void class [mscorlib]System.Console::WriteLine(string) + IL_056c: ldc.i4.1 + IL_056d: stloc.s 5 + IL_056f: leave IL_0638 - // method line 1732 - .method public virtual hidebysig newslot - instance default int32 Add (class NAnt.Core.Target t) cil managed - { - // Method begins at RVA 0x23810 - // Code size 121 (0x79) - .maxstack 4 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + } // end handler 5 + catch class [mscorlib]System.Exception { // 6 + IL_0574: stloc.s 25 + IL_0576: nop + IL_0577: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_057c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_0581: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0586: ldstr "INTERNAL ERROR" + IL_058b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0590: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0595: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_059a: ldloc.s 25 + IL_059c: call void class NAnt.Core.ConsoleDriver::WriteException(class [mscorlib]System.Exception) + IL_05a1: ldc.i4 2000 + IL_05a6: ldloc.2 + IL_05a7: blt IL_05e7 - IL_0007: nop - IL_0008: ldstr "Null Target!" - IL_000d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0012: throw - IL_0013: ldsfld class [log4net]log4net.ILog NAnt.Core.TargetCollection::logger - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "String_AddingTarget" - IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0027: ldarg.1 - IL_0028: callvirt instance string class NAnt.Core.Target::get_Name() - IL_002d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0032: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_0037: ldarg.0 - IL_0038: ldarg.1 - IL_0039: callvirt instance string class NAnt.Core.Target::get_Name() - IL_003e: call instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0043: brtrue IL_0056 + IL_05ac: nop + IL_05ad: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_05b2: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_05b7: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_05bc: ldstr "Stacktrace:" + IL_05c1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_05c6: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_05cb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_05d0: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_05d5: ldloc.s 25 + IL_05d7: callvirt instance string object::ToString() + IL_05dc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_05e1: nop + IL_05e2: br IL_05f8 - IL_0048: nop - IL_0049: ldarg.0 - IL_004a: ldarg.1 - IL_004b: call instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0050: stloc.0 - IL_0051: br IL_0077 + IL_05e7: nop + IL_05e8: call void class [mscorlib]System.Console::WriteLine() + IL_05ed: ldstr "For more information regarding the cause of the build failure, run the build again in verbose mode." + IL_05f2: call void class [mscorlib]System.Console::WriteLine(string) + IL_05f7: nop + IL_05f8: call void class [mscorlib]System.Console::WriteLine() + IL_05fd: ldstr "Please send a bug report (including the version of NAnt you're using) to nant-developers@lists.sourceforge.net" + IL_0602: call void class [mscorlib]System.Console::WriteLine(string) + IL_0607: ldc.i4.2 + IL_0608: stloc.s 5 + IL_060a: leave IL_0638 - IL_0056: nop - IL_0057: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005c: ldstr "NA1073" - IL_0061: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0066: ldarg.1 - IL_0067: callvirt instance string class NAnt.Core.Target::get_Name() - IL_006c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0076: throw - IL_0077: ldloc.0 - IL_0078: ret - } // end of method TargetCollection::Add + } // end handler 6 + } // end .try 7 + finally { // 7 + IL_060f: nop + IL_0610: ldloc.1 + IL_0611: brfalse IL_061e - // method line 1733 - .method public hidebysig - instance default class NAnt.Core.Target Find (string targetName) cil managed + IL_0616: nop + IL_0617: ldloc.1 + IL_0618: callvirt instance void class NAnt.Core.Project::DetachBuildListeners() + IL_061d: nop + IL_061e: ldloc.3 + IL_061f: callvirt instance void class NAnt.Core.Util.AssemblyResolver::Detach() + IL_0624: ldloc.s 4 + IL_0626: callvirt instance bool class NAnt.Core.CommandLineOptions::get_Pause() + IL_062b: brfalse IL_0636 + + IL_0630: call valuetype [mscorlib]System.ConsoleKeyInfo class [mscorlib]System.Console::ReadKey() + IL_0635: pop + IL_0636: nop + IL_0637: endfinally + } // end handler 7 + IL_0638: ldloc.s 5 + IL_063a: ret + } // end of method ConsoleDriver::Main + + // method line 1716 + .method public static hidebysig + default void ShowProjectHelp (class [System.Xml]System.Xml.XmlDocument buildDoc) cil managed { - // Method begins at RVA 0x23898 - // Code size 97 (0x61) - .maxstack 2 + // Method begins at RVA 0x21d20 + // Code size 150 (0x96) + .maxstack 4 .locals init ( - class NAnt.Core.Target V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Target V_2, - class [mscorlib]System.IDisposable V_3) + class [mscorlib]System.IO.Stream V_0, + class [System.Xml]System.Xml.XmlTextReader V_1, + class [System.Xml]System.Xml.XmlDocument V_2, + class [System.Xml]System.Xml.Xsl.XslCompiledTransform V_3, + class [mscorlib]System.Text.StringBuilder V_4, + class [mscorlib]System.IO.StringWriter V_5, + class [System.Xml]System.Xml.Xsl.XsltArgumentList V_6) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0008: stloc.1 - .try { // 0 - IL_0009: br IL_0034 - - IL_000e: ldloc.1 - IL_000f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0014: castclass NAnt.Core.Target - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: callvirt instance string class NAnt.Core.Target::get_Name() - IL_0021: ldarg.1 - IL_0022: call bool string::op_Equality(string, string) - IL_0027: brfalse IL_0033 - - IL_002c: ldloc.0 - IL_002d: stloc.2 - IL_002e: leave IL_005f - - IL_0033: nop - IL_0034: ldloc.1 - IL_0035: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_003a: brtrue IL_000e - - IL_003f: leave IL_0058 - - } // end .try 0 - finally { // 0 - IL_0044: ldloc.1 - IL_0045: isinst [mscorlib]System.IDisposable - IL_004a: dup - IL_004b: stloc.3 - IL_004c: brfalse IL_0057 - - IL_0051: ldloc.3 - IL_0052: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0057: endfinally - } // end handler 0 - IL_0058: ldnull - IL_0059: stloc.2 - IL_005a: br IL_005f + IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0006: ldstr "NAnt.Core.Resources.ProjectHelp.xslt" + IL_000b: callvirt instance class [mscorlib]System.IO.Stream class [mscorlib]System.Reflection.Assembly::GetManifestResourceStream(string) + IL_0010: stloc.0 + IL_0011: ldloc.0 + IL_0012: brtrue IL_0023 - IL_005f: ldloc.2 - IL_0060: ret - } // end of method TargetCollection::Find + IL_0017: nop + IL_0018: ldstr "Missing 'ProjectHelp.xslt' Resource Stream" + IL_001d: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0022: throw + IL_0023: ldloc.0 + IL_0024: ldc.i4.s 0x09 + IL_0026: ldnull + IL_0027: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.Stream, valuetype [System.Xml]System.Xml.XmlNodeType, class [System.Xml]System.Xml.XmlParserContext) + IL_002c: stloc.1 + IL_002d: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0032: stloc.2 + IL_0033: ldloc.2 + IL_0034: ldloc.1 + IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [System.Xml]System.Xml.XmlReader) + IL_003a: ldloc.2 + IL_003b: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0040: ldstr "xmlns:nant" + IL_0045: ldarg.0 + IL_0046: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_004b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_0050: callvirt instance void class [System.Xml]System.Xml.XmlElement::SetAttribute(string, string) + IL_0055: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_005a: stloc.3 + IL_005b: ldloc.3 + IL_005c: ldloc.2 + IL_005d: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Load(class [System.Xml]System.Xml.XPath.IXPathNavigable) + IL_0062: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0067: stloc.s 4 + IL_0069: ldloc.s 4 + IL_006b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0070: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'(class [mscorlib]System.Text.StringBuilder, class [mscorlib]System.IFormatProvider) + IL_0075: stloc.s 5 + IL_0077: newobj instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::'.ctor'() + IL_007c: stloc.s 6 + IL_007e: ldloc.3 + IL_007f: ldarg.0 + IL_0080: ldloc.s 6 + IL_0082: ldloc.s 5 + IL_0084: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Transform(class [System.Xml]System.Xml.XPath.IXPathNavigable, class [System.Xml]System.Xml.Xsl.XsltArgumentList, class [mscorlib]System.IO.TextWriter) + IL_0089: ldloc.s 4 + IL_008b: callvirt instance string object::ToString() + IL_0090: call void class [mscorlib]System.Console::WriteLine(string) + IL_0095: ret + } // end of method ConsoleDriver::ShowProjectHelp - // method line 1734 - .method public hidebysig - instance default string ToString (string separator) cil managed + // method line 1717 + .method public static hidebysig + default string GetBuildFileName (string directory, string searchPattern, bool findInParent) cil managed { - // Method begins at RVA 0x23918 - // Code size 73 (0x49) + // Method begins at RVA 0x21dc4 + // Code size 296 (0x128) .maxstack 4 .locals init ( - string[] V_0, - int32 V_1, - string V_2) + string V_0, + class [mscorlib]System.IO.DirectoryInfo V_1, + class [mscorlib]System.IO.FileInfo[] V_2, + string V_3, + class [mscorlib]System.IO.DirectoryInfo V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0007: newarr [mscorlib]System.String - IL_000c: stloc.0 - IL_000d: ldc.i4.0 - IL_000e: stloc.1 - IL_000f: br IL_002e + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.1 + IL_0004: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0009: brfalse IL_0017 - IL_0014: nop - IL_0015: ldloc.0 - IL_0016: ldloc.1 - IL_0017: ldarg.0 - IL_0018: ldloc.1 - IL_0019: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_001e: castclass NAnt.Core.Target - IL_0023: callvirt instance string class NAnt.Core.Target::get_Name() - IL_0028: stelem.ref - IL_0029: nop - IL_002a: ldloc.1 - IL_002b: ldc.i4.1 - IL_002c: add + IL_000e: nop + IL_000f: ldarg.1 + IL_0010: stloc.0 + IL_0011: nop + IL_0012: br IL_011f + + IL_0017: nop + IL_0018: ldarg.1 + IL_0019: brtrue IL_0027 + + IL_001e: nop + IL_001f: ldstr "*.build" + IL_0024: starg.s 1 + IL_0026: nop + IL_0027: ldarg.0 + IL_0028: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) IL_002d: stloc.1 IL_002e: ldloc.1 - IL_002f: ldarg.0 - IL_0030: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0035: blt IL_0014 + IL_002f: ldstr "default.build" + IL_0034: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles(string) + IL_0039: stloc.2 + IL_003a: ldloc.2 + IL_003b: ldlen + IL_003c: conv.i4 + IL_003d: ldc.i4.1 + IL_003e: bne.un IL_0054 - IL_003a: ldarg.1 - IL_003b: ldloc.0 - IL_003c: call string string::Join(string, string[]) - IL_0041: stloc.2 - IL_0042: br IL_0047 + IL_0043: nop + IL_0044: ldloc.2 + IL_0045: ldc.i4.0 + IL_0046: ldelem.ref + IL_0047: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: stloc.3 + IL_004f: br IL_0126 - IL_0047: ldloc.2 - IL_0048: ret - } // end of method TargetCollection::ToString + IL_0054: ldloc.1 + IL_0055: ldarg.1 + IL_0056: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles(string) + IL_005b: stloc.2 + IL_005c: ldloc.2 + IL_005d: ldlen + IL_005e: conv.i4 + IL_005f: ldc.i4.1 + IL_0060: bne.un IL_0075 - // method line 1735 - .method public virtual hidebysig - instance default int32 Add (object 'value') cil managed - { - // Method begins at RVA 0x23970 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: isinst NAnt.Core.Target - IL_0008: callvirt instance int32 class NAnt.Core.TargetCollection::Add(class NAnt.Core.Target) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0065: nop + IL_0066: ldloc.2 + IL_0067: ldc.i4.0 + IL_0068: ldelem.ref + IL_0069: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_006e: stloc.0 + IL_006f: nop + IL_0070: br IL_011e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TargetCollection::Add + IL_0075: ldloc.2 + IL_0076: ldlen + IL_0077: conv.i4 + IL_0078: ldc.i4.1 + IL_0079: ble IL_00a5 - // method line 1736 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x23994 - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr ", " - IL_0007: call instance string class NAnt.Core.TargetCollection::ToString(string) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TargetCollection::ToString + IL_007e: nop + IL_007f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0084: ldstr "NA1001" + IL_0089: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_008e: ldstr " Use -buildfile: to specify the build file to execute or create a default.build file." + IL_0093: call string string::Concat(string, string) + IL_0098: ldarg.1 + IL_0099: ldarg.0 + IL_009a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_009f: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_00a4: throw + IL_00a5: ldloc.2 + IL_00a6: ldlen + IL_00a7: conv.i4 + IL_00a8: brtrue IL_0101 - // method line 1737 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x239b4 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.TargetCollection::logger - IL_0014: ret - } // end of method TargetCollection::.cctor + IL_00ad: ldarg.2 + IL_00ae: brfalse IL_0101 - } // end of class NAnt.Core.TargetCollection -} + IL_00b3: nop + IL_00b4: ldloc.1 + IL_00b5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.DirectoryInfo::get_Parent() + IL_00ba: stloc.s 4 + IL_00bc: ldarg.2 + IL_00bd: brfalse IL_00df -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit ExpressionEvaluator - extends NAnt.Core.ExpressionEvalBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 04 4E 41 6E 74 // ...property.NAnt - 00 00 ) // .. + IL_00c2: ldloc.s 4 + IL_00c4: brfalse IL_00df - .field private class NAnt.Core.PropertyDictionary _properties - .field private class [mscorlib]System.Collections.Hashtable _state - .field private class [mscorlib]System.Collections.Stack _visiting + IL_00c9: nop + IL_00ca: ldloc.s 4 + IL_00cc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00d1: ldarg.1 + IL_00d2: ldarg.2 + IL_00d3: call string class NAnt.Core.ConsoleDriver::GetBuildFileName(string, string, bool) + IL_00d8: stloc.0 + IL_00d9: nop + IL_00da: br IL_00fb - // method line 1738 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting) cil managed - { - // Method begins at RVA 0x239ca - // Code size 31 (0x1f) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.ExpressionEvalBase::'.ctor'(class NAnt.Core.Project) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties - IL_000f: ldarg.0 - IL_0010: ldarg.3 - IL_0011: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state - IL_0016: ldarg.0 - IL_0017: ldarg.s 4 - IL_0019: stfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting - IL_001e: ret - } // end of method ExpressionEvaluator::.ctor + IL_00df: nop + IL_00e0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00e5: ldstr "NA1007" + IL_00ea: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00ef: ldarg.1 + IL_00f0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00f5: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_00fa: throw + IL_00fb: nop + IL_00fc: br IL_011e - // method line 1739 - .method family virtual hidebysig - instance default object EvaluateProperty (string propertyName) cil managed - { - // Method begins at RVA 0x239ec - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance string class NAnt.Core.ExpressionEvaluator::GetPropertyValue(string) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0101: nop + IL_0102: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0107: ldstr "NA1004" + IL_010c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0111: ldarg.1 + IL_0112: ldarg.0 + IL_0113: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0118: newobj instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_011d: throw + IL_011e: nop + IL_011f: ldloc.0 + IL_0120: stloc.3 + IL_0121: br IL_0126 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method ExpressionEvaluator::EvaluateProperty + IL_0126: ldloc.3 + IL_0127: ret + } // end of method ConsoleDriver::GetBuildFileName - // method line 1740 - .method family virtual hidebysig - instance default object EvaluateFunction (class [mscorlib]System.Reflection.MethodInfo methodInfo, object[] args) cil managed + // method line 1718 + .method private static hidebysig + default void LoadExtensionAssemblies (class [System]System.Collections.Specialized.StringCollection extensionAssemblies, class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x23a08 - // Code size 184 (0xb8) - .maxstack 5 + // Method begins at RVA 0x21ef8 + // Code size 153 (0x99) + .maxstack 3 .locals init ( - object V_0, - class [mscorlib]System.Reflection.ConstructorInfo V_1, - object V_2, - class [mscorlib]System.Reflection.TargetInvocationException V_3) + class NAnt.Core.Tasks.LoadTasksTask V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsStatic() - IL_0008: brfalse IL_001c + IL_0001: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_000e: ldloc.0 + IL_000f: ldarg.1 + IL_0010: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_0015: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_001a: ldloc.0 + IL_001b: ldarg.1 + IL_001c: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0021: ldloc.0 + IL_0022: ldarg.1 + IL_0023: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_0028: ldc.i4 1000 + IL_002d: bne.un IL_003c - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: ldnull - IL_0010: ldarg.2 - IL_0011: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_0016: stloc.0 - IL_0017: leave IL_00b6 + IL_0032: ldc.i4 1000 + IL_0037: br IL_0041 - IL_001c: ldarg.1 - IL_001d: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_0022: ldtoken NAnt.Core.ExpressionEvaluator - IL_0027: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0031: brfalse IL_0045 + IL_003c: ldc.i4 4000 + IL_0041: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) + IL_0046: nop + IL_0047: ldarg.0 + IL_0048: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_004d: stloc.2 + .try { // 0 + IL_004e: br IL_006e - IL_0036: nop - IL_0037: ldarg.1 - IL_0038: ldarg.0 - IL_0039: ldarg.2 - IL_003a: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_003f: stloc.0 - IL_0040: leave IL_00b6 + IL_0053: ldloc.2 + IL_0054: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0059: stloc.1 + IL_005a: nop + IL_005b: ldloc.0 + IL_005c: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.Tasks.LoadTasksTask::get_TaskFileSet() + IL_0061: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Types.FileSet::get_Includes() + IL_0066: ldloc.1 + IL_0067: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_006c: pop + IL_006d: nop + IL_006e: ldloc.2 + IL_006f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0074: brtrue IL_0053 - IL_0045: nop - IL_0046: ldarg.1 - IL_0047: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_004c: ldc.i4.2 - IL_004d: newarr [mscorlib]System.Type - IL_0052: dup - IL_0053: ldc.i4.0 - IL_0054: ldtoken NAnt.Core.Project - IL_0059: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_005e: stelem.ref - IL_005f: dup - IL_0060: ldc.i4.1 - IL_0061: ldtoken NAnt.Core.PropertyDictionary - IL_0066: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_006b: stelem.ref - IL_006c: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) - IL_0071: stloc.1 - IL_0072: ldloc.1 - IL_0073: ldc.i4.2 - IL_0074: newarr [mscorlib]System.Object - IL_0079: dup - IL_007a: ldc.i4.0 - IL_007b: ldarg.0 - IL_007c: call instance class NAnt.Core.Project class NAnt.Core.ExpressionEvalBase::get_Project() - IL_0081: stelem.ref - IL_0082: dup - IL_0083: ldc.i4.1 - IL_0084: ldarg.0 - IL_0085: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties - IL_008a: stelem.ref - IL_008b: callvirt instance object class [mscorlib]System.Reflection.ConstructorInfo::Invoke(object[]) - IL_0090: stloc.2 - IL_0091: ldarg.1 - IL_0092: ldloc.2 - IL_0093: ldarg.2 - IL_0094: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_0099: stloc.0 - IL_009a: leave IL_00b6 + IL_0079: leave IL_0092 } // end .try 0 - catch class [mscorlib]System.Reflection.TargetInvocationException { // 0 - IL_009f: stloc.3 - IL_00a0: nop - IL_00a1: ldloc.3 - IL_00a2: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_00a7: brfalse IL_00b4 + finally { // 0 + IL_007e: ldloc.2 + IL_007f: isinst [mscorlib]System.IDisposable + IL_0084: dup + IL_0085: stloc.3 + IL_0086: brfalse IL_0091 - IL_00ac: nop - IL_00ad: ldloc.3 - IL_00ae: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_00b3: throw - IL_00b4: rethrow + IL_008b: ldloc.3 + IL_008c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0091: endfinally } // end handler 0 - IL_00b6: ldloc.0 - IL_00b7: ret - } // end of method ExpressionEvaluator::EvaluateFunction + IL_0092: ldloc.0 + IL_0093: callvirt instance void class NAnt.Core.Task::Execute() + IL_0098: ret + } // end of method ConsoleDriver::LoadExtensionAssemblies - // method line 1741 - .method public hidebysig - instance default string GetPropertyValue (string propertyName) cil managed + // method line 1719 + .method public static hidebysig + default class NAnt.Core.IBuildLogger CreateLogger (string typeName) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 76 61 6C 75 65 00 00 ) // ...get-value.. - - // Method begins at RVA 0x23adc - // Code size 271 (0x10f) - .maxstack 5 + // Method begins at RVA 0x21fb0 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 144 (0x90) + .maxstack 4 .locals init ( - string V_0, - string V_1, - class NAnt.Core.Location V_2, - string V_3, - string V_4) + class [mscorlib]System.Type V_0, + object V_1, + class NAnt.Core.IBuildLogger V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_000d: brfalse IL_00d3 + IL_0002: ldc.i4.0 + IL_0003: call class [mscorlib]System.Type class NAnt.Core.Util.ReflectionUtils::GetTypeFromString(string, bool) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: ldnull + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_0031 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state - IL_0019: ldarg.1 - IL_001a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_001f: castclass [mscorlib]System.String - IL_0024: stloc.0 - IL_0025: ldloc.0 - IL_0026: ldstr "VISITING" - IL_002b: call bool string::op_Equality(string, string) - IL_0030: brfalse IL_0043 + IL_0015: nop + IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001b: ldstr "NA1006" + IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0025: ldarg.0 + IL_0026: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002b: newobj instance void class [mscorlib]System.TypeLoadException::'.ctor'(string) + IL_0030: throw + IL_0031: ldloc.0 + IL_0032: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) + IL_0037: stloc.1 + IL_0038: ldtoken NAnt.Core.IBuildLogger + IL_003d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0042: ldloc.1 + IL_0043: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0048: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_004d: brtrue IL_0082 - IL_0035: nop - IL_0036: ldarg.1 - IL_0037: ldarg.0 - IL_0038: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting - IL_003d: call class NAnt.Core.BuildException class NAnt.Core.PropertyDictionary::CreateCircularException(string, class [mscorlib]System.Collections.Stack) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting - IL_0049: ldarg.1 - IL_004a: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) - IL_004f: ldarg.0 - IL_0050: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state - IL_0055: ldarg.1 - IL_0056: ldstr "VISITING" - IL_005b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0060: ldarg.0 - IL_0061: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties - IL_0066: ldarg.1 - IL_0067: callvirt instance string class NAnt.Core.PropertyDictionary::GetPropertyValue(string) - IL_006c: stloc.1 - IL_006d: ldloc.1 - IL_006e: brtrue IL_008f + IL_0052: nop + IL_0053: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0058: ldstr "{0} does not implement {1}." + IL_005d: ldloc.1 + IL_005e: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0063: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0068: ldtoken NAnt.Core.IBuildLogger + IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0072: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_007c: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0081: throw + IL_0082: ldloc.1 + IL_0083: castclass NAnt.Core.IBuildLogger + IL_0088: stloc.2 + IL_0089: br IL_008e - IL_0073: nop - IL_0074: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0079: ldstr "NA1053" - IL_007e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0083: ldarg.1 - IL_0084: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0089: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_008e: throw - IL_008f: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0094: stloc.2 - IL_0095: ldarg.0 - IL_0096: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties - IL_009b: ldloc.1 - IL_009c: ldloc.2 - IL_009d: ldarg.0 - IL_009e: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state - IL_00a3: ldarg.0 - IL_00a4: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting - IL_00a9: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) - IL_00ae: stloc.1 - IL_00af: ldarg.0 - IL_00b0: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting - IL_00b5: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_00ba: pop - IL_00bb: ldarg.0 - IL_00bc: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state - IL_00c1: ldarg.1 - IL_00c2: ldstr "VISITED" - IL_00c7: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00cc: ldloc.1 - IL_00cd: stloc.3 - IL_00ce: br IL_010d + IL_008e: ldloc.2 + IL_008f: ret + } // end of method ConsoleDriver::CreateLogger - IL_00d3: nop - IL_00d4: ldarg.0 - IL_00d5: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties - IL_00da: ldarg.1 - IL_00db: callvirt instance string class NAnt.Core.PropertyDictionary::GetPropertyValue(string) - IL_00e0: stloc.s 4 - IL_00e2: ldloc.s 4 - IL_00e4: brtrue IL_0105 + // method line 1720 + .method public static hidebysig + default class NAnt.Core.IBuildListener CreateListener (string typeName) cil managed + { + // Method begins at RVA 0x2204c + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 144 (0x90) + .maxstack 4 + .locals init ( + class [mscorlib]System.Type V_0, + object V_1, + class NAnt.Core.IBuildListener V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: call class [mscorlib]System.Type class NAnt.Core.Util.ReflectionUtils::GetTypeFromString(string, bool) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: ldnull + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_0031 - IL_00e9: nop - IL_00ea: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ef: ldstr "NA1053" - IL_00f4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f9: ldarg.1 - IL_00fa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0104: throw - IL_0105: ldloc.s 4 - IL_0107: stloc.3 - IL_0108: br IL_010d + IL_0015: nop + IL_0016: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001b: ldstr "NA1006" + IL_0020: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0025: ldarg.0 + IL_0026: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002b: newobj instance void class [mscorlib]System.TypeLoadException::'.ctor'(string) + IL_0030: throw + IL_0031: ldloc.0 + IL_0032: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) + IL_0037: stloc.1 + IL_0038: ldtoken NAnt.Core.IBuildListener + IL_003d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0042: ldloc.1 + IL_0043: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0048: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_004d: brtrue IL_0082 - IL_010d: ldloc.3 - IL_010e: ret - } // end of method ExpressionEvaluator::GetPropertyValue + IL_0052: nop + IL_0053: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0058: ldstr "{0} does not implement {1}." + IL_005d: ldloc.1 + IL_005e: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0063: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0068: ldtoken NAnt.Core.IBuildListener + IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0072: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_007c: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0081: throw + IL_0082: ldloc.1 + IL_0083: castclass NAnt.Core.IBuildListener + IL_0088: stloc.2 + IL_0089: br IL_008e - } // end of class NAnt.Core.ExpressionEvaluator -} + IL_008e: ldloc.2 + IL_008f: ret + } // end of method ConsoleDriver::CreateListener -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit DirectoryScanner - extends [mscorlib]System.Object - implements [mscorlib]System.ICloneable { - .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory - .field private class NAnt.Core.StringCollectionWithGoodToString _includes - .field private class NAnt.Core.StringCollectionWithGoodToString _excludes - .field private class [mscorlib]System.Collections.ArrayList _includePatterns - .field private class [mscorlib]System.Collections.ArrayList _excludePatterns - .field private class NAnt.Core.StringCollectionWithGoodToString _includeNames - .field private class NAnt.Core.StringCollectionWithGoodToString _excludeNames - .field private class NAnt.Core.StringCollectionWithGoodToString _fileNames - .field private class NAnt.Core.DirScannerStringCollection _directoryNames - .field private class NAnt.Core.DirScannerStringCollection _searchDirectories - .field private class NAnt.Core.DirScannerStringCollection _scannedDirectories - .field private class [mscorlib]System.Collections.ArrayList _searchDirIsRecursive - .field private bool _caseSensitive - .field private bool _isEverythingIncluded - .field private static initonly class [log4net]log4net.ILog logger - .field private static class [mscorlib]System.Collections.Hashtable cachedCaseSensitiveRegexes - .field private static class [mscorlib]System.Collections.Hashtable cachedCaseInsensitiveRegexes - - // method line 1742 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x23bf7 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: call instance void class NAnt.Core.DirectoryScanner::'.ctor'(bool) - IL_000b: nop - IL_000c: ret - } // end of method DirectoryScanner::.ctor - - // method line 1743 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (bool caseSensitive) cil managed - { - // Method begins at RVA 0x23c05 - // Code size 44 (0x2c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() - IL_0006: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() - IL_0011: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes - IL_0016: ldarg.0 - IL_0017: ldc.i4.1 - IL_0018: stfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded - IL_001d: ldarg.0 - IL_001e: call instance void object::'.ctor'() - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: ldarg.1 - IL_0026: stfld bool NAnt.Core.DirectoryScanner::_caseSensitive - IL_002b: ret - } // end of method DirectoryScanner::.ctor - - // method line 1744 - .method public final virtual hidebysig newslot - instance default object Clone () cil managed + // method line 1721 + .method private static hidebysig + default void AddBuildListeners (class NAnt.Core.CommandLineOptions cmdlineOptions, class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x23c34 - // Code size 422 (0x1a6) - .maxstack 2 + // Method begins at RVA 0x220e8 + // Code size 412 (0x19c) + .maxstack 4 .locals init ( - class NAnt.Core.DirectoryScanner V_0, - object V_1) + class NAnt.Core.BuildListenerCollection V_0, + class NAnt.Core.IBuildLogger V_1, + class [mscorlib]System.IO.TextWriter V_2, + class [mscorlib]System.Exception V_3, + class [mscorlib]System.Exception V_4, + string V_5, + class [System]System.Collections.Specialized.StringEnumerator V_6, + class NAnt.Core.IBuildListener V_7, + class [mscorlib]System.Exception V_8, + class [mscorlib]System.IDisposable V_9) IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() + IL_0001: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_000d: brfalse IL_002a + IL_0007: ldnull + IL_0008: stloc.1 + IL_0009: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Out() + IL_000e: stloc.2 + IL_000f: ldarg.0 + IL_0010: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() + IL_0015: brfalse IL_0069 - IL_0012: nop - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0024: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_0030: brfalse IL_004d + IL_001a: nop + .try { // 0 + IL_001b: nop + IL_001c: ldarg.0 + IL_001d: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() + IL_0022: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0027: ldc.i4.2 + IL_0028: ldc.i4.2 + IL_0029: ldc.i4.1 + IL_002a: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) + IL_002f: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream) + IL_0034: stloc.2 + IL_0035: nop + IL_0036: leave IL_0068 - IL_0035: nop - IL_0036: ldloc.0 - IL_0037: ldarg.0 - IL_0038: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_003d: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_0042: castclass NAnt.Core.DirScannerStringCollection - IL_0047: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_004c: nop - IL_004d: ldarg.0 - IL_004e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns - IL_0053: brfalse IL_0070 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_003b: stloc.3 + IL_003c: nop + IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0042: ldstr "NA1005" + IL_0047: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004c: ldarg.0 + IL_004d: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() + IL_0052: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0057: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005c: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0061: ldloc.3 + IL_0062: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0067: throw + } // end handler 0 + IL_0068: nop + IL_0069: ldarg.0 + IL_006a: callvirt instance string class NAnt.Core.CommandLineOptions::get_LoggerType() + IL_006f: brfalse IL_00b3 - IL_0058: nop - IL_0059: ldloc.0 - IL_005a: ldarg.0 - IL_005b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns - IL_0060: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() - IL_0065: castclass [mscorlib]System.Collections.ArrayList - IL_006a: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns - IL_006f: nop - IL_0070: ldarg.0 - IL_0071: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames - IL_0076: brfalse IL_0093 + IL_0074: nop + .try { // 1 + IL_0075: nop + IL_0076: ldarg.0 + IL_0077: callvirt instance string class NAnt.Core.CommandLineOptions::get_LoggerType() + IL_007c: call class NAnt.Core.IBuildLogger class NAnt.Core.ConsoleDriver::CreateLogger(string) + IL_0081: stloc.1 + IL_0082: nop + IL_0083: leave IL_00b2 - IL_007b: nop - IL_007c: ldloc.0 - IL_007d: ldarg.0 - IL_007e: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames - IL_0083: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_0088: castclass NAnt.Core.StringCollectionWithGoodToString - IL_008d: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames - IL_0092: nop - IL_0093: ldloc.0 - IL_0094: ldarg.0 - IL_0095: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes - IL_009a: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_009f: castclass NAnt.Core.StringCollectionWithGoodToString - IL_00a4: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes - IL_00a9: ldarg.0 - IL_00aa: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_00af: brfalse IL_00cc + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_0088: stloc.s 4 + IL_008a: nop + IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0090: ldstr "NA1003" + IL_0095: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009a: ldarg.0 + IL_009b: callvirt instance string class NAnt.Core.CommandLineOptions::get_LoggerType() + IL_00a0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00a5: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_00aa: ldloc.s 4 + IL_00ac: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00b1: throw + } // end handler 1 + IL_00b2: nop + IL_00b3: ldloc.1 + IL_00b4: brtrue IL_00c1 - IL_00b4: nop - IL_00b5: ldloc.0 - IL_00b6: ldarg.0 - IL_00b7: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_00bc: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_00c1: castclass NAnt.Core.StringCollectionWithGoodToString - IL_00c6: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_00cb: nop - IL_00cc: ldarg.0 - IL_00cd: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns - IL_00d2: brfalse IL_00ef + IL_00b9: nop + IL_00ba: newobj instance void class NAnt.Core.DefaultLogger::'.ctor'() + IL_00bf: stloc.1 + IL_00c0: nop + IL_00c1: ldtoken NAnt.Core.DefaultLogger + IL_00c6: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00cb: ldloc.1 + IL_00cc: callvirt instance class [mscorlib]System.Type object::GetType() + IL_00d1: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_00d6: brfalse IL_00e6 - IL_00d7: nop - IL_00d8: ldloc.0 - IL_00d9: ldarg.0 - IL_00da: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns - IL_00df: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() - IL_00e4: castclass [mscorlib]System.Collections.ArrayList - IL_00e9: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns - IL_00ee: nop - IL_00ef: ldarg.0 - IL_00f0: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames - IL_00f5: brfalse IL_0112 + IL_00db: ldarg.0 + IL_00dc: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.CommandLineOptions::get_LogFile() + IL_00e1: brfalse IL_00ef - IL_00fa: nop - IL_00fb: ldloc.0 + IL_00e6: nop + IL_00e7: ldloc.1 + IL_00e8: ldloc.2 + IL_00e9: callvirt instance void class NAnt.Core.IBuildLogger::set_OutputWriter(class [mscorlib]System.IO.TextWriter) + IL_00ee: nop + IL_00ef: ldloc.1 + IL_00f0: ldarg.1 + IL_00f1: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_00f6: callvirt instance void class NAnt.Core.IBuildLogger::set_Threshold(valuetype NAnt.Core.Level) + IL_00fb: ldloc.1 IL_00fc: ldarg.0 - IL_00fd: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames - IL_0102: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_0107: castclass NAnt.Core.StringCollectionWithGoodToString - IL_010c: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames - IL_0111: nop - IL_0112: ldloc.0 - IL_0113: ldarg.0 - IL_0114: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes - IL_0119: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_011e: castclass NAnt.Core.StringCollectionWithGoodToString - IL_0123: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes - IL_0128: ldarg.0 - IL_0129: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_012e: brfalse IL_014b - - IL_0133: nop - IL_0134: ldloc.0 - IL_0135: ldarg.0 - IL_0136: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_013b: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_0140: castclass NAnt.Core.DirScannerStringCollection - IL_0145: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_014a: nop - IL_014b: ldarg.0 - IL_014c: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_0151: brfalse IL_016e - - IL_0156: nop - IL_0157: ldloc.0 - IL_0158: ldarg.0 - IL_0159: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_015e: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() - IL_0163: castclass NAnt.Core.DirScannerStringCollection - IL_0168: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_016d: nop - IL_016e: ldarg.0 - IL_016f: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_0174: brfalse IL_0191 - - IL_0179: nop - IL_017a: ldloc.0 - IL_017b: ldarg.0 - IL_017c: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_0181: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() - IL_0186: castclass [mscorlib]System.Collections.ArrayList - IL_018b: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_0190: nop - IL_0191: ldloc.0 - IL_0192: ldarg.0 - IL_0193: ldfld bool NAnt.Core.DirectoryScanner::_caseSensitive - IL_0198: stfld bool NAnt.Core.DirectoryScanner::_caseSensitive - IL_019d: ldloc.0 - IL_019e: stloc.1 - IL_019f: br IL_01a4 + IL_00fd: callvirt instance bool class NAnt.Core.CommandLineOptions::get_EmacsMode() + IL_0102: callvirt instance void class NAnt.Core.IBuildLogger::set_EmacsMode(bool) + IL_0107: ldloc.0 + IL_0108: ldloc.1 + IL_0109: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) + IL_010e: pop + IL_010f: nop + IL_0110: ldarg.0 + IL_0111: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.CommandLineOptions::get_Listeners() + IL_0116: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_011b: stloc.s 6 + .try { // 3 + IL_011d: br IL_016c - IL_01a4: ldloc.1 - IL_01a5: ret - } // end of method DirectoryScanner::Clone + IL_0122: ldloc.s 6 + IL_0124: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0129: stloc.s 5 + IL_012b: nop + .try { // 2 + IL_012c: nop + IL_012d: ldloc.s 5 + IL_012f: call class NAnt.Core.IBuildListener class NAnt.Core.ConsoleDriver::CreateListener(string) + IL_0134: stloc.s 7 + IL_0136: ldloc.0 + IL_0137: ldloc.s 7 + IL_0139: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) + IL_013e: pop + IL_013f: nop + IL_0140: leave IL_016b - // method line 1745 - .method public hidebysig specialname - instance default bool get_CaseSensitive () cil managed - { - // Method begins at RVA 0x23de8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.DirectoryScanner::_caseSensitive - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 2 + catch class [mscorlib]System.Exception { // 2 + IL_0145: stloc.s 8 + IL_0147: nop + IL_0148: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_014d: ldstr "NA1002" + IL_0152: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0157: ldloc.s 5 + IL_0159: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_015e: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0163: ldloc.s 8 + IL_0165: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_016a: throw + } // end handler 2 + IL_016b: nop + IL_016c: ldloc.s 6 + IL_016e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0173: brtrue IL_0122 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DirectoryScanner::get_CaseSensitive + IL_0178: leave IL_0194 - // method line 1746 - .method public hidebysig specialname - instance default void set_CaseSensitive (bool 'value') cil managed - { - // Method begins at RVA 0x23e03 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: ldfld bool NAnt.Core.DirectoryScanner::_caseSensitive - IL_0008: beq IL_001c + } // end .try 3 + finally { // 3 + IL_017d: ldloc.s 6 + IL_017f: isinst [mscorlib]System.IDisposable + IL_0184: dup + IL_0185: stloc.s 9 + IL_0187: brfalse IL_0193 - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld bool NAnt.Core.DirectoryScanner::_caseSensitive - IL_0015: ldarg.0 - IL_0016: call instance void class NAnt.Core.DirectoryScanner::Reset() - IL_001b: nop - IL_001c: ret - } // end of method DirectoryScanner::set_CaseSensitive + IL_018c: ldloc.s 9 + IL_018e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0193: endfinally + } // end handler 3 + IL_0194: ldarg.1 + IL_0195: ldloc.0 + IL_0196: callvirt instance void class NAnt.Core.Project::AttachBuildListeners(class NAnt.Core.BuildListenerCollection) + IL_019b: ret + } // end of method ConsoleDriver::AddBuildListeners - // method line 1747 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Includes () cil managed + // method line 1722 + .method private static hidebysig + default void ShowHelp (class NAnt.Core.Util.CommandLineParser parser) cil managed { - // Method begins at RVA 0x23e24 - // Code size 15 (0xf) + // Method begins at RVA 0x222c4 + // Code size 68 (0x44) .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DirectoryScanner::get_Includes + IL_0001: ldstr "NAnt comes with ABSOLUTELY NO WARRANTY." + IL_0006: call void class [mscorlib]System.Console::WriteLine(string) + IL_000b: ldstr "This is free software, and you are welcome to redistribute it under certain" + IL_0010: call void class [mscorlib]System.Console::WriteLine(string) + IL_0015: ldstr "conditions set out by the GNU General Public License. A copy of the license" + IL_001a: call void class [mscorlib]System.Console::WriteLine(string) + IL_001f: ldstr "is available in the distribution package and from the NAnt web site." + IL_0024: call void class [mscorlib]System.Console::WriteLine(string) + IL_0029: call void class [mscorlib]System.Console::WriteLine() + IL_002e: ldarg.0 + IL_002f: callvirt instance string class NAnt.Core.Util.CommandLineParser::get_Usage() + IL_0034: call void class [mscorlib]System.Console::WriteLine(string) + IL_0039: ldstr "A file ending in .build will be used if no buildfile is specified." + IL_003e: call void class [mscorlib]System.Console::WriteLine(string) + IL_0043: ret + } // end of method ConsoleDriver::ShowHelp - // method line 1748 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Excludes () cil managed + // method line 1723 + .method private static hidebysig + default void WriteException (class [mscorlib]System.Exception cause) cil managed { - // Method begins at RVA 0x23e40 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x22314 + // Code size 113 (0x71) + .maxstack 4 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DirectoryScanner::get_Excludes + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_005a - // method line 1749 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed - { - // Method begins at RVA 0x23e5c - // Code size 54 (0x36) - .maxstack 2 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_0007: brtrue IL_0028 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_000f: call bool string::IsNullOrEmpty(string) + IL_0014: brtrue IL_0051 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call string class [mscorlib]System.Environment::get_CurrentDirectory() - IL_0013: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) - IL_0018: callvirt instance string object::ToString() - IL_001d: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0022: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0019: nop + IL_001a: ldloc.0 + IL_001b: ldc.i4.0 + IL_001c: ble IL_002d + IL_0021: nop + IL_0022: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0027: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine() + IL_002c: nop + IL_002d: call class [mscorlib]System.IO.TextWriter class [mscorlib]System.Console::get_Error() + IL_0032: ldc.i4.s 0x20 IL_0034: ldloc.0 - IL_0035: ret - } // end of method DirectoryScanner::get_BaseDirectory + IL_0035: ldc.i4.4 + IL_0036: mul + IL_0037: newobj instance void string::'.ctor'(char, int32) + IL_003c: ldarg.0 + IL_003d: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0042: call string string::Concat(string, string) + IL_0047: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_004c: ldloc.0 + IL_004d: ldc.i4.1 + IL_004e: add + IL_004f: stloc.0 + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_0057: starg.s 0 + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: brfalse IL_0070 - // method line 1750 - .method public hidebysig specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x23e9e - // Code size 60 (0x3c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0020 + IL_0060: ldarg.0 + IL_0061: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0066: call bool string::IsNullOrEmpty(string) + IL_006b: brfalse IL_0008 - IL_0007: nop + IL_0070: ret + } // end of method ConsoleDriver::WriteException + + } // end of class NAnt.Core.ConsoleDriver +} + +.namespace NAnt.Core +{ + .class public auto ansi sealed serializable beforefieldinit FrameworkInfoDictionary + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IDictionary, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable, [mscorlib]System.ICloneable { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + .field private class [mscorlib]System.Collections.Hashtable _innerHash + + // method line 1724 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x22391 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0012: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1725 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.FrameworkInfoDictionary original) cil managed + { + // Method begins at RVA 0x223a5 + // Code size 25 (0x19) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 IL_0008: ldarg.1 - IL_0009: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000e: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) - IL_0013: callvirt instance string object::ToString() - IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001d: starg.s 1 - IL_001f: nop - IL_0020: ldarg.1 - IL_0021: ldarg.0 - IL_0022: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_0027: beq IL_003b + IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.FrameworkInfoDictionary::get_InnerHash() + IL_000e: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary) + IL_0013: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0018: ret + } // end of method FrameworkInfoDictionary::.ctor - IL_002c: nop - IL_002d: ldarg.0 - IL_002e: ldarg.1 - IL_002f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory - IL_0034: ldarg.0 - IL_0035: call instance void class NAnt.Core.DirectoryScanner::Reset() - IL_003a: nop - IL_003b: ret - } // end of method DirectoryScanner::set_BaseDirectory + // method line 1726 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary) cil managed + { + // Method begins at RVA 0x223bf + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary) + IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0013: ret + } // end of method FrameworkInfoDictionary::.ctor - // method line 1751 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_FileNames () cil managed + // method line 1727 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity) cil managed { - // Method begins at RVA 0x23edc - // Code size 34 (0x22) + // Method begins at RVA 0x223d4 + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32) + IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0013: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1728 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor) cil managed + { + // Method begins at RVA 0x223e9 + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, float32) + IL_000f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0014: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1729 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed + { + // Method begins at RVA 0x223ff + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) + IL_000f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0014: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1730 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity, int32 loadFactor) cil managed + { + // Method begins at RVA 0x22415 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: conv.r4 + IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, float32) + IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0015: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1731 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed + { + // Method begins at RVA 0x2242c + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: ldarg.3 + IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) + IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0015: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1732 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed + { + // Method begins at RVA 0x22443 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: ldarg.3 + IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) + IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0015: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1733 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed + { + // Method begins at RVA 0x2245a + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: ldarg.3 + IL_000b: ldarg.s 4 + IL_000d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, float32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) + IL_0012: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0017: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1734 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity, float32 loadFactor, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed + { + // Method begins at RVA 0x22473 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: ldarg.3 + IL_000b: ldarg.s 4 + IL_000d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, float32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) + IL_0012: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0017: ret + } // end of method FrameworkInfoDictionary::.ctor + + // method line 1735 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed + { + // Method begins at RVA 0x2248c + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + class [mscorlib]System.Collections.Hashtable V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_0007: brtrue IL_0014 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.Core.DirectoryScanner::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_001a: stloc.0 - IL_001b: br IL_0020 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionary::get_InnerHash - IL_0020: ldloc.0 - IL_0021: ret - } // end of method DirectoryScanner::get_FileNames + // method line 1736 + .method assembly hidebysig specialname + instance default void set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') cil managed + { + // Method begins at RVA 0x224a7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0008: ret + } // end of method FrameworkInfoDictionary::set_InnerHash - // method line 1752 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_DirectoryNames () cil managed + // method line 1737 + .method public hidebysig + instance default class NAnt.Core.FrameworkInfoDictionaryEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x23f0c - // Code size 34 (0x22) + // Method begins at RVA 0x224b4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + class NAnt.Core.FrameworkInfoDictionaryEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.Core.DirectoryScanner::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_001a: stloc.0 - IL_001b: br IL_0020 + IL_0002: newobj instance void class NAnt.Core.FrameworkInfoDictionaryEnumerator::'.ctor'(class NAnt.Core.FrameworkInfoDictionary) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0020: ldloc.0 - IL_0021: ret - } // end of method DirectoryScanner::get_DirectoryNames + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionary::GetEnumerator - // method line 1753 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_ScannedDirectories () cil managed + // method line 1738 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed { - // Method begins at RVA 0x23f3c - // Code size 34 (0x22) + // Method begins at RVA 0x224d0 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::GetEnumerator due to (null) + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + class [mscorlib]System.Collections.IDictionaryEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.Core.DirectoryScanner::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_001a: stloc.0 - IL_001b: br IL_0020 + IL_0002: newobj instance void class NAnt.Core.FrameworkInfoDictionaryEnumerator::'.ctor'(class NAnt.Core.FrameworkInfoDictionary) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0020: ldloc.0 - IL_0021: ret - } // end of method DirectoryScanner::get_ScannedDirectories + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.GetEnumerator - // method line 1754 - .method public hidebysig specialname - instance default bool get_IsEverythingIncluded () cil managed + // method line 1739 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0x23f6c + // Method begins at RVA 0x224ec + .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Collections.IEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded + IL_0002: call instance class NAnt.Core.FrameworkInfoDictionaryEnumerator class NAnt.Core.FrameworkInfoDictionary::GetEnumerator() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DirectoryScanner::get_IsEverythingIncluded + } // end of method FrameworkInfoDictionary::System.Collections.IEnumerable.GetEnumerator - // method line 1755 + // method line 1740 .method public hidebysig - instance default void Scan () cil managed + instance default void Remove (string key) cil managed { - // Method begins at RVA 0x23f88 - // Code size 234 (0xea) - .maxstack 5 - .locals init ( - int32 V_0) + // Method begins at RVA 0x22507 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0007: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns - IL_000c: ldarg.0 - IL_000d: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() - IL_0012: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames - IL_0017: ldarg.0 - IL_0018: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_001d: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns - IL_0022: ldarg.0 - IL_0023: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() - IL_0028: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames - IL_002d: ldarg.0 - IL_002e: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() - IL_0033: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_0038: ldarg.0 - IL_0039: ldarg.0 - IL_003a: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_003f: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) - IL_0044: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_0049: ldarg.0 - IL_004a: ldarg.0 - IL_004b: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_0050: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) - IL_0055: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_005a: ldarg.0 - IL_005b: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0060: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_0065: ldarg.0 - IL_0066: ldarg.0 - IL_0067: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_006c: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) - IL_0071: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_0076: ldarg.0 - IL_0077: ldarg.0 - IL_0078: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes - IL_007d: ldarg.0 - IL_007e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns - IL_0083: ldarg.0 - IL_0084: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames - IL_0089: ldc.i4.1 - IL_008a: call instance void class NAnt.Core.DirectoryScanner::ConvertPatterns(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.Collections.ArrayList, class [System]System.Collections.Specialized.StringCollection, bool) - IL_008f: ldarg.0 - IL_0090: ldarg.0 - IL_0091: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes - IL_0096: ldarg.0 - IL_0097: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns - IL_009c: ldarg.0 - IL_009d: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames - IL_00a2: ldc.i4.0 - IL_00a3: call instance void class NAnt.Core.DirectoryScanner::ConvertPatterns(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.Collections.ArrayList, class [System]System.Collections.Specialized.StringCollection, bool) - IL_00a8: ldc.i4.0 - IL_00a9: stloc.0 - IL_00aa: br IL_00d8 - - IL_00af: nop - IL_00b0: ldarg.0 - IL_00b1: ldarg.0 - IL_00b2: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_00b7: ldloc.0 - IL_00b8: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_00bd: ldarg.0 - IL_00be: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_00c3: ldloc.0 - IL_00c4: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_00c9: unbox.any [mscorlib]System.Boolean - IL_00ce: call instance void class NAnt.Core.DirectoryScanner::ScanDirectory(string, bool) - IL_00d3: nop - IL_00d4: ldloc.0 - IL_00d5: ldc.i4.1 - IL_00d6: add - IL_00d7: stloc.0 - IL_00d8: ldloc.0 - IL_00d9: ldarg.0 - IL_00da: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_00df: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00e4: blt IL_00af - - IL_00e9: ret - } // end of method DirectoryScanner::Scan + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_000d: ret + } // end of method FrameworkInfoDictionary::Remove - // method line 1756 - .method private hidebysig - instance default void Reset () cil managed + // method line 1741 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Remove (object key) cil managed { - // Method begins at RVA 0x24080 - // Code size 72 (0x48) - .maxstack 2 + // Method begins at RVA 0x22516 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Remove due to (null) + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: stfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded - IL_0008: ldarg.0 - IL_0009: ldnull - IL_000a: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns - IL_000f: ldarg.0 - IL_0010: ldnull - IL_0011: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames - IL_0016: ldarg.0 - IL_0017: ldnull - IL_0018: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns - IL_001d: ldarg.0 - IL_001e: ldnull - IL_001f: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames - IL_0024: ldarg.0 - IL_0025: ldnull - IL_0026: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_002b: ldarg.0 - IL_002c: ldnull - IL_002d: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_0032: ldarg.0 - IL_0033: ldnull - IL_0034: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_0039: ldarg.0 - IL_003a: ldnull - IL_003b: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_0040: ldarg.0 - IL_0041: ldnull - IL_0042: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_0047: ret - } // end of method DirectoryScanner::Reset + IL_0002: ldarg.1 + IL_0003: castclass [mscorlib]System.String + IL_0008: call instance void class NAnt.Core.FrameworkInfoDictionary::Remove(string) + IL_000d: ret + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.Remove - // method line 1757 - .method private hidebysig - instance default void ConvertPatterns (class [System]System.Collections.Specialized.StringCollection nantPatterns, class [mscorlib]System.Collections.ArrayList regexPatterns, class [System]System.Collections.Specialized.StringCollection nonRegexFiles, bool addSearchDirectories) cil managed + // method line 1742 + .method public hidebysig + instance default bool Contains (string key) cil managed { - // Method begins at RVA 0x240d4 - // Code size 345 (0x159) - .maxstack 7 + // Method begins at RVA 0x22528 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0, - string V_1, - bool V_2, - bool V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class NAnt.Core.DirectoryScanner/RegexEntry V_6, - string V_7, - int32 V_8, - class [mscorlib]System.IDisposable V_9) + bool V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0008: stloc.s 5 - .try { // 0 - IL_000a: br IL_0130 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000f: ldloc.s 5 - IL_0011: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0016: stloc.s 4 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldarg.s 4 - IL_001c: ldloc.s 4 - IL_001e: ldloca.s 0 - IL_0020: ldloca.s 2 - IL_0022: ldloca.s 3 - IL_0024: ldloca.s 1 - IL_0026: call instance void class NAnt.Core.DirectoryScanner::ParseSearchDirectoryAndPattern(bool, string, [out] string&, [out] bool&, [out] bool&, [out] string&) - IL_002b: ldloc.3 - IL_002c: brfalse IL_008f + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::Contains - IL_0031: nop - IL_0032: newobj instance void class NAnt.Core.DirectoryScanner/RegexEntry::'.ctor'() - IL_0037: stloc.s 6 - IL_0039: ldloc.s 6 - IL_003b: ldloc.2 - IL_003c: stfld bool NAnt.Core.DirectoryScanner/RegexEntry::IsRecursive - IL_0041: ldloc.s 6 - IL_0043: ldloc.0 - IL_0044: stfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_0049: ldloc.s 6 - IL_004b: ldloc.1 - IL_004c: stfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern - IL_0051: ldloc.1 - IL_0052: ldstr "**/*" - IL_0057: callvirt instance bool string::EndsWith(string) - IL_005c: brtrue IL_0071 + // method line 1743 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IDictionary.Contains (object key) cil managed + { + // Method begins at RVA 0x2254c + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Contains due to (null) + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass [mscorlib]System.String + IL_0008: call instance bool class NAnt.Core.FrameworkInfoDictionary::Contains(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0061: ldloc.1 - IL_0062: ldstr "**\\*" - IL_0067: callvirt instance bool string::EndsWith(string) - IL_006c: brfalse IL_0080 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.Contains - IL_0071: ldsfld class [log4net]log4net.ILog NAnt.Core.DirectoryScanner::logger - IL_0076: ldstr "**/* pattern may not produce desired results" - IL_007b: callvirt instance void class [log4net]log4net.ILog::Warn(object) - IL_0080: ldarg.2 - IL_0081: ldloc.s 6 - IL_0083: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0088: pop - IL_0089: nop - IL_008a: br IL_00b2 + // method line 1744 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed + { + // Method begins at RVA 0x2256d + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() + IL_000c: ret + } // end of method FrameworkInfoDictionary::Clear - IL_008f: nop - IL_0090: ldloc.0 - IL_0091: ldloc.1 - IL_0092: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0097: stloc.s 7 - IL_0099: ldarg.3 - IL_009a: ldloc.s 7 - IL_009c: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_00a1: brtrue IL_00b1 + // method line 1745 + .method public hidebysig + instance default void Add (string key, class NAnt.Core.FrameworkInfo 'value') cil managed + { + // Method begins at RVA 0x2257b + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_000e: ret + } // end of method FrameworkInfoDictionary::Add - IL_00a6: nop - IL_00a7: ldarg.3 - IL_00a8: ldloc.s 7 - IL_00aa: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00af: pop - IL_00b0: nop - IL_00b1: nop - IL_00b2: ldarg.s 4 - IL_00b4: brtrue IL_00bf + // method line 1746 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed + { + // Method begins at RVA 0x2258b + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Add due to (null) + // Code size 20 (0x14) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass [mscorlib]System.String + IL_0008: ldarg.2 + IL_0009: castclass NAnt.Core.FrameworkInfo + IL_000e: call instance void class NAnt.Core.FrameworkInfoDictionary::Add(string, class NAnt.Core.FrameworkInfo) + IL_0013: ret + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.Add - IL_00b9: nop - IL_00ba: leave IL_0130 + // method line 1747 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsReadOnly () cil managed + { + // Method begins at RVA 0x225a0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsReadOnly() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00bf: ldarg.0 - IL_00c0: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_00c5: ldloc.0 - IL_00c6: callvirt instance int32 class NAnt.Core.DirScannerStringCollection::IndexOf(string) - IL_00cb: stloc.s 8 - IL_00cd: ldloc.s 8 - IL_00cf: ldc.i4.m1 - IL_00d0: ble IL_010e + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_IsReadOnly - IL_00d5: nop - IL_00d6: ldarg.0 - IL_00d7: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_00dc: ldloc.s 8 - IL_00de: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_00e3: unbox.any [mscorlib]System.Boolean - IL_00e8: brtrue IL_0108 + // method line 1748 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_Item (string key) cil managed + { + // Method begins at RVA 0x225c0 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.FrameworkInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000d: castclass NAnt.Core.FrameworkInfo + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_00ed: ldloc.2 - IL_00ee: brfalse IL_0108 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FrameworkInfoDictionary::get_Item - IL_00f3: nop - IL_00f4: ldarg.0 - IL_00f5: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_00fa: ldloc.s 8 - IL_00fc: ldloc.2 - IL_00fd: box [mscorlib]System.Boolean - IL_0102: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_0107: nop - IL_0108: nop - IL_0109: br IL_012f + // method line 1749 + .method public hidebysig specialname + instance default void set_Item (string key, class NAnt.Core.FrameworkInfo 'value') cil managed + { + // Method begins at RVA 0x225e6 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_000e: ret + } // end of method FrameworkInfoDictionary::set_Item - IL_010e: nop - IL_010f: ldarg.0 - IL_0110: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories - IL_0115: ldloc.0 - IL_0116: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_011b: pop - IL_011c: ldarg.0 - IL_011d: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive - IL_0122: ldloc.2 - IL_0123: box [mscorlib]System.Boolean - IL_0128: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_012d: pop - IL_012e: nop - IL_012f: nop - IL_0130: ldloc.s 5 - IL_0132: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0137: brtrue IL_000f + // method line 1750 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionary.get_Item (object key) cil managed + { + // Method begins at RVA 0x225f8 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::get_Item due to (null) + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass [mscorlib]System.String + IL_0008: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_013c: leave IL_0158 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.get_Item - } // end .try 0 - finally { // 0 - IL_0141: ldloc.s 5 - IL_0143: isinst [mscorlib]System.IDisposable - IL_0148: dup - IL_0149: stloc.s 9 - IL_014b: brfalse IL_0157 + // method line 1751 + .method private final virtual hidebysig newslot specialname + instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed + { + // Method begins at RVA 0x22619 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::set_Item due to (null) + // Code size 20 (0x14) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass [mscorlib]System.String + IL_0008: ldarg.2 + IL_0009: castclass NAnt.Core.FrameworkInfo + IL_000e: call instance void class NAnt.Core.FrameworkInfoDictionary::set_Item(string, class NAnt.Core.FrameworkInfo) + IL_0013: ret + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.set_Item - IL_0150: ldloc.s 9 - IL_0152: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0157: endfinally - } // end handler 0 - IL_0158: ret - } // end of method DirectoryScanner::ConvertPatterns + // method line 1752 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed + { + // Method begins at RVA 0x22630 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.ICollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1758 - .method private hidebysig - instance default void ParseSearchDirectoryAndPattern (bool isInclude, string originalNAntPattern, [out] string& searchDirectory, [out] bool& recursive, [out] bool& isRegex, [out] string& regexPattern) cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_Values + + // method line 1753 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed { - // Method begins at RVA 0x24258 - // Code size 492 (0x1ec) - .maxstack 5 + // Method begins at RVA 0x22650 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0, - int32 V_1, - int32 V_2, - char[] V_3, - int32 V_4, - int32 V_5, - char V_6, - bool V_7, - string V_8) + class [mscorlib]System.Collections.ICollection V_0) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: stloc.0 - IL_0003: ldloc.0 - IL_0004: ldc.i4.s 0x5c - IL_0006: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_000b: callvirt instance string string::Replace(char, char) - IL_0010: stloc.0 - IL_0011: ldloc.0 - IL_0012: ldc.i4.s 0x2f - IL_0014: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0019: callvirt instance string string::Replace(char, char) - IL_001e: stloc.0 - IL_001f: ldloc.0 - IL_0020: ldstr "**" - IL_0025: callvirt instance int32 string::IndexOf(string) - IL_002a: stloc.1 - IL_002b: ldloc.0 - IL_002c: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0031: callvirt instance int32 string::LastIndexOf(char) - IL_0036: stloc.2 - IL_0037: ldc.i4.2 - IL_0038: newarr [mscorlib]System.Char - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldc.i4.s 0x3f - IL_0041: stelem.i2 - IL_0042: dup - IL_0043: ldc.i4.1 - IL_0044: ldc.i4.s 0x2a - IL_0046: stelem.i2 - IL_0047: stloc.3 - IL_0048: ldloc.0 - IL_0049: ldloc.3 - IL_004a: callvirt instance int32 string::IndexOfAny(char[]) - IL_004f: stloc.s 4 - IL_0051: ldloc.s 4 - IL_0053: ldc.i4.m1 - IL_0054: beq IL_0065 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0059: nop - IL_005a: ldloc.0 - IL_005b: ldc.i4.0 - IL_005c: ldloc.s 4 - IL_005e: callvirt instance string string::Substring(int32, int32) - IL_0063: stloc.0 - IL_0064: nop - IL_0065: ldloc.0 - IL_0066: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_006b: callvirt instance int32 string::LastIndexOf(char) - IL_0070: stloc.s 5 - IL_0072: ldarg.s 4 - IL_0074: ldloc.s 4 - IL_0076: ldc.i4.m1 - IL_0077: beq IL_0084 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_Keys - IL_007c: ldloc.s 4 - IL_007e: ldloc.2 - IL_007f: blt IL_008d + // method line 1754 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsFixedSize () cil managed + { + // Method begins at RVA 0x22670 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0084: ldloc.1 - IL_0085: ldc.i4.m1 - IL_0086: ceq - IL_0088: ldc.i4.0 - IL_0089: ceq - IL_008b: br.s IL_008e + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_IsFixedSize - IL_008d: ldc.i4.1 - IL_008e: stind.i1 - IL_008f: ldloc.s 5 - IL_0091: ldc.i4.m1 - IL_0092: beq IL_00d8 + // method line 1755 + .method private final virtual hidebysig newslot + instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + { + // Method begins at RVA 0x22690 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method FrameworkInfoDictionary::System.Collections.ICollection.CopyTo - IL_0097: nop - IL_0098: ldarg.2 - IL_0099: ldc.i4.0 - IL_009a: ldloc.s 5 - IL_009c: callvirt instance string string::Substring(int32, int32) - IL_00a1: stloc.0 - IL_00a2: ldloc.0 - IL_00a3: callvirt instance int32 string::get_Length() - IL_00a8: ldc.i4.2 - IL_00a9: bne.un IL_00d2 + // method line 1756 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsSynchronized () cil managed + { + // Method begins at RVA 0x226a0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsSynchronized() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00ae: ldloc.0 - IL_00af: ldc.i4.1 - IL_00b0: callvirt instance char string::get_Chars(int32) - IL_00b5: ldsfld char [mscorlib]System.IO.Path::VolumeSeparatorChar - IL_00ba: bne.un IL_00d2 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_IsSynchronized - IL_00bf: nop - IL_00c0: ldloc.0 - IL_00c1: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00c6: box [mscorlib]System.Char - IL_00cb: call string string::Concat(object, object) - IL_00d0: stloc.0 - IL_00d1: nop - IL_00d2: nop - IL_00d3: br IL_00e0 + // method line 1757 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed + { + // Method begins at RVA 0x226c0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00d8: nop - IL_00d9: ldsfld string [mscorlib]System.String::Empty - IL_00de: stloc.0 - IL_00df: nop - IL_00e0: ldloc.0 - IL_00e1: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_00e6: brfalse IL_00ff + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_Count - IL_00eb: nop - IL_00ec: ldarg.3 - IL_00ed: ldloc.0 - IL_00ee: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_00f3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00f8: stind.ref - IL_00f9: nop - IL_00fa: br IL_011e + // method line 1758 + .method public final virtual hidebysig newslot specialname + instance default object get_SyncRoot () cil managed + { + // Method begins at RVA 0x226e0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00ff: nop - IL_0100: ldarg.3 - IL_0101: ldarg.0 - IL_0102: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.DirectoryScanner::get_BaseDirectory() - IL_0107: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_010c: ldloc.0 - IL_010d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0112: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0117: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_011c: stind.ref - IL_011d: nop - IL_011e: ldarg.3 - IL_011f: ldind.ref - IL_0120: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0125: stloc.s 6 - IL_0127: ldloca.s 6 - IL_0129: constrained. [mscorlib]System.Char - IL_012f: callvirt instance string object::ToString() - IL_0134: callvirt instance bool string::EndsWith(string) - IL_0139: brfalse IL_0172 - - IL_013e: ldarg.3 - IL_013f: ldind.ref - IL_0140: callvirt instance int32 string::get_Length() - IL_0145: ldc.i4.3 - IL_0146: bne.un IL_015d - - IL_014b: ldarg.3 - IL_014c: ldind.ref - IL_014d: ldc.i4.1 - IL_014e: callvirt instance char string::get_Chars(int32) - IL_0153: ldsfld char [mscorlib]System.IO.Path::VolumeSeparatorChar - IL_0158: beq IL_0172 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_SyncRoot - IL_015d: nop - IL_015e: ldarg.3 - IL_015f: ldarg.3 - IL_0160: ldind.ref - IL_0161: ldc.i4.0 - IL_0162: ldarg.3 - IL_0163: ldind.ref - IL_0164: callvirt instance int32 string::get_Length() - IL_0169: ldc.i4.1 - IL_016a: sub - IL_016b: callvirt instance string string::Substring(int32, int32) - IL_0170: stind.ref - IL_0171: nop - IL_0172: ldloc.2 - IL_0173: ldc.i4.m1 - IL_0174: beq IL_0186 + // method line 1759 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.FrameworkInfo[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x22700 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method FrameworkInfoDictionary::CopyTo - IL_0179: ldloc.2 - IL_017a: ldarg.2 - IL_017b: callvirt instance int32 string::get_Length() - IL_0180: ldc.i4.1 - IL_0181: sub - IL_0182: ceq - IL_0184: br.s IL_0187 + // method line 1760 + .method public hidebysig + instance default class NAnt.Core.FrameworkInfoDictionary Clone () cil managed + { + // Method begins at RVA 0x22710 + // Code size 38 (0x26) + .maxstack 2 + .locals init ( + class NAnt.Core.FrameworkInfoDictionary V_0, + class NAnt.Core.FrameworkInfoDictionary V_1) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_000e: callvirt instance object class [mscorlib]System.Collections.Hashtable::Clone() + IL_0013: castclass [mscorlib]System.Collections.Hashtable + IL_0018: callvirt instance void class NAnt.Core.FrameworkInfoDictionary::set_InnerHash(class [mscorlib]System.Collections.Hashtable) + IL_001d: ldloc.0 + IL_001e: stloc.1 + IL_001f: br IL_0024 - IL_0186: ldc.i4.0 - IL_0187: stloc.s 7 - IL_0189: ldloc.s 4 - IL_018b: ldc.i4.m1 - IL_018c: bne.un IL_01b6 + IL_0024: ldloc.1 + IL_0025: ret + } // end of method FrameworkInfoDictionary::Clone - IL_0191: ldloc.s 7 - IL_0193: brtrue IL_01b6 + // method line 1761 + .method private final virtual hidebysig newslot + instance default object System.ICloneable.Clone () cil managed + { + // Method begins at RVA 0x22744 + .override Could not decode method override class [mscorlib]System.ICloneable::Clone due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.FrameworkInfoDictionary::Clone() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0198: nop - IL_0199: ldarg.s 6 - IL_019b: ldarg.0 - IL_019c: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.DirectoryScanner::get_BaseDirectory() - IL_01a1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01a6: ldarg.2 - IL_01a7: call string class NAnt.Core.DirectoryScanner::CleanPath(string, string) - IL_01ac: stind.ref - IL_01ad: ldarg.s 5 - IL_01af: ldc.i4.0 - IL_01b0: stind.i1 - IL_01b1: br IL_01eb + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionary::System.ICloneable.Clone - IL_01b6: ldarg.2 - IL_01b7: ldloc.s 5 - IL_01b9: ldc.i4.1 - IL_01ba: add - IL_01bb: callvirt instance string string::Substring(int32) - IL_01c0: stloc.s 8 - IL_01c2: ldloc.s 7 - IL_01c4: brfalse IL_01dd + // method line 1762 + .method public hidebysig + instance default bool ContainsKey (string key) cil managed + { + // Method begins at RVA 0x22760 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_01c9: nop - IL_01ca: ldloc.s 8 - IL_01cc: ldstr "**" - IL_01d1: call string string::Concat(string, string) - IL_01d6: stloc.s 8 - IL_01d8: ldarg.s 4 - IL_01da: ldc.i4.1 - IL_01db: stind.i1 - IL_01dc: nop - IL_01dd: ldarg.s 6 - IL_01df: ldloc.s 8 - IL_01e1: call string class NAnt.Core.DirectoryScanner::ToRegexPattern(string) - IL_01e6: stind.ref - IL_01e7: ldarg.s 5 - IL_01e9: ldc.i4.1 - IL_01ea: stind.i1 - IL_01eb: ret - } // end of method DirectoryScanner::ParseSearchDirectoryAndPattern + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::ContainsKey - // method line 1759 - .method private hidebysig - instance default void ScanDirectory (string path, bool recursive) cil managed + // method line 1763 + .method public hidebysig + instance default bool ContainsValue (class NAnt.Core.FrameworkInfo 'value') cil managed { - // Method begins at RVA 0x24450 - // Code size 795 (0x31b) - .maxstack 4 + // Method begins at RVA 0x22784 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0, - valuetype [mscorlib]System.Globalization.CompareOptions V_1, - class [mscorlib]System.Globalization.CompareInfo V_2, - class [mscorlib]System.Collections.ArrayList V_3, - class [mscorlib]System.Collections.ArrayList V_4, - class NAnt.Core.DirectoryScanner/RegexEntry V_5, - class [mscorlib]System.Collections.IEnumerator V_6, - string V_7, - char V_8, - class [mscorlib]System.IDisposable V_9, - class NAnt.Core.DirectoryScanner/RegexEntry V_10, - class [mscorlib]System.Collections.IEnumerator V_11, - string V_12, - char V_13, - class [mscorlib]System.IDisposable V_14, - class [mscorlib]System.IO.DirectoryInfo V_15, - class [mscorlib]System.IO.DirectoryInfo[] V_16, - int32 V_17, - class [mscorlib]System.IO.FileInfo V_18, - class [mscorlib]System.IO.FileInfo[] V_19, - int32 V_20, - string V_21) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash IL_0007: ldarg.1 - IL_0008: callvirt instance bool class NAnt.Core.DirScannerStringCollection::Contains(string) - IL_000d: brfalse IL_0018 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsValue(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0012: nop - IL_0013: br IL_031a + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::ContainsValue - IL_0018: ldarg.0 - IL_0019: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories - IL_001e: ldarg.1 - IL_001f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0024: pop - IL_0025: ldarg.1 - IL_0026: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_002b: brtrue IL_0036 + // method line 1764 + .method public static hidebysig + default class NAnt.Core.FrameworkInfoDictionary Synchronized (class NAnt.Core.FrameworkInfoDictionary nonSync) cil managed + { + // Method begins at RVA 0x227a8 + // Code size 33 (0x21) + .maxstack 2 + .locals init ( + class NAnt.Core.FrameworkInfoDictionary V_0, + class NAnt.Core.FrameworkInfoDictionary V_1) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.FrameworkInfoDictionary::get_InnerHash() + IL_000e: call class [mscorlib]System.Collections.Hashtable class [mscorlib]System.Collections.Hashtable::Synchronized(class [mscorlib]System.Collections.Hashtable) + IL_0013: callvirt instance void class NAnt.Core.FrameworkInfoDictionary::set_InnerHash(class [mscorlib]System.Collections.Hashtable) + IL_0018: ldloc.0 + IL_0019: stloc.1 + IL_001a: br IL_001f - IL_0030: nop - IL_0031: br IL_031a + IL_001f: ldloc.1 + IL_0020: ret + } // end of method FrameworkInfoDictionary::Synchronized - IL_0036: ldarg.1 - IL_0037: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_003c: stloc.0 - IL_003d: ldc.i4.0 - IL_003e: stloc.1 - IL_003f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0044: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_0049: stloc.2 - IL_004a: ldarg.0 - IL_004b: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_0050: brtrue IL_0059 + .property instance object System.Collections.IDictionary.Item (object) + { + .get instance default object NAnt.Core.FrameworkInfoDictionary::System.Collections.IDictionary.get_Item (object key) + .set instance default void NAnt.Core.FrameworkInfoDictionary::System.Collections.IDictionary.set_Item (object key, object 'value') + } + .property instance class [mscorlib]System.Collections.Hashtable InnerHash () + { + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::get_InnerHash () + .set instance default void NAnt.Core.FrameworkInfoDictionary::set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') + } + .property instance bool IsReadOnly () + { + .get instance default bool NAnt.Core.FrameworkInfoDictionary::get_IsReadOnly () + } + .property instance class NAnt.Core.FrameworkInfo Item (string) + { + .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.FrameworkInfoDictionary::get_Item (string key) + .set instance default void NAnt.Core.FrameworkInfoDictionary::set_Item (string key, class NAnt.Core.FrameworkInfo 'value') + } + .property instance class [mscorlib]System.Collections.ICollection Values () + { + .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.FrameworkInfoDictionary::get_Values () + } + .property instance class [mscorlib]System.Collections.ICollection Keys () + { + .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.FrameworkInfoDictionary::get_Keys () + } + .property instance bool IsFixedSize () + { + .get instance default bool NAnt.Core.FrameworkInfoDictionary::get_IsFixedSize () + } + .property instance bool IsSynchronized () + { + .get instance default bool NAnt.Core.FrameworkInfoDictionary::get_IsSynchronized () + } + .property instance int32 Count () + { + .get instance default int32 NAnt.Core.FrameworkInfoDictionary::get_Count () + } + .property instance object SyncRoot () + { + .get instance default object NAnt.Core.FrameworkInfoDictionary::get_SyncRoot () + } + } // end of class NAnt.Core.FrameworkInfoDictionary +} - IL_0055: ldloc.1 - IL_0056: ldc.i4.1 - IL_0057: or - IL_0058: stloc.1 - IL_0059: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_005e: stloc.3 - IL_005f: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0064: stloc.s 4 - IL_0066: nop - IL_0067: ldarg.0 - IL_0068: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns - IL_006d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0072: stloc.s 6 - .try { // 0 - IL_0074: br IL_0114 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit FrameworkInfoDictionaryEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator - IL_0079: ldloc.s 6 - IL_007b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0080: castclass NAnt.Core.DirectoryScanner/RegexEntry - IL_0085: stloc.s 5 - IL_0087: nop - IL_0088: ldloc.s 5 - IL_008a: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_008f: stloc.s 7 - IL_0091: ldloc.2 - IL_0092: ldarg.1 - IL_0093: ldloc.s 7 - IL_0095: ldloc.1 - IL_0096: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_009b: brtrue IL_00b0 + // method line 1765 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.FrameworkInfoDictionary enumerable) cil managed + { + // Method begins at RVA 0x227d5 + // Code size 25 (0x19) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.FrameworkInfoDictionary::get_InnerHash() + IL_000e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0013: stfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0018: ret + } // end of method FrameworkInfoDictionaryEnumerator::.ctor - IL_00a0: nop - IL_00a1: ldloc.3 - IL_00a2: ldloc.s 5 - IL_00a4: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00a9: pop - IL_00aa: nop - IL_00ab: br IL_0113 + // method line 1766 + .method public hidebysig specialname + instance default string get_Key () cil managed + { + // Method begins at RVA 0x227f0 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() + IL_000c: castclass [mscorlib]System.String + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_00b0: nop - IL_00b1: ldloc.s 5 - IL_00b3: ldfld bool NAnt.Core.DirectoryScanner/RegexEntry::IsRecursive - IL_00b8: brtrue IL_00c3 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkInfoDictionaryEnumerator::get_Key - IL_00bd: nop - IL_00be: leave IL_0114 + // method line 1767 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed + { + // Method begins at RVA 0x22818 + .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Key() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00c3: ldloc.s 7 - IL_00c5: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00ca: stloc.s 8 - IL_00cc: ldloca.s 8 - IL_00ce: constrained. [mscorlib]System.Char - IL_00d4: callvirt instance string object::ToString() - IL_00d9: callvirt instance bool string::EndsWith(string) - IL_00de: brtrue IL_00f8 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key - IL_00e3: nop - IL_00e4: ldloc.s 7 - IL_00e6: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00eb: box [mscorlib]System.Char - IL_00f0: call string string::Concat(object, object) - IL_00f5: stloc.s 7 - IL_00f7: nop - IL_00f8: ldloc.2 - IL_00f9: ldarg.1 - IL_00fa: ldloc.s 7 - IL_00fc: ldloc.1 - IL_00fd: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0102: brfalse IL_0112 + // method line 1768 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_Value () cil managed + { + // Method begins at RVA 0x22834 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.FrameworkInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value() + IL_000c: castclass NAnt.Core.FrameworkInfo + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0107: nop - IL_0108: ldloc.3 - IL_0109: ldloc.s 5 - IL_010b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0110: pop - IL_0111: nop - IL_0112: nop - IL_0113: nop - IL_0114: ldloc.s 6 - IL_0116: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_011b: brtrue IL_0079 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkInfoDictionaryEnumerator::get_Value - IL_0120: leave IL_013c + // method line 1769 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed + { + // Method begins at RVA 0x2285c + .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Value() + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_0125: ldloc.s 6 - IL_0127: isinst [mscorlib]System.IDisposable - IL_012c: dup - IL_012d: stloc.s 9 - IL_012f: brfalse IL_013b + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value - IL_0134: ldloc.s 9 - IL_0136: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_013b: endfinally - } // end handler 0 - IL_013c: nop - IL_013d: ldarg.0 - IL_013e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns - IL_0143: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0148: stloc.s 11 - .try { // 1 - IL_014a: br IL_01fd + // method line 1770 + .method public final virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed + { + // Method begins at RVA 0x22878 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.Collections.DictionaryEntry V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance valuetype [mscorlib]System.Collections.DictionaryEntry class [mscorlib]System.Collections.IDictionaryEnumerator::get_Entry() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_014f: ldloc.s 11 - IL_0151: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0156: castclass NAnt.Core.DirectoryScanner/RegexEntry - IL_015b: stloc.s 10 - IL_015d: nop - IL_015e: ldloc.s 10 - IL_0160: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_0165: stloc.s 12 - IL_0167: ldloc.s 10 - IL_0169: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_016e: callvirt instance int32 string::get_Length() - IL_0173: brfalse IL_0187 - - IL_0178: ldloc.2 - IL_0179: ldarg.1 - IL_017a: ldloc.s 12 - IL_017c: ldloc.1 - IL_017d: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0182: brtrue IL_0198 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionaryEnumerator::get_Entry - IL_0187: nop - IL_0188: ldloc.s 4 - IL_018a: ldloc.s 10 - IL_018c: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0191: pop - IL_0192: nop - IL_0193: br IL_01fc + // method line 1771 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + // Method begins at RVA 0x22898 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method FrameworkInfoDictionaryEnumerator::Reset - IL_0198: nop - IL_0199: ldloc.s 10 - IL_019b: ldfld bool NAnt.Core.DirectoryScanner/RegexEntry::IsRecursive - IL_01a0: brtrue IL_01ab + // method line 1772 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x228a8 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01a5: nop - IL_01a6: leave IL_01fd + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionaryEnumerator::MoveNext - IL_01ab: ldloc.s 12 - IL_01ad: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_01b2: stloc.s 13 - IL_01b4: ldloca.s 13 - IL_01b6: constrained. [mscorlib]System.Char - IL_01bc: callvirt instance string object::ToString() - IL_01c1: callvirt instance bool string::EndsWith(string) - IL_01c6: brtrue IL_01e0 + // method line 1773 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x228c8 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01cb: nop - IL_01cc: ldloc.s 12 - IL_01ce: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_01d3: box [mscorlib]System.Char - IL_01d8: call string string::Concat(object, object) - IL_01dd: stloc.s 12 - IL_01df: nop - IL_01e0: ldloc.2 - IL_01e1: ldarg.1 - IL_01e2: ldloc.s 12 - IL_01e4: ldloc.1 - IL_01e5: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_01ea: brfalse IL_01fb + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IEnumerator.get_Current - IL_01ef: nop - IL_01f0: ldloc.s 4 - IL_01f2: ldloc.s 10 - IL_01f4: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_01f9: pop - IL_01fa: nop - IL_01fb: nop - IL_01fc: nop - IL_01fd: ldloc.s 11 - IL_01ff: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0204: brtrue IL_014f + // method line 1774 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_Current () cil managed + { + // Method begins at RVA 0x228e8 + // Code size 38 (0x26) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.Collections.DictionaryEntry V_0, + class NAnt.Core.FrameworkInfo V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0011: stloc.0 + IL_0012: ldloca.s 0 + IL_0014: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0019: castclass NAnt.Core.FrameworkInfo + IL_001e: stloc.1 + IL_001f: br IL_0024 - IL_0209: leave IL_0225 + IL_0024: ldloc.1 + IL_0025: ret + } // end of method FrameworkInfoDictionaryEnumerator::get_Current - } // end .try 1 - finally { // 1 - IL_020e: ldloc.s 11 - IL_0210: isinst [mscorlib]System.IDisposable - IL_0215: dup - IL_0216: stloc.s 14 - IL_0218: brfalse IL_0224 + .property instance object System.Collections.IDictionaryEnumerator.Key () + { + .get instance default object NAnt.Core.FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key () + } + .property instance object System.Collections.IDictionaryEnumerator.Value () + { + .get instance default object NAnt.Core.FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.FrameworkInfoDictionaryEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance string Key () + { + .get instance default string NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Key () + } + .property instance class NAnt.Core.FrameworkInfo Value () + { + .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Value () + } + .property instance valuetype [mscorlib]System.Collections.DictionaryEntry Entry () + { + .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Entry () + } + .property instance class NAnt.Core.FrameworkInfo Current () + { + .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Current () + } + } // end of class NAnt.Core.FrameworkInfoDictionaryEnumerator +} - IL_021d: ldloc.s 14 - IL_021f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0224: endfinally - } // end handler 1 - IL_0225: nop - IL_0226: ldloc.0 - IL_0227: callvirt instance class [mscorlib]System.IO.DirectoryInfo[] class [mscorlib]System.IO.DirectoryInfo::GetDirectories() - IL_022c: stloc.s 16 - IL_022e: ldc.i4.0 - IL_022f: stloc.s 17 - IL_0231: br IL_028c +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit Location + extends [mscorlib]System.Object + { + .field private string _fileName + .field private int32 _lineNumber + .field private int32 _columnNumber + .field public static initonly class NAnt.Core.Location UnknownLocation - IL_0236: ldloc.s 16 - IL_0238: ldloc.s 17 - IL_023a: ldelem.ref - IL_023b: stloc.s 15 - IL_023d: nop - IL_023e: ldarg.2 - IL_023f: brfalse IL_0259 + // method line 1775 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string fileName, int32 lineNumber, int32 columnNumber) cil managed + { + // Method begins at RVA 0x2291a + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: ldarg.3 + IL_000b: call instance void class NAnt.Core.Location::Init(string, int32, int32) + IL_0010: ret + } // end of method Location::.ctor - IL_0244: nop - IL_0245: ldarg.0 - IL_0246: ldloc.s 15 - IL_0248: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_024d: ldc.i4.1 - IL_024e: call instance void class NAnt.Core.DirectoryScanner::ScanDirectory(string, bool) - IL_0253: nop - IL_0254: br IL_0285 + // method line 1776 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string fileName) cil managed + { + // Method begins at RVA 0x2292c + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldc.i4.0 + IL_000a: ldc.i4.0 + IL_000b: call instance void class NAnt.Core.Location::Init(string, int32, int32) + IL_0010: ret + } // end of method Location::.ctor - IL_0259: nop - IL_025a: ldarg.0 - IL_025b: ldloc.s 15 - IL_025d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0262: ldloc.3 - IL_0263: ldloc.s 4 - IL_0265: call instance bool class NAnt.Core.DirectoryScanner::IsPathIncluded(string, class [mscorlib]System.Collections.ArrayList, class [mscorlib]System.Collections.ArrayList) - IL_026a: brfalse IL_0284 + // method line 1777 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x2293e + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldnull + IL_0009: ldc.i4.0 + IL_000a: ldc.i4.0 + IL_000b: call instance void class NAnt.Core.Location::Init(string, int32, int32) + IL_0010: ret + } // end of method Location::.ctor - IL_026f: nop - IL_0270: ldarg.0 - IL_0271: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_0276: ldloc.s 15 - IL_0278: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_027d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0282: pop - IL_0283: nop - IL_0284: nop - IL_0285: nop - IL_0286: ldloc.s 17 - IL_0288: ldc.i4.1 - IL_0289: add - IL_028a: stloc.s 17 - IL_028c: ldloc.s 17 - IL_028e: ldloc.s 16 - IL_0290: ldlen - IL_0291: conv.i4 - IL_0292: blt IL_0236 + // method line 1778 + .method private hidebysig + instance default void Init (string fileName, int32 lineNumber, int32 columnNumber) cil managed + { + // Method begins at RVA 0x22950 + // Code size 84 (0x54) + .maxstack 2 + .locals init ( + class [System]System.Uri V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_003e - IL_0297: nop - IL_0298: ldloc.0 - IL_0299: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles() - IL_029e: stloc.s 19 - IL_02a0: ldc.i4.0 - IL_02a1: stloc.s 20 - IL_02a3: br IL_02f1 + IL_0007: nop + .try { // 1 + IL_0008: nop + IL_0009: ldarg.1 + IL_000a: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_000f: stloc.0 + IL_0010: ldloc.0 + IL_0011: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_0016: starg.s 1 + IL_0018: nop + IL_0019: leave IL_003d - IL_02a8: ldloc.s 19 - IL_02aa: ldloc.s 20 - IL_02ac: ldelem.ref - IL_02ad: stloc.s 18 - IL_02af: nop - IL_02b0: ldarg.1 - IL_02b1: ldloc.s 18 - IL_02b3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_02b8: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_02bd: stloc.s 21 - IL_02bf: ldarg.0 - IL_02c0: ldloc.s 21 - IL_02c2: ldloc.3 - IL_02c3: ldloc.s 4 - IL_02c5: call instance bool class NAnt.Core.DirectoryScanner::IsPathIncluded(string, class [mscorlib]System.Collections.ArrayList, class [mscorlib]System.Collections.ArrayList) - IL_02ca: brfalse IL_02ea + } // end .try 1 + catch class [mscorlib]System.Object { // 1 + IL_001e: pop + IL_001f: nop + .try { // 0 + IL_0020: nop + IL_0021: ldarg.1 + IL_0022: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0027: starg.s 1 + IL_0029: nop + IL_002a: leave IL_0037 - IL_02cf: nop - IL_02d0: ldarg.0 - IL_02d1: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames - IL_02d6: ldarg.1 - IL_02d7: ldloc.s 18 - IL_02d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_02de: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_02e3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_02e8: pop - IL_02e9: nop - IL_02ea: nop - IL_02eb: ldloc.s 20 - IL_02ed: ldc.i4.1 - IL_02ee: add - IL_02ef: stloc.s 20 - IL_02f1: ldloc.s 20 - IL_02f3: ldloc.s 19 - IL_02f5: ldlen - IL_02f6: conv.i4 - IL_02f7: blt IL_02a8 + } // end .try 0 + catch class [mscorlib]System.ArgumentException { // 0 + IL_002f: pop + IL_0030: nop + IL_0031: nop + IL_0032: leave IL_0037 - IL_02fc: ldarg.0 - IL_02fd: ldarg.1 - IL_02fe: ldloc.3 - IL_02ff: ldloc.s 4 - IL_0301: call instance bool class NAnt.Core.DirectoryScanner::IsPathIncluded(string, class [mscorlib]System.Collections.ArrayList, class [mscorlib]System.Collections.ArrayList) - IL_0306: brfalse IL_031a + } // end handler 0 + IL_0037: nop + IL_0038: leave IL_003d - IL_030b: nop - IL_030c: ldarg.0 - IL_030d: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames - IL_0312: ldarg.1 - IL_0313: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0318: pop - IL_0319: nop - IL_031a: ret - } // end of method DirectoryScanner::ScanDirectory + } // end handler 1 + IL_003d: nop + IL_003e: ldarg.0 + IL_003f: ldarg.1 + IL_0040: stfld string NAnt.Core.Location::_fileName + IL_0045: ldarg.0 + IL_0046: ldarg.2 + IL_0047: stfld int32 NAnt.Core.Location::_lineNumber + IL_004c: ldarg.0 + IL_004d: ldarg.3 + IL_004e: stfld int32 NAnt.Core.Location::_columnNumber + IL_0053: ret + } // end of method Location::Init - // method line 1760 - .method private hidebysig - instance default bool TestRegex (string path, class NAnt.Core.DirectoryScanner/RegexEntry entry) cil managed + // method line 1779 + .method public hidebysig specialname + instance default string get_FileName () cil managed { - // Method begins at RVA 0x24794 - // Code size 241 (0xf1) - .maxstack 4 + // Method begins at RVA 0x229cc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class [System]System.Text.RegularExpressions.Regex V_1, - valuetype [System]System.Text.RegularExpressions.RegexOptions V_2, - bool V_3, - bool V_4, - char V_5) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_0007: brfalse IL_0016 - - IL_000c: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseSensitiveRegexes - IL_0011: br IL_001b + IL_0002: ldfld string NAnt.Core.Location::_fileName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0016: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseInsensitiveRegexes - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.2 - IL_001e: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern - IL_0023: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0028: castclass [System]System.Text.RegularExpressions.Regex - IL_002d: stloc.1 - IL_002e: ldloc.1 - IL_002f: brtrue IL_0061 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Location::get_FileName - IL_0034: nop - IL_0035: ldc.i4.8 - IL_0036: stloc.2 - IL_0037: ldarg.0 - IL_0038: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_003d: brtrue IL_0046 + // method line 1780 + .method public hidebysig specialname + instance default int32 get_LineNumber () cil managed + { + // Method begins at RVA 0x229e8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Location::_lineNumber + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0042: ldloc.2 - IL_0043: ldc.i4.1 - IL_0044: or - IL_0045: stloc.2 - IL_0046: ldloc.0 - IL_0047: ldarg.2 - IL_0048: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern - IL_004d: ldarg.2 - IL_004e: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern - IL_0053: ldloc.2 - IL_0054: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_0059: dup - IL_005a: stloc.1 - IL_005b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0060: nop - IL_0061: ldarg.1 - IL_0062: callvirt instance int32 string::get_Length() - IL_0067: ldarg.2 - IL_0068: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_006d: callvirt instance int32 string::get_Length() - IL_0072: bne.un IL_0089 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Location::get_LineNumber - IL_0077: nop - IL_0078: ldloc.1 - IL_0079: ldsfld string [mscorlib]System.String::Empty - IL_007e: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) - IL_0083: stloc.3 - IL_0084: br IL_00ef + // method line 1781 + .method public hidebysig specialname + instance default int32 get_ColumnNumber () cil managed + { + // Method begins at RVA 0x22a04 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Location::_columnNumber + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0089: ldarg.2 - IL_008a: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_008f: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0094: stloc.s 5 - IL_0096: ldloca.s 5 - IL_0098: constrained. [mscorlib]System.Char - IL_009e: callvirt instance string object::ToString() - IL_00a3: callvirt instance bool string::EndsWith(string) - IL_00a8: stloc.s 4 - IL_00aa: ldloc.s 4 - IL_00ac: brfalse IL_00cf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Location::get_ColumnNumber - IL_00b1: nop - IL_00b2: ldloc.1 - IL_00b3: ldarg.1 - IL_00b4: ldarg.2 - IL_00b5: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_00ba: callvirt instance int32 string::get_Length() - IL_00bf: callvirt instance string string::Substring(int32) - IL_00c4: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) - IL_00c9: stloc.3 - IL_00ca: br IL_00ef - - IL_00cf: nop - IL_00d0: ldloc.1 - IL_00d1: ldarg.1 - IL_00d2: ldarg.2 - IL_00d3: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory - IL_00d8: callvirt instance int32 string::get_Length() - IL_00dd: ldc.i4.1 - IL_00de: add - IL_00df: callvirt instance string string::Substring(int32) - IL_00e4: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) - IL_00e9: stloc.3 - IL_00ea: br IL_00ef - - IL_00ef: ldloc.3 - IL_00f0: ret - } // end of method DirectoryScanner::TestRegex - - // method line 1761 - .method private hidebysig - instance default bool IsPathIncluded (string path, class [mscorlib]System.Collections.ArrayList includedPatterns, class [mscorlib]System.Collections.ArrayList excludedPatterns) cil managed + // method line 1782 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x24894 - // Code size 471 (0x1d7) - .maxstack 4 + // Method begins at RVA 0x22a20 + // Code size 121 (0x79) + .maxstack 5 .locals init ( - bool V_0, - valuetype [mscorlib]System.Globalization.CompareOptions V_1, - class [mscorlib]System.Globalization.CompareInfo V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - class NAnt.Core.DirectoryScanner/RegexEntry V_6, - class [mscorlib]System.Collections.IEnumerator V_7, - class [mscorlib]System.IDisposable V_8, - string V_9, - class [System]System.Collections.Specialized.StringEnumerator V_10, - class [mscorlib]System.IDisposable V_11, - class NAnt.Core.DirectoryScanner/RegexEntry V_12, - class [mscorlib]System.Collections.IEnumerator V_13, - class [mscorlib]System.IDisposable V_14, - bool V_15) + class [mscorlib]System.Text.StringBuilder V_0, + string V_1) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldc.i4.0 - IL_0004: stloc.1 - IL_0005: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000a: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000f: stloc.2 - IL_0010: ldarg.0 - IL_0011: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_0016: brtrue IL_001f - - IL_001b: ldloc.1 - IL_001c: ldc.i4.1 - IL_001d: or - IL_001e: stloc.1 - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames - IL_0026: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_002b: stloc.s 4 - .try { // 0 - IL_002d: br IL_0052 - - IL_0032: ldloc.s 4 - IL_0034: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0039: stloc.3 - IL_003a: nop - IL_003b: ldloc.2 - IL_003c: ldloc.3 - IL_003d: ldarg.1 - IL_003e: ldloc.1 - IL_003f: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0044: brtrue IL_0051 - - IL_0049: nop - IL_004a: ldc.i4.1 - IL_004b: stloc.0 - IL_004c: leave IL_005e - - IL_0051: nop - IL_0052: ldloc.s 4 - IL_0054: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0059: brtrue IL_0032 - - IL_005e: leave IL_007a - - } // end .try 0 - finally { // 0 - IL_0063: ldloc.s 4 - IL_0065: isinst [mscorlib]System.IDisposable - IL_006a: dup - IL_006b: stloc.s 5 - IL_006d: brfalse IL_0079 - - IL_0072: ldloc.s 5 - IL_0074: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0079: endfinally - } // end handler 0 - IL_007a: ldloc.0 - IL_007b: brtrue IL_00de - - IL_0080: nop - IL_0081: nop - IL_0082: ldarg.2 - IL_0083: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0088: stloc.s 7 - .try { // 1 - IL_008a: br IL_00b5 - - IL_008f: ldloc.s 7 - IL_0091: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0096: castclass NAnt.Core.DirectoryScanner/RegexEntry - IL_009b: stloc.s 6 - IL_009d: nop - IL_009e: ldarg.0 - IL_009f: ldarg.1 - IL_00a0: ldloc.s 6 - IL_00a2: call instance bool class NAnt.Core.DirectoryScanner::TestRegex(string, class NAnt.Core.DirectoryScanner/RegexEntry) - IL_00a7: brfalse IL_00b4 - - IL_00ac: nop - IL_00ad: ldc.i4.1 - IL_00ae: stloc.0 - IL_00af: leave IL_00c1 - - IL_00b4: nop - IL_00b5: ldloc.s 7 - IL_00b7: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00bc: brtrue IL_008f - - IL_00c1: leave IL_00dd - - } // end .try 1 - finally { // 1 - IL_00c6: ldloc.s 7 - IL_00c8: isinst [mscorlib]System.IDisposable - IL_00cd: dup - IL_00ce: stloc.s 8 - IL_00d0: brfalse IL_00dc - - IL_00d5: ldloc.s 8 - IL_00d7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00dc: endfinally - } // end handler 1 - IL_00dd: nop - IL_00de: ldloc.0 - IL_00df: brfalse IL_0143 - - IL_00e4: nop - IL_00e5: nop - IL_00e6: ldarg.0 - IL_00e7: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames - IL_00ec: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00f1: stloc.s 10 - .try { // 2 - IL_00f3: br IL_011a - - IL_00f8: ldloc.s 10 - IL_00fa: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00ff: stloc.s 9 - IL_0101: nop - IL_0102: ldloc.2 - IL_0103: ldloc.s 9 - IL_0105: ldarg.1 - IL_0106: ldloc.1 - IL_0107: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_010c: brtrue IL_0119 - - IL_0111: nop - IL_0112: ldc.i4.0 - IL_0113: stloc.0 - IL_0114: leave IL_0126 - - IL_0119: nop - IL_011a: ldloc.s 10 - IL_011c: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0121: brtrue IL_00f8 - - IL_0126: leave IL_0142 - - } // end .try 2 - finally { // 2 - IL_012b: ldloc.s 10 - IL_012d: isinst [mscorlib]System.IDisposable - IL_0132: dup - IL_0133: stloc.s 11 - IL_0135: brfalse IL_0141 + IL_0001: ldstr "" + IL_0006: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_000b: stloc.0 + IL_000c: ldarg.0 + IL_000d: ldfld string NAnt.Core.Location::_fileName + IL_0012: brfalse IL_006b - IL_013a: ldloc.s 11 - IL_013c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0141: endfinally - } // end handler 2 - IL_0142: nop - IL_0143: ldloc.0 - IL_0144: brfalse IL_01a7 + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldarg.0 + IL_001a: ldfld string NAnt.Core.Location::_fileName + IL_001f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0024: pop + IL_0025: ldarg.0 + IL_0026: ldfld int32 NAnt.Core.Location::_lineNumber + IL_002b: brfalse IL_005e - IL_0149: nop - IL_014a: nop - IL_014b: ldarg.3 - IL_014c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0151: stloc.s 13 - .try { // 3 - IL_0153: br IL_017e + IL_0030: nop + IL_0031: ldloc.0 + IL_0032: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0037: ldstr "({0},{1})" + IL_003c: ldarg.0 + IL_003d: ldfld int32 NAnt.Core.Location::_lineNumber + IL_0042: box [mscorlib]System.Int32 + IL_0047: ldarg.0 + IL_0048: ldfld int32 NAnt.Core.Location::_columnNumber + IL_004d: box [mscorlib]System.Int32 + IL_0052: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0057: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_005c: pop + IL_005d: nop + IL_005e: ldloc.0 + IL_005f: ldstr ":" + IL_0064: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0069: pop + IL_006a: nop + IL_006b: ldloc.0 + IL_006c: callvirt instance string object::ToString() + IL_0071: stloc.1 + IL_0072: br IL_0077 - IL_0158: ldloc.s 13 - IL_015a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_015f: castclass NAnt.Core.DirectoryScanner/RegexEntry - IL_0164: stloc.s 12 - IL_0166: nop - IL_0167: ldarg.0 - IL_0168: ldarg.1 - IL_0169: ldloc.s 12 - IL_016b: call instance bool class NAnt.Core.DirectoryScanner::TestRegex(string, class NAnt.Core.DirectoryScanner/RegexEntry) - IL_0170: brfalse IL_017d + IL_0077: ldloc.1 + IL_0078: ret + } // end of method Location::ToString - IL_0175: nop - IL_0176: ldc.i4.0 - IL_0177: stloc.0 - IL_0178: leave IL_018a + // method line 1783 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x22aa5 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: newobj instance void class NAnt.Core.Location::'.ctor'() + IL_0005: stsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_000a: ret + } // end of method Location::.cctor - IL_017d: nop - IL_017e: ldloc.s 13 - IL_0180: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0185: brtrue IL_0158 + .property instance string FileName () + { + .get instance default string NAnt.Core.Location::get_FileName () + } + .property instance int32 LineNumber () + { + .get instance default int32 NAnt.Core.Location::get_LineNumber () + } + .property instance int32 ColumnNumber () + { + .get instance default int32 NAnt.Core.Location::get_ColumnNumber () + } + } // end of class NAnt.Core.Location +} - IL_018a: leave IL_01a6 +.namespace NAnt.Core +{ + .class public auto ansi sealed serializable beforefieldinit Target + extends NAnt.Core.Element + implements [mscorlib]System.ICloneable { + .field private string _name + .field private string _description + .field private string _ifCondition + .field private string _unlessCondition + .field private class [System]System.Collections.Specialized.StringCollection _dependencies + .field private bool _executed - } // end .try 3 - finally { // 3 - IL_018f: ldloc.s 13 - IL_0191: isinst [mscorlib]System.IDisposable - IL_0196: dup - IL_0197: stloc.s 14 - IL_0199: brfalse IL_01a5 + // method line 1784 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x22ab1 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Element::'.ctor'() + IL_0011: nop + IL_0012: ret + } // end of method Target::.ctor - IL_019e: ldloc.s 14 - IL_01a0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01a5: endfinally - } // end handler 3 - IL_01a6: nop - IL_01a7: ldloc.0 - IL_01a8: brtrue IL_01cc + // method line 1785 + .method public hidebysig specialname + instance default bool get_Executed () cil managed + { + // Method begins at RVA 0x22ac8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Target::_executed + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01ad: ldarg.0 - IL_01ae: ldfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded - IL_01b3: brfalse IL_01cc + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Target::get_Executed - IL_01b8: ldarg.1 - IL_01b9: call bool class [mscorlib]System.IO.File::Exists(string) - IL_01be: brfalse IL_01cc + // method line 1786 + .method public hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x22ae4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Target::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01c3: nop - IL_01c4: ldarg.0 - IL_01c5: ldc.i4.0 - IL_01c6: stfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded - IL_01cb: nop - IL_01cc: ldloc.0 - IL_01cd: stloc.s 15 - IL_01cf: br IL_01d4 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Target::get_Name - IL_01d4: ldloc.s 15 - IL_01d6: ret - } // end of method DirectoryScanner::IsPathIncluded + // method line 1787 + .method public hidebysig specialname + instance default void set_Name (string 'value') cil managed + { + // Method begins at RVA 0x22aff + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Target::_name + IL_0008: ret + } // end of method Target::set_Name - // method line 1762 - .method private static hidebysig - default class [mscorlib]System.Text.StringBuilder CleanPath (string nantPath) cil managed + // method line 1788 + .method public hidebysig specialname + instance default string get_IfCondition () cil managed { - // Method begins at RVA 0x24aac - // Code size 45 (0x2d) - .maxstack 3 + // Method begins at RVA 0x22b0c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - class [mscorlib]System.Text.StringBuilder V_1) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_0002: ldfld string NAnt.Core.Target::_ifCondition IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldc.i4.s 0x2f - IL_000b: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0010: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(char, char) - IL_0015: pop - IL_0016: ldloc.0 - IL_0017: ldc.i4.s 0x5c - IL_0019: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_001e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(char, char) - IL_0023: pop - IL_0024: ldloc.0 - IL_0025: stloc.1 - IL_0026: br IL_002b + IL_0008: br IL_000d - IL_002b: ldloc.1 - IL_002c: ret - } // end of method DirectoryScanner::CleanPath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Target::get_IfCondition - // method line 1763 - .method private static hidebysig - default string CleanPath (string baseDirectory, string nantPath) cil managed + // method line 1789 + .method public hidebysig specialname + instance default void set_IfCondition (string 'value') cil managed { - // Method begins at RVA 0x24ae8 - // Code size 36 (0x24) - .maxstack 2 - .locals init ( - string V_0) + // Method begins at RVA 0x22b27 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) - IL_0008: callvirt instance string object::ToString() - IL_000d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0012: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001c: stloc.0 - IL_001d: br IL_0022 - - IL_0022: ldloc.0 - IL_0023: ret - } // end of method DirectoryScanner::CleanPath + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Target::_ifCondition + IL_000d: ret + } // end of method Target::set_IfCondition - // method line 1764 - .method private static hidebysig - default string ToRegexPattern (string nantPattern) cil managed + // method line 1790 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x24b18 - // Code size 579 (0x243) - .maxstack 6 + // Method begins at RVA 0x22b38 + // Code size 104 (0x68) + .maxstack 3 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1, - char V_2, - string V_3, - string V_4) + string V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldstr "\\" - IL_000e: ldstr "\\\\" - IL_0013: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_0018: pop - IL_0019: ldloc.0 - IL_001a: ldstr "." - IL_001f: ldstr "\\." - IL_0024: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_0029: pop - IL_002a: ldloc.0 - IL_002b: ldstr "$" - IL_0030: ldstr "\\$" - IL_0035: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_003a: pop - IL_003b: ldloc.0 - IL_003c: ldstr "^" - IL_0041: ldstr "\\^" - IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_004b: pop - IL_004c: ldloc.0 - IL_004d: ldstr "{" - IL_0052: ldstr "\\{" - IL_0057: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_005c: pop - IL_005d: ldloc.0 - IL_005e: ldstr "[" - IL_0063: ldstr "\\[" - IL_0068: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_006d: pop - IL_006e: ldloc.0 - IL_006f: ldstr "(" - IL_0074: ldstr "\\(" - IL_0079: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_007e: pop - IL_007f: ldloc.0 - IL_0080: ldstr ")" - IL_0085: ldstr "\\)" - IL_008a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_008f: pop - IL_0090: ldloc.0 - IL_0091: ldstr "+" - IL_0096: ldstr "\\+" - IL_009b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_00a0: pop - IL_00a1: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00a6: stloc.2 - IL_00a7: ldloca.s 2 - IL_00a9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ae: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_00b3: stloc.1 - IL_00b4: ldloc.1 - IL_00b5: ldstr "\\" - IL_00ba: call bool string::op_Equality(string, string) - IL_00bf: brfalse IL_00ca - - IL_00c4: ldstr "\\\\" - IL_00c9: stloc.1 - IL_00ca: ldloc.0 - IL_00cb: ldstr "?" - IL_00d0: ldstr "[^" - IL_00d5: ldloc.1 - IL_00d6: ldstr "]?" - IL_00db: call string string::Concat(string, string, string) - IL_00e0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_00e5: pop - IL_00e6: ldloc.0 - IL_00e7: callvirt instance string object::ToString() - IL_00ec: ldc.i4.5 - IL_00ed: newarr [mscorlib]System.String - IL_00f2: dup - IL_00f3: ldc.i4.0 - IL_00f4: ldstr "(?<=" - IL_00f9: stelem.ref - IL_00fa: dup - IL_00fb: ldc.i4.1 - IL_00fc: ldloc.1 - IL_00fd: stelem.ref - IL_00fe: dup - IL_00ff: ldc.i4.2 - IL_0100: ldstr ")\\*(?=($|" - IL_0105: stelem.ref - IL_0106: dup - IL_0107: ldc.i4.3 - IL_0108: ldloc.1 - IL_0109: stelem.ref - IL_010a: dup - IL_010b: ldc.i4.4 - IL_010c: ldstr "))" - IL_0111: stelem.ref - IL_0112: call string string::Concat(string[]) - IL_0117: ldstr "[^" - IL_011c: ldloc.1 - IL_011d: ldstr "]+" - IL_0122: call string string::Concat(string, string, string) - IL_0127: call string class [System]System.Text.RegularExpressions.Regex::Replace(string, string, string) - IL_012c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) - IL_0131: stloc.0 - IL_0132: ldloc.0 - IL_0133: ldloc.1 - IL_0134: ldstr "**" - IL_0139: ldloc.1 - IL_013a: call string string::Concat(string, string, string) - IL_013f: ldloc.1 - IL_0140: ldstr "(.|?" - IL_0145: ldloc.1 - IL_0146: ldstr ")?" - IL_014b: call string string::Concat(string, string, string, string) - IL_0150: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_0155: pop - IL_0156: ldloc.0 - IL_0157: ldstr "**" - IL_015c: ldloc.1 - IL_015d: call string string::Concat(string, string) - IL_0162: ldstr ".|(?<=^|" - IL_0167: ldloc.1 - IL_0168: ldstr ")" - IL_016d: call string string::Concat(string, string, string) - IL_0172: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_0177: pop - IL_0178: ldloc.0 - IL_0179: ldloc.1 - IL_017a: ldstr "**" - IL_017f: call string string::Concat(string, string) - IL_0184: ldstr "(?=$|" - IL_0189: ldloc.1 - IL_018a: ldstr ").|" - IL_018f: call string string::Concat(string, string, string) - IL_0194: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_0199: pop - IL_019a: ldloc.0 - IL_019b: ldstr "**" - IL_01a0: ldstr ".|" - IL_01a5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_01aa: pop - IL_01ab: ldloc.0 - IL_01ac: ldstr "*" - IL_01b1: ldstr "[^" - IL_01b6: ldloc.1 - IL_01b7: ldstr "]*" - IL_01bc: call string string::Concat(string, string, string) - IL_01c1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_01c6: pop - IL_01c7: ldloc.0 - IL_01c8: ldstr ".|" - IL_01cd: ldstr ".*" - IL_01d2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) - IL_01d7: pop - IL_01d8: ldloc.0 - IL_01d9: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_01de: ldc.i4.0 - IL_01df: ble IL_01f9 - - IL_01e4: nop - IL_01e5: ldloc.0 - IL_01e6: ldc.i4.0 - IL_01e7: ldc.i4.s 0x5e - IL_01e9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Insert(int32, char) - IL_01ee: pop - IL_01ef: ldloc.0 - IL_01f0: ldc.i4.s 0x24 - IL_01f2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_01f7: pop - IL_01f8: nop - IL_01f9: ldloc.0 - IL_01fa: callvirt instance string object::ToString() - IL_01ff: stloc.3 - IL_0200: ldloc.3 - IL_0201: ldstr "^.*" - IL_0206: callvirt instance bool string::StartsWith(string) - IL_020b: brfalse IL_0218 - - IL_0210: ldloc.3 - IL_0211: ldc.i4.3 - IL_0212: callvirt instance string string::Substring(int32) - IL_0217: stloc.3 - IL_0218: ldloc.3 - IL_0219: ldstr ".*$" - IL_021e: callvirt instance bool string::EndsWith(string) - IL_0223: brfalse IL_0238 - - IL_0228: ldloc.3 - IL_0229: ldc.i4.0 - IL_022a: ldloc.0 - IL_022b: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0230: ldc.i4.3 - IL_0231: sub - IL_0232: callvirt instance string string::Substring(int32, int32) - IL_0237: stloc.3 - IL_0238: ldloc.3 - IL_0239: stloc.s 4 - IL_023b: br IL_0240 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Target::get_IfCondition() + IL_0012: ldarg.0 + IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0018: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_001d: stloc.0 + IL_001e: ldloc.0 + IL_001f: call bool string::IsNullOrEmpty(string) + IL_0024: brtrue IL_005f - IL_0240: ldloc.s 4 - IL_0242: ret - } // end of method DirectoryScanner::ToRegexPattern + IL_0029: nop + .try { // 0 + IL_002a: nop + IL_002b: ldloc.0 + IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0031: call bool class [mscorlib]System.Convert::ToBoolean(string, class [mscorlib]System.IFormatProvider) + IL_0036: stloc.1 + IL_0037: leave IL_0066 - // method line 1765 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x24d67 - // Code size 41 (0x29) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.DirectoryScanner::logger - IL_0014: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0019: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseSensitiveRegexes - IL_001e: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0023: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseInsensitiveRegexes - IL_0028: ret - } // end of method DirectoryScanner::.cctor + } // end .try 0 + catch class [mscorlib]System.FormatException { // 0 + IL_003c: pop + IL_003d: nop + IL_003e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0043: ldstr "NA1070" + IL_0048: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004d: ldloc.0 + IL_004e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0053: ldarg.0 + IL_0054: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0059: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_005e: throw + } // end handler 0 + IL_005f: ldc.i4.1 + IL_0060: stloc.1 + IL_0061: br IL_0066 - .property instance bool CaseSensitive () - { - .get instance default bool NAnt.Core.DirectoryScanner::get_CaseSensitive () - .set instance default void NAnt.Core.DirectoryScanner::set_CaseSensitive (bool 'value') - } - .property instance class [System]System.Collections.Specialized.StringCollection Includes () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_Includes () - } - .property instance class [System]System.Collections.Specialized.StringCollection Excludes () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_Excludes () - } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::get_BaseDirectory () - .set instance default void NAnt.Core.DirectoryScanner::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class [System]System.Collections.Specialized.StringCollection FileNames () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_FileNames () - } - .property instance class [System]System.Collections.Specialized.StringCollection DirectoryNames () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_DirectoryNames () - } - .property instance class [System]System.Collections.Specialized.StringCollection ScannedDirectories () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_ScannedDirectories () - } - .property instance bool IsEverythingIncluded () - { - .get instance default bool NAnt.Core.DirectoryScanner::get_IsEverythingIncluded () - } - .class nested private auto ansi serializable beforefieldinit RegexEntry - extends [mscorlib]System.Object - { - .field public bool IsRecursive - .field public string BaseDirectory - .field public string Pattern + IL_0066: ldloc.1 + IL_0067: ret + } // end of method Target::get_IfDefined - // method line 1766 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1791 + .method public hidebysig specialname + instance default string get_UnlessCondition () cil managed { - // Method begins at RVA 0x24d91 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method RegexEntry::.ctor - - } // end of class RegexEntry - - } // end of class NAnt.Core.DirectoryScanner -} + // Method begins at RVA 0x22bbc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Target::_unlessCondition + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core -{ - .class private auto ansi serializable beforefieldinit StringCollectionWithGoodToString - extends [System]System.Collections.Specialized.StringCollection - implements [mscorlib]System.ICloneable { + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Target::get_UnlessCondition - // method line 1767 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1792 + .method public hidebysig specialname + instance default void set_UnlessCondition (string 'value') cil managed { - // Method begins at RVA 0x24d99 - // Code size 7 (0x7) + // Method begins at RVA 0x22bd7 + // Code size 14 (0xe) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: ret - } // end of method StringCollectionWithGoodToString::.ctor - - // method line 1768 - .method public virtual hidebysig newslot - instance default object Clone () cil managed - { - // Method begins at RVA 0x24da4 - // Code size 43 (0x2b) - .maxstack 3 - .locals init ( - string[] V_0, - class NAnt.Core.StringCollectionWithGoodToString V_1, - object V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0007: newarr [mscorlib]System.String - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.0 - IL_0010: call instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) - IL_0015: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() - IL_001a: stloc.1 - IL_001b: ldloc.1 - IL_001c: ldloc.0 - IL_001d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0022: ldloc.1 - IL_0023: stloc.2 - IL_0024: br IL_0029 - - IL_0029: ldloc.2 - IL_002a: ret - } // end of method StringCollectionWithGoodToString::Clone + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.Target::_unlessCondition + IL_000d: ret + } // end of method Target::set_UnlessCondition - // method line 1769 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 1793 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x24ddc - // Code size 129 (0x81) + // Method begins at RVA 0x22be8 + // Code size 104 (0x68) .maxstack 3 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - string V_4) + string V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string object::ToString() - IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldstr ":" - IL_0013: call string class [mscorlib]System.Environment::get_NewLine() - IL_0018: call string string::Concat(string, string) - IL_001d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0022: pop - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: call instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_002a: stloc.2 - .try { // 0 - IL_002b: br IL_004d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Target::get_UnlessCondition() + IL_0012: ldarg.0 + IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0018: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_001d: stloc.0 + IL_001e: ldloc.0 + IL_001f: call bool string::IsNullOrEmpty(string) + IL_0024: brtrue IL_005f - IL_0030: ldloc.2 - IL_0031: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0029: nop + .try { // 0 + IL_002a: nop + IL_002b: ldloc.0 + IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0031: call bool class [mscorlib]System.Convert::ToBoolean(string, class [mscorlib]System.IFormatProvider) IL_0036: stloc.1 - IL_0037: nop - IL_0038: ldloc.0 - IL_0039: ldloc.1 - IL_003a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_003f: pop - IL_0040: ldloc.0 - IL_0041: call string class [mscorlib]System.Environment::get_NewLine() - IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_004b: pop - IL_004c: nop - IL_004d: ldloc.2 - IL_004e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0053: brtrue IL_0030 - - IL_0058: leave IL_0071 + IL_0037: leave IL_0066 } // end .try 0 - finally { // 0 - IL_005d: ldloc.2 - IL_005e: isinst [mscorlib]System.IDisposable - IL_0063: dup - IL_0064: stloc.3 - IL_0065: brfalse IL_0070 - - IL_006a: ldloc.3 - IL_006b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0070: endfinally + catch class [mscorlib]System.FormatException { // 0 + IL_003c: pop + IL_003d: nop + IL_003e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0043: ldstr "NA1069" + IL_0048: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004d: ldloc.0 + IL_004e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0053: ldarg.0 + IL_0054: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0059: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_005e: throw } // end handler 0 - IL_0071: ldloc.0 - IL_0072: callvirt instance string object::ToString() - IL_0077: stloc.s 4 - IL_0079: br IL_007e - - IL_007e: ldloc.s 4 - IL_0080: ret - } // end of method StringCollectionWithGoodToString::ToString - - } // end of class NAnt.Core.StringCollectionWithGoodToString -} + IL_005f: ldc.i4.0 + IL_0060: stloc.1 + IL_0061: br IL_0066 -.namespace NAnt.Core -{ - .class private auto ansi serializable beforefieldinit DirScannerStringCollection - extends NAnt.Core.StringCollectionWithGoodToString - { - .field private initonly bool _caseSensitive + IL_0066: ldloc.1 + IL_0067: ret + } // end of method Target::get_UnlessDefined - // method line 1770 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (bool caseSensitive) cil managed + // method line 1794 + .method public hidebysig specialname + instance default void set_Description (string 'value') cil managed { - // Method begins at RVA 0x24e7c - // Code size 15 (0xf) + // Method begins at RVA 0x22c6c + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld bool NAnt.Core.DirScannerStringCollection::_caseSensitive - IL_000e: ret - } // end of method DirScannerStringCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Target::_description + IL_0008: ret + } // end of method Target::set_Description - // method line 1771 + // method line 1795 .method public hidebysig specialname - instance default bool get_CaseSensitive () cil managed + instance default string get_Description () cil managed { - // Method begins at RVA 0x24e8c + // Method begins at RVA 0x22c78 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.DirScannerStringCollection::_caseSensitive + IL_0002: ldfld string NAnt.Core.Target::_description IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DirScannerStringCollection::get_CaseSensitive + } // end of method Target::get_Description - // method line 1772 - .method public virtual hidebysig - instance default object Clone () cil managed + // method line 1796 + .method public hidebysig specialname + instance default void set_DependsListString (string 'value') cil managed { - // Method begins at RVA 0x24ea8 - // Code size 49 (0x31) - .maxstack 3 + // Method begins at RVA 0x22c94 + // Code size 86 (0x56) + .maxstack 5 .locals init ( - string[] V_0, - class NAnt.Core.DirScannerStringCollection V_1, - object V_2) + string V_0, + string[] V_1, + int32 V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0007: newarr [mscorlib]System.String - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.0 - IL_0010: call instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) - IL_0015: ldarg.0 - IL_0016: call instance bool class NAnt.Core.DirScannerStringCollection::get_CaseSensitive() - IL_001b: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) - IL_0020: stloc.1 - IL_0021: ldloc.1 - IL_0022: ldloc.0 - IL_0023: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0028: ldloc.1 - IL_0029: stloc.2 - IL_002a: br IL_002f - - IL_002f: ldloc.2 - IL_0030: ret - } // end of method DirScannerStringCollection::Clone - - // method line 1773 - .method public virtual hidebysig newslot - instance default bool Contains (string 'value') cil managed - { - // Method begins at RVA 0x24ee8 - // Code size 19 (0x13) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 + IL_0001: nop IL_0002: ldarg.1 - IL_0003: callvirt instance int32 class NAnt.Core.DirScannerStringCollection::IndexOf(string) - IL_0008: ldc.i4.m1 - IL_0009: cgt - IL_000b: stloc.0 - IL_000c: br IL_0011 - - IL_0011: ldloc.0 - IL_0012: ret - } // end of method DirScannerStringCollection::Contains - - // method line 1774 - .method public virtual hidebysig newslot - instance default int32 IndexOf (string 'value') cil managed - { - // Method begins at RVA 0x24f08 - // Code size 132 (0x84) - .maxstack 4 - .locals init ( - int32 V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0012 - - IL_0007: ldarg.0 - IL_0008: call instance bool class NAnt.Core.DirScannerStringCollection::get_CaseSensitive() - IL_000d: brfalse IL_0020 - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: call instance int32 class [System]System.Collections.Specialized.StringCollection::IndexOf(string) - IL_001a: stloc.0 - IL_001b: br IL_0082 - - IL_0020: nop - IL_0021: nop - IL_0022: ldarg.0 - IL_0023: call instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0028: stloc.2 - .try { // 0 - IL_0029: br IL_0057 - - IL_002e: ldloc.2 - IL_002f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0034: stloc.1 - IL_0035: nop - IL_0036: ldloc.1 - IL_0037: ldarg.1 - IL_0038: ldc.i4.1 - IL_0039: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0043: brtrue IL_0056 - - IL_0048: nop - IL_0049: ldarg.0 - IL_004a: ldloc.1 - IL_004b: call instance int32 class [System]System.Collections.Specialized.StringCollection::IndexOf(string) - IL_0050: stloc.0 - IL_0051: leave IL_0082 - - IL_0056: nop - IL_0057: ldloc.2 - IL_0058: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_005d: brtrue IL_002e - - IL_0062: leave IL_007b - - } // end .try 0 - finally { // 0 - IL_0067: ldloc.2 - IL_0068: isinst [mscorlib]System.IDisposable - IL_006d: dup - IL_006e: stloc.3 - IL_006f: brfalse IL_007a - - IL_0074: ldloc.3 - IL_0075: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_007a: endfinally - } // end handler 0 - IL_007b: ldc.i4.m1 - IL_007c: stloc.0 - IL_007d: br IL_0082 - - IL_0082: ldloc.0 - IL_0083: ret - } // end of method DirScannerStringCollection::IndexOf - - .property instance bool CaseSensitive () - { - .get instance default bool NAnt.Core.DirScannerStringCollection::get_CaseSensitive () - } - } // end of class NAnt.Core.DirScannerStringCollection -} + IL_0003: ldc.i4.2 + IL_0004: newarr [mscorlib]System.Char + IL_0009: dup + IL_000a: ldc.i4.0 + IL_000b: ldc.i4.s 0x20 + IL_000d: stelem.i2 + IL_000e: dup + IL_000f: ldc.i4.1 + IL_0010: ldc.i4.s 0x2c + IL_0012: stelem.i2 + IL_0013: callvirt instance string[] string::Split(char[]) + IL_0018: stloc.1 + IL_0019: ldc.i4.0 + IL_001a: stloc.2 + IL_001b: br IL_004c -.namespace NAnt.Core -{ - .class public auto ansi abstract serializable beforefieldinit Element - extends [mscorlib]System.Object - { - .field private class NAnt.Core.Location _location - .field private class NAnt.Core.Project _project - .field private notserialized class [System.Xml]System.Xml.XmlNode _xmlNode - .field private object _parent - .field private notserialized class [System.Xml]System.Xml.XmlNamespaceManager _nsMgr - .field private static initonly class [log4net]log4net.ILog logger + IL_0020: ldloc.1 + IL_0021: ldloc.2 + IL_0022: ldelem.ref + IL_0023: stloc.0 + IL_0024: nop + IL_0025: ldloc.0 + IL_0026: callvirt instance string string::Trim() + IL_002b: stloc.3 + IL_002c: ldloc.3 + IL_002d: callvirt instance int32 string::get_Length() + IL_0032: ldc.i4.0 + IL_0033: ble IL_0047 - // method line 1775 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2944 - // Code size 19 (0x13) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0006: stfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: nop - IL_0012: ret - } // end of method Element::.ctor + IL_0038: nop + IL_0039: ldarg.0 + IL_003a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Target::get_Dependencies() + IL_003f: ldloc.3 + IL_0040: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0045: pop + IL_0046: nop + IL_0047: nop + IL_0048: ldloc.2 + IL_0049: ldc.i4.1 + IL_004a: add + IL_004b: stloc.2 + IL_004c: ldloc.2 + IL_004d: ldloc.1 + IL_004e: ldlen + IL_004f: conv.i4 + IL_0050: blt IL_0020 - // method line 1776 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Element e) cil managed - { - // Method begins at RVA 0x2958 - // Code size 56 (0x38) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_000e: stfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: ldfld class NAnt.Core.Project NAnt.Core.Element::_project - IL_001a: stfld class NAnt.Core.Project NAnt.Core.Element::_project - IL_001f: ldarg.0 - IL_0020: ldarg.1 - IL_0021: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_0026: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr - IL_0032: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr - IL_0037: ret - } // end of method Element::.ctor + IL_0055: ret + } // end of method Target::set_DependsListString - // method line 1777 + // method line 1797 .method public hidebysig specialname - instance default object get_Parent () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_Dependencies () cil managed { - // Method begins at RVA 0x2994 + // Method begins at RVA 0x22cf8 // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld object NAnt.Core.Element::_parent + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Element::get_Parent - - // method line 1778 - .method public hidebysig specialname - instance default void set_Parent (object 'value') cil managed - { - // Method begins at RVA 0x29af - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld object NAnt.Core.Element::_parent - IL_0008: ret - } // end of method Element::set_Parent - - // method line 1779 - .method public virtual hidebysig newslot specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x29bc - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Type object::GetType() - IL_0007: call string class NAnt.Core.Element::GetElementNameFromType(class [mscorlib]System.Type) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method Element::get_Name + } // end of method Target::get_Dependencies - // method line 1780 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 1798 + .method private final virtual hidebysig newslot + instance default object System.ICloneable.Clone () cil managed { - // Method begins at RVA 0x29dc + // Method begins at RVA 0x22d14 + .override Could not decode method override class [mscorlib]System.ICloneable::Clone due to (null) // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Project V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Project NAnt.Core.Element::_project + IL_0002: call instance class NAnt.Core.Target class NAnt.Core.Target::Clone() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Element::get_Project - - // method line 1781 - .method public virtual hidebysig newslot specialname - instance default void set_Project (class NAnt.Core.Project 'value') cil managed - { - // Method begins at RVA 0x29f7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Project NAnt.Core.Element::_project - IL_0008: ret - } // end of method Element::set_Project + } // end of method Target::System.ICloneable.Clone - // method line 1782 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed + // method line 1799 + .method public hidebysig + instance default class NAnt.Core.Target Clone () cil managed { - // Method begins at RVA 0x2a04 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x22d30 + // Code size 95 (0x5f) + .maxstack 2 .locals init ( - class NAnt.Core.PropertyDictionary V_0) + class NAnt.Core.Target V_0, + class NAnt.Core.Target V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: newobj instance void class NAnt.Core.Target::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance void class NAnt.Core.Element::CopyTo(class NAnt.Core.Element) + IL_000e: ldloc.0 + IL_000f: ldarg.0 + IL_0010: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies + IL_0015: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld string NAnt.Core.Target::_description + IL_0021: stfld string NAnt.Core.Target::_description + IL_0026: ldloc.0 + IL_0027: ldarg.0 + IL_0028: ldfld bool NAnt.Core.Target::_executed + IL_002d: stfld bool NAnt.Core.Target::_executed + IL_0032: ldloc.0 + IL_0033: ldarg.0 + IL_0034: ldfld string NAnt.Core.Target::_ifCondition + IL_0039: stfld string NAnt.Core.Target::_ifCondition + IL_003e: ldloc.0 + IL_003f: ldarg.0 + IL_0040: ldfld string NAnt.Core.Target::_name + IL_0045: stfld string NAnt.Core.Target::_name + IL_004a: ldloc.0 + IL_004b: ldarg.0 + IL_004c: ldfld string NAnt.Core.Target::_unlessCondition + IL_0051: stfld string NAnt.Core.Target::_unlessCondition + IL_0056: ldloc.0 + IL_0057: stloc.1 + IL_0058: br IL_005d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method Element::get_Properties + IL_005d: ldloc.1 + IL_005e: ret + } // end of method Target::Clone - // method line 1783 - .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + // method line 1800 + .method public hidebysig + instance default void Execute () cil managed { - // Method begins at RVA 0x2a24 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x22d9c + // Code size 473 (0x1d9) + .maxstack 7 .locals init ( - class [System.Xml]System.Xml.XmlNamespaceManager V_0) + class [System.Xml]System.Xml.XmlNode V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Task V_2, + class NAnt.Core.DataTypeBase V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Element::get_NamespaceManager + IL_0002: call instance bool class NAnt.Core.Target::get_IfDefined() + IL_0007: brfalse IL_01d8 - // method line 1784 - .method public hidebysig specialname - instance default void set_NamespaceManager (class [System.Xml]System.Xml.XmlNamespaceManager 'value') cil managed - { - // Method begins at RVA 0x2a3f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr - IL_0008: ret - } // end of method Element::set_NamespaceManager + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Target::get_UnlessDefined() + IL_0012: brtrue IL_01d8 - // method line 1785 - .method family virtual hidebysig newslot specialname - instance default class [System.Xml]System.Xml.XmlNode get_XmlNode () cil managed - { - // Method begins at RVA 0x2a4c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0017: nop + .try { // 1 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001f: ldarg.0 + IL_0020: ldarg.0 + IL_0021: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Target) + IL_0026: callvirt instance void class NAnt.Core.Project::OnTargetStarted(object, class NAnt.Core.BuildEventArgs) + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0032: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() + IL_0037: stloc.1 + .try { // 0 + IL_0038: br IL_018f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Element::get_XmlNode + IL_003d: ldloc.1 + IL_003e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0043: castclass [System.Xml]System.Xml.XmlNode + IL_0048: stloc.0 + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_0050: ldc.i4.1 + IL_0051: bne.un IL_0076 - // method line 1786 - .method family virtual hidebysig newslot specialname - instance default void set_XmlNode (class [System.Xml]System.Xml.XmlNode 'value') cil managed - { - // Method begins at RVA 0x2a67 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_0008: ret - } // end of method Element::set_XmlNode + IL_0056: ldloc.0 + IL_0057: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_005c: ldarg.0 + IL_005d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_0062: ldstr "nant" + IL_0067: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_006c: callvirt instance bool string::Equals(string) + IL_0071: brtrue IL_007c - // method line 1787 - .method family virtual hidebysig newslot specialname - instance default class NAnt.Core.Location get_Location () cil managed - { - // Method begins at RVA 0x2a74 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Location V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0076: nop + IL_0077: leave IL_018f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Element::get_Location + IL_007c: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0081: ldloc.0 + IL_0082: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0087: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) + IL_008c: brfalse IL_00b4 - // method line 1788 - .method family virtual hidebysig newslot specialname - instance default void set_Location (class NAnt.Core.Location 'value') cil managed - { - // Method begins at RVA 0x2a8f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_0008: ret - } // end of method Element::set_Location + IL_0091: nop + IL_0092: ldarg.0 + IL_0093: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0098: ldloc.0 + IL_0099: ldarg.0 + IL_009a: callvirt instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Target) + IL_009f: stloc.2 + IL_00a0: ldloc.2 + IL_00a1: brfalse IL_00ae - // method line 1789 - .method family virtual hidebysig newslot specialname - instance default bool get_CustomXmlProcessing () cil managed - { - // Method begins at RVA 0x2a9c - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_00a6: nop + IL_00a7: ldloc.2 + IL_00a8: callvirt instance void class NAnt.Core.Task::Execute() + IL_00ad: nop + IL_00ae: nop + IL_00af: br IL_018e - IL_0008: ldloc.0 - IL_0009: ret - } // end of method Element::get_CustomXmlProcessing + IL_00b4: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_00b9: ldloc.0 + IL_00ba: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00bf: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) + IL_00c4: brfalse IL_015c - // method line 1790 - .method public hidebysig - instance default void Initialize (class [System.Xml]System.Xml.XmlNode elementNode) cil managed - { - // Method begins at RVA 0x2ab2 - // Code size 31 (0x1f) + IL_00c9: nop + IL_00ca: ldarg.0 + IL_00cb: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00d0: ldloc.0 + IL_00d1: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) + IL_00d6: stloc.3 + IL_00d7: ldarg.0 + IL_00d8: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00dd: ldc.i4 2000 + IL_00e2: ldstr "Adding a {0} reference with id '{1}'." + IL_00e7: ldc.i4.2 + IL_00e8: newarr [mscorlib]System.Object + IL_00ed: dup + IL_00ee: ldc.i4.0 + IL_00ef: ldloc.0 + IL_00f0: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00f5: stelem.ref + IL_00f6: dup + IL_00f7: ldc.i4.1 + IL_00f8: ldloc.3 + IL_00f9: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_00fe: stelem.ref + IL_00ff: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0104: ldarg.0 + IL_0105: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_010a: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_010f: ldloc.3 + IL_0110: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_0115: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) + IL_011a: brtrue IL_013d + + IL_011f: nop + IL_0120: ldarg.0 + IL_0121: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0126: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_012b: ldloc.3 + IL_012c: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_0131: ldloc.3 + IL_0132: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) + IL_0137: nop + IL_0138: br IL_0156 + + IL_013d: nop + IL_013e: ldarg.0 + IL_013f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0144: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_0149: ldloc.3 + IL_014a: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_014f: ldloc.3 + IL_0150: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) + IL_0155: nop + IL_0156: nop + IL_0157: br IL_018e + + IL_015c: nop + IL_015d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0162: ldstr "NA1071" + IL_0167: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_016c: ldloc.0 + IL_016d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0172: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0177: ldarg.0 + IL_0178: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_017d: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0182: ldloc.0 + IL_0183: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_0188: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_018d: throw + IL_018e: nop + IL_018f: ldloc.1 + IL_0190: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0195: brtrue IL_003d + + IL_019a: leave IL_01b5 + + } // end .try 0 + finally { // 0 + IL_019f: ldloc.1 + IL_01a0: isinst [mscorlib]System.IDisposable + IL_01a5: dup + IL_01a6: stloc.s 4 + IL_01a8: brfalse IL_01b4 + + IL_01ad: ldloc.s 4 + IL_01af: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01b4: endfinally + } // end handler 0 + IL_01b5: nop + IL_01b6: leave IL_01d7 + + } // end .try 1 + finally { // 1 + IL_01bb: nop + IL_01bc: ldarg.0 + IL_01bd: ldc.i4.1 + IL_01be: stfld bool NAnt.Core.Target::_executed + IL_01c3: ldarg.0 + IL_01c4: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01c9: ldarg.0 + IL_01ca: ldarg.0 + IL_01cb: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Target) + IL_01d0: callvirt instance void class NAnt.Core.Project::OnTargetFinished(object, class NAnt.Core.BuildEventArgs) + IL_01d5: nop + IL_01d6: endfinally + } // end handler 1 + IL_01d7: nop + IL_01d8: ret + } // end of method Target::Execute + + .property instance bool Executed () + { + .get instance default bool NAnt.Core.Target::get_Executed () + } + .property instance string Name () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 02 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 54 02 10 45 78 70 61 6E 64 50 72 // ired.T..ExpandPr + 6F 70 65 72 74 69 65 73 00 ) // operties. + + .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.Core.Target::get_Name () + .set instance default void NAnt.Core.Target::set_Name (string 'value') + } + .property instance string IfCondition () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 02 69 66 01 00 54 02 10 45 78 70 61 6E 64 // ...if..T..Expand + 50 72 6F 70 65 72 74 69 65 73 00 ) // Properties. + + .get instance default string NAnt.Core.Target::get_IfCondition () + .set instance default void NAnt.Core.Target::set_IfCondition (string 'value') + } + .property instance bool IfDefined () + { + .get instance default bool NAnt.Core.Target::get_IfDefined () + } + .property instance string UnlessCondition () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 75 6E 6C 65 73 73 01 00 54 02 10 45 78 // ...unless..T..Ex + 70 61 6E 64 50 72 6F 70 65 72 74 69 65 73 00 ) // pandProperties. + + .get instance default string NAnt.Core.Target::get_UnlessCondition () + .set instance default void NAnt.Core.Target::set_UnlessCondition (string 'value') + } + .property instance bool UnlessDefined () + { + .get instance default bool NAnt.Core.Target::get_UnlessDefined () + } + .property instance string Description () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 64 65 73 63 72 69 70 74 69 6F 6E 00 00 ) // ...description.. + + .get instance default string NAnt.Core.Target::get_Description () + .set instance default void NAnt.Core.Target::set_Description (string 'value') + } + .property instance string DependsListString () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 64 65 70 65 6E 64 73 00 00 ) // ...depends.. + + .set instance default void NAnt.Core.Target::set_DependsListString (string 'value') + } + .property instance class [System]System.Collections.Specialized.StringCollection Dependencies () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::get_Dependencies () + } + } // end of class NAnt.Core.Target +} + +.namespace NAnt.Core +{ + .class public auto ansi abstract serializable beforefieldinit DataTypeBase + extends NAnt.Core.Element + { + .field private string _id + .field private string _refID + + // method line 1801 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x12b7a + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.0 - IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0009: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000e: ldarg.0 - IL_000f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0014: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0019: call instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_001e: ret - } // end of method Element::Initialize + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method DataTypeBase::.ctor - // method line 1791 - .method public hidebysig - instance default class NAnt.Core.Location GetLocation () cil managed + // method line 1802 + .method public hidebysig specialname + instance default string get_ID () cil managed { - // Method begins at RVA 0x2ad4 + // Method begins at RVA 0x12b84 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Location V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0002: ldfld string NAnt.Core.DataTypeBase::_id IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Element::GetLocation + } // end of method DataTypeBase::get_ID - // method line 1792 - .method public virtual hidebysig newslot - instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed + // method line 1803 + .method public hidebysig specialname + instance default void set_ID (string 'value') cil managed { - // Method begins at RVA 0x2aef - // Code size 28 (0x1c) + // Method begins at RVA 0x12b9f + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: brfalse IL_001b - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) - IL_001a: nop - IL_001b: ret - } // end of method Element::Log + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.DataTypeBase::_id + IL_000d: ret + } // end of method DataTypeBase::set_ID - // method line 1793 - .method public virtual hidebysig newslot - instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed + // method line 1804 + .method public hidebysig specialname + instance default string get_RefID () cil managed { - .param [3] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x2b0c - // Code size 29 (0x1d) - .maxstack 8 + // Method begins at RVA 0x12bb0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: brfalse IL_001c - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: ldarg.3 - IL_0016: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_001b: nop - IL_001c: ret - } // end of method Element::Log - - // method line 1794 - .method family virtual hidebysig newslot - instance default void InitializeElement (class [System.Xml]System.Xml.XmlNode elementNode) cil managed - { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 24 44 65 70 72 65 63 61 74 65 64 2E 20 55 // ..$Deprecated. U - 73 65 20 49 6E 69 74 69 61 6C 69 7A 65 28 29 20 // se Initialize() - 69 6E 73 74 65 61 64 00 00 ) // instead.. + IL_0002: ldfld string NAnt.Core.DataTypeBase::_refID + IL_0007: stloc.0 + IL_0008: br IL_000d - // Method begins at RVA 0x2b2a - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method Element::InitializeElement + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeBase::get_RefID - // method line 1795 - .method family virtual hidebysig newslot - instance default void Initialize () cil managed + // method line 1805 + .method public hidebysig specialname + instance default void set_RefID (string 'value') cil managed { - // Method begins at RVA 0x2b2d - // Code size 2 (0x2) + // Method begins at RVA 0x12bcb + // Code size 14 (0xe) .maxstack 8 IL_0000: nop - IL_0001: ret - } // end of method Element::Initialize + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Core.DataTypeBase::_refID + IL_000d: ret + } // end of method DataTypeBase::set_RefID - // method line 1796 - .method family hidebysig - instance default void CopyTo (class NAnt.Core.Element clone) cil managed + // method line 1806 + .method public hidebysig specialname + instance default bool get_CanBeReferenced () cil managed { - // Method begins at RVA 0x2b30 - // Code size 80 (0x50) + // Method begins at RVA 0x12bdc + // Code size 21 (0x15) .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_0008: stfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_000d: ldarg.1 - IL_000e: ldarg.0 - IL_000f: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr - IL_0014: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr - IL_0019: ldarg.1 - IL_001a: ldarg.0 - IL_001b: ldfld object NAnt.Core.Element::_parent - IL_0020: stfld object NAnt.Core.Element::_parent - IL_0025: ldarg.1 - IL_0026: ldarg.0 - IL_0027: ldfld class NAnt.Core.Project NAnt.Core.Element::_project - IL_002c: stfld class NAnt.Core.Project NAnt.Core.Element::_project - IL_0031: ldarg.0 - IL_0032: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_0037: brfalse IL_004f + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0007: ldnull + IL_0008: ceq + IL_000a: ldc.i4.0 + IL_000b: ceq + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_003c: nop - IL_003d: ldarg.1 - IL_003e: ldarg.0 - IL_003f: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_0044: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::Clone() - IL_0049: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_004e: nop - IL_004f: ret - } // end of method Element::CopyTo + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBase::get_CanBeReferenced - // method line 1797 - .method assembly hidebysig - instance default void Initialize (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed + // method line 1807 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x2b8c - // Code size 101 (0x65) - .maxstack 4 + // Method begins at RVA 0x12c00 + // Code size 54 (0x36) + .maxstack 2 .locals init ( - class [mscorlib]System.ArgumentException V_0) + string V_0, + class NAnt.Core.Attributes.ElementNameAttribute V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: brtrue IL_0018 - - IL_000c: nop - IL_000d: ldstr "Element has invalid Project property." - IL_0012: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) - IL_0017: throw - .try { // 0 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldarg.0 - IL_001b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0020: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_0025: ldarg.1 - IL_0026: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_002b: stfld class NAnt.Core.Location NAnt.Core.Element::_location - IL_0030: nop - IL_0031: leave IL_004e + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance class [mscorlib]System.Type object::GetType() + IL_0009: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_000e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0013: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0018: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_001d: stloc.1 + IL_001e: ldloc.1 + IL_001f: brfalse IL_002d - } // end .try 0 - catch class [mscorlib]System.ArgumentException { // 0 - IL_0036: stloc.0 - IL_0037: nop - IL_0038: ldsfld class [log4net]log4net.ILog NAnt.Core.Element::logger - IL_003d: ldstr "Location of Element node could be located." - IL_0042: ldloc.0 - IL_0043: callvirt instance void class [log4net]log4net.ILog::Warn(object, class [mscorlib]System.Exception) - IL_0048: nop - IL_0049: leave IL_004e + IL_0024: nop + IL_0025: ldloc.1 + IL_0026: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_002b: stloc.0 + IL_002c: nop + IL_002d: ldloc.0 + IL_002e: stloc.2 + IL_002f: br IL_0034 - } // end handler 0 - IL_004e: ldarg.0 - IL_004f: ldarg.1 - IL_0050: ldarg.2 - IL_0051: ldarg.3 - IL_0052: callvirt instance void class NAnt.Core.Element::InitializeXml(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0057: ldarg.0 - IL_0058: ldarg.1 - IL_0059: callvirt instance void class NAnt.Core.Element::InitializeElement(class [System.Xml]System.Xml.XmlNode) - IL_005e: ldarg.0 - IL_005f: callvirt instance void class NAnt.Core.Element::Initialize() - IL_0064: ret - } // end of method Element::Initialize + IL_0034: ldloc.2 + IL_0035: ret + } // end of method DataTypeBase::get_Name - // method line 1798 - .method family virtual hidebysig newslot - instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed + // method line 1808 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x2c10 - // Code size 25 (0x19) - .maxstack 4 - .locals init ( - class NAnt.Core.Element/AttributeConfigurator V_0) + // Method begins at RVA 0x12c44 + // Code size 281 (0x119) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: ldarg.3 - IL_000c: newobj instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() - IL_0018: ret - } // end of method Element::InitializeXml + IL_0002: call instance object class NAnt.Core.Element::get_Parent() + IL_0007: brtrue IL_0022 - // method line 1799 - .method family virtual hidebysig newslot - instance default class [System.Xml]System.Xml.XmlNode GetAttributeConfigurationNode (class NAnt.Core.FrameworkInfo framework, string attributeName) cil managed - { - // Method begins at RVA 0x2c38 - // Code size 28 (0x1c) - .maxstack 4 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0008: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() - IL_000d: ldarg.1 - IL_000e: ldarg.2 - IL_000f: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.FrameworkInfo, string) - IL_0014: stloc.0 - IL_0015: br IL_001a + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldc.i4 4000 + IL_0013: ldstr "Parent property should be set on types deriving from DataTypeBase to determine whether the type is declared on a valid level." + IL_0018: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_001d: br IL_0118 - IL_001a: ldloc.0 - IL_001b: ret - } // end of method Element::GetAttributeConfigurationNode + IL_0022: ldarg.0 + IL_0023: call instance object class NAnt.Core.Element::get_Parent() + IL_0028: callvirt instance class [mscorlib]System.Type object::GetType() + IL_002d: ldtoken NAnt.Core.Project + IL_0032: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0037: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_003c: brtrue IL_0060 - // method line 1800 - .method family hidebysig - instance default class [System.Xml]System.Xml.XmlNode GetAttributeConfigurationNode (class [System.Xml]System.Xml.XmlNode configSection, class NAnt.Core.FrameworkInfo framework, string attributeName) cil managed - { - // Method begins at RVA 0x2c60 - // Code size 314 (0x13a) - .maxstack 5 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - string V_1, - int32 V_2, - class NAnt.Core.Element V_3, - int32 V_4, - class [System.Xml]System.Xml.XmlNode V_5, - class [System.Xml]System.Xml.XmlNode V_6, - class [System.Xml]System.Xml.XmlNode V_7) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldstr "" - IL_0008: stloc.1 - IL_0009: ldc.i4.0 - IL_000a: stloc.2 - IL_000b: ldarg.0 - IL_000c: stloc.3 - IL_000d: br IL_004c + IL_0041: ldarg.0 + IL_0042: call instance object class NAnt.Core.Element::get_Parent() + IL_0047: callvirt instance class [mscorlib]System.Type object::GetType() + IL_004c: ldtoken NAnt.Core.Target + 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_00d5 - IL_0012: nop - IL_0013: ldloc.3 - IL_0014: isinst NAnt.Core.Task - IL_0019: brfalse IL_003f + IL_0060: nop + IL_0061: ldarg.0 + IL_0062: call instance string class NAnt.Core.DataTypeBase::get_ID() + IL_0067: call bool string::IsNullOrEmpty(string) + IL_006c: brfalse IL_0098 - IL_001e: nop - IL_001f: ldloc.1 - IL_0020: ldstr " and parent::task[@name=\"" - IL_0025: ldloc.3 - IL_0026: callvirt instance string class NAnt.Core.Element::get_Name() - IL_002b: ldstr "\"" - IL_0030: call string string::Concat(string, string, string, string) - IL_0035: stloc.1 - IL_0036: ldloc.2 - IL_0037: ldc.i4.1 - IL_0038: add - IL_0039: stloc.2 - IL_003a: br IL_0052 + IL_0071: nop + IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0077: ldstr "NA1010" + IL_007c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0081: ldarg.0 + IL_0082: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0087: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_008c: ldarg.0 + IL_008d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0092: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0097: throw + IL_0098: ldarg.0 + IL_0099: call instance string class NAnt.Core.DataTypeBase::get_RefID() + IL_009e: call bool string::IsNullOrEmpty(string) + IL_00a3: brtrue IL_00cf - IL_003f: ldloc.3 - IL_0040: callvirt instance object class NAnt.Core.Element::get_Parent() - IL_0045: isinst NAnt.Core.Element - IL_004a: stloc.3 - IL_004b: nop - IL_004c: ldloc.3 - IL_004d: brtrue IL_0012 + IL_00a8: nop + IL_00a9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ae: ldstr "NA1009" + IL_00b3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00b8: ldarg.0 + IL_00b9: callvirt instance string class NAnt.Core.Element::get_Name() + IL_00be: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00c3: ldarg.0 + IL_00c4: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00c9: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00ce: throw + IL_00cf: nop + IL_00d0: br IL_0118 - IL_0052: ldstr "descendant::attribute[@name=\"" - IL_0057: ldarg.3 - IL_0058: ldstr "\"" - IL_005d: ldloc.1 - IL_005e: call string string::Concat(string, string, string, string) - IL_0063: stloc.1 - IL_0064: ldc.i4.0 - IL_0065: stloc.s 4 - IL_0067: br IL_0080 + IL_00d5: nop + IL_00d6: ldarg.0 + IL_00d7: call instance string class NAnt.Core.DataTypeBase::get_ID() + IL_00dc: call bool string::IsNullOrEmpty(string) + IL_00e1: brtrue IL_0117 - IL_006c: nop - IL_006d: ldloc.1 - IL_006e: ldstr "]" - IL_0073: call string string::Concat(string, string) - IL_0078: stloc.1 - IL_0079: nop - IL_007a: ldloc.s 4 - IL_007c: ldc.i4.1 - IL_007d: add - IL_007e: stloc.s 4 - IL_0080: ldloc.s 4 - IL_0082: ldloc.2 - IL_0083: blt IL_006c + IL_00e6: nop + IL_00e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ec: ldstr "NA1008" + IL_00f1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f6: ldstr " can only be declared at Project or Target level." + IL_00fb: call string string::Concat(string, string) + IL_0100: ldarg.0 + IL_0101: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0106: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_010b: ldarg.0 + IL_010c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0111: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0116: throw + IL_0117: nop + IL_0118: ret + } // end of method DataTypeBase::Initialize - IL_0088: ldloc.1 - IL_0089: ldstr "]" - IL_008e: call string string::Concat(string, string) - IL_0093: stloc.1 - IL_0094: ldarg.2 - IL_0095: brfalse IL_00fc + // method line 1809 + .method public virtual hidebysig newslot + instance default void Reset () cil managed + { + // Method begins at RVA 0x12d69 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DataTypeBase::Reset - IL_009a: nop - IL_009b: ldarg.1 - IL_009c: ldc.i4.5 - IL_009d: newarr [mscorlib]System.String - IL_00a2: dup - IL_00a3: ldc.i4.0 - IL_00a4: ldstr "frameworks/platform[@name=\"" - IL_00a9: stelem.ref - IL_00aa: dup - IL_00ab: ldc.i4.1 - IL_00ac: ldarg.0 - IL_00ad: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00b2: callvirt instance string class NAnt.Core.Project::get_PlatformName() - IL_00b7: stelem.ref - IL_00b8: dup - IL_00b9: ldc.i4.2 - IL_00ba: ldstr "\"]/framework[@name=\"" - IL_00bf: stelem.ref - IL_00c0: dup - IL_00c1: ldc.i4.3 - IL_00c2: ldarg.2 - IL_00c3: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_00c8: stelem.ref - IL_00c9: dup - IL_00ca: ldc.i4.4 - IL_00cb: ldstr "\"]" - IL_00d0: stelem.ref - IL_00d1: call string string::Concat(string[]) - IL_00d6: ldarg.0 - IL_00d7: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_00dc: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00e1: stloc.s 5 - IL_00e3: ldloc.s 5 - IL_00e5: brfalse IL_00fb + // method line 1810 + .method family hidebysig + instance default void CopyTo (class NAnt.Core.DataTypeBase clone) cil managed + { + // Method begins at RVA 0x12d6c + // Code size 33 (0x21) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.Element::CopyTo(class NAnt.Core.Element) + IL_0008: ldarg.1 + IL_0009: ldarg.0 + IL_000a: ldfld string NAnt.Core.DataTypeBase::_id + IL_000f: stfld string NAnt.Core.DataTypeBase::_id + IL_0014: ldarg.1 + IL_0015: ldarg.0 + IL_0016: ldfld string NAnt.Core.DataTypeBase::_refID + IL_001b: stfld string NAnt.Core.DataTypeBase::_refID + IL_0020: ret + } // end of method DataTypeBase::CopyTo - IL_00ea: nop - IL_00eb: ldloc.s 5 - IL_00ed: ldloc.1 - IL_00ee: ldarg.0 - IL_00ef: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_00f4: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00f9: stloc.0 - IL_00fa: nop - IL_00fb: nop - IL_00fc: ldloc.0 - IL_00fd: brtrue IL_012f + .property instance string ID () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 64 00 00 ) // ...id.. - IL_0102: nop - IL_0103: ldarg.1 - IL_0104: ldstr "frameworks/tasks" - IL_0109: ldarg.0 - IL_010a: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_010f: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0114: stloc.s 6 - IL_0116: ldloc.s 6 - IL_0118: brfalse IL_012e + .get instance default string NAnt.Core.DataTypeBase::get_ID () + .set instance default void NAnt.Core.DataTypeBase::set_ID (string 'value') + } + .property instance string RefID () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 72 65 66 69 64 00 00 ) // ...refid.. - IL_011d: nop - IL_011e: ldloc.s 6 - IL_0120: ldloc.1 - IL_0121: ldarg.0 - IL_0122: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_0127: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_012c: stloc.0 - IL_012d: nop - IL_012e: nop - IL_012f: ldloc.0 - IL_0130: stloc.s 7 - IL_0132: br IL_0137 + .get instance default string NAnt.Core.DataTypeBase::get_RefID () + .set instance default void NAnt.Core.DataTypeBase::set_RefID (string 'value') + } + .property instance bool CanBeReferenced () + { + .get instance default bool NAnt.Core.DataTypeBase::get_CanBeReferenced () + } + .property instance string Name () + { + .get instance default string NAnt.Core.DataTypeBase::get_Name () + } + } // end of class NAnt.Core.DataTypeBase +} - IL_0137: ldloc.s 7 - IL_0139: ret - } // end of method Element::GetAttributeConfigurationNode +.namespace NAnt.Core +{ + .class private auto ansi beforefieldinit ProjectSettingsLoader + extends [mscorlib]System.Object + { + .field private class NAnt.Core.Project _project + .field private class [System.Xml]System.Xml.XmlNamespaceManager _nsMgr + .field private static bool ScannedTasks - // method line 1801 - .method public static hidebysig - default class NAnt.Core.Element InitializeBuildElement (class NAnt.Core.Element parent, class [System.Xml]System.Xml.XmlNode childNode, class NAnt.Core.Element buildElement, class [mscorlib]System.Type elementType) cil managed + // method line 1811 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x2da8 - // Code size 557 (0x22d) - .maxstack 5 + // Method begins at RVA 0x22fb8 + // Code size 58 (0x3a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.Core.Project NAnt.Core.ProjectSettingsLoader::_project + IL_000e: ldarg.0 + IL_000f: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() + IL_0014: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) + IL_0019: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr + IL_001e: ldarg.0 + IL_001f: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr + IL_0024: ldstr "nant" + IL_0029: ldarg.0 + IL_002a: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr + IL_002f: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::get_DefaultNamespace() + IL_0034: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) + IL_0039: ret + } // end of method ProjectSettingsLoader::.ctor + + // method line 1812 + .method family hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed + { + // Method begins at RVA 0x22ff4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.DataTypeBase V_0, - class [mscorlib]System.Reflection.ConstructorInfo V_1, - class NAnt.Core.Attributes.ElementNameAttribute V_2, - class NAnt.Core.Attributes.ElementNameAttribute V_3, - class NAnt.Core.Element V_4) + class NAnt.Core.Project V_0) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: isinst NAnt.Core.DataTypeBase + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Project NAnt.Core.ProjectSettingsLoader::_project IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_01fb + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: callvirt instance bool class NAnt.Core.DataTypeBase::get_CanBeReferenced() - IL_0014: brfalse IL_01fb + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettingsLoader::get_Project - IL_0019: ldarg.1 - IL_001a: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_001f: ldstr "refid" - IL_0024: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0029: brfalse IL_01fb + // method line 1813 + .method private hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + { + // Method begins at RVA 0x23010 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System.Xml]System.Xml.XmlNamespaceManager V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002e: nop - IL_002f: ldloc.0 - IL_0030: ldarg.1 - IL_0031: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0036: ldstr "refid" - IL_003b: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0040: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0045: callvirt instance void class NAnt.Core.DataTypeBase::set_RefID(string) - IL_004a: ldloc.0 - IL_004b: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_0050: call bool string::IsNullOrEmpty(string) - IL_0055: brtrue IL_008b + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettingsLoader::get_NamespaceManager - IL_005a: nop - IL_005b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0060: ldstr "NA1183" - IL_0065: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_006a: call !!0[] class [mscorlib]System.Array::Empty () - IL_006f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0074: ldarg.0 - IL_0075: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_007a: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_007f: ldarg.1 - IL_0080: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_0085: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_008a: throw - IL_008b: ldarg.0 - IL_008c: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0091: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_0096: ldloc.0 - IL_0097: callvirt instance string class NAnt.Core.DataTypeBase::get_RefID() - IL_009c: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) - IL_00a1: brfalse IL_00ca + // method line 1814 + .method public hidebysig + instance default void ProcessSettings () cil managed + { + // Method begins at RVA 0x2302c + // Code size 111 (0x6f) + .maxstack 5 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() + IL_000c: brtrue IL_0017 - IL_00a6: nop - IL_00a7: ldarg.0 - IL_00a8: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00ad: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_00b2: ldloc.0 - IL_00b3: callvirt instance string class NAnt.Core.DataTypeBase::get_RefID() - IL_00b8: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseDictionary::get_Item(string) - IL_00bd: stloc.0 - IL_00be: ldloc.0 - IL_00bf: callvirt instance void class NAnt.Core.DataTypeBase::Reset() - IL_00c4: nop - IL_00c5: br IL_0102 + IL_0011: nop + IL_0012: br IL_006e - IL_00ca: nop - IL_00cb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00d0: ldstr "NA1184" - IL_00d5: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00da: ldloc.0 - IL_00db: callvirt instance string class NAnt.Core.Element::get_Name() - IL_00e0: ldloc.0 - IL_00e1: callvirt instance string class NAnt.Core.DataTypeBase::get_RefID() - IL_00e6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00eb: ldarg.0 - IL_00ec: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00f1: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_00f6: ldarg.1 - IL_00f7: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_00fc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0101: throw - IL_0102: ldarg.3 - IL_0103: ldloc.0 - IL_0104: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0109: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_010e: brtrue IL_01bd + IL_0017: ldarg.0 + IL_0018: ldarg.0 + IL_0019: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_001e: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() + IL_0023: ldstr "nant:frameworks/nant:platform[@name='" + IL_0028: ldarg.0 + IL_0029: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_002e: callvirt instance string class NAnt.Core.Project::get_PlatformName() + IL_0033: ldstr "']" + IL_0038: call string string::Concat(string, string, string) + IL_003d: ldarg.0 + IL_003e: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_0043: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0048: call instance void class NAnt.Core.ProjectSettingsLoader::ProcessPlatform(class [System.Xml]System.Xml.XmlNode) + IL_004d: ldarg.0 + IL_004e: ldarg.0 + IL_004f: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0054: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() + IL_0059: ldstr "nant:properties/nant:property" + IL_005e: ldarg.0 + IL_005f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_0064: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0069: call instance void class NAnt.Core.ProjectSettingsLoader::ProcessGlobalProperties(class [System.Xml]System.Xml.XmlNodeList) + IL_006e: ret + } // end of method ProjectSettingsLoader::ProcessSettings - IL_0113: nop - IL_0114: ldarg.3 - IL_0115: ldc.i4.1 - IL_0116: newarr [mscorlib]System.Type - IL_011b: dup - IL_011c: ldc.i4.0 - IL_011d: ldloc.0 - IL_011e: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0123: stelem.ref - IL_0124: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) - IL_0129: stloc.1 - IL_012a: ldloc.1 - IL_012b: ldnull - IL_012c: call bool class [mscorlib]System.Reflection.ConstructorInfo::op_Inequality(class [mscorlib]System.Reflection.ConstructorInfo, class [mscorlib]System.Reflection.ConstructorInfo) - IL_0131: brfalse IL_0153 + // method line 1815 + .method private hidebysig + instance default void ProcessPlatform (class [System.Xml]System.Xml.XmlNode platformNode) cil managed + { + // Method begins at RVA 0x230a8 + // Code size 446 (0x1be) + .maxstack 4 + .locals init ( + class NAnt.Core.Types.FileSet V_0, + class [System.Xml]System.Xml.XmlNode V_1, + class NAnt.Core.Tasks.LoadTasksTask V_2, + class NAnt.Core.Tasks.LoadTasksTask V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0136: nop - IL_0137: ldloc.1 - IL_0138: ldc.i4.1 - IL_0139: newarr [mscorlib]System.Object - IL_013e: dup - IL_013f: ldc.i4.0 - IL_0140: ldloc.0 - IL_0141: stelem.ref - IL_0142: callvirt instance object class [mscorlib]System.Reflection.ConstructorInfo::Invoke(object[]) - IL_0147: castclass NAnt.Core.DataTypeBase - IL_014c: stloc.0 - IL_014d: nop - IL_014e: br IL_01bc + IL_0007: nop + IL_0008: ldstr "platformNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldsfld bool NAnt.Core.ProjectSettingsLoader::ScannedTasks + IL_0018: brtrue IL_010a - IL_0153: nop - IL_0154: ldloc.0 - IL_0155: callvirt instance class [mscorlib]System.Type object::GetType() - IL_015a: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_015f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0164: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0169: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_016e: stloc.2 - IL_016f: ldarg.3 - IL_0170: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_0175: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_017a: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_017f: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_0184: stloc.3 - IL_0185: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_018a: ldstr "NA1185" - IL_018f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0194: ldloc.2 - IL_0195: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_019a: ldloc.3 - IL_019b: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_01a0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_01a5: ldarg.0 - IL_01a6: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01ab: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_01b0: ldarg.1 - IL_01b1: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_01b6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_01bb: throw - IL_01bc: nop - IL_01bd: ldloc.0 - IL_01be: ldarg.0 - IL_01bf: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01c4: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_01c9: ldloc.0 - IL_01ca: ldarg.0 - IL_01cb: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_01d0: ldloc.0 - IL_01d1: ldarg.0 - IL_01d2: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_01d7: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_01dc: ldloc.0 - IL_01dd: ldarg.0 - IL_01de: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01e3: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_01e8: ldarg.1 - IL_01e9: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_01ee: callvirt instance void class NAnt.Core.Element::set_Location(class NAnt.Core.Location) - IL_01f3: ldloc.0 - IL_01f4: stloc.s 4 - IL_01f6: br IL_022a + IL_001d: nop + IL_001e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_002a: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() + IL_002f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0034: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0039: ldloc.0 + IL_003a: ldarg.0 + IL_003b: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0040: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0045: ldloc.0 + IL_0046: ldarg.0 + IL_0047: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_004c: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0051: ldloc.0 + IL_0052: ldarg.0 + IL_0053: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0058: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_005d: ldloc.0 + IL_005e: ldstr "platform-task-assemblies" + IL_0063: callvirt instance void class NAnt.Core.DataTypeBase::set_ID(string) + IL_0068: ldarg.1 + IL_0069: ldstr "nant:task-assemblies" + IL_006e: ldarg.0 + IL_006f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_0074: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0079: stloc.1 + IL_007a: ldloc.1 + IL_007b: brfalse IL_0095 - IL_01fb: nop - IL_01fc: ldarg.2 - IL_01fd: ldarg.0 - IL_01fe: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0203: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0208: ldarg.2 - IL_0209: ldarg.0 - IL_020a: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_020f: ldarg.2 - IL_0210: ldarg.0 - IL_0211: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_0216: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_021b: ldarg.2 - IL_021c: ldarg.1 - IL_021d: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) - IL_0222: ldarg.2 - IL_0223: stloc.s 4 - IL_0225: br IL_022a + IL_0080: nop + IL_0081: ldloc.0 + IL_0082: ldloc.1 + IL_0083: ldarg.0 + IL_0084: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0089: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_008e: ldnull + IL_008f: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0094: nop + IL_0095: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() + IL_009a: stloc.2 + IL_009b: ldloc.2 + IL_009c: ldarg.0 + IL_009d: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_00a2: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_00a7: ldloc.2 + IL_00a8: ldarg.0 + IL_00a9: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_00ae: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00b3: ldloc.2 + IL_00b4: ldarg.0 + IL_00b5: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_00ba: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_00bf: ldloc.2 + IL_00c0: ldloc.0 + IL_00c1: callvirt instance void class NAnt.Core.Tasks.LoadTasksTask::set_TaskFileSet(class NAnt.Core.Types.FileSet) + IL_00c6: ldloc.2 + IL_00c7: ldc.i4.0 + IL_00c8: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) + IL_00cd: ldloc.2 + IL_00ce: ldarg.0 + IL_00cf: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_00d4: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_00d9: ldc.i4 1000 + IL_00de: bne.un IL_00ed - IL_022a: ldloc.s 4 - IL_022c: ret - } // end of method Element::InitializeBuildElement + IL_00e3: ldc.i4 1000 + IL_00e8: br IL_00f2 - // method line 1802 - .method private static hidebysig - default string GetElementNameFromType (class [mscorlib]System.Type 'type') cil managed + IL_00ed: ldc.i4 4000 + IL_00f2: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) + IL_00f7: ldloc.2 + IL_00f8: callvirt instance void class NAnt.Core.Task::Execute() + IL_00fd: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0102: ldloc.2 + IL_0103: call bool class NAnt.Core.TypeFactory::ScanAssembly(class [mscorlib]System.Reflection.Assembly, class NAnt.Core.Task) + IL_0108: pop + IL_0109: nop + IL_010a: ldarg.0 + IL_010b: ldarg.1 + IL_010c: call instance void class NAnt.Core.ProjectSettingsLoader::ProcessFrameworks(class [System.Xml]System.Xml.XmlNode) + IL_0111: ldarg.0 + IL_0112: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0117: ldarg.0 + IL_0118: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.ProjectSettingsLoader::ConfigureRuntimeFramework() + IL_011d: callvirt instance void class NAnt.Core.Project::set_RuntimeFramework(class NAnt.Core.FrameworkInfo) + IL_0122: ldarg.0 + IL_0123: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0128: ldarg.0 + IL_0129: ldarg.1 + IL_012a: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.ProjectSettingsLoader::ConfigureTargetFramework(class [System.Xml]System.Xml.XmlNode) + IL_012f: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) + IL_0134: ldsfld bool NAnt.Core.ProjectSettingsLoader::ScannedTasks + IL_0139: brtrue IL_01bd + + IL_013e: nop + IL_013f: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() + IL_0144: stloc.3 + IL_0145: ldloc.3 + IL_0146: ldarg.0 + IL_0147: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_014c: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0151: ldloc.3 + IL_0152: ldarg.0 + IL_0153: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_0158: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_015d: ldloc.3 + IL_015e: ldarg.0 + IL_015f: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0164: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0169: ldloc.3 + IL_016a: ldarg.0 + IL_016b: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0170: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_0175: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.FrameworkInfo::get_TaskAssemblies() + IL_017a: callvirt instance void class NAnt.Core.Tasks.LoadTasksTask::set_TaskFileSet(class NAnt.Core.Types.FileSet) + IL_017f: ldloc.3 + IL_0180: ldc.i4.0 + IL_0181: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) + IL_0186: ldloc.3 + IL_0187: ldarg.0 + IL_0188: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_018d: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_0192: ldc.i4 1000 + IL_0197: bne.un IL_01a6 + + IL_019c: ldc.i4 1000 + IL_01a1: br IL_01ab + + IL_01a6: ldc.i4 4000 + IL_01ab: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) + IL_01b0: ldloc.3 + IL_01b1: callvirt instance void class NAnt.Core.Task::Execute() + IL_01b6: ldc.i4.1 + IL_01b7: stsfld bool NAnt.Core.ProjectSettingsLoader::ScannedTasks + IL_01bc: nop + IL_01bd: ret + } // end of method ProjectSettingsLoader::ProcessPlatform + + // method line 1816 + .method private hidebysig + instance default void ProcessFrameworks (class [System.Xml]System.Xml.XmlNode platformNode) cil managed { - // Method begins at RVA 0x2fe4 - // Code size 76 (0x4c) + // Method begins at RVA 0x23274 + // Code size 153 (0x99) .maxstack 3 .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute V_0, - string V_1) + class [System.Xml]System.Xml.XmlNode V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.FrameworkInfo V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldnull - IL_0003: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0008: brfalse IL_0019 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: nop - IL_000e: ldstr "type" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.0 - IL_001a: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_001f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0024: ldc.i4.0 - IL_0025: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_002a: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_002f: stloc.0 - IL_0030: ldloc.0 - IL_0031: brfalse IL_0043 + IL_0007: nop + IL_0008: ldstr "platformNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: nop + IL_0014: ldarg.1 + IL_0015: ldstr "nant:framework" + IL_001a: ldarg.0 + IL_001b: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_0020: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0025: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_002a: stloc.1 + .try { // 0 + IL_002b: br IL_0074 - IL_0036: nop - IL_0037: ldloc.0 - IL_0038: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_003d: stloc.1 - IL_003e: br IL_004a + IL_0030: ldloc.1 + IL_0031: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0036: castclass [System.Xml]System.Xml.XmlNode + IL_003b: stloc.0 + IL_003c: nop + IL_003d: ldloc.0 + IL_003e: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_0043: ldc.i4.1 + IL_0044: beq IL_004f - IL_0043: ldnull - IL_0044: stloc.1 - IL_0045: br IL_004a + IL_0049: nop + IL_004a: leave IL_0074 - IL_004a: ldloc.1 - IL_004b: ret - } // end of method Element::GetElementNameFromType + IL_004f: ldloc.0 + IL_0050: ldarg.0 + IL_0051: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_0056: newobj instance void class NAnt.Core.FrameworkInfo::'.ctor'(class [System.Xml]System.Xml.XmlNode, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_005b: stloc.2 + IL_005c: ldarg.0 + IL_005d: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0062: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_0067: ldloc.2 + IL_0068: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_006d: ldloc.2 + IL_006e: callvirt instance void class NAnt.Core.FrameworkInfoDictionary::Add(string, class NAnt.Core.FrameworkInfo) + IL_0073: nop + IL_0074: ldloc.1 + IL_0075: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_007a: brtrue IL_0030 - // method line 1803 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x303c - // Code size 21 (0x15) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Element::logger - IL_0014: ret - } // end of method Element::.cctor + IL_007f: leave IL_0098 - .property instance object Parent () - { - .get instance default object NAnt.Core.Element::get_Parent () - .set instance default void NAnt.Core.Element::set_Parent (object 'value') - } - .property instance string Name () - { - .get instance default string NAnt.Core.Element::get_Name () - } - .property instance class NAnt.Core.Project Project () - { - .get instance default class NAnt.Core.Project NAnt.Core.Element::get_Project () - .set instance default void NAnt.Core.Element::set_Project (class NAnt.Core.Project 'value') - } - .property instance class NAnt.Core.PropertyDictionary Properties () - { - .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Element::get_Properties () - } - .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () - { - .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::get_NamespaceManager () - .set instance default void NAnt.Core.Element::set_NamespaceManager (class [System.Xml]System.Xml.XmlNamespaceManager 'value') - } - .property instance class [System.Xml]System.Xml.XmlNode XmlNode () - { - .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::get_XmlNode () - .set instance default void NAnt.Core.Element::set_XmlNode (class [System.Xml]System.Xml.XmlNode 'value') - } - .property instance class NAnt.Core.Location Location () - { - .get instance default class NAnt.Core.Location NAnt.Core.Element::get_Location () - .set instance default void NAnt.Core.Element::set_Location (class NAnt.Core.Location 'value') - } - .property instance bool CustomXmlProcessing () - { - .get instance default bool NAnt.Core.Element::get_CustomXmlProcessing () - } - .class nested public auto ansi beforefieldinit AttributeConfigurator - extends [mscorlib]System.Object - { - .field private initonly class NAnt.Core.Element _element - .field private initonly class [System.Xml]System.Xml.XmlNode _elementXml - .field private initonly class NAnt.Core.PropertyDictionary _properties - .field private initonly class NAnt.Core.FrameworkInfo _targetFramework - .field private initonly class [System]System.Collections.Specialized.StringCollection _unprocessedAttributes - .field private initonly class [System]System.Collections.Specialized.StringCollection _unprocessedChildNodes - .field private static initonly class [log4net]log4net.ILog logger - .field private static class [mscorlib]System.Collections.Hashtable AttributeSetters + } // end .try 0 + finally { // 0 + IL_0084: ldloc.1 + IL_0085: isinst [mscorlib]System.IDisposable + IL_008a: dup + IL_008b: stloc.3 + IL_008c: brfalse IL_0097 - // method line 1804 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Element element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed + IL_0091: ldloc.3 + IL_0092: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0097: endfinally + } // end handler 0 + IL_0098: ret + } // end of method ProjectSettingsLoader::ProcessFrameworks + + // method line 1817 + .method private hidebysig + instance default void ProcessGlobalProperties (class [System.Xml]System.Xml.XmlNodeList propertyNodes) cil managed { - // Method begins at RVA 0x3054 - // Code size 419 (0x1a3) + // Method begins at RVA 0x2332c + // Code size 143 (0x8f) .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, + class [System.Xml]System.Xml.XmlNode V_0, class [mscorlib]System.Collections.IEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - class [System.Xml]System.Xml.XmlNode V_3, - class [mscorlib]System.Collections.IEnumerator V_4, - class [mscorlib]System.IDisposable V_5) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 - - IL_000d: nop - IL_000e: ldstr "element" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.2 - IL_001a: brtrue IL_002b - - IL_001f: nop - IL_0020: ldstr "elementNode" - IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002a: throw - IL_002b: ldarg.3 - IL_002c: brtrue IL_003d - - IL_0031: nop - IL_0032: ldstr "properties" - IL_0037: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_003c: throw - IL_003d: ldarg.0 - IL_003e: ldarg.1 - IL_003f: stfld class NAnt.Core.Element NAnt.Core.Element/AttributeConfigurator::_element - IL_0044: ldarg.0 - IL_0045: ldarg.2 - IL_0046: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element/AttributeConfigurator::_elementXml - IL_004b: ldarg.0 - IL_004c: ldarg.3 - IL_004d: stfld class NAnt.Core.PropertyDictionary NAnt.Core.Element/AttributeConfigurator::_properties - IL_0052: ldarg.0 - IL_0053: ldarg.s 4 - IL_0055: stfld class NAnt.Core.FrameworkInfo NAnt.Core.Element/AttributeConfigurator::_targetFramework - IL_005a: ldarg.0 - IL_005b: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0060: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedAttributes - IL_0065: nop - IL_0066: ldarg.2 - IL_0067: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_006c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNamedNodeMap::GetEnumerator() - IL_0071: stloc.1 + class NAnt.Core.Tasks.PropertyTask V_2, + class NAnt.Core.Project V_3, + class [mscorlib]System.IDisposable V_4) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0008: stloc.1 .try { // 0 - IL_0072: br IL_00ce - - IL_0077: ldloc.1 - IL_0078: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_007d: castclass [System.Xml]System.Xml.XmlAttribute - IL_0082: stloc.0 - IL_0083: nop - IL_0084: ldloc.0 - IL_0085: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_008a: callvirt instance int32 string::get_Length() - IL_008f: ldc.i4.0 - IL_0090: ble IL_00bb + IL_0009: br IL_0068 - IL_0095: ldloc.0 - IL_0096: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_009b: ldarg.0 - IL_009c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_00a1: ldstr "nant" - IL_00a6: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_00ab: callvirt instance bool string::Equals(string) - IL_00b0: brtrue IL_00bb + IL_000e: ldloc.1 + IL_000f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0014: castclass [System.Xml]System.Xml.XmlNode + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_0021: ldc.i4.1 + IL_0022: beq IL_002d - IL_00b5: nop - IL_00b6: leave IL_00ce + IL_0027: nop + IL_0028: leave IL_0068 - IL_00bb: ldarg.0 - IL_00bc: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedAttributes - IL_00c1: ldloc.0 - IL_00c2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00c7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00cc: pop - IL_00cd: nop - IL_00ce: ldloc.1 - IL_00cf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00d4: brtrue IL_0077 + IL_002d: newobj instance void class NAnt.Core.Tasks.PropertyTask::'.ctor'() + IL_0032: stloc.2 + IL_0033: ldloc.2 + IL_0034: ldarg.0 + IL_0035: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_003a: stloc.3 + IL_003b: ldloc.2 + IL_003c: ldloc.3 + IL_003d: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0042: ldloc.3 + IL_0043: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0048: ldloc.2 + IL_0049: ldarg.0 + IL_004a: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() + IL_004f: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0054: ldloc.2 + IL_0055: callvirt instance void class NAnt.Core.Task::InitializeTaskConfiguration() + IL_005a: ldloc.2 + IL_005b: ldloc.0 + IL_005c: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) + IL_0061: ldloc.2 + IL_0062: callvirt instance void class NAnt.Core.Task::Execute() + IL_0067: nop + IL_0068: ldloc.1 + IL_0069: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_006e: brtrue IL_000e - IL_00d9: leave IL_00f2 + IL_0073: leave IL_008e } // end .try 0 finally { // 0 - IL_00de: ldloc.1 - IL_00df: isinst [mscorlib]System.IDisposable - IL_00e4: dup - IL_00e5: stloc.2 - IL_00e6: brfalse IL_00f1 + IL_0078: ldloc.1 + IL_0079: isinst [mscorlib]System.IDisposable + IL_007e: dup + IL_007f: stloc.s 4 + IL_0081: brfalse IL_008d - IL_00eb: ldloc.2 - IL_00ec: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f1: endfinally + IL_0086: ldloc.s 4 + IL_0088: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_008d: endfinally } // end handler 0 - IL_00f2: ldarg.0 - IL_00f3: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_00f8: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes - IL_00fd: nop - IL_00fe: ldarg.2 - IL_00ff: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() - IL_0104: stloc.s 4 - .try { // 1 - IL_0106: br IL_017a - - IL_010b: ldloc.s 4 - IL_010d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0112: castclass [System.Xml]System.Xml.XmlNode - IL_0117: stloc.3 - IL_0118: nop - IL_0119: ldloc.3 - IL_011a: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_011f: ldc.i4.1 - IL_0120: bne.un IL_0145 + IL_008e: ret + } // end of method ProjectSettingsLoader::ProcessGlobalProperties - IL_0125: ldloc.3 - IL_0126: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_012b: ldarg.0 - IL_012c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_0131: ldstr "nant" - IL_0136: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_013b: callvirt instance bool string::Equals(string) - IL_0140: brtrue IL_014b + // method line 1818 + .method private hidebysig + instance default class NAnt.Core.FrameworkInfo ConfigureRuntimeFramework () cil managed + { + // Method begins at RVA 0x233d8 + // Code size 346 (0x15a) + .maxstack 4 + .locals init ( + class [mscorlib]System.Collections.ArrayList V_0, + string V_1, + class [mscorlib]System.Version V_2, + class NAnt.Core.FrameworkInfo V_3, + class NAnt.Core.FrameworkInfoDictionaryEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + class NAnt.Core.FrameworkInfo V_6, + int32 V_7, + class NAnt.Core.FrameworkInfo V_8, + class NAnt.Core.FrameworkInfo V_9) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldsfld bool NAnt.Core.PlatformHelper::IsMono + IL_000c: brfalse IL_001b - IL_0145: nop - IL_0146: leave IL_017a + IL_0011: ldstr "mono" + IL_0016: br IL_0020 - IL_014b: ldarg.0 - IL_014c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes - IL_0151: ldloc.3 - IL_0152: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0157: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_015c: brfalse IL_0167 + IL_001b: ldstr "net" + IL_0020: stloc.1 + IL_0021: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() + IL_0026: ldc.i4.3 + IL_0027: callvirt instance string class [mscorlib]System.Version::ToString(int32) + IL_002c: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0031: stloc.2 + IL_0032: nop + IL_0033: ldarg.0 + IL_0034: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0039: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_003e: callvirt instance class NAnt.Core.FrameworkInfoDictionaryEnumerator class NAnt.Core.FrameworkInfoDictionary::GetEnumerator() + IL_0043: stloc.s 4 + .try { // 0 + IL_0045: br IL_0089 - IL_0161: nop - IL_0162: leave IL_017a + IL_004a: ldloc.s 4 + IL_004c: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Current() + IL_0051: stloc.3 + IL_0052: nop + IL_0053: ldloc.3 + IL_0054: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() + IL_0059: ldloc.1 + IL_005a: call bool string::op_Inequality(string, string) + IL_005f: brfalse IL_0069 - IL_0167: ldarg.0 - IL_0168: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes - IL_016d: ldloc.3 - IL_016e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0173: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0178: pop - IL_0179: nop - IL_017a: ldloc.s 4 - IL_017c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0181: brtrue IL_010b + IL_0064: leave IL_0089 - IL_0186: leave IL_01a2 + IL_0069: ldloc.3 + IL_006a: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_006f: ldloc.2 + IL_0070: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_0075: brfalse IL_0080 + + IL_007a: nop + IL_007b: leave IL_0089 + + IL_0080: ldloc.0 + IL_0081: ldloc.3 + IL_0082: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0087: pop + IL_0088: nop + IL_0089: ldloc.s 4 + IL_008b: callvirt instance bool class NAnt.Core.FrameworkInfoDictionaryEnumerator::MoveNext() + IL_0090: brtrue IL_004a + + IL_0095: leave IL_00b1 + + } // end .try 0 + finally { // 0 + IL_009a: ldloc.s 4 + IL_009c: isinst [mscorlib]System.IDisposable + IL_00a1: dup + IL_00a2: stloc.s 5 + IL_00a4: brfalse IL_00b0 + + IL_00a9: ldloc.s 5 + IL_00ab: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b0: endfinally + } // end handler 0 + IL_00b1: ldnull + IL_00b2: stloc.s 6 + IL_00b4: ldc.i4.0 + IL_00b5: stloc.s 7 + IL_00b7: br IL_0118 + + IL_00bc: nop + IL_00bd: ldloc.0 + IL_00be: ldloc.s 7 + IL_00c0: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_00c5: castclass NAnt.Core.FrameworkInfo + IL_00ca: stloc.s 8 + .try { // 1 + IL_00cc: nop + IL_00cd: ldloc.s 8 + IL_00cf: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() + IL_00d4: ldloc.s 8 + IL_00d6: stloc.s 6 + IL_00d8: ldloc.s 6 + IL_00da: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_00df: brfalse IL_00ea + + IL_00e4: nop + IL_00e5: leave IL_0125 + + IL_00ea: nop + IL_00eb: leave IL_0111 } // end .try 1 - finally { // 1 - IL_018b: ldloc.s 4 - IL_018d: isinst [mscorlib]System.IDisposable - IL_0192: dup - IL_0193: stloc.s 5 - IL_0195: brfalse IL_01a1 + catch class [mscorlib]System.Object { // 1 + IL_00f0: pop + IL_00f1: nop + IL_00f2: ldloc.s 6 + IL_00f4: brtrue IL_010b + + IL_00f9: ldloc.s 7 + IL_00fb: ldloc.0 + IL_00fc: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0101: ldc.i4.1 + IL_0102: sub + IL_0103: bne.un IL_010b + + IL_0108: nop + IL_0109: rethrow + IL_010b: nop + IL_010c: leave IL_0111 - IL_019a: ldloc.s 5 - IL_019c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01a1: endfinally } // end handler 1 - IL_01a2: ret - } // end of method AttributeConfigurator::.ctor + IL_0111: nop + IL_0112: ldloc.s 7 + IL_0114: ldc.i4.1 + IL_0115: add + IL_0116: stloc.s 7 + IL_0118: ldloc.s 7 + IL_011a: ldloc.0 + IL_011b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0120: blt IL_00bc - // method line 1805 - .method public hidebysig specialname - instance default class NAnt.Core.Element get_Element () cil managed - { - // Method begins at RVA 0x3220 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Element V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Element NAnt.Core.Element/AttributeConfigurator::_element - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0125: ldloc.s 6 + IL_0127: brtrue IL_014e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttributeConfigurator::get_Element + IL_012c: nop + IL_012d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0132: ldstr "NA1062" + IL_0137: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_013c: ldloc.1 + IL_013d: ldloc.2 + IL_013e: callvirt instance string object::ToString() + IL_0143: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0148: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_014d: throw + IL_014e: ldloc.s 6 + IL_0150: stloc.s 9 + IL_0152: br IL_0157 - // method line 1806 - .method public hidebysig specialname - instance default class NAnt.Core.Location get_Location () cil managed + IL_0157: ldloc.s 9 + IL_0159: ret + } // end of method ProjectSettingsLoader::ConfigureRuntimeFramework + + // method line 1819 + .method private hidebysig + instance default class NAnt.Core.FrameworkInfo ConfigureTargetFramework (class [System.Xml]System.Xml.XmlNode platformNode) cil managed { - // Method begins at RVA 0x323c - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x2355c + // Code size 170 (0xaa) + .maxstack 7 .locals init ( - class NAnt.Core.Location V_0) + string V_0, + class NAnt.Core.FrameworkInfo V_1, + class NAnt.Core.FrameworkInfo V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0007: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0001: ldarg.1 + IL_0002: ldstr "default" + IL_0007: call string class NAnt.Core.ProjectSettingsLoader::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_000d: ldloc.0 + IL_000e: brfalse IL_0023 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method AttributeConfigurator::get_Location + IL_0013: ldloc.0 + IL_0014: ldstr "auto" + IL_0019: call bool string::op_Equality(string, string) + IL_001e: brfalse IL_0035 - // method line 1807 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x325c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0007: callvirt instance string class NAnt.Core.Element::get_Name() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_002a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_002f: stloc.1 + IL_0030: br IL_00a8 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method AttributeConfigurator::get_Name + IL_0035: ldarg.0 + IL_0036: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_003b: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_0040: ldloc.0 + IL_0041: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_0046: stloc.2 + IL_0047: ldloc.2 + IL_0048: brtrue IL_00a1 - // method line 1808 - .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed - { - // Method begins at RVA 0x327c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class NAnt.Core.Project V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0007: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_004d: nop + IL_004e: ldarg.0 + IL_004f: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0054: ldc.i4 4000 + IL_0059: ldstr "NA1178" + IL_005e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0063: ldc.i4.2 + IL_0064: newarr [mscorlib]System.Object + IL_0069: dup + IL_006a: ldc.i4.0 + IL_006b: ldloc.0 + IL_006c: stelem.ref + IL_006d: dup + IL_006e: ldc.i4.1 + IL_006f: ldarg.0 + IL_0070: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_0075: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_007a: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_007f: stelem.ref + IL_0080: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0085: ldarg.0 + IL_0086: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() + IL_008b: ldc.i4 4000 + IL_0090: ldstr "" + IL_0095: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) + IL_009a: ldnull + IL_009b: stloc.1 + IL_009c: br IL_00a8 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method AttributeConfigurator::get_Project + IL_00a1: ldloc.2 + IL_00a2: stloc.1 + IL_00a3: br IL_00a8 - // method line 1809 - .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNode get_ElementXml () cil managed + IL_00a8: ldloc.1 + IL_00a9: ret + } // end of method ProjectSettingsLoader::ConfigureTargetFramework + + // method line 1820 + .method private static hidebysig + default string GetXmlAttributeValue (class [System.Xml]System.Xml.XmlNode xmlNode, string attributeName) cil managed { - // Method begins at RVA 0x329c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x23614 + // Code size 58 (0x3a) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0) + string V_0, + class [System.Xml]System.Xml.XmlAttribute V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element/AttributeConfigurator::_elementXml - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: brfalse IL_0031 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttributeConfigurator::get_ElementXml + IL_0009: nop + IL_000a: ldarg.0 + IL_000b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0010: ldarg.1 + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) + IL_0016: castclass [System.Xml]System.Xml.XmlAttribute + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: brfalse IL_0030 - // method line 1810 - .method public hidebysig specialname - instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed - { - // Method begins at RVA 0x32b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.PropertyDictionary V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.Element/AttributeConfigurator::_properties - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0022: nop + IL_0023: ldloc.1 + IL_0024: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0029: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_002e: stloc.0 + IL_002f: nop + IL_0030: nop + IL_0031: ldloc.0 + IL_0032: stloc.2 + IL_0033: br IL_0038 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttributeConfigurator::get_Properties + IL_0038: ldloc.2 + IL_0039: ret + } // end of method ProjectSettingsLoader::GetXmlAttributeValue - // method line 1811 - .method public hidebysig specialname - instance default class NAnt.Core.FrameworkInfo get_TargetFramework () cil managed - { - // Method begins at RVA 0x32d4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.FrameworkInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.FrameworkInfo NAnt.Core.Element/AttributeConfigurator::_targetFramework - IL_0007: stloc.0 - IL_0008: br IL_000d + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.ProjectSettingsLoader::get_Project () + } + .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () + { + .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::get_NamespaceManager () + } + } // end of class NAnt.Core.ProjectSettingsLoader +} - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttributeConfigurator::get_TargetFramework +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit ExpressionEvaluator + extends NAnt.Core.ExpressionEvalBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 04 4E 41 6E 74 // ...property.NAnt + 00 00 ) // .. - // method line 1812 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_UnprocessedAttributes () cil managed - { - // Method begins at RVA 0x32f0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedAttributes - IL_0007: stloc.0 - IL_0008: br IL_000d + .field private class NAnt.Core.PropertyDictionary _properties + .field private class [mscorlib]System.Collections.Hashtable _state + .field private class [mscorlib]System.Collections.Stack _visiting - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttributeConfigurator::get_UnprocessedAttributes + // method line 1821 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting) cil managed + { + // Method begins at RVA 0x2365a + // Code size 31 (0x1f) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.ExpressionEvalBase::'.ctor'(class NAnt.Core.Project) + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldarg.2 + IL_000a: stfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties + IL_000f: ldarg.0 + IL_0010: ldarg.3 + IL_0011: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state + IL_0016: ldarg.0 + IL_0017: ldarg.s 4 + IL_0019: stfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting + IL_001e: ret + } // end of method ExpressionEvaluator::.ctor - // method line 1813 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_UnprocessedChildNodes () cil managed + // method line 1822 + .method family virtual hidebysig + instance default object EvaluateProperty (string propertyName) cil managed { - // Method begins at RVA 0x330c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2367c + // Code size 16 (0x10) + .maxstack 2 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance string class NAnt.Core.ExpressionEvaluator::GetPropertyValue(string) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttributeConfigurator::get_UnprocessedChildNodes + IL_000e: ldloc.0 + IL_000f: ret + } // end of method ExpressionEvaluator::EvaluateProperty - // method line 1814 - .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + // method line 1823 + .method family virtual hidebysig + instance default object EvaluateFunction (class [mscorlib]System.Reflection.MethodInfo methodInfo, object[] args) cil managed { - // Method begins at RVA 0x3328 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x23698 + // Code size 184 (0xb8) + .maxstack 5 .locals init ( - class [System.Xml]System.Xml.XmlNamespaceManager V_0) + object V_0, + class [mscorlib]System.Reflection.ConstructorInfo V_1, + object V_2, + class [mscorlib]System.Reflection.TargetInvocationException V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_000c: stloc.0 - IL_000d: br IL_0012 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsStatic() + IL_0008: brfalse IL_001c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method AttributeConfigurator::get_NamespaceManager + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: ldnull + IL_0010: ldarg.2 + IL_0011: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_0016: stloc.0 + IL_0017: leave IL_00b6 - // method line 1815 + IL_001c: ldarg.1 + IL_001d: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_0022: ldtoken NAnt.Core.ExpressionEvaluator + IL_0027: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0031: brfalse IL_0045 + + IL_0036: nop + IL_0037: ldarg.1 + IL_0038: ldarg.0 + IL_0039: ldarg.2 + IL_003a: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_003f: stloc.0 + IL_0040: leave IL_00b6 + + IL_0045: nop + IL_0046: ldarg.1 + IL_0047: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_004c: ldc.i4.2 + IL_004d: newarr [mscorlib]System.Type + IL_0052: dup + IL_0053: ldc.i4.0 + IL_0054: ldtoken NAnt.Core.Project + IL_0059: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_005e: stelem.ref + IL_005f: dup + IL_0060: ldc.i4.1 + IL_0061: ldtoken NAnt.Core.PropertyDictionary + IL_0066: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_006b: stelem.ref + IL_006c: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) + IL_0071: stloc.1 + IL_0072: ldloc.1 + IL_0073: ldc.i4.2 + IL_0074: newarr [mscorlib]System.Object + IL_0079: dup + IL_007a: ldc.i4.0 + IL_007b: ldarg.0 + IL_007c: call instance class NAnt.Core.Project class NAnt.Core.ExpressionEvalBase::get_Project() + IL_0081: stelem.ref + IL_0082: dup + IL_0083: ldc.i4.1 + IL_0084: ldarg.0 + IL_0085: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties + IL_008a: stelem.ref + IL_008b: callvirt instance object class [mscorlib]System.Reflection.ConstructorInfo::Invoke(object[]) + IL_0090: stloc.2 + IL_0091: ldarg.1 + IL_0092: ldloc.2 + IL_0093: ldarg.2 + IL_0094: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_0099: stloc.0 + IL_009a: leave IL_00b6 + + } // end .try 0 + catch class [mscorlib]System.Reflection.TargetInvocationException { // 0 + IL_009f: stloc.3 + IL_00a0: nop + IL_00a1: ldloc.3 + IL_00a2: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_00a7: brfalse IL_00b4 + + IL_00ac: nop + IL_00ad: ldloc.3 + IL_00ae: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_00b3: throw + IL_00b4: rethrow + } // end handler 0 + IL_00b6: ldloc.0 + IL_00b7: ret + } // end of method ExpressionEvaluator::EvaluateFunction + + // method line 1824 .method public hidebysig - instance default void Initialize () cil managed + instance default string GetPropertyValue (string propertyName) cil managed { - // Method begins at RVA 0x3348 - // Code size 468 (0x1d4) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 76 61 6C 75 65 00 00 ) // ...get-value.. + + // Method begins at RVA 0x2376c + // Code size 271 (0x10f) .maxstack 5 .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Reflection.PropertyInfo[] V_1, - class [mscorlib]System.Reflection.PropertyInfo V_2, - class [mscorlib]System.Reflection.PropertyInfo[] V_3, - int32 V_4, - class [mscorlib]System.Reflection.MethodInfo V_5, - class [mscorlib]System.Reflection.MethodInfo V_6) + string V_0, + string V_1, + class NAnt.Core.Location V_2, + string V_3, + string V_4) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: ldc.i4.s 0x34 - IL_0010: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0015: stloc.1 - IL_0016: nop - IL_0017: ldloc.1 - IL_0018: stloc.3 - IL_0019: ldc.i4.0 - IL_001a: stloc.s 4 - IL_001c: br IL_00f3 - - IL_0021: ldloc.3 - IL_0022: ldloc.s 4 - IL_0024: ldelem.ref - IL_0025: stloc.2 - IL_0026: nop - IL_0027: ldnull - IL_0028: stloc.s 5 - IL_002a: ldnull - IL_002b: stloc.s 6 - IL_002d: ldloc.2 - IL_002e: ldc.i4.1 - IL_002f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetSetMethod(bool) - IL_0034: stloc.s 6 - IL_0036: ldloc.s 6 - IL_0038: ldnull - IL_0039: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_003e: brfalse IL_0060 + IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) + IL_000d: brfalse IL_00d3 - IL_0043: ldloc.s 6 - IL_0045: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsPublic() - IL_004a: brtrue IL_0060 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state + IL_0019: ldarg.1 + IL_001a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_001f: castclass [mscorlib]System.String + IL_0024: stloc.0 + IL_0025: ldloc.0 + IL_0026: ldstr "VISITING" + IL_002b: call bool string::op_Equality(string, string) + IL_0030: brfalse IL_0043 - IL_004f: ldloc.s 6 - IL_0051: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsFamily() - IL_0056: brtrue IL_0060 + IL_0035: nop + IL_0036: ldarg.1 + IL_0037: ldarg.0 + IL_0038: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting + IL_003d: call class NAnt.Core.BuildException class NAnt.Core.PropertyDictionary::CreateCircularException(string, class [mscorlib]System.Collections.Stack) + IL_0042: throw + IL_0043: ldarg.0 + IL_0044: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting + IL_0049: ldarg.1 + IL_004a: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_004f: ldarg.0 + IL_0050: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state + IL_0055: ldarg.1 + IL_0056: ldstr "VISITING" + IL_005b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0060: ldarg.0 + IL_0061: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties + IL_0066: ldarg.1 + IL_0067: callvirt instance string class NAnt.Core.PropertyDictionary::GetPropertyValue(string) + IL_006c: stloc.1 + IL_006d: ldloc.1 + IL_006e: brtrue IL_008f - IL_005b: nop - IL_005c: ldnull - IL_005d: stloc.s 6 - IL_005f: nop - IL_0060: ldloc.2 - IL_0061: ldc.i4.1 - IL_0062: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetGetMethod(bool) - IL_0067: stloc.s 5 - 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_0093 + IL_0073: nop + IL_0074: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0079: ldstr "NA1053" + IL_007e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0083: ldarg.1 + IL_0084: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0089: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_008e: throw + IL_008f: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0094: stloc.2 + IL_0095: ldarg.0 + IL_0096: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties + IL_009b: ldloc.1 + IL_009c: ldloc.2 + IL_009d: ldarg.0 + IL_009e: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state + IL_00a3: ldarg.0 + IL_00a4: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting + IL_00a9: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) + IL_00ae: stloc.1 + IL_00af: ldarg.0 + IL_00b0: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.ExpressionEvaluator::_visiting + IL_00b5: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_00ba: pop + IL_00bb: ldarg.0 + IL_00bc: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.ExpressionEvaluator::_state + IL_00c1: ldarg.1 + IL_00c2: ldstr "VISITED" + IL_00c7: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00cc: ldloc.1 + IL_00cd: stloc.3 + IL_00ce: br IL_010d - IL_0076: ldloc.s 5 - IL_0078: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsPublic() - IL_007d: brtrue IL_0093 + IL_00d3: nop + IL_00d4: ldarg.0 + IL_00d5: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.ExpressionEvaluator::_properties + IL_00da: ldarg.1 + IL_00db: callvirt instance string class NAnt.Core.PropertyDictionary::GetPropertyValue(string) + IL_00e0: stloc.s 4 + IL_00e2: ldloc.s 4 + IL_00e4: brtrue IL_0105 - IL_0082: ldloc.s 5 - IL_0084: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsFamily() - IL_0089: brtrue IL_0093 + IL_00e9: nop + IL_00ea: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ef: ldstr "NA1053" + IL_00f4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f9: ldarg.1 + IL_00fa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0104: throw + IL_0105: ldloc.s 4 + IL_0107: stloc.3 + IL_0108: br IL_010d - IL_008e: nop - IL_008f: ldnull - IL_0090: stloc.s 5 - IL_0092: nop - IL_0093: ldloc.s 5 - IL_0095: ldnull - IL_0096: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_009b: brfalse IL_00b2 + IL_010d: ldloc.3 + IL_010e: ret + } // end of method ExpressionEvaluator::GetPropertyValue - IL_00a0: ldloc.s 6 - IL_00a2: ldnull - IL_00a3: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_00a8: brfalse IL_00b2 + } // end of class NAnt.Core.ExpressionEvaluator +} - IL_00ad: br IL_00ed +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit BuildException + extends [mscorlib]System.ApplicationException + { + .field private class NAnt.Core.Location _location - IL_00b2: ldarg.0 - IL_00b3: ldloc.2 - IL_00b4: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_00b9: brfalse IL_00c4 + // method line 1825 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x23887 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_000b: ldarg.0 + IL_000c: call instance void class [mscorlib]System.ApplicationException::'.ctor'() + IL_0011: nop + IL_0012: ret + } // end of method BuildException::.ctor - IL_00be: nop - IL_00bf: br IL_00ed + // method line 1826 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed + { + // Method begins at RVA 0x2389b + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_0012: nop + IL_0013: ret + } // end of method BuildException::.ctor - IL_00c4: ldarg.0 - IL_00c5: ldloc.2 - IL_00c6: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElementCollection(class [mscorlib]System.Reflection.PropertyInfo) - IL_00cb: brfalse IL_00d6 + // method line 1827 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed + { + // Method begins at RVA 0x238b0 + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldarg.2 + IL_000e: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0013: nop + IL_0014: ret + } // end of method BuildException::.ctor - IL_00d0: nop - IL_00d1: br IL_00ed + // method line 1828 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class NAnt.Core.Location location) cil managed + { + // Method begins at RVA 0x238c6 + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldarg.2 + IL_0015: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_001a: ret + } // end of method BuildException::.ctor - IL_00d6: ldarg.0 - IL_00d7: ldloc.2 - IL_00d8: ldloc.s 5 - IL_00da: ldloc.s 6 - IL_00dc: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeChildElement(class [mscorlib]System.Reflection.PropertyInfo, class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_00e1: brfalse IL_00ec + // method line 1829 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class NAnt.Core.Location location, class [mscorlib]System.Exception innerException) cil managed + { + // Method begins at RVA 0x238e2 + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldarg.3 + IL_000e: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldarg.2 + IL_0016: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_001b: ret + } // end of method BuildException::.ctor - IL_00e6: nop - IL_00e7: br IL_00ed + // method line 1830 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + { + // Method begins at RVA 0x238ff + // Code size 54 (0x36) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldarg.2 + IL_000e: call instance void class [mscorlib]System.ApplicationException::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldarg.1 + IL_0016: ldstr "Location" + IL_001b: ldarg.0 + IL_001c: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_0021: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0026: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_002b: isinst NAnt.Core.Location + IL_0030: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_0035: ret + } // end of method BuildException::.ctor - IL_00ec: nop - IL_00ed: ldloc.s 4 - IL_00ef: ldc.i4.1 - IL_00f0: add - IL_00f1: stloc.s 4 - IL_00f3: ldloc.s 4 - IL_00f5: ldloc.3 - IL_00f6: ldlen - IL_00f7: conv.i4 - IL_00f8: blt IL_0021 + // method line 1831 + .method public hidebysig specialname + instance default string get_RawMessage () cil managed + { + // Method begins at RVA 0x23938 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class [mscorlib]System.Exception::get_Message() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00fd: ldarg.0 - IL_00fe: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::InitializeOrderedChildElements() - IL_0103: ldloc.0 - IL_0104: ldtoken NAnt.Core.Target - IL_0109: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_010e: callvirt instance bool class [mscorlib]System.Type::Equals(class [mscorlib]System.Type) - IL_0113: brtrue IL_01d3 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildException::get_RawMessage - IL_0118: ldloc.0 - IL_0119: ldtoken NAnt.Core.Target - IL_011e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0123: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) - IL_0128: brtrue IL_01d3 + // method line 1832 + .method public hidebysig specialname + instance default class NAnt.Core.Location get_Location () cil managed + { + // Method begins at RVA 0x23954 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Location V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_012d: nop - IL_012e: ldarg.0 - IL_012f: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() - IL_0134: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0139: ldc.i4.0 - IL_013a: ble IL_0177 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildException::get_Location - IL_013f: nop - IL_0140: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0145: ldstr "NA1027" - IL_014a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_014f: ldarg.0 - IL_0150: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() - IL_0155: ldc.i4.0 - IL_0156: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_015b: ldarg.0 - IL_015c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0161: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0166: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_016b: ldarg.0 - IL_016c: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0171: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0176: throw - IL_0177: ldarg.0 - IL_0178: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_017d: callvirt instance bool class NAnt.Core.Element::get_CustomXmlProcessing() - IL_0182: brtrue IL_01d2 + // method line 1833 + .method public virtual hidebysig + instance default void GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + { + // Method begins at RVA 0x2396f + .permissionset demand = {[mscorlib]System.Security.Permissions.SecurityPermissionAttribute = {property bool 'SerializationFormatter' = bool(true)}} + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: call instance void class [mscorlib]System.Exception::GetObjectData(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) + IL_0009: ldarg.1 + IL_000a: ldstr "Location" + IL_000f: ldarg.0 + IL_0010: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_0015: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_001a: ret + } // end of method BuildException::GetObjectData - IL_0187: nop - IL_0188: ldarg.0 - IL_0189: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_018e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0193: ldc.i4.0 - IL_0194: ble IL_01d1 + // method line 1834 + .method public virtual hidebysig specialname + instance default string get_Message () cil managed + { + // Method begins at RVA 0x2398c + // Code size 74 (0x4a) + .maxstack 3 + .locals init ( + string V_0, + string V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class [mscorlib]System.Exception::get_Message() + IL_0007: stloc.0 + IL_0008: ldsfld string [mscorlib]System.String::Empty + IL_000d: stloc.1 + IL_000e: ldarg.0 + IL_000f: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_0014: brfalse IL_0027 - IL_0199: nop - IL_019a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_019f: ldstr "NA1032" - IL_01a4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01a9: ldarg.0 - IL_01aa: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_01af: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_01b4: ldarg.0 - IL_01b5: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_01ba: ldc.i4.0 - IL_01bb: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_01c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_01c5: ldarg.0 - IL_01c6: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_01cb: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_01d0: throw - IL_01d1: nop - IL_01d2: nop - IL_01d3: ret - } // end of method AttributeConfigurator::Initialize + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location + IL_0020: callvirt instance string object::ToString() + IL_0025: stloc.1 + IL_0026: nop + IL_0027: ldloc.1 + IL_0028: call bool string::IsNullOrEmpty(string) + IL_002d: brtrue IL_0041 - // method line 1816 - .method family virtual hidebysig newslot - instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + IL_0032: nop + IL_0033: ldloc.1 + IL_0034: call string class [mscorlib]System.Environment::get_NewLine() + IL_0039: ldloc.0 + IL_003a: call string string::Concat(string, string, string) + IL_003f: stloc.0 + IL_0040: nop + IL_0041: ldloc.0 + IL_0042: stloc.2 + IL_0043: br IL_0048 + + IL_0048: ldloc.2 + IL_0049: ret + } // end of method BuildException::get_Message + + // method line 1835 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x3528 - // Code size 1082 (0x43a) - .maxstack 6 + // Method begins at RVA 0x239e4 + // Code size 41 (0x29) + .maxstack 5 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - string V_1, - class [System.Xml]System.Xml.XmlNode V_2, - class NAnt.Core.Attributes.FrameworkConfigurableAttribute V_3, - class NAnt.Core.BuildException V_4, - class NAnt.Core.Attributes.BuildAttributeAttribute V_5, - bool V_6, - class [mscorlib]System.ObsoleteAttribute V_7, - string V_8, - class [mscorlib]System.Type V_9, - object[] V_10, - class NAnt.Core.Attributes.ValidatorAttribute V_11, - object[] V_12, - int32 V_13, - class NAnt.Core.ValidationException V_14, - class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter V_15) + string V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldnull - IL_0006: stloc.2 - IL_0007: ldarg.1 - IL_0008: ldtoken NAnt.Core.Attributes.FrameworkConfigurableAttribute - IL_000d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0012: ldc.i4.0 - IL_0013: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0018: castclass NAnt.Core.Attributes.FrameworkConfigurableAttribute - IL_001d: stloc.3 - IL_001e: ldloc.3 - IL_001f: brfalse IL_0117 - - IL_0024: nop - IL_0025: ldarg.0 - IL_0026: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_002b: ldarg.0 - IL_002c: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() - IL_0031: ldloc.3 - IL_0032: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() - IL_0037: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class NAnt.Core.FrameworkInfo, string) - IL_003c: stloc.2 - IL_003d: ldloc.2 - IL_003e: brfalse IL_00d7 - - IL_0043: nop - IL_0044: ldloc.2 - IL_0045: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_004a: stloc.1 - IL_004b: ldloc.3 - IL_004c: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_ExpandProperties() - IL_0051: brfalse IL_00d1 - - IL_0056: ldarg.0 - IL_0057: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() - IL_005c: brfalse IL_00d1 + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldstr "{0}:{1}{2}" + IL_000b: ldarg.0 + IL_000c: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0011: call string class [mscorlib]System.Environment::get_NewLine() + IL_0016: ldarg.0 + IL_0017: call instance string class [mscorlib]System.Exception::ToString() + IL_001c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0021: stloc.0 + IL_0022: br IL_0027 - IL_0061: nop - .try { // 0 - IL_0062: nop - IL_0063: ldarg.0 - IL_0064: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() - IL_0069: callvirt instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_006e: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0073: ldloc.1 - IL_0074: ldarg.0 - IL_0075: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_007a: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_007f: stloc.1 - IL_0080: nop - IL_0081: leave IL_00d0 + IL_0027: ldloc.0 + IL_0028: ret + } // end of method BuildException::ToString - } // end .try 0 - catch class NAnt.Core.BuildException { // 0 - IL_0086: stloc.s 4 - IL_0088: nop - IL_0089: ldloc.3 - IL_008a: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() - IL_008f: brfalse IL_00c8 + .property instance string RawMessage () + { + .get instance default string NAnt.Core.BuildException::get_RawMessage () + } + .property instance class NAnt.Core.Location Location () + { + .get instance default class NAnt.Core.Location NAnt.Core.BuildException::get_Location () + } + .property instance string Message () + { + .get instance default string NAnt.Core.BuildException::get_Message () + } + } // end of class NAnt.Core.BuildException +} - IL_0094: nop - IL_0095: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_009a: ldstr "NA1015" - IL_009f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00a4: ldloc.3 - IL_00a5: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() - IL_00aa: ldarg.0 - IL_00ab: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_00b0: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00b5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00ba: ldarg.0 - IL_00bb: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_00c0: ldloc.s 4 - IL_00c2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00c7: throw - IL_00c8: ldnull - IL_00c9: stloc.1 - IL_00ca: nop - IL_00cb: leave IL_00d0 +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit FrameworkInfo + extends [mscorlib]System.Object + implements [mscorlib]System.Runtime.Serialization.ISerializable { + .field private initonly class [System.Xml]System.Xml.XmlNode _frameworkNode + .field private initonly class [System.Xml]System.Xml.XmlNamespaceManager _nsMgr + .field private initonly string _name + .field private initonly string _family + .field private initonly string _description + .field private class [mscorlib]System.Version _version + .field private class [mscorlib]System.Version _clrVersion + .field private valuetype NAnt.Core.ClrType _clrType + .field private valuetype NAnt.Core.VendorType _vendor + .field private class [mscorlib]System.IO.DirectoryInfo _frameworkDirectory + .field private class [mscorlib]System.IO.DirectoryInfo _sdkDirectory + .field private class [mscorlib]System.IO.DirectoryInfo _frameworkAssemblyDirectory + .field private class NAnt.Core.Configuration.Runtime _runtime + .field private class NAnt.Core.Project _project + .field private class NAnt.Core.Types.FileSet _taskAssemblies + .field private class NAnt.Core.Types.FileSet[] _referenceAssemblies + .field private string[] _toolPaths + .field private valuetype NAnt.Core.FrameworkInfo/InitStatus _status - } // end handler 0 - IL_00d0: nop - IL_00d1: nop - IL_00d2: br IL_0116 + // method line 1836 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlNode frameworkNode, class [System.Xml]System.Xml.XmlNamespaceManager nsMgr) cil managed + { + // Method begins at RVA 0x23a1c + // Code size 274 (0x112) + .maxstack 4 + .locals init ( + string V_0, + class [mscorlib]System.Exception V_1) + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0007: ldarg.0 + IL_0008: call instance void object::'.ctor'() + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: brtrue IL_0020 - IL_00d7: nop - IL_00d8: ldloc.3 - IL_00d9: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() - IL_00de: brfalse IL_0115 + IL_0014: nop + IL_0015: ldstr "frameworkNode" + IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001f: throw + IL_0020: ldarg.2 + IL_0021: brtrue IL_0032 - IL_00e3: nop - IL_00e4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00e9: ldstr "NA1015" - IL_00ee: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f3: ldloc.3 - IL_00f4: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() - IL_00f9: ldarg.0 - IL_00fa: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_00ff: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0104: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0109: ldarg.0 - IL_010a: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_010f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0114: throw - IL_0115: nop - IL_0116: nop - IL_0117: ldarg.1 - IL_0118: ldtoken NAnt.Core.Attributes.BuildAttributeAttribute - IL_011d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0122: ldc.i4.0 - IL_0123: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0128: castclass NAnt.Core.Attributes.BuildAttributeAttribute - IL_012d: stloc.s 5 - IL_012f: ldloc.s 5 - IL_0131: brfalse IL_02ec + IL_0026: nop + IL_0027: ldstr "nsMgr" + IL_002c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0031: throw + IL_0032: ldarg.0 + IL_0033: ldarg.1 + IL_0034: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0039: ldarg.0 + IL_003a: ldarg.2 + IL_003b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::_nsMgr + IL_0040: ldarg.0 + IL_0041: ldarg.1 + IL_0042: ldstr "name" + IL_0047: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_004c: stfld string NAnt.Core.FrameworkInfo::_name + IL_0051: ldarg.0 + IL_0052: ldfld string NAnt.Core.FrameworkInfo::_name + IL_0057: brtrue IL_0068 - IL_0136: nop - IL_0137: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger - IL_013c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0141: ldstr "String_FoundAttribute" - IL_0146: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_014b: ldloc.s 5 - IL_014d: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() - IL_0152: ldarg.1 - IL_0153: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_0158: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_015d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0162: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_0167: ldarg.0 - IL_0168: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_016d: brfalse IL_018c + IL_005c: nop + IL_005d: ldstr "The \"name\" attribute does not exist, or has no value." + IL_0062: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0067: throw + IL_0068: ldarg.0 + IL_0069: ldarg.1 + IL_006a: ldstr "family" + IL_006f: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_0074: stfld string NAnt.Core.FrameworkInfo::_family + IL_0079: ldarg.0 + IL_007a: ldfld string NAnt.Core.FrameworkInfo::_family + IL_007f: brtrue IL_0090 - IL_0172: nop - IL_0173: ldarg.0 - IL_0174: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0179: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_017e: ldloc.s 5 - IL_0180: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() - IL_0185: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_018a: stloc.0 - IL_018b: nop - IL_018c: ldloc.0 - IL_018d: brfalse IL_02aa + IL_0084: nop + IL_0085: ldstr "The \"family\" attribute does not exist, or has no value." + IL_008a: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_008f: throw + IL_0090: ldarg.0 + IL_0091: ldarg.0 + IL_0092: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0097: ldstr "description" + IL_009c: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_00a1: stfld string NAnt.Core.FrameworkInfo::_description + IL_00a6: ldarg.0 + IL_00a7: ldfld string NAnt.Core.FrameworkInfo::_description + IL_00ac: brtrue IL_00bd - IL_0192: nop - IL_0193: ldarg.0 - IL_0194: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() - IL_0199: ldloc.0 - IL_019a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_019f: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) - IL_01a4: ldloc.s 5 - IL_01a6: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_ProcessXml() - IL_01ab: brtrue IL_01e9 + IL_00b1: nop + IL_00b2: ldstr "The \"description\" attribute does not exist, or has no value." + IL_00b7: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_00bc: throw + IL_00bd: ldarg.0 + IL_00be: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_00c3: ldstr "vendor" + IL_00c8: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_00cd: stloc.0 + IL_00ce: ldloc.0 + IL_00cf: brtrue IL_00e0 - IL_01b0: nop - IL_01b1: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger - IL_01b6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01bb: ldstr "String_SkippingAttribute" - IL_01c0: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01c5: ldloc.s 5 - IL_01c7: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() - IL_01cc: ldarg.1 - IL_01cd: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_01d2: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01d7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_01dc: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_01e1: ldc.i4.1 - IL_01e2: stloc.s 6 - IL_01e4: br IL_0437 + IL_00d4: nop + IL_00d5: ldstr "The \"vendor\" attribute does not exist, or has no value." + IL_00da: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_00df: throw + .try { // 0 + IL_00e0: nop + IL_00e1: ldarg.0 + IL_00e2: ldtoken NAnt.Core.VendorType + IL_00e7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00ec: ldloc.0 + IL_00ed: ldc.i4.1 + IL_00ee: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_00f3: unbox.any NAnt.Core.VendorType + IL_00f8: stfld valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::_vendor + IL_00fd: nop + IL_00fe: leave IL_0111 - IL_01e9: ldloc.0 - IL_01ea: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_01ef: stloc.1 - IL_01f0: ldloc.s 5 - IL_01f2: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_ExpandProperties() - IL_01f7: brfalse IL_0211 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0103: stloc.1 + IL_0104: nop + IL_0105: ldstr "The value of the \"vendor\" attribute is not valid." + IL_010a: ldloc.1 + IL_010b: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0110: throw + } // end handler 0 + IL_0111: ret + } // end of method FrameworkInfo::.ctor - IL_01fc: nop - IL_01fd: ldarg.0 - IL_01fe: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element/AttributeConfigurator::get_Properties() - IL_0203: ldloc.1 - IL_0204: ldarg.0 - IL_0205: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_020a: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_020f: stloc.1 - IL_0210: nop - IL_0211: ldarg.1 - IL_0212: ldtoken [mscorlib]System.ObsoleteAttribute - IL_0217: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_021c: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0221: castclass [mscorlib]System.ObsoleteAttribute - IL_0226: stloc.s 7 - IL_0228: ldloc.s 7 - IL_022a: brfalse IL_02a4 + // method line 1837 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + { + // Method begins at RVA 0x23b4c + // Code size 500 (0x1f4) + .maxstack 4 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0007: ldarg.0 + IL_0008: call instance void object::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldstr "Name" + IL_0015: callvirt instance string class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetString(string) + IL_001a: stfld string NAnt.Core.FrameworkInfo::_name + IL_001f: ldarg.0 + IL_0020: ldarg.1 + IL_0021: ldstr "Family" + IL_0026: callvirt instance string class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetString(string) + IL_002b: stfld string NAnt.Core.FrameworkInfo::_family + IL_0030: ldarg.0 + IL_0031: ldarg.1 + IL_0032: ldstr "Description" + IL_0037: callvirt instance string class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetString(string) + IL_003c: stfld string NAnt.Core.FrameworkInfo::_description + IL_0041: ldarg.0 + IL_0042: ldarg.1 + IL_0043: ldstr "Status" + IL_0048: ldtoken NAnt.Core.FrameworkInfo/InitStatus + IL_004d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0052: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0057: unbox.any NAnt.Core.FrameworkInfo/InitStatus + IL_005c: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0061: ldarg.0 + IL_0062: ldarg.1 + IL_0063: ldstr "ClrType" + IL_0068: ldtoken NAnt.Core.ClrType + IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0072: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0077: unbox.any NAnt.Core.ClrType + IL_007c: stfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType + IL_0081: ldarg.0 + IL_0082: ldarg.1 + IL_0083: ldstr "Version" + IL_0088: ldtoken [mscorlib]System.Version + IL_008d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0092: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0097: castclass [mscorlib]System.Version + IL_009c: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version + IL_00a1: ldarg.0 + IL_00a2: ldarg.1 + IL_00a3: ldstr "ClrVersion" + IL_00a8: ldtoken [mscorlib]System.Version + IL_00ad: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00b2: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_00b7: castclass [mscorlib]System.Version + IL_00bc: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion + IL_00c1: ldarg.0 + IL_00c2: ldarg.1 + IL_00c3: ldstr "Vendor" + IL_00c8: ldtoken NAnt.Core.VendorType + IL_00cd: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00d2: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_00d7: unbox.any NAnt.Core.VendorType + IL_00dc: stfld valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::_vendor + IL_00e1: ldarg.0 + IL_00e2: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_00e7: ldc.i4.3 + IL_00e8: beq IL_00f3 - IL_022f: nop - IL_0230: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0235: ldstr "NA1014" - IL_023a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_023f: ldloc.s 5 - IL_0241: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() - IL_0246: ldarg.0 - IL_0247: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_024c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0251: ldloc.s 7 - IL_0253: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_0258: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_025d: stloc.s 8 - IL_025f: ldloc.s 7 - IL_0261: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_0266: brfalse IL_027a + IL_00ed: nop + IL_00ee: br IL_01f3 - IL_026b: nop - IL_026c: ldloc.s 8 - IL_026e: ldarg.0 - IL_026f: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0274: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0279: throw - IL_027a: nop - IL_027b: ldarg.0 - IL_027c: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0281: ldc.i4 4000 - IL_0286: ldarg.0 - IL_0287: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_028c: callvirt instance string object::ToString() - IL_0291: ldstr " " - IL_0296: ldloc.s 8 - IL_0298: call string string::Concat(string, string, string) - IL_029d: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_02a2: nop - IL_02a3: nop - IL_02a4: nop - IL_02a5: br IL_02eb + IL_00f3: ldarg.0 + IL_00f4: ldarg.1 + IL_00f5: ldstr "FrameworkDirectory" + IL_00fa: ldtoken [mscorlib]System.IO.DirectoryInfo + IL_00ff: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0104: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0109: castclass [mscorlib]System.IO.DirectoryInfo + IL_010e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory + IL_0113: ldarg.0 + IL_0114: ldarg.1 + IL_0115: ldstr "SdkDirectory" + IL_011a: ldtoken [mscorlib]System.IO.DirectoryInfo + IL_011f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0124: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0129: castclass [mscorlib]System.IO.DirectoryInfo + IL_012e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_sdkDirectory + IL_0133: ldarg.0 + IL_0134: ldarg.1 + IL_0135: ldstr "FrameworkAssemblyDirectory" + IL_013a: ldtoken [mscorlib]System.IO.DirectoryInfo + IL_013f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0144: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0149: castclass [mscorlib]System.IO.DirectoryInfo + IL_014e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory + IL_0153: ldarg.0 + IL_0154: ldarg.1 + IL_0155: ldstr "Runtime" + IL_015a: ldtoken NAnt.Core.Configuration.Runtime + IL_015f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0164: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0169: castclass NAnt.Core.Configuration.Runtime + IL_016e: stfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime + IL_0173: ldarg.0 + IL_0174: ldarg.1 + IL_0175: ldstr "Project" + IL_017a: ldtoken NAnt.Core.Project + IL_017f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0184: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_0189: castclass NAnt.Core.Project + IL_018e: stfld class NAnt.Core.Project NAnt.Core.FrameworkInfo::_project + IL_0193: ldarg.0 + IL_0194: ldarg.1 + IL_0195: ldstr "TaskAssemblies" + IL_019a: ldtoken NAnt.Core.Types.FileSet + IL_019f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01a4: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_01a9: castclass NAnt.Core.Types.FileSet + IL_01ae: stfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_01b3: ldarg.0 + IL_01b4: ldarg.1 + IL_01b5: ldstr "ReferenceAssemblies" + IL_01ba: ldtoken class NAnt.Core.Types.FileSet[] + IL_01bf: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01c4: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_01c9: castclass class NAnt.Core.Types.FileSet[] + IL_01ce: stfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies + IL_01d3: ldarg.0 + IL_01d4: ldarg.1 + IL_01d5: ldstr "ToolPaths" + IL_01da: ldtoken string[] + IL_01df: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01e4: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_01e9: castclass string[] + IL_01ee: stfld string[] NAnt.Core.FrameworkInfo::_toolPaths + IL_01f3: ret + } // end of method FrameworkInfo::.ctor - IL_02aa: nop - IL_02ab: ldloc.s 5 - IL_02ad: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_Required() - IL_02b2: brfalse IL_02ea + // method line 1838 + .method private final virtual hidebysig newslot + instance default void System.Runtime.Serialization.ISerializable.GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + { + // Method begins at RVA 0x23d4c + .override Could not decode method override class [mscorlib]System.Runtime.Serialization.ISerializable::GetObjectData due to (null) + // Code size 302 (0x12e) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "Name" + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_000d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0012: ldarg.1 + IL_0013: ldstr "Family" + IL_0018: ldarg.0 + IL_0019: call instance string class NAnt.Core.FrameworkInfo::get_Family() + IL_001e: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0023: ldarg.1 + IL_0024: ldstr "Description" + IL_0029: ldarg.0 + IL_002a: call instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_002f: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0034: ldarg.1 + IL_0035: ldstr "ClrType" + IL_003a: ldarg.0 + IL_003b: call instance valuetype NAnt.Core.ClrType class NAnt.Core.FrameworkInfo::get_ClrType() + IL_0040: box NAnt.Core.ClrType + IL_0045: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_004a: ldarg.1 + IL_004b: ldstr "Version" + IL_0050: ldarg.0 + IL_0051: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() + IL_0056: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_005b: ldarg.1 + IL_005c: ldstr "ClrVersion" + IL_0061: ldarg.0 + IL_0062: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_0067: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_006c: ldarg.1 + IL_006d: ldstr "Status" + IL_0072: ldarg.0 + IL_0073: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0078: box NAnt.Core.FrameworkInfo/InitStatus + IL_007d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0082: ldarg.1 + IL_0083: ldstr "Vendor" + IL_0088: ldarg.0 + IL_0089: call instance valuetype NAnt.Core.VendorType class NAnt.Core.FrameworkInfo::get_Vendor() + IL_008e: box NAnt.Core.VendorType + IL_0093: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0098: ldarg.0 + IL_0099: call instance bool class NAnt.Core.FrameworkInfo::get_IsValid() + IL_009e: brfalse IL_012d - IL_02b7: nop - IL_02b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02bd: ldstr "NA1033" - IL_02c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02c7: ldloc.s 5 - IL_02c9: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() - IL_02ce: ldarg.0 - IL_02cf: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_02d4: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_02d9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_02de: ldarg.0 - IL_02df: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_02e4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_02e9: throw - IL_02ea: nop - IL_02eb: nop - IL_02ec: ldloc.1 - IL_02ed: brfalse IL_0428 + IL_00a3: nop + IL_00a4: ldarg.1 + IL_00a5: ldstr "FrameworkDirectory" + IL_00aa: ldarg.0 + IL_00ab: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_00b0: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_00b5: ldarg.1 + IL_00b6: ldstr "SdkDirectory" + IL_00bb: ldarg.0 + IL_00bc: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_00c1: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_00c6: ldarg.1 + IL_00c7: ldstr "FrameworkAssemblyDirectory" + IL_00cc: ldarg.0 + IL_00cd: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() + IL_00d2: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_00d7: ldarg.1 + IL_00d8: ldstr "Runtime" + IL_00dd: ldarg.0 + IL_00de: call instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_00e3: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_00e8: ldarg.1 + IL_00e9: ldstr "Project" + IL_00ee: ldarg.0 + IL_00ef: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_00f4: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_00f9: ldarg.1 + IL_00fa: ldstr "TaskAssemblies" + IL_00ff: ldarg.0 + IL_0100: call instance class NAnt.Core.Types.FileSet class NAnt.Core.FrameworkInfo::get_TaskAssemblies() + IL_0105: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_010a: ldarg.1 + IL_010b: ldstr "ReferenceAssemblies" + IL_0110: ldarg.0 + IL_0111: call instance class NAnt.Core.Types.FileSet[] class NAnt.Core.FrameworkInfo::get_ReferenceAssemblies() + IL_0116: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_011b: ldarg.1 + IL_011c: ldstr "ToolPaths" + IL_0121: ldarg.0 + IL_0122: call instance string[] class NAnt.Core.FrameworkInfo::get_ToolPaths() + IL_0127: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_012c: nop + IL_012d: ret + } // end of method FrameworkInfo::System.Runtime.Serialization.ISerializable.GetObjectData - IL_02f2: nop - IL_02f3: ldloc.0 - IL_02f4: brtrue IL_02fd + // method line 1839 + .method public hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x23e88 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.FrameworkInfo::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02f9: nop - IL_02fa: ldloc.2 - IL_02fb: stloc.0 - IL_02fc: nop - IL_02fd: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger - IL_0302: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0307: ldstr "String_SettingValue" - IL_030c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0311: ldarg.1 - IL_0312: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0317: ldloc.1 - IL_0318: ldarg.1 - IL_0319: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_031e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0323: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0328: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_032d: ldarg.1 - IL_032e: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_0333: brfalse IL_0427 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfo::get_Name - IL_0338: nop - IL_0339: ldarg.1 - IL_033a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_033f: stloc.s 9 - IL_0341: ldarg.1 - IL_0342: ldtoken NAnt.Core.Attributes.ValidatorAttribute - IL_0347: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_034c: call class [mscorlib]System.Attribute[] class [mscorlib]System.Attribute::GetCustomAttributes(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0351: castclass class NAnt.Core.Attributes.ValidatorAttribute[] - IL_0356: stloc.s 10 - .try { // 1 - IL_0358: nop - IL_0359: nop - IL_035a: ldloc.s 10 - IL_035c: stloc.s 12 - IL_035e: ldc.i4.0 - IL_035f: stloc.s 13 - IL_0361: br IL_03bd + // method line 1840 + .method public hidebysig specialname + instance default string get_Family () cil managed + { + // Method begins at RVA 0x23ea4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.FrameworkInfo::_family + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0366: ldloc.s 12 - IL_0368: ldloc.s 13 - IL_036a: ldelem.ref - IL_036b: castclass NAnt.Core.Attributes.ValidatorAttribute - IL_0370: stloc.s 11 - IL_0372: nop - IL_0373: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger - IL_0378: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_037d: ldstr "String_ValidatingElement" - IL_0382: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0387: ldloc.s 11 - IL_0389: callvirt instance class [mscorlib]System.Type object::GetType() - IL_038e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0393: ldarg.0 - IL_0394: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0399: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_039e: ldloc.0 - IL_039f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_03a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_03a9: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_03ae: ldloc.s 11 - IL_03b0: ldloc.1 - IL_03b1: callvirt instance void class NAnt.Core.Attributes.ValidatorAttribute::Validate(object) - IL_03b6: nop - IL_03b7: ldloc.s 13 - IL_03b9: ldc.i4.1 - IL_03ba: add - IL_03bb: stloc.s 13 - IL_03bd: ldloc.s 13 - IL_03bf: ldloc.s 12 - IL_03c1: ldlen - IL_03c2: conv.i4 - IL_03c3: blt IL_0366 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfo::get_Family - IL_03c8: nop - IL_03c9: leave IL_0405 + // method line 1841 + .method public hidebysig specialname + instance default string get_Description () cil managed + { + // Method begins at RVA 0x23ec0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.FrameworkInfo::_description + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 1 - catch class NAnt.Core.ValidationException { // 1 - IL_03ce: stloc.s 14 - IL_03d0: nop - IL_03d1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03d6: ldstr "NA1022" - IL_03db: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03e0: ldloc.1 - IL_03e1: ldloc.0 - IL_03e2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_03e7: ldarg.0 - IL_03e8: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_03ed: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_03f2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_03f7: ldarg.0 - IL_03f8: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_03fd: ldloc.s 14 - IL_03ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0404: throw - } // end handler 1 - IL_0405: ldarg.0 - IL_0406: ldloc.s 9 - IL_0408: call instance class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter class NAnt.Core.Element/AttributeConfigurator::CreateAttributeSetter(class [mscorlib]System.Type) - IL_040d: stloc.s 15 - IL_040f: ldloc.s 15 - IL_0411: ldloc.0 - IL_0412: ldarg.0 - IL_0413: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0418: ldarg.1 - IL_0419: ldloc.1 - IL_041a: callvirt instance void class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter::Set(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Reflection.PropertyInfo, string) - IL_041f: ldc.i4.1 - IL_0420: stloc.s 6 - IL_0422: br IL_0437 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfo::get_Description - IL_0427: nop - IL_0428: ldloc.s 5 - IL_042a: ldnull - IL_042b: ceq - IL_042d: ldc.i4.0 - IL_042e: ceq - IL_0430: stloc.s 6 - IL_0432: br IL_0437 + // method line 1842 + .method assembly hidebysig specialname + instance default valuetype NAnt.Core.VendorType get_Vendor () cil managed + { + // Method begins at RVA 0x23edc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.VendorType V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::_vendor + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0437: ldloc.s 6 - IL_0439: ret - } // end of method AttributeConfigurator::InitializeAttribute + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfo::get_Vendor - // method line 1817 - .method family virtual hidebysig newslot - instance default bool InitializeBuildElementCollection (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + // method line 1843 + .method public hidebysig specialname + instance default class [mscorlib]System.Version get_Version () cil managed { - // Method begins at RVA 0x398c - // Code size 2340 (0x924) - .maxstack 8 + // Method begins at RVA 0x23ef8 + // Code size 94 (0x5e) + .maxstack 2 .locals init ( - class NAnt.Core.Attributes.BuildElementArrayAttribute V_0, - class NAnt.Core.Attributes.BuildElementCollectionAttribute V_1, - bool V_2, - class [mscorlib]System.Type V_3, - class [mscorlib]System.Reflection.MethodInfo V_4, - class [mscorlib]System.Reflection.MethodInfo[] V_5, - int32 V_6, - class [mscorlib]System.Reflection.ParameterInfo V_7, - class [System.Xml]System.Xml.XmlNodeList V_8, - class [mscorlib]System.ObsoleteAttribute V_9, - string V_10, - string V_11, - class [mscorlib]System.ObsoleteAttribute V_12, - string V_13, - class [mscorlib]System.Array V_14, - int32 V_15, - class [System.Xml]System.Xml.XmlNode V_16, - class [mscorlib]System.Collections.IEnumerator V_17, - class NAnt.Core.Element V_18, - class NAnt.Core.Configuration.ConditionalElement V_19, - class [mscorlib]System.IDisposable V_20, - class [mscorlib]System.Array V_21, - class [mscorlib]System.Reflection.TargetInvocationException V_22, - class [mscorlib]System.Reflection.MethodInfo V_23, - class [mscorlib]System.Reflection.MethodInfo[] V_24, - class [mscorlib]System.Reflection.MethodInfo V_25, - class [mscorlib]System.Reflection.MethodInfo[] V_26, - int32 V_27, - class [mscorlib]System.Reflection.ParameterInfo V_28, - object V_29, - object V_30, - int32 V_31, - object V_32) + string V_0, + class [mscorlib]System.Version V_1) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldarg.1 - IL_0006: ldtoken NAnt.Core.Attributes.BuildElementArrayAttribute - IL_000b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0010: ldc.i4.0 - IL_0011: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0016: castclass NAnt.Core.Attributes.BuildElementArrayAttribute - IL_001b: stloc.0 - IL_001c: ldarg.1 - IL_001d: ldtoken NAnt.Core.Attributes.BuildElementCollectionAttribute - IL_0022: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0027: ldc.i4.0 - IL_0028: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_002d: castclass NAnt.Core.Attributes.BuildElementCollectionAttribute - IL_0032: stloc.1 - IL_0033: ldloc.0 - IL_0034: brtrue IL_0047 - - IL_0039: ldloc.1 - IL_003a: brtrue IL_0047 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version + IL_0007: ldnull + IL_0008: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_000d: brfalse IL_0050 - IL_003f: nop - IL_0040: ldc.i4.0 - IL_0041: stloc.2 - IL_0042: br IL_0922 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0019: brtrue IL_002a - IL_0047: ldarg.1 - IL_0048: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_004d: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_0052: brtrue IL_009e + IL_001e: nop + IL_001f: ldstr "The current framework is not valid." + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0030: ldstr "version" + IL_0035: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_003a: stloc.0 + IL_003b: ldloc.0 + IL_003c: brfalse IL_004f - IL_0057: ldtoken [mscorlib]System.Collections.ICollection - IL_005c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0061: ldarg.1 - IL_0062: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0067: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_006c: brtrue IL_009e + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: ldloc.0 + IL_0044: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0049: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version + IL_004e: nop + IL_004f: nop + IL_0050: ldarg.0 + IL_0051: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version + IL_0056: stloc.1 + IL_0057: br IL_005c - IL_0071: nop - IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0077: ldstr "NA1031" - IL_007c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0081: ldloc.0 - IL_0082: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0087: ldarg.0 - IL_0088: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_008d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0092: ldarg.0 - IL_0093: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0098: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_009d: throw - IL_009e: ldnull - IL_009f: stloc.3 - IL_00a0: ldloc.0 - IL_00a1: brfalse IL_00b4 + IL_005c: ldloc.1 + IL_005d: ret + } // end of method FrameworkInfo::get_Version - IL_00a6: nop - IL_00a7: ldloc.0 - IL_00a8: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() - IL_00ad: stloc.3 - IL_00ae: nop - IL_00af: br IL_00bd + // method line 1844 + .method public hidebysig specialname + instance default class [mscorlib]System.Version get_ClrVersion () cil managed + { + // Method begins at RVA 0x23f64 + // Code size 94 (0x5e) + .maxstack 2 + .locals init ( + string V_0, + class [mscorlib]System.Version V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion + IL_0007: ldnull + IL_0008: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_000d: brfalse IL_0050 - IL_00b4: nop - IL_00b5: ldloc.1 - IL_00b6: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() - IL_00bb: stloc.3 - IL_00bc: nop - IL_00bd: ldarg.1 - IL_00be: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_00c3: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_00c8: brfalse IL_0126 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0019: brtrue IL_002a - IL_00cd: nop - IL_00ce: ldarg.1 - IL_00cf: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_00d4: brtrue IL_0106 + IL_001e: nop + IL_001f: ldstr "The current framework is not valid." + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0030: ldstr "clrversion" + IL_0035: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_003a: stloc.0 + IL_003b: ldloc.0 + IL_003c: brfalse IL_004f - IL_00d9: nop - IL_00da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00df: ldstr "NA1016" - IL_00e4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00e9: ldloc.0 - IL_00ea: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_00ef: ldarg.0 - IL_00f0: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_00f5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00fa: ldarg.0 - IL_00fb: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0100: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0105: throw - IL_0106: ldloc.3 - IL_0107: ldnull - IL_0108: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_010d: brfalse IL_0120 + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: ldloc.0 + IL_0044: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0049: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion + IL_004e: nop + IL_004f: nop + IL_0050: ldarg.0 + IL_0051: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion + IL_0056: stloc.1 + IL_0057: br IL_005c - IL_0112: nop - IL_0113: ldarg.1 - IL_0114: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0119: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() - IL_011e: stloc.3 - IL_011f: nop - IL_0120: nop - IL_0121: br IL_01de + IL_005c: ldloc.1 + IL_005d: ret + } // end of method FrameworkInfo::get_ClrVersion - IL_0126: nop - IL_0127: ldarg.1 - IL_0128: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanRead() - IL_012d: brtrue IL_015f + // method line 1845 + .method public hidebysig specialname + instance default valuetype NAnt.Core.ClrType get_ClrType () cil managed + { + // Method begins at RVA 0x23fd0 + // Code size 125 (0x7d) + .maxstack 4 + .locals init ( + string V_0, + class [mscorlib]System.Exception V_1, + valuetype NAnt.Core.ClrType V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType + IL_0007: brtrue IL_006f - IL_0132: nop - IL_0133: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0138: ldstr "NA1019" - IL_013d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0142: ldloc.0 - IL_0143: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0148: ldarg.0 - IL_0149: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_014e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0153: ldarg.0 - IL_0154: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0159: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_015e: throw - IL_015f: ldloc.3 - IL_0160: ldnull - IL_0161: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0166: brfalse IL_01dd + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0013: brtrue IL_0024 - IL_016b: nop - IL_016c: nop - IL_016d: ldarg.1 - IL_016e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0173: ldc.i4.s 0x14 - IL_0175: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_017a: stloc.s 5 - IL_017c: ldc.i4.0 - IL_017d: stloc.s 6 - IL_017f: br IL_01d1 + IL_0018: nop + IL_0019: ldstr "The current framework is not valid." + IL_001e: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0023: throw + IL_0024: ldarg.0 + IL_0025: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_002a: ldstr "clrtype" + IL_002f: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_0034: stloc.0 + IL_0035: ldloc.0 + IL_0036: brfalse IL_006e - IL_0184: ldloc.s 5 - IL_0186: ldloc.s 6 - IL_0188: ldelem.ref - IL_0189: stloc.s 4 - IL_018b: nop - IL_018c: ldloc.s 4 - IL_018e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0193: ldstr "Add" - IL_0198: call bool string::op_Equality(string, string) - IL_019d: brfalse IL_01ca + IL_003b: nop + .try { // 0 + IL_003c: nop + IL_003d: ldarg.0 + IL_003e: ldtoken NAnt.Core.ClrType + IL_0043: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0048: ldloc.0 + IL_0049: ldc.i4.1 + IL_004a: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_004f: unbox.any NAnt.Core.ClrType + IL_0054: stfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType + IL_0059: nop + IL_005a: leave IL_006d - IL_01a2: ldloc.s 4 - IL_01a4: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_01a9: ldlen - IL_01aa: conv.i4 - IL_01ab: ldc.i4.1 - IL_01ac: bne.un IL_01ca + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_005f: stloc.1 + IL_0060: nop + IL_0061: ldstr "The value of the \"clrtype\" attribute is not valid." + IL_0066: ldloc.1 + IL_0067: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_006c: throw + } // end handler 0 + IL_006d: nop + IL_006e: nop + IL_006f: ldarg.0 + IL_0070: ldfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType + IL_0075: stloc.2 + IL_0076: br IL_007b - IL_01b1: nop - IL_01b2: ldloc.s 4 - IL_01b4: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_01b9: ldc.i4.0 - IL_01ba: ldelem.ref - IL_01bb: stloc.s 7 - IL_01bd: ldloc.s 7 - IL_01bf: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_01c4: stloc.3 - IL_01c5: br IL_01dc + IL_007b: ldloc.2 + IL_007c: ret + } // end of method FrameworkInfo::get_ClrType - IL_01ca: nop - IL_01cb: ldloc.s 6 - IL_01cd: ldc.i4.1 - IL_01ce: add - IL_01cf: stloc.s 6 - IL_01d1: ldloc.s 6 - IL_01d3: ldloc.s 5 - IL_01d5: ldlen - IL_01d6: conv.i4 - IL_01d7: blt IL_0184 + // method line 1846 + .method public hidebysig specialname + instance default class [mscorlib]System.Version get_VisualStudioVersion () cil managed + { + // Method begins at RVA 0x2406c + // Code size 210 (0xd2) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.Version V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_0007: ldnull + IL_0008: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_000d: brfalse IL_001e - IL_01dc: nop - IL_01dd: nop - IL_01de: ldloc.3 - IL_01df: ldnull - IL_01e0: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_01e5: brtrue IL_01ff + IL_0012: nop + IL_0013: ldstr "The current framework is not valid." + IL_0018: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_001d: throw + IL_001e: ldarg.0 + IL_001f: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_0024: ldc.i4.2 + IL_0025: callvirt instance string class [mscorlib]System.Version::ToString(int32) + IL_002a: stloc.0 + IL_002b: ldloc.0 + IL_002c: brfalse IL_00ab - IL_01ea: ldtoken NAnt.Core.Element - IL_01ef: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01f4: ldloc.3 - IL_01f5: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_01fa: brtrue IL_0231 + IL_0031: ldloc.0 + IL_0032: ldstr "1.0" + IL_0037: call bool string::op_Equality(string, string) + IL_003c: brtrue IL_0076 - IL_01ff: nop - IL_0200: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0205: ldstr "NA1140" - IL_020a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_020f: ldarg.1 - IL_0210: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0215: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_021a: ldarg.1 - IL_021b: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0220: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0225: ldarg.0 - IL_0226: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_022b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0230: throw - IL_0231: ldnull - IL_0232: stloc.s 8 - IL_0234: ldloc.1 - IL_0235: brfalse IL_0448 + IL_0041: ldloc.0 + IL_0042: ldstr "1.1" + IL_0047: call bool string::op_Equality(string, string) + IL_004c: brtrue IL_0083 - IL_023a: nop - IL_023b: ldarg.0 - IL_023c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0241: ldstr "nant:" - IL_0246: ldloc.1 - IL_0247: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_024c: call string string::Concat(string, string) - IL_0251: ldarg.0 - IL_0252: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_0257: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_025c: stloc.s 8 - IL_025e: ldloc.s 8 - IL_0260: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0265: brtrue IL_02a7 + IL_0051: ldloc.0 + IL_0052: ldstr "2.0" + IL_0057: call bool string::op_Equality(string, string) + IL_005c: brtrue IL_0090 - IL_026a: ldloc.1 - IL_026b: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() - IL_0270: brfalse IL_02a7 + IL_0061: ldloc.0 + IL_0062: ldstr "4.0" + IL_0067: call bool string::op_Equality(string, string) + IL_006c: brtrue IL_009d - IL_0275: nop - IL_0276: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_027b: ldstr "NA1021" - IL_0280: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0285: ldloc.1 - IL_0286: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_028b: ldarg.0 - IL_028c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0291: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0296: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_029b: ldarg.0 - IL_029c: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_02a1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_02a6: throw - IL_02a7: ldloc.s 8 - IL_02a9: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_02ae: ldc.i4.1 - IL_02af: bne.un IL_0408 + IL_0071: br IL_00ab - IL_02b4: nop - IL_02b5: ldarg.1 - IL_02b6: ldtoken [mscorlib]System.ObsoleteAttribute - IL_02bb: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_02c0: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_02c5: castclass [mscorlib]System.ObsoleteAttribute - IL_02ca: stloc.s 9 - IL_02cc: ldloc.s 9 - IL_02ce: brfalse IL_0347 + IL_0076: ldc.i4.7 + IL_0077: ldc.i4.0 + IL_0078: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) + IL_007d: stloc.1 + IL_007e: br IL_00d0 - IL_02d3: nop - IL_02d4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02d9: ldstr "NA1034" - IL_02de: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02e3: ldloc.1 - IL_02e4: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_02e9: ldarg.0 - IL_02ea: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_02ef: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_02f4: ldloc.s 9 - IL_02f6: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_02fb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0300: stloc.s 10 - IL_0302: ldloc.s 9 - IL_0304: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_0309: brfalse IL_031d + IL_0083: ldc.i4.7 + IL_0084: ldc.i4.1 + IL_0085: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) + IL_008a: stloc.1 + IL_008b: br IL_00d0 - IL_030e: nop - IL_030f: ldloc.s 10 - IL_0311: ldarg.0 - IL_0312: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0317: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_031c: throw - IL_031d: nop - IL_031e: ldarg.0 - IL_031f: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0324: ldc.i4 4000 - IL_0329: ldarg.0 - IL_032a: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_032f: callvirt instance string object::ToString() - IL_0334: ldstr " " - IL_0339: ldloc.s 10 - IL_033b: call string string::Concat(string, string, string) - IL_0340: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0345: nop - IL_0346: nop - IL_0347: ldarg.0 - IL_0348: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_034d: ldloc.s 8 - IL_034f: ldc.i4.0 - IL_0350: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) - IL_0355: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_035a: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) - IL_035f: ldloc.1 - IL_0360: callvirt instance string class NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName() - IL_0365: stloc.s 11 - IL_0367: ldloc.s 11 - IL_0369: brtrue IL_03a1 + IL_0090: ldc.i4.8 + IL_0091: ldc.i4.0 + IL_0092: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) + IL_0097: stloc.1 + IL_0098: br IL_00d0 - IL_036e: nop - IL_036f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0374: ldstr "NA1026" - IL_0379: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_037e: ldloc.3 - IL_037f: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0384: ldloc.1 - IL_0385: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_038a: ldarg.0 - IL_038b: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_0390: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0395: ldarg.0 - IL_0396: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_039b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_03a0: throw - IL_03a1: ldloc.s 8 - IL_03a3: ldc.i4.0 - IL_03a4: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) - IL_03a9: ldstr "nant:" - IL_03ae: ldloc.s 11 - IL_03b0: call string string::Concat(string, string) - IL_03b5: ldarg.0 - IL_03b6: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_03bb: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_03c0: stloc.s 8 - IL_03c2: ldloc.s 8 - IL_03c4: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_03c9: brtrue IL_0402 + IL_009d: ldc.i4.s 0x0a + IL_009f: ldc.i4.0 + IL_00a0: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) + IL_00a5: stloc.1 + IL_00a6: br IL_00d0 - IL_03ce: ldloc.1 - IL_03cf: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() - IL_03d4: brfalse IL_0402 + IL_00ab: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00b0: ldstr "NA1055" + IL_00b5: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00ba: ldarg.0 + IL_00bb: call instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_00c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00c5: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_00ca: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00cf: throw + IL_00d0: ldloc.1 + IL_00d1: ret + } // end of method FrameworkInfo::get_VisualStudioVersion - IL_03d9: nop - IL_03da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03df: ldstr "NA1021" - IL_03e4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03e9: ldloc.s 11 - IL_03eb: ldloc.1 - IL_03ec: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_03f1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_03f6: ldarg.0 - IL_03f7: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_03fc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0401: throw - IL_0402: nop - IL_0403: br IL_0442 + // method line 1847 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_FrameworkDirectory () cil managed + { + // Method begins at RVA 0x2414c + // Code size 128 (0x80) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.IO.DirectoryInfo V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_0007: ldarg.0 + IL_0008: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory + IL_000d: brtrue IL_0072 - IL_0408: ldloc.s 8 - IL_040a: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_040f: ldc.i4.1 - IL_0410: ble IL_0442 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_0019: ldarg.0 + IL_001a: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_001f: ldstr "frameworkdirectory" + IL_0024: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_0029: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_002e: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) + IL_0033: stloc.0 + IL_0034: ldloc.0 + IL_0035: brfalse IL_0071 - IL_0415: nop - IL_0416: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_041b: ldstr "NA1030" - IL_0420: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0425: ldloc.1 - IL_0426: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_042b: ldarg.0 - IL_042c: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_0431: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0436: ldarg.0 - IL_0437: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_043c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0441: throw - IL_0442: nop - IL_0443: br IL_0568 + IL_003a: nop + IL_003b: ldloc.0 + IL_003c: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0041: brfalse IL_0059 - IL_0448: nop - IL_0449: ldarg.0 - IL_044a: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_044f: ldstr "nant:" - IL_0454: ldloc.0 - IL_0455: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_045a: call string string::Concat(string, string) - IL_045f: ldarg.0 - IL_0460: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_0465: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_046a: stloc.s 8 - IL_046c: ldloc.s 8 - IL_046e: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0473: ldc.i4.0 - IL_0474: ble IL_052a + IL_0046: nop + IL_0047: ldarg.0 + IL_0048: ldloc.0 + IL_0049: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_004e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory + IL_0053: nop + IL_0054: br IL_0070 - IL_0479: nop - IL_047a: ldarg.1 - IL_047b: ldtoken [mscorlib]System.ObsoleteAttribute - IL_0480: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0485: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_048a: castclass [mscorlib]System.ObsoleteAttribute - IL_048f: stloc.s 12 - IL_0491: ldloc.s 12 - IL_0493: brfalse IL_050c + IL_0059: nop + IL_005a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005f: ldstr "Framework directory '{0}' does not exist." + IL_0064: ldloc.0 + IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_006a: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_006f: throw + IL_0070: nop + IL_0071: nop + IL_0072: ldarg.0 + IL_0073: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory + IL_0078: stloc.1 + IL_0079: br IL_007e - IL_0498: nop - IL_0499: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_049e: ldstr "NA1034" - IL_04a3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_04a8: ldloc.0 - IL_04a9: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_04ae: ldarg.0 - IL_04af: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_04b4: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_04b9: ldloc.s 12 - IL_04bb: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_04c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_04c5: stloc.s 13 - IL_04c7: ldloc.s 12 - IL_04c9: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_04ce: brfalse IL_04e2 + IL_007e: ldloc.1 + IL_007f: ret + } // end of method FrameworkInfo::get_FrameworkDirectory - IL_04d3: nop - IL_04d4: ldloc.s 13 - IL_04d6: ldarg.0 - IL_04d7: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_04dc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_04e1: throw - IL_04e2: nop - IL_04e3: ldarg.0 - IL_04e4: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_04e9: ldc.i4 4000 - IL_04ee: ldarg.0 - IL_04ef: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_04f4: callvirt instance string object::ToString() - IL_04f9: ldstr " " - IL_04fe: ldloc.s 13 - IL_0500: call string string::Concat(string, string, string) - IL_0505: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_050a: nop - IL_050b: nop - IL_050c: ldarg.0 - IL_050d: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_0512: ldloc.s 8 - IL_0514: ldc.i4.0 - IL_0515: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) - IL_051a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_051f: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) - IL_0524: nop - IL_0525: br IL_0567 + // method line 1848 + .method assembly hidebysig specialname + instance default class NAnt.Core.Configuration.Runtime get_Runtime () cil managed + { + // Method begins at RVA 0x241d8 + // Code size 21 (0x15) + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.Runtime V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::Init() + IL_0007: ldarg.0 + IL_0008: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_052a: ldloc.0 - IL_052b: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() - IL_0530: brfalse IL_0567 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfo::get_Runtime - IL_0535: nop - IL_0536: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_053b: ldstr "NA1035" - IL_0540: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0545: ldloc.0 - IL_0546: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_054b: ldarg.0 - IL_054c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0551: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0556: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_055b: ldarg.0 - IL_055c: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0561: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0566: throw - IL_0567: nop - IL_0568: ldloc.0 - IL_0569: brfalse IL_0588 + // method line 1849 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_FrameworkAssemblyDirectory () cil managed + { + // Method begins at RVA 0x241fc + // Code size 177 (0xb1) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.IO.DirectoryInfo V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_0007: ldarg.0 + IL_0008: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory + IL_000d: brtrue IL_00a3 - IL_056e: nop - IL_056f: ldloc.0 - IL_0570: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() - IL_0575: brtrue IL_0582 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_0019: ldarg.0 + IL_001a: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_001f: ldstr "frameworkassemblydirectory" + IL_0024: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_0029: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_002e: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) + IL_0033: stloc.0 + IL_0034: ldloc.0 + IL_0035: brfalse IL_00a2 - IL_057a: nop - IL_057b: ldc.i4.1 - IL_057c: stloc.2 - IL_057d: br IL_0922 + IL_003a: nop + IL_003b: ldloc.0 + IL_003c: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0041: brfalse IL_008a - IL_0582: nop - IL_0583: br IL_059b + IL_0046: nop + IL_0047: ldloc.0 + IL_0048: ldstr "System.dll" + IL_004d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0052: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0057: brtrue IL_0078 - IL_0588: ldloc.1 - IL_0589: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() - IL_058e: brtrue IL_059b + IL_005c: nop + IL_005d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0062: ldstr "NA1054" + IL_0067: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_006c: ldloc.0 + IL_006d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0072: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0077: throw + IL_0078: ldarg.0 + IL_0079: ldloc.0 + IL_007a: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_007f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory + IL_0084: nop + IL_0085: br IL_00a1 - IL_0593: nop - IL_0594: ldc.i4.1 - IL_0595: stloc.2 - IL_0596: br IL_0922 + IL_008a: nop + IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0090: ldstr "Framework assembly directory '{0}' does not exist." + IL_0095: ldloc.0 + IL_0096: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_009b: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_00a0: throw + IL_00a1: nop + IL_00a2: nop + IL_00a3: ldarg.0 + IL_00a4: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory + IL_00a9: stloc.1 + IL_00aa: br IL_00af - IL_059b: ldloc.3 - IL_059c: ldloc.s 8 - IL_059e: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_05a3: call class [mscorlib]System.Array class [mscorlib]System.Array::CreateInstance(class [mscorlib]System.Type, int32) - IL_05a8: stloc.s 14 - IL_05aa: ldc.i4.0 - IL_05ab: stloc.s 15 - IL_05ad: nop - IL_05ae: ldloc.s 8 - IL_05b0: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_05b5: stloc.s 17 - .try { // 0 - IL_05b7: br IL_063e + IL_00af: ldloc.1 + IL_00b0: ret + } // end of method FrameworkInfo::get_FrameworkAssemblyDirectory - IL_05bc: ldloc.s 17 - IL_05be: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_05c3: castclass [System.Xml]System.Xml.XmlNode - IL_05c8: stloc.s 16 - IL_05ca: nop - IL_05cb: ldloc.s 16 - IL_05cd: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_05d2: ldc.i4.1 - IL_05d3: bne.un IL_05f9 + // method line 1850 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_SdkDirectory () cil managed + { + // Method begins at RVA 0x242bc + // Code size 27 (0x1b) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::Init() + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_000d: ldarg.0 + IL_000e: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_sdkDirectory + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_05d8: ldloc.s 16 - IL_05da: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_05df: ldarg.0 - IL_05e0: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_05e5: ldstr "nant" - IL_05ea: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_05ef: callvirt instance bool string::Equals(string) - IL_05f4: brtrue IL_05ff + IL_0019: ldloc.0 + IL_001a: ret + } // end of method FrameworkInfo::get_SdkDirectory - IL_05f9: nop - IL_05fa: leave IL_063e + // method line 1851 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed + { + // Method begins at RVA 0x242e4 + // Code size 27 (0x1b) + .maxstack 1 + .locals init ( + class NAnt.Core.Project V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::Init() + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.Project NAnt.Core.FrameworkInfo::_project + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_05ff: ldarg.0 - IL_0600: ldloc.s 16 - IL_0602: ldloc.3 - IL_0603: callvirt instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElement(class [System.Xml]System.Xml.XmlNode, class [mscorlib]System.Type) - IL_0608: stloc.s 18 - IL_060a: ldloc.s 18 - IL_060c: isinst NAnt.Core.Configuration.ConditionalElement - IL_0611: stloc.s 19 - IL_0613: ldloc.s 19 - IL_0615: brfalse IL_062c + IL_0019: ldloc.0 + IL_001a: ret + } // end of method FrameworkInfo::get_Project - IL_061a: ldloc.s 19 - IL_061c: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_Enabled() - IL_0621: brtrue IL_062c + // method line 1852 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_TaskAssemblies () cil managed + { + // Method begins at RVA 0x2430c + // Code size 167 (0xa7) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + class NAnt.Core.Types.FileSet V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_0007: ldarg.0 + IL_0008: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_000d: brtrue IL_0099 - IL_0626: nop - IL_0627: leave IL_063e + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0019: stfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_001e: ldarg.0 + IL_001f: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_0024: ldarg.0 + IL_0025: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_002a: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_002f: ldarg.0 + IL_0030: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_0035: ldarg.0 + IL_0036: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_003b: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0040: ldarg.0 + IL_0041: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_0046: ldarg.0 + IL_0047: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_004c: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0051: ldarg.0 + IL_0052: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_0057: ldstr "internal-task-assemblies" + IL_005c: callvirt instance void class NAnt.Core.DataTypeBase::set_ID(string) + IL_0061: ldarg.0 + IL_0062: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0067: ldstr "nant:task-assemblies" + IL_006c: ldarg.0 + IL_006d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_0072: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0077: stloc.0 + IL_0078: ldloc.0 + IL_0079: brfalse IL_0098 - IL_062c: ldloc.s 14 - IL_062e: ldloc.s 18 - IL_0630: ldloc.s 15 - IL_0632: callvirt instance void class [mscorlib]System.Array::SetValue(object, int32) - IL_0637: ldloc.s 15 - IL_0639: ldc.i4.1 - IL_063a: add - IL_063b: stloc.s 15 - IL_063d: nop - IL_063e: ldloc.s 17 - IL_0640: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0645: brtrue IL_05bc + IL_007e: nop + IL_007f: ldarg.0 + IL_0080: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_0085: ldloc.0 + IL_0086: ldarg.0 + IL_0087: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_008c: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0091: ldarg.0 + IL_0092: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0097: nop + IL_0098: nop + IL_0099: ldarg.0 + IL_009a: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies + IL_009f: stloc.1 + IL_00a0: br IL_00a5 - IL_064a: leave IL_0666 + IL_00a5: ldloc.1 + IL_00a6: ret + } // end of method FrameworkInfo::get_TaskAssemblies + + // method line 1853 + .method public hidebysig specialname + instance default bool get_IsValid () cil managed + { + // Method begins at RVA 0x243c0 + // Code size 26 (0x1a) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance void class NAnt.Core.FrameworkInfo::Validate() + IL_0008: ldc.i4.1 + IL_0009: stloc.0 + IL_000a: leave IL_0018 } // end .try 0 - finally { // 0 - IL_064f: ldloc.s 17 - IL_0651: isinst [mscorlib]System.IDisposable - IL_0656: dup - IL_0657: stloc.s 20 - IL_0659: brfalse IL_0665 + catch class [mscorlib]System.Object { // 0 + IL_000f: pop + IL_0010: nop + IL_0011: ldc.i4.0 + IL_0012: stloc.0 + IL_0013: leave IL_0018 - IL_065e: ldloc.s 20 - IL_0660: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0665: endfinally } // end handler 0 - IL_0666: ldarg.1 - IL_0667: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_066c: callvirt instance bool class [mscorlib]System.Type::get_IsArray() - IL_0671: brfalse IL_073e - - IL_0676: nop - .try { // 1 - IL_0677: nop - IL_0678: ldloc.s 15 - IL_067a: ldloc.s 14 - IL_067c: callvirt instance int32 class [mscorlib]System.Array::get_Length() - IL_0681: beq IL_06b3 - - IL_0686: nop - IL_0687: ldloc.3 - IL_0688: ldloc.s 15 - IL_068a: call class [mscorlib]System.Array class [mscorlib]System.Array::CreateInstance(class [mscorlib]System.Type, int32) - IL_068f: stloc.s 21 - IL_0691: ldloc.s 14 - IL_0693: ldc.i4.0 - IL_0694: ldloc.s 21 - IL_0696: ldc.i4.0 - IL_0697: ldloc.s 15 - IL_0699: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) - IL_069e: ldarg.1 - IL_069f: ldarg.0 - IL_06a0: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_06a5: ldloc.s 21 - IL_06a7: ldnull - IL_06a8: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, object[]) - IL_06ad: nop - IL_06ae: br IL_06c4 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FrameworkInfo::get_IsValid - IL_06b3: nop - IL_06b4: ldarg.1 - IL_06b5: ldarg.0 - IL_06b6: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_06bb: ldloc.s 14 - IL_06bd: ldnull - IL_06be: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, object[]) - IL_06c3: nop - IL_06c4: nop - IL_06c5: leave IL_0738 + // method line 1854 + .method assembly hidebysig specialname + instance default class NAnt.Core.Types.FileSet[] get_ReferenceAssemblies () cil managed + { + // Method begins at RVA 0x243f8 + // Code size 207 (0xcf) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlNodeList V_0, + int32 V_1, + class [System.Xml]System.Xml.XmlNode V_2, + class NAnt.Core.Types.FileSet V_3, + class NAnt.Core.Types.FileSet[] V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_0007: ldarg.0 + IL_0008: ldfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies + IL_000d: brtrue IL_00bf - } // end .try 1 - catch class [mscorlib]System.Reflection.TargetInvocationException { // 1 - IL_06ca: stloc.s 22 - IL_06cc: nop - IL_06cd: ldloc.s 22 - IL_06cf: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_06d4: isinst NAnt.Core.BuildException - IL_06d9: brfalse IL_06e7 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0019: ldstr "nant:reference-assemblies" + IL_001e: ldarg.0 + IL_001f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_0024: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0029: stloc.0 + IL_002a: ldarg.0 + IL_002b: ldloc.0 + IL_002c: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0031: newarr NAnt.Core.Types.FileSet + IL_0036: stfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies + IL_003b: ldc.i4.0 + IL_003c: stloc.1 + IL_003d: br IL_00b2 - IL_06de: nop - IL_06df: ldloc.s 22 - IL_06e1: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_06e6: throw - IL_06e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_06ec: ldstr "NA1012" - IL_06f1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_06f6: ldc.i4.4 - IL_06f7: newarr [mscorlib]System.Object - IL_06fc: dup - IL_06fd: ldc.i4.0 - IL_06fe: ldloc.3 - IL_06ff: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0704: stelem.ref - IL_0705: dup - IL_0706: ldc.i4.1 - IL_0707: ldarg.1 - IL_0708: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_070d: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0712: stelem.ref - IL_0713: dup - IL_0714: ldc.i4.2 - IL_0715: ldarg.1 - IL_0716: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_071b: stelem.ref - IL_071c: dup - IL_071d: ldc.i4.3 - IL_071e: ldarg.0 - IL_071f: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_0724: stelem.ref - IL_0725: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_072a: ldarg.0 - IL_072b: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_0730: ldloc.s 22 - IL_0732: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0737: throw - } // end handler 1 - IL_0738: nop - IL_0739: br IL_091b + IL_0042: nop + IL_0043: ldloc.0 + IL_0044: ldloc.1 + IL_0045: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) + IL_004a: stloc.2 + IL_004b: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0050: stloc.3 + IL_0051: ldloc.3 + IL_0052: ldarg.0 + IL_0053: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_0058: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_005d: ldloc.3 + IL_005e: ldarg.0 + IL_005f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_0064: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0069: ldloc.3 + IL_006a: ldarg.0 + IL_006b: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_0070: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0075: ldloc.3 + IL_0076: ldstr "reference-assemblies-" + IL_007b: ldloca.s 1 + IL_007d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0082: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_0087: call string string::Concat(string, string) + IL_008c: callvirt instance void class NAnt.Core.DataTypeBase::set_ID(string) + IL_0091: ldloc.3 + IL_0092: ldloc.2 + IL_0093: ldarg.0 + IL_0094: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_0099: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_009e: ldarg.0 + IL_009f: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_00a4: ldarg.0 + IL_00a5: ldfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies + IL_00aa: ldloc.1 + IL_00ab: ldloc.3 + IL_00ac: stelem.ref + IL_00ad: nop + IL_00ae: ldloc.1 + IL_00af: ldc.i4.1 + IL_00b0: add + IL_00b1: stloc.1 + IL_00b2: ldloc.1 + IL_00b3: ldloc.0 + IL_00b4: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_00b9: blt IL_0042 - IL_073e: nop - IL_073f: ldnull - IL_0740: stloc.s 23 - IL_0742: ldarg.1 - IL_0743: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0748: ldc.i4.s 0x14 - IL_074a: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_074f: stloc.s 24 - IL_0751: nop - IL_0752: ldloc.s 24 - IL_0754: stloc.s 26 - IL_0756: ldc.i4.0 - IL_0757: stloc.s 27 - IL_0759: br IL_07bb + IL_00be: nop + IL_00bf: ldarg.0 + IL_00c0: ldfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies + IL_00c5: stloc.s 4 + IL_00c7: br IL_00cc - IL_075e: ldloc.s 26 - IL_0760: ldloc.s 27 - IL_0762: ldelem.ref - IL_0763: stloc.s 25 - IL_0765: nop - IL_0766: ldloc.s 25 - IL_0768: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_076d: ldstr "Add" - IL_0772: call bool string::op_Equality(string, string) - IL_0777: brfalse IL_07b4 + IL_00cc: ldloc.s 4 + IL_00ce: ret + } // end of method FrameworkInfo::get_ReferenceAssemblies - IL_077c: ldloc.s 25 - IL_077e: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0783: ldlen - IL_0784: conv.i4 - IL_0785: ldc.i4.1 - IL_0786: bne.un IL_07b4 + // method line 1855 + .method assembly hidebysig specialname + instance default string[] get_ToolPaths () cil managed + { + // Method begins at RVA 0x244d4 + // Code size 157 (0x9d) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + class NAnt.Core.Configuration.DirList V_1, + string[] V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_0007: ldarg.0 + IL_0008: ldfld string[] NAnt.Core.FrameworkInfo::_toolPaths + IL_000d: brtrue IL_008f - IL_078b: nop - IL_078c: ldloc.s 25 - IL_078e: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0793: ldc.i4.0 - IL_0794: ldelem.ref - IL_0795: stloc.s 28 - IL_0797: ldloc.s 28 - IL_0799: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_079e: ldloc.3 - IL_079f: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_07a4: brfalse IL_07b3 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0019: ldstr "nant:tool-paths" + IL_001e: ldarg.0 + IL_001f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_0024: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0029: stloc.0 + IL_002a: ldloc.0 + IL_002b: brfalse IL_0080 - IL_07a9: nop - IL_07aa: ldloc.s 25 - IL_07ac: stloc.s 23 - IL_07ae: br IL_07c6 + IL_0030: nop + IL_0031: newobj instance void class NAnt.Core.Configuration.DirList::'.ctor'() + IL_0036: stloc.1 + IL_0037: ldloc.1 + IL_0038: ldarg.0 + IL_0039: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_003e: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0043: ldloc.1 + IL_0044: ldarg.0 + IL_0045: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_004a: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_004f: ldloc.1 + IL_0050: ldarg.0 + IL_0051: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_0056: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_005b: ldloc.1 + IL_005c: ldloc.0 + IL_005d: ldarg.0 + IL_005e: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_0063: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0068: ldarg.0 + IL_0069: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_006e: ldarg.0 + IL_006f: ldloc.1 + IL_0070: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories() + IL_0075: stfld string[] NAnt.Core.FrameworkInfo::_toolPaths + IL_007a: nop + IL_007b: br IL_008e - IL_07b3: nop - IL_07b4: nop - IL_07b5: ldloc.s 27 - IL_07b7: ldc.i4.1 - IL_07b8: add - IL_07b9: stloc.s 27 - IL_07bb: ldloc.s 27 - IL_07bd: ldloc.s 26 - IL_07bf: ldlen - IL_07c0: conv.i4 - IL_07c1: blt IL_075e + IL_0080: nop + IL_0081: ldarg.0 + IL_0082: ldc.i4.0 + IL_0083: newarr [mscorlib]System.String + IL_0088: stfld string[] NAnt.Core.FrameworkInfo::_toolPaths + IL_008d: nop + IL_008e: nop + IL_008f: ldarg.0 + IL_0090: ldfld string[] NAnt.Core.FrameworkInfo::_toolPaths + IL_0095: stloc.2 + IL_0096: br IL_009b - IL_07c6: ldloc.s 23 - IL_07c8: ldnull - IL_07c9: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_07ce: brfalse IL_0823 + IL_009b: ldloc.2 + IL_009c: ret + } // end of method FrameworkInfo::get_ToolPaths - IL_07d3: nop - IL_07d4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_07d9: ldstr "NA1020" - IL_07de: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_07e3: ldc.i4.4 - IL_07e4: newarr [mscorlib]System.Object - IL_07e9: dup - IL_07ea: ldc.i4.0 - IL_07eb: ldloc.3 - IL_07ec: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_07f1: stelem.ref - IL_07f2: dup - IL_07f3: ldc.i4.1 - IL_07f4: ldarg.1 - IL_07f5: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_07fa: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_07ff: stelem.ref - IL_0800: dup - IL_0801: ldc.i4.2 - IL_0802: ldarg.1 - IL_0803: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0808: stelem.ref - IL_0809: dup - IL_080a: ldc.i4.3 - IL_080b: ldarg.0 - IL_080c: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_0811: stelem.ref - IL_0812: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0817: ldarg.0 - IL_0818: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_081d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0822: throw - IL_0823: ldarg.1 - IL_0824: ldarg.0 - IL_0825: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_082a: ldc.i4.0 - IL_082b: ldnull - IL_082c: ldnull - IL_082d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0832: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0837: stloc.s 29 - IL_0839: ldloc.s 29 - IL_083b: brtrue IL_08da + // method line 1856 + .method assembly hidebysig specialname + instance default string get_RuntimeEngine () cil managed + { + // Method begins at RVA 0x24580 + // Code size 99 (0x63) + .maxstack 2 + .locals init ( + string V_0, + class NAnt.Core.Configuration.ManagedExecutionMode V_1, + class NAnt.Core.Configuration.RuntimeEngine V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0007: brtrue IL_0018 - IL_0840: nop - IL_0841: ldarg.1 - IL_0842: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_0847: brtrue IL_08ad + IL_000c: nop + IL_000d: ldsfld string [mscorlib]System.String::Empty + IL_0012: stloc.0 + IL_0013: br IL_0061 - IL_084c: nop - IL_084d: ldloc.0 - IL_084e: brfalse IL_0880 + IL_0018: ldarg.0 + IL_0019: call instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_001e: callvirt instance class NAnt.Core.Configuration.ManagedExecutionModes class NAnt.Core.Configuration.Runtime::get_Modes() + IL_0023: ldc.i4.1 + IL_0024: callvirt instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::GetExecutionMode(valuetype NAnt.Core.Types.ManagedExecution) + IL_0029: stloc.1 + IL_002a: ldloc.1 + IL_002b: brfalse IL_0056 - IL_0853: nop - IL_0854: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0859: ldstr "NA1093" - IL_085e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0863: ldloc.0 - IL_0864: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0869: ldarg.0 - IL_086a: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_086f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0874: ldarg.0 - IL_0875: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_087a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_087f: throw - IL_0880: nop - IL_0881: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0886: ldstr "NA1029" - IL_088b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0890: ldloc.1 - IL_0891: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0896: ldarg.0 - IL_0897: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_089c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_08a1: ldarg.0 - IL_08a2: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_08a7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_08ac: throw - IL_08ad: ldarg.1 - IL_08ae: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_08b3: ldc.i4.s 0x14 - IL_08b5: ldnull - IL_08b6: ldnull - IL_08b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_08bc: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_08c1: stloc.s 30 - IL_08c3: ldarg.1 - IL_08c4: ldarg.0 - IL_08c5: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_08ca: ldloc.s 30 - IL_08cc: ldc.i4.0 - IL_08cd: ldnull - IL_08ce: ldnull - IL_08cf: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_08d4: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_08d9: nop - IL_08da: ldc.i4.0 - IL_08db: stloc.s 31 - IL_08dd: br IL_0911 + IL_0030: nop + IL_0031: ldloc.1 + IL_0032: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() + IL_0037: stloc.2 + IL_0038: ldloc.2 + IL_0039: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_003e: brfalse IL_0055 - IL_08e2: nop - IL_08e3: ldloc.s 14 - IL_08e5: ldloc.s 31 - IL_08e7: callvirt instance object class [mscorlib]System.Array::GetValue(int32) - IL_08ec: stloc.s 32 - IL_08ee: ldloc.s 23 - IL_08f0: ldloc.s 29 - IL_08f2: ldc.i4.0 - IL_08f3: ldnull - IL_08f4: ldc.i4.1 - IL_08f5: newarr [mscorlib]System.Object - IL_08fa: dup - IL_08fb: ldc.i4.0 - IL_08fc: ldloc.s 32 - IL_08fe: stelem.ref - IL_08ff: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0904: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0909: pop - IL_090a: nop - IL_090b: ldloc.s 31 - IL_090d: ldc.i4.1 - IL_090e: add - IL_090f: stloc.s 31 - IL_0911: ldloc.s 31 - IL_0913: ldloc.s 15 - IL_0915: blt IL_08e2 + IL_0043: nop + IL_0044: ldloc.2 + IL_0045: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_004a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004f: stloc.0 + IL_0050: br IL_0061 - IL_091a: nop - IL_091b: ldc.i4.1 - IL_091c: stloc.2 - IL_091d: br IL_0922 + IL_0055: nop + IL_0056: ldsfld string [mscorlib]System.String::Empty + IL_005b: stloc.0 + IL_005c: br IL_0061 - IL_0922: ldloc.2 - IL_0923: ret - } // end of method AttributeConfigurator::InitializeBuildElementCollection + IL_0061: ldloc.0 + IL_0062: ret + } // end of method FrameworkInfo::get_RuntimeEngine - // method line 1818 - .method family virtual hidebysig newslot - instance default bool InitializeChildElement (class [mscorlib]System.Reflection.PropertyInfo propertyInfo, class [mscorlib]System.Reflection.MethodInfo getter, class [mscorlib]System.Reflection.MethodInfo setter) cil managed + // method line 1857 + .method private hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed { - // Method begins at RVA 0x42d8 - // Code size 362 (0x16a) - .maxstack 7 + // Method begins at RVA 0x245f0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Attributes.BuildElementAttribute V_0, - bool V_1, - class [System.Xml]System.Xml.XmlNode V_2) + class [System.Xml]System.Xml.XmlNamespaceManager V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldtoken NAnt.Core.Attributes.BuildElementAttribute - IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000c: ldc.i4.0 - IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0012: castclass NAnt.Core.Attributes.BuildElementAttribute - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: brtrue IL_0026 + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::_nsMgr + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001e: nop - IL_001f: ldc.i4.0 - IL_0020: stloc.1 - IL_0021: br IL_0168 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfo::get_NamespaceManager - IL_0026: ldarg.0 - IL_0027: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_002c: callvirt instance class [System.Xml]System.Xml.XmlDocument class [System.Xml]System.Xml.XmlNode::get_OwnerDocument() - IL_0031: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0036: brtrue IL_0054 + // method line 1858 + .method assembly static hidebysig specialname + default class [mscorlib]System.Collections.IComparer get_NameComparer () cil managed + { + // Method begins at RVA 0x2460c + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.IComparer V_0) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.FrameworkInfo/FrameworkNameComparer::'.ctor'() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0042: ldloc.0 - IL_0043: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0048: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlNode::get_Item(string) - IL_004d: stloc.2 - IL_004e: nop - IL_004f: br IL_007d + IL_000c: ldloc.0 + IL_000d: ret + } // end of method FrameworkInfo::get_NameComparer - IL_0054: nop - IL_0055: ldarg.0 - IL_0056: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_005b: ldloc.0 - IL_005c: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0061: ldarg.0 - IL_0062: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0067: callvirt instance class [System.Xml]System.Xml.XmlDocument class [System.Xml]System.Xml.XmlNode::get_OwnerDocument() - IL_006c: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0071: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_0076: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlNode::get_Item(string, string) - IL_007b: stloc.2 - IL_007c: nop - IL_007d: ldloc.2 - IL_007e: brtrue IL_00c0 + // method line 1859 + .method public hidebysig + instance default string ResolveAssembly (string fileName) cil managed + { + // Method begins at RVA 0x24628 + // Code size 68 (0x44) + .maxstack 2 + .locals init ( + string V_0, + class NAnt.Core.Types.FileSet V_1, + class NAnt.Core.Types.FileSet[] V_2, + int32 V_3, + string V_4) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: call instance class NAnt.Core.Types.FileSet[] class NAnt.Core.FrameworkInfo::get_ReferenceAssemblies() + IL_000a: stloc.2 + IL_000b: ldc.i4.0 + IL_000c: stloc.3 + IL_000d: br IL_0030 - IL_0083: ldloc.0 - IL_0084: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() - IL_0089: brfalse IL_00c0 + IL_0012: ldloc.2 + IL_0013: ldloc.3 + IL_0014: ldelem.ref + IL_0015: stloc.1 + IL_0016: nop + IL_0017: ldloc.1 + IL_0018: ldarg.1 + IL_0019: callvirt instance string class NAnt.Core.Types.FileSet::Find(string) + IL_001e: stloc.0 + IL_001f: ldloc.0 + IL_0020: brfalse IL_002b - IL_008e: nop - IL_008f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0094: ldstr "NA1013" - IL_0099: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009e: ldloc.0 - IL_009f: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_00a4: ldarg.0 - IL_00a5: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_00aa: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00af: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00b4: ldarg.0 - IL_00b5: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_00ba: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00bf: throw - IL_00c0: ldloc.2 - IL_00c1: brfalse IL_0161 + IL_0025: nop + IL_0026: br IL_0039 - IL_00c6: nop - IL_00c7: ldarg.0 - IL_00c8: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_00cd: ldloc.2 - IL_00ce: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00d3: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) - IL_00d8: ldloc.0 - IL_00d9: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() - IL_00de: brtrue IL_00eb - - IL_00e3: nop - IL_00e4: ldc.i4.1 - IL_00e5: stloc.1 - IL_00e6: br IL_0168 - - IL_00eb: ldarg.0 - IL_00ec: ldarg.1 - IL_00ed: ldarg.2 - IL_00ee: ldarg.3 - IL_00ef: ldloc.2 - IL_00f0: ldarg.0 - IL_00f1: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element/AttributeConfigurator::get_Properties() - IL_00f6: ldarg.0 - IL_00f7: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() - IL_00fc: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::CreateChildBuildElement(class [mscorlib]System.Reflection.PropertyInfo, class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0101: pop - IL_0102: ldarg.0 - IL_0103: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0108: ldstr "nant:" - IL_010d: ldloc.0 - IL_010e: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0113: call string string::Concat(string, string) - IL_0118: ldarg.0 - IL_0119: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() - IL_011e: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0123: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0128: ldc.i4.1 - IL_0129: ble IL_0160 + IL_002b: nop + IL_002c: ldloc.3 + IL_002d: ldc.i4.1 + IL_002e: add + IL_002f: stloc.3 + IL_0030: ldloc.3 + IL_0031: ldloc.2 + IL_0032: ldlen + IL_0033: conv.i4 + IL_0034: blt IL_0012 - IL_012e: nop - IL_012f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0134: ldstr "NA1186" - IL_0139: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_013e: ldarg.0 - IL_013f: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_0144: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0149: ldloc.0 - IL_014a: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_014f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0154: ldarg.0 - IL_0155: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_015a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_015f: throw - IL_0160: nop - IL_0161: ldc.i4.1 - IL_0162: stloc.1 - IL_0163: br IL_0168 + IL_0039: ldloc.0 + IL_003a: stloc.s 4 + IL_003c: br IL_0041 - IL_0168: ldloc.1 - IL_0169: ret - } // end of method AttributeConfigurator::InitializeChildElement + IL_0041: ldloc.s 4 + IL_0043: ret + } // end of method FrameworkInfo::ResolveAssembly - // method line 1819 - .method family virtual hidebysig newslot - instance default void InitializeOrderedChildElements () cil managed + // method line 1860 + .method assembly hidebysig + instance default void Validate () cil managed { - // Method begins at RVA 0x4450 - // Code size 741 (0x2e5) - .maxstack 8 + // Method begins at RVA 0x24678 + // Code size 199 (0xc7) + .maxstack 4 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class [mscorlib]System.Collections.Hashtable V_1, - class [mscorlib]System.Reflection.MethodInfo[] V_2, - class [mscorlib]System.Reflection.MethodInfo V_3, - class [mscorlib]System.Reflection.MethodInfo[] V_4, - int32 V_5, - class [mscorlib]System.Reflection.ParameterInfo[] V_6, - object[] V_7, - class NAnt.Core.Attributes.BuildElementAttribute V_8, - class [System]System.Collections.Specialized.StringCollection V_9, - class [System.Xml]System.Xml.XmlNode V_10, - class [mscorlib]System.Collections.IEnumerator V_11, - string V_12, - class [mscorlib]System.Reflection.MethodInfo V_13, - class NAnt.Core.Attributes.BuildElementAttribute V_14, - class [mscorlib]System.Type V_15, - class NAnt.Core.Element V_16, - class [mscorlib]System.Reflection.TargetInvocationException V_17, - class [mscorlib]System.IDisposable V_18, - string V_19, - class [System]System.Collections.Specialized.StringEnumerator V_20, - class [mscorlib]System.IDisposable V_21, - valuetype [mscorlib]System.Collections.DictionaryEntry V_22, - class [mscorlib]System.Collections.IDictionaryEnumerator V_23, - class [mscorlib]System.IDisposable V_24) + class [mscorlib]System.Exception V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0006: stloc.0 - IL_0007: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_000c: stloc.1 - IL_000d: ldarg.0 - IL_000e: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0013: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0018: ldc.i4.s 0x14 - IL_001a: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_001f: stloc.2 - IL_0020: nop - IL_0021: ldloc.2 - IL_0022: stloc.s 4 - IL_0024: ldc.i4.0 - IL_0025: stloc.s 5 - IL_0027: br IL_00a9 + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0007: ldc.i4.3 + IL_0008: bne.un IL_0013 - IL_002c: ldloc.s 4 - IL_002e: ldloc.s 5 - IL_0030: ldelem.ref - IL_0031: stloc.3 - IL_0032: nop - IL_0033: ldloc.3 - IL_0034: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0039: stloc.s 6 - IL_003b: ldloc.s 6 - IL_003d: ldlen - IL_003e: conv.i4 - IL_003f: ldc.i4.1 - IL_0040: beq IL_004b + IL_000d: nop + IL_000e: br IL_00c6 - IL_0045: nop - IL_0046: br IL_00a3 + IL_0013: ldarg.0 + IL_0014: call instance void class NAnt.Core.FrameworkInfo::Init() + IL_0019: ldarg.0 + IL_001a: ldc.i4.1 + IL_001b: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + .try { // 0 + IL_0020: nop + IL_0021: ldarg.0 + IL_0022: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_0027: brtrue IL_0038 - IL_004b: ldloc.3 - IL_004c: ldtoken NAnt.Core.Attributes.BuildElementAttribute - IL_0051: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0056: ldc.i4.1 - IL_0057: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_005c: stloc.s 7 - IL_005e: ldloc.s 7 - IL_0060: ldlen - IL_0061: conv.i4 - IL_0062: brtrue IL_006d + IL_002c: nop + IL_002d: ldstr "The \"frameworkdirectory\" attribute does not exist, or has no value." + IL_0032: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0037: throw + IL_0038: ldarg.0 + IL_0039: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() + IL_003e: brtrue IL_004f - IL_0067: nop - IL_0068: br IL_00a3 + IL_0043: nop + IL_0044: ldstr "The \"frameworkassemblydirectory\" attribute does not exist, or has no value." + IL_0049: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_004e: throw + IL_004f: ldarg.0 + IL_0050: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() + IL_0055: ldnull + IL_0056: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_005b: brfalse IL_006c - IL_006d: ldloc.s 7 - IL_006f: ldc.i4.0 - IL_0070: ldelem.ref - IL_0071: castclass NAnt.Core.Attributes.BuildElementAttribute - IL_0076: stloc.s 8 - IL_0078: ldloc.0 - IL_0079: ldloc.s 8 - IL_007b: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0080: ldloc.3 - IL_0081: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0086: ldloc.s 8 - IL_0088: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() - IL_008d: brfalse IL_00a2 + IL_0060: nop + IL_0061: ldstr "The \"version\" attribute does not exist, or has no value." + IL_0066: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_006b: throw + IL_006c: ldarg.0 + IL_006d: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_0072: ldnull + IL_0073: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_0078: brfalse IL_0089 - IL_0092: nop - IL_0093: ldloc.1 - IL_0094: ldloc.s 8 - IL_0096: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_009b: ldloc.3 - IL_009c: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_00a1: nop - IL_00a2: nop - IL_00a3: ldloc.s 5 - IL_00a5: ldc.i4.1 - IL_00a6: add - IL_00a7: stloc.s 5 - IL_00a9: ldloc.s 5 - IL_00ab: ldloc.s 4 - IL_00ad: ldlen - IL_00ae: conv.i4 - IL_00af: blt IL_002c + IL_007d: nop + IL_007e: ldstr "The \"clrversion\" attribute does not exist, or has no value." + IL_0083: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0088: throw + IL_0089: ldarg.0 + IL_008a: ldc.i4.3 + IL_008b: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0090: nop + IL_0091: leave IL_00c6 - IL_00b4: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_00b9: stloc.s 9 - IL_00bb: nop - IL_00bc: ldarg.0 - IL_00bd: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_00c2: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() - IL_00c7: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_00cc: stloc.s 11 - .try { // 1 - IL_00ce: br IL_01e3 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0096: stloc.0 + IL_0097: nop + IL_0098: ldarg.0 + IL_0099: ldc.i4.2 + IL_009a: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_009f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a4: ldstr "{0} ({1}) is not installed, or not correctly configured." + IL_00a9: ldarg.0 + IL_00aa: call instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_00af: ldarg.0 + IL_00b0: call instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_00b5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00ba: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_00bf: ldloc.0 + IL_00c0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00c5: throw + } // end handler 0 + IL_00c6: ret + } // end of method FrameworkInfo::Validate - IL_00d3: ldloc.s 11 - IL_00d5: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00da: castclass [System.Xml]System.Xml.XmlNode - IL_00df: stloc.s 10 - IL_00e1: nop - IL_00e2: ldloc.s 10 - IL_00e4: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00e9: stloc.s 12 - IL_00eb: ldarg.0 - IL_00ec: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_00f1: ldloc.s 12 - IL_00f3: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_00f8: brtrue IL_0103 + // method line 1861 + .method assembly hidebysig + instance default string GetToolPath (string tool) cil managed + { + // Method begins at RVA 0x2475c + // Code size 39 (0x27) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0012 - IL_00fd: nop - IL_00fe: leave IL_01e3 + IL_0007: ldstr "tool" + IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0011: throw + IL_0012: ldarg.0 + IL_0013: call instance string[] class NAnt.Core.FrameworkInfo::get_ToolPaths() + IL_0018: ldarg.1 + IL_0019: ldc.i4.0 + IL_001a: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_0103: ldloc.0 - IL_0104: ldloc.s 12 - IL_0106: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_010b: castclass [mscorlib]System.Reflection.MethodInfo - IL_0110: stloc.s 13 - IL_0112: ldloc.s 13 - IL_0114: ldnull - IL_0115: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_011a: brfalse IL_0125 + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FrameworkInfo::GetToolPath - IL_011f: nop - IL_0120: leave IL_01e3 + // method line 1862 + .method private hidebysig + instance default void Init () cil managed + { + // Method begins at RVA 0x24790 + // Code size 79 (0x4f) + .maxstack 4 + .locals init ( + class [mscorlib]System.Exception V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0007: brfalse IL_0012 - IL_0125: ldloc.s 9 - IL_0127: ldloc.s 12 - IL_0129: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_012e: brtrue IL_013f + IL_000c: nop + IL_000d: br IL_004e - IL_0133: nop - IL_0134: ldloc.s 9 - IL_0136: ldloc.s 12 - IL_0138: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_013d: pop - IL_013e: nop - IL_013f: ldloc.1 - IL_0140: ldloc.s 12 - IL_0142: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0147: brfalse IL_0156 + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + .try { // 0 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: call instance void class NAnt.Core.FrameworkInfo::PerformInit() + IL_001f: nop + IL_0020: leave IL_004e - IL_014c: nop - IL_014d: ldloc.1 - IL_014e: ldloc.s 12 - IL_0150: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_0155: nop - IL_0156: ldloc.s 13 - IL_0158: ldtoken NAnt.Core.Attributes.BuildElementAttribute - IL_015d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0162: ldc.i4.0 - IL_0163: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_0168: castclass NAnt.Core.Attributes.BuildElementAttribute - IL_016d: stloc.s 14 - IL_016f: ldloc.s 14 - IL_0171: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() - IL_0176: brtrue IL_0181 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0025: stloc.0 + IL_0026: nop + IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002c: ldstr "Failed to initialize the '{0}' ({1}) target framework." + IL_0031: ldarg.0 + IL_0032: call instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_0037: ldarg.0 + IL_0038: call instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0042: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0047: ldloc.0 + IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_004d: throw + } // end handler 0 + IL_004e: ret + } // end of method FrameworkInfo::Init - IL_017b: nop - IL_017c: leave IL_01e3 + // method line 1863 + .method private hidebysig + instance default void PerformInit () cil managed + { + // Method begins at RVA 0x247fc + // Code size 290 (0x122) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + class [System.Xml]System.Xml.XmlDocument V_1, + class NAnt.Core.Project V_2, + class [System.Xml]System.Xml.XmlNode V_3, + class NAnt.Core.Project V_4, + string V_5) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_0007: ldstr "nant:project" + IL_000c: ldarg.0 + IL_000d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_0012: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brtrue IL_0029 - IL_0181: ldloc.s 13 - IL_0183: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0188: ldc.i4.0 - IL_0189: ldelem.ref - IL_018a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_018f: stloc.s 15 - IL_0191: ldarg.0 - IL_0192: ldloc.s 10 - IL_0194: ldloc.s 15 - IL_0196: callvirt instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElement(class [System.Xml]System.Xml.XmlNode, class [mscorlib]System.Type) - IL_019b: stloc.s 16 - .try { // 0 - IL_019d: nop - IL_019e: ldloc.s 13 - IL_01a0: ldarg.0 - IL_01a1: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_01a6: ldc.i4 256 - IL_01ab: ldnull - IL_01ac: ldc.i4.1 - IL_01ad: newarr [mscorlib]System.Object - IL_01b2: dup - IL_01b3: ldc.i4.0 - IL_01b4: ldloc.s 16 - IL_01b6: stelem.ref - IL_01b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01bc: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_01c1: pop - IL_01c2: nop - IL_01c3: leave IL_01e2 + IL_001e: ldstr "No node is defined." + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_002e: stloc.1 + IL_002f: ldloc.1 + IL_0030: ldloc.0 + IL_0031: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_OuterXml() + IL_0036: callvirt instance void class [System.Xml]System.Xml.XmlDocument::LoadXml(string) + IL_003b: ldloc.1 + IL_003c: newobj instance void class NAnt.Core.Project::'.ctor'(class [System.Xml]System.Xml.XmlDocument) + IL_0041: stloc.2 + IL_0042: ldloc.2 + IL_0043: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0048: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() + IL_004d: callvirt instance void class NAnt.Core.Project::set_BaseDirectory(string) + IL_0052: ldloc.2 + IL_0053: callvirt instance void class NAnt.Core.Project::Execute() + IL_0058: ldarg.0 + IL_0059: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_005e: ldstr "runtime" + IL_0063: ldarg.0 + IL_0064: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_0069: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_006e: stloc.3 + IL_006f: ldloc.3 + IL_0070: brfalse IL_00c3 - } // end .try 0 - catch class [mscorlib]System.Reflection.TargetInvocationException { // 0 - IL_01c8: stloc.s 17 - IL_01ca: nop - IL_01cb: ldloc.s 17 - IL_01cd: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_01d2: brfalse IL_01e0 + IL_0075: nop + IL_0076: ldarg.0 + IL_0077: newobj instance void class NAnt.Core.Configuration.Runtime::'.ctor'() + IL_007c: stfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime + IL_0081: ldarg.0 + IL_0082: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime + IL_0087: ldloc.2 + IL_0088: stloc.s 4 + IL_008a: ldarg.0 + IL_008b: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime + IL_0090: ldloc.s 4 + IL_0092: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0097: ldloc.s 4 + IL_0099: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_009e: ldarg.0 + IL_009f: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime + IL_00a4: ldarg.0 + IL_00a5: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() + IL_00aa: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00af: ldarg.0 + IL_00b0: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime + IL_00b5: ldloc.3 + IL_00b6: ldloc.2 + IL_00b7: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00bc: ldarg.0 + IL_00bd: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_00c2: nop + IL_00c3: ldarg.0 + IL_00c4: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_00c9: ldstr "sdkdirectory" + IL_00ce: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_00d3: stloc.s 5 + .try { // 0 + IL_00d5: nop + IL_00d6: ldloc.2 + IL_00d7: ldloc.s 5 + IL_00d9: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_00de: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) + IL_00e3: stloc.s 5 + IL_00e5: nop + IL_00e6: leave IL_00f3 - IL_01d7: nop - IL_01d8: ldloc.s 17 - IL_01da: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_01df: throw - IL_01e0: rethrow - } // end handler 0 - IL_01e2: nop - IL_01e3: ldloc.s 11 - IL_01e5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01ea: brtrue IL_00d3 + } // end .try 0 + catch class NAnt.Core.BuildException { // 0 + IL_00eb: pop + IL_00ec: nop + IL_00ed: nop + IL_00ee: leave IL_00f3 - IL_01ef: leave IL_020b + } // end handler 0 + IL_00f3: ldloc.s 5 + IL_00f5: brfalse IL_0113 - } // end .try 1 - finally { // 1 - IL_01f4: ldloc.s 11 - IL_01f6: isinst [mscorlib]System.IDisposable - IL_01fb: dup - IL_01fc: stloc.s 18 - IL_01fe: brfalse IL_020a + IL_00fa: ldloc.s 5 + IL_00fc: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0101: brfalse IL_0113 - IL_0203: ldloc.s 18 - IL_0205: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_020a: endfinally - } // end handler 1 - IL_020b: nop - IL_020c: ldloc.s 9 - IL_020e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0213: stloc.s 20 - .try { // 2 - IL_0215: br IL_0232 + IL_0106: ldarg.0 + IL_0107: ldloc.s 5 + IL_0109: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_010e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_sdkDirectory + IL_0113: ldarg.0 + IL_0114: ldloc.2 + IL_0115: stfld class NAnt.Core.Project NAnt.Core.FrameworkInfo::_project + IL_011a: ldarg.0 + IL_011b: ldc.i4.1 + IL_011c: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0121: ret + } // end of method FrameworkInfo::PerformInit - IL_021a: ldloc.s 20 - IL_021c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0221: stloc.s 19 - IL_0223: nop - IL_0224: ldarg.0 - IL_0225: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_022a: ldloc.s 19 - IL_022c: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) - IL_0231: nop - IL_0232: ldloc.s 20 - IL_0234: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0239: brtrue IL_021a + // method line 1864 + .method private hidebysig + instance default void AssertNotInvalid () cil managed + { + // Method begins at RVA 0x2493c + // Code size 48 (0x30) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0007: ldc.i4.2 + IL_0008: beq IL_0023 - IL_023e: leave IL_025a + IL_000d: ldarg.0 + IL_000e: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status + IL_0013: brtrue IL_002f - } // end .try 2 - finally { // 2 - IL_0243: ldloc.s 20 - IL_0245: isinst [mscorlib]System.IDisposable - IL_024a: dup - IL_024b: stloc.s 21 - IL_024d: brfalse IL_0259 + IL_0018: ldarg.0 + IL_0019: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode + IL_001e: brtrue IL_002f - IL_0252: ldloc.s 21 - IL_0254: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0259: endfinally - } // end handler 2 - IL_025a: ldloc.1 - IL_025b: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_0260: ldc.i4.0 - IL_0261: ble IL_02e4 + IL_0023: nop + IL_0024: ldstr "The current framework is not valid." + IL_0029: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_002e: throw + IL_002f: ret + } // end of method FrameworkInfo::AssertNotInvalid - IL_0266: nop - IL_0267: nop - IL_0268: ldloc.1 - IL_0269: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_026e: stloc.s 23 - .try { // 3 - IL_0270: br IL_02bb + // method line 1865 + .method private static hidebysig + default string GetXmlAttributeValue (class [System.Xml]System.Xml.XmlNode xmlNode, string attributeName) cil managed + { + // Method begins at RVA 0x24970 + // Code size 58 (0x3a) + .maxstack 2 + .locals init ( + string V_0, + class [System.Xml]System.Xml.XmlAttribute V_1, + string V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: brfalse IL_0031 - IL_0275: ldloc.s 23 - IL_0277: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_027c: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0281: stloc.s 22 - IL_0283: nop - IL_0284: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0289: ldstr "NA1021" - IL_028e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0293: ldloca.s 22 - IL_0295: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_029a: castclass [mscorlib]System.String - IL_029f: ldarg.0 - IL_02a0: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() - IL_02a5: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_02aa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_02af: ldarg.0 - IL_02b0: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_02b5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_02ba: throw - IL_02bb: ldloc.s 23 - IL_02bd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02c2: brtrue IL_0275 + IL_0009: nop + IL_000a: ldarg.0 + IL_000b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0010: ldarg.1 + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) + IL_0016: castclass [System.Xml]System.Xml.XmlAttribute + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: brfalse IL_0030 - IL_02c7: leave IL_02e3 + IL_0022: nop + IL_0023: ldloc.1 + IL_0024: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0029: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_002e: stloc.0 + IL_002f: nop + IL_0030: nop + IL_0031: ldloc.0 + IL_0032: stloc.2 + IL_0033: br IL_0038 - } // end .try 3 - finally { // 3 - IL_02cc: ldloc.s 23 - IL_02ce: isinst [mscorlib]System.IDisposable - IL_02d3: dup - IL_02d4: stloc.s 24 - IL_02d6: brfalse IL_02e2 + IL_0038: ldloc.2 + IL_0039: ret + } // end of method FrameworkInfo::GetXmlAttributeValue - IL_02db: ldloc.s 24 - IL_02dd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02e2: endfinally - } // end handler 3 - IL_02e3: nop - IL_02e4: ret - } // end of method AttributeConfigurator::InitializeOrderedChildElements + .property instance string Name () + { + .get instance default string NAnt.Core.FrameworkInfo::get_Name () + } + .property instance string Family () + { + .get instance default string NAnt.Core.FrameworkInfo::get_Family () + } + .property instance string Description () + { + .get instance default string NAnt.Core.FrameworkInfo::get_Description () + } + .property instance valuetype NAnt.Core.VendorType Vendor () + { + .get instance default valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::get_Vendor () + } + .property instance class [mscorlib]System.Version Version () + { + .get instance default class [mscorlib]System.Version NAnt.Core.FrameworkInfo::get_Version () + } + .property instance class [mscorlib]System.Version ClrVersion () + { + .get instance default class [mscorlib]System.Version NAnt.Core.FrameworkInfo::get_ClrVersion () + } + .property instance valuetype NAnt.Core.ClrType ClrType () + { + .get instance default valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::get_ClrType () + } + .property instance class [mscorlib]System.Version VisualStudioVersion () + { + .get instance default class [mscorlib]System.Version NAnt.Core.FrameworkInfo::get_VisualStudioVersion () + } + .property instance class [mscorlib]System.IO.DirectoryInfo FrameworkDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_FrameworkDirectory () + } + .property instance class NAnt.Core.Configuration.Runtime Runtime () + { + .get instance default class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::get_Runtime () + } + .property instance class [mscorlib]System.IO.DirectoryInfo FrameworkAssemblyDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory () + } + .property instance class [mscorlib]System.IO.DirectoryInfo SdkDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_SdkDirectory () + } + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.FrameworkInfo::get_Project () + } + .property instance class NAnt.Core.Types.FileSet TaskAssemblies () + { + .get instance default class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::get_TaskAssemblies () + } + .property instance bool IsValid () + { + .get instance default bool NAnt.Core.FrameworkInfo::get_IsValid () + } + .property instance class NAnt.Core.Types.FileSet[] ReferenceAssemblies () + { + .get instance default class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::get_ReferenceAssemblies () + } + .property instance string[] ToolPaths () + { + .get instance default string[] NAnt.Core.FrameworkInfo::get_ToolPaths () + } + .property instance string RuntimeEngine () + { + .get instance default string NAnt.Core.FrameworkInfo::get_RuntimeEngine () + } + .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () + { + .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::get_NamespaceManager () + } + .property class [mscorlib]System.Collections.IComparer NameComparer () + { + .get default class [mscorlib]System.Collections.IComparer NAnt.Core.FrameworkInfo::get_NameComparer () + } + .class nested private auto ansi sealed InitStatus + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Uninitialized = int32(0x00000000) + .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Initialized = int32(0x00000001) + .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Invalid = int32(0x00000002) + .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Valid = int32(0x00000003) - // method line 1820 - .method family virtual hidebysig newslot - instance default class NAnt.Core.Element InitializeBuildElement (class [System.Xml]System.Xml.XmlNode childNode, class [mscorlib]System.Type elementType) cil managed - { - // Method begins at RVA 0x47a8 - // Code size 110 (0x6e) - .maxstack 5 - .locals init ( - class NAnt.Core.Element V_0, - class NAnt.Core.Element V_1) - IL_0000: nop - IL_0001: ldtoken NAnt.Core.Element - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.2 - IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0011: brtrue IL_0043 + } // end of class InitStatus - IL_0016: nop - IL_0017: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001c: ldstr "NA1187" - IL_0021: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0026: ldarg.1 - IL_0027: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_002c: ldarg.2 - IL_002d: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0032: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0037: ldarg.0 - IL_0038: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_003d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0042: throw - IL_0043: ldarg.2 - IL_0044: ldc.i4.s 0x34 - IL_0046: ldnull - IL_0047: ldnull - IL_0048: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004d: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0052: castclass NAnt.Core.Element - IL_0057: stloc.0 - IL_0058: ldarg.0 - IL_0059: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_005e: ldarg.1 - IL_005f: ldloc.0 - IL_0060: ldarg.2 - IL_0061: call class NAnt.Core.Element class NAnt.Core.Element::InitializeBuildElement(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Type) - IL_0066: stloc.1 - IL_0067: br IL_006c + .class nested private auto ansi beforefieldinit FrameworkNameComparer + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IComparer { - IL_006c: ldloc.1 - IL_006d: ret - } // end of method AttributeConfigurator::InitializeBuildElement + // method line 1866 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x249b6 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method FrameworkNameComparer::.ctor - // method line 1821 - .method private hidebysig - instance default class NAnt.Core.Element CreateChildBuildElement (class [mscorlib]System.Reflection.PropertyInfo propInf, class [mscorlib]System.Reflection.MethodInfo getter, class [mscorlib]System.Reflection.MethodInfo setter, class [System.Xml]System.Xml.XmlNode xml, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed + // method line 1867 + .method public final virtual hidebysig newslot + instance default int32 Compare (object x, object y) cil managed { - // Method begins at RVA 0x4824 - // Code size 551 (0x227) - .maxstack 6 + // Method begins at RVA 0x249c0 + // Code size 46 (0x2e) + .maxstack 4 .locals init ( - class NAnt.Core.Element V_0, - class [mscorlib]System.Type V_1, - class NAnt.Core.DataTypeBase V_2, - class NAnt.Core.Element V_3) + class NAnt.Core.FrameworkInfo V_0, + class NAnt.Core.FrameworkInfo V_1, + int32 V_2) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldarg.2 - IL_0006: ldnull - IL_0007: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_000c: brfalse IL_010e + IL_0001: ldarg.1 + IL_0002: isinst NAnt.Core.FrameworkInfo + IL_0007: stloc.0 + IL_0008: ldarg.2 + IL_0009: isinst NAnt.Core.FrameworkInfo + IL_000e: stloc.1 + IL_000f: ldloc.0 + IL_0010: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_0015: ldloc.1 + IL_0016: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_001b: ldc.i4.0 + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0026: stloc.2 + IL_0027: br IL_002c - IL_0011: nop - .try { // 0 - IL_0012: nop - IL_0013: ldarg.1 - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_001a: ldnull - IL_001b: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, object[]) - IL_0020: castclass NAnt.Core.Element - IL_0025: stloc.0 - IL_0026: nop - IL_0027: leave IL_0090 + IL_002c: ldloc.2 + IL_002d: ret + } // end of method FrameworkNameComparer::Compare - } // end .try 0 - catch class [mscorlib]System.InvalidCastException { // 0 - IL_002c: pop - IL_002d: nop - IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0033: ldstr "NA1188" - IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_003d: ldc.i4.4 - IL_003e: newarr [mscorlib]System.Object - IL_0043: dup - IL_0044: ldc.i4.0 - IL_0045: ldarg.1 - IL_0046: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_004b: stelem.ref - IL_004c: dup - IL_004d: ldc.i4.1 - IL_004e: ldarg.0 - IL_004f: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_0054: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0059: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_005e: stelem.ref - IL_005f: dup - IL_0060: ldc.i4.2 - IL_0061: ldarg.1 - IL_0062: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0067: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_006c: stelem.ref - IL_006d: dup - IL_006e: ldc.i4.3 - IL_006f: ldtoken NAnt.Core.Element - IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0079: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_007e: stelem.ref - IL_007f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0084: ldarg.0 - IL_0085: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_008a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_008f: throw - } // end handler 0 - IL_0090: ldloc.0 - IL_0091: brtrue IL_0104 + } // end of class FrameworkNameComparer - IL_0096: nop - IL_0097: ldarg.3 - IL_0098: ldnull - IL_0099: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_009e: brfalse IL_00da + } // end of class NAnt.Core.FrameworkInfo +} - IL_00a3: nop - IL_00a4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a9: ldstr "NA1189" - IL_00ae: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00b3: ldarg.1 - IL_00b4: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_00b9: ldarg.0 - IL_00ba: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_00bf: callvirt instance class [mscorlib]System.Type object::GetType() - IL_00c4: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00c9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00ce: ldarg.0 - IL_00cf: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_00d4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00d9: throw - IL_00da: nop - IL_00db: ldnull - IL_00dc: starg.s 2 - IL_00de: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger - IL_00e3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00e8: ldstr "{0}_get() returned null; will go the route of set method to populate." - IL_00ed: ldarg.1 - IL_00ee: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_00f3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00f8: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_00fd: nop - IL_00fe: nop - IL_00ff: br IL_010d +.namespace NAnt.Core +{ + .class public auto ansi sealed ClrType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.ClrType Desktop = int32(0x00000001) + .field public static literal valuetype NAnt.Core.ClrType Compact = int32(0x00000002) + .field public static literal valuetype NAnt.Core.ClrType Browser = int32(0x00000003) - IL_0104: nop - IL_0105: ldloc.0 - IL_0106: callvirt instance class [mscorlib]System.Type object::GetType() - IL_010b: stloc.1 - IL_010c: nop - IL_010d: nop - IL_010e: ldarg.2 - IL_010f: ldnull - IL_0110: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_0115: brfalse IL_0177 + } // end of class NAnt.Core.ClrType +} - IL_011a: nop - IL_011b: ldarg.3 - IL_011c: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0121: ldc.i4.0 - IL_0122: ldelem.ref - IL_0123: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0128: stloc.1 - IL_0129: ldloc.1 - IL_012a: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_012f: brfalse IL_0161 +.namespace NAnt.Core +{ + .class public auto ansi sealed VendorType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.VendorType Microsoft = int32(0x00000001) + .field public static literal valuetype NAnt.Core.VendorType Mono = int32(0x00000002) - IL_0134: nop - IL_0135: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_013a: ldstr "String_AbstractType" - IL_013f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0144: ldloc.1 - IL_0145: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_014a: ldarg.1 - IL_014b: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_0150: ldarg.0 - IL_0151: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() - IL_0156: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_015b: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) - IL_0160: throw - IL_0161: ldloc.1 - IL_0162: ldc.i4.s 0x34 - IL_0164: ldnull - IL_0165: ldnull - IL_0166: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_016b: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0170: castclass NAnt.Core.Element - IL_0175: stloc.0 - IL_0176: nop - IL_0177: ldarg.0 - IL_0178: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_017d: ldarg.s 4 - IL_017f: ldloc.0 - IL_0180: ldloc.1 - IL_0181: call class NAnt.Core.Element class NAnt.Core.Element::InitializeBuildElement(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Type) - IL_0186: stloc.0 - IL_0187: ldloc.0 - IL_0188: isinst NAnt.Core.DataTypeBase - IL_018d: stloc.2 - IL_018e: ldloc.2 - IL_018f: brfalse IL_01ed + } // end of class NAnt.Core.VendorType +} - IL_0194: ldarg.s 4 - IL_0196: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_019b: ldstr "refid" - IL_01a0: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_01a5: brfalse IL_01ed +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit ValidationException + extends NAnt.Core.BuildException + { - IL_01aa: nop - IL_01ab: ldarg.3 - IL_01ac: ldnull - IL_01ad: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_01b2: brfalse IL_01e9 + // method line 1868 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x249fa + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.BuildException::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method ValidationException::.ctor - IL_01b7: nop - IL_01b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01bd: ldstr "NA1190" - IL_01c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01c7: ldarg.1 - IL_01c8: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_01cd: ldarg.0 - IL_01ce: call instance class [mscorlib]System.Type object::GetType() - IL_01d3: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01d8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_01dd: ldarg.0 - IL_01de: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() - IL_01e3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_01e8: throw - IL_01e9: ldnull - IL_01ea: starg.s 2 - IL_01ec: nop - IL_01ed: ldarg.3 - IL_01ee: ldnull - IL_01ef: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_01f4: brfalse IL_021e + // method line 1869 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed + { + // Method begins at RVA 0x24a03 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0007: nop + IL_0008: ret + } // end of method ValidationException::.ctor - IL_01f9: ldarg.2 - IL_01fa: ldnull - IL_01fb: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_0200: brfalse IL_021e + // method line 1870 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed + { + // Method begins at RVA 0x24a0d + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0008: nop + IL_0009: ret + } // end of method ValidationException::.ctor - IL_0205: nop - IL_0206: ldarg.3 - IL_0207: ldarg.0 - IL_0208: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() - IL_020d: ldc.i4.1 - IL_020e: newarr [mscorlib]System.Object - IL_0213: dup - IL_0214: ldc.i4.0 - IL_0215: ldloc.0 - IL_0216: stelem.ref - IL_0217: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_021c: pop - IL_021d: nop - IL_021e: ldloc.0 - IL_021f: stloc.3 - IL_0220: br IL_0225 + // method line 1871 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class NAnt.Core.Location location) cil managed + { + // Method begins at RVA 0x24a18 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0008: nop + IL_0009: ret + } // end of method ValidationException::.ctor - IL_0225: ldloc.3 - IL_0226: ret - } // end of method AttributeConfigurator::CreateChildBuildElement + // method line 1872 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class NAnt.Core.Location location, class [mscorlib]System.Exception innerException) cil managed + { + // Method begins at RVA 0x24a23 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: call instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0009: nop + IL_000a: ret + } // end of method ValidationException::.ctor - // method line 1822 - .method private hidebysig - instance default class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter CreateAttributeSetter (class [mscorlib]System.Type attributeType) cil managed + // method line 1873 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed { - // Method begins at RVA 0x4a68 - // Code size 273 (0x111) - .maxstack 3 + // Method begins at RVA 0x24a2f + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.BuildException::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) + IL_0008: nop + IL_0009: ret + } // end of method ValidationException::.ctor + + } // end of class NAnt.Core.ValidationException +} + +.namespace NAnt.Core +{ + .class private auto ansi serializable beforefieldinit LocationMap + extends [mscorlib]System.Object + { + .field private class [mscorlib]System.Collections.Hashtable _fileMap + + // method line 1874 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x24a3a + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ret + } // end of method LocationMap::.ctor + + // method line 1875 + .method public hidebysig + instance default bool FileIsMapped (string fileOrUri) cil managed + { + // Method begins at RVA 0x24a50 + // Code size 33 (0x21) + .maxstack 2 .locals init ( - class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter V_0, - class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter V_1) + class [System]System.Uri V_0, + bool V_1) IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters - IL_0006: ldarg.1 - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_000c: brfalse IL_0028 + IL_0001: ldarg.1 + IL_0002: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0007: stloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap + IL_000e: ldloc.0 + IL_000f: callvirt instance string class [System]System.Uri::get_AbsoluteUri() + IL_0014: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0019: stloc.1 + IL_001a: br IL_001f + + IL_001f: ldloc.1 + IL_0020: ret + } // end of method LocationMap::FileIsMapped + + // method line 1876 + .method public hidebysig + instance default void Add (class [System.Xml]System.Xml.XmlDocument doc) cil managed + { + // Method begins at RVA 0x24a80 + // Code size 660 (0x294) + .maxstack 5 + .locals init ( + class [System]System.Uri V_0, + string V_1, + class [mscorlib]System.Collections.Hashtable V_2, + string V_3, + string V_4, + int32 V_5, + class [System.Xml]System.Xml.XmlTextReader V_6, + class [mscorlib]System.Collections.ArrayList V_7, + int32 V_8, + string V_9, + string[] V_10, + string V_11, + int32 V_12, + int32 V_13, + string V_14) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: brfalse IL_0017 IL_0011: nop - IL_0012: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters + IL_0012: br IL_0293 + IL_0017: ldarg.1 - IL_0018: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_001d: castclass NAnt.Core.Element/AttributeConfigurator/IAttributeSetter + IL_0018: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() + IL_001d: newobj instance void class [System]System.Uri::'.ctor'(string) IL_0022: stloc.0 - IL_0023: br IL_010f - - IL_0028: ldnull + IL_0023: ldloc.0 + IL_0024: callvirt instance string class [System]System.Uri::get_AbsoluteUri() IL_0029: stloc.1 - IL_002a: ldarg.1 - IL_002b: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_0030: brfalse IL_0042 + IL_002a: ldarg.0 + IL_002b: ldloc.1 + IL_002c: call instance bool class NAnt.Core.LocationMap::FileIsMapped(string) + IL_0031: brfalse IL_004d - IL_0035: nop - IL_0036: newobj instance void class NAnt.Core.Element/AttributeConfigurator/EnumAttributeSetter::'.ctor'() - IL_003b: stloc.1 - IL_003c: nop - IL_003d: br IL_00f4 + IL_0036: nop + IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003c: ldstr "XML document '{0}' has already been mapped." + IL_0041: ldloc.1 + IL_0042: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0047: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_004c: throw + IL_004d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0052: stloc.2 + IL_0053: ldstr "/" + IL_0058: stloc.3 + IL_0059: ldstr "" + IL_005e: stloc.s 4 + IL_0060: ldc.i4.0 + IL_0061: stloc.s 5 + IL_0063: ldloc.1 + IL_0064: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(string) + IL_0069: stloc.s 6 + .try { // 0 + IL_006b: nop + IL_006c: ldloc.2 + IL_006d: ldstr "/" + IL_0072: ldc.i4.1 + IL_0073: ldc.i4.1 + IL_0074: newobj instance void valuetype NAnt.Core.LocationMap/TextPosition::'.ctor'(int32, int32) + IL_0079: box NAnt.Core.LocationMap/TextPosition + IL_007e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0083: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0088: stloc.s 7 + IL_008a: br IL_026a - IL_0042: ldarg.1 - IL_0043: ldtoken [mscorlib]System.Text.Encoding - IL_0048: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_004d: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0052: brfalse IL_0064 + IL_008f: nop + IL_0090: ldloc.s 6 + IL_0092: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_0097: ldc.i4.s 0x0d + IL_0099: beq IL_0269 - IL_0057: nop - IL_0058: newobj instance void class NAnt.Core.Element/AttributeConfigurator/EncodingAttributeSetter::'.ctor'() - IL_005d: stloc.1 - IL_005e: nop - IL_005f: br IL_00f4 + IL_009e: ldloc.s 6 + IL_00a0: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_00a5: ldc.i4.s 0x0f + IL_00a7: beq IL_0269 - IL_0064: ldarg.1 - IL_0065: ldtoken [mscorlib]System.IO.FileInfo - IL_006a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_006f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0074: brfalse IL_0086 + IL_00ac: ldloc.s 6 + IL_00ae: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_00b3: ldc.i4.7 + IL_00b4: beq IL_0269 - IL_0079: nop - IL_007a: newobj instance void class NAnt.Core.Element/AttributeConfigurator/FileAttributeSetter::'.ctor'() - IL_007f: stloc.1 - IL_0080: nop - IL_0081: br IL_00f4 + IL_00b9: ldloc.s 6 + IL_00bb: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_00c0: ldc.i4.s 0x11 + IL_00c2: beq IL_0269 - IL_0086: ldarg.1 - IL_0087: ldtoken [mscorlib]System.IO.DirectoryInfo - IL_008c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0091: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0096: brfalse IL_00a8 + IL_00c7: ldloc.s 6 + IL_00c9: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_00ce: ldc.i4.s 0x0a + IL_00d0: beq IL_0269 - IL_009b: nop - IL_009c: newobj instance void class NAnt.Core.Element/AttributeConfigurator/DirectoryAttributeSetter::'.ctor'() - IL_00a1: stloc.1 - IL_00a2: nop - IL_00a3: br IL_00f4 + IL_00d5: nop + IL_00d6: ldloc.s 6 + IL_00d8: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() + IL_00dd: stloc.s 8 + IL_00df: ldstr "" + IL_00e4: stloc.s 9 + IL_00e6: ldloc.s 6 + IL_00e8: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() + IL_00ed: ldloc.s 5 + IL_00ef: bge IL_0155 - IL_00a8: ldarg.1 - IL_00a9: ldtoken NAnt.Core.Types.PathSet - IL_00ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00b3: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00b8: brfalse IL_00ca + IL_00f4: nop + IL_00f5: ldloc.3 + IL_00f6: ldc.i4.s 0x2f + IL_00f8: ldc.i4.0 + IL_00f9: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_00fe: stloc.s 10 + IL_0100: ldstr "" + IL_0105: stloc.s 11 + IL_0107: ldc.i4.1 + IL_0108: stloc.s 12 + IL_010a: br IL_012a - IL_00bd: nop - IL_00be: newobj instance void class NAnt.Core.Element/AttributeConfigurator/PathSetAttributeSetter::'.ctor'() - IL_00c3: stloc.1 - IL_00c4: nop - IL_00c5: br IL_00f4 + IL_010f: nop + IL_0110: ldloc.s 11 + IL_0112: ldstr "/" + IL_0117: ldloc.s 10 + IL_0119: ldloc.s 12 + IL_011b: ldelem.ref + IL_011c: call string string::Concat(string, string, string) + IL_0121: stloc.s 11 + IL_0123: nop + IL_0124: ldloc.s 12 + IL_0126: ldc.i4.1 + IL_0127: add + IL_0128: stloc.s 12 + IL_012a: ldloc.s 12 + IL_012c: ldloc.s 8 + IL_012e: ldc.i4.1 + IL_012f: add + IL_0130: blt IL_010f - IL_00ca: ldarg.1 - IL_00cb: ldtoken [System]System.Uri - IL_00d0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00d5: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00da: brfalse IL_00ec + IL_0135: ldloc.s 11 + IL_0137: stloc.3 + IL_0138: ldloc.s 7 + IL_013a: ldloc.s 8 + IL_013c: ldc.i4.1 + IL_013d: add + IL_013e: ldloc.s 7 + IL_0140: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0145: ldloc.s 8 + IL_0147: ldc.i4.1 + IL_0148: add + IL_0149: sub + IL_014a: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveRange(int32, int32) + IL_014f: nop + IL_0150: br IL_0168 - IL_00df: nop - IL_00e0: newobj instance void class NAnt.Core.Element/AttributeConfigurator/UriAttributeSetter::'.ctor'() - IL_00e5: stloc.1 - IL_00e6: nop - IL_00e7: br IL_00f4 + IL_0155: ldloc.s 6 + IL_0157: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() + IL_015c: ldloc.s 5 + IL_015e: ble IL_0168 - IL_00ec: nop - IL_00ed: newobj instance void class NAnt.Core.Element/AttributeConfigurator/ConvertableAttributeSetter::'.ctor'() - IL_00f2: stloc.1 - IL_00f3: nop - IL_00f4: ldloc.1 - IL_00f5: brfalse IL_0108 + IL_0163: nop + IL_0164: ldloc.s 4 + IL_0166: stloc.3 + IL_0167: nop + IL_0168: ldloc.s 7 + IL_016a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_016f: stloc.s 13 + IL_0171: br IL_018c - IL_00fa: nop - IL_00fb: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters - IL_0100: ldarg.1 - IL_0101: ldloc.1 - IL_0102: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0107: nop - IL_0108: ldloc.1 - IL_0109: stloc.0 - IL_010a: br IL_010f + IL_0176: nop + IL_0177: ldloc.s 7 + IL_0179: ldc.i4.0 + IL_017a: box [mscorlib]System.Int32 + IL_017f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0184: pop + IL_0185: nop + IL_0186: ldloc.s 13 + IL_0188: ldc.i4.1 + IL_0189: add + IL_018a: stloc.s 13 + IL_018c: ldloc.s 13 + IL_018e: ldloc.s 8 + IL_0190: ldc.i4.1 + IL_0191: add + IL_0192: blt IL_0176 - IL_010f: ldloc.0 - IL_0110: ret - } // end of method AttributeConfigurator::CreateAttributeSetter + IL_0197: ldloc.s 7 + IL_0199: ldloc.s 8 + IL_019b: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_01a0: unbox.any [mscorlib]System.Int32 + IL_01a5: brtrue IL_01c0 - // method line 1823 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x4b85 - // Code size 31 (0x1f) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger - IL_0014: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0019: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters - IL_001e: ret - } // end of method AttributeConfigurator::.cctor + IL_01aa: nop + IL_01ab: ldloc.s 7 + IL_01ad: ldloc.s 8 + IL_01af: ldc.i4.1 + IL_01b0: box [mscorlib]System.Int32 + IL_01b5: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) + IL_01ba: nop + IL_01bb: br IL_01e0 - .property instance class NAnt.Core.Element Element () - { - .get instance default class NAnt.Core.Element NAnt.Core.Element/AttributeConfigurator::get_Element () - } - .property instance class NAnt.Core.Location Location () - { - .get instance default class NAnt.Core.Location NAnt.Core.Element/AttributeConfigurator::get_Location () - } - .property instance string Name () - { - .get instance default string NAnt.Core.Element/AttributeConfigurator::get_Name () - } - .property instance class NAnt.Core.Project Project () - { - .get instance default class NAnt.Core.Project NAnt.Core.Element/AttributeConfigurator::get_Project () - } - .property instance class [System.Xml]System.Xml.XmlNode ElementXml () - { - .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Element/AttributeConfigurator::get_ElementXml () - } - .property instance class NAnt.Core.PropertyDictionary Properties () - { - .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Element/AttributeConfigurator::get_Properties () - } - .property instance class NAnt.Core.FrameworkInfo TargetFramework () - { - .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.Element/AttributeConfigurator::get_TargetFramework () - } - .property instance class [System]System.Collections.Specialized.StringCollection UnprocessedAttributes () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes () - } - .property instance class [System]System.Collections.Specialized.StringCollection UnprocessedChildNodes () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes () - } - .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () - { - .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager () - } - .class nested private auto ansi beforefieldinit EnumAttributeSetter - extends [mscorlib]System.Object - implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + IL_01c0: nop + IL_01c1: ldloc.s 7 + IL_01c3: ldloc.s 8 + IL_01c5: ldloc.s 7 + IL_01c7: ldloc.s 8 + IL_01c9: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_01ce: unbox.any [mscorlib]System.Int32 + IL_01d3: ldc.i4.1 + IL_01d4: add + IL_01d5: box [mscorlib]System.Int32 + IL_01da: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) + IL_01df: nop + IL_01e0: ldloc.3 + IL_01e1: ldstr "/" + IL_01e6: callvirt instance bool string::EndsWith(string) + IL_01eb: brfalse IL_01fa - // method line 1824 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x4ba5 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method EnumAttributeSetter::.ctor + IL_01f0: nop + IL_01f1: ldloc.3 + IL_01f2: stloc.s 9 + IL_01f4: nop + IL_01f5: br IL_0209 - // method line 1825 - .method public final virtual hidebysig newslot - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + IL_01fa: nop + IL_01fb: ldloc.3 + IL_01fc: ldstr "/" + IL_0201: call string string::Concat(string, string) + IL_0206: stloc.s 9 + IL_0208: nop + IL_0209: ldloc.s 9 + IL_020b: stloc.s 14 + IL_020d: ldc.i4.4 + IL_020e: newarr [mscorlib]System.Object + IL_0213: dup + IL_0214: ldc.i4.0 + IL_0215: ldloc.s 14 + IL_0217: stelem.ref + IL_0218: dup + IL_0219: ldc.i4.1 + IL_021a: ldstr "child::node()[" + IL_021f: stelem.ref + IL_0220: dup + IL_0221: ldc.i4.2 + IL_0222: ldloc.s 7 + IL_0224: ldloc.s 8 + IL_0226: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_022b: stelem.ref + IL_022c: dup + IL_022d: ldc.i4.3 + IL_022e: ldstr "]" + IL_0233: stelem.ref + IL_0234: call string string::Concat(object[]) + IL_0239: stloc.s 9 + IL_023b: ldloc.2 + IL_023c: ldloc.s 9 + IL_023e: ldloc.s 6 + IL_0240: callvirt instance int32 class [System.Xml]System.Xml.XmlTextReader::get_LineNumber() + IL_0245: ldloc.s 6 + IL_0247: callvirt instance int32 class [System.Xml]System.Xml.XmlTextReader::get_LinePosition() + IL_024c: newobj instance void valuetype NAnt.Core.LocationMap/TextPosition::'.ctor'(int32, int32) + IL_0251: box NAnt.Core.LocationMap/TextPosition + IL_0256: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_025b: ldloc.s 9 + IL_025d: stloc.s 4 + IL_025f: ldloc.s 6 + IL_0261: callvirt instance int32 class [System.Xml]System.Xml.XmlReader::get_Depth() + IL_0266: stloc.s 5 + IL_0268: nop + IL_0269: nop + IL_026a: ldloc.s 6 + IL_026c: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() + IL_0271: brtrue IL_008f + + IL_0276: nop + IL_0277: leave IL_0286 + + } // end .try 0 + finally { // 0 + IL_027c: nop + IL_027d: ldloc.s 6 + IL_027f: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() + IL_0284: nop + IL_0285: endfinally + } // end handler 0 + IL_0286: ldarg.0 + IL_0287: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap + IL_028c: ldloc.1 + IL_028d: ldloc.2 + IL_028e: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0293: ret + } // end of method LocationMap::Add + + // method line 1877 + .method public hidebysig + instance default class NAnt.Core.Location GetLocation (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x4bb0 - // Code size 124 (0x7c) - .maxstack 7 + // Method begins at RVA 0x24d3c + // Code size 170 (0xaa) + .maxstack 3 .locals init ( - object V_0, - class [System]System.ComponentModel.TypeConverter V_1) + class NAnt.Core.Location V_0, + class [System]System.Uri V_1, + string V_2, + class [mscorlib]System.Collections.Hashtable V_3, + string V_4, + valuetype NAnt.Core.LocationMap/TextPosition V_5, + class NAnt.Core.Location V_6) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.3 - IL_0003: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0008: call class [System]System.ComponentModel.TypeConverter class [System]System.ComponentModel.TypeDescriptor::GetConverter(class [mscorlib]System.Type) - IL_000d: stloc.1 - IL_000e: ldloc.1 - IL_000f: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0014: ldtoken [System]System.ComponentModel.EnumConverter - IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_001e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0023: brtrue IL_0038 + IL_0001: ldarg.1 + IL_0002: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: brfalse IL_001c - IL_0028: nop - IL_0029: ldloc.1 - IL_002a: ldarg.s 4 - IL_002c: callvirt instance object class [System]System.ComponentModel.TypeConverter::ConvertFrom(object) - IL_0031: stloc.0 - IL_0032: nop - IL_0033: br IL_0048 + IL_0011: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0016: stloc.0 + IL_0017: br IL_00a8 - IL_0038: nop - IL_0039: ldarg.3 - IL_003a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_003f: ldarg.s 4 - IL_0041: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string) - IL_0046: stloc.0 - IL_0047: nop - IL_0048: ldarg.3 - IL_0049: ldarg.2 - IL_004a: ldloc.0 - IL_004b: ldc.i4.s 0x14 - IL_004d: ldnull - IL_004e: ldnull - IL_004f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0054: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0059: nop - IL_005a: leave IL_007b + IL_001c: ldarg.1 + IL_001d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() + IL_0022: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0027: stloc.1 + IL_0028: ldloc.1 + IL_0029: callvirt instance string class [System]System.Uri::get_AbsoluteUri() + IL_002e: stloc.2 + IL_002f: ldarg.0 + IL_0030: ldloc.2 + IL_0031: call instance bool class NAnt.Core.LocationMap::FileIsMapped(string) + IL_0036: brtrue IL_0047 - } // end .try 0 - catch class [mscorlib]System.FormatException { // 0 - IL_005f: pop - IL_0060: nop - IL_0061: ldarg.0 - IL_0062: ldarg.1 - IL_0063: ldarg.2 - IL_0064: ldarg.3 - IL_0065: ldarg.s 4 - IL_0067: call instance class NAnt.Core.BuildException class NAnt.Core.Element/AttributeConfigurator/EnumAttributeSetter::CreateBuildException(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Reflection.PropertyInfo, string) - IL_006c: throw - } // end handler 0 - catch class [mscorlib]System.ArgumentException { // 1 - IL_006d: pop - IL_006e: nop - IL_006f: ldarg.0 - IL_0070: ldarg.1 - IL_0071: ldarg.2 - IL_0072: ldarg.3 - IL_0073: ldarg.s 4 - IL_0075: call instance class NAnt.Core.BuildException class NAnt.Core.Element/AttributeConfigurator/EnumAttributeSetter::CreateBuildException(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Reflection.PropertyInfo, string) - IL_007a: throw - } // end handler 1 - IL_007b: ret - } // end of method EnumAttributeSetter::Set + IL_003b: nop + IL_003c: ldstr "Xml node has not been mapped." + IL_0041: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0046: throw + IL_0047: ldarg.0 + IL_0048: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.LocationMap::_fileMap + IL_004d: ldloc.2 + IL_004e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0053: castclass [mscorlib]System.Collections.Hashtable + IL_0058: stloc.3 + IL_0059: ldarg.0 + IL_005a: ldarg.1 + IL_005b: call instance string class NAnt.Core.LocationMap::GetXPathFromNode(class [System.Xml]System.Xml.XmlNode) + IL_0060: stloc.s 4 + IL_0062: ldloc.3 + IL_0063: ldloc.s 4 + IL_0065: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_006a: brtrue IL_007b - // method line 1826 + IL_006f: nop + IL_0070: ldstr "Xml node has not been mapped." + IL_0075: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_007a: throw + IL_007b: ldloc.3 + IL_007c: ldloc.s 4 + IL_007e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0083: unbox.any NAnt.Core.LocationMap/TextPosition + IL_0088: stloc.s 5 + IL_008a: ldloc.2 + IL_008b: ldloca.s 5 + IL_008d: ldfld int32 NAnt.Core.LocationMap/TextPosition::Line + IL_0092: ldloca.s 5 + IL_0094: ldfld int32 NAnt.Core.LocationMap/TextPosition::Column + IL_0099: newobj instance void class NAnt.Core.Location::'.ctor'(string, int32, int32) + IL_009e: stloc.s 6 + IL_00a0: ldloc.s 6 + IL_00a2: stloc.0 + IL_00a3: br IL_00a8 + + IL_00a8: ldloc.0 + IL_00a9: ret + } // end of method LocationMap::GetLocation + + // method line 1878 .method private hidebysig - instance default class NAnt.Core.BuildException CreateBuildException (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + instance default string GetXPathFromNode (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x4c54 - // Code size 197 (0xc5) - .maxstack 6 + // Method begins at RVA 0x24df4 + // Code size 246 (0xf6) + .maxstack 3 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - object V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - string V_4, - class NAnt.Core.BuildException V_5) + class [System.Xml]System.Xml.XPath.XPathNavigator V_0, + string V_1, + int32 V_2, + class [System.Xml]System.Xml.XPath.XPathNavigator V_3, + int32 V_4, + string V_5, + valuetype [System.Xml]System.Xml.XPath.XPathNodeType V_6, + string V_7) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.3 - IL_0009: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_000e: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) - IL_0013: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() - IL_0018: stloc.2 - .try { // 0 - IL_0019: br IL_004e + IL_0001: ldarg.1 + IL_0002: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XmlNode::CreateNavigator() + IL_0007: stloc.0 + IL_0008: ldstr "" + IL_000d: stloc.1 + IL_000e: ldc.i4.0 + IL_000f: stloc.2 + IL_0010: br IL_00b6 - IL_001e: ldloc.2 - IL_001f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0024: stloc.1 - IL_0025: nop - IL_0026: ldloc.0 - IL_0027: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_002c: ldc.i4.0 - IL_002d: ble IL_0040 + IL_0015: nop + IL_0016: ldloc.0 + IL_0017: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNavigator::Clone() + IL_001c: stloc.3 + IL_001d: ldloc.3 + IL_001e: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToParent() + IL_0023: pop + IL_0024: ldc.i4.0 + IL_0025: stloc.s 4 + IL_0027: ldloc.3 + IL_0028: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToFirstChild() + IL_002d: pop + IL_002e: ldloc.3 + IL_002f: ldloc.0 + IL_0030: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::IsSamePosition(class [System.Xml]System.Xml.XPath.XPathNavigator) + IL_0035: brfalse IL_003f - IL_0032: nop - IL_0033: ldloc.0 - IL_0034: ldstr ", " - IL_0039: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_003e: pop - IL_003f: nop - IL_0040: ldloc.0 - IL_0041: ldloc.1 - IL_0042: callvirt instance string object::ToString() - IL_0047: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_004c: pop - IL_004d: nop - IL_004e: ldloc.2 - IL_004f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0054: brtrue IL_001e + IL_003a: nop + IL_003b: ldloc.s 4 + IL_003d: stloc.2 + IL_003e: nop + IL_003f: br IL_005d - IL_0059: leave IL_0072 + IL_0044: nop + IL_0045: ldloc.s 4 + IL_0047: ldc.i4.1 + IL_0048: add + IL_0049: stloc.s 4 + IL_004b: ldloc.3 + IL_004c: ldloc.0 + IL_004d: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::IsSamePosition(class [System.Xml]System.Xml.XPath.XPathNavigator) + IL_0052: brfalse IL_005c - } // end .try 0 - finally { // 0 - IL_005e: ldloc.2 - IL_005f: isinst [mscorlib]System.IDisposable - IL_0064: dup - IL_0065: stloc.3 - IL_0066: brfalse IL_0071 + IL_0057: nop + IL_0058: ldloc.s 4 + IL_005a: stloc.2 + IL_005b: nop + IL_005c: nop + IL_005d: ldloc.3 + IL_005e: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToNext() + IL_0063: brtrue IL_0044 - IL_006b: ldloc.3 - IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0071: endfinally - } // end handler 0 - IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0077: ldstr "NA1023" - IL_007c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0081: ldc.i4.4 - IL_0082: newarr [mscorlib]System.Object - IL_0087: dup - IL_0088: ldc.i4.0 - IL_0089: ldarg.s 4 - IL_008b: stelem.ref - IL_008c: dup - IL_008d: ldc.i4.1 - IL_008e: ldarg.1 - IL_008f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0094: stelem.ref - IL_0095: dup - IL_0096: ldc.i4.2 - IL_0097: ldarg.2 - IL_0098: callvirt instance string class NAnt.Core.Element::get_Name() - IL_009d: stelem.ref - IL_009e: dup - IL_009f: ldc.i4.3 - IL_00a0: ldloc.0 - IL_00a1: callvirt instance string object::ToString() - IL_00a6: stelem.ref - IL_00a7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_00ac: stloc.s 4 - IL_00ae: ldloc.s 4 - IL_00b0: ldarg.2 - IL_00b1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00b6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00bb: stloc.s 5 - IL_00bd: br IL_00c2 + IL_0068: ldloc.0 + IL_0069: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNavigator::MoveToParent() + IL_006e: pop + IL_006f: ldloc.2 + IL_0070: ldc.i4.1 + IL_0071: add + IL_0072: stloc.2 + IL_0073: ldstr "child::node()[" + IL_0078: ldloca.s 2 + IL_007a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007f: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_0084: ldstr "]" + IL_0089: call string string::Concat(string, string, string) + IL_008e: stloc.s 5 + IL_0090: ldloc.1 + IL_0091: callvirt instance int32 string::get_Length() + IL_0096: brtrue IL_00a5 - IL_00c2: ldloc.s 5 - IL_00c4: ret - } // end of method EnumAttributeSetter::CreateBuildException + IL_009b: nop + IL_009c: ldloc.s 5 + IL_009e: stloc.1 + IL_009f: nop + IL_00a0: br IL_00b5 - } // end of class EnumAttributeSetter + IL_00a5: nop + IL_00a6: ldloc.s 5 + IL_00a8: ldstr "/" + IL_00ad: ldloc.1 + IL_00ae: call string string::Concat(string, string, string) + IL_00b3: stloc.1 + IL_00b4: nop + IL_00b5: nop + IL_00b6: ldloc.0 + IL_00b7: callvirt instance valuetype [System.Xml]System.Xml.XPath.XPathNodeType class [System.Xml]System.Xml.XPath.XPathNavigator::get_NodeType() + IL_00bc: stloc.s 6 + IL_00be: ldloca.s 6 + IL_00c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c5: constrained. [System.Xml]System.Xml.XPath.XPathNodeType + IL_00cb: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) + IL_00d0: ldstr "Root" + IL_00d5: call bool string::op_Inequality(string, string) + IL_00da: brtrue IL_0015 - .class nested private auto ansi beforefieldinit EncodingAttributeSetter - extends [mscorlib]System.Object - implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + IL_00df: ldstr "/" + IL_00e4: ldloc.1 + IL_00e5: call string string::Concat(string, string) + IL_00ea: stloc.1 + IL_00eb: ldloc.1 + IL_00ec: stloc.s 7 + IL_00ee: br IL_00f3 - // method line 1827 + IL_00f3: ldloc.s 7 + IL_00f5: ret + } // end of method LocationMap::GetXPathFromNode + + .class nested private sequential ansi sealed serializable beforefieldinit TextPosition + extends [mscorlib]System.ValueType + { + .field public int32 Line + .field public int32 Column + + // method line 1879 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 line, int32 column) cil managed + { + // Method begins at RVA 0x24ef6 + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.LocationMap/TextPosition::Line + IL_0008: ldarg.0 + IL_0009: ldarg.2 + IL_000a: stfld int32 NAnt.Core.LocationMap/TextPosition::Column + IL_000f: ret + } // end of method TextPosition::.ctor + + } // end of class TextPosition + + } // end of class NAnt.Core.LocationMap +} + +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit TaskContainer + extends NAnt.Core.Task + { + .field private class [System]System.Collections.Specialized.StringCollection _subXMLElements + + // method line 1880 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4d38 + // Method begins at RVA 0x6848 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() IL_0006: ret - } // end of method EncodingAttributeSetter::.ctor + } // end of method TaskContainer::.ctor - // method line 1828 - .method public final virtual hidebysig newslot - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + // method line 1881 + .method family virtual hidebysig specialname + instance default bool get_CustomXmlProcessing () cil managed { - // Method begins at RVA 0x4d40 - // Code size 181 (0xb5) - .maxstack 7 + // Method begins at RVA 0x6850 + // Code size 10 (0xa) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.Text.Encoding V_1, - class [mscorlib]System.Exception V_2) + bool V_0) IL_0000: nop - IL_0001: ldarg.s 4 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: brtrue IL_0015 - - IL_000f: nop - IL_0010: br IL_00b4 - - IL_0015: ldnull - IL_0016: stloc.1 - .try { // 0 - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(string) - IL_001e: stloc.1 - IL_001f: nop - IL_0020: leave IL_006b - - } // end .try 0 - catch class [mscorlib]System.ArgumentException { // 0 - IL_0025: pop - IL_0026: nop - IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002c: ldstr "NA1191" - IL_0031: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0036: ldloc.0 - IL_0037: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_003c: ldarg.2 - IL_003d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0042: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0047: throw - } // end handler 0 - catch class [mscorlib]System.NotSupportedException { // 1 - IL_0048: pop - IL_0049: nop - IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004f: ldstr "NA1192" - IL_0054: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0059: ldloc.0 - IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005f: ldarg.2 - IL_0060: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0065: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_006a: throw - } // end handler 1 - .try { // 2 - IL_006b: nop - IL_006c: ldarg.3 - IL_006d: ldarg.2 - IL_006e: ldloc.1 - IL_006f: ldc.i4.s 0x14 - IL_0071: ldnull - IL_0072: ldnull - IL_0073: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0078: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_007d: nop - IL_007e: leave IL_00b4 - - } // end .try 2 - catch class [mscorlib]System.Exception { // 2 - IL_0083: stloc.2 - IL_0084: nop - IL_0085: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_008a: ldstr "NA1022" - IL_008f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0094: ldarg.s 4 - IL_0096: ldarg.1 - IL_0097: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_009c: ldarg.2 - IL_009d: callvirt instance string class NAnt.Core.Element::get_Name() - IL_00a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_00a7: ldarg.2 - IL_00a8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00ad: ldloc.2 - IL_00ae: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00b3: throw - } // end handler 2 - IL_00b4: ret - } // end of method EncodingAttributeSetter::Set - - } // end of class EncodingAttributeSetter - - .class nested private auto ansi beforefieldinit FileAttributeSetter - extends [mscorlib]System.Object - implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - // method line 1829 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x4e2c - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method FileAttributeSetter::.ctor + IL_0008: ldloc.0 + IL_0009: ret + } // end of method TaskContainer::get_CustomXmlProcessing - // method line 1830 - .method public final virtual hidebysig newslot - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + // method line 1882 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x4e34 - // Code size 216 (0xd8) - .maxstack 7 + // Method begins at RVA 0x6868 + // Code size 141 (0x8d) + .maxstack 3 .locals init ( - string V_0, - object V_1, - class [mscorlib]System.Exception V_2, - class [mscorlib]System.Exception V_3) + class [mscorlib]System.Reflection.MemberInfo V_0, + class [mscorlib]System.Reflection.MemberInfo[] V_1, + int32 V_2, + class NAnt.Core.Attributes.BuildElementAttribute V_3) IL_0000: nop - IL_0001: ldarg.s 4 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: brfalse IL_00aa - - IL_000f: nop - .try { // 0 - IL_0010: nop - IL_0011: ldarg.2 - IL_0012: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0017: ldarg.s 4 - IL_0019: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_001e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0023: stloc.1 - IL_0024: nop - IL_0025: leave IL_005b + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.Task::Initialize() + IL_0007: ldarg.0 + IL_0008: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_000d: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance class [mscorlib]System.Type object::GetType() + IL_0019: ldc.i4.s 0x14 + IL_001b: callvirt instance class [mscorlib]System.Reflection.MemberInfo[] class [mscorlib]System.Type::GetMembers(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0020: stloc.1 + IL_0021: ldc.i4.0 + IL_0022: stloc.2 + IL_0023: br IL_0083 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_002a: stloc.2 - IL_002b: nop - IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0031: ldstr "NA1022" - IL_0036: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_003b: ldarg.s 4 - IL_003d: ldarg.1 - IL_003e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0043: ldarg.2 - IL_0044: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0049: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_004e: ldarg.2 - IL_004f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0054: ldloc.2 - IL_0055: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_005a: throw - } // end handler 0 - .try { // 1 - IL_005b: nop - IL_005c: ldarg.3 - IL_005d: ldarg.2 - IL_005e: ldloc.1 - IL_005f: ldc.i4.s 0x14 - IL_0061: ldnull - IL_0062: ldnull - IL_0063: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0068: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_006d: nop - IL_006e: leave IL_00a4 + IL_0028: ldloc.1 + IL_0029: ldloc.2 + IL_002a: ldelem.ref + IL_002b: stloc.0 + IL_002c: nop + IL_002d: ldloc.0 + IL_002e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_0033: ldtoken [mscorlib]System.Object + IL_0038: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003d: callvirt instance bool class [mscorlib]System.Type::Equals(class [mscorlib]System.Type) + IL_0042: brfalse IL_004d - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_0073: stloc.3 - IL_0074: nop - IL_0075: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007a: ldstr "NA1022" - IL_007f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0084: ldarg.s 4 - IL_0086: ldarg.1 - IL_0087: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_008c: ldarg.2 - IL_008d: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0092: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0097: ldarg.2 - IL_0098: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_009d: ldloc.3 - IL_009e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00a3: throw - } // end handler 1 - IL_00a4: nop - IL_00a5: br IL_00d7 + IL_0047: nop + IL_0048: br IL_007f - IL_00aa: nop - IL_00ab: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00b0: ldstr "NA1193" - IL_00b5: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ba: ldarg.1 - IL_00bb: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00c0: ldarg.2 - IL_00c1: callvirt instance string class NAnt.Core.Element::get_Name() - IL_00c6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00cb: ldarg.2 - IL_00cc: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00d6: throw - IL_00d7: ret - } // end of method FileAttributeSetter::Set + IL_004d: ldloc.0 + IL_004e: ldtoken NAnt.Core.Attributes.BuildElementAttribute + IL_0053: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0058: ldc.i4.1 + IL_0059: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_005e: castclass NAnt.Core.Attributes.BuildElementAttribute + IL_0063: stloc.3 + IL_0064: ldloc.3 + IL_0065: brfalse IL_007e - } // end of class FileAttributeSetter + IL_006a: nop + IL_006b: ldarg.0 + IL_006c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_0071: ldloc.3 + IL_0072: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0077: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_007c: pop + IL_007d: nop + IL_007e: nop + IL_007f: ldloc.2 + IL_0080: ldc.i4.1 + IL_0081: add + IL_0082: stloc.2 + IL_0083: ldloc.2 + IL_0084: ldloc.1 + IL_0085: ldlen + IL_0086: conv.i4 + IL_0087: blt IL_0028 - .class nested private auto ansi beforefieldinit DirectoryAttributeSetter - extends [mscorlib]System.Object - implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + IL_008c: ret + } // end of method TaskContainer::Initialize - // method line 1831 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1883 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x4f34 - // Code size 7 (0x7) + // Method begins at RVA 0x6901 + // Code size 8 (0x8) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method DirectoryAttributeSetter::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance void class NAnt.Core.TaskContainer::ExecuteChildTasks() + IL_0007: ret + } // end of method TaskContainer::ExecuteTask - // method line 1832 - .method public final virtual hidebysig newslot - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + // method line 1884 + .method family virtual hidebysig newslot + instance default void ExecuteChildTasks () cil managed { - // Method begins at RVA 0x4f3c - // Code size 160 (0xa0) + // Method begins at RVA 0x690c + // Code size 400 (0x190) .maxstack 7 .locals init ( - string V_0, - object V_1, - class [mscorlib]System.Exception V_2) + class [System.Xml]System.Xml.XmlNode V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Task V_2, + class NAnt.Core.DataTypeBase V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop - IL_0001: ldarg.s 4 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: brfalse IL_0072 - - IL_000f: nop + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0008: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() + IL_000d: stloc.1 .try { // 0 - IL_0010: nop - IL_0011: ldarg.2 - IL_0012: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0017: ldarg.s 4 - IL_0019: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_001e: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0023: stloc.1 - IL_0024: ldarg.3 - IL_0025: ldarg.2 - IL_0026: ldloc.1 - IL_0027: ldc.i4.s 0x14 - IL_0029: ldnull - IL_002a: ldnull - IL_002b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0030: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0035: nop - IL_0036: leave IL_006c - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_003b: stloc.2 - IL_003c: nop - IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0042: ldstr "NA1022" - IL_0047: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004c: ldarg.s 4 - IL_004e: ldarg.1 - IL_004f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0054: ldarg.2 - IL_0055: callvirt instance string class NAnt.Core.Element::get_Name() - IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_005f: ldarg.2 - IL_0060: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0065: ldloc.2 - IL_0066: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_006b: throw - } // end handler 0 - IL_006c: nop - IL_006d: br IL_009f + IL_000e: br IL_0169 - IL_0072: nop - IL_0073: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0078: ldstr "NA1193" - IL_007d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0082: ldarg.1 - IL_0083: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0088: ldarg.2 - IL_0089: callvirt instance string class NAnt.Core.Element::get_Name() - IL_008e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0093: ldarg.2 - IL_0094: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0099: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_009e: throw - IL_009f: ret - } // end of method DirectoryAttributeSetter::Set + IL_0013: ldloc.1 + IL_0014: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0019: castclass [System.Xml]System.Xml.XmlNode + IL_001e: stloc.0 + IL_001f: nop + IL_0020: ldloc.0 + IL_0021: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_0026: ldc.i4.1 + IL_0027: bne.un IL_004c - } // end of class DirectoryAttributeSetter + IL_002c: ldloc.0 + IL_002d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_0032: ldarg.0 + IL_0033: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_0038: ldstr "nant" + IL_003d: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_0042: callvirt instance bool string::Equals(string) + IL_0047: brtrue IL_0052 - .class nested private auto ansi beforefieldinit PathSetAttributeSetter - extends [mscorlib]System.Object - implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + IL_004c: nop + IL_004d: leave IL_0169 - // method line 1833 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x4ff8 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method PathSetAttributeSetter::.ctor + IL_0052: ldarg.0 + IL_0053: ldloc.0 + IL_0054: callvirt instance bool class NAnt.Core.TaskContainer::IsPrivateXmlElement(class [System.Xml]System.Xml.XmlNode) + IL_0059: brfalse IL_0064 - // method line 1834 - .method public final virtual hidebysig newslot - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed - { - // Method begins at RVA 0x5000 - // Code size 89 (0x59) - .maxstack 7 - .locals init ( - class NAnt.Core.Types.PathSet V_0, - class [mscorlib]System.Exception V_1) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.2 - IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0008: ldarg.s 4 - IL_000a: newobj instance void class NAnt.Core.Types.PathSet::'.ctor'(class NAnt.Core.Project, string) - IL_000f: stloc.0 - IL_0010: ldarg.3 - IL_0011: ldarg.2 - IL_0012: ldloc.0 - IL_0013: ldc.i4.s 0x14 - IL_0015: ldnull - IL_0016: ldnull - IL_0017: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001c: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0021: nop - IL_0022: leave IL_0058 + IL_005e: nop + IL_005f: leave IL_0169 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0027: stloc.1 - IL_0028: nop - IL_0029: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002e: ldstr "NA1022" - IL_0033: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0038: ldarg.s 4 - IL_003a: ldarg.1 - IL_003b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0040: ldarg.2 - IL_0041: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0046: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_004b: ldarg.2 - IL_004c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0051: ldloc.1 - IL_0052: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0057: throw - } // end handler 0 - IL_0058: ret - } // end of method PathSetAttributeSetter::Set + IL_0064: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0069: ldloc.0 + IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_006f: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) + IL_0074: brfalse IL_009d - } // end of class PathSetAttributeSetter + IL_0079: nop + IL_007a: ldarg.0 + IL_007b: ldloc.0 + IL_007c: callvirt instance class NAnt.Core.Task class NAnt.Core.TaskContainer::CreateChildTask(class [System.Xml]System.Xml.XmlNode) + IL_0081: stloc.2 + IL_0082: ldloc.2 + IL_0083: brfalse IL_0097 - .class nested private auto ansi beforefieldinit UriAttributeSetter - extends [mscorlib]System.Object - implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + IL_0088: nop + IL_0089: ldloc.2 + IL_008a: ldarg.0 + IL_008b: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0090: ldloc.2 + IL_0091: callvirt instance void class NAnt.Core.Task::Execute() + IL_0096: nop + IL_0097: nop + IL_0098: br IL_0168 - // method line 1835 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x5078 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method UriAttributeSetter::.ctor + IL_009d: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_00a2: ldloc.0 + IL_00a3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00a8: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) + IL_00ad: brfalse IL_013b - // method line 1836 - .method public final virtual hidebysig newslot - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed - { - // Method begins at RVA 0x5080 - // Code size 238 (0xee) - .maxstack 7 - .locals init ( - string V_0, - class [System]System.Uri V_1, - class [mscorlib]System.Exception V_2, - class [mscorlib]System.Exception V_3) - IL_0000: nop - IL_0001: ldarg.s 4 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: brfalse IL_00c0 + IL_00b2: nop + IL_00b3: ldarg.0 + IL_00b4: ldloc.0 + IL_00b5: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.TaskContainer::CreateChildDataTypeBase(class [System.Xml]System.Xml.XmlNode) + IL_00ba: stloc.3 + IL_00bb: ldarg.0 + IL_00bc: ldc.i4 1000 + IL_00c1: ldstr "Adding a {0} reference with id '{1}'." + IL_00c6: ldc.i4.2 + IL_00c7: newarr [mscorlib]System.Object + IL_00cc: dup + IL_00cd: ldc.i4.0 + IL_00ce: ldloc.0 + IL_00cf: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00d4: stelem.ref + IL_00d5: dup + IL_00d6: ldc.i4.1 + IL_00d7: ldloc.3 + IL_00d8: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_00dd: stelem.ref + IL_00de: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00e3: ldarg.0 + IL_00e4: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00e9: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_00ee: ldloc.3 + IL_00ef: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_00f4: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) + IL_00f9: brtrue IL_011c - IL_000f: nop - IL_0010: ldarg.s 4 - IL_0012: ldsfld string [System]System.Uri::SchemeDelimiter - IL_0017: callvirt instance int32 string::IndexOf(string) - IL_001c: ldc.i4.m1 - IL_001d: bne.un IL_0032 + IL_00fe: nop + IL_00ff: ldarg.0 + IL_0100: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0105: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_010a: ldloc.3 + IL_010b: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_0110: ldloc.3 + IL_0111: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) + IL_0116: nop + IL_0117: br IL_0135 - IL_0022: nop - IL_0023: ldarg.2 - IL_0024: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0029: ldarg.s 4 - IL_002b: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_0030: stloc.0 - IL_0031: nop - .try { // 0 - IL_0032: nop - IL_0033: ldloc.0 - IL_0034: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0039: stloc.1 - IL_003a: nop - IL_003b: leave IL_0071 + IL_011c: nop + IL_011d: ldarg.0 + IL_011e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0123: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_0128: ldloc.3 + IL_0129: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_012e: ldloc.3 + IL_012f: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) + IL_0134: nop + IL_0135: nop + IL_0136: br IL_0168 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0040: stloc.2 - IL_0041: nop - IL_0042: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0047: ldstr "NA1022" - IL_004c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0051: ldarg.s 4 - IL_0053: ldarg.1 - IL_0054: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0059: ldarg.2 - IL_005a: callvirt instance string class NAnt.Core.Element::get_Name() - IL_005f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0064: ldarg.2 - IL_0065: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_006a: ldloc.2 - IL_006b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0070: throw - } // end handler 0 - .try { // 1 - IL_0071: nop - IL_0072: ldarg.3 - IL_0073: ldarg.2 - IL_0074: ldloc.1 - IL_0075: ldc.i4.s 0x14 - IL_0077: ldnull - IL_0078: ldnull - IL_0079: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007e: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0083: nop - IL_0084: leave IL_00ba + IL_013b: nop + IL_013c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0141: ldstr "NA1071" + IL_0146: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_014b: ldloc.0 + IL_014c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0151: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0156: ldarg.0 + IL_0157: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_015c: ldloc.0 + IL_015d: callvirt instance class NAnt.Core.Location class NAnt.Core.Project::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_0162: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0167: throw + IL_0168: nop + IL_0169: ldloc.1 + IL_016a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_016f: brtrue IL_0013 - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_0089: stloc.3 - IL_008a: nop - IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0090: ldstr "NA1022" - IL_0095: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009a: ldarg.s 4 - IL_009c: ldarg.1 - IL_009d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00a2: ldarg.2 - IL_00a3: callvirt instance string class NAnt.Core.Element::get_Name() - IL_00a8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_00ad: ldarg.2 - IL_00ae: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00b3: ldloc.3 - IL_00b4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00b9: throw - } // end handler 1 - IL_00ba: nop - IL_00bb: br IL_00ed + IL_0174: leave IL_018f - IL_00c0: nop - IL_00c1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c6: ldstr "NA1193" - IL_00cb: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00d0: ldarg.1 - IL_00d1: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00d6: ldarg.2 - IL_00d7: callvirt instance string class NAnt.Core.Element::get_Name() - IL_00dc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00e1: ldarg.2 - IL_00e2: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00e7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00ec: throw - IL_00ed: ret - } // end of method UriAttributeSetter::Set + } // end .try 0 + finally { // 0 + IL_0179: ldloc.1 + IL_017a: isinst [mscorlib]System.IDisposable + IL_017f: dup + IL_0180: stloc.s 4 + IL_0182: brfalse IL_018e - } // end of class UriAttributeSetter + IL_0187: ldloc.s 4 + IL_0189: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_018e: endfinally + } // end handler 0 + IL_018f: ret + } // end of method TaskContainer::ExecuteChildTasks - .class nested private auto ansi beforefieldinit ConvertableAttributeSetter - extends [mscorlib]System.Object - implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + // method line 1885 + .method family virtual hidebysig newslot + instance default class NAnt.Core.Task CreateChildTask (class [System.Xml]System.Xml.XmlNode node) cil managed + { + // Method begins at RVA 0x6ac4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + class NAnt.Core.Task V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 1837 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TaskContainer::CreateChildTask + + // method line 1886 + .method family virtual hidebysig newslot + instance default class NAnt.Core.DataTypeBase CreateChildDataTypeBase (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x5198 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method ConvertableAttributeSetter::.ctor + // Method begins at RVA 0x6ae8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + class NAnt.Core.DataTypeBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 1838 - .method public final virtual hidebysig newslot - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TaskContainer::CreateChildDataTypeBase + + // method line 1887 + .method family virtual hidebysig newslot + instance default bool IsPrivateXmlElement (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x51a0 - // Code size 94 (0x5e) - .maxstack 7 + // Method begins at RVA 0x6b0c + // Code size 40 (0x28) + .maxstack 2 .locals init ( - object V_0, - class [mscorlib]System.Exception V_1) + bool V_0) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.s 4 - IL_0004: ldarg.3 - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_000a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000f: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) - IL_0014: stloc.0 - IL_0015: ldarg.3 - IL_0016: ldarg.2 - IL_0017: ldloc.0 - IL_0018: ldc.i4.s 0x14 - IL_001a: ldnull - IL_001b: ldnull - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_0026: nop - IL_0027: leave IL_005d + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_0007: brfalse IL_001f - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_002c: stloc.1 - IL_002d: nop - IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0033: ldstr "NA1022" - IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_003d: ldarg.s 4 - IL_003f: ldarg.1 - IL_0040: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0045: ldarg.2 - IL_0046: callvirt instance string class NAnt.Core.Element::get_Name() - IL_004b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0050: ldarg.2 - IL_0051: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0056: ldloc.1 - IL_0057: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_005c: throw - } // end handler 0 - IL_005d: ret - } // end of method ConvertableAttributeSetter::Set + IL_000c: ldarg.0 + IL_000d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_0012: ldarg.1 + IL_0013: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0018: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_001d: br.s IL_0020 - } // end of class ConvertableAttributeSetter + IL_001f: ldc.i4.0 + IL_0020: stloc.0 + IL_0021: br IL_0026 - .class interface nested private auto ansi abstract IAttributeSetter - { + IL_0026: ldloc.0 + IL_0027: ret + } // end of method TaskContainer::IsPrivateXmlElement - // method line 1839 - .method public virtual hidebysig newslot abstract - instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + // method line 1888 + .method family virtual hidebysig newslot + instance default void AddPrivateXmlElementName (string name) cil managed { - // Method begins at RVA 0x0 - } // end of method IAttributeSetter::Set + // Method begins at RVA 0x6b40 + // Code size 58 (0x3a) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_0007: brtrue IL_0019 - } // end of class IAttributeSetter + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0013: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_001f: ldarg.1 + IL_0020: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_0025: brtrue IL_0039 - } // end of class AttributeConfigurator + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements + IL_0031: ldarg.1 + IL_0032: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0037: pop + IL_0038: nop + IL_0039: ret + } // end of method TaskContainer::AddPrivateXmlElementName - } // end of class NAnt.Core.Element + .property instance bool CustomXmlProcessing () + { + .get instance default bool NAnt.Core.TaskContainer::get_CustomXmlProcessing () + } + } // end of class NAnt.Core.TaskContainer } .namespace NAnt.Core { - .class public auto ansi abstract beforefieldinit FunctionSetBase - extends [mscorlib]System.Object + .class public auto ansi abstract serializable beforefieldinit Task + extends NAnt.Core.Element { - .field private class NAnt.Core.Project _project + .field private static initonly class [log4net]log4net.ILog logger + .field private bool _failOnError + .field private bool _verbose + .field private bool _ifDefined + .field private bool _unlessDefined + .field private valuetype NAnt.Core.Level _threshold - // method line 1840 + // method line 1889 .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb93c - // Code size 15 (0xf) + // Method begins at RVA 0x5284 + // Code size 32 (0x20) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Task::_failOnError IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project - IL_000e: ret - } // end of method FunctionSetBase::.ctor + IL_0008: ldc.i4.1 + IL_0009: stfld bool NAnt.Core.Task::_ifDefined + IL_000e: ldarg.0 + IL_000f: ldc.i4 1000 + IL_0014: stfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold + IL_0019: ldarg.0 + IL_001a: call instance void class NAnt.Core.Element::'.ctor'() + IL_001f: ret + } // end of method Task::.ctor - // method line 1841 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 1890 + .method public hidebysig specialname + instance default bool get_FailOnError () cil managed { - // Method begins at RVA 0xb94c + // Method begins at RVA 0x52a8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Project V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project + IL_0002: ldfld bool NAnt.Core.Task::_failOnError IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FunctionSetBase::get_Project + } // end of method Task::get_FailOnError - // method line 1842 - .method public virtual hidebysig newslot specialname - instance default void set_Project (class NAnt.Core.Project 'value') cil managed + // method line 1891 + .method public hidebysig specialname + instance default void set_FailOnError (bool 'value') cil managed { - // Method begins at RVA 0xb967 + // Method begins at RVA 0x52c3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project + IL_0003: stfld bool NAnt.Core.Task::_failOnError IL_0008: ret - } // end of method FunctionSetBase::set_Project - - .property instance class NAnt.Core.Project Project () - { - .get instance default class NAnt.Core.Project NAnt.Core.FunctionSetBase::get_Project () - .set instance default void NAnt.Core.FunctionSetBase::set_Project (class NAnt.Core.Project 'value') - } - } // end of class NAnt.Core.FunctionSetBase -} - -.namespace NAnt.Core -{ - .class public auto ansi serializable PlatformHelper - extends [mscorlib]System.Object - { - .field public static initonly bool IsMono - .field public static initonly bool IsWin32 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 16 55 73 65 20 49 73 57 69 6E 64 6F 77 73 // ...Use IsWindows - 20 69 6E 73 74 65 61 64 2E 00 00 ) // instead... - - .field public static initonly bool IsUnix + } // end of method Task::set_FailOnError - // method line 1843 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1892 + .method public virtual hidebysig newslot specialname + instance default bool get_Verbose () cil managed { - // Method begins at RVA 0x24fa8 - // Code size 87 (0x57) - .maxstack 2 + // Method begins at RVA 0x52d0 + // Code size 34 (0x22) + .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop - IL_0001: ldstr "System.MonoType" - IL_0006: ldc.i4.0 - IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) - IL_000c: ldnull - IL_000d: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0012: brfalse IL_001f - - IL_0017: nop - IL_0018: ldc.i4.1 - IL_0019: stsfld bool NAnt.Core.PlatformHelper::IsMono - IL_001e: nop - IL_001f: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_0024: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: ldc.i4.4 - IL_002c: beq IL_0043 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Task::_verbose + IL_0007: brtrue IL_0019 - IL_0031: ldloc.0 - IL_0032: ldc.i4.6 - IL_0033: beq IL_0043 + IL_000c: ldarg.0 + IL_000d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0012: callvirt instance bool class NAnt.Core.Project::get_Verbose() + IL_0017: br.s IL_001a - IL_0038: ldloc.0 - IL_0039: ldc.i4 128 - IL_003e: bne.un IL_0049 + IL_0019: ldc.i4.1 + IL_001a: stloc.0 + IL_001b: br IL_0020 - IL_0043: ldc.i4.1 - IL_0044: stsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0049: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_004e: ldc.i4.0 - IL_004f: ceq - IL_0051: stsfld bool NAnt.Core.PlatformHelper::IsWin32 - IL_0056: ret - } // end of method PlatformHelper::.cctor + IL_0020: ldloc.0 + IL_0021: ret + } // end of method Task::get_Verbose - // method line 1844 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1893 + .method public virtual hidebysig newslot specialname + instance default void set_Verbose (bool 'value') cil managed { - // Method begins at RVA 0x2500b - // Code size 7 (0x7) + // Method begins at RVA 0x52fe + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method PlatformHelper::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Task::_verbose + IL_0008: ret + } // end of method Task::set_Verbose - // method line 1845 - .method public static hidebysig - default bool IsVolumeCaseSensitive (string path) cil managed + // method line 1894 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x25014 - // Code size 14 (0xe) + // Method begins at RVA 0x5308 + // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Task::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformHelper::IsVolumeCaseSensitive + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Task::get_IfDefined - // method line 1846 - .method assembly static hidebysig specialname - default bool get_Is64Bit () cil managed - { - // Method begins at RVA 0x25030 - // Code size 17 (0x11) - .maxstack 2 + // method line 1895 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x5323 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Task::_ifDefined + IL_0008: ret + } // end of method Task::set_IfDefined + + // method line 1896 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x5330 + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: call int32 native int::get_Size() - IL_0006: ldc.i4.8 - IL_0007: ceq - IL_0009: stloc.0 - IL_000a: br IL_000f + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Task::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000f: ldloc.0 - IL_0010: ret - } // end of method PlatformHelper::get_Is64Bit + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Task::get_UnlessDefined - // method line 1847 - .method assembly static hidebysig specialname - default bool get_Is32Bit () cil managed + // method line 1897 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x25050 - // Code size 17 (0x11) + // Method begins at RVA 0x534b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Task::_unlessDefined + IL_0008: ret + } // end of method Task::set_UnlessDefined + + // method line 1898 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x5358 + // Code size 54 (0x36) .maxstack 2 .locals init ( - bool V_0) + string V_0, + class NAnt.Core.Attributes.TaskNameAttribute V_1, + string V_2) IL_0000: nop - IL_0001: call int32 native int::get_Size() - IL_0006: ldc.i4.4 - IL_0007: ceq - IL_0009: stloc.0 - IL_000a: br IL_000f + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance class [mscorlib]System.Type object::GetType() + IL_0009: ldtoken NAnt.Core.Attributes.TaskNameAttribute + IL_000e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0013: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0018: castclass NAnt.Core.Attributes.TaskNameAttribute + IL_001d: stloc.1 + IL_001e: ldloc.1 + IL_001f: brfalse IL_002d - IL_000f: ldloc.0 - IL_0010: ret - } // end of method PlatformHelper::get_Is32Bit + IL_0024: nop + IL_0025: ldloc.1 + IL_0026: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_002b: stloc.0 + IL_002c: nop + IL_002d: ldloc.0 + IL_002e: stloc.2 + IL_002f: br IL_0034 - // method line 1848 - .method public static hidebysig specialname - default bool get_IsWindows () cil managed + IL_0034: ldloc.2 + IL_0035: ret + } // end of method Task::get_Name + + // method line 1899 + .method public hidebysig specialname + instance default string get_LogPrefix () cil managed { - // Method begins at RVA 0x25070 - // Code size 17 (0x11) - .maxstack 2 + // Method begins at RVA 0x539c + // Code size 48 (0x30) + .maxstack 3 .locals init ( - bool V_0) + string V_0, + string V_1) IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: ldc.i4.0 - IL_0007: ceq - IL_0009: stloc.0 - IL_000a: br IL_000f + IL_0001: ldstr "[" + IL_0006: ldarg.0 + IL_0007: callvirt instance string class NAnt.Core.Element::get_Name() + IL_000c: ldstr "] " + IL_0011: call string string::Concat(string, string, string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: ldarg.0 + IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_001e: callvirt instance int32 class NAnt.Core.Project::get_IndentationSize() + IL_0023: callvirt instance string string::PadLeft(int32) + IL_0028: stloc.1 + IL_0029: br IL_002e - IL_000f: ldloc.0 - IL_0010: ret - } // end of method PlatformHelper::get_IsWindows + IL_002e: ldloc.1 + IL_002f: ret + } // end of method Task::get_LogPrefix - .property bool Is64Bit () - { - .get default bool NAnt.Core.PlatformHelper::get_Is64Bit () - } - .property bool Is32Bit () - { - .get default bool NAnt.Core.PlatformHelper::get_Is32Bit () - } - .property bool IsWindows () - { - .get default bool NAnt.Core.PlatformHelper::get_IsWindows () - } - } // end of class NAnt.Core.PlatformHelper -} + // method line 1900 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Level get_Threshold () cil managed + { + // Method begins at RVA 0x53d8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.Level V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit Project - extends [mscorlib]System.Object - { - .field private static initonly class [log4net]log4net.ILog logger - .field private static literal string RootXml = "project" - .field private static literal string ProjectNameAttribute = "name" - .field private static literal string ProjectDefaultAttribte = "default" - .field private static literal string ProjectBaseDirAttribute = "basedir" - .field private static literal string TargetXml = "target" - .field private static literal string WildTarget = "*" - .field private static literal string Visiting = "VISITING" - .field private static literal string Visited = "VISITED" - .field assembly static literal string NAntPlatform = "nant.platform" - .field assembly static literal string NAntPlatformName = "nant.platform.name" - .field assembly static literal string NAntPropertyFileName = "nant.filename" - .field assembly static literal string NAntPropertyVersion = "nant.version" - .field assembly static literal string NAntPropertyLocation = "nant.location" - .field assembly static literal string NAntPropertyProjectName = "nant.project.name" - .field assembly static literal string NAntPropertyProjectBuildFile = "nant.project.buildfile" - .field assembly static literal string NAntPropertyProjectBaseDir = "nant.project.basedir" - .field assembly static literal string NAntPropertyProjectDefault = "nant.project.default" - .field assembly static literal string NAntPropertyOnSuccess = "nant.onsuccess" - .field assembly static literal string NAntPropertyOnFailure = "nant.onfailure" - .field private class NAnt.Core.BuildEventHandler BuildStarted - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Task::get_Threshold - .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ + // method line 1901 + .method public hidebysig specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed + { + // Method begins at RVA 0x53f3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold + IL_0008: ret + } // end of method Task::set_Threshold - .field private class NAnt.Core.BuildEventHandler BuildFinished - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1902 + .method assembly hidebysig specialname + instance default class NAnt.Core.TaskBuilder get_TaskBuilder () cil managed + { + // Method begins at RVA 0x5400 + // Code size 25 (0x19) + .maxstack 2 + .locals init ( + class NAnt.Core.TaskBuilder V_0) + IL_0000: nop + IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0006: ldarg.0 + IL_0007: callvirt instance string class NAnt.Core.Element::get_Name() + IL_000c: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ + IL_0017: ldloc.0 + IL_0018: ret + } // end of method Task::get_TaskBuilder - .field private class NAnt.Core.BuildEventHandler TargetStarted - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1903 + .method public hidebysig + instance default void Execute () cil managed + { + // Method begins at RVA 0x5428 + // Code size 329 (0x149) + .maxstack 4 + .locals init ( + class [mscorlib]System.Exception V_0, + string V_1, + class [mscorlib]System.Exception V_2, + int32 V_3) + IL_0000: nop + IL_0001: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger + IL_0006: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000b: ldstr "String_TaskExecute" + IL_0010: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0015: ldarg.0 + IL_0016: callvirt instance string class NAnt.Core.Element::get_Name() + IL_001b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0020: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_0025: ldarg.0 + IL_0026: call instance bool class NAnt.Core.Task::get_IfDefined() + IL_002b: brfalse IL_0148 - .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ + IL_0030: ldarg.0 + IL_0031: call instance bool class NAnt.Core.Task::get_UnlessDefined() + IL_0036: brtrue IL_0148 - .field private class NAnt.Core.BuildEventHandler TargetFinished - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_003b: nop + .try { // 1 + .try { // 0 + IL_003c: nop + IL_003d: ldarg.0 + IL_003e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0043: ldarg.0 + IL_0044: ldarg.0 + IL_0045: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Task) + IL_004a: callvirt instance void class NAnt.Core.Project::OnTaskStarted(object, class NAnt.Core.BuildEventArgs) + IL_004f: ldarg.0 + IL_0050: callvirt instance void class NAnt.Core.Task::ExecuteTask() + IL_0055: nop + IL_0056: leave IL_0147 - .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_005b: stloc.0 + IL_005c: nop + IL_005d: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger + IL_0062: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0067: ldstr "NA1077" + IL_006c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0071: ldarg.0 + IL_0072: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_007c: ldloc.0 + IL_007d: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) + IL_0082: ldarg.0 + IL_0083: call instance bool class NAnt.Core.Task::get_FailOnError() + IL_0088: brfalse IL_0090 - .field private class NAnt.Core.BuildEventHandler TaskStarted - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_008d: nop + IL_008e: rethrow + IL_0090: nop + IL_0091: ldarg.0 + IL_0092: callvirt instance bool class NAnt.Core.Task::get_Verbose() + IL_0097: brfalse IL_00b4 - .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ + IL_009c: nop + IL_009d: ldarg.0 + IL_009e: ldc.i4 5000 + IL_00a3: ldloc.0 + IL_00a4: callvirt instance string object::ToString() + IL_00a9: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_00ae: nop + IL_00af: br IL_012b - .field private class NAnt.Core.BuildEventHandler TaskFinished - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_00bb: stloc.1 + IL_00bc: ldloc.0 + IL_00bd: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_00c2: stloc.2 + IL_00c3: ldc.i4.0 + IL_00c4: stloc.3 + IL_00c5: br IL_0108 - .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ + IL_00ca: nop + IL_00cb: ldloc.3 + IL_00cc: ldc.i4.4 + IL_00cd: add + IL_00ce: stloc.3 + IL_00cf: ldloc.1 + IL_00d0: brfalse IL_00e5 - .field private class NAnt.Core.BuildEventHandler MessageLogged - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00d5: ldloc.1 + IL_00d6: call string class [mscorlib]System.Environment::get_NewLine() + IL_00db: call string string::Concat(string, string) + IL_00e0: br IL_00ea - .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ + IL_00e5: ldsfld string [mscorlib]System.String::Empty + IL_00ea: stloc.1 + IL_00eb: ldloc.1 + IL_00ec: ldc.i4.s 0x20 + IL_00ee: ldloc.3 + IL_00ef: newobj instance void string::'.ctor'(char, int32) + IL_00f4: ldloc.2 + IL_00f5: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_00fa: call string string::Concat(string, string, string) + IL_00ff: stloc.1 + IL_0100: ldloc.2 + IL_0101: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_0106: stloc.2 + IL_0107: nop + IL_0108: ldloc.2 + IL_0109: brfalse IL_011e - .field private string _baseDirectory - .field private string _projectName - .field private string _defaultTargetName - .field private int32 _indentationSize - .field private int32 _indentationLevel - .field private class NAnt.Core.BuildListenerCollection _buildListeners - .field private class [System]System.Collections.Specialized.StringCollection _buildTargets - .field private class NAnt.Core.TargetCollection _targets - .field private class NAnt.Core.LocationMap _locationMap - .field private class NAnt.Core.PropertyDictionary _properties - .field private class NAnt.Core.PropertyDictionary _frameworkNeutralProperties - .field private class NAnt.Core.Target _currentTarget - .field private class NAnt.Core.FrameworkInfoDictionary _frameworks - .field private class NAnt.Core.FrameworkInfo _runtimeFramework - .field private class NAnt.Core.FrameworkInfo _targetFramework - .field private notserialized class [System.Xml]System.Xml.XmlNode _configurationNode - .field private notserialized class [System.Xml]System.Xml.XmlDocument _doc - .field private notserialized class [System.Xml]System.Xml.XmlNamespaceManager _nsMgr - .field private notserialized class NAnt.Core.DataTypeBaseDictionary _dataTypeReferences - .field private valuetype NAnt.Core.Level _threshold + IL_010e: ldloc.2 + IL_010f: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0114: call bool string::IsNullOrEmpty(string) + IL_0119: brfalse IL_00ca - // method line 1849 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlDocument doc, valuetype NAnt.Core.Level threshold, int32 indentLevel) cil managed + IL_011e: ldarg.0 + IL_011f: ldc.i4 5000 + IL_0124: ldloc.1 + IL_0125: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_012a: nop + IL_012b: nop + IL_012c: nop + IL_012d: leave IL_0147 + + } // end handler 0 + } // end .try 1 + finally { // 1 + IL_0132: nop + IL_0133: ldarg.0 + IL_0134: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0139: ldarg.0 + IL_013a: ldarg.0 + IL_013b: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Task) + IL_0140: callvirt instance void class NAnt.Core.Project::OnTaskFinished(object, class NAnt.Core.BuildEventArgs) + IL_0145: nop + IL_0146: endfinally + } // end handler 1 + IL_0147: nop + IL_0148: ret + } // end of method Task::Execute + + // method line 1904 + .method public virtual hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x25090 - // Code size 148 (0x94) - .maxstack 5 - IL_0000: ldarg.0 - IL_0001: ldstr "" - IL_0006: stfld string NAnt.Core.Project::_projectName - IL_000b: ldarg.0 - IL_000c: ldc.i4.4 - IL_000d: stfld int32 NAnt.Core.Project::_indentationSize - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld int32 NAnt.Core.Project::_indentationLevel - IL_0019: ldarg.0 - IL_001a: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() - IL_001f: stfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners - IL_0024: ldarg.0 - IL_0025: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002a: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets - IL_002f: ldarg.0 - IL_0030: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() - IL_0035: stfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets - IL_003a: ldarg.0 - IL_003b: newobj instance void class NAnt.Core.LocationMap::'.ctor'() - IL_0040: stfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap + // Method begins at RVA 0x559c + // Code size 104 (0x68) + .maxstack 4 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Task::IsLogEnabledFor(valuetype NAnt.Core.Level) + IL_0008: brtrue IL_0013 + + IL_000d: nop + IL_000e: br IL_0067 + + IL_0013: ldarg.0 + IL_0014: ldfld bool NAnt.Core.Task::_verbose + IL_0019: brfalse IL_0057 + + IL_001e: ldarg.1 + IL_001f: ldc.i4 2000 + IL_0024: bne.un IL_0057 + + IL_0029: ldarg.0 + IL_002a: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_002f: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_0034: ldc.i4 3000 + IL_0039: bne.un IL_0057 + + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() IL_0045: ldarg.0 - IL_0046: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_004b: stfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks - IL_0050: ldarg.0 - IL_0051: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() - IL_0056: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_005b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr - IL_0060: ldarg.0 - IL_0061: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0066: stfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences - IL_006b: ldarg.0 - IL_006c: ldc.i4 3000 - IL_0071: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0076: ldarg.0 - IL_0077: call instance void object::'.ctor'() - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: ldarg.0 - IL_007f: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::GetConfigurationNode() - IL_0084: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::_configurationNode - IL_0089: ldarg.0 - IL_008a: ldarg.1 - IL_008b: ldarg.2 - IL_008c: ldarg.3 - IL_008d: ldc.i4.0 - IL_008e: call instance void class NAnt.Core.Project::CtorHelper(class [System.Xml]System.Xml.XmlDocument, valuetype NAnt.Core.Level, int32, valuetype NAnt.Core.Optimizations) - IL_0093: ret - } // end of method Project::.ctor + IL_0046: ldc.i4 3000 + IL_004b: ldarg.2 + IL_004c: callvirt instance void class NAnt.Core.Project::Log(class NAnt.Core.Task, valuetype NAnt.Core.Level, string) + IL_0051: nop + IL_0052: br IL_0067 - // method line 1850 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlDocument doc, valuetype NAnt.Core.Level threshold, int32 indentLevel, class [System.Xml]System.Xml.XmlNode configurationNode) cil managed + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_005e: ldarg.0 + IL_005f: ldarg.1 + IL_0060: ldarg.2 + IL_0061: callvirt instance void class NAnt.Core.Project::Log(class NAnt.Core.Task, valuetype NAnt.Core.Level, string) + IL_0066: nop + IL_0067: ret + } // end of method Task::Log + + // method line 1905 + .method public virtual hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed { - // Method begins at RVA 0x25130 - // Code size 144 (0x90) - .maxstack 5 - IL_0000: ldarg.0 - IL_0001: ldstr "" - IL_0006: stfld string NAnt.Core.Project::_projectName - IL_000b: ldarg.0 - IL_000c: ldc.i4.4 - IL_000d: stfld int32 NAnt.Core.Project::_indentationSize - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld int32 NAnt.Core.Project::_indentationLevel - IL_0019: ldarg.0 - IL_001a: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() - IL_001f: stfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners - IL_0024: ldarg.0 - IL_0025: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002a: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets - IL_002f: ldarg.0 - IL_0030: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() - IL_0035: stfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets - IL_003a: ldarg.0 - IL_003b: newobj instance void class NAnt.Core.LocationMap::'.ctor'() - IL_0040: stfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap - IL_0045: ldarg.0 - IL_0046: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_004b: stfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks - IL_0050: ldarg.0 - IL_0051: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() - IL_0056: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_005b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr - IL_0060: ldarg.0 - IL_0061: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0066: stfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences - IL_006b: ldarg.0 - IL_006c: ldc.i4 3000 - IL_0071: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0076: ldarg.0 - IL_0077: call instance void object::'.ctor'() - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: ldarg.s 4 - IL_0080: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::_configurationNode - IL_0085: ldarg.0 - IL_0086: ldarg.1 - IL_0087: ldarg.2 - IL_0088: ldarg.3 - IL_0089: ldc.i4.0 - IL_008a: call instance void class NAnt.Core.Project::CtorHelper(class [System.Xml]System.Xml.XmlDocument, valuetype NAnt.Core.Level, int32, valuetype NAnt.Core.Optimizations) - IL_008f: ret - } // end of method Project::.ctor - - // method line 1851 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string uriOrFilePath, valuetype NAnt.Core.Level threshold, int32 indentLevel) cil managed - { - // Method begins at RVA 0x251cc - // Code size 154 (0x9a) - .maxstack 5 - IL_0000: ldarg.0 - IL_0001: ldstr "" - IL_0006: stfld string NAnt.Core.Project::_projectName - IL_000b: ldarg.0 - IL_000c: ldc.i4.4 - IL_000d: stfld int32 NAnt.Core.Project::_indentationSize - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld int32 NAnt.Core.Project::_indentationLevel - IL_0019: ldarg.0 - IL_001a: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() - IL_001f: stfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners - IL_0024: ldarg.0 - IL_0025: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002a: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets - IL_002f: ldarg.0 - IL_0030: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() - IL_0035: stfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets - IL_003a: ldarg.0 - IL_003b: newobj instance void class NAnt.Core.LocationMap::'.ctor'() - IL_0040: stfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap - IL_0045: ldarg.0 - IL_0046: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_004b: stfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks - IL_0050: ldarg.0 - IL_0051: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() - IL_0056: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_005b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr - IL_0060: ldarg.0 - IL_0061: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0066: stfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences - IL_006b: ldarg.0 - IL_006c: ldc.i4 3000 - IL_0071: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0076: ldarg.0 - IL_0077: call instance void object::'.ctor'() - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: ldarg.0 - IL_007f: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::GetConfigurationNode() - IL_0084: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::_configurationNode - IL_0089: ldarg.0 - IL_008a: ldarg.0 - IL_008b: ldarg.1 - IL_008c: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::LoadBuildFile(string) - IL_0091: ldarg.2 - IL_0092: ldarg.3 - IL_0093: ldc.i4.0 - IL_0094: call instance void class NAnt.Core.Project::CtorHelper(class [System.Xml]System.Xml.XmlDocument, valuetype NAnt.Core.Level, int32, valuetype NAnt.Core.Optimizations) - IL_0099: ret - } // end of method Project::.ctor - - // method line 1852 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string uriOrFilePath, valuetype NAnt.Core.Level threshold, int32 indentLevel, class [System.Xml]System.Xml.XmlNode configurationNode) cil managed - { - // Method begins at RVA 0x25274 - // Code size 150 (0x96) - .maxstack 5 - IL_0000: ldarg.0 - IL_0001: ldstr "" - IL_0006: stfld string NAnt.Core.Project::_projectName - IL_000b: ldarg.0 - IL_000c: ldc.i4.4 - IL_000d: stfld int32 NAnt.Core.Project::_indentationSize - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld int32 NAnt.Core.Project::_indentationLevel - IL_0019: ldarg.0 - IL_001a: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() - IL_001f: stfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners - IL_0024: ldarg.0 - IL_0025: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002a: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets - IL_002f: ldarg.0 - IL_0030: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() - IL_0035: stfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets - IL_003a: ldarg.0 - IL_003b: newobj instance void class NAnt.Core.LocationMap::'.ctor'() - IL_0040: stfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap - IL_0045: ldarg.0 - IL_0046: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_004b: stfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks - IL_0050: ldarg.0 - IL_0051: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() - IL_0056: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_005b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr - IL_0060: ldarg.0 - IL_0061: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0066: stfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences - IL_006b: ldarg.0 - IL_006c: ldc.i4 3000 - IL_0071: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0076: ldarg.0 - IL_0077: call instance void object::'.ctor'() - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: ldarg.s 4 - IL_0080: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::_configurationNode - IL_0085: ldarg.0 - IL_0086: ldarg.0 - IL_0087: ldarg.1 - IL_0088: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::LoadBuildFile(string) - IL_008d: ldarg.2 - IL_008e: ldarg.3 - IL_008f: ldc.i4.0 - IL_0090: call instance void class NAnt.Core.Project::CtorHelper(class [System.Xml]System.Xml.XmlDocument, valuetype NAnt.Core.Level, int32, valuetype NAnt.Core.Optimizations) - IL_0095: ret - } // end of method Project::.ctor - - // method line 1853 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (string uriOrFilePath, class NAnt.Core.Project parent) cil managed - { - // Method begins at RVA 0x25318 - // Code size 283 (0x11b) - .maxstack 5 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class NAnt.Core.FrameworkInfoDictionaryEnumerator V_1, - class [mscorlib]System.IDisposable V_2) - IL_0000: ldarg.0 - IL_0001: ldstr "" - IL_0006: stfld string NAnt.Core.Project::_projectName - IL_000b: ldarg.0 - IL_000c: ldc.i4.4 - IL_000d: stfld int32 NAnt.Core.Project::_indentationSize - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld int32 NAnt.Core.Project::_indentationLevel - IL_0019: ldarg.0 - IL_001a: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() - IL_001f: stfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners - IL_0024: ldarg.0 - IL_0025: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002a: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets - IL_002f: ldarg.0 - IL_0030: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() - IL_0035: stfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets - IL_003a: ldarg.0 - IL_003b: newobj instance void class NAnt.Core.LocationMap::'.ctor'() - IL_0040: stfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap - IL_0045: ldarg.0 - IL_0046: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_004b: stfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks - IL_0050: ldarg.0 - IL_0051: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() - IL_0056: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_005b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr - IL_0060: ldarg.0 - IL_0061: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0066: stfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences - IL_006b: ldarg.0 - IL_006c: ldc.i4 3000 - IL_0071: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0076: ldarg.0 - IL_0077: call instance void object::'.ctor'() - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: ldarg.2 - IL_007f: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() - IL_0084: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::_configurationNode - IL_0089: ldarg.0 - IL_008a: ldarg.0 - IL_008b: ldarg.1 - IL_008c: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::LoadBuildFile(string) - IL_0091: ldarg.2 - IL_0092: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_0097: ldarg.2 - IL_0098: callvirt instance int32 class NAnt.Core.Project::get_IndentationLevel() - IL_009d: ldc.i4.1 - IL_009e: add - IL_009f: ldc.i4.2 - IL_00a0: call instance void class NAnt.Core.Project::CtorHelper(class [System.Xml]System.Xml.XmlDocument, valuetype NAnt.Core.Level, int32, valuetype NAnt.Core.Optimizations) - IL_00a5: ldarg.0 - IL_00a6: ldarg.2 - IL_00a7: callvirt instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() - IL_00ac: call instance void class NAnt.Core.Project::AttachBuildListeners(class NAnt.Core.BuildListenerCollection) - IL_00b1: nop - IL_00b2: ldarg.2 - IL_00b3: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_00b8: callvirt instance class NAnt.Core.FrameworkInfoDictionaryEnumerator class NAnt.Core.FrameworkInfoDictionary::GetEnumerator() - IL_00bd: stloc.1 - .try { // 0 - IL_00be: br IL_00de - - IL_00c3: ldloc.1 - IL_00c4: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Current() - IL_00c9: stloc.0 - IL_00ca: nop - IL_00cb: ldarg.0 - IL_00cc: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_00d1: ldloc.0 - IL_00d2: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_00d7: ldloc.0 - IL_00d8: callvirt instance void class NAnt.Core.FrameworkInfoDictionary::Add(string, class NAnt.Core.FrameworkInfo) - IL_00dd: nop - IL_00de: ldloc.1 - IL_00df: callvirt instance bool class NAnt.Core.FrameworkInfoDictionaryEnumerator::MoveNext() - IL_00e4: brtrue IL_00c3 - - IL_00e9: leave IL_0102 - - } // end .try 0 - finally { // 0 - IL_00ee: ldloc.1 - IL_00ef: isinst [mscorlib]System.IDisposable - IL_00f4: dup - IL_00f5: stloc.2 - IL_00f6: brfalse IL_0101 - - IL_00fb: ldloc.2 - IL_00fc: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0101: endfinally - } // end handler 0 - IL_0102: ldarg.0 - IL_0103: ldarg.2 - IL_0104: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_0109: call instance void class NAnt.Core.Project::set_RuntimeFramework(class NAnt.Core.FrameworkInfo) - IL_010e: ldarg.0 - IL_010f: ldarg.2 - IL_0110: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0115: call instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) - IL_011a: ret - } // end of method Project::.ctor - - // method line 1854 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlDocument doc) cil managed - { - // Method begins at RVA 0x25450 - // Code size 140 (0x8c) - .maxstack 5 - IL_0000: ldarg.0 - IL_0001: ldstr "" - IL_0006: stfld string NAnt.Core.Project::_projectName - IL_000b: ldarg.0 - IL_000c: ldc.i4.4 - IL_000d: stfld int32 NAnt.Core.Project::_indentationSize - IL_0012: ldarg.0 - IL_0013: ldc.i4.0 - IL_0014: stfld int32 NAnt.Core.Project::_indentationLevel - IL_0019: ldarg.0 - IL_001a: newobj instance void class NAnt.Core.BuildListenerCollection::'.ctor'() - IL_001f: stfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners - IL_0024: ldarg.0 - IL_0025: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002a: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets - IL_002f: ldarg.0 - IL_0030: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() - IL_0035: stfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets - IL_003a: ldarg.0 - IL_003b: newobj instance void class NAnt.Core.LocationMap::'.ctor'() - IL_0040: stfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap - IL_0045: ldarg.0 - IL_0046: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_004b: stfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks - IL_0050: ldarg.0 - IL_0051: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() - IL_0056: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_005b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr - IL_0060: ldarg.0 - IL_0061: newobj instance void class NAnt.Core.DataTypeBaseDictionary::'.ctor'() - IL_0066: stfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences - IL_006b: ldarg.0 - IL_006c: ldc.i4 3000 - IL_0071: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0076: ldarg.0 - IL_0077: call instance void object::'.ctor'() - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: ldarg.1 - IL_007f: ldc.i4 9999 - IL_0084: ldc.i4.0 - IL_0085: ldc.i4.3 - IL_0086: call instance void class NAnt.Core.Project::CtorHelper(class [System.Xml]System.Xml.XmlDocument, valuetype NAnt.Core.Level, int32, valuetype NAnt.Core.Optimizations) - IL_008b: ret - } // end of method Project::.ctor - - // method line 1855 - .method public hidebysig specialname - instance default void add_BuildStarted (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x254e8 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::add_BuildStarted - - // method line 1856 - .method public hidebysig specialname - instance default void remove_BuildStarted (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25520 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::remove_BuildStarted - - // method line 1857 - .method public hidebysig specialname - instance default void add_BuildFinished (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25558 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::add_BuildFinished - - // method line 1858 - .method public hidebysig specialname - instance default void remove_BuildFinished (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25590 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::remove_BuildFinished - - // method line 1859 - .method public hidebysig specialname - instance default void add_TargetStarted (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x255c8 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::add_TargetStarted - - // method line 1860 - .method public hidebysig specialname - instance default void remove_TargetStarted (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25600 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::remove_TargetStarted - - // method line 1861 - .method public hidebysig specialname - instance default void add_TargetFinished (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25638 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::add_TargetFinished - - // method line 1862 - .method public hidebysig specialname - instance default void remove_TargetFinished (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25670 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::remove_TargetFinished - - // method line 1863 - .method public hidebysig specialname - instance default void add_TaskStarted (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x256a8 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::add_TaskStarted - - // method line 1864 - .method public hidebysig specialname - instance default void remove_TaskStarted (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x256e0 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::remove_TaskStarted - - // method line 1865 - .method public hidebysig specialname - instance default void add_TaskFinished (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25718 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::add_TaskFinished - - // method line 1866 - .method public hidebysig specialname - instance default void remove_TaskFinished (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25750 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::remove_TaskFinished - - // method line 1867 - .method public hidebysig specialname - instance default void add_MessageLogged (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x25788 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::add_MessageLogged - - // method line 1868 - .method public hidebysig specialname - instance default void remove_MessageLogged (class NAnt.Core.BuildEventHandler 'value') cil managed - { - // Method begins at RVA 0x257c0 - // Code size 42 (0x2a) + // Method begins at RVA 0x5610 + // Code size 23 (0x17) .maxstack 3 .locals init ( - class NAnt.Core.BuildEventHandler V_0, - class NAnt.Core.BuildEventHandler V_1) - IL_0000: ldarg.0 - IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: stloc.1 - IL_0009: ldarg.0 - IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) - IL_0016: castclass NAnt.Core.BuildEventHandler - IL_001b: ldloc.0 - IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) - IL_0021: stloc.0 - IL_0022: ldloc.0 - IL_0023: ldloc.1 - IL_0024: bne.un IL_0007 - - IL_0029: ret - } // end of method Project::remove_MessageLogged - - // method line 1869 - .method public hidebysig specialname - instance default int32 get_IndentationLevel () cil managed - { - // Method begins at RVA 0x257f8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Project::_indentationLevel - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_IndentationLevel + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldarg.2 + IL_0007: ldarg.3 + IL_0008: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_000d: stloc.0 + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldloc.0 + IL_0011: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0016: ret + } // end of method Task::Log - // method line 1870 - .method public hidebysig specialname - instance default int32 get_IndentationSize () cil managed + // method line 1906 + .method public hidebysig + instance default bool IsLogEnabledFor (valuetype NAnt.Core.Level messageLevel) cil managed { - // Method begins at RVA 0x25814 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5634 + // Code size 66 (0x42) + .maxstack 2 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Project::_indentationSize - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld bool NAnt.Core.Task::_verbose + IL_0007: brfalse IL_002e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_IndentationSize + IL_000c: ldarg.1 + IL_000d: ldc.i4 2000 + IL_0012: bne.un IL_002e - // method line 1871 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Level get_Threshold () cil managed - { - // Method begins at RVA 0x25830 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.Level V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0017: nop + IL_0018: ldc.i4 3000 + IL_001d: ldarg.0 + IL_001e: call instance valuetype NAnt.Core.Level class NAnt.Core.Task::get_Threshold() + IL_0023: clt + IL_0025: ldc.i4.0 + IL_0026: ceq + IL_0028: stloc.0 + IL_0029: br IL_0040 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_Threshold + IL_002e: ldarg.1 + IL_002f: ldarg.0 + IL_0030: call instance valuetype NAnt.Core.Level class NAnt.Core.Task::get_Threshold() + IL_0035: clt + IL_0037: ldc.i4.0 + IL_0038: ceq + IL_003a: stloc.0 + IL_003b: br IL_0040 - // method line 1872 - .method public hidebysig specialname - instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed - { - // Method begins at RVA 0x2584b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold - IL_0008: ret - } // end of method Project::set_Threshold + IL_0040: ldloc.0 + IL_0041: ret + } // end of method Task::IsLogEnabledFor - // method line 1873 - .method public hidebysig specialname - instance default string get_ProjectName () cil managed + // method line 1907 + .method public hidebysig + instance default void InitializeTaskConfiguration () cil managed { - // Method begins at RVA 0x25858 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5684 + // Code size 832 (0x340) + .maxstack 7 .locals init ( - string V_0) + class [mscorlib]System.Reflection.PropertyInfo[] V_0, + class [mscorlib]System.Reflection.PropertyInfo V_1, + class [mscorlib]System.Reflection.PropertyInfo[] V_2, + int32 V_3, + class [System.Xml]System.Xml.XmlNode V_4, + string V_5, + class NAnt.Core.Attributes.FrameworkConfigurableAttribute V_6, + class [mscorlib]System.Exception V_7, + class [mscorlib]System.Type V_8, + object[] V_9, + class NAnt.Core.Attributes.ValidatorAttribute V_10, + object[] V_11, + int32 V_12, + class NAnt.Core.ValidationException V_13, + object V_14, + class [System]System.ComponentModel.TypeConverter V_15, + string V_16, + object V_17, + class [mscorlib]System.Collections.IEnumerator V_18, + class [mscorlib]System.IDisposable V_19) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Project::_projectName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Type object::GetType() + IL_0007: ldc.i4.s 0x14 + IL_0009: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_000e: stloc.0 + IL_000f: nop + IL_0010: ldloc.0 + IL_0011: stloc.2 + IL_0012: ldc.i4.0 + IL_0013: stloc.3 + IL_0014: br IL_0336 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_ProjectName + IL_0019: ldloc.2 + IL_001a: ldloc.3 + IL_001b: ldelem.ref + IL_001c: stloc.1 + IL_001d: nop + IL_001e: ldnull + IL_001f: stloc.s 4 + IL_0021: ldnull + IL_0022: stloc.s 5 + IL_0024: ldloc.1 + IL_0025: ldtoken NAnt.Core.Attributes.FrameworkConfigurableAttribute + IL_002a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002f: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0034: castclass NAnt.Core.Attributes.FrameworkConfigurableAttribute + IL_0039: stloc.s 6 + IL_003b: ldloc.s 6 + IL_003d: brfalse IL_0331 - // method line 1874 - .method public hidebysig specialname - instance default string get_BaseDirectory () cil managed - { - // Method begins at RVA 0x25874 - // Code size 83 (0x53) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Project::_baseDirectory - IL_0007: brtrue IL_0014 + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: ldarg.0 + IL_0045: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_004a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_004f: ldloc.s 6 + IL_0051: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() + IL_0056: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class NAnt.Core.FrameworkInfo, string) + IL_005b: stloc.s 4 + IL_005d: ldloc.s 4 + IL_005f: brfalse IL_0105 - IL_000c: nop - IL_000d: ldnull - IL_000e: stloc.0 - IL_000f: br IL_0051 + IL_0064: nop + IL_0065: ldloc.s 4 + IL_0067: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_006c: stloc.s 5 + IL_006e: ldloc.s 6 + IL_0070: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_ExpandProperties() + IL_0075: brfalse IL_00ff - IL_0014: ldarg.0 - IL_0015: ldfld string NAnt.Core.Project::_baseDirectory - IL_001a: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_001f: brtrue IL_0045 + IL_007a: ldarg.0 + IL_007b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0080: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0085: brfalse IL_00ff - IL_0024: nop - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() - IL_002a: ldstr "Invalid base directory '{0}'. The project base directorymust be rooted." - IL_002f: ldarg.0 - IL_0030: ldfld string NAnt.Core.Project::_baseDirectory - IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_003a: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_003f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0044: throw - IL_0045: ldarg.0 - IL_0046: ldfld string NAnt.Core.Project::_baseDirectory - IL_004b: stloc.0 - IL_004c: br IL_0051 + IL_008a: nop + .try { // 0 + IL_008b: nop + IL_008c: ldarg.0 + IL_008d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0092: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0097: callvirt instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_009c: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00a1: ldloc.s 5 + IL_00a3: ldarg.0 + IL_00a4: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00a9: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_00ae: stloc.s 5 + IL_00b0: nop + IL_00b1: leave IL_00fe - IL_0051: ldloc.0 - IL_0052: ret - } // end of method Project::get_BaseDirectory + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_00b6: stloc.s 7 + IL_00b8: nop + IL_00b9: ldloc.s 6 + IL_00bb: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() + IL_00c0: brfalse IL_00f5 - // method line 1875 - .method public hidebysig specialname - instance default void set_BaseDirectory (string 'value') cil managed - { - // Method begins at RVA 0x258d4 - // Code size 67 (0x43) - .maxstack 5 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_0007: brtrue IL_0028 + IL_00c5: nop + IL_00c6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00cb: ldstr "NA1075" + IL_00d0: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00d5: ldloc.s 6 + IL_00d7: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() + IL_00dc: ldarg.0 + IL_00dd: callvirt instance string class NAnt.Core.Element::get_Name() + IL_00e2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00e7: ldarg.0 + IL_00e8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00ed: ldloc.s 7 + IL_00ef: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00f4: throw + IL_00f5: ldnull + IL_00f6: stloc.s 5 + IL_00f8: nop + IL_00f9: leave IL_00fe - IL_000c: nop - IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() - IL_0012: ldstr "Invalid base directory '{0}'. The project base directorymust be rooted." - IL_0017: ldarg.1 - IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_001d: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0022: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0027: throw - IL_0028: ldarg.0 - IL_0029: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_002e: ldstr "nant.project.basedir" - IL_0033: ldarg.0 - IL_0034: ldarg.1 - IL_0035: dup - IL_0036: stloc.0 - IL_0037: stfld string NAnt.Core.Project::_baseDirectory - IL_003c: ldloc.0 - IL_003d: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0042: ret - } // end of method Project::set_BaseDirectory + } // end handler 0 + IL_00fe: nop + IL_00ff: nop + IL_0100: br IL_013c - // method line 1876 - .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed - { - // Method begins at RVA 0x25924 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System.Xml]System.Xml.XmlNamespaceManager V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0105: nop + IL_0106: ldloc.s 6 + IL_0108: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() + IL_010d: brfalse IL_013b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_NamespaceManager + IL_0112: nop + IL_0113: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0118: ldstr "'{0}' is a required framework configuration setting for the '{1}' build element that should be set in the NAnt configuration file." + IL_011d: ldloc.s 6 + IL_011f: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() + IL_0124: ldarg.0 + IL_0125: callvirt instance string class NAnt.Core.Element::get_Name() + IL_012a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_012f: ldarg.0 + IL_0130: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0135: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_013a: throw + IL_013b: nop + IL_013c: ldloc.s 5 + IL_013e: brfalse IL_0330 + + IL_0143: nop + IL_0144: ldloc.1 + IL_0145: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_014a: brfalse IL_032f + + IL_014f: nop + IL_0150: ldloc.1 + IL_0151: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0156: stloc.s 8 + IL_0158: ldloc.1 + IL_0159: ldtoken NAnt.Core.Attributes.ValidatorAttribute + IL_015e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0163: call class [mscorlib]System.Attribute[] class [mscorlib]System.Attribute::GetCustomAttributes(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0168: castclass class NAnt.Core.Attributes.ValidatorAttribute[] + IL_016d: stloc.s 9 + .try { // 1 + IL_016f: nop + IL_0170: nop + IL_0171: ldloc.s 9 + IL_0173: stloc.s 11 + IL_0175: ldc.i4.0 + IL_0176: stloc.s 12 + IL_0178: br IL_01cc + + IL_017d: ldloc.s 11 + IL_017f: ldloc.s 12 + IL_0181: ldelem.ref + IL_0182: castclass NAnt.Core.Attributes.ValidatorAttribute + IL_0187: stloc.s 10 + IL_0189: nop + IL_018a: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger + IL_018f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0194: ldstr "NA1074" + IL_0199: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_019e: ldloc.s 5 + IL_01a0: ldarg.0 + IL_01a1: callvirt instance string class NAnt.Core.Element::get_Name() + IL_01a6: ldloc.s 10 + IL_01a8: callvirt instance class [mscorlib]System.Type object::GetType() + IL_01ad: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_01b2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_01b7: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_01bc: ldloc.s 10 + IL_01be: ldloc.s 5 + IL_01c0: callvirt instance void class NAnt.Core.Attributes.ValidatorAttribute::Validate(object) + IL_01c5: nop + IL_01c6: ldloc.s 12 + IL_01c8: ldc.i4.1 + IL_01c9: add + IL_01ca: stloc.s 12 + IL_01cc: ldloc.s 12 + IL_01ce: ldloc.s 11 + IL_01d0: ldlen + IL_01d1: conv.i4 + IL_01d2: blt IL_017d + + IL_01d7: nop + IL_01d8: leave IL_0214 + + } // end .try 1 + catch class NAnt.Core.ValidationException { // 1 + IL_01dd: stloc.s 13 + IL_01df: nop + IL_01e0: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger + IL_01e5: ldstr "Validation Exception" + IL_01ea: ldloc.s 13 + IL_01ec: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) + IL_01f1: ldstr "Validation failed on" + IL_01f6: ldloc.1 + IL_01f7: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_01fc: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0201: call string string::Concat(string, string) + IL_0206: ldarg.0 + IL_0207: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_020c: ldloc.s 13 + IL_020e: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0213: throw + } // end handler 1 + IL_0214: ldnull + IL_0215: stloc.s 14 + IL_0217: ldloc.s 8 + IL_0219: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_021e: brfalse IL_0306 + + IL_0223: nop + .try { // 3 + IL_0224: nop + IL_0225: ldloc.s 8 + IL_0227: call class [System]System.ComponentModel.TypeConverter class [System]System.ComponentModel.TypeDescriptor::GetConverter(class [mscorlib]System.Type) + IL_022c: stloc.s 15 + IL_022e: ldloc.s 15 + IL_0230: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0235: ldtoken [System]System.ComponentModel.EnumConverter + IL_023a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_023f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0244: brtrue IL_025b + + IL_0249: nop + IL_024a: ldloc.s 15 + IL_024c: ldloc.s 5 + IL_024e: callvirt instance object class [System]System.ComponentModel.TypeConverter::ConvertFrom(object) + IL_0253: stloc.s 14 + IL_0255: nop + IL_0256: br IL_0268 + + IL_025b: nop + IL_025c: ldloc.s 8 + IL_025e: ldloc.s 5 + IL_0260: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string) + IL_0265: stloc.s 14 + IL_0267: nop + IL_0268: nop + IL_0269: leave IL_0300 + + } // end .try 3 + catch class [mscorlib]System.Exception { // 3 + IL_026e: pop + IL_026f: nop + IL_0270: ldstr "Invalid configuration value \"" + IL_0275: ldloc.s 5 + IL_0277: ldstr "\". Valid values for this attribute are: " + IL_027c: call string string::Concat(string, string, string) + IL_0281: stloc.s 16 + IL_0283: nop + IL_0284: ldloc.s 8 + IL_0286: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) + IL_028b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() + IL_0290: stloc.s 18 + .try { // 2 + IL_0292: br IL_02b7 + + IL_0297: ldloc.s 18 + IL_0299: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_029e: stloc.s 17 + IL_02a0: nop + IL_02a1: ldloc.s 16 + IL_02a3: ldloc.s 17 + IL_02a5: callvirt instance string object::ToString() + IL_02aa: ldstr ", " + IL_02af: call string string::Concat(string, string, string) + IL_02b4: stloc.s 16 + IL_02b6: nop + IL_02b7: ldloc.s 18 + IL_02b9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02be: brtrue IL_0297 + + IL_02c3: leave IL_02df + + } // end .try 2 + finally { // 2 + IL_02c8: ldloc.s 18 + IL_02ca: isinst [mscorlib]System.IDisposable + IL_02cf: dup + IL_02d0: stloc.s 19 + IL_02d2: brfalse IL_02de + + IL_02d7: ldloc.s 19 + IL_02d9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02de: endfinally + } // end handler 2 + IL_02df: ldloc.s 16 + IL_02e1: ldc.i4.0 + IL_02e2: ldloc.s 16 + IL_02e4: callvirt instance int32 string::get_Length() + IL_02e9: ldc.i4.2 + IL_02ea: sub + IL_02eb: callvirt instance string string::Substring(int32, int32) + IL_02f0: stloc.s 16 + IL_02f2: ldloc.s 16 + IL_02f4: ldarg.0 + IL_02f5: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_02fa: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_02ff: throw + } // end handler 3 + IL_0300: nop + IL_0301: br IL_031c + + IL_0306: nop + IL_0307: ldloc.s 5 + IL_0309: ldloc.1 + IL_030a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_030f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0314: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) + IL_0319: stloc.s 14 + IL_031b: nop + IL_031c: ldloc.1 + IL_031d: ldarg.0 + IL_031e: ldloc.s 14 + IL_0320: ldc.i4.s 0x14 + IL_0322: ldnull + IL_0323: ldnull + IL_0324: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0329: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_032e: nop + IL_032f: nop + IL_0330: nop + IL_0331: nop + IL_0332: ldloc.3 + IL_0333: ldc.i4.1 + IL_0334: add + IL_0335: stloc.3 + IL_0336: ldloc.3 + IL_0337: ldloc.2 + IL_0338: ldlen + IL_0339: conv.i4 + IL_033a: blt IL_0019 + + IL_033f: ret + } // end of method Task::InitializeTaskConfiguration - // method line 1877 - .method public hidebysig specialname - instance default class [System]System.Uri get_BuildFileUri () cil managed + // method line 1908 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x25940 - // Code size 85 (0x55) - .maxstack 3 - .locals init ( - class [System]System.Uri V_0, - string V_1) + // Method begins at RVA 0x5a04 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() - IL_0007: brfalse IL_0021 - - IL_000c: ldarg.0 - IL_000d: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() - IL_0012: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() - IL_0017: call bool string::IsNullOrEmpty(string) - IL_001c: brfalse IL_0029 - - IL_0021: nop - IL_0022: ldnull - IL_0023: stloc.0 - IL_0024: br IL_0053 - - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() - IL_0030: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() - IL_0035: ldstr "#" - IL_003a: ldc.i4.s 0x23 - IL_003c: call string class [System]System.Uri::HexEscape(char) - IL_0041: callvirt instance string string::Replace(string, string) - IL_0046: stloc.1 - IL_0047: ldloc.1 - IL_0048: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_004d: stloc.0 - IL_004e: br IL_0053 - - IL_0053: ldloc.0 - IL_0054: ret - } // end of method Project::get_BuildFileUri + IL_0002: ldarg.0 + IL_0003: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0008: callvirt instance void class NAnt.Core.Task::InitializeTask(class [System.Xml]System.Xml.XmlNode) + IL_000d: ret + } // end of method Task::Initialize - // method line 1878 - .method public hidebysig specialname - instance default class NAnt.Core.FrameworkInfoDictionary get_Frameworks () cil managed + // method line 1909 + .method family virtual hidebysig newslot + instance default void InitializeTask (class [System.Xml]System.Xml.XmlNode taskNode) cil managed { - // Method begins at RVA 0x259a4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.FrameworkInfoDictionary V_0) + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 24 44 65 70 72 65 63 61 74 65 64 2E 20 55 // ..$Deprecated. U + 73 65 20 49 6E 69 74 69 61 6C 69 7A 65 28 29 20 // se Initialize() + 69 6E 73 74 65 61 64 00 00 ) // instead.. + + // Method begins at RVA 0x5a13 + // Code size 2 (0x2) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ret + } // end of method Task::InitializeTask - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_Frameworks + // method line 1910 + .method family virtual hidebysig newslot abstract + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x0 + } // end of method Task::ExecuteTask - // method line 1879 - .method assembly hidebysig - instance default class NAnt.Core.FrameworkInfo[] GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed + // method line 1911 + .method family virtual hidebysig + instance default class [System.Xml]System.Xml.XmlNode GetAttributeConfigurationNode (class NAnt.Core.FrameworkInfo framework, string attributeName) cil managed { - // Method begins at RVA 0x259c0 - // Code size 411 (0x19b) - .maxstack 3 + // Method begins at RVA 0x5a18 + // Code size 56 (0x38) + .maxstack 4 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - class NAnt.Core.FrameworkInfo V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - valuetype NAnt.Core.ClrType V_3, - valuetype NAnt.Core.VendorType V_4, - class [mscorlib]System.IDisposable V_5, - class NAnt.Core.FrameworkInfo[] V_6, - class NAnt.Core.FrameworkInfo[] V_7) + class [System.Xml]System.Xml.XmlNode V_0, + class [System.Xml]System.Xml.XmlNode V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_0007: callvirt instance int32 class NAnt.Core.FrameworkInfoDictionary::get_Count() - IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0002: call instance class NAnt.Core.TaskBuilder class NAnt.Core.Task::get_TaskBuilder() + IL_0007: callvirt instance class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly() + IL_000c: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Extensibility.ExtensionAssembly::get_ConfigurationSection() IL_0011: stloc.0 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_0019: callvirt instance class [mscorlib]System.Collections.ICollection class NAnt.Core.FrameworkInfoDictionary::get_Values() - IL_001e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0023: stloc.2 - .try { // 0 - IL_0024: br IL_0149 + IL_0012: ldloc.0 + IL_0013: brfalse IL_0028 - IL_0029: ldloc.2 - IL_002a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_002f: castclass NAnt.Core.FrameworkInfo - IL_0034: stloc.1 - IL_0035: nop - IL_0036: ldarg.1 - IL_0037: ldc.i4.3 - IL_0038: and - IL_0039: brfalse IL_0070 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldloc.0 + IL_001b: ldarg.1 + IL_001c: ldarg.2 + IL_001d: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.FrameworkInfo, string) + IL_0022: stloc.1 + IL_0023: br IL_0036 - IL_003e: nop - IL_003f: ldarg.1 - IL_0040: ldc.i4.2 - IL_0041: and - IL_0042: brtrue IL_0057 + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: ldarg.2 + IL_002b: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class NAnt.Core.FrameworkInfo, string) + IL_0030: stloc.1 + IL_0031: br IL_0036 - IL_0047: ldloc.1 - IL_0048: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() - IL_004d: brfalse IL_0057 + IL_0036: ldloc.1 + IL_0037: ret + } // end of method Task::GetAttributeConfigurationNode - IL_0052: leave IL_0149 + // method line 1912 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x5a5c + // Code size 21 (0x15) + .maxstack 8 + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Task::logger + IL_0014: ret + } // end of method Task::.cctor - IL_0057: ldarg.1 - IL_0058: ldc.i4.1 - IL_0059: and - IL_005a: brtrue IL_006f + .property instance bool FailOnError () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 66 61 69 6C 6F 6E 65 72 72 6F 72 00 00 ) // ...failonerror.. - IL_005f: ldloc.1 - IL_0060: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() - IL_0065: brtrue IL_006f + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_006a: leave IL_0149 + .get instance default bool NAnt.Core.Task::get_FailOnError () + .set instance default void NAnt.Core.Task::set_FailOnError (bool 'value') + } + .property instance bool Verbose () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 76 65 72 62 6F 73 65 00 00 ) // ...verbose.. - IL_006f: nop - IL_0070: ldarg.1 - IL_0071: ldc.i4.s 0x1c - IL_0073: and - IL_0074: brfalse IL_00f2 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0079: nop - IL_007a: ldloc.1 - IL_007b: callvirt instance valuetype NAnt.Core.ClrType class NAnt.Core.FrameworkInfo::get_ClrType() - IL_0080: stloc.3 - IL_0081: ldloc.3 - IL_0082: ldc.i4.1 - IL_0083: sub - IL_0084: switch ( - IL_00ac, - IL_009a, - IL_00be) - IL_0095: br IL_00d1 + .get instance default bool NAnt.Core.Task::get_Verbose () + .set instance default void NAnt.Core.Task::set_Verbose (bool 'value') + } + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_009a: ldarg.1 - IL_009b: ldc.i4.8 - IL_009c: and - IL_009d: brtrue IL_00a7 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00a2: leave IL_0149 + .get instance default bool NAnt.Core.Task::get_IfDefined () + .set instance default void NAnt.Core.Task::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_00a7: leave IL_00f1 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00ac: ldarg.1 - IL_00ad: ldc.i4.4 - IL_00ae: and - IL_00af: brtrue IL_00b9 + .get instance default bool NAnt.Core.Task::get_UnlessDefined () + .set instance default void NAnt.Core.Task::set_UnlessDefined (bool 'value') + } + .property instance string Name () + { + .get instance default string NAnt.Core.Task::get_Name () + } + .property instance string LogPrefix () + { + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 14 57 69 6C 6C 20 62 65 20 72 65 6D 6F 76 // ...Will be remov + 65 64 20 73 6F 6F 6E 00 00 00 ) // ed soon... - IL_00b4: leave IL_0149 + .get instance default string NAnt.Core.Task::get_LogPrefix () + } + .property instance valuetype NAnt.Core.Level Threshold () + { + .get instance default valuetype NAnt.Core.Level NAnt.Core.Task::get_Threshold () + .set instance default void NAnt.Core.Task::set_Threshold (valuetype NAnt.Core.Level 'value') + } + .property instance class NAnt.Core.TaskBuilder TaskBuilder () + { + .get instance default class NAnt.Core.TaskBuilder NAnt.Core.Task::get_TaskBuilder () + } + } // end of class NAnt.Core.Task +} - IL_00b9: leave IL_00f1 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit ElementContainer + extends NAnt.Core.Element + { + .field private class [System]System.Collections.Specialized.StringCollection _subXMLElements - IL_00be: ldarg.1 - IL_00bf: ldc.i4.s 0x10 - IL_00c1: and - IL_00c2: brtrue IL_00cc + // method line 1913 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x6400 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method ElementContainer::.ctor - IL_00c7: leave IL_0149 + // method line 1914 + .method family virtual hidebysig specialname + instance default bool get_CustomXmlProcessing () cil managed + { + // Method begins at RVA 0x6408 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_00cc: leave IL_00f1 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ElementContainer::get_CustomXmlProcessing - IL_00d1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00d6: ldstr "CLR type '{0}' is not supported." - IL_00db: ldloc.1 - IL_00dc: callvirt instance valuetype NAnt.Core.ClrType class NAnt.Core.FrameworkInfo::get_ClrType() - IL_00e1: box NAnt.Core.ClrType - IL_00e6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00eb: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_00f0: throw - IL_00f1: nop - IL_00f2: ldarg.1 - IL_00f3: ldc.i4.s 0x60 - IL_00f5: and - IL_00f6: brfalse IL_0140 + // method line 1915 + .method public virtual hidebysig newslot + instance default void Execute () cil managed + { + // Method begins at RVA 0x641e + // Code size 8 (0x8) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance void class NAnt.Core.ElementContainer::ExecuteChildTasks() + IL_0007: ret + } // end of method ElementContainer::Execute - IL_00fb: nop - IL_00fc: ldloc.1 - IL_00fd: callvirt instance valuetype NAnt.Core.VendorType class NAnt.Core.FrameworkInfo::get_Vendor() - IL_0102: stloc.s 4 - IL_0104: ldloc.s 4 - IL_0106: ldc.i4.2 - IL_0107: beq IL_0119 + // method line 1916 + .method family virtual hidebysig newslot + instance default void ExecuteChildTasks () cil managed + { + // Method begins at RVA 0x6428 + // Code size 400 (0x190) + .maxstack 7 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Task V_2, + class NAnt.Core.DataTypeBase V_3, + class [mscorlib]System.IDisposable V_4) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0008: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_0169 - IL_010c: ldloc.s 4 - IL_010e: ldc.i4.1 - IL_010f: beq IL_012c + IL_0013: ldloc.1 + IL_0014: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0019: castclass [System.Xml]System.Xml.XmlNode + IL_001e: stloc.0 + IL_001f: nop + IL_0020: ldloc.0 + IL_0021: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_0026: ldc.i4.1 + IL_0027: bne.un IL_004c - IL_0114: br IL_013f + IL_002c: ldloc.0 + IL_002d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_0032: ldarg.0 + IL_0033: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_0038: ldstr "nant" + IL_003d: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_0042: callvirt instance bool string::Equals(string) + IL_0047: brtrue IL_0052 - IL_0119: ldarg.1 - IL_011a: ldc.i4.s 0x20 - IL_011c: and - IL_011d: brtrue IL_0127 + IL_004c: nop + IL_004d: leave IL_0169 - IL_0122: leave IL_0149 + IL_0052: ldarg.0 + IL_0053: ldloc.0 + IL_0054: callvirt instance bool class NAnt.Core.ElementContainer::IsPrivateXmlElement(class [System.Xml]System.Xml.XmlNode) + IL_0059: brfalse IL_0064 - IL_0127: leave IL_013f + IL_005e: nop + IL_005f: leave IL_0169 - IL_012c: ldarg.1 - IL_012d: ldc.i4.s 0x40 - IL_012f: and - IL_0130: brtrue IL_013a + IL_0064: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0069: ldloc.0 + IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_006f: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) + IL_0074: brfalse IL_009d - IL_0135: leave IL_0149 + IL_0079: nop + IL_007a: ldarg.0 + IL_007b: ldloc.0 + IL_007c: callvirt instance class NAnt.Core.Task class NAnt.Core.ElementContainer::CreateChildTask(class [System.Xml]System.Xml.XmlNode) + IL_0081: stloc.2 + IL_0082: ldloc.2 + IL_0083: brfalse IL_0097 - IL_013a: leave IL_013f + IL_0088: nop + IL_0089: ldloc.2 + IL_008a: ldarg.0 + IL_008b: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0090: ldloc.2 + IL_0091: callvirt instance void class NAnt.Core.Task::Execute() + IL_0096: nop + IL_0097: nop + IL_0098: br IL_0168 - IL_013f: nop - IL_0140: ldloc.0 - IL_0141: ldloc.1 - IL_0142: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0147: pop - IL_0148: nop - IL_0149: ldloc.2 - IL_014a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_014f: brtrue IL_0029 + IL_009d: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_00a2: ldloc.0 + IL_00a3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00a8: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) + IL_00ad: brfalse IL_013b - IL_0154: leave IL_016f + IL_00b2: nop + IL_00b3: ldarg.0 + IL_00b4: ldloc.0 + IL_00b5: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.ElementContainer::CreateChildDataTypeBase(class [System.Xml]System.Xml.XmlNode) + IL_00ba: stloc.3 + IL_00bb: ldarg.0 + IL_00bc: ldc.i4 1000 + IL_00c1: ldstr "Adding a {0} reference with id '{1}'." + IL_00c6: ldc.i4.2 + IL_00c7: newarr [mscorlib]System.Object + IL_00cc: dup + IL_00cd: ldc.i4.0 + IL_00ce: ldloc.0 + IL_00cf: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00d4: stelem.ref + IL_00d5: dup + IL_00d6: ldc.i4.1 + IL_00d7: ldloc.3 + IL_00d8: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_00dd: stelem.ref + IL_00de: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00e3: ldarg.0 + IL_00e4: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00e9: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_00ee: ldloc.3 + IL_00ef: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_00f4: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) + IL_00f9: brtrue IL_011c - } // end .try 0 - finally { // 0 - IL_0159: ldloc.2 - IL_015a: isinst [mscorlib]System.IDisposable - IL_015f: dup - IL_0160: stloc.s 5 - IL_0162: brfalse IL_016e + IL_00fe: nop + IL_00ff: ldarg.0 + IL_0100: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0105: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_010a: ldloc.3 + IL_010b: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_0110: ldloc.3 + IL_0111: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) + IL_0116: nop + IL_0117: br IL_0135 - IL_0167: ldloc.s 5 - IL_0169: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_016e: endfinally - } // end handler 0 - IL_016f: ldloc.0 - IL_0170: call class [mscorlib]System.Collections.IComparer class NAnt.Core.FrameworkInfo::get_NameComparer() - IL_0175: callvirt instance void class [mscorlib]System.Collections.ArrayList::Sort(class [mscorlib]System.Collections.IComparer) - IL_017a: ldloc.0 - IL_017b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0180: newarr NAnt.Core.FrameworkInfo - IL_0185: stloc.s 6 - IL_0187: ldloc.0 - IL_0188: ldloc.s 6 - IL_018a: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array) - IL_018f: ldloc.s 6 - IL_0191: stloc.s 7 - IL_0193: br IL_0198 + IL_011c: nop + IL_011d: ldarg.0 + IL_011e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0123: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_0128: ldloc.3 + IL_0129: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_012e: ldloc.3 + IL_012f: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) + IL_0134: nop + IL_0135: nop + IL_0136: br IL_0168 - IL_0198: ldloc.s 7 - IL_019a: ret - } // end of method Project::GetFrameworks + IL_013b: nop + IL_013c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0141: ldstr "NA1071" + IL_0146: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_014b: ldloc.0 + IL_014c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0151: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0156: ldarg.0 + IL_0157: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_015c: ldloc.0 + IL_015d: callvirt instance class NAnt.Core.Location class NAnt.Core.Project::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_0162: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0167: throw + IL_0168: nop + IL_0169: ldloc.1 + IL_016a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_016f: brtrue IL_0013 - // method line 1880 - .method public hidebysig specialname - instance default class NAnt.Core.FrameworkInfo get_RuntimeFramework () cil managed - { - // Method begins at RVA 0x25b84 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.FrameworkInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_runtimeFramework - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0174: leave IL_018f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_RuntimeFramework + } // end .try 0 + finally { // 0 + IL_0179: ldloc.1 + IL_017a: isinst [mscorlib]System.IDisposable + IL_017f: dup + IL_0180: stloc.s 4 + IL_0182: brfalse IL_018e - // method line 1881 - .method public hidebysig specialname - instance default void set_RuntimeFramework (class NAnt.Core.FrameworkInfo 'value') cil managed - { - // Method begins at RVA 0x25b9f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_runtimeFramework - IL_0008: ret - } // end of method Project::set_RuntimeFramework + IL_0187: ldloc.s 4 + IL_0189: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_018e: endfinally + } // end handler 0 + IL_018f: ret + } // end of method ElementContainer::ExecuteChildTasks - // method line 1882 - .method public hidebysig specialname - instance default class NAnt.Core.FrameworkInfo get_TargetFramework () cil managed + // method line 1917 + .method family virtual hidebysig newslot + instance default class NAnt.Core.Task CreateChildTask (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x25bac - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x65e0 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.Core.FrameworkInfo V_0) + class NAnt.Core.Task V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_targetFramework - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_TargetFramework - - // method line 1883 - .method public hidebysig specialname - instance default void set_TargetFramework (class NAnt.Core.FrameworkInfo 'value') cil managed - { - // Method begins at RVA 0x25bc7 - // Code size 39 (0x27) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: stfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_targetFramework - IL_0020: ldarg.0 - IL_0021: call instance void class NAnt.Core.Project::UpdateTargetFrameworkProperties() - IL_0026: ret - } // end of method Project::set_TargetFramework + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ElementContainer::CreateChildTask - // method line 1884 - .method public hidebysig specialname - instance default string get_PlatformName () cil managed + // method line 1918 + .method family virtual hidebysig newslot + instance default class NAnt.Core.DataTypeBase CreateChildDataTypeBase (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x25bf0 - // Code size 118 (0x76) - .maxstack 4 + // Method begins at RVA 0x6604 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0, - valuetype [mscorlib]System.PlatformID V_1) + class NAnt.Core.DataTypeBase V_0) IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsWin32 - IL_0006: brfalse IL_0017 - - IL_000b: nop - IL_000c: ldstr "win32" - IL_0011: stloc.0 - IL_0012: br IL_0074 - - IL_0017: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_001c: brfalse IL_002d - - IL_0021: nop - IL_0022: ldstr "unix" - IL_0027: stloc.0 - IL_0028: br IL_0074 + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_002d: nop - IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0033: ldstr "NA1060" - IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_003d: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_0042: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() - IL_0047: stloc.1 - IL_0048: ldloca.s 1 - IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004f: constrained. [mscorlib]System.PlatformID - IL_0055: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) - IL_005a: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_005f: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() - IL_0064: box [mscorlib]System.Int32 - IL_0069: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_006e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0073: throw - IL_0074: ldloc.0 - IL_0075: ret - } // end of method Project::get_PlatformName + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ElementContainer::CreateChildDataTypeBase - // method line 1885 - .method public hidebysig specialname - instance default class NAnt.Core.Target get_CurrentTarget () cil managed + // method line 1919 + .method family virtual hidebysig newslot + instance default bool IsPrivateXmlElement (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x25c74 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6628 + // Code size 40 (0x28) + .maxstack 2 .locals init ( - class NAnt.Core.Target V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements + IL_0007: brfalse IL_001f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_CurrentTarget + IL_000c: ldarg.0 + IL_000d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements + IL_0012: ldarg.1 + IL_0013: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0018: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_001d: br.s IL_0020 - // method line 1886 - .method public hidebysig specialname - instance default string get_BuildFileLocalName () cil managed + IL_001f: ldc.i4.0 + IL_0020: stloc.0 + IL_0021: br IL_0026 + + IL_0026: ldloc.0 + IL_0027: ret + } // end of method ElementContainer::IsPrivateXmlElement + + // method line 1920 + .method family virtual hidebysig newslot + instance default void AddPrivateXmlElementName (string name) cil managed { - // Method begins at RVA 0x25c90 - // Code size 62 (0x3e) - .maxstack 2 - .locals init ( - string V_0) + // Method begins at RVA 0x665c + // Code size 54 (0x36) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_0007: ldnull - IL_0008: call bool class [System]System.Uri::op_Inequality(class [System]System.Uri, class [System]System.Uri) - IL_000d: brfalse IL_0034 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements + IL_0007: brtrue IL_0017 - IL_0012: ldarg.0 - IL_0013: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_0018: callvirt instance bool class [System]System.Uri::get_IsFile() - IL_001d: brfalse IL_0034 + IL_000c: ldarg.0 + IL_000d: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0012: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements + IL_0017: ldarg.0 + IL_0018: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements + IL_001d: ldarg.1 + IL_001e: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_0023: brtrue IL_0035 - IL_0022: nop - IL_0023: ldarg.0 - IL_0024: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_0029: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_002e: stloc.0 - IL_002f: br IL_003c + IL_0028: ldarg.0 + IL_0029: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements + IL_002e: ldarg.1 + IL_002f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0034: pop + IL_0035: ret + } // end of method ElementContainer::AddPrivateXmlElementName - IL_0034: nop - IL_0035: ldnull - IL_0036: stloc.0 - IL_0037: br IL_003c + .property instance bool CustomXmlProcessing () + { + .get instance default bool NAnt.Core.ElementContainer::get_CustomXmlProcessing () + } + } // end of class NAnt.Core.ElementContainer +} - IL_003c: ldloc.0 - IL_003d: ret - } // end of method Project::get_BuildFileLocalName +.namespace NAnt.Core +{ + .class public auto ansi abstract beforefieldinit FunctionSetBase + extends [mscorlib]System.Object + { + .field private class NAnt.Core.Project _project - // method line 1887 - .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlDocument get_Document () cil managed + // method line 1921 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x25cdc + // Method begins at RVA 0x10c38 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlDocument NAnt.Core.Project::_doc - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project IL_000e: ret - } // end of method Project::get_Document + } // end of method FunctionSetBase::.ctor - // method line 1888 - .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationNode () cil managed + // method line 1922 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Project get_Project () cil managed { - // Method begins at RVA 0x25cf8 + // Method begins at RVA 0x10c48 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0) + class NAnt.Core.Project V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::_configurationNode + IL_0002: ldfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Project::get_ConfigurationNode + } // end of method FunctionSetBase::get_Project - // method line 1889 - .method public hidebysig specialname - instance default string get_DefaultTargetName () cil managed + // method line 1923 + .method public virtual hidebysig newslot specialname + instance default void set_Project (class NAnt.Core.Project 'value') cil managed { - // Method begins at RVA 0x25d14 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x10c63 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Project::_defaultTargetName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project + IL_0008: ret + } // end of method FunctionSetBase::set_Project - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_DefaultTargetName + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.FunctionSetBase::get_Project () + .set instance default void NAnt.Core.FunctionSetBase::set_Project (class NAnt.Core.Project 'value') + } + } // end of class NAnt.Core.FunctionSetBase +} - // method line 1890 - .method public hidebysig specialname - instance default bool get_Verbose () cil managed - { - // Method begins at RVA 0x25d30 - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4 2000 - IL_0006: ldarg.0 - IL_0007: call instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_000c: clt - IL_000e: ldc.i4.0 - IL_000f: ceq - IL_0011: stloc.0 - IL_0012: br IL_0017 +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit TaskBuilderCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_0017: ldloc.0 - IL_0018: ret - } // end of method Project::get_Verbose - // method line 1891 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_BuildTargets () cil managed + // method line 1924 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x25d58 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_BuildTargets + // Method begins at RVA 0x24f07 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method TaskBuilderCollection::.ctor - // method line 1892 - .method public hidebysig specialname - instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed + // method line 1925 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.TaskBuilderCollection 'value') cil managed { - // Method begins at RVA 0x25d74 + // Method begins at RVA 0x24f10 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.PropertyDictionary V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_properties - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.TaskBuilderCollection::AddRange(class NAnt.Core.TaskBuilderCollection) IL_000e: ret - } // end of method Project::get_Properties + } // end of method TaskBuilderCollection::.ctor - // method line 1893 - .method public hidebysig specialname - instance default class NAnt.Core.PropertyDictionary get_FrameworkNeutralProperties () cil managed + // method line 1926 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.TaskBuilder[] 'value') cil managed { - // Method begins at RVA 0x25d90 + // Method begins at RVA 0x24f20 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.PropertyDictionary V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_frameworkNeutralProperties - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.TaskBuilderCollection::AddRange(class NAnt.Core.TaskBuilder[]) IL_000e: ret - } // end of method Project::get_FrameworkNeutralProperties + } // end of method TaskBuilderCollection::.ctor - // method line 1894 + // method line 1927 .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBaseDictionary get_DataTypeReferences () cil managed + instance default class NAnt.Core.TaskBuilder get_Item (int32 index) cil managed { - // Method begins at RVA 0x25dac - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x24f30 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class NAnt.Core.DataTypeBaseDictionary V_0) + class NAnt.Core.TaskBuilder V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.TaskBuilder + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_DataTypeReferences + IL_0018: ldloc.0 + IL_0019: ret + } // end of method TaskBuilderCollection::get_Item - // method line 1895 + // method line 1928 .method public hidebysig specialname - instance default class NAnt.Core.TargetCollection get_Targets () cil managed + instance default void set_Item (int32 index, class NAnt.Core.TaskBuilder 'value') cil managed { - // Method begins at RVA 0x25dc8 + // Method begins at RVA 0x24f56 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.TargetCollection V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) IL_000e: ret - } // end of method Project::get_Targets + } // end of method TaskBuilderCollection::set_Item - // method line 1896 + // method line 1929 .method public hidebysig specialname - instance default class NAnt.Core.BuildListenerCollection get_BuildListeners () cil managed + instance default class NAnt.Core.TaskBuilder get_Item (string taskName) cil managed { - // Method begins at RVA 0x25de4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x24f68 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - class NAnt.Core.BuildListenerCollection V_0) + class NAnt.Core.TaskBuilder V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.TaskBuilder V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_BuildListeners + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 + + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.TaskBuilder + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.Core.TaskBuilder::get_TaskName() + IL_002e: callvirt instance bool string::Equals(string) + IL_0033: brfalse IL_0040 + + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d + + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a + + IL_004c: leave IL_0065 + + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - // method line 1897 - .method assembly hidebysig specialname - instance default class NAnt.Core.LocationMap get_LocationMap () cil managed - { - // Method begins at RVA 0x25e00 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.LocationMap V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Project::get_LocationMap + IL_006d: ldloc.2 + IL_006e: ret + } // end of method TaskBuilderCollection::get_Item - // method line 1898 + // method line 1930 .method public hidebysig - instance default class NAnt.Core.Location GetLocation (class [System.Xml]System.Xml.XmlNode node) cil managed + instance default int32 Add (class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x25e1c + // Method begins at RVA 0x24ff4 // Code size 21 (0x15) .maxstack 2 .locals init ( - class NAnt.Core.Location V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) IL_000d: stloc.0 IL_000e: br IL_0013 IL_0013: ldloc.0 IL_0014: ret - } // end of method Project::GetLocation - - // method line 1899 - .method public hidebysig - instance default void OnBuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed - { - // Method begins at RVA 0x25e3d - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted - IL_0007: brfalse IL_001b - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) - IL_001a: nop - IL_001b: ret - } // end of method Project::OnBuildStarted - - // method line 1900 - .method public hidebysig - instance default void OnBuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed - { - // Method begins at RVA 0x25e5a - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished - IL_0007: brfalse IL_001b - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) - IL_001a: nop - IL_001b: ret - } // end of method Project::OnBuildFinished + } // end of method TaskBuilderCollection::Add - // method line 1901 + // method line 1931 .method public hidebysig - instance default void OnTargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + instance default void AddRange (class NAnt.Core.TaskBuilder[] items) cil managed { - // Method begins at RVA 0x25e77 - // Code size 28 (0x1c) - .maxstack 8 + // Method begins at RVA 0x25018 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted - IL_0007: brfalse IL_001b - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) - IL_001a: nop - IL_001b: ret - } // end of method Project::OnTargetStarted + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - // method line 1902 - .method public hidebysig - instance default void OnTargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed - { - // Method begins at RVA 0x25e94 - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished - IL_0007: brfalse IL_001b + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.TaskBuilderCollection::Add(class NAnt.Core.TaskBuilder) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) - IL_001a: nop - IL_001b: ret - } // end of method Project::OnTargetFinished + IL_0021: ret + } // end of method TaskBuilderCollection::AddRange - // method line 1903 + // method line 1932 .method public hidebysig - instance default void OnTaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + instance default void AddRange (class NAnt.Core.TaskBuilderCollection items) cil managed { - // Method begins at RVA 0x25eb1 - // Code size 28 (0x1c) - .maxstack 8 + // Method begins at RVA 0x25048 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted - IL_0007: brfalse IL_001b - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) - IL_001a: nop - IL_001b: ret - } // end of method Project::OnTaskStarted + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - // method line 1904 - .method public hidebysig - instance default void OnTaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed - { - // Method begins at RVA 0x25ece - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished - IL_0007: brfalse IL_001b + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.TaskBuilderCollection::Add(class NAnt.Core.TaskBuilder) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) - IL_001a: nop - IL_001b: ret - } // end of method Project::OnTaskFinished + IL_0028: ret + } // end of method TaskBuilderCollection::AddRange - // method line 1905 + // method line 1933 .method public hidebysig - instance default void OnMessageLogged (class NAnt.Core.BuildEventArgs e) cil managed + instance default bool Contains (class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x25eeb - // Code size 28 (0x1c) - .maxstack 8 + // Method begins at RVA 0x25080 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged - IL_0007: brfalse IL_001b + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) - IL_001a: nop - IL_001b: ret - } // end of method Project::OnMessageLogged + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TaskBuilderCollection::Contains - // method line 1906 + // method line 1934 .method public hidebysig - instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed + instance default bool Contains (string taskName) cil managed { - // Method begins at RVA 0x25f08 - // Code size 30 (0x1e) + // Method begins at RVA 0x250a4 + // Code size 22 (0x16) .maxstack 2 .locals init ( - class NAnt.Core.BuildEventArgs V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldarg.2 - IL_000a: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) - IL_000f: ldloc.0 - IL_0010: ldarg.1 - IL_0011: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) - IL_0016: ldarg.0 - IL_0017: ldloc.0 - IL_0018: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) - IL_001d: ret - } // end of method Project::Log - - // method line 1907 - .method public hidebysig - instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed - { - .param [3] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - // Method begins at RVA 0x25f34 - // Code size 41 (0x29) - .maxstack 4 - .locals init ( - class NAnt.Core.BuildEventArgs V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000e: ldarg.2 - IL_000f: ldarg.3 - IL_0010: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0015: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) - IL_001a: ldloc.0 - IL_001b: ldarg.1 - IL_001c: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) - IL_0021: ldarg.0 - IL_0022: ldloc.0 - IL_0023: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) - IL_0028: ret - } // end of method Project::Log + IL_0014: ldloc.0 + IL_0015: ret + } // end of method TaskBuilderCollection::Contains - // method line 1908 + // method line 1935 .method public hidebysig - instance default void Log (class NAnt.Core.Task task, valuetype NAnt.Core.Level messageLevel, string message) cil managed + instance default void CopyTo (class NAnt.Core.TaskBuilder[] 'array', int32 index) cil managed { - // Method begins at RVA 0x25f6c - // Code size 30 (0x1e) - .maxstack 2 - .locals init ( - class NAnt.Core.BuildEventArgs V_0) + // Method begins at RVA 0x250c6 + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Task) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldarg.3 - IL_000a: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) - IL_000f: ldloc.0 - IL_0010: ldarg.2 - IL_0011: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) - IL_0016: ldarg.0 - IL_0017: ldloc.0 - IL_0018: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) - IL_001d: ret - } // end of method Project::Log + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method TaskBuilderCollection::CopyTo - // method line 1909 + // method line 1936 .method public hidebysig - instance default void Log (class NAnt.Core.Target target, valuetype NAnt.Core.Level messageLevel, string message) cil managed + instance default int32 IndexOf (class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x25f98 - // Code size 30 (0x1e) + // Method begins at RVA 0x250d8 + // Code size 21 (0x15) .maxstack 2 .locals init ( - class NAnt.Core.BuildEventArgs V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Target) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldarg.3 - IL_000a: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) - IL_000f: ldloc.0 - IL_0010: ldarg.2 - IL_0011: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) - IL_0016: ldarg.0 - IL_0017: ldloc.0 - IL_0018: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) - IL_001d: ret - } // end of method Project::Log - - // method line 1910 - .method public virtual hidebysig newslot - instance default void Execute () cil managed - { - // Method begins at RVA 0x25fc4 - // Code size 352 (0x160) - .maxstack 4 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_0007: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_000c: brtrue IL_0035 - - IL_0011: ldarg.0 - IL_0012: call instance string class NAnt.Core.Project::get_DefaultTargetName() - IL_0017: call bool string::IsNullOrEmpty(string) - IL_001c: brtrue IL_0035 - - IL_0021: nop - IL_0022: ldarg.0 - IL_0023: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_0028: ldarg.0 - IL_0029: call instance string class NAnt.Core.Project::get_DefaultTargetName() - IL_002e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0033: pop - IL_0034: nop - IL_0035: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_003a: stloc.0 - IL_003b: ldarg.0 - IL_003c: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_0041: brfalse IL_009b - - IL_0046: nop - IL_0047: nop - IL_0048: ldarg.0 - IL_0049: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_004e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0053: stloc.2 - .try { // 0 - IL_0054: br IL_0076 - - IL_0059: ldloc.2 - IL_005a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_005f: stloc.1 - IL_0060: nop - IL_0061: ldloc.0 - IL_0062: ldloc.1 - IL_0063: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0068: pop - IL_0069: ldloc.0 - IL_006a: ldstr " " - IL_006f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0074: pop - IL_0075: nop - IL_0076: ldloc.2 - IL_0077: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_007c: brtrue IL_0059 - - IL_0081: leave IL_009a - - } // end .try 0 - finally { // 0 - IL_0086: ldloc.2 - IL_0087: isinst [mscorlib]System.IDisposable - IL_008c: dup - IL_008d: stloc.3 - IL_008e: brfalse IL_0099 - - IL_0093: ldloc.3 - IL_0094: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0099: endfinally - } // end handler 0 - IL_009a: nop - IL_009b: ldloc.0 - IL_009c: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_00a1: ldc.i4.0 - IL_00a2: ble IL_00d9 - - IL_00a7: nop - IL_00a8: ldarg.0 - IL_00a9: ldc.i4 3000 - IL_00ae: ldstr "Target(s) specified: " - IL_00b3: ldloc.0 - IL_00b4: callvirt instance string object::ToString() - IL_00b9: call string string::Concat(string, string) - IL_00be: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) - IL_00c3: ldarg.0 - IL_00c4: ldc.i4 3000 - IL_00c9: ldsfld string [mscorlib]System.String::Empty - IL_00ce: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) - IL_00d3: nop - IL_00d4: br IL_00eb - - IL_00d9: nop - IL_00da: ldarg.0 - IL_00db: ldc.i4 3000 - IL_00e0: ldsfld string [mscorlib]System.String::Empty - IL_00e5: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) - IL_00ea: nop - IL_00eb: ldarg.0 - IL_00ec: ldarg.0 - IL_00ed: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() - IL_00f2: call instance void class NAnt.Core.Project::InitializeProjectDocument(class [System.Xml]System.Xml.XmlDocument) - IL_00f7: ldarg.0 - IL_00f8: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_00fd: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0102: brtrue IL_010e - - IL_0107: nop - IL_0108: nop - IL_0109: br IL_015f - - IL_010e: nop - IL_010f: nop - IL_0110: ldarg.0 - IL_0111: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() - IL_0116: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_011b: stloc.s 5 - .try { // 1 - IL_011d: br IL_0136 - - IL_0122: ldloc.s 5 - IL_0124: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0129: stloc.s 4 - IL_012b: nop - IL_012c: ldarg.0 - IL_012d: ldloc.s 4 - IL_012f: ldc.i4.0 - IL_0130: call instance void class NAnt.Core.Project::Execute(string, bool) - IL_0135: nop - IL_0136: ldloc.s 5 - IL_0138: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_013d: brtrue IL_0122 - - IL_0142: leave IL_015e - - } // end .try 1 - finally { // 1 - IL_0147: ldloc.s 5 - IL_0149: isinst [mscorlib]System.IDisposable - IL_014e: dup - IL_014f: stloc.s 6 - IL_0151: brfalse IL_015d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0156: ldloc.s 6 - IL_0158: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_015d: endfinally - } // end handler 1 - IL_015e: nop - IL_015f: ret - } // end of method Project::Execute + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TaskBuilderCollection::IndexOf - // method line 1911 + // method line 1937 .method public hidebysig - instance default void Execute (string targetName) cil managed + instance default void Insert (int32 index, class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x2614c - // Code size 10 (0xa) + // Method begins at RVA 0x250f9 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldc.i4.1 - IL_0004: call instance void class NAnt.Core.Project::Execute(string, bool) - IL_0009: ret - } // end of method Project::Execute + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method TaskBuilderCollection::Insert - // method line 1912 + // method line 1938 .method public hidebysig - instance default void Execute (string targetName, bool forceDependencies) cil managed + instance default class NAnt.Core.TaskBuilderEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x26158 - // Code size 117 (0x75) - .maxstack 4 + // Method begins at RVA 0x2510c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.TargetCollection V_0, - int32 V_1, - class NAnt.Core.Target V_2, - class NAnt.Core.Target V_3) + class NAnt.Core.TaskBuilderEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.0 - IL_0004: call instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_0009: call instance class NAnt.Core.TargetCollection class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection) - IL_000e: stloc.0 - IL_000f: ldc.i4.0 - IL_0010: stloc.1 - IL_0011: ldarg.0 - IL_0012: ldfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget - IL_0017: stloc.3 - IL_0018: nop - IL_0019: ldloc.0 - IL_001a: ldloc.1 - IL_001b: dup - IL_001c: ldc.i4.1 - IL_001d: add - IL_001e: stloc.1 - IL_001f: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_0024: castclass NAnt.Core.Target - IL_0029: stloc.2 - IL_002a: ldarg.0 - IL_002b: ldloc.2 - IL_002c: stfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget - IL_0031: ldarg.2 - IL_0032: brtrue IL_0053 + IL_0002: newobj instance void class NAnt.Core.TaskBuilderEnumerator::'.ctor'(class NAnt.Core.TaskBuilderCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0037: ldloc.2 - IL_0038: callvirt instance bool class NAnt.Core.Target::get_Executed() - IL_003d: brfalse IL_0053 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TaskBuilderCollection::GetEnumerator - IL_0042: ldloc.2 - IL_0043: callvirt instance string class NAnt.Core.Target::get_Name() - IL_0048: ldarg.1 - IL_0049: call bool string::op_Equality(string, string) - IL_004e: brfalse IL_005b + // method line 1939 + .method public hidebysig + instance default void Remove (class NAnt.Core.TaskBuilder item) cil managed + { + // Method begins at RVA 0x25127 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method TaskBuilderCollection::Remove - IL_0053: nop - IL_0054: ldloc.2 - IL_0055: callvirt instance void class NAnt.Core.Target::Execute() - IL_005a: nop - IL_005b: nop - IL_005c: ldloc.2 - IL_005d: callvirt instance string class NAnt.Core.Target::get_Name() - IL_0062: ldarg.1 - IL_0063: call bool string::op_Inequality(string, string) - IL_0068: brtrue IL_0018 + .property instance class NAnt.Core.TaskBuilder Item (int32) + { + .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderCollection::get_Item (int32 index) + .set instance default void NAnt.Core.TaskBuilderCollection::set_Item (int32 index, class NAnt.Core.TaskBuilder 'value') + } + .property instance class NAnt.Core.TaskBuilder Item (string) + { + .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderCollection::get_Item (string taskName) + } + } // end of class NAnt.Core.TaskBuilderCollection +} - IL_006d: ldarg.0 - IL_006e: ldloc.3 - IL_006f: stfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget - IL_0074: ret - } // end of method Project::Execute +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit TaskBuilderEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 1913 + // method line 1940 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.TaskBuilderCollection arguments) cil managed + { + // Method begins at RVA 0x25138 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator + IL_0015: ret + } // end of method TaskBuilderEnumerator::.ctor + + // method line 1941 + .method public hidebysig specialname + instance default class NAnt.Core.TaskBuilder get_Current () cil managed + { + // Method begins at RVA 0x2515c + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.TaskBuilder V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.TaskBuilder + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method TaskBuilderEnumerator::get_Current + + // method line 1942 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x25184 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.get_Current + + // method line 1943 .method public hidebysig - instance default bool Run () cil managed + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x261dc - // Code size 371 (0x173) - .maxstack 7 + // Method begins at RVA 0x251a4 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [mscorlib]System.Exception V_0, - bool V_1, - class NAnt.Core.BuildException V_2, - class [mscorlib]System.Exception V_3, - string V_4, - class NAnt.Core.Tasks.CallTask V_5, - class NAnt.Core.BuildEventArgs V_6) + bool V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - .try { // 2 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: ldarg.0 - IL_0006: ldarg.0 - IL_0007: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) - IL_000c: call instance void class NAnt.Core.Project::OnBuildStarted(object, class NAnt.Core.BuildEventArgs) - IL_0011: ldarg.0 - IL_0012: ldc.i4 3000 - IL_0017: ldstr "Buildfile: {0}" - IL_001c: ldc.i4.1 - IL_001d: newarr [mscorlib]System.Object - IL_0022: dup - IL_0023: ldc.i4.0 - IL_0024: ldarg.0 - IL_0025: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_002a: stelem.ref - IL_002b: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0030: ldarg.0 - IL_0031: ldc.i4 3000 - IL_0036: ldstr "Target framework: {0}" - IL_003b: ldc.i4.1 - IL_003c: newarr [mscorlib]System.Object - IL_0041: dup - IL_0042: ldc.i4.0 - IL_0043: ldarg.0 - IL_0044: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0049: brfalse IL_005e + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_004e: ldarg.0 - IL_004f: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0054: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_0059: br IL_0063 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TaskBuilderEnumerator::MoveNext - IL_005e: ldstr "None" - IL_0063: stelem.ref - IL_0064: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0069: ldarg.0 - IL_006a: ldc.i4 2000 - IL_006f: ldstr "Base Directory: {0}." - IL_0074: ldc.i4.1 - IL_0075: newarr [mscorlib]System.Object - IL_007a: dup - IL_007b: ldc.i4.0 - IL_007c: ldarg.0 - IL_007d: call instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0082: stelem.ref - IL_0083: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0088: ldarg.0 - IL_0089: callvirt instance void class NAnt.Core.Project::Execute() - IL_008e: ldc.i4.1 - IL_008f: stloc.1 - IL_0090: leave IL_0171 + // method line 1944 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x251c4 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - } // end .try 0 - catch class NAnt.Core.BuildException { // 0 - IL_0095: stloc.2 - IL_0096: nop - IL_0097: ldloc.2 - IL_0098: stloc.0 - IL_0099: ldsfld class [log4net]log4net.ILog NAnt.Core.Project::logger - IL_009e: ldstr "Build failed." - IL_00a3: ldloc.2 - IL_00a4: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) - IL_00a9: ldc.i4.0 - IL_00aa: stloc.1 - IL_00ab: leave IL_0171 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.MoveNext - } // end handler 0 - catch class [mscorlib]System.Exception { // 1 - IL_00b0: stloc.3 - IL_00b1: nop - IL_00b2: ldloc.3 - IL_00b3: stloc.0 - IL_00b4: ldsfld class [log4net]log4net.ILog NAnt.Core.Project::logger - IL_00b9: ldstr "Build failed." - IL_00be: ldloc.3 - IL_00bf: callvirt instance void class [log4net]log4net.ILog::Fatal(object, class [mscorlib]System.Exception) - IL_00c4: ldc.i4.0 - IL_00c5: stloc.1 - IL_00c6: leave IL_0171 + // method line 1945 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x251e4 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method TaskBuilderEnumerator::Reset - } // end handler 1 - } // end .try 2 - finally { // 2 - IL_00cb: nop - IL_00cc: ldloc.0 - IL_00cd: brtrue IL_00eb + // method line 1946 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x251f2 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.Reset - IL_00d2: nop - IL_00d3: ldarg.0 - IL_00d4: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00d9: ldstr "nant.onsuccess" - IL_00de: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_00e3: stloc.s 4 - IL_00e5: nop - IL_00e6: br IL_00ff + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.TaskBuilderEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.TaskBuilder Current () + { + .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderEnumerator::get_Current () + } + } // end of class NAnt.Core.TaskBuilderEnumerator +} - IL_00eb: nop - IL_00ec: ldarg.0 - IL_00ed: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00f2: ldstr "nant.onfailure" - IL_00f7: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_00fc: stloc.s 4 - IL_00fe: nop - IL_00ff: ldloc.s 4 - IL_0101: call bool string::IsNullOrEmpty(string) - IL_0106: brtrue IL_0156 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit TaskBuilder + extends NAnt.Core.Extensibility.ExtensionBuilder + { + .field private initonly string _className + .field private string _taskName - IL_010b: nop - IL_010c: newobj instance void class NAnt.Core.Tasks.CallTask::'.ctor'() - IL_0111: stloc.s 5 - IL_0113: ldloc.s 5 - IL_0115: ldarg.0 - IL_0116: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_011b: ldloc.s 5 - IL_011d: ldarg.0 - IL_011e: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0123: ldloc.s 5 - IL_0125: ldarg.0 - IL_0126: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_012b: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0130: ldloc.s 5 - IL_0132: ldarg.0 - IL_0133: call instance bool class NAnt.Core.Project::get_Verbose() - IL_0138: callvirt instance void class NAnt.Core.Task::set_Verbose(bool) - IL_013d: ldloc.s 5 - IL_013f: ldc.i4.0 - IL_0140: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) - IL_0145: ldloc.s 5 - IL_0147: ldloc.s 4 - IL_0149: callvirt instance void class NAnt.Core.Tasks.CallTask::set_TargetName(string) - IL_014e: ldloc.s 5 - IL_0150: callvirt instance void class NAnt.Core.Task::Execute() - IL_0155: nop - IL_0156: ldarg.0 - IL_0157: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) - IL_015c: stloc.s 6 - IL_015e: ldloc.s 6 - IL_0160: ldloc.0 - IL_0161: callvirt instance void class NAnt.Core.BuildEventArgs::set_Exception(class [mscorlib]System.Exception) - IL_0166: ldarg.0 - IL_0167: ldarg.0 - IL_0168: ldloc.s 6 - IL_016a: call instance void class NAnt.Core.Project::OnBuildFinished(object, class NAnt.Core.BuildEventArgs) - IL_016f: nop - IL_0170: endfinally - } // end handler 2 - IL_0171: ldloc.1 - IL_0172: ret - } // end of method Project::Run + // method line 1947 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed + { + // Method begins at RVA 0x25200 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) + IL_0007: ldarg.2 + IL_0008: call instance void class NAnt.Core.TaskBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) + IL_000d: nop + IL_000e: ret + } // end of method TaskBuilder::.ctor - // method line 1914 - .method public hidebysig - instance default class NAnt.Core.DataTypeBase CreateDataTypeBase (class [System.Xml]System.Xml.XmlNode elementNode) cil managed + // method line 1948 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed { - // Method begins at RVA 0x26384 - // Code size 51 (0x33) + // Method begins at RVA 0x25210 + // Code size 16 (0x10) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldarg.2 + IL_000a: stfld string NAnt.Core.TaskBuilder::_className + IL_000f: ret + } // end of method TaskBuilder::.ctor + + // method line 1949 + .method public hidebysig specialname + instance default string get_ClassName () cil managed + { + // Method begins at RVA 0x25224 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.TaskBuilder::_className + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TaskBuilder::get_ClassName + + // method line 1950 + .method public hidebysig specialname + instance default string get_TaskName () cil managed + { + // Method begins at RVA 0x25240 + // Code size 78 (0x4e) .maxstack 2 .locals init ( - class NAnt.Core.DataTypeBase V_0, - class NAnt.Core.DataTypeBase V_1) + class NAnt.Core.Attributes.TaskNameAttribute V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: call class NAnt.Core.DataTypeBase class NAnt.Core.TypeFactory::CreateDataType(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Project) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: ldarg.0 - IL_000b: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0010: ldloc.0 - IL_0011: ldarg.0 - IL_0012: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0017: ldloc.0 - IL_0018: ldarg.0 - IL_0019: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_001e: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0023: ldloc.0 - IL_0024: ldarg.1 - IL_0025: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) - IL_002a: ldloc.0 - IL_002b: stloc.1 - IL_002c: br IL_0031 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.TaskBuilder::_taskName + IL_0007: brtrue IL_0040 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_0013: ldarg.0 + IL_0014: call instance string class NAnt.Core.TaskBuilder::get_ClassName() + IL_0019: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) + IL_001e: ldtoken NAnt.Core.Attributes.TaskNameAttribute + IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0028: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_002d: castclass NAnt.Core.Attributes.TaskNameAttribute + IL_0032: stloc.0 + IL_0033: ldarg.0 + IL_0034: ldloc.0 + IL_0035: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_003a: stfld string NAnt.Core.TaskBuilder::_taskName + IL_003f: nop + IL_0040: ldarg.0 + IL_0041: ldfld string NAnt.Core.TaskBuilder::_taskName + IL_0046: stloc.1 + IL_0047: br IL_004c - IL_0031: ldloc.1 - IL_0032: ret - } // end of method Project::CreateDataTypeBase + IL_004c: ldloc.1 + IL_004d: ret + } // end of method TaskBuilder::get_TaskName - // method line 1915 + // method line 1951 .method public hidebysig - instance default class NAnt.Core.Task CreateTask (class [System.Xml]System.Xml.XmlNode taskNode) cil managed + instance default class NAnt.Core.Task CreateTask () cil managed { - // Method begins at RVA 0x263c4 - // Code size 17 (0x11) - .maxstack 3 + // Method begins at RVA 0x2529c + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 70 (0x46) + .maxstack 8 .locals init ( - class NAnt.Core.Task V_0) + class NAnt.Core.Task V_0, + class NAnt.Core.Extensibility.IPluginConsumer V_1, + class NAnt.Core.Task V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldnull - IL_0004: call instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Target) - IL_0009: stloc.0 - IL_000a: br IL_000f + IL_0002: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.Core.TaskBuilder::get_ClassName() + IL_000d: ldc.i4.1 + IL_000e: ldc.i4.s 0x14 + IL_0010: ldnull + IL_0011: ldnull + IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0017: ldnull + IL_0018: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) + IL_001d: castclass NAnt.Core.Task + IL_0022: stloc.0 + IL_0023: ldloc.0 + IL_0024: isinst NAnt.Core.Extensibility.IPluginConsumer + IL_0029: stloc.1 + IL_002a: ldloc.1 + IL_002b: brfalse IL_003d - IL_000f: ldloc.0 - IL_0010: ret - } // end of method Project::CreateTask + IL_0030: nop + IL_0031: call class NAnt.Core.Extensibility.PluginScanner class NAnt.Core.TypeFactory::get_PluginScanner() + IL_0036: ldloc.1 + IL_0037: callvirt instance void class NAnt.Core.Extensibility.PluginScanner::RegisterPlugins(class NAnt.Core.Extensibility.IPluginConsumer) + IL_003c: nop + IL_003d: ldloc.0 + IL_003e: stloc.2 + IL_003f: br IL_0044 - // method line 1916 - .method public hidebysig - instance default class NAnt.Core.Task CreateTask (class [System.Xml]System.Xml.XmlNode taskNode, class NAnt.Core.Target target) cil managed - { - // Method begins at RVA 0x263e4 - // Code size 51 (0x33) - .maxstack 2 - .locals init ( - class NAnt.Core.Task V_0, - class NAnt.Core.Task V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: call class NAnt.Core.Task class NAnt.Core.TypeFactory::CreateTask(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Project) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: ldarg.0 - IL_000b: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0010: ldloc.0 - IL_0011: ldarg.2 - IL_0012: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0017: ldloc.0 - IL_0018: ldarg.0 - IL_0019: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_001e: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0023: ldloc.0 - IL_0024: ldarg.1 - IL_0025: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) - IL_002a: ldloc.0 - IL_002b: stloc.1 - IL_002c: br IL_0031 + IL_0044: ldloc.2 + IL_0045: ret + } // end of method TaskBuilder::CreateTask - IL_0031: ldloc.1 - IL_0032: ret - } // end of method Project::CreateTask + .property instance string ClassName () + { + .get instance default string NAnt.Core.TaskBuilder::get_ClassName () + } + .property instance string TaskName () + { + .get instance default string NAnt.Core.TaskBuilder::get_TaskName () + } + } // end of class NAnt.Core.TaskBuilder +} - // method line 1917 - .method public hidebysig - instance default string ExpandProperties (string input, class NAnt.Core.Location location) cil managed +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit ExpressionParseException + extends [mscorlib]System.Exception + { + .field private int32 _startPos + .field private int32 _endPos + + // method line 1952 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x26424 + // Method begins at RVA 0x252ee // Code size 22 (0x16) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_000e: stloc.0 - IL_000f: br IL_0014 - - IL_0014: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.m1 + IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_000e: ldarg.0 + IL_000f: call instance void class [mscorlib]System.Exception::'.ctor'() + IL_0014: nop IL_0015: ret - } // end of method Project::ExpandProperties + } // end of method ExpressionParseException::.ctor - // method line 1918 - .method public hidebysig - instance default string GetFullPath (string path) cil managed + // method line 1953 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed { - // Method begins at RVA 0x26448 - // Code size 153 (0x99) - .maxstack 4 - .locals init ( - string V_0, - class [System]System.Uri V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brfalse IL_0019 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0013: stloc.0 - IL_0014: br IL_0097 + // Method begins at RVA 0x25305 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.m1 + IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldnull + IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_0016: nop + IL_0017: ret + } // end of method ExpressionParseException::.ctor - .try { // 0 - IL_0019: nop - IL_001a: ldarg.1 - IL_001b: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0020: stloc.1 - IL_0021: ldloc.1 - IL_0022: callvirt instance bool class [System]System.Uri::get_IsFile() - IL_0027: brfalse IL_003b + // method line 1954 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception inner) cil managed + { + // Method begins at RVA 0x2531e + // Code size 24 (0x18) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.m1 + IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldarg.2 + IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_0016: nop + IL_0017: ret + } // end of method ExpressionParseException::.ctor - IL_002c: nop - IL_002d: ldloc.1 - IL_002e: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_0033: starg.s 1 - IL_0035: nop - IL_0036: br IL_0062 + // method line 1955 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + { + // Method begins at RVA 0x25338 + // Code size 88 (0x58) + .maxstack 4 + IL_0000: ldarg.0 + IL_0001: ldc.i4.m1 + IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldarg.2 + IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: ldarg.1 + IL_0019: ldstr "startPos" + IL_001e: ldtoken [mscorlib]System.Int32 + IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0028: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_002d: unbox.any [mscorlib]System.Int32 + IL_0032: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: ldstr "endPos" + IL_003e: ldtoken [mscorlib]System.Int32 + IL_0043: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0048: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_004d: unbox.any [mscorlib]System.Int32 + IL_0052: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_0057: ret + } // end of method ExpressionParseException::.ctor - IL_003b: nop - IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0041: ldstr "NA1061" - IL_0046: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004b: ldarg.1 - IL_004c: ldloc.1 - IL_004d: callvirt instance string class [System]System.Uri::get_Scheme() - IL_0052: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0057: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_005c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0061: throw - IL_0062: nop - IL_0063: leave IL_0070 + // method line 1956 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, int32 pos) cil managed + { + // Method begins at RVA 0x2539c + // Code size 38 (0x26) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.m1 + IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldnull + IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: ldarg.2 + IL_0019: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_001e: ldarg.0 + IL_001f: ldc.i4.m1 + IL_0020: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_0025: ret + } // end of method ExpressionParseException::.ctor - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0068: pop - IL_0069: nop - IL_006a: nop - IL_006b: leave IL_0070 + // method line 1957 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, int32 startPos, int32 endPos) cil managed + { + // Method begins at RVA 0x253c3 + // Code size 38 (0x26) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.m1 + IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldnull + IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: ldarg.2 + IL_0019: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_001e: ldarg.0 + IL_001f: ldarg.3 + IL_0020: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_0025: ret + } // end of method ExpressionParseException::.ctor - } // end handler 0 - IL_0070: ldarg.1 - IL_0071: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_0076: brtrue IL_0090 + // method line 1958 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, int32 startPos, int32 endPos, class [mscorlib]System.Exception inner) cil managed + { + // Method begins at RVA 0x253ea + // Code size 39 (0x27) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.m1 + IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: ldarg.0 + IL_0008: ldc.i4.m1 + IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldarg.s 4 + IL_0012: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldarg.2 + IL_001a: stfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_001f: ldarg.0 + IL_0020: ldarg.3 + IL_0021: stfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_0026: ret + } // end of method ExpressionParseException::.ctor - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: call instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0082: ldarg.1 - IL_0083: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0088: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_008d: starg.s 1 - IL_008f: nop - IL_0090: ldarg.1 - IL_0091: stloc.0 - IL_0092: br IL_0097 + // method line 1959 + .method public hidebysig specialname + instance default int32 get_StartPos () cil managed + { + // Method begins at RVA 0x25414 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0097: ldloc.0 - IL_0098: ret - } // end of method Project::GetFullPath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExpressionParseException::get_StartPos - // method line 1919 - .method public hidebysig - instance default void CreateDefaultLogger () cil managed + // method line 1960 + .method public hidebysig specialname + instance default int32 get_EndPos () cil managed { - // Method begins at RVA 0x26500 - // Code size 166 (0xa6) - .maxstack 3 + // Method begins at RVA 0x25430 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.IBuildLogger V_0) + int32 V_0) IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.DefaultLogger::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: dup - IL_000a: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildStarted(object, class NAnt.Core.BuildEventArgs) - IL_0010: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0015: call instance void class NAnt.Core.Project::add_BuildStarted(class NAnt.Core.BuildEventHandler) - IL_001a: ldarg.0 - IL_001b: ldloc.0 - IL_001c: dup - IL_001d: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildFinished(object, class NAnt.Core.BuildEventArgs) - IL_0023: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0028: call instance void class NAnt.Core.Project::add_BuildFinished(class NAnt.Core.BuildEventHandler) - IL_002d: ldarg.0 - IL_002e: ldloc.0 - IL_002f: dup - IL_0030: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetStarted(object, class NAnt.Core.BuildEventArgs) - IL_0036: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_003b: call instance void class NAnt.Core.Project::add_TargetStarted(class NAnt.Core.BuildEventHandler) - IL_0040: ldarg.0 - IL_0041: ldloc.0 - IL_0042: dup - IL_0043: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetFinished(object, class NAnt.Core.BuildEventArgs) - IL_0049: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_004e: call instance void class NAnt.Core.Project::add_TargetFinished(class NAnt.Core.BuildEventHandler) - IL_0053: ldarg.0 - IL_0054: ldloc.0 - IL_0055: dup - IL_0056: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskStarted(object, class NAnt.Core.BuildEventArgs) - IL_005c: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0061: call instance void class NAnt.Core.Project::add_TaskStarted(class NAnt.Core.BuildEventHandler) - IL_0066: ldarg.0 - IL_0067: ldloc.0 - IL_0068: dup - IL_0069: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskFinished(object, class NAnt.Core.BuildEventArgs) - IL_006f: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0074: call instance void class NAnt.Core.Project::add_TaskFinished(class NAnt.Core.BuildEventHandler) - IL_0079: ldarg.0 - IL_007a: ldloc.0 - IL_007b: dup - IL_007c: ldvirtftn instance void class NAnt.Core.IBuildListener::MessageLogged(object, class NAnt.Core.BuildEventArgs) - IL_0082: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0087: call instance void class NAnt.Core.Project::add_MessageLogged(class NAnt.Core.BuildEventHandler) - IL_008c: ldloc.0 - IL_008d: ldarg.0 - IL_008e: call instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_0093: callvirt instance void class NAnt.Core.IBuildLogger::set_Threshold(valuetype NAnt.Core.Level) - IL_0098: ldarg.0 - IL_0099: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() - IL_009e: ldloc.0 - IL_009f: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) - IL_00a4: pop - IL_00a5: ret - } // end of method Project::CreateDefaultLogger + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1920 - .method public hidebysig - instance default void Indent () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExpressionParseException::get_EndPos + + // method line 1961 + .method public virtual hidebysig + instance default void GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed { - // Method begins at RVA 0x265b2 - // Code size 16 (0x10) + // Method begins at RVA 0x2544b + // Code size 44 (0x2c) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld int32 NAnt.Core.Project::_indentationLevel - IL_0008: ldc.i4.1 - IL_0009: add - IL_000a: stfld int32 NAnt.Core.Project::_indentationLevel - IL_000f: ret - } // end of method Project::Indent + IL_0001: ldarg.1 + IL_0002: ldstr "startPos" + IL_0007: ldarg.0 + IL_0008: ldfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_000d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, int32) + IL_0012: ldarg.1 + IL_0013: ldstr "endPos" + IL_0018: ldarg.0 + IL_0019: ldfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_001e: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, int32) + IL_0023: ldarg.0 + IL_0024: ldarg.1 + IL_0025: ldarg.2 + IL_0026: call instance void class [mscorlib]System.Exception::GetObjectData(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) + IL_002b: ret + } // end of method ExpressionParseException::GetObjectData - // method line 1921 - .method public hidebysig - instance default void Unindent () cil managed + .property instance int32 StartPos () + { + .get instance default int32 NAnt.Core.ExpressionParseException::get_StartPos () + } + .property instance int32 EndPos () + { + .get instance default int32 NAnt.Core.ExpressionParseException::get_EndPos () + } + } // end of class NAnt.Core.ExpressionParseException +} + +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit PropertyDictionary + extends [mscorlib]System.Collections.DictionaryBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + .field private class [System]System.Collections.Specialized.StringCollection _readOnlyProperties + .field private class [System]System.Collections.Specialized.StringCollection _dynamicProperties + .field private initonly class NAnt.Core.Project _project + .field assembly static literal string Visiting = "VISITING" + .field assembly static literal string Visited = "VISITED" + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map0' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + + // method line 1962 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x265c3 - // Code size 16 (0x10) + // Method begins at RVA 0x25478 + // Code size 37 (0x25) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld int32 NAnt.Core.Project::_indentationLevel - IL_0008: ldc.i4.1 - IL_0009: sub - IL_000a: stfld int32 NAnt.Core.Project::_indentationLevel - IL_000f: ret - } // end of method Project::Unindent + IL_0000: ldarg.0 + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_000b: ldarg.0 + IL_000c: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0011: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties + IL_0016: ldarg.0 + IL_0017: call instance void class [mscorlib]System.Collections.DictionaryBase::'.ctor'() + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: ldarg.1 + IL_001f: stfld class NAnt.Core.Project NAnt.Core.PropertyDictionary::_project + IL_0024: ret + } // end of method PropertyDictionary::.ctor - // method line 1922 - .method public hidebysig - instance default void DetachBuildListeners () cil managed + // method line 1963 + .method public virtual hidebysig newslot specialname + instance default string get_Item (string name) cil managed { - // Method begins at RVA 0x265d4 - // Code size 248 (0xf8) + // Method begins at RVA 0x254a0 + // Code size 67 (0x43) .maxstack 3 .locals init ( - class NAnt.Core.IBuildListener V_0, - class NAnt.Core.BuildListenerEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + string V_0, + string V_1) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() - IL_0008: callvirt instance class NAnt.Core.BuildListenerEnumerator class NAnt.Core.BuildListenerCollection::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_00c8 - - IL_0013: ldloc.1 - IL_0014: callvirt instance class NAnt.Core.IBuildListener class NAnt.Core.BuildListenerEnumerator::get_Current() - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: ldloc.0 - IL_001d: dup - IL_001e: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildStarted(object, class NAnt.Core.BuildEventArgs) - IL_0024: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0029: call instance void class NAnt.Core.Project::remove_BuildStarted(class NAnt.Core.BuildEventHandler) - IL_002e: ldarg.0 - IL_002f: ldloc.0 - IL_0030: dup - IL_0031: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildFinished(object, class NAnt.Core.BuildEventArgs) - IL_0037: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_003c: call instance void class NAnt.Core.Project::remove_BuildFinished(class NAnt.Core.BuildEventHandler) - IL_0041: ldarg.0 - IL_0042: ldloc.0 - IL_0043: dup - IL_0044: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetStarted(object, class NAnt.Core.BuildEventArgs) - IL_004a: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_004f: call instance void class NAnt.Core.Project::remove_TargetStarted(class NAnt.Core.BuildEventHandler) - IL_0054: ldarg.0 - IL_0055: ldloc.0 - IL_0056: dup - IL_0057: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetFinished(object, class NAnt.Core.BuildEventArgs) - IL_005d: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0062: call instance void class NAnt.Core.Project::remove_TargetFinished(class NAnt.Core.BuildEventHandler) - IL_0067: ldarg.0 - IL_0068: ldloc.0 - IL_0069: dup - IL_006a: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskStarted(object, class NAnt.Core.BuildEventArgs) - IL_0070: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0075: call instance void class NAnt.Core.Project::remove_TaskStarted(class NAnt.Core.BuildEventHandler) - IL_007a: ldarg.0 - IL_007b: ldloc.0 - IL_007c: dup - IL_007d: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskFinished(object, class NAnt.Core.BuildEventArgs) - IL_0083: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0088: call instance void class NAnt.Core.Project::remove_TaskFinished(class NAnt.Core.BuildEventHandler) - IL_008d: ldarg.0 - IL_008e: ldloc.0 - IL_008f: dup - IL_0090: ldvirtftn instance void class NAnt.Core.IBuildListener::MessageLogged(object, class NAnt.Core.BuildEventArgs) - IL_0096: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_009b: call instance void class NAnt.Core.Project::remove_MessageLogged(class NAnt.Core.BuildEventHandler) - IL_00a0: ldtoken NAnt.Core.IBuildLogger - IL_00a5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00aa: ldloc.0 - IL_00ab: callvirt instance class [mscorlib]System.Type object::GetType() - IL_00b0: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_00b5: brfalse IL_00c7 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) + IL_000d: castclass [mscorlib]System.String + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: call instance void class NAnt.Core.PropertyDictionary::CheckDeprecation(string) + IL_001a: ldarg.0 + IL_001b: ldarg.1 + IL_001c: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) + IL_0021: brfalse IL_0039 - IL_00ba: nop - IL_00bb: ldloc.0 - IL_00bc: castclass NAnt.Core.IBuildLogger - IL_00c1: callvirt instance void class NAnt.Core.IBuildLogger::Flush() - IL_00c6: nop - IL_00c7: nop - IL_00c8: ldloc.1 - IL_00c9: callvirt instance bool class NAnt.Core.BuildListenerEnumerator::MoveNext() - IL_00ce: brtrue IL_0013 + IL_0026: nop + IL_0027: ldarg.0 + IL_0028: ldloc.0 + IL_0029: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_002e: call instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_0033: stloc.1 + IL_0034: br IL_0041 - IL_00d3: leave IL_00ec + IL_0039: nop + IL_003a: ldloc.0 + IL_003b: stloc.1 + IL_003c: br IL_0041 - } // end .try 0 - finally { // 0 - IL_00d8: ldloc.1 - IL_00d9: isinst [mscorlib]System.IDisposable - IL_00de: dup - IL_00df: stloc.2 - IL_00e0: brfalse IL_00eb + IL_0041: ldloc.1 + IL_0042: ret + } // end of method PropertyDictionary::get_Item - IL_00e5: ldloc.2 - IL_00e6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00eb: endfinally - } // end handler 0 - IL_00ec: ldarg.0 - IL_00ed: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() - IL_00f2: callvirt instance void class [mscorlib]System.Collections.CollectionBase::Clear() - IL_00f7: ret - } // end of method Project::DetachBuildListeners + // method line 1964 + .method public virtual hidebysig newslot specialname + instance default void set_Item (string name, string 'value') cil managed + { + // Method begins at RVA 0x254ef + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_000e: ret + } // end of method PropertyDictionary::set_Item - // method line 1923 - .method public hidebysig - instance default void AttachBuildListeners (class NAnt.Core.BuildListenerCollection listeners) cil managed + // method line 1965 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed { - // Method begins at RVA 0x266e8 - // Code size 212 (0xd4) - .maxstack 3 + // Method begins at RVA 0x25500 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.IBuildListener V_0, - class NAnt.Core.BuildListenerEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + class NAnt.Core.Project V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.Project::DetachBuildListeners() - IL_0007: nop - IL_0008: ldarg.1 - IL_0009: callvirt instance class NAnt.Core.BuildListenerEnumerator class NAnt.Core.BuildListenerCollection::GetEnumerator() - IL_000e: stloc.1 - .try { // 0 - IL_000f: br IL_00af - - IL_0014: ldloc.1 - IL_0015: callvirt instance class NAnt.Core.IBuildListener class NAnt.Core.BuildListenerEnumerator::get_Current() - IL_001a: stloc.0 - IL_001b: nop - IL_001c: ldarg.0 - IL_001d: ldloc.0 - IL_001e: dup - IL_001f: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildStarted(object, class NAnt.Core.BuildEventArgs) - IL_0025: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_002a: call instance void class NAnt.Core.Project::add_BuildStarted(class NAnt.Core.BuildEventHandler) - IL_002f: ldarg.0 - IL_0030: ldloc.0 - IL_0031: dup - IL_0032: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildFinished(object, class NAnt.Core.BuildEventArgs) - IL_0038: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_003d: call instance void class NAnt.Core.Project::add_BuildFinished(class NAnt.Core.BuildEventHandler) - IL_0042: ldarg.0 - IL_0043: ldloc.0 - IL_0044: dup - IL_0045: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetStarted(object, class NAnt.Core.BuildEventArgs) - IL_004b: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0050: call instance void class NAnt.Core.Project::add_TargetStarted(class NAnt.Core.BuildEventHandler) - IL_0055: ldarg.0 - IL_0056: ldloc.0 - IL_0057: dup - IL_0058: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetFinished(object, class NAnt.Core.BuildEventArgs) - IL_005e: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0063: call instance void class NAnt.Core.Project::add_TargetFinished(class NAnt.Core.BuildEventHandler) - IL_0068: ldarg.0 - IL_0069: ldloc.0 - IL_006a: dup - IL_006b: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskStarted(object, class NAnt.Core.BuildEventArgs) - IL_0071: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0076: call instance void class NAnt.Core.Project::add_TaskStarted(class NAnt.Core.BuildEventHandler) - IL_007b: ldarg.0 - IL_007c: ldloc.0 - IL_007d: dup - IL_007e: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskFinished(object, class NAnt.Core.BuildEventArgs) - IL_0084: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_0089: call instance void class NAnt.Core.Project::add_TaskFinished(class NAnt.Core.BuildEventHandler) - IL_008e: ldarg.0 - IL_008f: ldloc.0 - IL_0090: dup - IL_0091: ldvirtftn instance void class NAnt.Core.IBuildListener::MessageLogged(object, class NAnt.Core.BuildEventArgs) - IL_0097: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) - IL_009c: call instance void class NAnt.Core.Project::add_MessageLogged(class NAnt.Core.BuildEventHandler) - IL_00a1: ldarg.0 - IL_00a2: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() - IL_00a7: ldloc.0 - IL_00a8: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) - IL_00ad: pop - IL_00ae: nop - IL_00af: ldloc.1 - IL_00b0: callvirt instance bool class NAnt.Core.BuildListenerEnumerator::MoveNext() - IL_00b5: brtrue IL_0014 - - IL_00ba: leave IL_00d3 + IL_0002: ldfld class NAnt.Core.Project NAnt.Core.PropertyDictionary::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_00bf: ldloc.1 - IL_00c0: isinst [mscorlib]System.IDisposable - IL_00c5: dup - IL_00c6: stloc.2 - IL_00c7: brfalse IL_00d2 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PropertyDictionary::get_Project - IL_00cc: ldloc.2 - IL_00cd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d2: endfinally - } // end handler 0 - IL_00d3: ret - } // end of method Project::AttachBuildListeners + // method line 1966 + .method family virtual hidebysig + instance default void OnClear () cil managed + { + // Method begins at RVA 0x2551b + // Code size 24 (0x18) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_0007: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_000c: ldarg.0 + IL_000d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties + IL_0012: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0017: ret + } // end of method PropertyDictionary::OnClear - // method line 1924 - .method private hidebysig - instance default void CtorHelper (class [System.Xml]System.Xml.XmlDocument doc, valuetype NAnt.Core.Level threshold, int32 indentLevel, valuetype NAnt.Core.Optimizations optimization) cil managed + // method line 1967 + .method family virtual hidebysig + instance default void OnSet (object key, object oldValue, object newValue) cil managed { - // Method begins at RVA 0x267d8 - // Code size 779 (0x30b) + // Method begins at RVA 0x25534 + // Code size 63 (0x3f) .maxstack 4 .locals init ( - string V_0, - string V_1, - class [System.Xml]System.Xml.XmlAttribute V_2, - class [System.Xml]System.Xml.XmlAttribute V_3, - bool V_4, - class NAnt.Core.ProjectSettingsLoader V_5, - class [mscorlib]System.Reflection.Assembly V_6) + string V_0) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "doc" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldnull - IL_0014: stloc.0 - IL_0015: ldarg.0 - IL_0016: ldarg.0 - IL_0017: newobj instance void class NAnt.Core.PropertyDictionary::'.ctor'(class NAnt.Core.Project) - IL_001c: stfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_properties - IL_0021: ldarg.0 - IL_0022: ldarg.0 - IL_0023: newobj instance void class NAnt.Core.PropertyDictionary::'.ctor'(class NAnt.Core.Project) - IL_0028: stfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_frameworkNeutralProperties - IL_002d: ldarg.0 - IL_002e: ldarg.1 - IL_002f: stfld class [System.Xml]System.Xml.XmlDocument NAnt.Core.Project::_doc - IL_0034: ldarg.0 - IL_0035: ldc.i4.s 0x0c - IL_0037: stfld int32 NAnt.Core.Project::_indentationSize - IL_003c: ldarg.0 - IL_003d: ldarg.3 - IL_003e: stfld int32 NAnt.Core.Project::_indentationLevel - IL_0043: ldarg.0 - IL_0044: ldarg.2 - IL_0045: call instance void class NAnt.Core.Project::set_Threshold(valuetype NAnt.Core.Level) - IL_004a: ldarg.0 - IL_004b: call instance void class NAnt.Core.Project::CreateDefaultLogger() - IL_0050: ldarg.0 - IL_0051: call instance void class NAnt.Core.Project::ConfigurePlatformProperties() - IL_0056: ldarg.1 - IL_0057: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_005c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_0061: call bool string::IsNullOrEmpty(string) - IL_0066: brfalse IL_00c9 - - IL_006b: nop - IL_006c: ldarg.1 - IL_006d: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0072: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0077: ldstr "xmlns" - IL_007c: ldstr "nant" - IL_0081: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string, string) - IL_0086: stloc.2 - IL_0087: ldloc.2 - IL_0088: brtrue IL_009a - - IL_008d: nop - IL_008e: ldstr "http://none" - IL_0093: stloc.1 - IL_0094: nop - IL_0095: br IL_00a3 - - IL_009a: nop - IL_009b: ldloc.2 - IL_009c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00a1: stloc.1 - IL_00a2: nop - IL_00a3: ldarg.1 - IL_00a4: ldstr "xmlns" - IL_00a9: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlDocument::CreateAttribute(string) - IL_00ae: stloc.3 - IL_00af: ldloc.3 - IL_00b0: ldloc.1 - IL_00b1: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) - IL_00b6: ldarg.1 - IL_00b7: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_00bc: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_00c1: ldloc.3 - IL_00c2: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::Append(class [System.Xml]System.Xml.XmlAttribute) - IL_00c7: pop - IL_00c8: nop - IL_00c9: ldarg.0 - IL_00ca: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_00cf: ldstr "nant" - IL_00d4: ldarg.1 - IL_00d5: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_00da: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_00df: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) - IL_00e4: ldarg.1 - IL_00e5: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_00ea: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() - IL_00ef: ldstr "project" - IL_00f4: callvirt instance bool string::Equals(string) - IL_00f9: brtrue IL_0124 - - IL_00fe: nop - IL_00ff: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0104: ldstr "NA1059" - IL_0109: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_010e: ldarg.1 - IL_010f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() - IL_0114: ldstr "project" - IL_0119: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_011e: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0123: throw - IL_0124: ldarg.1 - IL_0125: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_012a: ldstr "name" - IL_012f: callvirt instance bool class [System.Xml]System.Xml.XmlElement::HasAttribute(string) - IL_0134: brfalse IL_0151 - - IL_0139: nop - IL_013a: ldarg.0 - IL_013b: ldarg.1 - IL_013c: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0141: ldstr "name" - IL_0146: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_014b: stfld string NAnt.Core.Project::_projectName - IL_0150: nop - IL_0151: ldarg.1 - IL_0152: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0157: ldstr "basedir" - IL_015c: callvirt instance bool class [System.Xml]System.Xml.XmlElement::HasAttribute(string) - IL_0161: brfalse IL_0179 + IL_0002: castclass [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldarg.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_000f: brfalse IL_0035 - IL_0166: nop - IL_0167: ldarg.1 - IL_0168: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_016d: ldstr "basedir" - IL_0172: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0177: stloc.0 - IL_0178: nop - IL_0179: ldarg.1 - IL_017a: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_017f: ldstr "default" - IL_0184: callvirt instance bool class [System.Xml]System.Xml.XmlElement::HasAttribute(string) - IL_0189: brfalse IL_01a6 + IL_0014: nop + IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001a: ldstr "NA1068" + IL_001f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_002f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0034: throw + IL_0035: ldarg.0 + IL_0036: ldarg.1 + IL_0037: ldarg.2 + IL_0038: ldarg.3 + IL_0039: call instance void class [mscorlib]System.Collections.DictionaryBase::OnSet(object, object, object) + IL_003e: ret + } // end of method PropertyDictionary::OnSet - IL_018e: nop - IL_018f: ldarg.0 - IL_0190: ldarg.1 - IL_0191: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0196: ldstr "default" - IL_019b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_01a0: stfld string NAnt.Core.Project::_defaultTargetName - IL_01a5: nop - IL_01a6: ldloc.0 - IL_01a7: call bool string::IsNullOrEmpty(string) - IL_01ac: brfalse IL_01e3 + // method line 1968 + .method family virtual hidebysig + instance default void OnInsert (object key, object 'value') cil managed + { + // Method begins at RVA 0x25580 + // Code size 54 (0x36) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: castclass [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldarg.0 + IL_0009: ldloc.0 + IL_000a: call instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_000f: brfalse IL_0035 - IL_01b1: nop - IL_01b2: ldarg.0 - IL_01b3: call instance string class NAnt.Core.Project::get_BuildFileLocalName() - IL_01b8: call bool string::IsNullOrEmpty(string) - IL_01bd: brtrue IL_01d5 + IL_0014: nop + IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001a: ldstr "NA1065" + IL_001f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_002f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0034: throw + IL_0035: ret + } // end of method PropertyDictionary::OnInsert - IL_01c2: nop - IL_01c3: ldarg.0 - IL_01c4: call instance string class NAnt.Core.Project::get_BuildFileLocalName() - IL_01c9: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_01ce: stloc.0 - IL_01cf: nop - IL_01d0: br IL_01dd + // method line 1969 + .method family virtual hidebysig + instance default void OnRemove (object key, object 'value') cil managed + { + // Method begins at RVA 0x255c4 + // Code size 46 (0x2e) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: isinst [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_002d - IL_01d5: nop - IL_01d6: call string class [mscorlib]System.Environment::get_CurrentDirectory() - IL_01db: stloc.0 - IL_01dc: nop - IL_01dd: nop - IL_01de: br IL_0219 + IL_000e: ldarg.0 + IL_000f: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_0014: ldloc.0 + IL_0015: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_001a: brfalse IL_002d - IL_01e3: nop - IL_01e4: ldarg.0 - IL_01e5: call instance string class NAnt.Core.Project::get_BuildFileLocalName() - IL_01ea: call bool string::IsNullOrEmpty(string) - IL_01ef: brtrue IL_0218 + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_0026: ldloc.0 + IL_0027: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) + IL_002c: nop + IL_002d: ret + } // end of method PropertyDictionary::OnRemove - IL_01f4: ldloc.0 - IL_01f5: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_01fa: brtrue IL_0218 + // method line 1970 + .method family virtual hidebysig + instance default void OnValidate (object key, object 'value') cil managed + { + // Method begins at RVA 0x25600 + // Code size 62 (0x3e) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: isinst [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brtrue IL_001f - IL_01ff: nop - IL_0200: ldarg.0 - IL_0201: call instance string class NAnt.Core.Project::get_BuildFileLocalName() - IL_0206: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_020b: ldloc.0 - IL_020c: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0211: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_0216: stloc.0 - IL_0217: nop - IL_0218: nop - IL_0219: ldloc.0 - IL_021a: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_021f: stloc.0 - IL_0220: ldarg.0 - IL_0221: ldloc.0 - IL_0222: call instance void class NAnt.Core.Project::set_BaseDirectory(string) - IL_0227: ldarg.s 4 - IL_0229: ldc.i4.1 - IL_022a: and - IL_022b: ldc.i4.0 - IL_022c: ceq - IL_022e: stloc.s 4 - IL_0230: ldarg.0 - IL_0231: ldloc.s 4 - IL_0233: call void class NAnt.Core.TypeFactory::AddProject(class NAnt.Core.Project, bool) - IL_0238: ldarg.s 4 - IL_023a: ldc.i4.2 - IL_023b: and - IL_023c: brtrue IL_0252 + IL_000e: nop + IL_000f: ldstr "Property name must be a string." + IL_0014: ldstr "key" + IL_0019: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) + IL_001e: throw + IL_001f: ldloc.0 + IL_0020: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0025: call void class NAnt.Core.PropertyDictionary::ValidatePropertyName(string, class NAnt.Core.Location) + IL_002a: ldarg.2 + IL_002b: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0030: call void class NAnt.Core.PropertyDictionary::ValidatePropertyValue(object, class NAnt.Core.Location) + IL_0035: ldarg.0 + IL_0036: ldarg.1 + IL_0037: ldarg.2 + IL_0038: call instance void class [mscorlib]System.Collections.DictionaryBase::OnValidate(object, object) + IL_003d: ret + } // end of method PropertyDictionary::OnValidate - IL_0241: nop - IL_0242: ldarg.0 - IL_0243: newobj instance void class NAnt.Core.ProjectSettingsLoader::'.ctor'(class NAnt.Core.Project) - IL_0248: stloc.s 5 - IL_024a: ldloc.s 5 - IL_024c: callvirt instance void class NAnt.Core.ProjectSettingsLoader::ProcessSettings() - IL_0251: nop - IL_0252: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0257: stloc.s 6 - IL_0259: ldarg.0 - IL_025a: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_025f: ldstr "nant.filename" - IL_0264: ldloc.s 6 - IL_0266: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_CodeBase() - IL_026b: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_0270: ldarg.0 - IL_0271: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0276: ldstr "nant.version" - IL_027b: ldloc.s 6 - IL_027d: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_0282: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_0287: callvirt instance string object::ToString() - IL_028c: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_0291: ldarg.0 - IL_0292: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0297: ldstr "nant.location" - IL_029c: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_02a1: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() - IL_02a6: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_02ab: ldarg.0 - IL_02ac: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_02b1: ldstr "nant.project.name" - IL_02b6: ldarg.0 - IL_02b7: call instance string class NAnt.Core.Project::get_ProjectName() - IL_02bc: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_02c1: ldarg.0 - IL_02c2: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_02c7: ldnull - IL_02c8: call bool class [System]System.Uri::op_Inequality(class [System]System.Uri, class [System]System.Uri) - IL_02cd: brfalse IL_02ef + // method line 1971 + .method public virtual hidebysig newslot + instance default void AddReadOnly (string name, string 'value') cil managed + { + // Method begins at RVA 0x2564a + // Code size 42 (0x2a) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_0008: brtrue IL_0029 - IL_02d2: nop - IL_02d3: ldarg.0 - IL_02d4: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_02d9: ldstr "nant.project.buildfile" - IL_02de: ldarg.0 - IL_02df: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() - IL_02e4: callvirt instance string object::ToString() - IL_02e9: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_02ee: nop - IL_02ef: ldarg.0 - IL_02f0: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_02f5: ldstr "nant.project.default" - IL_02fa: ldarg.0 - IL_02fb: call instance string class NAnt.Core.Project::get_DefaultTargetName() - IL_0300: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_0305: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_030a: ret - } // end of method Project::CtorHelper + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0014: ldarg.1 + IL_0015: ldarg.2 + IL_0016: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) + IL_001b: ldarg.0 + IL_001c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_0021: ldarg.1 + IL_0022: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0027: pop + IL_0028: nop + IL_0029: ret + } // end of method PropertyDictionary::AddReadOnly - // method line 1925 - .method assembly hidebysig - instance default void InitializeProjectDocument (class [System.Xml]System.Xml.XmlDocument doc) cil managed + // method line 1972 + .method public virtual hidebysig newslot + instance default void MarkDynamic (string name) cil managed { - // Method begins at RVA 0x26af0 - // Code size 602 (0x25a) - .maxstack 7 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Target V_2, - class [mscorlib]System.IDisposable V_3, - class [System.Xml]System.Xml.XmlNode V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class NAnt.Core.Task V_6, - class NAnt.Core.DataTypeBase V_7, - class [mscorlib]System.IDisposable V_8) + // Method begins at RVA 0x25678 + // Code size 73 (0x49) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.Core.LocationMap::Add(class [System.Xml]System.Xml.XmlDocument) + IL_0002: ldarg.1 + IL_0003: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) + IL_0008: brtrue IL_0048 + IL_000d: nop - IL_000e: ldarg.1 - IL_000f: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0014: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() - IL_0019: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_001e: stloc.1 - .try { // 0 - IL_001f: br IL_009d + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: call instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0015: brtrue IL_003a - IL_0024: ldloc.1 - IL_0025: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_002a: castclass [System.Xml]System.Xml.XmlNode - IL_002f: stloc.0 - IL_0030: nop - IL_0031: ldloc.0 - IL_0032: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() - IL_0037: ldstr "target" - IL_003c: callvirt instance bool string::Equals(string) - IL_0041: brfalse IL_009c + IL_001a: nop + IL_001b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0020: ldstr "NA1067" + IL_0025: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_002a: call !!0[] class [mscorlib]System.Array::Empty () + IL_002f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0034: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0039: throw + IL_003a: ldarg.0 + IL_003b: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties + IL_0040: ldarg.1 + IL_0041: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0046: pop + IL_0047: nop + IL_0048: ret + } // end of method PropertyDictionary::MarkDynamic - IL_0046: ldloc.0 - IL_0047: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_004c: ldarg.0 - IL_004d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_0052: ldstr "nant" - IL_0057: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_005c: callvirt instance bool string::Equals(string) - IL_0061: brfalse IL_009c + // method line 1973 + .method public virtual hidebysig newslot + instance default void Add (string name, string 'value') cil managed + { + // Method begins at RVA 0x256cd + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) + IL_000e: ret + } // end of method PropertyDictionary::Add - IL_0066: nop - IL_0067: newobj instance void class NAnt.Core.Target::'.ctor'() - IL_006c: stloc.2 - IL_006d: ldloc.2 - IL_006e: ldarg.0 - IL_006f: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0074: ldloc.2 - IL_0075: ldarg.0 - IL_0076: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_007b: ldloc.2 - IL_007c: ldarg.0 - IL_007d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_0082: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0087: ldloc.2 - IL_0088: ldloc.0 - IL_0089: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) - IL_008e: ldarg.0 - IL_008f: call instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_0094: ldloc.2 - IL_0095: callvirt instance int32 class NAnt.Core.TargetCollection::Add(class NAnt.Core.Target) - IL_009a: pop - IL_009b: nop - IL_009c: nop - IL_009d: ldloc.1 - IL_009e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00a3: brtrue IL_0024 + // method line 1974 + .method public virtual hidebysig newslot + instance default bool IsReadOnlyProperty (string name) cil managed + { + // Method begins at RVA 0x256e0 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00a8: leave IL_00c1 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PropertyDictionary::IsReadOnlyProperty - } // end .try 0 - finally { // 0 - IL_00ad: ldloc.1 - IL_00ae: isinst [mscorlib]System.IDisposable - IL_00b3: dup - IL_00b4: stloc.3 - IL_00b5: brfalse IL_00c0 + // method line 1975 + .method public virtual hidebysig newslot + instance default bool IsDynamicProperty (string name) cil managed + { + // Method begins at RVA 0x25704 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00ba: ldloc.3 - IL_00bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c0: endfinally - } // end handler 0 - IL_00c1: nop - IL_00c2: ldarg.1 - IL_00c3: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_00c8: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() - IL_00cd: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_00d2: stloc.s 5 - .try { // 1 - IL_00d4: br IL_0231 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PropertyDictionary::IsDynamicProperty - IL_00d9: ldloc.s 5 - IL_00db: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00e0: castclass [System.Xml]System.Xml.XmlNode - IL_00e5: stloc.s 4 - IL_00e7: nop - IL_00e8: ldloc.s 4 - IL_00ea: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_00ef: ldc.i4.1 - IL_00f0: bne.un IL_012c + // method line 1976 + .method public virtual hidebysig newslot + instance default void Inherit (class NAnt.Core.PropertyDictionary source, class [System]System.Collections.Specialized.StringCollection excludes) cil managed + { + // Method begins at RVA 0x25728 + // Code size 221 (0xdd) + .maxstack 3 + .locals init ( + valuetype [mscorlib]System.Collections.DictionaryEntry V_0, + class [mscorlib]System.Collections.IDictionaryEnumerator V_1, + string V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0008: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.IDictionary::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_00b8 - IL_00f5: ldloc.s 4 - IL_00f7: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_00fc: ldarg.0 - IL_00fd: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() - IL_0102: ldstr "nant" - IL_0107: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_010c: callvirt instance bool string::Equals(string) - IL_0111: brfalse IL_012c + IL_0013: ldloc.1 + IL_0014: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0019: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_001e: stloc.0 + IL_001f: nop + IL_0020: ldloca.s 0 + IL_0022: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0027: castclass [mscorlib]System.String + IL_002c: stloc.2 + IL_002d: ldarg.2 + IL_002e: brfalse IL_0045 - IL_0116: ldloc.s 4 - IL_0118: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() - IL_011d: ldstr "target" - IL_0122: callvirt instance bool string::Equals(string) - IL_0127: brfalse IL_0132 + IL_0033: ldarg.2 + IL_0034: ldloc.2 + IL_0035: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_003a: brfalse IL_0045 - IL_012c: nop - IL_012d: leave IL_0231 + IL_003f: nop + IL_0040: leave IL_00b8 - IL_0132: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0137: ldloc.s 4 - IL_0139: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_013e: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) - IL_0143: brfalse IL_0168 + IL_0045: ldarg.0 + IL_0046: ldloc.2 + IL_0047: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_004c: brfalse IL_0057 - IL_0148: nop - IL_0149: ldarg.0 - IL_014a: ldloc.s 4 - IL_014c: call instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode) - IL_0151: stloc.s 6 - IL_0153: ldloc.s 6 - IL_0155: ldarg.0 - IL_0156: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_015b: ldloc.s 6 - IL_015d: callvirt instance void class NAnt.Core.Task::Execute() - IL_0162: nop - IL_0163: br IL_0230 + IL_0051: nop + IL_0052: leave IL_00b8 - IL_0168: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_016d: ldloc.s 4 - IL_016f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0174: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) - IL_0179: brfalse IL_0201 + IL_0057: ldloc.2 + IL_0058: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_005d: call void class NAnt.Core.PropertyDictionary::ValidatePropertyName(string, class NAnt.Core.Location) + IL_0062: ldarg.0 + IL_0063: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0068: ldloc.2 + IL_0069: ldloca.s 0 + IL_006b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0070: callvirt instance void class [mscorlib]System.Collections.IDictionary::set_Item(object, object) + IL_0075: ldarg.1 + IL_0076: ldloc.2 + IL_0077: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_007c: brfalse IL_0090 - IL_017e: nop - IL_017f: ldarg.0 - IL_0180: ldloc.s 4 - IL_0182: call instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) - IL_0187: stloc.s 7 - IL_0189: ldarg.0 - IL_018a: ldc.i4 1000 - IL_018f: ldstr "Adding a {0} reference with id '{1}'." - IL_0194: ldc.i4.2 - IL_0195: newarr [mscorlib]System.Object - IL_019a: dup - IL_019b: ldc.i4.0 - IL_019c: ldloc.s 4 - IL_019e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_01a3: stelem.ref - IL_01a4: dup - IL_01a5: ldc.i4.1 - IL_01a6: ldloc.s 7 - IL_01a8: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_01ad: stelem.ref - IL_01ae: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_01b3: ldarg.0 - IL_01b4: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_01b9: ldloc.s 7 - IL_01bb: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_01c0: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) - IL_01c5: brtrue IL_01e5 + IL_0081: nop + IL_0082: ldarg.0 + IL_0083: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_readOnlyProperties + IL_0088: ldloc.2 + IL_0089: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_008e: pop + IL_008f: nop + IL_0090: ldarg.1 + IL_0091: ldloc.2 + IL_0092: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) + IL_0097: brfalse IL_00b7 - IL_01ca: nop - IL_01cb: ldarg.0 - IL_01cc: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_01d1: ldloc.s 7 - IL_01d3: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_01d8: ldloc.s 7 - IL_01da: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) - IL_01df: nop - IL_01e0: br IL_01fb + IL_009c: ldarg.0 + IL_009d: ldloc.2 + IL_009e: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) + IL_00a3: brtrue IL_00b7 - IL_01e5: nop - IL_01e6: ldarg.0 - IL_01e7: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_01ec: ldloc.s 7 - IL_01ee: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_01f3: ldloc.s 7 - IL_01f5: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) - IL_01fa: nop - IL_01fb: nop - IL_01fc: br IL_0230 + IL_00a8: nop + IL_00a9: ldarg.0 + IL_00aa: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PropertyDictionary::_dynamicProperties + IL_00af: ldloc.2 + IL_00b0: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00b5: pop + IL_00b6: nop + IL_00b7: nop + IL_00b8: ldloc.1 + IL_00b9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00be: brtrue IL_0013 - IL_0201: nop - IL_0202: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0207: ldstr "NA1071" - IL_020c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0211: ldloc.s 4 - IL_0213: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0218: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_021d: ldarg.0 - IL_021e: call instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_0223: ldloc.s 4 - IL_0225: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_022a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_022f: throw - IL_0230: nop - IL_0231: ldloc.s 5 - IL_0233: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0238: brtrue IL_00d9 + IL_00c3: leave IL_00dc - IL_023d: leave IL_0259 + } // end .try 0 + finally { // 0 + IL_00c8: ldloc.1 + IL_00c9: isinst [mscorlib]System.IDisposable + IL_00ce: dup + IL_00cf: stloc.3 + IL_00d0: brfalse IL_00db - } // end .try 1 - finally { // 1 - IL_0242: ldloc.s 5 - IL_0244: isinst [mscorlib]System.IDisposable - IL_0249: dup - IL_024a: stloc.s 8 - IL_024c: brfalse IL_0258 + IL_00d5: ldloc.3 + IL_00d6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00db: endfinally + } // end handler 0 + IL_00dc: ret + } // end of method PropertyDictionary::Inherit - IL_0251: ldloc.s 8 - IL_0253: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0258: endfinally - } // end handler 1 - IL_0259: ret - } // end of method Project::InitializeProjectDocument + // method line 1977 + .method public hidebysig + instance default string ExpandProperties (string input, class NAnt.Core.Location location) cil managed + { + // Method begins at RVA 0x25824 + // Code size 31 (0x1f) + .maxstack 5 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0, + class [mscorlib]System.Collections.Stack V_1, + string V_2) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0006: stloc.0 + IL_0007: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_000c: stloc.1 + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: ldarg.2 + IL_0010: ldloc.0 + IL_0011: ldloc.1 + IL_0012: call instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) + IL_0017: stloc.2 + IL_0018: br IL_001d - // method line 1926 - .method private hidebysig - instance default class [System.Xml]System.Xml.XmlDocument LoadBuildFile (string uriOrFilePath) cil managed + IL_001d: ldloc.2 + IL_001e: ret + } // end of method PropertyDictionary::ExpandProperties + + // method line 1978 + .method public hidebysig + instance default bool Contains (string name) cil managed { - // Method begins at RVA 0x26d8c - // Code size 171 (0xab) - .maxstack 3 + // Method begins at RVA 0x25850 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0, - class [System]System.Uri V_1, - class [mscorlib]System.Exception V_2, - class [System.Xml]System.Xml.XmlDocument V_3, - class [System.Xml]System.Xml.XmlException V_4, - class NAnt.Core.Location V_5, - class [mscorlib]System.Exception V_6, - class NAnt.Core.Location V_7, - class [System.Xml]System.Xml.XmlDocument V_8) + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: stloc.0 - .try { // 1 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.1 - IL_0005: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_000a: stloc.1 - IL_000b: ldloc.1 - IL_000c: callvirt instance bool class [System]System.Uri::get_IsFile() - IL_0011: brfalse IL_001f + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IDictionary::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0016: nop - IL_0017: ldloc.1 - IL_0018: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_001d: stloc.0 - IL_001e: nop - IL_001f: nop - IL_0020: leave IL_004a + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PropertyDictionary::Contains - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0025: stloc.2 - IL_0026: nop - IL_0027: ldsfld class [log4net]log4net.ILog NAnt.Core.Project::logger - IL_002c: ldstr "Error creating URI in project constructor. Moving on... " - IL_0031: ldloc.2 - IL_0032: callvirt instance void class [log4net]log4net.ILog::Debug(object, class [mscorlib]System.Exception) - IL_0037: nop - IL_0038: leave IL_004a + // method line 1979 + .method public hidebysig + instance default void Remove (string name) cil managed + { + // Method begins at RVA 0x25871 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IDictionary::Remove(object) + IL_000d: ret + } // end of method PropertyDictionary::Remove - } // end handler 0 - } // end .try 1 - finally { // 1 - IL_003d: nop - IL_003e: ldloc.0 - IL_003f: brtrue IL_0048 + // method line 1980 + .method assembly hidebysig + instance default string GetPropertyValue (string propertyName) cil managed + { + // Method begins at RVA 0x25880 + // Code size 33 (0x21) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.Core.PropertyDictionary::CheckDeprecation(string) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.IDictionary class [mscorlib]System.Collections.DictionaryBase::get_Dictionary() + IL_000e: ldarg.1 + IL_000f: callvirt instance object class [mscorlib]System.Collections.IDictionary::get_Item(object) + IL_0014: castclass [mscorlib]System.String + IL_0019: stloc.0 + IL_001a: br IL_001f - IL_0044: nop - IL_0045: ldarg.1 - IL_0046: stloc.0 - IL_0047: nop - IL_0048: nop - IL_0049: endfinally - } // end handler 1 - IL_004a: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_004f: stloc.3 - .try { // 2 - IL_0050: nop - IL_0051: ldloc.3 - IL_0052: ldloc.0 - IL_0053: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) - IL_0058: nop - IL_0059: leave IL_00a0 + IL_001f: ldloc.0 + IL_0020: ret + } // end of method PropertyDictionary::GetPropertyValue - } // end .try 2 - catch class [System.Xml]System.Xml.XmlException { // 2 - IL_005e: stloc.s 4 - IL_0060: nop - IL_0061: ldloc.0 - IL_0062: ldloc.s 4 - IL_0064: callvirt instance int32 class [System.Xml]System.Xml.XmlException::get_LineNumber() - IL_0069: ldloc.s 4 - IL_006b: callvirt instance int32 class [System.Xml]System.Xml.XmlException::get_LinePosition() - IL_0070: newobj instance void class NAnt.Core.Location::'.ctor'(string, int32, int32) - IL_0075: stloc.s 5 - IL_0077: ldstr "Error loading buildfile." - IL_007c: ldloc.s 5 - IL_007e: ldloc.s 4 - IL_0080: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0085: throw - } // end handler 2 - catch class [mscorlib]System.Exception { // 3 - IL_0086: stloc.s 6 - IL_0088: nop - IL_0089: ldloc.0 - IL_008a: newobj instance void class NAnt.Core.Location::'.ctor'(string) - IL_008f: stloc.s 7 - IL_0091: ldstr "Error loading buildfile." - IL_0096: ldloc.s 7 - IL_0098: ldloc.s 6 - IL_009a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_009f: throw - } // end handler 3 - IL_00a0: ldloc.3 - IL_00a1: stloc.s 8 - IL_00a3: br IL_00a8 + // method line 1981 + .method assembly hidebysig + instance default string ExpandProperties (string input, class NAnt.Core.Location location, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting) cil managed + { + // Method begins at RVA 0x258b0 + // Code size 20 (0x14) + .maxstack 5 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldarg.3 + IL_0005: ldarg.s 4 + IL_0007: call instance string class NAnt.Core.PropertyDictionary::EvaluateEmbeddedExpressions(string, class NAnt.Core.Location, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00a8: ldloc.s 8 - IL_00aa: ret - } // end of method Project::LoadBuildFile + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PropertyDictionary::ExpandProperties - // method line 1927 + // method line 1982 .method private hidebysig - instance default void ConfigurePlatformProperties () cil managed + instance default string EvaluateEmbeddedExpressions (string input, class NAnt.Core.Location location, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting) cil managed { - // Method begins at RVA 0x26e78 - // Code size 260 (0x104) + // Method begins at RVA 0x258d0 + // Code size 611 (0x263) .maxstack 4 .locals init ( string V_0, - valuetype [mscorlib]System.PlatformID V_1) + class [mscorlib]System.Text.StringBuilder V_1, + class NAnt.Core.ExpressionTokenizer V_2, + class NAnt.Core.ExpressionEvaluator V_3, + string V_4, + valuetype NAnt.Core.ExpressionTokenizer/Position V_5, + class NAnt.Core.ExpressionParseException V_6, + class [mscorlib]System.Text.StringBuilder V_7, + string V_8, + string V_9, + int32 V_10, + int32 V_11, + int32 V_12, + int32 V_13) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0007: ldstr "nant.platform.name" - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Project::get_PlatformName() - IL_0012: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_0017: ldarg.0 - IL_0018: call instance string class NAnt.Core.Project::get_PlatformName() - IL_001d: stloc.0 - IL_001e: ldloc.0 - IL_001f: brfalse IL_00bd + IL_0001: ldarg.1 + IL_0002: brtrue IL_000f - IL_0024: ldloc.0 - IL_0025: ldstr "win32" - IL_002a: call bool string::op_Equality(string, string) - IL_002f: brtrue IL_0049 + IL_0007: nop + IL_0008: ldnull + IL_0009: stloc.0 + IL_000a: br IL_0261 - IL_0034: ldloc.0 - IL_0035: ldstr "unix" - IL_003a: call bool string::op_Equality(string, string) - IL_003f: brtrue IL_0083 + IL_000f: ldarg.1 + IL_0010: ldc.i4.s 0x24 + IL_0012: callvirt instance int32 string::IndexOf(char) + IL_0017: ldc.i4.0 + IL_0018: bge IL_0025 - IL_0044: br IL_00bd + IL_001d: nop + IL_001e: ldarg.1 + IL_001f: stloc.0 + IL_0020: br IL_0261 + + .try { // 0 + IL_0025: nop + IL_0026: ldarg.1 + IL_0027: callvirt instance int32 string::get_Length() + IL_002c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) + IL_0031: stloc.1 + IL_0032: newobj instance void class NAnt.Core.ExpressionTokenizer::'.ctor'() + IL_0037: stloc.2 + IL_0038: ldarg.0 + IL_0039: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_003e: ldarg.0 + IL_003f: ldarg.3 + IL_0040: ldarg.s 4 + IL_0042: newobj instance void class NAnt.Core.ExpressionEvaluator::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack) + IL_0047: stloc.3 + IL_0048: ldloc.2 + IL_0049: ldc.i4.0 + IL_004a: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) + IL_004f: ldloc.2 + IL_0050: ldc.i4.1 + IL_0051: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode(bool) + IL_0056: ldloc.2 + IL_0057: ldarg.1 + IL_0058: callvirt instance void class NAnt.Core.ExpressionTokenizer::InitTokenizer(string) + IL_005d: br IL_013f + + IL_0062: nop + IL_0063: ldloc.2 + IL_0064: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0069: ldc.i4.s 0x17 + IL_006b: bne.un IL_0129 + + IL_0070: nop + IL_0071: ldloc.2 + IL_0072: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0077: ldloc.2 + IL_0078: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_007d: ldc.i4.s 0x12 + IL_007f: bne.un IL_00f7 + + IL_0084: nop + IL_0085: ldloc.2 + IL_0086: ldc.i4.1 + IL_0087: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) + IL_008c: ldloc.2 + IL_008d: ldc.i4.0 + IL_008e: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode(bool) + IL_0093: ldloc.2 + IL_0094: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0099: ldloc.3 + IL_009a: ldloc.2 + IL_009b: callvirt instance object class NAnt.Core.ExpressionEvalBase::Evaluate(class NAnt.Core.ExpressionTokenizer) + IL_00a0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a5: call string class [mscorlib]System.Convert::ToString(object, class [mscorlib]System.IFormatProvider) + IL_00aa: stloc.s 4 + IL_00ac: ldloc.1 + IL_00ad: ldloc.s 4 + IL_00af: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00b4: pop + IL_00b5: ldloc.2 + IL_00b6: ldc.i4.0 + IL_00b7: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace(bool) + IL_00bc: ldloc.2 + IL_00bd: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_00c2: ldc.i4.s 0x13 + IL_00c4: beq IL_00e4 + + IL_00c9: nop + IL_00ca: ldstr "'}' expected" + IL_00cf: ldloc.2 + IL_00d0: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() + IL_00d5: stloc.s 5 + IL_00d7: ldloca.s 5 + IL_00d9: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() + IL_00de: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32) + IL_00e3: throw + IL_00e4: ldloc.2 + IL_00e5: ldc.i4.1 + IL_00e6: callvirt instance void class NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode(bool) + IL_00eb: ldloc.2 + IL_00ec: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_00f1: nop + IL_00f2: br IL_0123 + + IL_00f7: nop + IL_00f8: ldloc.1 + IL_00f9: ldc.i4.s 0x24 + IL_00fb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0100: pop + IL_0101: ldloc.2 + IL_0102: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0107: ldc.i4.1 + IL_0108: beq IL_0122 + + IL_010d: nop + IL_010e: ldloc.1 + IL_010f: ldloc.2 + IL_0110: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_0115: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_011a: pop + IL_011b: ldloc.2 + IL_011c: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_0121: nop + IL_0122: nop + IL_0123: nop + IL_0124: br IL_013e + + IL_0129: nop + IL_012a: ldloc.1 + IL_012b: ldloc.2 + IL_012c: callvirt instance string class NAnt.Core.ExpressionTokenizer::get_TokenText() + IL_0131: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0136: pop + IL_0137: ldloc.2 + IL_0138: callvirt instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() + IL_013d: nop + IL_013e: nop + IL_013f: ldloc.2 + IL_0140: callvirt instance valuetype NAnt.Core.ExpressionTokenizer/TokenType class NAnt.Core.ExpressionTokenizer::get_CurrentToken() + IL_0145: ldc.i4.1 + IL_0146: bne.un IL_0062 + + IL_014b: ldloc.1 + IL_014c: callvirt instance string object::ToString() + IL_0151: stloc.0 + IL_0152: leave IL_0261 + + } // end .try 0 + catch class NAnt.Core.ExpressionParseException { // 0 + IL_0157: stloc.s 6 + IL_0159: nop + IL_015a: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_015f: stloc.s 7 + IL_0161: ldarg.1 + IL_0162: stloc.s 8 + IL_0164: ldloc.s 8 + IL_0166: ldc.i4.s 0x0a + IL_0168: ldc.i4.s 0x20 + IL_016a: callvirt instance string string::Replace(char, char) + IL_016f: stloc.s 8 + IL_0171: ldloc.s 8 + IL_0173: ldc.i4.s 0x0d + IL_0175: ldc.i4.s 0x20 + IL_0177: callvirt instance string string::Replace(char, char) + IL_017c: stloc.s 8 + IL_017e: ldloc.s 8 + IL_0180: ldc.i4.s 0x09 + IL_0182: ldc.i4.s 0x20 + IL_0184: callvirt instance string string::Replace(char, char) + IL_0189: stloc.s 8 + IL_018b: ldloc.s 7 + IL_018d: ldloc.s 6 + IL_018f: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0194: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0199: pop + IL_019a: ldloc.s 7 + IL_019c: call string class [mscorlib]System.Environment::get_NewLine() + IL_01a1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01a6: pop + IL_01a7: ldstr "Expression: " + IL_01ac: stloc.s 9 + IL_01ae: ldloc.s 7 + IL_01b0: ldloc.s 9 + IL_01b2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01b7: pop + IL_01b8: ldloc.s 7 + IL_01ba: ldloc.s 8 + IL_01bc: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01c1: pop + IL_01c2: ldloc.s 6 + IL_01c4: callvirt instance int32 class NAnt.Core.ExpressionParseException::get_StartPos() + IL_01c9: stloc.s 10 + IL_01cb: ldloc.s 6 + IL_01cd: callvirt instance int32 class NAnt.Core.ExpressionParseException::get_EndPos() + IL_01d2: stloc.s 11 + IL_01d4: ldloc.s 10 + IL_01d6: ldc.i4.m1 + IL_01d7: bne.un IL_01e4 + + IL_01dc: ldloc.s 11 + IL_01de: ldc.i4.m1 + IL_01df: beq IL_024c + + IL_01e4: nop + IL_01e5: ldloc.s 7 + IL_01e7: call string class [mscorlib]System.Environment::get_NewLine() + IL_01ec: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01f1: pop + IL_01f2: ldloc.s 11 + IL_01f4: ldc.i4.m1 + IL_01f5: bne.un IL_0200 + + IL_01fa: ldloc.s 10 + IL_01fc: ldc.i4.1 + IL_01fd: add + IL_01fe: stloc.s 11 + IL_0200: ldc.i4.0 + IL_0201: stloc.s 12 + IL_0203: br IL_0218 + + IL_0208: ldloc.s 7 + IL_020a: ldc.i4.s 0x20 + IL_020c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0211: pop + IL_0212: ldloc.s 12 + IL_0214: ldc.i4.1 + IL_0215: add + IL_0216: stloc.s 12 + IL_0218: ldloc.s 12 + IL_021a: ldloc.s 10 + IL_021c: ldloc.s 9 + IL_021e: callvirt instance int32 string::get_Length() + IL_0223: add + IL_0224: blt IL_0208 - IL_0049: ldarg.0 - IL_004a: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_004f: ldstr "nant.platform.unix" - IL_0054: ldstr "false" - IL_0059: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_005e: ldarg.0 - IL_005f: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0064: ldstr "nant.platform." - IL_0069: ldarg.0 - IL_006a: call instance string class NAnt.Core.Project::get_PlatformName() - IL_006f: call string string::Concat(string, string) - IL_0074: ldstr "true" - IL_0079: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_007e: br IL_0103 + IL_0229: ldloc.s 10 + IL_022b: stloc.s 13 + IL_022d: br IL_0242 - IL_0083: ldarg.0 - IL_0084: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0089: ldstr "nant.platform." - IL_008e: ldarg.0 - IL_008f: call instance string class NAnt.Core.Project::get_PlatformName() - IL_0094: call string string::Concat(string, string) - IL_0099: ldstr "true" - IL_009e: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_00a3: ldarg.0 - IL_00a4: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00a9: ldstr "nant.platform.win32" - IL_00ae: ldstr "false" - IL_00b3: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) - IL_00b8: br IL_0103 + IL_0232: ldloc.s 7 + IL_0234: ldc.i4.s 0x5e + IL_0236: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_023b: pop + IL_023c: ldloc.s 13 + IL_023e: ldc.i4.1 + IL_023f: add + IL_0240: stloc.s 13 + IL_0242: ldloc.s 13 + IL_0244: ldloc.s 11 + IL_0246: blt IL_0232 - IL_00bd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c2: ldstr "NA1060" - IL_00c7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00cc: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_00d1: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() - IL_00d6: stloc.1 - IL_00d7: ldloca.s 1 - IL_00d9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00de: constrained. [mscorlib]System.PlatformID - IL_00e4: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) - IL_00e9: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() - IL_00ee: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() - IL_00f3: box [mscorlib]System.Int32 - IL_00f8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00fd: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0102: throw - IL_0103: ret - } // end of method Project::ConfigurePlatformProperties + IL_024b: nop + IL_024c: ldloc.s 7 + IL_024e: callvirt instance string object::ToString() + IL_0253: ldarg.2 + IL_0254: ldloc.s 6 + IL_0256: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_025b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0260: throw + } // end handler 0 + IL_0261: ldloc.0 + IL_0262: ret + } // end of method PropertyDictionary::EvaluateEmbeddedExpressions - // method line 1928 + // method line 1983 .method private hidebysig - instance default void UpdateTargetFrameworkProperties () cil managed + instance default void CheckDeprecation (string name) cil managed { - // Method begins at RVA 0x26f88 - // Code size 257 (0x101) - .maxstack 3 + // Method begins at RVA 0x25b5c + // Code size 856 (0x358) + .maxstack 7 + .locals init ( + class [mscorlib]System.Collections.Generic.Dictionary`2 V_0, + int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0007: ldstr "nant.settings.currentframework" - IL_000c: ldarg.0 - IL_000d: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0012: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_0017: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_001c: ldarg.0 - IL_001d: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0022: ldstr "nant.settings.currentframework.version" - IL_0027: ldarg.0 - IL_0028: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_002d: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() - IL_0032: callvirt instance string object::ToString() - IL_0037: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_003c: ldarg.0 - IL_003d: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0042: ldstr "nant.settings.currentframework.description" - IL_0047: ldarg.0 - IL_0048: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_004d: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_0052: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0057: ldarg.0 - IL_0058: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_005d: ldstr "nant.settings.currentframework.frameworkdirectory" - IL_0062: ldarg.0 - IL_0063: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0068: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_006d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0072: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0077: ldarg.0 - IL_0078: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_007d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_0082: brfalse IL_00ae + IL_0001: ldarg.1 + IL_0002: brfalse IL_0352 - IL_0087: nop - IL_0088: ldarg.0 - IL_0089: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_008e: ldstr "nant.settings.currentframework.sdkdirectory" - IL_0093: ldarg.0 - IL_0094: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0099: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_009e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00a3: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00a8: nop - IL_00a9: br IL_00c5 + IL_0007: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.Core.PropertyDictionary::'<>f__switch$map0' + IL_000c: brtrue IL_00d9 - IL_00ae: nop - IL_00af: ldarg.0 - IL_00b0: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00b5: ldstr "nant.settings.currentframework.sdkdirectory" - IL_00ba: ldstr "" - IL_00bf: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00c4: nop - IL_00c5: ldarg.0 - IL_00c6: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00cb: ldstr "nant.settings.currentframework.frameworkassemblydirectory" - IL_00d0: ldarg.0 - IL_00d1: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_00d6: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() - IL_00db: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00e0: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_00e5: ldarg.0 - IL_00e6: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00eb: ldstr "nant.settings.currentframework.runtimeengine" - IL_00f0: ldarg.0 - IL_00f1: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_00f6: callvirt instance string class NAnt.Core.FrameworkInfo::get_RuntimeEngine() - IL_00fb: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0100: ret - } // end of method Project::UpdateTargetFrameworkProperties + IL_0011: ldc.i4.s 0x0f + IL_0013: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) + IL_0018: stloc.0 + IL_0019: ldloc.0 + IL_001a: ldstr "nant.filename" + IL_001f: ldc.i4.0 + IL_0020: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0025: ldloc.0 + IL_0026: ldstr "nant.version" + IL_002b: ldc.i4.1 + IL_002c: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0031: ldloc.0 + IL_0032: ldstr "nant.location" + IL_0037: ldc.i4.2 + IL_0038: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_003d: ldloc.0 + IL_003e: ldstr "nant.project.basedir" + IL_0043: ldc.i4.3 + IL_0044: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0049: ldloc.0 + IL_004a: ldstr "nant.project.name" + IL_004f: ldc.i4.4 + IL_0050: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0055: ldloc.0 + IL_0056: ldstr "nant.project.buildfile" + IL_005b: ldc.i4.5 + IL_005c: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0061: ldloc.0 + IL_0062: ldstr "nant.project.default" + IL_0067: ldc.i4.6 + IL_0068: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_006d: ldloc.0 + IL_006e: ldstr "nant.platform.name" + IL_0073: ldc.i4.7 + IL_0074: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0079: ldloc.0 + IL_007a: ldstr "nant.platform.win32" + IL_007f: ldc.i4.8 + IL_0080: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0085: ldloc.0 + IL_0086: ldstr "nant.platform.unix" + IL_008b: ldc.i4.s 0x09 + IL_008d: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0092: ldloc.0 + IL_0093: ldstr "nant.settings.currentframework.description" + IL_0098: ldc.i4.s 0x0a + IL_009a: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_009f: ldloc.0 + IL_00a0: ldstr "nant.settings.currentframework.frameworkdirectory" + IL_00a5: ldc.i4.s 0x0b + IL_00a7: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_00ac: ldloc.0 + IL_00ad: ldstr "nant.settings.currentframework.sdkdirectory" + IL_00b2: ldc.i4.s 0x0c + IL_00b4: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_00b9: ldloc.0 + IL_00ba: ldstr "nant.settings.currentframework.frameworkassemblydirectory" + IL_00bf: ldc.i4.s 0x0d + IL_00c1: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_00c6: ldloc.0 + IL_00c7: ldstr "nant.settings.currentframework.runtimeengine" + IL_00cc: ldc.i4.s 0x0e + IL_00ce: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_00d3: ldloc.0 + IL_00d4: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.Core.PropertyDictionary::'<>f__switch$map0' + IL_00d9: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.Core.PropertyDictionary::'<>f__switch$map0' + IL_00de: ldarg.1 + IL_00df: ldloca.s 1 + IL_00e1: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_00e6: brfalse IL_0352 - // method line 1929 - .method private hidebysig - instance default class [System.Xml]System.Xml.XmlNode GetConfigurationNode () cil managed - { - // Method begins at RVA 0x27098 - // Code size 69 (0x45) - .maxstack 3 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [System.Xml]System.Xml.XmlNode V_1) - IL_0000: nop - IL_0001: ldstr "nant" - IL_0006: call object class [System]System.Configuration.ConfigurationSettings::GetConfig(string) - IL_000b: isinst [System.Xml]System.Xml.XmlNode - IL_0010: stloc.0 - IL_0011: ldloc.0 - IL_0012: brtrue IL_003c + IL_00eb: ldloc.1 + IL_00ec: switch ( + IL_0136, + IL_015a, + IL_017e, + IL_01a2, + IL_01c6, + IL_01ea, + IL_020e, + IL_0232, + IL_0256, + IL_027a, + IL_029e, + IL_02c2, + IL_02e6, + IL_030a, + IL_032e, + IL_0352) + IL_0131: br IL_0352 - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "The NAnt configuration settings in file '{0}' could not be loaded. Please ensure this file is available and contains a 'nant' settings node." - IL_0022: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0027: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() - IL_002c: callvirt instance string class [mscorlib]System.AppDomainSetup::get_ConfigurationFile() - IL_0031: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0036: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_003b: throw - IL_003c: ldloc.0 - IL_003d: stloc.1 - IL_003e: br IL_0043 + IL_0136: ldarg.0 + IL_0137: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_013c: ldc.i4 4000 + IL_0141: ldstr "Built-in property '{0}' is deprecated. Use assembly::get-location(nant::get-assembly()) expression instead." + IL_0146: ldc.i4.1 + IL_0147: newarr [mscorlib]System.Object + IL_014c: dup + IL_014d: ldc.i4.0 + IL_014e: ldarg.1 + IL_014f: stelem.ref + IL_0150: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0155: br IL_0357 - IL_0043: ldloc.1 - IL_0044: ret - } // end of method Project::GetConfigurationNode + IL_015a: ldarg.0 + IL_015b: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_0160: ldc.i4 4000 + IL_0165: ldstr "Built-in property '{0}' is deprecated. Use the assemblyname::get-version(assembly::get-name(nant::get-assembly)) expression instead." + IL_016a: ldc.i4.1 + IL_016b: newarr [mscorlib]System.Object + IL_0170: dup + IL_0171: ldc.i4.0 + IL_0172: ldarg.1 + IL_0173: stelem.ref + IL_0174: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0179: br IL_0357 - // method line 1930 - .method public hidebysig - instance default class NAnt.Core.TargetCollection TopologicalTargetSort (string root, class NAnt.Core.TargetCollection targets) cil managed - { - // Method begins at RVA 0x270ec - // Code size 267 (0x10b) - .maxstack 6 - .locals init ( - class NAnt.Core.TargetCollection V_0, - class [mscorlib]System.Collections.Hashtable V_1, - class [mscorlib]System.Collections.Stack V_2, - class NAnt.Core.Target V_3, - class [mscorlib]System.Collections.IEnumerator V_4, - string V_5, - class [mscorlib]System.IDisposable V_6, - class NAnt.Core.TargetCollection V_7) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_000c: stloc.1 - IL_000d: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() - IL_0012: stloc.2 - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: ldarg.2 - IL_0016: ldloc.1 - IL_0017: ldloc.2 - IL_0018: ldloc.0 - IL_0019: call instance void class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack, class NAnt.Core.TargetCollection) - IL_001e: ldarg.0 - IL_001f: ldc.i4 1000 - IL_0024: ldc.i4.4 - IL_0025: newarr [mscorlib]System.Object - IL_002a: dup - IL_002b: ldc.i4.0 - IL_002c: ldstr "Build sequence for target `" - IL_0031: stelem.ref - IL_0032: dup - IL_0033: ldc.i4.1 - IL_0034: ldarg.1 - IL_0035: stelem.ref - IL_0036: dup - IL_0037: ldc.i4.2 - IL_0038: ldstr "' is " - IL_003d: stelem.ref - IL_003e: dup - IL_003f: ldc.i4.3 - IL_0040: ldloc.0 - IL_0041: stelem.ref - IL_0042: call string string::Concat(object[]) - IL_0047: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) - IL_004c: nop - IL_004d: ldarg.2 - IL_004e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0053: stloc.s 4 - .try { // 0 - IL_0055: br IL_00c2 + IL_017e: ldarg.0 + IL_017f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_0184: ldc.i4 4000 + IL_0189: ldstr "Built-in property '{0}' is deprecated. Use the nant::get-base-directory() function instead." + IL_018e: ldc.i4.1 + IL_018f: newarr [mscorlib]System.Object + IL_0194: dup + IL_0195: ldc.i4.0 + IL_0196: ldarg.1 + IL_0197: stelem.ref + IL_0198: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_019d: br IL_0357 - IL_005a: ldloc.s 4 - IL_005c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0061: castclass NAnt.Core.Target - IL_0066: stloc.3 - IL_0067: nop - IL_0068: ldloc.1 - IL_0069: ldloc.3 - IL_006a: callvirt instance string class NAnt.Core.Target::get_Name() - IL_006f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0074: castclass [mscorlib]System.String - IL_0079: stloc.s 5 - IL_007b: ldloc.s 5 - IL_007d: brtrue IL_0099 + IL_01a2: ldarg.0 + IL_01a3: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_01a8: ldc.i4 4000 + IL_01ad: ldstr "Built-in property '{0}' is deprecated. Use the project::get-base-directory() function instead." + IL_01b2: ldc.i4.1 + IL_01b3: newarr [mscorlib]System.Object + IL_01b8: dup + IL_01b9: ldc.i4.0 + IL_01ba: ldarg.1 + IL_01bb: stelem.ref + IL_01bc: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01c1: br IL_0357 - IL_0082: nop - IL_0083: ldarg.0 - IL_0084: ldloc.3 - IL_0085: callvirt instance string class NAnt.Core.Target::get_Name() - IL_008a: ldarg.2 - IL_008b: ldloc.1 - IL_008c: ldloc.2 - IL_008d: ldloc.0 - IL_008e: call instance void class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack, class NAnt.Core.TargetCollection) - IL_0093: nop - IL_0094: br IL_00c1 + IL_01c6: ldarg.0 + IL_01c7: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_01cc: ldc.i4 4000 + IL_01d1: ldstr "Built-in property '{0}' is deprecated. Use the project::get-name() function instead." + IL_01d6: ldc.i4.1 + IL_01d7: newarr [mscorlib]System.Object + IL_01dc: dup + IL_01dd: ldc.i4.0 + IL_01de: ldarg.1 + IL_01df: stelem.ref + IL_01e0: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01e5: br IL_0357 - IL_0099: ldloc.s 5 - IL_009b: ldstr "VISITING" - IL_00a0: call bool string::op_Equality(string, string) - IL_00a5: brfalse IL_00c1 + IL_01ea: ldarg.0 + IL_01eb: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_01f0: ldc.i4 4000 + IL_01f5: ldstr "Built-in property '{0}' is deprecated. Use the project::get-buildfile-uri() function instead." + IL_01fa: ldc.i4.1 + IL_01fb: newarr [mscorlib]System.Object + IL_0200: dup + IL_0201: ldc.i4.0 + IL_0202: ldarg.1 + IL_0203: stelem.ref + IL_0204: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0209: br IL_0357 - IL_00aa: nop - IL_00ab: ldstr "Unexpected node in visiting state: " - IL_00b0: ldloc.3 - IL_00b1: callvirt instance string class NAnt.Core.Target::get_Name() - IL_00b6: call string string::Concat(string, string) - IL_00bb: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_00c0: throw - IL_00c1: nop - IL_00c2: ldloc.s 4 - IL_00c4: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00c9: brtrue IL_005a + IL_020e: ldarg.0 + IL_020f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_0214: ldc.i4 4000 + IL_0219: ldstr "Built-in property '{0}' is deprecated. Use the project::get-default-target() function instead." + IL_021e: ldc.i4.1 + IL_021f: newarr [mscorlib]System.Object + IL_0224: dup + IL_0225: ldc.i4.0 + IL_0226: ldarg.1 + IL_0227: stelem.ref + IL_0228: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_022d: br IL_0357 - IL_00ce: leave IL_00ea + IL_0232: ldarg.0 + IL_0233: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_0238: ldc.i4 4000 + IL_023d: ldstr "Built-in property '{0}' is deprecated. Use the platform::get-name() function instead." + IL_0242: ldc.i4.1 + IL_0243: newarr [mscorlib]System.Object + IL_0248: dup + IL_0249: ldc.i4.0 + IL_024a: ldarg.1 + IL_024b: stelem.ref + IL_024c: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0251: br IL_0357 - } // end .try 0 - finally { // 0 - IL_00d3: ldloc.s 4 - IL_00d5: isinst [mscorlib]System.IDisposable - IL_00da: dup - IL_00db: stloc.s 6 - IL_00dd: brfalse IL_00e9 + IL_0256: ldarg.0 + IL_0257: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_025c: ldc.i4 4000 + IL_0261: ldstr "Built-in property '{0}' is deprecated. Use the platform::is-win32() function instead." + IL_0266: ldc.i4.1 + IL_0267: newarr [mscorlib]System.Object + IL_026c: dup + IL_026d: ldc.i4.0 + IL_026e: ldarg.1 + IL_026f: stelem.ref + IL_0270: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0275: br IL_0357 + + IL_027a: ldarg.0 + IL_027b: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_0280: ldc.i4 4000 + IL_0285: ldstr "Built-in property '{0}' is deprecated. Use the platform::is-unix() function instead." + IL_028a: ldc.i4.1 + IL_028b: newarr [mscorlib]System.Object + IL_0290: dup + IL_0291: ldc.i4.0 + IL_0292: ldarg.1 + IL_0293: stelem.ref + IL_0294: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0299: br IL_0357 + + IL_029e: ldarg.0 + IL_029f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_02a4: ldc.i4 4000 + IL_02a9: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-description(framework::get-target-framework()) function instead." + IL_02ae: ldc.i4.1 + IL_02af: newarr [mscorlib]System.Object + IL_02b4: dup + IL_02b5: ldc.i4.0 + IL_02b6: ldarg.1 + IL_02b7: stelem.ref + IL_02b8: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_02bd: br IL_0357 - IL_00e2: ldloc.s 6 - IL_00e4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00e9: endfinally - } // end handler 0 - IL_00ea: ldarg.0 - IL_00eb: ldc.i4 1000 - IL_00f0: ldstr "Complete build sequence is " - IL_00f5: ldloc.0 - IL_00f6: call string string::Concat(object, object) - IL_00fb: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) - IL_0100: ldloc.0 - IL_0101: stloc.s 7 - IL_0103: br IL_0108 + IL_02c2: ldarg.0 + IL_02c3: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_02c8: ldc.i4 4000 + IL_02cd: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-framework-directory(framework::get-target-framework()) function instead." + IL_02d2: ldc.i4.1 + IL_02d3: newarr [mscorlib]System.Object + IL_02d8: dup + IL_02d9: ldc.i4.0 + IL_02da: ldarg.1 + IL_02db: stelem.ref + IL_02dc: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_02e1: br IL_0357 - IL_0108: ldloc.s 7 - IL_010a: ret - } // end of method Project::TopologicalTargetSort + IL_02e6: ldarg.0 + IL_02e7: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_02ec: ldc.i4 4000 + IL_02f1: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-sdk-directory(framework::get-target-framework()) function instead." + IL_02f6: ldc.i4.1 + IL_02f7: newarr [mscorlib]System.Object + IL_02fc: dup + IL_02fd: ldc.i4.0 + IL_02fe: ldarg.1 + IL_02ff: stelem.ref + IL_0300: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0305: br IL_0357 - // method line 1931 - .method private hidebysig - instance default void TopologicalTargetSort (string root, class NAnt.Core.TargetCollection targets, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting, class NAnt.Core.TargetCollection executeTargets) cil managed - { - // Method begins at RVA 0x27214 - // Code size 411 (0x19b) - .maxstack 6 - .locals init ( - class NAnt.Core.Target V_0, - class [mscorlib]System.Text.StringBuilder V_1, - string V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - string V_5, - class [mscorlib]System.IDisposable V_6, - string V_7) - IL_0000: nop - IL_0001: ldarg.3 - IL_0002: ldarg.1 - IL_0003: ldstr "VISITING" - IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_000d: ldarg.s 4 - IL_000f: ldarg.1 - IL_0010: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) - IL_0015: ldarg.2 - IL_0016: ldarg.1 - IL_0017: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_001c: stloc.0 - IL_001d: ldloc.0 - IL_001e: brtrue IL_00c8 + IL_030a: ldarg.0 + IL_030b: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_0310: ldc.i4 4000 + IL_0315: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-assembly-directory(framework::get-target-framework()) function instead." + IL_031a: ldc.i4.1 + IL_031b: newarr [mscorlib]System.Object + IL_0320: dup + IL_0321: ldc.i4.0 + IL_0322: ldarg.1 + IL_0323: stelem.ref + IL_0324: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0329: br IL_0357 - IL_0023: nop - IL_0024: ldarg.2 - IL_0025: ldstr "*" - IL_002a: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_002f: stloc.0 - IL_0030: ldloc.0 - IL_0031: brfalse IL_004b + IL_032e: ldarg.0 + IL_032f: call instance class NAnt.Core.Project class NAnt.Core.PropertyDictionary::get_Project() + IL_0334: ldc.i4 4000 + IL_0339: ldstr "Built-in property '{0}' is deprecated. Use the framework::get-runtime-engine(framework::get-target-framework()) function instead." + IL_033e: ldc.i4.1 + IL_033f: newarr [mscorlib]System.Object + IL_0344: dup + IL_0345: ldc.i4.0 + IL_0346: ldarg.1 + IL_0347: stelem.ref + IL_0348: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_034d: br IL_0357 - IL_0036: nop - IL_0037: ldloc.0 - IL_0038: callvirt instance class NAnt.Core.Target class NAnt.Core.Target::Clone() - IL_003d: stloc.0 - IL_003e: ldloc.0 - IL_003f: ldarg.1 - IL_0040: callvirt instance void class NAnt.Core.Target::set_Name(string) - IL_0045: nop - IL_0046: br IL_00c7 + IL_0352: br IL_0357 - IL_004b: nop - IL_004c: ldstr "Target '" - IL_0051: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) - IL_0056: stloc.1 - IL_0057: ldloc.1 - IL_0058: ldarg.1 - IL_0059: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_005e: pop - IL_005f: ldloc.1 - IL_0060: ldstr "' does not exist in this project." - IL_0065: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_006a: pop - IL_006b: ldarg.s 4 - IL_006d: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_0072: pop - IL_0073: ldarg.s 4 - IL_0075: callvirt instance int32 class [mscorlib]System.Collections.Stack::get_Count() - IL_007a: ldc.i4.0 - IL_007b: ble IL_00bb + IL_0357: ret + } // end of method PropertyDictionary::CheckDeprecation - IL_0080: nop - IL_0081: ldarg.s 4 - IL_0083: callvirt instance object class [mscorlib]System.Collections.Stack::Peek() - IL_0088: castclass [mscorlib]System.String - IL_008d: stloc.2 - IL_008e: ldloc.1 - IL_008f: ldstr " " - IL_0094: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0099: pop - IL_009a: ldloc.1 - IL_009b: ldstr "It is used from target '" - IL_00a0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00a5: pop - IL_00a6: ldloc.1 - IL_00a7: ldloc.2 - IL_00a8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00ad: pop - IL_00ae: ldloc.1 - IL_00af: ldstr "'." - IL_00b4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00b9: pop - IL_00ba: nop - IL_00bb: ldloc.1 - IL_00bc: callvirt instance string object::ToString() - IL_00c1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_00c6: throw - IL_00c7: nop - IL_00c8: nop - IL_00c9: ldloc.0 - IL_00ca: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Target::get_Dependencies() - IL_00cf: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00d4: stloc.s 4 - .try { // 0 - IL_00d6: br IL_0129 + // method line 1984 + .method private static hidebysig + default void ValidatePropertyName (string propertyName, class NAnt.Core.Location location) cil managed + { + // Method begins at RVA 0x25ec0 + // Code size 108 (0x6c) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "^[_A-Za-z0-9][_A-Za-z0-9\\-.]*$" + IL_0007: call bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string, string) + IL_000c: brtrue IL_002e - IL_00db: ldloc.s 4 - IL_00dd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00e2: stloc.3 - IL_00e3: nop - IL_00e4: ldarg.3 - IL_00e5: ldloc.3 - IL_00e6: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_00eb: castclass [mscorlib]System.String - IL_00f0: stloc.s 5 - IL_00f2: ldloc.s 5 - IL_00f4: brtrue IL_010d + IL_0011: nop + IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0017: ldstr "NA1064" + IL_001c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0021: ldarg.0 + IL_0022: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0027: ldarg.1 + IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_002d: throw + IL_002e: ldarg.0 + IL_002f: ldstr "-" + IL_0034: callvirt instance bool string::EndsWith(string) + IL_0039: brtrue IL_004e - IL_00f9: nop - IL_00fa: ldarg.0 - IL_00fb: ldloc.3 - IL_00fc: ldarg.2 - IL_00fd: ldarg.3 - IL_00fe: ldarg.s 4 - IL_0100: ldarg.s 5 - IL_0102: call instance void class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack, class NAnt.Core.TargetCollection) - IL_0107: nop - IL_0108: br IL_0128 + IL_003e: ldarg.0 + IL_003f: ldstr "." + IL_0044: callvirt instance bool string::EndsWith(string) + IL_0049: brfalse IL_006b - IL_010d: ldloc.s 5 - IL_010f: ldstr "VISITING" - IL_0114: call bool string::op_Equality(string, string) - IL_0119: brfalse IL_0128 + IL_004e: nop + IL_004f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0054: ldstr "NA1064" + IL_0059: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_005e: ldarg.0 + IL_005f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0064: ldarg.1 + IL_0065: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_006a: throw + IL_006b: ret + } // end of method PropertyDictionary::ValidatePropertyName - IL_011e: nop - IL_011f: ldloc.3 - IL_0120: ldarg.s 4 - IL_0122: call class NAnt.Core.BuildException class NAnt.Core.Project::CreateCircularException(string, class [mscorlib]System.Collections.Stack) - IL_0127: throw - IL_0128: nop - IL_0129: ldloc.s 4 - IL_012b: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0130: brtrue IL_00db + // method line 1985 + .method private static hidebysig + default void ValidatePropertyValue (object 'value', class NAnt.Core.Location location) cil managed + { + // Method begins at RVA 0x25f38 + // Code size 70 (0x46) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brfalse IL_003f - IL_0135: leave IL_0151 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: isinst [mscorlib]System.String + IL_000e: brtrue IL_0039 - } // end .try 0 - finally { // 0 - IL_013a: ldloc.s 4 - IL_013c: isinst [mscorlib]System.IDisposable - IL_0141: dup - IL_0142: stloc.s 6 - IL_0144: brfalse IL_0150 + IL_0013: nop + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: ldstr "NA1066" + IL_001e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0023: ldarg.0 + IL_0024: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0029: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002e: ldstr "value" + IL_0033: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, string) + IL_0038: throw + IL_0039: nop + IL_003a: br IL_0045 - IL_0149: ldloc.s 6 - IL_014b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0150: endfinally - } // end handler 0 - IL_0151: ldarg.s 4 - IL_0153: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_0158: castclass [mscorlib]System.String - IL_015d: stloc.s 7 - IL_015f: ldarg.1 - IL_0160: ldloc.s 7 - IL_0162: call bool string::op_Inequality(string, string) - IL_0167: brfalse IL_0185 + IL_003f: nop + IL_0040: br IL_0045 - IL_016c: nop - IL_016d: ldstr "Unexpected internal error: expected to pop " - IL_0172: ldarg.1 - IL_0173: ldstr " but got " - IL_0178: ldloc.s 7 - IL_017a: call string string::Concat(string, string, string, string) - IL_017f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0184: throw - IL_0185: ldarg.3 - IL_0186: ldarg.1 - IL_0187: ldstr "VISITED" - IL_018c: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0191: ldarg.s 5 - IL_0193: ldloc.0 - IL_0194: callvirt instance int32 class NAnt.Core.TargetCollection::Add(class NAnt.Core.Target) - IL_0199: pop - IL_019a: ret - } // end of method Project::TopologicalTargetSort + IL_0045: ret + } // end of method PropertyDictionary::ValidatePropertyValue - // method line 1932 - .method private static hidebysig + // method line 1986 + .method assembly static hidebysig default class NAnt.Core.BuildException CreateCircularException (string end, class [mscorlib]System.Collections.Stack stack) cil managed { - // Method begins at RVA 0x273cc + // Method begins at RVA 0x25f8c // Code size 85 (0x55) .maxstack 2 .locals init ( @@ -80462,7 +76778,7 @@ string V_1, class NAnt.Core.BuildException V_2) IL_0000: nop - IL_0001: ldstr "Circular dependency: " + IL_0001: ldstr "Circular property reference: " IL_0006: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) IL_000b: stloc.0 IL_000c: ldloc.0 @@ -80496,3733 +76812,4144 @@ IL_0053: ldloc.2 IL_0054: ret - } // end of method Project::CreateCircularException - - // method line 1933 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x2742d - // Code size 21 (0x15) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Project::logger - IL_0014: ret - } // end of method Project::.cctor + } // end of method PropertyDictionary::CreateCircularException - .property instance int32 IndentationLevel () - { - .get instance default int32 NAnt.Core.Project::get_IndentationLevel () - } - .property instance int32 IndentationSize () - { - .get instance default int32 NAnt.Core.Project::get_IndentationSize () - } - .property instance valuetype NAnt.Core.Level Threshold () - { - .get instance default valuetype NAnt.Core.Level NAnt.Core.Project::get_Threshold () - .set instance default void NAnt.Core.Project::set_Threshold (valuetype NAnt.Core.Level 'value') - } - .property instance string ProjectName () - { - .get instance default string NAnt.Core.Project::get_ProjectName () - } - .property instance string BaseDirectory () - { - .get instance default string NAnt.Core.Project::get_BaseDirectory () - .set instance default void NAnt.Core.Project::set_BaseDirectory (string 'value') - } - .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () - { - .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::get_NamespaceManager () - } - .property instance class [System]System.Uri BuildFileUri () - { - .get instance default class [System]System.Uri NAnt.Core.Project::get_BuildFileUri () - } - .property instance class NAnt.Core.FrameworkInfoDictionary Frameworks () - { - .get instance default class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::get_Frameworks () - } - .property instance class NAnt.Core.FrameworkInfo RuntimeFramework () - { - .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.Project::get_RuntimeFramework () - .set instance default void NAnt.Core.Project::set_RuntimeFramework (class NAnt.Core.FrameworkInfo 'value') - } - .property instance class NAnt.Core.FrameworkInfo TargetFramework () - { - .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.Project::get_TargetFramework () - .set instance default void NAnt.Core.Project::set_TargetFramework (class NAnt.Core.FrameworkInfo 'value') - } - .property instance string PlatformName () - { - .get instance default string NAnt.Core.Project::get_PlatformName () - } - .property instance class NAnt.Core.Target CurrentTarget () - { - .get instance default class NAnt.Core.Target NAnt.Core.Project::get_CurrentTarget () - } - .property instance string BuildFileLocalName () - { - .get instance default string NAnt.Core.Project::get_BuildFileLocalName () - } - .property instance class [System.Xml]System.Xml.XmlDocument Document () - { - .get instance default class [System.Xml]System.Xml.XmlDocument NAnt.Core.Project::get_Document () - } - .property instance class [System.Xml]System.Xml.XmlNode ConfigurationNode () - { - .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::get_ConfigurationNode () - } - .property instance string DefaultTargetName () - { - .get instance default string NAnt.Core.Project::get_DefaultTargetName () - } - .property instance bool Verbose () - { - .get instance default bool NAnt.Core.Project::get_Verbose () - } - .property instance class [System]System.Collections.Specialized.StringCollection BuildTargets () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::get_BuildTargets () - } - .property instance class NAnt.Core.PropertyDictionary Properties () - { - .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Project::get_Properties () - } - .property instance class NAnt.Core.PropertyDictionary FrameworkNeutralProperties () - { - .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Project::get_FrameworkNeutralProperties () - } - .property instance class NAnt.Core.DataTypeBaseDictionary DataTypeReferences () - { - .get instance default class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::get_DataTypeReferences () - } - .property instance class NAnt.Core.TargetCollection Targets () - { - .get instance default class NAnt.Core.TargetCollection NAnt.Core.Project::get_Targets () - } - .property instance class NAnt.Core.BuildListenerCollection BuildListeners () - { - .get instance default class NAnt.Core.BuildListenerCollection NAnt.Core.Project::get_BuildListeners () - } - .property instance class NAnt.Core.LocationMap LocationMap () - { - .get instance default class NAnt.Core.LocationMap NAnt.Core.Project::get_LocationMap () - } - .event NAnt.Core.BuildEventHandler BuildStarted - { - .addon instance default void NAnt.Core.Project::add_BuildStarted (class NAnt.Core.BuildEventHandler 'value') - .removeon instance default void NAnt.Core.Project::remove_BuildStarted (class NAnt.Core.BuildEventHandler 'value') - } - .event NAnt.Core.BuildEventHandler BuildFinished - { - .addon instance default void NAnt.Core.Project::add_BuildFinished (class NAnt.Core.BuildEventHandler 'value') - .removeon instance default void NAnt.Core.Project::remove_BuildFinished (class NAnt.Core.BuildEventHandler 'value') - } - .event NAnt.Core.BuildEventHandler TargetStarted + .property instance string Item (string) { - .addon instance default void NAnt.Core.Project::add_TargetStarted (class NAnt.Core.BuildEventHandler 'value') - .removeon instance default void NAnt.Core.Project::remove_TargetStarted (class NAnt.Core.BuildEventHandler 'value') + .get instance default string NAnt.Core.PropertyDictionary::get_Item (string name) + .set instance default void NAnt.Core.PropertyDictionary::set_Item (string name, string 'value') } - .event NAnt.Core.BuildEventHandler TargetFinished + .property instance class NAnt.Core.Project Project () { - .addon instance default void NAnt.Core.Project::add_TargetFinished (class NAnt.Core.BuildEventHandler 'value') - .removeon instance default void NAnt.Core.Project::remove_TargetFinished (class NAnt.Core.BuildEventHandler 'value') + .get instance default class NAnt.Core.Project NAnt.Core.PropertyDictionary::get_Project () } - .event NAnt.Core.BuildEventHandler TaskStarted + } // end of class NAnt.Core.PropertyDictionary +} + +.namespace NAnt.Core +{ + .class public auto ansi serializable PlatformHelper + extends [mscorlib]System.Object + { + .field public static initonly bool IsMono + .field public static initonly bool IsWin32 + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 16 55 73 65 20 49 73 57 69 6E 64 6F 77 73 // ...Use IsWindows + 20 69 6E 73 74 65 61 64 2E 00 00 ) // instead... + + .field public static initonly bool IsUnix + + // method line 1987 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x25ff0 + // Code size 87 (0x57) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldstr "System.MonoType" + IL_0006: ldc.i4.0 + IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) + IL_000c: ldnull + IL_000d: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0012: brfalse IL_001f + + IL_0017: nop + IL_0018: ldc.i4.1 + IL_0019: stsfld bool NAnt.Core.PlatformHelper::IsMono + IL_001e: nop + IL_001f: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_0024: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_0029: stloc.0 + IL_002a: ldloc.0 + IL_002b: ldc.i4.4 + IL_002c: beq IL_0043 + + IL_0031: ldloc.0 + IL_0032: ldc.i4.6 + IL_0033: beq IL_0043 + + IL_0038: ldloc.0 + IL_0039: ldc.i4 128 + IL_003e: bne.un IL_0049 + + IL_0043: ldc.i4.1 + IL_0044: stsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0049: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_004e: ldc.i4.0 + IL_004f: ceq + IL_0051: stsfld bool NAnt.Core.PlatformHelper::IsWin32 + IL_0056: ret + } // end of method PlatformHelper::.cctor + + // method line 1988 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x26053 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method PlatformHelper::.ctor + + // method line 1989 + .method public static hidebysig + default bool IsVolumeCaseSensitive (string path) cil managed + { + // Method begins at RVA 0x2605c + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformHelper::IsVolumeCaseSensitive + + // method line 1990 + .method assembly static hidebysig specialname + default bool get_Is64Bit () cil managed + { + // Method begins at RVA 0x26078 + // Code size 17 (0x11) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: call int32 native int::get_Size() + IL_0006: ldc.i4.8 + IL_0007: ceq + IL_0009: stloc.0 + IL_000a: br IL_000f + + IL_000f: ldloc.0 + IL_0010: ret + } // end of method PlatformHelper::get_Is64Bit + + // method line 1991 + .method assembly static hidebysig specialname + default bool get_Is32Bit () cil managed + { + // Method begins at RVA 0x26098 + // Code size 17 (0x11) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: call int32 native int::get_Size() + IL_0006: ldc.i4.4 + IL_0007: ceq + IL_0009: stloc.0 + IL_000a: br IL_000f + + IL_000f: ldloc.0 + IL_0010: ret + } // end of method PlatformHelper::get_Is32Bit + + // method line 1992 + .method public static hidebysig specialname + default bool get_IsWindows () cil managed + { + // Method begins at RVA 0x260b8 + // Code size 17 (0x11) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: ldc.i4.0 + IL_0007: ceq + IL_0009: stloc.0 + IL_000a: br IL_000f + + IL_000f: ldloc.0 + IL_0010: ret + } // end of method PlatformHelper::get_IsWindows + + .property bool Is64Bit () { - .addon instance default void NAnt.Core.Project::add_TaskStarted (class NAnt.Core.BuildEventHandler 'value') - .removeon instance default void NAnt.Core.Project::remove_TaskStarted (class NAnt.Core.BuildEventHandler 'value') + .get default bool NAnt.Core.PlatformHelper::get_Is64Bit () } - .event NAnt.Core.BuildEventHandler TaskFinished + .property bool Is32Bit () { - .addon instance default void NAnt.Core.Project::add_TaskFinished (class NAnt.Core.BuildEventHandler 'value') - .removeon instance default void NAnt.Core.Project::remove_TaskFinished (class NAnt.Core.BuildEventHandler 'value') + .get default bool NAnt.Core.PlatformHelper::get_Is32Bit () } - .event NAnt.Core.BuildEventHandler MessageLogged + .property bool IsWindows () { - .addon instance default void NAnt.Core.Project::add_MessageLogged (class NAnt.Core.BuildEventHandler 'value') - .removeon instance default void NAnt.Core.Project::remove_MessageLogged (class NAnt.Core.BuildEventHandler 'value') + .get default bool NAnt.Core.PlatformHelper::get_IsWindows () } - } // end of class NAnt.Core.Project + } // end of class NAnt.Core.PlatformHelper } .namespace NAnt.Core { - .class private auto ansi sealed Optimizations + .class public auto ansi sealed FrameworkTypes extends [mscorlib]System.Enum { + .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... + .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Optimizations None = int32(0x00000000) - .field public static literal valuetype NAnt.Core.Optimizations SkipAutomaticDiscovery = int32(0x00000001) - .field public static literal valuetype NAnt.Core.Optimizations SkipFrameworkConfiguration = int32(0x00000002) + .field public static literal valuetype NAnt.Core.FrameworkTypes NotInstalled = int32(0x00000001) + .field public static literal valuetype NAnt.Core.FrameworkTypes Installed = int32(0x00000002) + .field public static literal valuetype NAnt.Core.FrameworkTypes InstallStateMask = int32(0x00000003) + .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 02 00 00 00 00 00 ) // ........ - } // end of class NAnt.Core.Optimizations + .field public static literal valuetype NAnt.Core.FrameworkTypes Desktop = int32(0x00000004) + .field public static literal valuetype NAnt.Core.FrameworkTypes Compact = int32(0x00000008) + .field public static literal valuetype NAnt.Core.FrameworkTypes Browser = int32(0x00000010) + .field public static literal valuetype NAnt.Core.FrameworkTypes DeviceMask = int32(0x0000001c) + .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 02 00 00 00 00 00 ) // ........ + + .field public static literal valuetype NAnt.Core.FrameworkTypes Mono = int32(0x00000020) + .field public static literal valuetype NAnt.Core.FrameworkTypes MS = int32(0x00000040) + .field public static literal valuetype NAnt.Core.FrameworkTypes VendorMask = int32(0x00000060) + .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 02 00 00 00 00 00 ) // ........ + + .field public static literal valuetype NAnt.Core.FrameworkTypes All = int32(0x00000003) + + } // end of class NAnt.Core.FrameworkTypes } .namespace NAnt.Core { - .class public auto ansi ExpressionTokenizer - extends [mscorlib]System.Object + .class public auto ansi serializable beforefieldinit DataTypeBaseBuilderCollection + extends [mscorlib]System.Collections.CollectionBase { - .field private string _text - .field private int32 _position - .field private valuetype NAnt.Core.ExpressionTokenizer/Position _tokenStartPosition - .field private valuetype NAnt.Core.ExpressionTokenizer/TokenType _tokenType - .field private string _tokenText - .field private bool _ignoreWhiteSpace - .field private bool _singleCharacterMode - .field private static valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType[] charToTokenType - .field private static valuetype NAnt.Core.ExpressionTokenizer/TokenType[] charIndexToTokenType + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 1934 + + // method line 1993 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x27443 + // Method begins at RVA 0x260d5 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method DataTypeBaseBuilderCollection::.ctor + + // method line 1994 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilderCollection 'value') cil managed + { + // Method begins at RVA 0x260de // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.ExpressionTokenizer::_ignoreWhiteSpace + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop IL_0007: ldarg.0 - IL_0008: call instance void object::'.ctor'() - IL_000d: nop + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.DataTypeBaseBuilderCollection::AddRange(class NAnt.Core.DataTypeBaseBuilderCollection) IL_000e: ret - } // end of method ExpressionTokenizer::.ctor + } // end of method DataTypeBaseBuilderCollection::.ctor - // method line 1935 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1995 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilder[] 'value') cil managed { - // Method begins at RVA 0x27454 - // Code size 439 (0x1b7) - .maxstack 4 + // Method begins at RVA 0x260ee + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.DataTypeBaseBuilderCollection::AddRange(class NAnt.Core.DataTypeBaseBuilder[]) + IL_000e: ret + } // end of method DataTypeBaseBuilderCollection::.ctor + + // method line 1996 + .method public hidebysig specialname + instance default class NAnt.Core.DataTypeBaseBuilder get_Item (int32 index) cil managed + { + // Method begins at RVA 0x26100 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - int32 V_0, - valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType V_1, - valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType[] V_2, - int32 V_3) - IL_0000: ldc.i4.s 0x0f - IL_0002: newarr NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0007: dup - IL_0008: ldc.i4.0 - IL_0009: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_000e: ldc.i4.s 0x2b - IL_0010: ldc.i4.s 0x0b - IL_0012: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_0017: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_001c: dup - IL_001d: ldc.i4.1 - IL_001e: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0023: ldc.i4.s 0x2d - IL_0025: ldc.i4.s 0x0c - IL_0027: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_002c: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0031: dup - IL_0032: ldc.i4.2 - IL_0033: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0038: ldc.i4.s 0x2a - IL_003a: ldc.i4.s 0x0d - IL_003c: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_0041: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0046: dup - IL_0047: ldc.i4.3 - IL_0048: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_004d: ldc.i4.s 0x2f - IL_004f: ldc.i4.s 0x0e - IL_0051: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_0056: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_005b: dup - IL_005c: ldc.i4.4 - IL_005d: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0062: ldc.i4.s 0x25 - IL_0064: ldc.i4.s 0x0f - IL_0066: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_006b: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0070: dup - IL_0071: ldc.i4.5 - IL_0072: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0077: ldc.i4.s 0x3c - IL_0079: ldc.i4.7 - IL_007a: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_007f: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0084: dup - IL_0085: ldc.i4.6 - IL_0086: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_008b: ldc.i4.s 0x3e - IL_008d: ldc.i4.8 - IL_008e: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_0093: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0098: dup - IL_0099: ldc.i4.7 - IL_009a: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_009f: ldc.i4.s 0x28 - IL_00a1: ldc.i4.s 0x10 - IL_00a3: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_00a8: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00ad: dup - IL_00ae: ldc.i4.8 - IL_00af: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00b4: ldc.i4.s 0x29 - IL_00b6: ldc.i4.s 0x11 - IL_00b8: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_00bd: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00c2: dup - IL_00c3: ldc.i4.s 0x09 - IL_00c5: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00ca: ldc.i4.s 0x7b - IL_00cc: ldc.i4.s 0x12 - IL_00ce: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_00d3: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00d8: dup - IL_00d9: ldc.i4.s 0x0a - IL_00db: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00e0: ldc.i4.s 0x7d - IL_00e2: ldc.i4.s 0x13 - IL_00e4: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_00e9: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00ee: dup - IL_00ef: ldc.i4.s 0x0b - IL_00f1: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_00f6: ldc.i4.s 0x21 - IL_00f8: ldc.i4.s 0x14 - IL_00fa: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_00ff: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0104: dup - IL_0105: ldc.i4.s 0x0c - IL_0107: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_010c: ldc.i4.s 0x24 - IL_010e: ldc.i4.s 0x17 - IL_0110: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_0115: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_011a: dup - IL_011b: ldc.i4.s 0x0d - IL_011d: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0122: ldc.i4.s 0x2c - IL_0124: ldc.i4.s 0x18 - IL_0126: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_012b: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0130: dup - IL_0131: ldc.i4.s 0x0e - IL_0133: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0138: ldc.i4.s 0x2e - IL_013a: ldc.i4.s 0x19 - IL_013c: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType::'.ctor'(char, valuetype NAnt.Core.ExpressionTokenizer/TokenType) - IL_0141: stobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0146: stsfld valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType[] NAnt.Core.ExpressionTokenizer::charToTokenType - IL_014b: ldc.i4 128 - IL_0150: newarr NAnt.Core.ExpressionTokenizer/TokenType - IL_0155: stsfld valuetype NAnt.Core.ExpressionTokenizer/TokenType[] NAnt.Core.ExpressionTokenizer::charIndexToTokenType - IL_015a: nop - IL_015b: ldc.i4.0 - IL_015c: stloc.0 - IL_015d: br IL_016f + class NAnt.Core.DataTypeBaseBuilder V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.DataTypeBaseBuilder + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0162: ldsfld valuetype NAnt.Core.ExpressionTokenizer/TokenType[] NAnt.Core.ExpressionTokenizer::charIndexToTokenType - IL_0167: ldloc.0 - IL_0168: ldc.i4.s 0x15 - IL_016a: stelem.i4 - IL_016b: ldloc.0 - IL_016c: ldc.i4.1 - IL_016d: add - IL_016e: stloc.0 - IL_016f: ldloc.0 - IL_0170: ldc.i4 128 - IL_0175: blt IL_0162 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method DataTypeBaseBuilderCollection::get_Item - IL_017a: nop - IL_017b: ldsfld valuetype NAnt.Core.ExpressionTokenizer/CharToTokenType[] NAnt.Core.ExpressionTokenizer::charToTokenType - IL_0180: stloc.2 - IL_0181: ldc.i4.0 - IL_0182: stloc.3 - IL_0183: br IL_01ad + // method line 1997 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.DataTypeBaseBuilder 'value') cil managed + { + // Method begins at RVA 0x26126 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method DataTypeBaseBuilderCollection::set_Item - IL_0188: ldloc.2 - IL_0189: ldloc.3 - IL_018a: ldelema NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_018f: ldobj NAnt.Core.ExpressionTokenizer/CharToTokenType - IL_0194: stloc.1 - IL_0195: ldsfld valuetype NAnt.Core.ExpressionTokenizer/TokenType[] NAnt.Core.ExpressionTokenizer::charIndexToTokenType - IL_019a: ldloca.s 1 - IL_019c: ldfld char NAnt.Core.ExpressionTokenizer/CharToTokenType::ch - IL_01a1: ldloca.s 1 - IL_01a3: ldfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer/CharToTokenType::tokenType - IL_01a8: stelem.i4 - IL_01a9: ldloc.3 - IL_01aa: ldc.i4.1 - IL_01ab: add - IL_01ac: stloc.3 - IL_01ad: ldloc.3 - IL_01ae: ldloc.2 - IL_01af: ldlen - IL_01b0: conv.i4 - IL_01b1: blt IL_0188 + // method line 1998 + .method public hidebysig specialname + instance default class NAnt.Core.DataTypeBaseBuilder get_Item (string dataTypeName) cil managed + { + // Method begins at RVA 0x26138 + // Code size 111 (0x6f) + .maxstack 2 + .locals init ( + class NAnt.Core.DataTypeBaseBuilder V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.DataTypeBaseBuilder V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 + + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 + + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.Core.DataTypeBaseBuilder + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_DataTypeName() + IL_002e: callvirt instance bool string::Equals(string) + IL_0033: brfalse IL_0040 + + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d + + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a + + IL_004c: leave IL_0065 + + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 + + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d + + IL_006d: ldloc.2 + IL_006e: ret + } // end of method DataTypeBaseBuilderCollection::get_Item + + // method line 1999 + .method public hidebysig + instance default int32 Add (class NAnt.Core.DataTypeBaseBuilder item) cil managed + { + // Method begins at RVA 0x261c4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseBuilderCollection::Add + + // method line 2000 + .method public hidebysig + instance default void AddRange (class NAnt.Core.DataTypeBaseBuilder[] items) cil managed + { + // Method begins at RVA 0x261e8 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.Core.DataTypeBaseBuilderCollection::Add(class NAnt.Core.DataTypeBaseBuilder) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 + + IL_0021: ret + } // end of method DataTypeBaseBuilderCollection::AddRange + + // method line 2001 + .method public hidebysig + instance default void AddRange (class NAnt.Core.DataTypeBaseBuilderCollection items) cil managed + { + // Method begins at RVA 0x26218 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.DataTypeBaseBuilderCollection::Add(class NAnt.Core.DataTypeBaseBuilder) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - IL_01b6: ret - } // end of method ExpressionTokenizer::.cctor + IL_0028: ret + } // end of method DataTypeBaseBuilderCollection::AddRange - // method line 1936 - .method public hidebysig specialname - instance default bool get_IgnoreWhitespace () cil managed + // method line 2002 + .method public hidebysig + instance default bool Contains (class NAnt.Core.DataTypeBaseBuilder item) cil managed { - // Method begins at RVA 0x27618 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x26250 + // Code size 21 (0x15) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.ExpressionTokenizer::_ignoreWhiteSpace - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionTokenizer::get_IgnoreWhitespace + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseBuilderCollection::Contains - // method line 1937 - .method public hidebysig specialname - instance default void set_IgnoreWhitespace (bool 'value') cil managed + // method line 2003 + .method public hidebysig + instance default bool Contains (string taskName) cil managed { - // Method begins at RVA 0x27633 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x26274 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.ExpressionTokenizer::_ignoreWhiteSpace - IL_0008: ret - } // end of method ExpressionTokenizer::set_IgnoreWhitespace + IL_0003: call instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - // method line 1938 - .method public hidebysig specialname - instance default bool get_SingleCharacterMode () cil managed + IL_0014: ldloc.0 + IL_0015: ret + } // end of method DataTypeBaseBuilderCollection::Contains + + // method line 2004 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.DataTypeBaseBuilder[] 'array', int32 index) cil managed { - // Method begins at RVA 0x27640 + // Method begins at RVA 0x26296 // Code size 15 (0xf) - .maxstack 1 + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method DataTypeBaseBuilderCollection::CopyTo + + // method line 2005 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.DataTypeBaseBuilder item) cil managed + { + // Method begins at RVA 0x262a8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.ExpressionTokenizer::_singleCharacterMode - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionTokenizer::get_SingleCharacterMode + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseBuilderCollection::IndexOf - // method line 1939 - .method public hidebysig specialname - instance default void set_SingleCharacterMode (bool 'value') cil managed + // method line 2006 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.DataTypeBaseBuilder item) cil managed { - // Method begins at RVA 0x2765b - // Code size 9 (0x9) + // Method begins at RVA 0x262c9 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.ExpressionTokenizer::_singleCharacterMode - IL_0008: ret - } // end of method ExpressionTokenizer::set_SingleCharacterMode + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method DataTypeBaseBuilderCollection::Insert - // method line 1940 - .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/TokenType get_CurrentToken () cil managed + // method line 2007 + .method public hidebysig + instance default class NAnt.Core.DataTypeBaseBuilderEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x27668 + // Method begins at RVA 0x262dc // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/TokenType V_0) + class NAnt.Core.DataTypeBaseBuilderEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType + IL_0002: newobj instance void class NAnt.Core.DataTypeBaseBuilderEnumerator::'.ctor'(class NAnt.Core.DataTypeBaseBuilderCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExpressionTokenizer::get_CurrentToken + } // end of method DataTypeBaseBuilderCollection::GetEnumerator - // method line 1941 - .method public hidebysig specialname - instance default string get_TokenText () cil managed + // method line 2008 + .method public hidebysig + instance default void Remove (class NAnt.Core.DataTypeBaseBuilder item) cil managed { - // Method begins at RVA 0x27684 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x262f7 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method DataTypeBaseBuilderCollection::Remove - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionTokenizer::get_TokenText + .property instance class NAnt.Core.DataTypeBaseBuilder Item (int32) + { + .get instance default class NAnt.Core.DataTypeBaseBuilder NAnt.Core.DataTypeBaseBuilderCollection::get_Item (int32 index) + .set instance default void NAnt.Core.DataTypeBaseBuilderCollection::set_Item (int32 index, class NAnt.Core.DataTypeBaseBuilder 'value') + } + .property instance class NAnt.Core.DataTypeBaseBuilder Item (string) + { + .get instance default class NAnt.Core.DataTypeBaseBuilder NAnt.Core.DataTypeBaseBuilderCollection::get_Item (string dataTypeName) + } + } // end of class NAnt.Core.DataTypeBaseBuilderCollection +} - // method line 1942 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit DataTypeBaseBuilderEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 2009 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilderCollection arguments) cil managed + { + // Method begins at RVA 0x26308 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator + IL_0015: ret + } // end of method DataTypeBaseBuilderEnumerator::.ctor + + // method line 2010 .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_CurrentPosition () cil managed + instance default class NAnt.Core.DataTypeBaseBuilder get_Current () cil managed { - // Method begins at RVA 0x276a0 - // Code size 15 (0xf) + // Method begins at RVA 0x2632c + // Code size 25 (0x19) .maxstack 1 .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0) + class NAnt.Core.DataTypeBaseBuilder V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.ExpressionTokenizer::_tokenStartPosition - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.Core.DataTypeBaseBuilder + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionTokenizer::get_CurrentPosition + IL_0017: ldloc.0 + IL_0018: ret + } // end of method DataTypeBaseBuilderEnumerator::get_Current - // method line 1943 - .method public hidebysig - instance default void InitTokenizer (string s) cil managed + // method line 2011 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x276bb - // Code size 29 (0x1d) - .maxstack 8 + // Method begins at RVA 0x26354 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.ExpressionTokenizer::_text - IL_0008: ldarg.0 - IL_0009: ldc.i4.0 - IL_000a: stfld int32 NAnt.Core.ExpressionTokenizer::_position - IL_000f: ldarg.0 - IL_0010: ldc.i4.0 - IL_0011: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0016: ldarg.0 - IL_0017: call instance void class NAnt.Core.ExpressionTokenizer::GetNextToken() - IL_001c: ret - } // end of method ExpressionTokenizer::InitTokenizer + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 1944 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.get_Current + + // method line 2012 .method public hidebysig - instance default void GetNextToken () cil managed + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x276dc - // Code size 1053 (0x41d) - .maxstack 3 + // Method begins at RVA 0x26374 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - int32 V_0, - char V_1, - class [mscorlib]System.Text.StringBuilder V_2, - string V_3, - string V_4, - class [mscorlib]System.Text.StringBuilder V_5, - char V_6, - valuetype NAnt.Core.ExpressionTokenizer/Position V_7) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0007: ldc.i4.1 - IL_0008: bne.un IL_001f - - IL_000d: ldstr "String_CannotReadPastStream" - IL_0012: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0017: ldc.i4.m1 - IL_0018: ldc.i4.m1 - IL_0019: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32, int32) - IL_001e: throw - IL_001f: ldarg.0 - IL_0020: call instance bool class NAnt.Core.ExpressionTokenizer::get_IgnoreWhitespace() - IL_0025: brfalse IL_0030 - - IL_002a: ldarg.0 - IL_002b: call instance void class NAnt.Core.ExpressionTokenizer::SkipWhitespace() - IL_0030: ldarg.0 - IL_0031: ldarg.0 - IL_0032: ldfld int32 NAnt.Core.ExpressionTokenizer::_position - IL_0037: newobj instance void valuetype NAnt.Core.ExpressionTokenizer/Position::'.ctor'(int32) - IL_003c: stfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.ExpressionTokenizer::_tokenStartPosition - IL_0041: ldarg.0 - IL_0042: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() - IL_0047: stloc.0 - IL_0048: ldloc.0 - IL_0049: ldc.i4.m1 - IL_004a: bne.un IL_005c - - IL_004f: nop - IL_0050: ldarg.0 - IL_0051: ldc.i4.1 - IL_0052: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0057: br IL_041c - - IL_005c: ldloc.0 - IL_005d: conv.u2 - IL_005e: stloc.1 - IL_005f: ldarg.0 - IL_0060: call instance bool class NAnt.Core.ExpressionTokenizer::get_SingleCharacterMode() - IL_0065: brtrue IL_03d5 - - IL_006a: nop - IL_006b: ldarg.0 - IL_006c: call instance bool class NAnt.Core.ExpressionTokenizer::get_IgnoreWhitespace() - IL_0071: brtrue IL_00d7 - - IL_0076: ldloc.1 - IL_0077: call bool char::IsWhiteSpace(char) - IL_007c: brfalse IL_00d7 - - IL_0081: nop - IL_0082: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0087: stloc.2 - IL_0088: br IL_00b0 - - IL_008d: nop - IL_008e: ldloc.0 - IL_008f: conv.u2 - IL_0090: call bool char::IsWhiteSpace(char) - IL_0095: brtrue IL_009f - - IL_009a: br IL_00be - - IL_009f: ldloc.2 - IL_00a0: ldloc.0 - IL_00a1: conv.u2 - IL_00a2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00a7: pop - IL_00a8: ldarg.0 - IL_00a9: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_00ae: pop - IL_00af: nop - IL_00b0: ldarg.0 - IL_00b1: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() - IL_00b6: dup - IL_00b7: stloc.0 - IL_00b8: ldc.i4.m1 - IL_00b9: bne.un IL_008d - - IL_00be: ldarg.0 - IL_00bf: ldc.i4.s 0x16 - IL_00c1: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_00c6: ldarg.0 - IL_00c7: ldloc.2 - IL_00c8: callvirt instance string object::ToString() - IL_00cd: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_00d2: br IL_041c - - IL_00d7: ldloc.1 - IL_00d8: call bool char::IsDigit(char) - IL_00dd: brfalse IL_0153 - - IL_00e2: nop - IL_00e3: ldarg.0 - IL_00e4: ldc.i4.2 - IL_00e5: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_00ea: ldsfld string [mscorlib]System.String::Empty - IL_00ef: stloc.3 - IL_00f0: ldloc.3 - IL_00f1: ldloc.1 - IL_00f2: box [mscorlib]System.Char - IL_00f7: call string string::Concat(object, object) - IL_00fc: stloc.3 - IL_00fd: ldarg.0 - IL_00fe: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0103: pop - IL_0104: br IL_0139 - - IL_0109: nop - IL_010a: ldloc.0 - IL_010b: conv.u2 - IL_010c: stloc.1 - IL_010d: ldloc.1 - IL_010e: call bool char::IsDigit(char) - IL_0113: brfalse IL_0132 - - IL_0118: nop - IL_0119: ldloc.3 - IL_011a: ldarg.0 - IL_011b: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0120: conv.u2 - IL_0121: box [mscorlib]System.Char - IL_0126: call string string::Concat(object, object) - IL_012b: stloc.3 - IL_012c: nop - IL_012d: br IL_0138 - - IL_0132: nop - IL_0133: br IL_0147 - - IL_0138: nop - IL_0139: ldarg.0 - IL_013a: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() - IL_013f: dup - IL_0140: stloc.0 - IL_0141: ldc.i4.m1 - IL_0142: bne.un IL_0109 - - IL_0147: ldarg.0 - IL_0148: ldloc.3 - IL_0149: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_014e: br IL_041c - - IL_0153: ldloc.1 - IL_0154: ldc.i4.s 0x27 - IL_0156: bne.un IL_01cf - - IL_015b: nop - IL_015c: ldarg.0 - IL_015d: ldc.i4.3 - IL_015e: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0163: ldstr "" - IL_0168: stloc.s 4 - IL_016a: ldarg.0 - IL_016b: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0170: pop - IL_0171: br IL_01b4 - - IL_0176: nop - IL_0177: ldloc.0 - IL_0178: conv.u2 - IL_0179: stloc.1 - IL_017a: ldloc.1 - IL_017b: ldc.i4.s 0x27 - IL_017d: bne.un IL_01a4 - - IL_0182: nop - IL_0183: ldarg.0 - IL_0184: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() - IL_0189: ldc.i4.s 0x27 - IL_018b: bne.un IL_019e - - IL_0190: nop - IL_0191: ldarg.0 - IL_0192: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0197: pop - IL_0198: nop - IL_0199: br IL_01a3 - - IL_019e: br IL_01c2 - - IL_01a3: nop - IL_01a4: ldloc.s 4 - IL_01a6: ldloc.1 - IL_01a7: box [mscorlib]System.Char - IL_01ac: call string string::Concat(object, object) - IL_01b1: stloc.s 4 - IL_01b3: nop - IL_01b4: ldarg.0 - IL_01b5: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_01ba: dup - IL_01bb: stloc.0 - IL_01bc: ldc.i4.m1 - IL_01bd: bne.un IL_0176 - - IL_01c2: ldarg.0 - IL_01c3: ldloc.s 4 - IL_01c5: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_01ca: br IL_041c + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01cf: ldloc.1 - IL_01d0: ldc.i4.s 0x5f - IL_01d2: beq IL_01e2 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseBuilderEnumerator::MoveNext - IL_01d7: ldloc.1 - IL_01d8: call bool char::IsLetter(char) - IL_01dd: brfalse IL_02d3 + // method line 2013 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x26394 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_01e2: nop - IL_01e3: ldarg.0 - IL_01e4: ldc.i4.4 - IL_01e5: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_01ea: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_01ef: stloc.s 5 - IL_01f1: ldloc.s 5 - IL_01f3: ldloc.1 - IL_01f4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_01f9: pop - IL_01fa: ldarg.0 - IL_01fb: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0200: pop - IL_0201: br IL_025a + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.MoveNext - IL_0206: nop - IL_0207: ldloc.0 - IL_0208: conv.u2 - IL_0209: stloc.s 6 - IL_020b: ldloc.s 6 - IL_020d: ldc.i4.s 0x5f - IL_020f: beq IL_023b + // method line 2014 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x263b4 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method DataTypeBaseBuilderEnumerator::Reset - IL_0214: ldloc.s 6 - IL_0216: ldc.i4.s 0x2d - IL_0218: beq IL_023b + // method line 2015 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x263c2 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.Reset - IL_021d: ldloc.s 6 - IL_021f: ldc.i4.s 0x2e - IL_0221: beq IL_023b + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.Core.DataTypeBaseBuilder Current () + { + .get instance default class NAnt.Core.DataTypeBaseBuilder NAnt.Core.DataTypeBaseBuilderEnumerator::get_Current () + } + } // end of class NAnt.Core.DataTypeBaseBuilderEnumerator +} - IL_0226: ldloc.s 6 - IL_0228: ldc.i4.s 0x5c - IL_022a: beq IL_023b +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit XmlLogger + extends [mscorlib]System.Object + implements NAnt.Core.IBuildLogger, [mscorlib]System.Runtime.Serialization.ISerializable, NAnt.Core.IBuildListener { + .field private initonly class NAnt.Core.Util.StopWatchStack _stopWatchStack + .field private class [mscorlib]System.IO.TextWriter _outputWriter + .field private class [mscorlib]System.IO.StringWriter _buffer + .field private valuetype NAnt.Core.Level _threshold + .field private notserialized class [System.Xml]System.Xml.XmlTextWriter _xmlWriter + .field private class [mscorlib]System.Collections.Stack _projectStack - IL_022f: ldloc.s 6 - IL_0231: call bool char::IsLetterOrDigit(char) - IL_0236: brfalse IL_0253 + // method line 2016 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x263d0 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Util.DateTimeProvider::'.ctor'() + IL_0006: newobj instance void class NAnt.Core.Util.StopWatchStack::'.ctor'(class NAnt.Core.Util.DateTimeProvider) + IL_000b: call instance void class NAnt.Core.XmlLogger::'.ctor'(class NAnt.Core.Util.StopWatchStack) + IL_0010: nop + IL_0011: ret + } // end of method XmlLogger::.ctor - IL_023b: nop - IL_023c: ldarg.0 - IL_023d: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0242: pop - IL_0243: ldloc.s 5 - IL_0245: ldloc.s 6 - IL_0247: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_024c: pop - IL_024d: nop - IL_024e: br IL_0259 + // method line 2017 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.StopWatchStack stopWatchStack) cil managed + { + // Method begins at RVA 0x263e4 + // Code size 65 (0x41) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() + IL_0006: stfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_000b: ldarg.0 + IL_000c: ldc.i4 3000 + IL_0011: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold + IL_0016: ldarg.0 + IL_0017: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_001c: stfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack + IL_0021: ldarg.0 + IL_0022: call instance void object::'.ctor'() + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldarg.0 + IL_002a: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_002f: newobj instance void class [System.Xml]System.Xml.XmlTextWriter::'.ctor'(class [mscorlib]System.IO.TextWriter) + IL_0034: stfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0039: ldarg.0 + IL_003a: ldarg.1 + IL_003b: stfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack + IL_0040: ret + } // end of method XmlLogger::.ctor - IL_0253: nop - IL_0254: br IL_0268 + // method line 2018 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + { + // Method begins at RVA 0x26434 + // Code size 186 (0xba) + .maxstack 4 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() + IL_0006: stfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_000b: ldarg.0 + IL_000c: ldc.i4 3000 + IL_0011: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold + IL_0016: ldarg.0 + IL_0017: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_001c: stfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack + IL_0021: ldarg.0 + IL_0022: call instance void object::'.ctor'() + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: ldstr "OutputWriter" + IL_002f: ldtoken [mscorlib]System.IO.TextWriter + IL_0034: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0039: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_003e: isinst [mscorlib]System.IO.TextWriter + IL_0043: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter + IL_0048: ldarg.0 + IL_0049: ldarg.1 + IL_004a: ldstr "Buffer" + IL_004f: ldtoken [mscorlib]System.IO.StringWriter + IL_0054: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0059: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_005e: isinst [mscorlib]System.IO.StringWriter + IL_0063: stfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_0068: ldarg.0 + IL_0069: ldarg.1 + IL_006a: ldstr "Threshold" + IL_006f: ldtoken NAnt.Core.Level + IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0079: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_007e: unbox.any NAnt.Core.Level + IL_0083: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold + IL_0088: ldarg.0 + IL_0089: ldarg.0 + IL_008a: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_008f: newobj instance void class [System.Xml]System.Xml.XmlTextWriter::'.ctor'(class [mscorlib]System.IO.TextWriter) + IL_0094: stfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0099: ldarg.0 + IL_009a: ldarg.1 + IL_009b: ldstr "ProjectStack" + IL_00a0: ldtoken [mscorlib]System.Collections.Stack + IL_00a5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00aa: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) + IL_00af: castclass [mscorlib]System.Collections.Stack + IL_00b4: stfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack + IL_00b9: ret + } // end of method XmlLogger::.ctor - IL_0259: nop - IL_025a: ldarg.0 - IL_025b: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() - IL_0260: dup - IL_0261: stloc.0 - IL_0262: ldc.i4.m1 - IL_0263: bne.un IL_0206 + // method line 2019 + .method public final virtual hidebysig newslot + instance default void GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + { + // Method begins at RVA 0x264fc + // Code size 75 (0x4b) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "OutputWriter" + IL_0007: ldarg.0 + IL_0008: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter + IL_000d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0012: ldarg.1 + IL_0013: ldstr "Buffer" + IL_0018: ldarg.0 + IL_0019: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_001e: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0023: ldarg.1 + IL_0024: ldstr "Threshold" + IL_0029: ldarg.0 + IL_002a: ldfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold + IL_002f: box NAnt.Core.Level + IL_0034: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_0039: ldarg.1 + IL_003a: ldstr "ProjectStack" + IL_003f: ldarg.0 + IL_0040: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack + IL_0045: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) + IL_004a: ret + } // end of method XmlLogger::GetObjectData - IL_0268: ldarg.0 - IL_0269: ldloc.s 5 - IL_026b: callvirt instance string object::ToString() - IL_0270: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0275: ldarg.0 - IL_0276: ldfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_027b: ldstr "-" - IL_0280: callvirt instance bool string::EndsWith(string) - IL_0285: brtrue IL_029f + // method line 2020 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x26554 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_0007: callvirt instance string object::ToString() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_028a: ldarg.0 - IL_028b: ldfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0290: ldstr "." - IL_0295: callvirt instance bool string::EndsWith(string) - IL_029a: brfalse IL_02ce + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XmlLogger::ToString - IL_029f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02a4: ldstr "NA1182" - IL_02a9: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02ae: ldarg.0 - IL_02af: ldfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_02b4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_02b9: ldarg.0 - IL_02ba: call instance valuetype NAnt.Core.ExpressionTokenizer/Position class NAnt.Core.ExpressionTokenizer::get_CurrentPosition() - IL_02bf: stloc.s 7 - IL_02c1: ldloca.s 7 - IL_02c3: call instance int32 valuetype NAnt.Core.ExpressionTokenizer/Position::get_CharIndex() - IL_02c8: newobj instance void class NAnt.Core.ExpressionParseException::'.ctor'(string, int32) - IL_02cd: throw - IL_02ce: br IL_041c + // method line 2021 + .method public final virtual hidebysig newslot + instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x26574 + // Code size 102 (0x66) + .maxstack 3 + .locals init ( + object V_0, + bool V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: stloc.0 + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + .try { // 0 + IL_000a: ldloc.0 + IL_000b: ldloca.s 1 + IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack + IL_0019: callvirt instance void class NAnt.Core.Util.StopWatchStack::PushStart() + IL_001e: ldarg.0 + IL_001f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0024: ldstr "buildresults" + IL_0029: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_002e: ldarg.0 + IL_002f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0034: ldstr "project" + IL_0039: ldarg.2 + IL_003a: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_003f: callvirt instance string class NAnt.Core.Project::get_ProjectName() + IL_0044: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0049: nop + IL_004a: leave IL_0059 - IL_02d3: ldarg.0 - IL_02d4: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_02d9: pop - IL_02da: ldarg.0 - IL_02db: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() - IL_02e0: stloc.0 - IL_02e1: ldloc.1 - IL_02e2: ldc.i4.s 0x3a - IL_02e4: bne.un IL_0311 + } // end .try 0 + finally { // 0 + IL_004f: ldloc.1 + IL_0050: brfalse.s IL_0058 - IL_02e9: ldloc.0 - IL_02ea: ldc.i4.s 0x3a - IL_02ec: bne.un IL_0311 + IL_0052: ldloc.0 + IL_0053: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0058: endfinally + } // end handler 0 + IL_0059: ldarg.0 + IL_005a: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack + IL_005f: ldnull + IL_0060: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_0065: ret + } // end of method XmlLogger::BuildStarted - IL_02f1: nop - IL_02f2: ldarg.0 - IL_02f3: ldc.i4.s 0x1a - IL_02f5: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_02fa: ldarg.0 - IL_02fb: ldstr "::" - IL_0300: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0305: ldarg.0 - IL_0306: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_030b: pop - IL_030c: br IL_041c + // method line 2022 + .method public final virtual hidebysig newslot + instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x265f8 + // Code size 332 (0x14c) + .maxstack 4 + .locals init ( + object V_0, + bool V_1, + string V_2, + class [mscorlib]System.IO.StreamWriter V_3, + class [mscorlib]System.Exception V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: stloc.0 + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + .try { // 0 + IL_000a: ldloc.0 + IL_000b: ldloca.s 1 + IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0012: nop + IL_0013: ldarg.2 + IL_0014: callvirt instance class [mscorlib]System.Exception class NAnt.Core.BuildEventArgs::get_Exception() + IL_0019: brfalse IL_0047 - IL_0311: ldloc.1 - IL_0312: ldc.i4.s 0x21 - IL_0314: bne.un IL_0340 + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0025: ldstr "failure" + IL_002a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_002f: ldarg.0 + IL_0030: ldarg.2 + IL_0031: callvirt instance class [mscorlib]System.Exception class NAnt.Core.BuildEventArgs::get_Exception() + IL_0036: call instance void class NAnt.Core.XmlLogger::WriteErrorNode(class [mscorlib]System.Exception) + IL_003b: ldarg.0 + IL_003c: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0041: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_0046: nop + IL_0047: ldarg.0 + IL_0048: call instance void class NAnt.Core.XmlLogger::WriteDuration() + IL_004d: ldarg.0 + IL_004e: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0053: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_0058: ldarg.0 + IL_0059: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_005e: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_0063: nop + IL_0064: leave IL_0073 - IL_0319: ldloc.0 - IL_031a: ldc.i4.s 0x3d - IL_031c: bne.un IL_0340 + } // end .try 0 + finally { // 0 + IL_0069: ldloc.1 + IL_006a: brfalse.s IL_0072 - IL_0321: nop - IL_0322: ldarg.0 - IL_0323: ldc.i4.6 - IL_0324: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0329: ldarg.0 - IL_032a: ldstr "!=" - IL_032f: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0334: ldarg.0 - IL_0335: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_033a: pop - IL_033b: br IL_041c + IL_006c: ldloc.0 + IL_006d: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0072: endfinally + } // end handler 0 + IL_0073: ldarg.0 + IL_0074: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack + IL_0079: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_007e: pop + IL_007f: ldarg.0 + IL_0080: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack + IL_0085: callvirt instance int32 class [mscorlib]System.Collections.Stack::get_Count() + IL_008a: brfalse IL_0095 - IL_0340: ldloc.1 - IL_0341: ldc.i4.s 0x3d - IL_0343: bne.un IL_036f + IL_008f: nop + IL_0090: br IL_014b - IL_0348: ldloc.0 - IL_0349: ldc.i4.s 0x3d - IL_034b: bne.un IL_036f + .try { // 2 + IL_0095: nop + IL_0096: ldarg.0 + IL_0097: call instance class [mscorlib]System.IO.TextWriter class NAnt.Core.XmlLogger::get_OutputWriter() + IL_009c: brfalse IL_00c9 - IL_0350: nop - IL_0351: ldarg.0 - IL_0352: ldc.i4.5 - IL_0353: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0358: ldarg.0 - IL_0359: ldstr "==" - IL_035e: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0363: ldarg.0 - IL_0364: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0369: pop - IL_036a: br IL_041c + IL_00a1: nop + IL_00a2: ldarg.0 + IL_00a3: call instance class [mscorlib]System.IO.TextWriter class NAnt.Core.XmlLogger::get_OutputWriter() + IL_00a8: ldarg.0 + IL_00a9: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_00ae: callvirt instance string object::ToString() + IL_00b3: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_00b8: ldarg.0 + IL_00b9: call instance class [mscorlib]System.IO.TextWriter class NAnt.Core.XmlLogger::get_OutputWriter() + IL_00be: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_00c3: nop + IL_00c4: br IL_0135 - IL_036f: ldloc.1 - IL_0370: ldc.i4.s 0x3c - IL_0372: bne.un IL_039f + IL_00c9: nop + IL_00ca: ldarg.2 + IL_00cb: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_00d0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00d5: ldstr "XmlLogger.file" + IL_00da: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_00df: stloc.2 + IL_00e0: ldloc.2 + IL_00e1: brtrue IL_00ee - IL_0377: ldloc.0 - IL_0378: ldc.i4.s 0x3d - IL_037a: bne.un IL_039f + IL_00e6: nop + IL_00e7: ldstr "log.xml" + IL_00ec: stloc.2 + IL_00ed: nop + IL_00ee: ldarg.2 + IL_00ef: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() + IL_00f4: ldloc.2 + IL_00f5: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_00fa: stloc.2 + IL_00fb: ldloc.2 + IL_00fc: ldc.i4.2 + IL_00fd: ldc.i4.2 + IL_00fe: ldc.i4.1 + IL_00ff: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) + IL_0104: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() + IL_0109: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) + IL_010e: stloc.3 + .try { // 1 + IL_010f: nop + IL_0110: ldloc.3 + IL_0111: ldarg.0 + IL_0112: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer + IL_0117: callvirt instance string object::ToString() + IL_011c: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_0121: nop + IL_0122: leave IL_0134 - IL_037f: nop - IL_0380: ldarg.0 - IL_0381: ldc.i4.s 0x09 - IL_0383: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0388: ldarg.0 - IL_0389: ldstr "<=" - IL_038e: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0393: ldarg.0 - IL_0394: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_0399: pop - IL_039a: br IL_041c + } // end .try 1 + finally { // 1 + IL_0127: ldloc.3 + IL_0128: brfalse IL_0133 - IL_039f: ldloc.1 - IL_03a0: ldc.i4.s 0x3e - IL_03a2: bne.un IL_03cf + IL_012d: ldloc.3 + IL_012e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0133: endfinally + } // end handler 1 + IL_0134: nop + IL_0135: nop + IL_0136: leave IL_014b - IL_03a7: ldloc.0 - IL_03a8: ldc.i4.s 0x3d - IL_03aa: bne.un IL_03cf + } // end .try 2 + catch class [mscorlib]System.Exception { // 2 + IL_013b: stloc.s 4 + IL_013d: nop + IL_013e: ldstr "Unable to write to log file." + IL_0143: ldloc.s 4 + IL_0145: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) + IL_014a: throw + } // end handler 2 + IL_014b: ret + } // end of method XmlLogger::BuildFinished - IL_03af: nop - IL_03b0: ldarg.0 - IL_03b1: ldc.i4.s 0x0a - IL_03b3: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_03b8: ldarg.0 - IL_03b9: ldstr ">=" - IL_03be: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_03c3: ldarg.0 - IL_03c4: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_03c9: pop - IL_03ca: br IL_041c + // method line 2023 + .method public final virtual hidebysig newslot + instance default void TargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x26778 + // Code size 91 (0x5b) + .maxstack 2 + .locals init ( + object V_0, + bool V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: stloc.0 + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + .try { // 0 + IL_000a: ldloc.0 + IL_000b: ldloca.s 1 + IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack + IL_0019: callvirt instance void class NAnt.Core.Util.StopWatchStack::PushStart() + IL_001e: ldarg.0 + IL_001f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0024: ldstr "target" + IL_0029: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_002e: ldarg.0 + IL_002f: ldarg.2 + IL_0030: callvirt instance class NAnt.Core.Target class NAnt.Core.BuildEventArgs::get_Target() + IL_0035: callvirt instance string class NAnt.Core.Target::get_Name() + IL_003a: call instance void class NAnt.Core.XmlLogger::WriteNameAttribute(string) + IL_003f: ldarg.0 + IL_0040: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_004a: nop + IL_004b: leave IL_005a - IL_03cf: nop - IL_03d0: br IL_03de + } // end .try 0 + finally { // 0 + IL_0050: ldloc.1 + IL_0051: brfalse.s IL_0059 - IL_03d5: nop - IL_03d6: ldarg.0 - IL_03d7: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_03dc: pop - IL_03dd: nop - IL_03de: ldarg.0 - IL_03df: ldloc.1 - IL_03e0: ldc.i4.1 - IL_03e1: newobj instance void string::'.ctor'(char, int32) - IL_03e6: stfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_03eb: ldloc.1 - IL_03ec: ldc.i4.s 0x20 - IL_03ee: blt IL_0412 + IL_0053: ldloc.0 + IL_0054: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0059: endfinally + } // end handler 0 + IL_005a: ret + } // end of method XmlLogger::TargetStarted - IL_03f3: ldloc.1 - IL_03f4: ldc.i4 128 - IL_03f9: bge IL_0412 + // method line 2024 + .method public final virtual hidebysig newslot + instance default void TargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x267f0 + // Code size 64 (0x40) + .maxstack 2 + .locals init ( + object V_0, + bool V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: stloc.0 + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + .try { // 0 + IL_000a: ldloc.0 + IL_000b: ldloca.s 1 + IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance void class NAnt.Core.XmlLogger::WriteDuration() + IL_0019: ldarg.0 + IL_001a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_001f: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_0024: ldarg.0 + IL_0025: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_002a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_002f: nop + IL_0030: leave IL_003f - IL_03fe: nop - IL_03ff: ldarg.0 - IL_0400: ldsfld valuetype NAnt.Core.ExpressionTokenizer/TokenType[] NAnt.Core.ExpressionTokenizer::charIndexToTokenType - IL_0405: ldloc.1 - IL_0406: ldelem.i4 - IL_0407: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_040c: nop - IL_040d: br IL_041c + } // end .try 0 + finally { // 0 + IL_0035: ldloc.1 + IL_0036: brfalse.s IL_003e - IL_0412: nop - IL_0413: ldarg.0 - IL_0414: ldc.i4.s 0x15 - IL_0416: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_041b: nop - IL_041c: ret - } // end of method ExpressionTokenizer::GetNextToken + IL_0038: ldloc.0 + IL_0039: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_003e: endfinally + } // end handler 0 + IL_003f: ret + } // end of method XmlLogger::TargetFinished - // method line 1945 - .method public hidebysig - instance default bool IsKeyword (string k) cil managed + // method line 2025 + .method public final virtual hidebysig newslot + instance default void TaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x27b08 - // Code size 36 (0x24) + // Method begins at RVA 0x2684c + // Code size 91 (0x5b) .maxstack 2 .locals init ( - bool V_0) + object V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType - IL_0007: ldc.i4.4 - IL_0008: bne.un IL_001b - - IL_000d: ldarg.0 - IL_000e: ldfld string NAnt.Core.ExpressionTokenizer::_tokenText - IL_0013: ldarg.1 - IL_0014: call bool string::op_Equality(string, string) - IL_0019: br.s IL_001c + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: stloc.0 + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + .try { // 0 + IL_000a: ldloc.0 + IL_000b: ldloca.s 1 + IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack + IL_0019: callvirt instance void class NAnt.Core.Util.StopWatchStack::PushStart() + IL_001e: ldarg.0 + IL_001f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0024: ldstr "task" + IL_0029: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_002e: ldarg.0 + IL_002f: ldarg.2 + IL_0030: callvirt instance class NAnt.Core.Task class NAnt.Core.BuildEventArgs::get_Task() + IL_0035: callvirt instance string class NAnt.Core.Element::get_Name() + IL_003a: call instance void class NAnt.Core.XmlLogger::WriteNameAttribute(string) + IL_003f: ldarg.0 + IL_0040: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_004a: nop + IL_004b: leave IL_005a - IL_001b: ldc.i4.0 - IL_001c: stloc.0 - IL_001d: br IL_0022 + } // end .try 0 + finally { // 0 + IL_0050: ldloc.1 + IL_0051: brfalse.s IL_0059 - IL_0022: ldloc.0 - IL_0023: ret - } // end of method ExpressionTokenizer::IsKeyword + IL_0053: ldloc.0 + IL_0054: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0059: endfinally + } // end handler 0 + IL_005a: ret + } // end of method XmlLogger::TaskStarted - // method line 1946 - .method private hidebysig - instance default int32 ReadChar () cil managed + // method line 2026 + .method public final virtual hidebysig newslot + instance default void TaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x27b38 - // Code size 66 (0x42) - .maxstack 4 + // Method begins at RVA 0x268c4 + // Code size 64 (0x40) + .maxstack 2 .locals init ( - int32 V_0, - int32 V_1) + object V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.ExpressionTokenizer::_position - IL_0007: ldarg.0 - IL_0008: ldfld string NAnt.Core.ExpressionTokenizer::_text - IL_000d: callvirt instance int32 string::get_Length() - IL_0012: bge IL_0039 - - IL_0017: ldarg.0 - IL_0018: ldfld string NAnt.Core.ExpressionTokenizer::_text - IL_001d: ldarg.0 - IL_001e: dup - IL_001f: ldfld int32 NAnt.Core.ExpressionTokenizer::_position - IL_0024: dup - IL_0025: stloc.0 - IL_0026: ldc.i4.1 - IL_0027: add - IL_0028: stfld int32 NAnt.Core.ExpressionTokenizer::_position - IL_002d: ldloc.0 - IL_002e: callvirt instance char string::get_Chars(int32) - IL_0033: stloc.1 - IL_0034: br IL_0040 + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: stloc.0 + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + .try { // 0 + IL_000a: ldloc.0 + IL_000b: ldloca.s 1 + IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance void class NAnt.Core.XmlLogger::WriteDuration() + IL_0019: ldarg.0 + IL_001a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_001f: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_0024: ldarg.0 + IL_0025: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_002a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_002f: nop + IL_0030: leave IL_003f - IL_0039: ldc.i4.m1 - IL_003a: stloc.1 - IL_003b: br IL_0040 + } // end .try 0 + finally { // 0 + IL_0035: ldloc.1 + IL_0036: brfalse.s IL_003e - IL_0040: ldloc.1 - IL_0041: ret - } // end of method ExpressionTokenizer::ReadChar + IL_0038: ldloc.0 + IL_0039: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_003e: endfinally + } // end handler 0 + IL_003f: ret + } // end of method XmlLogger::TaskFinished - // method line 1947 + // method line 2027 .method private hidebysig - instance default int32 PeekChar () cil managed + instance default void WriteDuration () cil managed { - // Method begins at RVA 0x27b88 - // Code size 55 (0x37) - .maxstack 2 + // Method begins at RVA 0x26920 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - int32 V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.ExpressionTokenizer::_position + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: ldstr "duration" + IL_000c: ldarg.0 + IL_000d: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack + IL_0012: callvirt instance valuetype [mscorlib]System.TimeSpan class NAnt.Core.Util.StopWatchStack::PopStop() + IL_0017: stloc.0 + IL_0018: ldloca.s 0 + IL_001a: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMilliseconds() + IL_001f: call string class [System.Xml]System.Xml.XmlConvert::ToString(float64) + IL_0024: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) + IL_0029: ret + } // end of method XmlLogger::WriteDuration + + // method line 2028 + .method public final virtual hidebysig newslot + instance default void MessageLogged (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x26958 + // Code size 238 (0xee) + .maxstack 4 + .locals init ( + string V_0, + object V_1, + bool V_2, + valuetype NAnt.Core.Level V_3) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.BuildEventArgs::get_MessageLevel() IL_0007: ldarg.0 - IL_0008: ldfld string NAnt.Core.ExpressionTokenizer::_text - IL_000d: callvirt instance int32 string::get_Length() - IL_0012: bge IL_002e + IL_0008: call instance valuetype NAnt.Core.Level class NAnt.Core.XmlLogger::get_Threshold() + IL_000d: blt IL_00ed - IL_0017: ldarg.0 - IL_0018: ldfld string NAnt.Core.ExpressionTokenizer::_text - IL_001d: ldarg.0 - IL_001e: ldfld int32 NAnt.Core.ExpressionTokenizer::_position - IL_0023: callvirt instance char string::get_Chars(int32) - IL_0028: stloc.0 - IL_0029: br IL_0035 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldarg.2 + IL_0015: callvirt instance string class NAnt.Core.BuildEventArgs::get_Message() + IL_001a: callvirt instance string string::Trim() + IL_001f: call instance string class NAnt.Core.XmlLogger::StripFormatting(string) + IL_0024: stloc.0 + IL_0025: ldarg.0 + IL_0026: ldloc.0 + IL_0027: call instance bool class NAnt.Core.XmlLogger::IsJustWhiteSpace(string) + IL_002c: brfalse IL_0037 - IL_002e: ldc.i4.m1 - IL_002f: stloc.0 - IL_0030: br IL_0035 + IL_0031: nop + IL_0032: br IL_00ed - IL_0035: ldloc.0 - IL_0036: ret - } // end of method ExpressionTokenizer::PeekChar + IL_0037: ldarg.0 + IL_0038: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_003d: stloc.1 + IL_003e: ldc.i4.0 + IL_003f: stloc.2 + .try { // 0 + IL_0040: ldloc.1 + IL_0041: ldloca.s 2 + IL_0043: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0048: nop + IL_0049: ldarg.0 + IL_004a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_004f: ldstr "message" + IL_0054: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0059: ldarg.0 + IL_005a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_005f: ldstr "level" + IL_0064: ldarg.2 + IL_0065: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.BuildEventArgs::get_MessageLevel() + IL_006a: stloc.3 + IL_006b: ldloca.s 3 + IL_006d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0072: constrained. NAnt.Core.Level + IL_0078: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) + IL_007d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0082: ldarg.0 + IL_0083: ldloc.0 + IL_0084: call instance bool class NAnt.Core.XmlLogger::IsValidXml(string) + IL_0089: brfalse IL_00b2 - // method line 1948 - .method private hidebysig - instance default void SkipWhitespace () cil managed + IL_008e: nop + IL_008f: ldloc.0 + IL_0090: ldstr "<\\?.*\\?>" + IL_0095: ldsfld string [mscorlib]System.String::Empty + IL_009a: call string class [System]System.Text.RegularExpressions.Regex::Replace(string, string, string) + IL_009f: stloc.0 + IL_00a0: ldarg.0 + IL_00a1: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00a6: ldloc.0 + IL_00a7: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteRaw(string) + IL_00ac: nop + IL_00ad: br IL_00c6 + + IL_00b2: nop + IL_00b3: ldarg.0 + IL_00b4: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00b9: ldarg.0 + IL_00ba: ldloc.0 + IL_00bb: call instance string class NAnt.Core.XmlLogger::StripCData(string) + IL_00c0: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) + IL_00c5: nop + IL_00c6: ldarg.0 + IL_00c7: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00cc: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_00d1: ldarg.0 + IL_00d2: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00d7: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_00dc: nop + IL_00dd: leave IL_00ec + + } // end .try 0 + finally { // 0 + IL_00e2: ldloc.2 + IL_00e3: brfalse.s IL_00eb + + IL_00e5: ldloc.1 + IL_00e6: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_00eb: endfinally + } // end handler 0 + IL_00ec: nop + IL_00ed: ret + } // end of method XmlLogger::MessageLogged + + // method line 2029 + .method public final virtual hidebysig newslot specialname + instance default valuetype NAnt.Core.Level get_Threshold () cil managed { - // Method begins at RVA 0x27bcc - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0x26a64 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + valuetype NAnt.Core.Level V_0) IL_0000: nop - IL_0001: br IL_0020 - - IL_0006: nop - IL_0007: ldloc.0 - IL_0008: conv.u2 - IL_0009: call bool char::IsWhiteSpace(char) - IL_000e: brtrue IL_0018 + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: br IL_002e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlLogger::get_Threshold - IL_0018: ldarg.0 - IL_0019: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() - IL_001e: pop - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() - IL_0026: dup - IL_0027: stloc.0 - IL_0028: ldc.i4.m1 - IL_0029: bne.un IL_0006 + // method line 2030 + .method public final virtual hidebysig newslot specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed + { + // Method begins at RVA 0x26a7f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold + IL_0008: ret + } // end of method XmlLogger::set_Threshold - IL_002e: ret - } // end of method ExpressionTokenizer::SkipWhitespace + // method line 2031 + .method public virtual hidebysig newslot specialname + instance default bool get_EmacsMode () cil managed + { + // Method begins at RVA 0x26a8c + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - .property instance bool IgnoreWhitespace () - { - .get instance default bool NAnt.Core.ExpressionTokenizer::get_IgnoreWhitespace () - .set instance default void NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace (bool 'value') - } - .property instance bool SingleCharacterMode () - { - .get instance default bool NAnt.Core.ExpressionTokenizer::get_SingleCharacterMode () - .set instance default void NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode (bool 'value') - } - .property instance valuetype NAnt.Core.ExpressionTokenizer/TokenType CurrentToken () - { - .get instance default valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::get_CurrentToken () - } - .property instance string TokenText () - { - .get instance default string NAnt.Core.ExpressionTokenizer::get_TokenText () - } - .property instance valuetype NAnt.Core.ExpressionTokenizer/Position CurrentPosition () - { - .get instance default valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.ExpressionTokenizer::get_CurrentPosition () - } - .class nested public sequential ansi sealed beforefieldinit Position - extends [mscorlib]System.ValueType - { - .field private int32 _charIndex + IL_0008: ldloc.0 + IL_0009: ret + } // end of method XmlLogger::get_EmacsMode - // method line 1949 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 charIndex) cil managed + // method line 2032 + .method public virtual hidebysig newslot specialname + instance default void set_EmacsMode (bool 'value') cil managed { - // Method begins at RVA 0x27c07 - // Code size 9 (0x9) + // Method begins at RVA 0x26aa2 + // Code size 2 (0x2) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.ExpressionTokenizer/Position::_charIndex - IL_0008: ret - } // end of method Position::.ctor + IL_0001: ret + } // end of method XmlLogger::set_EmacsMode - // method line 1950 - .method public hidebysig specialname - instance default int32 get_CharIndex () cil managed + // method line 2033 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed { - // Method begins at RVA 0x27c14 + // Method begins at RVA 0x26aa8 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.IO.TextWriter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.ExpressionTokenizer/Position::_charIndex + IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Position::get_CharIndex - - .property instance int32 CharIndex () - { - .get instance default int32 NAnt.Core.ExpressionTokenizer/Position::get_CharIndex () - } - } // end of class Position - - .class nested public auto ansi sealed TokenType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType BOF = int32(0x00000000) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType EOF = int32(0x00000001) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Number = int32(0x00000002) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType String = int32(0x00000003) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Keyword = int32(0x00000004) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType EQ = int32(0x00000005) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType NE = int32(0x00000006) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LT = int32(0x00000007) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType GT = int32(0x00000008) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LE = int32(0x00000009) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType GE = int32(0x0000000a) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Plus = int32(0x0000000b) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Minus = int32(0x0000000c) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Mul = int32(0x0000000d) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Div = int32(0x0000000e) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Mod = int32(0x0000000f) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LeftParen = int32(0x00000010) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType RightParen = int32(0x00000011) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LeftCurlyBrace = int32(0x00000012) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType RightCurlyBrace = int32(0x00000013) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Not = int32(0x00000014) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Punctuation = int32(0x00000015) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Whitespace = int32(0x00000016) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Dollar = int32(0x00000017) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Comma = int32(0x00000018) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Dot = int32(0x00000019) - .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType DoubleColon = int32(0x0000001a) - - } // end of class TokenType - - .class nested private sequential ansi sealed beforefieldinit CharToTokenType - extends [mscorlib]System.ValueType - { - .field public initonly char ch - .field public initonly valuetype NAnt.Core.ExpressionTokenizer/TokenType tokenType + } // end of method XmlLogger::get_OutputWriter - // method line 1951 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (char ch, valuetype NAnt.Core.ExpressionTokenizer/TokenType tokenType) cil managed + // method line 2034 + .method public final virtual hidebysig newslot specialname + instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed { - // Method begins at RVA 0x27c2f - // Code size 16 (0x10) + // Method begins at RVA 0x26ac3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld char NAnt.Core.ExpressionTokenizer/CharToTokenType::ch - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer/CharToTokenType::tokenType - IL_000f: ret - } // end of method CharToTokenType::.ctor - - } // end of class CharToTokenType - - } // end of class NAnt.Core.ExpressionTokenizer -} - -.namespace NAnt.Core -{ - .class public auto ansi sealed FrameworkTypes - extends [mscorlib]System.Enum - { - .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.FrameworkTypes NotInstalled = int32(0x00000001) - .field public static literal valuetype NAnt.Core.FrameworkTypes Installed = int32(0x00000002) - .field public static literal valuetype NAnt.Core.FrameworkTypes InstallStateMask = int32(0x00000003) - .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 02 00 00 00 00 00 ) // ........ - - .field public static literal valuetype NAnt.Core.FrameworkTypes Desktop = int32(0x00000004) - .field public static literal valuetype NAnt.Core.FrameworkTypes Compact = int32(0x00000008) - .field public static literal valuetype NAnt.Core.FrameworkTypes Browser = int32(0x00000010) - .field public static literal valuetype NAnt.Core.FrameworkTypes DeviceMask = int32(0x0000001c) - .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 02 00 00 00 00 00 ) // ........ - - .field public static literal valuetype NAnt.Core.FrameworkTypes Mono = int32(0x00000020) - .field public static literal valuetype NAnt.Core.FrameworkTypes MS = int32(0x00000040) - .field public static literal valuetype NAnt.Core.FrameworkTypes VendorMask = int32(0x00000060) - .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 02 00 00 00 00 00 ) // ........ - - .field public static literal valuetype NAnt.Core.FrameworkTypes All = int32(0x00000003) - - } // end of class NAnt.Core.FrameworkTypes -} - -.namespace NAnt.Core -{ - .class private auto ansi beforefieldinit ProjectSettingsLoader - extends [mscorlib]System.Object - { - .field private class NAnt.Core.Project _project - .field private class [System.Xml]System.Xml.XmlNamespaceManager _nsMgr - .field private static bool ScannedTasks - - // method line 1952 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project) cil managed - { - // Method begins at RVA 0x27c40 - // Code size 58 (0x3a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.Core.Project NAnt.Core.ProjectSettingsLoader::_project - IL_000e: ldarg.0 - IL_000f: newobj instance void class [System.Xml]System.Xml.NameTable::'.ctor'() - IL_0014: newobj instance void class [System.Xml]System.Xml.XmlNamespaceManager::'.ctor'(class [System.Xml]System.Xml.XmlNameTable) - IL_0019: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr - IL_001e: ldarg.0 - IL_001f: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr - IL_0024: ldstr "nant" - IL_0029: ldarg.0 - IL_002a: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr - IL_002f: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::get_DefaultNamespace() - IL_0034: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) - IL_0039: ret - } // end of method ProjectSettingsLoader::.ctor + IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter + IL_0008: ret + } // end of method XmlLogger::set_OutputWriter - // method line 1953 - .method family hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 2035 + .method public final virtual hidebysig newslot + instance default void Flush () cil managed { - // Method begins at RVA 0x27c7c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x26ad0 + // Code size 47 (0x2f) + .maxstack 2 .locals init ( - class NAnt.Core.Project V_0) + object V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Project NAnt.Core.ProjectSettingsLoader::_project + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: ldc.i4.0 + IL_0009: stloc.1 + .try { // 0 + IL_000a: ldloc.0 + IL_000b: ldloca.s 1 + IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0019: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() + IL_001e: nop + IL_001f: leave IL_002e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettingsLoader::get_Project + } // end .try 0 + finally { // 0 + IL_0024: ldloc.1 + IL_0025: brfalse.s IL_002d - // method line 1954 - .method private hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + IL_0027: ldloc.0 + IL_0028: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_002d: endfinally + } // end handler 0 + IL_002e: ret + } // end of method XmlLogger::Flush + + // method line 2036 + .method public hidebysig + instance default string StripFormatting (string message) cil managed { - // Method begins at RVA 0x27c98 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x26b1c + // Code size 119 (0x77) + .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlNamespaceManager V_0) + string V_0, + class [System]System.Text.RegularExpressions.Regex V_1, + class [System]System.Text.RegularExpressions.Match V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::_nsMgr - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldstr "(?ms)^[\\s\\0]*?\\[[\\s\\w\\d]+\\](.+)" + IL_0006: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000b: stloc.1 + IL_000c: ldloc.1 + IL_000d: ldarg.1 + IL_000e: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0013: stloc.2 + IL_0014: ldloc.2 + IL_0015: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_001a: brfalse IL_005b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettingsLoader::get_NamespaceManager + IL_001f: nop + IL_0020: ldloc.2 + IL_0021: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0026: ldc.i4.1 + IL_0027: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_002c: callvirt instance class [System]System.Text.RegularExpressions.CaptureCollection class [System]System.Text.RegularExpressions.Group::get_Captures() + IL_0031: ldc.i4.0 + IL_0032: callvirt instance class [System]System.Text.RegularExpressions.Capture class [System]System.Text.RegularExpressions.CaptureCollection::get_Item(int32) + IL_0037: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_003c: stloc.0 + IL_003d: ldloc.0 + IL_003e: ldstr bytearray ( + 00 00 00 ) // ... + + IL_0043: ldsfld string [mscorlib]System.String::Empty + IL_0048: callvirt instance string string::Replace(string, string) + IL_004d: stloc.0 + IL_004e: ldloc.0 + IL_004f: callvirt instance string string::Trim() + IL_0054: stloc.0 + IL_0055: nop + IL_0056: br IL_006e - // method line 1955 + IL_005b: nop + IL_005c: ldarg.1 + IL_005d: ldstr bytearray ( + 00 00 00 ) // ... + + IL_0062: ldsfld string [mscorlib]System.String::Empty + IL_0067: callvirt instance string string::Replace(string, string) + IL_006c: stloc.0 + IL_006d: nop + IL_006e: ldloc.0 + IL_006f: stloc.3 + IL_0070: br IL_0075 + + IL_0075: ldloc.3 + IL_0076: ret + } // end of method XmlLogger::StripFormatting + + // method line 2037 .method public hidebysig - instance default void ProcessSettings () cil managed + instance default bool IsJustWhiteSpace (string message) cil managed { - // Method begins at RVA 0x27cb4 - // Code size 111 (0x6f) - .maxstack 5 + // Method begins at RVA 0x26ba0 + // Code size 32 (0x20) + .maxstack 2 + .locals init ( + class [System]System.Text.RegularExpressions.Regex V_0, + bool V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() - IL_000c: brtrue IL_0017 - - IL_0011: nop - IL_0012: br IL_006e + IL_0001: ldstr "^[\\s\\0]*$" + IL_0006: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000b: stloc.0 + IL_000c: ldloc.0 + IL_000d: ldarg.1 + IL_000e: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0013: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_0018: stloc.1 + IL_0019: br IL_001e - IL_0017: ldarg.0 - IL_0018: ldarg.0 - IL_0019: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_001e: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() - IL_0023: ldstr "nant:frameworks/nant:platform[@name='" - IL_0028: ldarg.0 - IL_0029: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_002e: callvirt instance string class NAnt.Core.Project::get_PlatformName() - IL_0033: ldstr "']" - IL_0038: call string string::Concat(string, string, string) - IL_003d: ldarg.0 - IL_003e: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_0043: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0048: call instance void class NAnt.Core.ProjectSettingsLoader::ProcessPlatform(class [System.Xml]System.Xml.XmlNode) - IL_004d: ldarg.0 - IL_004e: ldarg.0 - IL_004f: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0054: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() - IL_0059: ldstr "nant:properties/nant:property" - IL_005e: ldarg.0 - IL_005f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_0064: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0069: call instance void class NAnt.Core.ProjectSettingsLoader::ProcessGlobalProperties(class [System.Xml]System.Xml.XmlNodeList) - IL_006e: ret - } // end of method ProjectSettingsLoader::ProcessSettings + IL_001e: ldloc.1 + IL_001f: ret + } // end of method XmlLogger::IsJustWhiteSpace - // method line 1956 + // method line 2038 .method private hidebysig - instance default void ProcessPlatform (class [System.Xml]System.Xml.XmlNode platformNode) cil managed + instance default void WriteErrorNode (class [mscorlib]System.Exception exception) cil managed { - // Method begins at RVA 0x27d30 - // Code size 446 (0x1be) + // Method begins at RVA 0x26bcc + // Code size 505 (0x1f9) .maxstack 4 .locals init ( - class NAnt.Core.Types.FileSet V_0, - class [System.Xml]System.Xml.XmlNode V_1, - class NAnt.Core.Tasks.LoadTasksTask V_2, - class NAnt.Core.Tasks.LoadTasksTask V_3) + class NAnt.Core.BuildException V_0, + int32 V_1, + int32 V_2) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0002: brtrue IL_000d IL_0007: nop - IL_0008: ldstr "platformNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldsfld bool NAnt.Core.ProjectSettingsLoader::ScannedTasks - IL_0018: brtrue IL_010a + IL_0008: br IL_01f8 - IL_001d: nop - IL_001e: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_002a: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() - IL_002f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0034: callvirt instance void class NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0039: ldloc.0 - IL_003a: ldarg.0 - IL_003b: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0040: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0045: ldloc.0 - IL_0046: ldarg.0 - IL_0047: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_004c: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0051: ldloc.0 - IL_0052: ldarg.0 - IL_0053: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0058: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_005d: ldloc.0 - IL_005e: ldstr "platform-task-assemblies" - IL_0063: callvirt instance void class NAnt.Core.DataTypeBase::set_ID(string) - IL_0068: ldarg.1 - IL_0069: ldstr "nant:task-assemblies" - IL_006e: ldarg.0 - IL_006f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_0074: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0079: stloc.1 - IL_007a: ldloc.1 - IL_007b: brfalse IL_0095 + IL_000d: nop + IL_000e: ldnull + IL_000f: stloc.0 + IL_0010: ldtoken NAnt.Core.BuildException + IL_0015: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_001a: ldarg.1 + IL_001b: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Exception::GetType() + IL_0020: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0025: brfalse IL_0033 - IL_0080: nop - IL_0081: ldloc.0 - IL_0082: ldloc.1 - IL_0083: ldarg.0 - IL_0084: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0089: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_008e: ldnull - IL_008f: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0094: nop - IL_0095: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() - IL_009a: stloc.2 - IL_009b: ldloc.2 - IL_009c: ldarg.0 - IL_009d: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_00a2: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_00a7: ldloc.2 - IL_00a8: ldarg.0 - IL_00a9: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_00ae: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00b3: ldloc.2 - IL_00b4: ldarg.0 - IL_00b5: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_00ba: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_00bf: ldloc.2 - IL_00c0: ldloc.0 - IL_00c1: callvirt instance void class NAnt.Core.Tasks.LoadTasksTask::set_TaskFileSet(class NAnt.Core.Types.FileSet) - IL_00c6: ldloc.2 - IL_00c7: ldc.i4.0 - IL_00c8: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) - IL_00cd: ldloc.2 - IL_00ce: ldarg.0 - IL_00cf: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_00d4: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_00d9: ldc.i4 1000 - IL_00de: bne.un IL_00ed + IL_002a: nop + IL_002b: ldarg.1 + IL_002c: castclass NAnt.Core.BuildException + IL_0031: stloc.0 + IL_0032: nop + IL_0033: ldloc.0 + IL_0034: brfalse IL_0050 - IL_00e3: ldc.i4 1000 - IL_00e8: br IL_00f2 + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0040: ldstr "builderror" + IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_004a: nop + IL_004b: br IL_0062 - IL_00ed: ldc.i4 4000 - IL_00f2: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) - IL_00f7: ldloc.2 - IL_00f8: callvirt instance void class NAnt.Core.Task::Execute() - IL_00fd: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0102: ldloc.2 - IL_0103: call bool class NAnt.Core.TypeFactory::ScanAssembly(class [mscorlib]System.Reflection.Assembly, class NAnt.Core.Task) - IL_0108: pop - IL_0109: nop - IL_010a: ldarg.0 - IL_010b: ldarg.1 - IL_010c: call instance void class NAnt.Core.ProjectSettingsLoader::ProcessFrameworks(class [System.Xml]System.Xml.XmlNode) - IL_0111: ldarg.0 - IL_0112: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0117: ldarg.0 - IL_0118: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.ProjectSettingsLoader::ConfigureRuntimeFramework() - IL_011d: callvirt instance void class NAnt.Core.Project::set_RuntimeFramework(class NAnt.Core.FrameworkInfo) - IL_0122: ldarg.0 - IL_0123: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0128: ldarg.0 - IL_0129: ldarg.1 - IL_012a: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.ProjectSettingsLoader::ConfigureTargetFramework(class [System.Xml]System.Xml.XmlNode) - IL_012f: callvirt instance void class NAnt.Core.Project::set_TargetFramework(class NAnt.Core.FrameworkInfo) - IL_0134: ldsfld bool NAnt.Core.ProjectSettingsLoader::ScannedTasks - IL_0139: brtrue IL_01bd + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0057: ldstr "internalerror" + IL_005c: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0061: nop + IL_0062: ldarg.0 + IL_0063: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0068: ldstr "type" + IL_006d: ldarg.1 + IL_006e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Exception::GetType() + IL_0073: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0078: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) + IL_007d: ldloc.0 + IL_007e: brfalse IL_0173 - IL_013e: nop - IL_013f: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() - IL_0144: stloc.3 - IL_0145: ldloc.3 - IL_0146: ldarg.0 - IL_0147: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_014c: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0151: ldloc.3 - IL_0152: ldarg.0 - IL_0153: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_0158: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_015d: ldloc.3 - IL_015e: ldarg.0 - IL_015f: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0164: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0169: ldloc.3 - IL_016a: ldarg.0 - IL_016b: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0170: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_0175: callvirt instance class NAnt.Core.Types.FileSet class NAnt.Core.FrameworkInfo::get_TaskAssemblies() - IL_017a: callvirt instance void class NAnt.Core.Tasks.LoadTasksTask::set_TaskFileSet(class NAnt.Core.Types.FileSet) - IL_017f: ldloc.3 - IL_0180: ldc.i4.0 - IL_0181: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) - IL_0186: ldloc.3 - IL_0187: ldarg.0 - IL_0188: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_018d: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_0192: ldc.i4 1000 - IL_0197: bne.un IL_01a6 + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: callvirt instance string class NAnt.Core.BuildException::get_RawMessage() + IL_008a: brfalse IL_00c3 - IL_019c: ldc.i4 1000 - IL_01a1: br IL_01ab + IL_008f: nop + IL_0090: ldarg.0 + IL_0091: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0096: ldstr "message" + IL_009b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_00a0: ldarg.0 + IL_00a1: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00a6: ldarg.0 + IL_00a7: ldloc.0 + IL_00a8: callvirt instance string class NAnt.Core.BuildException::get_RawMessage() + IL_00ad: call instance string class NAnt.Core.XmlLogger::StripCData(string) + IL_00b2: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) + IL_00b7: ldarg.0 + IL_00b8: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00bd: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_00c2: nop + IL_00c3: ldloc.0 + IL_00c4: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() + IL_00c9: brfalse IL_016d - IL_01a6: ldc.i4 4000 - IL_01ab: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) - IL_01b0: ldloc.3 - IL_01b1: callvirt instance void class NAnt.Core.Task::Execute() - IL_01b6: ldc.i4.1 - IL_01b7: stsfld bool NAnt.Core.ProjectSettingsLoader::ScannedTasks - IL_01bc: nop - IL_01bd: ret - } // end of method ProjectSettingsLoader::ProcessPlatform + IL_00ce: nop + IL_00cf: ldloc.0 + IL_00d0: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() + IL_00d5: callvirt instance string object::ToString() + IL_00da: call bool string::IsNullOrEmpty(string) + IL_00df: brtrue IL_016c - // method line 1957 + IL_00e4: nop + IL_00e5: ldarg.0 + IL_00e6: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00eb: ldstr "location" + IL_00f0: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_00f5: ldarg.0 + IL_00f6: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_00fb: ldstr "filename" + IL_0100: ldloc.0 + IL_0101: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() + IL_0106: callvirt instance string class NAnt.Core.Location::get_FileName() + IL_010b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) + IL_0110: ldarg.0 + IL_0111: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0116: ldstr "linenumber" + IL_011b: ldloc.0 + IL_011c: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() + IL_0121: callvirt instance int32 class NAnt.Core.Location::get_LineNumber() + IL_0126: stloc.1 + IL_0127: ldloca.s 1 + IL_0129: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_012e: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_0133: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) + IL_0138: ldarg.0 + IL_0139: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_013e: ldstr "columnnumber" + IL_0143: ldloc.0 + IL_0144: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() + IL_0149: callvirt instance int32 class NAnt.Core.Location::get_ColumnNumber() + IL_014e: stloc.2 + IL_014f: ldloca.s 2 + IL_0151: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0156: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_015b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) + IL_0160: ldarg.0 + IL_0161: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0166: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_016b: nop + IL_016c: nop + IL_016d: nop + IL_016e: br IL_01b4 + + IL_0173: nop + IL_0174: ldarg.1 + IL_0175: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_017a: brfalse IL_01b3 + + IL_017f: nop + IL_0180: ldarg.0 + IL_0181: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0186: ldstr "message" + IL_018b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_0190: ldarg.0 + IL_0191: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0196: ldarg.0 + IL_0197: ldarg.1 + IL_0198: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_019d: call instance string class NAnt.Core.XmlLogger::StripCData(string) + IL_01a2: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) + IL_01a7: ldarg.0 + IL_01a8: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_01ad: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_01b2: nop + IL_01b3: nop + IL_01b4: ldarg.0 + IL_01b5: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_01ba: ldstr "stacktrace" + IL_01bf: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) + IL_01c4: ldarg.0 + IL_01c5: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_01ca: ldarg.1 + IL_01cb: callvirt instance string class [mscorlib]System.Exception::get_StackTrace() + IL_01d0: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) + IL_01d5: ldarg.0 + IL_01d6: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_01db: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_01e0: ldarg.0 + IL_01e1: ldarg.1 + IL_01e2: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_01e7: call instance void class NAnt.Core.XmlLogger::WriteErrorNode(class [mscorlib]System.Exception) + IL_01ec: ldarg.0 + IL_01ed: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_01f2: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() + IL_01f7: nop + IL_01f8: ret + } // end of method XmlLogger::WriteErrorNode + + // method line 2039 .method private hidebysig - instance default void ProcessFrameworks (class [System.Xml]System.Xml.XmlNode platformNode) cil managed + instance default bool IsValidXml (string message) cil managed { - // Method begins at RVA 0x27efc - // Code size 153 (0x99) + // Method begins at RVA 0x26dd4 + // Code size 96 (0x60) .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.FrameworkInfo V_2, - class [mscorlib]System.IDisposable V_3) + class [System.Xml]System.Xml.XmlValidatingReader V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0002: ldstr "^<.*>" + IL_0007: call class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string, string) + IL_000c: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_0011: brfalse IL_0057 - IL_0007: nop - IL_0008: ldstr "platformNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: nop - IL_0014: ldarg.1 - IL_0015: ldstr "nant:framework" - IL_001a: ldarg.0 - IL_001b: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_0020: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0025: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_002a: stloc.1 - .try { // 0 - IL_002b: br IL_0074 + IL_0016: nop + IL_0017: ldnull + IL_0018: stloc.0 + .try { // 1 + .try { // 0 + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: ldc.i4.s 0x09 + IL_001d: ldnull + IL_001e: newobj instance void class [System.Xml]System.Xml.XmlValidatingReader::'.ctor'(string, valuetype [System.Xml]System.Xml.XmlNodeType, class [System.Xml]System.Xml.XmlParserContext) + IL_0023: stloc.0 + IL_0024: br IL_002b - IL_0030: ldloc.1 - IL_0031: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0036: castclass [System.Xml]System.Xml.XmlNode - IL_003b: stloc.0 - IL_003c: nop - IL_003d: ldloc.0 - IL_003e: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_0043: ldc.i4.1 - IL_0044: beq IL_004f + IL_0029: nop + IL_002a: nop + IL_002b: ldloc.0 + IL_002c: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() + IL_0031: brtrue IL_0029 - IL_0049: nop - IL_004a: leave IL_0074 + IL_0036: ldc.i4.1 + IL_0037: stloc.1 + IL_0038: leave IL_005e - IL_004f: ldloc.0 - IL_0050: ldarg.0 - IL_0051: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_0056: newobj instance void class NAnt.Core.FrameworkInfo::'.ctor'(class [System.Xml]System.Xml.XmlNode, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_005b: stloc.2 - IL_005c: ldarg.0 - IL_005d: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0062: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_0067: ldloc.2 - IL_0068: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_006d: ldloc.2 - IL_006e: callvirt instance void class NAnt.Core.FrameworkInfoDictionary::Add(string, class NAnt.Core.FrameworkInfo) - IL_0073: nop - IL_0074: ldloc.1 - IL_0075: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_007a: brtrue IL_0030 + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_003d: pop + IL_003e: nop + IL_003f: ldc.i4.0 + IL_0040: stloc.1 + IL_0041: leave IL_005e - IL_007f: leave IL_0098 + } // end handler 0 + } // end .try 1 + finally { // 1 + IL_0046: nop + IL_0047: ldloc.0 + IL_0048: brfalse IL_0055 - } // end .try 0 - finally { // 0 - IL_0084: ldloc.1 - IL_0085: isinst [mscorlib]System.IDisposable - IL_008a: dup - IL_008b: stloc.3 - IL_008c: brfalse IL_0097 + IL_004d: nop + IL_004e: ldloc.0 + IL_004f: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() + IL_0054: nop + IL_0055: nop + IL_0056: endfinally + } // end handler 1 + IL_0057: ldc.i4.0 + IL_0058: stloc.1 + IL_0059: br IL_005e - IL_0091: ldloc.3 - IL_0092: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0097: endfinally - } // end handler 0 - IL_0098: ret - } // end of method ProjectSettingsLoader::ProcessFrameworks + IL_005e: ldloc.1 + IL_005f: ret + } // end of method XmlLogger::IsValidXml - // method line 1958 + // method line 2040 .method private hidebysig - instance default void ProcessGlobalProperties (class [System.Xml]System.Xml.XmlNodeList propertyNodes) cil managed + instance default string StripCData (string message) cil managed { - // Method begins at RVA 0x27fb4 - // Code size 143 (0x8f) + // Method begins at RVA 0x26e5c + // Code size 42 (0x2a) .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Tasks.PropertyTask V_2, - class NAnt.Core.Project V_3, - class [mscorlib]System.IDisposable V_4) + string V_0, + string V_1) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0008: stloc.1 - .try { // 0 - IL_0009: br IL_0068 + IL_0001: ldarg.1 + IL_0002: ldstr "" + IL_0018: ldsfld string [mscorlib]System.String::Empty + IL_001d: call string class [System]System.Text.RegularExpressions.Regex::Replace(string, string, string) + IL_0022: stloc.1 + IL_0023: br IL_0028 - IL_000e: ldloc.1 - IL_000f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0014: castclass [System.Xml]System.Xml.XmlNode - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_0021: ldc.i4.1 - IL_0022: beq IL_002d + IL_0028: ldloc.1 + IL_0029: ret + } // end of method XmlLogger::StripCData - IL_0027: nop - IL_0028: leave IL_0068 + // method line 2041 + .method private hidebysig + instance default void WriteNameAttribute (string name) cil managed + { + // Method begins at RVA 0x26e92 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0007: ldstr "name" + IL_000c: ldarg.1 + IL_000d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) + IL_0012: ret + } // end of method XmlLogger::WriteNameAttribute - IL_002d: newobj instance void class NAnt.Core.Tasks.PropertyTask::'.ctor'() - IL_0032: stloc.2 - IL_0033: ldloc.2 - IL_0034: ldarg.0 - IL_0035: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_003a: stloc.3 - IL_003b: ldloc.2 - IL_003c: ldloc.3 - IL_003d: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0042: ldloc.3 - IL_0043: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0048: ldloc.2 - IL_0049: ldarg.0 - IL_004a: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.ProjectSettingsLoader::get_NamespaceManager() - IL_004f: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0054: ldloc.2 - IL_0055: callvirt instance void class NAnt.Core.Task::InitializeTaskConfiguration() - IL_005a: ldloc.2 - IL_005b: ldloc.0 - IL_005c: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) - IL_0061: ldloc.2 - IL_0062: callvirt instance void class NAnt.Core.Task::Execute() - IL_0067: nop - IL_0068: ldloc.1 - IL_0069: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_006e: brtrue IL_000e + .property instance valuetype NAnt.Core.Level Threshold () + { + .get instance default valuetype NAnt.Core.Level NAnt.Core.XmlLogger::get_Threshold () + .set instance default void NAnt.Core.XmlLogger::set_Threshold (valuetype NAnt.Core.Level 'value') + } + .property instance bool EmacsMode () + { + .get instance default bool NAnt.Core.XmlLogger::get_EmacsMode () + .set instance default void NAnt.Core.XmlLogger::set_EmacsMode (bool 'value') + } + .property instance class [mscorlib]System.IO.TextWriter OutputWriter () + { + .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::get_OutputWriter () + .set instance default void NAnt.Core.XmlLogger::set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') + } + .class nested private auto ansi beforefieldinit Elements + extends [mscorlib]System.Object + { + .field public static literal string BuildResults = "buildresults" + .field public static literal string Message = "message" + .field public static literal string Target = "target" + .field public static literal string Task = "task" + .field public static literal string Status = "status" - IL_0073: leave IL_008e + // method line 2042 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x26ea6 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method Elements::.ctor - } // end .try 0 - finally { // 0 - IL_0078: ldloc.1 - IL_0079: isinst [mscorlib]System.IDisposable - IL_007e: dup - IL_007f: stloc.s 4 - IL_0081: brfalse IL_008d + } // end of class Elements - IL_0086: ldloc.s 4 - IL_0088: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_008d: endfinally - } // end handler 0 - IL_008e: ret - } // end of method ProjectSettingsLoader::ProcessGlobalProperties + .class nested private auto ansi beforefieldinit Attributes + extends [mscorlib]System.Object + { + .field public static literal string Project = "project" + .field public static literal string MessageLevel = "level" - // method line 1959 - .method private hidebysig - instance default class NAnt.Core.FrameworkInfo ConfigureRuntimeFramework () cil managed + // method line 2043 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x28060 - // Code size 346 (0x15a) - .maxstack 4 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - string V_1, - class [mscorlib]System.Version V_2, - class NAnt.Core.FrameworkInfo V_3, - class NAnt.Core.FrameworkInfoDictionaryEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - class NAnt.Core.FrameworkInfo V_6, - int32 V_7, - class NAnt.Core.FrameworkInfo V_8, - class NAnt.Core.FrameworkInfo V_9) - IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldsfld bool NAnt.Core.PlatformHelper::IsMono - IL_000c: brfalse IL_001b + // Method begins at RVA 0x26eae + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method Attributes::.ctor - IL_0011: ldstr "mono" - IL_0016: br IL_0020 + } // end of class Attributes - IL_001b: ldstr "net" - IL_0020: stloc.1 - IL_0021: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() - IL_0026: ldc.i4.3 - IL_0027: callvirt instance string class [mscorlib]System.Version::ToString(int32) - IL_002c: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0031: stloc.2 - IL_0032: nop - IL_0033: ldarg.0 - IL_0034: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0039: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_003e: callvirt instance class NAnt.Core.FrameworkInfoDictionaryEnumerator class NAnt.Core.FrameworkInfoDictionary::GetEnumerator() - IL_0043: stloc.s 4 - .try { // 0 - IL_0045: br IL_0089 + } // end of class NAnt.Core.XmlLogger +} - IL_004a: ldloc.s 4 - IL_004c: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Current() - IL_0051: stloc.3 - IL_0052: nop - IL_0053: ldloc.3 - IL_0054: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() - IL_0059: ldloc.1 - IL_005a: call bool string::op_Inequality(string, string) - IL_005f: brfalse IL_0069 +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit DirectoryScanner + extends [mscorlib]System.Object + implements [mscorlib]System.ICloneable { + .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory + .field private class NAnt.Core.StringCollectionWithGoodToString _includes + .field private class NAnt.Core.StringCollectionWithGoodToString _excludes + .field private class [mscorlib]System.Collections.ArrayList _includePatterns + .field private class [mscorlib]System.Collections.ArrayList _excludePatterns + .field private class NAnt.Core.StringCollectionWithGoodToString _includeNames + .field private class NAnt.Core.StringCollectionWithGoodToString _excludeNames + .field private class NAnt.Core.StringCollectionWithGoodToString _fileNames + .field private class NAnt.Core.DirScannerStringCollection _directoryNames + .field private class NAnt.Core.DirScannerStringCollection _searchDirectories + .field private class NAnt.Core.DirScannerStringCollection _scannedDirectories + .field private class [mscorlib]System.Collections.ArrayList _searchDirIsRecursive + .field private bool _caseSensitive + .field private bool _isEverythingIncluded + .field private static initonly class [log4net]log4net.ILog logger + .field private static class [mscorlib]System.Collections.Hashtable cachedCaseSensitiveRegexes + .field private static class [mscorlib]System.Collections.Hashtable cachedCaseInsensitiveRegexes + + // method line 2044 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x26eb6 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: call instance void class NAnt.Core.DirectoryScanner::'.ctor'(bool) + IL_000b: nop + IL_000c: ret + } // end of method DirectoryScanner::.ctor + + // method line 2045 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (bool caseSensitive) cil managed + { + // Method begins at RVA 0x26ec4 + // Code size 44 (0x2c) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() + IL_0006: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() + IL_0011: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes + IL_0016: ldarg.0 + IL_0017: ldc.i4.1 + IL_0018: stfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded + IL_001d: ldarg.0 + IL_001e: call instance void object::'.ctor'() + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldarg.1 + IL_0026: stfld bool NAnt.Core.DirectoryScanner::_caseSensitive + IL_002b: ret + } // end of method DirectoryScanner::.ctor + + // method line 2046 + .method public final virtual hidebysig newslot + instance default object Clone () cil managed + { + // Method begins at RVA 0x26ef4 + // Code size 422 (0x1a6) + .maxstack 2 + .locals init ( + class NAnt.Core.DirectoryScanner V_0, + object V_1) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_000d: brfalse IL_002a - IL_0064: leave IL_0089 + IL_0012: nop + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0024: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_0030: brfalse IL_004d - IL_0069: ldloc.3 - IL_006a: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_006f: ldloc.2 - IL_0070: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_0075: brfalse IL_0080 + IL_0035: nop + IL_0036: ldloc.0 + IL_0037: ldarg.0 + IL_0038: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_003d: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_0042: castclass NAnt.Core.DirScannerStringCollection + IL_0047: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_004c: nop + IL_004d: ldarg.0 + IL_004e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns + IL_0053: brfalse IL_0070 - IL_007a: nop - IL_007b: leave IL_0089 + IL_0058: nop + IL_0059: ldloc.0 + IL_005a: ldarg.0 + IL_005b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns + IL_0060: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() + IL_0065: castclass [mscorlib]System.Collections.ArrayList + IL_006a: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns + IL_006f: nop + IL_0070: ldarg.0 + IL_0071: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames + IL_0076: brfalse IL_0093 - IL_0080: ldloc.0 - IL_0081: ldloc.3 - IL_0082: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0087: pop - IL_0088: nop - IL_0089: ldloc.s 4 - IL_008b: callvirt instance bool class NAnt.Core.FrameworkInfoDictionaryEnumerator::MoveNext() - IL_0090: brtrue IL_004a + IL_007b: nop + IL_007c: ldloc.0 + IL_007d: ldarg.0 + IL_007e: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames + IL_0083: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_0088: castclass NAnt.Core.StringCollectionWithGoodToString + IL_008d: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: ldarg.0 + IL_0095: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes + IL_009a: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_009f: castclass NAnt.Core.StringCollectionWithGoodToString + IL_00a4: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes + IL_00a9: ldarg.0 + IL_00aa: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_00af: brfalse IL_00cc - IL_0095: leave IL_00b1 + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: ldarg.0 + IL_00b7: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_00bc: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_00c1: castclass NAnt.Core.StringCollectionWithGoodToString + IL_00c6: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_00cb: nop + IL_00cc: ldarg.0 + IL_00cd: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns + IL_00d2: brfalse IL_00ef - } // end .try 0 - finally { // 0 - IL_009a: ldloc.s 4 - IL_009c: isinst [mscorlib]System.IDisposable - IL_00a1: dup - IL_00a2: stloc.s 5 - IL_00a4: brfalse IL_00b0 + IL_00d7: nop + IL_00d8: ldloc.0 + IL_00d9: ldarg.0 + IL_00da: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns + IL_00df: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() + IL_00e4: castclass [mscorlib]System.Collections.ArrayList + IL_00e9: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns + IL_00ee: nop + IL_00ef: ldarg.0 + IL_00f0: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames + IL_00f5: brfalse IL_0112 - IL_00a9: ldloc.s 5 - IL_00ab: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00b0: endfinally - } // end handler 0 - IL_00b1: ldnull - IL_00b2: stloc.s 6 - IL_00b4: ldc.i4.0 - IL_00b5: stloc.s 7 - IL_00b7: br IL_0118 + IL_00fa: nop + IL_00fb: ldloc.0 + IL_00fc: ldarg.0 + IL_00fd: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames + IL_0102: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_0107: castclass NAnt.Core.StringCollectionWithGoodToString + IL_010c: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames + IL_0111: nop + IL_0112: ldloc.0 + IL_0113: ldarg.0 + IL_0114: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes + IL_0119: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_011e: castclass NAnt.Core.StringCollectionWithGoodToString + IL_0123: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes + IL_0128: ldarg.0 + IL_0129: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_012e: brfalse IL_014b - IL_00bc: nop - IL_00bd: ldloc.0 - IL_00be: ldloc.s 7 - IL_00c0: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_00c5: castclass NAnt.Core.FrameworkInfo - IL_00ca: stloc.s 8 - .try { // 1 - IL_00cc: nop - IL_00cd: ldloc.s 8 - IL_00cf: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() - IL_00d4: ldloc.s 8 - IL_00d6: stloc.s 6 - IL_00d8: ldloc.s 6 - IL_00da: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_00df: brfalse IL_00ea + IL_0133: nop + IL_0134: ldloc.0 + IL_0135: ldarg.0 + IL_0136: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_013b: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_0140: castclass NAnt.Core.DirScannerStringCollection + IL_0145: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_014a: nop + IL_014b: ldarg.0 + IL_014c: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_0151: brfalse IL_016e - IL_00e4: nop - IL_00e5: leave IL_0125 + IL_0156: nop + IL_0157: ldloc.0 + IL_0158: ldarg.0 + IL_0159: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_015e: callvirt instance object class NAnt.Core.StringCollectionWithGoodToString::Clone() + IL_0163: castclass NAnt.Core.DirScannerStringCollection + IL_0168: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_016d: nop + IL_016e: ldarg.0 + IL_016f: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_0174: brfalse IL_0191 - IL_00ea: nop - IL_00eb: leave IL_0111 + IL_0179: nop + IL_017a: ldloc.0 + IL_017b: ldarg.0 + IL_017c: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_0181: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() + IL_0186: castclass [mscorlib]System.Collections.ArrayList + IL_018b: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_0190: nop + IL_0191: ldloc.0 + IL_0192: ldarg.0 + IL_0193: ldfld bool NAnt.Core.DirectoryScanner::_caseSensitive + IL_0198: stfld bool NAnt.Core.DirectoryScanner::_caseSensitive + IL_019d: ldloc.0 + IL_019e: stloc.1 + IL_019f: br IL_01a4 - } // end .try 1 - catch class [mscorlib]System.Object { // 1 - IL_00f0: pop - IL_00f1: nop - IL_00f2: ldloc.s 6 - IL_00f4: brtrue IL_010b + IL_01a4: ldloc.1 + IL_01a5: ret + } // end of method DirectoryScanner::Clone - IL_00f9: ldloc.s 7 - IL_00fb: ldloc.0 - IL_00fc: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0101: ldc.i4.1 - IL_0102: sub - IL_0103: bne.un IL_010b + // method line 2047 + .method public hidebysig specialname + instance default bool get_CaseSensitive () cil managed + { + // Method begins at RVA 0x270a8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.DirectoryScanner::_caseSensitive + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0108: nop - IL_0109: rethrow - IL_010b: nop - IL_010c: leave IL_0111 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DirectoryScanner::get_CaseSensitive - } // end handler 1 - IL_0111: nop - IL_0112: ldloc.s 7 - IL_0114: ldc.i4.1 - IL_0115: add - IL_0116: stloc.s 7 - IL_0118: ldloc.s 7 - IL_011a: ldloc.0 - IL_011b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0120: blt IL_00bc + // method line 2048 + .method public hidebysig specialname + instance default void set_CaseSensitive (bool 'value') cil managed + { + // Method begins at RVA 0x270c3 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: ldfld bool NAnt.Core.DirectoryScanner::_caseSensitive + IL_0008: beq IL_001c - IL_0125: ldloc.s 6 - IL_0127: brtrue IL_014e + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld bool NAnt.Core.DirectoryScanner::_caseSensitive + IL_0015: ldarg.0 + IL_0016: call instance void class NAnt.Core.DirectoryScanner::Reset() + IL_001b: nop + IL_001c: ret + } // end of method DirectoryScanner::set_CaseSensitive - IL_012c: nop - IL_012d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0132: ldstr "NA1062" - IL_0137: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_013c: ldloc.1 - IL_013d: ldloc.2 - IL_013e: callvirt instance string object::ToString() - IL_0143: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0148: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_014d: throw - IL_014e: ldloc.s 6 - IL_0150: stloc.s 9 - IL_0152: br IL_0157 + // method line 2049 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_Includes () cil managed + { + // Method begins at RVA 0x270e4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0157: ldloc.s 9 - IL_0159: ret - } // end of method ProjectSettingsLoader::ConfigureRuntimeFramework + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DirectoryScanner::get_Includes - // method line 1960 - .method private hidebysig - instance default class NAnt.Core.FrameworkInfo ConfigureTargetFramework (class [System.Xml]System.Xml.XmlNode platformNode) cil managed + // method line 2050 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_Excludes () cil managed { - // Method begins at RVA 0x281e4 - // Code size 170 (0xaa) - .maxstack 7 + // Method begins at RVA 0x27100 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class NAnt.Core.FrameworkInfo V_1, - class NAnt.Core.FrameworkInfo V_2) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "default" - IL_0007: call string class NAnt.Core.ProjectSettingsLoader::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_000c: stloc.0 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 - IL_000e: brfalse IL_0023 + IL_000e: ret + } // end of method DirectoryScanner::get_Excludes - IL_0013: ldloc.0 - IL_0014: ldstr "auto" - IL_0019: call bool string::op_Equality(string, string) - IL_001e: brfalse IL_0035 + // method line 2051 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + { + // Method begins at RVA 0x2711c + // Code size 54 (0x36) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_0007: brtrue IL_0028 - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_002a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_002f: stloc.1 - IL_0030: br IL_00a8 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call string class [mscorlib]System.Environment::get_CurrentDirectory() + IL_0013: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) + IL_0018: callvirt instance string object::ToString() + IL_001d: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0022: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_002e: stloc.0 + IL_002f: br IL_0034 - IL_0035: ldarg.0 - IL_0036: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_003b: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_0040: ldloc.0 - IL_0041: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_0046: stloc.2 - IL_0047: ldloc.2 - IL_0048: brtrue IL_00a1 + IL_0034: ldloc.0 + IL_0035: ret + } // end of method DirectoryScanner::get_BaseDirectory - IL_004d: nop - IL_004e: ldarg.0 - IL_004f: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0054: ldc.i4 4000 - IL_0059: ldstr "NA1178" - IL_005e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0063: ldc.i4.2 - IL_0064: newarr [mscorlib]System.Object - IL_0069: dup - IL_006a: ldc.i4.0 - IL_006b: ldloc.0 - IL_006c: stelem.ref - IL_006d: dup - IL_006e: ldc.i4.1 - IL_006f: ldarg.0 - IL_0070: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_0075: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() - IL_007a: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_007f: stelem.ref - IL_0080: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0085: ldarg.0 - IL_0086: call instance class NAnt.Core.Project class NAnt.Core.ProjectSettingsLoader::get_Project() - IL_008b: ldc.i4 4000 - IL_0090: ldstr "" - IL_0095: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) - IL_009a: ldnull - IL_009b: stloc.1 - IL_009c: br IL_00a8 + // method line 2052 + .method public hidebysig specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0x2715e + // Code size 60 (0x3c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0020 - IL_00a1: ldloc.2 - IL_00a2: stloc.1 - IL_00a3: br IL_00a8 + IL_0007: nop + IL_0008: ldarg.1 + IL_0009: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000e: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) + IL_0013: callvirt instance string object::ToString() + IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_001d: starg.s 1 + IL_001f: nop + IL_0020: ldarg.1 + IL_0021: ldarg.0 + IL_0022: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_0027: beq IL_003b - IL_00a8: ldloc.1 - IL_00a9: ret - } // end of method ProjectSettingsLoader::ConfigureTargetFramework + IL_002c: nop + IL_002d: ldarg.0 + IL_002e: ldarg.1 + IL_002f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::_baseDirectory + IL_0034: ldarg.0 + IL_0035: call instance void class NAnt.Core.DirectoryScanner::Reset() + IL_003a: nop + IL_003b: ret + } // end of method DirectoryScanner::set_BaseDirectory - // method line 1961 - .method private static hidebysig - default string GetXmlAttributeValue (class [System.Xml]System.Xml.XmlNode xmlNode, string attributeName) cil managed + // method line 2053 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_FileNames () cil managed { - // Method begins at RVA 0x2829c - // Code size 58 (0x3a) - .maxstack 2 + // Method begins at RVA 0x2719c + // Code size 34 (0x22) + .maxstack 1 .locals init ( - string V_0, - class [System.Xml]System.Xml.XmlAttribute V_1, - string V_2) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: brfalse IL_0031 + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_0007: brtrue IL_0014 - IL_0009: nop - IL_000a: ldarg.0 - IL_000b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0010: ldarg.1 - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) - IL_0016: castclass [System.Xml]System.Xml.XmlAttribute - IL_001b: stloc.1 - IL_001c: ldloc.1 - IL_001d: brfalse IL_0030 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.Core.DirectoryScanner::Scan() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_001a: stloc.0 + IL_001b: br IL_0020 - IL_0022: nop - IL_0023: ldloc.1 - IL_0024: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0029: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_002e: stloc.0 - IL_002f: nop - IL_0030: nop - IL_0031: ldloc.0 - IL_0032: stloc.2 - IL_0033: br IL_0038 + IL_0020: ldloc.0 + IL_0021: ret + } // end of method DirectoryScanner::get_FileNames - IL_0038: ldloc.2 - IL_0039: ret - } // end of method ProjectSettingsLoader::GetXmlAttributeValue + // method line 2054 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_DirectoryNames () cil managed + { + // Method begins at RVA 0x271cc + // Code size 34 (0x22) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_0007: brtrue IL_0014 - .property instance class NAnt.Core.Project Project () - { - .get instance default class NAnt.Core.Project NAnt.Core.ProjectSettingsLoader::get_Project () - } - .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () - { - .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.ProjectSettingsLoader::get_NamespaceManager () - } - } // end of class NAnt.Core.ProjectSettingsLoader -} + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.Core.DirectoryScanner::Scan() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_001a: stloc.0 + IL_001b: br IL_0020 -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit DataTypeBaseBuilderCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_0020: ldloc.0 + IL_0021: ret + } // end of method DirectoryScanner::get_DirectoryNames + + // method line 2055 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_ScannedDirectories () cil managed + { + // Method begins at RVA 0x271fc + // Code size 34 (0x22) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_0007: brtrue IL_0014 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.Core.DirectoryScanner::Scan() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_001a: stloc.0 + IL_001b: br IL_0020 - // method line 1962 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x282e2 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method DataTypeBaseBuilderCollection::.ctor + IL_0020: ldloc.0 + IL_0021: ret + } // end of method DirectoryScanner::get_ScannedDirectories - // method line 1963 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilderCollection 'value') cil managed + // method line 2056 + .method public hidebysig specialname + instance default bool get_IsEverythingIncluded () cil managed { - // Method begins at RVA 0x282eb + // Method begins at RVA 0x2722c // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.DataTypeBaseBuilderCollection::AddRange(class NAnt.Core.DataTypeBaseBuilderCollection) - IL_000e: ret - } // end of method DataTypeBaseBuilderCollection::.ctor + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1964 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilder[] 'value') cil managed - { - // Method begins at RVA 0x282fb - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.DataTypeBaseBuilderCollection::AddRange(class NAnt.Core.DataTypeBaseBuilder[]) + IL_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBaseBuilderCollection::.ctor + } // end of method DirectoryScanner::get_IsEverythingIncluded - // method line 1965 - .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBaseBuilder get_Item (int32 index) cil managed + // method line 2057 + .method public hidebysig + instance default void Scan () cil managed { - // Method begins at RVA 0x2830c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x27248 + // Code size 234 (0xea) + .maxstack 5 .locals init ( - class NAnt.Core.DataTypeBaseBuilder V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.DataTypeBaseBuilder - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0007: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns + IL_000c: ldarg.0 + IL_000d: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() + IL_0012: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames + IL_0017: ldarg.0 + IL_0018: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_001d: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns + IL_0022: ldarg.0 + IL_0023: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() + IL_0028: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames + IL_002d: ldarg.0 + IL_002e: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() + IL_0033: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_0038: ldarg.0 + IL_0039: ldarg.0 + IL_003a: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_003f: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) + IL_0044: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_0049: ldarg.0 + IL_004a: ldarg.0 + IL_004b: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_0050: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) + IL_0055: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_005a: ldarg.0 + IL_005b: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0060: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_0065: ldarg.0 + IL_0066: ldarg.0 + IL_0067: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_006c: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) + IL_0071: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_0076: ldarg.0 + IL_0077: ldarg.0 + IL_0078: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includes + IL_007d: ldarg.0 + IL_007e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns + IL_0083: ldarg.0 + IL_0084: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames + IL_0089: ldc.i4.1 + IL_008a: call instance void class NAnt.Core.DirectoryScanner::ConvertPatterns(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.Collections.ArrayList, class [System]System.Collections.Specialized.StringCollection, bool) + IL_008f: ldarg.0 + IL_0090: ldarg.0 + IL_0091: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludes + IL_0096: ldarg.0 + IL_0097: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns + IL_009c: ldarg.0 + IL_009d: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames + IL_00a2: ldc.i4.0 + IL_00a3: call instance void class NAnt.Core.DirectoryScanner::ConvertPatterns(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.Collections.ArrayList, class [System]System.Collections.Specialized.StringCollection, bool) + IL_00a8: ldc.i4.0 + IL_00a9: stloc.0 + IL_00aa: br IL_00d8 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method DataTypeBaseBuilderCollection::get_Item + IL_00af: nop + IL_00b0: ldarg.0 + IL_00b1: ldarg.0 + IL_00b2: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_00b7: ldloc.0 + IL_00b8: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_00bd: ldarg.0 + IL_00be: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_00c3: ldloc.0 + IL_00c4: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_00c9: unbox.any [mscorlib]System.Boolean + IL_00ce: call instance void class NAnt.Core.DirectoryScanner::ScanDirectory(string, bool) + IL_00d3: nop + IL_00d4: ldloc.0 + IL_00d5: ldc.i4.1 + IL_00d6: add + IL_00d7: stloc.0 + IL_00d8: ldloc.0 + IL_00d9: ldarg.0 + IL_00da: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_00df: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00e4: blt IL_00af - // method line 1966 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.DataTypeBaseBuilder 'value') cil managed + IL_00e9: ret + } // end of method DirectoryScanner::Scan + + // method line 2058 + .method private hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x28332 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x27340 + // Code size 72 (0x48) + .maxstack 2 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method DataTypeBaseBuilderCollection::set_Item + IL_0002: ldc.i4.1 + IL_0003: stfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded + IL_0008: ldarg.0 + IL_0009: ldnull + IL_000a: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns + IL_000f: ldarg.0 + IL_0010: ldnull + IL_0011: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames + IL_0016: ldarg.0 + IL_0017: ldnull + IL_0018: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns + IL_001d: ldarg.0 + IL_001e: ldnull + IL_001f: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames + IL_0024: ldarg.0 + IL_0025: ldnull + IL_0026: stfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_002b: ldarg.0 + IL_002c: ldnull + IL_002d: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_0032: ldarg.0 + IL_0033: ldnull + IL_0034: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_0039: ldarg.0 + IL_003a: ldnull + IL_003b: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_0040: ldarg.0 + IL_0041: ldnull + IL_0042: stfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_0047: ret + } // end of method DirectoryScanner::Reset - // method line 1967 - .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBaseBuilder get_Item (string dataTypeName) cil managed + // method line 2059 + .method private hidebysig + instance default void ConvertPatterns (class [System]System.Collections.Specialized.StringCollection nantPatterns, class [mscorlib]System.Collections.ArrayList regexPatterns, class [System]System.Collections.Specialized.StringCollection nonRegexFiles, bool addSearchDirectories) cil managed { - // Method begins at RVA 0x28344 - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0x27394 + // Code size 345 (0x159) + .maxstack 7 .locals init ( - class NAnt.Core.DataTypeBaseBuilder V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.DataTypeBaseBuilder V_2, - class [mscorlib]System.IDisposable V_3) + string V_0, + string V_1, + bool V_2, + bool V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class NAnt.Core.DirectoryScanner/RegexEntry V_6, + string V_7, + int32 V_8, + class [mscorlib]System.IDisposable V_9) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0008: stloc.s 5 .try { // 0 - IL_0015: br IL_0041 + IL_000a: br IL_0130 - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.DataTypeBaseBuilder - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_DataTypeName() - IL_002e: callvirt instance bool string::Equals(string) - IL_0033: brfalse IL_0040 + IL_000f: ldloc.s 5 + IL_0011: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0016: stloc.s 4 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldarg.s 4 + IL_001c: ldloc.s 4 + IL_001e: ldloca.s 0 + IL_0020: ldloca.s 2 + IL_0022: ldloca.s 3 + IL_0024: ldloca.s 1 + IL_0026: call instance void class NAnt.Core.DirectoryScanner::ParseSearchDirectoryAndPattern(bool, string, [out] string&, [out] bool&, [out] bool&, [out] string&) + IL_002b: ldloc.3 + IL_002c: brfalse IL_008f - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + IL_0031: nop + IL_0032: newobj instance void class NAnt.Core.DirectoryScanner/RegexEntry::'.ctor'() + IL_0037: stloc.s 6 + IL_0039: ldloc.s 6 + IL_003b: ldloc.2 + IL_003c: stfld bool NAnt.Core.DirectoryScanner/RegexEntry::IsRecursive + IL_0041: ldloc.s 6 + IL_0043: ldloc.0 + IL_0044: stfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_0049: ldloc.s 6 + IL_004b: ldloc.1 + IL_004c: stfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern + IL_0051: ldloc.1 + IL_0052: ldstr "**/*" + IL_0057: callvirt instance bool string::EndsWith(string) + IL_005c: brtrue IL_0071 - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + IL_0061: ldloc.1 + IL_0062: ldstr "**\\*" + IL_0067: callvirt instance bool string::EndsWith(string) + IL_006c: brfalse IL_0080 - IL_004c: leave IL_0065 + IL_0071: ldsfld class [log4net]log4net.ILog NAnt.Core.DirectoryScanner::logger + IL_0076: ldstr "**/* pattern may not produce desired results" + IL_007b: callvirt instance void class [log4net]log4net.ILog::Warn(object) + IL_0080: ldarg.2 + IL_0081: ldloc.s 6 + IL_0083: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0088: pop + IL_0089: nop + IL_008a: br IL_00b2 + + IL_008f: nop + IL_0090: ldloc.0 + IL_0091: ldloc.1 + IL_0092: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0097: stloc.s 7 + IL_0099: ldarg.3 + IL_009a: ldloc.s 7 + IL_009c: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_00a1: brtrue IL_00b1 + + IL_00a6: nop + IL_00a7: ldarg.3 + IL_00a8: ldloc.s 7 + IL_00aa: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00af: pop + IL_00b0: nop + IL_00b1: nop + IL_00b2: ldarg.s 4 + IL_00b4: brtrue IL_00bf + + IL_00b9: nop + IL_00ba: leave IL_0130 + + IL_00bf: ldarg.0 + IL_00c0: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_00c5: ldloc.0 + IL_00c6: callvirt instance int32 class NAnt.Core.DirScannerStringCollection::IndexOf(string) + IL_00cb: stloc.s 8 + IL_00cd: ldloc.s 8 + IL_00cf: ldc.i4.m1 + IL_00d0: ble IL_010e + + IL_00d5: nop + IL_00d6: ldarg.0 + IL_00d7: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_00dc: ldloc.s 8 + IL_00de: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_00e3: unbox.any [mscorlib]System.Boolean + IL_00e8: brtrue IL_0108 + + IL_00ed: ldloc.2 + IL_00ee: brfalse IL_0108 + + IL_00f3: nop + IL_00f4: ldarg.0 + IL_00f5: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_00fa: ldloc.s 8 + IL_00fc: ldloc.2 + IL_00fd: box [mscorlib]System.Boolean + IL_0102: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) + IL_0107: nop + IL_0108: nop + IL_0109: br IL_012f + + IL_010e: nop + IL_010f: ldarg.0 + IL_0110: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_searchDirectories + IL_0115: ldloc.0 + IL_0116: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_011b: pop + IL_011c: ldarg.0 + IL_011d: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_searchDirIsRecursive + IL_0122: ldloc.2 + IL_0123: box [mscorlib]System.Boolean + IL_0128: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_012d: pop + IL_012e: nop + IL_012f: nop + IL_0130: ldloc.s 5 + IL_0132: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0137: brtrue IL_000f + + IL_013c: leave IL_0158 } // end .try 0 finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + IL_0141: ldloc.s 5 + IL_0143: isinst [mscorlib]System.IDisposable + IL_0148: dup + IL_0149: stloc.s 9 + IL_014b: brfalse IL_0157 - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally + IL_0150: ldloc.s 9 + IL_0152: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0157: endfinally } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d - - IL_006d: ldloc.2 - IL_006e: ret - } // end of method DataTypeBaseBuilderCollection::get_Item + IL_0158: ret + } // end of method DirectoryScanner::ConvertPatterns - // method line 1968 - .method public hidebysig - instance default int32 Add (class NAnt.Core.DataTypeBaseBuilder item) cil managed + // method line 2060 + .method private hidebysig + instance default void ParseSearchDirectoryAndPattern (bool isInclude, string originalNAntPattern, [out] string& searchDirectory, [out] bool& recursive, [out] bool& isRegex, [out] string& regexPattern) cil managed { - // Method begins at RVA 0x283d0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x27518 + // Code size 492 (0x1ec) + .maxstack 5 .locals init ( - int32 V_0) + string V_0, + int32 V_1, + int32 V_2, + char[] V_3, + int32 V_4, + int32 V_5, + char V_6, + bool V_7, + string V_8) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldarg.2 + IL_0002: stloc.0 + IL_0003: ldloc.0 + IL_0004: ldc.i4.s 0x5c + IL_0006: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_000b: callvirt instance string string::Replace(char, char) + IL_0010: stloc.0 + IL_0011: ldloc.0 + IL_0012: ldc.i4.s 0x2f + IL_0014: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0019: callvirt instance string string::Replace(char, char) + IL_001e: stloc.0 + IL_001f: ldloc.0 + IL_0020: ldstr "**" + IL_0025: callvirt instance int32 string::IndexOf(string) + IL_002a: stloc.1 + IL_002b: ldloc.0 + IL_002c: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0031: callvirt instance int32 string::LastIndexOf(char) + IL_0036: stloc.2 + IL_0037: ldc.i4.2 + IL_0038: newarr [mscorlib]System.Char + IL_003d: dup + IL_003e: ldc.i4.0 + IL_003f: ldc.i4.s 0x3f + IL_0041: stelem.i2 + IL_0042: dup + IL_0043: ldc.i4.1 + IL_0044: ldc.i4.s 0x2a + IL_0046: stelem.i2 + IL_0047: stloc.3 + IL_0048: ldloc.0 + IL_0049: ldloc.3 + IL_004a: callvirt instance int32 string::IndexOfAny(char[]) + IL_004f: stloc.s 4 + IL_0051: ldloc.s 4 + IL_0053: ldc.i4.m1 + IL_0054: beq IL_0065 + + IL_0059: nop + IL_005a: ldloc.0 + IL_005b: ldc.i4.0 + IL_005c: ldloc.s 4 + IL_005e: callvirt instance string string::Substring(int32, int32) + IL_0063: stloc.0 + IL_0064: nop + IL_0065: ldloc.0 + IL_0066: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_006b: callvirt instance int32 string::LastIndexOf(char) + IL_0070: stloc.s 5 + IL_0072: ldarg.s 4 + IL_0074: ldloc.s 4 + IL_0076: ldc.i4.m1 + IL_0077: beq IL_0084 + + IL_007c: ldloc.s 4 + IL_007e: ldloc.2 + IL_007f: blt IL_008d + + IL_0084: ldloc.1 + IL_0085: ldc.i4.m1 + IL_0086: ceq + IL_0088: ldc.i4.0 + IL_0089: ceq + IL_008b: br.s IL_008e + + IL_008d: ldc.i4.1 + IL_008e: stind.i1 + IL_008f: ldloc.s 5 + IL_0091: ldc.i4.m1 + IL_0092: beq IL_00d8 + + IL_0097: nop + IL_0098: ldarg.2 + IL_0099: ldc.i4.0 + IL_009a: ldloc.s 5 + IL_009c: callvirt instance string string::Substring(int32, int32) + IL_00a1: stloc.0 + IL_00a2: ldloc.0 + IL_00a3: callvirt instance int32 string::get_Length() + IL_00a8: ldc.i4.2 + IL_00a9: bne.un IL_00d2 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseBuilderCollection::Add + IL_00ae: ldloc.0 + IL_00af: ldc.i4.1 + IL_00b0: callvirt instance char string::get_Chars(int32) + IL_00b5: ldsfld char [mscorlib]System.IO.Path::VolumeSeparatorChar + IL_00ba: bne.un IL_00d2 - // method line 1969 - .method public hidebysig - instance default void AddRange (class NAnt.Core.DataTypeBaseBuilder[] items) cil managed - { - // Method begins at RVA 0x283f4 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00c6: box [mscorlib]System.Char + IL_00cb: call string string::Concat(object, object) + IL_00d0: stloc.0 + IL_00d1: nop + IL_00d2: nop + IL_00d3: br IL_00e0 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.DataTypeBaseBuilderCollection::Add(class NAnt.Core.DataTypeBaseBuilder) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_00d8: nop + IL_00d9: ldsfld string [mscorlib]System.String::Empty + IL_00de: stloc.0 + IL_00df: nop + IL_00e0: ldloc.0 + IL_00e1: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_00e6: brfalse IL_00ff - IL_0021: ret - } // end of method DataTypeBaseBuilderCollection::AddRange + IL_00eb: nop + IL_00ec: ldarg.3 + IL_00ed: ldloc.0 + IL_00ee: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_00f3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00f8: stind.ref + IL_00f9: nop + IL_00fa: br IL_011e - // method line 1970 - .method public hidebysig - instance default void AddRange (class NAnt.Core.DataTypeBaseBuilderCollection items) cil managed - { - // Method begins at RVA 0x28424 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_00ff: nop + IL_0100: ldarg.3 + IL_0101: ldarg.0 + IL_0102: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.DirectoryScanner::get_BaseDirectory() + IL_0107: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_010c: ldloc.0 + IL_010d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0112: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0117: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_011c: stind.ref + IL_011d: nop + IL_011e: ldarg.3 + IL_011f: ldind.ref + IL_0120: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0125: stloc.s 6 + IL_0127: ldloca.s 6 + IL_0129: constrained. [mscorlib]System.Char + IL_012f: callvirt instance string object::ToString() + IL_0134: callvirt instance bool string::EndsWith(string) + IL_0139: brfalse IL_0172 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.DataTypeBaseBuilderCollection::Add(class NAnt.Core.DataTypeBaseBuilder) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_013e: ldarg.3 + IL_013f: ldind.ref + IL_0140: callvirt instance int32 string::get_Length() + IL_0145: ldc.i4.3 + IL_0146: bne.un IL_015d - IL_0028: ret - } // end of method DataTypeBaseBuilderCollection::AddRange + IL_014b: ldarg.3 + IL_014c: ldind.ref + IL_014d: ldc.i4.1 + IL_014e: callvirt instance char string::get_Chars(int32) + IL_0153: ldsfld char [mscorlib]System.IO.Path::VolumeSeparatorChar + IL_0158: beq IL_0172 - // method line 1971 - .method public hidebysig - instance default bool Contains (class NAnt.Core.DataTypeBaseBuilder item) cil managed - { - // Method begins at RVA 0x2845c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_015d: nop + IL_015e: ldarg.3 + IL_015f: ldarg.3 + IL_0160: ldind.ref + IL_0161: ldc.i4.0 + IL_0162: ldarg.3 + IL_0163: ldind.ref + IL_0164: callvirt instance int32 string::get_Length() + IL_0169: ldc.i4.1 + IL_016a: sub + IL_016b: callvirt instance string string::Substring(int32, int32) + IL_0170: stind.ref + IL_0171: nop + IL_0172: ldloc.2 + IL_0173: ldc.i4.m1 + IL_0174: beq IL_0186 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseBuilderCollection::Contains + IL_0179: ldloc.2 + IL_017a: ldarg.2 + IL_017b: callvirt instance int32 string::get_Length() + IL_0180: ldc.i4.1 + IL_0181: sub + IL_0182: ceq + IL_0184: br.s IL_0187 - // method line 1972 - .method public hidebysig - instance default bool Contains (string taskName) cil managed - { - // Method begins at RVA 0x28480 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0186: ldc.i4.0 + IL_0187: stloc.s 7 + IL_0189: ldloc.s 4 + IL_018b: ldc.i4.m1 + IL_018c: bne.un IL_01b6 - IL_0014: ldloc.0 - IL_0015: ret - } // end of method DataTypeBaseBuilderCollection::Contains + IL_0191: ldloc.s 7 + IL_0193: brtrue IL_01b6 - // method line 1973 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.DataTypeBaseBuilder[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x284a2 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method DataTypeBaseBuilderCollection::CopyTo + IL_0198: nop + IL_0199: ldarg.s 6 + IL_019b: ldarg.0 + IL_019c: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.DirectoryScanner::get_BaseDirectory() + IL_01a1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01a6: ldarg.2 + IL_01a7: call string class NAnt.Core.DirectoryScanner::CleanPath(string, string) + IL_01ac: stind.ref + IL_01ad: ldarg.s 5 + IL_01af: ldc.i4.0 + IL_01b0: stind.i1 + IL_01b1: br IL_01eb - // method line 1974 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.DataTypeBaseBuilder item) cil managed - { - // Method begins at RVA 0x284b4 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_01b6: ldarg.2 + IL_01b7: ldloc.s 5 + IL_01b9: ldc.i4.1 + IL_01ba: add + IL_01bb: callvirt instance string string::Substring(int32) + IL_01c0: stloc.s 8 + IL_01c2: ldloc.s 7 + IL_01c4: brfalse IL_01dd - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseBuilderCollection::IndexOf + IL_01c9: nop + IL_01ca: ldloc.s 8 + IL_01cc: ldstr "**" + IL_01d1: call string string::Concat(string, string) + IL_01d6: stloc.s 8 + IL_01d8: ldarg.s 4 + IL_01da: ldc.i4.1 + IL_01db: stind.i1 + IL_01dc: nop + IL_01dd: ldarg.s 6 + IL_01df: ldloc.s 8 + IL_01e1: call string class NAnt.Core.DirectoryScanner::ToRegexPattern(string) + IL_01e6: stind.ref + IL_01e7: ldarg.s 5 + IL_01e9: ldc.i4.1 + IL_01ea: stind.i1 + IL_01eb: ret + } // end of method DirectoryScanner::ParseSearchDirectoryAndPattern - // method line 1975 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.DataTypeBaseBuilder item) cil managed + // method line 2061 + .method private hidebysig + instance default void ScanDirectory (string path, bool recursive) cil managed { - // Method begins at RVA 0x284d5 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x27710 + // Code size 795 (0x31b) + .maxstack 4 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0, + valuetype [mscorlib]System.Globalization.CompareOptions V_1, + class [mscorlib]System.Globalization.CompareInfo V_2, + class [mscorlib]System.Collections.ArrayList V_3, + class [mscorlib]System.Collections.ArrayList V_4, + class NAnt.Core.DirectoryScanner/RegexEntry V_5, + class [mscorlib]System.Collections.IEnumerator V_6, + string V_7, + char V_8, + class [mscorlib]System.IDisposable V_9, + class NAnt.Core.DirectoryScanner/RegexEntry V_10, + class [mscorlib]System.Collections.IEnumerator V_11, + string V_12, + char V_13, + class [mscorlib]System.IDisposable V_14, + class [mscorlib]System.IO.DirectoryInfo V_15, + class [mscorlib]System.IO.DirectoryInfo[] V_16, + int32 V_17, + class [mscorlib]System.IO.FileInfo V_18, + class [mscorlib]System.IO.FileInfo[] V_19, + int32 V_20, + string V_21) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0002: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method DataTypeBaseBuilderCollection::Insert + IL_0008: callvirt instance bool class NAnt.Core.DirScannerStringCollection::Contains(string) + IL_000d: brfalse IL_0018 - // method line 1976 - .method public hidebysig - instance default class NAnt.Core.DataTypeBaseBuilderEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x284e8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.DataTypeBaseBuilderEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.DataTypeBaseBuilderEnumerator::'.ctor'(class NAnt.Core.DataTypeBaseBuilderCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0012: nop + IL_0013: br IL_031a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseBuilderCollection::GetEnumerator + IL_0018: ldarg.0 + IL_0019: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_scannedDirectories + IL_001e: ldarg.1 + IL_001f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0024: pop + IL_0025: ldarg.1 + IL_0026: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_002b: brtrue IL_0036 - // method line 1977 - .method public hidebysig - instance default void Remove (class NAnt.Core.DataTypeBaseBuilder item) cil managed - { - // Method begins at RVA 0x28503 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method DataTypeBaseBuilderCollection::Remove + IL_0030: nop + IL_0031: br IL_031a - .property instance class NAnt.Core.DataTypeBaseBuilder Item (int32) - { - .get instance default class NAnt.Core.DataTypeBaseBuilder NAnt.Core.DataTypeBaseBuilderCollection::get_Item (int32 index) - .set instance default void NAnt.Core.DataTypeBaseBuilderCollection::set_Item (int32 index, class NAnt.Core.DataTypeBaseBuilder 'value') - } - .property instance class NAnt.Core.DataTypeBaseBuilder Item (string) - { - .get instance default class NAnt.Core.DataTypeBaseBuilder NAnt.Core.DataTypeBaseBuilderCollection::get_Item (string dataTypeName) - } - } // end of class NAnt.Core.DataTypeBaseBuilderCollection -} + IL_0036: ldarg.1 + IL_0037: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_003c: stloc.0 + IL_003d: ldc.i4.0 + IL_003e: stloc.1 + IL_003f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0044: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_0049: stloc.2 + IL_004a: ldarg.0 + IL_004b: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_0050: brtrue IL_0059 -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit DataTypeBaseBuilderEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0055: ldloc.1 + IL_0056: ldc.i4.1 + IL_0057: or + IL_0058: stloc.1 + IL_0059: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_005e: stloc.3 + IL_005f: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0064: stloc.s 4 + IL_0066: nop + IL_0067: ldarg.0 + IL_0068: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_includePatterns + IL_006d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0072: stloc.s 6 + .try { // 0 + IL_0074: br IL_0114 - // method line 1978 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilderCollection arguments) cil managed - { - // Method begins at RVA 0x28514 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator - IL_0015: ret - } // end of method DataTypeBaseBuilderEnumerator::.ctor + IL_0079: ldloc.s 6 + IL_007b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0080: castclass NAnt.Core.DirectoryScanner/RegexEntry + IL_0085: stloc.s 5 + IL_0087: nop + IL_0088: ldloc.s 5 + IL_008a: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_008f: stloc.s 7 + IL_0091: ldloc.2 + IL_0092: ldarg.1 + IL_0093: ldloc.s 7 + IL_0095: ldloc.1 + IL_0096: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_009b: brtrue IL_00b0 - // method line 1979 - .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBaseBuilder get_Current () cil managed - { - // Method begins at RVA 0x28538 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.DataTypeBaseBuilder V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.DataTypeBaseBuilder - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_00a0: nop + IL_00a1: ldloc.3 + IL_00a2: ldloc.s 5 + IL_00a4: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00a9: pop + IL_00aa: nop + IL_00ab: br IL_0113 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method DataTypeBaseBuilderEnumerator::get_Current + IL_00b0: nop + IL_00b1: ldloc.s 5 + IL_00b3: ldfld bool NAnt.Core.DirectoryScanner/RegexEntry::IsRecursive + IL_00b8: brtrue IL_00c3 - // method line 1980 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x28560 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00bd: nop + IL_00be: leave IL_0114 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.get_Current + IL_00c3: ldloc.s 7 + IL_00c5: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00ca: stloc.s 8 + IL_00cc: ldloca.s 8 + IL_00ce: constrained. [mscorlib]System.Char + IL_00d4: callvirt instance string object::ToString() + IL_00d9: callvirt instance bool string::EndsWith(string) + IL_00de: brtrue IL_00f8 - // method line 1981 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x28580 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00e3: nop + IL_00e4: ldloc.s 7 + IL_00e6: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00eb: box [mscorlib]System.Char + IL_00f0: call string string::Concat(object, object) + IL_00f5: stloc.s 7 + IL_00f7: nop + IL_00f8: ldloc.2 + IL_00f9: ldarg.1 + IL_00fa: ldloc.s 7 + IL_00fc: ldloc.1 + IL_00fd: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0102: brfalse IL_0112 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseBuilderEnumerator::MoveNext + IL_0107: nop + IL_0108: ldloc.3 + IL_0109: ldloc.s 5 + IL_010b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0110: pop + IL_0111: nop + IL_0112: nop + IL_0113: nop + IL_0114: ldloc.s 6 + IL_0116: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_011b: brtrue IL_0079 - // method line 1982 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x285a0 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0120: leave IL_013c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.MoveNext + } // end .try 0 + finally { // 0 + IL_0125: ldloc.s 6 + IL_0127: isinst [mscorlib]System.IDisposable + IL_012c: dup + IL_012d: stloc.s 9 + IL_012f: brfalse IL_013b - // method line 1983 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x285c0 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method DataTypeBaseBuilderEnumerator::Reset + IL_0134: ldloc.s 9 + IL_0136: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_013b: endfinally + } // end handler 0 + IL_013c: nop + IL_013d: ldarg.0 + IL_013e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.DirectoryScanner::_excludePatterns + IL_0143: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0148: stloc.s 11 + .try { // 1 + IL_014a: br IL_01fd - // method line 1984 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x285ce - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.DataTypeBaseBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.Reset + IL_014f: ldloc.s 11 + IL_0151: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0156: castclass NAnt.Core.DirectoryScanner/RegexEntry + IL_015b: stloc.s 10 + IL_015d: nop + IL_015e: ldloc.s 10 + IL_0160: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_0165: stloc.s 12 + IL_0167: ldloc.s 10 + IL_0169: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_016e: callvirt instance int32 string::get_Length() + IL_0173: brfalse IL_0187 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.DataTypeBaseBuilder Current () - { - .get instance default class NAnt.Core.DataTypeBaseBuilder NAnt.Core.DataTypeBaseBuilderEnumerator::get_Current () - } - } // end of class NAnt.Core.DataTypeBaseBuilderEnumerator -} + IL_0178: ldloc.2 + IL_0179: ldarg.1 + IL_017a: ldloc.s 12 + IL_017c: ldloc.1 + IL_017d: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0182: brtrue IL_0198 -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit ExpressionParseException - extends [mscorlib]System.Exception - { - .field private int32 _startPos - .field private int32 _endPos + IL_0187: nop + IL_0188: ldloc.s 4 + IL_018a: ldloc.s 10 + IL_018c: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0191: pop + IL_0192: nop + IL_0193: br IL_01fc - // method line 1985 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x285dc - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.m1 - IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_000e: ldarg.0 - IL_000f: call instance void class [mscorlib]System.Exception::'.ctor'() - IL_0014: nop - IL_0015: ret - } // end of method ExpressionParseException::.ctor + IL_0198: nop + IL_0199: ldloc.s 10 + IL_019b: ldfld bool NAnt.Core.DirectoryScanner/RegexEntry::IsRecursive + IL_01a0: brtrue IL_01ab - // method line 1986 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message) cil managed - { - // Method begins at RVA 0x285f3 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.m1 - IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldnull - IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_0016: nop - IL_0017: ret - } // end of method ExpressionParseException::.ctor + IL_01a5: nop + IL_01a6: leave IL_01fd - // method line 1987 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class [mscorlib]System.Exception inner) cil managed - { - // Method begins at RVA 0x2860c - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.m1 - IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldarg.2 - IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_0016: nop - IL_0017: ret - } // end of method ExpressionParseException::.ctor + IL_01ab: ldloc.s 12 + IL_01ad: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_01b2: stloc.s 13 + IL_01b4: ldloca.s 13 + IL_01b6: constrained. [mscorlib]System.Char + IL_01bc: callvirt instance string object::ToString() + IL_01c1: callvirt instance bool string::EndsWith(string) + IL_01c6: brtrue IL_01e0 - // method line 1988 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed - { - // Method begins at RVA 0x28628 - // Code size 88 (0x58) - .maxstack 4 - IL_0000: ldarg.0 - IL_0001: ldc.i4.m1 - IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldarg.2 - IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: ldarg.1 - IL_0019: ldstr "startPos" - IL_001e: ldtoken [mscorlib]System.Int32 - IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0028: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_002d: unbox.any [mscorlib]System.Int32 - IL_0032: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0037: ldarg.0 - IL_0038: ldarg.1 - IL_0039: ldstr "endPos" - IL_003e: ldtoken [mscorlib]System.Int32 - IL_0043: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0048: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_004d: unbox.any [mscorlib]System.Int32 - IL_0052: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_0057: ret - } // end of method ExpressionParseException::.ctor + IL_01cb: nop + IL_01cc: ldloc.s 12 + IL_01ce: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_01d3: box [mscorlib]System.Char + IL_01d8: call string string::Concat(object, object) + IL_01dd: stloc.s 12 + IL_01df: nop + IL_01e0: ldloc.2 + IL_01e1: ldarg.1 + IL_01e2: ldloc.s 12 + IL_01e4: ldloc.1 + IL_01e5: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_01ea: brfalse IL_01fb - // method line 1989 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, int32 pos) cil managed - { - // Method begins at RVA 0x2868c - // Code size 38 (0x26) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.m1 - IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldnull - IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: ldarg.2 - IL_0019: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_001e: ldarg.0 - IL_001f: ldc.i4.m1 - IL_0020: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_0025: ret - } // end of method ExpressionParseException::.ctor + IL_01ef: nop + IL_01f0: ldloc.s 4 + IL_01f2: ldloc.s 10 + IL_01f4: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_01f9: pop + IL_01fa: nop + IL_01fb: nop + IL_01fc: nop + IL_01fd: ldloc.s 11 + IL_01ff: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0204: brtrue IL_014f - // method line 1990 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, int32 startPos, int32 endPos) cil managed - { - // Method begins at RVA 0x286b3 - // Code size 38 (0x26) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.m1 - IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldnull - IL_0011: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: ldarg.2 - IL_0019: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_001e: ldarg.0 - IL_001f: ldarg.3 - IL_0020: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_0025: ret - } // end of method ExpressionParseException::.ctor + IL_0209: leave IL_0225 - // method line 1991 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, int32 startPos, int32 endPos, class [mscorlib]System.Exception inner) cil managed - { - // Method begins at RVA 0x286da - // Code size 39 (0x27) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.m1 - IL_0002: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: ldarg.0 - IL_0008: ldc.i4.m1 - IL_0009: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldarg.s 4 - IL_0012: call instance void class [mscorlib]System.Exception::'.ctor'(string, class [mscorlib]System.Exception) - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldarg.2 - IL_001a: stfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_001f: ldarg.0 - IL_0020: ldarg.3 - IL_0021: stfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_0026: ret - } // end of method ExpressionParseException::.ctor + } // end .try 1 + finally { // 1 + IL_020e: ldloc.s 11 + IL_0210: isinst [mscorlib]System.IDisposable + IL_0215: dup + IL_0216: stloc.s 14 + IL_0218: brfalse IL_0224 - // method line 1992 - .method public hidebysig specialname - instance default int32 get_StartPos () cil managed - { - // Method begins at RVA 0x28704 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_021d: ldloc.s 14 + IL_021f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0224: endfinally + } // end handler 1 + IL_0225: nop + IL_0226: ldloc.0 + IL_0227: callvirt instance class [mscorlib]System.IO.DirectoryInfo[] class [mscorlib]System.IO.DirectoryInfo::GetDirectories() + IL_022c: stloc.s 16 + IL_022e: ldc.i4.0 + IL_022f: stloc.s 17 + IL_0231: br IL_028c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionParseException::get_StartPos + IL_0236: ldloc.s 16 + IL_0238: ldloc.s 17 + IL_023a: ldelem.ref + IL_023b: stloc.s 15 + IL_023d: nop + IL_023e: ldarg.2 + IL_023f: brfalse IL_0259 - // method line 1993 - .method public hidebysig specialname - instance default int32 get_EndPos () cil managed - { - // Method begins at RVA 0x28720 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0244: nop + IL_0245: ldarg.0 + IL_0246: ldloc.s 15 + IL_0248: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_024d: ldc.i4.1 + IL_024e: call instance void class NAnt.Core.DirectoryScanner::ScanDirectory(string, bool) + IL_0253: nop + IL_0254: br IL_0285 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionParseException::get_EndPos + IL_0259: nop + IL_025a: ldarg.0 + IL_025b: ldloc.s 15 + IL_025d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0262: ldloc.3 + IL_0263: ldloc.s 4 + IL_0265: call instance bool class NAnt.Core.DirectoryScanner::IsPathIncluded(string, class [mscorlib]System.Collections.ArrayList, class [mscorlib]System.Collections.ArrayList) + IL_026a: brfalse IL_0284 - // method line 1994 - .method public virtual hidebysig - instance default void GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed - { - // Method begins at RVA 0x2873b - // Code size 44 (0x2c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "startPos" - IL_0007: ldarg.0 - IL_0008: ldfld int32 NAnt.Core.ExpressionParseException::_startPos - IL_000d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, int32) - IL_0012: ldarg.1 - IL_0013: ldstr "endPos" - IL_0018: ldarg.0 - IL_0019: ldfld int32 NAnt.Core.ExpressionParseException::_endPos - IL_001e: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, int32) - IL_0023: ldarg.0 - IL_0024: ldarg.1 - IL_0025: ldarg.2 - IL_0026: call instance void class [mscorlib]System.Exception::GetObjectData(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) - IL_002b: ret - } // end of method ExpressionParseException::GetObjectData + IL_026f: nop + IL_0270: ldarg.0 + IL_0271: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_0276: ldloc.s 15 + IL_0278: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_027d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0282: pop + IL_0283: nop + IL_0284: nop + IL_0285: nop + IL_0286: ldloc.s 17 + IL_0288: ldc.i4.1 + IL_0289: add + IL_028a: stloc.s 17 + IL_028c: ldloc.s 17 + IL_028e: ldloc.s 16 + IL_0290: ldlen + IL_0291: conv.i4 + IL_0292: blt IL_0236 - .property instance int32 StartPos () - { - .get instance default int32 NAnt.Core.ExpressionParseException::get_StartPos () - } - .property instance int32 EndPos () - { - .get instance default int32 NAnt.Core.ExpressionParseException::get_EndPos () - } - } // end of class NAnt.Core.ExpressionParseException -} + IL_0297: nop + IL_0298: ldloc.0 + IL_0299: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles() + IL_029e: stloc.s 19 + IL_02a0: ldc.i4.0 + IL_02a1: stloc.s 20 + IL_02a3: br IL_02f1 -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit ConfigurationSection - extends [mscorlib]System.Object - implements [System]System.Configuration.IConfigurationSectionHandler { + IL_02a8: ldloc.s 19 + IL_02aa: ldloc.s 20 + IL_02ac: ldelem.ref + IL_02ad: stloc.s 18 + IL_02af: nop + IL_02b0: ldarg.1 + IL_02b1: ldloc.s 18 + IL_02b3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_02b8: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_02bd: stloc.s 21 + IL_02bf: ldarg.0 + IL_02c0: ldloc.s 21 + IL_02c2: ldloc.3 + IL_02c3: ldloc.s 4 + IL_02c5: call instance bool class NAnt.Core.DirectoryScanner::IsPathIncluded(string, class [mscorlib]System.Collections.ArrayList, class [mscorlib]System.Collections.ArrayList) + IL_02ca: brfalse IL_02ea - // method line 1995 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x28768 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method ConfigurationSection::.ctor + IL_02cf: nop + IL_02d0: ldarg.0 + IL_02d1: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_fileNames + IL_02d6: ldarg.1 + IL_02d7: ldloc.s 18 + IL_02d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_02de: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_02e3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_02e8: pop + IL_02e9: nop + IL_02ea: nop + IL_02eb: ldloc.s 20 + IL_02ed: ldc.i4.1 + IL_02ee: add + IL_02ef: stloc.s 20 + IL_02f1: ldloc.s 20 + IL_02f3: ldloc.s 19 + IL_02f5: ldlen + IL_02f6: conv.i4 + IL_02f7: blt IL_02a8 + + IL_02fc: ldarg.0 + IL_02fd: ldarg.1 + IL_02fe: ldloc.3 + IL_02ff: ldloc.s 4 + IL_0301: call instance bool class NAnt.Core.DirectoryScanner::IsPathIncluded(string, class [mscorlib]System.Collections.ArrayList, class [mscorlib]System.Collections.ArrayList) + IL_0306: brfalse IL_031a - // method line 1996 - .method public final virtual hidebysig newslot - instance default object Create (object parent, object configContext, class [System.Xml]System.Xml.XmlNode node) cil managed + IL_030b: nop + IL_030c: ldarg.0 + IL_030d: ldfld class NAnt.Core.DirScannerStringCollection NAnt.Core.DirectoryScanner::_directoryNames + IL_0312: ldarg.1 + IL_0313: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0318: pop + IL_0319: nop + IL_031a: ret + } // end of method DirectoryScanner::ScanDirectory + + // method line 2062 + .method private hidebysig + instance default bool TestRegex (string path, class NAnt.Core.DirectoryScanner/RegexEntry entry) cil managed { - // Method begins at RVA 0x28770 - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x27a54 + // Code size 241 (0xf1) + .maxstack 4 .locals init ( - object V_0) + class [mscorlib]System.Collections.Hashtable V_0, + class [System]System.Text.RegularExpressions.Regex V_1, + valuetype [System]System.Text.RegularExpressions.RegexOptions V_2, + bool V_3, + bool V_4, + char V_5) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConfigurationSection::Create + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_0007: brfalse IL_0016 - } // end of class NAnt.Core.ConfigurationSection -} + IL_000c: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseSensitiveRegexes + IL_0011: br IL_001b -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit TaskBuilderCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_0016: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseInsensitiveRegexes + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.2 + IL_001e: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern + IL_0023: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0028: castclass [System]System.Text.RegularExpressions.Regex + IL_002d: stloc.1 + IL_002e: ldloc.1 + IL_002f: brtrue IL_0061 + IL_0034: nop + IL_0035: ldc.i4.8 + IL_0036: stloc.2 + IL_0037: ldarg.0 + IL_0038: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_003d: brtrue IL_0046 - // method line 1997 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x28786 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method TaskBuilderCollection::.ctor + IL_0042: ldloc.2 + IL_0043: ldc.i4.1 + IL_0044: or + IL_0045: stloc.2 + IL_0046: ldloc.0 + IL_0047: ldarg.2 + IL_0048: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern + IL_004d: ldarg.2 + IL_004e: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::Pattern + IL_0053: ldloc.2 + IL_0054: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_0059: dup + IL_005a: stloc.1 + IL_005b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0060: nop + IL_0061: ldarg.1 + IL_0062: callvirt instance int32 string::get_Length() + IL_0067: ldarg.2 + IL_0068: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_006d: callvirt instance int32 string::get_Length() + IL_0072: bne.un IL_0089 - // method line 1998 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.TaskBuilderCollection 'value') cil managed - { - // Method begins at RVA 0x2878f - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.TaskBuilderCollection::AddRange(class NAnt.Core.TaskBuilderCollection) - IL_000e: ret - } // end of method TaskBuilderCollection::.ctor + IL_0077: nop + IL_0078: ldloc.1 + IL_0079: ldsfld string [mscorlib]System.String::Empty + IL_007e: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) + IL_0083: stloc.3 + IL_0084: br IL_00ef - // method line 1999 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.TaskBuilder[] 'value') cil managed - { - // Method begins at RVA 0x2879f - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.TaskBuilderCollection::AddRange(class NAnt.Core.TaskBuilder[]) - IL_000e: ret - } // end of method TaskBuilderCollection::.ctor + IL_0089: ldarg.2 + IL_008a: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_008f: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0094: stloc.s 5 + IL_0096: ldloca.s 5 + IL_0098: constrained. [mscorlib]System.Char + IL_009e: callvirt instance string object::ToString() + IL_00a3: callvirt instance bool string::EndsWith(string) + IL_00a8: stloc.s 4 + IL_00aa: ldloc.s 4 + IL_00ac: brfalse IL_00cf - // method line 2000 - .method public hidebysig specialname - instance default class NAnt.Core.TaskBuilder get_Item (int32 index) cil managed - { - // Method begins at RVA 0x287b0 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.Core.TaskBuilder V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.TaskBuilder - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_00b1: nop + IL_00b2: ldloc.1 + IL_00b3: ldarg.1 + IL_00b4: ldarg.2 + IL_00b5: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_00ba: callvirt instance int32 string::get_Length() + IL_00bf: callvirt instance string string::Substring(int32) + IL_00c4: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) + IL_00c9: stloc.3 + IL_00ca: br IL_00ef - IL_0018: ldloc.0 - IL_0019: ret - } // end of method TaskBuilderCollection::get_Item + IL_00cf: nop + IL_00d0: ldloc.1 + IL_00d1: ldarg.1 + IL_00d2: ldarg.2 + IL_00d3: ldfld string NAnt.Core.DirectoryScanner/RegexEntry::BaseDirectory + IL_00d8: callvirt instance int32 string::get_Length() + IL_00dd: ldc.i4.1 + IL_00de: add + IL_00df: callvirt instance string string::Substring(int32) + IL_00e4: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) + IL_00e9: stloc.3 + IL_00ea: br IL_00ef - // method line 2001 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.TaskBuilder 'value') cil managed - { - // Method begins at RVA 0x287d6 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method TaskBuilderCollection::set_Item + IL_00ef: ldloc.3 + IL_00f0: ret + } // end of method DirectoryScanner::TestRegex - // method line 2002 - .method public hidebysig specialname - instance default class NAnt.Core.TaskBuilder get_Item (string taskName) cil managed + // method line 2063 + .method private hidebysig + instance default bool IsPathIncluded (string path, class [mscorlib]System.Collections.ArrayList includedPatterns, class [mscorlib]System.Collections.ArrayList excludedPatterns) cil managed { - // Method begins at RVA 0x287e8 - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0x27b54 + // Code size 471 (0x1d7) + .maxstack 4 .locals init ( - class NAnt.Core.TaskBuilder V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.TaskBuilder V_2, - class [mscorlib]System.IDisposable V_3) + bool V_0, + valuetype [mscorlib]System.Globalization.CompareOptions V_1, + class [mscorlib]System.Globalization.CompareInfo V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + class NAnt.Core.DirectoryScanner/RegexEntry V_6, + class [mscorlib]System.Collections.IEnumerator V_7, + class [mscorlib]System.IDisposable V_8, + string V_9, + class [System]System.Collections.Specialized.StringEnumerator V_10, + class [mscorlib]System.IDisposable V_11, + class NAnt.Core.DirectoryScanner/RegexEntry V_12, + class [mscorlib]System.Collections.IEnumerator V_13, + class [mscorlib]System.IDisposable V_14, + bool V_15) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldc.i4.0 + IL_0004: stloc.1 + IL_0005: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000a: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000f: stloc.2 + IL_0010: ldarg.0 + IL_0011: call instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() + IL_0016: brtrue IL_001f - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 + IL_001b: ldloc.1 + IL_001c: ldc.i4.1 + IL_001d: or + IL_001e: stloc.1 + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_includeNames + IL_0026: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_002b: stloc.s 4 .try { // 0 - IL_0015: br IL_0041 + IL_002d: br IL_0052 - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.TaskBuilder - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.Core.TaskBuilder::get_TaskName() - IL_002e: callvirt instance bool string::Equals(string) - IL_0033: brfalse IL_0040 + IL_0032: ldloc.s 4 + IL_0034: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0039: stloc.3 + IL_003a: nop + IL_003b: ldloc.2 + IL_003c: ldloc.3 + IL_003d: ldarg.1 + IL_003e: ldloc.1 + IL_003f: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0044: brtrue IL_0051 - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + IL_0049: nop + IL_004a: ldc.i4.1 + IL_004b: stloc.0 + IL_004c: leave IL_005e - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + IL_0051: nop + IL_0052: ldloc.s 4 + IL_0054: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0059: brtrue IL_0032 - IL_004c: leave IL_0065 + IL_005e: leave IL_007a } // end .try 0 finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + IL_0063: ldloc.s 4 + IL_0065: isinst [mscorlib]System.IDisposable + IL_006a: dup + IL_006b: stloc.s 5 + IL_006d: brfalse IL_0079 - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally + IL_0072: ldloc.s 5 + IL_0074: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0079: endfinally } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + IL_007a: ldloc.0 + IL_007b: brtrue IL_00de - IL_006d: ldloc.2 - IL_006e: ret - } // end of method TaskBuilderCollection::get_Item + IL_0080: nop + IL_0081: nop + IL_0082: ldarg.2 + IL_0083: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0088: stloc.s 7 + .try { // 1 + IL_008a: br IL_00b5 - // method line 2003 - .method public hidebysig - instance default int32 Add (class NAnt.Core.TaskBuilder item) cil managed - { - // Method begins at RVA 0x28874 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_008f: ldloc.s 7 + IL_0091: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0096: castclass NAnt.Core.DirectoryScanner/RegexEntry + IL_009b: stloc.s 6 + IL_009d: nop + IL_009e: ldarg.0 + IL_009f: ldarg.1 + IL_00a0: ldloc.s 6 + IL_00a2: call instance bool class NAnt.Core.DirectoryScanner::TestRegex(string, class NAnt.Core.DirectoryScanner/RegexEntry) + IL_00a7: brfalse IL_00b4 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TaskBuilderCollection::Add + IL_00ac: nop + IL_00ad: ldc.i4.1 + IL_00ae: stloc.0 + IL_00af: leave IL_00c1 - // method line 2004 - .method public hidebysig - instance default void AddRange (class NAnt.Core.TaskBuilder[] items) cil managed - { - // Method begins at RVA 0x28898 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_00b4: nop + IL_00b5: ldloc.s 7 + IL_00b7: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00bc: brtrue IL_008f - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.TaskBuilderCollection::Add(class NAnt.Core.TaskBuilder) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_00c1: leave IL_00dd - IL_0021: ret - } // end of method TaskBuilderCollection::AddRange + } // end .try 1 + finally { // 1 + IL_00c6: ldloc.s 7 + IL_00c8: isinst [mscorlib]System.IDisposable + IL_00cd: dup + IL_00ce: stloc.s 8 + IL_00d0: brfalse IL_00dc - // method line 2005 - .method public hidebysig - instance default void AddRange (class NAnt.Core.TaskBuilderCollection items) cil managed - { - // Method begins at RVA 0x288c8 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_00d5: ldloc.s 8 + IL_00d7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00dc: endfinally + } // end handler 1 + IL_00dd: nop + IL_00de: ldloc.0 + IL_00df: brfalse IL_0143 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.TaskBuilderCollection::Add(class NAnt.Core.TaskBuilder) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_00e4: nop + IL_00e5: nop + IL_00e6: ldarg.0 + IL_00e7: ldfld class NAnt.Core.StringCollectionWithGoodToString NAnt.Core.DirectoryScanner::_excludeNames + IL_00ec: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00f1: stloc.s 10 + .try { // 2 + IL_00f3: br IL_011a - IL_0028: ret - } // end of method TaskBuilderCollection::AddRange + IL_00f8: ldloc.s 10 + IL_00fa: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00ff: stloc.s 9 + IL_0101: nop + IL_0102: ldloc.2 + IL_0103: ldloc.s 9 + IL_0105: ldarg.1 + IL_0106: ldloc.1 + IL_0107: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::Compare(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_010c: brtrue IL_0119 - // method line 2006 - .method public hidebysig - instance default bool Contains (class NAnt.Core.TaskBuilder item) cil managed - { - // Method begins at RVA 0x28900 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0111: nop + IL_0112: ldc.i4.0 + IL_0113: stloc.0 + IL_0114: leave IL_0126 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TaskBuilderCollection::Contains + IL_0119: nop + IL_011a: ldloc.s 10 + IL_011c: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0121: brtrue IL_00f8 - // method line 2007 - .method public hidebysig - instance default bool Contains (string taskName) cil managed - { - // Method begins at RVA 0x28924 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0126: leave IL_0142 + + } // end .try 2 + finally { // 2 + IL_012b: ldloc.s 10 + IL_012d: isinst [mscorlib]System.IDisposable + IL_0132: dup + IL_0133: stloc.s 11 + IL_0135: brfalse IL_0141 - IL_0014: ldloc.0 - IL_0015: ret - } // end of method TaskBuilderCollection::Contains + IL_013a: ldloc.s 11 + IL_013c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0141: endfinally + } // end handler 2 + IL_0142: nop + IL_0143: ldloc.0 + IL_0144: brfalse IL_01a7 - // method line 2008 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.TaskBuilder[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x28946 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method TaskBuilderCollection::CopyTo + IL_0149: nop + IL_014a: nop + IL_014b: ldarg.3 + IL_014c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0151: stloc.s 13 + .try { // 3 + IL_0153: br IL_017e - // method line 2009 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.TaskBuilder item) cil managed - { - // Method begins at RVA 0x28958 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0158: ldloc.s 13 + IL_015a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_015f: castclass NAnt.Core.DirectoryScanner/RegexEntry + IL_0164: stloc.s 12 + IL_0166: nop + IL_0167: ldarg.0 + IL_0168: ldarg.1 + IL_0169: ldloc.s 12 + IL_016b: call instance bool class NAnt.Core.DirectoryScanner::TestRegex(string, class NAnt.Core.DirectoryScanner/RegexEntry) + IL_0170: brfalse IL_017d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TaskBuilderCollection::IndexOf + IL_0175: nop + IL_0176: ldc.i4.0 + IL_0177: stloc.0 + IL_0178: leave IL_018a - // method line 2010 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.TaskBuilder item) cil managed - { - // Method begins at RVA 0x28979 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method TaskBuilderCollection::Insert + IL_017d: nop + IL_017e: ldloc.s 13 + IL_0180: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0185: brtrue IL_0158 - // method line 2011 - .method public hidebysig - instance default class NAnt.Core.TaskBuilderEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x2898c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.TaskBuilderEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.TaskBuilderEnumerator::'.ctor'(class NAnt.Core.TaskBuilderCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_018a: leave IL_01a6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TaskBuilderCollection::GetEnumerator + } // end .try 3 + finally { // 3 + IL_018f: ldloc.s 13 + IL_0191: isinst [mscorlib]System.IDisposable + IL_0196: dup + IL_0197: stloc.s 14 + IL_0199: brfalse IL_01a5 - // method line 2012 - .method public hidebysig - instance default void Remove (class NAnt.Core.TaskBuilder item) cil managed - { - // Method begins at RVA 0x289a7 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method TaskBuilderCollection::Remove + IL_019e: ldloc.s 14 + IL_01a0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01a5: endfinally + } // end handler 3 + IL_01a6: nop + IL_01a7: ldloc.0 + IL_01a8: brtrue IL_01cc - .property instance class NAnt.Core.TaskBuilder Item (int32) - { - .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderCollection::get_Item (int32 index) - .set instance default void NAnt.Core.TaskBuilderCollection::set_Item (int32 index, class NAnt.Core.TaskBuilder 'value') - } - .property instance class NAnt.Core.TaskBuilder Item (string) - { - .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderCollection::get_Item (string taskName) - } - } // end of class NAnt.Core.TaskBuilderCollection -} + IL_01ad: ldarg.0 + IL_01ae: ldfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded + IL_01b3: brfalse IL_01cc -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit TaskBuilderEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_01b8: ldarg.1 + IL_01b9: call bool class [mscorlib]System.IO.File::Exists(string) + IL_01be: brfalse IL_01cc - // method line 2013 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.TaskBuilderCollection arguments) cil managed - { - // Method begins at RVA 0x289b8 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator - IL_0015: ret - } // end of method TaskBuilderEnumerator::.ctor + IL_01c3: nop + IL_01c4: ldarg.0 + IL_01c5: ldc.i4.0 + IL_01c6: stfld bool NAnt.Core.DirectoryScanner::_isEverythingIncluded + IL_01cb: nop + IL_01cc: ldloc.0 + IL_01cd: stloc.s 15 + IL_01cf: br IL_01d4 - // method line 2014 - .method public hidebysig specialname - instance default class NAnt.Core.TaskBuilder get_Current () cil managed + IL_01d4: ldloc.s 15 + IL_01d6: ret + } // end of method DirectoryScanner::IsPathIncluded + + // method line 2064 + .method private static hidebysig + default class [mscorlib]System.Text.StringBuilder CleanPath (string nantPath) cil managed { - // Method begins at RVA 0x289dc - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x27d6c + // Code size 45 (0x2d) + .maxstack 3 .locals init ( - class NAnt.Core.TaskBuilder V_0) + class [mscorlib]System.Text.StringBuilder V_0, + class [mscorlib]System.Text.StringBuilder V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.TaskBuilder - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldc.i4.s 0x2f + IL_000b: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0010: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(char, char) + IL_0015: pop + IL_0016: ldloc.0 + IL_0017: ldc.i4.s 0x5c + IL_0019: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_001e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(char, char) + IL_0023: pop + IL_0024: ldloc.0 + IL_0025: stloc.1 + IL_0026: br IL_002b - IL_0017: ldloc.0 - IL_0018: ret - } // end of method TaskBuilderEnumerator::get_Current + IL_002b: ldloc.1 + IL_002c: ret + } // end of method DirectoryScanner::CleanPath - // method line 2015 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 2065 + .method private static hidebysig + default string CleanPath (string baseDirectory, string nantPath) cil managed { - // Method begins at RVA 0x28a04 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x27da8 + // Code size 36 (0x24) + .maxstack 2 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) + IL_0008: callvirt instance string object::ToString() + IL_000d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0012: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001c: stloc.0 + IL_001d: br IL_0022 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.get_Current + IL_0022: ldloc.0 + IL_0023: ret + } // end of method DirectoryScanner::CleanPath - // method line 2016 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 2066 + .method private static hidebysig + default string ToRegexPattern (string nantPattern) cil managed { - // Method begins at RVA 0x28a24 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x27dd8 + // Code size 579 (0x243) + .maxstack 6 .locals init ( - bool V_0) + class [mscorlib]System.Text.StringBuilder V_0, + string V_1, + char V_2, + string V_3, + string V_4) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: call class [mscorlib]System.Text.StringBuilder class NAnt.Core.DirectoryScanner::CleanPath(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldstr "\\" + IL_000e: ldstr "\\\\" + IL_0013: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_0018: pop + IL_0019: ldloc.0 + IL_001a: ldstr "." + IL_001f: ldstr "\\." + IL_0024: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_0029: pop + IL_002a: ldloc.0 + IL_002b: ldstr "$" + IL_0030: ldstr "\\$" + IL_0035: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_003a: pop + IL_003b: ldloc.0 + IL_003c: ldstr "^" + IL_0041: ldstr "\\^" + IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_004b: pop + IL_004c: ldloc.0 + IL_004d: ldstr "{" + IL_0052: ldstr "\\{" + IL_0057: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_005c: pop + IL_005d: ldloc.0 + IL_005e: ldstr "[" + IL_0063: ldstr "\\[" + IL_0068: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_006d: pop + IL_006e: ldloc.0 + IL_006f: ldstr "(" + IL_0074: ldstr "\\(" + IL_0079: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_007e: pop + IL_007f: ldloc.0 + IL_0080: ldstr ")" + IL_0085: ldstr "\\)" + IL_008a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_008f: pop + IL_0090: ldloc.0 + IL_0091: ldstr "+" + IL_0096: ldstr "\\+" + IL_009b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_00a0: pop + IL_00a1: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00a6: stloc.2 + IL_00a7: ldloca.s 2 + IL_00a9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ae: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_00b3: stloc.1 + IL_00b4: ldloc.1 + IL_00b5: ldstr "\\" + IL_00ba: call bool string::op_Equality(string, string) + IL_00bf: brfalse IL_00ca - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TaskBuilderEnumerator::MoveNext + IL_00c4: ldstr "\\\\" + IL_00c9: stloc.1 + IL_00ca: ldloc.0 + IL_00cb: ldstr "?" + IL_00d0: ldstr "[^" + IL_00d5: ldloc.1 + IL_00d6: ldstr "]?" + IL_00db: call string string::Concat(string, string, string) + IL_00e0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_00e5: pop + IL_00e6: ldloc.0 + IL_00e7: callvirt instance string object::ToString() + IL_00ec: ldc.i4.5 + IL_00ed: newarr [mscorlib]System.String + IL_00f2: dup + IL_00f3: ldc.i4.0 + IL_00f4: ldstr "(?<=" + IL_00f9: stelem.ref + IL_00fa: dup + IL_00fb: ldc.i4.1 + IL_00fc: ldloc.1 + IL_00fd: stelem.ref + IL_00fe: dup + IL_00ff: ldc.i4.2 + IL_0100: ldstr ")\\*(?=($|" + IL_0105: stelem.ref + IL_0106: dup + IL_0107: ldc.i4.3 + IL_0108: ldloc.1 + IL_0109: stelem.ref + IL_010a: dup + IL_010b: ldc.i4.4 + IL_010c: ldstr "))" + IL_0111: stelem.ref + IL_0112: call string string::Concat(string[]) + IL_0117: ldstr "[^" + IL_011c: ldloc.1 + IL_011d: ldstr "]+" + IL_0122: call string string::Concat(string, string, string) + IL_0127: call string class [System]System.Text.RegularExpressions.Regex::Replace(string, string, string) + IL_012c: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_0131: stloc.0 + IL_0132: ldloc.0 + IL_0133: ldloc.1 + IL_0134: ldstr "**" + IL_0139: ldloc.1 + IL_013a: call string string::Concat(string, string, string) + IL_013f: ldloc.1 + IL_0140: ldstr "(.|?" + IL_0145: ldloc.1 + IL_0146: ldstr ")?" + IL_014b: call string string::Concat(string, string, string, string) + IL_0150: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_0155: pop + IL_0156: ldloc.0 + IL_0157: ldstr "**" + IL_015c: ldloc.1 + IL_015d: call string string::Concat(string, string) + IL_0162: ldstr ".|(?<=^|" + IL_0167: ldloc.1 + IL_0168: ldstr ")" + IL_016d: call string string::Concat(string, string, string) + IL_0172: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_0177: pop + IL_0178: ldloc.0 + IL_0179: ldloc.1 + IL_017a: ldstr "**" + IL_017f: call string string::Concat(string, string) + IL_0184: ldstr "(?=$|" + IL_0189: ldloc.1 + IL_018a: ldstr ").|" + IL_018f: call string string::Concat(string, string, string) + IL_0194: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_0199: pop + IL_019a: ldloc.0 + IL_019b: ldstr "**" + IL_01a0: ldstr ".|" + IL_01a5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_01aa: pop + IL_01ab: ldloc.0 + IL_01ac: ldstr "*" + IL_01b1: ldstr "[^" + IL_01b6: ldloc.1 + IL_01b7: ldstr "]*" + IL_01bc: call string string::Concat(string, string, string) + IL_01c1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_01c6: pop + IL_01c7: ldloc.0 + IL_01c8: ldstr ".|" + IL_01cd: ldstr ".*" + IL_01d2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Replace(string, string) + IL_01d7: pop + IL_01d8: ldloc.0 + IL_01d9: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_01de: ldc.i4.0 + IL_01df: ble IL_01f9 - // method line 2017 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x28a44 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_01e4: nop + IL_01e5: ldloc.0 + IL_01e6: ldc.i4.0 + IL_01e7: ldc.i4.s 0x5e + IL_01e9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Insert(int32, char) + IL_01ee: pop + IL_01ef: ldloc.0 + IL_01f0: ldc.i4.s 0x24 + IL_01f2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_01f7: pop + IL_01f8: nop + IL_01f9: ldloc.0 + IL_01fa: callvirt instance string object::ToString() + IL_01ff: stloc.3 + IL_0200: ldloc.3 + IL_0201: ldstr "^.*" + IL_0206: callvirt instance bool string::StartsWith(string) + IL_020b: brfalse IL_0218 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.MoveNext + IL_0210: ldloc.3 + IL_0211: ldc.i4.3 + IL_0212: callvirt instance string string::Substring(int32) + IL_0217: stloc.3 + IL_0218: ldloc.3 + IL_0219: ldstr ".*$" + IL_021e: callvirt instance bool string::EndsWith(string) + IL_0223: brfalse IL_0238 - // method line 2018 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x28a64 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method TaskBuilderEnumerator::Reset + IL_0228: ldloc.3 + IL_0229: ldc.i4.0 + IL_022a: ldloc.0 + IL_022b: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0230: ldc.i4.3 + IL_0231: sub + IL_0232: callvirt instance string string::Substring(int32, int32) + IL_0237: stloc.3 + IL_0238: ldloc.3 + IL_0239: stloc.s 4 + IL_023b: br IL_0240 - // method line 2019 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + IL_0240: ldloc.s 4 + IL_0242: ret + } // end of method DirectoryScanner::ToRegexPattern + + // method line 2067 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x28a72 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x28027 + // Code size 41 (0x29) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.Reset + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.DirectoryScanner::logger + IL_0014: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0019: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseSensitiveRegexes + IL_001e: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0023: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DirectoryScanner::cachedCaseInsensitiveRegexes + IL_0028: ret + } // end of method DirectoryScanner::.cctor - .property instance object System.Collections.IEnumerator.Current () + .property instance bool CaseSensitive () { - .get instance default object NAnt.Core.TaskBuilderEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default bool NAnt.Core.DirectoryScanner::get_CaseSensitive () + .set instance default void NAnt.Core.DirectoryScanner::set_CaseSensitive (bool 'value') } - .property instance class NAnt.Core.TaskBuilder Current () + .property instance class [System]System.Collections.Specialized.StringCollection Includes () { - .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderEnumerator::get_Current () + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_Includes () } - } // end of class NAnt.Core.TaskBuilderEnumerator -} - -.namespace NAnt.Core -{ - .class public auto ansi sealed serializable beforefieldinit PathScanner + .property instance class [System]System.Collections.Specialized.StringCollection Excludes () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_Excludes () + } + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.DirectoryScanner::get_BaseDirectory () + .set instance default void NAnt.Core.DirectoryScanner::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class [System]System.Collections.Specialized.StringCollection FileNames () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_FileNames () + } + .property instance class [System]System.Collections.Specialized.StringCollection DirectoryNames () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_DirectoryNames () + } + .property instance class [System]System.Collections.Specialized.StringCollection ScannedDirectories () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.DirectoryScanner::get_ScannedDirectories () + } + .property instance bool IsEverythingIncluded () + { + .get instance default bool NAnt.Core.DirectoryScanner::get_IsEverythingIncluded () + } + .class nested private auto ansi serializable beforefieldinit RegexEntry extends [mscorlib]System.Object - implements [mscorlib]System.ICloneable { - .field private static initonly class [log4net]log4net.ILog logger - .field private class [System]System.Collections.Specialized.StringCollection _unscannedNames + { + .field public bool IsRecursive + .field public string BaseDirectory + .field public string Pattern - // method line 2020 + // method line 2068 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x28a80 - // Code size 18 (0x12) + // Method begins at RVA 0x28051 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ret - } // end of method PathScanner::.ctor - - // method line 2021 - .method private final virtual hidebysig newslot - instance default object System.ICloneable.Clone () cil managed - { - // Method begins at RVA 0x28a94 - .override Could not decode method override class [mscorlib]System.ICloneable::Clone due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.PathScanner class NAnt.Core.PathScanner::Clone() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PathScanner::System.ICloneable.Clone + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method RegexEntry::.ctor - // method line 2022 - .method public hidebysig - instance default class NAnt.Core.PathScanner Clone () cil managed - { - // Method begins at RVA 0x28ab0 - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - class NAnt.Core.PathScanner V_0, - class NAnt.Core.PathScanner V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.PathScanner::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames - IL_000e: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.PathScanner::Clone(class [System]System.Collections.Specialized.StringCollection) - IL_0013: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames - IL_0018: ldloc.0 - IL_0019: stloc.1 - IL_001a: br IL_001f + } // end of class RegexEntry - IL_001f: ldloc.1 - IL_0020: ret - } // end of method PathScanner::Clone + } // end of class NAnt.Core.DirectoryScanner +} - // method line 2023 - .method public hidebysig - instance default void Add (string fileName) cil managed - { - // Method begins at RVA 0x28add - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_000d: pop - IL_000e: ret - } // end of method PathScanner::Add +.namespace NAnt.Core +{ + .class private auto ansi serializable beforefieldinit StringCollectionWithGoodToString + extends [System]System.Collections.Specialized.StringCollection + implements [mscorlib]System.ICloneable { - // method line 2024 - .method public hidebysig - instance default void Clear () cil managed + // method line 2069 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x28aed - // Code size 13 (0xd) + // Method begins at RVA 0x28059 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames - IL_0007: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_000c: ret - } // end of method PathScanner::Clear - - // method line 2025 - .method public hidebysig - instance default class [System]System.Collections.Specialized.StringCollection Scan () cil managed - { - // Method begins at RVA 0x28afc - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "PATH" - IL_0007: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.PathScanner::Scan(string) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PathScanner::Scan - - // method line 2026 - .method public hidebysig - instance default class [System]System.Collections.Specialized.StringCollection Scan (string name) cil managed - { - // Method begins at RVA 0x28b1c - // Code size 371 (0x173) - .maxstack 4 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - string V_1, - class [System]System.Collections.Specialized.StringCollection V_2, - string[] V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - string V_6, - string V_7, - string V_8, - string[] V_9, - int32 V_10, - string V_11, - string[] V_12, - class [mscorlib]System.UnauthorizedAccessException V_13, - class [mscorlib]System.IDisposable V_14) - IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.1 - IL_0008: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_000d: stloc.1 - IL_000e: ldloc.1 - IL_000f: brtrue IL_001c - - IL_0014: nop - IL_0015: ldloc.0 - IL_0016: stloc.2 - IL_0017: br IL_0171 - - IL_001c: ldloc.1 - IL_001d: ldsfld char [mscorlib]System.IO.Path::PathSeparator - IL_0022: ldc.i4.0 - IL_0023: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0028: stloc.3 - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames - IL_0030: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0035: stloc.s 5 - .try { // 1 - IL_0037: br IL_0142 - - IL_003c: ldloc.s 5 - IL_003e: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0043: stloc.s 4 - IL_0045: nop - IL_0046: ldloc.s 4 - IL_0048: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_004d: brfalse IL_0076 - - IL_0052: nop - IL_0053: ldloc.s 4 - IL_0055: call bool class [mscorlib]System.IO.File::Exists(string) - IL_005a: brfalse IL_006f - - IL_005f: nop - IL_0060: ldloc.0 - IL_0061: ldloc.s 4 - IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0068: pop - IL_0069: nop - IL_006a: br IL_0075 - - IL_006f: nop - IL_0070: leave IL_0142 - - IL_0075: nop - IL_0076: ldloc.s 4 - IL_0078: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_007d: stloc.s 6 - IL_007f: ldloc.s 4 - IL_0081: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0086: stloc.s 7 - IL_0088: nop - IL_0089: ldloc.3 - IL_008a: stloc.s 9 - IL_008c: ldc.i4.0 - IL_008d: stloc.s 10 - IL_008f: br IL_0136 - - IL_0094: ldloc.s 9 - IL_0096: ldloc.s 10 - IL_0098: ldelem.ref - IL_0099: stloc.s 8 - IL_009b: nop - IL_009c: ldloc.s 8 - IL_009e: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_00a3: brtrue IL_00ae - - IL_00a8: nop - IL_00a9: leave IL_0130 - - IL_00ae: ldloc.s 8 - IL_00b0: stloc.s 11 - IL_00b2: ldloc.s 7 - IL_00b4: call bool string::IsNullOrEmpty(string) - IL_00b9: brtrue IL_00dd - - IL_00be: nop - IL_00bf: ldloc.s 8 - IL_00c1: ldloc.s 7 - IL_00c3: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00c8: stloc.s 11 - IL_00ca: ldloc.s 11 - IL_00cc: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_00d1: brtrue IL_00dc - - IL_00d6: nop - IL_00d7: leave IL_0130 - - IL_00dc: nop - .try { // 0 - IL_00dd: nop - IL_00de: ldloc.s 11 - IL_00e0: ldloc.s 6 - IL_00e2: call string[] class [mscorlib]System.IO.Directory::GetFiles(string, string) - IL_00e7: stloc.s 12 - IL_00e9: ldloc.s 12 - IL_00eb: ldlen - IL_00ec: conv.i4 - IL_00ed: ldc.i4.0 - IL_00ee: ble IL_0104 - - IL_00f3: nop - IL_00f4: ldloc.0 - IL_00f5: ldloc.s 12 - IL_00f7: ldc.i4.0 - IL_00f8: ldelem.ref - IL_00f9: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00fe: pop - IL_00ff: leave IL_0141 - - IL_0104: nop - IL_0105: leave IL_012f - - } // end .try 0 - catch class [mscorlib]System.UnauthorizedAccessException { // 0 - IL_010a: stloc.s 13 - IL_010c: nop - IL_010d: ldsfld class [log4net]log4net.ILog NAnt.Core.PathScanner::logger - IL_0112: ldstr "Access to the path \"" - IL_0117: ldloc.s 11 - IL_0119: ldstr "\" is denied." - IL_011e: call string string::Concat(string, string, string) - IL_0123: ldloc.s 13 - IL_0125: callvirt instance void class [log4net]log4net.ILog::Warn(object, class [mscorlib]System.Exception) - IL_012a: leave IL_0130 - - } // end handler 0 - IL_012f: nop - IL_0130: ldloc.s 10 - IL_0132: ldc.i4.1 - IL_0133: add - IL_0134: stloc.s 10 - IL_0136: ldloc.s 10 - IL_0138: ldloc.s 9 - IL_013a: ldlen - IL_013b: conv.i4 - IL_013c: blt IL_0094 - - IL_0141: nop - IL_0142: ldloc.s 5 - IL_0144: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0149: brtrue IL_003c - - IL_014e: leave IL_016a - - } // end .try 1 - finally { // 1 - IL_0153: ldloc.s 5 - IL_0155: isinst [mscorlib]System.IDisposable - IL_015a: dup - IL_015b: stloc.s 14 - IL_015d: brfalse IL_0169 - - IL_0162: ldloc.s 14 - IL_0164: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0169: endfinally - } // end handler 1 - IL_016a: ldloc.0 - IL_016b: stloc.2 - IL_016c: br IL_0171 - - IL_0171: ldloc.2 - IL_0172: ret - } // end of method PathScanner::Scan + IL_0000: ldarg.0 + IL_0001: call instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: ret + } // end of method StringCollectionWithGoodToString::.ctor - // method line 2027 - .method private static hidebysig - default class [System]System.Collections.Specialized.StringCollection Clone (class [System]System.Collections.Specialized.StringCollection stringCollection) cil managed + // method line 2070 + .method public virtual hidebysig newslot + instance default object Clone () cil managed { - // Method begins at RVA 0x28cd0 + // Method begins at RVA 0x28064 // Code size 43 (0x2b) .maxstack 3 .locals init ( string[] V_0, - class [System]System.Collections.Specialized.StringCollection V_1, - class [System]System.Collections.Specialized.StringCollection V_2) + class NAnt.Core.StringCollectionWithGoodToString V_1, + object V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0002: call instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() IL_0007: newarr [mscorlib]System.String IL_000c: stloc.0 IL_000d: ldarg.0 IL_000e: ldloc.0 IL_000f: ldc.i4.0 - IL_0010: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) - IL_0015: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0010: call instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0015: newobj instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() IL_001a: stloc.1 IL_001b: ldloc.1 IL_001c: ldloc.0 @@ -84233,11492 +80960,14765 @@ IL_0029: ldloc.2 IL_002a: ret - } // end of method PathScanner::Clone - - // method line 2028 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x28d07 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.PathScanner::logger - IL_0014: ret - } // end of method PathScanner::.cctor - - } // end of class NAnt.Core.PathScanner -} - -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit FrameworkInfo - extends [mscorlib]System.Object - implements [mscorlib]System.Runtime.Serialization.ISerializable { - .field private initonly class [System.Xml]System.Xml.XmlNode _frameworkNode - .field private initonly class [System.Xml]System.Xml.XmlNamespaceManager _nsMgr - .field private initonly string _name - .field private initonly string _family - .field private initonly string _description - .field private class [mscorlib]System.Version _version - .field private class [mscorlib]System.Version _clrVersion - .field private valuetype NAnt.Core.ClrType _clrType - .field private valuetype NAnt.Core.VendorType _vendor - .field private class [mscorlib]System.IO.DirectoryInfo _frameworkDirectory - .field private class [mscorlib]System.IO.DirectoryInfo _sdkDirectory - .field private class [mscorlib]System.IO.DirectoryInfo _frameworkAssemblyDirectory - .field private class NAnt.Core.Configuration.Runtime _runtime - .field private class NAnt.Core.Project _project - .field private class NAnt.Core.Types.FileSet _taskAssemblies - .field private class NAnt.Core.Types.FileSet[] _referenceAssemblies - .field private string[] _toolPaths - .field private valuetype NAnt.Core.FrameworkInfo/InitStatus _status + } // end of method StringCollectionWithGoodToString::Clone - // method line 2029 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlNode frameworkNode, class [System.Xml]System.Xml.XmlNamespaceManager nsMgr) cil managed + // method line 2071 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x28d20 - // Code size 274 (0x112) - .maxstack 4 + // Method begins at RVA 0x2809c + // Code size 129 (0x81) + .maxstack 3 .locals init ( - string V_0, - class [mscorlib]System.Exception V_1) - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0007: ldarg.0 - IL_0008: call instance void object::'.ctor'() - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: brtrue IL_0020 - - IL_0014: nop - IL_0015: ldstr "frameworkNode" - IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001f: throw - IL_0020: ldarg.2 - IL_0021: brtrue IL_0032 - - IL_0026: nop - IL_0027: ldstr "nsMgr" - IL_002c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0031: throw - IL_0032: ldarg.0 - IL_0033: ldarg.1 - IL_0034: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0039: ldarg.0 - IL_003a: ldarg.2 - IL_003b: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::_nsMgr - IL_0040: ldarg.0 - IL_0041: ldarg.1 - IL_0042: ldstr "name" - IL_0047: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_004c: stfld string NAnt.Core.FrameworkInfo::_name - IL_0051: ldarg.0 - IL_0052: ldfld string NAnt.Core.FrameworkInfo::_name - IL_0057: brtrue IL_0068 - - IL_005c: nop - IL_005d: ldstr "The \"name\" attribute does not exist, or has no value." - IL_0062: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0067: throw - IL_0068: ldarg.0 - IL_0069: ldarg.1 - IL_006a: ldstr "family" - IL_006f: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_0074: stfld string NAnt.Core.FrameworkInfo::_family - IL_0079: ldarg.0 - IL_007a: ldfld string NAnt.Core.FrameworkInfo::_family - IL_007f: brtrue IL_0090 - - IL_0084: nop - IL_0085: ldstr "The \"family\" attribute does not exist, or has no value." - IL_008a: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_008f: throw - IL_0090: ldarg.0 - IL_0091: ldarg.0 - IL_0092: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0097: ldstr "description" - IL_009c: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_00a1: stfld string NAnt.Core.FrameworkInfo::_description - IL_00a6: ldarg.0 - IL_00a7: ldfld string NAnt.Core.FrameworkInfo::_description - IL_00ac: brtrue IL_00bd + class [mscorlib]System.Text.StringBuilder V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string object::ToString() + IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldstr ":" + IL_0013: call string class [mscorlib]System.Environment::get_NewLine() + IL_0018: call string string::Concat(string, string) + IL_001d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0022: pop + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: call instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_002a: stloc.2 + .try { // 0 + IL_002b: br IL_004d - IL_00b1: nop - IL_00b2: ldstr "The \"description\" attribute does not exist, or has no value." - IL_00b7: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_00bc: throw - IL_00bd: ldarg.0 - IL_00be: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_00c3: ldstr "vendor" - IL_00c8: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_00cd: stloc.0 - IL_00ce: ldloc.0 - IL_00cf: brtrue IL_00e0 + IL_0030: ldloc.2 + IL_0031: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0036: stloc.1 + IL_0037: nop + IL_0038: ldloc.0 + IL_0039: ldloc.1 + IL_003a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_003f: pop + IL_0040: ldloc.0 + IL_0041: call string class [mscorlib]System.Environment::get_NewLine() + IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_004b: pop + IL_004c: nop + IL_004d: ldloc.2 + IL_004e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0053: brtrue IL_0030 - IL_00d4: nop - IL_00d5: ldstr "The \"vendor\" attribute does not exist, or has no value." - IL_00da: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_00df: throw - .try { // 0 - IL_00e0: nop - IL_00e1: ldarg.0 - IL_00e2: ldtoken NAnt.Core.VendorType - IL_00e7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00ec: ldloc.0 - IL_00ed: ldc.i4.1 - IL_00ee: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_00f3: unbox.any NAnt.Core.VendorType - IL_00f8: stfld valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::_vendor - IL_00fd: nop - IL_00fe: leave IL_0111 + IL_0058: leave IL_0071 } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0103: stloc.1 - IL_0104: nop - IL_0105: ldstr "The value of the \"vendor\" attribute is not valid." - IL_010a: ldloc.1 - IL_010b: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0110: throw + finally { // 0 + IL_005d: ldloc.2 + IL_005e: isinst [mscorlib]System.IDisposable + IL_0063: dup + IL_0064: stloc.3 + IL_0065: brfalse IL_0070 + + IL_006a: ldloc.3 + IL_006b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0070: endfinally } // end handler 0 - IL_0111: ret - } // end of method FrameworkInfo::.ctor + IL_0071: ldloc.0 + IL_0072: callvirt instance string object::ToString() + IL_0077: stloc.s 4 + IL_0079: br IL_007e - // method line 2030 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed - { - // Method begins at RVA 0x28e50 - // Code size 500 (0x1f4) - .maxstack 4 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0007: ldarg.0 - IL_0008: call instance void object::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldstr "Name" - IL_0015: callvirt instance string class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetString(string) - IL_001a: stfld string NAnt.Core.FrameworkInfo::_name - IL_001f: ldarg.0 - IL_0020: ldarg.1 - IL_0021: ldstr "Family" - IL_0026: callvirt instance string class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetString(string) - IL_002b: stfld string NAnt.Core.FrameworkInfo::_family - IL_0030: ldarg.0 - IL_0031: ldarg.1 - IL_0032: ldstr "Description" - IL_0037: callvirt instance string class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetString(string) - IL_003c: stfld string NAnt.Core.FrameworkInfo::_description - IL_0041: ldarg.0 - IL_0042: ldarg.1 - IL_0043: ldstr "Status" - IL_0048: ldtoken NAnt.Core.FrameworkInfo/InitStatus - IL_004d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0052: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0057: unbox.any NAnt.Core.FrameworkInfo/InitStatus - IL_005c: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0061: ldarg.0 - IL_0062: ldarg.1 - IL_0063: ldstr "ClrType" - IL_0068: ldtoken NAnt.Core.ClrType - IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0072: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0077: unbox.any NAnt.Core.ClrType - IL_007c: stfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType - IL_0081: ldarg.0 - IL_0082: ldarg.1 - IL_0083: ldstr "Version" - IL_0088: ldtoken [mscorlib]System.Version - IL_008d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0092: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0097: castclass [mscorlib]System.Version - IL_009c: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version - IL_00a1: ldarg.0 - IL_00a2: ldarg.1 - IL_00a3: ldstr "ClrVersion" - IL_00a8: ldtoken [mscorlib]System.Version - IL_00ad: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00b2: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_00b7: castclass [mscorlib]System.Version - IL_00bc: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion - IL_00c1: ldarg.0 - IL_00c2: ldarg.1 - IL_00c3: ldstr "Vendor" - IL_00c8: ldtoken NAnt.Core.VendorType - IL_00cd: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00d2: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_00d7: unbox.any NAnt.Core.VendorType - IL_00dc: stfld valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::_vendor - IL_00e1: ldarg.0 - IL_00e2: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_00e7: ldc.i4.3 - IL_00e8: beq IL_00f3 + IL_007e: ldloc.s 4 + IL_0080: ret + } // end of method StringCollectionWithGoodToString::ToString - IL_00ed: nop - IL_00ee: br IL_01f3 + } // end of class NAnt.Core.StringCollectionWithGoodToString +} - IL_00f3: ldarg.0 - IL_00f4: ldarg.1 - IL_00f5: ldstr "FrameworkDirectory" - IL_00fa: ldtoken [mscorlib]System.IO.DirectoryInfo - IL_00ff: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0104: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0109: castclass [mscorlib]System.IO.DirectoryInfo - IL_010e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory - IL_0113: ldarg.0 - IL_0114: ldarg.1 - IL_0115: ldstr "SdkDirectory" - IL_011a: ldtoken [mscorlib]System.IO.DirectoryInfo - IL_011f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0124: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0129: castclass [mscorlib]System.IO.DirectoryInfo - IL_012e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_sdkDirectory - IL_0133: ldarg.0 - IL_0134: ldarg.1 - IL_0135: ldstr "FrameworkAssemblyDirectory" - IL_013a: ldtoken [mscorlib]System.IO.DirectoryInfo - IL_013f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0144: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0149: castclass [mscorlib]System.IO.DirectoryInfo - IL_014e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory - IL_0153: ldarg.0 - IL_0154: ldarg.1 - IL_0155: ldstr "Runtime" - IL_015a: ldtoken NAnt.Core.Configuration.Runtime - IL_015f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0164: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0169: castclass NAnt.Core.Configuration.Runtime - IL_016e: stfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime - IL_0173: ldarg.0 - IL_0174: ldarg.1 - IL_0175: ldstr "Project" - IL_017a: ldtoken NAnt.Core.Project - IL_017f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0184: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_0189: castclass NAnt.Core.Project - IL_018e: stfld class NAnt.Core.Project NAnt.Core.FrameworkInfo::_project - IL_0193: ldarg.0 - IL_0194: ldarg.1 - IL_0195: ldstr "TaskAssemblies" - IL_019a: ldtoken NAnt.Core.Types.FileSet - IL_019f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01a4: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_01a9: castclass NAnt.Core.Types.FileSet - IL_01ae: stfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_01b3: ldarg.0 - IL_01b4: ldarg.1 - IL_01b5: ldstr "ReferenceAssemblies" - IL_01ba: ldtoken class NAnt.Core.Types.FileSet[] - IL_01bf: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01c4: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_01c9: castclass class NAnt.Core.Types.FileSet[] - IL_01ce: stfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies - IL_01d3: ldarg.0 - IL_01d4: ldarg.1 - IL_01d5: ldstr "ToolPaths" - IL_01da: ldtoken string[] - IL_01df: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01e4: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_01e9: castclass string[] - IL_01ee: stfld string[] NAnt.Core.FrameworkInfo::_toolPaths - IL_01f3: ret - } // end of method FrameworkInfo::.ctor +.namespace NAnt.Core +{ + .class private auto ansi serializable beforefieldinit DirScannerStringCollection + extends NAnt.Core.StringCollectionWithGoodToString + { + .field private initonly bool _caseSensitive - // method line 2031 - .method private final virtual hidebysig newslot - instance default void System.Runtime.Serialization.ISerializable.GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + // method line 2072 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (bool caseSensitive) cil managed { - // Method begins at RVA 0x29050 - .override Could not decode method override class [mscorlib]System.Runtime.Serialization.ISerializable::GetObjectData due to (null) - // Code size 302 (0x12e) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "Name" + // Method begins at RVA 0x2813c + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.StringCollectionWithGoodToString::'.ctor'() + IL_0006: nop IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_000d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0012: ldarg.1 - IL_0013: ldstr "Family" - IL_0018: ldarg.0 - IL_0019: call instance string class NAnt.Core.FrameworkInfo::get_Family() - IL_001e: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0023: ldarg.1 - IL_0024: ldstr "Description" - IL_0029: ldarg.0 - IL_002a: call instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_002f: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0034: ldarg.1 - IL_0035: ldstr "ClrType" - IL_003a: ldarg.0 - IL_003b: call instance valuetype NAnt.Core.ClrType class NAnt.Core.FrameworkInfo::get_ClrType() - IL_0040: box NAnt.Core.ClrType - IL_0045: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_004a: ldarg.1 - IL_004b: ldstr "Version" - IL_0050: ldarg.0 - IL_0051: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() - IL_0056: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_005b: ldarg.1 - IL_005c: ldstr "ClrVersion" - IL_0061: ldarg.0 - IL_0062: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_0067: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_006c: ldarg.1 - IL_006d: ldstr "Status" - IL_0072: ldarg.0 - IL_0073: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0078: box NAnt.Core.FrameworkInfo/InitStatus - IL_007d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0082: ldarg.1 - IL_0083: ldstr "Vendor" - IL_0088: ldarg.0 - IL_0089: call instance valuetype NAnt.Core.VendorType class NAnt.Core.FrameworkInfo::get_Vendor() - IL_008e: box NAnt.Core.VendorType - IL_0093: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0098: ldarg.0 - IL_0099: call instance bool class NAnt.Core.FrameworkInfo::get_IsValid() - IL_009e: brfalse IL_012d - - IL_00a3: nop - IL_00a4: ldarg.1 - IL_00a5: ldstr "FrameworkDirectory" - IL_00aa: ldarg.0 - IL_00ab: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_00b0: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_00b5: ldarg.1 - IL_00b6: ldstr "SdkDirectory" - IL_00bb: ldarg.0 - IL_00bc: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_00c1: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_00c6: ldarg.1 - IL_00c7: ldstr "FrameworkAssemblyDirectory" - IL_00cc: ldarg.0 - IL_00cd: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() - IL_00d2: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_00d7: ldarg.1 - IL_00d8: ldstr "Runtime" - IL_00dd: ldarg.0 - IL_00de: call instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_00e3: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_00e8: ldarg.1 - IL_00e9: ldstr "Project" - IL_00ee: ldarg.0 - IL_00ef: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_00f4: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_00f9: ldarg.1 - IL_00fa: ldstr "TaskAssemblies" - IL_00ff: ldarg.0 - IL_0100: call instance class NAnt.Core.Types.FileSet class NAnt.Core.FrameworkInfo::get_TaskAssemblies() - IL_0105: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_010a: ldarg.1 - IL_010b: ldstr "ReferenceAssemblies" - IL_0110: ldarg.0 - IL_0111: call instance class NAnt.Core.Types.FileSet[] class NAnt.Core.FrameworkInfo::get_ReferenceAssemblies() - IL_0116: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_011b: ldarg.1 - IL_011c: ldstr "ToolPaths" - IL_0121: ldarg.0 - IL_0122: call instance string[] class NAnt.Core.FrameworkInfo::get_ToolPaths() - IL_0127: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_012c: nop - IL_012d: ret - } // end of method FrameworkInfo::System.Runtime.Serialization.ISerializable.GetObjectData + IL_0008: ldarg.1 + IL_0009: stfld bool NAnt.Core.DirScannerStringCollection::_caseSensitive + IL_000e: ret + } // end of method DirScannerStringCollection::.ctor - // method line 2032 + // method line 2073 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default bool get_CaseSensitive () cil managed { - // Method begins at RVA 0x2918c + // Method begins at RVA 0x2814c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.FrameworkInfo::_name + IL_0002: ldfld bool NAnt.Core.DirScannerStringCollection::_caseSensitive IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FrameworkInfo::get_Name + } // end of method DirScannerStringCollection::get_CaseSensitive - // method line 2033 - .method public hidebysig specialname - instance default string get_Family () cil managed + // method line 2074 + .method public virtual hidebysig + instance default object Clone () cil managed + { + // Method begins at RVA 0x28168 + // Code size 49 (0x31) + .maxstack 3 + .locals init ( + string[] V_0, + class NAnt.Core.DirScannerStringCollection V_1, + object V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0007: newarr [mscorlib]System.String + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.0 + IL_0010: call instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0015: ldarg.0 + IL_0016: call instance bool class NAnt.Core.DirScannerStringCollection::get_CaseSensitive() + IL_001b: newobj instance void class NAnt.Core.DirScannerStringCollection::'.ctor'(bool) + IL_0020: stloc.1 + IL_0021: ldloc.1 + IL_0022: ldloc.0 + IL_0023: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0028: ldloc.1 + IL_0029: stloc.2 + IL_002a: br IL_002f + + IL_002f: ldloc.2 + IL_0030: ret + } // end of method DirScannerStringCollection::Clone + + // method line 2075 + .method public virtual hidebysig newslot + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x281a8 + // Code size 19 (0x13) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: callvirt instance int32 class NAnt.Core.DirScannerStringCollection::IndexOf(string) + IL_0008: ldc.i4.m1 + IL_0009: cgt + IL_000b: stloc.0 + IL_000c: br IL_0011 + + IL_0011: ldloc.0 + IL_0012: ret + } // end of method DirScannerStringCollection::Contains + + // method line 2076 + .method public virtual hidebysig newslot + instance default int32 IndexOf (string 'value') cil managed + { + // Method begins at RVA 0x281c8 + // Code size 132 (0x84) + .maxstack 4 + .locals init ( + int32 V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0012 + + IL_0007: ldarg.0 + IL_0008: call instance bool class NAnt.Core.DirScannerStringCollection::get_CaseSensitive() + IL_000d: brfalse IL_0020 + + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: call instance int32 class [System]System.Collections.Specialized.StringCollection::IndexOf(string) + IL_001a: stloc.0 + IL_001b: br IL_0082 + + IL_0020: nop + IL_0021: nop + IL_0022: ldarg.0 + IL_0023: call instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0028: stloc.2 + .try { // 0 + IL_0029: br IL_0057 + + IL_002e: ldloc.2 + IL_002f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0034: stloc.1 + IL_0035: nop + IL_0036: ldloc.1 + IL_0037: ldarg.1 + IL_0038: ldc.i4.1 + IL_0039: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0043: brtrue IL_0056 + + IL_0048: nop + IL_0049: ldarg.0 + IL_004a: ldloc.1 + IL_004b: call instance int32 class [System]System.Collections.Specialized.StringCollection::IndexOf(string) + IL_0050: stloc.0 + IL_0051: leave IL_0082 + + IL_0056: nop + IL_0057: ldloc.2 + IL_0058: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_005d: brtrue IL_002e + + IL_0062: leave IL_007b + + } // end .try 0 + finally { // 0 + IL_0067: ldloc.2 + IL_0068: isinst [mscorlib]System.IDisposable + IL_006d: dup + IL_006e: stloc.3 + IL_006f: brfalse IL_007a + + IL_0074: ldloc.3 + IL_0075: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_007a: endfinally + } // end handler 0 + IL_007b: ldc.i4.m1 + IL_007c: stloc.0 + IL_007d: br IL_0082 + + IL_0082: ldloc.0 + IL_0083: ret + } // end of method DirScannerStringCollection::IndexOf + + .property instance bool CaseSensitive () + { + .get instance default bool NAnt.Core.DirScannerStringCollection::get_CaseSensitive () + } + } // end of class NAnt.Core.DirScannerStringCollection +} + +.namespace NAnt.Core +{ + .class public auto ansi sealed beforefieldinit TypeFactory + extends [mscorlib]System.Object + { + .field private static initonly class [log4net]log4net.ILog logger + .field private static class NAnt.Core.TaskBuilderCollection _taskBuilders + .field private static class NAnt.Core.DataTypeBaseBuilderCollection _dataTypeBuilders + .field private static class NAnt.Core.Filters.FilterBuilderCollection _filterBuilders + .field private static class [mscorlib]System.Collections.Hashtable _methodInfoCollection + .field private static class NAnt.Core.Extensibility.PluginScanner _pluginScanner + + // method line 2077 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x28268 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method TypeFactory::.ctor + + // method line 2078 + .method public static hidebysig specialname + default class NAnt.Core.TaskBuilderCollection get_TaskBuilders () cil managed { - // Method begins at RVA 0x291a8 - // Code size 15 (0xf) + // Method begins at RVA 0x28270 + // Code size 14 (0xe) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.TaskBuilderCollection V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.FrameworkInfo::_family - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldsfld class NAnt.Core.TaskBuilderCollection NAnt.Core.TypeFactory::_taskBuilders + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfo::get_Family + IL_000c: ldloc.0 + IL_000d: ret + } // end of method TypeFactory::get_TaskBuilders - // method line 2034 - .method public hidebysig specialname - instance default string get_Description () cil managed + // method line 2079 + .method public static hidebysig specialname + default class NAnt.Core.DataTypeBaseBuilderCollection get_DataTypeBuilders () cil managed { - // Method begins at RVA 0x291c4 - // Code size 15 (0xf) + // Method begins at RVA 0x2828c + // Code size 14 (0xe) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.DataTypeBaseBuilderCollection V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.FrameworkInfo::_description - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldsfld class NAnt.Core.DataTypeBaseBuilderCollection NAnt.Core.TypeFactory::_dataTypeBuilders + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfo::get_Description + IL_000c: ldloc.0 + IL_000d: ret + } // end of method TypeFactory::get_DataTypeBuilders - // method line 2035 - .method assembly hidebysig specialname - instance default valuetype NAnt.Core.VendorType get_Vendor () cil managed + // method line 2080 + .method public static hidebysig specialname + default class NAnt.Core.Filters.FilterBuilderCollection get_FilterBuilders () cil managed { - // Method begins at RVA 0x291e0 - // Code size 15 (0xf) + // Method begins at RVA 0x282a8 + // Code size 14 (0xe) .maxstack 1 .locals init ( - valuetype NAnt.Core.VendorType V_0) + class NAnt.Core.Filters.FilterBuilderCollection V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::_vendor - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldsfld class NAnt.Core.Filters.FilterBuilderCollection NAnt.Core.TypeFactory::_filterBuilders + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfo::get_Vendor + IL_000c: ldloc.0 + IL_000d: ret + } // end of method TypeFactory::get_FilterBuilders - // method line 2036 - .method public hidebysig specialname - instance default class [mscorlib]System.Version get_Version () cil managed + // method line 2081 + .method assembly static hidebysig specialname + default class NAnt.Core.Extensibility.PluginScanner get_PluginScanner () cil managed { - // Method begins at RVA 0x291fc - // Code size 94 (0x5e) - .maxstack 2 + // Method begins at RVA 0x282c4 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.Version V_1) + class NAnt.Core.Extensibility.PluginScanner V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version - IL_0007: ldnull - IL_0008: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_000d: brfalse IL_0050 - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0019: brtrue IL_002a - - IL_001e: nop - IL_001f: ldstr "The current framework is not valid." - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0030: ldstr "version" - IL_0035: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_003a: stloc.0 - IL_003b: ldloc.0 - IL_003c: brfalse IL_004f - - IL_0041: nop - IL_0042: ldarg.0 - IL_0043: ldloc.0 - IL_0044: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0049: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version - IL_004e: nop - IL_004f: nop - IL_0050: ldarg.0 - IL_0051: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_version - IL_0056: stloc.1 - IL_0057: br IL_005c + IL_0001: ldsfld class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::_pluginScanner + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_005c: ldloc.1 - IL_005d: ret - } // end of method FrameworkInfo::get_Version + IL_000c: ldloc.0 + IL_000d: ret + } // end of method TypeFactory::get_PluginScanner - // method line 2037 - .method public hidebysig specialname - instance default class [mscorlib]System.Version get_ClrVersion () cil managed + // method line 2082 + .method public static hidebysig + default bool ScanAssembly (string assemblyFile, class NAnt.Core.Task task) cil managed { - // Method begins at RVA 0x29268 - // Code size 94 (0x5e) + // Method begins at RVA 0x282e0 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 23 (0x17) .maxstack 2 .locals init ( - string V_0, - class [mscorlib]System.Version V_1) + class [mscorlib]System.Reflection.Assembly V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion - IL_0007: ldnull - IL_0008: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_000d: brfalse IL_0050 - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0019: brtrue IL_002a - - IL_001e: nop - IL_001f: ldstr "The current framework is not valid." - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0030: ldstr "clrversion" - IL_0035: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_003a: stloc.0 - IL_003b: ldloc.0 - IL_003c: brfalse IL_004f - - IL_0041: nop - IL_0042: ldarg.0 - IL_0043: ldloc.0 - IL_0044: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0049: stfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion - IL_004e: nop - IL_004f: nop - IL_0050: ldarg.0 - IL_0051: ldfld class [mscorlib]System.Version NAnt.Core.FrameworkInfo::_clrVersion - IL_0056: stloc.1 - IL_0057: br IL_005c + IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldarg.1 + IL_000a: call bool class NAnt.Core.TypeFactory::ScanAssembly(class [mscorlib]System.Reflection.Assembly, class NAnt.Core.Task) + IL_000f: stloc.1 + IL_0010: br IL_0015 - IL_005c: ldloc.1 - IL_005d: ret - } // end of method FrameworkInfo::get_ClrVersion + IL_0015: ldloc.1 + IL_0016: ret + } // end of method TypeFactory::ScanAssembly - // method line 2038 - .method public hidebysig specialname - instance default valuetype NAnt.Core.ClrType get_ClrType () cil managed + // method line 2083 + .method public static hidebysig + default bool ScanAssembly (class [mscorlib]System.Reflection.Assembly 'assembly', class NAnt.Core.Task task) cil managed { - // Method begins at RVA 0x292d4 - // Code size 125 (0x7d) - .maxstack 4 + // Method begins at RVA 0x28304 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 563 (0x233) + .maxstack 7 .locals init ( - string V_0, - class [mscorlib]System.Exception V_1, - valuetype NAnt.Core.ClrType V_2) + class [mscorlib]System.Type V_0, + class [mscorlib]System.Type[] V_1, + int32 V_2, + class [mscorlib]System.Reflection.MethodInfo V_3, + class [mscorlib]System.Reflection.MethodInfo[] V_4, + int32 V_5, + bool V_6, + class NAnt.Core.Extensibility.ExtensionAssembly V_7, + class [mscorlib]System.Type[] V_8, + class [mscorlib]System.Reflection.ReflectionTypeLoadException V_9, + class [mscorlib]System.Type V_10, + class [mscorlib]System.Type[] V_11, + int32 V_12, + bool V_13, + class [mscorlib]System.Reflection.AssemblyName V_14, + class [mscorlib]System.Reflection.AssemblyName V_15, + class [mscorlib]System.Reflection.AssemblyName[] V_16, + int32 V_17, + bool V_18) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType - IL_0007: brtrue IL_006f + IL_0001: ldarg.1 + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Scanning assembly \"{0}\" for extensions." + IL_000c: ldc.i4.1 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.0 + IL_0015: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_001a: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_001f: stelem.ref + IL_0020: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0025: nop + IL_0026: ldarg.0 + IL_0027: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Reflection.Assembly::GetExportedTypes() + IL_002c: stloc.1 + IL_002d: ldc.i4.0 + IL_002e: stloc.2 + IL_002f: br IL_0094 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0013: brtrue IL_0024 + IL_0034: ldloc.1 + IL_0035: ldloc.2 + IL_0036: ldelem.ref + IL_0037: stloc.0 + IL_0038: nop + IL_0039: nop + IL_003a: ldloc.0 + IL_003b: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods() + IL_0040: stloc.s 4 + IL_0042: ldc.i4.0 + IL_0043: stloc.s 5 + IL_0045: br IL_0084 - IL_0018: nop - IL_0019: ldstr "The current framework is not valid." - IL_001e: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0023: throw - IL_0024: ldarg.0 - IL_0025: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_002a: ldstr "clrtype" - IL_002f: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_0034: stloc.0 - IL_0035: ldloc.0 - IL_0036: brfalse IL_006e + IL_004a: ldloc.s 4 + IL_004c: ldloc.s 5 + IL_004e: ldelem.ref + IL_004f: stloc.3 + IL_0050: nop + IL_0051: ldloc.3 + IL_0052: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsStatic() + IL_0057: brfalse IL_007d - IL_003b: nop + IL_005c: nop + IL_005d: ldarg.1 + IL_005e: ldc.i4 2000 + IL_0063: ldstr "Found method {0}." + IL_0068: ldc.i4.1 + IL_0069: newarr [mscorlib]System.Object + IL_006e: dup + IL_006f: ldc.i4.0 + IL_0070: ldloc.3 + IL_0071: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0076: stelem.ref + IL_0077: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_007c: nop + IL_007d: nop + IL_007e: ldloc.s 5 + IL_0080: ldc.i4.1 + IL_0081: add + IL_0082: stloc.s 5 + IL_0084: ldloc.s 5 + IL_0086: ldloc.s 4 + IL_0088: ldlen + IL_0089: conv.i4 + IL_008a: blt IL_004a + + IL_008f: nop + IL_0090: ldloc.2 + IL_0091: ldc.i4.1 + IL_0092: add + IL_0093: stloc.2 + IL_0094: ldloc.2 + IL_0095: ldloc.1 + IL_0096: ldlen + IL_0097: conv.i4 + IL_0098: blt IL_0034 + + IL_009d: ldc.i4.0 + IL_009e: stloc.s 6 + IL_00a0: ldarg.0 + IL_00a1: newobj instance void class NAnt.Core.Extensibility.ExtensionAssembly::'.ctor'(class [mscorlib]System.Reflection.Assembly) + IL_00a6: stloc.s 7 .try { // 0 - IL_003c: nop - IL_003d: ldarg.0 - IL_003e: ldtoken NAnt.Core.ClrType - IL_0043: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0048: ldloc.0 - IL_0049: ldc.i4.1 - IL_004a: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_004f: unbox.any NAnt.Core.ClrType - IL_0054: stfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType - IL_0059: nop - IL_005a: leave IL_006d + IL_00a8: nop + IL_00a9: ldarg.0 + IL_00aa: callvirt instance class [mscorlib]System.Type[] class [mscorlib]System.Reflection.Assembly::GetTypes() + IL_00af: stloc.s 8 + IL_00b1: nop + IL_00b2: leave IL_00e2 } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_005f: stloc.1 - IL_0060: nop - IL_0061: ldstr "The value of the \"clrtype\" attribute is not valid." - IL_0066: ldloc.1 - IL_0067: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string, class [mscorlib]System.Exception) - IL_006c: throw + catch class [mscorlib]System.Reflection.ReflectionTypeLoadException { // 0 + IL_00b7: stloc.s 9 + IL_00b9: nop + IL_00ba: ldloc.s 9 + IL_00bc: callvirt instance class [mscorlib]System.Exception[] class [mscorlib]System.Reflection.ReflectionTypeLoadException::get_LoaderExceptions() + IL_00c1: brfalse IL_00e0 + + IL_00c6: ldloc.s 9 + IL_00c8: callvirt instance class [mscorlib]System.Exception[] class [mscorlib]System.Reflection.ReflectionTypeLoadException::get_LoaderExceptions() + IL_00cd: ldlen + IL_00ce: conv.i4 + IL_00cf: ldc.i4.0 + IL_00d0: ble IL_00e0 + + IL_00d5: nop + IL_00d6: ldloc.s 9 + IL_00d8: callvirt instance class [mscorlib]System.Exception[] class [mscorlib]System.Reflection.ReflectionTypeLoadException::get_LoaderExceptions() + IL_00dd: ldc.i4.0 + IL_00de: ldelem.ref + IL_00df: throw + IL_00e0: rethrow } // end handler 0 - IL_006d: nop - IL_006e: nop - IL_006f: ldarg.0 - IL_0070: ldfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType - IL_0075: stloc.2 - IL_0076: br IL_007b + IL_00e2: nop + IL_00e3: ldloc.s 8 + IL_00e5: stloc.s 11 + IL_00e7: ldc.i4.0 + IL_00e8: stloc.s 12 + IL_00ea: br IL_016f - IL_007b: ldloc.2 - IL_007c: ret - } // end of method FrameworkInfo::get_ClrType + IL_00ef: ldloc.s 11 + IL_00f1: ldloc.s 12 + IL_00f3: ldelem.ref + IL_00f4: stloc.s 10 + IL_00f6: nop + IL_00f7: ldloc.s 7 + IL_00f9: ldloc.s 10 + IL_00fb: ldarg.1 + IL_00fc: call bool class NAnt.Core.TypeFactory::ScanTypeForTasks(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) + IL_0101: stloc.s 13 + IL_0103: ldloc.s 13 + IL_0105: brtrue IL_0118 - // method line 2039 - .method public hidebysig specialname - instance default class [mscorlib]System.Version get_VisualStudioVersion () cil managed - { - // Method begins at RVA 0x29370 - // Code size 210 (0xd2) - .maxstack 3 - .locals init ( - string V_0, - class [mscorlib]System.Version V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_0007: ldnull - IL_0008: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_000d: brfalse IL_001e + IL_010a: nop + IL_010b: ldloc.s 7 + IL_010d: ldloc.s 10 + IL_010f: ldarg.1 + IL_0110: call bool class NAnt.Core.TypeFactory::ScanTypeForDataTypes(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) + IL_0115: stloc.s 13 + IL_0117: nop + IL_0118: ldloc.s 13 + IL_011a: brtrue IL_012b - IL_0012: nop - IL_0013: ldstr "The current framework is not valid." - IL_0018: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_001d: throw - IL_001e: ldarg.0 - IL_001f: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_0024: ldc.i4.2 - IL_0025: callvirt instance string class [mscorlib]System.Version::ToString(int32) - IL_002a: stloc.0 - IL_002b: ldloc.0 - IL_002c: brfalse IL_00ab + IL_011f: nop + IL_0120: ldloc.s 10 + IL_0122: ldarg.1 + IL_0123: call bool class NAnt.Core.TypeFactory::ScanTypeForFunctions(class [mscorlib]System.Type, class NAnt.Core.Task) + IL_0128: stloc.s 13 + IL_012a: nop + IL_012b: ldloc.s 13 + IL_012d: brtrue IL_0140 - IL_0031: ldloc.0 - IL_0032: ldstr "1.0" - IL_0037: call bool string::op_Equality(string, string) - IL_003c: brtrue IL_0076 + IL_0132: nop + IL_0133: ldloc.s 7 + IL_0135: ldloc.s 10 + IL_0137: ldarg.1 + IL_0138: call bool class NAnt.Core.TypeFactory::ScanTypeForFilters(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) + IL_013d: stloc.s 13 + IL_013f: nop + IL_0140: ldloc.s 13 + IL_0142: brtrue IL_015a - IL_0041: ldloc.0 - IL_0042: ldstr "1.1" - IL_0047: call bool string::op_Equality(string, string) - IL_004c: brtrue IL_0083 + IL_0147: nop + IL_0148: ldsfld class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::_pluginScanner + IL_014d: ldloc.s 7 + IL_014f: ldloc.s 10 + IL_0151: ldarg.1 + IL_0152: callvirt instance bool class NAnt.Core.Extensibility.PluginScanner::ScanTypeForPlugins(class NAnt.Core.Extensibility.ExtensionAssembly, class [mscorlib]System.Type, class NAnt.Core.Task) + IL_0157: stloc.s 13 + IL_0159: nop + IL_015a: ldloc.s 6 + IL_015c: brtrue IL_0165 - IL_0051: ldloc.0 - IL_0052: ldstr "2.0" - IL_0057: call bool string::op_Equality(string, string) - IL_005c: brtrue IL_0090 + IL_0161: ldloc.s 13 + IL_0163: br.s IL_0166 - IL_0061: ldloc.0 - IL_0062: ldstr "4.0" - IL_0067: call bool string::op_Equality(string, string) - IL_006c: brtrue IL_009d + IL_0165: ldc.i4.1 + IL_0166: stloc.s 6 + IL_0168: nop + IL_0169: ldloc.s 12 + IL_016b: ldc.i4.1 + IL_016c: add + IL_016d: stloc.s 12 + IL_016f: ldloc.s 12 + IL_0171: ldloc.s 11 + IL_0173: ldlen + IL_0174: conv.i4 + IL_0175: blt IL_00ef - IL_0071: br IL_00ab + IL_017a: ldloc.s 6 + IL_017c: brtrue IL_0227 - IL_0076: ldc.i4.7 - IL_0077: ldc.i4.0 - IL_0078: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) - IL_007d: stloc.1 - IL_007e: br IL_00d0 + IL_0181: nop + IL_0182: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0187: ldc.i4.0 + IL_0188: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) + IL_018d: stloc.s 14 + IL_018f: nop + IL_0190: ldarg.0 + IL_0191: callvirt instance class [mscorlib]System.Reflection.AssemblyName[] class [mscorlib]System.Reflection.Assembly::GetReferencedAssemblies() + IL_0196: stloc.s 16 + IL_0198: ldc.i4.0 + IL_0199: stloc.s 17 + IL_019b: br IL_021b - IL_0083: ldc.i4.7 - IL_0084: ldc.i4.1 - IL_0085: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) - IL_008a: stloc.1 - IL_008b: br IL_00d0 + IL_01a0: ldloc.s 16 + IL_01a2: ldloc.s 17 + IL_01a4: ldelem.ref + IL_01a5: stloc.s 15 + IL_01a7: nop + IL_01a8: ldloc.s 15 + IL_01aa: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_01af: ldloc.s 14 + IL_01b1: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_01b6: call bool string::op_Equality(string, string) + IL_01bb: brfalse IL_0214 + + IL_01c0: nop + IL_01c1: ldloc.s 15 + IL_01c3: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_01c8: ldloc.s 14 + IL_01ca: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_01cf: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_01d4: brfalse IL_0213 - IL_0090: ldc.i4.8 - IL_0091: ldc.i4.0 - IL_0092: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) - IL_0097: stloc.1 - IL_0098: br IL_00d0 + IL_01d9: nop + IL_01da: ldarg.1 + IL_01db: ldc.i4 4000 + IL_01e0: ldstr "Assembly \"{0}\" is built using version {1} of NAnt. If any problems arise, then try using a version that is built for NAnt version {2}." + IL_01e5: ldc.i4.3 + IL_01e6: newarr [mscorlib]System.Object + IL_01eb: dup + IL_01ec: ldc.i4.0 + IL_01ed: ldarg.0 + IL_01ee: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_01f3: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_01f8: stelem.ref + IL_01f9: dup + IL_01fa: ldc.i4.1 + IL_01fb: ldloc.s 15 + IL_01fd: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_0202: stelem.ref + IL_0203: dup + IL_0204: ldc.i4.2 + IL_0205: ldloc.s 14 + IL_0207: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_020c: stelem.ref + IL_020d: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0212: nop + IL_0213: nop + IL_0214: nop + IL_0215: ldloc.s 17 + IL_0217: ldc.i4.1 + IL_0218: add + IL_0219: stloc.s 17 + IL_021b: ldloc.s 17 + IL_021d: ldloc.s 16 + IL_021f: ldlen + IL_0220: conv.i4 + IL_0221: blt IL_01a0 - IL_009d: ldc.i4.s 0x0a - IL_009f: ldc.i4.0 - IL_00a0: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) - IL_00a5: stloc.1 - IL_00a6: br IL_00d0 + IL_0226: nop + IL_0227: ldloc.s 6 + IL_0229: stloc.s 18 + IL_022b: br IL_0230 - IL_00ab: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00b0: ldstr "NA1055" - IL_00b5: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ba: ldarg.0 - IL_00bb: call instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_00c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00c5: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_00ca: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00cf: throw - IL_00d0: ldloc.1 - IL_00d1: ret - } // end of method FrameworkInfo::get_VisualStudioVersion + IL_0230: ldloc.s 18 + IL_0232: ret + } // end of method TypeFactory::ScanAssembly - // method line 2040 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_FrameworkDirectory () cil managed + // method line 2084 + .method public static hidebysig + default void ScanDir (string path, class NAnt.Core.Task task, bool failOnError) cil managed { - // Method begins at RVA 0x29450 - // Code size 128 (0x80) - .maxstack 3 + // Method begins at RVA 0x28554 + .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} + // Code size 256 (0x100) + .maxstack 7 .locals init ( - string V_0, - class [mscorlib]System.IO.DirectoryInfo V_1) + class NAnt.Core.DirectoryScanner V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.Exception V_3, + string V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() - IL_0007: ldarg.0 - IL_0008: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory - IL_000d: brtrue IL_0072 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brfalse IL_0012 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_0019: ldarg.0 - IL_001a: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_001f: ldstr "frameworkdirectory" - IL_0024: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_0029: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_002e: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) - IL_0033: stloc.0 - IL_0034: ldloc.0 - IL_0035: brfalse IL_0071 + IL_000c: nop + IL_000d: br IL_00ff - IL_003a: nop - IL_003b: ldloc.0 - IL_003c: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0041: brfalse IL_0059 + IL_0012: ldarg.1 + IL_0013: ldc.i4 3000 + IL_0018: ldstr "Scanning directory \"{0}\" for extension assemblies." + IL_001d: ldc.i4.1 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldarg.0 + IL_0026: stelem.ref + IL_0027: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_002c: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() + IL_0031: stloc.0 + IL_0032: ldloc.0 + IL_0033: ldarg.0 + IL_0034: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0039: callvirt instance void class NAnt.Core.DirectoryScanner::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_003e: ldloc.0 + IL_003f: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() + IL_0044: ldstr "*.dll" + IL_0049: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_004e: pop + IL_004f: nop + IL_0050: ldloc.0 + IL_0051: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() + IL_0056: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_005b: stloc.2 + .try { // 1 + IL_005c: br IL_00d9 - IL_0046: nop - IL_0047: ldarg.0 - IL_0048: ldloc.0 - IL_0049: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_004e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory - IL_0053: nop - IL_0054: br IL_0070 + IL_0061: ldloc.2 + IL_0062: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0067: stloc.1 + IL_0068: nop + .try { // 0 + IL_0069: nop + IL_006a: ldloc.1 + IL_006b: ldarg.1 + IL_006c: call bool class NAnt.Core.TypeFactory::ScanAssembly(string, class NAnt.Core.Task) + IL_0071: pop + IL_0072: nop + IL_0073: leave IL_00d8 - IL_0059: nop - IL_005a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005f: ldstr "Framework directory '{0}' does not exist." - IL_0064: ldloc.0 - IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_006a: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_006f: throw - IL_0070: nop - IL_0071: nop - IL_0072: ldarg.0 - IL_0073: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory - IL_0078: stloc.1 - IL_0079: br IL_007e + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0078: stloc.3 + IL_0079: nop + IL_007a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007f: ldstr "Failure scanning \"{0}\" for extensions" + IL_0084: ldloc.1 + IL_0085: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_008a: stloc.s 4 + IL_008c: ldarg.2 + IL_008d: brfalse IL_00ab - IL_007e: ldloc.1 - IL_007f: ret - } // end of method FrameworkInfo::get_FrameworkDirectory + IL_0092: nop + IL_0093: ldloc.s 4 + IL_0095: ldstr "." + IL_009a: call string string::Concat(string, string) + IL_009f: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_00a4: ldloc.3 + IL_00a5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00aa: throw + IL_00ab: ldarg.1 + IL_00ac: ldc.i4 5000 + IL_00b1: ldloc.s 4 + IL_00b3: ldstr ": " + IL_00b8: ldloc.1 + IL_00b9: call string string::Concat(string, string, string) + IL_00be: ldc.i4.1 + IL_00bf: newarr [mscorlib]System.Object + IL_00c4: dup + IL_00c5: ldc.i4.0 + IL_00c6: ldloc.3 + IL_00c7: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_00cc: stelem.ref + IL_00cd: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00d2: nop + IL_00d3: leave IL_00d8 - // method line 2041 - .method assembly hidebysig specialname - instance default class NAnt.Core.Configuration.Runtime get_Runtime () cil managed + } // end handler 0 + IL_00d8: nop + IL_00d9: ldloc.2 + IL_00da: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00df: brtrue IL_0061 + + IL_00e4: leave IL_00ff + + } // end .try 1 + finally { // 1 + IL_00e9: ldloc.2 + IL_00ea: isinst [mscorlib]System.IDisposable + IL_00ef: dup + IL_00f0: stloc.s 5 + IL_00f2: brfalse IL_00fe + + IL_00f7: ldloc.s 5 + IL_00f9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00fe: endfinally + } // end handler 1 + IL_00ff: ret + } // end of method TypeFactory::ScanDir + + // method line 2085 + .method assembly static hidebysig + default void AddProject (class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x294dc - // Code size 21 (0x15) - .maxstack 1 - .locals init ( - class NAnt.Core.Configuration.Runtime V_0) + // Method begins at RVA 0x2867c + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::Init() - IL_0007: ldarg.0 - IL_0008: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FrameworkInfo::get_Runtime + IL_0002: ldc.i4.1 + IL_0003: call void class NAnt.Core.TypeFactory::AddProject(class NAnt.Core.Project, bool) + IL_0008: ret + } // end of method TypeFactory::AddProject - // method line 2042 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_FrameworkAssemblyDirectory () cil managed + // method line 2086 + .method assembly static hidebysig + default void AddProject (class NAnt.Core.Project project, bool scan) cil managed { - // Method begins at RVA 0x29500 - // Code size 177 (0xb1) + // Method begins at RVA 0x28688 + // Code size 264 (0x108) .maxstack 3 .locals init ( - string V_0, - class [mscorlib]System.IO.DirectoryInfo V_1) + class NAnt.Core.Tasks.LoadTasksTask V_0, + string V_1, + string V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() + IL_0001: ldarg.1 + IL_0002: brfalse IL_0017 + IL_0007: ldarg.0 - IL_0008: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory - IL_000d: brtrue IL_00a3 + IL_0008: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_000d: call bool string::IsNullOrEmpty(string) + IL_0012: brfalse IL_001c - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_0019: ldarg.0 - IL_001a: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_001f: ldstr "frameworkassemblydirectory" - IL_0024: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_0029: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_002e: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) - IL_0033: stloc.0 - IL_0034: ldloc.0 - IL_0035: brfalse IL_00a2 + IL_0017: br IL_0107 - IL_003a: nop - IL_003b: ldloc.0 - IL_003c: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0041: brfalse IL_008a + IL_001c: newobj instance void class NAnt.Core.Tasks.LoadTasksTask::'.ctor'() + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldarg.0 + IL_0024: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0029: ldloc.0 + IL_002a: ldarg.0 + IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_0030: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_003c: ldloc.0 + IL_003d: ldc.i4.0 + IL_003e: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) + IL_0043: ldloc.0 + IL_0044: ldarg.0 + IL_0045: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_004a: ldc.i4 1000 + IL_004f: bne.un IL_005e - IL_0046: nop - IL_0047: ldloc.0 - IL_0048: ldstr "System.dll" - IL_004d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0052: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0057: brtrue IL_0078 + IL_0054: ldc.i4 1000 + IL_0059: br IL_0063 - IL_005c: nop - IL_005d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0062: ldstr "NA1054" - IL_0067: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_006c: ldloc.0 - IL_006d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0072: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0077: throw - IL_0078: ldarg.0 - IL_0079: ldloc.0 - IL_007a: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_007f: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory - IL_0084: nop - IL_0085: br IL_00a1 + IL_005e: ldc.i4 4000 + IL_0063: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) + IL_0068: ldarg.0 + IL_0069: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_006e: ldstr "extensions" + IL_0073: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0078: stloc.1 + IL_0079: ldloc.1 + IL_007a: ldstr "common" + IL_007f: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0084: stloc.2 + IL_0085: ldloc.2 + IL_0086: ldstr "neutral" + IL_008b: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0090: ldloc.0 + IL_0091: ldc.i4.0 + IL_0092: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) + IL_0097: ldarg.0 + IL_0098: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_009d: brtrue IL_00a8 - IL_008a: nop - IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0090: ldstr "Framework assembly directory '{0}' does not exist." - IL_0095: ldloc.0 - IL_0096: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_009b: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_00a0: throw - IL_00a1: nop IL_00a2: nop - IL_00a3: ldarg.0 - IL_00a4: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory - IL_00a9: stloc.1 - IL_00aa: br IL_00af + IL_00a3: br IL_0107 - IL_00af: ldloc.1 - IL_00b0: ret - } // end of method FrameworkInfo::get_FrameworkAssemblyDirectory + IL_00a8: ldloc.2 + IL_00a9: ldarg.0 + IL_00aa: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_00af: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_00b4: ldc.i4.2 + IL_00b5: callvirt instance string class [mscorlib]System.Version::ToString(int32) + IL_00ba: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00bf: ldloc.0 + IL_00c0: ldc.i4.0 + IL_00c1: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) + IL_00c6: ldloc.1 + IL_00c7: ldarg.0 + IL_00c8: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_00cd: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() + IL_00d2: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00d7: stloc.3 + IL_00d8: ldloc.3 + IL_00d9: ldstr "neutral" + IL_00de: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00e3: ldloc.0 + IL_00e4: ldc.i4.0 + IL_00e5: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) + IL_00ea: ldloc.3 + IL_00eb: ldarg.0 + IL_00ec: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_00f1: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() + IL_00f6: callvirt instance string object::ToString() + IL_00fb: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0100: ldloc.0 + IL_0101: ldc.i4.0 + IL_0102: call void class NAnt.Core.TypeFactory::ScanDir(string, class NAnt.Core.Task, bool) + IL_0107: ret + } // end of method TypeFactory::AddProject - // method line 2043 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_SdkDirectory () cil managed + // method line 2087 + .method assembly static hidebysig + default class [mscorlib]System.Reflection.MethodInfo LookupFunction (string functionName, class NAnt.Core.Extensibility.FunctionArgument[] args, class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x295c0 - // Code size 27 (0x1b) - .maxstack 1 + // Method begins at RVA 0x2879c + // Code size 225 (0xe1) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + object V_0, + class [mscorlib]System.Reflection.MethodInfo V_1, + class [mscorlib]System.Reflection.MethodInfo V_2, + class [mscorlib]System.Collections.ArrayList V_3, + int32 V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::Init() - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() - IL_000d: ldarg.0 - IL_000e: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_sdkDirectory - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection + IL_0006: ldarg.0 + IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brtrue IL_002e - IL_0019: ldloc.0 - IL_001a: ret - } // end of method FrameworkInfo::get_SdkDirectory + IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0018: ldstr "NA1052" + IL_001d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0022: ldarg.0 + IL_0023: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0028: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_002d: throw + IL_002e: ldloc.0 + IL_002f: isinst [mscorlib]System.Reflection.MethodInfo + IL_0034: stloc.1 + IL_0035: ldloc.1 + IL_0036: ldnull + IL_0037: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_003c: brfalse IL_0068 - // method line 2044 - .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed - { - // Method begins at RVA 0x295e8 - // Code size 27 (0x1b) - .maxstack 1 - .locals init ( - class NAnt.Core.Project V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::Init() - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.Project NAnt.Core.FrameworkInfo::_project - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_0041: nop + IL_0042: ldloc.1 + IL_0043: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0048: ldlen + IL_0049: conv.i4 + IL_004a: ldarg.1 + IL_004b: ldlen + IL_004c: conv.i4 + IL_004d: bne.un IL_0062 - IL_0019: ldloc.0 - IL_001a: ret - } // end of method FrameworkInfo::get_Project + IL_0052: nop + IL_0053: ldarg.0 + IL_0054: ldloc.1 + IL_0055: ldarg.2 + IL_0056: call void class NAnt.Core.TypeFactory::CheckDeprecation(string, class [mscorlib]System.Reflection.MethodInfo, class NAnt.Core.Project) + IL_005b: ldloc.1 + IL_005c: stloc.2 + IL_005d: br IL_00df - // method line 2045 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TaskAssemblies () cil managed - { - // Method begins at RVA 0x29610 - // Code size 167 (0xa7) - .maxstack 4 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class NAnt.Core.Types.FileSet V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() - IL_0007: ldarg.0 - IL_0008: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_000d: brtrue IL_0099 + IL_0062: nop + IL_0063: br IL_00bc - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0019: stfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_001e: ldarg.0 - IL_001f: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_0024: ldarg.0 - IL_0025: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_002a: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_002f: ldarg.0 - IL_0030: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_0035: ldarg.0 - IL_0036: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_003b: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0040: ldarg.0 - IL_0041: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_0046: ldarg.0 - IL_0047: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_004c: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0051: ldarg.0 - IL_0052: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_0057: ldstr "internal-task-assemblies" - IL_005c: callvirt instance void class NAnt.Core.DataTypeBase::set_ID(string) - IL_0061: ldarg.0 - IL_0062: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0067: ldstr "nant:task-assemblies" - IL_006c: ldarg.0 - IL_006d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_0072: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0077: stloc.0 - IL_0078: ldloc.0 - IL_0079: brfalse IL_0098 + IL_0068: nop + IL_0069: ldloc.0 + IL_006a: castclass [mscorlib]System.Collections.ArrayList + IL_006f: stloc.3 + IL_0070: ldc.i4.0 + IL_0071: stloc.s 4 + IL_0073: br IL_00ae + + IL_0078: nop + IL_0079: ldloc.3 + IL_007a: ldloc.s 4 + IL_007c: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_0081: castclass [mscorlib]System.Reflection.MethodInfo + IL_0086: stloc.1 + IL_0087: ldloc.1 + IL_0088: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_008d: ldlen + IL_008e: conv.i4 + IL_008f: ldarg.1 + IL_0090: ldlen + IL_0091: conv.i4 + IL_0092: bne.un IL_00a7 - IL_007e: nop - IL_007f: ldarg.0 - IL_0080: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_0085: ldloc.0 - IL_0086: ldarg.0 - IL_0087: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_008c: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0091: ldarg.0 - IL_0092: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) IL_0097: nop - IL_0098: nop - IL_0099: ldarg.0 - IL_009a: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_009f: stloc.1 - IL_00a0: br IL_00a5 + IL_0098: ldarg.0 + IL_0099: ldloc.1 + IL_009a: ldarg.2 + IL_009b: call void class NAnt.Core.TypeFactory::CheckDeprecation(string, class [mscorlib]System.Reflection.MethodInfo, class NAnt.Core.Project) + IL_00a0: ldloc.1 + IL_00a1: stloc.2 + IL_00a2: br IL_00df - IL_00a5: ldloc.1 - IL_00a6: ret - } // end of method FrameworkInfo::get_TaskAssemblies + IL_00a7: nop + IL_00a8: ldloc.s 4 + IL_00aa: ldc.i4.1 + IL_00ab: add + IL_00ac: stloc.s 4 + IL_00ae: ldloc.s 4 + IL_00b0: ldloc.3 + IL_00b1: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_00b6: blt IL_0078 - // method line 2046 - .method public hidebysig specialname - instance default bool get_IsValid () cil managed + IL_00bb: nop + IL_00bc: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c1: ldstr "NA1044" + IL_00c6: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00cb: ldarg.0 + IL_00cc: ldarg.1 + IL_00cd: ldlen + IL_00ce: conv.i4 + IL_00cf: box [mscorlib]System.Int32 + IL_00d4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00d9: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_00de: throw + IL_00df: ldloc.2 + IL_00e0: ret + } // end of method TypeFactory::LookupFunction + + // method line 2088 + .method private static hidebysig + default void CheckDeprecation (string functionName, class [mscorlib]System.Reflection.MethodInfo function, class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x296c4 - // Code size 26 (0x1a) - .maxstack 1 + // Method begins at RVA 0x2888c + // Code size 149 (0x95) + .maxstack 7 .locals init ( - bool V_0) + class [mscorlib]System.ObsoleteAttribute V_0, + string V_1) IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance void class NAnt.Core.FrameworkInfo::Validate() - IL_0008: ldc.i4.1 - IL_0009: stloc.0 - IL_000a: leave IL_0018 + IL_0001: ldarg.1 + IL_0002: ldtoken [mscorlib]System.ObsoleteAttribute + IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000c: ldc.i4.1 + IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0012: castclass [mscorlib]System.ObsoleteAttribute + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brtrue IL_003c - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_000f: pop - IL_0010: nop - IL_0011: ldc.i4.0 - IL_0012: stloc.0 - IL_0013: leave IL_0018 + IL_001e: nop + IL_001f: ldarg.1 + IL_0020: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_0025: ldtoken [mscorlib]System.ObsoleteAttribute + IL_002a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002f: ldc.i4.1 + IL_0030: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0035: castclass [mscorlib]System.ObsoleteAttribute + IL_003a: stloc.0 + IL_003b: nop + IL_003c: ldloc.0 + IL_003d: brfalse IL_0094 - } // end handler 0 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FrameworkInfo::get_IsValid + IL_0042: nop + IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0048: ldstr "NA1087" + IL_004d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0052: ldarg.0 + IL_0053: ldloc.0 + IL_0054: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_0059: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_005e: stloc.1 + IL_005f: ldloc.0 + IL_0060: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_0065: brfalse IL_0077 - // method line 2047 - .method assembly hidebysig specialname - instance default class NAnt.Core.Types.FileSet[] get_ReferenceAssemblies () cil managed + IL_006a: nop + IL_006b: ldloc.1 + IL_006c: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0071: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0076: throw + IL_0077: nop + IL_0078: ldarg.2 + IL_0079: ldc.i4 4000 + IL_007e: ldstr "{0}" + IL_0083: ldc.i4.1 + IL_0084: newarr [mscorlib]System.Object + IL_0089: dup + IL_008a: ldc.i4.0 + IL_008b: ldloc.1 + IL_008c: stelem.ref + IL_008d: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0092: nop + IL_0093: nop + IL_0094: ret + } // end of method TypeFactory::CheckDeprecation + + // method line 2089 + .method public static hidebysig + default class NAnt.Core.Task CreateTask (class [System.Xml]System.Xml.XmlNode taskNode, class NAnt.Core.Project proj) cil managed { - // Method begins at RVA 0x296fc - // Code size 207 (0xcf) - .maxstack 4 + // Method begins at RVA 0x28930 + // Code size 280 (0x118) + .maxstack 7 .locals init ( - class [System.Xml]System.Xml.XmlNodeList V_0, - int32 V_1, - class [System.Xml]System.Xml.XmlNode V_2, - class NAnt.Core.Types.FileSet V_3, - class NAnt.Core.Types.FileSet[] V_4) + string V_0, + class NAnt.Core.TaskBuilder V_1, + class NAnt.Core.Location V_2, + class NAnt.Core.Task V_3, + class [mscorlib]System.ObsoleteAttribute V_4, + class NAnt.Core.Location V_5, + string V_6, + class NAnt.Core.Task V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() - IL_0007: ldarg.0 - IL_0008: ldfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies - IL_000d: brtrue IL_00bf + IL_0002: brtrue IL_0013 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0019: ldstr "nant:reference-assemblies" - IL_001e: ldarg.0 - IL_001f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_0024: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0029: stloc.0 - IL_002a: ldarg.0 - IL_002b: ldloc.0 - IL_002c: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0031: newarr NAnt.Core.Types.FileSet - IL_0036: stfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies - IL_003b: ldc.i4.0 - IL_003c: stloc.1 - IL_003d: br IL_00b2 + IL_0007: nop + IL_0008: ldstr "taskNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: brtrue IL_0025 - IL_0042: nop - IL_0043: ldloc.0 - IL_0044: ldloc.1 - IL_0045: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) - IL_004a: stloc.2 - IL_004b: newobj instance void class NAnt.Core.Types.FileSet::'.ctor'() - IL_0050: stloc.3 - IL_0051: ldloc.3 - IL_0052: ldarg.0 - IL_0053: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_0058: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_005d: ldloc.3 - IL_005e: ldarg.0 - IL_005f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_0064: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0069: ldloc.3 - IL_006a: ldarg.0 - IL_006b: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_0070: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0075: ldloc.3 - IL_0076: ldstr "reference-assemblies-" - IL_007b: ldloca.s 1 - IL_007d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0082: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_0087: call string string::Concat(string, string) - IL_008c: callvirt instance void class NAnt.Core.DataTypeBase::set_ID(string) - IL_0091: ldloc.3 - IL_0092: ldloc.2 - IL_0093: ldarg.0 - IL_0094: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_0099: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_009e: ldarg.0 - IL_009f: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_00a4: ldarg.0 - IL_00a5: ldfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies - IL_00aa: ldloc.1 - IL_00ab: ldloc.3 - IL_00ac: stelem.ref - IL_00ad: nop - IL_00ae: ldloc.1 - IL_00af: ldc.i4.1 - IL_00b0: add - IL_00b1: stloc.1 - IL_00b2: ldloc.1 - IL_00b3: ldloc.0 - IL_00b4: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_00b9: blt IL_0042 + IL_0019: nop + IL_001a: ldstr "proj" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.0 + IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_002b: stloc.0 + IL_002c: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0031: ldloc.0 + IL_0032: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) + IL_0037: stloc.1 + IL_0038: ldloc.1 + IL_0039: brtrue IL_0068 - IL_00be: nop - IL_00bf: ldarg.0 - IL_00c0: ldfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies - IL_00c5: stloc.s 4 - IL_00c7: br IL_00cc + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0045: ldarg.0 + IL_0046: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_004b: stloc.2 + IL_004c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0051: ldstr "NA1083" + IL_0056: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_005b: ldloc.0 + IL_005c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0061: ldloc.2 + IL_0062: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0067: throw + IL_0068: ldloc.1 + IL_0069: callvirt instance class NAnt.Core.Task class NAnt.Core.TaskBuilder::CreateTask() + IL_006e: stloc.3 + IL_006f: ldloc.3 + IL_0070: ldarg.1 + IL_0071: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0076: ldloc.3 + IL_0077: ldarg.1 + IL_0078: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_007d: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0082: ldloc.3 + IL_0083: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0088: ldtoken [mscorlib]System.ObsoleteAttribute + IL_008d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0092: ldc.i4.1 + IL_0093: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0098: castclass [mscorlib]System.ObsoleteAttribute + IL_009d: stloc.s 4 + IL_009f: ldloc.s 4 + IL_00a1: brfalse IL_010d - IL_00cc: ldloc.s 4 - IL_00ce: ret - } // end of method FrameworkInfo::get_ReferenceAssemblies + IL_00a6: nop + IL_00a7: ldarg.1 + IL_00a8: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_00ad: ldarg.0 + IL_00ae: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_00b3: stloc.s 5 + IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ba: ldstr "NA1086" + IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00c4: ldloc.0 + IL_00c5: ldloc.s 4 + IL_00c7: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_00cc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00d1: stloc.s 6 + IL_00d3: ldloc.s 4 + IL_00d5: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_00da: brfalse IL_00ea - // method line 2048 - .method assembly hidebysig specialname - instance default string[] get_ToolPaths () cil managed + IL_00df: nop + IL_00e0: ldloc.s 6 + IL_00e2: ldloc.s 5 + IL_00e4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00e9: throw + IL_00ea: nop + IL_00eb: ldarg.1 + IL_00ec: ldc.i4 4000 + IL_00f1: ldstr "{0} {1}" + IL_00f6: ldc.i4.2 + IL_00f7: newarr [mscorlib]System.Object + IL_00fc: dup + IL_00fd: ldc.i4.0 + IL_00fe: ldloc.s 5 + IL_0100: stelem.ref + IL_0101: dup + IL_0102: ldc.i4.1 + IL_0103: ldloc.s 6 + IL_0105: stelem.ref + IL_0106: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_010b: nop + IL_010c: nop + IL_010d: ldloc.3 + IL_010e: stloc.s 7 + IL_0110: br IL_0115 + + IL_0115: ldloc.s 7 + IL_0117: ret + } // end of method TypeFactory::CreateTask + + // method line 2090 + .method public static hidebysig + default class NAnt.Core.Filters.Filter CreateFilter (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.Element parent) cil managed { - // Method begins at RVA 0x297d8 - // Code size 157 (0x9d) - .maxstack 4 + // Method begins at RVA 0x28a54 + // Code size 319 (0x13f) + .maxstack 7 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class NAnt.Core.Configuration.DirList V_1, - string[] V_2) + string V_0, + class NAnt.Core.Filters.FilterBuilder V_1, + class NAnt.Core.Location V_2, + class NAnt.Core.Filters.Filter V_3, + class [mscorlib]System.ObsoleteAttribute V_4, + class NAnt.Core.Location V_5, + string V_6, + class NAnt.Core.Filters.Filter V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() - IL_0007: ldarg.0 - IL_0008: ldfld string[] NAnt.Core.FrameworkInfo::_toolPaths - IL_000d: brtrue IL_008f + IL_0002: brtrue IL_0013 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0019: ldstr "nant:tool-paths" - IL_001e: ldarg.0 - IL_001f: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_0024: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: brfalse IL_0080 + IL_0007: nop + IL_0008: ldstr "elementNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: brtrue IL_0025 - IL_0030: nop - IL_0031: newobj instance void class NAnt.Core.Configuration.DirList::'.ctor'() - IL_0036: stloc.1 - IL_0037: ldloc.1 - IL_0038: ldarg.0 - IL_0039: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_003e: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0043: ldloc.1 - IL_0044: ldarg.0 - IL_0045: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_004a: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_004f: ldloc.1 - IL_0050: ldarg.0 - IL_0051: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_0056: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_005b: ldloc.1 - IL_005c: ldloc.0 - IL_005d: ldarg.0 - IL_005e: call instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_0063: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_0068: ldarg.0 - IL_0069: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_006e: ldarg.0 - IL_006f: ldloc.1 - IL_0070: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories() - IL_0075: stfld string[] NAnt.Core.FrameworkInfo::_toolPaths - IL_007a: nop - IL_007b: br IL_008e + IL_0019: nop + IL_001a: ldstr "parent" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.0 + IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_002b: stloc.0 + IL_002c: call class NAnt.Core.Filters.FilterBuilderCollection class NAnt.Core.TypeFactory::get_FilterBuilders() + IL_0031: ldloc.0 + IL_0032: callvirt instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(string) + IL_0037: stloc.1 + IL_0038: ldloc.1 + IL_0039: brtrue IL_006d + + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0045: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_004a: ldarg.0 + IL_004b: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_0050: stloc.2 + IL_0051: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0056: ldstr "NA1082" + IL_005b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0060: ldloc.0 + IL_0061: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0066: ldloc.2 + IL_0067: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_006c: throw + IL_006d: ldloc.1 + IL_006e: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterBuilder::CreateFilter() + IL_0073: stloc.3 + IL_0074: ldloc.3 + IL_0075: ldarg.1 + IL_0076: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_007b: ldloc.3 + IL_007c: ldarg.1 + IL_007d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0082: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0087: ldloc.3 + IL_0088: ldarg.1 + IL_0089: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_008e: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_0093: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0098: ldloc.3 + IL_0099: ldarg.0 + IL_009a: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) + IL_009f: ldloc.3 + IL_00a0: callvirt instance class [mscorlib]System.Type object::GetType() + IL_00a5: ldtoken [mscorlib]System.ObsoleteAttribute + IL_00aa: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00af: ldc.i4.1 + IL_00b0: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_00b5: castclass [mscorlib]System.ObsoleteAttribute + IL_00ba: stloc.s 4 + IL_00bc: ldloc.s 4 + IL_00be: brfalse IL_0134 - IL_0080: nop - IL_0081: ldarg.0 - IL_0082: ldc.i4.0 - IL_0083: newarr [mscorlib]System.String - IL_0088: stfld string[] NAnt.Core.FrameworkInfo::_toolPaths - IL_008d: nop - IL_008e: nop - IL_008f: ldarg.0 - IL_0090: ldfld string[] NAnt.Core.FrameworkInfo::_toolPaths - IL_0095: stloc.2 - IL_0096: br IL_009b + IL_00c3: nop + IL_00c4: ldarg.1 + IL_00c5: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00ca: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_00cf: ldarg.0 + IL_00d0: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_00d5: stloc.s 5 + IL_00d7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00dc: ldstr "NA1079" + IL_00e1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00e6: ldloc.0 + IL_00e7: ldloc.s 4 + IL_00e9: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_00ee: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00f3: stloc.s 6 + IL_00f5: ldloc.s 4 + IL_00f7: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_00fc: brfalse IL_010c - IL_009b: ldloc.2 - IL_009c: ret - } // end of method FrameworkInfo::get_ToolPaths + IL_0101: nop + IL_0102: ldloc.s 6 + IL_0104: ldloc.s 5 + IL_0106: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_010b: throw + IL_010c: nop + IL_010d: ldarg.1 + IL_010e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0113: ldc.i4 4000 + IL_0118: ldstr "{0} {1}" + IL_011d: ldc.i4.2 + IL_011e: newarr [mscorlib]System.Object + IL_0123: dup + IL_0124: ldc.i4.0 + IL_0125: ldloc.s 5 + IL_0127: stelem.ref + IL_0128: dup + IL_0129: ldc.i4.1 + IL_012a: ldloc.s 6 + IL_012c: stelem.ref + IL_012d: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0132: nop + IL_0133: nop + IL_0134: ldloc.3 + IL_0135: stloc.s 7 + IL_0137: br IL_013c - // method line 2049 - .method assembly hidebysig specialname - instance default string get_RuntimeEngine () cil managed + IL_013c: ldloc.s 7 + IL_013e: ret + } // end of method TypeFactory::CreateFilter + + // method line 2091 + .method public static hidebysig + default class NAnt.Core.DataTypeBase CreateDataType (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.Project proj) cil managed { - // Method begins at RVA 0x29884 - // Code size 99 (0x63) - .maxstack 2 + // Method begins at RVA 0x28ba0 + // Code size 280 (0x118) + .maxstack 7 .locals init ( string V_0, - class NAnt.Core.Configuration.ManagedExecutionMode V_1, - class NAnt.Core.Configuration.RuntimeEngine V_2) + class NAnt.Core.DataTypeBaseBuilder V_1, + class NAnt.Core.Location V_2, + class NAnt.Core.DataTypeBase V_3, + class [mscorlib]System.ObsoleteAttribute V_4, + class NAnt.Core.Location V_5, + string V_6, + class NAnt.Core.DataTypeBase V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0007: brtrue IL_0018 + IL_0002: brtrue IL_0013 - IL_000c: nop - IL_000d: ldsfld string [mscorlib]System.String::Empty - IL_0012: stloc.0 - IL_0013: br IL_0061 + IL_0007: nop + IL_0008: ldstr "elementNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: brtrue IL_0025 - IL_0018: ldarg.0 - IL_0019: call instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_001e: callvirt instance class NAnt.Core.Configuration.ManagedExecutionModes class NAnt.Core.Configuration.Runtime::get_Modes() - IL_0023: ldc.i4.1 - IL_0024: callvirt instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::GetExecutionMode(valuetype NAnt.Core.Types.ManagedExecution) - IL_0029: stloc.1 - IL_002a: ldloc.1 - IL_002b: brfalse IL_0056 + IL_0019: nop + IL_001a: ldstr "proj" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.0 + IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_002b: stloc.0 + IL_002c: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_0031: ldloc.0 + IL_0032: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(string) + IL_0037: stloc.1 + IL_0038: ldloc.1 + IL_0039: brtrue IL_0068 - IL_0030: nop - IL_0031: ldloc.1 - IL_0032: callvirt instance class NAnt.Core.Configuration.RuntimeEngine class NAnt.Core.Configuration.ManagedExecutionMode::get_Engine() - IL_0037: stloc.2 - IL_0038: ldloc.2 - IL_0039: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_003e: brfalse IL_0055 + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0045: ldarg.0 + IL_0046: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_004b: stloc.2 + IL_004c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0051: ldstr "NA1081" + IL_0056: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_005b: ldloc.0 + IL_005c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0061: ldloc.2 + IL_0062: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0067: throw + IL_0068: ldloc.1 + IL_0069: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseBuilder::CreateDataTypeBase() + IL_006e: stloc.3 + IL_006f: ldloc.3 + IL_0070: ldarg.1 + IL_0071: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0076: ldloc.3 + IL_0077: ldarg.1 + IL_0078: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_007d: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0082: ldloc.3 + IL_0083: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0088: ldtoken [mscorlib]System.ObsoleteAttribute + IL_008d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0092: ldc.i4.1 + IL_0093: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0098: castclass [mscorlib]System.ObsoleteAttribute + IL_009d: stloc.s 4 + IL_009f: ldloc.s 4 + IL_00a1: brfalse IL_010d - IL_0043: nop - IL_0044: ldloc.2 - IL_0045: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_004a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004f: stloc.0 - IL_0050: br IL_0061 + IL_00a6: nop + IL_00a7: ldarg.1 + IL_00a8: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_00ad: ldarg.0 + IL_00ae: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_00b3: stloc.s 5 + IL_00b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ba: ldstr "NA1085" + IL_00bf: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00c4: ldloc.0 + IL_00c5: ldloc.s 4 + IL_00c7: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_00cc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00d1: stloc.s 6 + IL_00d3: ldloc.s 4 + IL_00d5: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_00da: brfalse IL_00ea - IL_0055: nop - IL_0056: ldsfld string [mscorlib]System.String::Empty - IL_005b: stloc.0 - IL_005c: br IL_0061 + IL_00df: nop + IL_00e0: ldloc.s 6 + IL_00e2: ldloc.s 5 + IL_00e4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00e9: throw + IL_00ea: nop + IL_00eb: ldarg.1 + IL_00ec: ldc.i4 4000 + IL_00f1: ldstr "{0} {1}" + IL_00f6: ldc.i4.2 + IL_00f7: newarr [mscorlib]System.Object + IL_00fc: dup + IL_00fd: ldc.i4.0 + IL_00fe: ldloc.s 5 + IL_0100: stelem.ref + IL_0101: dup + IL_0102: ldc.i4.1 + IL_0103: ldloc.s 6 + IL_0105: stelem.ref + IL_0106: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_010b: nop + IL_010c: nop + IL_010d: ldloc.3 + IL_010e: stloc.s 7 + IL_0110: br IL_0115 - IL_0061: ldloc.0 - IL_0062: ret - } // end of method FrameworkInfo::get_RuntimeEngine + IL_0115: ldloc.s 7 + IL_0117: ret + } // end of method TypeFactory::CreateDataType - // method line 2050 - .method private hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + // method line 2092 + .method private static hidebysig + default bool ScanTypeForTasks (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed { - // Method begins at RVA 0x298f4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x28cc4 + // Code size 254 (0xfe) + .maxstack 7 .locals init ( - class [System.Xml]System.Xml.XmlNamespaceManager V_0) + class NAnt.Core.Attributes.TaskNameAttribute V_0, + class NAnt.Core.TaskBuilder V_1, + bool V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::_nsMgr - IL_0007: stloc.0 - IL_0008: br IL_000d + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: ldtoken NAnt.Core.Attributes.TaskNameAttribute + IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0012: castclass NAnt.Core.Attributes.TaskNameAttribute + IL_0017: stloc.0 + IL_0018: ldarg.1 + IL_0019: ldtoken NAnt.Core.Task + 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_00d1 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfo::get_NamespaceManager + IL_002d: ldarg.1 + IL_002e: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_0033: brtrue IL_00d1 - // method line 2051 - .method assembly static hidebysig specialname - default class [mscorlib]System.Collections.IComparer get_NameComparer () cil managed - { - // Method begins at RVA 0x29910 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IComparer V_0) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.FrameworkInfo/FrameworkNameComparer::'.ctor'() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0038: ldloc.0 + IL_0039: brfalse IL_00d1 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method FrameworkInfo::get_NameComparer + IL_003e: nop + IL_003f: ldarg.2 + IL_0040: ldc.i4 1000 + IL_0045: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004a: ldstr "String_CreatingTaskBuilder" + IL_004f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0054: ldarg.1 + IL_0055: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005f: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0064: ldarg.0 + IL_0065: ldarg.1 + IL_0066: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_006b: newobj instance void class NAnt.Core.TaskBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) + IL_0070: stloc.1 + IL_0071: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0076: ldloc.1 + IL_0077: callvirt instance string class NAnt.Core.TaskBuilder::get_TaskName() + IL_007c: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) + IL_0081: brtrue IL_00ca - // method line 2052 - .method public hidebysig - instance default string ResolveAssembly (string fileName) cil managed + IL_0086: nop + IL_0087: ldarg.2 + IL_0088: ldc.i4 1000 + IL_008d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0092: ldstr "String_AddingTask" + IL_0097: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009c: ldloc.1 + IL_009d: callvirt instance string class NAnt.Core.TaskBuilder::get_TaskName() + IL_00a2: ldloc.1 + IL_00a3: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_00a8: call string class NAnt.Core.TypeFactory::GetAssemblyLocation(class [mscorlib]System.Reflection.Assembly) + IL_00ad: ldloc.1 + IL_00ae: callvirt instance string class NAnt.Core.TaskBuilder::get_ClassName() + IL_00b3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_00b8: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_00bd: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_00c2: ldloc.1 + IL_00c3: callvirt instance int32 class NAnt.Core.TaskBuilderCollection::Add(class NAnt.Core.TaskBuilder) + IL_00c8: pop + IL_00c9: nop + IL_00ca: ldc.i4.1 + IL_00cb: stloc.2 + IL_00cc: leave IL_00fc + + IL_00d1: nop + IL_00d2: ldc.i4.0 + IL_00d3: stloc.2 + IL_00d4: leave IL_00fc + + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_00d9: pop + IL_00da: nop + IL_00db: ldarg.2 + IL_00dc: ldc.i4 5000 + IL_00e1: ldstr "Failure scanning \"{0}\" for tasks." + IL_00e6: ldc.i4.1 + IL_00e7: newarr [mscorlib]System.Object + IL_00ec: dup + IL_00ed: ldc.i4.0 + IL_00ee: ldarg.1 + IL_00ef: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() + IL_00f4: stelem.ref + IL_00f5: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00fa: rethrow + } // end handler 0 + IL_00fc: ldloc.2 + IL_00fd: ret + } // end of method TypeFactory::ScanTypeForTasks + + // method line 2093 + .method private static hidebysig + default bool ScanTypeForDataTypes (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed { - // Method begins at RVA 0x2992c - // Code size 68 (0x44) - .maxstack 2 + // Method begins at RVA 0x28de0 + // Code size 252 (0xfc) + .maxstack 7 .locals init ( - string V_0, - class NAnt.Core.Types.FileSet V_1, - class NAnt.Core.Types.FileSet[] V_2, - int32 V_3, - string V_4) + class NAnt.Core.Attributes.ElementNameAttribute V_0, + class NAnt.Core.DataTypeBaseBuilder V_1, + bool V_2) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: call instance class NAnt.Core.Types.FileSet[] class NAnt.Core.FrameworkInfo::get_ReferenceAssemblies() - IL_000a: stloc.2 - IL_000b: ldc.i4.0 - IL_000c: stloc.3 - IL_000d: br IL_0030 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0012: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_0017: stloc.0 + IL_0018: ldarg.1 + IL_0019: ldtoken NAnt.Core.DataTypeBase + 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_00cf - IL_0012: ldloc.2 - IL_0013: ldloc.3 - IL_0014: ldelem.ref - IL_0015: stloc.1 - IL_0016: nop - IL_0017: ldloc.1 - IL_0018: ldarg.1 - IL_0019: callvirt instance string class NAnt.Core.Types.FileSet::Find(string) - IL_001e: stloc.0 - IL_001f: ldloc.0 - IL_0020: brfalse IL_002b + IL_002d: ldarg.1 + IL_002e: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_0033: brtrue IL_00cf - IL_0025: nop - IL_0026: br IL_0039 + IL_0038: ldloc.0 + IL_0039: brfalse IL_00cf - IL_002b: nop - IL_002c: ldloc.3 - IL_002d: ldc.i4.1 - IL_002e: add - IL_002f: stloc.3 - IL_0030: ldloc.3 - IL_0031: ldloc.2 - IL_0032: ldlen - IL_0033: conv.i4 - IL_0034: blt IL_0012 + IL_003e: nop + IL_003f: ldsfld class [log4net]log4net.ILog NAnt.Core.TypeFactory::logger + IL_0044: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0049: ldstr "String_CreatingDataTypeBaseBuilder" + IL_004e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0053: ldarg.1 + IL_0054: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0059: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005e: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_0063: ldarg.0 + IL_0064: ldarg.1 + IL_0065: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_006a: newobj instance void class NAnt.Core.DataTypeBaseBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) + IL_006f: stloc.1 + IL_0070: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_0075: ldloc.1 + IL_0076: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_DataTypeName() + IL_007b: callvirt instance class NAnt.Core.DataTypeBaseBuilder class NAnt.Core.DataTypeBaseBuilderCollection::get_Item(string) + IL_0080: brtrue IL_00c8 - IL_0039: ldloc.0 - IL_003a: stloc.s 4 - IL_003c: br IL_0041 + IL_0085: nop + IL_0086: ldsfld class [log4net]log4net.ILog NAnt.Core.TypeFactory::logger + IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0090: ldstr "String_AddingDataType" + IL_0095: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009a: ldloc.1 + IL_009b: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_DataTypeName() + IL_00a0: ldloc.1 + IL_00a1: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_00a6: call string class NAnt.Core.TypeFactory::GetAssemblyLocation(class [mscorlib]System.Reflection.Assembly) + IL_00ab: ldloc.1 + IL_00ac: callvirt instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() + IL_00b1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_00b6: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_00bb: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_00c0: ldloc.1 + IL_00c1: callvirt instance int32 class NAnt.Core.DataTypeBaseBuilderCollection::Add(class NAnt.Core.DataTypeBaseBuilder) + IL_00c6: pop + IL_00c7: nop + IL_00c8: ldc.i4.1 + IL_00c9: stloc.2 + IL_00ca: leave IL_00fa - IL_0041: ldloc.s 4 - IL_0043: ret - } // end of method FrameworkInfo::ResolveAssembly + IL_00cf: nop + IL_00d0: ldc.i4.0 + IL_00d1: stloc.2 + IL_00d2: leave IL_00fa - // method line 2053 - .method assembly hidebysig - instance default void Validate () cil managed + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_00d7: pop + IL_00d8: nop + IL_00d9: ldarg.2 + IL_00da: ldc.i4 5000 + IL_00df: ldstr "Failure scanning \"{0}\" for data types." + IL_00e4: ldc.i4.1 + IL_00e5: newarr [mscorlib]System.Object + IL_00ea: dup + IL_00eb: ldc.i4.0 + IL_00ec: ldarg.1 + IL_00ed: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() + IL_00f2: stelem.ref + IL_00f3: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00f8: rethrow + } // end handler 0 + IL_00fa: ldloc.2 + IL_00fb: ret + } // end of method TypeFactory::ScanTypeForDataTypes + + // method line 2094 + .method private static hidebysig + default bool ScanTypeForFunctions (class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed { - // Method begins at RVA 0x2997c - // Code size 199 (0xc7) - .maxstack 4 + // Method begins at RVA 0x28ef8 + // Code size 333 (0x14d) + .maxstack 7 .locals init ( - class [mscorlib]System.Exception V_0) + class NAnt.Core.Attributes.FunctionSetAttribute V_0, + bool V_1, + bool V_2, + string V_3, + class [mscorlib]System.Reflection.MethodInfo V_4, + class [mscorlib]System.Reflection.MethodInfo[] V_5, + int32 V_6, + class NAnt.Core.Attributes.FunctionAttribute V_7) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0007: ldc.i4.3 - IL_0008: bne.un IL_0013 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: ldtoken NAnt.Core.Attributes.FunctionSetAttribute + IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0012: castclass NAnt.Core.Attributes.FunctionSetAttribute + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brtrue IL_0026 - IL_000d: nop - IL_000e: br IL_00c6 + IL_001e: nop + IL_001f: ldc.i4.0 + IL_0020: stloc.1 + IL_0021: leave IL_014b - IL_0013: ldarg.0 - IL_0014: call instance void class NAnt.Core.FrameworkInfo::Init() - IL_0019: ldarg.0 - IL_001a: ldc.i4.1 - IL_001b: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - .try { // 0 - IL_0020: nop - IL_0021: ldarg.0 - IL_0022: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_0027: brtrue IL_0038 + IL_0026: ldarg.0 + IL_0027: ldtoken NAnt.Core.ExpressionEvaluator + IL_002c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0031: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0036: stloc.2 + IL_0037: ldarg.0 + IL_0038: ldtoken NAnt.Core.FunctionSetBase + IL_003d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0042: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) + IL_0047: brfalse IL_005b - IL_002c: nop - IL_002d: ldstr "The \"frameworkdirectory\" attribute does not exist, or has no value." - IL_0032: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0037: throw - IL_0038: ldarg.0 - IL_0039: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() - IL_003e: brtrue IL_004f + IL_004c: ldarg.0 + IL_004d: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_0052: brtrue IL_005b - IL_0043: nop - IL_0044: ldstr "The \"frameworkassemblydirectory\" attribute does not exist, or has no value." - IL_0049: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_004e: throw - IL_004f: ldarg.0 - IL_0050: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() - IL_0055: ldnull - IL_0056: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_005b: brfalse IL_006c + IL_0057: nop + IL_0058: ldc.i4.1 + IL_0059: stloc.2 + IL_005a: nop + IL_005b: ldloc.2 + IL_005c: brfalse IL_0120 - IL_0060: nop - IL_0061: ldstr "The \"version\" attribute does not exist, or has no value." - IL_0066: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_006b: throw - IL_006c: ldarg.0 - IL_006d: call instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_0072: ldnull - IL_0073: call bool class [mscorlib]System.Version::op_Equality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_0078: brfalse IL_0089 + IL_0061: nop + IL_0062: ldloc.0 + IL_0063: callvirt instance string class NAnt.Core.Attributes.FunctionSetAttribute::get_Prefix() + IL_0068: stloc.3 + IL_0069: ldloc.3 + IL_006a: brfalse IL_0092 - IL_007d: nop - IL_007e: ldstr "The \"clrversion\" attribute does not exist, or has no value." - IL_0083: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0088: throw - IL_0089: ldarg.0 - IL_008a: ldc.i4.3 - IL_008b: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0090: nop - IL_0091: leave IL_00c6 + IL_006f: ldloc.3 + IL_0070: ldsfld string [mscorlib]System.String::Empty + IL_0075: call bool string::op_Inequality(string, string) + IL_007a: brfalse IL_0092 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0096: stloc.0 - IL_0097: nop - IL_0098: ldarg.0 - IL_0099: ldc.i4.2 - IL_009a: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_009f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a4: ldstr "{0} ({1}) is not installed, or not correctly configured." - IL_00a9: ldarg.0 - IL_00aa: call instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_00af: ldarg.0 - IL_00b0: call instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_00b5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00ba: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_00bf: ldloc.0 - IL_00c0: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00c5: throw - } // end handler 0 - IL_00c6: ret - } // end of method FrameworkInfo::Validate + IL_007f: nop + IL_0080: ldloc.3 + IL_0081: ldstr "::" + IL_0086: call string string::Concat(string, string) + IL_008b: stloc.3 + IL_008c: nop + IL_008d: br IL_00b9 - // method line 2054 - .method assembly hidebysig - instance default string GetToolPath (string tool) cil managed - { - // Method begins at RVA 0x29a60 - // Code size 39 (0x27) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0012 + IL_0092: nop + IL_0093: ldarg.1 + IL_0094: ldc.i4 4000 + IL_0099: ldstr "Ignoring functions in type \"{0}\": no prefix was set." + IL_009e: ldc.i4.1 + IL_009f: newarr [mscorlib]System.Object + IL_00a4: dup + IL_00a5: ldc.i4.0 + IL_00a6: ldarg.0 + IL_00a7: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() + IL_00ac: stelem.ref + IL_00ad: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00b2: ldc.i4.0 + IL_00b3: stloc.1 + IL_00b4: leave IL_014b - IL_0007: ldstr "tool" - IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0011: throw - IL_0012: ldarg.0 - IL_0013: call instance string[] class NAnt.Core.FrameworkInfo::get_ToolPaths() - IL_0018: ldarg.1 - IL_0019: ldc.i4.0 - IL_001a: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_00b9: nop + IL_00ba: ldarg.0 + IL_00bb: ldc.i4.s 0x1c + IL_00bd: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_00c2: stloc.s 5 + IL_00c4: ldc.i4.0 + IL_00c5: stloc.s 6 + IL_00c7: br IL_010e - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FrameworkInfo::GetToolPath + IL_00cc: ldloc.s 5 + IL_00ce: ldloc.s 6 + IL_00d0: ldelem.ref + IL_00d1: stloc.s 4 + IL_00d3: nop + IL_00d4: ldloc.s 4 + IL_00d6: ldtoken NAnt.Core.Attributes.FunctionAttribute + IL_00db: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00e0: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_00e5: castclass NAnt.Core.Attributes.FunctionAttribute + IL_00ea: stloc.s 7 + IL_00ec: ldloc.s 7 + IL_00ee: brfalse IL_0107 - // method line 2055 - .method private hidebysig - instance default void Init () cil managed - { - // Method begins at RVA 0x29a94 - // Code size 79 (0x4f) - .maxstack 4 - .locals init ( - class [mscorlib]System.Exception V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0007: brfalse IL_0012 + IL_00f3: ldloc.3 + IL_00f4: ldloc.s 7 + IL_00f6: callvirt instance string class NAnt.Core.Attributes.FunctionAttribute::get_Name() + IL_00fb: call string string::Concat(string, string) + IL_0100: ldloc.s 4 + IL_0102: call void class NAnt.Core.TypeFactory::RegisterFunction(string, class [mscorlib]System.Reflection.MethodInfo) + IL_0107: nop + IL_0108: ldloc.s 6 + IL_010a: ldc.i4.1 + IL_010b: add + IL_010c: stloc.s 6 + IL_010e: ldloc.s 6 + IL_0110: ldloc.s 5 + IL_0112: ldlen + IL_0113: conv.i4 + IL_0114: blt IL_00cc - IL_000c: nop - IL_000d: br IL_004e + IL_0119: ldc.i4.1 + IL_011a: stloc.1 + IL_011b: leave IL_014b - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.FrameworkInfo::AssertNotInvalid() - .try { // 0 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: call instance void class NAnt.Core.FrameworkInfo::PerformInit() - IL_001f: nop - IL_0020: leave IL_004e + IL_0120: nop + IL_0121: ldc.i4.0 + IL_0122: stloc.1 + IL_0123: leave IL_014b } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0025: stloc.0 - IL_0026: nop - IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002c: ldstr "Failed to initialize the '{0}' ({1}) target framework." - IL_0031: ldarg.0 - IL_0032: call instance string class NAnt.Core.FrameworkInfo::get_Description() - IL_0037: ldarg.0 - IL_0038: call instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0042: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0047: ldloc.0 - IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_004d: throw + catch class [mscorlib]System.Object { // 0 + IL_0128: pop + IL_0129: nop + IL_012a: ldarg.1 + IL_012b: ldc.i4 5000 + IL_0130: ldstr "Failure scanning \"{0}\" for functions." + IL_0135: ldc.i4.1 + IL_0136: newarr [mscorlib]System.Object + IL_013b: dup + IL_013c: ldc.i4.0 + IL_013d: ldarg.0 + IL_013e: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() + IL_0143: stelem.ref + IL_0144: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0149: rethrow } // end handler 0 - IL_004e: ret - } // end of method FrameworkInfo::Init + IL_014b: ldloc.1 + IL_014c: ret + } // end of method TypeFactory::ScanTypeForFunctions - // method line 2056 - .method private hidebysig - instance default void PerformInit () cil managed + // method line 2095 + .method private static hidebysig + default void RegisterFunction (string key, class [mscorlib]System.Reflection.MethodInfo info) cil managed { - // Method begins at RVA 0x29b00 - // Code size 290 (0x122) - .maxstack 4 + // Method begins at RVA 0x29070 + // Code size 119 (0x77) + .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [System.Xml]System.Xml.XmlDocument V_1, - class NAnt.Core.Project V_2, - class [System.Xml]System.Xml.XmlNode V_3, - class NAnt.Core.Project V_4, - string V_5) + object V_0, + class [mscorlib]System.Reflection.MethodInfo V_1, + class [mscorlib]System.Collections.ArrayList V_2, + class [mscorlib]System.Collections.ArrayList V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_0007: ldstr "nant:project" - IL_000c: ldarg.0 - IL_000d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_0012: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: brtrue IL_0029 + IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection + IL_0006: ldarg.0 + IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brtrue IL_0026 - IL_001e: ldstr "No node is defined." - IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0028: throw - IL_0029: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_002e: stloc.1 - IL_002f: ldloc.1 - IL_0030: ldloc.0 - IL_0031: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_OuterXml() - IL_0036: callvirt instance void class [System.Xml]System.Xml.XmlDocument::LoadXml(string) - IL_003b: ldloc.1 - IL_003c: newobj instance void class NAnt.Core.Project::'.ctor'(class [System.Xml]System.Xml.XmlDocument) + IL_0013: nop + IL_0014: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0020: nop + IL_0021: br IL_0076 + + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: isinst [mscorlib]System.Reflection.MethodInfo + IL_002d: stloc.1 + IL_002e: ldloc.1 + IL_002f: ldnull + IL_0030: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_0035: brfalse IL_0050 + + IL_003a: nop + IL_003b: ldloc.0 + IL_003c: castclass [mscorlib]System.Collections.ArrayList IL_0041: stloc.2 IL_0042: ldloc.2 - IL_0043: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0048: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() - IL_004d: callvirt instance void class NAnt.Core.Project::set_BaseDirectory(string) - IL_0052: ldloc.2 - IL_0053: callvirt instance void class NAnt.Core.Project::Execute() - IL_0058: ldarg.0 - IL_0059: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_005e: ldstr "runtime" - IL_0063: ldarg.0 - IL_0064: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_0069: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_006e: stloc.3 - IL_006f: ldloc.3 - IL_0070: brfalse IL_00c3 + IL_0043: ldarg.1 + IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0049: pop + IL_004a: nop + IL_004b: br IL_0075 + IL_0050: nop + IL_0051: ldc.i4.3 + IL_0052: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0057: stloc.3 + IL_0058: ldloc.3 + IL_0059: ldloc.1 + IL_005a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_005f: pop + IL_0060: ldloc.3 + IL_0061: ldarg.1 + IL_0062: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0067: pop + IL_0068: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection + IL_006d: ldarg.0 + IL_006e: ldloc.3 + IL_006f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0074: nop IL_0075: nop - IL_0076: ldarg.0 - IL_0077: newobj instance void class NAnt.Core.Configuration.Runtime::'.ctor'() - IL_007c: stfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime - IL_0081: ldarg.0 - IL_0082: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime - IL_0087: ldloc.2 - IL_0088: stloc.s 4 - IL_008a: ldarg.0 - IL_008b: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime - IL_0090: ldloc.s 4 - IL_0092: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) - IL_0097: ldloc.s 4 - IL_0099: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_009e: ldarg.0 - IL_009f: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime - IL_00a4: ldarg.0 - IL_00a5: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.FrameworkInfo::get_NamespaceManager() - IL_00aa: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00af: ldarg.0 - IL_00b0: ldfld class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::_runtime - IL_00b5: ldloc.3 - IL_00b6: ldloc.2 - IL_00b7: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00bc: ldarg.0 - IL_00bd: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_00c2: nop - IL_00c3: ldarg.0 - IL_00c4: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_00c9: ldstr "sdkdirectory" - IL_00ce: call string class NAnt.Core.FrameworkInfo::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_00d3: stloc.s 5 - .try { // 0 - IL_00d5: nop - IL_00d6: ldloc.2 - IL_00d7: ldloc.s 5 - IL_00d9: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_00de: callvirt instance string class NAnt.Core.Project::ExpandProperties(string, class NAnt.Core.Location) - IL_00e3: stloc.s 5 - IL_00e5: nop - IL_00e6: leave IL_00f3 - - } // end .try 0 - catch class NAnt.Core.BuildException { // 0 - IL_00eb: pop - IL_00ec: nop - IL_00ed: nop - IL_00ee: leave IL_00f3 + IL_0076: ret + } // end of method TypeFactory::RegisterFunction - } // end handler 0 - IL_00f3: ldloc.s 5 - IL_00f5: brfalse IL_0113 + // method line 2096 + .method private static hidebysig + default bool ScanTypeForFilters (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed + { + // Method begins at RVA 0x290f4 + // Code size 247 (0xf7) + .maxstack 7 + .locals init ( + class NAnt.Core.Attributes.ElementNameAttribute V_0, + class NAnt.Core.Filters.FilterBuilder V_1, + bool V_2) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0012: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_0017: stloc.0 + IL_0018: ldarg.1 + IL_0019: ldtoken NAnt.Core.Filters.Filter + 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_00cb - IL_00fa: ldloc.s 5 - IL_00fc: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0101: brfalse IL_0113 + IL_002d: ldarg.1 + IL_002e: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_0033: brtrue IL_00cb - IL_0106: ldarg.0 - IL_0107: ldloc.s 5 - IL_0109: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_010e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_sdkDirectory - IL_0113: ldarg.0 - IL_0114: ldloc.2 - IL_0115: stfld class NAnt.Core.Project NAnt.Core.FrameworkInfo::_project - IL_011a: ldarg.0 - IL_011b: ldc.i4.1 - IL_011c: stfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0121: ret - } // end of method FrameworkInfo::PerformInit + IL_0038: ldloc.0 + IL_0039: brfalse IL_00cb - // method line 2057 - .method private hidebysig - instance default void AssertNotInvalid () cil managed - { - // Method begins at RVA 0x29c40 - // Code size 48 (0x30) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0007: ldc.i4.2 - IL_0008: beq IL_0023 + IL_003e: nop + IL_003f: ldarg.2 + IL_0040: ldc.i4 1000 + IL_0045: ldstr "Creating FilterBuilder for \"{0}\"." + IL_004a: ldc.i4.1 + IL_004b: newarr [mscorlib]System.Object + IL_0050: dup + IL_0051: ldc.i4.0 + IL_0052: ldarg.1 + IL_0053: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0058: stelem.ref + IL_0059: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_005e: ldarg.0 + IL_005f: ldarg.1 + IL_0060: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0065: newobj instance void class NAnt.Core.Filters.FilterBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) + IL_006a: stloc.1 + IL_006b: call class NAnt.Core.Filters.FilterBuilderCollection class NAnt.Core.TypeFactory::get_FilterBuilders() + IL_0070: ldloc.1 + IL_0071: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_FilterName() + IL_0076: callvirt instance class NAnt.Core.Filters.FilterBuilder class NAnt.Core.Filters.FilterBuilderCollection::get_Item(string) + IL_007b: brtrue IL_00c4 - IL_000d: ldarg.0 - IL_000e: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0013: brtrue IL_002f + IL_0080: nop + IL_0081: call class NAnt.Core.Filters.FilterBuilderCollection class NAnt.Core.TypeFactory::get_FilterBuilders() + IL_0086: ldloc.1 + IL_0087: callvirt instance int32 class NAnt.Core.Filters.FilterBuilderCollection::Add(class NAnt.Core.Filters.FilterBuilder) + IL_008c: pop + IL_008d: ldarg.2 + IL_008e: ldc.i4 1000 + IL_0093: ldstr "Adding filter \"{0}\" from {1}:{2}." + IL_0098: ldc.i4.3 + IL_0099: newarr [mscorlib]System.Object + IL_009e: dup + IL_009f: ldc.i4.0 + IL_00a0: ldloc.1 + IL_00a1: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_FilterName() + IL_00a6: stelem.ref + IL_00a7: dup + IL_00a8: ldc.i4.1 + IL_00a9: ldloc.1 + IL_00aa: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() + IL_00af: call string class NAnt.Core.TypeFactory::GetAssemblyLocation(class [mscorlib]System.Reflection.Assembly) + IL_00b4: stelem.ref + IL_00b5: dup + IL_00b6: ldc.i4.2 + IL_00b7: ldloc.1 + IL_00b8: callvirt instance string class NAnt.Core.Filters.FilterBuilder::get_ClassName() + IL_00bd: stelem.ref + IL_00be: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00c3: nop + IL_00c4: ldc.i4.1 + IL_00c5: stloc.2 + IL_00c6: leave IL_00f5 - IL_0018: ldarg.0 - IL_0019: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_001e: brtrue IL_002f + IL_00cb: ldc.i4.0 + IL_00cc: stloc.2 + IL_00cd: leave IL_00f5 - IL_0023: nop - IL_0024: ldstr "The current framework is not valid." - IL_0029: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_002e: throw - IL_002f: ret - } // end of method FrameworkInfo::AssertNotInvalid + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_00d2: pop + IL_00d3: nop + IL_00d4: ldarg.2 + IL_00d5: ldc.i4 5000 + IL_00da: ldstr "Failure scanning \"{0}\" for filters." + IL_00df: ldc.i4.1 + IL_00e0: newarr [mscorlib]System.Object + IL_00e5: dup + IL_00e6: ldc.i4.0 + IL_00e7: ldarg.1 + IL_00e8: callvirt instance string class [mscorlib]System.Type::get_AssemblyQualifiedName() + IL_00ed: stelem.ref + IL_00ee: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00f3: rethrow + } // end handler 0 + IL_00f5: ldloc.2 + IL_00f6: ret + } // end of method TypeFactory::ScanTypeForFilters - // method line 2058 + // method line 2097 .method private static hidebysig - default string GetXmlAttributeValue (class [System.Xml]System.Xml.XmlNode xmlNode, string attributeName) cil managed + default string GetAssemblyLocation (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x29c74 - // Code size 58 (0x3a) - .maxstack 2 + // Method begins at RVA 0x29208 + // Code size 35 (0x23) + .maxstack 1 .locals init ( - string V_0, - class [System.Xml]System.Xml.XmlAttribute V_1, - string V_2) + string V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: brfalse IL_0031 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_0008: stloc.0 + IL_0009: leave IL_0021 - IL_0009: nop - IL_000a: ldarg.0 - IL_000b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0010: ldarg.1 - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) - IL_0016: castclass [System.Xml]System.Xml.XmlAttribute - IL_001b: stloc.1 - IL_001c: ldloc.1 - IL_001d: brfalse IL_0030 + } // end .try 0 + catch class [mscorlib]System.NotSupportedException { // 0 + IL_000e: pop + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0016: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_001b: stloc.0 + IL_001c: leave IL_0021 - IL_0022: nop - IL_0023: ldloc.1 - IL_0024: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0029: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_002e: stloc.0 - IL_002f: nop - IL_0030: nop - IL_0031: ldloc.0 - IL_0032: stloc.2 - IL_0033: br IL_0038 + } // end handler 0 + IL_0021: ldloc.0 + IL_0022: ret + } // end of method TypeFactory::GetAssemblyLocation - IL_0038: ldloc.2 - IL_0039: ret - } // end of method FrameworkInfo::GetXmlAttributeValue + // method line 2098 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x29248 + // Code size 71 (0x47) + .maxstack 1 + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.TypeFactory::logger + IL_0014: newobj instance void class NAnt.Core.TaskBuilderCollection::'.ctor'() + IL_0019: stsfld class NAnt.Core.TaskBuilderCollection NAnt.Core.TypeFactory::_taskBuilders + IL_001e: newobj instance void class NAnt.Core.DataTypeBaseBuilderCollection::'.ctor'() + IL_0023: stsfld class NAnt.Core.DataTypeBaseBuilderCollection NAnt.Core.TypeFactory::_dataTypeBuilders + IL_0028: newobj instance void class NAnt.Core.Filters.FilterBuilderCollection::'.ctor'() + IL_002d: stsfld class NAnt.Core.Filters.FilterBuilderCollection NAnt.Core.TypeFactory::_filterBuilders + IL_0032: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0037: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.TypeFactory::_methodInfoCollection + IL_003c: newobj instance void class NAnt.Core.Extensibility.PluginScanner::'.ctor'() + IL_0041: stsfld class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::_pluginScanner + IL_0046: ret + } // end of method TypeFactory::.cctor - .property instance string Name () - { - .get instance default string NAnt.Core.FrameworkInfo::get_Name () - } - .property instance string Family () - { - .get instance default string NAnt.Core.FrameworkInfo::get_Family () - } - .property instance string Description () - { - .get instance default string NAnt.Core.FrameworkInfo::get_Description () - } - .property instance valuetype NAnt.Core.VendorType Vendor () - { - .get instance default valuetype NAnt.Core.VendorType NAnt.Core.FrameworkInfo::get_Vendor () - } - .property instance class [mscorlib]System.Version Version () - { - .get instance default class [mscorlib]System.Version NAnt.Core.FrameworkInfo::get_Version () - } - .property instance class [mscorlib]System.Version ClrVersion () - { - .get instance default class [mscorlib]System.Version NAnt.Core.FrameworkInfo::get_ClrVersion () - } - .property instance valuetype NAnt.Core.ClrType ClrType () - { - .get instance default valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::get_ClrType () - } - .property instance class [mscorlib]System.Version VisualStudioVersion () - { - .get instance default class [mscorlib]System.Version NAnt.Core.FrameworkInfo::get_VisualStudioVersion () - } - .property instance class [mscorlib]System.IO.DirectoryInfo FrameworkDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_FrameworkDirectory () - } - .property instance class NAnt.Core.Configuration.Runtime Runtime () - { - .get instance default class NAnt.Core.Configuration.Runtime NAnt.Core.FrameworkInfo::get_Runtime () - } - .property instance class [mscorlib]System.IO.DirectoryInfo FrameworkAssemblyDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory () - } - .property instance class [mscorlib]System.IO.DirectoryInfo SdkDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_SdkDirectory () - } - .property instance class NAnt.Core.Project Project () - { - .get instance default class NAnt.Core.Project NAnt.Core.FrameworkInfo::get_Project () - } - .property instance class NAnt.Core.Types.FileSet TaskAssemblies () - { - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::get_TaskAssemblies () - } - .property instance bool IsValid () - { - .get instance default bool NAnt.Core.FrameworkInfo::get_IsValid () - } - .property instance class NAnt.Core.Types.FileSet[] ReferenceAssemblies () - { - .get instance default class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::get_ReferenceAssemblies () - } - .property instance string[] ToolPaths () + .property class NAnt.Core.TaskBuilderCollection TaskBuilders () { - .get instance default string[] NAnt.Core.FrameworkInfo::get_ToolPaths () + .get default class NAnt.Core.TaskBuilderCollection NAnt.Core.TypeFactory::get_TaskBuilders () } - .property instance string RuntimeEngine () + .property class NAnt.Core.DataTypeBaseBuilderCollection DataTypeBuilders () { - .get instance default string NAnt.Core.FrameworkInfo::get_RuntimeEngine () + .get default class NAnt.Core.DataTypeBaseBuilderCollection NAnt.Core.TypeFactory::get_DataTypeBuilders () } - .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () + .property class NAnt.Core.Filters.FilterBuilderCollection FilterBuilders () { - .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::get_NamespaceManager () + .get default class NAnt.Core.Filters.FilterBuilderCollection NAnt.Core.TypeFactory::get_FilterBuilders () } - .property class [mscorlib]System.Collections.IComparer NameComparer () + .property class NAnt.Core.Extensibility.PluginScanner PluginScanner () { - .get default class [mscorlib]System.Collections.IComparer NAnt.Core.FrameworkInfo::get_NameComparer () + .get default class NAnt.Core.Extensibility.PluginScanner NAnt.Core.TypeFactory::get_PluginScanner () } - .class nested private auto ansi sealed InitStatus - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Uninitialized = int32(0x00000000) - .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Initialized = int32(0x00000001) - .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Invalid = int32(0x00000002) - .field public static literal valuetype NAnt.Core.FrameworkInfo/InitStatus Valid = int32(0x00000003) - - } // end of class InitStatus + } // end of class NAnt.Core.TypeFactory +} - .class nested private auto ansi beforefieldinit FrameworkNameComparer +.namespace NAnt.Core +{ + .class public auto ansi sealed serializable beforefieldinit PathScanner extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IComparer { + implements [mscorlib]System.ICloneable { + .field private static initonly class [log4net]log4net.ILog logger + .field private class [System]System.Collections.Specialized.StringCollection _unscannedNames - // method line 2059 + // method line 2099 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x29cba - // Code size 7 (0x7) + // Method begins at RVA 0x2929b + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method FrameworkNameComparer::.ctor + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: ret + } // end of method PathScanner::.ctor - // method line 2060 - .method public final virtual hidebysig newslot - instance default int32 Compare (object x, object y) cil managed + // method line 2100 + .method private final virtual hidebysig newslot + instance default object System.ICloneable.Clone () cil managed { - // Method begins at RVA 0x29cc4 - // Code size 46 (0x2e) - .maxstack 4 + // Method begins at RVA 0x292b0 + .override Could not decode method override class [mscorlib]System.ICloneable::Clone due to (null) + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class NAnt.Core.FrameworkInfo V_1, - int32 V_2) + object V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: isinst NAnt.Core.FrameworkInfo + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.PathScanner class NAnt.Core.PathScanner::Clone() IL_0007: stloc.0 - IL_0008: ldarg.2 - IL_0009: isinst NAnt.Core.FrameworkInfo - IL_000e: stloc.1 - IL_000f: ldloc.0 - IL_0010: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_0015: ldloc.1 - IL_0016: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() - IL_001b: ldc.i4.0 - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0026: stloc.2 - IL_0027: br IL_002c + IL_0008: br IL_000d - IL_002c: ldloc.2 - IL_002d: ret - } // end of method FrameworkNameComparer::Compare + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PathScanner::System.ICloneable.Clone + + // method line 2101 + .method public hidebysig + instance default class NAnt.Core.PathScanner Clone () cil managed + { + // Method begins at RVA 0x292cc + // Code size 33 (0x21) + .maxstack 2 + .locals init ( + class NAnt.Core.PathScanner V_0, + class NAnt.Core.PathScanner V_1) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.PathScanner::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames + IL_000e: call class [System]System.Collections.Specialized.StringCollection class NAnt.Core.PathScanner::Clone(class [System]System.Collections.Specialized.StringCollection) + IL_0013: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames + IL_0018: ldloc.0 + IL_0019: stloc.1 + IL_001a: br IL_001f + + IL_001f: ldloc.1 + IL_0020: ret + } // end of method PathScanner::Clone + + // method line 2102 + .method public hidebysig + instance default void Add (string fileName) cil managed + { + // Method begins at RVA 0x292f9 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_000d: pop + IL_000e: ret + } // end of method PathScanner::Add + + // method line 2103 + .method public hidebysig + instance default void Clear () cil managed + { + // Method begins at RVA 0x29309 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames + IL_0007: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_000c: ret + } // end of method PathScanner::Clear + + // method line 2104 + .method public hidebysig + instance default class [System]System.Collections.Specialized.StringCollection Scan () cil managed + { + // Method begins at RVA 0x29318 + // Code size 20 (0x14) + .maxstack 2 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "PATH" + IL_0007: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.PathScanner::Scan(string) + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PathScanner::Scan + + // method line 2105 + .method public hidebysig + instance default class [System]System.Collections.Specialized.StringCollection Scan (string name) cil managed + { + // Method begins at RVA 0x29338 + // Code size 371 (0x173) + .maxstack 4 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0, + string V_1, + class [System]System.Collections.Specialized.StringCollection V_2, + string[] V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + string V_6, + string V_7, + string V_8, + string[] V_9, + int32 V_10, + string V_11, + string[] V_12, + class [mscorlib]System.UnauthorizedAccessException V_13, + class [mscorlib]System.IDisposable V_14) + IL_0000: nop + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.1 + IL_0008: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_000d: stloc.1 + IL_000e: ldloc.1 + IL_000f: brtrue IL_001c + + IL_0014: nop + IL_0015: ldloc.0 + IL_0016: stloc.2 + IL_0017: br IL_0171 + + IL_001c: ldloc.1 + IL_001d: ldsfld char [mscorlib]System.IO.Path::PathSeparator + IL_0022: ldc.i4.0 + IL_0023: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0028: stloc.3 + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.PathScanner::_unscannedNames + IL_0030: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0035: stloc.s 5 + .try { // 1 + IL_0037: br IL_0142 + + IL_003c: ldloc.s 5 + IL_003e: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0043: stloc.s 4 + IL_0045: nop + IL_0046: ldloc.s 4 + IL_0048: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_004d: brfalse IL_0076 + + IL_0052: nop + IL_0053: ldloc.s 4 + IL_0055: call bool class [mscorlib]System.IO.File::Exists(string) + IL_005a: brfalse IL_006f + + IL_005f: nop + IL_0060: ldloc.0 + IL_0061: ldloc.s 4 + IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0068: pop + IL_0069: nop + IL_006a: br IL_0075 + + IL_006f: nop + IL_0070: leave IL_0142 + + IL_0075: nop + IL_0076: ldloc.s 4 + IL_0078: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_007d: stloc.s 6 + IL_007f: ldloc.s 4 + IL_0081: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0086: stloc.s 7 + IL_0088: nop + IL_0089: ldloc.3 + IL_008a: stloc.s 9 + IL_008c: ldc.i4.0 + IL_008d: stloc.s 10 + IL_008f: br IL_0136 + + IL_0094: ldloc.s 9 + IL_0096: ldloc.s 10 + IL_0098: ldelem.ref + IL_0099: stloc.s 8 + IL_009b: nop + IL_009c: ldloc.s 8 + IL_009e: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00a3: brtrue IL_00ae + + IL_00a8: nop + IL_00a9: leave IL_0130 + + IL_00ae: ldloc.s 8 + IL_00b0: stloc.s 11 + IL_00b2: ldloc.s 7 + IL_00b4: call bool string::IsNullOrEmpty(string) + IL_00b9: brtrue IL_00dd + + IL_00be: nop + IL_00bf: ldloc.s 8 + IL_00c1: ldloc.s 7 + IL_00c3: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00c8: stloc.s 11 + IL_00ca: ldloc.s 11 + IL_00cc: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00d1: brtrue IL_00dc + + IL_00d6: nop + IL_00d7: leave IL_0130 + + IL_00dc: nop + .try { // 0 + IL_00dd: nop + IL_00de: ldloc.s 11 + IL_00e0: ldloc.s 6 + IL_00e2: call string[] class [mscorlib]System.IO.Directory::GetFiles(string, string) + IL_00e7: stloc.s 12 + IL_00e9: ldloc.s 12 + IL_00eb: ldlen + IL_00ec: conv.i4 + IL_00ed: ldc.i4.0 + IL_00ee: ble IL_0104 + + IL_00f3: nop + IL_00f4: ldloc.0 + IL_00f5: ldloc.s 12 + IL_00f7: ldc.i4.0 + IL_00f8: ldelem.ref + IL_00f9: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00fe: pop + IL_00ff: leave IL_0141 + + IL_0104: nop + IL_0105: leave IL_012f + + } // end .try 0 + catch class [mscorlib]System.UnauthorizedAccessException { // 0 + IL_010a: stloc.s 13 + IL_010c: nop + IL_010d: ldsfld class [log4net]log4net.ILog NAnt.Core.PathScanner::logger + IL_0112: ldstr "Access to the path \"" + IL_0117: ldloc.s 11 + IL_0119: ldstr "\" is denied." + IL_011e: call string string::Concat(string, string, string) + IL_0123: ldloc.s 13 + IL_0125: callvirt instance void class [log4net]log4net.ILog::Warn(object, class [mscorlib]System.Exception) + IL_012a: leave IL_0130 + + } // end handler 0 + IL_012f: nop + IL_0130: ldloc.s 10 + IL_0132: ldc.i4.1 + IL_0133: add + IL_0134: stloc.s 10 + IL_0136: ldloc.s 10 + IL_0138: ldloc.s 9 + IL_013a: ldlen + IL_013b: conv.i4 + IL_013c: blt IL_0094 + + IL_0141: nop + IL_0142: ldloc.s 5 + IL_0144: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0149: brtrue IL_003c + + IL_014e: leave IL_016a + + } // end .try 1 + finally { // 1 + IL_0153: ldloc.s 5 + IL_0155: isinst [mscorlib]System.IDisposable + IL_015a: dup + IL_015b: stloc.s 14 + IL_015d: brfalse IL_0169 - } // end of class FrameworkNameComparer + IL_0162: ldloc.s 14 + IL_0164: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0169: endfinally + } // end handler 1 + IL_016a: ldloc.0 + IL_016b: stloc.2 + IL_016c: br IL_0171 - } // end of class NAnt.Core.FrameworkInfo -} + IL_0171: ldloc.2 + IL_0172: ret + } // end of method PathScanner::Scan -.namespace NAnt.Core -{ - .class public auto ansi sealed ClrType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.ClrType Desktop = int32(0x00000001) - .field public static literal valuetype NAnt.Core.ClrType Compact = int32(0x00000002) - .field public static literal valuetype NAnt.Core.ClrType Browser = int32(0x00000003) + // method line 2106 + .method private static hidebysig + default class [System]System.Collections.Specialized.StringCollection Clone (class [System]System.Collections.Specialized.StringCollection stringCollection) cil managed + { + // Method begins at RVA 0x294ec + // Code size 43 (0x2b) + .maxstack 3 + .locals init ( + string[] V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + class [System]System.Collections.Specialized.StringCollection V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0007: newarr [mscorlib]System.String + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.0 + IL_0010: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0015: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: ldloc.0 + IL_001d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0022: ldloc.1 + IL_0023: stloc.2 + IL_0024: br IL_0029 - } // end of class NAnt.Core.ClrType -} + IL_0029: ldloc.2 + IL_002a: ret + } // end of method PathScanner::Clone -.namespace NAnt.Core -{ - .class public auto ansi sealed VendorType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.VendorType Microsoft = int32(0x00000001) - .field public static literal valuetype NAnt.Core.VendorType Mono = int32(0x00000002) + // method line 2107 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x29523 + // Code size 21 (0x15) + .maxstack 8 + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.PathScanner::logger + IL_0014: ret + } // end of method PathScanner::.cctor - } // end of class NAnt.Core.VendorType + } // end of class NAnt.Core.PathScanner } .namespace NAnt.Core { - .class public auto ansi beforefieldinit DataTypeBaseBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder + .class public auto ansi beforefieldinit CommandLineOptions + extends [mscorlib]System.Object { - .field private initonly string _className - .field private string _dataTypeName + .field private string _targetFramework + .field private string _buildFile + .field private bool _noLogo + .field private bool _showHelp + .field private bool _quiet + .field private bool _verbose + .field private bool _debug + .field private bool _emacsMode + .field private int32 _indentationLevel + .field private bool _findInParent + .field private class [System]System.Collections.Specialized.NameValueCollection _properties + .field private string _loggerType + .field private class [mscorlib]System.IO.FileInfo _logFile + .field private class [System]System.Collections.Specialized.StringCollection _listeners + .field private class [System]System.Collections.Specialized.StringCollection _extensionAssemblies + .field private class [System]System.Collections.Specialized.StringCollection _targets + .field private bool _showProjectHelp + .field private bool _pause - // method line 2061 + // method line 2108 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x29cfe - // Code size 15 (0xf) + // Method begins at RVA 0x29539 + // Code size 58 (0x3a) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) - IL_0007: ldarg.2 - IL_0008: call instance void class NAnt.Core.DataTypeBaseBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) - IL_000d: nop + IL_0001: ldc.i4.0 + IL_0002: stfld int32 NAnt.Core.CommandLineOptions::_indentationLevel + IL_0007: ldarg.0 + IL_0008: newobj instance void class [System]System.Collections.Specialized.NameValueCollection::'.ctor'() + IL_000d: stfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.CommandLineOptions::_properties + IL_0012: ldarg.0 + IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_listeners + IL_001d: ldarg.0 + IL_001e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0023: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_extensionAssemblies + IL_0028: ldarg.0 + IL_0029: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_002e: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_targets + IL_0033: ldarg.0 + IL_0034: call instance void object::'.ctor'() + IL_0039: ret + } // end of method CommandLineOptions::.ctor + + // method line 2109 + .method public hidebysig specialname + instance default string get_TargetFramework () cil managed + { + // Method begins at RVA 0x29574 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.CommandLineOptions::_targetFramework + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBaseBuilder::.ctor + } // end of method CommandLineOptions::get_TargetFramework - // method line 2062 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed + // method line 2110 + .method public hidebysig specialname + instance default void set_TargetFramework (string 'value') cil managed { - // Method begins at RVA 0x29d0e - // Code size 16 (0x10) + // Method begins at RVA 0x2958f + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld string NAnt.Core.DataTypeBaseBuilder::_className - IL_000f: ret - } // end of method DataTypeBaseBuilder::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.CommandLineOptions::_targetFramework + IL_0008: ret + } // end of method CommandLineOptions::set_TargetFramework - // method line 2063 + // method line 2111 .method public hidebysig specialname - instance default string get_ClassName () cil managed + instance default string get_DefaultFramework () cil managed { - // Method begins at RVA 0x29d20 + // Method begins at RVA 0x2959c // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.DataTypeBaseBuilder::_className + IL_0002: ldfld string NAnt.Core.CommandLineOptions::_targetFramework IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBaseBuilder::get_ClassName + } // end of method CommandLineOptions::get_DefaultFramework - // method line 2064 + // method line 2112 .method public hidebysig specialname - instance default string get_DataTypeName () cil managed + instance default void set_DefaultFramework (string 'value') cil managed { - // Method begins at RVA 0x29d3c - // Code size 78 (0x4e) - .maxstack 2 - .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute V_0, - string V_1) + // Method begins at RVA 0x295b7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.DataTypeBaseBuilder::_dataTypeName - IL_0007: brtrue IL_0040 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0013: ldarg.0 - IL_0014: call instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() - IL_0019: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) - IL_001e: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0028: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_002d: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_0032: stloc.0 - IL_0033: ldarg.0 - IL_0034: ldloc.0 - IL_0035: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_003a: stfld string NAnt.Core.DataTypeBaseBuilder::_dataTypeName - IL_003f: nop - IL_0040: ldarg.0 - IL_0041: ldfld string NAnt.Core.DataTypeBaseBuilder::_dataTypeName - IL_0046: stloc.1 - IL_0047: br IL_004c - - IL_004c: ldloc.1 - IL_004d: ret - } // end of method DataTypeBaseBuilder::get_DataTypeName + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.CommandLineOptions::_targetFramework + IL_0008: ret + } // end of method CommandLineOptions::set_DefaultFramework - // method line 2065 - .method public hidebysig - instance default class NAnt.Core.DataTypeBase CreateDataTypeBase () cil managed + // method line 2113 + .method public hidebysig specialname + instance default string get_BuildFile () cil managed { - // Method begins at RVA 0x29d98 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 42 (0x2a) - .maxstack 8 + // Method begins at RVA 0x295c4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.DataTypeBase V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.Core.DataTypeBaseBuilder::get_ClassName() - IL_000d: ldc.i4.1 - IL_000e: ldc.i4.s 0x14 - IL_0010: ldnull - IL_0011: ldnull - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0017: ldnull - IL_0018: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) - IL_001d: castclass NAnt.Core.DataTypeBase - IL_0022: stloc.0 - IL_0023: br IL_0028 - - IL_0028: ldloc.0 - IL_0029: ret - } // end of method DataTypeBaseBuilder::CreateDataTypeBase - - .property instance string ClassName () - { - .get instance default string NAnt.Core.DataTypeBaseBuilder::get_ClassName () - } - .property instance string DataTypeName () - { - .get instance default string NAnt.Core.DataTypeBaseBuilder::get_DataTypeName () - } - } // end of class NAnt.Core.DataTypeBaseBuilder -} + IL_0002: ldfld string NAnt.Core.CommandLineOptions::_buildFile + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit ValidationException - extends NAnt.Core.BuildException - { + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_BuildFile - // method line 2066 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 2114 + .method public hidebysig specialname + instance default void set_BuildFile (string 'value') cil managed { - // Method begins at RVA 0x29f61 - // Code size 8 (0x8) + // Method begins at RVA 0x295df + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.BuildException::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method ValidationException::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.CommandLineOptions::_buildFile + IL_0008: ret + } // end of method CommandLineOptions::set_BuildFile - // method line 2067 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message) cil managed + // method line 2115 + .method public hidebysig specialname + instance default bool get_Pause () cil managed + { + // Method begins at RVA 0x295ec + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_pause + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_Pause + + // method line 2116 + .method public hidebysig specialname + instance default void set_Pause (bool 'value') cil managed { - // Method begins at RVA 0x29f6a + // Method begins at RVA 0x29607 // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0007: nop + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_pause IL_0008: ret - } // end of method ValidationException::.ctor + } // end of method CommandLineOptions::set_Pause - // method line 2068 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed + // method line 2117 + .method public hidebysig specialname + instance default bool get_Verbose () cil managed { - // Method begins at RVA 0x29f74 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0008: nop - IL_0009: ret - } // end of method ValidationException::.ctor + // Method begins at RVA 0x29614 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_verbose + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2069 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class NAnt.Core.Location location) cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_Verbose + + // method line 2118 + .method public hidebysig specialname + instance default void set_Verbose (bool 'value') cil managed { - // Method begins at RVA 0x29f7f - // Code size 10 (0xa) + // Method begins at RVA 0x2962f + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0008: nop - IL_0009: ret - } // end of method ValidationException::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_verbose + IL_0008: ret + } // end of method CommandLineOptions::set_Verbose - // method line 2070 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class NAnt.Core.Location location, class [mscorlib]System.Exception innerException) cil managed + // method line 2119 + .method public hidebysig specialname + instance default bool get_Debug () cil managed { - // Method begins at RVA 0x29f8a - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: call instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0009: nop - IL_000a: ret - } // end of method ValidationException::.ctor + // Method begins at RVA 0x2963c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_debug + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2071 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_Debug + + // method line 2120 + .method public hidebysig specialname + instance default void set_Debug (bool 'value') cil managed { - // Method begins at RVA 0x29f96 - // Code size 10 (0xa) + // Method begins at RVA 0x29657 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.BuildException::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) - IL_0008: nop - IL_0009: ret - } // end of method ValidationException::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_debug + IL_0008: ret + } // end of method CommandLineOptions::set_Debug - } // end of class NAnt.Core.ValidationException -} + // method line 2121 + .method public hidebysig specialname + instance default bool get_Quiet () cil managed + { + // Method begins at RVA 0x29664 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_quiet + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core -{ - .class public auto ansi sealed Level - extends [mscorlib]System.Enum - { - .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 18 4E 41 6E 74 2E 43 6F 72 65 2E 4C 65 76 // ...NAnt.Core.Lev - 65 6C 43 6F 6E 76 65 72 74 65 72 00 00 ) // elConverter.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_Quiet - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.Core.Level Debug = int32(0x000003e8) - .field public static literal valuetype NAnt.Core.Level Verbose = int32(0x000007d0) - .field public static literal valuetype NAnt.Core.Level Info = int32(0x00000bb8) - .field public static literal valuetype NAnt.Core.Level Warning = int32(0x00000fa0) - .field public static literal valuetype NAnt.Core.Level Error = int32(0x00001388) - .field public static literal valuetype NAnt.Core.Level None = int32(0x0000270f) + // method line 2122 + .method public hidebysig specialname + instance default void set_Quiet (bool 'value') cil managed + { + // Method begins at RVA 0x2967f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_quiet + IL_0008: ret + } // end of method CommandLineOptions::set_Quiet - } // end of class NAnt.Core.Level -} + // method line 2123 + .method public hidebysig specialname + instance default bool get_EmacsMode () cil managed + { + // Method begins at RVA 0x2968c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_emacsMode + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core -{ - .class private auto ansi beforefieldinit LevelConverter - extends [System]System.ComponentModel.EnumConverter - { + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_EmacsMode - // method line 2072 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 2124 + .method public hidebysig specialname + instance default void set_EmacsMode (bool 'value') cil managed { - // Method begins at RVA 0x29fa1 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldtoken NAnt.Core.Level - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) - IL_0010: nop - IL_0011: ret - } // end of method LevelConverter::.ctor + // Method begins at RVA 0x296a7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_emacsMode + IL_0008: ret + } // end of method CommandLineOptions::set_EmacsMode - // method line 2073 - .method public virtual hidebysig - instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + // method line 2125 + .method public hidebysig specialname + instance default bool get_FindInParent () cil managed { - // Method begins at RVA 0x29fb4 - // Code size 50 (0x32) - .maxstack 4 + // Method begins at RVA 0x296b4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - object V_1) + bool V_0) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: isinst [mscorlib]System.String + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_findInParent IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_0021 - - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.Type class [System]System.ComponentModel.EnumConverter::get_EnumType() - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_001b: stloc.1 - IL_001c: br IL_0030 - - IL_0021: ldarg.0 - IL_0022: ldarg.1 - IL_0023: ldarg.2 - IL_0024: ldarg.3 - IL_0025: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) - IL_002a: stloc.1 - IL_002b: br IL_0030 - - IL_0030: ldloc.1 - IL_0031: ret - } // end of method LevelConverter::ConvertFrom - - } // end of class NAnt.Core.LevelConverter -} + IL_0008: br IL_000d -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit BuildEventArgs - extends [mscorlib]System.EventArgs - { - .field private initonly class NAnt.Core.Project _project - .field private initonly class NAnt.Core.Target _target - .field private initonly class NAnt.Core.Task _task - .field private string _message - .field private valuetype NAnt.Core.Level _messageLevel - .field private class [mscorlib]System.Exception _exception + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_FindInParent - // method line 2074 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 2126 + .method public hidebysig specialname + instance default void set_FindInParent (bool 'value') cil managed { - // Method begins at RVA 0x29ff2 - // Code size 19 (0x13) + // Method begins at RVA 0x296cf + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4 2000 - IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel - IL_000b: ldarg.0 - IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() - IL_0011: nop - IL_0012: ret - } // end of method BuildEventArgs::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_findInParent + IL_0008: ret + } // end of method CommandLineOptions::set_FindInParent - // method line 2075 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project) cil managed + // method line 2127 + .method public hidebysig specialname + instance default int32 get_IndentationLevel () cil managed { - // Method begins at RVA 0x2a006 - // Code size 26 (0x1a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4 2000 - IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel - IL_000b: ldarg.0 - IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: stfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project - IL_0019: ret - } // end of method BuildEventArgs::.ctor + // Method begins at RVA 0x296dc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.CommandLineOptions::_indentationLevel + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2076 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Target target) cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_IndentationLevel + + // method line 2128 + .method public hidebysig specialname + instance default void set_IndentationLevel (int32 'value') cil managed { - // Method begins at RVA 0x2a021 - // Code size 38 (0x26) + // Method begins at RVA 0x296f7 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4 2000 - IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel - IL_000b: ldarg.0 - IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0019: stfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project - IL_001e: ldarg.0 - IL_001f: ldarg.1 - IL_0020: stfld class NAnt.Core.Target NAnt.Core.BuildEventArgs::_target - IL_0025: ret - } // end of method BuildEventArgs::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.CommandLineOptions::_indentationLevel + IL_0008: ret + } // end of method CommandLineOptions::set_IndentationLevel - // method line 2077 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Task task) cil managed + // method line 2129 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.NameValueCollection get_Properties () cil managed { - // Method begins at RVA 0x2a048 - // Code size 55 (0x37) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4 2000 - IL_0006: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel - IL_000b: ldarg.0 - IL_000c: call instance void class [mscorlib]System.EventArgs::'.ctor'() - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0019: stfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project - IL_001e: ldarg.0 - IL_001f: ldarg.1 - IL_0020: callvirt instance object class NAnt.Core.Element::get_Parent() - IL_0025: isinst NAnt.Core.Target - IL_002a: stfld class NAnt.Core.Target NAnt.Core.BuildEventArgs::_target - IL_002f: ldarg.0 - IL_0030: ldarg.1 - IL_0031: stfld class NAnt.Core.Task NAnt.Core.BuildEventArgs::_task - IL_0036: ret - } // end of method BuildEventArgs::.ctor + // Method begins at RVA 0x29704 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.NameValueCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.CommandLineOptions::_properties + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2078 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_Properties + + // method line 2130 .method public hidebysig specialname - instance default string get_Message () cil managed + instance default string get_LoggerType () cil managed { - // Method begins at RVA 0x2a080 + // Method begins at RVA 0x29720 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.BuildEventArgs::_message + IL_0002: ldfld string NAnt.Core.CommandLineOptions::_loggerType IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildEventArgs::get_Message + } // end of method CommandLineOptions::get_LoggerType - // method line 2079 + // method line 2131 .method public hidebysig specialname - instance default void set_Message (string 'value') cil managed + instance default void set_LoggerType (string 'value') cil managed { - // Method begins at RVA 0x2a09b + // Method begins at RVA 0x2973b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.BuildEventArgs::_message + IL_0003: stfld string NAnt.Core.CommandLineOptions::_loggerType IL_0008: ret - } // end of method BuildEventArgs::set_Message + } // end of method CommandLineOptions::set_LoggerType - // method line 2080 + // method line 2132 .method public hidebysig specialname - instance default valuetype NAnt.Core.Level get_MessageLevel () cil managed + instance default class [mscorlib]System.IO.FileInfo get_LogFile () cil managed { - // Method begins at RVA 0x2a0a8 + // Method begins at RVA 0x29748 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Level V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.CommandLineOptions::_logFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildEventArgs::get_MessageLevel + } // end of method CommandLineOptions::get_LogFile - // method line 2081 + // method line 2133 .method public hidebysig specialname - instance default void set_MessageLevel (valuetype NAnt.Core.Level 'value') cil managed + instance default void set_LogFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2a0c3 + // Method begins at RVA 0x29763 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.BuildEventArgs::_messageLevel + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.CommandLineOptions::_logFile IL_0008: ret - } // end of method BuildEventArgs::set_MessageLevel + } // end of method CommandLineOptions::set_LogFile - // method line 2082 + // method line 2134 .method public hidebysig specialname - instance default class [mscorlib]System.Exception get_Exception () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_Listeners () cil managed { - // Method begins at RVA 0x2a0d0 + // Method begins at RVA 0x29770 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Exception V_0) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Exception NAnt.Core.BuildEventArgs::_exception + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_listeners IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildEventArgs::get_Exception + } // end of method CommandLineOptions::get_Listeners - // method line 2083 + // method line 2135 .method public hidebysig specialname - instance default void set_Exception (class [mscorlib]System.Exception 'value') cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_ExtensionAssemblies () cil managed + { + // Method begins at RVA 0x2978c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_extensionAssemblies + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_ExtensionAssemblies + + // method line 2136 + .method public hidebysig specialname + instance default bool get_ShowProjectHelp () cil managed + { + // Method begins at RVA 0x297a8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_showProjectHelp + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineOptions::get_ShowProjectHelp + + // method line 2137 + .method public hidebysig specialname + instance default void set_ShowProjectHelp (bool 'value') cil managed { - // Method begins at RVA 0x2a0eb + // Method begins at RVA 0x297c3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Exception NAnt.Core.BuildEventArgs::_exception + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_showProjectHelp IL_0008: ret - } // end of method BuildEventArgs::set_Exception + } // end of method CommandLineOptions::set_ShowProjectHelp - // method line 2084 + // method line 2138 .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed + instance default bool get_NoLogo () cil managed { - // Method begins at RVA 0x2a0f8 + // Method begins at RVA 0x297d0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Project V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Project NAnt.Core.BuildEventArgs::_project + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_noLogo IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildEventArgs::get_Project + } // end of method CommandLineOptions::get_NoLogo - // method line 2085 + // method line 2139 .method public hidebysig specialname - instance default class NAnt.Core.Target get_Target () cil managed + instance default void set_NoLogo (bool 'value') cil managed + { + // Method begins at RVA 0x297eb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_noLogo + IL_0008: ret + } // end of method CommandLineOptions::set_NoLogo + + // method line 2140 + .method public hidebysig specialname + instance default bool get_ShowHelp () cil managed { - // Method begins at RVA 0x2a114 + // Method begins at RVA 0x297f8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Target V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Target NAnt.Core.BuildEventArgs::_target + IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_showHelp IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildEventArgs::get_Target + } // end of method CommandLineOptions::get_ShowHelp - // method line 2086 + // method line 2141 .method public hidebysig specialname - instance default class NAnt.Core.Task get_Task () cil managed + instance default void set_ShowHelp (bool 'value') cil managed + { + // Method begins at RVA 0x29813 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.CommandLineOptions::_showHelp + IL_0008: ret + } // end of method CommandLineOptions::set_ShowHelp + + // method line 2142 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_Targets () cil managed { - // Method begins at RVA 0x2a130 + // Method begins at RVA 0x29820 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Task V_0) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Task NAnt.Core.BuildEventArgs::_task + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_targets IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BuildEventArgs::get_Task + } // end of method CommandLineOptions::get_Targets - .property instance string Message () + .property instance string TargetFramework () { - .get instance default string NAnt.Core.BuildEventArgs::get_Message () - .set instance default void NAnt.Core.BuildEventArgs::set_Message (string 'value') + .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( + 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 0F // ........T..Name. + 74 61 72 67 65 74 66 72 61 6D 65 77 6F 72 6B 54 // targetframeworkT + 0E 09 53 68 6F 72 74 4E 61 6D 65 01 74 54 0E 0B // ..ShortName.tT.. + 44 65 73 63 72 69 70 74 69 6F 6E 21 53 70 65 63 // Description!Spec + 69 66 69 65 73 20 74 68 65 20 66 72 61 6D 65 77 // ifies the framew + 6F 72 6B 20 74 6F 20 74 61 72 67 65 74 ) // ork to target + + .get instance default string NAnt.Core.CommandLineOptions::get_TargetFramework () + .set instance default void NAnt.Core.CommandLineOptions::set_TargetFramework (string 'value') } - .property instance valuetype NAnt.Core.Level MessageLevel () + .property instance string DefaultFramework () + { + .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( + 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 10 // ........T..Name. + 64 65 66 61 75 6C 74 66 72 61 6D 65 77 6F 72 6B // defaultframework + 54 0E 09 53 68 6F 72 74 4E 61 6D 65 01 6B 54 0E // T..ShortName.kT. + 0B 44 65 73 63 72 69 70 74 69 6F 6E 21 53 70 65 // .Description!Spe + 63 69 66 69 65 73 20 74 68 65 20 66 72 61 6D 65 // cifies the frame + 77 6F 72 6B 20 74 6F 20 74 61 72 67 65 74 ) // work to target + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2A 55 73 65 20 74 68 65 20 2D 5B 74 5D 61 // ..*Use the -[t]a + 72 67 65 74 66 72 61 6D 65 77 6F 72 6B 20 6F 70 // rgetframework op + 74 69 6F 6E 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // tion instead.... + + .get instance default string NAnt.Core.CommandLineOptions::get_DefaultFramework () + .set instance default void NAnt.Core.CommandLineOptions::set_DefaultFramework (string 'value') + } + .property instance string BuildFile () + { + .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( + 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 09 // ........T..Name. + 62 75 69 6C 64 66 69 6C 65 54 0E 09 53 68 6F 72 // buildfileT..Shor + 74 4E 61 6D 65 01 66 54 0E 0B 44 65 73 63 72 69 // tName.fT..Descri + 70 74 69 6F 6E 13 55 73 65 20 67 69 76 65 6E 20 // ption.Use given + 62 75 69 6C 64 66 69 6C 65 ) // buildfile + + .get instance default string NAnt.Core.CommandLineOptions::get_BuildFile () + .set instance default void NAnt.Core.CommandLineOptions::set_BuildFile (string 'value') + } + .property instance bool Pause () + { + .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( + 01 00 00 00 00 00 02 00 54 0E 04 4E 61 6D 65 05 // ........T..Name. + 70 61 75 73 65 54 0E 0B 44 65 73 63 72 69 70 74 // pauseT..Descript + 69 6F 6E 1A 50 61 75 73 65 73 20 62 65 66 6F 72 // ion.Pauses befor + 65 20 70 72 6F 67 72 61 6D 20 65 6E 64 73 ) // e program ends + + .get instance default bool NAnt.Core.CommandLineOptions::get_Pause () + .set instance default void NAnt.Core.CommandLineOptions::set_Pause (bool 'value') + } + .property instance bool Verbose () + { + .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( + 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 07 // ........T..Name. + 76 65 72 62 6F 73 65 54 0E 09 53 68 6F 72 74 4E // verboseT..ShortN + 61 6D 65 01 76 54 0E 0B 44 65 73 63 72 69 70 74 // ame.vT..Descript + 69 6F 6E 2E 44 69 73 70 6C 61 79 73 20 6D 6F 72 // ion.Displays mor + 65 20 69 6E 66 6F 72 6D 61 74 69 6F 6E 20 64 75 // e information du + 72 69 6E 67 20 62 75 69 6C 64 20 70 72 6F 63 65 // ring build proce + 73 73 ) // ss + + .get instance default bool NAnt.Core.CommandLineOptions::get_Verbose () + .set instance default void NAnt.Core.CommandLineOptions::set_Verbose (bool 'value') + } + .property instance bool Debug () + { + .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( + 01 00 00 00 00 00 02 00 54 0E 04 4E 61 6D 65 05 // ........T..Name. + 64 65 62 75 67 54 0E 0B 44 65 73 63 72 69 70 74 // debugT..Descript + 69 6F 6E 2F 44 69 73 70 6C 61 79 73 20 64 65 62 // ion/Displays deb + 75 67 20 69 6E 66 6F 72 6D 61 74 69 6F 6E 20 64 // ug information d + 75 72 69 6E 67 20 62 75 69 6C 64 20 70 72 6F 63 // uring build proc + 65 73 73 ) // ess + + .get instance default bool NAnt.Core.CommandLineOptions::get_Debug () + .set instance default void NAnt.Core.CommandLineOptions::set_Debug (bool 'value') + } + .property instance bool Quiet () + { + .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( + 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 05 // ........T..Name. + 71 75 69 65 74 54 0E 09 53 68 6F 72 74 4E 61 6D // quietT..ShortNam + 65 01 71 54 0E 0B 44 65 73 63 72 69 70 74 69 6F // e.qT..Descriptio + 6E 3C 44 69 73 70 6C 61 79 73 20 6F 6E 6C 79 20 // n=" + IL_03be: stfld string NAnt.Core.ExpressionTokenizer::_tokenText + IL_03c3: ldarg.0 + IL_03c4: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() + IL_03c9: pop + IL_03ca: br IL_041c - // method line 2134 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.BuildListenerCollection 'value') cil managed - { - // Method begins at RVA 0x2acdd - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.BuildListenerCollection::AddRange(class NAnt.Core.BuildListenerCollection) - IL_000e: ret - } // end of method BuildListenerCollection::.ctor + IL_03cf: nop + IL_03d0: br IL_03de - // method line 2135 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.IBuildListener[] 'value') cil managed - { - // Method begins at RVA 0x2aced - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.BuildListenerCollection::AddRange(class NAnt.Core.IBuildListener[]) - IL_000e: ret - } // end of method BuildListenerCollection::.ctor + IL_03d5: nop + IL_03d6: ldarg.0 + IL_03d7: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() + IL_03dc: pop + IL_03dd: nop + IL_03de: ldarg.0 + IL_03df: ldloc.1 + IL_03e0: ldc.i4.1 + IL_03e1: newobj instance void string::'.ctor'(char, int32) + IL_03e6: stfld string NAnt.Core.ExpressionTokenizer::_tokenText + IL_03eb: ldloc.1 + IL_03ec: ldc.i4.s 0x20 + IL_03ee: blt IL_0412 - // method line 2136 - .method public hidebysig specialname - instance default class NAnt.Core.IBuildListener get_Item (int32 index) cil managed - { - // Method begins at RVA 0x2ad00 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.Core.IBuildListener V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.IBuildListener - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_03f3: ldloc.1 + IL_03f4: ldc.i4 128 + IL_03f9: bge IL_0412 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method BuildListenerCollection::get_Item + IL_03fe: nop + IL_03ff: ldarg.0 + IL_0400: ldsfld valuetype NAnt.Core.ExpressionTokenizer/TokenType[] NAnt.Core.ExpressionTokenizer::charIndexToTokenType + IL_0405: ldloc.1 + IL_0406: ldelem.i4 + IL_0407: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType + IL_040c: nop + IL_040d: br IL_041c - // method line 2137 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.IBuildListener 'value') cil managed - { - // Method begins at RVA 0x2ad26 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method BuildListenerCollection::set_Item + IL_0412: nop + IL_0413: ldarg.0 + IL_0414: ldc.i4.s 0x15 + IL_0416: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType + IL_041b: nop + IL_041c: ret + } // end of method ExpressionTokenizer::GetNextToken - // method line 2138 + // method line 2213 .method public hidebysig - instance default int32 Add (class NAnt.Core.IBuildListener item) cil managed + instance default bool IsKeyword (string k) cil managed { - // Method begins at RVA 0x2ad38 - // Code size 21 (0x15) + // Method begins at RVA 0x2a6b8 + // Code size 36 (0x24) .maxstack 2 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method BuildListenerCollection::Add + IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType + IL_0007: ldc.i4.4 + IL_0008: bne.un IL_001b - // method line 2139 - .method public hidebysig - instance default void AddRange (class NAnt.Core.IBuildListener[] items) cil managed - { - // Method begins at RVA 0x2ad5c - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_000d: ldarg.0 + IL_000e: ldfld string NAnt.Core.ExpressionTokenizer::_tokenText + IL_0013: ldarg.1 + IL_0014: call bool string::op_Equality(string, string) + IL_0019: br.s IL_001c - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_001b: ldc.i4.0 + IL_001c: stloc.0 + IL_001d: br IL_0022 - IL_0021: ret - } // end of method BuildListenerCollection::AddRange + IL_0022: ldloc.0 + IL_0023: ret + } // end of method ExpressionTokenizer::IsKeyword - // method line 2140 - .method public hidebysig - instance default void AddRange (class NAnt.Core.BuildListenerCollection items) cil managed + // method line 2214 + .method private hidebysig + instance default int32 ReadChar () cil managed { - // Method begins at RVA 0x2ad8c - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0x2a6e8 + // Code size 66 (0x42) + .maxstack 4 .locals init ( - int32 V_0) + int32 V_0, + int32 V_1) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.ExpressionTokenizer::_position + IL_0007: ldarg.0 + IL_0008: ldfld string NAnt.Core.ExpressionTokenizer::_text + IL_000d: callvirt instance int32 string::get_Length() + IL_0012: bge IL_0039 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.IBuildListener class NAnt.Core.BuildListenerCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0017: ldarg.0 + IL_0018: ldfld string NAnt.Core.ExpressionTokenizer::_text + IL_001d: ldarg.0 + IL_001e: dup + IL_001f: ldfld int32 NAnt.Core.ExpressionTokenizer::_position + IL_0024: dup + IL_0025: stloc.0 + IL_0026: ldc.i4.1 + IL_0027: add + IL_0028: stfld int32 NAnt.Core.ExpressionTokenizer::_position + IL_002d: ldloc.0 + IL_002e: callvirt instance char string::get_Chars(int32) + IL_0033: stloc.1 + IL_0034: br IL_0040 - IL_0028: ret - } // end of method BuildListenerCollection::AddRange + IL_0039: ldc.i4.m1 + IL_003a: stloc.1 + IL_003b: br IL_0040 - // method line 2141 - .method public hidebysig - instance default bool Contains (class NAnt.Core.IBuildListener item) cil managed + IL_0040: ldloc.1 + IL_0041: ret + } // end of method ExpressionTokenizer::ReadChar + + // method line 2215 + .method private hidebysig + instance default int32 PeekChar () cil managed { - // Method begins at RVA 0x2adc4 - // Code size 21 (0x15) + // Method begins at RVA 0x2a738 + // Code size 55 (0x37) .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld int32 NAnt.Core.ExpressionTokenizer::_position + IL_0007: ldarg.0 + IL_0008: ldfld string NAnt.Core.ExpressionTokenizer::_text + IL_000d: callvirt instance int32 string::get_Length() + IL_0012: bge IL_002e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method BuildListenerCollection::Contains + IL_0017: ldarg.0 + IL_0018: ldfld string NAnt.Core.ExpressionTokenizer::_text + IL_001d: ldarg.0 + IL_001e: ldfld int32 NAnt.Core.ExpressionTokenizer::_position + IL_0023: callvirt instance char string::get_Chars(int32) + IL_0028: stloc.0 + IL_0029: br IL_0035 - // method line 2142 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.IBuildListener[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x2ade5 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method BuildListenerCollection::CopyTo + IL_002e: ldc.i4.m1 + IL_002f: stloc.0 + IL_0030: br IL_0035 - // method line 2143 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.IBuildListener item) cil managed + IL_0035: ldloc.0 + IL_0036: ret + } // end of method ExpressionTokenizer::PeekChar + + // method line 2216 + .method private hidebysig + instance default void SkipWhitespace () cil managed { - // Method begins at RVA 0x2adf8 - // Code size 21 (0x15) + // Method begins at RVA 0x2a77c + // Code size 47 (0x2f) .maxstack 2 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method BuildListenerCollection::IndexOf + IL_0001: br IL_0020 - // method line 2144 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.IBuildListener item) cil managed - { - // Method begins at RVA 0x2ae19 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method BuildListenerCollection::Insert + IL_0006: nop + IL_0007: ldloc.0 + IL_0008: conv.u2 + IL_0009: call bool char::IsWhiteSpace(char) + IL_000e: brtrue IL_0018 - // method line 2145 - .method public hidebysig - instance default class NAnt.Core.BuildListenerEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x2ae2c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.BuildListenerEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.BuildListenerEnumerator::'.ctor'(class NAnt.Core.BuildListenerCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0013: br IL_002e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildListenerCollection::GetEnumerator + IL_0018: ldarg.0 + IL_0019: call instance int32 class NAnt.Core.ExpressionTokenizer::ReadChar() + IL_001e: pop + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: call instance int32 class NAnt.Core.ExpressionTokenizer::PeekChar() + IL_0026: dup + IL_0027: stloc.0 + IL_0028: ldc.i4.m1 + IL_0029: bne.un IL_0006 - // method line 2146 - .method public hidebysig - instance default void Remove (class NAnt.Core.IBuildListener item) cil managed - { - // Method begins at RVA 0x2ae47 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method BuildListenerCollection::Remove + IL_002e: ret + } // end of method ExpressionTokenizer::SkipWhitespace - .property instance class NAnt.Core.IBuildListener Item (int32) + .property instance bool IgnoreWhitespace () { - .get instance default class NAnt.Core.IBuildListener NAnt.Core.BuildListenerCollection::get_Item (int32 index) - .set instance default void NAnt.Core.BuildListenerCollection::set_Item (int32 index, class NAnt.Core.IBuildListener 'value') + .get instance default bool NAnt.Core.ExpressionTokenizer::get_IgnoreWhitespace () + .set instance default void NAnt.Core.ExpressionTokenizer::set_IgnoreWhitespace (bool 'value') } - } // end of class NAnt.Core.BuildListenerCollection -} - -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit BuildListenerEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 2147 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.BuildListenerCollection arguments) cil managed - { - // Method begins at RVA 0x2ae58 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator - IL_0015: ret - } // end of method BuildListenerEnumerator::.ctor + .property instance bool SingleCharacterMode () + { + .get instance default bool NAnt.Core.ExpressionTokenizer::get_SingleCharacterMode () + .set instance default void NAnt.Core.ExpressionTokenizer::set_SingleCharacterMode (bool 'value') + } + .property instance valuetype NAnt.Core.ExpressionTokenizer/TokenType CurrentToken () + { + .get instance default valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::get_CurrentToken () + } + .property instance string TokenText () + { + .get instance default string NAnt.Core.ExpressionTokenizer::get_TokenText () + } + .property instance valuetype NAnt.Core.ExpressionTokenizer/Position CurrentPosition () + { + .get instance default valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.ExpressionTokenizer::get_CurrentPosition () + } + .class nested public sequential ansi sealed beforefieldinit Position + extends [mscorlib]System.ValueType + { + .field private int32 _charIndex - // method line 2148 - .method public hidebysig specialname - instance default class NAnt.Core.IBuildListener get_Current () cil managed + // method line 2217 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 charIndex) cil managed { - // Method begins at RVA 0x2ae7c - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.IBuildListener V_0) + // Method begins at RVA 0x2a7b7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.IBuildListener - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method BuildListenerEnumerator::get_Current + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.ExpressionTokenizer/Position::_charIndex + IL_0008: ret + } // end of method Position::.ctor - // method line 2149 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 2218 + .method public hidebysig specialname + instance default int32 get_CharIndex () cil managed { - // Method begins at RVA 0x2aea4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x2a7c4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld int32 NAnt.Core.ExpressionTokenizer/Position::_charIndex + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Position::get_CharIndex - // method line 2150 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x2aec4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + .property instance int32 CharIndex () + { + .get instance default int32 NAnt.Core.ExpressionTokenizer/Position::get_CharIndex () + } + } // end of class Position - IL_0012: ldloc.0 - IL_0013: ret - } // end of method BuildListenerEnumerator::MoveNext + .class nested public auto ansi sealed TokenType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType BOF = int32(0x00000000) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType EOF = int32(0x00000001) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Number = int32(0x00000002) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType String = int32(0x00000003) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Keyword = int32(0x00000004) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType EQ = int32(0x00000005) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType NE = int32(0x00000006) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LT = int32(0x00000007) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType GT = int32(0x00000008) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LE = int32(0x00000009) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType GE = int32(0x0000000a) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Plus = int32(0x0000000b) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Minus = int32(0x0000000c) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Mul = int32(0x0000000d) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Div = int32(0x0000000e) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Mod = int32(0x0000000f) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LeftParen = int32(0x00000010) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType RightParen = int32(0x00000011) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType LeftCurlyBrace = int32(0x00000012) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType RightCurlyBrace = int32(0x00000013) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Not = int32(0x00000014) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Punctuation = int32(0x00000015) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Whitespace = int32(0x00000016) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Dollar = int32(0x00000017) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Comma = int32(0x00000018) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType Dot = int32(0x00000019) + .field public static literal valuetype NAnt.Core.ExpressionTokenizer/TokenType DoubleColon = int32(0x0000001a) - // method line 2151 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x2aee4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end of class TokenType - IL_0012: ldloc.0 - IL_0013: ret - } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.MoveNext + .class nested private sequential ansi sealed beforefieldinit CharToTokenType + extends [mscorlib]System.ValueType + { + .field public initonly char ch + .field public initonly valuetype NAnt.Core.ExpressionTokenizer/TokenType tokenType - // method line 2152 - .method public hidebysig - instance default void Reset () cil managed + // method line 2219 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (char ch, valuetype NAnt.Core.ExpressionTokenizer/TokenType tokenType) cil managed { - // Method begins at RVA 0x2af04 - // Code size 13 (0xd) + // Method begins at RVA 0x2a7df + // Code size 16 (0x10) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method BuildListenerEnumerator::Reset + IL_0002: ldarg.1 + IL_0003: stfld char NAnt.Core.ExpressionTokenizer/CharToTokenType::ch + IL_0008: ldarg.0 + IL_0009: ldarg.2 + IL_000a: stfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer/CharToTokenType::tokenType + IL_000f: ret + } // end of method CharToTokenType::.ctor - // method line 2153 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + } // end of class CharToTokenType + + } // end of class NAnt.Core.ExpressionTokenizer +} + +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit ConfigurationSection + extends [mscorlib]System.Object + implements [System]System.Configuration.IConfigurationSectionHandler { + + // method line 2220 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2af12 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x2a7f0 + // Code size 7 (0x7) .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method ConfigurationSection::.ctor + + // method line 2221 + .method public final virtual hidebysig newslot + instance default object Create (object parent, object configContext, class [System.Xml]System.Xml.XmlNode node) cil managed + { + // Method begins at RVA 0x2a7f8 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + object V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.Reset + IL_0001: ldarg.3 + IL_0002: stloc.0 + IL_0003: br IL_0008 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.BuildListenerEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.IBuildListener Current () - { - .get instance default class NAnt.Core.IBuildListener NAnt.Core.BuildListenerEnumerator::get_Current () - } - } // end of class NAnt.Core.BuildListenerEnumerator + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConfigurationSection::Create + + } // end of class NAnt.Core.ConfigurationSection } .namespace NAnt.Core { - .class public auto ansi beforefieldinit LogWriter - extends [mscorlib]System.IO.TextWriter + .class public auto ansi abstract serializable beforefieldinit Element + extends [mscorlib]System.Object { - .field private initonly class NAnt.Core.Task _task - .field private initonly valuetype NAnt.Core.Level _outputLevel - .field private string _message + .field private class NAnt.Core.Location _location + .field private class NAnt.Core.Project _project + .field private notserialized class [System.Xml]System.Xml.XmlNode _xmlNode + .field private object _parent + .field private notserialized class [System.Xml]System.Xml.XmlNamespaceManager _nsMgr + .field private static initonly class [log4net]log4net.ILog logger - // method line 2154 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Task task, valuetype NAnt.Core.Level outputLevel, class [mscorlib]System.IFormatProvider formatProvider) cil managed + // method line 2222 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2af20 - // Code size 34 (0x22) + // Method begins at RVA 0x29ac + // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.Core.LogWriter::_message + IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0006: stfld class NAnt.Core.Location NAnt.Core.Element::_location IL_000b: ldarg.0 - IL_000c: ldarg.3 - IL_000d: call instance void class [mscorlib]System.IO.TextWriter::'.ctor'(class [mscorlib]System.IFormatProvider) - IL_0012: nop + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ret + } // end of method Element::.ctor + + // method line 2223 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Element e) cil managed + { + // Method begins at RVA 0x29c0 + // Code size 56 (0x38) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldfld class NAnt.Core.Location NAnt.Core.Element::_location + IL_000e: stfld class NAnt.Core.Location NAnt.Core.Element::_location IL_0013: ldarg.0 IL_0014: ldarg.1 - IL_0015: stfld class NAnt.Core.Task NAnt.Core.LogWriter::_task - IL_001a: ldarg.0 - IL_001b: ldarg.2 - IL_001c: stfld valuetype NAnt.Core.Level NAnt.Core.LogWriter::_outputLevel - IL_0021: ret - } // end of method LogWriter::.ctor + IL_0015: ldfld class NAnt.Core.Project NAnt.Core.Element::_project + IL_001a: stfld class NAnt.Core.Project NAnt.Core.Element::_project + IL_001f: ldarg.0 + IL_0020: ldarg.1 + IL_0021: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_0026: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr + IL_0032: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr + IL_0037: ret + } // end of method Element::.ctor - // method line 2155 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + // method line 2224 + .method public hidebysig specialname + instance default object get_Parent () cil managed { - // Method begins at RVA 0x2af44 - // Code size 14 (0xe) + // Method begins at RVA 0x29fc + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + object V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld object NAnt.Core.Element::_parent + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method LogWriter::get_Encoding + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_Parent - // method line 2156 - .method public virtual hidebysig - instance default void Write (char[] chars) cil managed + // method line 2225 + .method public hidebysig specialname + instance default void set_Parent (object 'value') cil managed { - // Method begins at RVA 0x2af5e - // Code size 20 (0x14) + // Method begins at RVA 0x2a17 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: ldc.i4.0 - IL_0004: ldarg.1 - IL_0005: ldlen - IL_0006: conv.i4 - IL_0007: ldc.i4.1 - IL_0008: sub - IL_0009: newobj instance void string::'.ctor'(char[], int32, int32) - IL_000e: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_0013: ret - } // end of method LogWriter::Write + IL_0003: stfld object NAnt.Core.Element::_parent + IL_0008: ret + } // end of method Element::set_Parent - // method line 2157 - .method public virtual hidebysig - instance default void Write (string 'value') cil managed + // method line 2226 + .method public virtual hidebysig newslot specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x2af73 + // Method begins at RVA 0x2a24 // Code size 20 (0x14) - .maxstack 8 + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld string NAnt.Core.LogWriter::_message - IL_0008: ldarg.1 - IL_0009: call string string::Concat(string, string) - IL_000e: stfld string NAnt.Core.LogWriter::_message + IL_0002: call instance class [mscorlib]System.Type object::GetType() + IL_0007: call string class NAnt.Core.Element::GetElementNameFromType(class [mscorlib]System.Type) + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 IL_0013: ret - } // end of method LogWriter::Write + } // end of method Element::get_Name - // method line 2158 - .method public virtual hidebysig - instance default void WriteLine () cil managed + // method line 2227 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Project get_Project () cil managed { - // Method begins at RVA 0x2af88 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x2a44 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Project V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldsfld string [mscorlib]System.String::Empty - IL_0007: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_000c: ret - } // end of method LogWriter::WriteLine + IL_0002: ldfld class NAnt.Core.Project NAnt.Core.Element::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2159 - .method public virtual hidebysig - instance default void WriteLine (string 'value') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_Project + + // method line 2228 + .method public virtual hidebysig newslot specialname + instance default void set_Project (class NAnt.Core.Project 'value') cil managed { - // Method begins at RVA 0x2af96 - // Code size 54 (0x36) + // Method begins at RVA 0x2a5f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld string NAnt.Core.LogWriter::_message - IL_0008: ldarg.1 - IL_0009: call string string::Concat(string, string) - IL_000e: stfld string NAnt.Core.LogWriter::_message - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.Task NAnt.Core.LogWriter::_task - IL_0019: ldarg.0 - IL_001a: call instance valuetype NAnt.Core.Level class NAnt.Core.LogWriter::get_OutputLevel() - IL_001f: ldarg.0 - IL_0020: ldfld string NAnt.Core.LogWriter::_message - IL_0025: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_002a: ldarg.0 - IL_002b: ldsfld string [mscorlib]System.String::Empty - IL_0030: stfld string NAnt.Core.LogWriter::_message - IL_0035: ret - } // end of method LogWriter::WriteLine + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Project NAnt.Core.Element::_project + IL_0008: ret + } // end of method Element::set_Project - // method line 2160 - .method public virtual hidebysig - instance default void WriteLine (string line, object[] args) cil managed + // method line 2229 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed { - // Method begins at RVA 0x2afd0 - // Code size 65 (0x41) - .maxstack 5 + // Method begins at RVA 0x2a6c + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class NAnt.Core.PropertyDictionary V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: dup - IL_0003: ldfld string NAnt.Core.LogWriter::_message - IL_0008: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000d: ldarg.1 - IL_000e: ldarg.2 - IL_000f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0014: call string string::Concat(string, string) - IL_0019: stfld string NAnt.Core.LogWriter::_message - IL_001e: ldarg.0 - IL_001f: ldfld class NAnt.Core.Task NAnt.Core.LogWriter::_task - IL_0024: ldarg.0 - IL_0025: call instance valuetype NAnt.Core.Level class NAnt.Core.LogWriter::get_OutputLevel() - IL_002a: ldarg.0 - IL_002b: ldfld string NAnt.Core.LogWriter::_message - IL_0030: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0035: ldarg.0 - IL_0036: ldsfld string [mscorlib]System.String::Empty - IL_003b: stfld string NAnt.Core.LogWriter::_message - IL_0040: ret - } // end of method LogWriter::WriteLine + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 2161 - .method public virtual hidebysig - instance default void Flush () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Element::get_Properties + + // method line 2230 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed { - // Method begins at RVA 0x2b01d - // Code size 54 (0x36) - .maxstack 8 + // Method begins at RVA 0x2a8c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System.Xml]System.Xml.XmlNamespaceManager V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.LogWriter::_message - IL_0007: callvirt instance int32 string::get_Length() - IL_000c: brfalse IL_0035 + IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldfld class NAnt.Core.Task NAnt.Core.LogWriter::_task - IL_0018: ldarg.0 - IL_0019: call instance valuetype NAnt.Core.Level class NAnt.Core.LogWriter::get_OutputLevel() - IL_001e: ldarg.0 - IL_001f: ldfld string NAnt.Core.LogWriter::_message - IL_0024: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0029: ldarg.0 - IL_002a: ldsfld string [mscorlib]System.String::Empty - IL_002f: stfld string NAnt.Core.LogWriter::_message - IL_0034: nop - IL_0035: ret - } // end of method LogWriter::Flush + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_NamespaceManager - // method line 2162 - .method public virtual hidebysig - instance default void Close () cil managed + // method line 2231 + .method public hidebysig specialname + instance default void set_NamespaceManager (class [System.Xml]System.Xml.XmlNamespaceManager 'value') cil managed { - // Method begins at RVA 0x2b054 - // Code size 14 (0xe) + // Method begins at RVA 0x2aa7 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_0007: ldarg.0 - IL_0008: call instance void class [mscorlib]System.IO.TextWriter::Close() - IL_000d: ret - } // end of method LogWriter::Close + IL_0002: ldarg.1 + IL_0003: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr + IL_0008: ret + } // end of method Element::set_NamespaceManager - // method line 2163 - .method public virtual hidebysig - instance default object InitializeLifetimeService () cil managed + // method line 2232 + .method family virtual hidebysig newslot specialname + instance default class [System.Xml]System.Xml.XmlNode get_XmlNode () cil managed { - // Method begins at RVA 0x2b064 - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0x2ab4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, - object V_1) + class [System.Xml]System.Xml.XmlNode V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() - IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() - IL_0013: ldc.i4.1 - IL_0014: bne.un IL_0026 + IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0019: nop - IL_001a: ldloc.0 - IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero - IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) - IL_0025: nop - IL_0026: ldloc.0 - IL_0027: stloc.1 - IL_0028: br IL_002d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_XmlNode - IL_002d: ldloc.1 - IL_002e: ret - } // end of method LogWriter::InitializeLifetimeService + // method line 2233 + .method family virtual hidebysig newslot specialname + instance default void set_XmlNode (class [System.Xml]System.Xml.XmlNode 'value') cil managed + { + // Method begins at RVA 0x2acf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_0008: ret + } // end of method Element::set_XmlNode - // method line 2164 - .method family hidebysig specialname - instance default valuetype NAnt.Core.Level get_OutputLevel () cil managed + // method line 2234 + .method family virtual hidebysig newslot specialname + instance default class NAnt.Core.Location get_Location () cil managed { - // Method begins at RVA 0x2b0a0 + // Method begins at RVA 0x2adc // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Level V_0) + class NAnt.Core.Location V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.LogWriter::_outputLevel + IL_0002: ldfld class NAnt.Core.Location NAnt.Core.Element::_location IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LogWriter::get_OutputLevel - - .property instance class [mscorlib]System.Text.Encoding Encoding () - { - .get instance default class [mscorlib]System.Text.Encoding NAnt.Core.LogWriter::get_Encoding () - } - .property instance valuetype NAnt.Core.Level OutputLevel () - { - .get instance default valuetype NAnt.Core.Level NAnt.Core.LogWriter::get_OutputLevel () - } - } // end of class NAnt.Core.LogWriter -} - -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit ElementContainer - extends NAnt.Core.Element - { - .field private class [System]System.Collections.Specialized.StringCollection _subXMLElements + } // end of method Element::get_Location - // method line 2165 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 2235 + .method family virtual hidebysig newslot specialname + instance default void set_Location (class NAnt.Core.Location 'value') cil managed { - // Method begins at RVA 0x11b00 - // Code size 7 (0x7) + // Method begins at RVA 0x2af7 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method ElementContainer::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Location NAnt.Core.Element::_location + IL_0008: ret + } // end of method Element::set_Location - // method line 2166 - .method family virtual hidebysig specialname + // method line 2236 + .method family virtual hidebysig newslot specialname instance default bool get_CustomXmlProcessing () cil managed { - // Method begins at RVA 0x11b08 + // Method begins at RVA 0x2b04 // Code size 10 (0xa) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldc.i4.1 + IL_0001: ldc.i4.0 IL_0002: stloc.0 IL_0003: br IL_0008 IL_0008: ldloc.0 IL_0009: ret - } // end of method ElementContainer::get_CustomXmlProcessing + } // end of method Element::get_CustomXmlProcessing - // method line 2167 + // method line 2237 + .method public hidebysig + instance default void Initialize (class [System.Xml]System.Xml.XmlNode elementNode) cil managed + { + // Method begins at RVA 0x2b1a + // Code size 31 (0x1f) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.0 + IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0009: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000e: ldarg.0 + IL_000f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0014: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0019: call instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_001e: ret + } // end of method Element::Initialize + + // method line 2238 + .method public hidebysig + instance default class NAnt.Core.Location GetLocation () cil managed + { + // Method begins at RVA 0x2b3c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Location V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::GetLocation + + // method line 2239 .method public virtual hidebysig newslot - instance default void Execute () cil managed + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x11b1e - // Code size 8 (0x8) + // Method begins at RVA 0x2b57 + // Code size 28 (0x1c) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance void class NAnt.Core.ElementContainer::ExecuteChildTasks() - IL_0007: ret - } // end of method ElementContainer::Execute + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: brfalse IL_001b - // method line 2168 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) + IL_001a: nop + IL_001b: ret + } // end of method Element::Log + + // method line 2240 + .method public virtual hidebysig newslot + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed + { + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x2b74 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: brfalse IL_001c + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: ldarg.3 + IL_0016: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_001b: nop + IL_001c: ret + } // end of method Element::Log + + // method line 2241 .method family virtual hidebysig newslot - instance default void ExecuteChildTasks () cil managed + instance default void InitializeElement (class [System.Xml]System.Xml.XmlNode elementNode) cil managed { - // Method begins at RVA 0x11b28 - // Code size 400 (0x190) - .maxstack 7 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Task V_2, - class NAnt.Core.DataTypeBase V_3, - class [mscorlib]System.IDisposable V_4) + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 24 44 65 70 72 65 63 61 74 65 64 2E 20 55 // ..$Deprecated. U + 73 65 20 49 6E 69 74 69 61 6C 69 7A 65 28 29 20 // se Initialize() + 69 6E 73 74 65 61 64 00 00 ) // instead.. + + // Method begins at RVA 0x2b92 + // Code size 2 (0x2) + .maxstack 8 IL_0000: nop - IL_0001: nop + IL_0001: ret + } // end of method Element::InitializeElement + + // method line 2242 + .method family virtual hidebysig newslot + instance default void Initialize () cil managed + { + // Method begins at RVA 0x2b95 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method Element::Initialize + + // method line 2243 + .method family hidebysig + instance default void CopyTo (class NAnt.Core.Element clone) cil managed + { + // Method begins at RVA 0x2b98 + // Code size 80 (0x50) + .maxstack 2 + IL_0000: nop + IL_0001: ldarg.1 IL_0002: ldarg.0 - IL_0003: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() - IL_0008: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() - IL_000d: stloc.1 + IL_0003: ldfld class NAnt.Core.Location NAnt.Core.Element::_location + IL_0008: stfld class NAnt.Core.Location NAnt.Core.Element::_location + IL_000d: ldarg.1 + IL_000e: ldarg.0 + IL_000f: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr + IL_0014: stfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::_nsMgr + IL_0019: ldarg.1 + IL_001a: ldarg.0 + IL_001b: ldfld object NAnt.Core.Element::_parent + IL_0020: stfld object NAnt.Core.Element::_parent + IL_0025: ldarg.1 + IL_0026: ldarg.0 + IL_0027: ldfld class NAnt.Core.Project NAnt.Core.Element::_project + IL_002c: stfld class NAnt.Core.Project NAnt.Core.Element::_project + IL_0031: ldarg.0 + IL_0032: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_0037: brfalse IL_004f + + IL_003c: nop + IL_003d: ldarg.1 + IL_003e: ldarg.0 + IL_003f: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_0044: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::Clone() + IL_0049: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_004e: nop + IL_004f: ret + } // end of method Element::CopyTo + + // method line 2244 + .method assembly hidebysig + instance default void Initialize (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed + { + // Method begins at RVA 0x2bf4 + // Code size 101 (0x65) + .maxstack 4 + .locals init ( + class [mscorlib]System.ArgumentException V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0007: brtrue IL_0018 + + IL_000c: nop + IL_000d: ldstr "Element has invalid Project property." + IL_0012: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) + IL_0017: throw .try { // 0 - IL_000e: br IL_0169 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldarg.0 + IL_001b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0020: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0025: ldarg.1 + IL_0026: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_002b: stfld class NAnt.Core.Location NAnt.Core.Element::_location + IL_0030: nop + IL_0031: leave IL_004e - IL_0013: ldloc.1 - IL_0014: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0019: castclass [System.Xml]System.Xml.XmlNode - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldloc.0 - IL_0021: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_0026: ldc.i4.1 - IL_0027: bne.un IL_004c + } // end .try 0 + catch class [mscorlib]System.ArgumentException { // 0 + IL_0036: stloc.0 + IL_0037: nop + IL_0038: ldsfld class [log4net]log4net.ILog NAnt.Core.Element::logger + IL_003d: ldstr "Location of Element node could be located." + IL_0042: ldloc.0 + IL_0043: callvirt instance void class [log4net]log4net.ILog::Warn(object, class [mscorlib]System.Exception) + IL_0048: nop + IL_0049: leave IL_004e - IL_002c: ldloc.0 - IL_002d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_0032: ldarg.0 - IL_0033: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_0038: ldstr "nant" - IL_003d: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_0042: callvirt instance bool string::Equals(string) - IL_0047: brtrue IL_0052 + } // end handler 0 + IL_004e: ldarg.0 + IL_004f: ldarg.1 + IL_0050: ldarg.2 + IL_0051: ldarg.3 + IL_0052: callvirt instance void class NAnt.Core.Element::InitializeXml(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0057: ldarg.0 + IL_0058: ldarg.1 + IL_0059: callvirt instance void class NAnt.Core.Element::InitializeElement(class [System.Xml]System.Xml.XmlNode) + IL_005e: ldarg.0 + IL_005f: callvirt instance void class NAnt.Core.Element::Initialize() + IL_0064: ret + } // end of method Element::Initialize - IL_004c: nop - IL_004d: leave IL_0169 + // method line 2245 + .method family virtual hidebysig newslot + instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed + { + // Method begins at RVA 0x2c78 + // Code size 25 (0x19) + .maxstack 4 + .locals init ( + class NAnt.Core.Element/AttributeConfigurator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::_xmlNode + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: ldarg.3 + IL_000c: newobj instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() + IL_0018: ret + } // end of method Element::InitializeXml - IL_0052: ldarg.0 - IL_0053: ldloc.0 - IL_0054: callvirt instance bool class NAnt.Core.ElementContainer::IsPrivateXmlElement(class [System.Xml]System.Xml.XmlNode) - IL_0059: brfalse IL_0064 + // method line 2246 + .method family virtual hidebysig newslot + instance default class [System.Xml]System.Xml.XmlNode GetAttributeConfigurationNode (class NAnt.Core.FrameworkInfo framework, string attributeName) cil managed + { + // Method begins at RVA 0x2ca0 + // Code size 28 (0x1c) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0008: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Project::get_ConfigurationNode() + IL_000d: ldarg.1 + IL_000e: ldarg.2 + IL_000f: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.FrameworkInfo, string) + IL_0014: stloc.0 + IL_0015: br IL_001a - IL_005e: nop - IL_005f: leave IL_0169 + IL_001a: ldloc.0 + IL_001b: ret + } // end of method Element::GetAttributeConfigurationNode + + // method line 2247 + .method family hidebysig + instance default class [System.Xml]System.Xml.XmlNode GetAttributeConfigurationNode (class [System.Xml]System.Xml.XmlNode configSection, class NAnt.Core.FrameworkInfo framework, string attributeName) cil managed + { + // Method begins at RVA 0x2cc8 + // Code size 314 (0x13a) + .maxstack 5 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + string V_1, + int32 V_2, + class NAnt.Core.Element V_3, + int32 V_4, + class [System.Xml]System.Xml.XmlNode V_5, + class [System.Xml]System.Xml.XmlNode V_6, + class [System.Xml]System.Xml.XmlNode V_7) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldstr "" + IL_0008: stloc.1 + IL_0009: ldc.i4.0 + IL_000a: stloc.2 + IL_000b: ldarg.0 + IL_000c: stloc.3 + IL_000d: br IL_004c + + IL_0012: nop + IL_0013: ldloc.3 + IL_0014: isinst NAnt.Core.Task + IL_0019: brfalse IL_003f + + IL_001e: nop + IL_001f: ldloc.1 + IL_0020: ldstr " and parent::task[@name=\"" + IL_0025: ldloc.3 + IL_0026: callvirt instance string class NAnt.Core.Element::get_Name() + IL_002b: ldstr "\"" + IL_0030: call string string::Concat(string, string, string, string) + IL_0035: stloc.1 + IL_0036: ldloc.2 + IL_0037: ldc.i4.1 + IL_0038: add + IL_0039: stloc.2 + IL_003a: br IL_0052 + + IL_003f: ldloc.3 + IL_0040: callvirt instance object class NAnt.Core.Element::get_Parent() + IL_0045: isinst NAnt.Core.Element + IL_004a: stloc.3 + IL_004b: nop + IL_004c: ldloc.3 + IL_004d: brtrue IL_0012 + + IL_0052: ldstr "descendant::attribute[@name=\"" + IL_0057: ldarg.3 + IL_0058: ldstr "\"" + IL_005d: ldloc.1 + IL_005e: call string string::Concat(string, string, string, string) + IL_0063: stloc.1 + IL_0064: ldc.i4.0 + IL_0065: stloc.s 4 + IL_0067: br IL_0080 + + IL_006c: nop + IL_006d: ldloc.1 + IL_006e: ldstr "]" + IL_0073: call string string::Concat(string, string) + IL_0078: stloc.1 + IL_0079: nop + IL_007a: ldloc.s 4 + IL_007c: ldc.i4.1 + IL_007d: add + IL_007e: stloc.s 4 + IL_0080: ldloc.s 4 + IL_0082: ldloc.2 + IL_0083: blt IL_006c + + IL_0088: ldloc.1 + IL_0089: ldstr "]" + IL_008e: call string string::Concat(string, string) + IL_0093: stloc.1 + IL_0094: ldarg.2 + IL_0095: brfalse IL_00fc + + IL_009a: nop + IL_009b: ldarg.1 + IL_009c: ldc.i4.5 + IL_009d: newarr [mscorlib]System.String + IL_00a2: dup + IL_00a3: ldc.i4.0 + IL_00a4: ldstr "frameworks/platform[@name=\"" + IL_00a9: stelem.ref + IL_00aa: dup + IL_00ab: ldc.i4.1 + IL_00ac: ldarg.0 + IL_00ad: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00b2: callvirt instance string class NAnt.Core.Project::get_PlatformName() + IL_00b7: stelem.ref + IL_00b8: dup + IL_00b9: ldc.i4.2 + IL_00ba: ldstr "\"]/framework[@name=\"" + IL_00bf: stelem.ref + IL_00c0: dup + IL_00c1: ldc.i4.3 + IL_00c2: ldarg.2 + IL_00c3: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_00c8: stelem.ref + IL_00c9: dup + IL_00ca: ldc.i4.4 + IL_00cb: ldstr "\"]" + IL_00d0: stelem.ref + IL_00d1: call string string::Concat(string[]) + IL_00d6: ldarg.0 + IL_00d7: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_00dc: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00e1: stloc.s 5 + IL_00e3: ldloc.s 5 + IL_00e5: brfalse IL_00fb + + IL_00ea: nop + IL_00eb: ldloc.s 5 + IL_00ed: ldloc.1 + IL_00ee: ldarg.0 + IL_00ef: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_00f4: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00f9: stloc.0 + IL_00fa: nop + IL_00fb: nop + IL_00fc: ldloc.0 + IL_00fd: brtrue IL_012f + + IL_0102: nop + IL_0103: ldarg.1 + IL_0104: ldstr "frameworks/tasks" + IL_0109: ldarg.0 + IL_010a: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_010f: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0114: stloc.s 6 + IL_0116: ldloc.s 6 + IL_0118: brfalse IL_012e + + IL_011d: nop + IL_011e: ldloc.s 6 + IL_0120: ldloc.1 + IL_0121: ldarg.0 + IL_0122: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_0127: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_012c: stloc.0 + IL_012d: nop + IL_012e: nop + IL_012f: ldloc.0 + IL_0130: stloc.s 7 + IL_0132: br IL_0137 + + IL_0137: ldloc.s 7 + IL_0139: ret + } // end of method Element::GetAttributeConfigurationNode + + // method line 2248 + .method public static hidebysig + default class NAnt.Core.Element InitializeBuildElement (class NAnt.Core.Element parent, class [System.Xml]System.Xml.XmlNode childNode, class NAnt.Core.Element buildElement, class [mscorlib]System.Type elementType) cil managed + { + // Method begins at RVA 0x2e10 + // Code size 557 (0x22d) + .maxstack 5 + .locals init ( + class NAnt.Core.DataTypeBase V_0, + class [mscorlib]System.Reflection.ConstructorInfo V_1, + class NAnt.Core.Attributes.ElementNameAttribute V_2, + class NAnt.Core.Attributes.ElementNameAttribute V_3, + class NAnt.Core.Element V_4) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: isinst NAnt.Core.DataTypeBase + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_01fb - IL_0064: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0069: ldloc.0 - IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_006f: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) - IL_0074: brfalse IL_009d + IL_000e: ldloc.0 + IL_000f: callvirt instance bool class NAnt.Core.DataTypeBase::get_CanBeReferenced() + IL_0014: brfalse IL_01fb - IL_0079: nop - IL_007a: ldarg.0 - IL_007b: ldloc.0 - IL_007c: callvirt instance class NAnt.Core.Task class NAnt.Core.ElementContainer::CreateChildTask(class [System.Xml]System.Xml.XmlNode) - IL_0081: stloc.2 - IL_0082: ldloc.2 - IL_0083: brfalse IL_0097 + IL_0019: ldarg.1 + IL_001a: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_001f: ldstr "refid" + IL_0024: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0029: brfalse IL_01fb - IL_0088: nop - IL_0089: ldloc.2 - IL_008a: ldarg.0 - IL_008b: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0090: ldloc.2 - IL_0091: callvirt instance void class NAnt.Core.Task::Execute() - IL_0096: nop - IL_0097: nop - IL_0098: br IL_0168 + IL_002e: nop + IL_002f: ldloc.0 + IL_0030: ldarg.1 + IL_0031: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0036: ldstr "refid" + IL_003b: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0040: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0045: callvirt instance void class NAnt.Core.DataTypeBase::set_RefID(string) + IL_004a: ldloc.0 + IL_004b: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_0050: call bool string::IsNullOrEmpty(string) + IL_0055: brtrue IL_008b - IL_009d: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_00a2: ldloc.0 - IL_00a3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00a8: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) - IL_00ad: brfalse IL_013b + IL_005a: nop + IL_005b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0060: ldstr "NA1183" + IL_0065: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_006a: call !!0[] class [mscorlib]System.Array::Empty () + IL_006f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0074: ldarg.0 + IL_0075: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_007a: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_007f: ldarg.1 + IL_0080: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_0085: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_008a: throw + IL_008b: ldarg.0 + IL_008c: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0091: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_0096: ldloc.0 + IL_0097: callvirt instance string class NAnt.Core.DataTypeBase::get_RefID() + IL_009c: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) + IL_00a1: brfalse IL_00ca - IL_00b2: nop - IL_00b3: ldarg.0 - IL_00b4: ldloc.0 - IL_00b5: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.ElementContainer::CreateChildDataTypeBase(class [System.Xml]System.Xml.XmlNode) - IL_00ba: stloc.3 - IL_00bb: ldarg.0 - IL_00bc: ldc.i4 1000 - IL_00c1: ldstr "Adding a {0} reference with id '{1}'." - IL_00c6: ldc.i4.2 - IL_00c7: newarr [mscorlib]System.Object - IL_00cc: dup - IL_00cd: ldc.i4.0 - IL_00ce: ldloc.0 - IL_00cf: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00d4: stelem.ref - IL_00d5: dup - IL_00d6: ldc.i4.1 - IL_00d7: ldloc.3 - IL_00d8: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_00dd: stelem.ref - IL_00de: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00e3: ldarg.0 - IL_00e4: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00e9: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_00ee: ldloc.3 - IL_00ef: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_00f4: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) - IL_00f9: brtrue IL_011c + IL_00a6: nop + IL_00a7: ldarg.0 + IL_00a8: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00ad: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_00b2: ldloc.0 + IL_00b3: callvirt instance string class NAnt.Core.DataTypeBase::get_RefID() + IL_00b8: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.DataTypeBaseDictionary::get_Item(string) + IL_00bd: stloc.0 + IL_00be: ldloc.0 + IL_00bf: callvirt instance void class NAnt.Core.DataTypeBase::Reset() + IL_00c4: nop + IL_00c5: br IL_0102 - IL_00fe: nop - IL_00ff: ldarg.0 - IL_0100: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0105: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_010a: ldloc.3 - IL_010b: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_0110: ldloc.3 - IL_0111: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) - IL_0116: nop - IL_0117: br IL_0135 + IL_00ca: nop + IL_00cb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00d0: ldstr "NA1184" + IL_00d5: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00da: ldloc.0 + IL_00db: callvirt instance string class NAnt.Core.Element::get_Name() + IL_00e0: ldloc.0 + IL_00e1: callvirt instance string class NAnt.Core.DataTypeBase::get_RefID() + IL_00e6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00eb: ldarg.0 + IL_00ec: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_00f1: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_00f6: ldarg.1 + IL_00f7: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_00fc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0101: throw + IL_0102: ldarg.3 + IL_0103: ldloc.0 + IL_0104: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0109: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_010e: brtrue IL_01bd - IL_011c: nop - IL_011d: ldarg.0 - IL_011e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0123: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_0128: ldloc.3 - IL_0129: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_012e: ldloc.3 - IL_012f: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) - IL_0134: nop - IL_0135: nop - IL_0136: br IL_0168 + IL_0113: nop + IL_0114: ldarg.3 + IL_0115: ldc.i4.1 + IL_0116: newarr [mscorlib]System.Type + IL_011b: dup + IL_011c: ldc.i4.0 + IL_011d: ldloc.0 + IL_011e: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0123: stelem.ref + IL_0124: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) + IL_0129: stloc.1 + IL_012a: ldloc.1 + IL_012b: ldnull + IL_012c: call bool class [mscorlib]System.Reflection.ConstructorInfo::op_Inequality(class [mscorlib]System.Reflection.ConstructorInfo, class [mscorlib]System.Reflection.ConstructorInfo) + IL_0131: brfalse IL_0153 - IL_013b: nop - IL_013c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0141: ldstr "NA1071" - IL_0146: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_014b: ldloc.0 - IL_014c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0151: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0156: ldarg.0 - IL_0157: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_015c: ldloc.0 - IL_015d: callvirt instance class NAnt.Core.Location class NAnt.Core.Project::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_0162: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0167: throw - IL_0168: nop - IL_0169: ldloc.1 - IL_016a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_016f: brtrue IL_0013 + IL_0136: nop + IL_0137: ldloc.1 + IL_0138: ldc.i4.1 + IL_0139: newarr [mscorlib]System.Object + IL_013e: dup + IL_013f: ldc.i4.0 + IL_0140: ldloc.0 + IL_0141: stelem.ref + IL_0142: callvirt instance object class [mscorlib]System.Reflection.ConstructorInfo::Invoke(object[]) + IL_0147: castclass NAnt.Core.DataTypeBase + IL_014c: stloc.0 + IL_014d: nop + IL_014e: br IL_01bc - IL_0174: leave IL_018f + IL_0153: nop + IL_0154: ldloc.0 + IL_0155: callvirt instance class [mscorlib]System.Type object::GetType() + IL_015a: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_015f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0164: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0169: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_016e: stloc.2 + IL_016f: ldarg.3 + IL_0170: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_0175: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_017a: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_017f: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_0184: stloc.3 + IL_0185: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_018a: ldstr "NA1185" + IL_018f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0194: ldloc.2 + IL_0195: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_019a: ldloc.3 + IL_019b: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_01a0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_01a5: ldarg.0 + IL_01a6: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01ab: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_01b0: ldarg.1 + IL_01b1: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_01b6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_01bb: throw + IL_01bc: nop + IL_01bd: ldloc.0 + IL_01be: ldarg.0 + IL_01bf: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01c4: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_01c9: ldloc.0 + IL_01ca: ldarg.0 + IL_01cb: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_01d0: ldloc.0 + IL_01d1: ldarg.0 + IL_01d2: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_01d7: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_01dc: ldloc.0 + IL_01dd: ldarg.0 + IL_01de: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_01e3: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_01e8: ldarg.1 + IL_01e9: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_01ee: callvirt instance void class NAnt.Core.Element::set_Location(class NAnt.Core.Location) + IL_01f3: ldloc.0 + IL_01f4: stloc.s 4 + IL_01f6: br IL_022a - } // end .try 0 - finally { // 0 - IL_0179: ldloc.1 - IL_017a: isinst [mscorlib]System.IDisposable - IL_017f: dup - IL_0180: stloc.s 4 - IL_0182: brfalse IL_018e + IL_01fb: nop + IL_01fc: ldarg.2 + IL_01fd: ldarg.0 + IL_01fe: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0203: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0208: ldarg.2 + IL_0209: ldarg.0 + IL_020a: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_020f: ldarg.2 + IL_0210: ldarg.0 + IL_0211: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_0216: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_021b: ldarg.2 + IL_021c: ldarg.1 + IL_021d: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) + IL_0222: ldarg.2 + IL_0223: stloc.s 4 + IL_0225: br IL_022a - IL_0187: ldloc.s 4 - IL_0189: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_018e: endfinally - } // end handler 0 - IL_018f: ret - } // end of method ElementContainer::ExecuteChildTasks + IL_022a: ldloc.s 4 + IL_022c: ret + } // end of method Element::InitializeBuildElement - // method line 2169 - .method family virtual hidebysig newslot - instance default class NAnt.Core.Task CreateChildTask (class [System.Xml]System.Xml.XmlNode node) cil managed + // method line 2249 + .method private static hidebysig + default string GetElementNameFromType (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0x11ce0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x304c + // Code size 76 (0x4c) + .maxstack 3 .locals init ( - class NAnt.Core.Task V_0) + class NAnt.Core.Attributes.ElementNameAttribute V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldnull + IL_0003: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0008: brfalse IL_0019 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ElementContainer::CreateChildTask + IL_000d: nop + IL_000e: ldstr "type" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.0 + IL_001a: ldtoken NAnt.Core.Attributes.ElementNameAttribute + IL_001f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0024: ldc.i4.0 + IL_0025: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_002a: castclass NAnt.Core.Attributes.ElementNameAttribute + IL_002f: stloc.0 + IL_0030: ldloc.0 + IL_0031: brfalse IL_0043 - // method line 2170 - .method family virtual hidebysig newslot - instance default class NAnt.Core.DataTypeBase CreateChildDataTypeBase (class [System.Xml]System.Xml.XmlNode node) cil managed + IL_0036: nop + IL_0037: ldloc.0 + IL_0038: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() + IL_003d: stloc.1 + IL_003e: br IL_004a + + IL_0043: ldnull + IL_0044: stloc.1 + IL_0045: br IL_004a + + IL_004a: ldloc.1 + IL_004b: ret + } // end of method Element::GetElementNameFromType + + // method line 2250 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x11d04 + // Method begins at RVA 0x30a4 // Code size 21 (0x15) - .maxstack 2 - .locals init ( - class NAnt.Core.DataTypeBase V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 + .maxstack 8 + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Element::logger IL_0014: ret - } // end of method ElementContainer::CreateChildDataTypeBase + } // end of method Element::.cctor - // method line 2171 - .method family virtual hidebysig newslot - instance default bool IsPrivateXmlElement (class [System.Xml]System.Xml.XmlNode node) cil managed + .property instance object Parent () + { + .get instance default object NAnt.Core.Element::get_Parent () + .set instance default void NAnt.Core.Element::set_Parent (object 'value') + } + .property instance string Name () + { + .get instance default string NAnt.Core.Element::get_Name () + } + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.Element::get_Project () + .set instance default void NAnt.Core.Element::set_Project (class NAnt.Core.Project 'value') + } + .property instance class NAnt.Core.PropertyDictionary Properties () + { + .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Element::get_Properties () + } + .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () + { + .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element::get_NamespaceManager () + .set instance default void NAnt.Core.Element::set_NamespaceManager (class [System.Xml]System.Xml.XmlNamespaceManager 'value') + } + .property instance class [System.Xml]System.Xml.XmlNode XmlNode () + { + .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Element::get_XmlNode () + .set instance default void NAnt.Core.Element::set_XmlNode (class [System.Xml]System.Xml.XmlNode 'value') + } + .property instance class NAnt.Core.Location Location () + { + .get instance default class NAnt.Core.Location NAnt.Core.Element::get_Location () + .set instance default void NAnt.Core.Element::set_Location (class NAnt.Core.Location 'value') + } + .property instance bool CustomXmlProcessing () + { + .get instance default bool NAnt.Core.Element::get_CustomXmlProcessing () + } + .class nested public auto ansi beforefieldinit AttributeConfigurator + extends [mscorlib]System.Object + { + .field private initonly class NAnt.Core.Element _element + .field private initonly class [System.Xml]System.Xml.XmlNode _elementXml + .field private initonly class NAnt.Core.PropertyDictionary _properties + .field private initonly class NAnt.Core.FrameworkInfo _targetFramework + .field private initonly class [System]System.Collections.Specialized.StringCollection _unprocessedAttributes + .field private initonly class [System]System.Collections.Specialized.StringCollection _unprocessedChildNodes + .field private static initonly class [log4net]log4net.ILog logger + .field private static class [mscorlib]System.Collections.Hashtable AttributeSetters + + // method line 2251 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Element element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed { - // Method begins at RVA 0x11d28 - // Code size 40 (0x28) - .maxstack 2 + // Method begins at RVA 0x30bc + // Code size 419 (0x1a3) + .maxstack 3 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements - IL_0007: brfalse IL_001f - - IL_000c: ldarg.0 - IL_000d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements - IL_0012: ldarg.1 - IL_0013: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0018: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_001d: br.s IL_0020 + class [System.Xml]System.Xml.XmlAttribute V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + class [System.Xml]System.Xml.XmlNode V_3, + class [mscorlib]System.Collections.IEnumerator V_4, + class [mscorlib]System.IDisposable V_5) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - IL_001f: ldc.i4.0 - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_000d: nop + IL_000e: ldstr "element" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.2 + IL_001a: brtrue IL_002b - IL_0026: ldloc.0 - IL_0027: ret - } // end of method ElementContainer::IsPrivateXmlElement + IL_001f: nop + IL_0020: ldstr "elementNode" + IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002a: throw + IL_002b: ldarg.3 + IL_002c: brtrue IL_003d - // method line 2172 - .method family virtual hidebysig newslot - instance default void AddPrivateXmlElementName (string name) cil managed - { - // Method begins at RVA 0x11d5c - // Code size 54 (0x36) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements - IL_0007: brtrue IL_0017 + IL_0031: nop + IL_0032: ldstr "properties" + IL_0037: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_003c: throw + IL_003d: ldarg.0 + IL_003e: ldarg.1 + IL_003f: stfld class NAnt.Core.Element NAnt.Core.Element/AttributeConfigurator::_element + IL_0044: ldarg.0 + IL_0045: ldarg.2 + IL_0046: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element/AttributeConfigurator::_elementXml + IL_004b: ldarg.0 + IL_004c: ldarg.3 + IL_004d: stfld class NAnt.Core.PropertyDictionary NAnt.Core.Element/AttributeConfigurator::_properties + IL_0052: ldarg.0 + IL_0053: ldarg.s 4 + IL_0055: stfld class NAnt.Core.FrameworkInfo NAnt.Core.Element/AttributeConfigurator::_targetFramework + IL_005a: ldarg.0 + IL_005b: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0060: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedAttributes + IL_0065: nop + IL_0066: ldarg.2 + IL_0067: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_006c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNamedNodeMap::GetEnumerator() + IL_0071: stloc.1 + .try { // 0 + IL_0072: br IL_00ce - IL_000c: ldarg.0 - IL_000d: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0012: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements - IL_0017: ldarg.0 - IL_0018: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements - IL_001d: ldarg.1 - IL_001e: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_0023: brtrue IL_0035 + IL_0077: ldloc.1 + IL_0078: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_007d: castclass [System.Xml]System.Xml.XmlAttribute + IL_0082: stloc.0 + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_008a: callvirt instance int32 string::get_Length() + IL_008f: ldc.i4.0 + IL_0090: ble IL_00bb - IL_0028: ldarg.0 - IL_0029: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements - IL_002e: ldarg.1 - IL_002f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0034: pop - IL_0035: ret - } // end of method ElementContainer::AddPrivateXmlElementName + IL_0095: ldloc.0 + IL_0096: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_009b: ldarg.0 + IL_009c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_00a1: ldstr "nant" + IL_00a6: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_00ab: callvirt instance bool string::Equals(string) + IL_00b0: brtrue IL_00bb - .property instance bool CustomXmlProcessing () - { - .get instance default bool NAnt.Core.ElementContainer::get_CustomXmlProcessing () - } - } // end of class NAnt.Core.ElementContainer -} + IL_00b5: nop + IL_00b6: leave IL_00ce -.namespace NAnt.Core -{ - .class public auto ansi sealed serializable beforefieldinit FrameworkInfoDictionary - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionary, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable, [mscorlib]System.ICloneable { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_00bb: ldarg.0 + IL_00bc: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedAttributes + IL_00c1: ldloc.0 + IL_00c2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00c7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00cc: pop + IL_00cd: nop + IL_00ce: ldloc.1 + IL_00cf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00d4: brtrue IL_0077 - .field private class [mscorlib]System.Collections.Hashtable _innerHash + IL_00d9: leave IL_00f2 - // method line 2173 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2b0bb - // Code size 19 (0x13) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0012: ret - } // end of method FrameworkInfoDictionary::.ctor + } // end .try 0 + finally { // 0 + IL_00de: ldloc.1 + IL_00df: isinst [mscorlib]System.IDisposable + IL_00e4: dup + IL_00e5: stloc.2 + IL_00e6: brfalse IL_00f1 - // method line 2174 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.FrameworkInfoDictionary original) cil managed - { - // Method begins at RVA 0x2b0cf - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.FrameworkInfoDictionary::get_InnerHash() - IL_000e: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary) - IL_0013: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0018: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_00eb: ldloc.2 + IL_00ec: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f1: endfinally + } // end handler 0 + IL_00f2: ldarg.0 + IL_00f3: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_00f8: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes + IL_00fd: nop + IL_00fe: ldarg.2 + IL_00ff: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() + IL_0104: stloc.s 4 + .try { // 1 + IL_0106: br IL_017a - // method line 2175 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary) cil managed - { - // Method begins at RVA 0x2b0e9 - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary) - IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0013: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_010b: ldloc.s 4 + IL_010d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0112: castclass [System.Xml]System.Xml.XmlNode + IL_0117: stloc.3 + IL_0118: nop + IL_0119: ldloc.3 + IL_011a: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_011f: ldc.i4.1 + IL_0120: bne.un IL_0145 - // method line 2176 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity) cil managed - { - // Method begins at RVA 0x2b0fe - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32) - IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0013: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_0125: ldloc.3 + IL_0126: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_012b: ldarg.0 + IL_012c: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_0131: ldstr "nant" + IL_0136: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_013b: callvirt instance bool string::Equals(string) + IL_0140: brtrue IL_014b - // method line 2177 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor) cil managed - { - // Method begins at RVA 0x2b113 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, float32) - IL_000f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0014: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_0145: nop + IL_0146: leave IL_017a - // method line 2178 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x2b129 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_000f: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0014: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_014b: ldarg.0 + IL_014c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes + IL_0151: ldloc.3 + IL_0152: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0157: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_015c: brfalse IL_0167 - // method line 2179 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity, int32 loadFactor) cil managed - { - // Method begins at RVA 0x2b13f - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: conv.r4 - IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, float32) - IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0015: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_0161: nop + IL_0162: leave IL_017a - // method line 2180 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x2b156 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0015: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_0167: ldarg.0 + IL_0168: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes + IL_016d: ldloc.3 + IL_016e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0173: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0178: pop + IL_0179: nop + IL_017a: ldloc.s 4 + IL_017c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0181: brtrue IL_010b - // method line 2181 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x2b16d - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0010: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0015: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_0186: leave IL_01a2 - // method line 2182 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x2b184 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: ldarg.s 4 - IL_000d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(class [mscorlib]System.Collections.IDictionary, float32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0012: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0017: ret - } // end of method FrameworkInfoDictionary::.ctor + } // end .try 1 + finally { // 1 + IL_018b: ldloc.s 4 + IL_018d: isinst [mscorlib]System.IDisposable + IL_0192: dup + IL_0193: stloc.s 5 + IL_0195: brfalse IL_01a1 - // method line 2183 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity, float32 loadFactor, class [mscorlib]System.Collections.IHashCodeProvider codeProvider, class [mscorlib]System.Collections.IComparer comparer) cil managed - { - // Method begins at RVA 0x2b19d - // Code size 24 (0x18) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: ldarg.s 4 - IL_000d: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'(int32, float32, class [mscorlib]System.Collections.IHashCodeProvider, class [mscorlib]System.Collections.IComparer) - IL_0012: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0017: ret - } // end of method FrameworkInfoDictionary::.ctor + IL_019a: ldloc.s 5 + IL_019c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01a1: endfinally + } // end handler 1 + IL_01a2: ret + } // end of method AttributeConfigurator::.ctor - // method line 2184 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed + // method line 2252 + .method public hidebysig specialname + instance default class NAnt.Core.Element get_Element () cil managed { - // Method begins at RVA 0x2b1b8 + // Method begins at RVA 0x3288 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + class NAnt.Core.Element V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0002: ldfld class NAnt.Core.Element NAnt.Core.Element/AttributeConfigurator::_element IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FrameworkInfoDictionary::get_InnerHash + } // end of method AttributeConfigurator::get_Element - // method line 2185 - .method assembly hidebysig specialname - instance default void set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') cil managed + // method line 2253 + .method public hidebysig specialname + instance default class NAnt.Core.Location get_Location () cil managed { - // Method begins at RVA 0x2b1d3 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x32a4 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class NAnt.Core.Location V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0008: ret - } // end of method FrameworkInfoDictionary::set_InnerHash + IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0007: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 2186 - .method public hidebysig - instance default class NAnt.Core.FrameworkInfoDictionaryEnumerator GetEnumerator () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method AttributeConfigurator::get_Location + + // method line 2254 + .method public hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x2b1e0 - // Code size 15 (0xf) + // Method begins at RVA 0x32c4 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.FrameworkInfoDictionaryEnumerator V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.FrameworkInfoDictionaryEnumerator::'.ctor'(class NAnt.Core.FrameworkInfoDictionary) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0007: callvirt instance string class NAnt.Core.Element::get_Name() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfoDictionary::GetEnumerator + IL_0012: ldloc.0 + IL_0013: ret + } // end of method AttributeConfigurator::get_Name - // method line 2187 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed + // method line 2255 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed { - // Method begins at RVA 0x2b1fc - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::GetEnumerator due to (null) - // Code size 15 (0xf) + // Method begins at RVA 0x32e4 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.IDictionaryEnumerator V_0) + class NAnt.Core.Project V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.FrameworkInfoDictionaryEnumerator::'.ctor'(class NAnt.Core.FrameworkInfoDictionary) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0007: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.GetEnumerator + IL_0012: ldloc.0 + IL_0013: ret + } // end of method AttributeConfigurator::get_Project - // method line 2188 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 2256 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNode get_ElementXml () cil managed { - // Method begins at RVA 0x2b218 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) + // Method begins at RVA 0x3304 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) + class [System.Xml]System.Xml.XmlNode V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.FrameworkInfoDictionaryEnumerator class NAnt.Core.FrameworkInfoDictionary::GetEnumerator() + IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Element/AttributeConfigurator::_elementXml IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FrameworkInfoDictionary::System.Collections.IEnumerable.GetEnumerator - - // method line 2189 - .method public hidebysig - instance default void Remove (string key) cil managed - { - // Method begins at RVA 0x2b233 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_000d: ret - } // end of method FrameworkInfoDictionary::Remove - - // method line 2190 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Remove (object key) cil managed - { - // Method begins at RVA 0x2b242 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Remove due to (null) - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: call instance void class NAnt.Core.FrameworkInfoDictionary::Remove(string) - IL_000d: ret - } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.Remove + } // end of method AttributeConfigurator::get_ElementXml - // method line 2191 - .method public hidebysig - instance default bool Contains (string key) cil managed + // method line 2257 + .method public hidebysig specialname + instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed { - // Method begins at RVA 0x2b254 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x3320 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.PropertyDictionary V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.Element/AttributeConfigurator::_properties + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FrameworkInfoDictionary::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_Properties - // method line 2192 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IDictionary.Contains (object key) cil managed + // method line 2258 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_TargetFramework () cil managed { - // Method begins at RVA 0x2b278 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Contains due to (null) - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x333c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: call instance bool class NAnt.Core.FrameworkInfoDictionary::Contains(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.Contains + IL_0002: ldfld class NAnt.Core.FrameworkInfo NAnt.Core.Element/AttributeConfigurator::_targetFramework + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2193 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed - { - // Method begins at RVA 0x2b299 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() - IL_000c: ret - } // end of method FrameworkInfoDictionary::Clear + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_TargetFramework - // method line 2194 - .method public hidebysig - instance default void Add (string key, class NAnt.Core.FrameworkInfo 'value') cil managed + // method line 2259 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_UnprocessedAttributes () cil managed { - // Method begins at RVA 0x2b2a7 + // Method begins at RVA 0x3358 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedAttributes + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method FrameworkInfoDictionary::Add + } // end of method AttributeConfigurator::get_UnprocessedAttributes - // method line 2195 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed + // method line 2260 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_UnprocessedChildNodes () cil managed { - // Method begins at RVA 0x2b2b7 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Add due to (null) - // Code size 20 (0x14) - .maxstack 8 + // Method begins at RVA 0x3374 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: ldarg.2 - IL_0009: castclass NAnt.Core.FrameworkInfo - IL_000e: call instance void class NAnt.Core.FrameworkInfoDictionary::Add(string, class NAnt.Core.FrameworkInfo) - IL_0013: ret - } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.Add + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::_unprocessedChildNodes + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2196 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsReadOnly () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_UnprocessedChildNodes + + // method line 2261 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed { - // Method begins at RVA 0x2b2cc + // Method begins at RVA 0x3390 // Code size 20 (0x14) .maxstack 1 .locals init ( - bool V_0) + class [System.Xml]System.Xml.XmlNamespaceManager V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsReadOnly() + IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method FrameworkInfoDictionary::get_IsReadOnly + } // end of method AttributeConfigurator::get_NamespaceManager - // method line 2197 - .method public hidebysig specialname - instance default class NAnt.Core.FrameworkInfo get_Item (string key) cil managed + // method line 2262 + .method public hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x2b2ec - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x33b0 + // Code size 468 (0x1d4) + .maxstack 5 .locals init ( - class NAnt.Core.FrameworkInfo V_0) + class [mscorlib]System.Type V_0, + class [mscorlib]System.Reflection.PropertyInfo[] V_1, + class [mscorlib]System.Reflection.PropertyInfo V_2, + class [mscorlib]System.Reflection.PropertyInfo[] V_3, + int32 V_4, + class [mscorlib]System.Reflection.MethodInfo V_5, + class [mscorlib]System.Reflection.MethodInfo V_6) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000d: castclass NAnt.Core.FrameworkInfo - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0007: callvirt instance class [mscorlib]System.Type object::GetType() + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: ldc.i4.s 0x34 + IL_0010: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0015: stloc.1 + IL_0016: nop + IL_0017: ldloc.1 + IL_0018: stloc.3 + IL_0019: ldc.i4.0 + IL_001a: stloc.s 4 + IL_001c: br IL_00f3 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FrameworkInfoDictionary::get_Item + IL_0021: ldloc.3 + IL_0022: ldloc.s 4 + IL_0024: ldelem.ref + IL_0025: stloc.2 + IL_0026: nop + IL_0027: ldnull + IL_0028: stloc.s 5 + IL_002a: ldnull + IL_002b: stloc.s 6 + IL_002d: ldloc.2 + IL_002e: ldc.i4.1 + IL_002f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetSetMethod(bool) + IL_0034: stloc.s 6 + IL_0036: ldloc.s 6 + IL_0038: ldnull + IL_0039: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_003e: brfalse IL_0060 - // method line 2198 - .method public hidebysig specialname - instance default void set_Item (string key, class NAnt.Core.FrameworkInfo 'value') cil managed + IL_0043: ldloc.s 6 + IL_0045: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsPublic() + IL_004a: brtrue IL_0060 + + IL_004f: ldloc.s 6 + IL_0051: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsFamily() + IL_0056: brtrue IL_0060 + + IL_005b: nop + IL_005c: ldnull + IL_005d: stloc.s 6 + IL_005f: nop + IL_0060: ldloc.2 + IL_0061: ldc.i4.1 + IL_0062: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Reflection.PropertyInfo::GetGetMethod(bool) + IL_0067: stloc.s 5 + 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_0093 + + IL_0076: ldloc.s 5 + IL_0078: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsPublic() + IL_007d: brtrue IL_0093 + + IL_0082: ldloc.s 5 + IL_0084: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsFamily() + IL_0089: brtrue IL_0093 + + IL_008e: nop + IL_008f: ldnull + IL_0090: stloc.s 5 + IL_0092: nop + IL_0093: ldloc.s 5 + IL_0095: ldnull + IL_0096: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_009b: brfalse IL_00b2 + + IL_00a0: ldloc.s 6 + IL_00a2: ldnull + IL_00a3: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_00a8: brfalse IL_00b2 + + IL_00ad: br IL_00ed + + IL_00b2: ldarg.0 + IL_00b3: ldloc.2 + IL_00b4: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_00b9: brfalse IL_00c4 + + IL_00be: nop + IL_00bf: br IL_00ed + + IL_00c4: ldarg.0 + IL_00c5: ldloc.2 + IL_00c6: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElementCollection(class [mscorlib]System.Reflection.PropertyInfo) + IL_00cb: brfalse IL_00d6 + + IL_00d0: nop + IL_00d1: br IL_00ed + + IL_00d6: ldarg.0 + IL_00d7: ldloc.2 + IL_00d8: ldloc.s 5 + IL_00da: ldloc.s 6 + IL_00dc: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeChildElement(class [mscorlib]System.Reflection.PropertyInfo, class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_00e1: brfalse IL_00ec + + IL_00e6: nop + IL_00e7: br IL_00ed + + IL_00ec: nop + IL_00ed: ldloc.s 4 + IL_00ef: ldc.i4.1 + IL_00f0: add + IL_00f1: stloc.s 4 + IL_00f3: ldloc.s 4 + IL_00f5: ldloc.3 + IL_00f6: ldlen + IL_00f7: conv.i4 + IL_00f8: blt IL_0021 + + IL_00fd: ldarg.0 + IL_00fe: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::InitializeOrderedChildElements() + IL_0103: ldloc.0 + IL_0104: ldtoken NAnt.Core.Target + IL_0109: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_010e: callvirt instance bool class [mscorlib]System.Type::Equals(class [mscorlib]System.Type) + IL_0113: brtrue IL_01d3 + + IL_0118: ldloc.0 + IL_0119: ldtoken NAnt.Core.Target + IL_011e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0123: callvirt instance bool class [mscorlib]System.Type::IsSubclassOf(class [mscorlib]System.Type) + IL_0128: brtrue IL_01d3 + + IL_012d: nop + IL_012e: ldarg.0 + IL_012f: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() + IL_0134: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0139: ldc.i4.0 + IL_013a: ble IL_0177 + + IL_013f: nop + IL_0140: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0145: ldstr "NA1027" + IL_014a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_014f: ldarg.0 + IL_0150: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() + IL_0155: ldc.i4.0 + IL_0156: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_015b: ldarg.0 + IL_015c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0161: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0166: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_016b: ldarg.0 + IL_016c: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0171: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0176: throw + IL_0177: ldarg.0 + IL_0178: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_017d: callvirt instance bool class NAnt.Core.Element::get_CustomXmlProcessing() + IL_0182: brtrue IL_01d2 + + IL_0187: nop + IL_0188: ldarg.0 + IL_0189: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_018e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0193: ldc.i4.0 + IL_0194: ble IL_01d1 + + IL_0199: nop + IL_019a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_019f: ldstr "NA1032" + IL_01a4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01a9: ldarg.0 + IL_01aa: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_01af: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_01b4: ldarg.0 + IL_01b5: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_01ba: ldc.i4.0 + IL_01bb: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_01c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_01c5: ldarg.0 + IL_01c6: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_01cb: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_01d0: throw + IL_01d1: nop + IL_01d2: nop + IL_01d3: ret + } // end of method AttributeConfigurator::Initialize + + // method line 2263 + .method family virtual hidebysig newslot + instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed { - // Method begins at RVA 0x2b312 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x3590 + // Code size 1082 (0x43a) + .maxstack 6 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + string V_1, + class [System.Xml]System.Xml.XmlNode V_2, + class NAnt.Core.Attributes.FrameworkConfigurableAttribute V_3, + class NAnt.Core.BuildException V_4, + class NAnt.Core.Attributes.BuildAttributeAttribute V_5, + bool V_6, + class [mscorlib]System.ObsoleteAttribute V_7, + string V_8, + class [mscorlib]System.Type V_9, + object[] V_10, + class NAnt.Core.Attributes.ValidatorAttribute V_11, + object[] V_12, + int32 V_13, + class NAnt.Core.ValidationException V_14, + class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter V_15) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldnull + IL_0006: stloc.2 IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_000e: ret - } // end of method FrameworkInfoDictionary::set_Item + IL_0008: ldtoken NAnt.Core.Attributes.FrameworkConfigurableAttribute + IL_000d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0012: ldc.i4.0 + IL_0013: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0018: castclass NAnt.Core.Attributes.FrameworkConfigurableAttribute + IL_001d: stloc.3 + IL_001e: ldloc.3 + IL_001f: brfalse IL_0117 + + IL_0024: nop + IL_0025: ldarg.0 + IL_0026: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_002b: ldarg.0 + IL_002c: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() + IL_0031: ldloc.3 + IL_0032: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() + IL_0037: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class NAnt.Core.FrameworkInfo, string) + IL_003c: stloc.2 + IL_003d: ldloc.2 + IL_003e: brfalse IL_00d7 + + IL_0043: nop + IL_0044: ldloc.2 + IL_0045: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_004a: stloc.1 + IL_004b: ldloc.3 + IL_004c: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_ExpandProperties() + IL_0051: brfalse IL_00d1 + + IL_0056: ldarg.0 + IL_0057: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() + IL_005c: brfalse IL_00d1 + + IL_0061: nop + .try { // 0 + IL_0062: nop + IL_0063: ldarg.0 + IL_0064: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() + IL_0069: callvirt instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() + IL_006e: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0073: ldloc.1 + IL_0074: ldarg.0 + IL_0075: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_007a: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_007f: stloc.1 + IL_0080: nop + IL_0081: leave IL_00d0 + + } // end .try 0 + catch class NAnt.Core.BuildException { // 0 + IL_0086: stloc.s 4 + IL_0088: nop + IL_0089: ldloc.3 + IL_008a: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() + IL_008f: brfalse IL_00c8 + + IL_0094: nop + IL_0095: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_009a: ldstr "NA1015" + IL_009f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00a4: ldloc.3 + IL_00a5: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() + IL_00aa: ldarg.0 + IL_00ab: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_00b0: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00b5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00ba: ldarg.0 + IL_00bb: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_00c0: ldloc.s 4 + IL_00c2: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00c7: throw + IL_00c8: ldnull + IL_00c9: stloc.1 + IL_00ca: nop + IL_00cb: leave IL_00d0 + + } // end handler 0 + IL_00d0: nop + IL_00d1: nop + IL_00d2: br IL_0116 + + IL_00d7: nop + IL_00d8: ldloc.3 + IL_00d9: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() + IL_00de: brfalse IL_0115 + + IL_00e3: nop + IL_00e4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00e9: ldstr "NA1015" + IL_00ee: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f3: ldloc.3 + IL_00f4: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() + IL_00f9: ldarg.0 + IL_00fa: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_00ff: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0104: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0109: ldarg.0 + IL_010a: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_010f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0114: throw + IL_0115: nop + IL_0116: nop + IL_0117: ldarg.1 + IL_0118: ldtoken NAnt.Core.Attributes.BuildAttributeAttribute + IL_011d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0122: ldc.i4.0 + IL_0123: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0128: castclass NAnt.Core.Attributes.BuildAttributeAttribute + IL_012d: stloc.s 5 + IL_012f: ldloc.s 5 + IL_0131: brfalse IL_02ec + + IL_0136: nop + IL_0137: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger + IL_013c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0141: ldstr "String_FoundAttribute" + IL_0146: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_014b: ldloc.s 5 + IL_014d: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() + IL_0152: ldarg.1 + IL_0153: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_0158: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_015d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0162: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_0167: ldarg.0 + IL_0168: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_016d: brfalse IL_018c + + IL_0172: nop + IL_0173: ldarg.0 + IL_0174: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0179: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_017e: ldloc.s 5 + IL_0180: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() + IL_0185: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_018a: stloc.0 + IL_018b: nop + IL_018c: ldloc.0 + IL_018d: brfalse IL_02aa + + IL_0192: nop + IL_0193: ldarg.0 + IL_0194: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() + IL_0199: ldloc.0 + IL_019a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_019f: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) + IL_01a4: ldloc.s 5 + IL_01a6: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_ProcessXml() + IL_01ab: brtrue IL_01e9 + + IL_01b0: nop + IL_01b1: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger + IL_01b6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01bb: ldstr "String_SkippingAttribute" + IL_01c0: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01c5: ldloc.s 5 + IL_01c7: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() + IL_01cc: ldarg.1 + IL_01cd: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_01d2: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01d7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_01dc: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_01e1: ldc.i4.1 + IL_01e2: stloc.s 6 + IL_01e4: br IL_0437 + + IL_01e9: ldloc.0 + IL_01ea: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_01ef: stloc.1 + IL_01f0: ldloc.s 5 + IL_01f2: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_ExpandProperties() + IL_01f7: brfalse IL_0211 + + IL_01fc: nop + IL_01fd: ldarg.0 + IL_01fe: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element/AttributeConfigurator::get_Properties() + IL_0203: ldloc.1 + IL_0204: ldarg.0 + IL_0205: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_020a: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_020f: stloc.1 + IL_0210: nop + IL_0211: ldarg.1 + IL_0212: ldtoken [mscorlib]System.ObsoleteAttribute + IL_0217: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_021c: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0221: castclass [mscorlib]System.ObsoleteAttribute + IL_0226: stloc.s 7 + IL_0228: ldloc.s 7 + IL_022a: brfalse IL_02a4 + + IL_022f: nop + IL_0230: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0235: ldstr "NA1014" + IL_023a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_023f: ldloc.s 5 + IL_0241: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() + IL_0246: ldarg.0 + IL_0247: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_024c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0251: ldloc.s 7 + IL_0253: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_0258: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_025d: stloc.s 8 + IL_025f: ldloc.s 7 + IL_0261: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_0266: brfalse IL_027a + + IL_026b: nop + IL_026c: ldloc.s 8 + IL_026e: ldarg.0 + IL_026f: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0274: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0279: throw + IL_027a: nop + IL_027b: ldarg.0 + IL_027c: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0281: ldc.i4 4000 + IL_0286: ldarg.0 + IL_0287: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_028c: callvirt instance string object::ToString() + IL_0291: ldstr " " + IL_0296: ldloc.s 8 + IL_0298: call string string::Concat(string, string, string) + IL_029d: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_02a2: nop + IL_02a3: nop + IL_02a4: nop + IL_02a5: br IL_02eb - // method line 2199 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionary.get_Item (object key) cil managed - { - // Method begins at RVA 0x2b324 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::get_Item due to (null) - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_02aa: nop + IL_02ab: ldloc.s 5 + IL_02ad: callvirt instance bool class NAnt.Core.Attributes.BuildAttributeAttribute::get_Required() + IL_02b2: brfalse IL_02ea - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.get_Item + IL_02b7: nop + IL_02b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02bd: ldstr "NA1033" + IL_02c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02c7: ldloc.s 5 + IL_02c9: callvirt instance string class NAnt.Core.Attributes.BuildAttributeAttribute::get_Name() + IL_02ce: ldarg.0 + IL_02cf: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_02d4: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_02d9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02de: ldarg.0 + IL_02df: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_02e4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_02e9: throw + IL_02ea: nop + IL_02eb: nop + IL_02ec: ldloc.1 + IL_02ed: brfalse IL_0428 - // method line 2200 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed - { - // Method begins at RVA 0x2b345 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::set_Item due to (null) - // Code size 20 (0x14) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass [mscorlib]System.String - IL_0008: ldarg.2 - IL_0009: castclass NAnt.Core.FrameworkInfo - IL_000e: call instance void class NAnt.Core.FrameworkInfoDictionary::set_Item(string, class NAnt.Core.FrameworkInfo) - IL_0013: ret - } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.set_Item + IL_02f2: nop + IL_02f3: ldloc.0 + IL_02f4: brtrue IL_02fd - // method line 2201 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed - { - // Method begins at RVA 0x2b35c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ICollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_02f9: nop + IL_02fa: ldloc.2 + IL_02fb: stloc.0 + IL_02fc: nop + IL_02fd: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger + IL_0302: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0307: ldstr "String_SettingValue" + IL_030c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0311: ldarg.1 + IL_0312: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0317: ldloc.1 + IL_0318: ldarg.1 + IL_0319: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_031e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0323: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0328: callvirt instance void class [log4net]log4net.ILog::Debug(object) + IL_032d: ldarg.1 + IL_032e: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0333: brfalse IL_0427 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionary::get_Values + IL_0338: nop + IL_0339: ldarg.1 + IL_033a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_033f: stloc.s 9 + IL_0341: ldarg.1 + IL_0342: ldtoken NAnt.Core.Attributes.ValidatorAttribute + IL_0347: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_034c: call class [mscorlib]System.Attribute[] class [mscorlib]System.Attribute::GetCustomAttributes(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_0351: castclass class NAnt.Core.Attributes.ValidatorAttribute[] + IL_0356: stloc.s 10 + .try { // 1 + IL_0358: nop + IL_0359: nop + IL_035a: ldloc.s 10 + IL_035c: stloc.s 12 + IL_035e: ldc.i4.0 + IL_035f: stloc.s 13 + IL_0361: br IL_03bd - // method line 2202 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed - { - // Method begins at RVA 0x2b37c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ICollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0366: ldloc.s 12 + IL_0368: ldloc.s 13 + IL_036a: ldelem.ref + IL_036b: castclass NAnt.Core.Attributes.ValidatorAttribute + IL_0370: stloc.s 11 + IL_0372: nop + IL_0373: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger + IL_0378: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_037d: ldstr "String_ValidatingElement" + IL_0382: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0387: ldloc.s 11 + IL_0389: callvirt instance class [mscorlib]System.Type object::GetType() + IL_038e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0393: ldarg.0 + IL_0394: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0399: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_039e: ldloc.0 + IL_039f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_03a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_03a9: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_03ae: ldloc.s 11 + IL_03b0: ldloc.1 + IL_03b1: callvirt instance void class NAnt.Core.Attributes.ValidatorAttribute::Validate(object) + IL_03b6: nop + IL_03b7: ldloc.s 13 + IL_03b9: ldc.i4.1 + IL_03ba: add + IL_03bb: stloc.s 13 + IL_03bd: ldloc.s 13 + IL_03bf: ldloc.s 12 + IL_03c1: ldlen + IL_03c2: conv.i4 + IL_03c3: blt IL_0366 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionary::get_Keys + IL_03c8: nop + IL_03c9: leave IL_0405 - // method line 2203 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsFixedSize () cil managed - { - // Method begins at RVA 0x2b39c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end .try 1 + catch class NAnt.Core.ValidationException { // 1 + IL_03ce: stloc.s 14 + IL_03d0: nop + IL_03d1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03d6: ldstr "NA1022" + IL_03db: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03e0: ldloc.1 + IL_03e1: ldloc.0 + IL_03e2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_03e7: ldarg.0 + IL_03e8: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_03ed: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_03f2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_03f7: ldarg.0 + IL_03f8: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_03fd: ldloc.s 14 + IL_03ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0404: throw + } // end handler 1 + IL_0405: ldarg.0 + IL_0406: ldloc.s 9 + IL_0408: call instance class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter class NAnt.Core.Element/AttributeConfigurator::CreateAttributeSetter(class [mscorlib]System.Type) + IL_040d: stloc.s 15 + IL_040f: ldloc.s 15 + IL_0411: ldloc.0 + IL_0412: ldarg.0 + IL_0413: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0418: ldarg.1 + IL_0419: ldloc.1 + IL_041a: callvirt instance void class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter::Set(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Reflection.PropertyInfo, string) + IL_041f: ldc.i4.1 + IL_0420: stloc.s 6 + IL_0422: br IL_0437 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionary::get_IsFixedSize + IL_0427: nop + IL_0428: ldloc.s 5 + IL_042a: ldnull + IL_042b: ceq + IL_042d: ldc.i4.0 + IL_042e: ceq + IL_0430: stloc.s 6 + IL_0432: br IL_0437 - // method line 2204 - .method private final virtual hidebysig newslot - instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed - { - // Method begins at RVA 0x2b3bc - .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method FrameworkInfoDictionary::System.Collections.ICollection.CopyTo + IL_0437: ldloc.s 6 + IL_0439: ret + } // end of method AttributeConfigurator::InitializeAttribute - // method line 2205 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsSynchronized () cil managed + // method line 2264 + .method family virtual hidebysig newslot + instance default bool InitializeBuildElementCollection (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed { - // Method begins at RVA 0x2b3cc - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x39f4 + // Code size 2340 (0x924) + .maxstack 8 .locals init ( - bool V_0) + class NAnt.Core.Attributes.BuildElementArrayAttribute V_0, + class NAnt.Core.Attributes.BuildElementCollectionAttribute V_1, + bool V_2, + class [mscorlib]System.Type V_3, + class [mscorlib]System.Reflection.MethodInfo V_4, + class [mscorlib]System.Reflection.MethodInfo[] V_5, + int32 V_6, + class [mscorlib]System.Reflection.ParameterInfo V_7, + class [System.Xml]System.Xml.XmlNodeList V_8, + class [mscorlib]System.ObsoleteAttribute V_9, + string V_10, + string V_11, + class [mscorlib]System.ObsoleteAttribute V_12, + string V_13, + class [mscorlib]System.Array V_14, + int32 V_15, + class [System.Xml]System.Xml.XmlNode V_16, + class [mscorlib]System.Collections.IEnumerator V_17, + class NAnt.Core.Element V_18, + class NAnt.Core.Configuration.ConditionalElement V_19, + class [mscorlib]System.IDisposable V_20, + class [mscorlib]System.Array V_21, + class [mscorlib]System.Reflection.TargetInvocationException V_22, + class [mscorlib]System.Reflection.MethodInfo V_23, + class [mscorlib]System.Reflection.MethodInfo[] V_24, + class [mscorlib]System.Reflection.MethodInfo V_25, + class [mscorlib]System.Reflection.MethodInfo[] V_26, + int32 V_27, + class [mscorlib]System.Reflection.ParameterInfo V_28, + object V_29, + object V_30, + int32 V_31, + object V_32) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsSynchronized() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldarg.1 + IL_0006: ldtoken NAnt.Core.Attributes.BuildElementArrayAttribute + IL_000b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0010: ldc.i4.0 + IL_0011: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0016: castclass NAnt.Core.Attributes.BuildElementArrayAttribute + IL_001b: stloc.0 + IL_001c: ldarg.1 + IL_001d: ldtoken NAnt.Core.Attributes.BuildElementCollectionAttribute + IL_0022: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0027: ldc.i4.0 + IL_0028: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_002d: castclass NAnt.Core.Attributes.BuildElementCollectionAttribute + IL_0032: stloc.1 + IL_0033: ldloc.0 + IL_0034: brtrue IL_0047 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionary::get_IsSynchronized + IL_0039: ldloc.1 + IL_003a: brtrue IL_0047 - // method line 2206 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed - { - // Method begins at RVA 0x2b3ec - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_003f: nop + IL_0040: ldc.i4.0 + IL_0041: stloc.2 + IL_0042: br IL_0922 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionary::get_Count + IL_0047: ldarg.1 + IL_0048: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_004d: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_0052: brtrue IL_009e - // method line 2207 - .method public final virtual hidebysig newslot specialname - instance default object get_SyncRoot () cil managed - { - // Method begins at RVA 0x2b40c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0057: ldtoken [mscorlib]System.Collections.ICollection + IL_005c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0061: ldarg.1 + IL_0062: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0067: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_006c: brtrue IL_009e - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionary::get_SyncRoot + IL_0071: nop + IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0077: ldstr "NA1031" + IL_007c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0081: ldloc.0 + IL_0082: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0087: ldarg.0 + IL_0088: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_008d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0092: ldarg.0 + IL_0093: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0098: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_009d: throw + IL_009e: ldnull + IL_009f: stloc.3 + IL_00a0: ldloc.0 + IL_00a1: brfalse IL_00b4 - // method line 2208 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.FrameworkInfo[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x2b42c - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method FrameworkInfoDictionary::CopyTo + IL_00a6: nop + IL_00a7: ldloc.0 + IL_00a8: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() + IL_00ad: stloc.3 + IL_00ae: nop + IL_00af: br IL_00bd - // method line 2209 - .method public hidebysig - instance default class NAnt.Core.FrameworkInfoDictionary Clone () cil managed - { - // Method begins at RVA 0x2b43c - // Code size 38 (0x26) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfoDictionary V_0, - class NAnt.Core.FrameworkInfoDictionary V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_000e: callvirt instance object class [mscorlib]System.Collections.Hashtable::Clone() - IL_0013: castclass [mscorlib]System.Collections.Hashtable - IL_0018: callvirt instance void class NAnt.Core.FrameworkInfoDictionary::set_InnerHash(class [mscorlib]System.Collections.Hashtable) - IL_001d: ldloc.0 - IL_001e: stloc.1 - IL_001f: br IL_0024 + IL_00b4: nop + IL_00b5: ldloc.1 + IL_00b6: callvirt instance class [mscorlib]System.Type class NAnt.Core.Attributes.BuildElementArrayAttribute::get_ElementType() + IL_00bb: stloc.3 + IL_00bc: nop + IL_00bd: ldarg.1 + IL_00be: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_00c3: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_00c8: brfalse IL_0126 - IL_0024: ldloc.1 - IL_0025: ret - } // end of method FrameworkInfoDictionary::Clone + IL_00cd: nop + IL_00ce: ldarg.1 + IL_00cf: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_00d4: brtrue IL_0106 - // method line 2210 - .method private final virtual hidebysig newslot - instance default object System.ICloneable.Clone () cil managed - { - // Method begins at RVA 0x2b470 - .override Could not decode method override class [mscorlib]System.ICloneable::Clone due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.FrameworkInfoDictionary::Clone() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00d9: nop + IL_00da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00df: ldstr "NA1016" + IL_00e4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00e9: ldloc.0 + IL_00ea: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_00ef: ldarg.0 + IL_00f0: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_00f5: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00fa: ldarg.0 + IL_00fb: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0100: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0105: throw + IL_0106: ldloc.3 + IL_0107: ldnull + IL_0108: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_010d: brfalse IL_0120 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfoDictionary::System.ICloneable.Clone + IL_0112: nop + IL_0113: ldarg.1 + IL_0114: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0119: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_011e: stloc.3 + IL_011f: nop + IL_0120: nop + IL_0121: br IL_01de - // method line 2211 - .method public hidebysig - instance default bool ContainsKey (string key) cil managed - { - // Method begins at RVA 0x2b48c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0126: nop + IL_0127: ldarg.1 + IL_0128: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanRead() + IL_012d: brtrue IL_015f + + IL_0132: nop + IL_0133: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0138: ldstr "NA1019" + IL_013d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0142: ldloc.0 + IL_0143: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0148: ldarg.0 + IL_0149: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_014e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0153: ldarg.0 + IL_0154: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0159: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_015e: throw + IL_015f: ldloc.3 + IL_0160: ldnull + IL_0161: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0166: brfalse IL_01dd - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FrameworkInfoDictionary::ContainsKey + IL_016b: nop + IL_016c: nop + IL_016d: ldarg.1 + IL_016e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0173: ldc.i4.s 0x14 + IL_0175: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_017a: stloc.s 5 + IL_017c: ldc.i4.0 + IL_017d: stloc.s 6 + IL_017f: br IL_01d1 - // method line 2212 - .method public hidebysig - instance default bool ContainsValue (class NAnt.Core.FrameworkInfo 'value') cil managed - { - // Method begins at RVA 0x2b4b0 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsValue(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0184: ldloc.s 5 + IL_0186: ldloc.s 6 + IL_0188: ldelem.ref + IL_0189: stloc.s 4 + IL_018b: nop + IL_018c: ldloc.s 4 + IL_018e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0193: ldstr "Add" + IL_0198: call bool string::op_Equality(string, string) + IL_019d: brfalse IL_01ca - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FrameworkInfoDictionary::ContainsValue + IL_01a2: ldloc.s 4 + IL_01a4: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_01a9: ldlen + IL_01aa: conv.i4 + IL_01ab: ldc.i4.1 + IL_01ac: bne.un IL_01ca - // method line 2213 - .method public static hidebysig - default class NAnt.Core.FrameworkInfoDictionary Synchronized (class NAnt.Core.FrameworkInfoDictionary nonSync) cil managed - { - // Method begins at RVA 0x2b4d4 - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfoDictionary V_0, - class NAnt.Core.FrameworkInfoDictionary V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.FrameworkInfoDictionary::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.FrameworkInfoDictionary::get_InnerHash() - IL_000e: call class [mscorlib]System.Collections.Hashtable class [mscorlib]System.Collections.Hashtable::Synchronized(class [mscorlib]System.Collections.Hashtable) - IL_0013: callvirt instance void class NAnt.Core.FrameworkInfoDictionary::set_InnerHash(class [mscorlib]System.Collections.Hashtable) - IL_0018: ldloc.0 - IL_0019: stloc.1 - IL_001a: br IL_001f + IL_01b1: nop + IL_01b2: ldloc.s 4 + IL_01b4: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_01b9: ldc.i4.0 + IL_01ba: ldelem.ref + IL_01bb: stloc.s 7 + IL_01bd: ldloc.s 7 + IL_01bf: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_01c4: stloc.3 + IL_01c5: br IL_01dc - IL_001f: ldloc.1 - IL_0020: ret - } // end of method FrameworkInfoDictionary::Synchronized + IL_01ca: nop + IL_01cb: ldloc.s 6 + IL_01cd: ldc.i4.1 + IL_01ce: add + IL_01cf: stloc.s 6 + IL_01d1: ldloc.s 6 + IL_01d3: ldloc.s 5 + IL_01d5: ldlen + IL_01d6: conv.i4 + IL_01d7: blt IL_0184 - .property instance object System.Collections.IDictionary.Item (object) - { - .get instance default object NAnt.Core.FrameworkInfoDictionary::System.Collections.IDictionary.get_Item (object key) - .set instance default void NAnt.Core.FrameworkInfoDictionary::System.Collections.IDictionary.set_Item (object key, object 'value') - } - .property instance class [mscorlib]System.Collections.Hashtable InnerHash () - { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::get_InnerHash () - .set instance default void NAnt.Core.FrameworkInfoDictionary::set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') - } - .property instance bool IsReadOnly () - { - .get instance default bool NAnt.Core.FrameworkInfoDictionary::get_IsReadOnly () - } - .property instance class NAnt.Core.FrameworkInfo Item (string) - { - .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.FrameworkInfoDictionary::get_Item (string key) - .set instance default void NAnt.Core.FrameworkInfoDictionary::set_Item (string key, class NAnt.Core.FrameworkInfo 'value') - } - .property instance class [mscorlib]System.Collections.ICollection Values () - { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.FrameworkInfoDictionary::get_Values () - } - .property instance class [mscorlib]System.Collections.ICollection Keys () - { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.FrameworkInfoDictionary::get_Keys () - } - .property instance bool IsFixedSize () - { - .get instance default bool NAnt.Core.FrameworkInfoDictionary::get_IsFixedSize () - } - .property instance bool IsSynchronized () - { - .get instance default bool NAnt.Core.FrameworkInfoDictionary::get_IsSynchronized () - } - .property instance int32 Count () - { - .get instance default int32 NAnt.Core.FrameworkInfoDictionary::get_Count () - } - .property instance object SyncRoot () - { - .get instance default object NAnt.Core.FrameworkInfoDictionary::get_SyncRoot () - } - } // end of class NAnt.Core.FrameworkInfoDictionary -} + IL_01dc: nop + IL_01dd: nop + IL_01de: ldloc.3 + IL_01df: ldnull + IL_01e0: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_01e5: brtrue IL_01ff -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit FrameworkInfoDictionaryEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator + IL_01ea: ldtoken NAnt.Core.Element + IL_01ef: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01f4: ldloc.3 + IL_01f5: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_01fa: brtrue IL_0231 - // method line 2214 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.FrameworkInfoDictionary enumerable) cil managed - { - // Method begins at RVA 0x2b501 - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.Core.FrameworkInfoDictionary::get_InnerHash() - IL_000e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0013: stfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0018: ret - } // end of method FrameworkInfoDictionaryEnumerator::.ctor + IL_01ff: nop + IL_0200: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0205: ldstr "NA1140" + IL_020a: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_020f: ldarg.1 + IL_0210: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0215: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_021a: ldarg.1 + IL_021b: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0220: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0225: ldarg.0 + IL_0226: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_022b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0230: throw + IL_0231: ldnull + IL_0232: stloc.s 8 + IL_0234: ldloc.1 + IL_0235: brfalse IL_0448 - // method line 2215 - .method public hidebysig specialname - instance default string get_Key () cil managed - { - // Method begins at RVA 0x2b51c - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() - IL_000c: castclass [mscorlib]System.String - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_023a: nop + IL_023b: ldarg.0 + IL_023c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0241: ldstr "nant:" + IL_0246: ldloc.1 + IL_0247: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_024c: call string string::Concat(string, string) + IL_0251: ldarg.0 + IL_0252: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_0257: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_025c: stloc.s 8 + IL_025e: ldloc.s 8 + IL_0260: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0265: brtrue IL_02a7 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkInfoDictionaryEnumerator::get_Key + IL_026a: ldloc.1 + IL_026b: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_0270: brfalse IL_02a7 - // method line 2216 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed - { - // Method begins at RVA 0x2b544 - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Key() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0275: nop + IL_0276: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_027b: ldstr "NA1021" + IL_0280: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0285: ldloc.1 + IL_0286: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_028b: ldarg.0 + IL_028c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0291: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0296: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_029b: ldarg.0 + IL_029c: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_02a1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_02a6: throw + IL_02a7: ldloc.s 8 + IL_02a9: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_02ae: ldc.i4.1 + IL_02af: bne.un IL_0408 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key + IL_02b4: nop + IL_02b5: ldarg.1 + IL_02b6: ldtoken [mscorlib]System.ObsoleteAttribute + IL_02bb: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_02c0: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_02c5: castclass [mscorlib]System.ObsoleteAttribute + IL_02ca: stloc.s 9 + IL_02cc: ldloc.s 9 + IL_02ce: brfalse IL_0347 - // method line 2217 - .method public hidebysig specialname - instance default class NAnt.Core.FrameworkInfo get_Value () cil managed - { - // Method begins at RVA 0x2b560 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.FrameworkInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value() - IL_000c: castclass NAnt.Core.FrameworkInfo - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_02d3: nop + IL_02d4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02d9: ldstr "NA1034" + IL_02de: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02e3: ldloc.1 + IL_02e4: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_02e9: ldarg.0 + IL_02ea: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_02ef: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_02f4: ldloc.s 9 + IL_02f6: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_02fb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0300: stloc.s 10 + IL_0302: ldloc.s 9 + IL_0304: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_0309: brfalse IL_031d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkInfoDictionaryEnumerator::get_Value + IL_030e: nop + IL_030f: ldloc.s 10 + IL_0311: ldarg.0 + IL_0312: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0317: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_031c: throw + IL_031d: nop + IL_031e: ldarg.0 + IL_031f: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0324: ldc.i4 4000 + IL_0329: ldarg.0 + IL_032a: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_032f: callvirt instance string object::ToString() + IL_0334: ldstr " " + IL_0339: ldloc.s 10 + IL_033b: call string string::Concat(string, string, string) + IL_0340: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_0345: nop + IL_0346: nop + IL_0347: ldarg.0 + IL_0348: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_034d: ldloc.s 8 + IL_034f: ldc.i4.0 + IL_0350: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) + IL_0355: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_035a: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) + IL_035f: ldloc.1 + IL_0360: callvirt instance string class NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName() + IL_0365: stloc.s 11 + IL_0367: ldloc.s 11 + IL_0369: brtrue IL_03a1 - // method line 2218 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed - { - // Method begins at RVA 0x2b588 - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Value() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_036e: nop + IL_036f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0374: ldstr "NA1026" + IL_0379: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_037e: ldloc.3 + IL_037f: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0384: ldloc.1 + IL_0385: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_038a: ldarg.0 + IL_038b: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_0390: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0395: ldarg.0 + IL_0396: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_039b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_03a0: throw + IL_03a1: ldloc.s 8 + IL_03a3: ldc.i4.0 + IL_03a4: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) + IL_03a9: ldstr "nant:" + IL_03ae: ldloc.s 11 + IL_03b0: call string string::Concat(string, string) + IL_03b5: ldarg.0 + IL_03b6: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_03bb: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_03c0: stloc.s 8 + IL_03c2: ldloc.s 8 + IL_03c4: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_03c9: brtrue IL_0402 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value + IL_03ce: ldloc.1 + IL_03cf: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_03d4: brfalse IL_0402 - // method line 2219 - .method public final virtual hidebysig newslot specialname - instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed - { - // Method begins at RVA 0x2b5a4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.Collections.DictionaryEntry V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance valuetype [mscorlib]System.Collections.DictionaryEntry class [mscorlib]System.Collections.IDictionaryEnumerator::get_Entry() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_03d9: nop + IL_03da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03df: ldstr "NA1021" + IL_03e4: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03e9: ldloc.s 11 + IL_03eb: ldloc.1 + IL_03ec: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_03f1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_03f6: ldarg.0 + IL_03f7: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_03fc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0401: throw + IL_0402: nop + IL_0403: br IL_0442 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionaryEnumerator::get_Entry + IL_0408: ldloc.s 8 + IL_040a: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_040f: ldc.i4.1 + IL_0410: ble IL_0442 - // method line 2220 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - // Method begins at RVA 0x2b5c4 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method FrameworkInfoDictionaryEnumerator::Reset + IL_0415: nop + IL_0416: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_041b: ldstr "NA1030" + IL_0420: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0425: ldloc.1 + IL_0426: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_042b: ldarg.0 + IL_042c: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_0431: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0436: ldarg.0 + IL_0437: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_043c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0441: throw + IL_0442: nop + IL_0443: br IL_0568 - // method line 2221 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x2b5d4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0448: nop + IL_0449: ldarg.0 + IL_044a: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_044f: ldstr "nant:" + IL_0454: ldloc.0 + IL_0455: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_045a: call string string::Concat(string, string) + IL_045f: ldarg.0 + IL_0460: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_0465: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_046a: stloc.s 8 + IL_046c: ldloc.s 8 + IL_046e: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0473: ldc.i4.0 + IL_0474: ble IL_052a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionaryEnumerator::MoveNext + IL_0479: nop + IL_047a: ldarg.1 + IL_047b: ldtoken [mscorlib]System.ObsoleteAttribute + IL_0480: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0485: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) + IL_048a: castclass [mscorlib]System.ObsoleteAttribute + IL_048f: stloc.s 12 + IL_0491: ldloc.s 12 + IL_0493: brfalse IL_050c - // method line 2222 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x2b5f4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0498: nop + IL_0499: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_049e: ldstr "NA1034" + IL_04a3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_04a8: ldloc.0 + IL_04a9: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_04ae: ldarg.0 + IL_04af: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_04b4: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_04b9: ldloc.s 12 + IL_04bb: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_04c0: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_04c5: stloc.s 13 + IL_04c7: ldloc.s 12 + IL_04c9: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_04ce: brfalse IL_04e2 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IEnumerator.get_Current + IL_04d3: nop + IL_04d4: ldloc.s 13 + IL_04d6: ldarg.0 + IL_04d7: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_04dc: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_04e1: throw + IL_04e2: nop + IL_04e3: ldarg.0 + IL_04e4: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_04e9: ldc.i4 4000 + IL_04ee: ldarg.0 + IL_04ef: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_04f4: callvirt instance string object::ToString() + IL_04f9: ldstr " " + IL_04fe: ldloc.s 13 + IL_0500: call string string::Concat(string, string, string) + IL_0505: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) + IL_050a: nop + IL_050b: nop + IL_050c: ldarg.0 + IL_050d: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_0512: ldloc.s 8 + IL_0514: ldc.i4.0 + IL_0515: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) + IL_051a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_051f: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) + IL_0524: nop + IL_0525: br IL_0567 - // method line 2223 - .method public hidebysig specialname - instance default class NAnt.Core.FrameworkInfo get_Current () cil managed - { - // Method begins at RVA 0x2b614 - // Code size 38 (0x26) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.Collections.DictionaryEntry V_0, - class NAnt.Core.FrameworkInfo V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.Core.FrameworkInfoDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0011: stloc.0 - IL_0012: ldloca.s 0 - IL_0014: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0019: castclass NAnt.Core.FrameworkInfo - IL_001e: stloc.1 - IL_001f: br IL_0024 + IL_052a: ldloc.0 + IL_052b: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_0530: brfalse IL_0567 - IL_0024: ldloc.1 - IL_0025: ret - } // end of method FrameworkInfoDictionaryEnumerator::get_Current + IL_0535: nop + IL_0536: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_053b: ldstr "NA1035" + IL_0540: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0545: ldloc.0 + IL_0546: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_054b: ldarg.0 + IL_054c: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0551: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0556: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_055b: ldarg.0 + IL_055c: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0561: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0566: throw + IL_0567: nop + IL_0568: ldloc.0 + IL_0569: brfalse IL_0588 - .property instance object System.Collections.IDictionaryEnumerator.Key () - { - .get instance default object NAnt.Core.FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key () - } - .property instance object System.Collections.IDictionaryEnumerator.Value () - { - .get instance default object NAnt.Core.FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.FrameworkInfoDictionaryEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance string Key () - { - .get instance default string NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Key () - } - .property instance class NAnt.Core.FrameworkInfo Value () - { - .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Value () - } - .property instance valuetype [mscorlib]System.Collections.DictionaryEntry Entry () - { - .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Entry () - } - .property instance class NAnt.Core.FrameworkInfo Current () - { - .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Current () - } - } // end of class NAnt.Core.FrameworkInfoDictionaryEnumerator -} + IL_056e: nop + IL_056f: ldloc.0 + IL_0570: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() + IL_0575: brtrue IL_0582 -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit TaskContainer - extends NAnt.Core.Task - { - .field private class [System]System.Collections.Specialized.StringCollection _subXMLElements + IL_057a: nop + IL_057b: ldc.i4.1 + IL_057c: stloc.2 + IL_057d: br IL_0922 - // method line 2224 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x10e14 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method TaskContainer::.ctor + IL_0582: nop + IL_0583: br IL_059b - // method line 2225 - .method family virtual hidebysig specialname - instance default bool get_CustomXmlProcessing () cil managed - { - // Method begins at RVA 0x10e1c - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0588: ldloc.1 + IL_0589: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() + IL_058e: brtrue IL_059b - IL_0008: ldloc.0 - IL_0009: ret - } // end of method TaskContainer::get_CustomXmlProcessing + IL_0593: nop + IL_0594: ldc.i4.1 + IL_0595: stloc.2 + IL_0596: br IL_0922 - // method line 2226 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x10e34 - // Code size 141 (0x8d) - .maxstack 3 - .locals init ( - class [mscorlib]System.Reflection.MemberInfo V_0, - class [mscorlib]System.Reflection.MemberInfo[] V_1, - int32 V_2, - class NAnt.Core.Attributes.BuildElementAttribute V_3) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.Task::Initialize() - IL_0007: ldarg.0 - IL_0008: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_000d: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class [mscorlib]System.Type object::GetType() - IL_0019: ldc.i4.s 0x14 - IL_001b: callvirt instance class [mscorlib]System.Reflection.MemberInfo[] class [mscorlib]System.Type::GetMembers(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0020: stloc.1 - IL_0021: ldc.i4.0 - IL_0022: stloc.2 - IL_0023: br IL_0083 + IL_059b: ldloc.3 + IL_059c: ldloc.s 8 + IL_059e: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_05a3: call class [mscorlib]System.Array class [mscorlib]System.Array::CreateInstance(class [mscorlib]System.Type, int32) + IL_05a8: stloc.s 14 + IL_05aa: ldc.i4.0 + IL_05ab: stloc.s 15 + IL_05ad: nop + IL_05ae: ldloc.s 8 + IL_05b0: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_05b5: stloc.s 17 + .try { // 0 + IL_05b7: br IL_063e - IL_0028: ldloc.1 - IL_0029: ldloc.2 - IL_002a: ldelem.ref - IL_002b: stloc.0 - IL_002c: nop - IL_002d: ldloc.0 - IL_002e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_0033: ldtoken [mscorlib]System.Object - IL_0038: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_003d: callvirt instance bool class [mscorlib]System.Type::Equals(class [mscorlib]System.Type) - IL_0042: brfalse IL_004d + IL_05bc: ldloc.s 17 + IL_05be: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_05c3: castclass [System.Xml]System.Xml.XmlNode + IL_05c8: stloc.s 16 + IL_05ca: nop + IL_05cb: ldloc.s 16 + IL_05cd: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_05d2: ldc.i4.1 + IL_05d3: bne.un IL_05f9 - IL_0047: nop - IL_0048: br IL_007f + IL_05d8: ldloc.s 16 + IL_05da: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_05df: ldarg.0 + IL_05e0: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_05e5: ldstr "nant" + IL_05ea: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_05ef: callvirt instance bool string::Equals(string) + IL_05f4: brtrue IL_05ff - IL_004d: ldloc.0 - IL_004e: ldtoken NAnt.Core.Attributes.BuildElementAttribute - IL_0053: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0058: ldc.i4.1 - IL_0059: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) - IL_005e: castclass NAnt.Core.Attributes.BuildElementAttribute - IL_0063: stloc.3 - IL_0064: ldloc.3 - IL_0065: brfalse IL_007e + IL_05f9: nop + IL_05fa: leave IL_063e - IL_006a: nop - IL_006b: ldarg.0 - IL_006c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_0071: ldloc.3 - IL_0072: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() - IL_0077: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_007c: pop - IL_007d: nop - IL_007e: nop - IL_007f: ldloc.2 - IL_0080: ldc.i4.1 - IL_0081: add - IL_0082: stloc.2 - IL_0083: ldloc.2 - IL_0084: ldloc.1 - IL_0085: ldlen - IL_0086: conv.i4 - IL_0087: blt IL_0028 + IL_05ff: ldarg.0 + IL_0600: ldloc.s 16 + IL_0602: ldloc.3 + IL_0603: callvirt instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElement(class [System.Xml]System.Xml.XmlNode, class [mscorlib]System.Type) + IL_0608: stloc.s 18 + IL_060a: ldloc.s 18 + IL_060c: isinst NAnt.Core.Configuration.ConditionalElement + IL_0611: stloc.s 19 + IL_0613: ldloc.s 19 + IL_0615: brfalse IL_062c - IL_008c: ret - } // end of method TaskContainer::Initialize + IL_061a: ldloc.s 19 + IL_061c: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_Enabled() + IL_0621: brtrue IL_062c - // method line 2227 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x10ecd - // Code size 8 (0x8) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance void class NAnt.Core.TaskContainer::ExecuteChildTasks() - IL_0007: ret - } // end of method TaskContainer::ExecuteTask + IL_0626: nop + IL_0627: leave IL_063e - // method line 2228 - .method family virtual hidebysig newslot - instance default void ExecuteChildTasks () cil managed - { - // Method begins at RVA 0x10ed8 - // Code size 400 (0x190) - .maxstack 7 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Task V_2, - class NAnt.Core.DataTypeBase V_3, - class [mscorlib]System.IDisposable V_4) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() - IL_0008: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_0169 + IL_062c: ldloc.s 14 + IL_062e: ldloc.s 18 + IL_0630: ldloc.s 15 + IL_0632: callvirt instance void class [mscorlib]System.Array::SetValue(object, int32) + IL_0637: ldloc.s 15 + IL_0639: ldc.i4.1 + IL_063a: add + IL_063b: stloc.s 15 + IL_063d: nop + IL_063e: ldloc.s 17 + IL_0640: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0645: brtrue IL_05bc - IL_0013: ldloc.1 - IL_0014: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0019: castclass [System.Xml]System.Xml.XmlNode - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldloc.0 - IL_0021: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_0026: ldc.i4.1 - IL_0027: bne.un IL_004c + IL_064a: leave IL_0666 - IL_002c: ldloc.0 - IL_002d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_0032: ldarg.0 - IL_0033: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_0038: ldstr "nant" - IL_003d: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_0042: callvirt instance bool string::Equals(string) - IL_0047: brtrue IL_0052 + } // end .try 0 + finally { // 0 + IL_064f: ldloc.s 17 + IL_0651: isinst [mscorlib]System.IDisposable + IL_0656: dup + IL_0657: stloc.s 20 + IL_0659: brfalse IL_0665 - IL_004c: nop - IL_004d: leave IL_0169 + IL_065e: ldloc.s 20 + IL_0660: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0665: endfinally + } // end handler 0 + IL_0666: ldarg.1 + IL_0667: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_066c: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_0671: brfalse IL_073e - IL_0052: ldarg.0 - IL_0053: ldloc.0 - IL_0054: callvirt instance bool class NAnt.Core.TaskContainer::IsPrivateXmlElement(class [System.Xml]System.Xml.XmlNode) - IL_0059: brfalse IL_0064 + IL_0676: nop + .try { // 1 + IL_0677: nop + IL_0678: ldloc.s 15 + IL_067a: ldloc.s 14 + IL_067c: callvirt instance int32 class [mscorlib]System.Array::get_Length() + IL_0681: beq IL_06b3 - IL_005e: nop - IL_005f: leave IL_0169 + IL_0686: nop + IL_0687: ldloc.3 + IL_0688: ldloc.s 15 + IL_068a: call class [mscorlib]System.Array class [mscorlib]System.Array::CreateInstance(class [mscorlib]System.Type, int32) + IL_068f: stloc.s 21 + IL_0691: ldloc.s 14 + IL_0693: ldc.i4.0 + IL_0694: ldloc.s 21 + IL_0696: ldc.i4.0 + IL_0697: ldloc.s 15 + IL_0699: call void class [mscorlib]System.Array::Copy(class [mscorlib]System.Array, int32, class [mscorlib]System.Array, int32, int32) + IL_069e: ldarg.1 + IL_069f: ldarg.0 + IL_06a0: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_06a5: ldloc.s 21 + IL_06a7: ldnull + IL_06a8: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, object[]) + IL_06ad: nop + IL_06ae: br IL_06c4 - IL_0064: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0069: ldloc.0 - IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_006f: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) - IL_0074: brfalse IL_009d + IL_06b3: nop + IL_06b4: ldarg.1 + IL_06b5: ldarg.0 + IL_06b6: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_06bb: ldloc.s 14 + IL_06bd: ldnull + IL_06be: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, object[]) + IL_06c3: nop + IL_06c4: nop + IL_06c5: leave IL_0738 - IL_0079: nop - IL_007a: ldarg.0 - IL_007b: ldloc.0 - IL_007c: callvirt instance class NAnt.Core.Task class NAnt.Core.TaskContainer::CreateChildTask(class [System.Xml]System.Xml.XmlNode) - IL_0081: stloc.2 - IL_0082: ldloc.2 - IL_0083: brfalse IL_0097 + } // end .try 1 + catch class [mscorlib]System.Reflection.TargetInvocationException { // 1 + IL_06ca: stloc.s 22 + IL_06cc: nop + IL_06cd: ldloc.s 22 + IL_06cf: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_06d4: isinst NAnt.Core.BuildException + IL_06d9: brfalse IL_06e7 - IL_0088: nop - IL_0089: ldloc.2 - IL_008a: ldarg.0 - IL_008b: callvirt instance void class NAnt.Core.Element::set_Parent(object) - IL_0090: ldloc.2 - IL_0091: callvirt instance void class NAnt.Core.Task::Execute() - IL_0096: nop - IL_0097: nop - IL_0098: br IL_0168 + IL_06de: nop + IL_06df: ldloc.s 22 + IL_06e1: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_06e6: throw + IL_06e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_06ec: ldstr "NA1012" + IL_06f1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_06f6: ldc.i4.4 + IL_06f7: newarr [mscorlib]System.Object + IL_06fc: dup + IL_06fd: ldc.i4.0 + IL_06fe: ldloc.3 + IL_06ff: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0704: stelem.ref + IL_0705: dup + IL_0706: ldc.i4.1 + IL_0707: ldarg.1 + IL_0708: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_070d: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0712: stelem.ref + IL_0713: dup + IL_0714: ldc.i4.2 + IL_0715: ldarg.1 + IL_0716: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_071b: stelem.ref + IL_071c: dup + IL_071d: ldc.i4.3 + IL_071e: ldarg.0 + IL_071f: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_0724: stelem.ref + IL_0725: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_072a: ldarg.0 + IL_072b: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_0730: ldloc.s 22 + IL_0732: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0737: throw + } // end handler 1 + IL_0738: nop + IL_0739: br IL_091b - IL_009d: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_00a2: ldloc.0 - IL_00a3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00a8: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) - IL_00ad: brfalse IL_013b + IL_073e: nop + IL_073f: ldnull + IL_0740: stloc.s 23 + IL_0742: ldarg.1 + IL_0743: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0748: ldc.i4.s 0x14 + IL_074a: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_074f: stloc.s 24 + IL_0751: nop + IL_0752: ldloc.s 24 + IL_0754: stloc.s 26 + IL_0756: ldc.i4.0 + IL_0757: stloc.s 27 + IL_0759: br IL_07bb - IL_00b2: nop - IL_00b3: ldarg.0 - IL_00b4: ldloc.0 - IL_00b5: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.TaskContainer::CreateChildDataTypeBase(class [System.Xml]System.Xml.XmlNode) - IL_00ba: stloc.3 - IL_00bb: ldarg.0 - IL_00bc: ldc.i4 1000 - IL_00c1: ldstr "Adding a {0} reference with id '{1}'." - IL_00c6: ldc.i4.2 - IL_00c7: newarr [mscorlib]System.Object - IL_00cc: dup - IL_00cd: ldc.i4.0 - IL_00ce: ldloc.0 - IL_00cf: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00d4: stelem.ref - IL_00d5: dup - IL_00d6: ldc.i4.1 - IL_00d7: ldloc.3 - IL_00d8: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_00dd: stelem.ref - IL_00de: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00e3: ldarg.0 - IL_00e4: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00e9: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_00ee: ldloc.3 - IL_00ef: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_00f4: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) - IL_00f9: brtrue IL_011c + IL_075e: ldloc.s 26 + IL_0760: ldloc.s 27 + IL_0762: ldelem.ref + IL_0763: stloc.s 25 + IL_0765: nop + IL_0766: ldloc.s 25 + IL_0768: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_076d: ldstr "Add" + IL_0772: call bool string::op_Equality(string, string) + IL_0777: brfalse IL_07b4 - IL_00fe: nop - IL_00ff: ldarg.0 - IL_0100: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0105: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_010a: ldloc.3 - IL_010b: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_0110: ldloc.3 - IL_0111: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) - IL_0116: nop - IL_0117: br IL_0135 + IL_077c: ldloc.s 25 + IL_077e: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0783: ldlen + IL_0784: conv.i4 + IL_0785: ldc.i4.1 + IL_0786: bne.un IL_07b4 - IL_011c: nop - IL_011d: ldarg.0 - IL_011e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0123: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_0128: ldloc.3 - IL_0129: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_012e: ldloc.3 - IL_012f: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) - IL_0134: nop - IL_0135: nop - IL_0136: br IL_0168 + IL_078b: nop + IL_078c: ldloc.s 25 + IL_078e: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0793: ldc.i4.0 + IL_0794: ldelem.ref + IL_0795: stloc.s 28 + IL_0797: ldloc.s 28 + IL_0799: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_079e: ldloc.3 + IL_079f: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_07a4: brfalse IL_07b3 - IL_013b: nop - IL_013c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0141: ldstr "NA1071" - IL_0146: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_014b: ldloc.0 - IL_014c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0151: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0156: ldarg.0 - IL_0157: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_015c: ldloc.0 - IL_015d: callvirt instance class NAnt.Core.Location class NAnt.Core.Project::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_0162: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0167: throw - IL_0168: nop - IL_0169: ldloc.1 - IL_016a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_016f: brtrue IL_0013 + IL_07a9: nop + IL_07aa: ldloc.s 25 + IL_07ac: stloc.s 23 + IL_07ae: br IL_07c6 - IL_0174: leave IL_018f + IL_07b3: nop + IL_07b4: nop + IL_07b5: ldloc.s 27 + IL_07b7: ldc.i4.1 + IL_07b8: add + IL_07b9: stloc.s 27 + IL_07bb: ldloc.s 27 + IL_07bd: ldloc.s 26 + IL_07bf: ldlen + IL_07c0: conv.i4 + IL_07c1: blt IL_075e - } // end .try 0 - finally { // 0 - IL_0179: ldloc.1 - IL_017a: isinst [mscorlib]System.IDisposable - IL_017f: dup - IL_0180: stloc.s 4 - IL_0182: brfalse IL_018e + IL_07c6: ldloc.s 23 + IL_07c8: ldnull + IL_07c9: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_07ce: brfalse IL_0823 - IL_0187: ldloc.s 4 - IL_0189: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_018e: endfinally - } // end handler 0 - IL_018f: ret - } // end of method TaskContainer::ExecuteChildTasks + IL_07d3: nop + IL_07d4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_07d9: ldstr "NA1020" + IL_07de: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_07e3: ldc.i4.4 + IL_07e4: newarr [mscorlib]System.Object + IL_07e9: dup + IL_07ea: ldc.i4.0 + IL_07eb: ldloc.3 + IL_07ec: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_07f1: stelem.ref + IL_07f2: dup + IL_07f3: ldc.i4.1 + IL_07f4: ldarg.1 + IL_07f5: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_07fa: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_07ff: stelem.ref + IL_0800: dup + IL_0801: ldc.i4.2 + IL_0802: ldarg.1 + IL_0803: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0808: stelem.ref + IL_0809: dup + IL_080a: ldc.i4.3 + IL_080b: ldarg.0 + IL_080c: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_0811: stelem.ref + IL_0812: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0817: ldarg.0 + IL_0818: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_081d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0822: throw + IL_0823: ldarg.1 + IL_0824: ldarg.0 + IL_0825: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_082a: ldc.i4.0 + IL_082b: ldnull + IL_082c: ldnull + IL_082d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0832: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0837: stloc.s 29 + IL_0839: ldloc.s 29 + IL_083b: brtrue IL_08da - // method line 2229 - .method family virtual hidebysig newslot - instance default class NAnt.Core.Task CreateChildTask (class [System.Xml]System.Xml.XmlNode node) cil managed - { - // Method begins at RVA 0x11090 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - class NAnt.Core.Task V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0840: nop + IL_0841: ldarg.1 + IL_0842: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0847: brtrue IL_08ad - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TaskContainer::CreateChildTask + IL_084c: nop + IL_084d: ldloc.0 + IL_084e: brfalse IL_0880 - // method line 2230 - .method family virtual hidebysig newslot - instance default class NAnt.Core.DataTypeBase CreateChildDataTypeBase (class [System.Xml]System.Xml.XmlNode node) cil managed - { - // Method begins at RVA 0x110b4 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - class NAnt.Core.DataTypeBase V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0853: nop + IL_0854: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0859: ldstr "NA1093" + IL_085e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0863: ldloc.0 + IL_0864: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0869: ldarg.0 + IL_086a: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_086f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0874: ldarg.0 + IL_0875: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_087a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_087f: throw + IL_0880: nop + IL_0881: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0886: ldstr "NA1029" + IL_088b: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0890: ldloc.1 + IL_0891: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0896: ldarg.0 + IL_0897: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_089c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_08a1: ldarg.0 + IL_08a2: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_08a7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_08ac: throw + IL_08ad: ldarg.1 + IL_08ae: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_08b3: ldc.i4.s 0x14 + IL_08b5: ldnull + IL_08b6: ldnull + IL_08b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_08bc: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_08c1: stloc.s 30 + IL_08c3: ldarg.1 + IL_08c4: ldarg.0 + IL_08c5: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_08ca: ldloc.s 30 + IL_08cc: ldc.i4.0 + IL_08cd: ldnull + IL_08ce: ldnull + IL_08cf: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_08d4: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_08d9: nop + IL_08da: ldc.i4.0 + IL_08db: stloc.s 31 + IL_08dd: br IL_0911 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method TaskContainer::CreateChildDataTypeBase + IL_08e2: nop + IL_08e3: ldloc.s 14 + IL_08e5: ldloc.s 31 + IL_08e7: callvirt instance object class [mscorlib]System.Array::GetValue(int32) + IL_08ec: stloc.s 32 + IL_08ee: ldloc.s 23 + IL_08f0: ldloc.s 29 + IL_08f2: ldc.i4.0 + IL_08f3: ldnull + IL_08f4: ldc.i4.1 + IL_08f5: newarr [mscorlib]System.Object + IL_08fa: dup + IL_08fb: ldc.i4.0 + IL_08fc: ldloc.s 32 + IL_08fe: stelem.ref + IL_08ff: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0904: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0909: pop + IL_090a: nop + IL_090b: ldloc.s 31 + IL_090d: ldc.i4.1 + IL_090e: add + IL_090f: stloc.s 31 + IL_0911: ldloc.s 31 + IL_0913: ldloc.s 15 + IL_0915: blt IL_08e2 - // method line 2231 + IL_091a: nop + IL_091b: ldc.i4.1 + IL_091c: stloc.2 + IL_091d: br IL_0922 + + IL_0922: ldloc.2 + IL_0923: ret + } // end of method AttributeConfigurator::InitializeBuildElementCollection + + // method line 2265 .method family virtual hidebysig newslot - instance default bool IsPrivateXmlElement (class [System.Xml]System.Xml.XmlNode node) cil managed + instance default bool InitializeChildElement (class [mscorlib]System.Reflection.PropertyInfo propertyInfo, class [mscorlib]System.Reflection.MethodInfo getter, class [mscorlib]System.Reflection.MethodInfo setter) cil managed { - // Method begins at RVA 0x110d8 - // Code size 40 (0x28) - .maxstack 2 + // Method begins at RVA 0x4340 + // Code size 362 (0x16a) + .maxstack 7 .locals init ( - bool V_0) + class NAnt.Core.Attributes.BuildElementAttribute V_0, + bool V_1, + class [System.Xml]System.Xml.XmlNode V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_0007: brfalse IL_001f - - IL_000c: ldarg.0 - IL_000d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_0012: ldarg.1 - IL_0013: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0018: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_001d: br.s IL_0020 + IL_0001: ldarg.1 + IL_0002: ldtoken NAnt.Core.Attributes.BuildElementAttribute + IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000c: ldc.i4.0 + IL_000d: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0012: castclass NAnt.Core.Attributes.BuildElementAttribute + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brtrue IL_0026 + IL_001e: nop IL_001f: ldc.i4.0 - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_0020: stloc.1 + IL_0021: br IL_0168 - IL_0026: ldloc.0 - IL_0027: ret - } // end of method TaskContainer::IsPrivateXmlElement + IL_0026: ldarg.0 + IL_0027: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_002c: callvirt instance class [System.Xml]System.Xml.XmlDocument class [System.Xml]System.Xml.XmlNode::get_OwnerDocument() + IL_0031: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0036: brtrue IL_0054 - // method line 2232 - .method family virtual hidebysig newslot - instance default void AddPrivateXmlElementName (string name) cil managed - { - // Method begins at RVA 0x1110c - // Code size 58 (0x3a) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_0007: brtrue IL_0019 + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0042: ldloc.0 + IL_0043: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0048: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlNode::get_Item(string) + IL_004d: stloc.2 + IL_004e: nop + IL_004f: br IL_007d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0013: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_001f: ldarg.1 - IL_0020: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_0025: brtrue IL_0039 + IL_0054: nop + IL_0055: ldarg.0 + IL_0056: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_005b: ldloc.0 + IL_005c: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0061: ldarg.0 + IL_0062: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0067: callvirt instance class [System.Xml]System.Xml.XmlDocument class [System.Xml]System.Xml.XmlNode::get_OwnerDocument() + IL_006c: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0071: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_0076: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlNode::get_Item(string, string) + IL_007b: stloc.2 + IL_007c: nop + IL_007d: ldloc.2 + IL_007e: brtrue IL_00c0 - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.TaskContainer::_subXMLElements - IL_0031: ldarg.1 - IL_0032: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0037: pop - IL_0038: nop - IL_0039: ret - } // end of method TaskContainer::AddPrivateXmlElementName + IL_0083: ldloc.0 + IL_0084: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_0089: brfalse IL_00c0 - .property instance bool CustomXmlProcessing () - { - .get instance default bool NAnt.Core.TaskContainer::get_CustomXmlProcessing () - } - } // end of class NAnt.Core.TaskContainer -} + IL_008e: nop + IL_008f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0094: ldstr "NA1013" + IL_0099: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009e: ldloc.0 + IL_009f: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_00a4: ldarg.0 + IL_00a5: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_00aa: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00af: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00b4: ldarg.0 + IL_00b5: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_00ba: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00bf: throw + IL_00c0: ldloc.2 + IL_00c1: brfalse IL_0161 -.namespace NAnt.Core -{ - .class public auto ansi abstract serializable beforefieldinit DataTypeBase - extends NAnt.Core.Element - { - .field private string _id - .field private string _refID + IL_00c6: nop + IL_00c7: ldarg.0 + IL_00c8: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_00cd: ldloc.2 + IL_00ce: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00d3: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) + IL_00d8: ldloc.0 + IL_00d9: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() + IL_00de: brtrue IL_00eb - // method line 2233 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x521c - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method DataTypeBase::.ctor + IL_00e3: nop + IL_00e4: ldc.i4.1 + IL_00e5: stloc.1 + IL_00e6: br IL_0168 - // method line 2234 - .method public hidebysig specialname - instance default string get_ID () cil managed - { - // Method begins at RVA 0x5224 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.DataTypeBase::_id - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00eb: ldarg.0 + IL_00ec: ldarg.1 + IL_00ed: ldarg.2 + IL_00ee: ldarg.3 + IL_00ef: ldloc.2 + IL_00f0: ldarg.0 + IL_00f1: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Element/AttributeConfigurator::get_Properties() + IL_00f6: ldarg.0 + IL_00f7: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Element/AttributeConfigurator::get_TargetFramework() + IL_00fc: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::CreateChildBuildElement(class [mscorlib]System.Reflection.PropertyInfo, class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0101: pop + IL_0102: ldarg.0 + IL_0103: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0108: ldstr "nant:" + IL_010d: ldloc.0 + IL_010e: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0113: call string string::Concat(string, string) + IL_0118: ldarg.0 + IL_0119: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager() + IL_011e: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0123: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0128: ldc.i4.1 + IL_0129: ble IL_0160 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBase::get_ID + IL_012e: nop + IL_012f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0134: ldstr "NA1186" + IL_0139: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_013e: ldarg.0 + IL_013f: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_0144: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0149: ldloc.0 + IL_014a: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_014f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0154: ldarg.0 + IL_0155: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_015a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_015f: throw + IL_0160: nop + IL_0161: ldc.i4.1 + IL_0162: stloc.1 + IL_0163: br IL_0168 - // method line 2235 - .method public hidebysig specialname - instance default void set_ID (string 'value') cil managed + IL_0168: ldloc.1 + IL_0169: ret + } // end of method AttributeConfigurator::InitializeChildElement + + // method line 2266 + .method family virtual hidebysig newslot + instance default void InitializeOrderedChildElements () cil managed { - // Method begins at RVA 0x523f - // Code size 14 (0xe) + // Method begins at RVA 0x44b8 + // Code size 741 (0x2e5) .maxstack 8 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0, + class [mscorlib]System.Collections.Hashtable V_1, + class [mscorlib]System.Reflection.MethodInfo[] V_2, + class [mscorlib]System.Reflection.MethodInfo V_3, + class [mscorlib]System.Reflection.MethodInfo[] V_4, + int32 V_5, + class [mscorlib]System.Reflection.ParameterInfo[] V_6, + object[] V_7, + class NAnt.Core.Attributes.BuildElementAttribute V_8, + class [System]System.Collections.Specialized.StringCollection V_9, + class [System.Xml]System.Xml.XmlNode V_10, + class [mscorlib]System.Collections.IEnumerator V_11, + string V_12, + class [mscorlib]System.Reflection.MethodInfo V_13, + class NAnt.Core.Attributes.BuildElementAttribute V_14, + class [mscorlib]System.Type V_15, + class NAnt.Core.Element V_16, + class [mscorlib]System.Reflection.TargetInvocationException V_17, + class [mscorlib]System.IDisposable V_18, + string V_19, + class [System]System.Collections.Specialized.StringEnumerator V_20, + class [mscorlib]System.IDisposable V_21, + valuetype [mscorlib]System.Collections.DictionaryEntry V_22, + class [mscorlib]System.Collections.IDictionaryEnumerator V_23, + class [mscorlib]System.IDisposable V_24) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.DataTypeBase::_id - IL_000d: ret - } // end of method DataTypeBase::set_ID + IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0006: stloc.0 + IL_0007: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_000c: stloc.1 + IL_000d: ldarg.0 + IL_000e: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0013: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0018: ldc.i4.s 0x14 + IL_001a: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_001f: stloc.2 + IL_0020: nop + IL_0021: ldloc.2 + IL_0022: stloc.s 4 + IL_0024: ldc.i4.0 + IL_0025: stloc.s 5 + IL_0027: br IL_00a9 - // method line 2236 - .method public hidebysig specialname - instance default string get_RefID () cil managed - { - // Method begins at RVA 0x5250 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.DataTypeBase::_refID - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_002c: ldloc.s 4 + IL_002e: ldloc.s 5 + IL_0030: ldelem.ref + IL_0031: stloc.3 + IL_0032: nop + IL_0033: ldloc.3 + IL_0034: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0039: stloc.s 6 + IL_003b: ldloc.s 6 + IL_003d: ldlen + IL_003e: conv.i4 + IL_003f: ldc.i4.1 + IL_0040: beq IL_004b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBase::get_RefID + IL_0045: nop + IL_0046: br IL_00a3 - // method line 2237 - .method public hidebysig specialname - instance default void set_RefID (string 'value') cil managed - { - // Method begins at RVA 0x526b - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.DataTypeBase::_refID - IL_000d: ret - } // end of method DataTypeBase::set_RefID + IL_004b: ldloc.3 + IL_004c: ldtoken NAnt.Core.Attributes.BuildElementAttribute + IL_0051: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0056: ldc.i4.1 + IL_0057: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_005c: stloc.s 7 + IL_005e: ldloc.s 7 + IL_0060: ldlen + IL_0061: conv.i4 + IL_0062: brtrue IL_006d - // method line 2238 - .method public hidebysig specialname - instance default bool get_CanBeReferenced () cil managed - { - // Method begins at RVA 0x527c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0007: ldnull - IL_0008: ceq - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0067: nop + IL_0068: br IL_00a3 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBase::get_CanBeReferenced + IL_006d: ldloc.s 7 + IL_006f: ldc.i4.0 + IL_0070: ldelem.ref + IL_0071: castclass NAnt.Core.Attributes.BuildElementAttribute + IL_0076: stloc.s 8 + IL_0078: ldloc.0 + IL_0079: ldloc.s 8 + IL_007b: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_0080: ldloc.3 + IL_0081: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0086: ldloc.s 8 + IL_0088: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_008d: brfalse IL_00a2 - // method line 2239 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x52a0 - // Code size 54 (0x36) - .maxstack 2 - .locals init ( - string V_0, - class NAnt.Core.Attributes.ElementNameAttribute V_1, - string V_2) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance class [mscorlib]System.Type object::GetType() - IL_0009: ldtoken NAnt.Core.Attributes.ElementNameAttribute - IL_000e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0013: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0018: castclass NAnt.Core.Attributes.ElementNameAttribute - IL_001d: stloc.1 - IL_001e: ldloc.1 - IL_001f: brfalse IL_002d + IL_0092: nop + IL_0093: ldloc.1 + IL_0094: ldloc.s 8 + IL_0096: callvirt instance string class NAnt.Core.Attributes.BuildElementAttribute::get_Name() + IL_009b: ldloc.3 + IL_009c: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_00a1: nop + IL_00a2: nop + IL_00a3: ldloc.s 5 + IL_00a5: ldc.i4.1 + IL_00a6: add + IL_00a7: stloc.s 5 + IL_00a9: ldloc.s 5 + IL_00ab: ldloc.s 4 + IL_00ad: ldlen + IL_00ae: conv.i4 + IL_00af: blt IL_002c - IL_0024: nop - IL_0025: ldloc.1 - IL_0026: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_002b: stloc.0 - IL_002c: nop - IL_002d: ldloc.0 - IL_002e: stloc.2 - IL_002f: br IL_0034 + IL_00b4: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_00b9: stloc.s 9 + IL_00bb: nop + IL_00bc: ldarg.0 + IL_00bd: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_00c2: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() + IL_00c7: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_00cc: stloc.s 11 + .try { // 1 + IL_00ce: br IL_01e3 - IL_0034: ldloc.2 - IL_0035: ret - } // end of method DataTypeBase::get_Name + IL_00d3: ldloc.s 11 + IL_00d5: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00da: castclass [System.Xml]System.Xml.XmlNode + IL_00df: stloc.s 10 + IL_00e1: nop + IL_00e2: ldloc.s 10 + IL_00e4: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00e9: stloc.s 12 + IL_00eb: ldarg.0 + IL_00ec: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_00f1: ldloc.s 12 + IL_00f3: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_00f8: brtrue IL_0103 - // method line 2240 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x52e4 - // Code size 281 (0x119) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance object class NAnt.Core.Element::get_Parent() - IL_0007: brtrue IL_0022 + IL_00fd: nop + IL_00fe: leave IL_01e3 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldc.i4 4000 - IL_0013: ldstr "Parent property should be set on types deriving from DataTypeBase to determine whether the type is declared on a valid level." - IL_0018: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_001d: br IL_0118 + IL_0103: ldloc.0 + IL_0104: ldloc.s 12 + IL_0106: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_010b: castclass [mscorlib]System.Reflection.MethodInfo + IL_0110: stloc.s 13 + IL_0112: ldloc.s 13 + IL_0114: ldnull + IL_0115: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_011a: brfalse IL_0125 - IL_0022: ldarg.0 - IL_0023: call instance object class NAnt.Core.Element::get_Parent() - IL_0028: callvirt instance class [mscorlib]System.Type object::GetType() - IL_002d: ldtoken NAnt.Core.Project - IL_0032: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0037: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_003c: brtrue IL_0060 + IL_011f: nop + IL_0120: leave IL_01e3 - IL_0041: ldarg.0 - IL_0042: call instance object class NAnt.Core.Element::get_Parent() - IL_0047: callvirt instance class [mscorlib]System.Type object::GetType() - IL_004c: ldtoken NAnt.Core.Target - 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_00d5 + IL_0125: ldloc.s 9 + IL_0127: ldloc.s 12 + IL_0129: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_012e: brtrue IL_013f - IL_0060: nop - IL_0061: ldarg.0 - IL_0062: call instance string class NAnt.Core.DataTypeBase::get_ID() - IL_0067: call bool string::IsNullOrEmpty(string) - IL_006c: brfalse IL_0098 + IL_0133: nop + IL_0134: ldloc.s 9 + IL_0136: ldloc.s 12 + IL_0138: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_013d: pop + IL_013e: nop + IL_013f: ldloc.1 + IL_0140: ldloc.s 12 + IL_0142: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0147: brfalse IL_0156 - IL_0071: nop - IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0077: ldstr "NA1010" - IL_007c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0081: ldarg.0 - IL_0082: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0087: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_008c: ldarg.0 - IL_008d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0092: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0097: throw - IL_0098: ldarg.0 - IL_0099: call instance string class NAnt.Core.DataTypeBase::get_RefID() - IL_009e: call bool string::IsNullOrEmpty(string) - IL_00a3: brtrue IL_00cf + IL_014c: nop + IL_014d: ldloc.1 + IL_014e: ldloc.s 12 + IL_0150: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_0155: nop + IL_0156: ldloc.s 13 + IL_0158: ldtoken NAnt.Core.Attributes.BuildElementAttribute + IL_015d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0162: ldc.i4.0 + IL_0163: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type, bool) + IL_0168: castclass NAnt.Core.Attributes.BuildElementAttribute + IL_016d: stloc.s 14 + IL_016f: ldloc.s 14 + IL_0171: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() + IL_0176: brtrue IL_0181 - IL_00a8: nop - IL_00a9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ae: ldstr "NA1009" - IL_00b3: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00b8: ldarg.0 - IL_00b9: callvirt instance string class NAnt.Core.Element::get_Name() - IL_00be: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00c3: ldarg.0 - IL_00c4: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00c9: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00ce: throw - IL_00cf: nop - IL_00d0: br IL_0118 + IL_017b: nop + IL_017c: leave IL_01e3 - IL_00d5: nop - IL_00d6: ldarg.0 - IL_00d7: call instance string class NAnt.Core.DataTypeBase::get_ID() - IL_00dc: call bool string::IsNullOrEmpty(string) - IL_00e1: brtrue IL_0117 + IL_0181: ldloc.s 13 + IL_0183: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0188: ldc.i4.0 + IL_0189: ldelem.ref + IL_018a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_018f: stloc.s 15 + IL_0191: ldarg.0 + IL_0192: ldloc.s 10 + IL_0194: ldloc.s 15 + IL_0196: callvirt instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::InitializeBuildElement(class [System.Xml]System.Xml.XmlNode, class [mscorlib]System.Type) + IL_019b: stloc.s 16 + .try { // 0 + IL_019d: nop + IL_019e: ldloc.s 13 + IL_01a0: ldarg.0 + IL_01a1: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_01a6: ldc.i4 256 + IL_01ab: ldnull + IL_01ac: ldc.i4.1 + IL_01ad: newarr [mscorlib]System.Object + IL_01b2: dup + IL_01b3: ldc.i4.0 + IL_01b4: ldloc.s 16 + IL_01b6: stelem.ref + IL_01b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01bc: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_01c1: pop + IL_01c2: nop + IL_01c3: leave IL_01e2 - IL_00e6: nop - IL_00e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ec: ldstr "NA1008" - IL_00f1: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f6: ldstr " can only be declared at Project or Target level." - IL_00fb: call string string::Concat(string, string) - IL_0100: ldarg.0 - IL_0101: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0106: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_010b: ldarg.0 - IL_010c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0111: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0116: throw - IL_0117: nop - IL_0118: ret - } // end of method DataTypeBase::Initialize + } // end .try 0 + catch class [mscorlib]System.Reflection.TargetInvocationException { // 0 + IL_01c8: stloc.s 17 + IL_01ca: nop + IL_01cb: ldloc.s 17 + IL_01cd: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_01d2: brfalse IL_01e0 - // method line 2241 - .method public virtual hidebysig newslot - instance default void Reset () cil managed - { - // Method begins at RVA 0x5409 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method DataTypeBase::Reset + IL_01d7: nop + IL_01d8: ldloc.s 17 + IL_01da: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_01df: throw + IL_01e0: rethrow + } // end handler 0 + IL_01e2: nop + IL_01e3: ldloc.s 11 + IL_01e5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01ea: brtrue IL_00d3 - // method line 2242 - .method family hidebysig - instance default void CopyTo (class NAnt.Core.DataTypeBase clone) cil managed - { - // Method begins at RVA 0x540c - // Code size 33 (0x21) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Element::CopyTo(class NAnt.Core.Element) - IL_0008: ldarg.1 - IL_0009: ldarg.0 - IL_000a: ldfld string NAnt.Core.DataTypeBase::_id - IL_000f: stfld string NAnt.Core.DataTypeBase::_id - IL_0014: ldarg.1 - IL_0015: ldarg.0 - IL_0016: ldfld string NAnt.Core.DataTypeBase::_refID - IL_001b: stfld string NAnt.Core.DataTypeBase::_refID - IL_0020: ret - } // end of method DataTypeBase::CopyTo + IL_01ef: leave IL_020b - .property instance string ID () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 64 00 00 ) // ...id.. + } // end .try 1 + finally { // 1 + IL_01f4: ldloc.s 11 + IL_01f6: isinst [mscorlib]System.IDisposable + IL_01fb: dup + IL_01fc: stloc.s 18 + IL_01fe: brfalse IL_020a - .get instance default string NAnt.Core.DataTypeBase::get_ID () - .set instance default void NAnt.Core.DataTypeBase::set_ID (string 'value') - } - .property instance string RefID () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 72 65 66 69 64 00 00 ) // ...refid.. + IL_0203: ldloc.s 18 + IL_0205: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_020a: endfinally + } // end handler 1 + IL_020b: nop + IL_020c: ldloc.s 9 + IL_020e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0213: stloc.s 20 + .try { // 2 + IL_0215: br IL_0232 - .get instance default string NAnt.Core.DataTypeBase::get_RefID () - .set instance default void NAnt.Core.DataTypeBase::set_RefID (string 'value') - } - .property instance bool CanBeReferenced () - { - .get instance default bool NAnt.Core.DataTypeBase::get_CanBeReferenced () - } - .property instance string Name () - { - .get instance default string NAnt.Core.DataTypeBase::get_Name () - } - } // end of class NAnt.Core.DataTypeBase -} + IL_021a: ldloc.s 20 + IL_021c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0221: stloc.s 19 + IL_0223: nop + IL_0224: ldarg.0 + IL_0225: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_022a: ldloc.s 19 + IL_022c: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Remove(string) + IL_0231: nop + IL_0232: ldloc.s 20 + IL_0234: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0239: brtrue IL_021a -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit BuildException - extends [mscorlib]System.ApplicationException - { - .field private class NAnt.Core.Location _location + IL_023e: leave IL_025a - // method line 2243 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x29dce - // Code size 19 (0x13) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_000b: ldarg.0 - IL_000c: call instance void class [mscorlib]System.ApplicationException::'.ctor'() - IL_0011: nop - IL_0012: ret - } // end of method BuildException::.ctor + } // end .try 2 + finally { // 2 + IL_0243: ldloc.s 20 + IL_0245: isinst [mscorlib]System.IDisposable + IL_024a: dup + IL_024b: stloc.s 21 + IL_024d: brfalse IL_0259 - // method line 2244 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message) cil managed - { - // Method begins at RVA 0x29de2 - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_0012: nop - IL_0013: ret - } // end of method BuildException::.ctor + IL_0252: ldloc.s 21 + IL_0254: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0259: endfinally + } // end handler 2 + IL_025a: ldloc.1 + IL_025b: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_0260: ldc.i4.0 + IL_0261: ble IL_02e4 - // method line 2245 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed - { - // Method begins at RVA 0x29df7 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldarg.2 - IL_000e: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0013: nop - IL_0014: ret - } // end of method BuildException::.ctor + IL_0266: nop + IL_0267: nop + IL_0268: ldloc.1 + IL_0269: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_026e: stloc.s 23 + .try { // 3 + IL_0270: br IL_02bb - // method line 2246 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class NAnt.Core.Location location) cil managed - { - // Method begins at RVA 0x29e0d - // Code size 27 (0x1b) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldarg.2 - IL_0015: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_001a: ret - } // end of method BuildException::.ctor + IL_0275: ldloc.s 23 + IL_0277: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_027c: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0281: stloc.s 22 + IL_0283: nop + IL_0284: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0289: ldstr "NA1021" + IL_028e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0293: ldloca.s 22 + IL_0295: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_029a: castclass [mscorlib]System.String + IL_029f: ldarg.0 + IL_02a0: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element/AttributeConfigurator::get_ElementXml() + IL_02a5: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_02aa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02af: ldarg.0 + IL_02b0: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_02b5: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_02ba: throw + IL_02bb: ldloc.s 23 + IL_02bd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02c2: brtrue IL_0275 - // method line 2247 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class NAnt.Core.Location location, class [mscorlib]System.Exception innerException) cil managed - { - // Method begins at RVA 0x29e29 - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldarg.3 - IL_000e: call instance void class [mscorlib]System.ApplicationException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldarg.2 - IL_0016: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_001b: ret - } // end of method BuildException::.ctor + IL_02c7: leave IL_02e3 - // method line 2248 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed - { - // Method begins at RVA 0x29e46 - // Code size 54 (0x36) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_0006: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldarg.2 - IL_000e: call instance void class [mscorlib]System.ApplicationException::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldarg.1 - IL_0016: ldstr "Location" - IL_001b: ldarg.0 - IL_001c: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_0021: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0026: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_002b: isinst NAnt.Core.Location - IL_0030: stfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_0035: ret - } // end of method BuildException::.ctor + } // end .try 3 + finally { // 3 + IL_02cc: ldloc.s 23 + IL_02ce: isinst [mscorlib]System.IDisposable + IL_02d3: dup + IL_02d4: stloc.s 24 + IL_02d6: brfalse IL_02e2 - // method line 2249 - .method public hidebysig specialname - instance default string get_RawMessage () cil managed + IL_02db: ldloc.s 24 + IL_02dd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02e2: endfinally + } // end handler 3 + IL_02e3: nop + IL_02e4: ret + } // end of method AttributeConfigurator::InitializeOrderedChildElements + + // method line 2267 + .method family virtual hidebysig newslot + instance default class NAnt.Core.Element InitializeBuildElement (class [System.Xml]System.Xml.XmlNode childNode, class [mscorlib]System.Type elementType) cil managed { - // Method begins at RVA 0x29e80 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4810 + // Code size 110 (0x6e) + .maxstack 5 .locals init ( - string V_0) + class NAnt.Core.Element V_0, + class NAnt.Core.Element V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class [mscorlib]System.Exception::get_Message() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldtoken NAnt.Core.Element + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.2 + IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0011: brtrue IL_0043 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildException::get_RawMessage + IL_0016: nop + IL_0017: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001c: ldstr "NA1187" + IL_0021: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0026: ldarg.1 + IL_0027: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_002c: ldarg.2 + IL_002d: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0032: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0037: ldarg.0 + IL_0038: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_003d: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0042: throw + IL_0043: ldarg.2 + IL_0044: ldc.i4.s 0x34 + IL_0046: ldnull + IL_0047: ldnull + IL_0048: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004d: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0052: castclass NAnt.Core.Element + IL_0057: stloc.0 + IL_0058: ldarg.0 + IL_0059: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_005e: ldarg.1 + IL_005f: ldloc.0 + IL_0060: ldarg.2 + IL_0061: call class NAnt.Core.Element class NAnt.Core.Element::InitializeBuildElement(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Type) + IL_0066: stloc.1 + IL_0067: br IL_006c - // method line 2250 - .method public hidebysig specialname - instance default class NAnt.Core.Location get_Location () cil managed + IL_006c: ldloc.1 + IL_006d: ret + } // end of method AttributeConfigurator::InitializeBuildElement + + // method line 2268 + .method private hidebysig + instance default class NAnt.Core.Element CreateChildBuildElement (class [mscorlib]System.Reflection.PropertyInfo propInf, class [mscorlib]System.Reflection.MethodInfo getter, class [mscorlib]System.Reflection.MethodInfo setter, class [System.Xml]System.Xml.XmlNode xml, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed { - // Method begins at RVA 0x29e9c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x488c + // Code size 551 (0x227) + .maxstack 6 .locals init ( - class NAnt.Core.Location V_0) + class NAnt.Core.Element V_0, + class [mscorlib]System.Type V_1, + class NAnt.Core.DataTypeBase V_2, + class NAnt.Core.Element V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldarg.2 + IL_0006: ldnull + IL_0007: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_000c: brfalse IL_010e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildException::get_Location + IL_0011: nop + .try { // 0 + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: ldarg.0 + IL_0015: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_001a: ldnull + IL_001b: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, object[]) + IL_0020: castclass NAnt.Core.Element + IL_0025: stloc.0 + IL_0026: nop + IL_0027: leave IL_0090 - // method line 2251 - .method public virtual hidebysig - instance default void GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed - { - // Method begins at RVA 0x29eb7 - .permissionset demand = {[mscorlib]System.Security.Permissions.SecurityPermissionAttribute = {property bool 'SerializationFormatter' = bool(true)}} - // Code size 27 (0x1b) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: call instance void class [mscorlib]System.Exception::GetObjectData(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) - IL_0009: ldarg.1 - IL_000a: ldstr "Location" - IL_000f: ldarg.0 - IL_0010: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_0015: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_001a: ret - } // end of method BuildException::GetObjectData + } // end .try 0 + catch class [mscorlib]System.InvalidCastException { // 0 + IL_002c: pop + IL_002d: nop + IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0033: ldstr "NA1188" + IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_003d: ldc.i4.4 + IL_003e: newarr [mscorlib]System.Object + IL_0043: dup + IL_0044: ldc.i4.0 + IL_0045: ldarg.1 + IL_0046: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_004b: stelem.ref + IL_004c: dup + IL_004d: ldc.i4.1 + IL_004e: ldarg.0 + IL_004f: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_0054: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0059: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_005e: stelem.ref + IL_005f: dup + IL_0060: ldc.i4.2 + IL_0061: ldarg.1 + IL_0062: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0067: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_006c: stelem.ref + IL_006d: dup + IL_006e: ldc.i4.3 + IL_006f: ldtoken NAnt.Core.Element + IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0079: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_007e: stelem.ref + IL_007f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0084: ldarg.0 + IL_0085: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_008a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_008f: throw + } // end handler 0 + IL_0090: ldloc.0 + IL_0091: brtrue IL_0104 - // method line 2252 - .method public virtual hidebysig specialname - instance default string get_Message () cil managed - { - // Method begins at RVA 0x29ed4 - // Code size 74 (0x4a) - .maxstack 3 - .locals init ( - string V_0, - string V_1, - string V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class [mscorlib]System.Exception::get_Message() - IL_0007: stloc.0 - IL_0008: ldsfld string [mscorlib]System.String::Empty - IL_000d: stloc.1 - IL_000e: ldarg.0 - IL_000f: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_0014: brfalse IL_0027 + IL_0096: nop + IL_0097: ldarg.3 + IL_0098: ldnull + IL_0099: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_009e: brfalse IL_00da - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldfld class NAnt.Core.Location NAnt.Core.BuildException::_location - IL_0020: callvirt instance string object::ToString() - IL_0025: stloc.1 - IL_0026: nop - IL_0027: ldloc.1 - IL_0028: call bool string::IsNullOrEmpty(string) - IL_002d: brtrue IL_0041 + IL_00a3: nop + IL_00a4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a9: ldstr "NA1189" + IL_00ae: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00b3: ldarg.1 + IL_00b4: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_00b9: ldarg.0 + IL_00ba: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_00bf: callvirt instance class [mscorlib]System.Type object::GetType() + IL_00c4: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00c9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00ce: ldarg.0 + IL_00cf: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_00d4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00d9: throw + IL_00da: nop + IL_00db: ldnull + IL_00dc: starg.s 2 + IL_00de: ldsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger + IL_00e3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00e8: ldstr "{0}_get() returned null; will go the route of set method to populate." + IL_00ed: ldarg.1 + IL_00ee: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_00f3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00f8: callvirt instance void class [log4net]log4net.ILog::Info(object) + IL_00fd: nop + IL_00fe: nop + IL_00ff: br IL_010d - IL_0032: nop - IL_0033: ldloc.1 - IL_0034: call string class [mscorlib]System.Environment::get_NewLine() - IL_0039: ldloc.0 - IL_003a: call string string::Concat(string, string, string) - IL_003f: stloc.0 - IL_0040: nop - IL_0041: ldloc.0 - IL_0042: stloc.2 - IL_0043: br IL_0048 + IL_0104: nop + IL_0105: ldloc.0 + IL_0106: callvirt instance class [mscorlib]System.Type object::GetType() + IL_010b: stloc.1 + IL_010c: nop + IL_010d: nop + IL_010e: ldarg.2 + IL_010f: ldnull + IL_0110: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_0115: brfalse IL_0177 - IL_0048: ldloc.2 - IL_0049: ret - } // end of method BuildException::get_Message + IL_011a: nop + IL_011b: ldarg.3 + IL_011c: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0121: ldc.i4.0 + IL_0122: ldelem.ref + IL_0123: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0128: stloc.1 + IL_0129: ldloc.1 + IL_012a: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_012f: brfalse IL_0161 - // method line 2253 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x29f2c - // Code size 41 (0x29) - .maxstack 5 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldstr "{0}:{1}{2}" - IL_000b: ldarg.0 - IL_000c: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0011: call string class [mscorlib]System.Environment::get_NewLine() - IL_0016: ldarg.0 - IL_0017: call instance string class [mscorlib]System.Exception::ToString() - IL_001c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0021: stloc.0 - IL_0022: br IL_0027 + IL_0134: nop + IL_0135: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_013a: ldstr "String_AbstractType" + IL_013f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0144: ldloc.1 + IL_0145: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_014a: ldarg.1 + IL_014b: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0150: ldarg.0 + IL_0151: call instance string class NAnt.Core.Element/AttributeConfigurator::get_Name() + IL_0156: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_015b: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) + IL_0160: throw + IL_0161: ldloc.1 + IL_0162: ldc.i4.s 0x34 + IL_0164: ldnull + IL_0165: ldnull + IL_0166: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_016b: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0170: castclass NAnt.Core.Element + IL_0175: stloc.0 + IL_0176: nop + IL_0177: ldarg.0 + IL_0178: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_017d: ldarg.s 4 + IL_017f: ldloc.0 + IL_0180: ldloc.1 + IL_0181: call class NAnt.Core.Element class NAnt.Core.Element::InitializeBuildElement(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Type) + IL_0186: stloc.0 + IL_0187: ldloc.0 + IL_0188: isinst NAnt.Core.DataTypeBase + IL_018d: stloc.2 + IL_018e: ldloc.2 + IL_018f: brfalse IL_01ed - IL_0027: ldloc.0 - IL_0028: ret - } // end of method BuildException::ToString + IL_0194: ldarg.s 4 + IL_0196: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_019b: ldstr "refid" + IL_01a0: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_01a5: brfalse IL_01ed - .property instance string RawMessage () - { - .get instance default string NAnt.Core.BuildException::get_RawMessage () - } - .property instance class NAnt.Core.Location Location () - { - .get instance default class NAnt.Core.Location NAnt.Core.BuildException::get_Location () - } - .property instance string Message () - { - .get instance default string NAnt.Core.BuildException::get_Message () - } - } // end of class NAnt.Core.BuildException -} + IL_01aa: nop + IL_01ab: ldarg.3 + IL_01ac: ldnull + IL_01ad: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_01b2: brfalse IL_01e9 -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit Location - extends [mscorlib]System.Object - { - .field private string _fileName - .field private int32 _lineNumber - .field private int32 _columnNumber - .field public static initonly class NAnt.Core.Location UnknownLocation + IL_01b7: nop + IL_01b8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01bd: ldstr "NA1190" + IL_01c2: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01c7: ldarg.1 + IL_01c8: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_01cd: ldarg.0 + IL_01ce: call instance class [mscorlib]System.Type object::GetType() + IL_01d3: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01d8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_01dd: ldarg.0 + IL_01de: call instance class NAnt.Core.Location class NAnt.Core.Element/AttributeConfigurator::get_Location() + IL_01e3: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_01e8: throw + IL_01e9: ldnull + IL_01ea: starg.s 2 + IL_01ec: nop + IL_01ed: ldarg.3 + IL_01ee: ldnull + IL_01ef: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_01f4: brfalse IL_021e - // method line 2254 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string fileName, int32 lineNumber, int32 columnNumber) cil managed - { - // Method begins at RVA 0x2b646 - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: call instance void class NAnt.Core.Location::Init(string, int32, int32) - IL_0010: ret - } // end of method Location::.ctor + IL_01f9: ldarg.2 + IL_01fa: ldnull + IL_01fb: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_0200: brfalse IL_021e - // method line 2255 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string fileName) cil managed - { - // Method begins at RVA 0x2b658 - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldc.i4.0 - IL_000a: ldc.i4.0 - IL_000b: call instance void class NAnt.Core.Location::Init(string, int32, int32) - IL_0010: ret - } // end of method Location::.ctor + IL_0205: nop + IL_0206: ldarg.3 + IL_0207: ldarg.0 + IL_0208: call instance class NAnt.Core.Element class NAnt.Core.Element/AttributeConfigurator::get_Element() + IL_020d: ldc.i4.1 + IL_020e: newarr [mscorlib]System.Object + IL_0213: dup + IL_0214: ldc.i4.0 + IL_0215: ldloc.0 + IL_0216: stelem.ref + IL_0217: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_021c: pop + IL_021d: nop + IL_021e: ldloc.0 + IL_021f: stloc.3 + IL_0220: br IL_0225 - // method line 2256 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2b66a - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldnull - IL_0009: ldc.i4.0 - IL_000a: ldc.i4.0 - IL_000b: call instance void class NAnt.Core.Location::Init(string, int32, int32) - IL_0010: ret - } // end of method Location::.ctor + IL_0225: ldloc.3 + IL_0226: ret + } // end of method AttributeConfigurator::CreateChildBuildElement - // method line 2257 + // method line 2269 .method private hidebysig - instance default void Init (string fileName, int32 lineNumber, int32 columnNumber) cil managed + instance default class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter CreateAttributeSetter (class [mscorlib]System.Type attributeType) cil managed { - // Method begins at RVA 0x2b67c - // Code size 84 (0x54) - .maxstack 2 + // Method begins at RVA 0x4ad0 + // Code size 273 (0x111) + .maxstack 3 .locals init ( - class [System]System.Uri V_0) + class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter V_0, + class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_003e + IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters + IL_0006: ldarg.1 + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_000c: brfalse IL_0028 - IL_0007: nop - .try { // 1 - IL_0008: nop - IL_0009: ldarg.1 - IL_000a: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_000f: stloc.0 - IL_0010: ldloc.0 - IL_0011: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_0016: starg.s 1 - IL_0018: nop - IL_0019: leave IL_003d + IL_0011: nop + IL_0012: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters + IL_0017: ldarg.1 + IL_0018: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_001d: castclass NAnt.Core.Element/AttributeConfigurator/IAttributeSetter + IL_0022: stloc.0 + IL_0023: br IL_010f - } // end .try 1 - catch class [mscorlib]System.Object { // 1 - IL_001e: pop - IL_001f: nop - .try { // 0 - IL_0020: nop - IL_0021: ldarg.1 - IL_0022: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_0027: starg.s 1 - IL_0029: nop - IL_002a: leave IL_0037 + IL_0028: ldnull + IL_0029: stloc.1 + IL_002a: ldarg.1 + IL_002b: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_0030: brfalse IL_0042 - } // end .try 0 - catch class [mscorlib]System.ArgumentException { // 0 - IL_002f: pop - IL_0030: nop - IL_0031: nop - IL_0032: leave IL_0037 + IL_0035: nop + IL_0036: newobj instance void class NAnt.Core.Element/AttributeConfigurator/EnumAttributeSetter::'.ctor'() + IL_003b: stloc.1 + IL_003c: nop + IL_003d: br IL_00f4 - } // end handler 0 - IL_0037: nop - IL_0038: leave IL_003d + IL_0042: ldarg.1 + IL_0043: ldtoken [mscorlib]System.Text.Encoding + IL_0048: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_004d: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0052: brfalse IL_0064 - } // end handler 1 - IL_003d: nop - IL_003e: ldarg.0 - IL_003f: ldarg.1 - IL_0040: stfld string NAnt.Core.Location::_fileName - IL_0045: ldarg.0 - IL_0046: ldarg.2 - IL_0047: stfld int32 NAnt.Core.Location::_lineNumber - IL_004c: ldarg.0 - IL_004d: ldarg.3 - IL_004e: stfld int32 NAnt.Core.Location::_columnNumber - IL_0053: ret - } // end of method Location::Init + IL_0057: nop + IL_0058: newobj instance void class NAnt.Core.Element/AttributeConfigurator/EncodingAttributeSetter::'.ctor'() + IL_005d: stloc.1 + IL_005e: nop + IL_005f: br IL_00f4 - // method line 2258 - .method public hidebysig specialname - instance default string get_FileName () cil managed - { - // Method begins at RVA 0x2b6f8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Location::_fileName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0064: ldarg.1 + IL_0065: ldtoken [mscorlib]System.IO.FileInfo + IL_006a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_006f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0074: brfalse IL_0086 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Location::get_FileName + IL_0079: nop + IL_007a: newobj instance void class NAnt.Core.Element/AttributeConfigurator/FileAttributeSetter::'.ctor'() + IL_007f: stloc.1 + IL_0080: nop + IL_0081: br IL_00f4 - // method line 2259 - .method public hidebysig specialname - instance default int32 get_LineNumber () cil managed - { - // Method begins at RVA 0x2b714 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Location::_lineNumber - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0086: ldarg.1 + IL_0087: ldtoken [mscorlib]System.IO.DirectoryInfo + IL_008c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0091: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0096: brfalse IL_00a8 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Location::get_LineNumber + IL_009b: nop + IL_009c: newobj instance void class NAnt.Core.Element/AttributeConfigurator/DirectoryAttributeSetter::'.ctor'() + IL_00a1: stloc.1 + IL_00a2: nop + IL_00a3: br IL_00f4 - // method line 2260 - .method public hidebysig specialname - instance default int32 get_ColumnNumber () cil managed - { - // Method begins at RVA 0x2b730 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Location::_columnNumber - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00a8: ldarg.1 + IL_00a9: ldtoken NAnt.Core.Types.PathSet + IL_00ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00b3: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00b8: brfalse IL_00ca - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Location::get_ColumnNumber + IL_00bd: nop + IL_00be: newobj instance void class NAnt.Core.Element/AttributeConfigurator/PathSetAttributeSetter::'.ctor'() + IL_00c3: stloc.1 + IL_00c4: nop + IL_00c5: br IL_00f4 - // method line 2261 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x2b74c - // Code size 121 (0x79) - .maxstack 5 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1) - IL_0000: nop - IL_0001: ldstr "" - IL_0006: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) - IL_000b: stloc.0 - IL_000c: ldarg.0 - IL_000d: ldfld string NAnt.Core.Location::_fileName - IL_0012: brfalse IL_006b + IL_00ca: ldarg.1 + IL_00cb: ldtoken [System]System.Uri + IL_00d0: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00d5: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00da: brfalse IL_00ec - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldarg.0 - IL_001a: ldfld string NAnt.Core.Location::_fileName - IL_001f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0024: pop - IL_0025: ldarg.0 - IL_0026: ldfld int32 NAnt.Core.Location::_lineNumber - IL_002b: brfalse IL_005e + IL_00df: nop + IL_00e0: newobj instance void class NAnt.Core.Element/AttributeConfigurator/UriAttributeSetter::'.ctor'() + IL_00e5: stloc.1 + IL_00e6: nop + IL_00e7: br IL_00f4 - IL_0030: nop - IL_0031: ldloc.0 - IL_0032: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0037: ldstr "({0},{1})" - IL_003c: ldarg.0 - IL_003d: ldfld int32 NAnt.Core.Location::_lineNumber - IL_0042: box [mscorlib]System.Int32 - IL_0047: ldarg.0 - IL_0048: ldfld int32 NAnt.Core.Location::_columnNumber - IL_004d: box [mscorlib]System.Int32 - IL_0052: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0057: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_005c: pop - IL_005d: nop - IL_005e: ldloc.0 - IL_005f: ldstr ":" - IL_0064: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0069: pop - IL_006a: nop - IL_006b: ldloc.0 - IL_006c: callvirt instance string object::ToString() - IL_0071: stloc.1 - IL_0072: br IL_0077 + IL_00ec: nop + IL_00ed: newobj instance void class NAnt.Core.Element/AttributeConfigurator/ConvertableAttributeSetter::'.ctor'() + IL_00f2: stloc.1 + IL_00f3: nop + IL_00f4: ldloc.1 + IL_00f5: brfalse IL_0108 - IL_0077: ldloc.1 - IL_0078: ret - } // end of method Location::ToString + IL_00fa: nop + IL_00fb: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters + IL_0100: ldarg.1 + IL_0101: ldloc.1 + IL_0102: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0107: nop + IL_0108: ldloc.1 + IL_0109: stloc.0 + IL_010a: br IL_010f - // method line 2262 + IL_010f: ldloc.0 + IL_0110: ret + } // end of method AttributeConfigurator::CreateAttributeSetter + + // method line 2270 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0x2b7d1 - // Code size 11 (0xb) + // Method begins at RVA 0x4bed + // Code size 31 (0x1f) .maxstack 8 - IL_0000: newobj instance void class NAnt.Core.Location::'.ctor'() - IL_0005: stsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation - IL_000a: ret - } // end of method Location::.cctor + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Element/AttributeConfigurator::logger + IL_0014: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0019: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Element/AttributeConfigurator::AttributeSetters + IL_001e: ret + } // end of method AttributeConfigurator::.cctor - .property instance string FileName () + .property instance class NAnt.Core.Element Element () { - .get instance default string NAnt.Core.Location::get_FileName () + .get instance default class NAnt.Core.Element NAnt.Core.Element/AttributeConfigurator::get_Element () } - .property instance int32 LineNumber () + .property instance class NAnt.Core.Location Location () { - .get instance default int32 NAnt.Core.Location::get_LineNumber () + .get instance default class NAnt.Core.Location NAnt.Core.Element/AttributeConfigurator::get_Location () } - .property instance int32 ColumnNumber () + .property instance string Name () { - .get instance default int32 NAnt.Core.Location::get_ColumnNumber () + .get instance default string NAnt.Core.Element/AttributeConfigurator::get_Name () } - } // end of class NAnt.Core.Location -} - -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit CommandLineOptions + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.Element/AttributeConfigurator::get_Project () + } + .property instance class [System.Xml]System.Xml.XmlNode ElementXml () + { + .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Element/AttributeConfigurator::get_ElementXml () + } + .property instance class NAnt.Core.PropertyDictionary Properties () + { + .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Element/AttributeConfigurator::get_Properties () + } + .property instance class NAnt.Core.FrameworkInfo TargetFramework () + { + .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.Element/AttributeConfigurator::get_TargetFramework () + } + .property instance class [System]System.Collections.Specialized.StringCollection UnprocessedAttributes () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes () + } + .property instance class [System]System.Collections.Specialized.StringCollection UnprocessedChildNodes () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes () + } + .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () + { + .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Element/AttributeConfigurator::get_NamespaceManager () + } + .class nested private auto ansi beforefieldinit EnumAttributeSetter extends [mscorlib]System.Object - { - .field private string _targetFramework - .field private string _buildFile - .field private bool _noLogo - .field private bool _showHelp - .field private bool _quiet - .field private bool _verbose - .field private bool _debug - .field private bool _emacsMode - .field private int32 _indentationLevel - .field private bool _findInParent - .field private class [System]System.Collections.Specialized.NameValueCollection _properties - .field private string _loggerType - .field private class [mscorlib]System.IO.FileInfo _logFile - .field private class [System]System.Collections.Specialized.StringCollection _listeners - .field private class [System]System.Collections.Specialized.StringCollection _extensionAssemblies - .field private class [System]System.Collections.Specialized.StringCollection _targets - .field private bool _showProjectHelp - .field private bool _pause + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 2263 + // method line 2271 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b7dd - // Code size 58 (0x3a) + // Method begins at RVA 0x4c0d + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld int32 NAnt.Core.CommandLineOptions::_indentationLevel - IL_0007: ldarg.0 - IL_0008: newobj instance void class [System]System.Collections.Specialized.NameValueCollection::'.ctor'() - IL_000d: stfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.CommandLineOptions::_properties - IL_0012: ldarg.0 - IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_listeners - IL_001d: ldarg.0 - IL_001e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0023: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_extensionAssemblies - IL_0028: ldarg.0 - IL_0029: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002e: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_targets - IL_0033: ldarg.0 - IL_0034: call instance void object::'.ctor'() - IL_0039: ret - } // end of method CommandLineOptions::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method EnumAttributeSetter::.ctor - // method line 2264 - .method public hidebysig specialname - instance default string get_TargetFramework () cil managed + // method line 2272 + .method public final virtual hidebysig newslot + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2b818 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4c18 + // Code size 124 (0x7c) + .maxstack 7 .locals init ( - string V_0) + object V_0, + class [System]System.ComponentModel.TypeConverter V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.CommandLineOptions::_targetFramework - IL_0007: stloc.0 - IL_0008: br IL_000d + .try { // 0 + IL_0001: nop + IL_0002: ldarg.3 + IL_0003: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0008: call class [System]System.ComponentModel.TypeConverter class [System]System.ComponentModel.TypeDescriptor::GetConverter(class [mscorlib]System.Type) + IL_000d: stloc.1 + IL_000e: ldloc.1 + IL_000f: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0014: ldtoken [System]System.ComponentModel.EnumConverter + IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_001e: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0023: brtrue IL_0038 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_TargetFramework + IL_0028: nop + IL_0029: ldloc.1 + IL_002a: ldarg.s 4 + IL_002c: callvirt instance object class [System]System.ComponentModel.TypeConverter::ConvertFrom(object) + IL_0031: stloc.0 + IL_0032: nop + IL_0033: br IL_0048 + + IL_0038: nop + IL_0039: ldarg.3 + IL_003a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_003f: ldarg.s 4 + IL_0041: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string) + IL_0046: stloc.0 + IL_0047: nop + IL_0048: ldarg.3 + IL_0049: ldarg.2 + IL_004a: ldloc.0 + IL_004b: ldc.i4.s 0x14 + IL_004d: ldnull + IL_004e: ldnull + IL_004f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0054: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0059: nop + IL_005a: leave IL_007b + + } // end .try 0 + catch class [mscorlib]System.FormatException { // 0 + IL_005f: pop + IL_0060: nop + IL_0061: ldarg.0 + IL_0062: ldarg.1 + IL_0063: ldarg.2 + IL_0064: ldarg.3 + IL_0065: ldarg.s 4 + IL_0067: call instance class NAnt.Core.BuildException class NAnt.Core.Element/AttributeConfigurator/EnumAttributeSetter::CreateBuildException(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Reflection.PropertyInfo, string) + IL_006c: throw + } // end handler 0 + catch class [mscorlib]System.ArgumentException { // 1 + IL_006d: pop + IL_006e: nop + IL_006f: ldarg.0 + IL_0070: ldarg.1 + IL_0071: ldarg.2 + IL_0072: ldarg.3 + IL_0073: ldarg.s 4 + IL_0075: call instance class NAnt.Core.BuildException class NAnt.Core.Element/AttributeConfigurator/EnumAttributeSetter::CreateBuildException(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Element, class [mscorlib]System.Reflection.PropertyInfo, string) + IL_007a: throw + } // end handler 1 + IL_007b: ret + } // end of method EnumAttributeSetter::Set + + // method line 2273 + .method private hidebysig + instance default class NAnt.Core.BuildException CreateBuildException (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed + { + // Method begins at RVA 0x4cbc + // Code size 197 (0xc5) + .maxstack 6 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + object V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + class NAnt.Core.BuildException V_5) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stloc.0 + IL_0007: nop + IL_0008: ldarg.3 + IL_0009: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_000e: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) + IL_0013: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() + IL_0018: stloc.2 + .try { // 0 + IL_0019: br IL_004e + + IL_001e: ldloc.2 + IL_001f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0024: stloc.1 + IL_0025: nop + IL_0026: ldloc.0 + IL_0027: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_002c: ldc.i4.0 + IL_002d: ble IL_0040 + + IL_0032: nop + IL_0033: ldloc.0 + IL_0034: ldstr ", " + IL_0039: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_003e: pop + IL_003f: nop + IL_0040: ldloc.0 + IL_0041: ldloc.1 + IL_0042: callvirt instance string object::ToString() + IL_0047: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_004c: pop + IL_004d: nop + IL_004e: ldloc.2 + IL_004f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0054: brtrue IL_001e - // method line 2265 - .method public hidebysig specialname - instance default void set_TargetFramework (string 'value') cil managed - { - // Method begins at RVA 0x2b833 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.CommandLineOptions::_targetFramework - IL_0008: ret - } // end of method CommandLineOptions::set_TargetFramework + IL_0059: leave IL_0072 - // method line 2266 - .method public hidebysig specialname - instance default string get_DefaultFramework () cil managed - { - // Method begins at RVA 0x2b840 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.CommandLineOptions::_targetFramework - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_005e: ldloc.2 + IL_005f: isinst [mscorlib]System.IDisposable + IL_0064: dup + IL_0065: stloc.3 + IL_0066: brfalse IL_0071 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_DefaultFramework + IL_006b: ldloc.3 + IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0071: endfinally + } // end handler 0 + IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0077: ldstr "NA1023" + IL_007c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0081: ldc.i4.4 + IL_0082: newarr [mscorlib]System.Object + IL_0087: dup + IL_0088: ldc.i4.0 + IL_0089: ldarg.s 4 + IL_008b: stelem.ref + IL_008c: dup + IL_008d: ldc.i4.1 + IL_008e: ldarg.1 + IL_008f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0094: stelem.ref + IL_0095: dup + IL_0096: ldc.i4.2 + IL_0097: ldarg.2 + IL_0098: callvirt instance string class NAnt.Core.Element::get_Name() + IL_009d: stelem.ref + IL_009e: dup + IL_009f: ldc.i4.3 + IL_00a0: ldloc.0 + IL_00a1: callvirt instance string object::ToString() + IL_00a6: stelem.ref + IL_00a7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_00ac: stloc.s 4 + IL_00ae: ldloc.s 4 + IL_00b0: ldarg.2 + IL_00b1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00b6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00bb: stloc.s 5 + IL_00bd: br IL_00c2 - // method line 2267 - .method public hidebysig specialname - instance default void set_DefaultFramework (string 'value') cil managed - { - // Method begins at RVA 0x2b85b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.CommandLineOptions::_targetFramework - IL_0008: ret - } // end of method CommandLineOptions::set_DefaultFramework + IL_00c2: ldloc.s 5 + IL_00c4: ret + } // end of method EnumAttributeSetter::CreateBuildException - // method line 2268 - .method public hidebysig specialname - instance default string get_BuildFile () cil managed - { - // Method begins at RVA 0x2b868 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.CommandLineOptions::_buildFile - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end of class EnumAttributeSetter - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_BuildFile + .class nested private auto ansi beforefieldinit EncodingAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 2269 - .method public hidebysig specialname - instance default void set_BuildFile (string 'value') cil managed + // method line 2274 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b883 - // Code size 9 (0x9) + // Method begins at RVA 0x4da0 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.CommandLineOptions::_buildFile - IL_0008: ret - } // end of method CommandLineOptions::set_BuildFile + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method EncodingAttributeSetter::.ctor - // method line 2270 - .method public hidebysig specialname - instance default bool get_Pause () cil managed + // method line 2275 + .method public final virtual hidebysig newslot + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2b890 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4da8 + // Code size 181 (0xb5) + .maxstack 7 .locals init ( - bool V_0) + string V_0, + class [mscorlib]System.Text.Encoding V_1, + class [mscorlib]System.Exception V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_pause - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_Pause + IL_0001: ldarg.s 4 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: brtrue IL_0015 - // method line 2271 - .method public hidebysig specialname - instance default void set_Pause (bool 'value') cil managed - { - // Method begins at RVA 0x2b8ab - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_pause - IL_0008: ret - } // end of method CommandLineOptions::set_Pause + IL_000f: nop + IL_0010: br IL_00b4 - // method line 2272 - .method public hidebysig specialname - instance default bool get_Verbose () cil managed - { - // Method begins at RVA 0x2b8b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_verbose - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0015: ldnull + IL_0016: stloc.1 + .try { // 0 + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(string) + IL_001e: stloc.1 + IL_001f: nop + IL_0020: leave IL_006b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_Verbose + } // end .try 0 + catch class [mscorlib]System.ArgumentException { // 0 + IL_0025: pop + IL_0026: nop + IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002c: ldstr "NA1191" + IL_0031: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0036: ldloc.0 + IL_0037: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003c: ldarg.2 + IL_003d: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0042: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0047: throw + } // end handler 0 + catch class [mscorlib]System.NotSupportedException { // 1 + IL_0048: pop + IL_0049: nop + IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004f: ldstr "NA1192" + IL_0054: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0059: ldloc.0 + IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005f: ldarg.2 + IL_0060: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0065: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_006a: throw + } // end handler 1 + .try { // 2 + IL_006b: nop + IL_006c: ldarg.3 + IL_006d: ldarg.2 + IL_006e: ldloc.1 + IL_006f: ldc.i4.s 0x14 + IL_0071: ldnull + IL_0072: ldnull + IL_0073: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0078: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_007d: nop + IL_007e: leave IL_00b4 - // method line 2273 - .method public hidebysig specialname - instance default void set_Verbose (bool 'value') cil managed - { - // Method begins at RVA 0x2b8d3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_verbose - IL_0008: ret - } // end of method CommandLineOptions::set_Verbose + } // end .try 2 + catch class [mscorlib]System.Exception { // 2 + IL_0083: stloc.2 + IL_0084: nop + IL_0085: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_008a: ldstr "NA1022" + IL_008f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0094: ldarg.s 4 + IL_0096: ldarg.1 + IL_0097: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_009c: ldarg.2 + IL_009d: callvirt instance string class NAnt.Core.Element::get_Name() + IL_00a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_00a7: ldarg.2 + IL_00a8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00ad: ldloc.2 + IL_00ae: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00b3: throw + } // end handler 2 + IL_00b4: ret + } // end of method EncodingAttributeSetter::Set - // method line 2274 - .method public hidebysig specialname - instance default bool get_Debug () cil managed - { - // Method begins at RVA 0x2b8e0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_debug - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end of class EncodingAttributeSetter - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_Debug + .class nested private auto ansi beforefieldinit FileAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 2275 - .method public hidebysig specialname - instance default void set_Debug (bool 'value') cil managed + // method line 2276 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b8fb - // Code size 9 (0x9) + // Method begins at RVA 0x4e94 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_debug - IL_0008: ret - } // end of method CommandLineOptions::set_Debug + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method FileAttributeSetter::.ctor - // method line 2276 - .method public hidebysig specialname - instance default bool get_Quiet () cil managed + // method line 2277 + .method public final virtual hidebysig newslot + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2b908 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4e9c + // Code size 216 (0xd8) + .maxstack 7 .locals init ( - bool V_0) + string V_0, + object V_1, + class [mscorlib]System.Exception V_2, + class [mscorlib]System.Exception V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_quiet - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.s 4 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: brfalse IL_00aa - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_Quiet + IL_000f: nop + .try { // 0 + IL_0010: nop + IL_0011: ldarg.2 + IL_0012: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0017: ldarg.s 4 + IL_0019: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_001e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0023: stloc.1 + IL_0024: nop + IL_0025: leave IL_005b - // method line 2277 - .method public hidebysig specialname - instance default void set_Quiet (bool 'value') cil managed - { - // Method begins at RVA 0x2b923 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_quiet - IL_0008: ret - } // end of method CommandLineOptions::set_Quiet + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_002a: stloc.2 + IL_002b: nop + IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0031: ldstr "NA1022" + IL_0036: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_003b: ldarg.s 4 + IL_003d: ldarg.1 + IL_003e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0043: ldarg.2 + IL_0044: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0049: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_004e: ldarg.2 + IL_004f: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0054: ldloc.2 + IL_0055: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_005a: throw + } // end handler 0 + .try { // 1 + IL_005b: nop + IL_005c: ldarg.3 + IL_005d: ldarg.2 + IL_005e: ldloc.1 + IL_005f: ldc.i4.s 0x14 + IL_0061: ldnull + IL_0062: ldnull + IL_0063: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0068: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_006d: nop + IL_006e: leave IL_00a4 - // method line 2278 - .method public hidebysig specialname - instance default bool get_EmacsMode () cil managed - { - // Method begins at RVA 0x2b930 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_emacsMode - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_0073: stloc.3 + IL_0074: nop + IL_0075: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007a: ldstr "NA1022" + IL_007f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0084: ldarg.s 4 + IL_0086: ldarg.1 + IL_0087: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_008c: ldarg.2 + IL_008d: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0092: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0097: ldarg.2 + IL_0098: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_009d: ldloc.3 + IL_009e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00a3: throw + } // end handler 1 + IL_00a4: nop + IL_00a5: br IL_00d7 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_EmacsMode + IL_00aa: nop + IL_00ab: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00b0: ldstr "NA1193" + IL_00b5: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00ba: ldarg.1 + IL_00bb: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00c0: ldarg.2 + IL_00c1: callvirt instance string class NAnt.Core.Element::get_Name() + IL_00c6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00cb: ldarg.2 + IL_00cc: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00d1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00d6: throw + IL_00d7: ret + } // end of method FileAttributeSetter::Set - // method line 2279 - .method public hidebysig specialname - instance default void set_EmacsMode (bool 'value') cil managed + } // end of class FileAttributeSetter + + .class nested private auto ansi beforefieldinit DirectoryAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { + + // method line 2278 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b94b - // Code size 9 (0x9) + // Method begins at RVA 0x4f9c + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_emacsMode - IL_0008: ret - } // end of method CommandLineOptions::set_EmacsMode + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method DirectoryAttributeSetter::.ctor - // method line 2280 - .method public hidebysig specialname - instance default bool get_FindInParent () cil managed + // method line 2279 + .method public final virtual hidebysig newslot + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2b958 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4fa4 + // Code size 160 (0xa0) + .maxstack 7 .locals init ( - bool V_0) + string V_0, + object V_1, + class [mscorlib]System.Exception V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_findInParent - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.s 4 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: brfalse IL_0072 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_FindInParent + IL_000f: nop + .try { // 0 + IL_0010: nop + IL_0011: ldarg.2 + IL_0012: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0017: ldarg.s 4 + IL_0019: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_001e: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0023: stloc.1 + IL_0024: ldarg.3 + IL_0025: ldarg.2 + IL_0026: ldloc.1 + IL_0027: ldc.i4.s 0x14 + IL_0029: ldnull + IL_002a: ldnull + IL_002b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0030: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0035: nop + IL_0036: leave IL_006c + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_003b: stloc.2 + IL_003c: nop + IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0042: ldstr "NA1022" + IL_0047: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004c: ldarg.s 4 + IL_004e: ldarg.1 + IL_004f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0054: ldarg.2 + IL_0055: callvirt instance string class NAnt.Core.Element::get_Name() + IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_005f: ldarg.2 + IL_0060: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0065: ldloc.2 + IL_0066: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_006b: throw + } // end handler 0 + IL_006c: nop + IL_006d: br IL_009f - // method line 2281 - .method public hidebysig specialname - instance default void set_FindInParent (bool 'value') cil managed - { - // Method begins at RVA 0x2b973 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_findInParent - IL_0008: ret - } // end of method CommandLineOptions::set_FindInParent + IL_0072: nop + IL_0073: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0078: ldstr "NA1193" + IL_007d: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0082: ldarg.1 + IL_0083: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0088: ldarg.2 + IL_0089: callvirt instance string class NAnt.Core.Element::get_Name() + IL_008e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0093: ldarg.2 + IL_0094: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0099: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_009e: throw + IL_009f: ret + } // end of method DirectoryAttributeSetter::Set - // method line 2282 - .method public hidebysig specialname - instance default int32 get_IndentationLevel () cil managed - { - // Method begins at RVA 0x2b980 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.CommandLineOptions::_indentationLevel - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end of class DirectoryAttributeSetter - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_IndentationLevel + .class nested private auto ansi beforefieldinit PathSetAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 2283 - .method public hidebysig specialname - instance default void set_IndentationLevel (int32 'value') cil managed + // method line 2280 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b99b - // Code size 9 (0x9) + // Method begins at RVA 0x5060 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.CommandLineOptions::_indentationLevel - IL_0008: ret - } // end of method CommandLineOptions::set_IndentationLevel + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method PathSetAttributeSetter::.ctor - // method line 2284 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.NameValueCollection get_Properties () cil managed + // method line 2281 + .method public final virtual hidebysig newslot + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2b9a8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5068 + // Code size 89 (0x59) + .maxstack 7 .locals init ( - class [System]System.Collections.Specialized.NameValueCollection V_0) + class NAnt.Core.Types.PathSet V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.CommandLineOptions::_properties - IL_0007: stloc.0 - IL_0008: br IL_000d + .try { // 0 + IL_0001: nop + IL_0002: ldarg.2 + IL_0003: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0008: ldarg.s 4 + IL_000a: newobj instance void class NAnt.Core.Types.PathSet::'.ctor'(class NAnt.Core.Project, string) + IL_000f: stloc.0 + IL_0010: ldarg.3 + IL_0011: ldarg.2 + IL_0012: ldloc.0 + IL_0013: ldc.i4.s 0x14 + IL_0015: ldnull + IL_0016: ldnull + IL_0017: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001c: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0021: nop + IL_0022: leave IL_0058 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_Properties + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0027: stloc.1 + IL_0028: nop + IL_0029: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002e: ldstr "NA1022" + IL_0033: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0038: ldarg.s 4 + IL_003a: ldarg.1 + IL_003b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0040: ldarg.2 + IL_0041: callvirt instance string class NAnt.Core.Element::get_Name() + IL_0046: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_004b: ldarg.2 + IL_004c: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0051: ldloc.1 + IL_0052: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0057: throw + } // end handler 0 + IL_0058: ret + } // end of method PathSetAttributeSetter::Set - // method line 2285 - .method public hidebysig specialname - instance default string get_LoggerType () cil managed - { - // Method begins at RVA 0x2b9c4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.CommandLineOptions::_loggerType - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end of class PathSetAttributeSetter - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_LoggerType + .class nested private auto ansi beforefieldinit UriAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 2286 - .method public hidebysig specialname - instance default void set_LoggerType (string 'value') cil managed + // method line 2282 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b9df - // Code size 9 (0x9) + // Method begins at RVA 0x50e0 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.CommandLineOptions::_loggerType - IL_0008: ret - } // end of method CommandLineOptions::set_LoggerType + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method UriAttributeSetter::.ctor - // method line 2287 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_LogFile () cil managed + // method line 2283 + .method public final virtual hidebysig newslot + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2b9ec - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x50e8 + // Code size 238 (0xee) + .maxstack 7 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0, + class [System]System.Uri V_1, + class [mscorlib]System.Exception V_2, + class [mscorlib]System.Exception V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.CommandLineOptions::_logFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_LogFile + IL_0001: ldarg.s 4 + IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: brfalse IL_00c0 - // method line 2288 - .method public hidebysig specialname - instance default void set_LogFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2ba07 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.CommandLineOptions::_logFile - IL_0008: ret - } // end of method CommandLineOptions::set_LogFile + IL_000f: nop + IL_0010: ldarg.s 4 + IL_0012: ldsfld string [System]System.Uri::SchemeDelimiter + IL_0017: callvirt instance int32 string::IndexOf(string) + IL_001c: ldc.i4.m1 + IL_001d: bne.un IL_0032 - // method line 2289 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Listeners () cil managed - { - // Method begins at RVA 0x2ba14 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_listeners - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0022: nop + IL_0023: ldarg.2 + IL_0024: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0029: ldarg.s 4 + IL_002b: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_0030: stloc.0 + IL_0031: nop + .try { // 0 + IL_0032: nop + IL_0033: ldloc.0 + IL_0034: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0039: stloc.1 + IL_003a: nop + IL_003b: leave IL_0071 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_Listeners + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0040: stloc.2 + IL_0041: nop + IL_0042: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0047: ldstr "NA1022" + IL_004c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0051: ldarg.s 4 + IL_0053: ldarg.1 + IL_0054: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0059: ldarg.2 + IL_005a: callvirt instance string class NAnt.Core.Element::get_Name() + IL_005f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0064: ldarg.2 + IL_0065: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_006a: ldloc.2 + IL_006b: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0070: throw + } // end handler 0 + .try { // 1 + IL_0071: nop + IL_0072: ldarg.3 + IL_0073: ldarg.2 + IL_0074: ldloc.1 + IL_0075: ldc.i4.s 0x14 + IL_0077: ldnull + IL_0078: ldnull + IL_0079: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007e: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0083: nop + IL_0084: leave IL_00ba - // method line 2290 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_ExtensionAssemblies () cil managed - { - // Method begins at RVA 0x2ba30 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_extensionAssemblies - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_0089: stloc.3 + IL_008a: nop + IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0090: ldstr "NA1022" + IL_0095: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009a: ldarg.s 4 + IL_009c: ldarg.1 + IL_009d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00a2: ldarg.2 + IL_00a3: callvirt instance string class NAnt.Core.Element::get_Name() + IL_00a8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_00ad: ldarg.2 + IL_00ae: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00b3: ldloc.3 + IL_00b4: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00b9: throw + } // end handler 1 + IL_00ba: nop + IL_00bb: br IL_00ed - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_ExtensionAssemblies + IL_00c0: nop + IL_00c1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c6: ldstr "NA1193" + IL_00cb: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00d0: ldarg.1 + IL_00d1: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00d6: ldarg.2 + IL_00d7: callvirt instance string class NAnt.Core.Element::get_Name() + IL_00dc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00e1: ldarg.2 + IL_00e2: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_00e7: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_00ec: throw + IL_00ed: ret + } // end of method UriAttributeSetter::Set - // method line 2291 - .method public hidebysig specialname - instance default bool get_ShowProjectHelp () cil managed - { - // Method begins at RVA 0x2ba4c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_showProjectHelp - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end of class UriAttributeSetter - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_ShowProjectHelp + .class nested private auto ansi beforefieldinit ConvertableAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 2292 - .method public hidebysig specialname - instance default void set_ShowProjectHelp (bool 'value') cil managed + // method line 2284 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2ba67 - // Code size 9 (0x9) + // Method begins at RVA 0x5200 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_showProjectHelp - IL_0008: ret - } // end of method CommandLineOptions::set_ShowProjectHelp + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method ConvertableAttributeSetter::.ctor - // method line 2293 - .method public hidebysig specialname - instance default bool get_NoLogo () cil managed + // method line 2285 + .method public final virtual hidebysig newslot + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2ba74 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5208 + // Code size 94 (0x5e) + .maxstack 7 .locals init ( - bool V_0) + object V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_noLogo - IL_0007: stloc.0 - IL_0008: br IL_000d + .try { // 0 + IL_0001: nop + IL_0002: ldarg.s 4 + IL_0004: ldarg.3 + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_000a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000f: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) + IL_0014: stloc.0 + IL_0015: ldarg.3 + IL_0016: ldarg.2 + IL_0017: ldloc.0 + IL_0018: ldc.i4.s 0x14 + IL_001a: ldnull + IL_001b: ldnull + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_0026: nop + IL_0027: leave IL_005d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_NoLogo + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_002c: stloc.1 + IL_002d: nop + IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0033: ldstr "NA1022" + IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_003d: ldarg.s 4 + IL_003f: ldarg.1 + IL_0040: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0045: ldarg.2 + IL_0046: callvirt instance string class NAnt.Core.Element::get_Name() + IL_004b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0050: ldarg.2 + IL_0051: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() + IL_0056: ldloc.1 + IL_0057: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_005c: throw + } // end handler 0 + IL_005d: ret + } // end of method ConvertableAttributeSetter::Set - // method line 2294 - .method public hidebysig specialname - instance default void set_NoLogo (bool 'value') cil managed - { - // Method begins at RVA 0x2ba8f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_noLogo - IL_0008: ret - } // end of method CommandLineOptions::set_NoLogo + } // end of class ConvertableAttributeSetter - // method line 2295 - .method public hidebysig specialname - instance default bool get_ShowHelp () cil managed + .class interface nested private auto ansi abstract IAttributeSetter + { + + // method line 2286 + .method public virtual hidebysig newslot abstract + instance default void Set (class [System.Xml]System.Xml.XmlNode attributeNode, class NAnt.Core.Element parent, class [mscorlib]System.Reflection.PropertyInfo 'property', string 'value') cil managed { - // Method begins at RVA 0x2ba9c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.CommandLineOptions::_showHelp - IL_0007: stloc.0 - IL_0008: br IL_000d + // Method begins at RVA 0x0 + } // end of method IAttributeSetter::Set - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_ShowHelp + } // end of class IAttributeSetter - // method line 2296 - .method public hidebysig specialname - instance default void set_ShowHelp (bool 'value') cil managed - { - // Method begins at RVA 0x2bab7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.CommandLineOptions::_showHelp - IL_0008: ret - } // end of method CommandLineOptions::set_ShowHelp + } // end of class AttributeConfigurator + + } // end of class NAnt.Core.Element +} + +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit Project + extends [mscorlib]System.Object + { + .field private static initonly class [log4net]log4net.ILog logger + .field private static literal string RootXml = "project" + .field private static literal string ProjectNameAttribute = "name" + .field private static literal string ProjectDefaultAttribte = "default" + .field private static literal string ProjectBaseDirAttribute = "basedir" + .field private static literal string TargetXml = "target" + .field private static literal string WildTarget = "*" + .field private static literal string Visiting = "VISITING" + .field private static literal string Visited = "VISITED" + .field assembly static literal string NAntPlatform = "nant.platform" + .field assembly static literal string NAntPlatformName = "nant.platform.name" + .field assembly static literal string NAntPropertyFileName = "nant.filename" + .field assembly static literal string NAntPropertyVersion = "nant.version" + .field assembly static literal string NAntPropertyLocation = "nant.location" + .field assembly static literal string NAntPropertyProjectName = "nant.project.name" + .field assembly static literal string NAntPropertyProjectBuildFile = "nant.project.buildfile" + .field assembly static literal string NAntPropertyProjectBaseDir = "nant.project.basedir" + .field assembly static literal string NAntPropertyProjectDefault = "nant.project.default" + .field assembly static literal string NAntPropertyOnSuccess = "nant.onsuccess" + .field assembly static literal string NAntPropertyOnFailure = "nant.onfailure" + .field private class NAnt.Core.BuildEventHandler BuildStarted + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ - // method line 2297 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Targets () cil managed - { - // Method begins at RVA 0x2bac4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.CommandLineOptions::_targets - IL_0007: stloc.0 - IL_0008: br IL_000d + .field private class NAnt.Core.BuildEventHandler BuildFinished + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineOptions::get_Targets + .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ - .property instance string TargetFramework () - { - .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( - 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 0F // ........T..Name. - 74 61 72 67 65 74 66 72 61 6D 65 77 6F 72 6B 54 // targetframeworkT - 0E 09 53 68 6F 72 74 4E 61 6D 65 01 74 54 0E 0B // ..ShortName.tT.. - 44 65 73 63 72 69 70 74 69 6F 6E 21 53 70 65 63 // Description!Spec - 69 66 69 65 73 20 74 68 65 20 66 72 61 6D 65 77 // ifies the framew - 6F 72 6B 20 74 6F 20 74 61 72 67 65 74 ) // ork to target + .field private class NAnt.Core.BuildEventHandler TargetStarted + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default string NAnt.Core.CommandLineOptions::get_TargetFramework () - .set instance default void NAnt.Core.CommandLineOptions::set_TargetFramework (string 'value') - } - .property instance string DefaultFramework () - { - .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( - 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 10 // ........T..Name. - 64 65 66 61 75 6C 74 66 72 61 6D 65 77 6F 72 6B // defaultframework - 54 0E 09 53 68 6F 72 74 4E 61 6D 65 01 6B 54 0E // T..ShortName.kT. - 0B 44 65 73 63 72 69 70 74 69 6F 6E 21 53 70 65 // .Description!Spe - 63 69 66 69 65 73 20 74 68 65 20 66 72 61 6D 65 // cifies the frame - 77 6F 72 6B 20 74 6F 20 74 61 72 67 65 74 ) // work to target + .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2A 55 73 65 20 74 68 65 20 2D 5B 74 5D 61 // ..*Use the -[t]a - 72 67 65 74 66 72 61 6D 65 77 6F 72 6B 20 6F 70 // rgetframework op - 74 69 6F 6E 20 69 6E 73 74 65 61 64 2E 00 00 00 ) // tion instead.... + .field private class NAnt.Core.BuildEventHandler TargetFinished + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default string NAnt.Core.CommandLineOptions::get_DefaultFramework () - .set instance default void NAnt.Core.CommandLineOptions::set_DefaultFramework (string 'value') - } - .property instance string BuildFile () - { - .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( - 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 09 // ........T..Name. - 62 75 69 6C 64 66 69 6C 65 54 0E 09 53 68 6F 72 // buildfileT..Shor - 74 4E 61 6D 65 01 66 54 0E 0B 44 65 73 63 72 69 // tName.fT..Descri - 70 74 69 6F 6E 13 55 73 65 20 67 69 76 65 6E 20 // ption.Use given - 62 75 69 6C 64 66 69 6C 65 ) // buildfile + .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ - .get instance default string NAnt.Core.CommandLineOptions::get_BuildFile () - .set instance default void NAnt.Core.CommandLineOptions::set_BuildFile (string 'value') - } - .property instance bool Pause () - { - .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( - 01 00 00 00 00 00 02 00 54 0E 04 4E 61 6D 65 05 // ........T..Name. - 70 61 75 73 65 54 0E 0B 44 65 73 63 72 69 70 74 // pauseT..Descript - 69 6F 6E 1A 50 61 75 73 65 73 20 62 65 66 6F 72 // ion.Pauses befor - 65 20 70 72 6F 67 72 61 6D 20 65 6E 64 73 ) // e program ends + .field private class NAnt.Core.BuildEventHandler TaskStarted + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.CommandLineOptions::get_Pause () - .set instance default void NAnt.Core.CommandLineOptions::set_Pause (bool 'value') - } - .property instance bool Verbose () - { - .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( - 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 07 // ........T..Name. - 76 65 72 62 6F 73 65 54 0E 09 53 68 6F 72 74 4E // verboseT..ShortN - 61 6D 65 01 76 54 0E 0B 44 65 73 63 72 69 70 74 // ame.vT..Descript - 69 6F 6E 2E 44 69 73 70 6C 61 79 73 20 6D 6F 72 // ion.Displays mor - 65 20 69 6E 66 6F 72 6D 61 74 69 6F 6E 20 64 75 // e information du - 72 69 6E 67 20 62 75 69 6C 64 20 70 72 6F 63 65 // ring build proce - 73 73 ) // ss + .custom instance void class [mscorlib]System.Diagnostics.DebuggerBrowsableAttribute::'.ctor'(valuetype [mscorlib]System.Diagnostics.DebuggerBrowsableState) = (01 00 00 00 00 00 00 00 ) // ........ - .get instance default bool NAnt.Core.CommandLineOptions::get_Verbose () - .set instance default void NAnt.Core.CommandLineOptions::set_Verbose (bool 'value') - } - .property instance bool Debug () - { - .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( - 01 00 00 00 00 00 02 00 54 0E 04 4E 61 6D 65 05 // ........T..Name. - 64 65 62 75 67 54 0E 0B 44 65 73 63 72 69 70 74 // debugT..Descript - 69 6F 6E 2F 44 69 73 70 6C 61 79 73 20 64 65 62 // ion/Displays deb - 75 67 20 69 6E 66 6F 72 6D 61 74 69 6F 6E 20 64 // ug information d - 75 72 69 6E 67 20 62 75 69 6C 64 20 70 72 6F 63 // uring build proc - 65 73 73 ) // ess + .field private class NAnt.Core.BuildEventHandler TaskFinished + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Core.CommandLineOptions::get_Debug () - .set instance default void NAnt.Core.CommandLineOptions::set_Debug (bool 'value') - } - .property instance bool Quiet () - { - .custom instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) = ( - 01 00 00 00 00 00 03 00 54 0E 04 4E 61 6D 65 05 // ........T..Name. - 71 75 69 65 74 54 0E 09 53 68 6F 72 74 4E 61 6D // quietT..ShortNam - 65 01 71 54 0E 0B 44 65 73 63 72 69 70 74 69 6F // e.qT..Descriptio - 6E 3C 44 69 73 70 6C 61 79 73 20 6F 6E 6C 79 20 // n ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit TaskBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder - { - .field private initonly string _className - .field private string _taskName + IL_0029: ret + } // end of method Project::add_BuildStarted - // method line 2298 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed + // method line 2294 + .method public hidebysig specialname + instance default void remove_BuildStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x2badf - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x2aca0 + // Code size 42 (0x2a) + .maxstack 3 + .locals init ( + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) - IL_0007: ldarg.2 - IL_0008: call instance void class NAnt.Core.TaskBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly, string) - IL_000d: nop - IL_000e: ret - } // end of method TaskBuilder::.ctor + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - // method line 2299 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed + IL_0029: ret + } // end of method Project::remove_BuildStarted + + // method line 2295 + .method public hidebysig specialname + instance default void add_BuildFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x2baef - // Code size 16 (0x10) - .maxstack 8 + // Method begins at RVA 0x2acd8 + // Code size 42 (0x2a) + .maxstack 3 + .locals init ( + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld string NAnt.Core.TaskBuilder::_className - IL_000f: ret - } // end of method TaskBuilder::.ctor + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - // method line 2300 + IL_0029: ret + } // end of method Project::add_BuildFinished + + // method line 2296 .method public hidebysig specialname - instance default string get_ClassName () cil managed + instance default void remove_BuildFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x2bb00 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2ad10 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.TaskBuilder::_className - IL_0007: stloc.0 - IL_0008: br IL_000d + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TaskBuilder::get_ClassName + IL_0029: ret + } // end of method Project::remove_BuildFinished - // method line 2301 + // method line 2297 .method public hidebysig specialname - instance default string get_TaskName () cil managed + instance default void add_TargetStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x2bb1c - // Code size 78 (0x4e) - .maxstack 2 + // Method begins at RVA 0x2ad48 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - class NAnt.Core.Attributes.TaskNameAttribute V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.TaskBuilder::_taskName - IL_0007: brtrue IL_0040 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0013: ldarg.0 - IL_0014: call instance string class NAnt.Core.TaskBuilder::get_ClassName() - IL_0019: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) - IL_001e: ldtoken NAnt.Core.Attributes.TaskNameAttribute - IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0028: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_002d: castclass NAnt.Core.Attributes.TaskNameAttribute - IL_0032: stloc.0 - IL_0033: ldarg.0 - IL_0034: ldloc.0 - IL_0035: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_003a: stfld string NAnt.Core.TaskBuilder::_taskName - IL_003f: nop - IL_0040: ldarg.0 - IL_0041: ldfld string NAnt.Core.TaskBuilder::_taskName - IL_0046: stloc.1 - IL_0047: br IL_004c + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - IL_004c: ldloc.1 - IL_004d: ret - } // end of method TaskBuilder::get_TaskName + IL_0029: ret + } // end of method Project::add_TargetStarted - // method line 2302 - .method public hidebysig - instance default class NAnt.Core.Task CreateTask () cil managed + // method line 2298 + .method public hidebysig specialname + instance default void remove_TargetStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x2bb78 - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 70 (0x46) - .maxstack 8 + // Method begins at RVA 0x2ad80 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - class NAnt.Core.Task V_0, - class NAnt.Core.Extensibility.IPluginConsumer V_1, - class NAnt.Core.Task V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.Core.TaskBuilder::get_ClassName() - IL_000d: ldc.i4.1 - IL_000e: ldc.i4.s 0x14 - IL_0010: ldnull - IL_0011: ldnull - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0017: ldnull - IL_0018: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) - IL_001d: castclass NAnt.Core.Task - IL_0022: stloc.0 - IL_0023: ldloc.0 - IL_0024: isinst NAnt.Core.Extensibility.IPluginConsumer - IL_0029: stloc.1 - IL_002a: ldloc.1 - IL_002b: brfalse IL_003d - - IL_0030: nop - IL_0031: call class NAnt.Core.Extensibility.PluginScanner class NAnt.Core.TypeFactory::get_PluginScanner() - IL_0036: ldloc.1 - IL_0037: callvirt instance void class NAnt.Core.Extensibility.PluginScanner::RegisterPlugins(class NAnt.Core.Extensibility.IPluginConsumer) - IL_003c: nop - IL_003d: ldloc.0 - IL_003e: stloc.2 - IL_003f: br IL_0044 + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - IL_0044: ldloc.2 - IL_0045: ret - } // end of method TaskBuilder::CreateTask + IL_0029: ret + } // end of method Project::remove_TargetStarted - .property instance string ClassName () - { - .get instance default string NAnt.Core.TaskBuilder::get_ClassName () - } - .property instance string TaskName () - { - .get instance default string NAnt.Core.TaskBuilder::get_TaskName () - } - } // end of class NAnt.Core.TaskBuilder -} + // method line 2299 + .method public hidebysig specialname + instance default void add_TargetFinished (class NAnt.Core.BuildEventHandler 'value') cil managed + { + // Method begins at RVA 0x2adb8 + // Code size 42 (0x2a) + .maxstack 3 + .locals init ( + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 -.namespace NAnt.Core -{ - .class public auto ansi abstract serializable beforefieldinit Task - extends NAnt.Core.Element - { - .field private static initonly class [log4net]log4net.ILog logger - .field private bool _failOnError - .field private bool _verbose - .field private bool _ifDefined - .field private bool _unlessDefined - .field private valuetype NAnt.Core.Level _threshold + IL_0029: ret + } // end of method Project::add_TargetFinished - // method line 2303 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 2300 + .method public hidebysig specialname + instance default void remove_TargetFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0xdd83 - // Code size 32 (0x20) - .maxstack 8 + // Method begins at RVA 0x2adf0 + // Code size 42 (0x2a) + .maxstack 3 + .locals init ( + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Task::_failOnError - IL_0007: ldarg.0 - IL_0008: ldc.i4.1 - IL_0009: stfld bool NAnt.Core.Task::_ifDefined - IL_000e: ldarg.0 - IL_000f: ldc.i4 1000 - IL_0014: stfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold - IL_0019: ldarg.0 - IL_001a: call instance void class NAnt.Core.Element::'.ctor'() - IL_001f: ret - } // end of method Task::.ctor + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 + + IL_0029: ret + } // end of method Project::remove_TargetFinished - // method line 2304 + // method line 2301 .method public hidebysig specialname - instance default bool get_FailOnError () cil managed + instance default void add_TaskStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0xdda4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2ae28 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Task::_failOnError - IL_0007: stloc.0 - IL_0008: br IL_000d + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Task::get_FailOnError + IL_0029: ret + } // end of method Project::add_TaskStarted - // method line 2305 + // method line 2302 .method public hidebysig specialname - instance default void set_FailOnError (bool 'value') cil managed - { - // Method begins at RVA 0xddbf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Task::_failOnError - IL_0008: ret - } // end of method Task::set_FailOnError - - // method line 2306 - .method public virtual hidebysig newslot specialname - instance default bool get_Verbose () cil managed + instance default void remove_TaskStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0xddcc - // Code size 34 (0x22) - .maxstack 1 + // Method begins at RVA 0x2ae60 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Task::_verbose - IL_0007: brtrue IL_0019 - - IL_000c: ldarg.0 - IL_000d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0012: callvirt instance bool class NAnt.Core.Project::get_Verbose() - IL_0017: br.s IL_001a - - IL_0019: ldc.i4.1 - IL_001a: stloc.0 - IL_001b: br IL_0020 - - IL_0020: ldloc.0 - IL_0021: ret - } // end of method Task::get_Verbose + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - // method line 2307 - .method public virtual hidebysig newslot specialname - instance default void set_Verbose (bool 'value') cil managed - { - // Method begins at RVA 0xddfa - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Task::_verbose - IL_0008: ret - } // end of method Task::set_Verbose + IL_0029: ret + } // end of method Project::remove_TaskStarted - // method line 2308 + // method line 2303 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default void add_TaskFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0xde04 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2ae98 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Task::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Task::get_IfDefined + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - // method line 2309 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0xde1f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Task::_ifDefined - IL_0008: ret - } // end of method Task::set_IfDefined + IL_0029: ret + } // end of method Project::add_TaskFinished - // method line 2310 + // method line 2304 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default void remove_TaskFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0xde2c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2aed0 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Task::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Task::get_UnlessDefined + IL_0029: ret + } // end of method Project::remove_TaskFinished - // method line 2311 + // method line 2305 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0xde47 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Task::_unlessDefined - IL_0008: ret - } // end of method Task::set_UnlessDefined - - // method line 2312 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed + instance default void add_MessageLogged (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0xde54 - // Code size 54 (0x36) - .maxstack 2 + // Method begins at RVA 0x2af08 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - string V_0, - class NAnt.Core.Attributes.TaskNameAttribute V_1, - string V_2) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance class [mscorlib]System.Type object::GetType() - IL_0009: ldtoken NAnt.Core.Attributes.TaskNameAttribute - IL_000e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0013: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0018: castclass NAnt.Core.Attributes.TaskNameAttribute - IL_001d: stloc.1 - IL_001e: ldloc.1 - IL_001f: brfalse IL_002d - - IL_0024: nop - IL_0025: ldloc.1 - IL_0026: callvirt instance string class NAnt.Core.Attributes.ElementNameAttribute::get_Name() - IL_002b: stloc.0 - IL_002c: nop - IL_002d: ldloc.0 - IL_002e: stloc.2 - IL_002f: br IL_0034 + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Combine(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - IL_0034: ldloc.2 - IL_0035: ret - } // end of method Task::get_Name + IL_0029: ret + } // end of method Project::add_MessageLogged - // method line 2313 + // method line 2306 .method public hidebysig specialname - instance default string get_LogPrefix () cil managed + instance default void remove_MessageLogged (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0xde98 - // Code size 48 (0x30) + // Method begins at RVA 0x2af40 + // Code size 42 (0x2a) .maxstack 3 .locals init ( - string V_0, - string V_1) - IL_0000: nop - IL_0001: ldstr "[" - IL_0006: ldarg.0 - IL_0007: callvirt instance string class NAnt.Core.Element::get_Name() - IL_000c: ldstr "] " - IL_0011: call string string::Concat(string, string, string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: ldarg.0 - IL_0019: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001e: callvirt instance int32 class NAnt.Core.Project::get_IndentationSize() - IL_0023: callvirt instance string string::PadLeft(int32) - IL_0028: stloc.1 - IL_0029: br IL_002e + class NAnt.Core.BuildEventHandler V_0, + class NAnt.Core.BuildEventHandler V_1) + IL_0000: ldarg.0 + IL_0001: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: stloc.1 + IL_0009: ldarg.0 + IL_000a: ldflda class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: call class [mscorlib]System.Delegate class [mscorlib]System.Delegate::Remove(class [mscorlib]System.Delegate, class [mscorlib]System.Delegate) + IL_0016: castclass NAnt.Core.BuildEventHandler + IL_001b: ldloc.0 + IL_001c: call !!0 class [mscorlib]System.Threading.Interlocked::CompareExchange ([out] !!0&, !!0, !!0) + IL_0021: stloc.0 + IL_0022: ldloc.0 + IL_0023: ldloc.1 + IL_0024: bne.un IL_0007 - IL_002e: ldloc.1 - IL_002f: ret - } // end of method Task::get_LogPrefix + IL_0029: ret + } // end of method Project::remove_MessageLogged - // method line 2314 + // method line 2307 .method public hidebysig specialname - instance default valuetype NAnt.Core.Level get_Threshold () cil managed + instance default int32 get_IndentationLevel () cil managed { - // Method begins at RVA 0xded4 + // Method begins at RVA 0x2af78 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Level V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold + IL_0002: ldfld int32 NAnt.Core.Project::_indentationLevel IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Task::get_Threshold + } // end of method Project::get_IndentationLevel - // method line 2315 + // method line 2308 .method public hidebysig specialname - instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed - { - // Method begins at RVA 0xdeef - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold - IL_0008: ret - } // end of method Task::set_Threshold - - // method line 2316 - .method assembly hidebysig specialname - instance default class NAnt.Core.TaskBuilder get_TaskBuilder () cil managed - { - // Method begins at RVA 0xdefc - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - class NAnt.Core.TaskBuilder V_0) - IL_0000: nop - IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0006: ldarg.0 - IL_0007: callvirt instance string class NAnt.Core.Element::get_Name() - IL_000c: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method Task::get_TaskBuilder - - // method line 2317 - .method public hidebysig - instance default void Execute () cil managed + instance default int32 get_IndentationSize () cil managed { - // Method begins at RVA 0xdf24 - // Code size 329 (0x149) - .maxstack 4 + // Method begins at RVA 0x2af94 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Exception V_0, - string V_1, - class [mscorlib]System.Exception V_2, - int32 V_3) + int32 V_0) IL_0000: nop - IL_0001: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger - IL_0006: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000b: ldstr "String_TaskExecute" - IL_0010: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0015: ldarg.0 - IL_0016: callvirt instance string class NAnt.Core.Element::get_Name() - IL_001b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0020: callvirt instance void class [log4net]log4net.ILog::Debug(object) - IL_0025: ldarg.0 - IL_0026: call instance bool class NAnt.Core.Task::get_IfDefined() - IL_002b: brfalse IL_0148 - - IL_0030: ldarg.0 - IL_0031: call instance bool class NAnt.Core.Task::get_UnlessDefined() - IL_0036: brtrue IL_0148 - - IL_003b: nop - .try { // 1 - .try { // 0 - IL_003c: nop - IL_003d: ldarg.0 - IL_003e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0043: ldarg.0 - IL_0044: ldarg.0 - IL_0045: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Task) - IL_004a: callvirt instance void class NAnt.Core.Project::OnTaskStarted(object, class NAnt.Core.BuildEventArgs) - IL_004f: ldarg.0 - IL_0050: callvirt instance void class NAnt.Core.Task::ExecuteTask() - IL_0055: nop - IL_0056: leave IL_0147 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_005b: stloc.0 - IL_005c: nop - IL_005d: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger - IL_0062: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0067: ldstr "NA1077" - IL_006c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0071: ldarg.0 - IL_0072: callvirt instance string class NAnt.Core.Element::get_Name() - IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_007c: ldloc.0 - IL_007d: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) - IL_0082: ldarg.0 - IL_0083: call instance bool class NAnt.Core.Task::get_FailOnError() - IL_0088: brfalse IL_0090 - - IL_008d: nop - IL_008e: rethrow - IL_0090: nop - IL_0091: ldarg.0 - IL_0092: callvirt instance bool class NAnt.Core.Task::get_Verbose() - IL_0097: brfalse IL_00b4 - - IL_009c: nop - IL_009d: ldarg.0 - IL_009e: ldc.i4 5000 - IL_00a3: ldloc.0 - IL_00a4: callvirt instance string object::ToString() - IL_00a9: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_00ae: nop - IL_00af: br IL_012b - - IL_00b4: nop - IL_00b5: ldloc.0 - IL_00b6: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_00bb: stloc.1 - IL_00bc: ldloc.0 - IL_00bd: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_00c2: stloc.2 - IL_00c3: ldc.i4.0 - IL_00c4: stloc.3 - IL_00c5: br IL_0108 - - IL_00ca: nop - IL_00cb: ldloc.3 - IL_00cc: ldc.i4.4 - IL_00cd: add - IL_00ce: stloc.3 - IL_00cf: ldloc.1 - IL_00d0: brfalse IL_00e5 - - IL_00d5: ldloc.1 - IL_00d6: call string class [mscorlib]System.Environment::get_NewLine() - IL_00db: call string string::Concat(string, string) - IL_00e0: br IL_00ea - - IL_00e5: ldsfld string [mscorlib]System.String::Empty - IL_00ea: stloc.1 - IL_00eb: ldloc.1 - IL_00ec: ldc.i4.s 0x20 - IL_00ee: ldloc.3 - IL_00ef: newobj instance void string::'.ctor'(char, int32) - IL_00f4: ldloc.2 - IL_00f5: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_00fa: call string string::Concat(string, string, string) - IL_00ff: stloc.1 - IL_0100: ldloc.2 - IL_0101: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_0106: stloc.2 - IL_0107: nop - IL_0108: ldloc.2 - IL_0109: brfalse IL_011e - - IL_010e: ldloc.2 - IL_010f: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0114: call bool string::IsNullOrEmpty(string) - IL_0119: brfalse IL_00ca + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Project::_indentationSize + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_011e: ldarg.0 - IL_011f: ldc.i4 5000 - IL_0124: ldloc.1 - IL_0125: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_012a: nop - IL_012b: nop - IL_012c: nop - IL_012d: leave IL_0147 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_IndentationSize - } // end handler 0 - } // end .try 1 - finally { // 1 - IL_0132: nop - IL_0133: ldarg.0 - IL_0134: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0139: ldarg.0 - IL_013a: ldarg.0 - IL_013b: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Task) - IL_0140: callvirt instance void class NAnt.Core.Project::OnTaskFinished(object, class NAnt.Core.BuildEventArgs) - IL_0145: nop - IL_0146: endfinally - } // end handler 1 - IL_0147: nop - IL_0148: ret - } // end of method Task::Execute + // method line 2309 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Level get_Threshold () cil managed + { + // Method begins at RVA 0x2afb0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.Level V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 2318 - .method public virtual hidebysig - instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_Threshold + + // method line 2310 + .method public hidebysig specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed { - // Method begins at RVA 0xe098 - // Code size 104 (0x68) - .maxstack 4 + // Method begins at RVA 0x2afcb + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance bool class NAnt.Core.Task::IsLogEnabledFor(valuetype NAnt.Core.Level) - IL_0008: brtrue IL_0013 + IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.Project::_threshold + IL_0008: ret + } // end of method Project::set_Threshold - IL_000d: nop - IL_000e: br IL_0067 + // method line 2311 + .method public hidebysig specialname + instance default string get_ProjectName () cil managed + { + // Method begins at RVA 0x2afd8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Project::_projectName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldarg.0 - IL_0014: ldfld bool NAnt.Core.Task::_verbose - IL_0019: brfalse IL_0057 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_ProjectName - IL_001e: ldarg.1 - IL_001f: ldc.i4 2000 - IL_0024: bne.un IL_0057 + // method line 2312 + .method public hidebysig specialname + instance default string get_BaseDirectory () cil managed + { + // Method begins at RVA 0x2aff4 + // Code size 83 (0x53) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Project::_baseDirectory + IL_0007: brtrue IL_0014 - IL_0029: ldarg.0 - IL_002a: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_002f: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() - IL_0034: ldc.i4 3000 - IL_0039: bne.un IL_0057 + IL_000c: nop + IL_000d: ldnull + IL_000e: stloc.0 + IL_000f: br IL_0051 - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() + IL_0014: ldarg.0 + IL_0015: ldfld string NAnt.Core.Project::_baseDirectory + IL_001a: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_001f: brtrue IL_0045 + + IL_0024: nop + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() + IL_002a: ldstr "Invalid base directory '{0}'. The project base directorymust be rooted." + IL_002f: ldarg.0 + IL_0030: ldfld string NAnt.Core.Project::_baseDirectory + IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003a: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_003f: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0044: throw IL_0045: ldarg.0 - IL_0046: ldc.i4 3000 - IL_004b: ldarg.2 - IL_004c: callvirt instance void class NAnt.Core.Project::Log(class NAnt.Core.Task, valuetype NAnt.Core.Level, string) - IL_0051: nop - IL_0052: br IL_0067 + IL_0046: ldfld string NAnt.Core.Project::_baseDirectory + IL_004b: stloc.0 + IL_004c: br IL_0051 - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_005e: ldarg.0 - IL_005f: ldarg.1 - IL_0060: ldarg.2 - IL_0061: callvirt instance void class NAnt.Core.Project::Log(class NAnt.Core.Task, valuetype NAnt.Core.Level, string) - IL_0066: nop - IL_0067: ret - } // end of method Task::Log + IL_0051: ldloc.0 + IL_0052: ret + } // end of method Project::get_BaseDirectory - // method line 2319 - .method public virtual hidebysig - instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed + // method line 2313 + .method public hidebysig specialname + instance default void set_BaseDirectory (string 'value') cil managed { - // Method begins at RVA 0xe10c - // Code size 23 (0x17) - .maxstack 3 + // Method begins at RVA 0x2b054 + // Code size 67 (0x43) + .maxstack 5 .locals init ( string V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldarg.2 - IL_0007: ldarg.3 - IL_0008: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_000d: stloc.0 - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldloc.0 - IL_0011: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string) - IL_0016: ret - } // end of method Task::Log + IL_0001: ldarg.1 + IL_0002: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0007: brtrue IL_0028 - // method line 2320 - .method public hidebysig - instance default bool IsLogEnabledFor (valuetype NAnt.Core.Level messageLevel) cil managed + IL_000c: nop + IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InstalledUICulture() + IL_0012: ldstr "Invalid base directory '{0}'. The project base directorymust be rooted." + IL_0017: ldarg.1 + IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_001d: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0022: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0027: throw + IL_0028: ldarg.0 + IL_0029: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_002e: ldstr "nant.project.basedir" + IL_0033: ldarg.0 + IL_0034: ldarg.1 + IL_0035: dup + IL_0036: stloc.0 + IL_0037: stfld string NAnt.Core.Project::_baseDirectory + IL_003c: ldloc.0 + IL_003d: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0042: ret + } // end of method Project::set_BaseDirectory + + // method line 2314 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed { - // Method begins at RVA 0xe130 - // Code size 66 (0x42) - .maxstack 2 + // Method begins at RVA 0x2b0a4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class [System.Xml]System.Xml.XmlNamespaceManager V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Task::_verbose - IL_0007: brfalse IL_002e + IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::_nsMgr + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldarg.1 - IL_000d: ldc.i4 2000 - IL_0012: bne.un IL_002e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_NamespaceManager - IL_0017: nop - IL_0018: ldc.i4 3000 - IL_001d: ldarg.0 - IL_001e: call instance valuetype NAnt.Core.Level class NAnt.Core.Task::get_Threshold() - IL_0023: clt - IL_0025: ldc.i4.0 - IL_0026: ceq - IL_0028: stloc.0 - IL_0029: br IL_0040 + // method line 2315 + .method public hidebysig specialname + instance default class [System]System.Uri get_BuildFileUri () cil managed + { + // Method begins at RVA 0x2b0c0 + // Code size 85 (0x55) + .maxstack 3 + .locals init ( + class [System]System.Uri V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() + IL_0007: brfalse IL_0021 - IL_002e: ldarg.1 - IL_002f: ldarg.0 - IL_0030: call instance valuetype NAnt.Core.Level class NAnt.Core.Task::get_Threshold() - IL_0035: clt - IL_0037: ldc.i4.0 - IL_0038: ceq - IL_003a: stloc.0 - IL_003b: br IL_0040 + IL_000c: ldarg.0 + IL_000d: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() + IL_0012: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() + IL_0017: call bool string::IsNullOrEmpty(string) + IL_001c: brfalse IL_0029 - IL_0040: ldloc.0 - IL_0041: ret - } // end of method Task::IsLogEnabledFor + IL_0021: nop + IL_0022: ldnull + IL_0023: stloc.0 + IL_0024: br IL_0053 - // method line 2321 - .method public hidebysig - instance default void InitializeTaskConfiguration () cil managed + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() + IL_0030: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() + IL_0035: ldstr "#" + IL_003a: ldc.i4.s 0x23 + IL_003c: call string class [System]System.Uri::HexEscape(char) + IL_0041: callvirt instance string string::Replace(string, string) + IL_0046: stloc.1 + IL_0047: ldloc.1 + IL_0048: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_004d: stloc.0 + IL_004e: br IL_0053 + + IL_0053: ldloc.0 + IL_0054: ret + } // end of method Project::get_BuildFileUri + + // method line 2316 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfoDictionary get_Frameworks () cil managed { - // Method begins at RVA 0xe180 - // Code size 832 (0x340) - .maxstack 7 + // Method begins at RVA 0x2b124 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Reflection.PropertyInfo[] V_0, - class [mscorlib]System.Reflection.PropertyInfo V_1, - class [mscorlib]System.Reflection.PropertyInfo[] V_2, - int32 V_3, - class [System.Xml]System.Xml.XmlNode V_4, - string V_5, - class NAnt.Core.Attributes.FrameworkConfigurableAttribute V_6, - class [mscorlib]System.Exception V_7, - class [mscorlib]System.Type V_8, - object[] V_9, - class NAnt.Core.Attributes.ValidatorAttribute V_10, - object[] V_11, - int32 V_12, - class NAnt.Core.ValidationException V_13, - object V_14, - class [System]System.ComponentModel.TypeConverter V_15, - string V_16, - object V_17, - class [mscorlib]System.Collections.IEnumerator V_18, - class [mscorlib]System.IDisposable V_19) + class NAnt.Core.FrameworkInfoDictionary V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Type object::GetType() - IL_0007: ldc.i4.s 0x14 - IL_0009: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_000e: stloc.0 - IL_000f: nop - IL_0010: ldloc.0 - IL_0011: stloc.2 - IL_0012: ldc.i4.0 - IL_0013: stloc.3 - IL_0014: br IL_0336 + IL_0002: ldfld class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::_frameworks + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0019: ldloc.2 - IL_001a: ldloc.3 - IL_001b: ldelem.ref - IL_001c: stloc.1 - IL_001d: nop - IL_001e: ldnull - IL_001f: stloc.s 4 - IL_0021: ldnull - IL_0022: stloc.s 5 - IL_0024: ldloc.1 - IL_0025: ldtoken NAnt.Core.Attributes.FrameworkConfigurableAttribute - IL_002a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002f: call class [mscorlib]System.Attribute class [mscorlib]System.Attribute::GetCustomAttribute(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0034: castclass NAnt.Core.Attributes.FrameworkConfigurableAttribute - IL_0039: stloc.s 6 - IL_003b: ldloc.s 6 - IL_003d: brfalse IL_0331 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_Frameworks - IL_0042: nop - IL_0043: ldarg.0 - IL_0044: ldarg.0 - IL_0045: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_004a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_004f: ldloc.s 6 - IL_0051: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() - IL_0056: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class NAnt.Core.FrameworkInfo, string) - IL_005b: stloc.s 4 - IL_005d: ldloc.s 4 - IL_005f: brfalse IL_0105 + // method line 2317 + .method assembly hidebysig + instance default class NAnt.Core.FrameworkInfo[] GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed + { + // Method begins at RVA 0x2b140 + // Code size 411 (0x19b) + .maxstack 3 + .locals init ( + class [mscorlib]System.Collections.ArrayList V_0, + class NAnt.Core.FrameworkInfo V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + valuetype NAnt.Core.ClrType V_3, + valuetype NAnt.Core.VendorType V_4, + class [mscorlib]System.IDisposable V_5, + class NAnt.Core.FrameworkInfo[] V_6, + class NAnt.Core.FrameworkInfo[] V_7) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_0007: callvirt instance int32 class NAnt.Core.FrameworkInfoDictionary::get_Count() + IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0011: stloc.0 + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_0019: callvirt instance class [mscorlib]System.Collections.ICollection class NAnt.Core.FrameworkInfoDictionary::get_Values() + IL_001e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0023: stloc.2 + .try { // 0 + IL_0024: br IL_0149 - IL_0064: nop - IL_0065: ldloc.s 4 - IL_0067: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_006c: stloc.s 5 - IL_006e: ldloc.s 6 - IL_0070: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_ExpandProperties() - IL_0075: brfalse IL_00ff + IL_0029: ldloc.2 + IL_002a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_002f: castclass NAnt.Core.FrameworkInfo + IL_0034: stloc.1 + IL_0035: nop + IL_0036: ldarg.1 + IL_0037: ldc.i4.3 + IL_0038: and + IL_0039: brfalse IL_0070 - IL_007a: ldarg.0 - IL_007b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0080: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0085: brfalse IL_00ff + IL_003e: nop + IL_003f: ldarg.1 + IL_0040: ldc.i4.2 + IL_0041: and + IL_0042: brtrue IL_0057 - IL_008a: nop - .try { // 0 - IL_008b: nop - IL_008c: ldarg.0 - IL_008d: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0092: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_0097: callvirt instance class NAnt.Core.Project class NAnt.Core.FrameworkInfo::get_Project() - IL_009c: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00a1: ldloc.s 5 - IL_00a3: ldarg.0 - IL_00a4: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00a9: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_00ae: stloc.s 5 - IL_00b0: nop - IL_00b1: leave IL_00fe + IL_0047: ldloc.1 + IL_0048: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() + IL_004d: brfalse IL_0057 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_00b6: stloc.s 7 - IL_00b8: nop - IL_00b9: ldloc.s 6 - IL_00bb: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() - IL_00c0: brfalse IL_00f5 + IL_0052: leave IL_0149 - IL_00c5: nop - IL_00c6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00cb: ldstr "NA1075" - IL_00d0: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00d5: ldloc.s 6 - IL_00d7: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() - IL_00dc: ldarg.0 - IL_00dd: callvirt instance string class NAnt.Core.Element::get_Name() - IL_00e2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00e7: ldarg.0 - IL_00e8: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00ed: ldloc.s 7 - IL_00ef: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00f4: throw - IL_00f5: ldnull - IL_00f6: stloc.s 5 - IL_00f8: nop - IL_00f9: leave IL_00fe + IL_0057: ldarg.1 + IL_0058: ldc.i4.1 + IL_0059: and + IL_005a: brtrue IL_006f - } // end handler 0 - IL_00fe: nop - IL_00ff: nop - IL_0100: br IL_013c + IL_005f: ldloc.1 + IL_0060: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() + IL_0065: brtrue IL_006f - IL_0105: nop - IL_0106: ldloc.s 6 - IL_0108: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() - IL_010d: brfalse IL_013b + IL_006a: leave IL_0149 - IL_0112: nop - IL_0113: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0118: ldstr "'{0}' is a required framework configuration setting for the '{1}' build element that should be set in the NAnt configuration file." - IL_011d: ldloc.s 6 - IL_011f: callvirt instance string class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name() - IL_0124: ldarg.0 - IL_0125: callvirt instance string class NAnt.Core.Element::get_Name() - IL_012a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_012f: ldarg.0 - IL_0130: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0135: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_013a: throw - IL_013b: nop - IL_013c: ldloc.s 5 - IL_013e: brfalse IL_0330 + IL_006f: nop + IL_0070: ldarg.1 + IL_0071: ldc.i4.s 0x1c + IL_0073: and + IL_0074: brfalse IL_00f2 + + IL_0079: nop + IL_007a: ldloc.1 + IL_007b: callvirt instance valuetype NAnt.Core.ClrType class NAnt.Core.FrameworkInfo::get_ClrType() + IL_0080: stloc.3 + IL_0081: ldloc.3 + IL_0082: ldc.i4.1 + IL_0083: sub + IL_0084: switch ( + IL_00ac, + IL_009a, + IL_00be) + IL_0095: br IL_00d1 + + IL_009a: ldarg.1 + IL_009b: ldc.i4.8 + IL_009c: and + IL_009d: brtrue IL_00a7 + + IL_00a2: leave IL_0149 + + IL_00a7: leave IL_00f1 + + IL_00ac: ldarg.1 + IL_00ad: ldc.i4.4 + IL_00ae: and + IL_00af: brtrue IL_00b9 + + IL_00b4: leave IL_0149 + + IL_00b9: leave IL_00f1 + + IL_00be: ldarg.1 + IL_00bf: ldc.i4.s 0x10 + IL_00c1: and + IL_00c2: brtrue IL_00cc + + IL_00c7: leave IL_0149 + + IL_00cc: leave IL_00f1 + + IL_00d1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00d6: ldstr "CLR type '{0}' is not supported." + IL_00db: ldloc.1 + IL_00dc: callvirt instance valuetype NAnt.Core.ClrType class NAnt.Core.FrameworkInfo::get_ClrType() + IL_00e1: box NAnt.Core.ClrType + IL_00e6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00eb: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_00f0: throw + IL_00f1: nop + IL_00f2: ldarg.1 + IL_00f3: ldc.i4.s 0x60 + IL_00f5: and + IL_00f6: brfalse IL_0140 + + IL_00fb: nop + IL_00fc: ldloc.1 + IL_00fd: callvirt instance valuetype NAnt.Core.VendorType class NAnt.Core.FrameworkInfo::get_Vendor() + IL_0102: stloc.s 4 + IL_0104: ldloc.s 4 + IL_0106: ldc.i4.2 + IL_0107: beq IL_0119 - IL_0143: nop - IL_0144: ldloc.1 - IL_0145: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_014a: brfalse IL_032f + IL_010c: ldloc.s 4 + IL_010e: ldc.i4.1 + IL_010f: beq IL_012c - IL_014f: nop - IL_0150: ldloc.1 - IL_0151: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_0156: stloc.s 8 - IL_0158: ldloc.1 - IL_0159: ldtoken NAnt.Core.Attributes.ValidatorAttribute - IL_015e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0163: call class [mscorlib]System.Attribute[] class [mscorlib]System.Attribute::GetCustomAttributes(class [mscorlib]System.Reflection.MemberInfo, class [mscorlib]System.Type) - IL_0168: castclass class NAnt.Core.Attributes.ValidatorAttribute[] - IL_016d: stloc.s 9 - .try { // 1 - IL_016f: nop - IL_0170: nop - IL_0171: ldloc.s 9 - IL_0173: stloc.s 11 - IL_0175: ldc.i4.0 - IL_0176: stloc.s 12 - IL_0178: br IL_01cc + IL_0114: br IL_013f - IL_017d: ldloc.s 11 - IL_017f: ldloc.s 12 - IL_0181: ldelem.ref - IL_0182: castclass NAnt.Core.Attributes.ValidatorAttribute - IL_0187: stloc.s 10 - IL_0189: nop - IL_018a: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger - IL_018f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0194: ldstr "NA1074" - IL_0199: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_019e: ldloc.s 5 - IL_01a0: ldarg.0 - IL_01a1: callvirt instance string class NAnt.Core.Element::get_Name() - IL_01a6: ldloc.s 10 - IL_01a8: callvirt instance class [mscorlib]System.Type object::GetType() - IL_01ad: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() - IL_01b2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_01b7: callvirt instance void class [log4net]log4net.ILog::Info(object) - IL_01bc: ldloc.s 10 - IL_01be: ldloc.s 5 - IL_01c0: callvirt instance void class NAnt.Core.Attributes.ValidatorAttribute::Validate(object) - IL_01c5: nop - IL_01c6: ldloc.s 12 - IL_01c8: ldc.i4.1 - IL_01c9: add - IL_01ca: stloc.s 12 - IL_01cc: ldloc.s 12 - IL_01ce: ldloc.s 11 - IL_01d0: ldlen - IL_01d1: conv.i4 - IL_01d2: blt IL_017d + IL_0119: ldarg.1 + IL_011a: ldc.i4.s 0x20 + IL_011c: and + IL_011d: brtrue IL_0127 - IL_01d7: nop - IL_01d8: leave IL_0214 + IL_0122: leave IL_0149 - } // end .try 1 - catch class NAnt.Core.ValidationException { // 1 - IL_01dd: stloc.s 13 - IL_01df: nop - IL_01e0: ldsfld class [log4net]log4net.ILog NAnt.Core.Task::logger - IL_01e5: ldstr "Validation Exception" - IL_01ea: ldloc.s 13 - IL_01ec: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) - IL_01f1: ldstr "Validation failed on" - IL_01f6: ldloc.1 - IL_01f7: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_01fc: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0201: call string string::Concat(string, string) - IL_0206: ldarg.0 - IL_0207: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_020c: ldloc.s 13 - IL_020e: newobj instance void class NAnt.Core.ValidationException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0213: throw - } // end handler 1 - IL_0214: ldnull - IL_0215: stloc.s 14 - IL_0217: ldloc.s 8 - IL_0219: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_021e: brfalse IL_0306 + IL_0127: leave IL_013f - IL_0223: nop - .try { // 3 - IL_0224: nop - IL_0225: ldloc.s 8 - IL_0227: call class [System]System.ComponentModel.TypeConverter class [System]System.ComponentModel.TypeDescriptor::GetConverter(class [mscorlib]System.Type) - IL_022c: stloc.s 15 - IL_022e: ldloc.s 15 - IL_0230: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0235: ldtoken [System]System.ComponentModel.EnumConverter - IL_023a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_023f: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0244: brtrue IL_025b + IL_012c: ldarg.1 + IL_012d: ldc.i4.s 0x40 + IL_012f: and + IL_0130: brtrue IL_013a - IL_0249: nop - IL_024a: ldloc.s 15 - IL_024c: ldloc.s 5 - IL_024e: callvirt instance object class [System]System.ComponentModel.TypeConverter::ConvertFrom(object) - IL_0253: stloc.s 14 - IL_0255: nop - IL_0256: br IL_0268 + IL_0135: leave IL_0149 - IL_025b: nop - IL_025c: ldloc.s 8 - IL_025e: ldloc.s 5 - IL_0260: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string) - IL_0265: stloc.s 14 - IL_0267: nop - IL_0268: nop - IL_0269: leave IL_0300 + IL_013a: leave IL_013f - } // end .try 3 - catch class [mscorlib]System.Exception { // 3 - IL_026e: pop - IL_026f: nop - IL_0270: ldstr "Invalid configuration value \"" - IL_0275: ldloc.s 5 - IL_0277: ldstr "\". Valid values for this attribute are: " - IL_027c: call string string::Concat(string, string, string) - IL_0281: stloc.s 16 - IL_0283: nop - IL_0284: ldloc.s 8 - IL_0286: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) - IL_028b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() - IL_0290: stloc.s 18 - .try { // 2 - IL_0292: br IL_02b7 + IL_013f: nop + IL_0140: ldloc.0 + IL_0141: ldloc.1 + IL_0142: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0147: pop + IL_0148: nop + IL_0149: ldloc.2 + IL_014a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_014f: brtrue IL_0029 - IL_0297: ldloc.s 18 - IL_0299: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_029e: stloc.s 17 - IL_02a0: nop - IL_02a1: ldloc.s 16 - IL_02a3: ldloc.s 17 - IL_02a5: callvirt instance string object::ToString() - IL_02aa: ldstr ", " - IL_02af: call string string::Concat(string, string, string) - IL_02b4: stloc.s 16 - IL_02b6: nop - IL_02b7: ldloc.s 18 - IL_02b9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02be: brtrue IL_0297 + IL_0154: leave IL_016f - IL_02c3: leave IL_02df + } // end .try 0 + finally { // 0 + IL_0159: ldloc.2 + IL_015a: isinst [mscorlib]System.IDisposable + IL_015f: dup + IL_0160: stloc.s 5 + IL_0162: brfalse IL_016e - } // end .try 2 - finally { // 2 - IL_02c8: ldloc.s 18 - IL_02ca: isinst [mscorlib]System.IDisposable - IL_02cf: dup - IL_02d0: stloc.s 19 - IL_02d2: brfalse IL_02de + IL_0167: ldloc.s 5 + IL_0169: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_016e: endfinally + } // end handler 0 + IL_016f: ldloc.0 + IL_0170: call class [mscorlib]System.Collections.IComparer class NAnt.Core.FrameworkInfo::get_NameComparer() + IL_0175: callvirt instance void class [mscorlib]System.Collections.ArrayList::Sort(class [mscorlib]System.Collections.IComparer) + IL_017a: ldloc.0 + IL_017b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0180: newarr NAnt.Core.FrameworkInfo + IL_0185: stloc.s 6 + IL_0187: ldloc.0 + IL_0188: ldloc.s 6 + IL_018a: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array) + IL_018f: ldloc.s 6 + IL_0191: stloc.s 7 + IL_0193: br IL_0198 - IL_02d7: ldloc.s 19 - IL_02d9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02de: endfinally - } // end handler 2 - IL_02df: ldloc.s 16 - IL_02e1: ldc.i4.0 - IL_02e2: ldloc.s 16 - IL_02e4: callvirt instance int32 string::get_Length() - IL_02e9: ldc.i4.2 - IL_02ea: sub - IL_02eb: callvirt instance string string::Substring(int32, int32) - IL_02f0: stloc.s 16 - IL_02f2: ldloc.s 16 - IL_02f4: ldarg.0 - IL_02f5: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_02fa: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_02ff: throw - } // end handler 3 - IL_0300: nop - IL_0301: br IL_031c + IL_0198: ldloc.s 7 + IL_019a: ret + } // end of method Project::GetFrameworks - IL_0306: nop - IL_0307: ldloc.s 5 - IL_0309: ldloc.1 - IL_030a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() - IL_030f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0314: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) - IL_0319: stloc.s 14 - IL_031b: nop - IL_031c: ldloc.1 - IL_031d: ldarg.0 - IL_031e: ldloc.s 14 - IL_0320: ldc.i4.s 0x14 - IL_0322: ldnull - IL_0323: ldnull - IL_0324: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0329: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) - IL_032e: nop - IL_032f: nop - IL_0330: nop - IL_0331: nop - IL_0332: ldloc.3 - IL_0333: ldc.i4.1 - IL_0334: add - IL_0335: stloc.3 - IL_0336: ldloc.3 - IL_0337: ldloc.2 - IL_0338: ldlen - IL_0339: conv.i4 - IL_033a: blt IL_0019 + // method line 2318 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_RuntimeFramework () cil managed + { + // Method begins at RVA 0x2b304 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.FrameworkInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_runtimeFramework + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_033f: ret - } // end of method Task::InitializeTaskConfiguration + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_RuntimeFramework - // method line 2322 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 2319 + .method public hidebysig specialname + instance default void set_RuntimeFramework (class NAnt.Core.FrameworkInfo 'value') cil managed { - // Method begins at RVA 0xe500 - // Code size 14 (0xe) + // Method begins at RVA 0x2b31f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() - IL_0008: callvirt instance void class NAnt.Core.Task::InitializeTask(class [System.Xml]System.Xml.XmlNode) - IL_000d: ret - } // end of method Task::Initialize + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_runtimeFramework + IL_0008: ret + } // end of method Project::set_RuntimeFramework - // method line 2323 - .method family virtual hidebysig newslot - instance default void InitializeTask (class [System.Xml]System.Xml.XmlNode taskNode) cil managed + // method line 2320 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_TargetFramework () cil managed { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 24 44 65 70 72 65 63 61 74 65 64 2E 20 55 // ..$Deprecated. U - 73 65 20 49 6E 69 74 69 61 6C 69 7A 65 28 29 20 // se Initialize() - 69 6E 73 74 65 61 64 00 00 ) // instead.. + // Method begins at RVA 0x2b32c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.FrameworkInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_targetFramework + IL_0007: stloc.0 + IL_0008: br IL_000d - // Method begins at RVA 0xe50f - // Code size 2 (0x2) + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_TargetFramework + + // method line 2321 + .method public hidebysig specialname + instance default void set_TargetFramework (class NAnt.Core.FrameworkInfo 'value') cil managed + { + // Method begins at RVA 0x2b347 + // Code size 39 (0x27) .maxstack 8 IL_0000: nop - IL_0001: ret - } // end of method Task::InitializeTask + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - // method line 2324 - .method family virtual hidebysig newslot abstract - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x0 - } // end of method Task::ExecuteTask + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: stfld class NAnt.Core.FrameworkInfo NAnt.Core.Project::_targetFramework + IL_0020: ldarg.0 + IL_0021: call instance void class NAnt.Core.Project::UpdateTargetFrameworkProperties() + IL_0026: ret + } // end of method Project::set_TargetFramework - // method line 2325 - .method family virtual hidebysig - instance default class [System.Xml]System.Xml.XmlNode GetAttributeConfigurationNode (class NAnt.Core.FrameworkInfo framework, string attributeName) cil managed + // method line 2322 + .method public hidebysig specialname + instance default string get_PlatformName () cil managed { - // Method begins at RVA 0xe514 - // Code size 56 (0x38) + // Method begins at RVA 0x2b370 + // Code size 118 (0x76) .maxstack 4 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [System.Xml]System.Xml.XmlNode V_1) + string V_0, + valuetype [mscorlib]System.PlatformID V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.TaskBuilder class NAnt.Core.Task::get_TaskBuilder() - IL_0007: callvirt instance class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly() - IL_000c: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Extensibility.ExtensionAssembly::get_ConfigurationSection() + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsWin32 + IL_0006: brfalse IL_0017 + + IL_000b: nop + IL_000c: ldstr "win32" IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: brfalse IL_0028 + IL_0012: br IL_0074 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldloc.0 - IL_001b: ldarg.1 - IL_001c: ldarg.2 - IL_001d: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.FrameworkInfo, string) - IL_0022: stloc.1 - IL_0023: br IL_0036 + IL_0017: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_001c: brfalse IL_002d - IL_0028: ldarg.0 - IL_0029: ldarg.1 - IL_002a: ldarg.2 - IL_002b: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::GetAttributeConfigurationNode(class NAnt.Core.FrameworkInfo, string) - IL_0030: stloc.1 - IL_0031: br IL_0036 + IL_0021: nop + IL_0022: ldstr "unix" + IL_0027: stloc.0 + IL_0028: br IL_0074 - IL_0036: ldloc.1 - IL_0037: ret - } // end of method Task::GetAttributeConfigurationNode + IL_002d: nop + IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0033: ldstr "NA1060" + IL_0038: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_003d: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_0042: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_0047: stloc.1 + IL_0048: ldloca.s 1 + IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004f: constrained. [mscorlib]System.PlatformID + IL_0055: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) + IL_005a: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_005f: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_0064: box [mscorlib]System.Int32 + IL_0069: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_006e: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0073: throw + IL_0074: ldloc.0 + IL_0075: ret + } // end of method Project::get_PlatformName - // method line 2326 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 2323 + .method public hidebysig specialname + instance default class NAnt.Core.Target get_CurrentTarget () cil managed { - // Method begins at RVA 0xe558 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() - IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() - IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) - IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Task::logger - IL_0014: ret - } // end of method Task::.cctor - - .property instance bool FailOnError () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 66 61 69 6C 6F 6E 65 72 72 6F 72 00 00 ) // ...failonerror.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x2b3f4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Target V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default bool NAnt.Core.Task::get_FailOnError () - .set instance default void NAnt.Core.Task::set_FailOnError (bool 'value') - } - .property instance bool Verbose () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 76 65 72 62 6F 73 65 00 00 ) // ...verbose.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_CurrentTarget - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 2324 + .method public hidebysig specialname + instance default string get_BuildFileLocalName () cil managed + { + // Method begins at RVA 0x2b410 + // Code size 62 (0x3e) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_0007: ldnull + IL_0008: call bool class [System]System.Uri::op_Inequality(class [System]System.Uri, class [System]System.Uri) + IL_000d: brfalse IL_0034 - .get instance default bool NAnt.Core.Task::get_Verbose () - .set instance default void NAnt.Core.Task::set_Verbose (bool 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + IL_0012: ldarg.0 + IL_0013: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_0018: callvirt instance bool class [System]System.Uri::get_IsFile() + IL_001d: brfalse IL_0034 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0022: nop + IL_0023: ldarg.0 + IL_0024: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_0029: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_002e: stloc.0 + IL_002f: br IL_003c - .get instance default bool NAnt.Core.Task::get_IfDefined () - .set instance default void NAnt.Core.Task::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + IL_0034: nop + IL_0035: ldnull + IL_0036: stloc.0 + IL_0037: br IL_003c - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_003c: ldloc.0 + IL_003d: ret + } // end of method Project::get_BuildFileLocalName - .get instance default bool NAnt.Core.Task::get_UnlessDefined () - .set instance default void NAnt.Core.Task::set_UnlessDefined (bool 'value') - } - .property instance string Name () - { - .get instance default string NAnt.Core.Task::get_Name () - } - .property instance string LogPrefix () - { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 14 57 69 6C 6C 20 62 65 20 72 65 6D 6F 76 // ...Will be remov - 65 64 20 73 6F 6F 6E 00 00 00 ) // ed soon... + // method line 2325 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlDocument get_Document () cil managed + { + // Method begins at RVA 0x2b45c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System.Xml]System.Xml.XmlDocument V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlDocument NAnt.Core.Project::_doc + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default string NAnt.Core.Task::get_LogPrefix () - } - .property instance valuetype NAnt.Core.Level Threshold () - { - .get instance default valuetype NAnt.Core.Level NAnt.Core.Task::get_Threshold () - .set instance default void NAnt.Core.Task::set_Threshold (valuetype NAnt.Core.Level 'value') - } - .property instance class NAnt.Core.TaskBuilder TaskBuilder () - { - .get instance default class NAnt.Core.TaskBuilder NAnt.Core.Task::get_TaskBuilder () - } - } // end of class NAnt.Core.Task -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_Document -.namespace NAnt.Core -{ - .class public auto ansi serializable beforefieldinit XmlLogger - extends [mscorlib]System.Object - implements NAnt.Core.IBuildLogger, [mscorlib]System.Runtime.Serialization.ISerializable, NAnt.Core.IBuildListener { - .field private initonly class NAnt.Core.Util.StopWatchStack _stopWatchStack - .field private class [mscorlib]System.IO.TextWriter _outputWriter - .field private class [mscorlib]System.IO.StringWriter _buffer - .field private valuetype NAnt.Core.Level _threshold - .field private notserialized class [System.Xml]System.Xml.XmlTextWriter _xmlWriter - .field private class [mscorlib]System.Collections.Stack _projectStack + // method line 2326 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationNode () cil managed + { + // Method begins at RVA 0x2b478 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::_configurationNode + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_ConfigurationNode // method line 2327 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method public hidebysig specialname + instance default string get_DefaultTargetName () cil managed { - // Method begins at RVA 0x2bbca - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Util.DateTimeProvider::'.ctor'() - IL_0006: newobj instance void class NAnt.Core.Util.StopWatchStack::'.ctor'(class NAnt.Core.Util.DateTimeProvider) - IL_000b: call instance void class NAnt.Core.XmlLogger::'.ctor'(class NAnt.Core.Util.StopWatchStack) - IL_0010: nop - IL_0011: ret - } // end of method XmlLogger::.ctor + // Method begins at RVA 0x2b494 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Project::_defaultTargetName + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_DefaultTargetName // method line 2328 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.StopWatchStack stopWatchStack) cil managed + .method public hidebysig specialname + instance default bool get_Verbose () cil managed { - // Method begins at RVA 0x2bbe0 - // Code size 65 (0x41) + // Method begins at RVA 0x2b4b0 + // Code size 25 (0x19) .maxstack 2 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() - IL_0006: stfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_000b: ldarg.0 - IL_000c: ldc.i4 3000 - IL_0011: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold - IL_0016: ldarg.0 - IL_0017: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() - IL_001c: stfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack - IL_0021: ldarg.0 - IL_0022: call instance void object::'.ctor'() - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldarg.0 - IL_002a: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_002f: newobj instance void class [System.Xml]System.Xml.XmlTextWriter::'.ctor'(class [mscorlib]System.IO.TextWriter) - IL_0034: stfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0039: ldarg.0 - IL_003a: ldarg.1 - IL_003b: stfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack - IL_0040: ret - } // end of method XmlLogger::.ctor + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4 2000 + IL_0006: ldarg.0 + IL_0007: call instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_000c: clt + IL_000e: ldc.i4.0 + IL_000f: ceq + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method Project::get_Verbose // method line 2329 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_BuildTargets () cil managed { - // Method begins at RVA 0x2bc30 - // Code size 186 (0xba) - .maxstack 4 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() - IL_0006: stfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_000b: ldarg.0 - IL_000c: ldc.i4 3000 - IL_0011: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold - IL_0016: ldarg.0 - IL_0017: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() - IL_001c: stfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack - IL_0021: ldarg.0 - IL_0022: call instance void object::'.ctor'() - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldarg.1 - IL_002a: ldstr "OutputWriter" - IL_002f: ldtoken [mscorlib]System.IO.TextWriter - IL_0034: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0039: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_003e: isinst [mscorlib]System.IO.TextWriter - IL_0043: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter - IL_0048: ldarg.0 - IL_0049: ldarg.1 - IL_004a: ldstr "Buffer" - IL_004f: ldtoken [mscorlib]System.IO.StringWriter - IL_0054: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0059: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_005e: isinst [mscorlib]System.IO.StringWriter - IL_0063: stfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_0068: ldarg.0 - IL_0069: ldarg.1 - IL_006a: ldstr "Threshold" - IL_006f: ldtoken NAnt.Core.Level - IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0079: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_007e: unbox.any NAnt.Core.Level - IL_0083: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold - IL_0088: ldarg.0 - IL_0089: ldarg.0 - IL_008a: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_008f: newobj instance void class [System.Xml]System.Xml.XmlTextWriter::'.ctor'(class [mscorlib]System.IO.TextWriter) - IL_0094: stfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0099: ldarg.0 - IL_009a: ldarg.1 - IL_009b: ldstr "ProjectStack" - IL_00a0: ldtoken [mscorlib]System.Collections.Stack - IL_00a5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00aa: callvirt instance object class [mscorlib]System.Runtime.Serialization.SerializationInfo::GetValue(string, class [mscorlib]System.Type) - IL_00af: castclass [mscorlib]System.Collections.Stack - IL_00b4: stfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack - IL_00b9: ret - } // end of method XmlLogger::.ctor + // Method begins at RVA 0x2b4d8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::_buildTargets + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_BuildTargets // method line 2330 - .method public final virtual hidebysig newslot - instance default void GetObjectData (class [mscorlib]System.Runtime.Serialization.SerializationInfo info, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext context) cil managed + .method public hidebysig specialname + instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed { - // Method begins at RVA 0x2bcf8 - // Code size 75 (0x4b) - .maxstack 3 + // Method begins at RVA 0x2b4f4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.PropertyDictionary V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "OutputWriter" - IL_0007: ldarg.0 - IL_0008: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter - IL_000d: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0012: ldarg.1 - IL_0013: ldstr "Buffer" - IL_0018: ldarg.0 - IL_0019: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_001e: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0023: ldarg.1 - IL_0024: ldstr "Threshold" - IL_0029: ldarg.0 - IL_002a: ldfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold - IL_002f: box NAnt.Core.Level - IL_0034: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_0039: ldarg.1 - IL_003a: ldstr "ProjectStack" - IL_003f: ldarg.0 - IL_0040: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack - IL_0045: callvirt instance void class [mscorlib]System.Runtime.Serialization.SerializationInfo::AddValue(string, object) - IL_004a: ret - } // end of method XmlLogger::GetObjectData + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_properties + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_Properties // method line 2331 - .method public virtual hidebysig - instance default string ToString () cil managed + .method public hidebysig specialname + instance default class NAnt.Core.PropertyDictionary get_FrameworkNeutralProperties () cil managed { - // Method begins at RVA 0x2bd50 - // Code size 20 (0x14) + // Method begins at RVA 0x2b510 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.PropertyDictionary V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_0007: callvirt instance string object::ToString() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_frameworkNeutralProperties + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XmlLogger::ToString + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_FrameworkNeutralProperties // method line 2332 - .method public final virtual hidebysig newslot - instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + .method public hidebysig specialname + instance default class NAnt.Core.DataTypeBaseDictionary get_DataTypeReferences () cil managed { - // Method begins at RVA 0x2bd70 - // Code size 102 (0x66) - .maxstack 3 + // Method begins at RVA 0x2b52c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - object V_0, - bool V_1) + class NAnt.Core.DataTypeBaseDictionary V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0002: ldfld class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::_dataTypeReferences IL_0007: stloc.0 - IL_0008: ldc.i4.0 - IL_0009: stloc.1 - .try { // 0 - IL_000a: ldloc.0 - IL_000b: ldloca.s 1 - IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack - IL_0019: callvirt instance void class NAnt.Core.Util.StopWatchStack::PushStart() - IL_001e: ldarg.0 - IL_001f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0024: ldstr "buildresults" - IL_0029: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_002e: ldarg.0 - IL_002f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0034: ldstr "project" - IL_0039: ldarg.2 - IL_003a: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() - IL_003f: callvirt instance string class NAnt.Core.Project::get_ProjectName() - IL_0044: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0049: nop - IL_004a: leave IL_0059 - - } // end .try 0 - finally { // 0 - IL_004f: ldloc.1 - IL_0050: brfalse.s IL_0058 + IL_0008: br IL_000d - IL_0052: ldloc.0 - IL_0053: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0058: endfinally - } // end handler 0 - IL_0059: ldarg.0 - IL_005a: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack - IL_005f: ldnull - IL_0060: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) - IL_0065: ret - } // end of method XmlLogger::BuildStarted + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_DataTypeReferences // method line 2333 - .method public final virtual hidebysig newslot - instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + .method public hidebysig specialname + instance default class NAnt.Core.TargetCollection get_Targets () cil managed { - // Method begins at RVA 0x2bdf4 - // Code size 332 (0x14c) - .maxstack 4 + // Method begins at RVA 0x2b548 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - object V_0, - bool V_1, - string V_2, - class [mscorlib]System.IO.StreamWriter V_3, - class [mscorlib]System.Exception V_4) + class NAnt.Core.TargetCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0002: ldfld class NAnt.Core.TargetCollection NAnt.Core.Project::_targets IL_0007: stloc.0 - IL_0008: ldc.i4.0 - IL_0009: stloc.1 - .try { // 0 - IL_000a: ldloc.0 - IL_000b: ldloca.s 1 - IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0012: nop - IL_0013: ldarg.2 - IL_0014: callvirt instance class [mscorlib]System.Exception class NAnt.Core.BuildEventArgs::get_Exception() - IL_0019: brfalse IL_0047 + IL_0008: br IL_000d - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0025: ldstr "failure" - IL_002a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_002f: ldarg.0 - IL_0030: ldarg.2 - IL_0031: callvirt instance class [mscorlib]System.Exception class NAnt.Core.BuildEventArgs::get_Exception() - IL_0036: call instance void class NAnt.Core.XmlLogger::WriteErrorNode(class [mscorlib]System.Exception) - IL_003b: ldarg.0 - IL_003c: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0041: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_0046: nop - IL_0047: ldarg.0 - IL_0048: call instance void class NAnt.Core.XmlLogger::WriteDuration() - IL_004d: ldarg.0 - IL_004e: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0053: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_0058: ldarg.0 - IL_0059: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_005e: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_0063: nop - IL_0064: leave IL_0073 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_Targets - } // end .try 0 - finally { // 0 - IL_0069: ldloc.1 - IL_006a: brfalse.s IL_0072 + // method line 2334 + .method public hidebysig specialname + instance default class NAnt.Core.BuildListenerCollection get_BuildListeners () cil managed + { + // Method begins at RVA 0x2b564 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.BuildListenerCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.BuildListenerCollection NAnt.Core.Project::_buildListeners + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_006c: ldloc.0 - IL_006d: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0072: endfinally - } // end handler 0 - IL_0073: ldarg.0 - IL_0074: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack - IL_0079: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_007e: pop - IL_007f: ldarg.0 - IL_0080: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.XmlLogger::_projectStack - IL_0085: callvirt instance int32 class [mscorlib]System.Collections.Stack::get_Count() - IL_008a: brfalse IL_0095 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_BuildListeners - IL_008f: nop - IL_0090: br IL_014b + // method line 2335 + .method assembly hidebysig specialname + instance default class NAnt.Core.LocationMap get_LocationMap () cil managed + { + // Method begins at RVA 0x2b580 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.LocationMap V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.LocationMap NAnt.Core.Project::_locationMap + IL_0007: stloc.0 + IL_0008: br IL_000d - .try { // 2 - IL_0095: nop - IL_0096: ldarg.0 - IL_0097: call instance class [mscorlib]System.IO.TextWriter class NAnt.Core.XmlLogger::get_OutputWriter() - IL_009c: brfalse IL_00c9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Project::get_LocationMap - IL_00a1: nop - IL_00a2: ldarg.0 - IL_00a3: call instance class [mscorlib]System.IO.TextWriter class NAnt.Core.XmlLogger::get_OutputWriter() - IL_00a8: ldarg.0 - IL_00a9: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_00ae: callvirt instance string object::ToString() - IL_00b3: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_00b8: ldarg.0 - IL_00b9: call instance class [mscorlib]System.IO.TextWriter class NAnt.Core.XmlLogger::get_OutputWriter() - IL_00be: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_00c3: nop - IL_00c4: br IL_0135 + // method line 2336 + .method public hidebysig + instance default class NAnt.Core.Location GetLocation (class [System.Xml]System.Xml.XmlNode node) cil managed + { + // Method begins at RVA 0x2b59c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + class NAnt.Core.Location V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00c9: nop - IL_00ca: ldarg.2 - IL_00cb: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() - IL_00d0: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_00d5: ldstr "XmlLogger.file" - IL_00da: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) - IL_00df: stloc.2 - IL_00e0: ldloc.2 - IL_00e1: brtrue IL_00ee + IL_0013: ldloc.0 + IL_0014: ret + } // end of method Project::GetLocation - IL_00e6: nop - IL_00e7: ldstr "log.xml" - IL_00ec: stloc.2 - IL_00ed: nop - IL_00ee: ldarg.2 - IL_00ef: callvirt instance class NAnt.Core.Project class NAnt.Core.BuildEventArgs::get_Project() - IL_00f4: ldloc.2 - IL_00f5: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_00fa: stloc.2 - IL_00fb: ldloc.2 - IL_00fc: ldc.i4.2 - IL_00fd: ldc.i4.2 - IL_00fe: ldc.i4.1 - IL_00ff: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) - IL_0104: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() - IL_0109: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) - IL_010e: stloc.3 - .try { // 1 - IL_010f: nop - IL_0110: ldloc.3 - IL_0111: ldarg.0 - IL_0112: ldfld class [mscorlib]System.IO.StringWriter NAnt.Core.XmlLogger::_buffer - IL_0117: callvirt instance string object::ToString() - IL_011c: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_0121: nop - IL_0122: leave IL_0134 + // method line 2337 + .method public hidebysig + instance default void OnBuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x2b5bd + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted + IL_0007: brfalse IL_001b - } // end .try 1 - finally { // 1 - IL_0127: ldloc.3 - IL_0128: brfalse IL_0133 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildStarted + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) + IL_001a: nop + IL_001b: ret + } // end of method Project::OnBuildStarted + + // method line 2338 + .method public hidebysig + instance default void OnBuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x2b5da + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished + IL_0007: brfalse IL_001b + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::BuildFinished + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) + IL_001a: nop + IL_001b: ret + } // end of method Project::OnBuildFinished - IL_012d: ldloc.3 - IL_012e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0133: endfinally - } // end handler 1 - IL_0134: nop - IL_0135: nop - IL_0136: leave IL_014b + // method line 2339 + .method public hidebysig + instance default void OnTargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x2b5f7 + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted + IL_0007: brfalse IL_001b - } // end .try 2 - catch class [mscorlib]System.Exception { // 2 - IL_013b: stloc.s 4 - IL_013d: nop - IL_013e: ldstr "Unable to write to log file." - IL_0143: ldloc.s 4 - IL_0145: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) - IL_014a: throw - } // end handler 2 - IL_014b: ret - } // end of method XmlLogger::BuildFinished + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetStarted + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) + IL_001a: nop + IL_001b: ret + } // end of method Project::OnTargetStarted - // method line 2334 - .method public final virtual hidebysig newslot - instance default void TargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + // method line 2340 + .method public hidebysig + instance default void OnTargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x2bf74 - // Code size 91 (0x5b) - .maxstack 2 - .locals init ( - object V_0, - bool V_1) + // Method begins at RVA 0x2b614 + // Code size 28 (0x1c) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0007: stloc.0 - IL_0008: ldc.i4.0 - IL_0009: stloc.1 - .try { // 0 - IL_000a: ldloc.0 - IL_000b: ldloca.s 1 - IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack - IL_0019: callvirt instance void class NAnt.Core.Util.StopWatchStack::PushStart() - IL_001e: ldarg.0 - IL_001f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0024: ldstr "target" - IL_0029: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_002e: ldarg.0 - IL_002f: ldarg.2 - IL_0030: callvirt instance class NAnt.Core.Target class NAnt.Core.BuildEventArgs::get_Target() - IL_0035: callvirt instance string class NAnt.Core.Target::get_Name() - IL_003a: call instance void class NAnt.Core.XmlLogger::WriteNameAttribute(string) - IL_003f: ldarg.0 - IL_0040: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_004a: nop - IL_004b: leave IL_005a + IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished + IL_0007: brfalse IL_001b - } // end .try 0 - finally { // 0 - IL_0050: ldloc.1 - IL_0051: brfalse.s IL_0059 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TargetFinished + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) + IL_001a: nop + IL_001b: ret + } // end of method Project::OnTargetFinished - IL_0053: ldloc.0 - IL_0054: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0059: endfinally - } // end handler 0 - IL_005a: ret - } // end of method XmlLogger::TargetStarted + // method line 2341 + .method public hidebysig + instance default void OnTaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x2b631 + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted + IL_0007: brfalse IL_001b - // method line 2335 - .method public final virtual hidebysig newslot - instance default void TargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskStarted + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) + IL_001a: nop + IL_001b: ret + } // end of method Project::OnTaskStarted + + // method line 2342 + .method public hidebysig + instance default void OnTaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x2bfec - // Code size 64 (0x40) - .maxstack 2 - .locals init ( - object V_0, - bool V_1) + // Method begins at RVA 0x2b64e + // Code size 28 (0x1c) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0007: stloc.0 - IL_0008: ldc.i4.0 - IL_0009: stloc.1 - .try { // 0 - IL_000a: ldloc.0 - IL_000b: ldloca.s 1 - IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance void class NAnt.Core.XmlLogger::WriteDuration() - IL_0019: ldarg.0 - IL_001a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_001f: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_0024: ldarg.0 - IL_0025: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_002a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_002f: nop - IL_0030: leave IL_003f + IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished + IL_0007: brfalse IL_001b - } // end .try 0 - finally { // 0 - IL_0035: ldloc.1 - IL_0036: brfalse.s IL_003e + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::TaskFinished + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) + IL_001a: nop + IL_001b: ret + } // end of method Project::OnTaskFinished - IL_0038: ldloc.0 - IL_0039: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_003e: endfinally - } // end handler 0 - IL_003f: ret - } // end of method XmlLogger::TargetFinished + // method line 2343 + .method public hidebysig + instance default void OnMessageLogged (class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x2b66b + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged + IL_0007: brfalse IL_001b - // method line 2336 - .method public final virtual hidebysig newslot - instance default void TaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.BuildEventHandler NAnt.Core.Project::MessageLogged + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance void class NAnt.Core.BuildEventHandler::Invoke(object, class NAnt.Core.BuildEventArgs) + IL_001a: nop + IL_001b: ret + } // end of method Project::OnMessageLogged + + // method line 2344 + .method public hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x2c048 - // Code size 91 (0x5b) + // Method begins at RVA 0x2b688 + // Code size 30 (0x1e) .maxstack 2 .locals init ( - object V_0, - bool V_1) + class NAnt.Core.BuildEventArgs V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) IL_0007: stloc.0 - IL_0008: ldc.i4.0 - IL_0009: stloc.1 - .try { // 0 - IL_000a: ldloc.0 - IL_000b: ldloca.s 1 - IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack - IL_0019: callvirt instance void class NAnt.Core.Util.StopWatchStack::PushStart() - IL_001e: ldarg.0 - IL_001f: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0024: ldstr "task" - IL_0029: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_002e: ldarg.0 - IL_002f: ldarg.2 - IL_0030: callvirt instance class NAnt.Core.Task class NAnt.Core.BuildEventArgs::get_Task() - IL_0035: callvirt instance string class NAnt.Core.Element::get_Name() - IL_003a: call instance void class NAnt.Core.XmlLogger::WriteNameAttribute(string) - IL_003f: ldarg.0 - IL_0040: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_004a: nop - IL_004b: leave IL_005a + IL_0008: ldloc.0 + IL_0009: ldarg.2 + IL_000a: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) + IL_000f: ldloc.0 + IL_0010: ldarg.1 + IL_0011: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) + IL_0016: ldarg.0 + IL_0017: ldloc.0 + IL_0018: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) + IL_001d: ret + } // end of method Project::Log - } // end .try 0 - finally { // 0 - IL_0050: ldloc.1 - IL_0051: brfalse.s IL_0059 + // method line 2345 + .method public hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed + { + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0053: ldloc.0 - IL_0054: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0059: endfinally - } // end handler 0 - IL_005a: ret - } // end of method XmlLogger::TaskStarted + // Method begins at RVA 0x2b6b4 + // Code size 41 (0x29) + .maxstack 4 + .locals init ( + class NAnt.Core.BuildEventArgs V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000e: ldarg.2 + IL_000f: ldarg.3 + IL_0010: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0015: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) + IL_001a: ldloc.0 + IL_001b: ldarg.1 + IL_001c: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) + IL_0021: ldarg.0 + IL_0022: ldloc.0 + IL_0023: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) + IL_0028: ret + } // end of method Project::Log - // method line 2337 - .method public final virtual hidebysig newslot - instance default void TaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + // method line 2346 + .method public hidebysig + instance default void Log (class NAnt.Core.Task task, valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x2c0c0 - // Code size 64 (0x40) + // Method begins at RVA 0x2b6ec + // Code size 30 (0x1e) .maxstack 2 .locals init ( - object V_0, - bool V_1) + class NAnt.Core.BuildEventArgs V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter + IL_0001: ldarg.1 + IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Task) IL_0007: stloc.0 - IL_0008: ldc.i4.0 - IL_0009: stloc.1 - .try { // 0 - IL_000a: ldloc.0 - IL_000b: ldloca.s 1 - IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance void class NAnt.Core.XmlLogger::WriteDuration() - IL_0019: ldarg.0 - IL_001a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_001f: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_0024: ldarg.0 - IL_0025: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_002a: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_002f: nop - IL_0030: leave IL_003f - - } // end .try 0 - finally { // 0 - IL_0035: ldloc.1 - IL_0036: brfalse.s IL_003e - - IL_0038: ldloc.0 - IL_0039: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_003e: endfinally - } // end handler 0 - IL_003f: ret - } // end of method XmlLogger::TaskFinished + IL_0008: ldloc.0 + IL_0009: ldarg.3 + IL_000a: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) + IL_000f: ldloc.0 + IL_0010: ldarg.2 + IL_0011: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) + IL_0016: ldarg.0 + IL_0017: ldloc.0 + IL_0018: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) + IL_001d: ret + } // end of method Project::Log - // method line 2338 - .method private hidebysig - instance default void WriteDuration () cil managed + // method line 2347 + .method public hidebysig + instance default void Log (class NAnt.Core.Target target, valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x2c11c - // Code size 42 (0x2a) - .maxstack 3 + // Method begins at RVA 0x2b718 + // Code size 30 (0x1e) + .maxstack 2 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + class NAnt.Core.BuildEventArgs V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0007: ldstr "duration" - IL_000c: ldarg.0 - IL_000d: ldfld class NAnt.Core.Util.StopWatchStack NAnt.Core.XmlLogger::_stopWatchStack - IL_0012: callvirt instance valuetype [mscorlib]System.TimeSpan class NAnt.Core.Util.StopWatchStack::PopStop() - IL_0017: stloc.0 - IL_0018: ldloca.s 0 - IL_001a: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMilliseconds() - IL_001f: call string class [System.Xml]System.Xml.XmlConvert::ToString(float64) - IL_0024: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) - IL_0029: ret - } // end of method XmlLogger::WriteDuration + IL_0001: ldarg.1 + IL_0002: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Target) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldarg.3 + IL_000a: callvirt instance void class NAnt.Core.BuildEventArgs::set_Message(string) + IL_000f: ldloc.0 + IL_0010: ldarg.2 + IL_0011: callvirt instance void class NAnt.Core.BuildEventArgs::set_MessageLevel(valuetype NAnt.Core.Level) + IL_0016: ldarg.0 + IL_0017: ldloc.0 + IL_0018: call instance void class NAnt.Core.Project::OnMessageLogged(class NAnt.Core.BuildEventArgs) + IL_001d: ret + } // end of method Project::Log - // method line 2339 - .method public final virtual hidebysig newslot - instance default void MessageLogged (object sender, class NAnt.Core.BuildEventArgs e) cil managed + // method line 2348 + .method public virtual hidebysig newslot + instance default void Execute () cil managed { - // Method begins at RVA 0x2c154 - // Code size 238 (0xee) + // Method begins at RVA 0x2b744 + // Code size 352 (0x160) .maxstack 4 .locals init ( - string V_0, - object V_1, - bool V_2, - valuetype NAnt.Core.Level V_3) + class [mscorlib]System.Text.StringBuilder V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.BuildEventArgs::get_MessageLevel() - IL_0007: ldarg.0 - IL_0008: call instance valuetype NAnt.Core.Level class NAnt.Core.XmlLogger::get_Threshold() - IL_000d: blt IL_00ed + IL_0001: ldarg.0 + IL_0002: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_0007: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_000c: brtrue IL_0035 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldarg.2 - IL_0015: callvirt instance string class NAnt.Core.BuildEventArgs::get_Message() - IL_001a: callvirt instance string string::Trim() - IL_001f: call instance string class NAnt.Core.XmlLogger::StripFormatting(string) - IL_0024: stloc.0 - IL_0025: ldarg.0 - IL_0026: ldloc.0 - IL_0027: call instance bool class NAnt.Core.XmlLogger::IsJustWhiteSpace(string) - IL_002c: brfalse IL_0037 + IL_0011: ldarg.0 + IL_0012: call instance string class NAnt.Core.Project::get_DefaultTargetName() + IL_0017: call bool string::IsNullOrEmpty(string) + IL_001c: brtrue IL_0035 - IL_0031: nop - IL_0032: br IL_00ed + IL_0021: nop + IL_0022: ldarg.0 + IL_0023: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_0028: ldarg.0 + IL_0029: call instance string class NAnt.Core.Project::get_DefaultTargetName() + IL_002e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0033: pop + IL_0034: nop + IL_0035: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_003a: stloc.0 + IL_003b: ldarg.0 + IL_003c: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_0041: brfalse IL_009b - IL_0037: ldarg.0 - IL_0038: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_003d: stloc.1 - IL_003e: ldc.i4.0 - IL_003f: stloc.2 + IL_0046: nop + IL_0047: nop + IL_0048: ldarg.0 + IL_0049: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_004e: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0053: stloc.2 .try { // 0 - IL_0040: ldloc.1 - IL_0041: ldloca.s 2 - IL_0043: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0048: nop - IL_0049: ldarg.0 - IL_004a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_004f: ldstr "message" - IL_0054: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0059: ldarg.0 - IL_005a: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_005f: ldstr "level" - IL_0064: ldarg.2 - IL_0065: callvirt instance valuetype NAnt.Core.Level class NAnt.Core.BuildEventArgs::get_MessageLevel() - IL_006a: stloc.3 - IL_006b: ldloca.s 3 - IL_006d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0072: constrained. NAnt.Core.Level - IL_0078: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) - IL_007d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0082: ldarg.0 - IL_0083: ldloc.0 - IL_0084: call instance bool class NAnt.Core.XmlLogger::IsValidXml(string) - IL_0089: brfalse IL_00b2 - - IL_008e: nop - IL_008f: ldloc.0 - IL_0090: ldstr "<\\?.*\\?>" - IL_0095: ldsfld string [mscorlib]System.String::Empty - IL_009a: call string class [System]System.Text.RegularExpressions.Regex::Replace(string, string, string) - IL_009f: stloc.0 - IL_00a0: ldarg.0 - IL_00a1: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00a6: ldloc.0 - IL_00a7: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteRaw(string) - IL_00ac: nop - IL_00ad: br IL_00c6 + IL_0054: br IL_0076 - IL_00b2: nop - IL_00b3: ldarg.0 - IL_00b4: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00b9: ldarg.0 - IL_00ba: ldloc.0 - IL_00bb: call instance string class NAnt.Core.XmlLogger::StripCData(string) - IL_00c0: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) - IL_00c5: nop - IL_00c6: ldarg.0 - IL_00c7: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00cc: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_00d1: ldarg.0 - IL_00d2: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00d7: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_00dc: nop - IL_00dd: leave IL_00ec + IL_0059: ldloc.2 + IL_005a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_005f: stloc.1 + IL_0060: nop + IL_0061: ldloc.0 + IL_0062: ldloc.1 + IL_0063: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0068: pop + IL_0069: ldloc.0 + IL_006a: ldstr " " + IL_006f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0074: pop + IL_0075: nop + IL_0076: ldloc.2 + IL_0077: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_007c: brtrue IL_0059 + + IL_0081: leave IL_009a } // end .try 0 finally { // 0 - IL_00e2: ldloc.2 - IL_00e3: brfalse.s IL_00eb + IL_0086: ldloc.2 + IL_0087: isinst [mscorlib]System.IDisposable + IL_008c: dup + IL_008d: stloc.3 + IL_008e: brfalse IL_0099 - IL_00e5: ldloc.1 - IL_00e6: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_00eb: endfinally + IL_0093: ldloc.3 + IL_0094: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0099: endfinally } // end handler 0 - IL_00ec: nop - IL_00ed: ret - } // end of method XmlLogger::MessageLogged + IL_009a: nop + IL_009b: ldloc.0 + IL_009c: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_00a1: ldc.i4.0 + IL_00a2: ble IL_00d9 - // method line 2340 - .method public final virtual hidebysig newslot specialname - instance default valuetype NAnt.Core.Level get_Threshold () cil managed - { - // Method begins at RVA 0x2c260 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.Level V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00a7: nop + IL_00a8: ldarg.0 + IL_00a9: ldc.i4 3000 + IL_00ae: ldstr "Target(s) specified: " + IL_00b3: ldloc.0 + IL_00b4: callvirt instance string object::ToString() + IL_00b9: call string string::Concat(string, string) + IL_00be: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) + IL_00c3: ldarg.0 + IL_00c4: ldc.i4 3000 + IL_00c9: ldsfld string [mscorlib]System.String::Empty + IL_00ce: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) + IL_00d3: nop + IL_00d4: br IL_00eb - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlLogger::get_Threshold + IL_00d9: nop + IL_00da: ldarg.0 + IL_00db: ldc.i4 3000 + IL_00e0: ldsfld string [mscorlib]System.String::Empty + IL_00e5: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) + IL_00ea: nop + IL_00eb: ldarg.0 + IL_00ec: ldarg.0 + IL_00ed: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.Core.Project::get_Document() + IL_00f2: call instance void class NAnt.Core.Project::InitializeProjectDocument(class [System.Xml]System.Xml.XmlDocument) + IL_00f7: ldarg.0 + IL_00f8: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_00fd: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0102: brtrue IL_010e - // method line 2341 - .method public final virtual hidebysig newslot specialname - instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed - { - // Method begins at RVA 0x2c27b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold - IL_0008: ret - } // end of method XmlLogger::set_Threshold + IL_0107: nop + IL_0108: nop + IL_0109: br IL_015f - // method line 2342 - .method public virtual hidebysig newslot specialname - instance default bool get_EmacsMode () cil managed - { - // Method begins at RVA 0x2c288 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_010e: nop + IL_010f: nop + IL_0110: ldarg.0 + IL_0111: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Project::get_BuildTargets() + IL_0116: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_011b: stloc.s 5 + .try { // 1 + IL_011d: br IL_0136 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method XmlLogger::get_EmacsMode + IL_0122: ldloc.s 5 + IL_0124: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0129: stloc.s 4 + IL_012b: nop + IL_012c: ldarg.0 + IL_012d: ldloc.s 4 + IL_012f: ldc.i4.0 + IL_0130: call instance void class NAnt.Core.Project::Execute(string, bool) + IL_0135: nop + IL_0136: ldloc.s 5 + IL_0138: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_013d: brtrue IL_0122 - // method line 2343 - .method public virtual hidebysig newslot specialname - instance default void set_EmacsMode (bool 'value') cil managed - { - // Method begins at RVA 0x2c29e - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method XmlLogger::set_EmacsMode + IL_0142: leave IL_015e - // method line 2344 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed - { - // Method begins at RVA 0x2c2a4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.TextWriter V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 1 + finally { // 1 + IL_0147: ldloc.s 5 + IL_0149: isinst [mscorlib]System.IDisposable + IL_014e: dup + IL_014f: stloc.s 6 + IL_0151: brfalse IL_015d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlLogger::get_OutputWriter + IL_0156: ldloc.s 6 + IL_0158: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_015d: endfinally + } // end handler 1 + IL_015e: nop + IL_015f: ret + } // end of method Project::Execute - // method line 2345 - .method public final virtual hidebysig newslot specialname - instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + // method line 2349 + .method public hidebysig + instance default void Execute (string targetName) cil managed { - // Method begins at RVA 0x2c2bf - // Code size 9 (0x9) + // Method begins at RVA 0x2b8cc + // Code size 10 (0xa) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter - IL_0008: ret - } // end of method XmlLogger::set_OutputWriter + IL_0003: ldc.i4.1 + IL_0004: call instance void class NAnt.Core.Project::Execute(string, bool) + IL_0009: ret + } // end of method Project::Execute - // method line 2346 - .method public final virtual hidebysig newslot - instance default void Flush () cil managed + // method line 2350 + .method public hidebysig + instance default void Execute (string targetName, bool forceDependencies) cil managed { - // Method begins at RVA 0x2c2cc - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0x2b8d8 + // Code size 117 (0x75) + .maxstack 4 .locals init ( - object V_0, - bool V_1) + class NAnt.Core.TargetCollection V_0, + int32 V_1, + class NAnt.Core.Target V_2, + class NAnt.Core.Target V_3) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0007: stloc.0 - IL_0008: ldc.i4.0 - IL_0009: stloc.1 - .try { // 0 - IL_000a: ldloc.0 - IL_000b: ldloca.s 1 - IL_000d: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0019: callvirt instance void class [System.Xml]System.Xml.XmlWriter::Flush() - IL_001e: nop - IL_001f: leave IL_002e + IL_0002: ldarg.1 + IL_0003: ldarg.0 + IL_0004: call instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() + IL_0009: call instance class NAnt.Core.TargetCollection class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection) + IL_000e: stloc.0 + IL_000f: ldc.i4.0 + IL_0010: stloc.1 + IL_0011: ldarg.0 + IL_0012: ldfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget + IL_0017: stloc.3 + IL_0018: nop + IL_0019: ldloc.0 + IL_001a: ldloc.1 + IL_001b: dup + IL_001c: ldc.i4.1 + IL_001d: add + IL_001e: stloc.1 + IL_001f: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_0024: castclass NAnt.Core.Target + IL_0029: stloc.2 + IL_002a: ldarg.0 + IL_002b: ldloc.2 + IL_002c: stfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget + IL_0031: ldarg.2 + IL_0032: brtrue IL_0053 - } // end .try 0 - finally { // 0 - IL_0024: ldloc.1 - IL_0025: brfalse.s IL_002d + IL_0037: ldloc.2 + IL_0038: callvirt instance bool class NAnt.Core.Target::get_Executed() + IL_003d: brfalse IL_0053 - IL_0027: ldloc.0 - IL_0028: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_002d: endfinally - } // end handler 0 - IL_002e: ret - } // end of method XmlLogger::Flush + IL_0042: ldloc.2 + IL_0043: callvirt instance string class NAnt.Core.Target::get_Name() + IL_0048: ldarg.1 + IL_0049: call bool string::op_Equality(string, string) + IL_004e: brfalse IL_005b - // method line 2347 + IL_0053: nop + IL_0054: ldloc.2 + IL_0055: callvirt instance void class NAnt.Core.Target::Execute() + IL_005a: nop + IL_005b: nop + IL_005c: ldloc.2 + IL_005d: callvirt instance string class NAnt.Core.Target::get_Name() + IL_0062: ldarg.1 + IL_0063: call bool string::op_Inequality(string, string) + IL_0068: brtrue IL_0018 + + IL_006d: ldarg.0 + IL_006e: ldloc.3 + IL_006f: stfld class NAnt.Core.Target NAnt.Core.Project::_currentTarget + IL_0074: ret + } // end of method Project::Execute + + // method line 2351 .method public hidebysig - instance default string StripFormatting (string message) cil managed + instance default bool Run () cil managed { - // Method begins at RVA 0x2c318 - // Code size 119 (0x77) - .maxstack 3 + // Method begins at RVA 0x2b95c + // Code size 371 (0x173) + .maxstack 7 .locals init ( - string V_0, - class [System]System.Text.RegularExpressions.Regex V_1, - class [System]System.Text.RegularExpressions.Match V_2, - string V_3) + class [mscorlib]System.Exception V_0, + bool V_1, + class NAnt.Core.BuildException V_2, + class [mscorlib]System.Exception V_3, + string V_4, + class NAnt.Core.Tasks.CallTask V_5, + class NAnt.Core.BuildEventArgs V_6) IL_0000: nop - IL_0001: ldstr "(?ms)^[\\s\\0]*?\\[[\\s\\w\\d]+\\](.+)" - IL_0006: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000b: stloc.1 - IL_000c: ldloc.1 - IL_000d: ldarg.1 - IL_000e: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0013: stloc.2 - IL_0014: ldloc.2 - IL_0015: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_001a: brfalse IL_005b + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 2 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: ldarg.0 + IL_0006: ldarg.0 + IL_0007: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) + IL_000c: call instance void class NAnt.Core.Project::OnBuildStarted(object, class NAnt.Core.BuildEventArgs) + IL_0011: ldarg.0 + IL_0012: ldc.i4 3000 + IL_0017: ldstr "Buildfile: {0}" + IL_001c: ldc.i4.1 + IL_001d: newarr [mscorlib]System.Object + IL_0022: dup + IL_0023: ldc.i4.0 + IL_0024: ldarg.0 + IL_0025: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_002a: stelem.ref + IL_002b: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0030: ldarg.0 + IL_0031: ldc.i4 3000 + IL_0036: ldstr "Target framework: {0}" + IL_003b: ldc.i4.1 + IL_003c: newarr [mscorlib]System.Object + IL_0041: dup + IL_0042: ldc.i4.0 + IL_0043: ldarg.0 + IL_0044: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0049: brfalse IL_005e - IL_001f: nop - IL_0020: ldloc.2 - IL_0021: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0026: ldc.i4.1 - IL_0027: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_002c: callvirt instance class [System]System.Text.RegularExpressions.CaptureCollection class [System]System.Text.RegularExpressions.Group::get_Captures() - IL_0031: ldc.i4.0 - IL_0032: callvirt instance class [System]System.Text.RegularExpressions.Capture class [System]System.Text.RegularExpressions.CaptureCollection::get_Item(int32) - IL_0037: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_003c: stloc.0 - IL_003d: ldloc.0 - IL_003e: ldstr bytearray ( - 00 00 00 ) // ... - - IL_0043: ldsfld string [mscorlib]System.String::Empty - IL_0048: callvirt instance string string::Replace(string, string) - IL_004d: stloc.0 - IL_004e: ldloc.0 - IL_004f: callvirt instance string string::Trim() - IL_0054: stloc.0 - IL_0055: nop - IL_0056: br IL_006e + IL_004e: ldarg.0 + IL_004f: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0054: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_0059: br IL_0063 - IL_005b: nop - IL_005c: ldarg.1 - IL_005d: ldstr bytearray ( - 00 00 00 ) // ... - - IL_0062: ldsfld string [mscorlib]System.String::Empty - IL_0067: callvirt instance string string::Replace(string, string) - IL_006c: stloc.0 - IL_006d: nop - IL_006e: ldloc.0 - IL_006f: stloc.3 - IL_0070: br IL_0075 + IL_005e: ldstr "None" + IL_0063: stelem.ref + IL_0064: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0069: ldarg.0 + IL_006a: ldc.i4 2000 + IL_006f: ldstr "Base Directory: {0}." + IL_0074: ldc.i4.1 + IL_0075: newarr [mscorlib]System.Object + IL_007a: dup + IL_007b: ldc.i4.0 + IL_007c: ldarg.0 + IL_007d: call instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0082: stelem.ref + IL_0083: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0088: ldarg.0 + IL_0089: callvirt instance void class NAnt.Core.Project::Execute() + IL_008e: ldc.i4.1 + IL_008f: stloc.1 + IL_0090: leave IL_0171 + + } // end .try 0 + catch class NAnt.Core.BuildException { // 0 + IL_0095: stloc.2 + IL_0096: nop + IL_0097: ldloc.2 + IL_0098: stloc.0 + IL_0099: ldsfld class [log4net]log4net.ILog NAnt.Core.Project::logger + IL_009e: ldstr "Build failed." + IL_00a3: ldloc.2 + IL_00a4: callvirt instance void class [log4net]log4net.ILog::Error(object, class [mscorlib]System.Exception) + IL_00a9: ldc.i4.0 + IL_00aa: stloc.1 + IL_00ab: leave IL_0171 + + } // end handler 0 + catch class [mscorlib]System.Exception { // 1 + IL_00b0: stloc.3 + IL_00b1: nop + IL_00b2: ldloc.3 + IL_00b3: stloc.0 + IL_00b4: ldsfld class [log4net]log4net.ILog NAnt.Core.Project::logger + IL_00b9: ldstr "Build failed." + IL_00be: ldloc.3 + IL_00bf: callvirt instance void class [log4net]log4net.ILog::Fatal(object, class [mscorlib]System.Exception) + IL_00c4: ldc.i4.0 + IL_00c5: stloc.1 + IL_00c6: leave IL_0171 + + } // end handler 1 + } // end .try 2 + finally { // 2 + IL_00cb: nop + IL_00cc: ldloc.0 + IL_00cd: brtrue IL_00eb + + IL_00d2: nop + IL_00d3: ldarg.0 + IL_00d4: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00d9: ldstr "nant.onsuccess" + IL_00de: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_00e3: stloc.s 4 + IL_00e5: nop + IL_00e6: br IL_00ff + + IL_00eb: nop + IL_00ec: ldarg.0 + IL_00ed: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00f2: ldstr "nant.onfailure" + IL_00f7: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) + IL_00fc: stloc.s 4 + IL_00fe: nop + IL_00ff: ldloc.s 4 + IL_0101: call bool string::IsNullOrEmpty(string) + IL_0106: brtrue IL_0156 + + IL_010b: nop + IL_010c: newobj instance void class NAnt.Core.Tasks.CallTask::'.ctor'() + IL_0111: stloc.s 5 + IL_0113: ldloc.s 5 + IL_0115: ldarg.0 + IL_0116: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_011b: ldloc.s 5 + IL_011d: ldarg.0 + IL_011e: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0123: ldloc.s 5 + IL_0125: ldarg.0 + IL_0126: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_012b: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0130: ldloc.s 5 + IL_0132: ldarg.0 + IL_0133: call instance bool class NAnt.Core.Project::get_Verbose() + IL_0138: callvirt instance void class NAnt.Core.Task::set_Verbose(bool) + IL_013d: ldloc.s 5 + IL_013f: ldc.i4.0 + IL_0140: callvirt instance void class NAnt.Core.Task::set_FailOnError(bool) + IL_0145: ldloc.s 5 + IL_0147: ldloc.s 4 + IL_0149: callvirt instance void class NAnt.Core.Tasks.CallTask::set_TargetName(string) + IL_014e: ldloc.s 5 + IL_0150: callvirt instance void class NAnt.Core.Task::Execute() + IL_0155: nop + IL_0156: ldarg.0 + IL_0157: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Project) + IL_015c: stloc.s 6 + IL_015e: ldloc.s 6 + IL_0160: ldloc.0 + IL_0161: callvirt instance void class NAnt.Core.BuildEventArgs::set_Exception(class [mscorlib]System.Exception) + IL_0166: ldarg.0 + IL_0167: ldarg.0 + IL_0168: ldloc.s 6 + IL_016a: call instance void class NAnt.Core.Project::OnBuildFinished(object, class NAnt.Core.BuildEventArgs) + IL_016f: nop + IL_0170: endfinally + } // end handler 2 + IL_0171: ldloc.1 + IL_0172: ret + } // end of method Project::Run + + // method line 2352 + .method public hidebysig + instance default class NAnt.Core.DataTypeBase CreateDataTypeBase (class [System.Xml]System.Xml.XmlNode elementNode) cil managed + { + // Method begins at RVA 0x2bb04 + // Code size 51 (0x33) + .maxstack 2 + .locals init ( + class NAnt.Core.DataTypeBase V_0, + class NAnt.Core.DataTypeBase V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: call class NAnt.Core.DataTypeBase class NAnt.Core.TypeFactory::CreateDataType(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Project) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: ldarg.0 + IL_000b: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0010: ldloc.0 + IL_0011: ldarg.0 + IL_0012: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0017: ldloc.0 + IL_0018: ldarg.0 + IL_0019: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_001e: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0023: ldloc.0 + IL_0024: ldarg.1 + IL_0025: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) + IL_002a: ldloc.0 + IL_002b: stloc.1 + IL_002c: br IL_0031 - IL_0075: ldloc.3 - IL_0076: ret - } // end of method XmlLogger::StripFormatting + IL_0031: ldloc.1 + IL_0032: ret + } // end of method Project::CreateDataTypeBase - // method line 2348 + // method line 2353 .method public hidebysig - instance default bool IsJustWhiteSpace (string message) cil managed + instance default class NAnt.Core.Task CreateTask (class [System.Xml]System.Xml.XmlNode taskNode) cil managed { - // Method begins at RVA 0x2c39c - // Code size 32 (0x20) + // Method begins at RVA 0x2bb44 + // Code size 17 (0x11) + .maxstack 3 + .locals init ( + class NAnt.Core.Task V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldnull + IL_0004: call instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Target) + IL_0009: stloc.0 + IL_000a: br IL_000f + + IL_000f: ldloc.0 + IL_0010: ret + } // end of method Project::CreateTask + + // method line 2354 + .method public hidebysig + instance default class NAnt.Core.Task CreateTask (class [System.Xml]System.Xml.XmlNode taskNode, class NAnt.Core.Target target) cil managed + { + // Method begins at RVA 0x2bb64 + // Code size 51 (0x33) .maxstack 2 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0, - bool V_1) + class NAnt.Core.Task V_0, + class NAnt.Core.Task V_1) IL_0000: nop - IL_0001: ldstr "^[\\s\\0]*$" - IL_0006: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000b: stloc.0 - IL_000c: ldloc.0 - IL_000d: ldarg.1 - IL_000e: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0013: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_0018: stloc.1 - IL_0019: br IL_001e + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: call class NAnt.Core.Task class NAnt.Core.TypeFactory::CreateTask(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Project) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: ldarg.0 + IL_000b: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0010: ldloc.0 + IL_0011: ldarg.2 + IL_0012: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0017: ldloc.0 + IL_0018: ldarg.0 + IL_0019: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_001e: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0023: ldloc.0 + IL_0024: ldarg.1 + IL_0025: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) + IL_002a: ldloc.0 + IL_002b: stloc.1 + IL_002c: br IL_0031 - IL_001e: ldloc.1 - IL_001f: ret - } // end of method XmlLogger::IsJustWhiteSpace + IL_0031: ldloc.1 + IL_0032: ret + } // end of method Project::CreateTask - // method line 2349 - .method private hidebysig - instance default void WriteErrorNode (class [mscorlib]System.Exception exception) cil managed + // method line 2355 + .method public hidebysig + instance default string ExpandProperties (string input, class NAnt.Core.Location location) cil managed { - // Method begins at RVA 0x2c3c8 - // Code size 505 (0x1f9) + // Method begins at RVA 0x2bba4 + // Code size 22 (0x16) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) + IL_000e: stloc.0 + IL_000f: br IL_0014 + + IL_0014: ldloc.0 + IL_0015: ret + } // end of method Project::ExpandProperties + + // method line 2356 + .method public hidebysig + instance default string GetFullPath (string path) cil managed + { + // Method begins at RVA 0x2bbc8 + // Code size 153 (0x99) .maxstack 4 .locals init ( - class NAnt.Core.BuildException V_0, - int32 V_1, - int32 V_2) + string V_0, + class [System]System.Uri V_1) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_000d + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brfalse IL_0019 - IL_0007: nop - IL_0008: br IL_01f8 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0013: stloc.0 + IL_0014: br IL_0097 - IL_000d: nop - IL_000e: ldnull - IL_000f: stloc.0 - IL_0010: ldtoken NAnt.Core.BuildException - IL_0015: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_001a: ldarg.1 - IL_001b: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Exception::GetType() - IL_0020: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0025: brfalse IL_0033 + .try { // 0 + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0020: stloc.1 + IL_0021: ldloc.1 + IL_0022: callvirt instance bool class [System]System.Uri::get_IsFile() + IL_0027: brfalse IL_003b - IL_002a: nop - IL_002b: ldarg.1 - IL_002c: castclass NAnt.Core.BuildException - IL_0031: stloc.0 - IL_0032: nop - IL_0033: ldloc.0 - IL_0034: brfalse IL_0050 + IL_002c: nop + IL_002d: ldloc.1 + IL_002e: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_0033: starg.s 1 + IL_0035: nop + IL_0036: br IL_0062 - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0040: ldstr "builderror" - IL_0045: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_004a: nop - IL_004b: br IL_0062 + IL_003b: nop + IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0041: ldstr "NA1061" + IL_0046: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004b: ldarg.1 + IL_004c: ldloc.1 + IL_004d: callvirt instance string class [System]System.Uri::get_Scheme() + IL_0052: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0057: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_005c: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_0061: throw + IL_0062: nop + IL_0063: leave IL_0070 - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0057: ldstr "internalerror" - IL_005c: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0061: nop - IL_0062: ldarg.0 - IL_0063: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0068: ldstr "type" - IL_006d: ldarg.1 - IL_006e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Exception::GetType() - IL_0073: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0078: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) - IL_007d: ldloc.0 - IL_007e: brfalse IL_0173 + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0068: pop + IL_0069: nop + IL_006a: nop + IL_006b: leave IL_0070 - IL_0083: nop - IL_0084: ldloc.0 - IL_0085: callvirt instance string class NAnt.Core.BuildException::get_RawMessage() - IL_008a: brfalse IL_00c3 + } // end handler 0 + IL_0070: ldarg.1 + IL_0071: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0076: brtrue IL_0090 + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: call instance string class NAnt.Core.Project::get_BaseDirectory() + IL_0082: ldarg.1 + IL_0083: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0088: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_008d: starg.s 1 IL_008f: nop - IL_0090: ldarg.0 - IL_0091: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0096: ldstr "message" - IL_009b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_00a0: ldarg.0 - IL_00a1: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00a6: ldarg.0 - IL_00a7: ldloc.0 - IL_00a8: callvirt instance string class NAnt.Core.BuildException::get_RawMessage() - IL_00ad: call instance string class NAnt.Core.XmlLogger::StripCData(string) - IL_00b2: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) - IL_00b7: ldarg.0 - IL_00b8: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00bd: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_00c2: nop - IL_00c3: ldloc.0 - IL_00c4: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() - IL_00c9: brfalse IL_016d + IL_0090: ldarg.1 + IL_0091: stloc.0 + IL_0092: br IL_0097 - IL_00ce: nop - IL_00cf: ldloc.0 - IL_00d0: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() - IL_00d5: callvirt instance string object::ToString() - IL_00da: call bool string::IsNullOrEmpty(string) - IL_00df: brtrue IL_016c + IL_0097: ldloc.0 + IL_0098: ret + } // end of method Project::GetFullPath - IL_00e4: nop - IL_00e5: ldarg.0 - IL_00e6: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00eb: ldstr "location" - IL_00f0: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_00f5: ldarg.0 - IL_00f6: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_00fb: ldstr "filename" - IL_0100: ldloc.0 - IL_0101: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() - IL_0106: callvirt instance string class NAnt.Core.Location::get_FileName() - IL_010b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) - IL_0110: ldarg.0 - IL_0111: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0116: ldstr "linenumber" - IL_011b: ldloc.0 - IL_011c: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() - IL_0121: callvirt instance int32 class NAnt.Core.Location::get_LineNumber() - IL_0126: stloc.1 - IL_0127: ldloca.s 1 - IL_0129: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_012e: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_0133: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) - IL_0138: ldarg.0 - IL_0139: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_013e: ldstr "columnnumber" - IL_0143: ldloc.0 - IL_0144: callvirt instance class NAnt.Core.Location class NAnt.Core.BuildException::get_Location() - IL_0149: callvirt instance int32 class NAnt.Core.Location::get_ColumnNumber() - IL_014e: stloc.2 - IL_014f: ldloca.s 2 - IL_0151: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0156: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_015b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteElementString(string, string) - IL_0160: ldarg.0 - IL_0161: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0166: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_016b: nop - IL_016c: nop - IL_016d: nop - IL_016e: br IL_01b4 + // method line 2357 + .method public hidebysig + instance default void CreateDefaultLogger () cil managed + { + // Method begins at RVA 0x2bc80 + // Code size 166 (0xa6) + .maxstack 3 + .locals init ( + class NAnt.Core.IBuildLogger V_0) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.DefaultLogger::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: dup + IL_000a: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildStarted(object, class NAnt.Core.BuildEventArgs) + IL_0010: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0015: call instance void class NAnt.Core.Project::add_BuildStarted(class NAnt.Core.BuildEventHandler) + IL_001a: ldarg.0 + IL_001b: ldloc.0 + IL_001c: dup + IL_001d: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildFinished(object, class NAnt.Core.BuildEventArgs) + IL_0023: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0028: call instance void class NAnt.Core.Project::add_BuildFinished(class NAnt.Core.BuildEventHandler) + IL_002d: ldarg.0 + IL_002e: ldloc.0 + IL_002f: dup + IL_0030: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetStarted(object, class NAnt.Core.BuildEventArgs) + IL_0036: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_003b: call instance void class NAnt.Core.Project::add_TargetStarted(class NAnt.Core.BuildEventHandler) + IL_0040: ldarg.0 + IL_0041: ldloc.0 + IL_0042: dup + IL_0043: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetFinished(object, class NAnt.Core.BuildEventArgs) + IL_0049: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_004e: call instance void class NAnt.Core.Project::add_TargetFinished(class NAnt.Core.BuildEventHandler) + IL_0053: ldarg.0 + IL_0054: ldloc.0 + IL_0055: dup + IL_0056: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskStarted(object, class NAnt.Core.BuildEventArgs) + IL_005c: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0061: call instance void class NAnt.Core.Project::add_TaskStarted(class NAnt.Core.BuildEventHandler) + IL_0066: ldarg.0 + IL_0067: ldloc.0 + IL_0068: dup + IL_0069: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskFinished(object, class NAnt.Core.BuildEventArgs) + IL_006f: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0074: call instance void class NAnt.Core.Project::add_TaskFinished(class NAnt.Core.BuildEventHandler) + IL_0079: ldarg.0 + IL_007a: ldloc.0 + IL_007b: dup + IL_007c: ldvirtftn instance void class NAnt.Core.IBuildListener::MessageLogged(object, class NAnt.Core.BuildEventArgs) + IL_0082: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0087: call instance void class NAnt.Core.Project::add_MessageLogged(class NAnt.Core.BuildEventHandler) + IL_008c: ldloc.0 + IL_008d: ldarg.0 + IL_008e: call instance valuetype NAnt.Core.Level class NAnt.Core.Project::get_Threshold() + IL_0093: callvirt instance void class NAnt.Core.IBuildLogger::set_Threshold(valuetype NAnt.Core.Level) + IL_0098: ldarg.0 + IL_0099: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() + IL_009e: ldloc.0 + IL_009f: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) + IL_00a4: pop + IL_00a5: ret + } // end of method Project::CreateDefaultLogger - IL_0173: nop - IL_0174: ldarg.1 - IL_0175: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_017a: brfalse IL_01b3 + // method line 2358 + .method public hidebysig + instance default void Indent () cil managed + { + // Method begins at RVA 0x2bd32 + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld int32 NAnt.Core.Project::_indentationLevel + IL_0008: ldc.i4.1 + IL_0009: add + IL_000a: stfld int32 NAnt.Core.Project::_indentationLevel + IL_000f: ret + } // end of method Project::Indent - IL_017f: nop - IL_0180: ldarg.0 - IL_0181: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0186: ldstr "message" - IL_018b: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_0190: ldarg.0 - IL_0191: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0196: ldarg.0 - IL_0197: ldarg.1 - IL_0198: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_019d: call instance string class NAnt.Core.XmlLogger::StripCData(string) - IL_01a2: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) - IL_01a7: ldarg.0 - IL_01a8: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_01ad: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_01b2: nop - IL_01b3: nop - IL_01b4: ldarg.0 - IL_01b5: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_01ba: ldstr "stacktrace" - IL_01bf: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteStartElement(string) - IL_01c4: ldarg.0 - IL_01c5: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_01ca: ldarg.1 - IL_01cb: callvirt instance string class [mscorlib]System.Exception::get_StackTrace() - IL_01d0: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteCData(string) - IL_01d5: ldarg.0 - IL_01d6: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_01db: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_01e0: ldarg.0 - IL_01e1: ldarg.1 - IL_01e2: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_01e7: call instance void class NAnt.Core.XmlLogger::WriteErrorNode(class [mscorlib]System.Exception) - IL_01ec: ldarg.0 - IL_01ed: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_01f2: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteEndElement() - IL_01f7: nop - IL_01f8: ret - } // end of method XmlLogger::WriteErrorNode + // method line 2359 + .method public hidebysig + instance default void Unindent () cil managed + { + // Method begins at RVA 0x2bd43 + // Code size 16 (0x10) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: dup + IL_0003: ldfld int32 NAnt.Core.Project::_indentationLevel + IL_0008: ldc.i4.1 + IL_0009: sub + IL_000a: stfld int32 NAnt.Core.Project::_indentationLevel + IL_000f: ret + } // end of method Project::Unindent - // method line 2350 - .method private hidebysig - instance default bool IsValidXml (string message) cil managed + // method line 2360 + .method public hidebysig + instance default void DetachBuildListeners () cil managed + { + // Method begins at RVA 0x2bd54 + // Code size 248 (0xf8) + .maxstack 3 + .locals init ( + class NAnt.Core.IBuildListener V_0, + class NAnt.Core.BuildListenerEnumerator V_1, + class [mscorlib]System.IDisposable V_2) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() + IL_0008: callvirt instance class NAnt.Core.BuildListenerEnumerator class NAnt.Core.BuildListenerCollection::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_00c8 + + IL_0013: ldloc.1 + IL_0014: callvirt instance class NAnt.Core.IBuildListener class NAnt.Core.BuildListenerEnumerator::get_Current() + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: ldloc.0 + IL_001d: dup + IL_001e: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildStarted(object, class NAnt.Core.BuildEventArgs) + IL_0024: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0029: call instance void class NAnt.Core.Project::remove_BuildStarted(class NAnt.Core.BuildEventHandler) + IL_002e: ldarg.0 + IL_002f: ldloc.0 + IL_0030: dup + IL_0031: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildFinished(object, class NAnt.Core.BuildEventArgs) + IL_0037: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_003c: call instance void class NAnt.Core.Project::remove_BuildFinished(class NAnt.Core.BuildEventHandler) + IL_0041: ldarg.0 + IL_0042: ldloc.0 + IL_0043: dup + IL_0044: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetStarted(object, class NAnt.Core.BuildEventArgs) + IL_004a: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_004f: call instance void class NAnt.Core.Project::remove_TargetStarted(class NAnt.Core.BuildEventHandler) + IL_0054: ldarg.0 + IL_0055: ldloc.0 + IL_0056: dup + IL_0057: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetFinished(object, class NAnt.Core.BuildEventArgs) + IL_005d: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0062: call instance void class NAnt.Core.Project::remove_TargetFinished(class NAnt.Core.BuildEventHandler) + IL_0067: ldarg.0 + IL_0068: ldloc.0 + IL_0069: dup + IL_006a: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskStarted(object, class NAnt.Core.BuildEventArgs) + IL_0070: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0075: call instance void class NAnt.Core.Project::remove_TaskStarted(class NAnt.Core.BuildEventHandler) + IL_007a: ldarg.0 + IL_007b: ldloc.0 + IL_007c: dup + IL_007d: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskFinished(object, class NAnt.Core.BuildEventArgs) + IL_0083: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0088: call instance void class NAnt.Core.Project::remove_TaskFinished(class NAnt.Core.BuildEventHandler) + IL_008d: ldarg.0 + IL_008e: ldloc.0 + IL_008f: dup + IL_0090: ldvirtftn instance void class NAnt.Core.IBuildListener::MessageLogged(object, class NAnt.Core.BuildEventArgs) + IL_0096: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_009b: call instance void class NAnt.Core.Project::remove_MessageLogged(class NAnt.Core.BuildEventHandler) + IL_00a0: ldtoken NAnt.Core.IBuildLogger + IL_00a5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00aa: ldloc.0 + IL_00ab: callvirt instance class [mscorlib]System.Type object::GetType() + IL_00b0: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_00b5: brfalse IL_00c7 + + IL_00ba: nop + IL_00bb: ldloc.0 + IL_00bc: castclass NAnt.Core.IBuildLogger + IL_00c1: callvirt instance void class NAnt.Core.IBuildLogger::Flush() + IL_00c6: nop + IL_00c7: nop + IL_00c8: ldloc.1 + IL_00c9: callvirt instance bool class NAnt.Core.BuildListenerEnumerator::MoveNext() + IL_00ce: brtrue IL_0013 + + IL_00d3: leave IL_00ec + + } // end .try 0 + finally { // 0 + IL_00d8: ldloc.1 + IL_00d9: isinst [mscorlib]System.IDisposable + IL_00de: dup + IL_00df: stloc.2 + IL_00e0: brfalse IL_00eb + + IL_00e5: ldloc.2 + IL_00e6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00eb: endfinally + } // end handler 0 + IL_00ec: ldarg.0 + IL_00ed: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() + IL_00f2: callvirt instance void class [mscorlib]System.Collections.CollectionBase::Clear() + IL_00f7: ret + } // end of method Project::DetachBuildListeners + + // method line 2361 + .method public hidebysig + instance default void AttachBuildListeners (class NAnt.Core.BuildListenerCollection listeners) cil managed { - // Method begins at RVA 0x2c5d0 - // Code size 96 (0x60) + // Method begins at RVA 0x2be68 + // Code size 212 (0xd4) .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlValidatingReader V_0, - bool V_1) + class NAnt.Core.IBuildListener V_0, + class NAnt.Core.BuildListenerEnumerator V_1, + class [mscorlib]System.IDisposable V_2) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "^<.*>" - IL_0007: call class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string, string) - IL_000c: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_0011: brfalse IL_0057 - - IL_0016: nop - IL_0017: ldnull - IL_0018: stloc.0 - .try { // 1 - .try { // 0 - IL_0019: nop - IL_001a: ldarg.1 - IL_001b: ldc.i4.s 0x09 - IL_001d: ldnull - IL_001e: newobj instance void class [System.Xml]System.Xml.XmlValidatingReader::'.ctor'(string, valuetype [System.Xml]System.Xml.XmlNodeType, class [System.Xml]System.Xml.XmlParserContext) - IL_0023: stloc.0 - IL_0024: br IL_002b - - IL_0029: nop - IL_002a: nop - IL_002b: ldloc.0 - IL_002c: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() - IL_0031: brtrue IL_0029 - - IL_0036: ldc.i4.1 - IL_0037: stloc.1 - IL_0038: leave IL_005e + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.Core.Project::DetachBuildListeners() + IL_0007: nop + IL_0008: ldarg.1 + IL_0009: callvirt instance class NAnt.Core.BuildListenerEnumerator class NAnt.Core.BuildListenerCollection::GetEnumerator() + IL_000e: stloc.1 + .try { // 0 + IL_000f: br IL_00af - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_003d: pop - IL_003e: nop - IL_003f: ldc.i4.0 - IL_0040: stloc.1 - IL_0041: leave IL_005e + IL_0014: ldloc.1 + IL_0015: callvirt instance class NAnt.Core.IBuildListener class NAnt.Core.BuildListenerEnumerator::get_Current() + IL_001a: stloc.0 + IL_001b: nop + IL_001c: ldarg.0 + IL_001d: ldloc.0 + IL_001e: dup + IL_001f: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildStarted(object, class NAnt.Core.BuildEventArgs) + IL_0025: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_002a: call instance void class NAnt.Core.Project::add_BuildStarted(class NAnt.Core.BuildEventHandler) + IL_002f: ldarg.0 + IL_0030: ldloc.0 + IL_0031: dup + IL_0032: ldvirtftn instance void class NAnt.Core.IBuildListener::BuildFinished(object, class NAnt.Core.BuildEventArgs) + IL_0038: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_003d: call instance void class NAnt.Core.Project::add_BuildFinished(class NAnt.Core.BuildEventHandler) + IL_0042: ldarg.0 + IL_0043: ldloc.0 + IL_0044: dup + IL_0045: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetStarted(object, class NAnt.Core.BuildEventArgs) + IL_004b: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0050: call instance void class NAnt.Core.Project::add_TargetStarted(class NAnt.Core.BuildEventHandler) + IL_0055: ldarg.0 + IL_0056: ldloc.0 + IL_0057: dup + IL_0058: ldvirtftn instance void class NAnt.Core.IBuildListener::TargetFinished(object, class NAnt.Core.BuildEventArgs) + IL_005e: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0063: call instance void class NAnt.Core.Project::add_TargetFinished(class NAnt.Core.BuildEventHandler) + IL_0068: ldarg.0 + IL_0069: ldloc.0 + IL_006a: dup + IL_006b: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskStarted(object, class NAnt.Core.BuildEventArgs) + IL_0071: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0076: call instance void class NAnt.Core.Project::add_TaskStarted(class NAnt.Core.BuildEventHandler) + IL_007b: ldarg.0 + IL_007c: ldloc.0 + IL_007d: dup + IL_007e: ldvirtftn instance void class NAnt.Core.IBuildListener::TaskFinished(object, class NAnt.Core.BuildEventArgs) + IL_0084: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_0089: call instance void class NAnt.Core.Project::add_TaskFinished(class NAnt.Core.BuildEventHandler) + IL_008e: ldarg.0 + IL_008f: ldloc.0 + IL_0090: dup + IL_0091: ldvirtftn instance void class NAnt.Core.IBuildListener::MessageLogged(object, class NAnt.Core.BuildEventArgs) + IL_0097: newobj instance void class NAnt.Core.BuildEventHandler::'.ctor'(object, native int) + IL_009c: call instance void class NAnt.Core.Project::add_MessageLogged(class NAnt.Core.BuildEventHandler) + IL_00a1: ldarg.0 + IL_00a2: call instance class NAnt.Core.BuildListenerCollection class NAnt.Core.Project::get_BuildListeners() + IL_00a7: ldloc.0 + IL_00a8: callvirt instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) + IL_00ad: pop + IL_00ae: nop + IL_00af: ldloc.1 + IL_00b0: callvirt instance bool class NAnt.Core.BuildListenerEnumerator::MoveNext() + IL_00b5: brtrue IL_0014 - } // end handler 0 - } // end .try 1 - finally { // 1 - IL_0046: nop - IL_0047: ldloc.0 - IL_0048: brfalse IL_0055 + IL_00ba: leave IL_00d3 - IL_004d: nop - IL_004e: ldloc.0 - IL_004f: callvirt instance void class [System.Xml]System.Xml.XmlReader::Close() - IL_0054: nop - IL_0055: nop - IL_0056: endfinally - } // end handler 1 - IL_0057: ldc.i4.0 - IL_0058: stloc.1 - IL_0059: br IL_005e + } // end .try 0 + finally { // 0 + IL_00bf: ldloc.1 + IL_00c0: isinst [mscorlib]System.IDisposable + IL_00c5: dup + IL_00c6: stloc.2 + IL_00c7: brfalse IL_00d2 - IL_005e: ldloc.1 - IL_005f: ret - } // end of method XmlLogger::IsValidXml + IL_00cc: ldloc.2 + IL_00cd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d2: endfinally + } // end handler 0 + IL_00d3: ret + } // end of method Project::AttachBuildListeners - // method line 2351 + // method line 2362 .method private hidebysig - instance default string StripCData (string message) cil managed + instance default void CtorHelper (class [System.Xml]System.Xml.XmlDocument doc, valuetype NAnt.Core.Level threshold, int32 indentLevel, valuetype NAnt.Core.Optimizations optimization) cil managed { - // Method begins at RVA 0x2c658 - // Code size 42 (0x2a) - .maxstack 3 + // Method begins at RVA 0x2bf58 + // Code size 779 (0x30b) + .maxstack 4 .locals init ( string V_0, - string V_1) + string V_1, + class [System.Xml]System.Xml.XmlAttribute V_2, + class [System.Xml]System.Xml.XmlAttribute V_3, + bool V_4, + class NAnt.Core.ProjectSettingsLoader V_5, + class [mscorlib]System.Reflection.Assembly V_6) IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldstr "" - IL_0018: ldsfld string [mscorlib]System.String::Empty - IL_001d: call string class [System]System.Text.RegularExpressions.Regex::Replace(string, string, string) - IL_0022: stloc.1 - IL_0023: br IL_0028 + IL_0002: brtrue IL_0013 - IL_0028: ldloc.1 - IL_0029: ret - } // end of method XmlLogger::StripCData + IL_0007: nop + IL_0008: ldstr "doc" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldnull + IL_0014: stloc.0 + IL_0015: ldarg.0 + IL_0016: ldarg.0 + IL_0017: newobj instance void class NAnt.Core.PropertyDictionary::'.ctor'(class NAnt.Core.Project) + IL_001c: stfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_properties + IL_0021: ldarg.0 + IL_0022: ldarg.0 + IL_0023: newobj instance void class NAnt.Core.PropertyDictionary::'.ctor'(class NAnt.Core.Project) + IL_0028: stfld class NAnt.Core.PropertyDictionary NAnt.Core.Project::_frameworkNeutralProperties + IL_002d: ldarg.0 + IL_002e: ldarg.1 + IL_002f: stfld class [System.Xml]System.Xml.XmlDocument NAnt.Core.Project::_doc + IL_0034: ldarg.0 + IL_0035: ldc.i4.s 0x0c + IL_0037: stfld int32 NAnt.Core.Project::_indentationSize + IL_003c: ldarg.0 + IL_003d: ldarg.3 + IL_003e: stfld int32 NAnt.Core.Project::_indentationLevel + IL_0043: ldarg.0 + IL_0044: ldarg.2 + IL_0045: call instance void class NAnt.Core.Project::set_Threshold(valuetype NAnt.Core.Level) + IL_004a: ldarg.0 + IL_004b: call instance void class NAnt.Core.Project::CreateDefaultLogger() + IL_0050: ldarg.0 + IL_0051: call instance void class NAnt.Core.Project::ConfigurePlatformProperties() + IL_0056: ldarg.1 + IL_0057: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_005c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_0061: call bool string::IsNullOrEmpty(string) + IL_0066: brfalse IL_00c9 - // method line 2352 - .method private hidebysig - instance default void WriteNameAttribute (string name) cil managed - { - // Method begins at RVA 0x2c68e - // Code size 19 (0x13) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter - IL_0007: ldstr "name" - IL_000c: ldarg.1 - IL_000d: callvirt instance void class [System.Xml]System.Xml.XmlWriter::WriteAttributeString(string, string) - IL_0012: ret - } // end of method XmlLogger::WriteNameAttribute + IL_006b: nop + IL_006c: ldarg.1 + IL_006d: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0072: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0077: ldstr "xmlns" + IL_007c: ldstr "nant" + IL_0081: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string, string) + IL_0086: stloc.2 + IL_0087: ldloc.2 + IL_0088: brtrue IL_009a - .property instance valuetype NAnt.Core.Level Threshold () - { - .get instance default valuetype NAnt.Core.Level NAnt.Core.XmlLogger::get_Threshold () - .set instance default void NAnt.Core.XmlLogger::set_Threshold (valuetype NAnt.Core.Level 'value') - } - .property instance bool EmacsMode () - { - .get instance default bool NAnt.Core.XmlLogger::get_EmacsMode () - .set instance default void NAnt.Core.XmlLogger::set_EmacsMode (bool 'value') - } - .property instance class [mscorlib]System.IO.TextWriter OutputWriter () - { - .get instance default class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::get_OutputWriter () - .set instance default void NAnt.Core.XmlLogger::set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') - } - .class nested private auto ansi beforefieldinit Elements - extends [mscorlib]System.Object - { - .field public static literal string BuildResults = "buildresults" - .field public static literal string Message = "message" - .field public static literal string Target = "target" - .field public static literal string Task = "task" - .field public static literal string Status = "status" + IL_008d: nop + IL_008e: ldstr "http://none" + IL_0093: stloc.1 + IL_0094: nop + IL_0095: br IL_00a3 - // method line 2353 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2c6a2 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method Elements::.ctor + IL_009a: nop + IL_009b: ldloc.2 + IL_009c: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00a1: stloc.1 + IL_00a2: nop + IL_00a3: ldarg.1 + IL_00a4: ldstr "xmlns" + IL_00a9: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlDocument::CreateAttribute(string) + IL_00ae: stloc.3 + IL_00af: ldloc.3 + IL_00b0: ldloc.1 + IL_00b1: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) + IL_00b6: ldarg.1 + IL_00b7: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_00bc: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_00c1: ldloc.3 + IL_00c2: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::Append(class [System.Xml]System.Xml.XmlAttribute) + IL_00c7: pop + IL_00c8: nop + IL_00c9: ldarg.0 + IL_00ca: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_00cf: ldstr "nant" + IL_00d4: ldarg.1 + IL_00d5: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_00da: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_00df: callvirt instance void class [System.Xml]System.Xml.XmlNamespaceManager::AddNamespace(string, string) + IL_00e4: ldarg.1 + IL_00e5: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_00ea: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() + IL_00ef: ldstr "project" + IL_00f4: callvirt instance bool string::Equals(string) + IL_00f9: brtrue IL_0124 - } // end of class Elements + IL_00fe: nop + IL_00ff: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0104: ldstr "NA1059" + IL_0109: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_010e: ldarg.1 + IL_010f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_BaseURI() + IL_0114: ldstr "project" + IL_0119: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_011e: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0123: throw + IL_0124: ldarg.1 + IL_0125: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_012a: ldstr "name" + IL_012f: callvirt instance bool class [System.Xml]System.Xml.XmlElement::HasAttribute(string) + IL_0134: brfalse IL_0151 - .class nested private auto ansi beforefieldinit Attributes - extends [mscorlib]System.Object - { - .field public static literal string Project = "project" - .field public static literal string MessageLevel = "level" + IL_0139: nop + IL_013a: ldarg.0 + IL_013b: ldarg.1 + IL_013c: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0141: ldstr "name" + IL_0146: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_014b: stfld string NAnt.Core.Project::_projectName + IL_0150: nop + IL_0151: ldarg.1 + IL_0152: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0157: ldstr "basedir" + IL_015c: callvirt instance bool class [System.Xml]System.Xml.XmlElement::HasAttribute(string) + IL_0161: brfalse IL_0179 - // method line 2354 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2c6aa - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method Attributes::.ctor + IL_0166: nop + IL_0167: ldarg.1 + IL_0168: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_016d: ldstr "basedir" + IL_0172: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0177: stloc.0 + IL_0178: nop + IL_0179: ldarg.1 + IL_017a: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_017f: ldstr "default" + IL_0184: callvirt instance bool class [System.Xml]System.Xml.XmlElement::HasAttribute(string) + IL_0189: brfalse IL_01a6 - } // end of class Attributes + IL_018e: nop + IL_018f: ldarg.0 + IL_0190: ldarg.1 + IL_0191: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0196: ldstr "default" + IL_019b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_01a0: stfld string NAnt.Core.Project::_defaultTargetName + IL_01a5: nop + IL_01a6: ldloc.0 + IL_01a7: call bool string::IsNullOrEmpty(string) + IL_01ac: brfalse IL_01e3 - } // end of class NAnt.Core.XmlLogger -} + IL_01b1: nop + IL_01b2: ldarg.0 + IL_01b3: call instance string class NAnt.Core.Project::get_BuildFileLocalName() + IL_01b8: call bool string::IsNullOrEmpty(string) + IL_01bd: brtrue IL_01d5 -.namespace NAnt.Core -{ - .class public auto ansi sealed serializable beforefieldinit Target - extends NAnt.Core.Element - implements [mscorlib]System.ICloneable { - .field private string _name - .field private string _description - .field private string _ifCondition - .field private string _unlessCondition - .field private class [System]System.Collections.Specialized.StringCollection _dependencies - .field private bool _executed + IL_01c2: nop + IL_01c3: ldarg.0 + IL_01c4: call instance string class NAnt.Core.Project::get_BuildFileLocalName() + IL_01c9: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_01ce: stloc.0 + IL_01cf: nop + IL_01d0: br IL_01dd - // method line 2355 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2c6b2 - // Code size 19 (0x13) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Element::'.ctor'() - IL_0011: nop - IL_0012: ret - } // end of method Target::.ctor + IL_01d5: nop + IL_01d6: call string class [mscorlib]System.Environment::get_CurrentDirectory() + IL_01db: stloc.0 + IL_01dc: nop + IL_01dd: nop + IL_01de: br IL_0219 + + IL_01e3: nop + IL_01e4: ldarg.0 + IL_01e5: call instance string class NAnt.Core.Project::get_BuildFileLocalName() + IL_01ea: call bool string::IsNullOrEmpty(string) + IL_01ef: brtrue IL_0218 + + IL_01f4: ldloc.0 + IL_01f5: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_01fa: brtrue IL_0218 + + IL_01ff: nop + IL_0200: ldarg.0 + IL_0201: call instance string class NAnt.Core.Project::get_BuildFileLocalName() + IL_0206: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_020b: ldloc.0 + IL_020c: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0211: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0216: stloc.0 + IL_0217: nop + IL_0218: nop + IL_0219: ldloc.0 + IL_021a: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_021f: stloc.0 + IL_0220: ldarg.0 + IL_0221: ldloc.0 + IL_0222: call instance void class NAnt.Core.Project::set_BaseDirectory(string) + IL_0227: ldarg.s 4 + IL_0229: ldc.i4.1 + IL_022a: and + IL_022b: ldc.i4.0 + IL_022c: ceq + IL_022e: stloc.s 4 + IL_0230: ldarg.0 + IL_0231: ldloc.s 4 + IL_0233: call void class NAnt.Core.TypeFactory::AddProject(class NAnt.Core.Project, bool) + IL_0238: ldarg.s 4 + IL_023a: ldc.i4.2 + IL_023b: and + IL_023c: brtrue IL_0252 + + IL_0241: nop + IL_0242: ldarg.0 + IL_0243: newobj instance void class NAnt.Core.ProjectSettingsLoader::'.ctor'(class NAnt.Core.Project) + IL_0248: stloc.s 5 + IL_024a: ldloc.s 5 + IL_024c: callvirt instance void class NAnt.Core.ProjectSettingsLoader::ProcessSettings() + IL_0251: nop + IL_0252: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0257: stloc.s 6 + IL_0259: ldarg.0 + IL_025a: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_025f: ldstr "nant.filename" + IL_0264: ldloc.s 6 + IL_0266: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_CodeBase() + IL_026b: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_0270: ldarg.0 + IL_0271: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0276: ldstr "nant.version" + IL_027b: ldloc.s 6 + IL_027d: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0282: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_0287: callvirt instance string object::ToString() + IL_028c: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_0291: ldarg.0 + IL_0292: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0297: ldstr "nant.location" + IL_029c: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_02a1: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() + IL_02a6: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_02ab: ldarg.0 + IL_02ac: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_02b1: ldstr "nant.project.name" + IL_02b6: ldarg.0 + IL_02b7: call instance string class NAnt.Core.Project::get_ProjectName() + IL_02bc: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_02c1: ldarg.0 + IL_02c2: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_02c7: ldnull + IL_02c8: call bool class [System]System.Uri::op_Inequality(class [System]System.Uri, class [System]System.Uri) + IL_02cd: brfalse IL_02ef + + IL_02d2: nop + IL_02d3: ldarg.0 + IL_02d4: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_02d9: ldstr "nant.project.buildfile" + IL_02de: ldarg.0 + IL_02df: call instance class [System]System.Uri class NAnt.Core.Project::get_BuildFileUri() + IL_02e4: callvirt instance string object::ToString() + IL_02e9: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_02ee: nop + IL_02ef: ldarg.0 + IL_02f0: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_02f5: ldstr "nant.project.default" + IL_02fa: ldarg.0 + IL_02fb: call instance string class NAnt.Core.Project::get_DefaultTargetName() + IL_0300: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0305: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_030a: ret + } // end of method Project::CtorHelper - // method line 2356 - .method public hidebysig specialname - instance default bool get_Executed () cil managed + // method line 2363 + .method assembly hidebysig + instance default void InitializeProjectDocument (class [System.Xml]System.Xml.XmlDocument doc) cil managed { - // Method begins at RVA 0x2c6c8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2c270 + // Code size 602 (0x25a) + .maxstack 7 .locals init ( - bool V_0) + class [System.Xml]System.Xml.XmlNode V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Target V_2, + class [mscorlib]System.IDisposable V_3, + class [System.Xml]System.Xml.XmlNode V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class NAnt.Core.Task V_6, + class NAnt.Core.DataTypeBase V_7, + class [mscorlib]System.IDisposable V_8) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Target::_executed - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class NAnt.Core.LocationMap::Add(class [System.Xml]System.Xml.XmlDocument) + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0014: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() + IL_0019: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_001e: stloc.1 + .try { // 0 + IL_001f: br IL_009d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Target::get_Executed + IL_0024: ldloc.1 + IL_0025: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_002a: castclass [System.Xml]System.Xml.XmlNode + IL_002f: stloc.0 + IL_0030: nop + IL_0031: ldloc.0 + IL_0032: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() + IL_0037: ldstr "target" + IL_003c: callvirt instance bool string::Equals(string) + IL_0041: brfalse IL_009c - // method line 2357 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x2c6e4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Target::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0046: ldloc.0 + IL_0047: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_004c: ldarg.0 + IL_004d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_0052: ldstr "nant" + IL_0057: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_005c: callvirt instance bool string::Equals(string) + IL_0061: brfalse IL_009c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Target::get_Name + IL_0066: nop + IL_0067: newobj instance void class NAnt.Core.Target::'.ctor'() + IL_006c: stloc.2 + IL_006d: ldloc.2 + IL_006e: ldarg.0 + IL_006f: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_0074: ldloc.2 + IL_0075: ldarg.0 + IL_0076: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_007b: ldloc.2 + IL_007c: ldarg.0 + IL_007d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_0082: callvirt instance void class NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0087: ldloc.2 + IL_0088: ldloc.0 + IL_0089: callvirt instance void class NAnt.Core.Element::Initialize(class [System.Xml]System.Xml.XmlNode) + IL_008e: ldarg.0 + IL_008f: call instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() + IL_0094: ldloc.2 + IL_0095: callvirt instance int32 class NAnt.Core.TargetCollection::Add(class NAnt.Core.Target) + IL_009a: pop + IL_009b: nop + IL_009c: nop + IL_009d: ldloc.1 + IL_009e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00a3: brtrue IL_0024 - // method line 2358 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0x2c6ff - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Target::_name - IL_0008: ret - } // end of method Target::set_Name + IL_00a8: leave IL_00c1 - // method line 2359 - .method public hidebysig specialname - instance default string get_IfCondition () cil managed - { - // Method begins at RVA 0x2c70c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Target::_ifCondition - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_00ad: ldloc.1 + IL_00ae: isinst [mscorlib]System.IDisposable + IL_00b3: dup + IL_00b4: stloc.3 + IL_00b5: brfalse IL_00c0 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Target::get_IfCondition + IL_00ba: ldloc.3 + IL_00bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c0: endfinally + } // end handler 0 + IL_00c1: nop + IL_00c2: ldarg.1 + IL_00c3: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_00c8: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() + IL_00cd: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_00d2: stloc.s 5 + .try { // 1 + IL_00d4: br IL_0231 - // method line 2360 - .method public hidebysig specialname - instance default void set_IfCondition (string 'value') cil managed - { - // Method begins at RVA 0x2c727 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Target::_ifCondition - IL_000d: ret - } // end of method Target::set_IfCondition + IL_00d9: ldloc.s 5 + IL_00db: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00e0: castclass [System.Xml]System.Xml.XmlNode + IL_00e5: stloc.s 4 + IL_00e7: nop + IL_00e8: ldloc.s 4 + IL_00ea: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_00ef: ldc.i4.1 + IL_00f0: bne.un IL_012c - // method line 2361 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x2c738 - // Code size 104 (0x68) - .maxstack 3 - .locals init ( - string V_0, - bool V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Target::get_IfCondition() - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0018: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_001d: stloc.0 - IL_001e: ldloc.0 - IL_001f: call bool string::IsNullOrEmpty(string) - IL_0024: brtrue IL_005f + IL_00f5: ldloc.s 4 + IL_00f7: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() + IL_00fc: ldarg.0 + IL_00fd: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Project::get_NamespaceManager() + IL_0102: ldstr "nant" + IL_0107: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) + IL_010c: callvirt instance bool string::Equals(string) + IL_0111: brfalse IL_012c - IL_0029: nop - .try { // 0 - IL_002a: nop - IL_002b: ldloc.0 - IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0031: call bool class [mscorlib]System.Convert::ToBoolean(string, class [mscorlib]System.IFormatProvider) - IL_0036: stloc.1 - IL_0037: leave IL_0066 + IL_0116: ldloc.s 4 + IL_0118: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() + IL_011d: ldstr "target" + IL_0122: callvirt instance bool string::Equals(string) + IL_0127: brfalse IL_0132 - } // end .try 0 - catch class [mscorlib]System.FormatException { // 0 - IL_003c: pop - IL_003d: nop - IL_003e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0043: ldstr "NA1070" - IL_0048: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004d: ldloc.0 - IL_004e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0053: ldarg.0 - IL_0054: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0059: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_005e: throw - } // end handler 0 - IL_005f: ldc.i4.1 - IL_0060: stloc.1 - IL_0061: br IL_0066 + IL_012c: nop + IL_012d: leave IL_0231 - IL_0066: ldloc.1 - IL_0067: ret - } // end of method Target::get_IfDefined + IL_0132: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0137: ldloc.s 4 + IL_0139: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_013e: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) + IL_0143: brfalse IL_0168 - // method line 2362 - .method public hidebysig specialname - instance default string get_UnlessCondition () cil managed - { - // Method begins at RVA 0x2c7bc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Target::_unlessCondition - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0148: nop + IL_0149: ldarg.0 + IL_014a: ldloc.s 4 + IL_014c: call instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode) + IL_0151: stloc.s 6 + IL_0153: ldloc.s 6 + IL_0155: ldarg.0 + IL_0156: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_015b: ldloc.s 6 + IL_015d: callvirt instance void class NAnt.Core.Task::Execute() + IL_0162: nop + IL_0163: br IL_0230 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Target::get_UnlessCondition + IL_0168: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() + IL_016d: ldloc.s 4 + IL_016f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0174: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) + IL_0179: brfalse IL_0201 - // method line 2363 - .method public hidebysig specialname - instance default void set_UnlessCondition (string 'value') cil managed - { - // Method begins at RVA 0x2c7d7 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Target::_unlessCondition - IL_000d: ret - } // end of method Target::set_UnlessCondition + IL_017e: nop + IL_017f: ldarg.0 + IL_0180: ldloc.s 4 + IL_0182: call instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) + IL_0187: stloc.s 7 + IL_0189: ldarg.0 + IL_018a: ldc.i4 1000 + IL_018f: ldstr "Adding a {0} reference with id '{1}'." + IL_0194: ldc.i4.2 + IL_0195: newarr [mscorlib]System.Object + IL_019a: dup + IL_019b: ldc.i4.0 + IL_019c: ldloc.s 4 + IL_019e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_01a3: stelem.ref + IL_01a4: dup + IL_01a5: ldc.i4.1 + IL_01a6: ldloc.s 7 + IL_01a8: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_01ad: stelem.ref + IL_01ae: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01b3: ldarg.0 + IL_01b4: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_01b9: ldloc.s 7 + IL_01bb: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_01c0: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) + IL_01c5: brtrue IL_01e5 + + IL_01ca: nop + IL_01cb: ldarg.0 + IL_01cc: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_01d1: ldloc.s 7 + IL_01d3: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_01d8: ldloc.s 7 + IL_01da: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) + IL_01df: nop + IL_01e0: br IL_01fb + + IL_01e5: nop + IL_01e6: ldarg.0 + IL_01e7: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() + IL_01ec: ldloc.s 7 + IL_01ee: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() + IL_01f3: ldloc.s 7 + IL_01f5: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) + IL_01fa: nop + IL_01fb: nop + IL_01fc: br IL_0230 + + IL_0201: nop + IL_0202: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0207: ldstr "NA1071" + IL_020c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0211: ldloc.s 4 + IL_0213: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0218: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_021d: ldarg.0 + IL_021e: call instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() + IL_0223: ldloc.s 4 + IL_0225: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) + IL_022a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) + IL_022f: throw + IL_0230: nop + IL_0231: ldloc.s 5 + IL_0233: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0238: brtrue IL_00d9 + + IL_023d: leave IL_0259 + + } // end .try 1 + finally { // 1 + IL_0242: ldloc.s 5 + IL_0244: isinst [mscorlib]System.IDisposable + IL_0249: dup + IL_024a: stloc.s 8 + IL_024c: brfalse IL_0258 + + IL_0251: ldloc.s 8 + IL_0253: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0258: endfinally + } // end handler 1 + IL_0259: ret + } // end of method Project::InitializeProjectDocument // method line 2364 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + .method private hidebysig + instance default class [System.Xml]System.Xml.XmlDocument LoadBuildFile (string uriOrFilePath) cil managed { - // Method begins at RVA 0x2c7e8 - // Code size 104 (0x68) + // Method begins at RVA 0x2c50c + // Code size 171 (0xab) .maxstack 3 .locals init ( string V_0, - bool V_1) + class [System]System.Uri V_1, + class [mscorlib]System.Exception V_2, + class [System.Xml]System.Xml.XmlDocument V_3, + class [System.Xml]System.Xml.XmlException V_4, + class NAnt.Core.Location V_5, + class [mscorlib]System.Exception V_6, + class NAnt.Core.Location V_7, + class [System.Xml]System.Xml.XmlDocument V_8) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.0 - IL_000d: call instance string class NAnt.Core.Target::get_UnlessCondition() - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0018: callvirt instance string class NAnt.Core.PropertyDictionary::ExpandProperties(string, class NAnt.Core.Location) - IL_001d: stloc.0 - IL_001e: ldloc.0 - IL_001f: call bool string::IsNullOrEmpty(string) - IL_0024: brtrue IL_005f + IL_0001: ldarg.1 + IL_0002: stloc.0 + .try { // 1 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.1 + IL_0005: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_000a: stloc.1 + IL_000b: ldloc.1 + IL_000c: callvirt instance bool class [System]System.Uri::get_IsFile() + IL_0011: brfalse IL_001f - IL_0029: nop - .try { // 0 - IL_002a: nop - IL_002b: ldloc.0 - IL_002c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0031: call bool class [mscorlib]System.Convert::ToBoolean(string, class [mscorlib]System.IFormatProvider) - IL_0036: stloc.1 - IL_0037: leave IL_0066 + IL_0016: nop + IL_0017: ldloc.1 + IL_0018: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_001d: stloc.0 + IL_001e: nop + IL_001f: nop + IL_0020: leave IL_004a - } // end .try 0 - catch class [mscorlib]System.FormatException { // 0 - IL_003c: pop + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0025: stloc.2 + IL_0026: nop + IL_0027: ldsfld class [log4net]log4net.ILog NAnt.Core.Project::logger + IL_002c: ldstr "Error creating URI in project constructor. Moving on... " + IL_0031: ldloc.2 + IL_0032: callvirt instance void class [log4net]log4net.ILog::Debug(object, class [mscorlib]System.Exception) + IL_0037: nop + IL_0038: leave IL_004a + + } // end handler 0 + } // end .try 1 + finally { // 1 IL_003d: nop - IL_003e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0043: ldstr "NA1069" - IL_0048: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004d: ldloc.0 - IL_004e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0053: ldarg.0 - IL_0054: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0059: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_005e: throw - } // end handler 0 - IL_005f: ldc.i4.0 - IL_0060: stloc.1 - IL_0061: br IL_0066 + IL_003e: ldloc.0 + IL_003f: brtrue IL_0048 - IL_0066: ldloc.1 - IL_0067: ret - } // end of method Target::get_UnlessDefined + IL_0044: nop + IL_0045: ldarg.1 + IL_0046: stloc.0 + IL_0047: nop + IL_0048: nop + IL_0049: endfinally + } // end handler 1 + IL_004a: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_004f: stloc.3 + .try { // 2 + IL_0050: nop + IL_0051: ldloc.3 + IL_0052: ldloc.0 + IL_0053: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) + IL_0058: nop + IL_0059: leave IL_00a0 - // method line 2365 - .method public hidebysig specialname - instance default void set_Description (string 'value') cil managed - { - // Method begins at RVA 0x2c86c - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Target::_description - IL_0008: ret - } // end of method Target::set_Description + } // end .try 2 + catch class [System.Xml]System.Xml.XmlException { // 2 + IL_005e: stloc.s 4 + IL_0060: nop + IL_0061: ldloc.0 + IL_0062: ldloc.s 4 + IL_0064: callvirt instance int32 class [System.Xml]System.Xml.XmlException::get_LineNumber() + IL_0069: ldloc.s 4 + IL_006b: callvirt instance int32 class [System.Xml]System.Xml.XmlException::get_LinePosition() + IL_0070: newobj instance void class NAnt.Core.Location::'.ctor'(string, int32, int32) + IL_0075: stloc.s 5 + IL_0077: ldstr "Error loading buildfile." + IL_007c: ldloc.s 5 + IL_007e: ldloc.s 4 + IL_0080: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0085: throw + } // end handler 2 + catch class [mscorlib]System.Exception { // 3 + IL_0086: stloc.s 6 + IL_0088: nop + IL_0089: ldloc.0 + IL_008a: newobj instance void class NAnt.Core.Location::'.ctor'(string) + IL_008f: stloc.s 7 + IL_0091: ldstr "Error loading buildfile." + IL_0096: ldloc.s 7 + IL_0098: ldloc.s 6 + IL_009a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) + IL_009f: throw + } // end handler 3 + IL_00a0: ldloc.3 + IL_00a1: stloc.s 8 + IL_00a3: br IL_00a8 - // method line 2366 - .method public hidebysig specialname - instance default string get_Description () cil managed + IL_00a8: ldloc.s 8 + IL_00aa: ret + } // end of method Project::LoadBuildFile + + // method line 2365 + .method private hidebysig + instance default void ConfigurePlatformProperties () cil managed { - // Method begins at RVA 0x2c878 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2c5f8 + // Code size 260 (0x104) + .maxstack 4 .locals init ( - string V_0) + string V_0, + valuetype [mscorlib]System.PlatformID V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Target::_description - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0007: ldstr "nant.platform.name" + IL_000c: ldarg.0 + IL_000d: call instance string class NAnt.Core.Project::get_PlatformName() + IL_0012: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_0017: ldarg.0 + IL_0018: call instance string class NAnt.Core.Project::get_PlatformName() + IL_001d: stloc.0 + IL_001e: ldloc.0 + IL_001f: brfalse IL_00bd - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Target::get_Description + IL_0024: ldloc.0 + IL_0025: ldstr "win32" + IL_002a: call bool string::op_Equality(string, string) + IL_002f: brtrue IL_0049 - // method line 2367 - .method public hidebysig specialname - instance default void set_DependsListString (string 'value') cil managed - { - // Method begins at RVA 0x2c894 - // Code size 86 (0x56) - .maxstack 5 - .locals init ( - string V_0, - string[] V_1, - int32 V_2, - string V_3) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: ldc.i4.2 - IL_0004: newarr [mscorlib]System.Char - IL_0009: dup - IL_000a: ldc.i4.0 - IL_000b: ldc.i4.s 0x20 - IL_000d: stelem.i2 - IL_000e: dup - IL_000f: ldc.i4.1 - IL_0010: ldc.i4.s 0x2c - IL_0012: stelem.i2 - IL_0013: callvirt instance string[] string::Split(char[]) - IL_0018: stloc.1 - IL_0019: ldc.i4.0 - IL_001a: stloc.2 - IL_001b: br IL_004c + IL_0034: ldloc.0 + IL_0035: ldstr "unix" + IL_003a: call bool string::op_Equality(string, string) + IL_003f: brtrue IL_0083 - IL_0020: ldloc.1 - IL_0021: ldloc.2 - IL_0022: ldelem.ref - IL_0023: stloc.0 - IL_0024: nop - IL_0025: ldloc.0 - IL_0026: callvirt instance string string::Trim() - IL_002b: stloc.3 - IL_002c: ldloc.3 - IL_002d: callvirt instance int32 string::get_Length() - IL_0032: ldc.i4.0 - IL_0033: ble IL_0047 + IL_0044: br IL_00bd - IL_0038: nop - IL_0039: ldarg.0 - IL_003a: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Target::get_Dependencies() - IL_003f: ldloc.3 - IL_0040: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0045: pop - IL_0046: nop - IL_0047: nop - IL_0048: ldloc.2 - IL_0049: ldc.i4.1 - IL_004a: add - IL_004b: stloc.2 - IL_004c: ldloc.2 - IL_004d: ldloc.1 - IL_004e: ldlen - IL_004f: conv.i4 - IL_0050: blt IL_0020 + IL_0049: ldarg.0 + IL_004a: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_004f: ldstr "nant.platform.unix" + IL_0054: ldstr "false" + IL_0059: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_005e: ldarg.0 + IL_005f: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0064: ldstr "nant.platform." + IL_0069: ldarg.0 + IL_006a: call instance string class NAnt.Core.Project::get_PlatformName() + IL_006f: call string string::Concat(string, string) + IL_0074: ldstr "true" + IL_0079: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_007e: br IL_0103 - IL_0055: ret - } // end of method Target::set_DependsListString + IL_0083: ldarg.0 + IL_0084: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0089: ldstr "nant.platform." + IL_008e: ldarg.0 + IL_008f: call instance string class NAnt.Core.Project::get_PlatformName() + IL_0094: call string string::Concat(string, string) + IL_0099: ldstr "true" + IL_009e: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_00a3: ldarg.0 + IL_00a4: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00a9: ldstr "nant.platform.win32" + IL_00ae: ldstr "false" + IL_00b3: callvirt instance void class NAnt.Core.PropertyDictionary::AddReadOnly(string, string) + IL_00b8: br IL_0103 - // method line 2368 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Dependencies () cil managed + IL_00bd: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c2: ldstr "NA1060" + IL_00c7: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00cc: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_00d1: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_00d6: stloc.1 + IL_00d7: ldloca.s 1 + IL_00d9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00de: constrained. [mscorlib]System.PlatformID + IL_00e4: callvirt instance string class [mscorlib]System.Enum::ToString(class [mscorlib]System.IFormatProvider) + IL_00e9: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_00ee: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_00f3: box [mscorlib]System.Int32 + IL_00f8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00fd: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0102: throw + IL_0103: ret + } // end of method Project::ConfigurePlatformProperties + + // method line 2366 + .method private hidebysig + instance default void UpdateTargetFrameworkProperties () cil managed { - // Method begins at RVA 0x2c8f8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + // Method begins at RVA 0x2c708 + // Code size 257 (0x101) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0007: ldstr "nant.settings.currentframework" + IL_000c: ldarg.0 + IL_000d: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0012: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_0017: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_001c: ldarg.0 + IL_001d: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0022: ldstr "nant.settings.currentframework.version" + IL_0027: ldarg.0 + IL_0028: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_002d: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_Version() + IL_0032: callvirt instance string object::ToString() + IL_0037: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_003c: ldarg.0 + IL_003d: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_0042: ldstr "nant.settings.currentframework.description" + IL_0047: ldarg.0 + IL_0048: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_004d: callvirt instance string class NAnt.Core.FrameworkInfo::get_Description() + IL_0052: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0057: ldarg.0 + IL_0058: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_005d: ldstr "nant.settings.currentframework.frameworkdirectory" + IL_0062: ldarg.0 + IL_0063: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0068: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_006d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0072: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0077: ldarg.0 + IL_0078: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_007d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_0082: brfalse IL_00ae - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Target::get_Dependencies + IL_0087: nop + IL_0088: ldarg.0 + IL_0089: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_008e: ldstr "nant.settings.currentframework.sdkdirectory" + IL_0093: ldarg.0 + IL_0094: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_0099: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_009e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00a3: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00a8: nop + IL_00a9: br IL_00c5 - // method line 2369 - .method private final virtual hidebysig newslot - instance default object System.ICloneable.Clone () cil managed + IL_00ae: nop + IL_00af: ldarg.0 + IL_00b0: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00b5: ldstr "nant.settings.currentframework.sdkdirectory" + IL_00ba: ldstr "" + IL_00bf: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00c4: nop + IL_00c5: ldarg.0 + IL_00c6: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00cb: ldstr "nant.settings.currentframework.frameworkassemblydirectory" + IL_00d0: ldarg.0 + IL_00d1: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_00d6: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() + IL_00db: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00e0: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_00e5: ldarg.0 + IL_00e6: call instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_00eb: ldstr "nant.settings.currentframework.runtimeengine" + IL_00f0: ldarg.0 + IL_00f1: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_00f6: callvirt instance string class NAnt.Core.FrameworkInfo::get_RuntimeEngine() + IL_00fb: callvirt instance void class NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0100: ret + } // end of method Project::UpdateTargetFrameworkProperties + + // method line 2367 + .method private hidebysig + instance default class [System.Xml]System.Xml.XmlNode GetConfigurationNode () cil managed { - // Method begins at RVA 0x2c914 - .override Could not decode method override class [mscorlib]System.ICloneable::Clone due to (null) - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2c818 + // Code size 69 (0x45) + .maxstack 3 .locals init ( - object V_0) + class [System.Xml]System.Xml.XmlNode V_0, + class [System.Xml]System.Xml.XmlNode V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Target class NAnt.Core.Target::Clone() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldstr "nant" + IL_0006: call object class [System]System.Configuration.ConfigurationSettings::GetConfig(string) + IL_000b: isinst [System.Xml]System.Xml.XmlNode + IL_0010: stloc.0 + IL_0011: ldloc.0 + IL_0012: brtrue IL_003c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Target::System.ICloneable.Clone + IL_0017: nop + IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001d: ldstr "The NAnt configuration settings in file '{0}' could not be loaded. Please ensure this file is available and contains a 'nant' settings node." + IL_0022: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0027: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() + IL_002c: callvirt instance string class [mscorlib]System.AppDomainSetup::get_ConfigurationFile() + IL_0031: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0036: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_003b: throw + IL_003c: ldloc.0 + IL_003d: stloc.1 + IL_003e: br IL_0043 - // method line 2370 + IL_0043: ldloc.1 + IL_0044: ret + } // end of method Project::GetConfigurationNode + + // method line 2368 .method public hidebysig - instance default class NAnt.Core.Target Clone () cil managed + instance default class NAnt.Core.TargetCollection TopologicalTargetSort (string root, class NAnt.Core.TargetCollection targets) cil managed { - // Method begins at RVA 0x2c930 - // Code size 95 (0x5f) - .maxstack 2 + // Method begins at RVA 0x2c86c + // Code size 267 (0x10b) + .maxstack 6 .locals init ( - class NAnt.Core.Target V_0, - class NAnt.Core.Target V_1) + class NAnt.Core.TargetCollection V_0, + class [mscorlib]System.Collections.Hashtable V_1, + class [mscorlib]System.Collections.Stack V_2, + class NAnt.Core.Target V_3, + class [mscorlib]System.Collections.IEnumerator V_4, + string V_5, + class [mscorlib]System.IDisposable V_6, + class NAnt.Core.TargetCollection V_7) IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.Target::'.ctor'() + IL_0001: newobj instance void class NAnt.Core.TargetCollection::'.ctor'() IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance void class NAnt.Core.Element::CopyTo(class NAnt.Core.Element) - IL_000e: ldloc.0 - IL_000f: ldarg.0 - IL_0010: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies - IL_0015: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::_dependencies - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld string NAnt.Core.Target::_description - IL_0021: stfld string NAnt.Core.Target::_description - IL_0026: ldloc.0 - IL_0027: ldarg.0 - IL_0028: ldfld bool NAnt.Core.Target::_executed - IL_002d: stfld bool NAnt.Core.Target::_executed - IL_0032: ldloc.0 - IL_0033: ldarg.0 - IL_0034: ldfld string NAnt.Core.Target::_ifCondition - IL_0039: stfld string NAnt.Core.Target::_ifCondition - IL_003e: ldloc.0 - IL_003f: ldarg.0 - IL_0040: ldfld string NAnt.Core.Target::_name - IL_0045: stfld string NAnt.Core.Target::_name - IL_004a: ldloc.0 - IL_004b: ldarg.0 - IL_004c: ldfld string NAnt.Core.Target::_unlessCondition - IL_0051: stfld string NAnt.Core.Target::_unlessCondition - IL_0056: ldloc.0 - IL_0057: stloc.1 - IL_0058: br IL_005d + IL_0007: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_000c: stloc.1 + IL_000d: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_0012: stloc.2 + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: ldarg.2 + IL_0016: ldloc.1 + IL_0017: ldloc.2 + IL_0018: ldloc.0 + IL_0019: call instance void class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack, class NAnt.Core.TargetCollection) + IL_001e: ldarg.0 + IL_001f: ldc.i4 1000 + IL_0024: ldc.i4.4 + IL_0025: newarr [mscorlib]System.Object + IL_002a: dup + IL_002b: ldc.i4.0 + IL_002c: ldstr "Build sequence for target `" + IL_0031: stelem.ref + IL_0032: dup + IL_0033: ldc.i4.1 + IL_0034: ldarg.1 + IL_0035: stelem.ref + IL_0036: dup + IL_0037: ldc.i4.2 + IL_0038: ldstr "' is " + IL_003d: stelem.ref + IL_003e: dup + IL_003f: ldc.i4.3 + IL_0040: ldloc.0 + IL_0041: stelem.ref + IL_0042: call string string::Concat(object[]) + IL_0047: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) + IL_004c: nop + IL_004d: ldarg.2 + IL_004e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0053: stloc.s 4 + .try { // 0 + IL_0055: br IL_00c2 - IL_005d: ldloc.1 - IL_005e: ret - } // end of method Target::Clone + IL_005a: ldloc.s 4 + IL_005c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0061: castclass NAnt.Core.Target + IL_0066: stloc.3 + IL_0067: nop + IL_0068: ldloc.1 + IL_0069: ldloc.3 + IL_006a: callvirt instance string class NAnt.Core.Target::get_Name() + IL_006f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0074: castclass [mscorlib]System.String + IL_0079: stloc.s 5 + IL_007b: ldloc.s 5 + IL_007d: brtrue IL_0099 - // method line 2371 - .method public hidebysig - instance default void Execute () cil managed + IL_0082: nop + IL_0083: ldarg.0 + IL_0084: ldloc.3 + IL_0085: callvirt instance string class NAnt.Core.Target::get_Name() + IL_008a: ldarg.2 + IL_008b: ldloc.1 + IL_008c: ldloc.2 + IL_008d: ldloc.0 + IL_008e: call instance void class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack, class NAnt.Core.TargetCollection) + IL_0093: nop + IL_0094: br IL_00c1 + + IL_0099: ldloc.s 5 + IL_009b: ldstr "VISITING" + IL_00a0: call bool string::op_Equality(string, string) + IL_00a5: brfalse IL_00c1 + + IL_00aa: nop + IL_00ab: ldstr "Unexpected node in visiting state: " + IL_00b0: ldloc.3 + IL_00b1: callvirt instance string class NAnt.Core.Target::get_Name() + IL_00b6: call string string::Concat(string, string) + IL_00bb: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_00c0: throw + IL_00c1: nop + IL_00c2: ldloc.s 4 + IL_00c4: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00c9: brtrue IL_005a + + IL_00ce: leave IL_00ea + + } // end .try 0 + finally { // 0 + IL_00d3: ldloc.s 4 + IL_00d5: isinst [mscorlib]System.IDisposable + IL_00da: dup + IL_00db: stloc.s 6 + IL_00dd: brfalse IL_00e9 + + IL_00e2: ldloc.s 6 + IL_00e4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00e9: endfinally + } // end handler 0 + IL_00ea: ldarg.0 + IL_00eb: ldc.i4 1000 + IL_00f0: ldstr "Complete build sequence is " + IL_00f5: ldloc.0 + IL_00f6: call string string::Concat(object, object) + IL_00fb: call instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string) + IL_0100: ldloc.0 + IL_0101: stloc.s 7 + IL_0103: br IL_0108 + + IL_0108: ldloc.s 7 + IL_010a: ret + } // end of method Project::TopologicalTargetSort + + // method line 2369 + .method private hidebysig + instance default void TopologicalTargetSort (string root, class NAnt.Core.TargetCollection targets, class [mscorlib]System.Collections.Hashtable state, class [mscorlib]System.Collections.Stack visiting, class NAnt.Core.TargetCollection executeTargets) cil managed { - // Method begins at RVA 0x2c99c - // Code size 473 (0x1d9) - .maxstack 7 + // Method begins at RVA 0x2c994 + // Code size 411 (0x19b) + .maxstack 6 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Task V_2, - class NAnt.Core.DataTypeBase V_3, - class [mscorlib]System.IDisposable V_4) + class NAnt.Core.Target V_0, + class [mscorlib]System.Text.StringBuilder V_1, + string V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + string V_5, + class [mscorlib]System.IDisposable V_6, + string V_7) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Target::get_IfDefined() - IL_0007: brfalse IL_01d8 - - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Target::get_UnlessDefined() - IL_0012: brtrue IL_01d8 + IL_0001: ldarg.3 + IL_0002: ldarg.1 + IL_0003: ldstr "VISITING" + IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_000d: ldarg.s 4 + IL_000f: ldarg.1 + IL_0010: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_0015: ldarg.2 + IL_0016: ldarg.1 + IL_0017: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_001c: stloc.0 + IL_001d: ldloc.0 + IL_001e: brtrue IL_00c8 - IL_0017: nop - .try { // 1 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_001f: ldarg.0 - IL_0020: ldarg.0 - IL_0021: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Target) - IL_0026: callvirt instance void class NAnt.Core.Project::OnTargetStarted(object, class NAnt.Core.BuildEventArgs) - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: callvirt instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() - IL_0032: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNode::GetEnumerator() - IL_0037: stloc.1 - .try { // 0 - IL_0038: br IL_018f + IL_0023: nop + IL_0024: ldarg.2 + IL_0025: ldstr "*" + IL_002a: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) + IL_002f: stloc.0 + IL_0030: ldloc.0 + IL_0031: brfalse IL_004b - IL_003d: ldloc.1 - IL_003e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0043: castclass [System.Xml]System.Xml.XmlNode - IL_0048: stloc.0 - IL_0049: nop - IL_004a: ldloc.0 - IL_004b: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_0050: ldc.i4.1 - IL_0051: bne.un IL_0076 + IL_0036: nop + IL_0037: ldloc.0 + IL_0038: callvirt instance class NAnt.Core.Target class NAnt.Core.Target::Clone() + IL_003d: stloc.0 + IL_003e: ldloc.0 + IL_003f: ldarg.1 + IL_0040: callvirt instance void class NAnt.Core.Target::set_Name(string) + IL_0045: nop + IL_0046: br IL_00c7 - IL_0056: ldloc.0 - IL_0057: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_NamespaceURI() - IL_005c: ldarg.0 - IL_005d: call instance class [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() - IL_0062: ldstr "nant" - IL_0067: callvirt instance string class [System.Xml]System.Xml.XmlNamespaceManager::LookupNamespace(string) - IL_006c: callvirt instance bool string::Equals(string) - IL_0071: brtrue IL_007c + IL_004b: nop + IL_004c: ldstr "Target '" + IL_0051: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_0056: stloc.1 + IL_0057: ldloc.1 + IL_0058: ldarg.1 + IL_0059: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_005e: pop + IL_005f: ldloc.1 + IL_0060: ldstr "' does not exist in this project." + IL_0065: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_006a: pop + IL_006b: ldarg.s 4 + IL_006d: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_0072: pop + IL_0073: ldarg.s 4 + IL_0075: callvirt instance int32 class [mscorlib]System.Collections.Stack::get_Count() + IL_007a: ldc.i4.0 + IL_007b: ble IL_00bb - IL_0076: nop - IL_0077: leave IL_018f + IL_0080: nop + IL_0081: ldarg.s 4 + IL_0083: callvirt instance object class [mscorlib]System.Collections.Stack::Peek() + IL_0088: castclass [mscorlib]System.String + IL_008d: stloc.2 + IL_008e: ldloc.1 + IL_008f: ldstr " " + IL_0094: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0099: pop + IL_009a: ldloc.1 + IL_009b: ldstr "It is used from target '" + IL_00a0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00a5: pop + IL_00a6: ldloc.1 + IL_00a7: ldloc.2 + IL_00a8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ad: pop + IL_00ae: ldloc.1 + IL_00af: ldstr "'." + IL_00b4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00b9: pop + IL_00ba: nop + IL_00bb: ldloc.1 + IL_00bc: callvirt instance string object::ToString() + IL_00c1: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_00c6: throw + IL_00c7: nop + IL_00c8: nop + IL_00c9: ldloc.0 + IL_00ca: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Target::get_Dependencies() + IL_00cf: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00d4: stloc.s 4 + .try { // 0 + IL_00d6: br IL_0129 - IL_007c: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() - IL_0081: ldloc.0 - IL_0082: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0087: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) - IL_008c: brfalse IL_00b4 + IL_00db: ldloc.s 4 + IL_00dd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00e2: stloc.3 + IL_00e3: nop + IL_00e4: ldarg.3 + IL_00e5: ldloc.3 + IL_00e6: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_00eb: castclass [mscorlib]System.String + IL_00f0: stloc.s 5 + IL_00f2: ldloc.s 5 + IL_00f4: brtrue IL_010d - IL_0091: nop - IL_0092: ldarg.0 - IL_0093: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0098: ldloc.0 - IL_0099: ldarg.0 - IL_009a: callvirt instance class NAnt.Core.Task class NAnt.Core.Project::CreateTask(class [System.Xml]System.Xml.XmlNode, class NAnt.Core.Target) - IL_009f: stloc.2 - IL_00a0: ldloc.2 - IL_00a1: brfalse IL_00ae + IL_00f9: nop + IL_00fa: ldarg.0 + IL_00fb: ldloc.3 + IL_00fc: ldarg.2 + IL_00fd: ldarg.3 + IL_00fe: ldarg.s 4 + IL_0100: ldarg.s 5 + IL_0102: call instance void class NAnt.Core.Project::TopologicalTargetSort(string, class NAnt.Core.TargetCollection, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Stack, class NAnt.Core.TargetCollection) + IL_0107: nop + IL_0108: br IL_0128 - IL_00a6: nop - IL_00a7: ldloc.2 - IL_00a8: callvirt instance void class NAnt.Core.Task::Execute() - IL_00ad: nop - IL_00ae: nop - IL_00af: br IL_018e + IL_010d: ldloc.s 5 + IL_010f: ldstr "VISITING" + IL_0114: call bool string::op_Equality(string, string) + IL_0119: brfalse IL_0128 - IL_00b4: call class NAnt.Core.DataTypeBaseBuilderCollection class NAnt.Core.TypeFactory::get_DataTypeBuilders() - IL_00b9: ldloc.0 - IL_00ba: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00bf: callvirt instance bool class NAnt.Core.DataTypeBaseBuilderCollection::Contains(string) - IL_00c4: brfalse IL_015c + IL_011e: nop + IL_011f: ldloc.3 + IL_0120: ldarg.s 4 + IL_0122: call class NAnt.Core.BuildException class NAnt.Core.Project::CreateCircularException(string, class [mscorlib]System.Collections.Stack) + IL_0127: throw + IL_0128: nop + IL_0129: ldloc.s 4 + IL_012b: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0130: brtrue IL_00db - IL_00c9: nop - IL_00ca: ldarg.0 - IL_00cb: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00d0: ldloc.0 - IL_00d1: callvirt instance class NAnt.Core.DataTypeBase class NAnt.Core.Project::CreateDataTypeBase(class [System.Xml]System.Xml.XmlNode) - IL_00d6: stloc.3 - IL_00d7: ldarg.0 - IL_00d8: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00dd: ldc.i4 2000 - IL_00e2: ldstr "Adding a {0} reference with id '{1}'." - IL_00e7: ldc.i4.2 - IL_00e8: newarr [mscorlib]System.Object - IL_00ed: dup - IL_00ee: ldc.i4.0 - IL_00ef: ldloc.0 - IL_00f0: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00f5: stelem.ref - IL_00f6: dup - IL_00f7: ldc.i4.1 - IL_00f8: ldloc.3 - IL_00f9: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_00fe: stelem.ref - IL_00ff: callvirt instance void class NAnt.Core.Project::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0104: ldarg.0 - IL_0105: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_010a: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_010f: ldloc.3 - IL_0110: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_0115: callvirt instance bool class NAnt.Core.DataTypeBaseDictionary::Contains(string) - IL_011a: brtrue IL_013d + IL_0135: leave IL_0151 - IL_011f: nop - IL_0120: ldarg.0 - IL_0121: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0126: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_012b: ldloc.3 - IL_012c: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_0131: ldloc.3 - IL_0132: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::Add(string, class NAnt.Core.DataTypeBase) - IL_0137: nop - IL_0138: br IL_0156 + } // end .try 0 + finally { // 0 + IL_013a: ldloc.s 4 + IL_013c: isinst [mscorlib]System.IDisposable + IL_0141: dup + IL_0142: stloc.s 6 + IL_0144: brfalse IL_0150 - IL_013d: nop - IL_013e: ldarg.0 - IL_013f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0144: callvirt instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.Project::get_DataTypeReferences() - IL_0149: ldloc.3 - IL_014a: callvirt instance string class NAnt.Core.DataTypeBase::get_ID() - IL_014f: ldloc.3 - IL_0150: callvirt instance void class NAnt.Core.DataTypeBaseDictionary::set_Item(string, class NAnt.Core.DataTypeBase) - IL_0155: nop - IL_0156: nop - IL_0157: br IL_018e + IL_0149: ldloc.s 6 + IL_014b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0150: endfinally + } // end handler 0 + IL_0151: ldarg.s 4 + IL_0153: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_0158: castclass [mscorlib]System.String + IL_015d: stloc.s 7 + IL_015f: ldarg.1 + IL_0160: ldloc.s 7 + IL_0162: call bool string::op_Inequality(string, string) + IL_0167: brfalse IL_0185 - IL_015c: nop - IL_015d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0162: ldstr "NA1071" - IL_0167: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_016c: ldloc.0 - IL_016d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0172: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0177: ldarg.0 - IL_0178: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_017d: callvirt instance class NAnt.Core.LocationMap class NAnt.Core.Project::get_LocationMap() - IL_0182: ldloc.0 - IL_0183: callvirt instance class NAnt.Core.Location class NAnt.Core.LocationMap::GetLocation(class [System.Xml]System.Xml.XmlNode) - IL_0188: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_018d: throw - IL_018e: nop - IL_018f: ldloc.1 - IL_0190: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0195: brtrue IL_003d + IL_016c: nop + IL_016d: ldstr "Unexpected internal error: expected to pop " + IL_0172: ldarg.1 + IL_0173: ldstr " but got " + IL_0178: ldloc.s 7 + IL_017a: call string string::Concat(string, string, string, string) + IL_017f: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0184: throw + IL_0185: ldarg.3 + IL_0186: ldarg.1 + IL_0187: ldstr "VISITED" + IL_018c: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0191: ldarg.s 5 + IL_0193: ldloc.0 + IL_0194: callvirt instance int32 class NAnt.Core.TargetCollection::Add(class NAnt.Core.Target) + IL_0199: pop + IL_019a: ret + } // end of method Project::TopologicalTargetSort - IL_019a: leave IL_01b5 + // method line 2370 + .method private static hidebysig + default class NAnt.Core.BuildException CreateCircularException (string end, class [mscorlib]System.Collections.Stack stack) cil managed + { + // Method begins at RVA 0x2cb4c + // Code size 85 (0x55) + .maxstack 2 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + string V_1, + class NAnt.Core.BuildException V_2) + IL_0000: nop + IL_0001: ldstr "Circular dependency: " + IL_0006: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_000b: stloc.0 + IL_000c: ldloc.0 + IL_000d: ldarg.0 + IL_000e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0013: pop + IL_0014: nop + IL_0015: ldarg.1 + IL_0016: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_001b: castclass [mscorlib]System.String + IL_0020: stloc.1 + IL_0021: ldloc.0 + IL_0022: ldstr " <- " + IL_0027: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_002c: pop + IL_002d: ldloc.0 + IL_002e: ldloc.1 + IL_002f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0034: pop + IL_0035: nop + IL_0036: ldloc.1 + IL_0037: ldarg.0 + IL_0038: callvirt instance bool string::Equals(string) + IL_003d: brfalse IL_0014 - } // end .try 0 - finally { // 0 - IL_019f: ldloc.1 - IL_01a0: isinst [mscorlib]System.IDisposable - IL_01a5: dup - IL_01a6: stloc.s 4 - IL_01a8: brfalse IL_01b4 + IL_0042: ldloc.0 + IL_0043: callvirt instance string object::ToString() + IL_0048: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_004d: stloc.2 + IL_004e: br IL_0053 - IL_01ad: ldloc.s 4 - IL_01af: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01b4: endfinally - } // end handler 0 - IL_01b5: nop - IL_01b6: leave IL_01d7 + IL_0053: ldloc.2 + IL_0054: ret + } // end of method Project::CreateCircularException - } // end .try 1 - finally { // 1 - IL_01bb: nop - IL_01bc: ldarg.0 - IL_01bd: ldc.i4.1 - IL_01be: stfld bool NAnt.Core.Target::_executed - IL_01c3: ldarg.0 - IL_01c4: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_01c9: ldarg.0 - IL_01ca: ldarg.0 - IL_01cb: newobj instance void class NAnt.Core.BuildEventArgs::'.ctor'(class NAnt.Core.Target) - IL_01d0: callvirt instance void class NAnt.Core.Project::OnTargetFinished(object, class NAnt.Core.BuildEventArgs) - IL_01d5: nop - IL_01d6: endfinally - } // end handler 1 - IL_01d7: nop - IL_01d8: ret - } // end of method Target::Execute + // method line 2371 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x2cbad + // Code size 21 (0x15) + .maxstack 8 + IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() + IL_0005: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.MemberInfo::get_DeclaringType() + IL_000a: call class [log4net]log4net.ILog class [log4net]log4net.LogManager::GetLogger(class [mscorlib]System.Type) + IL_000f: stsfld class [log4net]log4net.ILog NAnt.Core.Project::logger + IL_0014: ret + } // end of method Project::.cctor - .property instance bool Executed () + .property instance int32 IndentationLevel () { - .get instance default bool NAnt.Core.Target::get_Executed () + .get instance default int32 NAnt.Core.Project::get_IndentationLevel () } - .property instance string Name () + .property instance int32 IndentationSize () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 02 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 54 02 10 45 78 70 61 6E 64 50 72 // ired.T..ExpandPr - 6F 70 65 72 74 69 65 73 00 ) // operties. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Target::get_Name () - .set instance default void NAnt.Core.Target::set_Name (string 'value') + .get instance default int32 NAnt.Core.Project::get_IndentationSize () } - .property instance string IfCondition () + .property instance valuetype NAnt.Core.Level Threshold () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 69 66 01 00 54 02 10 45 78 70 61 6E 64 // ...if..T..Expand - 50 72 6F 70 65 72 74 69 65 73 00 ) // Properties. - - .get instance default string NAnt.Core.Target::get_IfCondition () - .set instance default void NAnt.Core.Target::set_IfCondition (string 'value') + .get instance default valuetype NAnt.Core.Level NAnt.Core.Project::get_Threshold () + .set instance default void NAnt.Core.Project::set_Threshold (valuetype NAnt.Core.Level 'value') } - .property instance bool IfDefined () + .property instance string ProjectName () { - .get instance default bool NAnt.Core.Target::get_IfDefined () + .get instance default string NAnt.Core.Project::get_ProjectName () } - .property instance string UnlessCondition () + .property instance string BaseDirectory () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 75 6E 6C 65 73 73 01 00 54 02 10 45 78 // ...unless..T..Ex - 70 61 6E 64 50 72 6F 70 65 72 74 69 65 73 00 ) // pandProperties. - - .get instance default string NAnt.Core.Target::get_UnlessCondition () - .set instance default void NAnt.Core.Target::set_UnlessCondition (string 'value') + .get instance default string NAnt.Core.Project::get_BaseDirectory () + .set instance default void NAnt.Core.Project::set_BaseDirectory (string 'value') } - .property instance bool UnlessDefined () + .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () { - .get instance default bool NAnt.Core.Target::get_UnlessDefined () + .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.Project::get_NamespaceManager () } - .property instance string Description () + .property instance class [System]System.Uri BuildFileUri () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 64 65 73 63 72 69 70 74 69 6F 6E 00 00 ) // ...description.. - - .get instance default string NAnt.Core.Target::get_Description () - .set instance default void NAnt.Core.Target::set_Description (string 'value') + .get instance default class [System]System.Uri NAnt.Core.Project::get_BuildFileUri () } - .property instance string DependsListString () + .property instance class NAnt.Core.FrameworkInfoDictionary Frameworks () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 64 65 70 65 6E 64 73 00 00 ) // ...depends.. - - .set instance default void NAnt.Core.Target::set_DependsListString (string 'value') + .get instance default class NAnt.Core.FrameworkInfoDictionary NAnt.Core.Project::get_Frameworks () } - .property instance class [System]System.Collections.Specialized.StringCollection Dependencies () + .property instance class NAnt.Core.FrameworkInfo RuntimeFramework () { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::get_Dependencies () + .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.Project::get_RuntimeFramework () + .set instance default void NAnt.Core.Project::set_RuntimeFramework (class NAnt.Core.FrameworkInfo 'value') } - } // end of class NAnt.Core.Target + .property instance class NAnt.Core.FrameworkInfo TargetFramework () + { + .get instance default class NAnt.Core.FrameworkInfo NAnt.Core.Project::get_TargetFramework () + .set instance default void NAnt.Core.Project::set_TargetFramework (class NAnt.Core.FrameworkInfo 'value') + } + .property instance string PlatformName () + { + .get instance default string NAnt.Core.Project::get_PlatformName () + } + .property instance class NAnt.Core.Target CurrentTarget () + { + .get instance default class NAnt.Core.Target NAnt.Core.Project::get_CurrentTarget () + } + .property instance string BuildFileLocalName () + { + .get instance default string NAnt.Core.Project::get_BuildFileLocalName () + } + .property instance class [System.Xml]System.Xml.XmlDocument Document () + { + .get instance default class [System.Xml]System.Xml.XmlDocument NAnt.Core.Project::get_Document () + } + .property instance class [System.Xml]System.Xml.XmlNode ConfigurationNode () + { + .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Project::get_ConfigurationNode () + } + .property instance string DefaultTargetName () + { + .get instance default string NAnt.Core.Project::get_DefaultTargetName () + } + .property instance bool Verbose () + { + .get instance default bool NAnt.Core.Project::get_Verbose () + } + .property instance class [System]System.Collections.Specialized.StringCollection BuildTargets () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Project::get_BuildTargets () + } + .property instance class NAnt.Core.PropertyDictionary Properties () + { + .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Project::get_Properties () + } + .property instance class NAnt.Core.PropertyDictionary FrameworkNeutralProperties () + { + .get instance default class NAnt.Core.PropertyDictionary NAnt.Core.Project::get_FrameworkNeutralProperties () + } + .property instance class NAnt.Core.DataTypeBaseDictionary DataTypeReferences () + { + .get instance default class NAnt.Core.DataTypeBaseDictionary NAnt.Core.Project::get_DataTypeReferences () + } + .property instance class NAnt.Core.TargetCollection Targets () + { + .get instance default class NAnt.Core.TargetCollection NAnt.Core.Project::get_Targets () + } + .property instance class NAnt.Core.BuildListenerCollection BuildListeners () + { + .get instance default class NAnt.Core.BuildListenerCollection NAnt.Core.Project::get_BuildListeners () + } + .property instance class NAnt.Core.LocationMap LocationMap () + { + .get instance default class NAnt.Core.LocationMap NAnt.Core.Project::get_LocationMap () + } + .event NAnt.Core.BuildEventHandler BuildStarted + { + .addon instance default void NAnt.Core.Project::add_BuildStarted (class NAnt.Core.BuildEventHandler 'value') + .removeon instance default void NAnt.Core.Project::remove_BuildStarted (class NAnt.Core.BuildEventHandler 'value') + } + .event NAnt.Core.BuildEventHandler BuildFinished + { + .addon instance default void NAnt.Core.Project::add_BuildFinished (class NAnt.Core.BuildEventHandler 'value') + .removeon instance default void NAnt.Core.Project::remove_BuildFinished (class NAnt.Core.BuildEventHandler 'value') + } + .event NAnt.Core.BuildEventHandler TargetStarted + { + .addon instance default void NAnt.Core.Project::add_TargetStarted (class NAnt.Core.BuildEventHandler 'value') + .removeon instance default void NAnt.Core.Project::remove_TargetStarted (class NAnt.Core.BuildEventHandler 'value') + } + .event NAnt.Core.BuildEventHandler TargetFinished + { + .addon instance default void NAnt.Core.Project::add_TargetFinished (class NAnt.Core.BuildEventHandler 'value') + .removeon instance default void NAnt.Core.Project::remove_TargetFinished (class NAnt.Core.BuildEventHandler 'value') + } + .event NAnt.Core.BuildEventHandler TaskStarted + { + .addon instance default void NAnt.Core.Project::add_TaskStarted (class NAnt.Core.BuildEventHandler 'value') + .removeon instance default void NAnt.Core.Project::remove_TaskStarted (class NAnt.Core.BuildEventHandler 'value') + } + .event NAnt.Core.BuildEventHandler TaskFinished + { + .addon instance default void NAnt.Core.Project::add_TaskFinished (class NAnt.Core.BuildEventHandler 'value') + .removeon instance default void NAnt.Core.Project::remove_TaskFinished (class NAnt.Core.BuildEventHandler 'value') + } + .event NAnt.Core.BuildEventHandler MessageLogged + { + .addon instance default void NAnt.Core.Project::add_MessageLogged (class NAnt.Core.BuildEventHandler 'value') + .removeon instance default void NAnt.Core.Project::remove_MessageLogged (class NAnt.Core.BuildEventHandler 'value') + } + } // end of class NAnt.Core.Project +} + +.namespace NAnt.Core +{ + .class private auto ansi sealed Optimizations + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Optimizations None = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Optimizations SkipAutomaticDiscovery = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Optimizations SkipFrameworkConfiguration = int32(0x00000002) + + } // end of class NAnt.Core.Optimizations } .class private auto ansi abstract sealed beforefieldinit '' /usr/share/NAnt/bin/NAnt.Core.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.Core.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.Core.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,4971 +4,5902 @@ NAnt.Core - + - Contains a collection of elements. + Used to indicate that a property should be able to be converted into a + . - + - Initializes a new instance of the class. + Initializes a new instance of the + class. - + - Initializes a new instance of the class - with the specified instance. + Checks if the specified value can be converted to a . + The value to be checked. + cannot be converted to a . - + - Initializes a new instance of the class - with the specified array of instances. + Defines possible locations in which a task executable can be located. - + - Gets or sets the element at the specified index. + Locates the task executable in the current Framework directory. - The zero-based index of the element to get or set. - + - Gets the with the specified name. + Locates the task executable in the current Framework SDK directory. - The name of the to get. - + - Adds a to the end of the collection. + Indicates the location that a task executable can be located in. - The to be added to the end of the collection. - The position into which the new element was inserted. + + + When applied to a task deriving from , + the program to execute will first be searched for in the designated + location. + + + If the program does not exist in that location, and the file name is + not an absolute path then the list of tool paths of the current + target framework will be searched (in the order in which they are + defined in the NAnt configuration file). + + - + - Adds the elements of a array to the end of the collection. + Initializes a new instance of the + with the specified location. - The array of elements to be added to the end of the collection. + The of the attribute. - + - Adds the elements of a to the end of the collection. + Gets or sets the of the task. - The to be added to the end of the collection. + + The location type of the task to which the attribute is assigned. + - + - Determines whether a is in the collection. + Indicates that class should be treated as a NAnt element. - The to locate in the collection. - - if is found in the - collection; otherwise, . - + + Attach this attribute to a subclass of Element to have NAnt be able + to recognize it. The name should be short but must not confict + with any other element already in use. + - + - Determines whether a with the specified - value is in the collection. + Initializes a new instance of the + with the specified name. - The argument value to locate in the collection. - - if a with value - is found in the collection; otherwise, - . - + The name of the element. + is . + is a zero-length . - + - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + Gets or sets the name of the element. - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. + + The name of the element. + - + - Retrieves the index of a specified object in the collection. + Indicates that class should be treated as a task. - The object for which the index is returned. - - The index of the specified . If the is not currently a member of the collection, it returns -1. - + + Attach this attribute to a subclass of Task to have NAnt be able + to recognize it. The name should be short but must not confict + with any other task already in use. + - + - Inserts a into the collection at the specified index. + Initializes a new instance of the + with the specified name. - The zero-based index at which should be inserted. - The to insert. + The name of the task. + is . + is a zero-length . - + - Returns an enumerator that can iterate through the collection. + Indicates that the method should be exposed as a function in NAnt build + files. - - A for the entire collection. - + + Attach this attribute to a method of a class that derives from + to have NAnt be able to recognize it. + - + - Removes a member from the collection. + Initializes a new instance of the + class with the specified name. - The to remove from the collection. + The name of the function. + is . PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.DotNetTasks.dll /usr/share/NAnt/bin/NAnt.DotNetTasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.DotNetTasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.DotNetTasks.dll (monodis) @@ -70,27181 +70,27181 @@ .module NAnt.DotNetTasks.dll // GUID = { 42 } -.namespace NAnt.DotNet.Types +.namespace NAnt.DotNet.Tasks { - .class public auto ansi serializable beforefieldinit EmbeddedResourceCollection - extends NAnt.DotNet.Types.DataTypeCollectionBase - implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - + .class public auto ansi abstract CompilerBase + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .field private string _responseFileName + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private string _target + .field private bool _debug + .field private string _define + .field private class [mscorlib]System.IO.FileInfo _win32icon + .field private class [mscorlib]System.IO.FileInfo _win32res + .field private bool _warnAsError + .field private class NAnt.DotNet.Types.WarningAsError _warningAsError + .field private string _noWarn + .field private class NAnt.DotNet.Types.CompilerWarningCollection _suppressWarnings + .field private bool _forceRebuild + .field private string _mainType + .field private string _keyContainer + .field private class [mscorlib]System.IO.FileInfo _keyFile + .field private valuetype NAnt.DotNet.Types.DelaySign _delaySign + .field private class NAnt.DotNet.Types.AssemblyFileSet _references + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _lib + .field private class NAnt.DotNet.Types.AssemblyFileSet _modules + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources + .field private class NAnt.DotNet.Types.ResourceFileSetCollection _resourcesList + .field private class NAnt.DotNet.Types.PackageCollection _packages + .field private bool _supportsPackageReferences + .field private bool _supportsWarnAsErrorList + .field private bool _supportsNoWarnList + .field private bool _supportsKeyContainer + .field private bool _supportsKeyFile + .field private bool _supportsDelaySign + .field family static string[] CodebehindExtensions + .field family static initonly class [mscorlib]System.Collections.Hashtable CultureNames // method line 1 - .method public hidebysig specialname rtspecialname + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x2050 + // Code size 111 (0x6f) + .maxstack 4 + .locals init ( + class [mscorlib]System.Globalization.CultureInfo[] V_0, + class [mscorlib]System.Globalization.CultureInfo V_1, + class [mscorlib]System.Globalization.CultureInfo[] V_2, + int32 V_3) + IL_0000: ldc.i4.4 + IL_0001: newarr [mscorlib]System.String + IL_0006: dup + IL_0007: ldc.i4.0 + IL_0008: ldstr ".aspx" + IL_000d: stelem.ref + IL_000e: dup + IL_000f: ldc.i4.1 + IL_0010: ldstr ".asax" + IL_0015: stelem.ref + IL_0016: dup + IL_0017: ldc.i4.2 + IL_0018: ldstr ".ascx" + IL_001d: stelem.ref + IL_001e: dup + IL_001f: ldc.i4.3 + IL_0020: ldstr ".asmx" + IL_0025: stelem.ref + IL_0026: stsfld string[] NAnt.DotNet.Tasks.CompilerBase::CodebehindExtensions + IL_002b: nop + IL_002c: ldc.i4.7 + IL_002d: call class [mscorlib]System.Globalization.CultureInfo[] class [mscorlib]System.Globalization.CultureInfo::GetCultures(valuetype [mscorlib]System.Globalization.CultureTypes) + IL_0032: stloc.0 + IL_0033: ldloc.0 + IL_0034: ldlen + IL_0035: conv.i4 + IL_0036: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) + IL_003b: stsfld class [mscorlib]System.Collections.Hashtable NAnt.DotNet.Tasks.CompilerBase::CultureNames + IL_0040: nop + IL_0041: ldloc.0 + IL_0042: stloc.2 + IL_0043: ldc.i4.0 + IL_0044: stloc.3 + IL_0045: br IL_0065 + + IL_004a: ldloc.2 + IL_004b: ldloc.3 + IL_004c: ldelem.ref + IL_004d: stloc.1 + IL_004e: nop + IL_004f: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.DotNet.Tasks.CompilerBase::CultureNames + IL_0054: ldloc.1 + IL_0055: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_005a: ldnull + IL_005b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0060: nop + IL_0061: ldloc.3 + IL_0062: ldc.i4.1 + IL_0063: add + IL_0064: stloc.3 + IL_0065: ldloc.3 + IL_0066: ldloc.2 + IL_0067: ldlen + IL_0068: conv.i4 + IL_0069: blt IL_004a + + IL_006e: ret + } // end of method CompilerBase::.cctor + + // method line 2 + .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x21d3 - // Code size 7 (0x7) - .maxstack 8 + // Method begins at RVA 0x20cc + // Code size 102 (0x66) + .maxstack 2 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::'.ctor'() - IL_0006: ret - } // end of method EmbeddedResourceCollection::.ctor + IL_0001: newobj instance void class NAnt.DotNet.Types.WarningAsError::'.ctor'() + IL_0006: stfld class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.CompilerBase::_warningAsError + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.DotNet.Types.CompilerWarningCollection::'.ctor'() + IL_0011: stfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.CompilerBase::_suppressWarnings + IL_0016: ldarg.0 + IL_0017: ldc.i4.0 + IL_0018: stfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::_delaySign + IL_001d: ldarg.0 + IL_001e: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0023: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_references + IL_0028: ldarg.0 + IL_0029: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_002e: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_lib + IL_0033: ldarg.0 + IL_0034: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0039: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_modules + IL_003e: ldarg.0 + IL_003f: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0044: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_sources + IL_0049: ldarg.0 + IL_004a: newobj instance void class NAnt.DotNet.Types.ResourceFileSetCollection::'.ctor'() + IL_004f: stfld class NAnt.DotNet.Types.ResourceFileSetCollection NAnt.DotNet.Tasks.CompilerBase::_resourcesList + IL_0054: ldarg.0 + IL_0055: newobj instance void class NAnt.DotNet.Types.PackageCollection::'.ctor'() + IL_005a: stfld class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::_packages + IL_005f: ldarg.0 + IL_0060: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0065: ret + } // end of method CompilerBase::.ctor - // method line 2 - .method public hidebysig - instance default class NAnt.DotNet.Types.EmbeddedResourceEnumerator GetEnumerator () cil managed + // method line 3 + .method public virtual hidebysig newslot specialname + instance default bool get_Debug () cil managed { - // Method begins at RVA 0x21dc + // Method begins at RVA 0x2140 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.EmbeddedResourceEnumerator V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.DotNet.Types.EmbeddedResourceEnumerator::'.ctor'(class NAnt.DotNet.Types.EmbeddedResourceCollection) + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_debug IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EmbeddedResourceCollection::GetEnumerator + } // end of method CompilerBase::get_Debug - // method line 3 + // method line 4 + .method public virtual hidebysig newslot specialname + instance default void set_Debug (bool 'value') cil managed + { + // Method begins at RVA 0x215b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_debug + IL_0008: ret + } // end of method CompilerBase::set_Debug + + // method line 5 .method public hidebysig specialname - instance default class NAnt.DotNet.Types.EmbeddedResource get_Item (int32 index) cil managed + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x21f8 - // Code size 33 (0x21) - .maxstack 2 + // Method begins at RVA 0x2168 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.DotNet.Types.EmbeddedResource V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: ldarg.1 - IL_000f: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_0014: castclass NAnt.DotNet.Types.EmbeddedResource - IL_0019: stloc.0 - IL_001a: br IL_001f + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_outputFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001f: ldloc.0 - IL_0020: ret - } // end of method EmbeddedResourceCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_OutputFile - // method line 4 + // method line 6 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2225 - // Code size 22 (0x16) + // Method begins at RVA 0x2183 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: ldarg.1 - IL_000f: ldarg.2 - IL_0010: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_0015: ret - } // end of method EmbeddedResourceCollection::set_Item + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_outputFile + IL_0008: ret + } // end of method CompilerBase::set_OutputFile - // method line 5 + // method line 7 .method public hidebysig specialname - instance default class NAnt.DotNet.Types.EmbeddedResource get_Item (string 'value') cil managed + instance default string get_OutputTarget () cil managed { - // Method begins at RVA 0x223c - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0x2190 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.DotNet.Types.EmbeddedResource V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.DotNet.Types.EmbeddedResource V_2, - class [mscorlib]System.IDisposable V_3) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_target + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_OutputTarget - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.DotNet.Types.EmbeddedResource - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_ManifestResourceName() - IL_002e: callvirt instance bool string::Equals(string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d - - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a - - IL_004c: leave IL_0065 - - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 - - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d - - IL_006d: ldloc.2 - IL_006e: ret - } // end of method EmbeddedResourceCollection::get_Item + // method line 8 + .method public hidebysig specialname + instance default void set_OutputTarget (string 'value') cil managed + { + // Method begins at RVA 0x21ab + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_target + IL_000d: ret + } // end of method CompilerBase::set_OutputTarget - // method line 6 - .method family virtual hidebysig specialname - instance default class [mscorlib]System.Type get_ItemType () cil managed + // method line 9 + .method public hidebysig specialname + instance default string get_Define () cil managed { - // Method begins at RVA 0x22c8 - // Code size 19 (0x13) + // Method begins at RVA 0x21bc + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + string V_0) IL_0000: nop - IL_0001: ldtoken NAnt.DotNet.Types.EmbeddedResource - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: stloc.0 - IL_000c: br IL_0011 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_define + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: ldloc.0 - IL_0012: ret - } // end of method EmbeddedResourceCollection::get_ItemType + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_Define - // method line 7 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IList.get_Item (int32 index) cil managed + // method line 10 + .method public hidebysig specialname + instance default void set_Define (string 'value') cil managed { - // Method begins at RVA 0x22e8 - .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - object V_0) + // Method begins at RVA 0x21d7 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item(int32) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_define + IL_000d: ret + } // end of method CompilerBase::set_Define - IL_000e: ldloc.0 - IL_000f: ret - } // end of method EmbeddedResourceCollection::System.Collections.IList.get_Item + // method line 11 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_Win32Icon () cil managed + { + // Method begins at RVA 0x21e8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32icon + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 8 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_Win32Icon + + // method line 12 + .method public hidebysig specialname + instance default void set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2304 - .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) - // Code size 22 (0x16) + // Method begins at RVA 0x2203 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: castclass NAnt.DotNet.Types.EmbeddedResource - IL_0010: call instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::set_Item(int32, class NAnt.DotNet.Types.EmbeddedResource) - IL_0015: ret - } // end of method EmbeddedResourceCollection::System.Collections.IList.set_Item + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32icon + IL_0008: ret + } // end of method CompilerBase::set_Win32Icon - // method line 9 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed + // method line 13 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_Win32Res () cil managed { - // Method begins at RVA 0x231b - .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) - // Code size 22 (0x16) - .maxstack 8 + // Method begins at RVA 0x2210 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: castclass NAnt.DotNet.Types.EmbeddedResource - IL_0010: call instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::Insert(int32, class NAnt.DotNet.Types.EmbeddedResource) - IL_0015: ret - } // end of method EmbeddedResourceCollection::System.Collections.IList.Insert + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32res + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 10 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Remove (object 'value') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_Win32Res + + // method line 14 + .method public hidebysig specialname + instance default void set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2332 - .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) - // Code size 21 (0x15) + // Method begins at RVA 0x222b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: castclass NAnt.DotNet.Types.EmbeddedResource - IL_000f: call instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::Remove(class NAnt.DotNet.Types.EmbeddedResource) - IL_0014: ret - } // end of method EmbeddedResourceCollection::System.Collections.IList.Remove + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32res + IL_0008: ret + } // end of method CompilerBase::set_Win32Res - // method line 11 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IList.Contains (object 'value') cil managed + // method line 15 + .method public hidebysig specialname + instance default bool get_WarnAsError () cil managed { - // Method begins at RVA 0x2348 - .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) - // Code size 33 (0x21) - .maxstack 2 + // Method begins at RVA 0x2238 + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: ldarg.1 - IL_000f: castclass NAnt.DotNet.Types.EmbeddedResource - IL_0014: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_0019: stloc.0 - IL_001a: br IL_001f + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_warnAsError + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001f: ldloc.0 - IL_0020: ret - } // end of method EmbeddedResourceCollection::System.Collections.IList.Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_WarnAsError - // method line 12 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed + // method line 16 + .method public hidebysig specialname + instance default void set_WarnAsError (bool 'value') cil managed { - // Method begins at RVA 0x2378 - .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) - // Code size 28 (0x1c) - .maxstack 2 - .locals init ( - int32 V_0) + // Method begins at RVA 0x2253 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: castclass NAnt.DotNet.Types.EmbeddedResource - IL_000f: call instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::IndexOf(class NAnt.DotNet.Types.EmbeddedResource) - IL_0014: stloc.0 - IL_0015: br IL_001a - - IL_001a: ldloc.0 - IL_001b: ret - } // end of method EmbeddedResourceCollection::System.Collections.IList.IndexOf + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_warnAsError + IL_0008: ret + } // end of method CompilerBase::set_WarnAsError - // method line 13 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.Add (object 'value') cil managed + // method line 17 + .method public virtual hidebysig newslot specialname + instance default class NAnt.DotNet.Types.WarningAsError get_WarningAsError () cil managed { - // Method begins at RVA 0x23a0 - .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) - // Code size 28 (0x1c) - .maxstack 2 + // Method begins at RVA 0x2260 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class NAnt.DotNet.Types.WarningAsError V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: castclass NAnt.DotNet.Types.EmbeddedResource - IL_000f: call instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class NAnt.DotNet.Types.EmbeddedResource) - IL_0014: stloc.0 - IL_0015: br IL_001a - - IL_001a: ldloc.0 - IL_001b: ret - } // end of method EmbeddedResourceCollection::System.Collections.IList.Add - - // method line 14 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.EmbeddedResourceCollection items) cil managed - { - // Method begins at RVA 0x23c8 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class NAnt.DotNet.Types.EmbeddedResource) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0002: ldfld class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.CompilerBase::_warningAsError + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0028: ret - } // end of method EmbeddedResourceCollection::AddRange + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_WarningAsError - // method line 15 - .method public hidebysig - instance default int32 Add (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + // method line 18 + .method public virtual hidebysig newslot specialname + instance default string get_NoWarn () cil managed { - // Method begins at RVA 0x2400 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x227c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EmbeddedResourceCollection::Add + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_noWarn + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 16 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed - { - // Method begins at RVA 0x2421 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) + IL_000d: ldloc.0 IL_000e: ret - } // end of method EmbeddedResourceCollection::Insert + } // end of method CompilerBase::get_NoWarn - // method line 17 - .method public hidebysig - instance default void Remove (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + // method line 19 + .method public virtual hidebysig newslot specialname + instance default void set_NoWarn (string 'value') cil managed { - // Method begins at RVA 0x2431 + // Method begins at RVA 0x2297 // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_noWarn IL_000d: ret - } // end of method EmbeddedResourceCollection::Remove - - // method line 18 - .method public hidebysig - instance default bool Contains (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed - { - // Method begins at RVA 0x2440 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EmbeddedResourceCollection::Contains + } // end of method CompilerBase::set_NoWarn - // method line 19 - .method public hidebysig - instance default int32 IndexOf (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + // method line 20 + .method public virtual hidebysig newslot specialname + instance default class NAnt.DotNet.Types.CompilerWarningCollection get_SuppressWarnings () cil managed { - // Method begins at RVA 0x2464 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x22a8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class NAnt.DotNet.Types.CompilerWarningCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EmbeddedResourceCollection::IndexOf - - .property instance object System.Collections.IList.Item (int32) - { - .get instance default object NAnt.DotNet.Types.EmbeddedResourceCollection::System.Collections.IList.get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.EmbeddedResourceCollection::System.Collections.IList.set_Item (int32 index, object 'value') - } - .property instance class NAnt.DotNet.Types.EmbeddedResource Item (int32) - { - .get instance default class NAnt.DotNet.Types.EmbeddedResource NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.EmbeddedResourceCollection::set_Item (int32 index, class NAnt.DotNet.Types.EmbeddedResource 'value') - } - .property instance class NAnt.DotNet.Types.EmbeddedResource Item (string) - { - .get instance default class NAnt.DotNet.Types.EmbeddedResource NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item (string 'value') - } - .property instance class [mscorlib]System.Type ItemType () - { - .get instance default class [mscorlib]System.Type NAnt.DotNet.Types.EmbeddedResourceCollection::get_ItemType () - } - } // end of class NAnt.DotNet.Types.EmbeddedResourceCollection -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit EmbeddedResourceEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0002: ldfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.CompilerBase::_suppressWarnings + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 20 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.EmbeddedResourceCollection arguments) cil managed - { - // Method begins at RVA 0x2488 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator - IL_0015: ret - } // end of method EmbeddedResourceEnumerator::.ctor + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_SuppressWarnings // method line 21 .method public hidebysig specialname - instance default class NAnt.DotNet.Types.EmbeddedResource get_Current () cil managed + instance default bool get_ForceRebuild () cil managed { - // Method begins at RVA 0x24ac - // Code size 25 (0x19) + // Method begins at RVA 0x22c4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.EmbeddedResource V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.DotNet.Types.EmbeddedResource - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_forceRebuild + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method EmbeddedResourceEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_ForceRebuild // method line 22 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + .method public hidebysig specialname + instance default void set_ForceRebuild (bool 'value') cil managed { - // Method begins at RVA 0x24d4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0x22df + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method EmbeddedResourceEnumerator::System.Collections.IEnumerator.get_Current + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_forceRebuild + IL_0008: ret + } // end of method CompilerBase::set_ForceRebuild // method line 23 - .method public hidebysig - instance default bool MoveNext () cil managed + .method public hidebysig specialname + instance default string get_MainType () cil managed { - // Method begins at RVA 0x24f4 - // Code size 20 (0x14) + // Method begins at RVA 0x22ec + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method EmbeddedResourceEnumerator::MoveNext + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_mainType + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_MainType // method line 24 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + .method public hidebysig specialname + instance default void set_MainType (string 'value') cil managed { - // Method begins at RVA 0x2514 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x2307 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method EmbeddedResourceEnumerator::System.Collections.IEnumerator.MoveNext + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_mainType + IL_000d: ret + } // end of method CompilerBase::set_MainType // method line 25 - .method public hidebysig - instance default void Reset () cil managed + .method public virtual hidebysig newslot specialname + instance default string get_KeyContainer () cil managed { - // Method begins at RVA 0x2534 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x2318 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method EmbeddedResourceEnumerator::Reset + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_keyContainer + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_KeyContainer // method line 26 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + .method public virtual hidebysig newslot specialname + instance default void set_KeyContainer (string 'value') cil managed { - // Method begins at RVA 0x2542 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x2333 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method EmbeddedResourceEnumerator::System.Collections.IEnumerator.Reset - - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.DotNet.Types.EmbeddedResourceEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.DotNet.Types.EmbeddedResource Current () - { - .get instance default class NAnt.DotNet.Types.EmbeddedResource NAnt.DotNet.Types.EmbeddedResourceEnumerator::get_Current () - } - } // end of class NAnt.DotNet.Types.EmbeddedResourceEnumerator -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit Package - extends [NAnt.Core]NAnt.Core.Element - { - .field private string _name - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 27 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2550 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.DotNet.Types.Package::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_keyContainer IL_000d: ret - } // end of method Package::.ctor + } // end of method CompilerBase::set_KeyContainer - // method line 28 - .method public hidebysig specialname - instance default string get_PackageName () cil managed + // method line 27 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed { - // Method begins at RVA 0x2560 + // Method begins at RVA 0x2344 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.Package::_name + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_keyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Package::get_PackageName + } // end of method CompilerBase::get_KeyFile - // method line 29 - .method public hidebysig specialname - instance default void set_PackageName (string 'value') cil managed + // method line 28 + .method public virtual hidebysig newslot specialname + instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x257b + // Method begins at RVA 0x235f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Types.Package::_name + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_keyFile IL_0008: ret - } // end of method Package::set_PackageName + } // end of method CompilerBase::set_KeyFile - // method line 30 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 29 + .method public virtual hidebysig newslot specialname + instance default valuetype NAnt.DotNet.Types.DelaySign get_DelaySign () cil managed { - // Method begins at RVA 0x2588 + // Method begins at RVA 0x236c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.DotNet.Types.DelaySign V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.Package::_ifDefined + IL_0002: ldfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::_delaySign IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Package::get_IfDefined + } // end of method CompilerBase::get_DelaySign - // method line 31 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 30 + .method public virtual hidebysig newslot specialname + instance default void set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') cil managed { - // Method begins at RVA 0x25a3 + // Method begins at RVA 0x2387 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.Package::_ifDefined + IL_0003: stfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::_delaySign IL_0008: ret - } // end of method Package::set_IfDefined + } // end of method CompilerBase::set_DelaySign - // method line 32 + // method line 31 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Lib () cil managed { - // Method begins at RVA 0x25b0 + // Method begins at RVA 0x2394 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.Package::_unlessDefined + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_lib IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Package::get_UnlessDefined + } // end of method CompilerBase::get_Lib - // method line 33 + // method line 32 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_Lib (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x25cb + // Method begins at RVA 0x23af // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.Package::_unlessDefined + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_lib IL_0008: ret - } // end of method Package::set_UnlessDefined - - .property instance string PackageName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.DotNet.Types.Package::get_PackageName () - .set instance default void NAnt.DotNet.Types.Package::set_PackageName (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Types.Package::get_IfDefined () - .set instance default void NAnt.DotNet.Types.Package::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end of method CompilerBase::set_Lib - .get instance default bool NAnt.DotNet.Types.Package::get_UnlessDefined () - .set instance default void NAnt.DotNet.Types.Package::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.DotNet.Types.Package -} + // method line 33 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed + { + // Method begins at RVA 0x23bc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.AssemblyFileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_references + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit LibDirectorySet - extends [NAnt.Core]NAnt.Core.Types.FileSet - { - .field private class NAnt.DotNet.Types.AssemblyFileSet _parent + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_References // method line 34 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyFileSet parent) cil managed + .method public hidebysig specialname + instance default void set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x25d5 - // Code size 15 (0xf) + // Method begins at RVA 0x23d7 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Types.LibDirectorySet::_parent - IL_000e: ret - } // end of method LibDirectorySet::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_references + IL_0008: ret + } // end of method CompilerBase::set_References // method line 35 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + .method public virtual hidebysig newslot specialname + instance default class NAnt.DotNet.Types.PackageCollection get_Packages () cil managed { - // Method begins at RVA 0x25e8 - // Code size 20 (0x14) + // Method begins at RVA 0x23e4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class NAnt.DotNet.Types.PackageCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Types.LibDirectorySet::_parent - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::_packages + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method LibDirectorySet::get_BaseDirectory - - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.LibDirectorySet::get_BaseDirectory () - } - } // end of class NAnt.DotNet.Types.LibDirectorySet -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit AssemblyFileSet - extends [NAnt.Core]NAnt.Core.Types.FileSet - implements [mscorlib]System.ICloneable { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0F 61 73 73 65 6D 62 6C 79 66 69 6C 65 73 // ...assemblyfiles - 65 74 00 00 ) // et.. - - .field private class NAnt.DotNet.Types.LibDirectorySet _lib + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_Packages // method line 36 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method public virtual hidebysig newslot specialname + instance default void set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') cil managed { - // Method begins at RVA 0x2608 - // Code size 27 (0x1b) + // Method begins at RVA 0x23ff + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldnull - IL_0002: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.0 - IL_0010: newobj instance void class NAnt.DotNet.Types.LibDirectorySet::'.ctor'(class NAnt.DotNet.Types.AssemblyFileSet) - IL_0015: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib - IL_001a: ret - } // end of method AssemblyFileSet::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::_packages + IL_0008: ret + } // end of method CompilerBase::set_Packages // method line 37 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [NAnt.Core]NAnt.Core.Types.FileSet fs) cil managed + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.ResourceFileSetCollection get_ResourcesList () cil managed { - // Method begins at RVA 0x2624 - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldnull - IL_0002: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'(class [NAnt.Core]NAnt.Core.Types.FileSet) - IL_000e: nop - IL_000f: ldarg.0 - IL_0010: ldarg.0 - IL_0011: newobj instance void class NAnt.DotNet.Types.LibDirectorySet::'.ctor'(class NAnt.DotNet.Types.AssemblyFileSet) - IL_0016: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib - IL_001b: ret - } // end of method AssemblyFileSet::.ctor + // Method begins at RVA 0x240c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.ResourceFileSetCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.ResourceFileSetCollection NAnt.DotNet.Tasks.CompilerBase::_resourcesList + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_ResourcesList // method line 38 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.LibDirectorySet get_Lib () cil managed + .method public virtual hidebysig newslot specialname + instance default class NAnt.DotNet.Types.AssemblyFileSet get_Modules () cil managed { - // Method begins at RVA 0x2644 + // Method begins at RVA 0x2428 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.LibDirectorySet V_0) + class NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_modules IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyFileSet::get_Lib + } // end of method CompilerBase::get_Modules // method line 39 - .method public hidebysig specialname - instance default void set_Lib (class NAnt.DotNet.Types.LibDirectorySet 'value') cil managed + .method public virtual hidebysig newslot specialname + instance default void set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x265f + // Method begins at RVA 0x2443 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib + IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_modules IL_0008: ret - } // end of method AssemblyFileSet::set_Lib + } // end of method CompilerBase::set_Modules // method line 40 - .method public virtual hidebysig - instance default void Scan () cil managed + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed { - // Method begins at RVA 0x2669 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x2450 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.DotNet.Types.AssemblyFileSet::ResolveReferences() - IL_000d: ret - } // end of method AssemblyFileSet::Scan + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_sources + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_Sources // method line 41 - .method family hidebysig - instance default void ResolveReferences () cil managed + .method public hidebysig specialname + instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x2678 - // Code size 300 (0x12c) - .maxstack 2 - .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - string V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - string V_5, - class [mscorlib]System.IDisposable V_6, - string V_7, - class [mscorlib]System.IDisposable V_8) + // Method begins at RVA 0x246b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0008: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_000d: stloc.1 - .try { // 1 - IL_000e: br IL_0105 - - IL_0013: ldloc.1 - IL_0014: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0021: ldloc.0 - IL_0022: call bool string::op_Equality(string, string) - IL_0027: brfalse IL_0104 - - IL_002c: nop - IL_002d: ldarg.0 - IL_002e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0033: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0038: ldloc.0 - IL_0039: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_003e: stloc.2 - IL_003f: ldloc.2 - IL_0040: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0045: brfalse IL_0050 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_sources + IL_0008: ret + } // end of method CompilerBase::set_Sources - IL_004a: nop - IL_004b: leave IL_0105 + // method line 42 + .method public virtual hidebysig newslot specialname + instance default bool get_SupportsPackageReferences () cil managed + { + // Method begins at RVA 0x2478 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsPackageReferences + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: call instance class NAnt.DotNet.Types.LibDirectorySet class NAnt.DotNet.Types.AssemblyFileSet::get_Lib() - IL_0057: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_005c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0061: stloc.s 4 - .try { // 0 - IL_0063: br IL_009b + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_SupportsPackageReferences - IL_0068: ldloc.s 4 - IL_006a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_006f: stloc.3 - IL_0070: nop - IL_0071: ldloc.3 - IL_0072: ldloc.0 - IL_0073: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0078: stloc.s 5 - IL_007a: ldloc.s 5 - IL_007c: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0081: brfalse IL_009a + // method line 43 + .method public virtual hidebysig newslot specialname + instance default void set_SupportsPackageReferences (bool 'value') cil managed + { + // Method begins at RVA 0x2493 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsPackageReferences + IL_0008: ret + } // end of method CompilerBase::set_SupportsPackageReferences - IL_0086: nop - IL_0087: ldarg.0 - IL_0088: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_008d: ldloc.s 5 - IL_008f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0094: pop - IL_0095: leave IL_009b + // method line 44 + .method public virtual hidebysig newslot specialname + instance default bool get_SupportsWarnAsErrorList () cil managed + { + // Method begins at RVA 0x24a0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsWarnAsErrorList + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_009a: nop - IL_009b: ldloc.s 4 - IL_009d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00a2: brtrue IL_0068 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_SupportsWarnAsErrorList - IL_00a7: leave IL_00c3 + // method line 45 + .method public virtual hidebysig newslot specialname + instance default void set_SupportsWarnAsErrorList (bool 'value') cil managed + { + // Method begins at RVA 0x24bb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsWarnAsErrorList + IL_0008: ret + } // end of method CompilerBase::set_SupportsWarnAsErrorList - } // end .try 0 - finally { // 0 - IL_00ac: ldloc.s 4 - IL_00ae: isinst [mscorlib]System.IDisposable - IL_00b3: dup - IL_00b4: stloc.s 6 - IL_00b6: brfalse IL_00c2 - - IL_00bb: ldloc.s 6 - IL_00bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c2: endfinally - } // end handler 0 - IL_00c3: ldarg.0 - IL_00c4: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00c9: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_00ce: brfalse IL_0103 - - IL_00d3: nop - IL_00d4: ldarg.0 - IL_00d5: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00da: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_00df: ldloc.0 - IL_00e0: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::ResolveAssembly(string) - IL_00e5: stloc.s 7 - IL_00e7: ldloc.s 7 - IL_00e9: brfalse IL_0102 - - IL_00ee: nop - IL_00ef: ldarg.0 - IL_00f0: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00f5: ldloc.s 7 - IL_00f7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00fc: pop - IL_00fd: leave IL_0105 - - IL_0102: nop - IL_0103: nop - IL_0104: nop - IL_0105: ldloc.1 - IL_0106: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_010b: brtrue IL_0013 - - IL_0110: leave IL_012b - - } // end .try 1 - finally { // 1 - IL_0115: ldloc.1 - IL_0116: isinst [mscorlib]System.IDisposable - IL_011b: dup - IL_011c: stloc.s 8 - IL_011e: brfalse IL_012a - - IL_0123: ldloc.s 8 - IL_0125: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_012a: endfinally - } // end handler 1 - IL_012b: ret - } // end of method AssemblyFileSet::ResolveReferences - - .property instance class NAnt.DotNet.Types.LibDirectorySet Lib () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 03 6C 69 62 00 00 ) // ...lib.. - - .get instance default class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::get_Lib () - .set instance default void NAnt.DotNet.Types.AssemblyFileSet::set_Lib (class NAnt.DotNet.Types.LibDirectorySet 'value') - } - } // end of class NAnt.DotNet.Types.AssemblyFileSet -} + // method line 46 + .method public virtual hidebysig newslot specialname + instance default bool get_SupportsNoWarnList () cil managed + { + // Method begins at RVA 0x24c8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsNoWarnList + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit CompilerWarning - extends [NAnt.Core]NAnt.Core.Element - { - .field private string _number - .field private bool _ifDefined - .field private bool _unlessDefined + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerBase::get_SupportsNoWarnList - // method line 42 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 47 + .method public virtual hidebysig newslot specialname + instance default void set_SupportsNoWarnList (bool 'value') cil managed { - // Method begins at RVA 0x27e4 - // Code size 14 (0xe) + // Method begins at RVA 0x24e3 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.DotNet.Types.CompilerWarning::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method CompilerWarning::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsNoWarnList + IL_0008: ret + } // end of method CompilerBase::set_SupportsNoWarnList - // method line 43 - .method public hidebysig specialname - instance default string get_Number () cil managed + // method line 48 + .method public virtual hidebysig newslot specialname + instance default bool get_SupportsKeyContainer () cil managed { - // Method begins at RVA 0x27f4 + // Method begins at RVA 0x24f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.CompilerWarning::_number + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyContainer IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerWarning::get_Number + } // end of method CompilerBase::get_SupportsKeyContainer - // method line 44 - .method public hidebysig specialname - instance default void set_Number (string 'value') cil managed + // method line 49 + .method public virtual hidebysig newslot specialname + instance default void set_SupportsKeyContainer (bool 'value') cil managed { - // Method begins at RVA 0x280f + // Method begins at RVA 0x250b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Types.CompilerWarning::_number + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyContainer IL_0008: ret - } // end of method CompilerWarning::set_Number + } // end of method CompilerBase::set_SupportsKeyContainer - // method line 45 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 50 + .method public virtual hidebysig newslot specialname + instance default bool get_SupportsKeyFile () cil managed { - // Method begins at RVA 0x281c + // Method begins at RVA 0x2518 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.CompilerWarning::_ifDefined + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerWarning::get_IfDefined + } // end of method CompilerBase::get_SupportsKeyFile - // method line 46 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 51 + .method public virtual hidebysig newslot specialname + instance default void set_SupportsKeyFile (bool 'value') cil managed { - // Method begins at RVA 0x2837 + // Method begins at RVA 0x2533 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.CompilerWarning::_ifDefined + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyFile IL_0008: ret - } // end of method CompilerWarning::set_IfDefined + } // end of method CompilerBase::set_SupportsKeyFile - // method line 47 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 52 + .method public virtual hidebysig newslot specialname + instance default bool get_SupportsDelaySign () cil managed { - // Method begins at RVA 0x2844 + // Method begins at RVA 0x2540 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.CompilerWarning::_unlessDefined + IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsDelaySign IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerWarning::get_UnlessDefined + } // end of method CompilerBase::get_SupportsDelaySign - // method line 48 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 53 + .method public virtual hidebysig newslot specialname + instance default void set_SupportsDelaySign (bool 'value') cil managed { - // Method begins at RVA 0x285f + // Method begins at RVA 0x255b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.CompilerWarning::_unlessDefined + IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsDelaySign IL_0008: ret - } // end of method CompilerWarning::set_UnlessDefined - - .property instance string Number () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6E 75 6D 62 65 72 01 00 54 02 08 52 65 // ...number..T..Re - 71 75 69 72 65 64 01 ) // quired. - - .get instance default string NAnt.DotNet.Types.CompilerWarning::get_Number () - .set instance default void NAnt.DotNet.Types.CompilerWarning::set_Number (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Types.CompilerWarning::get_IfDefined () - .set instance default void NAnt.DotNet.Types.CompilerWarning::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined () - .set instance default void NAnt.DotNet.Types.CompilerWarning::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.DotNet.Types.CompilerWarning -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit CompilerWarningCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + } // end of method CompilerBase::set_SupportsDelaySign + // method line 54 + .method public virtual hidebysig newslot abstract specialname + instance default string get_Extension () cil managed + { + // Method begins at RVA 0x0 + } // end of method CompilerBase::get_Extension - // method line 49 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 55 + .method family virtual hidebysig newslot abstract specialname + instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed { - // Method begins at RVA 0x2869 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method CompilerWarningCollection::.ctor + // Method begins at RVA 0x0 + } // end of method CompilerBase::get_ClassNameRegex - // method line 50 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.CompilerWarningCollection 'value') cil managed + // method line 56 + .method family virtual hidebysig newslot abstract specialname + instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed { - // Method begins at RVA 0x2872 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.CompilerWarningCollection::AddRange(class NAnt.DotNet.Types.CompilerWarningCollection) - IL_000e: ret - } // end of method CompilerWarningCollection::.ctor + // Method begins at RVA 0x0 + } // end of method CompilerBase::get_NamespaceRegex - // method line 51 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.CompilerWarning[] 'value') cil managed + // method line 57 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x2882 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.CompilerWarningCollection::AddRange(class NAnt.DotNet.Types.CompilerWarning[]) - IL_000e: ret - } // end of method CompilerWarningCollection::.ctor - - // method line 52 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.CompilerWarning get_Item (int32 index) cil managed - { - // Method begins at RVA 0x2894 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2568 + // Code size 30 (0x1e) + .maxstack 3 .locals init ( - class NAnt.DotNet.Types.CompilerWarning V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.DotNet.Types.CompilerWarning - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method CompilerWarningCollection::get_Item + IL_0001: ldstr "@\"" + IL_0006: ldarg.0 + IL_0007: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName + IL_000c: ldstr "\"" + IL_0011: call string string::Concat(string, string, string) + IL_0016: stloc.0 + IL_0017: br IL_001c - // method line 53 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.DotNet.Types.CompilerWarning 'value') cil managed - { - // Method begins at RVA 0x28ba - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method CompilerWarningCollection::set_Item + IL_001c: ldloc.0 + IL_001d: ret + } // end of method CompilerBase::get_ProgramArguments - // method line 54 - .method public hidebysig - instance default int32 Add (class NAnt.DotNet.Types.CompilerWarning item) cil managed + // method line 58 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x28cc - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2594 + // Code size 2158 (0x86e) + .maxstack 7 .locals init ( - int32 V_0) + class [mscorlib]System.IO.StreamWriter V_0, + class [mscorlib]System.Collections.Hashtable V_1, + class [System]System.Collections.Specialized.StringCollection V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + valuetype NAnt.DotNet.Types.DelaySign V_6, + string V_7, + class [System]System.Collections.Specialized.StringEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + class NAnt.DotNet.Types.ResourceFileSet V_10, + class NAnt.DotNet.Types.ResourceFileSetEnumerator V_11, + string V_12, + class [System]System.Collections.Specialized.StringEnumerator V_13, + string V_14, + string V_15, + class [mscorlib]System.Globalization.CultureInfo V_16, + string V_17, + class [mscorlib]System.IDisposable V_18, + string V_19, + class [System]System.Collections.Specialized.StringEnumerator V_20, + string V_21, + class [mscorlib]System.Globalization.CultureInfo V_22, + string V_23, + class [mscorlib]System.IDisposable V_24, + class [mscorlib]System.IDisposable V_25, + string V_26, + class [System]System.Collections.Specialized.StringEnumerator V_27, + class [mscorlib]System.IDisposable V_28, + class [mscorlib]System.IO.StreamReader V_29, + string V_30, + class [mscorlib]System.Collections.IEnumerator V_31, + string V_32, + class [mscorlib]System.IO.FileInfo V_33, + class [mscorlib]System.IDisposable V_34, + string V_35, + class [System]System.Collections.Specialized.StringEnumerator V_36, + class [mscorlib]System.IDisposable V_37) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CompilerWarningCollection::Add - - // method line 55 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.CompilerWarning[] items) cil managed - { - // Method begins at RVA 0x28f0 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0002: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() + IL_0007: brfalse IL_086d - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.DotNet.Types.CompilerWarningCollection::Add(class NAnt.DotNet.Types.CompilerWarning) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0013: stfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName + IL_0018: ldarg.0 + IL_0019: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName + IL_001e: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_0023: stloc.0 + IL_0024: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0029: stloc.1 + IL_002a: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_002f: stloc.2 + .try { // 8 + IL_0030: nop + IL_0031: ldarg.0 + IL_0032: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_0037: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_003c: brtrue IL_005e - IL_0021: ret - } // end of method CompilerWarningCollection::AddRange + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_0048: ldarg.0 + IL_0049: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_004e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0053: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0058: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_005d: nop + IL_005e: ldarg.0 + IL_005f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Lib() + IL_0064: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0069: brtrue IL_008b - // method line 56 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.CompilerWarningCollection items) cil managed - { - // Method begins at RVA 0x2920 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_006e: nop + IL_006f: ldarg.0 + IL_0070: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Lib() + IL_0075: ldarg.0 + IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_007b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0080: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0085: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_008a: nop + IL_008b: ldarg.0 + IL_008c: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0091: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0096: brtrue IL_00b8 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.DotNet.Types.CompilerWarningCollection::Add(class NAnt.DotNet.Types.CompilerWarning) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_009b: nop + IL_009c: ldarg.0 + IL_009d: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_00a2: ldarg.0 + IL_00a3: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00a8: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_00ad: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_00b2: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00b7: nop + IL_00b8: ldarg.0 + IL_00b9: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() + IL_00be: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_00c3: brtrue IL_00e5 - IL_0028: ret - } // end of method CompilerWarningCollection::AddRange + IL_00c8: nop + IL_00c9: ldarg.0 + IL_00ca: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() + IL_00cf: ldarg.0 + IL_00d0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00d5: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_00da: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_00df: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00e4: nop + IL_00e5: nop + IL_00e6: ldarg.0 + IL_00e7: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Lib() + IL_00ec: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_00f1: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00f6: stloc.s 4 + .try { // 0 + IL_00f8: br IL_0135 - // method line 57 - .method public hidebysig - instance default bool Contains (class NAnt.DotNet.Types.CompilerWarning item) cil managed - { - // Method begins at RVA 0x2958 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CompilerWarningCollection::Contains + IL_00fd: ldloc.s 4 + IL_00ff: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0104: stloc.3 + IL_0105: nop + IL_0106: ldarg.0 + IL_0107: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_010c: callvirt instance class NAnt.DotNet.Types.LibDirectorySet class NAnt.DotNet.Types.AssemblyFileSet::get_Lib() + IL_0111: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0116: ldloc.3 + IL_0117: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_011c: pop + IL_011d: ldarg.0 + IL_011e: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0123: callvirt instance class NAnt.DotNet.Types.LibDirectorySet class NAnt.DotNet.Types.AssemblyFileSet::get_Lib() + IL_0128: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_012d: ldloc.3 + IL_012e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0133: pop + IL_0134: nop + IL_0135: ldloc.s 4 + IL_0137: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_013c: brtrue IL_00fd - // method line 58 - .method public hidebysig - instance default void CopyTo (class NAnt.DotNet.Types.CompilerWarning[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x2979 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method CompilerWarningCollection::CopyTo + IL_0141: leave IL_015d - // method line 59 - .method public hidebysig - instance default int32 IndexOf (class NAnt.DotNet.Types.CompilerWarning item) cil managed - { - // Method begins at RVA 0x298c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + } // end .try 0 + finally { // 0 + IL_0146: ldloc.s 4 + IL_0148: isinst [mscorlib]System.IDisposable + IL_014d: dup + IL_014e: stloc.s 5 + IL_0150: brfalse IL_015c - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CompilerWarningCollection::IndexOf + IL_0155: ldloc.s 5 + IL_0157: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_015c: endfinally + } // end handler 0 + IL_015d: ldarg.0 + IL_015e: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_0163: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() + IL_0168: ldarg.0 + IL_0169: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_016e: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() + IL_0173: ldarg.0 + IL_0174: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_0179: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_017e: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0183: brtrue IL_019b - // method line 60 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.DotNet.Types.CompilerWarning item) cil managed - { - // Method begins at RVA 0x29ad - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method CompilerWarningCollection::Insert + IL_0188: nop + IL_0189: ldarg.0 + IL_018a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_018f: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_0194: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0199: pop + IL_019a: nop + IL_019b: ldarg.0 + IL_019c: ldc.i4 3000 + IL_01a1: ldstr "String_CompilingFiles" + IL_01a6: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01ab: ldc.i4.2 + IL_01ac: newarr [mscorlib]System.Object + IL_01b1: dup + IL_01b2: ldc.i4.0 + IL_01b3: ldarg.0 + IL_01b4: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() + IL_01b9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01be: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_01c3: box [mscorlib]System.Int32 + IL_01c8: stelem.ref + IL_01c9: dup + IL_01ca: ldc.i4.1 + IL_01cb: ldarg.0 + IL_01cc: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_01d1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01d6: stelem.ref + IL_01d7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01dc: ldarg.0 + IL_01dd: ldloc.0 + IL_01de: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOptions(class [mscorlib]System.IO.TextWriter) + IL_01e3: ldarg.0 + IL_01e4: ldloc.0 + IL_01e5: ldstr "nologo" + IL_01ea: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_01ef: ldarg.0 + IL_01f0: ldloc.0 + IL_01f1: ldstr "target" + IL_01f6: ldarg.0 + IL_01f7: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_OutputTarget() + IL_01fc: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0201: ldarg.0 + IL_0202: ldloc.0 + IL_0203: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteConditionalCompilationConstants(class [mscorlib]System.IO.TextWriter) + IL_0208: ldarg.0 + IL_0209: ldloc.0 + IL_020a: ldstr "out" + IL_020f: ldarg.0 + IL_0210: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_0215: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_021a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_021f: ldarg.0 + IL_0220: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() + IL_0225: brfalse IL_0243 - // method line 61 - .method public hidebysig - instance default class NAnt.DotNet.Types.CompilerWarningEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x29c0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.CompilerWarningEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.DotNet.Types.CompilerWarningEnumerator::'.ctor'(class NAnt.DotNet.Types.CompilerWarningCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_022a: nop + IL_022b: ldarg.0 + IL_022c: ldloc.0 + IL_022d: ldstr "win32icon" + IL_0232: ldarg.0 + IL_0233: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() + IL_0238: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_023d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0242: nop + IL_0243: ldarg.0 + IL_0244: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_MainType() + IL_0249: brfalse IL_0262 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerWarningCollection::GetEnumerator + IL_024e: nop + IL_024f: ldarg.0 + IL_0250: ldloc.0 + IL_0251: ldstr "main" + IL_0256: ldarg.0 + IL_0257: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_MainType() + IL_025c: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0261: nop + IL_0262: ldarg.0 + IL_0263: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() + IL_0268: brfalse IL_02c3 - // method line 62 - .method public hidebysig - instance default void Remove (class NAnt.DotNet.Types.CompilerWarning item) cil managed - { - // Method begins at RVA 0x29db - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method CompilerWarningCollection::Remove + IL_026d: nop + IL_026e: ldarg.0 + IL_026f: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyContainer() + IL_0274: brfalse IL_0292 - .property instance class NAnt.DotNet.Types.CompilerWarning Item (int32) - { - .get instance default class NAnt.DotNet.Types.CompilerWarning NAnt.DotNet.Types.CompilerWarningCollection::get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.CompilerWarningCollection::set_Item (int32 index, class NAnt.DotNet.Types.CompilerWarning 'value') - } - } // end of class NAnt.DotNet.Types.CompilerWarningCollection -} + IL_0279: nop + IL_027a: ldarg.0 + IL_027b: ldloc.0 + IL_027c: ldstr "keycontainer" + IL_0281: ldarg.0 + IL_0282: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() + IL_0287: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_028c: nop + IL_028d: br IL_02c2 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit CompilerWarningEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0292: nop + IL_0293: ldarg.0 + IL_0294: ldc.i4 4000 + IL_0299: ldstr "String_CompilerDoesNotSupportKeyContainer" + IL_029e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02a3: ldc.i4.1 + IL_02a4: newarr [mscorlib]System.Object + IL_02a9: dup + IL_02aa: ldc.i4.0 + IL_02ab: ldarg.0 + IL_02ac: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_02b1: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_02b6: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_02bb: stelem.ref + IL_02bc: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_02c1: nop + IL_02c2: nop + IL_02c3: ldarg.0 + IL_02c4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() + IL_02c9: brfalse IL_0329 - // method line 63 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.CompilerWarningCollection arguments) cil managed - { - // Method begins at RVA 0x29ec - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator - IL_0015: ret - } // end of method CompilerWarningEnumerator::.ctor + IL_02ce: nop + IL_02cf: ldarg.0 + IL_02d0: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyFile() + IL_02d5: brfalse IL_02f8 - // method line 64 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.CompilerWarning get_Current () cil managed - { - // Method begins at RVA 0x2a10 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.CompilerWarning V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.DotNet.Types.CompilerWarning - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_02da: nop + IL_02db: ldarg.0 + IL_02dc: ldloc.0 + IL_02dd: ldstr "keyfile" + IL_02e2: ldarg.0 + IL_02e3: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() + IL_02e8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02ed: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_02f2: nop + IL_02f3: br IL_0328 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CompilerWarningEnumerator::get_Current + IL_02f8: nop + IL_02f9: ldarg.0 + IL_02fa: ldc.i4 4000 + IL_02ff: ldstr "String_CompilerDoesNotSupportKeyFile" + IL_0304: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0309: ldc.i4.1 + IL_030a: newarr [mscorlib]System.Object + IL_030f: dup + IL_0310: ldc.i4.0 + IL_0311: ldarg.0 + IL_0312: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0317: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_031c: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_0321: stelem.ref + IL_0322: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0327: nop + IL_0328: nop + IL_0329: ldarg.0 + IL_032a: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() + IL_032f: brfalse IL_03d7 - // method line 65 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x2a38 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0334: nop + IL_0335: ldarg.0 + IL_0336: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsDelaySign() + IL_033b: brfalse IL_03a6 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompilerWarningEnumerator::System.Collections.IEnumerator.get_Current + IL_0340: nop + IL_0341: ldarg.0 + IL_0342: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() + IL_0347: stloc.s 6 + IL_0349: ldloc.s 6 + IL_034b: ldc.i4.2 + IL_034c: beq IL_035e - // method line 66 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x2a58 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0351: ldloc.s 6 + IL_0353: ldc.i4.1 + IL_0354: beq IL_036f - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompilerWarningEnumerator::MoveNext + IL_0359: br IL_0380 - // method line 67 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x2a78 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_035e: ldarg.0 + IL_035f: ldloc.0 + IL_0360: ldstr "delaysign+" + IL_0365: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_036a: leave IL_03a0 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CompilerWarningEnumerator::System.Collections.IEnumerator.MoveNext + IL_036f: ldarg.0 + IL_0370: ldloc.0 + IL_0371: ldstr "delaysign-" + IL_0376: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_037b: leave IL_03a0 - // method line 68 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x2a98 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method CompilerWarningEnumerator::Reset + IL_0380: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0385: ldstr "The {0}value for \"delaysign\" is not supported." + IL_038a: ldarg.0 + IL_038b: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() + IL_0390: box NAnt.DotNet.Types.DelaySign + IL_0395: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_039a: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_039f: throw + IL_03a0: nop + IL_03a1: br IL_03d6 - // method line 69 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x2aa6 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method CompilerWarningEnumerator::System.Collections.IEnumerator.Reset + IL_03a6: nop + IL_03a7: ldarg.0 + IL_03a8: ldc.i4 4000 + IL_03ad: ldstr "String_CompilerDoesNotSupportDelaySign" + IL_03b2: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03b7: ldc.i4.1 + IL_03b8: newarr [mscorlib]System.Object + IL_03bd: dup + IL_03be: ldc.i4.0 + IL_03bf: ldarg.0 + IL_03c0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_03c5: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_03ca: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_03cf: stelem.ref + IL_03d0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_03d5: nop + IL_03d6: nop + IL_03d7: ldarg.0 + IL_03d8: ldloc.0 + IL_03d9: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WritePackageReferences(class [mscorlib]System.IO.TextWriter) + IL_03de: ldarg.0 + IL_03df: ldloc.0 + IL_03e0: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteWarningsAsError(class [mscorlib]System.IO.TextWriter) + IL_03e5: ldarg.0 + IL_03e6: ldloc.0 + IL_03e7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteNoWarnList(class [mscorlib]System.IO.TextWriter) + IL_03ec: nop + IL_03ed: ldarg.0 + IL_03ee: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_03f3: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_03f8: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_03fd: stloc.s 8 + .try { // 1 + IL_03ff: br IL_041d - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.DotNet.Types.CompilerWarningEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.DotNet.Types.CompilerWarning Current () - { - .get instance default class NAnt.DotNet.Types.CompilerWarning NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current () - } - } // end of class NAnt.DotNet.Types.CompilerWarningEnumerator -} + IL_0404: ldloc.s 8 + IL_0406: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_040b: stloc.s 7 + IL_040d: nop + IL_040e: ldarg.0 + IL_040f: ldloc.0 + IL_0410: ldstr "reference" + IL_0415: ldloc.s 7 + IL_0417: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_041c: nop + IL_041d: ldloc.s 8 + IL_041f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0424: brtrue IL_0404 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit PackageCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_0429: leave IL_0445 + } // end .try 1 + finally { // 1 + IL_042e: ldloc.s 8 + IL_0430: isinst [mscorlib]System.IDisposable + IL_0435: dup + IL_0436: stloc.s 9 + IL_0438: brfalse IL_0444 - // method line 70 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2ab4 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method PackageCollection::.ctor - - // method line 71 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.PackageCollection 'value') cil managed - { - // Method begins at RVA 0x2abd - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.PackageCollection::AddRange(class NAnt.DotNet.Types.PackageCollection) - IL_000e: ret - } // end of method PackageCollection::.ctor + IL_043d: ldloc.s 9 + IL_043f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0444: endfinally + } // end handler 1 + IL_0445: ldarg.0 + IL_0446: ldloc.0 + IL_0447: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteModuleReferences(class [mscorlib]System.IO.TextWriter) + IL_044c: nop + IL_044d: ldarg.0 + IL_044e: call instance class NAnt.DotNet.Types.ResourceFileSetCollection class NAnt.DotNet.Tasks.CompilerBase::get_ResourcesList() + IL_0453: callvirt instance class NAnt.DotNet.Types.ResourceFileSetEnumerator class NAnt.DotNet.Types.ResourceFileSetCollection::GetEnumerator() + IL_0458: stloc.s 11 + .try { // 4 + IL_045a: br IL_0670 - // method line 72 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.Package[] 'value') cil managed - { - // Method begins at RVA 0x2acd - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.PackageCollection::AddRange(class NAnt.DotNet.Types.Package[]) - IL_000e: ret - } // end of method PackageCollection::.ctor + IL_045f: ldloc.s 11 + IL_0461: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Types.ResourceFileSetEnumerator::get_Current() + IL_0466: stloc.s 10 + IL_0468: nop + IL_0469: ldloc.s 10 + IL_046b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles() + IL_0470: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0475: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_047a: ldc.i4.0 + IL_047b: ble IL_058d - // method line 73 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.Package get_Item (int32 index) cil managed - { - // Method begins at RVA 0x2ae0 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.DotNet.Types.Package V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.DotNet.Types.Package - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0480: nop + IL_0481: ldarg.0 + IL_0482: ldloc.s 10 + IL_0484: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles() + IL_0489: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_048e: call instance void class NAnt.DotNet.Tasks.CompilerBase::CompileResxResources(class [System]System.Collections.Specialized.StringCollection) + IL_0493: nop + IL_0494: ldloc.s 10 + IL_0496: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles() + IL_049b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_04a0: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_04a5: stloc.s 13 + .try { // 2 + IL_04a7: br IL_0564 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method PackageCollection::get_Item + IL_04ac: ldloc.s 13 + IL_04ae: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_04b3: stloc.s 12 + IL_04b5: nop + IL_04b6: ldarg.0 + IL_04b7: ldloc.s 10 + IL_04b9: ldloc.s 12 + IL_04bb: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string) + IL_04c0: stloc.s 14 + IL_04c2: ldloc.s 12 + IL_04c4: ldstr ".resources" + IL_04c9: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_04ce: stloc.s 15 + IL_04d0: ldloc.2 + IL_04d1: ldloc.s 15 + IL_04d3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_04d8: pop + IL_04d9: ldloc.s 12 + IL_04db: ldloc.s 12 + IL_04dd: ldarg.0 + IL_04de: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_Extension() + IL_04e3: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_04e8: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) + IL_04ed: stloc.s 16 + IL_04ef: ldloc.s 16 + IL_04f1: brfalse IL_053e - // method line 74 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.DotNet.Types.Package 'value') cil managed - { - // Method begins at RVA 0x2b06 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method PackageCollection::set_Item + IL_04f6: nop + IL_04f7: ldloc.1 + IL_04f8: ldloc.s 16 + IL_04fa: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_04ff: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0504: brtrue IL_051d - // method line 75 - .method public hidebysig - instance default int32 Add (class NAnt.DotNet.Types.Package item) cil managed - { - // Method begins at RVA 0x2b18 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0509: nop + IL_050a: ldloc.1 + IL_050b: ldloc.s 16 + IL_050d: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_0512: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0517: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_051c: nop + IL_051d: ldloc.1 + IL_051e: ldloc.s 16 + IL_0520: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_0525: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_052a: castclass [mscorlib]System.Collections.Hashtable + IL_052f: ldloc.s 14 + IL_0531: ldloc.s 15 + IL_0533: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0538: nop + IL_0539: br IL_0563 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PackageCollection::Add + IL_053e: nop + IL_053f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0544: ldstr "{0},{1}" + IL_0549: ldloc.s 15 + IL_054b: ldloc.s 14 + IL_054d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0552: stloc.s 17 + IL_0554: ldarg.0 + IL_0555: ldloc.0 + IL_0556: ldstr "resource" + IL_055b: ldloc.s 17 + IL_055d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0562: nop + IL_0563: nop + IL_0564: ldloc.s 13 + IL_0566: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_056b: brtrue IL_04ac - // method line 76 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.Package[] items) cil managed - { - // Method begins at RVA 0x2b3c - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0570: leave IL_058c - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.DotNet.Types.PackageCollection::Add(class NAnt.DotNet.Types.Package) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + } // end .try 2 + finally { // 2 + IL_0575: ldloc.s 13 + IL_0577: isinst [mscorlib]System.IDisposable + IL_057c: dup + IL_057d: stloc.s 18 + IL_057f: brfalse IL_058b - IL_0021: ret - } // end of method PackageCollection::AddRange + IL_0584: ldloc.s 18 + IL_0586: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_058b: endfinally + } // end handler 2 + IL_058c: nop + IL_058d: nop + IL_058e: ldloc.s 10 + IL_0590: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_NonResxFiles() + IL_0595: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_059a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_059f: stloc.s 20 + .try { // 3 + IL_05a1: br IL_0647 - // method line 77 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.PackageCollection items) cil managed - { - // Method begins at RVA 0x2b6c - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_05a6: ldloc.s 20 + IL_05a8: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_05ad: stloc.s 19 + IL_05af: nop + IL_05b0: ldarg.0 + IL_05b1: ldloc.s 10 + IL_05b3: ldloc.s 19 + IL_05b5: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string) + IL_05ba: stloc.s 21 + IL_05bc: ldloc.s 19 + IL_05be: ldloc.s 19 + IL_05c0: ldarg.0 + IL_05c1: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_Extension() + IL_05c6: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_05cb: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) + IL_05d0: stloc.s 22 + IL_05d2: ldloc.s 22 + IL_05d4: brfalse IL_0621 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.DotNet.Types.Package class NAnt.DotNet.Types.PackageCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.DotNet.Types.PackageCollection::Add(class NAnt.DotNet.Types.Package) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_05d9: nop + IL_05da: ldloc.1 + IL_05db: ldloc.s 22 + IL_05dd: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_05e2: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_05e7: brtrue IL_0600 - IL_0028: ret - } // end of method PackageCollection::AddRange + IL_05ec: nop + IL_05ed: ldloc.1 + IL_05ee: ldloc.s 22 + IL_05f0: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_05f5: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_05fa: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_05ff: nop + IL_0600: ldloc.1 + IL_0601: ldloc.s 22 + IL_0603: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_0608: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_060d: castclass [mscorlib]System.Collections.Hashtable + IL_0612: ldloc.s 21 + IL_0614: ldloc.s 19 + IL_0616: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_061b: nop + IL_061c: br IL_0646 - // method line 78 - .method public hidebysig - instance default bool Contains (class NAnt.DotNet.Types.Package item) cil managed - { - // Method begins at RVA 0x2ba4 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0621: nop + IL_0622: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0627: ldstr "{0},{1}" + IL_062c: ldloc.s 19 + IL_062e: ldloc.s 21 + IL_0630: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0635: stloc.s 23 + IL_0637: ldarg.0 + IL_0638: ldloc.0 + IL_0639: ldstr "resource" + IL_063e: ldloc.s 23 + IL_0640: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0645: nop + IL_0646: nop + IL_0647: ldloc.s 20 + IL_0649: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_064e: brtrue IL_05a6 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PackageCollection::Contains + IL_0653: leave IL_066f - // method line 79 - .method public hidebysig - instance default void CopyTo (class NAnt.DotNet.Types.Package[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x2bc5 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method PackageCollection::CopyTo + } // end .try 3 + finally { // 3 + IL_0658: ldloc.s 20 + IL_065a: isinst [mscorlib]System.IDisposable + IL_065f: dup + IL_0660: stloc.s 24 + IL_0662: brfalse IL_066e - // method line 80 - .method public hidebysig - instance default int32 IndexOf (class NAnt.DotNet.Types.Package item) cil managed - { - // Method begins at RVA 0x2bd8 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0667: ldloc.s 24 + IL_0669: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_066e: endfinally + } // end handler 3 + IL_066f: nop + IL_0670: ldloc.s 11 + IL_0672: callvirt instance bool class NAnt.DotNet.Types.ResourceFileSetEnumerator::MoveNext() + IL_0677: brtrue IL_045f - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PackageCollection::IndexOf + IL_067c: leave IL_0698 - // method line 81 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.DotNet.Types.Package item) cil managed - { - // Method begins at RVA 0x2bf9 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method PackageCollection::Insert + } // end .try 4 + finally { // 4 + IL_0681: ldloc.s 11 + IL_0683: isinst [mscorlib]System.IDisposable + IL_0688: dup + IL_0689: stloc.s 25 + IL_068b: brfalse IL_0697 - // method line 82 - .method public hidebysig - instance default class NAnt.DotNet.Types.PackageEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x2c0c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.PackageEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.DotNet.Types.PackageEnumerator::'.ctor'(class NAnt.DotNet.Types.PackageCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0690: ldloc.s 25 + IL_0692: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0697: endfinally + } // end handler 4 + IL_0698: nop + IL_0699: ldarg.0 + IL_069a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() + IL_069f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_06a4: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_06a9: stloc.s 27 + .try { // 5 + IL_06ab: br IL_06d2 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PackageCollection::GetEnumerator + IL_06b0: ldloc.s 27 + IL_06b2: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_06b7: stloc.s 26 + IL_06b9: nop + IL_06ba: ldloc.0 + IL_06bb: ldstr "\"" + IL_06c0: ldloc.s 26 + IL_06c2: ldstr "\"" + IL_06c7: call string string::Concat(string, string, string) + IL_06cc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_06d1: nop + IL_06d2: ldloc.s 27 + IL_06d4: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_06d9: brtrue IL_06b0 - // method line 83 - .method public hidebysig - instance default void Remove (class NAnt.DotNet.Types.Package item) cil managed - { - // Method begins at RVA 0x2c27 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method PackageCollection::Remove + IL_06de: leave IL_06fa - .property instance class NAnt.DotNet.Types.Package Item (int32) - { - .get instance default class NAnt.DotNet.Types.Package NAnt.DotNet.Types.PackageCollection::get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.PackageCollection::set_Item (int32 index, class NAnt.DotNet.Types.Package 'value') - } - } // end of class NAnt.DotNet.Types.PackageCollection -} + } // end .try 5 + finally { // 5 + IL_06e3: ldloc.s 27 + IL_06e5: isinst [mscorlib]System.IDisposable + IL_06ea: dup + IL_06eb: stloc.s 28 + IL_06ed: brfalse IL_06f9 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit PackageEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_06f2: ldloc.s 28 + IL_06f4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_06f9: endfinally + } // end handler 5 + IL_06fa: ldloc.0 + IL_06fb: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0700: ldarg.0 + IL_0701: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0706: brfalse IL_0757 - // method line 84 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.PackageCollection arguments) cil managed - { - // Method begins at RVA 0x2c38 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator - IL_0015: ret - } // end of method PackageEnumerator::.ctor + IL_070b: nop + IL_070c: ldarg.0 + IL_070d: ldc.i4 3000 + IL_0712: ldstr "String_ContentsOf" + IL_0717: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_071c: ldc.i4.1 + IL_071d: newarr [mscorlib]System.Object + IL_0722: dup + IL_0723: ldc.i4.0 + IL_0724: ldarg.0 + IL_0725: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName + IL_072a: stelem.ref + IL_072b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0730: ldarg.0 + IL_0731: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName + IL_0736: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) + IL_073b: stloc.s 29 + IL_073d: ldarg.0 + IL_073e: ldc.i4 3000 + IL_0743: ldloc.s 29 + IL_0745: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_074a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_074f: ldloc.s 29 + IL_0751: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_0756: nop + IL_0757: ldarg.0 + IL_0758: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_075d: nop + IL_075e: ldloc.1 + IL_075f: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_0764: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0769: stloc.s 31 + .try { // 6 + IL_076b: br IL_07db - // method line 85 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.Package get_Current () cil managed - { - // Method begins at RVA 0x2c5c - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.Package V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.DotNet.Types.Package - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0770: ldloc.s 31 + IL_0772: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0777: castclass [mscorlib]System.String + IL_077c: stloc.s 30 + IL_077e: nop + IL_077f: ldarg.0 + IL_0780: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_0785: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_078a: ldloc.s 30 + IL_078c: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0791: stloc.s 32 + IL_0793: ldloc.s 32 + IL_0795: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_079a: pop + IL_079b: ldloc.s 32 + IL_079d: ldarg.0 + IL_079e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_07a3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_07a8: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_07ad: ldstr ".resources.dll" + IL_07b2: call string string::Concat(string, string) + IL_07b7: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_07bc: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_07c1: stloc.s 33 + IL_07c3: ldarg.0 + IL_07c4: ldloc.1 + IL_07c5: ldloc.s 30 + IL_07c7: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_07cc: castclass [mscorlib]System.Collections.Hashtable + IL_07d1: ldloc.s 33 + IL_07d3: ldloc.s 30 + IL_07d5: call instance void class NAnt.DotNet.Tasks.CompilerBase::LinkResourceAssembly(class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.IO.FileInfo, string) + IL_07da: nop + IL_07db: ldloc.s 31 + IL_07dd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_07e2: brtrue IL_0770 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method PackageEnumerator::get_Current + IL_07e7: leave IL_0803 - // method line 86 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x2c84 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end .try 6 + finally { // 6 + IL_07ec: ldloc.s 31 + IL_07ee: isinst [mscorlib]System.IDisposable + IL_07f3: dup + IL_07f4: stloc.s 34 + IL_07f6: brfalse IL_0802 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PackageEnumerator::System.Collections.IEnumerator.get_Current + IL_07fb: ldloc.s 34 + IL_07fd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0802: endfinally + } // end handler 6 + IL_0803: nop + IL_0804: leave IL_086c - // method line 87 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x2ca4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end .try 8 + finally { // 8 + IL_0809: nop + IL_080a: nop + IL_080b: ldloc.2 + IL_080c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0811: stloc.s 36 + .try { // 7 + IL_0813: br IL_082a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PackageEnumerator::MoveNext + IL_0818: ldloc.s 36 + IL_081a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_081f: stloc.s 35 + IL_0821: nop + IL_0822: ldloc.s 35 + IL_0824: call void class [mscorlib]System.IO.File::Delete(string) + IL_0829: nop + IL_082a: ldloc.s 36 + IL_082c: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0831: brtrue IL_0818 - // method line 88 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x2cc4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0836: leave IL_0852 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PackageEnumerator::System.Collections.IEnumerator.MoveNext + } // end .try 7 + finally { // 7 + IL_083b: ldloc.s 36 + IL_083d: isinst [mscorlib]System.IDisposable + IL_0842: dup + IL_0843: stloc.s 37 + IL_0845: brfalse IL_0851 - // method line 89 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x2ce4 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method PackageEnumerator::Reset + IL_084a: ldloc.s 37 + IL_084c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0851: endfinally + } // end handler 7 + IL_0852: ldloc.0 + IL_0853: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0858: ldarg.0 + IL_0859: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName + IL_085e: call void class [mscorlib]System.IO.File::Delete(string) + IL_0863: ldarg.0 + IL_0864: ldnull + IL_0865: stfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName + IL_086a: nop + IL_086b: endfinally + } // end handler 8 + IL_086c: nop + IL_086d: ret + } // end of method CompilerBase::ExecuteTask - // method line 90 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + // method line 59 + .method public hidebysig + instance default string GetManifestResourceName (class NAnt.DotNet.Types.ResourceFileSet resources, string resourcePhysicalFile, string resourceLogicalFile, string dependentFile) cil managed { - // Method begins at RVA 0x2cf2 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x2eec + // Code size 636 (0x27c) + .maxstack 4 + .locals init ( + string V_0, + class [mscorlib]System.Globalization.CultureInfo V_1, + string V_2, + class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_3, + string V_4, + string V_5, + string V_6, + string[] V_7, + int32 V_8, + int32 V_9, + string V_10) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method PackageEnumerator::System.Collections.IEnumerator.Reset + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.DotNet.Types.PackageEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.DotNet.Types.Package Current () - { - .get instance default class NAnt.DotNet.Types.Package NAnt.DotNet.Types.PackageEnumerator::get_Current () - } - } // end of class NAnt.DotNet.Types.PackageEnumerator -} + IL_0007: nop + IL_0008: ldstr "resources" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: brtrue IL_0025 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit ModuleSet - extends [NAnt.Core]NAnt.Core.DataTypeBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 6D 6F 64 75 6C 65 73 65 74 00 00 ) // ...moduleset.. + IL_0019: nop + IL_001a: ldstr "resourcePhysicalFile" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.3 + IL_0026: brtrue IL_0037 - .field private initonly class NAnt.DotNet.Types.ModuleCollection _modules - .field private class [mscorlib]System.IO.DirectoryInfo _dir + IL_002b: nop + IL_002c: ldstr "resourceLogicalFile" + IL_0031: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0036: throw + IL_0037: ldarg.2 + IL_0038: call bool class [mscorlib]System.IO.File::Exists(string) + IL_003d: brtrue IL_0064 - // method line 91 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2d00 - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.0 - IL_0009: newobj instance void class NAnt.DotNet.Types.ModuleCollection::'.ctor'(class NAnt.DotNet.Types.ModuleSet) - IL_000e: stfld class NAnt.DotNet.Types.ModuleCollection NAnt.DotNet.Types.ModuleSet::_modules - IL_0013: ret - } // end of method ModuleSet::.ctor + IL_0042: nop + IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0048: ldstr "NA2009" + IL_004d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0052: ldarg.2 + IL_0053: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0058: ldarg.0 + IL_0059: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_005e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0063: throw + IL_0064: ldnull + IL_0065: stloc.0 + IL_0066: ldarg.3 + IL_0067: ldarg.s 4 + IL_0069: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) + IL_006e: stloc.1 + IL_006f: ldarg.2 + IL_0070: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0075: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_007f: stloc.2 + IL_0080: ldloc.2 + IL_0081: brfalse IL_01c9 - // method line 92 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Dir () cil managed - { - // Method begins at RVA 0x2d18 - // Code size 62 (0x3e) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::_dir - IL_0007: brtrue IL_0030 + IL_0086: ldloc.2 + IL_0087: ldstr ".resx" + IL_008c: call bool string::op_Equality(string, string) + IL_0091: brtrue IL_00ab - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: brfalse IL_002f + IL_0096: ldloc.2 + IL_0097: ldstr ".resources" + IL_009c: call bool string::op_Equality(string, string) + IL_00a1: brtrue IL_01bb - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001f: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0024: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0029: stloc.0 - IL_002a: br IL_003c + IL_00a6: br IL_01c9 - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::_dir - IL_0036: stloc.0 - IL_0037: br IL_003c + IL_00ab: ldarg.0 + IL_00ac: ldarg.s 4 + IL_00ae: ldloc.1 + IL_00af: callvirt instance class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage class NAnt.DotNet.Tasks.CompilerBase::GetResourceLinkage(string, class [mscorlib]System.Globalization.CultureInfo) + IL_00b4: stloc.3 + IL_00b5: ldloc.3 + IL_00b6: brfalse IL_00c6 - IL_003c: ldloc.0 - IL_003d: ret - } // end of method ModuleSet::get_Dir + IL_00bb: ldloc.3 + IL_00bc: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() + IL_00c1: brtrue IL_00e0 - // method line 93 - .method public hidebysig specialname - instance default void set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x2d62 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::_dir - IL_0008: ret - } // end of method ModuleSet::set_Dir + IL_00c6: nop + IL_00c7: ldarg.1 + IL_00c8: ldarg.2 + IL_00c9: ldarg.3 + IL_00ca: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) + IL_00cf: ldstr "resources" + IL_00d4: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_00d9: stloc.0 + IL_00da: nop + IL_00db: br IL_01b6 - // method line 94 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.ModuleCollection get_Modules () cil managed - { - // Method begins at RVA 0x2d6c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.ModuleCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.ModuleCollection NAnt.DotNet.Types.ModuleSet::_modules - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00e0: nop + IL_00e1: ldloc.3 + IL_00e2: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasClassName() + IL_00e7: brtrue IL_0170 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ModuleSet::get_Modules + IL_00ec: nop + IL_00ed: ldarg.2 + IL_00ee: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_00f3: stloc.s 4 + IL_00f5: ldloc.s 4 + IL_00f7: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_00fc: ldsfld string [mscorlib]System.String::Empty + IL_0101: call bool string::op_Inequality(string, string) + IL_0106: brfalse IL_0167 - .property instance class [mscorlib]System.IO.DirectoryInfo Dir () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + IL_010b: nop + IL_010c: ldloc.s 4 + IL_010e: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0113: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0118: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_011d: stloc.s 5 + IL_011f: nop + IL_0120: ldsfld string[] NAnt.DotNet.Tasks.CompilerBase::CodebehindExtensions + IL_0125: stloc.s 7 + IL_0127: ldc.i4.0 + IL_0128: stloc.s 8 + IL_012a: br IL_015b - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::get_Dir () - .set instance default void NAnt.DotNet.Types.ModuleSet::set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.DotNet.Types.ModuleCollection Modules () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 06 6D 6F 64 75 6C 65 00 00 ) // ...module.. + IL_012f: ldloc.s 7 + IL_0131: ldloc.s 8 + IL_0133: ldelem.ref + IL_0134: stloc.s 6 + IL_0136: nop + IL_0137: ldloc.s 6 + IL_0139: ldloc.s 5 + IL_013b: call bool string::op_Equality(string, string) + IL_0140: brfalse IL_0154 - .get instance default class NAnt.DotNet.Types.ModuleCollection NAnt.DotNet.Types.ModuleSet::get_Modules () - } - } // end of class NAnt.DotNet.Types.ModuleSet -} + IL_0145: nop + IL_0146: ldloc.s 4 + IL_0148: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_014d: stloc.s 4 + IL_014f: br IL_0166 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit WarningAsError - extends [NAnt.Core]NAnt.Core.DataTypeBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0B 77 61 72 6E 61 73 65 72 72 6F 72 00 00 ) // ...warnaserror.. + IL_0154: nop + IL_0155: ldloc.s 8 + IL_0157: ldc.i4.1 + IL_0158: add + IL_0159: stloc.s 8 + IL_015b: ldloc.s 8 + IL_015d: ldloc.s 7 + IL_015f: ldlen + IL_0160: conv.i4 + IL_0161: blt IL_012f - .field private class NAnt.DotNet.Types.CompilerWarningCollection _includes - .field private class NAnt.DotNet.Types.CompilerWarningCollection _excludes + IL_0166: nop + IL_0167: ldloc.3 + IL_0168: ldloc.s 4 + IL_016a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_ClassName(string) + IL_016f: nop + IL_0170: ldloc.3 + IL_0171: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() + IL_0176: brfalse IL_0193 - // method line 95 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2d87 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.DotNet.Types.CompilerWarningCollection::'.ctor'() - IL_0006: stfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_includes - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.DotNet.Types.CompilerWarningCollection::'.ctor'() - IL_0011: stfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_excludes - IL_0016: ldarg.0 - IL_0017: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() - IL_001c: ret - } // end of method WarningAsError::.ctor + IL_017b: nop + IL_017c: ldloc.3 + IL_017d: callvirt instance string object::ToString() + IL_0182: ldstr ".resources" + IL_0187: call string string::Concat(string, string) + IL_018c: stloc.0 + IL_018d: nop + IL_018e: br IL_01b5 - // method line 96 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.CompilerWarningCollection get_Includes () cil managed - { - // Method begins at RVA 0x2da8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.CompilerWarningCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_includes - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0193: nop + IL_0194: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0199: ldstr "NA2010" + IL_019e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01a3: ldarg.2 + IL_01a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01a9: ldarg.0 + IL_01aa: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_01af: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_01b4: throw + IL_01b5: nop + IL_01b6: br IL_0271 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method WarningAsError::get_Includes + IL_01bb: ldarg.1 + IL_01bc: ldarg.2 + IL_01bd: ldarg.3 + IL_01be: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) + IL_01c3: stloc.0 + IL_01c4: br IL_0271 - // method line 97 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.CompilerWarningCollection get_Excludes () cil managed - { - // Method begins at RVA 0x2dc4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.CompilerWarningCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_excludes - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01c9: ldarg.2 + IL_01ca: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_01cf: ldstr "licenses.licx" + IL_01d4: call bool string::op_Equality(string, string) + IL_01d9: brfalse IL_0200 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method WarningAsError::get_Excludes + IL_01de: nop + IL_01df: ldarg.0 + IL_01e0: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_01e5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01ea: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_01ef: ldstr ".licenses" + IL_01f4: call string string::Concat(string, string) + IL_01f9: stloc.0 + IL_01fa: nop + IL_01fb: br IL_026c - .property instance class NAnt.DotNet.Types.CompilerWarningCollection Includes () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. + IL_0200: nop + IL_0201: ldloc.1 + IL_0202: brfalse IL_0260 - .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::get_Includes () - } - .property instance class NAnt.DotNet.Types.CompilerWarningCollection Excludes () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. + IL_0207: nop + IL_0208: ldarg.1 + IL_0209: ldarg.2 + IL_020a: ldarg.3 + IL_020b: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) + IL_0210: stloc.0 + IL_0211: ldloc.0 + IL_0212: ldstr "." + IL_0217: ldloc.1 + IL_0218: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_021d: call string string::Concat(string, string) + IL_0222: callvirt instance int32 string::LastIndexOf(string) + IL_0227: stloc.s 9 + IL_0229: ldloc.0 + IL_022a: ldc.i4.0 + IL_022b: ldloc.s 9 + IL_022d: callvirt instance string string::Substring(int32, int32) + IL_0232: ldloc.0 + IL_0233: ldloc.s 9 + IL_0235: callvirt instance string string::Substring(int32) + IL_023a: ldstr "." + IL_023f: ldloc.1 + IL_0240: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_0245: call string string::Concat(string, string) + IL_024a: ldsfld string [mscorlib]System.String::Empty + IL_024f: callvirt instance string string::Replace(string, string) + IL_0254: call string string::Concat(string, string) + IL_0259: stloc.0 + IL_025a: nop + IL_025b: br IL_026b - .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::get_Excludes () - } - } // end of class NAnt.DotNet.Types.WarningAsError -} + IL_0260: nop + IL_0261: ldarg.1 + IL_0262: ldarg.2 + IL_0263: ldarg.3 + IL_0264: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) + IL_0269: stloc.0 + IL_026a: nop + IL_026b: nop + IL_026c: br IL_0271 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit Module - extends [NAnt.Core]NAnt.Core.Element - { - .field private string _file - .field private string _target - .field private class NAnt.DotNet.Types.ModuleSet _moduleSet + IL_0271: ldloc.0 + IL_0272: stloc.s 10 + IL_0274: br IL_0279 - // method line 98 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2ddf - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method Module::.ctor + IL_0279: ldloc.s 10 + IL_027b: ret + } // end of method CompilerBase::GetManifestResourceName - // method line 99 - .method public hidebysig specialname - instance default string get_File () cil managed + // method line 60 + .method public hidebysig + instance default string GetManifestResourceName (class NAnt.DotNet.Types.ResourceFileSet resources, string resourceFile) cil managed { - // Method begins at RVA 0x2de8 - // Code size 71 (0x47) - .maxstack 2 + // Method begins at RVA 0x3174 + // Code size 303 (0x12f) + .maxstack 5 .locals init ( - string V_0) + string V_0, + string V_1, + class [mscorlib]System.Globalization.CultureInfo V_2, + int32 V_3, + string V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() - IL_0007: brfalse IL_0039 - - IL_000c: ldarg.0 - IL_000d: ldfld string NAnt.DotNet.Types.Module::_file - IL_0012: brfalse IL_0039 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() - IL_001e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Types.ModuleSet::get_Dir() - IL_0023: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0028: ldarg.0 - IL_0029: ldfld string NAnt.DotNet.Types.Module::_file - IL_002e: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0033: stloc.0 - IL_0034: br IL_0045 + IL_0007: nop + IL_0008: ldstr "resources" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: brtrue IL_0025 - IL_0039: ldarg.0 - IL_003a: ldfld string NAnt.DotNet.Types.Module::_file - IL_003f: stloc.0 - IL_0040: br IL_0045 + IL_0019: nop + IL_001a: ldstr "resourceFile" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.2 + IL_0026: call bool class [mscorlib]System.IO.File::Exists(string) + IL_002b: brtrue IL_0052 - IL_0045: ldloc.0 - IL_0046: ret - } // end of method Module::get_File + IL_0030: nop + IL_0031: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0036: ldstr "NA2009" + IL_003b: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0040: ldarg.2 + IL_0041: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0046: ldarg.0 + IL_0047: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_004c: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0051: throw + IL_0052: ldarg.2 + IL_0053: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0058: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005d: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0062: stloc.0 + IL_0063: ldloc.0 + IL_0064: brfalse IL_011b - // method line 100 - .method public hidebysig specialname - instance default void set_File (string 'value') cil managed - { - // Method begins at RVA 0x2e3b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Types.Module::_file - IL_0008: ret - } // end of method Module::set_File + IL_0069: ldloc.0 + IL_006a: ldstr ".resx" + IL_006f: call bool string::op_Equality(string, string) + IL_0074: brtrue IL_007e - // method line 101 - .method public hidebysig specialname - instance default string get_Target () cil managed - { - // Method begins at RVA 0x2e48 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.Module::_target - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0079: br IL_011b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Module::get_Target + IL_007e: ldarg.2 + IL_007f: ldarg.0 + IL_0080: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_Extension() + IL_0085: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_008a: stloc.1 + IL_008b: ldarg.2 + IL_008c: ldloc.1 + IL_008d: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) + IL_0092: stloc.2 + IL_0093: ldloc.2 + IL_0094: brfalse IL_010a - // method line 102 - .method public hidebysig specialname - instance default void set_Target (string 'value') cil managed - { - // Method begins at RVA 0x2e63 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Types.Module::_target - IL_000d: ret - } // end of method Module::set_Target + IL_0099: nop + IL_009a: ldloc.1 + IL_009b: ldstr "." + IL_00a0: ldloc.2 + IL_00a1: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_00a6: call string string::Concat(string, string) + IL_00ab: callvirt instance int32 string::LastIndexOf(string) + IL_00b0: stloc.3 + IL_00b1: ldloc.3 + IL_00b2: ldc.i4.0 + IL_00b3: blt IL_0109 - // method line 103 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.ModuleSet get_ModuleSet () cil managed - { - // Method begins at RVA 0x2e74 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.ModuleSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.Module::_moduleSet - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00b8: nop + IL_00b9: ldloc.3 + IL_00ba: ldloc.2 + IL_00bb: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_00c0: callvirt instance int32 string::get_Length() + IL_00c5: add + IL_00c6: ldc.i4.1 + IL_00c7: add + IL_00c8: ldloc.1 + IL_00c9: callvirt instance int32 string::get_Length() + IL_00ce: bge IL_00fd - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Module::get_ModuleSet + IL_00d3: nop + IL_00d4: ldloc.1 + IL_00d5: ldc.i4.0 + IL_00d6: ldloc.3 + IL_00d7: callvirt instance string string::Substring(int32, int32) + IL_00dc: ldloc.1 + IL_00dd: ldloc.3 + IL_00de: ldloc.2 + IL_00df: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_00e4: callvirt instance int32 string::get_Length() + IL_00e9: add + IL_00ea: ldc.i4.1 + IL_00eb: add + IL_00ec: callvirt instance string string::Substring(int32) + IL_00f1: call string string::Concat(string, string) + IL_00f6: stloc.1 + IL_00f7: nop + IL_00f8: br IL_0108 - // method line 104 - .method public hidebysig specialname - instance default void set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') cil managed - { - // Method begins at RVA 0x2e8f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.Module::_moduleSet - IL_0008: ret - } // end of method Module::set_ModuleSet + IL_00fd: nop + IL_00fe: ldloc.1 + IL_00ff: ldc.i4.0 + IL_0100: ldloc.3 + IL_0101: callvirt instance string string::Substring(int32, int32) + IL_0106: stloc.1 + IL_0107: nop + IL_0108: nop + IL_0109: nop + IL_010a: ldarg.0 + IL_010b: ldarg.1 + IL_010c: ldarg.2 + IL_010d: ldarg.2 + IL_010e: ldloc.1 + IL_010f: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string, string, string) + IL_0114: stloc.s 4 + IL_0116: br IL_012c - // method line 105 - .method public virtual hidebysig - instance default string ToString () cil managed + IL_011b: ldarg.0 + IL_011c: ldarg.1 + IL_011d: ldarg.2 + IL_011e: ldarg.2 + IL_011f: ldnull + IL_0120: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string, string, string) + IL_0125: stloc.s 4 + IL_0127: br IL_012c + + IL_012c: ldloc.s 4 + IL_012e: ret + } // end of method CompilerBase::GetManifestResourceName + + // method line 61 + .method public virtual hidebysig newslot + instance default class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage PerformSearchForResourceLinkage (class [mscorlib]System.IO.TextReader sr) cil managed { - // Method begins at RVA 0x2e9c - // Code size 91 (0x5b) - .maxstack 2 + // Method begins at RVA 0x32b0 + // Code size 314 (0x13a) + .maxstack 3 .locals init ( - string V_0, - class [mscorlib]System.Text.StringBuilder V_1) + class [System]System.Text.RegularExpressions.Regex V_0, + class [System]System.Text.RegularExpressions.Regex V_1, + string V_2, + string V_3, + string V_4, + class [System]System.Text.RegularExpressions.Match V_5, + class [System]System.Text.RegularExpressions.Group V_6, + class [System]System.Text.RegularExpressions.Capture V_7, + class [mscorlib]System.Collections.IEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + class [System]System.Text.RegularExpressions.Match V_10, + class [System]System.Text.RegularExpressions.Group V_11, + class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_12) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Types.Module::get_File() - IL_0007: brtrue IL_0014 + IL_0002: callvirt instance class [System]System.Text.RegularExpressions.Regex class NAnt.DotNet.Tasks.CompilerBase::get_NamespaceRegex() + IL_0007: stloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance class [System]System.Text.RegularExpressions.Regex class NAnt.DotNet.Tasks.CompilerBase::get_ClassNameRegex() + IL_000e: stloc.1 + IL_000f: ldstr "" + IL_0014: stloc.2 + IL_0015: ldstr "" + IL_001a: stloc.3 + IL_001b: br IL_011d - IL_000c: nop - IL_000d: ldnull - IL_000e: stloc.0 - IL_000f: br IL_0059 + IL_0020: nop + IL_0021: ldarg.1 + IL_0022: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0027: stloc.s 4 + IL_0029: ldloc.0 + IL_002a: ldloc.s 4 + IL_002c: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0031: stloc.s 5 + IL_0033: ldloc.s 5 + IL_0035: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_003a: brfalse IL_00d7 - IL_0014: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0019: stloc.1 - IL_001a: ldloc.1 - IL_001b: ldarg.0 - IL_001c: call instance string class NAnt.DotNet.Types.Module::get_File() - IL_0021: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0026: pop - IL_0027: ldarg.0 - IL_0028: call instance string class NAnt.DotNet.Types.Module::get_Target() - IL_002d: brfalse IL_004d + IL_003f: nop + IL_0040: ldloc.s 5 + IL_0042: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0047: ldstr "namespace" + IL_004c: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_0051: stloc.s 6 + IL_0053: ldloc.s 6 + IL_0055: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_005a: brfalse IL_00d6 - IL_0032: nop - IL_0033: ldloc.1 - IL_0034: ldstr "," - IL_0039: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_003e: pop - IL_003f: ldloc.1 - IL_0040: ldarg.0 - IL_0041: call instance string class NAnt.DotNet.Types.Module::get_Target() - IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_004b: pop - IL_004c: nop - IL_004d: ldloc.1 - IL_004e: callvirt instance string object::ToString() - IL_0053: stloc.0 - IL_0054: br IL_0059 + IL_005f: nop + IL_0060: nop + IL_0061: ldloc.s 6 + IL_0063: callvirt instance class [System]System.Text.RegularExpressions.CaptureCollection class [System]System.Text.RegularExpressions.Group::get_Captures() + IL_0068: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Text.RegularExpressions.CaptureCollection::GetEnumerator() + IL_006d: stloc.s 8 + .try { // 0 + IL_006f: br IL_00ad - IL_0059: ldloc.0 - IL_005a: ret - } // end of method Module::ToString + IL_0074: ldloc.s 8 + IL_0076: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_007b: castclass [System]System.Text.RegularExpressions.Capture + IL_0080: stloc.s 7 + IL_0082: nop + IL_0083: ldloc.2 + IL_0084: ldloc.2 + IL_0085: callvirt instance int32 string::get_Length() + IL_008a: ldc.i4.0 + IL_008b: ble IL_009a - .property instance string File () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ - 69 72 65 64 01 ) // ired. + IL_0090: ldstr "." + IL_0095: br IL_009f - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_009a: ldstr "" + IL_009f: ldloc.s 7 + IL_00a1: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_00a6: call string string::Concat(string, string, string) + IL_00ab: stloc.2 + IL_00ac: nop + IL_00ad: ldloc.s 8 + IL_00af: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00b4: brtrue IL_0074 - .get instance default string NAnt.DotNet.Types.Module::get_File () - .set instance default void NAnt.DotNet.Types.Module::set_File (string 'value') - } - .property instance string Target () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re - 71 75 69 72 65 64 00 ) // quired. + IL_00b9: leave IL_00d5 - .get instance default string NAnt.DotNet.Types.Module::get_Target () - .set instance default void NAnt.DotNet.Types.Module::set_Target (string 'value') - } - .property instance class NAnt.DotNet.Types.ModuleSet ModuleSet () - { - .get instance default class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.Module::get_ModuleSet () - .set instance default void NAnt.DotNet.Types.Module::set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') - } - } // end of class NAnt.DotNet.Types.Module -} + } // end .try 0 + finally { // 0 + IL_00be: ldloc.s 8 + IL_00c0: isinst [mscorlib]System.IDisposable + IL_00c5: dup + IL_00c6: stloc.s 9 + IL_00c8: brfalse IL_00d4 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit ModuleCollection - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.IEnumerable, [mscorlib]System.Collections.ICollection { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_00cd: ldloc.s 9 + IL_00cf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d4: endfinally + } // end handler 0 + IL_00d5: nop + IL_00d6: nop + IL_00d7: ldloc.1 + IL_00d8: ldloc.s 4 + IL_00da: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_00df: stloc.s 10 + IL_00e1: ldloc.s 10 + IL_00e3: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_00e8: brfalse IL_011c - .field private initonly class NAnt.DotNet.Types.ModuleSet _moduleSet - .field private initonly class [mscorlib]System.Collections.ArrayList _list + IL_00ed: nop + IL_00ee: ldloc.s 10 + IL_00f0: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_00f5: ldstr "class" + IL_00fa: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_00ff: stloc.s 11 + IL_0101: ldloc.s 11 + IL_0103: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_0108: brfalse IL_011b - // method line 106 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.ModuleSet moduleSet) cil managed - { - // Method begins at RVA 0x2f03 - // Code size 44 (0x2c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 + IL_010d: nop + IL_010e: ldloc.s 11 + IL_0110: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0115: stloc.3 + IL_0116: br IL_0129 - IL_000d: nop - IL_000e: ldstr "moduleSet" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet - IL_0020: ldarg.0 - IL_0021: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0026: stfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.ModuleCollection::_list - IL_002b: ret - } // end of method ModuleCollection::.ctor + IL_011b: nop + IL_011c: nop + IL_011d: ldarg.1 + IL_011e: callvirt instance int32 class [mscorlib]System.IO.TextReader::Peek() + IL_0123: ldc.i4.m1 + IL_0124: bgt IL_0020 - // method line 107 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.Module get_Item (int32 index) cil managed + IL_0129: ldloc.2 + IL_012a: ldloc.3 + IL_012b: newobj instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::'.ctor'(string, string) + IL_0130: stloc.s 12 + IL_0132: br IL_0137 + + IL_0137: ldloc.s 12 + IL_0139: ret + } // end of method CompilerBase::PerformSearchForResourceLinkage + + // method line 62 + .method family virtual hidebysig newslot + instance default void WritePackageReferences (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x2f30 - // Code size 68 (0x44) - .maxstack 3 + // Method begins at RVA 0x3408 + // Code size 221 (0xdd) + .maxstack 7 .locals init ( - class NAnt.DotNet.Types.Module V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class NAnt.DotNet.Types.Package V_1, + class NAnt.DotNet.Types.PackageEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.0 - IL_0003: blt IL_0014 + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: callvirt instance class NAnt.DotNet.Types.PackageCollection class NAnt.DotNet.Tasks.CompilerBase::get_Packages() + IL_000e: callvirt instance class NAnt.DotNet.Types.PackageEnumerator class NAnt.DotNet.Types.PackageCollection::GetEnumerator() + IL_0013: stloc.2 + .try { // 0 + IL_0014: br IL_004e - IL_0008: ldarg.1 - IL_0009: ldarg.0 - IL_000a: call instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() - IL_000f: blt IL_002b + IL_0019: ldloc.2 + IL_001a: callvirt instance class NAnt.DotNet.Types.Package class NAnt.DotNet.Types.PackageEnumerator::get_Current() + IL_001f: stloc.1 + IL_0020: nop + IL_0021: ldloc.1 + IL_0022: callvirt instance bool class NAnt.DotNet.Types.Package::get_IfDefined() + IL_0027: brfalse IL_004d - IL_0014: nop - IL_0015: ldstr "index" - IL_001a: ldarg.1 - IL_001b: box [mscorlib]System.Int32 - IL_0020: ldstr "Invalid value." - IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_002a: throw - IL_002b: ldarg.0 - IL_002c: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0031: ldarg.1 - IL_0032: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_0037: castclass NAnt.DotNet.Types.Module - IL_003c: stloc.0 - IL_003d: br IL_0042 + IL_002c: ldloc.1 + IL_002d: callvirt instance bool class NAnt.DotNet.Types.Package::get_UnlessDefined() + IL_0032: brtrue IL_004d - IL_0042: ldloc.0 - IL_0043: ret - } // end of method ModuleCollection::get_Item + IL_0037: nop + IL_0038: ldloc.0 + IL_0039: ldloc.1 + IL_003a: callvirt instance string class NAnt.DotNet.Types.Package::get_PackageName() + IL_003f: ldc.i4.s 0x3b + IL_0041: ldc.i4.0 + IL_0042: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0047: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_004c: nop + IL_004d: nop + IL_004e: ldloc.2 + IL_004f: callvirt instance bool class NAnt.DotNet.Types.PackageEnumerator::MoveNext() + IL_0054: brtrue IL_0019 - // method line 108 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.DotNet.Types.Module 'value') cil managed - { - // Method begins at RVA 0x2f80 - // Code size 57 (0x39) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.0 - IL_0003: blt IL_0014 + IL_0059: leave IL_0072 - IL_0008: ldarg.1 - IL_0009: ldarg.0 - IL_000a: call instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() - IL_000f: blt IL_002b + } // end .try 0 + finally { // 0 + IL_005e: ldloc.2 + IL_005f: isinst [mscorlib]System.IDisposable + IL_0064: dup + IL_0065: stloc.3 + IL_0066: brfalse IL_0071 - IL_0014: nop - IL_0015: ldstr "index" - IL_001a: ldarg.1 - IL_001b: box [mscorlib]System.Int32 - IL_0020: ldstr "Invalid value." - IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_002a: throw - IL_002b: ldarg.0 - IL_002c: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0031: ldarg.1 - IL_0032: ldarg.2 - IL_0033: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_0038: ret - } // end of method ModuleCollection::set_Item + IL_006b: ldloc.3 + IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0071: endfinally + } // end handler 0 + IL_0072: ldloc.0 + IL_0073: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0078: brtrue IL_0083 - // method line 109 - .method family hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed - { - // Method begins at RVA 0x2fbc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.ModuleCollection::_list - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_007d: nop + IL_007e: br IL_00dc - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ModuleCollection::get_List + IL_0083: ldarg.0 + IL_0084: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsPackageReferences() + IL_0089: brfalse IL_00ac - // method line 110 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed - { - // Method begins at RVA 0x2fd8 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0007: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_008e: nop + IL_008f: ldarg.0 + IL_0090: ldarg.1 + IL_0091: ldstr "pkg" + IL_0096: ldstr "," + IL_009b: ldloc.0 + IL_009c: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) + IL_00a1: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_00a6: nop + IL_00a7: br IL_00dc - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ModuleCollection::System.Collections.IEnumerable.GetEnumerator - - // method line 111 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed - { - // Method begins at RVA 0x2ff8 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_IsSynchronized due to (null) - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ModuleCollection::System.Collections.ICollection.get_IsSynchronized + IL_00ac: nop + IL_00ad: ldarg.0 + IL_00ae: ldc.i4 4000 + IL_00b3: ldstr "String_CompilerDoesNotSupportPackageReferences" + IL_00b8: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00bd: ldc.i4.1 + IL_00be: newarr [mscorlib]System.Object + IL_00c3: dup + IL_00c4: ldc.i4.0 + IL_00c5: ldarg.0 + IL_00c6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00cb: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_00d0: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_00d5: stelem.ref + IL_00d6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00db: nop + IL_00dc: ret + } // end of method CompilerBase::WritePackageReferences - // method line 112 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed + // method line 63 + .method family virtual hidebysig newslot + instance default void WriteWarningsAsError (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x3010 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x3504 + // Code size 516 (0x204) + .maxstack 7 .locals init ( - int32 V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class NAnt.DotNet.Types.CompilerWarning V_1, + class NAnt.DotNet.Types.CompilerWarningEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.DotNet.Types.CompilerWarning V_4, + class NAnt.DotNet.Types.CompilerWarningEnumerator V_5, + class [mscorlib]System.IDisposable V_6) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::get_WarnAsError() + IL_0007: brfalse IL_0031 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ModuleCollection::get_Count + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() + IL_0013: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Types.WarningAsError::get_Includes() + IL_0018: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_001d: brtrue IL_0030 - // method line 113 - .method public final virtual hidebysig newslot - instance default void CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed - { - // Method begins at RVA 0x3030 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method ModuleCollection::CopyTo + IL_0022: nop + IL_0023: ldarg.0 + IL_0024: ldarg.1 + IL_0025: ldstr "warnaserror" + IL_002a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_002f: nop + IL_0030: nop + IL_0031: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0036: stloc.0 + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: callvirt instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() + IL_003e: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Types.WarningAsError::get_Includes() + IL_0043: callvirt instance class NAnt.DotNet.Types.CompilerWarningEnumerator class NAnt.DotNet.Types.CompilerWarningCollection::GetEnumerator() + IL_0048: stloc.2 + .try { // 0 + IL_0049: br IL_0083 - // method line 114 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.ICollection.get_SyncRoot () cil managed - { - // Method begins at RVA 0x3040 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_SyncRoot due to (null) - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_004e: ldloc.2 + IL_004f: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current() + IL_0054: stloc.1 + IL_0055: nop + IL_0056: ldloc.1 + IL_0057: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_IfDefined() + IL_005c: brfalse IL_0082 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ModuleCollection::System.Collections.ICollection.get_SyncRoot + IL_0061: ldloc.1 + IL_0062: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined() + IL_0067: brtrue IL_0082 - // method line 115 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsFixedSize () cil managed - { - // Method begins at RVA 0x3058 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_006c: nop + IL_006d: ldloc.0 + IL_006e: ldloc.1 + IL_006f: callvirt instance string class NAnt.DotNet.Types.CompilerWarning::get_Number() + IL_0074: ldc.i4.s 0x2c + IL_0076: ldc.i4.0 + IL_0077: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_007c: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0081: nop + IL_0082: nop + IL_0083: ldloc.2 + IL_0084: callvirt instance bool class NAnt.DotNet.Types.CompilerWarningEnumerator::MoveNext() + IL_0089: brtrue IL_004e - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ModuleCollection::get_IsFixedSize + IL_008e: leave IL_00a7 - // method line 116 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsReadOnly () cil managed - { - // Method begins at RVA 0x3070 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + } // end .try 0 + finally { // 0 + IL_0093: ldloc.2 + IL_0094: isinst [mscorlib]System.IDisposable + IL_0099: dup + IL_009a: stloc.3 + IL_009b: brfalse IL_00a6 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ModuleCollection::get_IsReadOnly + IL_00a0: ldloc.3 + IL_00a1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00a6: endfinally + } // end handler 0 + IL_00a7: ldloc.0 + IL_00a8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00ad: ldc.i4.0 + IL_00ae: ble IL_0112 - // method line 117 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IList.get_Item (int32 index) cil managed - { - // Method begins at RVA 0x3088 - .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleCollection::get_Item(int32) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_00b3: nop + IL_00b4: ldarg.0 + IL_00b5: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsWarnAsErrorList() + IL_00ba: brfalse IL_00e1 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method ModuleCollection::System.Collections.IList.get_Item + IL_00bf: nop + IL_00c0: ldarg.1 + IL_00c1: ldstr "/warnaserror+:" + IL_00c6: ldstr "," + IL_00cb: ldloc.0 + IL_00cc: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) + IL_00d1: call string string::Concat(string, string) + IL_00d6: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_00db: nop + IL_00dc: br IL_0111 - // method line 118 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed - { - // Method begins at RVA 0x30a4 - .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) - // Code size 56 (0x38) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: brtrue IL_0013 + IL_00e1: nop + IL_00e2: ldarg.0 + IL_00e3: ldc.i4 4000 + IL_00e8: ldstr "String_CompilerDoesNotSupportWarningsAsErrors" + IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f2: ldc.i4.1 + IL_00f3: newarr [mscorlib]System.Object + IL_00f8: dup + IL_00f9: ldc.i4.0 + IL_00fa: ldarg.0 + IL_00fb: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0100: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0105: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_010a: stelem.ref + IL_010b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0110: nop + IL_0111: nop + IL_0112: ldloc.0 + IL_0113: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0118: nop + IL_0119: ldarg.0 + IL_011a: callvirt instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() + IL_011f: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Types.WarningAsError::get_Excludes() + IL_0124: callvirt instance class NAnt.DotNet.Types.CompilerWarningEnumerator class NAnt.DotNet.Types.CompilerWarningCollection::GetEnumerator() + IL_0129: stloc.s 5 + .try { // 1 + IL_012b: br IL_016a - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: isinst NAnt.DotNet.Types.Module - IL_0019: brtrue IL_002a - - IL_001e: nop - IL_001f: ldstr "Value is not a Module" - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: ldarg.1 - IL_002c: ldarg.2 - IL_002d: castclass NAnt.DotNet.Types.Module - IL_0032: call instance void class NAnt.DotNet.Types.ModuleCollection::set_Item(int32, class NAnt.DotNet.Types.Module) - IL_0037: ret - } // end of method ModuleCollection::System.Collections.IList.set_Item - - // method line 119 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed - { - // Method begins at RVA 0x30dd - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0007: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() - IL_000c: ret - } // end of method ModuleCollection::Clear - - // method line 120 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed - { - // Method begins at RVA 0x30eb - .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) - // Code size 56 (0x38) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: brtrue IL_0013 + IL_0130: ldloc.s 5 + IL_0132: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current() + IL_0137: stloc.s 4 + IL_0139: nop + IL_013a: ldloc.s 4 + IL_013c: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_IfDefined() + IL_0141: brfalse IL_0169 - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: isinst NAnt.DotNet.Types.Module - IL_0019: brtrue IL_002a + IL_0146: ldloc.s 4 + IL_0148: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined() + IL_014d: brtrue IL_0169 - IL_001e: nop - IL_001f: ldstr "Value is not a Module" - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: ldarg.1 - IL_002c: ldarg.2 - IL_002d: castclass NAnt.DotNet.Types.Module - IL_0032: call instance void class NAnt.DotNet.Types.ModuleCollection::Insert(int32, class NAnt.DotNet.Types.Module) - IL_0037: ret - } // end of method ModuleCollection::System.Collections.IList.Insert + IL_0152: nop + IL_0153: ldloc.0 + IL_0154: ldloc.s 4 + IL_0156: callvirt instance string class NAnt.DotNet.Types.CompilerWarning::get_Number() + IL_015b: ldc.i4.s 0x2c + IL_015d: ldc.i4.0 + IL_015e: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0163: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0168: nop + IL_0169: nop + IL_016a: ldloc.s 5 + IL_016c: callvirt instance bool class NAnt.DotNet.Types.CompilerWarningEnumerator::MoveNext() + IL_0171: brtrue IL_0130 - // method line 121 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Remove (object 'value') cil managed - { - // Method begins at RVA 0x3124 - .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) - // Code size 55 (0x37) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0176: leave IL_0192 - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.DotNet.Types.Module - IL_0019: brtrue IL_002a + } // end .try 1 + finally { // 1 + IL_017b: ldloc.s 5 + IL_017d: isinst [mscorlib]System.IDisposable + IL_0182: dup + IL_0183: stloc.s 6 + IL_0185: brfalse IL_0191 - IL_001e: nop - IL_001f: ldstr "Value is not a Module" - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: ldarg.1 - IL_002c: castclass NAnt.DotNet.Types.Module - IL_0031: call instance void class NAnt.DotNet.Types.ModuleCollection::Remove(class NAnt.DotNet.Types.Module) - IL_0036: ret - } // end of method ModuleCollection::System.Collections.IList.Remove + IL_018a: ldloc.s 6 + IL_018c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0191: endfinally + } // end handler 1 + IL_0192: ldloc.0 + IL_0193: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0198: ldc.i4.0 + IL_0199: ble IL_01fd - // method line 122 - .method public final virtual hidebysig newslot - instance default void RemoveAt (int32 index) cil managed - { - // Method begins at RVA 0x315c - // Code size 56 (0x38) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.0 - IL_0003: blt IL_0014 + IL_019e: nop + IL_019f: ldarg.0 + IL_01a0: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsWarnAsErrorList() + IL_01a5: brfalse IL_01cc - IL_0008: ldarg.1 - IL_0009: ldarg.0 - IL_000a: call instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() - IL_000f: blt IL_002b + IL_01aa: nop + IL_01ab: ldarg.1 + IL_01ac: ldstr "/warnaserror-:" + IL_01b1: ldstr "," + IL_01b6: ldloc.0 + IL_01b7: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) + IL_01bc: call string string::Concat(string, string) + IL_01c1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_01c6: nop + IL_01c7: br IL_01fc - IL_0014: nop - IL_0015: ldstr "index" - IL_001a: ldarg.1 - IL_001b: box [mscorlib]System.Int32 - IL_0020: ldstr "Invalid value." - IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_002a: throw - IL_002b: ldarg.0 - IL_002c: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0031: ldarg.1 - IL_0032: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) - IL_0037: ret - } // end of method ModuleCollection::RemoveAt + IL_01cc: nop + IL_01cd: ldarg.0 + IL_01ce: ldc.i4 4000 + IL_01d3: ldstr "String_CompilerDoesNotSupportWarningsAsErrors" + IL_01d8: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01dd: ldc.i4.1 + IL_01de: newarr [mscorlib]System.Object + IL_01e3: dup + IL_01e4: ldc.i4.0 + IL_01e5: ldarg.0 + IL_01e6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_01eb: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_01f0: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_01f5: stelem.ref + IL_01f6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01fb: nop + IL_01fc: nop + IL_01fd: ldloc.0 + IL_01fe: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0203: ret + } // end of method CompilerBase::WriteWarningsAsError - // method line 123 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IList.Contains (object 'value') cil managed + // method line 64 + .method family virtual hidebysig newslot + instance default void WriteNoWarnList (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x3198 - .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) - // Code size 67 (0x43) - .maxstack 2 + // Method begins at RVA 0x3730 + // Code size 255 (0xff) + .maxstack 7 .locals init ( - bool V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class NAnt.DotNet.Types.CompilerWarning V_1, + class NAnt.DotNet.Types.CompilerWarningEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.DotNet.Types.Module - IL_0019: brtrue IL_002a + IL_0008: ldarg.0 + IL_0009: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Tasks.CompilerBase::get_SuppressWarnings() + IL_000e: callvirt instance class NAnt.DotNet.Types.CompilerWarningEnumerator class NAnt.DotNet.Types.CompilerWarningCollection::GetEnumerator() + IL_0013: stloc.2 + .try { // 0 + IL_0014: br IL_004e - IL_001e: nop - IL_001f: ldstr "Value is not a Module" - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0030: ldarg.1 - IL_0031: castclass NAnt.DotNet.Types.Module - IL_0036: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_003b: stloc.0 - IL_003c: br IL_0041 + IL_0019: ldloc.2 + IL_001a: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current() + IL_001f: stloc.1 + IL_0020: nop + IL_0021: ldloc.1 + IL_0022: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_IfDefined() + IL_0027: brfalse IL_004d - IL_0041: ldloc.0 - IL_0042: ret - } // end of method ModuleCollection::System.Collections.IList.Contains + IL_002c: ldloc.1 + IL_002d: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined() + IL_0032: brtrue IL_004d - // method line 124 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed - { - // Method begins at RVA 0x31e8 - .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) - // Code size 62 (0x3e) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0037: nop + IL_0038: ldloc.0 + IL_0039: ldloc.1 + IL_003a: callvirt instance string class NAnt.DotNet.Types.CompilerWarning::get_Number() + IL_003f: ldc.i4.s 0x2c + IL_0041: ldc.i4.0 + IL_0042: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0047: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_004c: nop + IL_004d: nop + IL_004e: ldloc.2 + IL_004f: callvirt instance bool class NAnt.DotNet.Types.CompilerWarningEnumerator::MoveNext() + IL_0054: brtrue IL_0019 - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.DotNet.Types.Module - IL_0019: brtrue IL_002a + IL_0059: leave IL_0072 - IL_001e: nop - IL_001f: ldstr "Value is not a Module" - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: ldarg.1 - IL_002c: castclass NAnt.DotNet.Types.Module - IL_0031: call instance int32 class NAnt.DotNet.Types.ModuleCollection::IndexOf(class NAnt.DotNet.Types.Module) - IL_0036: stloc.0 - IL_0037: br IL_003c + } // end .try 0 + finally { // 0 + IL_005e: ldloc.2 + IL_005f: isinst [mscorlib]System.IDisposable + IL_0064: dup + IL_0065: stloc.3 + IL_0066: brfalse IL_0071 - IL_003c: ldloc.0 - IL_003d: ret - } // end of method ModuleCollection::System.Collections.IList.IndexOf + IL_006b: ldloc.3 + IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0071: endfinally + } // end handler 0 + IL_0072: ldarg.0 + IL_0073: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_NoWarn() + IL_0078: brfalse IL_0093 - // method line 125 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.Add (object 'value') cil managed - { - // Method begins at RVA 0x3234 - .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) - // Code size 62 (0x3e) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_007d: nop + IL_007e: ldloc.0 + IL_007f: ldarg.0 + IL_0080: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_NoWarn() + IL_0085: ldc.i4.s 0x2c + IL_0087: ldc.i4.0 + IL_0088: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_008d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0092: nop + IL_0093: ldloc.0 + IL_0094: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0099: ldc.i4.0 + IL_009a: ble IL_00fe - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.DotNet.Types.Module - IL_0019: brtrue IL_002a + IL_009f: nop + IL_00a0: ldarg.0 + IL_00a1: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsNoWarnList() + IL_00a6: brfalse IL_00cd - IL_001e: nop - IL_001f: ldstr "Value is not a Module" - IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0029: throw - IL_002a: ldarg.0 - IL_002b: ldarg.1 - IL_002c: castclass NAnt.DotNet.Types.Module - IL_0031: call instance int32 class NAnt.DotNet.Types.ModuleCollection::Add(class NAnt.DotNet.Types.Module) - IL_0036: stloc.0 - IL_0037: br IL_003c + IL_00ab: nop + IL_00ac: ldarg.1 + IL_00ad: ldstr "/nowarn:" + IL_00b2: ldstr "," + IL_00b7: ldloc.0 + IL_00b8: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) + IL_00bd: call string string::Concat(string, string) + IL_00c2: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_00c7: nop + IL_00c8: br IL_00fd - IL_003c: ldloc.0 - IL_003d: ret - } // end of method ModuleCollection::System.Collections.IList.Add + IL_00cd: nop + IL_00ce: ldarg.0 + IL_00cf: ldc.i4 4000 + IL_00d4: ldstr "String_CompilerDoesNotSupportWarningsToSuppress" + IL_00d9: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00de: ldc.i4.1 + IL_00df: newarr [mscorlib]System.Object + IL_00e4: dup + IL_00e5: ldc.i4.0 + IL_00e6: ldarg.0 + IL_00e7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00ec: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_00f1: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_00f6: stelem.ref + IL_00f7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00fc: nop + IL_00fd: nop + IL_00fe: ret + } // end of method CompilerBase::WriteNoWarnList - // method line 126 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.ModuleCollection items) cil managed + // method line 65 + .method family virtual hidebysig newslot + instance default void WriteConditionalCompilationConstants (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x3280 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x384c + // Code size 33 (0x21) + .maxstack 8 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.DotNet.Types.ModuleCollection::Add(class NAnt.DotNet.Types.Module) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() - IL_0023: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() + IL_0007: brfalse IL_0020 - IL_0028: ret - } // end of method ModuleCollection::AddRange + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: ldstr "define" + IL_0014: ldarg.0 + IL_0015: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() + IL_001a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_001f: nop + IL_0020: ret + } // end of method CompilerBase::WriteConditionalCompilationConstants - // method line 127 - .method public hidebysig - instance default int32 Add (class NAnt.DotNet.Types.Module 'value') cil managed + // method line 66 + .method family virtual hidebysig newslot + instance default void WriteModuleReferences (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x32b8 - // Code size 56 (0x38) - .maxstack 2 + // Method begins at RVA 0x3870 + // Code size 83 (0x53) + .maxstack 4 .locals init ( - int32 V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() - IL_0007: brfalse IL_0018 - - IL_000c: nop - IL_000d: ldstr "Module is already linked to other ModuleSet." - IL_0012: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0017: throw - IL_0018: ldarg.1 - IL_0019: ldarg.0 - IL_001a: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet - IL_001f: callvirt instance void class NAnt.DotNet.Types.Module::set_ModuleSet(class NAnt.DotNet.Types.ModuleSet) - IL_0024: ldarg.0 - IL_0025: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_002a: ldarg.1 - IL_002b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0030: stloc.0 - IL_0031: br IL_0036 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_000d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0012: stloc.1 + .try { // 0 + IL_0013: br IL_002e - IL_0036: ldloc.0 - IL_0037: ret - } // end of method ModuleCollection::Add + IL_0018: ldloc.1 + IL_0019: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_001e: stloc.0 + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: ldarg.1 + IL_0022: ldstr "addmodule" + IL_0027: ldloc.0 + IL_0028: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_002d: nop + IL_002e: ldloc.1 + IL_002f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0034: brtrue IL_0018 - // method line 128 - .method public hidebysig - instance default class NAnt.DotNet.Types.ModuleEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x32fc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.ModuleEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.DotNet.Types.ModuleEnumerator::'.ctor'(class NAnt.DotNet.Types.ModuleCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0039: leave IL_0052 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ModuleCollection::GetEnumerator + } // end .try 0 + finally { // 0 + IL_003e: ldloc.1 + IL_003f: isinst [mscorlib]System.IDisposable + IL_0044: dup + IL_0045: stloc.2 + IL_0046: brfalse IL_0051 - // method line 129 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.DotNet.Types.Module 'value') cil managed - { - // Method begins at RVA 0x3317 - // Code size 50 (0x32) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() - IL_0007: brfalse IL_0018 - - IL_000c: nop - IL_000d: ldstr "Module is already linked to other ModuleSet." - IL_0012: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0017: throw - IL_0018: ldarg.2 - IL_0019: ldarg.0 - IL_001a: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet - IL_001f: callvirt instance void class NAnt.DotNet.Types.Module::set_ModuleSet(class NAnt.DotNet.Types.ModuleSet) - IL_0024: ldarg.0 - IL_0025: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_002a: ldarg.1 - IL_002b: ldarg.2 - IL_002c: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) - IL_0031: ret - } // end of method ModuleCollection::Insert + IL_004b: ldloc.2 + IL_004c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0051: endfinally + } // end handler 0 + IL_0052: ret + } // end of method CompilerBase::WriteModuleReferences - // method line 130 - .method public hidebysig - instance default void Remove (class NAnt.DotNet.Types.Module 'value') cil managed + // method line 67 + .method family virtual hidebysig newslot + instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x334a - // Code size 40 (0x28) + // Method begins at RVA 0x38e0 + // Code size 2 (0x2) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) - IL_000d: ldarg.1 - IL_000e: callvirt instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() - IL_0013: ldarg.0 - IL_0014: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet - IL_0019: bne.un IL_0027 - - IL_001e: nop - IL_001f: ldarg.1 - IL_0020: ldnull - IL_0021: callvirt instance void class NAnt.DotNet.Types.Module::set_ModuleSet(class NAnt.DotNet.Types.ModuleSet) - IL_0026: nop - IL_0027: ret - } // end of method ModuleCollection::Remove + IL_0001: ret + } // end of method CompilerBase::WriteOptions - // method line 131 - .method public hidebysig - instance default bool Contains (class NAnt.DotNet.Types.Module 'value') cil managed + // method line 68 + .method family virtual hidebysig newslot + instance default void WriteOption (class [mscorlib]System.IO.TextWriter writer, string name) cil managed { - // Method begins at RVA 0x3374 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x38e3 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ModuleCollection::Contains + IL_0001: ldarg.1 + IL_0002: ldstr "/{0}" + IL_0007: ldarg.2 + IL_0008: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_000d: ret + } // end of method CompilerBase::WriteOption - // method line 132 - .method public hidebysig - instance default int32 IndexOf (class NAnt.DotNet.Types.Module 'value') cil managed + // method line 69 + .method family virtual hidebysig newslot + instance default void WriteOption (class [mscorlib]System.IO.TextWriter writer, string name, string 'value') cil managed { - // Method begins at RVA 0x3398 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) + // Method begins at RVA 0x38f4 + // Code size 69 (0x45) + .maxstack 4 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ModuleCollection::IndexOf + IL_0001: ldarg.3 + IL_0002: ldstr "\"" + IL_0007: callvirt instance bool string::StartsWith(string) + IL_000c: brfalse IL_0021 - .property instance bool System.Collections.ICollection.IsSynchronized () - { - .get instance default bool NAnt.DotNet.Types.ModuleCollection::System.Collections.ICollection.get_IsSynchronized () - } - .property instance object System.Collections.ICollection.SyncRoot () - { - .get instance default object NAnt.DotNet.Types.ModuleCollection::System.Collections.ICollection.get_SyncRoot () - } - .property instance object System.Collections.IList.Item (int32) - { - .get instance default object NAnt.DotNet.Types.ModuleCollection::System.Collections.IList.get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.ModuleCollection::System.Collections.IList.set_Item (int32 index, object 'value') - } - .property instance class NAnt.DotNet.Types.Module Item (int32) - { - .get instance default class NAnt.DotNet.Types.Module NAnt.DotNet.Types.ModuleCollection::get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.ModuleCollection::set_Item (int32 index, class NAnt.DotNet.Types.Module 'value') - } - .property instance class [mscorlib]System.Collections.ArrayList List () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.ModuleCollection::get_List () - } - .property instance int32 Count () - { - .get instance default int32 NAnt.DotNet.Types.ModuleCollection::get_Count () - } - .property instance bool IsFixedSize () - { - .get instance default bool NAnt.DotNet.Types.ModuleCollection::get_IsFixedSize () - } - .property instance bool IsReadOnly () - { - .get instance default bool NAnt.DotNet.Types.ModuleCollection::get_IsReadOnly () - } - } // end of class NAnt.DotNet.Types.ModuleCollection -} + IL_0011: ldarg.3 + IL_0012: ldstr "\"" + IL_0017: callvirt instance bool string::EndsWith(string) + IL_001c: brtrue IL_0035 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit ModuleEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0021: nop + IL_0022: ldarg.1 + IL_0023: ldstr "\"/{0}:{1}\"" + IL_0028: ldarg.2 + IL_0029: ldarg.3 + IL_002a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) + IL_002f: nop + IL_0030: br IL_0044 - // method line 133 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.ModuleCollection arguments) cil managed - { - // Method begins at RVA 0x33bc - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator - IL_0015: ret - } // end of method ModuleEnumerator::.ctor + IL_0035: nop + IL_0036: ldarg.1 + IL_0037: ldstr "/{0}:{1}" + IL_003c: ldarg.2 + IL_003d: ldarg.3 + IL_003e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) + IL_0043: nop + IL_0044: ret + } // end of method CompilerBase::WriteOption - // method line 134 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.Module get_Current () cil managed + // method line 70 + .method family virtual hidebysig newslot + instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x33e0 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x3948 + // Code size 1022 (0x3fe) + .maxstack 7 .locals init ( - class NAnt.DotNet.Types.Module V_0) + bool V_0, + string V_1, + class NAnt.DotNet.Types.ResourceFileSet V_2, + class NAnt.DotNet.Types.ResourceFileSetEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + class [System]System.Collections.Specialized.StringCollection V_5, + class [NAnt.Core]NAnt.Core.Types.Argument V_6, + class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator V_7, + string V_8, + string V_9, + int32 V_10, + class [mscorlib]System.IDisposable V_11) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.DotNet.Types.Module - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::get_ForceRebuild() + IL_0007: brfalse IL_0029 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ModuleEnumerator::get_Current + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldc.i4 2000 + IL_0013: ldstr "String_RebuildAttributeSetToTrue" + IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0022: ldc.i4.1 + IL_0023: stloc.0 + IL_0024: br IL_03fc - // method line 135 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x3408 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleEnumerator::get_Current() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0029: ldarg.0 + IL_002a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_002f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0034: brtrue IL_006a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ModuleEnumerator::System.Collections.IEnumerator.get_Current + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: ldc.i4 2000 + IL_0040: ldstr "String_OutputFileDoesNotExist" + IL_0045: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004a: ldc.i4.1 + IL_004b: newarr [mscorlib]System.Object + IL_0050: dup + IL_0051: ldc.i4.0 + IL_0052: ldarg.0 + IL_0053: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005d: stelem.ref + IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0063: ldc.i4.1 + IL_0064: stloc.0 + IL_0065: br IL_03fc - // method line 136 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x3424 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_006a: ldarg.0 + IL_006b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() + IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0075: ldarg.0 + IL_0076: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_007b: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0080: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0085: stloc.1 + IL_0086: ldloc.1 + IL_0087: brfalse IL_00b3 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ModuleEnumerator::MoveNext + IL_008c: nop + IL_008d: ldarg.0 + IL_008e: ldc.i4 2000 + IL_0093: ldstr "String_FileHasBeenUpdated" + IL_0098: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009d: ldc.i4.1 + IL_009e: newarr [mscorlib]System.Object + IL_00a3: dup + IL_00a4: ldc.i4.0 + IL_00a5: ldloc.1 + IL_00a6: stelem.ref + IL_00a7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00ac: ldc.i4.1 + IL_00ad: stloc.0 + IL_00ae: br IL_03fc - // method line 137 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - // Method begins at RVA 0x3444 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ModuleEnumerator::Reset + IL_00b3: ldarg.0 + IL_00b4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() + IL_00b9: brfalse IL_0109 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.DotNet.Types.ModuleEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.DotNet.Types.Module Current () - { - .get instance default class NAnt.DotNet.Types.Module NAnt.DotNet.Types.ModuleEnumerator::get_Current () - } - } // end of class NAnt.DotNet.Types.ModuleEnumerator -} + IL_00be: nop + IL_00bf: ldarg.0 + IL_00c0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() + IL_00c5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00ca: ldarg.0 + IL_00cb: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_00d0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00d5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_00da: stloc.1 + IL_00db: ldloc.1 + IL_00dc: brfalse IL_0108 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit AssemblyAttributeCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_00e1: nop + IL_00e2: ldarg.0 + IL_00e3: ldc.i4 2000 + IL_00e8: ldstr "String_FileHasBeenUpdated" + IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f2: ldc.i4.1 + IL_00f3: newarr [mscorlib]System.Object + IL_00f8: dup + IL_00f9: ldc.i4.0 + IL_00fa: ldloc.1 + IL_00fb: stelem.ref + IL_00fc: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0101: ldc.i4.1 + IL_0102: stloc.0 + IL_0103: br IL_03fc + IL_0108: nop + IL_0109: ldarg.0 + IL_010a: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_010f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0114: ldarg.0 + IL_0115: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_011a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_011f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0124: stloc.1 + IL_0125: ldloc.1 + IL_0126: brfalse IL_0152 - // method line 138 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x3452 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method AssemblyAttributeCollection::.ctor + IL_012b: nop + IL_012c: ldarg.0 + IL_012d: ldc.i4 2000 + IL_0132: ldstr "String_FileHasBeenUpdated" + IL_0137: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_013c: ldc.i4.1 + IL_013d: newarr [mscorlib]System.Object + IL_0142: dup + IL_0143: ldc.i4.0 + IL_0144: ldloc.1 + IL_0145: stelem.ref + IL_0146: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_014b: ldc.i4.1 + IL_014c: stloc.0 + IL_014d: br IL_03fc - // method line 139 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyAttributeCollection 'value') cil managed - { - // Method begins at RVA 0x345b - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.AssemblyAttributeCollection::AddRange(class NAnt.DotNet.Types.AssemblyAttributeCollection) - IL_000e: ret - } // end of method AssemblyAttributeCollection::.ctor + IL_0152: ldarg.0 + IL_0153: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0158: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_015d: ldarg.0 + IL_015e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_0163: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0168: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_016d: stloc.1 + IL_016e: ldloc.1 + IL_016f: brfalse IL_019b - // method line 140 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyAttribute[] 'value') cil managed - { - // Method begins at RVA 0x346b - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.AssemblyAttributeCollection::AddRange(class NAnt.DotNet.Types.AssemblyAttribute[]) - IL_000e: ret - } // end of method AssemblyAttributeCollection::.ctor + IL_0174: nop + IL_0175: ldarg.0 + IL_0176: ldc.i4 2000 + IL_017b: ldstr "String_FileHasBeenUpdated" + IL_0180: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0185: ldc.i4.1 + IL_0186: newarr [mscorlib]System.Object + IL_018b: dup + IL_018c: ldc.i4.0 + IL_018d: ldloc.1 + IL_018e: stelem.ref + IL_018f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0194: ldc.i4.1 + IL_0195: stloc.0 + IL_0196: br IL_03fc - // method line 141 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyAttribute get_Item (int32 index) cil managed - { - // Method begins at RVA 0x347c - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.DotNet.Types.AssemblyAttribute V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.DotNet.Types.AssemblyAttribute - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_019b: nop + IL_019c: ldarg.0 + IL_019d: call instance class NAnt.DotNet.Types.ResourceFileSetCollection class NAnt.DotNet.Tasks.CompilerBase::get_ResourcesList() + IL_01a2: callvirt instance class NAnt.DotNet.Types.ResourceFileSetEnumerator class NAnt.DotNet.Types.ResourceFileSetCollection::GetEnumerator() + IL_01a7: stloc.3 + .try { // 0 + IL_01a8: br IL_01fa - IL_0018: ldloc.0 - IL_0019: ret - } // end of method AssemblyAttributeCollection::get_Item + IL_01ad: ldloc.3 + IL_01ae: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Types.ResourceFileSetEnumerator::get_Current() + IL_01b3: stloc.2 + IL_01b4: nop + IL_01b5: ldloc.2 + IL_01b6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01bb: ldarg.0 + IL_01bc: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_01c1: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_01c6: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_01cb: stloc.1 + IL_01cc: ldloc.1 + IL_01cd: brfalse IL_01f9 - // method line 142 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.DotNet.Types.AssemblyAttribute 'value') cil managed - { - // Method begins at RVA 0x34a2 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method AssemblyAttributeCollection::set_Item - - // method line 143 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyAttribute get_Item (string 'value') cil managed - { - // Method begins at RVA 0x34b4 - // Code size 111 (0x6f) - .maxstack 2 - .locals init ( - class NAnt.DotNet.Types.AssemblyAttribute V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.DotNet.Types.AssemblyAttribute V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 - - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.DotNet.Types.AssemblyAttribute - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_Value() - IL_002e: callvirt instance bool string::Equals(string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + IL_01d2: nop + IL_01d3: ldarg.0 + IL_01d4: ldc.i4 2000 + IL_01d9: ldstr "String_FileHasBeenUpdated" + IL_01de: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01e3: ldc.i4.1 + IL_01e4: newarr [mscorlib]System.Object + IL_01e9: dup + IL_01ea: ldc.i4.0 + IL_01eb: ldloc.1 + IL_01ec: stelem.ref + IL_01ed: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01f2: ldc.i4.1 + IL_01f3: stloc.0 + IL_01f4: leave IL_03fc - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + IL_01f9: nop + IL_01fa: ldloc.3 + IL_01fb: callvirt instance bool class NAnt.DotNet.Types.ResourceFileSetEnumerator::MoveNext() + IL_0200: brtrue IL_01ad - IL_004c: leave IL_0065 + IL_0205: leave IL_0220 } // end .try 0 finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + IL_020a: ldloc.3 + IL_020b: isinst [mscorlib]System.IDisposable + IL_0210: dup + IL_0211: stloc.s 4 + IL_0213: brfalse IL_021f - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally + IL_0218: ldloc.s 4 + IL_021a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_021f: endfinally } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d - - IL_006d: ldloc.2 - IL_006e: ret - } // end of method AssemblyAttributeCollection::get_Item + IL_0220: ldarg.0 + IL_0221: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() + IL_0226: brfalse IL_0276 - // method line 144 - .method public hidebysig - instance default int32 Add (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed - { - // Method begins at RVA 0x3540 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_022b: nop + IL_022c: ldarg.0 + IL_022d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() + IL_0232: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0237: ldarg.0 + IL_0238: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_023d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0242: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0247: stloc.1 + IL_0248: ldloc.1 + IL_0249: brfalse IL_0275 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method AssemblyAttributeCollection::Add + IL_024e: nop + IL_024f: ldarg.0 + IL_0250: ldc.i4 2000 + IL_0255: ldstr "String_FileHasBeenUpdated" + IL_025a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_025f: ldc.i4.1 + IL_0260: newarr [mscorlib]System.Object + IL_0265: dup + IL_0266: ldc.i4.0 + IL_0267: ldloc.1 + IL_0268: stelem.ref + IL_0269: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_026e: ldc.i4.1 + IL_026f: stloc.0 + IL_0270: br IL_03fc - // method line 145 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.AssemblyAttribute[] items) cil managed - { - // Method begins at RVA 0x3564 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0275: nop + IL_0276: ldarg.0 + IL_0277: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_027c: brfalse IL_02cc - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.DotNet.Types.AssemblyAttributeCollection::Add(class NAnt.DotNet.Types.AssemblyAttribute) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0281: nop + IL_0282: ldarg.0 + IL_0283: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_0288: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_028d: ldarg.0 + IL_028e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_0293: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0298: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_029d: stloc.1 + IL_029e: ldloc.1 + IL_029f: brfalse IL_02cb - IL_0021: ret - } // end of method AssemblyAttributeCollection::AddRange + IL_02a4: nop + IL_02a5: ldarg.0 + IL_02a6: ldc.i4 2000 + IL_02ab: ldstr "String_FileHasBeenUpdated" + IL_02b0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02b5: ldc.i4.1 + IL_02b6: newarr [mscorlib]System.Object + IL_02bb: dup + IL_02bc: ldc.i4.0 + IL_02bd: ldloc.1 + IL_02be: stelem.ref + IL_02bf: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_02c4: ldc.i4.1 + IL_02c5: stloc.0 + IL_02c6: br IL_03fc - // method line 146 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.AssemblyAttributeCollection items) cil managed - { - // Method begins at RVA 0x3594 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_02cb: nop + IL_02cc: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_02d1: stloc.s 5 + IL_02d3: nop + IL_02d4: ldarg.0 + IL_02d5: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_02da: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::GetEnumerator() + IL_02df: stloc.s 7 + .try { // 1 + IL_02e1: br IL_038d - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.DotNet.Types.AssemblyAttribute class NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.DotNet.Types.AssemblyAttributeCollection::Add(class NAnt.DotNet.Types.AssemblyAttribute) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_02e6: ldloc.s 7 + IL_02e8: callvirt instance class [NAnt.Core]NAnt.Core.Types.Argument class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::get_Current() + IL_02ed: stloc.s 6 + IL_02ef: nop + IL_02f0: ldloc.s 6 + IL_02f2: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_IfDefined() + IL_02f7: brfalse IL_038c - IL_0028: ret - } // end of method AssemblyAttributeCollection::AddRange + IL_02fc: ldloc.s 6 + IL_02fe: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_UnlessDefined() + IL_0303: brtrue IL_038c - // method line 147 - .method public hidebysig - instance default bool Contains (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed - { - // Method begins at RVA 0x35cc - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0308: nop + IL_0309: ldloc.s 6 + IL_030b: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Argument::get_Value() + IL_0310: stloc.s 8 + IL_0312: ldloc.s 8 + IL_0314: brfalse IL_038b - IL_0013: ldloc.0 - IL_0014: ret - } // end of method AssemblyAttributeCollection::Contains + IL_0319: ldloc.s 8 + IL_031b: ldstr "/res:" + IL_0320: callvirt instance bool string::StartsWith(string) + IL_0325: brtrue IL_033b - // method line 148 - .method public hidebysig - instance default bool Contains (string 'value') cil managed - { - // Method begins at RVA 0x35f0 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.DotNet.Types.AssemblyAttribute class NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_032a: ldloc.s 8 + IL_032c: ldstr "/resource:" + IL_0331: callvirt instance bool string::StartsWith(string) + IL_0336: brfalse IL_038b - IL_0014: ldloc.0 - IL_0015: ret - } // end of method AssemblyAttributeCollection::Contains + IL_033b: nop + IL_033c: ldloc.s 8 + IL_033e: ldloc.s 8 + IL_0340: ldc.i4.s 0x3a + IL_0342: callvirt instance int32 string::IndexOf(char) + IL_0347: ldc.i4.1 + IL_0348: add + IL_0349: callvirt instance string string::Substring(int32) + IL_034e: stloc.s 9 + IL_0350: ldloc.s 9 + IL_0352: ldc.i4.s 0x2c + IL_0354: callvirt instance int32 string::IndexOf(char) + IL_0359: stloc.s 10 + IL_035b: ldloc.s 10 + IL_035d: ldc.i4.m1 + IL_035e: beq IL_0371 - // method line 149 - .method public hidebysig - instance default void CopyTo (class NAnt.DotNet.Types.AssemblyAttribute[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x3612 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method AssemblyAttributeCollection::CopyTo + IL_0363: nop + IL_0364: ldloc.s 9 + IL_0366: ldc.i4.0 + IL_0367: ldloc.s 10 + IL_0369: callvirt instance string string::Substring(int32, int32) + IL_036e: stloc.s 9 + IL_0370: nop + IL_0371: ldarg.0 + IL_0372: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0377: ldloc.s 9 + IL_0379: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) + IL_037e: stloc.s 9 + IL_0380: ldloc.s 5 + IL_0382: ldloc.s 9 + IL_0384: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0389: pop + IL_038a: nop + IL_038b: nop + IL_038c: nop + IL_038d: ldloc.s 7 + IL_038f: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::MoveNext() + IL_0394: brtrue IL_02e6 - // method line 150 - .method public hidebysig - instance default int32 IndexOf (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed - { - // Method begins at RVA 0x3624 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0399: leave IL_03b5 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method AssemblyAttributeCollection::IndexOf + } // end .try 1 + finally { // 1 + IL_039e: ldloc.s 7 + IL_03a0: isinst [mscorlib]System.IDisposable + IL_03a5: dup + IL_03a6: stloc.s 11 + IL_03a8: brfalse IL_03b4 - // method line 151 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.DotNet.Types.AssemblyAttribute item) cil managed - { - // Method begins at RVA 0x3645 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method AssemblyAttributeCollection::Insert + IL_03ad: ldloc.s 11 + IL_03af: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_03b4: endfinally + } // end handler 1 + IL_03b5: ldloc.s 5 + IL_03b7: ldarg.0 + IL_03b8: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_03bd: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_03c2: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_03c7: stloc.1 + IL_03c8: ldloc.1 + IL_03c9: brfalse IL_03f5 - // method line 152 - .method public hidebysig - instance default class NAnt.DotNet.Types.AssemblyAttributeEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x3658 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.AssemblyAttributeEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.DotNet.Types.AssemblyAttributeEnumerator::'.ctor'(class NAnt.DotNet.Types.AssemblyAttributeCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_03ce: nop + IL_03cf: ldarg.0 + IL_03d0: ldc.i4 2000 + IL_03d5: ldstr "String_FileHasBeenUpdated" + IL_03da: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03df: ldc.i4.1 + IL_03e0: newarr [mscorlib]System.Object + IL_03e5: dup + IL_03e6: ldc.i4.0 + IL_03e7: ldloc.1 + IL_03e8: stelem.ref + IL_03e9: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_03ee: ldc.i4.1 + IL_03ef: stloc.0 + IL_03f0: br IL_03fc - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyAttributeCollection::GetEnumerator + IL_03f5: ldc.i4.0 + IL_03f6: stloc.0 + IL_03f7: br IL_03fc - // method line 153 - .method public hidebysig - instance default void Remove (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed + IL_03fc: ldloc.0 + IL_03fd: ret + } // end of method CompilerBase::NeedsCompiling + + // method line 71 + .method family virtual hidebysig newslot + instance default class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage GetResourceLinkage (string dependentFile, class [mscorlib]System.Globalization.CultureInfo resourceCulture) cil managed { - // Method begins at RVA 0x3673 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x3d70 + // Code size 211 (0xd3) + .maxstack 7 + .locals init ( + class [mscorlib]System.IO.StreamReader V_0, + class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_1, + class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method AssemblyAttributeCollection::Remove + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: ldarg.1 + IL_0006: brtrue IL_0013 - .property instance class NAnt.DotNet.Types.AssemblyAttribute Item (int32) - { - .get instance default class NAnt.DotNet.Types.AssemblyAttribute NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.AssemblyAttributeCollection::set_Item (int32 index, class NAnt.DotNet.Types.AssemblyAttribute 'value') - } - .property instance class NAnt.DotNet.Types.AssemblyAttribute Item (string) - { - .get instance default class NAnt.DotNet.Types.AssemblyAttribute NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item (string 'value') - } - } // end of class NAnt.DotNet.Types.AssemblyAttributeCollection -} + IL_000b: nop + IL_000c: ldnull + IL_000d: stloc.2 + IL_000e: br IL_00d1 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit AssemblyAttributeEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + .try { // 1 + .try { // 0 + IL_0013: nop + IL_0014: ldarg.1 + IL_0015: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_001a: ldc.i4.1 + IL_001b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_0020: stloc.0 + IL_0021: ldarg.0 + IL_0022: ldloc.0 + IL_0023: callvirt instance class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage class NAnt.DotNet.Tasks.CompilerBase::PerformSearchForResourceLinkage(class [mscorlib]System.IO.TextReader) + IL_0028: stloc.1 + IL_0029: ldloc.1 + IL_002a: ldarg.2 + IL_002b: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_Culture(class [mscorlib]System.Globalization.CultureInfo) + IL_0030: nop + IL_0031: leave IL_006f - // method line 154 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyAttributeCollection arguments) cil managed - { - // Method begins at RVA 0x3684 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator - IL_0015: ret - } // end of method AssemblyAttributeEnumerator::.ctor - - // method line 155 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyAttribute get_Current () cil managed - { - // Method begins at RVA 0x36a8 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.AssemblyAttribute V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.DotNet.Types.AssemblyAttribute - IL_0011: stloc.0 - IL_0012: br IL_0017 + } // end .try 0 + catch class [mscorlib]System.IO.FileNotFoundException { // 0 + IL_0036: pop + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldc.i4 1000 + IL_003e: ldstr "String_DependentFileNotFound" + IL_0043: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0048: ldc.i4.1 + IL_0049: newarr [mscorlib]System.Object + IL_004e: dup + IL_004f: ldc.i4.0 + IL_0050: ldarg.1 + IL_0051: stelem.ref + IL_0052: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0057: ldnull + IL_0058: stloc.2 + IL_0059: leave IL_00d1 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method AssemblyAttributeEnumerator::get_Current + } // end handler 0 + } // end .try 1 + finally { // 1 + IL_005e: nop + IL_005f: ldloc.0 + IL_0060: brfalse IL_006d - // method line 156 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x36d0 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0065: nop + IL_0066: ldloc.0 + IL_0067: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_006c: nop + IL_006d: nop + IL_006e: endfinally + } // end handler 1 + IL_006f: ldloc.1 + IL_0070: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() + IL_0075: brfalse IL_00a9 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method AssemblyAttributeEnumerator::System.Collections.IEnumerator.get_Current + IL_007a: nop + IL_007b: ldarg.0 + IL_007c: ldc.i4 1000 + IL_0081: ldstr "String_FoundResourceLinkageInDependentFile" + IL_0086: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_008b: ldc.i4.2 + IL_008c: newarr [mscorlib]System.Object + IL_0091: dup + IL_0092: ldc.i4.0 + IL_0093: ldloc.1 + IL_0094: callvirt instance string object::ToString() + IL_0099: stelem.ref + IL_009a: dup + IL_009b: ldc.i4.1 + IL_009c: ldarg.1 + IL_009d: stelem.ref + IL_009e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a3: nop + IL_00a4: br IL_00ca - // method line 157 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x36f0 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00a9: nop + IL_00aa: ldarg.0 + IL_00ab: ldc.i4 1000 + IL_00b0: ldstr "String_ResourceLinkageInDependentFileNotFound" + IL_00b5: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00ba: ldc.i4.1 + IL_00bb: newarr [mscorlib]System.Object + IL_00c0: dup + IL_00c1: ldc.i4.0 + IL_00c2: ldarg.1 + IL_00c3: stelem.ref + IL_00c4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00c9: nop + IL_00ca: ldloc.1 + IL_00cb: stloc.2 + IL_00cc: br IL_00d1 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method AssemblyAttributeEnumerator::MoveNext + IL_00d1: ldloc.2 + IL_00d2: ret + } // end of method CompilerBase::GetResourceLinkage - // method line 158 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 72 + .method family hidebysig + instance default void LinkResourceAssembly (class [mscorlib]System.Collections.Hashtable resourceFiles, class [mscorlib]System.IO.FileInfo resourceAssemblyFile, string culture) cil managed { - // Method begins at RVA 0x3710 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x3e6c + // Code size 262 (0x106) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.DotNet.Tasks.AssemblyLinkerTask V_0, + string V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + string V_3, + class NAnt.DotNet.Types.EmbeddedResource V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: newobj instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_001f: ldloc.0 + IL_0020: ldarg.0 + IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0026: ldloc.0 + IL_0027: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_002c: ldloc.0 + IL_002d: ldarg.2 + IL_002e: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_0033: ldloc.0 + IL_0034: ldarg.3 + IL_0035: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Culture(string) + IL_003a: ldloc.0 + IL_003b: ldstr "lib" + IL_0040: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputTarget(string) + IL_0045: ldloc.0 + IL_0046: ldarg.0 + IL_0047: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() + IL_004c: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_TemplateFile(class [mscorlib]System.IO.FileInfo) + IL_0051: ldloc.0 + IL_0052: ldarg.0 + IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() + IL_0058: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyFile(class [mscorlib]System.IO.FileInfo) + IL_005d: ldloc.0 + IL_005e: ldarg.0 + IL_005f: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() + IL_0064: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyContainer(string) + IL_0069: ldloc.0 + IL_006a: ldarg.0 + IL_006b: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() + IL_0070: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_DelaySign(valuetype NAnt.DotNet.Types.DelaySign) + IL_0075: nop + IL_0076: ldarg.1 + IL_0077: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_007c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0081: stloc.2 + .try { // 0 + IL_0082: br IL_00b9 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method AssemblyAttributeEnumerator::System.Collections.IEnumerator.MoveNext + IL_0087: ldloc.2 + IL_0088: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_008d: castclass [mscorlib]System.String + IL_0092: stloc.1 + IL_0093: nop + IL_0094: ldarg.1 + IL_0095: ldloc.1 + IL_0096: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_009b: castclass [mscorlib]System.String + IL_00a0: stloc.3 + IL_00a1: ldloc.3 + IL_00a2: ldloc.1 + IL_00a3: newobj instance void class NAnt.DotNet.Types.EmbeddedResource::'.ctor'(string, string) + IL_00a8: stloc.s 4 + IL_00aa: ldloc.0 + IL_00ab: callvirt instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() + IL_00b0: ldloc.s 4 + IL_00b2: callvirt instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class NAnt.DotNet.Types.EmbeddedResource) + IL_00b7: pop + IL_00b8: nop + IL_00b9: ldloc.2 + IL_00ba: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00bf: brtrue IL_0087 - // method line 159 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x3730 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method AssemblyAttributeEnumerator::Reset + IL_00c4: leave IL_00df - // method line 160 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x373e - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method AssemblyAttributeEnumerator::System.Collections.IEnumerator.Reset - - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.DotNet.Types.AssemblyAttributeEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.DotNet.Types.AssemblyAttribute Current () - { - .get instance default class NAnt.DotNet.Types.AssemblyAttribute NAnt.DotNet.Types.AssemblyAttributeEnumerator::get_Current () - } - } // end of class NAnt.DotNet.Types.AssemblyAttributeEnumerator -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi sealed DebugOutput - extends [mscorlib]System.Enum - { - .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 26 4E 41 6E 74 2E 44 6F 74 4E 65 74 2E 54 // ..&NAnt.DotNet.T - 79 70 65 73 2E 44 65 62 75 67 4F 75 74 70 75 74 // ypes.DebugOutput - 43 6F 6E 76 65 72 74 65 72 00 00 ) // Converter.. - - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.DotNet.Types.DebugOutput None = int32(0x00000000) - .field public static literal valuetype NAnt.DotNet.Types.DebugOutput Enable = int32(0x00000001) - .field public static literal valuetype NAnt.DotNet.Types.DebugOutput Full = int32(0x00000002) - .field public static literal valuetype NAnt.DotNet.Types.DebugOutput PdbOnly = int32(0x00000003) - - } // end of class NAnt.DotNet.Types.DebugOutput -} + } // end .try 0 + finally { // 0 + IL_00c9: ldloc.2 + IL_00ca: isinst [mscorlib]System.IDisposable + IL_00cf: dup + IL_00d0: stloc.s 5 + IL_00d2: brfalse IL_00de -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit DebugOutputConverter - extends [System]System.ComponentModel.EnumConverter - { + IL_00d7: ldloc.s 5 + IL_00d9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00de: endfinally + } // end handler 0 + IL_00df: ldarg.0 + IL_00e0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00e5: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 1 + IL_00ea: nop + IL_00eb: ldloc.0 + IL_00ec: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_00f1: nop + IL_00f2: leave IL_0105 - // method line 161 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x374c - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldtoken NAnt.DotNet.Types.DebugOutput - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) - IL_0010: nop - IL_0011: ret - } // end of method DebugOutputConverter::.ctor + } // end .try 1 + finally { // 1 + IL_00f7: nop + IL_00f8: ldarg.0 + IL_00f9: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00fe: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0103: nop + IL_0104: endfinally + } // end handler 1 + IL_0105: ret + } // end of method CompilerBase::LinkResourceAssembly - // method line 162 - .method public virtual hidebysig - instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + // method line 73 + .method family hidebysig + instance default void CompileResxResources (class [System]System.Collections.Specialized.StringCollection resxFiles) cil managed { - // Method begins at RVA 0x3760 - // Code size 115 (0x73) - .maxstack 4 + // Method begins at RVA 0x3f9c + // Code size 375 (0x177) + .maxstack 2 .locals init ( - string V_0, - object V_1) + class NAnt.DotNet.Tasks.ResGenTask V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: isinst [mscorlib]System.String - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_0062 - - IL_000e: nop - IL_000f: ldloc.0 - IL_0010: ldstr "true" - IL_0015: ldc.i4.1 - IL_0016: ldarg.2 - IL_0017: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_001c: brtrue IL_002d - - IL_0021: ldc.i4.1 - IL_0022: box NAnt.DotNet.Types.DebugOutput - IL_0027: stloc.1 - IL_0028: br IL_0071 - - IL_002d: ldloc.0 - IL_002e: ldstr "false" - IL_0033: ldc.i4.1 - IL_0034: ldarg.2 - IL_0035: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_003a: brtrue IL_004b - - IL_003f: ldc.i4.0 - IL_0040: box NAnt.DotNet.Types.DebugOutput - IL_0045: stloc.1 - IL_0046: br IL_0071 - - IL_004b: ldtoken NAnt.DotNet.Types.DebugOutput - IL_0050: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0001: newobj instance void class NAnt.DotNet.Tasks.ResGenTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_001f: ldloc.0 + IL_0020: ldarg.0 + IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0026: ldloc.0 + IL_0027: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_002c: ldloc.0 + IL_002d: ldarg.0 + IL_002e: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0033: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0038: ldloc.0 + IL_0039: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_003e: ldloc.0 + IL_003f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0044: ldloc.0 + IL_0045: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_004a: ldloc.0 + IL_004b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0050: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) IL_0055: ldloc.0 - IL_0056: ldc.i4.1 - IL_0057: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_005c: stloc.1 - IL_005d: br IL_0071 - - IL_0062: ldarg.0 - IL_0063: ldarg.1 - IL_0064: ldarg.2 - IL_0065: ldarg.3 - IL_0066: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) - IL_006b: stloc.1 - IL_006c: br IL_0071 + IL_0056: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_005b: ldloc.0 + IL_005c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0061: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0066: ldloc.0 + IL_0067: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_006c: ldarg.0 + IL_006d: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_0072: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_007c: ldloc.0 + IL_007d: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_0082: ldarg.0 + IL_0083: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_0088: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_008d: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0092: ldloc.0 + IL_0093: callvirt instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences() + IL_0098: brfalse IL_00a6 - IL_0071: ldloc.1 - IL_0072: ret - } // end of method DebugOutputConverter::ConvertFrom + IL_009d: nop + IL_009e: ldloc.0 + IL_009f: ldc.i4.1 + IL_00a0: callvirt instance void class NAnt.DotNet.Tasks.ResGenTask::set_UseSourcePath(bool) + IL_00a5: nop + IL_00a6: nop + IL_00a7: ldarg.0 + IL_00a8: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() + IL_00ad: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00b2: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00b7: stloc.2 + .try { // 0 + IL_00b8: br IL_00d8 - } // end of class NAnt.DotNet.Types.DebugOutputConverter -} + IL_00bd: ldloc.2 + IL_00be: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00c3: stloc.1 + IL_00c4: nop + IL_00c5: ldloc.0 + IL_00c6: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_00cb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_00d0: ldloc.1 + IL_00d1: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00d6: pop + IL_00d7: nop + IL_00d8: ldloc.2 + IL_00d9: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00de: brtrue IL_00bd -.namespace NAnt.DotNet.Types -{ - .class public auto ansi sealed DelaySign - extends [mscorlib]System.Enum - { - .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 24 4E 41 6E 74 2E 44 6F 74 4E 65 74 2E 54 // ..$NAnt.DotNet.T - 79 70 65 73 2E 44 65 6C 61 79 53 69 67 6E 43 6F // ypes.DelaySignCo - 6E 76 65 72 74 65 72 00 00 ) // nverter.. + IL_00e3: leave IL_00fc - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.DotNet.Types.DelaySign NotSet = int32(0x00000000) - .field public static literal valuetype NAnt.DotNet.Types.DelaySign No = int32(0x00000001) - .field public static literal valuetype NAnt.DotNet.Types.DelaySign Yes = int32(0x00000002) + } // end .try 0 + finally { // 0 + IL_00e8: ldloc.2 + IL_00e9: isinst [mscorlib]System.IDisposable + IL_00ee: dup + IL_00ef: stloc.3 + IL_00f0: brfalse IL_00fb - } // end of class NAnt.DotNet.Types.DelaySign -} + IL_00f5: ldloc.3 + IL_00f6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00fb: endfinally + } // end handler 0 + IL_00fc: nop + IL_00fd: ldarg.1 + IL_00fe: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0103: stloc.s 5 + .try { // 1 + IL_0105: br IL_0128 -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit DelaySignConverter - extends [System]System.ComponentModel.EnumConverter - { + IL_010a: ldloc.s 5 + IL_010c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0111: stloc.s 4 + IL_0113: nop + IL_0114: ldloc.0 + IL_0115: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_011a: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_011f: ldloc.s 4 + IL_0121: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0126: pop + IL_0127: nop + IL_0128: ldloc.s 5 + IL_012a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_012f: brtrue IL_010a - // method line 163 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x37df - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldtoken NAnt.DotNet.Types.DelaySign - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) - IL_0010: nop - IL_0011: ret - } // end of method DelaySignConverter::.ctor + IL_0134: leave IL_0150 - // method line 164 - .method public virtual hidebysig - instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + } // end .try 1 + finally { // 1 + IL_0139: ldloc.s 5 + IL_013b: isinst [mscorlib]System.IDisposable + IL_0140: dup + IL_0141: stloc.s 6 + IL_0143: brfalse IL_014f + + IL_0148: ldloc.s 6 + IL_014a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_014f: endfinally + } // end handler 1 + IL_0150: ldarg.0 + IL_0151: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0156: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 2 + IL_015b: nop + IL_015c: ldloc.0 + IL_015d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0162: nop + IL_0163: leave IL_0176 + + } // end .try 2 + finally { // 2 + IL_0168: nop + IL_0169: ldarg.0 + IL_016a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_016f: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0174: nop + IL_0175: endfinally + } // end handler 2 + IL_0176: ret + } // end of method CompilerBase::CompileResxResources + + // method line 74 + .method public static hidebysig + default class [mscorlib]System.Globalization.CultureInfo GetResourceCulture (string resourceFile, string dependentFile) cil managed { - // Method begins at RVA 0x37f4 - // Code size 115 (0x73) - .maxstack 4 + // Method begins at RVA 0x4148 + // Code size 140 (0x8c) + .maxstack 5 .locals init ( string V_0, - object V_1) + class [mscorlib]System.Globalization.CultureInfo V_1, + int32 V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: isinst [mscorlib]System.String + IL_0001: ldarg.0 + IL_0002: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_0062 + IL_0008: ldarg.1 + IL_0009: brfalse IL_0034 - IL_000e: nop - IL_000f: ldloc.0 - IL_0010: ldstr "true" - IL_0015: ldc.i4.1 - IL_0016: ldarg.2 - IL_0017: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_001c: brtrue IL_002d + IL_000e: ldarg.1 + IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0014: brfalse IL_0034 - IL_0021: ldc.i4.2 - IL_0022: box NAnt.DotNet.Types.DelaySign - IL_0027: stloc.1 - IL_0028: br IL_0071 + IL_0019: nop + IL_001a: ldarg.1 + IL_001b: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0020: ldloc.0 + IL_0021: call bool string::op_Equality(string, string) + IL_0026: brfalse IL_0033 - IL_002d: ldloc.0 - IL_002e: ldstr "false" - IL_0033: ldc.i4.1 - IL_0034: ldarg.2 - IL_0035: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_003a: brtrue IL_004b + IL_002b: nop + IL_002c: ldnull + IL_002d: stloc.1 + IL_002e: br IL_008a - IL_003f: ldc.i4.1 - IL_0040: box NAnt.DotNet.Types.DelaySign - IL_0045: stloc.1 - IL_0046: br IL_0071 + IL_0033: nop + IL_0034: ldloc.0 + IL_0035: ldc.i4.s 0x2e + IL_0037: callvirt instance int32 string::LastIndexOf(char) + IL_003c: stloc.2 + IL_003d: ldloc.2 + IL_003e: ldc.i4.0 + IL_003f: blt IL_0083 - IL_004b: ldtoken NAnt.DotNet.Types.DelaySign - IL_0050: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0055: ldloc.0 - IL_0056: ldc.i4.1 - IL_0057: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_005c: stloc.1 - IL_005d: br IL_0071 + IL_0044: ldloc.2 + IL_0045: ldloc.0 + IL_0046: callvirt instance int32 string::get_Length() + IL_004b: bgt IL_0083 - IL_0062: ldarg.0 - IL_0063: ldarg.1 - IL_0064: ldarg.2 - IL_0065: ldarg.3 - IL_0066: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) - IL_006b: stloc.1 - IL_006c: br IL_0071 + IL_0050: nop + IL_0051: ldloc.0 + IL_0052: ldloc.2 + IL_0053: ldc.i4.1 + IL_0054: add + IL_0055: ldloc.0 + IL_0056: callvirt instance int32 string::get_Length() + IL_005b: ldloc.2 + IL_005c: ldc.i4.1 + IL_005d: add + IL_005e: sub + IL_005f: callvirt instance string string::Substring(int32, int32) + IL_0064: stloc.3 + IL_0065: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.DotNet.Tasks.CompilerBase::CultureNames + IL_006a: ldloc.3 + IL_006b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0070: brfalse IL_0082 - IL_0071: ldloc.1 - IL_0072: ret - } // end of method DelaySignConverter::ConvertFrom + IL_0075: nop + IL_0076: ldloc.3 + IL_0077: newobj instance void class [mscorlib]System.Globalization.CultureInfo::'.ctor'(string) + IL_007c: stloc.1 + IL_007d: br IL_008a - } // end of class NAnt.DotNet.Types.DelaySignConverter -} + IL_0082: nop + IL_0083: ldnull + IL_0084: stloc.1 + IL_0085: br IL_008a -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit AssemblyAttribute - extends [NAnt.Core]NAnt.Core.Element - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 61 74 74 72 69 62 75 74 65 00 00 ) // ...attribute.. + IL_008a: ldloc.1 + IL_008b: ret + } // end of method CompilerBase::GetResourceCulture - .field private string _typeName - .field private string _value - .field private bool _asIs - .field private bool _ifDefined - .field private bool _unlessDefined + .property instance bool Debug () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. - // method line 165 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x3873 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method AssemblyAttribute::.ctor + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 166 - .method public hidebysig specialname - instance default string get_TypeName () cil managed - { - // Method begins at RVA 0x3884 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.AssemblyAttribute::_typeName - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_Debug () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Debug (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyAttribute::get_TypeName + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_OutputFile () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string OutputTarget () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re + 71 75 69 72 65 64 01 ) // quired. - // method line 167 - .method public hidebysig specialname - instance default void set_TypeName (string 'value') cil managed - { - // Method begins at RVA 0x389f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Types.AssemblyAttribute::_typeName - IL_000d: ret - } // end of method AssemblyAttribute::set_TypeName + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - // method line 168 - .method public hidebysig specialname - instance default string get_Value () cil managed - { - // Method begins at RVA 0x38b0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.AssemblyAttribute::_value - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_OutputTarget () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_OutputTarget (string 'value') + } + .property instance string Define () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 64 65 66 69 6E 65 00 00 ) // ...define.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyAttribute::get_Value + .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_Define () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Define (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo Win32Icon () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 77 69 6E 33 32 69 63 6F 6E 00 00 ) // ...win32icon.. - // method line 169 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed - { - // Method begins at RVA 0x38cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Types.AssemblyAttribute::_value - IL_0008: ret - } // end of method AssemblyAttribute::set_Value + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo Win32Res () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 77 69 6E 33 32 72 65 73 00 00 ) // ...win32res.. - // method line 170 - .method public hidebysig specialname - instance default bool get_AsIs () cil managed - { - // Method begins at RVA 0x38d8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.AssemblyAttribute::_asIs - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_Win32Res () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance bool WarnAsError () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 77 61 72 6E 61 73 65 72 72 6F 72 00 00 ) // ...warnaserror.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyAttribute::get_AsIs + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 171 - .method public hidebysig specialname - instance default void set_AsIs (bool 'value') cil managed - { - // Method begins at RVA 0x38f3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_asIs - IL_0008: ret - } // end of method AssemblyAttribute::set_AsIs + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_WarnAsError () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_WarnAsError (bool 'value') + } + .property instance class NAnt.DotNet.Types.WarningAsError WarningAsError () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 77 61 72 6E 61 73 65 72 72 6F 72 00 00 ) // ...warnaserror.. - // method line 172 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x3900 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.AssemblyAttribute::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError () + } + .property instance string NoWarn () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6E 6F 77 61 72 6E 00 00 ) // ...nowarn.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyAttribute::get_IfDefined + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 21 55 73 65 20 74 68 65 20 3C 6E 6F 77 61 // ..!Use the element inst + 65 61 64 2E 00 00 00 ) // ead.... - // method line 173 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x391b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_ifDefined - IL_0008: ret - } // end of method AssemblyAttribute::set_IfDefined + .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_NoWarn () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_NoWarn (string 'value') + } + .property instance class NAnt.DotNet.Types.CompilerWarningCollection SuppressWarnings () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 06 6E 6F 77 61 72 6E 07 77 61 72 6E 69 6E // ...nowarn.warnin + 67 00 00 ) // g.. - // method line 174 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x3928 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.AssemblyAttribute::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.CompilerBase::get_SuppressWarnings () + } + .property instance bool ForceRebuild () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 62 75 69 6C 64 00 00 ) // ...rebuild.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyAttribute::get_UnlessDefined + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 175 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x3943 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_unlessDefined - IL_0008: ret - } // end of method AssemblyAttribute::set_UnlessDefined + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_ForceRebuild () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_ForceRebuild (bool 'value') + } + .property instance string MainType () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6D 61 69 6E 00 00 ) // ...main.. - .property instance string TypeName () + .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_MainType () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_MainType (string 'value') + } + .property instance string KeyContainer () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 74 79 70 65 01 00 54 02 08 52 65 71 75 // ...type..T..Requ - 69 72 65 64 01 ) // ired. + 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. + 00 ) // . - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_KeyContainer (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo KeyFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. - .get instance default string NAnt.DotNet.Types.AssemblyAttribute::get_TypeName () - .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_TypeName (string 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_KeyFile () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string Value () + .property instance valuetype NAnt.DotNet.Types.DelaySign DelaySign () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 65 6C 61 79 73 69 67 6E 00 00 ) // ...delaysign.. - .get instance default string NAnt.DotNet.Types.AssemblyAttribute::get_Value () - .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_Value (string 'value') + .get instance default valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::get_DelaySign () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') } - .property instance bool AsIs () + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Lib () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 61 73 69 73 00 00 ) // ...asis.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 03 6C 69 62 00 00 ) // ...lib.. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 3C 55 73 65 20 74 68 65 20 3C 6C 69 62 3E // .. + 20 65 6C 65 6D 65 6E 74 20 69 6E 20 3C 72 65 66 // element in and instead.. + 00 00 ) // .. - .get instance default bool NAnt.DotNet.Types.AssemblyAttribute::get_AsIs () - .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_AsIs (bool 'value') + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::get_Lib () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Lib (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') } - .property instance bool IfDefined () + .property instance class NAnt.DotNet.Types.AssemblyFileSet References () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::get_References () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance class NAnt.DotNet.Types.PackageCollection Packages () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 0E 70 6B 67 2D 72 65 66 65 72 65 6E 63 65 // ...pkg-reference + 73 07 70 61 63 6B 61 67 65 00 00 ) // s.package.. - .get instance default bool NAnt.DotNet.Types.AssemblyAttribute::get_IfDefined () - .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_IfDefined (bool 'value') + .get instance default class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::get_Packages () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') } - .property instance bool UnlessDefined () + .property instance class NAnt.DotNet.Types.ResourceFileSetCollection ResourcesList () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 09 72 65 73 6F 75 72 63 65 73 00 00 ) // ...resources.. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .get instance default class NAnt.DotNet.Types.ResourceFileSetCollection NAnt.DotNet.Tasks.CompilerBase::get_ResourcesList () + } + .property instance class NAnt.DotNet.Types.AssemblyFileSet Modules () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6D 6F 64 75 6C 65 73 00 00 ) // ...modules.. - .get instance default bool NAnt.DotNet.Types.AssemblyAttribute::get_UnlessDefined () - .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_UnlessDefined (bool 'value') + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::get_Modules () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') } - } // end of class NAnt.DotNet.Types.AssemblyAttribute -} + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 07 73 6F 75 72 63 65 73 01 00 54 02 08 52 // ...sources..T..R + 65 71 75 69 72 65 64 01 ) // equired. -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit NamespaceImport - extends [NAnt.Core]NAnt.Core.Element - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 06 69 6D 70 6F 72 74 00 00 ) // ...import.. + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::get_Sources () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance bool SupportsPackageReferences () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 19 73 75 70 70 6F 72 74 73 70 61 63 6B 61 // ...supportspacka + 67 65 72 65 66 65 72 65 6E 63 65 73 00 00 ) // gereferences.. - .field private string _namespace - .field private bool _ifDefined - .field private bool _unlessDefined + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsPackageReferences () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsPackageReferences (bool 'value') + } + .property instance bool SupportsWarnAsErrorList () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 17 73 75 70 70 6F 72 74 73 77 61 72 6E 61 // ...supportswarna + 73 65 72 72 6F 72 6C 69 73 74 00 00 ) // serrorlist.. - // method line 176 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x394d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method NamespaceImport::.ctor + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsWarnAsErrorList () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsWarnAsErrorList (bool 'value') + } + .property instance bool SupportsNoWarnList () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 12 73 75 70 70 6F 72 74 73 6E 6F 77 61 72 // ...supportsnowar + 6E 6C 69 73 74 00 00 ) // nlist.. - // method line 177 + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsNoWarnList () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsNoWarnList (bool 'value') + } + .property instance bool SupportsKeyContainer () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 14 73 75 70 70 6F 72 74 73 6B 65 79 63 6F // ...supportskeyco + 6E 74 61 69 6E 65 72 00 00 ) // ntainer.. + + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyContainer () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsKeyContainer (bool 'value') + } + .property instance bool SupportsKeyFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 0F 73 75 70 70 6F 72 74 73 6B 65 79 66 69 // ...supportskeyfi + 6C 65 00 00 ) // le.. + + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyFile () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsKeyFile (bool 'value') + } + .property instance bool SupportsDelaySign () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 11 73 75 70 70 6F 72 74 73 64 65 6C 61 79 // ...supportsdelay + 73 69 67 6E 00 00 ) // sign.. + + .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsDelaySign () + .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsDelaySign (bool 'value') + } + .property instance string Extension () + { + .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_Extension () + } + .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CompilerBase::get_ClassNameRegex () + } + .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CompilerBase::get_NamespaceRegex () + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_ProgramArguments () + } + .class nested public auto ansi beforefieldinit ResourceLinkage + extends [mscorlib]System.Object + { + .field private string _namespaceName + .field private string _className + .field private class [mscorlib]System.Globalization.CultureInfo _culture + + // method line 75 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string nameSpace) cil managed + instance default void '.ctor' (string namespaceName, string className) cil managed { - // Method begins at RVA 0x395d - // Code size 40 (0x28) + // Method begins at RVA 0x41e0 + // Code size 22 (0x16) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined + IL_0001: call instance void object::'.ctor'() + IL_0006: nop IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: brtrue IL_0020 - - IL_0014: nop - IL_0015: ldstr "nameSpace" - IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001f: throw - IL_0020: ldarg.0 - IL_0021: ldarg.1 - IL_0022: stfld string NAnt.DotNet.Types.NamespaceImport::_namespace - IL_0027: ret - } // end of method NamespaceImport::.ctor + IL_0008: ldarg.1 + IL_0009: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className + IL_0015: ret + } // end of method ResourceLinkage::.ctor - // method line 178 - .method public hidebysig specialname - instance default string get_TempName () cil managed + // method line 76 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x3988 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x41f8 + // Code size 146 (0x92) + .maxstack 3 .locals init ( - string V_0) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() + IL_0007: brtrue IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NamespaceImport::get_TempName + IL_000c: nop + IL_000d: ldsfld string [mscorlib]System.String::Empty + IL_0012: stloc.1 + IL_0013: br IL_0090 - // method line 179 - .method public hidebysig specialname - instance default void set_TempName (string 'value') cil managed - { - // Method begins at RVA 0x39a3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.NamespaceImport::set_Namespace(string) - IL_0008: ret - } // end of method NamespaceImport::set_TempName + IL_0018: ldarg.0 + IL_0019: call instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasNamespaceName() + IL_001e: brfalse IL_005c - // method line 180 + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: call instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasClassName() + IL_002a: brfalse IL_004d + + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName() + IL_0036: ldstr "." + IL_003b: ldarg.0 + IL_003c: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_ClassName() + IL_0041: call string string::Concat(string, string, string) + IL_0046: stloc.0 + IL_0047: nop + IL_0048: br IL_0056 + + IL_004d: nop + IL_004e: ldarg.0 + IL_004f: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName() + IL_0054: stloc.0 + IL_0055: nop + IL_0056: nop + IL_0057: br IL_0065 + + IL_005c: nop + IL_005d: ldarg.0 + IL_005e: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_ClassName() + IL_0063: stloc.0 + IL_0064: nop + IL_0065: ldarg.0 + IL_0066: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_Culture() + IL_006b: brfalse IL_0089 + + IL_0070: nop + IL_0071: ldstr "{0}.{1}" + IL_0076: ldloc.0 + IL_0077: ldarg.0 + IL_0078: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_Culture() + IL_007d: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_0082: call string string::Format(string, object, object) + IL_0087: stloc.0 + IL_0088: nop + IL_0089: ldloc.0 + IL_008a: stloc.1 + IL_008b: br IL_0090 + + IL_0090: ldloc.1 + IL_0091: ret + } // end of method ResourceLinkage::ToString + + // method line 77 .method public hidebysig specialname - instance default string get_Namespace () cil managed + instance default bool get_IsValid () cil managed { - // Method begins at RVA 0x39b0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4298 + // Code size 42 (0x2a) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.NamespaceImport::_namespace - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: brfalse IL_0021 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NamespaceImport::get_Namespace + IL_0011: ldarg.0 + IL_0012: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className + IL_0017: call bool string::IsNullOrEmpty(string) + IL_001c: ldc.i4.0 + IL_001d: ceq + IL_001f: br.s IL_0022 - // method line 181 + IL_0021: ldc.i4.1 + IL_0022: stloc.0 + IL_0023: br IL_0028 + + IL_0028: ldloc.0 + IL_0029: ret + } // end of method ResourceLinkage::get_IsValid + + // method line 78 .method public hidebysig specialname - instance default void set_Namespace (string 'value') cil managed + instance default bool get_HasNamespaceName () cil managed { - // Method begins at RVA 0x39cb - // Code size 14 (0xe) + // Method begins at RVA 0x42d0 + // Code size 23 (0x17) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 + + IL_0015: ldloc.0 + IL_0016: ret + } // end of method ResourceLinkage::get_HasNamespaceName + + // method line 79 + .method public hidebysig specialname + instance default bool get_HasClassName () cil managed + { + // Method begins at RVA 0x42f4 + // Code size 23 (0x17) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 + + IL_0015: ldloc.0 + IL_0016: ret + } // end of method ResourceLinkage::get_HasClassName + + // method line 80 + .method public hidebysig specialname + instance default string get_NamespaceName () cil managed + { + // Method begins at RVA 0x4318 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResourceLinkage::get_NamespaceName + + // method line 81 + .method public hidebysig specialname + instance default void set_NamespaceName (string 'value') cil managed + { + // Method begins at RVA 0x4333 + // Code size 26 (0x1a) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: callvirt instance string string::Trim() - IL_0008: stfld string NAnt.DotNet.Types.NamespaceImport::_namespace - IL_000d: ret - } // end of method NamespaceImport::set_Namespace + IL_0003: brfalse IL_0013 - // method line 182 + IL_0008: ldarg.1 + IL_0009: callvirt instance string string::Trim() + IL_000e: br IL_0014 + + IL_0013: ldnull + IL_0014: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName + IL_0019: ret + } // end of method ResourceLinkage::set_NamespaceName + + // method line 82 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default string get_ClassName () cil managed { - // Method begins at RVA 0x39dc + // Method begins at RVA 0x4350 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined + IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NamespaceImport::get_IfDefined + } // end of method ResourceLinkage::get_ClassName - // method line 183 + // method line 83 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_ClassName (string 'value') cil managed { - // Method begins at RVA 0x39f7 - // Code size 9 (0x9) + // Method begins at RVA 0x436b + // Code size 26 (0x1a) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined - IL_0008: ret - } // end of method NamespaceImport::set_IfDefined + IL_0003: brfalse IL_0013 - // method line 184 + IL_0008: ldarg.1 + IL_0009: callvirt instance string string::Trim() + IL_000e: br IL_0014 + + IL_0013: ldnull + IL_0014: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className + IL_0019: ret + } // end of method ResourceLinkage::set_ClassName + + // method line 84 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class [mscorlib]System.Globalization.CultureInfo get_Culture () cil managed { - // Method begins at RVA 0x3a04 + // Method begins at RVA 0x4388 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Globalization.CultureInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.NamespaceImport::_unlessDefined + IL_0002: ldfld class [mscorlib]System.Globalization.CultureInfo NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_culture IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NamespaceImport::get_UnlessDefined + } // end of method ResourceLinkage::get_Culture - // method line 185 + // method line 85 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_Culture (class [mscorlib]System.Globalization.CultureInfo 'value') cil managed { - // Method begins at RVA 0x3a1f + // Method begins at RVA 0x43a3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.NamespaceImport::_unlessDefined + IL_0003: stfld class [mscorlib]System.Globalization.CultureInfo NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_culture IL_0008: ret - } // end of method NamespaceImport::set_UnlessDefined + } // end of method ResourceLinkage::set_Culture - .property instance string TempName () + .property instance bool IsValid () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 00 ) // ired. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 22 55 73 65 20 22 6E 61 6D 65 73 70 61 63 // .."Use "namespac - 65 22 20 61 74 74 72 69 62 75 74 65 20 69 6E 73 // e" attribute ins - 74 65 61 64 2E 00 00 00 ) // tead.... - - .get instance default string NAnt.DotNet.Types.NamespaceImport::get_TempName () - .set instance default void NAnt.DotNet.Types.NamespaceImport::set_TempName (string 'value') + .get instance default bool NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid () } - .property instance string Namespace () + .property instance bool HasNamespaceName () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6E 61 6D 65 73 70 61 63 65 01 00 54 02 // ...namespace..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.DotNet.Types.NamespaceImport::get_Namespace () - .set instance default void NAnt.DotNet.Types.NamespaceImport::set_Namespace (string 'value') + .get instance default bool NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasNamespaceName () } - .property instance bool IfDefined () + .property instance bool HasClassName () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Types.NamespaceImport::get_IfDefined () - .set instance default void NAnt.DotNet.Types.NamespaceImport::set_IfDefined (bool 'value') + .get instance default bool NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasClassName () } - .property instance bool UnlessDefined () + .property instance string NamespaceName () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined () - .set instance default void NAnt.DotNet.Types.NamespaceImport::set_UnlessDefined (bool 'value') + .get instance default string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName () + .set instance default void NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_NamespaceName (string 'value') } - } // end of class NAnt.DotNet.Types.NamespaceImport + .property instance string ClassName () + { + .get instance default string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_ClassName () + .set instance default void NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_ClassName (string 'value') + } + .property instance class [mscorlib]System.Globalization.CultureInfo Culture () + { + .get instance default class [mscorlib]System.Globalization.CultureInfo NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_Culture () + .set instance default void NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_Culture (class [mscorlib]System.Globalization.CultureInfo 'value') + } + } // end of class ResourceLinkage + + } // end of class NAnt.DotNet.Tasks.CompilerBase } -.namespace NAnt.DotNet.Types +.namespace NAnt.DotNet.Tasks { - .class public auto ansi abstract beforefieldinit DataTypeCollectionBase - extends [NAnt.Core]NAnt.Core.DataTypeBase - implements [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { - .field private class [mscorlib]System.Collections.ArrayList _list + .class public auto ansi beforefieldinit JscTask + extends NAnt.DotNet.Tasks.CompilerBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 6A 73 63 00 00 ) // ...jsc.. - // method line 186 - .method family hidebysig specialname rtspecialname + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + + .field private bool _autoRef + .field private bool _nostdlib + .field private string _warningLevel + .field private string _codepage + .field private string _platform + .field private bool _versionSafe + .field private bool _supportsPlatform + .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex + .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex + + // method line 86 + .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2050 - // Code size 19 (0x13) + // Method begins at RVA 0x43ad + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_000d: stfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.DataTypeCollectionBase::_list - IL_0012: ret - } // end of method DataTypeCollectionBase::.ctor + IL_0001: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() + IL_0006: ret + } // end of method JscTask::.ctor - // method line 187 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed + // method line 87 + .method public hidebysig specialname + instance default bool get_AutoRef () cil managed { - // Method begins at RVA 0x2064 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_IsSynchronized due to (null) - // Code size 10 (0xa) + // Method begins at RVA 0x43b8 + // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_autoRef + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0008: ldloc.0 - IL_0009: ret - } // end of method DataTypeCollectionBase::System.Collections.ICollection.get_IsSynchronized + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_AutoRef - // method line 188 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed + // method line 88 + .method public hidebysig specialname + instance default void set_AutoRef (bool 'value') cil managed { - // Method begins at RVA 0x207c - // Code size 20 (0x14) + // Method begins at RVA 0x43d3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_autoRef + IL_0008: ret + } // end of method JscTask::set_AutoRef + + // method line 89 + .method public hidebysig specialname + instance default bool get_NoStdLib () cil managed + { + // Method begins at RVA 0x43e0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_nostdlib + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeCollectionBase::get_Count + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_NoStdLib - // method line 189 - .method public final virtual hidebysig newslot - instance default void CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + // method line 90 + .method public hidebysig specialname + instance default void set_NoStdLib (bool 'value') cil managed { - // Method begins at RVA 0x209c - // Code size 15 (0xf) + // Method begins at RVA 0x43fb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method DataTypeCollectionBase::CopyTo + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_nostdlib + IL_0008: ret + } // end of method JscTask::set_NoStdLib - // method line 190 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.ICollection.get_SyncRoot () cil managed + // method line 91 + .method public hidebysig specialname + instance default string get_Platform () cil managed { - // Method begins at RVA 0x20ac - .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_SyncRoot due to (null) - // Code size 10 (0xa) + // Method begins at RVA 0x4408 + // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0002: ldfld string NAnt.DotNet.Tasks.JscTask::_platform + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0008: ldloc.0 - IL_0009: ret - } // end of method DataTypeCollectionBase::System.Collections.ICollection.get_SyncRoot + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_Platform - // method line 191 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 92 + .method public hidebysig specialname + instance default void set_Platform (string 'value') cil managed { - // Method begins at RVA 0x20c4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) + // Method begins at RVA 0x4423 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeCollectionBase::System.Collections.IEnumerable.GetEnumerator + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.JscTask::_platform + IL_000d: ret + } // end of method JscTask::set_Platform - // method line 192 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsFixedSize () cil managed + // method line 93 + .method public hidebysig specialname + instance default bool get_VersionSafe () cil managed { - // Method begins at RVA 0x20e4 - // Code size 10 (0xa) + // Method begins at RVA 0x4434 + // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_versionSafe + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0008: ldloc.0 - IL_0009: ret - } // end of method DataTypeCollectionBase::get_IsFixedSize + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_VersionSafe - // method line 193 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsReadOnly () cil managed + // method line 94 + .method public hidebysig specialname + instance default void set_VersionSafe (bool 'value') cil managed { - // Method begins at RVA 0x20fc - // Code size 10 (0xa) + // Method begins at RVA 0x444f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_versionSafe + IL_0008: ret + } // end of method JscTask::set_VersionSafe + + // method line 95 + .method public hidebysig specialname + instance default string get_WarningLevel () cil managed + { + // Method begins at RVA 0x445c + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.JscTask::_warningLevel + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0008: ldloc.0 - IL_0009: ret - } // end of method DataTypeCollectionBase::get_IsReadOnly + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_WarningLevel - // method line 194 - .method public final virtual hidebysig newslot - instance default void RemoveAt (int32 index) cil managed + // method line 96 + .method public hidebysig specialname + instance default void set_WarningLevel (string 'value') cil managed { - // Method begins at RVA 0x2112 - // Code size 21 (0x15) + // Method begins at RVA 0x4477 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: ldarg.1 - IL_000f: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) - IL_0014: ret - } // end of method DataTypeCollectionBase::RemoveAt + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.JscTask::_warningLevel + IL_000d: ret + } // end of method JscTask::set_WarningLevel - // method line 195 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed + // method line 97 + .method public virtual hidebysig specialname + instance default class NAnt.DotNet.Types.WarningAsError get_WarningAsError () cil managed { - // Method begins at RVA 0x2128 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x4488 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.WarningAsError V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() - IL_000c: ret - } // end of method DataTypeCollectionBase::Clear + IL_0002: call instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 196 - .method family hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_WarningAsError + + // method line 98 + .method public virtual hidebysig specialname + instance default string get_NoWarn () cil managed { - // Method begins at RVA 0x2138 + // Method begins at RVA 0x44a4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.DataTypeCollectionBase::_list + IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_NoWarn() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeCollectionBase::get_List + } // end of method JscTask::get_NoWarn - // method line 197 - .method family virtual hidebysig newslot abstract specialname - instance default class [mscorlib]System.Type get_ItemType () cil managed + // method line 99 + .method public virtual hidebysig specialname + instance default void set_NoWarn (string 'value') cil managed { - // Method begins at RVA 0x0 - } // end of method DataTypeCollectionBase::get_ItemType + // Method begins at RVA 0x44bf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_NoWarn(string) + IL_0008: ret + } // end of method JscTask::set_NoWarn - // method line 198 - .method family hidebysig - instance default void ValidateType (object 'value') cil managed + // method line 100 + .method public virtual hidebysig specialname + instance default class NAnt.DotNet.Types.CompilerWarningCollection get_SuppressWarnings () cil managed { - // Method begins at RVA 0x2154 - // Code size 70 (0x46) - .maxstack 3 + // Method begins at RVA 0x44cc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.CompilerWarningCollection V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: callvirt instance class [mscorlib]System.Type class NAnt.DotNet.Types.DataTypeCollectionBase::get_ItemType() - IL_0019: ldarg.1 - IL_001a: callvirt instance bool class [mscorlib]System.Type::IsInstanceOfType(object) - IL_001f: brtrue IL_0045 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Tasks.CompilerBase::get_SuppressWarnings() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0024: nop - IL_0025: ldstr "Specified value is not an instance of " - IL_002a: ldarg.0 - IL_002b: callvirt instance class [mscorlib]System.Type class NAnt.DotNet.Types.DataTypeCollectionBase::get_ItemType() - IL_0030: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0035: ldstr "." - IL_003a: call string string::Concat(string, string, string) - IL_003f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0044: throw - IL_0045: ret - } // end of method DataTypeCollectionBase::ValidateType + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_SuppressWarnings - // method line 199 - .method family hidebysig - instance default void RangeCheck (int32 index) cil managed + // method line 101 + .method public hidebysig specialname + instance default string get_Codepage () cil managed { - // Method begins at RVA 0x21a6 - // Code size 44 (0x2c) - .maxstack 8 + // Method begins at RVA 0x44e8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.0 - IL_0003: blt IL_0014 - - IL_0008: ldarg.1 - IL_0009: ldarg.0 - IL_000a: call instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() - IL_000f: blt IL_002b - - IL_0014: nop - IL_0015: ldstr "index" - IL_001a: ldarg.1 - IL_001b: box [mscorlib]System.Int32 - IL_0020: ldstr "Index must be greater than or equal to zero, and less than the number of items in the collection." - IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) - IL_002a: throw - IL_002b: ret - } // end of method DataTypeCollectionBase::RangeCheck + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.JscTask::_codepage + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance bool System.Collections.ICollection.IsSynchronized () - { - .get instance default bool NAnt.DotNet.Types.DataTypeCollectionBase::System.Collections.ICollection.get_IsSynchronized () - } - .property instance object System.Collections.ICollection.SyncRoot () - { - .get instance default object NAnt.DotNet.Types.DataTypeCollectionBase::System.Collections.ICollection.get_SyncRoot () - } - .property instance int32 Count () - { - .get instance default int32 NAnt.DotNet.Types.DataTypeCollectionBase::get_Count () - } - .property instance bool IsFixedSize () - { - .get instance default bool NAnt.DotNet.Types.DataTypeCollectionBase::get_IsFixedSize () - } - .property instance bool IsReadOnly () - { - .get instance default bool NAnt.DotNet.Types.DataTypeCollectionBase::get_IsReadOnly () - } - .property instance class [mscorlib]System.Collections.ArrayList List () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.DataTypeCollectionBase::get_List () - } - .property instance class [mscorlib]System.Type ItemType () - { - .get instance default class [mscorlib]System.Type NAnt.DotNet.Types.DataTypeCollectionBase::get_ItemType () - } - } // end of class NAnt.DotNet.Types.DataTypeCollectionBase -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_Codepage -.namespace NAnt.DotNet.Types -{ - .class public auto ansi serializable beforefieldinit NamespaceImportCollection - extends NAnt.DotNet.Types.DataTypeCollectionBase - implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 10 6E 61 6D 65 73 70 61 63 65 69 6D 70 6F // ...namespaceimpo - 72 74 73 00 00 ) // rts.. + // method line 102 + .method public hidebysig specialname + instance default void set_Codepage (string 'value') cil managed + { + // Method begins at RVA 0x4503 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.JscTask::_codepage + IL_000d: ret + } // end of method JscTask::set_Codepage - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + // method line 103 + .method public virtual hidebysig specialname + instance default string get_KeyContainer () cil managed + { + // Method begins at RVA 0x4514 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_KeyContainer - // method line 200 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 104 + .method public virtual hidebysig specialname + instance default void set_KeyContainer (string 'value') cil managed { - // Method begins at RVA 0x3a29 - // Code size 7 (0x7) + // Method begins at RVA 0x452f + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::'.ctor'() - IL_0006: ret - } // end of method NamespaceImportCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_KeyContainer(string) + IL_0008: ret + } // end of method JscTask::set_KeyContainer - // method line 201 - .method public hidebysig - instance default class NAnt.DotNet.Types.NamespaceImportEnumerator GetEnumerator () cil managed + // method line 105 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed { - // Method begins at RVA 0x3a34 + // Method begins at RVA 0x453c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.NamespaceImportEnumerator V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.DotNet.Types.NamespaceImportEnumerator::'.ctor'(class NAnt.DotNet.Types.NamespaceImportCollection) + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NamespaceImportCollection::GetEnumerator + } // end of method JscTask::get_KeyFile - // method line 202 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.NamespaceImport get_Item (int32 index) cil managed + // method line 106 + .method public virtual hidebysig specialname + instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x3a50 - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - class NAnt.DotNet.Types.NamespaceImport V_0) + // Method begins at RVA 0x4557 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: ldarg.1 - IL_000f: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_0014: castclass NAnt.DotNet.Types.NamespaceImport - IL_0019: stloc.0 - IL_001a: br IL_001f + IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_KeyFile(class [mscorlib]System.IO.FileInfo) + IL_0008: ret + } // end of method JscTask::set_KeyFile - IL_001f: ldloc.0 - IL_0020: ret - } // end of method NamespaceImportCollection::get_Item + // method line 107 + .method public virtual hidebysig specialname + instance default valuetype NAnt.DotNet.Types.DelaySign get_DelaySign () cil managed + { + // Method begins at RVA 0x4564 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.DotNet.Types.DelaySign V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 203 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.DotNet.Types.NamespaceImport 'value') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_DelaySign + + // method line 108 + .method public virtual hidebysig specialname + instance default void set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') cil managed { - // Method begins at RVA 0x3a7d - // Code size 22 (0x16) + // Method begins at RVA 0x457f + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: ldarg.1 - IL_000f: ldarg.2 - IL_0010: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_0015: ret - } // end of method NamespaceImportCollection::set_Item + IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_DelaySign(valuetype NAnt.DotNet.Types.DelaySign) + IL_0008: ret + } // end of method JscTask::set_DelaySign - // method line 204 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.NamespaceImport get_Item (string 'value') cil managed + // method line 109 + .method public virtual hidebysig specialname + instance default bool get_SupportsKeyContainer () cil managed { - // Method begins at RVA 0x3a94 - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0x458c + // Code size 10 (0xa) + .maxstack 1 .locals init ( - class NAnt.DotNet.Types.NamespaceImport V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.DotNet.Types.NamespaceImport V_2, - class [mscorlib]System.IDisposable V_3) + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method JscTask::get_SupportsKeyContainer - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.DotNet.Types.NamespaceImport - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() - IL_002e: callvirt instance bool string::Equals(string) - IL_0033: brfalse IL_0040 - - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d - - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a - - IL_004c: leave IL_0065 - - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 - - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d - - IL_006d: ldloc.2 - IL_006e: ret - } // end of method NamespaceImportCollection::get_Item + // method line 110 + .method public virtual hidebysig specialname + instance default void set_SupportsKeyContainer (bool 'value') cil managed + { + // Method begins at RVA 0x45a2 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method JscTask::set_SupportsKeyContainer - // method line 205 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 111 + .method public virtual hidebysig specialname + instance default bool get_SupportsKeyFile () cil managed { - // Method begins at RVA 0x3b20 - // Code size 207 (0xcf) - .maxstack 3 + // Method begins at RVA 0x45a8 + // Code size 10 (0xa) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - class NAnt.DotNet.Types.NamespaceImport V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - string[] V_3, - string V_4, - string[] V_5, - int32 V_6, - class [mscorlib]System.IDisposable V_7, - string V_8) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0013: stloc.2 - .try { // 0 - IL_0014: br IL_0099 - - IL_0019: ldloc.2 - IL_001a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001f: castclass NAnt.DotNet.Types.NamespaceImport - IL_0024: stloc.1 - IL_0025: nop - IL_0026: ldloc.1 - IL_0027: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_IfDefined() - IL_002c: brfalse IL_0098 - - IL_0031: ldloc.1 - IL_0032: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined() - IL_0037: brtrue IL_0098 - - IL_003c: nop - IL_003d: ldloc.1 - IL_003e: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() - IL_0043: ldc.i4.s 0x2c - IL_0045: ldc.i4.0 - IL_0046: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_004b: stloc.3 - IL_004c: nop - IL_004d: ldloc.3 - IL_004e: stloc.s 5 - IL_0050: ldc.i4.0 - IL_0051: stloc.s 6 - IL_0053: br IL_008c - - IL_0058: ldloc.s 5 - IL_005a: ldloc.s 6 - IL_005c: ldelem.ref - IL_005d: stloc.s 4 - IL_005f: nop - IL_0060: ldloc.0 - IL_0061: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0066: ldc.i4.0 - IL_0067: ble IL_0077 - - IL_006c: nop - IL_006d: ldloc.0 - IL_006e: ldc.i4.s 0x2c - IL_0070: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0075: pop - IL_0076: nop - IL_0077: ldloc.0 - IL_0078: ldstr "\"{0}\"" - IL_007d: ldloc.s 4 - IL_007f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0084: pop - IL_0085: nop - IL_0086: ldloc.s 6 - IL_0088: ldc.i4.1 - IL_0089: add - IL_008a: stloc.s 6 - IL_008c: ldloc.s 6 - IL_008e: ldloc.s 5 - IL_0090: ldlen - IL_0091: conv.i4 - IL_0092: blt IL_0058 - - IL_0097: nop - IL_0098: nop - IL_0099: ldloc.2 - IL_009a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_009f: brtrue IL_0019 - - IL_00a4: leave IL_00bf - - } // end .try 0 - finally { // 0 - IL_00a9: ldloc.2 - IL_00aa: isinst [mscorlib]System.IDisposable - IL_00af: dup - IL_00b0: stloc.s 7 - IL_00b2: brfalse IL_00be + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_00b7: ldloc.s 7 - IL_00b9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00be: endfinally - } // end handler 0 - IL_00bf: ldloc.0 - IL_00c0: callvirt instance string object::ToString() - IL_00c5: stloc.s 8 - IL_00c7: br IL_00cc + IL_0008: ldloc.0 + IL_0009: ret + } // end of method JscTask::get_SupportsKeyFile - IL_00cc: ldloc.s 8 - IL_00ce: ret - } // end of method NamespaceImportCollection::ToString + // method line 112 + .method public virtual hidebysig specialname + instance default void set_SupportsKeyFile (bool 'value') cil managed + { + // Method begins at RVA 0x45be + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method JscTask::set_SupportsKeyFile - // method line 206 - .method family virtual hidebysig specialname - instance default class [mscorlib]System.Type get_ItemType () cil managed + // method line 113 + .method public virtual hidebysig specialname + instance default bool get_SupportsDelaySign () cil managed { - // Method begins at RVA 0x3c0c - // Code size 19 (0x13) + // Method begins at RVA 0x45c4 + // Code size 10 (0xa) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + bool V_0) IL_0000: nop - IL_0001: ldtoken NAnt.DotNet.Types.NamespaceImport - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: stloc.0 - IL_000c: br IL_0011 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NamespaceImportCollection::get_ItemType + IL_0008: ldloc.0 + IL_0009: ret + } // end of method JscTask::get_SupportsDelaySign - // method line 207 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IList.get_Item (int32 index) cil managed + // method line 114 + .method public virtual hidebysig specialname + instance default void set_SupportsDelaySign (bool 'value') cil managed { - // Method begins at RVA 0x3c2c - .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) - // Code size 16 (0x10) - .maxstack 2 + // Method begins at RVA 0x45da + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method JscTask::set_SupportsDelaySign + + // method line 115 + .method public hidebysig specialname + instance default bool get_SupportsPlatform () cil managed + { + // Method begins at RVA 0x45e0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - object V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportCollection::get_Item(int32) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_supportsPlatform + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method NamespaceImportCollection::System.Collections.IList.get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_SupportsPlatform - // method line 208 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + // method line 116 + .method public hidebysig specialname + instance default void set_SupportsPlatform (bool 'value') cil managed { - // Method begins at RVA 0x3c48 - .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) - // Code size 22 (0x16) + // Method begins at RVA 0x45fb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: castclass NAnt.DotNet.Types.NamespaceImport - IL_0010: call instance void class NAnt.DotNet.Types.NamespaceImportCollection::set_Item(int32, class NAnt.DotNet.Types.NamespaceImport) - IL_0015: ret - } // end of method NamespaceImportCollection::System.Collections.IList.set_Item + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_supportsPlatform + IL_0008: ret + } // end of method JscTask::set_SupportsPlatform - // method line 209 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed + // method line 117 + .method public virtual hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyFileSet get_Modules () cil managed { - // Method begins at RVA 0x3c5f - .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) - // Code size 22 (0x16) - .maxstack 8 + // Method begins at RVA 0x4608 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: castclass NAnt.DotNet.Types.NamespaceImport - IL_0010: call instance void class NAnt.DotNet.Types.NamespaceImportCollection::Insert(int32, class NAnt.DotNet.Types.NamespaceImport) - IL_0015: ret - } // end of method NamespaceImportCollection::System.Collections.IList.Insert + IL_0002: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 210 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Remove (object 'value') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JscTask::get_Modules + + // method line 118 + .method public virtual hidebysig specialname + instance default void set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x3c76 - .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) - // Code size 21 (0x15) + // Method begins at RVA 0x4623 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: castclass NAnt.DotNet.Types.NamespaceImport - IL_000f: call instance void class NAnt.DotNet.Types.NamespaceImportCollection::Remove(class NAnt.DotNet.Types.NamespaceImport) - IL_0014: ret - } // end of method NamespaceImportCollection::System.Collections.IList.Remove + IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_Modules(class NAnt.DotNet.Types.AssemblyFileSet) + IL_0008: ret + } // end of method JscTask::set_Modules - // method line 211 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IList.Contains (object 'value') cil managed + // method line 119 + .method family virtual hidebysig + instance default void WriteModuleReferences (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x3c8c - .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x462d + // Code size 47 (0x2f) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_000e: ldarg.1 - IL_000f: castclass NAnt.DotNet.Types.NamespaceImport - IL_0014: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_0019: stloc.0 - IL_001a: br IL_001f + IL_0002: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0011: ldc.i4.0 + IL_0012: ble IL_002e - IL_001f: ldloc.0 - IL_0020: ret - } // end of method NamespaceImportCollection::System.Collections.IList.Contains + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldc.i4 4000 + IL_001e: ldstr "String_JscDoesNotSupportLinkingModules" + IL_0023: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_002d: nop + IL_002e: ret + } // end of method JscTask::WriteModuleReferences - // method line 212 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed + // method line 120 + .method family virtual hidebysig + instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x3cbc - .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) - // Code size 28 (0x1c) - .maxstack 2 - .locals init ( - int32 V_0) + // Method begins at RVA 0x4660 + // Code size 336 (0x150) + .maxstack 7 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: castclass NAnt.DotNet.Types.NamespaceImport - IL_000f: call instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::IndexOf(class NAnt.DotNet.Types.NamespaceImport) - IL_0014: stloc.0 - IL_0015: br IL_001a - - IL_001a: ldloc.0 - IL_001b: ret - } // end of method NamespaceImportCollection::System.Collections.IList.IndexOf + IL_0002: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_Debug() + IL_0007: brfalse IL_003c - // method line 213 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.Add (object 'value') cil managed - { - // Method begins at RVA 0x3ce4 - .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) - // Code size 28 (0x1c) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: castclass NAnt.DotNet.Types.NamespaceImport - IL_000f: call instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::Add(class NAnt.DotNet.Types.NamespaceImport) - IL_0014: stloc.0 - IL_0015: br IL_001a + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: ldstr "debug" + IL_0014: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: ldstr "define" + IL_0020: ldstr "DEBUG" + IL_0025: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_002a: ldarg.0 + IL_002b: ldarg.1 + IL_002c: ldstr "define" + IL_0031: ldstr "TRACE" + IL_0036: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: call instance bool class NAnt.DotNet.Tasks.JscTask::get_NoStdLib() + IL_0042: brfalse IL_005a - IL_001a: ldloc.0 - IL_001b: ret - } // end of method NamespaceImportCollection::System.Collections.IList.Add + IL_0047: nop + IL_0048: ldarg.0 + IL_0049: ldarg.1 + IL_004a: ldstr "nostdlib" + IL_004f: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0054: nop + IL_0055: br IL_0073 - // method line 214 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.NamespaceImportCollection items) cil managed - { - // Method begins at RVA 0x3d0c - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_005a: ldarg.0 + IL_005b: call instance bool class NAnt.DotNet.Tasks.JscTask::get_AutoRef() + IL_0060: brfalse IL_0073 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::Add(class NAnt.DotNet.Types.NamespaceImport) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0065: nop + IL_0066: ldarg.0 + IL_0067: ldarg.1 + IL_0068: ldstr "autoref" + IL_006d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0072: nop + IL_0073: ldarg.0 + IL_0074: call instance string class NAnt.DotNet.Tasks.JscTask::get_WarningLevel() + IL_0079: brfalse IL_0092 - IL_0028: ret - } // end of method NamespaceImportCollection::AddRange + IL_007e: nop + IL_007f: ldarg.0 + IL_0080: ldarg.1 + IL_0081: ldstr "warn" + IL_0086: ldarg.0 + IL_0087: call instance string class NAnt.DotNet.Tasks.JscTask::get_WarningLevel() + IL_008c: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0091: nop + IL_0092: ldarg.0 + IL_0093: call instance string class NAnt.DotNet.Tasks.JscTask::get_Codepage() + IL_0098: brfalse IL_00b1 - // method line 215 - .method public hidebysig - instance default int32 Add (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 69 6D 70 6F 72 74 00 00 ) // ...import.. + IL_009d: nop + IL_009e: ldarg.0 + IL_009f: ldarg.1 + IL_00a0: ldstr "codepage" + IL_00a5: ldarg.0 + IL_00a6: call instance string class NAnt.DotNet.Tasks.JscTask::get_Codepage() + IL_00ab: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_00b0: nop + IL_00b1: ldarg.0 + IL_00b2: call instance string class NAnt.DotNet.Tasks.JscTask::get_Platform() + IL_00b7: brfalse IL_0112 - // Method begins at RVA 0x3d44 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_00bc: nop + IL_00bd: ldarg.0 + IL_00be: call instance bool class NAnt.DotNet.Tasks.JscTask::get_SupportsPlatform() + IL_00c3: brfalse IL_00e1 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method NamespaceImportCollection::Add + IL_00c8: nop + IL_00c9: ldarg.0 + IL_00ca: ldarg.1 + IL_00cb: ldstr "platform" + IL_00d0: ldarg.0 + IL_00d1: call instance string class NAnt.DotNet.Tasks.JscTask::get_Platform() + IL_00d6: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_00db: nop + IL_00dc: br IL_0111 - // method line 216 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.DotNet.Types.NamespaceImport 'value') cil managed - { - // Method begins at RVA 0x3d65 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) - IL_000e: ret - } // end of method NamespaceImportCollection::Insert + IL_00e1: nop + IL_00e2: ldarg.0 + IL_00e3: ldc.i4 4000 + IL_00e8: ldstr "String_CompilerDoesNotSupportPlatform" + IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f2: ldc.i4.1 + IL_00f3: newarr [mscorlib]System.Object + IL_00f8: dup + IL_00f9: ldc.i4.0 + IL_00fa: ldarg.0 + IL_00fb: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0100: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0105: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_010a: stelem.ref + IL_010b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0110: nop + IL_0111: nop + IL_0112: ldarg.0 + IL_0113: call instance bool class NAnt.DotNet.Tasks.JscTask::get_VersionSafe() + IL_0118: brfalse IL_012b - // method line 217 - .method public hidebysig - instance default void Remove (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed + IL_011d: nop + IL_011e: ldarg.0 + IL_011f: ldarg.1 + IL_0120: ldstr "versionsafe" + IL_0125: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_012a: nop + IL_012b: ldarg.0 + IL_012c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_0131: brfalse IL_014f + + IL_0136: nop + IL_0137: ldarg.0 + IL_0138: ldarg.1 + IL_0139: ldstr "win32res" + IL_013e: ldarg.0 + IL_013f: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_0144: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0149: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_014e: nop + IL_014f: ret + } // end of method JscTask::WriteOptions + + // method line 121 + .method public virtual hidebysig specialname + instance default string get_Extension () cil managed { - // Method begins at RVA 0x3d75 + // Method begins at RVA 0x47bc // Code size 14 (0xe) - .maxstack 8 + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) + IL_0001: ldstr "js" + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 IL_000d: ret - } // end of method NamespaceImportCollection::Remove + } // end of method JscTask::get_Extension - // method line 218 - .method public hidebysig - instance default bool Contains (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed + // method line 122 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed { - // Method begins at RVA 0x3d84 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x47d8 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - bool V_0) + class [System]System.Text.RegularExpressions.Regex V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_classNameRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0013: ldloc.0 - IL_0014: ret - } // end of method NamespaceImportCollection::Contains + IL_000c: ldloc.0 + IL_000d: ret + } // end of method JscTask::get_ClassNameRegex - // method line 219 - .method public hidebysig - instance default int32 IndexOf (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed + // method line 123 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed { - // Method begins at RVA 0x3da8 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x47f4 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - int32 V_0) + class [System]System.Text.RegularExpressions.Regex V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_namespaceRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0013: ldloc.0 - IL_0014: ret - } // end of method NamespaceImportCollection::IndexOf + IL_000c: ldloc.0 + IL_000d: ret + } // end of method JscTask::get_NamespaceRegex - .property instance object System.Collections.IList.Item (int32) + // method line 124 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x480e + // Code size 31 (0x1f) + .maxstack 8 + IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|class\\s+(?\\w+)|(?\\w+))*" + IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_classNameRegex + IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|namespace\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" + IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_namespaceRegex + IL_001e: ret + } // end of method JscTask::.cctor + + .property instance bool AutoRef () { - .get instance default object NAnt.DotNet.Types.NamespaceImportCollection::System.Collections.IList.get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.NamespaceImportCollection::System.Collections.IList.set_Item (int32 index, object 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 61 75 74 6F 72 65 66 00 00 ) // ...autoref.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.DotNet.Tasks.JscTask::get_AutoRef () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_AutoRef (bool 'value') } - .property instance class NAnt.DotNet.Types.NamespaceImport Item (int32) + .property instance bool NoStdLib () { - .get instance default class NAnt.DotNet.Types.NamespaceImport NAnt.DotNet.Types.NamespaceImportCollection::get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.NamespaceImportCollection::set_Item (int32 index, class NAnt.DotNet.Types.NamespaceImport 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.DotNet.Tasks.JscTask::get_NoStdLib () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_NoStdLib (bool 'value') } - .property instance class NAnt.DotNet.Types.NamespaceImport Item (string) + .property instance string Platform () { - .get instance default class NAnt.DotNet.Types.NamespaceImport NAnt.DotNet.Types.NamespaceImportCollection::get_Item (string 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 6C 61 74 66 6F 72 6D 00 00 ) // ...platform.. + + .get instance default string NAnt.DotNet.Tasks.JscTask::get_Platform () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_Platform (string 'value') } - .property instance class [mscorlib]System.Type ItemType () + .property instance bool VersionSafe () { - .get instance default class [mscorlib]System.Type NAnt.DotNet.Types.NamespaceImportCollection::get_ItemType () - } - } // end of class NAnt.DotNet.Types.NamespaceImportCollection -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit NamespaceImportEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 76 65 72 73 69 6F 6E 73 61 66 65 00 00 ) // ...versionsafe.. - // method line 220 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.NamespaceImportCollection arguments) cil managed - { - // Method begins at RVA 0x3dcc - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator - IL_0015: ret - } // end of method NamespaceImportEnumerator::.ctor + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 221 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.NamespaceImport get_Current () cil managed - { - // Method begins at RVA 0x3df0 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.NamespaceImport V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.DotNet.Types.NamespaceImport - IL_0011: stloc.0 - IL_0012: br IL_0017 + .get instance default bool NAnt.DotNet.Tasks.JscTask::get_VersionSafe () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_VersionSafe (bool 'value') + } + .property instance string WarningLevel () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 77 61 72 6E 69 6E 67 6C 65 76 65 6C 00 // ...warninglevel. + 00 ) // . - IL_0017: ldloc.0 - IL_0018: ret - } // end of method NamespaceImportEnumerator::get_Current + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 04 00 00 00 00 00 ) // ............ - // method line 222 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x3e18 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method NamespaceImportEnumerator::System.Collections.IEnumerator.get_Current - - // method line 223 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x3e38 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method NamespaceImportEnumerator::MoveNext - - // method line 224 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x3e58 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method NamespaceImportEnumerator::System.Collections.IEnumerator.MoveNext + .get instance default string NAnt.DotNet.Tasks.JscTask::get_WarningLevel () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_WarningLevel (string 'value') + } + .property instance class NAnt.DotNet.Types.WarningAsError WarningAsError () + { + .get instance default class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.JscTask::get_WarningAsError () + } + .property instance string NoWarn () + { + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 21 55 73 65 20 74 68 65 20 3C 6E 6F 77 61 // ..!Use the element inst + 65 61 64 2E 00 00 00 ) // ead.... - // method line 225 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x3e78 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method NamespaceImportEnumerator::Reset + .get instance default string NAnt.DotNet.Tasks.JscTask::get_NoWarn () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_NoWarn (string 'value') + } + .property instance class NAnt.DotNet.Types.CompilerWarningCollection SuppressWarnings () + { + .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.JscTask::get_SuppressWarnings () + } + .property instance string Codepage () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 70 61 67 65 00 00 ) // ...codepage.. - // method line 226 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x3e86 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method NamespaceImportEnumerator::System.Collections.IEnumerator.Reset + .get instance default string NAnt.DotNet.Tasks.JscTask::get_Codepage () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_Codepage (string 'value') + } + .property instance string KeyContainer () + { + .get instance default string NAnt.DotNet.Tasks.JscTask::get_KeyContainer () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_KeyContainer (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo KeyFile () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.JscTask::get_KeyFile () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance valuetype NAnt.DotNet.Types.DelaySign DelaySign () + { + .get instance default valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.JscTask::get_DelaySign () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') + } + .property instance bool SupportsKeyContainer () + { + .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsKeyContainer () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsKeyContainer (bool 'value') + } + .property instance bool SupportsKeyFile () + { + .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsKeyFile () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsKeyFile (bool 'value') + } + .property instance bool SupportsDelaySign () + { + .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsDelaySign () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsDelaySign (bool 'value') + } + .property instance bool SupportsPlatform () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 10 73 75 70 70 6F 72 74 73 70 6C 61 74 66 // ...supportsplatf + 6F 72 6D 00 00 ) // orm.. - .property instance object System.Collections.IEnumerator.Current () + .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsPlatform () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsPlatform (bool 'value') + } + .property instance class NAnt.DotNet.Types.AssemblyFileSet Modules () { - .get instance default object NAnt.DotNet.Types.NamespaceImportEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.JscTask::get_Modules () + .set instance default void NAnt.DotNet.Tasks.JscTask::set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') } - .property instance class NAnt.DotNet.Types.NamespaceImport Current () + .property instance string Extension () { - .get instance default class NAnt.DotNet.Types.NamespaceImport NAnt.DotNet.Types.NamespaceImportEnumerator::get_Current () + .get instance default string NAnt.DotNet.Tasks.JscTask::get_Extension () } - } // end of class NAnt.DotNet.Types.NamespaceImportEnumerator + .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::get_ClassNameRegex () + } + .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::get_NamespaceRegex () + } + } // end of class NAnt.DotNet.Tasks.JscTask } -.namespace NAnt.DotNet.Types +.namespace NAnt.DotNet.Tasks { - .class public auto ansi beforefieldinit EmbeddedResource - extends [mscorlib]System.Object + .class public auto ansi beforefieldinit RegsvcsTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase { - .field private initonly string _file - .field private initonly string _manifestResourceName + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 72 65 67 73 76 63 73 00 00 ) // ...regsvcs.. - // method line 227 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + + .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder + .field private valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType _action + .field private class [mscorlib]System.IO.FileInfo _assemblyFile + .field private string _applicationName + .field private class [mscorlib]System.IO.FileInfo _typeLibrary + .field private bool _existingTlb + .field private bool _existingApplication + .field private bool _noreconfig + .field private bool _componentsOnly + .field private string _partitionName + + // method line 125 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string file, string manifestResourceName) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3e94 - // Code size 22 (0x16) + // Method begins at RVA 0x482e + // Code size 56 (0x38) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop + IL_0001: ldnull + IL_0002: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld string NAnt.DotNet.Types.EmbeddedResource::_file + IL_0008: ldc.i4.0 + IL_0009: stfld valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::_action IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld string NAnt.DotNet.Types.EmbeddedResource::_manifestResourceName - IL_0015: ret - } // end of method EmbeddedResource::.ctor + IL_000f: ldc.i4.0 + IL_0010: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingTlb + IL_0015: ldarg.0 + IL_0016: ldc.i4.0 + IL_0017: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingApplication + IL_001c: ldarg.0 + IL_001d: ldc.i4.0 + IL_001e: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_noreconfig + IL_0023: ldarg.0 + IL_0024: ldc.i4.0 + IL_0025: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_componentsOnly + IL_002a: ldarg.0 + IL_002b: ldnull + IL_002c: stfld string NAnt.DotNet.Tasks.RegsvcsTask::_partitionName + IL_0031: ldarg.0 + IL_0032: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0037: ret + } // end of method RegsvcsTask::.ctor - // method line 228 + // method line 126 .method public hidebysig specialname - instance default string get_File () cil managed + instance default valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType get_Action () cil managed { - // Method begins at RVA 0x3eac + // Method begins at RVA 0x4868 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.EmbeddedResource::_file + IL_0002: ldfld valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::_action IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EmbeddedResource::get_File + } // end of method RegsvcsTask::get_Action - // method line 229 + // method line 127 .method public hidebysig specialname - instance default string get_ManifestResourceName () cil managed + instance default void set_Action (valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType 'value') cil managed { - // Method begins at RVA 0x3ec8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x4884 + // Code size 70 (0x46) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.EmbeddedResource::_manifestResourceName - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EmbeddedResource::get_ManifestResourceName + IL_0001: ldtoken NAnt.DotNet.Tasks.RegsvcsTask/ActionType + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: box NAnt.DotNet.Tasks.RegsvcsTask/ActionType + IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0016: brtrue IL_003c - .property instance string File () - { - .get instance default string NAnt.DotNet.Types.EmbeddedResource::get_File () - } - .property instance string ManifestResourceName () - { - .get instance default string NAnt.DotNet.Types.EmbeddedResource::get_ManifestResourceName () - } - } // end of class NAnt.DotNet.Types.EmbeddedResource -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit ResourceFileSet - extends [NAnt.Core]NAnt.Core.Types.FileSet - implements [mscorlib]System.ICloneable { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 0F 72 65 73 6F 75 72 63 65 66 69 6C 65 73 // ...resourcefiles - 65 74 00 00 ) // et.. - - .field private string _prefix - .field private bool _dynamicprefix + IL_001b: nop + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: ldstr "NA2002" + IL_0026: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_002b: ldarg.1 + IL_002c: box NAnt.DotNet.Tasks.RegsvcsTask/ActionType + IL_0031: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0036: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_003b: throw + IL_003c: nop + IL_003d: ldarg.0 + IL_003e: ldarg.1 + IL_003f: stfld valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::_action + IL_0044: nop + IL_0045: ret + } // end of method RegsvcsTask::set_Action - // method line 230 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 128 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed { - // Method begins at RVA 0x3ee3 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method ResourceFileSet::.ctor + // Method begins at RVA 0x48d8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_assemblyFile + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 231 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [NAnt.Core]NAnt.Core.Types.FileSet fs) cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RegsvcsTask::get_AssemblyFile + + // method line 129 + .method public hidebysig specialname + instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x3eec + // Method begins at RVA 0x48f3 // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'(class [NAnt.Core]NAnt.Core.Types.FileSet) - IL_0007: nop + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_assemblyFile IL_0008: ret - } // end of method ResourceFileSet::.ctor + } // end of method RegsvcsTask::set_AssemblyFile - // method line 232 + // method line 130 .method public hidebysig specialname - instance default string get_Prefix () cil managed + instance default class [mscorlib]System.IO.FileInfo get_TypeLibrary () cil managed { - // Method begins at RVA 0x3ef8 + // Method begins at RVA 0x4900 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Types.ResourceFileSet::_prefix + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_typeLibrary IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResourceFileSet::get_Prefix + } // end of method RegsvcsTask::get_TypeLibrary - // method line 233 + // method line 131 .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed + instance default void set_TypeLibrary (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x3f13 - // Code size 14 (0xe) + // Method begins at RVA 0x491b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Types.ResourceFileSet::_prefix - IL_000d: ret - } // end of method ResourceFileSet::set_Prefix + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_typeLibrary + IL_0008: ret + } // end of method RegsvcsTask::set_TypeLibrary - // method line 234 + // method line 132 .method public hidebysig specialname - instance default bool get_DynamicPrefix () cil managed + instance default bool get_ExistingTypeLibrary () cil managed { - // Method begins at RVA 0x3f24 + // Method begins at RVA 0x4928 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix + IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingTlb IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResourceFileSet::get_DynamicPrefix + } // end of method RegsvcsTask::get_ExistingTypeLibrary - // method line 235 + // method line 133 .method public hidebysig specialname - instance default void set_DynamicPrefix (bool 'value') cil managed + instance default void set_ExistingTypeLibrary (bool 'value') cil managed { - // Method begins at RVA 0x3f3f + // Method begins at RVA 0x4943 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix + IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingTlb IL_0008: ret - } // end of method ResourceFileSet::set_DynamicPrefix + } // end of method RegsvcsTask::set_ExistingTypeLibrary - // method line 236 + // method line 134 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ResxFiles () cil managed + instance default bool get_NoReconfig () cil managed { - // Method begins at RVA 0x3f4c - // Code size 179 (0xb3) - .maxstack 2 + // Method begins at RVA 0x4950 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.DotNet.Types.ResourceFileSet V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class [NAnt.Core]NAnt.Core.Types.FileSet V_4) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance object class [NAnt.Core]NAnt.Core.Types.FileSet::Clone() - IL_0007: castclass NAnt.DotNet.Types.ResourceFileSet - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0013: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0018: ldloc.0 - IL_0019: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Excludes() - IL_001e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0023: ldloc.0 - IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_AsIs() - IL_0029: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_002e: ldloc.0 - IL_002f: ldc.i4.0 - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_FailOnEmpty(bool) - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_003c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0041: stloc.2 - .try { // 0 - IL_0042: br IL_007e - - IL_0047: ldloc.2 - IL_0048: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_004d: stloc.1 - IL_004e: nop - IL_004f: ldloc.1 - IL_0050: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_005f: ldstr ".resx" - IL_0064: call bool string::op_Equality(string, string) - IL_0069: brfalse IL_007d + IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_noreconfig + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_006e: nop - IL_006f: ldloc.0 - IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0075: ldloc.1 - IL_0076: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_007b: pop - IL_007c: nop - IL_007d: nop - IL_007e: ldloc.2 - IL_007f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0084: brtrue IL_0047 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RegsvcsTask::get_NoReconfig - IL_0089: leave IL_00a2 + // method line 135 + .method public hidebysig specialname + instance default void set_NoReconfig (bool 'value') cil managed + { + // Method begins at RVA 0x496b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_noreconfig + IL_0008: ret + } // end of method RegsvcsTask::set_NoReconfig - } // end .try 0 - finally { // 0 - IL_008e: ldloc.2 - IL_008f: isinst [mscorlib]System.IDisposable - IL_0094: dup - IL_0095: stloc.3 - IL_0096: brfalse IL_00a1 + // method line 136 + .method public hidebysig specialname + instance default bool get_ComponentsOnly () cil managed + { + // Method begins at RVA 0x4978 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_componentsOnly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_009b: ldloc.3 - IL_009c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00a1: endfinally - } // end handler 0 - IL_00a2: ldloc.0 - IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() - IL_00a8: ldloc.0 - IL_00a9: stloc.s 4 - IL_00ab: br IL_00b0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RegsvcsTask::get_ComponentsOnly - IL_00b0: ldloc.s 4 - IL_00b2: ret - } // end of method ResourceFileSet::get_ResxFiles + // method line 137 + .method public hidebysig specialname + instance default void set_ComponentsOnly (bool 'value') cil managed + { + // Method begins at RVA 0x4993 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_componentsOnly + IL_0008: ret + } // end of method RegsvcsTask::set_ComponentsOnly - // method line 237 + // method line 138 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_NonResxFiles () cil managed + instance default bool get_ExistingApplication () cil managed { - // Method begins at RVA 0x401c - // Code size 179 (0xb3) - .maxstack 2 + // Method begins at RVA 0x49a0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.DotNet.Types.ResourceFileSet V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class [NAnt.Core]NAnt.Core.Types.FileSet V_4) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance object class [NAnt.Core]NAnt.Core.Types.FileSet::Clone() - IL_0007: castclass NAnt.DotNet.Types.ResourceFileSet - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0013: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0018: ldloc.0 - IL_0019: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Excludes() - IL_001e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0023: ldloc.0 - IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_AsIs() - IL_0029: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_002e: ldloc.0 - IL_002f: ldc.i4.0 - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_FailOnEmpty(bool) - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_003c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0041: stloc.2 - .try { // 0 - IL_0042: br IL_007e - - IL_0047: ldloc.2 - IL_0048: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_004d: stloc.1 - IL_004e: nop - IL_004f: ldloc.1 - IL_0050: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_005f: ldstr ".resx" - IL_0064: call bool string::op_Inequality(string, string) - IL_0069: brfalse IL_007d + IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingApplication + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_006e: nop - IL_006f: ldloc.0 - IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0075: ldloc.1 - IL_0076: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_007b: pop - IL_007c: nop - IL_007d: nop - IL_007e: ldloc.2 - IL_007f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0084: brtrue IL_0047 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RegsvcsTask::get_ExistingApplication - IL_0089: leave IL_00a2 + // method line 139 + .method public hidebysig specialname + instance default void set_ExistingApplication (bool 'value') cil managed + { + // Method begins at RVA 0x49bb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingApplication + IL_0008: ret + } // end of method RegsvcsTask::set_ExistingApplication - } // end .try 0 - finally { // 0 - IL_008e: ldloc.2 - IL_008f: isinst [mscorlib]System.IDisposable - IL_0094: dup - IL_0095: stloc.3 - IL_0096: brfalse IL_00a1 + // method line 140 + .method public hidebysig specialname + instance default string get_ApplicationName () cil managed + { + // Method begins at RVA 0x49c8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.RegsvcsTask::_applicationName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_009b: ldloc.3 - IL_009c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00a1: endfinally - } // end handler 0 - IL_00a2: ldloc.0 - IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() - IL_00a8: ldloc.0 - IL_00a9: stloc.s 4 - IL_00ab: br IL_00b0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RegsvcsTask::get_ApplicationName - IL_00b0: ldloc.s 4 - IL_00b2: ret - } // end of method ResourceFileSet::get_NonResxFiles + // method line 141 + .method public hidebysig specialname + instance default void set_ApplicationName (string 'value') cil managed + { + // Method begins at RVA 0x49e3 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.RegsvcsTask::_applicationName + IL_000d: ret + } // end of method RegsvcsTask::set_ApplicationName - // method line 238 - .method public virtual hidebysig - instance default object Clone () cil managed + // method line 142 + .method public hidebysig specialname + instance default string get_PartitionName () cil managed { - // Method begins at RVA 0x40ec - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0x49f4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.DotNet.Types.ResourceFileSet V_0, - object V_1) + string V_0) IL_0000: nop - IL_0001: newobj instance void class NAnt.DotNet.Types.ResourceFileSet::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::CopyTo(class [NAnt.Core]NAnt.Core.Types.FileSet) - IL_000e: ldloc.0 - IL_000f: ldarg.0 - IL_0010: ldfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix - IL_0015: stfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld string NAnt.DotNet.Types.ResourceFileSet::_prefix - IL_0021: stfld string NAnt.DotNet.Types.ResourceFileSet::_prefix - IL_0026: ldloc.0 - IL_0027: stloc.1 - IL_0028: br IL_002d + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.RegsvcsTask::_partitionName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002d: ldloc.1 - IL_002e: ret - } // end of method ResourceFileSet::Clone + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RegsvcsTask::get_PartitionName - // method line 239 - .method public hidebysig - instance default string GetManifestResourceName (string resourceFile) cil managed + // method line 143 + .method public hidebysig specialname + instance default void set_PartitionName (string 'value') cil managed { - // Method begins at RVA 0x4128 - // Code size 17 (0x11) - .maxstack 3 - .locals init ( - string V_0) + // Method begins at RVA 0x4a0f + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: ldarg.1 - IL_0004: call instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) - IL_0009: stloc.0 - IL_000a: br IL_000f - - IL_000f: ldloc.0 - IL_0010: ret - } // end of method ResourceFileSet::GetManifestResourceName + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.RegsvcsTask::_partitionName + IL_000d: ret + } // end of method RegsvcsTask::set_PartitionName - // method line 240 - .method public hidebysig - instance default string GetManifestResourceName (string physicalPath, string logicalPath) cil managed + // method line 144 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x4148 - // Code size 496 (0x1f0) - .maxstack 3 + // Method begins at RVA 0x4a20 + // Code size 40 (0x28) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1, - char V_2, - string V_3, - char V_4, - string V_5, - string V_6, - class [mscorlib]System.Text.StringBuilder V_7, - string[] V_8, - int32 V_9, - string V_10, - int32 V_11, - char V_12, - string V_13) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Types.ResourceFileSet::get_Prefix() - IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) - IL_000c: stloc.0 + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0007: brfalse IL_001e + + IL_000c: nop IL_000d: ldarg.0 - IL_000e: call instance bool class NAnt.DotNet.Types.ResourceFileSet::get_DynamicPrefix() - IL_0013: brfalse IL_00fc + IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0013: callvirt instance string object::ToString() + IL_0018: stloc.0 + IL_0019: br IL_0026 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_001f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0024: stloc.1 - IL_0025: ldloc.1 - IL_0026: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_002b: stloc.2 - IL_002c: ldloca.s 2 - IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0033: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_0038: callvirt instance bool string::EndsWith(string) - IL_003d: brtrue IL_0055 + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 - IL_0042: nop - IL_0043: ldloc.1 - IL_0044: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0049: box [mscorlib]System.Char - IL_004e: call string string::Concat(object, object) - IL_0053: stloc.1 - IL_0054: nop - IL_0055: ldarg.2 - IL_0056: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_005b: stloc.3 - IL_005c: ldloc.3 - IL_005d: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0062: stloc.s 4 - IL_0064: ldloca.s 4 - IL_0066: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006b: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_0070: callvirt instance bool string::EndsWith(string) - IL_0075: brtrue IL_008d + IL_0026: ldloc.0 + IL_0027: ret + } // end of method RegsvcsTask::get_ProgramArguments - IL_007a: nop - IL_007b: ldloc.3 - IL_007c: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0081: box [mscorlib]System.Char - IL_0086: call string string::Concat(object, object) - IL_008b: stloc.3 - IL_008c: nop - IL_008d: ldsfld string [mscorlib]System.String::Empty - IL_0092: stloc.s 5 - IL_0094: ldloc.3 - IL_0095: ldloc.1 - IL_0096: call bool string::op_Inequality(string, string) - IL_009b: brfalse IL_00bc + // method line 145 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x4a54 + // Code size 558 (0x22e) + .maxstack 7 + .locals init ( + valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0007: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_000c: ldarg.0 + IL_000d: call instance valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType class NAnt.DotNet.Tasks.RegsvcsTask::get_Action() + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: ldc.i4.1 + IL_0015: beq IL_002c - IL_00a0: ldloc.3 - IL_00a1: ldloc.1 - IL_00a2: callvirt instance bool string::StartsWith(string) - IL_00a7: brfalse IL_00bc + IL_001a: ldloc.0 + IL_001b: brfalse IL_006b - IL_00ac: nop - IL_00ad: ldloc.3 - IL_00ae: ldloc.1 - IL_00af: callvirt instance int32 string::get_Length() - IL_00b4: callvirt instance string string::Substring(int32) - IL_00b9: stloc.s 5 - IL_00bb: nop - IL_00bc: ldloc.s 5 - IL_00be: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00c3: ldc.i4.s 0x2e - IL_00c5: callvirt instance string string::Replace(char, char) - IL_00ca: ldsfld char [mscorlib]System.IO.Path::AltDirectorySeparatorChar - IL_00cf: ldc.i4.s 0x2e - IL_00d1: callvirt instance string string::Replace(char, char) - IL_00d6: stloc.s 6 - IL_00d8: ldloc.0 - IL_00d9: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_00de: ldc.i4.0 - IL_00df: ble IL_00f2 + IL_0020: ldloc.0 + IL_0021: ldc.i4.2 + IL_0022: beq IL_00aa - IL_00e4: nop - IL_00e5: ldloc.0 - IL_00e6: ldstr "." - IL_00eb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00f0: pop - IL_00f1: nop - IL_00f2: ldloc.0 - IL_00f3: ldloc.s 6 - IL_00f5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00fa: pop - IL_00fb: nop - IL_00fc: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0101: stloc.s 7 - IL_0103: ldloc.0 - IL_0104: callvirt instance string object::ToString() - IL_0109: ldc.i4.s 0x2e - IL_010b: ldc.i4.0 - IL_010c: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0111: stloc.s 8 - IL_0113: ldc.i4.0 - IL_0114: stloc.s 9 - IL_0116: br IL_01c6 + IL_0027: br IL_00e9 - IL_011b: nop - IL_011c: ldloc.s 8 - IL_011e: ldloc.s 9 - IL_0120: ldelem.ref - IL_0121: stloc.s 10 - IL_0123: ldloc.s 10 - IL_0125: callvirt instance int32 string::get_Length() - IL_012a: brtrue IL_0135 + IL_002c: ldarg.0 + IL_002d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0032: ldstr "/c " + IL_0037: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_003c: pop + IL_003d: ldarg.0 + IL_003e: ldc.i4 3000 + IL_0043: ldstr "String_CreatingCOM+Application" + IL_0048: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004d: ldc.i4.1 + IL_004e: newarr [mscorlib]System.Object + IL_0053: dup + IL_0054: ldc.i4.0 + IL_0055: ldarg.0 + IL_0056: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() + IL_005b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0060: stelem.ref + IL_0061: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0066: br IL_00e9 - IL_012f: nop - IL_0130: br IL_01c0 + IL_006b: ldarg.0 + IL_006c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0071: ldstr "/fc " + IL_0076: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_007b: pop + IL_007c: ldarg.0 + IL_007d: ldc.i4 3000 + IL_0082: ldstr "String_FindingCOM+Application" + IL_0087: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_008c: ldc.i4.1 + IL_008d: newarr [mscorlib]System.Object + IL_0092: dup + IL_0093: ldc.i4.0 + IL_0094: ldarg.0 + IL_0095: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() + IL_009a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_009f: stelem.ref + IL_00a0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a5: br IL_00e9 - IL_0135: ldc.i4.0 - IL_0136: stloc.s 11 - IL_0138: br IL_01a7 + IL_00aa: ldarg.0 + IL_00ab: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_00b0: ldstr "/u " + IL_00b5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ba: pop + IL_00bb: ldarg.0 + IL_00bc: ldc.i4 3000 + IL_00c1: ldstr "String_UninstallingCOM+Application" + IL_00c6: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00cb: ldc.i4.1 + IL_00cc: newarr [mscorlib]System.Object + IL_00d1: dup + IL_00d2: ldc.i4.0 + IL_00d3: ldarg.0 + IL_00d4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() + IL_00d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00de: stelem.ref + IL_00df: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00e4: br IL_00e9 - IL_013d: nop - IL_013e: ldloc.s 10 - IL_0140: ldloc.s 11 - IL_0142: callvirt instance char string::get_Chars(int32) - IL_0147: stloc.s 12 - IL_0149: ldloc.s 11 - IL_014b: brtrue IL_0177 + IL_00e9: ldarg.0 + IL_00ea: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_TypeLibrary() + IL_00ef: brfalse IL_0112 - IL_0150: ldloc.s 12 - IL_0152: call bool char::IsDigit(char) - IL_0157: brfalse IL_0177 + IL_00f4: nop + IL_00f5: ldarg.0 + IL_00f6: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_00fb: ldstr "/tlb:\"{0}\" " + IL_0100: ldarg.0 + IL_0101: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_TypeLibrary() + IL_0106: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_010b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0110: pop + IL_0111: nop + IL_0112: ldarg.0 + IL_0113: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingTypeLibrary() + IL_0118: brfalse IL_0130 - IL_015c: nop - IL_015d: ldloc.s 7 - IL_015f: ldc.i4.s 0x5f - IL_0161: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0166: pop - IL_0167: ldloc.s 7 - IL_0169: ldloc.s 12 - IL_016b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0170: pop - IL_0171: nop - IL_0172: br IL_01a0 + IL_011d: nop + IL_011e: ldarg.0 + IL_011f: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0124: ldstr "/extlb " + IL_0129: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_012e: pop + IL_012f: nop + IL_0130: ldarg.0 + IL_0131: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_NoReconfig() + IL_0136: brfalse IL_014e - IL_0177: ldloc.s 12 - IL_0179: call bool char::IsLetterOrDigit(char) - IL_017e: brtrue IL_0194 + IL_013b: nop + IL_013c: ldarg.0 + IL_013d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0142: ldstr "/noreconfig " + IL_0147: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_014c: pop + IL_014d: nop + IL_014e: ldarg.0 + IL_014f: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_ComponentsOnly() + IL_0154: brfalse IL_016c - IL_0183: nop - IL_0184: ldloc.s 7 - IL_0186: ldc.i4.s 0x5f - IL_0188: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_018d: pop - IL_018e: nop - IL_018f: br IL_01a0 + IL_0159: nop + IL_015a: ldarg.0 + IL_015b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0160: ldstr "/componly " + IL_0165: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_016a: pop + IL_016b: nop + IL_016c: ldarg.0 + IL_016d: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_ApplicationName() + IL_0172: brfalse IL_0190 - IL_0194: nop - IL_0195: ldloc.s 7 - IL_0197: ldloc.s 12 - IL_0199: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_019e: pop - IL_019f: nop - IL_01a0: nop - IL_01a1: ldloc.s 11 - IL_01a3: ldc.i4.1 - IL_01a4: add - IL_01a5: stloc.s 11 - IL_01a7: ldloc.s 11 - IL_01a9: ldloc.s 10 - IL_01ab: callvirt instance int32 string::get_Length() - IL_01b0: blt IL_013d + IL_0177: nop + IL_0178: ldarg.0 + IL_0179: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_017e: ldstr "/appname:\"{0}\" " + IL_0183: ldarg.0 + IL_0184: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_ApplicationName() + IL_0189: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_018e: pop + IL_018f: nop + IL_0190: ldarg.0 + IL_0191: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingApplication() + IL_0196: brfalse IL_01ae - IL_01b5: ldloc.s 7 - IL_01b7: ldc.i4.s 0x2e - IL_01b9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_01be: pop - IL_01bf: nop - IL_01c0: ldloc.s 9 - IL_01c2: ldc.i4.1 - IL_01c3: add - IL_01c4: stloc.s 9 - IL_01c6: ldloc.s 9 - IL_01c8: ldloc.s 8 - IL_01ca: ldlen - IL_01cb: conv.i4 - IL_01cc: blt IL_011b + IL_019b: nop + IL_019c: ldarg.0 + IL_019d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_01a2: ldstr "/exapp " + IL_01a7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01ac: pop + IL_01ad: nop + IL_01ae: ldarg.0 + IL_01af: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_PartitionName() + IL_01b4: brfalse IL_01d2 - IL_01d1: ldloc.s 7 - IL_01d3: ldarg.1 - IL_01d4: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_01d9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01de: pop - IL_01df: ldloc.s 7 - IL_01e1: callvirt instance string object::ToString() - IL_01e6: stloc.s 13 - IL_01e8: br IL_01ed + IL_01b9: nop + IL_01ba: ldarg.0 + IL_01bb: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_01c0: ldstr "/parname:\"{0}\" " + IL_01c5: ldarg.0 + IL_01c6: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_PartitionName() + IL_01cb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_01d0: pop + IL_01d1: nop + IL_01d2: ldarg.0 + IL_01d3: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_01d8: brtrue IL_01f0 - IL_01ed: ldloc.s 13 - IL_01ef: ret - } // end of method ResourceFileSet::GetManifestResourceName + IL_01dd: nop + IL_01de: ldarg.0 + IL_01df: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_01e4: ldstr "/quiet " + IL_01e9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01ee: pop + IL_01ef: nop + IL_01f0: ldarg.0 + IL_01f1: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_01f6: ldstr "/nologo " + IL_01fb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0200: pop + IL_0201: ldarg.0 + IL_0202: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder + IL_0207: ldstr "\"" + IL_020c: ldarg.0 + IL_020d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() + IL_0212: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0217: ldstr "\"" + IL_021c: call string string::Concat(string, string, string) + IL_0221: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0226: pop + IL_0227: ldarg.0 + IL_0228: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_022d: ret + } // end of method RegsvcsTask::ExecuteTask - .property instance string Prefix () + .property instance valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType Action () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 70 72 65 66 69 78 00 00 ) // ...prefix.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 61 63 74 69 6F 6E 00 00 ) // ...action.. - .get instance default string NAnt.DotNet.Types.ResourceFileSet::get_Prefix () - .set instance default void NAnt.DotNet.Types.ResourceFileSet::set_Prefix (string 'value') + .get instance default valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::get_Action () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_Action (valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType 'value') } - .property instance bool DynamicPrefix () + .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo TypeLibrary () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 74 6C 62 00 00 ) // ...tlb.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::get_TypeLibrary () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_TypeLibrary (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance bool ExistingTypeLibrary () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 65 78 69 73 74 69 6E 67 74 6C 62 00 00 ) // ...existingtlb.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingTypeLibrary () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ExistingTypeLibrary (bool 'value') + } + .property instance bool NoReconfig () { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 6E 6F 72 65 63 6F 6E 66 69 67 00 00 ) // ...noreconfig.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_NoReconfig () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_NoReconfig (bool 'value') + } + .property instance bool ComponentsOnly () + { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 64 79 6E 61 6D 69 63 70 72 65 66 69 78 // ...dynamicprefix - 00 00 ) // .. + 01 00 0E 63 6F 6D 70 6F 6E 65 6E 74 73 6F 6E 6C // ...componentsonl + 79 00 00 ) // y.. - .get instance default bool NAnt.DotNet.Types.ResourceFileSet::get_DynamicPrefix () - .set instance default void NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix (bool 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_ComponentsOnly () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ComponentsOnly (bool 'value') } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ResxFiles () + .property instance bool ExistingApplication () { - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 65 78 69 73 74 69 6E 67 61 70 70 00 00 ) // ...existingapp.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingApplication () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ExistingApplication (bool 'value') } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet NonResxFiles () + .property instance string ApplicationName () { - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Types.ResourceFileSet::get_NonResxFiles () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 61 70 70 6C 69 63 61 74 69 6F 6E 00 00 ) // ...application.. + + .get instance default string NAnt.DotNet.Tasks.RegsvcsTask::get_ApplicationName () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ApplicationName (string 'value') } - } // end of class NAnt.DotNet.Types.ResourceFileSet + .property instance string PartitionName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 70 61 72 74 69 74 69 6F 6E 00 00 ) // ...partition.. + + .get instance default string NAnt.DotNet.Tasks.RegsvcsTask::get_PartitionName () + .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_PartitionName (string 'value') + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.DotNet.Tasks.RegsvcsTask::get_ProgramArguments () + } + .class nested public auto ansi sealed ActionType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType FindOrCreate = int32(0x00000000) + .field public static literal valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType Create = int32(0x00000001) + .field public static literal valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType Uninstall = int32(0x00000002) + + } // end of class ActionType + + } // end of class NAnt.DotNet.Tasks.RegsvcsTask } -.namespace NAnt.DotNet.Types +.namespace NAnt.DotNet.Tasks { - .class public auto ansi serializable beforefieldinit ResourceFileSetCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit VbcTask + extends NAnt.DotNet.Tasks.CompilerBase { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 76 62 63 00 00 ) // ...vbc.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ - // method line 241 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x4344 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method ResourceFileSetCollection::.ctor + .field private string _baseAddress + .field private valuetype NAnt.DotNet.Types.DebugOutput _debugOutput + .field private class [mscorlib]System.IO.FileInfo _docFile + .field private bool _nostdlib + .field private string _optionCompare + .field private bool _optionExplicit + .field private bool _optionStrict + .field private bool _optionOptimize + .field private bool _removeintchecks + .field private string _rootNamespace + .field private string _platform + .field private class NAnt.DotNet.Types.NamespaceImportCollection _imports + .field private bool _supportsDocGeneration + .field private bool _supportsNoStdLib + .field private bool _supportsPlatform + .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex + .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex - // method line 242 + // method line 146 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.ResourceFileSetCollection 'value') cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x434d - // Code size 15 (0xf) + // Method begins at RVA 0x4c8e + // Code size 25 (0x19) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::_debugOutput IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.ResourceFileSetCollection::AddRange(class NAnt.DotNet.Types.ResourceFileSetCollection) - IL_000e: ret - } // end of method ResourceFileSetCollection::.ctor + IL_0008: newobj instance void class NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() + IL_000d: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::_imports + IL_0012: ldarg.0 + IL_0013: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() + IL_0018: ret + } // end of method VbcTask::.ctor - // method line 243 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.ResourceFileSet[] 'value') cil managed + // method line 147 + .method public hidebysig specialname + instance default string get_BaseAddress () cil managed { - // Method begins at RVA 0x435d + // Method begins at RVA 0x4ca8 // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.DotNet.Types.ResourceFileSetCollection::AddRange(class NAnt.DotNet.Types.ResourceFileSet[]) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_baseAddress + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method ResourceFileSetCollection::.ctor + } // end of method VbcTask::get_BaseAddress - // method line 244 + // method line 148 .method public hidebysig specialname - instance default class NAnt.DotNet.Types.ResourceFileSet get_Item (int32 index) cil managed + instance default void set_BaseAddress (string 'value') cil managed { - // Method begins at RVA 0x4370 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.DotNet.Types.ResourceFileSet V_0) + // Method begins at RVA 0x4cc3 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.DotNet.Types.ResourceFileSet - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ResourceFileSetCollection::get_Item + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_baseAddress + IL_000d: ret + } // end of method VbcTask::set_BaseAddress - // method line 245 + // method line 149 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.DotNet.Types.ResourceFileSet 'value') cil managed + instance default valuetype NAnt.DotNet.Types.DebugOutput get_DebugOutput () cil managed { - // Method begins at RVA 0x4396 + // Method begins at RVA 0x4cd4 // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method ResourceFileSetCollection::set_Item - - // method line 246 - .method public hidebysig - instance default int32 Add (class NAnt.DotNet.Types.ResourceFileSet item) cil managed - { - // Method begins at RVA 0x43a8 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ResourceFileSetCollection::Add - - // method line 247 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.ResourceFileSet[] items) cil managed - { - // Method begins at RVA 0x43cc - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.DotNet.Types.ResourceFileSetCollection::Add(class NAnt.DotNet.Types.ResourceFileSet) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 - - IL_0021: ret - } // end of method ResourceFileSetCollection::AddRange - - // method line 248 - .method public hidebysig - instance default void AddRange (class NAnt.DotNet.Types.ResourceFileSetCollection items) cil managed - { - // Method begins at RVA 0x43fc - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Types.ResourceFileSetCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.DotNet.Types.ResourceFileSetCollection::Add(class NAnt.DotNet.Types.ResourceFileSet) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method ResourceFileSetCollection::AddRange - - // method line 249 - .method public hidebysig - instance default bool Contains (class NAnt.DotNet.Types.ResourceFileSet item) cil managed - { - // Method begins at RVA 0x4434 - // Code size 21 (0x15) - .maxstack 2 + .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.DotNet.Types.DebugOutput V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::_debugOutput + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ResourceFileSetCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VbcTask::get_DebugOutput - // method line 250 - .method public hidebysig - instance default void CopyTo (class NAnt.DotNet.Types.ResourceFileSet[] 'array', int32 index) cil managed + // method line 150 + .method public hidebysig specialname + instance default void set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') cil managed { - // Method begins at RVA 0x4455 - // Code size 15 (0xf) + // Method begins at RVA 0x4cef + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method ResourceFileSetCollection::CopyTo + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::_debugOutput + IL_0008: ret + } // end of method VbcTask::set_DebugOutput - // method line 251 - .method public hidebysig - instance default int32 IndexOf (class NAnt.DotNet.Types.ResourceFileSet item) cil managed + // method line 151 + .method public virtual hidebysig specialname + instance default bool get_Debug () cil managed { - // Method begins at RVA 0x4468 + // Method begins at RVA 0x4cfc // Code size 21 (0x15) .maxstack 2 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_0002: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VbcTask::get_DebugOutput() + IL_0007: ldc.i4.0 + IL_0008: ceq + IL_000a: ldc.i4.0 + IL_000b: ceq IL_000d: stloc.0 IL_000e: br IL_0013 IL_0013: ldloc.0 IL_0014: ret - } // end of method ResourceFileSetCollection::IndexOf + } // end of method VbcTask::get_Debug - // method line 252 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.DotNet.Types.ResourceFileSet item) cil managed + // method line 152 + .method public virtual hidebysig specialname + instance default void set_Debug (bool 'value') cil managed { - // Method begins at RVA 0x4489 - // Code size 15 (0xf) + // Method begins at RVA 0x4d1d + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method ResourceFileSetCollection::Insert + IL_0002: ldc.i4.1 + IL_0003: call instance void class NAnt.DotNet.Tasks.VbcTask::set_DebugOutput(valuetype NAnt.DotNet.Types.DebugOutput) + IL_0008: ret + } // end of method VbcTask::set_Debug - // method line 253 - .method public hidebysig - instance default class NAnt.DotNet.Types.ResourceFileSetEnumerator GetEnumerator () cil managed + // method line 153 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_DocFile () cil managed { - // Method begins at RVA 0x449c + // Method begins at RVA 0x4d28 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.ResourceFileSetEnumerator V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.DotNet.Types.ResourceFileSetEnumerator::'.ctor'(class NAnt.DotNet.Types.ResourceFileSetCollection) + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.VbcTask::_docFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResourceFileSetCollection::GetEnumerator + } // end of method VbcTask::get_DocFile - // method line 254 - .method public hidebysig - instance default void Remove (class NAnt.DotNet.Types.ResourceFileSet item) cil managed + // method line 154 + .method public hidebysig specialname + instance default void set_DocFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x44b7 - // Code size 14 (0xe) + // Method begins at RVA 0x4d43 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method ResourceFileSetCollection::Remove - - .property instance class NAnt.DotNet.Types.ResourceFileSet Item (int32) - { - .get instance default class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Types.ResourceFileSetCollection::get_Item (int32 index) - .set instance default void NAnt.DotNet.Types.ResourceFileSetCollection::set_Item (int32 index, class NAnt.DotNet.Types.ResourceFileSet 'value') - } - } // end of class NAnt.DotNet.Types.ResourceFileSetCollection -} - -.namespace NAnt.DotNet.Types -{ - .class public auto ansi beforefieldinit ResourceFileSetEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.VbcTask::_docFile + IL_0008: ret + } // end of method VbcTask::set_DocFile - // method line 255 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Types.ResourceFileSetCollection arguments) cil managed + // method line 155 + .method public hidebysig specialname + instance default void set_ImportsString (string 'value') cil managed { - // Method begins at RVA 0x44c8 - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0x4d50 + // Code size 72 (0x48) + .maxstack 3 .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator - IL_0015: ret - } // end of method ResourceFileSetEnumerator::.ctor - - // method line 256 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.ResourceFileSet get_Current () cil managed - { - // Method begins at RVA 0x44ec - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.ResourceFileSet V_0) + string[] V_0, + string V_1, + string[] V_2, + int32 V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.DotNet.Types.ResourceFileSet - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0001: ldarg.1 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_0047 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ResourceFileSetEnumerator::get_Current + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: ldc.i4.s 0x2c + IL_0010: ldc.i4.0 + IL_0011: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0016: stloc.0 + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: stloc.2 + IL_001a: ldc.i4.0 + IL_001b: stloc.3 + IL_001c: br IL_003d - // method line 257 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + IL_0021: ldloc.2 + IL_0022: ldloc.3 + IL_0023: ldelem.ref + IL_0024: stloc.1 + IL_0025: nop + IL_0026: ldarg.0 + IL_0027: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.VbcTask::get_Imports() + IL_002c: ldloc.1 + IL_002d: newobj instance void class NAnt.DotNet.Types.NamespaceImport::'.ctor'(string) + IL_0032: callvirt instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::Add(class NAnt.DotNet.Types.NamespaceImport) + IL_0037: pop + IL_0038: nop + IL_0039: ldloc.3 + IL_003a: ldc.i4.1 + IL_003b: add + IL_003c: stloc.3 + IL_003d: ldloc.3 + IL_003e: ldloc.2 + IL_003f: ldlen + IL_0040: conv.i4 + IL_0041: blt IL_0021 + + IL_0046: nop + IL_0047: ret + } // end of method VbcTask::set_ImportsString + + // method line 156 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.NamespaceImportCollection get_Imports () cil managed { - // Method begins at RVA 0x4514 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x4da4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + class NAnt.DotNet.Types.NamespaceImportCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::_imports + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ResourceFileSetEnumerator::System.Collections.IEnumerator.get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VbcTask::get_Imports - // method line 258 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 157 + .method public hidebysig specialname + instance default void set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') cil managed { - // Method begins at RVA 0x4534 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x4dbf + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ResourceFileSetEnumerator::MoveNext + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::_imports + IL_0008: ret + } // end of method VbcTask::set_Imports - // method line 259 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 158 + .method public hidebysig specialname + instance default bool get_NoStdLib () cil managed { - // Method begins at RVA 0x4554 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x4dcc + // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ResourceFileSetEnumerator::System.Collections.IEnumerator.MoveNext + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_nostdlib + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 260 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x4574 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ResourceFileSetEnumerator::Reset + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VbcTask::get_NoStdLib - // method line 261 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + // method line 159 + .method public hidebysig specialname + instance default void set_NoStdLib (bool 'value') cil managed { - // Method begins at RVA 0x4582 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x4de7 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ResourceFileSetEnumerator::System.Collections.IEnumerator.Reset - - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.DotNet.Types.ResourceFileSetEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.DotNet.Types.ResourceFileSet Current () - { - .get instance default class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Types.ResourceFileSetEnumerator::get_Current () - } - } // end of class NAnt.DotNet.Types.ResourceFileSetEnumerator -} - -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit VjcTask - extends NAnt.DotNet.Tasks.CompilerBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 76 6A 63 00 00 ) // ...vjc.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ - - .field private string _baseAddress - .field private valuetype NAnt.DotNet.Types.DebugOutput _debugOutput - .field private bool _secureScoping - .field private string _x - .field private string _libPath - .field private string _jcpa - .field private string _codepage - .field private string _warningLevel - .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex - .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex - - // method line 262 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x68ed - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::_debugOutput - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() - IL_000d: ret - } // end of method VjcTask::.ctor + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_nostdlib + IL_0008: ret + } // end of method VbcTask::set_NoStdLib - // method line 263 + // method line 160 .method public hidebysig specialname - instance default string get_BaseAddress () cil managed + instance default string get_OptionCompare () cil managed { - // Method begins at RVA 0x68fc + // Method begins at RVA 0x4df4 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_baseAddress + IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_optionCompare IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_BaseAddress + } // end of method VbcTask::get_OptionCompare - // method line 264 + // method line 161 .method public hidebysig specialname - instance default void set_BaseAddress (string 'value') cil managed + instance default void set_OptionCompare (string 'value') cil managed { - // Method begins at RVA 0x6917 + // Method begins at RVA 0x4e0f // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_baseAddress + IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_optionCompare IL_000d: ret - } // end of method VjcTask::set_BaseAddress + } // end of method VbcTask::set_OptionCompare - // method line 265 + // method line 162 .method public hidebysig specialname - instance default valuetype NAnt.DotNet.Types.DebugOutput get_DebugOutput () cil managed + instance default bool get_OptionExplicit () cil managed { - // Method begins at RVA 0x6928 + // Method begins at RVA 0x4e20 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.DotNet.Types.DebugOutput V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::_debugOutput + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_optionExplicit IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_DebugOutput + } // end of method VbcTask::get_OptionExplicit - // method line 266 + // method line 163 .method public hidebysig specialname - instance default void set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') cil managed + instance default void set_OptionExplicit (bool 'value') cil managed { - // Method begins at RVA 0x6943 + // Method begins at RVA 0x4e3b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::_debugOutput + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_optionExplicit IL_0008: ret - } // end of method VjcTask::set_DebugOutput + } // end of method VbcTask::set_OptionExplicit - // method line 267 - .method public virtual hidebysig specialname - instance default bool get_Debug () cil managed + // method line 164 + .method public hidebysig specialname + instance default bool get_OptionOptimize () cil managed { - // Method begins at RVA 0x6950 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x4e48 + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VjcTask::get_DebugOutput() - IL_0007: ldc.i4.0 - IL_0008: ceq - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method VjcTask::get_Debug - - // method line 268 - .method public virtual hidebysig specialname - instance default void set_Debug (bool 'value') cil managed - { - // Method begins at RVA 0x6971 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.VjcTask::set_DebugOutput(valuetype NAnt.DotNet.Types.DebugOutput) - IL_0008: ret - } // end of method VjcTask::set_Debug - - // method line 269 - .method public hidebysig specialname - instance default bool get_SecureScoping () cil managed - { - // Method begins at RVA 0x697c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VjcTask::_secureScoping + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_optionOptimize IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_SecureScoping + } // end of method VbcTask::get_OptionOptimize - // method line 270 + // method line 165 .method public hidebysig specialname - instance default void set_SecureScoping (bool 'value') cil managed + instance default void set_OptionOptimize (bool 'value') cil managed { - // Method begins at RVA 0x6997 + // Method begins at RVA 0x4e63 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VjcTask::_secureScoping + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_optionOptimize IL_0008: ret - } // end of method VjcTask::set_SecureScoping + } // end of method VbcTask::set_OptionOptimize - // method line 271 + // method line 166 .method public hidebysig specialname - instance default string get_X () cil managed + instance default bool get_OptionStrict () cil managed { - // Method begins at RVA 0x69a4 + // Method begins at RVA 0x4e70 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_x + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_optionStrict IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_X + } // end of method VbcTask::get_OptionStrict - // method line 272 + // method line 167 .method public hidebysig specialname - instance default void set_X (string 'value') cil managed + instance default void set_OptionStrict (bool 'value') cil managed { - // Method begins at RVA 0x69bf - // Code size 14 (0xe) + // Method begins at RVA 0x4e8b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_x - IL_000d: ret - } // end of method VjcTask::set_X + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_optionStrict + IL_0008: ret + } // end of method VbcTask::set_OptionStrict - // method line 273 + // method line 168 .method public hidebysig specialname - instance default string get_LibPath () cil managed + instance default string get_Platform () cil managed { - // Method begins at RVA 0x69d0 + // Method begins at RVA 0x4e98 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_libPath + IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_platform IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_LibPath + } // end of method VbcTask::get_Platform - // method line 274 + // method line 169 .method public hidebysig specialname - instance default void set_LibPath (string 'value') cil managed + instance default void set_Platform (string 'value') cil managed { - // Method begins at RVA 0x69eb + // Method begins at RVA 0x4eb3 // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_libPath + IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_platform IL_000d: ret - } // end of method VjcTask::set_LibPath + } // end of method VbcTask::set_Platform - // method line 275 + // method line 170 .method public hidebysig specialname - instance default string get_Jcpa () cil managed + instance default bool get_RemoveIntChecks () cil managed { - // Method begins at RVA 0x69fc + // Method begins at RVA 0x4ec4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_jcpa + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_removeintchecks IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_Jcpa + } // end of method VbcTask::get_RemoveIntChecks - // method line 276 + // method line 171 .method public hidebysig specialname - instance default void set_Jcpa (string 'value') cil managed + instance default void set_RemoveIntChecks (bool 'value') cil managed { - // Method begins at RVA 0x6a17 - // Code size 14 (0xe) + // Method begins at RVA 0x4edf + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_jcpa - IL_000d: ret - } // end of method VjcTask::set_Jcpa + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_removeintchecks + IL_0008: ret + } // end of method VbcTask::set_RemoveIntChecks - // method line 277 + // method line 172 .method public hidebysig specialname - instance default string get_Codepage () cil managed + instance default string get_RootNamespace () cil managed { - // Method begins at RVA 0x6a28 + // Method begins at RVA 0x4eec // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_codepage + IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_rootNamespace IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_Codepage + } // end of method VbcTask::get_RootNamespace - // method line 278 + // method line 173 .method public hidebysig specialname - instance default void set_Codepage (string 'value') cil managed + instance default void set_RootNamespace (string 'value') cil managed { - // Method begins at RVA 0x6a43 + // Method begins at RVA 0x4f07 // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_codepage + IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_rootNamespace IL_000d: ret - } // end of method VjcTask::set_Codepage + } // end of method VbcTask::set_RootNamespace - // method line 279 + // method line 174 .method public hidebysig specialname - instance default string get_WarningLevel () cil managed + instance default bool get_SupportsDocGeneration () cil managed { - // Method begins at RVA 0x6a54 + // Method begins at RVA 0x4f18 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_warningLevel + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_supportsDocGeneration IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_WarningLevel + } // end of method VbcTask::get_SupportsDocGeneration - // method line 280 + // method line 175 .method public hidebysig specialname - instance default void set_WarningLevel (string 'value') cil managed + instance default void set_SupportsDocGeneration (bool 'value') cil managed { - // Method begins at RVA 0x6a6f - // Code size 14 (0xe) + // Method begins at RVA 0x4f33 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_warningLevel - IL_000d: ret - } // end of method VjcTask::set_WarningLevel - - // method line 281 - .method public virtual hidebysig specialname - instance default class NAnt.DotNet.Types.WarningAsError get_WarningAsError () cil managed - { - // Method begins at RVA 0x6a80 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.WarningAsError V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VjcTask::get_WarningAsError + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_supportsDocGeneration + IL_0008: ret + } // end of method VbcTask::set_SupportsDocGeneration - // method line 282 - .method public virtual hidebysig specialname - instance default class NAnt.DotNet.Types.PackageCollection get_Packages () cil managed + // method line 176 + .method public hidebysig specialname + instance default bool get_SupportsNoStdLib () cil managed { - // Method begins at RVA 0x6a9c + // Method begins at RVA 0x4f40 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.PackageCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.PackageCollection class NAnt.DotNet.Tasks.CompilerBase::get_Packages() + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_supportsNoStdLib IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_Packages + } // end of method VbcTask::get_SupportsNoStdLib - // method line 283 - .method public virtual hidebysig specialname - instance default void set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') cil managed + // method line 177 + .method public hidebysig specialname + instance default void set_SupportsNoStdLib (bool 'value') cil managed { - // Method begins at RVA 0x6ab7 + // Method begins at RVA 0x4f5b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_Packages(class NAnt.DotNet.Types.PackageCollection) + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_supportsNoStdLib IL_0008: ret - } // end of method VjcTask::set_Packages + } // end of method VbcTask::set_SupportsNoStdLib - // method line 284 - .method public virtual hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_Modules () cil managed + // method line 178 + .method public hidebysig specialname + instance default bool get_SupportsPlatform () cil managed { - // Method begins at RVA 0x6ac4 + // Method begins at RVA 0x4f68 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_supportsPlatform IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VjcTask::get_Modules + } // end of method VbcTask::get_SupportsPlatform - // method line 285 - .method public virtual hidebysig specialname - instance default void set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + // method line 179 + .method public hidebysig specialname + instance default void set_SupportsPlatform (bool 'value') cil managed { - // Method begins at RVA 0x6adf + // Method begins at RVA 0x4f83 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_Modules(class NAnt.DotNet.Types.AssemblyFileSet) + IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_supportsPlatform IL_0008: ret - } // end of method VjcTask::set_Modules - - // method line 286 - .method family virtual hidebysig - instance default void WriteModuleReferences (class [mscorlib]System.IO.TextWriter writer) cil managed - { - // Method begins at RVA 0x6ae9 - // Code size 47 (0x2f) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0011: ldc.i4.0 - IL_0012: ble IL_002e - - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldc.i4 4000 - IL_001e: ldstr "String_JscDoesNotSupportLinkingModules" - IL_0023: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_002d: nop - IL_002e: ret - } // end of method VjcTask::WriteModuleReferences + } // end of method VbcTask::set_SupportsPlatform - // method line 287 + // method line 180 .method family virtual hidebysig - instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed + instance default class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage GetResourceLinkage (string dependentFile, class [mscorlib]System.Globalization.CultureInfo resourceCulture) cil managed { - // Method begins at RVA 0x6b1c - // Code size 421 (0x1a5) + // Method begins at RVA 0x4f90 + // Code size 105 (0x69) .maxstack 4 .locals init ( - valuetype NAnt.DotNet.Types.DebugOutput V_0) + class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_0, + class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.VjcTask::get_BaseAddress() - IL_0007: brfalse IL_0020 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: call instance class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage class NAnt.DotNet.Tasks.CompilerBase::GetResourceLinkage(string, class [mscorlib]System.Globalization.CultureInfo) + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: brfalse IL_0060 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: ldstr "baseaddress" - IL_0014: ldarg.0 - IL_0015: call instance string class NAnt.DotNet.Tasks.VjcTask::get_BaseAddress() - IL_001a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: call instance bool class NAnt.DotNet.Tasks.VjcTask::get_SecureScoping() - IL_0026: brfalse IL_0039 - - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: ldarg.1 - IL_002e: ldstr "securescoping" - IL_0033: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0038: nop - IL_0039: ldarg.0 - IL_003a: call instance string class NAnt.DotNet.Tasks.VjcTask::get_X() - IL_003f: brfalse IL_0058 - - IL_0044: nop - IL_0045: ldarg.0 - IL_0046: ldarg.1 - IL_0047: ldstr "x" - IL_004c: ldarg.0 - IL_004d: call instance string class NAnt.DotNet.Tasks.VjcTask::get_X() - IL_0052: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: call instance string class NAnt.DotNet.Tasks.VjcTask::get_LibPath() - IL_005e: brfalse IL_0077 - - IL_0063: nop - IL_0064: ldarg.0 - IL_0065: ldarg.1 - IL_0066: ldstr "libpath" - IL_006b: ldarg.0 - IL_006c: call instance string class NAnt.DotNet.Tasks.VjcTask::get_LibPath() - IL_0071: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0076: nop - IL_0077: ldarg.0 - IL_0078: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Jcpa() - IL_007d: brfalse IL_0096 - - IL_0082: nop - IL_0083: ldarg.0 - IL_0084: ldarg.1 - IL_0085: ldstr "jcpa" - IL_008a: ldarg.0 - IL_008b: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Jcpa() - IL_0090: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0095: nop - IL_0096: ldarg.0 - IL_0097: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Codepage() - IL_009c: brfalse IL_00b5 - - IL_00a1: nop - IL_00a2: ldarg.0 - IL_00a3: ldarg.1 - IL_00a4: ldstr "codepage" - IL_00a9: ldarg.0 - IL_00aa: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Codepage() - IL_00af: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_00b4: nop - IL_00b5: ldarg.0 - IL_00b6: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VjcTask::get_DebugOutput() - IL_00bb: stloc.0 - IL_00bc: ldloc.0 - IL_00bd: switch ( - IL_00d7, - IL_00dc, - IL_010f, - IL_0120) - IL_00d2: br IL_0136 - - IL_00d7: br IL_0161 - - IL_00dc: ldarg.0 - IL_00dd: ldarg.1 - IL_00de: ldstr "debug" - IL_00e3: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_00e8: ldarg.0 - IL_00e9: ldarg.1 - IL_00ea: ldstr "define" - IL_00ef: ldstr "DEBUG" - IL_00f4: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_00f9: ldarg.0 - IL_00fa: ldarg.1 - IL_00fb: ldstr "define" - IL_0100: ldstr "TRACE" - IL_0105: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_010a: br IL_0161 - - IL_010f: ldarg.0 - IL_0110: ldarg.1 - IL_0111: ldstr "debug" - IL_0116: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_011b: br IL_0161 + IL_0010: nop + IL_0011: ldarg.0 + IL_0012: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() + IL_0017: call bool string::IsNullOrEmpty(string) + IL_001c: brtrue IL_005f - IL_0120: ldarg.0 - IL_0121: ldarg.1 - IL_0122: ldstr "debug" - IL_0127: ldstr "pdbonly" - IL_012c: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0131: br IL_0161 + IL_0021: nop + IL_0022: ldloc.0 + IL_0023: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasNamespaceName() + IL_0028: brfalse IL_0050 - IL_0136: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_013b: ldstr "NA2011" - IL_0140: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0145: ldarg.0 - IL_0146: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VjcTask::get_DebugOutput() - IL_014b: box NAnt.DotNet.Types.DebugOutput - IL_0150: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0155: ldarg.0 - IL_0156: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_015b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0160: throw - IL_0161: ldarg.0 - IL_0162: call instance string class NAnt.DotNet.Tasks.VjcTask::get_WarningLevel() - IL_0167: brfalse IL_0180 + IL_002d: nop + IL_002e: ldloc.0 + IL_002f: ldarg.0 + IL_0030: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() + IL_0035: ldstr "." + IL_003a: ldloc.0 + IL_003b: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName() + IL_0040: call string string::Concat(string, string, string) + IL_0045: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_NamespaceName(string) + IL_004a: nop + IL_004b: br IL_005e - IL_016c: nop - IL_016d: ldarg.0 - IL_016e: ldarg.1 - IL_016f: ldstr "warn" - IL_0174: ldarg.0 - IL_0175: call instance string class NAnt.DotNet.Tasks.VjcTask::get_WarningLevel() - IL_017a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_017f: nop - IL_0180: ldarg.0 - IL_0181: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_0186: brfalse IL_01a4 + IL_0050: nop + IL_0051: ldloc.0 + IL_0052: ldarg.0 + IL_0053: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() + IL_0058: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_NamespaceName(string) + IL_005d: nop + IL_005e: nop + IL_005f: nop + IL_0060: ldloc.0 + IL_0061: stloc.1 + IL_0062: br IL_0067 - IL_018b: nop - IL_018c: ldarg.0 - IL_018d: ldarg.1 - IL_018e: ldstr "win32res" - IL_0193: ldarg.0 - IL_0194: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_0199: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_019e: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_01a3: nop - IL_01a4: ret - } // end of method VjcTask::WriteOptions + IL_0067: ldloc.1 + IL_0068: ret + } // end of method VbcTask::GetResourceLinkage - // method line 288 - .method public virtual hidebysig specialname - instance default string get_Extension () cil managed + // method line 181 + .method family virtual hidebysig + instance default void WriteConditionalCompilationConstants (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x6cd0 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x5008 + // Code size 72 (0x48) + .maxstack 4 .locals init ( - string V_0) + string[] V_0, + string V_1, + string[] V_2, + int32 V_3) IL_0000: nop - IL_0001: ldstr "jsl" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() + IL_0007: brfalse IL_0047 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method VjcTask::get_Extension + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() + IL_0013: ldc.i4.s 0x2c + IL_0015: ldc.i4.0 + IL_0016: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_001b: stloc.0 + IL_001c: nop + IL_001d: ldloc.0 + IL_001e: stloc.2 + IL_001f: ldc.i4.0 + IL_0020: stloc.3 + IL_0021: br IL_003d - // method line 289 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed - { - // Method begins at RVA 0x6cec - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) - IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_classNameRegex - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0026: ldloc.2 + IL_0027: ldloc.3 + IL_0028: ldelem.ref + IL_0029: stloc.1 + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: ldstr "define" + IL_0032: ldloc.1 + IL_0033: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0038: nop + IL_0039: ldloc.3 + IL_003a: ldc.i4.1 + IL_003b: add + IL_003c: stloc.3 + IL_003d: ldloc.3 + IL_003e: ldloc.2 + IL_003f: ldlen + IL_0040: conv.i4 + IL_0041: blt IL_0026 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method VjcTask::get_ClassNameRegex + IL_0046: nop + IL_0047: ret + } // end of method VbcTask::WriteConditionalCompilationConstants - // method line 290 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed + // method line 182 + .method family virtual hidebysig + instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x6d08 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x505c + // Code size 840 (0x348) + .maxstack 7 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) + valuetype NAnt.DotNet.Types.DebugOutput V_0, + string V_1) IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_namespaceRegex - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.DotNet.Tasks.VbcTask::get_BaseAddress() + IL_0007: brfalse IL_0020 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method VjcTask::get_NamespaceRegex + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: ldstr "baseaddress" + IL_0014: ldarg.0 + IL_0015: call instance string class NAnt.DotNet.Tasks.VbcTask::get_BaseAddress() + IL_001a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() + IL_0026: brfalse IL_0086 - // method line 291 - .method public virtual hidebysig specialname - instance default bool get_SupportsPackageReferences () cil managed - { - // Method begins at RVA 0x6d24 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsDocGeneration() + IL_0032: brfalse IL_0055 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method VjcTask::get_SupportsPackageReferences + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldarg.1 + IL_003a: ldstr "doc" + IL_003f: ldarg.0 + IL_0040: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() + IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_004f: nop + IL_0050: br IL_0085 - // method line 292 - .method public virtual hidebysig specialname - instance default void set_SupportsPackageReferences (bool 'value') cil managed - { - // Method begins at RVA 0x6d3a - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method VjcTask::set_SupportsPackageReferences + IL_0055: nop + IL_0056: ldarg.0 + IL_0057: ldc.i4 4000 + IL_005c: ldstr "String_CompilerDoesNotSupportXmlDoc" + IL_0061: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0066: ldc.i4.1 + IL_0067: newarr [mscorlib]System.Object + IL_006c: dup + IL_006d: ldc.i4.0 + IL_006e: ldarg.0 + IL_006f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0074: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0079: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_007e: stelem.ref + IL_007f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0084: nop + IL_0085: nop + IL_0086: ldarg.0 + IL_0087: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_NoStdLib() + IL_008c: brfalse IL_00e1 - // method line 293 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x6d3d - // Code size 31 (0x1f) - .maxstack 8 - IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|class\\s+(?\\w+)|(?\\w+))*" - IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_classNameRegex - IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|package\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" - IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_namespaceRegex - IL_001e: ret - } // end of method VjcTask::.cctor + IL_0091: nop + IL_0092: ldarg.0 + IL_0093: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsNoStdLib() + IL_0098: brfalse IL_00b0 - .property instance string BaseAddress () - { - .get instance default string NAnt.DotNet.Tasks.VjcTask::get_BaseAddress () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_BaseAddress (string 'value') - } - .property instance valuetype NAnt.DotNet.Types.DebugOutput DebugOutput () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. + IL_009d: nop + IL_009e: ldarg.0 + IL_009f: ldarg.1 + IL_00a0: ldstr "nostdlib" + IL_00a5: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_00aa: nop + IL_00ab: br IL_00e0 - .get instance default valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::get_DebugOutput () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') - } - .property instance bool Debug () - { - .get instance default bool NAnt.DotNet.Tasks.VjcTask::get_Debug () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Debug (bool 'value') - } - .property instance bool SecureScoping () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 73 65 63 75 72 65 73 63 6F 70 69 6E 67 // ...securescoping - 00 00 ) // .. + IL_00b0: nop + IL_00b1: ldarg.0 + IL_00b2: ldc.i4 4000 + IL_00b7: ldstr "String_CompilerDoesNotSupportNoStdLib" + IL_00bc: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00c1: ldc.i4.1 + IL_00c2: newarr [mscorlib]System.Object + IL_00c7: dup + IL_00c8: ldc.i4.0 + IL_00c9: ldarg.0 + IL_00ca: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00cf: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_00d4: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_00d9: stelem.ref + IL_00da: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00df: nop + IL_00e0: nop + IL_00e1: ldarg.0 + IL_00e2: call instance string class NAnt.DotNet.Tasks.VbcTask::get_Platform() + IL_00e7: brfalse IL_0142 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00ec: nop + IL_00ed: ldarg.0 + IL_00ee: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsPlatform() + IL_00f3: brfalse IL_0111 - .get instance default bool NAnt.DotNet.Tasks.VjcTask::get_SecureScoping () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_SecureScoping (bool 'value') - } - .property instance string X () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 01 78 00 00 ) // ...x.. + IL_00f8: nop + IL_00f9: ldarg.0 + IL_00fa: ldarg.1 + IL_00fb: ldstr "platform" + IL_0100: ldarg.0 + IL_0101: call instance string class NAnt.DotNet.Tasks.VbcTask::get_Platform() + IL_0106: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_010b: nop + IL_010c: br IL_0141 - .get instance default string NAnt.DotNet.Tasks.VjcTask::get_X () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_X (string 'value') - } - .property instance string LibPath () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6C 69 62 70 61 74 68 00 00 ) // ...libpath.. + IL_0111: nop + IL_0112: ldarg.0 + IL_0113: ldc.i4 4000 + IL_0118: ldstr "String_CompilerDoesNotSupportPlatform" + IL_011d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0122: ldc.i4.1 + IL_0123: newarr [mscorlib]System.Object + IL_0128: dup + IL_0129: ldc.i4.0 + IL_012a: ldarg.0 + IL_012b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0130: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0135: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_013a: stelem.ref + IL_013b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0140: nop + IL_0141: nop + IL_0142: ldarg.0 + IL_0143: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_0148: brfalse IL_0166 - .get instance default string NAnt.DotNet.Tasks.VjcTask::get_LibPath () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_LibPath (string 'value') - } - .property instance string Jcpa () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6A 63 70 61 00 00 ) // ...jcpa.. + IL_014d: nop + IL_014e: ldarg.0 + IL_014f: ldarg.1 + IL_0150: ldstr "win32resource" + IL_0155: ldarg.0 + IL_0156: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_015b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0160: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0165: nop + IL_0166: ldarg.0 + IL_0167: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VbcTask::get_DebugOutput() + IL_016c: stloc.0 + IL_016d: ldloc.0 + IL_016e: switch ( + IL_0188, + IL_018d, + IL_01c0, + IL_01d1) + IL_0183: br IL_01e7 - .get instance default string NAnt.DotNet.Tasks.VjcTask::get_Jcpa () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Jcpa (string 'value') - } - .property instance string Codepage () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 70 61 67 65 00 00 ) // ...codepage.. + IL_0188: br IL_0212 - .get instance default string NAnt.DotNet.Tasks.VjcTask::get_Codepage () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Codepage (string 'value') - } - .property instance string WarningLevel () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 77 61 72 6E 69 6E 67 6C 65 76 65 6C 00 // ...warninglevel. - 00 ) // . + IL_018d: ldarg.0 + IL_018e: ldarg.1 + IL_018f: ldstr "debug" + IL_0194: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0199: ldarg.0 + IL_019a: ldarg.1 + IL_019b: ldstr "define" + IL_01a0: ldstr "DEBUG=True" + IL_01a5: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_01aa: ldarg.0 + IL_01ab: ldarg.1 + IL_01ac: ldstr "define" + IL_01b1: ldstr "TRACE=True" + IL_01b6: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_01bb: br IL_0212 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 04 00 00 00 00 00 ) // ............ + IL_01c0: ldarg.0 + IL_01c1: ldarg.1 + IL_01c2: ldstr "debug" + IL_01c7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_01cc: br IL_0212 - .get instance default string NAnt.DotNet.Tasks.VjcTask::get_WarningLevel () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_WarningLevel (string 'value') - } - .property instance class NAnt.DotNet.Types.WarningAsError WarningAsError () - { - .get instance default class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.VjcTask::get_WarningAsError () - } - .property instance class NAnt.DotNet.Types.PackageCollection Packages () - { - .get instance default class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.VjcTask::get_Packages () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') - } - .property instance class NAnt.DotNet.Types.AssemblyFileSet Modules () - { - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.VjcTask::get_Modules () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance string Extension () - { - .get instance default string NAnt.DotNet.Tasks.VjcTask::get_Extension () - } - .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () - { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::get_ClassNameRegex () - } - .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () - { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::get_NamespaceRegex () - } - .property instance bool SupportsPackageReferences () - { - .get instance default bool NAnt.DotNet.Tasks.VjcTask::get_SupportsPackageReferences () - .set instance default void NAnt.DotNet.Tasks.VjcTask::set_SupportsPackageReferences (bool 'value') - } - } // end of class NAnt.DotNet.Tasks.VjcTask -} + IL_01d1: ldarg.0 + IL_01d2: ldarg.1 + IL_01d3: ldstr "debug" + IL_01d8: ldstr "pdbonly" + IL_01dd: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_01e2: br IL_0212 -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi serializable beforefieldinit AssemblyInfoTask - extends [NAnt.Core]NAnt.Core.Task - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 61 73 6D 69 6E 66 6F 00 00 ) // ...asminfo.. + IL_01e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01ec: ldstr "NA2011" + IL_01f1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01f6: ldarg.0 + IL_01f7: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VbcTask::get_DebugOutput() + IL_01fc: box NAnt.DotNet.Types.DebugOutput + IL_0201: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0206: ldarg.0 + IL_0207: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_020c: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0211: throw + IL_0212: ldarg.0 + IL_0213: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.VbcTask::get_Imports() + IL_0218: callvirt instance string object::ToString() + IL_021d: stloc.1 + IL_021e: ldloc.1 + IL_021f: call bool string::IsNullOrEmpty(string) + IL_0224: brtrue IL_0238 - .field private class [mscorlib]System.IO.FileInfo _output - .field private valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage _language - .field private class NAnt.DotNet.Types.AssemblyAttributeCollection _attributes - .field private class NAnt.DotNet.Types.NamespaceImportCollection _imports - .field private class NAnt.DotNet.Types.AssemblyFileSet _references + IL_0229: nop + IL_022a: ldarg.0 + IL_022b: ldarg.1 + IL_022c: ldstr "imports" + IL_0231: ldloc.1 + IL_0232: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0237: nop + IL_0238: ldarg.0 + IL_0239: call instance string class NAnt.DotNet.Tasks.VbcTask::get_OptionCompare() + IL_023e: brfalse IL_0276 - // method line 294 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x6d5d - // Code size 47 (0x2f) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::_language - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.DotNet.Types.AssemblyAttributeCollection::'.ctor'() - IL_000d: stfld class NAnt.DotNet.Types.AssemblyAttributeCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_attributes - IL_0012: ldarg.0 - IL_0013: newobj instance void class NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() - IL_0018: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_imports - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0023: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::_references - IL_0028: ldarg.0 - IL_0029: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_002e: ret - } // end of method AssemblyInfoTask::.ctor + IL_0243: ldarg.0 + IL_0244: call instance string class NAnt.DotNet.Tasks.VbcTask::get_OptionCompare() + IL_0249: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_024e: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) + IL_0253: ldstr "FALSE" + IL_0258: call bool string::op_Inequality(string, string) + IL_025d: brfalse IL_0276 - // method line 295 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed - { - // Method begins at RVA 0x6d90 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyInfoTask::_output - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0262: nop + IL_0263: ldarg.0 + IL_0264: ldarg.1 + IL_0265: ldstr "optioncompare" + IL_026a: ldarg.0 + IL_026b: call instance string class NAnt.DotNet.Tasks.VbcTask::get_OptionCompare() + IL_0270: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0275: nop + IL_0276: ldarg.0 + IL_0277: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_OptionExplicit() + IL_027c: brfalse IL_028f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyInfoTask::get_Output + IL_0281: nop + IL_0282: ldarg.0 + IL_0283: ldarg.1 + IL_0284: ldstr "optionexplicit" + IL_0289: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_028e: nop + IL_028f: ldarg.0 + IL_0290: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_OptionStrict() + IL_0295: brfalse IL_02a8 - // method line 296 - .method public hidebysig specialname - instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x6dab - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyInfoTask::_output - IL_0008: ret - } // end of method AssemblyInfoTask::set_Output + IL_029a: nop + IL_029b: ldarg.0 + IL_029c: ldarg.1 + IL_029d: ldstr "optionstrict" + IL_02a2: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_02a7: nop + IL_02a8: ldarg.0 + IL_02a9: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_RemoveIntChecks() + IL_02ae: brfalse IL_02c1 - // method line 297 - .method public hidebysig specialname - instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage get_Language () cil managed + IL_02b3: nop + IL_02b4: ldarg.0 + IL_02b5: ldarg.1 + IL_02b6: ldstr "removeintchecks" + IL_02bb: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_02c0: nop + IL_02c1: ldarg.0 + IL_02c2: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_OptionOptimize() + IL_02c7: brfalse IL_02da + + IL_02cc: nop + IL_02cd: ldarg.0 + IL_02ce: ldarg.1 + IL_02cf: ldstr "optimize" + IL_02d4: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_02d9: nop + IL_02da: ldarg.0 + IL_02db: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() + IL_02e0: brfalse IL_02f9 + + IL_02e5: nop + IL_02e6: ldarg.0 + IL_02e7: ldarg.1 + IL_02e8: ldstr "rootnamespace" + IL_02ed: ldarg.0 + IL_02ee: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() + IL_02f3: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_02f8: nop + IL_02f9: ldarg.0 + IL_02fa: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_02ff: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0304: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Family() + IL_0309: ldstr "netcf" + IL_030e: call bool string::op_Equality(string, string) + IL_0313: brfalse IL_0347 + + IL_0318: nop + IL_0319: ldarg.0 + IL_031a: ldarg.1 + IL_031b: ldstr "netcf" + IL_0320: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0325: ldarg.0 + IL_0326: ldarg.1 + IL_0327: ldstr "sdkpath" + IL_032c: ldarg.0 + IL_032d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0332: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0337: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() + IL_033c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0341: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0346: nop + IL_0347: ret + } // end of method VbcTask::WriteOptions + + // method line 183 + .method family virtual hidebysig + instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x6db8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x53b0 + // Code size 123 (0x7b) + .maxstack 7 .locals init ( - valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::_language - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyInfoTask::get_Language + IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() + IL_0007: brfalse IL_0014 - // method line 298 - .method public hidebysig specialname - instance default void set_Language (valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage 'value') cil managed - { - // Method begins at RVA 0x6dd4 - // Code size 70 (0x46) - .maxstack 3 - IL_0000: nop - IL_0001: ldtoken NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: box NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage - IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0016: brtrue IL_003c + IL_000c: nop + IL_000d: ldc.i4.1 + IL_000e: stloc.0 + IL_000f: br IL_0079 - IL_001b: nop - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: ldstr "NA2002" - IL_0026: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_002b: ldarg.1 - IL_002c: box NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage - IL_0031: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0036: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_003b: throw - IL_003c: nop - IL_003d: ldarg.0 - IL_003e: ldarg.1 - IL_003f: stfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::_language - IL_0044: nop - IL_0045: ret - } // end of method AssemblyInfoTask::set_Language + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() + IL_001a: brfalse IL_006d - // method line 299 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyAttributeCollection get_AssemblyAttributes () cil managed + IL_001f: ldarg.0 + IL_0020: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsDocGeneration() + IL_0025: brfalse IL_006d + + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() + IL_0031: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0036: brtrue IL_006c + + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: ldc.i4 2000 + IL_0042: ldstr "String_DocFileDoesNotExist" + IL_0047: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004c: ldc.i4.1 + IL_004d: newarr [mscorlib]System.Object + IL_0052: dup + IL_0053: ldc.i4.0 + IL_0054: ldarg.0 + IL_0055: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() + IL_005a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005f: stelem.ref + IL_0060: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0065: ldc.i4.1 + IL_0066: stloc.0 + IL_0067: br IL_0079 + + IL_006c: nop + IL_006d: ldarg.0 + IL_006e: call instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() + IL_0073: stloc.0 + IL_0074: br IL_0079 + + IL_0079: ldloc.0 + IL_007a: ret + } // end of method VbcTask::NeedsCompiling + + // method line 184 + .method public virtual hidebysig specialname + instance default string get_Extension () cil managed { - // Method begins at RVA 0x6e28 - // Code size 15 (0xf) + // Method begins at RVA 0x5438 + // Code size 14 (0xe) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.AssemblyAttributeCollection V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyAttributeCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_attributes - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldstr "vb" + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyInfoTask::get_AssemblyAttributes + IL_000c: ldloc.0 + IL_000d: ret + } // end of method VbcTask::get_Extension - // method line 300 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.NamespaceImportCollection get_Imports () cil managed + // method line 185 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed { - // Method begins at RVA 0x6e44 - // Code size 15 (0xf) + // Method begins at RVA 0x5454 + // Code size 14 (0xe) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.NamespaceImportCollection V_0) + class [System]System.Text.RegularExpressions.Regex V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_imports - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyInfoTask::get_Imports + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_classNameRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 301 - .method public hidebysig specialname - instance default void set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') cil managed - { - // Method begins at RVA 0x6e5f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_imports - IL_0008: ret - } // end of method AssemblyInfoTask::set_Imports + IL_000c: ldloc.0 + IL_000d: ret + } // end of method VbcTask::get_ClassNameRegex - // method line 302 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed + // method line 186 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed { - // Method begins at RVA 0x6e6c - // Code size 15 (0xf) + // Method begins at RVA 0x5470 + // Code size 14 (0xe) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) + class [System]System.Text.RegularExpressions.Regex V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::_references - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_namespaceRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyInfoTask::get_References + IL_000c: ldloc.0 + IL_000d: ret + } // end of method VbcTask::get_NamespaceRegex - // method line 303 - .method public hidebysig specialname - instance default void set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + // method line 187 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x6e87 - // Code size 9 (0x9) + // Method begins at RVA 0x548a + // Code size 31 (0x1f) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::_references - IL_0008: ret - } // end of method AssemblyInfoTask::set_References + IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.]+|Class\\s+(?\\w+)|(?\\w+))*" + IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_classNameRegex + IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.]+|Namespace\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" + IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_namespaceRegex + IL_001e: ret + } // end of method VbcTask::.cctor - // method line 304 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x6e94 - // Code size 512 (0x200) - .maxstack 7 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class NAnt.DotNet.Types.NamespaceImport V_1, - class NAnt.DotNet.Types.NamespaceImportEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class [mscorlib]System.IO.MemoryStream V_4, - class [mscorlib]System.IO.StreamWriter V_5, - class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider V_6, - class [mscorlib]System.IO.FileStream V_7, - unsigned int8[] V_8, - class [mscorlib]System.Exception V_9) - IL_0000: nop - .try { // 3 - IL_0001: nop - IL_0002: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0007: stloc.0 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Imports() - IL_000f: callvirt instance class NAnt.DotNet.Types.NamespaceImportEnumerator class NAnt.DotNet.Types.NamespaceImportCollection::GetEnumerator() - IL_0014: stloc.2 - .try { // 0 - IL_0015: br IL_0048 + .property instance string BaseAddress () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 62 61 73 65 61 64 64 72 65 73 73 00 00 ) // ...baseaddress.. - IL_001a: ldloc.2 - IL_001b: callvirt instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportEnumerator::get_Current() - IL_0020: stloc.1 - IL_0021: nop - IL_0022: ldloc.1 - IL_0023: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_IfDefined() - IL_0028: brfalse IL_0047 + .get instance default string NAnt.DotNet.Tasks.VbcTask::get_BaseAddress () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_BaseAddress (string 'value') + } + .property instance valuetype NAnt.DotNet.Types.DebugOutput DebugOutput () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. - IL_002d: ldloc.1 - IL_002e: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined() - IL_0033: brtrue IL_0047 + .get instance default valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::get_DebugOutput () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') + } + .property instance bool Debug () + { + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_Debug () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_Debug (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo DocFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 6F 63 00 00 ) // ...doc.. - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: ldloc.1 - IL_003b: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() - IL_0040: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0045: pop - IL_0046: nop - IL_0047: nop - IL_0048: ldloc.2 - IL_0049: callvirt instance bool class NAnt.DotNet.Types.NamespaceImportEnumerator::MoveNext() - IL_004e: brtrue IL_001a + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.VbcTask::get_DocFile () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_DocFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string ImportsString () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. - IL_0053: leave IL_006c + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 22 55 73 65 20 74 68 65 20 3C 69 6D 70 6F // .."Use the element ins + 74 65 61 64 2E 00 00 00 ) // tead.... - } // end .try 0 - finally { // 0 - IL_0058: ldloc.2 - IL_0059: isinst [mscorlib]System.IDisposable - IL_005e: dup - IL_005f: stloc.3 - IL_0060: brfalse IL_006b + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_ImportsString (string 'value') + } + .property instance class NAnt.DotNet.Types.NamespaceImportCollection Imports () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. - IL_0065: ldloc.3 - IL_0066: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_006b: endfinally - } // end handler 0 - IL_006c: ldarg.0 - IL_006d: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.AssemblyInfoTask::get_References() - IL_0072: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0077: brtrue IL_0099 + .get instance default class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::get_Imports () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') + } + .property instance bool NoStdLib () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.AssemblyInfoTask::get_References() - IL_0083: ldarg.0 - IL_0084: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0089: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_008e: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0093: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0098: nop - IL_0099: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_009e: stloc.s 4 - IL_00a0: ldloc.s 4 - IL_00a2: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_00a7: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) - IL_00ac: stloc.s 5 - .try { // 2 - IL_00ae: nop - IL_00af: ldarg.0 - IL_00b0: ldarg.0 - IL_00b1: call instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Language() - IL_00b6: newobj instance void class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::'.ctor'(class NAnt.DotNet.Tasks.AssemblyInfoTask, valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage) - IL_00bb: stloc.s 6 - IL_00bd: ldarg.0 - IL_00be: call instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Language() - IL_00c3: brtrue IL_00d4 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. - IL_00c8: nop - IL_00c9: ldloc.s 6 - IL_00cb: ldloc.0 - IL_00cc: ldloc.s 5 - IL_00ce: callvirt instance void class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::GenerateImportCode(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.IO.TextWriter) - IL_00d3: nop - IL_00d4: ldloc.s 6 - IL_00d6: ldarg.0 - IL_00d7: call instance class NAnt.DotNet.Types.AssemblyAttributeCollection class NAnt.DotNet.Tasks.AssemblyInfoTask::get_AssemblyAttributes() - IL_00dc: ldloc.0 - IL_00dd: ldarg.0 - IL_00de: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.AssemblyInfoTask::get_References() - IL_00e3: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00e8: ldloc.s 5 - IL_00ea: callvirt instance void class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::GenerateAssemblyAttributesCode(class NAnt.DotNet.Types.AssemblyAttributeCollection, class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.IO.TextWriter) - IL_00ef: ldloc.s 5 - IL_00f1: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() - IL_00f6: ldarg.0 - IL_00f7: ldloc.s 4 - IL_00f9: call instance bool class NAnt.DotNet.Tasks.AssemblyInfoTask::NeedsPersisting(class [mscorlib]System.IO.Stream) - IL_00fe: brfalse IL_0189 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0103: nop - IL_0104: ldarg.0 - IL_0105: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_010a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_010f: ldc.i4.2 - IL_0110: ldc.i4.2 - IL_0111: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) - IL_0116: stloc.s 7 - .try { // 1 - IL_0118: nop - IL_0119: ldloc.s 4 - IL_011b: callvirt instance unsigned int8[] class [mscorlib]System.IO.MemoryStream::ToArray() - IL_0120: stloc.s 8 - IL_0122: ldloc.s 7 - IL_0124: ldloc.s 8 - IL_0126: ldc.i4.0 - IL_0127: ldloc.s 8 - IL_0129: ldlen - IL_012a: conv.i4 - IL_012b: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_0130: ldloc.s 7 - IL_0132: callvirt instance void class [mscorlib]System.IO.Stream::Flush() - IL_0137: ldloc.s 7 - IL_0139: callvirt instance void class [mscorlib]System.IO.Stream::Close() - IL_013e: ldloc.s 4 - IL_0140: callvirt instance void class [mscorlib]System.IO.Stream::Close() - IL_0145: nop - IL_0146: leave IL_015a + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_NoStdLib () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_NoStdLib (bool 'value') + } + .property instance string OptionCompare () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 6F 70 74 69 6F 6E 63 6F 6D 70 61 72 65 // ...optioncompare + 00 00 ) // .. - } // end .try 1 - finally { // 1 - IL_014b: ldloc.s 7 - IL_014d: brfalse IL_0159 + .get instance default string NAnt.DotNet.Tasks.VbcTask::get_OptionCompare () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionCompare (string 'value') + } + .property instance bool OptionExplicit () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 6F 70 74 69 6F 6E 65 78 70 6C 69 63 69 // ...optionexplici + 74 00 00 ) // t.. - IL_0152: ldloc.s 7 - IL_0154: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0159: endfinally - } // end handler 1 - IL_015a: ldarg.0 - IL_015b: ldc.i4 3000 - IL_0160: ldstr "String_GeneratedFile" - IL_0165: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_016a: ldc.i4.1 - IL_016b: newarr [mscorlib]System.Object - IL_0170: dup - IL_0171: ldc.i4.0 - IL_0172: ldarg.0 - IL_0173: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_0178: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_017d: stelem.ref - IL_017e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0183: nop - IL_0184: br IL_01b4 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0189: nop - IL_018a: ldarg.0 - IL_018b: ldc.i4 2000 - IL_0190: ldstr "String_FileUpToDate" - IL_0195: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_019a: ldc.i4.1 - IL_019b: newarr [mscorlib]System.Object - IL_01a0: dup - IL_01a1: ldc.i4.0 - IL_01a2: ldarg.0 - IL_01a3: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_01a8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01ad: stelem.ref - IL_01ae: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01b3: nop - IL_01b4: nop - IL_01b5: leave IL_01c9 + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_OptionExplicit () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionExplicit (bool 'value') + } + .property instance bool OptionOptimize () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 6F 70 74 69 6F 6E 6F 70 74 69 6D 69 7A // ...optionoptimiz + 65 00 00 ) // e.. - } // end .try 2 - finally { // 2 - IL_01ba: ldloc.s 5 - IL_01bc: brfalse IL_01c8 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01c1: ldloc.s 5 - IL_01c3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01c8: endfinally - } // end handler 2 - IL_01c9: nop - IL_01ca: leave IL_01ff + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_OptionOptimize () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionOptimize (bool 'value') + } + .property instance bool OptionStrict () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6F 70 74 69 6F 6E 73 74 72 69 63 74 00 // ...optionstrict. + 00 ) // . - } // end .try 3 - catch class [mscorlib]System.Exception { // 3 - IL_01cf: stloc.s 9 - IL_01d1: nop - IL_01d2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01d7: ldstr "NA2004" - IL_01dc: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01e1: ldarg.0 - IL_01e2: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_01e7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01ec: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01f1: ldarg.0 - IL_01f2: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_01f7: ldloc.s 9 - IL_01f9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_01fe: throw - } // end handler 3 - IL_01ff: ret - } // end of method AssemblyInfoTask::ExecuteTask + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 305 - .method private hidebysig - instance default bool NeedsPersisting (class [mscorlib]System.IO.Stream generatedAsmInfoStream) cil managed - { - // Method begins at RVA 0x7104 - // Code size 230 (0xe6) - .maxstack 7 - .locals init ( - bool V_0, - unsigned int8[] V_1, - unsigned int8[] V_2, - class [mscorlib]System.Security.Cryptography.SHA1 V_3, - class [mscorlib]System.IO.FileStream V_4) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_0042 + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_OptionStrict () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionStrict (bool 'value') + } + .property instance string Platform () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 6C 61 74 66 6F 72 6D 00 00 ) // ...platform.. - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldc.i4 2000 - IL_0018: ldstr "String_OutputFileDoesNotExist" - IL_001d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0022: ldc.i4.1 - IL_0023: newarr [mscorlib]System.Object - IL_0028: dup - IL_0029: ldc.i4.0 - IL_002a: ldarg.0 - IL_002b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: stelem.ref - IL_0036: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_003b: ldc.i4.1 - IL_003c: stloc.0 - IL_003d: br IL_00e4 + .get instance default string NAnt.DotNet.Tasks.VbcTask::get_Platform () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_Platform (string 'value') + } + .property instance bool RemoveIntChecks () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0F 72 65 6D 6F 76 65 69 6E 74 63 68 65 63 // ...removeintchec + 6B 73 00 00 ) // ks.. - IL_0042: ldnull - IL_0043: stloc.1 - IL_0044: ldnull - IL_0045: stloc.2 - IL_0046: newobj instance void class [mscorlib]System.Security.Cryptography.SHA1CryptoServiceProvider::'.ctor'() - IL_004b: stloc.3 - IL_004c: ldarg.0 - IL_004d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_0052: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0057: ldc.i4.3 - IL_0058: ldc.i4.1 - IL_0059: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) - IL_005e: stloc.s 4 - .try { // 0 - IL_0060: nop - IL_0061: ldloc.3 - IL_0062: ldloc.s 4 - IL_0064: callvirt instance unsigned int8[] class [mscorlib]System.Security.Cryptography.HashAlgorithm::ComputeHash(class [mscorlib]System.IO.Stream) - IL_0069: stloc.1 - IL_006a: nop - IL_006b: leave IL_007f - - } // end .try 0 - finally { // 0 - IL_0070: ldloc.s 4 - IL_0072: brfalse IL_007e - - IL_0077: ldloc.s 4 - IL_0079: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_007e: endfinally - } // end handler 0 - IL_007f: ldarg.1 - IL_0080: ldc.i4.0 - IL_0081: conv.i8 - IL_0082: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_0087: ldloc.3 - IL_0088: ldarg.1 - IL_0089: callvirt instance unsigned int8[] class [mscorlib]System.Security.Cryptography.HashAlgorithm::ComputeHash(class [mscorlib]System.IO.Stream) - IL_008e: stloc.2 - IL_008f: ldloc.3 - IL_0090: callvirt instance void class [mscorlib]System.Security.Cryptography.HashAlgorithm::Clear() - IL_0095: ldloc.2 - IL_0096: call string class [mscorlib]System.Convert::ToBase64String(unsigned int8[]) - IL_009b: ldloc.1 - IL_009c: call string class [mscorlib]System.Convert::ToBase64String(unsigned int8[]) - IL_00a1: call bool string::op_Inequality(string, string) - IL_00a6: brfalse IL_00dc - - IL_00ab: nop - IL_00ac: ldarg.0 - IL_00ad: ldc.i4 2000 - IL_00b2: ldstr "String_OutputFileNotUpToDate" - IL_00b7: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00bc: ldc.i4.1 - IL_00bd: newarr [mscorlib]System.Object - IL_00c2: dup - IL_00c3: ldc.i4.0 - IL_00c4: ldarg.0 - IL_00c5: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() - IL_00ca: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00cf: stelem.ref - IL_00d0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00d5: ldc.i4.1 - IL_00d6: stloc.0 - IL_00d7: br IL_00e4 - - IL_00dc: nop - IL_00dd: ldc.i4.0 - IL_00de: stloc.0 - IL_00df: br IL_00e4 - - IL_00e4: ldloc.0 - IL_00e5: ret - } // end of method AssemblyInfoTask::NeedsPersisting + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .property instance class [mscorlib]System.IO.FileInfo Output () + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_RemoveIntChecks () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_RemoveIntChecks (bool 'value') + } + .property instance string RootNamespace () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + 01 00 0D 72 6F 6F 74 6E 61 6D 65 73 70 61 63 65 // ...rootnamespace + 00 00 ) // .. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output () - .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_Output (class [mscorlib]System.IO.FileInfo 'value') + .get instance default string NAnt.DotNet.Tasks.VbcTask::get_RootNamespace () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_RootNamespace (string 'value') } - .property instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage Language () + .property instance bool SupportsDocGeneration () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 6C 61 6E 67 75 61 67 65 01 00 54 02 08 // ...language..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 15 73 75 70 70 6F 72 74 73 64 6F 63 67 65 // ...supportsdocge + 6E 65 72 61 74 69 6F 6E 00 00 ) // neration.. - .get instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::get_Language () - .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_Language (valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage 'value') + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_SupportsDocGeneration () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_SupportsDocGeneration (bool 'value') } - .property instance class NAnt.DotNet.Types.AssemblyAttributeCollection AssemblyAttributes () + .property instance bool SupportsNoStdLib () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0A 61 74 74 72 69 62 75 74 65 73 09 61 74 // ...attributes.at - 74 72 69 62 75 74 65 00 00 ) // tribute.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 10 73 75 70 70 6F 72 74 73 6E 6F 73 74 64 // ...supportsnostd + 6C 69 62 00 00 ) // lib.. - .get instance default class NAnt.DotNet.Types.AssemblyAttributeCollection NAnt.DotNet.Tasks.AssemblyInfoTask::get_AssemblyAttributes () + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_SupportsNoStdLib () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_SupportsNoStdLib (bool 'value') } - .property instance class NAnt.DotNet.Types.NamespaceImportCollection Imports () + .property instance bool SupportsPlatform () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 10 73 75 70 70 6F 72 74 73 70 6C 61 74 66 // ...supportsplatf + 6F 72 6D 00 00 ) // orm.. - .get instance default class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::get_Imports () - .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') + .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_SupportsPlatform () + .set instance default void NAnt.DotNet.Tasks.VbcTask::set_SupportsPlatform (bool 'value') } - .property instance class NAnt.DotNet.Types.AssemblyFileSet References () + .property instance string Extension () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::get_References () - .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') + .get instance default string NAnt.DotNet.Tasks.VbcTask::get_Extension () } - .class nested public auto ansi sealed CodeLanguage - extends [mscorlib]System.Enum + .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::get_ClassNameRegex () + } + .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::get_NamespaceRegex () + } + } // end of class NAnt.DotNet.Tasks.VbcTask +} + +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi beforefieldinit ResGenTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage CSharp = int32(0x00000000) - .field public static literal valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage JScript = int32(0x00000001) - .field public static literal valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage VB = int32(0x00000002) + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 72 65 73 67 65 6E 00 00 ) // ...resgen.. - } // end of class CodeLanguage + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - .class nested assembly auto ansi beforefieldinit CodeProvider - extends [mscorlib]System.Object - { - .field private initonly valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage _language - .field private initonly class [System]System.CodeDom.Compiler.ICodeGenerator _generator + .field private class [mscorlib]System.Text.StringBuilder _arguments + .field private class NAnt.DotNet.Types.AssemblyFileSet _assemblies + .field private class [mscorlib]System.IO.FileInfo _inputFile + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private string _programFileName + .field private class NAnt.DotNet.Types.ResourceFileSet _resources + .field private string _targetExt + .field private class [mscorlib]System.IO.DirectoryInfo _toDir + .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory + .field private bool _useSourcePath + .field private class [mscorlib]System.Collections.ArrayList _qualifiedResources + .field private bool _supportsAssemblyReferences + .field private bool _supportsExternalFileReferences + .field private static literal int32 _maxCmdLineLength = int32(0x00007530) - // method line 306 + // method line 188 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.DotNet.Tasks.AssemblyInfoTask assemblyInfoTask, valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage codeLanguage) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x7208 - // Code size 106 (0x6a) - .maxstack 2 - .locals init ( - class [System]System.CodeDom.Compiler.CodeDomProvider V_0) + // Method begins at RVA 0x54aa + // Code size 62 (0x3e) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldnull - IL_0008: stloc.0 - IL_0009: ldarg.2 - IL_000a: switch ( - IL_0020, - IL_002b, - IL_003b) - IL_001b: br IL_0046 - - IL_0020: newobj instance void class [System]Microsoft.CSharp.CSharpCodeProvider::'.ctor'() - IL_0025: stloc.0 - IL_0026: br IL_0056 - - IL_002b: ldstr "NA2008" - IL_0030: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0035: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_003a: throw - IL_003b: newobj instance void class [System]Microsoft.VisualBasic.VBCodeProvider::'.ctor'() - IL_0040: stloc.0 - IL_0041: br IL_0056 - - IL_0046: ldstr "NA2007" - IL_004b: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0050: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_0055: throw - IL_0056: ldarg.0 - IL_0057: ldloc.0 - IL_0058: callvirt instance class [System]System.CodeDom.Compiler.ICodeGenerator class [System]System.CodeDom.Compiler.CodeDomProvider::CreateGenerator() - IL_005d: stfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_generator - IL_0062: ldarg.0 - IL_0063: ldarg.2 - IL_0064: stfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_language - IL_0069: ret - } // end of method CodeProvider::.ctor + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0011: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::_assemblies + IL_0016: ldarg.0 + IL_0017: newobj instance void class NAnt.DotNet.Types.ResourceFileSet::'.ctor'() + IL_001c: stfld class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::_resources + IL_0021: ldarg.0 + IL_0022: ldstr "resources" + IL_0027: stfld string NAnt.DotNet.Tasks.ResGenTask::_targetExt + IL_002c: ldarg.0 + IL_002d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0032: stfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Tasks.ResGenTask::_qualifiedResources + IL_0037: ldarg.0 + IL_0038: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_003d: ret + } // end of method ResGenTask::.ctor - // method line 307 - .method private hidebysig specialname - instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage get_Language () cil managed + // method line 189 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_InputFile () cil managed { - // Method begins at RVA 0x7280 + // Method begins at RVA 0x54ec // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_language + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_inputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CodeProvider::get_Language + } // end of method ResGenTask::get_InputFile - // method line 308 - .method private hidebysig specialname - instance default class [System]System.CodeDom.Compiler.ICodeGenerator get_Generator () cil managed + // method line 190 + .method public hidebysig specialname + instance default void set_InputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x729c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [System]System.CodeDom.Compiler.ICodeGenerator V_0) + // Method begins at RVA 0x5507 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_generator - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_inputFile + IL_0008: ret + } // end of method ResGenTask::set_InputFile - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CodeProvider::get_Generator - - // method line 309 - .method public hidebysig - instance default void GenerateImportCode (class [System]System.Collections.Specialized.StringCollection imports, class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 191 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x72b8 - // Code size 101 (0x65) - .maxstack 4 + // Method begins at RVA 0x5514 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System]System.CodeDom.CodeNamespace V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop - IL_0001: newobj instance void class [System]System.CodeDom.CodeNamespace::'.ctor'() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.1 - IL_0009: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_000e: stloc.2 - .try { // 0 - IL_000f: br IL_002e + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_outputFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0014: ldloc.2 - IL_0015: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_001a: stloc.1 - IL_001b: nop - IL_001c: ldloc.0 - IL_001d: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() - IL_0022: ldloc.1 - IL_0023: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) - IL_0028: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) - IL_002d: nop - IL_002e: ldloc.2 - IL_002f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0034: brtrue IL_0014 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_OutputFile - IL_0039: leave IL_0052 + // method line 192 + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x552f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_outputFile + IL_0008: ret + } // end of method ResGenTask::set_OutputFile - } // end .try 0 - finally { // 0 - IL_003e: ldloc.2 - IL_003f: isinst [mscorlib]System.IDisposable - IL_0044: dup - IL_0045: stloc.3 - IL_0046: brfalse IL_0051 + // method line 193 + .method public hidebysig specialname + instance default string get_TargetExt () cil managed + { + // Method begins at RVA 0x553c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.ResGenTask::_targetExt + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_004b: ldloc.3 - IL_004c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0051: endfinally - } // end handler 0 - IL_0052: ldarg.0 - IL_0053: call instance class [System]System.CodeDom.Compiler.ICodeGenerator class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Generator() - IL_0058: ldloc.0 - IL_0059: ldarg.2 - IL_005a: newobj instance void class [System]System.CodeDom.Compiler.CodeGeneratorOptions::'.ctor'() - IL_005f: callvirt instance void class [System]System.CodeDom.Compiler.ICodeGenerator::GenerateCodeFromNamespace(class [System]System.CodeDom.CodeNamespace, class [mscorlib]System.IO.TextWriter, class [System]System.CodeDom.Compiler.CodeGeneratorOptions) - IL_0064: ret - } // end of method CodeProvider::GenerateImportCode + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_TargetExt - // method line 310 - .method public hidebysig - instance default void GenerateAssemblyAttributesCode (class NAnt.DotNet.Types.AssemblyAttributeCollection assemblyAttributes, class [System]System.Collections.Specialized.StringCollection imports, class [System]System.Collections.Specialized.StringCollection assemblies, class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 194 + .method public hidebysig specialname + instance default void set_TargetExt (string 'value') cil managed { - // Method begins at RVA 0x733c - // Code size 353 (0x161) - .maxstack 4 + // Method begins at RVA 0x5557 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.ResGenTask::_targetExt + IL_000d: ret + } // end of method ResGenTask::set_TargetExt + + // method line 195 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed + { + // Method begins at RVA 0x5568 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System]System.CodeDom.CodeCompileUnit V_0, - class [System]System.CodeDom.CodeNamespace V_1, - string V_2, - class [System]System.Collections.Specialized.StringEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - class NAnt.DotNet.Types.AssemblyAttribute V_5, - class NAnt.DotNet.Types.AssemblyAttributeEnumerator V_6, - class [System]System.CodeDom.CodeAttributeDeclaration V_7, - object V_8, - class [mscorlib]System.IDisposable V_9) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop - IL_0001: newobj instance void class [System]System.CodeDom.CodeCompileUnit::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: call instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Language() - IL_000d: ldc.i4.2 - IL_000e: bne.un IL_0075 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_toDir + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: nop - IL_0014: newobj instance void class [System]System.CodeDom.CodeNamespace::'.ctor'() - IL_0019: stloc.1 - IL_001a: nop - IL_001b: ldarg.2 - IL_001c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0021: stloc.3 - .try { // 0 - IL_0022: br IL_0041 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_ToDirectory - IL_0027: ldloc.3 - IL_0028: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_002d: stloc.2 - IL_002e: nop - IL_002f: ldloc.1 - IL_0030: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() - IL_0035: ldloc.2 - IL_0036: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) - IL_003b: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) - IL_0040: nop - IL_0041: ldloc.3 - IL_0042: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0047: brtrue IL_0027 + // method line 196 + .method public hidebysig specialname + instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0x5583 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_toDir + IL_0008: ret + } // end of method ResGenTask::set_ToDirectory - IL_004c: leave IL_0067 + // method line 197 + .method public hidebysig specialname + instance default bool get_UseSourcePath () cil managed + { + // Method begins at RVA 0x5590 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.ResGenTask::_useSourcePath + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_0051: ldloc.3 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.s 4 - IL_005a: brfalse IL_0066 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_UseSourcePath - IL_005f: ldloc.s 4 - IL_0061: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0066: endfinally - } // end handler 0 - IL_0067: ldloc.0 - IL_0068: callvirt instance class [System]System.CodeDom.CodeNamespaceCollection class [System]System.CodeDom.CodeCompileUnit::get_Namespaces() - IL_006d: ldloc.1 - IL_006e: callvirt instance int32 class [System]System.CodeDom.CodeNamespaceCollection::Add(class [System]System.CodeDom.CodeNamespace) - IL_0073: pop - IL_0074: nop - IL_0075: nop - IL_0076: ldarg.1 - IL_0077: callvirt instance class NAnt.DotNet.Types.AssemblyAttributeEnumerator class NAnt.DotNet.Types.AssemblyAttributeCollection::GetEnumerator() - IL_007c: stloc.s 6 - .try { // 1 - IL_007e: br IL_0125 + // method line 198 + .method public hidebysig specialname + instance default void set_UseSourcePath (bool 'value') cil managed + { + // Method begins at RVA 0x55ab + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.ResGenTask::_useSourcePath + IL_0008: ret + } // end of method ResGenTask::set_UseSourcePath - IL_0083: ldloc.s 6 - IL_0085: callvirt instance class NAnt.DotNet.Types.AssemblyAttribute class NAnt.DotNet.Types.AssemblyAttributeEnumerator::get_Current() - IL_008a: stloc.s 5 - IL_008c: nop - IL_008d: ldloc.s 5 - IL_008f: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttribute::get_IfDefined() - IL_0094: brfalse IL_0124 + // method line 199 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.ResourceFileSet get_Resources () cil managed + { + // Method begins at RVA 0x55b8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.ResourceFileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::_resources + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0099: ldloc.s 5 - IL_009b: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttribute::get_UnlessDefined() - IL_00a0: brtrue IL_0124 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_Resources - IL_00a5: nop - IL_00a6: ldloc.s 5 - IL_00a8: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_TypeName() - IL_00ad: newobj instance void class [System]System.CodeDom.CodeAttributeDeclaration::'.ctor'(string) - IL_00b2: stloc.s 7 - IL_00b4: ldloc.s 5 - IL_00b6: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttribute::get_AsIs() - IL_00bb: brfalse IL_00e5 + // method line 200 + .method public hidebysig specialname + instance default void set_Resources (class NAnt.DotNet.Types.ResourceFileSet 'value') cil managed + { + // Method begins at RVA 0x55d3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::_resources + IL_0008: ret + } // end of method ResGenTask::set_Resources - IL_00c0: nop - IL_00c1: ldloc.s 7 - IL_00c3: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() - IL_00c8: ldloc.s 5 - IL_00ca: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_Value() - IL_00cf: newobj instance void class [System]System.CodeDom.CodeSnippetExpression::'.ctor'(string) - IL_00d4: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) - IL_00d9: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) - IL_00de: pop - IL_00df: nop - IL_00e0: br IL_0115 + // method line 201 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed + { + // Method begins at RVA 0x55e0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.AssemblyFileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::_assemblies + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00e5: nop - IL_00e6: ldarg.0 - IL_00e7: ldloc.s 5 - IL_00e9: ldarg.3 - IL_00ea: ldarg.2 - IL_00eb: call instance object class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::GetTypedValue(class NAnt.DotNet.Types.AssemblyAttribute, class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection) - IL_00f0: stloc.s 8 - IL_00f2: ldloc.s 8 - IL_00f4: brfalse IL_0114 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_Assemblies - IL_00f9: nop - IL_00fa: ldloc.s 7 - IL_00fc: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() - IL_0101: ldloc.s 8 - IL_0103: newobj instance void class [System]System.CodeDom.CodePrimitiveExpression::'.ctor'(object) - IL_0108: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) - IL_010d: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) - IL_0112: pop - IL_0113: nop - IL_0114: nop - IL_0115: ldloc.0 - IL_0116: callvirt instance class [System]System.CodeDom.CodeAttributeDeclarationCollection class [System]System.CodeDom.CodeCompileUnit::get_AssemblyCustomAttributes() - IL_011b: ldloc.s 7 - IL_011d: callvirt instance int32 class [System]System.CodeDom.CodeAttributeDeclarationCollection::Add(class [System]System.CodeDom.CodeAttributeDeclaration) - IL_0122: pop - IL_0123: nop - IL_0124: nop - IL_0125: ldloc.s 6 - IL_0127: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttributeEnumerator::MoveNext() - IL_012c: brtrue IL_0083 + // method line 202 + .method public hidebysig specialname + instance default void set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + { + // Method begins at RVA 0x55fb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::_assemblies + IL_0008: ret + } // end of method ResGenTask::set_Assemblies - IL_0131: leave IL_014d + // method line 203 + .method public hidebysig specialname + instance default bool get_SupportsAssemblyReferences () cil managed + { + // Method begins at RVA 0x5608 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsAssemblyReferences + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 1 - finally { // 1 - IL_0136: ldloc.s 6 - IL_0138: isinst [mscorlib]System.IDisposable - IL_013d: dup - IL_013e: stloc.s 9 - IL_0140: brfalse IL_014c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_SupportsAssemblyReferences - IL_0145: ldloc.s 9 - IL_0147: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_014c: endfinally - } // end handler 1 - IL_014d: ldarg.0 - IL_014e: call instance class [System]System.CodeDom.Compiler.ICodeGenerator class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Generator() - IL_0153: ldloc.0 - IL_0154: ldarg.s 4 - IL_0156: newobj instance void class [System]System.CodeDom.Compiler.CodeGeneratorOptions::'.ctor'() - IL_015b: callvirt instance void class [System]System.CodeDom.Compiler.ICodeGenerator::GenerateCodeFromCompileUnit(class [System]System.CodeDom.CodeCompileUnit, class [mscorlib]System.IO.TextWriter, class [System]System.CodeDom.Compiler.CodeGeneratorOptions) - IL_0160: ret - } // end of method CodeProvider::GenerateAssemblyAttributesCode + // method line 204 + .method public hidebysig specialname + instance default void set_SupportsAssemblyReferences (bool 'value') cil managed + { + // Method begins at RVA 0x5623 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsAssemblyReferences + IL_0008: ret + } // end of method ResGenTask::set_SupportsAssemblyReferences - // method line 311 - .method private hidebysig - instance default object GetTypedValue (class NAnt.DotNet.Types.AssemblyAttribute attribute, class [System]System.Collections.Specialized.StringCollection assemblies, class [System]System.Collections.Specialized.StringCollection imports) cil managed + // method line 205 + .method public hidebysig specialname + instance default bool get_SupportsExternalFileReferences () cil managed { - // Method begins at RVA 0x74c8 - // Code size 151 (0x97) - .maxstack 9 + // Method begins at RVA 0x5630 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Security.PermissionSet V_0, - class [mscorlib]System.AppDomain V_1, - class NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer V_2, - object V_3, - object V_4) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsExternalFileReferences IL_0007: stloc.0 - IL_0008: ldstr "TypeGatheringDomain" - IL_000d: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0012: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() - IL_0017: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_001c: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() - IL_0021: ldloc.0 - IL_0022: call !!0[] class [mscorlib]System.Array::Empty () - IL_0027: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string, class [mscorlib]System.Security.Policy.Evidence, class [mscorlib]System.AppDomainSetup, class [mscorlib]System.Security.PermissionSet, class [mscorlib]System.Security.Policy.StrongName[]) - IL_002c: stloc.1 - IL_002d: ldloc.1 - IL_002e: ldtoken NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer - IL_0033: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0038: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() - IL_003d: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() - IL_0042: ldtoken NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer - IL_0047: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_004c: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0051: ldc.i4.0 - IL_0052: ldc.i4.s 0x14 - IL_0054: ldnull - IL_0055: ldc.i4.0 - IL_0056: newarr [mscorlib]System.Object - IL_005b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0060: ldc.i4.0 - IL_0061: newarr [mscorlib]System.Object - IL_0066: callvirt instance object class [mscorlib]System.AppDomain::CreateInstanceAndUnwrap(string, string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) - IL_006b: castclass NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer - IL_0070: stloc.2 - IL_0071: ldloc.2 - IL_0072: ldarg.2 - IL_0073: ldarg.3 - IL_0074: ldarg.1 - IL_0075: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_TypeName() - IL_007a: ldarg.1 - IL_007b: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_Value() - IL_0080: callvirt instance object class NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer::GetTypedValue(class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection, string, string) - IL_0085: stloc.3 - IL_0086: ldloc.1 - IL_0087: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) - IL_008c: ldloc.3 - IL_008d: stloc.s 4 - IL_008f: br IL_0094 - - IL_0094: ldloc.s 4 - IL_0096: ret - } // end of method CodeProvider::GetTypedValue - - .property instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage Language () - { - .get instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Language () - } - .property instance class [System]System.CodeDom.Compiler.ICodeGenerator Generator () - { - .get instance default class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Generator () - } - } // end of class CodeProvider + IL_0008: br IL_000d - .class nested private auto ansi beforefieldinit TypedValueGatherer - extends [mscorlib]System.MarshalByRefObject - { + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResGenTask::get_SupportsExternalFileReferences - // method line 312 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 206 + .method public hidebysig specialname + instance default void set_SupportsExternalFileReferences (bool 'value') cil managed { - // Method begins at RVA 0x756b - // Code size 7 (0x7) + // Method begins at RVA 0x564b + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.MarshalByRefObject::'.ctor'() - IL_0006: ret - } // end of method TypedValueGatherer::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsExternalFileReferences + IL_0008: ret + } // end of method ResGenTask::set_SupportsExternalFileReferences - // method line 313 - .method public virtual hidebysig - instance default object InitializeLifetimeService () cil managed + // method line 207 + .method public hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_QualifiedResources () cil managed { - // Method begins at RVA 0x7574 - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0x5658 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, - object V_1) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() - IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease - IL_000c: stloc.0 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Tasks.ResGenTask::_qualifiedResources + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 - IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() - IL_0013: ldc.i4.1 - IL_0014: bne.un IL_0026 - - IL_0019: nop - IL_001a: ldloc.0 - IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero - IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) - IL_0025: nop - IL_0026: ldloc.0 - IL_0027: stloc.1 - IL_0028: br IL_002d - - IL_002d: ldloc.1 - IL_002e: ret - } // end of method TypedValueGatherer::InitializeLifetimeService + IL_000e: ret + } // end of method ResGenTask::get_QualifiedResources - // method line 314 - .method public hidebysig - instance default object GetTypedValue (class [System]System.Collections.Specialized.StringCollection assemblies, class [System]System.Collections.Specialized.StringCollection imports, string typename, string 'value') cil managed + // method line 208 + .method private hidebysig specialname + instance default bool get_RequiresAssemblyReferences () cil managed { - // Method begins at RVA 0x75b0 - // Code size 467 (0x1d3) - .maxstack 5 + // Method begins at RVA 0x5674 + // Code size 285 (0x11d) + .maxstack 2 .locals init ( - class [NAnt.Core]NAnt.Core.Util.AssemblyResolver V_0, - class [mscorlib]System.Type V_1, - object V_2, - class [mscorlib]System.Reflection.ConstructorInfo V_3, - class [mscorlib]System.Reflection.ConstructorInfo[] V_4, - int32 V_5, - class [mscorlib]System.Reflection.ParameterInfo[] V_6, - class [mscorlib]System.Exception V_7, - object V_8) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + bool V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.DotNet.Tasks.QualifiedResource V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class [mscorlib]System.IDisposable V_6) IL_0000: nop - IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Attach() - .try { // 1 - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: ldarg.2 - IL_0011: ldarg.3 - IL_0012: call instance class [mscorlib]System.Type class NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer::FindType(class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection, string) - IL_0017: stloc.1 - IL_0018: ldloc.1 - IL_0019: ldnull - IL_001a: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_001f: brfalse IL_0174 - - IL_0024: nop - IL_0025: ldnull - IL_0026: stloc.2 - IL_0027: ldarg.s 4 - IL_0029: brtrue IL_007f + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0011: ldc.i4.0 + IL_0012: bgt IL_0028 - IL_002e: nop - IL_002f: ldloc.1 - IL_0030: ldc.i4.s 0x14 - IL_0032: ldnull - IL_0033: ldc.i4.0 - IL_0034: newarr [mscorlib]System.Type - IL_0039: ldc.i4.0 - IL_003a: newarr [mscorlib]System.Reflection.ParameterModifier - IL_003f: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, class [mscorlib]System.Type[], valuetype [mscorlib]System.Reflection.ParameterModifier[]) - IL_0044: stloc.3 - IL_0045: ldloc.3 - IL_0046: ldnull - IL_0047: call bool class [mscorlib]System.Reflection.ConstructorInfo::op_Equality(class [mscorlib]System.Reflection.ConstructorInfo, class [mscorlib]System.Reflection.ConstructorInfo) - IL_004c: brfalse IL_0077 + IL_0017: ldarg.0 + IL_0018: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() + IL_001d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0022: ldc.i4.0 + IL_0023: ble IL_00f1 - IL_0051: nop - IL_0052: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0057: ldstr "NA2005" - IL_005c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0061: ldloc.1 - IL_0062: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0067: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_006c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0071: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0076: throw - IL_0077: ldnull - IL_0078: stloc.2 - IL_0079: nop - IL_007a: br IL_016c + IL_0028: nop + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_0030: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0035: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_003a: stloc.1 + .try { // 0 + IL_003b: br IL_005d - IL_007f: nop - IL_0080: ldloc.1 - IL_0081: ldc.i4.s 0x14 - IL_0083: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo[] class [mscorlib]System.Type::GetConstructors(valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0088: stloc.s 4 - IL_008a: ldc.i4.0 - IL_008b: stloc.s 5 - IL_008d: br IL_0139 + IL_0040: ldloc.1 + IL_0041: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0046: stloc.0 + IL_0047: nop + IL_0048: ldarg.0 + IL_0049: ldloc.0 + IL_004a: call instance bool class NAnt.DotNet.Tasks.ResGenTask::ReferencesThirdPartyAssemblies(string) + IL_004f: brfalse IL_005c - IL_0092: nop - IL_0093: ldloc.s 4 - IL_0095: ldloc.s 5 - IL_0097: ldelem.ref - IL_0098: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_009d: stloc.s 6 - IL_009f: ldloc.s 6 - IL_00a1: ldlen - IL_00a2: conv.i4 - IL_00a3: ldc.i4.1 - IL_00a4: bne.un IL_0132 + IL_0054: nop + IL_0055: ldc.i4.1 + IL_0056: stloc.2 + IL_0057: leave IL_011b - IL_00a9: nop - IL_00aa: ldloc.s 6 - IL_00ac: ldc.i4.0 - IL_00ad: ldelem.ref - IL_00ae: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_00b3: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() - IL_00b8: brtrue IL_00da + IL_005c: nop + IL_005d: ldloc.1 + IL_005e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0063: brtrue IL_0040 - IL_00bd: ldloc.s 6 - IL_00bf: ldc.i4.0 - IL_00c0: ldelem.ref - IL_00c1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_00c6: ldtoken [mscorlib]System.String - IL_00cb: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00d0: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00d5: brfalse IL_0131 + IL_0068: leave IL_0081 - IL_00da: nop - .try { // 0 - IL_00db: nop - IL_00dc: ldarg.s 4 - IL_00de: ldloc.s 6 - IL_00e0: ldc.i4.0 - IL_00e1: ldelem.ref - IL_00e2: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_00e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ec: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) - IL_00f1: stloc.2 - IL_00f2: leave IL_0144 + } // end .try 0 + finally { // 0 + IL_006d: ldloc.1 + IL_006e: isinst [mscorlib]System.IDisposable + IL_0073: dup + IL_0074: stloc.3 + IL_0075: brfalse IL_0080 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_00f7: stloc.s 7 - IL_00f9: nop - IL_00fa: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ff: ldstr "NA2006" - IL_0104: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0109: ldarg.s 4 - IL_010b: ldloc.s 6 - IL_010d: ldc.i4.0 - IL_010e: ldelem.ref - IL_010f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0114: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0119: ldloc.1 - IL_011a: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_011f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0124: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0129: ldloc.s 7 - IL_012b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0130: throw - } // end handler 0 - IL_0131: nop - IL_0132: nop - IL_0133: ldloc.s 5 - IL_0135: ldc.i4.1 - IL_0136: add - IL_0137: stloc.s 5 - IL_0139: ldloc.s 5 - IL_013b: ldloc.s 4 - IL_013d: ldlen - IL_013e: conv.i4 - IL_013f: blt IL_0092 + IL_007a: ldloc.3 + IL_007b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0080: endfinally + } // end handler 0 + IL_0081: nop + IL_0082: ldarg.0 + IL_0083: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() + IL_0088: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_008d: stloc.s 5 + .try { // 1 + IL_008f: br IL_00c3 - IL_0144: ldloc.2 - IL_0145: brtrue IL_016b + IL_0094: ldloc.s 5 + IL_0096: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_009b: castclass NAnt.DotNet.Tasks.QualifiedResource + IL_00a0: stloc.s 4 + IL_00a2: nop + IL_00a3: ldarg.0 + IL_00a4: ldloc.s 4 + IL_00a6: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Input() + IL_00ab: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00b0: call instance bool class NAnt.DotNet.Tasks.ResGenTask::ReferencesThirdPartyAssemblies(string) + IL_00b5: brfalse IL_00c2 - IL_014a: nop - IL_014b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0150: ldstr "NA2003" - IL_0155: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_015a: ldarg.3 - IL_015b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0160: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0165: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_016a: throw - IL_016b: nop - IL_016c: ldloc.2 - IL_016d: stloc.s 8 - IL_016f: leave IL_01d0 + IL_00ba: nop + IL_00bb: ldc.i4.1 + IL_00bc: stloc.2 + IL_00bd: leave IL_011b - IL_0174: nop - IL_0175: ldarg.3 - IL_0176: ldstr "Attribute" - IL_017b: callvirt instance bool string::EndsWith(string) - IL_0180: brtrue IL_01a6 + IL_00c2: nop + IL_00c3: ldloc.s 5 + IL_00c5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00ca: brtrue IL_0094 + + IL_00cf: leave IL_00eb - IL_0185: nop - IL_0186: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_018b: ldstr "NA2039" - IL_0190: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0195: ldarg.3 - IL_0196: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_019b: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_01a0: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_01a5: throw - IL_01a6: nop - IL_01a7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01ac: ldstr "NA2001" - IL_01b1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01b6: ldarg.3 - IL_01b7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01bc: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_01c1: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_01c6: throw } // end .try 1 finally { // 1 - IL_01c7: nop - IL_01c8: ldloc.0 - IL_01c9: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Detach() - IL_01ce: nop - IL_01cf: endfinally + IL_00d4: ldloc.s 5 + IL_00d6: isinst [mscorlib]System.IDisposable + IL_00db: dup + IL_00dc: stloc.s 6 + IL_00de: brfalse IL_00ea + + IL_00e3: ldloc.s 6 + IL_00e5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00ea: endfinally } // end handler 1 - IL_01d0: ldloc.s 8 - IL_01d2: ret - } // end of method TypedValueGatherer::GetTypedValue + IL_00eb: nop + IL_00ec: br IL_0114 - // method line 315 - .method private hidebysig - instance default class [mscorlib]System.Type FindType (class [System]System.Collections.Specialized.StringCollection assemblies, class [System]System.Collections.Specialized.StringCollection imports, string typename) cil managed + IL_00f1: ldarg.0 + IL_00f2: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_00f7: brfalse IL_0114 + + IL_00fc: nop + IL_00fd: ldarg.0 + IL_00fe: ldarg.0 + IL_00ff: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_0104: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0109: call instance bool class NAnt.DotNet.Tasks.ResGenTask::ReferencesThirdPartyAssemblies(string) + IL_010e: stloc.2 + IL_010f: br IL_011b + + IL_0114: ldc.i4.0 + IL_0115: stloc.2 + IL_0116: br IL_011b + + IL_011b: ldloc.2 + IL_011c: ret + } // end of method ResGenTask::get_RequiresAssemblyReferences + + // method line 209 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0x77c4 - // Code size 369 (0x171) - .maxstack 4 + // Method begins at RVA 0x57bc + // Code size 39 (0x27) + .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.Reflection.Assembly V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class [mscorlib]System.IDisposable V_7, - string V_8, - class [System]System.Collections.Specialized.StringEnumerator V_9, - class [mscorlib]System.IDisposable V_10, - class [mscorlib]System.Type V_11) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: nop - IL_0004: ldarg.1 - IL_0005: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_000a: stloc.2 - .try { // 1 - IL_000b: br IL_00b3 - - IL_0010: ldloc.2 - IL_0011: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0016: stloc.1 - IL_0017: nop - IL_0018: ldloc.1 - IL_0019: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_001e: stloc.3 - IL_001f: ldloc.3 - IL_0020: ldarg.3 - IL_0021: ldc.i4.0 - IL_0022: ldc.i4.0 - IL_0023: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) - IL_0028: stloc.0 - IL_0029: ldloc.0 - IL_002a: ldnull - IL_002b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0030: brfalse IL_00a0 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_0007: brtrue IL_0019 - IL_0035: nop - IL_0036: nop - IL_0037: ldarg.2 - IL_0038: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_003d: stloc.s 5 - .try { // 0 - IL_003f: br IL_0077 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0013: stloc.0 + IL_0014: br IL_0025 - IL_0044: ldloc.s 5 - IL_0046: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_004b: stloc.s 4 - IL_004d: nop - IL_004e: ldloc.3 - IL_004f: ldloc.s 4 - IL_0051: ldstr "." - IL_0056: ldarg.3 - IL_0057: call string string::Concat(string, string, string) - IL_005c: ldc.i4.0 - IL_005d: ldc.i4.0 - IL_005e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) - IL_0063: stloc.0 - IL_0064: ldloc.0 - IL_0065: ldnull - IL_0066: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_006b: brfalse IL_0076 + IL_0019: ldarg.0 + IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_0070: nop - IL_0071: leave IL_0083 + IL_0025: ldloc.0 + IL_0026: ret + } // end of method ResGenTask::get_BaseDirectory - IL_0076: nop - IL_0077: ldloc.s 5 - IL_0079: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_007e: brtrue IL_0044 + // method line 210 + .method public virtual hidebysig specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0x57ef + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_0008: ret + } // end of method ResGenTask::set_BaseDirectory - IL_0083: leave IL_009f + // method line 211 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed + { + // Method begins at RVA 0x57fc + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_0007: callvirt instance string object::ToString() + IL_000c: stloc.0 + IL_000d: br IL_0012 - } // end .try 0 - finally { // 0 - IL_0088: ldloc.s 5 - IL_008a: isinst [mscorlib]System.IDisposable - IL_008f: dup - IL_0090: stloc.s 6 - IL_0092: brfalse IL_009e + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ResGenTask::get_ProgramArguments - IL_0097: ldloc.s 6 - IL_0099: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009e: endfinally - } // end handler 0 - IL_009f: nop - IL_00a0: ldloc.0 - IL_00a1: ldnull - IL_00a2: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00a7: brfalse IL_00b2 + // method line 212 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed + { + // Method begins at RVA 0x581c + // Code size 40 (0x28) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName + IL_0007: brtrue IL_001a - IL_00ac: nop - IL_00ad: leave IL_00be + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_0014: stfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName + IL_0020: stloc.0 + IL_0021: br IL_0026 - IL_00b2: nop - IL_00b3: ldloc.2 - IL_00b4: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00b9: brtrue IL_0010 + IL_0026: ldloc.0 + IL_0027: ret + } // end of method ResGenTask::get_ProgramFileName - IL_00be: leave IL_00d9 + // method line 213 + .method family virtual hidebysig + instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + { + // Method begins at RVA 0x5850 + // Code size 434 (0x1b2) + .maxstack 3 + .locals init ( + class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsAssemblyReferences() + IL_0007: brtrue IL_01aa - } // end .try 1 - finally { // 1 - IL_00c3: ldloc.2 - IL_00c4: isinst [mscorlib]System.IDisposable - IL_00c9: dup - IL_00ca: stloc.s 7 - IL_00cc: brfalse IL_00d8 - - IL_00d1: ldloc.s 7 - IL_00d3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d8: endfinally - } // end handler 1 - IL_00d9: ldloc.0 - IL_00da: ldnull - IL_00db: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00e0: brfalse IL_0166 - - IL_00e5: nop - IL_00e6: ldarg.3 - IL_00e7: ldc.i4.0 - IL_00e8: ldc.i4.0 - IL_00e9: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) - IL_00ee: stloc.0 - IL_00ef: ldloc.0 - IL_00f0: ldnull - IL_00f1: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_00f6: brfalse IL_0165 - - IL_00fb: nop - IL_00fc: nop - IL_00fd: ldarg.2 - IL_00fe: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0103: stloc.s 9 - .try { // 2 - IL_0105: br IL_013c + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_0013: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0018: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_001d: brfalse IL_002d - IL_010a: ldloc.s 9 - IL_010c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0111: stloc.s 8 - IL_0113: nop - IL_0114: ldloc.s 8 - IL_0116: ldstr "." - IL_011b: ldarg.3 - IL_011c: call string string::Concat(string, string, string) - IL_0121: ldc.i4.0 - IL_0122: ldc.i4.0 - IL_0123: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) - IL_0128: stloc.0 - IL_0129: ldloc.0 - IL_012a: ldnull - IL_012b: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0130: brfalse IL_013b + IL_0022: ldarg.0 + IL_0023: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_RequiresAssemblyReferences() + IL_0028: brtrue IL_003a - IL_0135: nop - IL_0136: leave IL_0148 + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: ldarg.1 + IL_0030: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) + IL_0035: br IL_01b1 - IL_013b: nop - IL_013c: ldloc.s 9 - IL_013e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0143: brtrue IL_010a + IL_003a: ldarg.0 + IL_003b: call class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Util.FileUtils::GetTempDirectory() + IL_0040: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0045: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() + IL_004a: stloc.0 + IL_004b: ldloc.0 + IL_004c: ldarg.0 + IL_004d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0052: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0057: ldloc.0 + IL_0058: ldarg.0 + IL_0059: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0063: ldloc.0 + IL_0064: ldarg.0 + IL_0065: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_006a: ldloc.0 + IL_006b: ldarg.0 + IL_006c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0071: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0076: ldloc.0 + IL_0077: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_007c: brtrue IL_008e - IL_0148: leave IL_0164 + IL_0081: nop + IL_0082: ldloc.0 + IL_0083: ldc.i4 4000 + IL_0088: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_008d: nop + IL_008e: ldloc.0 + IL_008f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0094: ldloc.0 + IL_0095: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_009a: ldloc.0 + IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_00a0: ldloc.0 + IL_00a1: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_00a6: ldloc.0 + IL_00a7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00b1: ldloc.0 + IL_00b2: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_00b7: ldloc.0 + IL_00b8: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_00bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00c2: ldloc.0 + IL_00c3: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_00c8: ldarg.0 + IL_00c9: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_00ce: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_00d3: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00d8: ldloc.0 + IL_00d9: ldc.i4.1 + IL_00da: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_Flatten(bool) + IL_00df: nop + IL_00e0: ldarg.0 + IL_00e1: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_00e6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00eb: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00f0: stloc.2 + .try { // 0 + IL_00f1: br IL_0111 - } // end .try 2 - finally { // 2 - IL_014d: ldloc.s 9 - IL_014f: isinst [mscorlib]System.IDisposable - IL_0154: dup - IL_0155: stloc.s 10 - IL_0157: brfalse IL_0163 + IL_00f6: ldloc.2 + IL_00f7: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00fc: stloc.1 + IL_00fd: nop + IL_00fe: ldloc.0 + IL_00ff: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0104: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0109: ldloc.1 + IL_010a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_010f: pop + IL_0110: nop + IL_0111: ldloc.2 + IL_0112: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0117: brtrue IL_00f6 - IL_015c: ldloc.s 10 - IL_015e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0163: endfinally - } // end handler 2 - IL_0164: nop - IL_0165: nop - IL_0166: ldloc.0 - IL_0167: stloc.s 11 - IL_0169: br IL_016e + IL_011c: leave IL_0135 - IL_016e: ldloc.s 11 - IL_0170: ret - } // end of method TypedValueGatherer::FindType + } // end .try 0 + finally { // 0 + IL_0121: ldloc.2 + IL_0122: isinst [mscorlib]System.IDisposable + IL_0127: dup + IL_0128: stloc.3 + IL_0129: brfalse IL_0134 - } // end of class TypedValueGatherer + IL_012e: ldloc.3 + IL_012f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0134: endfinally + } // end handler 0 + IL_0135: ldloc.0 + IL_0136: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_013b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0140: ldarg.0 + IL_0141: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_0146: ldstr "*" + IL_014b: call string string::Concat(string, string) + IL_0150: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0155: pop + IL_0156: ldloc.0 + IL_0157: ldarg.0 + IL_0158: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_015d: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0162: ldloc.0 + IL_0163: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0168: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 1 + IL_016d: nop + IL_016e: ldloc.0 + IL_016f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0174: nop + IL_0175: leave IL_0188 - } // end of class NAnt.DotNet.Tasks.AssemblyInfoTask -} + } // end .try 1 + finally { // 1 + IL_017a: nop + IL_017b: ldloc.0 + IL_017c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0181: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0186: nop + IL_0187: endfinally + } // end handler 1 + IL_0188: ldarg.0 + IL_0189: ldarg.0 + IL_018a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_018f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0194: ldarg.0 + IL_0195: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_019a: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_019f: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_01a4: stfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName + IL_01a9: nop + IL_01aa: ldarg.0 + IL_01ab: ldarg.1 + IL_01ac: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) + IL_01b1: ret + } // end of method ResGenTask::PrepareProcess -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit CscTask - extends NAnt.DotNet.Tasks.CompilerBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 63 73 63 00 00 ) // ...csc.. + // method line 214 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x5a2c + // Code size 756 (0x2f4) + .maxstack 7 + .locals init ( + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IO.FileInfo V_2, + class [mscorlib]System.IO.FileInfo V_3, + class [mscorlib]System.IDisposable V_4, + class NAnt.DotNet.Tasks.QualifiedResource V_5, + class [mscorlib]System.Collections.IEnumerator V_6, + class [mscorlib]System.IDisposable V_7, + class [mscorlib]System.IO.FileInfo V_8, + class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_9) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_0018: ldarg.0 + IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0039: brtrue IL_005b - .field private valuetype NAnt.DotNet.Types.DebugOutput _debugOutput - .field private class [mscorlib]System.IO.FileInfo _docFile - .field private int32 _fileAlign - .field private bool _nostdlib - .field private bool _noconfig - .field private bool _checked - .field private bool _unsafe - .field private bool _optimize - .field private string _warningLevel - .field private string _codepage - .field private string _baseAddress - .field private string _platform - .field private string _langVersion - .field private bool _supportsDocGeneration - .field private bool _supportsPlatform - .field private bool _supportsLangVersion - .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex - .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_0045: ldarg.0 + IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0055: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_005a: nop + IL_005b: ldarg.0 + IL_005c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_0061: ldc.i4.0 + IL_0062: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) + IL_0067: ldarg.0 + IL_0068: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_006d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0072: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0077: ldc.i4.0 + IL_0078: bgt IL_008e - // method line 316 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x796c - // Code size 21 (0x15) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::_debugOutput - IL_0007: ldarg.0 - IL_0008: ldc.i4.1 - IL_0009: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsDocGeneration - IL_000e: ldarg.0 - IL_000f: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() - IL_0014: ret - } // end of method CscTask::.ctor + IL_007d: ldarg.0 + IL_007e: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() + IL_0083: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0088: ldc.i4.0 + IL_0089: ble IL_018e - // method line 317 - .method public hidebysig specialname - instance default string get_BaseAddress () cil managed - { - // Method begins at RVA 0x7984 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_baseAddress - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_008e: nop + IL_008f: ldarg.0 + IL_0090: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_OutputFile() + IL_0095: brfalse IL_00b1 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_BaseAddress + IL_009a: nop + IL_009b: ldstr "NA2026" + IL_00a0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00a5: ldarg.0 + IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_00ab: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00b0: throw + IL_00b1: nop + IL_00b2: ldarg.0 + IL_00b3: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_00b8: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00bd: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00c2: stloc.1 + .try { // 0 + IL_00c3: br IL_0103 - // method line 318 - .method public hidebysig specialname - instance default void set_BaseAddress (string 'value') cil managed - { - // Method begins at RVA 0x799f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_baseAddress - IL_000d: ret - } // end of method CscTask::set_BaseAddress + IL_00c8: ldloc.1 + IL_00c9: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00ce: stloc.0 + IL_00cf: nop + IL_00d0: ldloc.0 + IL_00d1: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00d6: stloc.2 + IL_00d7: ldarg.0 + IL_00d8: ldloc.2 + IL_00d9: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_00de: ldarg.0 + IL_00df: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_00e4: ldloc.0 + IL_00e5: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string) + IL_00ea: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00ef: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00f4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) + IL_00f9: stloc.3 + IL_00fa: ldarg.0 + IL_00fb: ldloc.2 + IL_00fc: ldloc.3 + IL_00fd: call instance void class NAnt.DotNet.Tasks.ResGenTask::WriteCommandLineOptions(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) + IL_0102: nop + IL_0103: ldloc.1 + IL_0104: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0109: brtrue IL_00c8 - // method line 319 - .method public hidebysig specialname - instance default valuetype NAnt.DotNet.Types.DebugOutput get_DebugOutput () cil managed - { - // Method begins at RVA 0x79b0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.DotNet.Types.DebugOutput V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::_debugOutput - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_010e: leave IL_0129 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_DebugOutput + } // end .try 0 + finally { // 0 + IL_0113: ldloc.1 + IL_0114: isinst [mscorlib]System.IDisposable + IL_0119: dup + IL_011a: stloc.s 4 + IL_011c: brfalse IL_0128 - // method line 320 - .method public hidebysig specialname - instance default void set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') cil managed - { - // Method begins at RVA 0x79cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::_debugOutput - IL_0008: ret - } // end of method CscTask::set_DebugOutput + IL_0121: ldloc.s 4 + IL_0123: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0128: endfinally + } // end handler 0 + IL_0129: nop + IL_012a: ldarg.0 + IL_012b: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() + IL_0130: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0135: stloc.s 6 + .try { // 1 + IL_0137: br IL_0160 - // method line 321 - .method public virtual hidebysig specialname - instance default bool get_Debug () cil managed - { - // Method begins at RVA 0x79d8 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.CscTask::get_DebugOutput() - IL_0007: ldc.i4.0 - IL_0008: ceq - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_013c: ldloc.s 6 + IL_013e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0143: castclass NAnt.DotNet.Tasks.QualifiedResource + IL_0148: stloc.s 5 + IL_014a: nop + IL_014b: ldarg.0 + IL_014c: ldloc.s 5 + IL_014e: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Input() + IL_0153: ldloc.s 5 + IL_0155: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Output() + IL_015a: call instance void class NAnt.DotNet.Tasks.ResGenTask::WriteCommandLineOptions(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) + IL_015f: nop + IL_0160: ldloc.s 6 + IL_0162: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0167: brtrue IL_013c - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CscTask::get_Debug + IL_016c: leave IL_0188 - // method line 322 - .method public virtual hidebysig specialname - instance default void set_Debug (bool 'value') cil managed - { - // Method begins at RVA 0x79f9 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CscTask::set_DebugOutput(valuetype NAnt.DotNet.Types.DebugOutput) - IL_0008: ret - } // end of method CscTask::set_Debug + } // end .try 1 + finally { // 1 + IL_0171: ldloc.s 6 + IL_0173: isinst [mscorlib]System.IDisposable + IL_0178: dup + IL_0179: stloc.s 7 + IL_017b: brfalse IL_0187 - // method line 323 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DocFile () cil managed - { - // Method begins at RVA 0x7a04 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CscTask::_docFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_DocFile + IL_0180: ldloc.s 7 + IL_0182: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0187: endfinally + } // end handler 1 + IL_0188: nop + IL_0189: br IL_0281 - // method line 324 - .method public hidebysig specialname - instance default void set_DocFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x7a1f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CscTask::_docFile - IL_0008: ret - } // end of method CscTask::set_DocFile + IL_018e: nop + IL_018f: ldarg.0 + IL_0190: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_0195: brtrue IL_01b1 - // method line 325 - .method public hidebysig specialname - instance default int32 get_FileAlign () cil managed - { - // Method begins at RVA 0x7a2c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.DotNet.Tasks.CscTask::_fileAlign - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_019a: nop + IL_019b: ldstr "NA2027" + IL_01a0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01a5: ldarg.0 + IL_01a6: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_01ab: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_01b0: throw + IL_01b1: ldarg.0 + IL_01b2: ldarg.0 + IL_01b3: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_01b8: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) + IL_01bd: stloc.s 8 + IL_01bf: ldarg.0 + IL_01c0: ldarg.0 + IL_01c1: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_01c6: ldloc.s 8 + IL_01c8: callvirt instance bool class NAnt.DotNet.Tasks.ResGenTask::NeedsCompiling(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) + IL_01cd: brfalse IL_0280 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_FileAlign + IL_01d2: nop + IL_01d3: ldloc.s 8 + IL_01d5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_01da: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_01df: brtrue IL_01f2 - // method line 326 - .method public hidebysig specialname - instance default void set_FileAlign (int32 'value') cil managed - { - // Method begins at RVA 0x7a47 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.DotNet.Tasks.CscTask::_fileAlign - IL_0008: ret - } // end of method CscTask::set_FileAlign + IL_01e4: nop + IL_01e5: ldloc.s 8 + IL_01e7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_01ec: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_01f1: nop + IL_01f2: ldarg.0 + IL_01f3: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath() + IL_01f8: brfalse IL_0252 - // method line 327 - .method public hidebysig specialname - instance default bool get_NoStdLib () cil managed - { - // Method begins at RVA 0x7a54 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_nostdlib - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01fd: nop + IL_01fe: ldarg.0 + IL_01ff: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences() + IL_0204: brfalse IL_0221 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_NoStdLib + IL_0209: nop + IL_020a: ldarg.0 + IL_020b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_0210: ldstr "/useSourcePath" + IL_0215: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_021a: pop + IL_021b: nop + IL_021c: br IL_0251 - // method line 328 - .method public hidebysig specialname - instance default void set_NoStdLib (bool 'value') cil managed - { - // Method begins at RVA 0x7a6f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_nostdlib - IL_0008: ret - } // end of method CscTask::set_NoStdLib + IL_0221: nop + IL_0222: ldarg.0 + IL_0223: ldc.i4 4000 + IL_0228: ldstr "String_ResourceCompilerDoesNotSupportExternalReferences" + IL_022d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0232: ldc.i4.1 + IL_0233: newarr [mscorlib]System.Object + IL_0238: dup + IL_0239: ldc.i4.0 + IL_023a: ldarg.0 + IL_023b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0240: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0245: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_024a: stelem.ref + IL_024b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0250: nop + IL_0251: nop + IL_0252: ldarg.0 + IL_0253: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_0258: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_025d: ldstr " \"{0}\" \"{1}\"" + IL_0262: ldarg.0 + IL_0263: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_0268: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_026d: ldloc.s 8 + IL_026f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0274: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0279: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_027e: pop + IL_027f: nop + IL_0280: nop + IL_0281: ldarg.0 + IL_0282: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_0287: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_028c: brfalse IL_02f3 - // method line 329 - .method public hidebysig specialname - instance default bool get_NoConfig () cil managed - { - // Method begins at RVA 0x7a7c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_noconfig - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0291: nop + .try { // 2 + IL_0292: nop + IL_0293: ldarg.0 + IL_0294: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_0299: nop + IL_029a: leave IL_02f2 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_NoConfig + } // end .try 2 + finally { // 2 + IL_029f: nop + IL_02a0: ldarg.0 + IL_02a1: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_02a6: brfalse IL_02f0 - // method line 330 - .method public hidebysig specialname - instance default void set_NoConfig (bool 'value') cil managed - { - // Method begins at RVA 0x7a97 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_noconfig - IL_0008: ret - } // end of method CscTask::set_NoConfig + IL_02ab: nop + IL_02ac: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() + IL_02b1: stloc.s 9 + IL_02b3: ldloc.s 9 + IL_02b5: ldarg.0 + IL_02b6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_02bb: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_02c0: ldloc.s 9 + IL_02c2: ldarg.0 + IL_02c3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_02c8: ldloc.s 9 + IL_02ca: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_02cf: ldloc.s 9 + IL_02d1: ldarg.0 + IL_02d2: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_02d7: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) + IL_02dc: ldloc.s 9 + IL_02de: ldc.i4 9999 + IL_02e3: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_02e8: ldloc.s 9 + IL_02ea: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_02ef: nop + IL_02f0: nop + IL_02f1: endfinally + } // end handler 2 + IL_02f2: nop + IL_02f3: ret + } // end of method ResGenTask::ExecuteTask - // method line 331 - .method public hidebysig specialname - instance default bool get_Checked () cil managed + // method line 215 + .method public hidebysig + instance default void RemoveOutputs () cil managed { - // Method begins at RVA 0x7aa4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5d54 + // Code size 281 (0x119) + .maxstack 4 .locals init ( - bool V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IO.FileInfo V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.DotNet.Tasks.QualifiedResource V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class [mscorlib]System.IO.FileInfo V_7) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_checked - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_000d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0012: stloc.1 + .try { // 0 + IL_0013: br IL_005d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_Checked + IL_0018: ldloc.1 + IL_0019: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_001e: stloc.0 + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: ldloc.0 + IL_0022: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0027: ldarg.0 + IL_0028: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() + IL_002d: ldloc.0 + IL_002e: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string) + IL_0033: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0038: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_003d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) + IL_0042: stloc.2 + IL_0043: ldloc.0 + IL_0044: ldloc.2 + IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004a: call bool string::op_Inequality(string, string) + IL_004f: brfalse IL_005c - // method line 332 - .method public hidebysig specialname - instance default void set_Checked (bool 'value') cil managed - { - // Method begins at RVA 0x7abf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_checked - IL_0008: ret - } // end of method CscTask::set_Checked + IL_0054: nop + IL_0055: ldloc.2 + IL_0056: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Delete() + IL_005b: nop + IL_005c: nop + IL_005d: ldloc.1 + IL_005e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0063: brtrue IL_0018 - // method line 333 - .method public hidebysig specialname - instance default bool get_Unsafe () cil managed - { - // Method begins at RVA 0x7acc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_unsafe - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0068: leave IL_0081 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_Unsafe + } // end .try 0 + finally { // 0 + IL_006d: ldloc.1 + IL_006e: isinst [mscorlib]System.IDisposable + IL_0073: dup + IL_0074: stloc.3 + IL_0075: brfalse IL_0080 - // method line 334 - .method public hidebysig specialname - instance default void set_Unsafe (bool 'value') cil managed - { - // Method begins at RVA 0x7ae7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_unsafe - IL_0008: ret - } // end of method CscTask::set_Unsafe + IL_007a: ldloc.3 + IL_007b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0080: endfinally + } // end handler 0 + IL_0081: nop + IL_0082: ldarg.0 + IL_0083: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() + IL_0088: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_008d: stloc.s 5 + .try { // 1 + IL_008f: br IL_00b0 - // method line 335 - .method public hidebysig specialname - instance default string get_LangVersion () cil managed - { - // Method begins at RVA 0x7af4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_langVersion - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0094: ldloc.s 5 + IL_0096: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_009b: castclass NAnt.DotNet.Tasks.QualifiedResource + IL_00a0: stloc.s 4 + IL_00a2: nop + IL_00a3: ldloc.s 4 + IL_00a5: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Output() + IL_00aa: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Delete() + IL_00af: nop + IL_00b0: ldloc.s 5 + IL_00b2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00b7: brtrue IL_0094 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_LangVersion + IL_00bc: leave IL_00d8 - // method line 336 - .method public hidebysig specialname - instance default void set_LangVersion (string 'value') cil managed - { - // Method begins at RVA 0x7b0f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_langVersion - IL_000d: ret - } // end of method CscTask::set_LangVersion + } // end .try 1 + finally { // 1 + IL_00c1: ldloc.s 5 + IL_00c3: isinst [mscorlib]System.IDisposable + IL_00c8: dup + IL_00c9: stloc.s 6 + IL_00cb: brfalse IL_00d7 - // method line 337 - .method public hidebysig specialname - instance default bool get_Optimize () cil managed - { - // Method begins at RVA 0x7b20 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_optimize - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00d0: ldloc.s 6 + IL_00d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d7: endfinally + } // end handler 1 + IL_00d8: ldarg.0 + IL_00d9: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_00de: brfalse IL_0118 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_Optimize + IL_00e3: nop + IL_00e4: ldarg.0 + IL_00e5: ldarg.0 + IL_00e6: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_00eb: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) + IL_00f0: stloc.s 7 + IL_00f2: ldarg.0 + IL_00f3: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() + IL_00f8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00fd: ldloc.s 7 + IL_00ff: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0104: call bool string::op_Inequality(string, string) + IL_0109: brfalse IL_0117 - // method line 338 - .method public hidebysig specialname - instance default void set_Optimize (bool 'value') cil managed - { - // Method begins at RVA 0x7b3b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_optimize - IL_0008: ret - } // end of method CscTask::set_Optimize + IL_010e: nop + IL_010f: ldloc.s 7 + IL_0111: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Delete() + IL_0116: nop + IL_0117: nop + IL_0118: ret + } // end of method ResGenTask::RemoveOutputs - // method line 339 - .method public hidebysig specialname - instance default string get_Platform () cil managed + // method line 216 + .method family virtual hidebysig newslot + instance default bool NeedsCompiling (class [mscorlib]System.IO.FileInfo inputFile, class [mscorlib]System.IO.FileInfo outputFile) cil managed { - // Method begins at RVA 0x7b48 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5e98 + // Code size 299 (0x12b) + .maxstack 7 .locals init ( - string V_0) + bool V_0, + string V_1, + class [System]System.Collections.Specialized.StringCollection V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_platform - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.2 + IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0007: brtrue IL_0038 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_Platform + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldc.i4 2000 + IL_0013: ldstr "String_OutputFileDoesNotExist" + IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldc.i4.1 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldarg.2 + IL_0026: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002b: stelem.ref + IL_002c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0031: ldc.i4.1 + IL_0032: stloc.0 + IL_0033: br IL_0129 - // method line 340 - .method public hidebysig specialname - instance default void set_Platform (string 'value') cil managed - { - // Method begins at RVA 0x7b63 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_platform - IL_000d: ret - } // end of method CscTask::set_Platform + IL_0038: ldarg.1 + IL_0039: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_003e: ldarg.2 + IL_003f: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0044: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0049: stloc.1 + IL_004a: ldloc.1 + IL_004b: brfalse IL_0077 - // method line 341 - .method public hidebysig specialname - instance default string get_WarningLevel () cil managed - { - // Method begins at RVA 0x7b74 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_warningLevel - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: ldc.i4 2000 + IL_0057: ldstr "String_FileHasBeenUpdated" + IL_005c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0061: ldc.i4.1 + IL_0062: newarr [mscorlib]System.Object + IL_0067: dup + IL_0068: ldc.i4.0 + IL_0069: ldloc.1 + IL_006a: stelem.ref + IL_006b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0070: ldc.i4.1 + IL_0071: stloc.0 + IL_0072: br IL_0129 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_WarningLevel + IL_0077: ldarg.0 + IL_0078: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_007d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0082: ldarg.2 + IL_0083: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0088: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_008d: stloc.1 + IL_008e: ldloc.1 + IL_008f: brfalse IL_00bb - // method line 342 - .method public hidebysig specialname - instance default void set_WarningLevel (string 'value') cil managed - { - // Method begins at RVA 0x7b8f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_warningLevel - IL_000d: ret - } // end of method CscTask::set_WarningLevel + IL_0094: nop + IL_0095: ldarg.0 + IL_0096: ldc.i4 2000 + IL_009b: ldstr "String_FileHasBeenUpdated" + IL_00a0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00a5: ldc.i4.1 + IL_00a6: newarr [mscorlib]System.Object + IL_00ab: dup + IL_00ac: ldc.i4.0 + IL_00ad: ldloc.1 + IL_00ae: stelem.ref + IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00b4: ldc.i4.1 + IL_00b5: stloc.0 + IL_00b6: br IL_0129 - // method line 343 - .method public hidebysig specialname - instance default string get_Codepage () cil managed - { - // Method begins at RVA 0x7ba0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_codepage - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00bb: ldarg.1 + IL_00bc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() + IL_00c1: ldstr ".resx" + IL_00c6: ldc.i4.1 + IL_00c7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00cc: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_00d1: brtrue IL_0122 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_Codepage + IL_00d6: nop + IL_00d7: ldarg.0 + IL_00d8: ldarg.1 + IL_00d9: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.DotNet.Tasks.ResGenTask::GetExternalFileReferences(class [mscorlib]System.IO.FileInfo) + IL_00de: stloc.2 + IL_00df: ldloc.2 + IL_00e0: brfalse IL_0121 - // method line 344 - .method public hidebysig specialname - instance default void set_Codepage (string 'value') cil managed - { - // Method begins at RVA 0x7bbb - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_codepage - IL_000d: ret - } // end of method CscTask::set_Codepage + IL_00e5: nop + IL_00e6: ldloc.2 + IL_00e7: ldarg.2 + IL_00e8: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00ed: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_00f2: stloc.1 + IL_00f3: ldloc.1 + IL_00f4: brfalse IL_0120 - // method line 345 - .method public hidebysig specialname - instance default bool get_SupportsDocGeneration () cil managed - { - // Method begins at RVA 0x7bcc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_supportsDocGeneration - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00f9: nop + IL_00fa: ldarg.0 + IL_00fb: ldc.i4 2000 + IL_0100: ldstr "String_FileHasBeenUpdated" + IL_0105: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_010a: ldc.i4.1 + IL_010b: newarr [mscorlib]System.Object + IL_0110: dup + IL_0111: ldc.i4.0 + IL_0112: ldloc.1 + IL_0113: stelem.ref + IL_0114: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0119: ldc.i4.1 + IL_011a: stloc.0 + IL_011b: br IL_0129 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_SupportsDocGeneration + IL_0120: nop + IL_0121: nop + IL_0122: ldc.i4.0 + IL_0123: stloc.0 + IL_0124: br IL_0129 - // method line 346 - .method public hidebysig specialname - instance default void set_SupportsDocGeneration (bool 'value') cil managed - { - // Method begins at RVA 0x7be7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsDocGeneration - IL_0008: ret - } // end of method CscTask::set_SupportsDocGeneration + IL_0129: ldloc.0 + IL_012a: ret + } // end of method ResGenTask::NeedsCompiling - // method line 347 - .method public hidebysig specialname - instance default bool get_SupportsPlatform () cil managed + // method line 217 + .method private hidebysig + instance default class [mscorlib]System.IO.FileInfo GetOutputFile (class [mscorlib]System.IO.FileInfo file) cil managed { - // Method begins at RVA 0x7bf4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5fd0 + // Code size 110 (0x6e) + .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0, + class [mscorlib]System.IO.FileInfo V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_supportsPlatform - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_SupportsPlatform + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_OutputFile() + IL_0007: brtrue IL_005c - // method line 348 - .method public hidebysig specialname - instance default void set_SupportsPlatform (bool 'value') cil managed - { - // Method begins at RVA 0x7c0f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsPlatform - IL_0008: ret - } // end of method CscTask::set_SupportsPlatform + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Tasks.ResGenTask::get_ToDirectory() + IL_0013: brtrue IL_0021 - // method line 349 - .method public hidebysig specialname - instance default bool get_SupportsLangVersion () cil managed - { - // Method begins at RVA 0x7c1c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_supportsLangVersion - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0018: nop + IL_0019: ldarg.1 + IL_001a: stloc.0 + IL_001b: nop + IL_001c: br IL_003f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CscTask::get_SupportsLangVersion + IL_0021: nop + IL_0022: ldarg.0 + IL_0023: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Tasks.ResGenTask::get_ToDirectory() + IL_0028: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002d: ldarg.1 + IL_002e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() + IL_0033: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0038: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_003d: stloc.0 + IL_003e: nop + IL_003f: ldloc.0 + IL_0040: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0045: ldarg.0 + IL_0046: call instance string class NAnt.DotNet.Tasks.ResGenTask::get_TargetExt() + IL_004b: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_0050: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0055: stloc.0 + IL_0056: nop + IL_0057: br IL_0065 - // method line 350 - .method public hidebysig specialname - instance default void set_SupportsLangVersion (bool 'value') cil managed - { - // Method begins at RVA 0x7c37 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsLangVersion - IL_0008: ret - } // end of method CscTask::set_SupportsLangVersion + IL_005c: nop + IL_005d: ldarg.0 + IL_005e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_OutputFile() + IL_0063: stloc.0 + IL_0064: nop + IL_0065: ldloc.0 + IL_0066: stloc.1 + IL_0067: br IL_006c - // method line 351 - .method family virtual hidebysig - instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed + IL_006c: ldloc.1 + IL_006d: ret + } // end of method ResGenTask::GetOutputFile + + // method line 218 + .method private hidebysig + instance default bool ReferencesThirdPartyAssemblies (string resourceFile) cil managed { - // Method begins at RVA 0x7c44 - // Code size 812 (0x32c) - .maxstack 7 + // Method begins at RVA 0x604c + // Code size 133 (0x85) + .maxstack 4 .locals init ( - valuetype NAnt.DotNet.Types.DebugOutput V_0, - int32 V_1) + bool V_0, + class [mscorlib]System.IO.StreamReader V_1, + class [System.Xml]System.Xml.XPath.XPathDocument V_2, + int32 V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldstr "fullpaths" - IL_0008: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_000d: ldarg.0 - IL_000e: call instance string class NAnt.DotNet.Tasks.CscTask::get_BaseAddress() - IL_0013: brfalse IL_002c - - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: ldstr "baseaddress" - IL_0020: ldarg.0 - IL_0021: call instance string class NAnt.DotNet.Tasks.CscTask::get_BaseAddress() - IL_0026: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() - IL_0032: brfalse IL_0092 + .try { // 1 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0008: brtrue IL_0015 - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsDocGeneration() - IL_003e: brfalse IL_0061 + IL_000d: nop + IL_000e: ldc.i4.0 + IL_000f: stloc.0 + IL_0010: leave IL_0083 - IL_0043: nop - IL_0044: ldarg.0 - IL_0045: ldarg.1 - IL_0046: ldstr "doc" - IL_004b: ldarg.0 - IL_004c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() - IL_0051: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0056: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_005b: nop - IL_005c: br IL_0091 + IL_0015: ldarg.1 + IL_0016: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_001b: ldstr ".resx" + IL_0020: ldc.i4.1 + IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0026: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_002b: brfalse IL_0038 - IL_0061: nop - IL_0062: ldarg.0 - IL_0063: ldc.i4 4000 - IL_0068: ldstr "String_CompilerDoesNotSupportXmlDoc" - IL_006d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0072: ldc.i4.1 - IL_0073: newarr [mscorlib]System.Object - IL_0078: dup - IL_0079: ldc.i4.0 - IL_007a: ldarg.0 - IL_007b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0080: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0085: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_008a: stelem.ref - IL_008b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0090: nop - IL_0091: nop - IL_0092: ldarg.0 - IL_0093: call instance string class NAnt.DotNet.Tasks.CscTask::get_LangVersion() - IL_0098: brfalse IL_00f3 + IL_0030: nop + IL_0031: ldc.i4.0 + IL_0032: stloc.0 + IL_0033: leave IL_0083 - IL_009d: nop - IL_009e: ldarg.0 - IL_009f: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsLangVersion() - IL_00a4: brfalse IL_00c2 + IL_0038: ldarg.1 + IL_0039: ldc.i4.1 + IL_003a: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, bool) + IL_003f: stloc.1 + .try { // 0 + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) + IL_0047: newobj instance void class [System.Xml]System.Xml.XPath.XPathDocument::'.ctor'(class [System.Xml]System.Xml.XmlReader) + IL_004c: stloc.2 + IL_004d: ldloc.2 + IL_004e: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathDocument::CreateNavigator() + IL_0053: ldstr "/root/data[@mimetype or (@type and not(starts-with(@type, 'System.') and contains(@type,'PublicKeyToken=')))]" + IL_0058: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) + IL_005d: callvirt instance int32 class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Count() + IL_0062: stloc.3 + IL_0063: ldloc.3 + IL_0064: ldc.i4.0 + IL_0065: cgt + IL_0067: stloc.0 + IL_0068: leave IL_0083 - IL_00a9: nop - IL_00aa: ldarg.0 - IL_00ab: ldarg.1 - IL_00ac: ldstr "langversion" - IL_00b1: ldarg.0 - IL_00b2: call instance string class NAnt.DotNet.Tasks.CscTask::get_LangVersion() - IL_00b7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_00bc: nop - IL_00bd: br IL_00f2 + } // end .try 0 + finally { // 0 + IL_006d: ldloc.1 + IL_006e: brfalse IL_0079 - IL_00c2: nop - IL_00c3: ldarg.0 - IL_00c4: ldc.i4 4000 - IL_00c9: ldstr "String_CompilerDoesNotSupportLangVersion" - IL_00ce: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00d3: ldc.i4.1 - IL_00d4: newarr [mscorlib]System.Object - IL_00d9: dup - IL_00da: ldc.i4.0 - IL_00db: ldarg.0 - IL_00dc: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00e1: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_00e6: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_00eb: stelem.ref - IL_00ec: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00f1: nop - IL_00f2: nop - IL_00f3: ldarg.0 - IL_00f4: call instance string class NAnt.DotNet.Tasks.CscTask::get_Platform() - IL_00f9: brfalse IL_0154 + IL_0073: ldloc.1 + IL_0074: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0079: endfinally + } // end handler 0 + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_007a: pop + IL_007b: nop + IL_007c: ldc.i4.1 + IL_007d: stloc.0 + IL_007e: leave IL_0083 - IL_00fe: nop - IL_00ff: ldarg.0 - IL_0100: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsPlatform() - IL_0105: brfalse IL_0123 + } // end handler 1 + IL_0083: ldloc.0 + IL_0084: ret + } // end of method ResGenTask::ReferencesThirdPartyAssemblies - IL_010a: nop - IL_010b: ldarg.0 - IL_010c: ldarg.1 - IL_010d: ldstr "platform" - IL_0112: ldarg.0 - IL_0113: call instance string class NAnt.DotNet.Tasks.CscTask::get_Platform() - IL_0118: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_011d: nop - IL_011e: br IL_0153 + // method line 219 + .method private hidebysig + instance default class [System]System.Collections.Specialized.StringCollection GetExternalFileReferences (class [mscorlib]System.IO.FileInfo resxFile) cil managed + { + // Method begins at RVA 0x60fc + // Code size 285 (0x11d) + .maxstack 4 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0, + class [mscorlib]System.IO.StreamReader V_1, + class [System.Xml]System.Xml.XPath.XPathDocument V_2, + class [System.Xml]System.Xml.XPath.XPathNavigator V_3, + class [System.Xml]System.Xml.XPath.XPathNodeIterator V_4, + string V_5, + class [System]System.Collections.Specialized.StringCollection V_6, + string V_7, + class [System.Xml]System.Xml.XPath.XPathNodeIterator V_8, + string[] V_9) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0007: brtrue IL_0014 - IL_0123: nop - IL_0124: ldarg.0 - IL_0125: ldc.i4 4000 - IL_012a: ldstr "String_CompilerDoesNotSupportPlatform" - IL_012f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0134: ldc.i4.1 - IL_0135: newarr [mscorlib]System.Object - IL_013a: dup - IL_013b: ldc.i4.0 - IL_013c: ldarg.0 - IL_013d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0142: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0147: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_014c: stelem.ref - IL_014d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0152: nop - IL_0153: nop - IL_0154: ldarg.0 - IL_0155: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_015a: brfalse IL_0178 + IL_000c: nop + IL_000d: ldnull + IL_000e: stloc.0 + IL_000f: br IL_011b - IL_015f: nop - IL_0160: ldarg.0 - IL_0161: ldarg.1 - IL_0162: ldstr "win32res" - IL_0167: ldarg.0 - IL_0168: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_016d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0172: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0177: nop - IL_0178: ldarg.0 - IL_0179: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.CscTask::get_DebugOutput() - IL_017e: stloc.0 - IL_017f: ldloc.0 - IL_0180: switch ( - IL_019a, - IL_019f, - IL_01d2, - IL_01e3) - IL_0195: br IL_01f9 - - IL_019a: br IL_0224 - - IL_019f: ldarg.0 - IL_01a0: ldarg.1 - IL_01a1: ldstr "debug" - IL_01a6: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_01ab: ldarg.0 - IL_01ac: ldarg.1 - IL_01ad: ldstr "define" - IL_01b2: ldstr "DEBUG" - IL_01b7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_01bc: ldarg.0 - IL_01bd: ldarg.1 - IL_01be: ldstr "define" - IL_01c3: ldstr "TRACE" - IL_01c8: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_01cd: br IL_0224 - - IL_01d2: ldarg.0 - IL_01d3: ldarg.1 - IL_01d4: ldstr "debug" - IL_01d9: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_01de: br IL_0224 + IL_0014: ldarg.1 + IL_0015: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001a: ldc.i4.1 + IL_001b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, bool) + IL_0020: stloc.1 + .try { // 0 + IL_0021: nop + IL_0022: ldloc.1 + IL_0023: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) + IL_0028: newobj instance void class [System.Xml]System.Xml.XPath.XPathDocument::'.ctor'(class [System.Xml]System.Xml.XmlReader) + IL_002d: stloc.2 + IL_002e: ldloc.2 + IL_002f: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathDocument::CreateNavigator() + IL_0034: stloc.3 + IL_0035: ldloc.3 + IL_0036: ldstr "/root/resheader[@name = 'version']/value" + IL_003b: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) + IL_0040: pop + IL_0041: ldloc.3 + IL_0042: ldstr "/root/resheader[@name = 'version']/value" + IL_0047: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) + IL_004c: stloc.s 4 + IL_004e: ldloc.s 4 + IL_0050: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNodeIterator::MoveNext() + IL_0055: brfalse IL_0083 - IL_01e3: ldarg.0 - IL_01e4: ldarg.1 - IL_01e5: ldstr "debug" - IL_01ea: ldstr "pdbonly" - IL_01ef: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_01f4: br IL_0224 + IL_005a: nop + IL_005b: ldloc.s 4 + IL_005d: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Current() + IL_0062: callvirt instance string class [System.Xml]System.Xml.XPath.XPathItem::get_Value() + IL_0067: stloc.s 5 + IL_0069: ldloc.s 5 + IL_006b: ldstr "1.0.0.0" + IL_0070: call bool string::op_Equality(string, string) + IL_0075: brfalse IL_0082 - IL_01f9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01fe: ldstr "NA2011" - IL_0203: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0208: ldarg.0 - IL_0209: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.CscTask::get_DebugOutput() - IL_020e: box NAnt.DotNet.Types.DebugOutput - IL_0213: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0218: ldarg.0 - IL_0219: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_021e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0223: throw - IL_0224: ldarg.0 - IL_0225: call instance int32 class NAnt.DotNet.Tasks.CscTask::get_FileAlign() - IL_022a: ldc.i4.0 - IL_022b: ble IL_0251 + IL_007a: nop + IL_007b: ldnull + IL_007c: stloc.0 + IL_007d: leave IL_011b - IL_0230: nop - IL_0231: ldarg.0 - IL_0232: ldarg.1 - IL_0233: ldstr "filealign" - IL_0238: ldarg.0 - IL_0239: call instance int32 class NAnt.DotNet.Tasks.CscTask::get_FileAlign() - IL_023e: stloc.1 - IL_023f: ldloca.s 1 - IL_0241: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0246: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_024b: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0250: nop - IL_0251: ldarg.0 - IL_0252: call instance bool class NAnt.DotNet.Tasks.CscTask::get_NoStdLib() - IL_0257: brfalse IL_026a + IL_0082: nop + IL_0083: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0088: stloc.s 6 + IL_008a: ldarg.0 + IL_008b: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath() + IL_0090: brfalse IL_00a0 - IL_025c: nop - IL_025d: ldarg.0 - IL_025e: ldarg.1 - IL_025f: ldstr "nostdlib" - IL_0264: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0269: nop - IL_026a: ldarg.0 - IL_026b: call instance bool class NAnt.DotNet.Tasks.CscTask::get_Checked() - IL_0270: brfalse IL_0283 + IL_0095: ldarg.1 + IL_0096: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_009b: br IL_00ab - IL_0275: nop - IL_0276: ldarg.0 - IL_0277: ldarg.1 - IL_0278: ldstr "checked" - IL_027d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0282: nop - IL_0283: ldarg.0 - IL_0284: call instance bool class NAnt.DotNet.Tasks.CscTask::get_Unsafe() - IL_0289: brfalse IL_029c + IL_00a0: ldarg.0 + IL_00a1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00a6: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_00ab: stloc.s 7 + IL_00ad: ldloc.3 + IL_00ae: ldstr "/root/data[@type = 'System.Resources.ResXFileRef, System.Windows.Forms']/value" + IL_00b3: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) + IL_00b8: stloc.s 8 + IL_00ba: br IL_00fa - IL_028e: nop - IL_028f: ldarg.0 - IL_0290: ldarg.1 - IL_0291: ldstr "unsafe" - IL_0296: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_029b: nop - IL_029c: ldarg.0 - IL_029d: call instance bool class NAnt.DotNet.Tasks.CscTask::get_Optimize() - IL_02a2: brfalse IL_02b5 + IL_00bf: nop + IL_00c0: ldloc.s 8 + IL_00c2: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Current() + IL_00c7: callvirt instance string class [System.Xml]System.Xml.XPath.XPathItem::get_Value() + IL_00cc: ldc.i4.s 0x3b + IL_00ce: ldc.i4.0 + IL_00cf: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_00d4: stloc.s 9 + IL_00d6: ldloc.s 9 + IL_00d8: ldlen + IL_00d9: conv.i4 + IL_00da: ldc.i4.1 + IL_00db: bgt IL_00e6 - IL_02a7: nop - IL_02a8: ldarg.0 - IL_02a9: ldarg.1 - IL_02aa: ldstr "optimize" - IL_02af: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_02b4: nop - IL_02b5: ldarg.0 - IL_02b6: call instance string class NAnt.DotNet.Tasks.CscTask::get_WarningLevel() - IL_02bb: brfalse IL_02d4 + IL_00e0: nop + IL_00e1: leave IL_00fa - IL_02c0: nop - IL_02c1: ldarg.0 - IL_02c2: ldarg.1 - IL_02c3: ldstr "warn" - IL_02c8: ldarg.0 - IL_02c9: call instance string class NAnt.DotNet.Tasks.CscTask::get_WarningLevel() - IL_02ce: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_02d3: nop - IL_02d4: ldarg.0 - IL_02d5: call instance string class NAnt.DotNet.Tasks.CscTask::get_Codepage() - IL_02da: brfalse IL_02f3 + IL_00e6: ldloc.s 6 + IL_00e8: ldloc.s 7 + IL_00ea: ldloc.s 9 + IL_00ec: ldc.i4.0 + IL_00ed: ldelem.ref + IL_00ee: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00f3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00f8: pop + IL_00f9: nop + IL_00fa: ldloc.s 8 + IL_00fc: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNodeIterator::MoveNext() + IL_0101: brtrue IL_00bf - IL_02df: nop - IL_02e0: ldarg.0 - IL_02e1: ldarg.1 - IL_02e2: ldstr "codepage" - IL_02e7: ldarg.0 - IL_02e8: call instance string class NAnt.DotNet.Tasks.CscTask::get_Codepage() - IL_02ed: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_02f2: nop - IL_02f3: ldarg.0 - IL_02f4: call instance bool class NAnt.DotNet.Tasks.CscTask::get_NoConfig() - IL_02f9: brfalse IL_032b + IL_0106: ldloc.s 6 + IL_0108: stloc.0 + IL_0109: leave IL_011b - IL_02fe: ldarg.0 - IL_02ff: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0304: ldstr "/noconfig" - IL_0309: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Contains(string) - IL_030e: brtrue IL_032b + } // end .try 0 + finally { // 0 + IL_010e: ldloc.1 + IL_010f: brfalse IL_011a - IL_0313: nop - IL_0314: ldarg.0 - IL_0315: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_031a: ldstr "/noconfig" - IL_031f: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0324: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0329: pop - IL_032a: nop - IL_032b: ret - } // end of method CscTask::WriteOptions + IL_0114: ldloc.1 + IL_0115: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_011a: endfinally + } // end handler 0 + IL_011b: ldloc.0 + IL_011c: ret + } // end of method ResGenTask::GetExternalFileReferences - // method line 352 - .method family virtual hidebysig - instance default bool NeedsCompiling () cil managed + // method line 220 + .method private hidebysig + instance default void WriteCommandLineOptions (class [mscorlib]System.IO.FileInfo inputFile, class [mscorlib]System.IO.FileInfo outputFile) cil managed { - // Method begins at RVA 0x7f7c - // Code size 118 (0x76) + // Method begins at RVA 0x6238 + // Code size 482 (0x1e2) .maxstack 7 .locals init ( - bool V_0) + string V_0, + bool V_1, + class [mscorlib]System.Text.StringBuilder V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_6) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() - IL_0007: brfalse IL_0014 - - IL_000c: nop - IL_000d: ldc.i4.1 - IL_000e: stloc.0 - IL_000f: br IL_0074 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: callvirt instance bool class NAnt.DotNet.Tasks.ResGenTask::NeedsCompiling(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) + IL_0009: brtrue IL_0014 - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() - IL_001a: brfalse IL_006d + IL_000e: nop + IL_000f: br IL_01e1 - IL_001f: ldarg.0 - IL_0020: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsDocGeneration() - IL_0025: brfalse IL_006d + IL_0014: ldarg.2 + IL_0015: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_001a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001f: brtrue IL_0031 - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() - IL_0031: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0036: brtrue IL_006c + IL_0024: nop + IL_0025: ldarg.2 + IL_0026: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_002b: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0030: nop + IL_0031: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0036: ldstr "\"{0},{1}\" " + IL_003b: ldarg.1 + IL_003c: ldarg.2 + IL_003d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0042: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0047: stloc.0 + IL_0048: ldarg.0 + IL_0049: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_004e: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0053: ldloc.0 + IL_0054: callvirt instance int32 string::get_Length() + IL_0059: add + IL_005a: ldc.i4 30000 + IL_005f: cgt + IL_0061: stloc.1 + IL_0062: ldarg.0 + IL_0063: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_0068: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_006d: brfalse IL_0078 - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: ldc.i4 2000 - IL_0042: ldstr "String_DocFileDoesNotExist" - IL_0047: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004c: ldc.i4.1 - IL_004d: newarr [mscorlib]System.Object - IL_0052: dup - IL_0053: ldc.i4.0 - IL_0054: ldarg.0 - IL_0055: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() - IL_005a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005f: stelem.ref - IL_0060: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0065: ldc.i4.1 - IL_0066: stloc.0 - IL_0067: br IL_0074 + IL_0072: ldloc.1 + IL_0073: brfalse IL_015f - IL_006c: nop - IL_006d: ldc.i4.0 - IL_006e: stloc.0 - IL_006f: br IL_0074 + IL_0078: nop + IL_0079: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_007e: stloc.2 + IL_007f: ldarg.0 + IL_0080: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsAssemblyReferences() + IL_0085: brfalse IL_00e8 - IL_0074: ldloc.0 - IL_0075: ret - } // end of method CscTask::NeedsCompiling + IL_008a: nop + IL_008b: nop + IL_008c: ldarg.0 + IL_008d: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_0092: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0097: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_009c: stloc.s 4 + .try { // 0 + IL_009e: br IL_00bf - // method line 353 - .method public virtual hidebysig specialname - instance default string get_Extension () cil managed - { - // Method begins at RVA 0x8000 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr "cs" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_00a3: ldloc.s 4 + IL_00a5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00aa: stloc.3 + IL_00ab: nop + IL_00ac: ldloc.2 + IL_00ad: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00b2: ldstr "/r:\"{0}\" " + IL_00b7: ldloc.3 + IL_00b8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_00bd: pop + IL_00be: nop + IL_00bf: ldloc.s 4 + IL_00c1: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00c6: brtrue IL_00a3 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method CscTask::get_Extension + IL_00cb: leave IL_00e7 - // method line 354 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed - { - // Method begins at RVA 0x801c - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) - IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_classNameRegex - IL_0006: stloc.0 - IL_0007: br IL_000c + } // end .try 0 + finally { // 0 + IL_00d0: ldloc.s 4 + IL_00d2: isinst [mscorlib]System.IDisposable + IL_00d7: dup + IL_00d8: stloc.s 5 + IL_00da: brfalse IL_00e6 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method CscTask::get_ClassNameRegex + IL_00df: ldloc.s 5 + IL_00e1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00e6: endfinally + } // end handler 0 + IL_00e7: nop + IL_00e8: ldarg.0 + IL_00e9: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath() + IL_00ee: brfalse IL_0143 - // method line 355 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed - { - // Method begins at RVA 0x8038 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) - IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_namespaceRegex - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_00f3: nop + IL_00f4: ldarg.0 + IL_00f5: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences() + IL_00fa: brfalse IL_0112 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method CscTask::get_NamespaceRegex + IL_00ff: nop + IL_0100: ldloc.2 + IL_0101: ldstr "/useSourcePath " + IL_0106: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_010b: pop + IL_010c: nop + IL_010d: br IL_0142 - // method line 356 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x8052 - // Code size 31 (0x1f) - .maxstack 8 - IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|class\\s+(?\\w+)|(?\\w+))*" - IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_classNameRegex - IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|namespace\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" - IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_namespaceRegex - IL_001e: ret - } // end of method CscTask::.cctor + IL_0112: nop + IL_0113: ldarg.0 + IL_0114: ldc.i4 4000 + IL_0119: ldstr "String_ResourceCompilerDoesNotSupportExternalReferences" + IL_011e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0123: ldc.i4.1 + IL_0124: newarr [mscorlib]System.Object + IL_0129: dup + IL_012a: ldc.i4.0 + IL_012b: ldarg.0 + IL_012c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0131: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0136: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_013b: stelem.ref + IL_013c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0141: nop + IL_0142: nop + IL_0143: ldloc.2 + IL_0144: ldstr "/compile " + IL_0149: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_014e: pop + IL_014f: ldloc.2 + IL_0150: ldloc.0 + IL_0151: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0156: pop + IL_0157: ldloc.2 + IL_0158: callvirt instance string object::ToString() + IL_015d: stloc.0 + IL_015e: nop + IL_015f: ldloc.1 + IL_0160: brfalse IL_01d4 - .property instance string BaseAddress () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 62 61 73 65 61 64 64 72 65 73 73 00 00 ) // ...baseaddress.. + IL_0165: nop + .try { // 1 + IL_0166: nop + IL_0167: ldarg.0 + IL_0168: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_016d: nop + IL_016e: leave IL_01c7 - .get instance default string NAnt.DotNet.Tasks.CscTask::get_BaseAddress () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_BaseAddress (string 'value') - } - .property instance valuetype NAnt.DotNet.Types.DebugOutput DebugOutput () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. + } // end .try 1 + catch class [mscorlib]System.Object { // 1 + IL_0173: pop + IL_0174: nop + IL_0175: ldarg.0 + IL_0176: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_017b: brfalse IL_01c5 - .get instance default valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::get_DebugOutput () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') - } - .property instance bool Debug () - { - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Debug () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_Debug (bool 'value') - } - .property instance class [mscorlib]System.IO.FileInfo DocFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 6F 63 00 00 ) // ...doc.. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CscTask::get_DocFile () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_DocFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance int32 FileAlign () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 66 69 6C 65 61 6C 69 67 6E 00 00 ) // ...filealign.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 02 00 00 00 20 00 00 00 00 ) // ....... .... - - .get instance default int32 NAnt.DotNet.Tasks.CscTask::get_FileAlign () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_FileAlign (int32 'value') - } - .property instance bool NoStdLib () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0180: nop + IL_0181: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() + IL_0186: stloc.s 6 + IL_0188: ldloc.s 6 + IL_018a: ldarg.0 + IL_018b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0190: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0195: ldloc.s 6 + IL_0197: ldarg.0 + IL_0198: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_019d: ldloc.s 6 + IL_019f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_01a4: ldloc.s 6 + IL_01a6: ldarg.0 + IL_01a7: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_01ac: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) + IL_01b1: ldloc.s 6 + IL_01b3: ldc.i4 9999 + IL_01b8: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_01bd: ldloc.s 6 + IL_01bf: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_01c4: nop + IL_01c5: rethrow + } // end handler 1 + IL_01c7: ldarg.0 + IL_01c8: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_01cd: ldc.i4.0 + IL_01ce: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) + IL_01d3: nop + IL_01d4: ldarg.0 + IL_01d5: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments + IL_01da: ldloc.0 + IL_01db: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01e0: pop + IL_01e1: ret + } // end of method ResGenTask::WriteCommandLineOptions - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_NoStdLib () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_NoStdLib (bool 'value') - } - .property instance bool NoConfig () + .property instance class [mscorlib]System.IO.FileInfo InputFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 08 6E 6F 63 6F 6E 66 69 67 00 00 ) // ...noconfig.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 63 6F 6E 66 69 67 00 00 ) // ...noconfig.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 69 6E 70 75 74 01 00 54 02 08 52 65 71 // ...input..T..Req + 75 69 72 65 64 00 ) // uired. - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_NoConfig () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_NoConfig (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::get_InputFile () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_InputFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool Checked () + .property instance class [mscorlib]System.IO.FileInfo OutputFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 63 68 65 63 6B 65 64 00 00 ) // ...checked.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 00 ) // quired. - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Checked () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_Checked (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::get_OutputFile () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool Unsafe () + .property instance string TargetExt () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 73 61 66 65 00 00 ) // ...unsafe.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re + 71 75 69 72 65 64 00 ) // quired. - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Unsafe () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_Unsafe (bool 'value') + .get instance default string NAnt.DotNet.Tasks.ResGenTask::get_TargetExt () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_TargetExt (string 'value') } - .property instance string LangVersion () + .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 6C 61 6E 67 76 65 72 73 69 6F 6E 00 00 ) // ...langversion.. + 01 00 05 74 6F 64 69 72 01 00 54 02 08 52 65 71 // ...todir..T..Req + 75 69 72 65 64 00 ) // uired. - .get instance default string NAnt.DotNet.Tasks.CscTask::get_LangVersion () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_LangVersion (string 'value') + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::get_ToDirectory () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') } - .property instance bool Optimize () + .property instance bool UseSourcePath () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6F 70 74 69 6D 69 7A 65 00 00 ) // ...optimize.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 75 73 65 73 6F 75 72 63 65 70 61 74 68 // ...usesourcepath + 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Optimize () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_Optimize (bool 'value') + .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_UseSourcePath (bool 'value') } - .property instance string Platform () + .property instance class NAnt.DotNet.Types.ResourceFileSet Resources () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 6C 61 74 66 6F 72 6D 00 00 ) // ...platform.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 09 72 65 73 6F 75 72 63 65 73 00 00 ) // ...resources.. - .get instance default string NAnt.DotNet.Tasks.CscTask::get_Platform () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_Platform (string 'value') + .get instance default class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::get_Resources () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_Resources (class NAnt.DotNet.Types.ResourceFileSet 'value') } - .property instance string WarningLevel () + .property instance class NAnt.DotNet.Types.AssemblyFileSet Assemblies () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 77 61 72 6E 69 6E 67 6C 65 76 65 6C 00 // ...warninglevel. - 00 ) // . - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 04 00 00 00 00 00 ) // ............ + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. - .get instance default string NAnt.DotNet.Tasks.CscTask::get_WarningLevel () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_WarningLevel (string 'value') + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::get_Assemblies () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') } - .property instance string Codepage () + .property instance bool SupportsAssemblyReferences () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 70 61 67 65 00 00 ) // ...codepage.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 1A 73 75 70 70 6F 72 74 73 61 73 73 65 6D // ...supportsassem + 62 6C 79 72 65 66 65 72 65 6E 63 65 73 00 00 ) // blyreferences.. - .get instance default string NAnt.DotNet.Tasks.CscTask::get_Codepage () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_Codepage (string 'value') + .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_SupportsAssemblyReferences () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_SupportsAssemblyReferences (bool 'value') } - .property instance bool SupportsDocGeneration () + .property instance bool SupportsExternalFileReferences () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 15 73 75 70 70 6F 72 74 73 64 6F 63 67 65 // ...supportsdocge - 6E 65 72 61 74 69 6F 6E 00 00 ) // neration.. + 01 00 1E 73 75 70 70 6F 72 74 73 65 78 74 65 72 // ...supportsexter + 6E 61 6C 66 69 6C 65 72 65 66 65 72 65 6E 63 65 // nalfilereference + 73 00 00 ) // s.. - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_SupportsDocGeneration () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_SupportsDocGeneration (bool 'value') + .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_SupportsExternalFileReferences (bool 'value') } - .property instance bool SupportsPlatform () + .property instance class [mscorlib]System.Collections.ArrayList QualifiedResources () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 10 73 75 70 70 6F 72 74 73 70 6C 61 74 66 // ...supportsplatf - 6F 72 6D 00 00 ) // orm.. - - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_SupportsPlatform () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_SupportsPlatform (bool 'value') + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources () } - .property instance bool SupportsLangVersion () + .property instance bool RequiresAssemblyReferences () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 13 73 75 70 70 6F 72 74 73 6C 61 6E 67 76 // ...supportslangv - 65 72 73 69 6F 6E 00 00 ) // ersion.. - - .get instance default bool NAnt.DotNet.Tasks.CscTask::get_SupportsLangVersion () - .set instance default void NAnt.DotNet.Tasks.CscTask::set_SupportsLangVersion (bool 'value') + .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_RequiresAssemblyReferences () } - .property instance string Extension () + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () { - .get instance default string NAnt.DotNet.Tasks.CscTask::get_Extension () + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::get_BaseDirectory () + .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') } - .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () + .property instance string ProgramArguments () { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::get_ClassNameRegex () + .get instance default string NAnt.DotNet.Tasks.ResGenTask::get_ProgramArguments () } - .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () + .property instance string ProgramFileName () { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::get_NamespaceRegex () + .get instance default string NAnt.DotNet.Tasks.ResGenTask::get_ProgramFileName () } - } // end of class NAnt.DotNet.Tasks.CscTask + } // end of class NAnt.DotNet.Tasks.ResGenTask } .namespace NAnt.DotNet.Tasks { - .class public auto ansi beforefieldinit IlasmTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + .class public auto ansi beforefieldinit QualifiedResource + extends [mscorlib]System.Object { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 69 6C 61 73 6D 00 00 ) // ...ilasm.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ - - .field private bool _clock - .field private bool _debug - .field private bool _error - .field private bool _forceRebuild - .field private bool _listing - .field private int32 _alignment - .field private int32 _base - .field private int32 _flags - .field private int32 _subsystem - .field private string _target - .field private string _keySource - .field private class [mscorlib]System.IO.FileInfo _keyFile + .field private class [mscorlib]System.IO.FileInfo _inputFile .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private class [mscorlib]System.IO.FileInfo _resourceFile - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources - .field private string _options - // method line 357 + // method line 221 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class [mscorlib]System.IO.FileInfo input, class [mscorlib]System.IO.FileInfo output) cil managed { - // Method begins at RVA 0x8072 - // Code size 7 (0x7) + // Method begins at RVA 0x6444 + // Code size 22 (0x16) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0006: ret - } // end of method IlasmTask::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_inputFile + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_outputFile + IL_0015: ret + } // end of method QualifiedResource::.ctor - // method line 358 + // method line 222 .method public hidebysig specialname - instance default bool get_Clock () cil managed + instance default class [mscorlib]System.IO.FileInfo get_Input () cil managed { - // Method begins at RVA 0x807c + // Method begins at RVA 0x645c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_clock + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_inputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Clock + } // end of method QualifiedResource::get_Input - // method line 359 + // method line 223 .method public hidebysig specialname - instance default void set_Clock (bool 'value') cil managed + instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed { - // Method begins at RVA 0x8097 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x6478 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_clock - IL_0008: ret - } // end of method IlasmTask::set_Clock - - // method line 360 - .method public hidebysig specialname - instance default bool get_Debug () cil managed - { - // Method begins at RVA 0x80a4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_debug + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_outputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Debug + } // end of method QualifiedResource::get_Output - // method line 361 - .method public hidebysig specialname - instance default void set_Debug (bool 'value') cil managed - { - // Method begins at RVA 0x80bf - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_debug - IL_0008: ret - } // end of method IlasmTask::set_Debug + .property instance class [mscorlib]System.IO.FileInfo Input () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::get_Input () + } + .property instance class [mscorlib]System.IO.FileInfo Output () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::get_Output () + } + } // end of class NAnt.DotNet.Tasks.QualifiedResource +} - // method line 362 - .method public hidebysig specialname - instance default bool get_Error () cil managed - { - // Method begins at RVA 0x80cc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_error - IL_0007: stloc.0 - IL_0008: br IL_000d +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi serializable beforefieldinit LicenseTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 6C 69 63 65 6E 73 65 00 00 ) // ...license.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IlasmTask::get_Error + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - // method line 363 - .method public hidebysig specialname - instance default void set_Error (bool 'value') cil managed + .field private class NAnt.DotNet.Types.AssemblyFileSet _assemblies + .field private class [mscorlib]System.IO.FileInfo _inputFile + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private string _target + .field private string _programFileName + .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory + .field private bool _supportsAssemblyReferences + .field private bool _hasCommandLineCompiler + + // method line 224 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x80e7 - // Code size 9 (0x9) + // Method begins at RVA 0x6493 + // Code size 25 (0x19) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_error - IL_0008: ret - } // end of method IlasmTask::set_Error + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0006: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::_assemblies + IL_000b: ldarg.0 + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.DotNet.Tasks.LicenseTask::_hasCommandLineCompiler + IL_0012: ldarg.0 + IL_0013: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0018: ret + } // end of method LicenseTask::.ctor - // method line 364 + // method line 225 .method public hidebysig specialname - instance default bool get_ForceRebuild () cil managed + instance default class [mscorlib]System.IO.FileInfo get_InputFile () cil managed { - // Method begins at RVA 0x80f4 + // Method begins at RVA 0x64b0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_forceRebuild + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_inputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_ForceRebuild + } // end of method LicenseTask::get_InputFile - // method line 365 + // method line 226 .method public hidebysig specialname - instance default void set_ForceRebuild (bool 'value') cil managed + instance default void set_InputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x810f + // Method begins at RVA 0x64cb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_forceRebuild + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_inputFile IL_0008: ret - } // end of method IlasmTask::set_ForceRebuild + } // end of method LicenseTask::set_InputFile - // method line 366 + // method line 227 .method public hidebysig specialname - instance default bool get_Listing () cil managed + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x811c + // Method begins at RVA 0x64d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_listing + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_outputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Listing + } // end of method LicenseTask::get_OutputFile - // method line 367 + // method line 228 .method public hidebysig specialname - instance default void set_Listing (bool 'value') cil managed + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x8137 + // Method begins at RVA 0x64f3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_listing + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_outputFile IL_0008: ret - } // end of method IlasmTask::set_Listing + } // end of method LicenseTask::set_OutputFile - // method line 368 + // method line 229 .method public hidebysig specialname - instance default int32 get_Alignment () cil managed + instance default class NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed { - // Method begins at RVA 0x8144 + // Method begins at RVA 0x6500 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_alignment + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::_assemblies IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Alignment + } // end of method LicenseTask::get_Assemblies - // method line 369 + // method line 230 .method public hidebysig specialname - instance default void set_Alignment (int32 'value') cil managed + instance default void set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x815f + // Method begins at RVA 0x651b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_alignment + IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::_assemblies IL_0008: ret - } // end of method IlasmTask::set_Alignment + } // end of method LicenseTask::set_Assemblies - // method line 370 + // method line 231 .method public hidebysig specialname - instance default int32 get_Base () cil managed + instance default string get_LicenseTarget () cil managed { - // Method begins at RVA 0x816c + // Method begins at RVA 0x6528 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_base + IL_0002: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Base + } // end of method LicenseTask::get_LicenseTarget - // method line 371 + // method line 232 .method public hidebysig specialname - instance default void set_Base (int32 'value') cil managed + instance default void set_LicenseTarget (string 'value') cil managed { - // Method begins at RVA 0x8187 + // Method begins at RVA 0x6543 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_base + IL_0003: call instance void class NAnt.DotNet.Tasks.LicenseTask::set_Target(string) IL_0008: ret - } // end of method IlasmTask::set_Base + } // end of method LicenseTask::set_LicenseTarget - // method line 372 + // method line 233 .method public hidebysig specialname - instance default int32 get_Flags () cil managed + instance default string get_Target () cil managed { - // Method begins at RVA 0x8194 + // Method begins at RVA 0x6550 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_flags + IL_0002: ldfld string NAnt.DotNet.Tasks.LicenseTask::_target IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Flags + } // end of method LicenseTask::get_Target - // method line 373 + // method line 234 .method public hidebysig specialname - instance default void set_Flags (int32 'value') cil managed + instance default void set_Target (string 'value') cil managed { - // Method begins at RVA 0x81af - // Code size 9 (0x9) + // Method begins at RVA 0x656b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_flags - IL_0008: ret - } // end of method IlasmTask::set_Flags + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.LicenseTask::_target + IL_000d: ret + } // end of method LicenseTask::set_Target - // method line 374 + // method line 235 .method public hidebysig specialname - instance default int32 get_Subsystem () cil managed + instance default bool get_SupportsAssemblyReferences () cil managed { - // Method begins at RVA 0x81bc + // Method begins at RVA 0x657c // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_subsystem + IL_0002: ldfld bool NAnt.DotNet.Tasks.LicenseTask::_supportsAssemblyReferences IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Subsystem + } // end of method LicenseTask::get_SupportsAssemblyReferences - // method line 375 + // method line 236 .method public hidebysig specialname - instance default void set_Subsystem (int32 'value') cil managed + instance default void set_SupportsAssemblyReferences (bool 'value') cil managed { - // Method begins at RVA 0x81d7 + // Method begins at RVA 0x6597 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_subsystem + IL_0003: stfld bool NAnt.DotNet.Tasks.LicenseTask::_supportsAssemblyReferences IL_0008: ret - } // end of method IlasmTask::set_Subsystem + } // end of method LicenseTask::set_SupportsAssemblyReferences - // method line 376 + // method line 237 .method public hidebysig specialname - instance default string get_Target () cil managed + instance default bool get_HasCommandLineCompiler () cil managed { - // Method begins at RVA 0x81e4 + // Method begins at RVA 0x65a4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.IlasmTask::_target + IL_0002: ldfld bool NAnt.DotNet.Tasks.LicenseTask::_hasCommandLineCompiler IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_Target + } // end of method LicenseTask::get_HasCommandLineCompiler - // method line 377 + // method line 238 .method public hidebysig specialname - instance default void set_Target (string 'value') cil managed + instance default void set_HasCommandLineCompiler (bool 'value') cil managed { - // Method begins at RVA 0x81ff - // Code size 14 (0xe) + // Method begins at RVA 0x65bf + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.IlasmTask::_target - IL_000d: ret - } // end of method IlasmTask::set_Target + IL_0003: stfld bool NAnt.DotNet.Tasks.LicenseTask::_hasCommandLineCompiler + IL_0008: ret + } // end of method LicenseTask::set_HasCommandLineCompiler - // method line 378 - .method public hidebysig specialname - instance default string get_KeySource () cil managed + // method line 239 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x8210 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x65cc + // Code size 112 (0x70) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.IlasmTask::_keySource - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IlasmTask::get_KeySource + IL_0002: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_0007: brtrue IL_0033 - // method line 379 - .method public hidebysig specialname - instance default void set_KeySource (string 'value') cil managed - { - // Method begins at RVA 0x822b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.IlasmTask::_keySource - IL_0008: ret - } // end of method IlasmTask::set_KeySource + IL_000c: nop + IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0012: ldstr "NA2013" + IL_0017: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001c: ldarg.0 + IL_001d: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() + IL_0022: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0027: ldarg.0 + IL_0028: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_002d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0032: throw + IL_0033: ldarg.0 + IL_0034: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_0039: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_003e: brtrue IL_006f - // method line 380 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed + IL_0043: nop + IL_0044: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0049: ldstr "NA2014" + IL_004e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0053: ldarg.0 + IL_0054: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_0059: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0063: ldarg.0 + IL_0064: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0069: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_006e: throw + IL_006f: ret + } // end of method LicenseTask::Initialize + + // method line 240 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0x8238 - // Code size 15 (0xf) + // Method begins at RVA 0x6648 + // Code size 39 (0x27) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_keyFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IlasmTask::get_KeyFile + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::_workingDirectory + IL_0007: brtrue IL_0019 - // method line 381 - .method public hidebysig specialname - instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x8253 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_keyFile - IL_0008: ret - } // end of method IlasmTask::set_KeyFile + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0013: stloc.0 + IL_0014: br IL_0025 - // method line 382 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed - { - // Method begins at RVA 0x8260 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0019: ldarg.0 + IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::_workingDirectory + IL_001f: stloc.0 + IL_0020: br IL_0025 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IlasmTask::get_OutputFile + IL_0025: ldloc.0 + IL_0026: ret + } // end of method LicenseTask::get_BaseDirectory - // method line 383 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 241 + .method public virtual hidebysig specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x827b + // Method begins at RVA 0x667b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_outputFile + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::_workingDirectory IL_0008: ret - } // end of method IlasmTask::set_OutputFile + } // end of method LicenseTask::set_BaseDirectory - // method line 384 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ResourceFile () cil managed + // method line 242 + .method public virtual hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed { - // Method begins at RVA 0x8288 + // Method begins at RVA 0x6688 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [NAnt.Core]NAnt.Core.Types.ArgumentCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_resourceFile + IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method IlasmTask::get_ResourceFile - - // method line 385 - .method public hidebysig specialname - instance default void set_ResourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x82a3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_resourceFile - IL_0008: ret - } // end of method IlasmTask::set_ResourceFile + } // end of method LicenseTask::get_Arguments - // method line 386 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed + // method line 243 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x82b0 - // Code size 15 (0xf) + // Method begins at RVA 0x66a4 + // Code size 14 (0xe) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.IlasmTask::_sources - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IlasmTask::get_Sources + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 387 - .method public hidebysig specialname - instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x82cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.IlasmTask::_sources - IL_0008: ret - } // end of method IlasmTask::set_Sources + IL_000c: ldloc.0 + IL_000d: ret + } // end of method LicenseTask::get_ProgramArguments - // method line 388 + // method line 244 .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + instance default string get_ProgramFileName () cil managed { - // Method begins at RVA 0x82d8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x66c0 + // Code size 40 (0x28) + .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.IlasmTask::_options - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName + IL_0007: brtrue IL_001a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IlasmTask::get_ProgramArguments + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_0014: stfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName + IL_0020: stloc.0 + IL_0021: br IL_0026 - // method line 389 + IL_0026: ldloc.0 + IL_0027: ret + } // end of method LicenseTask::get_ProgramFileName + + // method line 245 .method family virtual hidebysig - instance default void ExecuteTask () cil managed + instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed { - // Method begins at RVA 0x82f4 - // Code size 137 (0x89) - .maxstack 7 + // Method begins at RVA 0x66f4 + // Code size 547 (0x223) + .maxstack 4 + .locals init ( + class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + string V_5, + class [System]System.Collections.Specialized.StringEnumerator V_6, + class [mscorlib]System.IDisposable V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.IlasmTask::NeedsCompiling() - IL_0007: brfalse IL_0088 + IL_0002: call instance bool class NAnt.DotNet.Tasks.LicenseTask::get_SupportsAssemblyReferences() + IL_0007: brtrue IL_01ac IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() - IL_0013: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0018: brtrue IL_003a + IL_000d: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_001f: ldloc.0 + IL_0020: ldarg.0 + IL_0021: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0026: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_002b: ldloc.0 + IL_002c: ldarg.0 + IL_002d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0032: ldloc.0 + IL_0033: ldarg.0 + IL_0034: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_003e: ldloc.0 + IL_003f: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0044: brtrue IL_0056 + + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: ldc.i4 4000 + IL_0050: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_0055: nop + IL_0056: ldloc.0 + IL_0057: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_005c: ldloc.0 + IL_005d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0062: ldloc.0 + IL_0063: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0068: ldloc.0 + IL_0069: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_006e: ldloc.0 + IL_006f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0074: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0079: ldloc.0 + IL_007a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_007f: ldloc.0 + IL_0080: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0085: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_008a: ldloc.0 + IL_008b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0090: ldarg.0 + IL_0091: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_0096: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00a0: ldloc.0 + IL_00a1: ldc.i4.1 + IL_00a2: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_Flatten(bool) + IL_00a7: nop + IL_00a8: ldarg.0 + IL_00a9: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_00ae: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00b3: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00b8: stloc.2 + .try { // 0 + IL_00b9: br IL_00d9 + + IL_00be: ldloc.2 + IL_00bf: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00c4: stloc.1 + IL_00c5: nop + IL_00c6: ldloc.0 + IL_00c7: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_00cc: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_00d1: ldloc.1 + IL_00d2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00d7: pop + IL_00d8: nop + IL_00d9: ldloc.2 + IL_00da: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00df: brtrue IL_00be + + IL_00e4: leave IL_00fd + + } // end .try 0 + finally { // 0 + IL_00e9: ldloc.2 + IL_00ea: isinst [mscorlib]System.IDisposable + IL_00ef: dup + IL_00f0: stloc.3 + IL_00f1: brfalse IL_00fc + + IL_00f6: ldloc.3 + IL_00f7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00fc: endfinally + } // end handler 0 + IL_00fd: ldloc.0 + IL_00fe: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0103: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0108: ldarg.0 + IL_0109: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_010e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0113: pop + IL_0114: ldloc.0 + IL_0115: ldarg.0 + IL_0116: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_011b: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0120: ldloc.0 + IL_0121: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0126: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 1 + IL_012b: nop + IL_012c: ldloc.0 + IL_012d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0132: nop + IL_0133: leave IL_0146 + + } // end .try 1 + finally { // 1 + IL_0138: nop + IL_0139: ldloc.0 + IL_013a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_013f: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0144: nop + IL_0145: endfinally + } // end handler 1 + IL_0146: ldarg.0 + IL_0147: ldarg.0 + IL_0148: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_014d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0152: ldarg.0 + IL_0153: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_0158: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_015d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0162: stfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName + IL_0167: ldarg.0 + IL_0168: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_016d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0172: ldarg.0 + IL_0173: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_0178: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_017d: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0182: stloc.s 4 + IL_0184: ldloc.s 4 + IL_0186: call bool string::IsNullOrEmpty(string) + IL_018b: brtrue IL_01a6 + + IL_0190: ldloc.s 4 + IL_0192: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0197: brtrue IL_01a6 + + IL_019c: nop + IL_019d: ldloc.s 4 + IL_019f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_01a4: pop + IL_01a5: nop + IL_01a6: nop + IL_01a7: br IL_021b + + IL_01ac: nop + IL_01ad: nop + IL_01ae: ldarg.0 + IL_01af: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_01b4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01b9: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_01be: stloc.s 6 + .try { // 2 + IL_01c0: br IL_01f2 + + IL_01c5: ldloc.s 6 + IL_01c7: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_01cc: stloc.s 5 + IL_01ce: nop + IL_01cf: ldarg.0 + IL_01d0: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_01d5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01da: ldstr "/i:\"{0}\"" + IL_01df: ldloc.s 5 + IL_01e1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01e6: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_01eb: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_01f0: pop + IL_01f1: nop + IL_01f2: ldloc.s 6 + IL_01f4: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_01f9: brtrue IL_01c5 + + IL_01fe: leave IL_021a + + } // end .try 2 + finally { // 2 + IL_0203: ldloc.s 6 + IL_0205: isinst [mscorlib]System.IDisposable + IL_020a: dup + IL_020b: stloc.s 7 + IL_020d: brfalse IL_0219 + + IL_0212: ldloc.s 7 + IL_0214: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0219: endfinally + } // end handler 2 + IL_021a: nop + IL_021b: ldarg.0 + IL_021c: ldarg.1 + IL_021d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) + IL_0222: ret + } // end of method LicenseTask::PrepareProcess + + // method line 246 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x694c + // Code size 724 (0x2d4) + .maxstack 9 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0, + class [mscorlib]System.Exception V_1, + class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_2, + class [mscorlib]System.AppDomain V_3, + class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer V_4) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_0009: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000e: brtrue IL_0030 + + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_001a: ldarg.0 + IL_001b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0020: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0025: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_002a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_OutputFile() + IL_0036: brtrue IL_0093 + + IL_003b: nop + .try { // 0 + IL_003c: nop + IL_003d: ldarg.0 + IL_003e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0043: ldarg.0 + IL_0044: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_0049: ldstr ".licenses" + IL_004e: call string string::Concat(string, string) + IL_0053: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) + IL_0058: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_005d: stloc.0 + IL_005e: nop + IL_005f: leave IL_008d + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0064: stloc.1 + IL_0065: nop + IL_0066: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_006b: ldstr "NA2015" + IL_0070: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0075: ldarg.0 + IL_0076: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_007b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0080: ldarg.0 + IL_0081: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0086: ldloc.1 + IL_0087: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_008c: throw + } // end handler 0 + IL_008d: nop + IL_008e: br IL_009c + + IL_0093: nop + IL_0094: ldarg.0 + IL_0095: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_OutputFile() + IL_009a: stloc.0 + IL_009b: nop + IL_009c: ldloc.0 + IL_009d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_00a2: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_00a7: brtrue IL_00b9 + + IL_00ac: nop + IL_00ad: ldloc.0 + IL_00ae: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_00b3: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_00b8: nop + IL_00b9: ldarg.0 + IL_00ba: ldloc.0 + IL_00bb: call instance bool class NAnt.DotNet.Tasks.LicenseTask::NeedsCompiling(class [mscorlib]System.IO.FileInfo) + IL_00c0: brtrue IL_00cb + + IL_00c5: nop + IL_00c6: br IL_02d3 + + IL_00cb: ldarg.0 + IL_00cc: ldc.i4 2000 + IL_00d1: ldstr "String_CompilingLicenseUsingTarget" + IL_00d6: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00db: ldc.i4.3 + IL_00dc: newarr [mscorlib]System.Object + IL_00e1: dup + IL_00e2: ldc.i4.0 + IL_00e3: ldarg.0 + IL_00e4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_00e9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00ee: stelem.ref + IL_00ef: dup + IL_00f0: ldc.i4.1 + IL_00f1: ldloc.0 + IL_00f2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00f7: stelem.ref + IL_00f8: dup + IL_00f9: ldc.i4.2 + IL_00fa: ldarg.0 + IL_00fb: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_0100: stelem.ref + IL_0101: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0106: ldarg.0 + IL_0107: call instance bool class NAnt.DotNet.Tasks.LicenseTask::get_HasCommandLineCompiler() + IL_010c: brfalse IL_026d + + IL_0111: nop + IL_0112: ldarg.0 + IL_0113: call class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Util.FileUtils::GetTempDirectory() + IL_0118: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + .try { // 1 + IL_011d: nop + IL_011e: ldarg.0 + IL_011f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0124: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0129: ldstr "/target:\"{0}\"" + IL_012e: ldarg.0 + IL_012f: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_0134: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0139: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_013e: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0143: pop + IL_0144: ldarg.0 + IL_0145: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_014a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_014f: ldstr "/complist:\"{0}\"" + IL_0154: ldarg.0 + IL_0155: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_015a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_015f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0164: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0169: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_016e: pop + IL_016f: ldarg.0 + IL_0170: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0175: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_017a: ldstr "/outdir:\"{0}\"" + IL_017f: ldarg.0 + IL_0180: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0185: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_018a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_018f: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0194: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0199: pop + IL_019a: ldarg.0 + IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_01a0: ldstr "/nologo" + IL_01a5: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_01aa: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_01af: pop + IL_01b0: ldarg.0 + IL_01b1: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_01b6: brfalse IL_01d3 + + IL_01bb: nop + IL_01bc: ldarg.0 + IL_01bd: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_01c2: ldstr "/v" + IL_01c7: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_01cc: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_01d1: pop + IL_01d2: nop + IL_01d3: ldarg.0 + IL_01d4: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_01d9: ldloc.0 + IL_01da: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01df: call bool class [mscorlib]System.IO.File::Exists(string) + IL_01e4: brfalse IL_01f6 + + IL_01e9: nop + IL_01ea: ldloc.0 + IL_01eb: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01f0: call void class [mscorlib]System.IO.File::Delete(string) + IL_01f5: nop + IL_01f6: ldarg.0 + IL_01f7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_01fc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0201: ldarg.0 + IL_0202: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_0207: ldstr ".licenses" + IL_020c: call string string::Concat(string, string) + IL_0211: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0216: ldloc.0 + IL_0217: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_021c: ldc.i4.1 + IL_021d: call void class [mscorlib]System.IO.File::Copy(string, string, bool) + IL_0222: nop + IL_0223: leave IL_0267 + + } // end .try 1 + finally { // 1 + IL_0228: nop + IL_0229: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() + IL_022e: stloc.2 + IL_022f: ldloc.2 + IL_0230: ldarg.0 + IL_0231: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0236: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_023b: ldloc.2 + IL_023c: ldarg.0 + IL_023d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0242: ldloc.2 + IL_0243: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0248: ldloc.2 + IL_0249: ldarg.0 + IL_024a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_024f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) + IL_0254: ldloc.2 + IL_0255: ldc.i4 9999 + IL_025a: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_025f: ldloc.2 + IL_0260: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0265: nop + IL_0266: endfinally + } // end handler 1 + IL_0267: nop + IL_0268: br IL_02d3 + + IL_026d: nop + IL_026e: ldstr "LicenseGatheringDomain" + IL_0273: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string) + IL_0278: stloc.3 + IL_0279: ldloc.3 + IL_027a: ldtoken NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer + IL_027f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0284: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() + IL_0289: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_028e: ldtoken NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer + IL_0293: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0298: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_029d: ldc.i4.0 + IL_029e: ldc.i4.s 0x14 + IL_02a0: ldnull + IL_02a1: ldc.i4.0 + IL_02a2: newarr [mscorlib]System.Object + IL_02a7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02ac: ldc.i4.0 + IL_02ad: newarr [mscorlib]System.Object + IL_02b2: callvirt instance object class [mscorlib]System.AppDomain::CreateInstanceAndUnwrap(string, string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) + IL_02b7: castclass NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer + IL_02bc: stloc.s 4 + IL_02be: ldloc.s 4 + IL_02c0: ldarg.0 + IL_02c1: ldloc.0 + IL_02c2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02c7: callvirt instance void class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer::CreateLicenseFile(class NAnt.DotNet.Tasks.LicenseTask, string) + IL_02cc: ldloc.3 + IL_02cd: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_02d2: nop + IL_02d3: ret + } // end of method LicenseTask::ExecuteTask + + // method line 247 + .method private hidebysig + instance default bool NeedsCompiling (class [mscorlib]System.IO.FileInfo licensesFile) cil managed + { + // Method begins at RVA 0x6c60 + // Code size 214 (0xd6) + .maxstack 7 + .locals init ( + bool V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0007: brtrue IL_0038 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldc.i4 2000 + IL_0013: ldstr "String_OutputFileDoesNotExist" + IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldc.i4.1 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldarg.1 + IL_0026: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002b: stelem.ref + IL_002c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0031: ldc.i4.1 + IL_0032: stloc.0 + IL_0033: br IL_00d4 + + IL_0038: ldarg.0 + IL_0039: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_003e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0043: ldarg.1 + IL_0044: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0049: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_004e: stloc.1 + IL_004f: ldloc.1 + IL_0050: brfalse IL_007c + + IL_0055: nop + IL_0056: ldarg.0 + IL_0057: ldc.i4 2000 + IL_005c: ldstr "String_FileHasBeenUpdated" + IL_0061: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0066: ldc.i4.1 + IL_0067: newarr [mscorlib]System.Object + IL_006c: dup + IL_006d: ldc.i4.0 + IL_006e: ldloc.1 + IL_006f: stelem.ref + IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0075: ldc.i4.1 + IL_0076: stloc.0 + IL_0077: br IL_00d4 + + IL_007c: ldarg.0 + IL_007d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_0082: brfalse IL_00cd - IL_001d: nop - IL_001e: ldarg.0 - IL_001f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() - IL_0024: ldarg.0 - IL_0025: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_002a: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_002f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0034: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: ldc.i4 3000 - IL_0040: ldstr "String_CompilingFiles" - IL_0045: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004a: ldc.i4.2 - IL_004b: newarr [mscorlib]System.Object - IL_0050: dup - IL_0051: ldc.i4.0 - IL_0052: ldarg.0 - IL_0053: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() - IL_0058: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_005d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0062: box [mscorlib]System.Int32 - IL_0067: stelem.ref - IL_0068: dup - IL_0069: ldc.i4.1 - IL_006a: ldarg.0 - IL_006b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_0070: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0075: stelem.ref - IL_0076: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007b: ldarg.0 - IL_007c: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOptions() - IL_0081: ldarg.0 - IL_0082: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() IL_0087: nop - IL_0088: ret - } // end of method IlasmTask::ExecuteTask + IL_0088: ldarg.0 + IL_0089: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_008e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0093: ldarg.1 + IL_0094: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0099: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_009e: stloc.1 + IL_009f: ldloc.1 + IL_00a0: brfalse IL_00cc - // method line 390 - .method private hidebysig - instance default void WriteOptions () cil managed + IL_00a5: nop + IL_00a6: ldarg.0 + IL_00a7: ldc.i4 2000 + IL_00ac: ldstr "String_FileHasBeenUpdated" + IL_00b1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00b6: ldc.i4.1 + IL_00b7: newarr [mscorlib]System.Object + IL_00bc: dup + IL_00bd: ldc.i4.0 + IL_00be: ldloc.1 + IL_00bf: stelem.ref + IL_00c0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00c5: ldc.i4.1 + IL_00c6: stloc.0 + IL_00c7: br IL_00d4 + + IL_00cc: nop + IL_00cd: ldc.i4.0 + IL_00ce: stloc.0 + IL_00cf: br IL_00d4 + + IL_00d4: ldloc.0 + IL_00d5: ret + } // end of method LicenseTask::NeedsCompiling + + .property instance class [mscorlib]System.IO.FileInfo InputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 69 6E 70 75 74 01 00 54 02 08 52 65 71 // ...input..T..Req + 75 69 72 65 64 01 ) // uired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::get_InputFile () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_InputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 00 ) // quired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::get_OutputFile () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class NAnt.DotNet.Types.AssemblyFileSet Assemblies () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. + + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::get_Assemblies () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance string LicenseTarget () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 6C 69 63 65 6E 73 65 74 61 72 67 65 74 // ...licensetarget + 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 23 55 73 65 20 74 68 65 20 22 74 61 72 67 // ..#Use the "targ + 65 74 22 20 61 74 74 72 69 62 75 74 65 20 69 6E // et" attribute in + 73 74 65 61 64 2E 00 00 00 ) // stead.... + + .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_LicenseTarget () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_LicenseTarget (string 'value') + } + .property instance string Target () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re + 71 75 69 72 65 64 00 ) // quired. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_Target () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_Target (string 'value') + } + .property instance bool SupportsAssemblyReferences () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 1A 73 75 70 70 6F 72 74 73 61 73 73 65 6D // ...supportsassem + 62 6C 79 72 65 66 65 72 65 6E 63 65 73 00 00 ) // blyreferences.. + + .get instance default bool NAnt.DotNet.Tasks.LicenseTask::get_SupportsAssemblyReferences () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_SupportsAssemblyReferences (bool 'value') + } + .property instance bool HasCommandLineCompiler () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 16 68 61 73 63 6F 6D 6D 61 6E 64 6C 69 6E // ...hascommandlin + 65 63 6F 6D 70 69 6C 65 72 00 00 ) // ecompiler.. + + .get instance default bool NAnt.DotNet.Tasks.LicenseTask::get_HasCommandLineCompiler () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_HasCommandLineCompiler (bool 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::get_BaseDirectory () + .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection Arguments () + { + .get instance default class [NAnt.Core]NAnt.Core.Types.ArgumentCollection NAnt.DotNet.Tasks.LicenseTask::get_Arguments () + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_ProgramArguments () + } + .property instance string ProgramFileName () + { + .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_ProgramFileName () + } + .class nested private auto ansi beforefieldinit LicenseGatherer + extends [mscorlib]System.MarshalByRefObject + { + + // method line 248 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x838c - // Code size 636 (0x27c) - .maxstack 5 + // Method begins at RVA 0x6d42 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.MarshalByRefObject::'.ctor'() + IL_0006: ret + } // end of method LicenseGatherer::.ctor + + // method line 249 + .method public virtual hidebysig + instance default object InitializeLifetimeService () cil managed + { + // Method begins at RVA 0x6d4c + // Code size 47 (0x2f) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.StringWriter V_0, - int32 V_1, - int32 V_2, - int32 V_3, - int32 V_4, - string V_5, - class [System]System.Collections.Specialized.StringEnumerator V_6, - class [mscorlib]System.IDisposable V_7) + class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, + object V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() + IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() + IL_0013: ldc.i4.1 + IL_0014: bne.un IL_0026 + + IL_0019: nop + IL_001a: ldloc.0 + IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero + IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) + IL_0025: nop + IL_0026: ldloc.0 + IL_0027: stloc.1 + IL_0028: br IL_002d + + IL_002d: ldloc.1 + IL_002e: ret + } // end of method LicenseGatherer::InitializeLifetimeService + + // method line 250 + .method public hidebysig + instance default void CreateLicenseFile (class NAnt.DotNet.Tasks.LicenseTask licenseTask, string licensesFile) cil managed + { + // Method begins at RVA 0x6d88 + // Code size 1071 (0x42f) + .maxstack 7 + .locals init ( + class [mscorlib]System.Collections.ArrayList V_0, + class [NAnt.Core]NAnt.Core.Util.AssemblyResolver V_1, + string V_2, + class [System]System.Collections.Specialized.StringEnumerator V_3, + class [mscorlib]System.Reflection.Assembly V_4, + class [mscorlib]System.IDisposable V_5, + class [System]System.ComponentModel.Design.DesigntimeLicenseContext V_6, + class [mscorlib]System.IO.StreamReader V_7, + class [mscorlib]System.Collections.Hashtable V_8, + string V_9, + string V_10, + class [mscorlib]System.Type V_11, + class [mscorlib]System.Reflection.Assembly V_12, + class [mscorlib]System.Collections.IEnumerator V_13, + class [mscorlib]System.IDisposable V_14, + class [mscorlib]System.Exception V_15, + class [mscorlib]System.IO.FileStream V_16, + class [mscorlib]System.Exception V_17) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() IL_0006: stloc.0 - .try { // 1 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldloc.0 - IL_000a: ldstr "NOLOGO" - IL_000f: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) - IL_0014: ldarg.0 - IL_0015: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_001a: brtrue IL_002d + IL_0007: ldarg.1 + IL_0008: newobj instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::'.ctor'(class [NAnt.Core]NAnt.Core.Task) + IL_000d: stloc.1 + IL_000e: ldloc.1 + IL_000f: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Attach() + IL_0014: ldarg.1 + IL_0015: ldc.i4 2000 + IL_001a: ldstr "String_LoadingAssemblies" + IL_001f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + .try { // 8 + .try { // 6 + IL_0029: nop + IL_002a: nop + IL_002b: ldarg.1 + IL_002c: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_0031: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0036: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_003b: stloc.3 + .try { // 0 + IL_003c: br IL_0089 - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: ldloc.0 - IL_0022: ldstr "QUIET" - IL_0027: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) - IL_002c: nop - IL_002d: ldarg.0 - IL_002e: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Clock() - IL_0033: brfalse IL_0046 + IL_0041: ldloc.3 + IL_0042: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0047: stloc.2 + IL_0048: nop + IL_0049: ldloc.2 + IL_004a: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_004f: stloc.s 4 + IL_0051: ldloc.s 4 + IL_0053: ldnull + IL_0054: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_0059: brfalse IL_0088 - IL_0038: nop - IL_0039: ldarg.0 - IL_003a: ldloc.0 - IL_003b: ldstr "CLOCK" - IL_0040: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) - IL_0045: nop - IL_0046: ldarg.0 - IL_0047: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Debug() - IL_004c: brfalse IL_005f + IL_005e: nop + IL_005f: ldarg.1 + IL_0060: ldc.i4 2000 + IL_0065: ldstr "String_AssemblyLoaded" + IL_006a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_006f: ldc.i4.1 + IL_0070: newarr [mscorlib]System.Object + IL_0075: dup + IL_0076: ldc.i4.0 + IL_0077: ldloc.2 + IL_0078: stelem.ref + IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007e: ldloc.0 + IL_007f: ldloc.s 4 + IL_0081: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0086: pop + IL_0087: nop + IL_0088: nop + IL_0089: ldloc.3 + IL_008a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_008f: brtrue IL_0041 - IL_0051: nop - IL_0052: ldarg.0 - IL_0053: ldloc.0 - IL_0054: ldstr "DEBUG" - IL_0059: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) - IL_005e: nop - IL_005f: ldarg.0 - IL_0060: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Error() - IL_0065: brfalse IL_0078 + IL_0094: leave IL_00af - IL_006a: nop - IL_006b: ldarg.0 - IL_006c: ldloc.0 - IL_006d: ldstr "ERROR" - IL_0072: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) - IL_0077: nop - IL_0078: ldarg.0 - IL_0079: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Listing() - IL_007e: brfalse IL_0091 + } // end .try 0 + finally { // 0 + IL_0099: ldloc.3 + IL_009a: isinst [mscorlib]System.IDisposable + IL_009f: dup + IL_00a0: stloc.s 5 + IL_00a2: brfalse IL_00ae - IL_0083: nop - IL_0084: ldarg.0 - IL_0085: ldloc.0 - IL_0086: ldstr "LISTING" - IL_008b: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) - IL_0090: nop - IL_0091: ldarg.0 - IL_0092: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Alignment() - IL_0097: ldc.i4.0 - IL_0098: ble IL_00bf + IL_00a7: ldloc.s 5 + IL_00a9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00ae: endfinally + } // end handler 0 + IL_00af: newobj instance void class [System]System.ComponentModel.Design.DesigntimeLicenseContext::'.ctor'() + IL_00b4: stloc.s 6 + IL_00b6: ldloc.s 6 + IL_00b8: call void class [System]System.ComponentModel.LicenseManager::set_CurrentContext(class [System]System.ComponentModel.LicenseContext) + IL_00bd: ldarg.1 + IL_00be: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_00c3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00c8: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) + IL_00cd: stloc.s 7 + .try { // 4 + IL_00cf: nop + IL_00d0: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_00d5: stloc.s 8 + IL_00d7: ldarg.1 + IL_00d8: ldc.i4 2000 + IL_00dd: ldstr "String_CreatingLicenses" + IL_00e2: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00e7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00ec: nop + IL_00ed: nop + IL_00ee: ldloc.s 7 + IL_00f0: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_00f5: stloc.s 9 + IL_00f7: ldloc.s 9 + IL_00f9: brtrue IL_0104 - IL_009d: nop - IL_009e: ldarg.0 - IL_009f: ldloc.0 - IL_00a0: ldstr "ALIGNMENT" - IL_00a5: ldarg.0 - IL_00a6: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Alignment() - IL_00ab: stloc.1 - IL_00ac: ldloca.s 1 - IL_00ae: constrained. [mscorlib]System.Int32 - IL_00b4: callvirt instance string object::ToString() - IL_00b9: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_00be: nop - IL_00bf: ldarg.0 - IL_00c0: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Base() - IL_00c5: ldc.i4.0 - IL_00c6: ble IL_00ed + IL_00fe: nop + IL_00ff: leave IL_0322 - IL_00cb: nop - IL_00cc: ldarg.0 - IL_00cd: ldloc.0 - IL_00ce: ldstr "BASE" - IL_00d3: ldarg.0 - IL_00d4: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Base() - IL_00d9: stloc.2 - IL_00da: ldloca.s 2 - IL_00dc: constrained. [mscorlib]System.Int32 - IL_00e2: callvirt instance string object::ToString() - IL_00e7: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_00ec: nop - IL_00ed: ldarg.0 - IL_00ee: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Flags() - IL_00f3: ldc.i4.0 - IL_00f4: ble IL_011b + IL_0104: ldloc.s 9 + IL_0106: callvirt instance string string::Trim() + IL_010b: stloc.s 9 + IL_010d: ldloc.s 9 + IL_010f: ldstr "#" + IL_0114: callvirt instance bool string::StartsWith(string) + IL_0119: brtrue IL_0138 - IL_00f9: nop - IL_00fa: ldarg.0 - IL_00fb: ldloc.0 - IL_00fc: ldstr "FLAGS" - IL_0101: ldarg.0 - IL_0102: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Flags() - IL_0107: stloc.3 - IL_0108: ldloca.s 3 - IL_010a: constrained. [mscorlib]System.Int32 - IL_0110: callvirt instance string object::ToString() - IL_0115: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_011a: nop - IL_011b: ldarg.0 - IL_011c: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Subsystem() - IL_0121: ldc.i4.0 - IL_0122: ble IL_014a + IL_011e: ldloc.s 9 + IL_0120: callvirt instance int32 string::get_Length() + IL_0125: brfalse IL_0138 - IL_0127: nop - IL_0128: ldarg.0 - IL_0129: ldloc.0 - IL_012a: ldstr "SUBSYSTEM" - IL_012f: ldarg.0 - IL_0130: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Subsystem() - IL_0135: stloc.s 4 - IL_0137: ldloca.s 4 - IL_0139: constrained. [mscorlib]System.Int32 - IL_013f: callvirt instance string object::ToString() - IL_0144: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_0149: nop - IL_014a: ldarg.0 - IL_014b: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_Target() - IL_0150: brfalse IL_0169 + IL_012a: ldloc.s 8 + IL_012c: ldloc.s 9 + IL_012e: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0133: brfalse IL_013e + + IL_0138: nop + IL_0139: leave IL_00ec + + IL_013e: ldarg.1 + IL_013f: ldc.i4 2000 + IL_0144: ldloc.s 9 + IL_0146: ldstr ": " + IL_014b: call string string::Concat(string, string) + IL_0150: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0155: ldloc.s 9 + IL_0157: ldc.i4.s 0x2c + IL_0159: callvirt instance int32 string::IndexOf(char) + IL_015e: ldc.i4.m1 + IL_015f: beq IL_0179 + + IL_0164: nop + IL_0165: ldloc.s 9 + IL_0167: ldc.i4.s 0x2c + IL_0169: ldc.i4.0 + IL_016a: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_016f: ldc.i4.0 + IL_0170: ldelem.ref + IL_0171: stloc.s 10 + IL_0173: nop + IL_0174: br IL_017f - IL_0155: nop - IL_0156: ldarg.0 - IL_0157: ldloc.0 - IL_0158: ldarg.0 - IL_0159: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_Target() - IL_015e: callvirt instance string string::ToUpper() - IL_0163: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) - IL_0168: nop - IL_0169: ldarg.0 - IL_016a: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_KeySource() - IL_016f: brfalse IL_0192 + IL_0179: nop + IL_017a: ldloc.s 9 + IL_017c: stloc.s 10 + IL_017e: nop + IL_017f: ldnull + IL_0180: stloc.s 11 + IL_0182: nop + IL_0183: ldloc.0 + IL_0184: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0189: stloc.s 13 + .try { // 1 + IL_018b: br IL_01cf - IL_0174: nop - IL_0175: ldarg.0 - IL_0176: ldloc.0 - IL_0177: ldstr "KEY" - IL_017c: ldstr "@" - IL_0181: ldarg.0 - IL_0182: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_KeySource() - IL_0187: call string string::Concat(string, string) - IL_018c: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_0191: nop - IL_0192: ldarg.0 - IL_0193: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() - IL_0198: brfalse IL_01b6 + IL_0190: ldloc.s 13 + IL_0192: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0197: castclass [mscorlib]System.Reflection.Assembly + IL_019c: stloc.s 12 + IL_019e: nop + IL_019f: ldloc.s 11 + IL_01a1: ldnull + IL_01a2: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_01a7: brfalse IL_01bb - IL_019d: nop - IL_019e: ldarg.0 - IL_019f: ldloc.0 - IL_01a0: ldstr "KEY" - IL_01a5: ldarg.0 - IL_01a6: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() - IL_01ab: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01b0: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_01b5: nop - IL_01b6: ldarg.0 - IL_01b7: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_01bc: brfalse IL_01da + IL_01ac: nop + IL_01ad: ldloc.s 12 + IL_01af: ldloc.s 10 + IL_01b1: ldc.i4.0 + IL_01b2: ldc.i4.1 + IL_01b3: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) + IL_01b8: stloc.s 11 + IL_01ba: nop + IL_01bb: ldloc.s 11 + IL_01bd: ldnull + IL_01be: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_01c3: brfalse IL_01ce - IL_01c1: nop - IL_01c2: ldarg.0 - IL_01c3: ldloc.0 - IL_01c4: ldstr "OUTPUT" - IL_01c9: ldarg.0 - IL_01ca: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_01cf: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01d4: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_01d9: nop - IL_01da: ldarg.0 - IL_01db: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() - IL_01e0: brfalse IL_01fe + IL_01c8: nop + IL_01c9: leave IL_01db - IL_01e5: nop - IL_01e6: ldarg.0 - IL_01e7: ldloc.0 - IL_01e8: ldstr "RESOURCE" - IL_01ed: ldarg.0 - IL_01ee: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() - IL_01f3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01f8: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) - IL_01fd: nop - IL_01fe: nop - IL_01ff: ldarg.0 - IL_0200: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() - IL_0205: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_020a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_020f: stloc.s 6 - .try { // 0 - IL_0211: br IL_0238 + IL_01ce: nop + IL_01cf: ldloc.s 13 + IL_01d1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01d6: brtrue IL_0190 - IL_0216: ldloc.s 6 - IL_0218: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_021d: stloc.s 5 - IL_021f: nop - IL_0220: ldloc.0 - IL_0221: ldstr " \"" - IL_0226: ldloc.s 5 - IL_0228: ldstr "\" " - IL_022d: call string string::Concat(string, string, string) - IL_0232: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_0237: nop - IL_0238: ldloc.s 6 - IL_023a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_023f: brtrue IL_0216 + IL_01db: leave IL_01f7 - IL_0244: leave IL_0260 + } // end .try 1 + finally { // 1 + IL_01e0: ldloc.s 13 + IL_01e2: isinst [mscorlib]System.IDisposable + IL_01e7: dup + IL_01e8: stloc.s 14 + IL_01ea: brfalse IL_01f6 - } // end .try 0 - finally { // 0 - IL_0249: ldloc.s 6 - IL_024b: isinst [mscorlib]System.IDisposable - IL_0250: dup - IL_0251: stloc.s 7 - IL_0253: brfalse IL_025f + IL_01ef: ldloc.s 14 + IL_01f1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01f6: endfinally + } // end handler 1 + IL_01f7: ldloc.s 11 + IL_01f9: ldnull + IL_01fa: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_01ff: brfalse IL_0220 - IL_0258: ldloc.s 7 - IL_025a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_025f: endfinally - } // end handler 0 - IL_0260: ldarg.0 - IL_0261: ldloc.0 - IL_0262: callvirt instance string object::ToString() - IL_0267: stfld string NAnt.DotNet.Tasks.IlasmTask::_options - IL_026c: nop - IL_026d: leave IL_027b + IL_0204: nop + .try { // 2 + IL_0205: nop + IL_0206: ldloc.s 9 + IL_0208: ldc.i4.0 + IL_0209: ldc.i4.0 + IL_020a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) + IL_020f: stloc.s 11 + IL_0211: nop + IL_0212: leave IL_021f - } // end .try 1 - finally { // 1 - IL_0272: nop - IL_0273: ldloc.0 - IL_0274: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0279: nop - IL_027a: endfinally - } // end handler 1 - IL_027b: ret - } // end of method IlasmTask::WriteOptions + } // end .try 2 + catch class [mscorlib]System.Object { // 2 + IL_0217: pop + IL_0218: nop + IL_0219: nop + IL_021a: leave IL_021f - // method line 391 - .method private hidebysig - instance default void WriteOption (class [mscorlib]System.IO.StringWriter writer, string name) cil managed - { - // Method begins at RVA 0x8648 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "/{0} " - IL_0007: ldarg.2 - IL_0008: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string, object) - IL_000d: ret - } // end of method IlasmTask::WriteOption + } // end handler 2 + IL_021f: nop + IL_0220: ldloc.s 11 + IL_0222: ldnull + IL_0223: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0228: brfalse IL_0250 - // method line 392 - .method private hidebysig - instance default void WriteOption (class [mscorlib]System.IO.StringWriter writer, string name, string arg) cil managed - { - // Method begins at RVA 0x8657 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "\"/{0}={1}\" " - IL_0007: ldarg.2 - IL_0008: ldarg.3 - IL_0009: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string, object, object) - IL_000e: ret - } // end of method IlasmTask::WriteOption + IL_022d: nop + IL_022e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0233: ldstr "NA2016" + IL_0238: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_023d: ldloc.s 10 + IL_023f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0244: ldarg.1 + IL_0245: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_024a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_024f: throw + IL_0250: nop + IL_0251: ldloc.s 8 + IL_0253: ldloc.s 9 + IL_0255: ldloc.s 11 + IL_0257: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_025c: nop + IL_025d: ldloc.s 11 + IL_025f: ldtoken [System]System.ComponentModel.LicenseProviderAttribute + IL_0264: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0269: ldc.i4.1 + IL_026a: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_026f: ldlen + IL_0270: conv.i4 + IL_0271: brtrue IL_029e - // method line 393 - .method private hidebysig - instance default bool NeedsCompiling () cil managed - { - // Method begins at RVA 0x8668 - // Code size 360 (0x168) - .maxstack 7 - .locals init ( - bool V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_ForceRebuild() - IL_0007: brfalse IL_0029 + IL_0276: nop + IL_0277: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_027c: ldstr "NA2017" + IL_0281: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0286: ldloc.s 11 + IL_0288: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_028d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0292: ldarg.1 + IL_0293: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0298: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_029d: throw + .try { // 3 + IL_029e: nop + IL_029f: ldloc.s 11 + IL_02a1: ldloc.s 6 + IL_02a3: call object class [System]System.ComponentModel.LicenseManager::CreateWithContext(class [mscorlib]System.Type, class [System]System.ComponentModel.LicenseContext) + IL_02a8: pop + IL_02a9: nop + IL_02aa: leave IL_031c - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldc.i4 2000 - IL_0013: ldstr "String_RebuildAttributeSetToTrue" - IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0022: ldc.i4.1 - IL_0023: stloc.0 - IL_0024: br IL_0166 + } // end .try 3 + catch class [mscorlib]System.Exception { // 3 + IL_02af: stloc.s 15 + IL_02b1: nop + IL_02b2: ldarg.0 + IL_02b3: ldloc.s 15 + IL_02b5: call instance bool class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer::IsSerializable(object) + IL_02ba: brfalse IL_02e9 - IL_0029: ldarg.0 - IL_002a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_002f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0034: brtrue IL_006a + IL_02bf: nop + IL_02c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02c5: ldstr "NA2018" + IL_02ca: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02cf: ldloc.s 11 + IL_02d1: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_02d6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_02db: ldarg.1 + IL_02dc: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_02e1: ldloc.s 15 + IL_02e3: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_02e8: throw + IL_02e9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02ee: ldstr "NA2018" + IL_02f3: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02f8: ldloc.s 11 + IL_02fa: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_02ff: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0304: ldarg.1 + IL_0305: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_030a: ldloc.s 15 + IL_030c: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_0311: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0316: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_031b: throw + } // end handler 3 + IL_031c: nop + IL_031d: br IL_00ec - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: ldc.i4 2000 - IL_0040: ldstr "String_OutputFileDoesNotExist" - IL_0045: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004a: ldc.i4.1 - IL_004b: newarr [mscorlib]System.Object - IL_0050: dup - IL_0051: ldc.i4.0 - IL_0052: ldarg.0 - IL_0053: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005d: stelem.ref - IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0063: ldc.i4.1 - IL_0064: stloc.0 - IL_0065: br IL_0166 + IL_0322: nop + IL_0323: leave IL_0337 - IL_006a: ldarg.0 - IL_006b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() - IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0075: ldarg.0 - IL_0076: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_007b: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0080: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0085: stloc.1 - IL_0086: ldloc.1 - IL_0087: brfalse IL_00b3 + } // end .try 4 + finally { // 4 + IL_0328: ldloc.s 7 + IL_032a: brfalse IL_0336 - IL_008c: nop - IL_008d: ldarg.0 - IL_008e: ldc.i4 2000 - IL_0093: ldstr "String_FileHasBeenUpdated" - IL_0098: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009d: ldc.i4.1 - IL_009e: newarr [mscorlib]System.Object - IL_00a3: dup - IL_00a4: ldc.i4.0 - IL_00a5: ldloc.1 - IL_00a6: stelem.ref - IL_00a7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00ac: ldc.i4.1 - IL_00ad: stloc.0 - IL_00ae: br IL_0166 + IL_032f: ldloc.s 7 + IL_0331: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0336: endfinally + } // end handler 4 + IL_0337: ldarg.2 + IL_0338: call bool class [mscorlib]System.IO.File::Exists(string) + IL_033d: brfalse IL_0355 - IL_00b3: ldarg.0 - IL_00b4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() - IL_00b9: brfalse IL_0109 + IL_0342: nop + IL_0343: ldarg.2 + IL_0344: ldc.i4 128 + IL_0349: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) + IL_034e: ldarg.2 + IL_034f: call void class [mscorlib]System.IO.File::Delete(string) + IL_0354: nop + IL_0355: ldarg.2 + IL_0356: ldc.i4.2 + IL_0357: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) + IL_035c: stloc.s 16 + .try { // 5 + IL_035e: nop + IL_035f: ldloc.s 16 + IL_0361: ldarg.1 + IL_0362: callvirt instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() + IL_0367: ldloc.s 6 + IL_0369: call void class [System]System.ComponentModel.Design.DesigntimeLicenseContextSerializer::Serialize(class [mscorlib]System.IO.Stream, string, class [System]System.ComponentModel.Design.DesigntimeLicenseContext) + IL_036e: ldarg.1 + IL_036f: ldc.i4 2000 + IL_0374: ldstr "String_CreatedNewLicense" + IL_0379: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_037e: ldc.i4.1 + IL_037f: newarr [mscorlib]System.Object + IL_0384: dup + IL_0385: ldc.i4.0 + IL_0386: ldarg.2 + IL_0387: stelem.ref + IL_0388: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_038d: nop + IL_038e: leave IL_03a2 - IL_00be: nop - IL_00bf: ldarg.0 - IL_00c0: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() - IL_00c5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00ca: ldarg.0 - IL_00cb: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_00d0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00d5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_00da: stloc.1 - IL_00db: ldloc.1 - IL_00dc: brfalse IL_0108 + } // end .try 5 + finally { // 5 + IL_0393: ldloc.s 16 + IL_0395: brfalse IL_03a1 - IL_00e1: nop - IL_00e2: ldarg.0 - IL_00e3: ldc.i4 2000 - IL_00e8: ldstr "String_FileHasBeenUpdated" - IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f2: ldc.i4.1 - IL_00f3: newarr [mscorlib]System.Object - IL_00f8: dup - IL_00f9: ldc.i4.0 - IL_00fa: ldloc.1 - IL_00fb: stelem.ref - IL_00fc: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0101: ldc.i4.1 - IL_0102: stloc.0 - IL_0103: br IL_0166 + IL_039a: ldloc.s 16 + IL_039c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_03a1: endfinally + } // end handler 5 + IL_03a2: ldnull + IL_03a3: stloc.s 6 + IL_03a5: nop + IL_03a6: leave IL_042e - IL_0108: nop - IL_0109: ldarg.0 - IL_010a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() - IL_010f: brfalse IL_015f + } // end .try 6 + catch class [NAnt.Core]NAnt.Core.BuildException { // 6 + IL_03ab: pop + IL_03ac: nop + IL_03ad: rethrow + } // end handler 6 + catch class [mscorlib]System.Exception { // 7 + IL_03af: stloc.s 17 + IL_03b1: nop + IL_03b2: ldarg.0 + IL_03b3: ldloc.s 17 + IL_03b5: call instance bool class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer::IsSerializable(object) + IL_03ba: brfalse IL_03ed - IL_0114: nop - IL_0115: ldarg.0 - IL_0116: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() - IL_011b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0120: ldarg.0 - IL_0121: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() - IL_0126: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_012b: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0130: stloc.1 - IL_0131: ldloc.1 - IL_0132: brfalse IL_015e + IL_03bf: nop + IL_03c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03c5: ldstr "NA2019" + IL_03ca: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03cf: ldarg.1 + IL_03d0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_03d5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_03da: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_03df: ldarg.1 + IL_03e0: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_03e5: ldloc.s 17 + IL_03e7: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_03ec: throw + IL_03ed: nop + IL_03ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03f3: ldstr "NA2019" + IL_03f8: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03fd: ldarg.1 + IL_03fe: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() + IL_0403: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0408: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_040d: ldarg.1 + IL_040e: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0413: ldloc.s 17 + IL_0415: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_041a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_041f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0424: throw + } // end handler 7 + } // end .try 8 + finally { // 8 + IL_0425: nop + IL_0426: ldloc.1 + IL_0427: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Detach() + IL_042c: nop + IL_042d: endfinally + } // end handler 8 + IL_042e: ret + } // end of method LicenseGatherer::CreateLicenseFile - IL_0137: nop - IL_0138: ldarg.0 - IL_0139: ldc.i4 2000 - IL_013e: ldstr "String_FileHasBeenUpdated" - IL_0143: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0148: ldc.i4.1 - IL_0149: newarr [mscorlib]System.Object - IL_014e: dup - IL_014f: ldc.i4.0 - IL_0150: ldloc.1 - IL_0151: stelem.ref - IL_0152: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0157: ldc.i4.1 - IL_0158: stloc.0 - IL_0159: br IL_0166 + // method line 251 + .method private hidebysig + instance default bool IsSerializable (object 'value') cil managed + { + // Method begins at RVA 0x72a0 + // Code size 49 (0x31) + .maxstack 3 + .locals init ( + class [mscorlib]System.Runtime.Serialization.Formatters.Binary.BinaryFormatter V_0, + class [mscorlib]System.IO.MemoryStream V_1, + bool V_2) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.Runtime.Serialization.Formatters.Binary.BinaryFormatter::'.ctor'() + IL_0006: stloc.0 + IL_0007: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_000c: stloc.1 + .try { // 1 + .try { // 0 + IL_000d: nop + IL_000e: ldloc.0 + IL_000f: ldloc.1 + IL_0010: ldarg.1 + IL_0011: callvirt instance void class [mscorlib]System.Runtime.Serialization.Formatters.Binary.BinaryFormatter::Serialize(class [mscorlib]System.IO.Stream, object) + IL_0016: ldc.i4.1 + IL_0017: stloc.2 + IL_0018: leave IL_002f - IL_015e: nop - IL_015f: ldc.i4.0 - IL_0160: stloc.0 - IL_0161: br IL_0166 + } // end .try 0 + catch class [mscorlib]System.Runtime.Serialization.SerializationException { // 0 + IL_001d: pop + IL_001e: nop + IL_001f: ldc.i4.0 + IL_0020: stloc.2 + IL_0021: leave IL_002f - IL_0166: ldloc.0 - IL_0167: ret - } // end of method IlasmTask::NeedsCompiling + } // end handler 0 + } // end .try 1 + finally { // 1 + IL_0026: nop + IL_0027: ldloc.1 + IL_0028: callvirt instance void class [mscorlib]System.IO.Stream::Close() + IL_002d: nop + IL_002e: endfinally + } // end handler 1 + IL_002f: ldloc.2 + IL_0030: ret + } // end of method LicenseGatherer::IsSerializable - .property instance bool Clock () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 63 6C 6F 63 6B 00 00 ) // ...clock.. + } // end of class LicenseGatherer - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end of class NAnt.DotNet.Tasks.LicenseTask +} - .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Clock () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Clock (bool 'value') - } - .property instance bool Debug () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi beforefieldinit VjcTask + extends NAnt.DotNet.Tasks.CompilerBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 76 6A 63 00 00 ) // ...vjc.. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ - .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Debug () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Debug (bool 'value') - } - .property instance bool Error () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 65 72 72 6F 72 00 00 ) // ...error.. + .field private string _baseAddress + .field private valuetype NAnt.DotNet.Types.DebugOutput _debugOutput + .field private bool _secureScoping + .field private string _x + .field private string _libPath + .field private string _jcpa + .field private string _codepage + .field private string _warningLevel + .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex + .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 252 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x72fc + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::_debugOutput + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() + IL_000d: ret + } // end of method VjcTask::.ctor - .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Error () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Error (bool 'value') - } - .property instance bool ForceRebuild () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 62 75 69 6C 64 00 00 ) // ...rebuild.. + // method line 253 + .method public hidebysig specialname + instance default string get_BaseAddress () cil managed + { + // Method begins at RVA 0x730c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_baseAddress + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_BaseAddress - .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_ForceRebuild () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_ForceRebuild (bool 'value') - } - .property instance bool Listing () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6C 69 73 74 69 6E 67 00 00 ) // ...listing.. + // method line 254 + .method public hidebysig specialname + instance default void set_BaseAddress (string 'value') cil managed + { + // Method begins at RVA 0x7327 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_baseAddress + IL_000d: ret + } // end of method VjcTask::set_BaseAddress - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 255 + .method public hidebysig specialname + instance default valuetype NAnt.DotNet.Types.DebugOutput get_DebugOutput () cil managed + { + // Method begins at RVA 0x7338 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.DotNet.Types.DebugOutput V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::_debugOutput + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Listing () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Listing (bool 'value') - } - .property instance int32 Alignment () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 61 6C 69 67 6E 6D 65 6E 74 00 00 ) // ...alignment.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_DebugOutput - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 256 + .method public hidebysig specialname + instance default void set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') cil managed + { + // Method begins at RVA 0x7353 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::_debugOutput + IL_0008: ret + } // end of method VjcTask::set_DebugOutput - .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Alignment () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Alignment (int32 'value') - } - .property instance int32 Base () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 62 61 73 65 00 00 ) // ...base.. + // method line 257 + .method public virtual hidebysig specialname + instance default bool get_Debug () cil managed + { + // Method begins at RVA 0x7360 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VjcTask::get_DebugOutput() + IL_0007: ldc.i4.0 + IL_0008: ceq + IL_000a: ldc.i4.0 + IL_000b: ceq + IL_000d: stloc.0 + IL_000e: br IL_0013 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0013: ldloc.0 + IL_0014: ret + } // end of method VjcTask::get_Debug - .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Base () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Base (int32 'value') - } - .property instance int32 Flags () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 66 6C 61 67 73 00 00 ) // ...flags.. + // method line 258 + .method public virtual hidebysig specialname + instance default void set_Debug (bool 'value') cil managed + { + // Method begins at RVA 0x7381 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.1 + IL_0003: call instance void class NAnt.DotNet.Tasks.VjcTask::set_DebugOutput(valuetype NAnt.DotNet.Types.DebugOutput) + IL_0008: ret + } // end of method VjcTask::set_Debug - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 259 + .method public hidebysig specialname + instance default bool get_SecureScoping () cil managed + { + // Method begins at RVA 0x738c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.VjcTask::_secureScoping + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Flags () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Flags (int32 'value') - } - .property instance int32 Subsystem () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 73 75 62 73 79 73 74 65 6D 00 00 ) // ...subsystem.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_SecureScoping - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 260 + .method public hidebysig specialname + instance default void set_SecureScoping (bool 'value') cil managed + { + // Method begins at RVA 0x73a7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.VjcTask::_secureScoping + IL_0008: ret + } // end of method VjcTask::set_SecureScoping - .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Subsystem () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Subsystem (int32 'value') - } - .property instance string Target () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re - 71 75 69 72 65 64 01 ) // quired. + // method line 261 + .method public hidebysig specialname + instance default string get_X () cil managed + { + // Method begins at RVA 0x73b4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_x + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_X - .get instance default string NAnt.DotNet.Tasks.IlasmTask::get_Target () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Target (string 'value') - } - .property instance string KeySource () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 6B 65 79 73 6F 75 72 63 65 00 00 ) // ...keysource.. + // method line 262 + .method public hidebysig specialname + instance default void set_X (string 'value') cil managed + { + // Method begins at RVA 0x73cf + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_x + IL_000d: ret + } // end of method VjcTask::set_X - .get instance default string NAnt.DotNet.Tasks.IlasmTask::get_KeySource () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_KeySource (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo KeyFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. + // method line 263 + .method public hidebysig specialname + instance default string get_LibPath () cil managed + { + // Method begins at RVA 0x73e0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_libPath + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::get_KeyFile () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_LibPath - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::get_OutputFile () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo ResourceFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 72 65 73 6F 75 72 63 65 66 69 6C 65 00 // ...resourcefile. - 00 ) // . + // method line 264 + .method public hidebysig specialname + instance default void set_LibPath (string 'value') cil managed + { + // Method begins at RVA 0x73fb + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_libPath + IL_000d: ret + } // end of method VjcTask::set_LibPath - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_ResourceFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 07 73 6F 75 72 63 65 73 01 00 54 02 08 52 // ...sources..T..R - 65 71 75 69 72 65 64 01 ) // equired. + // method line 265 + .method public hidebysig specialname + instance default string get_Jcpa () cil managed + { + // Method begins at RVA 0x740c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_jcpa + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.IlasmTask::get_Sources () - .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.DotNet.Tasks.IlasmTask::get_ProgramArguments () - } - } // end of class NAnt.DotNet.Tasks.IlasmTask -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_Jcpa -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit RegsvcsTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 72 65 67 73 76 63 73 00 00 ) // ...regsvcs.. + // method line 266 + .method public hidebysig specialname + instance default void set_Jcpa (string 'value') cil managed + { + // Method begins at RVA 0x7427 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_jcpa + IL_000d: ret + } // end of method VjcTask::set_Jcpa - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + // method line 267 + .method public hidebysig specialname + instance default string get_Codepage () cil managed + { + // Method begins at RVA 0x7438 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_codepage + IL_0007: stloc.0 + IL_0008: br IL_000d - .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder - .field private valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType _action - .field private class [mscorlib]System.IO.FileInfo _assemblyFile - .field private string _applicationName - .field private class [mscorlib]System.IO.FileInfo _typeLibrary - .field private bool _existingTlb - .field private bool _existingApplication - .field private bool _noreconfig - .field private bool _componentsOnly - .field private string _partitionName + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_Codepage - // method line 394 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 268 + .method public hidebysig specialname + instance default void set_Codepage (string 'value') cil managed { - // Method begins at RVA 0x87dc - // Code size 56 (0x38) + // Method begins at RVA 0x7453 + // Code size 14 (0xe) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldnull - IL_0002: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0007: ldarg.0 - IL_0008: ldc.i4.0 - IL_0009: stfld valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::_action - IL_000e: ldarg.0 - IL_000f: ldc.i4.0 - IL_0010: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingTlb - IL_0015: ldarg.0 - IL_0016: ldc.i4.0 - IL_0017: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingApplication - IL_001c: ldarg.0 - IL_001d: ldc.i4.0 - IL_001e: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_noreconfig - IL_0023: ldarg.0 - IL_0024: ldc.i4.0 - IL_0025: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_componentsOnly - IL_002a: ldarg.0 - IL_002b: ldnull - IL_002c: stfld string NAnt.DotNet.Tasks.RegsvcsTask::_partitionName - IL_0031: ldarg.0 - IL_0032: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0037: ret - } // end of method RegsvcsTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_codepage + IL_000d: ret + } // end of method VjcTask::set_Codepage + + // method line 269 + .method public hidebysig specialname + instance default string get_WarningLevel () cil managed + { + // Method begins at RVA 0x7464 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.VjcTask::_warningLevel + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_WarningLevel - // method line 395 + // method line 270 .method public hidebysig specialname - instance default valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType get_Action () cil managed + instance default void set_WarningLevel (string 'value') cil managed + { + // Method begins at RVA 0x747f + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.VjcTask::_warningLevel + IL_000d: ret + } // end of method VjcTask::set_WarningLevel + + // method line 271 + .method public virtual hidebysig specialname + instance default class NAnt.DotNet.Types.WarningAsError get_WarningAsError () cil managed { - // Method begins at RVA 0x8818 + // Method begins at RVA 0x7490 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType V_0) + class NAnt.DotNet.Types.WarningAsError V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::_action + IL_0002: call instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegsvcsTask::get_Action - - // method line 396 - .method public hidebysig specialname - instance default void set_Action (valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType 'value') cil managed - { - // Method begins at RVA 0x8834 - // Code size 70 (0x46) - .maxstack 3 - IL_0000: nop - IL_0001: ldtoken NAnt.DotNet.Tasks.RegsvcsTask/ActionType - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: box NAnt.DotNet.Tasks.RegsvcsTask/ActionType - IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0016: brtrue IL_003c - - IL_001b: nop - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: ldstr "NA2002" - IL_0026: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_002b: ldarg.1 - IL_002c: box NAnt.DotNet.Tasks.RegsvcsTask/ActionType - IL_0031: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0036: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_003b: throw - IL_003c: nop - IL_003d: ldarg.0 - IL_003e: ldarg.1 - IL_003f: stfld valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::_action - IL_0044: nop - IL_0045: ret - } // end of method RegsvcsTask::set_Action + } // end of method VjcTask::get_WarningAsError - // method line 397 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed + // method line 272 + .method public virtual hidebysig specialname + instance default class NAnt.DotNet.Types.PackageCollection get_Packages () cil managed { - // Method begins at RVA 0x8888 + // Method begins at RVA 0x74ac // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.DotNet.Types.PackageCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_assemblyFile + IL_0002: call instance class NAnt.DotNet.Types.PackageCollection class NAnt.DotNet.Tasks.CompilerBase::get_Packages() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegsvcsTask::get_AssemblyFile + } // end of method VjcTask::get_Packages - // method line 398 - .method public hidebysig specialname - instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 273 + .method public virtual hidebysig specialname + instance default void set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') cil managed { - // Method begins at RVA 0x88a3 + // Method begins at RVA 0x74c7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_assemblyFile + IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_Packages(class NAnt.DotNet.Types.PackageCollection) IL_0008: ret - } // end of method RegsvcsTask::set_AssemblyFile + } // end of method VjcTask::set_Packages - // method line 399 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_TypeLibrary () cil managed + // method line 274 + .method public virtual hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyFileSet get_Modules () cil managed { - // Method begins at RVA 0x88b0 + // Method begins at RVA 0x74d4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_typeLibrary + IL_0002: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() IL_0007: stloc.0 IL_0008: br IL_000d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegsvcsTask::get_TypeLibrary + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VjcTask::get_Modules + + // method line 275 + .method public virtual hidebysig specialname + instance default void set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + { + // Method begins at RVA 0x74ef + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_Modules(class NAnt.DotNet.Types.AssemblyFileSet) + IL_0008: ret + } // end of method VjcTask::set_Modules + + // method line 276 + .method family virtual hidebysig + instance default void WriteModuleReferences (class [mscorlib]System.IO.TextWriter writer) cil managed + { + // Method begins at RVA 0x74f9 + // Code size 47 (0x2f) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0011: ldc.i4.0 + IL_0012: ble IL_002e + + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldc.i4 4000 + IL_001e: ldstr "String_JscDoesNotSupportLinkingModules" + IL_0023: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_002d: nop + IL_002e: ret + } // end of method VjcTask::WriteModuleReferences + + // method line 277 + .method family virtual hidebysig + instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed + { + // Method begins at RVA 0x752c + // Code size 421 (0x1a5) + .maxstack 4 + .locals init ( + valuetype NAnt.DotNet.Types.DebugOutput V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.DotNet.Tasks.VjcTask::get_BaseAddress() + IL_0007: brfalse IL_0020 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: ldstr "baseaddress" + IL_0014: ldarg.0 + IL_0015: call instance string class NAnt.DotNet.Tasks.VjcTask::get_BaseAddress() + IL_001a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: call instance bool class NAnt.DotNet.Tasks.VjcTask::get_SecureScoping() + IL_0026: brfalse IL_0039 + + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: ldarg.1 + IL_002e: ldstr "securescoping" + IL_0033: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0038: nop + IL_0039: ldarg.0 + IL_003a: call instance string class NAnt.DotNet.Tasks.VjcTask::get_X() + IL_003f: brfalse IL_0058 + + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: ldarg.1 + IL_0047: ldstr "x" + IL_004c: ldarg.0 + IL_004d: call instance string class NAnt.DotNet.Tasks.VjcTask::get_X() + IL_0052: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: call instance string class NAnt.DotNet.Tasks.VjcTask::get_LibPath() + IL_005e: brfalse IL_0077 + + IL_0063: nop + IL_0064: ldarg.0 + IL_0065: ldarg.1 + IL_0066: ldstr "libpath" + IL_006b: ldarg.0 + IL_006c: call instance string class NAnt.DotNet.Tasks.VjcTask::get_LibPath() + IL_0071: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0076: nop + IL_0077: ldarg.0 + IL_0078: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Jcpa() + IL_007d: brfalse IL_0096 + + IL_0082: nop + IL_0083: ldarg.0 + IL_0084: ldarg.1 + IL_0085: ldstr "jcpa" + IL_008a: ldarg.0 + IL_008b: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Jcpa() + IL_0090: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0095: nop + IL_0096: ldarg.0 + IL_0097: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Codepage() + IL_009c: brfalse IL_00b5 + + IL_00a1: nop + IL_00a2: ldarg.0 + IL_00a3: ldarg.1 + IL_00a4: ldstr "codepage" + IL_00a9: ldarg.0 + IL_00aa: call instance string class NAnt.DotNet.Tasks.VjcTask::get_Codepage() + IL_00af: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_00b4: nop + IL_00b5: ldarg.0 + IL_00b6: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VjcTask::get_DebugOutput() + IL_00bb: stloc.0 + IL_00bc: ldloc.0 + IL_00bd: switch ( + IL_00d7, + IL_00dc, + IL_010f, + IL_0120) + IL_00d2: br IL_0136 + + IL_00d7: br IL_0161 + + IL_00dc: ldarg.0 + IL_00dd: ldarg.1 + IL_00de: ldstr "debug" + IL_00e3: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_00e8: ldarg.0 + IL_00e9: ldarg.1 + IL_00ea: ldstr "define" + IL_00ef: ldstr "DEBUG" + IL_00f4: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_00f9: ldarg.0 + IL_00fa: ldarg.1 + IL_00fb: ldstr "define" + IL_0100: ldstr "TRACE" + IL_0105: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_010a: br IL_0161 + + IL_010f: ldarg.0 + IL_0110: ldarg.1 + IL_0111: ldstr "debug" + IL_0116: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_011b: br IL_0161 + + IL_0120: ldarg.0 + IL_0121: ldarg.1 + IL_0122: ldstr "debug" + IL_0127: ldstr "pdbonly" + IL_012c: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0131: br IL_0161 + + IL_0136: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_013b: ldstr "NA2011" + IL_0140: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0145: ldarg.0 + IL_0146: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VjcTask::get_DebugOutput() + IL_014b: box NAnt.DotNet.Types.DebugOutput + IL_0150: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0155: ldarg.0 + IL_0156: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_015b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0160: throw + IL_0161: ldarg.0 + IL_0162: call instance string class NAnt.DotNet.Tasks.VjcTask::get_WarningLevel() + IL_0167: brfalse IL_0180 + + IL_016c: nop + IL_016d: ldarg.0 + IL_016e: ldarg.1 + IL_016f: ldstr "warn" + IL_0174: ldarg.0 + IL_0175: call instance string class NAnt.DotNet.Tasks.VjcTask::get_WarningLevel() + IL_017a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_017f: nop + IL_0180: ldarg.0 + IL_0181: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_0186: brfalse IL_01a4 - // method line 400 - .method public hidebysig specialname - instance default void set_TypeLibrary (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x88cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::_typeLibrary - IL_0008: ret - } // end of method RegsvcsTask::set_TypeLibrary + IL_018b: nop + IL_018c: ldarg.0 + IL_018d: ldarg.1 + IL_018e: ldstr "win32res" + IL_0193: ldarg.0 + IL_0194: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_0199: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_019e: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_01a3: nop + IL_01a4: ret + } // end of method VjcTask::WriteOptions - // method line 401 - .method public hidebysig specialname - instance default bool get_ExistingTypeLibrary () cil managed + // method line 278 + .method public virtual hidebysig specialname + instance default string get_Extension () cil managed { - // Method begins at RVA 0x88d8 - // Code size 15 (0xf) + // Method begins at RVA 0x76e0 + // Code size 14 (0xe) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingTlb - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegsvcsTask::get_ExistingTypeLibrary + IL_0001: ldstr "jsl" + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 402 - .method public hidebysig specialname - instance default void set_ExistingTypeLibrary (bool 'value') cil managed - { - // Method begins at RVA 0x88f3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingTlb - IL_0008: ret - } // end of method RegsvcsTask::set_ExistingTypeLibrary + IL_000c: ldloc.0 + IL_000d: ret + } // end of method VjcTask::get_Extension - // method line 403 - .method public hidebysig specialname - instance default bool get_NoReconfig () cil managed + // method line 279 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed { - // Method begins at RVA 0x8900 - // Code size 15 (0xf) + // Method begins at RVA 0x76fc + // Code size 14 (0xe) .maxstack 1 .locals init ( - bool V_0) + class [System]System.Text.RegularExpressions.Regex V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_noreconfig - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegsvcsTask::get_NoReconfig + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_classNameRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 404 - .method public hidebysig specialname - instance default void set_NoReconfig (bool 'value') cil managed - { - // Method begins at RVA 0x891b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_noreconfig - IL_0008: ret - } // end of method RegsvcsTask::set_NoReconfig + IL_000c: ldloc.0 + IL_000d: ret + } // end of method VjcTask::get_ClassNameRegex - // method line 405 - .method public hidebysig specialname - instance default bool get_ComponentsOnly () cil managed + // method line 280 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed { - // Method begins at RVA 0x8928 - // Code size 15 (0xf) + // Method begins at RVA 0x7718 + // Code size 14 (0xe) .maxstack 1 .locals init ( - bool V_0) + class [System]System.Text.RegularExpressions.Regex V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_componentsOnly - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegsvcsTask::get_ComponentsOnly + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_namespaceRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 406 - .method public hidebysig specialname - instance default void set_ComponentsOnly (bool 'value') cil managed - { - // Method begins at RVA 0x8943 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_componentsOnly - IL_0008: ret - } // end of method RegsvcsTask::set_ComponentsOnly + IL_000c: ldloc.0 + IL_000d: ret + } // end of method VjcTask::get_NamespaceRegex - // method line 407 - .method public hidebysig specialname - instance default bool get_ExistingApplication () cil managed + // method line 281 + .method public virtual hidebysig specialname + instance default bool get_SupportsPackageReferences () cil managed { - // Method begins at RVA 0x8950 - // Code size 15 (0xf) + // Method begins at RVA 0x7734 + // Code size 10 (0xa) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingApplication - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegsvcsTask::get_ExistingApplication + IL_0008: ldloc.0 + IL_0009: ret + } // end of method VjcTask::get_SupportsPackageReferences - // method line 408 - .method public hidebysig specialname - instance default void set_ExistingApplication (bool 'value') cil managed + // method line 282 + .method public virtual hidebysig specialname + instance default void set_SupportsPackageReferences (bool 'value') cil managed { - // Method begins at RVA 0x896b - // Code size 9 (0x9) + // Method begins at RVA 0x774a + // Code size 2 (0x2) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.RegsvcsTask::_existingApplication - IL_0008: ret - } // end of method RegsvcsTask::set_ExistingApplication - - // method line 409 - .method public hidebysig specialname - instance default string get_ApplicationName () cil managed - { - // Method begins at RVA 0x8978 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.RegsvcsTask::_applicationName - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegsvcsTask::get_ApplicationName + IL_0001: ret + } // end of method VjcTask::set_SupportsPackageReferences - // method line 410 - .method public hidebysig specialname - instance default void set_ApplicationName (string 'value') cil managed + // method line 283 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x8993 - // Code size 14 (0xe) + // Method begins at RVA 0x774d + // Code size 31 (0x1f) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.RegsvcsTask::_applicationName - IL_000d: ret - } // end of method RegsvcsTask::set_ApplicationName - - // method line 411 - .method public hidebysig specialname - instance default string get_PartitionName () cil managed - { - // Method begins at RVA 0x89a4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.RegsvcsTask::_partitionName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|class\\s+(?\\w+)|(?\\w+))*" + IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_classNameRegex + IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|package\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" + IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::_namespaceRegex + IL_001e: ret + } // end of method VjcTask::.cctor - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegsvcsTask::get_PartitionName + .property instance string BaseAddress () + { + .get instance default string NAnt.DotNet.Tasks.VjcTask::get_BaseAddress () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_BaseAddress (string 'value') + } + .property instance valuetype NAnt.DotNet.Types.DebugOutput DebugOutput () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. - // method line 412 - .method public hidebysig specialname - instance default void set_PartitionName (string 'value') cil managed - { - // Method begins at RVA 0x89bf - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.RegsvcsTask::_partitionName - IL_000d: ret - } // end of method RegsvcsTask::set_PartitionName + .get instance default valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VjcTask::get_DebugOutput () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') + } + .property instance bool Debug () + { + .get instance default bool NAnt.DotNet.Tasks.VjcTask::get_Debug () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Debug (bool 'value') + } + .property instance bool SecureScoping () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 73 65 63 75 72 65 73 63 6F 70 69 6E 67 // ...securescoping + 00 00 ) // .. - // method line 413 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed - { - // Method begins at RVA 0x89d0 - // Code size 40 (0x28) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0007: brfalse IL_001e + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0013: callvirt instance string object::ToString() - IL_0018: stloc.0 - IL_0019: br IL_0026 + .get instance default bool NAnt.DotNet.Tasks.VjcTask::get_SecureScoping () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_SecureScoping (bool 'value') + } + .property instance string X () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 01 78 00 00 ) // ...x.. - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 + .get instance default string NAnt.DotNet.Tasks.VjcTask::get_X () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_X (string 'value') + } + .property instance string LibPath () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6C 69 62 70 61 74 68 00 00 ) // ...libpath.. - IL_0026: ldloc.0 - IL_0027: ret - } // end of method RegsvcsTask::get_ProgramArguments + .get instance default string NAnt.DotNet.Tasks.VjcTask::get_LibPath () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_LibPath (string 'value') + } + .property instance string Jcpa () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6A 63 70 61 00 00 ) // ...jcpa.. - // method line 414 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x8a04 - // Code size 558 (0x22e) - .maxstack 7 - .locals init ( - valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0007: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_000c: ldarg.0 - IL_000d: call instance valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType class NAnt.DotNet.Tasks.RegsvcsTask::get_Action() - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: ldc.i4.1 - IL_0015: beq IL_002c + .get instance default string NAnt.DotNet.Tasks.VjcTask::get_Jcpa () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Jcpa (string 'value') + } + .property instance string Codepage () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 70 61 67 65 00 00 ) // ...codepage.. - IL_001a: ldloc.0 - IL_001b: brfalse IL_006b + .get instance default string NAnt.DotNet.Tasks.VjcTask::get_Codepage () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Codepage (string 'value') + } + .property instance string WarningLevel () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 77 61 72 6E 69 6E 67 6C 65 76 65 6C 00 // ...warninglevel. + 00 ) // . - IL_0020: ldloc.0 - IL_0021: ldc.i4.2 - IL_0022: beq IL_00aa + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 04 00 00 00 00 00 ) // ............ - IL_0027: br IL_00e9 + .get instance default string NAnt.DotNet.Tasks.VjcTask::get_WarningLevel () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_WarningLevel (string 'value') + } + .property instance class NAnt.DotNet.Types.WarningAsError WarningAsError () + { + .get instance default class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.VjcTask::get_WarningAsError () + } + .property instance class NAnt.DotNet.Types.PackageCollection Packages () + { + .get instance default class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.VjcTask::get_Packages () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') + } + .property instance class NAnt.DotNet.Types.AssemblyFileSet Modules () + { + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.VjcTask::get_Modules () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance string Extension () + { + .get instance default string NAnt.DotNet.Tasks.VjcTask::get_Extension () + } + .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::get_ClassNameRegex () + } + .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VjcTask::get_NamespaceRegex () + } + .property instance bool SupportsPackageReferences () + { + .get instance default bool NAnt.DotNet.Tasks.VjcTask::get_SupportsPackageReferences () + .set instance default void NAnt.DotNet.Tasks.VjcTask::set_SupportsPackageReferences (bool 'value') + } + } // end of class NAnt.DotNet.Tasks.VjcTask +} - IL_002c: ldarg.0 - IL_002d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0032: ldstr "/c " - IL_0037: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_003c: pop - IL_003d: ldarg.0 - IL_003e: ldc.i4 3000 - IL_0043: ldstr "String_CreatingCOM+Application" - IL_0048: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004d: ldc.i4.1 - IL_004e: newarr [mscorlib]System.Object - IL_0053: dup - IL_0054: ldc.i4.0 - IL_0055: ldarg.0 - IL_0056: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() - IL_005b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0060: stelem.ref - IL_0061: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0066: br IL_00e9 +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi beforefieldinit AssemblyLinkerTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 61 6C 00 00 ) // ...al.. - IL_006b: ldarg.0 - IL_006c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0071: ldstr "/fc " - IL_0076: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_007b: pop - IL_007c: ldarg.0 - IL_007d: ldc.i4 3000 - IL_0082: ldstr "String_FindingCOM+Application" - IL_0087: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_008c: ldc.i4.1 - IL_008d: newarr [mscorlib]System.Object - IL_0092: dup - IL_0093: ldc.i4.0 - IL_0094: ldarg.0 - IL_0095: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() - IL_009a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_009f: stelem.ref - IL_00a0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a5: br IL_00e9 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ - IL_00aa: ldarg.0 - IL_00ab: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_00b0: ldstr "/u " - IL_00b5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00ba: pop - IL_00bb: ldarg.0 - IL_00bc: ldc.i4 3000 - IL_00c1: ldstr "String_UninstallingCOM+Application" - IL_00c6: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00cb: ldc.i4.1 - IL_00cc: newarr [mscorlib]System.Object - IL_00d1: dup - IL_00d2: ldc.i4.0 - IL_00d3: ldarg.0 - IL_00d4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() - IL_00d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00de: stelem.ref - IL_00df: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00e4: br IL_00e9 + .field private string _responseFileName + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private string _target + .field private string _algorithmID + .field private string _company + .field private string _configuration + .field private string _copyright + .field private string _culture + .field private valuetype NAnt.DotNet.Types.DelaySign _delaySign + .field private string _description + .field private class [mscorlib]System.IO.FileInfo _evidenceFile + .field private string _fileVersion + .field private string _flags + .field private string _keyContainer + .field private class [mscorlib]System.IO.FileInfo _keyfile + .field private string _mainMethod + .field private class NAnt.DotNet.Types.ModuleSet _modules + .field private string _product + .field private string _productVersion + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _resources + .field private class NAnt.DotNet.Types.EmbeddedResourceCollection _embeddedResources + .field private class [mscorlib]System.IO.FileInfo _templateFile + .field private string _title + .field private string _trademark + .field private string _version + .field private class [mscorlib]System.IO.FileInfo _win32Icon + .field private class [mscorlib]System.IO.FileInfo _win32Res + .field private bool _supportsTemplate + + // method line 284 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x776d + // Code size 47 (0x2f) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.DotNet.Types.ModuleSet::'.ctor'() + IL_0006: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_modules + IL_000b: ldarg.0 + IL_000c: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0011: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_resources + IL_0016: ldarg.0 + IL_0017: newobj instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::'.ctor'() + IL_001c: stfld class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::_embeddedResources + IL_0021: ldarg.0 + IL_0022: ldc.i4.1 + IL_0023: stfld bool NAnt.DotNet.Tasks.AssemblyLinkerTask::_supportsTemplate + IL_0028: ldarg.0 + IL_0029: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_002e: ret + } // end of method AssemblyLinkerTask::.ctor - IL_00e9: ldarg.0 - IL_00ea: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_TypeLibrary() - IL_00ef: brfalse IL_0112 + // method line 285 + .method public hidebysig specialname + instance default string get_AlgorithmID () cil managed + { + // Method begins at RVA 0x77a0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_algorithmID + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00f4: nop - IL_00f5: ldarg.0 - IL_00f6: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_00fb: ldstr "/tlb:\"{0}\" " - IL_0100: ldarg.0 - IL_0101: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_TypeLibrary() - IL_0106: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_010b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0110: pop - IL_0111: nop - IL_0112: ldarg.0 - IL_0113: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingTypeLibrary() - IL_0118: brfalse IL_0130 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_AlgorithmID - IL_011d: nop - IL_011e: ldarg.0 - IL_011f: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0124: ldstr "/extlb " - IL_0129: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_012e: pop - IL_012f: nop - IL_0130: ldarg.0 - IL_0131: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_NoReconfig() - IL_0136: brfalse IL_014e + // method line 286 + .method public hidebysig specialname + instance default void set_AlgorithmID (string 'value') cil managed + { + // Method begins at RVA 0x77bb + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_algorithmID + IL_000d: ret + } // end of method AssemblyLinkerTask::set_AlgorithmID - IL_013b: nop - IL_013c: ldarg.0 - IL_013d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0142: ldstr "/noreconfig " - IL_0147: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_014c: pop - IL_014d: nop - IL_014e: ldarg.0 - IL_014f: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_ComponentsOnly() - IL_0154: brfalse IL_016c + // method line 287 + .method public hidebysig specialname + instance default string get_Company () cil managed + { + // Method begins at RVA 0x77cc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_company + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0159: nop - IL_015a: ldarg.0 - IL_015b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0160: ldstr "/componly " - IL_0165: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_016a: pop - IL_016b: nop - IL_016c: ldarg.0 - IL_016d: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_ApplicationName() - IL_0172: brfalse IL_0190 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_Company - IL_0177: nop - IL_0178: ldarg.0 - IL_0179: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_017e: ldstr "/appname:\"{0}\" " - IL_0183: ldarg.0 - IL_0184: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_ApplicationName() - IL_0189: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_018e: pop - IL_018f: nop - IL_0190: ldarg.0 - IL_0191: call instance bool class NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingApplication() - IL_0196: brfalse IL_01ae + // method line 288 + .method public hidebysig specialname + instance default void set_Company (string 'value') cil managed + { + // Method begins at RVA 0x77e7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_company + IL_0008: ret + } // end of method AssemblyLinkerTask::set_Company - IL_019b: nop - IL_019c: ldarg.0 - IL_019d: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_01a2: ldstr "/exapp " - IL_01a7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01ac: pop - IL_01ad: nop - IL_01ae: ldarg.0 - IL_01af: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_PartitionName() - IL_01b4: brfalse IL_01d2 + // method line 289 + .method public hidebysig specialname + instance default string get_Configuration () cil managed + { + // Method begins at RVA 0x77f4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_configuration + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01b9: nop - IL_01ba: ldarg.0 - IL_01bb: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_01c0: ldstr "/parname:\"{0}\" " - IL_01c5: ldarg.0 - IL_01c6: call instance string class NAnt.DotNet.Tasks.RegsvcsTask::get_PartitionName() - IL_01cb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_01d0: pop - IL_01d1: nop - IL_01d2: ldarg.0 - IL_01d3: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_01d8: brtrue IL_01f0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_Configuration - IL_01dd: nop - IL_01de: ldarg.0 - IL_01df: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_01e4: ldstr "/quiet " - IL_01e9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01ee: pop - IL_01ef: nop - IL_01f0: ldarg.0 - IL_01f1: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_01f6: ldstr "/nologo " - IL_01fb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0200: pop - IL_0201: ldarg.0 - IL_0202: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.RegsvcsTask::_argumentBuilder - IL_0207: ldstr "\"" - IL_020c: ldarg.0 - IL_020d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile() - IL_0212: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0217: ldstr "\"" - IL_021c: call string string::Concat(string, string, string) - IL_0221: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0226: pop - IL_0227: ldarg.0 - IL_0228: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_022d: ret - } // end of method RegsvcsTask::ExecuteTask + // method line 290 + .method public hidebysig specialname + instance default void set_Configuration (string 'value') cil managed + { + // Method begins at RVA 0x780f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_configuration + IL_0008: ret + } // end of method AssemblyLinkerTask::set_Configuration - .property instance valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType Action () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 61 63 74 69 6F 6E 00 00 ) // ...action.. + // method line 291 + .method public hidebysig specialname + instance default string get_Copyright () cil managed + { + // Method begins at RVA 0x781c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_copyright + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType NAnt.DotNet.Tasks.RegsvcsTask::get_Action () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_Action (valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType 'value') - } - .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_Copyright - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + // method line 292 + .method public hidebysig specialname + instance default void set_Copyright (string 'value') cil managed + { + // Method begins at RVA 0x7837 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_copyright + IL_0008: ret + } // end of method AssemblyLinkerTask::set_Copyright - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::get_AssemblyFile () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo TypeLibrary () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 74 6C 62 00 00 ) // ...tlb.. + // method line 293 + .method public hidebysig specialname + instance default string get_Culture () cil managed + { + // Method begins at RVA 0x7844 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_culture + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.RegsvcsTask::get_TypeLibrary () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_TypeLibrary (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance bool ExistingTypeLibrary () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 65 78 69 73 74 69 6E 67 74 6C 62 00 00 ) // ...existingtlb.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_Culture - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 294 + .method public hidebysig specialname + instance default void set_Culture (string 'value') cil managed + { + // Method begins at RVA 0x785f + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_culture + IL_000d: ret + } // end of method AssemblyLinkerTask::set_Culture - .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingTypeLibrary () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ExistingTypeLibrary (bool 'value') - } - .property instance bool NoReconfig () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 6E 6F 72 65 63 6F 6E 66 69 67 00 00 ) // ...noreconfig.. + // method line 295 + .method public hidebysig specialname + instance default valuetype NAnt.DotNet.Types.DelaySign get_DelaySign () cil managed + { + // Method begins at RVA 0x7870 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.DotNet.Types.DelaySign V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.AssemblyLinkerTask::_delaySign + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_DelaySign - .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_NoReconfig () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_NoReconfig (bool 'value') - } - .property instance bool ComponentsOnly () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 63 6F 6D 70 6F 6E 65 6E 74 73 6F 6E 6C // ...componentsonl - 79 00 00 ) // y.. + // method line 296 + .method public hidebysig specialname + instance default void set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') cil managed + { + // Method begins at RVA 0x788b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.AssemblyLinkerTask::_delaySign + IL_0008: ret + } // end of method AssemblyLinkerTask::set_DelaySign - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 297 + .method public hidebysig specialname + instance default string get_Description () cil managed + { + // Method begins at RVA 0x7898 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_description + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_ComponentsOnly () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ComponentsOnly (bool 'value') - } - .property instance bool ExistingApplication () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 65 78 69 73 74 69 6E 67 61 70 70 00 00 ) // ...existingapp.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_Description - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 298 + .method public hidebysig specialname + instance default void set_Description (string 'value') cil managed + { + // Method begins at RVA 0x78b3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_description + IL_0008: ret + } // end of method AssemblyLinkerTask::set_Description - .get instance default bool NAnt.DotNet.Tasks.RegsvcsTask::get_ExistingApplication () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ExistingApplication (bool 'value') - } - .property instance string ApplicationName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 61 70 70 6C 69 63 61 74 69 6F 6E 00 00 ) // ...application.. + // method line 299 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_EvidenceFile () cil managed + { + // Method begins at RVA 0x78c0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_evidenceFile + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default string NAnt.DotNet.Tasks.RegsvcsTask::get_ApplicationName () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_ApplicationName (string 'value') - } - .property instance string PartitionName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 70 61 72 74 69 74 69 6F 6E 00 00 ) // ...partition.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_EvidenceFile - .get instance default string NAnt.DotNet.Tasks.RegsvcsTask::get_PartitionName () - .set instance default void NAnt.DotNet.Tasks.RegsvcsTask::set_PartitionName (string 'value') - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.DotNet.Tasks.RegsvcsTask::get_ProgramArguments () - } - .class nested public auto ansi sealed ActionType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType FindOrCreate = int32(0x00000000) - .field public static literal valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType Create = int32(0x00000001) - .field public static literal valuetype NAnt.DotNet.Tasks.RegsvcsTask/ActionType Uninstall = int32(0x00000002) + // method line 300 + .method public hidebysig specialname + instance default void set_EvidenceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x78db + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_evidenceFile + IL_0008: ret + } // end of method AssemblyLinkerTask::set_EvidenceFile - } // end of class ActionType + // method line 301 + .method public hidebysig specialname + instance default string get_FileVersion () cil managed + { + // Method begins at RVA 0x78e8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_fileVersion + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end of class NAnt.DotNet.Tasks.RegsvcsTask -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_FileVersion -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit VbcTask - extends NAnt.DotNet.Tasks.CompilerBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 76 62 63 00 00 ) // ...vbc.. + // method line 302 + .method public hidebysig specialname + instance default void set_FileVersion (string 'value') cil managed + { + // Method begins at RVA 0x7903 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_fileVersion + IL_000d: ret + } // end of method AssemblyLinkerTask::set_FileVersion - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + // method line 303 + .method public hidebysig specialname + instance default string get_Flags () cil managed + { + // Method begins at RVA 0x7914 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_flags + IL_0007: stloc.0 + IL_0008: br IL_000d - .field private string _baseAddress - .field private valuetype NAnt.DotNet.Types.DebugOutput _debugOutput - .field private class [mscorlib]System.IO.FileInfo _docFile - .field private bool _nostdlib - .field private string _optionCompare - .field private bool _optionExplicit - .field private bool _optionStrict - .field private bool _optionOptimize - .field private bool _removeintchecks - .field private string _rootNamespace - .field private string _platform - .field private class NAnt.DotNet.Types.NamespaceImportCollection _imports - .field private bool _supportsDocGeneration - .field private bool _supportsNoStdLib - .field private bool _supportsPlatform - .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex - .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_Flags - // method line 415 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 304 + .method public hidebysig specialname + instance default void set_Flags (string 'value') cil managed { - // Method begins at RVA 0x8c3e - // Code size 25 (0x19) + // Method begins at RVA 0x792f + // Code size 14 (0xe) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::_debugOutput - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() - IL_000d: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::_imports - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() - IL_0018: ret - } // end of method VbcTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_flags + IL_000d: ret + } // end of method AssemblyLinkerTask::set_Flags - // method line 416 + // method line 305 .method public hidebysig specialname - instance default string get_BaseAddress () cil managed + instance default string get_KeyContainer () cil managed { - // Method begins at RVA 0x8c58 + // Method begins at RVA 0x7940 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_baseAddress + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyContainer IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_BaseAddress + } // end of method AssemblyLinkerTask::get_KeyContainer - // method line 417 + // method line 306 .method public hidebysig specialname - instance default void set_BaseAddress (string 'value') cil managed + instance default void set_KeyContainer (string 'value') cil managed { - // Method begins at RVA 0x8c73 + // Method begins at RVA 0x795b // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_baseAddress + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyContainer IL_000d: ret - } // end of method VbcTask::set_BaseAddress + } // end of method AssemblyLinkerTask::set_KeyContainer - // method line 418 + // method line 307 .method public hidebysig specialname - instance default valuetype NAnt.DotNet.Types.DebugOutput get_DebugOutput () cil managed + instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed { - // Method begins at RVA 0x8c84 + // Method begins at RVA 0x796c // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.DotNet.Types.DebugOutput V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::_debugOutput + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyfile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_DebugOutput + } // end of method AssemblyLinkerTask::get_KeyFile - // method line 419 + // method line 308 .method public hidebysig specialname - instance default void set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') cil managed + instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x8c9f + // Method begins at RVA 0x7987 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::_debugOutput + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyfile IL_0008: ret - } // end of method VbcTask::set_DebugOutput + } // end of method AssemblyLinkerTask::set_KeyFile - // method line 420 - .method public virtual hidebysig specialname - instance default bool get_Debug () cil managed + // method line 309 + .method public hidebysig specialname + instance default string get_MainMethod () cil managed { - // Method begins at RVA 0x8cac - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x7994 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VbcTask::get_DebugOutput() - IL_0007: ldc.i4.0 - IL_0008: ceq - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_mainMethod + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method VbcTask::get_Debug + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_MainMethod - // method line 421 - .method public virtual hidebysig specialname - instance default void set_Debug (bool 'value') cil managed + // method line 310 + .method public hidebysig specialname + instance default void set_MainMethod (string 'value') cil managed { - // Method begins at RVA 0x8ccd - // Code size 9 (0x9) + // Method begins at RVA 0x79af + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.VbcTask::set_DebugOutput(valuetype NAnt.DotNet.Types.DebugOutput) - IL_0008: ret - } // end of method VbcTask::set_Debug + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_mainMethod + IL_000d: ret + } // end of method AssemblyLinkerTask::set_MainMethod - // method line 422 + // method line 311 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DocFile () cil managed + instance default class NAnt.DotNet.Types.ModuleSet get_ModuleSet () cil managed { - // Method begins at RVA 0x8cd8 + // Method begins at RVA 0x79c0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.DotNet.Types.ModuleSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.VbcTask::_docFile + IL_0002: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_modules IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_DocFile + } // end of method AssemblyLinkerTask::get_ModuleSet - // method line 423 + // method line 312 .method public hidebysig specialname - instance default void set_DocFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') cil managed { - // Method begins at RVA 0x8cf3 + // Method begins at RVA 0x79db // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.VbcTask::_docFile + IL_0003: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_modules IL_0008: ret - } // end of method VbcTask::set_DocFile + } // end of method AssemblyLinkerTask::set_ModuleSet - // method line 424 + // method line 313 .method public hidebysig specialname - instance default void set_ImportsString (string 'value') cil managed + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x8d00 - // Code size 72 (0x48) - .maxstack 3 + // Method begins at RVA 0x79e8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string[] V_0, - string V_1, - string[] V_2, - int32 V_3) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_0047 - - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: ldc.i4.s 0x2c - IL_0010: ldc.i4.0 - IL_0011: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0016: stloc.0 - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: stloc.2 - IL_001a: ldc.i4.0 - IL_001b: stloc.3 - IL_001c: br IL_003d + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_outputFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0021: ldloc.2 - IL_0022: ldloc.3 - IL_0023: ldelem.ref - IL_0024: stloc.1 - IL_0025: nop - IL_0026: ldarg.0 - IL_0027: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.VbcTask::get_Imports() - IL_002c: ldloc.1 - IL_002d: newobj instance void class NAnt.DotNet.Types.NamespaceImport::'.ctor'(string) - IL_0032: callvirt instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::Add(class NAnt.DotNet.Types.NamespaceImport) - IL_0037: pop - IL_0038: nop - IL_0039: ldloc.3 - IL_003a: ldc.i4.1 - IL_003b: add - IL_003c: stloc.3 - IL_003d: ldloc.3 - IL_003e: ldloc.2 - IL_003f: ldlen - IL_0040: conv.i4 - IL_0041: blt IL_0021 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyLinkerTask::get_OutputFile - IL_0046: nop - IL_0047: ret - } // end of method VbcTask::set_ImportsString + // method line 314 + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x7a03 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_outputFile + IL_0008: ret + } // end of method AssemblyLinkerTask::set_OutputFile - // method line 425 + // method line 315 .method public hidebysig specialname - instance default class NAnt.DotNet.Types.NamespaceImportCollection get_Imports () cil managed + instance default string get_OutputTarget () cil managed { - // Method begins at RVA 0x8d54 + // Method begins at RVA 0x7a10 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.NamespaceImportCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::_imports + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_target IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_Imports + } // end of method AssemblyLinkerTask::get_OutputTarget - // method line 426 + // method line 316 .method public hidebysig specialname - instance default void set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') cil managed + instance default void set_OutputTarget (string 'value') cil managed { - // Method begins at RVA 0x8d6f - // Code size 9 (0x9) + // Method begins at RVA 0x7a2b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::_imports - IL_0008: ret - } // end of method VbcTask::set_Imports + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_target + IL_000d: ret + } // end of method AssemblyLinkerTask::set_OutputTarget - // method line 427 + // method line 317 .method public hidebysig specialname - instance default bool get_NoStdLib () cil managed + instance default string get_Product () cil managed { - // Method begins at RVA 0x8d7c + // Method begins at RVA 0x7a3c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_nostdlib + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_product IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_NoStdLib + } // end of method AssemblyLinkerTask::get_Product - // method line 428 + // method line 318 .method public hidebysig specialname - instance default void set_NoStdLib (bool 'value') cil managed + instance default void set_Product (string 'value') cil managed { - // Method begins at RVA 0x8d97 + // Method begins at RVA 0x7a57 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_nostdlib + IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_product IL_0008: ret - } // end of method VbcTask::set_NoStdLib + } // end of method AssemblyLinkerTask::set_Product - // method line 429 + // method line 319 .method public hidebysig specialname - instance default string get_OptionCompare () cil managed + instance default string get_ProductVersion () cil managed { - // Method begins at RVA 0x8da4 + // Method begins at RVA 0x7a64 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_optionCompare + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_productVersion IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_OptionCompare + } // end of method AssemblyLinkerTask::get_ProductVersion - // method line 430 + // method line 320 .method public hidebysig specialname - instance default void set_OptionCompare (string 'value') cil managed + instance default void set_ProductVersion (string 'value') cil managed { - // Method begins at RVA 0x8dbf + // Method begins at RVA 0x7a7f // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_optionCompare + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_productVersion IL_000d: ret - } // end of method VbcTask::set_OptionCompare + } // end of method AssemblyLinkerTask::set_ProductVersion - // method line 431 + // method line 321 .method public hidebysig specialname - instance default bool get_OptionExplicit () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Resources () cil managed { - // Method begins at RVA 0x8dd0 + // Method begins at RVA 0x7a90 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_optionExplicit + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_resources IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_OptionExplicit + } // end of method AssemblyLinkerTask::get_Resources - // method line 432 + // method line 322 .method public hidebysig specialname - instance default void set_OptionExplicit (bool 'value') cil managed + instance default void set_Resources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x8deb + // Method begins at RVA 0x7aab // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_optionExplicit + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_resources IL_0008: ret - } // end of method VbcTask::set_OptionExplicit + } // end of method AssemblyLinkerTask::set_Resources - // method line 433 + // method line 323 .method public hidebysig specialname - instance default bool get_OptionOptimize () cil managed + instance default class NAnt.DotNet.Types.EmbeddedResourceCollection get_EmbeddedResources () cil managed { - // Method begins at RVA 0x8df8 + // Method begins at RVA 0x7ab8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.DotNet.Types.EmbeddedResourceCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_optionOptimize + IL_0002: ldfld class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::_embeddedResources IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_OptionOptimize + } // end of method AssemblyLinkerTask::get_EmbeddedResources - // method line 434 + // method line 324 .method public hidebysig specialname - instance default void set_OptionOptimize (bool 'value') cil managed + instance default void set_EmbeddedResources (class NAnt.DotNet.Types.EmbeddedResourceCollection 'value') cil managed { - // Method begins at RVA 0x8e13 + // Method begins at RVA 0x7ad3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_optionOptimize + IL_0003: stfld class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::_embeddedResources IL_0008: ret - } // end of method VbcTask::set_OptionOptimize + } // end of method AssemblyLinkerTask::set_EmbeddedResources - // method line 435 + // method line 325 .method public hidebysig specialname - instance default bool get_OptionStrict () cil managed + instance default bool get_SupportsTemplate () cil managed { - // Method begins at RVA 0x8e20 + // Method begins at RVA 0x7ae0 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_optionStrict + IL_0002: ldfld bool NAnt.DotNet.Tasks.AssemblyLinkerTask::_supportsTemplate IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_OptionStrict + } // end of method AssemblyLinkerTask::get_SupportsTemplate - // method line 436 + // method line 326 .method public hidebysig specialname - instance default void set_OptionStrict (bool 'value') cil managed + instance default void set_SupportsTemplate (bool 'value') cil managed { - // Method begins at RVA 0x8e3b + // Method begins at RVA 0x7afb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_optionStrict + IL_0003: stfld bool NAnt.DotNet.Tasks.AssemblyLinkerTask::_supportsTemplate IL_0008: ret - } // end of method VbcTask::set_OptionStrict + } // end of method AssemblyLinkerTask::set_SupportsTemplate - // method line 437 + // method line 327 .method public hidebysig specialname - instance default string get_Platform () cil managed + instance default class [mscorlib]System.IO.FileInfo get_TemplateFile () cil managed { - // Method begins at RVA 0x8e48 + // Method begins at RVA 0x7b08 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_platform + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_templateFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_Platform + } // end of method AssemblyLinkerTask::get_TemplateFile - // method line 438 + // method line 328 .method public hidebysig specialname - instance default void set_Platform (string 'value') cil managed + instance default void set_TemplateFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x8e63 - // Code size 14 (0xe) + // Method begins at RVA 0x7b23 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_platform - IL_000d: ret - } // end of method VbcTask::set_Platform + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_templateFile + IL_0008: ret + } // end of method AssemblyLinkerTask::set_TemplateFile - // method line 439 + // method line 329 .method public hidebysig specialname - instance default bool get_RemoveIntChecks () cil managed + instance default string get_Title () cil managed { - // Method begins at RVA 0x8e74 + // Method begins at RVA 0x7b30 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_removeintchecks + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_title IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_RemoveIntChecks + } // end of method AssemblyLinkerTask::get_Title - // method line 440 + // method line 330 .method public hidebysig specialname - instance default void set_RemoveIntChecks (bool 'value') cil managed + instance default void set_Title (string 'value') cil managed { - // Method begins at RVA 0x8e8f + // Method begins at RVA 0x7b4b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_removeintchecks + IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_title IL_0008: ret - } // end of method VbcTask::set_RemoveIntChecks + } // end of method AssemblyLinkerTask::set_Title - // method line 441 + // method line 331 .method public hidebysig specialname - instance default string get_RootNamespace () cil managed + instance default string get_Trademark () cil managed { - // Method begins at RVA 0x8e9c + // Method begins at RVA 0x7b58 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.VbcTask::_rootNamespace + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_trademark IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_RootNamespace + } // end of method AssemblyLinkerTask::get_Trademark - // method line 442 + // method line 332 .method public hidebysig specialname - instance default void set_RootNamespace (string 'value') cil managed + instance default void set_Trademark (string 'value') cil managed { - // Method begins at RVA 0x8eb7 - // Code size 14 (0xe) + // Method begins at RVA 0x7b73 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.VbcTask::_rootNamespace - IL_000d: ret - } // end of method VbcTask::set_RootNamespace + IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_trademark + IL_0008: ret + } // end of method AssemblyLinkerTask::set_Trademark - // method line 443 + // method line 333 .method public hidebysig specialname - instance default bool get_SupportsDocGeneration () cil managed + instance default string get_Version () cil managed { - // Method begins at RVA 0x8ec8 + // Method begins at RVA 0x7b80 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_supportsDocGeneration + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_version IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_SupportsDocGeneration + } // end of method AssemblyLinkerTask::get_Version - // method line 444 + // method line 334 .method public hidebysig specialname - instance default void set_SupportsDocGeneration (bool 'value') cil managed + instance default void set_Version (string 'value') cil managed { - // Method begins at RVA 0x8ee3 - // Code size 9 (0x9) + // Method begins at RVA 0x7b9b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_supportsDocGeneration - IL_0008: ret - } // end of method VbcTask::set_SupportsDocGeneration + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_version + IL_000d: ret + } // end of method AssemblyLinkerTask::set_Version - // method line 445 + // method line 335 .method public hidebysig specialname - instance default bool get_SupportsNoStdLib () cil managed + instance default class [mscorlib]System.IO.FileInfo get_Win32Icon () cil managed { - // Method begins at RVA 0x8ef0 + // Method begins at RVA 0x7bac // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_supportsNoStdLib + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Icon IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_SupportsNoStdLib + } // end of method AssemblyLinkerTask::get_Win32Icon - // method line 446 + // method line 336 .method public hidebysig specialname - instance default void set_SupportsNoStdLib (bool 'value') cil managed + instance default void set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x8f0b + // Method begins at RVA 0x7bc7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_supportsNoStdLib + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Icon IL_0008: ret - } // end of method VbcTask::set_SupportsNoStdLib + } // end of method AssemblyLinkerTask::set_Win32Icon - // method line 447 + // method line 337 .method public hidebysig specialname - instance default bool get_SupportsPlatform () cil managed + instance default class [mscorlib]System.IO.FileInfo get_Win32Res () cil managed { - // Method begins at RVA 0x8f18 + // Method begins at RVA 0x7bd4 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.VbcTask::_supportsPlatform + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Res IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VbcTask::get_SupportsPlatform + } // end of method AssemblyLinkerTask::get_Win32Res - // method line 448 + // method line 338 .method public hidebysig specialname - instance default void set_SupportsPlatform (bool 'value') cil managed + instance default void set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x8f33 + // Method begins at RVA 0x7bef // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.VbcTask::_supportsPlatform + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Res IL_0008: ret - } // end of method VbcTask::set_SupportsPlatform - - // method line 449 - .method family virtual hidebysig - instance default class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage GetResourceLinkage (string dependentFile, class [mscorlib]System.Globalization.CultureInfo resourceCulture) cil managed - { - // Method begins at RVA 0x8f40 - // Code size 105 (0x69) - .maxstack 4 - .locals init ( - class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_0, - class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: call instance class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage class NAnt.DotNet.Tasks.CompilerBase::GetResourceLinkage(string, class [mscorlib]System.Globalization.CultureInfo) - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: brfalse IL_0060 - - IL_0010: nop - IL_0011: ldarg.0 - IL_0012: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() - IL_0017: call bool string::IsNullOrEmpty(string) - IL_001c: brtrue IL_005f - - IL_0021: nop - IL_0022: ldloc.0 - IL_0023: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasNamespaceName() - IL_0028: brfalse IL_0050 - - IL_002d: nop - IL_002e: ldloc.0 - IL_002f: ldarg.0 - IL_0030: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() - IL_0035: ldstr "." - IL_003a: ldloc.0 - IL_003b: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName() - IL_0040: call string string::Concat(string, string, string) - IL_0045: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_NamespaceName(string) - IL_004a: nop - IL_004b: br IL_005e - - IL_0050: nop - IL_0051: ldloc.0 - IL_0052: ldarg.0 - IL_0053: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() - IL_0058: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_NamespaceName(string) - IL_005d: nop - IL_005e: nop - IL_005f: nop - IL_0060: ldloc.0 - IL_0061: stloc.1 - IL_0062: br IL_0067 - - IL_0067: ldloc.1 - IL_0068: ret - } // end of method VbcTask::GetResourceLinkage + } // end of method AssemblyLinkerTask::set_Win32Res - // method line 450 - .method family virtual hidebysig - instance default void WriteConditionalCompilationConstants (class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 339 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x8fb8 - // Code size 72 (0x48) - .maxstack 4 + // Method begins at RVA 0x7bfc + // Code size 50 (0x32) + .maxstack 3 .locals init ( - string[] V_0, - string V_1, - string[] V_2, - int32 V_3) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() - IL_0007: brfalse IL_0047 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() - IL_0013: ldc.i4.s 0x2c - IL_0015: ldc.i4.0 - IL_0016: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_001b: stloc.0 - IL_001c: nop - IL_001d: ldloc.0 - IL_001e: stloc.2 - IL_001f: ldc.i4.0 - IL_0020: stloc.3 - IL_0021: br IL_003d - - IL_0026: ldloc.2 - IL_0027: ldloc.3 - IL_0028: ldelem.ref - IL_0029: stloc.1 - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: ldstr "define" - IL_0032: ldloc.1 - IL_0033: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0038: nop - IL_0039: ldloc.3 - IL_003a: ldc.i4.1 - IL_003b: add - IL_003c: stloc.3 - IL_003d: ldloc.3 - IL_003e: ldloc.2 - IL_003f: ldlen - IL_0040: conv.i4 - IL_0041: blt IL_0026 + IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_0007: brfalse IL_0028 - IL_0046: nop - IL_0047: ret - } // end of method VbcTask::WriteConditionalCompilationConstants + IL_000c: nop + IL_000d: ldstr "@\"" + IL_0012: ldarg.0 + IL_0013: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_0018: ldstr "\"" + IL_001d: call string string::Concat(string, string, string) + IL_0022: stloc.0 + IL_0023: br IL_0030 - // method line 451 + IL_0028: nop + IL_0029: ldnull + IL_002a: stloc.0 + IL_002b: br IL_0030 + + IL_0030: ldloc.0 + IL_0031: ret + } // end of method AssemblyLinkerTask::get_ProgramArguments + + // method line 340 .method family virtual hidebysig - instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x900c - // Code size 840 (0x348) - .maxstack 7 + // Method begins at RVA 0x7c3c + // Code size 1471 (0x5bf) + .maxstack 8 .locals init ( - valuetype NAnt.DotNet.Types.DebugOutput V_0, - string V_1) + class [mscorlib]System.IO.StreamWriter V_0, + class NAnt.DotNet.Types.Module V_1, + class NAnt.DotNet.Types.ModuleEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + valuetype NAnt.DotNet.Types.DelaySign V_4, + string V_5, + class [System]System.Collections.Specialized.StringEnumerator V_6, + class [mscorlib]System.IDisposable V_7, + class NAnt.DotNet.Types.EmbeddedResource V_8, + class NAnt.DotNet.Types.EmbeddedResourceEnumerator V_9, + class [mscorlib]System.IDisposable V_10, + class [mscorlib]System.IO.StreamReader V_11) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.VbcTask::get_BaseAddress() - IL_0007: brfalse IL_0020 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: ldstr "baseaddress" - IL_0014: ldarg.0 - IL_0015: call instance string class NAnt.DotNet.Tasks.VbcTask::get_BaseAddress() - IL_001a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() - IL_0026: brfalse IL_0086 + IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsDocGeneration() - IL_0032: brfalse IL_0055 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() + IL_0018: ldarg.0 + IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() + IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Types.ModuleSet::get_Dir() + IL_0039: brtrue IL_005b - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldarg.1 - IL_003a: ldstr "doc" + IL_003e: nop IL_003f: ldarg.0 - IL_0040: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() - IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_004f: nop - IL_0050: br IL_0085 + IL_0040: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() + IL_0045: ldarg.0 + IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0055: callvirt instance void class NAnt.DotNet.Types.ModuleSet::set_Dir(class [mscorlib]System.IO.DirectoryInfo) + IL_005a: nop + IL_005b: ldarg.0 + IL_005c: callvirt instance bool class NAnt.DotNet.Tasks.AssemblyLinkerTask::NeedsCompiling() + IL_0061: brfalse IL_05be - IL_0055: nop - IL_0056: ldarg.0 - IL_0057: ldc.i4 4000 - IL_005c: ldstr "String_CompilerDoesNotSupportXmlDoc" - IL_0061: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0066: ldc.i4.1 - IL_0067: newarr [mscorlib]System.Object - IL_006c: dup - IL_006d: ldc.i4.0 - IL_006e: ldarg.0 - IL_006f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0074: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0079: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_007e: stelem.ref - IL_007f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0084: nop - IL_0085: nop - IL_0086: ldarg.0 - IL_0087: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_NoStdLib() - IL_008c: brfalse IL_00e1 + IL_0066: nop + IL_0067: ldarg.0 + IL_0068: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_006d: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_0072: ldarg.0 + IL_0073: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_0078: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_007d: stloc.0 + .try { // 3 + IL_007e: nop + IL_007f: ldarg.0 + IL_0080: ldc.i4 3000 + IL_0085: ldstr "String_CompilingFiles" + IL_008a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_008f: ldc.i4.2 + IL_0090: newarr [mscorlib]System.Object + IL_0095: dup + IL_0096: ldc.i4.0 + IL_0097: ldarg.0 + IL_0098: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() + IL_009d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00a2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00a7: ldarg.0 + IL_00a8: call instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() + IL_00ad: callvirt instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() + IL_00b2: add + IL_00b3: ldarg.0 + IL_00b4: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() + IL_00b9: callvirt instance class NAnt.DotNet.Types.ModuleCollection class NAnt.DotNet.Types.ModuleSet::get_Modules() + IL_00be: callvirt instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() + IL_00c3: add + IL_00c4: box [mscorlib]System.Int32 + IL_00c9: stelem.ref + IL_00ca: dup + IL_00cb: ldc.i4.1 + IL_00cc: ldarg.0 + IL_00cd: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_00d2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00d7: stelem.ref + IL_00d8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00dd: nop + IL_00de: ldarg.0 + IL_00df: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() + IL_00e4: callvirt instance class NAnt.DotNet.Types.ModuleCollection class NAnt.DotNet.Types.ModuleSet::get_Modules() + IL_00e9: callvirt instance class NAnt.DotNet.Types.ModuleEnumerator class NAnt.DotNet.Types.ModuleCollection::GetEnumerator() + IL_00ee: stloc.2 + .try { // 0 + IL_00ef: br IL_010e - IL_0091: nop - IL_0092: ldarg.0 - IL_0093: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsNoStdLib() - IL_0098: brfalse IL_00b0 + IL_00f4: ldloc.2 + IL_00f5: callvirt instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleEnumerator::get_Current() + IL_00fa: stloc.1 + IL_00fb: nop + IL_00fc: ldloc.0 + IL_00fd: ldstr "\"{0}\"" + IL_0102: ldloc.1 + IL_0103: callvirt instance string object::ToString() + IL_0108: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_010d: nop + IL_010e: ldloc.2 + IL_010f: callvirt instance bool class NAnt.DotNet.Types.ModuleEnumerator::MoveNext() + IL_0114: brtrue IL_00f4 - IL_009d: nop - IL_009e: ldarg.0 - IL_009f: ldarg.1 - IL_00a0: ldstr "nostdlib" - IL_00a5: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_00aa: nop - IL_00ab: br IL_00e0 + IL_0119: leave IL_0132 + + } // end .try 0 + finally { // 0 + IL_011e: ldloc.2 + IL_011f: isinst [mscorlib]System.IDisposable + IL_0124: dup + IL_0125: stloc.3 + IL_0126: brfalse IL_0131 + + IL_012b: ldloc.3 + IL_012c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0131: endfinally + } // end handler 0 + IL_0132: ldloc.0 + IL_0133: ldstr "/target:\"{0}\"" + IL_0138: ldarg.0 + IL_0139: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputTarget() + IL_013e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0143: ldloc.0 + IL_0144: ldstr "/out:\"{0}\"" + IL_0149: ldarg.0 + IL_014a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_014f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0154: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0159: ldarg.0 + IL_015a: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_AlgorithmID() + IL_015f: brfalse IL_0177 + + IL_0164: nop + IL_0165: ldloc.0 + IL_0166: ldstr "/algid:\"{0}\"" + IL_016b: ldarg.0 + IL_016c: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_AlgorithmID() + IL_0171: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0176: nop + IL_0177: ldarg.0 + IL_0178: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Company() + IL_017d: brfalse IL_0195 + + IL_0182: nop + IL_0183: ldloc.0 + IL_0184: ldstr "/company:\"{0}\"" + IL_0189: ldarg.0 + IL_018a: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Company() + IL_018f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0194: nop + IL_0195: ldarg.0 + IL_0196: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Configuration() + IL_019b: brfalse IL_01b3 + + IL_01a0: nop + IL_01a1: ldloc.0 + IL_01a2: ldstr "/configuration:\"{0}\"" + IL_01a7: ldarg.0 + IL_01a8: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Configuration() + IL_01ad: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_01b2: nop + IL_01b3: ldarg.0 + IL_01b4: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Copyright() + IL_01b9: brfalse IL_01d1 + + IL_01be: nop + IL_01bf: ldloc.0 + IL_01c0: ldstr "/copyright:\"{0}\"" + IL_01c5: ldarg.0 + IL_01c6: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Copyright() + IL_01cb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_01d0: nop + IL_01d1: ldarg.0 + IL_01d2: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture() + IL_01d7: brfalse IL_01ef - IL_00b0: nop - IL_00b1: ldarg.0 - IL_00b2: ldc.i4 4000 - IL_00b7: ldstr "String_CompilerDoesNotSupportNoStdLib" - IL_00bc: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00c1: ldc.i4.1 - IL_00c2: newarr [mscorlib]System.Object - IL_00c7: dup - IL_00c8: ldc.i4.0 - IL_00c9: ldarg.0 - IL_00ca: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00cf: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_00d4: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_00d9: stelem.ref - IL_00da: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00df: nop - IL_00e0: nop - IL_00e1: ldarg.0 - IL_00e2: call instance string class NAnt.DotNet.Tasks.VbcTask::get_Platform() - IL_00e7: brfalse IL_0142 + IL_01dc: nop + IL_01dd: ldloc.0 + IL_01de: ldstr "/culture:\"{0}\"" + IL_01e3: ldarg.0 + IL_01e4: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture() + IL_01e9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_01ee: nop + IL_01ef: ldarg.0 + IL_01f0: call instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_DelaySign() + IL_01f5: stloc.s 4 + IL_01f7: ldloc.s 4 + IL_01f9: switch ( + IL_020f, + IL_0224, + IL_0214) + IL_020a: br IL_0234 - IL_00ec: nop - IL_00ed: ldarg.0 - IL_00ee: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsPlatform() - IL_00f3: brfalse IL_0111 + IL_020f: leave IL_025a - IL_00f8: nop - IL_00f9: ldarg.0 - IL_00fa: ldarg.1 - IL_00fb: ldstr "platform" - IL_0100: ldarg.0 - IL_0101: call instance string class NAnt.DotNet.Tasks.VbcTask::get_Platform() - IL_0106: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_010b: nop - IL_010c: br IL_0141 + IL_0214: ldloc.0 + IL_0215: ldstr "/delaysign+" + IL_021a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_021f: leave IL_025a - IL_0111: nop - IL_0112: ldarg.0 - IL_0113: ldc.i4 4000 - IL_0118: ldstr "String_CompilerDoesNotSupportPlatform" - IL_011d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0122: ldc.i4.1 - IL_0123: newarr [mscorlib]System.Object - IL_0128: dup - IL_0129: ldc.i4.0 - IL_012a: ldarg.0 - IL_012b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0130: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0135: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_013a: stelem.ref - IL_013b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0140: nop - IL_0141: nop - IL_0142: ldarg.0 - IL_0143: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_0148: brfalse IL_0166 + IL_0224: ldloc.0 + IL_0225: ldstr "/delaysign-" + IL_022a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_022f: leave IL_025a - IL_014d: nop - IL_014e: ldarg.0 - IL_014f: ldarg.1 - IL_0150: ldstr "win32resource" - IL_0155: ldarg.0 - IL_0156: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_015b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0160: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0165: nop - IL_0166: ldarg.0 - IL_0167: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VbcTask::get_DebugOutput() - IL_016c: stloc.0 - IL_016d: ldloc.0 - IL_016e: switch ( - IL_0188, - IL_018d, - IL_01c0, - IL_01d1) - IL_0183: br IL_01e7 + IL_0234: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0239: ldstr "Value {0} is not supported for \"delaysign\"." + IL_023e: ldarg.0 + IL_023f: call instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_DelaySign() + IL_0244: box NAnt.DotNet.Types.DelaySign + IL_0249: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_024e: ldarg.0 + IL_024f: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0254: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0259: throw + IL_025a: ldarg.0 + IL_025b: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Description() + IL_0260: brfalse IL_0278 - IL_0188: br IL_0212 + IL_0265: nop + IL_0266: ldloc.0 + IL_0267: ldstr "/description:\"{0}\"" + IL_026c: ldarg.0 + IL_026d: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Description() + IL_0272: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0277: nop + IL_0278: ldarg.0 + IL_0279: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() + IL_027e: brfalse IL_029b - IL_018d: ldarg.0 - IL_018e: ldarg.1 - IL_018f: ldstr "debug" - IL_0194: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0199: ldarg.0 - IL_019a: ldarg.1 - IL_019b: ldstr "define" - IL_01a0: ldstr "DEBUG=True" - IL_01a5: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_01aa: ldarg.0 - IL_01ab: ldarg.1 - IL_01ac: ldstr "define" - IL_01b1: ldstr "TRACE=True" - IL_01b6: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_01bb: br IL_0212 + IL_0283: nop + IL_0284: ldloc.0 + IL_0285: ldstr "/evidence:\"{0}\"" + IL_028a: ldarg.0 + IL_028b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() + IL_0290: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0295: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_029a: nop + IL_029b: ldarg.0 + IL_029c: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_FileVersion() + IL_02a1: brfalse IL_02b9 - IL_01c0: ldarg.0 - IL_01c1: ldarg.1 - IL_01c2: ldstr "debug" - IL_01c7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_01cc: br IL_0212 + IL_02a6: nop + IL_02a7: ldloc.0 + IL_02a8: ldstr "/fileversion:\"{0}\"" + IL_02ad: ldarg.0 + IL_02ae: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_FileVersion() + IL_02b3: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_02b8: nop + IL_02b9: ldarg.0 + IL_02ba: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Flags() + IL_02bf: brfalse IL_02d7 - IL_01d1: ldarg.0 - IL_01d2: ldarg.1 - IL_01d3: ldstr "debug" - IL_01d8: ldstr "pdbonly" - IL_01dd: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_01e2: br IL_0212 + IL_02c4: nop + IL_02c5: ldloc.0 + IL_02c6: ldstr "/flags:\"{0}\"" + IL_02cb: ldarg.0 + IL_02cc: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Flags() + IL_02d1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_02d6: nop + IL_02d7: ldarg.0 + IL_02d8: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_MainMethod() + IL_02dd: brfalse IL_02f5 - IL_01e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01ec: ldstr "NA2011" - IL_01f1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01f6: ldarg.0 - IL_01f7: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.VbcTask::get_DebugOutput() - IL_01fc: box NAnt.DotNet.Types.DebugOutput - IL_0201: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0206: ldarg.0 - IL_0207: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_020c: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0211: throw - IL_0212: ldarg.0 - IL_0213: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.VbcTask::get_Imports() - IL_0218: callvirt instance string object::ToString() - IL_021d: stloc.1 - IL_021e: ldloc.1 - IL_021f: call bool string::IsNullOrEmpty(string) - IL_0224: brtrue IL_0238 + IL_02e2: nop + IL_02e3: ldloc.0 + IL_02e4: ldstr "/main:\"{0}\"" + IL_02e9: ldarg.0 + IL_02ea: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_MainMethod() + IL_02ef: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_02f4: nop + IL_02f5: ldarg.0 + IL_02f6: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyContainer() + IL_02fb: brfalse IL_0313 - IL_0229: nop - IL_022a: ldarg.0 - IL_022b: ldarg.1 - IL_022c: ldstr "imports" - IL_0231: ldloc.1 - IL_0232: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0237: nop - IL_0238: ldarg.0 - IL_0239: call instance string class NAnt.DotNet.Tasks.VbcTask::get_OptionCompare() - IL_023e: brfalse IL_0276 + IL_0300: nop + IL_0301: ldloc.0 + IL_0302: ldstr "/keyname:\"{0}\"" + IL_0307: ldarg.0 + IL_0308: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyContainer() + IL_030d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0312: nop + IL_0313: ldarg.0 + IL_0314: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Product() + IL_0319: brfalse IL_0331 - IL_0243: ldarg.0 - IL_0244: call instance string class NAnt.DotNet.Tasks.VbcTask::get_OptionCompare() - IL_0249: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_024e: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) - IL_0253: ldstr "FALSE" - IL_0258: call bool string::op_Inequality(string, string) - IL_025d: brfalse IL_0276 + IL_031e: nop + IL_031f: ldloc.0 + IL_0320: ldstr "/product:\"{0}\"" + IL_0325: ldarg.0 + IL_0326: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Product() + IL_032b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0330: nop + IL_0331: ldarg.0 + IL_0332: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProductVersion() + IL_0337: brfalse IL_034f + + IL_033c: nop + IL_033d: ldloc.0 + IL_033e: ldstr "/productversion:\"{0}\"" + IL_0343: ldarg.0 + IL_0344: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProductVersion() + IL_0349: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_034e: nop + IL_034f: ldarg.0 + IL_0350: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() + IL_0355: brfalse IL_03b4 - IL_0262: nop - IL_0263: ldarg.0 - IL_0264: ldarg.1 - IL_0265: ldstr "optioncompare" - IL_026a: ldarg.0 - IL_026b: call instance string class NAnt.DotNet.Tasks.VbcTask::get_OptionCompare() - IL_0270: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0275: nop - IL_0276: ldarg.0 - IL_0277: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_OptionExplicit() - IL_027c: brfalse IL_028f + IL_035a: nop + IL_035b: ldarg.0 + IL_035c: call instance bool class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_SupportsTemplate() + IL_0361: brfalse IL_0383 - IL_0281: nop - IL_0282: ldarg.0 - IL_0283: ldarg.1 - IL_0284: ldstr "optionexplicit" - IL_0289: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_028e: nop - IL_028f: ldarg.0 - IL_0290: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_OptionStrict() - IL_0295: brfalse IL_02a8 + IL_0366: nop + IL_0367: ldloc.0 + IL_0368: ldstr "/template:\"{0}\"" + IL_036d: ldarg.0 + IL_036e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() + IL_0373: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0378: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_037d: nop + IL_037e: br IL_03b3 - IL_029a: nop - IL_029b: ldarg.0 - IL_029c: ldarg.1 - IL_029d: ldstr "optionstrict" - IL_02a2: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_02a7: nop - IL_02a8: ldarg.0 - IL_02a9: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_RemoveIntChecks() - IL_02ae: brfalse IL_02c1 + IL_0383: nop + IL_0384: ldarg.0 + IL_0385: ldc.i4 4000 + IL_038a: ldstr "String_LinkerDoesNotSupportTemplateAssembly" + IL_038f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0394: ldc.i4.1 + IL_0395: newarr [mscorlib]System.Object + IL_039a: dup + IL_039b: ldc.i4.0 + IL_039c: ldarg.0 + IL_039d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_03a2: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_03a7: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_03ac: stelem.ref + IL_03ad: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_03b2: nop + IL_03b3: nop + IL_03b4: ldarg.0 + IL_03b5: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Title() + IL_03ba: brfalse IL_03d2 - IL_02b3: nop - IL_02b4: ldarg.0 - IL_02b5: ldarg.1 - IL_02b6: ldstr "removeintchecks" - IL_02bb: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_02c0: nop - IL_02c1: ldarg.0 - IL_02c2: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_OptionOptimize() - IL_02c7: brfalse IL_02da + IL_03bf: nop + IL_03c0: ldloc.0 + IL_03c1: ldstr "/title:\"{0}\"" + IL_03c6: ldarg.0 + IL_03c7: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Title() + IL_03cc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_03d1: nop + IL_03d2: ldarg.0 + IL_03d3: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Trademark() + IL_03d8: brfalse IL_03f0 - IL_02cc: nop - IL_02cd: ldarg.0 - IL_02ce: ldarg.1 - IL_02cf: ldstr "optimize" - IL_02d4: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_02d9: nop - IL_02da: ldarg.0 - IL_02db: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() - IL_02e0: brfalse IL_02f9 + IL_03dd: nop + IL_03de: ldloc.0 + IL_03df: ldstr "/trademark:\"{0}\"" + IL_03e4: ldarg.0 + IL_03e5: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Trademark() + IL_03ea: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_03ef: nop + IL_03f0: ldarg.0 + IL_03f1: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() + IL_03f6: brfalse IL_0413 - IL_02e5: nop - IL_02e6: ldarg.0 - IL_02e7: ldarg.1 - IL_02e8: ldstr "rootnamespace" - IL_02ed: ldarg.0 - IL_02ee: call instance string class NAnt.DotNet.Tasks.VbcTask::get_RootNamespace() - IL_02f3: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_02f8: nop - IL_02f9: ldarg.0 - IL_02fa: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_02ff: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0304: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Family() - IL_0309: ldstr "netcf" - IL_030e: call bool string::op_Equality(string, string) - IL_0313: brfalse IL_0347 + IL_03fb: nop + IL_03fc: ldloc.0 + IL_03fd: ldstr "/keyfile:\"{0}\"" + IL_0402: ldarg.0 + IL_0403: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() + IL_0408: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_040d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0412: nop + IL_0413: ldarg.0 + IL_0414: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Version() + IL_0419: brfalse IL_0431 - IL_0318: nop - IL_0319: ldarg.0 - IL_031a: ldarg.1 - IL_031b: ldstr "netcf" - IL_0320: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0325: ldarg.0 - IL_0326: ldarg.1 - IL_0327: ldstr "sdkpath" - IL_032c: ldarg.0 - IL_032d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0332: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0337: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() - IL_033c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0341: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0346: nop - IL_0347: ret - } // end of method VbcTask::WriteOptions + IL_041e: nop + IL_041f: ldloc.0 + IL_0420: ldstr "/version:\"{0}\"" + IL_0425: ldarg.0 + IL_0426: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Version() + IL_042b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0430: nop + IL_0431: ldarg.0 + IL_0432: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() + IL_0437: brfalse IL_0454 - // method line 452 - .method family virtual hidebysig - instance default bool NeedsCompiling () cil managed - { - // Method begins at RVA 0x9360 - // Code size 123 (0x7b) - .maxstack 7 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() - IL_0007: brfalse IL_0014 + IL_043c: nop + IL_043d: ldloc.0 + IL_043e: ldstr "/win32icon:\"{0}\"" + IL_0443: ldarg.0 + IL_0444: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() + IL_0449: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_044e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0453: nop + IL_0454: ldarg.0 + IL_0455: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() + IL_045a: brfalse IL_0477 - IL_000c: nop - IL_000d: ldc.i4.1 - IL_000e: stloc.0 - IL_000f: br IL_0079 + IL_045f: nop + IL_0460: ldloc.0 + IL_0461: ldstr "/win32res:\"{0}\"" + IL_0466: ldarg.0 + IL_0467: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() + IL_046c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0471: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0476: nop + IL_0477: nop + IL_0478: ldarg.0 + IL_0479: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() + IL_047e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0483: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0488: stloc.s 6 + .try { // 1 + IL_048a: br IL_04a7 - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() - IL_001a: brfalse IL_006d + IL_048f: ldloc.s 6 + IL_0491: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0496: stloc.s 5 + IL_0498: nop + IL_0499: ldloc.0 + IL_049a: ldstr "/embed:\"{0}\"" + IL_049f: ldloc.s 5 + IL_04a1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_04a6: nop + IL_04a7: ldloc.s 6 + IL_04a9: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_04ae: brtrue IL_048f - IL_001f: ldarg.0 - IL_0020: call instance bool class NAnt.DotNet.Tasks.VbcTask::get_SupportsDocGeneration() - IL_0025: brfalse IL_006d + IL_04b3: leave IL_04cf - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() - IL_0031: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0036: brtrue IL_006c + } // end .try 1 + finally { // 1 + IL_04b8: ldloc.s 6 + IL_04ba: isinst [mscorlib]System.IDisposable + IL_04bf: dup + IL_04c0: stloc.s 7 + IL_04c2: brfalse IL_04ce - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: ldc.i4 2000 - IL_0042: ldstr "String_DocFileDoesNotExist" - IL_0047: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004c: ldc.i4.1 - IL_004d: newarr [mscorlib]System.Object - IL_0052: dup - IL_0053: ldc.i4.0 - IL_0054: ldarg.0 - IL_0055: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.VbcTask::get_DocFile() - IL_005a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005f: stelem.ref - IL_0060: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0065: ldc.i4.1 - IL_0066: stloc.0 - IL_0067: br IL_0079 + IL_04c7: ldloc.s 7 + IL_04c9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_04ce: endfinally + } // end handler 1 + IL_04cf: nop + IL_04d0: ldarg.0 + IL_04d1: call instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() + IL_04d6: callvirt instance class NAnt.DotNet.Types.EmbeddedResourceEnumerator class NAnt.DotNet.Types.EmbeddedResourceCollection::GetEnumerator() + IL_04db: stloc.s 9 + .try { // 2 + IL_04dd: br IL_0506 - IL_006c: nop - IL_006d: ldarg.0 - IL_006e: call instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() - IL_0073: stloc.0 - IL_0074: br IL_0079 + IL_04e2: ldloc.s 9 + IL_04e4: callvirt instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceEnumerator::get_Current() + IL_04e9: stloc.s 8 + IL_04eb: nop + IL_04ec: ldloc.0 + IL_04ed: ldstr "/embed:\"{0}\",{1}" + IL_04f2: ldloc.s 8 + IL_04f4: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_File() + IL_04f9: ldloc.s 8 + IL_04fb: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_ManifestResourceName() + IL_0500: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) + IL_0505: nop + IL_0506: ldloc.s 9 + IL_0508: callvirt instance bool class NAnt.DotNet.Types.EmbeddedResourceEnumerator::MoveNext() + IL_050d: brtrue IL_04e2 - IL_0079: ldloc.0 - IL_007a: ret - } // end of method VbcTask::NeedsCompiling + IL_0512: leave IL_052e - // method line 453 - .method public virtual hidebysig specialname - instance default string get_Extension () cil managed - { - // Method begins at RVA 0x93e8 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr "vb" - IL_0006: stloc.0 - IL_0007: br IL_000c + } // end .try 2 + finally { // 2 + IL_0517: ldloc.s 9 + IL_0519: isinst [mscorlib]System.IDisposable + IL_051e: dup + IL_051f: stloc.s 10 + IL_0521: brfalse IL_052d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method VbcTask::get_Extension + IL_0526: ldloc.s 10 + IL_0528: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_052d: endfinally + } // end handler 2 + IL_052e: ldloc.0 + IL_052f: ldstr "/nologo" + IL_0534: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0539: ldloc.0 + IL_053a: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_053f: ldarg.0 + IL_0540: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0545: brfalse IL_0596 - // method line 454 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed - { - // Method begins at RVA 0x9404 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) - IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_classNameRegex - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_054a: nop + IL_054b: ldarg.0 + IL_054c: ldc.i4 2000 + IL_0551: ldstr "String_ContentsOf" + IL_0556: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_055b: ldc.i4.1 + IL_055c: newarr [mscorlib]System.Object + IL_0561: dup + IL_0562: ldc.i4.0 + IL_0563: ldarg.0 + IL_0564: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_0569: stelem.ref + IL_056a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_056f: ldarg.0 + IL_0570: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_0575: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) + IL_057a: stloc.s 11 + IL_057c: ldarg.0 + IL_057d: ldc.i4 2000 + IL_0582: ldloc.s 11 + IL_0584: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0589: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_058e: ldloc.s 11 + IL_0590: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_0595: nop + IL_0596: ldarg.0 + IL_0597: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_059c: nop + IL_059d: leave IL_05bd - IL_000c: ldloc.0 - IL_000d: ret - } // end of method VbcTask::get_ClassNameRegex + } // end .try 3 + finally { // 3 + IL_05a2: nop + IL_05a3: ldloc.0 + IL_05a4: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_05a9: ldarg.0 + IL_05aa: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_05af: call void class [mscorlib]System.IO.File::Delete(string) + IL_05b4: ldarg.0 + IL_05b5: ldnull + IL_05b6: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName + IL_05bb: nop + IL_05bc: endfinally + } // end handler 3 + IL_05bd: nop + IL_05be: ret + } // end of method AssemblyLinkerTask::ExecuteTask - // method line 455 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed + // method line 341 + .method family virtual hidebysig newslot + instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x9420 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x826c + // Code size 1229 (0x4cd) + .maxstack 7 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) + bool V_0, + string V_1, + class NAnt.DotNet.Types.Module V_2, + class NAnt.DotNet.Types.ModuleEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + class NAnt.DotNet.Types.EmbeddedResource V_5, + class NAnt.DotNet.Types.EmbeddedResourceEnumerator V_6, + class [mscorlib]System.IDisposable V_7, + class [System]System.Collections.Specialized.StringCollection V_8, + class [NAnt.Core]NAnt.Core.Types.Argument V_9, + class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator V_10, + string V_11, + string V_12, + int32 V_13, + bool V_14, + class [mscorlib]System.IDisposable V_15) IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_namespaceRegex - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method VbcTask::get_NamespaceRegex - - // method line 456 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x943a - // Code size 31 (0x1f) - .maxstack 8 - IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.]+|Class\\s+(?\\w+)|(?\\w+))*" - IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_classNameRegex - IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.]+|Namespace\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" - IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::_namespaceRegex - IL_001e: ret - } // end of method VbcTask::.cctor - - .property instance string BaseAddress () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 62 61 73 65 61 64 64 72 65 73 73 00 00 ) // ...baseaddress.. - - .get instance default string NAnt.DotNet.Tasks.VbcTask::get_BaseAddress () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_BaseAddress (string 'value') - } - .property instance valuetype NAnt.DotNet.Types.DebugOutput DebugOutput () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_0042 - .get instance default valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.VbcTask::get_DebugOutput () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') - } - .property instance bool Debug () - { - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_Debug () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_Debug (bool 'value') - } - .property instance class [mscorlib]System.IO.FileInfo DocFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 6F 63 00 00 ) // ...doc.. + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldc.i4 2000 + IL_0018: ldstr "String_OutputFileDoesNotExist" + IL_001d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0022: ldc.i4.1 + IL_0023: newarr [mscorlib]System.Object + IL_0028: dup + IL_0029: ldc.i4.0 + IL_002a: ldarg.0 + IL_002b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: stelem.ref + IL_0036: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_003b: ldc.i4.1 + IL_003c: stloc.0 + IL_003d: br IL_04cb - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.VbcTask::get_DocFile () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_DocFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string ImportsString () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. + IL_0042: ldnull + IL_0043: stloc.1 + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() + IL_004b: callvirt instance class NAnt.DotNet.Types.ModuleCollection class NAnt.DotNet.Types.ModuleSet::get_Modules() + IL_0050: callvirt instance class NAnt.DotNet.Types.ModuleEnumerator class NAnt.DotNet.Types.ModuleCollection::GetEnumerator() + IL_0055: stloc.3 + .try { // 0 + IL_0056: br IL_00a8 - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 22 55 73 65 20 74 68 65 20 3C 69 6D 70 6F // .."Use the element ins - 74 65 61 64 2E 00 00 00 ) // tead.... + IL_005b: ldloc.3 + IL_005c: callvirt instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleEnumerator::get_Current() + IL_0061: stloc.2 + IL_0062: nop + IL_0063: ldloc.2 + IL_0064: callvirt instance string class NAnt.DotNet.Types.Module::get_File() + IL_0069: ldarg.0 + IL_006a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_006f: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0074: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0079: stloc.1 + IL_007a: ldloc.1 + IL_007b: brfalse IL_00a7 - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_ImportsString (string 'value') - } - .property instance class NAnt.DotNet.Types.NamespaceImportCollection Imports () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. + IL_0080: nop + IL_0081: ldarg.0 + IL_0082: ldc.i4 2000 + IL_0087: ldstr "String_FileHasBeenUpdated" + IL_008c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0091: ldc.i4.1 + IL_0092: newarr [mscorlib]System.Object + IL_0097: dup + IL_0098: ldc.i4.0 + IL_0099: ldloc.1 + IL_009a: stelem.ref + IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a0: ldc.i4.1 + IL_00a1: stloc.0 + IL_00a2: leave IL_04cb - .get instance default class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.VbcTask::get_Imports () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') - } - .property instance bool NoStdLib () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. + IL_00a7: nop + IL_00a8: ldloc.3 + IL_00a9: callvirt instance bool class NAnt.DotNet.Types.ModuleEnumerator::MoveNext() + IL_00ae: brtrue IL_005b - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. + IL_00b3: leave IL_00ce - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end .try 0 + finally { // 0 + IL_00b8: ldloc.3 + IL_00b9: isinst [mscorlib]System.IDisposable + IL_00be: dup + IL_00bf: stloc.s 4 + IL_00c1: brfalse IL_00cd - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_NoStdLib () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_NoStdLib (bool 'value') - } - .property instance string OptionCompare () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 6F 70 74 69 6F 6E 63 6F 6D 70 61 72 65 // ...optioncompare - 00 00 ) // .. + IL_00c6: ldloc.s 4 + IL_00c8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00cd: endfinally + } // end handler 0 + IL_00ce: ldarg.0 + IL_00cf: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() + IL_00d4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00d9: ldarg.0 + IL_00da: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_00df: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00e4: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_00e9: stloc.1 + IL_00ea: ldloc.1 + IL_00eb: brfalse IL_0117 - .get instance default string NAnt.DotNet.Tasks.VbcTask::get_OptionCompare () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionCompare (string 'value') - } - .property instance bool OptionExplicit () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 6F 70 74 69 6F 6E 65 78 70 6C 69 63 69 // ...optionexplici - 74 00 00 ) // t.. + IL_00f0: nop + IL_00f1: ldarg.0 + IL_00f2: ldc.i4 2000 + IL_00f7: ldstr "String_FileHasBeenUpdated" + IL_00fc: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0101: ldc.i4.1 + IL_0102: newarr [mscorlib]System.Object + IL_0107: dup + IL_0108: ldc.i4.0 + IL_0109: ldloc.1 + IL_010a: stelem.ref + IL_010b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0110: ldc.i4.1 + IL_0111: stloc.0 + IL_0112: br IL_04cb - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0117: ldarg.0 + IL_0118: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() + IL_011d: brfalse IL_016d - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_OptionExplicit () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionExplicit (bool 'value') - } - .property instance bool OptionOptimize () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 6F 70 74 69 6F 6E 6F 70 74 69 6D 69 7A // ...optionoptimiz - 65 00 00 ) // e.. + IL_0122: nop + IL_0123: ldarg.0 + IL_0124: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() + IL_0129: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_012e: ldarg.0 + IL_012f: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_0134: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0139: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_013e: stloc.1 + IL_013f: ldloc.1 + IL_0140: brfalse IL_016c - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0145: nop + IL_0146: ldarg.0 + IL_0147: ldc.i4 2000 + IL_014c: ldstr "String_FileHasBeenUpdated" + IL_0151: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0156: ldc.i4.1 + IL_0157: newarr [mscorlib]System.Object + IL_015c: dup + IL_015d: ldc.i4.0 + IL_015e: ldloc.1 + IL_015f: stelem.ref + IL_0160: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0165: ldc.i4.1 + IL_0166: stloc.0 + IL_0167: br IL_04cb - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_OptionOptimize () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionOptimize (bool 'value') - } - .property instance bool OptionStrict () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6F 70 74 69 6F 6E 73 74 72 69 63 74 00 // ...optionstrict. - 00 ) // . + IL_016c: nop + IL_016d: ldarg.0 + IL_016e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() + IL_0173: brfalse IL_01c3 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0178: nop + IL_0179: ldarg.0 + IL_017a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() + IL_017f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0184: ldarg.0 + IL_0185: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_018a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_018f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0194: stloc.1 + IL_0195: ldloc.1 + IL_0196: brfalse IL_01c2 - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_OptionStrict () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_OptionStrict (bool 'value') - } - .property instance string Platform () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 6C 61 74 66 6F 72 6D 00 00 ) // ...platform.. + IL_019b: nop + IL_019c: ldarg.0 + IL_019d: ldc.i4 2000 + IL_01a2: ldstr "String_FileHasBeenUpdated" + IL_01a7: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01ac: ldc.i4.1 + IL_01ad: newarr [mscorlib]System.Object + IL_01b2: dup + IL_01b3: ldc.i4.0 + IL_01b4: ldloc.1 + IL_01b5: stelem.ref + IL_01b6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01bb: ldc.i4.1 + IL_01bc: stloc.0 + IL_01bd: br IL_04cb - .get instance default string NAnt.DotNet.Tasks.VbcTask::get_Platform () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_Platform (string 'value') - } - .property instance bool RemoveIntChecks () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0F 72 65 6D 6F 76 65 69 6E 74 63 68 65 63 // ...removeintchec - 6B 73 00 00 ) // ks.. + IL_01c2: nop + IL_01c3: ldarg.0 + IL_01c4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() + IL_01c9: brfalse IL_0219 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_01ce: nop + IL_01cf: ldarg.0 + IL_01d0: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() + IL_01d5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01da: ldarg.0 + IL_01db: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_01e0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_01e5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_01ea: stloc.1 + IL_01eb: ldloc.1 + IL_01ec: brfalse IL_0218 - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_RemoveIntChecks () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_RemoveIntChecks (bool 'value') - } - .property instance string RootNamespace () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 72 6F 6F 74 6E 61 6D 65 73 70 61 63 65 // ...rootnamespace - 00 00 ) // .. + IL_01f1: nop + IL_01f2: ldarg.0 + IL_01f3: ldc.i4 2000 + IL_01f8: ldstr "String_FileHasBeenUpdated" + IL_01fd: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0202: ldc.i4.1 + IL_0203: newarr [mscorlib]System.Object + IL_0208: dup + IL_0209: ldc.i4.0 + IL_020a: ldloc.1 + IL_020b: stelem.ref + IL_020c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0211: ldc.i4.1 + IL_0212: stloc.0 + IL_0213: br IL_04cb - .get instance default string NAnt.DotNet.Tasks.VbcTask::get_RootNamespace () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_RootNamespace (string 'value') - } - .property instance bool SupportsDocGeneration () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 15 73 75 70 70 6F 72 74 73 64 6F 63 67 65 // ...supportsdocge - 6E 65 72 61 74 69 6F 6E 00 00 ) // neration.. + IL_0218: nop + IL_0219: ldarg.0 + IL_021a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() + IL_021f: brfalse IL_026f - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_SupportsDocGeneration () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_SupportsDocGeneration (bool 'value') - } - .property instance bool SupportsNoStdLib () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 10 73 75 70 70 6F 72 74 73 6E 6F 73 74 64 // ...supportsnostd - 6C 69 62 00 00 ) // lib.. + IL_0224: nop + IL_0225: ldarg.0 + IL_0226: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() + IL_022b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0230: ldarg.0 + IL_0231: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_0236: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_023b: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0240: stloc.1 + IL_0241: ldloc.1 + IL_0242: brfalse IL_026e - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_SupportsNoStdLib () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_SupportsNoStdLib (bool 'value') - } - .property instance bool SupportsPlatform () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 10 73 75 70 70 6F 72 74 73 70 6C 61 74 66 // ...supportsplatf - 6F 72 6D 00 00 ) // orm.. + IL_0247: nop + IL_0248: ldarg.0 + IL_0249: ldc.i4 2000 + IL_024e: ldstr "String_FileHasBeenUpdated" + IL_0253: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0258: ldc.i4.1 + IL_0259: newarr [mscorlib]System.Object + IL_025e: dup + IL_025f: ldc.i4.0 + IL_0260: ldloc.1 + IL_0261: stelem.ref + IL_0262: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0267: ldc.i4.1 + IL_0268: stloc.0 + IL_0269: br IL_04cb - .get instance default bool NAnt.DotNet.Tasks.VbcTask::get_SupportsPlatform () - .set instance default void NAnt.DotNet.Tasks.VbcTask::set_SupportsPlatform (bool 'value') - } - .property instance string Extension () - { - .get instance default string NAnt.DotNet.Tasks.VbcTask::get_Extension () - } - .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () - { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::get_ClassNameRegex () - } - .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () - { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.VbcTask::get_NamespaceRegex () - } - } // end of class NAnt.DotNet.Tasks.VbcTask -} + IL_026e: nop + IL_026f: ldarg.0 + IL_0270: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() + IL_0275: brfalse IL_02c5 -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit NDocTask - extends [NAnt.Core]NAnt.Core.Task - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6E 64 6F 63 00 00 ) // ...ndoc.. + IL_027a: nop + IL_027b: ldarg.0 + IL_027c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() + IL_0281: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0286: ldarg.0 + IL_0287: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_028c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0291: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0296: stloc.1 + IL_0297: ldloc.1 + IL_0298: brfalse IL_02c4 - .field private class [System.Xml]System.Xml.XmlNodeList _docNodes - .field private class NAnt.DotNet.Types.AssemblyFileSet _assemblies - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _summaries - .field private class [NAnt.Core]NAnt.Core.Types.RawXml _documenters - .field private class [NAnt.Core]NAnt.Core.Types.DirSet _referencePaths - .field private string _hhcexe + IL_029d: nop + IL_029e: ldarg.0 + IL_029f: ldc.i4 2000 + IL_02a4: ldstr "String_FileHasBeenUpdated" + IL_02a9: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02ae: ldc.i4.1 + IL_02af: newarr [mscorlib]System.Object + IL_02b4: dup + IL_02b5: ldc.i4.0 + IL_02b6: ldloc.1 + IL_02b7: stelem.ref + IL_02b8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_02bd: ldc.i4.1 + IL_02be: stloc.0 + IL_02bf: br IL_04cb - // method line 457 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x945a - // Code size 40 (0x28) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0006: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::_assemblies - IL_000b: ldarg.0 - IL_000c: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0011: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::_summaries - IL_0016: ldarg.0 - IL_0017: newobj instance void class [NAnt.Core]NAnt.Core.Types.DirSet::'.ctor'() - IL_001c: stfld class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::_referencePaths - IL_0021: ldarg.0 - IL_0022: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0027: ret - } // end of method NDocTask::.ctor + IL_02c4: nop + IL_02c5: nop + IL_02c6: ldarg.0 + IL_02c7: call instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() + IL_02cc: callvirt instance class NAnt.DotNet.Types.EmbeddedResourceEnumerator class NAnt.DotNet.Types.EmbeddedResourceCollection::GetEnumerator() + IL_02d1: stloc.s 6 + .try { // 1 + IL_02d3: br IL_0328 - // method line 458 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed - { - // Method begins at RVA 0x9484 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::_assemblies - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_02d8: ldloc.s 6 + IL_02da: callvirt instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceEnumerator::get_Current() + IL_02df: stloc.s 5 + IL_02e1: nop + IL_02e2: ldloc.s 5 + IL_02e4: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_File() + IL_02e9: ldarg.0 + IL_02ea: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_02ef: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_02f4: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_02f9: stloc.1 + IL_02fa: ldloc.1 + IL_02fb: brfalse IL_0327 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NDocTask::get_Assemblies + IL_0300: nop + IL_0301: ldarg.0 + IL_0302: ldc.i4 2000 + IL_0307: ldstr "String_FileHasBeenUpdated" + IL_030c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0311: ldc.i4.1 + IL_0312: newarr [mscorlib]System.Object + IL_0317: dup + IL_0318: ldc.i4.0 + IL_0319: ldloc.1 + IL_031a: stelem.ref + IL_031b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0320: ldc.i4.1 + IL_0321: stloc.0 + IL_0322: leave IL_04cb - // method line 459 - .method public hidebysig specialname - instance default void set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed - { - // Method begins at RVA 0x949f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::_assemblies - IL_0008: ret - } // end of method NDocTask::set_Assemblies + IL_0327: nop + IL_0328: ldloc.s 6 + IL_032a: callvirt instance bool class NAnt.DotNet.Types.EmbeddedResourceEnumerator::MoveNext() + IL_032f: brtrue IL_02d8 - // method line 460 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Summaries () cil managed - { - // Method begins at RVA 0x94ac - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::_summaries - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0334: leave IL_0350 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NDocTask::get_Summaries + } // end .try 1 + finally { // 1 + IL_0339: ldloc.s 6 + IL_033b: isinst [mscorlib]System.IDisposable + IL_0340: dup + IL_0341: stloc.s 7 + IL_0343: brfalse IL_034f - // method line 461 - .method public hidebysig specialname - instance default void set_Summaries (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x94c7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::_summaries - IL_0008: ret - } // end of method NDocTask::set_Summaries + IL_0348: ldloc.s 7 + IL_034a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_034f: endfinally + } // end handler 1 + IL_0350: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0355: stloc.s 8 + IL_0357: nop + IL_0358: ldarg.0 + IL_0359: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_035e: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::GetEnumerator() + IL_0363: stloc.s 10 + .try { // 2 + IL_0365: br IL_045c - // method line 462 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.RawXml get_Documenters () cil managed - { - // Method begins at RVA 0x94d4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.RawXml V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.NDocTask::_documenters - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_036a: ldloc.s 10 + IL_036c: callvirt instance class [NAnt.Core]NAnt.Core.Types.Argument class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::get_Current() + IL_0371: stloc.s 9 + IL_0373: nop + IL_0374: ldloc.s 9 + IL_0376: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_IfDefined() + IL_037b: brfalse IL_045b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NDocTask::get_Documenters + IL_0380: ldloc.s 9 + IL_0382: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_UnlessDefined() + IL_0387: brtrue IL_045b - // method line 463 - .method public hidebysig specialname - instance default void set_Documenters (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') cil managed - { - // Method begins at RVA 0x94ef - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.NDocTask::_documenters - IL_0008: ret - } // end of method NDocTask::set_Documenters + IL_038c: nop + IL_038d: ldloc.s 9 + IL_038f: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Argument::get_Value() + IL_0394: stloc.s 11 + IL_0396: ldloc.s 11 + IL_0398: brfalse IL_045a - // method line 464 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.DirSet get_ReferencePaths () cil managed - { - // Method begins at RVA 0x94fc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.DirSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::_referencePaths - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_039d: ldloc.s 11 + IL_039f: ldstr "/embed:" + IL_03a4: callvirt instance bool string::StartsWith(string) + IL_03a9: brtrue IL_03bf - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NDocTask::get_ReferencePaths + IL_03ae: ldloc.s 11 + IL_03b0: ldstr "/embedresource:" + IL_03b5: callvirt instance bool string::StartsWith(string) + IL_03ba: brfalse IL_045a - // method line 465 - .method public hidebysig specialname - instance default void set_ReferencePaths (class [NAnt.Core]NAnt.Core.Types.DirSet 'value') cil managed - { - // Method begins at RVA 0x9517 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::_referencePaths - IL_0008: ret - } // end of method NDocTask::set_ReferencePaths + IL_03bf: nop + IL_03c0: ldloc.s 11 + IL_03c2: ldloc.s 11 + IL_03c4: ldc.i4.s 0x3a + IL_03c6: callvirt instance int32 string::IndexOf(char) + IL_03cb: ldc.i4.1 + IL_03cc: add + IL_03cd: callvirt instance string string::Substring(int32) + IL_03d2: stloc.s 12 + IL_03d4: ldloc.s 12 + IL_03d6: ldc.i4.s 0x2c + IL_03d8: callvirt instance int32 string::IndexOf(char) + IL_03dd: stloc.s 13 + IL_03df: ldloc.s 13 + IL_03e1: ldc.i4.m1 + IL_03e2: beq IL_03f5 - // method line 466 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x9524 - // Code size 64 (0x40) - .maxstack 4 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: call instance class [NAnt.Core]NAnt.Core.Types.RawXml class NAnt.DotNet.Tasks.NDocTask::get_Documenters() - IL_0008: callvirt instance class [System.Xml]System.Xml.XmlNode class [NAnt.Core]NAnt.Core.Types.RawXml::get_Xml() - IL_000d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::Clone() - IL_0012: ldstr "nant:documenter" - IL_0017: ldarg.0 - IL_0018: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_001d: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0022: stfld class [System.Xml]System.Xml.XmlNodeList NAnt.DotNet.Tasks.NDocTask::_docNodes - IL_0027: ldarg.0 - IL_0028: ldarg.0 - IL_0029: ldfld class [System.Xml]System.Xml.XmlNodeList NAnt.DotNet.Tasks.NDocTask::_docNodes - IL_002e: call instance void class NAnt.DotNet.Tasks.NDocTask::ExpandPropertiesInNodes(class [System.Xml]System.Xml.XmlNodeList) - IL_0033: ldarg.0 - IL_0034: ldarg.0 - IL_0035: call instance string class NAnt.DotNet.Tasks.NDocTask::ResolveHhcExe() - IL_003a: stfld string NAnt.DotNet.Tasks.NDocTask::_hhcexe - IL_003f: ret - } // end of method NDocTask::Initialize + IL_03e7: nop + IL_03e8: ldloc.s 12 + IL_03ea: ldc.i4.0 + IL_03eb: ldloc.s 13 + IL_03ed: callvirt instance string string::Substring(int32, int32) + IL_03f2: stloc.s 12 + IL_03f4: nop + IL_03f5: ldloc.s 12 + IL_03f7: callvirt instance int32 string::get_Length() + IL_03fc: ldc.i4.2 + IL_03fd: ble IL_0421 - // method line 467 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x9570 - } // end of method NDocTask::ExecuteTask + IL_0402: ldloc.s 12 + IL_0404: ldstr "\"" + IL_0409: callvirt instance bool string::StartsWith(string) + IL_040e: brfalse IL_0421 - // method line 468 - .method private hidebysig - (null) cil managed - { - // Method begins at RVA 0x9c24 - // Code size 58 (0x3a) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 3000 - IL_0007: ldarg.2 - IL_0008: callvirt instance string [NDoc.Core]NDoc.Core.ProgressArgs::get_Status() - IL_000d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0012: ldarg.2 - IL_0013: callvirt instance int32 [NDoc.Core]NDoc.Core.ProgressArgs::get_Progress() - IL_0018: ldc.i4.s 0x19 - IL_001a: bne.un IL_0039 + IL_0413: ldloc.s 12 + IL_0415: ldstr "\"" + IL_041a: callvirt instance bool string::EndsWith(string) + IL_041f: br.s IL_0422 - IL_001f: ldarg.0 - IL_0020: ldfld string NAnt.DotNet.Tasks.NDocTask::_hhcexe - IL_0025: brfalse IL_0039 + IL_0421: ldc.i4.0 + IL_0422: stloc.s 14 + IL_0424: ldloc.s 14 + IL_0426: brfalse IL_0440 - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: ldarg.0 - IL_002e: ldfld string NAnt.DotNet.Tasks.NDocTask::_hhcexe - IL_0033: call instance void class NAnt.DotNet.Tasks.NDocTask::SetHtmlHelpCompiler(object, string) - IL_0038: nop - IL_0039: ret - } // end of method NDocTask:: + IL_042b: nop + IL_042c: ldloc.s 12 + IL_042e: ldc.i4.1 + IL_042f: ldloc.s 12 + IL_0431: callvirt instance int32 string::get_Length() + IL_0436: ldc.i4.2 + IL_0437: sub + IL_0438: callvirt instance string string::Substring(int32, int32) + IL_043d: stloc.s 12 + IL_043f: nop + IL_0440: ldarg.0 + IL_0441: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0446: ldloc.s 12 + IL_0448: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) + IL_044d: stloc.s 12 + IL_044f: ldloc.s 8 + IL_0451: ldloc.s 12 + IL_0453: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0458: pop + IL_0459: nop + IL_045a: nop + IL_045b: nop + IL_045c: ldloc.s 10 + IL_045e: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::MoveNext() + IL_0463: brtrue IL_036a - // method line 469 - .method private hidebysig - (null) cil managed - { - // Method begins at RVA 0x9c5f - // Code size 39 (0x27) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldarg.2 - IL_0008: callvirt instance int32 [NDoc.Core]NDoc.Core.ProgressArgs::get_Progress() - IL_000d: box [mscorlib]System.Int32 - IL_0012: ldstr "String_PercentageComplete" - IL_0017: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001c: call string string::Concat(object, object) - IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0026: ret - } // end of method NDocTask:: + IL_0468: leave IL_0484 - // method line 470 - .method private hidebysig - (null) cil managed - { - // Method begins at RVA 0x9c88 - } // end of method NDocTask:: + } // end .try 2 + finally { // 2 + IL_046d: ldloc.s 10 + IL_046f: isinst [mscorlib]System.IDisposable + IL_0474: dup + IL_0475: stloc.s 15 + IL_0477: brfalse IL_0483 - // method line 471 - .method private hidebysig - instance default void ExpandPropertiesInNodes (class [System.Xml]System.Xml.XmlNodeList nodes) cil managed - { - // Method begins at RVA 0x9da0 - // Code size 272 (0x110) - .maxstack 4 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class [System.Xml]System.Xml.XmlAttribute V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - class [System.Xml]System.Xml.XmlNode V_5, - class [System.Xml]System.Xml.XmlAttribute V_6, - class [mscorlib]System.IDisposable V_7) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0008: stloc.1 - .try { // 1 - IL_0009: br IL_00e9 + IL_047c: ldloc.s 15 + IL_047e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0483: endfinally + } // end handler 2 + IL_0484: ldloc.s 8 + IL_0486: ldarg.0 + IL_0487: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() + IL_048c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0491: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0496: stloc.1 + IL_0497: ldloc.1 + IL_0498: brfalse IL_04c4 - IL_000e: ldloc.1 - IL_000f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0014: castclass [System.Xml]System.Xml.XmlNode - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() - IL_0021: ldc.i4.1 - IL_0022: bne.un IL_00e8 + IL_049d: nop + IL_049e: ldarg.0 + IL_049f: ldc.i4 2000 + IL_04a4: ldstr "String_FileHasBeenUpdated" + IL_04a9: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_04ae: ldc.i4.1 + IL_04af: newarr [mscorlib]System.Object + IL_04b4: dup + IL_04b5: ldc.i4.0 + IL_04b6: ldloc.1 + IL_04b7: stelem.ref + IL_04b8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_04bd: ldc.i4.1 + IL_04be: stloc.0 + IL_04bf: br IL_04cb - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldloc.0 - IL_002a: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() - IL_002f: call instance void class NAnt.DotNet.Tasks.NDocTask::ExpandPropertiesInNodes(class [System.Xml]System.Xml.XmlNodeList) - IL_0034: nop - IL_0035: ldloc.0 - IL_0036: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_003b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNamedNodeMap::GetEnumerator() - IL_0040: stloc.3 - .try { // 0 - IL_0041: br IL_0071 + IL_04c4: ldc.i4.0 + IL_04c5: stloc.0 + IL_04c6: br IL_04cb + + IL_04cb: ldloc.0 + IL_04cc: ret + } // end of method AssemblyLinkerTask::NeedsCompiling + + .property instance string AlgorithmID () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 61 6C 67 69 64 01 00 54 02 08 52 65 71 // ...algid..T..Req + 75 69 72 65 64 00 ) // uired. - IL_0046: ldloc.3 - IL_0047: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_004c: castclass [System.Xml]System.Xml.XmlAttribute - IL_0051: stloc.2 - IL_0052: nop - IL_0053: ldloc.2 - IL_0054: ldarg.0 - IL_0055: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_005a: ldloc.2 - IL_005b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0060: ldarg.0 - IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0066: callvirt instance string class [NAnt.Core]NAnt.Core.Project::ExpandProperties(string, class [NAnt.Core]NAnt.Core.Location) - IL_006b: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) - IL_0070: nop - IL_0071: ldloc.3 - IL_0072: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0077: brtrue IL_0046 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 01 00 54 08 04 42 61 73 65 10 00 00 00 ) // ....T..Base.... - IL_007c: leave IL_0097 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_AlgorithmID () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_AlgorithmID (string 'value') + } + .property instance string Company () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 63 6F 6D 70 61 6E 79 01 00 54 02 08 52 // ...company..T..R + 65 71 75 69 72 65 64 00 ) // equired. - } // end .try 0 - finally { // 0 - IL_0081: ldloc.3 - IL_0082: isinst [mscorlib]System.IDisposable - IL_0087: dup - IL_0088: stloc.s 4 - IL_008a: brfalse IL_0096 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Company () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Company (string 'value') + } + .property instance string Configuration () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 63 6F 6E 66 69 67 75 72 61 74 69 6F 6E // ...configuration + 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. - IL_008f: ldloc.s 4 - IL_0091: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0096: endfinally - } // end handler 0 - IL_0097: ldloc.0 - IL_0098: ldstr "property[@name='OutputDirectory']" - IL_009d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_00a2: stloc.s 5 - IL_00a4: ldloc.s 5 - IL_00a6: brfalse IL_00e7 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Configuration () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Configuration (string 'value') + } + .property instance string Copyright () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 63 6F 70 79 72 69 67 68 74 01 00 54 02 // ...copyright..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - IL_00ab: nop - IL_00ac: ldloc.s 5 - IL_00ae: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_00b3: ldstr "value" - IL_00b8: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) - IL_00bd: castclass [System.Xml]System.Xml.XmlAttribute - IL_00c2: stloc.s 6 - IL_00c4: ldloc.s 6 - IL_00c6: brfalse IL_00e6 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Copyright () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Copyright (string 'value') + } + .property instance string Culture () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 63 75 6C 74 75 72 65 01 00 54 02 08 52 // ...culture..T..R + 65 71 75 69 72 65 64 00 ) // equired. - IL_00cb: nop - IL_00cc: ldloc.s 6 - IL_00ce: ldarg.0 - IL_00cf: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00d4: ldloc.s 6 - IL_00d6: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00db: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) - IL_00e0: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) - IL_00e5: nop - IL_00e6: nop - IL_00e7: nop - IL_00e8: nop - IL_00e9: ldloc.1 - IL_00ea: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00ef: brtrue IL_000e + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Culture (string 'value') + } + .property instance valuetype NAnt.DotNet.Types.DelaySign DelaySign () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 64 65 6C 61 79 73 69 67 6E 01 00 54 02 // ...delaysign..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - IL_00f4: leave IL_010f + .get instance default valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.AssemblyLinkerTask::get_DelaySign () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') + } + .property instance string Description () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 64 65 73 63 72 69 70 74 69 6F 6E 01 00 // ...description.. + 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. - } // end .try 1 - finally { // 1 - IL_00f9: ldloc.1 - IL_00fa: isinst [mscorlib]System.IDisposable - IL_00ff: dup - IL_0100: stloc.s 7 - IL_0102: brfalse IL_010e + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Description () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Description (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo EvidenceFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 65 76 69 64 65 6E 63 65 01 00 54 02 08 // ...evidence..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. - IL_0107: ldloc.s 7 - IL_0109: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010e: endfinally - } // end handler 1 - IL_010f: ret - } // end of method NDocTask::ExpandPropertiesInNodes + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_EvidenceFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string FileVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 66 69 6C 65 76 65 72 73 69 6F 6E 01 00 // ...fileversion.. + 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. - // method line 472 - .method private hidebysig - instance default void SetHtmlHelpCompiler (object sender, string hhcexe) cil managed - { - // Method begins at RVA 0x9ed8 - // Code size 164 (0xa4) - .maxstack 7 - .locals init ( - class [mscorlib]System.Reflection.FieldInfo V_0, - object V_1, - class [mscorlib]System.Reflection.FieldInfo V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 1000 - IL_0007: ldstr "Setting Html Help Compiler per reflection" - IL_000c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0011: ldarg.1 - IL_0012: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0017: ldstr "htmlHelp" - IL_001c: ldc.i4.s 0x24 - IL_001e: callvirt instance class [mscorlib]System.Reflection.FieldInfo class [mscorlib]System.Type::GetField(string, valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0023: stloc.0 - IL_0024: ldnull - IL_0025: ldloc.0 - IL_0026: call bool class [mscorlib]System.Reflection.FieldInfo::op_Equality(class [mscorlib]System.Reflection.FieldInfo, class [mscorlib]System.Reflection.FieldInfo) - IL_002b: brfalse IL_0035 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_FileVersion () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_FileVersion (string 'value') + } + .property instance string Flags () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 66 6C 61 67 73 01 00 54 02 08 52 65 71 // ...flags..T..Req + 75 69 72 65 64 00 ) // uired. - IL_0030: br IL_00a3 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 01 00 54 08 04 42 61 73 65 10 00 00 00 ) // ....T..Base.... - IL_0035: ldarg.0 - IL_0036: ldc.i4 1000 - IL_003b: ldstr "Found MSDNDocumenter.htmlHelp field" - IL_0040: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0045: ldloc.0 - IL_0046: ldarg.1 - IL_0047: callvirt instance object class [mscorlib]System.Reflection.FieldInfo::GetValue(object) - IL_004c: stloc.1 - IL_004d: ldloc.0 - IL_004e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() - IL_0053: ldstr "_htmlHelpCompiler" - IL_0058: ldc.i4.s 0x24 - IL_005a: callvirt instance class [mscorlib]System.Reflection.FieldInfo class [mscorlib]System.Type::GetField(string, valuetype [mscorlib]System.Reflection.BindingFlags) - IL_005f: stloc.2 - IL_0060: ldnull - IL_0061: ldloc.2 - IL_0062: call bool class [mscorlib]System.Reflection.FieldInfo::op_Equality(class [mscorlib]System.Reflection.FieldInfo, class [mscorlib]System.Reflection.FieldInfo) - IL_0067: brfalse IL_0071 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Flags () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Flags (string 'value') + } + .property instance string KeyContainer () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. + 00 ) // . - IL_006c: br IL_00a3 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyContainer () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyContainer (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo KeyFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 6B 65 79 66 69 6C 65 01 00 54 02 08 52 // ...keyfile..T..R + 65 71 75 69 72 65 64 00 ) // equired. - IL_0071: ldarg.0 - IL_0072: ldc.i4 1000 - IL_0077: ldstr "Found HtmlHelp._htmlHelpCompiler field" - IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0081: ldloc.2 - IL_0082: ldloc.1 - IL_0083: ldarg.2 - IL_0084: callvirt instance void class [mscorlib]System.Reflection.FieldInfo::SetValue(object, object) - IL_0089: ldarg.0 - IL_008a: ldc.i4 2000 - IL_008f: ldstr "Set Html Help Compiler to '{0}'" - IL_0094: ldc.i4.1 - IL_0095: newarr [mscorlib]System.Object - IL_009a: dup - IL_009b: ldc.i4.0 - IL_009c: ldarg.2 - IL_009d: stelem.ref - IL_009e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a3: ret - } // end of method NDocTask::SetHtmlHelpCompiler + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string MainMethod () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6D 61 69 6E 00 00 ) // ...main.. + + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_MainMethod () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_MainMethod (string 'value') + } + .property instance class NAnt.DotNet.Types.ModuleSet ModuleSet () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6D 6F 64 75 6C 65 73 00 00 ) // ...modules.. + + .get instance default class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') + } + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - // method line 473 - .method private hidebysig - instance default string ResolveHhcExe () cil managed - { - // Method begins at RVA 0x9f88 - // Code size 166 (0xa6) - .maxstack 4 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - string V_1, - string V_2, - string[] V_3, - int32 V_4, - string V_5) - IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldstr "ProgramFiles(x86)" - IL_000c: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_0011: stloc.1 - IL_0012: ldloc.1 - IL_0013: call bool string::IsNullOrEmpty(string) - IL_0018: brtrue IL_0031 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string OutputTarget () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re + 71 75 69 72 65 64 01 ) // quired. - IL_001d: nop - IL_001e: ldloc.0 - IL_001f: ldloc.1 - IL_0020: ldstr "HTML Help Workshop" - IL_0025: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_002a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_002f: pop - IL_0030: nop - IL_0031: ldstr "ProgramFiles" - IL_0036: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_003b: stloc.2 - IL_003c: ldloc.2 - IL_003d: call bool string::IsNullOrEmpty(string) - IL_0042: brtrue IL_005b + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_0047: nop - IL_0048: ldloc.0 - IL_0049: ldloc.2 - IL_004a: ldstr "HTML Help Workshop" - IL_004f: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0054: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0059: pop - IL_005a: nop - IL_005b: ldloc.0 - IL_005c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0061: newarr [mscorlib]System.String - IL_0066: stloc.3 - IL_0067: ldc.i4.0 - IL_0068: stloc.s 4 - IL_006a: br IL_0083 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputTarget () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputTarget (string 'value') + } + .property instance string Product () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 70 72 6F 64 75 63 74 01 00 54 02 08 52 // ...product..T..R + 65 71 75 69 72 65 64 00 ) // equired. - IL_006f: nop - IL_0070: ldloc.3 - IL_0071: ldloc.s 4 - IL_0073: ldloc.0 - IL_0074: ldloc.s 4 - IL_0076: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_007b: stelem.ref - IL_007c: nop - IL_007d: ldloc.s 4 - IL_007f: ldc.i4.1 - IL_0080: add - IL_0081: stloc.s 4 - IL_0083: ldloc.s 4 - IL_0085: ldloc.0 - IL_0086: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_008b: blt IL_006f + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Product () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Product (string 'value') + } + .property instance string ProductVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 70 72 6F 64 75 63 74 76 65 72 73 69 6F // ...productversio + 6E 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // n..T..Required. - IL_0090: ldloc.3 - IL_0091: ldstr "hhc.exe" - IL_0096: ldc.i4.0 - IL_0097: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) - IL_009c: stloc.s 5 - IL_009e: br IL_00a3 + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProductVersion () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_ProductVersion (string 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Resources () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 73 6F 75 72 63 65 73 00 00 ) // ...sources.. - IL_00a3: ldloc.s 5 - IL_00a5: ret - } // end of method NDocTask::ResolveHhcExe + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Resources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class NAnt.DotNet.Types.EmbeddedResourceCollection EmbeddedResources () + { + .get instance default class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_EmbeddedResources (class NAnt.DotNet.Types.EmbeddedResourceCollection 'value') + } + .property instance bool SupportsTemplate () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 10 73 75 70 70 6F 72 74 73 74 65 6D 70 6C // ...supportstempl + 61 74 65 00 00 ) // ate.. - .property instance class NAnt.DotNet.Types.AssemblyFileSet Assemblies () + .get instance default bool NAnt.DotNet.Tasks.AssemblyLinkerTask::get_SupportsTemplate () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_SupportsTemplate (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo TemplateFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0A 61 73 73 65 6D 62 6C 69 65 73 01 00 54 // ...assemblies..T - 02 08 52 65 71 75 69 72 65 64 01 ) // ..Required. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 74 65 6D 70 6C 61 74 65 01 00 54 02 08 // ...template..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::get_Assemblies () - .set instance default void NAnt.DotNet.Tasks.NDocTask::set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_TemplateFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Summaries () + .property instance string Title () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 09 73 75 6D 6D 61 72 69 65 73 00 00 ) // ...summaries.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 74 69 74 6C 65 01 00 54 02 08 52 65 71 // ...title..T..Req + 75 69 72 65 64 00 ) // uired. - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::get_Summaries () - .set instance default void NAnt.DotNet.Tasks.NDocTask::set_Summaries (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Title () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Title (string 'value') } - .property instance class [NAnt.Core]NAnt.Core.Types.RawXml Documenters () + .property instance string Trademark () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 64 6F 63 75 6D 65 6E 74 65 72 73 01 00 // ...documenters.. - 54 02 08 52 65 71 75 69 72 65 64 01 ) // T..Required. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 74 72 61 64 65 6D 61 72 6B 01 00 54 02 // ...trademark..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - .get instance default class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.NDocTask::get_Documenters () - .set instance default void NAnt.DotNet.Tasks.NDocTask::set_Documenters (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Trademark () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Trademark (string 'value') } - .property instance class [NAnt.Core]NAnt.Core.Types.DirSet ReferencePaths () + .property instance string Version () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0E 72 65 66 65 72 65 6E 63 65 70 61 74 68 // ...referencepath - 73 00 00 ) // s.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 76 65 72 73 69 6F 6E 01 00 54 02 08 52 // ...version..T..R + 65 71 75 69 72 65 64 00 ) // equired. - .get instance default class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::get_ReferencePaths () - .set instance default void NAnt.DotNet.Tasks.NDocTask::set_ReferencePaths (class [NAnt.Core]NAnt.Core.Types.DirSet 'value') + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Version () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Version (string 'value') } - } // end of class NAnt.DotNet.Tasks.NDocTask + .property instance class [mscorlib]System.IO.FileInfo Win32Icon () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 77 69 6E 33 32 69 63 6F 6E 01 00 54 02 // ...win32icon..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo Win32Res () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 77 69 6E 33 32 72 65 73 01 00 54 02 08 // ...win32res..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res () + .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProgramArguments () + } + } // end of class NAnt.DotNet.Tasks.AssemblyLinkerTask } .namespace NAnt.DotNet.Tasks { - .class public auto ansi beforefieldinit DelaySignTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + .class public auto ansi beforefieldinit NDocTask + extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 64 65 6C 61 79 2D 73 69 67 6E 00 00 ) // ...delay-sign.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6E 64 6F 63 00 00 ) // ...ndoc.. - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _targets - .field private class [mscorlib]System.IO.FileInfo _keyFile - .field private string _keyContainer - .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder + .field private class [System.Xml]System.Xml.XmlNodeList _docNodes + .field private class NAnt.DotNet.Types.AssemblyFileSet _assemblies + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _summaries + .field private class [NAnt.Core]NAnt.Core.Types.RawXml _documenters + .field private class [NAnt.Core]NAnt.Core.Types.DirSet _referencePaths + .field private string _hhcexe - // method line 474 + // method line 342 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa03a - // Code size 18 (0x12) + // Method begins at RVA 0x8794 + // Code size 40 (0x28) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::_targets + IL_0001: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0006: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::_assemblies IL_000b: ldarg.0 - IL_000c: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0011: ret - } // end of method DelaySignTask::.ctor - - // method line 475 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Targets () cil managed - { - // Method begins at RVA 0xa050 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::_targets - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DelaySignTask::get_Targets - - // method line 476 - .method public hidebysig specialname - instance default void set_Targets (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0xa06b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::_targets - IL_0008: ret - } // end of method DelaySignTask::set_Targets + IL_000c: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0011: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::_summaries + IL_0016: ldarg.0 + IL_0017: newobj instance void class [NAnt.Core]NAnt.Core.Types.DirSet::'.ctor'() + IL_001c: stfld class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::_referencePaths + IL_0021: ldarg.0 + IL_0022: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0027: ret + } // end of method NDocTask::.ctor - // method line 477 + // method line 343 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed + instance default class NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed { - // Method begins at RVA 0xa078 + // Method begins at RVA 0x87c0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.DelaySignTask::_keyFile + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::_assemblies IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DelaySignTask::get_KeyFile + } // end of method NDocTask::get_Assemblies - // method line 478 + // method line 344 .method public hidebysig specialname - instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0xa093 + // Method begins at RVA 0x87db // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.DelaySignTask::_keyFile + IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::_assemblies IL_0008: ret - } // end of method DelaySignTask::set_KeyFile + } // end of method NDocTask::set_Assemblies - // method line 479 + // method line 345 .method public hidebysig specialname - instance default string get_KeyContainer () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Summaries () cil managed { - // Method begins at RVA 0xa0a0 + // Method begins at RVA 0x87e8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.DelaySignTask::_keyContainer + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::_summaries IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DelaySignTask::get_KeyContainer + } // end of method NDocTask::get_Summaries - // method line 480 + // method line 346 .method public hidebysig specialname - instance default void set_KeyContainer (string 'value') cil managed + instance default void set_Summaries (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xa0bb - // Code size 14 (0xe) + // Method begins at RVA 0x8803 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.DelaySignTask::_keyContainer - IL_000d: ret - } // end of method DelaySignTask::set_KeyContainer - - // method line 481 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed - { - // Method begins at RVA 0xa0cc - // Code size 40 (0x28) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_0007: brfalse IL_001e - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_0013: callvirt instance string object::ToString() - IL_0018: stloc.0 - IL_0019: br IL_0026 - - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 - - IL_0026: ldloc.0 - IL_0027: ret - } // end of method DelaySignTask::get_ProgramArguments + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::_summaries + IL_0008: ret + } // end of method NDocTask::set_Summaries - // method line 482 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 347 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.RawXml get_Documenters () cil managed { - // Method begins at RVA 0xa100 - // Code size 429 (0x1ad) - .maxstack 7 - .locals init ( - bool V_0, - bool V_1, - string V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.DelaySignTask::get_KeyFile() - IL_0007: ldnull - IL_0008: ceq - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: stloc.0 - IL_000e: ldarg.0 - IL_000f: call instance string class NAnt.DotNet.Tasks.DelaySignTask::get_KeyContainer() - IL_0014: ldnull - IL_0015: ceq - IL_0017: ldc.i4.0 - IL_0018: ceq - IL_001a: stloc.1 - IL_001b: ldloc.1 - IL_001c: brfalse IL_002c - - IL_0021: ldarg.0 - IL_0022: call instance string class NAnt.DotNet.Tasks.DelaySignTask::get_KeyContainer() - IL_0027: br IL_0037 - - IL_002c: ldarg.0 - IL_002d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.DelaySignTask::get_KeyFile() - IL_0032: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0037: stloc.2 - IL_0038: ldarg.0 - IL_0039: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() - IL_003e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0043: brtrue IL_0065 - - IL_0048: nop - IL_0049: ldarg.0 - IL_004a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() - IL_004f: ldarg.0 - IL_0050: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0055: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_005a: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_005f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0064: nop - IL_0065: ldloc.0 - IL_0066: brfalse IL_0071 - - IL_006b: ldloc.1 - IL_006c: brtrue IL_007d - - IL_0071: ldloc.0 - IL_0072: brtrue IL_0094 - - IL_0077: ldloc.1 - IL_0078: brtrue IL_0094 - - IL_007d: nop - IL_007e: ldstr "NA2012" - IL_0083: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0088: ldarg.0 - IL_0089: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_008e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0093: throw - IL_0094: ldarg.0 - IL_0095: ldc.i4 3000 - IL_009a: ldstr "String_DelaySigningAssemblies" - IL_009f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00a4: ldc.i4.1 - IL_00a5: newarr [mscorlib]System.Object - IL_00aa: dup - IL_00ab: ldc.i4.0 - IL_00ac: ldarg.0 - IL_00ad: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() - IL_00b2: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00b7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00bc: box [mscorlib]System.Int32 - IL_00c1: stelem.ref - IL_00c2: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00c7: nop - IL_00c8: ldarg.0 - IL_00c9: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() - IL_00ce: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00d3: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00d8: stloc.s 4 - .try { // 0 - IL_00da: br IL_0184 - - IL_00df: ldloc.s 4 - IL_00e1: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00e6: stloc.3 - IL_00e7: nop - IL_00e8: ldarg.0 - IL_00e9: ldc.i4.s 0x09 - IL_00eb: ldloc.3 - IL_00ec: callvirt instance int32 string::get_Length() - IL_00f1: add - IL_00f2: ldloc.2 - IL_00f3: callvirt instance int32 string::get_Length() - IL_00f8: add - IL_00f9: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) - IL_00fe: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_0103: ldarg.0 - IL_0104: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0109: brtrue IL_0121 - - IL_010e: nop - IL_010f: ldarg.0 - IL_0110: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_0115: ldstr "-q " - IL_011a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_011f: pop - IL_0120: nop - IL_0121: ldarg.0 - IL_0122: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_0127: ldstr "-R" - IL_012c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0131: pop - IL_0132: ldloc.1 - IL_0133: brfalse IL_0148 - - IL_0138: nop - IL_0139: ldarg.0 - IL_013a: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_013f: ldc.i4.s 0x63 - IL_0141: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0146: pop - IL_0147: nop - IL_0148: ldarg.0 - IL_0149: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_014e: ldstr " \"" - IL_0153: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0158: ldloc.3 - IL_0159: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_015e: ldstr "\" \"" - IL_0163: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0168: pop - IL_0169: ldarg.0 - IL_016a: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder - IL_016f: ldloc.2 - IL_0170: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0175: ldc.i4.s 0x22 - IL_0177: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_017c: pop - IL_017d: ldarg.0 - IL_017e: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_0183: nop - IL_0184: ldloc.s 4 - IL_0186: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_018b: brtrue IL_00df - - IL_0190: leave IL_01ac - - } // end .try 0 - finally { // 0 - IL_0195: ldloc.s 4 - IL_0197: isinst [mscorlib]System.IDisposable - IL_019c: dup - IL_019d: stloc.s 5 - IL_019f: brfalse IL_01ab - - IL_01a4: ldloc.s 5 - IL_01a6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01ab: endfinally - } // end handler 0 - IL_01ac: ret - } // end of method DelaySignTask::ExecuteTask + // Method begins at RVA 0x8810 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.RawXml V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.NDocTask::_documenters + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Targets () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 74 61 72 67 65 74 73 00 00 ) // ...targets.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NDocTask::get_Documenters - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::get_Targets () - .set instance default void NAnt.DotNet.Tasks.DelaySignTask::set_Targets (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [mscorlib]System.IO.FileInfo KeyFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. + // method line 348 + .method public hidebysig specialname + instance default void set_Documenters (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') cil managed + { + // Method begins at RVA 0x882b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.NDocTask::_documenters + IL_0008: ret + } // end of method NDocTask::set_Documenters - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.DelaySignTask::get_KeyFile () - .set instance default void NAnt.DotNet.Tasks.DelaySignTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string KeyContainer () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. - 00 ) // . + // method line 349 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.DirSet get_ReferencePaths () cil managed + { + // Method begins at RVA 0x8838 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.DirSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::_referencePaths + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default string NAnt.DotNet.Tasks.DelaySignTask::get_KeyContainer () - .set instance default void NAnt.DotNet.Tasks.DelaySignTask::set_KeyContainer (string 'value') - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.DotNet.Tasks.DelaySignTask::get_ProgramArguments () - } - } // end of class NAnt.DotNet.Tasks.DelaySignTask -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NDocTask::get_ReferencePaths -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi abstract CompilerBase - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .field private string _responseFileName - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private string _target - .field private bool _debug - .field private string _define - .field private class [mscorlib]System.IO.FileInfo _win32icon - .field private class [mscorlib]System.IO.FileInfo _win32res - .field private bool _warnAsError - .field private class NAnt.DotNet.Types.WarningAsError _warningAsError - .field private string _noWarn - .field private class NAnt.DotNet.Types.CompilerWarningCollection _suppressWarnings - .field private bool _forceRebuild - .field private string _mainType - .field private string _keyContainer - .field private class [mscorlib]System.IO.FileInfo _keyFile - .field private valuetype NAnt.DotNet.Types.DelaySign _delaySign - .field private class NAnt.DotNet.Types.AssemblyFileSet _references - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _lib - .field private class NAnt.DotNet.Types.AssemblyFileSet _modules - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources - .field private class NAnt.DotNet.Types.ResourceFileSetCollection _resourcesList - .field private class NAnt.DotNet.Types.PackageCollection _packages - .field private bool _supportsPackageReferences - .field private bool _supportsWarnAsErrorList - .field private bool _supportsNoWarnList - .field private bool _supportsKeyContainer - .field private bool _supportsKeyFile - .field private bool _supportsDelaySign - .field family static string[] CodebehindExtensions - .field family static initonly class [mscorlib]System.Collections.Hashtable CultureNames + // method line 350 + .method public hidebysig specialname + instance default void set_ReferencePaths (class [NAnt.Core]NAnt.Core.Types.DirSet 'value') cil managed + { + // Method begins at RVA 0x8853 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::_referencePaths + IL_0008: ret + } // end of method NDocTask::set_ReferencePaths - // method line 483 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 351 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x4590 - // Code size 111 (0x6f) + // Method begins at RVA 0x8860 + // Code size 64 (0x40) .maxstack 4 - .locals init ( - class [mscorlib]System.Globalization.CultureInfo[] V_0, - class [mscorlib]System.Globalization.CultureInfo V_1, - class [mscorlib]System.Globalization.CultureInfo[] V_2, - int32 V_3) - IL_0000: ldc.i4.4 - IL_0001: newarr [mscorlib]System.String - IL_0006: dup - IL_0007: ldc.i4.0 - IL_0008: ldstr ".aspx" - IL_000d: stelem.ref - IL_000e: dup - IL_000f: ldc.i4.1 - IL_0010: ldstr ".asax" - IL_0015: stelem.ref - IL_0016: dup - IL_0017: ldc.i4.2 - IL_0018: ldstr ".ascx" - IL_001d: stelem.ref - IL_001e: dup - IL_001f: ldc.i4.3 - IL_0020: ldstr ".asmx" - IL_0025: stelem.ref - IL_0026: stsfld string[] NAnt.DotNet.Tasks.CompilerBase::CodebehindExtensions - IL_002b: nop - IL_002c: ldc.i4.7 - IL_002d: call class [mscorlib]System.Globalization.CultureInfo[] class [mscorlib]System.Globalization.CultureInfo::GetCultures(valuetype [mscorlib]System.Globalization.CultureTypes) - IL_0032: stloc.0 - IL_0033: ldloc.0 - IL_0034: ldlen - IL_0035: conv.i4 - IL_0036: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) - IL_003b: stsfld class [mscorlib]System.Collections.Hashtable NAnt.DotNet.Tasks.CompilerBase::CultureNames - IL_0040: nop - IL_0041: ldloc.0 - IL_0042: stloc.2 - IL_0043: ldc.i4.0 - IL_0044: stloc.3 - IL_0045: br IL_0065 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: call instance class [NAnt.Core]NAnt.Core.Types.RawXml class NAnt.DotNet.Tasks.NDocTask::get_Documenters() + IL_0008: callvirt instance class [System.Xml]System.Xml.XmlNode class [NAnt.Core]NAnt.Core.Types.RawXml::get_Xml() + IL_000d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::Clone() + IL_0012: ldstr "nant:documenter" + IL_0017: ldarg.0 + IL_0018: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_001d: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string, class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0022: stfld class [System.Xml]System.Xml.XmlNodeList NAnt.DotNet.Tasks.NDocTask::_docNodes + IL_0027: ldarg.0 + IL_0028: ldarg.0 + IL_0029: ldfld class [System.Xml]System.Xml.XmlNodeList NAnt.DotNet.Tasks.NDocTask::_docNodes + IL_002e: call instance void class NAnt.DotNet.Tasks.NDocTask::ExpandPropertiesInNodes(class [System.Xml]System.Xml.XmlNodeList) + IL_0033: ldarg.0 + IL_0034: ldarg.0 + IL_0035: call instance string class NAnt.DotNet.Tasks.NDocTask::ResolveHhcExe() + IL_003a: stfld string NAnt.DotNet.Tasks.NDocTask::_hhcexe + IL_003f: ret + } // end of method NDocTask::Initialize - IL_004a: ldloc.2 - IL_004b: ldloc.3 - IL_004c: ldelem.ref - IL_004d: stloc.1 - IL_004e: nop - IL_004f: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.DotNet.Tasks.CompilerBase::CultureNames - IL_0054: ldloc.1 - IL_0055: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_005a: ldnull - IL_005b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0060: nop - IL_0061: ldloc.3 - IL_0062: ldc.i4.1 - IL_0063: add - IL_0064: stloc.3 - IL_0065: ldloc.3 - IL_0066: ldloc.2 - IL_0067: ldlen - IL_0068: conv.i4 - IL_0069: blt IL_004a + // method line 352 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x88ac + } // end of method NDocTask::ExecuteTask - IL_006e: ret - } // end of method CompilerBase::.cctor + // method line 353 + .method private hidebysig + (null) cil managed + { + // Method begins at RVA 0x8f60 + // Code size 58 (0x3a) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4 3000 + IL_0007: ldarg.2 + IL_0008: callvirt instance string [NDoc.Core]NDoc.Core.ProgressArgs::get_Status() + IL_000d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0012: ldarg.2 + IL_0013: callvirt instance int32 [NDoc.Core]NDoc.Core.ProgressArgs::get_Progress() + IL_0018: ldc.i4.s 0x19 + IL_001a: bne.un IL_0039 + + IL_001f: ldarg.0 + IL_0020: ldfld string NAnt.DotNet.Tasks.NDocTask::_hhcexe + IL_0025: brfalse IL_0039 + + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: ldarg.0 + IL_002e: ldfld string NAnt.DotNet.Tasks.NDocTask::_hhcexe + IL_0033: call instance void class NAnt.DotNet.Tasks.NDocTask::SetHtmlHelpCompiler(object, string) + IL_0038: nop + IL_0039: ret + } // end of method NDocTask:: + + // method line 354 + .method private hidebysig + (null) cil managed + { + // Method begins at RVA 0x8f9b + // Code size 39 (0x27) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4 2000 + IL_0007: ldarg.2 + IL_0008: callvirt instance int32 [NDoc.Core]NDoc.Core.ProgressArgs::get_Progress() + IL_000d: box [mscorlib]System.Int32 + IL_0012: ldstr "String_PercentageComplete" + IL_0017: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001c: call string string::Concat(object, object) + IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0026: ret + } // end of method NDocTask:: - // method line 484 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 355 + .method private hidebysig + (null) cil managed { - // Method begins at RVA 0x460c - // Code size 102 (0x66) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.DotNet.Types.WarningAsError::'.ctor'() - IL_0006: stfld class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.CompilerBase::_warningAsError - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.DotNet.Types.CompilerWarningCollection::'.ctor'() - IL_0011: stfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.CompilerBase::_suppressWarnings - IL_0016: ldarg.0 - IL_0017: ldc.i4.0 - IL_0018: stfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::_delaySign - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0023: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_references - IL_0028: ldarg.0 - IL_0029: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_002e: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_lib - IL_0033: ldarg.0 - IL_0034: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0039: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_modules - IL_003e: ldarg.0 - IL_003f: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0044: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_sources - IL_0049: ldarg.0 - IL_004a: newobj instance void class NAnt.DotNet.Types.ResourceFileSetCollection::'.ctor'() - IL_004f: stfld class NAnt.DotNet.Types.ResourceFileSetCollection NAnt.DotNet.Tasks.CompilerBase::_resourcesList - IL_0054: ldarg.0 - IL_0055: newobj instance void class NAnt.DotNet.Types.PackageCollection::'.ctor'() - IL_005a: stfld class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::_packages - IL_005f: ldarg.0 - IL_0060: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0065: ret - } // end of method CompilerBase::.ctor + // Method begins at RVA 0x8fc4 + } // end of method NDocTask:: - // method line 485 - .method public virtual hidebysig newslot specialname - instance default bool get_Debug () cil managed + // method line 356 + .method private hidebysig + instance default void ExpandPropertiesInNodes (class [System.Xml]System.Xml.XmlNodeList nodes) cil managed { - // Method begins at RVA 0x4680 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x90dc + // Code size 272 (0x110) + .maxstack 4 .locals init ( - bool V_0) + class [System.Xml]System.Xml.XmlNode V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class [System.Xml]System.Xml.XmlAttribute V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + class [System.Xml]System.Xml.XmlNode V_5, + class [System.Xml]System.Xml.XmlAttribute V_6, + class [mscorlib]System.IDisposable V_7) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_debug - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0008: stloc.1 + .try { // 1 + IL_0009: br IL_00e9 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_Debug + IL_000e: ldloc.1 + IL_000f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0014: castclass [System.Xml]System.Xml.XmlNode + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlNode::get_NodeType() + IL_0021: ldc.i4.1 + IL_0022: bne.un IL_00e8 - // method line 486 - .method public virtual hidebysig newslot specialname - instance default void set_Debug (bool 'value') cil managed + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldloc.0 + IL_002a: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::get_ChildNodes() + IL_002f: call instance void class NAnt.DotNet.Tasks.NDocTask::ExpandPropertiesInNodes(class [System.Xml]System.Xml.XmlNodeList) + IL_0034: nop + IL_0035: ldloc.0 + IL_0036: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_003b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNamedNodeMap::GetEnumerator() + IL_0040: stloc.3 + .try { // 0 + IL_0041: br IL_0071 + + IL_0046: ldloc.3 + IL_0047: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_004c: castclass [System.Xml]System.Xml.XmlAttribute + IL_0051: stloc.2 + IL_0052: nop + IL_0053: ldloc.2 + IL_0054: ldarg.0 + IL_0055: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_005a: ldloc.2 + IL_005b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0060: ldarg.0 + IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0066: callvirt instance string class [NAnt.Core]NAnt.Core.Project::ExpandProperties(string, class [NAnt.Core]NAnt.Core.Location) + IL_006b: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) + IL_0070: nop + IL_0071: ldloc.3 + IL_0072: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0077: brtrue IL_0046 + + IL_007c: leave IL_0097 + + } // end .try 0 + finally { // 0 + IL_0081: ldloc.3 + IL_0082: isinst [mscorlib]System.IDisposable + IL_0087: dup + IL_0088: stloc.s 4 + IL_008a: brfalse IL_0096 + + IL_008f: ldloc.s 4 + IL_0091: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0096: endfinally + } // end handler 0 + IL_0097: ldloc.0 + IL_0098: ldstr "property[@name='OutputDirectory']" + IL_009d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_00a2: stloc.s 5 + IL_00a4: ldloc.s 5 + IL_00a6: brfalse IL_00e7 + + IL_00ab: nop + IL_00ac: ldloc.s 5 + IL_00ae: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_00b3: ldstr "value" + IL_00b8: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) + IL_00bd: castclass [System.Xml]System.Xml.XmlAttribute + IL_00c2: stloc.s 6 + IL_00c4: ldloc.s 6 + IL_00c6: brfalse IL_00e6 + + IL_00cb: nop + IL_00cc: ldloc.s 6 + IL_00ce: ldarg.0 + IL_00cf: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00d4: ldloc.s 6 + IL_00d6: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00db: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) + IL_00e0: callvirt instance void class [System.Xml]System.Xml.XmlNode::set_Value(string) + IL_00e5: nop + IL_00e6: nop + IL_00e7: nop + IL_00e8: nop + IL_00e9: ldloc.1 + IL_00ea: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00ef: brtrue IL_000e + + IL_00f4: leave IL_010f + + } // end .try 1 + finally { // 1 + IL_00f9: ldloc.1 + IL_00fa: isinst [mscorlib]System.IDisposable + IL_00ff: dup + IL_0100: stloc.s 7 + IL_0102: brfalse IL_010e + + IL_0107: ldloc.s 7 + IL_0109: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_010e: endfinally + } // end handler 1 + IL_010f: ret + } // end of method NDocTask::ExpandPropertiesInNodes + + // method line 357 + .method private hidebysig + instance default void SetHtmlHelpCompiler (object sender, string hhcexe) cil managed { - // Method begins at RVA 0x469b - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x9214 + // Code size 164 (0xa4) + .maxstack 7 + .locals init ( + class [mscorlib]System.Reflection.FieldInfo V_0, + object V_1, + class [mscorlib]System.Reflection.FieldInfo V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_debug - IL_0008: ret - } // end of method CompilerBase::set_Debug + IL_0002: ldc.i4 1000 + IL_0007: ldstr "Setting Html Help Compiler per reflection" + IL_000c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0011: ldarg.1 + IL_0012: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0017: ldstr "htmlHelp" + IL_001c: ldc.i4.s 0x24 + IL_001e: callvirt instance class [mscorlib]System.Reflection.FieldInfo class [mscorlib]System.Type::GetField(string, valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0023: stloc.0 + IL_0024: ldnull + IL_0025: ldloc.0 + IL_0026: call bool class [mscorlib]System.Reflection.FieldInfo::op_Equality(class [mscorlib]System.Reflection.FieldInfo, class [mscorlib]System.Reflection.FieldInfo) + IL_002b: brfalse IL_0035 - // method line 487 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + IL_0030: br IL_00a3 + + IL_0035: ldarg.0 + IL_0036: ldc.i4 1000 + IL_003b: ldstr "Found MSDNDocumenter.htmlHelp field" + IL_0040: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0045: ldloc.0 + IL_0046: ldarg.1 + IL_0047: callvirt instance object class [mscorlib]System.Reflection.FieldInfo::GetValue(object) + IL_004c: stloc.1 + IL_004d: ldloc.0 + IL_004e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.FieldInfo::get_FieldType() + IL_0053: ldstr "_htmlHelpCompiler" + IL_0058: ldc.i4.s 0x24 + IL_005a: callvirt instance class [mscorlib]System.Reflection.FieldInfo class [mscorlib]System.Type::GetField(string, valuetype [mscorlib]System.Reflection.BindingFlags) + IL_005f: stloc.2 + IL_0060: ldnull + IL_0061: ldloc.2 + IL_0062: call bool class [mscorlib]System.Reflection.FieldInfo::op_Equality(class [mscorlib]System.Reflection.FieldInfo, class [mscorlib]System.Reflection.FieldInfo) + IL_0067: brfalse IL_0071 + + IL_006c: br IL_00a3 + + IL_0071: ldarg.0 + IL_0072: ldc.i4 1000 + IL_0077: ldstr "Found HtmlHelp._htmlHelpCompiler field" + IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0081: ldloc.2 + IL_0082: ldloc.1 + IL_0083: ldarg.2 + IL_0084: callvirt instance void class [mscorlib]System.Reflection.FieldInfo::SetValue(object, object) + IL_0089: ldarg.0 + IL_008a: ldc.i4 2000 + IL_008f: ldstr "Set Html Help Compiler to '{0}'" + IL_0094: ldc.i4.1 + IL_0095: newarr [mscorlib]System.Object + IL_009a: dup + IL_009b: ldc.i4.0 + IL_009c: ldarg.2 + IL_009d: stelem.ref + IL_009e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a3: ret + } // end of method NDocTask::SetHtmlHelpCompiler + + // method line 358 + .method private hidebysig + instance default string ResolveHhcExe () cil managed { - // Method begins at RVA 0x46a8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x92c4 + // Code size 166 (0xa6) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + string V_1, + string V_2, + string[] V_3, + int32 V_4, + string V_5) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldstr "ProgramFiles(x86)" + IL_000c: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_0011: stloc.1 + IL_0012: ldloc.1 + IL_0013: call bool string::IsNullOrEmpty(string) + IL_0018: brtrue IL_0031 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_OutputFile + IL_001d: nop + IL_001e: ldloc.0 + IL_001f: ldloc.1 + IL_0020: ldstr "HTML Help Workshop" + IL_0025: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_002a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_002f: pop + IL_0030: nop + IL_0031: ldstr "ProgramFiles" + IL_0036: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_003b: stloc.2 + IL_003c: ldloc.2 + IL_003d: call bool string::IsNullOrEmpty(string) + IL_0042: brtrue IL_005b - // method line 488 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x46c3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_outputFile - IL_0008: ret - } // end of method CompilerBase::set_OutputFile + IL_0047: nop + IL_0048: ldloc.0 + IL_0049: ldloc.2 + IL_004a: ldstr "HTML Help Workshop" + IL_004f: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0054: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0059: pop + IL_005a: nop + IL_005b: ldloc.0 + IL_005c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0061: newarr [mscorlib]System.String + IL_0066: stloc.3 + IL_0067: ldc.i4.0 + IL_0068: stloc.s 4 + IL_006a: br IL_0083 - // method line 489 - .method public hidebysig specialname - instance default string get_OutputTarget () cil managed - { - // Method begins at RVA 0x46d0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_target - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_006f: nop + IL_0070: ldloc.3 + IL_0071: ldloc.s 4 + IL_0073: ldloc.0 + IL_0074: ldloc.s 4 + IL_0076: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_007b: stelem.ref + IL_007c: nop + IL_007d: ldloc.s 4 + IL_007f: ldc.i4.1 + IL_0080: add + IL_0081: stloc.s 4 + IL_0083: ldloc.s 4 + IL_0085: ldloc.0 + IL_0086: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_008b: blt IL_006f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_OutputTarget + IL_0090: ldloc.3 + IL_0091: ldstr "hhc.exe" + IL_0096: ldc.i4.0 + IL_0097: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) + IL_009c: stloc.s 5 + IL_009e: br IL_00a3 - // method line 490 - .method public hidebysig specialname - instance default void set_OutputTarget (string 'value') cil managed - { - // Method begins at RVA 0x46eb - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_target - IL_000d: ret - } // end of method CompilerBase::set_OutputTarget + IL_00a3: ldloc.s 5 + IL_00a5: ret + } // end of method NDocTask::ResolveHhcExe - // method line 491 - .method public hidebysig specialname - instance default string get_Define () cil managed - { - // Method begins at RVA 0x46fc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_define - IL_0007: stloc.0 - IL_0008: br IL_000d + .property instance class NAnt.DotNet.Types.AssemblyFileSet Assemblies () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0A 61 73 73 65 6D 62 6C 69 65 73 01 00 54 // ...assemblies..T + 02 08 52 65 71 75 69 72 65 64 01 ) // ..Required. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_Define + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.NDocTask::get_Assemblies () + .set instance default void NAnt.DotNet.Tasks.NDocTask::set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Summaries () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 09 73 75 6D 6D 61 72 69 65 73 00 00 ) // ...summaries.. - // method line 492 - .method public hidebysig specialname - instance default void set_Define (string 'value') cil managed - { - // Method begins at RVA 0x4717 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_define - IL_000d: ret - } // end of method CompilerBase::set_Define + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.NDocTask::get_Summaries () + .set instance default void NAnt.DotNet.Tasks.NDocTask::set_Summaries (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.RawXml Documenters () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 64 6F 63 75 6D 65 6E 74 65 72 73 01 00 // ...documenters.. + 54 02 08 52 65 71 75 69 72 65 64 01 ) // T..Required. - // method line 493 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Win32Icon () cil managed - { - // Method begins at RVA 0x4728 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32icon - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.NDocTask::get_Documenters () + .set instance default void NAnt.DotNet.Tasks.NDocTask::set_Documenters (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.DirSet ReferencePaths () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0E 72 65 66 65 72 65 6E 63 65 70 61 74 68 // ...referencepath + 73 00 00 ) // s.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_Win32Icon + .get instance default class [NAnt.Core]NAnt.Core.Types.DirSet NAnt.DotNet.Tasks.NDocTask::get_ReferencePaths () + .set instance default void NAnt.DotNet.Tasks.NDocTask::set_ReferencePaths (class [NAnt.Core]NAnt.Core.Types.DirSet 'value') + } + } // end of class NAnt.DotNet.Tasks.NDocTask +} - // method line 494 - .method public hidebysig specialname - instance default void set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') cil managed +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi beforefieldinit ScriptTask + extends [NAnt.Core]NAnt.Core.Task + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 73 63 72 69 70 74 00 00 ) // ...script.. + + .field private string _language + .field private class NAnt.DotNet.Types.AssemblyFileSet _references + .field private string _mainClass + .field private string _rootClassName + .field private string _prefix + .field private class NAnt.DotNet.Types.NamespaceImportCollection _imports + .field private class [NAnt.Core]NAnt.Core.Types.RawXml _code + .field private static initonly string[] _defaultNamespaces + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map0' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + + // method line 359 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4743 - // Code size 9 (0x9) + // Method begins at RVA 0x9376 + // Code size 58 (0x3a) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32icon - IL_0008: ret - } // end of method CompilerBase::set_Win32Icon + IL_0000: ldarg.0 + IL_0001: ldnull + IL_0002: stfld string NAnt.DotNet.Tasks.ScriptTask::_language + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_000d: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::_references + IL_0012: ldarg.0 + IL_0013: ldstr "" + IL_0018: stfld string NAnt.DotNet.Tasks.ScriptTask::_mainClass + IL_001d: ldarg.0 + IL_001e: ldstr "script" + IL_0023: stfld string NAnt.DotNet.Tasks.ScriptTask::_prefix + IL_0028: ldarg.0 + IL_0029: newobj instance void class NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() + IL_002e: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::_imports + IL_0033: ldarg.0 + IL_0034: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0039: ret + } // end of method ScriptTask::.ctor - // method line 495 + // method line 360 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Win32Res () cil managed + instance default string get_Language () cil managed { - // Method begins at RVA 0x4750 + // Method begins at RVA 0x93b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32res + IL_0002: ldfld string NAnt.DotNet.Tasks.ScriptTask::_language IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerBase::get_Win32Res + } // end of method ScriptTask::get_Language - // method line 496 + // method line 361 .method public hidebysig specialname - instance default void set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Language (string 'value') cil managed { - // Method begins at RVA 0x476b - // Code size 9 (0x9) + // Method begins at RVA 0x93cf + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_win32res - IL_0008: ret - } // end of method CompilerBase::set_Win32Res + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.ScriptTask::_language + IL_000d: ret + } // end of method ScriptTask::set_Language - // method line 497 + // method line 362 .method public hidebysig specialname - instance default bool get_WarnAsError () cil managed + instance default class NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed { - // Method begins at RVA 0x4778 + // Method begins at RVA 0x93e0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_warnAsError + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::_references IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerBase::get_WarnAsError + } // end of method ScriptTask::get_References - // method line 498 + // method line 363 .method public hidebysig specialname - instance default void set_WarnAsError (bool 'value') cil managed + instance default void set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x4793 + // Method begins at RVA 0x93fb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_warnAsError + IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::_references IL_0008: ret - } // end of method CompilerBase::set_WarnAsError + } // end of method ScriptTask::set_References - // method line 499 - .method public virtual hidebysig newslot specialname - instance default class NAnt.DotNet.Types.WarningAsError get_WarningAsError () cil managed + // method line 364 + .method public hidebysig specialname + instance default string get_MainClass () cil managed { - // Method begins at RVA 0x47a0 + // Method begins at RVA 0x9408 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.WarningAsError V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.CompilerBase::_warningAsError + IL_0002: ldfld string NAnt.DotNet.Tasks.ScriptTask::_mainClass IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerBase::get_WarningAsError + } // end of method ScriptTask::get_MainClass - // method line 500 - .method public virtual hidebysig newslot specialname - instance default string get_NoWarn () cil managed + // method line 365 + .method public hidebysig specialname + instance default void set_MainClass (string 'value') cil managed { - // Method begins at RVA 0x47bc + // Method begins at RVA 0x9423 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.ScriptTask::_mainClass + IL_000d: ret + } // end of method ScriptTask::set_MainClass + + // method line 366 + .method public hidebysig specialname + instance default string get_Prefix () cil managed + { + // Method begins at RVA 0x9434 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_noWarn + IL_0002: ldfld string NAnt.DotNet.Tasks.ScriptTask::_prefix IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerBase::get_NoWarn + } // end of method ScriptTask::get_Prefix - // method line 501 - .method public virtual hidebysig newslot specialname - instance default void set_NoWarn (string 'value') cil managed + // method line 367 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0x47d7 + // Method begins at RVA 0x944f // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_noWarn + IL_0008: stfld string NAnt.DotNet.Tasks.ScriptTask::_prefix IL_000d: ret - } // end of method CompilerBase::set_NoWarn + } // end of method ScriptTask::set_Prefix - // method line 502 - .method public virtual hidebysig newslot specialname - instance default class NAnt.DotNet.Types.CompilerWarningCollection get_SuppressWarnings () cil managed + // method line 368 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.NamespaceImportCollection get_Imports () cil managed { - // Method begins at RVA 0x47e8 + // Method begins at RVA 0x9460 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.CompilerWarningCollection V_0) + class NAnt.DotNet.Types.NamespaceImportCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.CompilerBase::_suppressWarnings + IL_0002: ldfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::_imports IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerBase::get_SuppressWarnings + } // end of method ScriptTask::get_Imports - // method line 503 + // method line 369 .method public hidebysig specialname - instance default bool get_ForceRebuild () cil managed + instance default void set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') cil managed + { + // Method begins at RVA 0x947b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::_imports + IL_0008: ret + } // end of method ScriptTask::set_Imports + + // method line 370 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.RawXml get_Code () cil managed { - // Method begins at RVA 0x4804 + // Method begins at RVA 0x9488 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [NAnt.Core]NAnt.Core.Types.RawXml V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_forceRebuild + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.ScriptTask::_code IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CompilerBase::get_ForceRebuild + } // end of method ScriptTask::get_Code - // method line 504 + // method line 371 .method public hidebysig specialname - instance default void set_ForceRebuild (bool 'value') cil managed + instance default void set_Code (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') cil managed { - // Method begins at RVA 0x481f + // Method begins at RVA 0x94a3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_forceRebuild + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.ScriptTask::_code IL_0008: ret - } // end of method CompilerBase::set_ForceRebuild + } // end of method ScriptTask::set_Code - // method line 505 - .method public hidebysig specialname - instance default string get_MainType () cil managed + // method line 372 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x482c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x94b0 + // Code size 41 (0x29) + .maxstack 5 .locals init ( - string V_0) + valuetype [mscorlib]System.Guid V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_mainType - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldstr "nant" + IL_0007: call valuetype [mscorlib]System.Guid valuetype [mscorlib]System.Guid::NewGuid() + IL_000c: stloc.0 + IL_000d: ldloca.s 0 + IL_000f: ldstr "N" + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: call instance string valuetype [mscorlib]System.Guid::ToString(string, class [mscorlib]System.IFormatProvider) + IL_001e: call string string::Concat(string, string) + IL_0023: stfld string NAnt.DotNet.Tasks.ScriptTask::_rootClassName + IL_0028: ret + } // end of method ScriptTask::Initialize + + // method line 373 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x94e8 + // Code size 1226 (0x4ca) + .maxstack 7 + .locals init ( + class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo V_0, + class [System]System.CodeDom.Compiler.ICodeCompiler V_1, + class [System]System.CodeDom.Compiler.CompilerParameters V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.Reflection.Assembly V_5, + class [mscorlib]System.Exception V_6, + class [mscorlib]System.IDisposable V_7, + class [System]System.Collections.Specialized.StringCollection V_8, + class NAnt.DotNet.Types.NamespaceImport V_9, + class NAnt.DotNet.Types.NamespaceImportEnumerator V_10, + class [mscorlib]System.IDisposable V_11, + class [System]System.CodeDom.CodeCompileUnit V_12, + class [mscorlib]System.IO.StringWriter V_13, + string V_14, + class [System]System.CodeDom.Compiler.CompilerResults V_15, + class [mscorlib]System.Reflection.Assembly V_16, + string V_17, + class [System]System.CodeDom.Compiler.CompilerError V_18, + class [mscorlib]System.Collections.IEnumerator V_19, + class [mscorlib]System.IDisposable V_20, + bool V_21, + string V_22, + class [mscorlib]System.Type V_23, + class [mscorlib]System.Reflection.MethodInfo V_24, + class [mscorlib]System.Reflection.ParameterInfo[] V_25, + class [mscorlib]System.Exception V_26) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_Language() + IL_0008: call instance class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo class NAnt.DotNet.Tasks.ScriptTask::CreateCompilerInfo(string) + IL_000d: stloc.0 + IL_000e: ldarg.0 + IL_000f: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ScriptTask::get_References() + IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0019: brtrue IL_003b + + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ScriptTask::get_References() + IL_0025: ldarg.0 + IL_0026: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_002b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0030: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0035: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_003a: nop + IL_003b: ldloc.0 + IL_003c: ldfld class [System]System.CodeDom.Compiler.ICodeCompiler NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::Compiler + IL_0041: stloc.1 + IL_0042: newobj instance void class [System]System.CodeDom.Compiler.CompilerParameters::'.ctor'() + IL_0047: stloc.2 + IL_0048: ldloc.2 + IL_0049: ldc.i4.0 + IL_004a: callvirt instance void class [System]System.CodeDom.Compiler.CompilerParameters::set_GenerateExecutable(bool) + IL_004f: ldloc.2 + IL_0050: ldc.i4.1 + IL_0051: callvirt instance void class [System]System.CodeDom.Compiler.CompilerParameters::set_GenerateInMemory(bool) + IL_0056: ldloc.2 + IL_0057: ldarg.0 + IL_0058: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_MainClass() + IL_005d: callvirt instance void class [System]System.CodeDom.Compiler.CompilerParameters::set_MainClass(string) + IL_0062: ldloc.2 + IL_0063: callvirt instance class [System]System.Collections.Specialized.StringCollection class [System]System.CodeDom.Compiler.CompilerParameters::get_ReferencedAssemblies() + IL_0068: ldtoken [NAnt.Core]NAnt.Core.Project + IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0072: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() + IL_0077: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_007c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0081: pop + IL_0082: ldarg.0 + IL_0083: ldc.i4 2000 + IL_0088: ldstr "Adding assembly {0}" + IL_008d: ldc.i4.1 + IL_008e: newarr [mscorlib]System.Object + IL_0093: dup + IL_0094: ldc.i4.0 + IL_0095: ldtoken [NAnt.Core]NAnt.Core.Project + IL_009a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_009f: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() + IL_00a4: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_00a9: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_00ae: stelem.ref + IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00b4: nop + IL_00b5: ldarg.0 + IL_00b6: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ScriptTask::get_References() + IL_00bb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00c0: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00c5: stloc.s 4 + .try { // 1 + IL_00c7: br IL_0156 + + IL_00cc: ldloc.s 4 + IL_00ce: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00d3: stloc.3 + IL_00d4: nop + .try { // 0 + IL_00d5: nop + IL_00d6: ldloc.3 + IL_00d7: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_00dc: stloc.s 5 + IL_00de: ldarg.0 + IL_00df: ldc.i4 2000 + IL_00e4: ldstr "Adding assembly {0}" + IL_00e9: ldc.i4.1 + IL_00ea: newarr [mscorlib]System.Object + IL_00ef: dup + IL_00f0: ldc.i4.0 + IL_00f1: ldloc.s 5 + IL_00f3: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_00f8: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_00fd: stelem.ref + IL_00fe: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0103: ldloc.s 5 + IL_0105: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_010a: call bool string::IsNullOrEmpty(string) + IL_010f: brtrue IL_0129 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_MainType + IL_0114: nop + IL_0115: ldloc.2 + IL_0116: callvirt instance class [System]System.Collections.Specialized.StringCollection class [System]System.CodeDom.Compiler.CompilerParameters::get_ReferencedAssemblies() + IL_011b: ldloc.s 5 + IL_011d: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_0122: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0127: pop + IL_0128: nop + IL_0129: nop + IL_012a: leave IL_0155 - // method line 506 - .method public hidebysig specialname - instance default void set_MainType (string 'value') cil managed - { - // Method begins at RVA 0x4847 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_mainType - IL_000d: ret - } // end of method CompilerBase::set_MainType + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_012f: stloc.s 6 + IL_0131: nop + IL_0132: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0137: ldstr "NA2028" + IL_013c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0141: ldloc.3 + IL_0142: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0147: ldarg.0 + IL_0148: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_014d: ldloc.s 6 + IL_014f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0154: throw + } // end handler 0 + IL_0155: nop + IL_0156: ldloc.s 4 + IL_0158: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_015d: brtrue IL_00cc - // method line 507 - .method public virtual hidebysig newslot specialname - instance default string get_KeyContainer () cil managed - { - // Method begins at RVA 0x4858 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase::_keyContainer - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0162: leave IL_017e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_KeyContainer + } // end .try 1 + finally { // 1 + IL_0167: ldloc.s 4 + IL_0169: isinst [mscorlib]System.IDisposable + IL_016e: dup + IL_016f: stloc.s 7 + IL_0171: brfalse IL_017d - // method line 508 - .method public virtual hidebysig newslot specialname - instance default void set_KeyContainer (string 'value') cil managed - { - // Method begins at RVA 0x4873 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.CompilerBase::_keyContainer - IL_000d: ret - } // end of method CompilerBase::set_KeyContainer + IL_0176: ldloc.s 7 + IL_0178: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_017d: endfinally + } // end handler 1 + IL_017e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0183: stloc.s 8 + IL_0185: nop + IL_0186: ldarg.0 + IL_0187: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.ScriptTask::get_Imports() + IL_018c: callvirt instance class NAnt.DotNet.Types.NamespaceImportEnumerator class NAnt.DotNet.Types.NamespaceImportCollection::GetEnumerator() + IL_0191: stloc.s 10 + .try { // 2 + IL_0193: br IL_01cc - // method line 509 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed - { - // Method begins at RVA 0x4884 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_keyFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0198: ldloc.s 10 + IL_019a: callvirt instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportEnumerator::get_Current() + IL_019f: stloc.s 9 + IL_01a1: nop + IL_01a2: ldloc.s 9 + IL_01a4: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_IfDefined() + IL_01a9: brfalse IL_01cb - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_KeyFile + IL_01ae: ldloc.s 9 + IL_01b0: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined() + IL_01b5: brtrue IL_01cb - // method line 510 - .method public virtual hidebysig newslot specialname - instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x489f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::_keyFile - IL_0008: ret - } // end of method CompilerBase::set_KeyFile + IL_01ba: nop + IL_01bb: ldloc.s 8 + IL_01bd: ldloc.s 9 + IL_01bf: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() + IL_01c4: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_01c9: pop + IL_01ca: nop + IL_01cb: nop + IL_01cc: ldloc.s 10 + IL_01ce: callvirt instance bool class NAnt.DotNet.Types.NamespaceImportEnumerator::MoveNext() + IL_01d3: brtrue IL_0198 - // method line 511 - .method public virtual hidebysig newslot specialname - instance default valuetype NAnt.DotNet.Types.DelaySign get_DelaySign () cil managed - { - // Method begins at RVA 0x48ac - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.DotNet.Types.DelaySign V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::_delaySign - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01d8: leave IL_01f4 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_DelaySign + } // end .try 2 + finally { // 2 + IL_01dd: ldloc.s 10 + IL_01df: isinst [mscorlib]System.IDisposable + IL_01e4: dup + IL_01e5: stloc.s 11 + IL_01e7: brfalse IL_01f3 - // method line 512 - .method public virtual hidebysig newslot specialname - instance default void set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') cil managed - { - // Method begins at RVA 0x48c7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::_delaySign - IL_0008: ret - } // end of method CompilerBase::set_DelaySign + IL_01ec: ldloc.s 11 + IL_01ee: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01f3: endfinally + } // end handler 2 + IL_01f4: ldloc.0 + IL_01f5: ldarg.0 + IL_01f6: ldfld string NAnt.DotNet.Tasks.ScriptTask::_rootClassName + IL_01fb: ldarg.0 + IL_01fc: call instance class [NAnt.Core]NAnt.Core.Types.RawXml class NAnt.DotNet.Tasks.ScriptTask::get_Code() + IL_0201: callvirt instance class [System.Xml]System.Xml.XmlNode class [NAnt.Core]NAnt.Core.Types.RawXml::get_Xml() + IL_0206: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_020b: ldloc.s 8 + IL_020d: ldarg.0 + IL_020e: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_Prefix() + IL_0213: callvirt instance class [System]System.CodeDom.CodeCompileUnit class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::GenerateCode(string, string, class [System]System.Collections.Specialized.StringCollection, string) + IL_0218: stloc.s 12 + IL_021a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_021f: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'(class [mscorlib]System.IFormatProvider) + IL_0224: stloc.s 13 + IL_0226: ldloc.0 + IL_0227: ldfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::CodeGen + IL_022c: ldloc.s 12 + IL_022e: ldloc.s 13 + IL_0230: ldnull + IL_0231: callvirt instance void class [System]System.CodeDom.Compiler.ICodeGenerator::GenerateCodeFromCompileUnit(class [System]System.CodeDom.CodeCompileUnit, class [mscorlib]System.IO.TextWriter, class [System]System.CodeDom.Compiler.CodeGeneratorOptions) + IL_0236: ldloc.s 13 + IL_0238: callvirt instance string object::ToString() + IL_023d: stloc.s 14 + IL_023f: ldarg.0 + IL_0240: ldc.i4 1000 + IL_0245: ldstr "String_GeneratedCodeLooksLike" + IL_024a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_024f: ldstr "\n{0}" + IL_0254: call string string::Concat(string, string) + IL_0259: ldc.i4.1 + IL_025a: newarr [mscorlib]System.Object + IL_025f: dup + IL_0260: ldc.i4.0 + IL_0261: ldloc.s 14 + IL_0263: stelem.ref + IL_0264: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0269: ldloc.1 + IL_026a: ldloc.2 + IL_026b: ldloc.s 12 + IL_026d: callvirt instance class [System]System.CodeDom.Compiler.CompilerResults class [System]System.CodeDom.Compiler.ICodeCompiler::CompileAssemblyFromDom(class [System]System.CodeDom.Compiler.CompilerParameters, class [System]System.CodeDom.CodeCompileUnit) + IL_0272: stloc.s 15 + IL_0274: ldnull + IL_0275: stloc.s 16 + IL_0277: ldloc.s 15 + IL_0279: callvirt instance class [System]System.CodeDom.Compiler.CompilerErrorCollection class [System]System.CodeDom.Compiler.CompilerResults::get_Errors() + IL_027e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0283: ldc.i4.0 + IL_0284: ble IL_031a - // method line 513 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Lib () cil managed - { - // Method begins at RVA 0x48d4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_lib - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0289: nop + IL_028a: ldstr "NA2029" + IL_028f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0294: call string class [mscorlib]System.Environment::get_NewLine() + IL_0299: call string string::Concat(string, string) + IL_029e: stloc.s 17 + IL_02a0: nop + IL_02a1: ldloc.s 15 + IL_02a3: callvirt instance class [System]System.CodeDom.Compiler.CompilerErrorCollection class [System]System.CodeDom.Compiler.CompilerResults::get_Errors() + IL_02a8: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.CollectionBase::GetEnumerator() + IL_02ad: stloc.s 19 + .try { // 3 + IL_02af: br IL_02d9 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_Lib + IL_02b4: ldloc.s 19 + IL_02b6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_02bb: castclass [System]System.CodeDom.Compiler.CompilerError + IL_02c0: stloc.s 18 + IL_02c2: nop + IL_02c3: ldloc.s 17 + IL_02c5: ldloc.s 18 + IL_02c7: callvirt instance string object::ToString() + IL_02cc: call string class [mscorlib]System.Environment::get_NewLine() + IL_02d1: call string string::Concat(string, string, string) + IL_02d6: stloc.s 17 + IL_02d8: nop + IL_02d9: ldloc.s 19 + IL_02db: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02e0: brtrue IL_02b4 - // method line 514 - .method public hidebysig specialname - instance default void set_Lib (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x48ef - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_lib - IL_0008: ret - } // end of method CompilerBase::set_Lib + IL_02e5: leave IL_0301 - // method line 515 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed - { - // Method begins at RVA 0x48fc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_references - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 3 + finally { // 3 + IL_02ea: ldloc.s 19 + IL_02ec: isinst [mscorlib]System.IDisposable + IL_02f1: dup + IL_02f2: stloc.s 20 + IL_02f4: brfalse IL_0300 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_References + IL_02f9: ldloc.s 20 + IL_02fb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0300: endfinally + } // end handler 3 + IL_0301: ldloc.s 17 + IL_0303: ldloc.s 14 + IL_0305: call string string::Concat(string, string) + IL_030a: stloc.s 17 + IL_030c: ldloc.s 17 + IL_030e: ldarg.0 + IL_030f: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0314: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0319: throw + IL_031a: nop + IL_031b: ldloc.s 15 + IL_031d: callvirt instance class [mscorlib]System.Reflection.Assembly class [System]System.CodeDom.Compiler.CompilerResults::get_CompiledAssembly() + IL_0322: stloc.s 16 + IL_0324: nop + IL_0325: ldloc.s 16 + IL_0327: ldarg.0 + IL_0328: call bool class [NAnt.Core]NAnt.Core.TypeFactory::ScanAssembly(class [mscorlib]System.Reflection.Assembly, class [NAnt.Core]NAnt.Core.Task) + IL_032d: stloc.s 21 + IL_032f: ldarg.0 + IL_0330: ldfld string NAnt.DotNet.Tasks.ScriptTask::_rootClassName + IL_0335: stloc.s 22 + IL_0337: ldarg.0 + IL_0338: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_MainClass() + IL_033d: call bool string::IsNullOrEmpty(string) + IL_0342: brtrue IL_035d - // method line 516 - .method public hidebysig specialname - instance default void set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed - { - // Method begins at RVA 0x4917 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_references - IL_0008: ret - } // end of method CompilerBase::set_References + IL_0347: nop + IL_0348: ldloc.s 22 + IL_034a: ldstr "+" + IL_034f: ldarg.0 + IL_0350: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_MainClass() + IL_0355: call string string::Concat(string, string, string) + IL_035a: stloc.s 22 + IL_035c: nop + IL_035d: ldloc.s 16 + IL_035f: ldloc.s 22 + IL_0361: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) + IL_0366: stloc.s 23 + IL_0368: ldloc.s 23 + IL_036a: ldnull + IL_036b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0370: brfalse IL_0398 - // method line 517 - .method public virtual hidebysig newslot specialname - instance default class NAnt.DotNet.Types.PackageCollection get_Packages () cil managed - { - // Method begins at RVA 0x4924 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.PackageCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::_packages - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0375: nop + IL_0376: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_037b: ldstr "NA2030" + IL_0380: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0385: ldloc.s 22 + IL_0387: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_038c: ldarg.0 + IL_038d: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0392: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0397: throw + IL_0398: ldloc.s 23 + IL_039a: ldstr "ScriptMain" + IL_039f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_03a4: stloc.s 24 + IL_03a6: ldloc.s 24 + IL_03a8: ldnull + IL_03a9: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_03ae: brfalse IL_03d8 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_Packages + IL_03b3: nop + IL_03b4: ldloc.s 21 + IL_03b6: brtrue IL_03d2 - // method line 518 - .method public virtual hidebysig newslot specialname - instance default void set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') cil managed - { - // Method begins at RVA 0x493f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::_packages - IL_0008: ret - } // end of method CompilerBase::set_Packages + IL_03bb: nop + IL_03bc: ldstr "NA2031" + IL_03c1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03c6: ldarg.0 + IL_03c7: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_03cc: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_03d1: throw + IL_03d2: nop + IL_03d3: br IL_04c9 - // method line 519 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.ResourceFileSetCollection get_ResourcesList () cil managed - { - // Method begins at RVA 0x494c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.ResourceFileSetCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.ResourceFileSetCollection NAnt.DotNet.Tasks.CompilerBase::_resourcesList - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_03d8: ldloc.s 24 + IL_03da: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsStatic() + IL_03df: brtrue IL_03fb - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_ResourcesList + IL_03e4: nop + IL_03e5: ldstr "NA2032" + IL_03ea: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_03ef: ldarg.0 + IL_03f0: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_03f5: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_03fa: throw + IL_03fb: ldloc.s 24 + IL_03fd: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0402: stloc.s 25 + IL_0404: ldloc.s 25 + IL_0406: ldlen + IL_0407: conv.i4 + IL_0408: ldc.i4.1 + IL_0409: beq IL_0425 - // method line 520 - .method public virtual hidebysig newslot specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_Modules () cil managed - { - // Method begins at RVA 0x4968 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_modules - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_040e: nop + IL_040f: ldstr "NA2033" + IL_0414: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0419: ldarg.0 + IL_041a: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_041f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0424: throw + IL_0425: ldloc.s 25 + IL_0427: ldc.i4.0 + IL_0428: ldelem.ref + IL_0429: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_042e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0433: ldtoken [NAnt.Core]NAnt.Core.Project + IL_0438: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_043d: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0442: call bool string::op_Inequality(string, string) + IL_0447: brfalse IL_048a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_Modules + IL_044c: nop + IL_044d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0452: ldstr "NA2034" + IL_0457: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_045c: ldloc.s 25 + IL_045e: ldc.i4.0 + IL_045f: ldelem.ref + IL_0460: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0465: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_046a: ldtoken [NAnt.Core]NAnt.Core.Project + IL_046f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0474: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0479: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_047e: ldarg.0 + IL_047f: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0484: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0489: throw + .try { // 4 + IL_048a: nop + IL_048b: ldloc.s 24 + IL_048d: ldnull + IL_048e: ldc.i4.1 + IL_048f: newarr [mscorlib]System.Object + IL_0494: dup + IL_0495: ldc.i4.0 + IL_0496: ldarg.0 + IL_0497: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_049c: stelem.ref + IL_049d: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_04a2: pop + IL_04a3: nop + IL_04a4: leave IL_04c9 - // method line 521 - .method public virtual hidebysig newslot specialname - instance default void set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed - { - // Method begins at RVA 0x4983 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::_modules - IL_0008: ret - } // end of method CompilerBase::set_Modules + } // end .try 4 + catch class [mscorlib]System.Exception { // 4 + IL_04a9: stloc.s 26 + IL_04ab: nop + IL_04ac: ldstr "NA2035" + IL_04b1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_04b6: ldarg.0 + IL_04b7: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_04bc: ldloc.s 26 + IL_04be: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() + IL_04c3: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_04c8: throw + } // end handler 4 + IL_04c9: ret + } // end of method ScriptTask::ExecuteTask - // method line 522 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed + // method line 374 + .method private hidebysig + instance default class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo CreateCompilerInfo (string language) cil managed { - // Method begins at RVA 0x4990 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x9a00 + // Code size 375 (0x177) + .maxstack 3 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + class [System]System.CodeDom.Compiler.CodeDomProvider V_0, + class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, + int32 V_2, + class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo V_3, + class [mscorlib]System.Exception V_4) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_sources - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.1 + IL_0005: brfalse IL_0137 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_Sources + IL_000a: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.DotNet.Tasks.ScriptTask::'<>f__switch$map0' + IL_000f: brtrue IL_00b2 - // method line 523 - .method public hidebysig specialname - instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x49ab - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::_sources - IL_0008: ret - } // end of method CompilerBase::set_Sources + IL_0014: ldc.i4.s 0x0c + IL_0016: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: ldstr "vb" + IL_0022: ldc.i4.0 + IL_0023: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0028: ldloc.1 + IL_0029: ldstr "VB" + IL_002e: ldc.i4.0 + IL_002f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0034: ldloc.1 + IL_0035: ldstr "VISUALBASIC" + IL_003a: ldc.i4.0 + IL_003b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0040: ldloc.1 + IL_0041: ldstr "c#" + IL_0046: ldc.i4.1 + IL_0047: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_004c: ldloc.1 + IL_004d: ldstr "C#" + IL_0052: ldc.i4.1 + IL_0053: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0058: ldloc.1 + IL_0059: ldstr "CSHARP" + IL_005e: ldc.i4.1 + IL_005f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0064: ldloc.1 + IL_0065: ldstr "js" + IL_006a: ldc.i4.2 + IL_006b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0070: ldloc.1 + IL_0071: ldstr "JS" + IL_0076: ldc.i4.2 + IL_0077: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_007c: ldloc.1 + IL_007d: ldstr "JSCRIPT" + IL_0082: ldc.i4.2 + IL_0083: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0088: ldloc.1 + IL_0089: ldstr "vjs" + IL_008e: ldc.i4.3 + IL_008f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0094: ldloc.1 + IL_0095: ldstr "VJS" + IL_009a: ldc.i4.3 + IL_009b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_00a0: ldloc.1 + IL_00a1: ldstr "JSHARP" + IL_00a6: ldc.i4.3 + IL_00a7: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_00ac: ldloc.1 + IL_00ad: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.DotNet.Tasks.ScriptTask::'<>f__switch$map0' + IL_00b2: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.DotNet.Tasks.ScriptTask::'<>f__switch$map0' + IL_00b7: ldarg.1 + IL_00b8: ldloca.s 2 + IL_00ba: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_00bf: brfalse IL_0137 - // method line 524 - .method public virtual hidebysig newslot specialname - instance default bool get_SupportsPackageReferences () cil managed - { - // Method begins at RVA 0x49b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsPackageReferences - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00c4: ldloc.2 + IL_00c5: switch ( + IL_00e3, + IL_00f8, + IL_010d, + IL_0122, + IL_0137) + IL_00de: br IL_0137 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_SupportsPackageReferences + IL_00e3: ldstr "Microsoft.VisualBasic.VBCodeProvider" + IL_00e8: ldstr "System, Culture=neutral" + IL_00ed: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) + IL_00f2: stloc.0 + IL_00f3: leave IL_0143 - // method line 525 - .method public virtual hidebysig newslot specialname - instance default void set_SupportsPackageReferences (bool 'value') cil managed - { - // Method begins at RVA 0x49d3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsPackageReferences - IL_0008: ret - } // end of method CompilerBase::set_SupportsPackageReferences + IL_00f8: ldstr "Microsoft.CSharp.CSharpCodeProvider" + IL_00fd: ldstr "System, Culture=neutral" + IL_0102: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) + IL_0107: stloc.0 + IL_0108: leave IL_0143 - // method line 526 - .method public virtual hidebysig newslot specialname - instance default bool get_SupportsWarnAsErrorList () cil managed - { - // Method begins at RVA 0x49e0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsWarnAsErrorList - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_010d: ldstr "Microsoft.JScript.JScriptCodeProvider" + IL_0112: ldstr "Microsoft.JScript, Culture=neutral" + IL_0117: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) + IL_011c: stloc.0 + IL_011d: leave IL_0143 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_SupportsWarnAsErrorList + IL_0122: ldstr "Microsoft.VJSharp.VJSharpCodeProvider" + IL_0127: ldstr "VJSharpCodeProvider, Culture=neutral" + IL_012c: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) + IL_0131: stloc.0 + IL_0132: leave IL_0143 - // method line 527 - .method public virtual hidebysig newslot specialname - instance default void set_SupportsWarnAsErrorList (bool 'value') cil managed - { - // Method begins at RVA 0x49fb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsWarnAsErrorList - IL_0008: ret - } // end of method CompilerBase::set_SupportsWarnAsErrorList + IL_0137: ldarg.1 + IL_0138: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string) + IL_013d: stloc.0 + IL_013e: leave IL_0143 - // method line 528 - .method public virtual hidebysig newslot specialname - instance default bool get_SupportsNoWarnList () cil managed + IL_0143: ldloc.0 + IL_0144: newobj instance void class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::'.ctor'(class [System]System.CodeDom.Compiler.CodeDomProvider) + IL_0149: stloc.3 + IL_014a: leave IL_0175 + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_014f: stloc.s 4 + IL_0151: nop + IL_0152: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0157: ldstr "NA2036" + IL_015c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0161: ldarg.1 + IL_0162: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0167: ldarg.0 + IL_0168: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_016d: ldloc.s 4 + IL_016f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0174: throw + } // end handler 0 + IL_0175: ldloc.3 + IL_0176: ret + } // end of method ScriptTask::CreateCompilerInfo + + // method line 375 + .method private static hidebysig + default class [System]System.CodeDom.Compiler.CodeDomProvider CreateCodeDomProvider (string typeName, string assemblyName) cil managed { - // Method begins at RVA 0x4a08 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x9ba0 + // Code size 72 (0x48) + .maxstack 4 .locals init ( - bool V_0) + class [mscorlib]System.Reflection.Assembly V_0, + class [mscorlib]System.Type V_1, + class [System]System.CodeDom.Compiler.CodeDomProvider V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsNoWarnList + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadWithPartialName(string) IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: ldloc.0 + IL_0009: ldnull + IL_000a: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_000f: brfalse IL_0030 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_SupportsNoWarnList + IL_0014: nop + IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001a: ldstr "NA2037" + IL_001f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0024: ldarg.1 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: ldarg.0 + IL_0032: ldc.i4.1 + IL_0033: ldc.i4.1 + IL_0034: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) + IL_0039: stloc.1 + IL_003a: ldloc.1 + IL_003b: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(class [mscorlib]System.Type) + IL_0040: stloc.2 + IL_0041: br IL_0046 - // method line 529 - .method public virtual hidebysig newslot specialname - instance default void set_SupportsNoWarnList (bool 'value') cil managed - { - // Method begins at RVA 0x4a23 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsNoWarnList - IL_0008: ret - } // end of method CompilerBase::set_SupportsNoWarnList + IL_0046: ldloc.2 + IL_0047: ret + } // end of method ScriptTask::CreateCodeDomProvider - // method line 530 - .method public virtual hidebysig newslot specialname - instance default bool get_SupportsKeyContainer () cil managed + // method line 376 + .method private static hidebysig + default class [System]System.CodeDom.Compiler.CodeDomProvider CreateCodeDomProvider (string assemblyQualifiedTypeName) cil managed { - // Method begins at RVA 0x4a30 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x9bf4 + // Code size 24 (0x18) + .maxstack 3 .locals init ( - bool V_0) + class [mscorlib]System.Type V_0, + class [System]System.CodeDom.Compiler.CodeDomProvider V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyContainer - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_SupportsKeyContainer + IL_0002: ldc.i4.1 + IL_0003: ldc.i4.1 + IL_0004: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(class [mscorlib]System.Type) + IL_0010: stloc.1 + IL_0011: br IL_0016 - // method line 531 - .method public virtual hidebysig newslot specialname - instance default void set_SupportsKeyContainer (bool 'value') cil managed - { - // Method begins at RVA 0x4a4b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyContainer - IL_0008: ret - } // end of method CompilerBase::set_SupportsKeyContainer + IL_0016: ldloc.1 + IL_0017: ret + } // end of method ScriptTask::CreateCodeDomProvider - // method line 532 - .method public virtual hidebysig newslot specialname - instance default bool get_SupportsKeyFile () cil managed + // method line 377 + .method private static hidebysig + default class [System]System.CodeDom.Compiler.CodeDomProvider CreateCodeDomProvider (class [mscorlib]System.Type providerType) cil managed { - // Method begins at RVA 0x4a58 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x9c18 + // Code size 66 (0x42) + .maxstack 3 .locals init ( - bool V_0) + object V_0, + class [System]System.CodeDom.Compiler.CodeDomProvider V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyFile + IL_0002: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0008: ldloc.0 + IL_0009: isinst [System]System.CodeDom.Compiler.CodeDomProvider + IL_000e: brtrue IL_0034 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_SupportsKeyFile + IL_0013: nop + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: ldstr "NA2038" + IL_001e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0023: ldarg.0 + IL_0024: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0029: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002e: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0033: throw + IL_0034: ldloc.0 + IL_0035: castclass [System]System.CodeDom.Compiler.CodeDomProvider + IL_003a: stloc.1 + IL_003b: br IL_0040 - // method line 533 - .method public virtual hidebysig newslot specialname - instance default void set_SupportsKeyFile (bool 'value') cil managed + IL_0040: ldloc.1 + IL_0041: ret + } // end of method ScriptTask::CreateCodeDomProvider + + // method line 378 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x4a73 - // Code size 9 (0x9) + // Method begins at RVA 0x9c66 + // Code size 60 (0x3c) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsKeyFile - IL_0008: ret - } // end of method CompilerBase::set_SupportsKeyFile + IL_0000: ldc.i4.6 + IL_0001: newarr [mscorlib]System.String + IL_0006: dup + IL_0007: ldc.i4.0 + IL_0008: ldstr "System" + IL_000d: stelem.ref + IL_000e: dup + IL_000f: ldc.i4.1 + IL_0010: ldstr "System.Collections" + IL_0015: stelem.ref + IL_0016: dup + IL_0017: ldc.i4.2 + IL_0018: ldstr "System.IO" + IL_001d: stelem.ref + IL_001e: dup + IL_001f: ldc.i4.3 + IL_0020: ldstr "System.Text" + IL_0025: stelem.ref + IL_0026: dup + IL_0027: ldc.i4.4 + IL_0028: ldstr "NAnt.Core" + IL_002d: stelem.ref + IL_002e: dup + IL_002f: ldc.i4.5 + IL_0030: ldstr "NAnt.Core.Attributes" + IL_0035: stelem.ref + IL_0036: stsfld string[] NAnt.DotNet.Tasks.ScriptTask::_defaultNamespaces + IL_003b: ret + } // end of method ScriptTask::.cctor - // method line 534 - .method public virtual hidebysig newslot specialname - instance default bool get_SupportsDelaySign () cil managed - { - // Method begins at RVA 0x4a80 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsDelaySign - IL_0007: stloc.0 - IL_0008: br IL_000d + .property instance string Language () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 6C 61 6E 67 75 61 67 65 01 00 54 02 08 // ...language..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CompilerBase::get_SupportsDelaySign + .get instance default string NAnt.DotNet.Tasks.ScriptTask::get_Language () + .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Language (string 'value') + } + .property instance class NAnt.DotNet.Types.AssemblyFileSet References () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - // method line 535 - .method public virtual hidebysig newslot specialname - instance default void set_SupportsDelaySign (bool 'value') cil managed - { - // Method begins at RVA 0x4a9b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.CompilerBase::_supportsDelaySign - IL_0008: ret - } // end of method CompilerBase::set_SupportsDelaySign + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::get_References () + .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance string MainClass () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6D 61 69 6E 63 6C 61 73 73 01 00 54 02 // ...mainclass..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .get instance default string NAnt.DotNet.Tasks.ScriptTask::get_MainClass () + .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_MainClass (string 'value') + } + .property instance string Prefix () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re + 71 75 69 72 65 64 00 ) // quired. - // method line 536 - .method public virtual hidebysig newslot abstract specialname - instance default string get_Extension () cil managed - { - // Method begins at RVA 0x0 - } // end of method CompilerBase::get_Extension + .get instance default string NAnt.DotNet.Tasks.ScriptTask::get_Prefix () + .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Prefix (string 'value') + } + .property instance class NAnt.DotNet.Types.NamespaceImportCollection Imports () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. - // method line 537 - .method family virtual hidebysig newslot abstract specialname - instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed - { - // Method begins at RVA 0x0 - } // end of method CompilerBase::get_ClassNameRegex + .get instance default class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::get_Imports () + .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.RawXml Code () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 04 63 6F 64 65 01 00 54 02 08 52 65 71 75 // ...code..T..Requ + 69 72 65 64 01 ) // ired. - // method line 538 - .method family virtual hidebysig newslot abstract specialname - instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed - { - // Method begins at RVA 0x0 - } // end of method CompilerBase::get_NamespaceRegex + .get instance default class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.ScriptTask::get_Code () + .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Code (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') + } + .class nested assembly auto ansi beforefieldinit CompilerInfo + extends [mscorlib]System.Object + { + .field public initonly class [System]System.CodeDom.Compiler.ICodeCompiler Compiler + .field public initonly class [System]System.CodeDom.Compiler.ICodeGenerator CodeGen - // method line 539 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + // method line 379 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System]System.CodeDom.Compiler.CodeDomProvider provider) cil managed { - // Method begins at RVA 0x4aa8 - // Code size 30 (0x1e) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr "@\"" - IL_0006: ldarg.0 - IL_0007: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName - IL_000c: ldstr "\"" - IL_0011: call string string::Concat(string, string, string) - IL_0016: stloc.0 - IL_0017: br IL_001c - - IL_001c: ldloc.0 - IL_001d: ret - } // end of method CompilerBase::get_ProgramArguments + // Method begins at RVA 0x9ca3 + // Code size 32 (0x20) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance class [System]System.CodeDom.Compiler.ICodeCompiler class [System]System.CodeDom.Compiler.CodeDomProvider::CreateCompiler() + IL_000e: stfld class [System]System.CodeDom.Compiler.ICodeCompiler NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::Compiler + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance class [System]System.CodeDom.Compiler.ICodeGenerator class [System]System.CodeDom.Compiler.CodeDomProvider::CreateGenerator() + IL_001a: stfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::CodeGen + IL_001f: ret + } // end of method CompilerInfo::.ctor - // method line 540 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 380 + .method public hidebysig + instance default class [System]System.CodeDom.CodeCompileUnit GenerateCode (string typeName, string codeBody, class [System]System.Collections.Specialized.StringCollection imports, string prefix) cil managed { - // Method begins at RVA 0x4ad4 - // Code size 2158 (0x86e) - .maxstack 7 + // Method begins at RVA 0x9cc4 + // Code size 492 (0x1ec) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.StreamWriter V_0, - class [mscorlib]System.Collections.Hashtable V_1, - class [System]System.Collections.Specialized.StringCollection V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - valuetype NAnt.DotNet.Types.DelaySign V_6, - string V_7, - class [System]System.Collections.Specialized.StringEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - class NAnt.DotNet.Types.ResourceFileSet V_10, - class NAnt.DotNet.Types.ResourceFileSetEnumerator V_11, - string V_12, - class [System]System.Collections.Specialized.StringEnumerator V_13, - string V_14, - string V_15, - class [mscorlib]System.Globalization.CultureInfo V_16, - string V_17, - class [mscorlib]System.IDisposable V_18, - string V_19, - class [System]System.Collections.Specialized.StringEnumerator V_20, - string V_21, - class [mscorlib]System.Globalization.CultureInfo V_22, - string V_23, - class [mscorlib]System.IDisposable V_24, - class [mscorlib]System.IDisposable V_25, - string V_26, - class [System]System.Collections.Specialized.StringEnumerator V_27, - class [mscorlib]System.IDisposable V_28, - class [mscorlib]System.IO.StreamReader V_29, - string V_30, - class [mscorlib]System.Collections.IEnumerator V_31, - string V_32, - class [mscorlib]System.IO.FileInfo V_33, - class [mscorlib]System.IDisposable V_34, - string V_35, - class [System]System.Collections.Specialized.StringEnumerator V_36, - class [mscorlib]System.IDisposable V_37) + class [System]System.CodeDom.CodeCompileUnit V_0, + class [System]System.CodeDom.CodeTypeDeclaration V_1, + class [System]System.CodeDom.CodeConstructor V_2, + class [System]System.CodeDom.CodeAttributeDeclaration V_3, + class [System]System.CodeDom.CodeSnippetTypeMember V_4, + class [System]System.CodeDom.CodeNamespace V_5, + string V_6, + string[] V_7, + int32 V_8, + string V_9, + class [System]System.Collections.Specialized.StringEnumerator V_10, + class [mscorlib]System.IDisposable V_11, + class [System]System.CodeDom.CodeCompileUnit V_12) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() - IL_0007: brfalse IL_086d + IL_0001: newobj instance void class [System]System.CodeDom.CodeCompileUnit::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.1 + IL_0008: newobj instance void class [System]System.CodeDom.CodeTypeDeclaration::'.ctor'(string) + IL_000d: stloc.1 + IL_000e: ldloc.1 + IL_000f: ldc.i4.1 + IL_0010: callvirt instance void class [System]System.CodeDom.CodeTypeDeclaration::set_IsClass(bool) + IL_0015: ldloc.1 + IL_0016: ldc.i4.1 + IL_0017: callvirt instance void class [System]System.CodeDom.CodeTypeDeclaration::set_TypeAttributes(valuetype [mscorlib]System.Reflection.TypeAttributes) + IL_001c: newobj instance void class [System]System.CodeDom.CodeConstructor::'.ctor'() + IL_0021: stloc.2 + IL_0022: ldloc.2 + IL_0023: ldc.i4 24576 + IL_0028: callvirt instance void class [System]System.CodeDom.CodeTypeMember::set_Attributes(valuetype [System]System.CodeDom.MemberAttributes) + IL_002d: ldloc.2 + IL_002e: callvirt instance class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection class [System]System.CodeDom.CodeMemberMethod::get_Parameters() + IL_0033: ldstr "NAnt.Core.Project" + IL_0038: ldstr "project" + IL_003d: newobj instance void class [System]System.CodeDom.CodeParameterDeclarationExpression::'.ctor'(string, string) + IL_0042: callvirt instance int32 class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection::Add(class [System]System.CodeDom.CodeParameterDeclarationExpression) + IL_0047: pop + IL_0048: ldloc.2 + IL_0049: callvirt instance class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection class [System]System.CodeDom.CodeMemberMethod::get_Parameters() + IL_004e: ldstr "NAnt.Core.PropertyDictionary" + IL_0053: ldstr "propDict" + IL_0058: newobj instance void class [System]System.CodeDom.CodeParameterDeclarationExpression::'.ctor'(string, string) + IL_005d: callvirt instance int32 class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection::Add(class [System]System.CodeDom.CodeParameterDeclarationExpression) + IL_0062: pop + IL_0063: ldloc.2 + IL_0064: callvirt instance class [System]System.CodeDom.CodeExpressionCollection class [System]System.CodeDom.CodeConstructor::get_BaseConstructorArgs() + IL_0069: ldstr "project" + IL_006e: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) + IL_0073: callvirt instance int32 class [System]System.CodeDom.CodeExpressionCollection::Add(class [System]System.CodeDom.CodeExpression) + IL_0078: pop + IL_0079: ldloc.2 + IL_007a: callvirt instance class [System]System.CodeDom.CodeExpressionCollection class [System]System.CodeDom.CodeConstructor::get_BaseConstructorArgs() + IL_007f: ldstr "propDict" + IL_0084: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) + IL_0089: callvirt instance int32 class [System]System.CodeDom.CodeExpressionCollection::Add(class [System]System.CodeDom.CodeExpression) + IL_008e: pop + IL_008f: ldloc.1 + IL_0090: callvirt instance class [System]System.CodeDom.CodeTypeMemberCollection class [System]System.CodeDom.CodeTypeDeclaration::get_Members() + IL_0095: ldloc.2 + IL_0096: callvirt instance int32 class [System]System.CodeDom.CodeTypeMemberCollection::Add(class [System]System.CodeDom.CodeTypeMember) + IL_009b: pop + IL_009c: ldloc.1 + IL_009d: callvirt instance class [System]System.CodeDom.CodeTypeReferenceCollection class [System]System.CodeDom.CodeTypeDeclaration::get_BaseTypes() + IL_00a2: ldtoken [NAnt.Core]NAnt.Core.FunctionSetBase + IL_00a7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00ac: callvirt instance void class [System]System.CodeDom.CodeTypeReferenceCollection::Add(class [mscorlib]System.Type) + IL_00b1: ldstr "FunctionSet" + IL_00b6: newobj instance void class [System]System.CodeDom.CodeAttributeDeclaration::'.ctor'(string) + IL_00bb: stloc.3 + IL_00bc: ldloc.3 + IL_00bd: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() + IL_00c2: ldstr "\"" + IL_00c7: ldarg.s 4 + IL_00c9: ldstr "\"" + IL_00ce: call string string::Concat(string, string, string) + IL_00d3: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) + IL_00d8: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) + IL_00dd: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) + IL_00e2: pop + IL_00e3: ldloc.3 + IL_00e4: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() + IL_00e9: ldstr "\"" + IL_00ee: ldarg.s 4 + IL_00f0: ldstr "\"" + IL_00f5: call string string::Concat(string, string, string) + IL_00fa: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) + IL_00ff: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) + IL_0104: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) + IL_0109: pop + IL_010a: ldloc.1 + IL_010b: callvirt instance class [System]System.CodeDom.CodeAttributeDeclarationCollection class [System]System.CodeDom.CodeTypeMember::get_CustomAttributes() + IL_0110: ldloc.3 + IL_0111: callvirt instance int32 class [System]System.CodeDom.CodeAttributeDeclarationCollection::Add(class [System]System.CodeDom.CodeAttributeDeclaration) + IL_0116: pop + IL_0117: ldarg.2 + IL_0118: newobj instance void class [System]System.CodeDom.CodeSnippetTypeMember::'.ctor'(string) + IL_011d: stloc.s 4 + IL_011f: ldloc.1 + IL_0120: callvirt instance class [System]System.CodeDom.CodeTypeMemberCollection class [System]System.CodeDom.CodeTypeDeclaration::get_Members() + IL_0125: ldloc.s 4 + IL_0127: callvirt instance int32 class [System]System.CodeDom.CodeTypeMemberCollection::Add(class [System]System.CodeDom.CodeTypeMember) + IL_012c: pop + IL_012d: newobj instance void class [System]System.CodeDom.CodeNamespace::'.ctor'() + IL_0132: stloc.s 5 + IL_0134: nop + IL_0135: ldsfld string[] NAnt.DotNet.Tasks.ScriptTask::_defaultNamespaces + IL_013a: stloc.s 7 + IL_013c: ldc.i4.0 + IL_013d: stloc.s 8 + IL_013f: br IL_0166 + + IL_0144: ldloc.s 7 + IL_0146: ldloc.s 8 + IL_0148: ldelem.ref + IL_0149: stloc.s 6 + IL_014b: nop + IL_014c: ldloc.s 5 + IL_014e: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() + IL_0153: ldloc.s 6 + IL_0155: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) + IL_015a: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) + IL_015f: nop + IL_0160: ldloc.s 8 + IL_0162: ldc.i4.1 + IL_0163: add + IL_0164: stloc.s 8 + IL_0166: ldloc.s 8 + IL_0168: ldloc.s 7 + IL_016a: ldlen + IL_016b: conv.i4 + IL_016c: blt IL_0144 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_0013: stfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName - IL_0018: ldarg.0 - IL_0019: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName - IL_001e: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) - IL_0023: stloc.0 - IL_0024: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0029: stloc.1 - IL_002a: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_002f: stloc.2 - .try { // 8 - IL_0030: nop - IL_0031: ldarg.0 - IL_0032: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_0037: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_003c: brtrue IL_005e + IL_0171: nop + IL_0172: ldarg.3 + IL_0173: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0178: stloc.s 10 + .try { // 0 + IL_017a: br IL_019d - IL_0041: nop - IL_0042: ldarg.0 - IL_0043: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_0048: ldarg.0 - IL_0049: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_004e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0053: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0058: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_005d: nop - IL_005e: ldarg.0 - IL_005f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Lib() - IL_0064: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0069: brtrue IL_008b + IL_017f: ldloc.s 10 + IL_0181: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0186: stloc.s 9 + IL_0188: nop + IL_0189: ldloc.s 5 + IL_018b: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() + IL_0190: ldloc.s 9 + IL_0192: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) + IL_0197: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) + IL_019c: nop + IL_019d: ldloc.s 10 + IL_019f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_01a4: brtrue IL_017f - IL_006e: nop - IL_006f: ldarg.0 - IL_0070: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Lib() - IL_0075: ldarg.0 - IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_007b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0080: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0085: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_008a: nop - IL_008b: ldarg.0 - IL_008c: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_0091: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0096: brtrue IL_00b8 + IL_01a9: leave IL_01c5 - IL_009b: nop - IL_009c: ldarg.0 - IL_009d: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_00a2: ldarg.0 - IL_00a3: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00a8: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_00ad: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_00b2: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00b7: nop - IL_00b8: ldarg.0 - IL_00b9: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() - IL_00be: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_00c3: brtrue IL_00e5 + } // end .try 0 + finally { // 0 + IL_01ae: ldloc.s 10 + IL_01b0: isinst [mscorlib]System.IDisposable + IL_01b5: dup + IL_01b6: stloc.s 11 + IL_01b8: brfalse IL_01c4 - IL_00c8: nop - IL_00c9: ldarg.0 - IL_00ca: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() - IL_00cf: ldarg.0 - IL_00d0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00d5: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_00da: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_00df: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00e4: nop - IL_00e5: nop - IL_00e6: ldarg.0 - IL_00e7: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Lib() - IL_00ec: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_00f1: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00f6: stloc.s 4 - .try { // 0 - IL_00f8: br IL_0135 + IL_01bd: ldloc.s 11 + IL_01bf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01c4: endfinally + } // end handler 0 + IL_01c5: ldloc.0 + IL_01c6: callvirt instance class [System]System.CodeDom.CodeNamespaceCollection class [System]System.CodeDom.CodeCompileUnit::get_Namespaces() + IL_01cb: ldloc.s 5 + IL_01cd: callvirt instance int32 class [System]System.CodeDom.CodeNamespaceCollection::Add(class [System]System.CodeDom.CodeNamespace) + IL_01d2: pop + IL_01d3: ldloc.s 5 + IL_01d5: callvirt instance class [System]System.CodeDom.CodeTypeDeclarationCollection class [System]System.CodeDom.CodeNamespace::get_Types() + IL_01da: ldloc.1 + IL_01db: callvirt instance int32 class [System]System.CodeDom.CodeTypeDeclarationCollection::Add(class [System]System.CodeDom.CodeTypeDeclaration) + IL_01e0: pop + IL_01e1: ldloc.0 + IL_01e2: stloc.s 12 + IL_01e4: br IL_01e9 - IL_00fd: ldloc.s 4 - IL_00ff: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0104: stloc.3 - IL_0105: nop - IL_0106: ldarg.0 - IL_0107: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_010c: callvirt instance class NAnt.DotNet.Types.LibDirectorySet class NAnt.DotNet.Types.AssemblyFileSet::get_Lib() - IL_0111: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0116: ldloc.3 - IL_0117: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_011c: pop - IL_011d: ldarg.0 - IL_011e: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_0123: callvirt instance class NAnt.DotNet.Types.LibDirectorySet class NAnt.DotNet.Types.AssemblyFileSet::get_Lib() - IL_0128: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_012d: ldloc.3 - IL_012e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0133: pop - IL_0134: nop - IL_0135: ldloc.s 4 - IL_0137: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_013c: brtrue IL_00fd + IL_01e9: ldloc.s 12 + IL_01eb: ret + } // end of method CompilerInfo::GenerateCode - IL_0141: leave IL_015d + } // end of class CompilerInfo - } // end .try 0 - finally { // 0 - IL_0146: ldloc.s 4 - IL_0148: isinst [mscorlib]System.IDisposable - IL_014d: dup - IL_014e: stloc.s 5 - IL_0150: brfalse IL_015c + } // end of class NAnt.DotNet.Tasks.ScriptTask +} - IL_0155: ldloc.s 5 - IL_0157: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_015c: endfinally - } // end handler 0 - IL_015d: ldarg.0 - IL_015e: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_0163: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() - IL_0168: ldarg.0 - IL_0169: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_016e: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() - IL_0173: ldarg.0 - IL_0174: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_0179: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_017e: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0183: brtrue IL_019b +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi beforefieldinit CscTask + extends NAnt.DotNet.Tasks.CompilerBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 63 73 63 00 00 ) // ...csc.. - IL_0188: nop - IL_0189: ldarg.0 - IL_018a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_018f: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_0194: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0199: pop - IL_019a: nop - IL_019b: ldarg.0 - IL_019c: ldc.i4 3000 - IL_01a1: ldstr "String_CompilingFiles" - IL_01a6: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01ab: ldc.i4.2 - IL_01ac: newarr [mscorlib]System.Object - IL_01b1: dup - IL_01b2: ldc.i4.0 - IL_01b3: ldarg.0 - IL_01b4: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() - IL_01b9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01be: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_01c3: box [mscorlib]System.Int32 - IL_01c8: stelem.ref - IL_01c9: dup - IL_01ca: ldc.i4.1 - IL_01cb: ldarg.0 - IL_01cc: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_01d1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01d6: stelem.ref - IL_01d7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01dc: ldarg.0 - IL_01dd: ldloc.0 - IL_01de: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOptions(class [mscorlib]System.IO.TextWriter) - IL_01e3: ldarg.0 - IL_01e4: ldloc.0 - IL_01e5: ldstr "nologo" - IL_01ea: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_01ef: ldarg.0 - IL_01f0: ldloc.0 - IL_01f1: ldstr "target" - IL_01f6: ldarg.0 - IL_01f7: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_OutputTarget() - IL_01fc: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0201: ldarg.0 - IL_0202: ldloc.0 - IL_0203: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteConditionalCompilationConstants(class [mscorlib]System.IO.TextWriter) - IL_0208: ldarg.0 - IL_0209: ldloc.0 - IL_020a: ldstr "out" - IL_020f: ldarg.0 - IL_0210: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_0215: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_021a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_021f: ldarg.0 - IL_0220: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() - IL_0225: brfalse IL_0243 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + + .field private valuetype NAnt.DotNet.Types.DebugOutput _debugOutput + .field private class [mscorlib]System.IO.FileInfo _docFile + .field private int32 _fileAlign + .field private bool _nostdlib + .field private bool _noconfig + .field private bool _checked + .field private bool _unsafe + .field private bool _optimize + .field private string _warningLevel + .field private string _codepage + .field private string _baseAddress + .field private string _platform + .field private string _langVersion + .field private bool _supportsDocGeneration + .field private bool _supportsPlatform + .field private bool _supportsLangVersion + .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex + .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex - IL_022a: nop - IL_022b: ldarg.0 - IL_022c: ldloc.0 - IL_022d: ldstr "win32icon" - IL_0232: ldarg.0 - IL_0233: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() - IL_0238: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_023d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0242: nop - IL_0243: ldarg.0 - IL_0244: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_MainType() - IL_0249: brfalse IL_0262 + // method line 381 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x9ecc + // Code size 21 (0x15) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::_debugOutput + IL_0007: ldarg.0 + IL_0008: ldc.i4.1 + IL_0009: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsDocGeneration + IL_000e: ldarg.0 + IL_000f: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() + IL_0014: ret + } // end of method CscTask::.ctor - IL_024e: nop - IL_024f: ldarg.0 - IL_0250: ldloc.0 - IL_0251: ldstr "main" - IL_0256: ldarg.0 - IL_0257: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_MainType() - IL_025c: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0261: nop - IL_0262: ldarg.0 - IL_0263: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() - IL_0268: brfalse IL_02c3 + // method line 382 + .method public hidebysig specialname + instance default string get_BaseAddress () cil managed + { + // Method begins at RVA 0x9ee4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_baseAddress + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_026d: nop - IL_026e: ldarg.0 - IL_026f: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyContainer() - IL_0274: brfalse IL_0292 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_BaseAddress - IL_0279: nop - IL_027a: ldarg.0 - IL_027b: ldloc.0 - IL_027c: ldstr "keycontainer" - IL_0281: ldarg.0 - IL_0282: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() - IL_0287: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_028c: nop - IL_028d: br IL_02c2 + // method line 383 + .method public hidebysig specialname + instance default void set_BaseAddress (string 'value') cil managed + { + // Method begins at RVA 0x9eff + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_baseAddress + IL_000d: ret + } // end of method CscTask::set_BaseAddress - IL_0292: nop - IL_0293: ldarg.0 - IL_0294: ldc.i4 4000 - IL_0299: ldstr "String_CompilerDoesNotSupportKeyContainer" - IL_029e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02a3: ldc.i4.1 - IL_02a4: newarr [mscorlib]System.Object - IL_02a9: dup - IL_02aa: ldc.i4.0 - IL_02ab: ldarg.0 - IL_02ac: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_02b1: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_02b6: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_02bb: stelem.ref - IL_02bc: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_02c1: nop - IL_02c2: nop - IL_02c3: ldarg.0 - IL_02c4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() - IL_02c9: brfalse IL_0329 + // method line 384 + .method public hidebysig specialname + instance default valuetype NAnt.DotNet.Types.DebugOutput get_DebugOutput () cil managed + { + // Method begins at RVA 0x9f10 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.DotNet.Types.DebugOutput V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::_debugOutput + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02ce: nop - IL_02cf: ldarg.0 - IL_02d0: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyFile() - IL_02d5: brfalse IL_02f8 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_DebugOutput - IL_02da: nop - IL_02db: ldarg.0 - IL_02dc: ldloc.0 - IL_02dd: ldstr "keyfile" - IL_02e2: ldarg.0 - IL_02e3: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() - IL_02e8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02ed: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_02f2: nop - IL_02f3: br IL_0328 + // method line 385 + .method public hidebysig specialname + instance default void set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') cil managed + { + // Method begins at RVA 0x9f2b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::_debugOutput + IL_0008: ret + } // end of method CscTask::set_DebugOutput - IL_02f8: nop - IL_02f9: ldarg.0 - IL_02fa: ldc.i4 4000 - IL_02ff: ldstr "String_CompilerDoesNotSupportKeyFile" - IL_0304: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0309: ldc.i4.1 - IL_030a: newarr [mscorlib]System.Object - IL_030f: dup - IL_0310: ldc.i4.0 - IL_0311: ldarg.0 - IL_0312: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0317: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_031c: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_0321: stelem.ref - IL_0322: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0327: nop - IL_0328: nop - IL_0329: ldarg.0 - IL_032a: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() - IL_032f: brfalse IL_03d7 + // method line 386 + .method public virtual hidebysig specialname + instance default bool get_Debug () cil managed + { + // Method begins at RVA 0x9f38 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.CscTask::get_DebugOutput() + IL_0007: ldc.i4.0 + IL_0008: ceq + IL_000a: ldc.i4.0 + IL_000b: ceq + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0334: nop - IL_0335: ldarg.0 - IL_0336: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsDelaySign() - IL_033b: brfalse IL_03a6 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CscTask::get_Debug - IL_0340: nop - IL_0341: ldarg.0 - IL_0342: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() - IL_0347: stloc.s 6 - IL_0349: ldloc.s 6 - IL_034b: ldc.i4.2 - IL_034c: beq IL_035e + // method line 387 + .method public virtual hidebysig specialname + instance default void set_Debug (bool 'value') cil managed + { + // Method begins at RVA 0x9f59 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.1 + IL_0003: call instance void class NAnt.DotNet.Tasks.CscTask::set_DebugOutput(valuetype NAnt.DotNet.Types.DebugOutput) + IL_0008: ret + } // end of method CscTask::set_Debug - IL_0351: ldloc.s 6 - IL_0353: ldc.i4.1 - IL_0354: beq IL_036f + // method line 388 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_DocFile () cil managed + { + // Method begins at RVA 0x9f64 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CscTask::_docFile + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_DocFile + + // method line 389 + .method public hidebysig specialname + instance default void set_DocFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x9f7f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CscTask::_docFile + IL_0008: ret + } // end of method CscTask::set_DocFile + + // method line 390 + .method public hidebysig specialname + instance default int32 get_FileAlign () cil managed + { + // Method begins at RVA 0x9f8c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.DotNet.Tasks.CscTask::_fileAlign + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0359: br IL_0380 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_FileAlign - IL_035e: ldarg.0 - IL_035f: ldloc.0 - IL_0360: ldstr "delaysign+" - IL_0365: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_036a: leave IL_03a0 + // method line 391 + .method public hidebysig specialname + instance default void set_FileAlign (int32 'value') cil managed + { + // Method begins at RVA 0x9fa7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.DotNet.Tasks.CscTask::_fileAlign + IL_0008: ret + } // end of method CscTask::set_FileAlign - IL_036f: ldarg.0 - IL_0370: ldloc.0 - IL_0371: ldstr "delaysign-" - IL_0376: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_037b: leave IL_03a0 + // method line 392 + .method public hidebysig specialname + instance default bool get_NoStdLib () cil managed + { + // Method begins at RVA 0x9fb4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_nostdlib + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0380: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0385: ldstr "The {0}value for \"delaysign\" is not supported." - IL_038a: ldarg.0 - IL_038b: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() - IL_0390: box NAnt.DotNet.Types.DelaySign - IL_0395: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_039a: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_039f: throw - IL_03a0: nop - IL_03a1: br IL_03d6 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_NoStdLib - IL_03a6: nop - IL_03a7: ldarg.0 - IL_03a8: ldc.i4 4000 - IL_03ad: ldstr "String_CompilerDoesNotSupportDelaySign" - IL_03b2: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03b7: ldc.i4.1 - IL_03b8: newarr [mscorlib]System.Object - IL_03bd: dup - IL_03be: ldc.i4.0 - IL_03bf: ldarg.0 - IL_03c0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_03c5: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_03ca: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_03cf: stelem.ref - IL_03d0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_03d5: nop - IL_03d6: nop - IL_03d7: ldarg.0 - IL_03d8: ldloc.0 - IL_03d9: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WritePackageReferences(class [mscorlib]System.IO.TextWriter) - IL_03de: ldarg.0 - IL_03df: ldloc.0 - IL_03e0: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteWarningsAsError(class [mscorlib]System.IO.TextWriter) - IL_03e5: ldarg.0 - IL_03e6: ldloc.0 - IL_03e7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteNoWarnList(class [mscorlib]System.IO.TextWriter) - IL_03ec: nop - IL_03ed: ldarg.0 - IL_03ee: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_03f3: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_03f8: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_03fd: stloc.s 8 - .try { // 1 - IL_03ff: br IL_041d + // method line 393 + .method public hidebysig specialname + instance default void set_NoStdLib (bool 'value') cil managed + { + // Method begins at RVA 0x9fcf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_nostdlib + IL_0008: ret + } // end of method CscTask::set_NoStdLib - IL_0404: ldloc.s 8 - IL_0406: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_040b: stloc.s 7 - IL_040d: nop - IL_040e: ldarg.0 - IL_040f: ldloc.0 - IL_0410: ldstr "reference" - IL_0415: ldloc.s 7 - IL_0417: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_041c: nop - IL_041d: ldloc.s 8 - IL_041f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0424: brtrue IL_0404 + // method line 394 + .method public hidebysig specialname + instance default bool get_NoConfig () cil managed + { + // Method begins at RVA 0x9fdc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_noconfig + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0429: leave IL_0445 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_NoConfig - } // end .try 1 - finally { // 1 - IL_042e: ldloc.s 8 - IL_0430: isinst [mscorlib]System.IDisposable - IL_0435: dup - IL_0436: stloc.s 9 - IL_0438: brfalse IL_0444 + // method line 395 + .method public hidebysig specialname + instance default void set_NoConfig (bool 'value') cil managed + { + // Method begins at RVA 0x9ff7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_noconfig + IL_0008: ret + } // end of method CscTask::set_NoConfig - IL_043d: ldloc.s 9 - IL_043f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0444: endfinally - } // end handler 1 - IL_0445: ldarg.0 - IL_0446: ldloc.0 - IL_0447: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteModuleReferences(class [mscorlib]System.IO.TextWriter) - IL_044c: nop - IL_044d: ldarg.0 - IL_044e: call instance class NAnt.DotNet.Types.ResourceFileSetCollection class NAnt.DotNet.Tasks.CompilerBase::get_ResourcesList() - IL_0453: callvirt instance class NAnt.DotNet.Types.ResourceFileSetEnumerator class NAnt.DotNet.Types.ResourceFileSetCollection::GetEnumerator() - IL_0458: stloc.s 11 - .try { // 4 - IL_045a: br IL_0670 + // method line 396 + .method public hidebysig specialname + instance default bool get_Checked () cil managed + { + // Method begins at RVA 0xa004 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_checked + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_045f: ldloc.s 11 - IL_0461: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Types.ResourceFileSetEnumerator::get_Current() - IL_0466: stloc.s 10 - IL_0468: nop - IL_0469: ldloc.s 10 - IL_046b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles() - IL_0470: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0475: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_047a: ldc.i4.0 - IL_047b: ble IL_058d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_Checked - IL_0480: nop - IL_0481: ldarg.0 - IL_0482: ldloc.s 10 - IL_0484: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles() - IL_0489: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_048e: call instance void class NAnt.DotNet.Tasks.CompilerBase::CompileResxResources(class [System]System.Collections.Specialized.StringCollection) - IL_0493: nop - IL_0494: ldloc.s 10 - IL_0496: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles() - IL_049b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_04a0: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_04a5: stloc.s 13 - .try { // 2 - IL_04a7: br IL_0564 + // method line 397 + .method public hidebysig specialname + instance default void set_Checked (bool 'value') cil managed + { + // Method begins at RVA 0xa01f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_checked + IL_0008: ret + } // end of method CscTask::set_Checked - IL_04ac: ldloc.s 13 - IL_04ae: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_04b3: stloc.s 12 - IL_04b5: nop - IL_04b6: ldarg.0 - IL_04b7: ldloc.s 10 - IL_04b9: ldloc.s 12 - IL_04bb: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string) - IL_04c0: stloc.s 14 - IL_04c2: ldloc.s 12 - IL_04c4: ldstr ".resources" - IL_04c9: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_04ce: stloc.s 15 - IL_04d0: ldloc.2 - IL_04d1: ldloc.s 15 - IL_04d3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_04d8: pop - IL_04d9: ldloc.s 12 - IL_04db: ldloc.s 12 - IL_04dd: ldarg.0 - IL_04de: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_Extension() - IL_04e3: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_04e8: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) - IL_04ed: stloc.s 16 - IL_04ef: ldloc.s 16 - IL_04f1: brfalse IL_053e + // method line 398 + .method public hidebysig specialname + instance default bool get_Unsafe () cil managed + { + // Method begins at RVA 0xa02c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_unsafe + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_Unsafe - IL_04f6: nop - IL_04f7: ldloc.1 - IL_04f8: ldloc.s 16 - IL_04fa: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_04ff: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0504: brtrue IL_051d + // method line 399 + .method public hidebysig specialname + instance default void set_Unsafe (bool 'value') cil managed + { + // Method begins at RVA 0xa047 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_unsafe + IL_0008: ret + } // end of method CscTask::set_Unsafe - IL_0509: nop - IL_050a: ldloc.1 - IL_050b: ldloc.s 16 - IL_050d: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_0512: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0517: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_051c: nop - IL_051d: ldloc.1 - IL_051e: ldloc.s 16 - IL_0520: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_0525: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_052a: castclass [mscorlib]System.Collections.Hashtable - IL_052f: ldloc.s 14 - IL_0531: ldloc.s 15 - IL_0533: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0538: nop - IL_0539: br IL_0563 + // method line 400 + .method public hidebysig specialname + instance default string get_LangVersion () cil managed + { + // Method begins at RVA 0xa054 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_langVersion + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_053e: nop - IL_053f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0544: ldstr "{0},{1}" - IL_0549: ldloc.s 15 - IL_054b: ldloc.s 14 - IL_054d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0552: stloc.s 17 - IL_0554: ldarg.0 - IL_0555: ldloc.0 - IL_0556: ldstr "resource" - IL_055b: ldloc.s 17 - IL_055d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0562: nop - IL_0563: nop - IL_0564: ldloc.s 13 - IL_0566: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_056b: brtrue IL_04ac + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_LangVersion - IL_0570: leave IL_058c + // method line 401 + .method public hidebysig specialname + instance default void set_LangVersion (string 'value') cil managed + { + // Method begins at RVA 0xa06f + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_langVersion + IL_000d: ret + } // end of method CscTask::set_LangVersion - } // end .try 2 - finally { // 2 - IL_0575: ldloc.s 13 - IL_0577: isinst [mscorlib]System.IDisposable - IL_057c: dup - IL_057d: stloc.s 18 - IL_057f: brfalse IL_058b + // method line 402 + .method public hidebysig specialname + instance default bool get_Optimize () cil managed + { + // Method begins at RVA 0xa080 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_optimize + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0584: ldloc.s 18 - IL_0586: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_058b: endfinally - } // end handler 2 - IL_058c: nop - IL_058d: nop - IL_058e: ldloc.s 10 - IL_0590: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Types.ResourceFileSet::get_NonResxFiles() - IL_0595: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_059a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_059f: stloc.s 20 - .try { // 3 - IL_05a1: br IL_0647 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_Optimize - IL_05a6: ldloc.s 20 - IL_05a8: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_05ad: stloc.s 19 - IL_05af: nop - IL_05b0: ldarg.0 - IL_05b1: ldloc.s 10 - IL_05b3: ldloc.s 19 - IL_05b5: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string) - IL_05ba: stloc.s 21 - IL_05bc: ldloc.s 19 - IL_05be: ldloc.s 19 - IL_05c0: ldarg.0 - IL_05c1: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_Extension() - IL_05c6: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_05cb: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) - IL_05d0: stloc.s 22 - IL_05d2: ldloc.s 22 - IL_05d4: brfalse IL_0621 + // method line 403 + .method public hidebysig specialname + instance default void set_Optimize (bool 'value') cil managed + { + // Method begins at RVA 0xa09b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_optimize + IL_0008: ret + } // end of method CscTask::set_Optimize - IL_05d9: nop - IL_05da: ldloc.1 - IL_05db: ldloc.s 22 - IL_05dd: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_05e2: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_05e7: brtrue IL_0600 + // method line 404 + .method public hidebysig specialname + instance default string get_Platform () cil managed + { + // Method begins at RVA 0xa0a8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_platform + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_05ec: nop - IL_05ed: ldloc.1 - IL_05ee: ldloc.s 22 - IL_05f0: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_05f5: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_05fa: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_05ff: nop - IL_0600: ldloc.1 - IL_0601: ldloc.s 22 - IL_0603: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_0608: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_060d: castclass [mscorlib]System.Collections.Hashtable - IL_0612: ldloc.s 21 - IL_0614: ldloc.s 19 - IL_0616: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_061b: nop - IL_061c: br IL_0646 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_Platform - IL_0621: nop - IL_0622: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0627: ldstr "{0},{1}" - IL_062c: ldloc.s 19 - IL_062e: ldloc.s 21 - IL_0630: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0635: stloc.s 23 - IL_0637: ldarg.0 - IL_0638: ldloc.0 - IL_0639: ldstr "resource" - IL_063e: ldloc.s 23 - IL_0640: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0645: nop - IL_0646: nop - IL_0647: ldloc.s 20 - IL_0649: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_064e: brtrue IL_05a6 + // method line 405 + .method public hidebysig specialname + instance default void set_Platform (string 'value') cil managed + { + // Method begins at RVA 0xa0c3 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_platform + IL_000d: ret + } // end of method CscTask::set_Platform - IL_0653: leave IL_066f + // method line 406 + .method public hidebysig specialname + instance default string get_WarningLevel () cil managed + { + // Method begins at RVA 0xa0d4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_warningLevel + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 3 - finally { // 3 - IL_0658: ldloc.s 20 - IL_065a: isinst [mscorlib]System.IDisposable - IL_065f: dup - IL_0660: stloc.s 24 - IL_0662: brfalse IL_066e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_WarningLevel + + // method line 407 + .method public hidebysig specialname + instance default void set_WarningLevel (string 'value') cil managed + { + // Method begins at RVA 0xa0ef + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_warningLevel + IL_000d: ret + } // end of method CscTask::set_WarningLevel + + // method line 408 + .method public hidebysig specialname + instance default string get_Codepage () cil managed + { + // Method begins at RVA 0xa100 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.CscTask::_codepage + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0667: ldloc.s 24 - IL_0669: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_066e: endfinally - } // end handler 3 - IL_066f: nop - IL_0670: ldloc.s 11 - IL_0672: callvirt instance bool class NAnt.DotNet.Types.ResourceFileSetEnumerator::MoveNext() - IL_0677: brtrue IL_045f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_Codepage - IL_067c: leave IL_0698 + // method line 409 + .method public hidebysig specialname + instance default void set_Codepage (string 'value') cil managed + { + // Method begins at RVA 0xa11b + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.CscTask::_codepage + IL_000d: ret + } // end of method CscTask::set_Codepage - } // end .try 4 - finally { // 4 - IL_0681: ldloc.s 11 - IL_0683: isinst [mscorlib]System.IDisposable - IL_0688: dup - IL_0689: stloc.s 25 - IL_068b: brfalse IL_0697 + // method line 410 + .method public hidebysig specialname + instance default bool get_SupportsDocGeneration () cil managed + { + // Method begins at RVA 0xa12c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_supportsDocGeneration + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0690: ldloc.s 25 - IL_0692: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0697: endfinally - } // end handler 4 - IL_0698: nop - IL_0699: ldarg.0 - IL_069a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() - IL_069f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_06a4: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_06a9: stloc.s 27 - .try { // 5 - IL_06ab: br IL_06d2 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_SupportsDocGeneration - IL_06b0: ldloc.s 27 - IL_06b2: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_06b7: stloc.s 26 - IL_06b9: nop - IL_06ba: ldloc.0 - IL_06bb: ldstr "\"" - IL_06c0: ldloc.s 26 - IL_06c2: ldstr "\"" - IL_06c7: call string string::Concat(string, string, string) - IL_06cc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_06d1: nop - IL_06d2: ldloc.s 27 - IL_06d4: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_06d9: brtrue IL_06b0 + // method line 411 + .method public hidebysig specialname + instance default void set_SupportsDocGeneration (bool 'value') cil managed + { + // Method begins at RVA 0xa147 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsDocGeneration + IL_0008: ret + } // end of method CscTask::set_SupportsDocGeneration - IL_06de: leave IL_06fa + // method line 412 + .method public hidebysig specialname + instance default bool get_SupportsPlatform () cil managed + { + // Method begins at RVA 0xa154 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_supportsPlatform + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 5 - finally { // 5 - IL_06e3: ldloc.s 27 - IL_06e5: isinst [mscorlib]System.IDisposable - IL_06ea: dup - IL_06eb: stloc.s 28 - IL_06ed: brfalse IL_06f9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_SupportsPlatform - IL_06f2: ldloc.s 28 - IL_06f4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_06f9: endfinally - } // end handler 5 - IL_06fa: ldloc.0 - IL_06fb: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0700: ldarg.0 - IL_0701: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0706: brfalse IL_0757 + // method line 413 + .method public hidebysig specialname + instance default void set_SupportsPlatform (bool 'value') cil managed + { + // Method begins at RVA 0xa16f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsPlatform + IL_0008: ret + } // end of method CscTask::set_SupportsPlatform - IL_070b: nop - IL_070c: ldarg.0 - IL_070d: ldc.i4 3000 - IL_0712: ldstr "String_ContentsOf" - IL_0717: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_071c: ldc.i4.1 - IL_071d: newarr [mscorlib]System.Object - IL_0722: dup - IL_0723: ldc.i4.0 - IL_0724: ldarg.0 - IL_0725: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName - IL_072a: stelem.ref - IL_072b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0730: ldarg.0 - IL_0731: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName - IL_0736: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) - IL_073b: stloc.s 29 - IL_073d: ldarg.0 - IL_073e: ldc.i4 3000 - IL_0743: ldloc.s 29 - IL_0745: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_074a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_074f: ldloc.s 29 - IL_0751: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_0756: nop - IL_0757: ldarg.0 - IL_0758: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_075d: nop - IL_075e: ldloc.1 - IL_075f: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_0764: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0769: stloc.s 31 - .try { // 6 - IL_076b: br IL_07db + // method line 414 + .method public hidebysig specialname + instance default bool get_SupportsLangVersion () cil managed + { + // Method begins at RVA 0xa17c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Tasks.CscTask::_supportsLangVersion + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0770: ldloc.s 31 - IL_0772: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0777: castclass [mscorlib]System.String - IL_077c: stloc.s 30 - IL_077e: nop - IL_077f: ldarg.0 - IL_0780: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_0785: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_078a: ldloc.s 30 - IL_078c: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0791: stloc.s 32 - IL_0793: ldloc.s 32 - IL_0795: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_079a: pop - IL_079b: ldloc.s 32 - IL_079d: ldarg.0 - IL_079e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_07a3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_07a8: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_07ad: ldstr ".resources.dll" - IL_07b2: call string string::Concat(string, string) - IL_07b7: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_07bc: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_07c1: stloc.s 33 - IL_07c3: ldarg.0 - IL_07c4: ldloc.1 - IL_07c5: ldloc.s 30 - IL_07c7: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_07cc: castclass [mscorlib]System.Collections.Hashtable - IL_07d1: ldloc.s 33 - IL_07d3: ldloc.s 30 - IL_07d5: call instance void class NAnt.DotNet.Tasks.CompilerBase::LinkResourceAssembly(class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.IO.FileInfo, string) - IL_07da: nop - IL_07db: ldloc.s 31 - IL_07dd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_07e2: brtrue IL_0770 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CscTask::get_SupportsLangVersion - IL_07e7: leave IL_0803 + // method line 415 + .method public hidebysig specialname + instance default void set_SupportsLangVersion (bool 'value') cil managed + { + // Method begins at RVA 0xa197 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.CscTask::_supportsLangVersion + IL_0008: ret + } // end of method CscTask::set_SupportsLangVersion - } // end .try 6 - finally { // 6 - IL_07ec: ldloc.s 31 - IL_07ee: isinst [mscorlib]System.IDisposable - IL_07f3: dup - IL_07f4: stloc.s 34 - IL_07f6: brfalse IL_0802 + // method line 416 + .method family virtual hidebysig + instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed + { + // Method begins at RVA 0xa1a4 + // Code size 812 (0x32c) + .maxstack 7 + .locals init ( + valuetype NAnt.DotNet.Types.DebugOutput V_0, + int32 V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldstr "fullpaths" + IL_0008: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_000d: ldarg.0 + IL_000e: call instance string class NAnt.DotNet.Tasks.CscTask::get_BaseAddress() + IL_0013: brfalse IL_002c - IL_07fb: ldloc.s 34 - IL_07fd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0802: endfinally - } // end handler 6 - IL_0803: nop - IL_0804: leave IL_086c + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: ldstr "baseaddress" + IL_0020: ldarg.0 + IL_0021: call instance string class NAnt.DotNet.Tasks.CscTask::get_BaseAddress() + IL_0026: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() + IL_0032: brfalse IL_0092 - } // end .try 8 - finally { // 8 - IL_0809: nop - IL_080a: nop - IL_080b: ldloc.2 - IL_080c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0811: stloc.s 36 - .try { // 7 - IL_0813: br IL_082a + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsDocGeneration() + IL_003e: brfalse IL_0061 - IL_0818: ldloc.s 36 - IL_081a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_081f: stloc.s 35 - IL_0821: nop - IL_0822: ldloc.s 35 - IL_0824: call void class [mscorlib]System.IO.File::Delete(string) - IL_0829: nop - IL_082a: ldloc.s 36 - IL_082c: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0831: brtrue IL_0818 + IL_0043: nop + IL_0044: ldarg.0 + IL_0045: ldarg.1 + IL_0046: ldstr "doc" + IL_004b: ldarg.0 + IL_004c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() + IL_0051: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0056: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_005b: nop + IL_005c: br IL_0091 - IL_0836: leave IL_0852 + IL_0061: nop + IL_0062: ldarg.0 + IL_0063: ldc.i4 4000 + IL_0068: ldstr "String_CompilerDoesNotSupportXmlDoc" + IL_006d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0072: ldc.i4.1 + IL_0073: newarr [mscorlib]System.Object + IL_0078: dup + IL_0079: ldc.i4.0 + IL_007a: ldarg.0 + IL_007b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0080: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0085: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_008a: stelem.ref + IL_008b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0090: nop + IL_0091: nop + IL_0092: ldarg.0 + IL_0093: call instance string class NAnt.DotNet.Tasks.CscTask::get_LangVersion() + IL_0098: brfalse IL_00f3 - } // end .try 7 - finally { // 7 - IL_083b: ldloc.s 36 - IL_083d: isinst [mscorlib]System.IDisposable - IL_0842: dup - IL_0843: stloc.s 37 - IL_0845: brfalse IL_0851 + IL_009d: nop + IL_009e: ldarg.0 + IL_009f: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsLangVersion() + IL_00a4: brfalse IL_00c2 - IL_084a: ldloc.s 37 - IL_084c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0851: endfinally - } // end handler 7 - IL_0852: ldloc.0 - IL_0853: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0858: ldarg.0 - IL_0859: ldfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName - IL_085e: call void class [mscorlib]System.IO.File::Delete(string) - IL_0863: ldarg.0 - IL_0864: ldnull - IL_0865: stfld string NAnt.DotNet.Tasks.CompilerBase::_responseFileName - IL_086a: nop - IL_086b: endfinally - } // end handler 8 - IL_086c: nop - IL_086d: ret - } // end of method CompilerBase::ExecuteTask + IL_00a9: nop + IL_00aa: ldarg.0 + IL_00ab: ldarg.1 + IL_00ac: ldstr "langversion" + IL_00b1: ldarg.0 + IL_00b2: call instance string class NAnt.DotNet.Tasks.CscTask::get_LangVersion() + IL_00b7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_00bc: nop + IL_00bd: br IL_00f2 - // method line 541 - .method public hidebysig - instance default string GetManifestResourceName (class NAnt.DotNet.Types.ResourceFileSet resources, string resourcePhysicalFile, string resourceLogicalFile, string dependentFile) cil managed - { - // Method begins at RVA 0x542c - // Code size 636 (0x27c) - .maxstack 4 - .locals init ( - string V_0, - class [mscorlib]System.Globalization.CultureInfo V_1, - string V_2, - class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_3, - string V_4, - string V_5, - string V_6, - string[] V_7, - int32 V_8, - int32 V_9, - string V_10) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_00c2: nop + IL_00c3: ldarg.0 + IL_00c4: ldc.i4 4000 + IL_00c9: ldstr "String_CompilerDoesNotSupportLangVersion" + IL_00ce: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00d3: ldc.i4.1 + IL_00d4: newarr [mscorlib]System.Object + IL_00d9: dup + IL_00da: ldc.i4.0 + IL_00db: ldarg.0 + IL_00dc: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00e1: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_00e6: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_00eb: stelem.ref + IL_00ec: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00f1: nop + IL_00f2: nop + IL_00f3: ldarg.0 + IL_00f4: call instance string class NAnt.DotNet.Tasks.CscTask::get_Platform() + IL_00f9: brfalse IL_0154 - IL_0007: nop - IL_0008: ldstr "resources" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: brtrue IL_0025 + IL_00fe: nop + IL_00ff: ldarg.0 + IL_0100: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsPlatform() + IL_0105: brfalse IL_0123 - IL_0019: nop - IL_001a: ldstr "resourcePhysicalFile" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.3 - IL_0026: brtrue IL_0037 + IL_010a: nop + IL_010b: ldarg.0 + IL_010c: ldarg.1 + IL_010d: ldstr "platform" + IL_0112: ldarg.0 + IL_0113: call instance string class NAnt.DotNet.Tasks.CscTask::get_Platform() + IL_0118: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_011d: nop + IL_011e: br IL_0153 - IL_002b: nop - IL_002c: ldstr "resourceLogicalFile" - IL_0031: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0036: throw - IL_0037: ldarg.2 - IL_0038: call bool class [mscorlib]System.IO.File::Exists(string) - IL_003d: brtrue IL_0064 + IL_0123: nop + IL_0124: ldarg.0 + IL_0125: ldc.i4 4000 + IL_012a: ldstr "String_CompilerDoesNotSupportPlatform" + IL_012f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0134: ldc.i4.1 + IL_0135: newarr [mscorlib]System.Object + IL_013a: dup + IL_013b: ldc.i4.0 + IL_013c: ldarg.0 + IL_013d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0142: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0147: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_014c: stelem.ref + IL_014d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0152: nop + IL_0153: nop + IL_0154: ldarg.0 + IL_0155: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_015a: brfalse IL_0178 - IL_0042: nop - IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0048: ldstr "NA2009" - IL_004d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0052: ldarg.2 - IL_0053: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0058: ldarg.0 - IL_0059: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_005e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0063: throw - IL_0064: ldnull - IL_0065: stloc.0 - IL_0066: ldarg.3 - IL_0067: ldarg.s 4 - IL_0069: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) - IL_006e: stloc.1 - IL_006f: ldarg.2 - IL_0070: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0075: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_007f: stloc.2 - IL_0080: ldloc.2 - IL_0081: brfalse IL_01c9 + IL_015f: nop + IL_0160: ldarg.0 + IL_0161: ldarg.1 + IL_0162: ldstr "win32res" + IL_0167: ldarg.0 + IL_0168: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() + IL_016d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0172: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0177: nop + IL_0178: ldarg.0 + IL_0179: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.CscTask::get_DebugOutput() + IL_017e: stloc.0 + IL_017f: ldloc.0 + IL_0180: switch ( + IL_019a, + IL_019f, + IL_01d2, + IL_01e3) + IL_0195: br IL_01f9 - IL_0086: ldloc.2 - IL_0087: ldstr ".resx" - IL_008c: call bool string::op_Equality(string, string) - IL_0091: brtrue IL_00ab + IL_019a: br IL_0224 - IL_0096: ldloc.2 - IL_0097: ldstr ".resources" - IL_009c: call bool string::op_Equality(string, string) - IL_00a1: brtrue IL_01bb + IL_019f: ldarg.0 + IL_01a0: ldarg.1 + IL_01a1: ldstr "debug" + IL_01a6: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_01ab: ldarg.0 + IL_01ac: ldarg.1 + IL_01ad: ldstr "define" + IL_01b2: ldstr "DEBUG" + IL_01b7: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_01bc: ldarg.0 + IL_01bd: ldarg.1 + IL_01be: ldstr "define" + IL_01c3: ldstr "TRACE" + IL_01c8: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_01cd: br IL_0224 - IL_00a6: br IL_01c9 + IL_01d2: ldarg.0 + IL_01d3: ldarg.1 + IL_01d4: ldstr "debug" + IL_01d9: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_01de: br IL_0224 - IL_00ab: ldarg.0 - IL_00ac: ldarg.s 4 - IL_00ae: ldloc.1 - IL_00af: callvirt instance class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage class NAnt.DotNet.Tasks.CompilerBase::GetResourceLinkage(string, class [mscorlib]System.Globalization.CultureInfo) - IL_00b4: stloc.3 - IL_00b5: ldloc.3 - IL_00b6: brfalse IL_00c6 + IL_01e3: ldarg.0 + IL_01e4: ldarg.1 + IL_01e5: ldstr "debug" + IL_01ea: ldstr "pdbonly" + IL_01ef: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_01f4: br IL_0224 - IL_00bb: ldloc.3 - IL_00bc: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() - IL_00c1: brtrue IL_00e0 + IL_01f9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01fe: ldstr "NA2011" + IL_0203: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0208: ldarg.0 + IL_0209: call instance valuetype NAnt.DotNet.Types.DebugOutput class NAnt.DotNet.Tasks.CscTask::get_DebugOutput() + IL_020e: box NAnt.DotNet.Types.DebugOutput + IL_0213: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0218: ldarg.0 + IL_0219: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_021e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0223: throw + IL_0224: ldarg.0 + IL_0225: call instance int32 class NAnt.DotNet.Tasks.CscTask::get_FileAlign() + IL_022a: ldc.i4.0 + IL_022b: ble IL_0251 - IL_00c6: nop - IL_00c7: ldarg.1 - IL_00c8: ldarg.2 - IL_00c9: ldarg.3 - IL_00ca: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) - IL_00cf: ldstr "resources" - IL_00d4: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_00d9: stloc.0 - IL_00da: nop - IL_00db: br IL_01b6 + IL_0230: nop + IL_0231: ldarg.0 + IL_0232: ldarg.1 + IL_0233: ldstr "filealign" + IL_0238: ldarg.0 + IL_0239: call instance int32 class NAnt.DotNet.Tasks.CscTask::get_FileAlign() + IL_023e: stloc.1 + IL_023f: ldloca.s 1 + IL_0241: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0246: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_024b: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_0250: nop + IL_0251: ldarg.0 + IL_0252: call instance bool class NAnt.DotNet.Tasks.CscTask::get_NoStdLib() + IL_0257: brfalse IL_026a - IL_00e0: nop - IL_00e1: ldloc.3 - IL_00e2: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasClassName() - IL_00e7: brtrue IL_0170 + IL_025c: nop + IL_025d: ldarg.0 + IL_025e: ldarg.1 + IL_025f: ldstr "nostdlib" + IL_0264: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0269: nop + IL_026a: ldarg.0 + IL_026b: call instance bool class NAnt.DotNet.Tasks.CscTask::get_Checked() + IL_0270: brfalse IL_0283 - IL_00ec: nop - IL_00ed: ldarg.2 - IL_00ee: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_00f3: stloc.s 4 - IL_00f5: ldloc.s 4 - IL_00f7: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_00fc: ldsfld string [mscorlib]System.String::Empty - IL_0101: call bool string::op_Inequality(string, string) - IL_0106: brfalse IL_0167 + IL_0275: nop + IL_0276: ldarg.0 + IL_0277: ldarg.1 + IL_0278: ldstr "checked" + IL_027d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_0282: nop + IL_0283: ldarg.0 + IL_0284: call instance bool class NAnt.DotNet.Tasks.CscTask::get_Unsafe() + IL_0289: brfalse IL_029c - IL_010b: nop - IL_010c: ldloc.s 4 - IL_010e: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0113: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0118: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_011d: stloc.s 5 - IL_011f: nop - IL_0120: ldsfld string[] NAnt.DotNet.Tasks.CompilerBase::CodebehindExtensions - IL_0125: stloc.s 7 - IL_0127: ldc.i4.0 - IL_0128: stloc.s 8 - IL_012a: br IL_015b + IL_028e: nop + IL_028f: ldarg.0 + IL_0290: ldarg.1 + IL_0291: ldstr "unsafe" + IL_0296: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_029b: nop + IL_029c: ldarg.0 + IL_029d: call instance bool class NAnt.DotNet.Tasks.CscTask::get_Optimize() + IL_02a2: brfalse IL_02b5 - IL_012f: ldloc.s 7 - IL_0131: ldloc.s 8 - IL_0133: ldelem.ref - IL_0134: stloc.s 6 - IL_0136: nop - IL_0137: ldloc.s 6 - IL_0139: ldloc.s 5 - IL_013b: call bool string::op_Equality(string, string) - IL_0140: brfalse IL_0154 + IL_02a7: nop + IL_02a8: ldarg.0 + IL_02a9: ldarg.1 + IL_02aa: ldstr "optimize" + IL_02af: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) + IL_02b4: nop + IL_02b5: ldarg.0 + IL_02b6: call instance string class NAnt.DotNet.Tasks.CscTask::get_WarningLevel() + IL_02bb: brfalse IL_02d4 - IL_0145: nop - IL_0146: ldloc.s 4 - IL_0148: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_014d: stloc.s 4 - IL_014f: br IL_0166 + IL_02c0: nop + IL_02c1: ldarg.0 + IL_02c2: ldarg.1 + IL_02c3: ldstr "warn" + IL_02c8: ldarg.0 + IL_02c9: call instance string class NAnt.DotNet.Tasks.CscTask::get_WarningLevel() + IL_02ce: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_02d3: nop + IL_02d4: ldarg.0 + IL_02d5: call instance string class NAnt.DotNet.Tasks.CscTask::get_Codepage() + IL_02da: brfalse IL_02f3 - IL_0154: nop - IL_0155: ldloc.s 8 - IL_0157: ldc.i4.1 - IL_0158: add - IL_0159: stloc.s 8 - IL_015b: ldloc.s 8 - IL_015d: ldloc.s 7 - IL_015f: ldlen - IL_0160: conv.i4 - IL_0161: blt IL_012f + IL_02df: nop + IL_02e0: ldarg.0 + IL_02e1: ldarg.1 + IL_02e2: ldstr "codepage" + IL_02e7: ldarg.0 + IL_02e8: call instance string class NAnt.DotNet.Tasks.CscTask::get_Codepage() + IL_02ed: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) + IL_02f2: nop + IL_02f3: ldarg.0 + IL_02f4: call instance bool class NAnt.DotNet.Tasks.CscTask::get_NoConfig() + IL_02f9: brfalse IL_032b - IL_0166: nop - IL_0167: ldloc.3 - IL_0168: ldloc.s 4 - IL_016a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_ClassName(string) - IL_016f: nop - IL_0170: ldloc.3 - IL_0171: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() - IL_0176: brfalse IL_0193 + IL_02fe: ldarg.0 + IL_02ff: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0304: ldstr "/noconfig" + IL_0309: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Contains(string) + IL_030e: brtrue IL_032b - IL_017b: nop - IL_017c: ldloc.3 - IL_017d: callvirt instance string object::ToString() - IL_0182: ldstr ".resources" - IL_0187: call string string::Concat(string, string) - IL_018c: stloc.0 - IL_018d: nop - IL_018e: br IL_01b5 + IL_0313: nop + IL_0314: ldarg.0 + IL_0315: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_031a: ldstr "/noconfig" + IL_031f: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0324: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0329: pop + IL_032a: nop + IL_032b: ret + } // end of method CscTask::WriteOptions - IL_0193: nop - IL_0194: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0199: ldstr "NA2010" - IL_019e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01a3: ldarg.2 - IL_01a4: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01a9: ldarg.0 - IL_01aa: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_01af: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_01b4: throw - IL_01b5: nop - IL_01b6: br IL_0271 + // method line 417 + .method family virtual hidebysig + instance default bool NeedsCompiling () cil managed + { + // Method begins at RVA 0xa4dc + // Code size 118 (0x76) + .maxstack 7 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::NeedsCompiling() + IL_0007: brfalse IL_0014 + + IL_000c: nop + IL_000d: ldc.i4.1 + IL_000e: stloc.0 + IL_000f: br IL_0074 + + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() + IL_001a: brfalse IL_006d - IL_01bb: ldarg.1 - IL_01bc: ldarg.2 - IL_01bd: ldarg.3 - IL_01be: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) - IL_01c3: stloc.0 - IL_01c4: br IL_0271 + IL_001f: ldarg.0 + IL_0020: call instance bool class NAnt.DotNet.Tasks.CscTask::get_SupportsDocGeneration() + IL_0025: brfalse IL_006d - IL_01c9: ldarg.2 - IL_01ca: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_01cf: ldstr "licenses.licx" - IL_01d4: call bool string::op_Equality(string, string) - IL_01d9: brfalse IL_0200 + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() + IL_0031: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0036: brtrue IL_006c - IL_01de: nop - IL_01df: ldarg.0 - IL_01e0: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_01e5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01ea: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_01ef: ldstr ".licenses" - IL_01f4: call string string::Concat(string, string) - IL_01f9: stloc.0 - IL_01fa: nop - IL_01fb: br IL_026c + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: ldc.i4 2000 + IL_0042: ldstr "String_DocFileDoesNotExist" + IL_0047: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004c: ldc.i4.1 + IL_004d: newarr [mscorlib]System.Object + IL_0052: dup + IL_0053: ldc.i4.0 + IL_0054: ldarg.0 + IL_0055: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CscTask::get_DocFile() + IL_005a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005f: stelem.ref + IL_0060: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0065: ldc.i4.1 + IL_0066: stloc.0 + IL_0067: br IL_0074 - IL_0200: nop - IL_0201: ldloc.1 - IL_0202: brfalse IL_0260 + IL_006c: nop + IL_006d: ldc.i4.0 + IL_006e: stloc.0 + IL_006f: br IL_0074 - IL_0207: nop - IL_0208: ldarg.1 - IL_0209: ldarg.2 - IL_020a: ldarg.3 - IL_020b: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) - IL_0210: stloc.0 - IL_0211: ldloc.0 - IL_0212: ldstr "." - IL_0217: ldloc.1 - IL_0218: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_021d: call string string::Concat(string, string) - IL_0222: callvirt instance int32 string::LastIndexOf(string) - IL_0227: stloc.s 9 - IL_0229: ldloc.0 - IL_022a: ldc.i4.0 - IL_022b: ldloc.s 9 - IL_022d: callvirt instance string string::Substring(int32, int32) - IL_0232: ldloc.0 - IL_0233: ldloc.s 9 - IL_0235: callvirt instance string string::Substring(int32) - IL_023a: ldstr "." - IL_023f: ldloc.1 - IL_0240: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_0245: call string string::Concat(string, string) - IL_024a: ldsfld string [mscorlib]System.String::Empty - IL_024f: callvirt instance string string::Replace(string, string) - IL_0254: call string string::Concat(string, string) - IL_0259: stloc.0 - IL_025a: nop - IL_025b: br IL_026b + IL_0074: ldloc.0 + IL_0075: ret + } // end of method CscTask::NeedsCompiling - IL_0260: nop - IL_0261: ldarg.1 - IL_0262: ldarg.2 - IL_0263: ldarg.3 - IL_0264: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) - IL_0269: stloc.0 - IL_026a: nop - IL_026b: nop - IL_026c: br IL_0271 + // method line 418 + .method public virtual hidebysig specialname + instance default string get_Extension () cil managed + { + // Method begins at RVA 0xa560 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr "cs" + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0271: ldloc.0 - IL_0272: stloc.s 10 - IL_0274: br IL_0279 + IL_000c: ldloc.0 + IL_000d: ret + } // end of method CscTask::get_Extension - IL_0279: ldloc.s 10 - IL_027b: ret - } // end of method CompilerBase::GetManifestResourceName + // method line 419 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed + { + // Method begins at RVA 0xa57c + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + class [System]System.Text.RegularExpressions.Regex V_0) + IL_0000: nop + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_classNameRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 542 - .method public hidebysig - instance default string GetManifestResourceName (class NAnt.DotNet.Types.ResourceFileSet resources, string resourceFile) cil managed + IL_000c: ldloc.0 + IL_000d: ret + } // end of method CscTask::get_ClassNameRegex + + // method line 420 + .method family virtual hidebysig specialname + instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed { - // Method begins at RVA 0x56b4 - // Code size 303 (0x12f) - .maxstack 5 + // Method begins at RVA 0xa598 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - string V_0, - string V_1, - class [mscorlib]System.Globalization.CultureInfo V_2, - int32 V_3, - string V_4) + class [System]System.Text.RegularExpressions.Regex V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_namespaceRegex + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0007: nop - IL_0008: ldstr "resources" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: brtrue IL_0025 + IL_000c: ldloc.0 + IL_000d: ret + } // end of method CscTask::get_NamespaceRegex - IL_0019: nop - IL_001a: ldstr "resourceFile" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.2 - IL_0026: call bool class [mscorlib]System.IO.File::Exists(string) - IL_002b: brtrue IL_0052 + // method line 421 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0xa5b2 + // Code size 31 (0x1f) + .maxstack 8 + IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|class\\s+(?\\w+)|(?\\w+))*" + IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_classNameRegex + IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|namespace\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" + IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::_namespaceRegex + IL_001e: ret + } // end of method CscTask::.cctor - IL_0030: nop - IL_0031: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0036: ldstr "NA2009" - IL_003b: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0040: ldarg.2 - IL_0041: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0046: ldarg.0 - IL_0047: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_004c: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0051: throw - IL_0052: ldarg.2 - IL_0053: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0058: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005d: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0062: stloc.0 - IL_0063: ldloc.0 - IL_0064: brfalse IL_011b + .property instance string BaseAddress () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 62 61 73 65 61 64 64 72 65 73 73 00 00 ) // ...baseaddress.. - IL_0069: ldloc.0 - IL_006a: ldstr ".resx" - IL_006f: call bool string::op_Equality(string, string) - IL_0074: brtrue IL_007e + .get instance default string NAnt.DotNet.Tasks.CscTask::get_BaseAddress () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_BaseAddress (string 'value') + } + .property instance valuetype NAnt.DotNet.Types.DebugOutput DebugOutput () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. - IL_0079: br IL_011b + .get instance default valuetype NAnt.DotNet.Types.DebugOutput NAnt.DotNet.Tasks.CscTask::get_DebugOutput () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_DebugOutput (valuetype NAnt.DotNet.Types.DebugOutput 'value') + } + .property instance bool Debug () + { + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Debug () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_Debug (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo DocFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 6F 63 00 00 ) // ...doc.. - IL_007e: ldarg.2 - IL_007f: ldarg.0 - IL_0080: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_Extension() - IL_0085: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_008a: stloc.1 - IL_008b: ldarg.2 - IL_008c: ldloc.1 - IL_008d: call class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) - IL_0092: stloc.2 - IL_0093: ldloc.2 - IL_0094: brfalse IL_010a + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CscTask::get_DocFile () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_DocFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance int32 FileAlign () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 66 69 6C 65 61 6C 69 67 6E 00 00 ) // ...filealign.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 02 00 00 00 20 00 00 00 00 ) // ....... .... + + .get instance default int32 NAnt.DotNet.Tasks.CscTask::get_FileAlign () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_FileAlign (int32 'value') + } + .property instance bool NoStdLib () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0099: nop - IL_009a: ldloc.1 - IL_009b: ldstr "." - IL_00a0: ldloc.2 - IL_00a1: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_00a6: call string string::Concat(string, string) - IL_00ab: callvirt instance int32 string::LastIndexOf(string) - IL_00b0: stloc.3 - IL_00b1: ldloc.3 - IL_00b2: ldc.i4.0 - IL_00b3: blt IL_0109 + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_NoStdLib () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_NoStdLib (bool 'value') + } + .property instance bool NoConfig () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = (01 00 08 6E 6F 63 6F 6E 66 69 67 00 00 ) // ...noconfig.. - IL_00b8: nop - IL_00b9: ldloc.3 - IL_00ba: ldloc.2 - IL_00bb: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_00c0: callvirt instance int32 string::get_Length() - IL_00c5: add - IL_00c6: ldc.i4.1 - IL_00c7: add - IL_00c8: ldloc.1 - IL_00c9: callvirt instance int32 string::get_Length() - IL_00ce: bge IL_00fd + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 63 6F 6E 66 69 67 00 00 ) // ...noconfig.. - IL_00d3: nop - IL_00d4: ldloc.1 - IL_00d5: ldc.i4.0 - IL_00d6: ldloc.3 - IL_00d7: callvirt instance string string::Substring(int32, int32) - IL_00dc: ldloc.1 - IL_00dd: ldloc.3 - IL_00de: ldloc.2 - IL_00df: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_00e4: callvirt instance int32 string::get_Length() - IL_00e9: add - IL_00ea: ldc.i4.1 - IL_00eb: add - IL_00ec: callvirt instance string string::Substring(int32) - IL_00f1: call string string::Concat(string, string) - IL_00f6: stloc.1 - IL_00f7: nop - IL_00f8: br IL_0108 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00fd: nop - IL_00fe: ldloc.1 - IL_00ff: ldc.i4.0 - IL_0100: ldloc.3 - IL_0101: callvirt instance string string::Substring(int32, int32) - IL_0106: stloc.1 - IL_0107: nop - IL_0108: nop - IL_0109: nop - IL_010a: ldarg.0 - IL_010b: ldarg.1 - IL_010c: ldarg.2 - IL_010d: ldarg.2 - IL_010e: ldloc.1 - IL_010f: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string, string, string) - IL_0114: stloc.s 4 - IL_0116: br IL_012c + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_NoConfig () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_NoConfig (bool 'value') + } + .property instance bool Checked () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 63 68 65 63 6B 65 64 00 00 ) // ...checked.. - IL_011b: ldarg.0 - IL_011c: ldarg.1 - IL_011d: ldarg.2 - IL_011e: ldarg.2 - IL_011f: ldnull - IL_0120: call instance string class NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class NAnt.DotNet.Types.ResourceFileSet, string, string, string) - IL_0125: stloc.s 4 - IL_0127: br IL_012c + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_012c: ldloc.s 4 - IL_012e: ret - } // end of method CompilerBase::GetManifestResourceName + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Checked () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_Checked (bool 'value') + } + .property instance bool Unsafe () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 73 61 66 65 00 00 ) // ...unsafe.. - // method line 543 - .method public virtual hidebysig newslot - instance default class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage PerformSearchForResourceLinkage (class [mscorlib]System.IO.TextReader sr) cil managed - { - // Method begins at RVA 0x57f0 - // Code size 314 (0x13a) - .maxstack 3 - .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0, - class [System]System.Text.RegularExpressions.Regex V_1, - string V_2, - string V_3, - string V_4, - class [System]System.Text.RegularExpressions.Match V_5, - class [System]System.Text.RegularExpressions.Group V_6, - class [System]System.Text.RegularExpressions.Capture V_7, - class [mscorlib]System.Collections.IEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - class [System]System.Text.RegularExpressions.Match V_10, - class [System]System.Text.RegularExpressions.Group V_11, - class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_12) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class [System]System.Text.RegularExpressions.Regex class NAnt.DotNet.Tasks.CompilerBase::get_NamespaceRegex() - IL_0007: stloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance class [System]System.Text.RegularExpressions.Regex class NAnt.DotNet.Tasks.CompilerBase::get_ClassNameRegex() - IL_000e: stloc.1 - IL_000f: ldstr "" - IL_0014: stloc.2 - IL_0015: ldstr "" - IL_001a: stloc.3 - IL_001b: br IL_011d + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0020: nop - IL_0021: ldarg.1 - IL_0022: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0027: stloc.s 4 - IL_0029: ldloc.0 - IL_002a: ldloc.s 4 - IL_002c: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0031: stloc.s 5 - IL_0033: ldloc.s 5 - IL_0035: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_003a: brfalse IL_00d7 + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Unsafe () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_Unsafe (bool 'value') + } + .property instance string LangVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 6C 61 6E 67 76 65 72 73 69 6F 6E 00 00 ) // ...langversion.. - IL_003f: nop - IL_0040: ldloc.s 5 - IL_0042: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0047: ldstr "namespace" - IL_004c: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_0051: stloc.s 6 - IL_0053: ldloc.s 6 - IL_0055: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_005a: brfalse IL_00d6 + .get instance default string NAnt.DotNet.Tasks.CscTask::get_LangVersion () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_LangVersion (string 'value') + } + .property instance bool Optimize () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6F 70 74 69 6D 69 7A 65 00 00 ) // ...optimize.. - IL_005f: nop - IL_0060: nop - IL_0061: ldloc.s 6 - IL_0063: callvirt instance class [System]System.Text.RegularExpressions.CaptureCollection class [System]System.Text.RegularExpressions.Group::get_Captures() - IL_0068: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Text.RegularExpressions.CaptureCollection::GetEnumerator() - IL_006d: stloc.s 8 - .try { // 0 - IL_006f: br IL_00ad + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0074: ldloc.s 8 - IL_0076: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_007b: castclass [System]System.Text.RegularExpressions.Capture - IL_0080: stloc.s 7 - IL_0082: nop - IL_0083: ldloc.2 - IL_0084: ldloc.2 - IL_0085: callvirt instance int32 string::get_Length() - IL_008a: ldc.i4.0 - IL_008b: ble IL_009a + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_Optimize () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_Optimize (bool 'value') + } + .property instance string Platform () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 6C 61 74 66 6F 72 6D 00 00 ) // ...platform.. - IL_0090: ldstr "." - IL_0095: br IL_009f + .get instance default string NAnt.DotNet.Tasks.CscTask::get_Platform () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_Platform (string 'value') + } + .property instance string WarningLevel () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 77 61 72 6E 69 6E 67 6C 65 76 65 6C 00 // ...warninglevel. + 00 ) // . - IL_009a: ldstr "" - IL_009f: ldloc.s 7 - IL_00a1: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_00a6: call string string::Concat(string, string, string) - IL_00ab: stloc.2 - IL_00ac: nop - IL_00ad: ldloc.s 8 - IL_00af: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00b4: brtrue IL_0074 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 04 00 00 00 00 00 ) // ............ - IL_00b9: leave IL_00d5 + .get instance default string NAnt.DotNet.Tasks.CscTask::get_WarningLevel () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_WarningLevel (string 'value') + } + .property instance string Codepage () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 70 61 67 65 00 00 ) // ...codepage.. - } // end .try 0 - finally { // 0 - IL_00be: ldloc.s 8 - IL_00c0: isinst [mscorlib]System.IDisposable - IL_00c5: dup - IL_00c6: stloc.s 9 - IL_00c8: brfalse IL_00d4 + .get instance default string NAnt.DotNet.Tasks.CscTask::get_Codepage () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_Codepage (string 'value') + } + .property instance bool SupportsDocGeneration () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 15 73 75 70 70 6F 72 74 73 64 6F 63 67 65 // ...supportsdocge + 6E 65 72 61 74 69 6F 6E 00 00 ) // neration.. - IL_00cd: ldloc.s 9 - IL_00cf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d4: endfinally - } // end handler 0 - IL_00d5: nop - IL_00d6: nop - IL_00d7: ldloc.1 - IL_00d8: ldloc.s 4 - IL_00da: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_00df: stloc.s 10 - IL_00e1: ldloc.s 10 - IL_00e3: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_00e8: brfalse IL_011c + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_SupportsDocGeneration () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_SupportsDocGeneration (bool 'value') + } + .property instance bool SupportsPlatform () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 10 73 75 70 70 6F 72 74 73 70 6C 61 74 66 // ...supportsplatf + 6F 72 6D 00 00 ) // orm.. - IL_00ed: nop - IL_00ee: ldloc.s 10 - IL_00f0: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_00f5: ldstr "class" - IL_00fa: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_00ff: stloc.s 11 - IL_0101: ldloc.s 11 - IL_0103: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_0108: brfalse IL_011b + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_SupportsPlatform () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_SupportsPlatform (bool 'value') + } + .property instance bool SupportsLangVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 13 73 75 70 70 6F 72 74 73 6C 61 6E 67 76 // ...supportslangv + 65 72 73 69 6F 6E 00 00 ) // ersion.. - IL_010d: nop - IL_010e: ldloc.s 11 - IL_0110: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0115: stloc.3 - IL_0116: br IL_0129 + .get instance default bool NAnt.DotNet.Tasks.CscTask::get_SupportsLangVersion () + .set instance default void NAnt.DotNet.Tasks.CscTask::set_SupportsLangVersion (bool 'value') + } + .property instance string Extension () + { + .get instance default string NAnt.DotNet.Tasks.CscTask::get_Extension () + } + .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::get_ClassNameRegex () + } + .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () + { + .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CscTask::get_NamespaceRegex () + } + } // end of class NAnt.DotNet.Tasks.CscTask +} - IL_011b: nop - IL_011c: nop - IL_011d: ldarg.1 - IL_011e: callvirt instance int32 class [mscorlib]System.IO.TextReader::Peek() - IL_0123: ldc.i4.m1 - IL_0124: bgt IL_0020 +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi serializable beforefieldinit AssemblyInfoTask + extends [NAnt.Core]NAnt.Core.Task + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 61 73 6D 69 6E 66 6F 00 00 ) // ...asminfo.. - IL_0129: ldloc.2 - IL_012a: ldloc.3 - IL_012b: newobj instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::'.ctor'(string, string) - IL_0130: stloc.s 12 - IL_0132: br IL_0137 + .field private class [mscorlib]System.IO.FileInfo _output + .field private valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage _language + .field private class NAnt.DotNet.Types.AssemblyAttributeCollection _attributes + .field private class NAnt.DotNet.Types.NamespaceImportCollection _imports + .field private class NAnt.DotNet.Types.AssemblyFileSet _references - IL_0137: ldloc.s 12 - IL_0139: ret - } // end of method CompilerBase::PerformSearchForResourceLinkage + // method line 422 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xa5d2 + // Code size 47 (0x2f) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::_language + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.DotNet.Types.AssemblyAttributeCollection::'.ctor'() + IL_000d: stfld class NAnt.DotNet.Types.AssemblyAttributeCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_attributes + IL_0012: ldarg.0 + IL_0013: newobj instance void class NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() + IL_0018: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_imports + IL_001d: ldarg.0 + IL_001e: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0023: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::_references + IL_0028: ldarg.0 + IL_0029: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_002e: ret + } // end of method AssemblyInfoTask::.ctor - // method line 544 - .method family virtual hidebysig newslot - instance default void WritePackageReferences (class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 423 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed { - // Method begins at RVA 0x5948 - // Code size 221 (0xdd) - .maxstack 7 + // Method begins at RVA 0xa604 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class NAnt.DotNet.Types.Package V_1, - class NAnt.DotNet.Types.PackageEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: callvirt instance class NAnt.DotNet.Types.PackageCollection class NAnt.DotNet.Tasks.CompilerBase::get_Packages() - IL_000e: callvirt instance class NAnt.DotNet.Types.PackageEnumerator class NAnt.DotNet.Types.PackageCollection::GetEnumerator() - IL_0013: stloc.2 - .try { // 0 - IL_0014: br IL_004e - - IL_0019: ldloc.2 - IL_001a: callvirt instance class NAnt.DotNet.Types.Package class NAnt.DotNet.Types.PackageEnumerator::get_Current() - IL_001f: stloc.1 - IL_0020: nop - IL_0021: ldloc.1 - IL_0022: callvirt instance bool class NAnt.DotNet.Types.Package::get_IfDefined() - IL_0027: brfalse IL_004d - - IL_002c: ldloc.1 - IL_002d: callvirt instance bool class NAnt.DotNet.Types.Package::get_UnlessDefined() - IL_0032: brtrue IL_004d + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyInfoTask::_output + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0037: nop - IL_0038: ldloc.0 - IL_0039: ldloc.1 - IL_003a: callvirt instance string class NAnt.DotNet.Types.Package::get_PackageName() - IL_003f: ldc.i4.s 0x3b - IL_0041: ldc.i4.0 - IL_0042: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0047: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_004c: nop - IL_004d: nop - IL_004e: ldloc.2 - IL_004f: callvirt instance bool class NAnt.DotNet.Types.PackageEnumerator::MoveNext() - IL_0054: brtrue IL_0019 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyInfoTask::get_Output - IL_0059: leave IL_0072 + // method line 424 + .method public hidebysig specialname + instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0xa61f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyInfoTask::_output + IL_0008: ret + } // end of method AssemblyInfoTask::set_Output - } // end .try 0 - finally { // 0 - IL_005e: ldloc.2 - IL_005f: isinst [mscorlib]System.IDisposable - IL_0064: dup - IL_0065: stloc.3 - IL_0066: brfalse IL_0071 + // method line 425 + .method public hidebysig specialname + instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage get_Language () cil managed + { + // Method begins at RVA 0xa62c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::_language + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_006b: ldloc.3 - IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0071: endfinally - } // end handler 0 - IL_0072: ldloc.0 - IL_0073: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0078: brtrue IL_0083 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyInfoTask::get_Language - IL_007d: nop - IL_007e: br IL_00dc + // method line 426 + .method public hidebysig specialname + instance default void set_Language (valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage 'value') cil managed + { + // Method begins at RVA 0xa648 + // Code size 70 (0x46) + .maxstack 3 + IL_0000: nop + IL_0001: ldtoken NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: box NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage + IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0016: brtrue IL_003c - IL_0083: ldarg.0 - IL_0084: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsPackageReferences() - IL_0089: brfalse IL_00ac + IL_001b: nop + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: ldstr "NA2002" + IL_0026: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_002b: ldarg.1 + IL_002c: box NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage + IL_0031: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0036: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_003b: throw + IL_003c: nop + IL_003d: ldarg.0 + IL_003e: ldarg.1 + IL_003f: stfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::_language + IL_0044: nop + IL_0045: ret + } // end of method AssemblyInfoTask::set_Language - IL_008e: nop - IL_008f: ldarg.0 - IL_0090: ldarg.1 - IL_0091: ldstr "pkg" - IL_0096: ldstr "," - IL_009b: ldloc.0 - IL_009c: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) - IL_00a1: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_00a6: nop - IL_00a7: br IL_00dc + // method line 427 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyAttributeCollection get_AssemblyAttributes () cil managed + { + // Method begins at RVA 0xa69c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.AssemblyAttributeCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyAttributeCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_attributes + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00ac: nop - IL_00ad: ldarg.0 - IL_00ae: ldc.i4 4000 - IL_00b3: ldstr "String_CompilerDoesNotSupportPackageReferences" - IL_00b8: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00bd: ldc.i4.1 - IL_00be: newarr [mscorlib]System.Object - IL_00c3: dup - IL_00c4: ldc.i4.0 - IL_00c5: ldarg.0 - IL_00c6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00cb: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_00d0: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_00d5: stelem.ref - IL_00d6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00db: nop - IL_00dc: ret - } // end of method CompilerBase::WritePackageReferences + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyInfoTask::get_AssemblyAttributes - // method line 545 - .method family virtual hidebysig newslot - instance default void WriteWarningsAsError (class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 428 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.NamespaceImportCollection get_Imports () cil managed { - // Method begins at RVA 0x5a44 - // Code size 516 (0x204) - .maxstack 7 + // Method begins at RVA 0xa6b8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class NAnt.DotNet.Types.CompilerWarning V_1, - class NAnt.DotNet.Types.CompilerWarningEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.DotNet.Types.CompilerWarning V_4, - class NAnt.DotNet.Types.CompilerWarningEnumerator V_5, - class [mscorlib]System.IDisposable V_6) + class NAnt.DotNet.Types.NamespaceImportCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::get_WarnAsError() - IL_0007: brfalse IL_0031 + IL_0002: ldfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_imports + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() - IL_0013: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Types.WarningAsError::get_Includes() - IL_0018: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_001d: brtrue IL_0030 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyInfoTask::get_Imports - IL_0022: nop - IL_0023: ldarg.0 - IL_0024: ldarg.1 - IL_0025: ldstr "warnaserror" - IL_002a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_002f: nop - IL_0030: nop - IL_0031: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0036: stloc.0 - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: callvirt instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() - IL_003e: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Types.WarningAsError::get_Includes() - IL_0043: callvirt instance class NAnt.DotNet.Types.CompilerWarningEnumerator class NAnt.DotNet.Types.CompilerWarningCollection::GetEnumerator() - IL_0048: stloc.2 - .try { // 0 - IL_0049: br IL_0083 + // method line 429 + .method public hidebysig specialname + instance default void set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') cil managed + { + // Method begins at RVA 0xa6d3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::_imports + IL_0008: ret + } // end of method AssemblyInfoTask::set_Imports - IL_004e: ldloc.2 - IL_004f: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current() - IL_0054: stloc.1 - IL_0055: nop - IL_0056: ldloc.1 - IL_0057: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_IfDefined() - IL_005c: brfalse IL_0082 + // method line 430 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed + { + // Method begins at RVA 0xa6e0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.AssemblyFileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::_references + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0061: ldloc.1 - IL_0062: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined() - IL_0067: brtrue IL_0082 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyInfoTask::get_References - IL_006c: nop - IL_006d: ldloc.0 - IL_006e: ldloc.1 - IL_006f: callvirt instance string class NAnt.DotNet.Types.CompilerWarning::get_Number() - IL_0074: ldc.i4.s 0x2c - IL_0076: ldc.i4.0 - IL_0077: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_007c: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0081: nop - IL_0082: nop - IL_0083: ldloc.2 - IL_0084: callvirt instance bool class NAnt.DotNet.Types.CompilerWarningEnumerator::MoveNext() - IL_0089: brtrue IL_004e + // method line 431 + .method public hidebysig specialname + instance default void set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + { + // Method begins at RVA 0xa6fb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::_references + IL_0008: ret + } // end of method AssemblyInfoTask::set_References - IL_008e: leave IL_00a7 + // method line 432 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xa708 + // Code size 512 (0x200) + .maxstack 7 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0, + class NAnt.DotNet.Types.NamespaceImport V_1, + class NAnt.DotNet.Types.NamespaceImportEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class [mscorlib]System.IO.MemoryStream V_4, + class [mscorlib]System.IO.StreamWriter V_5, + class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider V_6, + class [mscorlib]System.IO.FileStream V_7, + unsigned int8[] V_8, + class [mscorlib]System.Exception V_9) + IL_0000: nop + .try { // 3 + IL_0001: nop + IL_0002: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0007: stloc.0 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Imports() + IL_000f: callvirt instance class NAnt.DotNet.Types.NamespaceImportEnumerator class NAnt.DotNet.Types.NamespaceImportCollection::GetEnumerator() + IL_0014: stloc.2 + .try { // 0 + IL_0015: br IL_0048 - } // end .try 0 - finally { // 0 - IL_0093: ldloc.2 - IL_0094: isinst [mscorlib]System.IDisposable - IL_0099: dup - IL_009a: stloc.3 - IL_009b: brfalse IL_00a6 + IL_001a: ldloc.2 + IL_001b: callvirt instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportEnumerator::get_Current() + IL_0020: stloc.1 + IL_0021: nop + IL_0022: ldloc.1 + IL_0023: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_IfDefined() + IL_0028: brfalse IL_0047 - IL_00a0: ldloc.3 - IL_00a1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00a6: endfinally - } // end handler 0 - IL_00a7: ldloc.0 - IL_00a8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00ad: ldc.i4.0 - IL_00ae: ble IL_0112 + IL_002d: ldloc.1 + IL_002e: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined() + IL_0033: brtrue IL_0047 - IL_00b3: nop - IL_00b4: ldarg.0 - IL_00b5: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsWarnAsErrorList() - IL_00ba: brfalse IL_00e1 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: ldloc.1 + IL_003b: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() + IL_0040: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0045: pop + IL_0046: nop + IL_0047: nop + IL_0048: ldloc.2 + IL_0049: callvirt instance bool class NAnt.DotNet.Types.NamespaceImportEnumerator::MoveNext() + IL_004e: brtrue IL_001a - IL_00bf: nop - IL_00c0: ldarg.1 - IL_00c1: ldstr "/warnaserror+:" - IL_00c6: ldstr "," - IL_00cb: ldloc.0 - IL_00cc: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) - IL_00d1: call string string::Concat(string, string) - IL_00d6: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_00db: nop - IL_00dc: br IL_0111 + IL_0053: leave IL_006c - IL_00e1: nop - IL_00e2: ldarg.0 - IL_00e3: ldc.i4 4000 - IL_00e8: ldstr "String_CompilerDoesNotSupportWarningsAsErrors" - IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f2: ldc.i4.1 - IL_00f3: newarr [mscorlib]System.Object - IL_00f8: dup - IL_00f9: ldc.i4.0 - IL_00fa: ldarg.0 - IL_00fb: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0100: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0105: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_010a: stelem.ref - IL_010b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0110: nop - IL_0111: nop - IL_0112: ldloc.0 - IL_0113: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0118: nop - IL_0119: ldarg.0 - IL_011a: callvirt instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() - IL_011f: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Types.WarningAsError::get_Excludes() - IL_0124: callvirt instance class NAnt.DotNet.Types.CompilerWarningEnumerator class NAnt.DotNet.Types.CompilerWarningCollection::GetEnumerator() - IL_0129: stloc.s 5 - .try { // 1 - IL_012b: br IL_016a + } // end .try 0 + finally { // 0 + IL_0058: ldloc.2 + IL_0059: isinst [mscorlib]System.IDisposable + IL_005e: dup + IL_005f: stloc.3 + IL_0060: brfalse IL_006b - IL_0130: ldloc.s 5 - IL_0132: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current() - IL_0137: stloc.s 4 - IL_0139: nop - IL_013a: ldloc.s 4 - IL_013c: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_IfDefined() - IL_0141: brfalse IL_0169 + IL_0065: ldloc.3 + IL_0066: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_006b: endfinally + } // end handler 0 + IL_006c: ldarg.0 + IL_006d: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.AssemblyInfoTask::get_References() + IL_0072: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0077: brtrue IL_0099 + + IL_007c: nop + IL_007d: ldarg.0 + IL_007e: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.AssemblyInfoTask::get_References() + IL_0083: ldarg.0 + IL_0084: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0089: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_008e: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0093: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0098: nop + IL_0099: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_009e: stloc.s 4 + IL_00a0: ldloc.s 4 + IL_00a2: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_00a7: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream, class [mscorlib]System.Text.Encoding) + IL_00ac: stloc.s 5 + .try { // 2 + IL_00ae: nop + IL_00af: ldarg.0 + IL_00b0: ldarg.0 + IL_00b1: call instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Language() + IL_00b6: newobj instance void class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::'.ctor'(class NAnt.DotNet.Tasks.AssemblyInfoTask, valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage) + IL_00bb: stloc.s 6 + IL_00bd: ldarg.0 + IL_00be: call instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Language() + IL_00c3: brtrue IL_00d4 - IL_0146: ldloc.s 4 - IL_0148: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined() - IL_014d: brtrue IL_0169 + IL_00c8: nop + IL_00c9: ldloc.s 6 + IL_00cb: ldloc.0 + IL_00cc: ldloc.s 5 + IL_00ce: callvirt instance void class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::GenerateImportCode(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.IO.TextWriter) + IL_00d3: nop + IL_00d4: ldloc.s 6 + IL_00d6: ldarg.0 + IL_00d7: call instance class NAnt.DotNet.Types.AssemblyAttributeCollection class NAnt.DotNet.Tasks.AssemblyInfoTask::get_AssemblyAttributes() + IL_00dc: ldloc.0 + IL_00dd: ldarg.0 + IL_00de: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.AssemblyInfoTask::get_References() + IL_00e3: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00e8: ldloc.s 5 + IL_00ea: callvirt instance void class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::GenerateAssemblyAttributesCode(class NAnt.DotNet.Types.AssemblyAttributeCollection, class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection, class [mscorlib]System.IO.TextWriter) + IL_00ef: ldloc.s 5 + IL_00f1: callvirt instance void class [mscorlib]System.IO.TextWriter::Flush() + IL_00f6: ldarg.0 + IL_00f7: ldloc.s 4 + IL_00f9: call instance bool class NAnt.DotNet.Tasks.AssemblyInfoTask::NeedsPersisting(class [mscorlib]System.IO.Stream) + IL_00fe: brfalse IL_0189 - IL_0152: nop - IL_0153: ldloc.0 - IL_0154: ldloc.s 4 - IL_0156: callvirt instance string class NAnt.DotNet.Types.CompilerWarning::get_Number() - IL_015b: ldc.i4.s 0x2c - IL_015d: ldc.i4.0 - IL_015e: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0163: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0168: nop - IL_0169: nop - IL_016a: ldloc.s 5 - IL_016c: callvirt instance bool class NAnt.DotNet.Types.CompilerWarningEnumerator::MoveNext() - IL_0171: brtrue IL_0130 + IL_0103: nop + IL_0104: ldarg.0 + IL_0105: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_010a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_010f: ldc.i4.2 + IL_0110: ldc.i4.2 + IL_0111: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) + IL_0116: stloc.s 7 + .try { // 1 + IL_0118: nop + IL_0119: ldloc.s 4 + IL_011b: callvirt instance unsigned int8[] class [mscorlib]System.IO.MemoryStream::ToArray() + IL_0120: stloc.s 8 + IL_0122: ldloc.s 7 + IL_0124: ldloc.s 8 + IL_0126: ldc.i4.0 + IL_0127: ldloc.s 8 + IL_0129: ldlen + IL_012a: conv.i4 + IL_012b: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_0130: ldloc.s 7 + IL_0132: callvirt instance void class [mscorlib]System.IO.Stream::Flush() + IL_0137: ldloc.s 7 + IL_0139: callvirt instance void class [mscorlib]System.IO.Stream::Close() + IL_013e: ldloc.s 4 + IL_0140: callvirt instance void class [mscorlib]System.IO.Stream::Close() + IL_0145: nop + IL_0146: leave IL_015a - IL_0176: leave IL_0192 + } // end .try 1 + finally { // 1 + IL_014b: ldloc.s 7 + IL_014d: brfalse IL_0159 - } // end .try 1 - finally { // 1 - IL_017b: ldloc.s 5 - IL_017d: isinst [mscorlib]System.IDisposable - IL_0182: dup - IL_0183: stloc.s 6 - IL_0185: brfalse IL_0191 + IL_0152: ldloc.s 7 + IL_0154: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0159: endfinally + } // end handler 1 + IL_015a: ldarg.0 + IL_015b: ldc.i4 3000 + IL_0160: ldstr "String_GeneratedFile" + IL_0165: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_016a: ldc.i4.1 + IL_016b: newarr [mscorlib]System.Object + IL_0170: dup + IL_0171: ldc.i4.0 + IL_0172: ldarg.0 + IL_0173: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_0178: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_017d: stelem.ref + IL_017e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0183: nop + IL_0184: br IL_01b4 - IL_018a: ldloc.s 6 - IL_018c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0191: endfinally - } // end handler 1 - IL_0192: ldloc.0 - IL_0193: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0198: ldc.i4.0 - IL_0199: ble IL_01fd + IL_0189: nop + IL_018a: ldarg.0 + IL_018b: ldc.i4 2000 + IL_0190: ldstr "String_FileUpToDate" + IL_0195: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_019a: ldc.i4.1 + IL_019b: newarr [mscorlib]System.Object + IL_01a0: dup + IL_01a1: ldc.i4.0 + IL_01a2: ldarg.0 + IL_01a3: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_01a8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01ad: stelem.ref + IL_01ae: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01b3: nop + IL_01b4: nop + IL_01b5: leave IL_01c9 - IL_019e: nop - IL_019f: ldarg.0 - IL_01a0: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsWarnAsErrorList() - IL_01a5: brfalse IL_01cc + } // end .try 2 + finally { // 2 + IL_01ba: ldloc.s 5 + IL_01bc: brfalse IL_01c8 - IL_01aa: nop - IL_01ab: ldarg.1 - IL_01ac: ldstr "/warnaserror-:" - IL_01b1: ldstr "," - IL_01b6: ldloc.0 - IL_01b7: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) - IL_01bc: call string string::Concat(string, string) - IL_01c1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_01c6: nop - IL_01c7: br IL_01fc + IL_01c1: ldloc.s 5 + IL_01c3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01c8: endfinally + } // end handler 2 + IL_01c9: nop + IL_01ca: leave IL_01ff - IL_01cc: nop - IL_01cd: ldarg.0 - IL_01ce: ldc.i4 4000 - IL_01d3: ldstr "String_CompilerDoesNotSupportWarningsAsErrors" - IL_01d8: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01dd: ldc.i4.1 - IL_01de: newarr [mscorlib]System.Object - IL_01e3: dup - IL_01e4: ldc.i4.0 - IL_01e5: ldarg.0 - IL_01e6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_01eb: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_01f0: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_01f5: stelem.ref - IL_01f6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01fb: nop - IL_01fc: nop - IL_01fd: ldloc.0 - IL_01fe: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0203: ret - } // end of method CompilerBase::WriteWarningsAsError + } // end .try 3 + catch class [mscorlib]System.Exception { // 3 + IL_01cf: stloc.s 9 + IL_01d1: nop + IL_01d2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01d7: ldstr "NA2004" + IL_01dc: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01e1: ldarg.0 + IL_01e2: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_01e7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01ec: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01f1: ldarg.0 + IL_01f2: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_01f7: ldloc.s 9 + IL_01f9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_01fe: throw + } // end handler 3 + IL_01ff: ret + } // end of method AssemblyInfoTask::ExecuteTask - // method line 546 - .method family virtual hidebysig newslot - instance default void WriteNoWarnList (class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 433 + .method private hidebysig + instance default bool NeedsPersisting (class [mscorlib]System.IO.Stream generatedAsmInfoStream) cil managed { - // Method begins at RVA 0x5c70 - // Code size 255 (0xff) + // Method begins at RVA 0xa978 + // Code size 230 (0xe6) .maxstack 7 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class NAnt.DotNet.Types.CompilerWarning V_1, - class NAnt.DotNet.Types.CompilerWarningEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + bool V_0, + unsigned int8[] V_1, + unsigned int8[] V_2, + class [mscorlib]System.Security.Cryptography.SHA1 V_3, + class [mscorlib]System.IO.FileStream V_4) IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: callvirt instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Tasks.CompilerBase::get_SuppressWarnings() - IL_000e: callvirt instance class NAnt.DotNet.Types.CompilerWarningEnumerator class NAnt.DotNet.Types.CompilerWarningCollection::GetEnumerator() - IL_0013: stloc.2 - .try { // 0 - IL_0014: br IL_004e - - IL_0019: ldloc.2 - IL_001a: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current() - IL_001f: stloc.1 - IL_0020: nop - IL_0021: ldloc.1 - IL_0022: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_IfDefined() - IL_0027: brfalse IL_004d - - IL_002c: ldloc.1 - IL_002d: callvirt instance bool class NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined() - IL_0032: brtrue IL_004d + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_0042 - IL_0037: nop - IL_0038: ldloc.0 - IL_0039: ldloc.1 - IL_003a: callvirt instance string class NAnt.DotNet.Types.CompilerWarning::get_Number() - IL_003f: ldc.i4.s 0x2c - IL_0041: ldc.i4.0 - IL_0042: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0047: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_004c: nop - IL_004d: nop - IL_004e: ldloc.2 - IL_004f: callvirt instance bool class NAnt.DotNet.Types.CompilerWarningEnumerator::MoveNext() - IL_0054: brtrue IL_0019 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldc.i4 2000 + IL_0018: ldstr "String_OutputFileDoesNotExist" + IL_001d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0022: ldc.i4.1 + IL_0023: newarr [mscorlib]System.Object + IL_0028: dup + IL_0029: ldc.i4.0 + IL_002a: ldarg.0 + IL_002b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: stelem.ref + IL_0036: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_003b: ldc.i4.1 + IL_003c: stloc.0 + IL_003d: br IL_00e4 - IL_0059: leave IL_0072 + IL_0042: ldnull + IL_0043: stloc.1 + IL_0044: ldnull + IL_0045: stloc.2 + IL_0046: newobj instance void class [mscorlib]System.Security.Cryptography.SHA1CryptoServiceProvider::'.ctor'() + IL_004b: stloc.3 + IL_004c: ldarg.0 + IL_004d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_0052: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0057: ldc.i4.3 + IL_0058: ldc.i4.1 + IL_0059: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess) + IL_005e: stloc.s 4 + .try { // 0 + IL_0060: nop + IL_0061: ldloc.3 + IL_0062: ldloc.s 4 + IL_0064: callvirt instance unsigned int8[] class [mscorlib]System.Security.Cryptography.HashAlgorithm::ComputeHash(class [mscorlib]System.IO.Stream) + IL_0069: stloc.1 + IL_006a: nop + IL_006b: leave IL_007f } // end .try 0 finally { // 0 - IL_005e: ldloc.2 - IL_005f: isinst [mscorlib]System.IDisposable - IL_0064: dup - IL_0065: stloc.3 - IL_0066: brfalse IL_0071 + IL_0070: ldloc.s 4 + IL_0072: brfalse IL_007e - IL_006b: ldloc.3 - IL_006c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0071: endfinally + IL_0077: ldloc.s 4 + IL_0079: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_007e: endfinally } // end handler 0 - IL_0072: ldarg.0 - IL_0073: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_NoWarn() - IL_0078: brfalse IL_0093 + IL_007f: ldarg.1 + IL_0080: ldc.i4.0 + IL_0081: conv.i8 + IL_0082: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_0087: ldloc.3 + IL_0088: ldarg.1 + IL_0089: callvirt instance unsigned int8[] class [mscorlib]System.Security.Cryptography.HashAlgorithm::ComputeHash(class [mscorlib]System.IO.Stream) + IL_008e: stloc.2 + IL_008f: ldloc.3 + IL_0090: callvirt instance void class [mscorlib]System.Security.Cryptography.HashAlgorithm::Clear() + IL_0095: ldloc.2 + IL_0096: call string class [mscorlib]System.Convert::ToBase64String(unsigned int8[]) + IL_009b: ldloc.1 + IL_009c: call string class [mscorlib]System.Convert::ToBase64String(unsigned int8[]) + IL_00a1: call bool string::op_Inequality(string, string) + IL_00a6: brfalse IL_00dc - IL_007d: nop - IL_007e: ldloc.0 - IL_007f: ldarg.0 - IL_0080: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_NoWarn() - IL_0085: ldc.i4.s 0x2c - IL_0087: ldc.i4.0 - IL_0088: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_008d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0092: nop - IL_0093: ldloc.0 - IL_0094: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0099: ldc.i4.0 - IL_009a: ble IL_00fe + IL_00ab: nop + IL_00ac: ldarg.0 + IL_00ad: ldc.i4 2000 + IL_00b2: ldstr "String_OutputFileNotUpToDate" + IL_00b7: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00bc: ldc.i4.1 + IL_00bd: newarr [mscorlib]System.Object + IL_00c2: dup + IL_00c3: ldc.i4.0 + IL_00c4: ldarg.0 + IL_00c5: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output() + IL_00ca: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00cf: stelem.ref + IL_00d0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00d5: ldc.i4.1 + IL_00d6: stloc.0 + IL_00d7: br IL_00e4 - IL_009f: nop - IL_00a0: ldarg.0 - IL_00a1: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_SupportsNoWarnList() - IL_00a6: brfalse IL_00cd + IL_00dc: nop + IL_00dd: ldc.i4.0 + IL_00de: stloc.0 + IL_00df: br IL_00e4 - IL_00ab: nop - IL_00ac: ldarg.1 - IL_00ad: ldstr "/nowarn:" - IL_00b2: ldstr "," - IL_00b7: ldloc.0 - IL_00b8: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::Join(string, class [System]System.Collections.Specialized.StringCollection) - IL_00bd: call string string::Concat(string, string) - IL_00c2: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_00c7: nop - IL_00c8: br IL_00fd + IL_00e4: ldloc.0 + IL_00e5: ret + } // end of method AssemblyInfoTask::NeedsPersisting - IL_00cd: nop - IL_00ce: ldarg.0 - IL_00cf: ldc.i4 4000 - IL_00d4: ldstr "String_CompilerDoesNotSupportWarningsToSuppress" - IL_00d9: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00de: ldc.i4.1 - IL_00df: newarr [mscorlib]System.Object - IL_00e4: dup - IL_00e5: ldc.i4.0 - IL_00e6: ldarg.0 - IL_00e7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00ec: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_00f1: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_00f6: stelem.ref - IL_00f7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00fc: nop - IL_00fd: nop - IL_00fe: ret - } // end of method CompilerBase::WriteNoWarnList + .property instance class [mscorlib]System.IO.FileInfo Output () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - // method line 547 - .method family virtual hidebysig newslot - instance default void WriteConditionalCompilationConstants (class [mscorlib]System.IO.TextWriter writer) cil managed - { - // Method begins at RVA 0x5d8c - // Code size 33 (0x21) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() - IL_0007: brfalse IL_0020 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyInfoTask::get_Output () + .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_Output (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage Language () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 6C 61 6E 67 75 61 67 65 01 00 54 02 08 // ...language..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: ldstr "define" - IL_0014: ldarg.0 - IL_0015: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_Define() - IL_001a: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_001f: nop - IL_0020: ret - } // end of method CompilerBase::WriteConditionalCompilationConstants + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - // method line 548 - .method family virtual hidebysig newslot - instance default void WriteModuleReferences (class [mscorlib]System.IO.TextWriter writer) cil managed + .get instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask::get_Language () + .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_Language (valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage 'value') + } + .property instance class NAnt.DotNet.Types.AssemblyAttributeCollection AssemblyAttributes () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 0A 61 74 74 72 69 62 75 74 65 73 09 61 74 // ...attributes.at + 74 72 69 62 75 74 65 00 00 ) // tribute.. + + .get instance default class NAnt.DotNet.Types.AssemblyAttributeCollection NAnt.DotNet.Tasks.AssemblyInfoTask::get_AssemblyAttributes () + } + .property instance class NAnt.DotNet.Types.NamespaceImportCollection Imports () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. + + .get instance default class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.AssemblyInfoTask::get_Imports () + .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') + } + .property instance class NAnt.DotNet.Types.AssemblyFileSet References () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. + + .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.AssemblyInfoTask::get_References () + .set instance default void NAnt.DotNet.Tasks.AssemblyInfoTask::set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .class nested public auto ansi sealed CodeLanguage + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage CSharp = int32(0x00000000) + .field public static literal valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage JScript = int32(0x00000001) + .field public static literal valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage VB = int32(0x00000002) + + } // end of class CodeLanguage + + .class nested assembly auto ansi beforefieldinit CodeProvider + extends [mscorlib]System.Object + { + .field private initonly valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage _language + .field private initonly class [System]System.CodeDom.Compiler.ICodeGenerator _generator + + // method line 434 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Tasks.AssemblyInfoTask assemblyInfoTask, valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage codeLanguage) cil managed { - // Method begins at RVA 0x5db0 - // Code size 83 (0x53) - .maxstack 4 + // Method begins at RVA 0xaa7c + // Code size 106 (0x6a) + .maxstack 2 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_000d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0012: stloc.1 - .try { // 0 - IL_0013: br IL_002e - - IL_0018: ldloc.1 - IL_0019: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: ldarg.1 - IL_0022: ldstr "addmodule" - IL_0027: ldloc.0 - IL_0028: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_002d: nop - IL_002e: ldloc.1 - IL_002f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0034: brtrue IL_0018 + class [System]System.CodeDom.Compiler.CodeDomProvider V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldnull + IL_0008: stloc.0 + IL_0009: ldarg.2 + IL_000a: switch ( + IL_0020, + IL_002b, + IL_003b) + IL_001b: br IL_0046 - IL_0039: leave IL_0052 + IL_0020: newobj instance void class [System]Microsoft.CSharp.CSharpCodeProvider::'.ctor'() + IL_0025: stloc.0 + IL_0026: br IL_0056 - } // end .try 0 - finally { // 0 - IL_003e: ldloc.1 - IL_003f: isinst [mscorlib]System.IDisposable - IL_0044: dup - IL_0045: stloc.2 - IL_0046: brfalse IL_0051 + IL_002b: ldstr "NA2008" + IL_0030: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0035: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_003a: throw + IL_003b: newobj instance void class [System]Microsoft.VisualBasic.VBCodeProvider::'.ctor'() + IL_0040: stloc.0 + IL_0041: br IL_0056 - IL_004b: ldloc.2 - IL_004c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0051: endfinally - } // end handler 0 - IL_0052: ret - } // end of method CompilerBase::WriteModuleReferences + IL_0046: ldstr "NA2007" + IL_004b: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0050: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_0055: throw + IL_0056: ldarg.0 + IL_0057: ldloc.0 + IL_0058: callvirt instance class [System]System.CodeDom.Compiler.ICodeGenerator class [System]System.CodeDom.Compiler.CodeDomProvider::CreateGenerator() + IL_005d: stfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_generator + IL_0062: ldarg.0 + IL_0063: ldarg.2 + IL_0064: stfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_language + IL_0069: ret + } // end of method CodeProvider::.ctor - // method line 549 - .method family virtual hidebysig newslot - instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 435 + .method private hidebysig specialname + instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage get_Language () cil managed { - // Method begins at RVA 0x5e20 - // Code size 2 (0x2) - .maxstack 8 + // Method begins at RVA 0xaaf4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage V_0) IL_0000: nop - IL_0001: ret - } // end of method CompilerBase::WriteOptions + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_language + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 550 - .method family virtual hidebysig newslot - instance default void WriteOption (class [mscorlib]System.IO.TextWriter writer, string name) cil managed - { - // Method begins at RVA 0x5e23 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "/{0}" - IL_0007: ldarg.2 - IL_0008: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_000d: ret - } // end of method CompilerBase::WriteOption + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CodeProvider::get_Language - // method line 551 - .method family virtual hidebysig newslot - instance default void WriteOption (class [mscorlib]System.IO.TextWriter writer, string name, string 'value') cil managed + // method line 436 + .method private hidebysig specialname + instance default class [System]System.CodeDom.Compiler.ICodeGenerator get_Generator () cil managed { - // Method begins at RVA 0x5e34 - // Code size 69 (0x45) - .maxstack 4 + // Method begins at RVA 0xab10 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.CodeDom.Compiler.ICodeGenerator V_0) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: ldstr "\"" - IL_0007: callvirt instance bool string::StartsWith(string) - IL_000c: brfalse IL_0021 - - IL_0011: ldarg.3 - IL_0012: ldstr "\"" - IL_0017: callvirt instance bool string::EndsWith(string) - IL_001c: brtrue IL_0035 - - IL_0021: nop - IL_0022: ldarg.1 - IL_0023: ldstr "\"/{0}:{1}\"" - IL_0028: ldarg.2 - IL_0029: ldarg.3 - IL_002a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) - IL_002f: nop - IL_0030: br IL_0044 + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::_generator + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0035: nop - IL_0036: ldarg.1 - IL_0037: ldstr "/{0}:{1}" - IL_003c: ldarg.2 - IL_003d: ldarg.3 - IL_003e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) - IL_0043: nop - IL_0044: ret - } // end of method CompilerBase::WriteOption + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CodeProvider::get_Generator - // method line 552 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling () cil managed + // method line 437 + .method public hidebysig + instance default void GenerateImportCode (class [System]System.Collections.Specialized.StringCollection imports, class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x5e88 - // Code size 1022 (0x3fe) - .maxstack 7 + // Method begins at RVA 0xab2c + // Code size 101 (0x65) + .maxstack 4 .locals init ( - bool V_0, + class [System]System.CodeDom.CodeNamespace V_0, string V_1, - class NAnt.DotNet.Types.ResourceFileSet V_2, - class NAnt.DotNet.Types.ResourceFileSetEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - class [System]System.Collections.Specialized.StringCollection V_5, - class [NAnt.Core]NAnt.Core.Types.Argument V_6, - class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator V_7, - string V_8, - string V_9, - int32 V_10, - class [mscorlib]System.IDisposable V_11) + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase::get_ForceRebuild() - IL_0007: brfalse IL_0029 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldc.i4 2000 - IL_0013: ldstr "String_RebuildAttributeSetToTrue" - IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0022: ldc.i4.1 - IL_0023: stloc.0 - IL_0024: br IL_03fc - - IL_0029: ldarg.0 - IL_002a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_002f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0034: brtrue IL_006a - - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: ldc.i4 2000 - IL_0040: ldstr "String_OutputFileDoesNotExist" - IL_0045: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_004a: ldc.i4.1 - IL_004b: newarr [mscorlib]System.Object - IL_0050: dup - IL_0051: ldc.i4.0 - IL_0052: ldarg.0 - IL_0053: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005d: stelem.ref - IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0063: ldc.i4.1 - IL_0064: stloc.0 - IL_0065: br IL_03fc - - IL_006a: ldarg.0 - IL_006b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.CompilerBase::get_Sources() - IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0075: ldarg.0 - IL_0076: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_007b: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0080: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0085: stloc.1 - IL_0086: ldloc.1 - IL_0087: brfalse IL_00b3 - - IL_008c: nop - IL_008d: ldarg.0 - IL_008e: ldc.i4 2000 - IL_0093: ldstr "String_FileHasBeenUpdated" - IL_0098: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_009d: ldc.i4.1 - IL_009e: newarr [mscorlib]System.Object - IL_00a3: dup - IL_00a4: ldc.i4.0 - IL_00a5: ldloc.1 - IL_00a6: stelem.ref - IL_00a7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00ac: ldc.i4.1 - IL_00ad: stloc.0 - IL_00ae: br IL_03fc - - IL_00b3: ldarg.0 - IL_00b4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() - IL_00b9: brfalse IL_0109 - - IL_00be: nop - IL_00bf: ldarg.0 - IL_00c0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() - IL_00c5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00ca: ldarg.0 - IL_00cb: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_00d0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00d5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_00da: stloc.1 - IL_00db: ldloc.1 - IL_00dc: brfalse IL_0108 + IL_0001: newobj instance void class [System]System.CodeDom.CodeNamespace::'.ctor'() + IL_0006: stloc.0 + IL_0007: nop + IL_0008: ldarg.1 + IL_0009: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_000e: stloc.2 + .try { // 0 + IL_000f: br IL_002e - IL_00e1: nop - IL_00e2: ldarg.0 - IL_00e3: ldc.i4 2000 - IL_00e8: ldstr "String_FileHasBeenUpdated" - IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f2: ldc.i4.1 - IL_00f3: newarr [mscorlib]System.Object - IL_00f8: dup - IL_00f9: ldc.i4.0 - IL_00fa: ldloc.1 - IL_00fb: stelem.ref - IL_00fc: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0101: ldc.i4.1 - IL_0102: stloc.0 - IL_0103: br IL_03fc + IL_0014: ldloc.2 + IL_0015: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_001a: stloc.1 + IL_001b: nop + IL_001c: ldloc.0 + IL_001d: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() + IL_0022: ldloc.1 + IL_0023: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) + IL_0028: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) + IL_002d: nop + IL_002e: ldloc.2 + IL_002f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0034: brtrue IL_0014 - IL_0108: nop - IL_0109: ldarg.0 - IL_010a: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_010f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0114: ldarg.0 - IL_0115: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_011a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_011f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0124: stloc.1 - IL_0125: ldloc.1 - IL_0126: brfalse IL_0152 + IL_0039: leave IL_0052 - IL_012b: nop - IL_012c: ldarg.0 - IL_012d: ldc.i4 2000 - IL_0132: ldstr "String_FileHasBeenUpdated" - IL_0137: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_013c: ldc.i4.1 - IL_013d: newarr [mscorlib]System.Object - IL_0142: dup - IL_0143: ldc.i4.0 - IL_0144: ldloc.1 - IL_0145: stelem.ref - IL_0146: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_014b: ldc.i4.1 - IL_014c: stloc.0 - IL_014d: br IL_03fc + } // end .try 0 + finally { // 0 + IL_003e: ldloc.2 + IL_003f: isinst [mscorlib]System.IDisposable + IL_0044: dup + IL_0045: stloc.3 + IL_0046: brfalse IL_0051 - IL_0152: ldarg.0 - IL_0153: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_0158: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_015d: ldarg.0 - IL_015e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_0163: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0168: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_016d: stloc.1 - IL_016e: ldloc.1 - IL_016f: brfalse IL_019b + IL_004b: ldloc.3 + IL_004c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0051: endfinally + } // end handler 0 + IL_0052: ldarg.0 + IL_0053: call instance class [System]System.CodeDom.Compiler.ICodeGenerator class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Generator() + IL_0058: ldloc.0 + IL_0059: ldarg.2 + IL_005a: newobj instance void class [System]System.CodeDom.Compiler.CodeGeneratorOptions::'.ctor'() + IL_005f: callvirt instance void class [System]System.CodeDom.Compiler.ICodeGenerator::GenerateCodeFromNamespace(class [System]System.CodeDom.CodeNamespace, class [mscorlib]System.IO.TextWriter, class [System]System.CodeDom.Compiler.CodeGeneratorOptions) + IL_0064: ret + } // end of method CodeProvider::GenerateImportCode - IL_0174: nop - IL_0175: ldarg.0 - IL_0176: ldc.i4 2000 - IL_017b: ldstr "String_FileHasBeenUpdated" - IL_0180: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0185: ldc.i4.1 - IL_0186: newarr [mscorlib]System.Object - IL_018b: dup - IL_018c: ldc.i4.0 - IL_018d: ldloc.1 - IL_018e: stelem.ref - IL_018f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0194: ldc.i4.1 - IL_0195: stloc.0 - IL_0196: br IL_03fc + // method line 438 + .method public hidebysig + instance default void GenerateAssemblyAttributesCode (class NAnt.DotNet.Types.AssemblyAttributeCollection assemblyAttributes, class [System]System.Collections.Specialized.StringCollection imports, class [System]System.Collections.Specialized.StringCollection assemblies, class [mscorlib]System.IO.TextWriter writer) cil managed + { + // Method begins at RVA 0xabb0 + // Code size 353 (0x161) + .maxstack 4 + .locals init ( + class [System]System.CodeDom.CodeCompileUnit V_0, + class [System]System.CodeDom.CodeNamespace V_1, + string V_2, + class [System]System.Collections.Specialized.StringEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + class NAnt.DotNet.Types.AssemblyAttribute V_5, + class NAnt.DotNet.Types.AssemblyAttributeEnumerator V_6, + class [System]System.CodeDom.CodeAttributeDeclaration V_7, + object V_8, + class [mscorlib]System.IDisposable V_9) + IL_0000: nop + IL_0001: newobj instance void class [System]System.CodeDom.CodeCompileUnit::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: call instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Language() + IL_000d: ldc.i4.2 + IL_000e: bne.un IL_0075 - IL_019b: nop - IL_019c: ldarg.0 - IL_019d: call instance class NAnt.DotNet.Types.ResourceFileSetCollection class NAnt.DotNet.Tasks.CompilerBase::get_ResourcesList() - IL_01a2: callvirt instance class NAnt.DotNet.Types.ResourceFileSetEnumerator class NAnt.DotNet.Types.ResourceFileSetCollection::GetEnumerator() - IL_01a7: stloc.3 + IL_0013: nop + IL_0014: newobj instance void class [System]System.CodeDom.CodeNamespace::'.ctor'() + IL_0019: stloc.1 + IL_001a: nop + IL_001b: ldarg.2 + IL_001c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0021: stloc.3 .try { // 0 - IL_01a8: br IL_01fa - - IL_01ad: ldloc.3 - IL_01ae: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Types.ResourceFileSetEnumerator::get_Current() - IL_01b3: stloc.2 - IL_01b4: nop - IL_01b5: ldloc.2 - IL_01b6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01bb: ldarg.0 - IL_01bc: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_01c1: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_01c6: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_01cb: stloc.1 - IL_01cc: ldloc.1 - IL_01cd: brfalse IL_01f9 - - IL_01d2: nop - IL_01d3: ldarg.0 - IL_01d4: ldc.i4 2000 - IL_01d9: ldstr "String_FileHasBeenUpdated" - IL_01de: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01e3: ldc.i4.1 - IL_01e4: newarr [mscorlib]System.Object - IL_01e9: dup - IL_01ea: ldc.i4.0 - IL_01eb: ldloc.1 - IL_01ec: stelem.ref - IL_01ed: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01f2: ldc.i4.1 - IL_01f3: stloc.0 - IL_01f4: leave IL_03fc + IL_0022: br IL_0041 - IL_01f9: nop - IL_01fa: ldloc.3 - IL_01fb: callvirt instance bool class NAnt.DotNet.Types.ResourceFileSetEnumerator::MoveNext() - IL_0200: brtrue IL_01ad + IL_0027: ldloc.3 + IL_0028: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_002d: stloc.2 + IL_002e: nop + IL_002f: ldloc.1 + IL_0030: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() + IL_0035: ldloc.2 + IL_0036: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) + IL_003b: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) + IL_0040: nop + IL_0041: ldloc.3 + IL_0042: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0047: brtrue IL_0027 - IL_0205: leave IL_0220 + IL_004c: leave IL_0067 } // end .try 0 finally { // 0 - IL_020a: ldloc.3 - IL_020b: isinst [mscorlib]System.IDisposable - IL_0210: dup - IL_0211: stloc.s 4 - IL_0213: brfalse IL_021f + IL_0051: ldloc.3 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.s 4 + IL_005a: brfalse IL_0066 - IL_0218: ldloc.s 4 - IL_021a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_021f: endfinally + IL_005f: ldloc.s 4 + IL_0061: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0066: endfinally } // end handler 0 - IL_0220: ldarg.0 - IL_0221: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() - IL_0226: brfalse IL_0276 + IL_0067: ldloc.0 + IL_0068: callvirt instance class [System]System.CodeDom.CodeNamespaceCollection class [System]System.CodeDom.CodeCompileUnit::get_Namespaces() + IL_006d: ldloc.1 + IL_006e: callvirt instance int32 class [System]System.CodeDom.CodeNamespaceCollection::Add(class [System]System.CodeDom.CodeNamespace) + IL_0073: pop + IL_0074: nop + IL_0075: nop + IL_0076: ldarg.1 + IL_0077: callvirt instance class NAnt.DotNet.Types.AssemblyAttributeEnumerator class NAnt.DotNet.Types.AssemblyAttributeCollection::GetEnumerator() + IL_007c: stloc.s 6 + .try { // 1 + IL_007e: br IL_0125 - IL_022b: nop - IL_022c: ldarg.0 - IL_022d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon() - IL_0232: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0237: ldarg.0 - IL_0238: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_023d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0242: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0247: stloc.1 - IL_0248: ldloc.1 - IL_0249: brfalse IL_0275 + IL_0083: ldloc.s 6 + IL_0085: callvirt instance class NAnt.DotNet.Types.AssemblyAttribute class NAnt.DotNet.Types.AssemblyAttributeEnumerator::get_Current() + IL_008a: stloc.s 5 + IL_008c: nop + IL_008d: ldloc.s 5 + IL_008f: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttribute::get_IfDefined() + IL_0094: brfalse IL_0124 - IL_024e: nop - IL_024f: ldarg.0 - IL_0250: ldc.i4 2000 - IL_0255: ldstr "String_FileHasBeenUpdated" - IL_025a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_025f: ldc.i4.1 - IL_0260: newarr [mscorlib]System.Object - IL_0265: dup - IL_0266: ldc.i4.0 - IL_0267: ldloc.1 - IL_0268: stelem.ref - IL_0269: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_026e: ldc.i4.1 - IL_026f: stloc.0 - IL_0270: br IL_03fc + IL_0099: ldloc.s 5 + IL_009b: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttribute::get_UnlessDefined() + IL_00a0: brtrue IL_0124 + + IL_00a5: nop + IL_00a6: ldloc.s 5 + IL_00a8: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_TypeName() + IL_00ad: newobj instance void class [System]System.CodeDom.CodeAttributeDeclaration::'.ctor'(string) + IL_00b2: stloc.s 7 + IL_00b4: ldloc.s 5 + IL_00b6: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttribute::get_AsIs() + IL_00bb: brfalse IL_00e5 + + IL_00c0: nop + IL_00c1: ldloc.s 7 + IL_00c3: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() + IL_00c8: ldloc.s 5 + IL_00ca: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_Value() + IL_00cf: newobj instance void class [System]System.CodeDom.CodeSnippetExpression::'.ctor'(string) + IL_00d4: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) + IL_00d9: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) + IL_00de: pop + IL_00df: nop + IL_00e0: br IL_0115 + + IL_00e5: nop + IL_00e6: ldarg.0 + IL_00e7: ldloc.s 5 + IL_00e9: ldarg.3 + IL_00ea: ldarg.2 + IL_00eb: call instance object class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::GetTypedValue(class NAnt.DotNet.Types.AssemblyAttribute, class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection) + IL_00f0: stloc.s 8 + IL_00f2: ldloc.s 8 + IL_00f4: brfalse IL_0114 - IL_0275: nop - IL_0276: ldarg.0 - IL_0277: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_027c: brfalse IL_02cc + IL_00f9: nop + IL_00fa: ldloc.s 7 + IL_00fc: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() + IL_0101: ldloc.s 8 + IL_0103: newobj instance void class [System]System.CodeDom.CodePrimitiveExpression::'.ctor'(object) + IL_0108: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) + IL_010d: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) + IL_0112: pop + IL_0113: nop + IL_0114: nop + IL_0115: ldloc.0 + IL_0116: callvirt instance class [System]System.CodeDom.CodeAttributeDeclarationCollection class [System]System.CodeDom.CodeCompileUnit::get_AssemblyCustomAttributes() + IL_011b: ldloc.s 7 + IL_011d: callvirt instance int32 class [System]System.CodeDom.CodeAttributeDeclarationCollection::Add(class [System]System.CodeDom.CodeAttributeDeclaration) + IL_0122: pop + IL_0123: nop + IL_0124: nop + IL_0125: ldloc.s 6 + IL_0127: callvirt instance bool class NAnt.DotNet.Types.AssemblyAttributeEnumerator::MoveNext() + IL_012c: brtrue IL_0083 - IL_0281: nop - IL_0282: ldarg.0 - IL_0283: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_0288: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_028d: ldarg.0 - IL_028e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_0293: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0298: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_029d: stloc.1 - IL_029e: ldloc.1 - IL_029f: brfalse IL_02cb + IL_0131: leave IL_014d - IL_02a4: nop - IL_02a5: ldarg.0 - IL_02a6: ldc.i4 2000 - IL_02ab: ldstr "String_FileHasBeenUpdated" - IL_02b0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02b5: ldc.i4.1 - IL_02b6: newarr [mscorlib]System.Object - IL_02bb: dup - IL_02bc: ldc.i4.0 - IL_02bd: ldloc.1 - IL_02be: stelem.ref - IL_02bf: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_02c4: ldc.i4.1 - IL_02c5: stloc.0 - IL_02c6: br IL_03fc + } // end .try 1 + finally { // 1 + IL_0136: ldloc.s 6 + IL_0138: isinst [mscorlib]System.IDisposable + IL_013d: dup + IL_013e: stloc.s 9 + IL_0140: brfalse IL_014c - IL_02cb: nop - IL_02cc: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_02d1: stloc.s 5 - IL_02d3: nop - IL_02d4: ldarg.0 - IL_02d5: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_02da: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::GetEnumerator() - IL_02df: stloc.s 7 - .try { // 1 - IL_02e1: br IL_038d + IL_0145: ldloc.s 9 + IL_0147: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_014c: endfinally + } // end handler 1 + IL_014d: ldarg.0 + IL_014e: call instance class [System]System.CodeDom.Compiler.ICodeGenerator class NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Generator() + IL_0153: ldloc.0 + IL_0154: ldarg.s 4 + IL_0156: newobj instance void class [System]System.CodeDom.Compiler.CodeGeneratorOptions::'.ctor'() + IL_015b: callvirt instance void class [System]System.CodeDom.Compiler.ICodeGenerator::GenerateCodeFromCompileUnit(class [System]System.CodeDom.CodeCompileUnit, class [mscorlib]System.IO.TextWriter, class [System]System.CodeDom.Compiler.CodeGeneratorOptions) + IL_0160: ret + } // end of method CodeProvider::GenerateAssemblyAttributesCode - IL_02e6: ldloc.s 7 - IL_02e8: callvirt instance class [NAnt.Core]NAnt.Core.Types.Argument class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::get_Current() - IL_02ed: stloc.s 6 - IL_02ef: nop - IL_02f0: ldloc.s 6 - IL_02f2: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_IfDefined() - IL_02f7: brfalse IL_038c + // method line 439 + .method private hidebysig + instance default object GetTypedValue (class NAnt.DotNet.Types.AssemblyAttribute attribute, class [System]System.Collections.Specialized.StringCollection assemblies, class [System]System.Collections.Specialized.StringCollection imports) cil managed + { + // Method begins at RVA 0xad3c + // Code size 151 (0x97) + .maxstack 9 + .locals init ( + class [mscorlib]System.Security.PermissionSet V_0, + class [mscorlib]System.AppDomain V_1, + class NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer V_2, + object V_3, + object V_4) + IL_0000: nop + IL_0001: ldc.i4.1 + IL_0002: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) + IL_0007: stloc.0 + IL_0008: ldstr "TypeGatheringDomain" + IL_000d: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0012: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() + IL_0017: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_001c: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() + IL_0021: ldloc.0 + IL_0022: call !!0[] class [mscorlib]System.Array::Empty () + IL_0027: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string, class [mscorlib]System.Security.Policy.Evidence, class [mscorlib]System.AppDomainSetup, class [mscorlib]System.Security.PermissionSet, class [mscorlib]System.Security.Policy.StrongName[]) + IL_002c: stloc.1 + IL_002d: ldloc.1 + IL_002e: ldtoken NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer + IL_0033: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0038: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() + IL_003d: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_0042: ldtoken NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer + IL_0047: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_004c: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0051: ldc.i4.0 + IL_0052: ldc.i4.s 0x14 + IL_0054: ldnull + IL_0055: ldc.i4.0 + IL_0056: newarr [mscorlib]System.Object + IL_005b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0060: ldc.i4.0 + IL_0061: newarr [mscorlib]System.Object + IL_0066: callvirt instance object class [mscorlib]System.AppDomain::CreateInstanceAndUnwrap(string, string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) + IL_006b: castclass NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer + IL_0070: stloc.2 + IL_0071: ldloc.2 + IL_0072: ldarg.2 + IL_0073: ldarg.3 + IL_0074: ldarg.1 + IL_0075: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_TypeName() + IL_007a: ldarg.1 + IL_007b: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_Value() + IL_0080: callvirt instance object class NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer::GetTypedValue(class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection, string, string) + IL_0085: stloc.3 + IL_0086: ldloc.1 + IL_0087: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_008c: ldloc.3 + IL_008d: stloc.s 4 + IL_008f: br IL_0094 - IL_02fc: ldloc.s 6 - IL_02fe: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_UnlessDefined() - IL_0303: brtrue IL_038c + IL_0094: ldloc.s 4 + IL_0096: ret + } // end of method CodeProvider::GetTypedValue - IL_0308: nop - IL_0309: ldloc.s 6 - IL_030b: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Argument::get_Value() - IL_0310: stloc.s 8 - IL_0312: ldloc.s 8 - IL_0314: brfalse IL_038b + .property instance valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage Language () + { + .get instance default valuetype NAnt.DotNet.Tasks.AssemblyInfoTask/CodeLanguage NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Language () + } + .property instance class [System]System.CodeDom.Compiler.ICodeGenerator Generator () + { + .get instance default class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.AssemblyInfoTask/CodeProvider::get_Generator () + } + } // end of class CodeProvider - IL_0319: ldloc.s 8 - IL_031b: ldstr "/res:" - IL_0320: callvirt instance bool string::StartsWith(string) - IL_0325: brtrue IL_033b + .class nested private auto ansi beforefieldinit TypedValueGatherer + extends [mscorlib]System.MarshalByRefObject + { - IL_032a: ldloc.s 8 - IL_032c: ldstr "/resource:" - IL_0331: callvirt instance bool string::StartsWith(string) - IL_0336: brfalse IL_038b + // method line 440 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xaddf + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.MarshalByRefObject::'.ctor'() + IL_0006: ret + } // end of method TypedValueGatherer::.ctor - IL_033b: nop - IL_033c: ldloc.s 8 - IL_033e: ldloc.s 8 - IL_0340: ldc.i4.s 0x3a - IL_0342: callvirt instance int32 string::IndexOf(char) - IL_0347: ldc.i4.1 - IL_0348: add - IL_0349: callvirt instance string string::Substring(int32) - IL_034e: stloc.s 9 - IL_0350: ldloc.s 9 - IL_0352: ldc.i4.s 0x2c - IL_0354: callvirt instance int32 string::IndexOf(char) - IL_0359: stloc.s 10 - IL_035b: ldloc.s 10 - IL_035d: ldc.i4.m1 - IL_035e: beq IL_0371 + // method line 441 + .method public virtual hidebysig + instance default object InitializeLifetimeService () cil managed + { + // Method begins at RVA 0xade8 + // Code size 47 (0x2f) + .maxstack 2 + .locals init ( + class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, + object V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() + IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() + IL_0013: ldc.i4.1 + IL_0014: bne.un IL_0026 - IL_0363: nop - IL_0364: ldloc.s 9 - IL_0366: ldc.i4.0 - IL_0367: ldloc.s 10 - IL_0369: callvirt instance string string::Substring(int32, int32) - IL_036e: stloc.s 9 - IL_0370: nop - IL_0371: ldarg.0 - IL_0372: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0377: ldloc.s 9 - IL_0379: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) - IL_037e: stloc.s 9 - IL_0380: ldloc.s 5 - IL_0382: ldloc.s 9 - IL_0384: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0389: pop - IL_038a: nop - IL_038b: nop - IL_038c: nop - IL_038d: ldloc.s 7 - IL_038f: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::MoveNext() - IL_0394: brtrue IL_02e6 + IL_0019: nop + IL_001a: ldloc.0 + IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero + IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) + IL_0025: nop + IL_0026: ldloc.0 + IL_0027: stloc.1 + IL_0028: br IL_002d + + IL_002d: ldloc.1 + IL_002e: ret + } // end of method TypedValueGatherer::InitializeLifetimeService - IL_0399: leave IL_03b5 + // method line 442 + .method public hidebysig + instance default object GetTypedValue (class [System]System.Collections.Specialized.StringCollection assemblies, class [System]System.Collections.Specialized.StringCollection imports, string typename, string 'value') cil managed + { + // Method begins at RVA 0xae24 + // Code size 467 (0x1d3) + .maxstack 5 + .locals init ( + class [NAnt.Core]NAnt.Core.Util.AssemblyResolver V_0, + class [mscorlib]System.Type V_1, + object V_2, + class [mscorlib]System.Reflection.ConstructorInfo V_3, + class [mscorlib]System.Reflection.ConstructorInfo[] V_4, + int32 V_5, + class [mscorlib]System.Reflection.ParameterInfo[] V_6, + class [mscorlib]System.Exception V_7, + object V_8) + IL_0000: nop + IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Attach() + .try { // 1 + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: ldarg.2 + IL_0011: ldarg.3 + IL_0012: call instance class [mscorlib]System.Type class NAnt.DotNet.Tasks.AssemblyInfoTask/TypedValueGatherer::FindType(class [System]System.Collections.Specialized.StringCollection, class [System]System.Collections.Specialized.StringCollection, string) + IL_0017: stloc.1 + IL_0018: ldloc.1 + IL_0019: ldnull + IL_001a: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_001f: brfalse IL_0174 - } // end .try 1 - finally { // 1 - IL_039e: ldloc.s 7 - IL_03a0: isinst [mscorlib]System.IDisposable - IL_03a5: dup - IL_03a6: stloc.s 11 - IL_03a8: brfalse IL_03b4 + IL_0024: nop + IL_0025: ldnull + IL_0026: stloc.2 + IL_0027: ldarg.s 4 + IL_0029: brtrue IL_007f - IL_03ad: ldloc.s 11 - IL_03af: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_03b4: endfinally - } // end handler 1 - IL_03b5: ldloc.s 5 - IL_03b7: ldarg.0 - IL_03b8: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_03bd: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_03c2: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_03c7: stloc.1 - IL_03c8: ldloc.1 - IL_03c9: brfalse IL_03f5 + IL_002e: nop + IL_002f: ldloc.1 + IL_0030: ldc.i4.s 0x14 + IL_0032: ldnull + IL_0033: ldc.i4.0 + IL_0034: newarr [mscorlib]System.Type + IL_0039: ldc.i4.0 + IL_003a: newarr [mscorlib]System.Reflection.ParameterModifier + IL_003f: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, class [mscorlib]System.Type[], valuetype [mscorlib]System.Reflection.ParameterModifier[]) + IL_0044: stloc.3 + IL_0045: ldloc.3 + IL_0046: ldnull + IL_0047: call bool class [mscorlib]System.Reflection.ConstructorInfo::op_Equality(class [mscorlib]System.Reflection.ConstructorInfo, class [mscorlib]System.Reflection.ConstructorInfo) + IL_004c: brfalse IL_0077 - IL_03ce: nop - IL_03cf: ldarg.0 - IL_03d0: ldc.i4 2000 - IL_03d5: ldstr "String_FileHasBeenUpdated" - IL_03da: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03df: ldc.i4.1 - IL_03e0: newarr [mscorlib]System.Object - IL_03e5: dup - IL_03e6: ldc.i4.0 - IL_03e7: ldloc.1 - IL_03e8: stelem.ref - IL_03e9: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_03ee: ldc.i4.1 - IL_03ef: stloc.0 - IL_03f0: br IL_03fc + IL_0051: nop + IL_0052: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0057: ldstr "NA2005" + IL_005c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0061: ldloc.1 + IL_0062: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0067: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_006c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0071: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0076: throw + IL_0077: ldnull + IL_0078: stloc.2 + IL_0079: nop + IL_007a: br IL_016c - IL_03f5: ldc.i4.0 - IL_03f6: stloc.0 - IL_03f7: br IL_03fc + IL_007f: nop + IL_0080: ldloc.1 + IL_0081: ldc.i4.s 0x14 + IL_0083: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo[] class [mscorlib]System.Type::GetConstructors(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0088: stloc.s 4 + IL_008a: ldc.i4.0 + IL_008b: stloc.s 5 + IL_008d: br IL_0139 - IL_03fc: ldloc.0 - IL_03fd: ret - } // end of method CompilerBase::NeedsCompiling + IL_0092: nop + IL_0093: ldloc.s 4 + IL_0095: ldloc.s 5 + IL_0097: ldelem.ref + IL_0098: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_009d: stloc.s 6 + IL_009f: ldloc.s 6 + IL_00a1: ldlen + IL_00a2: conv.i4 + IL_00a3: ldc.i4.1 + IL_00a4: bne.un IL_0132 - // method line 553 - .method family virtual hidebysig newslot - instance default class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage GetResourceLinkage (string dependentFile, class [mscorlib]System.Globalization.CultureInfo resourceCulture) cil managed - { - // Method begins at RVA 0x62b0 - // Code size 211 (0xd3) - .maxstack 7 - .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_1, - class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage V_2) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: ldarg.1 - IL_0006: brtrue IL_0013 + IL_00a9: nop + IL_00aa: ldloc.s 6 + IL_00ac: ldc.i4.0 + IL_00ad: ldelem.ref + IL_00ae: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_00b3: callvirt instance bool class [mscorlib]System.Type::get_IsPrimitive() + IL_00b8: brtrue IL_00da - IL_000b: nop - IL_000c: ldnull - IL_000d: stloc.2 - IL_000e: br IL_00d1 + IL_00bd: ldloc.s 6 + IL_00bf: ldc.i4.0 + IL_00c0: ldelem.ref + IL_00c1: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_00c6: ldtoken [mscorlib]System.String + IL_00cb: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00d0: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00d5: brfalse IL_0131 - .try { // 1 + IL_00da: nop .try { // 0 - IL_0013: nop - IL_0014: ldarg.1 - IL_0015: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_001a: ldc.i4.1 - IL_001b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_0020: stloc.0 - IL_0021: ldarg.0 - IL_0022: ldloc.0 - IL_0023: callvirt instance class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage class NAnt.DotNet.Tasks.CompilerBase::PerformSearchForResourceLinkage(class [mscorlib]System.IO.TextReader) - IL_0028: stloc.1 - IL_0029: ldloc.1 - IL_002a: ldarg.2 - IL_002b: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_Culture(class [mscorlib]System.Globalization.CultureInfo) - IL_0030: nop - IL_0031: leave IL_006f + IL_00db: nop + IL_00dc: ldarg.s 4 + IL_00de: ldloc.s 6 + IL_00e0: ldc.i4.0 + IL_00e1: ldelem.ref + IL_00e2: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_00e7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ec: call object class [mscorlib]System.Convert::ChangeType(object, class [mscorlib]System.Type, class [mscorlib]System.IFormatProvider) + IL_00f1: stloc.2 + IL_00f2: leave IL_0144 } // end .try 0 - catch class [mscorlib]System.IO.FileNotFoundException { // 0 - IL_0036: pop - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldc.i4 1000 - IL_003e: ldstr "String_DependentFileNotFound" - IL_0043: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0048: ldc.i4.1 - IL_0049: newarr [mscorlib]System.Object - IL_004e: dup - IL_004f: ldc.i4.0 - IL_0050: ldarg.1 - IL_0051: stelem.ref - IL_0052: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0057: ldnull - IL_0058: stloc.2 - IL_0059: leave IL_00d1 + catch class [mscorlib]System.Exception { // 0 + IL_00f7: stloc.s 7 + IL_00f9: nop + IL_00fa: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ff: ldstr "NA2006" + IL_0104: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0109: ldarg.s 4 + IL_010b: ldloc.s 6 + IL_010d: ldc.i4.0 + IL_010e: ldelem.ref + IL_010f: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0114: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0119: ldloc.1 + IL_011a: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_011f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0124: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0129: ldloc.s 7 + IL_012b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0130: throw + } // end handler 0 + IL_0131: nop + IL_0132: nop + IL_0133: ldloc.s 5 + IL_0135: ldc.i4.1 + IL_0136: add + IL_0137: stloc.s 5 + IL_0139: ldloc.s 5 + IL_013b: ldloc.s 4 + IL_013d: ldlen + IL_013e: conv.i4 + IL_013f: blt IL_0092 + + IL_0144: ldloc.2 + IL_0145: brtrue IL_016b + + IL_014a: nop + IL_014b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0150: ldstr "NA2003" + IL_0155: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_015a: ldarg.3 + IL_015b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0160: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0165: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_016a: throw + IL_016b: nop + IL_016c: ldloc.2 + IL_016d: stloc.s 8 + IL_016f: leave IL_01d0 + + IL_0174: nop + IL_0175: ldarg.3 + IL_0176: ldstr "Attribute" + IL_017b: callvirt instance bool string::EndsWith(string) + IL_0180: brtrue IL_01a6 - } // end handler 0 + IL_0185: nop + IL_0186: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_018b: ldstr "NA2039" + IL_0190: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0195: ldarg.3 + IL_0196: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_019b: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_01a0: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_01a5: throw + IL_01a6: nop + IL_01a7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01ac: ldstr "NA2001" + IL_01b1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01b6: ldarg.3 + IL_01b7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01bc: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_01c1: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_01c6: throw } // end .try 1 finally { // 1 - IL_005e: nop - IL_005f: ldloc.0 - IL_0060: brfalse IL_006d - - IL_0065: nop - IL_0066: ldloc.0 - IL_0067: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_006c: nop - IL_006d: nop - IL_006e: endfinally + IL_01c7: nop + IL_01c8: ldloc.0 + IL_01c9: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Detach() + IL_01ce: nop + IL_01cf: endfinally } // end handler 1 - IL_006f: ldloc.1 - IL_0070: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() - IL_0075: brfalse IL_00a9 - - IL_007a: nop - IL_007b: ldarg.0 - IL_007c: ldc.i4 1000 - IL_0081: ldstr "String_FoundResourceLinkageInDependentFile" - IL_0086: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_008b: ldc.i4.2 - IL_008c: newarr [mscorlib]System.Object - IL_0091: dup - IL_0092: ldc.i4.0 - IL_0093: ldloc.1 - IL_0094: callvirt instance string object::ToString() - IL_0099: stelem.ref - IL_009a: dup - IL_009b: ldc.i4.1 - IL_009c: ldarg.1 - IL_009d: stelem.ref - IL_009e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a3: nop - IL_00a4: br IL_00ca - - IL_00a9: nop - IL_00aa: ldarg.0 - IL_00ab: ldc.i4 1000 - IL_00b0: ldstr "String_ResourceLinkageInDependentFileNotFound" - IL_00b5: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ba: ldc.i4.1 - IL_00bb: newarr [mscorlib]System.Object - IL_00c0: dup - IL_00c1: ldc.i4.0 - IL_00c2: ldarg.1 - IL_00c3: stelem.ref - IL_00c4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00c9: nop - IL_00ca: ldloc.1 - IL_00cb: stloc.2 - IL_00cc: br IL_00d1 - - IL_00d1: ldloc.2 - IL_00d2: ret - } // end of method CompilerBase::GetResourceLinkage + IL_01d0: ldloc.s 8 + IL_01d2: ret + } // end of method TypedValueGatherer::GetTypedValue - // method line 554 - .method family hidebysig - instance default void LinkResourceAssembly (class [mscorlib]System.Collections.Hashtable resourceFiles, class [mscorlib]System.IO.FileInfo resourceAssemblyFile, string culture) cil managed + // method line 443 + .method private hidebysig + instance default class [mscorlib]System.Type FindType (class [System]System.Collections.Specialized.StringCollection assemblies, class [System]System.Collections.Specialized.StringCollection imports, string typename) cil managed { - // Method begins at RVA 0x63ac - // Code size 262 (0x106) - .maxstack 2 + // Method begins at RVA 0xb038 + // Code size 369 (0x171) + .maxstack 4 .locals init ( - class NAnt.DotNet.Tasks.AssemblyLinkerTask V_0, + class [mscorlib]System.Type V_0, string V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - string V_3, - class NAnt.DotNet.Types.EmbeddedResource V_4, - class [mscorlib]System.IDisposable V_5) + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.Reflection.Assembly V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class [mscorlib]System.IDisposable V_7, + string V_8, + class [System]System.Collections.Specialized.StringEnumerator V_9, + class [mscorlib]System.IDisposable V_10, + class [mscorlib]System.Type V_11) IL_0000: nop - IL_0001: newobj instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_001f: ldloc.0 - IL_0020: ldarg.0 - IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0026: ldloc.0 - IL_0027: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_002c: ldloc.0 - IL_002d: ldarg.2 - IL_002e: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_0033: ldloc.0 - IL_0034: ldarg.3 - IL_0035: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Culture(string) - IL_003a: ldloc.0 - IL_003b: ldstr "lib" - IL_0040: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputTarget(string) - IL_0045: ldloc.0 - IL_0046: ldarg.0 - IL_0047: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_OutputFile() - IL_004c: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_TemplateFile(class [mscorlib]System.IO.FileInfo) - IL_0051: ldloc.0 - IL_0052: ldarg.0 - IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() - IL_0058: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyFile(class [mscorlib]System.IO.FileInfo) - IL_005d: ldloc.0 - IL_005e: ldarg.0 - IL_005f: callvirt instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() - IL_0064: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyContainer(string) - IL_0069: ldloc.0 - IL_006a: ldarg.0 - IL_006b: callvirt instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() - IL_0070: callvirt instance void class NAnt.DotNet.Tasks.AssemblyLinkerTask::set_DelaySign(valuetype NAnt.DotNet.Types.DelaySign) - IL_0075: nop - IL_0076: ldarg.1 - IL_0077: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_007c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0081: stloc.2 - .try { // 0 - IL_0082: br IL_00b9 - - IL_0087: ldloc.2 - IL_0088: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_008d: castclass [mscorlib]System.String - IL_0092: stloc.1 - IL_0093: nop - IL_0094: ldarg.1 - IL_0095: ldloc.1 - IL_0096: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_009b: castclass [mscorlib]System.String - IL_00a0: stloc.3 - IL_00a1: ldloc.3 - IL_00a2: ldloc.1 - IL_00a3: newobj instance void class NAnt.DotNet.Types.EmbeddedResource::'.ctor'(string, string) - IL_00a8: stloc.s 4 - IL_00aa: ldloc.0 - IL_00ab: callvirt instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() - IL_00b0: ldloc.s 4 - IL_00b2: callvirt instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class NAnt.DotNet.Types.EmbeddedResource) - IL_00b7: pop - IL_00b8: nop - IL_00b9: ldloc.2 - IL_00ba: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00bf: brtrue IL_0087 - - IL_00c4: leave IL_00df + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: nop + IL_0004: ldarg.1 + IL_0005: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_000a: stloc.2 + .try { // 1 + IL_000b: br IL_00b3 - } // end .try 0 - finally { // 0 - IL_00c9: ldloc.2 - IL_00ca: isinst [mscorlib]System.IDisposable - IL_00cf: dup - IL_00d0: stloc.s 5 - IL_00d2: brfalse IL_00de + IL_0010: ldloc.2 + IL_0011: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0016: stloc.1 + IL_0017: nop + IL_0018: ldloc.1 + IL_0019: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_001e: stloc.3 + IL_001f: ldloc.3 + IL_0020: ldarg.3 + IL_0021: ldc.i4.0 + IL_0022: ldc.i4.0 + IL_0023: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) + IL_0028: stloc.0 + IL_0029: ldloc.0 + IL_002a: ldnull + IL_002b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0030: brfalse IL_00a0 - IL_00d7: ldloc.s 5 - IL_00d9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00de: endfinally - } // end handler 0 - IL_00df: ldarg.0 - IL_00e0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00e5: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 1 - IL_00ea: nop - IL_00eb: ldloc.0 - IL_00ec: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_00f1: nop - IL_00f2: leave IL_0105 + IL_0035: nop + IL_0036: nop + IL_0037: ldarg.2 + IL_0038: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_003d: stloc.s 5 + .try { // 0 + IL_003f: br IL_0077 - } // end .try 1 - finally { // 1 - IL_00f7: nop - IL_00f8: ldarg.0 - IL_00f9: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00fe: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0103: nop - IL_0104: endfinally - } // end handler 1 - IL_0105: ret - } // end of method CompilerBase::LinkResourceAssembly + IL_0044: ldloc.s 5 + IL_0046: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_004b: stloc.s 4 + IL_004d: nop + IL_004e: ldloc.3 + IL_004f: ldloc.s 4 + IL_0051: ldstr "." + IL_0056: ldarg.3 + IL_0057: call string string::Concat(string, string, string) + IL_005c: ldc.i4.0 + IL_005d: ldc.i4.0 + IL_005e: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) + IL_0063: stloc.0 + IL_0064: ldloc.0 + IL_0065: ldnull + IL_0066: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_006b: brfalse IL_0076 - // method line 555 - .method family hidebysig - instance default void CompileResxResources (class [System]System.Collections.Specialized.StringCollection resxFiles) cil managed - { - // Method begins at RVA 0x64dc - // Code size 375 (0x177) - .maxstack 2 - .locals init ( - class NAnt.DotNet.Tasks.ResGenTask V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6) - IL_0000: nop - IL_0001: newobj instance void class NAnt.DotNet.Tasks.ResGenTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_001f: ldloc.0 - IL_0020: ldarg.0 - IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0026: ldloc.0 - IL_0027: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_002c: ldloc.0 - IL_002d: ldarg.0 - IL_002e: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0033: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0038: ldloc.0 - IL_0039: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_003e: ldloc.0 - IL_003f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0044: ldloc.0 - IL_0045: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_004a: ldloc.0 - IL_004b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0050: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0055: ldloc.0 - IL_0056: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_005b: ldloc.0 - IL_005c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0061: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0066: ldloc.0 - IL_0067: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_006c: ldarg.0 - IL_006d: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_0072: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_007c: ldloc.0 - IL_007d: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_0082: ldarg.0 - IL_0083: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_0088: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_008d: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0092: ldloc.0 - IL_0093: callvirt instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences() - IL_0098: brfalse IL_00a6 + IL_0070: nop + IL_0071: leave IL_0083 - IL_009d: nop - IL_009e: ldloc.0 - IL_009f: ldc.i4.1 - IL_00a0: callvirt instance void class NAnt.DotNet.Tasks.ResGenTask::set_UseSourcePath(bool) - IL_00a5: nop - IL_00a6: nop - IL_00a7: ldarg.0 - IL_00a8: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_References() - IL_00ad: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00b2: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00b7: stloc.2 - .try { // 0 - IL_00b8: br IL_00d8 + IL_0076: nop + IL_0077: ldloc.s 5 + IL_0079: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_007e: brtrue IL_0044 - IL_00bd: ldloc.2 - IL_00be: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00c3: stloc.1 - IL_00c4: nop - IL_00c5: ldloc.0 - IL_00c6: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_00cb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_00d0: ldloc.1 - IL_00d1: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00d6: pop - IL_00d7: nop - IL_00d8: ldloc.2 - IL_00d9: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00de: brtrue IL_00bd + IL_0083: leave IL_009f - IL_00e3: leave IL_00fc + } // end .try 0 + finally { // 0 + IL_0088: ldloc.s 5 + IL_008a: isinst [mscorlib]System.IDisposable + IL_008f: dup + IL_0090: stloc.s 6 + IL_0092: brfalse IL_009e - } // end .try 0 - finally { // 0 - IL_00e8: ldloc.2 - IL_00e9: isinst [mscorlib]System.IDisposable - IL_00ee: dup - IL_00ef: stloc.3 - IL_00f0: brfalse IL_00fb + IL_0097: ldloc.s 6 + IL_0099: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009e: endfinally + } // end handler 0 + IL_009f: nop + IL_00a0: ldloc.0 + IL_00a1: ldnull + IL_00a2: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00a7: brfalse IL_00b2 - IL_00f5: ldloc.3 - IL_00f6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00fb: endfinally - } // end handler 0 - IL_00fc: nop - IL_00fd: ldarg.1 - IL_00fe: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0103: stloc.s 5 - .try { // 1 - IL_0105: br IL_0128 + IL_00ac: nop + IL_00ad: leave IL_00be - IL_010a: ldloc.s 5 - IL_010c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0111: stloc.s 4 - IL_0113: nop - IL_0114: ldloc.0 - IL_0115: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_011a: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_011f: ldloc.s 4 - IL_0121: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0126: pop - IL_0127: nop - IL_0128: ldloc.s 5 - IL_012a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_012f: brtrue IL_010a + IL_00b2: nop + IL_00b3: ldloc.2 + IL_00b4: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00b9: brtrue IL_0010 - IL_0134: leave IL_0150 + IL_00be: leave IL_00d9 } // end .try 1 finally { // 1 - IL_0139: ldloc.s 5 - IL_013b: isinst [mscorlib]System.IDisposable - IL_0140: dup - IL_0141: stloc.s 6 - IL_0143: brfalse IL_014f + IL_00c3: ldloc.2 + IL_00c4: isinst [mscorlib]System.IDisposable + IL_00c9: dup + IL_00ca: stloc.s 7 + IL_00cc: brfalse IL_00d8 - IL_0148: ldloc.s 6 - IL_014a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_014f: endfinally + IL_00d1: ldloc.s 7 + IL_00d3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d8: endfinally } // end handler 1 - IL_0150: ldarg.0 - IL_0151: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0156: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 2 - IL_015b: nop - IL_015c: ldloc.0 - IL_015d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0162: nop - IL_0163: leave IL_0176 + IL_00d9: ldloc.0 + IL_00da: ldnull + IL_00db: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00e0: brfalse IL_0166 - } // end .try 2 - finally { // 2 - IL_0168: nop - IL_0169: ldarg.0 - IL_016a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_016f: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0174: nop - IL_0175: endfinally - } // end handler 2 - IL_0176: ret - } // end of method CompilerBase::CompileResxResources + IL_00e5: nop + IL_00e6: ldarg.3 + IL_00e7: ldc.i4.0 + IL_00e8: ldc.i4.0 + IL_00e9: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) + IL_00ee: stloc.0 + IL_00ef: ldloc.0 + IL_00f0: ldnull + IL_00f1: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00f6: brfalse IL_0165 - // method line 556 - .method public static hidebysig - default class [mscorlib]System.Globalization.CultureInfo GetResourceCulture (string resourceFile, string dependentFile) cil managed - { - // Method begins at RVA 0x6688 - // Code size 140 (0x8c) - .maxstack 5 - .locals init ( - string V_0, - class [mscorlib]System.Globalization.CultureInfo V_1, - int32 V_2, - string V_3) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0007: stloc.0 - IL_0008: ldarg.1 - IL_0009: brfalse IL_0034 + IL_00fb: nop + IL_00fc: nop + IL_00fd: ldarg.2 + IL_00fe: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0103: stloc.s 9 + .try { // 2 + IL_0105: br IL_013c - IL_000e: ldarg.1 - IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0014: brfalse IL_0034 + IL_010a: ldloc.s 9 + IL_010c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0111: stloc.s 8 + IL_0113: nop + IL_0114: ldloc.s 8 + IL_0116: ldstr "." + IL_011b: ldarg.3 + IL_011c: call string string::Concat(string, string, string) + IL_0121: ldc.i4.0 + IL_0122: ldc.i4.0 + IL_0123: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) + IL_0128: stloc.0 + IL_0129: ldloc.0 + IL_012a: ldnull + IL_012b: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0130: brfalse IL_013b + + IL_0135: nop + IL_0136: leave IL_0148 - IL_0019: nop - IL_001a: ldarg.1 - IL_001b: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0020: ldloc.0 - IL_0021: call bool string::op_Equality(string, string) - IL_0026: brfalse IL_0033 + IL_013b: nop + IL_013c: ldloc.s 9 + IL_013e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0143: brtrue IL_010a - IL_002b: nop - IL_002c: ldnull - IL_002d: stloc.1 - IL_002e: br IL_008a + IL_0148: leave IL_0164 - IL_0033: nop - IL_0034: ldloc.0 - IL_0035: ldc.i4.s 0x2e - IL_0037: callvirt instance int32 string::LastIndexOf(char) - IL_003c: stloc.2 - IL_003d: ldloc.2 - IL_003e: ldc.i4.0 - IL_003f: blt IL_0083 + } // end .try 2 + finally { // 2 + IL_014d: ldloc.s 9 + IL_014f: isinst [mscorlib]System.IDisposable + IL_0154: dup + IL_0155: stloc.s 10 + IL_0157: brfalse IL_0163 - IL_0044: ldloc.2 - IL_0045: ldloc.0 - IL_0046: callvirt instance int32 string::get_Length() - IL_004b: bgt IL_0083 + IL_015c: ldloc.s 10 + IL_015e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0163: endfinally + } // end handler 2 + IL_0164: nop + IL_0165: nop + IL_0166: ldloc.0 + IL_0167: stloc.s 11 + IL_0169: br IL_016e - IL_0050: nop - IL_0051: ldloc.0 - IL_0052: ldloc.2 - IL_0053: ldc.i4.1 - IL_0054: add - IL_0055: ldloc.0 - IL_0056: callvirt instance int32 string::get_Length() - IL_005b: ldloc.2 - IL_005c: ldc.i4.1 - IL_005d: add - IL_005e: sub - IL_005f: callvirt instance string string::Substring(int32, int32) - IL_0064: stloc.3 - IL_0065: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.DotNet.Tasks.CompilerBase::CultureNames - IL_006a: ldloc.3 - IL_006b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0070: brfalse IL_0082 + IL_016e: ldloc.s 11 + IL_0170: ret + } // end of method TypedValueGatherer::FindType - IL_0075: nop - IL_0076: ldloc.3 - IL_0077: newobj instance void class [mscorlib]System.Globalization.CultureInfo::'.ctor'(string) - IL_007c: stloc.1 - IL_007d: br IL_008a + } // end of class TypedValueGatherer - IL_0082: nop - IL_0083: ldnull - IL_0084: stloc.1 - IL_0085: br IL_008a + } // end of class NAnt.DotNet.Tasks.AssemblyInfoTask +} - IL_008a: ldloc.1 - IL_008b: ret - } // end of method CompilerBase::GetResourceCulture +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi beforefieldinit DelaySignTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 64 65 6C 61 79 2D 73 69 67 6E 00 00 ) // ...delay-sign.. - .property instance bool Debug () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _targets + .field private class [mscorlib]System.IO.FileInfo _keyFile + .field private string _keyContainer + .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_Debug () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Debug (bool 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + // method line 444 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xb1e0 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::_targets + IL_000b: ldarg.0 + IL_000c: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0011: ret + } // end of method DelaySignTask::.ctor - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_OutputFile () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string OutputTarget () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re - 71 75 69 72 65 64 01 ) // quired. + // method line 445 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Targets () cil managed + { + // Method begins at RVA 0xb1f4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::_targets + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DelaySignTask::get_Targets - .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_OutputTarget () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_OutputTarget (string 'value') - } - .property instance string Define () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 64 65 66 69 6E 65 00 00 ) // ...define.. + // method line 446 + .method public hidebysig specialname + instance default void set_Targets (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0xb20f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::_targets + IL_0008: ret + } // end of method DelaySignTask::set_Targets - .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_Define () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Define (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo Win32Icon () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 77 69 6E 33 32 69 63 6F 6E 00 00 ) // ...win32icon.. + // method line 447 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed + { + // Method begins at RVA 0xb21c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.DelaySignTask::_keyFile + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_Win32Icon () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo Win32Res () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 77 69 6E 33 32 72 65 73 00 00 ) // ...win32res.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DelaySignTask::get_KeyFile - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_Win32Res () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance bool WarnAsError () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 77 61 72 6E 61 73 65 72 72 6F 72 00 00 ) // ...warnaserror.. + // method line 448 + .method public hidebysig specialname + instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0xb237 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.DelaySignTask::_keyFile + IL_0008: ret + } // end of method DelaySignTask::set_KeyFile - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 449 + .method public hidebysig specialname + instance default string get_KeyContainer () cil managed + { + // Method begins at RVA 0xb244 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Tasks.DelaySignTask::_keyContainer + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_WarnAsError () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_WarnAsError (bool 'value') - } - .property instance class NAnt.DotNet.Types.WarningAsError WarningAsError () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 77 61 72 6E 61 73 65 72 72 6F 72 00 00 ) // ...warnaserror.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DelaySignTask::get_KeyContainer - .get instance default class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError () - } - .property instance string NoWarn () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6E 6F 77 61 72 6E 00 00 ) // ...nowarn.. + // method line 450 + .method public hidebysig specialname + instance default void set_KeyContainer (string 'value') cil managed + { + // Method begins at RVA 0xb25f + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.DelaySignTask::_keyContainer + IL_000d: ret + } // end of method DelaySignTask::set_KeyContainer - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 21 55 73 65 20 74 68 65 20 3C 6E 6F 77 61 // ..!Use the element inst - 65 61 64 2E 00 00 00 ) // ead.... + // method line 451 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed + { + // Method begins at RVA 0xb270 + // Code size 40 (0x28) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_0007: brfalse IL_001e - .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_NoWarn () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_NoWarn (string 'value') - } - .property instance class NAnt.DotNet.Types.CompilerWarningCollection SuppressWarnings () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 06 6E 6F 77 61 72 6E 07 77 61 72 6E 69 6E // ...nowarn.warnin - 67 00 00 ) // g.. + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_0013: callvirt instance string object::ToString() + IL_0018: stloc.0 + IL_0019: br IL_0026 - .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.CompilerBase::get_SuppressWarnings () - } - .property instance bool ForceRebuild () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 62 75 69 6C 64 00 00 ) // ...rebuild.. + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0026: ldloc.0 + IL_0027: ret + } // end of method DelaySignTask::get_ProgramArguments - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_ForceRebuild () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_ForceRebuild (bool 'value') - } - .property instance string MainType () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6D 61 69 6E 00 00 ) // ...main.. + // method line 452 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xb2a4 + // Code size 429 (0x1ad) + .maxstack 7 + .locals init ( + bool V_0, + bool V_1, + string V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.DelaySignTask::get_KeyFile() + IL_0007: ldnull + IL_0008: ceq + IL_000a: ldc.i4.0 + IL_000b: ceq + IL_000d: stloc.0 + IL_000e: ldarg.0 + IL_000f: call instance string class NAnt.DotNet.Tasks.DelaySignTask::get_KeyContainer() + IL_0014: ldnull + IL_0015: ceq + IL_0017: ldc.i4.0 + IL_0018: ceq + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: brfalse IL_002c - .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_MainType () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_MainType (string 'value') - } - .property instance string KeyContainer () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. - 00 ) // . + IL_0021: ldarg.0 + IL_0022: call instance string class NAnt.DotNet.Tasks.DelaySignTask::get_KeyContainer() + IL_0027: br IL_0037 - .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_KeyContainer (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo KeyFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. + IL_002c: ldarg.0 + IL_002d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.DelaySignTask::get_KeyFile() + IL_0032: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0037: stloc.2 + IL_0038: ldarg.0 + IL_0039: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() + IL_003e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0043: brtrue IL_0065 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.CompilerBase::get_KeyFile () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance valuetype NAnt.DotNet.Types.DelaySign DelaySign () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 65 6C 61 79 73 69 67 6E 00 00 ) // ...delaysign.. + IL_0048: nop + IL_0049: ldarg.0 + IL_004a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() + IL_004f: ldarg.0 + IL_0050: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0055: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_005a: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_005f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0064: nop + IL_0065: ldloc.0 + IL_0066: brfalse IL_0071 - .get instance default valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.CompilerBase::get_DelaySign () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Lib () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 03 6C 69 62 00 00 ) // ...lib.. + IL_006b: ldloc.1 + IL_006c: brtrue IL_007d - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 3C 55 73 65 20 74 68 65 20 3C 6C 69 62 3E // .. - 20 65 6C 65 6D 65 6E 74 20 69 6E 20 3C 72 65 66 // element in and instead.. - 00 00 ) // .. + IL_0071: ldloc.0 + IL_0072: brtrue IL_0094 - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::get_Lib () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Lib (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.DotNet.Types.AssemblyFileSet References () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. + IL_0077: ldloc.1 + IL_0078: brtrue IL_0094 - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::get_References () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance class NAnt.DotNet.Types.PackageCollection Packages () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0E 70 6B 67 2D 72 65 66 65 72 65 6E 63 65 // ...pkg-reference - 73 07 70 61 63 6B 61 67 65 00 00 ) // s.package.. + IL_007d: nop + IL_007e: ldstr "NA2012" + IL_0083: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0088: ldarg.0 + IL_0089: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_008e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0093: throw + IL_0094: ldarg.0 + IL_0095: ldc.i4 3000 + IL_009a: ldstr "String_DelaySigningAssemblies" + IL_009f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00a4: ldc.i4.1 + IL_00a5: newarr [mscorlib]System.Object + IL_00aa: dup + IL_00ab: ldc.i4.0 + IL_00ac: ldarg.0 + IL_00ad: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() + IL_00b2: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00b7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00bc: box [mscorlib]System.Int32 + IL_00c1: stelem.ref + IL_00c2: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00c7: nop + IL_00c8: ldarg.0 + IL_00c9: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.DelaySignTask::get_Targets() + IL_00ce: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00d3: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00d8: stloc.s 4 + .try { // 0 + IL_00da: br IL_0184 - .get instance default class NAnt.DotNet.Types.PackageCollection NAnt.DotNet.Tasks.CompilerBase::get_Packages () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Packages (class NAnt.DotNet.Types.PackageCollection 'value') - } - .property instance class NAnt.DotNet.Types.ResourceFileSetCollection ResourcesList () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 09 72 65 73 6F 75 72 63 65 73 00 00 ) // ...resources.. + IL_00df: ldloc.s 4 + IL_00e1: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00e6: stloc.3 + IL_00e7: nop + IL_00e8: ldarg.0 + IL_00e9: ldc.i4.s 0x09 + IL_00eb: ldloc.3 + IL_00ec: callvirt instance int32 string::get_Length() + IL_00f1: add + IL_00f2: ldloc.2 + IL_00f3: callvirt instance int32 string::get_Length() + IL_00f8: add + IL_00f9: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(int32) + IL_00fe: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_0103: ldarg.0 + IL_0104: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0109: brtrue IL_0121 - .get instance default class NAnt.DotNet.Types.ResourceFileSetCollection NAnt.DotNet.Tasks.CompilerBase::get_ResourcesList () - } - .property instance class NAnt.DotNet.Types.AssemblyFileSet Modules () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6D 6F 64 75 6C 65 73 00 00 ) // ...modules.. + IL_010e: nop + IL_010f: ldarg.0 + IL_0110: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_0115: ldstr "-q " + IL_011a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_011f: pop + IL_0120: nop + IL_0121: ldarg.0 + IL_0122: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_0127: ldstr "-R" + IL_012c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0131: pop + IL_0132: ldloc.1 + IL_0133: brfalse IL_0148 - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.CompilerBase::get_Modules () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 07 73 6F 75 72 63 65 73 01 00 54 02 08 52 // ...sources..T..R - 65 71 75 69 72 65 64 01 ) // equired. + IL_0138: nop + IL_0139: ldarg.0 + IL_013a: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_013f: ldc.i4.s 0x63 + IL_0141: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0146: pop + IL_0147: nop + IL_0148: ldarg.0 + IL_0149: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_014e: ldstr " \"" + IL_0153: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0158: ldloc.3 + IL_0159: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_015e: ldstr "\" \"" + IL_0163: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0168: pop + IL_0169: ldarg.0 + IL_016a: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.DelaySignTask::_argumentBuilder + IL_016f: ldloc.2 + IL_0170: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0175: ldc.i4.s 0x22 + IL_0177: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_017c: pop + IL_017d: ldarg.0 + IL_017e: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_0183: nop + IL_0184: ldloc.s 4 + IL_0186: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_018b: brtrue IL_00df - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.CompilerBase::get_Sources () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance bool SupportsPackageReferences () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 19 73 75 70 70 6F 72 74 73 70 61 63 6B 61 // ...supportspacka - 67 65 72 65 66 65 72 65 6E 63 65 73 00 00 ) // gereferences.. + IL_0190: leave IL_01ac - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsPackageReferences () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsPackageReferences (bool 'value') - } - .property instance bool SupportsWarnAsErrorList () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 17 73 75 70 70 6F 72 74 73 77 61 72 6E 61 // ...supportswarna - 73 65 72 72 6F 72 6C 69 73 74 00 00 ) // serrorlist.. + } // end .try 0 + finally { // 0 + IL_0195: ldloc.s 4 + IL_0197: isinst [mscorlib]System.IDisposable + IL_019c: dup + IL_019d: stloc.s 5 + IL_019f: brfalse IL_01ab - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsWarnAsErrorList () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsWarnAsErrorList (bool 'value') - } - .property instance bool SupportsNoWarnList () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 12 73 75 70 70 6F 72 74 73 6E 6F 77 61 72 // ...supportsnowar - 6E 6C 69 73 74 00 00 ) // nlist.. + IL_01a4: ldloc.s 5 + IL_01a6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01ab: endfinally + } // end handler 0 + IL_01ac: ret + } // end of method DelaySignTask::ExecuteTask - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsNoWarnList () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsNoWarnList (bool 'value') - } - .property instance bool SupportsKeyContainer () + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Targets () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 14 73 75 70 70 6F 72 74 73 6B 65 79 63 6F // ...supportskeyco - 6E 74 61 69 6E 65 72 00 00 ) // ntainer.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 74 61 72 67 65 74 73 00 00 ) // ...targets.. - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyContainer () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsKeyContainer (bool 'value') + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.DelaySignTask::get_Targets () + .set instance default void NAnt.DotNet.Tasks.DelaySignTask::set_Targets (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') } - .property instance bool SupportsKeyFile () + .property instance class [mscorlib]System.IO.FileInfo KeyFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 0F 73 75 70 70 6F 72 74 73 6B 65 79 66 69 // ...supportskeyfi - 6C 65 00 00 ) // le.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsKeyFile () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsKeyFile (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.DelaySignTask::get_KeyFile () + .set instance default void NAnt.DotNet.Tasks.DelaySignTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool SupportsDelaySign () + .property instance string KeyContainer () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 11 73 75 70 70 6F 72 74 73 64 65 6C 61 79 // ...supportsdelay - 73 69 67 6E 00 00 ) // sign.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. + 00 ) // . - .get instance default bool NAnt.DotNet.Tasks.CompilerBase::get_SupportsDelaySign () - .set instance default void NAnt.DotNet.Tasks.CompilerBase::set_SupportsDelaySign (bool 'value') - } - .property instance string Extension () - { - .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_Extension () - } - .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () - { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CompilerBase::get_ClassNameRegex () - } - .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () - { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.CompilerBase::get_NamespaceRegex () + .get instance default string NAnt.DotNet.Tasks.DelaySignTask::get_KeyContainer () + .set instance default void NAnt.DotNet.Tasks.DelaySignTask::set_KeyContainer (string 'value') } .property instance string ProgramArguments () { - .get instance default string NAnt.DotNet.Tasks.CompilerBase::get_ProgramArguments () + .get instance default string NAnt.DotNet.Tasks.DelaySignTask::get_ProgramArguments () } - .class nested public auto ansi beforefieldinit ResourceLinkage - extends [mscorlib]System.Object + } // end of class NAnt.DotNet.Tasks.DelaySignTask +} + +.namespace NAnt.DotNet.Tasks +{ + .class public auto ansi beforefieldinit IlasmTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase { - .field private string _namespaceName - .field private string _className - .field private class [mscorlib]System.Globalization.CultureInfo _culture + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 69 6C 61 73 6D 00 00 ) // ...ilasm.. - // method line 557 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + + .field private bool _clock + .field private bool _debug + .field private bool _error + .field private bool _forceRebuild + .field private bool _listing + .field private int32 _alignment + .field private int32 _base + .field private int32 _flags + .field private int32 _subsystem + .field private string _target + .field private string _keySource + .field private class [mscorlib]System.IO.FileInfo _keyFile + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private class [mscorlib]System.IO.FileInfo _resourceFile + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources + .field private string _options + + // method line 453 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string namespaceName, string className) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x6720 - // Code size 22 (0x16) + // Method begins at RVA 0xb470 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className - IL_0015: ret - } // end of method ResourceLinkage::.ctor - - // method line 558 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x6738 - // Code size 146 (0x92) - .maxstack 3 - .locals init ( - string V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid() - IL_0007: brtrue IL_0018 - - IL_000c: nop - IL_000d: ldsfld string [mscorlib]System.String::Empty - IL_0012: stloc.1 - IL_0013: br IL_0090 - - IL_0018: ldarg.0 - IL_0019: call instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasNamespaceName() - IL_001e: brfalse IL_005c - - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: call instance bool class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasClassName() - IL_002a: brfalse IL_004d - - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName() - IL_0036: ldstr "." - IL_003b: ldarg.0 - IL_003c: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_ClassName() - IL_0041: call string string::Concat(string, string, string) - IL_0046: stloc.0 - IL_0047: nop - IL_0048: br IL_0056 - - IL_004d: nop - IL_004e: ldarg.0 - IL_004f: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName() - IL_0054: stloc.0 - IL_0055: nop - IL_0056: nop - IL_0057: br IL_0065 - - IL_005c: nop - IL_005d: ldarg.0 - IL_005e: call instance string class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_ClassName() - IL_0063: stloc.0 - IL_0064: nop - IL_0065: ldarg.0 - IL_0066: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_Culture() - IL_006b: brfalse IL_0089 - - IL_0070: nop - IL_0071: ldstr "{0}.{1}" - IL_0076: ldloc.0 - IL_0077: ldarg.0 - IL_0078: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_Culture() - IL_007d: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_0082: call string string::Format(string, object, object) - IL_0087: stloc.0 - IL_0088: nop - IL_0089: ldloc.0 - IL_008a: stloc.1 - IL_008b: br IL_0090 - - IL_0090: ldloc.1 - IL_0091: ret - } // end of method ResourceLinkage::ToString - - // method line 559 - .method public hidebysig specialname - instance default bool get_IsValid () cil managed - { - // Method begins at RVA 0x67d8 - // Code size 42 (0x2a) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: brfalse IL_0021 - - IL_0011: ldarg.0 - IL_0012: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className - IL_0017: call bool string::IsNullOrEmpty(string) - IL_001c: ldc.i4.0 - IL_001d: ceq - IL_001f: br.s IL_0022 - - IL_0021: ldc.i4.1 - IL_0022: stloc.0 - IL_0023: br IL_0028 - - IL_0028: ldloc.0 - IL_0029: ret - } // end of method ResourceLinkage::get_IsValid + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0006: ret + } // end of method IlasmTask::.ctor - // method line 560 + // method line 454 .method public hidebysig specialname - instance default bool get_HasNamespaceName () cil managed + instance default bool get_Clock () cil managed { - // Method begins at RVA 0x6810 - // Code size 23 (0x17) - .maxstack 2 + // Method begins at RVA 0xb478 + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: br IL_0015 + IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_clock + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0015: ldloc.0 - IL_0016: ret - } // end of method ResourceLinkage::get_HasNamespaceName + IL_000d: ldloc.0 + IL_000e: ret + } // end of method IlasmTask::get_Clock - // method line 561 + // method line 455 .method public hidebysig specialname - instance default bool get_HasClassName () cil managed + instance default void set_Clock (bool 'value') cil managed { - // Method begins at RVA 0x6834 - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0xb493 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: br IL_0015 - - IL_0015: ldloc.0 - IL_0016: ret - } // end of method ResourceLinkage::get_HasClassName + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_clock + IL_0008: ret + } // end of method IlasmTask::set_Clock - // method line 562 + // method line 456 .method public hidebysig specialname - instance default string get_NamespaceName () cil managed + instance default bool get_Debug () cil managed { - // Method begins at RVA 0x6858 + // Method begins at RVA 0xb4a0 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName + IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_debug IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResourceLinkage::get_NamespaceName + } // end of method IlasmTask::get_Debug - // method line 563 + // method line 457 .method public hidebysig specialname - instance default void set_NamespaceName (string 'value') cil managed + instance default void set_Debug (bool 'value') cil managed { - // Method begins at RVA 0x6873 - // Code size 26 (0x1a) + // Method begins at RVA 0xb4bb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: brfalse IL_0013 - - IL_0008: ldarg.1 - IL_0009: callvirt instance string string::Trim() - IL_000e: br IL_0014 - - IL_0013: ldnull - IL_0014: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_namespaceName - IL_0019: ret - } // end of method ResourceLinkage::set_NamespaceName + IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_debug + IL_0008: ret + } // end of method IlasmTask::set_Debug - // method line 564 + // method line 458 .method public hidebysig specialname - instance default string get_ClassName () cil managed + instance default bool get_Error () cil managed { - // Method begins at RVA 0x6890 + // Method begins at RVA 0xb4c8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className + IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_error IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResourceLinkage::get_ClassName + } // end of method IlasmTask::get_Error - // method line 565 + // method line 459 .method public hidebysig specialname - instance default void set_ClassName (string 'value') cil managed + instance default void set_Error (bool 'value') cil managed { - // Method begins at RVA 0x68ab - // Code size 26 (0x1a) + // Method begins at RVA 0xb4e3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: brfalse IL_0013 - - IL_0008: ldarg.1 - IL_0009: callvirt instance string string::Trim() - IL_000e: br IL_0014 - - IL_0013: ldnull - IL_0014: stfld string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_className - IL_0019: ret - } // end of method ResourceLinkage::set_ClassName + IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_error + IL_0008: ret + } // end of method IlasmTask::set_Error - // method line 566 + // method line 460 .method public hidebysig specialname - instance default class [mscorlib]System.Globalization.CultureInfo get_Culture () cil managed + instance default bool get_ForceRebuild () cil managed { - // Method begins at RVA 0x68c8 + // Method begins at RVA 0xb4f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Globalization.CultureInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Globalization.CultureInfo NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_culture + IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_forceRebuild IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResourceLinkage::get_Culture + } // end of method IlasmTask::get_ForceRebuild - // method line 567 + // method line 461 .method public hidebysig specialname - instance default void set_Culture (class [mscorlib]System.Globalization.CultureInfo 'value') cil managed + instance default void set_ForceRebuild (bool 'value') cil managed { - // Method begins at RVA 0x68e3 + // Method begins at RVA 0xb50b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.Globalization.CultureInfo NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::_culture + IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_forceRebuild IL_0008: ret - } // end of method ResourceLinkage::set_Culture - - .property instance bool IsValid () - { - .get instance default bool NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_IsValid () - } - .property instance bool HasNamespaceName () - { - .get instance default bool NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasNamespaceName () - } - .property instance bool HasClassName () - { - .get instance default bool NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_HasClassName () - } - .property instance string NamespaceName () - { - .get instance default string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_NamespaceName () - .set instance default void NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_NamespaceName (string 'value') - } - .property instance string ClassName () - { - .get instance default string NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_ClassName () - .set instance default void NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_ClassName (string 'value') - } - .property instance class [mscorlib]System.Globalization.CultureInfo Culture () - { - .get instance default class [mscorlib]System.Globalization.CultureInfo NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::get_Culture () - .set instance default void NAnt.DotNet.Tasks.CompilerBase/ResourceLinkage::set_Culture (class [mscorlib]System.Globalization.CultureInfo 'value') - } - } // end of class ResourceLinkage - - } // end of class NAnt.DotNet.Tasks.CompilerBase -} - -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit ResGenTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 72 65 73 67 65 6E 00 00 ) // ...resgen.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - - .field private class [mscorlib]System.Text.StringBuilder _arguments - .field private class NAnt.DotNet.Types.AssemblyFileSet _assemblies - .field private class [mscorlib]System.IO.FileInfo _inputFile - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private string _programFileName - .field private class NAnt.DotNet.Types.ResourceFileSet _resources - .field private string _targetExt - .field private class [mscorlib]System.IO.DirectoryInfo _toDir - .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory - .field private bool _useSourcePath - .field private class [mscorlib]System.Collections.ArrayList _qualifiedResources - .field private bool _supportsAssemblyReferences - .field private bool _supportsExternalFileReferences - .field private static literal int32 _maxCmdLineLength = int32(0x00007530) - - // method line 568 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa2cc - // Code size 62 (0x3e) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0011: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::_assemblies - IL_0016: ldarg.0 - IL_0017: newobj instance void class NAnt.DotNet.Types.ResourceFileSet::'.ctor'() - IL_001c: stfld class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::_resources - IL_0021: ldarg.0 - IL_0022: ldstr "resources" - IL_0027: stfld string NAnt.DotNet.Tasks.ResGenTask::_targetExt - IL_002c: ldarg.0 - IL_002d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0032: stfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Tasks.ResGenTask::_qualifiedResources - IL_0037: ldarg.0 - IL_0038: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_003d: ret - } // end of method ResGenTask::.ctor + } // end of method IlasmTask::set_ForceRebuild - // method line 569 + // method line 462 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_InputFile () cil managed + instance default bool get_Listing () cil managed { - // Method begins at RVA 0xa30c + // Method begins at RVA 0xb518 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_inputFile + IL_0002: ldfld bool NAnt.DotNet.Tasks.IlasmTask::_listing IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_InputFile + } // end of method IlasmTask::get_Listing - // method line 570 + // method line 463 .method public hidebysig specialname - instance default void set_InputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Listing (bool 'value') cil managed { - // Method begins at RVA 0xa327 + // Method begins at RVA 0xb533 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_inputFile + IL_0003: stfld bool NAnt.DotNet.Tasks.IlasmTask::_listing IL_0008: ret - } // end of method ResGenTask::set_InputFile + } // end of method IlasmTask::set_Listing - // method line 571 + // method line 464 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + instance default int32 get_Alignment () cil managed { - // Method begins at RVA 0xa334 + // Method begins at RVA 0xb540 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_outputFile + IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_alignment IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_OutputFile + } // end of method IlasmTask::get_Alignment - // method line 572 + // method line 465 .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Alignment (int32 'value') cil managed { - // Method begins at RVA 0xa34f + // Method begins at RVA 0xb55b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::_outputFile + IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_alignment IL_0008: ret - } // end of method ResGenTask::set_OutputFile + } // end of method IlasmTask::set_Alignment - // method line 573 + // method line 466 .method public hidebysig specialname - instance default string get_TargetExt () cil managed + instance default int32 get_Base () cil managed { - // Method begins at RVA 0xa35c + // Method begins at RVA 0xb568 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.ResGenTask::_targetExt + IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_base IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_TargetExt + } // end of method IlasmTask::get_Base - // method line 574 + // method line 467 .method public hidebysig specialname - instance default void set_TargetExt (string 'value') cil managed + instance default void set_Base (int32 'value') cil managed { - // Method begins at RVA 0xa377 - // Code size 14 (0xe) + // Method begins at RVA 0xb583 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.ResGenTask::_targetExt - IL_000d: ret - } // end of method ResGenTask::set_TargetExt + IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_base + IL_0008: ret + } // end of method IlasmTask::set_Base - // method line 575 + // method line 468 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed + instance default int32 get_Flags () cil managed { - // Method begins at RVA 0xa388 + // Method begins at RVA 0xb590 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_toDir + IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_flags IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_ToDirectory + } // end of method IlasmTask::get_Flags - // method line 576 + // method line 469 .method public hidebysig specialname - instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_Flags (int32 'value') cil managed { - // Method begins at RVA 0xa3a3 + // Method begins at RVA 0xb5ab // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_toDir + IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_flags IL_0008: ret - } // end of method ResGenTask::set_ToDirectory + } // end of method IlasmTask::set_Flags - // method line 577 + // method line 470 .method public hidebysig specialname - instance default bool get_UseSourcePath () cil managed + instance default int32 get_Subsystem () cil managed { - // Method begins at RVA 0xa3b0 + // Method begins at RVA 0xb5b8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.ResGenTask::_useSourcePath + IL_0002: ldfld int32 NAnt.DotNet.Tasks.IlasmTask::_subsystem IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_UseSourcePath + } // end of method IlasmTask::get_Subsystem - // method line 578 + // method line 471 .method public hidebysig specialname - instance default void set_UseSourcePath (bool 'value') cil managed + instance default void set_Subsystem (int32 'value') cil managed { - // Method begins at RVA 0xa3cb + // Method begins at RVA 0xb5d3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.ResGenTask::_useSourcePath + IL_0003: stfld int32 NAnt.DotNet.Tasks.IlasmTask::_subsystem IL_0008: ret - } // end of method ResGenTask::set_UseSourcePath + } // end of method IlasmTask::set_Subsystem - // method line 579 + // method line 472 .method public hidebysig specialname - instance default class NAnt.DotNet.Types.ResourceFileSet get_Resources () cil managed + instance default string get_Target () cil managed { - // Method begins at RVA 0xa3d8 + // Method begins at RVA 0xb5e0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.ResourceFileSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::_resources + IL_0002: ldfld string NAnt.DotNet.Tasks.IlasmTask::_target IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_Resources + } // end of method IlasmTask::get_Target - // method line 580 + // method line 473 .method public hidebysig specialname - instance default void set_Resources (class NAnt.DotNet.Types.ResourceFileSet 'value') cil managed + instance default void set_Target (string 'value') cil managed { - // Method begins at RVA 0xa3f3 - // Code size 9 (0x9) + // Method begins at RVA 0xb5fb + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::_resources - IL_0008: ret - } // end of method ResGenTask::set_Resources + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Tasks.IlasmTask::_target + IL_000d: ret + } // end of method IlasmTask::set_Target - // method line 581 + // method line 474 .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed + instance default string get_KeySource () cil managed { - // Method begins at RVA 0xa400 + // Method begins at RVA 0xb60c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::_assemblies + IL_0002: ldfld string NAnt.DotNet.Tasks.IlasmTask::_keySource IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_Assemblies + } // end of method IlasmTask::get_KeySource - // method line 582 + // method line 475 .method public hidebysig specialname - instance default void set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + instance default void set_KeySource (string 'value') cil managed { - // Method begins at RVA 0xa41b + // Method begins at RVA 0xb627 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::_assemblies + IL_0003: stfld string NAnt.DotNet.Tasks.IlasmTask::_keySource IL_0008: ret - } // end of method ResGenTask::set_Assemblies + } // end of method IlasmTask::set_KeySource - // method line 583 + // method line 476 .method public hidebysig specialname - instance default bool get_SupportsAssemblyReferences () cil managed + instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed { - // Method begins at RVA 0xa428 + // Method begins at RVA 0xb634 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsAssemblyReferences + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_keyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_SupportsAssemblyReferences + } // end of method IlasmTask::get_KeyFile - // method line 584 + // method line 477 .method public hidebysig specialname - instance default void set_SupportsAssemblyReferences (bool 'value') cil managed + instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xa443 + // Method begins at RVA 0xb64f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsAssemblyReferences + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_keyFile IL_0008: ret - } // end of method ResGenTask::set_SupportsAssemblyReferences + } // end of method IlasmTask::set_KeyFile - // method line 585 + // method line 478 .method public hidebysig specialname - instance default bool get_SupportsExternalFileReferences () cil managed + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0xa450 + // Method begins at RVA 0xb65c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsExternalFileReferences + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_outputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_SupportsExternalFileReferences + } // end of method IlasmTask::get_OutputFile - // method line 586 + // method line 479 .method public hidebysig specialname - instance default void set_SupportsExternalFileReferences (bool 'value') cil managed + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xa46b + // Method begins at RVA 0xb677 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.ResGenTask::_supportsExternalFileReferences + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_outputFile IL_0008: ret - } // end of method ResGenTask::set_SupportsExternalFileReferences + } // end of method IlasmTask::set_OutputFile - // method line 587 + // method line 480 .method public hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_QualifiedResources () cil managed + instance default class [mscorlib]System.IO.FileInfo get_ResourceFile () cil managed { - // Method begins at RVA 0xa478 + // Method begins at RVA 0xb684 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Tasks.ResGenTask::_qualifiedResources + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_resourceFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ResGenTask::get_QualifiedResources + } // end of method IlasmTask::get_ResourceFile - // method line 588 - .method private hidebysig specialname - instance default bool get_RequiresAssemblyReferences () cil managed + // method line 481 + .method public hidebysig specialname + instance default void set_ResourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xa494 - // Code size 285 (0x11d) - .maxstack 2 - .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - bool V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.DotNet.Tasks.QualifiedResource V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class [mscorlib]System.IDisposable V_6) + // Method begins at RVA 0xb69f + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0011: ldc.i4.0 - IL_0012: bgt IL_0028 - - IL_0017: ldarg.0 - IL_0018: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() - IL_001d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0022: ldc.i4.0 - IL_0023: ble IL_00f1 - - IL_0028: nop - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_0030: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0035: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_003a: stloc.1 - .try { // 0 - IL_003b: br IL_005d - - IL_0040: ldloc.1 - IL_0041: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0046: stloc.0 - IL_0047: nop - IL_0048: ldarg.0 - IL_0049: ldloc.0 - IL_004a: call instance bool class NAnt.DotNet.Tasks.ResGenTask::ReferencesThirdPartyAssemblies(string) - IL_004f: brfalse IL_005c - - IL_0054: nop - IL_0055: ldc.i4.1 - IL_0056: stloc.2 - IL_0057: leave IL_011b - - IL_005c: nop - IL_005d: ldloc.1 - IL_005e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0063: brtrue IL_0040 - - IL_0068: leave IL_0081 - - } // end .try 0 - finally { // 0 - IL_006d: ldloc.1 - IL_006e: isinst [mscorlib]System.IDisposable - IL_0073: dup - IL_0074: stloc.3 - IL_0075: brfalse IL_0080 - - IL_007a: ldloc.3 - IL_007b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0080: endfinally - } // end handler 0 - IL_0081: nop - IL_0082: ldarg.0 - IL_0083: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() - IL_0088: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_008d: stloc.s 5 - .try { // 1 - IL_008f: br IL_00c3 - - IL_0094: ldloc.s 5 - IL_0096: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_009b: castclass NAnt.DotNet.Tasks.QualifiedResource - IL_00a0: stloc.s 4 - IL_00a2: nop - IL_00a3: ldarg.0 - IL_00a4: ldloc.s 4 - IL_00a6: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Input() - IL_00ab: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00b0: call instance bool class NAnt.DotNet.Tasks.ResGenTask::ReferencesThirdPartyAssemblies(string) - IL_00b5: brfalse IL_00c2 - - IL_00ba: nop - IL_00bb: ldc.i4.1 - IL_00bc: stloc.2 - IL_00bd: leave IL_011b - - IL_00c2: nop - IL_00c3: ldloc.s 5 - IL_00c5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00ca: brtrue IL_0094 - - IL_00cf: leave IL_00eb - - } // end .try 1 - finally { // 1 - IL_00d4: ldloc.s 5 - IL_00d6: isinst [mscorlib]System.IDisposable - IL_00db: dup - IL_00dc: stloc.s 6 - IL_00de: brfalse IL_00ea - - IL_00e3: ldloc.s 6 - IL_00e5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00ea: endfinally - } // end handler 1 - IL_00eb: nop - IL_00ec: br IL_0114 - - IL_00f1: ldarg.0 - IL_00f2: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_00f7: brfalse IL_0114 - - IL_00fc: nop - IL_00fd: ldarg.0 - IL_00fe: ldarg.0 - IL_00ff: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_0104: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0109: call instance bool class NAnt.DotNet.Tasks.ResGenTask::ReferencesThirdPartyAssemblies(string) - IL_010e: stloc.2 - IL_010f: br IL_011b - - IL_0114: ldc.i4.0 - IL_0115: stloc.2 - IL_0116: br IL_011b - - IL_011b: ldloc.2 - IL_011c: ret - } // end of method ResGenTask::get_RequiresAssemblyReferences + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::_resourceFile + IL_0008: ret + } // end of method IlasmTask::set_ResourceFile - // method line 589 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + // method line 482 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed { - // Method begins at RVA 0xa5dc - // Code size 39 (0x27) + // Method begins at RVA 0xb6ac + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory - IL_0007: brtrue IL_0019 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0013: stloc.0 - IL_0014: br IL_0025 - - IL_0019: ldarg.0 - IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.IlasmTask::_sources + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0025: ldloc.0 - IL_0026: ret - } // end of method ResGenTask::get_BaseDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method IlasmTask::get_Sources - // method line 590 - .method public virtual hidebysig specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 483 + .method public hidebysig specialname + instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xa60f + // Method begins at RVA 0xb6c7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.IlasmTask::_sources IL_0008: ret - } // end of method ResGenTask::set_BaseDirectory + } // end of method IlasmTask::set_Sources - // method line 591 + // method line 484 .method public virtual hidebysig specialname instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0xa61c - // Code size 20 (0x14) + // Method begins at RVA 0xb6d4 + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_0007: callvirt instance string object::ToString() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld string NAnt.DotNet.Tasks.IlasmTask::_options + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ResGenTask::get_ProgramArguments + IL_000d: ldloc.0 + IL_000e: ret + } // end of method IlasmTask::get_ProgramArguments - // method line 592 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed + // method line 485 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xa63c - // Code size 40 (0x28) - .maxstack 2 - .locals init ( - string V_0) + // Method begins at RVA 0xb6f0 + // Code size 137 (0x89) + .maxstack 7 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName - IL_0007: brtrue IL_001a + IL_0002: call instance bool class NAnt.DotNet.Tasks.IlasmTask::NeedsCompiling() + IL_0007: brfalse IL_0088 IL_000c: nop IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_0014: stfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_000e: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() + IL_0013: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0018: brtrue IL_003a - IL_0026: ldloc.0 - IL_0027: ret - } // end of method ResGenTask::get_ProgramFileName + IL_001d: nop + IL_001e: ldarg.0 + IL_001f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() + IL_0024: ldarg.0 + IL_0025: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_002a: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_002f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0034: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: ldc.i4 3000 + IL_0040: ldstr "String_CompilingFiles" + IL_0045: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004a: ldc.i4.2 + IL_004b: newarr [mscorlib]System.Object + IL_0050: dup + IL_0051: ldc.i4.0 + IL_0052: ldarg.0 + IL_0053: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() + IL_0058: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_005d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0062: box [mscorlib]System.Int32 + IL_0067: stelem.ref + IL_0068: dup + IL_0069: ldc.i4.1 + IL_006a: ldarg.0 + IL_006b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_0070: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0075: stelem.ref + IL_0076: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007b: ldarg.0 + IL_007c: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOptions() + IL_0081: ldarg.0 + IL_0082: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_0087: nop + IL_0088: ret + } // end of method IlasmTask::ExecuteTask - // method line 593 - .method family virtual hidebysig - instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + // method line 486 + .method private hidebysig + instance default void WriteOptions () cil managed { - // Method begins at RVA 0xa670 - // Code size 434 (0x1b2) - .maxstack 3 + // Method begins at RVA 0xb788 + // Code size 636 (0x27c) + .maxstack 5 .locals init ( - class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + class [mscorlib]System.IO.StringWriter V_0, + int32 V_1, + int32 V_2, + int32 V_3, + int32 V_4, + string V_5, + class [System]System.Collections.Specialized.StringEnumerator V_6, + class [mscorlib]System.IDisposable V_7) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsAssemblyReferences() - IL_0007: brtrue IL_01aa + IL_0001: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() + IL_0006: stloc.0 + .try { // 1 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldloc.0 + IL_000a: ldstr "NOLOGO" + IL_000f: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) + IL_0014: ldarg.0 + IL_0015: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_001a: brtrue IL_002d + + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: ldloc.0 + IL_0022: ldstr "QUIET" + IL_0027: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) + IL_002c: nop + IL_002d: ldarg.0 + IL_002e: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Clock() + IL_0033: brfalse IL_0046 + + IL_0038: nop + IL_0039: ldarg.0 + IL_003a: ldloc.0 + IL_003b: ldstr "CLOCK" + IL_0040: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) + IL_0045: nop + IL_0046: ldarg.0 + IL_0047: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Debug() + IL_004c: brfalse IL_005f + + IL_0051: nop + IL_0052: ldarg.0 + IL_0053: ldloc.0 + IL_0054: ldstr "DEBUG" + IL_0059: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Error() + IL_0065: brfalse IL_0078 + + IL_006a: nop + IL_006b: ldarg.0 + IL_006c: ldloc.0 + IL_006d: ldstr "ERROR" + IL_0072: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) + IL_0077: nop + IL_0078: ldarg.0 + IL_0079: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_Listing() + IL_007e: brfalse IL_0091 + + IL_0083: nop + IL_0084: ldarg.0 + IL_0085: ldloc.0 + IL_0086: ldstr "LISTING" + IL_008b: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) + IL_0090: nop + IL_0091: ldarg.0 + IL_0092: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Alignment() + IL_0097: ldc.i4.0 + IL_0098: ble IL_00bf + + IL_009d: nop + IL_009e: ldarg.0 + IL_009f: ldloc.0 + IL_00a0: ldstr "ALIGNMENT" + IL_00a5: ldarg.0 + IL_00a6: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Alignment() + IL_00ab: stloc.1 + IL_00ac: ldloca.s 1 + IL_00ae: constrained. [mscorlib]System.Int32 + IL_00b4: callvirt instance string object::ToString() + IL_00b9: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_00be: nop + IL_00bf: ldarg.0 + IL_00c0: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Base() + IL_00c5: ldc.i4.0 + IL_00c6: ble IL_00ed + + IL_00cb: nop + IL_00cc: ldarg.0 + IL_00cd: ldloc.0 + IL_00ce: ldstr "BASE" + IL_00d3: ldarg.0 + IL_00d4: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Base() + IL_00d9: stloc.2 + IL_00da: ldloca.s 2 + IL_00dc: constrained. [mscorlib]System.Int32 + IL_00e2: callvirt instance string object::ToString() + IL_00e7: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_00ec: nop + IL_00ed: ldarg.0 + IL_00ee: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Flags() + IL_00f3: ldc.i4.0 + IL_00f4: ble IL_011b + + IL_00f9: nop + IL_00fa: ldarg.0 + IL_00fb: ldloc.0 + IL_00fc: ldstr "FLAGS" + IL_0101: ldarg.0 + IL_0102: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Flags() + IL_0107: stloc.3 + IL_0108: ldloca.s 3 + IL_010a: constrained. [mscorlib]System.Int32 + IL_0110: callvirt instance string object::ToString() + IL_0115: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_011a: nop + IL_011b: ldarg.0 + IL_011c: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Subsystem() + IL_0121: ldc.i4.0 + IL_0122: ble IL_014a - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_0013: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0018: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_001d: brfalse IL_002d + IL_0127: nop + IL_0128: ldarg.0 + IL_0129: ldloc.0 + IL_012a: ldstr "SUBSYSTEM" + IL_012f: ldarg.0 + IL_0130: call instance int32 class NAnt.DotNet.Tasks.IlasmTask::get_Subsystem() + IL_0135: stloc.s 4 + IL_0137: ldloca.s 4 + IL_0139: constrained. [mscorlib]System.Int32 + IL_013f: callvirt instance string object::ToString() + IL_0144: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_0149: nop + IL_014a: ldarg.0 + IL_014b: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_Target() + IL_0150: brfalse IL_0169 - IL_0022: ldarg.0 - IL_0023: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_RequiresAssemblyReferences() - IL_0028: brtrue IL_003a + IL_0155: nop + IL_0156: ldarg.0 + IL_0157: ldloc.0 + IL_0158: ldarg.0 + IL_0159: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_Target() + IL_015e: callvirt instance string string::ToUpper() + IL_0163: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string) + IL_0168: nop + IL_0169: ldarg.0 + IL_016a: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_KeySource() + IL_016f: brfalse IL_0192 - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: ldarg.1 - IL_0030: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) - IL_0035: br IL_01b1 + IL_0174: nop + IL_0175: ldarg.0 + IL_0176: ldloc.0 + IL_0177: ldstr "KEY" + IL_017c: ldstr "@" + IL_0181: ldarg.0 + IL_0182: call instance string class NAnt.DotNet.Tasks.IlasmTask::get_KeySource() + IL_0187: call string string::Concat(string, string) + IL_018c: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_0191: nop + IL_0192: ldarg.0 + IL_0193: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() + IL_0198: brfalse IL_01b6 - IL_003a: ldarg.0 - IL_003b: call class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Util.FileUtils::GetTempDirectory() - IL_0040: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0045: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() - IL_004a: stloc.0 - IL_004b: ldloc.0 - IL_004c: ldarg.0 - IL_004d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0052: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0057: ldloc.0 - IL_0058: ldarg.0 - IL_0059: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0063: ldloc.0 - IL_0064: ldarg.0 - IL_0065: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_006a: ldloc.0 - IL_006b: ldarg.0 - IL_006c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0071: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0076: ldloc.0 - IL_0077: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_007c: brtrue IL_008e + IL_019d: nop + IL_019e: ldarg.0 + IL_019f: ldloc.0 + IL_01a0: ldstr "KEY" + IL_01a5: ldarg.0 + IL_01a6: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() + IL_01ab: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01b0: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_01b5: nop + IL_01b6: ldarg.0 + IL_01b7: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_01bc: brfalse IL_01da - IL_0081: nop - IL_0082: ldloc.0 - IL_0083: ldc.i4 4000 - IL_0088: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_008d: nop - IL_008e: ldloc.0 - IL_008f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0094: ldloc.0 - IL_0095: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_009a: ldloc.0 - IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_00a0: ldloc.0 - IL_00a1: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_00a6: ldloc.0 - IL_00a7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00b1: ldloc.0 - IL_00b2: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_00b7: ldloc.0 - IL_00b8: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_00bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00c2: ldloc.0 - IL_00c3: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_00c8: ldarg.0 - IL_00c9: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_00ce: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_00d3: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00d8: ldloc.0 - IL_00d9: ldc.i4.1 - IL_00da: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_Flatten(bool) - IL_00df: nop - IL_00e0: ldarg.0 - IL_00e1: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_00e6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00eb: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00f0: stloc.2 - .try { // 0 - IL_00f1: br IL_0111 + IL_01c1: nop + IL_01c2: ldarg.0 + IL_01c3: ldloc.0 + IL_01c4: ldstr "OUTPUT" + IL_01c9: ldarg.0 + IL_01ca: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_01cf: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01d4: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_01d9: nop + IL_01da: ldarg.0 + IL_01db: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() + IL_01e0: brfalse IL_01fe - IL_00f6: ldloc.2 - IL_00f7: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00fc: stloc.1 - IL_00fd: nop - IL_00fe: ldloc.0 - IL_00ff: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0104: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0109: ldloc.1 - IL_010a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_010f: pop - IL_0110: nop - IL_0111: ldloc.2 - IL_0112: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0117: brtrue IL_00f6 + IL_01e5: nop + IL_01e6: ldarg.0 + IL_01e7: ldloc.0 + IL_01e8: ldstr "RESOURCE" + IL_01ed: ldarg.0 + IL_01ee: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() + IL_01f3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01f8: call instance void class NAnt.DotNet.Tasks.IlasmTask::WriteOption(class [mscorlib]System.IO.StringWriter, string, string) + IL_01fd: nop + IL_01fe: nop + IL_01ff: ldarg.0 + IL_0200: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() + IL_0205: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_020a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_020f: stloc.s 6 + .try { // 0 + IL_0211: br IL_0238 - IL_011c: leave IL_0135 + IL_0216: ldloc.s 6 + IL_0218: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_021d: stloc.s 5 + IL_021f: nop + IL_0220: ldloc.0 + IL_0221: ldstr " \"" + IL_0226: ldloc.s 5 + IL_0228: ldstr "\" " + IL_022d: call string string::Concat(string, string, string) + IL_0232: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_0237: nop + IL_0238: ldloc.s 6 + IL_023a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_023f: brtrue IL_0216 - } // end .try 0 - finally { // 0 - IL_0121: ldloc.2 - IL_0122: isinst [mscorlib]System.IDisposable - IL_0127: dup - IL_0128: stloc.3 - IL_0129: brfalse IL_0134 + IL_0244: leave IL_0260 - IL_012e: ldloc.3 - IL_012f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0134: endfinally - } // end handler 0 - IL_0135: ldloc.0 - IL_0136: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_013b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0140: ldarg.0 - IL_0141: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_0146: ldstr "*" - IL_014b: call string string::Concat(string, string) - IL_0150: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0155: pop - IL_0156: ldloc.0 - IL_0157: ldarg.0 - IL_0158: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_015d: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0162: ldloc.0 - IL_0163: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0168: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 1 - IL_016d: nop - IL_016e: ldloc.0 - IL_016f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0174: nop - IL_0175: leave IL_0188 + } // end .try 0 + finally { // 0 + IL_0249: ldloc.s 6 + IL_024b: isinst [mscorlib]System.IDisposable + IL_0250: dup + IL_0251: stloc.s 7 + IL_0253: brfalse IL_025f - } // end .try 1 - finally { // 1 - IL_017a: nop - IL_017b: ldloc.0 - IL_017c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0181: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0186: nop - IL_0187: endfinally + IL_0258: ldloc.s 7 + IL_025a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_025f: endfinally + } // end handler 0 + IL_0260: ldarg.0 + IL_0261: ldloc.0 + IL_0262: callvirt instance string object::ToString() + IL_0267: stfld string NAnt.DotNet.Tasks.IlasmTask::_options + IL_026c: nop + IL_026d: leave IL_027b + + } // end .try 1 + finally { // 1 + IL_0272: nop + IL_0273: ldloc.0 + IL_0274: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0279: nop + IL_027a: endfinally } // end handler 1 - IL_0188: ldarg.0 - IL_0189: ldarg.0 - IL_018a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_018f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0194: ldarg.0 - IL_0195: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_019a: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_019f: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_01a4: stfld string NAnt.DotNet.Tasks.ResGenTask::_programFileName - IL_01a9: nop - IL_01aa: ldarg.0 - IL_01ab: ldarg.1 - IL_01ac: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) - IL_01b1: ret - } // end of method ResGenTask::PrepareProcess + IL_027b: ret + } // end of method IlasmTask::WriteOptions - // method line 594 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 487 + .method private hidebysig + instance default void WriteOption (class [mscorlib]System.IO.StringWriter writer, string name) cil managed { - // Method begins at RVA 0xa84c - // Code size 756 (0x2f4) + // Method begins at RVA 0xba44 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "/{0} " + IL_0007: ldarg.2 + IL_0008: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string, object) + IL_000d: ret + } // end of method IlasmTask::WriteOption + + // method line 488 + .method private hidebysig + instance default void WriteOption (class [mscorlib]System.IO.StringWriter writer, string name, string arg) cil managed + { + // Method begins at RVA 0xba53 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "\"/{0}={1}\" " + IL_0007: ldarg.2 + IL_0008: ldarg.3 + IL_0009: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string, object, object) + IL_000e: ret + } // end of method IlasmTask::WriteOption + + // method line 489 + .method private hidebysig + instance default bool NeedsCompiling () cil managed + { + // Method begins at RVA 0xba64 + // Code size 360 (0x168) .maxstack 7 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IO.FileInfo V_2, - class [mscorlib]System.IO.FileInfo V_3, - class [mscorlib]System.IDisposable V_4, - class NAnt.DotNet.Tasks.QualifiedResource V_5, - class [mscorlib]System.Collections.IEnumerator V_6, - class [mscorlib]System.IDisposable V_7, - class [mscorlib]System.IO.FileInfo V_8, - class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_9) + bool V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e + IL_0002: call instance bool class NAnt.DotNet.Tasks.IlasmTask::get_ForceRebuild() + IL_0007: brfalse IL_0029 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_0018: ldarg.0 - IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0039: brtrue IL_005b + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldc.i4 2000 + IL_0013: ldstr "String_RebuildAttributeSetToTrue" + IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0022: ldc.i4.1 + IL_0023: stloc.0 + IL_0024: br IL_0166 - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_0045: ldarg.0 - IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0055: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_005a: nop - IL_005b: ldarg.0 - IL_005c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_0061: ldc.i4.0 - IL_0062: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) - IL_0067: ldarg.0 - IL_0068: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_006d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0072: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0077: ldc.i4.0 - IL_0078: bgt IL_008e + IL_0029: ldarg.0 + IL_002a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_002f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0034: brtrue IL_006a + + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: ldc.i4 2000 + IL_0040: ldstr "String_OutputFileDoesNotExist" + IL_0045: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_004a: ldc.i4.1 + IL_004b: newarr [mscorlib]System.Object + IL_0050: dup + IL_0051: ldc.i4.0 + IL_0052: ldarg.0 + IL_0053: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005d: stelem.ref + IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0063: ldc.i4.1 + IL_0064: stloc.0 + IL_0065: br IL_0166 + + IL_006a: ldarg.0 + IL_006b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.IlasmTask::get_Sources() + IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0075: ldarg.0 + IL_0076: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_007b: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0080: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0085: stloc.1 + IL_0086: ldloc.1 + IL_0087: brfalse IL_00b3 + + IL_008c: nop + IL_008d: ldarg.0 + IL_008e: ldc.i4 2000 + IL_0093: ldstr "String_FileHasBeenUpdated" + IL_0098: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_009d: ldc.i4.1 + IL_009e: newarr [mscorlib]System.Object + IL_00a3: dup + IL_00a4: ldc.i4.0 + IL_00a5: ldloc.1 + IL_00a6: stelem.ref + IL_00a7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00ac: ldc.i4.1 + IL_00ad: stloc.0 + IL_00ae: br IL_0166 + + IL_00b3: ldarg.0 + IL_00b4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() + IL_00b9: brfalse IL_0109 + + IL_00be: nop + IL_00bf: ldarg.0 + IL_00c0: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile() + IL_00c5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00ca: ldarg.0 + IL_00cb: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_00d0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00d5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_00da: stloc.1 + IL_00db: ldloc.1 + IL_00dc: brfalse IL_0108 + + IL_00e1: nop + IL_00e2: ldarg.0 + IL_00e3: ldc.i4 2000 + IL_00e8: ldstr "String_FileHasBeenUpdated" + IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_00f2: ldc.i4.1 + IL_00f3: newarr [mscorlib]System.Object + IL_00f8: dup + IL_00f9: ldc.i4.0 + IL_00fa: ldloc.1 + IL_00fb: stelem.ref + IL_00fc: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0101: ldc.i4.1 + IL_0102: stloc.0 + IL_0103: br IL_0166 + + IL_0108: nop + IL_0109: ldarg.0 + IL_010a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() + IL_010f: brfalse IL_015f + + IL_0114: nop + IL_0115: ldarg.0 + IL_0116: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_KeyFile() + IL_011b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0120: ldarg.0 + IL_0121: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.IlasmTask::get_OutputFile() + IL_0126: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_012b: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0130: stloc.1 + IL_0131: ldloc.1 + IL_0132: brfalse IL_015e + + IL_0137: nop + IL_0138: ldarg.0 + IL_0139: ldc.i4 2000 + IL_013e: ldstr "String_FileHasBeenUpdated" + IL_0143: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0148: ldc.i4.1 + IL_0149: newarr [mscorlib]System.Object + IL_014e: dup + IL_014f: ldc.i4.0 + IL_0150: ldloc.1 + IL_0151: stelem.ref + IL_0152: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0157: ldc.i4.1 + IL_0158: stloc.0 + IL_0159: br IL_0166 + + IL_015e: nop + IL_015f: ldc.i4.0 + IL_0160: stloc.0 + IL_0161: br IL_0166 + + IL_0166: ldloc.0 + IL_0167: ret + } // end of method IlasmTask::NeedsCompiling + + .property instance bool Clock () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 63 6C 6F 63 6B 00 00 ) // ...clock.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Clock () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Clock (bool 'value') + } + .property instance bool Debug () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 62 75 67 00 00 ) // ...debug.. - IL_007d: ldarg.0 - IL_007e: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() - IL_0083: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0088: ldc.i4.0 - IL_0089: ble IL_018e + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_008e: nop - IL_008f: ldarg.0 - IL_0090: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_OutputFile() - IL_0095: brfalse IL_00b1 + .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Debug () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Debug (bool 'value') + } + .property instance bool Error () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 65 72 72 6F 72 00 00 ) // ...error.. - IL_009a: nop - IL_009b: ldstr "NA2026" - IL_00a0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00a5: ldarg.0 - IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_00ab: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00b0: throw - IL_00b1: nop - IL_00b2: ldarg.0 - IL_00b3: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_00b8: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00bd: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00c2: stloc.1 - .try { // 0 - IL_00c3: br IL_0103 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00c8: ldloc.1 - IL_00c9: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00ce: stloc.0 - IL_00cf: nop - IL_00d0: ldloc.0 - IL_00d1: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00d6: stloc.2 - IL_00d7: ldarg.0 - IL_00d8: ldloc.2 - IL_00d9: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_00de: ldarg.0 - IL_00df: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_00e4: ldloc.0 - IL_00e5: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string) - IL_00ea: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00ef: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00f4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) - IL_00f9: stloc.3 - IL_00fa: ldarg.0 - IL_00fb: ldloc.2 - IL_00fc: ldloc.3 - IL_00fd: call instance void class NAnt.DotNet.Tasks.ResGenTask::WriteCommandLineOptions(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) - IL_0102: nop - IL_0103: ldloc.1 - IL_0104: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0109: brtrue IL_00c8 + .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Error () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Error (bool 'value') + } + .property instance bool ForceRebuild () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 62 75 69 6C 64 00 00 ) // ...rebuild.. - IL_010e: leave IL_0129 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end .try 0 - finally { // 0 - IL_0113: ldloc.1 - IL_0114: isinst [mscorlib]System.IDisposable - IL_0119: dup - IL_011a: stloc.s 4 - IL_011c: brfalse IL_0128 + .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_ForceRebuild () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_ForceRebuild (bool 'value') + } + .property instance bool Listing () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6C 69 73 74 69 6E 67 00 00 ) // ...listing.. - IL_0121: ldloc.s 4 - IL_0123: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0128: endfinally - } // end handler 0 - IL_0129: nop - IL_012a: ldarg.0 - IL_012b: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() - IL_0130: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0135: stloc.s 6 - .try { // 1 - IL_0137: br IL_0160 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_013c: ldloc.s 6 - IL_013e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0143: castclass NAnt.DotNet.Tasks.QualifiedResource - IL_0148: stloc.s 5 - IL_014a: nop - IL_014b: ldarg.0 - IL_014c: ldloc.s 5 - IL_014e: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Input() - IL_0153: ldloc.s 5 - IL_0155: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Output() - IL_015a: call instance void class NAnt.DotNet.Tasks.ResGenTask::WriteCommandLineOptions(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) - IL_015f: nop - IL_0160: ldloc.s 6 - IL_0162: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0167: brtrue IL_013c + .get instance default bool NAnt.DotNet.Tasks.IlasmTask::get_Listing () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Listing (bool 'value') + } + .property instance int32 Alignment () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 61 6C 69 67 6E 6D 65 6E 74 00 00 ) // ...alignment.. - IL_016c: leave IL_0188 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end .try 1 - finally { // 1 - IL_0171: ldloc.s 6 - IL_0173: isinst [mscorlib]System.IDisposable - IL_0178: dup - IL_0179: stloc.s 7 - IL_017b: brfalse IL_0187 + .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Alignment () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Alignment (int32 'value') + } + .property instance int32 Base () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 62 61 73 65 00 00 ) // ...base.. - IL_0180: ldloc.s 7 - IL_0182: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0187: endfinally - } // end handler 1 - IL_0188: nop - IL_0189: br IL_0281 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_018e: nop - IL_018f: ldarg.0 - IL_0190: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_0195: brtrue IL_01b1 + .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Base () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Base (int32 'value') + } + .property instance int32 Flags () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 66 6C 61 67 73 00 00 ) // ...flags.. - IL_019a: nop - IL_019b: ldstr "NA2027" - IL_01a0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01a5: ldarg.0 - IL_01a6: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_01ab: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_01b0: throw - IL_01b1: ldarg.0 - IL_01b2: ldarg.0 - IL_01b3: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_01b8: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) - IL_01bd: stloc.s 8 - IL_01bf: ldarg.0 - IL_01c0: ldarg.0 - IL_01c1: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_01c6: ldloc.s 8 - IL_01c8: callvirt instance bool class NAnt.DotNet.Tasks.ResGenTask::NeedsCompiling(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) - IL_01cd: brfalse IL_0280 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01d2: nop - IL_01d3: ldloc.s 8 - IL_01d5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_01da: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_01df: brtrue IL_01f2 + .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Flags () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Flags (int32 'value') + } + .property instance int32 Subsystem () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 73 75 62 73 79 73 74 65 6D 00 00 ) // ...subsystem.. - IL_01e4: nop - IL_01e5: ldloc.s 8 - IL_01e7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_01ec: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_01f1: nop - IL_01f2: ldarg.0 - IL_01f3: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath() - IL_01f8: brfalse IL_0252 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01fd: nop - IL_01fe: ldarg.0 - IL_01ff: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences() - IL_0204: brfalse IL_0221 + .get instance default int32 NAnt.DotNet.Tasks.IlasmTask::get_Subsystem () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Subsystem (int32 'value') + } + .property instance string Target () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re + 71 75 69 72 65 64 01 ) // quired. - IL_0209: nop - IL_020a: ldarg.0 - IL_020b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_0210: ldstr "/useSourcePath" - IL_0215: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_021a: pop - IL_021b: nop - IL_021c: br IL_0251 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_0221: nop - IL_0222: ldarg.0 - IL_0223: ldc.i4 4000 - IL_0228: ldstr "String_ResourceCompilerDoesNotSupportExternalReferences" - IL_022d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0232: ldc.i4.1 - IL_0233: newarr [mscorlib]System.Object - IL_0238: dup - IL_0239: ldc.i4.0 - IL_023a: ldarg.0 - IL_023b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0240: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0245: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_024a: stelem.ref - IL_024b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0250: nop - IL_0251: nop - IL_0252: ldarg.0 - IL_0253: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_0258: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_025d: ldstr " \"{0}\" \"{1}\"" - IL_0262: ldarg.0 - IL_0263: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_0268: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_026d: ldloc.s 8 - IL_026f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0274: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0279: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_027e: pop - IL_027f: nop - IL_0280: nop - IL_0281: ldarg.0 - IL_0282: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_0287: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_028c: brfalse IL_02f3 + .get instance default string NAnt.DotNet.Tasks.IlasmTask::get_Target () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Target (string 'value') + } + .property instance string KeySource () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 6B 65 79 73 6F 75 72 63 65 00 00 ) // ...keysource.. + + .get instance default string NAnt.DotNet.Tasks.IlasmTask::get_KeySource () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_KeySource (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo KeyFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::get_KeyFile () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - IL_0291: nop - .try { // 2 - IL_0292: nop - IL_0293: ldarg.0 - IL_0294: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_0299: nop - IL_029a: leave IL_02f2 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::get_OutputFile () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo ResourceFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 72 65 73 6F 75 72 63 65 66 69 6C 65 00 // ...resourcefile. + 00 ) // . - } // end .try 2 - finally { // 2 - IL_029f: nop - IL_02a0: ldarg.0 - IL_02a1: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory - IL_02a6: brfalse IL_02f0 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.IlasmTask::get_ResourceFile () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_ResourceFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 07 73 6F 75 72 63 65 73 01 00 54 02 08 52 // ...sources..T..R + 65 71 75 69 72 65 64 01 ) // equired. - IL_02ab: nop - IL_02ac: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() - IL_02b1: stloc.s 9 - IL_02b3: ldloc.s 9 - IL_02b5: ldarg.0 - IL_02b6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_02bb: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_02c0: ldloc.s 9 - IL_02c2: ldarg.0 - IL_02c3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_02c8: ldloc.s 9 - IL_02ca: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_02cf: ldloc.s 9 - IL_02d1: ldarg.0 - IL_02d2: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory - IL_02d7: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) - IL_02dc: ldloc.s 9 - IL_02de: ldc.i4 9999 - IL_02e3: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_02e8: ldloc.s 9 - IL_02ea: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_02ef: nop - IL_02f0: nop - IL_02f1: endfinally - } // end handler 2 - IL_02f2: nop - IL_02f3: ret - } // end of method ResGenTask::ExecuteTask + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.IlasmTask::get_Sources () + .set instance default void NAnt.DotNet.Tasks.IlasmTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.DotNet.Tasks.IlasmTask::get_ProgramArguments () + } + } // end of class NAnt.DotNet.Tasks.IlasmTask +} - // method line 595 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit EmbeddedResourceCollection + extends NAnt.DotNet.Types.DataTypeCollectionBase + implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + + // method line 490 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xbd5b + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::'.ctor'() + IL_0006: ret + } // end of method EmbeddedResourceCollection::.ctor + + // method line 491 .method public hidebysig - instance default void RemoveOutputs () cil managed + instance default class NAnt.DotNet.Types.EmbeddedResourceEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0xab74 - // Code size 281 (0x119) - .maxstack 4 + // Method begins at RVA 0xbd64 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IO.FileInfo V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.DotNet.Tasks.QualifiedResource V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class [mscorlib]System.IO.FileInfo V_7) + class NAnt.DotNet.Types.EmbeddedResourceEnumerator V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_000d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0012: stloc.1 - .try { // 0 - IL_0013: br IL_005d + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.DotNet.Types.EmbeddedResourceEnumerator::'.ctor'(class NAnt.DotNet.Types.EmbeddedResourceCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.1 - IL_0019: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: ldloc.0 - IL_0022: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0027: ldarg.0 - IL_0028: call instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Resources() - IL_002d: ldloc.0 - IL_002e: callvirt instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string) - IL_0033: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0038: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_003d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) - IL_0042: stloc.2 - IL_0043: ldloc.0 - IL_0044: ldloc.2 - IL_0045: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004a: call bool string::op_Inequality(string, string) - IL_004f: brfalse IL_005c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EmbeddedResourceCollection::GetEnumerator - IL_0054: nop - IL_0055: ldloc.2 - IL_0056: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Delete() - IL_005b: nop - IL_005c: nop - IL_005d: ldloc.1 - IL_005e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0063: brtrue IL_0018 + // method line 492 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.EmbeddedResource get_Item (int32 index) cil managed + { + // Method begins at RVA 0xbd80 + // Code size 33 (0x21) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.EmbeddedResource V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: ldarg.1 + IL_000f: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_0014: castclass NAnt.DotNet.Types.EmbeddedResource + IL_0019: stloc.0 + IL_001a: br IL_001f - IL_0068: leave IL_0081 + IL_001f: ldloc.0 + IL_0020: ret + } // end of method EmbeddedResourceCollection::get_Item - } // end .try 0 - finally { // 0 - IL_006d: ldloc.1 - IL_006e: isinst [mscorlib]System.IDisposable - IL_0073: dup - IL_0074: stloc.3 - IL_0075: brfalse IL_0080 + // method line 493 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + { + // Method begins at RVA 0xbdad + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: ldarg.1 + IL_000f: ldarg.2 + IL_0010: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) + IL_0015: ret + } // end of method EmbeddedResourceCollection::set_Item - IL_007a: ldloc.3 - IL_007b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0080: endfinally - } // end handler 0 - IL_0081: nop - IL_0082: ldarg.0 - IL_0083: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() - IL_0088: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_008d: stloc.s 5 - .try { // 1 - IL_008f: br IL_00b0 + // method line 494 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.EmbeddedResource get_Item (string 'value') cil managed + { + // Method begins at RVA 0xbdc4 + // Code size 111 (0x6f) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.EmbeddedResource V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.DotNet.Types.EmbeddedResource V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_0094: ldloc.s 5 - IL_0096: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_009b: castclass NAnt.DotNet.Tasks.QualifiedResource - IL_00a0: stloc.s 4 - IL_00a2: nop - IL_00a3: ldloc.s 4 - IL_00a5: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.QualifiedResource::get_Output() - IL_00aa: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Delete() - IL_00af: nop - IL_00b0: ldloc.s 5 - IL_00b2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00b7: brtrue IL_0094 + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 + + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.DotNet.Types.EmbeddedResource + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_ManifestResourceName() + IL_002e: callvirt instance bool string::Equals(string) + IL_0033: brfalse IL_0040 - IL_00bc: leave IL_00d8 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - } // end .try 1 - finally { // 1 - IL_00c1: ldloc.s 5 - IL_00c3: isinst [mscorlib]System.IDisposable - IL_00c8: dup - IL_00c9: stloc.s 6 - IL_00cb: brfalse IL_00d7 + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - IL_00d0: ldloc.s 6 - IL_00d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d7: endfinally - } // end handler 1 - IL_00d8: ldarg.0 - IL_00d9: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_00de: brfalse IL_0118 + IL_004c: leave IL_0065 - IL_00e3: nop - IL_00e4: ldarg.0 - IL_00e5: ldarg.0 - IL_00e6: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_00eb: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::GetOutputFile(class [mscorlib]System.IO.FileInfo) - IL_00f0: stloc.s 7 - IL_00f2: ldarg.0 - IL_00f3: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_InputFile() - IL_00f8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00fd: ldloc.s 7 - IL_00ff: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0104: call bool string::op_Inequality(string, string) - IL_0109: brfalse IL_0117 + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - IL_010e: nop - IL_010f: ldloc.s 7 - IL_0111: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Delete() - IL_0116: nop - IL_0117: nop - IL_0118: ret - } // end of method ResGenTask::RemoveOutputs + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - // method line 596 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling (class [mscorlib]System.IO.FileInfo inputFile, class [mscorlib]System.IO.FileInfo outputFile) cil managed + IL_006d: ldloc.2 + IL_006e: ret + } // end of method EmbeddedResourceCollection::get_Item + + // method line 495 + .method family virtual hidebysig specialname + instance default class [mscorlib]System.Type get_ItemType () cil managed { - // Method begins at RVA 0xacb8 - // Code size 299 (0x12b) - .maxstack 7 + // Method begins at RVA 0xbe50 + // Code size 19 (0x13) + .maxstack 1 .locals init ( - bool V_0, - string V_1, - class [System]System.Collections.Specialized.StringCollection V_2) + class [mscorlib]System.Type V_0) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0007: brtrue IL_0038 + IL_0001: ldtoken NAnt.DotNet.Types.EmbeddedResource + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: stloc.0 + IL_000c: br IL_0011 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldc.i4 2000 - IL_0013: ldstr "String_OutputFileDoesNotExist" - IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: ldc.i4.1 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 - IL_0025: ldarg.2 - IL_0026: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002b: stelem.ref - IL_002c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0031: ldc.i4.1 - IL_0032: stloc.0 - IL_0033: br IL_0129 + IL_0011: ldloc.0 + IL_0012: ret + } // end of method EmbeddedResourceCollection::get_ItemType - IL_0038: ldarg.1 - IL_0039: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003e: ldarg.2 - IL_003f: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0044: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0049: stloc.1 - IL_004a: ldloc.1 - IL_004b: brfalse IL_0077 + // method line 496 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IList.get_Item (int32 index) cil managed + { + // Method begins at RVA 0xbe70 + .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item(int32) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: ldc.i4 2000 - IL_0057: ldstr "String_FileHasBeenUpdated" - IL_005c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0061: ldc.i4.1 - IL_0062: newarr [mscorlib]System.Object - IL_0067: dup - IL_0068: ldc.i4.0 - IL_0069: ldloc.1 - IL_006a: stelem.ref - IL_006b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0070: ldc.i4.1 - IL_0071: stloc.0 - IL_0072: br IL_0129 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method EmbeddedResourceCollection::System.Collections.IList.get_Item - IL_0077: ldarg.0 - IL_0078: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_007d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0082: ldarg.2 - IL_0083: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0088: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_008d: stloc.1 - IL_008e: ldloc.1 - IL_008f: brfalse IL_00bb + // method line 497 + .method private final virtual hidebysig newslot specialname + instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + { + // Method begins at RVA 0xbe8c + .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: castclass NAnt.DotNet.Types.EmbeddedResource + IL_0010: call instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::set_Item(int32, class NAnt.DotNet.Types.EmbeddedResource) + IL_0015: ret + } // end of method EmbeddedResourceCollection::System.Collections.IList.set_Item - IL_0094: nop - IL_0095: ldarg.0 - IL_0096: ldc.i4 2000 - IL_009b: ldstr "String_FileHasBeenUpdated" - IL_00a0: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00a5: ldc.i4.1 - IL_00a6: newarr [mscorlib]System.Object - IL_00ab: dup - IL_00ac: ldc.i4.0 - IL_00ad: ldloc.1 - IL_00ae: stelem.ref - IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00b4: ldc.i4.1 - IL_00b5: stloc.0 - IL_00b6: br IL_0129 + // method line 498 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed + { + // Method begins at RVA 0xbea3 + .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: castclass NAnt.DotNet.Types.EmbeddedResource + IL_0010: call instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::Insert(int32, class NAnt.DotNet.Types.EmbeddedResource) + IL_0015: ret + } // end of method EmbeddedResourceCollection::System.Collections.IList.Insert + + // method line 499 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Remove (object 'value') cil managed + { + // Method begins at RVA 0xbeba + .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: castclass NAnt.DotNet.Types.EmbeddedResource + IL_000f: call instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::Remove(class NAnt.DotNet.Types.EmbeddedResource) + IL_0014: ret + } // end of method EmbeddedResourceCollection::System.Collections.IList.Remove + + // method line 500 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IList.Contains (object 'value') cil managed + { + // Method begins at RVA 0xbed0 + .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) + // Code size 33 (0x21) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: ldarg.1 + IL_000f: castclass NAnt.DotNet.Types.EmbeddedResource + IL_0014: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_0019: stloc.0 + IL_001a: br IL_001f + + IL_001f: ldloc.0 + IL_0020: ret + } // end of method EmbeddedResourceCollection::System.Collections.IList.Contains + + // method line 501 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed + { + // Method begins at RVA 0xbf00 + .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) + // Code size 28 (0x1c) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: castclass NAnt.DotNet.Types.EmbeddedResource + IL_000f: call instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::IndexOf(class NAnt.DotNet.Types.EmbeddedResource) + IL_0014: stloc.0 + IL_0015: br IL_001a - IL_00bb: ldarg.1 - IL_00bc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() - IL_00c1: ldstr ".resx" - IL_00c6: ldc.i4.1 - IL_00c7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00cc: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_00d1: brtrue IL_0122 + IL_001a: ldloc.0 + IL_001b: ret + } // end of method EmbeddedResourceCollection::System.Collections.IList.IndexOf - IL_00d6: nop - IL_00d7: ldarg.0 - IL_00d8: ldarg.1 - IL_00d9: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.DotNet.Tasks.ResGenTask::GetExternalFileReferences(class [mscorlib]System.IO.FileInfo) - IL_00de: stloc.2 - IL_00df: ldloc.2 - IL_00e0: brfalse IL_0121 + // method line 502 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.Add (object 'value') cil managed + { + // Method begins at RVA 0xbf28 + .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) + // Code size 28 (0x1c) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: castclass NAnt.DotNet.Types.EmbeddedResource + IL_000f: call instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class NAnt.DotNet.Types.EmbeddedResource) + IL_0014: stloc.0 + IL_0015: br IL_001a - IL_00e5: nop - IL_00e6: ldloc.2 - IL_00e7: ldarg.2 - IL_00e8: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00ed: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_00f2: stloc.1 - IL_00f3: ldloc.1 - IL_00f4: brfalse IL_0120 + IL_001a: ldloc.0 + IL_001b: ret + } // end of method EmbeddedResourceCollection::System.Collections.IList.Add - IL_00f9: nop - IL_00fa: ldarg.0 - IL_00fb: ldc.i4 2000 - IL_0100: ldstr "String_FileHasBeenUpdated" - IL_0105: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_010a: ldc.i4.1 - IL_010b: newarr [mscorlib]System.Object - IL_0110: dup - IL_0111: ldc.i4.0 - IL_0112: ldloc.1 - IL_0113: stelem.ref - IL_0114: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0119: ldc.i4.1 - IL_011a: stloc.0 - IL_011b: br IL_0129 + // method line 503 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.EmbeddedResourceCollection items) cil managed + { + // Method begins at RVA 0xbf50 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_0120: nop - IL_0121: nop - IL_0122: ldc.i4.0 - IL_0123: stloc.0 - IL_0124: br IL_0129 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class NAnt.DotNet.Types.EmbeddedResource) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() + IL_0023: blt IL_0008 - IL_0129: ldloc.0 - IL_012a: ret - } // end of method ResGenTask::NeedsCompiling + IL_0028: ret + } // end of method EmbeddedResourceCollection::AddRange - // method line 597 - .method private hidebysig - instance default class [mscorlib]System.IO.FileInfo GetOutputFile (class [mscorlib]System.IO.FileInfo file) cil managed + // method line 504 + .method public hidebysig + instance default int32 Add (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed { - // Method begins at RVA 0xadf0 - // Code size 110 (0x6e) + // Method begins at RVA 0xbf88 + // Code size 21 (0x15) .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - class [mscorlib]System.IO.FileInfo V_1) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_OutputFile() - IL_0007: brtrue IL_005c - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Tasks.ResGenTask::get_ToDirectory() - IL_0013: brtrue IL_0021 - - IL_0018: nop - IL_0019: ldarg.1 - IL_001a: stloc.0 - IL_001b: nop - IL_001c: br IL_003f + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0021: nop - IL_0022: ldarg.0 - IL_0023: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Tasks.ResGenTask::get_ToDirectory() - IL_0028: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002d: ldarg.1 - IL_002e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Name() - IL_0033: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0038: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_003d: stloc.0 - IL_003e: nop - IL_003f: ldloc.0 - IL_0040: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0045: ldarg.0 - IL_0046: call instance string class NAnt.DotNet.Tasks.ResGenTask::get_TargetExt() - IL_004b: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_0050: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0055: stloc.0 - IL_0056: nop - IL_0057: br IL_0065 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EmbeddedResourceCollection::Add - IL_005c: nop - IL_005d: ldarg.0 - IL_005e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.ResGenTask::get_OutputFile() - IL_0063: stloc.0 - IL_0064: nop - IL_0065: ldloc.0 - IL_0066: stloc.1 - IL_0067: br IL_006c + // method line 505 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + { + // Method begins at RVA 0xbfa9 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) + IL_000e: ret + } // end of method EmbeddedResourceCollection::Insert - IL_006c: ldloc.1 - IL_006d: ret - } // end of method ResGenTask::GetOutputFile + // method line 506 + .method public hidebysig + instance default void Remove (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + { + // Method begins at RVA 0xbfb9 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) + IL_000d: ret + } // end of method EmbeddedResourceCollection::Remove - // method line 598 - .method private hidebysig - instance default bool ReferencesThirdPartyAssemblies (string resourceFile) cil managed + // method line 507 + .method public hidebysig + instance default bool Contains (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed { - // Method begins at RVA 0xae6c - // Code size 133 (0x85) - .maxstack 4 + // Method begins at RVA 0xbfc8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0, - class [mscorlib]System.IO.StreamReader V_1, - class [System.Xml]System.Xml.XPath.XPathDocument V_2, - int32 V_3) + bool V_0) IL_0000: nop - .try { // 1 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0008: brtrue IL_0015 - - IL_000d: nop - IL_000e: ldc.i4.0 - IL_000f: stloc.0 - IL_0010: leave IL_0083 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0015: ldarg.1 - IL_0016: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_001b: ldstr ".resx" - IL_0020: ldc.i4.1 - IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0026: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_002b: brfalse IL_0038 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EmbeddedResourceCollection::Contains - IL_0030: nop - IL_0031: ldc.i4.0 - IL_0032: stloc.0 - IL_0033: leave IL_0083 + // method line 508 + .method public hidebysig + instance default int32 IndexOf (class NAnt.DotNet.Types.EmbeddedResource 'value') cil managed + { + // Method begins at RVA 0xbfec + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0038: ldarg.1 - IL_0039: ldc.i4.1 - IL_003a: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, bool) - IL_003f: stloc.1 - .try { // 0 - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) - IL_0047: newobj instance void class [System.Xml]System.Xml.XPath.XPathDocument::'.ctor'(class [System.Xml]System.Xml.XmlReader) - IL_004c: stloc.2 - IL_004d: ldloc.2 - IL_004e: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathDocument::CreateNavigator() - IL_0053: ldstr "/root/data[@mimetype or (@type and not(starts-with(@type, 'System.') and contains(@type,'PublicKeyToken=')))]" - IL_0058: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) - IL_005d: callvirt instance int32 class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Count() - IL_0062: stloc.3 - IL_0063: ldloc.3 - IL_0064: ldc.i4.0 - IL_0065: cgt - IL_0067: stloc.0 - IL_0068: leave IL_0083 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EmbeddedResourceCollection::IndexOf - } // end .try 0 - finally { // 0 - IL_006d: ldloc.1 - IL_006e: brfalse IL_0079 + .property instance object System.Collections.IList.Item (int32) + { + .get instance default object NAnt.DotNet.Types.EmbeddedResourceCollection::System.Collections.IList.get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.EmbeddedResourceCollection::System.Collections.IList.set_Item (int32 index, object 'value') + } + .property instance class NAnt.DotNet.Types.EmbeddedResource Item (int32) + { + .get instance default class NAnt.DotNet.Types.EmbeddedResource NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.EmbeddedResourceCollection::set_Item (int32 index, class NAnt.DotNet.Types.EmbeddedResource 'value') + } + .property instance class NAnt.DotNet.Types.EmbeddedResource Item (string) + { + .get instance default class NAnt.DotNet.Types.EmbeddedResource NAnt.DotNet.Types.EmbeddedResourceCollection::get_Item (string 'value') + } + .property instance class [mscorlib]System.Type ItemType () + { + .get instance default class [mscorlib]System.Type NAnt.DotNet.Types.EmbeddedResourceCollection::get_ItemType () + } + } // end of class NAnt.DotNet.Types.EmbeddedResourceCollection +} - IL_0073: ldloc.1 - IL_0074: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0079: endfinally - } // end handler 0 - } // end .try 1 - catch class [mscorlib]System.Exception { // 1 - IL_007a: pop - IL_007b: nop - IL_007c: ldc.i4.1 - IL_007d: stloc.0 - IL_007e: leave IL_0083 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit EmbeddedResourceEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - } // end handler 1 - IL_0083: ldloc.0 - IL_0084: ret - } // end of method ResGenTask::ReferencesThirdPartyAssemblies + // method line 509 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.EmbeddedResourceCollection arguments) cil managed + { + // Method begins at RVA 0xc010 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator + IL_0015: ret + } // end of method EmbeddedResourceEnumerator::.ctor - // method line 599 - .method private hidebysig - instance default class [System]System.Collections.Specialized.StringCollection GetExternalFileReferences (class [mscorlib]System.IO.FileInfo resxFile) cil managed + // method line 510 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.EmbeddedResource get_Current () cil managed { - // Method begins at RVA 0xaf1c - // Code size 285 (0x11d) - .maxstack 4 + // Method begins at RVA 0xc034 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class [mscorlib]System.IO.StreamReader V_1, - class [System.Xml]System.Xml.XPath.XPathDocument V_2, - class [System.Xml]System.Xml.XPath.XPathNavigator V_3, - class [System.Xml]System.Xml.XPath.XPathNodeIterator V_4, - string V_5, - class [System]System.Collections.Specialized.StringCollection V_6, - string V_7, - class [System.Xml]System.Xml.XPath.XPathNodeIterator V_8, - string[] V_9) + class NAnt.DotNet.Types.EmbeddedResource V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0007: brtrue IL_0014 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.DotNet.Types.EmbeddedResource + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000c: nop - IL_000d: ldnull - IL_000e: stloc.0 - IL_000f: br IL_011b + IL_0017: ldloc.0 + IL_0018: ret + } // end of method EmbeddedResourceEnumerator::get_Current - IL_0014: ldarg.1 - IL_0015: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001a: ldc.i4.1 - IL_001b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, bool) - IL_0020: stloc.1 - .try { // 0 - IL_0021: nop - IL_0022: ldloc.1 - IL_0023: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) - IL_0028: newobj instance void class [System.Xml]System.Xml.XPath.XPathDocument::'.ctor'(class [System.Xml]System.Xml.XmlReader) - IL_002d: stloc.2 - IL_002e: ldloc.2 - IL_002f: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathDocument::CreateNavigator() - IL_0034: stloc.3 - IL_0035: ldloc.3 - IL_0036: ldstr "/root/resheader[@name = 'version']/value" - IL_003b: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) - IL_0040: pop - IL_0041: ldloc.3 - IL_0042: ldstr "/root/resheader[@name = 'version']/value" - IL_0047: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) - IL_004c: stloc.s 4 - IL_004e: ldloc.s 4 - IL_0050: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNodeIterator::MoveNext() - IL_0055: brfalse IL_0083 + // method line 511 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0xc05c + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_005a: nop - IL_005b: ldloc.s 4 - IL_005d: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Current() - IL_0062: callvirt instance string class [System.Xml]System.Xml.XPath.XPathItem::get_Value() - IL_0067: stloc.s 5 - IL_0069: ldloc.s 5 - IL_006b: ldstr "1.0.0.0" - IL_0070: call bool string::op_Equality(string, string) - IL_0075: brfalse IL_0082 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method EmbeddedResourceEnumerator::System.Collections.IEnumerator.get_Current - IL_007a: nop - IL_007b: ldnull - IL_007c: stloc.0 - IL_007d: leave IL_011b + // method line 512 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0xc07c + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0082: nop - IL_0083: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0088: stloc.s 6 - IL_008a: ldarg.0 - IL_008b: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath() - IL_0090: brfalse IL_00a0 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method EmbeddedResourceEnumerator::MoveNext - IL_0095: ldarg.1 - IL_0096: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_009b: br IL_00ab + // method line 513 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0xc09c + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00a0: ldarg.0 - IL_00a1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00a6: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_00ab: stloc.s 7 - IL_00ad: ldloc.3 - IL_00ae: ldstr "/root/data[@type = 'System.Resources.ResXFileRef, System.Windows.Forms']/value" - IL_00b3: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) - IL_00b8: stloc.s 8 - IL_00ba: br IL_00fa + IL_0012: ldloc.0 + IL_0013: ret + } // end of method EmbeddedResourceEnumerator::System.Collections.IEnumerator.MoveNext - IL_00bf: nop - IL_00c0: ldloc.s 8 - IL_00c2: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XPath.XPathNodeIterator::get_Current() - IL_00c7: callvirt instance string class [System.Xml]System.Xml.XPath.XPathItem::get_Value() - IL_00cc: ldc.i4.s 0x3b - IL_00ce: ldc.i4.0 - IL_00cf: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_00d4: stloc.s 9 - IL_00d6: ldloc.s 9 - IL_00d8: ldlen - IL_00d9: conv.i4 - IL_00da: ldc.i4.1 - IL_00db: bgt IL_00e6 + // method line 514 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0xc0bc + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method EmbeddedResourceEnumerator::Reset - IL_00e0: nop - IL_00e1: leave IL_00fa + // method line 515 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0xc0ca + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.EmbeddedResourceEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method EmbeddedResourceEnumerator::System.Collections.IEnumerator.Reset - IL_00e6: ldloc.s 6 - IL_00e8: ldloc.s 7 - IL_00ea: ldloc.s 9 - IL_00ec: ldc.i4.0 - IL_00ed: ldelem.ref - IL_00ee: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00f3: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00f8: pop - IL_00f9: nop - IL_00fa: ldloc.s 8 - IL_00fc: callvirt instance bool class [System.Xml]System.Xml.XPath.XPathNodeIterator::MoveNext() - IL_0101: brtrue IL_00bf + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.DotNet.Types.EmbeddedResourceEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.DotNet.Types.EmbeddedResource Current () + { + .get instance default class NAnt.DotNet.Types.EmbeddedResource NAnt.DotNet.Types.EmbeddedResourceEnumerator::get_Current () + } + } // end of class NAnt.DotNet.Types.EmbeddedResourceEnumerator +} - IL_0106: ldloc.s 6 - IL_0108: stloc.0 - IL_0109: leave IL_011b +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit AssemblyAttribute + extends [NAnt.Core]NAnt.Core.Element + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 61 74 74 72 69 62 75 74 65 00 00 ) // ...attribute.. - } // end .try 0 - finally { // 0 - IL_010e: ldloc.1 - IL_010f: brfalse IL_011a + .field private string _typeName + .field private string _value + .field private bool _asIs + .field private bool _ifDefined + .field private bool _unlessDefined - IL_0114: ldloc.1 - IL_0115: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_011a: endfinally - } // end handler 0 - IL_011b: ldloc.0 - IL_011c: ret - } // end of method ResGenTask::GetExternalFileReferences + // method line 516 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xc0d8 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method AssemblyAttribute::.ctor - // method line 600 - .method private hidebysig - instance default void WriteCommandLineOptions (class [mscorlib]System.IO.FileInfo inputFile, class [mscorlib]System.IO.FileInfo outputFile) cil managed + // method line 517 + .method public hidebysig specialname + instance default string get_TypeName () cil managed { - // Method begins at RVA 0xb058 - // Code size 482 (0x1e2) - .maxstack 7 + // Method begins at RVA 0xc0e8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - bool V_1, - class [mscorlib]System.Text.StringBuilder V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_6) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: callvirt instance bool class NAnt.DotNet.Tasks.ResGenTask::NeedsCompiling(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) - IL_0009: brtrue IL_0014 - - IL_000e: nop - IL_000f: br IL_01e1 - - IL_0014: ldarg.2 - IL_0015: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_001a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001f: brtrue IL_0031 + IL_0002: ldfld string NAnt.DotNet.Types.AssemblyAttribute::_typeName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0024: nop - IL_0025: ldarg.2 - IL_0026: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_002b: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0030: nop - IL_0031: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0036: ldstr "\"{0},{1}\" " - IL_003b: ldarg.1 - IL_003c: ldarg.2 - IL_003d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0042: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0047: stloc.0 - IL_0048: ldarg.0 - IL_0049: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_004e: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0053: ldloc.0 - IL_0054: callvirt instance int32 string::get_Length() - IL_0059: add - IL_005a: ldc.i4 30000 - IL_005f: cgt - IL_0061: stloc.1 - IL_0062: ldarg.0 - IL_0063: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_0068: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_006d: brfalse IL_0078 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyAttribute::get_TypeName - IL_0072: ldloc.1 - IL_0073: brfalse IL_015f + // method line 518 + .method public hidebysig specialname + instance default void set_TypeName (string 'value') cil managed + { + // Method begins at RVA 0xc103 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Types.AssemblyAttribute::_typeName + IL_000d: ret + } // end of method AssemblyAttribute::set_TypeName - IL_0078: nop - IL_0079: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_007e: stloc.2 - IL_007f: ldarg.0 - IL_0080: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsAssemblyReferences() - IL_0085: brfalse IL_00e8 + // method line 519 + .method public hidebysig specialname + instance default string get_Value () cil managed + { + // Method begins at RVA 0xc114 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Types.AssemblyAttribute::_value + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_008a: nop - IL_008b: nop - IL_008c: ldarg.0 - IL_008d: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_0092: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0097: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_009c: stloc.s 4 - .try { // 0 - IL_009e: br IL_00bf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyAttribute::get_Value - IL_00a3: ldloc.s 4 - IL_00a5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00aa: stloc.3 - IL_00ab: nop - IL_00ac: ldloc.2 - IL_00ad: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00b2: ldstr "/r:\"{0}\" " - IL_00b7: ldloc.3 - IL_00b8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_00bd: pop - IL_00be: nop - IL_00bf: ldloc.s 4 - IL_00c1: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00c6: brtrue IL_00a3 + // method line 520 + .method public hidebysig specialname + instance default void set_Value (string 'value') cil managed + { + // Method begins at RVA 0xc12f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.DotNet.Types.AssemblyAttribute::_value + IL_0008: ret + } // end of method AssemblyAttribute::set_Value - IL_00cb: leave IL_00e7 + // method line 521 + .method public hidebysig specialname + instance default bool get_AsIs () cil managed + { + // Method begins at RVA 0xc13c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Types.AssemblyAttribute::_asIs + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_00d0: ldloc.s 4 - IL_00d2: isinst [mscorlib]System.IDisposable - IL_00d7: dup - IL_00d8: stloc.s 5 - IL_00da: brfalse IL_00e6 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyAttribute::get_AsIs - IL_00df: ldloc.s 5 - IL_00e1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00e6: endfinally - } // end handler 0 - IL_00e7: nop - IL_00e8: ldarg.0 - IL_00e9: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath() - IL_00ee: brfalse IL_0143 + // method line 522 + .method public hidebysig specialname + instance default void set_AsIs (bool 'value') cil managed + { + // Method begins at RVA 0xc157 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_asIs + IL_0008: ret + } // end of method AssemblyAttribute::set_AsIs - IL_00f3: nop - IL_00f4: ldarg.0 - IL_00f5: call instance bool class NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences() - IL_00fa: brfalse IL_0112 + // method line 523 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0xc164 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Types.AssemblyAttribute::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00ff: nop - IL_0100: ldloc.2 - IL_0101: ldstr "/useSourcePath " - IL_0106: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_010b: pop - IL_010c: nop - IL_010d: br IL_0142 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyAttribute::get_IfDefined - IL_0112: nop - IL_0113: ldarg.0 - IL_0114: ldc.i4 4000 - IL_0119: ldstr "String_ResourceCompilerDoesNotSupportExternalReferences" - IL_011e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0123: ldc.i4.1 - IL_0124: newarr [mscorlib]System.Object - IL_0129: dup - IL_012a: ldc.i4.0 - IL_012b: ldarg.0 - IL_012c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0131: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0136: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_013b: stelem.ref - IL_013c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0141: nop - IL_0142: nop - IL_0143: ldloc.2 - IL_0144: ldstr "/compile " - IL_0149: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_014e: pop - IL_014f: ldloc.2 - IL_0150: ldloc.0 - IL_0151: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0156: pop - IL_0157: ldloc.2 - IL_0158: callvirt instance string object::ToString() - IL_015d: stloc.0 - IL_015e: nop - IL_015f: ldloc.1 - IL_0160: brfalse IL_01d4 + // method line 524 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0xc17f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_ifDefined + IL_0008: ret + } // end of method AssemblyAttribute::set_IfDefined - IL_0165: nop - .try { // 1 - IL_0166: nop - IL_0167: ldarg.0 - IL_0168: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_016d: nop - IL_016e: leave IL_01c7 + // method line 525 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0xc18c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Types.AssemblyAttribute::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 1 - catch class [mscorlib]System.Object { // 1 - IL_0173: pop - IL_0174: nop - IL_0175: ldarg.0 - IL_0176: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory - IL_017b: brfalse IL_01c5 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyAttribute::get_UnlessDefined - IL_0180: nop - IL_0181: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() - IL_0186: stloc.s 6 - IL_0188: ldloc.s 6 - IL_018a: ldarg.0 - IL_018b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0190: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0195: ldloc.s 6 - IL_0197: ldarg.0 - IL_0198: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_019d: ldloc.s 6 - IL_019f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_01a4: ldloc.s 6 - IL_01a6: ldarg.0 - IL_01a7: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::_workingDirectory - IL_01ac: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) - IL_01b1: ldloc.s 6 - IL_01b3: ldc.i4 9999 - IL_01b8: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_01bd: ldloc.s 6 - IL_01bf: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_01c4: nop - IL_01c5: rethrow - } // end handler 1 - IL_01c7: ldarg.0 - IL_01c8: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_01cd: ldc.i4.0 - IL_01ce: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) - IL_01d3: nop - IL_01d4: ldarg.0 - IL_01d5: ldfld class [mscorlib]System.Text.StringBuilder NAnt.DotNet.Tasks.ResGenTask::_arguments - IL_01da: ldloc.0 - IL_01db: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01e0: pop - IL_01e1: ret - } // end of method ResGenTask::WriteCommandLineOptions + // method line 526 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0xc1a7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.AssemblyAttribute::_unlessDefined + IL_0008: ret + } // end of method AssemblyAttribute::set_UnlessDefined - .property instance class [mscorlib]System.IO.FileInfo InputFile () + .property instance string TypeName () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 69 6E 70 75 74 01 00 54 02 08 52 65 71 // ...input..T..Req - 75 69 72 65 64 00 ) // uired. + 01 00 04 74 79 70 65 01 00 54 02 08 52 65 71 75 // ...type..T..Requ + 69 72 65 64 01 ) // ired. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::get_InputFile () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_InputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 00 ) // quired. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.ResGenTask::get_OutputFile () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default string NAnt.DotNet.Types.AssemblyAttribute::get_TypeName () + .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_TypeName (string 'value') } - .property instance string TargetExt () + .property instance string Value () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re - 71 75 69 72 65 64 00 ) // quired. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - .get instance default string NAnt.DotNet.Tasks.ResGenTask::get_TargetExt () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_TargetExt (string 'value') + .get instance default string NAnt.DotNet.Types.AssemblyAttribute::get_Value () + .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_Value (string 'value') } - .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () + .property instance bool AsIs () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 74 6F 64 69 72 01 00 54 02 08 52 65 71 // ...todir..T..Req - 75 69 72 65 64 00 ) // uired. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 61 73 69 73 00 00 ) // ...asis.. - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::get_ToDirectory () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance bool UseSourcePath () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 75 73 65 73 6F 75 72 63 65 70 61 74 68 // ...usesourcepath - 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_UseSourcePath () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_UseSourcePath (bool 'value') + .get instance default bool NAnt.DotNet.Types.AssemblyAttribute::get_AsIs () + .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_AsIs (bool 'value') } - .property instance class NAnt.DotNet.Types.ResourceFileSet Resources () + .property instance bool IfDefined () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 09 72 65 73 6F 75 72 63 65 73 00 00 ) // ...resources.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - .get instance default class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Tasks.ResGenTask::get_Resources () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_Resources (class NAnt.DotNet.Types.ResourceFileSet 'value') - } - .property instance class NAnt.DotNet.Types.AssemblyFileSet Assemblies () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ResGenTask::get_Assemblies () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') + .get instance default bool NAnt.DotNet.Types.AssemblyAttribute::get_IfDefined () + .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_IfDefined (bool 'value') } - .property instance bool SupportsAssemblyReferences () + .property instance bool UnlessDefined () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 1A 73 75 70 70 6F 72 74 73 61 73 73 65 6D // ...supportsassem - 62 6C 79 72 65 66 65 72 65 6E 63 65 73 00 00 ) // blyreferences.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_SupportsAssemblyReferences () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_SupportsAssemblyReferences (bool 'value') - } - .property instance bool SupportsExternalFileReferences () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 1E 73 75 70 70 6F 72 74 73 65 78 74 65 72 // ...supportsexter - 6E 61 6C 66 69 6C 65 72 65 66 65 72 65 6E 63 65 // nalfilereference - 73 00 00 ) // s.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_SupportsExternalFileReferences () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_SupportsExternalFileReferences (bool 'value') - } - .property instance class [mscorlib]System.Collections.ArrayList QualifiedResources () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources () - } - .property instance bool RequiresAssemblyReferences () - { - .get instance default bool NAnt.DotNet.Tasks.ResGenTask::get_RequiresAssemblyReferences () - } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.ResGenTask::get_BaseDirectory () - .set instance default void NAnt.DotNet.Tasks.ResGenTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.DotNet.Tasks.ResGenTask::get_ProgramArguments () - } - .property instance string ProgramFileName () - { - .get instance default string NAnt.DotNet.Tasks.ResGenTask::get_ProgramFileName () + .get instance default bool NAnt.DotNet.Types.AssemblyAttribute::get_UnlessDefined () + .set instance default void NAnt.DotNet.Types.AssemblyAttribute::set_UnlessDefined (bool 'value') } - } // end of class NAnt.DotNet.Tasks.ResGenTask + } // end of class NAnt.DotNet.Types.AssemblyAttribute } -.namespace NAnt.DotNet.Tasks +.namespace NAnt.DotNet.Types { - .class public auto ansi beforefieldinit QualifiedResource - extends [mscorlib]System.Object + .class public auto ansi serializable beforefieldinit ModuleSet + extends [NAnt.Core]NAnt.Core.DataTypeBase { - .field private class [mscorlib]System.IO.FileInfo _inputFile - .field private class [mscorlib]System.IO.FileInfo _outputFile + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 6D 6F 64 75 6C 65 73 65 74 00 00 ) // ...moduleset.. - // method line 601 + .field private initonly class NAnt.DotNet.Types.ModuleCollection _modules + .field private class [mscorlib]System.IO.DirectoryInfo _dir + + // method line 527 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.FileInfo input, class [mscorlib]System.IO.FileInfo output) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb264 - // Code size 22 (0x16) + // Method begins at RVA 0xc1b1 + // Code size 20 (0x14) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() + IL_0001: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() IL_0006: nop IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_inputFile - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_outputFile - IL_0015: ret - } // end of method QualifiedResource::.ctor + IL_0008: ldarg.0 + IL_0009: newobj instance void class NAnt.DotNet.Types.ModuleCollection::'.ctor'(class NAnt.DotNet.Types.ModuleSet) + IL_000e: stfld class NAnt.DotNet.Types.ModuleCollection NAnt.DotNet.Types.ModuleSet::_modules + IL_0013: ret + } // end of method ModuleSet::.ctor - // method line 602 + // method line 528 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Input () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Dir () cil managed { - // Method begins at RVA 0xb27c - // Code size 15 (0xf) + // Method begins at RVA 0xc1c8 + // Code size 62 (0x3e) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_inputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::_dir + IL_0007: brtrue IL_0030 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method QualifiedResource::get_Input + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: brfalse IL_002f - // method line 603 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001f: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0024: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0029: stloc.0 + IL_002a: br IL_003c + + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::_dir + IL_0036: stloc.0 + IL_0037: br IL_003c + + IL_003c: ldloc.0 + IL_003d: ret + } // end of method ModuleSet::get_Dir + + // method line 529 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed + instance default void set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0xc212 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::_dir + IL_0008: ret + } // end of method ModuleSet::set_Dir + + // method line 530 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.ModuleCollection get_Modules () cil managed { - // Method begins at RVA 0xb298 + // Method begins at RVA 0xc21c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.DotNet.Types.ModuleCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::_outputFile + IL_0002: ldfld class NAnt.DotNet.Types.ModuleCollection NAnt.DotNet.Types.ModuleSet::_modules IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method QualifiedResource::get_Output + } // end of method ModuleSet::get_Modules - .property instance class [mscorlib]System.IO.FileInfo Input () + .property instance class [mscorlib]System.IO.DirectoryInfo Dir () { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::get_Input () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.ModuleSet::get_Dir () + .set instance default void NAnt.DotNet.Types.ModuleSet::set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') } - .property instance class [mscorlib]System.IO.FileInfo Output () + .property instance class NAnt.DotNet.Types.ModuleCollection Modules () { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.QualifiedResource::get_Output () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 06 6D 6F 64 75 6C 65 00 00 ) // ...module.. + + .get instance default class NAnt.DotNet.Types.ModuleCollection NAnt.DotNet.Types.ModuleSet::get_Modules () } - } // end of class NAnt.DotNet.Tasks.QualifiedResource + } // end of class NAnt.DotNet.Types.ModuleSet } -.namespace NAnt.DotNet.Tasks +.namespace NAnt.DotNet.Types { - .class public auto ansi beforefieldinit AssemblyLinkerTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + .class public auto ansi sealed DebugOutput + extends [mscorlib]System.Enum { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 61 6C 00 00 ) // ...al.. + .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 26 4E 41 6E 74 2E 44 6F 74 4E 65 74 2E 54 // ..&NAnt.DotNet.T + 79 70 65 73 2E 44 65 62 75 67 4F 75 74 70 75 74 // ypes.DebugOutput + 43 6F 6E 76 65 72 74 65 72 00 00 ) // Converter.. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.DotNet.Types.DebugOutput None = int32(0x00000000) + .field public static literal valuetype NAnt.DotNet.Types.DebugOutput Enable = int32(0x00000001) + .field public static literal valuetype NAnt.DotNet.Types.DebugOutput Full = int32(0x00000002) + .field public static literal valuetype NAnt.DotNet.Types.DebugOutput PdbOnly = int32(0x00000003) - .field private string _responseFileName - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private string _target - .field private string _algorithmID - .field private string _company - .field private string _configuration - .field private string _copyright - .field private string _culture - .field private valuetype NAnt.DotNet.Types.DelaySign _delaySign - .field private string _description - .field private class [mscorlib]System.IO.FileInfo _evidenceFile - .field private string _fileVersion - .field private string _flags - .field private string _keyContainer - .field private class [mscorlib]System.IO.FileInfo _keyfile - .field private string _mainMethod - .field private class NAnt.DotNet.Types.ModuleSet _modules - .field private string _product - .field private string _productVersion - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _resources - .field private class NAnt.DotNet.Types.EmbeddedResourceCollection _embeddedResources - .field private class [mscorlib]System.IO.FileInfo _templateFile - .field private string _title - .field private string _trademark - .field private string _version - .field private class [mscorlib]System.IO.FileInfo _win32Icon - .field private class [mscorlib]System.IO.FileInfo _win32Res - .field private bool _supportsTemplate + } // end of class NAnt.DotNet.Types.DebugOutput +} - // method line 604 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit DebugOutputConverter + extends [System]System.ComponentModel.EnumConverter + { + + // method line 531 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xc237 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken NAnt.DotNet.Types.DebugOutput + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) + IL_0010: nop + IL_0011: ret + } // end of method DebugOutputConverter::.ctor + + // method line 532 + .method public virtual hidebysig + instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed + { + // Method begins at RVA 0xc24c + // Code size 115 (0x73) + .maxstack 4 + .locals init ( + string V_0, + object V_1) + IL_0000: nop + IL_0001: ldarg.3 + IL_0002: isinst [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_0062 + + IL_000e: nop + IL_000f: ldloc.0 + IL_0010: ldstr "true" + IL_0015: ldc.i4.1 + IL_0016: ldarg.2 + IL_0017: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_001c: brtrue IL_002d + + IL_0021: ldc.i4.1 + IL_0022: box NAnt.DotNet.Types.DebugOutput + IL_0027: stloc.1 + IL_0028: br IL_0071 + + IL_002d: ldloc.0 + IL_002e: ldstr "false" + IL_0033: ldc.i4.1 + IL_0034: ldarg.2 + IL_0035: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_003a: brtrue IL_004b + + IL_003f: ldc.i4.0 + IL_0040: box NAnt.DotNet.Types.DebugOutput + IL_0045: stloc.1 + IL_0046: br IL_0071 + + IL_004b: ldtoken NAnt.DotNet.Types.DebugOutput + IL_0050: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0055: ldloc.0 + IL_0056: ldc.i4.1 + IL_0057: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_005c: stloc.1 + IL_005d: br IL_0071 + + IL_0062: ldarg.0 + IL_0063: ldarg.1 + IL_0064: ldarg.2 + IL_0065: ldarg.3 + IL_0066: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) + IL_006b: stloc.1 + IL_006c: br IL_0071 + + IL_0071: ldloc.1 + IL_0072: ret + } // end of method DebugOutputConverter::ConvertFrom + + } // end of class NAnt.DotNet.Types.DebugOutputConverter +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit WarningAsError + extends [NAnt.Core]NAnt.Core.DataTypeBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0B 77 61 72 6E 61 73 65 72 72 6F 72 00 00 ) // ...warnaserror.. + + .field private class NAnt.DotNet.Types.CompilerWarningCollection _includes + .field private class NAnt.DotNet.Types.CompilerWarningCollection _excludes + + // method line 533 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb2b3 - // Code size 47 (0x2f) + // Method begins at RVA 0xc2cb + // Code size 29 (0x1d) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.DotNet.Types.ModuleSet::'.ctor'() - IL_0006: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_modules + IL_0001: newobj instance void class NAnt.DotNet.Types.CompilerWarningCollection::'.ctor'() + IL_0006: stfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_includes IL_000b: ldarg.0 - IL_000c: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0011: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_resources + IL_000c: newobj instance void class NAnt.DotNet.Types.CompilerWarningCollection::'.ctor'() + IL_0011: stfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_excludes IL_0016: ldarg.0 - IL_0017: newobj instance void class NAnt.DotNet.Types.EmbeddedResourceCollection::'.ctor'() - IL_001c: stfld class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::_embeddedResources - IL_0021: ldarg.0 - IL_0022: ldc.i4.1 - IL_0023: stfld bool NAnt.DotNet.Tasks.AssemblyLinkerTask::_supportsTemplate - IL_0028: ldarg.0 - IL_0029: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_002e: ret - } // end of method AssemblyLinkerTask::.ctor + IL_0017: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() + IL_001c: ret + } // end of method WarningAsError::.ctor - // method line 605 + // method line 534 .method public hidebysig specialname - instance default string get_AlgorithmID () cil managed + instance default class NAnt.DotNet.Types.CompilerWarningCollection get_Includes () cil managed { - // Method begins at RVA 0xb2e4 + // Method begins at RVA 0xc2ec // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.DotNet.Types.CompilerWarningCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_algorithmID + IL_0002: ldfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_includes IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyLinkerTask::get_AlgorithmID - - // method line 606 - .method public hidebysig specialname - instance default void set_AlgorithmID (string 'value') cil managed - { - // Method begins at RVA 0xb2ff - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_algorithmID - IL_000d: ret - } // end of method AssemblyLinkerTask::set_AlgorithmID + } // end of method WarningAsError::get_Includes - // method line 607 + // method line 535 .method public hidebysig specialname - instance default string get_Company () cil managed + instance default class NAnt.DotNet.Types.CompilerWarningCollection get_Excludes () cil managed { - // Method begins at RVA 0xb310 + // Method begins at RVA 0xc308 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.DotNet.Types.CompilerWarningCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_company + IL_0002: ldfld class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::_excludes IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyLinkerTask::get_Company - - // method line 608 - .method public hidebysig specialname - instance default void set_Company (string 'value') cil managed - { - // Method begins at RVA 0xb32b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_company - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Company + } // end of method WarningAsError::get_Excludes - // method line 609 - .method public hidebysig specialname - instance default string get_Configuration () cil managed - { - // Method begins at RVA 0xb338 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_configuration - IL_0007: stloc.0 - IL_0008: br IL_000d + .property instance class NAnt.DotNet.Types.CompilerWarningCollection Includes () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Configuration + .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::get_Includes () + } + .property instance class NAnt.DotNet.Types.CompilerWarningCollection Excludes () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. - // method line 610 - .method public hidebysig specialname - instance default void set_Configuration (string 'value') cil managed - { - // Method begins at RVA 0xb353 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_configuration - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Configuration + .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Types.WarningAsError::get_Excludes () + } + } // end of class NAnt.DotNet.Types.WarningAsError +} - // method line 611 - .method public hidebysig specialname - instance default string get_Copyright () cil managed - { - // Method begins at RVA 0xb360 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_copyright - IL_0007: stloc.0 - IL_0008: br IL_000d +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit ModuleCollection + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.IEnumerable, [mscorlib]System.Collections.ICollection { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Copyright + .field private initonly class NAnt.DotNet.Types.ModuleSet _moduleSet + .field private initonly class [mscorlib]System.Collections.ArrayList _list - // method line 612 - .method public hidebysig specialname - instance default void set_Copyright (string 'value') cil managed + // method line 536 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.ModuleSet moduleSet) cil managed { - // Method begins at RVA 0xb37b - // Code size 9 (0x9) + // Method begins at RVA 0xc323 + // Code size 44 (0x2c) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_copyright - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Copyright + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - // method line 613 + IL_000d: nop + IL_000e: ldstr "moduleSet" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet + IL_0020: ldarg.0 + IL_0021: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0026: stfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.ModuleCollection::_list + IL_002b: ret + } // end of method ModuleCollection::.ctor + + // method line 537 .method public hidebysig specialname - instance default string get_Culture () cil managed + instance default class NAnt.DotNet.Types.Module get_Item (int32 index) cil managed { - // Method begins at RVA 0xb388 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc350 + // Code size 68 (0x44) + .maxstack 3 .locals init ( - string V_0) + class NAnt.DotNet.Types.Module V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_culture - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Culture + IL_0001: ldarg.1 + IL_0002: ldc.i4.0 + IL_0003: blt IL_0014 - // method line 614 - .method public hidebysig specialname - instance default void set_Culture (string 'value') cil managed - { - // Method begins at RVA 0xb3a3 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_culture - IL_000d: ret - } // end of method AssemblyLinkerTask::set_Culture + IL_0008: ldarg.1 + IL_0009: ldarg.0 + IL_000a: call instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() + IL_000f: blt IL_002b - // method line 615 - .method public hidebysig specialname - instance default valuetype NAnt.DotNet.Types.DelaySign get_DelaySign () cil managed - { - // Method begins at RVA 0xb3b4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.DotNet.Types.DelaySign V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.AssemblyLinkerTask::_delaySign - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0014: nop + IL_0015: ldstr "index" + IL_001a: ldarg.1 + IL_001b: box [mscorlib]System.Int32 + IL_0020: ldstr "Invalid value." + IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_002a: throw + IL_002b: ldarg.0 + IL_002c: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0031: ldarg.1 + IL_0032: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_0037: castclass NAnt.DotNet.Types.Module + IL_003c: stloc.0 + IL_003d: br IL_0042 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_DelaySign + IL_0042: ldloc.0 + IL_0043: ret + } // end of method ModuleCollection::get_Item - // method line 616 + // method line 538 .method public hidebysig specialname - instance default void set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') cil managed + instance default void set_Item (int32 index, class NAnt.DotNet.Types.Module 'value') cil managed { - // Method begins at RVA 0xb3cf - // Code size 9 (0x9) + // Method begins at RVA 0xc3a0 + // Code size 57 (0x39) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.AssemblyLinkerTask::_delaySign - IL_0008: ret - } // end of method AssemblyLinkerTask::set_DelaySign + IL_0001: ldarg.1 + IL_0002: ldc.i4.0 + IL_0003: blt IL_0014 + + IL_0008: ldarg.1 + IL_0009: ldarg.0 + IL_000a: call instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() + IL_000f: blt IL_002b - // method line 617 - .method public hidebysig specialname - instance default string get_Description () cil managed + IL_0014: nop + IL_0015: ldstr "index" + IL_001a: ldarg.1 + IL_001b: box [mscorlib]System.Int32 + IL_0020: ldstr "Invalid value." + IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_002a: throw + IL_002b: ldarg.0 + IL_002c: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0031: ldarg.1 + IL_0032: ldarg.2 + IL_0033: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) + IL_0038: ret + } // end of method ModuleCollection::set_Item + + // method line 539 + .method family hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed { - // Method begins at RVA 0xb3dc + // Method begins at RVA 0xc3dc // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_description + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.ModuleCollection::_list IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyLinkerTask::get_Description - - // method line 618 - .method public hidebysig specialname - instance default void set_Description (string 'value') cil managed - { - // Method begins at RVA 0xb3f7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_description - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Description + } // end of method ModuleCollection::get_List - // method line 619 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_EvidenceFile () cil managed + // method line 540 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0xb404 - // Code size 15 (0xf) + // Method begins at RVA 0xc3f8 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [mscorlib]System.Collections.IEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_evidenceFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0007: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_EvidenceFile + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ModuleCollection::System.Collections.IEnumerable.GetEnumerator - // method line 620 - .method public hidebysig specialname - instance default void set_EvidenceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 541 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed { - // Method begins at RVA 0xb41f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xc418 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_IsSynchronized due to (null) + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_evidenceFile - IL_0008: ret - } // end of method AssemblyLinkerTask::set_EvidenceFile + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - // method line 621 - .method public hidebysig specialname - instance default string get_FileVersion () cil managed + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ModuleCollection::System.Collections.ICollection.get_IsSynchronized + + // method line 542 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed { - // Method begins at RVA 0xb42c - // Code size 15 (0xf) + // Method begins at RVA 0xc430 + // Code size 20 (0x14) .maxstack 1 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_fileVersion - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_FileVersion + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ModuleCollection::get_Count - // method line 622 - .method public hidebysig specialname - instance default void set_FileVersion (string 'value') cil managed + // method line 543 + .method public final virtual hidebysig newslot + instance default void CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed { - // Method begins at RVA 0xb447 - // Code size 14 (0xe) + // Method begins at RVA 0xc450 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_fileVersion - IL_000d: ret - } // end of method AssemblyLinkerTask::set_FileVersion + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method ModuleCollection::CopyTo - // method line 623 - .method public hidebysig specialname - instance default string get_Flags () cil managed + // method line 544 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.ICollection.get_SyncRoot () cil managed { - // Method begins at RVA 0xb458 - // Code size 15 (0xf) + // Method begins at RVA 0xc460 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_SyncRoot due to (null) + // Code size 10 (0xa) .maxstack 1 .locals init ( - string V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_flags - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Flags + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ModuleCollection::System.Collections.ICollection.get_SyncRoot - // method line 624 - .method public hidebysig specialname - instance default void set_Flags (string 'value') cil managed + // method line 545 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsFixedSize () cil managed { - // Method begins at RVA 0xb473 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0xc478 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_flags - IL_000d: ret - } // end of method AssemblyLinkerTask::set_Flags + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - // method line 625 - .method public hidebysig specialname - instance default string get_KeyContainer () cil managed + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ModuleCollection::get_IsFixedSize + + // method line 546 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsReadOnly () cil managed { - // Method begins at RVA 0xb484 - // Code size 15 (0xf) + // Method begins at RVA 0xc490 + // Code size 10 (0xa) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyContainer - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_KeyContainer + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ModuleCollection::get_IsReadOnly - // method line 626 - .method public hidebysig specialname - instance default void set_KeyContainer (string 'value') cil managed + // method line 547 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IList.get_Item (int32 index) cil managed { - // Method begins at RVA 0xb49f - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0xc4a8 + .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + object V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyContainer - IL_000d: ret - } // end of method AssemblyLinkerTask::set_KeyContainer + IL_0003: call instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleCollection::get_Item(int32) + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 627 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method ModuleCollection::System.Collections.IList.get_Item + + // method line 548 + .method private final virtual hidebysig newslot specialname + instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed { - // Method begins at RVA 0xb4b0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + // Method begins at RVA 0xc4c4 + .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) + // Code size 56 (0x38) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyfile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.2 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_KeyFile + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: isinst NAnt.DotNet.Types.Module + IL_0019: brtrue IL_002a + + IL_001e: nop + IL_001f: ldstr "Value is not a Module" + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: ldarg.1 + IL_002c: ldarg.2 + IL_002d: castclass NAnt.DotNet.Types.Module + IL_0032: call instance void class NAnt.DotNet.Types.ModuleCollection::set_Item(int32, class NAnt.DotNet.Types.Module) + IL_0037: ret + } // end of method ModuleCollection::System.Collections.IList.set_Item - // method line 628 - .method public hidebysig specialname - instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 549 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed { - // Method begins at RVA 0xb4cb - // Code size 9 (0x9) + // Method begins at RVA 0xc4fd + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_keyfile - IL_0008: ret - } // end of method AssemblyLinkerTask::set_KeyFile + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0007: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() + IL_000c: ret + } // end of method ModuleCollection::Clear - // method line 629 - .method public hidebysig specialname - instance default string get_MainMethod () cil managed + // method line 550 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed { - // Method begins at RVA 0xb4d8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0xc50b + .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) + // Code size 56 (0x38) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_mainMethod - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.2 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_MainMethod + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: isinst NAnt.DotNet.Types.Module + IL_0019: brtrue IL_002a - // method line 630 - .method public hidebysig specialname - instance default void set_MainMethod (string 'value') cil managed + IL_001e: nop + IL_001f: ldstr "Value is not a Module" + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: ldarg.1 + IL_002c: ldarg.2 + IL_002d: castclass NAnt.DotNet.Types.Module + IL_0032: call instance void class NAnt.DotNet.Types.ModuleCollection::Insert(int32, class NAnt.DotNet.Types.Module) + IL_0037: ret + } // end of method ModuleCollection::System.Collections.IList.Insert + + // method line 551 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Remove (object 'value') cil managed { - // Method begins at RVA 0xb4f3 - // Code size 14 (0xe) + // Method begins at RVA 0xc544 + .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) + // Code size 55 (0x37) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_mainMethod - IL_000d: ret - } // end of method AssemblyLinkerTask::set_MainMethod + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - // method line 631 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.ModuleSet get_ModuleSet () cil managed - { - // Method begins at RVA 0xb504 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.ModuleSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_modules - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.DotNet.Types.Module + IL_0019: brtrue IL_002a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_ModuleSet + IL_001e: nop + IL_001f: ldstr "Value is not a Module" + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: ldarg.1 + IL_002c: castclass NAnt.DotNet.Types.Module + IL_0031: call instance void class NAnt.DotNet.Types.ModuleCollection::Remove(class NAnt.DotNet.Types.Module) + IL_0036: ret + } // end of method ModuleCollection::System.Collections.IList.Remove - // method line 632 - .method public hidebysig specialname - instance default void set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') cil managed + // method line 552 + .method public final virtual hidebysig newslot + instance default void RemoveAt (int32 index) cil managed { - // Method begins at RVA 0xb51f - // Code size 9 (0x9) + // Method begins at RVA 0xc57c + // Code size 56 (0x38) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_modules - IL_0008: ret - } // end of method AssemblyLinkerTask::set_ModuleSet + IL_0001: ldarg.1 + IL_0002: ldc.i4.0 + IL_0003: blt IL_0014 - // method line 633 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + IL_0008: ldarg.1 + IL_0009: ldarg.0 + IL_000a: call instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() + IL_000f: blt IL_002b + + IL_0014: nop + IL_0015: ldstr "index" + IL_001a: ldarg.1 + IL_001b: box [mscorlib]System.Int32 + IL_0020: ldstr "Invalid value." + IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_002a: throw + IL_002b: ldarg.0 + IL_002c: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0031: ldarg.1 + IL_0032: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) + IL_0037: ret + } // end of method ModuleCollection::RemoveAt + + // method line 553 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IList.Contains (object 'value') cil managed { - // Method begins at RVA 0xb52c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc5b8 + .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) + // Code size 67 (0x43) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_OutputFile + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.DotNet.Types.Module + IL_0019: brtrue IL_002a - // method line 634 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0xb547 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_outputFile - IL_0008: ret - } // end of method AssemblyLinkerTask::set_OutputFile + IL_001e: nop + IL_001f: ldstr "Value is not a Module" + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0030: ldarg.1 + IL_0031: castclass NAnt.DotNet.Types.Module + IL_0036: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_003b: stloc.0 + IL_003c: br IL_0041 - // method line 635 - .method public hidebysig specialname - instance default string get_OutputTarget () cil managed + IL_0041: ldloc.0 + IL_0042: ret + } // end of method ModuleCollection::System.Collections.IList.Contains + + // method line 554 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed { - // Method begins at RVA 0xb554 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc608 + .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) + // Code size 62 (0x3e) + .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_target - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_OutputTarget + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.DotNet.Types.Module + IL_0019: brtrue IL_002a - // method line 636 - .method public hidebysig specialname - instance default void set_OutputTarget (string 'value') cil managed - { - // Method begins at RVA 0xb56f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_target - IL_000d: ret - } // end of method AssemblyLinkerTask::set_OutputTarget + IL_001e: nop + IL_001f: ldstr "Value is not a Module" + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: ldarg.1 + IL_002c: castclass NAnt.DotNet.Types.Module + IL_0031: call instance int32 class NAnt.DotNet.Types.ModuleCollection::IndexOf(class NAnt.DotNet.Types.Module) + IL_0036: stloc.0 + IL_0037: br IL_003c - // method line 637 - .method public hidebysig specialname - instance default string get_Product () cil managed + IL_003c: ldloc.0 + IL_003d: ret + } // end of method ModuleCollection::System.Collections.IList.IndexOf + + // method line 555 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.Add (object 'value') cil managed { - // Method begins at RVA 0xb580 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc654 + .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) + // Code size 62 (0x3e) + .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_product - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Product + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: isinst NAnt.DotNet.Types.Module + IL_0019: brtrue IL_002a - // method line 638 - .method public hidebysig specialname - instance default void set_Product (string 'value') cil managed - { - // Method begins at RVA 0xb59b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_product - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Product + IL_001e: nop + IL_001f: ldstr "Value is not a Module" + IL_0024: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0029: throw + IL_002a: ldarg.0 + IL_002b: ldarg.1 + IL_002c: castclass NAnt.DotNet.Types.Module + IL_0031: call instance int32 class NAnt.DotNet.Types.ModuleCollection::Add(class NAnt.DotNet.Types.Module) + IL_0036: stloc.0 + IL_0037: br IL_003c - // method line 639 - .method public hidebysig specialname - instance default string get_ProductVersion () cil managed + IL_003c: ldloc.0 + IL_003d: ret + } // end of method ModuleCollection::System.Collections.IList.Add + + // method line 556 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.ModuleCollection items) cil managed { - // Method begins at RVA 0xb5a8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc6a0 + // Code size 41 (0x29) + .maxstack 3 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_productVersion - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_ProductVersion + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.DotNet.Types.ModuleCollection::Add(class NAnt.DotNet.Types.Module) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() + IL_0023: blt IL_0008 - // method line 640 - .method public hidebysig specialname - instance default void set_ProductVersion (string 'value') cil managed - { - // Method begins at RVA 0xb5c3 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_productVersion - IL_000d: ret - } // end of method AssemblyLinkerTask::set_ProductVersion + IL_0028: ret + } // end of method ModuleCollection::AddRange - // method line 641 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Resources () cil managed + // method line 557 + .method public hidebysig + instance default int32 Add (class NAnt.DotNet.Types.Module 'value') cil managed { - // Method begins at RVA 0xb5d4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc6d8 + // Code size 56 (0x38) + .maxstack 2 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_resources - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: callvirt instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() + IL_0007: brfalse IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Resources + IL_000c: nop + IL_000d: ldstr "Module is already linked to other ModuleSet." + IL_0012: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0017: throw + IL_0018: ldarg.1 + IL_0019: ldarg.0 + IL_001a: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet + IL_001f: callvirt instance void class NAnt.DotNet.Types.Module::set_ModuleSet(class NAnt.DotNet.Types.ModuleSet) + IL_0024: ldarg.0 + IL_0025: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_002a: ldarg.1 + IL_002b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0030: stloc.0 + IL_0031: br IL_0036 - // method line 642 - .method public hidebysig specialname - instance default void set_Resources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0xb5ef - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::_resources - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Resources + IL_0036: ldloc.0 + IL_0037: ret + } // end of method ModuleCollection::Add - // method line 643 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.EmbeddedResourceCollection get_EmbeddedResources () cil managed + // method line 558 + .method public hidebysig + instance default class NAnt.DotNet.Types.ModuleEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0xb5fc + // Method begins at RVA 0xc71c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.EmbeddedResourceCollection V_0) + class NAnt.DotNet.Types.ModuleEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::_embeddedResources + IL_0002: newobj instance void class NAnt.DotNet.Types.ModuleEnumerator::'.ctor'(class NAnt.DotNet.Types.ModuleCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyLinkerTask::get_EmbeddedResources + } // end of method ModuleCollection::GetEnumerator - // method line 644 - .method public hidebysig specialname - instance default void set_EmbeddedResources (class NAnt.DotNet.Types.EmbeddedResourceCollection 'value') cil managed + // method line 559 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.DotNet.Types.Module 'value') cil managed { - // Method begins at RVA 0xb617 - // Code size 9 (0x9) + // Method begins at RVA 0xc737 + // Code size 50 (0x32) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::_embeddedResources - IL_0008: ret - } // end of method AssemblyLinkerTask::set_EmbeddedResources + IL_0001: ldarg.2 + IL_0002: callvirt instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() + IL_0007: brfalse IL_0018 - // method line 645 - .method public hidebysig specialname - instance default bool get_SupportsTemplate () cil managed + IL_000c: nop + IL_000d: ldstr "Module is already linked to other ModuleSet." + IL_0012: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0017: throw + IL_0018: ldarg.2 + IL_0019: ldarg.0 + IL_001a: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet + IL_001f: callvirt instance void class NAnt.DotNet.Types.Module::set_ModuleSet(class NAnt.DotNet.Types.ModuleSet) + IL_0024: ldarg.0 + IL_0025: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_002a: ldarg.1 + IL_002b: ldarg.2 + IL_002c: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) + IL_0031: ret + } // end of method ModuleCollection::Insert + + // method line 560 + .method public hidebysig + instance default void Remove (class NAnt.DotNet.Types.Module 'value') cil managed { - // Method begins at RVA 0xb624 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0xc76a + // Code size 40 (0x28) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.AssemblyLinkerTask::_supportsTemplate - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) + IL_000d: ldarg.1 + IL_000e: callvirt instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() + IL_0013: ldarg.0 + IL_0014: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.ModuleCollection::_moduleSet + IL_0019: bne.un IL_0027 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_SupportsTemplate + IL_001e: nop + IL_001f: ldarg.1 + IL_0020: ldnull + IL_0021: callvirt instance void class NAnt.DotNet.Types.Module::set_ModuleSet(class NAnt.DotNet.Types.ModuleSet) + IL_0026: nop + IL_0027: ret + } // end of method ModuleCollection::Remove - // method line 646 - .method public hidebysig specialname - instance default void set_SupportsTemplate (bool 'value') cil managed + // method line 561 + .method public hidebysig + instance default bool Contains (class NAnt.DotNet.Types.Module 'value') cil managed { - // Method begins at RVA 0xb63f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xc794 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.AssemblyLinkerTask::_supportsTemplate - IL_0008: ret - } // end of method AssemblyLinkerTask::set_SupportsTemplate + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 647 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_TemplateFile () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ModuleCollection::Contains + + // method line 562 + .method public hidebysig + instance default int32 IndexOf (class NAnt.DotNet.Types.Module 'value') cil managed { - // Method begins at RVA 0xb64c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc7b8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_templateFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.ModuleCollection::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_TemplateFile + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ModuleCollection::IndexOf - // method line 648 - .method public hidebysig specialname - instance default void set_TemplateFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + .property instance bool System.Collections.ICollection.IsSynchronized () + { + .get instance default bool NAnt.DotNet.Types.ModuleCollection::System.Collections.ICollection.get_IsSynchronized () + } + .property instance object System.Collections.ICollection.SyncRoot () + { + .get instance default object NAnt.DotNet.Types.ModuleCollection::System.Collections.ICollection.get_SyncRoot () + } + .property instance object System.Collections.IList.Item (int32) + { + .get instance default object NAnt.DotNet.Types.ModuleCollection::System.Collections.IList.get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.ModuleCollection::System.Collections.IList.set_Item (int32 index, object 'value') + } + .property instance class NAnt.DotNet.Types.Module Item (int32) + { + .get instance default class NAnt.DotNet.Types.Module NAnt.DotNet.Types.ModuleCollection::get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.ModuleCollection::set_Item (int32 index, class NAnt.DotNet.Types.Module 'value') + } + .property instance class [mscorlib]System.Collections.ArrayList List () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.ModuleCollection::get_List () + } + .property instance int32 Count () + { + .get instance default int32 NAnt.DotNet.Types.ModuleCollection::get_Count () + } + .property instance bool IsFixedSize () + { + .get instance default bool NAnt.DotNet.Types.ModuleCollection::get_IsFixedSize () + } + .property instance bool IsReadOnly () + { + .get instance default bool NAnt.DotNet.Types.ModuleCollection::get_IsReadOnly () + } + } // end of class NAnt.DotNet.Types.ModuleCollection +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit ModuleEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 563 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.ModuleCollection arguments) cil managed { - // Method begins at RVA 0xb667 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_templateFile - IL_0008: ret - } // end of method AssemblyLinkerTask::set_TemplateFile + // Method begins at RVA 0xc7dc + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator + IL_0015: ret + } // end of method ModuleEnumerator::.ctor - // method line 649 + // method line 564 .method public hidebysig specialname - instance default string get_Title () cil managed + instance default class NAnt.DotNet.Types.Module get_Current () cil managed { - // Method begins at RVA 0xb674 - // Code size 15 (0xf) + // Method begins at RVA 0xc800 + // Code size 25 (0x19) .maxstack 1 .locals init ( - string V_0) + class NAnt.DotNet.Types.Module V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_title - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Title + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.DotNet.Types.Module + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 650 - .method public hidebysig specialname - instance default void set_Title (string 'value') cil managed - { - // Method begins at RVA 0xb68f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_title - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Title + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ModuleEnumerator::get_Current - // method line 651 - .method public hidebysig specialname - instance default string get_Trademark () cil managed + // method line 565 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0xb69c + // Method begins at RVA 0xc828 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_trademark + IL_0002: call instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleEnumerator::get_Current() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyLinkerTask::get_Trademark - - // method line 652 - .method public hidebysig specialname - instance default void set_Trademark (string 'value') cil managed - { - // Method begins at RVA 0xb6b7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_trademark - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Trademark + } // end of method ModuleEnumerator::System.Collections.IEnumerator.get_Current - // method line 653 - .method public hidebysig specialname - instance default string get_Version () cil managed + // method line 566 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed { - // Method begins at RVA 0xb6c4 - // Code size 15 (0xf) + // Method begins at RVA 0xc844 + // Code size 20 (0x14) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_version - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyLinkerTask::get_Version + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ModuleEnumerator::MoveNext - // method line 654 - .method public hidebysig specialname - instance default void set_Version (string 'value') cil managed + // method line 567 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed { - // Method begins at RVA 0xb6df - // Code size 14 (0xe) + // Method begins at RVA 0xc864 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_version - IL_000d: ret - } // end of method AssemblyLinkerTask::set_Version + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ModuleEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ModuleEnumerator::Reset - // method line 655 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Win32Icon () cil managed + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.DotNet.Types.ModuleEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.DotNet.Types.Module Current () + { + .get instance default class NAnt.DotNet.Types.Module NAnt.DotNet.Types.ModuleEnumerator::get_Current () + } + } // end of class NAnt.DotNet.Types.ModuleEnumerator +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit NamespaceImport + extends [NAnt.Core]NAnt.Core.Element + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 06 69 6D 70 6F 72 74 00 00 ) // ...import.. + + .field private string _namespace + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 568 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb6f0 + // Method begins at RVA 0xc872 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Icon - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: nop IL_000e: ret - } // end of method AssemblyLinkerTask::get_Win32Icon + } // end of method NamespaceImport::.ctor - // method line 656 - .method public hidebysig specialname - instance default void set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 569 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string nameSpace) cil managed { - // Method begins at RVA 0xb70b - // Code size 9 (0x9) + // Method begins at RVA 0xc882 + // Code size 40 (0x28) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Icon - IL_0008: ret - } // end of method AssemblyLinkerTask::set_Win32Icon + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: brtrue IL_0020 - // method line 657 + IL_0014: nop + IL_0015: ldstr "nameSpace" + IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001f: throw + IL_0020: ldarg.0 + IL_0021: ldarg.1 + IL_0022: stfld string NAnt.DotNet.Types.NamespaceImport::_namespace + IL_0027: ret + } // end of method NamespaceImport::.ctor + + // method line 570 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Win32Res () cil managed + instance default string get_TempName () cil managed { - // Method begins at RVA 0xb718 + // Method begins at RVA 0xc8ac // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Res + IL_0002: call instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyLinkerTask::get_Win32Res + } // end of method NamespaceImport::get_TempName - // method line 658 + // method line 571 .method public hidebysig specialname - instance default void set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_TempName (string 'value') cil managed { - // Method begins at RVA 0xb733 + // Method begins at RVA 0xc8c7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::_win32Res + IL_0003: call instance void class NAnt.DotNet.Types.NamespaceImport::set_Namespace(string) IL_0008: ret - } // end of method AssemblyLinkerTask::set_Win32Res - - // method line 659 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed - { - // Method begins at RVA 0xb740 - // Code size 50 (0x32) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_0007: brfalse IL_0028 - - IL_000c: nop - IL_000d: ldstr "@\"" - IL_0012: ldarg.0 - IL_0013: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_0018: ldstr "\"" - IL_001d: call string string::Concat(string, string, string) - IL_0022: stloc.0 - IL_0023: br IL_0030 - - IL_0028: nop - IL_0029: ldnull - IL_002a: stloc.0 - IL_002b: br IL_0030 - - IL_0030: ldloc.0 - IL_0031: ret - } // end of method AssemblyLinkerTask::get_ProgramArguments + } // end of method NamespaceImport::set_TempName - // method line 660 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 572 + .method public hidebysig specialname + instance default string get_Namespace () cil managed { - // Method begins at RVA 0xb780 - // Code size 1471 (0x5bf) - .maxstack 8 - .locals init ( - class [mscorlib]System.IO.StreamWriter V_0, - class NAnt.DotNet.Types.Module V_1, - class NAnt.DotNet.Types.ModuleEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - valuetype NAnt.DotNet.Types.DelaySign V_4, - string V_5, - class [System]System.Collections.Specialized.StringEnumerator V_6, - class [mscorlib]System.IDisposable V_7, - class NAnt.DotNet.Types.EmbeddedResource V_8, - class NAnt.DotNet.Types.EmbeddedResourceEnumerator V_9, - class [mscorlib]System.IDisposable V_10, - class [mscorlib]System.IO.StreamReader V_11) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e - - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() - IL_0018: ldarg.0 - IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() - IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Types.ModuleSet::get_Dir() - IL_0039: brtrue IL_005b - - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() - IL_0045: ldarg.0 - IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0055: callvirt instance void class NAnt.DotNet.Types.ModuleSet::set_Dir(class [mscorlib]System.IO.DirectoryInfo) - IL_005a: nop - IL_005b: ldarg.0 - IL_005c: callvirt instance bool class NAnt.DotNet.Tasks.AssemblyLinkerTask::NeedsCompiling() - IL_0061: brfalse IL_05be - - IL_0066: nop - IL_0067: ldarg.0 - IL_0068: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_006d: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_0072: ldarg.0 - IL_0073: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_0078: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) - IL_007d: stloc.0 - .try { // 3 - IL_007e: nop - IL_007f: ldarg.0 - IL_0080: ldc.i4 3000 - IL_0085: ldstr "String_CompilingFiles" - IL_008a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_008f: ldc.i4.2 - IL_0090: newarr [mscorlib]System.Object - IL_0095: dup - IL_0096: ldc.i4.0 - IL_0097: ldarg.0 - IL_0098: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() - IL_009d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00a2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00a7: ldarg.0 - IL_00a8: call instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() - IL_00ad: callvirt instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() - IL_00b2: add - IL_00b3: ldarg.0 - IL_00b4: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() - IL_00b9: callvirt instance class NAnt.DotNet.Types.ModuleCollection class NAnt.DotNet.Types.ModuleSet::get_Modules() - IL_00be: callvirt instance int32 class NAnt.DotNet.Types.ModuleCollection::get_Count() - IL_00c3: add - IL_00c4: box [mscorlib]System.Int32 - IL_00c9: stelem.ref - IL_00ca: dup - IL_00cb: ldc.i4.1 - IL_00cc: ldarg.0 - IL_00cd: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_00d2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00d7: stelem.ref - IL_00d8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00dd: nop - IL_00de: ldarg.0 - IL_00df: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() - IL_00e4: callvirt instance class NAnt.DotNet.Types.ModuleCollection class NAnt.DotNet.Types.ModuleSet::get_Modules() - IL_00e9: callvirt instance class NAnt.DotNet.Types.ModuleEnumerator class NAnt.DotNet.Types.ModuleCollection::GetEnumerator() - IL_00ee: stloc.2 - .try { // 0 - IL_00ef: br IL_010e - - IL_00f4: ldloc.2 - IL_00f5: callvirt instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleEnumerator::get_Current() - IL_00fa: stloc.1 - IL_00fb: nop - IL_00fc: ldloc.0 - IL_00fd: ldstr "\"{0}\"" - IL_0102: ldloc.1 - IL_0103: callvirt instance string object::ToString() - IL_0108: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_010d: nop - IL_010e: ldloc.2 - IL_010f: callvirt instance bool class NAnt.DotNet.Types.ModuleEnumerator::MoveNext() - IL_0114: brtrue IL_00f4 - - IL_0119: leave IL_0132 - - } // end .try 0 - finally { // 0 - IL_011e: ldloc.2 - IL_011f: isinst [mscorlib]System.IDisposable - IL_0124: dup - IL_0125: stloc.3 - IL_0126: brfalse IL_0131 - - IL_012b: ldloc.3 - IL_012c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0131: endfinally - } // end handler 0 - IL_0132: ldloc.0 - IL_0133: ldstr "/target:\"{0}\"" - IL_0138: ldarg.0 - IL_0139: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputTarget() - IL_013e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0143: ldloc.0 - IL_0144: ldstr "/out:\"{0}\"" - IL_0149: ldarg.0 - IL_014a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_014f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0154: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0159: ldarg.0 - IL_015a: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_AlgorithmID() - IL_015f: brfalse IL_0177 - - IL_0164: nop - IL_0165: ldloc.0 - IL_0166: ldstr "/algid:\"{0}\"" - IL_016b: ldarg.0 - IL_016c: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_AlgorithmID() - IL_0171: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0176: nop - IL_0177: ldarg.0 - IL_0178: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Company() - IL_017d: brfalse IL_0195 - - IL_0182: nop - IL_0183: ldloc.0 - IL_0184: ldstr "/company:\"{0}\"" - IL_0189: ldarg.0 - IL_018a: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Company() - IL_018f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0194: nop - IL_0195: ldarg.0 - IL_0196: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Configuration() - IL_019b: brfalse IL_01b3 + // Method begins at RVA 0xc8d4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Types.NamespaceImport::_namespace + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01a0: nop - IL_01a1: ldloc.0 - IL_01a2: ldstr "/configuration:\"{0}\"" - IL_01a7: ldarg.0 - IL_01a8: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Configuration() - IL_01ad: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_01b2: nop - IL_01b3: ldarg.0 - IL_01b4: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Copyright() - IL_01b9: brfalse IL_01d1 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NamespaceImport::get_Namespace - IL_01be: nop - IL_01bf: ldloc.0 - IL_01c0: ldstr "/copyright:\"{0}\"" - IL_01c5: ldarg.0 - IL_01c6: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Copyright() - IL_01cb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_01d0: nop - IL_01d1: ldarg.0 - IL_01d2: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture() - IL_01d7: brfalse IL_01ef + // method line 573 + .method public hidebysig specialname + instance default void set_Namespace (string 'value') cil managed + { + // Method begins at RVA 0xc8ef + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: callvirt instance string string::Trim() + IL_0008: stfld string NAnt.DotNet.Types.NamespaceImport::_namespace + IL_000d: ret + } // end of method NamespaceImport::set_Namespace - IL_01dc: nop - IL_01dd: ldloc.0 - IL_01de: ldstr "/culture:\"{0}\"" - IL_01e3: ldarg.0 - IL_01e4: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture() - IL_01e9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_01ee: nop - IL_01ef: ldarg.0 - IL_01f0: call instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_DelaySign() - IL_01f5: stloc.s 4 - IL_01f7: ldloc.s 4 - IL_01f9: switch ( - IL_020f, - IL_0224, - IL_0214) - IL_020a: br IL_0234 + // method line 574 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0xc900 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_020f: leave IL_025a + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NamespaceImport::get_IfDefined - IL_0214: ldloc.0 - IL_0215: ldstr "/delaysign+" - IL_021a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_021f: leave IL_025a + // method line 575 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0xc91b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.NamespaceImport::_ifDefined + IL_0008: ret + } // end of method NamespaceImport::set_IfDefined - IL_0224: ldloc.0 - IL_0225: ldstr "/delaysign-" - IL_022a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_022f: leave IL_025a + // method line 576 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0xc928 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Types.NamespaceImport::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0234: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0239: ldstr "Value {0} is not supported for \"delaysign\"." - IL_023e: ldarg.0 - IL_023f: call instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_DelaySign() - IL_0244: box NAnt.DotNet.Types.DelaySign - IL_0249: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_024e: ldarg.0 - IL_024f: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0254: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0259: throw - IL_025a: ldarg.0 - IL_025b: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Description() - IL_0260: brfalse IL_0278 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NamespaceImport::get_UnlessDefined - IL_0265: nop - IL_0266: ldloc.0 - IL_0267: ldstr "/description:\"{0}\"" - IL_026c: ldarg.0 - IL_026d: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Description() - IL_0272: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0277: nop - IL_0278: ldarg.0 - IL_0279: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() - IL_027e: brfalse IL_029b + // method line 577 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0xc943 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.NamespaceImport::_unlessDefined + IL_0008: ret + } // end of method NamespaceImport::set_UnlessDefined - IL_0283: nop - IL_0284: ldloc.0 - IL_0285: ldstr "/evidence:\"{0}\"" - IL_028a: ldarg.0 - IL_028b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() - IL_0290: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0295: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_029a: nop - IL_029b: ldarg.0 - IL_029c: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_FileVersion() - IL_02a1: brfalse IL_02b9 + .property instance string TempName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 00 ) // ired. - IL_02a6: nop - IL_02a7: ldloc.0 - IL_02a8: ldstr "/fileversion:\"{0}\"" - IL_02ad: ldarg.0 - IL_02ae: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_FileVersion() - IL_02b3: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_02b8: nop - IL_02b9: ldarg.0 - IL_02ba: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Flags() - IL_02bf: brfalse IL_02d7 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_02c4: nop - IL_02c5: ldloc.0 - IL_02c6: ldstr "/flags:\"{0}\"" - IL_02cb: ldarg.0 - IL_02cc: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Flags() - IL_02d1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_02d6: nop - IL_02d7: ldarg.0 - IL_02d8: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_MainMethod() - IL_02dd: brfalse IL_02f5 + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 22 55 73 65 20 22 6E 61 6D 65 73 70 61 63 // .."Use "namespac + 65 22 20 61 74 74 72 69 62 75 74 65 20 69 6E 73 // e" attribute ins + 74 65 61 64 2E 00 00 00 ) // tead.... - IL_02e2: nop - IL_02e3: ldloc.0 - IL_02e4: ldstr "/main:\"{0}\"" - IL_02e9: ldarg.0 - IL_02ea: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_MainMethod() - IL_02ef: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_02f4: nop - IL_02f5: ldarg.0 - IL_02f6: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyContainer() - IL_02fb: brfalse IL_0313 + .get instance default string NAnt.DotNet.Types.NamespaceImport::get_TempName () + .set instance default void NAnt.DotNet.Types.NamespaceImport::set_TempName (string 'value') + } + .property instance string Namespace () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6E 61 6D 65 73 70 61 63 65 01 00 54 02 // ...namespace..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - IL_0300: nop - IL_0301: ldloc.0 - IL_0302: ldstr "/keyname:\"{0}\"" - IL_0307: ldarg.0 - IL_0308: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyContainer() - IL_030d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0312: nop - IL_0313: ldarg.0 - IL_0314: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Product() - IL_0319: brfalse IL_0331 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_031e: nop - IL_031f: ldloc.0 - IL_0320: ldstr "/product:\"{0}\"" - IL_0325: ldarg.0 - IL_0326: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Product() - IL_032b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0330: nop - IL_0331: ldarg.0 - IL_0332: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProductVersion() - IL_0337: brfalse IL_034f + .get instance default string NAnt.DotNet.Types.NamespaceImport::get_Namespace () + .set instance default void NAnt.DotNet.Types.NamespaceImport::set_Namespace (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_033c: nop - IL_033d: ldloc.0 - IL_033e: ldstr "/productversion:\"{0}\"" - IL_0343: ldarg.0 - IL_0344: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProductVersion() - IL_0349: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_034e: nop - IL_034f: ldarg.0 - IL_0350: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() - IL_0355: brfalse IL_03b4 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_035a: nop - IL_035b: ldarg.0 - IL_035c: call instance bool class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_SupportsTemplate() - IL_0361: brfalse IL_0383 + .get instance default bool NAnt.DotNet.Types.NamespaceImport::get_IfDefined () + .set instance default void NAnt.DotNet.Types.NamespaceImport::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_0366: nop - IL_0367: ldloc.0 - IL_0368: ldstr "/template:\"{0}\"" - IL_036d: ldarg.0 - IL_036e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() - IL_0373: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0378: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_037d: nop - IL_037e: br IL_03b3 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0383: nop - IL_0384: ldarg.0 - IL_0385: ldc.i4 4000 - IL_038a: ldstr "String_LinkerDoesNotSupportTemplateAssembly" - IL_038f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0394: ldc.i4.1 - IL_0395: newarr [mscorlib]System.Object - IL_039a: dup - IL_039b: ldc.i4.0 - IL_039c: ldarg.0 - IL_039d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_03a2: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_03a7: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_03ac: stelem.ref - IL_03ad: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_03b2: nop - IL_03b3: nop - IL_03b4: ldarg.0 - IL_03b5: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Title() - IL_03ba: brfalse IL_03d2 + .get instance default bool NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined () + .set instance default void NAnt.DotNet.Types.NamespaceImport::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.DotNet.Types.NamespaceImport +} - IL_03bf: nop - IL_03c0: ldloc.0 - IL_03c1: ldstr "/title:\"{0}\"" - IL_03c6: ldarg.0 - IL_03c7: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Title() - IL_03cc: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_03d1: nop - IL_03d2: ldarg.0 - IL_03d3: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Trademark() - IL_03d8: brfalse IL_03f0 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit AssemblyAttributeCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_03dd: nop - IL_03de: ldloc.0 - IL_03df: ldstr "/trademark:\"{0}\"" - IL_03e4: ldarg.0 - IL_03e5: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Trademark() - IL_03ea: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_03ef: nop - IL_03f0: ldarg.0 - IL_03f1: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() - IL_03f6: brfalse IL_0413 - IL_03fb: nop - IL_03fc: ldloc.0 - IL_03fd: ldstr "/keyfile:\"{0}\"" - IL_0402: ldarg.0 - IL_0403: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() - IL_0408: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_040d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0412: nop - IL_0413: ldarg.0 - IL_0414: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Version() - IL_0419: brfalse IL_0431 + // method line 578 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xc94d + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method AssemblyAttributeCollection::.ctor - IL_041e: nop - IL_041f: ldloc.0 - IL_0420: ldstr "/version:\"{0}\"" - IL_0425: ldarg.0 - IL_0426: call instance string class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Version() - IL_042b: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0430: nop - IL_0431: ldarg.0 - IL_0432: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() - IL_0437: brfalse IL_0454 + // method line 579 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyAttributeCollection 'value') cil managed + { + // Method begins at RVA 0xc956 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.AssemblyAttributeCollection::AddRange(class NAnt.DotNet.Types.AssemblyAttributeCollection) + IL_000e: ret + } // end of method AssemblyAttributeCollection::.ctor - IL_043c: nop - IL_043d: ldloc.0 - IL_043e: ldstr "/win32icon:\"{0}\"" - IL_0443: ldarg.0 - IL_0444: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() - IL_0449: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_044e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0453: nop - IL_0454: ldarg.0 - IL_0455: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() - IL_045a: brfalse IL_0477 + // method line 580 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyAttribute[] 'value') cil managed + { + // Method begins at RVA 0xc966 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.AssemblyAttributeCollection::AddRange(class NAnt.DotNet.Types.AssemblyAttribute[]) + IL_000e: ret + } // end of method AssemblyAttributeCollection::.ctor - IL_045f: nop - IL_0460: ldloc.0 - IL_0461: ldstr "/win32res:\"{0}\"" - IL_0466: ldarg.0 - IL_0467: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() - IL_046c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0471: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0476: nop - IL_0477: nop - IL_0478: ldarg.0 - IL_0479: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() - IL_047e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0483: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0488: stloc.s 6 - .try { // 1 - IL_048a: br IL_04a7 + // method line 581 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyAttribute get_Item (int32 index) cil managed + { + // Method begins at RVA 0xc978 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.AssemblyAttribute V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.DotNet.Types.AssemblyAttribute + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_048f: ldloc.s 6 - IL_0491: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0496: stloc.s 5 - IL_0498: nop - IL_0499: ldloc.0 - IL_049a: ldstr "/embed:\"{0}\"" - IL_049f: ldloc.s 5 - IL_04a1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_04a6: nop - IL_04a7: ldloc.s 6 - IL_04a9: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_04ae: brtrue IL_048f + IL_0018: ldloc.0 + IL_0019: ret + } // end of method AssemblyAttributeCollection::get_Item - IL_04b3: leave IL_04cf + // method line 582 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.DotNet.Types.AssemblyAttribute 'value') cil managed + { + // Method begins at RVA 0xc99e + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method AssemblyAttributeCollection::set_Item - } // end .try 1 - finally { // 1 - IL_04b8: ldloc.s 6 - IL_04ba: isinst [mscorlib]System.IDisposable - IL_04bf: dup - IL_04c0: stloc.s 7 - IL_04c2: brfalse IL_04ce + // method line 583 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyAttribute get_Item (string 'value') cil managed + { + // Method begins at RVA 0xc9b0 + // Code size 111 (0x6f) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.AssemblyAttribute V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.DotNet.Types.AssemblyAttribute V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_04c7: ldloc.s 7 - IL_04c9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_04ce: endfinally - } // end handler 1 - IL_04cf: nop - IL_04d0: ldarg.0 - IL_04d1: call instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() - IL_04d6: callvirt instance class NAnt.DotNet.Types.EmbeddedResourceEnumerator class NAnt.DotNet.Types.EmbeddedResourceCollection::GetEnumerator() - IL_04db: stloc.s 9 - .try { // 2 - IL_04dd: br IL_0506 + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 - IL_04e2: ldloc.s 9 - IL_04e4: callvirt instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceEnumerator::get_Current() - IL_04e9: stloc.s 8 - IL_04eb: nop - IL_04ec: ldloc.0 - IL_04ed: ldstr "/embed:\"{0}\",{1}" - IL_04f2: ldloc.s 8 - IL_04f4: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_File() - IL_04f9: ldloc.s 8 - IL_04fb: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_ManifestResourceName() - IL_0500: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object, object) - IL_0505: nop - IL_0506: ldloc.s 9 - IL_0508: callvirt instance bool class NAnt.DotNet.Types.EmbeddedResourceEnumerator::MoveNext() - IL_050d: brtrue IL_04e2 + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.DotNet.Types.AssemblyAttribute + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.DotNet.Types.AssemblyAttribute::get_Value() + IL_002e: callvirt instance bool string::Equals(string) + IL_0033: brfalse IL_0040 - IL_0512: leave IL_052e + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - } // end .try 2 - finally { // 2 - IL_0517: ldloc.s 9 - IL_0519: isinst [mscorlib]System.IDisposable - IL_051e: dup - IL_051f: stloc.s 10 - IL_0521: brfalse IL_052d + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - IL_0526: ldloc.s 10 - IL_0528: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_052d: endfinally - } // end handler 2 - IL_052e: ldloc.0 - IL_052f: ldstr "/nologo" - IL_0534: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0539: ldloc.0 - IL_053a: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_053f: ldarg.0 - IL_0540: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0545: brfalse IL_0596 + IL_004c: leave IL_0065 - IL_054a: nop - IL_054b: ldarg.0 - IL_054c: ldc.i4 2000 - IL_0551: ldstr "String_ContentsOf" - IL_0556: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_055b: ldc.i4.1 - IL_055c: newarr [mscorlib]System.Object - IL_0561: dup - IL_0562: ldc.i4.0 - IL_0563: ldarg.0 - IL_0564: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_0569: stelem.ref - IL_056a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_056f: ldarg.0 - IL_0570: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_0575: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) - IL_057a: stloc.s 11 - IL_057c: ldarg.0 - IL_057d: ldc.i4 2000 - IL_0582: ldloc.s 11 - IL_0584: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0589: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_058e: ldloc.s 11 - IL_0590: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_0595: nop - IL_0596: ldarg.0 - IL_0597: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_059c: nop - IL_059d: leave IL_05bd + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - } // end .try 3 - finally { // 3 - IL_05a2: nop - IL_05a3: ldloc.0 - IL_05a4: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_05a9: ldarg.0 - IL_05aa: ldfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_05af: call void class [mscorlib]System.IO.File::Delete(string) - IL_05b4: ldarg.0 - IL_05b5: ldnull - IL_05b6: stfld string NAnt.DotNet.Tasks.AssemblyLinkerTask::_responseFileName - IL_05bb: nop - IL_05bc: endfinally - } // end handler 3 - IL_05bd: nop - IL_05be: ret - } // end of method AssemblyLinkerTask::ExecuteTask + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - // method line 661 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling () cil managed + IL_006d: ldloc.2 + IL_006e: ret + } // end of method AssemblyAttributeCollection::get_Item + + // method line 584 + .method public hidebysig + instance default int32 Add (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed { - // Method begins at RVA 0xbdb0 - // Code size 1229 (0x4cd) - .maxstack 7 + // Method begins at RVA 0xca3c + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0, - string V_1, - class NAnt.DotNet.Types.Module V_2, - class NAnt.DotNet.Types.ModuleEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - class NAnt.DotNet.Types.EmbeddedResource V_5, - class NAnt.DotNet.Types.EmbeddedResourceEnumerator V_6, - class [mscorlib]System.IDisposable V_7, - class [System]System.Collections.Specialized.StringCollection V_8, - class [NAnt.Core]NAnt.Core.Types.Argument V_9, - class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator V_10, - string V_11, - string V_12, - int32 V_13, - bool V_14, - class [mscorlib]System.IDisposable V_15) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_0042 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldc.i4 2000 - IL_0018: ldstr "String_OutputFileDoesNotExist" - IL_001d: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0022: ldc.i4.1 - IL_0023: newarr [mscorlib]System.Object - IL_0028: dup - IL_0029: ldc.i4.0 - IL_002a: ldarg.0 - IL_002b: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: stelem.ref - IL_0036: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_003b: ldc.i4.1 - IL_003c: stloc.0 - IL_003d: br IL_04cb + IL_0013: ldloc.0 + IL_0014: ret + } // end of method AssemblyAttributeCollection::Add - IL_0042: ldnull - IL_0043: stloc.1 - IL_0044: nop - IL_0045: ldarg.0 - IL_0046: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet() - IL_004b: callvirt instance class NAnt.DotNet.Types.ModuleCollection class NAnt.DotNet.Types.ModuleSet::get_Modules() - IL_0050: callvirt instance class NAnt.DotNet.Types.ModuleEnumerator class NAnt.DotNet.Types.ModuleCollection::GetEnumerator() - IL_0055: stloc.3 - .try { // 0 - IL_0056: br IL_00a8 + // method line 585 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.AssemblyAttribute[] items) cil managed + { + // Method begins at RVA 0xca60 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_005b: ldloc.3 - IL_005c: callvirt instance class NAnt.DotNet.Types.Module class NAnt.DotNet.Types.ModuleEnumerator::get_Current() - IL_0061: stloc.2 - IL_0062: nop - IL_0063: ldloc.2 - IL_0064: callvirt instance string class NAnt.DotNet.Types.Module::get_File() - IL_0069: ldarg.0 - IL_006a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_006f: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0074: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0079: stloc.1 - IL_007a: ldloc.1 - IL_007b: brfalse IL_00a7 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.DotNet.Types.AssemblyAttributeCollection::Add(class NAnt.DotNet.Types.AssemblyAttribute) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_0080: nop - IL_0081: ldarg.0 - IL_0082: ldc.i4 2000 - IL_0087: ldstr "String_FileHasBeenUpdated" - IL_008c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0091: ldc.i4.1 - IL_0092: newarr [mscorlib]System.Object - IL_0097: dup - IL_0098: ldc.i4.0 - IL_0099: ldloc.1 - IL_009a: stelem.ref - IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a0: ldc.i4.1 - IL_00a1: stloc.0 - IL_00a2: leave IL_04cb + IL_0021: ret + } // end of method AssemblyAttributeCollection::AddRange - IL_00a7: nop - IL_00a8: ldloc.3 - IL_00a9: callvirt instance bool class NAnt.DotNet.Types.ModuleEnumerator::MoveNext() - IL_00ae: brtrue IL_005b + // method line 586 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.AssemblyAttributeCollection items) cil managed + { + // Method begins at RVA 0xca90 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_00b3: leave IL_00ce + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.DotNet.Types.AssemblyAttribute class NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.DotNet.Types.AssemblyAttributeCollection::Add(class NAnt.DotNet.Types.AssemblyAttribute) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - } // end .try 0 - finally { // 0 - IL_00b8: ldloc.3 - IL_00b9: isinst [mscorlib]System.IDisposable - IL_00be: dup - IL_00bf: stloc.s 4 - IL_00c1: brfalse IL_00cd + IL_0028: ret + } // end of method AssemblyAttributeCollection::AddRange - IL_00c6: ldloc.s 4 - IL_00c8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00cd: endfinally - } // end handler 0 - IL_00ce: ldarg.0 - IL_00cf: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources() - IL_00d4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00d9: ldarg.0 - IL_00da: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_00df: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00e4: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_00e9: stloc.1 - IL_00ea: ldloc.1 - IL_00eb: brfalse IL_0117 + // method line 587 + .method public hidebysig + instance default bool Contains (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed + { + // Method begins at RVA 0xcac8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00f0: nop - IL_00f1: ldarg.0 - IL_00f2: ldc.i4 2000 - IL_00f7: ldstr "String_FileHasBeenUpdated" - IL_00fc: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0101: ldc.i4.1 - IL_0102: newarr [mscorlib]System.Object - IL_0107: dup - IL_0108: ldc.i4.0 - IL_0109: ldloc.1 - IL_010a: stelem.ref - IL_010b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0110: ldc.i4.1 - IL_0111: stloc.0 - IL_0112: br IL_04cb + IL_0013: ldloc.0 + IL_0014: ret + } // end of method AssemblyAttributeCollection::Contains - IL_0117: ldarg.0 - IL_0118: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() - IL_011d: brfalse IL_016d + // method line 588 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0xcaec + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.DotNet.Types.AssemblyAttribute class NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_0122: nop - IL_0123: ldarg.0 - IL_0124: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile() - IL_0129: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_012e: ldarg.0 - IL_012f: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_0134: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0139: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_013e: stloc.1 - IL_013f: ldloc.1 - IL_0140: brfalse IL_016c + IL_0014: ldloc.0 + IL_0015: ret + } // end of method AssemblyAttributeCollection::Contains - IL_0145: nop - IL_0146: ldarg.0 - IL_0147: ldc.i4 2000 - IL_014c: ldstr "String_FileHasBeenUpdated" - IL_0151: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0156: ldc.i4.1 - IL_0157: newarr [mscorlib]System.Object - IL_015c: dup - IL_015d: ldc.i4.0 - IL_015e: ldloc.1 - IL_015f: stelem.ref - IL_0160: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0165: ldc.i4.1 - IL_0166: stloc.0 - IL_0167: br IL_04cb + // method line 589 + .method public hidebysig + instance default void CopyTo (class NAnt.DotNet.Types.AssemblyAttribute[] 'array', int32 index) cil managed + { + // Method begins at RVA 0xcb0e + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method AssemblyAttributeCollection::CopyTo - IL_016c: nop - IL_016d: ldarg.0 - IL_016e: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() - IL_0173: brfalse IL_01c3 + // method line 590 + .method public hidebysig + instance default int32 IndexOf (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed + { + // Method begins at RVA 0xcb20 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0178: nop - IL_0179: ldarg.0 - IL_017a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile() - IL_017f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0184: ldarg.0 - IL_0185: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_018a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_018f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0194: stloc.1 - IL_0195: ldloc.1 - IL_0196: brfalse IL_01c2 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method AssemblyAttributeCollection::IndexOf - IL_019b: nop - IL_019c: ldarg.0 - IL_019d: ldc.i4 2000 - IL_01a2: ldstr "String_FileHasBeenUpdated" - IL_01a7: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01ac: ldc.i4.1 - IL_01ad: newarr [mscorlib]System.Object - IL_01b2: dup - IL_01b3: ldc.i4.0 - IL_01b4: ldloc.1 - IL_01b5: stelem.ref - IL_01b6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01bb: ldc.i4.1 - IL_01bc: stloc.0 - IL_01bd: br IL_04cb + // method line 591 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.DotNet.Types.AssemblyAttribute item) cil managed + { + // Method begins at RVA 0xcb41 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method AssemblyAttributeCollection::Insert - IL_01c2: nop - IL_01c3: ldarg.0 - IL_01c4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() - IL_01c9: brfalse IL_0219 + // method line 592 + .method public hidebysig + instance default class NAnt.DotNet.Types.AssemblyAttributeEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0xcb54 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.AssemblyAttributeEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.DotNet.Types.AssemblyAttributeEnumerator::'.ctor'(class NAnt.DotNet.Types.AssemblyAttributeCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01ce: nop - IL_01cf: ldarg.0 - IL_01d0: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile() - IL_01d5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01da: ldarg.0 - IL_01db: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_01e0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_01e5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_01ea: stloc.1 - IL_01eb: ldloc.1 - IL_01ec: brfalse IL_0218 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyAttributeCollection::GetEnumerator - IL_01f1: nop - IL_01f2: ldarg.0 - IL_01f3: ldc.i4 2000 - IL_01f8: ldstr "String_FileHasBeenUpdated" - IL_01fd: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0202: ldc.i4.1 - IL_0203: newarr [mscorlib]System.Object - IL_0208: dup - IL_0209: ldc.i4.0 - IL_020a: ldloc.1 - IL_020b: stelem.ref - IL_020c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0211: ldc.i4.1 - IL_0212: stloc.0 - IL_0213: br IL_04cb + // method line 593 + .method public hidebysig + instance default void Remove (class NAnt.DotNet.Types.AssemblyAttribute item) cil managed + { + // Method begins at RVA 0xcb6f + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method AssemblyAttributeCollection::Remove - IL_0218: nop - IL_0219: ldarg.0 - IL_021a: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() - IL_021f: brfalse IL_026f + .property instance class NAnt.DotNet.Types.AssemblyAttribute Item (int32) + { + .get instance default class NAnt.DotNet.Types.AssemblyAttribute NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.AssemblyAttributeCollection::set_Item (int32 index, class NAnt.DotNet.Types.AssemblyAttribute 'value') + } + .property instance class NAnt.DotNet.Types.AssemblyAttribute Item (string) + { + .get instance default class NAnt.DotNet.Types.AssemblyAttribute NAnt.DotNet.Types.AssemblyAttributeCollection::get_Item (string 'value') + } + } // end of class NAnt.DotNet.Types.AssemblyAttributeCollection +} - IL_0224: nop - IL_0225: ldarg.0 - IL_0226: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon() - IL_022b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0230: ldarg.0 - IL_0231: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_0236: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_023b: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0240: stloc.1 - IL_0241: ldloc.1 - IL_0242: brfalse IL_026e +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit AssemblyAttributeEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - IL_0247: nop - IL_0248: ldarg.0 - IL_0249: ldc.i4 2000 - IL_024e: ldstr "String_FileHasBeenUpdated" - IL_0253: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0258: ldc.i4.1 - IL_0259: newarr [mscorlib]System.Object - IL_025e: dup - IL_025f: ldc.i4.0 - IL_0260: ldloc.1 - IL_0261: stelem.ref - IL_0262: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0267: ldc.i4.1 - IL_0268: stloc.0 - IL_0269: br IL_04cb + // method line 594 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyAttributeCollection arguments) cil managed + { + // Method begins at RVA 0xcb80 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator + IL_0015: ret + } // end of method AssemblyAttributeEnumerator::.ctor - IL_026e: nop - IL_026f: ldarg.0 - IL_0270: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() - IL_0275: brfalse IL_02c5 + // method line 595 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.AssemblyAttribute get_Current () cil managed + { + // Method begins at RVA 0xcba4 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.AssemblyAttribute V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.DotNet.Types.AssemblyAttribute + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_027a: nop - IL_027b: ldarg.0 - IL_027c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res() - IL_0281: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0286: ldarg.0 - IL_0287: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_028c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0291: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0296: stloc.1 - IL_0297: ldloc.1 - IL_0298: brfalse IL_02c4 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method AssemblyAttributeEnumerator::get_Current - IL_029d: nop - IL_029e: ldarg.0 - IL_029f: ldc.i4 2000 - IL_02a4: ldstr "String_FileHasBeenUpdated" - IL_02a9: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02ae: ldc.i4.1 - IL_02af: newarr [mscorlib]System.Object - IL_02b4: dup - IL_02b5: ldc.i4.0 - IL_02b6: ldloc.1 - IL_02b7: stelem.ref - IL_02b8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_02bd: ldc.i4.1 - IL_02be: stloc.0 - IL_02bf: br IL_04cb + // method line 596 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0xcbcc + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_02c4: nop - IL_02c5: nop - IL_02c6: ldarg.0 - IL_02c7: call instance class NAnt.DotNet.Types.EmbeddedResourceCollection class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() - IL_02cc: callvirt instance class NAnt.DotNet.Types.EmbeddedResourceEnumerator class NAnt.DotNet.Types.EmbeddedResourceCollection::GetEnumerator() - IL_02d1: stloc.s 6 - .try { // 1 - IL_02d3: br IL_0328 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method AssemblyAttributeEnumerator::System.Collections.IEnumerator.get_Current - IL_02d8: ldloc.s 6 - IL_02da: callvirt instance class NAnt.DotNet.Types.EmbeddedResource class NAnt.DotNet.Types.EmbeddedResourceEnumerator::get_Current() - IL_02df: stloc.s 5 - IL_02e1: nop - IL_02e2: ldloc.s 5 - IL_02e4: callvirt instance string class NAnt.DotNet.Types.EmbeddedResource::get_File() - IL_02e9: ldarg.0 - IL_02ea: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_02ef: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_02f4: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_02f9: stloc.1 - IL_02fa: ldloc.1 - IL_02fb: brfalse IL_0327 + // method line 597 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0xcbec + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0300: nop - IL_0301: ldarg.0 - IL_0302: ldc.i4 2000 - IL_0307: ldstr "String_FileHasBeenUpdated" - IL_030c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0311: ldc.i4.1 - IL_0312: newarr [mscorlib]System.Object - IL_0317: dup - IL_0318: ldc.i4.0 - IL_0319: ldloc.1 - IL_031a: stelem.ref - IL_031b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0320: ldc.i4.1 - IL_0321: stloc.0 - IL_0322: leave IL_04cb + IL_0012: ldloc.0 + IL_0013: ret + } // end of method AssemblyAttributeEnumerator::MoveNext - IL_0327: nop - IL_0328: ldloc.s 6 - IL_032a: callvirt instance bool class NAnt.DotNet.Types.EmbeddedResourceEnumerator::MoveNext() - IL_032f: brtrue IL_02d8 + // method line 598 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0xcc0c + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0334: leave IL_0350 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method AssemblyAttributeEnumerator::System.Collections.IEnumerator.MoveNext - } // end .try 1 - finally { // 1 - IL_0339: ldloc.s 6 - IL_033b: isinst [mscorlib]System.IDisposable - IL_0340: dup - IL_0341: stloc.s 7 - IL_0343: brfalse IL_034f + // method line 599 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0xcc2c + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method AssemblyAttributeEnumerator::Reset - IL_0348: ldloc.s 7 - IL_034a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_034f: endfinally - } // end handler 1 - IL_0350: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0355: stloc.s 8 - IL_0357: nop - IL_0358: ldarg.0 - IL_0359: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_035e: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::GetEnumerator() - IL_0363: stloc.s 10 - .try { // 2 - IL_0365: br IL_045c + // method line 600 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0xcc3a + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.AssemblyAttributeEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method AssemblyAttributeEnumerator::System.Collections.IEnumerator.Reset - IL_036a: ldloc.s 10 - IL_036c: callvirt instance class [NAnt.Core]NAnt.Core.Types.Argument class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::get_Current() - IL_0371: stloc.s 9 - IL_0373: nop - IL_0374: ldloc.s 9 - IL_0376: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_IfDefined() - IL_037b: brfalse IL_045b + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.DotNet.Types.AssemblyAttributeEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.DotNet.Types.AssemblyAttribute Current () + { + .get instance default class NAnt.DotNet.Types.AssemblyAttribute NAnt.DotNet.Types.AssemblyAttributeEnumerator::get_Current () + } + } // end of class NAnt.DotNet.Types.AssemblyAttributeEnumerator +} - IL_0380: ldloc.s 9 - IL_0382: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Argument::get_UnlessDefined() - IL_0387: brtrue IL_045b +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit CompilerWarningCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_038c: nop - IL_038d: ldloc.s 9 - IL_038f: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Argument::get_Value() - IL_0394: stloc.s 11 - IL_0396: ldloc.s 11 - IL_0398: brfalse IL_045a - IL_039d: ldloc.s 11 - IL_039f: ldstr "/embed:" - IL_03a4: callvirt instance bool string::StartsWith(string) - IL_03a9: brtrue IL_03bf + // method line 601 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xcc48 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method CompilerWarningCollection::.ctor - IL_03ae: ldloc.s 11 - IL_03b0: ldstr "/embedresource:" - IL_03b5: callvirt instance bool string::StartsWith(string) - IL_03ba: brfalse IL_045a + // method line 602 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.CompilerWarningCollection 'value') cil managed + { + // Method begins at RVA 0xcc51 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.CompilerWarningCollection::AddRange(class NAnt.DotNet.Types.CompilerWarningCollection) + IL_000e: ret + } // end of method CompilerWarningCollection::.ctor - IL_03bf: nop - IL_03c0: ldloc.s 11 - IL_03c2: ldloc.s 11 - IL_03c4: ldc.i4.s 0x3a - IL_03c6: callvirt instance int32 string::IndexOf(char) - IL_03cb: ldc.i4.1 - IL_03cc: add - IL_03cd: callvirt instance string string::Substring(int32) - IL_03d2: stloc.s 12 - IL_03d4: ldloc.s 12 - IL_03d6: ldc.i4.s 0x2c - IL_03d8: callvirt instance int32 string::IndexOf(char) - IL_03dd: stloc.s 13 - IL_03df: ldloc.s 13 - IL_03e1: ldc.i4.m1 - IL_03e2: beq IL_03f5 + // method line 603 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.CompilerWarning[] 'value') cil managed + { + // Method begins at RVA 0xcc61 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.CompilerWarningCollection::AddRange(class NAnt.DotNet.Types.CompilerWarning[]) + IL_000e: ret + } // end of method CompilerWarningCollection::.ctor - IL_03e7: nop - IL_03e8: ldloc.s 12 - IL_03ea: ldc.i4.0 - IL_03eb: ldloc.s 13 - IL_03ed: callvirt instance string string::Substring(int32, int32) - IL_03f2: stloc.s 12 - IL_03f4: nop - IL_03f5: ldloc.s 12 - IL_03f7: callvirt instance int32 string::get_Length() - IL_03fc: ldc.i4.2 - IL_03fd: ble IL_0421 + // method line 604 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.CompilerWarning get_Item (int32 index) cil managed + { + // Method begins at RVA 0xcc74 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.CompilerWarning V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.DotNet.Types.CompilerWarning + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0402: ldloc.s 12 - IL_0404: ldstr "\"" - IL_0409: callvirt instance bool string::StartsWith(string) - IL_040e: brfalse IL_0421 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method CompilerWarningCollection::get_Item - IL_0413: ldloc.s 12 - IL_0415: ldstr "\"" - IL_041a: callvirt instance bool string::EndsWith(string) - IL_041f: br.s IL_0422 + // method line 605 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.DotNet.Types.CompilerWarning 'value') cil managed + { + // Method begins at RVA 0xcc9a + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method CompilerWarningCollection::set_Item - IL_0421: ldc.i4.0 - IL_0422: stloc.s 14 - IL_0424: ldloc.s 14 - IL_0426: brfalse IL_0440 + // method line 606 + .method public hidebysig + instance default int32 Add (class NAnt.DotNet.Types.CompilerWarning item) cil managed + { + // Method begins at RVA 0xccac + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_042b: nop - IL_042c: ldloc.s 12 - IL_042e: ldc.i4.1 - IL_042f: ldloc.s 12 - IL_0431: callvirt instance int32 string::get_Length() - IL_0436: ldc.i4.2 - IL_0437: sub - IL_0438: callvirt instance string string::Substring(int32, int32) - IL_043d: stloc.s 12 - IL_043f: nop - IL_0440: ldarg.0 - IL_0441: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0446: ldloc.s 12 - IL_0448: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) - IL_044d: stloc.s 12 - IL_044f: ldloc.s 8 - IL_0451: ldloc.s 12 - IL_0453: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0458: pop - IL_0459: nop - IL_045a: nop - IL_045b: nop - IL_045c: ldloc.s 10 - IL_045e: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.ArgumentEnumerator::MoveNext() - IL_0463: brtrue IL_036a + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CompilerWarningCollection::Add - IL_0468: leave IL_0484 + // method line 607 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.CompilerWarning[] items) cil managed + { + // Method begins at RVA 0xccd0 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - } // end .try 2 - finally { // 2 - IL_046d: ldloc.s 10 - IL_046f: isinst [mscorlib]System.IDisposable - IL_0474: dup - IL_0475: stloc.s 15 - IL_0477: brfalse IL_0483 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.DotNet.Types.CompilerWarningCollection::Add(class NAnt.DotNet.Types.CompilerWarning) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_047c: ldloc.s 15 - IL_047e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0483: endfinally - } // end handler 2 - IL_0484: ldloc.s 8 - IL_0486: ldarg.0 - IL_0487: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile() - IL_048c: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0491: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0496: stloc.1 - IL_0497: ldloc.1 - IL_0498: brfalse IL_04c4 + IL_0021: ret + } // end of method CompilerWarningCollection::AddRange - IL_049d: nop - IL_049e: ldarg.0 - IL_049f: ldc.i4 2000 - IL_04a4: ldstr "String_FileHasBeenUpdated" - IL_04a9: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_04ae: ldc.i4.1 - IL_04af: newarr [mscorlib]System.Object - IL_04b4: dup - IL_04b5: ldc.i4.0 - IL_04b6: ldloc.1 - IL_04b7: stelem.ref - IL_04b8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_04bd: ldc.i4.1 - IL_04be: stloc.0 - IL_04bf: br IL_04cb + // method line 608 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.CompilerWarningCollection items) cil managed + { + // Method begins at RVA 0xcd00 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_04c4: ldc.i4.0 - IL_04c5: stloc.0 - IL_04c6: br IL_04cb + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.DotNet.Types.CompilerWarning class NAnt.DotNet.Types.CompilerWarningCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.DotNet.Types.CompilerWarningCollection::Add(class NAnt.DotNet.Types.CompilerWarning) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - IL_04cb: ldloc.0 - IL_04cc: ret - } // end of method AssemblyLinkerTask::NeedsCompiling + IL_0028: ret + } // end of method CompilerWarningCollection::AddRange - .property instance string AlgorithmID () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 61 6C 67 69 64 01 00 54 02 08 52 65 71 // ...algid..T..Req - 75 69 72 65 64 00 ) // uired. + // method line 609 + .method public hidebysig + instance default bool Contains (class NAnt.DotNet.Types.CompilerWarning item) cil managed + { + // Method begins at RVA 0xcd38 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 01 00 54 08 04 42 61 73 65 10 00 00 00 ) // ....T..Base.... + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CompilerWarningCollection::Contains - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_AlgorithmID () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_AlgorithmID (string 'value') - } - .property instance string Company () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 63 6F 6D 70 61 6E 79 01 00 54 02 08 52 // ...company..T..R - 65 71 75 69 72 65 64 00 ) // equired. + // method line 610 + .method public hidebysig + instance default void CopyTo (class NAnt.DotNet.Types.CompilerWarning[] 'array', int32 index) cil managed + { + // Method begins at RVA 0xcd59 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method CompilerWarningCollection::CopyTo - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Company () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Company (string 'value') - } - .property instance string Configuration () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 63 6F 6E 66 69 67 75 72 61 74 69 6F 6E // ...configuration - 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. + // method line 611 + .method public hidebysig + instance default int32 IndexOf (class NAnt.DotNet.Types.CompilerWarning item) cil managed + { + // Method begins at RVA 0xcd6c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Configuration () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Configuration (string 'value') - } - .property instance string Copyright () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 63 6F 70 79 72 69 67 68 74 01 00 54 02 // ...copyright..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CompilerWarningCollection::IndexOf - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Copyright () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Copyright (string 'value') - } - .property instance string Culture () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 63 75 6C 74 75 72 65 01 00 54 02 08 52 // ...culture..T..R - 65 71 75 69 72 65 64 00 ) // equired. + // method line 612 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.DotNet.Types.CompilerWarning item) cil managed + { + // Method begins at RVA 0xcd8d + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method CompilerWarningCollection::Insert - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Culture (string 'value') - } - .property instance valuetype NAnt.DotNet.Types.DelaySign DelaySign () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 64 65 6C 61 79 73 69 67 6E 01 00 54 02 // ...delaysign..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + // method line 613 + .method public hidebysig + instance default class NAnt.DotNet.Types.CompilerWarningEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0xcda0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.CompilerWarningEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.DotNet.Types.CompilerWarningEnumerator::'.ctor'(class NAnt.DotNet.Types.CompilerWarningCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.AssemblyLinkerTask::get_DelaySign () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') - } - .property instance string Description () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 64 65 73 63 72 69 70 74 69 6F 6E 01 00 // ...description.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerWarningCollection::GetEnumerator - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Description () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Description (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo EvidenceFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 65 76 69 64 65 6E 63 65 01 00 54 02 08 // ...evidence..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. + // method line 614 + .method public hidebysig + instance default void Remove (class NAnt.DotNet.Types.CompilerWarning item) cil managed + { + // Method begins at RVA 0xcdbb + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method CompilerWarningCollection::Remove - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EvidenceFile () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_EvidenceFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string FileVersion () + .property instance class NAnt.DotNet.Types.CompilerWarning Item (int32) { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 66 69 6C 65 76 65 72 73 69 6F 6E 01 00 // ...fileversion.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. - - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_FileVersion () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_FileVersion (string 'value') + .get instance default class NAnt.DotNet.Types.CompilerWarning NAnt.DotNet.Types.CompilerWarningCollection::get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.CompilerWarningCollection::set_Item (int32 index, class NAnt.DotNet.Types.CompilerWarning 'value') } - .property instance string Flags () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 66 6C 61 67 73 01 00 54 02 08 52 65 71 // ...flags..T..Req - 75 69 72 65 64 00 ) // uired. + } // end of class NAnt.DotNet.Types.CompilerWarningCollection +} - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 01 00 54 08 04 42 61 73 65 10 00 00 00 ) // ....T..Base.... +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit CompilerWarningEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Flags () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Flags (string 'value') - } - .property instance string KeyContainer () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. - 00 ) // . + // method line 615 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.CompilerWarningCollection arguments) cil managed + { + // Method begins at RVA 0xcdcc + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator + IL_0015: ret + } // end of method CompilerWarningEnumerator::.ctor - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyContainer () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyContainer (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo KeyFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 6B 65 79 66 69 6C 65 01 00 54 02 08 52 // ...keyfile..T..R - 65 71 75 69 72 65 64 00 ) // equired. + // method line 616 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.CompilerWarning get_Current () cil managed + { + // Method begins at RVA 0xcdf0 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.CompilerWarning V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.DotNet.Types.CompilerWarning + IL_0011: stloc.0 + IL_0012: br IL_0017 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_KeyFile () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string MainMethod () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6D 61 69 6E 00 00 ) // ...main.. + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CompilerWarningEnumerator::get_Current - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_MainMethod () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_MainMethod (string 'value') - } - .property instance class NAnt.DotNet.Types.ModuleSet ModuleSet () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6D 6F 64 75 6C 65 73 00 00 ) // ...modules.. + // method line 617 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0xce18 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ModuleSet () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompilerWarningEnumerator::System.Collections.IEnumerator.get_Current - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputFile () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string OutputTarget () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re - 71 75 69 72 65 64 01 ) // quired. + // method line 618 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0xce38 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompilerWarningEnumerator::MoveNext - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_OutputTarget () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputTarget (string 'value') - } - .property instance string Product () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 70 72 6F 64 75 63 74 01 00 54 02 08 52 // ...product..T..R - 65 71 75 69 72 65 64 00 ) // equired. + // method line 619 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0xce58 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Product () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Product (string 'value') - } - .property instance string ProductVersion () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 70 72 6F 64 75 63 74 76 65 72 73 69 6F // ...productversio - 6E 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // n..T..Required. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CompilerWarningEnumerator::System.Collections.IEnumerator.MoveNext - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProductVersion () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_ProductVersion (string 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Resources () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 73 6F 75 72 63 65 73 00 00 ) // ...sources.. + // method line 620 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0xce78 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method CompilerWarningEnumerator::Reset - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Resources () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Resources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.DotNet.Types.EmbeddedResourceCollection EmbeddedResources () - { - .get instance default class NAnt.DotNet.Types.EmbeddedResourceCollection NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_EmbeddedResources (class NAnt.DotNet.Types.EmbeddedResourceCollection 'value') - } - .property instance bool SupportsTemplate () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 10 73 75 70 70 6F 72 74 73 74 65 6D 70 6C // ...supportstempl - 61 74 65 00 00 ) // ate.. + // method line 621 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0xce86 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.CompilerWarningEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method CompilerWarningEnumerator::System.Collections.IEnumerator.Reset - .get instance default bool NAnt.DotNet.Tasks.AssemblyLinkerTask::get_SupportsTemplate () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_SupportsTemplate (bool 'value') - } - .property instance class [mscorlib]System.IO.FileInfo TemplateFile () + .property instance object System.Collections.IEnumerator.Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 74 65 6D 70 6C 61 74 65 01 00 54 02 08 // ...template..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_TemplateFile () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_TemplateFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default object NAnt.DotNet.Types.CompilerWarningEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance string Title () + .property instance class NAnt.DotNet.Types.CompilerWarning Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 74 69 74 6C 65 01 00 54 02 08 52 65 71 // ...title..T..Req - 75 69 72 65 64 00 ) // uired. - - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Title () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Title (string 'value') + .get instance default class NAnt.DotNet.Types.CompilerWarning NAnt.DotNet.Types.CompilerWarningEnumerator::get_Current () } - .property instance string Trademark () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 74 72 61 64 65 6D 61 72 6B 01 00 54 02 // ...trademark..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + } // end of class NAnt.DotNet.Types.CompilerWarningEnumerator +} - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Trademark () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Trademark (string 'value') - } - .property instance string Version () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 76 65 72 73 69 6F 6E 01 00 54 02 08 52 // ...version..T..R - 65 71 75 69 72 65 64 00 ) // equired. +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit LibDirectorySet + extends [NAnt.Core]NAnt.Core.Types.FileSet + { + .field private class NAnt.DotNet.Types.AssemblyFileSet _parent - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Version () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Version (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo Win32Icon () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 77 69 6E 33 32 69 63 6F 6E 01 00 54 02 // ...win32icon..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + // method line 622 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.AssemblyFileSet parent) cil managed + { + // Method begins at RVA 0xce94 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Types.LibDirectorySet::_parent + IL_000e: ret + } // end of method LibDirectorySet::.ctor - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Icon () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Win32Icon (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo Win32Res () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 77 69 6E 33 32 72 65 73 01 00 54 02 08 // ...win32res..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. + // method line 623 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + { + // Method begins at RVA 0xcea4 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Types.LibDirectorySet::_parent + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Win32Res () - .set instance default void NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Win32Res (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string ProgramArguments () + IL_0012: ldloc.0 + IL_0013: ret + } // end of method LibDirectorySet::get_BaseDirectory + + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () { - .get instance default string NAnt.DotNet.Tasks.AssemblyLinkerTask::get_ProgramArguments () + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Types.LibDirectorySet::get_BaseDirectory () } - } // end of class NAnt.DotNet.Tasks.AssemblyLinkerTask + } // end of class NAnt.DotNet.Types.LibDirectorySet } -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit JscTask - extends NAnt.DotNet.Tasks.CompilerBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 6A 73 63 00 00 ) // ...jsc.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit AssemblyFileSet + extends [NAnt.Core]NAnt.Core.Types.FileSet + implements [mscorlib]System.ICloneable { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0F 61 73 73 65 6D 62 6C 79 66 69 6C 65 73 // ...assemblyfiles + 65 74 00 00 ) // et.. - .field private bool _autoRef - .field private bool _nostdlib - .field private string _warningLevel - .field private string _codepage - .field private string _platform - .field private bool _versionSafe - .field private bool _supportsPlatform - .field private static class [System]System.Text.RegularExpressions.Regex _classNameRegex - .field private static class [System]System.Text.RegularExpressions.Regex _namespaceRegex + .field private class NAnt.DotNet.Types.LibDirectorySet _lib - // method line 662 + // method line 624 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc2d8 - // Code size 7 (0x7) + // Method begins at RVA 0xcec4 + // Code size 27 (0x1b) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.DotNet.Tasks.CompilerBase::'.ctor'() - IL_0006: ret - } // end of method JscTask::.ctor + IL_0001: ldnull + IL_0002: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.0 + IL_0010: newobj instance void class NAnt.DotNet.Types.LibDirectorySet::'.ctor'(class NAnt.DotNet.Types.AssemblyFileSet) + IL_0015: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib + IL_001a: ret + } // end of method AssemblyFileSet::.ctor - // method line 663 + // method line 625 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [NAnt.Core]NAnt.Core.Types.FileSet fs) cil managed + { + // Method begins at RVA 0xcee0 + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldnull + IL_0002: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'(class [NAnt.Core]NAnt.Core.Types.FileSet) + IL_000e: nop + IL_000f: ldarg.0 + IL_0010: ldarg.0 + IL_0011: newobj instance void class NAnt.DotNet.Types.LibDirectorySet::'.ctor'(class NAnt.DotNet.Types.AssemblyFileSet) + IL_0016: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib + IL_001b: ret + } // end of method AssemblyFileSet::.ctor + + // method line 626 .method public hidebysig specialname - instance default bool get_AutoRef () cil managed + instance default class NAnt.DotNet.Types.LibDirectorySet get_Lib () cil managed { - // Method begins at RVA 0xc2e0 + // Method begins at RVA 0xcf00 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.DotNet.Types.LibDirectorySet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_autoRef + IL_0002: ldfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method JscTask::get_AutoRef + } // end of method AssemblyFileSet::get_Lib - // method line 664 + // method line 627 .method public hidebysig specialname - instance default void set_AutoRef (bool 'value') cil managed + instance default void set_Lib (class NAnt.DotNet.Types.LibDirectorySet 'value') cil managed { - // Method begins at RVA 0xc2fb + // Method begins at RVA 0xcf1b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_autoRef + IL_0003: stfld class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::_lib IL_0008: ret - } // end of method JscTask::set_AutoRef + } // end of method AssemblyFileSet::set_Lib - // method line 665 - .method public hidebysig specialname - instance default bool get_NoStdLib () cil managed + // method line 628 + .method public virtual hidebysig + instance default void Scan () cil managed { - // Method begins at RVA 0xc308 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0xcf25 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_nostdlib - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.DotNet.Types.AssemblyFileSet::ResolveReferences() + IL_000d: ret + } // end of method AssemblyFileSet::Scan - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JscTask::get_NoStdLib + // method line 629 + .method family hidebysig + instance default void ResolveReferences () cil managed + { + // Method begins at RVA 0xcf34 + // Code size 300 (0x12c) + .maxstack 2 + .locals init ( + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + string V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + string V_5, + class [mscorlib]System.IDisposable V_6, + string V_7, + class [mscorlib]System.IDisposable V_8) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0008: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_000d: stloc.1 + .try { // 1 + IL_000e: br IL_0105 + + IL_0013: ldloc.1 + IL_0014: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0021: ldloc.0 + IL_0022: call bool string::op_Equality(string, string) + IL_0027: brfalse IL_0104 + + IL_002c: nop + IL_002d: ldarg.0 + IL_002e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0033: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0038: ldloc.0 + IL_0039: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_003e: stloc.2 + IL_003f: ldloc.2 + IL_0040: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0045: brfalse IL_0050 + + IL_004a: nop + IL_004b: leave IL_0105 + + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: call instance class NAnt.DotNet.Types.LibDirectorySet class NAnt.DotNet.Types.AssemblyFileSet::get_Lib() + IL_0057: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_005c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0061: stloc.s 4 + .try { // 0 + IL_0063: br IL_009b + + IL_0068: ldloc.s 4 + IL_006a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_006f: stloc.3 + IL_0070: nop + IL_0071: ldloc.3 + IL_0072: ldloc.0 + IL_0073: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0078: stloc.s 5 + IL_007a: ldloc.s 5 + IL_007c: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0081: brfalse IL_009a + + IL_0086: nop + IL_0087: ldarg.0 + IL_0088: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_008d: ldloc.s 5 + IL_008f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0094: pop + IL_0095: leave IL_009b + + IL_009a: nop + IL_009b: ldloc.s 4 + IL_009d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00a2: brtrue IL_0068 + + IL_00a7: leave IL_00c3 + + } // end .try 0 + finally { // 0 + IL_00ac: ldloc.s 4 + IL_00ae: isinst [mscorlib]System.IDisposable + IL_00b3: dup + IL_00b4: stloc.s 6 + IL_00b6: brfalse IL_00c2 + + IL_00bb: ldloc.s 6 + IL_00bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c2: endfinally + } // end handler 0 + IL_00c3: ldarg.0 + IL_00c4: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00c9: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_00ce: brfalse IL_0103 + + IL_00d3: nop + IL_00d4: ldarg.0 + IL_00d5: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00da: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_00df: ldloc.0 + IL_00e0: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::ResolveAssembly(string) + IL_00e5: stloc.s 7 + IL_00e7: ldloc.s 7 + IL_00e9: brfalse IL_0102 + + IL_00ee: nop + IL_00ef: ldarg.0 + IL_00f0: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00f5: ldloc.s 7 + IL_00f7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00fc: pop + IL_00fd: leave IL_0105 + + IL_0102: nop + IL_0103: nop + IL_0104: nop + IL_0105: ldloc.1 + IL_0106: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_010b: brtrue IL_0013 + + IL_0110: leave IL_012b + + } // end .try 1 + finally { // 1 + IL_0115: ldloc.1 + IL_0116: isinst [mscorlib]System.IDisposable + IL_011b: dup + IL_011c: stloc.s 8 + IL_011e: brfalse IL_012a + + IL_0123: ldloc.s 8 + IL_0125: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_012a: endfinally + } // end handler 1 + IL_012b: ret + } // end of method AssemblyFileSet::ResolveReferences + + .property instance class NAnt.DotNet.Types.LibDirectorySet Lib () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 03 6C 69 62 00 00 ) // ...lib.. + + .get instance default class NAnt.DotNet.Types.LibDirectorySet NAnt.DotNet.Types.AssemblyFileSet::get_Lib () + .set instance default void NAnt.DotNet.Types.AssemblyFileSet::set_Lib (class NAnt.DotNet.Types.LibDirectorySet 'value') + } + } // end of class NAnt.DotNet.Types.AssemblyFileSet +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit Package + extends [NAnt.Core]NAnt.Core.Element + { + .field private string _name + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 666 - .method public hidebysig specialname - instance default void set_NoStdLib (bool 'value') cil managed + // method line 630 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc323 - // Code size 9 (0x9) + // Method begins at RVA 0xd0a0 + // Code size 14 (0xe) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_nostdlib - IL_0008: ret - } // end of method JscTask::set_NoStdLib + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.DotNet.Types.Package::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method Package::.ctor - // method line 667 + // method line 631 .method public hidebysig specialname - instance default string get_Platform () cil managed + instance default string get_PackageName () cil managed { - // Method begins at RVA 0xc330 + // Method begins at RVA 0xd0b0 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.JscTask::_platform + IL_0002: ldfld string NAnt.DotNet.Types.Package::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method JscTask::get_Platform + } // end of method Package::get_PackageName - // method line 668 + // method line 632 .method public hidebysig specialname - instance default void set_Platform (string 'value') cil managed + instance default void set_PackageName (string 'value') cil managed { - // Method begins at RVA 0xc34b - // Code size 14 (0xe) + // Method begins at RVA 0xd0cb + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.JscTask::_platform - IL_000d: ret - } // end of method JscTask::set_Platform + IL_0003: stfld string NAnt.DotNet.Types.Package::_name + IL_0008: ret + } // end of method Package::set_PackageName - // method line 669 + // method line 633 .method public hidebysig specialname - instance default bool get_VersionSafe () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0xc35c + // Method begins at RVA 0xd0d8 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_versionSafe + IL_0002: ldfld bool NAnt.DotNet.Types.Package::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method JscTask::get_VersionSafe + } // end of method Package::get_IfDefined - // method line 670 + // method line 634 .method public hidebysig specialname - instance default void set_VersionSafe (bool 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0xc377 + // Method begins at RVA 0xd0f3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_versionSafe + IL_0003: stfld bool NAnt.DotNet.Types.Package::_ifDefined IL_0008: ret - } // end of method JscTask::set_VersionSafe + } // end of method Package::set_IfDefined - // method line 671 + // method line 635 .method public hidebysig specialname - instance default string get_WarningLevel () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0xc384 + // Method begins at RVA 0xd100 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.JscTask::_warningLevel + IL_0002: ldfld bool NAnt.DotNet.Types.Package::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method JscTask::get_WarningLevel + } // end of method Package::get_UnlessDefined - // method line 672 + // method line 636 .method public hidebysig specialname - instance default void set_WarningLevel (string 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0xc39f - // Code size 14 (0xe) + // Method begins at RVA 0xd11b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.JscTask::_warningLevel - IL_000d: ret - } // end of method JscTask::set_WarningLevel + IL_0003: stfld bool NAnt.DotNet.Types.Package::_unlessDefined + IL_0008: ret + } // end of method Package::set_UnlessDefined - // method line 673 - .method public virtual hidebysig specialname - instance default class NAnt.DotNet.Types.WarningAsError get_WarningAsError () cil managed - { - // Method begins at RVA 0xc3b0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.WarningAsError V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.WarningAsError class NAnt.DotNet.Tasks.CompilerBase::get_WarningAsError() - IL_0007: stloc.0 - IL_0008: br IL_000d + .property instance string PackageName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JscTask::get_WarningAsError + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - // method line 674 - .method public virtual hidebysig specialname - instance default string get_NoWarn () cil managed - { - // Method begins at RVA 0xc3cc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_NoWarn() - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default string NAnt.DotNet.Types.Package::get_PackageName () + .set instance default void NAnt.DotNet.Types.Package::set_PackageName (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JscTask::get_NoWarn + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 675 - .method public virtual hidebysig specialname - instance default void set_NoWarn (string 'value') cil managed - { - // Method begins at RVA 0xc3e7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_NoWarn(string) - IL_0008: ret - } // end of method JscTask::set_NoWarn + .get instance default bool NAnt.DotNet.Types.Package::get_IfDefined () + .set instance default void NAnt.DotNet.Types.Package::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - // method line 676 - .method public virtual hidebysig specialname - instance default class NAnt.DotNet.Types.CompilerWarningCollection get_SuppressWarnings () cil managed - { - // Method begins at RVA 0xc3f4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.DotNet.Types.CompilerWarningCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.CompilerWarningCollection class NAnt.DotNet.Tasks.CompilerBase::get_SuppressWarnings() - IL_0007: stloc.0 - IL_0008: br IL_000d + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JscTask::get_SuppressWarnings + .get instance default bool NAnt.DotNet.Types.Package::get_UnlessDefined () + .set instance default void NAnt.DotNet.Types.Package::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.DotNet.Types.Package +} - // method line 677 - .method public hidebysig specialname - instance default string get_Codepage () cil managed - { - // Method begins at RVA 0xc410 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.JscTask::_codepage - IL_0007: stloc.0 - IL_0008: br IL_000d +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit PackageCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JscTask::get_Codepage - // method line 678 - .method public hidebysig specialname - instance default void set_Codepage (string 'value') cil managed + // method line 637 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc42b - // Code size 14 (0xe) + // Method begins at RVA 0xd125 + // Code size 8 (0x8) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.JscTask::_codepage - IL_000d: ret - } // end of method JscTask::set_Codepage + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method PackageCollection::.ctor - // method line 679 - .method public virtual hidebysig specialname - instance default string get_KeyContainer () cil managed + // method line 638 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.PackageCollection 'value') cil managed { - // Method begins at RVA 0xc43c + // Method begins at RVA 0xd12e // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.CompilerBase::get_KeyContainer() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JscTask::get_KeyContainer - - // method line 680 - .method public virtual hidebysig specialname - instance default void set_KeyContainer (string 'value') cil managed - { - // Method begins at RVA 0xc457 - // Code size 9 (0x9) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_KeyContainer(string) - IL_0008: ret - } // end of method JscTask::set_KeyContainer + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.PackageCollection::AddRange(class NAnt.DotNet.Types.PackageCollection) + IL_000e: ret + } // end of method PackageCollection::.ctor - // method line 681 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed + // method line 639 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.Package[] 'value') cil managed { - // Method begins at RVA 0xc464 + // Method begins at RVA 0xd13e // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_KeyFile() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.PackageCollection::AddRange(class NAnt.DotNet.Types.Package[]) IL_000e: ret - } // end of method JscTask::get_KeyFile + } // end of method PackageCollection::.ctor - // method line 682 - .method public virtual hidebysig specialname - instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 640 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.Package get_Item (int32 index) cil managed { - // Method begins at RVA 0xc47f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xd150 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.Package V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_KeyFile(class [mscorlib]System.IO.FileInfo) - IL_0008: ret - } // end of method JscTask::set_KeyFile + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.DotNet.Types.Package + IL_0012: stloc.0 + IL_0013: br IL_0018 - // method line 683 - .method public virtual hidebysig specialname - instance default valuetype NAnt.DotNet.Types.DelaySign get_DelaySign () cil managed + IL_0018: ldloc.0 + IL_0019: ret + } // end of method PackageCollection::get_Item + + // method line 641 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.DotNet.Types.Package 'value') cil managed { - // Method begins at RVA 0xc48c + // Method begins at RVA 0xd176 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.DotNet.Types.DelaySign V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance valuetype NAnt.DotNet.Types.DelaySign class NAnt.DotNet.Tasks.CompilerBase::get_DelaySign() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) IL_000e: ret - } // end of method JscTask::get_DelaySign + } // end of method PackageCollection::set_Item - // method line 684 - .method public virtual hidebysig specialname - instance default void set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') cil managed + // method line 642 + .method public hidebysig + instance default int32 Add (class NAnt.DotNet.Types.Package item) cil managed { - // Method begins at RVA 0xc4a7 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xd188 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_DelaySign(valuetype NAnt.DotNet.Types.DelaySign) - IL_0008: ret - } // end of method JscTask::set_DelaySign + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 685 - .method public virtual hidebysig specialname - instance default bool get_SupportsKeyContainer () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PackageCollection::Add + + // method line 643 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.Package[] items) cil managed { - // Method begins at RVA 0xc4b4 - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0xd1ac + // Code size 34 (0x22) + .maxstack 3 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldc.i4.0 IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0003: br IL_0018 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method JscTask::get_SupportsKeyContainer + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.DotNet.Types.PackageCollection::Add(class NAnt.DotNet.Types.Package) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - // method line 686 - .method public virtual hidebysig specialname - instance default void set_SupportsKeyContainer (bool 'value') cil managed - { - // Method begins at RVA 0xc4ca - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method JscTask::set_SupportsKeyContainer + IL_0021: ret + } // end of method PackageCollection::AddRange - // method line 687 - .method public virtual hidebysig specialname - instance default bool get_SupportsKeyFile () cil managed + // method line 644 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.PackageCollection items) cil managed { - // Method begins at RVA 0xc4d0 - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0xd1dc + // Code size 41 (0x29) + .maxstack 3 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldc.i4.0 IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0003: br IL_001c - IL_0008: ldloc.0 - IL_0009: ret - } // end of method JscTask::get_SupportsKeyFile + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.DotNet.Types.Package class NAnt.DotNet.Types.PackageCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.DotNet.Types.PackageCollection::Add(class NAnt.DotNet.Types.Package) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - // method line 688 - .method public virtual hidebysig specialname - instance default void set_SupportsKeyFile (bool 'value') cil managed - { - // Method begins at RVA 0xc4e6 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method JscTask::set_SupportsKeyFile + IL_0028: ret + } // end of method PackageCollection::AddRange - // method line 689 - .method public virtual hidebysig specialname - instance default bool get_SupportsDelaySign () cil managed + // method line 645 + .method public hidebysig + instance default bool Contains (class NAnt.DotNet.Types.Package item) cil managed { - // Method begins at RVA 0xc4ec - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0xd214 + // Code size 21 (0x15) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method JscTask::get_SupportsDelaySign + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PackageCollection::Contains - // method line 690 - .method public virtual hidebysig specialname - instance default void set_SupportsDelaySign (bool 'value') cil managed + // method line 646 + .method public hidebysig + instance default void CopyTo (class NAnt.DotNet.Types.Package[] 'array', int32 index) cil managed { - // Method begins at RVA 0xc502 - // Code size 2 (0x2) + // Method begins at RVA 0xd235 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop - IL_0001: ret - } // end of method JscTask::set_SupportsDelaySign + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method PackageCollection::CopyTo - // method line 691 - .method public hidebysig specialname - instance default bool get_SupportsPlatform () cil managed + // method line 647 + .method public hidebysig + instance default int32 IndexOf (class NAnt.DotNet.Types.Package item) cil managed { - // Method begins at RVA 0xc508 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xd248 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.JscTask::_supportsPlatform - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JscTask::get_SupportsPlatform + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PackageCollection::IndexOf - // method line 692 - .method public hidebysig specialname - instance default void set_SupportsPlatform (bool 'value') cil managed + // method line 648 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.DotNet.Types.Package item) cil managed { - // Method begins at RVA 0xc523 - // Code size 9 (0x9) + // Method begins at RVA 0xd269 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.JscTask::_supportsPlatform - IL_0008: ret - } // end of method JscTask::set_SupportsPlatform + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method PackageCollection::Insert - // method line 693 - .method public virtual hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_Modules () cil managed + // method line 649 + .method public hidebysig + instance default class NAnt.DotNet.Types.PackageEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0xc530 + // Method begins at RVA 0xd27c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) + class NAnt.DotNet.Types.PackageEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() + IL_0002: newobj instance void class NAnt.DotNet.Types.PackageEnumerator::'.ctor'(class NAnt.DotNet.Types.PackageCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method JscTask::get_Modules + } // end of method PackageCollection::GetEnumerator - // method line 694 - .method public virtual hidebysig specialname - instance default void set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + // method line 650 + .method public hidebysig + instance default void Remove (class NAnt.DotNet.Types.Package item) cil managed { - // Method begins at RVA 0xc54b - // Code size 9 (0x9) + // Method begins at RVA 0xd297 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.CompilerBase::set_Modules(class NAnt.DotNet.Types.AssemblyFileSet) - IL_0008: ret - } // end of method JscTask::set_Modules + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method PackageCollection::Remove - // method line 695 - .method family virtual hidebysig - instance default void WriteModuleReferences (class [mscorlib]System.IO.TextWriter writer) cil managed - { - // Method begins at RVA 0xc555 - // Code size 47 (0x2f) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.CompilerBase::get_Modules() - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0011: ldc.i4.0 - IL_0012: ble IL_002e + .property instance class NAnt.DotNet.Types.Package Item (int32) + { + .get instance default class NAnt.DotNet.Types.Package NAnt.DotNet.Types.PackageCollection::get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.PackageCollection::set_Item (int32 index, class NAnt.DotNet.Types.Package 'value') + } + } // end of class NAnt.DotNet.Types.PackageCollection +} - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldc.i4 4000 - IL_001e: ldstr "String_JscDoesNotSupportLinkingModules" - IL_0023: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_002d: nop - IL_002e: ret - } // end of method JscTask::WriteModuleReferences +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit PackageEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 696 - .method family virtual hidebysig - instance default void WriteOptions (class [mscorlib]System.IO.TextWriter writer) cil managed + // method line 651 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.PackageCollection arguments) cil managed { - // Method begins at RVA 0xc588 - // Code size 336 (0x150) - .maxstack 7 + // Method begins at RVA 0xd2a8 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator + IL_0015: ret + } // end of method PackageEnumerator::.ctor + + // method line 652 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.Package get_Current () cil managed + { + // Method begins at RVA 0xd2cc + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.Package V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.DotNet.Tasks.CompilerBase::get_Debug() - IL_0007: brfalse IL_003c - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: ldstr "debug" - IL_0014: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: ldstr "define" - IL_0020: ldstr "DEBUG" - IL_0025: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_002a: ldarg.0 - IL_002b: ldarg.1 - IL_002c: ldstr "define" - IL_0031: ldstr "TRACE" - IL_0036: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: call instance bool class NAnt.DotNet.Tasks.JscTask::get_NoStdLib() - IL_0042: brfalse IL_005a - - IL_0047: nop - IL_0048: ldarg.0 - IL_0049: ldarg.1 - IL_004a: ldstr "nostdlib" - IL_004f: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0054: nop - IL_0055: br IL_0073 - - IL_005a: ldarg.0 - IL_005b: call instance bool class NAnt.DotNet.Tasks.JscTask::get_AutoRef() - IL_0060: brfalse IL_0073 - - IL_0065: nop - IL_0066: ldarg.0 - IL_0067: ldarg.1 - IL_0068: ldstr "autoref" - IL_006d: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_0072: nop - IL_0073: ldarg.0 - IL_0074: call instance string class NAnt.DotNet.Tasks.JscTask::get_WarningLevel() - IL_0079: brfalse IL_0092 - - IL_007e: nop - IL_007f: ldarg.0 - IL_0080: ldarg.1 - IL_0081: ldstr "warn" - IL_0086: ldarg.0 - IL_0087: call instance string class NAnt.DotNet.Tasks.JscTask::get_WarningLevel() - IL_008c: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_0091: nop - IL_0092: ldarg.0 - IL_0093: call instance string class NAnt.DotNet.Tasks.JscTask::get_Codepage() - IL_0098: brfalse IL_00b1 - - IL_009d: nop - IL_009e: ldarg.0 - IL_009f: ldarg.1 - IL_00a0: ldstr "codepage" - IL_00a5: ldarg.0 - IL_00a6: call instance string class NAnt.DotNet.Tasks.JscTask::get_Codepage() - IL_00ab: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_00b0: nop - IL_00b1: ldarg.0 - IL_00b2: call instance string class NAnt.DotNet.Tasks.JscTask::get_Platform() - IL_00b7: brfalse IL_0112 - - IL_00bc: nop - IL_00bd: ldarg.0 - IL_00be: call instance bool class NAnt.DotNet.Tasks.JscTask::get_SupportsPlatform() - IL_00c3: brfalse IL_00e1 - - IL_00c8: nop - IL_00c9: ldarg.0 - IL_00ca: ldarg.1 - IL_00cb: ldstr "platform" - IL_00d0: ldarg.0 - IL_00d1: call instance string class NAnt.DotNet.Tasks.JscTask::get_Platform() - IL_00d6: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_00db: nop - IL_00dc: br IL_0111 - - IL_00e1: nop - IL_00e2: ldarg.0 - IL_00e3: ldc.i4 4000 - IL_00e8: ldstr "String_CompilerDoesNotSupportPlatform" - IL_00ed: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00f2: ldc.i4.1 - IL_00f3: newarr [mscorlib]System.Object - IL_00f8: dup - IL_00f9: ldc.i4.0 - IL_00fa: ldarg.0 - IL_00fb: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0100: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0105: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_010a: stelem.ref - IL_010b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0110: nop - IL_0111: nop - IL_0112: ldarg.0 - IL_0113: call instance bool class NAnt.DotNet.Tasks.JscTask::get_VersionSafe() - IL_0118: brfalse IL_012b - - IL_011d: nop - IL_011e: ldarg.0 - IL_011f: ldarg.1 - IL_0120: ldstr "versionsafe" - IL_0125: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string) - IL_012a: nop - IL_012b: ldarg.0 - IL_012c: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_0131: brfalse IL_014f + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.DotNet.Types.Package + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0136: nop - IL_0137: ldarg.0 - IL_0138: ldarg.1 - IL_0139: ldstr "win32res" - IL_013e: ldarg.0 - IL_013f: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.CompilerBase::get_Win32Res() - IL_0144: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0149: callvirt instance void class NAnt.DotNet.Tasks.CompilerBase::WriteOption(class [mscorlib]System.IO.TextWriter, string, string) - IL_014e: nop - IL_014f: ret - } // end of method JscTask::WriteOptions + IL_0017: ldloc.0 + IL_0018: ret + } // end of method PackageEnumerator::get_Current - // method line 697 - .method public virtual hidebysig specialname - instance default string get_Extension () cil managed + // method line 653 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0xc6e4 - // Code size 14 (0xe) + // Method begins at RVA 0xd2f4 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - string V_0) + object V_0) IL_0000: nop - IL_0001: ldstr "js" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method JscTask::get_Extension + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PackageEnumerator::System.Collections.IEnumerator.get_Current - // method line 698 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_ClassNameRegex () cil managed + // method line 654 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0xc700 - // Code size 14 (0xe) + // Method begins at RVA 0xd314 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) + bool V_0) IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_classNameRegex - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method JscTask::get_ClassNameRegex + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PackageEnumerator::MoveNext - // method line 699 - .method family virtual hidebysig specialname - instance default class [System]System.Text.RegularExpressions.Regex get_NamespaceRegex () cil managed + // method line 655 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0xc71c - // Code size 14 (0xe) + // Method begins at RVA 0xd334 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0) + bool V_0) IL_0000: nop - IL_0001: ldsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_namespaceRegex - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method JscTask::get_NamespaceRegex + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PackageEnumerator::System.Collections.IEnumerator.MoveNext - // method line 700 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 656 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0xc736 - // Code size 31 (0x1f) + // Method begins at RVA 0xd354 + // Code size 13 (0xd) .maxstack 8 - IL_0000: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|class\\s+(?\\w+)|(?\\w+))*" - IL_0005: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000a: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_classNameRegex - IL_000f: ldstr "^((?/\\*.*?(\\*/|$))|[\\s\\.\\{]+|namespace\\s+(?(\\w+(\\.\\w+)*)+)|(?\\w+))*" - IL_0014: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_0019: stsfld class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::_namespaceRegex - IL_001e: ret - } // end of method JscTask::.cctor - - .property instance bool AutoRef () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 61 75 74 6F 72 65 66 00 00 ) // ...autoref.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Tasks.JscTask::get_AutoRef () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_AutoRef (bool 'value') - } - .property instance bool NoStdLib () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6E 6F 73 74 64 6C 69 62 00 00 ) // ...nostdlib.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Tasks.JscTask::get_NoStdLib () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_NoStdLib (bool 'value') - } - .property instance string Platform () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 70 6C 61 74 66 6F 72 6D 00 00 ) // ...platform.. - - .get instance default string NAnt.DotNet.Tasks.JscTask::get_Platform () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_Platform (string 'value') - } - .property instance bool VersionSafe () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 76 65 72 73 69 6F 6E 73 61 66 65 00 00 ) // ...versionsafe.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.DotNet.Tasks.JscTask::get_VersionSafe () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_VersionSafe (bool 'value') - } - .property instance string WarningLevel () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 77 61 72 6E 69 6E 67 6C 65 76 65 6C 00 // ...warninglevel. - 00 ) // . - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 04 00 00 00 00 00 ) // ............ - - .get instance default string NAnt.DotNet.Tasks.JscTask::get_WarningLevel () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_WarningLevel (string 'value') - } - .property instance class NAnt.DotNet.Types.WarningAsError WarningAsError () - { - .get instance default class NAnt.DotNet.Types.WarningAsError NAnt.DotNet.Tasks.JscTask::get_WarningAsError () - } - .property instance string NoWarn () - { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 21 55 73 65 20 74 68 65 20 3C 6E 6F 77 61 // ..!Use the element inst - 65 61 64 2E 00 00 00 ) // ead.... - - .get instance default string NAnt.DotNet.Tasks.JscTask::get_NoWarn () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_NoWarn (string 'value') - } - .property instance class NAnt.DotNet.Types.CompilerWarningCollection SuppressWarnings () - { - .get instance default class NAnt.DotNet.Types.CompilerWarningCollection NAnt.DotNet.Tasks.JscTask::get_SuppressWarnings () - } - .property instance string Codepage () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 70 61 67 65 00 00 ) // ...codepage.. + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method PackageEnumerator::Reset - .get instance default string NAnt.DotNet.Tasks.JscTask::get_Codepage () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_Codepage (string 'value') - } - .property instance string KeyContainer () - { - .get instance default string NAnt.DotNet.Tasks.JscTask::get_KeyContainer () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_KeyContainer (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo KeyFile () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.JscTask::get_KeyFile () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance valuetype NAnt.DotNet.Types.DelaySign DelaySign () - { - .get instance default valuetype NAnt.DotNet.Types.DelaySign NAnt.DotNet.Tasks.JscTask::get_DelaySign () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_DelaySign (valuetype NAnt.DotNet.Types.DelaySign 'value') - } - .property instance bool SupportsKeyContainer () - { - .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsKeyContainer () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsKeyContainer (bool 'value') - } - .property instance bool SupportsKeyFile () - { - .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsKeyFile () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsKeyFile (bool 'value') - } - .property instance bool SupportsDelaySign () - { - .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsDelaySign () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsDelaySign (bool 'value') - } - .property instance bool SupportsPlatform () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 10 73 75 70 70 6F 72 74 73 70 6C 61 74 66 // ...supportsplatf - 6F 72 6D 00 00 ) // orm.. + // method line 657 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0xd362 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.PackageEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method PackageEnumerator::System.Collections.IEnumerator.Reset - .get instance default bool NAnt.DotNet.Tasks.JscTask::get_SupportsPlatform () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_SupportsPlatform (bool 'value') - } - .property instance class NAnt.DotNet.Types.AssemblyFileSet Modules () - { - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.JscTask::get_Modules () - .set instance default void NAnt.DotNet.Tasks.JscTask::set_Modules (class NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance string Extension () - { - .get instance default string NAnt.DotNet.Tasks.JscTask::get_Extension () - } - .property instance class [System]System.Text.RegularExpressions.Regex ClassNameRegex () + .property instance object System.Collections.IEnumerator.Current () { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::get_ClassNameRegex () + .get instance default object NAnt.DotNet.Types.PackageEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class [System]System.Text.RegularExpressions.Regex NamespaceRegex () + .property instance class NAnt.DotNet.Types.Package Current () { - .get instance default class [System]System.Text.RegularExpressions.Regex NAnt.DotNet.Tasks.JscTask::get_NamespaceRegex () + .get instance default class NAnt.DotNet.Types.Package NAnt.DotNet.Types.PackageEnumerator::get_Current () } - } // end of class NAnt.DotNet.Tasks.JscTask + } // end of class NAnt.DotNet.Types.PackageEnumerator } -.namespace NAnt.DotNet.Tasks +.namespace NAnt.DotNet.Types { - .class public auto ansi serializable beforefieldinit LicenseTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + .class public auto ansi serializable beforefieldinit ResourceFileSetCollection + extends [mscorlib]System.Collections.CollectionBase { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 6C 69 63 65 6E 73 65 00 00 ) // ...license.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - .field private class NAnt.DotNet.Types.AssemblyFileSet _assemblies - .field private class [mscorlib]System.IO.FileInfo _inputFile - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private string _target - .field private string _programFileName - .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory - .field private bool _supportsAssemblyReferences - .field private bool _hasCommandLineCompiler + // method line 658 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xd370 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method ResourceFileSetCollection::.ctor + + // method line 659 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.ResourceFileSetCollection 'value') cil managed + { + // Method begins at RVA 0xd379 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.ResourceFileSetCollection::AddRange(class NAnt.DotNet.Types.ResourceFileSetCollection) + IL_000e: ret + } // end of method ResourceFileSetCollection::.ctor - // method line 701 + // method line 660 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.DotNet.Types.ResourceFileSet[] 'value') cil managed { - // Method begins at RVA 0xc756 - // Code size 25 (0x19) + // Method begins at RVA 0xd389 + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0006: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::_assemblies - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.DotNet.Tasks.LicenseTask::_hasCommandLineCompiler - IL_0012: ldarg.0 - IL_0013: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0018: ret - } // end of method LicenseTask::.ctor + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.DotNet.Types.ResourceFileSetCollection::AddRange(class NAnt.DotNet.Types.ResourceFileSet[]) + IL_000e: ret + } // end of method ResourceFileSetCollection::.ctor - // method line 702 + // method line 661 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_InputFile () cil managed + instance default class NAnt.DotNet.Types.ResourceFileSet get_Item (int32 index) cil managed { - // Method begins at RVA 0xc770 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xd39c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.DotNet.Types.ResourceFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_inputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.DotNet.Types.ResourceFileSet + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LicenseTask::get_InputFile + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ResourceFileSetCollection::get_Item - // method line 703 + // method line 662 .method public hidebysig specialname - instance default void set_InputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Item (int32 index, class NAnt.DotNet.Types.ResourceFileSet 'value') cil managed { - // Method begins at RVA 0xc78b - // Code size 9 (0x9) + // Method begins at RVA 0xd3c2 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_inputFile - IL_0008: ret - } // end of method LicenseTask::set_InputFile + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method ResourceFileSetCollection::set_Item - // method line 704 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + // method line 663 + .method public hidebysig + instance default int32 Add (class NAnt.DotNet.Types.ResourceFileSet item) cil managed { - // Method begins at RVA 0xc798 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xd3d4 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LicenseTask::get_OutputFile + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ResourceFileSetCollection::Add - // method line 705 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 664 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.ResourceFileSet[] items) cil managed { - // Method begins at RVA 0xc7b3 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xd3f8 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::_outputFile - IL_0008: ret - } // end of method LicenseTask::set_OutputFile + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - // method line 706 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.DotNet.Types.ResourceFileSetCollection::Add(class NAnt.DotNet.Types.ResourceFileSet) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 + + IL_0021: ret + } // end of method ResourceFileSetCollection::AddRange + + // method line 665 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.ResourceFileSetCollection items) cil managed { - // Method begins at RVA 0xc7c0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xd428 + // Code size 41 (0x29) + .maxstack 3 .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.DotNet.Types.ResourceFileSet class NAnt.DotNet.Types.ResourceFileSetCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.DotNet.Types.ResourceFileSetCollection::Add(class NAnt.DotNet.Types.ResourceFileSet) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 + + IL_0028: ret + } // end of method ResourceFileSetCollection::AddRange + + // method line 666 + .method public hidebysig + instance default bool Contains (class NAnt.DotNet.Types.ResourceFileSet item) cil managed + { + // Method begins at RVA 0xd460 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::_assemblies - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LicenseTask::get_Assemblies + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ResourceFileSetCollection::Contains - // method line 707 - .method public hidebysig specialname - instance default void set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + // method line 667 + .method public hidebysig + instance default void CopyTo (class NAnt.DotNet.Types.ResourceFileSet[] 'array', int32 index) cil managed { - // Method begins at RVA 0xc7db - // Code size 9 (0x9) + // Method begins at RVA 0xd481 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::_assemblies - IL_0008: ret - } // end of method LicenseTask::set_Assemblies + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method ResourceFileSetCollection::CopyTo - // method line 708 - .method public hidebysig specialname - instance default string get_LicenseTarget () cil managed + // method line 668 + .method public hidebysig + instance default int32 IndexOf (class NAnt.DotNet.Types.ResourceFileSet item) cil managed { - // Method begins at RVA 0xc7e8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xd494 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LicenseTask::get_LicenseTarget + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ResourceFileSetCollection::IndexOf - // method line 709 - .method public hidebysig specialname - instance default void set_LicenseTarget (string 'value') cil managed + // method line 669 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.DotNet.Types.ResourceFileSet item) cil managed { - // Method begins at RVA 0xc803 - // Code size 9 (0x9) + // Method begins at RVA 0xd4b5 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.DotNet.Tasks.LicenseTask::set_Target(string) - IL_0008: ret - } // end of method LicenseTask::set_LicenseTarget + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method ResourceFileSetCollection::Insert - // method line 710 - .method public hidebysig specialname - instance default string get_Target () cil managed + // method line 670 + .method public hidebysig + instance default class NAnt.DotNet.Types.ResourceFileSetEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0xc810 + // Method begins at RVA 0xd4c8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.DotNet.Types.ResourceFileSetEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.LicenseTask::_target + IL_0002: newobj instance void class NAnt.DotNet.Types.ResourceFileSetEnumerator::'.ctor'(class NAnt.DotNet.Types.ResourceFileSetCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LicenseTask::get_Target + } // end of method ResourceFileSetCollection::GetEnumerator - // method line 711 - .method public hidebysig specialname - instance default void set_Target (string 'value') cil managed + // method line 671 + .method public hidebysig + instance default void Remove (class NAnt.DotNet.Types.ResourceFileSet item) cil managed { - // Method begins at RVA 0xc82b + // Method begins at RVA 0xd4e3 // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.LicenseTask::_target + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) IL_000d: ret - } // end of method LicenseTask::set_Target + } // end of method ResourceFileSetCollection::Remove - // method line 712 + .property instance class NAnt.DotNet.Types.ResourceFileSet Item (int32) + { + .get instance default class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Types.ResourceFileSetCollection::get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.ResourceFileSetCollection::set_Item (int32 index, class NAnt.DotNet.Types.ResourceFileSet 'value') + } + } // end of class NAnt.DotNet.Types.ResourceFileSetCollection +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit ResourceFileSetEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 672 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.ResourceFileSetCollection arguments) cil managed + { + // Method begins at RVA 0xd4f4 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator + IL_0015: ret + } // end of method ResourceFileSetEnumerator::.ctor + + // method line 673 .method public hidebysig specialname - instance default bool get_SupportsAssemblyReferences () cil managed + instance default class NAnt.DotNet.Types.ResourceFileSet get_Current () cil managed { - // Method begins at RVA 0xc83c - // Code size 15 (0xf) + // Method begins at RVA 0xd518 + // Code size 25 (0x19) .maxstack 1 .locals init ( - bool V_0) + class NAnt.DotNet.Types.ResourceFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.LicenseTask::_supportsAssemblyReferences - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.DotNet.Types.ResourceFileSet + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LicenseTask::get_SupportsAssemblyReferences + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ResourceFileSetEnumerator::get_Current - // method line 713 - .method public hidebysig specialname - instance default void set_SupportsAssemblyReferences (bool 'value') cil managed + // method line 674 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0xc857 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xd540 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.LicenseTask::_supportsAssemblyReferences - IL_0008: ret - } // end of method LicenseTask::set_SupportsAssemblyReferences + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 714 - .method public hidebysig specialname - instance default bool get_HasCommandLineCompiler () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ResourceFileSetEnumerator::System.Collections.IEnumerator.get_Current + + // method line 675 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0xc864 - // Code size 15 (0xf) + // Method begins at RVA 0xd560 + // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.DotNet.Tasks.LicenseTask::_hasCommandLineCompiler - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LicenseTask::get_HasCommandLineCompiler + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ResourceFileSetEnumerator::MoveNext - // method line 715 - .method public hidebysig specialname - instance default void set_HasCommandLineCompiler (bool 'value') cil managed + // method line 676 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0xc87f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xd580 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.DotNet.Tasks.LicenseTask::_hasCommandLineCompiler - IL_0008: ret - } // end of method LicenseTask::set_HasCommandLineCompiler + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 716 - .method family virtual hidebysig - instance default void Initialize () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ResourceFileSetEnumerator::System.Collections.IEnumerator.MoveNext + + // method line 677 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0xc88c - // Code size 112 (0x70) - .maxstack 3 + // Method begins at RVA 0xd5a0 + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0007: brtrue IL_0033 - - IL_000c: nop - IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0012: ldstr "NA2013" - IL_0017: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001c: ldarg.0 - IL_001d: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() - IL_0022: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0027: ldarg.0 - IL_0028: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_002d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0032: throw - IL_0033: ldarg.0 - IL_0034: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_0039: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_003e: brtrue IL_006f - - IL_0043: nop - IL_0044: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0049: ldstr "NA2014" - IL_004e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0053: ldarg.0 - IL_0054: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_0059: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0063: ldarg.0 - IL_0064: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0069: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_006e: throw - IL_006f: ret - } // end of method LicenseTask::Initialize + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ResourceFileSetEnumerator::Reset - // method line 717 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + // method line 678 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0xc908 - // Code size 39 (0x27) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + // Method begins at RVA 0xd5ae + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::_workingDirectory - IL_0007: brtrue IL_0019 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.ResourceFileSetEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ResourceFileSetEnumerator::System.Collections.IEnumerator.Reset - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0013: stloc.0 - IL_0014: br IL_0025 + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.DotNet.Types.ResourceFileSetEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.DotNet.Types.ResourceFileSet Current () + { + .get instance default class NAnt.DotNet.Types.ResourceFileSet NAnt.DotNet.Types.ResourceFileSetEnumerator::get_Current () + } + } // end of class NAnt.DotNet.Types.ResourceFileSetEnumerator +} - IL_0019: ldarg.0 - IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::_workingDirectory - IL_001f: stloc.0 - IL_0020: br IL_0025 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit ResourceFileSet + extends [NAnt.Core]NAnt.Core.Types.FileSet + implements [mscorlib]System.ICloneable { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 0F 72 65 73 6F 75 72 63 65 66 69 6C 65 73 // ...resourcefiles + 65 74 00 00 ) // et.. + + .field private string _prefix + .field private bool _dynamicprefix - IL_0025: ldloc.0 - IL_0026: ret - } // end of method LicenseTask::get_BaseDirectory + // method line 679 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xd5bc + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method ResourceFileSet::.ctor - // method line 718 - .method public virtual hidebysig specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 680 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [NAnt.Core]NAnt.Core.Types.FileSet fs) cil managed { - // Method begins at RVA 0xc93b + // Method begins at RVA 0xd5c5 // Code size 9 (0x9) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::_workingDirectory + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'(class [NAnt.Core]NAnt.Core.Types.FileSet) + IL_0007: nop IL_0008: ret - } // end of method LicenseTask::set_BaseDirectory + } // end of method ResourceFileSet::.ctor - // method line 719 - .method public virtual hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed + // method line 681 + .method public hidebysig specialname + instance default string get_Prefix () cil managed { - // Method begins at RVA 0xc948 + // Method begins at RVA 0xd5d0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.ArgumentCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0002: ldfld string NAnt.DotNet.Types.ResourceFileSet::_prefix IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LicenseTask::get_Arguments + } // end of method ResourceFileSet::get_Prefix - // method line 720 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + // method line 682 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0xc964 + // Method begins at RVA 0xd5eb // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) + .maxstack 8 IL_0000: nop - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Types.ResourceFileSet::_prefix IL_000d: ret - } // end of method LicenseTask::get_ProgramArguments + } // end of method ResourceFileSet::set_Prefix - // method line 721 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed + // method line 683 + .method public hidebysig specialname + instance default bool get_DynamicPrefix () cil managed { - // Method begins at RVA 0xc980 - // Code size 40 (0x28) - .maxstack 2 + // Method begins at RVA 0xd5fc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName - IL_0007: brtrue IL_001a + IL_0002: ldfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_0014: stfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ResourceFileSet::get_DynamicPrefix - IL_0026: ldloc.0 - IL_0027: ret - } // end of method LicenseTask::get_ProgramFileName + // method line 684 + .method public hidebysig specialname + instance default void set_DynamicPrefix (bool 'value') cil managed + { + // Method begins at RVA 0xd617 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix + IL_0008: ret + } // end of method ResourceFileSet::set_DynamicPrefix - // method line 722 - .method family virtual hidebysig - instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + // method line 685 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ResxFiles () cil managed { - // Method begins at RVA 0xc9b4 - // Code size 547 (0x223) - .maxstack 4 + // Method begins at RVA 0xd624 + // Code size 179 (0xb3) + .maxstack 2 .locals init ( - class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0, + class NAnt.DotNet.Types.ResourceFileSet V_0, string V_1, class [System]System.Collections.Specialized.StringEnumerator V_2, class [mscorlib]System.IDisposable V_3, - string V_4, - string V_5, - class [System]System.Collections.Specialized.StringEnumerator V_6, - class [mscorlib]System.IDisposable V_7) + class [NAnt.Core]NAnt.Core.Types.FileSet V_4) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.DotNet.Tasks.LicenseTask::get_SupportsAssemblyReferences() - IL_0007: brtrue IL_01ac - - IL_000c: nop - IL_000d: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_001f: ldloc.0 - IL_0020: ldarg.0 - IL_0021: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0026: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_002b: ldloc.0 - IL_002c: ldarg.0 - IL_002d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0032: ldloc.0 - IL_0033: ldarg.0 - IL_0034: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_003e: ldloc.0 - IL_003f: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0044: brtrue IL_0056 - - IL_0049: nop - IL_004a: ldloc.0 - IL_004b: ldc.i4 4000 - IL_0050: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_0055: nop - IL_0056: ldloc.0 - IL_0057: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_005c: ldloc.0 - IL_005d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0062: ldloc.0 - IL_0063: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0068: ldloc.0 - IL_0069: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_006e: ldloc.0 - IL_006f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0074: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0079: ldloc.0 - IL_007a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_007f: ldloc.0 - IL_0080: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0085: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_008a: ldloc.0 - IL_008b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0090: ldarg.0 - IL_0091: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_0096: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00a0: ldloc.0 - IL_00a1: ldc.i4.1 - IL_00a2: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_Flatten(bool) - IL_00a7: nop - IL_00a8: ldarg.0 - IL_00a9: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_00ae: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00b3: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00b8: stloc.2 + IL_0002: callvirt instance object class [NAnt.Core]NAnt.Core.Types.FileSet::Clone() + IL_0007: castclass NAnt.DotNet.Types.ResourceFileSet + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0013: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0018: ldloc.0 + IL_0019: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Excludes() + IL_001e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0023: ldloc.0 + IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_AsIs() + IL_0029: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_002e: ldloc.0 + IL_002f: ldc.i4.0 + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_FailOnEmpty(bool) + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_003c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0041: stloc.2 .try { // 0 - IL_00b9: br IL_00d9 + IL_0042: br IL_007e - IL_00be: ldloc.2 - IL_00bf: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00c4: stloc.1 - IL_00c5: nop - IL_00c6: ldloc.0 - IL_00c7: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_00cc: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_00d1: ldloc.1 - IL_00d2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00d7: pop - IL_00d8: nop - IL_00d9: ldloc.2 - IL_00da: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00df: brtrue IL_00be + IL_0047: ldloc.2 + IL_0048: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_004d: stloc.1 + IL_004e: nop + IL_004f: ldloc.1 + IL_0050: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_005f: ldstr ".resx" + IL_0064: call bool string::op_Equality(string, string) + IL_0069: brfalse IL_007d - IL_00e4: leave IL_00fd + IL_006e: nop + IL_006f: ldloc.0 + IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0075: ldloc.1 + IL_0076: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_007b: pop + IL_007c: nop + IL_007d: nop + IL_007e: ldloc.2 + IL_007f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0084: brtrue IL_0047 - } // end .try 0 - finally { // 0 - IL_00e9: ldloc.2 - IL_00ea: isinst [mscorlib]System.IDisposable - IL_00ef: dup - IL_00f0: stloc.3 - IL_00f1: brfalse IL_00fc + IL_0089: leave IL_00a2 - IL_00f6: ldloc.3 - IL_00f7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00fc: endfinally + } // end .try 0 + finally { // 0 + IL_008e: ldloc.2 + IL_008f: isinst [mscorlib]System.IDisposable + IL_0094: dup + IL_0095: stloc.3 + IL_0096: brfalse IL_00a1 + + IL_009b: ldloc.3 + IL_009c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00a1: endfinally } // end handler 0 - IL_00fd: ldloc.0 - IL_00fe: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0103: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0108: ldarg.0 - IL_0109: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_010e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0113: pop - IL_0114: ldloc.0 - IL_0115: ldarg.0 - IL_0116: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_011b: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0120: ldloc.0 - IL_0121: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0126: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 1 - IL_012b: nop - IL_012c: ldloc.0 - IL_012d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0132: nop - IL_0133: leave IL_0146 + IL_00a2: ldloc.0 + IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() + IL_00a8: ldloc.0 + IL_00a9: stloc.s 4 + IL_00ab: br IL_00b0 - } // end .try 1 - finally { // 1 - IL_0138: nop - IL_0139: ldloc.0 - IL_013a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_013f: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0144: nop - IL_0145: endfinally - } // end handler 1 - IL_0146: ldarg.0 - IL_0147: ldarg.0 - IL_0148: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_014d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0152: ldarg.0 - IL_0153: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_0158: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_015d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0162: stfld string NAnt.DotNet.Tasks.LicenseTask::_programFileName - IL_0167: ldarg.0 - IL_0168: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_016d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0172: ldarg.0 - IL_0173: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0178: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_017d: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0182: stloc.s 4 - IL_0184: ldloc.s 4 - IL_0186: call bool string::IsNullOrEmpty(string) - IL_018b: brtrue IL_01a6 + IL_00b0: ldloc.s 4 + IL_00b2: ret + } // end of method ResourceFileSet::get_ResxFiles - IL_0190: ldloc.s 4 - IL_0192: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0197: brtrue IL_01a6 + // method line 686 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_NonResxFiles () cil managed + { + // Method begins at RVA 0xd6f4 + // Code size 179 (0xb3) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.ResourceFileSet V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class [NAnt.Core]NAnt.Core.Types.FileSet V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance object class [NAnt.Core]NAnt.Core.Types.FileSet::Clone() + IL_0007: castclass NAnt.DotNet.Types.ResourceFileSet + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0013: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0018: ldloc.0 + IL_0019: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Excludes() + IL_001e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0023: ldloc.0 + IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_AsIs() + IL_0029: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_002e: ldloc.0 + IL_002f: ldc.i4.0 + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_FailOnEmpty(bool) + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_003c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0041: stloc.2 + .try { // 0 + IL_0042: br IL_007e - IL_019c: nop - IL_019d: ldloc.s 4 - IL_019f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_01a4: pop - IL_01a5: nop - IL_01a6: nop - IL_01a7: br IL_021b + IL_0047: ldloc.2 + IL_0048: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_004d: stloc.1 + IL_004e: nop + IL_004f: ldloc.1 + IL_0050: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_005f: ldstr ".resx" + IL_0064: call bool string::op_Inequality(string, string) + IL_0069: brfalse IL_007d - IL_01ac: nop - IL_01ad: nop - IL_01ae: ldarg.0 - IL_01af: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_01b4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01b9: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_01be: stloc.s 6 - .try { // 2 - IL_01c0: br IL_01f2 + IL_006e: nop + IL_006f: ldloc.0 + IL_0070: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0075: ldloc.1 + IL_0076: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_007b: pop + IL_007c: nop + IL_007d: nop + IL_007e: ldloc.2 + IL_007f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0084: brtrue IL_0047 - IL_01c5: ldloc.s 6 - IL_01c7: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_01cc: stloc.s 5 - IL_01ce: nop - IL_01cf: ldarg.0 - IL_01d0: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_01d5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01da: ldstr "/i:\"{0}\"" - IL_01df: ldloc.s 5 - IL_01e1: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01e6: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_01eb: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_01f0: pop - IL_01f1: nop - IL_01f2: ldloc.s 6 - IL_01f4: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_01f9: brtrue IL_01c5 + IL_0089: leave IL_00a2 - IL_01fe: leave IL_021a + } // end .try 0 + finally { // 0 + IL_008e: ldloc.2 + IL_008f: isinst [mscorlib]System.IDisposable + IL_0094: dup + IL_0095: stloc.3 + IL_0096: brfalse IL_00a1 - } // end .try 2 - finally { // 2 - IL_0203: ldloc.s 6 - IL_0205: isinst [mscorlib]System.IDisposable - IL_020a: dup - IL_020b: stloc.s 7 - IL_020d: brfalse IL_0219 + IL_009b: ldloc.3 + IL_009c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00a1: endfinally + } // end handler 0 + IL_00a2: ldloc.0 + IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Scan() + IL_00a8: ldloc.0 + IL_00a9: stloc.s 4 + IL_00ab: br IL_00b0 - IL_0212: ldloc.s 7 - IL_0214: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0219: endfinally - } // end handler 2 - IL_021a: nop - IL_021b: ldarg.0 - IL_021c: ldarg.1 - IL_021d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) - IL_0222: ret - } // end of method LicenseTask::PrepareProcess + IL_00b0: ldloc.s 4 + IL_00b2: ret + } // end of method ResourceFileSet::get_NonResxFiles - // method line 723 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 687 + .method public virtual hidebysig + instance default object Clone () cil managed { - // Method begins at RVA 0xcc0c - // Code size 724 (0x2d4) - .maxstack 9 + // Method begins at RVA 0xd7c4 + // Code size 47 (0x2f) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - class [mscorlib]System.Exception V_1, - class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_2, - class [mscorlib]System.AppDomain V_3, - class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer V_4) + class NAnt.DotNet.Types.ResourceFileSet V_0, + object V_1) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_0009: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000e: brtrue IL_0030 + IL_0001: newobj instance void class NAnt.DotNet.Types.ResourceFileSet::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::CopyTo(class [NAnt.Core]NAnt.Core.Types.FileSet) + IL_000e: ldloc.0 + IL_000f: ldarg.0 + IL_0010: ldfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix + IL_0015: stfld bool NAnt.DotNet.Types.ResourceFileSet::_dynamicprefix + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld string NAnt.DotNet.Types.ResourceFileSet::_prefix + IL_0021: stfld string NAnt.DotNet.Types.ResourceFileSet::_prefix + IL_0026: ldloc.0 + IL_0027: stloc.1 + IL_0028: br IL_002d - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_001a: ldarg.0 - IL_001b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0020: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0025: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_002a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_OutputFile() - IL_0036: brtrue IL_0093 + IL_002d: ldloc.1 + IL_002e: ret + } // end of method ResourceFileSet::Clone - IL_003b: nop - .try { // 0 - IL_003c: nop - IL_003d: ldarg.0 - IL_003e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0043: ldarg.0 - IL_0044: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0049: ldstr ".licenses" - IL_004e: call string string::Concat(string, string) - IL_0053: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) - IL_0058: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_005d: stloc.0 - IL_005e: nop - IL_005f: leave IL_008d + // method line 688 + .method public hidebysig + instance default string GetManifestResourceName (string resourceFile) cil managed + { + // Method begins at RVA 0xd800 + // Code size 17 (0x11) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.1 + IL_0004: call instance string class NAnt.DotNet.Types.ResourceFileSet::GetManifestResourceName(string, string) + IL_0009: stloc.0 + IL_000a: br IL_000f - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0064: stloc.1 - IL_0065: nop - IL_0066: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006b: ldstr "NA2015" - IL_0070: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0075: ldarg.0 - IL_0076: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_007b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0080: ldarg.0 - IL_0081: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0086: ldloc.1 - IL_0087: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_008c: throw - } // end handler 0 - IL_008d: nop - IL_008e: br IL_009c + IL_000f: ldloc.0 + IL_0010: ret + } // end of method ResourceFileSet::GetManifestResourceName - IL_0093: nop - IL_0094: ldarg.0 - IL_0095: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_OutputFile() - IL_009a: stloc.0 - IL_009b: nop - IL_009c: ldloc.0 - IL_009d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_00a2: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_00a7: brtrue IL_00b9 + // method line 689 + .method public hidebysig + instance default string GetManifestResourceName (string physicalPath, string logicalPath) cil managed + { + // Method begins at RVA 0xd820 + // Code size 496 (0x1f0) + .maxstack 3 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + string V_1, + char V_2, + string V_3, + char V_4, + string V_5, + string V_6, + class [mscorlib]System.Text.StringBuilder V_7, + string[] V_8, + int32 V_9, + string V_10, + int32 V_11, + char V_12, + string V_13) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.DotNet.Types.ResourceFileSet::get_Prefix() + IL_0007: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'(string) + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: call instance bool class NAnt.DotNet.Types.ResourceFileSet::get_DynamicPrefix() + IL_0013: brfalse IL_00fc - IL_00ac: nop - IL_00ad: ldloc.0 - IL_00ae: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_00b3: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_00b8: nop - IL_00b9: ldarg.0 - IL_00ba: ldloc.0 - IL_00bb: call instance bool class NAnt.DotNet.Tasks.LicenseTask::NeedsCompiling(class [mscorlib]System.IO.FileInfo) - IL_00c0: brtrue IL_00cb + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_001f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0024: stloc.1 + IL_0025: ldloc.1 + IL_0026: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_002b: stloc.2 + IL_002c: ldloca.s 2 + IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0033: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_0038: callvirt instance bool string::EndsWith(string) + IL_003d: brtrue IL_0055 - IL_00c5: nop - IL_00c6: br IL_02d3 + IL_0042: nop + IL_0043: ldloc.1 + IL_0044: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0049: box [mscorlib]System.Char + IL_004e: call string string::Concat(object, object) + IL_0053: stloc.1 + IL_0054: nop + IL_0055: ldarg.2 + IL_0056: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_005b: stloc.3 + IL_005c: ldloc.3 + IL_005d: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0062: stloc.s 4 + IL_0064: ldloca.s 4 + IL_0066: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_006b: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_0070: callvirt instance bool string::EndsWith(string) + IL_0075: brtrue IL_008d - IL_00cb: ldarg.0 - IL_00cc: ldc.i4 2000 - IL_00d1: ldstr "String_CompilingLicenseUsingTarget" - IL_00d6: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00db: ldc.i4.3 - IL_00dc: newarr [mscorlib]System.Object - IL_00e1: dup - IL_00e2: ldc.i4.0 - IL_00e3: ldarg.0 - IL_00e4: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_00e9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00ee: stelem.ref - IL_00ef: dup - IL_00f0: ldc.i4.1 - IL_00f1: ldloc.0 - IL_00f2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00f7: stelem.ref - IL_00f8: dup - IL_00f9: ldc.i4.2 - IL_00fa: ldarg.0 - IL_00fb: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0100: stelem.ref - IL_0101: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0106: ldarg.0 - IL_0107: call instance bool class NAnt.DotNet.Tasks.LicenseTask::get_HasCommandLineCompiler() - IL_010c: brfalse IL_026d + IL_007a: nop + IL_007b: ldloc.3 + IL_007c: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0081: box [mscorlib]System.Char + IL_0086: call string string::Concat(object, object) + IL_008b: stloc.3 + IL_008c: nop + IL_008d: ldsfld string [mscorlib]System.String::Empty + IL_0092: stloc.s 5 + IL_0094: ldloc.3 + IL_0095: ldloc.1 + IL_0096: call bool string::op_Inequality(string, string) + IL_009b: brfalse IL_00bc - IL_0111: nop - IL_0112: ldarg.0 - IL_0113: call class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Util.FileUtils::GetTempDirectory() - IL_0118: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - .try { // 1 - IL_011d: nop - IL_011e: ldarg.0 - IL_011f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0124: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0129: ldstr "/target:\"{0}\"" - IL_012e: ldarg.0 - IL_012f: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0134: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0139: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_013e: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0143: pop - IL_0144: ldarg.0 - IL_0145: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_014a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_014f: ldstr "/complist:\"{0}\"" - IL_0154: ldarg.0 - IL_0155: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_015a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_015f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0164: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0169: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_016e: pop - IL_016f: ldarg.0 - IL_0170: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0175: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_017a: ldstr "/outdir:\"{0}\"" - IL_017f: ldarg.0 - IL_0180: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0185: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_018a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_018f: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0194: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0199: pop - IL_019a: ldarg.0 - IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_01a0: ldstr "/nologo" - IL_01a5: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_01aa: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_01af: pop - IL_01b0: ldarg.0 - IL_01b1: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_01b6: brfalse IL_01d3 + IL_00a0: ldloc.3 + IL_00a1: ldloc.1 + IL_00a2: callvirt instance bool string::StartsWith(string) + IL_00a7: brfalse IL_00bc - IL_01bb: nop - IL_01bc: ldarg.0 - IL_01bd: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_01c2: ldstr "/v" - IL_01c7: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_01cc: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_01d1: pop - IL_01d2: nop - IL_01d3: ldarg.0 - IL_01d4: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_01d9: ldloc.0 - IL_01da: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01df: call bool class [mscorlib]System.IO.File::Exists(string) - IL_01e4: brfalse IL_01f6 + IL_00ac: nop + IL_00ad: ldloc.3 + IL_00ae: ldloc.1 + IL_00af: callvirt instance int32 string::get_Length() + IL_00b4: callvirt instance string string::Substring(int32) + IL_00b9: stloc.s 5 + IL_00bb: nop + IL_00bc: ldloc.s 5 + IL_00be: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00c3: ldc.i4.s 0x2e + IL_00c5: callvirt instance string string::Replace(char, char) + IL_00ca: ldsfld char [mscorlib]System.IO.Path::AltDirectorySeparatorChar + IL_00cf: ldc.i4.s 0x2e + IL_00d1: callvirt instance string string::Replace(char, char) + IL_00d6: stloc.s 6 + IL_00d8: ldloc.0 + IL_00d9: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_00de: ldc.i4.0 + IL_00df: ble IL_00f2 - IL_01e9: nop - IL_01ea: ldloc.0 - IL_01eb: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01f0: call void class [mscorlib]System.IO.File::Delete(string) - IL_01f5: nop - IL_01f6: ldarg.0 - IL_01f7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_01fc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0201: ldarg.0 - IL_0202: call instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0207: ldstr ".licenses" - IL_020c: call string string::Concat(string, string) - IL_0211: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0216: ldloc.0 - IL_0217: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_021c: ldc.i4.1 - IL_021d: call void class [mscorlib]System.IO.File::Copy(string, string, bool) - IL_0222: nop - IL_0223: leave IL_0267 + IL_00e4: nop + IL_00e5: ldloc.0 + IL_00e6: ldstr "." + IL_00eb: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00f0: pop + IL_00f1: nop + IL_00f2: ldloc.0 + IL_00f3: ldloc.s 6 + IL_00f5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00fa: pop + IL_00fb: nop + IL_00fc: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0101: stloc.s 7 + IL_0103: ldloc.0 + IL_0104: callvirt instance string object::ToString() + IL_0109: ldc.i4.s 0x2e + IL_010b: ldc.i4.0 + IL_010c: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0111: stloc.s 8 + IL_0113: ldc.i4.0 + IL_0114: stloc.s 9 + IL_0116: br IL_01c6 - } // end .try 1 - finally { // 1 - IL_0228: nop - IL_0229: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() - IL_022e: stloc.2 - IL_022f: ldloc.2 - IL_0230: ldarg.0 - IL_0231: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0236: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_023b: ldloc.2 - IL_023c: ldarg.0 - IL_023d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0242: ldloc.2 - IL_0243: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0248: ldloc.2 - IL_0249: ldarg.0 - IL_024a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_024f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) - IL_0254: ldloc.2 - IL_0255: ldc.i4 9999 - IL_025a: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_025f: ldloc.2 - IL_0260: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0265: nop - IL_0266: endfinally - } // end handler 1 - IL_0267: nop - IL_0268: br IL_02d3 + IL_011b: nop + IL_011c: ldloc.s 8 + IL_011e: ldloc.s 9 + IL_0120: ldelem.ref + IL_0121: stloc.s 10 + IL_0123: ldloc.s 10 + IL_0125: callvirt instance int32 string::get_Length() + IL_012a: brtrue IL_0135 - IL_026d: nop - IL_026e: ldstr "LicenseGatheringDomain" - IL_0273: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string) - IL_0278: stloc.3 - IL_0279: ldloc.3 - IL_027a: ldtoken NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer - IL_027f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0284: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() - IL_0289: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() - IL_028e: ldtoken NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer - IL_0293: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0298: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_029d: ldc.i4.0 - IL_029e: ldc.i4.s 0x14 - IL_02a0: ldnull - IL_02a1: ldc.i4.0 - IL_02a2: newarr [mscorlib]System.Object - IL_02a7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02ac: ldc.i4.0 - IL_02ad: newarr [mscorlib]System.Object - IL_02b2: callvirt instance object class [mscorlib]System.AppDomain::CreateInstanceAndUnwrap(string, string, bool, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo, object[]) - IL_02b7: castclass NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer - IL_02bc: stloc.s 4 - IL_02be: ldloc.s 4 - IL_02c0: ldarg.0 - IL_02c1: ldloc.0 - IL_02c2: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02c7: callvirt instance void class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer::CreateLicenseFile(class NAnt.DotNet.Tasks.LicenseTask, string) - IL_02cc: ldloc.3 - IL_02cd: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) - IL_02d2: nop - IL_02d3: ret - } // end of method LicenseTask::ExecuteTask + IL_012f: nop + IL_0130: br IL_01c0 - // method line 724 - .method private hidebysig - instance default bool NeedsCompiling (class [mscorlib]System.IO.FileInfo licensesFile) cil managed - { - // Method begins at RVA 0xcf20 - // Code size 214 (0xd6) - .maxstack 7 - .locals init ( - bool V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0007: brtrue IL_0038 + IL_0135: ldc.i4.0 + IL_0136: stloc.s 11 + IL_0138: br IL_01a7 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldc.i4 2000 - IL_0013: ldstr "String_OutputFileDoesNotExist" - IL_0018: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_001d: ldc.i4.1 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 - IL_0025: ldarg.1 - IL_0026: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002b: stelem.ref - IL_002c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0031: ldc.i4.1 - IL_0032: stloc.0 - IL_0033: br IL_00d4 + IL_013d: nop + IL_013e: ldloc.s 10 + IL_0140: ldloc.s 11 + IL_0142: callvirt instance char string::get_Chars(int32) + IL_0147: stloc.s 12 + IL_0149: ldloc.s 11 + IL_014b: brtrue IL_0177 - IL_0038: ldarg.0 - IL_0039: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_003e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0043: ldarg.1 - IL_0044: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0049: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_004e: stloc.1 - IL_004f: ldloc.1 - IL_0050: brfalse IL_007c + IL_0150: ldloc.s 12 + IL_0152: call bool char::IsDigit(char) + IL_0157: brfalse IL_0177 - IL_0055: nop - IL_0056: ldarg.0 - IL_0057: ldc.i4 2000 - IL_005c: ldstr "String_FileHasBeenUpdated" - IL_0061: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0066: ldc.i4.1 - IL_0067: newarr [mscorlib]System.Object - IL_006c: dup - IL_006d: ldc.i4.0 - IL_006e: ldloc.1 - IL_006f: stelem.ref - IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0075: ldc.i4.1 - IL_0076: stloc.0 - IL_0077: br IL_00d4 + IL_015c: nop + IL_015d: ldloc.s 7 + IL_015f: ldc.i4.s 0x5f + IL_0161: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0166: pop + IL_0167: ldloc.s 7 + IL_0169: ldloc.s 12 + IL_016b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0170: pop + IL_0171: nop + IL_0172: br IL_01a0 - IL_007c: ldarg.0 - IL_007d: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_0082: brfalse IL_00cd + IL_0177: ldloc.s 12 + IL_0179: call bool char::IsLetterOrDigit(char) + IL_017e: brtrue IL_0194 - IL_0087: nop - IL_0088: ldarg.0 - IL_0089: call instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_008e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0093: ldarg.1 - IL_0094: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0099: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_009e: stloc.1 - IL_009f: ldloc.1 - IL_00a0: brfalse IL_00cc + IL_0183: nop + IL_0184: ldloc.s 7 + IL_0186: ldc.i4.s 0x5f + IL_0188: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_018d: pop + IL_018e: nop + IL_018f: br IL_01a0 - IL_00a5: nop - IL_00a6: ldarg.0 - IL_00a7: ldc.i4 2000 - IL_00ac: ldstr "String_FileHasBeenUpdated" - IL_00b1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00b6: ldc.i4.1 - IL_00b7: newarr [mscorlib]System.Object - IL_00bc: dup - IL_00bd: ldc.i4.0 - IL_00be: ldloc.1 - IL_00bf: stelem.ref - IL_00c0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00c5: ldc.i4.1 - IL_00c6: stloc.0 - IL_00c7: br IL_00d4 + IL_0194: nop + IL_0195: ldloc.s 7 + IL_0197: ldloc.s 12 + IL_0199: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_019e: pop + IL_019f: nop + IL_01a0: nop + IL_01a1: ldloc.s 11 + IL_01a3: ldc.i4.1 + IL_01a4: add + IL_01a5: stloc.s 11 + IL_01a7: ldloc.s 11 + IL_01a9: ldloc.s 10 + IL_01ab: callvirt instance int32 string::get_Length() + IL_01b0: blt IL_013d + + IL_01b5: ldloc.s 7 + IL_01b7: ldc.i4.s 0x2e + IL_01b9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_01be: pop + IL_01bf: nop + IL_01c0: ldloc.s 9 + IL_01c2: ldc.i4.1 + IL_01c3: add + IL_01c4: stloc.s 9 + IL_01c6: ldloc.s 9 + IL_01c8: ldloc.s 8 + IL_01ca: ldlen + IL_01cb: conv.i4 + IL_01cc: blt IL_011b - IL_00cc: nop - IL_00cd: ldc.i4.0 - IL_00ce: stloc.0 - IL_00cf: br IL_00d4 + IL_01d1: ldloc.s 7 + IL_01d3: ldarg.1 + IL_01d4: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_01d9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01de: pop + IL_01df: ldloc.s 7 + IL_01e1: callvirt instance string object::ToString() + IL_01e6: stloc.s 13 + IL_01e8: br IL_01ed - IL_00d4: ldloc.0 - IL_00d5: ret - } // end of method LicenseTask::NeedsCompiling + IL_01ed: ldloc.s 13 + IL_01ef: ret + } // end of method ResourceFileSet::GetManifestResourceName - .property instance class [mscorlib]System.IO.FileInfo InputFile () + .property instance string Prefix () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 69 6E 70 75 74 01 00 54 02 08 52 65 71 // ...input..T..Req - 75 69 72 65 64 01 ) // uired. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 70 72 65 66 69 78 00 00 ) // ...prefix.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::get_InputFile () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_InputFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default string NAnt.DotNet.Types.ResourceFileSet::get_Prefix () + .set instance default void NAnt.DotNet.Types.ResourceFileSet::set_Prefix (string 'value') } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () + .property instance bool DynamicPrefix () { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 00 ) // quired. + 01 00 0D 64 79 6E 61 6D 69 63 70 72 65 66 69 78 // ...dynamicprefix + 00 00 ) // .. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.DotNet.Tasks.LicenseTask::get_OutputFile () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default bool NAnt.DotNet.Types.ResourceFileSet::get_DynamicPrefix () + .set instance default void NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix (bool 'value') } - .property instance class NAnt.DotNet.Types.AssemblyFileSet Assemblies () + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ResxFiles () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. - - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.LicenseTask::get_Assemblies () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_Assemblies (class NAnt.DotNet.Types.AssemblyFileSet 'value') + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Types.ResourceFileSet::get_ResxFiles () } - .property instance string LicenseTarget () + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet NonResxFiles () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 6C 69 63 65 6E 73 65 74 61 72 67 65 74 // ...licensetarget - 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.DotNet.Types.ResourceFileSet::get_NonResxFiles () + } + } // end of class NAnt.DotNet.Types.ResourceFileSet +} - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. +.namespace NAnt.DotNet.Types +{ + .class public auto ansi abstract beforefieldinit DataTypeCollectionBase + extends [NAnt.Core]NAnt.Core.DataTypeBase + implements [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { + .field private class [mscorlib]System.Collections.ArrayList _list - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 23 55 73 65 20 74 68 65 20 22 74 61 72 67 // ..#Use the "targ - 65 74 22 20 61 74 74 72 69 62 75 74 65 20 69 6E // et" attribute in - 73 74 65 61 64 2E 00 00 00 ) // stead.... + // method line 690 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xbbd8 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_000d: stfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.DataTypeCollectionBase::_list + IL_0012: ret + } // end of method DataTypeCollectionBase::.ctor - .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_LicenseTarget () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_LicenseTarget (string 'value') - } - .property instance string Target () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re - 71 75 69 72 65 64 00 ) // quired. + // method line 691 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed + { + // Method begins at RVA 0xbbec + .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_IsSynchronized due to (null) + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_0008: ldloc.0 + IL_0009: ret + } // end of method DataTypeCollectionBase::System.Collections.ICollection.get_IsSynchronized - .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_Target () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_Target (string 'value') - } - .property instance bool SupportsAssemblyReferences () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 1A 73 75 70 70 6F 72 74 73 61 73 73 65 6D // ...supportsassem - 62 6C 79 72 65 66 65 72 65 6E 63 65 73 00 00 ) // blyreferences.. + // method line 692 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed + { + // Method begins at RVA 0xbc04 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default bool NAnt.DotNet.Tasks.LicenseTask::get_SupportsAssemblyReferences () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_SupportsAssemblyReferences (bool 'value') - } - .property instance bool HasCommandLineCompiler () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 16 68 61 73 63 6F 6D 6D 61 6E 64 6C 69 6E // ...hascommandlin - 65 63 6F 6D 70 69 6C 65 72 00 00 ) // ecompiler.. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeCollectionBase::get_Count - .get instance default bool NAnt.DotNet.Tasks.LicenseTask::get_HasCommandLineCompiler () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_HasCommandLineCompiler (bool 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.DotNet.Tasks.LicenseTask::get_BaseDirectory () - .set instance default void NAnt.DotNet.Tasks.LicenseTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection Arguments () - { - .get instance default class [NAnt.Core]NAnt.Core.Types.ArgumentCollection NAnt.DotNet.Tasks.LicenseTask::get_Arguments () - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_ProgramArguments () - } - .property instance string ProgramFileName () - { - .get instance default string NAnt.DotNet.Tasks.LicenseTask::get_ProgramFileName () - } - .class nested private auto ansi beforefieldinit LicenseGatherer - extends [mscorlib]System.MarshalByRefObject - { + // method line 693 + .method public final virtual hidebysig newslot + instance default void CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + { + // Method begins at RVA 0xbc24 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method DataTypeCollectionBase::CopyTo + + // method line 694 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.ICollection.get_SyncRoot () cil managed + { + // Method begins at RVA 0xbc34 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::get_SyncRoot due to (null) + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method DataTypeCollectionBase::System.Collections.ICollection.get_SyncRoot + + // method line 695 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + { + // Method begins at RVA 0xbc4c + .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.IEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeCollectionBase::System.Collections.IEnumerable.GetEnumerator + + // method line 696 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsFixedSize () cil managed + { + // Method begins at RVA 0xbc6c + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method DataTypeCollectionBase::get_IsFixedSize + + // method line 697 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsReadOnly () cil managed + { + // Method begins at RVA 0xbc84 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method DataTypeCollectionBase::get_IsReadOnly + + // method line 698 + .method public final virtual hidebysig newslot + instance default void RemoveAt (int32 index) cil managed + { + // Method begins at RVA 0xbc9a + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: ldarg.1 + IL_000f: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) + IL_0014: ret + } // end of method DataTypeCollectionBase::RemoveAt - // method line 725 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 699 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed { - // Method begins at RVA 0xd002 - // Code size 7 (0x7) + // Method begins at RVA 0xbcb0 + // Code size 13 (0xd) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.MarshalByRefObject::'.ctor'() - IL_0006: ret - } // end of method LicenseGatherer::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() + IL_000c: ret + } // end of method DataTypeCollectionBase::Clear - // method line 726 - .method public virtual hidebysig - instance default object InitializeLifetimeService () cil managed + // method line 700 + .method family hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed { - // Method begins at RVA 0xd00c - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0xbcc0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, - object V_1) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() - IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() - IL_0013: ldc.i4.1 - IL_0014: bne.un IL_0026 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.DataTypeCollectionBase::_list + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0019: nop - IL_001a: ldloc.0 - IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero - IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) - IL_0025: nop - IL_0026: ldloc.0 - IL_0027: stloc.1 - IL_0028: br IL_002d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeCollectionBase::get_List - IL_002d: ldloc.1 - IL_002e: ret - } // end of method LicenseGatherer::InitializeLifetimeService + // method line 701 + .method family virtual hidebysig newslot abstract specialname + instance default class [mscorlib]System.Type get_ItemType () cil managed + { + // Method begins at RVA 0x0 + } // end of method DataTypeCollectionBase::get_ItemType - // method line 727 - .method public hidebysig - instance default void CreateLicenseFile (class NAnt.DotNet.Tasks.LicenseTask licenseTask, string licensesFile) cil managed + // method line 702 + .method family hidebysig + instance default void ValidateType (object 'value') cil managed { - // Method begins at RVA 0xd048 - // Code size 1071 (0x42f) - .maxstack 7 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - class [NAnt.Core]NAnt.Core.Util.AssemblyResolver V_1, - string V_2, - class [System]System.Collections.Specialized.StringEnumerator V_3, - class [mscorlib]System.Reflection.Assembly V_4, - class [mscorlib]System.IDisposable V_5, - class [System]System.ComponentModel.Design.DesigntimeLicenseContext V_6, - class [mscorlib]System.IO.StreamReader V_7, - class [mscorlib]System.Collections.Hashtable V_8, - string V_9, - string V_10, - class [mscorlib]System.Type V_11, - class [mscorlib]System.Reflection.Assembly V_12, - class [mscorlib]System.Collections.IEnumerator V_13, - class [mscorlib]System.IDisposable V_14, - class [mscorlib]System.Exception V_15, - class [mscorlib]System.IO.FileStream V_16, - class [mscorlib]System.Exception V_17) + // Method begins at RVA 0xbcdc + // Code size 70 (0x46) + .maxstack 3 IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.1 - IL_0008: newobj instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::'.ctor'(class [NAnt.Core]NAnt.Core.Task) - IL_000d: stloc.1 - IL_000e: ldloc.1 - IL_000f: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Attach() - IL_0014: ldarg.1 - IL_0015: ldc.i4 2000 - IL_001a: ldstr "String_LoadingAssemblies" - IL_001f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - .try { // 8 - .try { // 6 - IL_0029: nop - IL_002a: nop - IL_002b: ldarg.1 - IL_002c: callvirt instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_0031: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0036: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_003b: stloc.3 - .try { // 0 - IL_003c: br IL_0089 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0041: ldloc.3 - IL_0042: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0047: stloc.2 - IL_0048: nop - IL_0049: ldloc.2 - IL_004a: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_004f: stloc.s 4 - IL_0051: ldloc.s 4 - IL_0053: ldnull - IL_0054: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_0059: brfalse IL_0088 + IL_0007: nop + IL_0008: ldstr "value" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: callvirt instance class [mscorlib]System.Type class NAnt.DotNet.Types.DataTypeCollectionBase::get_ItemType() + IL_0019: ldarg.1 + IL_001a: callvirt instance bool class [mscorlib]System.Type::IsInstanceOfType(object) + IL_001f: brtrue IL_0045 - IL_005e: nop - IL_005f: ldarg.1 - IL_0060: ldc.i4 2000 - IL_0065: ldstr "String_AssemblyLoaded" - IL_006a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_006f: ldc.i4.1 - IL_0070: newarr [mscorlib]System.Object - IL_0075: dup - IL_0076: ldc.i4.0 - IL_0077: ldloc.2 - IL_0078: stelem.ref - IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007e: ldloc.0 - IL_007f: ldloc.s 4 - IL_0081: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0086: pop - IL_0087: nop - IL_0088: nop - IL_0089: ldloc.3 - IL_008a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_008f: brtrue IL_0041 + IL_0024: nop + IL_0025: ldstr "Specified value is not an instance of " + IL_002a: ldarg.0 + IL_002b: callvirt instance class [mscorlib]System.Type class NAnt.DotNet.Types.DataTypeCollectionBase::get_ItemType() + IL_0030: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0035: ldstr "." + IL_003a: call string string::Concat(string, string, string) + IL_003f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0044: throw + IL_0045: ret + } // end of method DataTypeCollectionBase::ValidateType - IL_0094: leave IL_00af + // method line 703 + .method family hidebysig + instance default void RangeCheck (int32 index) cil managed + { + // Method begins at RVA 0xbd2e + // Code size 44 (0x2c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.0 + IL_0003: blt IL_0014 - } // end .try 0 - finally { // 0 - IL_0099: ldloc.3 - IL_009a: isinst [mscorlib]System.IDisposable - IL_009f: dup - IL_00a0: stloc.s 5 - IL_00a2: brfalse IL_00ae + IL_0008: ldarg.1 + IL_0009: ldarg.0 + IL_000a: call instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() + IL_000f: blt IL_002b - IL_00a7: ldloc.s 5 - IL_00a9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00ae: endfinally - } // end handler 0 - IL_00af: newobj instance void class [System]System.ComponentModel.Design.DesigntimeLicenseContext::'.ctor'() - IL_00b4: stloc.s 6 - IL_00b6: ldloc.s 6 - IL_00b8: call void class [System]System.ComponentModel.LicenseManager::set_CurrentContext(class [System]System.ComponentModel.LicenseContext) - IL_00bd: ldarg.1 - IL_00be: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_00c3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00c8: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) - IL_00cd: stloc.s 7 - .try { // 4 - IL_00cf: nop - IL_00d0: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_00d5: stloc.s 8 - IL_00d7: ldarg.1 - IL_00d8: ldc.i4 2000 - IL_00dd: ldstr "String_CreatingLicenses" - IL_00e2: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00e7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00ec: nop - IL_00ed: nop - IL_00ee: ldloc.s 7 - IL_00f0: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_00f5: stloc.s 9 - IL_00f7: ldloc.s 9 - IL_00f9: brtrue IL_0104 + IL_0014: nop + IL_0015: ldstr "index" + IL_001a: ldarg.1 + IL_001b: box [mscorlib]System.Int32 + IL_0020: ldstr "Index must be greater than or equal to zero, and less than the number of items in the collection." + IL_0025: newobj instance void class [mscorlib]System.ArgumentOutOfRangeException::'.ctor'(string, object, string) + IL_002a: throw + IL_002b: ret + } // end of method DataTypeCollectionBase::RangeCheck - IL_00fe: nop - IL_00ff: leave IL_0322 + .property instance bool System.Collections.ICollection.IsSynchronized () + { + .get instance default bool NAnt.DotNet.Types.DataTypeCollectionBase::System.Collections.ICollection.get_IsSynchronized () + } + .property instance object System.Collections.ICollection.SyncRoot () + { + .get instance default object NAnt.DotNet.Types.DataTypeCollectionBase::System.Collections.ICollection.get_SyncRoot () + } + .property instance int32 Count () + { + .get instance default int32 NAnt.DotNet.Types.DataTypeCollectionBase::get_Count () + } + .property instance bool IsFixedSize () + { + .get instance default bool NAnt.DotNet.Types.DataTypeCollectionBase::get_IsFixedSize () + } + .property instance bool IsReadOnly () + { + .get instance default bool NAnt.DotNet.Types.DataTypeCollectionBase::get_IsReadOnly () + } + .property instance class [mscorlib]System.Collections.ArrayList List () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.DotNet.Types.DataTypeCollectionBase::get_List () + } + .property instance class [mscorlib]System.Type ItemType () + { + .get instance default class [mscorlib]System.Type NAnt.DotNet.Types.DataTypeCollectionBase::get_ItemType () + } + } // end of class NAnt.DotNet.Types.DataTypeCollectionBase +} - IL_0104: ldloc.s 9 - IL_0106: callvirt instance string string::Trim() - IL_010b: stloc.s 9 - IL_010d: ldloc.s 9 - IL_010f: ldstr "#" - IL_0114: callvirt instance bool string::StartsWith(string) - IL_0119: brtrue IL_0138 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit NamespaceImportCollection + extends NAnt.DotNet.Types.DataTypeCollectionBase + implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( + 01 00 10 6E 61 6D 65 73 70 61 63 65 69 6D 70 6F // ...namespaceimpo + 72 74 73 00 00 ) // rts.. - IL_011e: ldloc.s 9 - IL_0120: callvirt instance int32 string::get_Length() - IL_0125: brfalse IL_0138 + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_012a: ldloc.s 8 - IL_012c: ldloc.s 9 - IL_012e: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_0133: brfalse IL_013e - IL_0138: nop - IL_0139: leave IL_00ec + // method line 704 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xda1c + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::'.ctor'() + IL_0006: ret + } // end of method NamespaceImportCollection::.ctor - IL_013e: ldarg.1 - IL_013f: ldc.i4 2000 - IL_0144: ldloc.s 9 - IL_0146: ldstr ": " - IL_014b: call string string::Concat(string, string) - IL_0150: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0155: ldloc.s 9 - IL_0157: ldc.i4.s 0x2c - IL_0159: callvirt instance int32 string::IndexOf(char) - IL_015e: ldc.i4.m1 - IL_015f: beq IL_0179 + // method line 705 + .method public hidebysig + instance default class NAnt.DotNet.Types.NamespaceImportEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0xda24 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.NamespaceImportEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.DotNet.Types.NamespaceImportEnumerator::'.ctor'(class NAnt.DotNet.Types.NamespaceImportCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0164: nop - IL_0165: ldloc.s 9 - IL_0167: ldc.i4.s 0x2c - IL_0169: ldc.i4.0 - IL_016a: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_016f: ldc.i4.0 - IL_0170: ldelem.ref - IL_0171: stloc.s 10 - IL_0173: nop - IL_0174: br IL_017f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NamespaceImportCollection::GetEnumerator - IL_0179: nop - IL_017a: ldloc.s 9 - IL_017c: stloc.s 10 - IL_017e: nop - IL_017f: ldnull - IL_0180: stloc.s 11 - IL_0182: nop - IL_0183: ldloc.0 - IL_0184: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0189: stloc.s 13 - .try { // 1 - IL_018b: br IL_01cf + // method line 706 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.NamespaceImport get_Item (int32 index) cil managed + { + // Method begins at RVA 0xda40 + // Code size 33 (0x21) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.NamespaceImport V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: ldarg.1 + IL_000f: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_0014: castclass NAnt.DotNet.Types.NamespaceImport + IL_0019: stloc.0 + IL_001a: br IL_001f - IL_0190: ldloc.s 13 - IL_0192: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0197: castclass [mscorlib]System.Reflection.Assembly - IL_019c: stloc.s 12 - IL_019e: nop - IL_019f: ldloc.s 11 - IL_01a1: ldnull - IL_01a2: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_01a7: brfalse IL_01bb + IL_001f: ldloc.0 + IL_0020: ret + } // end of method NamespaceImportCollection::get_Item - IL_01ac: nop - IL_01ad: ldloc.s 12 - IL_01af: ldloc.s 10 - IL_01b1: ldc.i4.0 - IL_01b2: ldc.i4.1 - IL_01b3: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) - IL_01b8: stloc.s 11 - IL_01ba: nop - IL_01bb: ldloc.s 11 - IL_01bd: ldnull - IL_01be: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_01c3: brfalse IL_01ce + // method line 707 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.DotNet.Types.NamespaceImport 'value') cil managed + { + // Method begins at RVA 0xda6d + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::RangeCheck(int32) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: ldarg.1 + IL_000f: ldarg.2 + IL_0010: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) + IL_0015: ret + } // end of method NamespaceImportCollection::set_Item - IL_01c8: nop - IL_01c9: leave IL_01db + // method line 708 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.NamespaceImport get_Item (string 'value') cil managed + { + // Method begins at RVA 0xda84 + // Code size 111 (0x6f) + .maxstack 2 + .locals init ( + class NAnt.DotNet.Types.NamespaceImport V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.DotNet.Types.NamespaceImport V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - IL_01ce: nop - IL_01cf: ldloc.s 13 - IL_01d1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01d6: brtrue IL_0190 + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 - IL_01db: leave IL_01f7 + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.DotNet.Types.NamespaceImport + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() + IL_002e: callvirt instance bool string::Equals(string) + IL_0033: brfalse IL_0040 - } // end .try 1 - finally { // 1 - IL_01e0: ldloc.s 13 - IL_01e2: isinst [mscorlib]System.IDisposable - IL_01e7: dup - IL_01e8: stloc.s 14 - IL_01ea: brfalse IL_01f6 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - IL_01ef: ldloc.s 14 - IL_01f1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01f6: endfinally - } // end handler 1 - IL_01f7: ldloc.s 11 - IL_01f9: ldnull - IL_01fa: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_01ff: brfalse IL_0220 + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - IL_0204: nop - .try { // 2 - IL_0205: nop - IL_0206: ldloc.s 9 - IL_0208: ldc.i4.0 - IL_0209: ldc.i4.0 - IL_020a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) - IL_020f: stloc.s 11 - IL_0211: nop - IL_0212: leave IL_021f + IL_004c: leave IL_0065 - } // end .try 2 - catch class [mscorlib]System.Object { // 2 - IL_0217: pop - IL_0218: nop - IL_0219: nop - IL_021a: leave IL_021f + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - } // end handler 2 - IL_021f: nop - IL_0220: ldloc.s 11 - IL_0222: ldnull - IL_0223: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0228: brfalse IL_0250 + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally + } // end handler 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - IL_022d: nop - IL_022e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0233: ldstr "NA2016" - IL_0238: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_023d: ldloc.s 10 - IL_023f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0244: ldarg.1 - IL_0245: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_024a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_024f: throw - IL_0250: nop - IL_0251: ldloc.s 8 - IL_0253: ldloc.s 9 - IL_0255: ldloc.s 11 - IL_0257: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_025c: nop - IL_025d: ldloc.s 11 - IL_025f: ldtoken [System]System.ComponentModel.LicenseProviderAttribute - IL_0264: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0269: ldc.i4.1 - IL_026a: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_026f: ldlen - IL_0270: conv.i4 - IL_0271: brtrue IL_029e + IL_006d: ldloc.2 + IL_006e: ret + } // end of method NamespaceImportCollection::get_Item - IL_0276: nop - IL_0277: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_027c: ldstr "NA2017" - IL_0281: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0286: ldloc.s 11 - IL_0288: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_028d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0292: ldarg.1 - IL_0293: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0298: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_029d: throw - .try { // 3 - IL_029e: nop - IL_029f: ldloc.s 11 - IL_02a1: ldloc.s 6 - IL_02a3: call object class [System]System.ComponentModel.LicenseManager::CreateWithContext(class [mscorlib]System.Type, class [System]System.ComponentModel.LicenseContext) - IL_02a8: pop - IL_02a9: nop - IL_02aa: leave IL_031c + // method line 709 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0xdb10 + // Code size 207 (0xcf) + .maxstack 3 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + class NAnt.DotNet.Types.NamespaceImport V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + string[] V_3, + string V_4, + string[] V_5, + int32 V_6, + class [mscorlib]System.IDisposable V_7, + string V_8) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stloc.0 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0013: stloc.2 + .try { // 0 + IL_0014: br IL_0099 - } // end .try 3 - catch class [mscorlib]System.Exception { // 3 - IL_02af: stloc.s 15 - IL_02b1: nop - IL_02b2: ldarg.0 - IL_02b3: ldloc.s 15 - IL_02b5: call instance bool class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer::IsSerializable(object) - IL_02ba: brfalse IL_02e9 + IL_0019: ldloc.2 + IL_001a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001f: castclass NAnt.DotNet.Types.NamespaceImport + IL_0024: stloc.1 + IL_0025: nop + IL_0026: ldloc.1 + IL_0027: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_IfDefined() + IL_002c: brfalse IL_0098 - IL_02bf: nop - IL_02c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02c5: ldstr "NA2018" - IL_02ca: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02cf: ldloc.s 11 - IL_02d1: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_02d6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_02db: ldarg.1 - IL_02dc: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_02e1: ldloc.s 15 - IL_02e3: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_02e8: throw - IL_02e9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02ee: ldstr "NA2018" - IL_02f3: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_02f8: ldloc.s 11 - IL_02fa: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_02ff: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0304: ldarg.1 - IL_0305: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_030a: ldloc.s 15 - IL_030c: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_0311: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0316: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_031b: throw - } // end handler 3 - IL_031c: nop - IL_031d: br IL_00ec + IL_0031: ldloc.1 + IL_0032: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined() + IL_0037: brtrue IL_0098 - IL_0322: nop - IL_0323: leave IL_0337 + IL_003c: nop + IL_003d: ldloc.1 + IL_003e: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() + IL_0043: ldc.i4.s 0x2c + IL_0045: ldc.i4.0 + IL_0046: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_004b: stloc.3 + IL_004c: nop + IL_004d: ldloc.3 + IL_004e: stloc.s 5 + IL_0050: ldc.i4.0 + IL_0051: stloc.s 6 + IL_0053: br IL_008c - } // end .try 4 - finally { // 4 - IL_0328: ldloc.s 7 - IL_032a: brfalse IL_0336 + IL_0058: ldloc.s 5 + IL_005a: ldloc.s 6 + IL_005c: ldelem.ref + IL_005d: stloc.s 4 + IL_005f: nop + IL_0060: ldloc.0 + IL_0061: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0066: ldc.i4.0 + IL_0067: ble IL_0077 - IL_032f: ldloc.s 7 - IL_0331: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0336: endfinally - } // end handler 4 - IL_0337: ldarg.2 - IL_0338: call bool class [mscorlib]System.IO.File::Exists(string) - IL_033d: brfalse IL_0355 + IL_006c: nop + IL_006d: ldloc.0 + IL_006e: ldc.i4.s 0x2c + IL_0070: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0075: pop + IL_0076: nop + IL_0077: ldloc.0 + IL_0078: ldstr "\"{0}\"" + IL_007d: ldloc.s 4 + IL_007f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0084: pop + IL_0085: nop + IL_0086: ldloc.s 6 + IL_0088: ldc.i4.1 + IL_0089: add + IL_008a: stloc.s 6 + IL_008c: ldloc.s 6 + IL_008e: ldloc.s 5 + IL_0090: ldlen + IL_0091: conv.i4 + IL_0092: blt IL_0058 - IL_0342: nop - IL_0343: ldarg.2 - IL_0344: ldc.i4 128 - IL_0349: call void class [mscorlib]System.IO.File::SetAttributes(string, valuetype [mscorlib]System.IO.FileAttributes) - IL_034e: ldarg.2 - IL_034f: call void class [mscorlib]System.IO.File::Delete(string) - IL_0354: nop - IL_0355: ldarg.2 - IL_0356: ldc.i4.2 - IL_0357: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) - IL_035c: stloc.s 16 - .try { // 5 - IL_035e: nop - IL_035f: ldloc.s 16 - IL_0361: ldarg.1 - IL_0362: callvirt instance string class NAnt.DotNet.Tasks.LicenseTask::get_Target() - IL_0367: ldloc.s 6 - IL_0369: call void class [System]System.ComponentModel.Design.DesigntimeLicenseContextSerializer::Serialize(class [mscorlib]System.IO.Stream, string, class [System]System.ComponentModel.Design.DesigntimeLicenseContext) - IL_036e: ldarg.1 - IL_036f: ldc.i4 2000 - IL_0374: ldstr "String_CreatedNewLicense" - IL_0379: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_037e: ldc.i4.1 - IL_037f: newarr [mscorlib]System.Object - IL_0384: dup - IL_0385: ldc.i4.0 - IL_0386: ldarg.2 - IL_0387: stelem.ref - IL_0388: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_038d: nop - IL_038e: leave IL_03a2 + IL_0097: nop + IL_0098: nop + IL_0099: ldloc.2 + IL_009a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_009f: brtrue IL_0019 - } // end .try 5 - finally { // 5 - IL_0393: ldloc.s 16 - IL_0395: brfalse IL_03a1 + IL_00a4: leave IL_00bf - IL_039a: ldloc.s 16 - IL_039c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_03a1: endfinally - } // end handler 5 - IL_03a2: ldnull - IL_03a3: stloc.s 6 - IL_03a5: nop - IL_03a6: leave IL_042e + } // end .try 0 + finally { // 0 + IL_00a9: ldloc.2 + IL_00aa: isinst [mscorlib]System.IDisposable + IL_00af: dup + IL_00b0: stloc.s 7 + IL_00b2: brfalse IL_00be - } // end .try 6 - catch class [NAnt.Core]NAnt.Core.BuildException { // 6 - IL_03ab: pop - IL_03ac: nop - IL_03ad: rethrow - } // end handler 6 - catch class [mscorlib]System.Exception { // 7 - IL_03af: stloc.s 17 - IL_03b1: nop - IL_03b2: ldarg.0 - IL_03b3: ldloc.s 17 - IL_03b5: call instance bool class NAnt.DotNet.Tasks.LicenseTask/LicenseGatherer::IsSerializable(object) - IL_03ba: brfalse IL_03ed + IL_00b7: ldloc.s 7 + IL_00b9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00be: endfinally + } // end handler 0 + IL_00bf: ldloc.0 + IL_00c0: callvirt instance string object::ToString() + IL_00c5: stloc.s 8 + IL_00c7: br IL_00cc - IL_03bf: nop - IL_03c0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03c5: ldstr "NA2019" - IL_03ca: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03cf: ldarg.1 - IL_03d0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_03d5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_03da: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_03df: ldarg.1 - IL_03e0: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_03e5: ldloc.s 17 - IL_03e7: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_03ec: throw - IL_03ed: nop - IL_03ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03f3: ldstr "NA2019" - IL_03f8: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03fd: ldarg.1 - IL_03fe: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.DotNet.Tasks.LicenseTask::get_InputFile() - IL_0403: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0408: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_040d: ldarg.1 - IL_040e: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0413: ldloc.s 17 - IL_0415: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_041a: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_041f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0424: throw - } // end handler 7 - } // end .try 8 - finally { // 8 - IL_0425: nop - IL_0426: ldloc.1 - IL_0427: callvirt instance void class [NAnt.Core]NAnt.Core.Util.AssemblyResolver::Detach() - IL_042c: nop - IL_042d: endfinally - } // end handler 8 - IL_042e: ret - } // end of method LicenseGatherer::CreateLicenseFile + IL_00cc: ldloc.s 8 + IL_00ce: ret + } // end of method NamespaceImportCollection::ToString - // method line 728 - .method private hidebysig - instance default bool IsSerializable (object 'value') cil managed + // method line 710 + .method family virtual hidebysig specialname + instance default class [mscorlib]System.Type get_ItemType () cil managed { - // Method begins at RVA 0xd560 - // Code size 49 (0x31) - .maxstack 3 + // Method begins at RVA 0xdbfc + // Code size 19 (0x13) + .maxstack 1 .locals init ( - class [mscorlib]System.Runtime.Serialization.Formatters.Binary.BinaryFormatter V_0, - class [mscorlib]System.IO.MemoryStream V_1, - bool V_2) + class [mscorlib]System.Type V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Runtime.Serialization.Formatters.Binary.BinaryFormatter::'.ctor'() - IL_0006: stloc.0 - IL_0007: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_000c: stloc.1 - .try { // 1 - .try { // 0 - IL_000d: nop - IL_000e: ldloc.0 - IL_000f: ldloc.1 - IL_0010: ldarg.1 - IL_0011: callvirt instance void class [mscorlib]System.Runtime.Serialization.Formatters.Binary.BinaryFormatter::Serialize(class [mscorlib]System.IO.Stream, object) - IL_0016: ldc.i4.1 - IL_0017: stloc.2 - IL_0018: leave IL_002f - - } // end .try 0 - catch class [mscorlib]System.Runtime.Serialization.SerializationException { // 0 - IL_001d: pop - IL_001e: nop - IL_001f: ldc.i4.0 - IL_0020: stloc.2 - IL_0021: leave IL_002f - - } // end handler 0 - } // end .try 1 - finally { // 1 - IL_0026: nop - IL_0027: ldloc.1 - IL_0028: callvirt instance void class [mscorlib]System.IO.Stream::Close() - IL_002d: nop - IL_002e: endfinally - } // end handler 1 - IL_002f: ldloc.2 - IL_0030: ret - } // end of method LicenseGatherer::IsSerializable + IL_0001: ldtoken NAnt.DotNet.Types.NamespaceImport + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: stloc.0 + IL_000c: br IL_0011 - } // end of class LicenseGatherer + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NamespaceImportCollection::get_ItemType - } // end of class NAnt.DotNet.Tasks.LicenseTask -} + // method line 711 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IList.get_Item (int32 index) cil managed + { + // Method begins at RVA 0xdc1c + .override Could not decode method override class [mscorlib]System.Collections.IList::get_Item due to (null) + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportCollection::get_Item(int32) + IL_0008: stloc.0 + IL_0009: br IL_000e -.namespace NAnt.DotNet.Tasks -{ - .class public auto ansi beforefieldinit ScriptTask - extends [NAnt.Core]NAnt.Core.Task - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 73 63 72 69 70 74 00 00 ) // ...script.. + IL_000e: ldloc.0 + IL_000f: ret + } // end of method NamespaceImportCollection::System.Collections.IList.get_Item - .field private string _language - .field private class NAnt.DotNet.Types.AssemblyFileSet _references - .field private string _mainClass - .field private string _rootClassName - .field private string _prefix - .field private class NAnt.DotNet.Types.NamespaceImportCollection _imports - .field private class [NAnt.Core]NAnt.Core.Types.RawXml _code - .field private static initonly string[] _defaultNamespaces - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map0' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 712 + .method private final virtual hidebysig newslot specialname + instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + { + // Method begins at RVA 0xdc38 + .override Could not decode method override class [mscorlib]System.Collections.IList::set_Item due to (null) + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: castclass NAnt.DotNet.Types.NamespaceImport + IL_0010: call instance void class NAnt.DotNet.Types.NamespaceImportCollection::set_Item(int32, class NAnt.DotNet.Types.NamespaceImport) + IL_0015: ret + } // end of method NamespaceImportCollection::System.Collections.IList.set_Item + // method line 713 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed + { + // Method begins at RVA 0xdc4f + .override Could not decode method override class [mscorlib]System.Collections.IList::Insert due to (null) + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: castclass NAnt.DotNet.Types.NamespaceImport + IL_0010: call instance void class NAnt.DotNet.Types.NamespaceImportCollection::Insert(int32, class NAnt.DotNet.Types.NamespaceImport) + IL_0015: ret + } // end of method NamespaceImportCollection::System.Collections.IList.Insert - // method line 729 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 714 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Remove (object 'value') cil managed { - // Method begins at RVA 0xd5bc - // Code size 58 (0x3a) + // Method begins at RVA 0xdc66 + .override Could not decode method override class [mscorlib]System.Collections.IList::Remove due to (null) + // Code size 21 (0x15) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldnull - IL_0002: stfld string NAnt.DotNet.Tasks.ScriptTask::_language - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_000d: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::_references - IL_0012: ldarg.0 - IL_0013: ldstr "" - IL_0018: stfld string NAnt.DotNet.Tasks.ScriptTask::_mainClass - IL_001d: ldarg.0 - IL_001e: ldstr "script" - IL_0023: stfld string NAnt.DotNet.Tasks.ScriptTask::_prefix - IL_0028: ldarg.0 - IL_0029: newobj instance void class NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() - IL_002e: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::_imports - IL_0033: ldarg.0 - IL_0034: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0039: ret - } // end of method ScriptTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: castclass NAnt.DotNet.Types.NamespaceImport + IL_000f: call instance void class NAnt.DotNet.Types.NamespaceImportCollection::Remove(class NAnt.DotNet.Types.NamespaceImport) + IL_0014: ret + } // end of method NamespaceImportCollection::System.Collections.IList.Remove - // method line 730 - .method public hidebysig specialname - instance default string get_Language () cil managed + // method line 715 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IList.Contains (object 'value') cil managed { - // Method begins at RVA 0xd5f8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xdc7c + .override Could not decode method override class [mscorlib]System.Collections.IList::Contains due to (null) + // Code size 33 (0x21) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.ScriptTask::_language - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_000e: ldarg.1 + IL_000f: castclass NAnt.DotNet.Types.NamespaceImport + IL_0014: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_0019: stloc.0 + IL_001a: br IL_001f + + IL_001f: ldloc.0 + IL_0020: ret + } // end of method NamespaceImportCollection::System.Collections.IList.Contains + + // method line 716 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed + { + // Method begins at RVA 0xdcac + .override Could not decode method override class [mscorlib]System.Collections.IList::IndexOf due to (null) + // Code size 28 (0x1c) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: castclass NAnt.DotNet.Types.NamespaceImport + IL_000f: call instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::IndexOf(class NAnt.DotNet.Types.NamespaceImport) + IL_0014: stloc.0 + IL_0015: br IL_001a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ScriptTask::get_Language + IL_001a: ldloc.0 + IL_001b: ret + } // end of method NamespaceImportCollection::System.Collections.IList.IndexOf - // method line 731 - .method public hidebysig specialname - instance default void set_Language (string 'value') cil managed + // method line 717 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.Add (object 'value') cil managed { - // Method begins at RVA 0xd613 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0xdcd4 + .override Could not decode method override class [mscorlib]System.Collections.IList::Add due to (null) + // Code size 28 (0x1c) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.ScriptTask::_language - IL_000d: ret - } // end of method ScriptTask::set_Language + IL_0003: call instance void class NAnt.DotNet.Types.DataTypeCollectionBase::ValidateType(object) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: castclass NAnt.DotNet.Types.NamespaceImport + IL_000f: call instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::Add(class NAnt.DotNet.Types.NamespaceImport) + IL_0014: stloc.0 + IL_0015: br IL_001a - // method line 732 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed + IL_001a: ldloc.0 + IL_001b: ret + } // end of method NamespaceImportCollection::System.Collections.IList.Add + + // method line 718 + .method public hidebysig + instance default void AddRange (class NAnt.DotNet.Types.NamespaceImportCollection items) cil managed { - // Method begins at RVA 0xd624 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xdcfc + // Code size 41 (0x29) + .maxstack 3 .locals init ( - class NAnt.DotNet.Types.AssemblyFileSet V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::_references - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ScriptTask::get_References + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.DotNet.Types.NamespaceImportCollection::Add(class NAnt.DotNet.Types.NamespaceImport) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() + IL_0023: blt IL_0008 - // method line 733 - .method public hidebysig specialname - instance default void set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + IL_0028: ret + } // end of method NamespaceImportCollection::AddRange + + // method line 719 + .method public hidebysig + instance default int32 Add (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed { - // Method begins at RVA 0xd63f - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 69 6D 70 6F 72 74 00 00 ) // ...import.. + + // Method begins at RVA 0xdd34 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::_references - IL_0008: ret - } // end of method ScriptTask::set_References + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 734 - .method public hidebysig specialname - instance default string get_MainClass () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method NamespaceImportCollection::Add + + // method line 720 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.DotNet.Types.NamespaceImport 'value') cil managed { - // Method begins at RVA 0xd64c + // Method begins at RVA 0xdd55 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.ScriptTask::_mainClass - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) IL_000e: ret - } // end of method ScriptTask::get_MainClass + } // end of method NamespaceImportCollection::Insert - // method line 735 - .method public hidebysig specialname - instance default void set_MainClass (string 'value') cil managed + // method line 721 + .method public hidebysig + instance default void Remove (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed { - // Method begins at RVA 0xd667 + // Method begins at RVA 0xdd65 // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.ScriptTask::_mainClass + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) IL_000d: ret - } // end of method ScriptTask::set_MainClass + } // end of method NamespaceImportCollection::Remove - // method line 736 - .method public hidebysig specialname - instance default string get_Prefix () cil managed + // method line 722 + .method public hidebysig + instance default bool Contains (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed { - // Method begins at RVA 0xd678 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xdd74 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.DotNet.Tasks.ScriptTask::_prefix - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ScriptTask::get_Prefix + IL_0013: ldloc.0 + IL_0014: ret + } // end of method NamespaceImportCollection::Contains - // method line 737 + // method line 723 + .method public hidebysig + instance default int32 IndexOf (class NAnt.DotNet.Types.NamespaceImport 'value') cil managed + { + // Method begins at RVA 0xdd98 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.DotNet.Types.DataTypeCollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method NamespaceImportCollection::IndexOf + + .property instance object System.Collections.IList.Item (int32) + { + .get instance default object NAnt.DotNet.Types.NamespaceImportCollection::System.Collections.IList.get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.NamespaceImportCollection::System.Collections.IList.set_Item (int32 index, object 'value') + } + .property instance class NAnt.DotNet.Types.NamespaceImport Item (int32) + { + .get instance default class NAnt.DotNet.Types.NamespaceImport NAnt.DotNet.Types.NamespaceImportCollection::get_Item (int32 index) + .set instance default void NAnt.DotNet.Types.NamespaceImportCollection::set_Item (int32 index, class NAnt.DotNet.Types.NamespaceImport 'value') + } + .property instance class NAnt.DotNet.Types.NamespaceImport Item (string) + { + .get instance default class NAnt.DotNet.Types.NamespaceImport NAnt.DotNet.Types.NamespaceImportCollection::get_Item (string 'value') + } + .property instance class [mscorlib]System.Type ItemType () + { + .get instance default class [mscorlib]System.Type NAnt.DotNet.Types.NamespaceImportCollection::get_ItemType () + } + } // end of class NAnt.DotNet.Types.NamespaceImportCollection +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit NamespaceImportEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 724 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.DotNet.Types.NamespaceImportCollection arguments) cil managed + { + // Method begins at RVA 0xddbc + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator + IL_0015: ret + } // end of method NamespaceImportEnumerator::.ctor + + // method line 725 .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed + instance default class NAnt.DotNet.Types.NamespaceImport get_Current () cil managed { - // Method begins at RVA 0xd693 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0xdde0 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.NamespaceImport V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.DotNet.Tasks.ScriptTask::_prefix - IL_000d: ret - } // end of method ScriptTask::set_Prefix + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.DotNet.Types.NamespaceImport + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 738 - .method public hidebysig specialname - instance default class NAnt.DotNet.Types.NamespaceImportCollection get_Imports () cil managed + IL_0017: ldloc.0 + IL_0018: ret + } // end of method NamespaceImportEnumerator::get_Current + + // method line 726 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0xd6a4 - // Code size 15 (0xf) + // Method begins at RVA 0xde08 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.DotNet.Types.NamespaceImportCollection V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::_imports - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ScriptTask::get_Imports + IL_0012: ldloc.0 + IL_0013: ret + } // end of method NamespaceImportEnumerator::System.Collections.IEnumerator.get_Current - // method line 739 - .method public hidebysig specialname - instance default void set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') cil managed + // method line 727 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0xd6bf - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xde28 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::_imports - IL_0008: ret - } // end of method ScriptTask::set_Imports + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 740 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.RawXml get_Code () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method NamespaceImportEnumerator::MoveNext + + // method line 728 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0xd6cc - // Code size 15 (0xf) + // Method begins at RVA 0xde48 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.RawXml V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.ScriptTask::_code - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ScriptTask::get_Code + IL_0012: ldloc.0 + IL_0013: ret + } // end of method NamespaceImportEnumerator::System.Collections.IEnumerator.MoveNext - // method line 741 - .method public hidebysig specialname - instance default void set_Code (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') cil managed + // method line 729 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0xd6e7 - // Code size 9 (0x9) + // Method begins at RVA 0xde68 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.ScriptTask::_code - IL_0008: ret - } // end of method ScriptTask::set_Code + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method NamespaceImportEnumerator::Reset - // method line 742 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 730 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0xd6f4 - // Code size 41 (0x29) - .maxstack 5 - .locals init ( - valuetype [mscorlib]System.Guid V_0) + // Method begins at RVA 0xde76 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "nant" - IL_0007: call valuetype [mscorlib]System.Guid valuetype [mscorlib]System.Guid::NewGuid() - IL_000c: stloc.0 - IL_000d: ldloca.s 0 - IL_000f: ldstr "N" - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: call instance string valuetype [mscorlib]System.Guid::ToString(string, class [mscorlib]System.IFormatProvider) - IL_001e: call string string::Concat(string, string) - IL_0023: stfld string NAnt.DotNet.Tasks.ScriptTask::_rootClassName - IL_0028: ret - } // end of method ScriptTask::Initialize + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.DotNet.Types.NamespaceImportEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method NamespaceImportEnumerator::System.Collections.IEnumerator.Reset - // method line 743 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.DotNet.Types.NamespaceImportEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.DotNet.Types.NamespaceImport Current () + { + .get instance default class NAnt.DotNet.Types.NamespaceImport NAnt.DotNet.Types.NamespaceImportEnumerator::get_Current () + } + } // end of class NAnt.DotNet.Types.NamespaceImportEnumerator +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi serializable beforefieldinit Module + extends [NAnt.Core]NAnt.Core.Element + { + .field private string _file + .field private string _target + .field private class NAnt.DotNet.Types.ModuleSet _moduleSet + + // method line 731 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd72c - // Code size 1226 (0x4ca) - .maxstack 7 + // Method begins at RVA 0xde84 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method Module::.ctor + + // method line 732 + .method public hidebysig specialname + instance default string get_File () cil managed + { + // Method begins at RVA 0xde8c + // Code size 71 (0x47) + .maxstack 2 .locals init ( - class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo V_0, - class [System]System.CodeDom.Compiler.ICodeCompiler V_1, - class [System]System.CodeDom.Compiler.CompilerParameters V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.Reflection.Assembly V_5, - class [mscorlib]System.Exception V_6, - class [mscorlib]System.IDisposable V_7, - class [System]System.Collections.Specialized.StringCollection V_8, - class NAnt.DotNet.Types.NamespaceImport V_9, - class NAnt.DotNet.Types.NamespaceImportEnumerator V_10, - class [mscorlib]System.IDisposable V_11, - class [System]System.CodeDom.CodeCompileUnit V_12, - class [mscorlib]System.IO.StringWriter V_13, - string V_14, - class [System]System.CodeDom.Compiler.CompilerResults V_15, - class [mscorlib]System.Reflection.Assembly V_16, - string V_17, - class [System]System.CodeDom.Compiler.CompilerError V_18, - class [mscorlib]System.Collections.IEnumerator V_19, - class [mscorlib]System.IDisposable V_20, - bool V_21, - string V_22, - class [mscorlib]System.Type V_23, - class [mscorlib]System.Reflection.MethodInfo V_24, - class [mscorlib]System.Reflection.ParameterInfo[] V_25, - class [mscorlib]System.Exception V_26) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_Language() - IL_0008: call instance class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo class NAnt.DotNet.Tasks.ScriptTask::CreateCompilerInfo(string) - IL_000d: stloc.0 - IL_000e: ldarg.0 - IL_000f: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ScriptTask::get_References() - IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0019: brtrue IL_003b - - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ScriptTask::get_References() - IL_0025: ldarg.0 - IL_0026: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_002b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0030: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0035: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_003a: nop - IL_003b: ldloc.0 - IL_003c: ldfld class [System]System.CodeDom.Compiler.ICodeCompiler NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::Compiler - IL_0041: stloc.1 - IL_0042: newobj instance void class [System]System.CodeDom.Compiler.CompilerParameters::'.ctor'() - IL_0047: stloc.2 - IL_0048: ldloc.2 - IL_0049: ldc.i4.0 - IL_004a: callvirt instance void class [System]System.CodeDom.Compiler.CompilerParameters::set_GenerateExecutable(bool) - IL_004f: ldloc.2 - IL_0050: ldc.i4.1 - IL_0051: callvirt instance void class [System]System.CodeDom.Compiler.CompilerParameters::set_GenerateInMemory(bool) - IL_0056: ldloc.2 - IL_0057: ldarg.0 - IL_0058: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_MainClass() - IL_005d: callvirt instance void class [System]System.CodeDom.Compiler.CompilerParameters::set_MainClass(string) - IL_0062: ldloc.2 - IL_0063: callvirt instance class [System]System.Collections.Specialized.StringCollection class [System]System.CodeDom.Compiler.CompilerParameters::get_ReferencedAssemblies() - IL_0068: ldtoken [NAnt.Core]NAnt.Core.Project - IL_006d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0072: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() - IL_0077: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_007c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0081: pop - IL_0082: ldarg.0 - IL_0083: ldc.i4 2000 - IL_0088: ldstr "Adding assembly {0}" - IL_008d: ldc.i4.1 - IL_008e: newarr [mscorlib]System.Object - IL_0093: dup - IL_0094: ldc.i4.0 - IL_0095: ldtoken [NAnt.Core]NAnt.Core.Project - IL_009a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_009f: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Type::get_Assembly() - IL_00a4: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_00a9: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_00ae: stelem.ref - IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00b4: nop - IL_00b5: ldarg.0 - IL_00b6: call instance class NAnt.DotNet.Types.AssemblyFileSet class NAnt.DotNet.Tasks.ScriptTask::get_References() - IL_00bb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00c0: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00c5: stloc.s 4 - .try { // 1 - IL_00c7: br IL_0156 + IL_0002: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() + IL_0007: brfalse IL_0039 - IL_00cc: ldloc.s 4 - IL_00ce: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00d3: stloc.3 - IL_00d4: nop - .try { // 0 - IL_00d5: nop - IL_00d6: ldloc.3 - IL_00d7: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_00dc: stloc.s 5 - IL_00de: ldarg.0 - IL_00df: ldc.i4 2000 - IL_00e4: ldstr "Adding assembly {0}" - IL_00e9: ldc.i4.1 - IL_00ea: newarr [mscorlib]System.Object - IL_00ef: dup - IL_00f0: ldc.i4.0 - IL_00f1: ldloc.s 5 - IL_00f3: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_00f8: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_00fd: stelem.ref - IL_00fe: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0103: ldloc.s 5 - IL_0105: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_010a: call bool string::IsNullOrEmpty(string) - IL_010f: brtrue IL_0129 + IL_000c: ldarg.0 + IL_000d: ldfld string NAnt.DotNet.Types.Module::_file + IL_0012: brfalse IL_0039 - IL_0114: nop - IL_0115: ldloc.2 - IL_0116: callvirt instance class [System]System.Collections.Specialized.StringCollection class [System]System.CodeDom.Compiler.CompilerParameters::get_ReferencedAssemblies() - IL_011b: ldloc.s 5 - IL_011d: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_0122: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0127: pop - IL_0128: nop - IL_0129: nop - IL_012a: leave IL_0155 + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: call instance class NAnt.DotNet.Types.ModuleSet class NAnt.DotNet.Types.Module::get_ModuleSet() + IL_001e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.DotNet.Types.ModuleSet::get_Dir() + IL_0023: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0028: ldarg.0 + IL_0029: ldfld string NAnt.DotNet.Types.Module::_file + IL_002e: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0033: stloc.0 + IL_0034: br IL_0045 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_012f: stloc.s 6 - IL_0131: nop - IL_0132: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0137: ldstr "NA2028" - IL_013c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0141: ldloc.3 - IL_0142: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0147: ldarg.0 - IL_0148: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_014d: ldloc.s 6 - IL_014f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0154: throw - } // end handler 0 - IL_0155: nop - IL_0156: ldloc.s 4 - IL_0158: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_015d: brtrue IL_00cc + IL_0039: ldarg.0 + IL_003a: ldfld string NAnt.DotNet.Types.Module::_file + IL_003f: stloc.0 + IL_0040: br IL_0045 - IL_0162: leave IL_017e + IL_0045: ldloc.0 + IL_0046: ret + } // end of method Module::get_File - } // end .try 1 - finally { // 1 - IL_0167: ldloc.s 4 - IL_0169: isinst [mscorlib]System.IDisposable - IL_016e: dup - IL_016f: stloc.s 7 - IL_0171: brfalse IL_017d + // method line 733 + .method public hidebysig specialname + instance default void set_File (string 'value') cil managed + { + // Method begins at RVA 0xdedf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.DotNet.Types.Module::_file + IL_0008: ret + } // end of method Module::set_File - IL_0176: ldloc.s 7 - IL_0178: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_017d: endfinally - } // end handler 1 - IL_017e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0183: stloc.s 8 - IL_0185: nop - IL_0186: ldarg.0 - IL_0187: call instance class NAnt.DotNet.Types.NamespaceImportCollection class NAnt.DotNet.Tasks.ScriptTask::get_Imports() - IL_018c: callvirt instance class NAnt.DotNet.Types.NamespaceImportEnumerator class NAnt.DotNet.Types.NamespaceImportCollection::GetEnumerator() - IL_0191: stloc.s 10 - .try { // 2 - IL_0193: br IL_01cc + // method line 734 + .method public hidebysig specialname + instance default string get_Target () cil managed + { + // Method begins at RVA 0xdeec + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Types.Module::_target + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0198: ldloc.s 10 - IL_019a: callvirt instance class NAnt.DotNet.Types.NamespaceImport class NAnt.DotNet.Types.NamespaceImportEnumerator::get_Current() - IL_019f: stloc.s 9 - IL_01a1: nop - IL_01a2: ldloc.s 9 - IL_01a4: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_IfDefined() - IL_01a9: brfalse IL_01cb + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Module::get_Target - IL_01ae: ldloc.s 9 - IL_01b0: callvirt instance bool class NAnt.DotNet.Types.NamespaceImport::get_UnlessDefined() - IL_01b5: brtrue IL_01cb + // method line 735 + .method public hidebysig specialname + instance default void set_Target (string 'value') cil managed + { + // Method begins at RVA 0xdf07 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.DotNet.Types.Module::_target + IL_000d: ret + } // end of method Module::set_Target - IL_01ba: nop - IL_01bb: ldloc.s 8 - IL_01bd: ldloc.s 9 - IL_01bf: callvirt instance string class NAnt.DotNet.Types.NamespaceImport::get_Namespace() - IL_01c4: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_01c9: pop - IL_01ca: nop - IL_01cb: nop - IL_01cc: ldloc.s 10 - IL_01ce: callvirt instance bool class NAnt.DotNet.Types.NamespaceImportEnumerator::MoveNext() - IL_01d3: brtrue IL_0198 + // method line 736 + .method public hidebysig specialname + instance default class NAnt.DotNet.Types.ModuleSet get_ModuleSet () cil managed + { + // Method begins at RVA 0xdf18 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.DotNet.Types.ModuleSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.Module::_moduleSet + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01d8: leave IL_01f4 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Module::get_ModuleSet - } // end .try 2 - finally { // 2 - IL_01dd: ldloc.s 10 - IL_01df: isinst [mscorlib]System.IDisposable - IL_01e4: dup - IL_01e5: stloc.s 11 - IL_01e7: brfalse IL_01f3 + // method line 737 + .method public hidebysig specialname + instance default void set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') cil managed + { + // Method begins at RVA 0xdf33 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.Module::_moduleSet + IL_0008: ret + } // end of method Module::set_ModuleSet - IL_01ec: ldloc.s 11 - IL_01ee: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01f3: endfinally - } // end handler 2 - IL_01f4: ldloc.0 - IL_01f5: ldarg.0 - IL_01f6: ldfld string NAnt.DotNet.Tasks.ScriptTask::_rootClassName - IL_01fb: ldarg.0 - IL_01fc: call instance class [NAnt.Core]NAnt.Core.Types.RawXml class NAnt.DotNet.Tasks.ScriptTask::get_Code() - IL_0201: callvirt instance class [System.Xml]System.Xml.XmlNode class [NAnt.Core]NAnt.Core.Types.RawXml::get_Xml() - IL_0206: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_020b: ldloc.s 8 - IL_020d: ldarg.0 - IL_020e: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_Prefix() - IL_0213: callvirt instance class [System]System.CodeDom.CodeCompileUnit class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::GenerateCode(string, string, class [System]System.Collections.Specialized.StringCollection, string) - IL_0218: stloc.s 12 - IL_021a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_021f: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'(class [mscorlib]System.IFormatProvider) - IL_0224: stloc.s 13 - IL_0226: ldloc.0 - IL_0227: ldfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::CodeGen - IL_022c: ldloc.s 12 - IL_022e: ldloc.s 13 - IL_0230: ldnull - IL_0231: callvirt instance void class [System]System.CodeDom.Compiler.ICodeGenerator::GenerateCodeFromCompileUnit(class [System]System.CodeDom.CodeCompileUnit, class [mscorlib]System.IO.TextWriter, class [System]System.CodeDom.Compiler.CodeGeneratorOptions) - IL_0236: ldloc.s 13 - IL_0238: callvirt instance string object::ToString() - IL_023d: stloc.s 14 - IL_023f: ldarg.0 - IL_0240: ldc.i4 1000 - IL_0245: ldstr "String_GeneratedCodeLooksLike" - IL_024a: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_024f: ldstr "\n{0}" - IL_0254: call string string::Concat(string, string) - IL_0259: ldc.i4.1 - IL_025a: newarr [mscorlib]System.Object - IL_025f: dup - IL_0260: ldc.i4.0 - IL_0261: ldloc.s 14 - IL_0263: stelem.ref - IL_0264: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0269: ldloc.1 - IL_026a: ldloc.2 - IL_026b: ldloc.s 12 - IL_026d: callvirt instance class [System]System.CodeDom.Compiler.CompilerResults class [System]System.CodeDom.Compiler.ICodeCompiler::CompileAssemblyFromDom(class [System]System.CodeDom.Compiler.CompilerParameters, class [System]System.CodeDom.CodeCompileUnit) - IL_0272: stloc.s 15 - IL_0274: ldnull - IL_0275: stloc.s 16 - IL_0277: ldloc.s 15 - IL_0279: callvirt instance class [System]System.CodeDom.Compiler.CompilerErrorCollection class [System]System.CodeDom.Compiler.CompilerResults::get_Errors() - IL_027e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0283: ldc.i4.0 - IL_0284: ble IL_031a + // method line 738 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0xdf40 + // Code size 91 (0x5b) + .maxstack 2 + .locals init ( + string V_0, + class [mscorlib]System.Text.StringBuilder V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.DotNet.Types.Module::get_File() + IL_0007: brtrue IL_0014 - IL_0289: nop - IL_028a: ldstr "NA2029" - IL_028f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0294: call string class [mscorlib]System.Environment::get_NewLine() - IL_0299: call string string::Concat(string, string) - IL_029e: stloc.s 17 - IL_02a0: nop - IL_02a1: ldloc.s 15 - IL_02a3: callvirt instance class [System]System.CodeDom.Compiler.CompilerErrorCollection class [System]System.CodeDom.Compiler.CompilerResults::get_Errors() - IL_02a8: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.CollectionBase::GetEnumerator() - IL_02ad: stloc.s 19 - .try { // 3 - IL_02af: br IL_02d9 + IL_000c: nop + IL_000d: ldnull + IL_000e: stloc.0 + IL_000f: br IL_0059 - IL_02b4: ldloc.s 19 - IL_02b6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_02bb: castclass [System]System.CodeDom.Compiler.CompilerError - IL_02c0: stloc.s 18 - IL_02c2: nop - IL_02c3: ldloc.s 17 - IL_02c5: ldloc.s 18 - IL_02c7: callvirt instance string object::ToString() - IL_02cc: call string class [mscorlib]System.Environment::get_NewLine() - IL_02d1: call string string::Concat(string, string, string) - IL_02d6: stloc.s 17 - IL_02d8: nop - IL_02d9: ldloc.s 19 - IL_02db: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02e0: brtrue IL_02b4 + IL_0014: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: ldarg.0 + IL_001c: call instance string class NAnt.DotNet.Types.Module::get_File() + IL_0021: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0026: pop + IL_0027: ldarg.0 + IL_0028: call instance string class NAnt.DotNet.Types.Module::get_Target() + IL_002d: brfalse IL_004d - IL_02e5: leave IL_0301 + IL_0032: nop + IL_0033: ldloc.1 + IL_0034: ldstr "," + IL_0039: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_003e: pop + IL_003f: ldloc.1 + IL_0040: ldarg.0 + IL_0041: call instance string class NAnt.DotNet.Types.Module::get_Target() + IL_0046: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_004b: pop + IL_004c: nop + IL_004d: ldloc.1 + IL_004e: callvirt instance string object::ToString() + IL_0053: stloc.0 + IL_0054: br IL_0059 - } // end .try 3 - finally { // 3 - IL_02ea: ldloc.s 19 - IL_02ec: isinst [mscorlib]System.IDisposable - IL_02f1: dup - IL_02f2: stloc.s 20 - IL_02f4: brfalse IL_0300 + IL_0059: ldloc.0 + IL_005a: ret + } // end of method Module::ToString - IL_02f9: ldloc.s 20 - IL_02fb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0300: endfinally - } // end handler 3 - IL_0301: ldloc.s 17 - IL_0303: ldloc.s 14 - IL_0305: call string string::Concat(string, string) - IL_030a: stloc.s 17 - IL_030c: ldloc.s 17 - IL_030e: ldarg.0 - IL_030f: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0314: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0319: throw - IL_031a: nop - IL_031b: ldloc.s 15 - IL_031d: callvirt instance class [mscorlib]System.Reflection.Assembly class [System]System.CodeDom.Compiler.CompilerResults::get_CompiledAssembly() - IL_0322: stloc.s 16 - IL_0324: nop - IL_0325: ldloc.s 16 - IL_0327: ldarg.0 - IL_0328: call bool class [NAnt.Core]NAnt.Core.TypeFactory::ScanAssembly(class [mscorlib]System.Reflection.Assembly, class [NAnt.Core]NAnt.Core.Task) - IL_032d: stloc.s 21 - IL_032f: ldarg.0 - IL_0330: ldfld string NAnt.DotNet.Tasks.ScriptTask::_rootClassName - IL_0335: stloc.s 22 - IL_0337: ldarg.0 - IL_0338: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_MainClass() - IL_033d: call bool string::IsNullOrEmpty(string) - IL_0342: brtrue IL_035d + .property instance string File () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 66 69 6C 65 01 00 54 02 08 52 65 71 75 // ...file..T..Requ + 69 72 65 64 01 ) // ired. - IL_0347: nop - IL_0348: ldloc.s 22 - IL_034a: ldstr "+" - IL_034f: ldarg.0 - IL_0350: call instance string class NAnt.DotNet.Tasks.ScriptTask::get_MainClass() - IL_0355: call string string::Concat(string, string, string) - IL_035a: stloc.s 22 - IL_035c: nop - IL_035d: ldloc.s 16 - IL_035f: ldloc.s 22 - IL_0361: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string) - IL_0366: stloc.s 23 - IL_0368: ldloc.s 23 - IL_036a: ldnull - IL_036b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0370: brfalse IL_0398 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_0375: nop - IL_0376: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_037b: ldstr "NA2030" - IL_0380: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0385: ldloc.s 22 - IL_0387: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_038c: ldarg.0 - IL_038d: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0392: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0397: throw - IL_0398: ldloc.s 23 - IL_039a: ldstr "ScriptMain" - IL_039f: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_03a4: stloc.s 24 - IL_03a6: ldloc.s 24 - IL_03a8: ldnull - IL_03a9: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) - IL_03ae: brfalse IL_03d8 + .get instance default string NAnt.DotNet.Types.Module::get_File () + .set instance default void NAnt.DotNet.Types.Module::set_File (string 'value') + } + .property instance string Target () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 74 61 72 67 65 74 01 00 54 02 08 52 65 // ...target..T..Re + 71 75 69 72 65 64 00 ) // quired. - IL_03b3: nop - IL_03b4: ldloc.s 21 - IL_03b6: brtrue IL_03d2 + .get instance default string NAnt.DotNet.Types.Module::get_Target () + .set instance default void NAnt.DotNet.Types.Module::set_Target (string 'value') + } + .property instance class NAnt.DotNet.Types.ModuleSet ModuleSet () + { + .get instance default class NAnt.DotNet.Types.ModuleSet NAnt.DotNet.Types.Module::get_ModuleSet () + .set instance default void NAnt.DotNet.Types.Module::set_ModuleSet (class NAnt.DotNet.Types.ModuleSet 'value') + } + } // end of class NAnt.DotNet.Types.Module +} - IL_03bb: nop - IL_03bc: ldstr "NA2031" - IL_03c1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03c6: ldarg.0 - IL_03c7: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_03cc: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_03d1: throw - IL_03d2: nop - IL_03d3: br IL_04c9 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit EmbeddedResource + extends [mscorlib]System.Object + { + .field private initonly string _file + .field private initonly string _manifestResourceName - IL_03d8: ldloc.s 24 - IL_03da: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsStatic() - IL_03df: brtrue IL_03fb + // method line 739 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string file, string manifestResourceName) cil managed + { + // Method begins at RVA 0xdfa7 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld string NAnt.DotNet.Types.EmbeddedResource::_file + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld string NAnt.DotNet.Types.EmbeddedResource::_manifestResourceName + IL_0015: ret + } // end of method EmbeddedResource::.ctor + + // method line 740 + .method public hidebysig specialname + instance default string get_File () cil managed + { + // Method begins at RVA 0xdfc0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Types.EmbeddedResource::_file + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EmbeddedResource::get_File + + // method line 741 + .method public hidebysig specialname + instance default string get_ManifestResourceName () cil managed + { + // Method begins at RVA 0xdfdc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Types.EmbeddedResource::_manifestResourceName + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EmbeddedResource::get_ManifestResourceName + + .property instance string File () + { + .get instance default string NAnt.DotNet.Types.EmbeddedResource::get_File () + } + .property instance string ManifestResourceName () + { + .get instance default string NAnt.DotNet.Types.EmbeddedResource::get_ManifestResourceName () + } + } // end of class NAnt.DotNet.Types.EmbeddedResource +} + +.namespace NAnt.DotNet.Types +{ + .class public auto ansi sealed DelaySign + extends [mscorlib]System.Enum + { + .custom instance void class [System]System.ComponentModel.TypeConverterAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 24 4E 41 6E 74 2E 44 6F 74 4E 65 74 2E 54 // ..$NAnt.DotNet.T + 79 70 65 73 2E 44 65 6C 61 79 53 69 67 6E 43 6F // ypes.DelaySignCo + 6E 76 65 72 74 65 72 00 00 ) // nverter.. - IL_03e4: nop - IL_03e5: ldstr "NA2032" - IL_03ea: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_03ef: ldarg.0 - IL_03f0: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_03f5: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_03fa: throw - IL_03fb: ldloc.s 24 - IL_03fd: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() - IL_0402: stloc.s 25 - IL_0404: ldloc.s 25 - IL_0406: ldlen - IL_0407: conv.i4 - IL_0408: ldc.i4.1 - IL_0409: beq IL_0425 + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.DotNet.Types.DelaySign NotSet = int32(0x00000000) + .field public static literal valuetype NAnt.DotNet.Types.DelaySign No = int32(0x00000001) + .field public static literal valuetype NAnt.DotNet.Types.DelaySign Yes = int32(0x00000002) - IL_040e: nop - IL_040f: ldstr "NA2033" - IL_0414: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0419: ldarg.0 - IL_041a: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_041f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0424: throw - IL_0425: ldloc.s 25 - IL_0427: ldc.i4.0 - IL_0428: ldelem.ref - IL_0429: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_042e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0433: ldtoken [NAnt.Core]NAnt.Core.Project - IL_0438: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_043d: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0442: call bool string::op_Inequality(string, string) - IL_0447: brfalse IL_048a + } // end of class NAnt.DotNet.Types.DelaySign +} - IL_044c: nop - IL_044d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0452: ldstr "NA2034" - IL_0457: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_045c: ldloc.s 25 - IL_045e: ldc.i4.0 - IL_045f: ldelem.ref - IL_0460: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() - IL_0465: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_046a: ldtoken [NAnt.Core]NAnt.Core.Project - IL_046f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0474: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0479: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_047e: ldarg.0 - IL_047f: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0484: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0489: throw - .try { // 4 - IL_048a: nop - IL_048b: ldloc.s 24 - IL_048d: ldnull - IL_048e: ldc.i4.1 - IL_048f: newarr [mscorlib]System.Object - IL_0494: dup - IL_0495: ldc.i4.0 - IL_0496: ldarg.0 - IL_0497: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_049c: stelem.ref - IL_049d: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_04a2: pop - IL_04a3: nop - IL_04a4: leave IL_04c9 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit DelaySignConverter + extends [System]System.ComponentModel.EnumConverter + { - } // end .try 4 - catch class [mscorlib]System.Exception { // 4 - IL_04a9: stloc.s 26 - IL_04ab: nop - IL_04ac: ldstr "NA2035" - IL_04b1: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_04b6: ldarg.0 - IL_04b7: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_04bc: ldloc.s 26 - IL_04be: callvirt instance class [mscorlib]System.Exception class [mscorlib]System.Exception::get_InnerException() - IL_04c3: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_04c8: throw - } // end handler 4 - IL_04c9: ret - } // end of method ScriptTask::ExecuteTask + // method line 742 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xdff7 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldtoken NAnt.DotNet.Types.DelaySign + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: call instance void class [System]System.ComponentModel.EnumConverter::'.ctor'(class [mscorlib]System.Type) + IL_0010: nop + IL_0011: ret + } // end of method DelaySignConverter::.ctor - // method line 744 - .method private hidebysig - instance default class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo CreateCompilerInfo (string language) cil managed + // method line 743 + .method public virtual hidebysig + instance default object ConvertFrom (class [System]System.ComponentModel.ITypeDescriptorContext context, class [mscorlib]System.Globalization.CultureInfo culture, object 'value') cil managed { - // Method begins at RVA 0xdc44 - // Code size 375 (0x177) - .maxstack 3 + // Method begins at RVA 0xe00c + // Code size 115 (0x73) + .maxstack 4 .locals init ( - class [System]System.CodeDom.Compiler.CodeDomProvider V_0, - class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, - int32 V_2, - class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo V_3, - class [mscorlib]System.Exception V_4) + string V_0, + object V_1) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.1 - IL_0005: brfalse IL_0137 + IL_0001: ldarg.3 + IL_0002: isinst [mscorlib]System.String + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_0062 - IL_000a: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.DotNet.Tasks.ScriptTask::'<>f__switch$map0' - IL_000f: brtrue IL_00b2 + IL_000e: nop + IL_000f: ldloc.0 + IL_0010: ldstr "true" + IL_0015: ldc.i4.1 + IL_0016: ldarg.2 + IL_0017: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_001c: brtrue IL_002d - IL_0014: ldc.i4.s 0x0c - IL_0016: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) - IL_001b: stloc.1 - IL_001c: ldloc.1 - IL_001d: ldstr "vb" - IL_0022: ldc.i4.0 - IL_0023: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0028: ldloc.1 - IL_0029: ldstr "VB" - IL_002e: ldc.i4.0 - IL_002f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0034: ldloc.1 - IL_0035: ldstr "VISUALBASIC" - IL_003a: ldc.i4.0 - IL_003b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0040: ldloc.1 - IL_0041: ldstr "c#" - IL_0046: ldc.i4.1 - IL_0047: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_004c: ldloc.1 - IL_004d: ldstr "C#" - IL_0052: ldc.i4.1 - IL_0053: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0058: ldloc.1 - IL_0059: ldstr "CSHARP" - IL_005e: ldc.i4.1 - IL_005f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0064: ldloc.1 - IL_0065: ldstr "js" - IL_006a: ldc.i4.2 - IL_006b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0070: ldloc.1 - IL_0071: ldstr "JS" - IL_0076: ldc.i4.2 - IL_0077: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_007c: ldloc.1 - IL_007d: ldstr "JSCRIPT" - IL_0082: ldc.i4.2 - IL_0083: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0088: ldloc.1 - IL_0089: ldstr "vjs" - IL_008e: ldc.i4.3 - IL_008f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0094: ldloc.1 - IL_0095: ldstr "VJS" - IL_009a: ldc.i4.3 - IL_009b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_00a0: ldloc.1 - IL_00a1: ldstr "JSHARP" - IL_00a6: ldc.i4.3 - IL_00a7: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_00ac: ldloc.1 - IL_00ad: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.DotNet.Tasks.ScriptTask::'<>f__switch$map0' - IL_00b2: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.DotNet.Tasks.ScriptTask::'<>f__switch$map0' - IL_00b7: ldarg.1 - IL_00b8: ldloca.s 2 - IL_00ba: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_00bf: brfalse IL_0137 + IL_0021: ldc.i4.2 + IL_0022: box NAnt.DotNet.Types.DelaySign + IL_0027: stloc.1 + IL_0028: br IL_0071 - IL_00c4: ldloc.2 - IL_00c5: switch ( - IL_00e3, - IL_00f8, - IL_010d, - IL_0122, - IL_0137) - IL_00de: br IL_0137 + IL_002d: ldloc.0 + IL_002e: ldstr "false" + IL_0033: ldc.i4.1 + IL_0034: ldarg.2 + IL_0035: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_003a: brtrue IL_004b - IL_00e3: ldstr "Microsoft.VisualBasic.VBCodeProvider" - IL_00e8: ldstr "System, Culture=neutral" - IL_00ed: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) - IL_00f2: stloc.0 - IL_00f3: leave IL_0143 + IL_003f: ldc.i4.1 + IL_0040: box NAnt.DotNet.Types.DelaySign + IL_0045: stloc.1 + IL_0046: br IL_0071 - IL_00f8: ldstr "Microsoft.CSharp.CSharpCodeProvider" - IL_00fd: ldstr "System, Culture=neutral" - IL_0102: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) - IL_0107: stloc.0 - IL_0108: leave IL_0143 + IL_004b: ldtoken NAnt.DotNet.Types.DelaySign + IL_0050: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0055: ldloc.0 + IL_0056: ldc.i4.1 + IL_0057: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_005c: stloc.1 + IL_005d: br IL_0071 - IL_010d: ldstr "Microsoft.JScript.JScriptCodeProvider" - IL_0112: ldstr "Microsoft.JScript, Culture=neutral" - IL_0117: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) - IL_011c: stloc.0 - IL_011d: leave IL_0143 + IL_0062: ldarg.0 + IL_0063: ldarg.1 + IL_0064: ldarg.2 + IL_0065: ldarg.3 + IL_0066: call instance object class [System]System.ComponentModel.EnumConverter::ConvertFrom(class [System]System.ComponentModel.ITypeDescriptorContext, class [mscorlib]System.Globalization.CultureInfo, object) + IL_006b: stloc.1 + IL_006c: br IL_0071 - IL_0122: ldstr "Microsoft.VJSharp.VJSharpCodeProvider" - IL_0127: ldstr "VJSharpCodeProvider, Culture=neutral" - IL_012c: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string, string) - IL_0131: stloc.0 - IL_0132: leave IL_0143 + IL_0071: ldloc.1 + IL_0072: ret + } // end of method DelaySignConverter::ConvertFrom - IL_0137: ldarg.1 - IL_0138: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(string) - IL_013d: stloc.0 - IL_013e: leave IL_0143 + } // end of class NAnt.DotNet.Types.DelaySignConverter +} - IL_0143: ldloc.0 - IL_0144: newobj instance void class NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::'.ctor'(class [System]System.CodeDom.Compiler.CodeDomProvider) - IL_0149: stloc.3 - IL_014a: leave IL_0175 +.namespace NAnt.DotNet.Types +{ + .class public auto ansi beforefieldinit CompilerWarning + extends [NAnt.Core]NAnt.Core.Element + { + .field private string _number + .field private bool _ifDefined + .field private bool _unlessDefined - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_014f: stloc.s 4 - IL_0151: nop - IL_0152: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0157: ldstr "NA2036" - IL_015c: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0161: ldarg.1 - IL_0162: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0167: ldarg.0 - IL_0168: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_016d: ldloc.s 4 - IL_016f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0174: throw - } // end handler 0 - IL_0175: ldloc.3 - IL_0176: ret - } // end of method ScriptTask::CreateCompilerInfo + // method line 744 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xe08b + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.DotNet.Types.CompilerWarning::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method CompilerWarning::.ctor // method line 745 - .method private static hidebysig - default class [System]System.CodeDom.Compiler.CodeDomProvider CreateCodeDomProvider (string typeName, string assemblyName) cil managed + .method public hidebysig specialname + instance default string get_Number () cil managed { - // Method begins at RVA 0xdde4 - // Code size 72 (0x48) - .maxstack 4 + // Method begins at RVA 0xe09c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - class [mscorlib]System.Type V_1, - class [System]System.CodeDom.Compiler.CodeDomProvider V_2) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadWithPartialName(string) + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.DotNet.Types.CompilerWarning::_number IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldnull - IL_000a: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_000f: brfalse IL_0030 - - IL_0014: nop - IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001a: ldstr "NA2037" - IL_001f: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0024: ldarg.1 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: ldarg.0 - IL_0032: ldc.i4.1 - IL_0033: ldc.i4.1 - IL_0034: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool, bool) - IL_0039: stloc.1 - IL_003a: ldloc.1 - IL_003b: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(class [mscorlib]System.Type) - IL_0040: stloc.2 - IL_0041: br IL_0046 + IL_0008: br IL_000d - IL_0046: ldloc.2 - IL_0047: ret - } // end of method ScriptTask::CreateCodeDomProvider + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerWarning::get_Number // method line 746 - .method private static hidebysig - default class [System]System.CodeDom.Compiler.CodeDomProvider CreateCodeDomProvider (string assemblyQualifiedTypeName) cil managed + .method public hidebysig specialname + instance default void set_Number (string 'value') cil managed { - // Method begins at RVA 0xde38 - // Code size 24 (0x18) - .maxstack 3 - .locals init ( - class [mscorlib]System.Type V_0, - class [System]System.CodeDom.Compiler.CodeDomProvider V_1) + // Method begins at RVA 0xe0b7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: ldc.i4.1 - IL_0004: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool, bool) - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: call class [System]System.CodeDom.Compiler.CodeDomProvider class NAnt.DotNet.Tasks.ScriptTask::CreateCodeDomProvider(class [mscorlib]System.Type) - IL_0010: stloc.1 - IL_0011: br IL_0016 - - IL_0016: ldloc.1 - IL_0017: ret - } // end of method ScriptTask::CreateCodeDomProvider + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.DotNet.Types.CompilerWarning::_number + IL_0008: ret + } // end of method CompilerWarning::set_Number // method line 747 - .method private static hidebysig - default class [System]System.CodeDom.Compiler.CodeDomProvider CreateCodeDomProvider (class [mscorlib]System.Type providerType) cil managed + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0xde5c - // Code size 66 (0x42) - .maxstack 3 + // Method begins at RVA 0xe0c4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - object V_0, - class [System]System.CodeDom.Compiler.CodeDomProvider V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) + IL_0002: ldfld bool NAnt.DotNet.Types.CompilerWarning::_ifDefined IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: isinst [System]System.CodeDom.Compiler.CodeDomProvider - IL_000e: brtrue IL_0034 - - IL_0013: nop - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: ldstr "NA2038" - IL_001e: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0023: ldarg.0 - IL_0024: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0029: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002e: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0033: throw - IL_0034: ldloc.0 - IL_0035: castclass [System]System.CodeDom.Compiler.CodeDomProvider - IL_003a: stloc.1 - IL_003b: br IL_0040 - - IL_0040: ldloc.1 - IL_0041: ret - } // end of method ScriptTask::CreateCodeDomProvider - - // method line 748 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0xdeaa - // Code size 60 (0x3c) - .maxstack 8 - IL_0000: ldc.i4.6 - IL_0001: newarr [mscorlib]System.String - IL_0006: dup - IL_0007: ldc.i4.0 - IL_0008: ldstr "System" - IL_000d: stelem.ref - IL_000e: dup - IL_000f: ldc.i4.1 - IL_0010: ldstr "System.Collections" - IL_0015: stelem.ref - IL_0016: dup - IL_0017: ldc.i4.2 - IL_0018: ldstr "System.IO" - IL_001d: stelem.ref - IL_001e: dup - IL_001f: ldc.i4.3 - IL_0020: ldstr "System.Text" - IL_0025: stelem.ref - IL_0026: dup - IL_0027: ldc.i4.4 - IL_0028: ldstr "NAnt.Core" - IL_002d: stelem.ref - IL_002e: dup - IL_002f: ldc.i4.5 - IL_0030: ldstr "NAnt.Core.Attributes" - IL_0035: stelem.ref - IL_0036: stsfld string[] NAnt.DotNet.Tasks.ScriptTask::_defaultNamespaces - IL_003b: ret - } // end of method ScriptTask::.cctor - - .property instance string Language () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 6C 61 6E 67 75 61 67 65 01 00 54 02 08 // ...language..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .get instance default string NAnt.DotNet.Tasks.ScriptTask::get_Language () - .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Language (string 'value') - } - .property instance class NAnt.DotNet.Types.AssemblyFileSet References () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - - .get instance default class NAnt.DotNet.Types.AssemblyFileSet NAnt.DotNet.Tasks.ScriptTask::get_References () - .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_References (class NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance string MainClass () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6D 61 69 6E 63 6C 61 73 73 01 00 54 02 // ...mainclass..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. - - .get instance default string NAnt.DotNet.Tasks.ScriptTask::get_MainClass () - .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_MainClass (string 'value') - } - .property instance string Prefix () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re - 71 75 69 72 65 64 00 ) // quired. - - .get instance default string NAnt.DotNet.Tasks.ScriptTask::get_Prefix () - .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Prefix (string 'value') - } - .property instance class NAnt.DotNet.Types.NamespaceImportCollection Imports () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 69 6D 70 6F 72 74 73 00 00 ) // ...imports.. - - .get instance default class NAnt.DotNet.Types.NamespaceImportCollection NAnt.DotNet.Tasks.ScriptTask::get_Imports () - .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Imports (class NAnt.DotNet.Types.NamespaceImportCollection 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.RawXml Code () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 04 63 6F 64 65 01 00 54 02 08 52 65 71 75 // ...code..T..Requ - 69 72 65 64 01 ) // ired. + IL_0008: br IL_000d - .get instance default class [NAnt.Core]NAnt.Core.Types.RawXml NAnt.DotNet.Tasks.ScriptTask::get_Code () - .set instance default void NAnt.DotNet.Tasks.ScriptTask::set_Code (class [NAnt.Core]NAnt.Core.Types.RawXml 'value') - } - .class nested assembly auto ansi beforefieldinit CompilerInfo - extends [mscorlib]System.Object - { - .field public initonly class [System]System.CodeDom.Compiler.ICodeCompiler Compiler - .field public initonly class [System]System.CodeDom.Compiler.ICodeGenerator CodeGen + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerWarning::get_IfDefined - // method line 749 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System]System.CodeDom.Compiler.CodeDomProvider provider) cil managed + // method line 748 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0xdee7 - // Code size 32 (0x20) + // Method begins at RVA 0xe0df + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [System]System.CodeDom.Compiler.ICodeCompiler class [System]System.CodeDom.Compiler.CodeDomProvider::CreateCompiler() - IL_000e: stfld class [System]System.CodeDom.Compiler.ICodeCompiler NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::Compiler - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance class [System]System.CodeDom.Compiler.ICodeGenerator class [System]System.CodeDom.Compiler.CodeDomProvider::CreateGenerator() - IL_001a: stfld class [System]System.CodeDom.Compiler.ICodeGenerator NAnt.DotNet.Tasks.ScriptTask/CompilerInfo::CodeGen - IL_001f: ret - } // end of method CompilerInfo::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.CompilerWarning::_ifDefined + IL_0008: ret + } // end of method CompilerWarning::set_IfDefined - // method line 750 - .method public hidebysig - instance default class [System]System.CodeDom.CodeCompileUnit GenerateCode (string typeName, string codeBody, class [System]System.Collections.Specialized.StringCollection imports, string prefix) cil managed + // method line 749 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0xdf08 - // Code size 492 (0x1ec) - .maxstack 4 + // Method begins at RVA 0xe0ec + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System]System.CodeDom.CodeCompileUnit V_0, - class [System]System.CodeDom.CodeTypeDeclaration V_1, - class [System]System.CodeDom.CodeConstructor V_2, - class [System]System.CodeDom.CodeAttributeDeclaration V_3, - class [System]System.CodeDom.CodeSnippetTypeMember V_4, - class [System]System.CodeDom.CodeNamespace V_5, - string V_6, - string[] V_7, - int32 V_8, - string V_9, - class [System]System.Collections.Specialized.StringEnumerator V_10, - class [mscorlib]System.IDisposable V_11, - class [System]System.CodeDom.CodeCompileUnit V_12) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class [System]System.CodeDom.CodeCompileUnit::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.1 - IL_0008: newobj instance void class [System]System.CodeDom.CodeTypeDeclaration::'.ctor'(string) - IL_000d: stloc.1 - IL_000e: ldloc.1 - IL_000f: ldc.i4.1 - IL_0010: callvirt instance void class [System]System.CodeDom.CodeTypeDeclaration::set_IsClass(bool) - IL_0015: ldloc.1 - IL_0016: ldc.i4.1 - IL_0017: callvirt instance void class [System]System.CodeDom.CodeTypeDeclaration::set_TypeAttributes(valuetype [mscorlib]System.Reflection.TypeAttributes) - IL_001c: newobj instance void class [System]System.CodeDom.CodeConstructor::'.ctor'() - IL_0021: stloc.2 - IL_0022: ldloc.2 - IL_0023: ldc.i4 24576 - IL_0028: callvirt instance void class [System]System.CodeDom.CodeTypeMember::set_Attributes(valuetype [System]System.CodeDom.MemberAttributes) - IL_002d: ldloc.2 - IL_002e: callvirt instance class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection class [System]System.CodeDom.CodeMemberMethod::get_Parameters() - IL_0033: ldstr "NAnt.Core.Project" - IL_0038: ldstr "project" - IL_003d: newobj instance void class [System]System.CodeDom.CodeParameterDeclarationExpression::'.ctor'(string, string) - IL_0042: callvirt instance int32 class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection::Add(class [System]System.CodeDom.CodeParameterDeclarationExpression) - IL_0047: pop - IL_0048: ldloc.2 - IL_0049: callvirt instance class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection class [System]System.CodeDom.CodeMemberMethod::get_Parameters() - IL_004e: ldstr "NAnt.Core.PropertyDictionary" - IL_0053: ldstr "propDict" - IL_0058: newobj instance void class [System]System.CodeDom.CodeParameterDeclarationExpression::'.ctor'(string, string) - IL_005d: callvirt instance int32 class [System]System.CodeDom.CodeParameterDeclarationExpressionCollection::Add(class [System]System.CodeDom.CodeParameterDeclarationExpression) - IL_0062: pop - IL_0063: ldloc.2 - IL_0064: callvirt instance class [System]System.CodeDom.CodeExpressionCollection class [System]System.CodeDom.CodeConstructor::get_BaseConstructorArgs() - IL_0069: ldstr "project" - IL_006e: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) - IL_0073: callvirt instance int32 class [System]System.CodeDom.CodeExpressionCollection::Add(class [System]System.CodeDom.CodeExpression) - IL_0078: pop - IL_0079: ldloc.2 - IL_007a: callvirt instance class [System]System.CodeDom.CodeExpressionCollection class [System]System.CodeDom.CodeConstructor::get_BaseConstructorArgs() - IL_007f: ldstr "propDict" - IL_0084: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) - IL_0089: callvirt instance int32 class [System]System.CodeDom.CodeExpressionCollection::Add(class [System]System.CodeDom.CodeExpression) - IL_008e: pop - IL_008f: ldloc.1 - IL_0090: callvirt instance class [System]System.CodeDom.CodeTypeMemberCollection class [System]System.CodeDom.CodeTypeDeclaration::get_Members() - IL_0095: ldloc.2 - IL_0096: callvirt instance int32 class [System]System.CodeDom.CodeTypeMemberCollection::Add(class [System]System.CodeDom.CodeTypeMember) - IL_009b: pop - IL_009c: ldloc.1 - IL_009d: callvirt instance class [System]System.CodeDom.CodeTypeReferenceCollection class [System]System.CodeDom.CodeTypeDeclaration::get_BaseTypes() - IL_00a2: ldtoken [NAnt.Core]NAnt.Core.FunctionSetBase - IL_00a7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00ac: callvirt instance void class [System]System.CodeDom.CodeTypeReferenceCollection::Add(class [mscorlib]System.Type) - IL_00b1: ldstr "FunctionSet" - IL_00b6: newobj instance void class [System]System.CodeDom.CodeAttributeDeclaration::'.ctor'(string) - IL_00bb: stloc.3 - IL_00bc: ldloc.3 - IL_00bd: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() - IL_00c2: ldstr "\"" - IL_00c7: ldarg.s 4 - IL_00c9: ldstr "\"" - IL_00ce: call string string::Concat(string, string, string) - IL_00d3: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) - IL_00d8: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) - IL_00dd: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) - IL_00e2: pop - IL_00e3: ldloc.3 - IL_00e4: callvirt instance class [System]System.CodeDom.CodeAttributeArgumentCollection class [System]System.CodeDom.CodeAttributeDeclaration::get_Arguments() - IL_00e9: ldstr "\"" - IL_00ee: ldarg.s 4 - IL_00f0: ldstr "\"" - IL_00f5: call string string::Concat(string, string, string) - IL_00fa: newobj instance void class [System]System.CodeDom.CodeVariableReferenceExpression::'.ctor'(string) - IL_00ff: newobj instance void class [System]System.CodeDom.CodeAttributeArgument::'.ctor'(class [System]System.CodeDom.CodeExpression) - IL_0104: callvirt instance int32 class [System]System.CodeDom.CodeAttributeArgumentCollection::Add(class [System]System.CodeDom.CodeAttributeArgument) - IL_0109: pop - IL_010a: ldloc.1 - IL_010b: callvirt instance class [System]System.CodeDom.CodeAttributeDeclarationCollection class [System]System.CodeDom.CodeTypeMember::get_CustomAttributes() - IL_0110: ldloc.3 - IL_0111: callvirt instance int32 class [System]System.CodeDom.CodeAttributeDeclarationCollection::Add(class [System]System.CodeDom.CodeAttributeDeclaration) - IL_0116: pop - IL_0117: ldarg.2 - IL_0118: newobj instance void class [System]System.CodeDom.CodeSnippetTypeMember::'.ctor'(string) - IL_011d: stloc.s 4 - IL_011f: ldloc.1 - IL_0120: callvirt instance class [System]System.CodeDom.CodeTypeMemberCollection class [System]System.CodeDom.CodeTypeDeclaration::get_Members() - IL_0125: ldloc.s 4 - IL_0127: callvirt instance int32 class [System]System.CodeDom.CodeTypeMemberCollection::Add(class [System]System.CodeDom.CodeTypeMember) - IL_012c: pop - IL_012d: newobj instance void class [System]System.CodeDom.CodeNamespace::'.ctor'() - IL_0132: stloc.s 5 - IL_0134: nop - IL_0135: ldsfld string[] NAnt.DotNet.Tasks.ScriptTask::_defaultNamespaces - IL_013a: stloc.s 7 - IL_013c: ldc.i4.0 - IL_013d: stloc.s 8 - IL_013f: br IL_0166 - - IL_0144: ldloc.s 7 - IL_0146: ldloc.s 8 - IL_0148: ldelem.ref - IL_0149: stloc.s 6 - IL_014b: nop - IL_014c: ldloc.s 5 - IL_014e: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() - IL_0153: ldloc.s 6 - IL_0155: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) - IL_015a: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) - IL_015f: nop - IL_0160: ldloc.s 8 - IL_0162: ldc.i4.1 - IL_0163: add - IL_0164: stloc.s 8 - IL_0166: ldloc.s 8 - IL_0168: ldloc.s 7 - IL_016a: ldlen - IL_016b: conv.i4 - IL_016c: blt IL_0144 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.DotNet.Types.CompilerWarning::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0171: nop - IL_0172: ldarg.3 - IL_0173: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0178: stloc.s 10 - .try { // 0 - IL_017a: br IL_019d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CompilerWarning::get_UnlessDefined - IL_017f: ldloc.s 10 - IL_0181: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0186: stloc.s 9 - IL_0188: nop - IL_0189: ldloc.s 5 - IL_018b: callvirt instance class [System]System.CodeDom.CodeNamespaceImportCollection class [System]System.CodeDom.CodeNamespace::get_Imports() - IL_0190: ldloc.s 9 - IL_0192: newobj instance void class [System]System.CodeDom.CodeNamespaceImport::'.ctor'(string) - IL_0197: callvirt instance void class [System]System.CodeDom.CodeNamespaceImportCollection::Add(class [System]System.CodeDom.CodeNamespaceImport) - IL_019c: nop - IL_019d: ldloc.s 10 - IL_019f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_01a4: brtrue IL_017f + // method line 750 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0xe107 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.DotNet.Types.CompilerWarning::_unlessDefined + IL_0008: ret + } // end of method CompilerWarning::set_UnlessDefined - IL_01a9: leave IL_01c5 + .property instance string Number () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6E 75 6D 62 65 72 01 00 54 02 08 52 65 // ...number..T..Re + 71 75 69 72 65 64 01 ) // quired. - } // end .try 0 - finally { // 0 - IL_01ae: ldloc.s 10 - IL_01b0: isinst [mscorlib]System.IDisposable - IL_01b5: dup - IL_01b6: stloc.s 11 - IL_01b8: brfalse IL_01c4 + .get instance default string NAnt.DotNet.Types.CompilerWarning::get_Number () + .set instance default void NAnt.DotNet.Types.CompilerWarning::set_Number (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_01bd: ldloc.s 11 - IL_01bf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01c4: endfinally - } // end handler 0 - IL_01c5: ldloc.0 - IL_01c6: callvirt instance class [System]System.CodeDom.CodeNamespaceCollection class [System]System.CodeDom.CodeCompileUnit::get_Namespaces() - IL_01cb: ldloc.s 5 - IL_01cd: callvirt instance int32 class [System]System.CodeDom.CodeNamespaceCollection::Add(class [System]System.CodeDom.CodeNamespace) - IL_01d2: pop - IL_01d3: ldloc.s 5 - IL_01d5: callvirt instance class [System]System.CodeDom.CodeTypeDeclarationCollection class [System]System.CodeDom.CodeNamespace::get_Types() - IL_01da: ldloc.1 - IL_01db: callvirt instance int32 class [System]System.CodeDom.CodeTypeDeclarationCollection::Add(class [System]System.CodeDom.CodeTypeDeclaration) - IL_01e0: pop - IL_01e1: ldloc.0 - IL_01e2: stloc.s 12 - IL_01e4: br IL_01e9 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01e9: ldloc.s 12 - IL_01eb: ret - } // end of method CompilerInfo::GenerateCode + .get instance default bool NAnt.DotNet.Types.CompilerWarning::get_IfDefined () + .set instance default void NAnt.DotNet.Types.CompilerWarning::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - } // end of class CompilerInfo + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end of class NAnt.DotNet.Tasks.ScriptTask + .get instance default bool NAnt.DotNet.Types.CompilerWarning::get_UnlessDefined () + .set instance default void NAnt.DotNet.Types.CompilerWarning::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.DotNet.Types.CompilerWarning } /usr/share/NAnt/bin/NAnt.DotNetTasks.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.DotNetTasks.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.DotNetTasks.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,2167 +4,2705 @@ NAnt.DotNetTasks - - - Contains a collection of items. - - - Do not yet expose this to build authors. - - - + - Returns an enumerator that can iterate through the collection. + Provides the abstract base class for compiler tasks. - - A for the entire collection. - - + - Gets or sets the item at the specified index. + Contains a list of extensions for all file types that should be treated as + 'code-behind' when looking for resources. Ultimately this will determine + if we use the "namespace+filename" or "namespace+classname" algorithm, since + code-behind will use the "namespace+classname" algorithm. - The zero-based index of the item to get or set. - + - Gets the with the specified manifest - resource name. + Case-insensitive list of valid culture names for this platform. - The manifest resource name of the to get. + + The key of the is the culture name and + the value is . + - + - Gets the of the items in this collection. + Class constructor for . - - The of the items in this collection. - - + - Gets or sets the item at the specified index. + Generate debug output. The default is . - The zero-based index of the item to get or set. + + Only used for <jsc> tasks, but retained for backward + compatibility (Clover.NET). + - + - Inserts a into the collection at the - specified index. + The output file created by the compiler. - The zero-based index at which should be inserted. - The to insert. - + - Removes the specified from the - collection. + Output type. Possible values are exe, winexe, + library or module. - The to remove from the collection. - + - Determines whether a is in the collection. + Define conditional compilation symbol(s). - The to locate in the collection. - - if is found in the - collection; otherwise, . - + + + Corresponds to /d[efine]: flag. + + - + - Gets the location of a in the collection. + Icon to associate with the application. - The object to locate. - - The zero-based location of the in the - collection. - - If the is not currently a member of - the collection, -1 is returned. + + Corresponds to /win32icon: flag. + - + - Adds a to the end of the collection. + Specifies a Win32 resource file (.res). - The to be added to the end of the collection. - - The position into which the new item was inserted. - + + + Corresponds to /win32res[ource]: flag. + + - + - Adds the items of a to the end of the collection. + Instructs the compiler to treat all warnings as errors. The default + is . - The to be added to the end of the collection. + + + Corresponds to the /warnaserror[+|-] flag of the compiler. + + + When this property is set to , any messages + that would ordinarily be reported as warnings will instead be + reported as errors. + + - + - Adds a to the end of the collection. + Controls which warnings should be reported as errors. - The to be added to the end of the collection. - - The position into which the new item was inserted. - - + - Inserts a into the collection at the - specified index. + Specifies a comma-separated list of warnings that should be suppressed + by the compiler. - The zero-based index at which should be inserted. - The to insert. + + Comma-separated list of warnings that should be suppressed by the + compiler. + + + + Corresponds with the /nowarn flag. + + - + - Removes the specified from the - collection. + Specifies a list of warnings that you want the compiler to suppress. - The to remove from the collection. PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.NUnit.dll /usr/share/NAnt/bin/NAnt.NUnit.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.NUnit.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.NUnit.dll (monodis) @@ -502,17 +502,258 @@ .namespace NAnt.NUnit.Types { + .class public auto ansi sealed FormatterType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.NUnit.Types.FormatterType Plain = int32(0x00000000) + .field public static literal valuetype NAnt.NUnit.Types.FormatterType Xml = int32(0x00000001) + + } // end of class NAnt.NUnit.Types.FormatterType +} + +.namespace NAnt.NUnit.Types +{ + .class public auto ansi beforefieldinit FormatterElement + extends [NAnt.Core]NAnt.Core.Element + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 66 6F 72 6D 61 74 74 65 72 00 00 ) // ...formatter.. + + .field private class NAnt.NUnit.Types.FormatterData _data + + // method line 22 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x229c + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.NUnit.Types.FormatterData::'.ctor'() + IL_0006: stfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_000b: ldarg.0 + IL_000c: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_0011: ret + } // end of method FormatterElement::.ctor + + // method line 23 + .method public hidebysig specialname + instance default valuetype NAnt.NUnit.Types.FormatterType get_Type () cil managed + { + // Method begins at RVA 0x22b0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + valuetype NAnt.NUnit.Types.FormatterType V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: callvirt instance valuetype NAnt.NUnit.Types.FormatterType class NAnt.NUnit.Types.FormatterData::get_Type() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterElement::get_Type + + // method line 24 + .method public hidebysig specialname + instance default void set_Type (valuetype NAnt.NUnit.Types.FormatterType 'value') cil managed + { + // Method begins at RVA 0x22d0 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: ldarg.1 + IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_Type(valuetype NAnt.NUnit.Types.FormatterType) + IL_000d: ret + } // end of method FormatterElement::set_Type + + // method line 25 + .method public hidebysig specialname + instance default string get_Extension () cil managed + { + // Method begins at RVA 0x22e0 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: callvirt instance string class NAnt.NUnit.Types.FormatterData::get_Extension() + IL_000c: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FormatterElement::get_Extension + + // method line 26 + .method public hidebysig specialname + instance default void set_Extension (string 'value') cil managed + { + // Method begins at RVA 0x2305 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: ldarg.1 + IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_Extension(string) + IL_000d: ret + } // end of method FormatterElement::set_Extension + + // method line 27 + .method public hidebysig specialname + instance default bool get_UseFile () cil managed + { + // Method begins at RVA 0x2314 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: callvirt instance bool class NAnt.NUnit.Types.FormatterData::get_UseFile() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterElement::get_UseFile + + // method line 28 + .method public hidebysig specialname + instance default void set_UseFile (bool 'value') cil managed + { + // Method begins at RVA 0x2334 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: ldarg.1 + IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_UseFile(bool) + IL_000d: ret + } // end of method FormatterElement::set_UseFile + + // method line 29 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDirectory () cil managed + { + // Method begins at RVA 0x2344 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.NUnit.Types.FormatterData::get_OutputDirectory() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterElement::get_OutputDirectory + + // method line 30 + .method public hidebysig specialname + instance default void set_OutputDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0x2364 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: ldarg.1 + IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_OutputDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_000d: ret + } // end of method FormatterElement::set_OutputDirectory + + // method line 31 + .method public hidebysig specialname + instance default class NAnt.NUnit.Types.FormatterData get_Data () cil managed + { + // Method begins at RVA 0x2374 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.NUnit.Types.FormatterData V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FormatterElement::get_Data + + .property instance valuetype NAnt.NUnit.Types.FormatterType Type () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 74 79 70 65 01 00 54 02 08 52 65 71 75 // ...type..T..Requ + 69 72 65 64 01 ) // ired. + + .get instance default valuetype NAnt.NUnit.Types.FormatterType NAnt.NUnit.Types.FormatterElement::get_Type () + .set instance default void NAnt.NUnit.Types.FormatterElement::set_Type (valuetype NAnt.NUnit.Types.FormatterType 'value') + } + .property instance string Extension () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 65 78 74 65 6E 73 69 6F 6E 01 00 54 02 // ...extension..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .get instance default string NAnt.NUnit.Types.FormatterElement::get_Extension () + .set instance default void NAnt.NUnit.Types.FormatterElement::set_Extension (string 'value') + } + .property instance bool UseFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 75 73 65 66 69 6C 65 01 00 54 02 08 52 // ...usefile..T..R + 65 71 75 69 72 65 64 00 ) // equired. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.NUnit.Types.FormatterElement::get_UseFile () + .set instance default void NAnt.NUnit.Types.FormatterElement::set_UseFile (bool 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo OutputDirectory () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6F 75 74 70 75 74 64 69 72 01 00 54 02 // ...outputdir..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.NUnit.Types.FormatterElement::get_OutputDirectory () + .set instance default void NAnt.NUnit.Types.FormatterElement::set_OutputDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class NAnt.NUnit.Types.FormatterData Data () + { + .get instance default class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::get_Data () + } + } // end of class NAnt.NUnit.Types.FormatterElement +} + +.namespace NAnt.NUnit.Types +{ .class public auto ansi serializable beforefieldinit FormatterDataCollection extends [mscorlib]System.Collections.CollectionBase { .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 22 + // method line 32 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x229c + // Method begins at RVA 0x238f // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -521,11 +762,11 @@ IL_0007: ret } // end of method FormatterDataCollection::.ctor - // method line 23 + // method line 33 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.NUnit.Types.FormatterDataCollection 'value') cil managed { - // Method begins at RVA 0x22a5 + // Method begins at RVA 0x2398 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -537,11 +778,11 @@ IL_000e: ret } // end of method FormatterDataCollection::.ctor - // method line 24 + // method line 34 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.NUnit.Types.FormatterData[] 'value') cil managed { - // Method begins at RVA 0x22b5 + // Method begins at RVA 0x23a8 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -553,11 +794,11 @@ IL_000e: ret } // end of method FormatterDataCollection::.ctor - // method line 25 + // method line 35 .method public hidebysig specialname instance default class NAnt.NUnit.Types.FormatterData get_Item (int32 index) cil managed { - // Method begins at RVA 0x22c8 + // Method begins at RVA 0x23b8 // Code size 26 (0x1a) .maxstack 2 .locals init ( @@ -575,11 +816,11 @@ IL_0019: ret } // end of method FormatterDataCollection::get_Item - // method line 26 + // method line 36 .method public hidebysig specialname instance default void set_Item (int32 index, class NAnt.NUnit.Types.FormatterData 'value') cil managed { - // Method begins at RVA 0x22ee + // Method begins at RVA 0x23de // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -591,11 +832,11 @@ IL_000e: ret } // end of method FormatterDataCollection::set_Item - // method line 27 + // method line 37 .method public hidebysig instance default int32 Add (class NAnt.NUnit.Types.FormatterData item) cil managed { - // Method begins at RVA 0x2300 + // Method begins at RVA 0x23f0 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -612,11 +853,11 @@ IL_0014: ret } // end of method FormatterDataCollection::Add - // method line 28 + // method line 38 .method public hidebysig instance default void AddRange (class NAnt.NUnit.Types.FormatterData[] items) cil managed { - // Method begins at RVA 0x2324 + // Method begins at RVA 0x2414 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -647,11 +888,11 @@ IL_0021: ret } // end of method FormatterDataCollection::AddRange - // method line 29 + // method line 39 .method public hidebysig instance default void AddRange (class NAnt.NUnit.Types.FormatterDataCollection items) cil managed { - // Method begins at RVA 0x2354 + // Method begins at RVA 0x2444 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -681,11 +922,11 @@ IL_0028: ret } // end of method FormatterDataCollection::AddRange - // method line 30 + // method line 40 .method public hidebysig instance default bool Contains (class NAnt.NUnit.Types.FormatterData item) cil managed { - // Method begins at RVA 0x238c + // Method begins at RVA 0x247c // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -702,11 +943,11 @@ IL_0014: ret } // end of method FormatterDataCollection::Contains - // method line 31 + // method line 41 .method public hidebysig instance default void CopyTo (class NAnt.NUnit.Types.FormatterData[] 'array', int32 index) cil managed { - // Method begins at RVA 0x23ad + // Method begins at RVA 0x249d // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -718,11 +959,11 @@ IL_000e: ret } // end of method FormatterDataCollection::CopyTo - // method line 32 + // method line 42 .method public hidebysig instance default int32 IndexOf (class NAnt.NUnit.Types.FormatterData item) cil managed { - // Method begins at RVA 0x23c0 + // Method begins at RVA 0x24b0 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -739,11 +980,11 @@ IL_0014: ret } // end of method FormatterDataCollection::IndexOf - // method line 33 + // method line 43 .method public hidebysig instance default void Insert (int32 index, class NAnt.NUnit.Types.FormatterData item) cil managed { - // Method begins at RVA 0x23e1 + // Method begins at RVA 0x24d1 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -755,11 +996,11 @@ IL_000e: ret } // end of method FormatterDataCollection::Insert - // method line 34 + // method line 44 .method public hidebysig instance default class NAnt.NUnit.Types.FormatterDataEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x23f4 + // Method begins at RVA 0x24e4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -774,11 +1015,11 @@ IL_000e: ret } // end of method FormatterDataCollection::GetEnumerator - // method line 35 + // method line 45 .method public hidebysig instance default void Remove (class NAnt.NUnit.Types.FormatterData item) cil managed { - // Method begins at RVA 0x240f + // Method begins at RVA 0x24ff // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -804,11 +1045,11 @@ implements [mscorlib]System.Collections.IEnumerator { .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 36 + // method line 46 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.NUnit.Types.FormatterDataCollection arguments) cil managed { - // Method begins at RVA 0x2420 + // Method begins at RVA 0x2510 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -825,11 +1066,11 @@ IL_0015: ret } // end of method FormatterDataEnumerator::.ctor - // method line 37 + // method line 47 .method public hidebysig specialname instance default class NAnt.NUnit.Types.FormatterData get_Current () cil managed { - // Method begins at RVA 0x2444 + // Method begins at RVA 0x2534 // Code size 25 (0x19) .maxstack 1 .locals init ( @@ -846,11 +1087,11 @@ IL_0018: ret } // end of method FormatterDataEnumerator::get_Current - // method line 38 + // method line 48 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x246c + // Method begins at RVA 0x255c .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) // Code size 20 (0x14) .maxstack 1 @@ -867,11 +1108,11 @@ IL_0013: ret } // end of method FormatterDataEnumerator::System.Collections.IEnumerator.get_Current - // method line 39 + // method line 49 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x248c + // Method begins at RVA 0x257c // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -887,11 +1128,11 @@ IL_0013: ret } // end of method FormatterDataEnumerator::MoveNext - // method line 40 + // method line 50 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x24ac + // Method begins at RVA 0x259c .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) // Code size 20 (0x14) .maxstack 1 @@ -908,11 +1149,11 @@ IL_0013: ret } // end of method FormatterDataEnumerator::System.Collections.IEnumerator.MoveNext - // method line 41 + // method line 51 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x24cc + // Method begins at RVA 0x25bc // Code size 13 (0xd) .maxstack 8 IL_0000: nop @@ -922,11 +1163,11 @@ IL_000c: ret } // end of method FormatterDataEnumerator::Reset - // method line 42 + // method line 52 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x24da + // Method begins at RVA 0x25ca .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) // Code size 13 (0xd) .maxstack 8 @@ -958,11 +1199,11 @@ .field private valuetype NAnt.NUnit.Types.FormatterType _formatterType .field private class [mscorlib]System.IO.DirectoryInfo _outputDirectory - // method line 43 + // method line 53 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x24e8 + // Method begins at RVA 0x25d8 // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 @@ -973,11 +1214,11 @@ IL_000d: ret } // end of method FormatterData::.ctor - // method line 44 + // method line 54 .method public hidebysig specialname instance default valuetype NAnt.NUnit.Types.FormatterType get_Type () cil managed { - // Method begins at RVA 0x24f8 + // Method begins at RVA 0x25e8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -992,11 +1233,11 @@ IL_000e: ret } // end of method FormatterData::get_Type - // method line 45 + // method line 55 .method public hidebysig specialname instance default void set_Type (valuetype NAnt.NUnit.Types.FormatterType 'value') cil managed { - // Method begins at RVA 0x2513 + // Method begins at RVA 0x2603 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1006,11 +1247,11 @@ IL_0008: ret } // end of method FormatterData::set_Type - // method line 46 + // method line 56 .method public hidebysig specialname instance default bool get_UseFile () cil managed { - // Method begins at RVA 0x2520 + // Method begins at RVA 0x2610 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1025,11 +1266,11 @@ IL_000e: ret } // end of method FormatterData::get_UseFile - // method line 47 + // method line 57 .method public hidebysig specialname instance default void set_UseFile (bool 'value') cil managed { - // Method begins at RVA 0x253b + // Method begins at RVA 0x262b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1039,11 +1280,11 @@ IL_0008: ret } // end of method FormatterData::set_UseFile - // method line 48 + // method line 58 .method public hidebysig specialname instance default string get_Extension () cil managed { - // Method begins at RVA 0x2548 + // Method begins at RVA 0x2638 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1058,11 +1299,11 @@ IL_000e: ret } // end of method FormatterData::get_Extension - // method line 49 + // method line 59 .method public hidebysig specialname instance default void set_Extension (string 'value') cil managed { - // Method begins at RVA 0x2563 + // Method begins at RVA 0x2653 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1072,11 +1313,11 @@ IL_0008: ret } // end of method FormatterData::set_Extension - // method line 50 + // method line 60 .method public hidebysig specialname instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDirectory () cil managed { - // Method begins at RVA 0x2570 + // Method begins at RVA 0x2660 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1091,11 +1332,11 @@ IL_000e: ret } // end of method FormatterData::get_OutputDirectory - // method line 51 + // method line 61 .method public hidebysig specialname instance default void set_OutputDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x258b + // Method begins at RVA 0x267b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1128,244 +1369,3 @@ } // end of class NAnt.NUnit.Types.FormatterData } -.namespace NAnt.NUnit.Types -{ - .class public auto ansi sealed FormatterType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.NUnit.Types.FormatterType Plain = int32(0x00000000) - .field public static literal valuetype NAnt.NUnit.Types.FormatterType Xml = int32(0x00000001) - - } // end of class NAnt.NUnit.Types.FormatterType -} - -.namespace NAnt.NUnit.Types -{ - .class public auto ansi beforefieldinit FormatterElement - extends [NAnt.Core]NAnt.Core.Element - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 09 66 6F 72 6D 61 74 74 65 72 00 00 ) // ...formatter.. - - .field private class NAnt.NUnit.Types.FormatterData _data - - // method line 52 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2595 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.NUnit.Types.FormatterData::'.ctor'() - IL_0006: stfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_000b: ldarg.0 - IL_000c: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_0011: ret - } // end of method FormatterElement::.ctor - - // method line 53 - .method public hidebysig specialname - instance default valuetype NAnt.NUnit.Types.FormatterType get_Type () cil managed - { - // Method begins at RVA 0x25a8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - valuetype NAnt.NUnit.Types.FormatterType V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: callvirt instance valuetype NAnt.NUnit.Types.FormatterType class NAnt.NUnit.Types.FormatterData::get_Type() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FormatterElement::get_Type - - // method line 54 - .method public hidebysig specialname - instance default void set_Type (valuetype NAnt.NUnit.Types.FormatterType 'value') cil managed - { - // Method begins at RVA 0x25c8 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_Type(valuetype NAnt.NUnit.Types.FormatterType) - IL_000d: ret - } // end of method FormatterElement::set_Type - - // method line 55 - .method public hidebysig specialname - instance default string get_Extension () cil managed - { - // Method begins at RVA 0x25d8 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: callvirt instance string class NAnt.NUnit.Types.FormatterData::get_Extension() - IL_000c: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FormatterElement::get_Extension - - // method line 56 - .method public hidebysig specialname - instance default void set_Extension (string 'value') cil managed - { - // Method begins at RVA 0x25fd - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_Extension(string) - IL_000d: ret - } // end of method FormatterElement::set_Extension - - // method line 57 - .method public hidebysig specialname - instance default bool get_UseFile () cil managed - { - // Method begins at RVA 0x260c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: callvirt instance bool class NAnt.NUnit.Types.FormatterData::get_UseFile() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FormatterElement::get_UseFile - - // method line 58 - .method public hidebysig specialname - instance default void set_UseFile (bool 'value') cil managed - { - // Method begins at RVA 0x262c - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_UseFile(bool) - IL_000d: ret - } // end of method FormatterElement::set_UseFile - - // method line 59 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDirectory () cil managed - { - // Method begins at RVA 0x263c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.NUnit.Types.FormatterData::get_OutputDirectory() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FormatterElement::get_OutputDirectory - - // method line 60 - .method public hidebysig specialname - instance default void set_OutputDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x265c - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.NUnit.Types.FormatterData::set_OutputDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_000d: ret - } // end of method FormatterElement::set_OutputDirectory - - // method line 61 - .method public hidebysig specialname - instance default class NAnt.NUnit.Types.FormatterData get_Data () cil managed - { - // Method begins at RVA 0x266c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.NUnit.Types.FormatterData V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::_data - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FormatterElement::get_Data - - .property instance valuetype NAnt.NUnit.Types.FormatterType Type () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 74 79 70 65 01 00 54 02 08 52 65 71 75 // ...type..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default valuetype NAnt.NUnit.Types.FormatterType NAnt.NUnit.Types.FormatterElement::get_Type () - .set instance default void NAnt.NUnit.Types.FormatterElement::set_Type (valuetype NAnt.NUnit.Types.FormatterType 'value') - } - .property instance string Extension () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 65 78 74 65 6E 73 69 6F 6E 01 00 54 02 // ...extension..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. - - .get instance default string NAnt.NUnit.Types.FormatterElement::get_Extension () - .set instance default void NAnt.NUnit.Types.FormatterElement::set_Extension (string 'value') - } - .property instance bool UseFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 75 73 65 66 69 6C 65 01 00 54 02 08 52 // ...usefile..T..R - 65 71 75 69 72 65 64 00 ) // equired. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.NUnit.Types.FormatterElement::get_UseFile () - .set instance default void NAnt.NUnit.Types.FormatterElement::set_UseFile (bool 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo OutputDirectory () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6F 75 74 70 75 74 64 69 72 01 00 54 02 // ...outputdir..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.NUnit.Types.FormatterElement::get_OutputDirectory () - .set instance default void NAnt.NUnit.Types.FormatterElement::set_OutputDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.NUnit.Types.FormatterData Data () - { - .get instance default class NAnt.NUnit.Types.FormatterData NAnt.NUnit.Types.FormatterElement::get_Data () - } - } // end of class NAnt.NUnit.Types.FormatterElement -} - /usr/share/NAnt/bin/NAnt.NUnit.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.NUnit.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.NUnit.xml 2018-06-14 00:00:00.000000000 +0000 @@ -134,6 +134,55 @@ first element in the collection. + + + The built-in formatter types. + + + + + A plaintext formatter. + + + + + An XML formatter. + + + + + Represents the FormatterElement of the NUnit task. + + + + + Type of formatter. + + + + + Extension to append to the output filename. + + + + + Determines whether output should be persisted to a file. The default + is . + + + + + Specifies the directory where the output file should be written to, + if is . If not + specified, the output file will be written to the directory where + the test module is located. + + + + + Gets the underlying for the element. + + Contains a strongly typed collection of objects. @@ -300,54 +349,5 @@ The directory where the output file should be written to. - - - The built-in formatter types. - - - - - A plaintext formatter. - - - - - An XML formatter. - - - - - Represents the FormatterElement of the NUnit task. - - - - - Type of formatter. - - - - - Extension to append to the output filename. - - - - - Determines whether output should be persisted to a file. The default - is . - - - - - Specifies the directory where the output file should be written to, - if is . If not - specified, the output file will be written to the directory where - the test module is located. - - - - - Gets the underlying for the element. - - PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll /usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll (monodis) @@ -3,11 +3,6 @@ .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern System.Xml -{ - .ver 4:0:0:0 - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. -} .assembly extern NUnitCore { .ver 1:11:786:40392 @@ -17,15 +12,20 @@ { .ver 0:93:1:0 } -.assembly extern NAnt.Core +.assembly extern System.Xml { - .ver 0:93:1:0 + .ver 4:0:0:0 + .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } .assembly extern System { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } +.assembly extern NAnt.Core +{ + .ver 0:93:1:0 +} .assembly 'NAnt.NUnit1Tasks' { .custom instance void class [mscorlib]System.Reflection.AssemblyDelaySignAttribute::'.ctor'(bool) = (01 00 00 00 00 ) // ..... @@ -73,454 +73,450 @@ .namespace NAnt.NUnit1.Types { - .class public auto ansi beforefieldinit NUnitTest - extends [NAnt.Core]NAnt.Core.Element + .class public auto ansi serializable beforefieldinit IResultFormatterCollection + extends [mscorlib]System.Collections.CollectionBase { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 04 74 65 73 74 00 00 ) // ...test.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .field private string _class - .field private string _assembly - .field private bool _fork - .field private bool _haltonerror - .field private bool _haltonfailure - .field private string _appConfigFile - .field private string _todir - .field private string _outfile // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { // Method begins at RVA 0x2050 - // Code size 63 (0x3f) + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldnull - IL_0002: stfld string NAnt.NUnit1.Types.NUnitTest::_class - IL_0007: ldarg.0 - IL_0008: ldnull - IL_0009: stfld string NAnt.NUnit1.Types.NUnitTest::_assembly - IL_000e: ldarg.0 - IL_000f: ldc.i4.0 - IL_0010: stfld bool NAnt.NUnit1.Types.NUnitTest::_fork - IL_0015: ldarg.0 - IL_0016: ldc.i4.0 - IL_0017: stfld bool NAnt.NUnit1.Types.NUnitTest::_haltonerror - IL_001c: ldarg.0 - IL_001d: ldc.i4.0 - IL_001e: stfld bool NAnt.NUnit1.Types.NUnitTest::_haltonfailure - IL_0023: ldarg.0 - IL_0024: ldnull - IL_0025: stfld string NAnt.NUnit1.Types.NUnitTest::_appConfigFile - IL_002a: ldarg.0 - IL_002b: ldnull - IL_002c: stfld string NAnt.NUnit1.Types.NUnitTest::_todir - IL_0031: ldarg.0 - IL_0032: ldnull - IL_0033: stfld string NAnt.NUnit1.Types.NUnitTest::_outfile - IL_0038: ldarg.0 - IL_0039: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_003e: ret - } // end of method NUnitTest::.ctor + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method IResultFormatterCollection::.ctor // method line 2 - .method public hidebysig specialname - instance default string get_OutFile () cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.NUnit1.Types.IResultFormatterCollection 'value') cil managed { - // Method begins at RVA 0x2090 + // Method begins at RVA 0x2059 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.NUnit1.Types.NUnitTest::_outfile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.NUnit1.Types.IResultFormatterCollection::AddRange(class NAnt.NUnit1.Types.IResultFormatterCollection) IL_000e: ret - } // end of method NUnitTest::get_OutFile + } // end of method IResultFormatterCollection::.ctor // method line 3 - .method public hidebysig specialname - instance default void set_OutFile (string 'value') cil managed + .method public hidebysig specialname rtspecialname + (null) cil managed { - // Method begins at RVA 0x20ab - // Code size 9 (0x9) + // Method begins at RVA 0x2069 + // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.NUnit1.Types.NUnitTest::_outfile - IL_0008: ret - } // end of method NUnitTest::set_OutFile + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.NUnit1.Types.IResultFormatterCollection::AddRange(class NAnt.NUnit1.Types.IResultFormatter[]) + IL_000e: ret + } // end of method IResultFormatterCollection:: // method line 4 .method public hidebysig specialname - instance default string get_ToDir () cil managed + instance default class NAnt.NUnit1.Types.IResultFormatter get_Item (int32 index) cil managed { - // Method begins at RVA 0x20b8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x207c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.NUnit1.Types.IResultFormatter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.NUnit1.Types.NUnitTest::_todir - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.NUnit1.Types.IResultFormatter + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NUnitTest::get_ToDir + IL_0018: ldloc.0 + IL_0019: ret + } // end of method IResultFormatterCollection::get_Item // method line 5 .method public hidebysig specialname - instance default void set_ToDir (string 'value') cil managed + instance default void set_Item (int32 index, class NAnt.NUnit1.Types.IResultFormatter 'value') cil managed { - // Method begins at RVA 0x20d3 - // Code size 9 (0x9) + // Method begins at RVA 0x20a2 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.NUnit1.Types.NUnitTest::_todir - IL_0008: ret - } // end of method NUnitTest::set_ToDir + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method IResultFormatterCollection::set_Item // method line 6 - .method public hidebysig specialname - instance default string get_Class () cil managed + .method public hidebysig + instance default int32 Add (class NAnt.NUnit1.Types.IResultFormatter item) cil managed { - // Method begins at RVA 0x20e0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x20b4 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.NUnit1.Types.NUnitTest::_class - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NUnitTest::get_Class + IL_0013: ldloc.0 + IL_0014: ret + } // end of method IResultFormatterCollection::Add // method line 7 - .method public hidebysig specialname - instance default void set_Class (string 'value') cil managed + .method public hidebysig + instance default void AddRange (class NAnt.NUnit1.Types.IResultFormatter[] items) cil managed { - // Method begins at RVA 0x20fb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.NUnit1.Types.NUnitTest::_class - IL_0008: ret - } // end of method NUnitTest::set_Class + // Method begins at RVA 0x20d8 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.NUnit1.Types.IResultFormatterCollection::Add(class NAnt.NUnit1.Types.IResultFormatter) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 + + IL_0021: ret + } // end of method IResultFormatterCollection::AddRange // method line 8 - .method public hidebysig specialname - instance default string get_Assembly () cil managed + .method public hidebysig + instance default void AddRange (class NAnt.NUnit1.Types.IResultFormatterCollection items) cil managed { // Method begins at RVA 0x2108 - // Code size 26 (0x1a) - .maxstack 2 + // Code size 41 (0x29) + .maxstack 3 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0007: ldarg.0 - IL_0008: ldfld string NAnt.NUnit1.Types.NUnitTest::_assembly - IL_000d: callvirt instance string class [NAnt.Core]NAnt.Core.Project::GetFullPath(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 - + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c + + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.NUnit1.Types.IResultFormatter class NAnt.NUnit1.Types.IResultFormatterCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.NUnit1.Types.IResultFormatterCollection::Add(class NAnt.NUnit1.Types.IResultFormatter) + IL_0016: pop + IL_0017: nop IL_0018: ldloc.0 - IL_0019: ret - } // end of method NUnitTest::get_Assembly + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 + + IL_0028: ret + } // end of method IResultFormatterCollection::AddRange // method line 9 - .method public hidebysig specialname - instance default void set_Assembly (string 'value') cil managed + .method public hidebysig + instance default bool Contains (class NAnt.NUnit1.Types.IResultFormatter item) cil managed { - // Method begins at RVA 0x212e - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x2140 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.NUnit1.Types.NUnitTest::_assembly - IL_0008: ret - } // end of method NUnitTest::set_Assembly + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method IResultFormatterCollection::Contains // method line 10 - .method public hidebysig specialname - instance default bool get_Fork () cil managed + .method public hidebysig + instance default void CopyTo (class NAnt.NUnit1.Types.IResultFormatter[] 'array', int32 index) cil managed { - // Method begins at RVA 0x2138 + // Method begins at RVA 0x2161 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.NUnit1.Types.NUnitTest::_fork - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) IL_000e: ret - } // end of method NUnitTest::get_Fork + } // end of method IResultFormatterCollection::CopyTo // method line 11 - .method public hidebysig specialname - instance default void set_Fork (bool 'value') cil managed + .method public hidebysig + instance default int32 IndexOf (class NAnt.NUnit1.Types.IResultFormatter item) cil managed { - // Method begins at RVA 0x2153 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x2174 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.NUnit1.Types.NUnitTest::_fork - IL_0008: ret - } // end of method NUnitTest::set_Fork + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method IResultFormatterCollection::IndexOf // method line 12 - .method public hidebysig specialname - instance default bool get_HaltOnError () cil managed + .method public hidebysig + instance default void Insert (int32 index, class NAnt.NUnit1.Types.IResultFormatter item) cil managed { - // Method begins at RVA 0x2160 + // Method begins at RVA 0x2195 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.NUnit1.Types.NUnitTest::_haltonerror - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) IL_000e: ret - } // end of method NUnitTest::get_HaltOnError + } // end of method IResultFormatterCollection::Insert // method line 13 - .method public hidebysig specialname - instance default void set_HaltOnError (bool 'value') cil managed + .method public hidebysig + instance default class NAnt.NUnit1.Types.IResultFormatterEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x217b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.NUnit1.Types.NUnitTest::_haltonerror - IL_0008: ret - } // end of method NUnitTest::set_HaltOnError - - // method line 14 - .method public hidebysig specialname - instance default bool get_HaltOnFailure () cil managed - { - // Method begins at RVA 0x2188 + // Method begins at RVA 0x21a8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.NUnit1.Types.IResultFormatterEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.NUnit1.Types.NUnitTest::_haltonfailure + IL_0002: newobj instance void class NAnt.NUnit1.Types.IResultFormatterEnumerator::'.ctor'(class NAnt.NUnit1.Types.IResultFormatterCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NUnitTest::get_HaltOnFailure + } // end of method IResultFormatterCollection::GetEnumerator - // method line 15 - .method public hidebysig specialname - instance default void set_HaltOnFailure (bool 'value') cil managed + // method line 14 + .method public hidebysig + instance default void Remove (class NAnt.NUnit1.Types.IResultFormatter item) cil managed { - // Method begins at RVA 0x21a3 - // Code size 9 (0x9) + // Method begins at RVA 0x21c3 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.NUnit1.Types.NUnitTest::_haltonfailure - IL_0008: ret - } // end of method NUnitTest::set_HaltOnFailure + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method IResultFormatterCollection::Remove + + .property instance class NAnt.NUnit1.Types.IResultFormatter Item (int32) + { + .get instance default class NAnt.NUnit1.Types.IResultFormatter NAnt.NUnit1.Types.IResultFormatterCollection::get_Item (int32 index) + .set instance default void NAnt.NUnit1.Types.IResultFormatterCollection::set_Item (int32 index, class NAnt.NUnit1.Types.IResultFormatter 'value') + } + } // end of class NAnt.NUnit1.Types.IResultFormatterCollection +} + +.namespace NAnt.NUnit1.Types +{ + .class public auto ansi beforefieldinit IResultFormatterEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 15 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.NUnit1.Types.IResultFormatterCollection arguments) cil managed + { + // Method begins at RVA 0x21d4 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit1.Types.IResultFormatterEnumerator::_baseEnumerator + IL_0015: ret + } // end of method IResultFormatterEnumerator::.ctor // method line 16 .method public hidebysig specialname - instance default string get_AppConfigFile () cil managed + instance default class NAnt.NUnit1.Types.IResultFormatter get_Current () cil managed { - // Method begins at RVA 0x21b0 - // Code size 15 (0xf) + // Method begins at RVA 0x21f8 + // Code size 25 (0x19) .maxstack 1 .locals init ( - string V_0) + class NAnt.NUnit1.Types.IResultFormatter V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.NUnit1.Types.NUnitTest::_appConfigFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NUnitTest::get_AppConfigFile + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit1.Types.IResultFormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.NUnit1.Types.IResultFormatter + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method IResultFormatterEnumerator::get_Current // method line 17 - .method public hidebysig specialname - instance default void set_AppConfigFile (string 'value') cil managed + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x21cb - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x2220 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.NUnit1.Types.NUnitTest::_appConfigFile - IL_0008: ret - } // end of method NUnitTest::set_AppConfigFile + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit1.Types.IResultFormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method IResultFormatterEnumerator::System.Collections.IEnumerator.get_Current // method line 18 - .method assembly hidebysig - instance default class NAnt.NUnit1.Types.NUnitTestData GetTestData () cil managed + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x21d8 - // Code size 112 (0x70) - .maxstack 2 + // Method begins at RVA 0x2240 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class NAnt.NUnit1.Types.NUnitTestData V_0, - class NAnt.NUnit1.Types.NUnitTestData V_1) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class NAnt.NUnit1.Types.NUnitTestData::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance string class NAnt.NUnit1.Types.NUnitTest::get_OutFile() - IL_000e: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_OutFile(string) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance string class NAnt.NUnit1.Types.NUnitTest::get_ToDir() - IL_001a: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_ToDir(string) - IL_001f: ldloc.0 - IL_0020: ldarg.0 - IL_0021: call instance string class NAnt.NUnit1.Types.NUnitTest::get_Class() - IL_0026: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_Class(string) - IL_002b: ldloc.0 - IL_002c: ldarg.0 - IL_002d: call instance string class NAnt.NUnit1.Types.NUnitTest::get_Assembly() - IL_0032: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_Assembly(string) - IL_0037: ldloc.0 - IL_0038: ldarg.0 - IL_0039: call instance bool class NAnt.NUnit1.Types.NUnitTest::get_Fork() - IL_003e: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_Fork(bool) - IL_0043: ldloc.0 - IL_0044: ldarg.0 - IL_0045: call instance bool class NAnt.NUnit1.Types.NUnitTest::get_HaltOnError() - IL_004a: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_HaltOnError(bool) - IL_004f: ldloc.0 - IL_0050: ldarg.0 - IL_0051: call instance bool class NAnt.NUnit1.Types.NUnitTest::get_HaltOnFailure() - IL_0056: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_HaltOnFailure(bool) - IL_005b: ldloc.0 - IL_005c: ldarg.0 - IL_005d: call instance string class NAnt.NUnit1.Types.NUnitTest::get_AppConfigFile() - IL_0062: callvirt instance void class NAnt.NUnit1.Types.NUnitTestData::set_AppConfigFile(string) - IL_0067: ldloc.0 - IL_0068: stloc.1 - IL_0069: br IL_006e - - IL_006e: ldloc.1 - IL_006f: ret - } // end of method NUnitTest::GetTestData - - .property instance string OutFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 75 74 66 69 6C 65 00 00 ) // ...outfile.. - - .get instance default string NAnt.NUnit1.Types.NUnitTest::get_OutFile () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_OutFile (string 'value') - } - .property instance string ToDir () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 74 6F 64 69 72 00 00 ) // ...todir.. - - .get instance default string NAnt.NUnit1.Types.NUnitTest::get_ToDir () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_ToDir (string 'value') - } - .property instance string Class () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 63 6C 61 73 73 01 00 54 02 08 52 65 71 // ...class..T..Req - 75 69 72 65 64 01 ) // uired. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.NUnit1.Types.NUnitTest::get_Class () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_Class (string 'value') - } - .property instance string Assembly () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.NUnit1.Types.NUnitTest::get_Assembly () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_Assembly (string 'value') - } - .property instance bool Fork () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 6F 72 6B 00 00 ) // ...fork.. + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit1.Types.IResultFormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method IResultFormatterEnumerator::MoveNext - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 19 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x2260 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit1.Types.IResultFormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method IResultFormatterEnumerator::System.Collections.IEnumerator.MoveNext - .get instance default bool NAnt.NUnit1.Types.NUnitTest::get_Fork () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_Fork (bool 'value') - } - .property instance bool HaltOnError () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 68 61 6C 74 6F 6E 65 72 72 6F 72 00 00 ) // ...haltonerror.. + // method line 20 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x2280 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit1.Types.IResultFormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method IResultFormatterEnumerator::Reset - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 21 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x228e + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit1.Types.IResultFormatterEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method IResultFormatterEnumerator::System.Collections.IEnumerator.Reset - .get instance default bool NAnt.NUnit1.Types.NUnitTest::get_HaltOnError () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_HaltOnError (bool 'value') - } - .property instance bool HaltOnFailure () + .property instance object System.Collections.IEnumerator.Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 68 61 6C 74 6F 6E 66 61 69 6C 75 72 65 // ...haltonfailure - 00 00 ) // .. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.NUnit1.Types.NUnitTest::get_HaltOnFailure () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_HaltOnFailure (bool 'value') + .get instance default object NAnt.NUnit1.Types.IResultFormatterEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance string AppConfigFile () + .property instance class NAnt.NUnit1.Types.IResultFormatter Current () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 61 70 70 63 6F 6E 66 69 67 00 00 ) // ...appconfig.. - - .get instance default string NAnt.NUnit1.Types.NUnitTest::get_AppConfigFile () - .set instance default void NAnt.NUnit1.Types.NUnitTest::set_AppConfigFile (string 'value') + .get instance default class NAnt.NUnit1.Types.IResultFormatter NAnt.NUnit1.Types.IResultFormatterEnumerator::get_Current () } - } // end of class NAnt.NUnit1.Types.NUnitTest + } // end of class NAnt.NUnit1.Types.IResultFormatterEnumerator } .namespace NAnt.NUnit1.Types @@ -530,11 +526,11 @@ { .field private int64 _runTime - // method line 19 + // method line 22 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2254 + // Method begins at RVA 0x229c // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -543,11 +539,11 @@ IL_0007: ret } // end of method TestResultExtra::.ctor - // method line 20 + // method line 23 .method public hidebysig specialname instance default int64 get_RunTime () cil managed { - // Method begins at RVA 0x2260 + // Method begins at RVA 0x22a8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -562,11 +558,11 @@ IL_000e: ret } // end of method TestResultExtra::get_RunTime - // method line 21 + // method line 24 .method public hidebysig specialname instance default void set_RunTime (int64 'value') cil managed { - // Method begins at RVA 0x227b + // Method begins at RVA 0x22c3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -584,109 +580,68 @@ } // end of class NAnt.NUnit1.Types.TestResultExtra } -.namespace NAnt.NUnit1.Types +.namespace NAnt.NUnit1.Tasks { - .class public auto ansi beforefieldinit XmlResultFormatter - extends [mscorlib]System.Object - implements NAnt.NUnit1.Types.IResultFormatter, [NUnitCore]NUnit.Framework.ITestListener { - .field private class [mscorlib]System.IO.TextWriter _writer - .field private class [System.Xml]System.Xml.XmlDocument _document - .field private class [System.Xml]System.Xml.XmlElement _suiteElement - .field private class [System.Xml]System.Xml.XmlElement _currentTest - .field private valuetype [mscorlib]System.DateTime _testStartTime - .field private static literal string ElementTestSuite = "testsuite" - .field private static literal string ElementTestCase = "testcase" - .field private static literal string ElementError = "error" - .field private static literal string ElementFailure = "failure" - .field private static literal string AttributeName = "name" - .field private static literal string AttributeTime = "time" - .field private static literal string AttributeErrors = "errors" - .field private static literal string AttributeFailures = "failures" - .field private static literal string AttributeTests = "tests" - .field private static literal string AttributeType = "type" - .field private static literal string AttributeMessage = "message" - .field private static literal string AttributeClassname = "classname" - - // method line 22 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2285 - // Code size 19 (0x13) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_000d: stfld class [System.Xml]System.Xml.XmlDocument NAnt.NUnit1.Types.XmlResultFormatter::_document - IL_0012: ret - } // end of method XmlResultFormatter::.ctor - - // method line 23 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.TextWriter get_Writer () cil managed - { - // Method begins at RVA 0x229c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.TextWriter V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.TextWriter NAnt.NUnit1.Types.XmlResultFormatter::_writer - IL_0007: stloc.0 - IL_0008: br IL_000d + .class public auto ansi sealed RunnerResult + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.NUnit1.Tasks.RunnerResult Success = int32(0x00000000) + .field public static literal valuetype NAnt.NUnit1.Tasks.RunnerResult Failures = int32(0x00000001) + .field public static literal valuetype NAnt.NUnit1.Tasks.RunnerResult Errors = int32(0x00000002) - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlResultFormatter::get_Writer + } // end of class NAnt.NUnit1.Tasks.RunnerResult +} - // method line 24 - .method public hidebysig specialname - instance default void set_Writer (class [mscorlib]System.IO.TextWriter 'value') cil managed - { - // Method begins at RVA 0x22b7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.NUnit1.Types.XmlResultFormatter::_writer - IL_0008: ret - } // end of method XmlResultFormatter::set_Writer +.namespace NAnt.NUnit1.Tasks +{ + .class public auto ansi beforefieldinit NUnitTestRunner + extends [NUnitCore]NUnit.Runner.BaseTestRunner + { + .field private class NAnt.NUnit1.Types.IResultFormatterCollection _formatters + .field private class NAnt.NUnit1.Types.NUnitTestData _nunittest + .field private member:> _suite + .field private member:> _result + .field private valuetype NAnt.NUnit1.Tasks.RunnerResult _resultCode // method line 25 - .method public final virtual hidebysig newslot - instance default void SetOutput (class [mscorlib]System.IO.TextWriter writer) cil managed - { - // Method begins at RVA 0x22c1 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void(class [mscorlib]System.IO.TextWriter) - IL_0008: ret - } // end of method XmlResultFormatter::SetOutput - - // method line 26 - .method public final virtual hidebysig newslot - instance default void StartTestSuite (class NAnt.NUnit1.Types.NUnitTestData suite) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.NUnit1.Types.NUnitTestData testData) cil managed { - // Method begins at RVA 0x22cc - // Code size 104 (0x68) - .maxstack 4 + // Method begins at RVA 0x22d0 + // Code size 102 (0x66) + .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlDeclaration V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlDocument NAnt.NUnit1.Types.XmlResultFormatter::_document - IL_0007: ldstr "1.0" + string V_0) + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.NUnit1.Types.IResultFormatterCollection::'.ctor'() + IL_0006: stfld class NAnt.NUnit1.Types.IResultFormatterCollection NAnt.NUnit1.Tasks.NUnitTestRunner::_formatters + IL_000b: ldarg.0 IL_000c: ldnull - IL_000d: ldnull - IL_000e: callvirt instance class [System.Xml]System.Xml.XmlDeclaration class [System.Xml]System.Xml.XmlDocument::CreateXmlDeclaration(string, string, string) - IL_0013: stloc.0 - IL_0014: ldarg.0 - IL_0015: ldfld class [System.Xml]System.Xml.XmlDocument \ No newline at end of file + IL_000d: stfld class NAnt.NUnit1.Types.NUnitTestData NAnt.NUnit1.Tasks.NUnitTestRunner::_nunittest + IL_0012: ldarg.0 + IL_0013: ldnull + IL_0014: stfld member:> NAnt.NUnit1.Tasks.NUnitTestRunner::_suite + IL_0019: ldarg.0 + IL_001a: ldnull + IL_001b: stfld class NAnt.NUnit1.Types.TestResultExtra NAnt.NUnit1.Tasks.NUnitTestRunner::_result + IL_0020: ldarg.0 + IL_0021: ldc.i4.0 + IL_0022: stfld valuetype NAnt.NUnit1.Tasks.RunnerResult NAnt.NUnit1.Tasks.NUnitTestRunner::_resultCode + IL_0027: ldarg.0 + IL_0028: call instance void [NUnitCore]NUnit.Runner.BaseTestRunner::.ctor() + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: ldarg.1 + IL_0030: stfld class NAnt.NUnit1.Types.NUnitTestData NAnt.NUnit1.Tasks.NUnitTestRunner::_nunittest + IL_0035: ldarg.1 + IL_0036: callvirt instance string class NAnt.NUnit1.Types.NUnitTestData::get_Class() + IL_003b: ldstr "," + IL_0040: ldarg.1 + IL_0041: callvirt instance string class NAnt.NUnit1.Types.NUnitTestData::get_Assembly() + IL_0046: call string string::Concat(string, string, string) + IL_004b: stloc.0 + IL_004c: ldarg.0 + IL_004d: ldarg.0 + IL_004e: ldloc.0 + IL_004f: call instance NAnt.NUnit1Tasks - - - Represents a test element of an . - - - - - Base name of the test result. The full filename is determined by this - attribute and the extension of formatter. - - - - - Directory to write the reports to. - - - - - Class name of the test. - - - - - Assembly to load the test from. - - - - - Run the tests in a separate . - - - - - Stop the build process if an error occurs during the test run. - - - - - Stop the build process if a test fails (errors are considered failures - as well). - - - - - The application configuration file to use for the NUnit test domain. - - - - - Decorates NUnits with extra information such as - run-time. - - - - - Initializes a new instance of the - class. - - - - - Gets or sets the total run-time of a test. - - The total run-time of a test. - - - - Prints detailed information about running tests in XML format. - - - - - Initializes a new instance of the - class. - - - - - Sets the the formatter is supposed to - write its results to. - - - - - Called when the whole test suite has started. - - - - - Called when the whole test suite has ended. - - - - - Contains a strongly typed collection of objects. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with the specified instance. - - - - - Initializes a new instance of the class - with the specified array of instances. - - - - - Gets or sets the element at the specified index. - - The zero-based index of the element to get or set. - - - - Adds a to the end of the collection. - - The to be added to the end of the collection. - The position into which the new element was inserted. - - - - Adds the elements of a array to the end of the collection. - - The array of elements to be added to the end of the collection. - - - - Adds the elements of a to the end of the collection. - - The to be added to the end of the collection. - - - - Determines whether a is in the collection. - - The to locate in the collection. - - if is found in the - collection; otherwise, . - - - - - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. - - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. - - - - Retrieves the index of a specified object in the collection. - - The object for which the index is returned. - - The index of the specified . If the is not currently a member of the collection, it returns -1. - - - - - Inserts a into the collection at the specified index. - - The zero-based index at which should be inserted. - The to insert. - - - - Returns an enumerator that can iterate through the collection. - - - A for the entire collection. - - - - - Removes a member from the collection. - - The to remove from the collection. - - - - Enumerates the elements of a . - - - - - Initializes a new instance of the class PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll /usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll (monodis) @@ -87,252 +87,17 @@ .namespace NAnt.NUnit2.Types { - .class public auto ansi beforefieldinit Categories - extends [NAnt.Core]NAnt.Core.DataTypeBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 63 61 74 65 67 6F 72 69 65 73 00 00 ) // ...categories.. - - .field private class NAnt.NUnit2.Types.CategoryCollection _includes - .field private class NAnt.NUnit2.Types.CategoryCollection _excludes - - // method line 1 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2050 - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.NUnit2.Types.CategoryCollection::'.ctor'() - IL_0006: stfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_includes - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.NUnit2.Types.CategoryCollection::'.ctor'() - IL_0011: stfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_excludes - IL_0016: ldarg.0 - IL_0017: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() - IL_001c: ret - } // end of method Categories::.ctor - - // method line 2 - .method public hidebysig specialname - instance default class NAnt.NUnit2.Types.CategoryCollection get_Includes () cil managed - { - // Method begins at RVA 0x2070 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.NUnit2.Types.CategoryCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_includes - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Categories::get_Includes - - // method line 3 - .method public hidebysig specialname - instance default class NAnt.NUnit2.Types.CategoryCollection get_Excludes () cil managed - { - // Method begins at RVA 0x208c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.NUnit2.Types.CategoryCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_excludes - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Categories::get_Excludes - - .property instance class NAnt.NUnit2.Types.CategoryCollection Includes () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - - .get instance default class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::get_Includes () - } - .property instance class NAnt.NUnit2.Types.CategoryCollection Excludes () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. - - .get instance default class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::get_Excludes () - } - } // end of class NAnt.NUnit2.Types.Categories -} - -.namespace NAnt.NUnit2.Types -{ - .class public auto ansi beforefieldinit Category - extends [NAnt.Core]NAnt.Core.Element - { - .field private string _name - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 4 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x20a7 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.NUnit2.Types.Category::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method Category::.ctor - - // method line 5 - .method public hidebysig specialname - instance default string get_CategoryName () cil managed - { - // Method begins at RVA 0x20b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.NUnit2.Types.Category::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Category::get_CategoryName - - // method line 6 - .method public hidebysig specialname - instance default void set_CategoryName (string 'value') cil managed - { - // Method begins at RVA 0x20d3 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.NUnit2.Types.Category::_name - IL_000d: ret - } // end of method Category::set_CategoryName - - // method line 7 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x20e4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.NUnit2.Types.Category::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Category::get_IfDefined - - // method line 8 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x20ff - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.NUnit2.Types.Category::_ifDefined - IL_0008: ret - } // end of method Category::set_IfDefined - - // method line 9 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x210c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.NUnit2.Types.Category::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Category::get_UnlessDefined - - // method line 10 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x2127 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.NUnit2.Types.Category::_unlessDefined - IL_0008: ret - } // end of method Category::set_UnlessDefined - - .property instance string CategoryName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default string NAnt.NUnit2.Types.Category::get_CategoryName () - .set instance default void NAnt.NUnit2.Types.Category::set_CategoryName (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.NUnit2.Types.Category::get_IfDefined () - .set instance default void NAnt.NUnit2.Types.Category::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.NUnit2.Types.Category::get_UnlessDefined () - .set instance default void NAnt.NUnit2.Types.Category::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.NUnit2.Types.Category -} - -.namespace NAnt.NUnit2.Types -{ .class public auto ansi serializable beforefieldinit CategoryCollection extends class [mscorlib]System.Collections.ObjectModel.Collection`1 { .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 11 + // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2131 + // Method begins at RVA 0x2050 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -341,11 +106,11 @@ IL_0007: ret } // end of method CategoryCollection::.ctor - // method line 12 + // method line 2 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class [mscorlib]System.Collections.Generic.IList`1 'value') cil managed { - // Method begins at RVA 0x213a + // Method begins at RVA 0x2059 // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 @@ -355,11 +120,11 @@ IL_0008: ret } // end of method CategoryCollection::.ctor - // method line 13 + // method line 3 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.NUnit2.Types.CategoryCollection 'value') cil managed { - // Method begins at RVA 0x2144 + // Method begins at RVA 0x2063 // Code size 9 (0x9) .maxstack 8 IL_0000: ldarg.0 @@ -369,11 +134,11 @@ IL_0008: ret } // end of method CategoryCollection::.ctor - // method line 14 + // method line 4 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.NUnit2.Types.Category[] 'value') cil managed { - // Method begins at RVA 0x214e + // Method begins at RVA 0x206d // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -385,11 +150,11 @@ IL_000e: ret } // end of method CategoryCollection::.ctor - // method line 15 + // method line 5 .method public virtual hidebysig instance default string ToString () cil managed { - // Method begins at RVA 0x2160 + // Method begins at RVA 0x2080 // Code size 124 (0x7c) .maxstack 2 .locals init ( @@ -454,11 +219,11 @@ IL_007b: ret } // end of method CategoryCollection::ToString - // method line 16 + // method line 6 .method public hidebysig specialname instance default class NAnt.NUnit2.Types.Category get_Item (string 'value') cil managed { - // Method begins at RVA 0x21f8 + // Method begins at RVA 0x2118 // Code size 94 (0x5e) .maxstack 2 .locals init ( @@ -517,11 +282,11 @@ IL_005d: ret } // end of method CategoryCollection::get_Item - // method line 17 + // method line 7 .method public hidebysig instance default void AddRange (class [mscorlib]System.Collections.Generic.IEnumerable`1 items) cil managed { - // Method begins at RVA 0x2274 + // Method begins at RVA 0x2194 // Code size 60 (0x3c) .maxstack 2 .locals init ( @@ -570,1361 +335,1596 @@ .namespace NAnt.NUnit2.Types { - .class public auto ansi beforefieldinit NUnit2Test + .class public auto ansi beforefieldinit Category extends [NAnt.Core]NAnt.Core.Element { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 04 74 65 73 74 00 00 ) // ...test.. - - .field private class [mscorlib]System.IO.FileInfo _assemblyFile - .field private string _testname - .field private bool _haltOnFailure - .field private class [mscorlib]System.IO.FileInfo _xsltFile - .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _assemblies - .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _references - .field private class [mscorlib]System.IO.FileInfo _appConfigFile - .field private class NAnt.NUnit2.Types.Categories _categories + .field private string _name + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 18 + // method line 8 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x22cc - // Code size 47 (0x2f) + // Method begins at RVA 0x21ec + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.NUnit2.Types.NUnit2Test::_haltOnFailure + IL_0002: stfld bool NAnt.NUnit2.Types.Category::_ifDefined IL_0007: ldarg.0 - IL_0008: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_000d: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_assemblies - IL_0012: ldarg.0 - IL_0013: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0018: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_references - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.NUnit2.Types.Categories::'.ctor'() - IL_0023: stfld class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::_categories - IL_0028: ldarg.0 - IL_0029: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_002e: ret - } // end of method NUnit2Test::.ctor + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method Category::.ctor - // method line 19 + // method line 9 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed + instance default string get_CategoryName () cil managed { - // Method begins at RVA 0x22fc + // Method begins at RVA 0x21fc // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_assemblyFile + IL_0002: ldfld string NAnt.NUnit2.Types.Category::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NUnit2Test::get_AssemblyFile + } // end of method Category::get_CategoryName - // method line 20 + // method line 10 .method public hidebysig specialname - instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_CategoryName (string 'value') cil managed { - // Method begins at RVA 0x2317 - // Code size 9 (0x9) + // Method begins at RVA 0x2217 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_assemblyFile - IL_0008: ret - } // end of method NUnit2Test::set_AssemblyFile + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.NUnit2.Types.Category::_name + IL_000d: ret + } // end of method Category::set_CategoryName - // method line 21 + // method line 11 .method public hidebysig specialname - instance default string get_TestName () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x2324 + // Method begins at RVA 0x2228 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.NUnit2.Types.NUnit2Test::_testname + IL_0002: ldfld bool NAnt.NUnit2.Types.Category::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NUnit2Test::get_TestName + } // end of method Category::get_IfDefined - // method line 22 + // method line 12 .method public hidebysig specialname - instance default void set_TestName (string 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x233f + // Method begins at RVA 0x2243 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.NUnit2.Types.NUnit2Test::_testname + IL_0003: stfld bool NAnt.NUnit2.Types.Category::_ifDefined IL_0008: ret - } // end of method NUnit2Test::set_TestName + } // end of method Category::set_IfDefined - // method line 23 + // method line 13 .method public hidebysig specialname - instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x234c + // Method begins at RVA 0x2250 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_assemblies + IL_0002: ldfld bool NAnt.NUnit2.Types.Category::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NUnit2Test::get_Assemblies + } // end of method Category::get_UnlessDefined - // method line 24 + // method line 14 .method public hidebysig specialname - instance default void set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x2367 + // Method begins at RVA 0x226b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_assemblies + IL_0003: stfld bool NAnt.NUnit2.Types.Category::_unlessDefined IL_0008: ret - } // end of method NUnit2Test::set_Assemblies + } // end of method Category::set_UnlessDefined - // method line 25 - .method public hidebysig specialname - instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed - { - // Method begins at RVA 0x2374 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_references - IL_0007: stloc.0 - IL_0008: br IL_000d + .property instance string CategoryName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NUnit2Test::get_References + .get instance default string NAnt.NUnit2.Types.Category::get_CategoryName () + .set instance default void NAnt.NUnit2.Types.Category::set_CategoryName (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - // method line 26 - .method public hidebysig specialname - instance default void set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed - { - // Method begins at RVA 0x238f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_references - IL_0008: ret - } // end of method NUnit2Test::set_References + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 27 - .method public hidebysig specialname - instance default class NAnt.NUnit2.Types.Categories get_Categories () cil managed - { - // Method begins at RVA 0x239c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.NUnit2.Types.Categories V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::_categories - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default bool NAnt.NUnit2.Types.Category::get_IfDefined () + .set instance default void NAnt.NUnit2.Types.Category::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NUnit2Test::get_Categories + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 28 - .method public hidebysig specialname - instance default void set_Categories (class NAnt.NUnit2.Types.Categories 'value') cil managed - { - // Method begins at RVA 0x23b7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::_categories - IL_0008: ret - } // end of method NUnit2Test::set_Categories + .get instance default bool NAnt.NUnit2.Types.Category::get_UnlessDefined () + .set instance default void NAnt.NUnit2.Types.Category::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.NUnit2.Types.Category +} - // method line 29 - .method public hidebysig specialname - instance default bool get_HaltOnFailure () cil managed - { - // Method begins at RVA 0x23c4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.NUnit2.Types.NUnit2Test::_haltOnFailure - IL_0007: stloc.0 - IL_0008: br IL_000d +.namespace NAnt.NUnit2.Types +{ + .class public auto ansi beforefieldinit Categories + extends [NAnt.Core]NAnt.Core.DataTypeBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 63 61 74 65 67 6F 72 69 65 73 00 00 ) // ...categories.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NUnit2Test::get_HaltOnFailure + .field private class NAnt.NUnit2.Types.CategoryCollection _includes + .field private class NAnt.NUnit2.Types.CategoryCollection _excludes - // method line 30 - .method public hidebysig specialname - instance default void set_HaltOnFailure (bool 'value') cil managed + // method line 15 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x23df - // Code size 9 (0x9) + // Method begins at RVA 0x2275 + // Code size 29 (0x1d) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.NUnit2.Types.NUnit2Test::_haltOnFailure - IL_0008: ret - } // end of method NUnit2Test::set_HaltOnFailure + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.NUnit2.Types.CategoryCollection::'.ctor'() + IL_0006: stfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_includes + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.NUnit2.Types.CategoryCollection::'.ctor'() + IL_0011: stfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_excludes + IL_0016: ldarg.0 + IL_0017: call instance void class [NAnt.Core]NAnt.Core.DataTypeBase::'.ctor'() + IL_001c: ret + } // end of method Categories::.ctor - // method line 31 + // method line 16 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_XsltFile () cil managed + instance default class NAnt.NUnit2.Types.CategoryCollection get_Includes () cil managed { - // Method begins at RVA 0x23ec + // Method begins at RVA 0x2294 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.NUnit2.Types.CategoryCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_xsltFile + IL_0002: ldfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_includes IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NUnit2Test::get_XsltFile - - // method line 32 - .method public hidebysig specialname - instance default void set_XsltFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2407 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_xsltFile - IL_0008: ret - } // end of method NUnit2Test::set_XsltFile + } // end of method Categories::get_Includes - // method line 33 + // method line 17 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AppConfigFile () cil managed + instance default class NAnt.NUnit2.Types.CategoryCollection get_Excludes () cil managed { - // Method begins at RVA 0x2414 + // Method begins at RVA 0x22b0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.NUnit2.Types.CategoryCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_appConfigFile + IL_0002: ldfld class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::_excludes IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NUnit2Test::get_AppConfigFile - - // method line 34 - .method public hidebysig specialname - instance default void set_AppConfigFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x242f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_appConfigFile - IL_0008: ret - } // end of method NUnit2Test::set_AppConfigFile + } // end of method Categories::get_Excludes - // method line 35 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_TestAssemblies () cil managed - { - // Method begins at RVA 0x243c - // Code size 66 (0x42) - .maxstack 2 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class [System]System.Collections.Specialized.StringCollection V_1) - IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.NUnit2.Types.NUnit2Test::get_AssemblyFile() - IL_000d: brfalse IL_002b - - IL_0012: nop - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.NUnit2.Types.NUnit2Test::get_AssemblyFile() - IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0024: pop - IL_0025: nop - IL_0026: br IL_0039 - - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.NUnit2.Types.NUnit2Test::get_Assemblies() - IL_0032: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0037: stloc.0 - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.1 - IL_003b: br IL_0040 - - IL_0040: ldloc.1 - IL_0041: ret - } // end of method NUnit2Test::get_TestAssemblies - - .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 61 73 73 65 6D 62 6C 79 6E 61 6D 65 00 // ...assemblyname. - 00 ) // . - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::get_AssemblyFile () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string TestName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 74 65 73 74 6E 61 6D 65 00 00 ) // ...testname.. - - .get instance default string NAnt.NUnit2.Types.NUnit2Test::get_TestName () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_TestName (string 'value') - } - .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet Assemblies () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. - - .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::get_Assemblies () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet References () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - - .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::get_References () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance class NAnt.NUnit2.Types.Categories Categories () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 63 61 74 65 67 6F 72 69 65 73 00 00 ) // ...categories.. - - .get instance default class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::get_Categories () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_Categories (class NAnt.NUnit2.Types.Categories 'value') - } - .property instance bool HaltOnFailure () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 68 61 6C 74 6F 6E 66 61 69 6C 75 72 65 // ...haltonfailure - 00 00 ) // .. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.NUnit2.Types.NUnit2Test::get_HaltOnFailure () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_HaltOnFailure (bool 'value') - } - .property instance class [mscorlib]System.IO.FileInfo XsltFile () + .property instance class NAnt.NUnit2.Types.CategoryCollection Includes () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 74 72 61 6E 73 66 6F 72 6D 66 69 6C 65 // ...transformfile - 00 00 ) // .. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::get_XsltFile () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_XsltFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::get_Includes () } - .property instance class [mscorlib]System.IO.FileInfo AppConfigFile () + .property instance class NAnt.NUnit2.Types.CategoryCollection Excludes () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 61 70 70 63 6F 6E 66 69 67 00 00 ) // ...appconfig.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::get_AppConfigFile () - .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_AppConfigFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [System]System.Collections.Specialized.StringCollection TestAssemblies () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.NUnit2.Types.NUnit2Test::get_TestAssemblies () + .get instance default class NAnt.NUnit2.Types.CategoryCollection NAnt.NUnit2.Types.Categories::get_Excludes () } - } // end of class NAnt.NUnit2.Types.NUnit2Test + } // end of class NAnt.NUnit2.Types.Categories } -.namespace NAnt.NUnit2.Tasks +.namespace NAnt.NUnit2.Types { - .class private auto ansi beforefieldinit NUnit2TestDomain - extends [mscorlib]System.Object + .class public auto ansi serializable beforefieldinit NUnit2TestCollection + extends [mscorlib]System.Collections.CollectionBase { - .field private class [mscorlib]System.AppDomain _domain + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 36 + + // method line 18 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x248a + // Method begins at RVA 0x22cb // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() IL_0006: nop IL_0007: ret - } // end of method NUnit2TestDomain::.ctor + } // end of method NUnit2TestCollection::.ctor - // method line 37 - .method public hidebysig - (null) cil managed + // method line 19 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.NUnit2.Types.NUnit2TestCollection 'value') cil managed { - // Method begins at RVA 0x2494 - } // end of method NUnit2TestDomain:: + // Method begins at RVA 0x22d4 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.NUnit2.Types.NUnit2TestCollection::AddRange(class NAnt.NUnit2.Types.NUnit2TestCollection) + IL_000e: ret + } // end of method NUnit2TestCollection::.ctor - // method line 38 - .method public hidebysig - instance default void Unload () cil managed + // method line 20 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.NUnit2.Types.NUnit2Test[] 'value') cil managed { - // Method begins at RVA 0x25a4 - // Code size 51 (0x33) + // Method begins at RVA 0x22e4 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.NUnit2.Types.NUnit2TestCollection::AddRange(class NAnt.NUnit2.Types.NUnit2Test[]) + IL_000e: ret + } // end of method NUnit2TestCollection::.ctor + + // method line 21 + .method public hidebysig specialname + instance default class NAnt.NUnit2.Types.NUnit2Test get_Item (int32 index) cil managed + { + // Method begins at RVA 0x22f4 + // Code size 26 (0x1a) .maxstack 2 + .locals init ( + class NAnt.NUnit2.Types.NUnit2Test V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.AppDomain NAnt.NUnit2.Tasks.NUnit2TestDomain::_domain - IL_0007: brfalse IL_0032 - - IL_000c: nop - .try { // 1 - .try { // 0 - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldfld class [mscorlib]System.AppDomain NAnt.NUnit2.Tasks.NUnit2TestDomain::_domain - IL_0014: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) - IL_0019: nop - IL_001a: leave IL_0031 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.NUnit2.Types.NUnit2Test + IL_0012: stloc.0 + IL_0013: br IL_0018 - } // end .try 0 - catch class [mscorlib]System.CannotUnloadAppDomainException { // 0 - IL_001f: pop - IL_0020: nop - IL_0021: nop - IL_0022: leave IL_0031 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method NUnit2TestCollection::get_Item - } // end handler 0 - } // end .try 1 - finally { // 1 - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldnull - IL_002a: stfld class [mscorlib]System.AppDomain NAnt.NUnit2.Tasks.NUnit2TestDomain::_domain - IL_002f: nop - IL_0030: endfinally - } // end handler 1 - IL_0031: nop - IL_0032: ret - } // end of method NUnit2TestDomain::Unload + // method line 22 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.NUnit2.Types.NUnit2Test 'value') cil managed + { + // Method begins at RVA 0x231a + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method NUnit2TestCollection::set_Item - // method line 39 - .method private hidebysig - instance default class [mscorlib]System.AppDomain CreateDomain (class [mscorlib]System.IO.DirectoryInfo basedir, class [mscorlib]System.IO.FileInfo assemblyFile, class [mscorlib]System.IO.FileInfo configFile) cil managed + // method line 23 + .method public hidebysig + instance default int32 Add (class NAnt.NUnit2.Types.NUnit2Test item) cil managed { - // Method begins at RVA 0x2600 - // Code size 122 (0x7a) - .maxstack 5 + // Method begins at RVA 0x232c + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.AppDomainSetup V_0, - class [mscorlib]System.Security.PermissionSet V_1, - class [mscorlib]System.AppDomain V_2) + int32 V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.AppDomainSetup::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000e: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ApplicationBase(string) + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + IL_0013: ldloc.0 - IL_0014: ldstr "NAnt NUnit Remote Domain" - IL_0019: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ApplicationName(string) - IL_001e: ldarg.3 - IL_001f: brfalse IL_0037 + IL_0014: ret + } // end of method NUnit2TestCollection::Add - IL_0024: nop - IL_0025: ldloc.0 - IL_0026: ldarg.3 - IL_0027: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002c: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ConfigurationFile(string) - IL_0031: nop - IL_0032: br IL_004f - - IL_0037: nop - IL_0038: ldloc.0 - IL_0039: ldarg.2 - IL_003a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003f: ldstr ".config" - IL_0044: call string string::Concat(string, string) - IL_0049: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ConfigurationFile(string) - IL_004e: nop - IL_004f: ldc.i4.1 - IL_0050: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) - IL_0055: stloc.1 - IL_0056: ldloc.0 - IL_0057: callvirt instance string class [mscorlib]System.AppDomainSetup::get_ApplicationName() - IL_005c: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0061: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() - IL_0066: ldloc.0 - IL_0067: ldloc.1 - IL_0068: call !!0[] class [mscorlib]System.Array::Empty () - IL_006d: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string, class [mscorlib]System.Security.Policy.Evidence, class [mscorlib]System.AppDomainSetup, class [mscorlib]System.Security.PermissionSet, class [mscorlib]System.Security.Policy.StrongName[]) - IL_0072: stloc.2 - IL_0073: br IL_0078 - - IL_0078: ldloc.2 - IL_0079: ret - } // end of method NUnit2TestDomain::CreateDomain - - // method line 40 - .method private hidebysig - (null) cil managed + // method line 24 + .method public hidebysig + instance default void AddRange (class NAnt.NUnit2.Types.NUnit2Test[] items) cil managed { - // Method begins at RVA 0x2688 - } // end of method NUnit2TestDomain:: + // Method begins at RVA 0x2350 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - .class nested private auto ansi serializable beforefieldinit AssemblyResolveHandler - extends [mscorlib]System.Object - { - .field private initonly string[] _probePaths - .field private initonly string[] _referenceAssemblies - .field private initonly class [mscorlib]System.Collections.Hashtable _assemblyCache + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.NUnit2.Types.NUnit2TestCollection::Add(class NAnt.NUnit2.Types.NUnit2Test) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - // method line 41 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string[] probePaths, string[] referenceAssemblies) cil managed - { - // Method begins at RVA 0x26d8 - // Code size 77 (0x4d) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: stfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_probePaths - IL_0019: ldarg.0 - IL_001a: ldarg.2 - IL_001b: stfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_referenceAssemblies - IL_0020: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0025: ldarg.0 - IL_0026: ldftn instance class [mscorlib]System.Reflection.Assembly class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::ResolveAssembly(object, class [mscorlib]System.ResolveEventArgs) - IL_002c: newobj instance void class [mscorlib]System.ResolveEventHandler::'.ctor'(object, native int) - IL_0031: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyResolve(class [mscorlib]System.ResolveEventHandler) - IL_0036: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_003b: ldarg.0 - IL_003c: ldftn instance void class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::AssemblyLoad(object, class [mscorlib]System.AssemblyLoadEventArgs) - IL_0042: newobj instance void class [mscorlib]System.AssemblyLoadEventHandler::'.ctor'(object, native int) - IL_0047: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyLoad(class [mscorlib]System.AssemblyLoadEventHandler) - IL_004c: ret - } // end of method AssemblyResolveHandler::.ctor + IL_0021: ret + } // end of method NUnit2TestCollection::AddRange - // method line 42 + // method line 25 .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly ResolveAssembly (object sender, class [mscorlib]System.ResolveEventArgs args) cil managed + instance default void AddRange (class NAnt.NUnit2.Types.NUnit2TestCollection items) cil managed { - // Method begins at RVA 0x2734 - // Code size 441 (0x1b9) + // Method begins at RVA 0x2380 + // Code size 41 (0x29) .maxstack 3 .locals init ( - bool V_0, - class [mscorlib]System.Reflection.Assembly V_1, - class [mscorlib]System.Reflection.Assembly V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - class [mscorlib]System.IDisposable V_4, - string V_5, - string[] V_6, - int32 V_7, - class [mscorlib]System.Reflection.Assembly V_8, - string V_9, - string[] V_10, - int32 V_11, - string[] V_12, - string V_13, - string[] V_14, - int32 V_15, - class [mscorlib]System.Reflection.Assembly V_16) + int32 V_0) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_0007: ldstr "Version=" - IL_000c: callvirt instance int32 string::IndexOf(string) - IL_0011: ldc.i4.m1 - IL_0012: ceq - IL_0014: ldc.i4.0 - IL_0015: ceq - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: brfalse IL_0058 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache - IL_0025: ldarg.2 - IL_0026: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_002b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_0030: brfalse IL_0052 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.NUnit2.Types.NUnit2Test class NAnt.NUnit2.Types.NUnit2TestCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.NUnit2.Types.NUnit2TestCollection::Add(class NAnt.NUnit2.Types.NUnit2Test) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache - IL_003c: ldarg.2 - IL_003d: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_0042: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0047: castclass [mscorlib]System.Reflection.Assembly - IL_004c: stloc.1 - IL_004d: br IL_01b7 + IL_0028: ret + } // end of method NUnit2TestCollection::AddRange - IL_0052: nop - IL_0053: br IL_00c9 + // method line 26 + .method public hidebysig + instance default bool Contains (class NAnt.NUnit2.Types.NUnit2Test item) cil managed + { + // Method begins at RVA 0x23b8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0058: nop - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache - IL_0060: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_0065: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_006a: stloc.3 - .try { // 0 - IL_006b: br IL_00a2 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method NUnit2TestCollection::Contains - IL_0070: ldloc.3 - IL_0071: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0076: castclass [mscorlib]System.Reflection.Assembly - IL_007b: stloc.2 - IL_007c: nop - IL_007d: ldloc.2 - IL_007e: ldc.i4.0 - IL_007f: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) - IL_0084: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_0089: ldarg.2 - IL_008a: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_008f: call bool string::op_Equality(string, string) - IL_0094: brfalse IL_00a1 + // method line 27 + .method public hidebysig + instance default void CopyTo (class NAnt.NUnit2.Types.NUnit2Test[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x23d9 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method NUnit2TestCollection::CopyTo - IL_0099: nop - IL_009a: ldloc.2 - IL_009b: stloc.1 - IL_009c: leave IL_01b7 + // method line 28 + .method public hidebysig + instance default int32 IndexOf (class NAnt.NUnit2.Types.NUnit2Test item) cil managed + { + // Method begins at RVA 0x23ec + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00a1: nop - IL_00a2: ldloc.3 - IL_00a3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00a8: brtrue IL_0070 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method NUnit2TestCollection::IndexOf - IL_00ad: leave IL_00c8 - - } // end .try 0 - finally { // 0 - IL_00b2: ldloc.3 - IL_00b3: isinst [mscorlib]System.IDisposable - IL_00b8: dup - IL_00b9: stloc.s 4 - IL_00bb: brfalse IL_00c7 - - IL_00c0: ldloc.s 4 - IL_00c2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c7: endfinally - } // end handler 0 - IL_00c8: nop - IL_00c9: nop - IL_00ca: ldarg.0 - IL_00cb: ldfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_referenceAssemblies - IL_00d0: stloc.s 6 - IL_00d2: ldc.i4.0 - IL_00d3: stloc.s 7 - IL_00d5: br IL_010e - - IL_00da: ldloc.s 6 - IL_00dc: ldloc.s 7 - IL_00de: ldelem.ref - IL_00df: stloc.s 5 - IL_00e1: nop - IL_00e2: ldloc.s 5 - IL_00e4: ldarg.2 - IL_00e5: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_00ea: ldloc.0 - IL_00eb: call class [mscorlib]System.Reflection.Assembly class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::TryLoad(string, string, bool) - IL_00f0: stloc.s 8 - IL_00f2: ldloc.s 8 - IL_00f4: ldnull - IL_00f5: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_00fa: brfalse IL_0107 - - IL_00ff: ldloc.s 8 - IL_0101: stloc.1 - IL_0102: br IL_01b7 - - IL_0107: nop - IL_0108: ldloc.s 7 - IL_010a: ldc.i4.1 - IL_010b: add - IL_010c: stloc.s 7 - IL_010e: ldloc.s 7 - IL_0110: ldloc.s 6 - IL_0112: ldlen - IL_0113: conv.i4 - IL_0114: blt IL_00da - - IL_0119: nop - IL_011a: ldarg.0 - IL_011b: ldfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_probePaths - IL_0120: stloc.s 10 - IL_0122: ldc.i4.0 - IL_0123: stloc.s 11 - IL_0125: br IL_01a5 - - IL_012a: ldloc.s 10 - IL_012c: ldloc.s 11 - IL_012e: ldelem.ref - IL_012f: stloc.s 9 - IL_0131: nop - IL_0132: ldloc.s 9 - IL_0134: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0139: brtrue IL_0144 - - IL_013e: nop - IL_013f: br IL_019f - - IL_0144: ldloc.s 9 - IL_0146: ldstr "*.dll" - IL_014b: call string[] class [mscorlib]System.IO.Directory::GetFiles(string, string) - IL_0150: stloc.s 12 - IL_0152: nop - IL_0153: ldloc.s 12 - IL_0155: stloc.s 14 - IL_0157: ldc.i4.0 - IL_0158: stloc.s 15 - IL_015a: br IL_0193 - - IL_015f: ldloc.s 14 - IL_0161: ldloc.s 15 - IL_0163: ldelem.ref - IL_0164: stloc.s 13 - IL_0166: nop - IL_0167: ldloc.s 13 - IL_0169: ldarg.2 - IL_016a: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_016f: ldloc.0 - IL_0170: call class [mscorlib]System.Reflection.Assembly class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::TryLoad(string, string, bool) - IL_0175: stloc.s 16 - IL_0177: ldloc.s 16 - IL_0179: ldnull - IL_017a: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_017f: brfalse IL_018c - - IL_0184: ldloc.s 16 - IL_0186: stloc.1 - IL_0187: br IL_01b7 - - IL_018c: nop - IL_018d: ldloc.s 15 - IL_018f: ldc.i4.1 - IL_0190: add - IL_0191: stloc.s 15 - IL_0193: ldloc.s 15 - IL_0195: ldloc.s 14 - IL_0197: ldlen - IL_0198: conv.i4 - IL_0199: blt IL_015f - - IL_019e: nop - IL_019f: ldloc.s 11 - IL_01a1: ldc.i4.1 - IL_01a2: add - IL_01a3: stloc.s 11 - IL_01a5: ldloc.s 11 - IL_01a7: ldloc.s 10 - IL_01a9: ldlen - IL_01aa: conv.i4 - IL_01ab: blt IL_012a - - IL_01b0: ldnull - IL_01b1: stloc.1 - IL_01b2: br IL_01b7 - - IL_01b7: ldloc.1 - IL_01b8: ret - } // end of method AssemblyResolveHandler::ResolveAssembly + // method line 29 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.NUnit2.Types.NUnit2Test item) cil managed + { + // Method begins at RVA 0x240d + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method NUnit2TestCollection::Insert - // method line 43 - .method private static hidebysig - default class [mscorlib]System.Reflection.Assembly TryLoad (string assemblyFile, string name, bool isFullName) cil managed + // method line 30 + .method public hidebysig + instance default class NAnt.NUnit2.Types.NUnit2TestEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x290c - // Code size 101 (0x65) - .maxstack 2 + // Method begins at RVA 0x2420 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - class [mscorlib]System.Reflection.AssemblyName V_1, - class [mscorlib]System.Reflection.Assembly V_2) + class NAnt.NUnit2.Types.NUnit2TestEnumerator V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) - IL_000a: stloc.1 - IL_000b: ldarg.2 - IL_000c: brfalse IL_0032 - - IL_0011: nop - IL_0012: ldloc.1 - IL_0013: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() - IL_0018: ldarg.1 - IL_0019: call bool string::op_Equality(string, string) - IL_001e: brfalse IL_002c - - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_002a: stloc.0 - IL_002b: nop - IL_002c: nop - IL_002d: br IL_004e - - IL_0032: nop - IL_0033: ldloc.1 - IL_0034: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_0039: ldarg.1 - IL_003a: call bool string::op_Equality(string, string) - IL_003f: brfalse IL_004d - - IL_0044: nop - IL_0045: ldarg.0 - IL_0046: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_004b: stloc.0 - IL_004c: nop - IL_004d: nop - IL_004e: nop - IL_004f: leave IL_005c - - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0054: pop - IL_0055: nop - IL_0056: nop - IL_0057: leave IL_005c - - } // end handler 0 - IL_005c: ldloc.0 - IL_005d: stloc.2 - IL_005e: br IL_0063 + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.NUnit2.Types.NUnit2TestEnumerator::'.ctor'(class NAnt.NUnit2.Types.NUnit2TestCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0063: ldloc.2 - IL_0064: ret - } // end of method AssemblyResolveHandler::TryLoad + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2TestCollection::GetEnumerator - // method line 44 - .method private hidebysig - instance default void AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed + // method line 31 + .method public hidebysig + instance default void Remove (class NAnt.NUnit2.Types.NUnit2Test item) cil managed { - // Method begins at RVA 0x2990 - // Code size 30 (0x1e) + // Method begins at RVA 0x243b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache - IL_0007: ldarg.2 - IL_0008: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.AssemblyLoadEventArgs::get_LoadedAssembly() - IL_000d: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() - IL_0012: ldarg.2 - IL_0013: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.AssemblyLoadEventArgs::get_LoadedAssembly() - IL_0018: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_001d: ret - } // end of method AssemblyResolveHandler::AssemblyLoad - - } // end of class AssemblyResolveHandler + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method NUnit2TestCollection::Remove - } // end of class NAnt.NUnit2.Tasks.NUnit2TestDomain + .property instance class NAnt.NUnit2.Types.NUnit2Test Item (int32) + { + .get instance default class NAnt.NUnit2.Types.NUnit2Test NAnt.NUnit2.Types.NUnit2TestCollection::get_Item (int32 index) + .set instance default void NAnt.NUnit2.Types.NUnit2TestCollection::set_Item (int32 index, class NAnt.NUnit2.Types.NUnit2Test 'value') + } + } // end of class NAnt.NUnit2.Types.NUnit2TestCollection } .namespace NAnt.NUnit2.Types { - .class public auto ansi serializable beforefieldinit NUnit2TestCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - - // method line 45 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x29af - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method NUnit2TestCollection::.ctor - - // method line 46 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.NUnit2.Types.NUnit2TestCollection 'value') cil managed - { - // Method begins at RVA 0x29b8 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.NUnit2.Types.NUnit2TestCollection::AddRange(class NAnt.NUnit2.Types.NUnit2TestCollection) - IL_000e: ret - } // end of method NUnit2TestCollection::.ctor + .class public auto ansi beforefieldinit NUnit2TestEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 47 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.NUnit2.Types.NUnit2Test[] 'value') cil managed + // method line 32 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.NUnit2.Types.NUnit2TestCollection arguments) cil managed { - // Method begins at RVA 0x29c8 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x244c + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0001: call instance void object::'.ctor'() IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.NUnit2.Types.NUnit2TestCollection::AddRange(class NAnt.NUnit2.Types.NUnit2Test[]) - IL_000e: ret - } // end of method NUnit2TestCollection::.ctor + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator + IL_0015: ret + } // end of method NUnit2TestEnumerator::.ctor - // method line 48 + // method line 33 .method public hidebysig specialname - instance default class NAnt.NUnit2.Types.NUnit2Test get_Item (int32 index) cil managed + instance default class NAnt.NUnit2.Types.NUnit2Test get_Current () cil managed { - // Method begins at RVA 0x29d8 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2470 + // Code size 25 (0x19) + .maxstack 1 .locals init ( class NAnt.NUnit2.Types.NUnit2Test V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.NUnit2.Types.NUnit2Test - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method NUnit2TestCollection::get_Item + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.NUnit2.Types.NUnit2Test + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 49 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.NUnit2.Types.NUnit2Test 'value') cil managed - { - // Method begins at RVA 0x29fe - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method NUnit2TestCollection::set_Item + IL_0017: ldloc.0 + IL_0018: ret + } // end of method NUnit2TestEnumerator::get_Current - // method line 50 - .method public hidebysig - instance default int32 Add (class NAnt.NUnit2.Types.NUnit2Test item) cil managed + // method line 34 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x2a10 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2498 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 .locals init ( - int32 V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method NUnit2TestCollection::Add + IL_0012: ldloc.0 + IL_0013: ret + } // end of method NUnit2TestEnumerator::System.Collections.IEnumerator.get_Current - // method line 51 + // method line 35 .method public hidebysig - instance default void AddRange (class NAnt.NUnit2.Types.NUnit2Test[] items) cil managed + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x2a34 - // Code size 34 (0x22) - .maxstack 3 + // Method begins at RVA 0x24b8 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.NUnit2.Types.NUnit2TestCollection::Add(class NAnt.NUnit2.Types.NUnit2Test) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0021: ret - } // end of method NUnit2TestCollection::AddRange + IL_0012: ldloc.0 + IL_0013: ret + } // end of method NUnit2TestEnumerator::MoveNext - // method line 52 - .method public hidebysig - instance default void AddRange (class NAnt.NUnit2.Types.NUnit2TestCollection items) cil managed + // method line 36 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x2a64 - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0x24d8 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.NUnit2.Types.NUnit2Test class NAnt.NUnit2.Types.NUnit2TestCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.NUnit2.Types.NUnit2TestCollection::Add(class NAnt.NUnit2.Types.NUnit2Test) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0028: ret - } // end of method NUnit2TestCollection::AddRange + IL_0012: ldloc.0 + IL_0013: ret + } // end of method NUnit2TestEnumerator::System.Collections.IEnumerator.MoveNext - // method line 53 + // method line 37 .method public hidebysig - instance default bool Contains (class NAnt.NUnit2.Types.NUnit2Test item) cil managed + instance default void Reset () cil managed { - // Method begins at RVA 0x2a9c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x24f8 + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method NUnit2TestCollection::Contains + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method NUnit2TestEnumerator::Reset - // method line 54 - .method public hidebysig - instance default void CopyTo (class NAnt.NUnit2.Types.NUnit2Test[] 'array', int32 index) cil managed + // method line 38 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x2abd - // Code size 15 (0xf) + // Method begins at RVA 0x2506 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method NUnit2TestCollection::CopyTo + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method NUnit2TestEnumerator::System.Collections.IEnumerator.Reset - // method line 55 - .method public hidebysig - instance default int32 IndexOf (class NAnt.NUnit2.Types.NUnit2Test item) cil managed + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.NUnit2.Types.NUnit2TestEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.NUnit2.Types.NUnit2Test Current () + { + .get instance default class NAnt.NUnit2.Types.NUnit2Test NAnt.NUnit2.Types.NUnit2TestEnumerator::get_Current () + } + } // end of class NAnt.NUnit2.Types.NUnit2TestEnumerator +} + +.namespace NAnt.NUnit2.Types +{ + .class public auto ansi beforefieldinit NUnit2Test + extends [NAnt.Core]NAnt.Core.Element + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 04 74 65 73 74 00 00 ) // ...test.. + + .field private class [mscorlib]System.IO.FileInfo _assemblyFile + .field private string _testname + .field private bool _haltOnFailure + .field private class [mscorlib]System.IO.FileInfo _xsltFile + .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _assemblies + .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _references + .field private class [mscorlib]System.IO.FileInfo _appConfigFile + .field private class NAnt.NUnit2.Types.Categories _categories + + // method line 39 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2ad0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2514 + // Code size 47 (0x2f) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.NUnit2.Types.NUnit2Test::_haltOnFailure + IL_0007: ldarg.0 + IL_0008: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_000d: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_assemblies + IL_0012: ldarg.0 + IL_0013: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0018: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_references + IL_001d: ldarg.0 + IL_001e: newobj instance void class NAnt.NUnit2.Types.Categories::'.ctor'() + IL_0023: stfld class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::_categories + IL_0028: ldarg.0 + IL_0029: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_002e: ret + } // end of method NUnit2Test::.ctor + + // method line 40 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed + { + // Method begins at RVA 0x2544 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_assemblyFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method NUnit2TestCollection::IndexOf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2Test::get_AssemblyFile - // method line 56 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.NUnit2.Types.NUnit2Test item) cil managed + // method line 41 + .method public hidebysig specialname + instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x255f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_assemblyFile + IL_0008: ret + } // end of method NUnit2Test::set_AssemblyFile + + // method line 42 + .method public hidebysig specialname + instance default string get_TestName () cil managed { - // Method begins at RVA 0x2af1 + // Method begins at RVA 0x256c // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.NUnit2.Types.NUnit2Test::_testname + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2Test::get_TestName + + // method line 43 + .method public hidebysig specialname + instance default void set_TestName (string 'value') cil managed + { + // Method begins at RVA 0x2587 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.NUnit2.Types.NUnit2Test::_testname + IL_0008: ret + } // end of method NUnit2Test::set_TestName + + // method line 44 + .method public hidebysig specialname + instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed + { + // Method begins at RVA 0x2594 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_assemblies + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method NUnit2TestCollection::Insert + } // end of method NUnit2Test::get_Assemblies - // method line 57 - .method public hidebysig - instance default class NAnt.NUnit2.Types.NUnit2TestEnumerator GetEnumerator () cil managed + // method line 45 + .method public hidebysig specialname + instance default void set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + { + // Method begins at RVA 0x25af + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_assemblies + IL_0008: ret + } // end of method NUnit2Test::set_Assemblies + + // method line 46 + .method public hidebysig specialname + instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed { - // Method begins at RVA 0x2b04 + // Method begins at RVA 0x25bc // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.NUnit2.Types.NUnit2TestEnumerator V_0) + class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.NUnit2.Types.NUnit2TestEnumerator::'.ctor'(class NAnt.NUnit2.Types.NUnit2TestCollection) + IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_references + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2Test::get_References + + // method line 47 + .method public hidebysig specialname + instance default void set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + { + // Method begins at RVA 0x25d7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::_references + IL_0008: ret + } // end of method NUnit2Test::set_References + + // method line 48 + .method public hidebysig specialname + instance default class NAnt.NUnit2.Types.Categories get_Categories () cil managed + { + // Method begins at RVA 0x25e4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.NUnit2.Types.Categories V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::_categories + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2Test::get_Categories + + // method line 49 + .method public hidebysig specialname + instance default void set_Categories (class NAnt.NUnit2.Types.Categories 'value') cil managed + { + // Method begins at RVA 0x25ff + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::_categories + IL_0008: ret + } // end of method NUnit2Test::set_Categories + + // method line 50 + .method public hidebysig specialname + instance default bool get_HaltOnFailure () cil managed + { + // Method begins at RVA 0x260c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.NUnit2.Types.NUnit2Test::_haltOnFailure IL_0007: stloc.0 IL_0008: br IL_000d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NUnit2TestCollection::GetEnumerator + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2Test::get_HaltOnFailure + + // method line 51 + .method public hidebysig specialname + instance default void set_HaltOnFailure (bool 'value') cil managed + { + // Method begins at RVA 0x2627 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.NUnit2.Types.NUnit2Test::_haltOnFailure + IL_0008: ret + } // end of method NUnit2Test::set_HaltOnFailure + + // method line 52 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_XsltFile () cil managed + { + // Method begins at RVA 0x2634 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_xsltFile + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2Test::get_XsltFile + + // method line 53 + .method public hidebysig specialname + instance default void set_XsltFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x264f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_xsltFile + IL_0008: ret + } // end of method NUnit2Test::set_XsltFile + + // method line 54 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_AppConfigFile () cil managed + { + // Method begins at RVA 0x265c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_appConfigFile + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NUnit2Test::get_AppConfigFile + + // method line 55 + .method public hidebysig specialname + instance default void set_AppConfigFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x2677 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::_appConfigFile + IL_0008: ret + } // end of method NUnit2Test::set_AppConfigFile + + // method line 56 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_TestAssemblies () cil managed + { + // Method begins at RVA 0x2684 + // Code size 66 (0x42) + .maxstack 2 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0, + class [System]System.Collections.Specialized.StringCollection V_1) + IL_0000: nop + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.NUnit2.Types.NUnit2Test::get_AssemblyFile() + IL_000d: brfalse IL_002b + + IL_0012: nop + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.NUnit2.Types.NUnit2Test::get_AssemblyFile() + IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0024: pop + IL_0025: nop + IL_0026: br IL_0039 + + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.NUnit2.Types.NUnit2Test::get_Assemblies() + IL_0032: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0037: stloc.0 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.1 + IL_003b: br IL_0040 + + IL_0040: ldloc.1 + IL_0041: ret + } // end of method NUnit2Test::get_TestAssemblies + + .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 61 73 73 65 6D 62 6C 79 6E 61 6D 65 00 // ...assemblyname. + 00 ) // . + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::get_AssemblyFile () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string TestName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 74 65 73 74 6E 61 6D 65 00 00 ) // ...testname.. + + .get instance default string NAnt.NUnit2.Types.NUnit2Test::get_TestName () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_TestName (string 'value') + } + .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet Assemblies () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. + + .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::get_Assemblies () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet References () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. + + .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.NUnit2.Types.NUnit2Test::get_References () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance class NAnt.NUnit2.Types.Categories Categories () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 63 61 74 65 67 6F 72 69 65 73 00 00 ) // ...categories.. + + .get instance default class NAnt.NUnit2.Types.Categories NAnt.NUnit2.Types.NUnit2Test::get_Categories () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_Categories (class NAnt.NUnit2.Types.Categories 'value') + } + .property instance bool HaltOnFailure () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 68 61 6C 74 6F 6E 66 61 69 6C 75 72 65 // ...haltonfailure + 00 00 ) // .. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.NUnit2.Types.NUnit2Test::get_HaltOnFailure () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_HaltOnFailure (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo XsltFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 74 72 61 6E 73 66 6F 72 6D 66 69 6C 65 // ...transformfile + 00 00 ) // .. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::get_XsltFile () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_XsltFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo AppConfigFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 61 70 70 63 6F 6E 66 69 67 00 00 ) // ...appconfig.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.NUnit2.Types.NUnit2Test::get_AppConfigFile () + .set instance default void NAnt.NUnit2.Types.NUnit2Test::set_AppConfigFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [System]System.Collections.Specialized.StringCollection TestAssemblies () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.NUnit2.Types.NUnit2Test::get_TestAssemblies () + } + } // end of class NAnt.NUnit2.Types.NUnit2Test +} + +.namespace NAnt.NUnit2.Tasks +{ + .class private auto ansi beforefieldinit NUnit2TestDomain + extends [mscorlib]System.Object + { + .field private class [mscorlib]System.AppDomain _domain + + // method line 57 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x26d2 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method NUnit2TestDomain::.ctor + + // method line 58 + .method public hidebysig + (null) cil managed + { + // Method begins at RVA 0x26dc + } // end of method NUnit2TestDomain:: + + // method line 59 + .method public hidebysig + instance default void Unload () cil managed + { + // Method begins at RVA 0x27ec + // Code size 51 (0x33) + .maxstack 2 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.AppDomain NAnt.NUnit2.Tasks.NUnit2TestDomain::_domain + IL_0007: brfalse IL_0032 + + IL_000c: nop + .try { // 1 + .try { // 0 + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldfld class [mscorlib]System.AppDomain NAnt.NUnit2.Tasks.NUnit2TestDomain::_domain + IL_0014: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_0019: nop + IL_001a: leave IL_0031 + + } // end .try 0 + catch class [mscorlib]System.CannotUnloadAppDomainException { // 0 + IL_001f: pop + IL_0020: nop + IL_0021: nop + IL_0022: leave IL_0031 + + } // end handler 0 + } // end .try 1 + finally { // 1 + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldnull + IL_002a: stfld class [mscorlib]System.AppDomain NAnt.NUnit2.Tasks.NUnit2TestDomain::_domain + IL_002f: nop + IL_0030: endfinally + } // end handler 1 + IL_0031: nop + IL_0032: ret + } // end of method NUnit2TestDomain::Unload + + // method line 60 + .method private hidebysig + instance default class [mscorlib]System.AppDomain CreateDomain (class [mscorlib]System.IO.DirectoryInfo basedir, class [mscorlib]System.IO.FileInfo assemblyFile, class [mscorlib]System.IO.FileInfo configFile) cil managed + { + // Method begins at RVA 0x2848 + // Code size 122 (0x7a) + .maxstack 5 + .locals init ( + class [mscorlib]System.AppDomainSetup V_0, + class [mscorlib]System.Security.PermissionSet V_1, + class [mscorlib]System.AppDomain V_2) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.AppDomainSetup::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000e: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ApplicationBase(string) + IL_0013: ldloc.0 + IL_0014: ldstr "NAnt NUnit Remote Domain" + IL_0019: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ApplicationName(string) + IL_001e: ldarg.3 + IL_001f: brfalse IL_0037 + + IL_0024: nop + IL_0025: ldloc.0 + IL_0026: ldarg.3 + IL_0027: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002c: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ConfigurationFile(string) + IL_0031: nop + IL_0032: br IL_004f + + IL_0037: nop + IL_0038: ldloc.0 + IL_0039: ldarg.2 + IL_003a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_003f: ldstr ".config" + IL_0044: call string string::Concat(string, string) + IL_0049: callvirt instance void class [mscorlib]System.AppDomainSetup::set_ConfigurationFile(string) + IL_004e: nop + IL_004f: ldc.i4.1 + IL_0050: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) + IL_0055: stloc.1 + IL_0056: ldloc.0 + IL_0057: callvirt instance string class [mscorlib]System.AppDomainSetup::get_ApplicationName() + IL_005c: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0061: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() + IL_0066: ldloc.0 + IL_0067: ldloc.1 + IL_0068: call !!0[] class [mscorlib]System.Array::Empty () + IL_006d: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string, class [mscorlib]System.Security.Policy.Evidence, class [mscorlib]System.AppDomainSetup, class [mscorlib]System.Security.PermissionSet, class [mscorlib]System.Security.Policy.StrongName[]) + IL_0072: stloc.2 + IL_0073: br IL_0078 + + IL_0078: ldloc.2 + IL_0079: ret + } // end of method NUnit2TestDomain::CreateDomain + + // method line 61 + .method private hidebysig + (null) cil managed + { + // Method begins at RVA 0x28d0 + } // end of method NUnit2TestDomain:: + + .class nested private auto ansi serializable beforefieldinit AssemblyResolveHandler + extends [mscorlib]System.Object + { + .field private initonly string[] _probePaths + .field private initonly string[] _referenceAssemblies + .field private initonly class [mscorlib]System.Collections.Hashtable _assemblyCache + + // method line 62 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string[] probePaths, string[] referenceAssemblies) cil managed + { + // Method begins at RVA 0x2920 + // Code size 77 (0x4d) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: stfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_probePaths + IL_0019: ldarg.0 + IL_001a: ldarg.2 + IL_001b: stfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_referenceAssemblies + IL_0020: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0025: ldarg.0 + IL_0026: ldftn instance class [mscorlib]System.Reflection.Assembly class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::ResolveAssembly(object, class [mscorlib]System.ResolveEventArgs) + IL_002c: newobj instance void class [mscorlib]System.ResolveEventHandler::'.ctor'(object, native int) + IL_0031: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyResolve(class [mscorlib]System.ResolveEventHandler) + IL_0036: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_003b: ldarg.0 + IL_003c: ldftn instance void class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::AssemblyLoad(object, class [mscorlib]System.AssemblyLoadEventArgs) + IL_0042: newobj instance void class [mscorlib]System.AssemblyLoadEventHandler::'.ctor'(object, native int) + IL_0047: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyLoad(class [mscorlib]System.AssemblyLoadEventHandler) + IL_004c: ret + } // end of method AssemblyResolveHandler::.ctor + + // method line 63 + .method public hidebysig + instance default class [mscorlib]System.Reflection.Assembly ResolveAssembly (object sender, class [mscorlib]System.ResolveEventArgs args) cil managed + { + // Method begins at RVA 0x297c + // Code size 441 (0x1b9) + .maxstack 3 + .locals init ( + bool V_0, + class [mscorlib]System.Reflection.Assembly V_1, + class [mscorlib]System.Reflection.Assembly V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + class [mscorlib]System.IDisposable V_4, + string V_5, + string[] V_6, + int32 V_7, + class [mscorlib]System.Reflection.Assembly V_8, + string V_9, + string[] V_10, + int32 V_11, + string[] V_12, + string V_13, + string[] V_14, + int32 V_15, + class [mscorlib]System.Reflection.Assembly V_16) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_0007: ldstr "Version=" + IL_000c: callvirt instance int32 string::IndexOf(string) + IL_0011: ldc.i4.m1 + IL_0012: ceq + IL_0014: ldc.i4.0 + IL_0015: ceq + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brfalse IL_0058 + + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache + IL_0025: ldarg.2 + IL_0026: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_002b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0030: brfalse IL_0052 + + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache + IL_003c: ldarg.2 + IL_003d: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_0042: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0047: castclass [mscorlib]System.Reflection.Assembly + IL_004c: stloc.1 + IL_004d: br IL_01b7 + + IL_0052: nop + IL_0053: br IL_00c9 + + IL_0058: nop + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache + IL_0060: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_0065: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_006a: stloc.3 + .try { // 0 + IL_006b: br IL_00a2 + + IL_0070: ldloc.3 + IL_0071: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0076: castclass [mscorlib]System.Reflection.Assembly + IL_007b: stloc.2 + IL_007c: nop + IL_007d: ldloc.2 + IL_007e: ldc.i4.0 + IL_007f: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) + IL_0084: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_0089: ldarg.2 + IL_008a: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_008f: call bool string::op_Equality(string, string) + IL_0094: brfalse IL_00a1 + + IL_0099: nop + IL_009a: ldloc.2 + IL_009b: stloc.1 + IL_009c: leave IL_01b7 + + IL_00a1: nop + IL_00a2: ldloc.3 + IL_00a3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00a8: brtrue IL_0070 + + IL_00ad: leave IL_00c8 + + } // end .try 0 + finally { // 0 + IL_00b2: ldloc.3 + IL_00b3: isinst [mscorlib]System.IDisposable + IL_00b8: dup + IL_00b9: stloc.s 4 + IL_00bb: brfalse IL_00c7 + + IL_00c0: ldloc.s 4 + IL_00c2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c7: endfinally + } // end handler 0 + IL_00c8: nop + IL_00c9: nop + IL_00ca: ldarg.0 + IL_00cb: ldfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_referenceAssemblies + IL_00d0: stloc.s 6 + IL_00d2: ldc.i4.0 + IL_00d3: stloc.s 7 + IL_00d5: br IL_010e + + IL_00da: ldloc.s 6 + IL_00dc: ldloc.s 7 + IL_00de: ldelem.ref + IL_00df: stloc.s 5 + IL_00e1: nop + IL_00e2: ldloc.s 5 + IL_00e4: ldarg.2 + IL_00e5: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_00ea: ldloc.0 + IL_00eb: call class [mscorlib]System.Reflection.Assembly class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::TryLoad(string, string, bool) + IL_00f0: stloc.s 8 + IL_00f2: ldloc.s 8 + IL_00f4: ldnull + IL_00f5: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_00fa: brfalse IL_0107 + + IL_00ff: ldloc.s 8 + IL_0101: stloc.1 + IL_0102: br IL_01b7 + + IL_0107: nop + IL_0108: ldloc.s 7 + IL_010a: ldc.i4.1 + IL_010b: add + IL_010c: stloc.s 7 + IL_010e: ldloc.s 7 + IL_0110: ldloc.s 6 + IL_0112: ldlen + IL_0113: conv.i4 + IL_0114: blt IL_00da + + IL_0119: nop + IL_011a: ldarg.0 + IL_011b: ldfld string[] NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_probePaths + IL_0120: stloc.s 10 + IL_0122: ldc.i4.0 + IL_0123: stloc.s 11 + IL_0125: br IL_01a5 + + IL_012a: ldloc.s 10 + IL_012c: ldloc.s 11 + IL_012e: ldelem.ref + IL_012f: stloc.s 9 + IL_0131: nop + IL_0132: ldloc.s 9 + IL_0134: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0139: brtrue IL_0144 + + IL_013e: nop + IL_013f: br IL_019f + + IL_0144: ldloc.s 9 + IL_0146: ldstr "*.dll" + IL_014b: call string[] class [mscorlib]System.IO.Directory::GetFiles(string, string) + IL_0150: stloc.s 12 + IL_0152: nop + IL_0153: ldloc.s 12 + IL_0155: stloc.s 14 + IL_0157: ldc.i4.0 + IL_0158: stloc.s 15 + IL_015a: br IL_0193 + + IL_015f: ldloc.s 14 + IL_0161: ldloc.s 15 + IL_0163: ldelem.ref + IL_0164: stloc.s 13 + IL_0166: nop + IL_0167: ldloc.s 13 + IL_0169: ldarg.2 + IL_016a: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_016f: ldloc.0 + IL_0170: call class [mscorlib]System.Reflection.Assembly class NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::TryLoad(string, string, bool) + IL_0175: stloc.s 16 + IL_0177: ldloc.s 16 + IL_0179: ldnull + IL_017a: call bool class [mscorlib]System.Reflection.Assembly::op_Inequality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_017f: brfalse IL_018c + + IL_0184: ldloc.s 16 + IL_0186: stloc.1 + IL_0187: br IL_01b7 - // method line 58 - .method public hidebysig - instance default void Remove (class NAnt.NUnit2.Types.NUnit2Test item) cil managed - { - // Method begins at RVA 0x2b1f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method NUnit2TestCollection::Remove + IL_018c: nop + IL_018d: ldloc.s 15 + IL_018f: ldc.i4.1 + IL_0190: add + IL_0191: stloc.s 15 + IL_0193: ldloc.s 15 + IL_0195: ldloc.s 14 + IL_0197: ldlen + IL_0198: conv.i4 + IL_0199: blt IL_015f - .property instance class NAnt.NUnit2.Types.NUnit2Test Item (int32) - { - .get instance default class NAnt.NUnit2.Types.NUnit2Test NAnt.NUnit2.Types.NUnit2TestCollection::get_Item (int32 index) - .set instance default void NAnt.NUnit2.Types.NUnit2TestCollection::set_Item (int32 index, class NAnt.NUnit2.Types.NUnit2Test 'value') - } - } // end of class NAnt.NUnit2.Types.NUnit2TestCollection -} + IL_019e: nop + IL_019f: ldloc.s 11 + IL_01a1: ldc.i4.1 + IL_01a2: add + IL_01a3: stloc.s 11 + IL_01a5: ldloc.s 11 + IL_01a7: ldloc.s 10 + IL_01a9: ldlen + IL_01aa: conv.i4 + IL_01ab: blt IL_012a -.namespace NAnt.NUnit2.Types -{ - .class public auto ansi beforefieldinit NUnit2TestEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_01b0: ldnull + IL_01b1: stloc.1 + IL_01b2: br IL_01b7 - // method line 59 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.NUnit2.Types.NUnit2TestCollection arguments) cil managed - { - // Method begins at RVA 0x2b30 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator - IL_0015: ret - } // end of method NUnit2TestEnumerator::.ctor + IL_01b7: ldloc.1 + IL_01b8: ret + } // end of method AssemblyResolveHandler::ResolveAssembly - // method line 60 - .method public hidebysig specialname - instance default class NAnt.NUnit2.Types.NUnit2Test get_Current () cil managed + // method line 64 + .method private static hidebysig + default class [mscorlib]System.Reflection.Assembly TryLoad (string assemblyFile, string name, bool isFullName) cil managed { // Method begins at RVA 0x2b54 - // Code size 25 (0x19) - .maxstack 1 + // Code size 101 (0x65) + .maxstack 2 .locals init ( - class NAnt.NUnit2.Types.NUnit2Test V_0) + class [mscorlib]System.Reflection.Assembly V_0, + class [mscorlib]System.Reflection.AssemblyName V_1, + class [mscorlib]System.Reflection.Assembly V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.NUnit2.Types.NUnit2Test - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method NUnit2TestEnumerator::get_Current + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) + IL_000a: stloc.1 + IL_000b: ldarg.2 + IL_000c: brfalse IL_0032 - // method line 61 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x2b7c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0011: nop + IL_0012: ldloc.1 + IL_0013: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() + IL_0018: ldarg.1 + IL_0019: call bool string::op_Equality(string, string) + IL_001e: brfalse IL_002c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method NUnit2TestEnumerator::System.Collections.IEnumerator.get_Current + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_002a: stloc.0 + IL_002b: nop + IL_002c: nop + IL_002d: br IL_004e - // method line 62 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x2b9c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0032: nop + IL_0033: ldloc.1 + IL_0034: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_0039: ldarg.1 + IL_003a: call bool string::op_Equality(string, string) + IL_003f: brfalse IL_004d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method NUnit2TestEnumerator::MoveNext + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_004b: stloc.0 + IL_004c: nop + IL_004d: nop + IL_004e: nop + IL_004f: leave IL_005c - // method line 63 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x2bbc - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0054: pop + IL_0055: nop + IL_0056: nop + IL_0057: leave IL_005c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method NUnit2TestEnumerator::System.Collections.IEnumerator.MoveNext + } // end handler 0 + IL_005c: ldloc.0 + IL_005d: stloc.2 + IL_005e: br IL_0063 - // method line 64 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x2bdc - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method NUnit2TestEnumerator::Reset + IL_0063: ldloc.2 + IL_0064: ret + } // end of method AssemblyResolveHandler::TryLoad // method line 65 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + .method private hidebysig + instance default void AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed { - // Method begins at RVA 0x2bea - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) + // Method begins at RVA 0x2bd8 + // Code size 30 (0x1e) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.NUnit2.Types.NUnit2TestEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method NUnit2TestEnumerator::System.Collections.IEnumerator.Reset + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.NUnit2.Tasks.NUnit2TestDomain/AssemblyResolveHandler::_assemblyCache + IL_0007: ldarg.2 + IL_0008: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.AssemblyLoadEventArgs::get_LoadedAssembly() + IL_000d: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_0012: ldarg.2 + IL_0013: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.AssemblyLoadEventArgs::get_LoadedAssembly() + IL_0018: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_001d: ret + } // end of method AssemblyResolveHandler::AssemblyLoad - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.NUnit2.Types.NUnit2TestEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.NUnit2.Types.NUnit2Test Current () - { - .get instance default class NAnt.NUnit2.Types.NUnit2Test NAnt.NUnit2.Types.NUnit2TestEnumerator::get_Current () - } - } // end of class NAnt.NUnit2.Types.NUnit2TestEnumerator + } // end of class AssemblyResolveHandler + + } // end of class NAnt.NUnit2.Tasks.NUnit2TestDomain } .namespace NAnt.NUnit2.Tasks @@ -1943,7 +1943,7 @@ .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2bf8 + // Method begins at RVA 0x2bf7 // Code size 43 (0x2b) .maxstack 8 IL_0000: ldarg.0 /usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,67 +4,6 @@ NAnt.NUnit2Tasks - - - Controls the categories of tests to execute using the . - - - - Only include test cases and fixtures that require no internet access. - - - - - - ]]> - - - - - Exclude test cases and fixtures that are known to fail. - - - - - - ]]> - - - - - - Specifies a list of categories to include. - - - - - Specifies a list of categories to exclude. - - - - - Represents a certain group of test cases or fixtures. - - - - - A name of a category, or comma-separated list of names. - - - - - If then the category will be processed; - otherwise, skipped. The default is . - - - - - If then the category will be skipped; - otherwise, processed. The default is . - - Contains a collection of elements. @@ -128,132 +67,65 @@ the collection. - - - Represents a test element of an . - - - - - Name of the assembly to search for tests. - - - - - Name of a specific testfixture to run. If not specified then all - testfixtures are run. - - - - - Assemblies to include in test. - - - - - Assemblies to scan for missing assembly references. - - - - - Categories of test cases to include or exclude. - - - - - Build fails on failure. The default is . - - - - - XSLT transform file to use when using the - formatter. - - - - - The application configuration file to use for the NUnit test domain. - If not specified, NAnt will try to use a configuration name matching - the file name of the assembly with extension ".config". - - - - - Gets all assemblies specified for these tests. - - - All assemblies specified for these tests. - - - - - Custom TestDomain, similar to the one included with NUnit, in order - to workaround some limitations in it. - - - - - Initializes a new instance of the - class. - - - + - Runs a single testcase. + Represents a certain group of test cases or fixtures. - The test assembly. - The application configuration file for the test domain. - List of files to scan for missing assembly references. - - The result of the test. - - + - Helper class called when an assembly resolve event is raised. - - - - - Initializes an instanse of the - class. + A name of a category, or comma-separated list of names. - + - Called back when the CLR cannot resolve a given assembly. + If then the category will be processed; + otherwise, skipped. The default is . - The source of the event. - A that contains the event data. - - The nunit.framework we know to be in NAnts bin directory, if - that is the assembly that needs to be resolved; otherwise, - . - - + - Occurs when an assembly is loaded. The loaded assembly is added - to the assembly cache. + If then the category will be skipped; + otherwise, processed. The default is . - The source of the event. - An that contains the event data. - + - Holds the list of directories that will be scanned for missing - assembly references. PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.SourceControlTasks.dll /usr/share/NAnt/bin/NAnt.SourceControlTasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.SourceControlTasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.SourceControlTasks.dll (monodis) @@ -12,15 +12,15 @@ .ver 1:2:10:0 .publickeytoken = (1B 44 E1 D4 26 11 58 21 ) // .D..&.X! } +.assembly extern ICSharpCode.SharpCvsLib +{ + .ver 0:36:5:0 +} .assembly extern System { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern ICSharpCode.SharpCvsLib -{ - .ver 0:36:5:0 -} .assembly 'NAnt.SourceControlTasks' { .custom instance void class [mscorlib]System.Reflection.AssemblyDelaySignAttribute::'.ctor'(bool) = (01 00 00 00 00 ) // ..... @@ -66,418 +66,138 @@ .module NAnt.SourceControlTasks.dll // GUID = { 42 } -.namespace NAnt.SourceControl.Types +.namespace NAnt.SourceControl.Tasks { - .class public auto ansi beforefieldinit CvsFileSet - extends [NAnt.Core]NAnt.Core.Types.FileSet + .class public auto ansi beforefieldinit CvsPass + extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 63 76 73 66 69 6C 65 73 65 74 00 00 ) // ...cvsfileset.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 63 76 73 2D 70 61 73 73 00 00 ) // ...cvs-pass.. - .field private bool _useCvsIgnore + .field private string _password + .field private class [mscorlib]System.IO.FileInfo _passFile + .field private string _cvsRoot // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { // Method begins at RVA 0x2050 - // Code size 14 (0xe) + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.SourceControl.Types.CvsFileSet::_useCvsIgnore - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_000d: ret - } // end of method CvsFileSet::.ctor + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method CvsPass::.ctor // method line 2 .method public hidebysig specialname - instance default bool get_UseCvsIgnore () cil managed + instance default string get_Password () cil managed { - // Method begins at RVA 0x2060 + // Method begins at RVA 0x2058 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.SourceControl.Types.CvsFileSet::_useCvsIgnore + IL_0002: ldfld string NAnt.SourceControl.Tasks.CvsPass::_password IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CvsFileSet::get_UseCvsIgnore + } // end of method CvsPass::get_Password // method line 3 .method public hidebysig specialname - instance default void set_UseCvsIgnore (bool 'value') cil managed + instance default void set_Password (string 'value') cil managed { - // Method begins at RVA 0x207b + // Method begins at RVA 0x2073 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.SourceControl.Types.CvsFileSet::_useCvsIgnore + IL_0003: stfld string NAnt.SourceControl.Tasks.CvsPass::_password IL_0008: ret - } // end of method CvsFileSet::set_UseCvsIgnore + } // end of method CvsPass::set_Password // method line 4 - .method family virtual hidebysig - instance default void Initialize () cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_PassFile () cil managed { - // Method begins at RVA 0x2088 - // Code size 116 (0x74) - .maxstack 3 + // Method begins at RVA 0x2080 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - string V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IDisposable V_3) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.SourceControl.Types.CvsFileSet::get_UseCvsIgnore() - IL_0007: brfalse IL_006d - - IL_000c: nop - IL_000d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_001a: ldloc.0 - IL_001b: call instance void class NAnt.SourceControl.Types.CvsFileSet::ScanCvsIgnores(class [mscorlib]System.IO.DirectoryInfo, class [mscorlib]System.Collections.ArrayList) - IL_0020: nop - IL_0021: ldloc.0 - IL_0022: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0027: stloc.2 - .try { // 0 - IL_0028: br IL_0048 - - IL_002d: ldloc.2 - IL_002e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0033: castclass [mscorlib]System.String - IL_0038: stloc.1 - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Excludes() - IL_0040: ldloc.1 - IL_0041: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0046: pop - IL_0047: nop - IL_0048: ldloc.2 - IL_0049: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_004e: brtrue IL_002d - - IL_0053: leave IL_006c - - } // end .try 0 - finally { // 0 - IL_0058: ldloc.2 - IL_0059: isinst [mscorlib]System.IDisposable - IL_005e: dup - IL_005f: stloc.3 - IL_0060: brfalse IL_006b + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.SourceControl.Tasks.CvsPass::_passFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0065: ldloc.3 - IL_0066: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_006b: endfinally - } // end handler 0 - IL_006c: nop - IL_006d: ldarg.0 - IL_006e: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Initialize() - IL_0073: ret - } // end of method CvsFileSet::Initialize + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CvsPass::get_PassFile // method line 5 - .method private hidebysig - instance default void ScanCvsIgnores (class [mscorlib]System.IO.DirectoryInfo dir, class [mscorlib]System.Collections.ArrayList ignoreFiles) cil managed + .method public hidebysig specialname + instance default void set_PassFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2118 - // Code size 99 (0x63) - .maxstack 3 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - class [mscorlib]System.IO.FileInfo[] V_1, - int32 V_2, - class [mscorlib]System.IO.DirectoryInfo V_3, - class [mscorlib]System.IO.DirectoryInfo[] V_4, - int32 V_5) + // Method begins at RVA 0x209b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: nop + IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: ldstr "*.cvsignore" - IL_0008: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles(string) - IL_000d: stloc.1 - IL_000e: ldc.i4.0 - IL_000f: stloc.2 - IL_0010: br IL_0027 - - IL_0015: ldloc.1 - IL_0016: ldloc.2 - IL_0017: ldelem.ref - IL_0018: stloc.0 - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldloc.0 - IL_001c: ldarg.2 - IL_001d: call instance void class NAnt.SourceControl.Types.CvsFileSet::AddCvsIgnores(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.Collections.ArrayList) - IL_0022: nop - IL_0023: ldloc.2 - IL_0024: ldc.i4.1 - IL_0025: add - IL_0026: stloc.2 - IL_0027: ldloc.2 - IL_0028: ldloc.1 - IL_0029: ldlen - IL_002a: conv.i4 - IL_002b: blt IL_0015 - - IL_0030: nop - IL_0031: ldarg.1 - IL_0032: callvirt instance class [mscorlib]System.IO.DirectoryInfo[] class [mscorlib]System.IO.DirectoryInfo::GetDirectories() - IL_0037: stloc.s 4 - IL_0039: ldc.i4.0 - IL_003a: stloc.s 5 - IL_003c: br IL_0057 - - IL_0041: ldloc.s 4 - IL_0043: ldloc.s 5 - IL_0045: ldelem.ref - IL_0046: stloc.3 - IL_0047: nop - IL_0048: ldarg.0 - IL_0049: ldloc.3 - IL_004a: ldarg.2 - IL_004b: call instance void class NAnt.SourceControl.Types.CvsFileSet::ScanCvsIgnores(class [mscorlib]System.IO.DirectoryInfo, class [mscorlib]System.Collections.ArrayList) - IL_0050: nop - IL_0051: ldloc.s 5 - IL_0053: ldc.i4.1 - IL_0054: add - IL_0055: stloc.s 5 - IL_0057: ldloc.s 5 - IL_0059: ldloc.s 4 - IL_005b: ldlen - IL_005c: conv.i4 - IL_005d: blt IL_0041 - - IL_0062: ret - } // end of method CvsFileSet::ScanCvsIgnores + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.SourceControl.Tasks.CvsPass::_passFile + IL_0008: ret + } // end of method CvsPass::set_PassFile // method line 6 - .method private hidebysig - instance default void AddCvsIgnores (class [mscorlib]System.IO.FileInfo file, class [mscorlib]System.Collections.ArrayList ignoreFiles) cil managed + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed { - // Method begins at RVA 0x2188 - // Code size 127 (0x7f) - .maxstack 4 + // Method begins at RVA 0x20a8 + // Code size 19 (0x13) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - string V_1) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0007: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) - IL_000c: stloc.0 - .try { // 0 - IL_000d: nop - IL_000e: br IL_005e + IL_0001: call string class [mscorlib]System.Environment::get_CurrentDirectory() + IL_0006: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_000b: stloc.0 + IL_000c: br IL_0011 - IL_0013: nop - IL_0014: ldloc.1 - IL_0015: ldstr "." - IL_001a: callvirt instance int32 string::IndexOf(string) - IL_001f: brtrue IL_0048 + IL_0011: ldloc.0 + IL_0012: ret + } // end of method CvsPass::get_DestinationDirectory - IL_0024: nop - IL_0025: ldarg.2 - IL_0026: ldarg.1 - IL_0027: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_002c: ldstr "*" - IL_0031: ldloc.1 - IL_0032: call string string::Concat(string, string) - IL_0037: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_003c: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0041: pop - IL_0042: nop - IL_0043: br IL_005d - - IL_0048: nop - IL_0049: ldarg.2 - IL_004a: ldarg.1 - IL_004b: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_0050: ldloc.1 - IL_0051: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0056: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_005b: pop - IL_005c: nop - IL_005d: nop - IL_005e: ldloc.0 - IL_005f: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0064: dup - IL_0065: stloc.1 - IL_0066: brtrue IL_0013 - - IL_006b: nop - IL_006c: leave IL_007e - - } // end .try 0 - finally { // 0 - IL_0071: ldloc.0 - IL_0072: brfalse IL_007d - - IL_0077: ldloc.0 - IL_0078: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_007d: endfinally - } // end handler 0 - IL_007e: ret - } // end of method CvsFileSet::AddCvsIgnores - - .property instance bool UseCvsIgnore () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 75 73 65 63 76 73 69 67 6E 6F 72 65 01 // ...usecvsignore. - 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. - - .get instance default bool NAnt.SourceControl.Types.CvsFileSet::get_UseCvsIgnore () - .set instance default void NAnt.SourceControl.Types.CvsFileSet::set_UseCvsIgnore (bool 'value') - } - } // end of class NAnt.SourceControl.Types.CvsFileSet -} - -.namespace NAnt.SourceControl.Tasks -{ - .class public auto ansi beforefieldinit CvsPass - extends [NAnt.Core]NAnt.Core.Task - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 63 76 73 2D 70 61 73 73 00 00 ) // ...cvs-pass.. - - .field private string _password - .field private class [mscorlib]System.IO.FileInfo _passFile - .field private string _cvsRoot - - // method line 7 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2224 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method CvsPass::.ctor - - // method line 8 - .method public hidebysig specialname - instance default string get_Password () cil managed - { - // Method begins at RVA 0x222c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.SourceControl.Tasks.CvsPass::_password - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CvsPass::get_Password - - // method line 9 - .method public hidebysig specialname - instance default void set_Password (string 'value') cil managed - { - // Method begins at RVA 0x2247 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.SourceControl.Tasks.CvsPass::_password - IL_0008: ret - } // end of method CvsPass::set_Password - - // method line 10 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_PassFile () cil managed - { - // Method begins at RVA 0x2254 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.SourceControl.Tasks.CvsPass::_passFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CvsPass::get_PassFile - - // method line 11 - .method public hidebysig specialname - instance default void set_PassFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x226f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.SourceControl.Tasks.CvsPass::_passFile - IL_0008: ret - } // end of method CvsPass::set_PassFile - - // method line 12 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed - { - // Method begins at RVA 0x227c - // Code size 19 (0x13) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_CurrentDirectory() - IL_0006: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_000b: stloc.0 - IL_000c: br IL_0011 - - IL_0011: ldloc.0 - IL_0012: ret - } // end of method CvsPass::get_DestinationDirectory - - // method line 13 - .method public hidebysig specialname - instance default string get_Root () cil managed - { - // Method begins at RVA 0x229c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.SourceControl.Tasks.CvsPass::_cvsRoot - IL_0007: stloc.0 - IL_0008: br IL_000d + // method line 7 + .method public hidebysig specialname + instance default string get_Root () cil managed + { + // Method begins at RVA 0x20c8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.SourceControl.Tasks.CvsPass::_cvsRoot + IL_0007: stloc.0 + IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret } // end of method CvsPass::get_Root - // method line 14 + // method line 8 .method public hidebysig specialname instance default void set_Root (string 'value') cil managed { - // Method begins at RVA 0x22b7 + // Method begins at RVA 0x20e3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -487,11 +207,11 @@ IL_0008: ret } // end of method CvsPass::set_Root - // method line 15 + // method line 9 .method family virtual hidebysig instance default void Initialize () cil managed { - // Method begins at RVA 0x22c1 + // Method begins at RVA 0x20ed // Code size 31 (0x1f) .maxstack 8 IL_0000: nop @@ -508,11 +228,11 @@ IL_001e: ret } // end of method CvsPass::Initialize - // method line 16 + // method line 10 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x22e4 + // Method begins at RVA 0x2110 } // end of method CvsPass::ExecuteTask .property instance string Password () @@ -555,178 +275,189 @@ .namespace NAnt.SourceControl.Tasks { - .class public auto ansi beforefieldinit CheckoutTask + .class public auto ansi beforefieldinit RTagTask extends NAnt.SourceControl.Tasks.AbstractCvsTask { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( - 01 00 0C 63 76 73 2D 63 68 65 63 6B 6F 75 74 00 // ...cvs-checkout. - 00 ) // . + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 63 76 73 2D 72 74 61 67 00 00 ) // ...cvs-rtag.. - .field assembly static literal string CvsCommandName = "checkout" + .field private string _tag + .field private static literal string CvsCommandName = "rtag" - // method line 17 + // method line 11 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x35c0 + // Method begins at RVA 0x33ec // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() IL_0006: nop IL_0007: ret - } // end of method CheckoutTask::.ctor - - // method line 18 - .method public hidebysig specialname - instance default string get_Revision () cil managed - { - // Method begins at RVA 0x35cc - // Code size 64 (0x40) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "revision" - IL_000c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0011: brfalse IL_0037 - - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_001d: ldstr "revision" - IL_0022: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0027: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_002c: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_0031: stloc.0 - IL_0032: br IL_003e - - IL_0037: ldnull - IL_0038: stloc.0 - IL_0039: br IL_003e - - IL_003e: ldloc.0 - IL_003f: ret - } // end of method CheckoutTask::get_Revision - - // method line 19 - .method public hidebysig specialname - instance default void set_Revision (string 'value') cil managed - { - // Method begins at RVA 0x3618 - // Code size 66 (0x42) - .maxstack 5 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brfalse IL_0023 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0013: ldstr "revision" - IL_0018: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_001d: nop - IL_001e: br IL_0041 - - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: ldstr "revision" - IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002f: ldstr "-r {0}" - IL_0034: ldarg.1 - IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_003a: ldc.i4.1 - IL_003b: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0040: nop - IL_0041: ret - } // end of method CheckoutTask::set_Revision + } // end of method RTagTask::.ctor - // method line 20 + // method line 12 .method public hidebysig specialname - instance default string get_StickyTag () cil managed + instance default string get_Tag () cil managed { - // Method begins at RVA 0x3668 + // Method begins at RVA 0x33f8 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.SourceControl.Tasks.CheckoutTask::get_Revision() + IL_0002: ldfld string NAnt.SourceControl.Tasks.RTagTask::_tag IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CheckoutTask::get_StickyTag + } // end of method RTagTask::get_Tag - // method line 21 + // method line 13 .method public hidebysig specialname - instance default void set_StickyTag (string 'value') cil managed + instance default void set_Tag (string 'value') cil managed { - // Method begins at RVA 0x3683 + // Method begins at RVA 0x3413 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.SourceControl.Tasks.CheckoutTask::set_Revision(string) + IL_0003: stfld string NAnt.SourceControl.Tasks.RTagTask::_tag IL_0008: ret - } // end of method CheckoutTask::set_StickyTag + } // end of method RTagTask::set_Tag - // method line 22 + // method line 14 .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Date () cil managed + instance default bool get_Remove () cil managed { - // Method begins at RVA 0x3690 - // Code size 40 (0x28) + // Method begins at RVA 0x3420 + // Code size 35 (0x23) .maxstack 2 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "date" + IL_0007: ldstr "remove" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_0026: ldloc.0 - IL_0027: ret - } // end of method CheckoutTask::get_Date + IL_0021: ldloc.0 + IL_0022: ret + } // end of method RTagTask::get_Remove - // method line 23 + // method line 15 .method public hidebysig specialname - instance default void set_Date (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default void set_Remove (bool 'value') cil managed { - // Method begins at RVA 0x36c4 - // Code size 36 (0x24) + // Method begins at RVA 0x344f + // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "date" - IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-D \"{0}\"" - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) - IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_001d: ldc.i4.1 - IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0023: ret - } // end of method CheckoutTask::set_Date + IL_0002: ldstr "remove" + IL_0007: ldstr "-d" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ret + } // end of method RTagTask::set_Remove - // method line 24 + // method line 16 .method public hidebysig specialname - instance default string get_OverrideDir () cil managed + instance default bool get_MoveIfExists () cil managed + { + // Method begins at RVA 0x3464 + // Code size 35 (0x23) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "move-if-exists" + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_001b: stloc.0 + IL_001c: br IL_0021 + + IL_0021: ldloc.0 + IL_0022: ret + } // end of method RTagTask::get_MoveIfExists + + // method line 17 + .method public hidebysig specialname + instance default void set_MoveIfExists (bool 'value') cil managed + { + // Method begins at RVA 0x3493 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "move-if-exists" + IL_0007: ldstr "-F" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ret + } // end of method RTagTask::set_MoveIfExists + + // method line 18 + .method public hidebysig specialname + instance default bool get_Recursive () cil managed + { + // Method begins at RVA 0x34a8 + // Code size 35 (0x23) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "recursive" + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_001b: stloc.0 + IL_001c: br IL_0021 + + IL_0021: ldloc.0 + IL_0022: ret + } // end of method RTagTask::get_Recursive + + // method line 19 + .method public hidebysig specialname + instance default void set_Recursive (bool 'value') cil managed + { + // Method begins at RVA 0x34d7 + // Code size 39 (0x27) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "recursive" + IL_0007: ldstr "-R" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ldarg.0 + IL_0013: ldstr "local-only" + IL_0018: ldstr "-l" + IL_001d: ldarg.1 + IL_001e: ldc.i4.0 + IL_001f: ceq + IL_0021: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0026: ret + } // end of method RTagTask::set_Recursive + + // method line 20 + .method public hidebysig specialname + instance default string get_ActOnTag () cil managed { - // Method begins at RVA 0x36ec + // Method begins at RVA 0x3500 // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -734,7 +465,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "overridedir" + IL_0007: ldstr "act-on-tag" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() @@ -743,288 +474,582 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method CheckoutTask::get_OverrideDir + } // end of method RTagTask::get_ActOnTag - // method line 25 + // method line 21 .method public hidebysig specialname - instance default void set_OverrideDir (string 'value') cil managed + instance default void set_ActOnTag (string 'value') cil managed { - // Method begins at RVA 0x371b + // Method begins at RVA 0x352f // Code size 30 (0x1e) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "overridedir" + IL_0002: ldstr "act-on-tag" IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-d{0}" + IL_000c: ldstr "-r {0}" IL_0011: ldarg.1 IL_0012: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) IL_0017: ldc.i4.1 IL_0018: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_001d: ret - } // end of method CheckoutTask::set_OverrideDir + } // end of method RTagTask::set_ActOnTag - // method line 26 + // method line 22 .method public hidebysig specialname - instance default string get_OverrideDirectory () cil managed + instance default valuetype [mscorlib]System.DateTime get_ActOnDate () cil managed { - // Method begins at RVA 0x373c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3550 + // Code size 40 (0x28) + .maxstack 2 .locals init ( - string V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.SourceControl.Tasks.CheckoutTask::get_OverrideDir() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "act-on-date" + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) + IL_0020: stloc.0 + IL_0021: br IL_0026 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CheckoutTask::get_OverrideDirectory + IL_0026: ldloc.0 + IL_0027: ret + } // end of method RTagTask::get_ActOnDate - // method line 27 + // method line 23 .method public hidebysig specialname - instance default void set_OverrideDirectory (string 'value') cil managed + instance default void set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x3757 - // Code size 9 (0x9) + // Method begins at RVA 0x3584 + // Code size 36 (0x24) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.SourceControl.Tasks.CheckoutTask::set_OverrideDir(string) - IL_0008: ret - } // end of method CheckoutTask::set_OverrideDirectory + IL_0002: ldstr "act-on-date" + IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000c: ldstr "-D {0}" + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) + IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_001d: ldc.i4.1 + IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0023: ret + } // end of method RTagTask::set_ActOnDate - // method line 28 + // method line 24 + .method public hidebysig specialname + instance default bool get_ForceHead () cil managed + { + // Method begins at RVA 0x35ac + // Code size 35 (0x23) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "force-head" + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_001b: stloc.0 + IL_001c: br IL_0021 + + IL_0021: ldloc.0 + IL_0022: ret + } // end of method RTagTask::get_ForceHead + + // method line 25 + .method public hidebysig specialname + instance default void set_ForceHead (bool 'value') cil managed + { + // Method begins at RVA 0x35db + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "force-head" + IL_0007: ldstr "-f" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ret + } // end of method RTagTask::set_ForceHead + + // method line 26 .method public virtual hidebysig specialname instance default string get_CommandName () cil managed { - // Method begins at RVA 0x3764 + // Method begins at RVA 0x35f0 // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldstr "checkout" + IL_0001: ldstr "rtag" IL_0006: stloc.0 IL_0007: br IL_000c IL_000c: ldloc.0 IL_000d: ret - } // end of method CheckoutTask::get_CommandName - - .property instance string Revision () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 72 65 76 69 73 69 6F 6E 01 00 54 02 08 // ...revision..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. + } // end of method RTagTask::get_CommandName - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. - 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z - 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + // method line 27 + .method family virtual hidebysig + instance default void AppendSubCommandArgs () cil managed + { + // Method begins at RVA 0x360a + // Code size 54 (0x36) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AppendSubCommandArgs() + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.SourceControl.Tasks.RTagTask::get_Tag() + IL_000d: brfalse IL_0035 - .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_Revision () - .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_Revision (string 'value') - } - .property instance string StickyTag () + IL_0012: ldarg.0 + IL_0013: call instance string class NAnt.SourceControl.Tasks.RTagTask::get_Tag() + IL_0018: ldsfld string [mscorlib]System.String::Empty + IL_001d: call bool string::op_Inequality(string, string) + IL_0022: brfalse IL_0035 + + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldarg.0 + IL_002a: call instance string class NAnt.SourceControl.Tasks.RTagTask::get_Tag() + IL_002f: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AddArg(string) + IL_0034: nop + IL_0035: ret + } // end of method RTagTask::AppendSubCommandArgs + + .property instance string Tag () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 73 74 69 63 6B 79 2D 74 61 67 01 00 54 // ...sticky-tag..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + 01 00 03 74 61 67 01 00 54 02 08 52 65 71 75 69 // ...tag..T..Requi + 72 65 64 01 ) // red. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ - .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_StickyTag () - .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_StickyTag (string 'value') + .get instance default string NAnt.SourceControl.Tasks.RTagTask::get_Tag () + .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_Tag (string 'value') } - .property instance valuetype [mscorlib]System.DateTime Date () + .property instance bool Remove () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 64 61 74 65 01 00 54 02 08 52 65 71 75 // ...date..T..Requ - 69 72 65 64 00 ) // ired. + 01 00 06 72 65 6D 6F 76 65 01 00 54 02 08 52 65 // ...remove..T..Re + 71 75 69 72 65 64 00 ) // quired. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.CheckoutTask::get_Date () - .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_Date (valuetype [mscorlib]System.DateTime 'value') + .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_Remove () + .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_Remove (bool 'value') } - .property instance string OverrideDir () + .property instance bool MoveIfExists () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 6F 76 65 72 72 69 64 65 64 69 72 01 00 // ...overridedir.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. + 01 00 0E 6D 6F 76 65 2D 69 66 2D 65 78 69 73 74 // ...move-if-exist + 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // s..T..Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_MoveIfExists () + .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_MoveIfExists (bool 'value') + } + .property instance bool Recursive () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 72 65 63 75 72 73 69 76 65 01 00 54 02 // ...recursive..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_Recursive () + .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_Recursive (bool 'value') + } + .property instance string ActOnTag () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0A 61 63 74 2D 6F 6E 2D 74 61 67 01 00 54 // ...act-on-tag..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z + 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ - .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_OverrideDir () - .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_OverrideDir (string 'value') + .get instance default string NAnt.SourceControl.Tasks.RTagTask::get_ActOnTag () + .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_ActOnTag (string 'value') } - .property instance string OverrideDirectory () + .property instance valuetype [mscorlib]System.DateTime ActOnDate () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 12 6F 76 65 72 72 69 64 65 2D 64 69 72 65 // ...override-dire - 63 74 6F 72 79 01 00 54 02 08 52 65 71 75 69 72 // ctory..T..Requir - 65 64 00 ) // ed. + 01 00 0B 61 63 74 2D 6F 6E 2D 64 61 74 65 01 00 // ...act-on-date.. + 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. - .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_OverrideDirectory () - .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_OverrideDirectory (string 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.RTagTask::get_ActOnDate () + .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') + } + .property instance bool ForceHead () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0A 66 6F 72 63 65 2D 68 65 61 64 01 00 54 // ...force-head..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_ForceHead () + .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_ForceHead (bool 'value') } .property instance string CommandName () { - .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_CommandName () + .get instance default string NAnt.SourceControl.Tasks.RTagTask::get_CommandName () } - } // end of class NAnt.SourceControl.Tasks.CheckoutTask + } // end of class NAnt.SourceControl.Tasks.RTagTask } .namespace NAnt.SourceControl.Tasks { - .class public auto ansi beforefieldinit RTagTask + .class public auto ansi beforefieldinit ChangeLogTask extends NAnt.SourceControl.Tasks.AbstractCvsTask { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 63 76 73 2D 72 74 61 67 00 00 ) // ...cvs-rtag.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( + 01 00 0D 63 76 73 2D 63 68 61 6E 67 65 6C 6F 67 // ...cvs-changelog + 00 00 ) // .. - .field private string _tag - .field private static literal string CvsCommandName = "rtag" + .field private static literal string CvsCommandName = "xml" - // method line 29 + // method line 28 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x377e - // Code size 8 (0x8) + // Method begins at RVA 0x3641 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method RTagTask::.ctor + IL_0006: ret + } // end of method ChangeLogTask::.ctor - // method line 30 + // method line 29 .method public hidebysig specialname - instance default string get_Tag () cil managed + instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed { - // Method begins at RVA 0x3788 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x364c + // Code size 69 (0x45) + .maxstack 2 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.SourceControl.Tasks.RTagTask::_tag - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "destfile" + IL_000c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0011: brtrue IL_001e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RTagTask::get_Tag + IL_0016: nop + IL_0017: ldnull + IL_0018: stloc.0 + IL_0019: br IL_0043 - // method line 31 + IL_001e: ldarg.0 + IL_001f: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0024: ldstr "destfile" + IL_0029: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_002e: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0033: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0038: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_003d: stloc.0 + IL_003e: br IL_0043 + + IL_0043: ldloc.0 + IL_0044: ret + } // end of method ChangeLogTask::get_DestFile + + // method line 30 .method public hidebysig specialname - instance default void set_Tag (string 'value') cil managed + instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x37a3 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x36a0 + // Code size 65 (0x41) + .maxstack 5 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.SourceControl.Tasks.RTagTask::_tag - IL_0008: ret - } // end of method RTagTask::set_Tag + IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_DestinationDirectory() + IL_0007: brtrue IL_001f - // method line 32 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.1 + IL_000f: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_0014: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0019: callvirt instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::set_DestinationDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: ldstr "destfile" + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002a: ldstr "\"-oxml\" \"{0}\"" + IL_002f: ldarg.1 + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003a: ldc.i4.1 + IL_003b: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0040: ret + } // end of method ChangeLogTask::set_DestFile + + // method line 31 .method public hidebysig specialname - instance default bool get_Remove () cil managed + instance default valuetype [mscorlib]System.DateTime get_StartDate () cil managed { - // Method begins at RVA 0x37b0 - // Code size 35 (0x23) + // Method begins at RVA 0x36f0 + // Code size 40 (0x28) .maxstack 2 .locals init ( - bool V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "remove" + IL_0007: ldstr "start" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 + IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) + IL_0020: stloc.0 + IL_0021: br IL_0026 - IL_0021: ldloc.0 - IL_0022: ret - } // end of method RTagTask::get_Remove + IL_0026: ldloc.0 + IL_0027: ret + } // end of method ChangeLogTask::get_StartDate - // method line 33 + // method line 32 .method public hidebysig specialname - instance default void set_Remove (bool 'value') cil managed + instance default void set_StartDate (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x37df - // Code size 19 (0x13) + // Method begins at RVA 0x3724 + // Code size 36 (0x24) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "remove" - IL_0007: ldstr "-d" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method RTagTask::set_Remove + IL_0002: ldstr "start" + IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000c: ldstr "-D \"{0}\"" + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) + IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_001d: ldc.i4.1 + IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0023: ret + } // end of method ChangeLogTask::set_StartDate - // method line 34 + // method line 33 .method public hidebysig specialname - instance default bool get_MoveIfExists () cil managed + instance default valuetype [mscorlib]System.DateTime get_EndDate () cil managed { - // Method begins at RVA 0x37f4 - // Code size 35 (0x23) + // Method begins at RVA 0x374c + // Code size 40 (0x28) .maxstack 2 .locals init ( - bool V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "move-if-exists" + IL_0007: ldstr "end" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 - - IL_0021: ldloc.0 - IL_0022: ret - } // end of method RTagTask::get_MoveIfExists + IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) + IL_0020: stloc.0 + IL_0021: br IL_0026 - // method line 35 + IL_0026: ldloc.0 + IL_0027: ret + } // end of method ChangeLogTask::get_EndDate + + // method line 34 .method public hidebysig specialname - instance default void set_MoveIfExists (bool 'value') cil managed + instance default void set_EndDate (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x3823 - // Code size 19 (0x13) + // Method begins at RVA 0x3780 + // Code size 36 (0x24) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "move-if-exists" - IL_0007: ldstr "-F" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method RTagTask::set_MoveIfExists + IL_0002: ldstr "end" + IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000c: ldstr "-D \"{0}\"" + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) + IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_001d: ldc.i4.1 + IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0023: ret + } // end of method ChangeLogTask::set_EndDate + + // method line 35 + .method public virtual hidebysig specialname + instance default string get_CommandName () cil managed + { + // Method begins at RVA 0x37a8 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr "xml" + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method ChangeLogTask::get_CommandName // method line 36 + .method public virtual hidebysig specialname + instance default bool get_UseSharpCvsLib () cil managed + { + // Method begins at RVA 0x37c4 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ChangeLogTask::get_UseSharpCvsLib + + // method line 37 + .method public virtual hidebysig specialname + instance default void set_UseSharpCvsLib (bool 'value') cil managed + { + // Method begins at RVA 0x37da + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method ChangeLogTask::set_UseSharpCvsLib + + // method line 38 + .method public virtual hidebysig specialname + instance default string get_Root () cil managed + { + // Method begins at RVA 0x37e0 + } // end of method ChangeLogTask::get_Root + + // method line 39 + .method public virtual hidebysig specialname + instance default void set_Root (string 'value') cil managed + { + // Method begins at RVA 0x386c + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::set_Root(string) + IL_0008: ret + } // end of method ChangeLogTask::set_Root + + .property instance class [mscorlib]System.IO.FileInfo DestFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 78 6D 6C 66 69 6C 65 01 00 54 02 08 52 // ...xmlfile..T..R + 65 71 75 69 72 65 64 01 ) // equired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.SourceControl.Tasks.ChangeLogTask::get_DestFile () + .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_DestFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance valuetype [mscorlib]System.DateTime StartDate () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 73 74 61 72 74 01 00 54 02 08 52 65 71 // ...start..T..Req + 75 69 72 65 64 01 ) // uired. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.ChangeLogTask::get_StartDate () + .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_StartDate (valuetype [mscorlib]System.DateTime 'value') + } + .property instance valuetype [mscorlib]System.DateTime EndDate () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 65 6E 64 01 00 54 02 08 52 65 71 75 69 // ...end..T..Requi + 72 65 64 01 ) // red. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.ChangeLogTask::get_EndDate () + .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_EndDate (valuetype [mscorlib]System.DateTime 'value') + } + .property instance string CommandName () + { + .get instance default string NAnt.SourceControl.Tasks.ChangeLogTask::get_CommandName () + } + .property instance bool UseSharpCvsLib () + { + .get instance default bool NAnt.SourceControl.Tasks.ChangeLogTask::get_UseSharpCvsLib () + .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_UseSharpCvsLib (bool 'value') + } + .property instance string Root () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 63 76 73 72 6F 6F 74 01 00 54 02 08 52 // ...cvsroot..T..R + 65 71 75 69 72 65 64 00 ) // equired. + + .get instance default string NAnt.SourceControl.Tasks.ChangeLogTask::get_Root () + .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_Root (string 'value') + } + } // end of class NAnt.SourceControl.Tasks.ChangeLogTask +} + +.namespace NAnt.SourceControl.Tasks +{ + .class public auto ansi beforefieldinit UpdateTask + extends NAnt.SourceControl.Tasks.AbstractCvsTask + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 63 76 73 2D 75 70 64 61 74 65 00 00 ) // ...cvs-update.. + + .field assembly static literal string CvsCommandName = "update" + + // method line 40 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x3876 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldc.i4.1 + IL_0009: call instance void class NAnt.SourceControl.Tasks.UpdateTask::set_BuildDirs(bool) + IL_000e: ldarg.0 + IL_000f: ldc.i4.1 + IL_0010: call instance void class NAnt.SourceControl.Tasks.UpdateTask::set_PruneEmpty(bool) + IL_0015: ret + } // end of method UpdateTask::.ctor + + // method line 41 .method public hidebysig specialname - instance default bool get_Recursive () cil managed + instance default bool get_BuildDirs () cil managed { - // Method begins at RVA 0x3838 + // Method begins at RVA 0x3890 // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -1032,7 +1057,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "recursive" + IL_0007: ldstr "builddirs" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() @@ -1041,294 +1066,440 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method RTagTask::get_Recursive + } // end of method UpdateTask::get_BuildDirs - // method line 37 + // method line 42 .method public hidebysig specialname - instance default void set_Recursive (bool 'value') cil managed + instance default void set_BuildDirs (bool 'value') cil managed { - // Method begins at RVA 0x3867 - // Code size 39 (0x27) + // Method begins at RVA 0x38bf + // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "recursive" - IL_0007: ldstr "-R" + IL_0002: ldstr "builddirs" + IL_0007: ldstr "-d" IL_000c: ldarg.1 IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ldarg.0 - IL_0013: ldstr "local-only" - IL_0018: ldstr "-l" - IL_001d: ldarg.1 - IL_001e: ldc.i4.0 - IL_001f: ceq - IL_0021: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0026: ret - } // end of method RTagTask::set_Recursive + IL_0012: ret + } // end of method UpdateTask::set_BuildDirs - // method line 38 + // method line 43 .method public hidebysig specialname - instance default string get_ActOnTag () cil managed + instance default bool get_PruneEmpty () cil managed { - // Method begins at RVA 0x3890 + // Method begins at RVA 0x38d4 // Code size 35 (0x23) .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "act-on-tag" + IL_0007: ldstr "pruneempty" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() IL_001b: stloc.0 IL_001c: br IL_0021 IL_0021: ldloc.0 IL_0022: ret - } // end of method RTagTask::get_ActOnTag + } // end of method UpdateTask::get_PruneEmpty - // method line 39 + // method line 44 .method public hidebysig specialname - instance default void set_ActOnTag (string 'value') cil managed + instance default void set_PruneEmpty (bool 'value') cil managed { - // Method begins at RVA 0x38bf - // Code size 30 (0x1e) + // Method begins at RVA 0x3903 + // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "act-on-tag" - IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-r {0}" - IL_0011: ldarg.1 - IL_0012: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0017: ldc.i4.1 - IL_0018: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_001d: ret - } // end of method RTagTask::set_ActOnTag + IL_0002: ldstr "pruneempty" + IL_0007: ldstr "-P" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ret + } // end of method UpdateTask::set_PruneEmpty - // method line 40 + // method line 45 .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_ActOnDate () cil managed + instance default bool get_OverwriteLocal () cil managed { - // Method begins at RVA 0x38e0 - // Code size 40 (0x28) + // Method begins at RVA 0x3918 + // Code size 35 (0x23) .maxstack 2 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "act-on-date" + IL_0007: ldstr "overwritelocal" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_0026: ldloc.0 - IL_0027: ret - } // end of method RTagTask::get_ActOnDate + IL_0021: ldloc.0 + IL_0022: ret + } // end of method UpdateTask::get_OverwriteLocal - // method line 41 + // method line 46 .method public hidebysig specialname - instance default void set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default void set_OverwriteLocal (bool 'value') cil managed { - // Method begins at RVA 0x3914 - // Code size 36 (0x24) + // Method begins at RVA 0x3947 + // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "act-on-date" - IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-D {0}" - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) - IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_001d: ldc.i4.1 - IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0023: ret - } // end of method RTagTask::set_ActOnDate + IL_0002: ldstr "overwritelocal" + IL_0007: ldstr "-C" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ret + } // end of method UpdateTask::set_OverwriteLocal - // method line 42 + // method line 47 .method public hidebysig specialname - instance default bool get_ForceHead () cil managed + instance default bool get_Recursive () cil managed { - // Method begins at RVA 0x393c - // Code size 35 (0x23) + // Method begins at RVA 0x395c + // Code size 67 (0x43) .maxstack 2 .locals init ( - bool V_0) + class [NAnt.Core]NAnt.Core.Types.Option V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "force-head" + IL_0007: ldstr "recursive" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brfalse IL_0032 - IL_0021: ldloc.0 - IL_0022: ret - } // end of method RTagTask::get_ForceHead + IL_001d: ldloc.0 + IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0023: ldstr "-R" + IL_0028: call bool string::op_Equality(string, string) + IL_002d: brfalse IL_003a - // method line 43 + IL_0032: nop + IL_0033: ldc.i4.1 + IL_0034: stloc.1 + IL_0035: br IL_0041 + + IL_003a: ldc.i4.0 + IL_003b: stloc.1 + IL_003c: br IL_0041 + + IL_0041: ldloc.1 + IL_0042: ret + } // end of method UpdateTask::get_Recursive + + // method line 48 .method public hidebysig specialname - instance default void set_ForceHead (bool 'value') cil managed + instance default void set_Recursive (bool 'value') cil managed { - // Method begins at RVA 0x396b - // Code size 19 (0x13) + // Method begins at RVA 0x39ab + // Code size 51 (0x33) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "force-head" - IL_0007: ldstr "-f" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method RTagTask::set_ForceHead + IL_0001: ldarg.1 + IL_0002: brfalse IL_001f - // method line 44 - .method public virtual hidebysig specialname - instance default string get_CommandName () cil managed - { - // Method begins at RVA 0x3980 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr "rtag" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldstr "recursive" + IL_000e: ldstr "-R" + IL_0013: ldc.i4.1 + IL_0014: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0019: nop + IL_001a: br IL_0032 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method RTagTask::get_CommandName + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: ldstr "recursive" + IL_0026: ldstr "-l" + IL_002b: ldc.i4.1 + IL_002c: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0031: nop + IL_0032: ret + } // end of method UpdateTask::set_Recursive - // method line 45 - .method family virtual hidebysig - instance default void AppendSubCommandArgs () cil managed + // method line 49 + .method public hidebysig specialname + instance default string get_Revision () cil managed { - // Method begins at RVA 0x399a - // Code size 54 (0x36) - .maxstack 8 + // Method begins at RVA 0x39e0 + // Code size 64 (0x40) + .maxstack 2 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AppendSubCommandArgs() - IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.SourceControl.Tasks.RTagTask::get_Tag() - IL_000d: brfalse IL_0035 + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "revision" + IL_000c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0011: brfalse IL_0037 - IL_0012: ldarg.0 - IL_0013: call instance string class NAnt.SourceControl.Tasks.RTagTask::get_Tag() - IL_0018: ldsfld string [mscorlib]System.String::Empty - IL_001d: call bool string::op_Inequality(string, string) - IL_0022: brfalse IL_0035 + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_001d: ldstr "revision" + IL_0022: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0027: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_002c: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0031: stloc.0 + IL_0032: br IL_003e - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldarg.0 - IL_002a: call instance string class NAnt.SourceControl.Tasks.RTagTask::get_Tag() - IL_002f: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AddArg(string) - IL_0034: nop - IL_0035: ret - } // end of method RTagTask::AppendSubCommandArgs + IL_0037: ldnull + IL_0038: stloc.0 + IL_0039: br IL_003e - .property instance string Tag () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 74 61 67 01 00 54 02 08 52 65 71 75 69 // ...tag..T..Requi - 72 65 64 01 ) // red. + IL_003e: ldloc.0 + IL_003f: ret + } // end of method UpdateTask::get_Revision - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. - 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z - 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + // method line 50 + .method public hidebysig specialname + instance default void set_Revision (string 'value') cil managed + { + // Method begins at RVA 0x3a2c + // Code size 66 (0x42) + .maxstack 5 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brfalse IL_0023 - .get instance default string NAnt.SourceControl.Tasks.RTagTask::get_Tag () - .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_Tag (string 'value') - } - .property instance bool Remove () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 72 65 6D 6F 76 65 01 00 54 02 08 52 65 // ...remove..T..Re - 71 75 69 72 65 64 00 ) // quired. + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0013: ldstr "revision" + IL_0018: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_001d: nop + IL_001e: br IL_0041 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldstr "revision" + IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002f: ldstr "-r {0}" + IL_0034: ldarg.1 + IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003a: ldc.i4.1 + IL_003b: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0040: nop + IL_0041: ret + } // end of method UpdateTask::set_Revision - .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_Remove () - .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_Remove (bool 'value') - } - .property instance bool MoveIfExists () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 6D 6F 76 65 2D 69 66 2D 65 78 69 73 74 // ...move-if-exist - 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // s..T..Required. + // method line 51 + .method public hidebysig specialname + instance default string get_StickyTag () cil managed + { + // Method begins at RVA 0x3a7c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.SourceControl.Tasks.UpdateTask::get_Revision() + IL_0007: stloc.0 + IL_0008: br IL_000d - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method UpdateTask::get_StickyTag - .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_MoveIfExists () - .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_MoveIfExists (bool 'value') - } - .property instance bool Recursive () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 72 65 63 75 72 73 69 76 65 01 00 54 02 // ...recursive..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + // method line 52 + .method public hidebysig specialname + instance default void set_StickyTag (string 'value') cil managed + { + // Method begins at RVA 0x3a97 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.SourceControl.Tasks.UpdateTask::set_Revision(string) + IL_0008: ret + } // end of method UpdateTask::set_StickyTag - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 53 + .method public hidebysig specialname + instance default valuetype [mscorlib]System.DateTime get_Date () cil managed + { + // Method begins at RVA 0x3aa4 + // Code size 40 (0x28) + .maxstack 2 + .locals init ( + valuetype [mscorlib]System.DateTime V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "date" + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) + IL_0020: stloc.0 + IL_0021: br IL_0026 - .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_Recursive () - .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_Recursive (bool 'value') + IL_0026: ldloc.0 + IL_0027: ret + } // end of method UpdateTask::get_Date + + // method line 54 + .method public hidebysig specialname + instance default void set_Date (valuetype [mscorlib]System.DateTime 'value') cil managed + { + // Method begins at RVA 0x3ad8 + // Code size 36 (0x24) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "date" + IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000c: ldstr "-D \"{0}\"" + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) + IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_001d: ldc.i4.1 + IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0023: ret + } // end of method UpdateTask::set_Date + + // method line 55 + .method family virtual hidebysig specialname + instance default bool get_IsModuleNeeded () cil managed + { + // Method begins at RVA 0x3b00 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method UpdateTask::get_IsModuleNeeded + + // method line 56 + .method public virtual hidebysig specialname + instance default string get_CommandName () cil managed + { + // Method begins at RVA 0x3b18 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr "update" + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method UpdateTask::get_CommandName + + .property instance bool BuildDirs () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 62 75 69 6C 64 64 69 72 73 01 00 54 02 // ...builddirs..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_BuildDirs () + .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_BuildDirs (bool 'value') } - .property instance string ActOnTag () + .property instance bool PruneEmpty () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 61 63 74 2D 6F 6E 2D 74 61 67 01 00 54 // ...act-on-tag..T + 01 00 0A 70 72 75 6E 65 65 6D 70 74 79 01 00 54 // ...pruneempty..T 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_PruneEmpty () + .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_PruneEmpty (bool 'value') + } + .property instance bool OverwriteLocal () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 6F 76 65 72 77 72 69 74 65 6C 6F 63 61 // ...overwriteloca + 6C 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // l..T..Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_OverwriteLocal () + .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_OverwriteLocal (bool 'value') + } + .property instance bool Recursive () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 72 65 63 75 72 73 69 76 65 01 00 54 02 // ...recursive..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_Recursive () + .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_Recursive (bool 'value') + } + .property instance string Revision () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 72 65 76 69 73 69 6F 6E 01 00 54 02 08 // ...revision..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 79 01 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ - .get instance default string NAnt.SourceControl.Tasks.RTagTask::get_ActOnTag () - .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_ActOnTag (string 'value') + .get instance default string NAnt.SourceControl.Tasks.UpdateTask::get_Revision () + .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_Revision (string 'value') } - .property instance valuetype [mscorlib]System.DateTime ActOnDate () + .property instance string StickyTag () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 61 63 74 2D 6F 6E 2D 64 61 74 65 01 00 // ...act-on-date.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 01 00 0A 73 74 69 63 6B 79 2D 74 61 67 01 00 54 // ...sticky-tag..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. - .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.RTagTask::get_ActOnDate () - .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') + .get instance default string NAnt.SourceControl.Tasks.UpdateTask::get_StickyTag () + .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_StickyTag (string 'value') } - .property instance bool ForceHead () + .property instance valuetype [mscorlib]System.DateTime Date () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 66 6F 72 63 65 2D 68 65 61 64 01 00 54 // ...force-head..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + 01 00 04 64 61 74 65 01 00 54 02 08 52 65 71 75 // ...date..T..Requ + 69 72 65 64 00 ) // ired. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.SourceControl.Tasks.RTagTask::get_ForceHead () - .set instance default void NAnt.SourceControl.Tasks.RTagTask::set_ForceHead (bool 'value') + .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.UpdateTask::get_Date () + .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_Date (valuetype [mscorlib]System.DateTime 'value') + } + .property instance bool IsModuleNeeded () + { + .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_IsModuleNeeded () } .property instance string CommandName () { - .get instance default string NAnt.SourceControl.Tasks.RTagTask::get_CommandName () + .get instance default string NAnt.SourceControl.Tasks.UpdateTask::get_CommandName () } - } // end of class NAnt.SourceControl.Tasks.RTagTask + } // end of class NAnt.SourceControl.Tasks.UpdateTask } .namespace NAnt.SourceControl.Tasks @@ -1355,11 +1526,11 @@ .field private class [NAnt.Core]NAnt.Core.Types.FileSet _fileset .field private static initonly class [log4net]log4net.ILog Logger - // method line 46 + // method line 57 .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x236a + // Method begins at RVA 0x2196 // Code size 48 (0x30) .maxstack 8 IL_0000: ldarg.0 @@ -1380,18 +1551,18 @@ IL_002f: ret } // end of method AbstractSourceControlTask::.ctor - // method line 47 + // method line 58 .method family virtual hidebysig newslot abstract specialname instance default string get_PassFileName () cil managed { // Method begins at RVA 0x0 } // end of method AbstractSourceControlTask::get_PassFileName - // method line 48 + // method line 59 .method family hidebysig specialname instance default class [mscorlib]System.IO.DirectoryInfo get_VcsHome () cil managed { - // Method begins at RVA 0x239c + // Method begins at RVA 0x21c8 // Code size 54 (0x36) .maxstack 1 .locals init ( @@ -1425,25 +1596,25 @@ IL_0035: ret } // end of method AbstractSourceControlTask::get_VcsHome - // method line 49 + // method line 60 .method family virtual hidebysig newslot abstract specialname instance default string get_VcsHomeEnv () cil managed { // Method begins at RVA 0x0 } // end of method AbstractSourceControlTask::get_VcsHomeEnv - // method line 50 + // method line 61 .method family virtual hidebysig newslot abstract specialname instance default string get_VcsExeName () cil managed { // Method begins at RVA 0x0 } // end of method AbstractSourceControlTask::get_VcsExeName - // method line 51 + // method line 62 .method public virtual hidebysig newslot specialname instance default string get_Root () cil managed { - // Method begins at RVA 0x23e0 + // Method begins at RVA 0x220c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1458,11 +1629,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_Root - // method line 52 + // method line 63 .method public virtual hidebysig newslot specialname instance default void set_Root (string 'value') cil managed { - // Method begins at RVA 0x23fb + // Method begins at RVA 0x2227 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1472,11 +1643,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_Root - // method line 53 + // method line 64 .method public virtual hidebysig newslot specialname instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed { - // Method begins at RVA 0x2408 + // Method begins at RVA 0x2234 // Code size 44 (0x2c) .maxstack 2 .locals init ( @@ -1501,11 +1672,11 @@ IL_002b: ret } // end of method AbstractSourceControlTask::get_DestinationDirectory - // method line 54 + // method line 65 .method public virtual hidebysig newslot specialname instance default void set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x2440 + // Method begins at RVA 0x226c // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1515,11 +1686,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_DestinationDirectory - // method line 55 + // method line 66 .method public virtual hidebysig newslot specialname instance default string get_Password () cil managed { - // Method begins at RVA 0x244c + // Method begins at RVA 0x2278 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1534,11 +1705,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_Password - // method line 56 + // method line 67 .method public virtual hidebysig newslot specialname instance default void set_Password (string 'value') cil managed { - // Method begins at RVA 0x2467 + // Method begins at RVA 0x2293 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -1549,11 +1720,11 @@ IL_000d: ret } // end of method AbstractSourceControlTask::set_Password - // method line 57 + // method line 68 .method public virtual hidebysig newslot specialname instance default class [mscorlib]System.IO.FileInfo get_PassFile () cil managed { - // Method begins at RVA 0x2478 + // Method begins at RVA 0x22a4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1568,11 +1739,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_PassFile - // method line 58 + // method line 69 .method public virtual hidebysig newslot specialname instance default void set_PassFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2493 + // Method begins at RVA 0x22bf // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1582,11 +1753,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_PassFile - // method line 59 + // method line 70 .method public hidebysig specialname instance default class [mscorlib]System.Collections.Hashtable get_GlobalOptions () cil managed { - // Method begins at RVA 0x24a0 + // Method begins at RVA 0x22cc // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1601,11 +1772,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_GlobalOptions - // method line 60 + // method line 71 .method public hidebysig specialname instance default void set_GlobalOptions (class [mscorlib]System.Collections.Hashtable 'value') cil managed { - // Method begins at RVA 0x24bb + // Method begins at RVA 0x22e7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1615,11 +1786,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_GlobalOptions - // method line 61 + // method line 72 .method public hidebysig specialname instance default class [mscorlib]System.Collections.Hashtable get_CommandOptions () cil managed { - // Method begins at RVA 0x24c8 + // Method begins at RVA 0x22f4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1634,11 +1805,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_CommandOptions - // method line 62 + // method line 73 .method public hidebysig specialname instance default void set_CommandOptions (class [mscorlib]System.Collections.Hashtable 'value') cil managed { - // Method begins at RVA 0x24e3 + // Method begins at RVA 0x230f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1648,11 +1819,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_CommandOptions - // method line 63 + // method line 74 .method public hidebysig specialname instance default string get_CommandLineArguments () cil managed { - // Method begins at RVA 0x24f0 + // Method begins at RVA 0x231c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1667,11 +1838,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_CommandLineArguments - // method line 64 + // method line 75 .method public hidebysig specialname instance default void set_CommandLineArguments (string 'value') cil managed { - // Method begins at RVA 0x250b + // Method begins at RVA 0x2337 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -1682,11 +1853,11 @@ IL_000d: ret } // end of method AbstractSourceControlTask::set_CommandLineArguments - // method line 65 + // method line 76 .method public virtual hidebysig newslot specialname instance default string get_CommandName () cil managed { - // Method begins at RVA 0x251c + // Method begins at RVA 0x2348 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1701,11 +1872,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_CommandName - // method line 66 + // method line 77 .method public virtual hidebysig newslot specialname instance default void set_CommandName (string 'value') cil managed { - // Method begins at RVA 0x2537 + // Method begins at RVA 0x2363 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1715,11 +1886,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_CommandName - // method line 67 + // method line 78 .method public virtual hidebysig newslot specialname instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_VcsFileSet () cil managed { - // Method begins at RVA 0x2544 + // Method begins at RVA 0x2370 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1734,11 +1905,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_VcsFileSet - // method line 68 + // method line 79 .method public virtual hidebysig newslot specialname instance default void set_VcsFileSet (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x255f + // Method begins at RVA 0x238b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1748,11 +1919,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_VcsFileSet - // method line 69 + // method line 80 .method public virtual hidebysig newslot specialname instance default class [mscorlib]System.IO.FileInfo get_Ssh () cil managed { - // Method begins at RVA 0x256c + // Method begins at RVA 0x2398 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1767,11 +1938,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_Ssh - // method line 70 + // method line 81 .method public virtual hidebysig newslot specialname instance default void set_Ssh (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2587 + // Method begins at RVA 0x23b3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1781,18 +1952,18 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_Ssh - // method line 71 + // method line 82 .method family virtual hidebysig newslot abstract specialname instance default string get_SshEnv () cil managed { // Method begins at RVA 0x0 } // end of method AbstractSourceControlTask::get_SshEnv - // method line 72 + // method line 83 .method public virtual hidebysig specialname instance default string get_ExeName () cil managed { - // Method begins at RVA 0x2594 + // Method begins at RVA 0x23c0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1807,11 +1978,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_ExeName - // method line 73 + // method line 84 .method public virtual hidebysig specialname instance default void set_ExeName (string 'value') cil managed { - // Method begins at RVA 0x25af + // Method begins at RVA 0x23db // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1821,11 +1992,11 @@ IL_0008: ret } // end of method AbstractSourceControlTask::set_ExeName - // method line 74 + // method line 85 .method public virtual hidebysig specialname instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x25bc + // Method begins at RVA 0x23e8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1840,11 +2011,11 @@ IL_000e: ret } // end of method AbstractSourceControlTask::get_ProgramArguments - // method line 75 + // method line 86 .method family virtual hidebysig instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed { - // Method begins at RVA 0x25d7 + // Method begins at RVA 0x2403 // Code size 16 (0x10) .maxstack 8 IL_0000: nop @@ -1857,11 +2028,11 @@ IL_000f: ret } // end of method AbstractSourceControlTask::PrepareProcess - // method line 76 + // method line 87 .method family hidebysig instance default void SetGlobalOption (string name, string 'value', bool 'on') cil managed { - // Method begins at RVA 0x25e8 + // Method begins at RVA 0x2414 // Code size 174 (0xae) .maxstack 7 .locals init ( @@ -1936,11 +2107,11 @@ IL_00ad: ret } // end of method AbstractSourceControlTask::SetGlobalOption - // method line 77 + // method line 88 .method family hidebysig instance default void SetCommandOption (string name, string 'value', bool 'on') cil managed { - // Method begins at RVA 0x26a4 + // Method begins at RVA 0x24d0 // Code size 86 (0x56) .maxstack 3 .locals init ( @@ -1983,11 +2154,11 @@ IL_0055: ret } // end of method AbstractSourceControlTask::SetCommandOption - // method line 78 + // method line 89 .method family virtual hidebysig newslot instance default void SetEnvironment (class [System]System.Diagnostics.Process process) cil managed { - // Method begins at RVA 0x2708 + // Method begins at RVA 0x2534 // Code size 392 (0x188) .maxstack 8 .locals init ( @@ -2133,11 +2304,11 @@ IL_0187: ret } // end of method AbstractSourceControlTask::SetEnvironment - // method line 79 + // method line 90 .method family hidebysig instance default void AppendFiles () cil managed { - // Method begins at RVA 0x28ac + // Method begins at RVA 0x26d8 // Code size 187 (0xbb) .maxstack 4 .locals init ( @@ -2222,11 +2393,11 @@ IL_00ba: ret } // end of method AbstractSourceControlTask::AppendFiles - // method line 80 + // method line 91 .method family hidebysig instance default class [mscorlib]System.IO.FileInfo DeriveVcsFromEnvironment () cil managed { - // Method begins at RVA 0x2984 + // Method begins at RVA 0x27b0 // Code size 55 (0x37) .maxstack 3 .locals init ( @@ -2259,11 +2430,11 @@ IL_0036: ret } // end of method AbstractSourceControlTask::DeriveVcsFromEnvironment - // method line 81 + // method line 92 .method private hidebysig instance default class [mscorlib]System.IO.FileInfo DeriveFullPathFromEnv (string environmentVar, string fileName) cil managed { - // Method begins at RVA 0x29c8 + // Method begins at RVA 0x27f4 // Code size 391 (0x187) .maxstack 7 .locals init ( @@ -2439,11 +2610,11 @@ IL_0186: ret } // end of method AbstractSourceControlTask::DeriveFullPathFromEnv - // method line 82 + // method line 93 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0x2b5b + // Method begins at RVA 0x2987 // Code size 21 (0x15) .maxstack 8 IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() @@ -2565,37 +2736,34 @@ .namespace NAnt.SourceControl.Tasks { - .class public auto ansi beforefieldinit UpdateTask + .class public auto ansi beforefieldinit ExportTask extends NAnt.SourceControl.Tasks.AbstractCvsTask { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 63 76 73 2D 75 70 64 61 74 65 00 00 ) // ...cvs-update.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 63 76 73 2D 65 78 70 6F 72 74 00 00 ) // ...cvs-export.. - .field assembly static literal string CvsCommandName = "update" + .field private static literal string CvsCommandName = "export" - // method line 83 + // method line 94 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x39d1 - // Code size 22 (0x16) + // Method begins at RVA 0x3b32 + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() IL_0006: nop IL_0007: ldarg.0 IL_0008: ldc.i4.1 - IL_0009: call instance void class NAnt.SourceControl.Tasks.UpdateTask::set_BuildDirs(bool) - IL_000e: ldarg.0 - IL_000f: ldc.i4.1 - IL_0010: call instance void class NAnt.SourceControl.Tasks.UpdateTask::set_PruneEmpty(bool) - IL_0015: ret - } // end of method UpdateTask::.ctor + IL_0009: call instance void class NAnt.SourceControl.Tasks.ExportTask::set_Recursive(bool) + IL_000e: ret + } // end of method ExportTask::.ctor - // method line 84 + // method line 95 .method public hidebysig specialname - instance default bool get_BuildDirs () cil managed + instance default bool get_NoShortening () cil managed { - // Method begins at RVA 0x39e8 + // Method begins at RVA 0x3b44 // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -2603,7 +2771,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "builddirs" + IL_0007: ldstr "no-shortening" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() @@ -2612,29 +2780,29 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method UpdateTask::get_BuildDirs + } // end of method ExportTask::get_NoShortening - // method line 85 + // method line 96 .method public hidebysig specialname - instance default void set_BuildDirs (bool 'value') cil managed + instance default void set_NoShortening (bool 'value') cil managed { - // Method begins at RVA 0x3a17 + // Method begins at RVA 0x3b73 // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "builddirs" - IL_0007: ldstr "-d" + IL_0002: ldstr "no-shortening" + IL_0007: ldstr "-N" IL_000c: ldarg.1 IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0012: ret - } // end of method UpdateTask::set_BuildDirs + } // end of method ExportTask::set_NoShortening - // method line 86 + // method line 97 .method public hidebysig specialname - instance default bool get_PruneEmpty () cil managed + instance default bool get_ForceHead () cil managed { - // Method begins at RVA 0x3a2c + // Method begins at RVA 0x3b88 // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -2642,7 +2810,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "pruneempty" + IL_0007: ldstr "force-head" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() @@ -2651,29 +2819,29 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method UpdateTask::get_PruneEmpty + } // end of method ExportTask::get_ForceHead - // method line 87 + // method line 98 .method public hidebysig specialname - instance default void set_PruneEmpty (bool 'value') cil managed + instance default void set_ForceHead (bool 'value') cil managed { - // Method begins at RVA 0x3a5b + // Method begins at RVA 0x3bb7 // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "pruneempty" - IL_0007: ldstr "-P" + IL_0002: ldstr "force-head" + IL_0007: ldstr "-f" IL_000c: ldarg.1 IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0012: ret - } // end of method UpdateTask::set_PruneEmpty + } // end of method ExportTask::set_ForceHead - // method line 88 + // method line 99 .method public hidebysig specialname - instance default bool get_OverwriteLocal () cil managed + instance default bool get_Recursive () cil managed { - // Method begins at RVA 0x3a70 + // Method begins at RVA 0x3bcc // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -2681,7 +2849,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "overwritelocal" + IL_0007: ldstr "recursive" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() @@ -2690,98 +2858,36 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method UpdateTask::get_OverwriteLocal + } // end of method ExportTask::get_Recursive - // method line 89 + // method line 100 .method public hidebysig specialname - instance default void set_OverwriteLocal (bool 'value') cil managed + instance default void set_Recursive (bool 'value') cil managed { - // Method begins at RVA 0x3a9f - // Code size 19 (0x13) + // Method begins at RVA 0x3bfb + // Code size 39 (0x27) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "overwritelocal" - IL_0007: ldstr "-C" + IL_0002: ldstr "recursive" + IL_0007: ldstr "-R" IL_000c: ldarg.1 IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method UpdateTask::set_OverwriteLocal - - // method line 90 - .method public hidebysig specialname - instance default bool get_Recursive () cil managed - { - // Method begins at RVA 0x3ab4 - // Code size 67 (0x43) - .maxstack 2 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.Option V_0, - bool V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "recursive" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brfalse IL_0032 - - IL_001d: ldloc.0 - IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_0023: ldstr "-R" - IL_0028: call bool string::op_Equality(string, string) - IL_002d: brfalse IL_003a - - IL_0032: nop - IL_0033: ldc.i4.1 - IL_0034: stloc.1 - IL_0035: br IL_0041 - - IL_003a: ldc.i4.0 - IL_003b: stloc.1 - IL_003c: br IL_0041 - - IL_0041: ldloc.1 - IL_0042: ret - } // end of method UpdateTask::get_Recursive - - // method line 91 - .method public hidebysig specialname - instance default void set_Recursive (bool 'value') cil managed - { - // Method begins at RVA 0x3b03 - // Code size 51 (0x33) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_001f - - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldstr "recursive" - IL_000e: ldstr "-R" - IL_0013: ldc.i4.1 - IL_0014: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0019: nop - IL_001a: br IL_0032 - - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: ldstr "recursive" - IL_0026: ldstr "-l" - IL_002b: ldc.i4.1 - IL_002c: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0031: nop - IL_0032: ret - } // end of method UpdateTask::set_Recursive + IL_0012: ldarg.0 + IL_0013: ldstr "local-only" + IL_0018: ldstr "-l" + IL_001d: ldarg.1 + IL_001e: ldc.i4.0 + IL_001f: ceq + IL_0021: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0026: ret + } // end of method ExportTask::set_Recursive - // method line 92 + // method line 101 .method public hidebysig specialname instance default string get_Revision () cil managed { - // Method begins at RVA 0x3b38 + // Method begins at RVA 0x3c24 // Code size 64 (0x40) .maxstack 2 .locals init ( @@ -2790,32 +2896,32 @@ IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() IL_0007: ldstr "revision" - IL_000c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0011: brfalse IL_0037 + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: brtrue IL_001e IL_0016: nop - IL_0017: ldarg.0 - IL_0018: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_001d: ldstr "revision" - IL_0022: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0027: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_002c: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_0031: stloc.0 - IL_0032: br IL_003e + IL_0017: ldnull + IL_0018: stloc.0 + IL_0019: br IL_003e - IL_0037: ldnull + IL_001e: ldarg.0 + IL_001f: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0024: ldstr "revision" + IL_0029: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_002e: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0033: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() IL_0038: stloc.0 IL_0039: br IL_003e IL_003e: ldloc.0 IL_003f: ret - } // end of method UpdateTask::get_Revision + } // end of method ExportTask::get_Revision - // method line 93 + // method line 102 .method public hidebysig specialname instance default void set_Revision (string 'value') cil managed { - // Method begins at RVA 0x3b84 + // Method begins at RVA 0x3c70 // Code size 66 (0x42) .maxstack 5 IL_0000: nop @@ -2842,46 +2948,13 @@ IL_003b: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0040: nop IL_0041: ret - } // end of method UpdateTask::set_Revision - - // method line 94 - .method public hidebysig specialname - instance default string get_StickyTag () cil managed - { - // Method begins at RVA 0x3bd4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.SourceControl.Tasks.UpdateTask::get_Revision() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method UpdateTask::get_StickyTag - - // method line 95 - .method public hidebysig specialname - instance default void set_StickyTag (string 'value') cil managed - { - // Method begins at RVA 0x3bef - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.SourceControl.Tasks.UpdateTask::set_Revision(string) - IL_0008: ret - } // end of method UpdateTask::set_StickyTag + } // end of method ExportTask::set_Revision - // method line 96 + // method line 103 .method public hidebysig specialname instance default valuetype [mscorlib]System.DateTime get_Date () cil managed { - // Method begins at RVA 0x3bfc + // Method begins at RVA 0x3cc0 // Code size 40 (0x28) .maxstack 2 .locals init ( @@ -2899,20 +2972,20 @@ IL_0026: ldloc.0 IL_0027: ret - } // end of method UpdateTask::get_Date + } // end of method ExportTask::get_Date - // method line 97 + // method line 104 .method public hidebysig specialname instance default void set_Date (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x3c30 + // Method begins at RVA 0x3cf4 // Code size 36 (0x24) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldstr "date" IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-D \"{0}\"" + IL_000c: ldstr "\"-D {0}\"" IL_0011: ldarg.0 IL_0012: ldarg.1 IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) @@ -2920,76 +2993,89 @@ IL_001d: ldc.i4.1 IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0023: ret - } // end of method UpdateTask::set_Date + } // end of method ExportTask::set_Date - // method line 98 - .method family virtual hidebysig specialname - instance default bool get_IsModuleNeeded () cil managed + // method line 105 + .method public hidebysig specialname + instance default string get_OverrideDir () cil managed { - // Method begins at RVA 0x3c58 - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x3d1c + // Code size 35 (0x23) + .maxstack 2 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "overridedir" + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method UpdateTask::get_IsModuleNeeded + IL_0021: ldloc.0 + IL_0022: ret + } // end of method ExportTask::get_OverrideDir - // method line 99 + // method line 106 + .method public hidebysig specialname + instance default void set_OverrideDir (string 'value') cil managed + { + // Method begins at RVA 0x3d4b + // Code size 30 (0x1e) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "overridedir" + IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000c: ldstr "-d{0}" + IL_0011: ldarg.1 + IL_0012: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0017: ldc.i4.1 + IL_0018: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_001d: ret + } // end of method ExportTask::set_OverrideDir + + // method line 107 .method public virtual hidebysig specialname instance default string get_CommandName () cil managed { - // Method begins at RVA 0x3c70 + // Method begins at RVA 0x3d6c // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldstr "update" + IL_0001: ldstr "export" IL_0006: stloc.0 IL_0007: br IL_000c IL_000c: ldloc.0 IL_000d: ret - } // end of method UpdateTask::get_CommandName + } // end of method ExportTask::get_CommandName - .property instance bool BuildDirs () + .property instance bool NoShortening () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 62 75 69 6C 64 64 69 72 73 01 00 54 02 // ...builddirs..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + 01 00 0D 6E 6F 2D 73 68 6F 72 74 65 6E 69 6E 67 // ...no-shortening + 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_BuildDirs () - .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_BuildDirs (bool 'value') + .get instance default bool NAnt.SourceControl.Tasks.ExportTask::get_NoShortening () + .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_NoShortening (bool 'value') } - .property instance bool PruneEmpty () + .property instance bool ForceHead () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 70 72 75 6E 65 65 6D 70 74 79 01 00 54 // ...pruneempty..T + 01 00 0A 66 6F 72 63 65 2D 68 65 61 64 01 00 54 // ...force-head..T 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_PruneEmpty () - .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_PruneEmpty (bool 'value') - } - .property instance bool OverwriteLocal () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 6F 76 65 72 77 72 69 74 65 6C 6F 63 61 // ...overwriteloca - 6C 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // l..T..Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_OverwriteLocal () - .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_OverwriteLocal (bool 'value') + .get instance default bool NAnt.SourceControl.Tasks.ExportTask::get_ForceHead () + .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_ForceHead (bool 'value') } .property instance bool Recursive () { @@ -2999,8 +3085,8 @@ .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_Recursive () - .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_Recursive (bool 'value') + .get instance default bool NAnt.SourceControl.Tasks.ExportTask::get_Recursive () + .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_Recursive (bool 'value') } .property instance string Revision () { @@ -3014,17 +3100,8 @@ 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ - .get instance default string NAnt.SourceControl.Tasks.UpdateTask::get_Revision () - .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_Revision (string 'value') - } - .property instance string StickyTag () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 73 74 69 63 6B 79 2D 74 61 67 01 00 54 // ...sticky-tag..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. - - .get instance default string NAnt.SourceControl.Tasks.UpdateTask::get_StickyTag () - .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_StickyTag (string 'value') + .get instance default string NAnt.SourceControl.Tasks.ExportTask::get_Revision () + .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_Revision (string 'value') } .property instance valuetype [mscorlib]System.DateTime Date () { @@ -3034,50 +3111,92 @@ .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.UpdateTask::get_Date () - .set instance default void NAnt.SourceControl.Tasks.UpdateTask::set_Date (valuetype [mscorlib]System.DateTime 'value') + .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.ExportTask::get_Date () + .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_Date (valuetype [mscorlib]System.DateTime 'value') } - .property instance bool IsModuleNeeded () + .property instance string OverrideDir () { - .get instance default bool NAnt.SourceControl.Tasks.UpdateTask::get_IsModuleNeeded () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 6F 76 65 72 72 69 64 65 64 69 72 01 00 // ...overridedir.. + 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z + 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + + .get instance default string NAnt.SourceControl.Tasks.ExportTask::get_OverrideDir () + .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_OverrideDir (string 'value') } .property instance string CommandName () { - .get instance default string NAnt.SourceControl.Tasks.UpdateTask::get_CommandName () + .get instance default string NAnt.SourceControl.Tasks.ExportTask::get_CommandName () } - } // end of class NAnt.SourceControl.Tasks.UpdateTask + } // end of class NAnt.SourceControl.Tasks.ExportTask } .namespace NAnt.SourceControl.Tasks { - .class public auto ansi beforefieldinit ExportTask + .class public auto ansi beforefieldinit TagTask extends NAnt.SourceControl.Tasks.AbstractCvsTask { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 0A 63 76 73 2D 65 78 70 6F 72 74 00 00 ) // ...cvs-export.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 63 76 73 2D 74 61 67 00 00 ) // ...cvs-tag.. - .field private static literal string CvsCommandName = "export" + .field private string _tag + .field assembly static literal string CvsCommandName = "tag" - // method line 100 + // method line 108 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3c8a - // Code size 15 (0xf) + // Method begins at RVA 0x3d86 + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldc.i4.1 - IL_0009: call instance void class NAnt.SourceControl.Tasks.ExportTask::set_Recursive(bool) + IL_0007: ret + } // end of method TagTask::.ctor + + // method line 109 + .method public hidebysig specialname + instance default string get_Tag () cil managed + { + // Method begins at RVA 0x3d90 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.SourceControl.Tasks.TagTask::_tag + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method ExportTask::.ctor + } // end of method TagTask::get_Tag - // method line 101 + // method line 110 .method public hidebysig specialname - instance default bool get_NoShortening () cil managed + instance default void set_Tag (string 'value') cil managed + { + // Method begins at RVA 0x3dab + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.SourceControl.Tasks.TagTask::_tag + IL_0008: ret + } // end of method TagTask::set_Tag + + // method line 111 + .method public hidebysig specialname + instance default bool get_Remove () cil managed { - // Method begins at RVA 0x3c9c + // Method begins at RVA 0x3db8 // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -3085,7 +3204,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "no-shortening" + IL_0007: ldstr "remove" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() @@ -3094,29 +3213,29 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method ExportTask::get_NoShortening + } // end of method TagTask::get_Remove - // method line 102 + // method line 112 .method public hidebysig specialname - instance default void set_NoShortening (bool 'value') cil managed + instance default void set_Remove (bool 'value') cil managed { - // Method begins at RVA 0x3ccb + // Method begins at RVA 0x3de7 // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "no-shortening" - IL_0007: ldstr "-N" + IL_0002: ldstr "remove" + IL_0007: ldstr "-d" IL_000c: ldarg.1 IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0012: ret - } // end of method ExportTask::set_NoShortening + } // end of method TagTask::set_Remove - // method line 103 + // method line 113 .method public hidebysig specialname - instance default bool get_ForceHead () cil managed + instance default bool get_MoveIfExists () cil managed { - // Method begins at RVA 0x3ce0 + // Method begins at RVA 0x3dfc // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -3124,7 +3243,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "force-head" + IL_0007: ldstr "move-if-exists" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() @@ -3133,29 +3252,29 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method ExportTask::get_ForceHead + } // end of method TagTask::get_MoveIfExists - // method line 104 + // method line 114 .method public hidebysig specialname - instance default void set_ForceHead (bool 'value') cil managed + instance default void set_MoveIfExists (bool 'value') cil managed { - // Method begins at RVA 0x3d0f + // Method begins at RVA 0x3e2b // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "force-head" - IL_0007: ldstr "-f" + IL_0002: ldstr "move-if-exists" + IL_0007: ldstr "-F" IL_000c: ldarg.1 IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0012: ret - } // end of method ExportTask::set_ForceHead + } // end of method TagTask::set_MoveIfExists - // method line 105 + // method line 115 .method public hidebysig specialname instance default bool get_Recursive () cil managed { - // Method begins at RVA 0x3d24 + // Method begins at RVA 0x3e40 // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -3172,13 +3291,13 @@ IL_0021: ldloc.0 IL_0022: ret - } // end of method ExportTask::get_Recursive + } // end of method TagTask::get_Recursive - // method line 106 + // method line 116 .method public hidebysig specialname instance default void set_Recursive (bool 'value') cil managed { - // Method begins at RVA 0x3d53 + // Method begins at RVA 0x3e6f // Code size 39 (0x27) .maxstack 8 IL_0000: nop @@ -3195,80 +3314,55 @@ IL_001f: ceq IL_0021: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0026: ret - } // end of method ExportTask::set_Recursive + } // end of method TagTask::set_Recursive - // method line 107 + // method line 117 .method public hidebysig specialname - instance default string get_Revision () cil managed + instance default string get_ActOnTag () cil managed { - // Method begins at RVA 0x3d7c - // Code size 64 (0x40) + // Method begins at RVA 0x3e98 + // Code size 35 (0x23) .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "revision" + IL_0007: ldstr "act-on-tag" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: brtrue IL_001e - - IL_0016: nop - IL_0017: ldnull - IL_0018: stloc.0 - IL_0019: br IL_003e - - IL_001e: ldarg.0 - IL_001f: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0024: ldstr "revision" - IL_0029: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_002e: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0033: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_0038: stloc.0 - IL_0039: br IL_003e + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_003e: ldloc.0 - IL_003f: ret - } // end of method ExportTask::get_Revision + IL_0021: ldloc.0 + IL_0022: ret + } // end of method TagTask::get_ActOnTag - // method line 108 + // method line 118 .method public hidebysig specialname - instance default void set_Revision (string 'value') cil managed + instance default void set_ActOnTag (string 'value') cil managed { - // Method begins at RVA 0x3dc8 - // Code size 66 (0x42) - .maxstack 5 + // Method begins at RVA 0x3ec7 + // Code size 30 (0x1e) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brfalse IL_0023 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0013: ldstr "revision" - IL_0018: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_001d: nop - IL_001e: br IL_0041 - - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: ldstr "revision" - IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002f: ldstr "-r {0}" - IL_0034: ldarg.1 - IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_003a: ldc.i4.1 - IL_003b: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0040: nop - IL_0041: ret - } // end of method ExportTask::set_Revision + IL_0001: ldarg.0 + IL_0002: ldstr "act-on-tag" + IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000c: ldstr "-r {0}" + IL_0011: ldarg.1 + IL_0012: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0017: ldc.i4.1 + IL_0018: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_001d: ret + } // end of method TagTask::set_ActOnTag - // method line 109 + // method line 119 .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Date () cil managed + instance default valuetype [mscorlib]System.DateTime get_ActOnDate () cil managed { - // Method begins at RVA 0x3e18 + // Method begins at RVA 0x3ee8 // Code size 40 (0x28) .maxstack 2 .locals init ( @@ -3276,7 +3370,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "date" + IL_0007: ldstr "act-on-date" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() @@ -3286,20 +3380,20 @@ IL_0026: ldloc.0 IL_0027: ret - } // end of method ExportTask::get_Date + } // end of method TagTask::get_ActOnDate - // method line 110 + // method line 120 .method public hidebysig specialname - instance default void set_Date (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default void set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x3e4c + // Method begins at RVA 0x3f1c // Code size 36 (0x24) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "date" + IL_0002: ldstr "act-on-date" IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "\"-D {0}\"" + IL_000c: ldstr "-D {0}" IL_0011: ldarg.0 IL_0012: ldarg.1 IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) @@ -3307,89 +3401,216 @@ IL_001d: ldc.i4.1 IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0023: ret - } // end of method ExportTask::set_Date + } // end of method TagTask::set_ActOnDate - // method line 111 + // method line 121 .method public hidebysig specialname - instance default string get_OverrideDir () cil managed + instance default bool get_ForceHead () cil managed { - // Method begins at RVA 0x3e74 + // Method begins at RVA 0x3f44 // Code size 35 (0x23) .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "overridedir" + IL_0007: ldstr "force-head" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() IL_001b: stloc.0 IL_001c: br IL_0021 IL_0021: ldloc.0 IL_0022: ret - } // end of method ExportTask::get_OverrideDir + } // end of method TagTask::get_ForceHead - // method line 112 + // method line 122 .method public hidebysig specialname - instance default void set_OverrideDir (string 'value') cil managed + instance default void set_ForceHead (bool 'value') cil managed { - // Method begins at RVA 0x3ea3 - // Code size 30 (0x1e) + // Method begins at RVA 0x3f73 + // Code size 19 (0x13) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "overridedir" - IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-d{0}" - IL_0011: ldarg.1 - IL_0012: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0017: ldc.i4.1 - IL_0018: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_001d: ret - } // end of method ExportTask::set_OverrideDir + IL_0002: ldstr "force-head" + IL_0007: ldstr "-f" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ret + } // end of method TagTask::set_ForceHead - // method line 113 + // method line 123 + .method public hidebysig specialname + instance default bool get_FailIfModified () cil managed + { + // Method begins at RVA 0x3f88 + // Code size 35 (0x23) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "fail-if-modified" + IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_001b: stloc.0 + IL_001c: br IL_0021 + + IL_0021: ldloc.0 + IL_0022: ret + } // end of method TagTask::get_FailIfModified + + // method line 124 + .method public hidebysig specialname + instance default void set_FailIfModified (bool 'value') cil managed + { + // Method begins at RVA 0x3fb7 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "fail-if-modified" + IL_0007: ldstr "-c" + IL_000c: ldarg.1 + IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0012: ret + } // end of method TagTask::set_FailIfModified + + // method line 125 .method public virtual hidebysig specialname instance default string get_CommandName () cil managed { - // Method begins at RVA 0x3ec4 + // Method begins at RVA 0x3fcc // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldstr "export" + IL_0001: ldstr "tag" IL_0006: stloc.0 IL_0007: br IL_000c IL_000c: ldloc.0 IL_000d: ret - } // end of method ExportTask::get_CommandName + } // end of method TagTask::get_CommandName - .property instance bool NoShortening () + // method line 126 + .method public virtual hidebysig specialname + instance default string get_Module () cil managed + { + // Method begins at RVA 0x3fe8 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method TagTask::get_Module + + // method line 127 + .method public virtual hidebysig specialname + instance default void set_Module (string 'value') cil managed + { + // Method begins at RVA 0x3ffe + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method TagTask::set_Module + + // method line 128 + .method family virtual hidebysig + instance default void AppendSubCommandArgs () cil managed + { + // Method begins at RVA 0x4001 + // Code size 54 (0x36) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AppendSubCommandArgs() + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.SourceControl.Tasks.TagTask::get_Tag() + IL_000d: brfalse IL_0035 + + IL_0012: ldarg.0 + IL_0013: call instance string class NAnt.SourceControl.Tasks.TagTask::get_Tag() + IL_0018: ldsfld string [mscorlib]System.String::Empty + IL_001d: call bool string::op_Inequality(string, string) + IL_0022: brfalse IL_0035 + + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldarg.0 + IL_002a: call instance string class NAnt.SourceControl.Tasks.TagTask::get_Tag() + IL_002f: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AddArg(string) + IL_0034: nop + IL_0035: ret + } // end of method TagTask::AppendSubCommandArgs + + // method line 129 + .method family virtual hidebysig specialname + instance default bool get_IsModuleNeeded () cil managed + { + // Method begins at RVA 0x4038 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method TagTask::get_IsModuleNeeded + + .property instance string Tag () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 6E 6F 2D 73 68 6F 72 74 65 6E 69 6E 67 // ...no-shortening - 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. + 01 00 03 74 61 67 01 00 54 02 08 52 65 71 75 69 // ...tag..T..Requi + 72 65 64 01 ) // red. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z + 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + + .get instance default string NAnt.SourceControl.Tasks.TagTask::get_Tag () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Tag (string 'value') + } + .property instance bool Remove () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 72 65 6D 6F 76 65 01 00 54 02 08 52 65 // ...remove..T..Re + 71 75 69 72 65 64 00 ) // quired. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.SourceControl.Tasks.ExportTask::get_NoShortening () - .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_NoShortening (bool 'value') + .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_Remove () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Remove (bool 'value') } - .property instance bool ForceHead () + .property instance bool MoveIfExists () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 66 6F 72 63 65 2D 68 65 61 64 01 00 54 // ...force-head..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + 01 00 0E 6D 6F 76 65 2D 69 66 2D 65 78 69 73 74 // ...move-if-exist + 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // s..T..Required. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.SourceControl.Tasks.ExportTask::get_ForceHead () - .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_ForceHead (bool 'value') + .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_MoveIfExists () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_MoveIfExists (bool 'value') } .property instance bool Recursive () { @@ -3399,63 +3620,218 @@ .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.SourceControl.Tasks.ExportTask::get_Recursive () - .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_Recursive (bool 'value') + .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_Recursive () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Recursive (bool 'value') } - .property instance string Revision () + .property instance string ActOnTag () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 72 65 76 69 73 69 6F 6E 01 00 54 02 08 // ...revision..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. + 01 00 0A 61 63 74 2D 6F 6E 2D 74 61 67 01 00 54 // ...act-on-tag..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ - .get instance default string NAnt.SourceControl.Tasks.ExportTask::get_Revision () - .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_Revision (string 'value') + .get instance default string NAnt.SourceControl.Tasks.TagTask::get_ActOnTag () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_ActOnTag (string 'value') } - .property instance valuetype [mscorlib]System.DateTime Date () + .property instance valuetype [mscorlib]System.DateTime ActOnDate () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 64 61 74 65 01 00 54 02 08 52 65 71 75 // ...date..T..Requ - 69 72 65 64 00 ) // ired. + 01 00 0B 61 63 74 2D 6F 6E 2D 64 61 74 65 01 00 // ...act-on-date.. + 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.ExportTask::get_Date () - .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_Date (valuetype [mscorlib]System.DateTime 'value') + .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.TagTask::get_ActOnDate () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') } - .property instance string OverrideDir () + .property instance bool ForceHead () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 6F 76 65 72 72 69 64 65 64 69 72 01 00 // ...overridedir.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. + 01 00 0A 66 6F 72 63 65 2D 68 65 61 64 01 00 54 // ...force-head..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. - 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z - 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default string NAnt.SourceControl.Tasks.ExportTask::get_OverrideDir () - .set instance default void NAnt.SourceControl.Tasks.ExportTask::set_OverrideDir (string 'value') + .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_ForceHead () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_ForceHead (bool 'value') + } + .property instance bool FailIfModified () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 66 61 69 6C 2D 69 66 2D 6D 6F 64 69 66 // ...fail-if-modif + 69 65 64 01 00 54 02 08 52 65 71 75 69 72 65 64 // ied..T..Required + 00 ) // . + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_FailIfModified () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_FailIfModified (bool 'value') } .property instance string CommandName () { - .get instance default string NAnt.SourceControl.Tasks.ExportTask::get_CommandName () + .get instance default string NAnt.SourceControl.Tasks.TagTask::get_CommandName () } - } // end of class NAnt.SourceControl.Tasks.ExportTask + .property instance string Module () + { + .get instance default string NAnt.SourceControl.Tasks.TagTask::get_Module () + .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Module (string 'value') + } + .property instance bool IsModuleNeeded () + { + .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_IsModuleNeeded () + } + } // end of class NAnt.SourceControl.Tasks.TagTask } .namespace NAnt.SourceControl.Tasks { - .class public auto ansi abstract beforefieldinit AbstractCvsTask - extends NAnt.SourceControl.Tasks.AbstractSourceControlTask + .class public auto ansi beforefieldinit CvsTask + extends NAnt.SourceControl.Tasks.AbstractCvsTask { - .field private static initonly class [log4net]log4net.ILog Logger + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 63 76 73 00 00 ) // ...cvs.. + + .field private string _commandName + + // method line 130 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x404e + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() + IL_0006: ret + } // end of method CvsTask::.ctor + + // method line 131 + .method public virtual hidebysig specialname + instance default string get_CommandName () cil managed + { + // Method begins at RVA 0x4058 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.SourceControl.Tasks.CvsTask::_commandName + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CvsTask::get_CommandName + + // method line 132 + .method public virtual hidebysig specialname + instance default void set_CommandName (string 'value') cil managed + { + // Method begins at RVA 0x4073 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.SourceControl.Tasks.CvsTask::_commandName + IL_0008: ret + } // end of method CvsTask::set_CommandName + + // method line 133 + .method family virtual hidebysig specialname + instance default bool get_IsModuleNeeded () cil managed + { + // Method begins at RVA 0x4080 + // Code size 127 (0x7f) + .maxstack 2 + .locals init ( + bool V_0, + string V_1, + bool V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandName() + IL_0007: stloc.1 + IL_0008: ldloc.1 + IL_0009: brfalse IL_006f + + IL_000e: ldloc.1 + IL_000f: ldstr "checkout" + IL_0014: call bool string::op_Equality(string, string) + IL_0019: brtrue IL_0053 + + IL_001e: ldloc.1 + IL_001f: ldstr "update" + IL_0024: call bool string::op_Equality(string, string) + IL_0029: brtrue IL_005a + + IL_002e: ldloc.1 + IL_002f: ldstr "commit" + IL_0034: call bool string::op_Equality(string, string) + IL_0039: brtrue IL_0061 + + IL_003e: ldloc.1 + IL_003f: ldstr "tag" + IL_0044: call bool string::op_Equality(string, string) + IL_0049: brtrue IL_0068 + + IL_004e: br IL_006f + + IL_0053: ldc.i4.1 + IL_0054: stloc.0 + IL_0055: br IL_0076 + + IL_005a: ldc.i4.0 + IL_005b: stloc.0 + IL_005c: br IL_0076 + + IL_0061: ldc.i4.0 + IL_0062: stloc.0 + IL_0063: br IL_0076 + + IL_0068: ldc.i4.0 + IL_0069: stloc.0 + IL_006a: br IL_0076 + + IL_006f: ldc.i4.1 + IL_0070: stloc.0 + IL_0071: br IL_0076 + + IL_0076: ldloc.0 + IL_0077: stloc.2 + IL_0078: br IL_007d + + IL_007d: ldloc.2 + IL_007e: ret + } // end of method CvsTask::get_IsModuleNeeded + + .property instance string CommandName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 63 6F 6D 6D 61 6E 64 01 00 54 02 08 52 // ...command..T..R + 65 71 75 69 72 65 64 01 ) // equired. + + .get instance default string NAnt.SourceControl.Tasks.CvsTask::get_CommandName () + .set instance default void NAnt.SourceControl.Tasks.CvsTask::set_CommandName (string 'value') + } + .property instance bool IsModuleNeeded () + { + .get instance default bool NAnt.SourceControl.Tasks.CvsTask::get_IsModuleNeeded () + } + } // end of class NAnt.SourceControl.Tasks.CvsTask +} + +.namespace NAnt.SourceControl.Tasks +{ + .class public auto ansi abstract beforefieldinit AbstractCvsTask + extends NAnt.SourceControl.Tasks.AbstractSourceControlTask + { + .field private static initonly class [log4net]log4net.ILog Logger .field family static literal bool DefaultRecursive = bool(false) .field family static literal bool DefaultQuiet = bool(false) .field family static literal bool DefaultReallyQuiet = bool(false) @@ -3474,11 +3850,11 @@ .field private string _sharpcvslibExeName .field private class NAnt.SourceControl.Types.CvsFileSet _cvsFileSet - // method line 114 + // method line 134 .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b71 + // Method begins at RVA 0x299d // Code size 59 (0x3b) .maxstack 8 IL_0000: ldarg.0 @@ -3502,11 +3878,11 @@ IL_003a: ret } // end of method AbstractCvsTask::.ctor - // method line 115 + // method line 135 .method family virtual hidebysig specialname instance default string get_SshEnv () cil managed { - // Method begins at RVA 0x2bb0 + // Method begins at RVA 0x29dc // Code size 14 (0xe) .maxstack 1 .locals init ( @@ -3520,11 +3896,11 @@ IL_000d: ret } // end of method AbstractCvsTask::get_SshEnv - // method line 116 + // method line 136 .method family virtual hidebysig specialname instance default string get_VcsExeName () cil managed { - // Method begins at RVA 0x2bcc + // Method begins at RVA 0x29f8 // Code size 14 (0xe) .maxstack 1 .locals init ( @@ -3538,11 +3914,11 @@ IL_000d: ret } // end of method AbstractCvsTask::get_VcsExeName - // method line 117 + // method line 137 .method family virtual hidebysig specialname instance default string get_PassFileName () cil managed { - // Method begins at RVA 0x2be8 + // Method begins at RVA 0x2a14 // Code size 14 (0xe) .maxstack 1 .locals init ( @@ -3556,11 +3932,11 @@ IL_000d: ret } // end of method AbstractCvsTask::get_PassFileName - // method line 118 + // method line 138 .method family virtual hidebysig specialname instance default string get_VcsHomeEnv () cil managed { - // Method begins at RVA 0x2c04 + // Method begins at RVA 0x2a30 // Code size 14 (0xe) .maxstack 1 .locals init ( @@ -3574,11 +3950,11 @@ IL_000d: ret } // end of method AbstractCvsTask::get_VcsHomeEnv - // method line 119 + // method line 139 .method family virtual hidebysig newslot specialname instance default bool get_IsModuleNeeded () cil managed { - // Method begins at RVA 0x2c20 + // Method begins at RVA 0x2a4c // Code size 10 (0xa) .maxstack 1 .locals init ( @@ -3592,11 +3968,11 @@ IL_0009: ret } // end of method AbstractCvsTask::get_IsModuleNeeded - // method line 120 + // method line 140 .method family hidebysig instance default string ToCvsDateTimeString (valuetype [mscorlib]System.DateTime item) cil managed { - // Method begins at RVA 0x2c38 + // Method begins at RVA 0x2a64 // Code size 64 (0x40) .maxstack 5 .locals init ( @@ -3624,11 +4000,11 @@ IL_003f: ret } // end of method AbstractCvsTask::ToCvsDateTimeString - // method line 121 + // method line 141 .method public hidebysig specialname instance default class NAnt.SourceControl.Types.CvsFileSet get_CvsFileSet () cil managed { - // Method begins at RVA 0x2c84 + // Method begins at RVA 0x2ab0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -3643,11 +4019,11 @@ IL_000e: ret } // end of method AbstractCvsTask::get_CvsFileSet - // method line 122 + // method line 142 .method public hidebysig specialname instance default void set_CvsFileSet (class NAnt.SourceControl.Types.CvsFileSet 'value') cil managed { - // Method begins at RVA 0x2c9f + // Method begins at RVA 0x2acb // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -3657,11 +4033,11 @@ IL_0008: ret } // end of method AbstractCvsTask::set_CvsFileSet - // method line 123 + // method line 143 .method public virtual hidebysig specialname instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_VcsFileSet () cil managed { - // Method begins at RVA 0x2cac + // Method begins at RVA 0x2ad8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -3676,11 +4052,11 @@ IL_000e: ret } // end of method AbstractCvsTask::get_VcsFileSet - // method line 124 + // method line 144 .method public virtual hidebysig specialname instance default string get_ExeName () cil managed { - // Method begins at RVA 0x2cc8 + // Method begins at RVA 0x2af4 // Code size 184 (0xb8) .maxstack 3 .locals init ( @@ -3755,11 +4131,11 @@ IL_00b7: ret } // end of method AbstractCvsTask::get_ExeName - // method line 125 + // method line 145 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_CvsFullPath () cil managed { - // Method begins at RVA 0x2d8c + // Method begins at RVA 0x2bb8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -3774,11 +4150,11 @@ IL_000e: ret } // end of method AbstractCvsTask::get_CvsFullPath - // method line 126 + // method line 146 .method public hidebysig specialname instance default void set_CvsFullPath (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2da7 + // Method begins at RVA 0x2bd3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -3788,18 +4164,18 @@ IL_0008: ret } // end of method AbstractCvsTask::set_CvsFullPath - // method line 127 + // method line 147 .method public virtual hidebysig specialname instance default string get_Root () cil managed { - // Method begins at RVA 0x2db4 + // Method begins at RVA 0x2be0 } // end of method AbstractCvsTask::get_Root - // method line 128 + // method line 148 .method public virtual hidebysig specialname instance default void set_Root (string 'value') cil managed { - // Method begins at RVA 0x2e28 + // Method begins at RVA 0x2c54 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -3810,18 +4186,18 @@ IL_000d: ret } // end of method AbstractCvsTask::set_Root - // method line 129 + // method line 149 .method public virtual hidebysig newslot specialname instance default string get_Module () cil managed { - // Method begins at RVA 0x2e38 + // Method begins at RVA 0x2c64 } // end of method AbstractCvsTask::get_Module - // method line 130 + // method line 150 .method public virtual hidebysig newslot specialname instance default void set_Module (string 'value') cil managed { - // Method begins at RVA 0x2eac + // Method begins at RVA 0x2cd8 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -3832,11 +4208,11 @@ IL_000d: ret } // end of method AbstractCvsTask::set_Module - // method line 131 + // method line 151 .method public virtual hidebysig newslot specialname instance default bool get_UseSharpCvsLib () cil managed { - // Method begins at RVA 0x2ebc + // Method begins at RVA 0x2ce8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -3851,11 +4227,11 @@ IL_000e: ret } // end of method AbstractCvsTask::get_UseSharpCvsLib - // method line 132 + // method line 152 .method public virtual hidebysig newslot specialname instance default void set_UseSharpCvsLib (bool 'value') cil managed { - // Method begins at RVA 0x2ed7 + // Method begins at RVA 0x2d03 // Code size 16 (0x10) .maxstack 8 IL_0000: nop @@ -3868,11 +4244,11 @@ IL_000f: ret } // end of method AbstractCvsTask::set_UseSharpCvsLib - // method line 133 + // method line 153 .method public virtual hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_Ssh () cil managed { - // Method begins at RVA 0x2ee8 + // Method begins at RVA 0x2d14 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -3887,11 +4263,11 @@ IL_000e: ret } // end of method AbstractCvsTask::get_Ssh - // method line 134 + // method line 154 .method public virtual hidebysig specialname instance default void set_Ssh (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2f03 + // Method begins at RVA 0x2d2f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -3901,11 +4277,11 @@ IL_0008: ret } // end of method AbstractCvsTask::set_Ssh - // method line 135 + // method line 155 .method public hidebysig specialname instance default bool get_Quiet () cil managed { - // Method begins at RVA 0x2f10 + // Method begins at RVA 0x2d3c // Code size 49 (0x31) .maxstack 2 .locals init ( @@ -3933,11 +4309,11 @@ IL_0030: ret } // end of method AbstractCvsTask::get_Quiet - // method line 136 + // method line 156 .method public hidebysig specialname instance default void set_Quiet (bool 'value') cil managed { - // Method begins at RVA 0x2f4d + // Method begins at RVA 0x2d79 // Code size 19 (0x13) .maxstack 8 IL_0000: nop @@ -3949,11 +4325,11 @@ IL_0012: ret } // end of method AbstractCvsTask::set_Quiet - // method line 137 + // method line 157 .method public hidebysig specialname instance default bool get_ReallyQuiet () cil managed { - // Method begins at RVA 0x2f64 + // Method begins at RVA 0x2d90 // Code size 49 (0x31) .maxstack 2 .locals init ( @@ -3981,11 +4357,11 @@ IL_0030: ret } // end of method AbstractCvsTask::get_ReallyQuiet - // method line 138 + // method line 158 .method public hidebysig specialname instance default void set_ReallyQuiet (bool 'value') cil managed { - // Method begins at RVA 0x2fa1 + // Method begins at RVA 0x2dcd // Code size 19 (0x13) .maxstack 8 IL_0000: nop @@ -3997,11 +4373,11 @@ IL_0012: ret } // end of method AbstractCvsTask::set_ReallyQuiet - // method line 139 + // method line 159 .method public hidebysig specialname instance default bool get_ReadOnly () cil managed { - // Method begins at RVA 0x2fb8 + // Method begins at RVA 0x2de4 // Code size 49 (0x31) .maxstack 2 .locals init ( @@ -4029,11 +4405,11 @@ IL_0030: ret } // end of method AbstractCvsTask::get_ReadOnly - // method line 140 + // method line 160 .method public hidebysig specialname instance default void set_ReadOnly (bool 'value') cil managed { - // Method begins at RVA 0x2ff5 + // Method begins at RVA 0x2e21 // Code size 19 (0x13) .maxstack 8 IL_0000: nop @@ -4045,11 +4421,11 @@ IL_0012: ret } // end of method AbstractCvsTask::set_ReadOnly - // method line 141 + // method line 161 .method public hidebysig specialname instance default bool get_ReadWrite () cil managed { - // Method begins at RVA 0x300c + // Method begins at RVA 0x2e38 // Code size 49 (0x31) .maxstack 2 .locals init ( @@ -4077,11 +4453,11 @@ IL_0030: ret } // end of method AbstractCvsTask::get_ReadWrite - // method line 142 + // method line 162 .method public hidebysig specialname instance default void set_ReadWrite (bool 'value') cil managed { - // Method begins at RVA 0x3049 + // Method begins at RVA 0x2e75 // Code size 19 (0x13) .maxstack 8 IL_0000: nop @@ -4093,11 +4469,11 @@ IL_0012: ret } // end of method AbstractCvsTask::set_ReadWrite - // method line 143 + // method line 163 .method public hidebysig specialname instance default int32 get_CompressionLevel () cil managed { - // Method begins at RVA 0x3060 + // Method begins at RVA 0x2e8c // Code size 54 (0x36) .maxstack 2 .locals init ( @@ -4126,11 +4502,11 @@ IL_0035: ret } // end of method AbstractCvsTask::get_CompressionLevel - // method line 144 + // method line 164 .method public hidebysig specialname instance default void set_CompressionLevel (int32 'value') cil managed { - // Method begins at RVA 0x30a2 + // Method begins at RVA 0x2ece // Code size 30 (0x1e) .maxstack 8 IL_0000: nop @@ -4145,11 +4521,11 @@ IL_001d: ret } // end of method AbstractCvsTask::set_CompressionLevel - // method line 145 + // method line 165 .method family virtual hidebysig instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed { - // Method begins at RVA 0x30c4 + // Method begins at RVA 0x2ef0 // Code size 769 (0x301) .maxstack 7 IL_0000: nop @@ -4413,22 +4789,22 @@ IL_0300: ret } // end of method AbstractCvsTask::PrepareProcess - // method line 146 + // method line 166 .method family virtual hidebysig newslot instance default void AppendSubCommandArgs () cil managed { - // Method begins at RVA 0x33e4 + // Method begins at RVA 0x3210 // Code size 2 (0x2) .maxstack 8 IL_0000: nop IL_0001: ret } // end of method AbstractCvsTask::AppendSubCommandArgs - // method line 147 + // method line 167 .method private hidebysig instance default void AppendGlobalOptions () cil managed { - // Method begins at RVA 0x33e8 + // Method begins at RVA 0x3214 // Code size 115 (0x73) .maxstack 2 .locals init ( @@ -4487,11 +4863,11 @@ IL_0072: ret } // end of method AbstractCvsTask::AppendGlobalOptions - // method line 148 + // method line 168 .method private hidebysig instance default void AppendCommandOptions () cil managed { - // Method begins at RVA 0x3478 + // Method begins at RVA 0x32a4 // Code size 115 (0x73) .maxstack 2 .locals init ( @@ -4550,11 +4926,11 @@ IL_0072: ret } // end of method AbstractCvsTask::AppendCommandOptions - // method line 149 + // method line 169 .method family hidebysig instance default void AddArg (string arg) cil managed { - // Method begins at RVA 0x3508 + // Method begins at RVA 0x3334 // Code size 150 (0x96) .maxstack 4 .locals init ( @@ -4630,11 +5006,11 @@ IL_0095: ret } // end of method AbstractCvsTask::AddArg - // method line 150 + // method line 170 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0x35aa + // Method begins at RVA 0x33d6 // Code size 21 (0x15) .maxstack 8 IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() @@ -4790,236 +5166,133 @@ .namespace NAnt.SourceControl.Tasks { - .class public auto ansi beforefieldinit CvsTask + .class public auto ansi beforefieldinit CheckoutTask extends NAnt.SourceControl.Tasks.AbstractCvsTask { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 63 76 73 00 00 ) // ...cvs.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( + 01 00 0C 63 76 73 2D 63 68 65 63 6B 6F 75 74 00 // ...cvs-checkout. + 00 ) // . - .field private string _commandName + .field assembly static literal string CvsCommandName = "checkout" - // method line 151 + // method line 171 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3ede - // Code size 7 (0x7) + // Method begins at RVA 0x410b + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() - IL_0006: ret - } // end of method CvsTask::.ctor + IL_0006: nop + IL_0007: ret + } // end of method CheckoutTask::.ctor - // method line 152 - .method public virtual hidebysig specialname - instance default string get_CommandName () cil managed + // method line 172 + .method public hidebysig specialname + instance default string get_Revision () cil managed { - // Method begins at RVA 0x3ee8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4114 + // Code size 64 (0x40) + .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.SourceControl.Tasks.CvsTask::_commandName - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CvsTask::get_CommandName + IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0007: ldstr "revision" + IL_000c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0011: brfalse IL_0037 - // method line 153 - .method public virtual hidebysig specialname - instance default void set_CommandName (string 'value') cil managed - { - // Method begins at RVA 0x3f03 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.SourceControl.Tasks.CvsTask::_commandName - IL_0008: ret - } // end of method CvsTask::set_CommandName - - // method line 154 - .method family virtual hidebysig specialname - instance default bool get_IsModuleNeeded () cil managed - { - // Method begins at RVA 0x3f10 - // Code size 127 (0x7f) - .maxstack 2 - .locals init ( - bool V_0, - string V_1, - bool V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandName() - IL_0007: stloc.1 - IL_0008: ldloc.1 - IL_0009: brfalse IL_006f - - IL_000e: ldloc.1 - IL_000f: ldstr "checkout" - IL_0014: call bool string::op_Equality(string, string) - IL_0019: brtrue IL_0053 - - IL_001e: ldloc.1 - IL_001f: ldstr "update" - IL_0024: call bool string::op_Equality(string, string) - IL_0029: brtrue IL_005a - - IL_002e: ldloc.1 - IL_002f: ldstr "commit" - IL_0034: call bool string::op_Equality(string, string) - IL_0039: brtrue IL_0061 - - IL_003e: ldloc.1 - IL_003f: ldstr "tag" - IL_0044: call bool string::op_Equality(string, string) - IL_0049: brtrue IL_0068 - - IL_004e: br IL_006f - - IL_0053: ldc.i4.1 - IL_0054: stloc.0 - IL_0055: br IL_0076 - - IL_005a: ldc.i4.0 - IL_005b: stloc.0 - IL_005c: br IL_0076 - - IL_0061: ldc.i4.0 - IL_0062: stloc.0 - IL_0063: br IL_0076 - - IL_0068: ldc.i4.0 - IL_0069: stloc.0 - IL_006a: br IL_0076 - - IL_006f: ldc.i4.1 - IL_0070: stloc.0 - IL_0071: br IL_0076 - - IL_0076: ldloc.0 - IL_0077: stloc.2 - IL_0078: br IL_007d - - IL_007d: ldloc.2 - IL_007e: ret - } // end of method CvsTask::get_IsModuleNeeded + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_001d: ldstr "revision" + IL_0022: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0027: castclass [NAnt.Core]NAnt.Core.Types.Option + IL_002c: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0031: stloc.0 + IL_0032: br IL_003e - .property instance string CommandName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 63 6F 6D 6D 61 6E 64 01 00 54 02 08 52 // ...command..T..R - 65 71 75 69 72 65 64 01 ) // equired. + IL_0037: ldnull + IL_0038: stloc.0 + IL_0039: br IL_003e - .get instance default string NAnt.SourceControl.Tasks.CvsTask::get_CommandName () - .set instance default void NAnt.SourceControl.Tasks.CvsTask::set_CommandName (string 'value') - } - .property instance bool IsModuleNeeded () - { - .get instance default bool NAnt.SourceControl.Tasks.CvsTask::get_IsModuleNeeded () - } - } // end of class NAnt.SourceControl.Tasks.CvsTask -} + IL_003e: ldloc.0 + IL_003f: ret + } // end of method CheckoutTask::get_Revision -.namespace NAnt.SourceControl.Tasks -{ - .class public auto ansi beforefieldinit ChangeLogTask - extends NAnt.SourceControl.Tasks.AbstractCvsTask - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( - 01 00 0D 63 76 73 2D 63 68 61 6E 67 65 6C 6F 67 // ...cvs-changelog - 00 00 ) // .. + // method line 173 + .method public hidebysig specialname + instance default void set_Revision (string 'value') cil managed + { + // Method begins at RVA 0x4160 + // Code size 66 (0x42) + .maxstack 5 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brfalse IL_0023 - .field private static literal string CvsCommandName = "xml" + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() + IL_0013: ldstr "revision" + IL_0018: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_001d: nop + IL_001e: br IL_0041 - // method line 155 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x3f9b - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() - IL_0006: ret - } // end of method ChangeLogTask::.ctor + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldstr "revision" + IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002f: ldstr "-r {0}" + IL_0034: ldarg.1 + IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003a: ldc.i4.1 + IL_003b: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_0040: nop + IL_0041: ret + } // end of method CheckoutTask::set_Revision - // method line 156 + // method line 174 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + instance default string get_StickyTag () cil managed { - // Method begins at RVA 0x3fa4 - // Code size 69 (0x45) - .maxstack 2 + // Method begins at RVA 0x41b0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "destfile" - IL_000c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0011: brtrue IL_001e - - IL_0016: nop - IL_0017: ldnull - IL_0018: stloc.0 - IL_0019: br IL_0043 - - IL_001e: ldarg.0 - IL_001f: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0024: ldstr "destfile" - IL_0029: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_002e: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0033: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_0038: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_003d: stloc.0 - IL_003e: br IL_0043 + IL_0002: call instance string class NAnt.SourceControl.Tasks.CheckoutTask::get_Revision() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0043: ldloc.0 - IL_0044: ret - } // end of method ChangeLogTask::get_DestFile + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CheckoutTask::get_StickyTag - // method line 157 + // method line 175 .method public hidebysig specialname - instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_StickyTag (string 'value') cil managed { - // Method begins at RVA 0x3ff8 - // Code size 65 (0x41) - .maxstack 5 + // Method begins at RVA 0x41cb + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_DestinationDirectory() - IL_0007: brtrue IL_001f - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.1 - IL_000f: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_0014: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0019: callvirt instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::set_DestinationDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: ldstr "destfile" - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002a: ldstr "\"-oxml\" \"{0}\"" - IL_002f: ldarg.1 - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_003a: ldc.i4.1 - IL_003b: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0040: ret - } // end of method ChangeLogTask::set_DestFile + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.SourceControl.Tasks.CheckoutTask::set_Revision(string) + IL_0008: ret + } // end of method CheckoutTask::set_StickyTag - // method line 158 + // method line 176 .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_StartDate () cil managed + instance default valuetype [mscorlib]System.DateTime get_Date () cil managed { - // Method begins at RVA 0x4048 + // Method begins at RVA 0x41d8 // Code size 40 (0x28) .maxstack 2 .locals init ( @@ -5027,7 +5300,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "start" + IL_0007: ldstr "date" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() @@ -5037,18 +5310,18 @@ IL_0026: ldloc.0 IL_0027: ret - } // end of method ChangeLogTask::get_StartDate + } // end of method CheckoutTask::get_Date - // method line 159 + // method line 177 .method public hidebysig specialname - instance default void set_StartDate (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default void set_Date (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x407c + // Method begins at RVA 0x420c // Code size 36 (0x24) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "start" + IL_0002: ldstr "date" IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() IL_000c: ldstr "-D \"{0}\"" IL_0011: ldarg.0 @@ -5058,722 +5331,449 @@ IL_001d: ldc.i4.1 IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) IL_0023: ret - } // end of method ChangeLogTask::set_StartDate + } // end of method CheckoutTask::set_Date - // method line 160 + // method line 178 .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_EndDate () cil managed + instance default string get_OverrideDir () cil managed { - // Method begins at RVA 0x40a4 - // Code size 40 (0x28) + // Method begins at RVA 0x4234 + // Code size 35 (0x23) .maxstack 2 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "end" + IL_0007: ldstr "overridedir" IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_0026: ldloc.0 - IL_0027: ret - } // end of method ChangeLogTask::get_EndDate + IL_0021: ldloc.0 + IL_0022: ret + } // end of method CheckoutTask::get_OverrideDir - // method line 161 + // method line 179 .method public hidebysig specialname - instance default void set_EndDate (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default void set_OverrideDir (string 'value') cil managed { - // Method begins at RVA 0x40d8 - // Code size 36 (0x24) + // Method begins at RVA 0x4263 + // Code size 30 (0x1e) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "end" + IL_0002: ldstr "overridedir" IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-D \"{0}\"" - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) - IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_001d: ldc.i4.1 - IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0023: ret - } // end of method ChangeLogTask::set_EndDate + IL_000c: ldstr "-d{0}" + IL_0011: ldarg.1 + IL_0012: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0017: ldc.i4.1 + IL_0018: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) + IL_001d: ret + } // end of method CheckoutTask::set_OverrideDir - // method line 162 - .method public virtual hidebysig specialname - instance default string get_CommandName () cil managed + // method line 180 + .method public hidebysig specialname + instance default string get_OverrideDirectory () cil managed { - // Method begins at RVA 0x4100 - // Code size 14 (0xe) + // Method begins at RVA 0x4284 + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldstr "xml" - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method ChangeLogTask::get_CommandName - - // method line 163 - .method public virtual hidebysig specialname - instance default bool get_UseSharpCvsLib () cil managed - { - // Method begins at RVA 0x411c - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ChangeLogTask::get_UseSharpCvsLib - - // method line 164 - .method public virtual hidebysig specialname - instance default void set_UseSharpCvsLib (bool 'value') cil managed - { - // Method begins at RVA 0x4132 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method ChangeLogTask::set_UseSharpCvsLib + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.SourceControl.Tasks.CheckoutTask::get_OverrideDir() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 165 - .method public virtual hidebysig specialname - instance default string get_Root () cil managed - { - // Method begins at RVA 0x4138 - } // end of method ChangeLogTask::get_Root + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CheckoutTask::get_OverrideDirectory - // method line 166 - .method public virtual hidebysig specialname - instance default void set_Root (string 'value') cil managed + // method line 181 + .method public hidebysig specialname + instance default void set_OverrideDirectory (string 'value') cil managed { - // Method begins at RVA 0x41c4 + // Method begins at RVA 0x429f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::set_Root(string) + IL_0003: call instance void class NAnt.SourceControl.Tasks.CheckoutTask::set_OverrideDir(string) IL_0008: ret - } // end of method ChangeLogTask::set_Root + } // end of method CheckoutTask::set_OverrideDirectory - .property instance class [mscorlib]System.IO.FileInfo DestFile () + // method line 182 + .method public virtual hidebysig specialname + instance default string get_CommandName () cil managed + { + // Method begins at RVA 0x42ac + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr "checkout" + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method CheckoutTask::get_CommandName + + .property instance string Revision () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 78 6D 6C 66 69 6C 65 01 00 54 02 08 52 // ...xmlfile..T..R - 65 71 75 69 72 65 64 01 ) // equired. + 01 00 08 72 65 76 69 73 69 6F 6E 01 00 54 02 08 // ...revision..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.SourceControl.Tasks.ChangeLogTask::get_DestFile () - .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_DestFile (class [mscorlib]System.IO.FileInfo 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z + 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + + .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_Revision () + .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_Revision (string 'value') } - .property instance valuetype [mscorlib]System.DateTime StartDate () + .property instance string StickyTag () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 73 74 61 72 74 01 00 54 02 08 52 65 71 // ...start..T..Req - 75 69 72 65 64 01 ) // uired. + 01 00 0A 73 74 69 63 6B 79 2D 74 61 67 01 00 54 // ...sticky-tag..T + 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. + 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z + 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ - .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.ChangeLogTask::get_StartDate () - .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_StartDate (valuetype [mscorlib]System.DateTime 'value') + .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_StickyTag () + .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_StickyTag (string 'value') } - .property instance valuetype [mscorlib]System.DateTime EndDate () + .property instance valuetype [mscorlib]System.DateTime Date () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 65 6E 64 01 00 54 02 08 52 65 71 75 69 // ...end..T..Requi - 72 65 64 01 ) // red. + 01 00 04 64 61 74 65 01 00 54 02 08 52 65 71 75 // ...date..T..Requ + 69 72 65 64 00 ) // ired. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.ChangeLogTask::get_EndDate () - .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_EndDate (valuetype [mscorlib]System.DateTime 'value') - } - .property instance string CommandName () - { - .get instance default string NAnt.SourceControl.Tasks.ChangeLogTask::get_CommandName () + .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.CheckoutTask::get_Date () + .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_Date (valuetype [mscorlib]System.DateTime 'value') } - .property instance bool UseSharpCvsLib () + .property instance string OverrideDir () { - .get instance default bool NAnt.SourceControl.Tasks.ChangeLogTask::get_UseSharpCvsLib () - .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_UseSharpCvsLib (bool 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 6F 76 65 72 72 69 64 65 64 69 72 01 00 // ...overridedir.. + 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. + + .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_OverrideDir () + .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_OverrideDir (string 'value') } - .property instance string Root () + .property instance string OverrideDirectory () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 63 76 73 72 6F 6F 74 01 00 54 02 08 52 // ...cvsroot..T..R - 65 71 75 69 72 65 64 00 ) // equired. + 01 00 12 6F 76 65 72 72 69 64 65 2D 64 69 72 65 // ...override-dire + 63 74 6F 72 79 01 00 54 02 08 52 65 71 75 69 72 // ctory..T..Requir + 65 64 00 ) // ed. - .get instance default string NAnt.SourceControl.Tasks.ChangeLogTask::get_Root () - .set instance default void NAnt.SourceControl.Tasks.ChangeLogTask::set_Root (string 'value') + .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_OverrideDirectory () + .set instance default void NAnt.SourceControl.Tasks.CheckoutTask::set_OverrideDirectory (string 'value') } - } // end of class NAnt.SourceControl.Tasks.ChangeLogTask + .property instance string CommandName () + { + .get instance default string NAnt.SourceControl.Tasks.CheckoutTask::get_CommandName () + } + } // end of class NAnt.SourceControl.Tasks.CheckoutTask } -.namespace NAnt.SourceControl.Tasks +.namespace NAnt.SourceControl.Types { - .class public auto ansi beforefieldinit TagTask - extends NAnt.SourceControl.Tasks.AbstractCvsTask + .class public auto ansi beforefieldinit CvsFileSet + extends [NAnt.Core]NAnt.Core.Types.FileSet { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 63 76 73 2D 74 61 67 00 00 ) // ...cvs-tag.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 63 76 73 66 69 6C 65 73 65 74 00 00 ) // ...cvsfileset.. - .field private string _tag - .field assembly static literal string CvsCommandName = "tag" + .field private bool _useCvsIgnore - // method line 167 + // method line 183 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x41ce - // Code size 8 (0x8) + // Method begins at RVA 0x42c6 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method TagTask::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.SourceControl.Types.CvsFileSet::_useCvsIgnore + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_000d: ret + } // end of method CvsFileSet::.ctor - // method line 168 + // method line 184 .method public hidebysig specialname - instance default string get_Tag () cil managed + instance default bool get_UseCvsIgnore () cil managed { - // Method begins at RVA 0x41d8 + // Method begins at RVA 0x42d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.SourceControl.Tasks.TagTask::_tag + IL_0002: ldfld bool NAnt.SourceControl.Types.CvsFileSet::_useCvsIgnore IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TagTask::get_Tag + } // end of method CvsFileSet::get_UseCvsIgnore - // method line 169 + // method line 185 .method public hidebysig specialname - instance default void set_Tag (string 'value') cil managed + instance default void set_UseCvsIgnore (bool 'value') cil managed { - // Method begins at RVA 0x41f3 + // Method begins at RVA 0x42f3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.SourceControl.Tasks.TagTask::_tag + IL_0003: stfld bool NAnt.SourceControl.Types.CvsFileSet::_useCvsIgnore IL_0008: ret - } // end of method TagTask::set_Tag + } // end of method CvsFileSet::set_UseCvsIgnore - // method line 170 - .method public hidebysig specialname - instance default bool get_Remove () cil managed + // method line 186 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x4200 - // Code size 35 (0x23) - .maxstack 2 + // Method begins at RVA 0x4300 + // Code size 116 (0x74) + .maxstack 3 .locals init ( - bool V_0) + class [mscorlib]System.Collections.ArrayList V_0, + string V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "remove" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 - - IL_0021: ldloc.0 - IL_0022: ret - } // end of method TagTask::get_Remove - - // method line 171 - .method public hidebysig specialname - instance default void set_Remove (bool 'value') cil managed - { - // Method begins at RVA 0x422f - // Code size 19 (0x13) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "remove" - IL_0007: ldstr "-d" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method TagTask::set_Remove - - // method line 172 - .method public hidebysig specialname - instance default bool get_MoveIfExists () cil managed - { - // Method begins at RVA 0x4244 - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "move-if-exists" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 - - IL_0021: ldloc.0 - IL_0022: ret - } // end of method TagTask::get_MoveIfExists - - // method line 173 - .method public hidebysig specialname - instance default void set_MoveIfExists (bool 'value') cil managed - { - // Method begins at RVA 0x4273 - // Code size 19 (0x13) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "move-if-exists" - IL_0007: ldstr "-F" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method TagTask::set_MoveIfExists - - // method line 174 - .method public hidebysig specialname - instance default bool get_Recursive () cil managed - { - // Method begins at RVA 0x4288 - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "recursive" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 - - IL_0021: ldloc.0 - IL_0022: ret - } // end of method TagTask::get_Recursive - - // method line 175 - .method public hidebysig specialname - instance default void set_Recursive (bool 'value') cil managed - { - // Method begins at RVA 0x42b7 - // Code size 39 (0x27) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "recursive" - IL_0007: ldstr "-R" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ldarg.0 - IL_0013: ldstr "local-only" - IL_0018: ldstr "-l" - IL_001d: ldarg.1 - IL_001e: ldc.i4.0 - IL_001f: ceq - IL_0021: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0026: ret - } // end of method TagTask::set_Recursive - - // method line 176 - .method public hidebysig specialname - instance default string get_ActOnTag () cil managed - { - // Method begins at RVA 0x42e0 - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "act-on-tag" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_001b: stloc.0 - IL_001c: br IL_0021 - - IL_0021: ldloc.0 - IL_0022: ret - } // end of method TagTask::get_ActOnTag - - // method line 177 - .method public hidebysig specialname - instance default void set_ActOnTag (string 'value') cil managed - { - // Method begins at RVA 0x430f - // Code size 30 (0x1e) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "act-on-tag" - IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-r {0}" - IL_0011: ldarg.1 - IL_0012: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0017: ldc.i4.1 - IL_0018: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_001d: ret - } // end of method TagTask::set_ActOnTag - - // method line 178 - .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_ActOnDate () cil managed - { - // Method begins at RVA 0x4330 - // Code size 40 (0x28) - .maxstack 2 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "act-on-date" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_001b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.Convert::ToDateTime(string) - IL_0020: stloc.0 - IL_0021: br IL_0026 - - IL_0026: ldloc.0 - IL_0027: ret - } // end of method TagTask::get_ActOnDate - - // method line 179 - .method public hidebysig specialname - instance default void set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') cil managed - { - // Method begins at RVA 0x4364 - // Code size 36 (0x24) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "act-on-date" - IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: ldstr "-D {0}" - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: call instance string class NAnt.SourceControl.Tasks.AbstractCvsTask::ToCvsDateTimeString(valuetype [mscorlib]System.DateTime) - IL_0018: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_001d: ldc.i4.1 - IL_001e: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0023: ret - } // end of method TagTask::set_ActOnDate - - // method line 180 - .method public hidebysig specialname - instance default bool get_ForceHead () cil managed - { - // Method begins at RVA 0x438c - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "force-head" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 - - IL_0021: ldloc.0 - IL_0022: ret - } // end of method TagTask::get_ForceHead - - // method line 181 - .method public hidebysig specialname - instance default void set_ForceHead (bool 'value') cil managed - { - // Method begins at RVA 0x43bb - // Code size 19 (0x13) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "force-head" - IL_0007: ldstr "-f" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method TagTask::set_ForceHead - - // method line 182 - .method public hidebysig specialname - instance default bool get_FailIfModified () cil managed - { - // Method begins at RVA 0x43d0 - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.Hashtable class NAnt.SourceControl.Tasks.AbstractSourceControlTask::get_CommandOptions() - IL_0007: ldstr "fail-if-modified" - IL_000c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0011: castclass [NAnt.Core]NAnt.Core.Types.Option - IL_0016: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_001b: stloc.0 - IL_001c: br IL_0021 + IL_0002: call instance bool class NAnt.SourceControl.Types.CvsFileSet::get_UseCvsIgnore() + IL_0007: brfalse IL_006d + IL_000c: nop + IL_000d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_001a: ldloc.0 + IL_001b: call instance void class NAnt.SourceControl.Types.CvsFileSet::ScanCvsIgnores(class [mscorlib]System.IO.DirectoryInfo, class [mscorlib]System.Collections.ArrayList) + IL_0020: nop IL_0021: ldloc.0 - IL_0022: ret - } // end of method TagTask::get_FailIfModified - - // method line 183 - .method public hidebysig specialname - instance default void set_FailIfModified (bool 'value') cil managed - { - // Method begins at RVA 0x43ff - // Code size 19 (0x13) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "fail-if-modified" - IL_0007: ldstr "-c" - IL_000c: ldarg.1 - IL_000d: call instance void class NAnt.SourceControl.Tasks.AbstractSourceControlTask::SetCommandOption(string, string, bool) - IL_0012: ret - } // end of method TagTask::set_FailIfModified - - // method line 184 - .method public virtual hidebysig specialname - instance default string get_CommandName () cil managed - { - // Method begins at RVA 0x4414 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr "tag" - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method TagTask::get_CommandName - - // method line 185 - .method public virtual hidebysig specialname - instance default string get_Module () cil managed - { - // Method begins at RVA 0x4430 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method TagTask::get_Module - - // method line 186 - .method public virtual hidebysig specialname - instance default void set_Module (string 'value') cil managed - { - // Method begins at RVA 0x4446 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method TagTask::set_Module - - // method line 187 - .method family virtual hidebysig - instance default void AppendSubCommandArgs () cil managed - { - // Method begins at RVA 0x4449 - // Code size 54 (0x36) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AppendSubCommandArgs() - IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.SourceControl.Tasks.TagTask::get_Tag() - IL_000d: brfalse IL_0035 - - IL_0012: ldarg.0 - IL_0013: call instance string class NAnt.SourceControl.Tasks.TagTask::get_Tag() - IL_0018: ldsfld string [mscorlib]System.String::Empty - IL_001d: call bool string::op_Inequality(string, string) - IL_0022: brfalse IL_0035 - - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldarg.0 - IL_002a: call instance string class NAnt.SourceControl.Tasks.TagTask::get_Tag() - IL_002f: call instance void class NAnt.SourceControl.Tasks.AbstractCvsTask::AddArg(string) - IL_0034: nop - IL_0035: ret - } // end of method TagTask::AppendSubCommandArgs + IL_0022: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0027: stloc.2 + .try { // 0 + IL_0028: br IL_0048 - // method line 188 - .method family virtual hidebysig specialname - instance default bool get_IsModuleNeeded () cil managed - { - // Method begins at RVA 0x4480 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_002d: ldloc.2 + IL_002e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0033: castclass [mscorlib]System.String + IL_0038: stloc.1 + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: call instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Excludes() + IL_0040: ldloc.1 + IL_0041: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0046: pop + IL_0047: nop + IL_0048: ldloc.2 + IL_0049: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_004e: brtrue IL_002d - IL_0008: ldloc.0 - IL_0009: ret - } // end of method TagTask::get_IsModuleNeeded + IL_0053: leave IL_006c - .property instance string Tag () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 74 61 67 01 00 54 02 08 52 65 71 75 69 // ...tag..T..Requi - 72 65 64 01 ) // red. + } // end .try 0 + finally { // 0 + IL_0058: ldloc.2 + IL_0059: isinst [mscorlib]System.IDisposable + IL_005e: dup + IL_005f: stloc.3 + IL_0060: brfalse IL_006b - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. - 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z - 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + IL_0065: ldloc.3 + IL_0066: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_006b: endfinally + } // end handler 0 + IL_006c: nop + IL_006d: ldarg.0 + IL_006e: call instance void class [NAnt.Core]NAnt.Core.Types.FileSet::Initialize() + IL_0073: ret + } // end of method CvsFileSet::Initialize - .get instance default string NAnt.SourceControl.Tasks.TagTask::get_Tag () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Tag (string 'value') - } - .property instance bool Remove () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 72 65 6D 6F 76 65 01 00 54 02 08 52 65 // ...remove..T..Re - 71 75 69 72 65 64 00 ) // quired. + // method line 187 + .method private hidebysig + instance default void ScanCvsIgnores (class [mscorlib]System.IO.DirectoryInfo dir, class [mscorlib]System.Collections.ArrayList ignoreFiles) cil managed + { + // Method begins at RVA 0x4390 + // Code size 99 (0x63) + .maxstack 3 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0, + class [mscorlib]System.IO.FileInfo[] V_1, + int32 V_2, + class [mscorlib]System.IO.DirectoryInfo V_3, + class [mscorlib]System.IO.DirectoryInfo[] V_4, + int32 V_5) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: ldstr "*.cvsignore" + IL_0008: callvirt instance class [mscorlib]System.IO.FileInfo[] class [mscorlib]System.IO.DirectoryInfo::GetFiles(string) + IL_000d: stloc.1 + IL_000e: ldc.i4.0 + IL_000f: stloc.2 + IL_0010: br IL_0027 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0015: ldloc.1 + IL_0016: ldloc.2 + IL_0017: ldelem.ref + IL_0018: stloc.0 + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldloc.0 + IL_001c: ldarg.2 + IL_001d: call instance void class NAnt.SourceControl.Types.CvsFileSet::AddCvsIgnores(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.Collections.ArrayList) + IL_0022: nop + IL_0023: ldloc.2 + IL_0024: ldc.i4.1 + IL_0025: add + IL_0026: stloc.2 + IL_0027: ldloc.2 + IL_0028: ldloc.1 + IL_0029: ldlen + IL_002a: conv.i4 + IL_002b: blt IL_0015 - .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_Remove () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Remove (bool 'value') - } - .property instance bool MoveIfExists () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 6D 6F 76 65 2D 69 66 2D 65 78 69 73 74 // ...move-if-exist - 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // s..T..Required. + IL_0030: nop + IL_0031: ldarg.1 + IL_0032: callvirt instance class [mscorlib]System.IO.DirectoryInfo[] class [mscorlib]System.IO.DirectoryInfo::GetDirectories() + IL_0037: stloc.s 4 + IL_0039: ldc.i4.0 + IL_003a: stloc.s 5 + IL_003c: br IL_0057 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0041: ldloc.s 4 + IL_0043: ldloc.s 5 + IL_0045: ldelem.ref + IL_0046: stloc.3 + IL_0047: nop + IL_0048: ldarg.0 + IL_0049: ldloc.3 + IL_004a: ldarg.2 + IL_004b: call instance void class NAnt.SourceControl.Types.CvsFileSet::ScanCvsIgnores(class [mscorlib]System.IO.DirectoryInfo, class [mscorlib]System.Collections.ArrayList) + IL_0050: nop + IL_0051: ldloc.s 5 + IL_0053: ldc.i4.1 + IL_0054: add + IL_0055: stloc.s 5 + IL_0057: ldloc.s 5 + IL_0059: ldloc.s 4 + IL_005b: ldlen + IL_005c: conv.i4 + IL_005d: blt IL_0041 - .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_MoveIfExists () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_MoveIfExists (bool 'value') - } - .property instance bool Recursive () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 72 65 63 75 72 73 69 76 65 01 00 54 02 // ...recursive..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. + IL_0062: ret + } // end of method CvsFileSet::ScanCvsIgnores - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 188 + .method private hidebysig + instance default void AddCvsIgnores (class [mscorlib]System.IO.FileInfo file, class [mscorlib]System.Collections.ArrayList ignoreFiles) cil managed + { + // Method begins at RVA 0x4400 + // Code size 127 (0x7f) + .maxstack 4 + .locals init ( + class [mscorlib]System.IO.StreamReader V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0007: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) + IL_000c: stloc.0 + .try { // 0 + IL_000d: nop + IL_000e: br IL_005e - .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_Recursive () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Recursive (bool 'value') - } - .property instance string ActOnTag () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 61 63 74 2D 6F 6E 2D 74 61 67 01 00 54 // ...act-on-tag..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + IL_0013: nop + IL_0014: ldloc.1 + IL_0015: ldstr "." + IL_001a: callvirt instance int32 string::IndexOf(string) + IL_001f: brtrue IL_0048 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 02 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 54 0E 0A 45 78 70 72 65 73 73 69 6F 6E 1D // y.T..Expression. - 5E 5B 41 2D 5A 61 2D 7A 30 2D 39 5D 5B 41 2D 5A // ^[A-Za-z0-9][A-Z - 61 2D 7A 30 2D 39 2E 5F 5C 2D 5D 2A 24 ) // a-z0-9._\-]*$ + IL_0024: nop + IL_0025: ldarg.2 + IL_0026: ldarg.1 + IL_0027: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_002c: ldstr "*" + IL_0031: ldloc.1 + IL_0032: call string string::Concat(string, string) + IL_0037: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_003c: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0041: pop + IL_0042: nop + IL_0043: br IL_005d - .get instance default string NAnt.SourceControl.Tasks.TagTask::get_ActOnTag () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_ActOnTag (string 'value') - } - .property instance valuetype [mscorlib]System.DateTime ActOnDate () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 61 63 74 2D 6F 6E 2D 64 61 74 65 01 00 // ...act-on-date.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. + IL_0048: nop + IL_0049: ldarg.2 + IL_004a: ldarg.1 + IL_004b: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_0050: ldloc.1 + IL_0051: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0056: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_005b: pop + IL_005c: nop + IL_005d: nop + IL_005e: ldloc.0 + IL_005f: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0064: dup + IL_0065: stloc.1 + IL_0066: brtrue IL_0013 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_006b: nop + IL_006c: leave IL_007e - .get instance default valuetype [mscorlib]System.DateTime NAnt.SourceControl.Tasks.TagTask::get_ActOnDate () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_ActOnDate (valuetype [mscorlib]System.DateTime 'value') - } - .property instance bool ForceHead () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0A 66 6F 72 63 65 2D 68 65 61 64 01 00 54 // ...force-head..T - 02 08 52 65 71 75 69 72 65 64 00 ) // ..Required. + } // end .try 0 + finally { // 0 + IL_0071: ldloc.0 + IL_0072: brfalse IL_007d - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0077: ldloc.0 + IL_0078: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_007d: endfinally + } // end handler 0 + IL_007e: ret + } // end of method CvsFileSet::AddCvsIgnores - .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_ForceHead () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_ForceHead (bool 'value') - } - .property instance bool FailIfModified () + .property instance bool UseCvsIgnore () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 66 61 69 6C 2D 69 66 2D 6D 6F 64 69 66 // ...fail-if-modif - 69 65 64 01 00 54 02 08 52 65 71 75 69 72 65 64 // ied..T..Required - 00 ) // . - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 01 00 0C 75 73 65 63 76 73 69 67 6E 6F 72 65 01 // ...usecvsignore. + 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. - .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_FailIfModified () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_FailIfModified (bool 'value') - } - .property instance string CommandName () - { - .get instance default string NAnt.SourceControl.Tasks.TagTask::get_CommandName () - } - .property instance string Module () - { - .get instance default string NAnt.SourceControl.Tasks.TagTask::get_Module () - .set instance default void NAnt.SourceControl.Tasks.TagTask::set_Module (string 'value') - } - .property instance bool IsModuleNeeded () - { - .get instance default bool NAnt.SourceControl.Tasks.TagTask::get_IsModuleNeeded () + .get instance default bool NAnt.SourceControl.Types.CvsFileSet::get_UseCvsIgnore () + .set instance default void NAnt.SourceControl.Types.CvsFileSet::set_UseCvsIgnore (bool 'value') } - } // end of class NAnt.SourceControl.Tasks.TagTask + } // end of class NAnt.SourceControl.Types.CvsFileSet } /usr/share/NAnt/bin/NAnt.SourceControlTasks.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.SourceControlTasks.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.SourceControlTasks.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,25 +4,6 @@ NAnt.SourceControlTasks - - - A is a with extra - attributes useful in the context of the . - - - - - Indicates whether the entires in the .cvsignore should be used to limit the - file list; to exclude files in .cvsignore, otherwise - . The default is . - - - - - Initialize the object and locate the .cvsignore - files to add to the exclude list. - - Executes the cvs login command which appends or updates an entry to the @@ -78,103 +59,6 @@ - - - Checks out a CVS module to the required directory. - - - Checkout NAnt. - - - ]]> - - - - - Checkout NAnt revision named 0_85 to the - folder c:\src\nant\v0.85. - - - - ]]> - - So the nant module tagged with revision 0_85 will be checked - out in the folder v0.85 under the working/ destination directory. -
This could be used to work on different - branches of a repository at the same time.
-
- - - Checkout NAnt with specified revision date to the - folder c:\src\nant\2003_08_16. - - - - ]]> - - -
- - - The command being executed. - - - - - Initializes a new instance of the class. - - - - - Specify the revision to checkout. This corresponds to the "sticky-tag" - of the file. - - - - - Sticky tag or revision to checkout. - - - - - Specify the revision date to checkout. The date specified is validated - and then passed to the cvs binary in a standard format recognized by - cvs. - - - - - Specify a directory name to replace the module name. Valid names - include any valid filename, excluding path information. - - - - - Specify a directory name to replace the module name. Valid names - include any valid filename, excluding path information. - - - - - The name of the cvs command that is going to be executed. - - Tags all sources in the remote repository with a given tag. @@ -303,81 +187,277 @@ Append the tag information to the commandline. - + - A base class for creating tasks for executing CVS client commands on a - CVS repository. + Produces an XML report that represents the cvs changes from the given + start day, to a given end date. + + Report changes in NAnt from 1st of June 2004 until 25th of July 2004. + + + ]]> + + - + - Name of the environmental variable specifying a users' home - in a *nix environment. + The command being executed. - + - Used on windows to specify the location of application data. + Name of the xml file that will contain the cvs log information. - + - The environment variable that holds path information. + The earliest change to use in the cvs log command. - + - The environment variable that holds the location of the - .cvspass file. + The latest date to use in the cvs log command. - + - Property name used to specify the source control executable. This is - used as a readonly property. + The cvs command to execute. - + PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.VSNetTasks.dll /usr/share/NAnt/bin/NAnt.VSNetTasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.VSNetTasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.VSNetTasks.dll (monodis) @@ -3,24 +3,24 @@ .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern System -{ - .ver 4:0:0:0 - .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. -} .assembly extern NAnt.Core { .ver 0:93:1:0 } -.assembly extern NAnt.VisualCppTasks +.assembly extern System { - .ver 0:93:1:0 + .ver 4:0:0:0 + .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } .assembly extern System.Xml { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } +.assembly extern NAnt.VisualCppTasks +{ + .ver 0:93:1:0 +} .assembly extern NAnt.DotNetTasks { .ver 0:93:1:0 @@ -75,1484 +75,1508 @@ .module extern 'oleaut32.dll' -.namespace NAnt.VSNet.Everett +.namespace NAnt.VSNet.Tasks { - .class private auto ansi beforefieldinit SolutionProvider - extends [mscorlib]System.Object - implements NAnt.VSNet.Extensibility.ISolutionBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + .class public auto ansi serializable beforefieldinit SolutionTask + extends [NAnt.Core]NAnt.Core.Task + implements [NAnt.Core]NAnt.Core.Extensibility.IPluginConsumer { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 73 6F 6C 75 74 69 6F 6E 00 00 ) // ...solution.. + + .custom instance void class [NAnt.Core]NAnt.Core.Extensibility.PluginConsumerAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 2E 4E 41 6E 74 2E 56 53 4E 65 74 2E 45 78 // ...NAnt.VSNet.Ex + 74 65 6E 73 69 62 69 6C 69 74 79 2E 49 50 72 6F // tensibility.IPro + 6A 65 63 74 42 75 69 6C 64 50 72 6F 76 69 64 65 // jectBuildProvide + 72 00 00 ) // r.. + + .custom instance void class [NAnt.Core]NAnt.Core.Extensibility.PluginConsumerAttribute::'.ctor'(class [mscorlib]System.Type) = ( + 01 00 2F 4E 41 6E 74 2E 56 53 4E 65 74 2E 45 78 // ../NAnt.VSNet.Ex + 74 65 6E 73 69 62 69 6C 69 74 79 2E 49 53 6F 6C // tensibility.ISol + 75 74 69 6F 6E 42 75 69 6C 64 50 72 6F 76 69 64 // utionBuildProvid + 65 72 00 00 ) // er.. + + .field private class [mscorlib]System.Collections.ArrayList _customproperties + .field private class [mscorlib]System.IO.FileInfo _solutionFile + .field private class NAnt.VSNet.Configuration _configuration + .field private class [mscorlib]System.IO.DirectoryInfo _outputDir + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _projects + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _referenceProjects + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _excludeProjects + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _assemblyFolders + .field private class [System]System.Collections.Specialized.StringCollection _assemblyFolderList + .field private class NAnt.VSNet.Types.WebMapCollection _webMaps + .field private bool _includeVSFolders + .field private bool _enableWebDav + .field private initonly class NAnt.VSNet.SolutionFactory _solutionFactory + .field private initonly class NAnt.VSNet.ProjectFactory _projectFactory // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { // Method begins at RVA 0x2050 - // Code size 7 (0x7) - .maxstack 8 + // Code size 115 (0x73) + .maxstack 2 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method SolutionProvider::.ctor + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.VSNet.Tasks.SolutionTask::_includeVSFolders + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0014: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.Tasks.SolutionTask::_customproperties + IL_0019: ldarg.0 + IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_001f: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_projects + IL_0024: ldarg.0 + IL_0025: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_002a: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_referenceProjects + IL_002f: ldarg.0 + IL_0030: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0035: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_excludeProjects + IL_003a: ldarg.0 + IL_003b: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0040: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_assemblyFolders + IL_0045: ldarg.0 + IL_0046: newobj instance void class NAnt.VSNet.Types.WebMapCollection::'.ctor'() + IL_004b: stfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.Tasks.SolutionTask::_webMaps + IL_0050: ldarg.0 + IL_0051: ldarg.0 + IL_0052: call class NAnt.VSNet.ProjectFactory class NAnt.VSNet.ProjectFactory::Create(class NAnt.VSNet.Tasks.SolutionTask) + IL_0057: stfld class NAnt.VSNet.ProjectFactory NAnt.VSNet.Tasks.SolutionTask::_projectFactory + IL_005c: ldarg.0 + IL_005d: call class NAnt.VSNet.SolutionFactory class NAnt.VSNet.SolutionFactory::Create() + IL_0062: stfld class NAnt.VSNet.SolutionFactory NAnt.VSNet.Tasks.SolutionTask::_solutionFactory + IL_0067: ldarg.0 + IL_0068: newobj instance void class NAnt.VSNet.Configuration::'.ctor'() + IL_006d: stfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_0072: ret + } // end of method SolutionTask::.ctor // method line 2 - .method public final virtual hidebysig newslot - instance default int32 IsSupported (string fileContents) cil managed + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Projects () cil managed { - // Method begins at RVA 0x2058 - // Code size 101 (0x65) - .maxstack 2 + // Method begins at RVA 0x20d0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0, - class [System]System.Text.RegularExpressions.MatchCollection V_1, - int32 V_2, - string V_3) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop - IL_0001: ldstr "^\\s*Microsoft Visual Studio Solution File, Format Version\\s+(?[0-9]+\\.[0-9]+)" - IL_0006: ldc.i4.s 0x10 - IL_0008: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldarg.1 - IL_0010: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) - IL_0015: stloc.1 - IL_0016: ldloc.1 - IL_0017: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() - IL_001c: brtrue IL_0028 + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_projects + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0021: ldc.i4.0 - IL_0022: stloc.2 - IL_0023: br IL_0063 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionTask::get_Projects - IL_0028: ldloc.1 - IL_0029: ldc.i4.0 - IL_002a: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.MatchCollection::get_Item(int32) - IL_002f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0034: ldstr "formatVersion" - IL_0039: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_003e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0043: stloc.3 - IL_0044: ldloc.3 - IL_0045: ldstr "8.00" - IL_004a: call bool string::op_Equality(string, string) - IL_004f: brfalse IL_005c + // method line 3 + .method public hidebysig specialname + instance default void set_Projects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x20eb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_projects + IL_0008: ret + } // end of method SolutionTask::set_Projects - IL_0054: ldc.i4.s 0x0a - IL_0056: stloc.2 - IL_0057: br IL_0063 + // method line 4 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ReferenceProjects () cil managed + { + // Method begins at RVA 0x20f8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_referenceProjects + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_005c: ldc.i4.0 - IL_005d: stloc.2 - IL_005e: br IL_0063 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionTask::get_ReferenceProjects - IL_0063: ldloc.2 - IL_0064: ret - } // end of method SolutionProvider::IsSupported + // method line 5 + .method public hidebysig specialname + instance default void set_ReferenceProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x2113 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_referenceProjects + IL_0008: ret + } // end of method SolutionTask::set_ReferenceProjects - // method line 3 - .method public final virtual hidebysig newslot - instance default class NAnt.VSNet.SolutionBase GetInstance (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + // method line 6 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_SolutionFile () cil managed { - // Method begins at RVA 0x20cc - // Code size 21 (0x15) - .maxstack 5 + // Method begins at RVA 0x2120 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.VSNet.SolutionBase V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: newobj instance void class NAnt.VSNet.Everett.Solution::'.ctor'(string, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method SolutionProvider::GetInstance + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Tasks.SolutionTask::_solutionFile + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end of class NAnt.VSNet.Everett.SolutionProvider -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionTask::get_SolutionFile -.namespace NAnt.VSNet.Everett -{ - .class private auto ansi beforefieldinit Solution - extends NAnt.VSNet.SolutionBase - { + // method line 7 + .method public hidebysig specialname + instance default void set_SolutionFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x213b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Tasks.SolutionTask::_solutionFile + IL_0008: ret + } // end of method SolutionTask::set_SolutionFile - // method line 4 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + // method line 8 + .method public hidebysig specialname + instance default string get_Configuration () cil managed { - // Method begins at RVA 0x374c - // Code size 775 (0x307) - .maxstack 5 + // Method begins at RVA 0x2148 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0, - class [System]System.Text.RegularExpressions.MatchCollection V_1, - class [mscorlib]System.Collections.Hashtable V_2, - class [System]System.Text.RegularExpressions.Match V_3, - class [mscorlib]System.Collections.IEnumerator V_4, - string V_5, - string V_6, - string V_7, - bool V_8, - class [System]System.Text.RegularExpressions.Regex V_9, - class [System]System.Text.RegularExpressions.MatchCollection V_10, - class [System]System.Text.RegularExpressions.Match V_11, - class [mscorlib]System.Collections.IEnumerator V_12, - string V_13, - string V_14, - class [mscorlib]System.IDisposable V_15, - class [System]System.Text.RegularExpressions.Regex V_16, - class [System]System.Text.RegularExpressions.MatchCollection V_17, - class NAnt.VSNet.ProjectEntry V_18, - class NAnt.VSNet.ConfigurationMap V_19, - int32 V_20, - class [System]System.Text.RegularExpressions.Match V_21, - string V_22, - string V_23, - string V_24, - string V_25, - class NAnt.VSNet.Configuration V_26, - class NAnt.VSNet.Configuration V_27, - class [mscorlib]System.IDisposable V_28) - IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: ldarg.s 4 - IL_0005: ldarg.s 5 - IL_0007: call instance void class NAnt.VSNet.SolutionBase::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) - IL_000c: nop - IL_000d: ldstr "Project\\(\\\"(?\\{.*?\\})\\\".*?\\\"(?.*?)\\\".*?\\\"(?.*?)\\\".*?\\\"(?.*?)\\\"(?[\\s\\S]*?)EndProject" - IL_0012: ldc.i4.2 - IL_0013: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_0018: stloc.0 - IL_0019: ldloc.0 - IL_001a: ldarg.1 - IL_001b: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) - IL_0020: stloc.1 - IL_0021: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0026: stloc.2 - IL_0027: nop - IL_0028: ldloc.1 - IL_0029: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Text.RegularExpressions.MatchCollection::GetEnumerator() - IL_002e: stloc.s 4 - .try { // 1 - IL_0030: br IL_02a5 - - IL_0035: ldloc.s 4 - IL_0037: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_003c: castclass [System]System.Text.RegularExpressions.Match - IL_0041: stloc.3 - IL_0042: nop - IL_0043: ldloc.3 - IL_0044: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0049: ldstr "project" - IL_004e: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_0053: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0058: stloc.s 5 - IL_005a: ldloc.3 - IL_005b: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0060: ldstr "guid" - IL_0065: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_006a: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_006f: stloc.s 6 - IL_0071: ldarg.0 - IL_0072: ldarg.2 - IL_0073: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0078: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_007d: ldloc.s 5 - IL_007f: call instance string class NAnt.VSNet.SolutionBase::TranslateProjectPath(string, string) - IL_0084: stloc.s 7 - IL_0086: ldloc.s 7 - IL_0088: call bool class [mscorlib]System.IO.File::Exists(string) - IL_008d: brtrue IL_009c + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_0007: callvirt instance string class NAnt.VSNet.Configuration::get_Name() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0092: nop - IL_0093: ldarg.0 - IL_0094: ldloc.s 7 - IL_0096: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.SolutionBase::CreateProjectDoesNotExistException(string) - IL_009b: throw - IL_009c: ldloc.s 7 - IL_009e: call bool class NAnt.VSNet.ManagedProjectBase::IsEnterpriseTemplateProject(string) - IL_00a3: stloc.s 8 - IL_00a5: ldloc.s 8 - IL_00a7: brfalse IL_00bb + IL_0012: ldloc.0 + IL_0013: ret + } // end of method SolutionTask::get_Configuration - IL_00ac: nop - IL_00ad: ldarg.0 - IL_00ae: ldloc.s 7 - IL_00b0: call instance void class NAnt.VSNet.SolutionBase::RecursiveLoadTemplateProject(string) - IL_00b5: nop - IL_00b6: br IL_00d2 + // method line 9 + .method public hidebysig specialname + instance default void set_Configuration (string 'value') cil managed + { + // Method begins at RVA 0x2168 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_0007: ldarg.1 + IL_0008: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_000d: callvirt instance void class NAnt.VSNet.Configuration::set_Name(string) + IL_0012: ret + } // end of method SolutionTask::set_Configuration - IL_00bb: nop - IL_00bc: ldarg.0 - IL_00bd: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_00c2: ldloc.s 6 - IL_00c4: ldloc.s 7 - IL_00c6: newobj instance void class NAnt.VSNet.ProjectEntry::'.ctor'(string, string) - IL_00cb: callvirt instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) - IL_00d0: pop - IL_00d1: nop - IL_00d2: ldstr "^\\s+(?\\{[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}\\})\\s+=\\s+(?\\{[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}\\})" - IL_00d7: ldc.i4.2 - IL_00d8: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_00dd: stloc.s 9 - IL_00df: ldloc.s 9 - IL_00e1: ldloc.3 - IL_00e2: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_00e7: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) - IL_00ec: stloc.s 10 - IL_00ee: nop - IL_00ef: ldloc.s 10 - IL_00f1: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Text.RegularExpressions.MatchCollection::GetEnumerator() - IL_00f6: stloc.s 12 - .try { // 0 - IL_00f8: br IL_017c + // method line 10 + .method public hidebysig specialname + instance default string get_Platform () cil managed + { + // Method begins at RVA 0x217c + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_0007: callvirt instance string class NAnt.VSNet.Configuration::get_Platform() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00fd: ldloc.s 12 - IL_00ff: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0104: castclass [System]System.Text.RegularExpressions.Match - IL_0109: stloc.s 11 - IL_010b: nop - IL_010c: ldloc.s 11 - IL_010e: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0113: ldstr "dep" - IL_0118: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_011d: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0122: stloc.s 13 - IL_0124: ldloc.s 8 - IL_0126: brfalse IL_0146 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method SolutionTask::get_Platform - IL_012b: ldloc.s 11 - IL_012d: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0132: ldstr "guid" - IL_0137: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_013c: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0141: br IL_0148 + // method line 11 + .method public hidebysig specialname + instance default void set_Platform (string 'value') cil managed + { + // Method begins at RVA 0x219c + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_0007: ldarg.1 + IL_0008: callvirt instance void class NAnt.VSNet.Configuration::set_Platform(string) + IL_000d: ret + } // end of method SolutionTask::set_Platform - IL_0146: ldloc.s 6 - IL_0148: stloc.s 14 - IL_014a: ldloc.2 - IL_014b: ldloc.s 14 - IL_014d: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0152: brtrue IL_0166 + // method line 12 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_SolutionConfig () cil managed + { + // Method begins at RVA 0x21ac + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Configuration V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0157: nop - IL_0158: ldloc.2 - IL_0159: ldloc.s 14 - IL_015b: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0160: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0165: nop - IL_0166: ldloc.2 - IL_0167: ldloc.s 14 - IL_0169: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_016e: castclass [mscorlib]System.Collections.Hashtable - IL_0173: ldloc.s 13 - IL_0175: ldnull - IL_0176: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_017b: nop - IL_017c: ldloc.s 12 - IL_017e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0183: brtrue IL_00fd + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionTask::get_SolutionConfig - IL_0188: leave IL_01a4 + // method line 13 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed + { + // Method begins at RVA 0x21c8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.Tasks.SolutionTask::_outputDir + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_018d: ldloc.s 12 - IL_018f: isinst [mscorlib]System.IDisposable - IL_0194: dup - IL_0195: stloc.s 15 - IL_0197: brfalse IL_01a3 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionTask::get_OutputDir - IL_019c: ldloc.s 15 - IL_019e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01a3: endfinally - } // end handler 0 - IL_01a4: ldstr "^\\s+" - IL_01a9: ldloc.s 6 - IL_01ab: ldstr "\\.(?[^|]+)\\|?(?[^\\.]?)\\.Build\\.0\\s*=\\s* (?[^|]+)\\|(?[\\.\\w ]+)\\s*" - IL_01b0: call string string::Concat(string, string, string) - IL_01b5: ldc.i4.2 - IL_01b6: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_01bb: stloc.s 16 - IL_01bd: ldloc.s 16 - IL_01bf: ldarg.1 - IL_01c0: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) - IL_01c5: stloc.s 17 - IL_01c7: ldarg.0 - IL_01c8: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_01cd: ldloc.s 6 - IL_01cf: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_01d4: stloc.s 18 - IL_01d6: ldloc.s 18 - IL_01d8: brtrue IL_01e3 - - IL_01dd: nop - IL_01de: leave IL_02a5 - - IL_01e3: ldloc.s 17 - IL_01e5: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() - IL_01ea: newobj instance void class NAnt.VSNet.ConfigurationMap::'.ctor'(int32) - IL_01ef: stloc.s 19 - IL_01f1: ldc.i4.0 - IL_01f2: stloc.s 20 - IL_01f4: br IL_028d - - IL_01f9: nop - IL_01fa: ldloc.s 17 - IL_01fc: ldloc.s 20 - IL_01fe: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.MatchCollection::get_Item(int32) - IL_0203: stloc.s 21 - IL_0205: ldloc.s 21 - IL_0207: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_020c: ldstr "solutionConfiguration" - IL_0211: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_0216: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_021b: stloc.s 22 - IL_021d: ldloc.s 21 - IL_021f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0224: ldstr "solutionPlatform" - IL_0229: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_022e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0233: stloc.s 23 - IL_0235: ldloc.s 21 - IL_0237: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_023c: ldstr "projectConfiguration" - IL_0241: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_0246: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_024b: stloc.s 24 - IL_024d: ldloc.s 21 - IL_024f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0254: ldstr "projectPlatform" - IL_0259: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_025e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0263: stloc.s 25 - IL_0265: ldloc.s 22 - IL_0267: ldloc.s 23 - IL_0269: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) - IL_026e: stloc.s 26 - IL_0270: ldloc.s 24 - IL_0272: ldloc.s 25 - IL_0274: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) - IL_0279: stloc.s 27 - IL_027b: ldloc.s 19 - IL_027d: ldloc.s 26 - IL_027f: ldloc.s 27 - IL_0281: callvirt instance void class NAnt.VSNet.ConfigurationMap::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) - IL_0286: nop - IL_0287: ldloc.s 20 - IL_0289: ldc.i4.1 - IL_028a: add - IL_028b: stloc.s 20 - IL_028d: ldloc.s 20 - IL_028f: ldloc.s 17 - IL_0291: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() - IL_0296: blt IL_01f9 - - IL_029b: ldloc.s 18 - IL_029d: ldloc.s 19 - IL_029f: callvirt instance void class NAnt.VSNet.ProjectEntry::set_BuildConfigurations(class NAnt.VSNet.ConfigurationMap) - IL_02a4: nop - IL_02a5: ldloc.s 4 - IL_02a7: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02ac: brtrue IL_0035 - - IL_02b1: leave IL_02cd - - } // end .try 1 - finally { // 1 - IL_02b6: ldloc.s 4 - IL_02b8: isinst [mscorlib]System.IDisposable - IL_02bd: dup - IL_02be: stloc.s 28 - IL_02c0: brfalse IL_02cc - - IL_02c5: ldloc.s 28 - IL_02c7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02cc: endfinally - } // end handler 1 - IL_02cd: ldarg.0 - IL_02ce: ldarg.2 - IL_02cf: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() - IL_02d4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_02d9: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) - IL_02de: ldc.i4.0 - IL_02df: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) - IL_02e4: ldarg.0 - IL_02e5: ldarg.2 - IL_02e6: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() - IL_02eb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_02f0: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) - IL_02f5: ldc.i4.1 - IL_02f6: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) - IL_02fb: ldarg.0 - IL_02fc: ldarg.s 4 - IL_02fe: ldarg.s 5 - IL_0300: ldloc.2 - IL_0301: call instance void class NAnt.VSNet.SolutionBase::LoadProjects(class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.Collections.Hashtable) - IL_0306: ret - } // end of method Solution::.ctor - - } // end of class NAnt.VSNet.Everett.Solution -} - -.namespace NAnt.VSNet.Types -{ - .class public auto ansi sealed UseOfMFC - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.Types.UseOfMFC NotUsing = int32(0x00000000) - .field public static literal valuetype NAnt.VSNet.Types.UseOfMFC Static = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.Types.UseOfMFC Shared = int32(0x00000002) - - } // end of class NAnt.VSNet.Types.UseOfMFC -} - -.namespace NAnt.VSNet.Types -{ - .class public auto ansi sealed UseOfATL - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.Types.UseOfATL NotUsing = int32(0x00000000) - .field public static literal valuetype NAnt.VSNet.Types.UseOfATL Static = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.Types.UseOfATL Shared = int32(0x00000002) - - } // end of class NAnt.VSNet.Types.UseOfATL -} - -.namespace NAnt.VSNet.Types -{ - .class public auto ansi serializable beforefieldinit WebMap - extends [NAnt.Core]NAnt.Core.Element - { - .field private string _url - .field private class [mscorlib]System.IO.FileInfo _path - .field private bool _caseSensitive - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 5 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 14 + .method public hidebysig specialname + instance default void set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x3a94 - // Code size 14 (0xe) + // Method begins at RVA 0x21e3 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.VSNet.Types.WebMap::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method WebMap::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.Tasks.SolutionTask::_outputDir + IL_0008: ret + } // end of method SolutionTask::set_OutputDir - // method line 6 + // method line 15 .method public hidebysig specialname - instance default string get_Url () cil managed + instance default class NAnt.VSNet.Types.WebMapCollection get_WebMaps () cil managed { - // Method begins at RVA 0x3aa4 + // Method begins at RVA 0x21f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.VSNet.Types.WebMapCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.Types.WebMap::_url + IL_0002: ldfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.Tasks.SolutionTask::_webMaps IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method WebMap::get_Url + } // end of method SolutionTask::get_WebMaps - // method line 7 + // method line 16 .method public hidebysig specialname - instance default void set_Url (string 'value') cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ExcludeProjects () cil managed { - // Method begins at RVA 0x3abf - // Code size 14 (0xe) + // Method begins at RVA 0x220c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_excludeProjects + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionTask::get_ExcludeProjects + + // method line 17 + .method public hidebysig specialname + instance default void set_ExcludeProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x2227 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.VSNet.Types.WebMap::_url - IL_000d: ret - } // end of method WebMap::set_Url + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_excludeProjects + IL_0008: ret + } // end of method SolutionTask::set_ExcludeProjects - // method line 8 + // method line 18 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Path () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_AssemblyFolders () cil managed { - // Method begins at RVA 0x3ad0 + // Method begins at RVA 0x2234 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Types.WebMap::_path + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_assemblyFolders IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method WebMap::get_Path + } // end of method SolutionTask::get_AssemblyFolders - // method line 9 + // method line 19 .method public hidebysig specialname - instance default void set_Path (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_AssemblyFolders (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x3aeb + // Method begins at RVA 0x224f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Types.WebMap::_path + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_assemblyFolders IL_0008: ret - } // end of method WebMap::set_Path + } // end of method SolutionTask::set_AssemblyFolders - // method line 10 + // method line 20 .method public hidebysig specialname - instance default bool get_CaseSensitive () cil managed + instance default bool get_IncludeVSFolders () cil managed { - // Method begins at RVA 0x3af8 + // Method begins at RVA 0x225c // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.Types.WebMap::_caseSensitive + IL_0002: ldfld bool NAnt.VSNet.Tasks.SolutionTask::_includeVSFolders IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method WebMap::get_CaseSensitive + } // end of method SolutionTask::get_IncludeVSFolders - // method line 11 + // method line 21 .method public hidebysig specialname - instance default void set_CaseSensitive (bool 'value') cil managed + instance default void set_IncludeVSFolders (bool 'value') cil managed { - // Method begins at RVA 0x3b13 + // Method begins at RVA 0x2277 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VSNet.Types.WebMap::_caseSensitive + IL_0003: stfld bool NAnt.VSNet.Tasks.SolutionTask::_includeVSFolders IL_0008: ret - } // end of method WebMap::set_CaseSensitive + } // end of method SolutionTask::set_IncludeVSFolders - // method line 12 + // method line 22 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default bool get_EnableWebDav () cil managed { - // Method begins at RVA 0x3b20 + // Method begins at RVA 0x2284 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.Types.WebMap::_ifDefined + IL_0002: ldfld bool NAnt.VSNet.Tasks.SolutionTask::_enableWebDav IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method WebMap::get_IfDefined + } // end of method SolutionTask::get_EnableWebDav - // method line 13 + // method line 23 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_EnableWebDav (bool 'value') cil managed { - // Method begins at RVA 0x3b3b + // Method begins at RVA 0x229f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VSNet.Types.WebMap::_ifDefined + IL_0003: stfld bool NAnt.VSNet.Tasks.SolutionTask::_enableWebDav IL_0008: ret - } // end of method WebMap::set_IfDefined + } // end of method SolutionTask::set_EnableWebDav - // method line 14 + // method line 24 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class [mscorlib]System.Collections.ArrayList get_CustomProperties () cil managed { - // Method begins at RVA 0x3b48 + // Method begins at RVA 0x22ac // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.Types.WebMap::_unlessDefined + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.Tasks.SolutionTask::_customproperties IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method WebMap::get_UnlessDefined + } // end of method SolutionTask::get_CustomProperties - // method line 15 + // method line 25 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_AssemblyFolderList () cil managed { - // Method begins at RVA 0x3b63 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x22c8 + // Code size 313 (0x139) + .maxstack 7 + .locals init ( + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + class [System]System.Collections.Specialized.StringCollection V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class [System]System.Collections.Specialized.StringCollection V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VSNet.Types.WebMap::_unlessDefined - IL_0008: ret - } // end of method WebMap::set_UnlessDefined - - .property instance string Url () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 75 72 6C 01 00 54 02 08 52 65 71 75 69 // ...url..T..Requi - 72 65 64 01 ) // red. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList + IL_0007: brtrue IL_0129 - .get instance default string NAnt.VSNet.Types.WebMap::get_Url () - .set instance default void NAnt.VSNet.Types.WebMap::set_Url (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo Path () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 70 61 74 68 01 00 54 02 08 52 65 71 75 // ...path..T..Requ - 69 72 65 64 01 ) // ired. + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0013: stfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolders() + IL_001f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0024: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0029: stloc.1 + .try { // 0 + IL_002a: br IL_0072 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Types.WebMap::get_Path () - .set instance default void NAnt.VSNet.Types.WebMap::set_Path (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance bool CaseSensitive () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 63 61 73 65 73 65 6E 73 69 74 69 76 65 // ...casesensitive - 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. + IL_002f: ldloc.1 + IL_0030: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0035: stloc.0 + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList + IL_003d: ldloc.0 + IL_003e: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_0043: brtrue IL_0071 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0048: nop + IL_0049: ldarg.0 + IL_004a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList + IL_004f: ldloc.0 + IL_0050: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0055: pop + IL_0056: ldarg.0 + IL_0057: ldc.i4 1000 + IL_005c: ldstr "Added \"{0}\" to AssemblyFolders." + IL_0061: ldc.i4.1 + IL_0062: newarr [mscorlib]System.Object + IL_0067: dup + IL_0068: ldc.i4.0 + IL_0069: ldloc.0 + IL_006a: stelem.ref + IL_006b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0070: nop + IL_0071: nop + IL_0072: ldloc.1 + IL_0073: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0078: brtrue IL_002f - .get instance default bool NAnt.VSNet.Types.WebMap::get_CaseSensitive () - .set instance default void NAnt.VSNet.Types.WebMap::set_CaseSensitive (bool 'value') - } - .property instance bool IfDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + IL_007d: leave IL_0096 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end .try 0 + finally { // 0 + IL_0082: ldloc.1 + IL_0083: isinst [mscorlib]System.IDisposable + IL_0088: dup + IL_0089: stloc.2 + IL_008a: brfalse IL_0095 - .get instance default bool NAnt.VSNet.Types.WebMap::get_IfDefined () - .set instance default void NAnt.VSNet.Types.WebMap::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + 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: call instance bool class NAnt.VSNet.Tasks.SolutionTask::get_IncludeVSFolders() + IL_009c: brfalse IL_0128 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_00a1: nop + IL_00a2: ldarg.0 + IL_00a3: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.Tasks.SolutionTask::BuildAssemblyFolders() + IL_00a8: stloc.3 + IL_00a9: nop + IL_00aa: ldloc.3 + IL_00ab: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00b0: stloc.s 5 + .try { // 1 + IL_00b2: br IL_00ff - .get instance default bool NAnt.VSNet.Types.WebMap::get_UnlessDefined () - .set instance default void NAnt.VSNet.Types.WebMap::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.VSNet.Types.WebMap -} + IL_00b7: ldloc.s 5 + IL_00b9: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00be: stloc.s 4 + IL_00c0: nop + IL_00c1: ldarg.0 + IL_00c2: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList + IL_00c7: ldloc.s 4 + IL_00c9: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_00ce: brtrue IL_00fe -.namespace NAnt.VSNet.Types -{ - .class public auto ansi sealed UsePrecompiledHeader - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader Unspecified = int32(0xffffffff) - .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader No = int32(0x00000000) - .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader Create = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader AutoCreate = int32(0x00000002) - .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader Use = int32(0x00000003) + IL_00d3: nop + IL_00d4: ldarg.0 + IL_00d5: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList + IL_00da: ldloc.s 4 + IL_00dc: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00e1: pop + IL_00e2: ldarg.0 + IL_00e3: ldc.i4 1000 + IL_00e8: ldstr "Added \"{0}\" to AssemblyFolders." + IL_00ed: ldc.i4.1 + IL_00ee: newarr [mscorlib]System.Object + IL_00f3: dup + IL_00f4: ldc.i4.0 + IL_00f5: ldloc.s 4 + IL_00f7: stelem.ref + IL_00f8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00fd: nop + IL_00fe: nop + IL_00ff: ldloc.s 5 + IL_0101: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0106: brtrue IL_00b7 - } // end of class NAnt.VSNet.Types.UsePrecompiledHeader -} + IL_010b: leave IL_0127 -.namespace NAnt.VSNet.Types -{ - .class public auto ansi serializable beforefieldinit WebMapCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + } // end .try 1 + finally { // 1 + IL_0110: ldloc.s 5 + IL_0112: isinst [mscorlib]System.IDisposable + IL_0117: dup + IL_0118: stloc.s 6 + IL_011a: brfalse IL_0126 + IL_011f: ldloc.s 6 + IL_0121: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0126: endfinally + } // end handler 1 + IL_0127: nop + IL_0128: nop + IL_0129: ldarg.0 + IL_012a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList + IL_012f: stloc.s 7 + IL_0131: br IL_0136 - // method line 16 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x3b6d - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method WebMapCollection::.ctor + IL_0136: ldloc.s 7 + IL_0138: ret + } // end of method SolutionTask::get_AssemblyFolderList - // method line 17 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Types.WebMapCollection 'value') cil managed + // method line 26 + .method assembly hidebysig specialname + instance default class NAnt.VSNet.ProjectFactory get_ProjectFactory () cil managed { - // Method begins at RVA 0x3b76 + // Method begins at RVA 0x242c // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VSNet.Types.WebMapCollection::AddRange(class NAnt.VSNet.Types.WebMapCollection) - IL_000e: ret - } // end of method WebMapCollection::.ctor + .maxstack 1 + .locals init ( + class NAnt.VSNet.ProjectFactory V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ProjectFactory NAnt.VSNet.Tasks.SolutionTask::_projectFactory + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 18 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Types.WebMap[] 'value') cil managed - { - // Method begins at RVA 0x3b86 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VSNet.Types.WebMapCollection::AddRange(class NAnt.VSNet.Types.WebMap[]) + IL_000d: ldloc.0 IL_000e: ret - } // end of method WebMapCollection::.ctor + } // end of method SolutionTask::get_ProjectFactory - // method line 19 - .method public hidebysig specialname - instance default class NAnt.VSNet.Types.WebMap get_Item (int32 index) cil managed + // method line 27 + .method assembly hidebysig specialname + instance default class NAnt.VSNet.SolutionFactory get_SolutionFactory () cil managed { - // Method begins at RVA 0x3b98 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2448 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.VSNet.Types.WebMap V_0) + class NAnt.VSNet.SolutionFactory V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.VSNet.Types.WebMap - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class NAnt.VSNet.SolutionFactory NAnt.VSNet.Tasks.SolutionTask::_solutionFactory + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method WebMapCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionTask::get_SolutionFactory - // method line 20 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.VSNet.Types.WebMap 'value') cil managed + // method line 28 + .method private final virtual hidebysig newslot + instance default void NAnt.Core.Extensibility.IPluginConsumer.ConsumePlugin (class [NAnt.Core]NAnt.Core.Extensibility.IPlugin plugin) cil managed { - // Method begins at RVA 0x3bbe - // Code size 15 (0xf) + // Method begins at RVA 0x2463 + .override Could not decode method override class [NAnt.Core]NAnt.Core.Extensibility.IPluginConsumer::ConsumePlugin due to (null) + // Code size 58 (0x3a) .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method WebMapCollection::set_Item + IL_0001: ldarg.1 + IL_0002: isinst NAnt.VSNet.Extensibility.IProjectBuildProvider + IL_0007: brfalse IL_001d - // method line 21 - .method public hidebysig specialname - instance default class NAnt.VSNet.Types.WebMap get_Item (string 'value') cil managed + IL_000c: ldarg.0 + IL_000d: call instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() + IL_0012: ldarg.1 + IL_0013: castclass NAnt.VSNet.Extensibility.IProjectBuildProvider + IL_0018: callvirt instance void class NAnt.VSNet.ProjectFactory::RegisterProvider(class NAnt.VSNet.Extensibility.IProjectBuildProvider) + IL_001d: ldarg.1 + IL_001e: isinst NAnt.VSNet.Extensibility.ISolutionBuildProvider + IL_0023: brfalse IL_0039 + + IL_0028: ldarg.0 + IL_0029: call instance class NAnt.VSNet.SolutionFactory class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFactory() + IL_002e: ldarg.1 + IL_002f: castclass NAnt.VSNet.Extensibility.ISolutionBuildProvider + IL_0034: callvirt instance void class NAnt.VSNet.SolutionFactory::RegisterProvider(class NAnt.VSNet.Extensibility.ISolutionBuildProvider) + IL_0039: ret + } // end of method SolutionTask::NAnt.Core.Extensibility.IPluginConsumer.ConsumePlugin + + // method line 29 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x3bd0 - // Code size 125 (0x7d) - .maxstack 4 + // Method begins at RVA 0x24a0 + // Code size 750 (0x2ee) + .maxstack 7 .locals init ( - class NAnt.VSNet.Types.WebMap V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.VSNet.Types.WebMap V_2, - class [mscorlib]System.IDisposable V_3) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5, + string V_6, + class [System]System.CodeDom.Compiler.TempFileCollection V_7, + class [mscorlib]System.Security.PermissionSet V_8, + class [mscorlib]System.AppDomain V_9, + class NAnt.VSNet.ReferencesResolver V_10, + class [NAnt.Core]NAnt.Core.Util.GacCache V_11, + class NAnt.VSNet.SolutionBase V_12, + class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_13) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0074 + IL_0001: ldarg.0 + IL_0002: ldc.i4 3000 + IL_0007: ldstr "Starting solution build." + IL_000c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0011: ldarg.0 + IL_0012: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0017: brfalse IL_0055 - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_004f + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0023: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0028: brtrue IL_0054 - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.VSNet.Types.WebMap - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.VSNet.Types.WebMap::get_Url() - IL_002d: ldarg.1 - IL_002e: ldloc.0 - IL_002f: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_CaseSensitive() - IL_0034: ldc.i4.0 - IL_0035: ceq - IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0041: brtrue IL_004e + IL_002d: nop + IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0033: ldstr "Couldn't find solution file '{0}'." + IL_0038: ldarg.0 + IL_0039: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_003e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0043: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0048: ldarg.0 + IL_0049: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_004e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0053: throw + IL_0054: nop + IL_0055: ldarg.0 + IL_0056: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() + IL_005b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0060: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0065: ldc.i4.0 + IL_0066: ble IL_00d7 - IL_0046: nop - IL_0047: ldloc.0 - IL_0048: stloc.2 - IL_0049: leave IL_007b + IL_006b: nop + IL_006c: ldarg.0 + IL_006d: ldc.i4 2000 + IL_0072: ldstr "Included projects:" + IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_007c: nop + IL_007d: ldarg.0 + IL_007e: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() + IL_0083: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0088: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_008d: stloc.1 + .try { // 0 + IL_008e: br IL_00b2 - IL_004e: nop - IL_004f: ldloc.1 - IL_0050: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0055: brtrue IL_001a + IL_0093: ldloc.1 + IL_0094: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0099: stloc.0 + IL_009a: nop + IL_009b: ldarg.0 + IL_009c: ldc.i4 2000 + IL_00a1: ldstr " - " + IL_00a6: ldloc.0 + IL_00a7: call string string::Concat(string, string) + IL_00ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00b1: nop + IL_00b2: ldloc.1 + IL_00b3: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00b8: brtrue IL_0093 - IL_005a: leave IL_0073 + IL_00bd: leave IL_00d6 } // end .try 0 finally { // 0 - IL_005f: ldloc.1 - IL_0060: isinst [mscorlib]System.IDisposable - IL_0065: dup - IL_0066: stloc.3 - IL_0067: brfalse IL_0072 + IL_00c2: ldloc.1 + IL_00c3: isinst [mscorlib]System.IDisposable + IL_00c8: dup + IL_00c9: stloc.2 + IL_00ca: brfalse IL_00d5 - IL_006c: ldloc.3 - IL_006d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0072: endfinally + IL_00cf: ldloc.2 + IL_00d0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d5: endfinally } // end handler 0 - IL_0073: nop - IL_0074: ldnull - IL_0075: stloc.2 - IL_0076: br IL_007b - - IL_007b: ldloc.2 - IL_007c: ret - } // end of method WebMapCollection::get_Item - - // method line 22 - .method public hidebysig - instance default string FindBestMatch (string uri) cil managed - { - // Method begins at RVA 0x3c6c - // Code size 254 (0xfe) - .maxstack 3 - .locals init ( - string V_0, - int32 V_1, - class NAnt.VSNet.Types.WebMap V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - string V_4, - string V_5, - class [mscorlib]System.IDisposable V_6, - string V_7) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldc.i4 -2147483648 - IL_0008: stloc.1 - IL_0009: nop - IL_000a: ldarg.0 - IL_000b: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0010: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0015: stloc.3 - .try { // 0 - IL_0016: br IL_00cd - - IL_001b: ldloc.3 - IL_001c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0021: castclass NAnt.VSNet.Types.WebMap - IL_0026: stloc.2 - IL_0027: nop - IL_0028: ldloc.2 - IL_0029: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_IfDefined() - IL_002e: brfalse IL_003e + IL_00d6: nop + IL_00d7: ldarg.0 + IL_00d8: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() + IL_00dd: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00e2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00e7: ldc.i4.0 + IL_00e8: ble IL_015f - IL_0033: ldloc.2 - IL_0034: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_UnlessDefined() - IL_0039: brfalse IL_0043 + IL_00ed: nop + IL_00ee: ldarg.0 + IL_00ef: ldc.i4 2000 + IL_00f4: ldstr "Reference projects:" + IL_00f9: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00fe: nop + IL_00ff: ldarg.0 + IL_0100: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() + IL_0105: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_010a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_010f: stloc.s 4 + .try { // 1 + IL_0111: br IL_0136 - IL_003e: leave IL_00cd + IL_0116: ldloc.s 4 + IL_0118: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_011d: stloc.3 + IL_011e: nop + IL_011f: ldarg.0 + IL_0120: ldc.i4 2000 + IL_0125: ldstr " - " + IL_012a: ldloc.3 + IL_012b: call string string::Concat(string, string) + IL_0130: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0135: nop + IL_0136: ldloc.s 4 + IL_0138: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_013d: brtrue IL_0116 - IL_0043: ldloc.2 - IL_0044: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_CaseSensitive() - IL_0049: brfalse IL_0054 + IL_0142: leave IL_015e - IL_004e: ldarg.1 - IL_004f: br IL_005f + } // end .try 1 + finally { // 1 + IL_0147: ldloc.s 4 + IL_0149: isinst [mscorlib]System.IDisposable + IL_014e: dup + IL_014f: stloc.s 5 + IL_0151: brfalse IL_015d - IL_0054: ldarg.1 - IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005a: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) - IL_005f: stloc.s 4 - IL_0061: ldloc.2 - IL_0062: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_CaseSensitive() - IL_0067: brfalse IL_0077 + IL_0156: ldloc.s 5 + IL_0158: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_015d: endfinally + } // end handler 1 + IL_015e: nop + IL_015f: ldnull + IL_0160: stloc.s 6 + .try { // 5 + IL_0162: nop + IL_0163: newobj instance void class [System]System.CodeDom.Compiler.TempFileCollection::'.ctor'() + IL_0168: stloc.s 7 + .try { // 4 + IL_016a: nop + IL_016b: ldloc.s 7 + IL_016d: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_0172: stloc.s 6 + IL_0174: ldloc.s 7 + IL_0176: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_017b: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0180: brtrue IL_0194 - IL_006c: ldloc.2 - IL_006d: callvirt instance string class NAnt.VSNet.Types.WebMap::get_Url() - IL_0072: br IL_0087 + IL_0185: nop + IL_0186: ldloc.s 7 + IL_0188: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_018d: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0192: pop + IL_0193: nop + IL_0194: ldc.i4.1 + IL_0195: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) + IL_019a: stloc.s 8 + IL_019c: ldstr "temporaryDomain" + IL_01a1: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_01a6: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() + IL_01ab: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_01b0: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() + IL_01b5: ldloc.s 8 + IL_01b7: call !!0[] class [mscorlib]System.Array::Empty () + IL_01bc: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string, class [mscorlib]System.Security.Policy.Evidence, class [mscorlib]System.AppDomainSetup, class [mscorlib]System.Security.PermissionSet, class [mscorlib]System.Security.Policy.StrongName[]) + IL_01c1: stloc.s 9 + .try { // 3 + IL_01c3: nop + IL_01c4: ldloc.s 9 + IL_01c6: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_01cb: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_01d0: ldtoken NAnt.VSNet.ReferencesResolver + IL_01d5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01da: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01df: callvirt instance class [mscorlib]System.Runtime.Remoting.ObjectHandle class [mscorlib]System.AppDomain::CreateInstanceFrom(string, string) + IL_01e4: callvirt instance object class [mscorlib]System.Runtime.Remoting.ObjectHandle::Unwrap() + IL_01e9: castclass NAnt.VSNet.ReferencesResolver + IL_01ee: stloc.s 10 + IL_01f0: ldarg.0 + IL_01f1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_01f6: newobj instance void class [NAnt.Core]NAnt.Core.Util.GacCache::'.ctor'(class [NAnt.Core]NAnt.Core.Project) + IL_01fb: stloc.s 11 + .try { // 2 + IL_01fd: nop + IL_01fe: ldarg.0 + IL_01ff: call instance class NAnt.VSNet.SolutionFactory class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFactory() + IL_0204: ldarg.0 + IL_0205: ldloc.s 7 + IL_0207: ldloc.s 11 + IL_0209: ldloc.s 10 + IL_020b: callvirt instance class NAnt.VSNet.SolutionBase class NAnt.VSNet.SolutionFactory::LoadSolution(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_0210: stloc.s 12 + IL_0212: ldloc.s 12 + IL_0214: ldarg.0 + IL_0215: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_021a: callvirt instance bool class NAnt.VSNet.SolutionBase::Compile(class NAnt.VSNet.Configuration) + IL_021f: brtrue IL_0236 - IL_0077: ldloc.2 - IL_0078: callvirt instance string class NAnt.VSNet.Types.WebMap::get_Url() - IL_007d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0082: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) - IL_0087: stloc.s 5 - IL_0089: ldloc.s 4 - IL_008b: ldloc.s 5 - IL_008d: callvirt instance bool string::StartsWith(string) - IL_0092: brfalse IL_00cc + IL_0224: nop + IL_0225: ldstr "Project build failed." + IL_022a: ldarg.0 + IL_022b: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0230: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0235: throw + IL_0236: nop + IL_0237: leave IL_024b - IL_0097: ldloc.s 5 - IL_0099: callvirt instance int32 string::get_Length() - IL_009e: ldloc.1 - IL_009f: ble IL_00cc + } // end .try 2 + finally { // 2 + IL_023c: ldloc.s 11 + IL_023e: brfalse IL_024a - IL_00a4: nop - IL_00a5: ldloc.s 5 - IL_00a7: callvirt instance int32 string::get_Length() - IL_00ac: stloc.1 - IL_00ad: ldloc.2 - IL_00ae: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Types.WebMap::get_Path() - IL_00b3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00b8: ldarg.1 - IL_00b9: ldloc.s 5 - IL_00bb: callvirt instance int32 string::get_Length() - IL_00c0: callvirt instance string string::Substring(int32) - IL_00c5: call string string::Concat(string, string) - IL_00ca: stloc.0 - IL_00cb: nop - IL_00cc: nop - IL_00cd: ldloc.3 - IL_00ce: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00d3: brtrue IL_001b + IL_0243: ldloc.s 11 + IL_0245: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_024a: endfinally + } // end handler 2 + IL_024b: nop + IL_024c: leave IL_025b - IL_00d8: leave IL_00f3 + } // end .try 3 + finally { // 3 + IL_0251: nop + IL_0252: ldloc.s 9 + IL_0254: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_0259: nop + IL_025a: endfinally + } // end handler 3 + IL_025b: nop + IL_025c: leave IL_0270 - } // end .try 0 - finally { // 0 - IL_00dd: ldloc.3 - IL_00de: isinst [mscorlib]System.IDisposable - IL_00e3: dup - IL_00e4: stloc.s 6 - IL_00e6: brfalse IL_00f2 + } // end .try 4 + finally { // 4 + IL_0261: ldloc.s 7 + IL_0263: brfalse IL_026f - IL_00eb: ldloc.s 6 - IL_00ed: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f2: endfinally - } // end handler 0 - IL_00f3: ldloc.0 - IL_00f4: stloc.s 7 - IL_00f6: br IL_00fb + IL_0268: ldloc.s 7 + IL_026a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_026f: endfinally + } // end handler 4 + IL_0270: nop + IL_0271: leave IL_02ed - IL_00fb: ldloc.s 7 - IL_00fd: ret - } // end of method WebMapCollection::FindBestMatch + } // end .try 5 + finally { // 5 + IL_0276: nop + IL_0277: ldloc.s 6 + IL_0279: brfalse IL_02eb - // method line 23 - .method public hidebysig - instance default int32 Add (class NAnt.VSNet.Types.WebMap item) cil managed - { - // Method begins at RVA 0x3d88 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_027e: ldloc.s 6 + IL_0280: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0285: brfalse IL_02eb - IL_0013: ldloc.0 - IL_0014: ret - } // end of method WebMapCollection::Add + IL_028a: nop + IL_028b: ldarg.0 + IL_028c: ldc.i4 1000 + IL_0291: ldstr "Cleaning up temp folder '{0}'." + IL_0296: ldc.i4.1 + IL_0297: newarr [mscorlib]System.Object + IL_029c: dup + IL_029d: ldc.i4.0 + IL_029e: ldloc.s 6 + IL_02a0: stelem.ref + IL_02a1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_02a6: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() + IL_02ab: stloc.s 13 + IL_02ad: ldloc.s 13 + IL_02af: ldarg.0 + IL_02b0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_02b5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_02ba: ldloc.s 13 + IL_02bc: ldarg.0 + IL_02bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_02c2: ldloc.s 13 + IL_02c4: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_02c9: ldloc.s 13 + IL_02cb: ldloc.s 6 + IL_02cd: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_02d2: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) + IL_02d7: ldloc.s 13 + IL_02d9: ldc.i4 9999 + IL_02de: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_02e3: ldloc.s 13 + IL_02e5: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_02ea: nop + IL_02eb: nop + IL_02ec: endfinally + } // end handler 5 + IL_02ed: ret + } // end of method SolutionTask::ExecuteTask - // method line 24 - .method public hidebysig - instance default void AddRange (class NAnt.VSNet.Types.WebMap[] items) cil managed + // method line 30 + .method assembly hidebysig + instance default string ExpandMacro (string macro) cil managed { - // Method begins at RVA 0x3dac - // Code size 34 (0x22) + // Method begins at RVA 0x2830 + // Code size 433 (0x1b1) .maxstack 3 .locals init ( - int32 V_0) + string V_0, + string V_1) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_01a8 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.VSNet.Types.WebMapCollection::Add(class NAnt.VSNet.Types.WebMap) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0013: ldloc.0 + IL_0014: ldstr "solutionfilename" + IL_0019: call bool string::op_Equality(string, string) + IL_001e: brtrue IL_0068 - IL_0021: ret - } // end of method WebMapCollection::AddRange + IL_0023: ldloc.0 + IL_0024: ldstr "solutionpath" + IL_0029: call bool string::op_Equality(string, string) + IL_002e: brtrue IL_00a6 - // method line 25 - .method public hidebysig - instance default void AddRange (class NAnt.VSNet.Types.WebMapCollection items) cil managed - { - // Method begins at RVA 0x3ddc - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_0033: ldloc.0 + IL_0034: ldstr "solutiondir" + IL_0039: call bool string::op_Equality(string, string) + IL_003e: brtrue IL_00df - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.VSNet.Types.WebMap class NAnt.VSNet.Types.WebMapCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.VSNet.Types.WebMapCollection::Add(class NAnt.VSNet.Types.WebMap) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0043: ldloc.0 + IL_0044: ldstr "solutionname" + IL_0049: call bool string::op_Equality(string, string) + IL_004e: brtrue IL_012c - IL_0028: ret - } // end of method WebMapCollection::AddRange + IL_0053: ldloc.0 + IL_0054: ldstr "solutionext" + IL_0059: call bool string::op_Equality(string, string) + IL_005e: brtrue IL_016a - // method line 26 - .method public hidebysig - instance default bool Contains (class NAnt.VSNet.Types.WebMap item) cil managed - { - // Method begins at RVA 0x3e14 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0063: br IL_01a8 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method WebMapCollection::Contains + IL_0068: ldarg.0 + IL_0069: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_006e: brfalse IL_008a - // method line 27 - .method public hidebysig - instance default bool Contains (string 'value') cil managed - { - // Method begins at RVA 0x3e38 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.VSNet.Types.WebMap class NAnt.VSNet.Types.WebMapCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0073: nop + IL_0074: ldarg.0 + IL_0075: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_007a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_007f: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0084: stloc.1 + IL_0085: br IL_01af - IL_0014: ldloc.0 - IL_0015: ret - } // end of method WebMapCollection::Contains + IL_008a: nop + IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0090: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." + IL_0095: ldarg.1 + IL_0096: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_009b: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00a0: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00a5: throw + IL_00a6: ldarg.0 + IL_00a7: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_00ac: brfalse IL_00c3 - // method line 28 - .method public hidebysig - instance default void CopyTo (class NAnt.VSNet.Types.WebMap[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x3e5a - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method WebMapCollection::CopyTo + IL_00b1: nop + IL_00b2: ldarg.0 + IL_00b3: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_00b8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00bd: stloc.1 + IL_00be: br IL_01af - // method line 29 - .method public hidebysig - instance default int32 IndexOf (class NAnt.VSNet.Types.WebMap item) cil managed - { - // Method begins at RVA 0x3e6c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_00c3: nop + IL_00c4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c9: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." + IL_00ce: ldarg.1 + IL_00cf: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00d4: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00d9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00de: throw + IL_00df: ldarg.0 + IL_00e0: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_00e5: brfalse IL_0110 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method WebMapCollection::IndexOf + IL_00ea: nop + IL_00eb: ldarg.0 + IL_00ec: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_00f1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00f6: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00fb: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0100: box [mscorlib]System.Char + IL_0105: call string string::Concat(object, object) + IL_010a: stloc.1 + IL_010b: br IL_01af - // method line 30 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.VSNet.Types.WebMap item) cil managed - { - // Method begins at RVA 0x3e8d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method WebMapCollection::Insert + IL_0110: nop + IL_0111: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0116: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." + IL_011b: ldarg.1 + IL_011c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0121: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0126: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_012b: throw + IL_012c: ldarg.0 + IL_012d: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0132: brfalse IL_014e + + IL_0137: nop + IL_0138: ldarg.0 + IL_0139: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_013e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0143: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0148: stloc.1 + IL_0149: br IL_01af + + IL_014e: nop + IL_014f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0154: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." + IL_0159: ldarg.1 + IL_015a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_015f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0164: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0169: throw + IL_016a: ldarg.0 + IL_016b: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0170: brfalse IL_018c + + IL_0175: nop + IL_0176: ldarg.0 + IL_0177: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_017c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0181: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0186: stloc.1 + IL_0187: br IL_01af + + IL_018c: nop + IL_018d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0192: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." + IL_0197: ldarg.1 + IL_0198: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_019d: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_01a2: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_01a7: throw + IL_01a8: ldnull + IL_01a9: stloc.1 + IL_01aa: br IL_01af + + IL_01af: ldloc.1 + IL_01b0: ret + } // end of method SolutionTask::ExpandMacro // method line 31 - .method public hidebysig - instance default class NAnt.VSNet.Types.WebMapEnumerator GetEnumerator () cil managed + .method private hidebysig + instance default class [System]System.Collections.Specialized.StringCollection BuildAssemblyFolders () cil managed { - // Method begins at RVA 0x3ea0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x29f0 + // Code size 95 (0x5f) + .maxstack 5 .locals init ( - class NAnt.VSNet.Types.WebMapEnumerator V_0) + class [System]System.Collections.Specialized.StringCollection V_0, + class [mscorlib]System.Version V_1, + class [System]System.Collections.Specialized.StringCollection V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VSNet.Types.WebMapEnumerator::'.ctor'(class NAnt.VSNet.Types.WebMapCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000d: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0012: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_VisualStudioVersion() + IL_0017: stloc.1 + IL_0018: ldarg.0 + IL_0019: ldloc.0 + IL_001a: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::CurrentUser + IL_001f: ldloc.1 + IL_0020: ldc.i4.2 + IL_0021: callvirt instance string class [mscorlib]System.Version::ToString(int32) + IL_0026: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildVisualStudioAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey, string) + IL_002b: ldarg.0 + IL_002c: ldloc.0 + IL_002d: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine + IL_0032: ldloc.1 + IL_0033: ldc.i4.2 + IL_0034: callvirt instance string class [mscorlib]System.Version::ToString(int32) + IL_0039: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildVisualStudioAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey, string) + IL_003e: ldarg.0 + IL_003f: ldloc.0 + IL_0040: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::CurrentUser + IL_0045: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildDotNetAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey) + IL_004a: ldarg.0 + IL_004b: ldloc.0 + IL_004c: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine + IL_0051: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildDotNetAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey) + IL_0056: ldloc.0 + IL_0057: stloc.2 + IL_0058: br IL_005d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method WebMapCollection::GetEnumerator + IL_005d: ldloc.2 + IL_005e: ret + } // end of method SolutionTask::BuildAssemblyFolders // method line 32 - .method public hidebysig - instance default void Remove (class NAnt.VSNet.Types.WebMap item) cil managed + .method private hidebysig + instance default void BuildVisualStudioAssemblyFolders (class [System]System.Collections.Specialized.StringCollection folderList, class [mscorlib]Microsoft.Win32.RegistryKey hive, string visualStudioVersion) cil managed { - // Method begins at RVA 0x3ebb - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x2a5c + // Code size 137 (0x89) + .maxstack 4 + .locals init ( + class [mscorlib]Microsoft.Win32.RegistryKey V_0, + string[] V_1, + string V_2, + string[] V_3, + int32 V_4, + class [mscorlib]Microsoft.Win32.RegistryKey V_5, + string V_6) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method WebMapCollection::Remove + IL_0001: ldarg.2 + IL_0002: ldstr "SOFTWARE\\Microsoft\\VisualStudio\\" + IL_0007: ldarg.3 + IL_0008: ldstr "\\AssemblyFolders" + IL_000d: call string string::Concat(string, string, string) + IL_0012: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: brtrue IL_0024 - .property instance class NAnt.VSNet.Types.WebMap Item (int32) - { - .get instance default class NAnt.VSNet.Types.WebMap NAnt.VSNet.Types.WebMapCollection::get_Item (int32 index) - .set instance default void NAnt.VSNet.Types.WebMapCollection::set_Item (int32 index, class NAnt.VSNet.Types.WebMap 'value') - } - .property instance class NAnt.VSNet.Types.WebMap Item (string) - { - .get instance default class NAnt.VSNet.Types.WebMap NAnt.VSNet.Types.WebMapCollection::get_Item (string 'value') - } - } // end of class NAnt.VSNet.Types.WebMapCollection -} + IL_001e: nop + IL_001f: br IL_0088 -.namespace NAnt.VSNet.Types -{ - .class public auto ansi beforefieldinit WebMapEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0024: ldloc.0 + IL_0025: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() + IL_002a: stloc.1 + IL_002b: nop + IL_002c: ldloc.1 + IL_002d: stloc.3 + IL_002e: ldc.i4.0 + IL_002f: stloc.s 4 + IL_0031: br IL_007e + + IL_0036: ldloc.3 + IL_0037: ldloc.s 4 + IL_0039: ldelem.ref + IL_003a: stloc.2 + IL_003b: nop + IL_003c: ldloc.0 + IL_003d: ldloc.2 + IL_003e: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0043: stloc.s 5 + IL_0045: ldloc.s 5 + IL_0047: ldsfld string [mscorlib]System.String::Empty + IL_004c: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_0051: isinst [mscorlib]System.String + IL_0056: stloc.s 6 + IL_0058: ldloc.s 6 + IL_005a: brfalse IL_0077 + + IL_005f: ldarg.1 + IL_0060: ldloc.s 6 + IL_0062: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_0067: brtrue IL_0077 + + IL_006c: nop + IL_006d: ldarg.1 + IL_006e: ldloc.s 6 + IL_0070: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0075: pop + IL_0076: nop + IL_0077: nop + IL_0078: ldloc.s 4 + IL_007a: ldc.i4.1 + IL_007b: add + IL_007c: stloc.s 4 + IL_007e: ldloc.s 4 + IL_0080: ldloc.3 + IL_0081: ldlen + IL_0082: conv.i4 + IL_0083: blt IL_0036 + + IL_0088: ret + } // end of method SolutionTask::BuildVisualStudioAssemblyFolders // method line 33 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Types.WebMapCollection arguments) cil managed + .method private hidebysig + instance default void BuildDotNetAssemblyFolders (class [System]System.Collections.Specialized.StringCollection folderList, class [mscorlib]Microsoft.Win32.RegistryKey hive) cil managed { - // Method begins at RVA 0x3ecc - // Code size 22 (0x16) + // Method begins at RVA 0x2af4 + // Code size 126 (0x7e) .maxstack 2 .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator - IL_0015: ret - } // end of method WebMapEnumerator::.ctor - - // method line 34 - .method public hidebysig specialname - instance default class NAnt.VSNet.Types.WebMap get_Current () cil managed - { - // Method begins at RVA 0x3ef0 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.VSNet.Types.WebMap V_0) + class [mscorlib]Microsoft.Win32.RegistryKey V_0, + string[] V_1, + string V_2, + string[] V_3, + int32 V_4, + class [mscorlib]Microsoft.Win32.RegistryKey V_5, + string V_6) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.VSNet.Types.WebMap - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method WebMapEnumerator::get_Current - - // method line 35 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x3f18 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0001: ldarg.2 + IL_0002: ldstr "SOFTWARE\\Microsoft\\.NETFramework\\AssemblyFolders" + IL_0007: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_000d: ldloc.0 + IL_000e: brtrue IL_0019 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method WebMapEnumerator::System.Collections.IEnumerator.get_Current + IL_0013: nop + IL_0014: br IL_007d - // method line 36 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x3f38 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0019: ldloc.0 + IL_001a: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() + IL_001f: stloc.1 + IL_0020: nop + IL_0021: ldloc.1 + IL_0022: stloc.3 + IL_0023: ldc.i4.0 + IL_0024: stloc.s 4 + IL_0026: br IL_0073 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method WebMapEnumerator::MoveNext + IL_002b: ldloc.3 + IL_002c: ldloc.s 4 + IL_002e: ldelem.ref + IL_002f: stloc.2 + IL_0030: nop + IL_0031: ldloc.0 + IL_0032: ldloc.2 + IL_0033: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0038: stloc.s 5 + IL_003a: ldloc.s 5 + IL_003c: ldsfld string [mscorlib]System.String::Empty + IL_0041: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_0046: isinst [mscorlib]System.String + IL_004b: stloc.s 6 + IL_004d: ldloc.s 6 + IL_004f: brfalse IL_006c - // method line 37 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x3f58 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0054: ldarg.1 + IL_0055: ldloc.s 6 + IL_0057: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_005c: brtrue IL_006c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method WebMapEnumerator::System.Collections.IEnumerator.MoveNext + IL_0061: nop + IL_0062: ldarg.1 + IL_0063: ldloc.s 6 + IL_0065: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_006a: pop + IL_006b: nop + IL_006c: nop + IL_006d: ldloc.s 4 + IL_006f: ldc.i4.1 + IL_0070: add + IL_0071: stloc.s 4 + IL_0073: ldloc.s 4 + IL_0075: ldloc.3 + IL_0076: ldlen + IL_0077: conv.i4 + IL_0078: blt IL_002b - // method line 38 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x3f78 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method WebMapEnumerator::Reset + IL_007d: ret + } // end of method SolutionTask::BuildDotNetAssemblyFolders - // method line 39 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x3f86 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method WebMapEnumerator::System.Collections.IEnumerator.Reset + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Projects () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 6A 65 63 74 73 01 00 54 02 08 // ...projects..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. - .property instance object System.Collections.IEnumerator.Current () + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_Projects () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_Projects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ReferenceProjects () { - .get instance default object NAnt.VSNet.Types.WebMapEnumerator::System.Collections.IEnumerator.get_Current () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 11 72 65 66 65 72 65 6E 63 65 70 72 6F 6A // ...referenceproj + 65 63 74 73 01 00 54 02 08 52 65 71 75 69 72 65 // ects..T..Require + 64 00 ) // d. + + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_ReferenceProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') } - .property instance class NAnt.VSNet.Types.WebMap Current () + .property instance class [mscorlib]System.IO.FileInfo SolutionFile () { - .get instance default class NAnt.VSNet.Types.WebMap NAnt.VSNet.Types.WebMapEnumerator::get_Current () + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 73 6F 6C 75 74 69 6F 6E 66 69 6C 65 01 // ...solutionfile. + 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_SolutionFile (class [mscorlib]System.IO.FileInfo 'value') } - } // end of class NAnt.VSNet.Types.WebMapEnumerator -} + .property instance string Configuration () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 63 6F 6E 66 69 67 75 72 61 74 69 6F 6E // ...configuration + 01 00 54 02 08 52 65 71 75 69 72 65 64 01 ) // ..T..Required. -.namespace NAnt.VSNet.Rainier -{ - .class private auto ansi beforefieldinit SolutionProvider - extends [mscorlib]System.Object - implements NAnt.VSNet.Extensibility.ISolutionBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - // method line 40 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x3f94 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method SolutionProvider::.ctor + .get instance default string NAnt.VSNet.Tasks.SolutionTask::get_Configuration () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_Configuration (string 'value') + } + .property instance string Platform () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 6C 61 74 66 6F 72 6D 01 00 54 02 08 // ...platform..T.. + 52 65 71 75 69 72 65 64 00 ) // Required. - // method line 41 - .method public final virtual hidebysig newslot - instance default int32 IsSupported (string fileContents) cil managed - { - // Method begins at RVA 0x3f9c - // Code size 103 (0x67) - .maxstack 2 - .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0, - class [System]System.Text.RegularExpressions.MatchCollection V_1, - int32 V_2, - string V_3) - IL_0000: nop - IL_0001: ldstr "^\\s*Microsoft Visual Studio Solution File, Format Version\\s+(?[0-9]+\\.[0-9]+)" - IL_0006: ldc.i4.s 0x10 - IL_0008: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldarg.1 - IL_0010: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) - IL_0015: stloc.1 - IL_0016: ldloc.1 - IL_0017: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() - IL_001c: brtrue IL_0029 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 01 ) // y. - IL_0021: nop - IL_0022: ldc.i4.0 - IL_0023: stloc.2 - IL_0024: br IL_0065 + .get instance default string NAnt.VSNet.Tasks.SolutionTask::get_Platform () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_Platform (string 'value') + } + .property instance class NAnt.VSNet.Configuration SolutionConfig () + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::get_SolutionConfig () + } + .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6F 75 74 70 75 74 64 69 72 01 00 54 02 // ...outputdir..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - IL_0029: ldloc.1 - IL_002a: ldc.i4.0 - IL_002b: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.MatchCollection::get_Item(int32) - IL_0030: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0035: ldstr "formatVersion" - IL_003a: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_003f: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0044: stloc.3 - IL_0045: ldloc.3 - IL_0046: ldstr "7.00" - IL_004b: call bool string::op_Equality(string, string) - IL_0050: brfalse IL_005e + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.Tasks.SolutionTask::get_OutputDir () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class NAnt.VSNet.Types.WebMapCollection WebMaps () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = (01 00 06 77 65 62 6D 61 70 03 6D 61 70 00 00 ) // ...webmap.map.. - IL_0055: nop - IL_0056: ldc.i4.s 0x0a - IL_0058: stloc.2 - IL_0059: br IL_0065 + .get instance default class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.Tasks.SolutionTask::get_WebMaps () + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ExcludeProjects () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0F 65 78 63 6C 75 64 65 70 72 6F 6A 65 63 // ...excludeprojec + 74 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ts..T..Required. - IL_005e: ldc.i4.0 - IL_005f: stloc.2 - IL_0060: br IL_0065 + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_ExcludeProjects () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_ExcludeProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet AssemblyFolders () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0F 61 73 73 65 6D 62 6C 79 66 6F 6C 64 65 // ...assemblyfolde + 72 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // rs..T..Required. - IL_0065: ldloc.2 - IL_0066: ret - } // end of method SolutionProvider::IsSupported + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolders () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_AssemblyFolders (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance bool IncludeVSFolders () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 69 6E 63 6C 75 64 65 76 73 66 6F 6C 64 // ...includevsfold + 65 72 73 00 00 ) // ers.. - // method line 42 - .method public final virtual hidebysig newslot - instance default class NAnt.VSNet.SolutionBase GetInstance (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed - { - // Method begins at RVA 0x4010 - // Code size 21 (0x15) - .maxstack 5 - .locals init ( - class NAnt.VSNet.SolutionBase V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: newobj instance void class NAnt.VSNet.Rainier.Solution::'.ctor'(string, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) - IL_000d: stloc.0 - IL_000e: br IL_0013 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0013: ldloc.0 - IL_0014: ret - } // end of method SolutionProvider::GetInstance + .get instance default bool NAnt.VSNet.Tasks.SolutionTask::get_IncludeVSFolders () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_IncludeVSFolders (bool 'value') + } + .property instance bool EnableWebDav () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 65 6E 61 62 6C 65 77 65 62 64 61 76 01 // ...enablewebdav. + 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. - } // end of class NAnt.VSNet.Rainier.SolutionProvider + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.VSNet.Tasks.SolutionTask::get_EnableWebDav () + .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_EnableWebDav (bool 'value') + } + .property instance class [mscorlib]System.Collections.ArrayList CustomProperties () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 50 0B // ...property..TP. + 45 6C 65 6D 65 6E 74 54 79 70 65 5F 4E 41 6E 74 // ElementType_NAnt + 2E 43 6F 72 65 2E 54 61 73 6B 73 2E 50 72 6F 70 // .Core.Tasks.Prop + 65 72 74 79 54 61 73 6B 2C 20 4E 41 6E 74 2E 43 // ertyTask, NAnt.C + 6F 72 65 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 39 // ore, Version=0.9 + 33 2E 31 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E // 3.1.0, Culture=n + 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 // eutral, PublicKe + 79 54 6F 6B 65 6E 3D 6E 75 6C 6C ) // yToken=null + + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.Tasks.SolutionTask::get_CustomProperties () + } + .property instance class [System]System.Collections.Specialized.StringCollection AssemblyFolderList () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolderList () + } + .property instance class NAnt.VSNet.ProjectFactory ProjectFactory () + { + .get instance default class NAnt.VSNet.ProjectFactory NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory () + } + .property instance class NAnt.VSNet.SolutionFactory SolutionFactory () + { + .get instance default class NAnt.VSNet.SolutionFactory NAnt.VSNet.Tasks.SolutionTask::get_SolutionFactory () + } + } // end of class NAnt.VSNet.Tasks.SolutionTask } .namespace NAnt.VSNet.Rainier @@ -1561,11 +1585,11 @@ extends NAnt.VSNet.SolutionBase { - // method line 43 + // method line 34 .method public hidebysig specialname rtspecialname instance default void '.ctor' (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed { - // Method begins at RVA 0x4034 + // Method begins at RVA 0x41dc // Code size 740 (0x2e4) .maxstack 5 .locals init ( @@ -1867,6629 +1891,6861 @@ } // end of class NAnt.VSNet.Rainier.Solution } -.namespace NAnt.VSNet.Extensibility +.namespace NAnt.VSNet.Rainier { - .class interface public auto ansi abstract ISolutionBuildProvider - implements [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + .class private auto ansi beforefieldinit SolutionProvider + extends [mscorlib]System.Object + implements NAnt.VSNet.Extensibility.ISolutionBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - // method line 44 - .method public virtual hidebysig newslot abstract - instance default int32 IsSupported (string fileContents) cil managed + // method line 35 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x0 - } // end of method ISolutionBuildProvider::IsSupported + // Method begins at RVA 0x4500 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method SolutionProvider::.ctor - // method line 45 - .method public virtual hidebysig newslot abstract - instance default class NAnt.VSNet.SolutionBase GetInstance (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + // method line 36 + .method public final virtual hidebysig newslot + instance default int32 IsSupported (string fileContents) cil managed { - // Method begins at RVA 0x0 - } // end of method ISolutionBuildProvider::GetInstance + // Method begins at RVA 0x4508 + // Code size 103 (0x67) + .maxstack 2 + .locals init ( + class [System]System.Text.RegularExpressions.Regex V_0, + class [System]System.Text.RegularExpressions.MatchCollection V_1, + int32 V_2, + string V_3) + IL_0000: nop + IL_0001: ldstr "^\\s*Microsoft Visual Studio Solution File, Format Version\\s+(?[0-9]+\\.[0-9]+)" + IL_0006: ldc.i4.s 0x10 + IL_0008: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldarg.1 + IL_0010: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) + IL_0015: stloc.1 + IL_0016: ldloc.1 + IL_0017: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() + IL_001c: brtrue IL_0029 - } // end of class NAnt.VSNet.Extensibility.ISolutionBuildProvider -} + IL_0021: nop + IL_0022: ldc.i4.0 + IL_0023: stloc.2 + IL_0024: br IL_0065 -.namespace NAnt.VSNet.Extensibility -{ - .class interface public auto ansi abstract IProjectBuildProvider - implements [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + IL_0029: ldloc.1 + IL_002a: ldc.i4.0 + IL_002b: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.MatchCollection::get_Item(int32) + IL_0030: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0035: ldstr "formatVersion" + IL_003a: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_003f: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0044: stloc.3 + IL_0045: ldloc.3 + IL_0046: ldstr "7.00" + IL_004b: call bool string::op_Equality(string, string) + IL_0050: brfalse IL_005e - // method line 46 - .method public virtual hidebysig newslot abstract - instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed - { - // Method begins at RVA 0x0 - } // end of method IProjectBuildProvider::IsSupported + IL_0055: nop + IL_0056: ldc.i4.s 0x0a + IL_0058: stloc.2 + IL_0059: br IL_0065 - // method line 47 - .method public virtual hidebysig newslot abstract - instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0x0 - } // end of method IProjectBuildProvider::GetInstance + IL_005e: ldc.i4.0 + IL_005f: stloc.2 + IL_0060: br IL_0065 - // method line 48 - .method public virtual hidebysig newslot abstract - instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + IL_0065: ldloc.2 + IL_0066: ret + } // end of method SolutionProvider::IsSupported + + // method line 37 + .method public final virtual hidebysig newslot + instance default class NAnt.VSNet.SolutionBase GetInstance (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed { - // Method begins at RVA 0x0 - } // end of method IProjectBuildProvider::LoadGuid + // Method begins at RVA 0x457c + // Code size 21 (0x15) + .maxstack 5 + .locals init ( + class NAnt.VSNet.SolutionBase V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: newobj instance void class NAnt.VSNet.Rainier.Solution::'.ctor'(string, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_000d: stloc.0 + IL_000e: br IL_0013 - } // end of class NAnt.VSNet.Extensibility.IProjectBuildProvider + IL_0013: ldloc.0 + IL_0014: ret + } // end of method SolutionProvider::GetInstance + + } // end of class NAnt.VSNet.Rainier.SolutionProvider } -.namespace NAnt.VSNet.Tasks +.namespace NAnt.VSNet.Types { - .class public auto ansi serializable beforefieldinit SolutionTask - extends [NAnt.Core]NAnt.Core.Task - implements [NAnt.Core]NAnt.Core.Extensibility.IPluginConsumer { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 73 6F 6C 75 74 69 6F 6E 00 00 ) // ...solution.. - - .custom instance void class [NAnt.Core]NAnt.Core.Extensibility.PluginConsumerAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 2E 4E 41 6E 74 2E 56 53 4E 65 74 2E 45 78 // ...NAnt.VSNet.Ex - 74 65 6E 73 69 62 69 6C 69 74 79 2E 49 50 72 6F // tensibility.IPro - 6A 65 63 74 42 75 69 6C 64 50 72 6F 76 69 64 65 // jectBuildProvide - 72 00 00 ) // r.. - - .custom instance void class [NAnt.Core]NAnt.Core.Extensibility.PluginConsumerAttribute::'.ctor'(class [mscorlib]System.Type) = ( - 01 00 2F 4E 41 6E 74 2E 56 53 4E 65 74 2E 45 78 // ../NAnt.VSNet.Ex - 74 65 6E 73 69 62 69 6C 69 74 79 2E 49 53 6F 6C // tensibility.ISol - 75 74 69 6F 6E 42 75 69 6C 64 50 72 6F 76 69 64 // utionBuildProvid - 65 72 00 00 ) // er.. + .class public auto ansi serializable beforefieldinit WebMapCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .field private class [mscorlib]System.Collections.ArrayList _customproperties - .field private class [mscorlib]System.IO.FileInfo _solutionFile - .field private class NAnt.VSNet.Configuration _configuration - .field private class [mscorlib]System.IO.DirectoryInfo _outputDir - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _projects - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _referenceProjects - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _excludeProjects - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _assemblyFolders - .field private class [System]System.Collections.Specialized.StringCollection _assemblyFolderList - .field private class NAnt.VSNet.Types.WebMapCollection _webMaps - .field private bool _includeVSFolders - .field private bool _enableWebDav - .field private initonly class NAnt.VSNet.SolutionFactory _solutionFactory - .field private initonly class NAnt.VSNet.ProjectFactory _projectFactory - // method line 49 + // method line 38 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4358 - // Code size 115 (0x73) - .maxstack 2 + // Method begins at RVA 0x459d + // Code size 8 (0x8) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.VSNet.Tasks.SolutionTask::_includeVSFolders - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0014: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.Tasks.SolutionTask::_customproperties - IL_0019: ldarg.0 - IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_001f: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_projects - IL_0024: ldarg.0 - IL_0025: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_002a: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_referenceProjects - IL_002f: ldarg.0 - IL_0030: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0035: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_excludeProjects - IL_003a: ldarg.0 - IL_003b: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0040: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_assemblyFolders - IL_0045: ldarg.0 - IL_0046: newobj instance void class NAnt.VSNet.Types.WebMapCollection::'.ctor'() - IL_004b: stfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.Tasks.SolutionTask::_webMaps - IL_0050: ldarg.0 - IL_0051: ldarg.0 - IL_0052: call class NAnt.VSNet.ProjectFactory class NAnt.VSNet.ProjectFactory::Create(class NAnt.VSNet.Tasks.SolutionTask) - IL_0057: stfld class NAnt.VSNet.ProjectFactory NAnt.VSNet.Tasks.SolutionTask::_projectFactory - IL_005c: ldarg.0 - IL_005d: call class NAnt.VSNet.SolutionFactory class NAnt.VSNet.SolutionFactory::Create() - IL_0062: stfld class NAnt.VSNet.SolutionFactory NAnt.VSNet.Tasks.SolutionTask::_solutionFactory - IL_0067: ldarg.0 - IL_0068: newobj instance void class NAnt.VSNet.Configuration::'.ctor'() - IL_006d: stfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration - IL_0072: ret - } // end of method SolutionTask::.ctor + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method WebMapCollection::.ctor - // method line 50 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Projects () cil managed + // method line 39 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Types.WebMapCollection 'value') cil managed { - // Method begins at RVA 0x43d8 + // Method begins at RVA 0x45a6 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_projects - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VSNet.Types.WebMapCollection::AddRange(class NAnt.VSNet.Types.WebMapCollection) IL_000e: ret - } // end of method SolutionTask::get_Projects + } // end of method WebMapCollection::.ctor - // method line 51 - .method public hidebysig specialname - instance default void set_Projects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + // method line 40 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Types.WebMap[] 'value') cil managed { - // Method begins at RVA 0x43f3 - // Code size 9 (0x9) + // Method begins at RVA 0x45b6 + // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_projects - IL_0008: ret - } // end of method SolutionTask::set_Projects + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VSNet.Types.WebMapCollection::AddRange(class NAnt.VSNet.Types.WebMap[]) + IL_000e: ret + } // end of method WebMapCollection::.ctor - // method line 52 + // method line 41 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ReferenceProjects () cil managed + instance default class NAnt.VSNet.Types.WebMap get_Item (int32 index) cil managed { - // Method begins at RVA 0x4400 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x45c8 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + class NAnt.VSNet.Types.WebMap V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_referenceProjects - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.VSNet.Types.WebMap + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionTask::get_ReferenceProjects + IL_0018: ldloc.0 + IL_0019: ret + } // end of method WebMapCollection::get_Item - // method line 53 + // method line 42 .method public hidebysig specialname - instance default void set_ReferenceProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_Item (int32 index, class NAnt.VSNet.Types.WebMap 'value') cil managed { - // Method begins at RVA 0x441b - // Code size 9 (0x9) + // Method begins at RVA 0x45ee + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_referenceProjects - IL_0008: ret - } // end of method SolutionTask::set_ReferenceProjects + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method WebMapCollection::set_Item - // method line 54 + // method line 43 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SolutionFile () cil managed + instance default class NAnt.VSNet.Types.WebMap get_Item (string 'value') cil managed { - // Method begins at RVA 0x4428 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4600 + // Code size 125 (0x7d) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.VSNet.Types.WebMap V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.VSNet.Types.WebMap V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Tasks.SolutionTask::_solutionFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brfalse IL_0074 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionTask::get_SolutionFile + IL_0007: nop + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_004f - // method line 55 - .method public hidebysig specialname - instance default void set_SolutionFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x4443 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Tasks.SolutionTask::_solutionFile - IL_0008: ret - } // end of method SolutionTask::set_SolutionFile + IL_001a: ldloc.1 + IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0020: castclass NAnt.VSNet.Types.WebMap + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: callvirt instance string class NAnt.VSNet.Types.WebMap::get_Url() + IL_002d: ldarg.1 + IL_002e: ldloc.0 + IL_002f: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_CaseSensitive() + IL_0034: ldc.i4.0 + IL_0035: ceq + IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0041: brtrue IL_004e - // method line 56 - .method public hidebysig specialname - instance default string get_Configuration () cil managed + IL_0046: nop + IL_0047: ldloc.0 + IL_0048: stloc.2 + IL_0049: leave IL_007b + + IL_004e: nop + IL_004f: ldloc.1 + IL_0050: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0055: brtrue IL_001a + + IL_005a: leave IL_0073 + + } // end .try 0 + finally { // 0 + IL_005f: ldloc.1 + IL_0060: isinst [mscorlib]System.IDisposable + IL_0065: dup + IL_0066: stloc.3 + IL_0067: brfalse IL_0072 + + IL_006c: ldloc.3 + IL_006d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0072: endfinally + } // end handler 0 + IL_0073: nop + IL_0074: ldnull + IL_0075: stloc.2 + IL_0076: br IL_007b + + IL_007b: ldloc.2 + IL_007c: ret + } // end of method WebMapCollection::get_Item + + // method line 44 + .method public hidebysig + instance default string FindBestMatch (string uri) cil managed { - // Method begins at RVA 0x4450 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x469c + // Code size 254 (0xfe) + .maxstack 3 .locals init ( - string V_0) + string V_0, + int32 V_1, + class NAnt.VSNet.Types.WebMap V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + string V_4, + string V_5, + class [mscorlib]System.IDisposable V_6, + string V_7) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration - IL_0007: callvirt instance string class NAnt.VSNet.Configuration::get_Name() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldc.i4 -2147483648 + IL_0008: stloc.1 + IL_0009: nop + IL_000a: ldarg.0 + IL_000b: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0010: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0015: stloc.3 + .try { // 0 + IL_0016: br IL_00cd - IL_0012: ldloc.0 - IL_0013: ret - } // end of method SolutionTask::get_Configuration + IL_001b: ldloc.3 + IL_001c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0021: castclass NAnt.VSNet.Types.WebMap + IL_0026: stloc.2 + IL_0027: nop + IL_0028: ldloc.2 + IL_0029: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_IfDefined() + IL_002e: brfalse IL_003e - // method line 57 - .method public hidebysig specialname - instance default void set_Configuration (string 'value') cil managed + IL_0033: ldloc.2 + IL_0034: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_UnlessDefined() + IL_0039: brfalse IL_0043 + + IL_003e: leave IL_00cd + + IL_0043: ldloc.2 + IL_0044: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_CaseSensitive() + IL_0049: brfalse IL_0054 + + IL_004e: ldarg.1 + IL_004f: br IL_005f + + IL_0054: ldarg.1 + IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005a: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) + IL_005f: stloc.s 4 + IL_0061: ldloc.2 + IL_0062: callvirt instance bool class NAnt.VSNet.Types.WebMap::get_CaseSensitive() + IL_0067: brfalse IL_0077 + + IL_006c: ldloc.2 + IL_006d: callvirt instance string class NAnt.VSNet.Types.WebMap::get_Url() + IL_0072: br IL_0087 + + IL_0077: ldloc.2 + IL_0078: callvirt instance string class NAnt.VSNet.Types.WebMap::get_Url() + IL_007d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0082: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) + IL_0087: stloc.s 5 + IL_0089: ldloc.s 4 + IL_008b: ldloc.s 5 + IL_008d: callvirt instance bool string::StartsWith(string) + IL_0092: brfalse IL_00cc + + IL_0097: ldloc.s 5 + IL_0099: callvirt instance int32 string::get_Length() + IL_009e: ldloc.1 + IL_009f: ble IL_00cc + + IL_00a4: nop + IL_00a5: ldloc.s 5 + IL_00a7: callvirt instance int32 string::get_Length() + IL_00ac: stloc.1 + IL_00ad: ldloc.2 + IL_00ae: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Types.WebMap::get_Path() + IL_00b3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00b8: ldarg.1 + IL_00b9: ldloc.s 5 + IL_00bb: callvirt instance int32 string::get_Length() + IL_00c0: callvirt instance string string::Substring(int32) + IL_00c5: call string string::Concat(string, string) + IL_00ca: stloc.0 + IL_00cb: nop + IL_00cc: nop + IL_00cd: ldloc.3 + IL_00ce: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00d3: brtrue IL_001b + + IL_00d8: leave IL_00f3 + + } // end .try 0 + finally { // 0 + IL_00dd: ldloc.3 + IL_00de: isinst [mscorlib]System.IDisposable + IL_00e3: dup + IL_00e4: stloc.s 6 + IL_00e6: brfalse IL_00f2 + + IL_00eb: ldloc.s 6 + IL_00ed: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f2: endfinally + } // end handler 0 + IL_00f3: ldloc.0 + IL_00f4: stloc.s 7 + IL_00f6: br IL_00fb + + IL_00fb: ldloc.s 7 + IL_00fd: ret + } // end of method WebMapCollection::FindBestMatch + + // method line 45 + .method public hidebysig + instance default int32 Add (class NAnt.VSNet.Types.WebMap item) cil managed { - // Method begins at RVA 0x4470 - // Code size 19 (0x13) - .maxstack 8 + // Method begins at RVA 0x47b8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() IL_0007: ldarg.1 - IL_0008: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_000d: callvirt instance void class NAnt.VSNet.Configuration::set_Name(string) - IL_0012: ret - } // end of method SolutionTask::set_Configuration + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 58 - .method public hidebysig specialname - instance default string get_Platform () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method WebMapCollection::Add + + // method line 46 + .method public hidebysig + instance default void AddRange (class NAnt.VSNet.Types.WebMap[] items) cil managed { - // Method begins at RVA 0x4484 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x47dc + // Code size 34 (0x22) + .maxstack 3 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration - IL_0007: callvirt instance string class NAnt.VSNet.Configuration::get_Platform() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method SolutionTask::get_Platform + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.VSNet.Types.WebMapCollection::Add(class NAnt.VSNet.Types.WebMap) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - // method line 59 - .method public hidebysig specialname - instance default void set_Platform (string 'value') cil managed - { - // Method begins at RVA 0x44a4 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.VSNet.Configuration::set_Platform(string) - IL_000d: ret - } // end of method SolutionTask::set_Platform + IL_0021: ret + } // end of method WebMapCollection::AddRange - // method line 60 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_SolutionConfig () cil managed + // method line 47 + .method public hidebysig + instance default void AddRange (class NAnt.VSNet.Types.WebMapCollection items) cil managed { - // Method begins at RVA 0x44b4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x480c + // Code size 41 (0x29) + .maxstack 3 .locals init ( - class NAnt.VSNet.Configuration V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionTask::get_SolutionConfig + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.VSNet.Types.WebMap class NAnt.VSNet.Types.WebMapCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.VSNet.Types.WebMapCollection::Add(class NAnt.VSNet.Types.WebMap) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - // method line 61 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed + IL_0028: ret + } // end of method WebMapCollection::AddRange + + // method line 48 + .method public hidebysig + instance default bool Contains (class NAnt.VSNet.Types.WebMap item) cil managed { - // Method begins at RVA 0x44d0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4844 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.Tasks.SolutionTask::_outputDir - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionTask::get_OutputDir + IL_0013: ldloc.0 + IL_0014: ret + } // end of method WebMapCollection::Contains - // method line 62 - .method public hidebysig specialname - instance default void set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 49 + .method public hidebysig + instance default bool Contains (string 'value') cil managed { - // Method begins at RVA 0x44eb - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x4868 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.Tasks.SolutionTask::_outputDir - IL_0008: ret - } // end of method SolutionTask::set_OutputDir - - // method line 63 - .method public hidebysig specialname - instance default class NAnt.VSNet.Types.WebMapCollection get_WebMaps () cil managed + IL_0003: call instance class NAnt.VSNet.Types.WebMap class NAnt.VSNet.Types.WebMapCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 + + IL_0014: ldloc.0 + IL_0015: ret + } // end of method WebMapCollection::Contains + + // method line 50 + .method public hidebysig + instance default void CopyTo (class NAnt.VSNet.Types.WebMap[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x488a + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method WebMapCollection::CopyTo + + // method line 51 + .method public hidebysig + instance default int32 IndexOf (class NAnt.VSNet.Types.WebMap item) cil managed + { + // Method begins at RVA 0x489c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 + + IL_0013: ldloc.0 + IL_0014: ret + } // end of method WebMapCollection::IndexOf + + // method line 52 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.VSNet.Types.WebMap item) cil managed + { + // Method begins at RVA 0x48bd + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method WebMapCollection::Insert + + // method line 53 + .method public hidebysig + instance default class NAnt.VSNet.Types.WebMapEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x44f8 + // Method begins at RVA 0x48d0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.Types.WebMapCollection V_0) + class NAnt.VSNet.Types.WebMapEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.Tasks.SolutionTask::_webMaps + IL_0002: newobj instance void class NAnt.VSNet.Types.WebMapEnumerator::'.ctor'(class NAnt.VSNet.Types.WebMapCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SolutionTask::get_WebMaps + } // end of method WebMapCollection::GetEnumerator - // method line 64 + // method line 54 + .method public hidebysig + instance default void Remove (class NAnt.VSNet.Types.WebMap item) cil managed + { + // Method begins at RVA 0x48eb + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method WebMapCollection::Remove + + .property instance class NAnt.VSNet.Types.WebMap Item (int32) + { + .get instance default class NAnt.VSNet.Types.WebMap NAnt.VSNet.Types.WebMapCollection::get_Item (int32 index) + .set instance default void NAnt.VSNet.Types.WebMapCollection::set_Item (int32 index, class NAnt.VSNet.Types.WebMap 'value') + } + .property instance class NAnt.VSNet.Types.WebMap Item (string) + { + .get instance default class NAnt.VSNet.Types.WebMap NAnt.VSNet.Types.WebMapCollection::get_Item (string 'value') + } + } // end of class NAnt.VSNet.Types.WebMapCollection +} + +.namespace NAnt.VSNet.Types +{ + .class public auto ansi beforefieldinit WebMapEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 55 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Types.WebMapCollection arguments) cil managed + { + // Method begins at RVA 0x48fc + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator + IL_0015: ret + } // end of method WebMapEnumerator::.ctor + + // method line 56 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ExcludeProjects () cil managed + instance default class NAnt.VSNet.Types.WebMap get_Current () cil managed + { + // Method begins at RVA 0x4920 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Types.WebMap V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.VSNet.Types.WebMap + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method WebMapEnumerator::get_Current + + // method line 57 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x4948 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method WebMapEnumerator::System.Collections.IEnumerator.get_Current + + // method line 58 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x4968 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method WebMapEnumerator::MoveNext + + // method line 59 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x4988 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method WebMapEnumerator::System.Collections.IEnumerator.MoveNext + + // method line 60 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x49a8 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method WebMapEnumerator::Reset + + // method line 61 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x49b6 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.Types.WebMapEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method WebMapEnumerator::System.Collections.IEnumerator.Reset + + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.VSNet.Types.WebMapEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.VSNet.Types.WebMap Current () + { + .get instance default class NAnt.VSNet.Types.WebMap NAnt.VSNet.Types.WebMapEnumerator::get_Current () + } + } // end of class NAnt.VSNet.Types.WebMapEnumerator +} + +.namespace NAnt.VSNet.Types +{ + .class public auto ansi serializable beforefieldinit WebMap + extends [NAnt.Core]NAnt.Core.Element + { + .field private string _url + .field private class [mscorlib]System.IO.FileInfo _path + .field private bool _caseSensitive + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 62 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4514 + // Method begins at RVA 0x49c4 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.VSNet.Types.WebMap::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method WebMap::.ctor + + // method line 63 + .method public hidebysig specialname + instance default string get_Url () cil managed + { + // Method begins at RVA 0x49d4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_excludeProjects + IL_0002: ldfld string NAnt.VSNet.Types.WebMap::_url IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SolutionTask::get_ExcludeProjects + } // end of method WebMap::get_Url - // method line 65 + // method line 64 .method public hidebysig specialname - instance default void set_ExcludeProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_Url (string 'value') cil managed { - // Method begins at RVA 0x452f - // Code size 9 (0x9) + // Method begins at RVA 0x49ef + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_excludeProjects - IL_0008: ret - } // end of method SolutionTask::set_ExcludeProjects + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.VSNet.Types.WebMap::_url + IL_000d: ret + } // end of method WebMap::set_Url - // method line 66 + // method line 65 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_AssemblyFolders () cil managed + instance default class [mscorlib]System.IO.FileInfo get_Path () cil managed { - // Method begins at RVA 0x453c + // Method begins at RVA 0x4a00 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_assemblyFolders + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Types.WebMap::_path IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SolutionTask::get_AssemblyFolders + } // end of method WebMap::get_Path - // method line 67 + // method line 66 .method public hidebysig specialname - instance default void set_AssemblyFolders (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_Path (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x4557 + // Method begins at RVA 0x4a1b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::_assemblyFolders + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Types.WebMap::_path IL_0008: ret - } // end of method SolutionTask::set_AssemblyFolders + } // end of method WebMap::set_Path - // method line 68 + // method line 67 .method public hidebysig specialname - instance default bool get_IncludeVSFolders () cil managed + instance default bool get_CaseSensitive () cil managed { - // Method begins at RVA 0x4564 + // Method begins at RVA 0x4a28 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.Tasks.SolutionTask::_includeVSFolders + IL_0002: ldfld bool NAnt.VSNet.Types.WebMap::_caseSensitive IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SolutionTask::get_IncludeVSFolders + } // end of method WebMap::get_CaseSensitive - // method line 69 + // method line 68 .method public hidebysig specialname - instance default void set_IncludeVSFolders (bool 'value') cil managed + instance default void set_CaseSensitive (bool 'value') cil managed { - // Method begins at RVA 0x457f + // Method begins at RVA 0x4a43 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VSNet.Tasks.SolutionTask::_includeVSFolders + IL_0003: stfld bool NAnt.VSNet.Types.WebMap::_caseSensitive IL_0008: ret - } // end of method SolutionTask::set_IncludeVSFolders + } // end of method WebMap::set_CaseSensitive - // method line 70 + // method line 69 .method public hidebysig specialname - instance default bool get_EnableWebDav () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x458c + // Method begins at RVA 0x4a50 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.Tasks.SolutionTask::_enableWebDav + IL_0002: ldfld bool NAnt.VSNet.Types.WebMap::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SolutionTask::get_EnableWebDav + } // end of method WebMap::get_IfDefined - // method line 71 + // method line 70 .method public hidebysig specialname - instance default void set_EnableWebDav (bool 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x45a7 + // Method begins at RVA 0x4a6b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VSNet.Tasks.SolutionTask::_enableWebDav + IL_0003: stfld bool NAnt.VSNet.Types.WebMap::_ifDefined IL_0008: ret - } // end of method SolutionTask::set_EnableWebDav + } // end of method WebMap::set_IfDefined - // method line 72 + // method line 71 .method public hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_CustomProperties () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x45b4 + // Method begins at RVA 0x4a78 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.Tasks.SolutionTask::_customproperties + IL_0002: ldfld bool NAnt.VSNet.Types.WebMap::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SolutionTask::get_CustomProperties + } // end of method WebMap::get_UnlessDefined - // method line 73 + // method line 72 .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_AssemblyFolderList () cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x45d0 - // Code size 313 (0x139) - .maxstack 7 - .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - class [System]System.Collections.Specialized.StringCollection V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class [System]System.Collections.Specialized.StringCollection V_7) + // Method begins at RVA 0x4a93 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList - IL_0007: brtrue IL_0129 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0013: stfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolders() - IL_001f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0024: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0029: stloc.1 - .try { // 0 - IL_002a: br IL_0072 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.VSNet.Types.WebMap::_unlessDefined + IL_0008: ret + } // end of method WebMap::set_UnlessDefined - IL_002f: ldloc.1 - IL_0030: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0035: stloc.0 - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList - IL_003d: ldloc.0 - IL_003e: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_0043: brtrue IL_0071 + .property instance string Url () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 75 72 6C 01 00 54 02 08 52 65 71 75 69 // ...url..T..Requi + 72 65 64 01 ) // red. - IL_0048: nop - IL_0049: ldarg.0 - IL_004a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList - IL_004f: ldloc.0 - IL_0050: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0055: pop - IL_0056: ldarg.0 - IL_0057: ldc.i4 1000 - IL_005c: ldstr "Added \"{0}\" to AssemblyFolders." - IL_0061: ldc.i4.1 - IL_0062: newarr [mscorlib]System.Object - IL_0067: dup - IL_0068: ldc.i4.0 - IL_0069: ldloc.0 - IL_006a: stelem.ref - IL_006b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0070: nop - IL_0071: nop - IL_0072: ldloc.1 - IL_0073: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0078: brtrue IL_002f + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_007d: leave IL_0096 + .get instance default string NAnt.VSNet.Types.WebMap::get_Url () + .set instance default void NAnt.VSNet.Types.WebMap::set_Url (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo Path () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 70 61 74 68 01 00 54 02 08 52 65 71 75 // ...path..T..Requ + 69 72 65 64 01 ) // ired. - } // end .try 0 - finally { // 0 - IL_0082: ldloc.1 - IL_0083: isinst [mscorlib]System.IDisposable - IL_0088: dup - IL_0089: stloc.2 - IL_008a: brfalse IL_0095 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Types.WebMap::get_Path () + .set instance default void NAnt.VSNet.Types.WebMap::set_Path (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance bool CaseSensitive () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0D 63 61 73 65 73 65 6E 73 69 74 69 76 65 // ...casesensitive + 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. - 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: call instance bool class NAnt.VSNet.Tasks.SolutionTask::get_IncludeVSFolders() - IL_009c: brfalse IL_0128 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00a1: nop - IL_00a2: ldarg.0 - IL_00a3: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.Tasks.SolutionTask::BuildAssemblyFolders() - IL_00a8: stloc.3 - IL_00a9: nop - IL_00aa: ldloc.3 - IL_00ab: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00b0: stloc.s 5 - .try { // 1 - IL_00b2: br IL_00ff + .get instance default bool NAnt.VSNet.Types.WebMap::get_CaseSensitive () + .set instance default void NAnt.VSNet.Types.WebMap::set_CaseSensitive (bool 'value') + } + .property instance bool IfDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_00b7: ldloc.s 5 - IL_00b9: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00be: stloc.s 4 - IL_00c0: nop - IL_00c1: ldarg.0 - IL_00c2: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList - IL_00c7: ldloc.s 4 - IL_00c9: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_00ce: brtrue IL_00fe + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00d3: nop - IL_00d4: ldarg.0 - IL_00d5: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList - IL_00da: ldloc.s 4 - IL_00dc: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00e1: pop - IL_00e2: ldarg.0 - IL_00e3: ldc.i4 1000 - IL_00e8: ldstr "Added \"{0}\" to AssemblyFolders." - IL_00ed: ldc.i4.1 - IL_00ee: newarr [mscorlib]System.Object - IL_00f3: dup - IL_00f4: ldc.i4.0 - IL_00f5: ldloc.s 4 - IL_00f7: stelem.ref - IL_00f8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00fd: nop - IL_00fe: nop - IL_00ff: ldloc.s 5 - IL_0101: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0106: brtrue IL_00b7 + .get instance default bool NAnt.VSNet.Types.WebMap::get_IfDefined () + .set instance default void NAnt.VSNet.Types.WebMap::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_010b: leave IL_0127 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end .try 1 - finally { // 1 - IL_0110: ldloc.s 5 - IL_0112: isinst [mscorlib]System.IDisposable - IL_0117: dup - IL_0118: stloc.s 6 - IL_011a: brfalse IL_0126 + .get instance default bool NAnt.VSNet.Types.WebMap::get_UnlessDefined () + .set instance default void NAnt.VSNet.Types.WebMap::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.VSNet.Types.WebMap +} - IL_011f: ldloc.s 6 - IL_0121: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0126: endfinally - } // end handler 1 - IL_0127: nop - IL_0128: nop - IL_0129: ldarg.0 - IL_012a: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::_assemblyFolderList - IL_012f: stloc.s 7 - IL_0131: br IL_0136 +.namespace NAnt.VSNet.Types +{ + .class public auto ansi sealed UseOfMFC + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.Types.UseOfMFC NotUsing = int32(0x00000000) + .field public static literal valuetype NAnt.VSNet.Types.UseOfMFC Static = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.Types.UseOfMFC Shared = int32(0x00000002) - IL_0136: ldloc.s 7 - IL_0138: ret - } // end of method SolutionTask::get_AssemblyFolderList + } // end of class NAnt.VSNet.Types.UseOfMFC +} - // method line 74 - .method assembly hidebysig specialname - instance default class NAnt.VSNet.ProjectFactory get_ProjectFactory () cil managed - { - // Method begins at RVA 0x4734 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.ProjectFactory V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectFactory NAnt.VSNet.Tasks.SolutionTask::_projectFactory - IL_0007: stloc.0 - IL_0008: br IL_000d +.namespace NAnt.VSNet.Types +{ + .class public auto ansi sealed UsePrecompiledHeader + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader Unspecified = int32(0xffffffff) + .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader No = int32(0x00000000) + .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader Create = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader AutoCreate = int32(0x00000002) + .field public static literal valuetype NAnt.VSNet.Types.UsePrecompiledHeader Use = int32(0x00000003) - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionTask::get_ProjectFactory + } // end of class NAnt.VSNet.Types.UsePrecompiledHeader +} - // method line 75 - .method assembly hidebysig specialname - instance default class NAnt.VSNet.SolutionFactory get_SolutionFactory () cil managed +.namespace NAnt.VSNet.Types +{ + .class public auto ansi sealed UseOfATL + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.Types.UseOfATL NotUsing = int32(0x00000000) + .field public static literal valuetype NAnt.VSNet.Types.UseOfATL Static = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.Types.UseOfATL Shared = int32(0x00000002) + + } // end of class NAnt.VSNet.Types.UseOfATL +} + +.namespace NAnt.VSNet.Everett +{ + .class private auto ansi beforefieldinit Solution + extends NAnt.VSNet.SolutionBase + { + + // method line 73 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed { - // Method begins at RVA 0x4750 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4aa0 + // Code size 775 (0x307) + .maxstack 5 .locals init ( - class NAnt.VSNet.SolutionFactory V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.SolutionFactory NAnt.VSNet.Tasks.SolutionTask::_solutionFactory - IL_0007: stloc.0 - IL_0008: br IL_000d + class [System]System.Text.RegularExpressions.Regex V_0, + class [System]System.Text.RegularExpressions.MatchCollection V_1, + class [mscorlib]System.Collections.Hashtable V_2, + class [System]System.Text.RegularExpressions.Match V_3, + class [mscorlib]System.Collections.IEnumerator V_4, + string V_5, + string V_6, + string V_7, + bool V_8, + class [System]System.Text.RegularExpressions.Regex V_9, + class [System]System.Text.RegularExpressions.MatchCollection V_10, + class [System]System.Text.RegularExpressions.Match V_11, + class [mscorlib]System.Collections.IEnumerator V_12, + string V_13, + string V_14, + class [mscorlib]System.IDisposable V_15, + class [System]System.Text.RegularExpressions.Regex V_16, + class [System]System.Text.RegularExpressions.MatchCollection V_17, + class NAnt.VSNet.ProjectEntry V_18, + class NAnt.VSNet.ConfigurationMap V_19, + int32 V_20, + class [System]System.Text.RegularExpressions.Match V_21, + string V_22, + string V_23, + string V_24, + string V_25, + class NAnt.VSNet.Configuration V_26, + class NAnt.VSNet.Configuration V_27, + class [mscorlib]System.IDisposable V_28) + IL_0000: ldarg.0 + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: ldarg.s 4 + IL_0005: ldarg.s 5 + IL_0007: call instance void class NAnt.VSNet.SolutionBase::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_000c: nop + IL_000d: ldstr "Project\\(\\\"(?\\{.*?\\})\\\".*?\\\"(?.*?)\\\".*?\\\"(?.*?)\\\".*?\\\"(?.*?)\\\"(?[\\s\\S]*?)EndProject" + IL_0012: ldc.i4.2 + IL_0013: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_0018: stloc.0 + IL_0019: ldloc.0 + IL_001a: ldarg.1 + IL_001b: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) + IL_0020: stloc.1 + IL_0021: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0026: stloc.2 + IL_0027: nop + IL_0028: ldloc.1 + IL_0029: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Text.RegularExpressions.MatchCollection::GetEnumerator() + IL_002e: stloc.s 4 + .try { // 1 + IL_0030: br IL_02a5 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionTask::get_SolutionFactory + IL_0035: ldloc.s 4 + IL_0037: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_003c: castclass [System]System.Text.RegularExpressions.Match + IL_0041: stloc.3 + IL_0042: nop + IL_0043: ldloc.3 + IL_0044: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0049: ldstr "project" + IL_004e: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_0053: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0058: stloc.s 5 + IL_005a: ldloc.3 + IL_005b: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0060: ldstr "guid" + IL_0065: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_006a: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_006f: stloc.s 6 + IL_0071: ldarg.0 + IL_0072: ldarg.2 + IL_0073: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0078: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_007d: ldloc.s 5 + IL_007f: call instance string class NAnt.VSNet.SolutionBase::TranslateProjectPath(string, string) + IL_0084: stloc.s 7 + IL_0086: ldloc.s 7 + IL_0088: call bool class [mscorlib]System.IO.File::Exists(string) + IL_008d: brtrue IL_009c - // method line 76 - .method private final virtual hidebysig newslot - instance default void NAnt.Core.Extensibility.IPluginConsumer.ConsumePlugin (class [NAnt.Core]NAnt.Core.Extensibility.IPlugin plugin) cil managed - { - // Method begins at RVA 0x476b - .override Could not decode method override class [NAnt.Core]NAnt.Core.Extensibility.IPluginConsumer::ConsumePlugin due to (null) - // Code size 58 (0x3a) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: isinst NAnt.VSNet.Extensibility.IProjectBuildProvider - IL_0007: brfalse IL_001d + IL_0092: nop + IL_0093: ldarg.0 + IL_0094: ldloc.s 7 + IL_0096: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.SolutionBase::CreateProjectDoesNotExistException(string) + IL_009b: throw + IL_009c: ldloc.s 7 + IL_009e: call bool class NAnt.VSNet.ManagedProjectBase::IsEnterpriseTemplateProject(string) + IL_00a3: stloc.s 8 + IL_00a5: ldloc.s 8 + IL_00a7: brfalse IL_00bb - IL_000c: ldarg.0 - IL_000d: call instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() - IL_0012: ldarg.1 - IL_0013: castclass NAnt.VSNet.Extensibility.IProjectBuildProvider - IL_0018: callvirt instance void class NAnt.VSNet.ProjectFactory::RegisterProvider(class NAnt.VSNet.Extensibility.IProjectBuildProvider) - IL_001d: ldarg.1 - IL_001e: isinst NAnt.VSNet.Extensibility.ISolutionBuildProvider - IL_0023: brfalse IL_0039 + IL_00ac: nop + IL_00ad: ldarg.0 + IL_00ae: ldloc.s 7 + IL_00b0: call instance void class NAnt.VSNet.SolutionBase::RecursiveLoadTemplateProject(string) + IL_00b5: nop + IL_00b6: br IL_00d2 - IL_0028: ldarg.0 - IL_0029: call instance class NAnt.VSNet.SolutionFactory class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFactory() - IL_002e: ldarg.1 - IL_002f: castclass NAnt.VSNet.Extensibility.ISolutionBuildProvider - IL_0034: callvirt instance void class NAnt.VSNet.SolutionFactory::RegisterProvider(class NAnt.VSNet.Extensibility.ISolutionBuildProvider) - IL_0039: ret - } // end of method SolutionTask::NAnt.Core.Extensibility.IPluginConsumer.ConsumePlugin + IL_00bb: nop + IL_00bc: ldarg.0 + IL_00bd: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_00c2: ldloc.s 6 + IL_00c4: ldloc.s 7 + IL_00c6: newobj instance void class NAnt.VSNet.ProjectEntry::'.ctor'(string, string) + IL_00cb: callvirt instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) + IL_00d0: pop + IL_00d1: nop + IL_00d2: ldstr "^\\s+(?\\{[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}\\})\\s+=\\s+(?\\{[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}\\})" + IL_00d7: ldc.i4.2 + IL_00d8: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_00dd: stloc.s 9 + IL_00df: ldloc.s 9 + IL_00e1: ldloc.3 + IL_00e2: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_00e7: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) + IL_00ec: stloc.s 10 + IL_00ee: nop + IL_00ef: ldloc.s 10 + IL_00f1: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System]System.Text.RegularExpressions.MatchCollection::GetEnumerator() + IL_00f6: stloc.s 12 + .try { // 0 + IL_00f8: br IL_017c - // method line 77 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x47a8 - // Code size 750 (0x2ee) - .maxstack 7 - .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5, - string V_6, - class [System]System.CodeDom.Compiler.TempFileCollection V_7, - class [mscorlib]System.Security.PermissionSet V_8, - class [mscorlib]System.AppDomain V_9, - class NAnt.VSNet.ReferencesResolver V_10, - class [NAnt.Core]NAnt.Core.Util.GacCache V_11, - class NAnt.VSNet.SolutionBase V_12, - class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_13) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 3000 - IL_0007: ldstr "Starting solution build." - IL_000c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0011: ldarg.0 - IL_0012: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0017: brfalse IL_0055 + IL_00fd: ldloc.s 12 + IL_00ff: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0104: castclass [System]System.Text.RegularExpressions.Match + IL_0109: stloc.s 11 + IL_010b: nop + IL_010c: ldloc.s 11 + IL_010e: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0113: ldstr "dep" + IL_0118: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_011d: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0122: stloc.s 13 + IL_0124: ldloc.s 8 + IL_0126: brfalse IL_0146 - IL_001c: nop - IL_001d: ldarg.0 - IL_001e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0023: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0028: brtrue IL_0054 + IL_012b: ldloc.s 11 + IL_012d: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0132: ldstr "guid" + IL_0137: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_013c: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0141: br IL_0148 - IL_002d: nop - IL_002e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0033: ldstr "Couldn't find solution file '{0}'." - IL_0038: ldarg.0 - IL_0039: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_003e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0043: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0048: ldarg.0 - IL_0049: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_004e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0053: throw - IL_0054: nop - IL_0055: ldarg.0 - IL_0056: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() - IL_005b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0060: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0065: ldc.i4.0 - IL_0066: ble IL_00d7 + IL_0146: ldloc.s 6 + IL_0148: stloc.s 14 + IL_014a: ldloc.2 + IL_014b: ldloc.s 14 + IL_014d: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0152: brtrue IL_0166 - IL_006b: nop - IL_006c: ldarg.0 - IL_006d: ldc.i4 2000 - IL_0072: ldstr "Included projects:" - IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_007c: nop - IL_007d: ldarg.0 - IL_007e: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() - IL_0083: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0088: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_008d: stloc.1 - .try { // 0 - IL_008e: br IL_00b2 + IL_0157: nop + IL_0158: ldloc.2 + IL_0159: ldloc.s 14 + IL_015b: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0160: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0165: nop + IL_0166: ldloc.2 + IL_0167: ldloc.s 14 + IL_0169: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_016e: castclass [mscorlib]System.Collections.Hashtable + IL_0173: ldloc.s 13 + IL_0175: ldnull + IL_0176: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_017b: nop + IL_017c: ldloc.s 12 + IL_017e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0183: brtrue IL_00fd - IL_0093: ldloc.1 - IL_0094: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0099: stloc.0 - IL_009a: nop - IL_009b: ldarg.0 - IL_009c: ldc.i4 2000 - IL_00a1: ldstr " - " - IL_00a6: ldloc.0 - IL_00a7: call string string::Concat(string, string) - IL_00ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00b1: nop - IL_00b2: ldloc.1 - IL_00b3: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00b8: brtrue IL_0093 + IL_0188: leave IL_01a4 - IL_00bd: leave IL_00d6 + } // end .try 0 + finally { // 0 + IL_018d: ldloc.s 12 + IL_018f: isinst [mscorlib]System.IDisposable + IL_0194: dup + IL_0195: stloc.s 15 + IL_0197: brfalse IL_01a3 - } // end .try 0 - finally { // 0 - IL_00c2: ldloc.1 - IL_00c3: isinst [mscorlib]System.IDisposable - IL_00c8: dup - IL_00c9: stloc.2 - IL_00ca: brfalse IL_00d5 + IL_019c: ldloc.s 15 + IL_019e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01a3: endfinally + } // end handler 0 + IL_01a4: ldstr "^\\s+" + IL_01a9: ldloc.s 6 + IL_01ab: ldstr "\\.(?[^|]+)\\|?(?[^\\.]?)\\.Build\\.0\\s*=\\s* (?[^|]+)\\|(?[\\.\\w ]+)\\s*" + IL_01b0: call string string::Concat(string, string, string) + IL_01b5: ldc.i4.2 + IL_01b6: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_01bb: stloc.s 16 + IL_01bd: ldloc.s 16 + IL_01bf: ldarg.1 + IL_01c0: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) + IL_01c5: stloc.s 17 + IL_01c7: ldarg.0 + IL_01c8: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_01cd: ldloc.s 6 + IL_01cf: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_01d4: stloc.s 18 + IL_01d6: ldloc.s 18 + IL_01d8: brtrue IL_01e3 - IL_00cf: ldloc.2 - IL_00d0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d5: endfinally - } // end handler 0 - IL_00d6: nop - IL_00d7: ldarg.0 - IL_00d8: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() - IL_00dd: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00e2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00e7: ldc.i4.0 - IL_00e8: ble IL_015f + IL_01dd: nop + IL_01de: leave IL_02a5 - IL_00ed: nop - IL_00ee: ldarg.0 - IL_00ef: ldc.i4 2000 - IL_00f4: ldstr "Reference projects:" - IL_00f9: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00fe: nop - IL_00ff: ldarg.0 - IL_0100: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() - IL_0105: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_010a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_010f: stloc.s 4 - .try { // 1 - IL_0111: br IL_0136 + IL_01e3: ldloc.s 17 + IL_01e5: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() + IL_01ea: newobj instance void class NAnt.VSNet.ConfigurationMap::'.ctor'(int32) + IL_01ef: stloc.s 19 + IL_01f1: ldc.i4.0 + IL_01f2: stloc.s 20 + IL_01f4: br IL_028d - IL_0116: ldloc.s 4 - IL_0118: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_011d: stloc.3 - IL_011e: nop - IL_011f: ldarg.0 - IL_0120: ldc.i4 2000 - IL_0125: ldstr " - " - IL_012a: ldloc.3 - IL_012b: call string string::Concat(string, string) - IL_0130: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0135: nop - IL_0136: ldloc.s 4 - IL_0138: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_013d: brtrue IL_0116 + IL_01f9: nop + IL_01fa: ldloc.s 17 + IL_01fc: ldloc.s 20 + IL_01fe: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.MatchCollection::get_Item(int32) + IL_0203: stloc.s 21 + IL_0205: ldloc.s 21 + IL_0207: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_020c: ldstr "solutionConfiguration" + IL_0211: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_0216: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_021b: stloc.s 22 + IL_021d: ldloc.s 21 + IL_021f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0224: ldstr "solutionPlatform" + IL_0229: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_022e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0233: stloc.s 23 + IL_0235: ldloc.s 21 + IL_0237: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_023c: ldstr "projectConfiguration" + IL_0241: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_0246: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_024b: stloc.s 24 + IL_024d: ldloc.s 21 + IL_024f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0254: ldstr "projectPlatform" + IL_0259: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_025e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0263: stloc.s 25 + IL_0265: ldloc.s 22 + IL_0267: ldloc.s 23 + IL_0269: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) + IL_026e: stloc.s 26 + IL_0270: ldloc.s 24 + IL_0272: ldloc.s 25 + IL_0274: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) + IL_0279: stloc.s 27 + IL_027b: ldloc.s 19 + IL_027d: ldloc.s 26 + IL_027f: ldloc.s 27 + IL_0281: callvirt instance void class NAnt.VSNet.ConfigurationMap::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) + IL_0286: nop + IL_0287: ldloc.s 20 + IL_0289: ldc.i4.1 + IL_028a: add + IL_028b: stloc.s 20 + IL_028d: ldloc.s 20 + IL_028f: ldloc.s 17 + IL_0291: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() + IL_0296: blt IL_01f9 - IL_0142: leave IL_015e + IL_029b: ldloc.s 18 + IL_029d: ldloc.s 19 + IL_029f: callvirt instance void class NAnt.VSNet.ProjectEntry::set_BuildConfigurations(class NAnt.VSNet.ConfigurationMap) + IL_02a4: nop + IL_02a5: ldloc.s 4 + IL_02a7: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02ac: brtrue IL_0035 + + IL_02b1: leave IL_02cd } // end .try 1 finally { // 1 - IL_0147: ldloc.s 4 - IL_0149: isinst [mscorlib]System.IDisposable - IL_014e: dup - IL_014f: stloc.s 5 - IL_0151: brfalse IL_015d + IL_02b6: ldloc.s 4 + IL_02b8: isinst [mscorlib]System.IDisposable + IL_02bd: dup + IL_02be: stloc.s 28 + IL_02c0: brfalse IL_02cc - IL_0156: ldloc.s 5 - IL_0158: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_015d: endfinally + IL_02c5: ldloc.s 28 + IL_02c7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02cc: endfinally } // end handler 1 - IL_015e: nop - IL_015f: ldnull - IL_0160: stloc.s 6 - .try { // 5 - IL_0162: nop - IL_0163: newobj instance void class [System]System.CodeDom.Compiler.TempFileCollection::'.ctor'() - IL_0168: stloc.s 7 - .try { // 4 - IL_016a: nop - IL_016b: ldloc.s 7 - IL_016d: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() - IL_0172: stloc.s 6 - IL_0174: ldloc.s 7 - IL_0176: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() - IL_017b: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0180: brtrue IL_0194 - - IL_0185: nop - IL_0186: ldloc.s 7 - IL_0188: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() - IL_018d: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0192: pop - IL_0193: nop - IL_0194: ldc.i4.1 - IL_0195: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) - IL_019a: stloc.s 8 - IL_019c: ldstr "temporaryDomain" - IL_01a1: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_01a6: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() - IL_01ab: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_01b0: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() - IL_01b5: ldloc.s 8 - IL_01b7: call !!0[] class [mscorlib]System.Array::Empty () - IL_01bc: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string, class [mscorlib]System.Security.Policy.Evidence, class [mscorlib]System.AppDomainSetup, class [mscorlib]System.Security.PermissionSet, class [mscorlib]System.Security.Policy.StrongName[]) - IL_01c1: stloc.s 9 - .try { // 3 - IL_01c3: nop - IL_01c4: ldloc.s 9 - IL_01c6: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_01cb: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_01d0: ldtoken NAnt.VSNet.ReferencesResolver - IL_01d5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01da: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01df: callvirt instance class [mscorlib]System.Runtime.Remoting.ObjectHandle class [mscorlib]System.AppDomain::CreateInstanceFrom(string, string) - IL_01e4: callvirt instance object class [mscorlib]System.Runtime.Remoting.ObjectHandle::Unwrap() - IL_01e9: castclass NAnt.VSNet.ReferencesResolver - IL_01ee: stloc.s 10 - IL_01f0: ldarg.0 - IL_01f1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_01f6: newobj instance void class [NAnt.Core]NAnt.Core.Util.GacCache::'.ctor'(class [NAnt.Core]NAnt.Core.Project) - IL_01fb: stloc.s 11 - .try { // 2 - IL_01fd: nop - IL_01fe: ldarg.0 - IL_01ff: call instance class NAnt.VSNet.SolutionFactory class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFactory() - IL_0204: ldarg.0 - IL_0205: ldloc.s 7 - IL_0207: ldloc.s 11 - IL_0209: ldloc.s 10 - IL_020b: callvirt instance class NAnt.VSNet.SolutionBase class NAnt.VSNet.SolutionFactory::LoadSolution(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) - IL_0210: stloc.s 12 - IL_0212: ldloc.s 12 - IL_0214: ldarg.0 - IL_0215: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::_configuration - IL_021a: callvirt instance bool class NAnt.VSNet.SolutionBase::Compile(class NAnt.VSNet.Configuration) - IL_021f: brtrue IL_0236 + IL_02cd: ldarg.0 + IL_02ce: ldarg.2 + IL_02cf: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() + IL_02d4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_02d9: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) + IL_02de: ldc.i4.0 + IL_02df: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) + IL_02e4: ldarg.0 + IL_02e5: ldarg.2 + IL_02e6: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() + IL_02eb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_02f0: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) + IL_02f5: ldc.i4.1 + IL_02f6: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) + IL_02fb: ldarg.0 + IL_02fc: ldarg.s 4 + IL_02fe: ldarg.s 5 + IL_0300: ldloc.2 + IL_0301: call instance void class NAnt.VSNet.SolutionBase::LoadProjects(class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.Collections.Hashtable) + IL_0306: ret + } // end of method Solution::.ctor - IL_0224: nop - IL_0225: ldstr "Project build failed." - IL_022a: ldarg.0 - IL_022b: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0230: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0235: throw - IL_0236: nop - IL_0237: leave IL_024b + } // end of class NAnt.VSNet.Everett.Solution +} - } // end .try 2 - finally { // 2 - IL_023c: ldloc.s 11 - IL_023e: brfalse IL_024a +.namespace NAnt.VSNet.Everett +{ + .class private auto ansi beforefieldinit SolutionProvider + extends [mscorlib]System.Object + implements NAnt.VSNet.Extensibility.ISolutionBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - IL_0243: ldloc.s 11 - IL_0245: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_024a: endfinally - } // end handler 2 - IL_024b: nop - IL_024c: leave IL_025b + // method line 74 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x4de8 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method SolutionProvider::.ctor - } // end .try 3 - finally { // 3 - IL_0251: nop - IL_0252: ldloc.s 9 - IL_0254: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) - IL_0259: nop - IL_025a: endfinally - } // end handler 3 - IL_025b: nop - IL_025c: leave IL_0270 + // method line 75 + .method public final virtual hidebysig newslot + instance default int32 IsSupported (string fileContents) cil managed + { + // Method begins at RVA 0x4df0 + // Code size 101 (0x65) + .maxstack 2 + .locals init ( + class [System]System.Text.RegularExpressions.Regex V_0, + class [System]System.Text.RegularExpressions.MatchCollection V_1, + int32 V_2, + string V_3) + IL_0000: nop + IL_0001: ldstr "^\\s*Microsoft Visual Studio Solution File, Format Version\\s+(?[0-9]+\\.[0-9]+)" + IL_0006: ldc.i4.s 0x10 + IL_0008: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldarg.1 + IL_0010: callvirt instance class [System]System.Text.RegularExpressions.MatchCollection class [System]System.Text.RegularExpressions.Regex::Matches(string) + IL_0015: stloc.1 + IL_0016: ldloc.1 + IL_0017: callvirt instance int32 class [System]System.Text.RegularExpressions.MatchCollection::get_Count() + IL_001c: brtrue IL_0028 - } // end .try 4 - finally { // 4 - IL_0261: ldloc.s 7 - IL_0263: brfalse IL_026f + IL_0021: ldc.i4.0 + IL_0022: stloc.2 + IL_0023: br IL_0063 - IL_0268: ldloc.s 7 - IL_026a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_026f: endfinally - } // end handler 4 - IL_0270: nop - IL_0271: leave IL_02ed + IL_0028: ldloc.1 + IL_0029: ldc.i4.0 + IL_002a: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.MatchCollection::get_Item(int32) + IL_002f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0034: ldstr "formatVersion" + IL_0039: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_003e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0043: stloc.3 + IL_0044: ldloc.3 + IL_0045: ldstr "8.00" + IL_004a: call bool string::op_Equality(string, string) + IL_004f: brfalse IL_005c - } // end .try 5 - finally { // 5 - IL_0276: nop - IL_0277: ldloc.s 6 - IL_0279: brfalse IL_02eb + IL_0054: ldc.i4.s 0x0a + IL_0056: stloc.2 + IL_0057: br IL_0063 - IL_027e: ldloc.s 6 - IL_0280: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0285: brfalse IL_02eb + IL_005c: ldc.i4.0 + IL_005d: stloc.2 + IL_005e: br IL_0063 - IL_028a: nop - IL_028b: ldarg.0 - IL_028c: ldc.i4 1000 - IL_0291: ldstr "Cleaning up temp folder '{0}'." - IL_0296: ldc.i4.1 - IL_0297: newarr [mscorlib]System.Object - IL_029c: dup - IL_029d: ldc.i4.0 - IL_029e: ldloc.s 6 - IL_02a0: stelem.ref - IL_02a1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_02a6: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() - IL_02ab: stloc.s 13 - IL_02ad: ldloc.s 13 - IL_02af: ldarg.0 - IL_02b0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_02b5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_02ba: ldloc.s 13 - IL_02bc: ldarg.0 - IL_02bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_02c2: ldloc.s 13 - IL_02c4: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_02c9: ldloc.s 13 - IL_02cb: ldloc.s 6 - IL_02cd: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_02d2: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) - IL_02d7: ldloc.s 13 - IL_02d9: ldc.i4 9999 - IL_02de: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_02e3: ldloc.s 13 - IL_02e5: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_02ea: nop - IL_02eb: nop - IL_02ec: endfinally - } // end handler 5 - IL_02ed: ret - } // end of method SolutionTask::ExecuteTask + IL_0063: ldloc.2 + IL_0064: ret + } // end of method SolutionProvider::IsSupported - // method line 78 - .method assembly hidebysig - instance default string ExpandMacro (string macro) cil managed + // method line 76 + .method public final virtual hidebysig newslot + instance default class NAnt.VSNet.SolutionBase GetInstance (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed { - // Method begins at RVA 0x4b38 - // Code size 433 (0x1b1) - .maxstack 3 + // Method begins at RVA 0x4e64 + // Code size 21 (0x15) + .maxstack 5 .locals init ( - string V_0, - string V_1) + class NAnt.VSNet.SolutionBase V_0) IL_0000: nop IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_01a8 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: newobj instance void class NAnt.VSNet.Everett.Solution::'.ctor'(string, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_000d: stloc.0 + IL_000e: br IL_0013 IL_0013: ldloc.0 - IL_0014: ldstr "solutionfilename" - IL_0019: call bool string::op_Equality(string, string) - IL_001e: brtrue IL_0068 - - IL_0023: ldloc.0 - IL_0024: ldstr "solutionpath" - IL_0029: call bool string::op_Equality(string, string) - IL_002e: brtrue IL_00a6 - - IL_0033: ldloc.0 - IL_0034: ldstr "solutiondir" - IL_0039: call bool string::op_Equality(string, string) - IL_003e: brtrue IL_00df + IL_0014: ret + } // end of method SolutionProvider::GetInstance - IL_0043: ldloc.0 - IL_0044: ldstr "solutionname" - IL_0049: call bool string::op_Equality(string, string) - IL_004e: brtrue IL_012c + } // end of class NAnt.VSNet.Everett.SolutionProvider +} - IL_0053: ldloc.0 - IL_0054: ldstr "solutionext" - IL_0059: call bool string::op_Equality(string, string) - IL_005e: brtrue IL_016a +.namespace NAnt.VSNet.Extensibility +{ + .class interface public auto ansi abstract IProjectBuildProvider + implements [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - IL_0063: br IL_01a8 + // method line 77 + .method public virtual hidebysig newslot abstract + instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x0 + } // end of method IProjectBuildProvider::IsSupported - IL_0068: ldarg.0 - IL_0069: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_006e: brfalse IL_008a + // method line 78 + .method public virtual hidebysig newslot abstract + instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x0 + } // end of method IProjectBuildProvider::GetInstance - IL_0073: nop - IL_0074: ldarg.0 - IL_0075: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_007a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_007f: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0084: stloc.1 - IL_0085: br IL_01af + // method line 79 + .method public virtual hidebysig newslot abstract + instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x0 + } // end of method IProjectBuildProvider::LoadGuid - IL_008a: nop - IL_008b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0090: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." - IL_0095: ldarg.1 - IL_0096: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_009b: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00a0: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00a5: throw - IL_00a6: ldarg.0 - IL_00a7: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_00ac: brfalse IL_00c3 + } // end of class NAnt.VSNet.Extensibility.IProjectBuildProvider +} - IL_00b1: nop - IL_00b2: ldarg.0 - IL_00b3: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_00b8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00bd: stloc.1 - IL_00be: br IL_01af +.namespace NAnt.VSNet.Extensibility +{ + .class interface public auto ansi abstract ISolutionBuildProvider + implements [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - IL_00c3: nop - IL_00c4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c9: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." - IL_00ce: ldarg.1 - IL_00cf: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00d4: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00d9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00de: throw - IL_00df: ldarg.0 - IL_00e0: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_00e5: brfalse IL_0110 + // method line 80 + .method public virtual hidebysig newslot abstract + instance default int32 IsSupported (string fileContents) cil managed + { + // Method begins at RVA 0x0 + } // end of method ISolutionBuildProvider::IsSupported - IL_00ea: nop - IL_00eb: ldarg.0 - IL_00ec: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_00f1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00f6: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00fb: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0100: box [mscorlib]System.Char - IL_0105: call string string::Concat(object, object) - IL_010a: stloc.1 - IL_010b: br IL_01af + // method line 81 + .method public virtual hidebysig newslot abstract + instance default class NAnt.VSNet.SolutionBase GetInstance (string solutionContent, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + { + // Method begins at RVA 0x0 + } // end of method ISolutionBuildProvider::GetInstance - IL_0110: nop - IL_0111: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0116: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." - IL_011b: ldarg.1 - IL_011c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0121: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0126: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_012b: throw - IL_012c: ldarg.0 - IL_012d: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0132: brfalse IL_014e + } // end of class NAnt.VSNet.Extensibility.ISolutionBuildProvider +} - IL_0137: nop - IL_0138: ldarg.0 - IL_0139: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_013e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0143: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0148: stloc.1 - IL_0149: br IL_01af +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ReferencesResolver + extends [mscorlib]System.MarshalByRefObject + { - IL_014e: nop - IL_014f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0154: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." - IL_0159: ldarg.1 - IL_015a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_015f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0164: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0169: throw - IL_016a: ldarg.0 - IL_016b: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0170: brfalse IL_018c + // method line 82 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x4e85 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.MarshalByRefObject::'.ctor'() + IL_0006: ret + } // end of method ReferencesResolver::.ctor - IL_0175: nop - IL_0176: ldarg.0 - IL_0177: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_017c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0181: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0186: stloc.1 - IL_0187: br IL_01af + // method line 83 + .method public virtual hidebysig + instance default object InitializeLifetimeService () cil managed + { + // Method begins at RVA 0x4e90 + // Code size 47 (0x2f) + .maxstack 2 + .locals init ( + class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, + object V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() + IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() + IL_0013: ldc.i4.1 + IL_0014: bne.un IL_0026 - IL_018c: nop - IL_018d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0192: ldstr "Macro \"{0}\" cannot be expanded, no solution file specified." - IL_0197: ldarg.1 - IL_0198: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_019d: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_01a2: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_01a7: throw - IL_01a8: ldnull - IL_01a9: stloc.1 - IL_01aa: br IL_01af + IL_0019: nop + IL_001a: ldloc.0 + IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero + IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) + IL_0025: nop + IL_0026: ldloc.0 + IL_0027: stloc.1 + IL_0028: br IL_002d - IL_01af: ldloc.1 - IL_01b0: ret - } // end of method SolutionTask::ExpandMacro + IL_002d: ldloc.1 + IL_002e: ret + } // end of method ReferencesResolver::InitializeLifetimeService - // method line 79 - .method private hidebysig - instance default class [System]System.Collections.Specialized.StringCollection BuildAssemblyFolders () cil managed + // method line 84 + .method public hidebysig + instance default void AppendReferencedModulesLocatedInGivenDirectory (string moduleDirectory, string moduleName, class [mscorlib]System.Collections.Hashtable& allReferences, class [mscorlib]System.Collections.Hashtable& unresolvedReferences) cil managed { - // Method begins at RVA 0x4cf8 - // Code size 95 (0x5f) - .maxstack 5 + // Method begins at RVA 0x4ecc + // Code size 139 (0x8b) + .maxstack 3 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class [mscorlib]System.Version V_1, - class [System]System.Collections.Specialized.StringCollection V_2) + class [mscorlib]System.Reflection.Assembly V_0, + class [mscorlib]System.Reflection.AssemblyName[] V_1, + class [mscorlib]System.Reflection.AssemblyName V_2, + class [mscorlib]System.Reflection.AssemblyName[] V_3, + int32 V_4, + string V_5) IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000d: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0012: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_VisualStudioVersion() - IL_0017: stloc.1 - IL_0018: ldarg.0 - IL_0019: ldloc.0 - IL_001a: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::CurrentUser - IL_001f: ldloc.1 - IL_0020: ldc.i4.2 - IL_0021: callvirt instance string class [mscorlib]System.Version::ToString(int32) - IL_0026: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildVisualStudioAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey, string) - IL_002b: ldarg.0 - IL_002c: ldloc.0 - IL_002d: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine - IL_0032: ldloc.1 - IL_0033: ldc.i4.2 - IL_0034: callvirt instance string class [mscorlib]System.Version::ToString(int32) - IL_0039: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildVisualStudioAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey, string) - IL_003e: ldarg.0 - IL_003f: ldloc.0 - IL_0040: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::CurrentUser - IL_0045: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildDotNetAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey) - IL_004a: ldarg.0 - IL_004b: ldloc.0 - IL_004c: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine - IL_0051: call instance void class NAnt.VSNet.Tasks.SolutionTask::BuildDotNetAssemblyFolders(class [System]System.Collections.Specialized.StringCollection, class [mscorlib]Microsoft.Win32.RegistryKey) - IL_0056: ldloc.0 - IL_0057: stloc.2 - IL_0058: br IL_005d + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.2 + IL_0005: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) + IL_000a: stloc.0 + IL_000b: nop + IL_000c: leave IL_0018 - IL_005d: ldloc.2 - IL_005e: ret - } // end of method SolutionTask::BuildAssemblyFolders + } // end .try 0 + catch class [mscorlib]System.IO.FileLoadException { // 0 + IL_0011: pop + IL_0012: nop + IL_0013: leave IL_008a - // method line 80 - .method private hidebysig - instance default void BuildVisualStudioAssemblyFolders (class [System]System.Collections.Specialized.StringCollection folderList, class [mscorlib]Microsoft.Win32.RegistryKey hive, string visualStudioVersion) cil managed - { - // Method begins at RVA 0x4d64 - // Code size 137 (0x89) - .maxstack 4 - .locals init ( - class [mscorlib]Microsoft.Win32.RegistryKey V_0, - string[] V_1, - string V_2, - string[] V_3, - int32 V_4, - class [mscorlib]Microsoft.Win32.RegistryKey V_5, - string V_6) - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldstr "SOFTWARE\\Microsoft\\VisualStudio\\" - IL_0007: ldarg.3 - IL_0008: ldstr "\\AssemblyFolders" - IL_000d: call string string::Concat(string, string, string) - IL_0012: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0017: stloc.0 + } // end handler 0 IL_0018: ldloc.0 - IL_0019: brtrue IL_0024 - - IL_001e: nop - IL_001f: br IL_0088 - - IL_0024: ldloc.0 - IL_0025: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() - IL_002a: stloc.1 - IL_002b: nop - IL_002c: ldloc.1 - IL_002d: stloc.3 - IL_002e: ldc.i4.0 - IL_002f: stloc.s 4 - IL_0031: br IL_007e + IL_0019: callvirt instance class [mscorlib]System.Reflection.AssemblyName[] class [mscorlib]System.Reflection.Assembly::GetReferencedAssemblies() + IL_001e: stloc.1 + IL_001f: nop + IL_0020: ldloc.1 + IL_0021: stloc.3 + IL_0022: ldc.i4.0 + IL_0023: stloc.s 4 + IL_0025: br IL_0080 - IL_0036: ldloc.3 - IL_0037: ldloc.s 4 - IL_0039: ldelem.ref - IL_003a: stloc.2 - IL_003b: nop - IL_003c: ldloc.0 - IL_003d: ldloc.2 - IL_003e: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0043: stloc.s 5 - IL_0045: ldloc.s 5 - IL_0047: ldsfld string [mscorlib]System.String::Empty - IL_004c: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_0051: isinst [mscorlib]System.String - IL_0056: stloc.s 6 - IL_0058: ldloc.s 6 - IL_005a: brfalse IL_0077 + IL_002a: ldloc.3 + IL_002b: ldloc.s 4 + IL_002d: ldelem.ref + IL_002e: stloc.2 + IL_002f: nop + IL_0030: ldarg.1 + IL_0031: ldloc.2 + IL_0032: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_0037: ldstr ".dll" + IL_003c: call string string::Concat(string, string) + IL_0041: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0046: stloc.s 5 + IL_0048: ldloc.s 5 + IL_004a: call bool class [mscorlib]System.IO.File::Exists(string) + IL_004f: brfalse IL_0079 - IL_005f: ldarg.1 - IL_0060: ldloc.s 6 - IL_0062: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_0067: brtrue IL_0077 + IL_0054: ldarg.3 + IL_0055: ldind.ref + IL_0056: ldloc.s 5 + IL_0058: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_005d: brtrue IL_0079 - IL_006c: nop - IL_006d: ldarg.1 - IL_006e: ldloc.s 6 - IL_0070: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0075: pop - IL_0076: nop - IL_0077: nop - IL_0078: ldloc.s 4 - IL_007a: ldc.i4.1 - IL_007b: add - IL_007c: stloc.s 4 - IL_007e: ldloc.s 4 - IL_0080: ldloc.3 - IL_0081: ldlen - IL_0082: conv.i4 - IL_0083: blt IL_0036 + IL_0062: nop + IL_0063: ldarg.3 + IL_0064: ldind.ref + IL_0065: ldloc.s 5 + IL_0067: ldnull + IL_0068: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_006d: ldarg.s 4 + IL_006f: ldind.ref + IL_0070: ldloc.s 5 + IL_0072: ldnull + IL_0073: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0078: nop + IL_0079: nop + IL_007a: ldloc.s 4 + IL_007c: ldc.i4.1 + IL_007d: add + IL_007e: stloc.s 4 + IL_0080: ldloc.s 4 + IL_0082: ldloc.3 + IL_0083: ldlen + IL_0084: conv.i4 + IL_0085: blt IL_002a - IL_0088: ret - } // end of method SolutionTask::BuildVisualStudioAssemblyFolders + IL_008a: ret + } // end of method ReferencesResolver::AppendReferencedModulesLocatedInGivenDirectory - // method line 81 - .method private hidebysig - instance default void BuildDotNetAssemblyFolders (class [System]System.Collections.Specialized.StringCollection folderList, class [mscorlib]Microsoft.Win32.RegistryKey hive) cil managed + // method line 85 + .method public hidebysig + instance default string GetAssemblyFileName (string assemblyName) cil managed { - // Method begins at RVA 0x4dfc - // Code size 126 (0x7e) - .maxstack 2 + // Method begins at RVA 0x4f74 + // Code size 32 (0x20) + .maxstack 1 .locals init ( - class [mscorlib]Microsoft.Win32.RegistryKey V_0, - string[] V_1, - string V_2, - string[] V_3, - int32 V_4, - class [mscorlib]Microsoft.Win32.RegistryKey V_5, - string V_6) + class [mscorlib]System.Reflection.Assembly V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldstr "SOFTWARE\\Microsoft\\.NETFramework\\AssemblyFolders" - IL_0007: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brtrue IL_0019 - - IL_0013: nop - IL_0014: br IL_007d - - IL_0019: ldloc.0 - IL_001a: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() - IL_001f: stloc.1 - IL_0020: nop - IL_0021: ldloc.1 - IL_0022: stloc.3 - IL_0023: ldc.i4.0 - IL_0024: stloc.s 4 - IL_0026: br IL_0073 - - IL_002b: ldloc.3 - IL_002c: ldloc.s 4 - IL_002e: ldelem.ref - IL_002f: stloc.2 - IL_0030: nop - IL_0031: ldloc.0 - IL_0032: ldloc.2 - IL_0033: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0038: stloc.s 5 - IL_003a: ldloc.s 5 - IL_003c: ldsfld string [mscorlib]System.String::Empty - IL_0041: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_0046: isinst [mscorlib]System.String - IL_004b: stloc.s 6 - IL_004d: ldloc.s 6 - IL_004f: brfalse IL_006c - - IL_0054: ldarg.1 - IL_0055: ldloc.s 6 - IL_0057: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_005c: brtrue IL_006c - - IL_0061: nop - IL_0062: ldarg.1 - IL_0063: ldloc.s 6 - IL_0065: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_006a: pop - IL_006b: nop - IL_006c: nop - IL_006d: ldloc.s 4 - IL_006f: ldc.i4.1 - IL_0070: add - IL_0071: stloc.s 4 - IL_0073: ldloc.s 4 - IL_0075: ldloc.3 - IL_0076: ldlen - IL_0077: conv.i4 - IL_0078: blt IL_002b - - IL_007d: ret - } // end of method SolutionTask::BuildDotNetAssemblyFolders - - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Projects () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 6A 65 63 74 73 01 00 54 02 08 // ...projects..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. - - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_Projects () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_Projects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ReferenceProjects () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 11 72 65 66 65 72 65 6E 63 65 70 72 6F 6A // ...referenceproj - 65 63 74 73 01 00 54 02 08 52 65 71 75 69 72 65 // ects..T..Require - 64 00 ) // d. - - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_ReferenceProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [mscorlib]System.IO.FileInfo SolutionFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 73 6F 6C 75 74 69 6F 6E 66 69 6C 65 01 // ...solutionfile. - 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_SolutionFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string Configuration () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 63 6F 6E 66 69 67 75 72 61 74 69 6F 6E // ...configuration - 01 00 54 02 08 52 65 71 75 69 72 65 64 01 ) // ..T..Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.VSNet.Tasks.SolutionTask::get_Configuration () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_Configuration (string 'value') - } - .property instance string Platform () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 6C 61 74 66 6F 72 6D 01 00 54 02 08 // ...platform..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 01 ) // y. - - .get instance default string NAnt.VSNet.Tasks.SolutionTask::get_Platform () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_Platform (string 'value') - } - .property instance class NAnt.VSNet.Configuration SolutionConfig () - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.Tasks.SolutionTask::get_SolutionConfig () - } - .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6F 75 74 70 75 74 64 69 72 01 00 54 02 // ...outputdir..T. - 08 52 65 71 75 69 72 65 64 00 ) // .Required. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.Tasks.SolutionTask::get_OutputDir () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.VSNet.Types.WebMapCollection WebMaps () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = (01 00 06 77 65 62 6D 61 70 03 6D 61 70 00 00 ) // ...webmap.map.. - - .get instance default class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.Tasks.SolutionTask::get_WebMaps () - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ExcludeProjects () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0F 65 78 63 6C 75 64 65 70 72 6F 6A 65 63 // ...excludeprojec - 74 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ts..T..Required. - - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_ExcludeProjects () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_ExcludeProjects (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet AssemblyFolders () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0F 61 73 73 65 6D 62 6C 79 66 6F 6C 64 65 // ...assemblyfolde - 72 73 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // rs..T..Required. - - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolders () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_AssemblyFolders (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance bool IncludeVSFolders () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 69 6E 63 6C 75 64 65 76 73 66 6F 6C 64 // ...includevsfold - 65 72 73 00 00 ) // ers.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.VSNet.Tasks.SolutionTask::get_IncludeVSFolders () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_IncludeVSFolders (bool 'value') - } - .property instance bool EnableWebDav () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 65 6E 61 62 6C 65 77 65 62 64 61 76 01 // ...enablewebdav. - 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::Load(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_CodeBase() + IL_000e: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0013: call instance string class [System]System.Uri::get_LocalPath() + IL_0018: stloc.1 + IL_0019: br IL_001e - .get instance default bool NAnt.VSNet.Tasks.SolutionTask::get_EnableWebDav () - .set instance default void NAnt.VSNet.Tasks.SolutionTask::set_EnableWebDav (bool 'value') - } - .property instance class [mscorlib]System.Collections.ArrayList CustomProperties () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 50 0B // ...property..TP. - 45 6C 65 6D 65 6E 74 54 79 70 65 5F 4E 41 6E 74 // ElementType_NAnt - 2E 43 6F 72 65 2E 54 61 73 6B 73 2E 50 72 6F 70 // .Core.Tasks.Prop - 65 72 74 79 54 61 73 6B 2C 20 4E 41 6E 74 2E 43 // ertyTask, NAnt.C - 6F 72 65 2C 20 56 65 72 73 69 6F 6E 3D 30 2E 39 // ore, Version=0.9 - 33 2E 31 2E 30 2C 20 43 75 6C 74 75 72 65 3D 6E // 3.1.0, Culture=n - 65 75 74 72 61 6C 2C 20 50 75 62 6C 69 63 4B 65 // eutral, PublicKe - 79 54 6F 6B 65 6E 3D 6E 75 6C 6C ) // yToken=null + IL_001e: ldloc.1 + IL_001f: ret + } // end of method ReferencesResolver::GetAssemblyFileName - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.Tasks.SolutionTask::get_CustomProperties () - } - .property instance class [System]System.Collections.Specialized.StringCollection AssemblyFolderList () - { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolderList () - } - .property instance class NAnt.VSNet.ProjectFactory ProjectFactory () - { - .get instance default class NAnt.VSNet.ProjectFactory NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory () - } - .property instance class NAnt.VSNet.SolutionFactory SolutionFactory () - { - .get instance default class NAnt.VSNet.SolutionFactory NAnt.VSNet.Tasks.SolutionTask::get_SolutionFactory () - } - } // end of class NAnt.VSNet.Tasks.SolutionTask + } // end of class NAnt.VSNet.ReferencesResolver } .namespace NAnt.VSNet { - .class public auto ansi abstract beforefieldinit ConfigurationBase - extends [mscorlib]System.Object + .class public auto ansi beforefieldinit ConfigurationSettings + extends NAnt.VSNet.ConfigurationBase { - .field private initonly class NAnt.VSNet.ProjectBase _project - .field private initonly class [System]System.Text.RegularExpressions.Regex _rxMacro - .field private class [mscorlib]System.Collections.Hashtable _extraOutputFiles - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map0' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - - - // method line 82 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectBase project) cil managed - { - // Method begins at RVA 0x4e86 - // Code size 60 (0x3c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldstr "\\$\\((\\w+)\\)" - IL_0006: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_000b: stfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.ConfigurationBase::_rxMacro - IL_0010: ldarg.0 - IL_0011: call instance void object::'.ctor'() - IL_0016: nop - IL_0017: ldarg.1 - IL_0018: brtrue IL_0029 - - IL_001d: nop - IL_001e: ldstr "project" - IL_0023: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: ldarg.1 - IL_002b: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ConfigurationBase::_project - IL_0030: ldarg.0 - IL_0031: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0036: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationBase::_extraOutputFiles - IL_003b: ret - } // end of method ConfigurationBase::.ctor + .field private initonly class [mscorlib]System.Collections.ArrayList _settings + .field private initonly string _relativeOutputDir + .field private initonly class [mscorlib]System.IO.DirectoryInfo _outputDir + .field private initonly string _name + .field private initonly bool _registerForComInterop - // method line 83 - .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Project () cil managed + // method line 86 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ManagedProjectBase project, class [System.Xml]System.Xml.XmlElement elemConfig, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x4ec4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x52cc + // Code size 1409 (0x581) + .maxstack 7 .locals init ( - class NAnt.VSNet.ProjectBase V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ConfigurationBase::_project - IL_0007: stloc.0 - IL_0008: br IL_000d + char V_0, + char V_1, + string V_2, + string V_3, + class [mscorlib]System.Collections.Hashtable V_4, + class [mscorlib]System.Collections.Hashtable V_5, + valuetype NAnt.VSNet.ProjectType V_6, + valuetype [mscorlib]System.Collections.DictionaryEntry V_7, + class [mscorlib]System.Collections.IDictionaryEnumerator V_8, + string V_9, + string V_10, + unsigned int32 V_11, + class [mscorlib]System.IDisposable V_12, + valuetype [mscorlib]System.Collections.DictionaryEntry V_13, + class [mscorlib]System.Collections.IDictionaryEnumerator V_14, + string V_15, + string V_16, + class [mscorlib]System.IDisposable V_17) + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.VSNet.ConfigurationBase::'.ctor'(class NAnt.VSNet.ProjectBase) + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_000e: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings + IL_0013: ldarg.3 + IL_0014: brtrue IL_009b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationBase::get_Project + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldarg.2 + IL_001c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0021: ldstr "OutputPath" + IL_0026: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_002b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0030: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_0035: ldarg.0 + IL_0036: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_003b: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0040: stloc.0 + IL_0041: ldloca.s 0 + IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0048: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_004d: callvirt instance bool string::EndsWith(string) + IL_0052: brtrue IL_0074 - // method line 84 - .method public virtual hidebysig newslot abstract specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x0 - } // end of method ConfigurationBase::get_Name + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: ldarg.0 + IL_005a: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_005f: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0064: box [mscorlib]System.Char + IL_0069: call string string::Concat(object, object) + IL_006e: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_0073: nop + IL_0074: ldarg.0 + IL_0075: ldarg.1 + IL_0076: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_007b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0080: ldarg.0 + IL_0081: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_0086: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_008b: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0090: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir + IL_0095: nop + IL_0096: br IL_00ef - // method line 85 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed - { - // Method begins at RVA 0x4ee0 - // Code size 41 (0x29) - .maxstack 2 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() - IL_000c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0011: ldarg.0 - IL_0012: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_001c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0021: stloc.0 - IL_0022: br IL_0027 + IL_009b: nop + IL_009c: ldarg.0 + IL_009d: ldarg.3 + IL_009e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00a3: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_00a8: ldarg.0 + IL_00a9: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_00ae: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00b3: stloc.1 + IL_00b4: ldloca.s 1 + IL_00b6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00bb: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_00c0: callvirt instance bool string::EndsWith(string) + IL_00c5: brtrue IL_00e7 - IL_0027: ldloc.0 - IL_0028: ret - } // end of method ConfigurationBase::get_ObjectDir + IL_00ca: nop + IL_00cb: ldarg.0 + IL_00cc: ldarg.0 + IL_00cd: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_00d2: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00d7: box [mscorlib]System.Char + IL_00dc: call string string::Concat(object, object) + IL_00e1: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_00e6: nop + IL_00e7: ldarg.0 + IL_00e8: ldarg.3 + IL_00e9: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir + IL_00ee: nop + IL_00ef: ldarg.0 + IL_00f0: ldarg.2 + IL_00f1: ldstr "Name" + IL_00f6: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_00fb: stfld string NAnt.VSNet.ConfigurationSettings::_name + IL_0100: ldarg.2 + IL_0101: ldstr "DocumentationFile" + IL_0106: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_010b: stloc.2 + IL_010c: ldloc.2 + IL_010d: call bool string::IsNullOrEmpty(string) + IL_0112: brtrue IL_0177 - // method line 86 - .method public virtual hidebysig newslot abstract specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed - { - // Method begins at RVA 0x0 - } // end of method ConfigurationBase::get_OutputDir + IL_0117: nop + IL_0118: ldarg.1 + IL_0119: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_011e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0123: ldloc.2 + IL_0124: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0129: stloc.3 + IL_012a: ldarg.0 + IL_012b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings + IL_0130: ldstr "/doc:\"" + IL_0135: ldloc.3 + IL_0136: ldstr "\"" + IL_013b: call string string::Concat(string, string, string) + IL_0140: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0145: pop + IL_0146: ldloc.3 + IL_0147: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_014c: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0151: brtrue IL_0164 - // method line 87 - .method public virtual hidebysig newslot abstract specialname - instance default string get_OutputPath () cil managed - { - // Method begins at RVA 0x0 - } // end of method ConfigurationBase::get_OutputPath + IL_0156: nop + IL_0157: ldloc.3 + IL_0158: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_015d: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0162: pop + IL_0163: nop + IL_0164: ldarg.0 + IL_0165: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles() + IL_016a: ldloc.3 + IL_016b: ldloc.3 + IL_016c: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0171: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0176: nop + IL_0177: ldarg.0 + IL_0178: ldarg.2 + IL_0179: ldstr "RegisterForComInterop" + IL_017e: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0183: ldstr "true" + IL_0188: ldc.i4.1 + IL_0189: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_018e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0193: ldc.i4.0 + IL_0194: ceq + IL_0196: stfld bool NAnt.VSNet.ConfigurationSettings::_registerForComInterop + IL_019b: ldarg.0 + IL_019c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_01a1: ldc.i4 1000 + IL_01a6: ldstr "Project: {0} Relative Output Path: {1} Output Path: {2} Documentation Path: {3}" + IL_01ab: ldc.i4.4 + IL_01ac: newarr [mscorlib]System.Object + IL_01b1: dup + IL_01b2: ldc.i4.0 + IL_01b3: ldarg.0 + IL_01b4: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_01b9: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_01be: stelem.ref + IL_01bf: dup + IL_01c0: ldc.i4.1 + IL_01c1: ldarg.0 + IL_01c2: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir + IL_01c7: stelem.ref + IL_01c8: dup + IL_01c9: ldc.i4.2 + IL_01ca: ldarg.0 + IL_01cb: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir + IL_01d0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01d5: stelem.ref + IL_01d6: dup + IL_01d7: ldc.i4.3 + IL_01d8: ldloc.2 + IL_01d9: stelem.ref + IL_01da: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01df: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_01e4: stloc.s 4 + IL_01e6: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_01eb: stloc.s 5 + IL_01ed: ldloc.s 4 + IL_01ef: ldstr "BaseAddress" + IL_01f4: ldstr "/baseaddress:{0}" + IL_01f9: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_01fe: ldloc.s 4 + IL_0200: ldstr "FileAlignment" + IL_0205: ldstr "/filealign:{0}" + IL_020a: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_020f: ldloc.s 4 + IL_0211: ldstr "DefineConstants" + IL_0216: ldstr "/define:{0}" + IL_021b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0220: ldarg.1 + IL_0221: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() + IL_0226: stloc.s 6 + IL_0228: ldloc.s 6 + IL_022a: ldc.i4.1 + IL_022b: beq IL_0244 - // method line 88 - .method public virtual hidebysig newslot abstract specialname - instance default string get_BuildPath () cil managed - { - // Method begins at RVA 0x0 - } // end of method ConfigurationBase::get_BuildPath + IL_0230: ldloc.s 6 + IL_0232: ldc.i4.3 + IL_0233: beq IL_029e - // method line 89 - .method public virtual hidebysig newslot abstract specialname - instance default string get_RelativeOutputDir () cil managed - { - // Method begins at RVA 0x0 - } // end of method ConfigurationBase::get_RelativeOutputDir + IL_0238: ldloc.s 6 + IL_023a: brfalse IL_02d6 - // method line 90 - .method public virtual hidebysig newslot abstract specialname + IL_023f: br IL_030e + + IL_0244: ldloc.s 4 + IL_0246: ldstr "WarningLevel" + IL_024b: ldstr "/warn:{0}" + IL_0250: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0255: ldloc.s 4 + IL_0257: ldstr "NoWarn" + IL_025c: ldstr "/nowarn:{0}" + IL_0261: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0266: ldloc.s 5 + IL_0268: ldstr "IncrementalBuild" + IL_026d: ldstr "/incremental" + IL_0272: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0277: ldloc.s 5 + IL_0279: ldstr "AllowUnsafeBlocks" + IL_027e: ldstr "/unsafe" + IL_0283: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0288: ldloc.s 5 + IL_028a: ldstr "CheckForOverflowUnderflow" + IL_028f: ldstr "/checked" + IL_0294: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0299: br IL_030e + + IL_029e: ldloc.s 4 + IL_02a0: ldstr "WarningLevel" + IL_02a5: ldstr "/warn:{0}" + IL_02aa: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_02af: ldloc.s 4 + IL_02b1: ldstr "NoWarn" + IL_02b6: ldstr "/nowarn:{0}" + IL_02bb: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_02c0: ldloc.s 5 + IL_02c2: ldstr "IncrementalBuild" + IL_02c7: ldstr "/incremental" + IL_02cc: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_02d1: br IL_030e + + IL_02d6: ldloc.s 4 + IL_02d8: ldstr "DefineDebug" + IL_02dd: ldstr "/d:DEBUG={0}" + IL_02e2: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_02e7: ldloc.s 4 + IL_02e9: ldstr "DefineTrace" + IL_02ee: ldstr "/d:TRACE={0}" + IL_02f3: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_02f8: ldloc.s 5 + IL_02fa: ldstr "RemoveIntegerChecks" + IL_02ff: ldstr "/removeintchecks" + IL_0304: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0309: br IL_030e + + IL_030e: ldloc.s 5 + IL_0310: ldstr "DebugSymbols" + IL_0315: ldstr "/debug" + IL_031a: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_031f: ldloc.s 5 + IL_0321: ldstr "TreatWarningsAsErrors" + IL_0326: ldstr "/warnaserror" + IL_032b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0330: ldloc.s 5 + IL_0332: ldstr "Optimize" + IL_0337: ldstr "/optimize" + IL_033c: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0341: nop + IL_0342: ldloc.s 4 + IL_0344: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0349: stloc.s 8 + .try { // 0 + IL_034b: br IL_042a + + IL_0350: ldloc.s 8 + IL_0352: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0357: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_035c: stloc.s 7 + IL_035e: nop + IL_035f: ldloca.s 7 + IL_0361: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0366: callvirt instance string object::ToString() + IL_036b: stloc.s 9 + IL_036d: ldarg.2 + IL_036e: ldloca.s 7 + IL_0370: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0375: callvirt instance string object::ToString() + IL_037a: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_037f: stloc.s 10 + IL_0381: ldloc.s 10 + IL_0383: call bool string::IsNullOrEmpty(string) + IL_0388: brtrue IL_0429 + + IL_038d: nop + IL_038e: ldloc.s 9 + IL_0390: brfalse IL_0404 + + IL_0395: ldloc.s 9 + IL_0397: ldstr "BaseAddress" + IL_039c: call bool string::op_Equality(string, string) + IL_03a1: brtrue IL_03bc + + IL_03a6: ldloc.s 9 + IL_03a8: ldstr "DefineConstants" + IL_03ad: call bool string::op_Equality(string, string) + IL_03b2: brtrue IL_03ec + + IL_03b7: br IL_0404 + + IL_03bc: ldloc.s 10 + IL_03be: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03c3: call unsigned int32 class [mscorlib]System.Convert::ToUInt32(string, class [mscorlib]System.IFormatProvider) + IL_03c8: stloc.s 11 + IL_03ca: ldstr "0x" + IL_03cf: ldloca.s 11 + IL_03d1: ldstr "x" + IL_03d6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03db: call instance string unsigned int32::ToString(string, class [mscorlib]System.IFormatProvider) + IL_03e0: call string string::Concat(string, string) + IL_03e5: stloc.s 10 + IL_03e7: leave IL_0404 + + IL_03ec: ldloc.s 10 + IL_03ee: ldstr " " + IL_03f3: ldsfld string [mscorlib]System.String::Empty + IL_03f8: callvirt instance string string::Replace(string, string) + IL_03fd: stloc.s 10 + IL_03ff: leave IL_0404 + + IL_0404: ldarg.0 + IL_0405: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings + IL_040a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_040f: ldloca.s 7 + IL_0411: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0416: callvirt instance string object::ToString() + IL_041b: ldloc.s 10 + IL_041d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0422: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0427: pop + IL_0428: nop + IL_0429: nop + IL_042a: ldloc.s 8 + IL_042c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0431: brtrue IL_0350 + + IL_0436: leave IL_0452 + + } // end .try 0 + finally { // 0 + IL_043b: ldloc.s 8 + IL_043d: isinst [mscorlib]System.IDisposable + IL_0442: dup + IL_0443: stloc.s 12 + IL_0445: brfalse IL_0451 + + IL_044a: ldloc.s 12 + IL_044c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0451: endfinally + } // end handler 0 + IL_0452: nop + IL_0453: ldloc.s 5 + IL_0455: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_045a: stloc.s 14 + .try { // 1 + IL_045c: br IL_0537 + + IL_0461: ldloc.s 14 + IL_0463: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0468: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_046d: stloc.s 13 + IL_046f: nop + IL_0470: ldloca.s 13 + IL_0472: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0477: callvirt instance string object::ToString() + IL_047c: stloc.s 15 + IL_047e: ldloc.s 15 + IL_0480: brfalse IL_04b1 + + IL_0485: ldloc.s 15 + IL_0487: ldstr "IncrementalBuild" + IL_048c: call bool string::op_Equality(string, string) + IL_0491: brtrue IL_049b + + IL_0496: br IL_04b1 + + IL_049b: ldarg.0 + IL_049c: call instance bool class NAnt.VSNet.ConfigurationSettings::get_IncrementalBuildSupported() + IL_04a1: brtrue IL_04ac + + IL_04a6: nop + IL_04a7: leave IL_0537 + + IL_04ac: leave IL_04b1 + + IL_04b1: ldarg.2 + IL_04b2: ldloc.s 15 + IL_04b4: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_04b9: stloc.s 16 + IL_04bb: ldloc.s 16 + IL_04bd: ldstr "true" + IL_04c2: ldc.i4.1 + IL_04c3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_04c8: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_04cd: brtrue IL_04fb + + IL_04d2: nop + IL_04d3: ldarg.0 + IL_04d4: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings + IL_04d9: ldloca.s 13 + IL_04db: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_04e0: callvirt instance string object::ToString() + IL_04e5: ldstr "+" + IL_04ea: call string string::Concat(string, string) + IL_04ef: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_04f4: pop + IL_04f5: nop + IL_04f6: br IL_0536 + + IL_04fb: ldloc.s 16 + IL_04fd: ldstr "false" + IL_0502: ldc.i4.1 + IL_0503: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0508: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_050d: brtrue IL_0536 + + IL_0512: nop + IL_0513: ldarg.0 + IL_0514: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings + IL_0519: ldloca.s 13 + IL_051b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0520: callvirt instance string object::ToString() + IL_0525: ldstr "-" + IL_052a: call string string::Concat(string, string) + IL_052f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0534: pop + IL_0535: nop + IL_0536: nop + IL_0537: ldloc.s 14 + IL_0539: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_053e: brtrue IL_0461 + + IL_0543: leave IL_055f + + } // end .try 1 + finally { // 1 + IL_0548: ldloc.s 14 + IL_054a: isinst [mscorlib]System.IDisposable + IL_054f: dup + IL_0550: stloc.s 17 + IL_0552: brfalse IL_055e + + IL_0557: ldloc.s 17 + IL_0559: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_055e: endfinally + } // end handler 1 + IL_055f: ldarg.0 + IL_0560: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings + IL_0565: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_056a: ldstr "/out:\"{0}\"" + IL_056f: ldarg.0 + IL_0570: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_0575: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_057a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_057f: pop + IL_0580: ret + } // end of method ConfigurationSettings::.ctor + + // method line 87 + .method public virtual hidebysig specialname instance default string get_PlatformName () cil managed { - // Method begins at RVA 0x0 - } // end of method ConfigurationBase::get_PlatformName + // Method begins at RVA 0x5878 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr ".NET" + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 91 - .method public hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_ExtraOutputFiles () cil managed + IL_000c: ldloc.0 + IL_000d: ret + } // end of method ConfigurationSettings::get_PlatformName + + // method line 88 + .method public virtual hidebysig specialname + instance default string get_RelativeOutputDir () cil managed { - // Method begins at RVA 0x4f18 + // Method begins at RVA 0x5894 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationBase::_extraOutputFiles + IL_0002: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConfigurationBase::get_ExtraOutputFiles + } // end of method ConfigurationSettings::get_RelativeOutputDir - // method line 92 - .method family hidebysig specialname - instance default class NAnt.VSNet.Tasks.SolutionTask get_SolutionTask () cil managed + // method line 89 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed { - // Method begins at RVA 0x4f34 - // Code size 20 (0x14) + // Method begins at RVA 0x58b0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.Tasks.SolutionTask V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0007: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationBase::get_SolutionTask + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationSettings::get_OutputDir - // method line 93 - .method public hidebysig - instance default string ExpandMacros (string s) cil managed + // method line 90 + .method public virtual hidebysig specialname + instance default string get_OutputPath () cil managed { - // Method begins at RVA 0x4f54 - // Code size 47 (0x2f) - .maxstack 4 + // Method begins at RVA 0x58cc + // Code size 46 (0x2e) + .maxstack 2 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_000f - - IL_0007: nop - IL_0008: ldarg.1 - IL_0009: stloc.0 - IL_000a: br IL_002d - - IL_000f: ldarg.0 - IL_0010: ldfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.ConfigurationBase::_rxMacro - IL_0015: ldarg.1 - IL_0016: ldarg.0 - IL_0017: ldftn instance string class NAnt.VSNet.ConfigurationBase::EvaluateMacro(class [System]System.Text.RegularExpressions.Match) - IL_001d: newobj instance void class [System]System.Text.RegularExpressions.MatchEvaluator::'.ctor'(object, native int) - IL_0022: callvirt instance string class [System]System.Text.RegularExpressions.Regex::Replace(string, class [System]System.Text.RegularExpressions.MatchEvaluator) - IL_0027: stloc.0 - IL_0028: br IL_002d + IL_0001: ldarg.0 + IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: ldarg.0 + IL_000d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0012: castclass NAnt.VSNet.ManagedProjectBase + IL_0017: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_001c: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() + IL_0021: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0026: stloc.0 + IL_0027: br IL_002c - IL_002d: ldloc.0 - IL_002e: ret - } // end of method ConfigurationBase::ExpandMacros + IL_002c: ldloc.0 + IL_002d: ret + } // end of method ConfigurationSettings::get_OutputPath - // method line 94 - .method famorassem virtual hidebysig newslot - instance default string ExpandMacro (string macro) cil managed + // method line 91 + .method public virtual hidebysig specialname + instance default string get_BuildPath () cil managed { - // Method begins at RVA 0x4f90 - // Code size 488 (0x1e8) - .maxstack 4 + // Method begins at RVA 0x5908 + // Code size 36 (0x24) + .maxstack 2 .locals init ( - string V_0, - class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, - int32 V_2, - string V_3, - char V_4, - char V_5, - string V_6) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_018a - - IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.ConfigurationBase::'<>f__switch$map0' - IL_0018: brtrue IL_008a - - IL_001d: ldc.i4.8 - IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) - IL_0023: stloc.1 - IL_0024: ldloc.1 - IL_0025: ldstr "outdir" - IL_002a: ldc.i4.0 - IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0030: ldloc.1 - IL_0031: ldstr "configurationname" - IL_0036: ldc.i4.1 - IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_003c: ldloc.1 - IL_003d: ldstr "targetname" - IL_0042: ldc.i4.2 - IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0048: ldloc.1 - IL_0049: ldstr "targetpath" - IL_004e: ldc.i4.3 - IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0054: ldloc.1 - IL_0055: ldstr "targetext" - IL_005a: ldc.i4.4 - IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0060: ldloc.1 - IL_0061: ldstr "targetfilename" - IL_0066: ldc.i4.5 - IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_006c: ldloc.1 - IL_006d: ldstr "targetdir" - IL_0072: ldc.i4.6 - IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0078: ldloc.1 - IL_0079: ldstr "platformname" - IL_007e: ldc.i4.7 - IL_007f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0084: ldloc.1 - IL_0085: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.ConfigurationBase::'<>f__switch$map0' - IL_008a: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.ConfigurationBase::'<>f__switch$map0' - IL_008f: ldloc.0 - IL_0090: ldloca.s 2 - IL_0092: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_0097: brfalse IL_018a - - IL_009c: ldloc.2 - IL_009d: switch ( - IL_00c7, - IL_00d3, - IL_00df, - IL_00f5, - IL_0101, - IL_0112, - IL_0123, - IL_017e) - IL_00c2: br IL_018a - - IL_00c7: ldarg.0 - IL_00c8: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() - IL_00cd: stloc.3 - IL_00ce: br IL_01e6 - - IL_00d3: ldarg.0 - IL_00d4: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_00d9: stloc.3 - IL_00da: br IL_01e6 - - IL_00df: ldarg.0 - IL_00e0: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_00e5: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_00ea: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_00ef: stloc.3 - IL_00f0: br IL_01e6 - - IL_00f5: ldarg.0 - IL_00f6: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_00fb: stloc.3 - IL_00fc: br IL_01e6 - - IL_0101: ldarg.0 - IL_0102: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_0107: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_010c: stloc.3 - IL_010d: br IL_01e6 - - IL_0112: ldarg.0 - IL_0113: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_0118: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_011d: stloc.3 - IL_011e: br IL_01e6 - - IL_0123: ldarg.0 - IL_0124: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0129: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_012e: ldarg.0 - IL_012f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0134: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0139: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_013e: stloc.s 4 - IL_0140: ldloca.s 4 - IL_0142: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0147: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_014c: callvirt instance bool string::EndsWith(string) - IL_0151: brfalse IL_0160 - - IL_0156: ldsfld string [mscorlib]System.String::Empty - IL_015b: br IL_0173 + IL_0001: ldarg.0 + IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: ldarg.0 + IL_000d: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_0012: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_001c: stloc.0 + IL_001d: br IL_0022 - IL_0160: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0165: stloc.s 5 - IL_0167: ldloca.s 5 - IL_0169: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_016e: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_0173: call string string::Concat(string, string) - IL_0178: stloc.3 - IL_0179: br IL_01e6 + IL_0022: ldloc.0 + IL_0023: ret + } // end of method ConfigurationSettings::get_BuildPath - IL_017e: ldarg.0 - IL_017f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_PlatformName() - IL_0184: stloc.3 - IL_0185: br IL_01e6 + // method line 92 + .method public hidebysig specialname + instance default string[] get_Settings () cil managed + { + // Method begins at RVA 0x5938 + // Code size 35 (0x23) + .maxstack 2 + .locals init ( + string[] V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings + IL_0007: ldtoken [mscorlib]System.String + IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0011: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_0016: castclass string[] + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_018a: ldarg.0 - IL_018b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0190: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0195: ldarg.1 - IL_0196: callvirt instance string class NAnt.VSNet.Tasks.SolutionTask::ExpandMacro(string) - IL_019b: stloc.s 6 - IL_019d: ldloc.s 6 - IL_019f: brfalse IL_01ad + IL_0021: ldloc.0 + IL_0022: ret + } // end of method ConfigurationSettings::get_Settings - IL_01a4: nop - IL_01a5: ldloc.s 6 - IL_01a7: stloc.3 - IL_01a8: br IL_01e6 + // method line 93 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x5968 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ConfigurationSettings::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01ad: ldarg.0 - IL_01ae: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_01b3: ldarg.1 - IL_01b4: callvirt instance string class NAnt.VSNet.ProjectBase::ExpandMacro(string) - IL_01b9: stloc.s 6 - IL_01bb: ldloc.s 6 - IL_01bd: brfalse IL_01cb + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationSettings::get_Name - IL_01c2: nop - IL_01c3: ldloc.s 6 - IL_01c5: stloc.3 - IL_01c6: br IL_01e6 + // method line 94 + .method public hidebysig specialname + instance default bool get_RegisterForComInterop () cil managed + { + // Method begins at RVA 0x5984 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.ConfigurationSettings::_registerForComInterop + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01cb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01d0: ldstr "Macro \"{0}\" is not supported." - IL_01d5: ldarg.1 - IL_01d6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01db: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_01e0: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_01e5: throw - IL_01e6: ldloc.3 - IL_01e7: ret - } // end of method ConfigurationBase::ExpandMacro + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationSettings::get_RegisterForComInterop // method line 95 - .method private hidebysig - instance default string EvaluateMacro (class [System]System.Text.RegularExpressions.Match m) cil managed + .method private hidebysig specialname + instance default bool get_IncrementalBuildSupported () cil managed { - // Method begins at RVA 0x5184 - // Code size 32 (0x20) + // Method begins at RVA 0x59a0 + // Code size 68 (0x44) .maxstack 3 .locals init ( - string V_0) + class [NAnt.Core]NAnt.Core.FrameworkInfo V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0008: ldc.i4.1 - IL_0009: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_000e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0013: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacro(string) - IL_0018: stloc.0 - IL_0019: br IL_001e + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Family() + IL_0018: ldstr "net" + IL_001d: call bool string::op_Equality(string, string) + IL_0022: brfalse IL_003b - IL_001e: ldloc.0 - IL_001f: ret - } // end of method ConfigurationBase::EvaluateMacro + IL_0027: ldloc.0 + IL_0028: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Version() + IL_002d: ldc.i4.2 + IL_002e: ldc.i4.0 + IL_002f: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) + IL_0034: call bool class [mscorlib]System.Version::op_LessThanOrEqual(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_0039: br.s IL_003c - .property instance class NAnt.VSNet.ProjectBase Project () - { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ConfigurationBase::get_Project () - } - .property instance string Name () + IL_003b: ldc.i4.0 + IL_003c: stloc.1 + IL_003d: br IL_0042 + + IL_0042: ldloc.1 + IL_0043: ret + } // end of method ConfigurationSettings::get_IncrementalBuildSupported + + .property instance string PlatformName () { - .get instance default string NAnt.VSNet.ConfigurationBase::get_Name () + .get instance default string NAnt.VSNet.ConfigurationSettings::get_PlatformName () } - .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () + .property instance string RelativeOutputDir () { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationBase::get_ObjectDir () + .get instance default string NAnt.VSNet.ConfigurationSettings::get_RelativeOutputDir () } .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationBase::get_OutputDir () + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::get_OutputDir () } .property instance string OutputPath () { - .get instance default string NAnt.VSNet.ConfigurationBase::get_OutputPath () + .get instance default string NAnt.VSNet.ConfigurationSettings::get_OutputPath () } .property instance string BuildPath () { - .get instance default string NAnt.VSNet.ConfigurationBase::get_BuildPath () + .get instance default string NAnt.VSNet.ConfigurationSettings::get_BuildPath () } - .property instance string RelativeOutputDir () + .property instance string[] Settings () { - .get instance default string NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir () + .get instance default string[] NAnt.VSNet.ConfigurationSettings::get_Settings () } - .property instance string PlatformName () + .property instance string Name () { - .get instance default string NAnt.VSNet.ConfigurationBase::get_PlatformName () + .get instance default string NAnt.VSNet.ConfigurationSettings::get_Name () } - .property instance class [mscorlib]System.Collections.Hashtable ExtraOutputFiles () + .property instance bool RegisterForComInterop () { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles () + .get instance default bool NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop () } - .property instance class NAnt.VSNet.Tasks.SolutionTask SolutionTask () + .property instance bool IncrementalBuildSupported () { - .get instance default class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ConfigurationBase::get_SolutionTask () + .get instance default bool NAnt.VSNet.ConfigurationSettings::get_IncrementalBuildSupported () } - } // end of class NAnt.VSNet.ConfigurationBase + } // end of class NAnt.VSNet.ConfigurationSettings } .namespace NAnt.VSNet { - .class public auto ansi beforefieldinit ManagedProjectReference - extends NAnt.VSNet.ProjectReferenceBase - { - .field private initonly class NAnt.VSNet.ProjectBase _project - .field private initonly bool _isPrivateSpecified - .field private initonly bool _isPrivate - - // method line 96 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class NAnt.VSNet.SolutionBase solution, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0x55b0 - // Code size 174 (0xae) - .maxstack 7 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1) - IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) - IL_0008: nop - IL_0009: ldarg.1 - IL_000a: brtrue IL_001b - - IL_000f: nop - IL_0010: ldstr "xmlDefinition" - IL_0015: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001a: throw - IL_001b: ldarg.s 4 - IL_001d: brtrue IL_002e - - IL_0022: nop - IL_0023: ldstr "solution" - IL_0028: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002d: throw - IL_002e: ldarg.s 5 - IL_0030: brtrue IL_0041 - - IL_0035: nop - IL_0036: ldstr "tfc" - IL_003b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0040: throw - IL_0041: ldarg.s 6 - IL_0043: brtrue IL_0054 - - IL_0048: nop - IL_0049: ldstr "gacCache" - IL_004e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0053: throw - IL_0054: ldarg.1 - IL_0055: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_005a: ldstr "Private" - IL_005f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0064: stloc.0 - IL_0065: ldloc.0 - IL_0066: brfalse IL_0085 + .class public auto ansi sealed beforefieldinit ConfigurationDictionary + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IDictionary, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_006b: nop - IL_006c: ldarg.0 - IL_006d: ldc.i4.1 - IL_006e: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivateSpecified - IL_0073: ldarg.0 - IL_0074: ldloc.0 - IL_0075: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_007a: call bool bool::Parse(string) - IL_007f: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivate - IL_0084: nop - IL_0085: ldarg.s 4 - IL_0087: ldarg.1 - IL_0088: ldstr "Project" - IL_008d: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0092: callvirt instance string class NAnt.VSNet.SolutionBase::GetProjectFileFromGuid(string) - IL_0097: stloc.1 - IL_0098: ldarg.0 - IL_0099: ldarg.0 - IL_009a: ldarg.s 4 - IL_009c: ldarg.s 5 - IL_009e: ldarg.s 6 - IL_00a0: ldarg.s 7 - IL_00a2: ldloc.1 - IL_00a3: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::LoadProject(class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo, string) - IL_00a8: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::_project - IL_00ad: ret - } // end of method ManagedProjectReference::.ctor + .field private initonly class [mscorlib]System.Collections.Hashtable _innerHash - // method line 97 + // method line 96 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectBase project, class NAnt.VSNet.ProjectBase parent, bool isPrivateSpecified, bool isPrivate) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x566a - // Code size 37 (0x25) + // Method begins at RVA 0x59f0 + // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: callvirt instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_0007: ldarg.2 - IL_0008: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::_project - IL_0015: ldarg.0 - IL_0016: ldarg.3 - IL_0017: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivateSpecified - IL_001c: ldarg.0 - IL_001d: ldarg.s 4 - IL_001f: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivate - IL_0024: ret - } // end of method ManagedProjectReference::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0012: ret + } // end of method ConfigurationDictionary::.ctor - // method line 98 - .method public virtual hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Project () cil managed + // method line 97 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed { - // Method begins at RVA 0x5690 + // Method begins at RVA 0x5a04 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectBase V_0) + class [mscorlib]System.Collections.Hashtable V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::_project + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedProjectReference::get_Project + } // end of method ConfigurationDictionary::get_InnerHash - // method line 99 - .method family virtual hidebysig specialname - instance default bool get_IsPrivate () cil managed + // method line 98 + .method public hidebysig + instance default class NAnt.VSNet.ConfigurationDictionaryEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x56ac + // Method begins at RVA 0x5a20 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.VSNet.ConfigurationDictionaryEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.ManagedProjectReference::_isPrivate + IL_0002: newobj instance void class NAnt.VSNet.ConfigurationDictionaryEnumerator::'.ctor'(class NAnt.VSNet.ConfigurationDictionary) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedProjectReference::get_IsPrivate + } // end of method ConfigurationDictionary::GetEnumerator - // method line 100 - .method family virtual hidebysig specialname - instance default bool get_IsPrivateSpecified () cil managed + // method line 99 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed { - // Method begins at RVA 0x56c8 + // Method begins at RVA 0x5a3c + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::GetEnumerator due to (null) // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Collections.IDictionaryEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.ManagedProjectReference::_isPrivateSpecified + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionaryEnumerator class NAnt.VSNet.ConfigurationDictionary::GetEnumerator() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedProjectReference::get_IsPrivateSpecified + } // end of method ConfigurationDictionary::System.Collections.IDictionary.GetEnumerator - // method line 101 - .method public virtual hidebysig - instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 100 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0x56e4 - // Code size 10 (0xa) + // Method begins at RVA 0x5a58 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Collections.IEnumerator V_0) IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ManagedProjectReference::IsManaged + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionaryEnumerator class NAnt.VSNet.ConfigurationDictionary::GetEnumerator() + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance class NAnt.VSNet.ProjectBase Project () - { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::get_Project () - } - .property instance bool IsPrivate () - { - .get instance default bool NAnt.VSNet.ManagedProjectReference::get_IsPrivate () - } - .property instance bool IsPrivateSpecified () - { - .get instance default bool NAnt.VSNet.ManagedProjectReference::get_IsPrivateSpecified () - } - } // end of class NAnt.VSNet.ManagedProjectReference -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationDictionary::System.Collections.IEnumerable.GetEnumerator -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit VcProjectConfiguration - extends NAnt.VSNet.VcConfigurationBase - { - .field private initonly string _rawRelativeOutputDir - .field private initonly string _rawIntermediateDir - .field private initonly string _rawReferencesPath - .field private initonly valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType _type - .field private initonly bool _wholeProgramOptimization - .field private initonly bool _managedExtensions - .field private initonly valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet _characterSet - .field private initonly valuetype NAnt.VSNet.Types.UseOfMFC _useOfMFC - .field private initonly valuetype NAnt.VSNet.Types.UseOfATL _useOfATL - .field private initonly class NAnt.VSNet.VcProjectConfiguration/LinkerConfig _linkerConfiguration - .field private bool _initialized - .field private string _outputPath - .field private initonly class [mscorlib]System.Collections.ArrayList _objFiles - .field private initonly class [mscorlib]System.Collections.Hashtable _sourceConfigs - .field private initonly class [mscorlib]System.Collections.Hashtable _rcConfigs - .field private initonly class [mscorlib]System.Collections.Hashtable _idlConfigs + // method line 101 + .method public hidebysig + instance default void Remove (class NAnt.VSNet.Configuration configuration) cil managed + { + // Method begins at RVA 0x5a73 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_000d: ret + } // end of method ConfigurationDictionary::Remove // method line 102 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement elem, class NAnt.VSNet.VcProject parentProject, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Remove (object key) cil managed { - // Method begins at RVA 0x5cac - // Code size 647 (0x287) - .maxstack 5 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - class [System.Xml]System.Xml.XmlAttribute V_1, - class [System.Xml]System.Xml.XmlAttribute V_2, - string V_3, - string V_4, - string V_5, - string V_6, - string V_7, - string V_8, - string V_9) - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::_characterSet - IL_0007: ldarg.0 - IL_0008: ldc.i4.0 - IL_0009: stfld valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::_useOfMFC - IL_000e: ldarg.0 - IL_000f: ldc.i4.0 - IL_0010: stfld valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::_useOfATL - IL_0015: ldarg.0 - IL_0016: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_001b: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_0020: ldarg.0 - IL_0021: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0026: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs - IL_002b: ldarg.0 - IL_002c: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0031: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs - IL_0036: ldarg.0 - IL_0037: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_003c: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs - IL_0041: ldarg.0 - IL_0042: ldarg.1 - IL_0043: ldarg.2 - IL_0044: ldarg.3 - IL_0045: call instance void class NAnt.VSNet.VcConfigurationBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ProjectBase, class [mscorlib]System.IO.DirectoryInfo) - IL_004a: nop - IL_004b: ldarg.1 - IL_004c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0051: ldstr "OutputDirectory" - IL_0056: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_005b: stloc.0 - IL_005c: ldloc.0 - IL_005d: brfalse IL_0070 - - IL_0062: nop - IL_0063: ldarg.0 - IL_0064: ldloc.0 - IL_0065: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_006a: stfld string NAnt.VSNet.VcProjectConfiguration::_rawRelativeOutputDir - IL_006f: nop - IL_0070: ldarg.1 - IL_0071: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0076: ldstr "IntermediateDirectory" - IL_007b: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0080: stloc.1 - IL_0081: ldloc.1 - IL_0082: brfalse IL_0095 - - IL_0087: nop - IL_0088: ldarg.0 - IL_0089: ldloc.1 - IL_008a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_008f: stfld string NAnt.VSNet.VcProjectConfiguration::_rawIntermediateDir - IL_0094: nop - IL_0095: ldarg.1 - IL_0096: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_009b: ldstr "ReferencesPath" - IL_00a0: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_00a5: stloc.2 - IL_00a6: ldloc.2 - IL_00a7: brfalse IL_00bf - - IL_00ac: nop - IL_00ad: ldarg.0 - IL_00ae: ldloc.2 - IL_00af: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00b4: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_00b9: stfld string NAnt.VSNet.VcProjectConfiguration::_rawReferencesPath - IL_00be: nop - IL_00bf: ldarg.1 - IL_00c0: ldstr "ManagedExtensions" - IL_00c5: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_00ca: stloc.3 - IL_00cb: ldloc.3 - IL_00cc: brfalse IL_0154 - - IL_00d1: nop - IL_00d2: ldloc.3 - IL_00d3: callvirt instance string string::ToLower() - IL_00d8: stloc.s 4 - IL_00da: ldloc.s 4 - IL_00dc: brfalse IL_0142 - - IL_00e1: ldloc.s 4 - IL_00e3: ldstr "false" - IL_00e8: call bool string::op_Equality(string, string) - IL_00ed: brtrue IL_012a - - IL_00f2: ldloc.s 4 - IL_00f4: ldstr "0" - IL_00f9: call bool string::op_Equality(string, string) - IL_00fe: brtrue IL_012a - - IL_0103: ldloc.s 4 - IL_0105: ldstr "true" - IL_010a: call bool string::op_Equality(string, string) - IL_010f: brtrue IL_0136 - - IL_0114: ldloc.s 4 - IL_0116: ldstr "1" - IL_011b: call bool string::op_Equality(string, string) - IL_0120: brtrue IL_0136 - - IL_0125: br IL_0142 - - IL_012a: ldarg.0 - IL_012b: ldc.i4.0 - IL_012c: stfld bool NAnt.VSNet.VcProjectConfiguration::_managedExtensions - IL_0131: br IL_0153 - - IL_0136: ldarg.0 - IL_0137: ldc.i4.1 - IL_0138: stfld bool NAnt.VSNet.VcProjectConfiguration::_managedExtensions - IL_013d: br IL_0153 - - IL_0142: ldstr "ManagedExtensions '{0}' is not supported yet." - IL_0147: ldloc.3 - IL_0148: call string string::Format(string, object) - IL_014d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0152: throw - IL_0153: nop - IL_0154: ldarg.1 - IL_0155: ldstr "ConfigurationType" - IL_015a: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_015f: stloc.s 5 - IL_0161: ldloc.s 5 - IL_0163: brfalse IL_0190 - - IL_0168: nop - IL_0169: ldarg.0 - IL_016a: ldtoken NAnt.VSNet.VcProjectConfiguration/ConfigurationType - IL_016f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0174: ldloc.s 5 - IL_0176: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_017b: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_0180: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) - IL_0185: unbox.any NAnt.VSNet.VcProjectConfiguration/ConfigurationType - IL_018a: stfld valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType NAnt.VSNet.VcProjectConfiguration::_type - IL_018f: nop - IL_0190: ldarg.1 - IL_0191: ldstr "WholeProgramOptimization" - IL_0196: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_019b: stloc.s 6 - IL_019d: ldloc.s 6 - IL_019f: brfalse IL_01c6 - - IL_01a4: nop - IL_01a5: ldarg.0 - IL_01a6: ldloc.s 6 - IL_01a8: callvirt instance string string::Trim() - IL_01ad: ldstr "true" - IL_01b2: ldc.i4.1 - IL_01b3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01b8: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_01bd: ldc.i4.0 - IL_01be: ceq - IL_01c0: stfld bool NAnt.VSNet.VcProjectConfiguration::_wholeProgramOptimization - IL_01c5: nop - IL_01c6: ldarg.1 - IL_01c7: ldstr "CharacterSet" - IL_01cc: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_01d1: stloc.s 7 - IL_01d3: ldloc.s 7 - IL_01d5: brfalse IL_0202 - - IL_01da: nop - IL_01db: ldarg.0 - IL_01dc: ldtoken [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet - IL_01e1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01e6: ldloc.s 7 - IL_01e8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01ed: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_01f2: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) - IL_01f7: unbox.any [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet - IL_01fc: stfld valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::_characterSet - IL_0201: nop - IL_0202: ldarg.1 - IL_0203: ldstr "UseOfMFC" - IL_0208: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_020d: stloc.s 8 - IL_020f: ldloc.s 8 - IL_0211: brfalse IL_023e - - IL_0216: nop - IL_0217: ldarg.0 - IL_0218: ldtoken NAnt.VSNet.Types.UseOfMFC - IL_021d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0222: ldloc.s 8 - IL_0224: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0229: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_022e: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) - IL_0233: unbox.any NAnt.VSNet.Types.UseOfMFC - IL_0238: stfld valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::_useOfMFC - IL_023d: nop - IL_023e: ldarg.1 - IL_023f: ldstr "UseOfATL" - IL_0244: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) - IL_0249: stloc.s 9 - IL_024b: ldloc.s 9 - IL_024d: brfalse IL_027a - - IL_0252: nop - IL_0253: ldarg.0 - IL_0254: ldtoken NAnt.VSNet.Types.UseOfATL - IL_0259: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_025e: ldloc.s 9 - IL_0260: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0265: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_026a: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) - IL_026f: unbox.any NAnt.VSNet.Types.UseOfATL - IL_0274: stfld valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::_useOfATL - IL_0279: nop - IL_027a: ldarg.0 - IL_027b: ldarg.0 - IL_027c: newobj instance void class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::'.ctor'(class NAnt.VSNet.VcProjectConfiguration) - IL_0281: stfld class NAnt.VSNet.VcProjectConfiguration/LinkerConfig NAnt.VSNet.VcProjectConfiguration::_linkerConfiguration - IL_0286: ret - } // end of method VcProjectConfiguration::.ctor + // Method begins at RVA 0x5a82 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Remove due to (null) + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: call instance void class NAnt.VSNet.ConfigurationDictionary::Remove(class NAnt.VSNet.Configuration) + IL_000d: ret + } // end of method ConfigurationDictionary::System.Collections.IDictionary.Remove // method line 103 - .method public hidebysig specialname - instance default valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType get_Type () cil managed + .method public hidebysig + instance default bool Contains (class NAnt.VSNet.Configuration key) cil managed { - // Method begins at RVA 0x5f40 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5a94 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType NAnt.VSNet.VcProjectConfiguration::_type - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_Type + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ConfigurationDictionary::Contains // method line 104 - .method public hidebysig specialname - instance default bool get_WholeProgramOptimization () cil managed + .method private final virtual hidebysig newslot + instance default bool System.Collections.IDictionary.Contains (object key) cil managed { - // Method begins at RVA 0x5f5c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5ab8 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Contains due to (null) + // Code size 21 (0x15) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_wholeProgramOptimization - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: call instance bool class NAnt.VSNet.ConfigurationDictionary::Contains(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_WholeProgramOptimization + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ConfigurationDictionary::System.Collections.IDictionary.Contains // method line 105 - .method public hidebysig specialname - instance default valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet get_CharacterSet () cil managed + .method public final virtual hidebysig newslot + instance default void Clear () cil managed { - // Method begins at RVA 0x5f78 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet V_0) + // Method begins at RVA 0x5ad9 + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::_characterSet - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_CharacterSet + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() + IL_000c: ret + } // end of method ConfigurationDictionary::Clear // method line 106 - .method public hidebysig specialname - instance default bool get_ManagedExtensions () cil managed + .method public hidebysig + instance default void Add (class NAnt.VSNet.Configuration key, class NAnt.VSNet.ConfigurationBase 'value') cil managed { - // Method begins at RVA 0x5f94 + // Method begins at RVA 0x5ae7 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_managedExtensions - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) IL_000e: ret - } // end of method VcProjectConfiguration::get_ManagedExtensions + } // end of method ConfigurationDictionary::Add // method line 107 - .method public hidebysig specialname - instance default valuetype NAnt.VSNet.Types.UseOfMFC get_UseOfMFC () cil managed + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed { - // Method begins at RVA 0x5fb0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.Types.UseOfMFC V_0) + // Method begins at RVA 0x5af7 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Add due to (null) + // Code size 20 (0x14) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::_useOfMFC - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_UseOfMFC + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: ldarg.2 + IL_0009: castclass NAnt.VSNet.ConfigurationBase + IL_000e: call instance void class NAnt.VSNet.ConfigurationDictionary::Add(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) + IL_0013: ret + } // end of method ConfigurationDictionary::System.Collections.IDictionary.Add // method line 108 - .method public hidebysig specialname - instance default valuetype NAnt.VSNet.Types.UseOfATL get_UseOfATL () cil managed + .method public final virtual hidebysig newslot specialname + instance default bool get_IsReadOnly () cil managed { - // Method begins at RVA 0x5fcc - // Code size 15 (0xf) + // Method begins at RVA 0x5b0c + // Code size 20 (0x14) .maxstack 1 .locals init ( - valuetype NAnt.VSNet.Types.UseOfATL V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::_useOfATL - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsReadOnly() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_UseOfATL + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionary::get_IsReadOnly // method line 109 - .method assembly hidebysig specialname - instance default string get_RawRelativeOutputDir () cil managed + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationBase get_Item (class NAnt.VSNet.Configuration key) cil managed { - // Method begins at RVA 0x5fe8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5b2c + // Code size 168 (0xa8) + .maxstack 4 .locals init ( - string V_0) + class NAnt.VSNet.ConfigurationBase V_0, + valuetype [mscorlib]System.Collections.DictionaryEntry V_1, + class [mscorlib]System.Collections.IDictionaryEnumerator V_2, + class NAnt.VSNet.Configuration V_3, + class [mscorlib]System.IDisposable V_4, + class NAnt.VSNet.ConfigurationBase V_5) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcProjectConfiguration::_rawRelativeOutputDir - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000d: castclass NAnt.VSNet.ConfigurationBase + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: brtrue IL_009d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_RawRelativeOutputDir + IL_0019: nop + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0021: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0026: stloc.2 + .try { // 0 + IL_0027: br IL_0076 - // method line 110 - .method assembly hidebysig specialname - instance default string get_RawIntermediateDir () cil managed - { - // Method begins at RVA 0x6004 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + IL_002c: ldloc.2 + IL_002d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0032: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0037: stloc.1 + IL_0038: nop + IL_0039: ldloca.s 1 + IL_003b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0040: castclass NAnt.VSNet.Configuration + IL_0045: stloc.3 + IL_0046: ldloc.3 + IL_0047: callvirt instance string class NAnt.VSNet.Configuration::get_Name() + IL_004c: ldarg.1 + IL_004d: callvirt instance string class NAnt.VSNet.Configuration::get_Name() + IL_0052: ldc.i4.1 + IL_0053: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0058: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_005d: brtrue IL_0075 + + IL_0062: nop + IL_0063: ldloca.s 1 + IL_0065: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_006a: castclass NAnt.VSNet.ConfigurationBase + IL_006f: stloc.0 + IL_0070: leave IL_0081 + + IL_0075: nop + IL_0076: ldloc.2 + IL_0077: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_007c: brtrue IL_002c + + IL_0081: leave IL_009c + + } // end .try 0 + finally { // 0 + IL_0086: ldloc.2 + IL_0087: isinst [mscorlib]System.IDisposable + IL_008c: dup + IL_008d: stloc.s 4 + IL_008f: brfalse IL_009b + + IL_0094: ldloc.s 4 + IL_0096: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009b: endfinally + } // end handler 0 + IL_009c: nop + IL_009d: ldloc.0 + IL_009e: stloc.s 5 + IL_00a0: br IL_00a5 + + IL_00a5: ldloc.s 5 + IL_00a7: ret + } // end of method ConfigurationDictionary::get_Item + + // method line 110 + .method public hidebysig specialname + instance default void set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.ConfigurationBase 'value') cil managed + { + // Method begins at RVA 0x5bf0 + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcProjectConfiguration::_rawIntermediateDir - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) IL_000e: ret - } // end of method VcProjectConfiguration::get_RawIntermediateDir + } // end of method ConfigurationDictionary::set_Item // method line 111 - .method assembly hidebysig specialname - instance default string get_RawReferencesPath () cil managed + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionary.get_Item (object key) cil managed { - // Method begins at RVA 0x6020 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5c00 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::get_Item due to (null) + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcProjectConfiguration::_rawReferencesPath - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_RawReferencesPath + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ConfigurationDictionary::System.Collections.IDictionary.get_Item // method line 112 - .method assembly hidebysig specialname - instance default class NAnt.VSNet.VcProjectConfiguration/LinkerConfig get_LinkerConfiguration () cil managed + .method private final virtual hidebysig newslot specialname + instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed { - // Method begins at RVA 0x603c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.VcProjectConfiguration/LinkerConfig V_0) + // Method begins at RVA 0x5c21 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::set_Item due to (null) + // Code size 20 (0x14) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.VcProjectConfiguration/LinkerConfig NAnt.VSNet.VcProjectConfiguration::_linkerConfiguration - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectConfiguration::get_LinkerConfiguration + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: ldarg.2 + IL_0009: castclass NAnt.VSNet.ConfigurationBase + IL_000e: call instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) + IL_0013: ret + } // end of method ConfigurationDictionary::System.Collections.IDictionary.set_Item // method line 113 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_ObjFiles () cil managed + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed { - // Method begins at RVA 0x6058 - // Code size 34 (0x22) + // Method begins at RVA 0x5c38 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + class [mscorlib]System.Collections.ICollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_001a: stloc.0 - IL_001b: br IL_0020 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0020: ldloc.0 - IL_0021: ret - } // end of method VcProjectConfiguration::get_ObjFiles + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionary::get_Values // method line 114 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_SourceConfigs () cil managed + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed { - // Method begins at RVA 0x6088 - // Code size 34 (0x22) + // Method begins at RVA 0x5c58 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + class [mscorlib]System.Collections.ICollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs - IL_001a: stloc.0 - IL_001b: br IL_0020 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0020: ldloc.0 - IL_0021: ret - } // end of method VcProjectConfiguration::get_SourceConfigs + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionary::get_Keys // method line 115 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_RcConfigs () cil managed + .method public final virtual hidebysig newslot specialname + instance default bool get_IsFixedSize () cil managed { - // Method begins at RVA 0x60b8 - // Code size 34 (0x22) + // Method begins at RVA 0x5c78 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs - IL_001a: stloc.0 - IL_001b: br IL_0020 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0020: ldloc.0 - IL_0021: ret - } // end of method VcProjectConfiguration::get_RcConfigs + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionary::get_IsFixedSize // method line 116 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_IdlConfigs () cil managed + .method private final virtual hidebysig newslot + instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed { - // Method begins at RVA 0x60e8 - // Code size 34 (0x22) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + // Method begins at RVA 0x5c98 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs - IL_001a: stloc.0 - IL_001b: br IL_0020 - - IL_0020: ldloc.0 - IL_0021: ret - } // end of method VcProjectConfiguration::get_IdlConfigs + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method ConfigurationDictionary::System.Collections.ICollection.CopyTo // method line 117 - .method private hidebysig specialname - instance default string get_TargetPath () cil managed + .method public final virtual hidebysig newslot specialname + instance default bool get_IsSynchronized () cil managed { - // Method begins at RVA 0x6118 - // Code size 344 (0x158) - .maxstack 3 + // Method begins at RVA 0x5ca8 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0, - valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_1, - string V_2, - string V_3, - string V_4, - string V_5, - string V_6) + bool V_0) IL_0000: nop - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: call instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_000d: stloc.1 - IL_000e: ldloc.1 - IL_000f: switch ( - IL_010b, - IL_0035, - IL_007b, - IL_0028, - IL_00c1) - IL_0028: ldloc.1 - IL_0029: ldc.i4.s 0x0a - IL_002b: beq IL_0148 - - IL_0030: br IL_014d - - IL_0035: ldarg.0 - IL_0036: ldstr "VCLinkerTool" - IL_003b: ldstr "OutputFile" - IL_0040: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0045: stloc.2 - IL_0046: ldloc.2 - IL_0047: call bool string::IsNullOrEmpty(string) - IL_004c: brfalse IL_005f - - IL_0051: nop - IL_0052: ldarg.0 - IL_0053: ldstr "$(OutDir)/$(ProjectName).exe" - IL_0058: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_005d: stloc.2 - IL_005e: nop - IL_005f: ldarg.0 - IL_0060: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0065: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_006a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_006f: ldloc.2 - IL_0070: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0075: stloc.0 - IL_0076: br IL_014d - - IL_007b: ldarg.0 - IL_007c: ldstr "VCLinkerTool" - IL_0081: ldstr "OutputFile" - IL_0086: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_008b: stloc.3 - IL_008c: ldloc.3 - IL_008d: call bool string::IsNullOrEmpty(string) - IL_0092: brfalse IL_00a5 - - IL_0097: nop - IL_0098: ldarg.0 - IL_0099: ldstr "$(OutDir)/$(ProjectName).dll" - IL_009e: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_00a3: stloc.3 - IL_00a4: nop - IL_00a5: ldarg.0 - IL_00a6: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_00ab: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_00b0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00b5: ldloc.3 - IL_00b6: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00bb: stloc.0 - IL_00bc: br IL_014d - - IL_00c1: ldarg.0 - IL_00c2: ldstr "VCLibrarianTool" - IL_00c7: ldstr "OutputFile" - IL_00cc: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_00d1: stloc.s 4 - IL_00d3: ldloc.s 4 - IL_00d5: call bool string::IsNullOrEmpty(string) - IL_00da: brfalse IL_00ee - - IL_00df: nop - IL_00e0: ldarg.0 - IL_00e1: ldstr "$(OutDir)/$(ProjectName).lib" - IL_00e6: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_00eb: stloc.s 4 - IL_00ed: nop - IL_00ee: ldarg.0 - IL_00ef: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_00f4: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_00f9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00fe: ldloc.s 4 - IL_0100: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0105: stloc.0 - IL_0106: br IL_014d - - IL_010b: ldarg.0 - IL_010c: ldstr "VCNMakeTool" - IL_0111: ldstr "Output" - IL_0116: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_011b: stloc.s 5 - IL_011d: ldloc.s 5 - IL_011f: call bool string::IsNullOrEmpty(string) - IL_0124: brtrue IL_0143 - - IL_0129: nop - IL_012a: ldarg.0 - IL_012b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0130: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0135: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_013a: ldloc.s 5 - IL_013c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0141: stloc.0 - IL_0142: nop - IL_0143: br IL_014d - - IL_0148: br IL_014d - - IL_014d: ldloc.0 - IL_014e: stloc.s 6 - IL_0150: br IL_0155 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsSynchronized() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0155: ldloc.s 6 - IL_0157: ret - } // end of method VcProjectConfiguration::get_TargetPath + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionary::get_IsSynchronized // method line 118 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed { - // Method begins at RVA 0x627c - // Code size 41 (0x29) - .maxstack 2 + // Method begins at RVA 0x5cc8 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_000c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0011: ldarg.0 - IL_0012: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() - IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_001c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0021: stloc.0 - IL_0022: br IL_0027 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0027: ldloc.0 - IL_0028: ret - } // end of method VcProjectConfiguration::get_ObjectDir + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionary::get_Count // method line 119 - .method public virtual hidebysig specialname - instance default string get_RelativeOutputDir () cil managed + .method public final virtual hidebysig newslot specialname + instance default object get_SyncRoot () cil managed { - // Method begins at RVA 0x62b4 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x5ce8 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: call instance string class NAnt.VSNet.VcProjectConfiguration::get_RawRelativeOutputDir() - IL_0008: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method VcProjectConfiguration::get_RelativeOutputDir + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionary::get_SyncRoot // method line 120 - .method public virtual hidebysig specialname - instance default string get_IntermediateDir () cil managed + .method public hidebysig + instance default bool ContainsKey (class NAnt.VSNet.Configuration key) cil managed { - // Method begins at RVA 0x62d8 + // Method begins at RVA 0x5d08 // Code size 21 (0x15) .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: call instance string class NAnt.VSNet.VcProjectConfiguration::get_RawIntermediateDir() - IL_0008: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) IL_000d: stloc.0 IL_000e: br IL_0013 IL_0013: ldloc.0 IL_0014: ret - } // end of method VcProjectConfiguration::get_IntermediateDir + } // end of method ConfigurationDictionary::ContainsKey // method line 121 - .method public virtual hidebysig specialname - instance default string get_OutputPath () cil managed - { - // Method begins at RVA 0x62fc - // Code size 34 (0x22) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld string NAnt.VSNet.VcProjectConfiguration::_outputPath - IL_001a: stloc.0 - IL_001b: br IL_0020 - - IL_0020: ldloc.0 - IL_0021: ret - } // end of method VcProjectConfiguration::get_OutputPath - - // method line 122 - .method public virtual hidebysig specialname - instance default string get_ReferencesPath () cil managed + .method public hidebysig + instance default bool ContainsValue (class NAnt.VSNet.ConfigurationBase 'value') cil managed { - // Method begins at RVA 0x632c + // Method begins at RVA 0x5d2c // Code size 21 (0x15) .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: call instance string class NAnt.VSNet.VcProjectConfiguration::get_RawReferencesPath() - IL_0008: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsValue(object) IL_000d: stloc.0 IL_000e: br IL_0013 IL_0013: ldloc.0 IL_0014: ret - } // end of method VcProjectConfiguration::get_ReferencesPath - - // method line 123 - .method assembly hidebysig - instance default string GetToolSetting (string toolName, string settingName, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler expander) cil managed - { - // Method begins at RVA 0x6350 - // Code size 19 (0x13) - .maxstack 5 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldnull - IL_0005: ldarg.3 - IL_0006: call instance string class NAnt.VSNet.VcProjectConfiguration::GetToolSetting(string, string, string, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) - IL_000b: stloc.0 - IL_000c: br IL_0011 + } // end of method ConfigurationDictionary::ContainsValue - IL_0011: ldloc.0 - IL_0012: ret - } // end of method VcProjectConfiguration::GetToolSetting + .property instance object System.Collections.IDictionary.Item (object) + { + .get instance default object NAnt.VSNet.ConfigurationDictionary::System.Collections.IDictionary.get_Item (object key) + .set instance default void NAnt.VSNet.ConfigurationDictionary::System.Collections.IDictionary.set_Item (object key, object 'value') + } + .property instance class [mscorlib]System.Collections.Hashtable InnerHash () + { + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::get_InnerHash () + } + .property instance bool IsReadOnly () + { + .get instance default bool NAnt.VSNet.ConfigurationDictionary::get_IsReadOnly () + } + .property instance class NAnt.VSNet.ConfigurationBase Item (class NAnt.VSNet.Configuration) + { + .get instance default class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionary::get_Item (class NAnt.VSNet.Configuration key) + .set instance default void NAnt.VSNet.ConfigurationDictionary::set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.ConfigurationBase 'value') + } + .property instance class [mscorlib]System.Collections.ICollection Values () + { + .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationDictionary::get_Values () + } + .property instance class [mscorlib]System.Collections.ICollection Keys () + { + .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationDictionary::get_Keys () + } + .property instance bool IsFixedSize () + { + .get instance default bool NAnt.VSNet.ConfigurationDictionary::get_IsFixedSize () + } + .property instance bool IsSynchronized () + { + .get instance default bool NAnt.VSNet.ConfigurationDictionary::get_IsSynchronized () + } + .property instance int32 Count () + { + .get instance default int32 NAnt.VSNet.ConfigurationDictionary::get_Count () + } + .property instance object SyncRoot () + { + .get instance default object NAnt.VSNet.ConfigurationDictionary::get_SyncRoot () + } + } // end of class NAnt.VSNet.ConfigurationDictionary +} - // method line 124 - .method public virtual hidebysig - instance default string GetToolSetting (string toolName, string settingName, string defaultValue) cil managed +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ConfigurationDictionaryEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { + .field private initonly class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator + + // method line 122 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ConfigurationDictionary enumerable) cil managed { - // Method begins at RVA 0x6370 - // Code size 30 (0x1e) - .maxstack 6 + // Method begins at RVA 0x5d4d + // Code size 25 (0x19) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationDictionary::get_InnerHash() + IL_000e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0013: stfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator + IL_0018: ret + } // end of method ConfigurationDictionaryEnumerator::.ctor + + // method line 123 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_Key () cil managed + { + // Method begins at RVA 0x5d68 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - string V_0) + class NAnt.VSNet.Configuration V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldarg.3 - IL_0005: ldarg.0 - IL_0006: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_000c: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) - IL_0011: call instance string class NAnt.VSNet.VcProjectConfiguration::GetToolSetting(string, string, string, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) - IL_0016: stloc.0 - IL_0017: br IL_001c + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() + IL_000c: castclass NAnt.VSNet.Configuration + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_001c: ldloc.0 - IL_001d: ret - } // end of method VcProjectConfiguration::GetToolSetting + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ConfigurationDictionaryEnumerator::get_Key - // method line 125 - .method assembly hidebysig - instance default string GetToolSetting (string toolName, string settingName, string defaultValue, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler expander) cil managed + // method line 124 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed { - // Method begins at RVA 0x639c - // Code size 99 (0x63) - .maxstack 2 + // Method begins at RVA 0x5d90 + .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key due to (null) + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.Collections.Hashtable V_1, - string V_2) + object V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools - IL_0009: ldarg.1 - IL_000a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000f: castclass [mscorlib]System.Collections.Hashtable - IL_0014: stloc.1 - IL_0015: ldloc.1 - IL_0016: brfalse IL_003f - - IL_001b: nop - IL_001c: ldloc.1 - IL_001d: ldarg.2 - IL_001e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0023: castclass [mscorlib]System.String - IL_0028: stloc.0 - IL_0029: ldloc.0 - IL_002a: brfalse IL_003e - - IL_002f: nop - IL_0030: ldarg.s 4 - IL_0032: ldloc.0 - IL_0033: callvirt instance string class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::Invoke(string) - IL_0038: stloc.2 - IL_0039: br IL_0061 - - IL_003e: nop - IL_003f: ldloc.0 - IL_0040: brtrue IL_005a - - IL_0045: ldarg.3 - IL_0046: brfalse IL_005a + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_004b: nop - IL_004c: ldarg.s 4 - IL_004e: ldarg.3 - IL_004f: callvirt instance string class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::Invoke(string) - IL_0054: stloc.2 - IL_0055: br IL_0061 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key - IL_005a: ldloc.0 - IL_005b: stloc.2 - IL_005c: br IL_0061 + // method line 125 + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationBase get_Value () cil managed + { + // Method begins at RVA 0x5dac + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ConfigurationBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value() + IL_000c: castclass NAnt.VSNet.ConfigurationBase + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0061: ldloc.2 - IL_0062: ret - } // end of method VcProjectConfiguration::GetToolSetting + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ConfigurationDictionaryEnumerator::get_Value // method line 126 - .method public virtual hidebysig - instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup) cil managed + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed { - // Method begins at RVA 0x640c - // Code size 30 (0x1e) - .maxstack 6 + // Method begins at RVA 0x5dd4 + .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value due to (null) + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldarg.3 - IL_0005: ldarg.0 - IL_0006: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_000c: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) - IL_0011: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) - IL_0016: stloc.0 - IL_0017: br IL_001c + IL_0002: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001c: ldloc.0 - IL_001d: ret - } // end of method VcProjectConfiguration::GetToolArguments + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value // method line 127 - .method assembly hidebysig - instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler expander) cil managed + .method public final virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed { - // Method begins at RVA 0x6438 - // Code size 178 (0xb2) - .maxstack 4 + // Method begins at RVA 0x5df0 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class [mscorlib]System.Collections.Hashtable V_1, - valuetype [mscorlib]System.Collections.DictionaryEntry V_2, - class [mscorlib]System.Collections.IDictionaryEnumerator V_3, - string V_4, - class [mscorlib]System.IDisposable V_5, - class [mscorlib]System.Collections.Hashtable V_6) + valuetype [mscorlib]System.Collections.DictionaryEntry V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0006: stloc.0 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key() IL_0007: ldarg.0 - IL_0008: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools - IL_000d: ldarg.1 - IL_000e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0013: castclass [mscorlib]System.Collections.Hashtable - IL_0018: stloc.1 - IL_0019: ldloc.1 - IL_001a: brfalse IL_00a7 - - IL_001f: nop - IL_0020: nop - IL_0021: ldloc.1 - IL_0022: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0027: stloc.3 - .try { // 0 - IL_0028: br IL_0080 - - IL_002d: ldloc.3 - IL_002e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0033: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0038: stloc.2 - IL_0039: nop - IL_003a: ldarg.2 - IL_003b: ldloca.s 2 - IL_003d: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0042: castclass [mscorlib]System.String - IL_0047: ldarg.s 4 - IL_0049: ldloca.s 2 - IL_004b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0050: castclass [mscorlib]System.String - IL_0055: callvirt instance string class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::Invoke(string) - IL_005a: ldarg.3 - IL_005b: callvirt instance string class NAnt.VSNet.VcArgumentMap::GetArgument(string, string, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) - IL_0060: stloc.s 4 - IL_0062: ldloc.s 4 - IL_0064: brfalse IL_007f - - IL_0069: nop - IL_006a: ldloc.0 - IL_006b: ldloca.s 2 - IL_006d: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0072: castclass [mscorlib]System.String - IL_0077: ldloc.s 4 - IL_0079: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_007e: nop - IL_007f: nop - IL_0080: ldloc.3 - IL_0081: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0086: brtrue IL_002d + IL_0008: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value() + IL_000d: newobj instance void valuetype [mscorlib]System.Collections.DictionaryEntry::'.ctor'(object, object) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_008b: leave IL_00a6 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ConfigurationDictionaryEnumerator::get_Entry - } // end .try 0 - finally { // 0 - IL_0090: ldloc.3 - IL_0091: isinst [mscorlib]System.IDisposable - IL_0096: dup - IL_0097: stloc.s 5 - IL_0099: brfalse IL_00a5 + // method line 128 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + // Method begins at RVA 0x5e16 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ConfigurationDictionaryEnumerator::Reset - IL_009e: ldloc.s 5 - IL_00a0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00a5: endfinally - } // end handler 0 - IL_00a6: nop - IL_00a7: ldloc.0 - IL_00a8: stloc.s 6 - IL_00aa: br IL_00af + // method line 129 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x5e24 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00af: ldloc.s 6 - IL_00b1: ret - } // end of method VcProjectConfiguration::GetToolArguments + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationDictionaryEnumerator::MoveNext - // method line 128 - .method famorassem virtual hidebysig - instance default string ExpandMacro (string macro) cil managed + // method line 130 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x6508 - // Code size 271 (0x10f) - .maxstack 4 + // Method begins at RVA 0x5e44 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - string V_1, - char V_2, - char V_3) + object V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionaryEntry class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Current() + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 - IL_000e: brfalse IL_0100 + IL_000e: ret + } // end of method ConfigurationDictionaryEnumerator::System.Collections.IEnumerator.get_Current - IL_0013: ldloc.0 - IL_0014: ldstr "targetname" - IL_0019: call bool string::op_Equality(string, string) - IL_001e: brtrue IL_0068 + // method line 131 + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationDictionaryEntry get_Current () cil managed + { + // Method begins at RVA 0x5e60 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.VSNet.ConfigurationDictionaryEntry V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key() + IL_0007: ldarg.0 + IL_0008: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value() + IL_000d: newobj instance void class NAnt.VSNet.ConfigurationDictionaryEntry::'.ctor'(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0023: ldloc.0 - IL_0024: ldstr "targetpath" - IL_0029: call bool string::op_Equality(string, string) - IL_002e: brtrue IL_007e + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ConfigurationDictionaryEnumerator::get_Current - IL_0033: ldloc.0 - IL_0034: ldstr "targetext" - IL_0039: call bool string::op_Equality(string, string) - IL_003e: brtrue IL_008a + .property instance object System.Collections.IDictionaryEnumerator.Key () + { + .get instance default object NAnt.VSNet.ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key () + } + .property instance object System.Collections.IDictionaryEnumerator.Value () + { + .get instance default object NAnt.VSNet.ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.VSNet.ConfigurationDictionaryEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.VSNet.Configuration Key () + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key () + } + .property instance class NAnt.VSNet.ConfigurationBase Value () + { + .get instance default class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value () + } + .property instance valuetype [mscorlib]System.Collections.DictionaryEntry Entry () + { + .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Entry () + } + .property instance class NAnt.VSNet.ConfigurationDictionaryEntry Current () + { + .get instance default class NAnt.VSNet.ConfigurationDictionaryEntry NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Current () + } + } // end of class NAnt.VSNet.ConfigurationDictionaryEnumerator +} - IL_0043: ldloc.0 - IL_0044: ldstr "targetfilename" - IL_0049: call bool string::op_Equality(string, string) - IL_004e: brtrue IL_009b +.namespace NAnt.VSNet +{ + .class public auto ansi sealed beforefieldinit ConfigurationDictionaryEntry + extends [mscorlib]System.Object + { + .field private initonly class NAnt.VSNet.Configuration _name + .field private initonly class NAnt.VSNet.ConfigurationBase _config - IL_0053: ldloc.0 - IL_0054: ldstr "targetdir" - IL_0059: call bool string::op_Equality(string, string) - IL_005e: brtrue IL_00ac + // method line 132 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Configuration name, class NAnt.VSNet.ConfigurationBase config) cil managed + { + // Method begins at RVA 0x5e86 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEntry::_name + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEntry::_config + IL_0015: ret + } // end of method ConfigurationDictionaryEntry::.ctor - IL_0063: br IL_0100 + // method line 133 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_Name () cil managed + { + // Method begins at RVA 0x5ea0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Configuration V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEntry::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0068: ldarg.0 - IL_0069: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() - IL_006e: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0073: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0078: stloc.1 - IL_0079: br IL_010d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationDictionaryEntry::get_Name - IL_007e: ldarg.0 - IL_007f: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() - IL_0084: stloc.1 - IL_0085: br IL_010d + // method line 134 + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationBase get_Config () cil managed + { + // Method begins at RVA 0x5ebc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ConfigurationBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEntry::_config + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_008a: ldarg.0 - IL_008b: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() - IL_0090: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0095: stloc.1 - IL_0096: br IL_010d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationDictionaryEntry::get_Config - IL_009b: ldarg.0 - IL_009c: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() - IL_00a1: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_00a6: stloc.1 - IL_00a7: br IL_010d + .property instance class NAnt.VSNet.Configuration Name () + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEntry::get_Name () + } + .property instance class NAnt.VSNet.ConfigurationBase Config () + { + .get instance default class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEntry::get_Config () + } + } // end of class NAnt.VSNet.ConfigurationDictionaryEntry +} - IL_00ac: ldarg.0 - IL_00ad: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() - IL_00b2: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00b7: ldarg.0 - IL_00b8: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() - IL_00bd: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00c2: stloc.2 - IL_00c3: ldloca.s 2 - IL_00c5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ca: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_00cf: callvirt instance bool string::EndsWith(string) - IL_00d4: brfalse IL_00e3 +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit ProjectBase + extends [mscorlib]System.Object + { + .field private initonly valuetype NAnt.VSNet.ProductVersion _productVersion + .field private initonly class NAnt.VSNet.Tasks.SolutionTask _solutionTask + .field private initonly class [System]System.CodeDom.Compiler.TempFileCollection _temporaryFiles + .field private initonly class [mscorlib]System.IO.DirectoryInfo _outputDir + .field private initonly class NAnt.VSNet.ConfigurationDictionary _projectConfigurations + .field private initonly class NAnt.VSNet.ConfigurationDictionary _buildConfigurations + .field private initonly class [NAnt.Core]NAnt.Core.Util.GacCache _gacCache + .field private initonly class NAnt.VSNet.ReferencesResolver _refResolver + .field private initonly class [mscorlib]System.Collections.Hashtable _extraOutputFiles + .field private initonly class NAnt.VSNet.ProjectBaseCollection _projectDependencies - IL_00d9: ldsfld string [mscorlib]System.String::Empty - IL_00de: br IL_00f5 + // method line 135 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection temporaryFiles, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver referencesResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x5ed8 + // Code size 202 (0xca) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.VSNet.ProjectBaseCollection::'.ctor'() + IL_0006: stfld class NAnt.VSNet.ProjectBaseCollection NAnt.VSNet.ProjectBase::_projectDependencies + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ldarg.1 + IL_0013: brtrue IL_0024 - IL_00e3: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00e8: stloc.3 - IL_00e9: ldloca.s 3 - IL_00eb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00f0: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_00f5: call string string::Concat(string, string) - IL_00fa: stloc.1 - IL_00fb: br IL_010d + IL_0018: nop + IL_0019: ldstr "xmlDefinition" + IL_001e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0023: throw + IL_0024: ldarg.2 + IL_0025: brtrue IL_0036 - IL_0100: ldarg.0 - IL_0101: ldarg.1 - IL_0102: call instance string class NAnt.VSNet.VcConfigurationBase::ExpandMacro(string) - IL_0107: stloc.1 - IL_0108: br IL_010d + IL_002a: nop + IL_002b: ldstr "solutionTask" + IL_0030: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0035: throw + IL_0036: ldarg.3 + IL_0037: brtrue IL_0048 - IL_010d: ldloc.1 - IL_010e: ret - } // end of method VcProjectConfiguration::ExpandMacro + IL_003c: nop + IL_003d: ldstr "temporaryFiles" + IL_0042: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0047: throw + IL_0048: ldarg.s 4 + IL_004a: brtrue IL_005b - // method line 129 - .method private hidebysig - instance default void Initialize () cil managed + IL_004f: nop + IL_0050: ldstr "gacCache" + IL_0055: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_005a: throw + IL_005b: ldarg.s 5 + IL_005d: brtrue IL_006e + + IL_0062: nop + IL_0063: ldstr "referencesResolver" + IL_0068: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_006d: throw + IL_006e: ldarg.0 + IL_006f: newobj instance void class NAnt.VSNet.ConfigurationDictionary::'.ctor'() + IL_0074: stfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_projectConfigurations + IL_0079: ldarg.0 + IL_007a: newobj instance void class NAnt.VSNet.ConfigurationDictionary::'.ctor'() + IL_007f: stfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_buildConfigurations + IL_0084: ldarg.0 + IL_0085: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_008a: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectBase::_extraOutputFiles + IL_008f: ldarg.0 + IL_0090: ldarg.1 + IL_0091: callvirt instance void class NAnt.VSNet.ProjectBase::VerifyProjectXml(class [System.Xml]System.Xml.XmlElement) + IL_0096: ldarg.0 + IL_0097: ldarg.2 + IL_0098: stfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ProjectBase::_solutionTask + IL_009d: ldarg.0 + IL_009e: ldarg.3 + IL_009f: stfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectBase::_temporaryFiles + IL_00a4: ldarg.0 + IL_00a5: ldarg.s 6 + IL_00a7: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::_outputDir + IL_00ac: ldarg.0 + IL_00ad: ldarg.s 4 + IL_00af: stfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.ProjectBase::_gacCache + IL_00b4: ldarg.0 + IL_00b5: ldarg.s 5 + IL_00b7: stfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ProjectBase::_refResolver + IL_00bc: ldarg.0 + IL_00bd: ldarg.0 + IL_00be: ldarg.1 + IL_00bf: callvirt instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::DetermineProductVersion(class [System.Xml]System.Xml.XmlElement) + IL_00c4: stfld valuetype NAnt.VSNet.ProductVersion NAnt.VSNet.ProjectBase::_productVersion + IL_00c9: ret + } // end of method ProjectBase::.ctor + + // method line 136 + .method public hidebysig specialname + instance default valuetype NAnt.VSNet.ProductVersion get_ProductVersion () cil managed { - // Method begins at RVA 0x6624 - // Code size 831 (0x33f) - .maxstack 5 + // Method begins at RVA 0x5fb0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.VSNet.VcProject V_0, - string V_1, - object V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - string V_4, - class NAnt.VSNet.VcConfigurationBase V_5, - class [mscorlib]System.Collections.Hashtable V_6, - class NAnt.VSNet.VcFileConfiguration V_7, - valuetype [mscorlib]System.Collections.DictionaryEntry V_8, - class [mscorlib]System.Collections.IDictionaryEnumerator V_9, - class [mscorlib]System.IDisposable V_10, - string V_11, - class [mscorlib]System.IDisposable V_12, - valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_13, - string V_14) + valuetype NAnt.VSNet.ProductVersion V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0007: castclass NAnt.VSNet.VcProject - IL_000c: stloc.0 + IL_0002: ldfld valuetype NAnt.VSNet.ProductVersion NAnt.VSNet.ProjectBase::_productVersion + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 - IL_000e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0018: ldarg.0 - IL_0019: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() - IL_001e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0023: stloc.1 - IL_0024: nop - IL_0025: ldloc.0 - IL_0026: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProject::get_ProjectFiles() - IL_002b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0030: stloc.3 - .try { // 1 - IL_0031: br IL_0284 + IL_000e: ret + } // end of method ProjectBase::get_ProductVersion - IL_0036: ldloc.3 - IL_0037: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_003c: stloc.2 - IL_003d: nop - IL_003e: ldnull - IL_003f: stloc.s 4 - IL_0041: ldnull - IL_0042: stloc.s 5 - IL_0044: ldloc.2 - IL_0045: isinst [mscorlib]System.String - IL_004a: brfalse IL_005e + // method line 137 + .method public virtual hidebysig newslot abstract specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::get_Name - IL_004f: nop - IL_0050: ldloc.2 - IL_0051: castclass [mscorlib]System.String - IL_0056: stloc.s 4 - IL_0058: nop - IL_0059: br IL_0104 + // method line 138 + .method public virtual hidebysig newslot abstract specialname + instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::get_Type - IL_005e: nop - IL_005f: ldloc.2 - IL_0060: castclass [mscorlib]System.Collections.Hashtable - IL_0065: stloc.s 6 - IL_0067: ldloc.s 6 - IL_0069: ldarg.0 - IL_006a: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_006f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0074: castclass NAnt.VSNet.VcFileConfiguration - IL_0079: stloc.s 7 - IL_007b: ldloc.s 7 - IL_007d: brfalse IL_0094 + // method line 139 + .method public virtual hidebysig newslot abstract specialname + instance default string get_ProjectPath () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::get_ProjectPath - IL_0082: ldloc.s 7 - IL_0084: callvirt instance bool class NAnt.VSNet.VcFileConfiguration::get_ExcludeFromBuild() - IL_0089: brfalse IL_0094 + // method line 140 + .method public virtual hidebysig newslot abstract specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ProjectDirectory () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::get_ProjectDirectory - IL_008e: nop - IL_008f: leave IL_0284 + // method line 141 + .method public virtual hidebysig newslot abstract specialname + instance default valuetype NAnt.VSNet.ProjectLocation get_ProjectLocation () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::get_ProjectLocation - IL_0094: ldloc.s 7 - IL_0096: stloc.s 5 - IL_0098: ldloc.s 7 - IL_009a: brtrue IL_00fa + // method line 142 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed + { + // Method begins at RVA 0x5fcc + // Code size 154 (0x9a) + .maxstack 2 + .locals init ( + valuetype NAnt.VSNet.ProjectLocation V_0, + string V_1, + string V_2, + string V_3, + class [mscorlib]System.IO.DirectoryInfo V_4, + valuetype NAnt.VSNet.ProjectLocation V_5) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ProjectBase::get_ProjectLocation() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldc.i4.2 + IL_000a: beq IL_001b - IL_009f: nop - IL_00a0: nop - IL_00a1: ldloc.s 6 - IL_00a3: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_00a8: stloc.s 9 - .try { // 0 - IL_00aa: br IL_00d1 + IL_000f: ldloc.0 + IL_0010: ldc.i4.1 + IL_0011: beq IL_005b - IL_00af: ldloc.s 9 - IL_00b1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00b6: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_00bb: stloc.s 8 - IL_00bd: nop - IL_00be: ldloca.s 8 - IL_00c0: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_00c5: castclass NAnt.VSNet.VcFileConfiguration - IL_00ca: stloc.s 7 - IL_00cc: leave IL_00dd + IL_0016: br IL_007c - IL_00d1: ldloc.s 9 - IL_00d3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00d8: brtrue IL_00af + IL_001b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetHomeDirectory() + IL_0020: ldstr "VSWebCache" + IL_0025: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_002a: stloc.1 + IL_002b: ldloc.1 + IL_002c: call string class [mscorlib]System.Environment::get_MachineName() + IL_0031: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0036: stloc.2 + IL_0037: ldloc.2 + IL_0038: ldarg.0 + IL_0039: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_003e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0043: stloc.3 + IL_0044: ldloc.3 + IL_0045: ldstr "obj" + IL_004a: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_004f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0054: stloc.s 4 + IL_0056: br IL_0097 - IL_00dd: leave IL_00f9 + IL_005b: ldarg.0 + IL_005c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0061: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0066: ldstr "obj" + IL_006b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0070: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0075: stloc.s 4 + IL_0077: br IL_0097 - } // end .try 0 - finally { // 0 - IL_00e2: ldloc.s 9 - IL_00e4: isinst [mscorlib]System.IDisposable - IL_00e9: dup - IL_00ea: stloc.s 10 - IL_00ec: brfalse IL_00f8 + IL_007c: ldarg.0 + IL_007d: callvirt instance valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ProjectBase::get_ProjectLocation() + IL_0082: stloc.s 5 + IL_0084: ldloca.s 5 + IL_0086: constrained. NAnt.VSNet.ProjectLocation + IL_008c: callvirt instance string object::ToString() + IL_0091: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_0096: throw + IL_0097: ldloc.s 4 + IL_0099: ret + } // end of method ProjectBase::get_ObjectDir - IL_00f1: ldloc.s 10 - IL_00f3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f8: endfinally - } // end handler 0 - IL_00f9: nop - IL_00fa: ldloc.s 7 - IL_00fc: callvirt instance string class NAnt.VSNet.VcFileConfiguration::get_RelativePath() - IL_0101: stloc.s 4 - IL_0103: nop - IL_0104: ldloc.s 4 - IL_0106: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_010b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0110: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0115: stloc.s 11 - IL_0117: ldloc.s 5 - IL_0119: brtrue IL_0123 + // method line 143 + .method public virtual hidebysig newslot abstract specialname + instance default string get_Guid () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::get_Guid - IL_011e: nop - IL_011f: ldarg.0 - IL_0120: stloc.s 5 - IL_0122: nop - IL_0123: ldloc.s 11 - IL_0125: brfalse IL_0283 + // method line 144 + .method public virtual hidebysig newslot abstract specialname + instance default void set_Guid (string 'value') cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::set_Guid - IL_012a: ldloc.s 11 - IL_012c: ldstr ".cpp" - IL_0131: call bool string::op_Equality(string, string) - IL_0136: brtrue IL_0184 + // method line 145 + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationDictionary get_ProjectConfigurations () cil managed + { + // Method begins at RVA 0x6074 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ConfigurationDictionary V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_projectConfigurations + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_013b: ldloc.s 11 - IL_013d: ldstr ".c" - IL_0142: call bool string::op_Equality(string, string) - IL_0147: brtrue IL_0184 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_ProjectConfigurations - IL_014c: ldloc.s 11 - IL_014e: ldstr ".rc" - IL_0153: call bool string::op_Equality(string, string) - IL_0158: brtrue IL_01e1 + // method line 146 + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationDictionary get_BuildConfigurations () cil managed + { + // Method begins at RVA 0x6090 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ConfigurationDictionary V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_buildConfigurations + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_015d: ldloc.s 11 - IL_015f: ldstr ".idl" - IL_0164: call bool string::op_Equality(string, string) - IL_0169: brtrue IL_023d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_BuildConfigurations - IL_016e: ldloc.s 11 - IL_0170: ldstr ".odl" - IL_0175: call bool string::op_Equality(string, string) - IL_017a: brtrue IL_023d + // method line 147 + .method public virtual hidebysig newslot abstract specialname + instance default class [mscorlib]System.Collections.ArrayList get_References () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::get_References - IL_017f: br IL_0283 + // method line 148 + .method public hidebysig specialname + instance default class NAnt.VSNet.Tasks.SolutionTask get_SolutionTask () cil managed + { + // Method begins at RVA 0x60ac + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Tasks.SolutionTask V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ProjectBase::_solutionTask + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0184: ldarg.0 - IL_0185: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs - IL_018a: ldloc.s 5 - IL_018c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0191: brtrue IL_01ab + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_SolutionTask - IL_0196: nop - IL_0197: ldarg.0 - IL_0198: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs - IL_019d: ldloc.s 5 - IL_019f: ldc.i4.1 - IL_01a0: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_01a5: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_01aa: nop - IL_01ab: ldarg.0 - IL_01ac: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs - IL_01b1: ldloc.s 5 - IL_01b3: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_01b8: castclass [mscorlib]System.Collections.ArrayList - IL_01bd: ldloc.s 4 - IL_01bf: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_01c4: pop - IL_01c5: ldarg.0 - IL_01c6: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_01cb: ldloc.0 - IL_01cc: ldloc.s 4 - IL_01ce: ldloc.s 5 - IL_01d0: ldloc.1 - IL_01d1: callvirt instance string class NAnt.VSNet.VcProject::GetObjOutputFile(string, class NAnt.VSNet.VcConfigurationBase, string) - IL_01d6: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_01db: pop - IL_01dc: leave IL_0283 + // method line 149 + .method public hidebysig specialname + instance default class [System]System.CodeDom.Compiler.TempFileCollection get_TemporaryFiles () cil managed + { + // Method begins at RVA 0x60c8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.CodeDom.Compiler.TempFileCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectBase::_temporaryFiles + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01e1: ldarg.0 - IL_01e2: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs - IL_01e7: ldloc.s 5 - IL_01e9: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_01ee: brtrue IL_0208 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_TemporaryFiles - IL_01f3: nop - IL_01f4: ldarg.0 - IL_01f5: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs - IL_01fa: ldloc.s 5 - IL_01fc: ldc.i4.1 - IL_01fd: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0202: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0207: nop - IL_0208: ldarg.0 - IL_0209: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs - IL_020e: ldloc.s 5 - IL_0210: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0215: castclass [mscorlib]System.Collections.ArrayList - IL_021a: ldloc.s 4 - IL_021c: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0221: pop - IL_0222: ldarg.0 - IL_0223: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_0228: ldloc.0 - IL_0229: ldloc.s 4 - IL_022b: ldloc.s 5 - IL_022d: callvirt instance string class NAnt.VSNet.VcProject::GetResourceOutputFile(string, class NAnt.VSNet.VcConfigurationBase) - IL_0232: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0237: pop - IL_0238: leave IL_0283 - - IL_023d: ldarg.0 - IL_023e: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs - IL_0243: ldloc.s 5 - IL_0245: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_024a: brtrue IL_0264 - - IL_024f: nop - IL_0250: ldarg.0 - IL_0251: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs - IL_0256: ldloc.s 5 - IL_0258: ldc.i4.1 - IL_0259: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_025e: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0263: nop - IL_0264: ldarg.0 - IL_0265: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs - IL_026a: ldloc.s 5 - IL_026c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0271: castclass [mscorlib]System.Collections.ArrayList - IL_0276: ldloc.s 4 - IL_0278: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_027d: pop - IL_027e: leave IL_0283 - - IL_0283: nop - IL_0284: ldloc.3 - IL_0285: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_028a: brtrue IL_0036 - - IL_028f: leave IL_02aa + // method line 150 + .method public hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_ExtraOutputFiles () cil managed + { + // Method begins at RVA 0x60e4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectBase::_extraOutputFiles + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 1 - finally { // 1 - IL_0294: ldloc.3 - IL_0295: isinst [mscorlib]System.IDisposable - IL_029a: dup - IL_029b: stloc.s 12 - IL_029d: brfalse IL_02a9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_ExtraOutputFiles - IL_02a2: ldloc.s 12 - IL_02a4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02a9: endfinally - } // end handler 1 - IL_02aa: ldarg.0 - IL_02ab: call instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_02b0: stloc.s 13 - IL_02b2: ldloc.s 13 - IL_02b4: switch ( - IL_02f5, - IL_02e4, - IL_02e4, - IL_0337, - IL_02d2) - IL_02cd: br IL_0337 + // method line 151 + .method family hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed + { + // Method begins at RVA 0x6100 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::_outputDir + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02d2: ldarg.0 - IL_02d3: ldarg.0 - IL_02d4: ldloc.1 - IL_02d5: call instance string class NAnt.VSNet.VcProjectConfiguration::GetLibrarianOutputFile(string) - IL_02da: stfld string NAnt.VSNet.VcProjectConfiguration::_outputPath - IL_02df: br IL_0337 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_OutputDir - IL_02e4: ldarg.0 - IL_02e5: ldarg.0 - IL_02e6: call instance string class NAnt.VSNet.VcProjectConfiguration::GetLinkerOutputFile() - IL_02eb: stfld string NAnt.VSNet.VcProjectConfiguration::_outputPath - IL_02f0: br IL_0337 + // method line 152 + .method family hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Util.GacCache get_GacCache () cil managed + { + // Method begins at RVA 0x611c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Util.GacCache V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.ProjectBase::_gacCache + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02f5: ldarg.0 - IL_02f6: ldstr "VCNMakeTool" - IL_02fb: ldstr "Output" - IL_0300: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0305: stloc.s 14 - IL_0307: ldloc.s 14 - IL_0309: call bool string::IsNullOrEmpty(string) - IL_030e: brtrue IL_0332 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_GacCache - IL_0313: nop - IL_0314: ldarg.0 - IL_0315: ldarg.0 - IL_0316: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_031b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0320: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0325: ldloc.s 14 - IL_0327: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_032c: stfld string NAnt.VSNet.VcProjectConfiguration::_outputPath - IL_0331: nop - IL_0332: br IL_0337 + // method line 153 + .method public hidebysig specialname + instance default class NAnt.VSNet.ReferencesResolver get_ReferencesResolver () cil managed + { + // Method begins at RVA 0x6138 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ReferencesResolver V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ProjectBase::_refResolver + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0337: ldarg.0 - IL_0338: ldc.i4.1 - IL_0339: stfld bool NAnt.VSNet.VcProjectConfiguration::_initialized - IL_033e: ret - } // end of method VcProjectConfiguration::Initialize + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_ReferencesResolver - // method line 130 - .method private hidebysig - instance default string GetLibrarianOutputFile (string intermediateDir) cil managed + // method line 154 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectBaseCollection get_ProjectDependencies () cil managed { - // Method begins at RVA 0x69a4 - // Code size 138 (0x8a) - .maxstack 4 + // Method begins at RVA 0x6154 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - string V_1) + class NAnt.VSNet.ProjectBaseCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_000c: brtrue IL_0019 + IL_0002: ldfld class NAnt.VSNet.ProjectBaseCollection NAnt.VSNet.ProjectBase::_projectDependencies + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: nop - IL_0012: ldnull - IL_0013: stloc.0 - IL_0014: br IL_0088 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectBase::get_ProjectDependencies - IL_0019: ldarg.0 - IL_001a: ldstr "VCLibrarianTool" - IL_001f: ldstr "OutputFile" - IL_0024: ldstr "$(OutDir)/$(ProjectName).lib" - IL_0029: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_002e: stloc.1 - IL_002f: ldloc.1 - IL_0030: call bool string::IsNullOrEmpty(string) - IL_0035: brfalse IL_0068 + // method line 155 + .method family virtual hidebysig newslot specialname + instance default string get_DevEnvDir () cil managed + { + // Method begins at RVA 0x6170 + // Code size 139 (0x8b) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]Microsoft.Win32.RegistryKey V_1, + string V_2, + string V_3) + IL_0000: nop + IL_0001: ldstr "SOFTWARE\\Microsoft\\VisualStudio\\" + IL_0006: ldarg.0 + IL_0007: call instance class [mscorlib]System.Version class NAnt.VSNet.ProjectBase::get_ProductVersionNumber() + IL_000c: ldstr "\\Setup\\VS" + IL_0011: call string string::Concat(object, object, object) + IL_0016: stloc.0 + IL_0017: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine + IL_001c: ldloc.0 + IL_001d: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0022: stloc.1 + IL_0023: ldloc.1 + IL_0024: brtrue IL_0045 - IL_003a: nop - IL_003b: ldarg.1 - IL_003c: ldarg.0 - IL_003d: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_0042: ldc.i4.0 - IL_0043: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_0048: castclass [mscorlib]System.String - IL_004d: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0052: ldstr ".lib" - IL_0057: call string string::Concat(string, string) - IL_005c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0061: stloc.1 - IL_0062: nop - IL_0063: br IL_0081 + IL_0029: nop + IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002f: ldstr "Registry key \"{0}\" could not be found." + IL_0034: ldloc.0 + IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003a: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_003f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0044: throw + IL_0045: ldloc.1 + IL_0046: ldstr "VS7CommonDir" + IL_004b: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_0050: isinst [mscorlib]System.String + IL_0055: stloc.2 + IL_0056: ldloc.2 + IL_0057: brtrue IL_0078 - IL_0068: nop - IL_0069: ldarg.0 - IL_006a: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_006f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0074: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0079: ldloc.1 - IL_007a: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_007f: stloc.1 - IL_0080: nop - IL_0081: ldloc.1 - IL_0082: stloc.0 - IL_0083: br IL_0088 + IL_005c: nop + IL_005d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0062: ldstr "Value \"VS7CommonDir\" does not exist in registry key \"{0}\"." + IL_0067: ldloc.0 + IL_0068: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_006d: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0072: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0077: throw + IL_0078: ldloc.2 + IL_0079: ldstr "IDE\\" + IL_007e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0083: stloc.3 + IL_0084: br IL_0089 - IL_0088: ldloc.0 - IL_0089: ret - } // end of method VcProjectConfiguration::GetLibrarianOutputFile + IL_0089: ldloc.3 + IL_008a: ret + } // end of method ProjectBase::get_DevEnvDir - // method line 131 - .method private hidebysig - instance default string GetLinkerOutputFile () cil managed + // method line 156 + .method private hidebysig specialname + instance default class [mscorlib]System.Version get_ProductVersionNumber () cil managed { - // Method begins at RVA 0x6a3c - // Code size 443 (0x1bb) - .maxstack 5 + // Method begins at RVA 0x6208 + // Code size 89 (0x59) + .maxstack 3 .locals init ( - string V_0, - string[] V_1, - int32 V_2, - string V_3, - string V_4, - string V_5, - valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_6, - string V_7) + valuetype NAnt.VSNet.ProductVersion V_0, + class [mscorlib]System.Version V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "VCLinkerTool" - IL_0007: ldstr "AdditionalDependencies" - IL_000c: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: call bool string::IsNullOrEmpty(string) - IL_0018: brtrue IL_00aa + IL_0002: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldc.i4.s 0x46 + IL_000b: beq IL_001d - IL_001d: nop - IL_001e: ldloc.0 - IL_001f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0024: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0029: ldstr "$(noinherit)" - IL_002e: callvirt instance int32 string::IndexOf(string) - IL_0033: ldc.i4.m1 - IL_0034: beq IL_0061 + IL_0010: ldloc.0 + IL_0011: ldc.i4.s 0x47 + IL_0013: beq IL_002a - IL_0039: nop - IL_003a: ldloc.0 - IL_003b: ldloc.0 - IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0041: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0046: ldstr "$(noinherit)" - IL_004b: callvirt instance int32 string::IndexOf(string) - IL_0050: ldstr "$(noinherit)" - IL_0055: call instance int32 string::get_Length() - IL_005a: callvirt instance string string::Remove(int32, int32) - IL_005f: stloc.0 - IL_0060: nop - IL_0061: ldloc.0 - IL_0062: ldc.i4.s 0x20 - IL_0064: ldc.i4.0 - IL_0065: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_006a: stloc.1 - IL_006b: ldc.i4.0 - IL_006c: stloc.2 - IL_006d: br IL_00a0 + IL_0018: br IL_0037 - IL_0072: nop - IL_0073: ldloc.1 - IL_0074: ldloc.2 - IL_0075: ldelem.ref - IL_0076: stloc.3 - IL_0077: ldloc.3 - IL_0078: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_007d: ldstr ".obj" - IL_0082: call bool string::op_Equality(string, string) - IL_0087: brfalse IL_009b + IL_001d: ldc.i4.7 + IL_001e: ldc.i4.0 + IL_001f: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) + IL_0024: stloc.1 + IL_0025: br IL_0057 - IL_008c: nop - IL_008d: ldarg.0 - IL_008e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_0093: ldloc.2 - IL_0094: ldloc.3 - IL_0095: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) - IL_009a: nop - IL_009b: nop - IL_009c: ldloc.2 - IL_009d: ldc.i4.1 - IL_009e: add - IL_009f: stloc.2 - IL_00a0: ldloc.2 - IL_00a1: ldloc.1 - IL_00a2: ldlen - IL_00a3: conv.i4 - IL_00a4: blt IL_0072 + IL_002a: ldc.i4.7 + IL_002b: ldc.i4.1 + IL_002c: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) + IL_0031: stloc.1 + IL_0032: br IL_0057 - IL_00a9: nop - IL_00aa: ldarg.0 - IL_00ab: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_00b0: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_00b5: brtrue IL_00c3 + IL_0037: ldstr "Invalid product version \"" + IL_003c: ldarg.0 + IL_003d: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() + IL_0042: box NAnt.VSNet.ProductVersion + IL_0047: ldstr "\"." + IL_004c: call string string::Concat(object, object, object) + IL_0051: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) + IL_0056: throw + IL_0057: ldloc.1 + IL_0058: ret + } // end of method ProjectBase::get_ProductVersionNumber - IL_00ba: nop - IL_00bb: ldnull - IL_00bc: stloc.s 4 - IL_00be: br IL_01b8 + // method line 157 + .method public virtual hidebysig newslot abstract + instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project, bool isPrivateSpecified, bool isPrivate) cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::CreateProjectReference - IL_00c3: ldsfld string [mscorlib]System.String::Empty - IL_00c8: stloc.s 5 - IL_00ca: ldarg.0 - IL_00cb: call instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_00d0: stloc.s 6 - IL_00d2: ldloc.s 6 - IL_00d4: ldc.i4.1 - IL_00d5: beq IL_00e7 + // method line 158 + .method public hidebysig + instance default bool Compile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x6270 + // Code size 166 (0xa6) + .maxstack 7 + .locals init ( + class NAnt.VSNet.ConfigurationBase V_0, + bool V_1, + valuetype NAnt.VSNet.BuildResult V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: brtrue IL_003f - IL_00da: ldloc.s 6 - IL_00dc: ldc.i4.2 - IL_00dd: beq IL_00f3 + IL_0014: nop + IL_0015: ldarg.0 + IL_0016: ldc.i4 3000 + IL_001b: ldstr "Skipping '{0}' [{1}] ..." + IL_0020: ldc.i4.2 + IL_0021: newarr [mscorlib]System.Object + IL_0026: dup + IL_0027: ldc.i4.0 + IL_0028: ldarg.0 + IL_0029: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_002e: stelem.ref + IL_002f: dup + IL_0030: ldc.i4.1 + IL_0031: ldarg.1 + IL_0032: stelem.ref + IL_0033: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0038: ldc.i4.1 + IL_0039: stloc.1 + IL_003a: br IL_00a4 - IL_00e2: br IL_00ff + IL_003f: ldarg.0 + IL_0040: ldc.i4 3000 + IL_0045: ldstr "Building '{0}' [{1}] ..." + IL_004a: ldc.i4.2 + IL_004b: newarr [mscorlib]System.Object + IL_0050: dup + IL_0051: ldc.i4.0 + IL_0052: ldarg.0 + IL_0053: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0058: stelem.ref + IL_0059: dup + IL_005a: ldc.i4.1 + IL_005b: ldloc.0 + IL_005c: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_0061: stelem.ref + IL_0062: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0067: ldarg.0 + IL_0068: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() + IL_006d: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0072: brtrue IL_008f - IL_00e7: ldstr ".exe" - IL_00ec: stloc.s 5 - IL_00ee: br IL_00ff + IL_0077: nop + IL_0078: ldarg.0 + IL_0079: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() + IL_007e: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0083: ldarg.0 + IL_0084: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() + IL_0089: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_008e: nop + IL_008f: ldarg.0 + IL_0090: ldarg.1 + IL_0091: callvirt instance valuetype NAnt.VSNet.BuildResult class NAnt.VSNet.ProjectBase::Build(class NAnt.VSNet.Configuration) + IL_0096: stloc.2 + IL_0097: ldloc.2 + IL_0098: ldc.i4.0 + IL_0099: ceq + IL_009b: ldc.i4.0 + IL_009c: ceq + IL_009e: stloc.1 + IL_009f: br IL_00a4 - IL_00f3: ldstr ".dll" - IL_00f8: stloc.s 5 - IL_00fa: br IL_00ff + IL_00a4: ldloc.1 + IL_00a5: ret + } // end of method ProjectBase::Compile - IL_00ff: ldarg.0 - IL_0100: ldstr "VCLinkerTool" - IL_0105: ldstr "OutputFile" - IL_010a: ldstr "$(OutDir)/$(ProjectName)" - IL_010f: ldloc.s 5 - IL_0111: call string string::Concat(string, string) - IL_0116: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_011b: stloc.s 7 - IL_011d: ldloc.s 7 - IL_011f: call bool string::IsNullOrEmpty(string) - IL_0124: brfalse IL_015f - - IL_0129: nop - IL_012a: ldarg.0 - IL_012b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0130: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0135: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_013a: ldarg.0 - IL_013b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles - IL_0140: ldc.i4.0 - IL_0141: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_0146: castclass [mscorlib]System.String - IL_014b: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0150: ldloc.s 5 - IL_0152: call string string::Concat(string, string) - IL_0157: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_015c: stloc.s 7 - IL_015e: nop - IL_015f: ldarg.0 - IL_0160: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0165: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() - IL_016a: brfalse IL_0194 + // method line 159 + .method public hidebysig + instance default string GetOutputPath (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x6324 + // Code size 42 (0x2a) + .maxstack 2 + .locals init ( + class NAnt.VSNet.ConfigurationBase V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: brtrue IL_001c - IL_016f: nop - IL_0170: ldarg.0 - IL_0171: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0176: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() - IL_017b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0180: ldloc.s 7 - IL_0182: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0187: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_018c: stloc.s 7 - IL_018e: nop - IL_018f: br IL_01af + IL_0014: nop + IL_0015: ldnull + IL_0016: stloc.1 + IL_0017: br IL_0028 - IL_0194: nop - IL_0195: ldarg.0 - IL_0196: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_019b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_01a0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01a5: ldloc.s 7 - IL_01a7: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_01ac: stloc.s 7 - IL_01ae: nop - IL_01af: ldloc.s 7 - IL_01b1: stloc.s 4 - IL_01b3: br IL_01b8 + IL_001c: ldloc.0 + IL_001d: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_0022: stloc.1 + IL_0023: br IL_0028 - IL_01b8: ldloc.s 4 - IL_01ba: ret - } // end of method VcProjectConfiguration::GetLinkerOutputFile + IL_0028: ldloc.1 + IL_0029: ret + } // end of method ProjectBase::GetOutputPath - // method line 132 - .method private static hidebysig - default string GetXmlAttributeValue (class [System.Xml]System.Xml.XmlNode xmlNode, string attributeName) cil managed + // method line 160 + .method public hidebysig + instance default class NAnt.VSNet.ConfigurationBase GetConfiguration (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x6c04 - // Code size 58 (0x3a) + // Method begins at RVA 0x635c + // Code size 21 (0x15) .maxstack 2 .locals init ( - string V_0, - class [System.Xml]System.Xml.XmlAttribute V_1, - string V_2) + class NAnt.VSNet.ConfigurationBase V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: brfalse IL_0031 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0009: nop - IL_000a: ldarg.0 - IL_000b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0010: ldarg.1 - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) - IL_0016: castclass [System.Xml]System.Xml.XmlAttribute - IL_001b: stloc.1 - IL_001c: ldloc.1 - IL_001d: brfalse IL_0030 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ProjectBase::GetConfiguration - IL_0022: nop - IL_0023: ldloc.1 - IL_0024: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0029: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_002e: stloc.0 - IL_002f: nop - IL_0030: nop - IL_0031: ldloc.0 - IL_0032: stloc.2 - IL_0033: br IL_0038 + // method line 161 + .method public hidebysig + instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x6380 + // Code size 356 (0x164) + .maxstack 7 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0, + class NAnt.VSNet.ReferenceBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [System]System.Collections.Specialized.StringCollection V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.Reflection.AssemblyName V_6, + class [mscorlib]System.Exception V_7, + class [mscorlib]System.IDisposable V_8, + class [mscorlib]System.IDisposable V_9, + class [System]System.Collections.Specialized.StringCollection V_10, + valuetype [mscorlib]System.Collections.DictionaryEntry V_11, + class [mscorlib]System.Collections.IDictionaryEnumerator V_12, + class [mscorlib]System.IDisposable V_13, + class [System]System.Collections.Specialized.StringCollection V_14) + IL_0000: nop + IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0006: stloc.0 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_000e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0013: stloc.2 + .try { // 2 + IL_0014: br IL_00d1 - IL_0038: ldloc.2 - IL_0039: ret - } // end of method VcProjectConfiguration::GetXmlAttributeValue + IL_0019: ldloc.2 + IL_001a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001f: castclass NAnt.VSNet.ReferenceBase + IL_0024: stloc.1 + IL_0025: nop + IL_0026: ldloc.1 + IL_0027: ldarg.1 + IL_0028: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_002d: stloc.3 + IL_002e: nop + IL_002f: ldloc.3 + IL_0030: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0035: stloc.s 5 + .try { // 1 + IL_0037: br IL_00a8 - .property instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Type () - { - .get instance default valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType NAnt.VSNet.VcProjectConfiguration::get_Type () - } - .property instance bool WholeProgramOptimization () - { - .get instance default bool NAnt.VSNet.VcProjectConfiguration::get_WholeProgramOptimization () - } - .property instance valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet CharacterSet () - { - .get instance default valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::get_CharacterSet () - } - .property instance bool ManagedExtensions () - { - .get instance default bool NAnt.VSNet.VcProjectConfiguration::get_ManagedExtensions () - } - .property instance valuetype NAnt.VSNet.Types.UseOfMFC UseOfMFC () - { - .get instance default valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::get_UseOfMFC () - } - .property instance valuetype NAnt.VSNet.Types.UseOfATL UseOfATL () - { - .get instance default valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::get_UseOfATL () - } - .property instance string RawRelativeOutputDir () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RawRelativeOutputDir () - } - .property instance string RawIntermediateDir () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RawIntermediateDir () - } - .property instance string RawReferencesPath () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RawReferencesPath () - } - .property instance class NAnt.VSNet.VcProjectConfiguration/LinkerConfig LinkerConfiguration () - { - .get instance default class NAnt.VSNet.VcProjectConfiguration/LinkerConfig NAnt.VSNet.VcProjectConfiguration::get_LinkerConfiguration () - } - .property instance class [mscorlib]System.Collections.ArrayList ObjFiles () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::get_ObjFiles () - } - .property instance class [mscorlib]System.Collections.Hashtable SourceConfigs () - { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs () - } - .property instance class [mscorlib]System.Collections.Hashtable RcConfigs () - { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::get_RcConfigs () - } - .property instance class [mscorlib]System.Collections.Hashtable IdlConfigs () - { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::get_IdlConfigs () - } - .property instance string TargetPath () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_TargetPath () - } - .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcProjectConfiguration::get_ObjectDir () - } - .property instance string RelativeOutputDir () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RelativeOutputDir () - } - .property instance string IntermediateDir () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_IntermediateDir () - } - .property instance string OutputPath () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_OutputPath () - } - .property instance string ReferencesPath () - { - .get instance default string NAnt.VSNet.VcProjectConfiguration::get_ReferencesPath () - } - .class nested public auto ansi sealed ConfigurationType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Makefile = int32(0x00000000) - .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Application = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType DynamicLibrary = int32(0x00000002) - .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType StaticLibrary = int32(0x00000004) - .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Utility = int32(0x0000000a) + IL_003c: ldloc.s 5 + IL_003e: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0043: stloc.s 4 + IL_0045: nop + .try { // 0 + IL_0046: nop + IL_0047: ldloc.s 4 + IL_0049: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) + IL_004e: stloc.s 6 + IL_0050: ldloc.0 + IL_0051: ldloc.s 6 + IL_0053: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() + IL_0058: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_005d: brtrue IL_0073 - } // end of class ConfigurationType + IL_0062: nop + IL_0063: ldloc.0 + IL_0064: ldloc.s 6 + IL_0066: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() + IL_006b: ldloc.s 4 + IL_006d: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0072: nop + IL_0073: nop + IL_0074: leave IL_00a7 - .class nested assembly auto ansi beforefieldinit LinkerConfig - extends [mscorlib]System.Object - { - .field private initonly class NAnt.VSNet.VcProjectConfiguration _projectConfig + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0079: stloc.s 7 + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: ldc.i4 4000 + IL_0082: ldstr "Referenced assembly \"{0}\" could not be loaded: {1}" + IL_0087: ldc.i4.2 + IL_0088: newarr [mscorlib]System.Object + IL_008d: dup + IL_008e: ldc.i4.0 + IL_008f: ldloc.s 4 + IL_0091: stelem.ref + IL_0092: dup + IL_0093: ldc.i4.1 + IL_0094: ldloc.s 7 + IL_0096: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_009b: stelem.ref + IL_009c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a1: nop + IL_00a2: leave IL_00a7 - // method line 133 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed - { - // Method begins at RVA 0x6c4a - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig - IL_000e: ret - } // end of method LinkerConfig::.ctor + } // end handler 0 + IL_00a7: nop + IL_00a8: ldloc.s 5 + IL_00aa: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00af: brtrue IL_003c - // method line 134 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ImportLibrary () cil managed - { - // Method begins at RVA 0x6c5c - // Code size 185 (0xb9) - .maxstack 4 - .locals init ( - string V_0, - string V_1, - class [mscorlib]System.IO.FileInfo V_2) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance class NAnt.VSNet.VcProject class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_Project() - IL_0009: ldarg.0 - IL_000a: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig - IL_000f: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0014: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.Tasks.SolutionTask::get_SolutionConfig() - IL_0019: callvirt instance bool class NAnt.VSNet.ProjectBase::IsManaged(class NAnt.VSNet.Configuration) - IL_001e: brtrue IL_002b + IL_00b4: leave IL_00d0 - IL_0023: nop - IL_0024: ldstr "$(OutDir)/$(TargetName).lib" - IL_0029: stloc.0 - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig - IL_0031: ldstr "VCLinkerTool" - IL_0036: ldstr "ImportLibrary" - IL_003b: ldloc.0 - IL_003c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_0041: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0046: stloc.1 - IL_0047: ldloc.1 - IL_0048: brtrue IL_0055 + } // end .try 1 + finally { // 1 + IL_00b9: ldloc.s 5 + IL_00bb: isinst [mscorlib]System.IDisposable + IL_00c0: dup + IL_00c1: stloc.s 8 + IL_00c3: brfalse IL_00cf - IL_004d: nop - IL_004e: ldnull - IL_004f: stloc.2 - IL_0050: br IL_00b7 + IL_00c8: ldloc.s 8 + IL_00ca: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00cf: endfinally + } // end handler 1 + IL_00d0: nop + IL_00d1: ldloc.2 + IL_00d2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00d7: brtrue IL_0019 - IL_0055: ldarg.0 - IL_0056: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig - IL_005b: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0060: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() - IL_0065: brfalse IL_0092 + IL_00dc: leave IL_00f7 - IL_006a: nop - IL_006b: ldarg.0 - IL_006c: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig - IL_0071: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0076: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() - IL_007b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0080: ldloc.1 - IL_0081: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0086: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_008b: stloc.1 - IL_008c: nop - IL_008d: br IL_00ab + } // end .try 2 + finally { // 2 + IL_00e1: ldloc.2 + IL_00e2: isinst [mscorlib]System.IDisposable + IL_00e7: dup + IL_00e8: stloc.s 9 + IL_00ea: brfalse IL_00f6 - IL_0092: nop - IL_0093: ldarg.0 - IL_0094: call instance class NAnt.VSNet.VcProject class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_Project() - IL_0099: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_009e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00a3: ldloc.1 - IL_00a4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00a9: stloc.1 - IL_00aa: nop - IL_00ab: ldloc.1 - IL_00ac: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00b1: stloc.2 - IL_00b2: br IL_00b7 + IL_00ef: ldloc.s 9 + IL_00f1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f6: endfinally + } // end handler 2 + IL_00f7: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_00fc: stloc.s 10 + IL_00fe: nop + IL_00ff: ldloc.0 + IL_0100: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0105: stloc.s 12 + .try { // 3 + IL_0107: br IL_0130 - IL_00b7: ldloc.2 - IL_00b8: ret - } // end of method LinkerConfig::get_ImportLibrary + IL_010c: ldloc.s 12 + IL_010e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0113: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0118: stloc.s 11 + IL_011a: nop + IL_011b: ldloc.s 10 + IL_011d: ldloca.s 11 + IL_011f: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0124: castclass [mscorlib]System.String + IL_0129: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_012e: pop + IL_012f: nop + IL_0130: ldloc.s 12 + IL_0132: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0137: brtrue IL_010c - // method line 135 - .method private hidebysig specialname - instance default class NAnt.VSNet.VcProject get_Project () cil managed - { - // Method begins at RVA 0x6d24 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.VSNet.VcProject V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig - IL_0007: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_000c: castclass NAnt.VSNet.VcProject - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_013c: leave IL_0158 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method LinkerConfig::get_Project + } // end .try 3 + finally { // 3 + IL_0141: ldloc.s 12 + IL_0143: isinst [mscorlib]System.IDisposable + IL_0148: dup + IL_0149: stloc.s 13 + IL_014b: brfalse IL_0157 - .property instance class [mscorlib]System.IO.FileInfo ImportLibrary () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_ImportLibrary () - } - .property instance class NAnt.VSNet.VcProject Project () - { - .get instance default class NAnt.VSNet.VcProject NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_Project () - } - } // end of class LinkerConfig + IL_0150: ldloc.s 13 + IL_0152: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0157: endfinally + } // end handler 3 + IL_0158: ldloc.s 10 + IL_015a: stloc.s 14 + IL_015c: br IL_0161 - } // end of class NAnt.VSNet.VcProjectConfiguration -} + IL_0161: ldloc.s 14 + IL_0163: ret + } // end of method ProjectBase::GetAssemblyReferences -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit Configuration - extends [mscorlib]System.Object - implements [mscorlib]System.IComparable { - .field private string _name - .field private string _platform - - // method line 136 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x6d49 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method Configuration::.ctor - - // method line 137 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name, string platform) cil managed - { - // Method begins at RVA 0x6d52 - // Code size 39 (0x27) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0018 - - IL_000d: ldstr "name" - IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0017: throw - IL_0018: ldarg.0 - IL_0019: ldarg.1 - IL_001a: stfld string NAnt.VSNet.Configuration::_name - IL_001f: ldarg.0 - IL_0020: ldarg.2 - IL_0021: stfld string NAnt.VSNet.Configuration::_platform - IL_0026: ret - } // end of method Configuration::.ctor - - // method line 138 - .method public hidebysig specialname - instance default string get_Name () cil managed + // method line 162 + .method public virtual hidebysig newslot + instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed { - // Method begins at RVA 0x6d7c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6524 + // Code size 386 (0x182) + .maxstack 3 .locals init ( - string V_0) + class NAnt.VSNet.ConfigurationBase V_0, + class NAnt.VSNet.ReferenceBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + valuetype [mscorlib]System.Collections.DictionaryEntry V_5, + class [mscorlib]System.Collections.IDictionaryEnumerator V_6, + class [mscorlib]System.IDisposable V_7, + valuetype [mscorlib]System.Collections.DictionaryEntry V_8, + class [mscorlib]System.Collections.IDictionaryEnumerator V_9, + class [mscorlib]System.IDisposable V_10) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.Configuration::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Configuration::get_Name + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: brtrue IL_001a - // method line 139 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0x6d97 - // Code size 26 (0x1a) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0012 + IL_0014: nop + IL_0015: br IL_0181 - IL_0007: ldstr "value" - IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0011: throw - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: stfld string NAnt.VSNet.Configuration::_name - IL_0019: ret - } // end of method Configuration::set_Name + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_0021: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0026: stloc.2 + .try { // 0 + IL_0027: br IL_0066 - // method line 140 - .method public hidebysig specialname - instance default string get_Platform () cil managed - { - // Method begins at RVA 0x6db4 - // Code size 37 (0x25) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.Configuration::_platform - IL_0007: brtrue IL_0017 + IL_002c: ldloc.2 + IL_002d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0032: castclass NAnt.VSNet.ReferenceBase + IL_0037: stloc.1 + IL_0038: nop + IL_0039: ldloc.1 + IL_003a: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_CopyLocal() + IL_003f: brtrue IL_004a - IL_000c: ldsfld string [mscorlib]System.String::Empty - IL_0011: stloc.0 - IL_0012: br IL_0023 + IL_0044: nop + IL_0045: leave IL_0066 - IL_0017: ldarg.0 - IL_0018: ldfld string NAnt.VSNet.Configuration::_platform - IL_001d: stloc.0 - IL_001e: br IL_0023 + IL_004a: ldarg.2 + IL_004b: ldloc.0 + IL_004c: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_0051: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0056: brtrue IL_0065 - IL_0023: ldloc.0 - IL_0024: ret - } // end of method Configuration::get_Platform + IL_005b: nop + IL_005c: ldloc.1 + IL_005d: ldarg.1 + IL_005e: ldarg.2 + IL_005f: callvirt instance void class NAnt.VSNet.ReferenceBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) + IL_0064: nop + IL_0065: nop + IL_0066: ldloc.2 + IL_0067: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_006c: brtrue IL_002c - // method line 141 - .method public hidebysig specialname - instance default void set_Platform (string 'value') cil managed - { - // Method begins at RVA 0x6de5 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VSNet.Configuration::_platform - IL_0008: ret - } // end of method Configuration::set_Platform + IL_0071: leave IL_008a - // method line 142 - .method public final virtual hidebysig newslot - instance default int32 CompareTo (object obj) cil managed - { - // Method begins at RVA 0x6df0 - // Code size 29 (0x1d) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance bool object::Equals(object) - IL_0008: brfalse IL_0014 + } // end .try 0 + finally { // 0 + IL_0076: ldloc.2 + IL_0077: isinst [mscorlib]System.IDisposable + IL_007c: dup + IL_007d: stloc.3 + IL_007e: brfalse IL_0089 - IL_000d: ldc.i4.0 - IL_000e: stloc.0 - IL_000f: br IL_001b + IL_0083: ldloc.3 + IL_0084: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0089: endfinally + } // end handler 0 + IL_008a: ldloc.0 + IL_008b: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_0090: stloc.s 4 + IL_0092: ldloc.s 4 + IL_0094: brfalse IL_0181 - IL_0014: ldc.i4.1 - IL_0015: stloc.0 - IL_0016: br IL_001b + IL_0099: ldloc.s 4 + IL_009b: call bool class [mscorlib]System.IO.File::Exists(string) + IL_00a0: brfalse IL_0181 - IL_001b: ldloc.0 - IL_001c: ret - } // end of method Configuration::CompareTo + IL_00a5: nop + IL_00a6: ldloc.s 4 + IL_00a8: ldarg.2 + IL_00a9: call void class NAnt.VSNet.ReferenceBase::GetRelatedFiles(string, class [mscorlib]System.Collections.Hashtable) + IL_00ae: nop + IL_00af: ldarg.0 + IL_00b0: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ProjectBase::get_ExtraOutputFiles() + IL_00b5: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_00ba: stloc.s 6 + .try { // 1 + IL_00bc: br IL_00ef - // method line 143 - .method public virtual hidebysig - instance default bool Equals (object obj) cil managed - { - // Method begins at RVA 0x6e1c - // Code size 105 (0x69) - .maxstack 4 - .locals init ( - bool V_0, - class NAnt.VSNet.Configuration V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_000e + IL_00c1: ldloc.s 6 + IL_00c3: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00c8: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_00cd: stloc.s 5 + IL_00cf: nop + IL_00d0: ldarg.2 + IL_00d1: ldloca.s 5 + IL_00d3: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_00d8: castclass [mscorlib]System.String + IL_00dd: ldloca.s 5 + IL_00df: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_00e4: castclass [mscorlib]System.String + IL_00e9: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00ee: nop + IL_00ef: ldloc.s 6 + IL_00f1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00f6: brtrue IL_00c1 - IL_0007: ldc.i4.0 - IL_0008: stloc.0 - IL_0009: br IL_0067 + IL_00fb: leave IL_0117 - IL_000e: ldarg.1 - IL_000f: isinst NAnt.VSNet.Configuration - IL_0014: stloc.1 - IL_0015: ldloc.1 - IL_0016: ldnull - IL_0017: call bool class NAnt.VSNet.Configuration::op_Equality(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) - IL_001c: brfalse IL_0028 + } // end .try 1 + finally { // 1 + IL_0100: ldloc.s 6 + IL_0102: isinst [mscorlib]System.IDisposable + IL_0107: dup + IL_0108: stloc.s 7 + IL_010a: brfalse IL_0116 - IL_0021: ldc.i4.0 - IL_0022: stloc.0 - IL_0023: br IL_0067 + IL_010f: ldloc.s 7 + IL_0111: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0116: endfinally + } // end handler 1 + IL_0117: nop + IL_0118: ldloc.0 + IL_0119: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles() + IL_011e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0123: stloc.s 9 + .try { // 2 + IL_0125: br IL_0158 - IL_0028: ldarg.0 - IL_0029: call instance string class NAnt.VSNet.Configuration::get_Name() - IL_002e: ldloc.1 - IL_002f: callvirt instance string class NAnt.VSNet.Configuration::get_Name() - IL_0034: ldc.i4.1 - IL_0035: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_003f: brtrue IL_0060 + IL_012a: ldloc.s 9 + IL_012c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0131: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0136: stloc.s 8 + IL_0138: nop + IL_0139: ldarg.2 + IL_013a: ldloca.s 8 + IL_013c: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0141: castclass [mscorlib]System.String + IL_0146: ldloca.s 8 + IL_0148: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_014d: castclass [mscorlib]System.String + IL_0152: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0157: nop + IL_0158: ldloc.s 9 + IL_015a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_015f: brtrue IL_012a - IL_0044: ldarg.0 - IL_0045: call instance string class NAnt.VSNet.Configuration::get_Platform() - IL_004a: ldloc.1 - IL_004b: callvirt instance string class NAnt.VSNet.Configuration::get_Platform() - IL_0050: ldc.i4.1 - IL_0051: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0056: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_005b: ldc.i4.0 - IL_005c: ceq - IL_005e: br.s IL_0061 + IL_0164: leave IL_0180 - IL_0060: ldc.i4.0 - IL_0061: stloc.0 - IL_0062: br IL_0067 + } // end .try 2 + finally { // 2 + IL_0169: ldloc.s 9 + IL_016b: isinst [mscorlib]System.IDisposable + IL_0170: dup + IL_0171: stloc.s 10 + IL_0173: brfalse IL_017f - IL_0067: ldloc.0 - IL_0068: ret - } // end of method Configuration::Equals + IL_0178: ldloc.s 10 + IL_017a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_017f: endfinally + } // end handler 2 + IL_0180: nop + IL_0181: ret + } // end of method ProjectBase::GetOutputFiles - // method line 144 - .method public virtual hidebysig - instance default int32 GetHashCode () cil managed + // method line 163 + .method public virtual hidebysig newslot abstract + instance default bool IsManaged (class NAnt.VSNet.Configuration configuration) cil managed { - // Method begins at RVA 0x6e94 - // Code size 52 (0x34) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.VSNet.Configuration::get_Name() - IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000c: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0011: callvirt instance int32 object::GetHashCode() - IL_0016: ldarg.0 - IL_0017: call instance string class NAnt.VSNet.Configuration::get_Platform() - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0026: callvirt instance int32 object::GetHashCode() - IL_002b: xor - IL_002c: stloc.0 - IL_002d: br IL_0032 - - IL_0032: ldloc.0 - IL_0033: ret - } // end of method Configuration::GetHashCode + // Method begins at RVA 0x0 + } // end of method ProjectBase::IsManaged - // method line 145 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 164 + .method famorassem virtual hidebysig newslot + instance default string ExpandMacro (string macro) cil managed { - // Method begins at RVA 0x6ed4 - // Code size 60 (0x3c) - .maxstack 3 + // Method begins at RVA 0x66dc + // Code size 231 (0xe7) + .maxstack 2 .locals init ( - string V_0) + string V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.VSNet.Configuration::get_Platform() - IL_0007: callvirt instance int32 string::get_Length() - IL_000c: brtrue IL_001e + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_00de - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance string class NAnt.VSNet.Configuration::get_Name() - IL_0018: stloc.0 - IL_0019: br IL_003a + IL_0013: ldloc.0 + IL_0014: ldstr "projectname" + IL_0019: call bool string::op_Equality(string, string) + IL_001e: brtrue IL_0078 - IL_001e: ldarg.0 - IL_001f: call instance string class NAnt.VSNet.Configuration::get_Name() - IL_0024: ldstr "|" - IL_0029: ldarg.0 - IL_002a: call instance string class NAnt.VSNet.Configuration::get_Platform() - IL_002f: call string string::Concat(string, string, string) - IL_0034: stloc.0 - IL_0035: br IL_003a + IL_0023: ldloc.0 + IL_0024: ldstr "projectpath" + IL_0029: call bool string::op_Equality(string, string) + IL_002e: brtrue IL_0084 - IL_003a: ldloc.0 - IL_003b: ret - } // end of method Configuration::ToString + IL_0033: ldloc.0 + IL_0034: ldstr "projectfilename" + IL_0039: call bool string::op_Equality(string, string) + IL_003e: brtrue IL_0090 - // method line 146 - .method public static hidebysig specialname - default bool op_Equality (class NAnt.VSNet.Configuration c1, class NAnt.VSNet.Configuration c2) cil managed - { - // Method begins at RVA 0x6f1c - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0012 + IL_0043: ldloc.0 + IL_0044: ldstr "projectext" + IL_0049: call bool string::op_Equality(string, string) + IL_004e: brtrue IL_00a1 - IL_0007: nop - IL_0008: ldarg.1 - IL_0009: ldnull - IL_000a: ceq - IL_000c: stloc.0 - IL_000d: br IL_001f + IL_0053: ldloc.0 + IL_0054: ldstr "projectdir" + IL_0059: call bool string::op_Equality(string, string) + IL_005e: brtrue IL_00b2 - IL_0012: ldarg.0 - IL_0013: ldarg.1 - IL_0014: callvirt instance bool object::Equals(object) - IL_0019: stloc.0 - IL_001a: br IL_001f + IL_0063: ldloc.0 + IL_0064: ldstr "devenvdir" + IL_0069: call bool string::op_Equality(string, string) + IL_006e: brtrue IL_00d2 - IL_001f: ldloc.0 - IL_0020: ret - } // end of method Configuration::op_Equality + IL_0073: br IL_00de - // method line 147 - .method public static hidebysig specialname - default bool op_Inequality (class NAnt.VSNet.Configuration c1, class NAnt.VSNet.Configuration c2) cil managed - { - // Method begins at RVA 0x6f4c - // Code size 19 (0x13) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call bool class NAnt.VSNet.Configuration::op_Equality(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) - IL_0008: ldc.i4.0 - IL_0009: ceq - IL_000b: stloc.0 - IL_000c: br IL_0011 + IL_0078: ldarg.0 + IL_0079: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_007e: stloc.1 + IL_007f: br IL_00e5 - IL_0011: ldloc.0 - IL_0012: ret - } // end of method Configuration::op_Inequality + IL_0084: ldarg.0 + IL_0085: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_008a: stloc.1 + IL_008b: br IL_00e5 - // method line 148 - .method public static hidebysig - default class NAnt.VSNet.Configuration Parse (string config) cil managed - { - // Method begins at RVA 0x6f6c - // Code size 95 (0x5f) - .maxstack 4 - .locals init ( - int32 V_0, - class NAnt.VSNet.Configuration V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 + IL_0090: ldarg.0 + IL_0091: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_0096: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_009b: stloc.1 + IL_009c: br IL_00e5 - IL_0007: nop - IL_0008: ldstr "config" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: ldstr "|" - IL_0019: callvirt instance int32 string::IndexOf(string) - IL_001e: stloc.0 - IL_001f: ldloc.0 - IL_0020: ldc.i4.0 - IL_0021: ble IL_004f + IL_00a1: ldarg.0 + IL_00a2: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_00a7: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_00ac: stloc.1 + IL_00ad: br IL_00e5 - IL_0026: ldloc.0 - IL_0027: ldarg.0 - IL_0028: callvirt instance int32 string::get_Length() - IL_002d: bge IL_004f - - IL_0032: nop - IL_0033: ldarg.0 - IL_0034: ldc.i4.0 - IL_0035: ldloc.0 - IL_0036: callvirt instance string string::Substring(int32, int32) - IL_003b: ldarg.0 - IL_003c: ldloc.0 - IL_003d: ldc.i4.1 - IL_003e: add - IL_003f: callvirt instance string string::Substring(int32) - IL_0044: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) - IL_0049: stloc.1 - IL_004a: br IL_005d - - IL_004f: nop - IL_0050: ldarg.0 - IL_0051: ldnull - IL_0052: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) - IL_0057: stloc.1 - IL_0058: br IL_005d + IL_00b2: ldarg.0 + IL_00b3: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_00b8: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00bd: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00c2: box [mscorlib]System.Char + IL_00c7: call string string::Concat(object, object) + IL_00cc: stloc.1 + IL_00cd: br IL_00e5 - IL_005d: ldloc.1 - IL_005e: ret - } // end of method Configuration::Parse + IL_00d2: ldarg.0 + IL_00d3: callvirt instance string class NAnt.VSNet.ProjectBase::get_DevEnvDir() + IL_00d8: stloc.1 + IL_00d9: br IL_00e5 - .property instance string Name () - { - .get instance default string NAnt.VSNet.Configuration::get_Name () - .set instance default void NAnt.VSNet.Configuration::set_Name (string 'value') - } - .property instance string Platform () - { - .get instance default string NAnt.VSNet.Configuration::get_Platform () - .set instance default void NAnt.VSNet.Configuration::set_Platform (string 'value') - } - } // end of class NAnt.VSNet.Configuration -} + IL_00de: ldnull + IL_00df: stloc.1 + IL_00e0: br IL_00e5 -.namespace NAnt.VSNet -{ - .class public auto ansi abstract beforefieldinit FileReferenceBase - extends NAnt.VSNet.ReferenceBase - { - .field private initonly class [System.Xml]System.Xml.XmlElement _xmlDefinition - .field private initonly class [NAnt.Core]NAnt.Core.Util.GacCache _gacCache + IL_00e5: ldloc.1 + IL_00e6: ret + } // end of method ProjectBase::ExpandMacro - // method line 149 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed + // method line 165 + .method family virtual hidebysig newslot abstract + instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0x6fd7 - // Code size 62 (0x3e) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: call instance void class NAnt.VSNet.ReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) - IL_0008: nop - IL_0009: ldarg.1 - IL_000a: brtrue IL_001b - - IL_000f: nop - IL_0010: ldstr "xmlDefinition" - IL_0015: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001a: throw - IL_001b: ldarg.s 4 - IL_001d: brtrue IL_002e + // Method begins at RVA 0x0 + } // end of method ProjectBase::DetermineProductVersion - IL_0022: nop - IL_0023: ldstr "gacCache" - IL_0028: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002d: throw - IL_002e: ldarg.0 - IL_002f: ldarg.1 - IL_0030: stfld class [System.Xml]System.Xml.XmlElement NAnt.VSNet.FileReferenceBase::_xmlDefinition - IL_0035: ldarg.0 - IL_0036: ldarg.s 4 - IL_0038: stfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.FileReferenceBase::_gacCache - IL_003d: ret - } // end of method FileReferenceBase::.ctor + // method line 166 + .method family virtual hidebysig newslot abstract + instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectBase::VerifyProjectXml - // method line 150 - .method family hidebysig specialname - instance default class [System.Xml]System.Xml.XmlElement get_XmlDefinition () cil managed + // method line 167 + .method family virtual hidebysig newslot + instance default void Prepare (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x7018 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x67d0 + // Code size 333 (0x14d) + .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlElement V_0) + class [mscorlib]System.Collections.Hashtable V_0, + class [NAnt.Core]NAnt.Core.Tasks.AttribTask V_1, + class NAnt.VSNet.ConfigurationBase V_2, + valuetype [mscorlib]System.Collections.DictionaryEntry V_3, + class [mscorlib]System.Collections.IDictionaryEnumerator V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlElement NAnt.VSNet.FileReferenceBase::_xmlDefinition - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldloc.0 + IL_000a: callvirt instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) + IL_000f: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.AttribTask::'.ctor'() + IL_0014: stloc.1 + IL_0015: ldloc.1 + IL_0016: ldarg.0 + IL_0017: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_001c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0021: ldloc.1 + IL_0022: ldarg.0 + IL_0023: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0028: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_002d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0032: ldloc.1 + IL_0033: ldarg.0 + IL_0034: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0039: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_003e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0043: ldloc.1 + IL_0044: ldarg.0 + IL_0045: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_004a: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_004f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0054: ldloc.1 + IL_0055: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_005a: brtrue IL_006c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileReferenceBase::get_XmlDefinition + IL_005f: nop + IL_0060: ldloc.1 + IL_0061: ldc.i4 4000 + IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_006b: nop + IL_006c: ldloc.1 + IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0072: ldloc.1 + IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_0078: ldloc.1 + IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_007e: ldloc.1 + IL_007f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_0084: ldloc.1 + IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_008a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_008f: ldloc.1 + IL_0090: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_0095: ldloc.1 + IL_0096: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00a0: ldloc.1 + IL_00a1: ldc.i4.0 + IL_00a2: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.AttribTask::set_ReadOnlyAttrib(bool) + IL_00a7: ldarg.0 + IL_00a8: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_00ad: ldarg.1 + IL_00ae: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_00b3: stloc.2 + IL_00b4: nop + IL_00b5: ldloc.0 + IL_00b6: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_00bb: stloc.s 4 + .try { // 0 + IL_00bd: br IL_00fe - // method line 151 - .method family hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Util.GacCache get_GacCache () cil managed - { - // Method begins at RVA 0x7034 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Util.GacCache V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.FileReferenceBase::_gacCache - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00c2: ldloc.s 4 + IL_00c4: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00c9: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_00ce: stloc.3 + IL_00cf: nop + IL_00d0: ldloc.1 + IL_00d1: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() + IL_00d6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_00db: ldloc.2 + IL_00dc: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_00e1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00e6: ldloca.s 3 + IL_00e8: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_00ed: castclass [mscorlib]System.String + IL_00f2: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00f7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00fc: pop + IL_00fd: nop + IL_00fe: ldloc.s 4 + IL_0100: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0105: brtrue IL_00c2 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FileReferenceBase::get_GacCache + IL_010a: leave IL_0126 - // method line 152 - .method public virtual hidebysig - instance default bool IsManaged (class NAnt.VSNet.Configuration config) cil managed + } // end .try 0 + finally { // 0 + IL_010f: ldloc.s 4 + IL_0111: isinst [mscorlib]System.IDisposable + IL_0116: dup + IL_0117: stloc.s 5 + IL_0119: brfalse IL_0125 + + IL_011e: ldloc.s 5 + IL_0120: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0125: endfinally + } // end handler 0 + IL_0126: ldloc.1 + IL_0127: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_012c: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 1 + IL_0131: nop + IL_0132: ldloc.1 + IL_0133: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0138: nop + IL_0139: leave IL_014c + + } // end .try 1 + finally { // 1 + IL_013e: nop + IL_013f: ldloc.1 + IL_0140: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0145: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_014a: nop + IL_014b: endfinally + } // end handler 1 + IL_014c: ret + } // end of method ProjectBase::Prepare + + // method line 168 + .method family virtual hidebysig newslot abstract + instance default valuetype NAnt.VSNet.BuildResult Build (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x7050 - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x0 + } // end of method ProjectBase::Build + + // method line 169 + .method family hidebysig + instance default void CopyFile (class [mscorlib]System.IO.FileInfo srcFile, class [mscorlib]System.IO.FileInfo destFile, class [NAnt.Core]NAnt.Core.Task parent) cil managed + { + // Method begins at RVA 0x6948 + // Code size 179 (0xb3) + .maxstack 2 .locals init ( - bool V_0) + class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0) IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.3 + IL_0009: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_000e: ldloc.0 + IL_000f: ldarg.3 + IL_0010: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0015: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_001a: ldloc.0 + IL_001b: ldarg.3 + IL_001c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0026: ldloc.0 + IL_0027: ldarg.3 + IL_0028: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_002d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0032: ldloc.0 + IL_0033: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0038: brtrue IL_004a - IL_0008: ldloc.0 - IL_0009: ret - } // end of method FileReferenceBase::IsManaged + IL_003d: nop + IL_003e: ldloc.0 + IL_003f: ldc.i4 4000 + IL_0044: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0050: ldloc.0 + IL_0051: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0056: ldloc.0 + IL_0057: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_005c: ldloc.0 + IL_005d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0062: ldloc.0 + IL_0063: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0068: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_006d: ldloc.0 + IL_006e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0073: ldloc.0 + IL_0074: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_007e: ldloc.0 + IL_007f: ldarg.1 + IL_0080: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_SourceFile(class [mscorlib]System.IO.FileInfo) + IL_0085: ldloc.0 + IL_0086: ldarg.2 + IL_0087: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToFile(class [mscorlib]System.IO.FileInfo) + IL_008c: ldloc.0 + IL_008d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0092: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 0 + IL_0097: nop + IL_0098: ldloc.0 + IL_0099: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_009e: nop + IL_009f: leave IL_00b2 - // method line 153 + } // end .try 0 + finally { // 0 + IL_00a4: nop + IL_00a5: ldloc.0 + IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00ab: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_00b0: nop + IL_00b1: endfinally + } // end handler 0 + IL_00b2: ret + } // end of method ProjectBase::CopyFile + + // method line 170 .method family hidebysig - instance default void GetAssemblyOutputFiles (string assemblyFile, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + instance default bool ExecuteBuildEvent (string buildEvent, string buildCommandLine, string batchFile, string workingDirectory, class NAnt.VSNet.ConfigurationBase config) cil managed { - // Method begins at RVA 0x7068 - // Code size 131 (0x83) - .maxstack 4 + // Method begins at RVA 0x6a18 + // Code size 362 (0x16a) + .maxstack 7 .locals init ( - string[] V_0, - string V_1, - string[] V_2, - int32 V_3) + class [mscorlib]System.IO.StreamWriter V_0, + class [System]System.Diagnostics.ProcessStartInfo V_1, + class [System]System.Diagnostics.Process V_2, + string V_3, + int32 V_4, + bool V_5) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0007: brtrue IL_0012 - - IL_000c: nop - IL_000d: br IL_0082 - - IL_0012: ldarg.2 - IL_0013: ldarg.1 - IL_0014: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0019: brtrue IL_0082 + IL_0001: ldarg.3 + IL_0002: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_0007: stloc.0 + .try { // 0 + IL_0008: nop + IL_0009: ldloc.0 + IL_000a: ldstr "@echo off" + IL_000f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0014: ldarg.s 5 + IL_0016: ldarg.2 + IL_0017: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_001c: starg.s 2 + IL_001e: ldarg.2 + IL_001f: ldstr " " + IL_0024: ldstr "\n" + IL_0029: callvirt instance string string::Replace(string, string) + IL_002e: starg.s 2 + IL_0030: ldloc.0 + IL_0031: ldarg.2 + IL_0032: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0037: ldloc.0 + IL_0038: ldstr "if errorlevel 1 goto EventReportError" + IL_003d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0042: ldloc.0 + IL_0043: ldstr "goto EventEnd" + IL_0048: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_004d: ldloc.0 + IL_004e: ldstr ":EventReportError" + IL_0053: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0058: ldloc.0 + IL_0059: ldstr "echo Project error: A tool returned an error code from the build event" + IL_005e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0063: ldloc.0 + IL_0064: ldstr "exit 1" + IL_0069: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_006e: ldloc.0 + IL_006f: ldstr ":EventEnd" + IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0079: nop + IL_007a: leave IL_008c - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: ldarg.1 - IL_0021: call instance string[] class NAnt.VSNet.FileReferenceBase::GetAllReferencedModules(string) - IL_0026: stloc.0 - IL_0027: nop - IL_0028: ldloc.0 - IL_0029: stloc.2 - IL_002a: ldc.i4.0 - IL_002b: stloc.3 - IL_002c: br IL_0078 + } // end .try 0 + finally { // 0 + IL_007f: ldloc.0 + IL_0080: brfalse IL_008b - IL_0031: ldloc.2 - IL_0032: ldloc.3 - IL_0033: ldelem.ref - IL_0034: stloc.1 - IL_0035: nop - IL_0036: ldloc.1 - IL_0037: ldarg.1 - IL_0038: ldc.i4.1 - IL_0039: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0043: brfalse IL_006c + IL_0085: ldloc.0 + IL_0086: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_008b: endfinally + } // end handler 0 + IL_008c: ldarg.3 + IL_008d: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string) + IL_0092: stloc.1 + IL_0093: ldloc.1 + IL_0094: ldc.i4.0 + IL_0095: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_UseShellExecute(bool) + IL_009a: ldloc.1 + IL_009b: ldc.i4.1 + IL_009c: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardOutput(bool) + IL_00a1: ldloc.1 + IL_00a2: ldarg.s 4 + IL_00a4: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_00a9: ldloc.1 + IL_00aa: call class [System]System.Diagnostics.Process class [System]System.Diagnostics.Process::Start(class [System]System.Diagnostics.ProcessStartInfo) + IL_00af: stloc.2 + IL_00b0: nop + IL_00b1: nop + IL_00b2: ldloc.2 + IL_00b3: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardOutput() + IL_00b8: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_00bd: stloc.3 + IL_00be: ldloc.3 + IL_00bf: brtrue IL_00ca - IL_0048: nop - IL_0049: ldarg.0 - IL_004a: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_IsSystem() - IL_004f: brtrue IL_0065 + IL_00c4: nop + IL_00c5: br IL_00f6 - IL_0054: ldarg.0 - IL_0055: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.FileReferenceBase::get_GacCache() - IL_005a: ldloc.1 - IL_005b: callvirt instance bool class [NAnt.Core]NAnt.Core.Util.GacCache::IsAssemblyInGac(string) - IL_0060: brfalse IL_006b + IL_00ca: ldarg.0 + IL_00cb: ldc.i4 2000 + IL_00d0: ldstr " [" + IL_00d5: ldarg.1 + IL_00d6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00db: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_00e0: ldstr "] " + IL_00e5: ldloc.3 + IL_00e6: call string string::Concat(string, string, string, string) + IL_00eb: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00f0: nop + IL_00f1: br IL_00b0 - IL_0065: nop - IL_0066: br IL_0074 + IL_00f6: ldloc.2 + IL_00f7: callvirt instance void class [System]System.Diagnostics.Process::WaitForExit() + IL_00fc: ldloc.2 + IL_00fd: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() + IL_0102: stloc.s 4 + IL_0104: ldloc.s 4 + IL_0106: brtrue IL_012c - IL_006b: nop - IL_006c: ldloc.1 - IL_006d: ldarg.2 - IL_006e: call void class NAnt.VSNet.ReferenceBase::GetRelatedFiles(string, class [mscorlib]System.Collections.Hashtable) - IL_0073: nop - IL_0074: ldloc.3 - IL_0075: ldc.i4.1 - IL_0076: add - IL_0077: stloc.3 - IL_0078: ldloc.3 - IL_0079: ldloc.2 - IL_007a: ldlen - IL_007b: conv.i4 - IL_007c: blt IL_0031 + IL_010b: nop + IL_010c: ldarg.0 + IL_010d: ldc.i4 2000 + IL_0112: ldstr "{0} succeeded (exit code = 0)" + IL_0117: ldc.i4.1 + IL_0118: newarr [mscorlib]System.Object + IL_011d: dup + IL_011e: ldc.i4.0 + IL_011f: ldarg.1 + IL_0120: stelem.ref + IL_0121: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0126: nop + IL_0127: br IL_0152 - IL_0081: nop - IL_0082: ret - } // end of method FileReferenceBase::GetAssemblyOutputFiles + IL_012c: nop + IL_012d: ldarg.0 + IL_012e: ldc.i4 5000 + IL_0133: ldstr "{0} failed with exit code = {1}" + IL_0138: ldc.i4.2 + IL_0139: newarr [mscorlib]System.Object + IL_013e: dup + IL_013f: ldc.i4.0 + IL_0140: ldarg.1 + IL_0141: stelem.ref + IL_0142: dup + IL_0143: ldc.i4.1 + IL_0144: ldloc.s 4 + IL_0146: box [mscorlib]System.Int32 + IL_014b: stelem.ref + IL_014c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0151: nop + IL_0152: ldloc.s 4 + IL_0154: brtrue IL_015f - // method line 154 - .method private hidebysig - instance default string[] GetAllReferencedModules (string module) cil managed + IL_0159: ldc.i4.1 + IL_015a: br IL_0160 + + IL_015f: ldc.i4.0 + IL_0160: stloc.s 5 + IL_0162: br IL_0167 + + IL_0167: ldloc.s 5 + IL_0169: ret + } // end of method ProjectBase::ExecuteBuildEvent + + // method line 171 + .method family hidebysig + instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x70f8 - // Code size 201 (0xc9) - .maxstack 5 - .locals init ( - string V_0, - string V_1, - class [mscorlib]System.Collections.Hashtable V_2, - class [mscorlib]System.Collections.Hashtable V_3, - class [mscorlib]System.Collections.IDictionaryEnumerator V_4, - string V_5, - class [mscorlib]System.Exception V_6, - string[] V_7, - string[] V_8) + // Method begins at RVA 0x6ba0 + // Code size 28 (0x1c) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_000e: stloc.1 - IL_000f: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0014: stloc.2 - IL_0015: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_001a: stloc.3 - .try { // 0 - IL_001b: nop - IL_001c: ldloc.2 - IL_001d: ldloc.0 - IL_001e: ldnull - IL_001f: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0024: ldloc.3 - IL_0025: ldloc.0 - IL_0026: ldnull - IL_0027: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_002c: br IL_006b + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0007: brfalse IL_001b - IL_0031: nop - IL_0032: ldloc.3 - IL_0033: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0038: stloc.s 4 - IL_003a: ldloc.s 4 - IL_003c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0041: pop - IL_0042: ldloc.s 4 - IL_0044: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() - IL_0049: castclass [mscorlib]System.String - IL_004e: stloc.s 5 - IL_0050: ldloc.3 - IL_0051: ldloc.s 5 - IL_0053: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_0058: ldarg.0 - IL_0059: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ReferenceBase::get_ReferencesResolver() - IL_005e: ldloc.1 - IL_005f: ldloc.s 5 - IL_0061: ldloca.s 2 - IL_0063: ldloca.s 3 - IL_0065: callvirt instance void class NAnt.VSNet.ReferencesResolver::AppendReferencedModulesLocatedInGivenDirectory(string, string, [out] class [mscorlib]System.Collections.Hashtable&, [out] class [mscorlib]System.Collections.Hashtable&) - IL_006a: nop - IL_006b: ldloc.3 - IL_006c: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_0071: ldc.i4.0 - IL_0072: bgt IL_0031 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_001a: nop + IL_001b: ret + } // end of method ProjectBase::Log - IL_0077: nop - IL_0078: leave IL_009d + // method line 172 + .method family hidebysig + instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message, object[] args) cil managed + { + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_007d: stloc.s 6 - IL_007f: nop - IL_0080: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0085: ldstr "Error resolving module references of '{0}'." - IL_008a: ldloc.0 - IL_008b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0090: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0095: ldloc.s 6 - IL_0097: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_009c: throw - } // end handler 0 - IL_009d: ldloc.2 - IL_009e: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_00a3: callvirt instance int32 class [mscorlib]System.Collections.ICollection::get_Count() - IL_00a8: newarr [mscorlib]System.String - IL_00ad: stloc.s 7 - IL_00af: ldloc.2 - IL_00b0: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_00b5: ldloc.s 7 - IL_00b7: ldc.i4.0 - IL_00b8: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_00bd: ldloc.s 7 - IL_00bf: stloc.s 8 - IL_00c1: br IL_00c6 + // Method begins at RVA 0x6bbd + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0007: brfalse IL_001c - IL_00c6: ldloc.s 8 - IL_00c8: ret - } // end of method FileReferenceBase::GetAllReferencedModules + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: ldarg.3 + IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_001b: nop + IL_001c: ret + } // end of method ProjectBase::Log - .property instance class [System.Xml]System.Xml.XmlElement XmlDefinition () + .property instance valuetype NAnt.VSNet.ProductVersion ProductVersion () { - .get instance default class [System.Xml]System.Xml.XmlElement NAnt.VSNet.FileReferenceBase::get_XmlDefinition () + .get instance default valuetype NAnt.VSNet.ProductVersion NAnt.VSNet.ProjectBase::get_ProductVersion () + } + .property instance string Name () + { + .get instance default string NAnt.VSNet.ProjectBase::get_Name () + } + .property instance valuetype NAnt.VSNet.ProjectType Type () + { + .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.ProjectBase::get_Type () + } + .property instance string ProjectPath () + { + .get instance default string NAnt.VSNet.ProjectBase::get_ProjectPath () + } + .property instance class [mscorlib]System.IO.DirectoryInfo ProjectDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::get_ProjectDirectory () + } + .property instance valuetype NAnt.VSNet.ProjectLocation ProjectLocation () + { + .get instance default valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ProjectBase::get_ProjectLocation () + } + .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::get_ObjectDir () + } + .property instance string Guid () + { + .get instance default string NAnt.VSNet.ProjectBase::get_Guid () + .set instance default void NAnt.VSNet.ProjectBase::set_Guid (string 'value') + } + .property instance class NAnt.VSNet.ConfigurationDictionary ProjectConfigurations () + { + .get instance default class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::get_ProjectConfigurations () + } + .property instance class NAnt.VSNet.ConfigurationDictionary BuildConfigurations () + { + .get instance default class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::get_BuildConfigurations () + } + .property instance class [mscorlib]System.Collections.ArrayList References () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectBase::get_References () + } + .property instance class NAnt.VSNet.Tasks.SolutionTask SolutionTask () + { + .get instance default class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ProjectBase::get_SolutionTask () + } + .property instance class [System]System.CodeDom.Compiler.TempFileCollection TemporaryFiles () + { + .get instance default class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectBase::get_TemporaryFiles () + } + .property instance class [mscorlib]System.Collections.Hashtable ExtraOutputFiles () + { + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectBase::get_ExtraOutputFiles () + } + .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::get_OutputDir () } .property instance class [NAnt.Core]NAnt.Core.Util.GacCache GacCache () { - .get instance default class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.FileReferenceBase::get_GacCache () + .get instance default class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.ProjectBase::get_GacCache () } - } // end of class NAnt.VSNet.FileReferenceBase + .property instance class NAnt.VSNet.ReferencesResolver ReferencesResolver () + { + .get instance default class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ProjectBase::get_ReferencesResolver () + } + .property instance class NAnt.VSNet.ProjectBaseCollection ProjectDependencies () + { + .get instance default class NAnt.VSNet.ProjectBaseCollection NAnt.VSNet.ProjectBase::get_ProjectDependencies () + } + .property instance string DevEnvDir () + { + .get instance default string NAnt.VSNet.ProjectBase::get_DevEnvDir () + } + .property instance class [mscorlib]System.Version ProductVersionNumber () + { + .get instance default class [mscorlib]System.Version NAnt.VSNet.ProjectBase::get_ProductVersionNumber () + } + } // end of class NAnt.VSNet.ProjectBase } .namespace NAnt.VSNet { - .class public auto ansi abstract beforefieldinit ProjectBase - extends [mscorlib]System.Object + .class public auto ansi sealed ProjectType + extends [mscorlib]System.Enum { - .field private initonly valuetype NAnt.VSNet.ProductVersion _productVersion - .field private initonly class NAnt.VSNet.Tasks.SolutionTask _solutionTask - .field private initonly class [System]System.CodeDom.Compiler.TempFileCollection _temporaryFiles - .field private initonly class [mscorlib]System.IO.DirectoryInfo _outputDir - .field private initonly class NAnt.VSNet.ConfigurationDictionary _projectConfigurations - .field private initonly class NAnt.VSNet.ConfigurationDictionary _buildConfigurations - .field private initonly class [NAnt.Core]NAnt.Core.Util.GacCache _gacCache - .field private initonly class NAnt.VSNet.ReferencesResolver _refResolver - .field private initonly class [mscorlib]System.Collections.Hashtable _extraOutputFiles - .field private initonly class NAnt.VSNet.ProjectBaseCollection _projectDependencies - - // method line 155 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection temporaryFiles, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver referencesResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0x71e0 - // Code size 202 (0xca) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.VSNet.ProjectBaseCollection::'.ctor'() - IL_0006: stfld class NAnt.VSNet.ProjectBaseCollection NAnt.VSNet.ProjectBase::_projectDependencies - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: nop - IL_0012: ldarg.1 - IL_0013: brtrue IL_0024 + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.ProjectType VB = int32(0x00000000) + .field public static literal valuetype NAnt.VSNet.ProjectType CSharp = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.ProjectType VisualC = int32(0x00000002) + .field public static literal valuetype NAnt.VSNet.ProjectType JSharp = int32(0x00000003) + .field public static literal valuetype NAnt.VSNet.ProjectType MSBuild = int32(0x00000004) - IL_0018: nop - IL_0019: ldstr "xmlDefinition" - IL_001e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0023: throw - IL_0024: ldarg.2 - IL_0025: brtrue IL_0036 + } // end of class NAnt.VSNet.ProjectType +} - IL_002a: nop - IL_002b: ldstr "solutionTask" - IL_0030: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0035: throw - IL_0036: ldarg.3 - IL_0037: brtrue IL_0048 +.namespace NAnt.VSNet +{ + .class public auto ansi sealed BuildResult + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.BuildResult Failed = int32(0x00000000) + .field public static literal valuetype NAnt.VSNet.BuildResult Success = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.BuildResult SuccessOutputUpdated = int32(0x00000002) - IL_003c: nop - IL_003d: ldstr "temporaryFiles" - IL_0042: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0047: throw - IL_0048: ldarg.s 4 - IL_004a: brtrue IL_005b + } // end of class NAnt.VSNet.BuildResult +} - IL_004f: nop - IL_0050: ldstr "gacCache" - IL_0055: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_005a: throw - IL_005b: ldarg.s 5 - IL_005d: brtrue IL_006e +.namespace NAnt.VSNet +{ + .class public auto ansi sealed ProductVersion + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.ProductVersion Rainier = int32(0x00000046) + .field public static literal valuetype NAnt.VSNet.ProductVersion Everett = int32(0x00000047) + .field public static literal valuetype NAnt.VSNet.ProductVersion Whidbey = int32(0x00000050) + .field public static literal valuetype NAnt.VSNet.ProductVersion Orcas = int32(0x0000005a) + .field public static literal valuetype NAnt.VSNet.ProductVersion Rosario = int32(0x00000064) - IL_0062: nop - IL_0063: ldstr "referencesResolver" - IL_0068: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_006d: throw - IL_006e: ldarg.0 - IL_006f: newobj instance void class NAnt.VSNet.ConfigurationDictionary::'.ctor'() - IL_0074: stfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_projectConfigurations - IL_0079: ldarg.0 - IL_007a: newobj instance void class NAnt.VSNet.ConfigurationDictionary::'.ctor'() - IL_007f: stfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_buildConfigurations - IL_0084: ldarg.0 - IL_0085: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_008a: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectBase::_extraOutputFiles - IL_008f: ldarg.0 - IL_0090: ldarg.1 - IL_0091: callvirt instance void class NAnt.VSNet.ProjectBase::VerifyProjectXml(class [System.Xml]System.Xml.XmlElement) - IL_0096: ldarg.0 - IL_0097: ldarg.2 - IL_0098: stfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ProjectBase::_solutionTask - IL_009d: ldarg.0 - IL_009e: ldarg.3 - IL_009f: stfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectBase::_temporaryFiles - IL_00a4: ldarg.0 - IL_00a5: ldarg.s 6 - IL_00a7: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::_outputDir - IL_00ac: ldarg.0 - IL_00ad: ldarg.s 4 - IL_00af: stfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.ProjectBase::_gacCache - IL_00b4: ldarg.0 - IL_00b5: ldarg.s 5 - IL_00b7: stfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ProjectBase::_refResolver - IL_00bc: ldarg.0 - IL_00bd: ldarg.0 - IL_00be: ldarg.1 - IL_00bf: callvirt instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::DetermineProductVersion(class [System.Xml]System.Xml.XmlElement) - IL_00c4: stfld valuetype NAnt.VSNet.ProductVersion NAnt.VSNet.ProjectBase::_productVersion - IL_00c9: ret - } // end of method ProjectBase::.ctor + } // end of class NAnt.VSNet.ProductVersion +} - // method line 156 - .method public hidebysig specialname - instance default valuetype NAnt.VSNet.ProductVersion get_ProductVersion () cil managed - { - // Method begins at RVA 0x72b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProductVersion V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VSNet.ProductVersion NAnt.VSNet.ProjectBase::_productVersion - IL_0007: stloc.0 - IL_0008: br IL_000d +.namespace NAnt.VSNet +{ + .class public auto ansi sealed ProjectLocation + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.ProjectLocation Local = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.ProjectLocation Web = int32(0x00000002) - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectBase::get_ProductVersion + } // end of class NAnt.VSNet.ProjectLocation +} - // method line 157 - .method public virtual hidebysig newslot abstract specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x0 - } // end of method ProjectBase::get_Name +.namespace NAnt.VSNet +{ + .class public auto ansi serializable beforefieldinit ProjectBaseCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 158 - .method public virtual hidebysig newslot abstract specialname - instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed - { - // Method begins at RVA 0x0 - } // end of method ProjectBase::get_Type - // method line 159 - .method public virtual hidebysig newslot abstract specialname - instance default string get_ProjectPath () cil managed + // method line 173 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::get_ProjectPath + // Method begins at RVA 0x6bdb + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method ProjectBaseCollection::.ctor - // method line 160 - .method public virtual hidebysig newslot abstract specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ProjectDirectory () cil managed + // method line 174 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ProjectBaseCollection 'value') cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::get_ProjectDirectory + // Method begins at RVA 0x6be4 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VSNet.ProjectBaseCollection::AddRange(class NAnt.VSNet.ProjectBaseCollection) + IL_000e: ret + } // end of method ProjectBaseCollection::.ctor - // method line 161 - .method public virtual hidebysig newslot abstract specialname - instance default valuetype NAnt.VSNet.ProjectLocation get_ProjectLocation () cil managed + // method line 175 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ProjectBase[] 'value') cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::get_ProjectLocation + // Method begins at RVA 0x6bf4 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VSNet.ProjectBaseCollection::AddRange(class NAnt.VSNet.ProjectBase[]) + IL_000e: ret + } // end of method ProjectBaseCollection::.ctor - // method line 162 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed + // method line 176 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectBase get_Item (int32 index) cil managed { - // Method begins at RVA 0x72d4 - // Code size 154 (0x9a) + // Method begins at RVA 0x6c04 + // Code size 26 (0x1a) .maxstack 2 .locals init ( - valuetype NAnt.VSNet.ProjectLocation V_0, - string V_1, - string V_2, - string V_3, - class [mscorlib]System.IO.DirectoryInfo V_4, - valuetype NAnt.VSNet.ProjectLocation V_5) + class NAnt.VSNet.ProjectBase V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ProjectBase::get_ProjectLocation() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldc.i4.2 - IL_000a: beq IL_001b + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.VSNet.ProjectBase + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000f: ldloc.0 - IL_0010: ldc.i4.1 - IL_0011: beq IL_005b + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ProjectBaseCollection::get_Item - IL_0016: br IL_007c + // method line 177 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.VSNet.ProjectBase 'value') cil managed + { + // Method begins at RVA 0x6c2a + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method ProjectBaseCollection::set_Item - IL_001b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetHomeDirectory() - IL_0020: ldstr "VSWebCache" - IL_0025: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_002a: stloc.1 - IL_002b: ldloc.1 - IL_002c: call string class [mscorlib]System.Environment::get_MachineName() - IL_0031: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0036: stloc.2 - IL_0037: ldloc.2 - IL_0038: ldarg.0 - IL_0039: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_003e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0043: stloc.3 - IL_0044: ldloc.3 - IL_0045: ldstr "obj" - IL_004a: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_004f: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0054: stloc.s 4 - IL_0056: br IL_0097 + // method line 178 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectBase get_Item (string guid) cil managed + { + // Method begins at RVA 0x6c3c + // Code size 127 (0x7f) + .maxstack 4 + .locals init ( + class NAnt.VSNet.ProjectBase V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.VSNet.ProjectBase V_2, + class [mscorlib]System.IDisposable V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_005b: ldarg.0 - IL_005c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0061: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0066: ldstr "obj" - IL_006b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0070: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0075: stloc.s 4 - IL_0077: br IL_0097 + IL_0007: nop + IL_0008: ldstr "guid" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_001a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_001f: stloc.1 + .try { // 0 + IL_0020: br IL_0052 - IL_007c: ldarg.0 - IL_007d: callvirt instance valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ProjectBase::get_ProjectLocation() - IL_0082: stloc.s 5 - IL_0084: ldloca.s 5 - IL_0086: constrained. NAnt.VSNet.ProjectLocation - IL_008c: callvirt instance string object::ToString() - IL_0091: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) - IL_0096: throw - IL_0097: ldloc.s 4 - IL_0099: ret - } // end of method ProjectBase::get_ObjectDir + IL_0025: ldloc.1 + IL_0026: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_002b: castclass NAnt.VSNet.ProjectBase + IL_0030: stloc.0 + IL_0031: nop + IL_0032: ldloc.0 + IL_0033: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0038: ldarg.1 + IL_0039: ldc.i4.1 + IL_003a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003f: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0044: brtrue IL_0051 - // method line 163 - .method public virtual hidebysig newslot abstract specialname - instance default string get_Guid () cil managed - { - // Method begins at RVA 0x0 - } // end of method ProjectBase::get_Guid + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: stloc.2 + IL_004c: leave IL_007d - // method line 164 - .method public virtual hidebysig newslot abstract specialname - instance default void set_Guid (string 'value') cil managed - { - // Method begins at RVA 0x0 - } // end of method ProjectBase::set_Guid + IL_0051: nop + IL_0052: ldloc.1 + IL_0053: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0058: brtrue IL_0025 - // method line 165 - .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationDictionary get_ProjectConfigurations () cil managed + IL_005d: leave IL_0076 + + } // end .try 0 + finally { // 0 + IL_0062: ldloc.1 + IL_0063: isinst [mscorlib]System.IDisposable + IL_0068: dup + IL_0069: stloc.3 + IL_006a: brfalse IL_0075 + + IL_006f: ldloc.3 + IL_0070: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0075: endfinally + } // end handler 0 + IL_0076: ldnull + IL_0077: stloc.2 + IL_0078: br IL_007d + + IL_007d: ldloc.2 + IL_007e: ret + } // end of method ProjectBaseCollection::get_Item + + // method line 179 + .method public hidebysig + instance default int32 Add (class NAnt.VSNet.ProjectBase item) cil managed { - // Method begins at RVA 0x737c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6cd8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.VSNet.ConfigurationDictionary V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_projectConfigurations - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectBase::get_ProjectConfigurations + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ProjectBaseCollection::Add - // method line 166 - .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationDictionary get_BuildConfigurations () cil managed + // method line 180 + .method public hidebysig + instance default void AddRange (class NAnt.VSNet.ProjectBase[] items) cil managed { - // Method begins at RVA 0x7398 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6cfc + // Code size 34 (0x22) + .maxstack 3 .locals init ( - class NAnt.VSNet.ConfigurationDictionary V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::_buildConfigurations - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectBase::get_BuildConfigurations + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - // method line 167 - .method public virtual hidebysig newslot abstract specialname - instance default class [mscorlib]System.Collections.ArrayList get_References () cil managed - { - // Method begins at RVA 0x0 - } // end of method ProjectBase::get_References + IL_0021: ret + } // end of method ProjectBaseCollection::AddRange - // method line 168 - .method public hidebysig specialname - instance default class NAnt.VSNet.Tasks.SolutionTask get_SolutionTask () cil managed + // method line 181 + .method public hidebysig + instance default void AddRange (class NAnt.VSNet.ProjectBaseCollection items) cil managed { - // Method begins at RVA 0x73b4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6d2c + // Code size 41 (0x29) + .maxstack 3 .locals init ( - class NAnt.VSNet.Tasks.SolutionTask V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ProjectBase::_solutionTask - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectBase::get_SolutionTask + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - // method line 169 - .method public hidebysig specialname - instance default class [System]System.CodeDom.Compiler.TempFileCollection get_TemporaryFiles () cil managed + IL_0028: ret + } // end of method ProjectBaseCollection::AddRange + + // method line 182 + .method public hidebysig + instance default bool Contains (class NAnt.VSNet.ProjectBase item) cil managed { - // Method begins at RVA 0x73d0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6d64 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [System]System.CodeDom.Compiler.TempFileCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectBase::_temporaryFiles - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectBase::get_TemporaryFiles + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ProjectBaseCollection::Contains - // method line 170 - .method public hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_ExtraOutputFiles () cil managed + // method line 183 + .method public hidebysig + instance default bool Contains (string 'value') cil managed { - // Method begins at RVA 0x73ec - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6d88 + // Code size 22 (0x16) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectBase::_extraOutputFiles - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseCollection::get_Item(string) + IL_0008: ldnull + IL_0009: ceq + IL_000b: ldc.i4.0 + IL_000c: ceq + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectBase::get_ExtraOutputFiles + IL_0014: ldloc.0 + IL_0015: ret + } // end of method ProjectBaseCollection::Contains - // method line 171 - .method family hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed + // method line 184 + .method public hidebysig + instance default void CopyTo (class NAnt.VSNet.ProjectBase[] 'array', int32 index) cil managed { - // Method begins at RVA 0x7408 + // Method begins at RVA 0x6daa // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::_outputDir - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) IL_000e: ret - } // end of method ProjectBase::get_OutputDir + } // end of method ProjectBaseCollection::CopyTo - // method line 172 - .method family hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Util.GacCache get_GacCache () cil managed + // method line 185 + .method public hidebysig + instance default int32 IndexOf (class NAnt.VSNet.ProjectBase item) cil managed { - // Method begins at RVA 0x7424 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6dbc + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [NAnt.Core]NAnt.Core.Util.GacCache V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.ProjectBase::_gacCache - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectBase::get_GacCache + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ProjectBaseCollection::IndexOf - // method line 173 - .method public hidebysig specialname - instance default class NAnt.VSNet.ReferencesResolver get_ReferencesResolver () cil managed + // method line 186 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.VSNet.ProjectBase item) cil managed { - // Method begins at RVA 0x7440 + // Method begins at RVA 0x6ddd // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.ReferencesResolver V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ProjectBase::_refResolver - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) IL_000e: ret - } // end of method ProjectBase::get_ReferencesResolver + } // end of method ProjectBaseCollection::Insert - // method line 174 - .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectBaseCollection get_ProjectDependencies () cil managed + // method line 187 + .method public hidebysig + instance default class NAnt.VSNet.ProjectBaseEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x745c + // Method begins at RVA 0x6df0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectBaseCollection V_0) + class NAnt.VSNet.ProjectBaseEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectBaseCollection NAnt.VSNet.ProjectBase::_projectDependencies + IL_0002: newobj instance void class NAnt.VSNet.ProjectBaseEnumerator::'.ctor'(class NAnt.VSNet.ProjectBaseCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectBase::get_ProjectDependencies + } // end of method ProjectBaseCollection::GetEnumerator - // method line 175 - .method family virtual hidebysig newslot specialname - instance default string get_DevEnvDir () cil managed + // method line 188 + .method public hidebysig + instance default void Remove (class NAnt.VSNet.ProjectBase item) cil managed { - // Method begins at RVA 0x7478 - // Code size 139 (0x8b) - .maxstack 3 - .locals init ( - string V_0, - class [mscorlib]Microsoft.Win32.RegistryKey V_1, - string V_2, - string V_3) + // Method begins at RVA 0x6e0b + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop - IL_0001: ldstr "SOFTWARE\\Microsoft\\VisualStudio\\" - IL_0006: ldarg.0 - IL_0007: call instance class [mscorlib]System.Version class NAnt.VSNet.ProjectBase::get_ProductVersionNumber() - IL_000c: ldstr "\\Setup\\VS" - IL_0011: call string string::Concat(object, object, object) - IL_0016: stloc.0 - IL_0017: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine - IL_001c: ldloc.0 - IL_001d: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0022: stloc.1 - IL_0023: ldloc.1 - IL_0024: brtrue IL_0045 - - IL_0029: nop - IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002f: ldstr "Registry key \"{0}\" could not be found." - IL_0034: ldloc.0 - IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_003a: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_003f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0044: throw - IL_0045: ldloc.1 - IL_0046: ldstr "VS7CommonDir" - IL_004b: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_0050: isinst [mscorlib]System.String - IL_0055: stloc.2 - IL_0056: ldloc.2 - IL_0057: brtrue IL_0078 - - IL_005c: nop - IL_005d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0062: ldstr "Value \"VS7CommonDir\" does not exist in registry key \"{0}\"." - IL_0067: ldloc.0 - IL_0068: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_006d: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0072: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0077: throw - IL_0078: ldloc.2 - IL_0079: ldstr "IDE\\" - IL_007e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0083: stloc.3 - IL_0084: br IL_0089 - - IL_0089: ldloc.3 - IL_008a: ret - } // end of method ProjectBase::get_DevEnvDir + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method ProjectBaseCollection::Remove - // method line 176 - .method private hidebysig specialname - instance default class [mscorlib]System.Version get_ProductVersionNumber () cil managed + // method line 189 + .method public hidebysig + instance default void Remove (string guid) cil managed { - // Method begins at RVA 0x7510 - // Code size 89 (0x59) - .maxstack 3 + // Method begins at RVA 0x6e1c + // Code size 123 (0x7b) + .maxstack 4 .locals init ( - valuetype NAnt.VSNet.ProductVersion V_0, - class [mscorlib]System.Version V_1) + class NAnt.VSNet.ProjectBase V_0, + class NAnt.VSNet.ProjectBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldc.i4.s 0x46 - IL_000b: beq IL_001d - - IL_0010: ldloc.0 - IL_0011: ldc.i4.s 0x47 - IL_0013: beq IL_002a + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: nop + IL_0004: ldarg.0 + IL_0005: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_000f: stloc.2 + .try { // 0 + IL_0010: br IL_0042 - IL_0018: br IL_0037 + IL_0015: ldloc.2 + IL_0016: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001b: castclass NAnt.VSNet.ProjectBase + IL_0020: stloc.1 + IL_0021: nop + IL_0022: ldloc.1 + IL_0023: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0028: ldarg.1 + IL_0029: ldc.i4.1 + IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002f: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0034: brtrue IL_0041 - IL_001d: ldc.i4.7 - IL_001e: ldc.i4.0 - IL_001f: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) - IL_0024: stloc.1 - IL_0025: br IL_0057 + IL_0039: nop + IL_003a: ldloc.1 + IL_003b: stloc.0 + IL_003c: leave IL_004d - IL_002a: ldc.i4.7 - IL_002b: ldc.i4.1 - IL_002c: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) - IL_0031: stloc.1 - IL_0032: br IL_0057 + IL_0041: nop + IL_0042: ldloc.2 + IL_0043: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0048: brtrue IL_0015 - IL_0037: ldstr "Invalid product version \"" - IL_003c: ldarg.0 - IL_003d: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() - IL_0042: box NAnt.VSNet.ProductVersion - IL_0047: ldstr "\"." - IL_004c: call string string::Concat(object, object, object) - IL_0051: newobj instance void class [mscorlib]System.Exception::'.ctor'(string) - IL_0056: throw - IL_0057: ldloc.1 - IL_0058: ret - } // end of method ProjectBase::get_ProductVersionNumber + IL_004d: leave IL_0066 - // method line 177 - .method public virtual hidebysig newslot abstract - instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project, bool isPrivateSpecified, bool isPrivate) cil managed + } // end .try 0 + finally { // 0 + IL_0052: ldloc.2 + IL_0053: isinst [mscorlib]System.IDisposable + IL_0058: dup + IL_0059: stloc.3 + IL_005a: brfalse IL_0065 + + IL_005f: ldloc.3 + IL_0060: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0065: endfinally + } // end handler 0 + IL_0066: ldloc.0 + IL_0067: brfalse IL_007a + + IL_006c: nop + IL_006d: ldarg.0 + IL_006e: call instance class [mscorlib]System.Collections.ArrayList class [mscorlib]System.Collections.CollectionBase::get_InnerList() + IL_0073: ldloc.0 + IL_0074: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) + IL_0079: nop + IL_007a: ret + } // end of method ProjectBaseCollection::Remove + + .property instance class NAnt.VSNet.ProjectBase Item (int32) + { + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectBaseCollection::get_Item (int32 index) + .set instance default void NAnt.VSNet.ProjectBaseCollection::set_Item (int32 index, class NAnt.VSNet.ProjectBase 'value') + } + .property instance class NAnt.VSNet.ProjectBase Item (string) + { + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectBaseCollection::get_Item (string guid) + } + } // end of class NAnt.VSNet.ProjectBaseCollection +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ProjectBaseEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 190 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ProjectBaseCollection arguments) cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::CreateProjectReference + // Method begins at RVA 0x6eb4 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0015: ret + } // end of method ProjectBaseEnumerator::.ctor - // method line 178 + // method line 191 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectBase get_Current () cil managed + { + // Method begins at RVA 0x6ed8 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ProjectBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.VSNet.ProjectBase + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectBaseEnumerator::get_Current + + // method line 192 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x6f00 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectBaseEnumerator::System.Collections.IEnumerator.get_Current + + // method line 193 .method public hidebysig - instance default bool Compile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x7578 - // Code size 166 (0xa6) - .maxstack 7 + // Method begins at RVA 0x6f20 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0, - bool V_1, - valuetype NAnt.VSNet.BuildResult V_2) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: brtrue IL_003f + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0014: nop - IL_0015: ldarg.0 - IL_0016: ldc.i4 3000 - IL_001b: ldstr "Skipping '{0}' [{1}] ..." - IL_0020: ldc.i4.2 - IL_0021: newarr [mscorlib]System.Object - IL_0026: dup - IL_0027: ldc.i4.0 - IL_0028: ldarg.0 - IL_0029: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_002e: stelem.ref - IL_002f: dup - IL_0030: ldc.i4.1 - IL_0031: ldarg.1 - IL_0032: stelem.ref - IL_0033: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0038: ldc.i4.1 - IL_0039: stloc.1 - IL_003a: br IL_00a4 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectBaseEnumerator::MoveNext - IL_003f: ldarg.0 - IL_0040: ldc.i4 3000 - IL_0045: ldstr "Building '{0}' [{1}] ..." - IL_004a: ldc.i4.2 - IL_004b: newarr [mscorlib]System.Object - IL_0050: dup - IL_0051: ldc.i4.0 - IL_0052: ldarg.0 - IL_0053: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0058: stelem.ref - IL_0059: dup - IL_005a: ldc.i4.1 - IL_005b: ldloc.0 - IL_005c: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_0061: stelem.ref - IL_0062: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0067: ldarg.0 - IL_0068: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() - IL_006d: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0072: brtrue IL_008f + // method line 194 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x6f40 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0077: nop - IL_0078: ldarg.0 - IL_0079: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() - IL_007e: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0083: ldarg.0 - IL_0084: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() - IL_0089: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_008e: nop - IL_008f: ldarg.0 - IL_0090: ldarg.1 - IL_0091: callvirt instance valuetype NAnt.VSNet.BuildResult class NAnt.VSNet.ProjectBase::Build(class NAnt.VSNet.Configuration) - IL_0096: stloc.2 - IL_0097: ldloc.2 - IL_0098: ldc.i4.0 - IL_0099: ceq - IL_009b: ldc.i4.0 - IL_009c: ceq - IL_009e: stloc.1 - IL_009f: br IL_00a4 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectBaseEnumerator::System.Collections.IEnumerator.MoveNext - IL_00a4: ldloc.1 - IL_00a5: ret - } // end of method ProjectBase::Compile + // method line 195 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x6f60 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ProjectBaseEnumerator::Reset - // method line 179 + // method line 196 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x6f6e + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ProjectBaseEnumerator::System.Collections.IEnumerator.Reset + + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.VSNet.ProjectBaseEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.VSNet.ProjectBase Current () + { + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectBaseEnumerator::get_Current () + } + } // end of class NAnt.VSNet.ProjectBaseEnumerator +} + +.namespace NAnt.VSNet +{ + .class public auto ansi sealed beforefieldinit ConfigurationMap + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IDictionary, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { + .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.Hashtable _innerHash + + // method line 197 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x6f7c + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0012: ret + } // end of method ConfigurationMap::.ctor + + // method line 198 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity) cil managed + { + // Method begins at RVA 0x6f90 + // Code size 20 (0x14) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) + IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0013: ret + } // end of method ConfigurationMap::.ctor + + // method line 199 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed + { + // Method begins at RVA 0x6fa8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMap::get_InnerHash + + // method line 200 .method public hidebysig - instance default string GetOutputPath (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + instance default class NAnt.VSNet.ConfigurationMapEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x762c - // Code size 42 (0x2a) - .maxstack 2 + // Method begins at RVA 0x6fc4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0, - string V_1) + class NAnt.VSNet.ConfigurationMapEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: brtrue IL_001c + IL_0002: newobj instance void class NAnt.VSNet.ConfigurationMapEnumerator::'.ctor'(class NAnt.VSNet.ConfigurationMap) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0014: nop - IL_0015: ldnull - IL_0016: stloc.1 - IL_0017: br IL_0028 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMap::GetEnumerator - IL_001c: ldloc.0 - IL_001d: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_0022: stloc.1 - IL_0023: br IL_0028 + // method line 201 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed + { + // Method begins at RVA 0x6fe0 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::GetEnumerator due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.IDictionaryEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationMapEnumerator class NAnt.VSNet.ConfigurationMap::GetEnumerator() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0028: ldloc.1 - IL_0029: ret - } // end of method ProjectBase::GetOutputPath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMap::System.Collections.IDictionary.GetEnumerator - // method line 180 + // method line 202 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + { + // Method begins at RVA 0x6ffc + .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.IEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationMapEnumerator class NAnt.VSNet.ConfigurationMap::GetEnumerator() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMap::System.Collections.IEnumerable.GetEnumerator + + // method line 203 .method public hidebysig - instance default class NAnt.VSNet.ConfigurationBase GetConfiguration (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + instance default void Remove (class NAnt.VSNet.Configuration configuration) cil managed + { + // Method begins at RVA 0x7017 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_000d: ret + } // end of method ConfigurationMap::Remove + + // method line 204 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Remove (object key) cil managed + { + // Method begins at RVA 0x7026 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Remove due to (null) + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: call instance void class NAnt.VSNet.ConfigurationMap::Remove(class NAnt.VSNet.Configuration) + IL_000d: ret + } // end of method ConfigurationMap::System.Collections.IDictionary.Remove + + // method line 205 + .method public hidebysig + instance default bool Contains (class NAnt.VSNet.Configuration key) cil managed { - // Method begins at RVA 0x7664 + // Method begins at RVA 0x7038 // Code size 21 (0x15) .maxstack 2 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) IL_000d: stloc.0 IL_000e: br IL_0013 IL_0013: ldloc.0 IL_0014: ret - } // end of method ProjectBase::GetConfiguration + } // end of method ConfigurationMap::Contains - // method line 181 - .method public hidebysig - instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 206 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IDictionary.Contains (object key) cil managed { - // Method begins at RVA 0x7688 - // Code size 356 (0x164) - .maxstack 7 + // Method begins at RVA 0x705c + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Contains due to (null) + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class NAnt.VSNet.ReferenceBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [System]System.Collections.Specialized.StringCollection V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.Reflection.AssemblyName V_6, - class [mscorlib]System.Exception V_7, - class [mscorlib]System.IDisposable V_8, - class [mscorlib]System.IDisposable V_9, - class [System]System.Collections.Specialized.StringCollection V_10, - valuetype [mscorlib]System.Collections.DictionaryEntry V_11, - class [mscorlib]System.Collections.IDictionaryEnumerator V_12, - class [mscorlib]System.IDisposable V_13, - class [System]System.Collections.Specialized.StringCollection V_14) + bool V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_000e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0013: stloc.2 - .try { // 2 - IL_0014: br IL_00d1 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: call instance bool class NAnt.VSNet.ConfigurationMap::Contains(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0019: ldloc.2 - IL_001a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001f: castclass NAnt.VSNet.ReferenceBase - IL_0024: stloc.1 - IL_0025: nop - IL_0026: ldloc.1 - IL_0027: ldarg.1 - IL_0028: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_002d: stloc.3 - IL_002e: nop - IL_002f: ldloc.3 - IL_0030: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0035: stloc.s 5 - .try { // 1 - IL_0037: br IL_00a8 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ConfigurationMap::System.Collections.IDictionary.Contains - IL_003c: ldloc.s 5 - IL_003e: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0043: stloc.s 4 - IL_0045: nop - .try { // 0 - IL_0046: nop - IL_0047: ldloc.s 4 - IL_0049: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) - IL_004e: stloc.s 6 - IL_0050: ldloc.0 - IL_0051: ldloc.s 6 - IL_0053: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() - IL_0058: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_005d: brtrue IL_0073 + // method line 207 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed + { + // Method begins at RVA 0x707d + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() + IL_000c: ret + } // end of method ConfigurationMap::Clear - IL_0062: nop - IL_0063: ldloc.0 - IL_0064: ldloc.s 6 - IL_0066: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() - IL_006b: ldloc.s 4 - IL_006d: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0072: nop - IL_0073: nop - IL_0074: leave IL_00a7 + // method line 208 + .method public hidebysig + instance default void Add (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') cil managed + { + // Method begins at RVA 0x708b + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_000e: ret + } // end of method ConfigurationMap::Add - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0079: stloc.s 7 - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: ldc.i4 4000 - IL_0082: ldstr "Referenced assembly \"{0}\" could not be loaded: {1}" - IL_0087: ldc.i4.2 - IL_0088: newarr [mscorlib]System.Object - IL_008d: dup - IL_008e: ldc.i4.0 - IL_008f: ldloc.s 4 - IL_0091: stelem.ref - IL_0092: dup - IL_0093: ldc.i4.1 - IL_0094: ldloc.s 7 - IL_0096: callvirt instance string class [mscorlib]System.Exception::get_Message() - IL_009b: stelem.ref - IL_009c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a1: nop - IL_00a2: leave IL_00a7 + // method line 209 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed + { + // Method begins at RVA 0x709b + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Add due to (null) + // Code size 20 (0x14) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: ldarg.2 + IL_0009: castclass NAnt.VSNet.Configuration + IL_000e: call instance void class NAnt.VSNet.ConfigurationMap::Add(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) + IL_0013: ret + } // end of method ConfigurationMap::System.Collections.IDictionary.Add - } // end handler 0 - IL_00a7: nop - IL_00a8: ldloc.s 5 - IL_00aa: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00af: brtrue IL_003c + // method line 210 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsReadOnly () cil managed + { + // Method begins at RVA 0x70b0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsReadOnly() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_00b4: leave IL_00d0 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMap::get_IsReadOnly - } // end .try 1 - finally { // 1 - IL_00b9: ldloc.s 5 - IL_00bb: isinst [mscorlib]System.IDisposable - IL_00c0: dup - IL_00c1: stloc.s 8 - IL_00c3: brfalse IL_00cf + // method line 211 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_Item (class NAnt.VSNet.Configuration key) cil managed + { + // Method begins at RVA 0x70d0 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.VSNet.Configuration V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000d: castclass NAnt.VSNet.Configuration + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_00c8: ldloc.s 8 - IL_00ca: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00cf: endfinally - } // end handler 1 - IL_00d0: nop - IL_00d1: ldloc.2 - IL_00d2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00d7: brtrue IL_0019 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ConfigurationMap::get_Item - IL_00dc: leave IL_00f7 + // method line 212 + .method public hidebysig specialname + instance default void set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') cil managed + { + // Method begins at RVA 0x70f6 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_000e: ret + } // end of method ConfigurationMap::set_Item - } // end .try 2 - finally { // 2 - IL_00e1: ldloc.2 - IL_00e2: isinst [mscorlib]System.IDisposable - IL_00e7: dup - IL_00e8: stloc.s 9 - IL_00ea: brfalse IL_00f6 + // method line 213 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionary.get_Item (object key) cil managed + { + // Method begins at RVA 0x7108 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::get_Item due to (null) + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMap::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00ef: ldloc.s 9 - IL_00f1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f6: endfinally - } // end handler 2 - IL_00f7: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_00fc: stloc.s 10 - IL_00fe: nop - IL_00ff: ldloc.0 - IL_0100: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0105: stloc.s 12 - .try { // 3 - IL_0107: br IL_0130 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ConfigurationMap::System.Collections.IDictionary.get_Item - IL_010c: ldloc.s 12 - IL_010e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0113: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0118: stloc.s 11 - IL_011a: nop - IL_011b: ldloc.s 10 - IL_011d: ldloca.s 11 - IL_011f: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0124: castclass [mscorlib]System.String - IL_0129: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_012e: pop - IL_012f: nop - IL_0130: ldloc.s 12 - IL_0132: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0137: brtrue IL_010c + // method line 214 + .method private final virtual hidebysig newslot specialname + instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed + { + // Method begins at RVA 0x7129 + .override Could not decode method override class [mscorlib]System.Collections.IDictionary::set_Item due to (null) + // Code size 20 (0x14) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: castclass NAnt.VSNet.Configuration + IL_0008: ldarg.2 + IL_0009: castclass NAnt.VSNet.Configuration + IL_000e: call instance void class NAnt.VSNet.ConfigurationMap::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) + IL_0013: ret + } // end of method ConfigurationMap::System.Collections.IDictionary.set_Item - IL_013c: leave IL_0158 + // method line 215 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed + { + // Method begins at RVA 0x7140 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.ICollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_000c: stloc.0 + IL_000d: br IL_0012 - } // end .try 3 - finally { // 3 - IL_0141: ldloc.s 12 - IL_0143: isinst [mscorlib]System.IDisposable - IL_0148: dup - IL_0149: stloc.s 13 - IL_014b: brfalse IL_0157 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMap::get_Values - IL_0150: ldloc.s 13 - IL_0152: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0157: endfinally - } // end handler 3 - IL_0158: ldloc.s 10 - IL_015a: stloc.s 14 - IL_015c: br IL_0161 + // method line 216 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed + { + // Method begins at RVA 0x7160 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.ICollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0161: ldloc.s 14 - IL_0163: ret - } // end of method ProjectBase::GetAssemblyReferences + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMap::get_Keys - // method line 182 - .method public virtual hidebysig newslot - instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + // method line 217 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsFixedSize () cil managed { - // Method begins at RVA 0x782c - // Code size 386 (0x182) - .maxstack 3 + // Method begins at RVA 0x7180 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0, - class NAnt.VSNet.ReferenceBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - string V_4, - valuetype [mscorlib]System.Collections.DictionaryEntry V_5, - class [mscorlib]System.Collections.IDictionaryEnumerator V_6, - class [mscorlib]System.IDisposable V_7, - valuetype [mscorlib]System.Collections.DictionaryEntry V_8, - class [mscorlib]System.Collections.IDictionaryEnumerator V_9, - class [mscorlib]System.IDisposable V_10) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: brtrue IL_001a + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0014: nop - IL_0015: br IL_0181 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMap::get_IsFixedSize - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_0021: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0026: stloc.2 - .try { // 0 - IL_0027: br IL_0066 + // method line 218 + .method private final virtual hidebysig newslot + instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + { + // Method begins at RVA 0x71a0 + .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method ConfigurationMap::System.Collections.ICollection.CopyTo - IL_002c: ldloc.2 - IL_002d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0032: castclass NAnt.VSNet.ReferenceBase - IL_0037: stloc.1 - IL_0038: nop - IL_0039: ldloc.1 - IL_003a: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_CopyLocal() - IL_003f: brtrue IL_004a + // method line 219 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsSynchronized () cil managed + { + // Method begins at RVA 0x71b0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsSynchronized() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0044: nop - IL_0045: leave IL_0066 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMap::get_IsSynchronized - IL_004a: ldarg.2 - IL_004b: ldloc.0 - IL_004c: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_0051: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0056: brtrue IL_0065 + // method line 220 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed + { + // Method begins at RVA 0x71d0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_005b: nop - IL_005c: ldloc.1 - IL_005d: ldarg.1 - IL_005e: ldarg.2 - IL_005f: callvirt instance void class NAnt.VSNet.ReferenceBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) - IL_0064: nop - IL_0065: nop - IL_0066: ldloc.2 - IL_0067: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_006c: brtrue IL_002c + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMap::get_Count - IL_0071: leave IL_008a + // method line 221 + .method public final virtual hidebysig newslot specialname + instance default object get_SyncRoot () cil managed + { + // Method begins at RVA 0x71f0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash + IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() + IL_000c: stloc.0 + IL_000d: br IL_0012 - } // end .try 0 - finally { // 0 - IL_0076: ldloc.2 - IL_0077: isinst [mscorlib]System.IDisposable - IL_007c: dup - IL_007d: stloc.3 - IL_007e: brfalse IL_0089 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMap::get_SyncRoot - IL_0083: ldloc.3 - IL_0084: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0089: endfinally - } // end handler 0 - IL_008a: ldloc.0 - IL_008b: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_0090: stloc.s 4 - IL_0092: ldloc.s 4 - IL_0094: brfalse IL_0181 + .property instance object System.Collections.IDictionary.Item (object) + { + .get instance default object NAnt.VSNet.ConfigurationMap::System.Collections.IDictionary.get_Item (object key) + .set instance default void NAnt.VSNet.ConfigurationMap::System.Collections.IDictionary.set_Item (object key, object 'value') + } + .property instance class [mscorlib]System.Collections.Hashtable InnerHash () + { + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::get_InnerHash () + } + .property instance bool IsReadOnly () + { + .get instance default bool NAnt.VSNet.ConfigurationMap::get_IsReadOnly () + } + .property instance class NAnt.VSNet.Configuration Item (class NAnt.VSNet.Configuration) + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMap::get_Item (class NAnt.VSNet.Configuration key) + .set instance default void NAnt.VSNet.ConfigurationMap::set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') + } + .property instance class [mscorlib]System.Collections.ICollection Values () + { + .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationMap::get_Values () + } + .property instance class [mscorlib]System.Collections.ICollection Keys () + { + .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationMap::get_Keys () + } + .property instance bool IsFixedSize () + { + .get instance default bool NAnt.VSNet.ConfigurationMap::get_IsFixedSize () + } + .property instance bool IsSynchronized () + { + .get instance default bool NAnt.VSNet.ConfigurationMap::get_IsSynchronized () + } + .property instance int32 Count () + { + .get instance default int32 NAnt.VSNet.ConfigurationMap::get_Count () + } + .property instance object SyncRoot () + { + .get instance default object NAnt.VSNet.ConfigurationMap::get_SyncRoot () + } + } // end of class NAnt.VSNet.ConfigurationMap +} - IL_0099: ldloc.s 4 - IL_009b: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00a0: brfalse IL_0181 +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ConfigurationMapEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { + .field private initonly class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator - IL_00a5: nop - IL_00a6: ldloc.s 4 - IL_00a8: ldarg.2 - IL_00a9: call void class NAnt.VSNet.ReferenceBase::GetRelatedFiles(string, class [mscorlib]System.Collections.Hashtable) - IL_00ae: nop - IL_00af: ldarg.0 - IL_00b0: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ProjectBase::get_ExtraOutputFiles() - IL_00b5: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_00ba: stloc.s 6 - .try { // 1 - IL_00bc: br IL_00ef + // method line 222 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ConfigurationMap enumerable) cil managed + { + // Method begins at RVA 0x7210 + // Code size 25 (0x19) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationMap::get_InnerHash() + IL_000e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0013: stfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator + IL_0018: ret + } // end of method ConfigurationMapEnumerator::.ctor - IL_00c1: ldloc.s 6 - IL_00c3: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00c8: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_00cd: stloc.s 5 - IL_00cf: nop - IL_00d0: ldarg.2 - IL_00d1: ldloca.s 5 - IL_00d3: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_00d8: castclass [mscorlib]System.String - IL_00dd: ldloca.s 5 - IL_00df: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_00e4: castclass [mscorlib]System.String - IL_00e9: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00ee: nop - IL_00ef: ldloc.s 6 - IL_00f1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00f6: brtrue IL_00c1 + // method line 223 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_Key () cil managed + { + // Method begins at RVA 0x722c + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Configuration V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() + IL_000c: castclass NAnt.VSNet.Configuration + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_00fb: leave IL_0117 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ConfigurationMapEnumerator::get_Key - } // end .try 1 - finally { // 1 - IL_0100: ldloc.s 6 - IL_0102: isinst [mscorlib]System.IDisposable - IL_0107: dup - IL_0108: stloc.s 7 - IL_010a: brfalse IL_0116 + // method line 224 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed + { + // Method begins at RVA 0x7254 + .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Key() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_010f: ldloc.s 7 - IL_0111: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0116: endfinally - } // end handler 1 - IL_0117: nop - IL_0118: ldloc.0 - IL_0119: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles() - IL_011e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0123: stloc.s 9 - .try { // 2 - IL_0125: br IL_0158 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Key - IL_012a: ldloc.s 9 - IL_012c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0131: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0136: stloc.s 8 - IL_0138: nop - IL_0139: ldarg.2 - IL_013a: ldloca.s 8 - IL_013c: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0141: castclass [mscorlib]System.String - IL_0146: ldloca.s 8 - IL_0148: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_014d: castclass [mscorlib]System.String - IL_0152: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0157: nop - IL_0158: ldloc.s 9 - IL_015a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_015f: brtrue IL_012a + // method line 225 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_Value () cil managed + { + // Method begins at RVA 0x7270 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Configuration V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value() + IL_000c: castclass NAnt.VSNet.Configuration + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0164: leave IL_0180 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ConfigurationMapEnumerator::get_Value - } // end .try 2 - finally { // 2 - IL_0169: ldloc.s 9 - IL_016b: isinst [mscorlib]System.IDisposable - IL_0170: dup - IL_0171: stloc.s 10 - IL_0173: brfalse IL_017f + // method line 226 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed + { + // Method begins at RVA 0x7298 + .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Value() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0178: ldloc.s 10 - IL_017a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_017f: endfinally - } // end handler 2 - IL_0180: nop - IL_0181: ret - } // end of method ProjectBase::GetOutputFiles + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Value - // method line 183 - .method public virtual hidebysig newslot abstract - instance default bool IsManaged (class NAnt.VSNet.Configuration configuration) cil managed + // method line 227 + .method public final virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::IsManaged + // Method begins at RVA 0x72b4 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + valuetype [mscorlib]System.Collections.DictionaryEntry V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Key() + IL_0007: ldarg.0 + IL_0008: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Value() + IL_000d: newobj instance void valuetype [mscorlib]System.Collections.DictionaryEntry::'.ctor'(object, object) + IL_0012: stloc.0 + IL_0013: br IL_0018 - // method line 184 - .method famorassem virtual hidebysig newslot - instance default string ExpandMacro (string macro) cil managed + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ConfigurationMapEnumerator::get_Entry + + // method line 228 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed { - // Method begins at RVA 0x79e4 - // Code size 231 (0xe7) - .maxstack 2 + // Method begins at RVA 0x72da + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method ConfigurationMapEnumerator::Reset + + // method line 229 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x72e8 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0, - string V_1) + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_00de - - IL_0013: ldloc.0 - IL_0014: ldstr "projectname" - IL_0019: call bool string::op_Equality(string, string) - IL_001e: brtrue IL_0078 + IL_000d: br IL_0012 - IL_0023: ldloc.0 - IL_0024: ldstr "projectpath" - IL_0029: call bool string::op_Equality(string, string) - IL_002e: brtrue IL_0084 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ConfigurationMapEnumerator::MoveNext - IL_0033: ldloc.0 - IL_0034: ldstr "projectfilename" - IL_0039: call bool string::op_Equality(string, string) - IL_003e: brtrue IL_0090 + // method line 230 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x7308 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationMapEntry class NAnt.VSNet.ConfigurationMapEnumerator::get_Current() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0043: ldloc.0 - IL_0044: ldstr "projectext" - IL_0049: call bool string::op_Equality(string, string) - IL_004e: brtrue IL_00a1 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMapEnumerator::System.Collections.IEnumerator.get_Current - IL_0053: ldloc.0 - IL_0054: ldstr "projectdir" - IL_0059: call bool string::op_Equality(string, string) - IL_005e: brtrue IL_00b2 + // method line 231 + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationMapEntry get_Current () cil managed + { + // Method begins at RVA 0x7324 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.VSNet.ConfigurationMapEntry V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Key() + IL_0007: ldarg.0 + IL_0008: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Value() + IL_000d: newobj instance void class NAnt.VSNet.ConfigurationMapEntry::'.ctor'(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0063: ldloc.0 - IL_0064: ldstr "devenvdir" - IL_0069: call bool string::op_Equality(string, string) - IL_006e: brtrue IL_00d2 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ConfigurationMapEnumerator::get_Current - IL_0073: br IL_00de + .property instance object System.Collections.IDictionaryEnumerator.Key () + { + .get instance default object NAnt.VSNet.ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Key () + } + .property instance object System.Collections.IDictionaryEnumerator.Value () + { + .get instance default object NAnt.VSNet.ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Value () + } + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.VSNet.ConfigurationMapEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.VSNet.Configuration Key () + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEnumerator::get_Key () + } + .property instance class NAnt.VSNet.Configuration Value () + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEnumerator::get_Value () + } + .property instance valuetype [mscorlib]System.Collections.DictionaryEntry Entry () + { + .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.VSNet.ConfigurationMapEnumerator::get_Entry () + } + .property instance class NAnt.VSNet.ConfigurationMapEntry Current () + { + .get instance default class NAnt.VSNet.ConfigurationMapEntry NAnt.VSNet.ConfigurationMapEnumerator::get_Current () + } + } // end of class NAnt.VSNet.ConfigurationMapEnumerator +} - IL_0078: ldarg.0 - IL_0079: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_007e: stloc.1 - IL_007f: br IL_00e5 +.namespace NAnt.VSNet +{ + .class public auto ansi sealed beforefieldinit ConfigurationMapEntry + extends [mscorlib]System.Object + { + .field private initonly class NAnt.VSNet.Configuration _key + .field private initonly class NAnt.VSNet.Configuration _value - IL_0084: ldarg.0 - IL_0085: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_008a: stloc.1 - IL_008b: br IL_00e5 + // method line 232 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') cil managed + { + // Method begins at RVA 0x734a + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_key + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_value + IL_0015: ret + } // end of method ConfigurationMapEntry::.ctor - IL_0090: ldarg.0 - IL_0091: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_0096: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_009b: stloc.1 - IL_009c: br IL_00e5 + // method line 233 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_Key () cil managed + { + // Method begins at RVA 0x7364 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Configuration V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_key + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00a1: ldarg.0 - IL_00a2: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_00a7: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_00ac: stloc.1 - IL_00ad: br IL_00e5 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMapEntry::get_Key - IL_00b2: ldarg.0 - IL_00b3: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_00b8: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00bd: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00c2: box [mscorlib]System.Char - IL_00c7: call string string::Concat(object, object) - IL_00cc: stloc.1 - IL_00cd: br IL_00e5 + // method line 234 + .method public hidebysig specialname + instance default class NAnt.VSNet.Configuration get_Value () cil managed + { + // Method begins at RVA 0x7380 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Configuration V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_value + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00d2: ldarg.0 - IL_00d3: callvirt instance string class NAnt.VSNet.ProjectBase::get_DevEnvDir() - IL_00d8: stloc.1 - IL_00d9: br IL_00e5 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationMapEntry::get_Value - IL_00de: ldnull - IL_00df: stloc.1 - IL_00e0: br IL_00e5 + .property instance class NAnt.VSNet.Configuration Key () + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::get_Key () + } + .property instance class NAnt.VSNet.Configuration Value () + { + .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::get_Value () + } + } // end of class NAnt.VSNet.ConfigurationMapEntry +} - IL_00e5: ldloc.1 - IL_00e6: ret - } // end of method ProjectBase::ExpandMacro +.namespace NAnt.VSNet +{ + .class private auto ansi beforefieldinit VCProjectProvider + extends [mscorlib]System.Object + implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - // method line 185 - .method family virtual hidebysig newslot abstract - instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed + // method line 235 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::DetermineProductVersion + // Method begins at RVA 0x739b + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method VCProjectProvider::.ctor - // method line 186 - .method family virtual hidebysig newslot abstract - instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed + // method line 236 + .method public final virtual hidebysig newslot + instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::VerifyProjectXml + // Method begins at RVA 0x73a4 + // Code size 52 (0x34) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr ".vcproj" + IL_0007: call bool string::op_Equality(string, string) + IL_000c: brfalse IL_0018 - // method line 187 - .method family virtual hidebysig newslot - instance default void Prepare (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + IL_0011: ldc.i4.5 + IL_0012: stloc.0 + IL_0013: br IL_0032 + + IL_0018: ldarg.2 + IL_0019: call bool class NAnt.VSNet.VcProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_001e: brfalse IL_002b + + IL_0023: ldc.i4.s 0x0a + IL_0025: stloc.0 + IL_0026: br IL_0032 + + IL_002b: ldc.i4.0 + IL_002c: stloc.0 + IL_002d: br IL_0032 + + IL_0032: ldloc.0 + IL_0033: ret + } // end of method VCProjectProvider::IsSupported + + // method line 237 + .method public final virtual hidebysig newslot + instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x7ad8 - // Code size 333 (0x14d) - .maxstack 3 + // Method begins at RVA 0x73e4 + // Code size 27 (0x1b) + .maxstack 8 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class [NAnt.Core]NAnt.Core.Tasks.AttribTask V_1, - class NAnt.VSNet.ConfigurationBase V_2, - valuetype [mscorlib]System.Collections.DictionaryEntry V_3, - class [mscorlib]System.Collections.IDictionaryEnumerator V_4, - class [mscorlib]System.IDisposable V_5) + class NAnt.VSNet.ProjectBase V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldloc.0 - IL_000a: callvirt instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) - IL_000f: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.AttribTask::'.ctor'() - IL_0014: stloc.1 - IL_0015: ldloc.1 - IL_0016: ldarg.0 - IL_0017: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_001c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0021: ldloc.1 - IL_0022: ldarg.0 - IL_0023: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0028: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_002d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0032: ldloc.1 - IL_0033: ldarg.0 - IL_0034: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0039: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_003e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0043: ldloc.1 - IL_0044: ldarg.0 - IL_0045: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_004a: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_004f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0054: ldloc.1 - IL_0055: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_005a: brtrue IL_006c + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: ldarg.s 6 + IL_000a: ldarg.s 7 + IL_000c: ldarg.s 8 + IL_000e: newobj instance void class NAnt.VSNet.VcProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_005f: nop - IL_0060: ldloc.1 - IL_0061: ldc.i4 4000 - IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_006b: nop - IL_006c: ldloc.1 - IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0072: ldloc.1 - IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_0078: ldloc.1 - IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_007e: ldloc.1 - IL_007f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_0084: ldloc.1 - IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_008a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_008f: ldloc.1 - IL_0090: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_0095: ldloc.1 - IL_0096: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00a0: ldloc.1 - IL_00a1: ldc.i4.0 - IL_00a2: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.AttribTask::set_ReadOnlyAttrib(bool) - IL_00a7: ldarg.0 - IL_00a8: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_00ad: ldarg.1 - IL_00ae: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_00b3: stloc.2 - IL_00b4: nop - IL_00b5: ldloc.0 - IL_00b6: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_00bb: stloc.s 4 - .try { // 0 - IL_00bd: br IL_00fe - - IL_00c2: ldloc.s 4 - IL_00c4: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00c9: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_00ce: stloc.3 - IL_00cf: nop - IL_00d0: ldloc.1 - IL_00d1: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.AttribTask::get_AttribFileSet() - IL_00d6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_00db: ldloc.2 - IL_00dc: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_00e1: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00e6: ldloca.s 3 - IL_00e8: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_00ed: castclass [mscorlib]System.String - IL_00f2: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00f7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00fc: pop - IL_00fd: nop - IL_00fe: ldloc.s 4 - IL_0100: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0105: brtrue IL_00c2 + IL_0019: ldloc.0 + IL_001a: ret + } // end of method VCProjectProvider::GetInstance - IL_010a: leave IL_0126 + // method line 238 + .method public final virtual hidebysig newslot + instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x740c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call string class NAnt.VSNet.VcProject::LoadGuid(class [System.Xml]System.Xml.XmlElement) + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_010f: ldloc.s 4 - IL_0111: isinst [mscorlib]System.IDisposable - IL_0116: dup - IL_0117: stloc.s 5 - IL_0119: brfalse IL_0125 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VCProjectProvider::LoadGuid - IL_011e: ldloc.s 5 - IL_0120: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0125: endfinally - } // end handler 0 - IL_0126: ldloc.1 - IL_0127: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_012c: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 1 - IL_0131: nop - IL_0132: ldloc.1 - IL_0133: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0138: nop - IL_0139: leave IL_014c + } // end of class NAnt.VSNet.VCProjectProvider +} - } // end .try 1 - finally { // 1 - IL_013e: nop - IL_013f: ldloc.1 - IL_0140: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0145: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_014a: nop - IL_014b: endfinally - } // end handler 1 - IL_014c: ret - } // end of method ProjectBase::Prepare +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ProjectEntry + extends [mscorlib]System.Object + { + .field private initonly string _guid + .field private initonly string _path + .field private class NAnt.VSNet.ProjectBase _project + .field private class NAnt.VSNet.ConfigurationMap _buildConfigurations - // method line 188 - .method family virtual hidebysig newslot abstract - instance default valuetype NAnt.VSNet.BuildResult Build (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 239 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string guid, string path) cil managed { - // Method begins at RVA 0x0 - } // end of method ProjectBase::Build + // Method begins at RVA 0x7427 + // Code size 58 (0x3a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - // method line 189 - .method family hidebysig - instance default void CopyFile (class [mscorlib]System.IO.FileInfo srcFile, class [mscorlib]System.IO.FileInfo destFile, class [NAnt.Core]NAnt.Core.Task parent) cil managed + IL_000d: nop + IL_000e: ldstr "guid" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.2 + IL_001a: brtrue IL_002b + + IL_001f: nop + IL_0020: ldstr "path" + IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002a: throw + IL_002b: ldarg.0 + IL_002c: ldarg.1 + IL_002d: stfld string NAnt.VSNet.ProjectEntry::_guid + IL_0032: ldarg.0 + IL_0033: ldarg.2 + IL_0034: stfld string NAnt.VSNet.ProjectEntry::_path + IL_0039: ret + } // end of method ProjectEntry::.ctor + + // method line 240 + .method public hidebysig specialname + instance default string get_Guid () cil managed { - // Method begins at RVA 0x7c50 - // Code size 179 (0xb3) - .maxstack 2 + // Method begins at RVA 0x7464 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0) + string V_0) IL_0000: nop - IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.3 - IL_0009: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_000e: ldloc.0 - IL_000f: ldarg.3 - IL_0010: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0015: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_001a: ldloc.0 - IL_001b: ldarg.3 - IL_001c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0021: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0026: ldloc.0 - IL_0027: ldarg.3 - IL_0028: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_002d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0032: ldloc.0 - IL_0033: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0038: brtrue IL_004a - - IL_003d: nop - IL_003e: ldloc.0 - IL_003f: ldc.i4 4000 - IL_0044: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_0049: nop - IL_004a: ldloc.0 - IL_004b: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0050: ldloc.0 - IL_0051: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0056: ldloc.0 - IL_0057: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_005c: ldloc.0 - IL_005d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0062: ldloc.0 - IL_0063: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0068: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_006d: ldloc.0 - IL_006e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0073: ldloc.0 - IL_0074: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_007e: ldloc.0 - IL_007f: ldarg.1 - IL_0080: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_SourceFile(class [mscorlib]System.IO.FileInfo) - IL_0085: ldloc.0 - IL_0086: ldarg.2 - IL_0087: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToFile(class [mscorlib]System.IO.FileInfo) - IL_008c: ldloc.0 - IL_008d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0092: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 0 - IL_0097: nop - IL_0098: ldloc.0 - IL_0099: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_009e: nop - IL_009f: leave IL_00b2 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectEntry::_guid + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - finally { // 0 - IL_00a4: nop - IL_00a5: ldloc.0 - IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00ab: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_00b0: nop - IL_00b1: endfinally - } // end handler 0 - IL_00b2: ret - } // end of method ProjectBase::CopyFile + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectEntry::get_Guid - // method line 190 - .method family hidebysig - instance default bool ExecuteBuildEvent (string buildEvent, string buildCommandLine, string batchFile, string workingDirectory, class NAnt.VSNet.ConfigurationBase config) cil managed + // method line 241 + .method public hidebysig specialname + instance default string get_Path () cil managed { - // Method begins at RVA 0x7d20 - // Code size 362 (0x16a) - .maxstack 7 + // Method begins at RVA 0x7480 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.StreamWriter V_0, - class [System]System.Diagnostics.ProcessStartInfo V_1, - class [System]System.Diagnostics.Process V_2, - string V_3, - int32 V_4, - bool V_5) + string V_0) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectEntry::_path IL_0007: stloc.0 - .try { // 0 - IL_0008: nop - IL_0009: ldloc.0 - IL_000a: ldstr "@echo off" - IL_000f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0014: ldarg.s 5 - IL_0016: ldarg.2 - IL_0017: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_001c: starg.s 2 - IL_001e: ldarg.2 - IL_001f: ldstr " " - IL_0024: ldstr "\n" - IL_0029: callvirt instance string string::Replace(string, string) - IL_002e: starg.s 2 - IL_0030: ldloc.0 - IL_0031: ldarg.2 - IL_0032: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0037: ldloc.0 - IL_0038: ldstr "if errorlevel 1 goto EventReportError" - IL_003d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0042: ldloc.0 - IL_0043: ldstr "goto EventEnd" - IL_0048: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_004d: ldloc.0 - IL_004e: ldstr ":EventReportError" - IL_0053: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0058: ldloc.0 - IL_0059: ldstr "echo Project error: A tool returned an error code from the build event" - IL_005e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0063: ldloc.0 - IL_0064: ldstr "exit 1" - IL_0069: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_006e: ldloc.0 - IL_006f: ldstr ":EventEnd" - IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0079: nop - IL_007a: leave IL_008c - - } // end .try 0 - finally { // 0 - IL_007f: ldloc.0 - IL_0080: brfalse IL_008b - - IL_0085: ldloc.0 - IL_0086: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_008b: endfinally - } // end handler 0 - IL_008c: ldarg.3 - IL_008d: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string) - IL_0092: stloc.1 - IL_0093: ldloc.1 - IL_0094: ldc.i4.0 - IL_0095: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_UseShellExecute(bool) - IL_009a: ldloc.1 - IL_009b: ldc.i4.1 - IL_009c: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardOutput(bool) - IL_00a1: ldloc.1 - IL_00a2: ldarg.s 4 - IL_00a4: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_00a9: ldloc.1 - IL_00aa: call class [System]System.Diagnostics.Process class [System]System.Diagnostics.Process::Start(class [System]System.Diagnostics.ProcessStartInfo) - IL_00af: stloc.2 - IL_00b0: nop - IL_00b1: nop - IL_00b2: ldloc.2 - IL_00b3: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardOutput() - IL_00b8: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_00bd: stloc.3 - IL_00be: ldloc.3 - IL_00bf: brtrue IL_00ca - - IL_00c4: nop - IL_00c5: br IL_00f6 - - IL_00ca: ldarg.0 - IL_00cb: ldc.i4 2000 - IL_00d0: ldstr " [" - IL_00d5: ldarg.1 - IL_00d6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00db: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_00e0: ldstr "] " - IL_00e5: ldloc.3 - IL_00e6: call string string::Concat(string, string, string, string) - IL_00eb: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00f0: nop - IL_00f1: br IL_00b0 + IL_0008: br IL_000d - IL_00f6: ldloc.2 - IL_00f7: callvirt instance void class [System]System.Diagnostics.Process::WaitForExit() - IL_00fc: ldloc.2 - IL_00fd: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() - IL_0102: stloc.s 4 - IL_0104: ldloc.s 4 - IL_0106: brtrue IL_012c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectEntry::get_Path - IL_010b: nop - IL_010c: ldarg.0 - IL_010d: ldc.i4 2000 - IL_0112: ldstr "{0} succeeded (exit code = 0)" - IL_0117: ldc.i4.1 - IL_0118: newarr [mscorlib]System.Object - IL_011d: dup - IL_011e: ldc.i4.0 - IL_011f: ldarg.1 - IL_0120: stelem.ref - IL_0121: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0126: nop - IL_0127: br IL_0152 + // method line 242 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectBase get_Project () cil managed + { + // Method begins at RVA 0x749c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ProjectBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectEntry::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_012c: nop - IL_012d: ldarg.0 - IL_012e: ldc.i4 5000 - IL_0133: ldstr "{0} failed with exit code = {1}" - IL_0138: ldc.i4.2 - IL_0139: newarr [mscorlib]System.Object - IL_013e: dup - IL_013f: ldc.i4.0 - IL_0140: ldarg.1 - IL_0141: stelem.ref - IL_0142: dup - IL_0143: ldc.i4.1 - IL_0144: ldloc.s 4 - IL_0146: box [mscorlib]System.Int32 - IL_014b: stelem.ref - IL_014c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0151: nop - IL_0152: ldloc.s 4 - IL_0154: brtrue IL_015f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectEntry::get_Project - IL_0159: ldc.i4.1 - IL_015a: br IL_0160 + // method line 243 + .method public hidebysig specialname + instance default void set_Project (class NAnt.VSNet.ProjectBase 'value') cil managed + { + // Method begins at RVA 0x74b8 + // Code size 90 (0x5a) + .maxstack 5 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0052 - IL_015f: ldc.i4.0 - IL_0160: stloc.s 5 - IL_0162: br IL_0167 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: call instance string class NAnt.VSNet.ProjectEntry::get_Guid() + IL_000e: ldarg.1 + IL_000f: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0014: ldc.i4.1 + IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_001f: brfalse IL_0051 - IL_0167: ldloc.s 5 - IL_0169: ret - } // end of method ProjectBase::ExecuteBuildEvent + IL_0024: nop + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002a: ldstr "GUID corruption detected for project '{0}'. GUID values in project file and solution file do not match ('{1}' and '{2}'). Please correct this manually." + IL_002f: ldarg.1 + IL_0030: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0035: ldarg.1 + IL_0036: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_003b: ldarg.0 + IL_003c: call instance string class NAnt.VSNet.ProjectEntry::get_Guid() + IL_0041: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0046: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_004b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0050: throw + IL_0051: nop + IL_0052: ldarg.0 + IL_0053: ldarg.1 + IL_0054: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectEntry::_project + IL_0059: ret + } // end of method ProjectEntry::set_Project - // method line 191 - .method family hidebysig - instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message) cil managed + // method line 244 + .method public hidebysig specialname + instance default class NAnt.VSNet.ConfigurationMap get_BuildConfigurations () cil managed { - // Method begins at RVA 0x7ea8 - // Code size 28 (0x1c) - .maxstack 8 + // Method begins at RVA 0x7520 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ConfigurationMap V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0007: brfalse IL_001b + IL_0002: ldfld class NAnt.VSNet.ConfigurationMap NAnt.VSNet.ProjectEntry::_buildConfigurations + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_001a: nop - IL_001b: ret - } // end of method ProjectBase::Log + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectEntry::get_BuildConfigurations - // method line 192 - .method family hidebysig - instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message, object[] args) cil managed + // method line 245 + .method public hidebysig specialname + instance default void set_BuildConfigurations (class NAnt.VSNet.ConfigurationMap 'value') cil managed { - .param [3] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - - // Method begins at RVA 0x7ec5 - // Code size 29 (0x1d) + // Method begins at RVA 0x753b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0007: brfalse IL_001c - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: ldarg.3 - IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_001b: nop - IL_001c: ret - } // end of method ProjectBase::Log + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.VSNet.ConfigurationMap NAnt.VSNet.ProjectEntry::_buildConfigurations + IL_0008: ret + } // end of method ProjectEntry::set_BuildConfigurations - .property instance valuetype NAnt.VSNet.ProductVersion ProductVersion () + .property instance string Guid () { - .get instance default valuetype NAnt.VSNet.ProductVersion NAnt.VSNet.ProjectBase::get_ProductVersion () + .get instance default string NAnt.VSNet.ProjectEntry::get_Guid () } - .property instance string Name () + .property instance string Path () { - .get instance default string NAnt.VSNet.ProjectBase::get_Name () + .get instance default string NAnt.VSNet.ProjectEntry::get_Path () } - .property instance valuetype NAnt.VSNet.ProjectType Type () + .property instance class NAnt.VSNet.ProjectBase Project () { - .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.ProjectBase::get_Type () + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectEntry::get_Project () + .set instance default void NAnt.VSNet.ProjectEntry::set_Project (class NAnt.VSNet.ProjectBase 'value') } - .property instance string ProjectPath () - { - .get instance default string NAnt.VSNet.ProjectBase::get_ProjectPath () - } - .property instance class [mscorlib]System.IO.DirectoryInfo ProjectDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::get_ProjectDirectory () - } - .property instance valuetype NAnt.VSNet.ProjectLocation ProjectLocation () - { - .get instance default valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ProjectBase::get_ProjectLocation () - } - .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::get_ObjectDir () - } - .property instance string Guid () - { - .get instance default string NAnt.VSNet.ProjectBase::get_Guid () - .set instance default void NAnt.VSNet.ProjectBase::set_Guid (string 'value') - } - .property instance class NAnt.VSNet.ConfigurationDictionary ProjectConfigurations () - { - .get instance default class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::get_ProjectConfigurations () - } - .property instance class NAnt.VSNet.ConfigurationDictionary BuildConfigurations () - { - .get instance default class NAnt.VSNet.ConfigurationDictionary NAnt.VSNet.ProjectBase::get_BuildConfigurations () - } - .property instance class [mscorlib]System.Collections.ArrayList References () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectBase::get_References () - } - .property instance class NAnt.VSNet.Tasks.SolutionTask SolutionTask () - { - .get instance default class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ProjectBase::get_SolutionTask () - } - .property instance class [System]System.CodeDom.Compiler.TempFileCollection TemporaryFiles () - { - .get instance default class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectBase::get_TemporaryFiles () - } - .property instance class [mscorlib]System.Collections.Hashtable ExtraOutputFiles () - { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectBase::get_ExtraOutputFiles () - } - .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ProjectBase::get_OutputDir () - } - .property instance class [NAnt.Core]NAnt.Core.Util.GacCache GacCache () - { - .get instance default class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.ProjectBase::get_GacCache () - } - .property instance class NAnt.VSNet.ReferencesResolver ReferencesResolver () - { - .get instance default class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ProjectBase::get_ReferencesResolver () - } - .property instance class NAnt.VSNet.ProjectBaseCollection ProjectDependencies () - { - .get instance default class NAnt.VSNet.ProjectBaseCollection NAnt.VSNet.ProjectBase::get_ProjectDependencies () - } - .property instance string DevEnvDir () - { - .get instance default string NAnt.VSNet.ProjectBase::get_DevEnvDir () - } - .property instance class [mscorlib]System.Version ProductVersionNumber () + .property instance class NAnt.VSNet.ConfigurationMap BuildConfigurations () { - .get instance default class [mscorlib]System.Version NAnt.VSNet.ProjectBase::get_ProductVersionNumber () + .get instance default class NAnt.VSNet.ConfigurationMap NAnt.VSNet.ProjectEntry::get_BuildConfigurations () + .set instance default void NAnt.VSNet.ProjectEntry::set_BuildConfigurations (class NAnt.VSNet.ConfigurationMap 'value') } - } // end of class NAnt.VSNet.ProjectBase -} - -.namespace NAnt.VSNet -{ - .class public auto ansi sealed ProjectType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.ProjectType VB = int32(0x00000000) - .field public static literal valuetype NAnt.VSNet.ProjectType CSharp = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.ProjectType VisualC = int32(0x00000002) - .field public static literal valuetype NAnt.VSNet.ProjectType JSharp = int32(0x00000003) - .field public static literal valuetype NAnt.VSNet.ProjectType MSBuild = int32(0x00000004) - - } // end of class NAnt.VSNet.ProjectType -} - -.namespace NAnt.VSNet -{ - .class public auto ansi sealed BuildResult - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.BuildResult Failed = int32(0x00000000) - .field public static literal valuetype NAnt.VSNet.BuildResult Success = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.BuildResult SuccessOutputUpdated = int32(0x00000002) - - } // end of class NAnt.VSNet.BuildResult -} - -.namespace NAnt.VSNet -{ - .class public auto ansi sealed ProductVersion - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.ProductVersion Rainier = int32(0x00000046) - .field public static literal valuetype NAnt.VSNet.ProductVersion Everett = int32(0x00000047) - .field public static literal valuetype NAnt.VSNet.ProductVersion Whidbey = int32(0x00000050) - .field public static literal valuetype NAnt.VSNet.ProductVersion Orcas = int32(0x0000005a) - .field public static literal valuetype NAnt.VSNet.ProductVersion Rosario = int32(0x00000064) - - } // end of class NAnt.VSNet.ProductVersion -} - -.namespace NAnt.VSNet -{ - .class public auto ansi sealed ProjectLocation - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.ProjectLocation Local = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.ProjectLocation Web = int32(0x00000002) - - } // end of class NAnt.VSNet.ProjectLocation + } // end of class NAnt.VSNet.ProjectEntry } .namespace NAnt.VSNet { - .class public auto ansi serializable beforefieldinit ProjectBaseCollection + .class public auto ansi serializable beforefieldinit ProjectEntryCollection extends [mscorlib]System.Collections.CollectionBase { .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 193 + // method line 246 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x7ee3 + // Method begins at RVA 0x7545 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() IL_0006: nop IL_0007: ret - } // end of method ProjectBaseCollection::.ctor + } // end of method ProjectEntryCollection::.ctor - // method line 194 + // method line 247 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectBaseCollection 'value') cil managed + instance default void '.ctor' (class NAnt.VSNet.ProjectEntryCollection 'value') cil managed { - // Method begins at RVA 0x7eec + // Method begins at RVA 0x754e // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -8497,15 +8753,15 @@ IL_0006: nop IL_0007: ldarg.0 IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VSNet.ProjectBaseCollection::AddRange(class NAnt.VSNet.ProjectBaseCollection) + IL_0009: call instance void class NAnt.VSNet.ProjectEntryCollection::AddRange(class NAnt.VSNet.ProjectEntryCollection) IL_000e: ret - } // end of method ProjectBaseCollection::.ctor + } // end of method ProjectEntryCollection::.ctor - // method line 195 + // method line 248 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectBase[] 'value') cil managed + instance default void '.ctor' (class NAnt.VSNet.ProjectEntry[] 'value') cil managed { - // Method begins at RVA 0x7efc + // Method begins at RVA 0x755e // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -8513,37 +8769,37 @@ IL_0006: nop IL_0007: ldarg.0 IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VSNet.ProjectBaseCollection::AddRange(class NAnt.VSNet.ProjectBase[]) + IL_0009: call instance void class NAnt.VSNet.ProjectEntryCollection::AddRange(class NAnt.VSNet.ProjectEntry[]) IL_000e: ret - } // end of method ProjectBaseCollection::.ctor + } // end of method ProjectEntryCollection::.ctor - // method line 196 + // method line 249 .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Item (int32 index) cil managed + instance default class NAnt.VSNet.ProjectEntry get_Item (int32 index) cil managed { - // Method begins at RVA 0x7f0c + // Method begins at RVA 0x7570 // Code size 26 (0x1a) .maxstack 2 .locals init ( - class NAnt.VSNet.ProjectBase V_0) + class NAnt.VSNet.ProjectEntry V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() IL_0007: ldarg.1 IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.VSNet.ProjectBase + IL_000d: castclass NAnt.VSNet.ProjectEntry IL_0012: stloc.0 IL_0013: br IL_0018 IL_0018: ldloc.0 IL_0019: ret - } // end of method ProjectBaseCollection::get_Item + } // end of method ProjectEntryCollection::get_Item - // method line 197 + // method line 250 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.VSNet.ProjectBase 'value') cil managed + instance default void set_Item (int32 index, class NAnt.VSNet.ProjectEntry 'value') cil managed { - // Method begins at RVA 0x7f32 + // Method begins at RVA 0x7596 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -8553,107 +8809,156 @@ IL_0008: ldarg.2 IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) IL_000e: ret - } // end of method ProjectBaseCollection::set_Item + } // end of method ProjectEntryCollection::set_Item - // method line 198 + // method line 251 .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Item (string guid) cil managed + instance default class NAnt.VSNet.ProjectEntry get_Item (string guid) cil managed { - // Method begins at RVA 0x7f44 - // Code size 127 (0x7f) + // Method begins at RVA 0x75a8 + // Code size 92 (0x5c) .maxstack 4 .locals init ( - class NAnt.VSNet.ProjectBase V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.VSNet.ProjectBase V_2, - class [mscorlib]System.IDisposable V_3) + int32 V_0, + class NAnt.VSNet.ProjectEntry V_1, + class NAnt.VSNet.ProjectEntry V_2) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0002: brfalse IL_0053 IL_0007: nop - IL_0008: ldstr "guid" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_001a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_001f: stloc.1 - .try { // 0 - IL_0020: br IL_0052 + IL_0008: ldc.i4.0 + IL_0009: stloc.0 + IL_000a: br IL_0046 - IL_0025: ldloc.1 - IL_0026: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_002b: castclass NAnt.VSNet.ProjectBase - IL_0030: stloc.0 - IL_0031: nop - IL_0032: ldloc.0 - IL_0033: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0038: ldarg.1 - IL_0039: ldc.i4.1 - IL_003a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003f: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0044: brtrue IL_0051 + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0016: ldloc.0 + IL_0017: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_001c: castclass NAnt.VSNet.ProjectEntry + IL_0021: stloc.1 + IL_0022: ldloc.1 + IL_0023: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() + IL_0028: ldarg.1 + IL_0029: ldc.i4.1 + IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002f: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0034: brtrue IL_0041 - IL_0049: nop - IL_004a: ldloc.0 - IL_004b: stloc.2 - IL_004c: leave IL_007d + IL_0039: nop + IL_003a: ldloc.1 + IL_003b: stloc.2 + IL_003c: br IL_005a - IL_0051: nop - IL_0052: ldloc.1 - IL_0053: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0058: brtrue IL_0025 + IL_0041: nop + IL_0042: ldloc.0 + IL_0043: ldc.i4.1 + IL_0044: add + IL_0045: stloc.0 + IL_0046: ldloc.0 + IL_0047: ldarg.0 + IL_0048: call instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_004d: blt IL_000f - IL_005d: leave IL_0076 + IL_0052: nop + IL_0053: ldnull + IL_0054: stloc.2 + IL_0055: br IL_005a - } // end .try 0 - finally { // 0 - IL_0062: ldloc.1 - IL_0063: isinst [mscorlib]System.IDisposable - IL_0068: dup - IL_0069: stloc.3 - IL_006a: brfalse IL_0075 + IL_005a: ldloc.2 + IL_005b: ret + } // end of method ProjectEntryCollection::get_Item - IL_006f: ldloc.3 - IL_0070: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0075: endfinally - } // end handler 0 - IL_0076: ldnull - IL_0077: stloc.2 - IL_0078: br IL_007d + // method line 252 + .method public hidebysig specialname + instance default void set_Item (string guid, class NAnt.VSNet.ProjectEntry 'value') cil managed + { + // Method begins at RVA 0x7610 + // Code size 60 (0x3c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_007d: ldloc.2 - IL_007e: ret - } // end of method ProjectBaseCollection::get_Item + IL_0007: nop + IL_0008: ldstr "guid" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: brtrue IL_0025 - // method line 199 + IL_0019: nop + IL_001a: ldstr "value" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.0 + IL_0026: ldarg.1 + IL_0027: call instance bool class NAnt.VSNet.ProjectEntryCollection::Contains(string) + IL_002c: brtrue IL_003b + + IL_0031: nop + IL_0032: ldarg.0 + IL_0033: ldarg.2 + IL_0034: call instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) + IL_0039: pop + IL_003a: nop + IL_003b: ret + } // end of method ProjectEntryCollection::set_Item + + // method line 253 .method public hidebysig - instance default int32 Add (class NAnt.VSNet.ProjectBase item) cil managed + instance default int32 Add (class NAnt.VSNet.ProjectEntry item) cil managed { - // Method begins at RVA 0x7fe0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x7650 + // Code size 97 (0x61) + .maxstack 4 .locals init ( - int32 V_0) + class NAnt.VSNet.ProjectEntry V_0, + int32 V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ProjectBaseCollection::Add + IL_0007: nop + IL_0008: ldstr "item" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() + IL_001a: call instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_001f: stloc.0 + IL_0020: ldloc.0 + IL_0021: brfalse IL_004d - // method line 200 + IL_0026: nop + IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002c: ldstr "The GUIDs of projects \"{0}\" and \"{1}\" are identical. Please correct this manually." + IL_0031: ldarg.1 + IL_0032: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() + IL_0037: ldloc.0 + IL_0038: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() + IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0042: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0047: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_004c: throw + IL_004d: ldarg.0 + IL_004e: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0053: ldarg.1 + IL_0054: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_0059: stloc.1 + IL_005a: br IL_005f + + IL_005f: ldloc.1 + IL_0060: ret + } // end of method ProjectEntryCollection::Add + + // method line 254 .method public hidebysig - instance default void AddRange (class NAnt.VSNet.ProjectBase[] items) cil managed + instance default void AddRange (class NAnt.VSNet.ProjectEntry[] items) cil managed { - // Method begins at RVA 0x8004 + // Method begins at RVA 0x76c0 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -8668,7 +8973,7 @@ IL_000a: ldarg.1 IL_000b: ldloc.0 IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_000d: call instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) IL_0012: pop IL_0013: nop IL_0014: ldloc.0 @@ -8682,13 +8987,13 @@ IL_001c: blt IL_0008 IL_0021: ret - } // end of method ProjectBaseCollection::AddRange + } // end of method ProjectEntryCollection::AddRange - // method line 201 + // method line 255 .method public hidebysig - instance default void AddRange (class NAnt.VSNet.ProjectBaseCollection items) cil managed + instance default void AddRange (class NAnt.VSNet.ProjectEntryCollection items) cil managed { - // Method begins at RVA 0x8034 + // Method begins at RVA 0x76f0 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -8702,8 +9007,8 @@ IL_0009: ldarg.0 IL_000a: ldarg.1 IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_000c: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) IL_0016: pop IL_0017: nop IL_0018: ldloc.0 @@ -8716,13 +9021,13 @@ IL_0023: blt IL_0008 IL_0028: ret - } // end of method ProjectBaseCollection::AddRange + } // end of method ProjectEntryCollection::AddRange - // method line 202 + // method line 256 .method public hidebysig - instance default bool Contains (class NAnt.VSNet.ProjectBase item) cil managed + instance default bool Contains (class NAnt.VSNet.ProjectEntry item) cil managed { - // Method begins at RVA 0x806c + // Method begins at RVA 0x7728 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -8737,13 +9042,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method ProjectBaseCollection::Contains + } // end of method ProjectEntryCollection::Contains - // method line 203 + // method line 257 .method public hidebysig instance default bool Contains (string 'value') cil managed { - // Method begins at RVA 0x8090 + // Method begins at RVA 0x774c // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -8751,7 +9056,7 @@ IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseCollection::get_Item(string) + IL_0003: call instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) IL_0008: ldnull IL_0009: ceq IL_000b: ldc.i4.0 @@ -8761,13 +9066,13 @@ IL_0014: ldloc.0 IL_0015: ret - } // end of method ProjectBaseCollection::Contains + } // end of method ProjectEntryCollection::Contains - // method line 204 + // method line 258 .method public hidebysig - instance default void CopyTo (class NAnt.VSNet.ProjectBase[] 'array', int32 index) cil managed + instance default void CopyTo (class NAnt.VSNet.ProjectEntry[] 'array', int32 index) cil managed { - // Method begins at RVA 0x80b2 + // Method begins at RVA 0x776e // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -8777,13 +9082,13 @@ IL_0008: ldarg.2 IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) IL_000e: ret - } // end of method ProjectBaseCollection::CopyTo + } // end of method ProjectEntryCollection::CopyTo - // method line 205 + // method line 259 .method public hidebysig - instance default int32 IndexOf (class NAnt.VSNet.ProjectBase item) cil managed + instance default int32 IndexOf (class NAnt.VSNet.ProjectEntry item) cil managed { - // Method begins at RVA 0x80c4 + // Method begins at RVA 0x7780 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -8798,13 +9103,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method ProjectBaseCollection::IndexOf + } // end of method ProjectEntryCollection::IndexOf - // method line 206 + // method line 260 .method public hidebysig - instance default void Insert (int32 index, class NAnt.VSNet.ProjectBase item) cil managed + instance default void Insert (int32 index, class NAnt.VSNet.ProjectEntry item) cil managed { - // Method begins at RVA 0x80e5 + // Method begins at RVA 0x77a1 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -8814,32 +9119,32 @@ IL_0008: ldarg.2 IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) IL_000e: ret - } // end of method ProjectBaseCollection::Insert + } // end of method ProjectEntryCollection::Insert - // method line 207 + // method line 261 .method public hidebysig - instance default class NAnt.VSNet.ProjectBaseEnumerator GetEnumerator () cil managed + instance default class NAnt.VSNet.ProjectEntryEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x80f8 + // Method begins at RVA 0x77b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectBaseEnumerator V_0) + class NAnt.VSNet.ProjectEntryEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VSNet.ProjectBaseEnumerator::'.ctor'(class NAnt.VSNet.ProjectBaseCollection) + IL_0002: newobj instance void class NAnt.VSNet.ProjectEntryEnumerator::'.ctor'(class NAnt.VSNet.ProjectEntryCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectBaseCollection::GetEnumerator + } // end of method ProjectEntryCollection::GetEnumerator - // method line 208 + // method line 262 .method public hidebysig - instance default void Remove (class NAnt.VSNet.ProjectBase item) cil managed + instance default void Remove (class NAnt.VSNet.ProjectEntry item) cil managed { - // Method begins at RVA 0x8113 + // Method begins at RVA 0x77cf // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -8848,104 +9153,33 @@ IL_0007: ldarg.1 IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) IL_000d: ret - } // end of method ProjectBaseCollection::Remove - - // method line 209 - .method public hidebysig - instance default void Remove (string guid) cil managed - { - // Method begins at RVA 0x8124 - // Code size 123 (0x7b) - .maxstack 4 - .locals init ( - class NAnt.VSNet.ProjectBase V_0, - class NAnt.VSNet.ProjectBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: nop - IL_0004: ldarg.0 - IL_0005: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_000f: stloc.2 - .try { // 0 - IL_0010: br IL_0042 - - IL_0015: ldloc.2 - IL_0016: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001b: castclass NAnt.VSNet.ProjectBase - IL_0020: stloc.1 - IL_0021: nop - IL_0022: ldloc.1 - IL_0023: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0028: ldarg.1 - IL_0029: ldc.i4.1 - IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002f: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0034: brtrue IL_0041 - - IL_0039: nop - IL_003a: ldloc.1 - IL_003b: stloc.0 - IL_003c: leave IL_004d - - IL_0041: nop - IL_0042: ldloc.2 - IL_0043: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0048: brtrue IL_0015 - - IL_004d: leave IL_0066 - - } // end .try 0 - finally { // 0 - IL_0052: ldloc.2 - IL_0053: isinst [mscorlib]System.IDisposable - IL_0058: dup - IL_0059: stloc.3 - IL_005a: brfalse IL_0065 - - IL_005f: ldloc.3 - IL_0060: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0065: endfinally - } // end handler 0 - IL_0066: ldloc.0 - IL_0067: brfalse IL_007a - - IL_006c: nop - IL_006d: ldarg.0 - IL_006e: call instance class [mscorlib]System.Collections.ArrayList class [mscorlib]System.Collections.CollectionBase::get_InnerList() - IL_0073: ldloc.0 - IL_0074: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) - IL_0079: nop - IL_007a: ret - } // end of method ProjectBaseCollection::Remove + } // end of method ProjectEntryCollection::Remove - .property instance class NAnt.VSNet.ProjectBase Item (int32) + .property instance class NAnt.VSNet.ProjectEntry Item (int32) { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectBaseCollection::get_Item (int32 index) - .set instance default void NAnt.VSNet.ProjectBaseCollection::set_Item (int32 index, class NAnt.VSNet.ProjectBase 'value') + .get instance default class NAnt.VSNet.ProjectEntry NAnt.VSNet.ProjectEntryCollection::get_Item (int32 index) + .set instance default void NAnt.VSNet.ProjectEntryCollection::set_Item (int32 index, class NAnt.VSNet.ProjectEntry 'value') } - .property instance class NAnt.VSNet.ProjectBase Item (string) + .property instance class NAnt.VSNet.ProjectEntry Item (string) { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectBaseCollection::get_Item (string guid) + .get instance default class NAnt.VSNet.ProjectEntry NAnt.VSNet.ProjectEntryCollection::get_Item (string guid) + .set instance default void NAnt.VSNet.ProjectEntryCollection::set_Item (string guid, class NAnt.VSNet.ProjectEntry 'value') } - } // end of class NAnt.VSNet.ProjectBaseCollection + } // end of class NAnt.VSNet.ProjectEntryCollection } .namespace NAnt.VSNet { - .class public auto ansi beforefieldinit ProjectBaseEnumerator + .class public auto ansi beforefieldinit ProjectEntryEnumerator extends [mscorlib]System.Object implements [mscorlib]System.Collections.IEnumerator { .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 210 + // method line 263 .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectBaseCollection arguments) cil managed + instance default void '.ctor' (class NAnt.VSNet.ProjectEntryCollection arguments) cil managed { - // Method begins at RVA 0x81bc + // Method begins at RVA 0x77e0 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -8958,36 +9192,36 @@ IL_0009: ldarg.0 IL_000a: ldloc.0 IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator IL_0015: ret - } // end of method ProjectBaseEnumerator::.ctor + } // end of method ProjectEntryEnumerator::.ctor - // method line 211 + // method line 264 .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Current () cil managed + instance default class NAnt.VSNet.ProjectEntry get_Current () cil managed { - // Method begins at RVA 0x81e0 + // Method begins at RVA 0x7804 // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectBase V_0) + class NAnt.VSNet.ProjectEntry V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.VSNet.ProjectBase + IL_000c: castclass NAnt.VSNet.ProjectEntry IL_0011: stloc.0 IL_0012: br IL_0017 IL_0017: ldloc.0 IL_0018: ret - } // end of method ProjectBaseEnumerator::get_Current + } // end of method ProjectEntryEnumerator::get_Current - // method line 212 + // method line 265 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x8208 + // Method begins at RVA 0x782c .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) // Code size 20 (0x14) .maxstack 1 @@ -8995,40 +9229,40 @@ object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method ProjectBaseEnumerator::System.Collections.IEnumerator.get_Current + } // end of method ProjectEntryEnumerator::System.Collections.IEnumerator.get_Current - // method line 213 + // method line 266 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x8228 + // Method begins at RVA 0x784c // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method ProjectBaseEnumerator::MoveNext + } // end of method ProjectEntryEnumerator::MoveNext - // method line 214 + // method line 267 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x8248 + // Method begins at RVA 0x786c .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) // Code size 20 (0x14) .maxstack 1 @@ -9036,5043 +9270,4972 @@ bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method ProjectBaseEnumerator::System.Collections.IEnumerator.MoveNext + } // end of method ProjectEntryEnumerator::System.Collections.IEnumerator.MoveNext - // method line 215 + // method line 268 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x8268 + // Method begins at RVA 0x788c // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() IL_000c: ret - } // end of method ProjectBaseEnumerator::Reset + } // end of method ProjectEntryEnumerator::Reset - // method line 216 + // method line 269 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x8276 + // Method begins at RVA 0x789a .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectBaseEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() IL_000c: ret - } // end of method ProjectBaseEnumerator::System.Collections.IEnumerator.Reset + } // end of method ProjectEntryEnumerator::System.Collections.IEnumerator.Reset .property instance object System.Collections.IEnumerator.Current () { - .get instance default object NAnt.VSNet.ProjectBaseEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default object NAnt.VSNet.ProjectEntryEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.VSNet.ProjectBase Current () + .property instance class NAnt.VSNet.ProjectEntry Current () { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectBaseEnumerator::get_Current () + .get instance default class NAnt.VSNet.ProjectEntry NAnt.VSNet.ProjectEntryEnumerator::get_Current () } - } // end of class NAnt.VSNet.ProjectBaseEnumerator + } // end of class NAnt.VSNet.ProjectEntryEnumerator } .namespace NAnt.VSNet { - .class public auto ansi abstract beforefieldinit ManagedProjectBase - extends NAnt.VSNet.ProjectBase - { - .field private class [mscorlib]System.Collections.ArrayList _references - .field private initonly class [mscorlib]System.Collections.Hashtable _sourceFiles - .field private initonly class [mscorlib]System.Collections.ArrayList _neutralResources - .field private initonly class [mscorlib]System.Collections.ArrayList _localizedResources - .field private initonly string _projectPath - .field private initonly class [mscorlib]System.IO.DirectoryInfo _projectDirectory - .field private initonly string _webProjectBaseUrl - .field private initonly class NAnt.VSNet.ProjectSettings _projectSettings - .field private initonly valuetype NAnt.VSNet.ProjectLocation _projectLocation - .field private static literal string CommandFile = "compile-commands.txt" + .class private auto ansi beforefieldinit JSharpProjectProvider + extends [mscorlib]System.Object + implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - // method line 217 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + // method line 270 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8284 - // Code size 1192 (0x4a8) - .maxstack 7 - .locals init ( - string V_0, - class [System.Xml]System.Xml.XmlNodeList V_1, - class [System.Xml]System.Xml.XmlElement V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - class NAnt.VSNet.ConfigurationSettings V_4, - class [mscorlib]System.IDisposable V_5, - class [System.Xml]System.Xml.XmlNodeList V_6, - class [System.Xml]System.Xml.XmlElement V_7, - class [mscorlib]System.Collections.IEnumerator V_8, - class NAnt.VSNet.ReferenceBase V_9, - class [mscorlib]System.IDisposable V_10, - class [System.Xml]System.Xml.XmlNodeList V_11, - class [System.Xml]System.Xml.XmlElement V_12, - class [mscorlib]System.Collections.IEnumerator V_13, - string V_14, - string V_15, - class NAnt.VSNet.WebDavClient V_16, - class [mscorlib]System.IDisposable V_17) + // Method begins at RVA 0x78a8 + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.3 - IL_0002: ldarg.s 4 - IL_0004: ldarg.s 5 - IL_0006: ldarg.s 6 - IL_0008: ldarg.s 7 - IL_000a: ldarg.s 8 - IL_000c: call instance void class NAnt.VSNet.ProjectBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0011: nop - IL_0012: ldarg.2 - IL_0013: brtrue IL_0024 - - IL_0018: nop - IL_0019: ldstr "projectPath" - IL_001e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0023: throw - IL_0024: ldarg.3 - IL_0025: brtrue IL_0036 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method JSharpProjectProvider::.ctor - IL_002a: nop - IL_002b: ldstr "xmlDefinition" - IL_0030: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0035: throw - IL_0036: ldarg.0 - IL_0037: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_003c: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references - IL_0041: ldarg.0 - IL_0042: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0047: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources - IL_004c: ldarg.0 - IL_004d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0052: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources - IL_0057: ldarg.0 - IL_0058: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_005d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_0062: ldarg.0 - IL_0063: ldarg.2 - IL_0064: stfld string NAnt.VSNet.ManagedProjectBase::_projectPath - IL_0069: ldarg.0 - IL_006a: ldarg.0 - IL_006b: ldarg.3 - IL_006c: callvirt instance valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::DetermineProjectLocation(class [System.Xml]System.Xml.XmlElement) - IL_0071: stfld valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ManagedProjectBase::_projectLocation - IL_0076: ldarg.0 - IL_0077: call instance bool class NAnt.VSNet.ManagedProjectBase::get_IsWebProject() - IL_007c: brtrue IL_0099 + // method line 271 + .method public final virtual hidebysig newslot + instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x78b0 + // Code size 52 (0x34) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr ".vjsproj" + IL_0007: call bool string::op_Equality(string, string) + IL_000c: brfalse IL_0018 - IL_0081: nop - IL_0082: ldarg.0 - IL_0083: ldarg.2 - IL_0084: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0089: call instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_008e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory - IL_0093: nop - IL_0094: br IL_012a + IL_0011: ldc.i4.5 + IL_0012: stloc.0 + IL_0013: br IL_0032 - IL_0099: nop - IL_009a: ldarg.2 - IL_009b: ldstr ":" - IL_00a0: ldstr "_" - IL_00a5: callvirt instance string string::Replace(string, string) - IL_00aa: stloc.0 - IL_00ab: ldloc.0 - IL_00ac: ldstr "/" - IL_00b1: ldstr "_" - IL_00b6: callvirt instance string string::Replace(string, string) - IL_00bb: stloc.0 - IL_00bc: ldloc.0 - IL_00bd: ldstr "\\" - IL_00c2: ldstr "_" - IL_00c7: callvirt instance string string::Replace(string, string) - IL_00cc: stloc.0 - IL_00cd: ldarg.0 - IL_00ce: ldarg.0 - IL_00cf: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() - IL_00d4: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() - IL_00d9: ldloc.0 - IL_00da: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00df: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_00e4: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory - IL_00e9: ldarg.0 - IL_00ea: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory - IL_00ef: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_00f4: brtrue IL_0111 + IL_0018: ldarg.2 + IL_0019: call bool class NAnt.VSNet.JSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_001e: brfalse IL_002b - IL_00f9: nop - IL_00fa: ldarg.0 - IL_00fb: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory - IL_0100: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0105: ldarg.0 - IL_0106: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory - IL_010b: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0110: nop - IL_0111: ldarg.0 - IL_0112: ldarg.2 - IL_0113: ldc.i4.0 - IL_0114: ldarg.2 - IL_0115: ldstr "/" - IL_011a: callvirt instance int32 string::LastIndexOf(string) - IL_011f: callvirt instance string string::Substring(int32, int32) - IL_0124: stfld string NAnt.VSNet.ManagedProjectBase::_webProjectBaseUrl - IL_0129: nop - IL_012a: ldarg.0 - IL_012b: ldarg.3 - IL_012c: ldarg.3 - IL_012d: ldstr "//Build/Settings" - IL_0132: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0137: castclass [System.Xml]System.Xml.XmlElement - IL_013c: ldarg.0 - IL_013d: newobj instance void class NAnt.VSNet.ProjectSettings::'.ctor'(class [System.Xml]System.Xml.XmlElement, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ManagedProjectBase) - IL_0142: stfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedProjectBase::_projectSettings - IL_0147: ldarg.3 - IL_0148: ldstr "//Config" - IL_014d: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0152: stloc.1 - IL_0153: nop - IL_0154: ldloc.1 - IL_0155: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_015a: stloc.3 - .try { // 0 - IL_015b: br IL_0196 + IL_0023: ldc.i4.s 0x0a + IL_0025: stloc.0 + IL_0026: br IL_0032 - IL_0160: ldloc.3 - IL_0161: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0166: castclass [System.Xml]System.Xml.XmlElement - IL_016b: stloc.2 - IL_016c: nop - IL_016d: ldarg.0 - IL_016e: ldloc.2 - IL_016f: ldarg.0 - IL_0170: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() - IL_0175: newobj instance void class NAnt.VSNet.ConfigurationSettings::'.ctor'(class NAnt.VSNet.ManagedProjectBase, class [System.Xml]System.Xml.XmlElement, class [mscorlib]System.IO.DirectoryInfo) - IL_017a: stloc.s 4 - IL_017c: ldarg.0 - IL_017d: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() - IL_0182: ldloc.s 4 - IL_0184: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_0189: call class NAnt.VSNet.Configuration class NAnt.VSNet.Configuration::Parse(string) - IL_018e: ldloc.s 4 - IL_0190: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) - IL_0195: nop - IL_0196: ldloc.3 - IL_0197: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_019c: brtrue IL_0160 + IL_002b: ldc.i4.0 + IL_002c: stloc.0 + IL_002d: br IL_0032 - IL_01a1: leave IL_01bc + IL_0032: ldloc.0 + IL_0033: ret + } // end of method JSharpProjectProvider::IsSupported - } // end .try 0 - finally { // 0 - IL_01a6: ldloc.3 - IL_01a7: isinst [mscorlib]System.IDisposable - IL_01ac: dup - IL_01ad: stloc.s 5 - IL_01af: brfalse IL_01bb + // method line 272 + .method public final virtual hidebysig newslot + instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x78f0 + // Code size 27 (0x1b) + .maxstack 8 + .locals init ( + class NAnt.VSNet.ProjectBase V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: ldarg.s 6 + IL_000a: ldarg.s 7 + IL_000c: ldarg.s 8 + IL_000e: newobj instance void class NAnt.VSNet.JSharpProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_01b4: ldloc.s 5 - IL_01b6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01bb: endfinally - } // end handler 0 - IL_01bc: ldarg.3 - IL_01bd: ldstr "//References/Reference" - IL_01c2: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_01c7: stloc.s 6 - IL_01c9: nop - IL_01ca: ldloc.s 6 - IL_01cc: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_01d1: stloc.s 8 - .try { // 1 - IL_01d3: br IL_0201 + IL_0019: ldloc.0 + IL_001a: ret + } // end of method JSharpProjectProvider::GetInstance - IL_01d8: ldloc.s 8 - IL_01da: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01df: castclass [System.Xml]System.Xml.XmlElement - IL_01e4: stloc.s 7 - IL_01e6: nop - IL_01e7: ldarg.0 - IL_01e8: ldarg.1 - IL_01e9: ldloc.s 7 - IL_01eb: callvirt instance class NAnt.VSNet.ReferenceBase class NAnt.VSNet.ManagedProjectBase::CreateReference(class NAnt.VSNet.SolutionBase, class [System.Xml]System.Xml.XmlElement) - IL_01f0: stloc.s 9 - IL_01f2: ldarg.0 - IL_01f3: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references - IL_01f8: ldloc.s 9 - IL_01fa: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_01ff: pop - IL_0200: nop - IL_0201: ldloc.s 8 - IL_0203: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0208: brtrue IL_01d8 + // method line 273 + .method public final virtual hidebysig newslot + instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x7918 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlElement) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_020d: leave IL_0229 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method JSharpProjectProvider::LoadGuid - } // end .try 1 - finally { // 1 - IL_0212: ldloc.s 8 - IL_0214: isinst [mscorlib]System.IDisposable - IL_0219: dup - IL_021a: stloc.s 10 - IL_021c: brfalse IL_0228 + } // end of class NAnt.VSNet.JSharpProjectProvider +} - IL_0221: ldloc.s 10 - IL_0223: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0228: endfinally - } // end handler 1 - IL_0229: ldarg.3 - IL_022a: ldstr "//Files/Include/File" - IL_022f: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0234: stloc.s 11 - IL_0236: nop - IL_0237: ldloc.s 11 - IL_0239: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_023e: stloc.s 13 - .try { // 2 - IL_0240: br IL_047f +.namespace NAnt.VSNet +{ + .class private auto ansi sealed beforefieldinit SolutionFactory + extends [mscorlib]System.Object + { + .field private initonly class [mscorlib]System.Collections.ArrayList _projectProviders - IL_0245: ldloc.s 13 - IL_0247: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_024c: castclass [System.Xml]System.Xml.XmlElement - IL_0251: stloc.s 12 - IL_0253: nop - IL_0254: ldloc.s 12 - IL_0256: ldstr "BuildAction" - IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0260: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0265: stloc.s 14 - IL_0267: ldloc.s 12 - IL_0269: ldstr "Link" - IL_026e: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0273: call bool string::IsNullOrEmpty(string) - IL_0278: brtrue IL_02a7 + // method line 274 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x7933 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.SolutionFactory::_projectProviders + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ret + } // end of method SolutionFactory::.ctor - IL_027d: nop - IL_027e: ldarg.0 - IL_027f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0284: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0289: ldloc.s 12 - IL_028b: ldstr "Link" - IL_0290: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0295: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_029a: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_029f: stloc.s 15 - IL_02a1: nop - IL_02a2: br IL_02cc + // method line 275 + .method assembly static hidebysig + default class NAnt.VSNet.SolutionFactory Create () cil managed + { + // Method begins at RVA 0x7948 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + class NAnt.VSNet.SolutionFactory V_0) + IL_0000: nop + IL_0001: newobj instance void class NAnt.VSNet.SolutionFactory::'.ctor'() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_02a7: nop - IL_02a8: ldarg.0 - IL_02a9: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_02ae: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02b3: ldloc.s 12 - IL_02b5: ldstr "RelPath" - IL_02ba: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_02bf: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_02c4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_02c9: stloc.s 15 - IL_02cb: nop - IL_02cc: ldarg.0 - IL_02cd: call instance bool class NAnt.VSNet.ManagedProjectBase::get_IsWebProject() - IL_02d2: brfalse IL_0391 + IL_000c: ldloc.0 + IL_000d: ret + } // end of method SolutionFactory::Create - IL_02d7: nop - IL_02d8: ldarg.0 - IL_02d9: ldfld string NAnt.VSNet.ManagedProjectBase::_webProjectBaseUrl - IL_02de: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_02e3: newobj instance void class NAnt.VSNet.WebDavClient::'.ctor'(class [System]System.Uri) - IL_02e8: stloc.s 16 - IL_02ea: ldloc.s 16 - IL_02ec: ldloc.s 15 - IL_02ee: ldloc.s 12 - IL_02f0: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_02f5: ldstr "RelPath" - IL_02fa: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_02ff: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0304: callvirt instance void class NAnt.VSNet.WebDavClient::DownloadFile(string, string) - IL_0309: ldloc.s 14 - IL_030b: brfalse IL_0359 + // method line 276 + .method public hidebysig + instance default class NAnt.VSNet.SolutionBase LoadSolution (class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + { + // Method begins at RVA 0x7964 + // Code size 147 (0x93) + .maxstack 6 + .locals init ( + class NAnt.VSNet.SolutionBase V_0, + string V_1, + class [mscorlib]System.IO.StreamReader V_2, + class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0007: brtrue IL_001d - IL_0310: ldloc.s 14 - IL_0312: ldstr "Compile" - IL_0317: call bool string::op_Equality(string, string) - IL_031c: brtrue IL_0337 + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: ldarg.2 + IL_000f: ldarg.3 + IL_0010: ldarg.s 4 + IL_0012: newobj instance void class NAnt.VSNet.GenericSolution::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_0017: stloc.0 + IL_0018: br IL_0091 - IL_0321: ldloc.s 14 - IL_0323: ldstr "EmbeddedResource" - IL_0328: call bool string::op_Equality(string, string) - IL_032d: brtrue IL_034a + IL_001d: nop + IL_001e: ldarg.1 + IL_001f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0024: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0029: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_002e: ldc.i4.1 + IL_002f: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_0034: stloc.2 + .try { // 0 + IL_0035: nop + IL_0036: ldloc.2 + IL_0037: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_003c: stloc.1 + IL_003d: nop + IL_003e: leave IL_0050 - IL_0332: br IL_038b + } // end .try 0 + finally { // 0 + IL_0043: ldloc.2 + IL_0044: brfalse IL_004f - IL_0337: ldarg.0 - IL_0338: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_033d: ldloc.s 15 - IL_033f: ldnull - IL_0340: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0345: leave IL_038b - - IL_034a: ldarg.0 - IL_034b: ldloc.s 15 - IL_034d: ldloc.s 12 - IL_034f: call instance void class NAnt.VSNet.ManagedProjectBase::RegisterEmbeddedResource(string, class [System.Xml]System.Xml.XmlElement) - IL_0354: leave IL_038b - - IL_0359: ldloc.s 15 - IL_035b: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0360: ldarg.0 - IL_0361: callvirt instance string class NAnt.VSNet.ManagedProjectBase::get_FileExtension() - IL_0366: ldc.i4.1 - IL_0367: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_036c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0371: brtrue IL_0386 - - IL_0376: nop - IL_0377: ldarg.0 - IL_0378: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_037d: ldloc.s 15 - IL_037f: ldnull - IL_0380: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0385: nop - IL_0386: leave IL_038b + IL_0049: ldloc.2 + IL_004a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_004f: endfinally + } // end handler 0 + IL_0050: ldarg.0 + IL_0051: ldloc.1 + IL_0052: call instance class NAnt.VSNet.Extensibility.ISolutionBuildProvider class NAnt.VSNet.SolutionFactory::FindProvider(string) + IL_0057: stloc.3 + IL_0058: ldloc.3 + IL_0059: brfalse IL_0071 - IL_038b: nop - IL_038c: br IL_047e + IL_005e: nop + IL_005f: ldloc.3 + IL_0060: ldloc.1 + IL_0061: ldarg.1 + IL_0062: ldarg.2 + IL_0063: ldarg.3 + IL_0064: ldarg.s 4 + IL_0066: callvirt instance class NAnt.VSNet.SolutionBase class NAnt.VSNet.Extensibility.ISolutionBuildProvider::GetInstance(string, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_006b: stloc.0 + IL_006c: br IL_0091 - IL_0391: nop - IL_0392: ldloc.s 14 - IL_0394: brfalse IL_03e2 + IL_0071: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0076: ldstr "Solution format of file '{0}' is not supported." + IL_007b: ldarg.1 + IL_007c: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0081: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0086: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_008b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0090: throw + IL_0091: ldloc.0 + IL_0092: ret + } // end of method SolutionFactory::LoadSolution - IL_0399: ldloc.s 14 - IL_039b: ldstr "Compile" - IL_03a0: call bool string::op_Equality(string, string) - IL_03a5: brtrue IL_03c0 + // method line 277 + .method public hidebysig + instance default void RegisterProvider (class NAnt.VSNet.Extensibility.ISolutionBuildProvider provider) cil managed + { + // Method begins at RVA 0x7a14 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.SolutionFactory::_projectProviders + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_000d: pop + IL_000e: ret + } // end of method SolutionFactory::RegisterProvider - IL_03aa: ldloc.s 14 - IL_03ac: ldstr "EmbeddedResource" - IL_03b1: call bool string::op_Equality(string, string) - IL_03b6: brtrue IL_03d3 + // method line 278 + .method private hidebysig + instance default class NAnt.VSNet.Extensibility.ISolutionBuildProvider FindProvider (string fileContents) cil managed + { + // Method begins at RVA 0x7a24 + // Code size 110 (0x6e) + .maxstack 2 + .locals init ( + int32 V_0, + class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_1, + class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + int32 V_4, + class [mscorlib]System.IDisposable V_5, + class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_6) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: nop + IL_0006: ldarg.0 + IL_0007: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.SolutionFactory::_projectProviders + IL_000c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0011: stloc.3 + .try { // 0 + IL_0012: br IL_003d - IL_03bb: br IL_0414 + IL_0017: ldloc.3 + IL_0018: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001d: castclass NAnt.VSNet.Extensibility.ISolutionBuildProvider + IL_0022: stloc.2 + IL_0023: nop + IL_0024: ldloc.2 + IL_0025: ldarg.1 + IL_0026: callvirt instance int32 class NAnt.VSNet.Extensibility.ISolutionBuildProvider::IsSupported(string) + IL_002b: stloc.s 4 + IL_002d: ldloc.s 4 + IL_002f: ldloc.0 + IL_0030: ble IL_003c - IL_03c0: ldarg.0 - IL_03c1: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_03c6: ldloc.s 15 - IL_03c8: ldnull - IL_03c9: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_03ce: leave IL_0414 + IL_0035: nop + IL_0036: ldloc.s 4 + IL_0038: stloc.0 + IL_0039: ldloc.2 + IL_003a: stloc.1 + IL_003b: nop + IL_003c: nop + IL_003d: ldloc.3 + IL_003e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0043: brtrue IL_0017 - IL_03d3: ldarg.0 - IL_03d4: ldloc.s 15 - IL_03d6: ldloc.s 12 - IL_03d8: call instance void class NAnt.VSNet.ManagedProjectBase::RegisterEmbeddedResource(string, class [System.Xml]System.Xml.XmlElement) - IL_03dd: leave IL_0414 + IL_0048: leave IL_0063 - IL_03e2: ldloc.s 15 - IL_03e4: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_03e9: ldarg.0 - IL_03ea: callvirt instance string class NAnt.VSNet.ManagedProjectBase::get_FileExtension() - IL_03ef: ldc.i4.1 - IL_03f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03f5: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_03fa: brtrue IL_040f + } // end .try 0 + finally { // 0 + IL_004d: ldloc.3 + IL_004e: isinst [mscorlib]System.IDisposable + IL_0053: dup + IL_0054: stloc.s 5 + IL_0056: brfalse IL_0062 - IL_03ff: nop - IL_0400: ldarg.0 - IL_0401: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_0406: ldloc.s 15 - IL_0408: ldnull - IL_0409: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_040e: nop - IL_040f: leave IL_0414 + IL_005b: ldloc.s 5 + IL_005d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0062: endfinally + } // end handler 0 + IL_0063: ldloc.1 + IL_0064: stloc.s 6 + IL_0066: br IL_006b - IL_0414: ldstr "App.config" - IL_0419: ldloc.s 12 - IL_041b: ldstr "RelPath" - IL_0420: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0425: ldc.i4.1 - IL_0426: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_042b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0430: brtrue IL_047d + IL_006b: ldloc.s 6 + IL_006d: ret + } // end of method SolutionFactory::FindProvider - IL_0435: nop - IL_0436: ldarg.0 - IL_0437: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_043c: callvirt instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::get_OutputType() - IL_0441: ldc.i4.2 - IL_0442: beq IL_0458 + } // end of class NAnt.VSNet.SolutionFactory +} - IL_0447: ldarg.0 - IL_0448: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_044d: callvirt instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::get_OutputType() - IL_0452: ldc.i4.3 - IL_0453: bne.un IL_047c +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit ReferenceBase + extends [mscorlib]System.Object + { + .field private class NAnt.VSNet.ProjectBase _parent + .field private class NAnt.VSNet.ReferencesResolver _referencesResolver - IL_0458: nop - IL_0459: ldarg.0 - IL_045a: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ProjectBase::get_ExtraOutputFiles() - IL_045f: ldloc.s 15 - IL_0461: ldarg.0 - IL_0462: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0467: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() - IL_046c: ldstr ".config" - IL_0471: call string string::Concat(string, string) - IL_0476: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_047b: nop - IL_047c: nop - IL_047d: nop - IL_047e: nop - IL_047f: ldloc.s 13 - IL_0481: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0486: brtrue IL_0245 + // method line 279 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent) cil managed + { + // Method begins at RVA 0x7ab0 + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ReferenceBase::_referencesResolver + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ReferenceBase::_parent + IL_0015: ret + } // end of method ReferenceBase::.ctor - IL_048b: leave IL_04a7 + // method line 280 + .method public virtual hidebysig newslot abstract specialname + instance default bool get_CopyLocal () cil managed + { + // Method begins at RVA 0x0 + } // end of method ReferenceBase::get_CopyLocal - } // end .try 2 - finally { // 2 - IL_0490: ldloc.s 13 - IL_0492: isinst [mscorlib]System.IDisposable - IL_0497: dup - IL_0498: stloc.s 17 - IL_049a: brfalse IL_04a6 + // method line 281 + .method family virtual hidebysig newslot abstract specialname + instance default bool get_IsSystem () cil managed + { + // Method begins at RVA 0x0 + } // end of method ReferenceBase::get_IsSystem - IL_049f: ldloc.s 17 - IL_04a1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_04a6: endfinally - } // end handler 2 - IL_04a7: ret - } // end of method ManagedProjectBase::.ctor + // method line 282 + .method public virtual hidebysig newslot abstract specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x0 + } // end of method ReferenceBase::get_Name - // method line 218 - .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectSettings get_ProjectSettings () cil managed + // method line 283 + .method family hidebysig specialname + instance default class NAnt.VSNet.ProjectBase get_Parent () cil managed { - // Method begins at RVA 0x8784 + // Method begins at RVA 0x7ac8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectSettings V_0) + class NAnt.VSNet.ProjectBase V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedProjectBase::_projectSettings + IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ReferenceBase::_parent IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedProjectBase::get_ProjectSettings - - // method line 219 - .method family virtual hidebysig newslot abstract specialname - instance default string get_FileExtension () cil managed - { - // Method begins at RVA 0x0 - } // end of method ManagedProjectBase::get_FileExtension + } // end of method ReferenceBase::get_Parent - // method line 220 - .method private hidebysig specialname - instance default bool get_IsWebProject () cil managed + // method line 284 + .method family hidebysig specialname + instance default class NAnt.VSNet.Tasks.SolutionTask get_SolutionTask () cil managed { - // Method begins at RVA 0x87a0 + // Method begins at RVA 0x7ae4 // Code size 20 (0x14) .maxstack 1 .locals init ( - bool V_0) + class NAnt.VSNet.Tasks.SolutionTask V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath - IL_0007: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0007: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method ManagedProjectBase::get_IsWebProject + } // end of method ReferenceBase::get_SolutionTask - // method line 221 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed + // method line 285 + .method family hidebysig specialname + instance default class NAnt.VSNet.ReferencesResolver get_ReferencesResolver () cil managed { - // Method begins at RVA 0x87c0 - // Code size 66 (0x42) + // Method begins at RVA 0x7b04 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0, - class [System]System.Uri V_1, - string V_2) + class NAnt.VSNet.ReferencesResolver V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath - IL_0007: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) - IL_000c: brfalse IL_002b + IL_0002: ldfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ReferenceBase::_referencesResolver + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath - IL_0018: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_001d: stloc.1 - IL_001e: ldloc.1 - IL_001f: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_0024: stloc.0 - IL_0025: nop - IL_0026: br IL_0034 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ReferenceBase::get_ReferencesResolver - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_0032: stloc.0 - IL_0033: nop - IL_0034: ldloc.0 - IL_0035: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_003a: stloc.2 - IL_003b: br IL_0040 + // method line 286 + .method public virtual hidebysig newslot abstract + instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x0 + } // end of method ReferenceBase::GetPrimaryOutputFile - IL_0040: ldloc.2 - IL_0041: ret - } // end of method ManagedProjectBase::get_Name + // method line 287 + .method public virtual hidebysig newslot abstract + instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + { + // Method begins at RVA 0x0 + } // end of method ReferenceBase::GetOutputFiles - // method line 222 - .method public virtual hidebysig specialname - instance default string get_ProjectPath () cil managed + // method line 288 + .method public virtual hidebysig newslot abstract + instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x8810 - // Code size 50 (0x32) + // Method begins at RVA 0x0 + } // end of method ReferenceBase::GetAssemblyReferences + + // method line 289 + .method public virtual hidebysig newslot abstract + instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x0 + } // end of method ReferenceBase::GetTimestamp + + // method line 290 + .method public virtual hidebysig newslot abstract + instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x0 + } // end of method ReferenceBase::IsManaged + + // method line 291 + .method family hidebysig + instance default valuetype [mscorlib]System.DateTime GetFileTimestamp (string fileName) cil managed + { + // Method begins at RVA 0x7b20 + // Code size 38 (0x26) .maxstack 1 .locals init ( - string V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath - IL_0007: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) - IL_000c: brfalse IL_001e + IL_0001: ldarg.1 + IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0007: brtrue IL_0018 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath - IL_0018: stloc.0 - IL_0019: br IL_0030 + IL_000c: nop + IL_000d: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue + IL_0012: stloc.0 + IL_0013: br IL_0024 - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath - IL_0025: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_002a: stloc.0 - IL_002b: br IL_0030 + IL_0018: ldarg.1 + IL_0019: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_001e: stloc.0 + IL_001f: br IL_0024 - IL_0030: ldloc.0 - IL_0031: ret - } // end of method ManagedProjectBase::get_ProjectPath + IL_0024: ldloc.0 + IL_0025: ret + } // end of method ReferenceBase::GetFileTimestamp - // method line 223 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ProjectDirectory () cil managed + // method line 292 + .method family hidebysig + instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x8850 + // Method begins at RVA 0x7b52 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) IL_000e: ret - } // end of method ManagedProjectBase::get_ProjectDirectory + } // end of method ReferenceBase::Log - // method line 224 - .method public virtual hidebysig specialname - instance default valuetype NAnt.VSNet.ProjectLocation get_ProjectLocation () cil managed + // method line 293 + .method family hidebysig + instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message, object[] args) cil managed { - // Method begins at RVA 0x886c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProjectLocation V_0) + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x7b62 + // Code size 16 (0x10) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ManagedProjectBase::_projectLocation - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedProjectBase::get_ProjectLocation + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: ldarg.3 + IL_000a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_000f: ret + } // end of method ReferenceBase::Log - // method line 225 - .method public virtual hidebysig specialname - instance default string get_Guid () cil managed + // method line 294 + .method public static hidebysig + default void GetRelatedFiles (string file, class [mscorlib]System.Collections.Hashtable relatedFiles) cil managed { - // Method begins at RVA 0x8888 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x7b74 + // Code size 251 (0xfb) + .maxstack 4 .locals init ( - string V_0) + string V_0, + string V_1, + string V_2, + string[] V_3, + int32 V_4, + string V_5) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0007: callvirt instance string class NAnt.VSNet.ProjectSettings::get_Guid() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_000e: brfalse IL_001e - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ManagedProjectBase::get_Guid + IL_0013: ldloc.0 + IL_0014: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0019: brtrue IL_0024 - // method line 226 - .method public virtual hidebysig specialname - instance default void set_Guid (string 'value') cil managed - { - // Method begins at RVA 0x88a8 - // Code size 12 (0xc) + IL_001e: nop + IL_001f: br IL_00fa + + IL_0024: ldarg.1 + IL_0025: ldarg.0 + IL_0026: ldarg.0 + IL_0027: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_002c: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0031: ldarg.0 + IL_0032: ldstr ".*" + IL_0037: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_003c: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0041: stloc.1 + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0049: ldloc.1 + IL_004a: call string[] class [mscorlib]System.IO.Directory::GetFiles(string, string) + IL_004f: stloc.3 + IL_0050: ldc.i4.0 + IL_0051: stloc.s 4 + IL_0053: br IL_00f0 + + IL_0058: ldloc.3 + IL_0059: ldloc.s 4 + IL_005b: ldelem.ref + IL_005c: stloc.2 + IL_005d: nop + IL_005e: ldloc.2 + IL_005f: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0064: ldarg.0 + IL_0065: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_006a: ldc.i4.1 + IL_006b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0070: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0075: brfalse IL_0080 + + IL_007a: nop + IL_007b: br IL_00ea + + IL_0080: ldloc.2 + IL_0081: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0086: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_008b: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0090: stloc.s 5 + IL_0092: ldloc.s 5 + IL_0094: ldstr ".dll" + IL_0099: call bool string::op_Inequality(string, string) + IL_009e: brfalse IL_00dc + + IL_00a3: ldloc.s 5 + IL_00a5: ldstr ".xml" + IL_00aa: call bool string::op_Inequality(string, string) + IL_00af: brfalse IL_00dc + + IL_00b4: ldloc.s 5 + IL_00b6: ldstr ".pdb" + IL_00bb: call bool string::op_Inequality(string, string) + IL_00c0: brfalse IL_00dc + + IL_00c5: ldloc.s 5 + IL_00c7: ldstr ".mdb" + IL_00cc: call bool string::op_Inequality(string, string) + IL_00d1: brfalse IL_00dc + + IL_00d6: nop + IL_00d7: br IL_00ea + + IL_00dc: ldarg.1 + IL_00dd: ldloc.2 + IL_00de: ldloc.2 + IL_00df: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_00e4: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00e9: nop + IL_00ea: ldloc.s 4 + IL_00ec: ldc.i4.1 + IL_00ed: add + IL_00ee: stloc.s 4 + IL_00f0: ldloc.s 4 + IL_00f2: ldloc.3 + IL_00f3: ldlen + IL_00f4: conv.i4 + IL_00f5: blt IL_0058 + + IL_00fa: ret + } // end of method ReferenceBase::GetRelatedFiles + + .property instance bool CopyLocal () + { + .get instance default bool NAnt.VSNet.ReferenceBase::get_CopyLocal () + } + .property instance bool IsSystem () + { + .get instance default bool NAnt.VSNet.ReferenceBase::get_IsSystem () + } + .property instance string Name () + { + .get instance default string NAnt.VSNet.ReferenceBase::get_Name () + } + .property instance class NAnt.VSNet.ProjectBase Parent () + { + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ReferenceBase::get_Parent () + } + .property instance class NAnt.VSNet.Tasks.SolutionTask SolutionTask () + { + .get instance default class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ReferenceBase::get_SolutionTask () + } + .property instance class NAnt.VSNet.ReferencesResolver ReferencesResolver () + { + .get instance default class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ReferenceBase::get_ReferencesResolver () + } + } // end of class NAnt.VSNet.ReferenceBase +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit Configuration + extends [mscorlib]System.Object + implements [mscorlib]System.IComparable { + .field private string _name + .field private string _platform + + // method line 295 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x7c7b + // Code size 8 (0x8) .maxstack 8 - IL_0000: nop - IL_0001: ldstr "It is not allowed to change the GUID of a C#/VB.NET project" - IL_0006: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) - IL_000b: throw - } // end of method ManagedProjectBase::set_Guid + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method Configuration::.ctor - // method line 227 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_References () cil managed + // method line 296 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name, string platform) cil managed + { + // Method begins at RVA 0x7c84 + // Code size 39 (0x27) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0018 + + IL_000d: ldstr "name" + IL_0012: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0017: throw + IL_0018: ldarg.0 + IL_0019: ldarg.1 + IL_001a: stfld string NAnt.VSNet.Configuration::_name + IL_001f: ldarg.0 + IL_0020: ldarg.2 + IL_0021: stfld string NAnt.VSNet.Configuration::_platform + IL_0026: ret + } // end of method Configuration::.ctor + + // method line 297 + .method public hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x88b8 + // Method begins at RVA 0x7cac // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references + IL_0002: ldfld string NAnt.VSNet.Configuration::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedProjectBase::get_References + } // end of method Configuration::get_Name - // method line 228 - .method public virtual hidebysig - instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 298 + .method public hidebysig specialname + instance default void set_Name (string 'value') cil managed { - // Method begins at RVA 0x88d4 - // Code size 10 (0xa) + // Method begins at RVA 0x7cc7 + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0012 + + IL_0007: ldstr "value" + IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0011: throw + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: stfld string NAnt.VSNet.Configuration::_name + IL_0019: ret + } // end of method Configuration::set_Name + + // method line 299 + .method public hidebysig specialname + instance default string get_Platform () cil managed + { + // Method begins at RVA 0x7ce4 + // Code size 37 (0x25) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.Configuration::_platform + IL_0007: brtrue IL_0017 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ManagedProjectBase::IsManaged + IL_000c: ldsfld string [mscorlib]System.String::Empty + IL_0011: stloc.0 + IL_0012: br IL_0023 - // method line 229 - .method family virtual hidebysig - instance default void Prepare (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + IL_0017: ldarg.0 + IL_0018: ldfld string NAnt.VSNet.Configuration::_platform + IL_001d: stloc.0 + IL_001e: br IL_0023 + + IL_0023: ldloc.0 + IL_0024: ret + } // end of method Configuration::get_Platform + + // method line 300 + .method public hidebysig specialname + instance default void set_Platform (string 'value') cil managed { - // Method begins at RVA 0x88ec - // Code size 62 (0x3e) + // Method begins at RVA 0x7d15 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.VSNet.Configuration::_platform + IL_0008: ret + } // end of method Configuration::set_Platform + + // method line 301 + .method public final virtual hidebysig newslot + instance default int32 CompareTo (object obj) cil managed + { + // Method begins at RVA 0x7d20 + // Code size 29 (0x1d) .maxstack 2 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0019: brtrue IL_0036 + IL_0002: ldarg.1 + IL_0003: callvirt instance bool object::Equals(object) + IL_0008: brfalse IL_0014 - IL_001e: nop - IL_001f: ldloc.0 - IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0025: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_002a: ldloc.0 - IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0030: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: ldarg.1 - IL_0038: call instance void class NAnt.VSNet.ProjectBase::Prepare(class NAnt.VSNet.Configuration) - IL_003d: ret - } // end of method ManagedProjectBase::Prepare + IL_000d: ldc.i4.0 + IL_000e: stloc.0 + IL_000f: br IL_001b - // method line 230 + IL_0014: ldc.i4.1 + IL_0015: stloc.0 + IL_0016: br IL_001b + + IL_001b: ldloc.0 + IL_001c: ret + } // end of method Configuration::CompareTo + + // method line 302 .method public virtual hidebysig - instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + instance default bool Equals (object obj) cil managed { - // Method begins at RVA 0x8938 - // Code size 245 (0xf5) - .maxstack 3 + // Method begins at RVA 0x7d4c + // Code size 105 (0x69) + .maxstack 4 .locals init ( - class NAnt.VSNet.ConfigurationSettings V_0, - string V_1, - class [mscorlib]System.Collections.Hashtable V_2, - class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet V_3, - class [mscorlib]System.Collections.IEnumerator V_4, - class [mscorlib]System.IO.FileInfo V_5, - string V_6, - class [mscorlib]System.IDisposable V_7) + bool V_0, + class NAnt.VSNet.Configuration V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: call instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) - IL_0009: ldarg.0 - IL_000a: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_000f: ldarg.1 - IL_0010: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0015: castclass NAnt.VSNet.ConfigurationSettings - IL_001a: stloc.0 - IL_001b: ldloc.0 - IL_001c: brtrue IL_0027 + IL_0001: ldarg.1 + IL_0002: brtrue IL_000e - IL_0021: nop - IL_0022: br IL_00f4 + IL_0007: ldc.i4.0 + IL_0008: stloc.0 + IL_0009: br IL_0067 - IL_0027: ldloc.0 - IL_0028: callvirt instance bool class NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop() - IL_002d: brfalse IL_0057 + IL_000e: ldarg.1 + IL_000f: isinst NAnt.VSNet.Configuration + IL_0014: stloc.1 + IL_0015: ldloc.1 + IL_0016: ldnull + IL_0017: call bool class NAnt.VSNet.Configuration::op_Equality(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) + IL_001c: brfalse IL_0028 - IL_0032: nop - IL_0033: ldarg.0 - IL_0034: ldloc.0 - IL_0035: call instance string class NAnt.VSNet.ManagedProjectBase::GetTypeLibraryPath(class NAnt.VSNet.ConfigurationSettings) - IL_003a: stloc.1 - IL_003b: ldarg.2 - IL_003c: ldloc.1 - IL_003d: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0042: brtrue IL_0056 + IL_0021: ldc.i4.0 + IL_0022: stloc.0 + IL_0023: br IL_0067 - IL_0047: nop - IL_0048: ldarg.2 - IL_0049: ldloc.1 + IL_0028: ldarg.0 + IL_0029: call instance string class NAnt.VSNet.Configuration::get_Name() + IL_002e: ldloc.1 + IL_002f: callvirt instance string class NAnt.VSNet.Configuration::get_Name() + IL_0034: ldc.i4.1 + IL_0035: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_003f: brtrue IL_0060 + + IL_0044: ldarg.0 + IL_0045: call instance string class NAnt.VSNet.Configuration::get_Platform() IL_004a: ldloc.1 - IL_004b: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0050: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0055: nop - IL_0056: nop - IL_0057: ldarg.0 - IL_0058: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ManagedProjectBase::GetLocalizedResources() - IL_005d: stloc.2 - IL_005e: nop - IL_005f: ldloc.2 - IL_0060: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_0065: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_006a: stloc.s 4 - .try { // 0 - IL_006c: br IL_00cc + IL_004b: callvirt instance string class NAnt.VSNet.Configuration::get_Platform() + IL_0050: ldc.i4.1 + IL_0051: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0056: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_005b: ldc.i4.0 + IL_005c: ceq + IL_005e: br.s IL_0061 - IL_0071: ldloc.s 4 - IL_0073: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0078: castclass NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet - IL_007d: stloc.3 - IL_007e: nop - IL_007f: ldloc.3 - IL_0080: ldloc.0 - IL_0081: ldarg.0 - IL_0082: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0087: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteAssemblyPath(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.ProjectSettings) - IL_008c: stloc.s 5 - IL_008e: ldloc.s 5 - IL_0090: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0095: brfalse IL_00cb + IL_0060: ldc.i4.0 + IL_0061: stloc.0 + IL_0062: br IL_0067 - IL_009a: ldarg.2 - IL_009b: ldloc.s 5 - IL_009d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00a2: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_00a7: brtrue IL_00cb + IL_0067: ldloc.0 + IL_0068: ret + } // end of method Configuration::Equals - IL_00ac: nop - IL_00ad: ldloc.3 - IL_00ae: ldarg.0 - IL_00af: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_00b4: callvirt instance string class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetRelativePath(class NAnt.VSNet.ProjectSettings) - IL_00b9: stloc.s 6 - IL_00bb: ldarg.2 - IL_00bc: ldloc.s 5 - IL_00be: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00c3: ldloc.s 6 - IL_00c5: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_00ca: nop - IL_00cb: nop - IL_00cc: ldloc.s 4 - IL_00ce: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00d3: brtrue IL_0071 + // method line 303 + .method public virtual hidebysig + instance default int32 GetHashCode () cil managed + { + // Method begins at RVA 0x7dc4 + // Code size 52 (0x34) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.VSNet.Configuration::get_Name() + IL_0007: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000c: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0011: callvirt instance int32 object::GetHashCode() + IL_0016: ldarg.0 + IL_0017: call instance string class NAnt.VSNet.Configuration::get_Platform() + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0026: callvirt instance int32 object::GetHashCode() + IL_002b: xor + IL_002c: stloc.0 + IL_002d: br IL_0032 - IL_00d8: leave IL_00f4 + IL_0032: ldloc.0 + IL_0033: ret + } // end of method Configuration::GetHashCode - } // end .try 0 - finally { // 0 - IL_00dd: ldloc.s 4 - IL_00df: isinst [mscorlib]System.IDisposable - IL_00e4: dup - IL_00e5: stloc.s 7 - IL_00e7: brfalse IL_00f3 + // method line 304 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x7e04 + // Code size 60 (0x3c) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.VSNet.Configuration::get_Platform() + IL_0007: callvirt instance int32 string::get_Length() + IL_000c: brtrue IL_001e - IL_00ec: ldloc.s 7 - IL_00ee: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f3: endfinally - } // end handler 0 - IL_00f4: ret - } // end of method ManagedProjectBase::GetOutputFiles + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance string class NAnt.VSNet.Configuration::get_Name() + IL_0018: stloc.0 + IL_0019: br IL_003a - // method line 231 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.BuildResult Build (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + IL_001e: ldarg.0 + IL_001f: call instance string class NAnt.VSNet.Configuration::get_Name() + IL_0024: ldstr "|" + IL_0029: ldarg.0 + IL_002a: call instance string class NAnt.VSNet.Configuration::get_Platform() + IL_002f: call string string::Concat(string, string, string) + IL_0034: stloc.0 + IL_0035: br IL_003a + + IL_003a: ldloc.0 + IL_003b: ret + } // end of method Configuration::ToString + + // method line 305 + .method public static hidebysig specialname + default bool op_Equality (class NAnt.VSNet.Configuration c1, class NAnt.VSNet.Configuration c2) cil managed { - // Method begins at RVA 0x8a4c - // Code size 1547 (0x60b) - .maxstack 7 + // Method begins at RVA 0x7e4c + // Code size 33 (0x21) + .maxstack 2 .locals init ( - bool V_0, - bool V_1, - string V_2, - class NAnt.VSNet.ConfigurationSettings V_3, - valuetype NAnt.VSNet.BuildResult V_4, - string V_5, - class [mscorlib]System.IO.StreamWriter V_6, - class [mscorlib]System.IO.StreamReader V_7, - string V_8, - class [System]System.Diagnostics.ProcessStartInfo V_9, - class [System]System.Diagnostics.Process V_10, - string V_11, - int32 V_12, - class [mscorlib]System.Collections.Hashtable V_13, - class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet V_14, - class [mscorlib]System.Collections.IEnumerator V_15, - class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask V_16, - class [mscorlib]System.IO.DirectoryInfo V_17, - class NAnt.VSNet.Resource V_18, - class [mscorlib]System.Collections.IEnumerator V_19, - class [mscorlib]System.IO.FileInfo V_20, - class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResource V_21, - class [mscorlib]System.IDisposable V_22, - class [mscorlib]System.IDisposable V_23, - string V_24, - string V_25, - class [mscorlib]System.Collections.Hashtable V_26, - valuetype [mscorlib]System.Collections.DictionaryEntry V_27, - class [mscorlib]System.Collections.IDictionaryEnumerator V_28, - string V_29, - string V_30, - class NAnt.VSNet.WebDavClient V_31, - class [mscorlib]System.IO.FileInfo V_32, - class [mscorlib]System.IDisposable V_33) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.2 - IL_0005: ldarg.0 - IL_0006: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_000b: callvirt instance void class [NAnt.Core]NAnt.Core.Util.GacCache::RecreateDomain() - .try { // 7 - IL_0010: nop - IL_0011: ldarg.0 - IL_0012: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0017: ldarg.1 - IL_0018: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_001d: castclass NAnt.VSNet.ConfigurationSettings - IL_0022: stloc.3 - IL_0023: ldarg.0 - IL_0024: ldloc.3 - IL_0025: call instance bool class NAnt.VSNet.ManagedProjectBase::PreBuild(class NAnt.VSNet.ConfigurationSettings) - IL_002a: brtrue IL_0038 - - IL_002f: nop - IL_0030: ldc.i4.0 - IL_0031: stloc.s 4 - IL_0033: leave IL_0608 - - IL_0038: ldarg.0 - IL_0039: ldloc.3 - IL_003a: ldarg.1 - IL_003b: call instance void class NAnt.VSNet.ManagedProjectBase::UnregisterForComInterop(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.Configuration) - IL_0040: ldarg.0 - IL_0041: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() - IL_0046: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() - IL_004b: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0050: brtrue IL_0068 + IL_0001: ldarg.0 + IL_0002: brtrue IL_0012 - IL_0055: nop - IL_0056: ldarg.0 - IL_0057: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() - IL_005c: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() - IL_0061: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0066: pop - IL_0067: nop - IL_0068: ldarg.0 - IL_0069: ldarg.1 - IL_006a: call instance void class NAnt.VSNet.ManagedProjectBase::CompileResXFiles(class NAnt.VSNet.Configuration) - IL_006f: ldarg.0 - IL_0070: ldarg.1 - IL_0071: call instance bool class NAnt.VSNet.ManagedProjectBase::CheckUpToDate(class NAnt.VSNet.Configuration) - IL_0076: brfalse IL_0094 + IL_0007: nop + IL_0008: ldarg.1 + IL_0009: ldnull + IL_000a: ceq + IL_000c: stloc.0 + IL_000d: br IL_001f - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: ldc.i4 2000 - IL_0082: ldstr "Project is up-to-date." - IL_0087: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_008c: ldc.i4.0 - IL_008d: stloc.1 - IL_008e: nop - IL_008f: br IL_025c + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: callvirt instance bool object::Equals(object) + IL_0019: stloc.0 + IL_001a: br IL_001f - IL_0094: nop - IL_0095: ldarg.0 - IL_0096: ldarg.1 - IL_0097: callvirt instance void class NAnt.VSNet.ProjectBase::Prepare(class NAnt.VSNet.Configuration) - IL_009c: ldarg.0 - IL_009d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_00a2: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_00a7: brtrue IL_00c1 + IL_001f: ldloc.0 + IL_0020: ret + } // end of method Configuration::op_Equality - IL_00ac: nop - IL_00ad: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_00b2: stloc.2 - IL_00b3: ldarg.0 - IL_00b4: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_00b9: ldloc.2 - IL_00ba: ldnull - IL_00bb: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00c0: nop - IL_00c1: ldarg.0 - IL_00c2: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() - IL_00c7: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() - IL_00cc: ldstr "compile-commands.txt" - IL_00d1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00d6: stloc.s 5 - IL_00d8: ldloc.s 5 - IL_00da: call class [mscorlib]System.IO.StreamWriter class [mscorlib]System.IO.File::CreateText(string) - IL_00df: stloc.s 6 - .try { // 0 - IL_00e1: nop - IL_00e2: ldarg.0 - IL_00e3: ldloc.s 6 - IL_00e5: ldarg.1 - IL_00e6: callvirt instance void class NAnt.VSNet.ManagedProjectBase::WriteCompilerOptions(class [mscorlib]System.IO.StreamWriter, class NAnt.VSNet.Configuration) - IL_00eb: nop - IL_00ec: leave IL_0100 + // method line 306 + .method public static hidebysig specialname + default bool op_Inequality (class NAnt.VSNet.Configuration c1, class NAnt.VSNet.Configuration c2) cil managed + { + // Method begins at RVA 0x7e7c + // Code size 19 (0x13) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call bool class NAnt.VSNet.Configuration::op_Equality(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) + IL_0008: ldc.i4.0 + IL_0009: ceq + IL_000b: stloc.0 + IL_000c: br IL_0011 - } // end .try 0 - finally { // 0 - IL_00f1: ldloc.s 6 - IL_00f3: brfalse IL_00ff + IL_0011: ldloc.0 + IL_0012: ret + } // end of method Configuration::op_Inequality - IL_00f8: ldloc.s 6 - IL_00fa: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00ff: endfinally - } // end handler 0 - IL_0100: ldarg.0 - IL_0101: ldc.i4 2000 - IL_0106: ldstr "Starting compiler..." - IL_010b: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0110: ldarg.0 - IL_0111: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0116: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_011b: brfalse IL_01b0 + // method line 307 + .method public static hidebysig + default class NAnt.VSNet.Configuration Parse (string config) cil managed + { + // Method begins at RVA 0x7e9c + // Code size 95 (0x5f) + .maxstack 4 + .locals init ( + int32 V_0, + class NAnt.VSNet.Configuration V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_0013 - IL_0120: nop - IL_0121: ldloc.s 5 - IL_0123: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) - IL_0128: stloc.s 7 - .try { // 2 - IL_012a: nop - IL_012b: ldarg.0 - IL_012c: ldc.i4 2000 - IL_0131: ldstr "Commands:" - IL_0136: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_013b: ldarg.0 - IL_013c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0141: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0146: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 1 - IL_014b: nop - IL_014c: nop - IL_014d: nop - IL_014e: ldloc.s 7 - IL_0150: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0155: stloc.s 8 - IL_0157: ldloc.s 8 - IL_0159: brtrue IL_0164 + IL_0007: nop + IL_0008: ldstr "config" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldstr "|" + IL_0019: callvirt instance int32 string::IndexOf(string) + IL_001e: stloc.0 + IL_001f: ldloc.0 + IL_0020: ldc.i4.0 + IL_0021: ble IL_004f - IL_015e: nop - IL_015f: leave IL_0181 + IL_0026: ldloc.0 + IL_0027: ldarg.0 + IL_0028: callvirt instance int32 string::get_Length() + IL_002d: bge IL_004f - IL_0164: ldarg.0 - IL_0165: ldc.i4 2000 - IL_016a: ldstr " " - IL_016f: ldloc.s 8 - IL_0171: call string string::Concat(string, string) - IL_0176: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_017b: nop - IL_017c: br IL_014c + IL_0032: nop + IL_0033: ldarg.0 + IL_0034: ldc.i4.0 + IL_0035: ldloc.0 + IL_0036: callvirt instance string string::Substring(int32, int32) + IL_003b: ldarg.0 + IL_003c: ldloc.0 + IL_003d: ldc.i4.1 + IL_003e: add + IL_003f: callvirt instance string string::Substring(int32) + IL_0044: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) + IL_0049: stloc.1 + IL_004a: br IL_005d - IL_0181: nop - IL_0182: leave IL_019a + IL_004f: nop + IL_0050: ldarg.0 + IL_0051: ldnull + IL_0052: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) + IL_0057: stloc.1 + IL_0058: br IL_005d - } // end .try 1 - finally { // 1 - IL_0187: nop - IL_0188: ldarg.0 - IL_0189: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_018e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0193: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0198: nop - IL_0199: endfinally - } // end handler 1 - IL_019a: nop - IL_019b: leave IL_01af + IL_005d: ldloc.1 + IL_005e: ret + } // end of method Configuration::Parse - } // end .try 2 - finally { // 2 - IL_01a0: ldloc.s 7 - IL_01a2: brfalse IL_01ae + .property instance string Name () + { + .get instance default string NAnt.VSNet.Configuration::get_Name () + .set instance default void NAnt.VSNet.Configuration::set_Name (string 'value') + } + .property instance string Platform () + { + .get instance default string NAnt.VSNet.Configuration::get_Platform () + .set instance default void NAnt.VSNet.Configuration::set_Platform (string 'value') + } + } // end of class NAnt.VSNet.Configuration +} - IL_01a7: ldloc.s 7 - IL_01a9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01ae: endfinally - } // end handler 2 - IL_01af: nop - IL_01b0: ldarg.0 - IL_01b1: ldloc.3 - IL_01b2: ldloc.s 5 - IL_01b4: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class NAnt.VSNet.ManagedProjectBase::GetProcessStartInfo(class NAnt.VSNet.ConfigurationBase, string) - IL_01b9: stloc.s 9 - IL_01bb: ldloc.s 9 - IL_01bd: ldc.i4.0 - IL_01be: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_UseShellExecute(bool) - IL_01c3: ldloc.s 9 - IL_01c5: ldc.i4.1 - IL_01c6: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardOutput(bool) - IL_01cb: ldloc.s 9 - IL_01cd: call class [System]System.Diagnostics.Process class [System]System.Diagnostics.Process::Start(class [System]System.Diagnostics.ProcessStartInfo) - IL_01d2: stloc.s 10 - IL_01d4: nop - IL_01d5: nop - IL_01d6: ldloc.s 10 - IL_01d8: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardOutput() - IL_01dd: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_01e2: stloc.s 11 - IL_01e4: ldloc.s 11 - IL_01e6: brtrue IL_01f1 +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit AssemblyReferenceBase + extends NAnt.VSNet.FileReferenceBase + { - IL_01eb: nop - IL_01ec: leave IL_0204 + // method line 308 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed + { + // Method begins at RVA 0x8110 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: call instance void class NAnt.VSNet.FileReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_000b: nop + IL_000c: ret + } // end of method AssemblyReferenceBase::.ctor - IL_01f1: ldarg.0 - IL_01f2: ldc.i4 3000 - IL_01f7: ldloc.s 11 - IL_01f9: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_01fe: nop - IL_01ff: br IL_01d4 + // method line 309 + .method family virtual hidebysig newslot abstract specialname + instance default bool get_IsPrivate () cil managed + { + // Method begins at RVA 0x0 + } // end of method AssemblyReferenceBase::get_IsPrivate - IL_0204: ldloc.s 10 - IL_0206: callvirt instance void class [System]System.Diagnostics.Process::WaitForExit() - IL_020b: ldloc.s 10 - IL_020d: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() - IL_0212: stloc.s 12 - IL_0214: ldarg.0 - IL_0215: ldc.i4 2000 - IL_021a: ldstr "{0}! (exit code = {1})" - IL_021f: ldc.i4.2 - IL_0220: newarr [mscorlib]System.Object - IL_0225: dup - IL_0226: ldc.i4.0 - IL_0227: ldloc.s 12 - IL_0229: brtrue IL_0238 + // method line 310 + .method family virtual hidebysig newslot abstract specialname + instance default bool get_IsPrivateSpecified () cil managed + { + // Method begins at RVA 0x0 + } // end of method AssemblyReferenceBase::get_IsPrivateSpecified - IL_022e: ldstr "Success" - IL_0233: br IL_023d + // method line 311 + .method public virtual hidebysig specialname + instance default bool get_CopyLocal () cil managed + { + // Method begins at RVA 0x8120 + // Code size 76 (0x4c) + .maxstack 2 + .locals init ( + bool V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivateSpecified() + IL_0007: brfalse IL_0019 - IL_0238: ldstr "Failure" - IL_023d: stelem.ref - IL_023e: dup - IL_023f: ldc.i4.1 - IL_0240: ldloc.s 12 - IL_0242: box [mscorlib]System.Int32 - IL_0247: stelem.ref - IL_0248: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_024d: ldloc.s 12 - IL_024f: ldc.i4.0 - IL_0250: ble IL_0259 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivate() + IL_0013: stloc.0 + IL_0014: br IL_004a - IL_0255: nop - IL_0256: ldc.i4.0 - IL_0257: stloc.0 - IL_0258: nop - IL_0259: ldc.i4.1 - IL_025a: stloc.1 - IL_025b: nop - IL_025c: ldarg.0 - IL_025d: ldc.i4 2000 - IL_0262: ldstr "Building satellite assemblies..." - IL_0267: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_026c: ldarg.0 - IL_026d: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ManagedProjectBase::GetLocalizedResources() - IL_0272: stloc.s 13 - IL_0274: nop - IL_0275: ldloc.s 13 - IL_0277: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_027c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0281: stloc.s 15 - .try { // 5 - IL_0283: br IL_0437 + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_0020: stloc.1 + IL_0021: ldloc.1 + IL_0022: brfalse IL_0043 - IL_0288: ldloc.s 15 - IL_028a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_028f: castclass NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet - IL_0294: stloc.s 14 - IL_0296: nop - IL_0297: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::'.ctor'() - IL_029c: stloc.s 16 - IL_029e: ldloc.s 16 - IL_02a0: ldarg.0 - IL_02a1: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_02a6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_02ab: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_02b0: ldloc.s 16 - IL_02b2: ldarg.0 - IL_02b3: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_02b8: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_02bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_02c2: ldloc.s 16 - IL_02c4: ldarg.0 - IL_02c5: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_02ca: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_02cf: ldloc.s 16 - IL_02d1: ldloc.3 - IL_02d2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_02d7: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_02dc: ldloc.s 16 - IL_02de: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_02e3: ldloc.s 14 - IL_02e5: ldloc.3 - IL_02e6: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetBuildDirectory(class NAnt.VSNet.ConfigurationSettings) - IL_02eb: stloc.s 17 - IL_02ed: ldloc.s 17 - IL_02ef: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_02f4: brtrue IL_0302 + IL_0027: ldarg.0 + IL_0028: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_IsSystem() + IL_002d: brtrue IL_0043 - IL_02f9: nop - IL_02fa: ldloc.s 17 - IL_02fc: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0301: nop - IL_0302: ldloc.s 16 - IL_0304: ldloc.s 14 - IL_0306: ldloc.3 - IL_0307: ldarg.0 - IL_0308: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_030d: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteAssemblyPath(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.ProjectSettings) - IL_0312: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_0317: ldloc.s 16 - IL_0319: ldstr "lib" - IL_031e: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputTarget(string) - IL_0323: ldloc.s 16 - IL_0325: ldloc.s 14 - IL_0327: callvirt instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture() - IL_032c: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_0331: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Culture(string) - IL_0336: ldloc.s 16 - IL_0338: ldloc.3 - IL_0339: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_033e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0343: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_TemplateFile(class [mscorlib]System.IO.FileInfo) - IL_0348: nop - IL_0349: ldloc.s 14 - IL_034b: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Resources() - IL_0350: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0355: stloc.s 19 - .try { // 3 - IL_0357: br IL_03bd + IL_0032: ldarg.0 + IL_0033: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.FileReferenceBase::get_GacCache() + IL_0038: ldloc.1 + IL_0039: callvirt instance bool class [NAnt.Core]NAnt.Core.Util.GacCache::IsAssemblyInGac(string) + IL_003e: ldc.i4.0 + IL_003f: ceq + IL_0041: br.s IL_0044 - IL_035c: ldloc.s 19 - IL_035e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0363: castclass NAnt.VSNet.Resource - IL_0368: stloc.s 18 - IL_036a: nop - IL_036b: ldnull - IL_036c: stloc.s 20 - IL_036e: ldloc.s 18 - IL_0370: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() - IL_0375: brfalse IL_038b + IL_0043: ldc.i4.0 + IL_0044: stloc.0 + IL_0045: br IL_004a - IL_037a: nop - IL_037b: ldloc.s 18 - IL_037d: ldarg.1 - IL_037e: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) - IL_0383: stloc.s 20 - IL_0385: nop - IL_0386: br IL_0397 + IL_004a: ldloc.0 + IL_004b: ret + } // end of method AssemblyReferenceBase::get_CopyLocal - IL_038b: nop - IL_038c: ldloc.s 18 - IL_038e: ldarg.1 - IL_038f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::Compile(class NAnt.VSNet.Configuration) - IL_0394: stloc.s 20 - IL_0396: nop - IL_0397: ldloc.s 20 - IL_0399: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_039e: ldloc.s 18 - IL_03a0: ldarg.1 - IL_03a1: callvirt instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) - IL_03a6: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResource::'.ctor'(string, string) - IL_03ab: stloc.s 21 - IL_03ad: ldloc.s 16 - IL_03af: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResourceCollection class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() - IL_03b4: ldloc.s 21 - IL_03b6: callvirt instance int32 class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResource) - IL_03bb: pop - IL_03bc: nop - IL_03bd: ldloc.s 19 - IL_03bf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_03c4: brtrue IL_035c - - IL_03c9: leave IL_03e5 - - } // end .try 3 - finally { // 3 - IL_03ce: ldloc.s 19 - IL_03d0: isinst [mscorlib]System.IDisposable - IL_03d5: dup - IL_03d6: stloc.s 22 - IL_03d8: brfalse IL_03e4 - - IL_03dd: ldloc.s 22 - IL_03df: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_03e4: endfinally - } // end handler 3 - IL_03e5: ldarg.0 - IL_03e6: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_03eb: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_03f0: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 4 - IL_03f5: nop - IL_03f6: ldarg.0 - IL_03f7: ldc.i4 2000 - IL_03fc: ldstr " - {0}" - IL_0401: ldc.i4.1 - IL_0402: newarr [mscorlib]System.Object - IL_0407: dup - IL_0408: ldc.i4.0 - IL_0409: ldloc.s 16 - IL_040b: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture() - IL_0410: stelem.ref - IL_0411: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0416: ldloc.s 16 - IL_0418: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_041d: nop - IL_041e: leave IL_0436 - - } // end .try 4 - finally { // 4 - IL_0423: nop - IL_0424: ldarg.0 - IL_0425: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_042a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_042f: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0434: nop - IL_0435: endfinally - } // end handler 4 - IL_0436: nop - IL_0437: ldloc.s 15 - IL_0439: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_043e: brtrue IL_0288 - - IL_0443: leave IL_045f + // method line 312 + .method family virtual hidebysig specialname + instance default bool get_IsSystem () cil managed + { + // Method begins at RVA 0x8178 + // Code size 76 (0x4c) + .maxstack 4 + .locals init ( + string V_0, + bool V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brtrue IL_0016 - } // end .try 5 - finally { // 5 - IL_0448: ldloc.s 15 - IL_044a: isinst [mscorlib]System.IDisposable - IL_044f: dup - IL_0450: stloc.s 23 - IL_0452: brfalse IL_045e + IL_000e: nop + IL_000f: ldc.i4.0 + IL_0010: stloc.1 + IL_0011: br IL_004a - IL_0457: ldloc.s 23 - IL_0459: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_045e: endfinally - } // end handler 5 - IL_045f: ldloc.3 - IL_0460: callvirt instance bool class NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop() - IL_0465: brfalse IL_04ab + IL_0016: ldloc.0 + IL_0017: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_001c: ldarg.0 + IL_001d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0022: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0027: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_002c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() + IL_0031: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0036: ldc.i4.1 + IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0041: ldc.i4.0 + IL_0042: ceq + IL_0044: stloc.1 + IL_0045: br IL_004a - IL_046a: nop - IL_046b: ldarg.0 - IL_046c: ldloc.3 - IL_046d: call instance string class NAnt.VSNet.ManagedProjectBase::GetTypeLibraryPath(class NAnt.VSNet.ConfigurationSettings) - IL_0472: stloc.s 24 - IL_0474: ldarg.0 - IL_0475: ldloc.3 - IL_0476: ldarg.1 - IL_0477: ldloc.s 24 - IL_0479: call instance void class NAnt.VSNet.ManagedProjectBase::RegisterForComInterop(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.Configuration, string) - IL_047e: ldloc.3 - IL_047f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_0484: ldstr ".tlb" - IL_0489: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_048e: stloc.s 25 - IL_0490: ldarg.0 - IL_0491: ldloc.s 24 - IL_0493: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0498: ldloc.s 25 - IL_049a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_049f: ldarg.0 - IL_04a0: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_04a5: call instance void class NAnt.VSNet.ProjectBase::CopyFile(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo, class [NAnt.Core]NAnt.Core.Task) - IL_04aa: nop - IL_04ab: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_04b0: stloc.s 26 - IL_04b2: ldarg.0 - IL_04b3: ldarg.1 - IL_04b4: ldloc.s 26 - IL_04b6: callvirt instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) - IL_04bb: nop - IL_04bc: ldloc.s 26 - IL_04be: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_04c3: stloc.s 28 - .try { // 6 - IL_04c5: br IL_056f + IL_004a: ldloc.1 + IL_004b: ret + } // end of method AssemblyReferenceBase::get_IsSystem - IL_04ca: ldloc.s 28 - IL_04cc: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_04d1: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_04d6: stloc.s 27 - IL_04d8: nop - IL_04d9: ldloca.s 27 - IL_04db: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_04e0: castclass [mscorlib]System.String - IL_04e5: stloc.s 29 - IL_04e7: ldloca.s 27 - IL_04e9: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_04ee: castclass [mscorlib]System.String - IL_04f3: stloc.s 30 - IL_04f5: ldarg.0 - IL_04f6: call instance bool class NAnt.VSNet.ManagedProjectBase::get_IsWebProject() - IL_04fb: brfalse IL_053e + // method line 313 + .method public virtual hidebysig + instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x81d0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0500: nop - IL_0501: ldarg.0 - IL_0502: ldfld string NAnt.VSNet.ManagedProjectBase::_webProjectBaseUrl - IL_0507: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_050c: newobj instance void class NAnt.VSNet.WebDavClient::'.ctor'(class [System]System.Uri) - IL_0511: stloc.s 31 - IL_0513: ldloc.s 31 - IL_0515: ldloc.s 29 - IL_0517: ldloc.3 - IL_0518: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() - IL_051d: ldloc.s 30 - IL_051f: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0524: ldstr "\\" - IL_0529: ldstr "/" - IL_052e: callvirt instance string string::Replace(string, string) - IL_0533: callvirt instance void class NAnt.VSNet.WebDavClient::UploadFile(string, string) - IL_0538: nop - IL_0539: br IL_056e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyReferenceBase::GetPrimaryOutputFile - IL_053e: nop - IL_053f: ldloc.3 - IL_0540: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0545: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_054a: ldloc.s 30 - IL_054c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0551: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0556: stloc.s 32 - IL_0558: ldarg.0 - IL_0559: ldloc.s 29 - IL_055b: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0560: ldloc.s 32 - IL_0562: ldarg.0 - IL_0563: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0568: call instance void class NAnt.VSNet.ProjectBase::CopyFile(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo, class [NAnt.Core]NAnt.Core.Task) - IL_056d: nop - IL_056e: nop - IL_056f: ldloc.s 28 - IL_0571: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0576: brtrue IL_04ca + // method line 314 + .method public virtual hidebysig + instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + { + // Method begins at RVA 0x81ec + // Code size 25 (0x19) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brfalse IL_0018 - IL_057b: leave IL_0597 + IL_000e: nop + IL_000f: ldarg.0 + IL_0010: ldloc.0 + IL_0011: ldarg.2 + IL_0012: call instance void class NAnt.VSNet.FileReferenceBase::GetAssemblyOutputFiles(string, class [mscorlib]System.Collections.Hashtable) + IL_0017: nop + IL_0018: ret + } // end of method AssemblyReferenceBase::GetOutputFiles - } // end .try 6 - finally { // 6 - IL_0580: ldloc.s 28 - IL_0582: isinst [mscorlib]System.IDisposable - IL_0587: dup - IL_0588: stloc.s 33 - IL_058a: brfalse IL_0596 + // method line 315 + .method public virtual hidebysig + instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x8214 + // Code size 149 (0x95) + .maxstack 7 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0, + string V_1, + class [System]System.Collections.Specialized.StringCollection V_2) + IL_0000: nop + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_000d: stloc.1 + IL_000e: ldloc.1 + IL_000f: brtrue IL_0049 - IL_058f: ldloc.s 33 - IL_0591: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0596: endfinally - } // end handler 6 - IL_0597: ldarg.0 - IL_0598: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_059d: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RunPostBuildEvent() - IL_05a2: brfalse IL_05c4 + IL_0014: nop + IL_0015: ldarg.0 + IL_0016: ldc.i4 4000 + IL_001b: ldstr "Assembly \"{0}\", referenced by project \"{1}\", could not be resolved." + IL_0020: ldc.i4.2 + IL_0021: newarr [mscorlib]System.Object + IL_0026: dup + IL_0027: ldc.i4.0 + IL_0028: ldarg.0 + IL_0029: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_002e: stelem.ref + IL_002f: dup + IL_0030: ldc.i4.1 + IL_0031: ldarg.0 + IL_0032: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0037: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_003c: stelem.ref + IL_003d: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0042: ldloc.0 + IL_0043: stloc.2 + IL_0044: br IL_0093 - IL_05a7: nop - IL_05a8: ldarg.0 - IL_05a9: ldloc.3 - IL_05aa: ldloc.1 - IL_05ab: brfalse IL_05b3 + IL_0049: ldloc.1 + IL_004a: call bool class [mscorlib]System.IO.File::Exists(string) + IL_004f: brtrue IL_0084 - IL_05b0: ldloc.0 - IL_05b1: br.s IL_05b4 + IL_0054: nop + IL_0055: ldarg.0 + IL_0056: ldc.i4 4000 + IL_005b: ldstr "Assembly \"{0}\", referenced by project \"{1}\", does not exist." + IL_0060: ldc.i4.2 + IL_0061: newarr [mscorlib]System.Object + IL_0066: dup + IL_0067: ldc.i4.0 + IL_0068: ldloc.1 + IL_0069: stelem.ref + IL_006a: dup + IL_006b: ldc.i4.1 + IL_006c: ldarg.0 + IL_006d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0072: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0077: stelem.ref + IL_0078: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007d: ldloc.0 + IL_007e: stloc.2 + IL_007f: br IL_0093 - IL_05b3: ldc.i4.1 - IL_05b4: ldloc.1 - IL_05b5: call instance bool class NAnt.VSNet.ManagedProjectBase::PostBuild(class NAnt.VSNet.ConfigurationSettings, bool, bool) - IL_05ba: brtrue IL_05c3 + IL_0084: ldloc.0 + IL_0085: ldloc.1 + IL_0086: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_008b: pop + IL_008c: ldloc.0 + IL_008d: stloc.2 + IL_008e: br IL_0093 - IL_05bf: nop - IL_05c0: ldc.i4.0 - IL_05c1: stloc.0 - IL_05c2: nop - IL_05c3: nop - IL_05c4: ldloc.0 - IL_05c5: brtrue IL_05e3 + IL_0093: ldloc.2 + IL_0094: ret + } // end of method AssemblyReferenceBase::GetAssemblyReferences - IL_05ca: nop - IL_05cb: ldarg.0 - IL_05cc: ldc.i4 5000 - IL_05d1: ldstr "Build failed." - IL_05d6: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_05db: ldc.i4.0 - IL_05dc: stloc.s 4 - IL_05de: leave IL_0608 + // method line 316 + .method public virtual hidebysig + instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x82b8 + // Code size 41 (0x29) + .maxstack 2 + .locals init ( + string V_0, + valuetype [mscorlib]System.DateTime V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: brtrue IL_001a - IL_05e3: ldloc.1 - IL_05e4: brfalse IL_05ef + IL_000e: nop + IL_000f: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue + IL_0014: stloc.1 + IL_0015: br IL_0027 - IL_05e9: ldc.i4.2 - IL_05ea: br IL_05f0 + IL_001a: ldarg.0 + IL_001b: ldloc.0 + IL_001c: call instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetFileTimestamp(string) + IL_0021: stloc.1 + IL_0022: br IL_0027 - IL_05ef: ldc.i4.1 - IL_05f0: stloc.s 4 - IL_05f2: leave IL_0608 + IL_0027: ldloc.1 + IL_0028: ret + } // end of method AssemblyReferenceBase::GetTimestamp - } // end .try 7 - finally { // 7 - IL_05f7: nop - IL_05f8: ldloc.2 - IL_05f9: brfalse IL_0606 + // method line 317 + .method public hidebysig + instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project) cil managed + { + // Method begins at RVA 0x82f0 + // Code size 28 (0x1c) + .maxstack 4 + .locals init ( + class NAnt.VSNet.ProjectReferenceBase V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.1 + IL_0003: ldarg.0 + IL_0004: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivateSpecified() + IL_0009: ldarg.0 + IL_000a: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivate() + IL_000f: callvirt instance class NAnt.VSNet.ProjectReferenceBase class NAnt.VSNet.ProjectBase::CreateProjectReference(class NAnt.VSNet.ProjectBase, bool, bool) + IL_0014: stloc.0 + IL_0015: br IL_001a - IL_05fe: nop - IL_05ff: ldloc.2 - IL_0600: call void class [mscorlib]System.IO.File::Delete(string) - IL_0605: nop - IL_0606: nop - IL_0607: endfinally - } // end handler 7 - IL_0608: ldloc.s 4 - IL_060a: ret - } // end of method ManagedProjectBase::Build + IL_001a: ldloc.0 + IL_001b: ret + } // end of method AssemblyReferenceBase::CreateProjectReference - // method line 232 + // method line 318 .method family virtual hidebysig newslot abstract - instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed + instance default string ResolveAssemblyReference () cil managed { // Method begins at RVA 0x0 - } // end of method ManagedProjectBase::GetProcessStartInfo + } // end of method AssemblyReferenceBase::ResolveAssemblyReference - // method line 233 - .method family virtual hidebysig newslot - instance default class NAnt.VSNet.ReferenceBase CreateReference (class NAnt.VSNet.SolutionBase solution, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + // method line 319 + .method family hidebysig + instance default string ResolveFromFolderList (class [System]System.Collections.Specialized.StringCollection folderList, string fileName) cil managed { - // Method begins at RVA 0x9128 - // Code size 183 (0xb7) + // Method begins at RVA 0x8318 + // Code size 267 (0x10b) .maxstack 7 .locals init ( - class NAnt.VSNet.ReferenceBase V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + string V_2, + string V_3, + class [mscorlib]System.Exception V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0001: ldarg.0 + IL_0002: ldc.i4 1000 + IL_0007: ldstr "Attempting to resolve \"{0}\" in AssemblyFolders..." + IL_000c: ldc.i4.1 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.2 + IL_0015: stelem.ref + IL_0016: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0022: stloc.1 + .try { // 1 + IL_0023: br IL_00dc - IL_0007: nop - IL_0008: ldstr "solution" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: brtrue IL_0025 + IL_0028: ldloc.1 + IL_0029: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_002e: stloc.0 + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldc.i4 1000 + IL_0036: ldstr "Checking \"{0}\"..." + IL_003b: ldc.i4.1 + IL_003c: newarr [mscorlib]System.Object + IL_0041: dup + IL_0042: ldc.i4.0 + IL_0043: ldloc.0 + IL_0044: stelem.ref + IL_0045: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + .try { // 0 + IL_004a: nop + IL_004b: ldloc.0 + IL_004c: ldarg.2 + IL_004d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0052: stloc.2 + IL_0053: ldloc.2 + IL_0054: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0059: brfalse IL_0080 - IL_0019: nop - IL_001a: ldstr "xmlDefinition" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.2 - IL_0026: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_002b: ldstr "Project" - IL_0030: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0035: brfalse IL_0066 + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: ldc.i4 1000 + IL_0065: ldstr "Assembly found in \"{0}\"." + IL_006a: ldc.i4.1 + IL_006b: newarr [mscorlib]System.Object + IL_0070: dup + IL_0071: ldc.i4.0 + IL_0072: ldloc.0 + IL_0073: stelem.ref + IL_0074: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0079: ldloc.2 + IL_007a: stloc.3 + IL_007b: leave IL_0109 - IL_003a: nop - IL_003b: ldarg.2 - IL_003c: ldarg.0 - IL_003d: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_0042: ldarg.0 - IL_0043: ldarg.1 - IL_0044: ldarg.0 - IL_0045: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_004a: callvirt instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectSettings::get_TemporaryFiles() - IL_004f: ldarg.0 - IL_0050: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_0055: ldarg.0 - IL_0056: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() - IL_005b: newobj instance void class NAnt.VSNet.ManagedProjectReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo) - IL_0060: stloc.0 - IL_0061: br IL_00b5 + IL_0080: nop + IL_0081: ldarg.0 + IL_0082: ldc.i4 1000 + IL_0087: ldstr "Assembly not found in \"{0}\"." + IL_008c: ldc.i4.1 + IL_008d: newarr [mscorlib]System.Object + IL_0092: dup + IL_0093: ldc.i4.0 + IL_0094: ldloc.0 + IL_0095: stelem.ref + IL_0096: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_009b: nop + IL_009c: nop + IL_009d: leave IL_00db - IL_0066: ldarg.2 - IL_0067: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_006c: ldstr "WrapperTool" - IL_0071: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0076: brfalse IL_009b + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_00a2: stloc.s 4 + IL_00a4: nop + IL_00a5: ldarg.0 + IL_00a6: ldc.i4 2000 + IL_00ab: ldstr "Error resolving reference to \"{0}\" in directory \"{1}\"." + IL_00b0: ldc.i4.2 + IL_00b1: newarr [mscorlib]System.Object + IL_00b6: dup + IL_00b7: ldc.i4.0 + IL_00b8: ldarg.2 + IL_00b9: stelem.ref + IL_00ba: dup + IL_00bb: ldc.i4.1 + IL_00bc: ldloc.0 + IL_00bd: stelem.ref + IL_00be: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00c3: ldarg.0 + IL_00c4: ldc.i4 1000 + IL_00c9: ldloc.s 4 + IL_00cb: callvirt instance string object::ToString() + IL_00d0: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00d5: nop + IL_00d6: leave IL_00db - IL_007b: nop - IL_007c: ldarg.2 - IL_007d: ldarg.0 - IL_007e: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_0083: ldarg.0 - IL_0084: ldarg.0 - IL_0085: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_008a: ldarg.0 - IL_008b: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0090: newobj instance void class NAnt.VSNet.ManagedWrapperReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ProjectSettings) - IL_0095: stloc.0 - IL_0096: br IL_00b5 + } // end handler 0 + IL_00db: nop + IL_00dc: ldloc.1 + IL_00dd: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00e2: brtrue IL_0028 - IL_009b: nop - IL_009c: ldarg.2 - IL_009d: ldarg.0 - IL_009e: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_00a3: ldarg.0 - IL_00a4: ldarg.0 - IL_00a5: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_00aa: newobj instance void class NAnt.VSNet.ManagedAssemblyReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_00af: stloc.0 - IL_00b0: br IL_00b5 + IL_00e7: leave IL_0102 - IL_00b5: ldloc.0 - IL_00b6: ret - } // end of method ManagedProjectBase::CreateReference + } // end .try 1 + finally { // 1 + IL_00ec: ldloc.1 + IL_00ed: isinst [mscorlib]System.IDisposable + IL_00f2: dup + IL_00f3: stloc.s 5 + IL_00f5: brfalse IL_0101 - // method line 234 - .method public virtual hidebysig - instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project, bool isPrivateSpecified, bool isPrivate) cil managed - { - // Method begins at RVA 0x91ec - // Code size 18 (0x12) - .maxstack 4 - .locals init ( - class NAnt.VSNet.ProjectReferenceBase V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: ldarg.2 - IL_0004: ldarg.3 - IL_0005: newobj instance void class NAnt.VSNet.ManagedProjectReference::'.ctor'(class NAnt.VSNet.ProjectBase, class NAnt.VSNet.ProjectBase, bool, bool) - IL_000a: stloc.0 - IL_000b: br IL_0010 + IL_00fa: ldloc.s 5 + IL_00fc: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0101: endfinally + } // end handler 1 + IL_0102: ldnull + IL_0103: stloc.3 + IL_0104: br IL_0109 - IL_0010: ldloc.0 - IL_0011: ret - } // end of method ManagedProjectBase::CreateProjectReference + IL_0109: ldloc.3 + IL_010a: ret + } // end of method AssemblyReferenceBase::ResolveFromFolderList - // method line 235 - .method family virtual hidebysig newslot - instance default void WriteCompilerOptions (class [mscorlib]System.IO.StreamWriter sw, class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 320 + .method family hidebysig + instance default string ResolveFromFramework (string fileName) cil managed { - // Method begins at RVA 0x920c - // Code size 383 (0x17f) - .maxstack 4 + // Method begins at RVA 0x844c + // Code size 52 (0x34) + .maxstack 2 .locals init ( - class NAnt.VSNet.ConfigurationSettings V_0, - string V_1, - string[] V_2, - int32 V_3, - string V_4, - string[] V_5, - int32 V_6, - string V_7, - class [System]System.Collections.Specialized.StringEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - string V_10, - class [mscorlib]System.Collections.IEnumerator V_11, - class [mscorlib]System.IDisposable V_12) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.2 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: castclass NAnt.VSNet.ConfigurationSettings - IL_0012: stloc.0 - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_001a: callvirt instance string[] class NAnt.VSNet.ProjectSettings::get_Settings() - IL_001f: stloc.2 - IL_0020: ldc.i4.0 - IL_0021: stloc.3 - IL_0022: br IL_0038 - - IL_0027: ldloc.2 - IL_0028: ldloc.3 - IL_0029: ldelem.ref - IL_002a: stloc.1 - IL_002b: nop - IL_002c: ldarg.1 - IL_002d: ldloc.1 - IL_002e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0033: nop - IL_0034: ldloc.3 - IL_0035: ldc.i4.1 - IL_0036: add - IL_0037: stloc.3 - IL_0038: ldloc.3 - IL_0039: ldloc.2 - IL_003a: ldlen - IL_003b: conv.i4 - IL_003c: blt IL_0027 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0011: ldarg.1 + IL_0012: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::ResolveAssembly(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: call bool class [mscorlib]System.IO.File::Exists(string) + IL_001e: brfalse IL_002b - IL_0041: nop - IL_0042: ldloc.0 - IL_0043: callvirt instance string[] class NAnt.VSNet.ConfigurationSettings::get_Settings() - IL_0048: stloc.s 5 - IL_004a: ldc.i4.0 - IL_004b: stloc.s 6 - IL_004d: br IL_0069 + IL_0023: nop + IL_0024: ldloc.0 + IL_0025: stloc.1 + IL_0026: br IL_0032 - IL_0052: ldloc.s 5 - IL_0054: ldloc.s 6 - IL_0056: ldelem.ref - IL_0057: stloc.s 4 - IL_0059: nop - IL_005a: ldarg.1 - IL_005b: ldloc.s 4 - IL_005d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0062: nop - IL_0063: ldloc.s 6 - IL_0065: ldc.i4.1 - IL_0066: add - IL_0067: stloc.s 6 - IL_0069: ldloc.s 6 - IL_006b: ldloc.s 5 - IL_006d: ldlen - IL_006e: conv.i4 - IL_006f: blt IL_0052 + IL_002b: ldnull + IL_002c: stloc.1 + IL_002d: br IL_0032 - IL_0074: nop - IL_0075: ldarg.0 - IL_0076: ldarg.2 - IL_0077: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ProjectBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_007c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0081: stloc.s 8 - .try { // 0 - IL_0083: br IL_00a0 + IL_0032: ldloc.1 + IL_0033: ret + } // end of method AssemblyReferenceBase::ResolveFromFramework - IL_0088: ldloc.s 8 - IL_008a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_008f: stloc.s 7 - IL_0091: nop - IL_0092: ldarg.1 - IL_0093: ldstr "/r:\"{0}\"" - IL_0098: ldloc.s 7 - IL_009a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_009f: nop - IL_00a0: ldloc.s 8 - IL_00a2: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00a7: brtrue IL_0088 + // method line 321 + .method family hidebysig + instance default string ResolveFromRelativePath (string relativePath) cil managed + { + // Method begins at RVA 0x848c + // Code size 105 (0x69) + .maxstack 5 + .locals init ( + string V_0, + string V_1, + class [mscorlib]System.IO.PathTooLongException V_2) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_0060 - IL_00ac: leave IL_00c8 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0013: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0018: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001d: ldarg.1 + IL_001e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0023: stloc.0 + .try { // 0 + IL_0024: nop + IL_0025: ldloc.0 + IL_0026: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_002b: stloc.1 + IL_002c: leave IL_0067 } // end .try 0 - finally { // 0 - IL_00b1: ldloc.s 8 - IL_00b3: isinst [mscorlib]System.IDisposable - IL_00b8: dup - IL_00b9: stloc.s 9 - IL_00bb: brfalse IL_00c7 - - IL_00c0: ldloc.s 9 - IL_00c2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c7: endfinally + catch class [mscorlib]System.IO.PathTooLongException { // 0 + IL_0031: stloc.2 + IL_0032: nop + IL_0033: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0038: ldstr "Assembly \"{0}\", referenced by project \"{1}\", could not be resolved using path \"{2}\"." + IL_003d: ldarg.0 + IL_003e: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0043: ldarg.0 + IL_0044: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0049: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_004e: ldloc.0 + IL_004f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0054: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0059: ldloc.2 + IL_005a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_005f: throw } // end handler 0 - IL_00c8: ldarg.0 - IL_00c9: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_00ce: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ProjectSettings::get_ApplicationIcon() - IL_00d3: brfalse IL_00f5 - - IL_00d8: nop - IL_00d9: ldarg.1 - IL_00da: ldstr "/win32icon:\"{0}\"" - IL_00df: ldarg.0 - IL_00e0: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_00e5: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ProjectSettings::get_ApplicationIcon() - IL_00ea: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00ef: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_00f4: nop - IL_00f5: ldarg.0 - IL_00f6: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources - IL_00fb: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_0100: ldc.i4.0 - IL_0101: ble IL_0110 + IL_0060: ldnull + IL_0061: stloc.1 + IL_0062: br IL_0067 - IL_0106: nop - IL_0107: ldarg.0 - IL_0108: ldarg.1 - IL_0109: ldarg.2 - IL_010a: call instance void class NAnt.VSNet.ManagedProjectBase::WriteNeutralResourceOptions(class [mscorlib]System.IO.StreamWriter, class NAnt.VSNet.Configuration) - IL_010f: nop - IL_0110: ldarg.0 - IL_0111: ldarg.1 - IL_0112: callvirt instance void class NAnt.VSNet.ManagedProjectBase::WriteProjectOptions(class [mscorlib]System.IO.StreamWriter) - IL_0117: nop - IL_0118: ldarg.0 - IL_0119: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_011e: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_0123: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0128: stloc.s 11 - .try { // 1 - IL_012a: br IL_0156 + IL_0067: ldloc.1 + IL_0068: ret + } // end of method AssemblyReferenceBase::ResolveFromRelativePath - IL_012f: ldloc.s 11 - IL_0131: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0136: castclass [mscorlib]System.String - IL_013b: stloc.s 10 - IL_013d: nop - IL_013e: ldarg.1 - IL_013f: ldstr "\"" - IL_0144: ldloc.s 10 - IL_0146: ldstr "\"" - IL_014b: call string string::Concat(string, string, string) - IL_0150: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0155: nop - IL_0156: ldloc.s 11 - IL_0158: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_015d: brtrue IL_012f + // method line 322 + .method family virtual hidebysig newslot + instance default string ResolveFromAssemblyFolders (class [System.Xml]System.Xml.XmlElement referenceElement, string fileName) cil managed + { + // Method begins at RVA 0x8514 + // Code size 27 (0x1b) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolderList() + IL_000d: ldarg.2 + IL_000e: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFolderList(class [System]System.Collections.Specialized.StringCollection, string) + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_0162: leave IL_017e + IL_0019: ldloc.0 + IL_001a: ret + } // end of method AssemblyReferenceBase::ResolveFromAssemblyFolders - } // end .try 1 - finally { // 1 - IL_0167: ldloc.s 11 - IL_0169: isinst [mscorlib]System.IDisposable - IL_016e: dup - IL_016f: stloc.s 12 - IL_0171: brfalse IL_017d + .property instance bool IsPrivate () + { + .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_IsPrivate () + } + .property instance bool IsPrivateSpecified () + { + .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_IsPrivateSpecified () + } + .property instance bool CopyLocal () + { + .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_CopyLocal () + } + .property instance bool IsSystem () + { + .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_IsSystem () + } + } // end of class NAnt.VSNet.AssemblyReferenceBase +} - IL_0176: ldloc.s 12 - IL_0178: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_017d: endfinally - } // end handler 1 - IL_017e: ret - } // end of method ManagedProjectBase::WriteCompilerOptions +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit ProjectReferenceBase + extends NAnt.VSNet.ReferenceBase + { + .field private static initonly class [mscorlib]System.Collections.Stack ProjectStack - // method line 236 - .method family virtual hidebysig newslot - instance default void WriteProjectOptions (class [mscorlib]System.IO.StreamWriter sw) cil managed + // method line 323 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent) cil managed { - // Method begins at RVA 0x93b4 - // Code size 2 (0x2) + // Method begins at RVA 0x853b + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method ManagedProjectBase::WriteProjectOptions + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.VSNet.ReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) + IL_0008: nop + IL_0009: ret + } // end of method ProjectReferenceBase::.ctor - // method line 237 - .method family virtual hidebysig newslot abstract - instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed + // method line 324 + .method family virtual hidebysig newslot abstract specialname + instance default bool get_IsPrivate () cil managed { // Method begins at RVA 0x0 - } // end of method ManagedProjectBase::DetermineProjectLocation + } // end of method ProjectReferenceBase::get_IsPrivate - // method line 238 - .method private hidebysig - instance default string GetTypeLibraryPath (class NAnt.VSNet.ConfigurationSettings config) cil managed + // method line 325 + .method family virtual hidebysig newslot abstract specialname + instance default bool get_IsPrivateSpecified () cil managed { - // Method begins at RVA 0x93b8 - // Code size 43 (0x2b) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "config" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_0019: ldstr ".tlb" - IL_001e: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_0023: stloc.0 - IL_0024: br IL_0029 - - IL_0029: ldloc.0 - IL_002a: ret - } // end of method ManagedProjectBase::GetTypeLibraryPath + // Method begins at RVA 0x0 + } // end of method ProjectReferenceBase::get_IsPrivateSpecified - // method line 239 - .method private hidebysig - instance default void RegisterForComInterop (class NAnt.VSNet.ConfigurationSettings config, class NAnt.VSNet.Configuration solutionConfiguration, string typelibPath) cil managed + // method line 326 + .method public virtual hidebysig specialname + instance default bool get_CopyLocal () cil managed { - // Method begins at RVA 0x93f0 - // Code size 254 (0xfe) - .maxstack 3 + // Method begins at RVA 0x8548 + // Code size 32 (0x20) + .maxstack 1 .locals init ( - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_0, - class NAnt.VSNet.ReferenceBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [System]System.Collections.Specialized.StringCollection V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class [mscorlib]System.IDisposable V_7) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Registering project output for COM Interop..." - IL_000c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0011: ldarg.0 - IL_0012: call instance class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask class NAnt.VSNet.ManagedProjectBase::CreateRegAsmTask() - IL_0017: stloc.0 - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_001f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0024: stloc.2 - .try { // 1 - IL_0025: br IL_0094 - - IL_002a: ldloc.2 - IL_002b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0030: castclass NAnt.VSNet.ReferenceBase - IL_0035: stloc.1 - IL_0036: nop - IL_0037: ldloc.1 - IL_0038: ldarg.2 - IL_0039: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_003e: stloc.3 - IL_003f: nop - IL_0040: ldloc.3 - IL_0041: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0046: stloc.s 5 - .try { // 0 - IL_0048: br IL_006b - - IL_004d: ldloc.s 5 - IL_004f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0054: stloc.s 4 - IL_0056: nop - IL_0057: ldloc.0 - IL_0058: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_005d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0062: ldloc.s 4 - IL_0064: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0069: pop - IL_006a: nop - IL_006b: ldloc.s 5 - IL_006d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0072: brtrue IL_004d - - IL_0077: leave IL_0093 - - } // end .try 0 - finally { // 0 - IL_007c: ldloc.s 5 - IL_007e: isinst [mscorlib]System.IDisposable - IL_0083: dup - IL_0084: stloc.s 6 - IL_0086: brfalse IL_0092 - - IL_008b: ldloc.s 6 - IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0092: endfinally - } // end handler 0 - IL_0093: nop - IL_0094: ldloc.2 - IL_0095: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_009a: brtrue IL_002a - - IL_009f: leave IL_00ba + IL_0002: callvirt instance bool class NAnt.VSNet.ProjectReferenceBase::get_IsPrivateSpecified() + IL_0007: brfalse IL_0017 - } // end .try 1 - finally { // 1 - IL_00a4: ldloc.2 - IL_00a5: isinst [mscorlib]System.IDisposable - IL_00aa: dup - IL_00ab: stloc.s 7 - IL_00ad: brfalse IL_00b9 + IL_000c: ldarg.0 + IL_000d: callvirt instance bool class NAnt.VSNet.ProjectReferenceBase::get_IsPrivate() + IL_0012: br IL_0018 - IL_00b2: ldloc.s 7 - IL_00b4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00b9: endfinally - } // end handler 1 - IL_00ba: ldloc.0 - IL_00bb: ldarg.1 - IL_00bc: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_00c1: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00c6: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_AssemblyFile(class [mscorlib]System.IO.FileInfo) - IL_00cb: ldloc.0 - IL_00cc: ldarg.3 - IL_00cd: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00d2: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) - IL_00d7: ldloc.0 - IL_00d8: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00dd: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 2 - IL_00e2: nop - IL_00e3: ldloc.0 - IL_00e4: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_00e9: nop - IL_00ea: leave IL_00fd + IL_0017: ldc.i4.1 + IL_0018: stloc.0 + IL_0019: br IL_001e - } // end .try 2 - finally { // 2 - IL_00ef: nop - IL_00f0: ldloc.0 - IL_00f1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00f6: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_00fb: nop - IL_00fc: endfinally - } // end handler 2 - IL_00fd: ret - } // end of method ManagedProjectBase::RegisterForComInterop + IL_001e: ldloc.0 + IL_001f: ret + } // end of method ProjectReferenceBase::get_CopyLocal - // method line 240 - .method private hidebysig - instance default void UnregisterForComInterop (class NAnt.VSNet.ConfigurationSettings config, class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 327 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x9524 - // Code size 318 (0x13e) - .maxstack 3 + // Method begins at RVA 0x8574 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_0, - class NAnt.VSNet.ReferenceBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [System]System.Collections.Specialized.StringCollection V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class [mscorlib]System.IDisposable V_7, - string V_8) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance bool class NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop() - IL_0007: brfalse IL_001c + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0007: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000c: ldarg.1 - IL_000d: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_0012: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0017: brtrue IL_0022 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectReferenceBase::get_Name - IL_001c: nop - IL_001d: br IL_013d + // method line 328 + .method family virtual hidebysig specialname + instance default bool get_IsSystem () cil managed + { + // Method begins at RVA 0x8594 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0022: ldarg.0 - IL_0023: ldc.i4 2000 - IL_0028: ldstr "Unregistering project output for COM Interop..." - IL_002d: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0032: ldarg.0 - IL_0033: call instance class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask class NAnt.VSNet.ManagedProjectBase::CreateRegAsmTask() - IL_0038: stloc.0 - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_0040: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0045: stloc.2 - .try { // 1 - IL_0046: br IL_00b5 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ProjectReferenceBase::get_IsSystem - IL_004b: ldloc.2 - IL_004c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0051: castclass NAnt.VSNet.ReferenceBase - IL_0056: stloc.1 - IL_0057: nop - IL_0058: ldloc.1 - IL_0059: ldarg.2 - IL_005a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_005f: stloc.3 - IL_0060: nop - IL_0061: ldloc.3 - IL_0062: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0067: stloc.s 5 - .try { // 0 - IL_0069: br IL_008c + // method line 329 + .method public virtual hidebysig + instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x85ac + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.VSNet.ProjectBase::GetOutputPath(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_006e: ldloc.s 5 - IL_0070: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0075: stloc.s 4 - IL_0077: nop - IL_0078: ldloc.0 - IL_0079: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_007e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0083: ldloc.s 4 - IL_0085: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_008a: pop - IL_008b: nop - IL_008c: ldloc.s 5 - IL_008e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0093: brtrue IL_006e + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ProjectReferenceBase::GetPrimaryOutputFile - IL_0098: leave IL_00b4 + // method line 330 + .method public virtual hidebysig + instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + { + // Method begins at RVA 0x85cd + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) + IL_000e: ret + } // end of method ProjectReferenceBase::GetOutputFiles - } // end .try 0 - finally { // 0 - IL_009d: ldloc.s 5 - IL_009f: isinst [mscorlib]System.IDisposable - IL_00a4: dup - IL_00a5: stloc.s 6 - IL_00a7: brfalse IL_00b3 + // method line 331 + .method public virtual hidebysig + instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x85e0 + // Code size 128 (0x80) + .maxstack 2 + .locals init ( + class [System]System.Collections.Specialized.StringCollection V_0, + class NAnt.VSNet.ConfigurationBase V_1, + string V_2, + class [System]System.Collections.Specialized.StringCollection V_3) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldtoken NAnt.VSNet.VBProject + IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000d: ldarg.0 + IL_000e: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0013: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0018: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_001d: brfalse IL_0036 - IL_00ac: ldloc.s 6 - IL_00ae: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00b3: endfinally - } // end handler 0 - IL_00b4: nop - IL_00b5: ldloc.2 - IL_00b6: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00bb: brtrue IL_004b + IL_0022: nop + IL_0023: ldarg.0 + IL_0024: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0029: ldarg.1 + IL_002a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ProjectBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_002f: stloc.0 + IL_0030: nop + IL_0031: br IL_003e - IL_00c0: leave IL_00db + IL_0036: nop + IL_0037: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_003c: stloc.0 + IL_003d: nop + IL_003e: ldarg.0 + IL_003f: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0044: ldarg.1 + IL_0045: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ProjectBase::GetConfiguration(class NAnt.VSNet.Configuration) + IL_004a: stloc.1 + IL_004b: ldloc.1 + IL_004c: brfalse IL_0077 - } // end .try 1 - finally { // 1 - IL_00c5: ldloc.2 - IL_00c6: isinst [mscorlib]System.IDisposable - IL_00cb: dup - IL_00cc: stloc.s 7 - IL_00ce: brfalse IL_00da + IL_0051: nop + IL_0052: ldloc.1 + IL_0053: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_0058: stloc.2 + IL_0059: ldloc.2 + IL_005a: brfalse IL_0076 - IL_00d3: ldloc.s 7 - IL_00d5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00da: endfinally - } // end handler 1 - IL_00db: ldloc.0 - IL_00dc: ldc.i4.1 - IL_00dd: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_Unregister(bool) - IL_00e2: ldloc.0 - IL_00e3: ldarg.1 - IL_00e4: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_00e9: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00ee: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_AssemblyFile(class [mscorlib]System.IO.FileInfo) - IL_00f3: ldarg.0 - IL_00f4: ldarg.1 - IL_00f5: call instance string class NAnt.VSNet.ManagedProjectBase::GetTypeLibraryPath(class NAnt.VSNet.ConfigurationSettings) - IL_00fa: stloc.s 8 - IL_00fc: ldloc.s 8 - IL_00fe: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0103: brfalse IL_0117 + IL_005f: nop + IL_0060: ldloc.2 + IL_0061: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0066: brfalse IL_0075 - IL_0108: nop - IL_0109: ldloc.0 - IL_010a: ldloc.s 8 - IL_010c: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0111: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) - IL_0116: nop - IL_0117: ldloc.0 - IL_0118: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_011d: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 2 - IL_0122: nop - IL_0123: ldloc.0 - IL_0124: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0129: nop - IL_012a: leave IL_013d + IL_006b: nop + IL_006c: ldloc.0 + IL_006d: ldloc.2 + IL_006e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0073: pop + IL_0074: nop + IL_0075: nop + IL_0076: nop + IL_0077: ldloc.0 + IL_0078: stloc.3 + IL_0079: br IL_007e - } // end .try 2 - finally { // 2 - IL_012f: nop - IL_0130: ldloc.0 - IL_0131: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0136: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_013b: nop - IL_013c: endfinally - } // end handler 2 - IL_013d: ret - } // end of method ManagedProjectBase::UnregisterForComInterop + IL_007e: ldloc.3 + IL_007f: ret + } // end of method ProjectReferenceBase::GetAssemblyReferences - // method line 241 - .method private hidebysig - instance default void RegisterEmbeddedResource (string resourceFile, class [System.Xml]System.Xml.XmlElement elemFile) cil managed + // method line 332 + .method public virtual hidebysig + instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x9698 - // Code size 243 (0xf3) - .maxstack 7 + // Method begins at RVA 0x866c + // Code size 48 (0x30) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - string V_1, - class NAnt.VSNet.Resource V_2) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000e: brfalse IL_005c - - IL_0013: ldstr ".resx" - IL_0018: ldloc.0 - IL_0019: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() - IL_001e: ldc.i4.1 - IL_001f: call int32 string::Compare(string, string, bool) - IL_0024: brtrue IL_005c - - IL_0029: ldloc.0 - IL_002a: callvirt instance int64 class [mscorlib]System.IO.FileInfo::get_Length() - IL_002f: ldc.i4.0 - IL_0030: conv.i8 - IL_0031: bne.un IL_005c - - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: ldc.i4 2000 - IL_003d: ldstr "Skipping zero-byte embedded resource '{0}'." - IL_0042: ldc.i4.1 - IL_0043: newarr [mscorlib]System.Object - IL_0048: dup - IL_0049: ldc.i4.0 - IL_004a: ldloc.0 - IL_004b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0050: stelem.ref - IL_0051: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0056: nop - IL_0057: br IL_00f2 - - IL_005c: nop - IL_005d: ldarg.2 - IL_005e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0063: ldstr "DependentUpon" - IL_0068: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_006d: brfalse IL_0097 + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.VSNet.ProjectBase::GetOutputPath(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: brfalse IL_0022 - IL_0072: ldloc.0 - IL_0073: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_0078: ldarg.2 - IL_0079: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_007e: ldstr "DependentUpon" - IL_0083: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0088: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_008d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0092: br IL_0098 + IL_0014: nop + IL_0015: ldarg.0 + IL_0016: ldloc.0 + IL_0017: call instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetFileTimestamp(string) + IL_001c: stloc.1 + IL_001d: br IL_002e - IL_0097: ldnull - IL_0098: stloc.1 - IL_0099: ldarg.0 - IL_009a: ldloc.0 - IL_009b: ldarg.2 - IL_009c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_00a1: ldstr "RelPath" - IL_00a6: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_00ab: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00b0: ldloc.1 - IL_00b1: ldarg.0 - IL_00b2: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_00b7: ldarg.0 - IL_00b8: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_00bd: newobj instance void class NAnt.VSNet.Resource::'.ctor'(class NAnt.VSNet.ManagedProjectBase, class [mscorlib]System.IO.FileInfo, string, string, class NAnt.VSNet.Tasks.SolutionTask, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_00c2: stloc.2 - IL_00c3: ldloc.2 - IL_00c4: callvirt instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.Resource::get_Culture() - IL_00c9: brfalse IL_00e2 + IL_0022: nop + IL_0023: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue + IL_0028: stloc.1 + IL_0029: br IL_002e - IL_00ce: nop - IL_00cf: ldarg.0 - IL_00d0: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources - IL_00d5: ldloc.2 - IL_00d6: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00db: pop - IL_00dc: nop - IL_00dd: br IL_00f1 + IL_002e: ldloc.1 + IL_002f: ret + } // end of method ProjectReferenceBase::GetTimestamp - IL_00e2: nop - IL_00e3: ldarg.0 - IL_00e4: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources - IL_00e9: ldloc.2 - IL_00ea: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00ef: pop - IL_00f0: nop - IL_00f1: nop - IL_00f2: ret - } // end of method ManagedProjectBase::RegisterEmbeddedResource + // method line 333 + .method public virtual hidebysig newslot abstract specialname + instance default class NAnt.VSNet.ProjectBase get_Project () cil managed + { + // Method begins at RVA 0x0 + } // end of method ProjectReferenceBase::get_Project - // method line 242 - .method private hidebysig - instance default void CompileResXFiles (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 334 + .method family hidebysig + instance default class NAnt.VSNet.ProjectBase LoadProject (class NAnt.VSNet.SolutionBase solution, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class [mscorlib]System.IO.DirectoryInfo outputDir, string projectFile) cil managed { - // Method begins at RVA 0x9798 - // Code size 812 (0x32c) - .maxstack 7 + // Method begins at RVA 0x86a8 + // Code size 160 (0xa0) + .maxstack 8 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class NAnt.VSNet.Resource V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.IO.FileInfo V_3, - class [mscorlib]System.IDisposable V_4, - class NAnt.VSNet.Resource V_5, - class [mscorlib]System.Collections.IEnumerator V_6, - class [mscorlib]System.IO.FileInfo V_7, - class [mscorlib]System.IDisposable V_8, - class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask V_9, - valuetype [mscorlib]System.Collections.DictionaryEntry V_10, - class [mscorlib]System.Collections.IDictionaryEnumerator V_11, - class NAnt.VSNet.Resource V_12, - class [mscorlib]System.IO.FileInfo V_13, - class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.QualifiedResource V_14, - class [mscorlib]System.IDisposable V_15, - class NAnt.VSNet.ReferenceBase V_16, - class [mscorlib]System.Collections.IEnumerator V_17, - class [System]System.Collections.Specialized.StringCollection V_18, - string V_19, - class [System]System.Collections.Specialized.StringEnumerator V_20, - class [mscorlib]System.IDisposable V_21, - class [mscorlib]System.IDisposable V_22) + class NAnt.VSNet.ProjectBase V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Compiling resources:" - IL_000c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0011: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0016: stloc.0 - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources - IL_001e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0023: stloc.2 - .try { // 0 - IL_0024: br IL_0077 - - IL_0029: ldloc.2 - IL_002a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_002f: castclass NAnt.VSNet.Resource - IL_0034: stloc.1 - IL_0035: nop - IL_0036: ldloc.1 - IL_0037: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() - IL_003c: brtrue IL_0047 - - IL_0041: nop - IL_0042: leave IL_0077 - - IL_0047: ldarg.0 - IL_0048: ldc.i4 2000 - IL_004d: ldstr " - {0}" - IL_0052: ldc.i4.1 - IL_0053: newarr [mscorlib]System.Object - IL_0058: dup - IL_0059: ldc.i4.0 - IL_005a: ldloc.1 - IL_005b: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_0060: stelem.ref - IL_0061: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0066: ldloc.1 - IL_0067: ldarg.1 - IL_0068: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) - IL_006d: stloc.3 - IL_006e: ldloc.0 - IL_006f: ldloc.1 - IL_0070: ldloc.3 - IL_0071: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0076: nop - IL_0077: ldloc.2 - IL_0078: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_007d: brtrue IL_0029 + IL_0001: ldsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack + IL_0006: ldarg.s 5 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Stack::Contains(object) + IL_000d: brfalse IL_003f - IL_0082: leave IL_009d + IL_0012: nop + IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0018: ldstr "Circular reference to \"{0}\" detected in project \"{1}\"." + IL_001d: ldarg.s 5 + IL_001f: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0024: ldarg.0 + IL_0025: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_002a: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_002f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0034: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0039: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_003e: throw + .try { // 0 + IL_003f: nop + IL_0040: ldsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack + IL_0045: ldarg.s 5 + IL_0047: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_004c: ldarg.0 + IL_004d: ldc.i4 2000 + IL_0052: ldstr "Loading referenced project '{0}'." + IL_0057: ldc.i4.1 + IL_0058: newarr [mscorlib]System.Object + IL_005d: dup + IL_005e: ldc.i4.0 + IL_005f: ldarg.s 5 + IL_0061: stelem.ref + IL_0062: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0067: ldarg.0 + IL_0068: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_006d: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() + IL_0072: ldarg.1 + IL_0073: ldarg.0 + IL_0074: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0079: ldarg.2 + IL_007a: ldarg.3 + IL_007b: ldarg.0 + IL_007c: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ReferenceBase::get_ReferencesResolver() + IL_0081: ldarg.s 4 + IL_0083: ldarg.s 5 + IL_0085: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectFactory::LoadProject(class NAnt.VSNet.SolutionBase, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo, string) + IL_008a: stloc.0 + IL_008b: leave IL_009e } // end .try 0 finally { // 0 - IL_0087: ldloc.2 - IL_0088: isinst [mscorlib]System.IDisposable - IL_008d: dup - IL_008e: stloc.s 4 - IL_0090: brfalse IL_009c - - IL_0095: ldloc.s 4 - IL_0097: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009c: endfinally + IL_0090: nop + IL_0091: ldsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack + IL_0096: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_009b: pop + IL_009c: nop + IL_009d: endfinally } // end handler 0 - IL_009d: nop - IL_009e: ldarg.0 - IL_009f: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources - IL_00a4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_00a9: stloc.s 6 - .try { // 1 - IL_00ab: br IL_0106 - - IL_00b0: ldloc.s 6 - IL_00b2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00b7: castclass NAnt.VSNet.Resource - IL_00bc: stloc.s 5 - IL_00be: nop - IL_00bf: ldloc.s 5 - IL_00c1: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() - IL_00c6: brtrue IL_00d1 + IL_009e: ldloc.0 + IL_009f: ret + } // end of method ProjectReferenceBase::LoadProject - IL_00cb: nop - IL_00cc: leave IL_0106 + // method line 335 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x8764 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_0005: stsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack + IL_000a: ret + } // end of method ProjectReferenceBase::.cctor - IL_00d1: ldarg.0 - IL_00d2: ldc.i4 2000 - IL_00d7: ldstr " - {0}" - IL_00dc: ldc.i4.1 - IL_00dd: newarr [mscorlib]System.Object - IL_00e2: dup - IL_00e3: ldc.i4.0 - IL_00e4: ldloc.s 5 - IL_00e6: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_00eb: stelem.ref - IL_00ec: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00f1: ldloc.s 5 - IL_00f3: ldarg.1 - IL_00f4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) - IL_00f9: stloc.s 7 - IL_00fb: ldloc.0 - IL_00fc: ldloc.s 5 - IL_00fe: ldloc.s 7 - IL_0100: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0105: nop - IL_0106: ldloc.s 6 - IL_0108: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_010d: brtrue IL_00b0 + .property instance bool IsPrivate () + { + .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_IsPrivate () + } + .property instance bool IsPrivateSpecified () + { + .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_IsPrivateSpecified () + } + .property instance bool CopyLocal () + { + .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_CopyLocal () + } + .property instance string Name () + { + .get instance default string NAnt.VSNet.ProjectReferenceBase::get_Name () + } + .property instance bool IsSystem () + { + .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_IsSystem () + } + .property instance class NAnt.VSNet.ProjectBase Project () + { + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectReferenceBase::get_Project () + } + } // end of class NAnt.VSNet.ProjectReferenceBase +} - IL_0112: leave IL_012e +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ManagedWrapperReference + extends NAnt.VSNet.WrapperReferenceBase + { + .field private string _name + .field private initonly string _wrapperTool + .field private initonly string _wrapperAssembly + .field private initonly class NAnt.VSNet.ProjectSettings _projectSettings + .field private string _primaryInteropAssembly - } // end .try 1 - finally { // 1 - IL_0117: ldloc.s 6 - IL_0119: isinst [mscorlib]System.IDisposable - IL_011e: dup - IL_011f: stloc.s 8 - IL_0121: brfalse IL_012d + // method line 336 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ProjectSettings projectSettings) cil managed + { + // Method begins at RVA 0x8f9c + // Code size 190 (0xbe) + .maxstack 5 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + class [System.Xml]System.Xml.XmlAttribute V_1) + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: call instance void class NAnt.VSNet.WrapperReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_000b: nop + IL_000c: ldarg.s 5 + IL_000e: brtrue IL_001f - IL_0126: ldloc.s 8 - IL_0128: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_012d: endfinally - } // end handler 1 - IL_012e: ldloc.0 - IL_012f: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_0134: brtrue IL_013f + IL_0013: nop + IL_0014: ldstr "projectSettings" + IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001e: throw + IL_001f: ldarg.0 + IL_0020: ldarg.s 5 + IL_0022: stfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedWrapperReference::_projectSettings + IL_0027: ldarg.0 + IL_0028: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_002d: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0032: ldstr "Name" + IL_0037: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_003c: stloc.0 + IL_003d: ldloc.0 + IL_003e: brfalse IL_0051 - IL_0139: nop - IL_013a: br IL_032b + IL_0043: nop + IL_0044: ldarg.0 + IL_0045: ldloc.0 + IL_0046: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_004b: stfld string NAnt.VSNet.ManagedWrapperReference::_name + IL_0050: nop + IL_0051: ldarg.0 + IL_0052: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0057: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_005c: ldstr "WrapperTool" + IL_0061: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0066: stloc.1 + IL_0067: ldloc.1 + IL_0068: brtrue IL_0099 - IL_013f: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::'.ctor'() - IL_0144: stloc.s 9 - IL_0146: ldloc.s 9 - IL_0148: ldarg.0 - IL_0149: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_014e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0153: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0158: ldloc.s 9 - IL_015a: ldarg.0 - IL_015b: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0160: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0165: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_016a: ldloc.s 9 - IL_016c: ldarg.0 - IL_016d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0172: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0177: ldloc.s 9 - IL_0179: ldarg.0 - IL_017a: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_017f: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0184: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0189: ldloc.s 9 - IL_018b: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0190: ldloc.s 9 - IL_0192: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_0197: ldloc.s 9 - IL_0199: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_019e: ldloc.s 9 - IL_01a0: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_01a5: ldloc.s 9 - IL_01a7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_01ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_01b1: ldloc.s 9 - IL_01b3: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_01b8: ldloc.s 9 - IL_01ba: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_01bf: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_01c4: ldloc.s 9 - IL_01c6: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_01cb: ldarg.0 - IL_01cc: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_01d1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_01d6: nop - IL_01d7: ldloc.0 - IL_01d8: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_01dd: stloc.s 11 - .try { // 2 - IL_01df: br IL_022f + IL_006d: nop + IL_006e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0073: ldstr "Wrapper tool for reference \"{0}\" in project \"{1}\" could not be determined." + IL_0078: ldarg.0 + IL_0079: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_007e: ldarg.0 + IL_007f: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0084: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0089: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_008e: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0093: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0098: throw + IL_0099: ldarg.0 + IL_009a: ldloc.1 + IL_009b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00a0: stfld string NAnt.VSNet.ManagedWrapperReference::_wrapperTool + IL_00a5: ldarg.0 + IL_00a6: ldarg.0 + IL_00a7: call instance string class NAnt.VSNet.WrapperReferenceBase::GetPrimaryInteropAssembly() + IL_00ac: stfld string NAnt.VSNet.ManagedWrapperReference::_primaryInteropAssembly + IL_00b1: ldarg.0 + IL_00b2: ldarg.0 + IL_00b3: call instance string class NAnt.VSNet.WrapperReferenceBase::ResolveWrapperAssembly() + IL_00b8: stfld string NAnt.VSNet.ManagedWrapperReference::_wrapperAssembly + IL_00bd: ret + } // end of method ManagedWrapperReference::.ctor - IL_01e4: ldloc.s 11 - IL_01e6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01eb: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_01f0: stloc.s 10 - IL_01f2: nop - IL_01f3: ldloca.s 10 - IL_01f5: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_01fa: castclass NAnt.VSNet.Resource - IL_01ff: stloc.s 12 - IL_0201: ldloca.s 10 - IL_0203: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0208: castclass [mscorlib]System.IO.FileInfo - IL_020d: stloc.s 13 - IL_020f: ldloc.s 12 - IL_0211: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_0216: ldloc.s 13 - IL_0218: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.QualifiedResource::'.ctor'(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) - IL_021d: stloc.s 14 - IL_021f: ldloc.s 9 - IL_0221: callvirt instance class [mscorlib]System.Collections.ArrayList class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() - IL_0226: ldloc.s 14 - IL_0228: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_022d: pop - IL_022e: nop - IL_022f: ldloc.s 11 - IL_0231: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0236: brtrue IL_01e4 + // method line 337 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x9068 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_023b: leave IL_0257 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedWrapperReference::get_Name - } // end .try 2 - finally { // 2 - IL_0240: ldloc.s 11 - IL_0242: isinst [mscorlib]System.IDisposable - IL_0247: dup - IL_0248: stloc.s 15 - IL_024a: brfalse IL_0256 + // method line 338 + .method public virtual hidebysig specialname + instance default string get_WrapperTool () cil managed + { + // Method begins at RVA 0x9084 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_wrapperTool + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_024f: ldloc.s 15 - IL_0251: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0256: endfinally - } // end handler 2 - IL_0257: nop - IL_0258: ldarg.0 - IL_0259: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_025e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0263: stloc.s 17 - .try { // 4 - IL_0265: br IL_02da + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedWrapperReference::get_WrapperTool - IL_026a: ldloc.s 17 - IL_026c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0271: castclass NAnt.VSNet.ReferenceBase - IL_0276: stloc.s 16 - IL_0278: nop - IL_0279: ldloc.s 16 - IL_027b: ldarg.1 - IL_027c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_0281: stloc.s 18 - IL_0283: nop - IL_0284: ldloc.s 18 - IL_0286: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_028b: stloc.s 20 - .try { // 3 - IL_028d: br IL_02b1 + // method line 339 + .method public virtual hidebysig specialname + instance default string get_WrapperAssembly () cil managed + { + // Method begins at RVA 0x90a0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_wrapperAssembly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0292: ldloc.s 20 - IL_0294: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0299: stloc.s 19 - IL_029b: nop - IL_029c: ldloc.s 9 - IL_029e: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() - IL_02a3: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_02a8: ldloc.s 19 - IL_02aa: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_02af: pop - IL_02b0: nop - IL_02b1: ldloc.s 20 - IL_02b3: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_02b8: brtrue IL_0292 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedWrapperReference::get_WrapperAssembly - IL_02bd: leave IL_02d9 + // method line 340 + .method family virtual hidebysig specialname + instance default string get_PrimaryInteropAssembly () cil managed + { + // Method begins at RVA 0x90bc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_primaryInteropAssembly + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 3 - finally { // 3 - IL_02c2: ldloc.s 20 - IL_02c4: isinst [mscorlib]System.IDisposable - IL_02c9: dup - IL_02ca: stloc.s 21 - IL_02cc: brfalse IL_02d8 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedWrapperReference::get_PrimaryInteropAssembly - IL_02d1: ldloc.s 21 - IL_02d3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02d8: endfinally - } // end handler 3 - IL_02d9: nop - IL_02da: ldloc.s 17 - IL_02dc: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02e1: brtrue IL_026a - - IL_02e6: leave IL_0302 - - } // end .try 4 - finally { // 4 - IL_02eb: ldloc.s 17 - IL_02ed: isinst [mscorlib]System.IDisposable - IL_02f2: dup - IL_02f3: stloc.s 22 - IL_02f5: brfalse IL_0301 - - IL_02fa: ldloc.s 22 - IL_02fc: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0301: endfinally - } // end handler 4 - IL_0302: ldloc.s 9 - IL_0304: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0309: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 5 - IL_030e: nop - IL_030f: ldloc.s 9 - IL_0311: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0316: nop - IL_0317: leave IL_032b - - } // end .try 5 - finally { // 5 - IL_031c: nop - IL_031d: ldloc.s 9 - IL_031f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0324: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0329: nop - IL_032a: endfinally - } // end handler 5 - IL_032b: ret - } // end of method ManagedProjectBase::CompileResXFiles - - // method line 243 - .method private hidebysig - instance default void WriteNeutralResourceOptions (class [mscorlib]System.IO.StreamWriter sw, class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 341 + .method family virtual hidebysig specialname + instance default string get_TypeLibVersion () cil managed { - // Method begins at RVA 0x9b1c - // Code size 233 (0xe9) - .maxstack 7 + // Method begins at RVA 0x90d8 + // Code size 176 (0xb0) + .maxstack 3 .locals init ( - class NAnt.VSNet.Resource V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class [mscorlib]System.IO.FileInfo V_2, - string V_3, - class [mscorlib]System.IO.FileInfo V_4, - class [mscorlib]System.IDisposable V_5) + class [System.Xml]System.Xml.XmlAttribute V_0, + class [System.Xml]System.Xml.XmlAttribute V_1, + string V_2, + int32 V_3, + string V_4, + int32 V_5, + string V_6) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_000c: brtrue IL_0017 - - IL_0011: nop - IL_0012: br IL_00e8 - - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources - IL_001e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0023: stloc.1 - .try { // 0 - IL_0024: br IL_00c2 + IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_000c: ldstr "VersionMajor" + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brtrue IL_0029 - IL_0029: ldloc.1 - IL_002a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_002f: castclass NAnt.VSNet.Resource - IL_0034: stloc.0 - IL_0035: nop - IL_0036: ldarg.0 - IL_0037: ldc.i4 2000 - IL_003c: ldstr " - {0}" - IL_0041: ldc.i4.1 - IL_0042: newarr [mscorlib]System.Object - IL_0047: dup - IL_0048: ldc.i4.0 - IL_0049: ldloc.0 - IL_004a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_004f: stelem.ref - IL_0050: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0055: ldloc.0 - IL_0056: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() - IL_005b: brfalse IL_0093 + IL_001d: nop + IL_001e: ldstr "The definition of the reference does not contain a \"VersionMajor\" attribute." + IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_002f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0034: ldstr "VersionMinor" + IL_0039: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_003e: stloc.1 + IL_003f: ldloc.1 + IL_0040: brtrue IL_0051 - IL_0060: nop - IL_0061: ldloc.0 - IL_0062: ldarg.2 - IL_0063: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) - IL_0068: stloc.2 - IL_0069: ldloc.0 - IL_006a: ldarg.2 - IL_006b: callvirt instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) - IL_0070: stloc.3 - IL_0071: ldarg.1 - IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0077: ldstr "/res:\"{0}\",\"{1}\"" - IL_007c: ldloc.2 - IL_007d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0082: ldloc.3 - IL_0083: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0088: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_008d: nop - IL_008e: br IL_00c1 + IL_0045: nop + IL_0046: ldstr "The definition of the reference does not contain a \"VersionMinor\" attribute." + IL_004b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0050: throw + IL_0051: ldloc.0 + IL_0052: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0057: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005c: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_0061: stloc.3 + IL_0062: ldloca.s 3 + IL_0064: ldstr "x" + IL_0069: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_006e: call instance string int32::ToString(string, class [mscorlib]System.IFormatProvider) + IL_0073: stloc.2 + IL_0074: ldloc.1 + IL_0075: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_007a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007f: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_0084: stloc.s 5 + IL_0086: ldloca.s 5 + IL_0088: ldstr "x" + IL_008d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0092: call instance string int32::ToString(string, class [mscorlib]System.IFormatProvider) + IL_0097: stloc.s 4 + IL_0099: ldloc.2 + IL_009a: ldstr "." + IL_009f: ldloc.s 4 + IL_00a1: call string string::Concat(string, string, string) + IL_00a6: stloc.s 6 + IL_00a8: br IL_00ad - IL_0093: nop - IL_0094: ldloc.0 - IL_0095: ldarg.2 - IL_0096: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::Compile(class NAnt.VSNet.Configuration) - IL_009b: stloc.s 4 - IL_009d: ldarg.1 - IL_009e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a3: ldstr "/res:\"{0}\",\"{1}\"" - IL_00a8: ldloc.s 4 - IL_00aa: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00af: ldloc.0 - IL_00b0: ldarg.2 - IL_00b1: callvirt instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) - IL_00b6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00bb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_00c0: nop - IL_00c1: nop - IL_00c2: ldloc.1 - IL_00c3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00c8: brtrue IL_0029 + IL_00ad: ldloc.s 6 + IL_00af: ret + } // end of method ManagedWrapperReference::get_TypeLibVersion - IL_00cd: leave IL_00e8 + // method line 342 + .method family virtual hidebysig specialname + instance default string get_TypeLibGuid () cil managed + { + // Method begins at RVA 0x9194 + // Code size 55 (0x37) + .maxstack 2 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_000c: ldstr "Guid" + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brtrue IL_0029 - } // end .try 0 - finally { // 0 - IL_00d2: ldloc.1 - IL_00d3: isinst [mscorlib]System.IDisposable - IL_00d8: dup - IL_00d9: stloc.s 5 - IL_00db: brfalse IL_00e7 + IL_001d: nop + IL_001e: ldstr "The definition of the reference does not contain a \"Guid\" attribute." + IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0028: throw + IL_0029: ldloc.0 + IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_002f: stloc.1 + IL_0030: br IL_0035 - IL_00e0: ldloc.s 5 - IL_00e2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00e7: endfinally - } // end handler 0 - IL_00e8: ret - } // end of method ManagedProjectBase::WriteNeutralResourceOptions + IL_0035: ldloc.1 + IL_0036: ret + } // end of method ManagedWrapperReference::get_TypeLibGuid - // method line 244 - .method private hidebysig - instance default bool PreBuild (class NAnt.VSNet.ConfigurationSettings cs) cil managed + // method line 343 + .method family virtual hidebysig specialname + instance default string get_TypeLibLocale () cil managed { - // Method begins at RVA 0x9c24 - // Code size 84 (0x54) - .maxstack 6 + // Method begins at RVA 0x91d8 + // Code size 73 (0x49) + .maxstack 2 .locals init ( - string V_0, - string V_1, - string V_2, - bool V_3) + class [System.Xml]System.Xml.XmlAttribute V_0, + int32 V_1, + string V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0007: callvirt instance string class NAnt.VSNet.ProjectSettings::get_PreBuildEvent() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_004b - - IL_0013: nop - IL_0014: ldarg.1 - IL_0015: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001f: ldstr "PreBuildEvent.bat" - IL_0024: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0029: stloc.1 - IL_002a: ldarg.1 - IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: stloc.2 - IL_0036: ldarg.0 - IL_0037: ldstr "PreBuildEvent" - IL_003c: ldloc.0 - IL_003d: ldloc.1 - IL_003e: ldloc.2 - IL_003f: ldarg.1 - IL_0040: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) - IL_0045: stloc.3 - IL_0046: br IL_0052 + IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_000c: ldstr "Lcid" + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brtrue IL_0029 - IL_004b: ldc.i4.1 - IL_004c: stloc.3 - IL_004d: br IL_0052 + IL_001d: nop + IL_001e: ldstr "The definition of the reference does not contain a \"Lcid\" attribute." + IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0028: throw + IL_0029: ldloc.0 + IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_002f: call int32 int32::Parse(string) + IL_0034: stloc.1 + IL_0035: ldloca.s 1 + IL_0037: ldstr "x" + IL_003c: call instance string int32::ToString(string) + IL_0041: stloc.2 + IL_0042: br IL_0047 - IL_0052: ldloc.3 - IL_0053: ret - } // end of method ManagedProjectBase::PreBuild + IL_0047: ldloc.2 + IL_0048: ret + } // end of method ManagedWrapperReference::get_TypeLibLocale - // method line 245 - .method private hidebysig - instance default bool PostBuild (class NAnt.VSNet.ConfigurationSettings cs, bool bCompileSuccess, bool bOutputUpdated) cil managed + // method line 344 + .method private hidebysig specialname + instance default class NAnt.VSNet.ProjectSettings get_ProjectSettings () cil managed { - // Method begins at RVA 0x9c84 - // Code size 359 (0x167) - .maxstack 7 + // Method begins at RVA 0x9230 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - string V_1, - string V_2, - bool V_3, - string V_4, - bool V_5) + class NAnt.VSNet.ProjectSettings V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0007: callvirt instance string class NAnt.VSNet.ProjectSettings::get_PostBuildEvent() - IL_000c: stloc.0 + IL_0002: ldfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedWrapperReference::_projectSettings + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 - IL_000e: brfalse IL_015c + IL_000e: ret + } // end of method ManagedWrapperReference::get_ProjectSettings - IL_0013: nop + // method line 345 + .method family virtual hidebysig + instance default void ImportTypeLibrary () cil managed + { + // Method begins at RVA 0x924c + // Code size 424 (0x1a8) + .maxstack 3 + .locals init ( + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask V_0, + class NAnt.VSNet.ReferenceBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class NAnt.VSNet.WrapperReferenceBase V_3, + class [mscorlib]System.IDisposable V_4) + IL_0000: nop + IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 IL_0014: ldarg.0 - IL_0015: ldc.i4 1000 - IL_001a: ldstr "PostBuild commandline: {0}" - IL_001f: ldc.i4.1 - IL_0020: newarr [mscorlib]System.Object - IL_0025: dup - IL_0026: ldc.i4.0 - IL_0027: ldloc.0 - IL_0028: stelem.ref - IL_0029: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_002e: ldarg.1 - IL_002f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0034: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0039: ldstr "PostBuildEvent.bat" - IL_003e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0043: stloc.1 - IL_0044: ldarg.1 - IL_0045: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_004a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004f: stloc.2 - IL_0050: ldarg.0 - IL_0051: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0056: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RunPostBuildEvent() - IL_005b: stloc.s 4 - IL_005d: ldloc.s 4 - IL_005f: brfalse IL_014d + IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0024: ldloc.0 + IL_0025: ldarg.0 + IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0046: ldloc.0 + IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_004c: ldloc.0 + IL_004d: ldarg.0 + IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() + IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) + IL_005d: ldloc.0 + IL_005e: ldarg.0 + IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_006e: ldloc.0 + IL_006f: ldarg.0 + IL_0070: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() + IL_0075: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_Namespace(string) + IL_007a: ldloc.0 + IL_007b: ldc.i4.1 + IL_007c: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_SysArray(bool) + IL_0081: ldloc.0 + IL_0082: ldstr "dispret" + IL_0087: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_Transform(string) + IL_008c: nop + IL_008d: ldarg.0 + IL_008e: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0093: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_0098: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_009d: stloc.2 + .try { // 0 + IL_009e: br IL_00fb - IL_0064: ldloc.s 4 - IL_0066: ldstr "OnBuildSuccess" - IL_006b: call bool string::op_Equality(string, string) - IL_0070: brtrue IL_009c + IL_00a3: ldloc.2 + IL_00a4: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00a9: castclass NAnt.VSNet.ReferenceBase + IL_00ae: stloc.1 + IL_00af: nop + IL_00b0: ldloc.1 + IL_00b1: isinst NAnt.VSNet.WrapperReferenceBase + IL_00b6: stloc.3 + IL_00b7: ldloc.3 + IL_00b8: brfalse IL_00dd - IL_0075: ldloc.s 4 - IL_0077: ldstr "Always" - IL_007c: call bool string::op_Equality(string, string) - IL_0081: brtrue IL_00e2 + IL_00bd: ldloc.3 + IL_00be: callvirt instance bool class NAnt.VSNet.WrapperReferenceBase::get_IsCreated() + IL_00c3: brfalse IL_00dd - IL_0086: ldloc.s 4 - IL_0088: ldstr "OnOutputUpdated" - IL_008d: call bool string::op_Equality(string, string) - IL_0092: brtrue IL_0107 + IL_00c8: ldloc.3 + IL_00c9: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() + IL_00ce: ldstr "tlbimp" + IL_00d3: call bool string::op_Inequality(string, string) + IL_00d8: brfalse IL_00e3 - IL_0097: br IL_014d + IL_00dd: nop + IL_00de: leave IL_00fb - IL_009c: ldarg.2 - IL_009d: brfalse IL_00c9 + IL_00e3: ldloc.0 + IL_00e4: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::get_References() + IL_00e9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_00ee: ldloc.3 + IL_00ef: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_00f4: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00f9: pop + IL_00fa: nop + IL_00fb: ldloc.2 + IL_00fc: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0101: brtrue IL_00a3 - IL_00a2: nop - IL_00a3: ldarg.0 - IL_00a4: ldc.i4 1000 - IL_00a9: ldstr "PostBuild+OnBuildSuccess+bCompileSuccess" - IL_00ae: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00b3: ldarg.0 - IL_00b4: ldstr "PostBuildEvent" - IL_00b9: ldloc.0 - IL_00ba: ldloc.1 - IL_00bb: ldloc.2 - IL_00bc: ldarg.1 - IL_00bd: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) - IL_00c2: stloc.3 - IL_00c3: nop - IL_00c4: br IL_00dd + IL_0106: leave IL_0121 - IL_00c9: nop - IL_00ca: ldarg.0 - IL_00cb: ldc.i4 1000 - IL_00d0: ldstr "PostBuild+OnBuildSuccess" - IL_00d5: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00da: ldc.i4.1 - IL_00db: stloc.3 - IL_00dc: nop - IL_00dd: br IL_0154 + } // end .try 0 + finally { // 0 + IL_010b: ldloc.2 + IL_010c: isinst [mscorlib]System.IDisposable + IL_0111: dup + IL_0112: stloc.s 4 + IL_0114: brfalse IL_0120 - IL_00e2: ldarg.0 - IL_00e3: ldc.i4 1000 - IL_00e8: ldstr "PostBuild+Always" - IL_00ed: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00f2: ldarg.0 - IL_00f3: ldstr "PostBuildEvent" - IL_00f8: ldloc.0 - IL_00f9: ldloc.1 - IL_00fa: ldloc.2 - IL_00fb: ldarg.1 - IL_00fc: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) - IL_0101: stloc.3 - IL_0102: br IL_0154 - - IL_0107: ldarg.3 - IL_0108: brfalse IL_0134 - - IL_010d: nop - IL_010e: ldarg.0 - IL_010f: ldc.i4 1000 - IL_0114: ldstr "PostBuild+OnOutputUpdated+bOutputUpdated" - IL_0119: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_011e: ldarg.0 - IL_011f: ldstr "PostBuildEvent" - IL_0124: ldloc.0 - IL_0125: ldloc.1 - IL_0126: ldloc.2 - IL_0127: ldarg.1 - IL_0128: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) - IL_012d: stloc.3 - IL_012e: nop - IL_012f: br IL_0148 - - IL_0134: nop - IL_0135: ldarg.0 - IL_0136: ldc.i4 1000 - IL_013b: ldstr "PostBuild+OnOutputUpdated" - IL_0140: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0145: ldc.i4.1 - IL_0146: stloc.3 - IL_0147: nop - IL_0148: br IL_0154 - - IL_014d: ldc.i4.0 - IL_014e: stloc.3 - IL_014f: br IL_0154 + IL_0119: ldloc.s 4 + IL_011b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0120: endfinally + } // end handler 0 + IL_0121: ldarg.0 + IL_0122: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_0127: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() + IL_012c: brfalse IL_015e - IL_0154: ldloc.3 - IL_0155: stloc.s 5 - IL_0157: br IL_0164 + IL_0131: nop + IL_0132: ldloc.0 + IL_0133: ldarg.0 + IL_0134: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0139: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_013e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0143: ldarg.0 + IL_0144: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_0149: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() + IL_014e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0153: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0158: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_KeyFile(class [mscorlib]System.IO.FileInfo) + IL_015d: nop + IL_015e: ldarg.0 + IL_015f: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_0164: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() + IL_0169: brfalse IL_0181 - IL_015c: ldc.i4.1 - IL_015d: stloc.s 5 - IL_015f: br IL_0164 + IL_016e: nop + IL_016f: ldloc.0 + IL_0170: ldarg.0 + IL_0171: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_0176: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() + IL_017b: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_KeyContainer(string) + IL_0180: nop + IL_0181: ldloc.0 + IL_0182: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0187: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 1 + IL_018c: nop + IL_018d: ldloc.0 + IL_018e: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0193: nop + IL_0194: leave IL_01a7 - IL_0164: ldloc.s 5 - IL_0166: ret - } // end of method ManagedProjectBase::PostBuild + } // end .try 1 + finally { // 1 + IL_0199: nop + IL_019a: ldloc.0 + IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_01a0: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_01a5: nop + IL_01a6: endfinally + } // end handler 1 + IL_01a7: ret + } // end of method ManagedWrapperReference::ImportTypeLibrary - // method line 246 - .method private hidebysig - instance default bool CheckUpToDate (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 346 + .method family virtual hidebysig + instance default void ImportActiveXLibrary () cil managed { - // Method begins at RVA 0x9df8 - // Code size 603 (0x25b) - .maxstack 7 + // Method begins at RVA 0x941c + // Code size 328 (0x148) + .maxstack 4 .locals init ( - valuetype [mscorlib]System.DateTime V_0, - class NAnt.VSNet.ConfigurationSettings V_1, - bool V_2, - string V_3, - string V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class NAnt.VSNet.Resource V_7, - class [mscorlib]System.Collections.IEnumerator V_8, - class [mscorlib]System.IO.FileInfo V_9, - class [mscorlib]System.IDisposable V_10, - class NAnt.VSNet.ReferenceBase V_11, - class [mscorlib]System.Collections.IEnumerator V_12, - class [mscorlib]System.IDisposable V_13, - valuetype [mscorlib]System.Collections.DictionaryEntry V_14, - class [mscorlib]System.Collections.IDictionaryEnumerator V_15, - string V_16, - class [mscorlib]System.IDisposable V_17) + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: castclass NAnt.VSNet.ConfigurationSettings - IL_0012: stloc.1 - IL_0013: ldloc.1 - IL_0014: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_0019: call bool class [mscorlib]System.IO.File::Exists(string) - IL_001e: brfalse IL_0036 - - IL_0023: nop - IL_0024: ldloc.1 - IL_0025: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_002a: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_002f: stloc.0 - IL_0030: nop - IL_0031: br IL_003e + IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0024: ldloc.0 + IL_0025: ldarg.0 + IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0046: ldloc.0 + IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_004c: ldloc.0 + IL_004d: ldarg.0 + IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() + IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OcxFile(class [mscorlib]System.IO.FileInfo) + IL_005d: ldloc.0 + IL_005e: ldarg.0 + IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_006e: ldarg.0 + IL_006f: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_0074: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() + IL_0079: brfalse IL_00ab - IL_0036: nop - IL_0037: ldc.i4.0 - IL_0038: stloc.2 - IL_0039: br IL_0259 + IL_007e: nop + IL_007f: ldloc.0 + IL_0080: ldarg.0 + IL_0081: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0086: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_008b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0090: ldarg.0 + IL_0091: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_0096: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() + IL_009b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00a0: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00a5: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_KeyFile(class [mscorlib]System.IO.FileInfo) + IL_00aa: nop + IL_00ab: ldarg.0 + IL_00ac: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_00b1: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() + IL_00b6: brfalse IL_00ce - IL_003e: ldarg.0 - IL_003f: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_0044: ldloc.0 - IL_0045: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_004a: stloc.3 - IL_004b: ldloc.3 - IL_004c: brfalse IL_0073 + IL_00bb: nop + IL_00bc: ldloc.0 + IL_00bd: ldarg.0 + IL_00be: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() + IL_00c3: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() + IL_00c8: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_KeyContainer(string) + IL_00cd: nop + IL_00ce: ldarg.0 + IL_00cf: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() + IL_00d4: stloc.1 + IL_00d5: ldloc.1 + IL_00d6: brtrue IL_0108 - IL_0051: nop - IL_0052: ldarg.0 - IL_0053: ldc.i4 1000 - IL_0058: ldstr "Project file \"0\" has been updated, recompiling." - IL_005d: ldc.i4.1 - IL_005e: newarr [mscorlib]System.Object - IL_0063: dup - IL_0064: ldc.i4.0 - IL_0065: ldloc.3 - IL_0066: stelem.ref - IL_0067: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_006c: ldc.i4.0 - IL_006d: stloc.2 - IL_006e: br IL_0259 + IL_00db: nop + IL_00dc: ldarg.0 + IL_00dd: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_00e2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() + IL_00e7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00ec: ldstr "Interop." + IL_00f1: ldarg.0 + IL_00f2: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() + IL_00f7: ldstr ".dll" + IL_00fc: call string string::Concat(string, string, string) + IL_0101: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0106: stloc.1 + IL_0107: nop + IL_0108: ldloc.1 + IL_0109: call bool class [mscorlib]System.IO.File::Exists(string) + IL_010e: brfalse IL_0121 - IL_0073: nop - IL_0074: ldarg.0 - IL_0075: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles - IL_007a: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_007f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0084: stloc.s 5 + IL_0113: nop + IL_0114: ldloc.0 + IL_0115: ldloc.1 + IL_0116: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_011b: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_RcwFile(class [mscorlib]System.IO.FileInfo) + IL_0120: nop + IL_0121: ldloc.0 + IL_0122: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0127: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() .try { // 0 - IL_0086: br IL_00b5 - - IL_008b: ldloc.s 5 - IL_008d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0092: castclass [mscorlib]System.String - IL_0097: stloc.s 4 - IL_0099: nop - IL_009a: ldloc.0 - IL_009b: ldloc.s 4 - IL_009d: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_00a2: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_00a7: brfalse IL_00b4 - - IL_00ac: nop - IL_00ad: ldc.i4.0 - IL_00ae: stloc.2 - IL_00af: leave IL_0259 - - IL_00b4: nop - IL_00b5: ldloc.s 5 - IL_00b7: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00bc: brtrue IL_008b - - IL_00c1: leave IL_00dd + IL_012c: nop + IL_012d: ldloc.0 + IL_012e: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0133: nop + IL_0134: leave IL_0147 } // end .try 0 finally { // 0 - IL_00c6: ldloc.s 5 - IL_00c8: isinst [mscorlib]System.IDisposable - IL_00cd: dup - IL_00ce: stloc.s 6 - IL_00d0: brfalse IL_00dc - - IL_00d5: ldloc.s 6 - IL_00d7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00dc: endfinally + IL_0139: nop + IL_013a: ldloc.0 + IL_013b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0140: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0145: nop + IL_0146: endfinally } // end handler 0 - IL_00dd: nop - IL_00de: ldarg.0 - IL_00df: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources - IL_00e4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_00e9: stloc.s 8 - .try { // 1 - IL_00eb: br IL_0157 - - IL_00f0: ldloc.s 8 - IL_00f2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00f7: castclass NAnt.VSNet.Resource - IL_00fc: stloc.s 7 - IL_00fe: nop - IL_00ff: ldloc.0 - IL_0100: ldloc.s 7 - IL_0102: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_0107: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_010c: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0111: brfalse IL_011e + IL_0147: ret + } // end of method ManagedWrapperReference::ImportActiveXLibrary - IL_0116: nop - IL_0117: ldc.i4.0 - IL_0118: stloc.2 - IL_0119: leave IL_0259 + .property instance string Name () + { + .get instance default string NAnt.VSNet.ManagedWrapperReference::get_Name () + } + .property instance string WrapperTool () + { + .get instance default string NAnt.VSNet.ManagedWrapperReference::get_WrapperTool () + } + .property instance string WrapperAssembly () + { + .get instance default string NAnt.VSNet.ManagedWrapperReference::get_WrapperAssembly () + } + .property instance string PrimaryInteropAssembly () + { + .get instance default string NAnt.VSNet.ManagedWrapperReference::get_PrimaryInteropAssembly () + } + .property instance string TypeLibVersion () + { + .get instance default string NAnt.VSNet.ManagedWrapperReference::get_TypeLibVersion () + } + .property instance string TypeLibGuid () + { + .get instance default string NAnt.VSNet.ManagedWrapperReference::get_TypeLibGuid () + } + .property instance string TypeLibLocale () + { + .get instance default string NAnt.VSNet.ManagedWrapperReference::get_TypeLibLocale () + } + .property instance class NAnt.VSNet.ProjectSettings ProjectSettings () + { + .get instance default class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings () + } + } // end of class NAnt.VSNet.ManagedWrapperReference +} - IL_011e: ldloc.s 7 - IL_0120: ldarg.1 - IL_0121: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) - IL_0126: stloc.s 9 - IL_0128: ldloc.s 9 - IL_012a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_012f: brtrue IL_013c +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit Resource + extends [mscorlib]System.Object + { + .field private initonly class [mscorlib]System.Globalization.CultureInfo _culture + .field private initonly class [mscorlib]System.IO.FileInfo _resourceSourceFile + .field private initonly string _dependentFile + .field private initonly string _resourceSourceFileRelativePath + .field private initonly class NAnt.VSNet.ManagedProjectBase _project + .field private initonly class NAnt.VSNet.Tasks.SolutionTask _solutionTask - IL_0134: nop - IL_0135: ldc.i4.0 - IL_0136: stloc.2 - IL_0137: leave IL_0259 + // method line 347 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ManagedProjectBase project, class [mscorlib]System.IO.FileInfo resourceSourceFile, string resourceSourceFileRelativePath, string dependentFile, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed + { + // Method begins at RVA 0x9580 + // Code size 64 (0x40) + .maxstack 3 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.Resource::_project + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::_resourceSourceFile + IL_0015: ldarg.0 + IL_0016: ldarg.3 + IL_0017: stfld string NAnt.VSNet.Resource::_resourceSourceFileRelativePath + IL_001c: ldarg.0 + IL_001d: ldarg.s 4 + IL_001f: stfld string NAnt.VSNet.Resource::_dependentFile + IL_0024: ldarg.0 + IL_0025: ldarg.s 5 + IL_0027: stfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_002c: ldarg.0 + IL_002d: ldarg.2 + IL_002e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0033: ldarg.s 4 + IL_0035: call class [mscorlib]System.Globalization.CultureInfo class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) + IL_003a: stfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.Resource::_culture + IL_003f: ret + } // end of method Resource::.ctor - IL_013c: ldloc.0 - IL_013d: ldloc.s 9 - IL_013f: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0144: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0149: brfalse IL_0156 + // method line 348 + .method public hidebysig specialname + instance default class [mscorlib]System.Globalization.CultureInfo get_Culture () cil managed + { + // Method begins at RVA 0x95cc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Globalization.CultureInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.Resource::_culture + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_014e: nop - IL_014f: ldc.i4.0 - IL_0150: stloc.2 - IL_0151: leave IL_0259 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Resource::get_Culture - IL_0156: nop - IL_0157: ldloc.s 8 - IL_0159: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_015e: brtrue IL_00f0 + // method line 349 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_InputFile () cil managed + { + // Method begins at RVA 0x95e8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::_resourceSourceFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0163: leave IL_017f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Resource::get_InputFile - } // end .try 1 - finally { // 1 - IL_0168: ldloc.s 8 - IL_016a: isinst [mscorlib]System.IDisposable - IL_016f: dup - IL_0170: stloc.s 10 - IL_0172: brfalse IL_017e + // method line 350 + .method public hidebysig specialname + instance default class NAnt.VSNet.ManagedProjectBase get_Project () cil managed + { + // Method begins at RVA 0x9604 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ManagedProjectBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.Resource::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0177: ldloc.s 10 - IL_0179: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_017e: endfinally - } // end handler 1 - IL_017f: nop - IL_0180: ldarg.0 - IL_0181: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references - IL_0186: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_018b: stloc.s 12 - .try { // 2 - IL_018d: br IL_01bd + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Resource::get_Project - IL_0192: ldloc.s 12 - IL_0194: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0199: castclass NAnt.VSNet.ReferenceBase - IL_019e: stloc.s 11 - IL_01a0: nop - IL_01a1: ldloc.0 - IL_01a2: ldloc.s 11 - IL_01a4: ldarg.1 - IL_01a5: callvirt instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetTimestamp(class NAnt.VSNet.Configuration) - IL_01aa: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_01af: brfalse IL_01bc + // method line 351 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_LogicalFile () cil managed + { + // Method begins at RVA 0x9620 + // Code size 41 (0x29) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_0007: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_000c: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0011: ldarg.0 + IL_0012: ldfld string NAnt.VSNet.Resource::_resourceSourceFileRelativePath + IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_001c: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0021: stloc.0 + IL_0022: br IL_0027 - IL_01b4: nop - IL_01b5: ldc.i4.0 - IL_01b6: stloc.2 - IL_01b7: leave IL_0259 + IL_0027: ldloc.0 + IL_0028: ret + } // end of method Resource::get_LogicalFile - IL_01bc: nop - IL_01bd: ldloc.s 12 - IL_01bf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01c4: brtrue IL_0192 + // method line 352 + .method public hidebysig specialname + instance default bool get_IsResX () cil managed + { + // Method begins at RVA 0x9658 + // Code size 40 (0x28) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() + IL_000c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0011: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0016: ldstr ".resx" + IL_001b: call bool string::op_Equality(string, string) + IL_0020: stloc.0 + IL_0021: br IL_0026 - IL_01c9: leave IL_01e5 + IL_0026: ldloc.0 + IL_0027: ret + } // end of method Resource::get_IsResX - } // end .try 2 - finally { // 2 - IL_01ce: ldloc.s 12 - IL_01d0: isinst [mscorlib]System.IDisposable - IL_01d5: dup - IL_01d6: stloc.s 13 - IL_01d8: brfalse IL_01e4 + // method line 353 + .method public hidebysig + instance default class [mscorlib]System.IO.FileInfo Compile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x968c + // Code size 116 (0x74) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0, + string V_1, + class [mscorlib]System.IO.FileInfo V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_0009: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0018: stloc.1 + IL_0019: ldloc.1 + IL_001a: brfalse IL_005e - IL_01dd: ldloc.s 13 - IL_01df: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01e4: endfinally - } // end handler 2 - IL_01e5: nop - IL_01e6: ldloc.1 - IL_01e7: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles() - IL_01ec: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_01f1: stloc.s 15 - .try { // 3 - IL_01f3: br IL_022a + IL_001f: ldloc.1 + IL_0020: ldstr ".resx" + IL_0025: call bool string::op_Equality(string, string) + IL_002a: brtrue IL_0044 - IL_01f8: ldloc.s 15 - IL_01fa: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01ff: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0204: stloc.s 14 - IL_0206: nop - IL_0207: ldloca.s 14 - IL_0209: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_020e: castclass [mscorlib]System.String - IL_0213: stloc.s 16 - IL_0215: ldloc.s 16 - IL_0217: call bool class [mscorlib]System.IO.File::Exists(string) - IL_021c: brtrue IL_0229 + IL_002f: ldloc.1 + IL_0030: ldstr ".licx" + IL_0035: call bool string::op_Equality(string, string) + IL_003a: brtrue IL_0051 - IL_0221: nop - IL_0222: ldc.i4.0 - IL_0223: stloc.2 - IL_0224: leave IL_0259 + IL_003f: br IL_005e - IL_0229: nop - IL_022a: ldloc.s 15 - IL_022c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0231: brtrue IL_01f8 + IL_0044: ldarg.0 + IL_0045: ldarg.1 + IL_0046: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::CompileResx(class NAnt.VSNet.Configuration) + IL_004b: stloc.0 + IL_004c: br IL_006b - IL_0236: leave IL_0252 + IL_0051: ldarg.0 + IL_0052: ldarg.1 + IL_0053: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::CompileLicx(class NAnt.VSNet.Configuration) + IL_0058: stloc.0 + IL_0059: br IL_006b - } // end .try 3 - finally { // 3 - IL_023b: ldloc.s 15 - IL_023d: isinst [mscorlib]System.IDisposable - IL_0242: dup - IL_0243: stloc.s 17 - IL_0245: brfalse IL_0251 + IL_005e: ldarg.0 + IL_005f: ldarg.1 + IL_0060: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::CompileResource(class NAnt.VSNet.Configuration) + IL_0065: stloc.0 + IL_0066: br IL_006b - IL_024a: ldloc.s 17 - IL_024c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0251: endfinally - } // end handler 3 - IL_0252: ldc.i4.1 - IL_0253: stloc.2 - IL_0254: br IL_0259 + IL_006b: ldloc.0 + IL_006c: stloc.2 + IL_006d: br IL_0072 - IL_0259: ldloc.2 - IL_025a: ret - } // end of method ManagedProjectBase::CheckUpToDate + IL_0072: ldloc.2 + IL_0073: ret + } // end of method Resource::Compile - // method line 247 - .method private hidebysig - instance default class [mscorlib]System.Collections.Hashtable GetLocalizedResources () cil managed + // method line 354 + .method public hidebysig + instance default class [mscorlib]System.IO.FileInfo GetCompiledResourceFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xa094 - // Code size 149 (0x95) + // Method begins at RVA 0x970c + // Code size 199 (0xc7) .maxstack 3 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class NAnt.VSNet.Resource V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [mscorlib]System.Globalization.CultureInfo V_3, - class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet V_4, - class [mscorlib]System.IDisposable V_5, - class [mscorlib]System.Collections.Hashtable V_6) + string V_0, + class NAnt.VSNet.ConfigurationSettings V_1, + string V_2, + class [mscorlib]System.IO.FileInfo V_3) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources - IL_000e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0013: stloc.2 - .try { // 0 - IL_0014: br IL_0064 - - IL_0019: ldloc.2 - IL_001a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001f: castclass NAnt.VSNet.Resource - IL_0024: stloc.1 - IL_0025: nop - IL_0026: ldloc.1 - IL_0027: callvirt instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.Resource::get_Culture() - IL_002c: stloc.3 - IL_002d: ldloc.0 - IL_002e: ldloc.3 - IL_002f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0034: castclass NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet - IL_0039: stloc.s 4 - IL_003b: ldloc.s 4 - IL_003d: brtrue IL_0055 + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_0009: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_000e: ldarg.1 + IL_000f: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0014: castclass NAnt.VSNet.ConfigurationSettings + IL_0019: stloc.1 + IL_001a: ldarg.0 + IL_001b: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_0020: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_002f: stloc.2 + IL_0030: ldloc.2 + IL_0031: brfalse IL_00a8 - IL_0042: nop - IL_0043: ldloc.3 - IL_0044: newobj instance void class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::'.ctor'(class [mscorlib]System.Globalization.CultureInfo) - IL_0049: stloc.s 4 - IL_004b: ldloc.0 - IL_004c: ldloc.3 - IL_004d: ldloc.s 4 - IL_004f: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0054: nop - IL_0055: ldloc.s 4 - IL_0057: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Resources() - IL_005c: ldloc.1 - IL_005d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0062: pop - IL_0063: nop - IL_0064: ldloc.2 - IL_0065: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_006a: brtrue IL_0019 + IL_0036: ldloc.2 + IL_0037: ldstr ".resx" + IL_003c: call bool string::op_Equality(string, string) + IL_0041: brtrue IL_005b - IL_006f: leave IL_008a + IL_0046: ldloc.2 + IL_0047: ldstr ".licx" + IL_004c: call bool string::op_Equality(string, string) + IL_0051: brtrue IL_0078 - } // end .try 0 - finally { // 0 - IL_0074: ldloc.2 - IL_0075: isinst [mscorlib]System.IDisposable - IL_007a: dup - IL_007b: stloc.s 5 - IL_007d: brfalse IL_0089 + IL_0056: br IL_00a8 - IL_0082: ldloc.s 5 - IL_0084: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0089: endfinally - } // end handler 0 - IL_008a: ldloc.0 - IL_008b: stloc.s 6 - IL_008d: br IL_0092 + IL_005b: ldloc.1 + IL_005c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0061: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0066: ldarg.0 + IL_0067: ldarg.1 + IL_0068: call instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) + IL_006d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0072: stloc.0 + IL_0073: br IL_00b9 - IL_0092: ldloc.s 6 - IL_0094: ret - } // end of method ManagedProjectBase::GetLocalizedResources + IL_0078: ldloc.1 + IL_0079: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_007e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0083: ldarg.0 + IL_0084: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_0089: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_008e: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() + IL_0093: ldstr ".licenses" + IL_0098: call string string::Concat(string, string) + IL_009d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00a2: stloc.0 + IL_00a3: br IL_00b9 - // method line 248 - .method private hidebysig - instance default class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask CreateRegAsmTask () cil managed - { - // Method begins at RVA 0xa148 - // Code size 244 (0xf4) - .maxstack 3 - .locals init ( - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_0, - class [NAnt.Core]NAnt.Core.Project V_1, - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_2) - IL_0000: nop - IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001f: stloc.1 - IL_0020: ldloc.0 - IL_0021: ldloc.1 - IL_0022: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0027: ldloc.1 - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_002d: ldloc.0 - IL_002e: ldarg.0 - IL_002f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0034: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_003e: ldloc.0 - IL_003f: ldarg.0 - IL_0040: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0045: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_004a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_004f: ldloc.0 - IL_0050: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0055: ldloc.0 - IL_0056: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_005b: ldloc.0 - IL_005c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0061: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0066: ldloc.0 - IL_0067: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_006c: ldloc.0 - IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0072: ldloc.0 - IL_0073: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_0078: ldloc.0 - IL_0079: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_007e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0083: ldloc.0 - IL_0084: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_0089: ldarg.0 - IL_008a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_008f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0094: ldloc.0 - IL_0095: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_009a: ldloc.0 - IL_009b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00a0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00a5: ldloc.0 - IL_00a6: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_00ab: ldloc.0 - IL_00ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_00b1: ldloc.0 - IL_00b2: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_00b7: ldloc.0 - IL_00b8: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_00bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00c2: ldloc.0 - IL_00c3: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_00c8: ldarg.0 - IL_00c9: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_00ce: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00d3: ldloc.0 - IL_00d4: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_00d9: brtrue IL_00eb + IL_00a8: ldarg.0 + IL_00a9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_00ae: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00b3: stloc.0 + IL_00b4: br IL_00b9 - IL_00de: nop - IL_00df: ldloc.0 - IL_00e0: ldc.i4 4000 - IL_00e5: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_00ea: nop - IL_00eb: ldloc.0 - IL_00ec: stloc.2 - IL_00ed: br IL_00f2 + IL_00b9: ldloc.0 + IL_00ba: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00bf: stloc.3 + IL_00c0: br IL_00c5 - IL_00f2: ldloc.2 - IL_00f3: ret - } // end of method ManagedProjectBase::CreateRegAsmTask + IL_00c5: ldloc.3 + IL_00c6: ret + } // end of method Resource::GetCompiledResourceFile - // method line 249 - .method public static hidebysig - default bool IsEnterpriseTemplateProject (string fileName) cil managed + // method line 355 + .method public hidebysig + instance default string GetManifestResourceName (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xa248 - // Code size 138 (0x8a) + // Method begins at RVA 0x97e0 + // Code size 159 (0x9f) .maxstack 3 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - class [System.Xml]System.Xml.XmlTextReader V_1, - bool V_2, - class [mscorlib]System.Exception V_3) + class NAnt.VSNet.ConfigurationSettings V_0, + valuetype NAnt.VSNet.ProjectType V_1, + string V_2) IL_0000: nop - .try { // 1 - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_0008: ldc.i4.1 - IL_0009: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_000e: stloc.0 - .try { // 0 - IL_000f: nop - IL_0010: ldloc.0 - IL_0011: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) - IL_0016: stloc.1 - IL_0017: ldloc.1 - IL_0018: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::MoveToContent() - IL_001d: pop - IL_001e: ldloc.1 - IL_001f: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_0024: ldc.i4.1 - IL_0025: bne.un IL_0047 - - IL_002a: ldloc.1 - IL_002b: callvirt instance string class [System.Xml]System.Xml.XmlReader::get_LocalName() - IL_0030: ldstr "EFPROJECT" - IL_0035: call bool string::op_Equality(string, string) - IL_003a: brfalse IL_0047 - - IL_003f: nop - IL_0040: ldc.i4.1 - IL_0041: stloc.2 - IL_0042: leave IL_0088 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_0007: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_000c: ldarg.1 + IL_000d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0012: castclass NAnt.VSNet.ConfigurationSettings + IL_0017: stloc.0 + IL_0018: ldarg.0 + IL_0019: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_001e: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() + IL_0023: stloc.1 + IL_0024: ldloc.1 + IL_0025: switch ( + IL_0052, + IL_003f, + IL_0078, + IL_0065) + IL_003a: br IL_0078 - IL_0047: nop - IL_0048: leave IL_005a + IL_003f: ldarg.0 + IL_0040: ldloc.0 + IL_0041: ldarg.0 + IL_0042: ldfld string NAnt.VSNet.Resource::_dependentFile + IL_0047: call instance string class NAnt.VSNet.Resource::GetManifestResourceNameCSharp(class NAnt.VSNet.ConfigurationSettings, string) + IL_004c: stloc.2 + IL_004d: br IL_009d - } // end .try 0 - finally { // 0 - IL_004d: ldloc.0 - IL_004e: brfalse IL_0059 + IL_0052: ldarg.0 + IL_0053: ldloc.0 + IL_0054: ldarg.0 + IL_0055: ldfld string NAnt.VSNet.Resource::_dependentFile + IL_005a: call instance string class NAnt.VSNet.Resource::GetManifestResourceNameVB(class NAnt.VSNet.ConfigurationSettings, string) + IL_005f: stloc.2 + IL_0060: br IL_009d - IL_0053: ldloc.0 - IL_0054: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0059: endfinally - } // end handler 0 - IL_005a: ldc.i4.0 - IL_005b: stloc.2 - IL_005c: leave IL_0088 + IL_0065: ldarg.0 + IL_0066: ldloc.0 + IL_0067: ldarg.0 + IL_0068: ldfld string NAnt.VSNet.Resource::_dependentFile + IL_006d: call instance string class NAnt.VSNet.Resource::GetManifestResourceNameJSharp(class NAnt.VSNet.ConfigurationSettings, string) + IL_0072: stloc.2 + IL_0073: br IL_009d - } // end .try 1 - catch class [System.Xml]System.Xml.XmlException { // 1 - IL_0061: pop - IL_0062: nop - IL_0063: ldc.i4.0 - IL_0064: stloc.2 - IL_0065: leave IL_0088 + IL_0078: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007d: ldstr "Unsupported project type '{0}'." + IL_0082: ldarg.0 + IL_0083: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_0088: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() + IL_008d: box NAnt.VSNet.ProjectType + IL_0092: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0097: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_009c: throw + IL_009d: ldloc.2 + IL_009e: ret + } // end of method Resource::GetManifestResourceName - } // end handler 1 - catch class [mscorlib]System.Exception { // 2 - IL_006a: stloc.3 - IL_006b: nop - IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0071: ldstr "Error checking whether '{0}' is an enterprise template project." - IL_0076: ldarg.0 - IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_007c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0081: ldloc.3 - IL_0082: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0087: throw - } // end handler 2 - IL_0088: ldloc.2 - IL_0089: ret - } // end of method ManagedProjectBase::IsEnterpriseTemplateProject - - // method line 250 - .method public static hidebysig - default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + // method line 356 + .method private hidebysig + instance default string GetManifestResourceNameCSharp (class NAnt.VSNet.ConfigurationSettings configSetting, string dependentFile) cil managed { - // Method begins at RVA 0xa308 - // Code size 22 (0x16) - .maxstack 1 + // Method begins at RVA 0x988c + // Code size 225 (0xe1) + .maxstack 5 .locals init ( - class [System.Xml]System.Xml.XmlReader V_0, - string V_1) + class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CscTask V_0, + class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class [System.Xml]System.Xml.XmlNodeReader::'.ctor'(class [System.Xml]System.Xml.XmlNode) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlReader) - IL_000e: stloc.1 - IL_000f: br IL_0014 + IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CscTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0018: ldloc.0 + IL_0019: ldarg.0 + IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0029: ldloc.0 + IL_002a: ldarg.1 + IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: ldarg.0 + IL_0036: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_003b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0040: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() + IL_0045: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_004a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_004f: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_0054: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::'.ctor'() + IL_0059: stloc.1 + IL_005a: ldloc.1 + IL_005b: ldarg.0 + IL_005c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_006b: ldloc.1 + IL_006c: ldarg.0 + IL_006d: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_0072: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_007c: ldloc.1 + IL_007d: ldloc.0 + IL_007e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0083: ldloc.1 + IL_0084: ldarg.0 + IL_0085: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_008a: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_008f: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0094: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0099: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_009e: ldloc.1 + IL_009f: ldarg.0 + IL_00a0: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_00a5: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_00aa: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() + IL_00af: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_Prefix(string) + IL_00b4: ldloc.1 + IL_00b5: ldc.i4.1 + IL_00b6: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix(bool) + IL_00bb: ldloc.0 + IL_00bc: ldloc.1 + IL_00bd: ldarg.0 + IL_00be: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_00c3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00c8: ldarg.0 + IL_00c9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_LogicalFile() + IL_00ce: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00d3: ldarg.2 + IL_00d4: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet, string, string, string) + IL_00d9: stloc.2 + IL_00da: br IL_00df - IL_0014: ldloc.1 - IL_0015: ret - } // end of method ManagedProjectBase::LoadGuid + IL_00df: ldloc.2 + IL_00e0: ret + } // end of method Resource::GetManifestResourceNameCSharp - // method line 251 - .method private static hidebysig - default string LoadGuid (class [System.Xml]System.Xml.XmlReader guidReader) cil managed + // method line 357 + .method private hidebysig + instance default string GetManifestResourceNameVB (class NAnt.VSNet.ConfigurationSettings configSetting, string dependentFile) cil managed { - // Method begins at RVA 0xa32c - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0x997c + // Code size 247 (0xf7) + .maxstack 5 .locals init ( - string V_0) + class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VbcTask V_0, + class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet V_1, + string V_2) IL_0000: nop - IL_0001: br IL_0052 - - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_000d: ldc.i4.1 - IL_000e: bne.un IL_0051 - - IL_0013: nop - IL_0014: br IL_0045 - - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() - IL_0020: ldc.i4.1 - IL_0021: bne.un IL_0044 - - IL_0026: nop - IL_0027: ldarg.0 - IL_0028: ldstr "ProjectGuid" - IL_002d: callvirt instance bool class [System.Xml]System.Xml.XmlReader::MoveToAttribute(string) - IL_0032: brfalse IL_0043 - - IL_0037: ldarg.0 - IL_0038: callvirt instance string class [System.Xml]System.Xml.XmlReader::get_Value() - IL_003d: stloc.0 - IL_003e: br IL_006d + IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VbcTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0018: ldloc.0 + IL_0019: ldarg.0 + IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0029: ldloc.0 + IL_002a: ldarg.1 + IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: ldarg.0 + IL_0036: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_003b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0040: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() + IL_0045: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_004a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_004f: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_0054: ldloc.0 + IL_0055: ldarg.0 + IL_0056: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_005b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0060: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() + IL_0065: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VbcTask::set_RootNamespace(string) + IL_006a: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::'.ctor'() + IL_006f: stloc.1 + IL_0070: ldloc.1 + IL_0071: ldarg.0 + IL_0072: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_0077: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0081: ldloc.1 + IL_0082: ldarg.0 + IL_0083: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_0088: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_008d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0092: ldloc.1 + IL_0093: ldloc.0 + IL_0094: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0099: ldloc.1 + IL_009a: ldarg.0 + IL_009b: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_00a0: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_00a5: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00aa: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00b4: ldloc.1 + IL_00b5: ldarg.0 + IL_00b6: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_00bb: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_00c0: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() + IL_00c5: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_Prefix(string) + IL_00ca: ldloc.1 + IL_00cb: ldc.i4.0 + IL_00cc: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix(bool) + IL_00d1: ldloc.0 + IL_00d2: ldloc.1 + IL_00d3: ldarg.0 + IL_00d4: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_00d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00de: ldarg.0 + IL_00df: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_LogicalFile() + IL_00e4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00e9: ldarg.2 + IL_00ea: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet, string, string, string) + IL_00ef: stloc.2 + IL_00f0: br IL_00f5 - IL_0043: nop - IL_0044: nop - IL_0045: ldarg.0 - IL_0046: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() - IL_004b: brtrue IL_0019 + IL_00f5: ldloc.2 + IL_00f6: ret + } // end of method Resource::GetManifestResourceNameVB - IL_0050: nop - IL_0051: nop - IL_0052: ldarg.0 - IL_0053: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() - IL_0058: brtrue IL_0006 + // method line 358 + .method private hidebysig + instance default string GetManifestResourceNameJSharp (class NAnt.VSNet.ConfigurationSettings configSetting, string dependentFile) cil managed + { + // Method begins at RVA 0x9a80 + // Code size 225 (0xe1) + .maxstack 5 + .locals init ( + class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VjcTask V_0, + class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet V_1, + string V_2) + IL_0000: nop + IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VjcTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0018: ldloc.0 + IL_0019: ldarg.0 + IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0029: ldloc.0 + IL_002a: ldarg.1 + IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: ldarg.0 + IL_0036: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_003b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0040: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() + IL_0045: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_004a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_004f: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_0054: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::'.ctor'() + IL_0059: stloc.1 + IL_005a: ldloc.1 + IL_005b: ldarg.0 + IL_005c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_006b: ldloc.1 + IL_006c: ldarg.0 + IL_006d: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_0072: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_007c: ldloc.1 + IL_007d: ldloc.0 + IL_007e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0083: ldloc.1 + IL_0084: ldarg.0 + IL_0085: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_008a: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_008f: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0094: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0099: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_009e: ldloc.1 + IL_009f: ldarg.0 + IL_00a0: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_00a5: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_00aa: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() + IL_00af: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_Prefix(string) + IL_00b4: ldloc.1 + IL_00b5: ldc.i4.1 + IL_00b6: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix(bool) + IL_00bb: ldloc.0 + IL_00bc: ldloc.1 + IL_00bd: ldarg.0 + IL_00be: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_00c3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00c8: ldarg.0 + IL_00c9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_LogicalFile() + IL_00ce: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00d3: ldarg.2 + IL_00d4: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet, string, string, string) + IL_00d9: stloc.2 + IL_00da: br IL_00df - IL_005d: ldstr "Couldn't locate project GUID." - IL_0062: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0067: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_006c: throw - IL_006d: ldloc.0 - IL_006e: ret - } // end of method ManagedProjectBase::LoadGuid + IL_00df: ldloc.2 + IL_00e0: ret + } // end of method Resource::GetManifestResourceNameJSharp - // method line 252 - .method family static hidebysig - default valuetype NAnt.VSNet.ProductVersion GetProductVersion (class [System.Xml]System.Xml.XmlNode projectNode) cil managed + // method line 359 + .method private hidebysig + instance default class [mscorlib]System.IO.FileInfo CompileResource (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xa3a8 - // Code size 208 (0xd0) - .maxstack 3 + // Method begins at RVA 0x9b70 + // Code size 16 (0x10) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - class [mscorlib]System.Version V_1, - class [mscorlib]System.Exception V_2, - int32 V_3, - valuetype NAnt.VSNet.ProductVersion V_4) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "projectNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0019: ldstr "ProductVersion" - IL_001e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: brtrue IL_003b - - IL_002a: nop - IL_002b: ldstr "The \"ProductVersion\" attribute is missing from the project node." - IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_003a: throw - IL_003b: ldnull - IL_003c: stloc.1 - .try { // 0 - IL_003d: nop - IL_003e: ldloc.0 - IL_003f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0044: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0049: stloc.1 - IL_004a: nop - IL_004b: leave IL_0073 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0050: stloc.2 - IL_0051: nop - IL_0052: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0057: ldstr "The value of the \"Version\" attribute ({0}) is not a valid version string." - IL_005c: ldloc.0 - IL_005d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0062: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0067: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_006c: ldloc.2 - IL_006d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_0072: throw - } // end handler 0 - IL_0073: ldloc.1 - IL_0074: callvirt instance int32 class [mscorlib]System.Version::get_Major() - IL_0079: ldc.i4.7 - IL_007a: bne.un IL_00ad - - IL_007f: nop - IL_0080: ldloc.1 - IL_0081: callvirt instance int32 class [mscorlib]System.Version::get_Minor() - IL_0086: stloc.3 - IL_0087: ldloc.3 - IL_0088: brfalse IL_009a - - IL_008d: ldloc.3 - IL_008e: ldc.i4.s 0x0a - IL_0090: beq IL_00a3 - - IL_0095: br IL_00ac - - IL_009a: ldc.i4.s 0x46 - IL_009c: stloc.s 4 - IL_009e: br IL_00cd - - IL_00a3: ldc.i4.s 0x47 - IL_00a5: stloc.s 4 - IL_00a7: br IL_00cd + IL_0002: ldarg.1 + IL_0003: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_00ac: nop - IL_00ad: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00b2: ldstr "Visual Studio version \"{0\" is not supported." - IL_00b7: ldloc.1 - IL_00b8: callvirt instance string object::ToString() - IL_00bd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00c2: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00c7: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00cc: throw - IL_00cd: ldloc.s 4 - IL_00cf: ret - } // end of method ManagedProjectBase::GetProductVersion + IL_000e: ldloc.0 + IL_000f: ret + } // end of method Resource::CompileResource - // method line 253 - .method family static hidebysig - default valuetype NAnt.VSNet.ProjectLocation GetProjectLocation (class [System.Xml]System.Xml.XmlNode projectNode) cil managed + // method line 360 + .method private hidebysig + instance default class [mscorlib]System.IO.FileInfo CompileLicx (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xa494 - // Code size 130 (0x82) + // Method begins at RVA 0x9b8c + // Code size 437 (0x1b5) .maxstack 3 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - valuetype NAnt.VSNet.ProjectLocation V_1, - class [mscorlib]System.Exception V_2) + class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask V_0, + class NAnt.VSNet.ReferenceBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [System]System.Collections.Specialized.StringCollection V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class [mscorlib]System.IDisposable V_7, + class [mscorlib]System.IO.FileInfo V_8) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "projectNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0019: ldstr "ProjectType" - IL_001e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: brtrue IL_003b - - IL_002a: nop - IL_002b: ldstr "The \"ProjectType\" attribute is missing from the project node." - IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_003a: throw - .try { // 0 - IL_003b: nop - IL_003c: ldtoken NAnt.VSNet.ProjectLocation - IL_0041: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0046: ldloc.0 - IL_0047: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_004c: ldc.i4.1 - IL_004d: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) - IL_0052: unbox.any NAnt.VSNet.ProjectLocation - IL_0057: stloc.1 - IL_0058: leave IL_0080 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_005d: stloc.2 - IL_005e: nop - IL_005f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0064: ldstr "The value of the \"ProjectType\" attribute ({0}) is not a valid location string." - IL_0069: ldloc.0 - IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_006f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0074: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0079: ldloc.2 - IL_007a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_007f: throw - } // end handler 0 - IL_0080: ldloc.1 - IL_0081: ret - } // end of method ManagedProjectBase::GetProjectLocation - - .property instance class NAnt.VSNet.ProjectSettings ProjectSettings () - { - .get instance default class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedProjectBase::get_ProjectSettings () - } - .property instance string FileExtension () - { - .get instance default string NAnt.VSNet.ManagedProjectBase::get_FileExtension () - } - .property instance bool IsWebProject () - { - .get instance default bool NAnt.VSNet.ManagedProjectBase::get_IsWebProject () - } - .property instance string Name () - { - .get instance default string NAnt.VSNet.ManagedProjectBase::get_Name () - } - .property instance string ProjectPath () - { - .get instance default string NAnt.VSNet.ManagedProjectBase::get_ProjectPath () - } - .property instance class [mscorlib]System.IO.DirectoryInfo ProjectDirectory () + IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0018: ldloc.0 + IL_0019: ldarg.0 + IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0029: ldloc.0 + IL_002a: ldarg.0 + IL_002b: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask + IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0046: ldloc.0 + IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_004c: ldloc.0 + IL_004d: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_0052: ldloc.0 + IL_0053: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0058: ldloc.0 + IL_0059: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_005e: ldloc.0 + IL_005f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0064: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0069: ldloc.0 + IL_006a: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_006f: ldloc.0 + IL_0070: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_007a: ldloc.0 + IL_007b: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_0080: ldarg.0 + IL_0081: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_0086: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_008b: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0090: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0095: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_009a: ldloc.0 + IL_009b: ldarg.0 + IL_009c: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_00a1: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::set_InputFile(class [mscorlib]System.IO.FileInfo) + IL_00a6: ldloc.0 + IL_00a7: ldarg.0 + IL_00a8: ldarg.1 + IL_00a9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) + IL_00ae: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_00b3: ldloc.0 + IL_00b4: ldarg.0 + IL_00b5: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_00ba: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_00bf: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() + IL_00c4: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_00c9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ce: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) + IL_00d3: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::set_Target(string) + IL_00d8: nop + IL_00d9: ldarg.0 + IL_00da: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() + IL_00df: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_00e4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_00e9: stloc.2 + .try { // 1 + IL_00ea: br IL_0159 + + IL_00ef: ldloc.2 + IL_00f0: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00f5: castclass NAnt.VSNet.ReferenceBase + IL_00fa: stloc.1 + IL_00fb: nop + IL_00fc: ldloc.1 + IL_00fd: ldarg.1 + IL_00fe: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_0103: stloc.3 + IL_0104: nop + IL_0105: ldloc.3 + IL_0106: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_010b: stloc.s 5 + .try { // 0 + IL_010d: br IL_0130 + + IL_0112: ldloc.s 5 + IL_0114: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0119: stloc.s 4 + IL_011b: nop + IL_011c: ldloc.0 + IL_011d: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() + IL_0122: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0127: ldloc.s 4 + IL_0129: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_012e: pop + IL_012f: nop + IL_0130: ldloc.s 5 + IL_0132: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0137: brtrue IL_0112 + + IL_013c: leave IL_0158 + + } // end .try 0 + finally { // 0 + IL_0141: ldloc.s 5 + IL_0143: isinst [mscorlib]System.IDisposable + IL_0148: dup + IL_0149: stloc.s 6 + IL_014b: brfalse IL_0157 + + IL_0150: ldloc.s 6 + IL_0152: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0157: endfinally + } // end handler 0 + IL_0158: nop + IL_0159: ldloc.2 + IL_015a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_015f: brtrue IL_00ef + + IL_0164: leave IL_017f + + } // end .try 1 + finally { // 1 + IL_0169: ldloc.2 + IL_016a: isinst [mscorlib]System.IDisposable + IL_016f: dup + IL_0170: stloc.s 7 + IL_0172: brfalse IL_017e + + IL_0177: ldloc.s 7 + IL_0179: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_017e: endfinally + } // end handler 1 + IL_017f: ldloc.0 + IL_0180: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0185: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 2 + IL_018a: nop + IL_018b: ldloc.0 + IL_018c: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0191: nop + IL_0192: leave IL_01a5 + + } // end .try 2 + finally { // 2 + IL_0197: nop + IL_0198: ldloc.0 + IL_0199: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_019e: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_01a3: nop + IL_01a4: endfinally + } // end handler 2 + IL_01a5: ldloc.0 + IL_01a6: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_OutputFile() + IL_01ab: stloc.s 8 + IL_01ad: br IL_01b2 + + IL_01b2: ldloc.s 8 + IL_01b4: ret + } // end of method Resource::CompileLicx + + // method line 361 + .method private hidebysig + instance default class [mscorlib]System.IO.FileInfo CompileResx (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x9d78 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'() + IL_0006: throw + } // end of method Resource::CompileResx + + .property instance class [mscorlib]System.Globalization.CultureInfo Culture () { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::get_ProjectDirectory () + .get instance default class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.Resource::get_Culture () } - .property instance valuetype NAnt.VSNet.ProjectLocation ProjectLocation () + .property instance class [mscorlib]System.IO.FileInfo InputFile () { - .get instance default valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ManagedProjectBase::get_ProjectLocation () + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::get_InputFile () } - .property instance string Guid () + .property instance class NAnt.VSNet.ManagedProjectBase Project () { - .get instance default string NAnt.VSNet.ManagedProjectBase::get_Guid () - .set instance default void NAnt.VSNet.ManagedProjectBase::set_Guid (string 'value') + .get instance default class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.Resource::get_Project () } - .property instance class [mscorlib]System.Collections.ArrayList References () + .property instance class [mscorlib]System.IO.FileInfo LogicalFile () { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::get_References () + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::get_LogicalFile () } - .class nested private auto ansi beforefieldinit LocalizedResourceSet - extends [mscorlib]System.Object + .property instance bool IsResX () + { + .get instance default bool NAnt.VSNet.Resource::get_IsResX () + } + } // end of class NAnt.VSNet.Resource +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit CSharpProject + extends NAnt.VSNet.ManagedProjectBase { - .field private initonly class [mscorlib]System.Globalization.CultureInfo _culture - .field private initonly class [mscorlib]System.Collections.ArrayList _resources - // method line 254 + // method line 362 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Globalization.CultureInfo culture) cil managed + instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0xa534 - // Code size 44 (0x2c) - .maxstack 8 + // Method begins at RVA 0xc15c + // Code size 21 (0x15) + .maxstack 9 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 - - IL_000d: nop - IL_000e: ldstr "culture" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: stfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_culture - IL_0020: ldarg.0 - IL_0021: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0026: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_resources - IL_002b: ret - } // end of method LocalizedResourceSet::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: ldarg.s 6 + IL_000a: ldarg.s 7 + IL_000c: ldarg.s 8 + IL_000e: call instance void class NAnt.VSNet.ManagedProjectBase::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0013: nop + IL_0014: ret + } // end of method CSharpProject::.ctor - // method line 255 - .method public hidebysig specialname - instance default class [mscorlib]System.Globalization.CultureInfo get_Culture () cil managed + // method line 363 + .method public virtual hidebysig specialname + instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed { - // Method begins at RVA 0xa564 - // Code size 15 (0xf) + // Method begins at RVA 0xc180 + // Code size 10 (0xa) .maxstack 1 .locals init ( - class [mscorlib]System.Globalization.CultureInfo V_0) + valuetype NAnt.VSNet.ProjectType V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_culture - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LocalizedResourceSet::get_Culture + IL_0008: ldloc.0 + IL_0009: ret + } // end of method CSharpProject::get_Type - // method line 256 - .method public hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_Resources () cil managed + // method line 364 + .method family virtual hidebysig + instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0xa580 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + // Method begins at RVA 0xc196 + // Code size 46 (0x2e) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_resources - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: call bool class NAnt.VSNet.CSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_0007: brtrue IL_002d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LocalizedResourceSet::get_Resources + IL_000c: nop + IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0012: ldstr "Project '{0}' is not a valid C# project." + IL_0017: ldarg.0 + IL_0018: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0022: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0027: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_002c: throw + IL_002d: ret + } // end of method CSharpProject::VerifyProjectXml - // method line 257 - .method public hidebysig - instance default class [mscorlib]System.IO.DirectoryInfo GetBuildDirectory (class NAnt.VSNet.ConfigurationSettings projectConfig) cil managed + // method line 365 + .method family virtual hidebysig + instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0xa59c - // Code size 41 (0x29) + // Method begins at RVA 0xc1c8 + // Code size 25 (0x19) .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + valuetype NAnt.VSNet.ProductVersion V_0) IL_0000: nop IL_0001: ldarg.1 - IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: ldarg.0 - IL_000d: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture() - IL_0012: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_001c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0021: stloc.0 - IL_0022: br IL_0027 + IL_0002: ldstr "./CSHARP" + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_000c: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0027: ldloc.0 - IL_0028: ret - } // end of method LocalizedResourceSet::GetBuildDirectory + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CSharpProject::DetermineProductVersion - // method line 258 - .method public hidebysig - instance default class [mscorlib]System.IO.FileInfo GetSatelliteAssemblyPath (class NAnt.VSNet.ConfigurationSettings projectConfig, class NAnt.VSNet.ProjectSettings projectSettings) cil managed + // method line 366 + .method family virtual hidebysig + instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed { - // Method begins at RVA 0xa5d4 - // Code size 40 (0x28) - .maxstack 3 + // Method begins at RVA 0xc1f0 + // Code size 137 (0x89) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0, - class [mscorlib]System.IO.FileInfo V_1) + class [System]System.Diagnostics.ProcessStartInfo V_0, + class [System]System.Diagnostics.ProcessStartInfo V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetBuildDirectory(class NAnt.VSNet.ConfigurationSettings) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000f: ldarg.0 - IL_0010: ldarg.2 - IL_0011: call instance string class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteFileName(class NAnt.VSNet.ProjectSettings) - IL_0016: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_001b: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0020: stloc.1 - IL_0021: br IL_0026 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0011: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_0016: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001b: ldstr "csc.exe" + IL_0020: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0025: ldstr "/noconfig @\"" + IL_002a: ldarg.2 + IL_002b: ldstr "\"" + IL_0030: call string string::Concat(string, string, string) + IL_0035: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string, string) + IL_003a: stloc.0 + IL_003b: ldarg.0 + IL_003c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0041: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0046: brfalse IL_006d - IL_0026: ldloc.1 - IL_0027: ret - } // end of method LocalizedResourceSet::GetSatelliteAssemblyPath + IL_004b: nop + IL_004c: ldloc.0 + IL_004d: ldarg.0 + IL_004e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005d: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0062: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_0067: nop + IL_0068: br IL_0080 - // method line 259 - .method public hidebysig - instance default string GetRelativePath (class NAnt.VSNet.ProjectSettings projectSettings) cil managed + IL_006d: nop + IL_006e: ldloc.0 + IL_006f: ldarg.0 + IL_0070: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0075: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_007a: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_007f: nop + IL_0080: ldloc.0 + IL_0081: stloc.1 + IL_0082: br IL_0087 + + IL_0087: ldloc.1 + IL_0088: ret + } // end of method CSharpProject::GetProcessStartInfo + + // method line 367 + .method family virtual hidebysig specialname + instance default string get_FileExtension () cil managed { - // Method begins at RVA 0xa608 - // Code size 32 (0x20) - .maxstack 3 + // Method begins at RVA 0xc288 + // Code size 14 (0xe) + .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture() - IL_0007: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() - IL_000c: ldarg.0 - IL_000d: ldarg.1 - IL_000e: call instance string class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteFileName(class NAnt.VSNet.ProjectSettings) - IL_0013: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0018: stloc.0 - IL_0019: br IL_001e + IL_0001: ldstr ".cs" + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_001e: ldloc.0 - IL_001f: ret - } // end of method LocalizedResourceSet::GetRelativePath + IL_000c: ldloc.0 + IL_000d: ret + } // end of method CSharpProject::get_FileExtension - // method line 260 - .method private hidebysig - instance default string GetSatelliteFileName (class NAnt.VSNet.ProjectSettings projectSettings) cil managed + // method line 368 + .method family virtual hidebysig + instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0xa634 - // Code size 30 (0x1e) - .maxstack 3 + // Method begins at RVA 0xc2a4 + // Code size 25 (0x19) + .maxstack 2 .locals init ( - string V_0) + valuetype NAnt.VSNet.ProjectLocation V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldstr "{0}.resources.dll" - IL_000b: ldarg.1 - IL_000c: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyName() - IL_0011: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0016: stloc.0 - IL_0017: br IL_001c + IL_0001: ldarg.1 + IL_0002: ldstr "./CSHARP" + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_000c: call valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::GetProjectLocation(class [System.Xml]System.Xml.XmlNode) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_001c: ldloc.0 - IL_001d: ret - } // end of method LocalizedResourceSet::GetSatelliteFileName + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CSharpProject::DetermineProjectLocation - .property instance class [mscorlib]System.Globalization.CultureInfo Culture () - { - .get instance default class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture () - } - .property instance class [mscorlib]System.Collections.ArrayList Resources () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Resources () - } - } // end of class LocalizedResourceSet + // method line 369 + .method public static hidebysig + default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0xc2cc + // Code size 102 (0x66) + .maxstack 2 + .locals init ( + bool V_0, + class [System.Xml]System.Xml.XmlNode V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_000f - } // end of class NAnt.VSNet.ManagedProjectBase -} + IL_0007: nop + IL_0008: ldc.i4.0 + IL_0009: stloc.0 + IL_000a: br IL_0064 -.namespace NAnt.VSNet -{ - .class public auto ansi sealed ManagedOutputType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.ManagedOutputType Library = int32(0x00000001) - .field public static literal valuetype NAnt.VSNet.ManagedOutputType Executable = int32(0x00000002) - .field public static literal valuetype NAnt.VSNet.ManagedOutputType WindowsExecutable = int32(0x00000003) + IL_000f: ldarg.0 + IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0015: ldstr "VisualStudioProject" + IL_001a: call bool string::op_Inequality(string, string) + IL_001f: brfalse IL_002c - } // end of class NAnt.VSNet.ManagedOutputType -} + IL_0024: nop + IL_0025: ldc.i4.0 + IL_0026: stloc.0 + IL_0027: br IL_0064 -.namespace NAnt.VSNet -{ - .class public auto ansi sealed beforefieldinit ConfigurationDictionary - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionary, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_002c: ldarg.0 + IL_002d: ldstr "./CSHARP" + IL_0032: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0037: stloc.1 + IL_0038: ldloc.1 + IL_0039: brtrue IL_0046 - .field private initonly class [mscorlib]System.Collections.Hashtable _innerHash + IL_003e: nop + IL_003f: ldc.i4.0 + IL_0040: stloc.0 + IL_0041: br IL_0064 - // method line 261 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .try { // 0 + IL_0046: nop + IL_0047: ldloc.1 + IL_0048: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) + IL_004d: pop + IL_004e: nop + IL_004f: leave IL_005d + + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0054: pop + IL_0055: nop + IL_0056: ldc.i4.0 + IL_0057: stloc.0 + IL_0058: leave IL_0064 + + } // end handler 0 + IL_005d: ldc.i4.1 + IL_005e: stloc.0 + IL_005f: br IL_0064 + + IL_0064: ldloc.0 + IL_0065: ret + } // end of method CSharpProject::IsSupported + + .property instance valuetype NAnt.VSNet.ProjectType Type () + { + .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.CSharpProject::get_Type () + } + .property instance string FileExtension () + { + .get instance default string NAnt.VSNet.CSharpProject::get_FileExtension () + } + } // end of class NAnt.VSNet.CSharpProject +} + +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit ConfigurationBase + extends [mscorlib]System.Object + { + .field private initonly class NAnt.VSNet.ProjectBase _project + .field private initonly class [System]System.Text.RegularExpressions.Regex _rxMacro + .field private class [mscorlib]System.Collections.Hashtable _extraOutputFiles + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map0' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + + + // method line 370 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ProjectBase project) cil managed { - // Method begins at RVA 0xa65e - // Code size 19 (0x13) + // Method begins at RVA 0x4fa0 + // Code size 60 (0x3c) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0012: ret - } // end of method ConfigurationDictionary::.ctor - - // method line 262 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed - { - // Method begins at RVA 0xa674 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldstr "\\$\\((\\w+)\\)" + IL_0006: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_000b: stfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.ConfigurationBase::_rxMacro + IL_0010: ldarg.0 + IL_0011: call instance void object::'.ctor'() + IL_0016: nop + IL_0017: ldarg.1 + IL_0018: brtrue IL_0029 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationDictionary::get_InnerHash + IL_001d: nop + IL_001e: ldstr "project" + IL_0023: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldarg.1 + IL_002b: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ConfigurationBase::_project + IL_0030: ldarg.0 + IL_0031: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0036: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationBase::_extraOutputFiles + IL_003b: ret + } // end of method ConfigurationBase::.ctor - // method line 263 - .method public hidebysig - instance default class NAnt.VSNet.ConfigurationDictionaryEnumerator GetEnumerator () cil managed + // method line 371 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectBase get_Project () cil managed { - // Method begins at RVA 0xa690 + // Method begins at RVA 0x4fe0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ConfigurationDictionaryEnumerator V_0) + class NAnt.VSNet.ProjectBase V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VSNet.ConfigurationDictionaryEnumerator::'.ctor'(class NAnt.VSNet.ConfigurationDictionary) + IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ConfigurationBase::_project IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConfigurationDictionary::GetEnumerator + } // end of method ConfigurationBase::get_Project - // method line 264 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed + // method line 372 + .method public virtual hidebysig newslot abstract specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0xa6ac - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::GetEnumerator due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IDictionaryEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionaryEnumerator class NAnt.VSNet.ConfigurationDictionary::GetEnumerator() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationDictionary::System.Collections.IDictionary.GetEnumerator + // Method begins at RVA 0x0 + } // end of method ConfigurationBase::get_Name - // method line 265 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 373 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed { - // Method begins at RVA 0xa6c8 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x4ffc + // Code size 41 (0x29) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionaryEnumerator class NAnt.VSNet.ConfigurationDictionary::GetEnumerator() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() + IL_000c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0011: ldarg.0 + IL_0012: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_001c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0021: stloc.0 + IL_0022: br IL_0027 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationDictionary::System.Collections.IEnumerable.GetEnumerator + IL_0027: ldloc.0 + IL_0028: ret + } // end of method ConfigurationBase::get_ObjectDir - // method line 266 - .method public hidebysig - instance default void Remove (class NAnt.VSNet.Configuration configuration) cil managed + // method line 374 + .method public virtual hidebysig newslot abstract specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed { - // Method begins at RVA 0xa6e3 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_000d: ret - } // end of method ConfigurationDictionary::Remove + // Method begins at RVA 0x0 + } // end of method ConfigurationBase::get_OutputDir - // method line 267 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Remove (object key) cil managed + // method line 375 + .method public virtual hidebysig newslot abstract specialname + instance default string get_OutputPath () cil managed { - // Method begins at RVA 0xa6f2 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Remove due to (null) - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: call instance void class NAnt.VSNet.ConfigurationDictionary::Remove(class NAnt.VSNet.Configuration) - IL_000d: ret - } // end of method ConfigurationDictionary::System.Collections.IDictionary.Remove + // Method begins at RVA 0x0 + } // end of method ConfigurationBase::get_OutputPath - // method line 268 - .method public hidebysig - instance default bool Contains (class NAnt.VSNet.Configuration key) cil managed + // method line 376 + .method public virtual hidebysig newslot abstract specialname + instance default string get_BuildPath () cil managed { - // Method begins at RVA 0xa704 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationDictionary::Contains + // Method begins at RVA 0x0 + } // end of method ConfigurationBase::get_BuildPath - // method line 269 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IDictionary.Contains (object key) cil managed + // method line 377 + .method public virtual hidebysig newslot abstract specialname + instance default string get_RelativeOutputDir () cil managed { - // Method begins at RVA 0xa728 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Contains due to (null) - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: call instance bool class NAnt.VSNet.ConfigurationDictionary::Contains(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationDictionary::System.Collections.IDictionary.Contains + // Method begins at RVA 0x0 + } // end of method ConfigurationBase::get_RelativeOutputDir - // method line 270 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed + // method line 378 + .method public virtual hidebysig newslot abstract specialname + instance default string get_PlatformName () cil managed { - // Method begins at RVA 0xa749 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() - IL_000c: ret - } // end of method ConfigurationDictionary::Clear + // Method begins at RVA 0x0 + } // end of method ConfigurationBase::get_PlatformName - // method line 271 - .method public hidebysig - instance default void Add (class NAnt.VSNet.Configuration key, class NAnt.VSNet.ConfigurationBase 'value') cil managed + // method line 379 + .method public hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_ExtraOutputFiles () cil managed { - // Method begins at RVA 0xa757 + // Method begins at RVA 0x5034 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_000e: ret - } // end of method ConfigurationDictionary::Add + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationBase::_extraOutputFiles + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 272 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed - { - // Method begins at RVA 0xa767 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Add due to (null) - // Code size 20 (0x14) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: ldarg.2 - IL_0009: castclass NAnt.VSNet.ConfigurationBase - IL_000e: call instance void class NAnt.VSNet.ConfigurationDictionary::Add(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) - IL_0013: ret - } // end of method ConfigurationDictionary::System.Collections.IDictionary.Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ConfigurationBase::get_ExtraOutputFiles - // method line 273 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsReadOnly () cil managed + // method line 380 + .method family hidebysig specialname + instance default class NAnt.VSNet.Tasks.SolutionTask get_SolutionTask () cil managed { - // Method begins at RVA 0xa77c + // Method begins at RVA 0x5050 // Code size 20 (0x14) .maxstack 1 .locals init ( - bool V_0) + class NAnt.VSNet.Tasks.SolutionTask V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsReadOnly() + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0007: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method ConfigurationDictionary::get_IsReadOnly + } // end of method ConfigurationBase::get_SolutionTask - // method line 274 - .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationBase get_Item (class NAnt.VSNet.Configuration key) cil managed + // method line 381 + .method public hidebysig + instance default string ExpandMacros (string s) cil managed { - // Method begins at RVA 0xa79c - // Code size 168 (0xa8) + // Method begins at RVA 0x5070 + // Code size 47 (0x2f) .maxstack 4 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0, - valuetype [mscorlib]System.Collections.DictionaryEntry V_1, - class [mscorlib]System.Collections.IDictionaryEnumerator V_2, - class NAnt.VSNet.Configuration V_3, - class [mscorlib]System.IDisposable V_4, - class NAnt.VSNet.ConfigurationBase V_5) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000d: castclass NAnt.VSNet.ConfigurationBase - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brtrue IL_009d - - IL_0019: nop - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0021: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0026: stloc.2 - .try { // 0 - IL_0027: br IL_0076 - - IL_002c: ldloc.2 - IL_002d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0032: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_0037: stloc.1 - IL_0038: nop - IL_0039: ldloca.s 1 - IL_003b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0040: castclass NAnt.VSNet.Configuration - IL_0045: stloc.3 - IL_0046: ldloc.3 - IL_0047: callvirt instance string class NAnt.VSNet.Configuration::get_Name() - IL_004c: ldarg.1 - IL_004d: callvirt instance string class NAnt.VSNet.Configuration::get_Name() - IL_0052: ldc.i4.1 - IL_0053: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0058: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_005d: brtrue IL_0075 - - IL_0062: nop - IL_0063: ldloca.s 1 - IL_0065: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_006a: castclass NAnt.VSNet.ConfigurationBase - IL_006f: stloc.0 - IL_0070: leave IL_0081 - - IL_0075: nop - IL_0076: ldloc.2 - IL_0077: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_007c: brtrue IL_002c - - IL_0081: leave IL_009c - - } // end .try 0 - finally { // 0 - IL_0086: ldloc.2 - IL_0087: isinst [mscorlib]System.IDisposable - IL_008c: dup - IL_008d: stloc.s 4 - IL_008f: brfalse IL_009b - - IL_0094: ldloc.s 4 - IL_0096: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009b: endfinally - } // end handler 0 - IL_009c: nop - IL_009d: ldloc.0 - IL_009e: stloc.s 5 - IL_00a0: br IL_00a5 - - IL_00a5: ldloc.s 5 - IL_00a7: ret - } // end of method ConfigurationDictionary::get_Item - - // method line 275 - .method public hidebysig specialname - instance default void set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.ConfigurationBase 'value') cil managed - { - // Method begins at RVA 0xa860 - // Code size 15 (0xf) - .maxstack 8 + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_000e: ret - } // end of method ConfigurationDictionary::set_Item + IL_0001: ldarg.1 + IL_0002: brtrue IL_000f - // method line 276 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionary.get_Item (object key) cil managed - { - // Method begins at RVA 0xa870 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::get_Item due to (null) - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0007: nop + IL_0008: ldarg.1 + IL_0009: stloc.0 + IL_000a: br IL_002d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationDictionary::System.Collections.IDictionary.get_Item + IL_000f: ldarg.0 + IL_0010: ldfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.ConfigurationBase::_rxMacro + IL_0015: ldarg.1 + IL_0016: ldarg.0 + IL_0017: ldftn instance string class NAnt.VSNet.ConfigurationBase::EvaluateMacro(class [System]System.Text.RegularExpressions.Match) + IL_001d: newobj instance void class [System]System.Text.RegularExpressions.MatchEvaluator::'.ctor'(object, native int) + IL_0022: callvirt instance string class [System]System.Text.RegularExpressions.Regex::Replace(string, class [System]System.Text.RegularExpressions.MatchEvaluator) + IL_0027: stloc.0 + IL_0028: br IL_002d - // method line 277 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed - { - // Method begins at RVA 0xa891 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::set_Item due to (null) - // Code size 20 (0x14) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: ldarg.2 - IL_0009: castclass NAnt.VSNet.ConfigurationBase - IL_000e: call instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) - IL_0013: ret - } // end of method ConfigurationDictionary::System.Collections.IDictionary.set_Item + IL_002d: ldloc.0 + IL_002e: ret + } // end of method ConfigurationBase::ExpandMacros - // method line 278 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed + // method line 382 + .method famorassem virtual hidebysig newslot + instance default string ExpandMacro (string macro) cil managed { - // Method begins at RVA 0xa8a8 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x50ac + // Code size 488 (0x1e8) + .maxstack 4 .locals init ( - class [mscorlib]System.Collections.ICollection V_0) + string V_0, + class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, + int32 V_2, + string V_3, + char V_4, + char V_5, + string V_6) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_000d: ldloc.0 + IL_000e: brfalse IL_018a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationDictionary::get_Values + IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.ConfigurationBase::'<>f__switch$map0' + IL_0018: brtrue IL_008a - // method line 279 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed - { - // Method begins at RVA 0xa8c8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ICollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_001d: ldc.i4.8 + IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) + IL_0023: stloc.1 + IL_0024: ldloc.1 + IL_0025: ldstr "outdir" + IL_002a: ldc.i4.0 + IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0030: ldloc.1 + IL_0031: ldstr "configurationname" + IL_0036: ldc.i4.1 + IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_003c: ldloc.1 + IL_003d: ldstr "targetname" + IL_0042: ldc.i4.2 + IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0048: ldloc.1 + IL_0049: ldstr "targetpath" + IL_004e: ldc.i4.3 + IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0054: ldloc.1 + IL_0055: ldstr "targetext" + IL_005a: ldc.i4.4 + IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0060: ldloc.1 + IL_0061: ldstr "targetfilename" + IL_0066: ldc.i4.5 + IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_006c: ldloc.1 + IL_006d: ldstr "targetdir" + IL_0072: ldc.i4.6 + IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0078: ldloc.1 + IL_0079: ldstr "platformname" + IL_007e: ldc.i4.7 + IL_007f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0084: ldloc.1 + IL_0085: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.ConfigurationBase::'<>f__switch$map0' + IL_008a: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.ConfigurationBase::'<>f__switch$map0' + IL_008f: ldloc.0 + IL_0090: ldloca.s 2 + IL_0092: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_0097: brfalse IL_018a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationDictionary::get_Keys + IL_009c: ldloc.2 + IL_009d: switch ( + IL_00c7, + IL_00d3, + IL_00df, + IL_00f5, + IL_0101, + IL_0112, + IL_0123, + IL_017e) + IL_00c2: br IL_018a - // method line 280 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsFixedSize () cil managed - { - // Method begins at RVA 0xa8e8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00c7: ldarg.0 + IL_00c8: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() + IL_00cd: stloc.3 + IL_00ce: br IL_01e6 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationDictionary::get_IsFixedSize + IL_00d3: ldarg.0 + IL_00d4: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_00d9: stloc.3 + IL_00da: br IL_01e6 - // method line 281 - .method private final virtual hidebysig newslot - instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed - { - // Method begins at RVA 0xa908 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method ConfigurationDictionary::System.Collections.ICollection.CopyTo + IL_00df: ldarg.0 + IL_00e0: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_00e5: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_00ea: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_00ef: stloc.3 + IL_00f0: br IL_01e6 - // method line 282 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsSynchronized () cil managed - { - // Method begins at RVA 0xa918 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsSynchronized() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00f5: ldarg.0 + IL_00f6: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_00fb: stloc.3 + IL_00fc: br IL_01e6 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationDictionary::get_IsSynchronized + IL_0101: ldarg.0 + IL_0102: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_0107: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_010c: stloc.3 + IL_010d: br IL_01e6 - // method line 283 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed - { - // Method begins at RVA 0xa938 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0112: ldarg.0 + IL_0113: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_0118: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_011d: stloc.3 + IL_011e: br IL_01e6 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationDictionary::get_Count + IL_0123: ldarg.0 + IL_0124: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0129: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_012e: ldarg.0 + IL_012f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0134: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0139: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_013e: stloc.s 4 + IL_0140: ldloca.s 4 + IL_0142: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0147: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_014c: callvirt instance bool string::EndsWith(string) + IL_0151: brfalse IL_0160 - // method line 284 - .method public final virtual hidebysig newslot specialname - instance default object get_SyncRoot () cil managed - { - // Method begins at RVA 0xa958 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0156: ldsfld string [mscorlib]System.String::Empty + IL_015b: br IL_0173 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationDictionary::get_SyncRoot + IL_0160: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0165: stloc.s 5 + IL_0167: ldloca.s 5 + IL_0169: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_016e: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_0173: call string string::Concat(string, string) + IL_0178: stloc.3 + IL_0179: br IL_01e6 - // method line 285 - .method public hidebysig - instance default bool ContainsKey (class NAnt.VSNet.Configuration key) cil managed - { - // Method begins at RVA 0xa978 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_017e: ldarg.0 + IL_017f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_PlatformName() + IL_0184: stloc.3 + IL_0185: br IL_01e6 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationDictionary::ContainsKey + IL_018a: ldarg.0 + IL_018b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0190: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0195: ldarg.1 + IL_0196: callvirt instance string class NAnt.VSNet.Tasks.SolutionTask::ExpandMacro(string) + IL_019b: stloc.s 6 + IL_019d: ldloc.s 6 + IL_019f: brfalse IL_01ad - // method line 286 - .method public hidebysig - instance default bool ContainsValue (class NAnt.VSNet.ConfigurationBase 'value') cil managed + IL_01a4: nop + IL_01a5: ldloc.s 6 + IL_01a7: stloc.3 + IL_01a8: br IL_01e6 + + IL_01ad: ldarg.0 + IL_01ae: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_01b3: ldarg.1 + IL_01b4: callvirt instance string class NAnt.VSNet.ProjectBase::ExpandMacro(string) + IL_01b9: stloc.s 6 + IL_01bb: ldloc.s 6 + IL_01bd: brfalse IL_01cb + + IL_01c2: nop + IL_01c3: ldloc.s 6 + IL_01c5: stloc.3 + IL_01c6: br IL_01e6 + + IL_01cb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01d0: ldstr "Macro \"{0}\" is not supported." + IL_01d5: ldarg.1 + IL_01d6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01db: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_01e0: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_01e5: throw + IL_01e6: ldloc.3 + IL_01e7: ret + } // end of method ConfigurationBase::ExpandMacro + + // method line 383 + .method private hidebysig + instance default string EvaluateMacro (class [System]System.Text.RegularExpressions.Match m) cil managed { - // Method begins at RVA 0xa99c - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x52a0 + // Code size 32 (0x20) + .maxstack 3 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsValue(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldarg.1 + IL_0003: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0008: ldc.i4.1 + IL_0009: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_000e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0013: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacro(string) + IL_0018: stloc.0 + IL_0019: br IL_001e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationDictionary::ContainsValue + IL_001e: ldloc.0 + IL_001f: ret + } // end of method ConfigurationBase::EvaluateMacro - .property instance object System.Collections.IDictionary.Item (object) + .property instance class NAnt.VSNet.ProjectBase Project () { - .get instance default object NAnt.VSNet.ConfigurationDictionary::System.Collections.IDictionary.get_Item (object key) - .set instance default void NAnt.VSNet.ConfigurationDictionary::System.Collections.IDictionary.set_Item (object key, object 'value') + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ConfigurationBase::get_Project () } - .property instance class [mscorlib]System.Collections.Hashtable InnerHash () + .property instance string Name () { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationDictionary::get_InnerHash () + .get instance default string NAnt.VSNet.ConfigurationBase::get_Name () } - .property instance bool IsReadOnly () + .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () { - .get instance default bool NAnt.VSNet.ConfigurationDictionary::get_IsReadOnly () + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationBase::get_ObjectDir () } - .property instance class NAnt.VSNet.ConfigurationBase Item (class NAnt.VSNet.Configuration) + .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () { - .get instance default class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionary::get_Item (class NAnt.VSNet.Configuration key) - .set instance default void NAnt.VSNet.ConfigurationDictionary::set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.ConfigurationBase 'value') + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationBase::get_OutputDir () } - .property instance class [mscorlib]System.Collections.ICollection Values () + .property instance string OutputPath () { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationDictionary::get_Values () + .get instance default string NAnt.VSNet.ConfigurationBase::get_OutputPath () } - .property instance class [mscorlib]System.Collections.ICollection Keys () + .property instance string BuildPath () { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationDictionary::get_Keys () + .get instance default string NAnt.VSNet.ConfigurationBase::get_BuildPath () } - .property instance bool IsFixedSize () + .property instance string RelativeOutputDir () { - .get instance default bool NAnt.VSNet.ConfigurationDictionary::get_IsFixedSize () + .get instance default string NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir () } - .property instance bool IsSynchronized () + .property instance string PlatformName () { - .get instance default bool NAnt.VSNet.ConfigurationDictionary::get_IsSynchronized () + .get instance default string NAnt.VSNet.ConfigurationBase::get_PlatformName () } - .property instance int32 Count () + .property instance class [mscorlib]System.Collections.Hashtable ExtraOutputFiles () { - .get instance default int32 NAnt.VSNet.ConfigurationDictionary::get_Count () + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles () } - .property instance object SyncRoot () + .property instance class NAnt.VSNet.Tasks.SolutionTask SolutionTask () { - .get instance default object NAnt.VSNet.ConfigurationDictionary::get_SyncRoot () + .get instance default class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ConfigurationBase::get_SolutionTask () } - } // end of class NAnt.VSNet.ConfigurationDictionary + } // end of class NAnt.VSNet.ConfigurationBase } .namespace NAnt.VSNet { - .class public auto ansi beforefieldinit ConfigurationDictionaryEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { - .field private initonly class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator + .class public auto ansi beforefieldinit VcProject + extends NAnt.VSNet.ProjectBase + { + .field private initonly string _name + .field private initonly string _projectPath + .field private string _guid + .field private initonly class [mscorlib]System.Collections.ArrayList _references + .field private initonly class NAnt.VSNet.VcArgumentMap _clArgMap + .field private initonly class NAnt.VSNet.VcArgumentMap _linkerArgMap + .field private initonly class NAnt.VSNet.VcArgumentMap _midlArgMap + .field private initonly class [mscorlib]System.Collections.ArrayList _projectFiles + .field private static string[] _defaultLibraries + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map1' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 287 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ConfigurationDictionary enumerable) cil managed - { - // Method begins at RVA 0xa9bd - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationDictionary::get_InnerHash() - IL_000e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0013: stfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator - IL_0018: ret - } // end of method ConfigurationDictionaryEnumerator::.ctor - // method line 288 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_Key () cil managed + // method line 384 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0xa9d8 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0xc350 + // Code size 1034 (0x40a) + .maxstack 7 .locals init ( - class NAnt.VSNet.Configuration V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() - IL_000c: castclass NAnt.VSNet.Configuration - IL_0011: stloc.0 - IL_0012: br IL_0017 + class [System.Xml]System.Xml.XmlNodeList V_0, + class [System.Xml]System.Xml.XmlElement V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class NAnt.VSNet.VcProjectConfiguration V_3, + class [mscorlib]System.IDisposable V_4, + class [System.Xml]System.Xml.XmlNodeList V_5, + class [System.Xml]System.Xml.XmlElement V_6, + class [mscorlib]System.Collections.IEnumerator V_7, + class NAnt.VSNet.ReferenceBase V_8, + class [mscorlib]System.IDisposable V_9, + class [System.Xml]System.Xml.XmlNodeList V_10, + class [System.Xml]System.Xml.XmlElement V_11, + class [mscorlib]System.Collections.IEnumerator V_12, + string V_13, + class [System.Xml]System.Xml.XmlNode V_14, + string V_15, + class [mscorlib]System.Collections.Hashtable V_16, + class [System.Xml]System.Xml.XmlNodeList V_17, + class [System.Xml]System.Xml.XmlElement V_18, + class [mscorlib]System.Collections.IEnumerator V_19, + class NAnt.VSNet.Configuration V_20, + class NAnt.VSNet.VcProjectConfiguration V_21, + class [mscorlib]System.IDisposable V_22, + string V_23, + class NAnt.VSNet.VcProjectConfiguration V_24, + class [mscorlib]System.Collections.IEnumerator V_25, + class [mscorlib]System.IDisposable V_26, + class [mscorlib]System.IDisposable V_27) + IL_0000: ldarg.0 + IL_0001: ldarg.3 + IL_0002: ldarg.s 4 + IL_0004: ldarg.s 5 + IL_0006: ldarg.s 6 + IL_0008: ldarg.s 7 + IL_000a: ldarg.s 8 + IL_000c: call instance void class NAnt.VSNet.ProjectBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0011: nop + IL_0012: ldarg.2 + IL_0013: brtrue IL_0024 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ConfigurationDictionaryEnumerator::get_Key + IL_0018: nop + IL_0019: ldstr "projectPath" + IL_001e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0023: throw + IL_0024: ldarg.0 + IL_0025: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_002a: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references + IL_002f: ldarg.0 + IL_0030: call class NAnt.VSNet.VcArgumentMap class NAnt.VSNet.VcArgumentMap::CreateCLArgumentMap() + IL_0035: stfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_clArgMap + IL_003a: ldarg.0 + IL_003b: call class NAnt.VSNet.VcArgumentMap class NAnt.VSNet.VcArgumentMap::CreateLinkerArgumentMap() + IL_0040: stfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_linkerArgMap + IL_0045: ldarg.0 + IL_0046: call class NAnt.VSNet.VcArgumentMap class NAnt.VSNet.VcArgumentMap::CreateMidlArgumentMap() + IL_004b: stfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_midlArgMap + IL_0050: ldarg.0 + IL_0051: ldarg.2 + IL_0052: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_0057: stfld string NAnt.VSNet.VcProject::_projectPath + IL_005c: ldarg.0 + IL_005d: ldarg.3 + IL_005e: ldstr "Name" + IL_0063: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0068: stfld string NAnt.VSNet.VcProject::_name + IL_006d: ldarg.0 + IL_006e: ldarg.3 + IL_006f: ldstr "ProjectGUID" + IL_0074: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0079: stfld string NAnt.VSNet.VcProject::_guid + IL_007e: ldarg.3 + IL_007f: ldstr "//Configurations/Configuration" + IL_0084: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0089: stloc.0 + IL_008a: nop + IL_008b: ldloc.0 + IL_008c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0091: stloc.2 + .try { // 0 + IL_0092: br IL_00d0 - // method line 289 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed - { - // Method begins at RVA 0xaa00 - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0097: ldloc.2 + IL_0098: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_009d: castclass [System.Xml]System.Xml.XmlElement + IL_00a2: stloc.1 + IL_00a3: nop + IL_00a4: ldloc.1 + IL_00a5: ldarg.0 + IL_00a6: ldarg.0 + IL_00a7: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() + IL_00ac: newobj instance void class NAnt.VSNet.VcProjectConfiguration::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.VcProject, class [mscorlib]System.IO.DirectoryInfo) + IL_00b1: stloc.3 + IL_00b2: ldarg.0 + IL_00b3: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() + IL_00b8: ldloc.3 + IL_00b9: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_00be: ldloc.3 + IL_00bf: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_PlatformName() + IL_00c4: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) + IL_00c9: ldloc.3 + IL_00ca: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) + IL_00cf: nop + IL_00d0: ldloc.2 + IL_00d1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00d6: brtrue IL_0097 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key + IL_00db: leave IL_00f6 - // method line 290 - .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationBase get_Value () cil managed + } // end .try 0 + finally { // 0 + IL_00e0: ldloc.2 + IL_00e1: isinst [mscorlib]System.IDisposable + IL_00e6: dup + IL_00e7: stloc.s 4 + IL_00e9: brfalse IL_00f5 + + IL_00ee: ldloc.s 4 + IL_00f0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f5: endfinally + } // end handler 0 + IL_00f6: ldarg.3 + IL_00f7: ldstr "//References/child::*" + IL_00fc: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0101: stloc.s 5 + IL_0103: nop + IL_0104: ldloc.s 5 + IL_0106: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_010b: stloc.s 7 + .try { // 1 + IL_010d: br IL_013b + + IL_0112: ldloc.s 7 + IL_0114: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0119: castclass [System.Xml]System.Xml.XmlElement + IL_011e: stloc.s 6 + IL_0120: nop + IL_0121: ldarg.0 + IL_0122: ldarg.1 + IL_0123: ldloc.s 6 + IL_0125: callvirt instance class NAnt.VSNet.ReferenceBase class NAnt.VSNet.VcProject::CreateReference(class NAnt.VSNet.SolutionBase, class [System.Xml]System.Xml.XmlElement) + IL_012a: stloc.s 8 + IL_012c: ldarg.0 + IL_012d: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references + IL_0132: ldloc.s 8 + IL_0134: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0139: pop + IL_013a: nop + IL_013b: ldloc.s 7 + IL_013d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0142: brtrue IL_0112 + + IL_0147: leave IL_0163 + + } // end .try 1 + finally { // 1 + IL_014c: ldloc.s 7 + IL_014e: isinst [mscorlib]System.IDisposable + IL_0153: dup + IL_0154: stloc.s 9 + IL_0156: brfalse IL_0162 + + IL_015b: ldloc.s 9 + IL_015d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0162: endfinally + } // end handler 1 + IL_0163: ldarg.3 + IL_0164: ldstr "//File" + IL_0169: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_016e: stloc.s 10 + IL_0170: ldarg.0 + IL_0171: ldloc.s 10 + IL_0173: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0178: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_017d: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles + IL_0182: nop + IL_0183: ldloc.s 10 + IL_0185: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_018a: stloc.s 12 + .try { // 4 + IL_018c: br IL_03e1 + + IL_0191: ldloc.s 12 + IL_0193: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0198: castclass [System.Xml]System.Xml.XmlElement + IL_019d: stloc.s 11 + IL_019f: nop + IL_01a0: ldarg.0 + IL_01a1: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_01a6: stloc.s 13 + IL_01a8: ldloc.s 11 + IL_01aa: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_ParentNode() + IL_01af: brfalse IL_01fb + + IL_01b4: ldloc.s 11 + IL_01b6: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_ParentNode() + IL_01bb: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_01c0: ldstr "Filter" + IL_01c5: call bool string::op_Equality(string, string) + IL_01ca: brfalse IL_01fb + + IL_01cf: nop + IL_01d0: ldloc.s 11 + IL_01d2: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_ParentNode() + IL_01d7: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_01dc: ldstr "Name" + IL_01e1: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) + IL_01e6: stloc.s 14 + IL_01e8: ldloc.s 14 + IL_01ea: brfalse IL_01fa + + IL_01ef: nop + IL_01f0: ldloc.s 14 + IL_01f2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_01f7: stloc.s 13 + IL_01f9: nop + IL_01fa: nop + IL_01fb: ldloc.s 11 + IL_01fd: ldstr "RelativePath" + IL_0202: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0207: stloc.s 15 + IL_0209: ldnull + IL_020a: stloc.s 16 + IL_020c: ldloc.s 11 + IL_020e: ldstr "FileConfiguration" + IL_0213: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlElement::GetElementsByTagName(string) + IL_0218: stloc.s 17 + IL_021a: ldloc.s 17 + IL_021c: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_0221: ldc.i4.0 + IL_0222: ble IL_02c2 + + IL_0227: nop + IL_0228: ldloc.s 17 + IL_022a: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_022f: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) + IL_0234: stloc.s 16 + IL_0236: nop + IL_0237: ldloc.s 17 + IL_0239: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_023e: stloc.s 19 + .try { // 2 + IL_0240: br IL_0299 + + IL_0245: ldloc.s 19 + IL_0247: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_024c: castclass [System.Xml]System.Xml.XmlElement + IL_0251: stloc.s 18 + IL_0253: nop + IL_0254: ldloc.s 18 + IL_0256: ldstr "Name" + IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0260: call class NAnt.VSNet.Configuration class NAnt.VSNet.Configuration::Parse(string) + IL_0265: stloc.s 20 + IL_0267: ldarg.0 + IL_0268: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() + IL_026d: ldloc.s 20 + IL_026f: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0274: castclass NAnt.VSNet.VcProjectConfiguration + IL_0279: stloc.s 21 + IL_027b: ldloc.s 16 + IL_027d: ldloc.s 21 + IL_027f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_0284: ldloc.s 15 + IL_0286: ldloc.s 13 + IL_0288: ldloc.s 18 + IL_028a: ldloc.s 21 + IL_028c: ldarg.s 8 + IL_028e: newobj instance void class NAnt.VSNet.VcFileConfiguration::'.ctor'(string, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.VcProjectConfiguration, class [mscorlib]System.IO.DirectoryInfo) + IL_0293: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0298: nop + IL_0299: ldloc.s 19 + IL_029b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02a0: brtrue IL_0245 + + IL_02a5: leave IL_02c1 + + } // end .try 2 + finally { // 2 + IL_02aa: ldloc.s 19 + IL_02ac: isinst [mscorlib]System.IDisposable + IL_02b1: dup + IL_02b2: stloc.s 22 + IL_02b4: brfalse IL_02c0 + + IL_02b9: ldloc.s 22 + IL_02bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02c0: endfinally + } // end handler 2 + IL_02c1: nop + IL_02c2: ldloc.s 15 + IL_02c4: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_02c9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02ce: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_02d3: stloc.s 23 + IL_02d5: ldloc.s 23 + IL_02d7: brfalse IL_03b4 + + IL_02dc: ldloc.s 23 + IL_02de: ldstr ".idl" + IL_02e3: call bool string::op_Equality(string, string) + IL_02e8: brtrue IL_0314 + + IL_02ed: ldloc.s 23 + IL_02ef: ldstr ".odl" + IL_02f4: call bool string::op_Equality(string, string) + IL_02f9: brtrue IL_0314 + + IL_02fe: ldloc.s 23 + IL_0300: ldstr ".rc" + IL_0305: call bool string::op_Equality(string, string) + IL_030a: brtrue IL_0314 + + IL_030f: br IL_03b4 + + IL_0314: nop + IL_0315: ldarg.0 + IL_0316: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() + IL_031b: callvirt instance class [mscorlib]System.Collections.ICollection class NAnt.VSNet.ConfigurationDictionary::get_Values() + IL_0320: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0325: stloc.s 25 + .try { // 3 + IL_0327: br IL_0387 + + IL_032c: ldloc.s 25 + IL_032e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0333: castclass NAnt.VSNet.VcProjectConfiguration + IL_0338: stloc.s 24 + IL_033a: nop + IL_033b: ldloc.s 16 + IL_033d: brfalse IL_035b + + IL_0342: ldloc.s 16 + IL_0344: ldloc.s 24 + IL_0346: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_034b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0350: brfalse IL_035b + + IL_0355: nop + IL_0356: leave IL_0387 + + IL_035b: ldloc.s 16 + IL_035d: brtrue IL_036b + + IL_0362: nop + IL_0363: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0368: stloc.s 16 + IL_036a: nop + IL_036b: ldloc.s 16 + IL_036d: ldloc.s 24 + IL_036f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_0374: ldloc.s 15 + IL_0376: ldloc.s 13 + IL_0378: ldloc.s 24 + IL_037a: ldarg.s 8 + IL_037c: newobj instance void class NAnt.VSNet.VcFileConfiguration::'.ctor'(string, string, class NAnt.VSNet.VcProjectConfiguration, class [mscorlib]System.IO.DirectoryInfo) + IL_0381: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0386: nop + IL_0387: ldloc.s 25 + IL_0389: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_038e: brtrue IL_032c + + IL_0393: leave IL_03af + + } // end .try 3 + finally { // 3 + IL_0398: ldloc.s 25 + IL_039a: isinst [mscorlib]System.IDisposable + IL_039f: dup + IL_03a0: stloc.s 26 + IL_03a2: brfalse IL_03ae + + IL_03a7: ldloc.s 26 + IL_03a9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_03ae: endfinally + } // end handler 3 + IL_03af: leave IL_03b4 + + IL_03b4: ldloc.s 16 + IL_03b6: brfalse IL_03d0 + + IL_03bb: nop + IL_03bc: ldarg.0 + IL_03bd: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles + IL_03c2: ldloc.s 16 + IL_03c4: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_03c9: pop + IL_03ca: nop + IL_03cb: br IL_03e0 + + IL_03d0: nop + IL_03d1: ldarg.0 + IL_03d2: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles + IL_03d7: ldloc.s 15 + IL_03d9: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_03de: pop + IL_03df: nop + IL_03e0: nop + IL_03e1: ldloc.s 12 + IL_03e3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_03e8: brtrue IL_0191 + + IL_03ed: leave IL_0409 + + } // end .try 4 + finally { // 4 + IL_03f2: ldloc.s 12 + IL_03f4: isinst [mscorlib]System.IDisposable + IL_03f9: dup + IL_03fa: stloc.s 27 + IL_03fc: brfalse IL_0408 + + IL_0401: ldloc.s 27 + IL_0403: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0408: endfinally + } // end handler 4 + IL_0409: ret + } // end of method VcProject::.ctor + + // method line 385 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0xaa1c - // Code size 25 (0x19) + // Method begins at RVA 0xc7e4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value() - IL_000c: castclass NAnt.VSNet.ConfigurationBase - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld string NAnt.VSNet.VcProject::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ConfigurationDictionaryEnumerator::get_Value + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProject::get_Name - // method line 291 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed + // method line 386 + .method public virtual hidebysig specialname + instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed { - // Method begins at RVA 0xaa44 - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value due to (null) + // Method begins at RVA 0xc800 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + valuetype NAnt.VSNet.ProjectType V_0) + IL_0000: nop + IL_0001: ldc.i4.2 + IL_0002: stloc.0 + IL_0003: br IL_0008 + + IL_0008: ldloc.0 + IL_0009: ret + } // end of method VcProject::get_Type + + // method line 387 + .method public virtual hidebysig specialname + instance default string get_ProjectPath () cil managed + { + // Method begins at RVA 0xc818 // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value() + IL_0002: ldfld string NAnt.VSNet.VcProject::_projectPath IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value + } // end of method VcProject::get_ProjectPath - // method line 292 - .method public final virtual hidebysig newslot specialname - instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed + // method line 388 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ProjectDirectory () cil managed { - // Method begins at RVA 0xaa60 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xc834 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - valuetype [mscorlib]System.Collections.DictionaryEntry V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key() - IL_0007: ldarg.0 - IL_0008: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value() - IL_000d: newobj instance void valuetype [mscorlib]System.Collections.DictionaryEntry::'.ctor'(object, object) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld string NAnt.VSNet.VcProject::_projectPath + IL_0007: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_000c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ConfigurationDictionaryEnumerator::get_Entry + IL_0017: ldloc.0 + IL_0018: ret + } // end of method VcProject::get_ProjectDirectory - // method line 293 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed + // method line 389 + .method public virtual hidebysig specialname + instance default valuetype NAnt.VSNet.ProjectLocation get_ProjectLocation () cil managed { - // Method begins at RVA 0xaa86 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0xc85c + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + valuetype NAnt.VSNet.ProjectLocation V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ConfigurationDictionaryEnumerator::Reset + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - // method line 294 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + IL_0008: ldloc.0 + IL_0009: ret + } // end of method VcProject::get_ProjectLocation + + // method line 390 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed { - // Method begins at RVA 0xaa94 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xc874 + // Code size 35 (0x23) + .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationDictionaryEnumerator::_innerEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: ldstr "temp" + IL_0011: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0016: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationDictionaryEnumerator::MoveNext + IL_0021: ldloc.0 + IL_0022: ret + } // end of method VcProject::get_ObjectDir - // method line 295 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 391 + .method public virtual hidebysig specialname + instance default string get_Guid () cil managed { - // Method begins at RVA 0xaab4 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Method begins at RVA 0xc8a4 // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionaryEntry class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Current() + IL_0002: ldfld string NAnt.VSNet.VcProject::_guid IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConfigurationDictionaryEnumerator::System.Collections.IEnumerator.get_Current + } // end of method VcProject::get_Guid - // method line 296 - .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationDictionaryEntry get_Current () cil managed + // method line 392 + .method public virtual hidebysig specialname + instance default void set_Guid (string 'value') cil managed { - // Method begins at RVA 0xaad0 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xc8bf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.VSNet.VcProject::_guid + IL_0008: ret + } // end of method VcProject::set_Guid + + // method line 393 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_References () cil managed + { + // Method begins at RVA 0xc8cc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.VSNet.ConfigurationDictionaryEntry V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key() - IL_0007: ldarg.0 - IL_0008: call instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value() - IL_000d: newobj instance void class NAnt.VSNet.ConfigurationDictionaryEntry::'.ctor'(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ConfigurationDictionaryEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProject::get_References - .property instance object System.Collections.IDictionaryEnumerator.Key () - { - .get instance default object NAnt.VSNet.ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key () - } - .property instance object System.Collections.IDictionaryEnumerator.Value () - { - .get instance default object NAnt.VSNet.ConfigurationDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.VSNet.ConfigurationDictionaryEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.VSNet.Configuration Key () - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Key () - } - .property instance class NAnt.VSNet.ConfigurationBase Value () - { - .get instance default class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Value () - } - .property instance valuetype [mscorlib]System.Collections.DictionaryEntry Entry () - { - .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Entry () - } - .property instance class NAnt.VSNet.ConfigurationDictionaryEntry Current () - { - .get instance default class NAnt.VSNet.ConfigurationDictionaryEntry NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Current () - } - } // end of class NAnt.VSNet.ConfigurationDictionaryEnumerator -} - -.namespace NAnt.VSNet -{ - .class public auto ansi sealed beforefieldinit ConfigurationDictionaryEntry - extends [mscorlib]System.Object - { - .field private initonly class NAnt.VSNet.Configuration _name - .field private initonly class NAnt.VSNet.ConfigurationBase _config - - // method line 297 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Configuration name, class NAnt.VSNet.ConfigurationBase config) cil managed - { - // Method begins at RVA 0xaaf6 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEntry::_name - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEntry::_config - IL_0015: ret - } // end of method ConfigurationDictionaryEntry::.ctor - - // method line 298 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_Name () cil managed + // method line 394 + .method public virtual hidebysig + instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project, bool isPrivateSpecified, bool isPrivate) cil managed { - // Method begins at RVA 0xab10 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc8e8 + // Code size 18 (0x12) + .maxstack 4 .locals init ( - class NAnt.VSNet.Configuration V_0) + class NAnt.VSNet.ProjectReferenceBase V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEntry::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: ldarg.2 + IL_0004: ldarg.3 + IL_0005: newobj instance void class NAnt.VSNet.VcProjectReference::'.ctor'(class NAnt.VSNet.ProjectBase, class NAnt.VSNet.ProjectBase, bool, bool) + IL_000a: stloc.0 + IL_000b: br IL_0010 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationDictionaryEntry::get_Name + IL_0010: ldloc.0 + IL_0011: ret + } // end of method VcProject::CreateProjectReference - // method line 299 - .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationBase get_Config () cil managed + // method line 395 + .method public virtual hidebysig + instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xab2c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc908 + // Code size 60 (0x3c) + .maxstack 2 .locals init ( - class NAnt.VSNet.ConfigurationBase V_0) + class NAnt.VSNet.VcProjectConfiguration V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEntry::_config - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationDictionaryEntry::get_Config - - .property instance class NAnt.VSNet.Configuration Name () - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationDictionaryEntry::get_Name () - } - .property instance class NAnt.VSNet.ConfigurationBase Config () - { - .get instance default class NAnt.VSNet.ConfigurationBase NAnt.VSNet.ConfigurationDictionaryEntry::get_Config () - } - } // end of class NAnt.VSNet.ConfigurationDictionaryEntry -} - -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit VBProject - extends NAnt.VSNet.ManagedProjectBase - { - .field private initonly class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection _imports - - // method line 300 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xab48 - // Code size 171 (0xab) - .maxstack 9 - .locals init ( - class [System.Xml]System.Xml.XmlNodeList V_0, - class [System.Xml]System.Xml.XmlElement V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [System.Xml]System.Xml.XmlAttribute V_3, - string V_4, - class [mscorlib]System.IDisposable V_5) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: ldarg.s 6 - IL_000a: ldarg.s 7 - IL_000c: ldarg.s 8 - IL_000e: call instance void class NAnt.VSNet.ManagedProjectBase::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() - IL_001a: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports - IL_001f: ldarg.3 - IL_0020: ldstr "//Imports/Import" - IL_0025: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_002a: stloc.0 - IL_002b: nop - IL_002c: ldloc.0 - IL_002d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0032: stloc.2 - .try { // 0 - IL_0033: br IL_0084 - - IL_0038: ldloc.2 - IL_0039: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_003e: castclass [System.Xml]System.Xml.XmlElement - IL_0043: stloc.1 - IL_0044: nop - IL_0045: ldloc.1 - IL_0046: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_004b: ldstr "Namespace" - IL_0050: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0055: stloc.3 - IL_0056: ldloc.3 - IL_0057: brfalse IL_0083 - - IL_005c: nop - IL_005d: ldloc.3 - IL_005e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0063: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0068: callvirt instance string string::ToString(class [mscorlib]System.IFormatProvider) - IL_006d: stloc.s 4 - IL_006f: ldarg.0 - IL_0070: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports - IL_0075: ldloc.s 4 - IL_0077: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImport::'.ctor'(string) - IL_007c: callvirt instance int32 class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection::Add(class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImport) - IL_0081: pop - IL_0082: nop - IL_0083: nop - IL_0084: ldloc.2 - IL_0085: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_008a: brtrue IL_0038 - - IL_008f: leave IL_00aa - - } // end .try 0 - finally { // 0 - IL_0094: ldloc.2 - IL_0095: isinst [mscorlib]System.IDisposable - IL_009a: dup - IL_009b: stloc.s 5 - IL_009d: brfalse IL_00a9 - - IL_00a2: ldloc.s 5 - IL_00a4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00a9: endfinally - } // end handler 0 - IL_00aa: ret - } // end of method VBProject::.ctor + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: castclass NAnt.VSNet.VcProjectConfiguration + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_0019: ldc.i4.2 + IL_001a: beq IL_002b - // method line 301 - .method family virtual hidebysig - instance default void WriteProjectOptions (class [mscorlib]System.IO.StreamWriter sw) cil managed - { - // Method begins at RVA 0xac10 - // Code size 43 (0x2b) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports - IL_0007: callvirt instance int32 class [NAnt.DotNetTasks]NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() - IL_000c: ldc.i4.0 - IL_000d: ble IL_002a + IL_001f: ldloc.0 + IL_0020: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_0025: ldc.i4.1 + IL_0026: bne.un IL_0033 - IL_0012: nop - IL_0013: ldarg.1 - IL_0014: ldstr "/imports:{0}" - IL_0019: ldarg.0 - IL_001a: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports - IL_001f: callvirt instance string object::ToString() - IL_0024: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0029: nop - IL_002a: ret - } // end of method VBProject::WriteProjectOptions + IL_002b: ldloc.0 + IL_002c: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_ManagedExtensions() + IL_0031: br.s IL_0034 - // method line 302 - .method public virtual hidebysig specialname - instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed - { - // Method begins at RVA 0xac3c - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProjectType V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0033: ldc.i4.0 + IL_0034: stloc.1 + IL_0035: br IL_003a - IL_0008: ldloc.0 - IL_0009: ret - } // end of method VBProject::get_Type + IL_003a: ldloc.1 + IL_003b: ret + } // end of method VcProject::IsManaged - // method line 303 + // method line 396 .method family virtual hidebysig instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0xac52 + // Method begins at RVA 0xc950 // Code size 46 (0x2e) .maxstack 8 IL_0000: nop IL_0001: ldarg.1 - IL_0002: call bool class NAnt.VSNet.VBProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_0002: call bool class NAnt.VSNet.VcProject::IsSupported(class [System.Xml]System.Xml.XmlElement) IL_0007: brtrue IL_002d IL_000c: nop IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0012: ldstr "Project '{0}' is not a valid VB.NET project." + IL_0012: ldstr "Project '{0}' is not a valid Visual C++ project." IL_0017: ldarg.0 IL_0018: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) @@ -14080,23269 +14243,23106 @@ IL_0027: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) IL_002c: throw IL_002d: ret - } // end of method VBProject::VerifyProjectXml + } // end of method VcProject::VerifyProjectXml - // method line 304 + // method line 397 .method family virtual hidebysig instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0xac84 - // Code size 43 (0x2b) - .maxstack 2 - .locals init ( - valuetype NAnt.VSNet.ProductVersion V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "docElement" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: ldstr "./VisualBasic" - IL_0019: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_001e: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) - IL_0023: stloc.0 - IL_0024: br IL_0029 - - IL_0029: ldloc.0 - IL_002a: ret - } // end of method VBProject::DetermineProductVersion - - // method line 305 - .method family virtual hidebysig specialname - instance default string get_FileExtension () cil managed - { - // Method begins at RVA 0xacbc - // Code size 14 (0xe) + // Method begins at RVA 0xc980 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr ".vb" - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method VBProject::get_FileExtension - - // method line 306 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0xacd8 - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - valuetype NAnt.VSNet.ProjectLocation V_0) + valuetype NAnt.VSNet.ProductVersion V_0) IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldstr "./VisualBasic" - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_000c: call valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::GetProjectLocation(class [System.Xml]System.Xml.XmlNode) - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.VcProject::GetProductVersion(class [System.Xml]System.Xml.XmlElement) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method VBProject::DetermineProjectLocation + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProject::DetermineProductVersion - // method line 307 + // method line 398 .method family virtual hidebysig - instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed + instance default valuetype NAnt.VSNet.BuildResult Build (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xad00 - // Code size 132 (0x84) + // Method begins at RVA 0xc99c + // Code size 969 (0x3c9) .maxstack 4 .locals init ( - class [System]System.Diagnostics.ProcessStartInfo V_0, - class [System]System.Diagnostics.ProcessStartInfo V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0011: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_0016: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001b: ldstr "vbc.exe" - IL_0020: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0025: ldstr "@\"" - IL_002a: ldarg.2 - IL_002b: ldstr "\"" - IL_0030: call string string::Concat(string, string, string) - IL_0035: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string, string) - IL_003a: stloc.0 - IL_003b: ldarg.0 - IL_003c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0041: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0046: brfalse IL_0068 - - IL_004b: nop - IL_004c: ldloc.0 - IL_004d: ldarg.0 - IL_004e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0058: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_005d: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_0062: nop - IL_0063: br IL_007b - - IL_0068: nop - IL_0069: ldloc.0 - IL_006a: ldarg.0 - IL_006b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0070: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0075: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_007a: nop - IL_007b: ldloc.0 - IL_007c: stloc.1 - IL_007d: br IL_0082 - - IL_0082: ldloc.1 - IL_0083: ret - } // end of method VBProject::GetProcessStartInfo - - // method line 308 - .method public static hidebysig - default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0xad90 - // Code size 102 (0x66) - .maxstack 2 - .locals init ( - bool V_0, - class [System.Xml]System.Xml.XmlNode V_1) + class NAnt.VSNet.VcProjectConfiguration V_0, + valuetype NAnt.VSNet.BuildResult V_1, + string V_2, + class NAnt.VSNet.VcConfigurationBase V_3, + class NAnt.VSNet.VcConfigurationBase V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class NAnt.VSNet.VcConfigurationBase V_7, + class [mscorlib]System.Collections.IEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + class NAnt.VSNet.VcConfigurationBase V_10, + class [mscorlib]System.Collections.IEnumerator V_11, + class [mscorlib]System.IDisposable V_12, + class NAnt.VSNet.VcConfigurationBase V_13, + class [mscorlib]System.Collections.IEnumerator V_14, + class [mscorlib]System.IDisposable V_15, + valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_16, + class NAnt.VSNet.ReferenceBase V_17, + class [mscorlib]System.Collections.IEnumerator V_18, + class [mscorlib]System.Collections.Hashtable V_19, + valuetype [mscorlib]System.Collections.DictionaryEntry V_20, + class [mscorlib]System.Collections.IDictionaryEnumerator V_21, + class [mscorlib]System.IO.FileInfo V_22, + class [mscorlib]System.IO.FileInfo V_23, + class [mscorlib]System.IDisposable V_24, + class [mscorlib]System.IDisposable V_25) IL_0000: nop IL_0001: ldarg.0 - IL_0002: brtrue IL_000f + IL_0002: ldarg.1 + IL_0003: callvirt instance void class NAnt.VSNet.ProjectBase::Prepare(class NAnt.VSNet.Configuration) + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_000e: ldarg.1 + IL_000f: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0014: castclass NAnt.VSNet.VcProjectConfiguration + IL_0019: stloc.0 + IL_001a: ldarg.0 + IL_001b: ldloc.0 + IL_001c: call instance bool class NAnt.VSNet.VcProject::PreBuild(class NAnt.VSNet.VcProjectConfiguration) + IL_0021: brtrue IL_002e - IL_0007: nop - IL_0008: ldc.i4.0 - IL_0009: stloc.0 - IL_000a: br IL_0064 + IL_0026: nop + IL_0027: ldc.i4.0 + IL_0028: stloc.1 + IL_0029: br IL_03c7 - IL_000f: ldarg.0 - IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0015: ldstr "VisualStudioProject" - IL_001a: call bool string::op_Inequality(string, string) - IL_001f: brfalse IL_002c + IL_002e: ldloc.0 + IL_002f: ldstr "VCNMakeTool" + IL_0034: ldstr "BuildCommandLine" + IL_0039: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_003e: stloc.2 + IL_003f: ldloc.2 + IL_0040: call bool string::IsNullOrEmpty(string) + IL_0045: brtrue IL_0059 - IL_0024: nop - IL_0025: ldc.i4.0 - IL_0026: stloc.0 - IL_0027: br IL_0064 + IL_004a: nop + IL_004b: ldarg.0 + IL_004c: ldloc.2 + IL_004d: call instance void class NAnt.VSNet.VcProject::RunNMake(string) + IL_0052: ldc.i4.1 + IL_0053: stloc.1 + IL_0054: br IL_03c7 - IL_002c: ldarg.0 - IL_002d: ldstr "./VisualBasic" - IL_0032: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0037: stloc.1 - IL_0038: ldloc.1 - IL_0039: brtrue IL_0046 + IL_0059: ldnull + IL_005a: stloc.3 + IL_005b: nop + IL_005c: ldloc.0 + IL_005d: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_IdlConfigs() + IL_0062: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_0067: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_006c: stloc.s 5 + .try { // 0 + IL_006e: br IL_009e - IL_003e: nop - IL_003f: ldc.i4.0 - IL_0040: stloc.0 - IL_0041: br IL_0064 + IL_0073: ldloc.s 5 + IL_0075: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_007a: castclass NAnt.VSNet.VcConfigurationBase + IL_007f: stloc.s 4 + IL_0081: nop + IL_0082: ldarg.0 + IL_0083: ldloc.0 + IL_0084: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_IdlConfigs() + IL_0089: ldloc.s 4 + IL_008b: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0090: castclass [mscorlib]System.Collections.ArrayList + IL_0095: ldloc.0 + IL_0096: ldloc.s 4 + IL_0098: call instance void class NAnt.VSNet.VcProject::BuildIDLFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase) + IL_009d: nop + IL_009e: ldloc.s 5 + IL_00a0: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00a5: brtrue IL_0073 - .try { // 0 - IL_0046: nop - IL_0047: ldloc.1 - IL_0048: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) - IL_004d: pop - IL_004e: nop - IL_004f: leave IL_005d + IL_00aa: leave IL_00c6 } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0054: pop - IL_0055: nop - IL_0056: ldc.i4.0 - IL_0057: stloc.0 - IL_0058: leave IL_0064 + finally { // 0 + IL_00af: ldloc.s 5 + IL_00b1: isinst [mscorlib]System.IDisposable + IL_00b6: dup + IL_00b7: stloc.s 6 + IL_00b9: brfalse IL_00c5 + IL_00be: ldloc.s 6 + IL_00c0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c5: endfinally } // end handler 0 - IL_005d: ldc.i4.1 - IL_005e: stloc.0 - IL_005f: br IL_0064 + IL_00c6: nop + IL_00c7: ldloc.0 + IL_00c8: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() + IL_00cd: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_00d2: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_00d7: stloc.s 8 + .try { // 1 + IL_00d9: br IL_011b - IL_0064: ldloc.0 - IL_0065: ret - } // end of method VBProject::IsSupported + IL_00de: ldloc.s 8 + IL_00e0: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00e5: castclass NAnt.VSNet.VcConfigurationBase + IL_00ea: stloc.s 7 + IL_00ec: nop + IL_00ed: ldloc.s 7 + IL_00ef: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() + IL_00f4: ldc.i4.1 + IL_00f5: bne.un IL_011a - .property instance valuetype NAnt.VSNet.ProjectType Type () - { - .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.VBProject::get_Type () - } - .property instance string FileExtension () - { - .get instance default string NAnt.VSNet.VBProject::get_FileExtension () - } - } // end of class NAnt.VSNet.VBProject -} + IL_00fa: nop + IL_00fb: ldarg.0 + IL_00fc: ldloc.0 + IL_00fd: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() + IL_0102: ldloc.s 7 + IL_0104: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0109: castclass [mscorlib]System.Collections.ArrayList + IL_010e: ldarg.1 + IL_010f: ldloc.s 7 + IL_0111: call instance void class NAnt.VSNet.VcProject::BuildCPPFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.Configuration, class NAnt.VSNet.VcConfigurationBase) + IL_0116: ldloc.s 7 + IL_0118: stloc.3 + IL_0119: nop + IL_011a: nop + IL_011b: ldloc.s 8 + IL_011d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0122: brtrue IL_00de -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit WebDavClient - extends [mscorlib]System.Object - { - .field private string _webProjectBaseUrl + IL_0127: leave IL_0143 - // method line 309 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System]System.Uri uriBase) cil managed - { - // Method begins at RVA 0xae14 - // Code size 20 (0x14) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance string object::ToString() - IL_000e: stfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl - IL_0013: ret - } // end of method WebDavClient::.ctor + } // end .try 1 + finally { // 1 + IL_012c: ldloc.s 8 + IL_012e: isinst [mscorlib]System.IDisposable + IL_0133: dup + IL_0134: stloc.s 9 + IL_0136: brfalse IL_0142 - // method line 310 - .method public hidebysig - instance default void UploadFile (string localFileName, string remoteFileName) cil managed - { - // Method begins at RVA 0xae2c - // Code size 276 (0x114) - .maxstack 4 - .locals init ( - class [System]System.Net.WebRequest V_0, - class [mscorlib]System.IO.FileInfo V_1, - int32 V_2, - unsigned int8[] V_3, - class [mscorlib]System.IO.FileStream V_4, - class [mscorlib]System.IO.Stream V_5, - int32 V_6, - class [System]System.Net.WebResponse V_7, - class [System]System.Net.WebException V_8, - class [System]System.Net.HttpWebResponse V_9) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl - IL_0007: ldstr "/" - IL_000c: ldarg.2 - IL_000d: call string string::Concat(string, string, string) - IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldstr "PUT" - IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) - IL_0023: ldloc.0 - IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() - IL_0029: ldstr "Translate: f" - IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) - IL_0033: ldloc.0 - IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() - IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) - IL_003e: ldarg.1 - IL_003f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0044: stloc.1 - IL_0045: ldloc.0 - IL_0046: ldloc.1 - IL_0047: callvirt instance int64 class [mscorlib]System.IO.FileInfo::get_Length() - IL_004c: callvirt instance void class [System]System.Net.WebRequest::set_ContentLength(int64) - IL_0051: ldc.i4 102400 - IL_0056: stloc.2 - IL_0057: ldloc.2 - IL_0058: newarr [mscorlib]System.Byte - IL_005d: stloc.3 - IL_005e: ldloc.1 - IL_005f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0064: ldc.i4.3 - IL_0065: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) - IL_006a: stloc.s 4 - .try { // 1 - IL_006c: nop - IL_006d: ldloc.0 - IL_006e: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebRequest::GetRequestStream() - IL_0073: stloc.s 5 - .try { // 0 - IL_0075: nop - IL_0076: nop - IL_0077: ldloc.s 4 - IL_0079: ldloc.3 - IL_007a: ldc.i4.0 - IL_007b: ldloc.2 - IL_007c: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) - IL_0081: stloc.s 6 - IL_0083: ldloc.s 5 - IL_0085: ldloc.3 - IL_0086: ldc.i4.0 - IL_0087: ldloc.s 6 - IL_0089: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_008e: nop - IL_008f: ldloc.s 6 - IL_0091: ldc.i4.0 - IL_0092: bgt IL_0076 + IL_013b: ldloc.s 9 + IL_013d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0142: endfinally + } // end handler 1 + IL_0143: nop + IL_0144: ldloc.0 + IL_0145: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() + IL_014a: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_014f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0154: stloc.s 11 + .try { // 2 + IL_0156: br IL_0190 - IL_0097: nop - IL_0098: leave IL_00ac + IL_015b: ldloc.s 11 + IL_015d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0162: castclass NAnt.VSNet.VcConfigurationBase + IL_0167: stloc.s 10 + IL_0169: nop + IL_016a: ldloc.s 10 + IL_016c: ldloc.3 + IL_016d: beq IL_018f - } // end .try 0 - finally { // 0 - IL_009d: ldloc.s 5 - IL_009f: brfalse IL_00ab + IL_0172: nop + IL_0173: ldarg.0 + IL_0174: ldloc.0 + IL_0175: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() + IL_017a: ldloc.s 10 + IL_017c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0181: castclass [mscorlib]System.Collections.ArrayList + IL_0186: ldarg.1 + IL_0187: ldloc.s 10 + IL_0189: call instance void class NAnt.VSNet.VcProject::BuildCPPFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.Configuration, class NAnt.VSNet.VcConfigurationBase) + IL_018e: nop + IL_018f: nop + IL_0190: ldloc.s 11 + IL_0192: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0197: brtrue IL_015b - IL_00a4: ldloc.s 5 - IL_00a6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00ab: endfinally - } // end handler 0 - IL_00ac: nop - IL_00ad: leave IL_00c1 + IL_019c: leave IL_01b8 - } // end .try 1 - finally { // 1 - IL_00b2: ldloc.s 4 - IL_00b4: brfalse IL_00c0 + } // end .try 2 + finally { // 2 + IL_01a1: ldloc.s 11 + IL_01a3: isinst [mscorlib]System.IDisposable + IL_01a8: dup + IL_01a9: stloc.s 12 + IL_01ab: brfalse IL_01b7 - IL_00b9: ldloc.s 4 - IL_00bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c0: endfinally - } // end handler 1 - IL_00c1: ldnull - IL_00c2: stloc.3 + IL_01b0: ldloc.s 12 + IL_01b2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01b7: endfinally + } // end handler 2 + IL_01b8: nop + IL_01b9: ldloc.0 + IL_01ba: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_RcConfigs() + IL_01bf: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_01c4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_01c9: stloc.s 14 .try { // 3 - IL_00c3: nop - IL_00c4: ldloc.0 - IL_00c5: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_00ca: stloc.s 7 - .try { // 2 - IL_00cc: nop - IL_00cd: nop - IL_00ce: leave IL_00e2 + IL_01cb: br IL_01fb - } // end .try 2 - finally { // 2 - IL_00d3: ldloc.s 7 - IL_00d5: brfalse IL_00e1 + IL_01d0: ldloc.s 14 + IL_01d2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01d7: castclass NAnt.VSNet.VcConfigurationBase + IL_01dc: stloc.s 13 + IL_01de: nop + IL_01df: ldarg.0 + IL_01e0: ldloc.0 + IL_01e1: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_RcConfigs() + IL_01e6: ldloc.s 13 + IL_01e8: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_01ed: castclass [mscorlib]System.Collections.ArrayList + IL_01f2: ldloc.0 + IL_01f3: ldloc.s 13 + IL_01f5: call instance void class NAnt.VSNet.VcProject::BuildResourceFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase) + IL_01fa: nop + IL_01fb: ldloc.s 14 + IL_01fd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0202: brtrue IL_01d0 - IL_00da: ldloc.s 7 - IL_00dc: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00e1: endfinally - } // end handler 2 - IL_00e2: nop - IL_00e3: leave IL_0113 + IL_0207: leave IL_0223 } // end .try 3 - catch class [System]System.Net.WebException { // 3 - IL_00e8: stloc.s 8 - IL_00ea: nop - IL_00eb: ldloc.s 8 - IL_00ed: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebException::get_Response() - IL_00f2: castclass [System]System.Net.HttpWebResponse - IL_00f7: stloc.s 9 - IL_00f9: ldloc.s 9 - IL_00fb: callvirt instance valuetype [System]System.Net.HttpStatusCode class [System]System.Net.HttpWebResponse::get_StatusCode() - IL_0100: ldc.i4 423 - IL_0105: beq IL_010d - - IL_010a: nop - IL_010b: rethrow - IL_010d: nop - IL_010e: leave IL_0113 + finally { // 3 + IL_020c: ldloc.s 14 + IL_020e: isinst [mscorlib]System.IDisposable + IL_0213: dup + IL_0214: stloc.s 15 + IL_0216: brfalse IL_0222 + IL_021b: ldloc.s 15 + IL_021d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0222: endfinally } // end handler 3 - IL_0113: ret - } // end of method WebDavClient::UploadFile - - // method line 311 - .method public hidebysig - instance default void DeleteFile (string localFileName, string remoteFileName) cil managed - { - // Method begins at RVA 0xaf80 - // Code size 90 (0x5a) - .maxstack 3 - .locals init ( - class [System]System.Net.WebRequest V_0, - class [System]System.Net.WebResponse V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl - IL_0007: ldstr "/" - IL_000c: ldarg.2 - IL_000d: call string string::Concat(string, string, string) - IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldstr "DELETE" - IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) - IL_0023: ldloc.0 - IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() - IL_0029: ldstr "Translate: f" - IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) - IL_0033: ldloc.0 - IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() - IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) - IL_003e: ldloc.0 - IL_003f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_0044: stloc.1 - .try { // 0 - IL_0045: nop - IL_0046: nop - IL_0047: leave IL_0059 + IL_0223: ldloc.0 + IL_0224: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_0229: stloc.s 16 + IL_022b: ldloc.s 16 + IL_022d: ldc.i4.4 + IL_022e: beq IL_0248 - } // end .try 0 - finally { // 0 - IL_004c: ldloc.1 - IL_004d: brfalse IL_0058 + IL_0233: ldloc.s 16 + IL_0235: ldc.i4.1 + IL_0236: beq IL_0254 - IL_0052: ldloc.1 - IL_0053: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0058: endfinally - } // end handler 0 - IL_0059: ret - } // end of method WebDavClient::DeleteFile + IL_023b: ldloc.s 16 + IL_023d: ldc.i4.2 + IL_023e: beq IL_0254 - // method line 312 - .method public hidebysig - instance default void DownloadFile (string localFileName, string remoteFileName) cil managed - { - // Method begins at RVA 0xaff8 - // Code size 219 (0xdb) - .maxstack 4 - .locals init ( - class [System]System.Net.WebRequest V_0, - class [mscorlib]System.IO.FileInfo V_1, - int32 V_2, - unsigned int8[] V_3, - class [mscorlib]System.IO.FileStream V_4, - class [mscorlib]System.IO.Stream V_5, - int32 V_6) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl - IL_0007: ldstr "/" - IL_000c: ldarg.2 - IL_000d: call string string::Concat(string, string, string) - IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldstr "GET" - IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) - IL_0023: ldloc.0 - IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() - IL_0029: ldstr "Translate: f" - IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) - IL_0033: ldloc.0 - IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() - IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) - IL_003e: ldarg.1 - IL_003f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0044: stloc.1 - IL_0045: ldloc.1 - IL_0046: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_004b: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0050: brtrue IL_0063 + IL_0243: br IL_0274 - IL_0055: nop - IL_0056: ldloc.1 - IL_0057: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_005c: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0061: pop - IL_0062: nop - IL_0063: ldc.i4 102400 - IL_0068: stloc.2 - IL_0069: ldloc.2 - IL_006a: newarr [mscorlib]System.Byte - IL_006f: stloc.3 - IL_0070: ldloc.1 - IL_0071: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0076: ldc.i4.4 - IL_0077: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) - IL_007c: stloc.s 4 - .try { // 1 - IL_007e: nop - IL_007f: ldloc.0 - IL_0080: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_0085: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() - IL_008a: stloc.s 5 - .try { // 0 - IL_008c: nop - IL_008d: nop - IL_008e: ldloc.s 5 - IL_0090: ldloc.3 - IL_0091: ldc.i4.0 - IL_0092: ldloc.2 - IL_0093: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) - IL_0098: stloc.s 6 - IL_009a: ldloc.s 4 - IL_009c: ldloc.3 - IL_009d: ldc.i4.0 - IL_009e: ldloc.s 6 - IL_00a0: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) - IL_00a5: nop - IL_00a6: ldloc.s 6 - IL_00a8: ldc.i4.0 - IL_00a9: bgt IL_008d + IL_0248: ldarg.0 + IL_0249: ldloc.0 + IL_024a: call instance void class NAnt.VSNet.VcProject::RunLibrarian(class NAnt.VSNet.VcProjectConfiguration) + IL_024f: br IL_0274 - IL_00ae: nop - IL_00af: leave IL_00c3 + IL_0254: ldarg.0 + IL_0255: ldloc.0 + IL_0256: call instance bool class NAnt.VSNet.VcProject::PreLink(class NAnt.VSNet.VcProjectConfiguration) + IL_025b: brtrue IL_0268 - } // end .try 0 - finally { // 0 - IL_00b4: ldloc.s 5 - IL_00b6: brfalse IL_00c2 + IL_0260: nop + IL_0261: ldc.i4.0 + IL_0262: stloc.1 + IL_0263: br IL_03c7 - IL_00bb: ldloc.s 5 - IL_00bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c2: endfinally - } // end handler 0 - IL_00c3: nop - IL_00c4: leave IL_00d8 + IL_0268: ldarg.0 + IL_0269: ldarg.1 + IL_026a: call instance void class NAnt.VSNet.VcProject::RunLinker(class NAnt.VSNet.Configuration) + IL_026f: br IL_0274 - } // end .try 1 - finally { // 1 - IL_00c9: ldloc.s 4 - IL_00cb: brfalse IL_00d7 + IL_0274: ldarg.0 + IL_0275: ldc.i4 2000 + IL_027a: ldstr "Copying references:" + IL_027f: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0284: nop + IL_0285: ldarg.0 + IL_0286: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references + IL_028b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0290: stloc.s 18 + .try { // 5 + IL_0292: br IL_036f - IL_00d0: ldloc.s 4 - IL_00d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d7: endfinally - } // end handler 1 - IL_00d8: ldnull - IL_00d9: stloc.3 - IL_00da: ret - } // end of method WebDavClient::DownloadFile + IL_0297: ldloc.s 18 + IL_0299: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_029e: castclass NAnt.VSNet.ReferenceBase + IL_02a3: stloc.s 17 + IL_02a5: nop + IL_02a6: ldloc.s 17 + IL_02a8: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_CopyLocal() + IL_02ad: brfalse IL_036e - // method line 313 - .method public hidebysig - instance default string GetFileContents (string remoteFileName) cil managed - { - // Method begins at RVA 0xb0fc - // Code size 107 (0x6b) - .maxstack 3 - .locals init ( - class [System]System.Net.WebRequest V_0, - class [mscorlib]System.IO.StreamReader V_1, - string V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl - IL_0007: ldstr "/" - IL_000c: ldarg.1 - IL_000d: call string string::Concat(string, string, string) - IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldstr "GET" - IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) - IL_0023: ldloc.0 - IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() - IL_0029: ldstr "Translate: f" - IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) - IL_0033: ldloc.0 - IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() - IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) - IL_003e: ldloc.0 - IL_003f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_0044: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() - IL_0049: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_004e: stloc.1 - .try { // 0 - IL_004f: nop - IL_0050: ldloc.1 - IL_0051: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0056: stloc.2 - IL_0057: leave IL_0069 + IL_02b2: nop + IL_02b3: ldarg.0 + IL_02b4: ldc.i4 2000 + IL_02b9: ldstr " - " + IL_02be: ldloc.s 17 + IL_02c0: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_02c5: call string string::Concat(string, string) + IL_02ca: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_02cf: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_02d4: stloc.s 19 + IL_02d6: ldloc.s 17 + IL_02d8: ldarg.1 + IL_02d9: ldloc.s 19 + IL_02db: callvirt instance void class NAnt.VSNet.ReferenceBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) + IL_02e0: nop + IL_02e1: ldloc.s 19 + IL_02e3: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_02e8: stloc.s 21 + .try { // 4 + IL_02ea: br IL_0345 - } // end .try 0 - finally { // 0 - IL_005c: ldloc.1 - IL_005d: brfalse IL_0068 + IL_02ef: ldloc.s 21 + IL_02f1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_02f6: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_02fb: stloc.s 20 + IL_02fd: nop + IL_02fe: ldloca.s 20 + IL_0300: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0305: castclass [mscorlib]System.String + IL_030a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_030f: stloc.s 22 + IL_0311: ldloc.0 + IL_0312: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0317: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_031c: ldloca.s 20 + IL_031e: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0323: castclass [mscorlib]System.String + IL_0328: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_032d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0332: stloc.s 23 + IL_0334: ldarg.0 + IL_0335: ldloc.s 22 + IL_0337: ldloc.s 23 + IL_0339: ldarg.0 + IL_033a: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_033f: call instance void class NAnt.VSNet.ProjectBase::CopyFile(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo, class [NAnt.Core]NAnt.Core.Task) + IL_0344: nop + IL_0345: ldloc.s 21 + IL_0347: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_034c: brtrue IL_02ef - IL_0062: ldloc.1 - IL_0063: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0068: endfinally - } // end handler 0 - IL_0069: ldloc.2 - IL_006a: ret - } // end of method WebDavClient::GetFileContents + IL_0351: leave IL_036d - // method line 314 - .method public static hidebysig - default string GetFileContentsStatic (string remoteFileName) cil managed - { - // Method begins at RVA 0xb184 - // Code size 91 (0x5b) - .maxstack 2 - .locals init ( - class [System]System.Net.WebRequest V_0, - class [mscorlib]System.IO.StreamReader V_1, - string V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldstr "GET" - IL_000e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) - IL_0013: ldloc.0 - IL_0014: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() - IL_0019: ldstr "Translate: f" - IL_001e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) - IL_0023: ldloc.0 - IL_0024: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() - IL_0029: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) - IL_002e: ldloc.0 - IL_002f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() - IL_0034: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() - IL_0039: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_003e: stloc.1 - .try { // 0 - IL_003f: nop - IL_0040: ldloc.1 - IL_0041: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0046: stloc.2 - IL_0047: leave IL_0059 + } // end .try 4 + finally { // 4 + IL_0356: ldloc.s 21 + IL_0358: isinst [mscorlib]System.IDisposable + IL_035d: dup + IL_035e: stloc.s 24 + IL_0360: brfalse IL_036c - } // end .try 0 - finally { // 0 - IL_004c: ldloc.1 - IL_004d: brfalse IL_0058 + IL_0365: ldloc.s 24 + IL_0367: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_036c: endfinally + } // end handler 4 + IL_036d: nop + IL_036e: nop + IL_036f: ldloc.s 18 + IL_0371: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0376: brtrue IL_0297 - IL_0052: ldloc.1 - IL_0053: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0058: endfinally - } // end handler 0 - IL_0059: ldloc.2 - IL_005a: ret - } // end of method WebDavClient::GetFileContentsStatic + IL_037b: leave IL_0397 - } // end of class NAnt.VSNet.WebDavClient -} + } // end .try 5 + finally { // 5 + IL_0380: ldloc.s 18 + IL_0382: isinst [mscorlib]System.IDisposable + IL_0387: dup + IL_0388: stloc.s 25 + IL_038a: brfalse IL_0396 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit ManagedWrapperReference - extends NAnt.VSNet.WrapperReferenceBase - { - .field private string _name - .field private initonly string _wrapperTool - .field private initonly string _wrapperAssembly - .field private initonly class NAnt.VSNet.ProjectSettings _projectSettings - .field private string _primaryInteropAssembly + IL_038f: ldloc.s 25 + IL_0391: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0396: endfinally + } // end handler 5 + IL_0397: ldarg.0 + IL_0398: ldarg.1 + IL_0399: ldloc.0 + IL_039a: call instance bool class NAnt.VSNet.VcProject::RunCustomBuildStep(class NAnt.VSNet.Configuration, class NAnt.VSNet.VcProjectConfiguration) + IL_039f: brtrue IL_03ac - // method line 315 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ProjectSettings projectSettings) cil managed - { - // Method begins at RVA 0xba28 - // Code size 190 (0xbe) - .maxstack 5 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - class [System.Xml]System.Xml.XmlAttribute V_1) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: call instance void class NAnt.VSNet.WrapperReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_000b: nop - IL_000c: ldarg.s 5 - IL_000e: brtrue IL_001f + IL_03a4: nop + IL_03a5: ldc.i4.0 + IL_03a6: stloc.1 + IL_03a7: br IL_03c7 - IL_0013: nop - IL_0014: ldstr "projectSettings" - IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001e: throw - IL_001f: ldarg.0 - IL_0020: ldarg.s 5 - IL_0022: stfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedWrapperReference::_projectSettings - IL_0027: ldarg.0 - IL_0028: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_002d: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0032: ldstr "Name" - IL_0037: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_003c: stloc.0 - IL_003d: ldloc.0 - IL_003e: brfalse IL_0051 + IL_03ac: ldarg.0 + IL_03ad: ldloc.0 + IL_03ae: call instance bool class NAnt.VSNet.VcProject::PostBuild(class NAnt.VSNet.VcProjectConfiguration) + IL_03b3: brtrue IL_03c0 - IL_0043: nop - IL_0044: ldarg.0 - IL_0045: ldloc.0 - IL_0046: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_004b: stfld string NAnt.VSNet.ManagedWrapperReference::_name - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0057: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_005c: ldstr "WrapperTool" - IL_0061: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0066: stloc.1 - IL_0067: ldloc.1 - IL_0068: brtrue IL_0099 + IL_03b8: nop + IL_03b9: ldc.i4.0 + IL_03ba: stloc.1 + IL_03bb: br IL_03c7 - IL_006d: nop - IL_006e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0073: ldstr "Wrapper tool for reference \"{0}\" in project \"{1}\" could not be determined." - IL_0078: ldarg.0 - IL_0079: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_007e: ldarg.0 - IL_007f: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0084: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0089: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_008e: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0093: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0098: throw - IL_0099: ldarg.0 - IL_009a: ldloc.1 - IL_009b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00a0: stfld string NAnt.VSNet.ManagedWrapperReference::_wrapperTool - IL_00a5: ldarg.0 - IL_00a6: ldarg.0 - IL_00a7: call instance string class NAnt.VSNet.WrapperReferenceBase::GetPrimaryInteropAssembly() - IL_00ac: stfld string NAnt.VSNet.ManagedWrapperReference::_primaryInteropAssembly - IL_00b1: ldarg.0 - IL_00b2: ldarg.0 - IL_00b3: call instance string class NAnt.VSNet.WrapperReferenceBase::ResolveWrapperAssembly() - IL_00b8: stfld string NAnt.VSNet.ManagedWrapperReference::_wrapperAssembly - IL_00bd: ret - } // end of method ManagedWrapperReference::.ctor + IL_03c0: ldc.i4.1 + IL_03c1: stloc.1 + IL_03c2: br IL_03c7 - // method line 316 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed + IL_03c7: ldloc.1 + IL_03c8: ret + } // end of method VcProject::Build + + // method line 399 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_ProjectFiles () cil managed { - // Method begins at RVA 0xbaf4 + // Method begins at RVA 0xcdc0 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_name + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedWrapperReference::get_Name + } // end of method VcProject::get_ProjectFiles - // method line 317 - .method public virtual hidebysig specialname - instance default string get_WrapperTool () cil managed + // method line 400 + .method famorassem virtual hidebysig + instance default string ExpandMacro (string macro) cil managed { - // Method begins at RVA 0xbb10 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xcddc + // Code size 326 (0x146) + .maxstack 3 .locals init ( - string V_0) + string V_0, + class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, + int32 V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_wrapperTool - IL_0007: stloc.0 - IL_0008: br IL_000d - + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedWrapperReference::get_WrapperTool + IL_000e: brfalse IL_0137 - // method line 318 - .method public virtual hidebysig specialname - instance default string get_WrapperAssembly () cil managed + IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcProject::'<>f__switch$map1' + IL_0018: brtrue IL_007e + + IL_001d: ldc.i4.7 + IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) + IL_0023: stloc.1 + IL_0024: ldloc.1 + IL_0025: ldstr "inputdir" + IL_002a: ldc.i4.0 + IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0030: ldloc.1 + IL_0031: ldstr "inputname" + IL_0036: ldc.i4.1 + IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_003c: ldloc.1 + IL_003d: ldstr "inputpath" + IL_0042: ldc.i4.2 + IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0048: ldloc.1 + IL_0049: ldstr "inputfilename" + IL_004e: ldc.i4.3 + IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0054: ldloc.1 + IL_0055: ldstr "inputext" + IL_005a: ldc.i4.4 + IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0060: ldloc.1 + IL_0061: ldstr "safeparentname" + IL_0066: ldc.i4.5 + IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_006c: ldloc.1 + IL_006d: ldstr "safeinputname" + IL_0072: ldc.i4.6 + IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0078: ldloc.1 + IL_0079: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcProject::'<>f__switch$map1' + IL_007e: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcProject::'<>f__switch$map1' + IL_0083: ldloc.0 + IL_0084: ldloca.s 2 + IL_0086: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_008b: brfalse IL_0137 + + IL_0090: ldloc.2 + IL_0091: switch ( + IL_00bb, + IL_00db, + IL_00ec, + IL_00f8, + IL_0109, + IL_011a, + IL_0126, + IL_0137) + IL_00b6: br IL_0137 + + IL_00bb: ldarg.0 + IL_00bc: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_00c1: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00c6: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00cb: box [mscorlib]System.Char + IL_00d0: call string string::Concat(object, object) + IL_00d5: stloc.3 + IL_00d6: br IL_0144 + + IL_00db: ldarg.0 + IL_00dc: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_00e1: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_00e6: stloc.3 + IL_00e7: br IL_0144 + + IL_00ec: ldarg.0 + IL_00ed: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_00f2: stloc.3 + IL_00f3: br IL_0144 + + IL_00f8: ldarg.0 + IL_00f9: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_00fe: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0103: stloc.3 + IL_0104: br IL_0144 + + IL_0109: ldarg.0 + IL_010a: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_010f: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0114: stloc.3 + IL_0115: br IL_0144 + + IL_011a: ldarg.0 + IL_011b: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0120: stloc.3 + IL_0121: br IL_0144 + + IL_0126: ldarg.0 + IL_0127: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_012c: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0131: stloc.3 + IL_0132: br IL_0144 + + IL_0137: ldarg.0 + IL_0138: ldarg.1 + IL_0139: call instance string class NAnt.VSNet.ProjectBase::ExpandMacro(string) + IL_013e: stloc.3 + IL_013f: br IL_0144 + + IL_0144: ldloc.3 + IL_0145: ret + } // end of method VcProject::ExpandMacro + + // method line 401 + .method assembly hidebysig + instance default string GetObjOutputFile (string fileName, class NAnt.VSNet.VcConfigurationBase fileConfig, string intermediateDir) cil managed { - // Method begins at RVA 0xbb2c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xcf30 + // Code size 34 (0x22) + .maxstack 2 .locals init ( - string V_0) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_wrapperAssembly - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.2 + IL_0003: call instance string class NAnt.VSNet.VcProject::GetObjectFile(class NAnt.VSNet.VcConfigurationBase) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedWrapperReference::get_WrapperAssembly + IL_000f: nop + IL_0010: ldarg.3 + IL_0011: stloc.0 + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: ldloc.0 + IL_0015: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::GetObjOutputFile(string, string) + IL_001a: stloc.1 + IL_001b: br IL_0020 - // method line 319 - .method family virtual hidebysig specialname - instance default string get_PrimaryInteropAssembly () cil managed + IL_0020: ldloc.1 + IL_0021: ret + } // end of method VcProject::GetObjOutputFile + + // method line 402 + .method assembly hidebysig + instance default string GetResourceOutputFile (string fileName, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed { - // Method begins at RVA 0xbb48 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xcf60 + // Code size 46 (0x2e) + .maxstack 5 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedWrapperReference::_primaryInteropAssembly - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: ldarg.2 + IL_000d: ldstr "VCResourceCompilerTool" + IL_0012: ldstr "ResourceOutputFileName" + IL_0017: ldstr "$(IntDir)/$(InputName).res" + IL_001c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_0021: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0026: stloc.0 + IL_0027: br IL_002c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedWrapperReference::get_PrimaryInteropAssembly + IL_002c: ldloc.0 + IL_002d: ret + } // end of method VcProject::GetResourceOutputFile - // method line 320 - .method family virtual hidebysig specialname - instance default string get_TypeLibVersion () cil managed + // method line 403 + .method family virtual hidebysig newslot + instance default class NAnt.VSNet.ReferenceBase CreateReference (class NAnt.VSNet.SolutionBase solution, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed { - // Method begins at RVA 0xbb64 - // Code size 176 (0xb0) - .maxstack 3 + // Method begins at RVA 0xcf9c + // Code size 225 (0xe1) + .maxstack 7 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - class [System.Xml]System.Xml.XmlAttribute V_1, - string V_2, - int32 V_3, - string V_4, - int32 V_5, - string V_6) + string V_0, + class NAnt.VSNet.ReferenceBase V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_000c: ldstr "VersionMajor" - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brtrue IL_0029 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_001d: nop - IL_001e: ldstr "The definition of the reference does not contain a \"VersionMajor\" attribute." - IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0028: throw - IL_0029: ldarg.0 - IL_002a: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_002f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0034: ldstr "VersionMinor" - IL_0039: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_003e: stloc.1 - IL_003f: ldloc.1 - IL_0040: brtrue IL_0051 - - IL_0045: nop - IL_0046: ldstr "The definition of the reference does not contain a \"VersionMinor\" attribute." - IL_004b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0050: throw - IL_0051: ldloc.0 - IL_0052: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0057: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005c: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_0061: stloc.3 - IL_0062: ldloca.s 3 - IL_0064: ldstr "x" - IL_0069: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006e: call instance string int32::ToString(string, class [mscorlib]System.IFormatProvider) - IL_0073: stloc.2 - IL_0074: ldloc.1 - IL_0075: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_007a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007f: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_0084: stloc.s 5 - IL_0086: ldloca.s 5 - IL_0088: ldstr "x" - IL_008d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0092: call instance string int32::ToString(string, class [mscorlib]System.IFormatProvider) - IL_0097: stloc.s 4 - IL_0099: ldloc.2 - IL_009a: ldstr "." - IL_009f: ldloc.s 4 - IL_00a1: call string string::Concat(string, string, string) - IL_00a6: stloc.s 6 - IL_00a8: br IL_00ad + IL_0007: nop + IL_0008: ldstr "solution" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: brtrue IL_0025 - IL_00ad: ldloc.s 6 - IL_00af: ret - } // end of method ManagedWrapperReference::get_TypeLibVersion + IL_0019: nop + IL_001a: ldstr "xmlDefinition" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.2 + IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_002b: stloc.0 + IL_002c: ldloc.0 + IL_002d: brfalse IL_00bf - // method line 321 - .method family virtual hidebysig specialname - instance default string get_TypeLibGuid () cil managed - { - // Method begins at RVA 0xbc20 - // Code size 55 (0x37) - .maxstack 2 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_000c: ldstr "Guid" - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brtrue IL_0029 + IL_0032: ldloc.0 + IL_0033: ldstr "ProjectReference" + IL_0038: call bool string::op_Equality(string, string) + IL_003d: brtrue IL_0067 - IL_001d: nop - IL_001e: ldstr "The definition of the reference does not contain a \"Guid\" attribute." - IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0028: throw - IL_0029: ldloc.0 - IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_002f: stloc.1 - IL_0030: br IL_0035 + IL_0042: ldloc.0 + IL_0043: ldstr "AssemblyReference" + IL_0048: call bool string::op_Equality(string, string) + IL_004d: brtrue IL_008d - IL_0035: ldloc.1 - IL_0036: ret - } // end of method ManagedWrapperReference::get_TypeLibGuid + IL_0052: ldloc.0 + IL_0053: ldstr "ActiveXReference" + IL_0058: call bool string::op_Equality(string, string) + IL_005d: brtrue IL_00a6 - // method line 322 - .method family virtual hidebysig specialname - instance default string get_TypeLibLocale () cil managed - { - // Method begins at RVA 0xbc64 - // Code size 73 (0x49) - .maxstack 2 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - int32 V_1, - string V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_000c: ldstr "Lcid" - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brtrue IL_0029 + IL_0062: br IL_00bf - IL_001d: nop - IL_001e: ldstr "The definition of the reference does not contain a \"Lcid\" attribute." - IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0028: throw - IL_0029: ldloc.0 - IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_002f: call int32 int32::Parse(string) - IL_0034: stloc.1 - IL_0035: ldloca.s 1 - IL_0037: ldstr "x" - IL_003c: call instance string int32::ToString(string) - IL_0041: stloc.2 - IL_0042: br IL_0047 + IL_0067: ldarg.2 + IL_0068: ldarg.0 + IL_0069: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_006e: ldarg.0 + IL_006f: ldarg.1 + IL_0070: ldarg.1 + IL_0071: callvirt instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.SolutionBase::get_TemporaryFiles() + IL_0076: ldarg.0 + IL_0077: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_007c: ldarg.0 + IL_007d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() + IL_0082: newobj instance void class NAnt.VSNet.VcProjectReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo) + IL_0087: stloc.1 + IL_0088: br IL_00df - IL_0047: ldloc.2 - IL_0048: ret - } // end of method ManagedWrapperReference::get_TypeLibLocale + IL_008d: ldarg.2 + IL_008e: ldarg.0 + IL_008f: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_0094: ldarg.0 + IL_0095: ldarg.0 + IL_0096: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_009b: newobj instance void class NAnt.VSNet.VcAssemblyReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_00a0: stloc.1 + IL_00a1: br IL_00df - // method line 323 - .method private hidebysig specialname - instance default class NAnt.VSNet.ProjectSettings get_ProjectSettings () cil managed - { - // Method begins at RVA 0xbcbc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.ProjectSettings V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedWrapperReference::_projectSettings - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00a6: ldarg.2 + IL_00a7: ldarg.0 + IL_00a8: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_00ad: ldarg.0 + IL_00ae: ldarg.0 + IL_00af: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_00b4: newobj instance void class NAnt.VSNet.VcWrapperReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_00b9: stloc.1 + IL_00ba: br IL_00df - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedWrapperReference::get_ProjectSettings + IL_00bf: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c4: ldstr "\"{0}\" reference not supported." + IL_00c9: ldarg.2 + IL_00ca: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00cf: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00d4: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00d9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00de: throw + IL_00df: ldloc.1 + IL_00e0: ret + } // end of method VcProject::CreateReference - // method line 324 - .method family virtual hidebysig - instance default void ImportTypeLibrary () cil managed + // method line 404 + .method private hidebysig + instance default void RunNMake (string nmakeCommand) cil managed { - // Method begins at RVA 0xbcd8 - // Code size 424 (0x1a8) - .maxstack 3 + // Method begins at RVA 0xd08c + // Code size 132 (0x84) + .maxstack 4 .locals init ( - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask V_0, - class NAnt.VSNet.ReferenceBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class NAnt.VSNet.WrapperReferenceBase V_3, - class [mscorlib]System.IDisposable V_4) + string V_0, + class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_1) IL_0000: nop - IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::'.ctor'() + IL_0001: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0024: ldloc.0 - IL_0025: ldarg.0 - IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0046: ldloc.0 - IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_004c: ldloc.0 - IL_004d: ldarg.0 - IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() - IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) - IL_005d: ldloc.0 - IL_005e: ldarg.0 - IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_006e: ldloc.0 - IL_006f: ldarg.0 - IL_0070: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() - IL_0075: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_Namespace(string) - IL_007a: ldloc.0 - IL_007b: ldc.i4.1 - IL_007c: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_SysArray(bool) - IL_0081: ldloc.0 - IL_0082: ldstr "dispret" - IL_0087: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_Transform(string) - IL_008c: nop - IL_008d: ldarg.0 - IL_008e: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0093: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_0098: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_009d: stloc.2 .try { // 0 - IL_009e: br IL_00fb - - IL_00a3: ldloc.2 - IL_00a4: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00a9: castclass NAnt.VSNet.ReferenceBase - IL_00ae: stloc.1 - IL_00af: nop - IL_00b0: ldloc.1 - IL_00b1: isinst NAnt.VSNet.WrapperReferenceBase - IL_00b6: stloc.3 - IL_00b7: ldloc.3 - IL_00b8: brfalse IL_00dd - - IL_00bd: ldloc.3 - IL_00be: callvirt instance bool class NAnt.VSNet.WrapperReferenceBase::get_IsCreated() - IL_00c3: brfalse IL_00dd - - IL_00c8: ldloc.3 - IL_00c9: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() - IL_00ce: ldstr "tlbimp" - IL_00d3: call bool string::op_Inequality(string, string) - IL_00d8: brfalse IL_00e3 - - IL_00dd: nop - IL_00de: leave IL_00fb - - IL_00e3: ldloc.0 - IL_00e4: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::get_References() - IL_00e9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_00ee: ldloc.3 - IL_00ef: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_00f4: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00f9: pop - IL_00fa: nop - IL_00fb: ldloc.2 - IL_00fc: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0101: brtrue IL_00a3 - - IL_0106: leave IL_0121 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_000e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0013: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) + IL_0018: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::'.ctor'() + IL_001d: stloc.1 + IL_001e: ldloc.1 + IL_001f: ldarg.0 + IL_0020: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0025: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_002a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_002f: ldloc.1 + IL_0030: ldarg.0 + IL_0031: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0036: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_003b: ldloc.1 + IL_003c: ldarg.0 + IL_003d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0042: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_004c: ldloc.1 + IL_004d: ldstr "/c \"" + IL_0052: ldarg.1 + IL_0053: ldstr "\"" + IL_0058: call string string::Concat(string, string, string) + IL_005d: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::set_CommandLineArguments(string) + IL_0062: ldloc.1 + IL_0063: ldstr "cmd.exe" + IL_0068: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::set_FileName(string) + IL_006d: ldarg.0 + IL_006e: ldloc.1 + IL_006f: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) + IL_0074: nop + IL_0075: leave IL_0083 } // end .try 0 finally { // 0 - IL_010b: ldloc.2 - IL_010c: isinst [mscorlib]System.IDisposable - IL_0111: dup - IL_0112: stloc.s 4 - IL_0114: brfalse IL_0120 - - IL_0119: ldloc.s 4 - IL_011b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0120: endfinally + IL_007a: nop + IL_007b: ldloc.0 + IL_007c: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) + IL_0081: nop + IL_0082: endfinally } // end handler 0 - IL_0121: ldarg.0 - IL_0122: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_0127: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() - IL_012c: brfalse IL_015e - - IL_0131: nop - IL_0132: ldloc.0 - IL_0133: ldarg.0 - IL_0134: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0139: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_013e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0143: ldarg.0 - IL_0144: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_0149: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() - IL_014e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0153: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0158: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_KeyFile(class [mscorlib]System.IO.FileInfo) - IL_015d: nop - IL_015e: ldarg.0 - IL_015f: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_0164: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() - IL_0169: brfalse IL_0181 - - IL_016e: nop - IL_016f: ldloc.0 - IL_0170: ldarg.0 - IL_0171: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_0176: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() - IL_017b: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_KeyContainer(string) - IL_0180: nop - IL_0181: ldloc.0 - IL_0182: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0187: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 1 - IL_018c: nop - IL_018d: ldloc.0 - IL_018e: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0193: nop - IL_0194: leave IL_01a7 - - } // end .try 1 - finally { // 1 - IL_0199: nop - IL_019a: ldloc.0 - IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_01a0: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_01a5: nop - IL_01a6: endfinally - } // end handler 1 - IL_01a7: ret - } // end of method ManagedWrapperReference::ImportTypeLibrary + IL_0083: ret + } // end of method VcProject::RunNMake - // method line 325 - .method family virtual hidebysig - instance default void ImportActiveXLibrary () cil managed + // method line 405 + .method private hidebysig + instance default void BuildCPPFiles (class [mscorlib]System.Collections.ArrayList fileNames, class NAnt.VSNet.Configuration solutionConfiguration, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed { - // Method begins at RVA 0xbea8 - // Code size 328 (0x148) - .maxstack 4 + // Method begins at RVA 0xd12c + // Code size 3078 (0xc06) + .maxstack 5 .locals init ( - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask V_0, - string V_1) + class NAnt.VSNet.VcProjectConfiguration V_0, + string V_1, + class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask V_2, + string V_3, + string V_4, + valuetype NAnt.VSNet.Types.UsePrecompiledHeader V_5, + string V_6, + string V_7, + string[] V_8, + int32 V_9, + string V_10, + string V_11, + string[] V_12, + int32 V_13, + string V_14, + string V_15, + string[] V_16, + int32 V_17, + class NAnt.VSNet.ReferenceBase V_18, + class [mscorlib]System.Collections.IEnumerator V_19, + class [System]System.Collections.Specialized.StringCollection V_20, + string V_21, + class [System]System.Collections.Specialized.StringEnumerator V_22, + class [mscorlib]System.IDisposable V_23, + class [mscorlib]System.IDisposable V_24, + string V_25, + valuetype NAnt.VSNet.ProductVersion V_26, + string V_27, + string V_28, + string V_29, + string V_30, + class [mscorlib]System.Collections.IEnumerator V_31, + class [mscorlib]System.IDisposable V_32, + string V_33, + string V_34, + string[] V_35, + int32 V_36, + class [NAnt.Core]NAnt.Core.Types.Option V_37, + string V_38, + string V_39, + string[] V_40, + int32 V_41, + class [NAnt.Core]NAnt.Core.Types.Option V_42, + string V_43, + class [mscorlib]System.IO.StringReader V_44, + string V_45, + string V_46, + string[] V_47, + int32 V_48, + string V_49, + string V_50, + string V_51, + valuetype NAnt.VSNet.VcArgumentMap/ArgGroup V_52, + string V_53, + int32 V_54, + class [mscorlib]System.Collections.Hashtable V_55, + string V_56, + class [mscorlib]System.Collections.IEnumerator V_57, + class [NAnt.Core]NAnt.Core.Types.Argument V_58, + class [mscorlib]System.IDisposable V_59, + valuetype NAnt.VSNet.Types.UseOfATL V_60) IL_0000: nop - IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0024: ldloc.0 - IL_0025: ldarg.0 - IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0046: ldloc.0 - IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_004c: ldloc.0 - IL_004d: ldarg.0 - IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() - IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OcxFile(class [mscorlib]System.IO.FileInfo) - IL_005d: ldloc.0 - IL_005e: ldarg.0 - IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_006e: ldarg.0 - IL_006f: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_0074: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() - IL_0079: brfalse IL_00ab - - IL_007e: nop - IL_007f: ldloc.0 - IL_0080: ldarg.0 - IL_0081: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0086: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_008b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0090: ldarg.0 - IL_0091: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_0096: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile() - IL_009b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00a0: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00a5: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_KeyFile(class [mscorlib]System.IO.FileInfo) - IL_00aa: nop - IL_00ab: ldarg.0 - IL_00ac: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_00b1: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() - IL_00b6: brfalse IL_00ce - - IL_00bb: nop - IL_00bc: ldloc.0 - IL_00bd: ldarg.0 - IL_00be: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings() - IL_00c3: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName() - IL_00c8: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_KeyContainer(string) - IL_00cd: nop - IL_00ce: ldarg.0 - IL_00cf: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() - IL_00d4: stloc.1 - IL_00d5: ldloc.1 - IL_00d6: brtrue IL_0108 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.2 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: castclass NAnt.VSNet.VcProjectConfiguration + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0019: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001e: ldloc.0 + IL_001f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() + IL_0024: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0029: stloc.1 + IL_002a: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::'.ctor'() + IL_002f: stloc.2 + IL_0030: ldloc.2 + IL_0031: ldarg.0 + IL_0032: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0037: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0041: ldloc.2 + IL_0042: ldarg.0 + IL_0043: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0048: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_004d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0052: ldloc.2 + IL_0053: ldarg.0 + IL_0054: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0059: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_005e: ldloc.2 + IL_005f: ldarg.0 + IL_0060: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0065: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_006a: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_006f: ldloc.2 + IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0075: ldloc.2 + IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() + IL_007b: ldloc.2 + IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0081: ldloc.2 + IL_0082: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_0087: ldloc.2 + IL_0088: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_008d: ldloc.2 + IL_008e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() + IL_0093: ldloc.2 + IL_0094: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0099: ldloc.2 + IL_009a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_009f: ldloc.2 + IL_00a0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_00a5: ldloc.2 + IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() + IL_00ab: ldloc.2 + IL_00ac: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00b1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00b6: ldloc.2 + IL_00b7: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_00bc: ldloc.2 + IL_00bd: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00c2: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00c7: ldloc.2 + IL_00c8: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() + IL_00cd: ldloc.2 + IL_00ce: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00d3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00d8: ldloc.2 + IL_00d9: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_00de: ldloc.2 + IL_00df: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00e4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00e9: ldloc.2 + IL_00ea: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() + IL_00ef: ldloc.2 + IL_00f0: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_00f5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00fa: ldloc.2 + IL_00fb: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_0100: ldloc.2 + IL_0101: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0106: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_010b: ldloc.2 + IL_010c: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() + IL_0111: ldloc.2 + IL_0112: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0117: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_011c: ldloc.2 + IL_011d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_0122: ldloc.2 + IL_0123: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0128: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_012d: ldloc.2 + IL_012e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() + IL_0133: ldarg.0 + IL_0134: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0139: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_013e: ldloc.2 + IL_013f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_0144: ldarg.0 + IL_0145: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_014a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_014f: ldloc.2 + IL_0150: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() + IL_0155: ldarg.0 + IL_0156: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_015b: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0160: ldloc.2 + IL_0161: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_0166: ldarg.0 + IL_0167: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_016c: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0171: ldloc.2 + IL_0172: ldloc.1 + IL_0173: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0178: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_OutputDir(class [mscorlib]System.IO.DirectoryInfo) + IL_017d: ldarg.3 + IL_017e: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() + IL_0183: brfalse IL_0246 - IL_00db: nop - IL_00dc: ldarg.0 - IL_00dd: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_00e2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() - IL_00e7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00ec: ldstr "Interop." - IL_00f1: ldarg.0 - IL_00f2: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() - IL_00f7: ldstr ".dll" - IL_00fc: call string string::Concat(string, string, string) - IL_0101: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0106: stloc.1 - IL_0107: nop - IL_0108: ldloc.1 - IL_0109: call bool class [mscorlib]System.IO.File::Exists(string) - IL_010e: brfalse IL_0121 + IL_0188: ldarg.3 + IL_0189: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() + IL_018e: ldc.i4.m1 + IL_018f: beq IL_0246 - IL_0113: nop - IL_0114: ldloc.0 - IL_0115: ldloc.1 - IL_0116: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_011b: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_RcwFile(class [mscorlib]System.IO.FileInfo) - IL_0120: nop - IL_0121: ldloc.0 - IL_0122: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0127: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 0 - IL_012c: nop - IL_012d: ldloc.0 - IL_012e: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0133: nop - IL_0134: leave IL_0147 + IL_0194: nop + IL_0195: ldarg.3 + IL_0196: ldstr "VCCLCompilerTool" + IL_019b: ldstr "PrecompiledHeaderFile" + IL_01a0: ldstr "$(IntDir)/$(TargetName).pch" + IL_01a5: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_01aa: stloc.3 + IL_01ab: ldloc.3 + IL_01ac: call bool string::IsNullOrEmpty(string) + IL_01b1: brtrue IL_01cf - } // end .try 0 - finally { // 0 - IL_0139: nop - IL_013a: ldloc.0 - IL_013b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0140: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0145: nop - IL_0146: endfinally - } // end handler 0 - IL_0147: ret - } // end of method ManagedWrapperReference::ImportActiveXLibrary + IL_01b6: nop + IL_01b7: ldloc.2 + IL_01b8: ldarg.0 + IL_01b9: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_01be: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01c3: ldloc.3 + IL_01c4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_01c9: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchFile(string) + IL_01ce: nop + IL_01cf: ldarg.3 + IL_01d0: ldstr "VCCLCompilerTool" + IL_01d5: ldstr "PrecompiledHeaderThrough" + IL_01da: ldstr "StdAfx.h" + IL_01df: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_01e4: stloc.s 4 + IL_01e6: ldloc.s 4 + IL_01e8: call bool string::IsNullOrEmpty(string) + IL_01ed: brtrue IL_01fc - .property instance string Name () - { - .get instance default string NAnt.VSNet.ManagedWrapperReference::get_Name () - } - .property instance string WrapperTool () - { - .get instance default string NAnt.VSNet.ManagedWrapperReference::get_WrapperTool () - } - .property instance string WrapperAssembly () - { - .get instance default string NAnt.VSNet.ManagedWrapperReference::get_WrapperAssembly () - } - .property instance string PrimaryInteropAssembly () - { - .get instance default string NAnt.VSNet.ManagedWrapperReference::get_PrimaryInteropAssembly () - } - .property instance string TypeLibVersion () - { - .get instance default string NAnt.VSNet.ManagedWrapperReference::get_TypeLibVersion () - } - .property instance string TypeLibGuid () - { - .get instance default string NAnt.VSNet.ManagedWrapperReference::get_TypeLibGuid () - } - .property instance string TypeLibLocale () - { - .get instance default string NAnt.VSNet.ManagedWrapperReference::get_TypeLibLocale () - } - .property instance class NAnt.VSNet.ProjectSettings ProjectSettings () - { - .get instance default class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedWrapperReference::get_ProjectSettings () - } - } // end of class NAnt.VSNet.ManagedWrapperReference -} + IL_01f2: nop + IL_01f3: ldloc.2 + IL_01f4: ldloc.s 4 + IL_01f6: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchThroughFile(string) + IL_01fb: nop + IL_01fc: ldarg.3 + IL_01fd: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() + IL_0202: stloc.s 5 + IL_0204: ldloc.s 5 + IL_0206: ldc.i4.3 + IL_0207: beq IL_0221 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit VcFileConfiguration - extends NAnt.VSNet.VcConfigurationBase - { - .field private initonly string _relativePath - .field private initonly string _parentName - .field private initonly bool _excludeFromBuild - .field private initonly class NAnt.VSNet.VcProjectConfiguration _parentConfig - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map1' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_020c: ldloc.s 5 + IL_020e: ldc.i4.2 + IL_020f: beq IL_022d + IL_0214: ldloc.s 5 + IL_0216: ldc.i4.1 + IL_0217: beq IL_0239 - // method line 326 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (string relativePath, string parentName, class [System.Xml]System.Xml.XmlElement elem, class NAnt.VSNet.VcProjectConfiguration parentConfig, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xc00c - // Code size 151 (0x97) - .maxstack 5 - .locals init ( - string V_0) - IL_0000: ldarg.0 - IL_0001: ldarg.3 - IL_0002: ldarg.s 4 - IL_0004: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0009: ldarg.s 5 - IL_000b: call instance void class NAnt.VSNet.VcConfigurationBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ProjectBase, class [mscorlib]System.IO.DirectoryInfo) - IL_0010: nop - IL_0011: ldarg.1 - IL_0012: brtrue IL_0023 + IL_021c: br IL_0245 - IL_0017: nop - IL_0018: ldstr "relativePath" - IL_001d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0022: throw - IL_0023: ldarg.2 - IL_0024: brtrue IL_0035 + IL_0221: ldloc.2 + IL_0222: ldc.i4.0 + IL_0223: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchMode(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode) + IL_0228: br IL_0245 - IL_0029: nop - IL_002a: ldstr "parentName" - IL_002f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0034: throw - IL_0035: ldarg.s 4 - IL_0037: brtrue IL_0048 + IL_022d: ldloc.2 + IL_022e: ldc.i4.2 + IL_022f: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchMode(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode) + IL_0234: br IL_0245 - IL_003c: nop - IL_003d: ldstr "parentConfig" - IL_0042: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0047: throw - IL_0048: ldarg.0 - IL_0049: ldarg.1 - IL_004a: stfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_004f: ldarg.0 - IL_0050: ldarg.2 - IL_0051: stfld string NAnt.VSNet.VcFileConfiguration::_parentName - IL_0056: ldarg.3 - IL_0057: ldstr "ExcludedFromBuild" - IL_005c: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0061: stloc.0 - IL_0062: ldloc.0 - IL_0063: callvirt instance int32 string::get_Length() - IL_0068: brfalse IL_008e + IL_0239: ldloc.2 + IL_023a: ldc.i4.1 + IL_023b: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchMode(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode) + IL_0240: br IL_0245 - IL_006d: nop - IL_006e: ldarg.0 - IL_006f: ldloc.0 - IL_0070: callvirt instance string string::Trim() - IL_0075: ldstr "true" - IL_007a: ldc.i4.1 - IL_007b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0080: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0085: ldc.i4.0 - IL_0086: ceq - IL_0088: stfld bool NAnt.VSNet.VcFileConfiguration::_excludeFromBuild - IL_008d: nop - IL_008e: ldarg.0 - IL_008f: ldarg.s 4 - IL_0091: stfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0096: ret - } // end of method VcFileConfiguration::.ctor + IL_0245: nop + IL_0246: ldloc.2 + IL_0247: ldloc.0 + IL_0248: callvirt instance valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet class NAnt.VSNet.VcProjectConfiguration::get_CharacterSet() + IL_024d: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_CharacterSet(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet) + IL_0252: ldloc.2 + IL_0253: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_0258: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_025d: brtrue IL_027a - // method line 327 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (string relativePath, string parentName, class NAnt.VSNet.VcProjectConfiguration parentConfig, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xc0b0 - // Code size 97 (0x61) - .maxstack 4 - IL_0000: ldarg.0 - IL_0001: ldarg.3 - IL_0002: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_0007: ldarg.3 - IL_0008: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_000d: ldarg.s 4 - IL_000f: call instance void class NAnt.VSNet.VcConfigurationBase::'.ctor'(string, class NAnt.VSNet.ProjectBase, class [mscorlib]System.IO.DirectoryInfo) - IL_0014: nop - IL_0015: ldarg.1 - IL_0016: brtrue IL_0027 + IL_0262: nop + IL_0263: ldloc.2 + IL_0264: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_0269: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_026e: ldloc.2 + IL_026f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_0274: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0279: nop + IL_027a: ldarg.0 + IL_027b: ldloc.0 + IL_027c: ldarg.3 + IL_027d: ldstr "VCCLCompilerTool" + IL_0282: ldstr "AdditionalIncludeDirectories" + IL_0287: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_028c: stloc.s 6 + IL_028e: ldloc.s 6 + IL_0290: call bool string::IsNullOrEmpty(string) + IL_0295: brtrue IL_0312 - IL_001b: nop - IL_001c: ldstr "relativePath" - IL_0021: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0026: throw - IL_0027: ldarg.2 - IL_0028: brtrue IL_0039 + IL_029a: nop + IL_029b: nop + IL_029c: ldloc.s 6 + IL_029e: ldc.i4.2 + IL_029f: newarr [mscorlib]System.Char + IL_02a4: dup + IL_02a5: ldc.i4.0 + IL_02a6: ldc.i4.s 0x2c + IL_02a8: stelem.i2 + IL_02a9: dup + IL_02aa: ldc.i4.1 + IL_02ab: ldc.i4.s 0x3b + IL_02ad: stelem.i2 + IL_02ae: callvirt instance string[] string::Split(char[]) + IL_02b3: stloc.s 8 + IL_02b5: ldc.i4.0 + IL_02b6: stloc.s 9 + IL_02b8: br IL_0306 - IL_002d: nop - IL_002e: ldstr "parentName" - IL_0033: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0038: throw - IL_0039: ldarg.3 - IL_003a: brtrue IL_004b + IL_02bd: ldloc.s 8 + IL_02bf: ldloc.s 9 + IL_02c1: ldelem.ref + IL_02c2: stloc.s 7 + IL_02c4: nop + IL_02c5: ldloc.s 7 + IL_02c7: callvirt instance int32 string::get_Length() + IL_02cc: brtrue IL_02d7 - IL_003f: nop - IL_0040: ldstr "parentConfig" - IL_0045: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_004a: throw - IL_004b: ldarg.0 - IL_004c: ldarg.1 - IL_004d: stfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_0052: ldarg.0 - IL_0053: ldarg.2 - IL_0054: stfld string NAnt.VSNet.VcFileConfiguration::_parentName - IL_0059: ldarg.0 - IL_005a: ldarg.3 - IL_005b: stfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0060: ret - } // end of method VcFileConfiguration::.ctor + IL_02d1: nop + IL_02d2: br IL_0300 - // method line 328 - .method public hidebysig specialname - instance default bool get_ExcludeFromBuild () cil managed - { - // Method begins at RVA 0xc120 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcFileConfiguration::_excludeFromBuild - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_02d7: ldloc.2 + IL_02d8: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() + IL_02dd: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_02e2: ldarg.0 + IL_02e3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_02e8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02ed: ldloc.s 7 + IL_02ef: call string class NAnt.VSNet.VcProject::CleanPath(string) + IL_02f4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_02f9: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_02fe: pop + IL_02ff: nop + IL_0300: ldloc.s 9 + IL_0302: ldc.i4.1 + IL_0303: add + IL_0304: stloc.s 9 + IL_0306: ldloc.s 9 + IL_0308: ldloc.s 8 + IL_030a: ldlen + IL_030b: conv.i4 + IL_030c: blt IL_02bd - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcFileConfiguration::get_ExcludeFromBuild + IL_0311: nop + IL_0312: ldarg.0 + IL_0313: ldloc.0 + IL_0314: ldarg.3 + IL_0315: ldstr "VCCLCompilerTool" + IL_031a: ldstr "AdditionalUsingDirectories" + IL_031f: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_0324: stloc.s 10 + IL_0326: ldloc.s 10 + IL_0328: call bool string::IsNullOrEmpty(string) + IL_032d: brtrue IL_0393 - // method line 329 - .method public hidebysig specialname - instance default string get_RelativePath () cil managed - { - // Method begins at RVA 0xc13c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0332: nop + IL_0333: nop + IL_0334: ldloc.s 10 + IL_0336: ldc.i4.s 0x3b + IL_0338: ldc.i4.0 + IL_0339: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_033e: stloc.s 12 + IL_0340: ldc.i4.0 + IL_0341: stloc.s 13 + IL_0343: br IL_0387 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcFileConfiguration::get_RelativePath + IL_0348: ldloc.s 12 + IL_034a: ldloc.s 13 + IL_034c: ldelem.ref + IL_034d: stloc.s 11 + IL_034f: nop + IL_0350: ldloc.s 11 + IL_0352: callvirt instance int32 string::get_Length() + IL_0357: brtrue IL_0362 - // method line 330 - .method public virtual hidebysig specialname - instance default string get_RelativeOutputDir () cil managed - { - // Method begins at RVA 0xc158 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0008: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::get_RawRelativeOutputDir() - IL_000d: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_035c: nop + IL_035d: br IL_0381 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method VcFileConfiguration::get_RelativeOutputDir + IL_0362: ldloc.2 + IL_0363: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() + IL_0368: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_036d: ldarg.3 + IL_036e: ldloc.s 11 + IL_0370: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0375: call string class NAnt.VSNet.VcProject::CleanPath(string) + IL_037a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_037f: pop + IL_0380: nop + IL_0381: ldloc.s 13 + IL_0383: ldc.i4.1 + IL_0384: add + IL_0385: stloc.s 13 + IL_0387: ldloc.s 13 + IL_0389: ldloc.s 12 + IL_038b: ldlen + IL_038c: conv.i4 + IL_038d: blt IL_0348 - // method line 331 - .method famorassem virtual hidebysig - instance default string ExpandMacro (string macro) cil managed - { - // Method begins at RVA 0xc180 - // Code size 388 (0x184) - .maxstack 3 - .locals init ( - string V_0, - class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, - int32 V_2, - string V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_0170 + IL_0392: nop + IL_0393: ldarg.0 + IL_0394: ldloc.0 + IL_0395: ldarg.3 + IL_0396: ldstr "VCCLCompilerTool" + IL_039b: ldstr "ForcedUsingFiles" + IL_03a0: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_03a5: stloc.s 14 + IL_03a7: ldloc.s 14 + IL_03a9: call bool string::IsNullOrEmpty(string) + IL_03ae: brtrue IL_0414 - IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcFileConfiguration::'<>f__switch$map1' - IL_0018: brtrue IL_007e + IL_03b3: nop + IL_03b4: nop + IL_03b5: ldloc.s 14 + IL_03b7: ldc.i4.s 0x3b + IL_03b9: ldc.i4.0 + IL_03ba: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_03bf: stloc.s 16 + IL_03c1: ldc.i4.0 + IL_03c2: stloc.s 17 + IL_03c4: br IL_0408 - IL_001d: ldc.i4.7 - IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) - IL_0023: stloc.1 - IL_0024: ldloc.1 - IL_0025: ldstr "inputdir" - IL_002a: ldc.i4.0 - IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0030: ldloc.1 - IL_0031: ldstr "inputname" - IL_0036: ldc.i4.1 - IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_003c: ldloc.1 - IL_003d: ldstr "inputpath" - IL_0042: ldc.i4.2 - IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0048: ldloc.1 - IL_0049: ldstr "inputfilename" - IL_004e: ldc.i4.3 - IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0054: ldloc.1 - IL_0055: ldstr "inputext" - IL_005a: ldc.i4.4 - IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0060: ldloc.1 - IL_0061: ldstr "safeparentname" - IL_0066: ldc.i4.5 - IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_006c: ldloc.1 - IL_006d: ldstr "safeinputname" - IL_0072: ldc.i4.6 - IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0078: ldloc.1 - IL_0079: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcFileConfiguration::'<>f__switch$map1' - IL_007e: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcFileConfiguration::'<>f__switch$map1' - IL_0083: ldloc.0 - IL_0084: ldloca.s 2 - IL_0086: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_008b: brfalse IL_0170 + IL_03c9: ldloc.s 16 + IL_03cb: ldloc.s 17 + IL_03cd: ldelem.ref + IL_03ce: stloc.s 15 + IL_03d0: nop + IL_03d1: ldloc.s 15 + IL_03d3: callvirt instance int32 string::get_Length() + IL_03d8: brtrue IL_03e3 - IL_0090: ldloc.2 - IL_0091: switch ( - IL_00bb, - IL_00f0, - IL_0101, - IL_0122, - IL_0133, - IL_0144, - IL_015f, - IL_0170) - IL_00b6: br IL_0170 + IL_03dd: nop + IL_03de: br IL_0402 - IL_00bb: ldarg.0 - IL_00bc: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_00c1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_00c6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00cb: ldarg.0 - IL_00cc: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_00d1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00d6: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00db: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00e0: box [mscorlib]System.Char - IL_00e5: call string string::Concat(object, object) - IL_00ea: stloc.3 - IL_00eb: br IL_0182 + IL_03e3: ldloc.2 + IL_03e4: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_03e9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_03ee: ldarg.3 + IL_03ef: ldloc.s 15 + IL_03f1: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_03f6: call string class NAnt.VSNet.VcProject::CleanPath(string) + IL_03fb: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0400: pop + IL_0401: nop + IL_0402: ldloc.s 17 + IL_0404: ldc.i4.1 + IL_0405: add + IL_0406: stloc.s 17 + IL_0408: ldloc.s 17 + IL_040a: ldloc.s 16 + IL_040c: ldlen + IL_040d: conv.i4 + IL_040e: blt IL_03c9 - IL_00f0: ldarg.0 - IL_00f1: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_00f6: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_00fb: stloc.3 - IL_00fc: br IL_0182 + IL_0413: nop + IL_0414: nop + IL_0415: ldarg.0 + IL_0416: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_041b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0420: stloc.s 19 + .try { // 1 + IL_0422: br IL_04a9 - IL_0101: ldarg.0 - IL_0102: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0107: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_010c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0111: ldarg.0 - IL_0112: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_0117: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_011c: stloc.3 - IL_011d: br IL_0182 + IL_0427: ldloc.s 19 + IL_0429: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_042e: castclass NAnt.VSNet.ReferenceBase + IL_0433: stloc.s 18 + IL_0435: nop + IL_0436: ldloc.s 18 + IL_0438: ldarg.2 + IL_0439: callvirt instance bool class NAnt.VSNet.ReferenceBase::IsManaged(class NAnt.VSNet.Configuration) + IL_043e: brtrue IL_0449 - IL_0122: ldarg.0 - IL_0123: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_0128: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_012d: stloc.3 - IL_012e: br IL_0182 + IL_0443: nop + IL_0444: leave IL_04a9 - IL_0133: ldarg.0 - IL_0134: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_0139: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_013e: stloc.3 - IL_013f: br IL_0182 + IL_0449: ldloc.s 18 + IL_044b: ldarg.2 + IL_044c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_0451: stloc.s 20 + IL_0453: nop + IL_0454: ldloc.s 20 + IL_0456: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_045b: stloc.s 22 + .try { // 0 + IL_045d: br IL_0480 - IL_0144: ldarg.0 - IL_0145: ldfld string NAnt.VSNet.VcFileConfiguration::_parentName - IL_014a: ldstr " " - IL_014f: ldsfld string [mscorlib]System.String::Empty - IL_0154: callvirt instance string string::Replace(string, string) - IL_0159: stloc.3 - IL_015a: br IL_0182 + IL_0462: ldloc.s 22 + IL_0464: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0469: stloc.s 21 + IL_046b: nop + IL_046c: ldloc.2 + IL_046d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_0472: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0477: ldloc.s 21 + IL_0479: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_047e: pop + IL_047f: nop + IL_0480: ldloc.s 22 + IL_0482: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0487: brtrue IL_0462 - IL_015f: ldarg.0 - IL_0160: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath - IL_0165: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_016a: stloc.3 - IL_016b: br IL_0182 + IL_048c: leave IL_04a8 - IL_0170: ldarg.0 - IL_0171: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0176: ldarg.1 - IL_0177: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacro(string) - IL_017c: stloc.3 - IL_017d: br IL_0182 + } // end .try 0 + finally { // 0 + IL_0491: ldloc.s 22 + IL_0493: isinst [mscorlib]System.IDisposable + IL_0498: dup + IL_0499: stloc.s 23 + IL_049b: brfalse IL_04a7 - IL_0182: ldloc.3 - IL_0183: ret - } // end of method VcFileConfiguration::ExpandMacro + IL_04a0: ldloc.s 23 + IL_04a2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_04a7: endfinally + } // end handler 0 + IL_04a8: nop + IL_04a9: ldloc.s 19 + IL_04ab: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_04b0: brtrue IL_0427 - // method line 332 - .method public virtual hidebysig specialname - instance default string get_IntermediateDir () cil managed - { - // Method begins at RVA 0xc310 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0008: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::get_RawIntermediateDir() - IL_000d: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_04b5: leave IL_04d1 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method VcFileConfiguration::get_IntermediateDir + } // end .try 1 + finally { // 1 + IL_04ba: ldloc.s 19 + IL_04bc: isinst [mscorlib]System.IDisposable + IL_04c1: dup + IL_04c2: stloc.s 24 + IL_04c4: brfalse IL_04d0 - // method line 333 - .method public virtual hidebysig specialname - instance default string get_OutputPath () cil managed - { - // Method begins at RVA 0xc338 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0007: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_04c9: ldloc.s 24 + IL_04cb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_04d0: endfinally + } // end handler 1 + IL_04d1: ldarg.0 + IL_04d2: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() + IL_04d7: stloc.s 26 + IL_04d9: ldloc.s 26 + IL_04db: ldc.i4.s 0x50 + IL_04dd: beq IL_0511 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method VcFileConfiguration::get_OutputPath + IL_04e2: ldloc.s 26 + IL_04e4: ldc.i4.s 0x5a + IL_04e6: beq IL_0505 - // method line 334 - .method public virtual hidebysig specialname - instance default string get_ReferencesPath () cil managed - { - // Method begins at RVA 0xc358 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0008: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::get_RawReferencesPath() - IL_000d: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_04eb: ldloc.s 26 + IL_04ed: ldc.i4.s 0x64 + IL_04ef: beq IL_04f9 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method VcFileConfiguration::get_ReferencesPath + IL_04f4: br IL_051d - // method line 335 - .method public virtual hidebysig - instance default string GetToolSetting (string toolName, string settingName, string projectDefault) cil managed - { - // Method begins at RVA 0xc380 - // Code size 98 (0x62) - .maxstack 6 - .locals init ( - string V_0, - class [mscorlib]System.Collections.Hashtable V_1, - string V_2) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools - IL_0009: ldarg.1 - IL_000a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000f: castclass [mscorlib]System.Collections.Hashtable - IL_0014: stloc.1 - IL_0015: ldloc.1 - IL_0016: brfalse IL_003e + IL_04f9: ldstr "$(IntDir)/vc100.pdb" + IL_04fe: stloc.s 25 + IL_0500: br IL_0529 - IL_001b: nop - IL_001c: ldloc.1 - IL_001d: ldarg.2 - IL_001e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0023: castclass [mscorlib]System.String - IL_0028: stloc.0 - IL_0029: ldloc.0 - IL_002a: brfalse IL_003d + IL_0505: ldstr "$(IntDir)/vc90.pdb" + IL_050a: stloc.s 25 + IL_050c: br IL_0529 - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldloc.0 - IL_0032: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_0037: stloc.2 - IL_0038: br IL_0060 + IL_0511: ldstr "$(IntDir)/vc80.pdb" + IL_0516: stloc.s 25 + IL_0518: br IL_0529 - IL_003d: nop - IL_003e: ldarg.0 - IL_003f: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0044: ldarg.1 - IL_0045: ldarg.2 - IL_0046: ldarg.3 - IL_0047: ldarg.0 - IL_0048: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_004e: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) - IL_0053: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::GetToolSetting(string, string, string, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) - IL_0058: stloc.0 - IL_0059: ldloc.0 - IL_005a: stloc.2 - IL_005b: br IL_0060 + IL_051d: ldstr "$(IntDir)/vc70.pdb" + IL_0522: stloc.s 25 + IL_0524: br IL_0529 - IL_0060: ldloc.2 - IL_0061: ret - } // end of method VcFileConfiguration::GetToolSetting + IL_0529: ldarg.3 + IL_052a: ldstr "VCCLCompilerTool" + IL_052f: ldstr "ProgramDataBaseFileName" + IL_0534: ldloc.s 25 + IL_0536: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_053b: stloc.s 27 + IL_053d: ldloc.s 27 + IL_053f: call bool string::IsNullOrEmpty(string) + IL_0544: brtrue IL_0563 - // method line 336 - .method public virtual hidebysig - instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup) cil managed - { - // Method begins at RVA 0xc3f0 - // Code size 230 (0xe6) - .maxstack 5 - .locals init ( - class NAnt.VSNet.VcConfigurationBase/ExpansionHandler V_0, - class [mscorlib]System.Collections.Hashtable V_1, - class [mscorlib]System.Collections.Hashtable V_2, - valuetype [mscorlib]System.Collections.DictionaryEntry V_3, - class [mscorlib]System.Collections.IDictionaryEnumerator V_4, - string V_5, - class [mscorlib]System.IDisposable V_6, - class [mscorlib]System.Collections.Hashtable V_7) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_0008: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) - IL_000d: stloc.0 - IL_000e: ldarg.0 - IL_000f: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0014: brfalse IL_0030 + IL_0549: nop + IL_054a: ldloc.2 + IL_054b: ldarg.0 + IL_054c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0551: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0556: ldloc.s 27 + IL_0558: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_055d: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_ProgramDatabaseFile(string) + IL_0562: nop + IL_0563: ldloc.2 + IL_0564: ldarg.0 + IL_0565: ldarg.3 + IL_0566: call instance string class NAnt.VSNet.VcProject::GetObjectFile(class NAnt.VSNet.VcConfigurationBase) + IL_056b: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_ObjectFile(string) + IL_0570: ldarg.3 + IL_0571: ldstr "VCCLCompilerTool" + IL_0576: ldstr "AssemblerOutput" + IL_057b: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0580: stloc.s 28 + IL_0582: ldarg.3 + IL_0583: ldstr "VCCLCompilerTool" + IL_0588: ldstr "AssemblerListingLocation" + IL_058d: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0592: stloc.s 29 + IL_0594: ldloc.s 28 + IL_0596: call bool string::IsNullOrEmpty(string) + IL_059b: brtrue IL_05e1 - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig - IL_0020: ldarg.1 - IL_0021: ldarg.2 - IL_0022: ldarg.3 - IL_0023: ldloc.0 - IL_0024: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) - IL_0029: stloc.1 - IL_002a: nop - IL_002b: br IL_0038 + IL_05a0: ldloc.s 28 + IL_05a2: ldstr "0" + IL_05a7: call bool string::op_Inequality(string, string) + IL_05ac: brfalse IL_05e1 - IL_0030: nop - IL_0031: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0036: stloc.1 - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools - IL_003e: ldarg.1 - IL_003f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0044: castclass [mscorlib]System.Collections.Hashtable - IL_0049: stloc.2 - IL_004a: ldloc.2 - IL_004b: brfalse IL_00db + IL_05b1: ldloc.s 29 + IL_05b3: call bool string::IsNullOrEmpty(string) + IL_05b8: brtrue IL_05e1 - IL_0050: nop - IL_0051: nop - IL_0052: ldloc.2 - IL_0053: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0058: stloc.s 4 - .try { // 0 - IL_005a: br IL_00b2 + IL_05bd: nop + IL_05be: ldloc.2 + IL_05bf: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_05c4: ldstr "/Fa\"" + IL_05c9: ldloc.s 29 + IL_05cb: ldstr "\"" + IL_05d0: call string string::Concat(string, string, string) + IL_05d5: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_05da: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_05df: pop + IL_05e0: nop + IL_05e1: nop + IL_05e2: ldarg.1 + IL_05e3: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_05e8: stloc.s 31 + .try { // 2 + IL_05ea: br IL_0622 - IL_005f: ldloc.s 4 - IL_0061: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0066: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_006b: stloc.3 - IL_006c: nop - IL_006d: ldarg.2 - IL_006e: ldloca.s 3 - IL_0070: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0075: castclass [mscorlib]System.String - IL_007a: ldarg.0 - IL_007b: ldloca.s 3 - IL_007d: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0082: castclass [mscorlib]System.String - IL_0087: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_008c: ldarg.3 - IL_008d: callvirt instance string class NAnt.VSNet.VcArgumentMap::GetArgument(string, string, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) - IL_0092: stloc.s 5 - IL_0094: ldloc.s 5 - IL_0096: brfalse IL_00b1 + IL_05ef: ldloc.s 31 + IL_05f1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_05f6: castclass [mscorlib]System.String + IL_05fb: stloc.s 30 + IL_05fd: nop + IL_05fe: ldloc.2 + IL_05ff: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_0604: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0609: ldarg.0 + IL_060a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_060f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0614: ldloc.s 30 + IL_0616: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_061b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0620: pop + IL_0621: nop + IL_0622: ldloc.s 31 + IL_0624: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0629: brtrue IL_05ef - IL_009b: nop - IL_009c: ldloc.1 - IL_009d: ldloca.s 3 - IL_009f: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_00a4: castclass [mscorlib]System.String - IL_00a9: ldloc.s 5 - IL_00ab: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00b0: nop - IL_00b1: nop - IL_00b2: ldloc.s 4 - IL_00b4: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00b9: brtrue IL_005f + IL_062e: leave IL_064a - IL_00be: leave IL_00da + } // end .try 2 + finally { // 2 + IL_0633: ldloc.s 31 + IL_0635: isinst [mscorlib]System.IDisposable + IL_063a: dup + IL_063b: stloc.s 32 + IL_063d: brfalse IL_0649 - } // end .try 0 - finally { // 0 - IL_00c3: ldloc.s 4 - IL_00c5: isinst [mscorlib]System.IDisposable - IL_00ca: dup - IL_00cb: stloc.s 6 - IL_00cd: brfalse IL_00d9 + IL_0642: ldloc.s 32 + IL_0644: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0649: endfinally + } // end handler 2 + IL_064a: ldarg.0 + IL_064b: ldloc.0 + IL_064c: ldarg.3 + IL_064d: ldstr "VCCLCompilerTool" + IL_0652: ldstr "PreprocessorDefinitions" + IL_0657: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_065c: stloc.s 33 + IL_065e: ldloc.s 33 + IL_0660: call bool string::IsNullOrEmpty(string) + IL_0665: brtrue IL_06d4 - IL_00d2: ldloc.s 6 - IL_00d4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d9: endfinally - } // end handler 0 - IL_00da: nop - IL_00db: ldloc.1 - IL_00dc: stloc.s 7 - IL_00de: br IL_00e3 + IL_066a: nop + IL_066b: nop + IL_066c: ldloc.s 33 + IL_066e: ldc.i4.2 + IL_066f: newarr [mscorlib]System.Char + IL_0674: dup + IL_0675: ldc.i4.0 + IL_0676: ldc.i4.s 0x3b + IL_0678: stelem.i2 + IL_0679: dup + IL_067a: ldc.i4.1 + IL_067b: ldc.i4.s 0x2c + IL_067d: stelem.i2 + IL_067e: callvirt instance string[] string::Split(char[]) + IL_0683: stloc.s 35 + IL_0685: ldc.i4.0 + IL_0686: stloc.s 36 + IL_0688: br IL_06c8 - IL_00e3: ldloc.s 7 - IL_00e5: ret - } // end of method VcFileConfiguration::GetToolArguments + IL_068d: ldloc.s 35 + IL_068f: ldloc.s 36 + IL_0691: ldelem.ref + IL_0692: stloc.s 34 + IL_0694: nop + IL_0695: ldloc.s 34 + IL_0697: callvirt instance int32 string::get_Length() + IL_069c: brfalse IL_06c1 - .property instance bool ExcludeFromBuild () - { - .get instance default bool NAnt.VSNet.VcFileConfiguration::get_ExcludeFromBuild () - } - .property instance string RelativePath () - { - .get instance default string NAnt.VSNet.VcFileConfiguration::get_RelativePath () - } - .property instance string RelativeOutputDir () - { - .get instance default string NAnt.VSNet.VcFileConfiguration::get_RelativeOutputDir () - } - .property instance string IntermediateDir () - { - .get instance default string NAnt.VSNet.VcFileConfiguration::get_IntermediateDir () - } - .property instance string OutputPath () - { - .get instance default string NAnt.VSNet.VcFileConfiguration::get_OutputPath () - } - .property instance string ReferencesPath () - { - .get instance default string NAnt.VSNet.VcFileConfiguration::get_ReferencesPath () - } - } // end of class NAnt.VSNet.VcFileConfiguration -} + IL_06a1: nop + IL_06a2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() + IL_06a7: stloc.s 37 + IL_06a9: ldloc.s 37 + IL_06ab: ldloc.s 34 + IL_06ad: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) + IL_06b2: ldloc.2 + IL_06b3: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Defines() + IL_06b8: ldloc.s 37 + IL_06ba: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) + IL_06bf: pop + IL_06c0: nop + IL_06c1: nop + IL_06c2: ldloc.s 36 + IL_06c4: ldc.i4.1 + IL_06c5: add + IL_06c6: stloc.s 36 + IL_06c8: ldloc.s 36 + IL_06ca: ldloc.s 35 + IL_06cc: ldlen + IL_06cd: conv.i4 + IL_06ce: blt IL_068d -.namespace NAnt.VSNet -{ - .class private auto ansi beforefieldinit CSharpProjectProvider - extends [mscorlib]System.Object - implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + IL_06d3: nop + IL_06d4: ldarg.0 + IL_06d5: ldloc.0 + IL_06d6: ldarg.3 + IL_06d7: ldstr "VCCLCompilerTool" + IL_06dc: ldstr "UndefinePreprocessorDefinitions" + IL_06e1: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_06e6: stloc.s 38 + IL_06e8: ldloc.s 38 + IL_06ea: call bool string::IsNullOrEmpty(string) + IL_06ef: brtrue IL_0750 - // method line 337 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xc4f4 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method CSharpProjectProvider::.ctor + IL_06f4: nop + IL_06f5: nop + IL_06f6: ldloc.s 38 + IL_06f8: ldc.i4.2 + IL_06f9: newarr [mscorlib]System.Char + IL_06fe: dup + IL_06ff: ldc.i4.0 + IL_0700: ldc.i4.s 0x3b + IL_0702: stelem.i2 + IL_0703: dup + IL_0704: ldc.i4.1 + IL_0705: ldc.i4.s 0x2c + IL_0707: stelem.i2 + IL_0708: callvirt instance string[] string::Split(char[]) + IL_070d: stloc.s 40 + IL_070f: ldc.i4.0 + IL_0710: stloc.s 41 + IL_0712: br IL_0744 - // method line 338 - .method public final virtual hidebysig newslot - instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed - { - // Method begins at RVA 0xc4fc - // Code size 52 (0x34) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr ".csproj" - IL_0007: call bool string::op_Equality(string, string) - IL_000c: brfalse IL_0018 + IL_0717: ldloc.s 40 + IL_0719: ldloc.s 41 + IL_071b: ldelem.ref + IL_071c: stloc.s 39 + IL_071e: nop + IL_071f: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() + IL_0724: stloc.s 42 + IL_0726: ldloc.s 42 + IL_0728: ldloc.s 39 + IL_072a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) + IL_072f: ldloc.2 + IL_0730: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Undefines() + IL_0735: ldloc.s 42 + IL_0737: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) + IL_073c: pop + IL_073d: nop + IL_073e: ldloc.s 41 + IL_0740: ldc.i4.1 + IL_0741: add + IL_0742: stloc.s 41 + IL_0744: ldloc.s 41 + IL_0746: ldloc.s 40 + IL_0748: ldlen + IL_0749: conv.i4 + IL_074a: blt IL_0717 - IL_0011: ldc.i4.5 - IL_0012: stloc.0 - IL_0013: br IL_0032 + IL_074f: nop + IL_0750: ldarg.3 + IL_0751: ldstr "VCCLCompilerTool" + IL_0756: ldstr "AdditionalOptions" + IL_075b: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0760: stloc.s 43 + IL_0762: ldloc.s 43 + IL_0764: call bool string::IsNullOrEmpty(string) + IL_0769: brtrue IL_07f1 - IL_0018: ldarg.2 - IL_0019: call bool class NAnt.VSNet.CSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) - IL_001e: brfalse IL_002b + IL_076e: nop + IL_076f: ldloc.s 43 + IL_0771: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) + IL_0776: stloc.s 44 + .try { // 3 + IL_0778: nop + IL_0779: ldloc.s 44 + IL_077b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0780: stloc.s 45 + IL_0782: br IL_07d4 - IL_0023: ldc.i4.s 0x0a - IL_0025: stloc.0 - IL_0026: br IL_0032 + IL_0787: nop + IL_0788: nop + IL_0789: ldloc.s 45 + IL_078b: ldc.i4.s 0x20 + IL_078d: ldc.i4.0 + IL_078e: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0793: stloc.s 47 + IL_0795: ldc.i4.0 + IL_0796: stloc.s 48 + IL_0798: br IL_07bf - IL_002b: ldc.i4.0 - IL_002c: stloc.0 - IL_002d: br IL_0032 + IL_079d: ldloc.s 47 + IL_079f: ldloc.s 48 + IL_07a1: ldelem.ref + IL_07a2: stloc.s 46 + IL_07a4: nop + IL_07a5: ldloc.2 + IL_07a6: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_07ab: ldloc.s 46 + IL_07ad: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_07b2: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_07b7: pop + IL_07b8: nop + IL_07b9: ldloc.s 48 + IL_07bb: ldc.i4.1 + IL_07bc: add + IL_07bd: stloc.s 48 + IL_07bf: ldloc.s 48 + IL_07c1: ldloc.s 47 + IL_07c3: ldlen + IL_07c4: conv.i4 + IL_07c5: blt IL_079d - IL_0032: ldloc.0 - IL_0033: ret - } // end of method CSharpProjectProvider::IsSupported + IL_07ca: ldloc.s 44 + IL_07cc: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_07d1: stloc.s 45 + IL_07d3: nop + IL_07d4: ldloc.s 45 + IL_07d6: brtrue IL_0787 - // method line 339 - .method public final virtual hidebysig newslot - instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xc53c - // Code size 27 (0x1b) - .maxstack 8 - .locals init ( - class NAnt.VSNet.ProjectBase V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: ldarg.s 6 - IL_000a: ldarg.s 7 - IL_000c: ldarg.s 8 - IL_000e: newobj instance void class NAnt.VSNet.CSharpProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_07db: nop + IL_07dc: leave IL_07f0 - IL_0019: ldloc.0 - IL_001a: ret - } // end of method CSharpProjectProvider::GetInstance + } // end .try 3 + finally { // 3 + IL_07e1: ldloc.s 44 + IL_07e3: brfalse IL_07ef - // method line 340 - .method public final virtual hidebysig newslot - instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed - { - // Method begins at RVA 0xc564 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlElement) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_07e8: ldloc.s 44 + IL_07ea: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_07ef: endfinally + } // end handler 3 + IL_07f0: nop + IL_07f1: ldarg.3 + IL_07f2: ldstr "VCCLCompilerTool" + IL_07f7: ldstr "ExceptionHandling" + IL_07fc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0801: stloc.s 49 + IL_0803: ldloc.s 49 + IL_0805: brtrue IL_0835 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CSharpProjectProvider::LoadGuid + IL_080a: nop + IL_080b: ldarg.0 + IL_080c: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() + IL_0811: ldc.i4.s 0x50 + IL_0813: blt IL_0826 - } // end of class NAnt.VSNet.CSharpProjectProvider -} + IL_0818: nop + IL_0819: ldstr "2" + IL_081e: stloc.s 49 + IL_0820: nop + IL_0821: br IL_082f -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit VcArgumentMap - extends [mscorlib]System.Object - { - .field private class [mscorlib]System.Collections.Hashtable _htArgs + IL_0826: nop + IL_0827: ldstr "false" + IL_082c: stloc.s 49 + IL_082e: nop + IL_082f: nop + IL_0830: br IL_0840 - // method line 341 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xc57f - // Code size 19 (0x13) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0012: ret - } // end of method VcArgumentMap::.ctor + IL_0835: nop + IL_0836: ldloc.s 49 + IL_0838: callvirt instance string string::ToLower() + IL_083d: stloc.s 49 + IL_083f: nop + IL_0840: ldloc.s 49 + IL_0842: brfalse IL_08dc - // method line 342 - .method public hidebysig - instance default void AddString (string propName, string argName) cil managed - { - // Method begins at RVA 0xc593 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_000a: ret - } // end of method VcArgumentMap::AddString + IL_0847: ldloc.s 49 + IL_0849: ldstr "0" + IL_084e: call bool string::op_Equality(string, string) + IL_0853: brtrue IL_08a1 - // method line 343 - .method public hidebysig - instance default void AddString (string propName, string argName, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xc59f - // Code size 12 (0xc) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: ldarg.3 - IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, bool) - IL_000b: ret - } // end of method VcArgumentMap::AddString + IL_0858: ldloc.s 49 + IL_085a: ldstr "false" + IL_085f: call bool string::op_Equality(string, string) + IL_0864: brtrue IL_08a1 - // method line 344 - .method public hidebysig - instance default void AddString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed - { - // Method begins at RVA 0xc5ac - // Code size 21 (0x15) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) - IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0014: ret - } // end of method VcArgumentMap::AddString + IL_0869: ldloc.s 49 + IL_086b: ldstr "1" + IL_0870: call bool string::op_Equality(string, string) + IL_0875: brtrue IL_08a6 - // method line 345 - .method public hidebysig - instance default void AddString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xc5c2 - // Code size 23 (0x17) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: ldarg.s 4 - IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0016: ret - } // end of method VcArgumentMap::AddString + IL_087a: ldloc.s 49 + IL_087c: ldstr "true" + IL_0881: call bool string::op_Equality(string, string) + IL_0886: brtrue IL_08a6 - // method line 346 - .method public hidebysig - instance default void AddLinkerString (string propName, string argName) cil managed - { - // Method begins at RVA 0xc5da - // Code size 11 (0xb) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_000a: ret - } // end of method VcArgumentMap::AddLinkerString + IL_088b: ldloc.s 49 + IL_088d: ldstr "2" + IL_0892: call bool string::op_Equality(string, string) + IL_0897: brtrue IL_08c1 - // method line 347 - .method public hidebysig - instance default void AddLinkerString (string propName, string argName, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xc5e6 - // Code size 12 (0xc) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: ldarg.3 - IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, bool) - IL_000b: ret - } // end of method VcArgumentMap::AddLinkerString + IL_089c: br IL_08dc - // method line 348 - .method public hidebysig - instance default void AddLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed - { - // Method begins at RVA 0xc5f3 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/LinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) - IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0014: ret - } // end of method VcArgumentMap::AddLinkerString + IL_08a1: br IL_08dc - // method line 349 - .method public hidebysig - instance default void AddLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xc609 - // Code size 23 (0x17) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: ldarg.s 4 - IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/LinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0016: ret - } // end of method VcArgumentMap::AddLinkerString + IL_08a6: ldloc.2 + IL_08a7: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_08ac: ldstr "/EHsc" + IL_08b1: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_08b6: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_08bb: pop + IL_08bc: br IL_08dc - // method line 350 - .method public hidebysig - instance default void AddQuotedLinkerString (string propName, string argName) cil managed - { - // Method begins at RVA 0xc621 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_000a: ret - } // end of method VcArgumentMap::AddQuotedLinkerString + IL_08c1: ldloc.2 + IL_08c2: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_08c7: ldstr "/EHa" + IL_08cc: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_08d1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_08d6: pop + IL_08d7: br IL_08dc - // method line 351 - .method public hidebysig - instance default void AddQuotedLinkerString (string propName, string argName, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xc62d - // Code size 12 (0xc) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: ldarg.3 - IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, bool) - IL_000b: ret - } // end of method VcArgumentMap::AddQuotedLinkerString + IL_08dc: ldarg.3 + IL_08dd: ldstr "VCCLCompilerTool" + IL_08e2: ldstr "BrowseInformation" + IL_08e7: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_08ec: stloc.s 50 + IL_08ee: ldloc.s 50 + IL_08f0: call bool string::IsNullOrEmpty(string) + IL_08f5: brtrue IL_0a19 - // method line 352 - .method public hidebysig - instance default void AddQuotedLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed - { - // Method begins at RVA 0xc63a - // Code size 21 (0x15) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/QuotedLinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) - IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0014: ret - } // end of method VcArgumentMap::AddQuotedLinkerString + IL_08fa: ldloc.s 50 + IL_08fc: ldstr "0" + IL_0901: call bool string::op_Inequality(string, string) + IL_0906: brfalse IL_0a19 - // method line 353 - .method public hidebysig - instance default void AddQuotedLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xc650 - // Code size 23 (0x17) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: ldarg.s 4 - IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/QuotedLinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0016: ret - } // end of method VcArgumentMap::AddQuotedLinkerString + IL_090b: nop + IL_090c: ldarg.3 + IL_090d: ldstr "VCCLCompilerTool" + IL_0912: ldstr "BrowseInformationFile" + IL_0917: ldstr "$(IntDir)/" + IL_091c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_0921: stloc.s 51 + IL_0923: ldloc.s 51 + IL_0925: call bool string::IsNullOrEmpty(string) + IL_092a: brtrue IL_09b2 - // method line 354 - .method public hidebysig - instance default void AddBool (string propName, string argName) cil managed - { - // Method begins at RVA 0xc668 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_000a: ret - } // end of method VcArgumentMap::AddBool + IL_092f: nop + IL_0930: ldloc.s 50 + IL_0932: brfalse IL_09ac - // method line 355 - .method public hidebysig - instance default void AddBool (string propName, string argName, string match) cil managed - { - // Method begins at RVA 0xc674 - // Code size 12 (0xc) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: ldarg.3 - IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, string) - IL_000b: ret - } // end of method VcArgumentMap::AddBool + IL_0937: ldloc.s 50 + IL_0939: ldstr "1" + IL_093e: call bool string::op_Equality(string, string) + IL_0943: brtrue IL_095e - // method line 356 - .method public hidebysig - instance default void AddBool (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed - { - // Method begins at RVA 0xc681 - // Code size 21 (0x15) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/VcBoolArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) - IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0014: ret - } // end of method VcArgumentMap::AddBool + IL_0948: ldloc.s 50 + IL_094a: ldstr "2" + IL_094f: call bool string::op_Equality(string, string) + IL_0954: brtrue IL_0985 - // method line 357 - .method public hidebysig - instance default void AddBool (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, string match) cil managed - { - // Method begins at RVA 0xc697 - // Code size 23 (0x17) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: ldarg.s 4 - IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/VcBoolArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0016: ret - } // end of method VcArgumentMap::AddBool + IL_0959: br IL_09ac - // method line 358 - .method public hidebysig - instance default void AddEnum (string propName, string argName, string[] values) cil managed - { - .param [3] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_095e: ldloc.2 + IL_095f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0964: ldstr "/FR\"" + IL_0969: ldloc.s 51 + IL_096b: ldstr "\"" + IL_0970: call string string::Concat(string, string, string) + IL_0975: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_097a: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_097f: pop + IL_0980: br IL_09ac - // Method begins at RVA 0xc6af - // Code size 12 (0xc) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: ldarg.1 - IL_0004: ldarg.2 - IL_0005: ldarg.3 - IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddEnum(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, string[]) - IL_000b: ret - } // end of method VcArgumentMap::AddEnum + IL_0985: ldloc.2 + IL_0986: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_098b: ldstr "/Fr\"" + IL_0990: ldloc.s 51 + IL_0992: ldstr "\"" + IL_0997: call string string::Concat(string, string, string) + IL_099c: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_09a1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_09a6: pop + IL_09a7: br IL_09ac - // method line 359 - .method public hidebysig - instance default void AddEnum (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, string[] values) cil managed - { - .param [4] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_09ac: nop + IL_09ad: br IL_0a18 - // Method begins at RVA 0xc6bc - // Code size 23 (0x17) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.2 - IL_0008: ldarg.1 - IL_0009: ldarg.3 - IL_000a: ldarg.s 4 - IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/VcEnumArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string[]) - IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0016: ret - } // end of method VcArgumentMap::AddEnum + IL_09b2: nop + IL_09b3: ldloc.s 50 + IL_09b5: brfalse IL_0a17 - // method line 360 - .method public hidebysig - instance default string GetArgument (string propName, string propValue, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup useIgnoreGroup) cil managed - { - // Method begins at RVA 0xc6d4 - // Code size 80 (0x50) - .maxstack 2 - .locals init ( - class NAnt.VSNet.VcArgumentMap/VcArgument V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000d: castclass NAnt.VSNet.VcArgumentMap/VcArgument - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brtrue IL_0021 + IL_09ba: ldloc.s 50 + IL_09bc: ldstr "1" + IL_09c1: call bool string::op_Equality(string, string) + IL_09c6: brtrue IL_09e1 - IL_0019: nop - IL_001a: ldnull - IL_001b: stloc.1 - IL_001c: br IL_004e + IL_09cb: ldloc.s 50 + IL_09cd: ldstr "2" + IL_09d2: call bool string::op_Equality(string, string) + IL_09d7: brtrue IL_09fc - IL_0021: ldloc.0 - IL_0022: callvirt instance valuetype NAnt.VSNet.VcArgumentMap/ArgGroup class NAnt.VSNet.VcArgumentMap/VcArgument::get_Group() - IL_0027: brfalse IL_0041 + IL_09dc: br IL_0a17 - IL_002c: ldloc.0 - IL_002d: callvirt instance valuetype NAnt.VSNet.VcArgumentMap/ArgGroup class NAnt.VSNet.VcArgumentMap/VcArgument::get_Group() - IL_0032: ldarg.3 - IL_0033: and - IL_0034: brfalse IL_0041 + IL_09e1: ldloc.2 + IL_09e2: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_09e7: ldstr "/FR" + IL_09ec: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_09f1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_09f6: pop + IL_09f7: br IL_0a17 - IL_0039: nop - IL_003a: ldnull - IL_003b: stloc.1 - IL_003c: br IL_004e + IL_09fc: ldloc.2 + IL_09fd: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0a02: ldstr "/Fr" + IL_0a07: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0a0c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0a11: pop + IL_0a12: br IL_0a17 - IL_0041: ldloc.0 - IL_0042: ldarg.2 - IL_0043: callvirt instance string class NAnt.VSNet.VcArgumentMap/VcArgument::MapValue(string) - IL_0048: stloc.1 - IL_0049: br IL_004e + IL_0a17: nop + IL_0a18: nop + IL_0a19: ldloc.0 + IL_0a1a: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_0a1f: ldc.i4.2 + IL_0a20: bne.un IL_0a53 - IL_004e: ldloc.1 - IL_004f: ret - } // end of method VcArgumentMap::GetArgument + IL_0a25: nop + IL_0a26: ldloc.2 + IL_0a27: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0a2c: ldstr "/D" + IL_0a31: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0a36: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0a3b: pop + IL_0a3c: ldloc.2 + IL_0a3d: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0a42: ldstr "_WINDLL" + IL_0a47: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0a4c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0a51: pop + IL_0a52: nop + IL_0a53: ldloc.0 + IL_0a54: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_WholeProgramOptimization() + IL_0a59: brfalse IL_0a76 - // method line 361 - .method public static hidebysig - default class NAnt.VSNet.VcArgumentMap CreateCLArgumentMap () cil managed - { - // Method begins at RVA 0xc730 - // Code size 1044 (0x414) - .maxstack 8 - .locals init ( - class NAnt.VSNet.VcArgumentMap V_0, - class NAnt.VSNet.VcArgumentMap V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.VSNet.VcArgumentMap::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldstr "DebugInformationFormat" - IL_000d: ldnull - IL_000e: ldc.i4.5 - IL_000f: newarr [mscorlib]System.String - IL_0014: dup - IL_0015: ldc.i4.1 - IL_0016: ldstr "/Z7" - IL_001b: stelem.ref - IL_001c: dup - IL_001d: ldc.i4.2 - IL_001e: ldstr "/Zd" - IL_0023: stelem.ref - IL_0024: dup - IL_0025: ldc.i4.3 - IL_0026: ldstr "/Zi" - IL_002b: stelem.ref - IL_002c: dup - IL_002d: ldc.i4.4 - IL_002e: ldstr "/ZI" - IL_0033: stelem.ref - IL_0034: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0039: ldloc.0 - IL_003a: ldstr "CompileAsManaged" - IL_003f: ldnull - IL_0040: ldc.i4.3 - IL_0041: newarr [mscorlib]System.String - IL_0046: dup - IL_0047: ldc.i4.2 - IL_0048: ldstr "/clr" - IL_004d: stelem.ref - IL_004e: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0053: ldloc.0 - IL_0054: ldstr "WarningLevel" - IL_0059: ldnull - IL_005a: ldc.i4.5 - IL_005b: newarr [mscorlib]System.String - IL_0060: dup - IL_0061: ldc.i4.0 - IL_0062: ldstr "/W0" - IL_0067: stelem.ref - IL_0068: dup - IL_0069: ldc.i4.1 - IL_006a: ldstr "/W1" - IL_006f: stelem.ref - IL_0070: dup - IL_0071: ldc.i4.2 - IL_0072: ldstr "/W2" - IL_0077: stelem.ref - IL_0078: dup - IL_0079: ldc.i4.3 - IL_007a: ldstr "/W3" - IL_007f: stelem.ref - IL_0080: dup - IL_0081: ldc.i4.4 - IL_0082: ldstr "/W4" - IL_0087: stelem.ref - IL_0088: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_008d: ldloc.0 - IL_008e: ldstr "Detect64BitPortabilityProblems" - IL_0093: ldstr "/Wp64" - IL_0098: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_009d: ldloc.0 - IL_009e: ldstr "WarnAsError" - IL_00a3: ldstr "/WX" - IL_00a8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_00ad: ldloc.0 - IL_00ae: ldstr "Optimization" - IL_00b3: ldnull - IL_00b4: ldc.i4.4 - IL_00b5: newarr [mscorlib]System.String - IL_00ba: dup - IL_00bb: ldc.i4.0 - IL_00bc: ldstr "/Od" - IL_00c1: stelem.ref - IL_00c2: dup - IL_00c3: ldc.i4.1 - IL_00c4: ldstr "/O1" - IL_00c9: stelem.ref - IL_00ca: dup - IL_00cb: ldc.i4.2 - IL_00cc: ldstr "/O2" - IL_00d1: stelem.ref - IL_00d2: dup - IL_00d3: ldc.i4.3 - IL_00d4: ldstr "/Ox" - IL_00d9: stelem.ref - IL_00da: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_00df: ldloc.0 - IL_00e0: ldc.i4.1 - IL_00e1: ldstr "GlobalOptimizations" - IL_00e6: ldstr "/Og" - IL_00eb: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_00f0: ldloc.0 - IL_00f1: ldc.i4.1 - IL_00f2: ldstr "InlineFunctionExpansion" - IL_00f7: ldnull - IL_00f8: ldc.i4.3 - IL_00f9: newarr [mscorlib]System.String - IL_00fe: dup - IL_00ff: ldc.i4.0 - IL_0100: ldstr "/Ob0" - IL_0105: stelem.ref - IL_0106: dup - IL_0107: ldc.i4.1 - IL_0108: ldstr "/Ob1" - IL_010d: stelem.ref - IL_010e: dup - IL_010f: ldc.i4.2 - IL_0110: ldstr "/Ob2" - IL_0115: stelem.ref - IL_0116: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, string[]) - IL_011b: ldloc.0 - IL_011c: ldc.i4.1 - IL_011d: ldstr "EnableIntrinsicFunctions" - IL_0122: ldstr "/Oi" - IL_0127: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_012c: ldloc.0 - IL_012d: ldstr "ImproveFloatingPointConsistency" - IL_0132: ldstr "/Op" - IL_0137: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_013c: ldloc.0 - IL_013d: ldstr "FavorSizeOrSpeed" - IL_0142: ldnull - IL_0143: ldc.i4.3 - IL_0144: newarr [mscorlib]System.String - IL_0149: dup - IL_014a: ldc.i4.1 - IL_014b: ldstr "/Ot" - IL_0150: stelem.ref - IL_0151: dup - IL_0152: ldc.i4.2 - IL_0153: ldstr "/Os" - IL_0158: stelem.ref - IL_0159: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_015e: ldloc.0 - IL_015f: ldc.i4.1 - IL_0160: ldstr "OmitFramePointers" - IL_0165: ldstr "/Oy" - IL_016a: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_016f: ldloc.0 - IL_0170: ldstr "EnableFiberSafeOptimizations" - IL_0175: ldstr "/GT" - IL_017a: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_017f: ldloc.0 - IL_0180: ldstr "OptimizeForProcessor" - IL_0185: ldnull - IL_0186: ldc.i4.4 - IL_0187: newarr [mscorlib]System.String - IL_018c: dup - IL_018d: ldc.i4.1 - IL_018e: ldstr "/G5" - IL_0193: stelem.ref - IL_0194: dup - IL_0195: ldc.i4.2 - IL_0196: ldstr "/G6" - IL_019b: stelem.ref - IL_019c: dup - IL_019d: ldc.i4.3 - IL_019e: ldstr "/G7" - IL_01a3: stelem.ref - IL_01a4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_01a9: ldloc.0 - IL_01aa: ldstr "OptimizeForWindowsApplication" - IL_01af: ldstr "/GA" - IL_01b4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_01b9: ldloc.0 - IL_01ba: ldstr "IgnoreStandardIncludePath" - IL_01bf: ldstr "/X" - IL_01c4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_01c9: ldloc.0 - IL_01ca: ldstr "GeneratePreprocessedFile" - IL_01cf: ldnull - IL_01d0: ldc.i4.3 - IL_01d1: newarr [mscorlib]System.String - IL_01d6: dup - IL_01d7: ldc.i4.1 - IL_01d8: ldstr "/P" - IL_01dd: stelem.ref - IL_01de: dup - IL_01df: ldc.i4.2 - IL_01e0: ldstr "/EP /P" - IL_01e5: stelem.ref - IL_01e6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_01eb: ldloc.0 - IL_01ec: ldstr "KeepComments" - IL_01f1: ldstr "/C" - IL_01f6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_01fb: ldloc.0 - IL_01fc: ldc.i4.1 - IL_01fd: ldstr "StringPooling" - IL_0202: ldstr "/GF" - IL_0207: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_020c: ldloc.0 - IL_020d: ldstr "MinimalRebuild" - IL_0212: ldstr "/Gm" - IL_0217: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_021c: ldloc.0 - IL_021d: ldstr "SmallerTypeCheck" - IL_0222: ldstr "/RTCc" - IL_0227: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_022c: ldloc.0 - IL_022d: ldstr "BasicRuntimeChecks" - IL_0232: ldnull - IL_0233: ldc.i4.4 - IL_0234: newarr [mscorlib]System.String - IL_0239: dup - IL_023a: ldc.i4.1 - IL_023b: ldstr "/RTCs" - IL_0240: stelem.ref - IL_0241: dup - IL_0242: ldc.i4.2 - IL_0243: ldstr "/RTCu" - IL_0248: stelem.ref - IL_0249: dup - IL_024a: ldc.i4.3 - IL_024b: ldstr "/RTC1" - IL_0250: stelem.ref - IL_0251: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0256: ldloc.0 - IL_0257: ldstr "RuntimeLibrary" - IL_025c: ldnull - IL_025d: ldc.i4.6 - IL_025e: newarr [mscorlib]System.String - IL_0263: dup - IL_0264: ldc.i4.0 - IL_0265: ldstr "/MT" - IL_026a: stelem.ref - IL_026b: dup - IL_026c: ldc.i4.1 - IL_026d: ldstr "/MTd" - IL_0272: stelem.ref - IL_0273: dup - IL_0274: ldc.i4.2 - IL_0275: ldstr "/MD" - IL_027a: stelem.ref - IL_027b: dup - IL_027c: ldc.i4.3 - IL_027d: ldstr "/MDd" - IL_0282: stelem.ref - IL_0283: dup - IL_0284: ldc.i4.4 - IL_0285: ldstr "/ML" - IL_028a: stelem.ref - IL_028b: dup - IL_028c: ldc.i4.5 - IL_028d: ldstr "/MLd" - IL_0292: stelem.ref - IL_0293: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0298: ldloc.0 - IL_0299: ldstr "StructMemberAlignment" - IL_029e: ldnull - IL_029f: ldc.i4.6 - IL_02a0: newarr [mscorlib]System.String - IL_02a5: dup - IL_02a6: ldc.i4.1 - IL_02a7: ldstr "/Zp1" - IL_02ac: stelem.ref - IL_02ad: dup - IL_02ae: ldc.i4.2 - IL_02af: ldstr "/Zp2" - IL_02b4: stelem.ref - IL_02b5: dup - IL_02b6: ldc.i4.3 - IL_02b7: ldstr "/Zp4" - IL_02bc: stelem.ref - IL_02bd: dup - IL_02be: ldc.i4.4 - IL_02bf: ldstr "/Zp8" - IL_02c4: stelem.ref - IL_02c5: dup - IL_02c6: ldc.i4.5 - IL_02c7: ldstr "/Zp16" - IL_02cc: stelem.ref - IL_02cd: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_02d2: ldloc.0 - IL_02d3: ldstr "BufferSecurityCheck" - IL_02d8: ldstr "/GS" - IL_02dd: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_02e2: ldloc.0 - IL_02e3: ldc.i4.1 - IL_02e4: ldstr "EnableFunctionLevelLinking" - IL_02e9: ldstr "/Gy" - IL_02ee: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_02f3: ldloc.0 - IL_02f4: ldstr "EnableEnhancedInstructionSet" - IL_02f9: ldnull - IL_02fa: ldc.i4.3 - IL_02fb: newarr [mscorlib]System.String - IL_0300: dup - IL_0301: ldc.i4.1 - IL_0302: ldstr "/arch:SSE" - IL_0307: stelem.ref - IL_0308: dup - IL_0309: ldc.i4.2 - IL_030a: ldstr "/arch:SSE2" - IL_030f: stelem.ref - IL_0310: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0315: ldloc.0 - IL_0316: ldstr "DisableLanguageExtensions" - IL_031b: ldstr "/Za" - IL_0320: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0325: ldloc.0 - IL_0326: ldstr "DefaultCharIsUnsigned" - IL_032b: ldstr "/J" - IL_0330: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0335: ldloc.0 - IL_0336: ldstr "TreatWChar_tAsBuiltInType" - IL_033b: ldstr "/Zc:wchar_t" - IL_0340: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0345: ldloc.0 - IL_0346: ldstr "ForceConformanceInForLoopScope" - IL_034b: ldstr "/Zc:forScope" - IL_0350: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0355: ldloc.0 - IL_0356: ldstr "RuntimeTypeInfo" - IL_035b: ldstr "/GR" - IL_0360: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0365: ldloc.0 - IL_0366: ldstr "ExpandAttributedSource" - IL_036b: ldstr "/Fx" - IL_0370: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0375: ldloc.0 - IL_0376: ldstr "AssemblerOutput" - IL_037b: ldnull - IL_037c: ldc.i4.5 - IL_037d: newarr [mscorlib]System.String - IL_0382: dup - IL_0383: ldc.i4.1 - IL_0384: ldstr "/FA" - IL_0389: stelem.ref - IL_038a: dup - IL_038b: ldc.i4.2 - IL_038c: ldstr "/FAcs" - IL_0391: stelem.ref - IL_0392: dup - IL_0393: ldc.i4.3 - IL_0394: ldstr "/FAc" - IL_0399: stelem.ref - IL_039a: dup - IL_039b: ldc.i4.4 - IL_039c: ldstr "/FAs" - IL_03a1: stelem.ref - IL_03a2: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_03a7: ldloc.0 - IL_03a8: ldstr "CallingConvention" - IL_03ad: ldnull - IL_03ae: ldc.i4.3 - IL_03af: newarr [mscorlib]System.String - IL_03b4: dup - IL_03b5: ldc.i4.1 - IL_03b6: ldstr "/Gr" - IL_03bb: stelem.ref - IL_03bc: dup - IL_03bd: ldc.i4.2 - IL_03be: ldstr "/Gz" - IL_03c3: stelem.ref - IL_03c4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_03c9: ldloc.0 - IL_03ca: ldstr "CompileAs" - IL_03cf: ldnull - IL_03d0: ldc.i4.3 - IL_03d1: newarr [mscorlib]System.String - IL_03d6: dup - IL_03d7: ldc.i4.1 - IL_03d8: ldstr "/TC" - IL_03dd: stelem.ref - IL_03de: dup - IL_03df: ldc.i4.2 - IL_03e0: ldstr "/TP" - IL_03e5: stelem.ref - IL_03e6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_03eb: ldloc.0 - IL_03ec: ldstr "ShowIncludes" - IL_03f1: ldstr "/showIncludes" - IL_03f6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_03fb: ldloc.0 - IL_03fc: ldstr "UndefineAllPreprocessorDefinitions" - IL_0401: ldstr "/u" - IL_0406: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_040b: ldloc.0 - IL_040c: stloc.1 - IL_040d: br IL_0412 - - IL_0412: ldloc.1 - IL_0413: ret - } // end of method VcArgumentMap::CreateCLArgumentMap - - // method line 362 - .method public static hidebysig - default class NAnt.VSNet.VcArgumentMap CreateLinkerArgumentMap () cil managed - { - // Method begins at RVA 0xcb50 - // Code size 693 (0x2b5) - .maxstack 7 - .locals init ( - class NAnt.VSNet.VcArgumentMap V_0, - class NAnt.VSNet.VcArgumentMap V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.VSNet.VcArgumentMap::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldstr "LinkIncremental" - IL_000d: ldnull - IL_000e: ldc.i4.3 - IL_000f: newarr [mscorlib]System.String - IL_0014: dup - IL_0015: ldc.i4.1 - IL_0016: ldstr "/INCREMENTAL:NO" - IL_001b: stelem.ref - IL_001c: dup - IL_001d: ldc.i4.2 - IL_001e: ldstr "/INCREMENTAL" - IL_0023: stelem.ref - IL_0024: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0029: ldloc.0 - IL_002a: ldstr "Version" - IL_002f: ldstr "/VERSION:" - IL_0034: ldc.i4.1 - IL_0035: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(string, string, bool) - IL_003a: ldloc.0 - IL_003b: ldstr "IgnoreAllDefaultLibraries" - IL_0040: ldstr "/NODEFAULTLIB" - IL_0045: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_004a: ldloc.0 - IL_004b: ldstr "ModuleDefinitionFile" - IL_0050: ldstr "/DEF:" - IL_0055: ldc.i4.1 - IL_0056: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_005b: ldloc.0 - IL_005c: ldstr "StripPrivateSymbols" - IL_0061: ldstr "/PDBSTRIPPED:" - IL_0066: ldc.i4.1 - IL_0067: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_006c: ldloc.0 - IL_006d: ldstr "MapExports" - IL_0072: ldstr "/MAPINFO:EXPORTS" - IL_0077: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_007c: ldloc.0 - IL_007d: ldstr "MapLines" - IL_0082: ldstr "/MAPINFO:LINES" - IL_0087: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_008c: ldloc.0 - IL_008d: ldstr "AssemblyDebug" - IL_0092: ldnull - IL_0093: ldc.i4.3 - IL_0094: newarr [mscorlib]System.String - IL_0099: dup - IL_009a: ldc.i4.1 - IL_009b: ldstr "/ASSEMBLYDEBUG" - IL_00a0: stelem.ref - IL_00a1: dup - IL_00a2: ldc.i4.2 - IL_00a3: ldstr "/ASSEMBLYDEBUG:DISABLE" - IL_00a8: stelem.ref - IL_00a9: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_00ae: ldloc.0 - IL_00af: ldstr "SubSystem" - IL_00b4: ldstr "/SUBSYSTEM:" - IL_00b9: ldc.i4.3 - IL_00ba: newarr [mscorlib]System.String - IL_00bf: dup - IL_00c0: ldc.i4.1 - IL_00c1: ldstr "CONSOLE" - IL_00c6: stelem.ref - IL_00c7: dup - IL_00c8: ldc.i4.2 - IL_00c9: ldstr "WINDOWS" - IL_00ce: stelem.ref - IL_00cf: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_00d4: ldloc.0 - IL_00d5: ldstr "LargeAddressAware" - IL_00da: ldnull - IL_00db: ldc.i4.3 - IL_00dc: newarr [mscorlib]System.String - IL_00e1: dup - IL_00e2: ldc.i4.1 - IL_00e3: ldstr "/LARGEADDRESSAWARE:NO" - IL_00e8: stelem.ref - IL_00e9: dup - IL_00ea: ldc.i4.2 - IL_00eb: ldstr "/LARGEADDRESSAWARE" - IL_00f0: stelem.ref - IL_00f1: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_00f6: ldloc.0 - IL_00f7: ldstr "TerminalServerAware" - IL_00fc: ldnull - IL_00fd: ldc.i4.3 - IL_00fe: newarr [mscorlib]System.String - IL_0103: dup - IL_0104: ldc.i4.1 - IL_0105: ldstr "/TSAWARE:NO" - IL_010a: stelem.ref - IL_010b: dup - IL_010c: ldc.i4.2 - IL_010d: ldstr "/TSAWARE" - IL_0112: stelem.ref - IL_0113: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0118: ldloc.0 - IL_0119: ldstr "SwapRunFromCD" - IL_011e: ldstr "/SWAPRUN:CD" - IL_0123: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0128: ldloc.0 - IL_0129: ldstr "SwapRunFromNet" - IL_012e: ldstr "/SWAPRUN:NET" - IL_0133: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0138: ldloc.0 - IL_0139: ldstr "OptimizeReferences" - IL_013e: ldstr "/OPT:" - IL_0143: ldc.i4.3 - IL_0144: newarr [mscorlib]System.String - IL_0149: dup - IL_014a: ldc.i4.1 - IL_014b: ldstr "NOREF" - IL_0150: stelem.ref - IL_0151: dup - IL_0152: ldc.i4.2 - IL_0153: ldstr "REF" - IL_0158: stelem.ref - IL_0159: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_015e: ldloc.0 - IL_015f: ldstr "EnableCOMDATFolding" - IL_0164: ldstr "/OPT:" - IL_0169: ldc.i4.3 - IL_016a: newarr [mscorlib]System.String - IL_016f: dup - IL_0170: ldc.i4.1 - IL_0171: ldstr "NOICF" - IL_0176: stelem.ref - IL_0177: dup - IL_0178: ldc.i4.2 - IL_0179: ldstr "ICF" - IL_017e: stelem.ref - IL_017f: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0184: ldloc.0 - IL_0185: ldstr "OptimizeForWindows98" - IL_018a: ldstr "/OPT:" - IL_018f: ldc.i4.3 - IL_0190: newarr [mscorlib]System.String - IL_0195: dup - IL_0196: ldc.i4.1 - IL_0197: ldstr "NOWIN98" - IL_019c: stelem.ref - IL_019d: dup - IL_019e: ldc.i4.2 - IL_019f: ldstr "WIN98" - IL_01a4: stelem.ref - IL_01a5: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_01aa: ldloc.0 - IL_01ab: ldstr "FunctionOrder" - IL_01b0: ldstr "/ORDER:" - IL_01b5: ldc.i4.1 - IL_01b6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_01bb: ldloc.0 - IL_01bc: ldstr "IgnoreEmbeddedIDL" - IL_01c1: ldstr "/IGNOREIDL" - IL_01c6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_01cb: ldloc.0 - IL_01cc: ldstr "MergedIDLBaseFileName" - IL_01d1: ldstr "/IDLOUT:" - IL_01d6: ldc.i4.1 - IL_01d7: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_01dc: ldloc.0 - IL_01dd: ldstr "TypeLibraryFile" - IL_01e2: ldstr "/TLBOUT:" - IL_01e7: ldc.i4.1 - IL_01e8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_01ed: ldloc.0 - IL_01ee: ldstr "TypeLibraryResourceID" - IL_01f3: ldstr "/TLBID:" - IL_01f8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(string, string) - IL_01fd: ldloc.0 - IL_01fe: ldstr "EntryPointSymbol" - IL_0203: ldstr "/ENTRY:" - IL_0208: ldc.i4.1 - IL_0209: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_020e: ldloc.0 - IL_020f: ldstr "ResourceOnlyDLL" - IL_0214: ldstr "/NOENTRY" - IL_0219: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_021e: ldloc.0 - IL_021f: ldstr "SetChecksum" - IL_0224: ldstr "/RELEASE" - IL_0229: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_022e: ldloc.0 - IL_022f: ldstr "BaseAddress" - IL_0234: ldstr "/BASE:" - IL_0239: ldc.i4.1 - IL_023a: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_023f: ldloc.0 - IL_0240: ldstr "FixedBaseAddress" - IL_0245: ldnull - IL_0246: ldc.i4.3 - IL_0247: newarr [mscorlib]System.String - IL_024c: dup - IL_024d: ldc.i4.1 - IL_024e: ldstr "/FIXED:NO" - IL_0253: stelem.ref - IL_0254: dup - IL_0255: ldc.i4.2 - IL_0256: ldstr "/FIXED" - IL_025b: stelem.ref - IL_025c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0261: ldloc.0 - IL_0262: ldstr "TurnOffAssemblyGeneration" - IL_0267: ldstr "/NOASSEMBLY" - IL_026c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0271: ldloc.0 - IL_0272: ldstr "SupportUnloadOfDelayLoadedDLL" - IL_0277: ldstr "/DELAY:UNLOAD" - IL_027c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0281: ldloc.0 - IL_0282: ldstr "MergeSections" - IL_0287: ldstr "/MERGE:" - IL_028c: ldc.i4.1 - IL_028d: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) - IL_0292: ldloc.0 - IL_0293: ldstr "TargetMachine" - IL_0298: ldnull - IL_0299: ldc.i4.2 - IL_029a: newarr [mscorlib]System.String - IL_029f: dup - IL_02a0: ldc.i4.1 - IL_02a1: ldstr "/MACHINE:X86" - IL_02a6: stelem.ref - IL_02a7: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_02ac: ldloc.0 - IL_02ad: stloc.1 - IL_02ae: br IL_02b3 - - IL_02b3: ldloc.1 - IL_02b4: ret - } // end of method VcArgumentMap::CreateLinkerArgumentMap - - // method line 363 - .method public static hidebysig - default class NAnt.VSNet.VcArgumentMap CreateMidlArgumentMap () cil managed - { - // Method begins at RVA 0xce14 - // Code size 419 (0x1a3) - .maxstack 7 - .locals init ( - class NAnt.VSNet.VcArgumentMap V_0, - class NAnt.VSNet.VcArgumentMap V_1) - IL_0000: nop - IL_0001: newobj instance void class NAnt.VSNet.VcArgumentMap::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldstr "IgnoreStandardIncludePath" - IL_000d: ldstr "/no_def_idir" - IL_0012: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0017: ldloc.0 - IL_0018: ldstr "MkTypLibCompatible" - IL_001d: ldstr "/mktyplib203" - IL_0022: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0027: ldloc.0 - IL_0028: ldstr "WarningLevel" - IL_002d: ldnull - IL_002e: ldc.i4.5 - IL_002f: newarr [mscorlib]System.String - IL_0034: dup - IL_0035: ldc.i4.0 - IL_0036: ldstr "/W0" - IL_003b: stelem.ref - IL_003c: dup - IL_003d: ldc.i4.1 - IL_003e: ldstr "/W1" - IL_0043: stelem.ref - IL_0044: dup - IL_0045: ldc.i4.2 - IL_0046: ldstr "/W2" - IL_004b: stelem.ref - IL_004c: dup - IL_004d: ldc.i4.3 - IL_004e: ldstr "/W3" - IL_0053: stelem.ref - IL_0054: dup - IL_0055: ldc.i4.4 - IL_0056: ldstr "/W4" - IL_005b: stelem.ref - IL_005c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0061: ldloc.0 - IL_0062: ldstr "WarnAsError" - IL_0067: ldstr "/WX" - IL_006c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0071: ldloc.0 - IL_0072: ldstr "DefaultCharType" - IL_0077: ldnull - IL_0078: ldc.i4.3 - IL_0079: newarr [mscorlib]System.String - IL_007e: dup - IL_007f: ldc.i4.0 - IL_0080: ldstr "unsigned" - IL_0085: stelem.ref - IL_0086: dup - IL_0087: ldc.i4.1 - IL_0088: ldstr "signed" - IL_008d: stelem.ref - IL_008e: dup - IL_008f: ldc.i4.2 - IL_0090: ldstr "ascii7" - IL_0095: stelem.ref - IL_0096: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_009b: ldloc.0 - IL_009c: ldstr "TargetEnvironment" - IL_00a1: ldnull - IL_00a2: ldc.i4.3 - IL_00a3: newarr [mscorlib]System.String - IL_00a8: dup - IL_00a9: ldc.i4.1 - IL_00aa: ldstr "win32" - IL_00af: stelem.ref - IL_00b0: dup - IL_00b1: ldc.i4.2 - IL_00b2: ldstr "win64" - IL_00b7: stelem.ref - IL_00b8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_00bd: ldloc.0 - IL_00be: ldstr "GenerateStublessProxies" - IL_00c3: ldstr "/Oicf" - IL_00c8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_00cd: ldloc.0 - IL_00ce: ldstr "GenerateTypeLibrary" - IL_00d3: ldstr "/notlb" - IL_00d8: ldstr "false" - IL_00dd: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string, string) - IL_00e2: ldloc.0 - IL_00e3: ldstr "EnableErrorChecks" - IL_00e8: ldstr "/error " - IL_00ed: ldc.i4.3 - IL_00ee: newarr [mscorlib]System.String - IL_00f3: dup - IL_00f4: ldc.i4.1 - IL_00f5: ldstr "none" - IL_00fa: stelem.ref - IL_00fb: dup - IL_00fc: ldc.i4.2 - IL_00fd: ldstr "all" - IL_0102: stelem.ref - IL_0103: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_0108: ldloc.0 - IL_0109: ldstr "ErrorCheckAllocations" - IL_010e: ldstr "/error allocation" - IL_0113: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0118: ldloc.0 - IL_0119: ldstr "ErrorCheckBounds" - IL_011e: ldstr "/error bounds_check" - IL_0123: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0128: ldloc.0 - IL_0129: ldstr "ErrorCheckEnumRange" - IL_012e: ldstr "/error enum" - IL_0133: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0138: ldloc.0 - IL_0139: ldstr "ErrorCheckRefPointers" - IL_013e: ldstr "/error ref" - IL_0143: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0148: ldloc.0 - IL_0149: ldstr "ErrorCheckStubData" - IL_014e: ldstr "/error stub_data" - IL_0153: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0158: ldloc.0 - IL_0159: ldstr "ValidateParameters" - IL_015e: ldstr "/robust" - IL_0163: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) - IL_0168: ldloc.0 - IL_0169: ldstr "StructMemberAlignment" - IL_016e: ldnull - IL_016f: ldc.i4.5 - IL_0170: newarr [mscorlib]System.String - IL_0175: dup - IL_0176: ldc.i4.1 - IL_0177: ldstr "/Zp1" - IL_017c: stelem.ref - IL_017d: dup - IL_017e: ldc.i4.2 - IL_017f: ldstr "/Zp2" - IL_0184: stelem.ref - IL_0185: dup - IL_0186: ldc.i4.3 - IL_0187: ldstr "/Zp4" - IL_018c: stelem.ref - IL_018d: dup - IL_018e: ldc.i4.4 - IL_018f: ldstr "/Zp8" - IL_0194: stelem.ref - IL_0195: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) - IL_019a: ldloc.0 - IL_019b: stloc.1 - IL_019c: br IL_01a1 - - IL_01a1: ldloc.1 - IL_01a2: ret - } // end of method VcArgumentMap::CreateMidlArgumentMap - - .class nested private auto ansi abstract beforefieldinit VcArgument - extends [mscorlib]System.Object - { - .field private string _name - .field private valuetype NAnt.VSNet.VcArgumentMap/ArgGroup _group - - // method line 364 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed - { - // Method begins at RVA 0xcfc3 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.2 - IL_0009: stfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld valuetype NAnt.VSNet.VcArgumentMap/ArgGroup NAnt.VSNet.VcArgumentMap/VcArgument::_group - IL_0015: ret - } // end of method VcArgument::.ctor - - // method line 365 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xcfdc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcArgument::get_Name - - // method line 366 - .method public hidebysig specialname - instance default valuetype NAnt.VSNet.VcArgumentMap/ArgGroup get_Group () cil managed - { - // Method begins at RVA 0xcff8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.VcArgumentMap/ArgGroup V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VSNet.VcArgumentMap/ArgGroup NAnt.VSNet.VcArgumentMap/VcArgument::_group - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcArgument::get_Group - - // method line 367 - .method assembly virtual hidebysig newslot abstract - instance default string MapValue (string propValue) cil managed - { - // Method begins at RVA 0x0 - } // end of method VcArgument::MapValue - - // method line 368 - .method family hidebysig - instance default string FormatOption (string 'value') cil managed - { - // Method begins at RVA 0xd014 - // Code size 40 (0x28) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name - IL_0007: brtrue IL_0014 - - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: stloc.0 - IL_000f: br IL_0026 - - IL_0014: ldarg.0 - IL_0015: ldfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name - IL_001a: ldarg.1 - IL_001b: call string string::Concat(string, string) - IL_0020: stloc.0 - IL_0021: br IL_0026 - - IL_0026: ldloc.0 - IL_0027: ret - } // end of method VcArgument::FormatOption - - .property instance string Name () - { - .get instance default string NAnt.VSNet.VcArgumentMap/VcArgument::get_Name () - } - .property instance valuetype NAnt.VSNet.VcArgumentMap/ArgGroup Group () - { - .get instance default valuetype NAnt.VSNet.VcArgumentMap/ArgGroup NAnt.VSNet.VcArgumentMap/VcArgument::get_Group () - } - } // end of class VcArgument - - .class nested private auto ansi beforefieldinit VcStringArgument - extends NAnt.VSNet.VcArgumentMap/VcArgument - { - .field private bool _ignoreEmptyValue - - // method line 369 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed - { - // Method begins at RVA 0xd048 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldc.i4.0 - IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0009: nop - IL_000a: ret - } // end of method VcStringArgument::.ctor - - // method line 370 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xd054 - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.VSNet.VcArgumentMap/VcArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.3 - IL_000b: stfld bool NAnt.VSNet.VcArgumentMap/VcStringArgument::_ignoreEmptyValue - IL_0010: ret - } // end of method VcStringArgument::.ctor - - // method line 371 - .method family hidebysig specialname - instance default bool get_IgnoreEmptyValue () cil managed - { - // Method begins at RVA 0xd068 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcArgumentMap/VcStringArgument::_ignoreEmptyValue - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcStringArgument::get_IgnoreEmptyValue - - // method line 372 - .method assembly virtual hidebysig - instance default string MapValue (string propValue) cil managed - { - // Method begins at RVA 0xd084 - // Code size 46 (0x2e) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue() - IL_0007: brfalse IL_001f - - IL_000c: ldarg.1 - IL_000d: call bool string::IsNullOrEmpty(string) - IL_0012: brfalse IL_001f - - IL_0017: nop - IL_0018: ldnull - IL_0019: stloc.0 - IL_001a: br IL_002c - - IL_001f: ldarg.0 - IL_0020: ldarg.1 - IL_0021: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::FormatOption(string) - IL_0026: stloc.0 - IL_0027: br IL_002c - - IL_002c: ldloc.0 - IL_002d: ret - } // end of method VcStringArgument::MapValue - - .property instance bool IgnoreEmptyValue () - { - .get instance default bool NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue () - } - } // end of class VcStringArgument - - .class nested private auto ansi beforefieldinit LinkerStringArgument - extends NAnt.VSNet.VcArgumentMap/VcStringArgument - { - - // method line 373 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed - { - // Method begins at RVA 0xd0be - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldc.i4.0 - IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/LinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0009: nop - IL_000a: ret - } // end of method LinkerStringArgument::.ctor - - // method line 374 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xd0ca - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0009: nop - IL_000a: ret - } // end of method LinkerStringArgument::.ctor - - // method line 375 - .method assembly virtual hidebysig - instance default string MapValue (string 'value') cil managed - { - // Method begins at RVA 0xd0d8 - // Code size 80 (0x50) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue() - IL_0007: brfalse IL_001f - - IL_000c: ldarg.1 - IL_000d: call bool string::IsNullOrEmpty(string) - IL_0012: brfalse IL_001f - - IL_0017: nop - IL_0018: ldnull - IL_0019: stloc.0 - IL_001a: br IL_004e - - IL_001f: ldarg.0 - IL_0020: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() - IL_0025: brtrue IL_0037 - - IL_002a: nop - IL_002b: ldarg.1 - IL_002c: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) - IL_0031: stloc.0 - IL_0032: br IL_004e - - IL_0037: ldarg.0 - IL_0038: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() - IL_003d: ldarg.1 - IL_003e: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) - IL_0043: call string string::Concat(string, string) - IL_0048: stloc.0 - IL_0049: br IL_004e - - IL_004e: ldloc.0 - IL_004f: ret - } // end of method LinkerStringArgument::MapValue - - } // end of class LinkerStringArgument - - .class nested private auto ansi beforefieldinit QuotedLinkerStringArgument - extends NAnt.VSNet.VcArgumentMap/VcStringArgument - { - - // method line 376 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed - { - // Method begins at RVA 0xd134 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldc.i4.0 - IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/QuotedLinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0009: nop - IL_000a: ret - } // end of method QuotedLinkerStringArgument::.ctor - - // method line 377 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, bool ignoreEmptyValue) cil managed - { - // Method begins at RVA 0xd140 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) - IL_0009: nop - IL_000a: ret - } // end of method QuotedLinkerStringArgument::.ctor - - // method line 378 - .method assembly virtual hidebysig - instance default string MapValue (string 'value') cil managed - { - // Method begins at RVA 0xd14c - // Code size 80 (0x50) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue() - IL_0007: brfalse IL_001f - - IL_000c: ldarg.1 - IL_000d: call bool string::IsNullOrEmpty(string) - IL_0012: brfalse IL_001f - - IL_0017: nop - IL_0018: ldnull - IL_0019: stloc.0 - IL_001a: br IL_004e - - IL_001f: ldarg.0 - IL_0020: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() - IL_0025: brtrue IL_0037 - - IL_002a: nop - IL_002b: ldarg.1 - IL_002c: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_0031: stloc.0 - IL_0032: br IL_004e - - IL_0037: ldarg.0 - IL_0038: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() - IL_003d: ldarg.1 - IL_003e: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_0043: call string string::Concat(string, string) - IL_0048: stloc.0 - IL_0049: br IL_004e - - IL_004e: ldloc.0 - IL_004f: ret - } // end of method QuotedLinkerStringArgument::MapValue - - } // end of class QuotedLinkerStringArgument - - .class nested private auto ansi beforefieldinit VcBoolArgument - extends NAnt.VSNet.VcArgumentMap/VcArgument - { - .field private string _match - - // method line 379 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed - { - // Method begins at RVA 0xd1a8 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldstr "true" - IL_0008: call instance void class NAnt.VSNet.VcArgumentMap/VcBoolArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) - IL_000d: nop - IL_000e: ret - } // end of method VcBoolArgument::.ctor - - // method line 380 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, string match) cil managed - { - // Method begins at RVA 0xd1b8 - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldstr "true" - IL_0006: stfld string NAnt.VSNet.VcArgumentMap/VcBoolArgument::_match - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldarg.2 - IL_000e: call instance void class NAnt.VSNet.VcArgumentMap/VcArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldarg.3 - IL_0016: stfld string NAnt.VSNet.VcArgumentMap/VcBoolArgument::_match - IL_001b: ret - } // end of method VcBoolArgument::.ctor - - // method line 381 - .method public hidebysig specialname - instance default string get_Match () cil managed - { - // Method begins at RVA 0xd1d8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcArgumentMap/VcBoolArgument::_match - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcBoolArgument::get_Match - - // method line 382 - .method assembly virtual hidebysig - instance default string MapValue (string propValue) cil managed - { - // Method begins at RVA 0xd1f4 - // Code size 51 (0x33) - .maxstack 4 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: call instance string class NAnt.VSNet.VcArgumentMap/VcBoolArgument::get_Match() - IL_0008: ldc.i4.1 - IL_0009: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_000e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0013: brtrue IL_002a - - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldsfld string [mscorlib]System.String::Empty - IL_001f: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::FormatOption(string) - IL_0024: stloc.0 - IL_0025: br IL_0031 - - IL_002a: ldnull - IL_002b: stloc.0 - IL_002c: br IL_0031 - - IL_0031: ldloc.0 - IL_0032: ret - } // end of method VcBoolArgument::MapValue - - .property instance string Match () - { - .get instance default string NAnt.VSNet.VcArgumentMap/VcBoolArgument::get_Match () - } - } // end of class VcBoolArgument - - .class nested private auto ansi beforefieldinit VcEnumArgument - extends NAnt.VSNet.VcArgumentMap/VcArgument - { - .field private string[] _values - - // method line 383 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, string[] values) cil managed - { - // Method begins at RVA 0xd233 - // Code size 17 (0x11) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.VSNet.VcArgumentMap/VcArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.3 - IL_000b: stfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values - IL_0010: ret - } // end of method VcEnumArgument::.ctor - - // method line 384 - .method assembly virtual hidebysig - instance default string MapValue (string propValue) cil managed - { - // Method begins at RVA 0xd248 - // Code size 90 (0x5a) - .maxstack 3 - .locals init ( - int32 V_0, - string V_1) - IL_0000: nop - IL_0001: ldc.i4.m1 - IL_0002: stloc.0 - .try { // 0 - IL_0003: nop - IL_0004: ldarg.1 - IL_0005: call int32 int32::Parse(string) - IL_000a: stloc.0 - IL_000b: nop - IL_000c: leave IL_001a - - } // end .try 0 - catch class [mscorlib]System.FormatException { // 0 - IL_0011: pop - IL_0012: nop - IL_0013: ldnull - IL_0014: stloc.1 - IL_0015: leave IL_0058 - - } // end handler 0 - IL_001a: ldloc.0 - IL_001b: ldc.i4.0 - IL_001c: blt IL_003c - - IL_0021: ldloc.0 - IL_0022: ldarg.0 - IL_0023: ldfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values - IL_0028: ldlen - IL_0029: conv.i4 - IL_002a: bge IL_003c - - IL_002f: ldarg.0 - IL_0030: ldfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values - IL_0035: ldloc.0 - IL_0036: ldelem.ref - IL_0037: brtrue IL_0044 - - IL_003c: nop - IL_003d: ldnull - IL_003e: stloc.1 - IL_003f: br IL_0058 - - IL_0044: ldarg.0 - IL_0045: ldarg.0 - IL_0046: ldfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values - IL_004b: ldloc.0 - IL_004c: ldelem.ref - IL_004d: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::FormatOption(string) - IL_0052: stloc.1 - IL_0053: br IL_0058 - - IL_0058: ldloc.1 - IL_0059: ret - } // end of method VcEnumArgument::MapValue - - } // end of class VcEnumArgument - - .class nested public auto ansi sealed ArgGroup - extends [mscorlib]System.Enum - { - .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VSNet.VcArgumentMap/ArgGroup Unassigned = int32(0x00000000) - .field public static literal valuetype NAnt.VSNet.VcArgumentMap/ArgGroup OptiIgnoreGroup = int32(0x00000001) - - } // end of class ArgGroup - - } // end of class NAnt.VSNet.VcArgumentMap -} - -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit JSharpProject - extends NAnt.VSNet.ManagedProjectBase - { - - // method line 385 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xd2c0 - // Code size 21 (0x15) - .maxstack 9 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: ldarg.s 6 - IL_000a: ldarg.s 7 - IL_000c: ldarg.s 8 - IL_000e: call instance void class NAnt.VSNet.ManagedProjectBase::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0013: nop - IL_0014: ret - } // end of method JSharpProject::.ctor - - // method line 386 - .method public virtual hidebysig specialname - instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed - { - // Method begins at RVA 0xd2e4 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProjectType V_0) - IL_0000: nop - IL_0001: ldc.i4.3 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0a5e: nop + IL_0a5f: ldloc.2 + IL_0a60: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0a65: ldstr "/GL" + IL_0a6a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0a6f: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0a74: pop + IL_0a75: nop + IL_0a76: ldc.i4.0 + IL_0a77: stloc.s 52 + IL_0a79: ldarg.3 + IL_0a7a: ldstr "VCCLCompilerTool" + IL_0a7f: ldstr "Optimization" + IL_0a84: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0a89: stloc.s 53 + IL_0a8b: ldloc.s 53 + IL_0a8d: call bool string::IsNullOrEmpty(string) + IL_0a92: brtrue IL_0aba - IL_0008: ldloc.0 - IL_0009: ret - } // end of method JSharpProject::get_Type + IL_0a97: nop + IL_0a98: ldloc.s 53 + IL_0a9a: call int32 int32::Parse(string) + IL_0a9f: stloc.s 54 + IL_0aa1: ldloc.s 54 + IL_0aa3: ldc.i4.1 + IL_0aa4: beq IL_0ab1 - // method line 387 - .method family virtual hidebysig - instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0xd2fa - // Code size 46 (0x2e) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool class NAnt.VSNet.JSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) - IL_0007: brtrue IL_002d + IL_0aa9: ldloc.s 54 + IL_0aab: ldc.i4.2 + IL_0aac: bne.un IL_0ab9 - IL_000c: nop - IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0012: ldstr "Project '{0}' is not a valid J# project." - IL_0017: ldarg.0 - IL_0018: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0022: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0027: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_002c: throw - IL_002d: ret - } // end of method JSharpProject::VerifyProjectXml + IL_0ab1: nop + IL_0ab2: ldloc.s 52 + IL_0ab4: ldc.i4.1 + IL_0ab5: or + IL_0ab6: stloc.s 52 + IL_0ab8: nop + IL_0ab9: nop + IL_0aba: ldarg.3 + IL_0abb: ldstr "VCCLCompilerTool" + IL_0ac0: ldarg.0 + IL_0ac1: ldfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_clArgMap + IL_0ac6: ldloc.s 52 + IL_0ac8: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) + IL_0acd: stloc.s 55 + IL_0acf: nop + IL_0ad0: ldloc.s 55 + IL_0ad2: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_0ad7: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0adc: stloc.s 57 + .try { // 4 + IL_0ade: br IL_0b11 - // method line 388 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0xd32c - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - valuetype NAnt.VSNet.ProductVersion V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "./VISUALJSHARP" - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_000c: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0ae3: ldloc.s 57 + IL_0ae5: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0aea: castclass [mscorlib]System.String + IL_0aef: stloc.s 56 + IL_0af1: nop + IL_0af2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() + IL_0af7: stloc.s 58 + IL_0af9: ldloc.s 58 + IL_0afb: ldloc.s 56 + IL_0afd: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_0b02: ldloc.2 + IL_0b03: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0b08: ldloc.s 58 + IL_0b0a: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0b0f: pop + IL_0b10: nop + IL_0b11: ldloc.s 57 + IL_0b13: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0b18: brtrue IL_0ae3 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method JSharpProject::DetermineProductVersion + IL_0b1d: leave IL_0b39 - // method line 389 - .method family virtual hidebysig - instance default void Prepare (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0xd354 - // Code size 55 (0x37) - .maxstack 2 - .locals init ( - class NAnt.VSNet.ConfigurationBase V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0019: brtrue IL_0036 + } // end .try 4 + finally { // 4 + IL_0b22: ldloc.s 57 + IL_0b24: isinst [mscorlib]System.IDisposable + IL_0b29: dup + IL_0b2a: stloc.s 59 + IL_0b2c: brfalse IL_0b38 - IL_001e: nop - IL_001f: ldloc.0 - IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0025: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_002a: ldloc.0 - IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0030: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0035: nop - IL_0036: ret - } // end of method JSharpProject::Prepare + IL_0b31: ldloc.s 59 + IL_0b33: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0b38: endfinally + } // end handler 4 + IL_0b39: ldloc.0 + IL_0b3a: callvirt instance valuetype NAnt.VSNet.Types.UseOfMFC class NAnt.VSNet.VcProjectConfiguration::get_UseOfMFC() + IL_0b3f: ldc.i4.2 + IL_0b40: bne.un IL_0b73 - // method line 390 - .method family virtual hidebysig - instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed - { - // Method begins at RVA 0xd398 - // Code size 137 (0x89) - .maxstack 4 - .locals init ( - class [System]System.Diagnostics.ProcessStartInfo V_0, - class [System]System.Diagnostics.ProcessStartInfo V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0011: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_0016: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001b: ldstr "vjc.exe" - IL_0020: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0025: ldstr "@\"" - IL_002a: ldarg.2 - IL_002b: ldstr "\"" - IL_0030: call string string::Concat(string, string, string) - IL_0035: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string, string) - IL_003a: stloc.0 - IL_003b: ldarg.0 - IL_003c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0041: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0046: brfalse IL_006d + IL_0b45: nop + IL_0b46: ldloc.2 + IL_0b47: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0b4c: ldstr "/D" + IL_0b51: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0b56: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0b5b: pop + IL_0b5c: ldloc.2 + IL_0b5d: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0b62: ldstr "_AFXDLL" + IL_0b67: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0b6c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0b71: pop + IL_0b72: nop + IL_0b73: ldloc.0 + IL_0b74: callvirt instance valuetype NAnt.VSNet.Types.UseOfATL class NAnt.VSNet.VcProjectConfiguration::get_UseOfATL() + IL_0b79: stloc.s 60 + IL_0b7b: ldloc.s 60 + IL_0b7d: ldc.i4.2 + IL_0b7e: beq IL_0b90 - IL_004b: nop - IL_004c: ldloc.0 - IL_004d: ldarg.0 - IL_004e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005d: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0062: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_0067: nop - IL_0068: br IL_0080 + IL_0b83: ldloc.s 60 + IL_0b85: ldc.i4.1 + IL_0b86: beq IL_0bc1 - IL_006d: nop - IL_006e: ldloc.0 - IL_006f: ldarg.0 - IL_0070: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0075: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_007a: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_007f: nop - IL_0080: ldloc.0 - IL_0081: stloc.1 - IL_0082: br IL_0087 + IL_0b8b: br IL_0bf2 - IL_0087: ldloc.1 - IL_0088: ret - } // end of method JSharpProject::GetProcessStartInfo + IL_0b90: ldloc.2 + IL_0b91: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0b96: ldstr "/D" + IL_0b9b: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0ba0: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0ba5: pop + IL_0ba6: ldloc.2 + IL_0ba7: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0bac: ldstr "_ATL_DLL" + IL_0bb1: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0bb6: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0bbb: pop + IL_0bbc: br IL_0bf2 - // method line 391 - .method family virtual hidebysig specialname - instance default string get_FileExtension () cil managed - { - // Method begins at RVA 0xd430 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr ".jsl" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0bc1: ldloc.2 + IL_0bc2: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0bc7: ldstr "/D" + IL_0bcc: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0bd1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0bd6: pop + IL_0bd7: ldloc.2 + IL_0bd8: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0bdd: ldstr "_ATL_STATIC_REGISTRY" + IL_0be2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0be7: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0bec: pop + IL_0bed: br IL_0bf2 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method JSharpProject::get_FileExtension + IL_0bf2: ldloc.2 + IL_0bf3: ldloc.0 + IL_0bf4: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_ManagedExtensions() + IL_0bf9: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_ManagedExtensions(bool) + IL_0bfe: ldarg.0 + IL_0bff: ldloc.2 + IL_0c00: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) + IL_0c05: ret + } // end of method VcProject::BuildCPPFiles - // method line 392 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed + // method line 406 + .method private hidebysig + instance default void BuildResourceFiles (class [mscorlib]System.Collections.ArrayList fileNames, class NAnt.VSNet.VcProjectConfiguration projectConfig, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed { - // Method begins at RVA 0xd44c - // Code size 25 (0x19) - .maxstack 2 + // Method begins at RVA 0xdd80 + // Code size 769 (0x301) + .maxstack 5 .locals init ( - valuetype NAnt.VSNet.ProjectLocation V_0) + class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask V_0, + class [mscorlib]System.Text.StringBuilder V_1, + string V_2, + string V_3, + int32 V_4, + string V_5, + string V_6, + string[] V_7, + int32 V_8, + class [NAnt.Core]NAnt.Core.Types.Option V_9, + string V_10, + string V_11, + string V_12, + string[] V_13, + int32 V_14, + string V_15, + class [mscorlib]System.Collections.IEnumerator V_16, + class [mscorlib]System.IDisposable V_17) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "./VISUALJSHARP" - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_000c: call valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::GetProjectLocation(class [System.Xml]System.Xml.XmlNode) - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method JSharpProject::DetermineProjectLocation + IL_0001: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0018: ldloc.0 + IL_0019: ldarg.0 + IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0024: ldloc.0 + IL_0025: ldarg.0 + IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0041: ldloc.0 + IL_0042: ldarg.0 + IL_0043: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0048: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_004d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0052: ldloc.0 + IL_0053: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0058: ldloc.0 + IL_0059: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_005e: ldloc.0 + IL_005f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0064: ldloc.0 + IL_0065: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_006a: ldloc.0 + IL_006b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0075: ldloc.0 + IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_007b: ldloc.0 + IL_007c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0081: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0086: ldloc.0 + IL_0087: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_008c: ldarg.0 + IL_008d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0092: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0097: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_009c: stloc.1 + IL_009d: ldarg.3 + IL_009e: ldstr "VCResourceCompilerTool" + IL_00a3: ldstr "IgnoreStandardIncludePath" + IL_00a8: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_00ad: stloc.2 + IL_00ae: ldloc.2 + IL_00af: brfalse IL_00d8 - // method line 393 - .method public static hidebysig - default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0xd474 - // Code size 102 (0x66) - .maxstack 2 - .locals init ( - bool V_0, - class [System.Xml]System.Xml.XmlNode V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_000f + IL_00b4: ldloc.2 + IL_00b5: ldstr "true" + IL_00ba: ldc.i4.1 + IL_00bb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c0: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_00c5: brtrue IL_00d8 - IL_0007: nop - IL_0008: ldc.i4.0 - IL_0009: stloc.0 - IL_000a: br IL_0064 + IL_00ca: nop + IL_00cb: ldloc.1 + IL_00cc: ldstr "/X " + IL_00d1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00d6: pop + IL_00d7: nop + IL_00d8: ldarg.3 + IL_00d9: ldstr "VCResourceCompilerTool" + IL_00de: ldstr "Culture" + IL_00e3: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_00e8: stloc.3 + IL_00e9: ldloc.3 + IL_00ea: call bool string::IsNullOrEmpty(string) + IL_00ef: brtrue IL_0106 - IL_000f: ldarg.0 - IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0015: ldstr "VisualStudioProject" - IL_001a: call bool string::op_Inequality(string, string) - IL_001f: brfalse IL_002c + IL_00f4: nop + IL_00f5: ldloc.3 + IL_00f6: call int32 class [mscorlib]System.Convert::ToInt32(string) + IL_00fb: stloc.s 4 + IL_00fd: ldloc.0 + IL_00fe: ldloc.s 4 + IL_0100: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_LangId(int32) + IL_0105: nop + IL_0106: ldarg.3 + IL_0107: ldstr "VCResourceCompilerTool" + IL_010c: ldstr "PreprocessorDefinitions" + IL_0111: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0116: stloc.s 5 + IL_0118: ldloc.s 5 + IL_011a: call bool string::IsNullOrEmpty(string) + IL_011f: brtrue IL_0185 - IL_0024: nop - IL_0025: ldc.i4.0 - IL_0026: stloc.0 - IL_0027: br IL_0064 + IL_0124: nop + IL_0125: nop + IL_0126: ldloc.s 5 + IL_0128: ldc.i4.s 0x3b + IL_012a: ldc.i4.0 + IL_012b: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0130: stloc.s 7 + IL_0132: ldc.i4.0 + IL_0133: stloc.s 8 + IL_0135: br IL_0179 - IL_002c: ldarg.0 - IL_002d: ldstr "./VISUALJSHARP" - IL_0032: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0037: stloc.1 - IL_0038: ldloc.1 - IL_0039: brtrue IL_0046 + IL_013a: ldloc.s 7 + IL_013c: ldloc.s 8 + IL_013e: ldelem.ref + IL_013f: stloc.s 6 + IL_0141: nop + IL_0142: ldloc.s 6 + IL_0144: callvirt instance int32 string::get_Length() + IL_0149: brtrue IL_0154 - IL_003e: nop - IL_003f: ldc.i4.0 - IL_0040: stloc.0 - IL_0041: br IL_0064 + IL_014e: nop + IL_014f: br IL_0173 - .try { // 0 - IL_0046: nop - IL_0047: ldloc.1 - IL_0048: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) - IL_004d: pop - IL_004e: nop - IL_004f: leave IL_005d + IL_0154: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() + IL_0159: stloc.s 9 + IL_015b: ldloc.s 9 + IL_015d: ldloc.s 6 + IL_015f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) + IL_0164: ldloc.0 + IL_0165: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_Defines() + IL_016a: ldloc.s 9 + IL_016c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) + IL_0171: pop + IL_0172: nop + IL_0173: ldloc.s 8 + IL_0175: ldc.i4.1 + IL_0176: add + IL_0177: stloc.s 8 + IL_0179: ldloc.s 8 + IL_017b: ldloc.s 7 + IL_017d: ldlen + IL_017e: conv.i4 + IL_017f: blt IL_013a - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0054: pop - IL_0055: nop - IL_0056: ldc.i4.0 - IL_0057: stloc.0 - IL_0058: leave IL_0064 + IL_0184: nop + IL_0185: ldarg.3 + IL_0186: ldstr "VCResourceCompilerTool" + IL_018b: ldstr "ShowProgress" + IL_0190: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0195: stloc.s 10 + IL_0197: ldloc.s 10 + IL_0199: brfalse IL_01be - } // end handler 0 - IL_005d: ldc.i4.1 - IL_005e: stloc.0 - IL_005f: br IL_0064 + IL_019e: ldloc.s 10 + IL_01a0: ldstr "true" + IL_01a5: ldc.i4.1 + IL_01a6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01ab: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_01b0: brtrue IL_01be - IL_0064: ldloc.0 - IL_0065: ret - } // end of method JSharpProject::IsSupported + IL_01b5: nop + IL_01b6: ldloc.0 + IL_01b7: ldc.i4.1 + IL_01b8: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_01bd: nop + IL_01be: ldarg.0 + IL_01bf: ldarg.2 + IL_01c0: ldarg.3 + IL_01c1: ldstr "VCResourceCompilerTool" + IL_01c6: ldstr "AdditionalIncludeDirectories" + IL_01cb: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_01d0: stloc.s 11 + IL_01d2: ldloc.s 11 + IL_01d4: call bool string::IsNullOrEmpty(string) + IL_01d9: brtrue IL_0249 - .property instance valuetype NAnt.VSNet.ProjectType Type () - { - .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.JSharpProject::get_Type () - } - .property instance string FileExtension () - { - .get instance default string NAnt.VSNet.JSharpProject::get_FileExtension () - } - } // end of class NAnt.VSNet.JSharpProject -} + IL_01de: nop + IL_01df: nop + IL_01e0: ldloc.s 11 + IL_01e2: ldc.i4.s 0x3b + IL_01e4: ldc.i4.0 + IL_01e5: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_01ea: stloc.s 13 + IL_01ec: ldc.i4.0 + IL_01ed: stloc.s 14 + IL_01ef: br IL_023d -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit VcProjectReference - extends NAnt.VSNet.ProjectReferenceBase - { - .field private initonly class NAnt.VSNet.ProjectBase _project - .field private initonly bool _isPrivateSpecified - .field private initonly bool _isPrivate + IL_01f4: ldloc.s 13 + IL_01f6: ldloc.s 14 + IL_01f8: ldelem.ref + IL_01f9: stloc.s 12 + IL_01fb: nop + IL_01fc: ldloc.s 12 + IL_01fe: callvirt instance int32 string::get_Length() + IL_0203: brtrue IL_020e - // method line 394 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class NAnt.VSNet.SolutionBase solution, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xd4f8 - // Code size 174 (0xae) - .maxstack 7 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1) - IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) - IL_0008: nop - IL_0009: ldarg.1 - IL_000a: brtrue IL_001b + IL_0208: nop + IL_0209: br IL_0237 - IL_000f: nop - IL_0010: ldstr "xmlDefinition" - IL_0015: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001a: throw - IL_001b: ldarg.s 4 - IL_001d: brtrue IL_002e + IL_020e: ldloc.0 + IL_020f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_0214: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0219: ldarg.0 + IL_021a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_021f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0224: ldloc.s 12 + IL_0226: call string class NAnt.VSNet.VcProject::CleanPath(string) + IL_022b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0230: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0235: pop + IL_0236: nop + IL_0237: ldloc.s 14 + IL_0239: ldc.i4.1 + IL_023a: add + IL_023b: stloc.s 14 + IL_023d: ldloc.s 14 + IL_023f: ldloc.s 13 + IL_0241: ldlen + IL_0242: conv.i4 + IL_0243: blt IL_01f4 - IL_0022: nop - IL_0023: ldstr "solution" - IL_0028: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002d: throw - IL_002e: ldarg.s 5 - IL_0030: brtrue IL_0041 + IL_0248: nop + IL_0249: ldarg.2 + IL_024a: callvirt instance valuetype NAnt.VSNet.Types.UseOfMFC class NAnt.VSNet.VcProjectConfiguration::get_UseOfMFC() + IL_024f: ldc.i4.2 + IL_0250: bne.un IL_0268 - IL_0035: nop - IL_0036: ldstr "tfc" - IL_003b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0040: throw - IL_0041: ldarg.s 6 - IL_0043: brtrue IL_0054 + IL_0255: nop + IL_0256: ldloc.1 + IL_0257: ldstr "/d \"_AFXDLL\"" + IL_025c: call !!0[] class [mscorlib]System.Array::Empty () + IL_0261: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object[]) + IL_0266: pop + IL_0267: nop + IL_0268: ldloc.1 + IL_0269: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_026e: ldc.i4.0 + IL_026f: ble IL_0282 - IL_0048: nop - IL_0049: ldstr "gacCache" - IL_004e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0053: throw - IL_0054: ldarg.1 - IL_0055: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_005a: ldstr "CopyLocal" - IL_005f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0064: stloc.0 - IL_0065: ldloc.0 - IL_0066: brfalse IL_0085 + IL_0274: nop + IL_0275: ldloc.0 + IL_0276: ldloc.1 + IL_0277: callvirt instance string object::ToString() + IL_027c: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_Options(string) + IL_0281: nop + IL_0282: nop + IL_0283: ldarg.1 + IL_0284: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0289: stloc.s 16 + .try { // 0 + IL_028b: br IL_02d8 - IL_006b: nop - IL_006c: ldarg.0 - IL_006d: ldc.i4.1 - IL_006e: stfld bool NAnt.VSNet.VcProjectReference::_isPrivateSpecified - IL_0073: ldarg.0 - IL_0074: ldloc.0 - IL_0075: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_007a: call bool bool::Parse(string) - IL_007f: stfld bool NAnt.VSNet.VcProjectReference::_isPrivate - IL_0084: nop - IL_0085: ldarg.s 4 - IL_0087: ldarg.1 - IL_0088: ldstr "ReferencedProjectIdentifier" - IL_008d: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0092: callvirt instance string class NAnt.VSNet.SolutionBase::GetProjectFileFromGuid(string) - IL_0097: stloc.1 - IL_0098: ldarg.0 - IL_0099: ldarg.0 - IL_009a: ldarg.s 4 - IL_009c: ldarg.s 5 - IL_009e: ldarg.s 6 - IL_00a0: ldarg.s 7 - IL_00a2: ldloc.1 - IL_00a3: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::LoadProject(class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo, string) - IL_00a8: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::_project - IL_00ad: ret - } // end of method VcProjectReference::.ctor + IL_0290: ldloc.s 16 + IL_0292: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0297: castclass [mscorlib]System.String + IL_029c: stloc.s 15 + IL_029e: nop + IL_029f: ldloc.0 + IL_02a0: ldarg.0 + IL_02a1: ldloc.s 15 + IL_02a3: ldarg.3 + IL_02a4: call instance string class NAnt.VSNet.VcProject::GetResourceOutputFile(string, class NAnt.VSNet.VcConfigurationBase) + IL_02a9: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_02ae: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_02b3: ldloc.0 + IL_02b4: ldarg.0 + IL_02b5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_02ba: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02bf: ldloc.s 15 + IL_02c1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_02c6: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_02cb: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_RcFile(class [mscorlib]System.IO.FileInfo) + IL_02d0: ldarg.0 + IL_02d1: ldloc.0 + IL_02d2: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) + IL_02d7: nop + IL_02d8: ldloc.s 16 + IL_02da: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02df: brtrue IL_0290 - // method line 395 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectBase project, class NAnt.VSNet.ProjectBase parent, bool isPrivateSpecified, bool isPrivate) cil managed - { - // Method begins at RVA 0xd5b2 - // Code size 37 (0x25) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: callvirt instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_0007: ldarg.2 - IL_0008: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::_project - IL_0015: ldarg.0 - IL_0016: ldarg.3 - IL_0017: stfld bool NAnt.VSNet.VcProjectReference::_isPrivateSpecified - IL_001c: ldarg.0 - IL_001d: ldarg.s 4 - IL_001f: stfld bool NAnt.VSNet.VcProjectReference::_isPrivate - IL_0024: ret - } // end of method VcProjectReference::.ctor + IL_02e4: leave IL_0300 - // method line 396 - .method public virtual hidebysig - instance default bool IsManaged (class NAnt.VSNet.Configuration config) cil managed - { - // Method begins at RVA 0xd5d8 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class NAnt.VSNet.ProjectBase::IsManaged(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: br IL_0013 + } // end .try 0 + finally { // 0 + IL_02e9: ldloc.s 16 + IL_02eb: isinst [mscorlib]System.IDisposable + IL_02f0: dup + IL_02f1: stloc.s 17 + IL_02f3: brfalse IL_02ff - IL_0013: ldloc.0 - IL_0014: ret - } // end of method VcProjectReference::IsManaged + IL_02f8: ldloc.s 17 + IL_02fa: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02ff: endfinally + } // end handler 0 + IL_0300: ret + } // end of method VcProject::BuildResourceFiles - // method line 397 - .method public virtual hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Project () cil managed + // method line 407 + .method private hidebysig + instance default void BuildIDLFiles (class [mscorlib]System.Collections.ArrayList fileNames, class NAnt.VSNet.VcProjectConfiguration projectConfig, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed { - // Method begins at RVA 0xd5fc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xe0a0 + // Code size 1677 (0x68d) + .maxstack 5 .locals init ( - class NAnt.VSNet.ProjectBase V_0) + class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask V_0, + string V_1, + string V_2, + string V_3, + string V_4, + string V_5, + string V_6, + string V_7, + string V_8, + string[] V_9, + int32 V_10, + class [NAnt.Core]NAnt.Core.Types.Option V_11, + string V_12, + string V_13, + string[] V_14, + int32 V_15, + class [NAnt.Core]NAnt.Core.Types.Option V_16, + string V_17, + string V_18, + string[] V_19, + int32 V_20, + string V_21, + string V_22, + string[] V_23, + int32 V_24, + class [mscorlib]System.Collections.Hashtable V_25, + string V_26, + class [mscorlib]System.Collections.IEnumerator V_27, + class [NAnt.Core]NAnt.Core.Types.Argument V_28, + class [mscorlib]System.IDisposable V_29, + string V_30, + class [mscorlib]System.Collections.IEnumerator V_31, + class [mscorlib]System.IDisposable V_32) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::_project - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0018: ldloc.0 + IL_0019: ldarg.0 + IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0024: ldloc.0 + IL_0025: ldarg.0 + IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0041: ldloc.0 + IL_0042: ldarg.0 + IL_0043: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0048: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_004d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0052: ldloc.0 + IL_0053: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0058: ldloc.0 + IL_0059: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() + IL_005e: ldloc.0 + IL_005f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0064: ldloc.0 + IL_0065: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() + IL_006a: ldloc.0 + IL_006b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0075: ldloc.0 + IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() + IL_007b: ldloc.0 + IL_007c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0081: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0086: ldloc.0 + IL_0087: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() + IL_008c: ldarg.0 + IL_008d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0092: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0097: ldarg.3 + IL_0098: ldstr "VCMIDLTool" + IL_009d: ldstr "OutputDirectory" + IL_00a2: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_00a7: stloc.1 + IL_00a8: ldloc.1 + IL_00a9: call bool string::IsNullOrEmpty(string) + IL_00ae: brfalse IL_00c6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectReference::get_Project + IL_00b3: nop + IL_00b4: ldarg.0 + IL_00b5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_00ba: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00bf: stloc.1 + IL_00c0: nop + IL_00c1: br IL_00da - // method line 398 - .method family virtual hidebysig specialname - instance default bool get_IsPrivate () cil managed - { - // Method begins at RVA 0xd618 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectReference::_isPrivate - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00c6: nop + IL_00c7: ldarg.0 + IL_00c8: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_00cd: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00d2: ldloc.1 + IL_00d3: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00d8: stloc.1 + IL_00d9: nop + IL_00da: ldloc.1 + IL_00db: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00e0: brtrue IL_00ee - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectReference::get_IsPrivate + IL_00e5: nop + IL_00e6: ldloc.1 + IL_00e7: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_00ec: pop + IL_00ed: nop + IL_00ee: ldloc.0 + IL_00ef: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_00f4: ldstr "/out" + IL_00f9: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_00fe: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0103: pop + IL_0104: ldloc.0 + IL_0105: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_010a: ldloc.1 + IL_010b: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0110: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0115: pop + IL_0116: ldarg.3 + IL_0117: ldstr "VCMIDLTool" + IL_011c: ldstr "TypeLibraryName" + IL_0121: ldstr "$(IntDir)/$(ProjectName).tlb" + IL_0126: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_012b: stloc.2 + IL_012c: ldloc.2 + IL_012d: call bool string::IsNullOrEmpty(string) + IL_0132: brtrue IL_0182 - // method line 399 - .method family virtual hidebysig specialname - instance default bool get_IsPrivateSpecified () cil managed - { - // Method begins at RVA 0xd634 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcProjectReference::_isPrivateSpecified - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0137: nop + IL_0138: ldloc.0 + IL_0139: ldloc.1 + IL_013a: ldloc.2 + IL_013b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0140: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0145: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Tlb(class [mscorlib]System.IO.FileInfo) + IL_014a: ldloc.0 + IL_014b: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Tlb() + IL_0150: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0155: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_015a: brtrue IL_0181 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProjectReference::get_IsPrivateSpecified + IL_015f: nop + IL_0160: ldloc.0 + IL_0161: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Tlb() + IL_0166: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_016b: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0170: ldloc.0 + IL_0171: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Tlb() + IL_0176: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_017b: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0180: nop + IL_0181: nop + IL_0182: ldarg.3 + IL_0183: ldstr "VCMIDLTool" + IL_0188: ldstr "ProxyFileName" + IL_018d: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0192: stloc.3 + IL_0193: ldloc.3 + IL_0194: call bool string::IsNullOrEmpty(string) + IL_0199: brtrue IL_01e9 - .property instance class NAnt.VSNet.ProjectBase Project () - { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::get_Project () - } - .property instance bool IsPrivate () - { - .get instance default bool NAnt.VSNet.VcProjectReference::get_IsPrivate () - } - .property instance bool IsPrivateSpecified () - { - .get instance default bool NAnt.VSNet.VcProjectReference::get_IsPrivateSpecified () - } - } // end of class NAnt.VSNet.VcProjectReference -} + IL_019e: nop + IL_019f: ldloc.0 + IL_01a0: ldloc.1 + IL_01a1: ldloc.3 + IL_01a2: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_01a7: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_01ac: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Proxy(class [mscorlib]System.IO.FileInfo) + IL_01b1: ldloc.0 + IL_01b2: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Proxy() + IL_01b7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_01bc: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_01c1: brtrue IL_01e8 + + IL_01c6: nop + IL_01c7: ldloc.0 + IL_01c8: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Proxy() + IL_01cd: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_01d2: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_01d7: ldloc.0 + IL_01d8: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Proxy() + IL_01dd: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_01e2: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_01e7: nop + IL_01e8: nop + IL_01e9: ldarg.3 + IL_01ea: ldstr "VCMIDLTool" + IL_01ef: ldstr "InterfaceIdentifierFileName" + IL_01f4: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_01f9: stloc.s 4 + IL_01fb: ldloc.s 4 + IL_01fd: call bool string::IsNullOrEmpty(string) + IL_0202: brtrue IL_0253 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit ConfigurationSettings - extends NAnt.VSNet.ConfigurationBase - { - .field private initonly class [mscorlib]System.Collections.ArrayList _settings - .field private initonly string _relativeOutputDir - .field private initonly class [mscorlib]System.IO.DirectoryInfo _outputDir - .field private initonly string _name - .field private initonly bool _registerForComInterop + IL_0207: nop + IL_0208: ldloc.0 + IL_0209: ldloc.1 + IL_020a: ldloc.s 4 + IL_020c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0211: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0216: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Iid(class [mscorlib]System.IO.FileInfo) + IL_021b: ldloc.0 + IL_021c: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Iid() + IL_0221: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0226: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_022b: brtrue IL_0252 - // method line 400 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ManagedProjectBase project, class [System.Xml]System.Xml.XmlElement elemConfig, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xd650 - // Code size 1409 (0x581) - .maxstack 7 - .locals init ( - char V_0, - char V_1, - string V_2, - string V_3, - class [mscorlib]System.Collections.Hashtable V_4, - class [mscorlib]System.Collections.Hashtable V_5, - valuetype NAnt.VSNet.ProjectType V_6, - valuetype [mscorlib]System.Collections.DictionaryEntry V_7, - class [mscorlib]System.Collections.IDictionaryEnumerator V_8, - string V_9, - string V_10, - unsigned int32 V_11, - class [mscorlib]System.IDisposable V_12, - valuetype [mscorlib]System.Collections.DictionaryEntry V_13, - class [mscorlib]System.Collections.IDictionaryEnumerator V_14, - string V_15, - string V_16, - class [mscorlib]System.IDisposable V_17) - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.VSNet.ConfigurationBase::'.ctor'(class NAnt.VSNet.ProjectBase) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_000e: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings - IL_0013: ldarg.3 - IL_0014: brtrue IL_009b + IL_0230: nop + IL_0231: ldloc.0 + IL_0232: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Iid() + IL_0237: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_023c: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0241: ldloc.0 + IL_0242: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Iid() + IL_0247: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_024c: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0251: nop + IL_0252: nop + IL_0253: ldarg.3 + IL_0254: ldstr "VCMIDLTool" + IL_0259: ldstr "DLLDataFileName" + IL_025e: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0263: stloc.s 5 + IL_0265: ldloc.s 5 + IL_0267: call bool string::IsNullOrEmpty(string) + IL_026c: brtrue IL_02bd - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldarg.2 - IL_001c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0021: ldstr "OutputPath" - IL_0026: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_002b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0030: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_0035: ldarg.0 - IL_0036: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_003b: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0040: stloc.0 - IL_0041: ldloca.s 0 - IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0048: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_004d: callvirt instance bool string::EndsWith(string) - IL_0052: brtrue IL_0074 + IL_0271: nop + IL_0272: ldloc.0 + IL_0273: ldloc.1 + IL_0274: ldloc.s 5 + IL_0276: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_027b: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0280: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_DllData(class [mscorlib]System.IO.FileInfo) + IL_0285: ldloc.0 + IL_0286: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_DllData() + IL_028b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0290: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0295: brtrue IL_02bc - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: ldarg.0 - IL_005a: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_005f: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0064: box [mscorlib]System.Char - IL_0069: call string string::Concat(object, object) - IL_006e: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_0073: nop - IL_0074: ldarg.0 - IL_0075: ldarg.1 - IL_0076: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_007b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0080: ldarg.0 - IL_0081: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_0086: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_008b: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0090: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir - IL_0095: nop - IL_0096: br IL_00ef + IL_029a: nop + IL_029b: ldloc.0 + IL_029c: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_DllData() + IL_02a1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_02a6: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_02ab: ldloc.0 + IL_02ac: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_DllData() + IL_02b1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_02b6: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_02bb: nop + IL_02bc: nop + IL_02bd: ldarg.3 + IL_02be: ldstr "VCMIDLTool" + IL_02c3: ldstr "HeaderFileName" + IL_02c8: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_02cd: stloc.s 6 + IL_02cf: ldloc.s 6 + IL_02d1: call bool string::IsNullOrEmpty(string) + IL_02d6: brtrue IL_0327 - IL_009b: nop - IL_009c: ldarg.0 - IL_009d: ldarg.3 - IL_009e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00a3: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_00a8: ldarg.0 - IL_00a9: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_00ae: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00b3: stloc.1 - IL_00b4: ldloca.s 1 - IL_00b6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00bb: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_00c0: callvirt instance bool string::EndsWith(string) - IL_00c5: brtrue IL_00e7 + IL_02db: nop + IL_02dc: ldloc.0 + IL_02dd: ldloc.1 + IL_02de: ldloc.s 6 + IL_02e0: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_02e5: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_02ea: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Header(class [mscorlib]System.IO.FileInfo) + IL_02ef: ldloc.0 + IL_02f0: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Header() + IL_02f5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_02fa: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_02ff: brtrue IL_0326 - IL_00ca: nop - IL_00cb: ldarg.0 - IL_00cc: ldarg.0 - IL_00cd: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_00d2: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00d7: box [mscorlib]System.Char - IL_00dc: call string string::Concat(object, object) - IL_00e1: stfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_00e6: nop - IL_00e7: ldarg.0 - IL_00e8: ldarg.3 - IL_00e9: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir - IL_00ee: nop - IL_00ef: ldarg.0 - IL_00f0: ldarg.2 - IL_00f1: ldstr "Name" - IL_00f6: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_00fb: stfld string NAnt.VSNet.ConfigurationSettings::_name - IL_0100: ldarg.2 - IL_0101: ldstr "DocumentationFile" - IL_0106: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_010b: stloc.2 - IL_010c: ldloc.2 - IL_010d: call bool string::IsNullOrEmpty(string) - IL_0112: brtrue IL_0177 + IL_0304: nop + IL_0305: ldloc.0 + IL_0306: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Header() + IL_030b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0310: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0315: ldloc.0 + IL_0316: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Header() + IL_031b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0320: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0325: nop + IL_0326: nop + IL_0327: ldarg.0 + IL_0328: ldarg.2 + IL_0329: ldarg.3 + IL_032a: ldstr "VCMIDLTool" + IL_032f: ldstr "PreprocessorDefinitions" + IL_0334: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_0339: stloc.s 7 + IL_033b: ldloc.s 7 + IL_033d: call bool string::IsNullOrEmpty(string) + IL_0342: brtrue IL_03a8 - IL_0117: nop - IL_0118: ldarg.1 - IL_0119: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_011e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0123: ldloc.2 - IL_0124: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0129: stloc.3 - IL_012a: ldarg.0 - IL_012b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings - IL_0130: ldstr "/doc:\"" - IL_0135: ldloc.3 - IL_0136: ldstr "\"" - IL_013b: call string string::Concat(string, string, string) - IL_0140: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0145: pop - IL_0146: ldloc.3 - IL_0147: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_014c: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0151: brtrue IL_0164 + IL_0347: nop + IL_0348: nop + IL_0349: ldloc.s 7 + IL_034b: ldc.i4.s 0x3b + IL_034d: ldc.i4.0 + IL_034e: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0353: stloc.s 9 + IL_0355: ldc.i4.0 + IL_0356: stloc.s 10 + IL_0358: br IL_039c - IL_0156: nop - IL_0157: ldloc.3 - IL_0158: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_015d: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0162: pop - IL_0163: nop - IL_0164: ldarg.0 - IL_0165: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles() - IL_016a: ldloc.3 - IL_016b: ldloc.3 - IL_016c: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0171: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0176: nop - IL_0177: ldarg.0 - IL_0178: ldarg.2 - IL_0179: ldstr "RegisterForComInterop" - IL_017e: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0183: ldstr "true" - IL_0188: ldc.i4.1 - IL_0189: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_018e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0193: ldc.i4.0 - IL_0194: ceq - IL_0196: stfld bool NAnt.VSNet.ConfigurationSettings::_registerForComInterop - IL_019b: ldarg.0 - IL_019c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_01a1: ldc.i4 1000 - IL_01a6: ldstr "Project: {0} Relative Output Path: {1} Output Path: {2} Documentation Path: {3}" - IL_01ab: ldc.i4.4 - IL_01ac: newarr [mscorlib]System.Object - IL_01b1: dup - IL_01b2: ldc.i4.0 - IL_01b3: ldarg.0 - IL_01b4: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_01b9: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_01be: stelem.ref - IL_01bf: dup - IL_01c0: ldc.i4.1 - IL_01c1: ldarg.0 - IL_01c2: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_01c7: stelem.ref - IL_01c8: dup - IL_01c9: ldc.i4.2 - IL_01ca: ldarg.0 - IL_01cb: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir - IL_01d0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01d5: stelem.ref - IL_01d6: dup - IL_01d7: ldc.i4.3 - IL_01d8: ldloc.2 - IL_01d9: stelem.ref - IL_01da: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01df: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_01e4: stloc.s 4 - IL_01e6: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_01eb: stloc.s 5 - IL_01ed: ldloc.s 4 - IL_01ef: ldstr "BaseAddress" - IL_01f4: ldstr "/baseaddress:{0}" - IL_01f9: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_01fe: ldloc.s 4 - IL_0200: ldstr "FileAlignment" - IL_0205: ldstr "/filealign:{0}" - IL_020a: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_020f: ldloc.s 4 - IL_0211: ldstr "DefineConstants" - IL_0216: ldstr "/define:{0}" - IL_021b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0220: ldarg.1 - IL_0221: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() - IL_0226: stloc.s 6 - IL_0228: ldloc.s 6 - IL_022a: ldc.i4.1 - IL_022b: beq IL_0244 + IL_035d: ldloc.s 9 + IL_035f: ldloc.s 10 + IL_0361: ldelem.ref + IL_0362: stloc.s 8 + IL_0364: nop + IL_0365: ldloc.s 8 + IL_0367: callvirt instance int32 string::get_Length() + IL_036c: brtrue IL_0377 - IL_0230: ldloc.s 6 - IL_0232: ldc.i4.3 - IL_0233: beq IL_029e + IL_0371: nop + IL_0372: br IL_0396 - IL_0238: ldloc.s 6 - IL_023a: brfalse IL_02d6 + IL_0377: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() + IL_037c: stloc.s 11 + IL_037e: ldloc.s 11 + IL_0380: ldloc.s 8 + IL_0382: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) + IL_0387: ldloc.0 + IL_0388: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Defines() + IL_038d: ldloc.s 11 + IL_038f: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) + IL_0394: pop + IL_0395: nop + IL_0396: ldloc.s 10 + IL_0398: ldc.i4.1 + IL_0399: add + IL_039a: stloc.s 10 + IL_039c: ldloc.s 10 + IL_039e: ldloc.s 9 + IL_03a0: ldlen + IL_03a1: conv.i4 + IL_03a2: blt IL_035d - IL_023f: br IL_030e + IL_03a7: nop + IL_03a8: ldarg.0 + IL_03a9: ldarg.2 + IL_03aa: ldarg.3 + IL_03ab: ldstr "VCMIDLTool" + IL_03b0: ldstr "UndefinePreprocessorDefinitions" + IL_03b5: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_03ba: stloc.s 12 + IL_03bc: ldloc.s 12 + IL_03be: call bool string::IsNullOrEmpty(string) + IL_03c3: brtrue IL_0429 - IL_0244: ldloc.s 4 - IL_0246: ldstr "WarningLevel" - IL_024b: ldstr "/warn:{0}" - IL_0250: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0255: ldloc.s 4 - IL_0257: ldstr "NoWarn" - IL_025c: ldstr "/nowarn:{0}" - IL_0261: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0266: ldloc.s 5 - IL_0268: ldstr "IncrementalBuild" - IL_026d: ldstr "/incremental" - IL_0272: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0277: ldloc.s 5 - IL_0279: ldstr "AllowUnsafeBlocks" - IL_027e: ldstr "/unsafe" - IL_0283: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0288: ldloc.s 5 - IL_028a: ldstr "CheckForOverflowUnderflow" - IL_028f: ldstr "/checked" - IL_0294: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0299: br IL_030e + IL_03c8: nop + IL_03c9: nop + IL_03ca: ldloc.s 12 + IL_03cc: ldc.i4.s 0x3b + IL_03ce: ldc.i4.0 + IL_03cf: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_03d4: stloc.s 14 + IL_03d6: ldc.i4.0 + IL_03d7: stloc.s 15 + IL_03d9: br IL_041d - IL_029e: ldloc.s 4 - IL_02a0: ldstr "WarningLevel" - IL_02a5: ldstr "/warn:{0}" - IL_02aa: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_02af: ldloc.s 4 - IL_02b1: ldstr "NoWarn" - IL_02b6: ldstr "/nowarn:{0}" - IL_02bb: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_02c0: ldloc.s 5 - IL_02c2: ldstr "IncrementalBuild" - IL_02c7: ldstr "/incremental" - IL_02cc: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_02d1: br IL_030e + IL_03de: ldloc.s 14 + IL_03e0: ldloc.s 15 + IL_03e2: ldelem.ref + IL_03e3: stloc.s 13 + IL_03e5: nop + IL_03e6: ldloc.s 13 + IL_03e8: callvirt instance int32 string::get_Length() + IL_03ed: brtrue IL_03f8 - IL_02d6: ldloc.s 4 - IL_02d8: ldstr "DefineDebug" - IL_02dd: ldstr "/d:DEBUG={0}" - IL_02e2: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_02e7: ldloc.s 4 - IL_02e9: ldstr "DefineTrace" - IL_02ee: ldstr "/d:TRACE={0}" - IL_02f3: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_02f8: ldloc.s 5 - IL_02fa: ldstr "RemoveIntegerChecks" - IL_02ff: ldstr "/removeintchecks" - IL_0304: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0309: br IL_030e + IL_03f2: nop + IL_03f3: br IL_0417 - IL_030e: ldloc.s 5 - IL_0310: ldstr "DebugSymbols" - IL_0315: ldstr "/debug" - IL_031a: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_031f: ldloc.s 5 - IL_0321: ldstr "TreatWarningsAsErrors" - IL_0326: ldstr "/warnaserror" - IL_032b: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0330: ldloc.s 5 - IL_0332: ldstr "Optimize" - IL_0337: ldstr "/optimize" - IL_033c: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0341: nop - IL_0342: ldloc.s 4 - IL_0344: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0349: stloc.s 8 - .try { // 0 - IL_034b: br IL_042a + IL_03f8: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() + IL_03fd: stloc.s 16 + IL_03ff: ldloc.s 16 + IL_0401: ldloc.s 13 + IL_0403: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) + IL_0408: ldloc.0 + IL_0409: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Undefines() + IL_040e: ldloc.s 16 + IL_0410: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) + IL_0415: pop + IL_0416: nop + IL_0417: ldloc.s 15 + IL_0419: ldc.i4.1 + IL_041a: add + IL_041b: stloc.s 15 + IL_041d: ldloc.s 15 + IL_041f: ldloc.s 14 + IL_0421: ldlen + IL_0422: conv.i4 + IL_0423: blt IL_03de - IL_0350: ldloc.s 8 - IL_0352: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0357: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_035c: stloc.s 7 - IL_035e: nop - IL_035f: ldloca.s 7 - IL_0361: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0366: callvirt instance string object::ToString() - IL_036b: stloc.s 9 - IL_036d: ldarg.2 - IL_036e: ldloca.s 7 - IL_0370: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0375: callvirt instance string object::ToString() - IL_037a: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_037f: stloc.s 10 - IL_0381: ldloc.s 10 - IL_0383: call bool string::IsNullOrEmpty(string) - IL_0388: brtrue IL_0429 + IL_0428: nop + IL_0429: ldarg.0 + IL_042a: ldarg.2 + IL_042b: ldarg.3 + IL_042c: ldstr "VCMIDLTool" + IL_0431: ldstr "AdditionalIncludeDirectories" + IL_0436: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_043b: stloc.s 17 + IL_043d: ldloc.s 17 + IL_043f: call bool string::IsNullOrEmpty(string) + IL_0444: brtrue IL_04b4 + + IL_0449: nop + IL_044a: nop + IL_044b: ldloc.s 17 + IL_044d: ldc.i4.s 0x3b + IL_044f: ldc.i4.0 + IL_0450: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0455: stloc.s 19 + IL_0457: ldc.i4.0 + IL_0458: stloc.s 20 + IL_045a: br IL_04a8 - IL_038d: nop - IL_038e: ldloc.s 9 - IL_0390: brfalse IL_0404 + IL_045f: ldloc.s 19 + IL_0461: ldloc.s 20 + IL_0463: ldelem.ref + IL_0464: stloc.s 18 + IL_0466: nop + IL_0467: ldloc.s 18 + IL_0469: callvirt instance int32 string::get_Length() + IL_046e: brtrue IL_0479 - IL_0395: ldloc.s 9 - IL_0397: ldstr "BaseAddress" - IL_039c: call bool string::op_Equality(string, string) - IL_03a1: brtrue IL_03bc + IL_0473: nop + IL_0474: br IL_04a2 - IL_03a6: ldloc.s 9 - IL_03a8: ldstr "DefineConstants" - IL_03ad: call bool string::op_Equality(string, string) - IL_03b2: brtrue IL_03ec + IL_0479: ldloc.0 + IL_047a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() + IL_047f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0484: ldarg.0 + IL_0485: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_048a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_048f: ldloc.s 18 + IL_0491: call string class NAnt.VSNet.VcProject::CleanPath(string) + IL_0496: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_049b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_04a0: pop + IL_04a1: nop + IL_04a2: ldloc.s 20 + IL_04a4: ldc.i4.1 + IL_04a5: add + IL_04a6: stloc.s 20 + IL_04a8: ldloc.s 20 + IL_04aa: ldloc.s 19 + IL_04ac: ldlen + IL_04ad: conv.i4 + IL_04ae: blt IL_045f - IL_03b7: br IL_0404 + IL_04b3: nop + IL_04b4: ldarg.0 + IL_04b5: ldarg.2 + IL_04b6: ldarg.3 + IL_04b7: ldstr "VCMIDLTool" + IL_04bc: ldstr "CPreprocessOptions" + IL_04c1: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) + IL_04c6: stloc.s 21 + IL_04c8: ldloc.s 21 + IL_04ca: call bool string::IsNullOrEmpty(string) + IL_04cf: brtrue IL_0534 - IL_03bc: ldloc.s 10 - IL_03be: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03c3: call unsigned int32 class [mscorlib]System.Convert::ToUInt32(string, class [mscorlib]System.IFormatProvider) - IL_03c8: stloc.s 11 - IL_03ca: ldstr "0x" - IL_03cf: ldloca.s 11 - IL_03d1: ldstr "x" - IL_03d6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_03db: call instance string unsigned int32::ToString(string, class [mscorlib]System.IFormatProvider) - IL_03e0: call string string::Concat(string, string) - IL_03e5: stloc.s 10 - IL_03e7: leave IL_0404 + IL_04d4: nop + IL_04d5: nop + IL_04d6: ldloc.s 21 + IL_04d8: ldc.i4.s 0x3b + IL_04da: ldc.i4.0 + IL_04db: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_04e0: stloc.s 23 + IL_04e2: ldc.i4.0 + IL_04e3: stloc.s 24 + IL_04e5: br IL_0528 - IL_03ec: ldloc.s 10 - IL_03ee: ldstr " " - IL_03f3: ldsfld string [mscorlib]System.String::Empty - IL_03f8: callvirt instance string string::Replace(string, string) - IL_03fd: stloc.s 10 - IL_03ff: leave IL_0404 + IL_04ea: ldloc.s 23 + IL_04ec: ldloc.s 24 + IL_04ee: ldelem.ref + IL_04ef: stloc.s 22 + IL_04f1: nop + IL_04f2: ldloc.s 22 + IL_04f4: callvirt instance int32 string::get_Length() + IL_04f9: brtrue IL_0504 - IL_0404: ldarg.0 - IL_0405: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings - IL_040a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_040f: ldloca.s 7 - IL_0411: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0416: callvirt instance string object::ToString() - IL_041b: ldloc.s 10 - IL_041d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0422: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0427: pop - IL_0428: nop - IL_0429: nop - IL_042a: ldloc.s 8 - IL_042c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0431: brtrue IL_0350 + IL_04fe: nop + IL_04ff: br IL_0522 - IL_0436: leave IL_0452 + IL_0504: ldloc.0 + IL_0505: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_050a: ldstr "/cpp_opt\"{0}\"" + IL_050f: ldloc.s 22 + IL_0511: call string string::Format(string, object) + IL_0516: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_051b: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0520: pop + IL_0521: nop + IL_0522: ldloc.s 24 + IL_0524: ldc.i4.1 + IL_0525: add + IL_0526: stloc.s 24 + IL_0528: ldloc.s 24 + IL_052a: ldloc.s 23 + IL_052c: ldlen + IL_052d: conv.i4 + IL_052e: blt IL_04ea - } // end .try 0 - finally { // 0 - IL_043b: ldloc.s 8 - IL_043d: isinst [mscorlib]System.IDisposable - IL_0442: dup - IL_0443: stloc.s 12 - IL_0445: brfalse IL_0451 + IL_0533: nop + IL_0534: ldarg.3 + IL_0535: ldstr "VCMIDLTool" + IL_053a: ldarg.0 + IL_053b: ldfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_midlArgMap + IL_0540: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap) + IL_0545: stloc.s 25 + IL_0547: nop + IL_0548: ldloc.s 25 + IL_054a: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_054f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0554: stloc.s 27 + .try { // 0 + IL_0556: br IL_05fa - IL_044a: ldloc.s 12 - IL_044c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0451: endfinally - } // end handler 0 - IL_0452: nop - IL_0453: ldloc.s 5 - IL_0455: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_045a: stloc.s 14 - .try { // 1 - IL_045c: br IL_0537 + IL_055b: ldloc.s 27 + IL_055d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0562: castclass [mscorlib]System.String + IL_0567: stloc.s 26 + IL_0569: nop + IL_056a: ldloc.s 26 + IL_056c: brfalse IL_05ca - IL_0461: ldloc.s 14 - IL_0463: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0468: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_046d: stloc.s 13 - IL_046f: nop - IL_0470: ldloca.s 13 - IL_0472: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0477: callvirt instance string object::ToString() - IL_047c: stloc.s 15 - IL_047e: ldloc.s 15 - IL_0480: brfalse IL_04b1 + IL_0571: ldloc.s 26 + IL_0573: ldstr "TargetEnvironment" + IL_0578: call bool string::op_Equality(string, string) + IL_057d: brtrue IL_0598 - IL_0485: ldloc.s 15 - IL_0487: ldstr "IncrementalBuild" - IL_048c: call bool string::op_Equality(string, string) - IL_0491: brtrue IL_049b + IL_0582: ldloc.s 26 + IL_0584: ldstr "DefaultCharType" + IL_0589: call bool string::op_Equality(string, string) + IL_058e: brtrue IL_05b1 - IL_0496: br IL_04b1 + IL_0593: br IL_05ca - IL_049b: ldarg.0 - IL_049c: call instance bool class NAnt.VSNet.ConfigurationSettings::get_IncrementalBuildSupported() - IL_04a1: brtrue IL_04ac + IL_0598: ldloc.0 + IL_0599: ldloc.s 25 + IL_059b: ldloc.s 26 + IL_059d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_05a2: castclass [mscorlib]System.String + IL_05a7: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Env(string) + IL_05ac: leave IL_05f9 - IL_04a6: nop - IL_04a7: leave IL_0537 + IL_05b1: ldloc.0 + IL_05b2: ldloc.s 25 + IL_05b4: ldloc.s 26 + IL_05b6: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_05bb: castclass [mscorlib]System.String + IL_05c0: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Char(string) + IL_05c5: leave IL_05f9 - IL_04ac: leave IL_04b1 + IL_05ca: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() + IL_05cf: stloc.s 28 + IL_05d1: ldloc.s 28 + IL_05d3: ldloc.s 25 + IL_05d5: ldloc.s 26 + IL_05d7: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_05dc: castclass [mscorlib]System.String + IL_05e1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_05e6: ldloc.0 + IL_05e7: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_05ec: ldloc.s 28 + IL_05ee: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_05f3: pop + IL_05f4: leave IL_05f9 - IL_04b1: ldarg.2 - IL_04b2: ldloc.s 15 - IL_04b4: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_04b9: stloc.s 16 - IL_04bb: ldloc.s 16 - IL_04bd: ldstr "true" - IL_04c2: ldc.i4.1 - IL_04c3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_04c8: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_04cd: brtrue IL_04fb + IL_05f9: nop + IL_05fa: ldloc.s 27 + IL_05fc: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0601: brtrue IL_055b - IL_04d2: nop - IL_04d3: ldarg.0 - IL_04d4: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings - IL_04d9: ldloca.s 13 - IL_04db: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_04e0: callvirt instance string object::ToString() - IL_04e5: ldstr "+" - IL_04ea: call string string::Concat(string, string) - IL_04ef: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_04f4: pop - IL_04f5: nop - IL_04f6: br IL_0536 + IL_0606: leave IL_0622 - IL_04fb: ldloc.s 16 - IL_04fd: ldstr "false" - IL_0502: ldc.i4.1 - IL_0503: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0508: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_050d: brtrue IL_0536 + } // end .try 0 + finally { // 0 + IL_060b: ldloc.s 27 + IL_060d: isinst [mscorlib]System.IDisposable + IL_0612: dup + IL_0613: stloc.s 29 + IL_0615: brfalse IL_0621 - IL_0512: nop - IL_0513: ldarg.0 - IL_0514: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings - IL_0519: ldloca.s 13 - IL_051b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0520: callvirt instance string object::ToString() - IL_0525: ldstr "-" - IL_052a: call string string::Concat(string, string) - IL_052f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0534: pop - IL_0535: nop - IL_0536: nop - IL_0537: ldloc.s 14 - IL_0539: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_053e: brtrue IL_0461 + IL_061a: ldloc.s 29 + IL_061c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0621: endfinally + } // end handler 0 + IL_0622: nop + IL_0623: ldarg.1 + IL_0624: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0629: stloc.s 31 + .try { // 1 + IL_062b: br IL_0664 - IL_0543: leave IL_055f + IL_0630: ldloc.s 31 + IL_0632: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0637: castclass [mscorlib]System.String + IL_063c: stloc.s 30 + IL_063e: nop + IL_063f: ldloc.0 + IL_0640: ldarg.0 + IL_0641: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0646: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_064b: ldloc.s 30 + IL_064d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0652: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0657: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Filename(class [mscorlib]System.IO.FileInfo) + IL_065c: ldarg.0 + IL_065d: ldloc.0 + IL_065e: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) + IL_0663: nop + IL_0664: ldloc.s 31 + IL_0666: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_066b: brtrue IL_0630 + + IL_0670: leave IL_068c } // end .try 1 finally { // 1 - IL_0548: ldloc.s 14 - IL_054a: isinst [mscorlib]System.IDisposable - IL_054f: dup - IL_0550: stloc.s 17 - IL_0552: brfalse IL_055e + IL_0675: ldloc.s 31 + IL_0677: isinst [mscorlib]System.IDisposable + IL_067c: dup + IL_067d: stloc.s 32 + IL_067f: brfalse IL_068b - IL_0557: ldloc.s 17 - IL_0559: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_055e: endfinally + IL_0684: ldloc.s 32 + IL_0686: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_068b: endfinally } // end handler 1 - IL_055f: ldarg.0 - IL_0560: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings - IL_0565: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_056a: ldstr "/out:\"{0}\"" - IL_056f: ldarg.0 - IL_0570: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_0575: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_057a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_057f: pop - IL_0580: ret - } // end of method ConfigurationSettings::.ctor + IL_068c: ret + } // end of method VcProject::BuildIDLFiles - // method line 401 - .method public virtual hidebysig specialname - instance default string get_PlatformName () cil managed + // method line 408 + .method private hidebysig + instance default bool RunCustomBuildStep (class NAnt.VSNet.Configuration solutionConfiguration, class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed { - // Method begins at RVA 0xdbfc - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0xe758 + // Code size 517 (0x205) + .maxstack 4 .locals init ( - string V_0) + string V_0, + bool V_1, + valuetype [mscorlib]System.DateTime V_2, + string V_3, + string V_4, + string[] V_5, + int32 V_6, + string V_7, + valuetype [mscorlib]System.DateTime V_8, + bool V_9, + string V_10, + valuetype [mscorlib]System.DateTime V_11, + string V_12, + string V_13, + string[] V_14, + int32 V_15, + string V_16, + valuetype [mscorlib]System.DateTime V_17, + string V_18) IL_0000: nop - IL_0001: ldstr ".NET" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.2 + IL_0002: ldstr "VCCustomBuildTool" + IL_0007: ldstr "CommandLine" + IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: call bool string::IsNullOrEmpty(string) + IL_0018: brfalse IL_0025 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method ConfigurationSettings::get_PlatformName + IL_001d: nop + IL_001e: ldc.i4.1 + IL_001f: stloc.1 + IL_0020: br IL_0203 - // method line 402 - .method public virtual hidebysig specialname - instance default string get_RelativeOutputDir () cil managed - { - // Method begins at RVA 0xdc18 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ConfigurationSettings::_relativeOutputDir - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0025: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue + IL_002a: stloc.2 + IL_002b: ldarg.2 + IL_002c: ldstr "VCCustomBuildTool" + IL_0031: ldstr "Outputs" + IL_0036: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_003b: stloc.3 + IL_003c: ldloc.3 + IL_003d: call bool string::IsNullOrEmpty(string) + IL_0042: brtrue IL_00d6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationSettings::get_RelativeOutputDir + IL_0047: nop + IL_0048: nop + IL_0049: ldloc.3 + IL_004a: ldc.i4.s 0x3b + IL_004c: ldc.i4.0 + IL_004d: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0052: stloc.s 5 + IL_0054: ldc.i4.0 + IL_0055: stloc.s 6 + IL_0057: br IL_00ca - // method line 403 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed - { - // Method begins at RVA 0xdc34 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::_outputDir - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_005c: ldloc.s 5 + IL_005e: ldloc.s 6 + IL_0060: ldelem.ref + IL_0061: stloc.s 4 + IL_0063: nop + IL_0064: ldloc.s 4 + IL_0066: callvirt instance int32 string::get_Length() + IL_006b: brtrue IL_0076 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationSettings::get_OutputDir + IL_0070: nop + IL_0071: br IL_00c4 - // method line 404 - .method public virtual hidebysig specialname - instance default string get_OutputPath () cil managed - { - // Method begins at RVA 0xdc50 - // Code size 46 (0x2e) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: ldarg.0 - IL_000d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0012: castclass NAnt.VSNet.ManagedProjectBase - IL_0017: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_001c: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() - IL_0021: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0026: stloc.0 - IL_0027: br IL_002c + IL_0076: ldarg.0 + IL_0077: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_007c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0081: ldloc.s 4 + IL_0083: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0088: stloc.s 7 + IL_008a: ldloc.s 7 + IL_008c: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0091: brfalse IL_00c3 + + IL_0096: nop + IL_0097: ldloc.s 7 + IL_0099: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_009e: stloc.s 8 + IL_00a0: ldloc.s 8 + IL_00a2: ldloc.2 + IL_00a3: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_00a8: brtrue IL_00bd + + IL_00ad: ldloc.2 + IL_00ae: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue + IL_00b3: call bool valuetype [mscorlib]System.DateTime::op_Equality(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_00b8: brfalse IL_00c2 + + IL_00bd: nop + IL_00be: ldloc.s 8 + IL_00c0: stloc.2 + IL_00c1: nop + IL_00c2: nop + IL_00c3: nop + IL_00c4: ldloc.s 6 + IL_00c6: ldc.i4.1 + IL_00c7: add + IL_00c8: stloc.s 6 + IL_00ca: ldloc.s 6 + IL_00cc: ldloc.s 5 + IL_00ce: ldlen + IL_00cf: conv.i4 + IL_00d0: blt IL_005c - IL_002c: ldloc.0 - IL_002d: ret - } // end of method ConfigurationSettings::get_OutputPath + IL_00d5: nop + IL_00d6: ldc.i4.0 + IL_00d7: stloc.s 9 + IL_00d9: ldarg.0 + IL_00da: ldarg.1 + IL_00db: call instance string class NAnt.VSNet.ProjectBase::GetOutputPath(class NAnt.VSNet.Configuration) + IL_00e0: stloc.s 10 + IL_00e2: ldloc.s 10 + IL_00e4: brfalse IL_0112 - // method line 405 - .method public virtual hidebysig specialname - instance default string get_BuildPath () cil managed - { - // Method begins at RVA 0xdc8c - // Code size 36 (0x24) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: ldarg.0 - IL_000d: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_0012: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_001c: stloc.0 - IL_001d: br IL_0022 + IL_00e9: ldloc.s 10 + IL_00eb: call bool class [mscorlib]System.IO.File::Exists(string) + IL_00f0: brfalse IL_0112 - IL_0022: ldloc.0 - IL_0023: ret - } // end of method ConfigurationSettings::get_BuildPath + IL_00f5: nop + IL_00f6: ldloc.s 10 + IL_00f8: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_00fd: stloc.s 11 + IL_00ff: ldloc.s 11 + IL_0101: ldloc.2 + IL_0102: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0107: brfalse IL_0111 - // method line 406 - .method public hidebysig specialname - instance default string[] get_Settings () cil managed - { - // Method begins at RVA 0xdcbc - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - string[] V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ConfigurationSettings::_settings - IL_0007: ldtoken [mscorlib]System.String - IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0011: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_0016: castclass string[] - IL_001b: stloc.0 - IL_001c: br IL_0021 + IL_010c: nop + IL_010d: ldc.i4.1 + IL_010e: stloc.s 9 + IL_0110: nop + IL_0111: nop + IL_0112: ldloc.s 9 + IL_0114: brtrue IL_01bd - IL_0021: ldloc.0 - IL_0022: ret - } // end of method ConfigurationSettings::get_Settings + IL_0119: nop + IL_011a: ldarg.2 + IL_011b: ldstr "VCCustomBuildTool" + IL_0120: ldstr "AdditionalDependencies" + IL_0125: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_012a: stloc.s 12 + IL_012c: ldloc.s 12 + IL_012e: call bool string::IsNullOrEmpty(string) + IL_0133: brtrue IL_01bc - // method line 407 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xdcec - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ConfigurationSettings::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0138: nop + IL_0139: nop + IL_013a: ldloc.s 12 + IL_013c: ldc.i4.s 0x3b + IL_013e: ldc.i4.0 + IL_013f: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0144: stloc.s 14 + IL_0146: ldc.i4.0 + IL_0147: stloc.s 15 + IL_0149: br IL_01b0 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationSettings::get_Name + IL_014e: ldloc.s 14 + IL_0150: ldloc.s 15 + IL_0152: ldelem.ref + IL_0153: stloc.s 13 + IL_0155: nop + IL_0156: ldloc.s 13 + IL_0158: callvirt instance int32 string::get_Length() + IL_015d: brtrue IL_0168 - // method line 408 - .method public hidebysig specialname - instance default bool get_RegisterForComInterop () cil managed - { - // Method begins at RVA 0xdd08 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.ConfigurationSettings::_registerForComInterop - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0162: nop + IL_0163: br IL_01aa - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationSettings::get_RegisterForComInterop + IL_0168: ldarg.0 + IL_0169: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_016e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0173: ldloc.s 13 + IL_0175: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_017a: stloc.s 16 + IL_017c: ldloc.s 16 + IL_017e: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0183: brfalse IL_01a9 - // method line 409 - .method private hidebysig specialname - instance default bool get_IncrementalBuildSupported () cil managed - { - // Method begins at RVA 0xdd24 - // Code size 68 (0x44) - .maxstack 3 - .locals init ( - class [NAnt.Core]NAnt.Core.FrameworkInfo V_0, - bool V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Family() - IL_0018: ldstr "net" - IL_001d: call bool string::op_Equality(string, string) - IL_0022: brfalse IL_003b + IL_0188: nop + IL_0189: ldloc.s 16 + IL_018b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_0190: stloc.s 17 + IL_0192: ldloc.s 17 + IL_0194: ldloc.2 + IL_0195: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_019a: brfalse IL_01a8 - IL_0027: ldloc.0 - IL_0028: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Version() - IL_002d: ldc.i4.2 - IL_002e: ldc.i4.0 - IL_002f: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32) - IL_0034: call bool class [mscorlib]System.Version::op_LessThanOrEqual(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_0039: br.s IL_003c + IL_019f: nop + IL_01a0: ldc.i4.1 + IL_01a1: stloc.s 9 + IL_01a3: br IL_01bb - IL_003b: ldc.i4.0 - IL_003c: stloc.1 - IL_003d: br IL_0042 + IL_01a8: nop + IL_01a9: nop + IL_01aa: ldloc.s 15 + IL_01ac: ldc.i4.1 + IL_01ad: add + IL_01ae: stloc.s 15 + IL_01b0: ldloc.s 15 + IL_01b2: ldloc.s 14 + IL_01b4: ldlen + IL_01b5: conv.i4 + IL_01b6: blt IL_014e - IL_0042: ldloc.1 - IL_0043: ret - } // end of method ConfigurationSettings::get_IncrementalBuildSupported + IL_01bb: nop + IL_01bc: nop + IL_01bd: ldloc.s 9 + IL_01bf: brtrue IL_01cc - .property instance string PlatformName () - { - .get instance default string NAnt.VSNet.ConfigurationSettings::get_PlatformName () - } - .property instance string RelativeOutputDir () - { - .get instance default string NAnt.VSNet.ConfigurationSettings::get_RelativeOutputDir () - } - .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ConfigurationSettings::get_OutputDir () - } - .property instance string OutputPath () - { - .get instance default string NAnt.VSNet.ConfigurationSettings::get_OutputPath () - } - .property instance string BuildPath () - { - .get instance default string NAnt.VSNet.ConfigurationSettings::get_BuildPath () - } - .property instance string[] Settings () - { - .get instance default string[] NAnt.VSNet.ConfigurationSettings::get_Settings () - } - .property instance string Name () - { - .get instance default string NAnt.VSNet.ConfigurationSettings::get_Name () - } - .property instance bool RegisterForComInterop () - { - .get instance default bool NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop () - } - .property instance bool IncrementalBuildSupported () - { - .get instance default bool NAnt.VSNet.ConfigurationSettings::get_IncrementalBuildSupported () - } - } // end of class NAnt.VSNet.ConfigurationSettings -} + IL_01c4: nop + IL_01c5: ldc.i4.1 + IL_01c6: stloc.1 + IL_01c7: br IL_0203 -.namespace NAnt.VSNet -{ - .class private auto ansi beforefieldinit VCProjectProvider - extends [mscorlib]System.Object - implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + IL_01cc: ldarg.2 + IL_01cd: ldstr "VCCustomBuildTool" + IL_01d2: ldstr "Description" + IL_01d7: ldstr "Performing Custom Build Step" + IL_01dc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_01e1: stloc.s 18 + IL_01e3: ldarg.0 + IL_01e4: ldc.i4 3000 + IL_01e9: ldloc.s 18 + IL_01eb: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_01f0: ldarg.0 + IL_01f1: ldstr "Custom-Build" + IL_01f6: ldloc.0 + IL_01f7: ldarg.2 + IL_01f8: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) + IL_01fd: stloc.1 + IL_01fe: br IL_0203 - // method line 410 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xdd74 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method VCProjectProvider::.ctor + IL_0203: ldloc.1 + IL_0204: ret + } // end of method VcProject::RunCustomBuildStep - // method line 411 - .method public final virtual hidebysig newslot - instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + // method line 409 + .method private hidebysig + instance default void RunLibrarian (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed { - // Method begins at RVA 0xdd7c - // Code size 52 (0x34) - .maxstack 2 + // Method begins at RVA 0xe96c + // Code size 862 (0x35e) + .maxstack 5 .locals init ( - int32 V_0) + class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask V_0, + string V_1, + string V_2, + string[] V_3, + int32 V_4, + string V_5, + int32 V_6, + string V_7, + string[] V_8, + int32 V_9, + string V_10, + class [mscorlib]System.Collections.IEnumerator V_11, + class [mscorlib]System.IDisposable V_12, + string V_13, + string V_14, + string V_15, + string V_16, + string[] V_17, + int32 V_18, + string V_19, + string V_20, + string[] V_21, + int32 V_22) IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldstr ".vcproj" - IL_0007: call bool string::op_Equality(string, string) - IL_000c: brfalse IL_0018 - - IL_0011: ldc.i4.5 - IL_0012: stloc.0 - IL_0013: br IL_0032 - - IL_0018: ldarg.2 - IL_0019: call bool class NAnt.VSNet.VcProject::IsSupported(class [System.Xml]System.Xml.XmlElement) - IL_001e: brfalse IL_002b + IL_0002: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_000c: brtrue IL_0027 - IL_0023: ldc.i4.s 0x0a - IL_0025: stloc.0 - IL_0026: br IL_0032 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldc.i4 1000 + IL_0018: ldstr "No files to compile." + IL_001d: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0022: br IL_035d - IL_002b: ldc.i4.0 + IL_0027: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::'.ctor'() IL_002c: stloc.0 - IL_002d: br IL_0032 - - IL_0032: ldloc.0 - IL_0033: ret - } // end of method VCProjectProvider::IsSupported + IL_002d: ldloc.0 + IL_002e: ldarg.0 + IL_002f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0034: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_003e: ldloc.0 + IL_003f: ldarg.0 + IL_0040: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0045: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_004a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_004f: ldloc.0 + IL_0050: ldarg.0 + IL_0051: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0056: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_005b: ldloc.0 + IL_005c: ldarg.0 + IL_005d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0062: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0067: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_006c: ldloc.0 + IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0072: ldloc.0 + IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_0078: ldloc.0 + IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_007e: ldloc.0 + IL_007f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_0084: ldloc.0 + IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_008a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_008f: ldloc.0 + IL_0090: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_0095: ldloc.0 + IL_0096: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00a0: ldloc.0 + IL_00a1: ldarg.1 + IL_00a2: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_00a7: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00ac: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_00b1: ldarg.1 + IL_00b2: ldstr "VCLibrarianTool" + IL_00b7: ldstr "AdditionalLibraryDirectories" + IL_00bc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_00c1: stloc.1 + IL_00c2: ldloc.1 + IL_00c3: call bool string::IsNullOrEmpty(string) + IL_00c8: brtrue IL_0129 - // method line 412 - .method public final virtual hidebysig newslot - instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xddbc - // Code size 27 (0x1b) - .maxstack 8 - .locals init ( - class NAnt.VSNet.ProjectBase V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: ldarg.s 6 - IL_000a: ldarg.s 7 - IL_000c: ldarg.s 8 - IL_000e: newobj instance void class NAnt.VSNet.VcProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_00cd: nop + IL_00ce: nop + IL_00cf: ldloc.1 + IL_00d0: ldc.i4.2 + IL_00d1: newarr [mscorlib]System.Char + IL_00d6: dup + IL_00d7: ldc.i4.0 + IL_00d8: ldc.i4.s 0x2c + IL_00da: stelem.i2 + IL_00db: dup + IL_00dc: ldc.i4.1 + IL_00dd: ldc.i4.s 0x3b + IL_00df: stelem.i2 + IL_00e0: callvirt instance string[] string::Split(char[]) + IL_00e5: stloc.3 + IL_00e6: ldc.i4.0 + IL_00e7: stloc.s 4 + IL_00e9: br IL_011e - IL_0019: ldloc.0 - IL_001a: ret - } // end of method VCProjectProvider::GetInstance + IL_00ee: ldloc.3 + IL_00ef: ldloc.s 4 + IL_00f1: ldelem.ref + IL_00f2: stloc.2 + IL_00f3: nop + IL_00f4: ldloc.2 + IL_00f5: callvirt instance int32 string::get_Length() + IL_00fa: brtrue IL_0105 - // method line 413 - .method public final virtual hidebysig newslot - instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed - { - // Method begins at RVA 0xdde4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call string class NAnt.VSNet.VcProject::LoadGuid(class [System.Xml]System.Xml.XmlElement) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00ff: nop + IL_0100: br IL_0118 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VCProjectProvider::LoadGuid + IL_0105: ldloc.0 + IL_0106: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() + IL_010b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0110: ldloc.2 + IL_0111: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0116: pop + IL_0117: nop + IL_0118: ldloc.s 4 + IL_011a: ldc.i4.1 + IL_011b: add + IL_011c: stloc.s 4 + IL_011e: ldloc.s 4 + IL_0120: ldloc.3 + IL_0121: ldlen + IL_0122: conv.i4 + IL_0123: blt IL_00ee - } // end of class NAnt.VSNet.VCProjectProvider -} + IL_0128: nop + IL_0129: ldarg.1 + IL_012a: ldstr "VCLibrarianTool" + IL_012f: ldstr "AdditionalDependencies" + IL_0134: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0139: stloc.s 5 + IL_013b: ldloc.s 5 + IL_013d: call bool string::IsNullOrEmpty(string) + IL_0142: brtrue IL_01c1 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit VcProject - extends NAnt.VSNet.ProjectBase - { - .field private initonly string _name - .field private initonly string _projectPath - .field private string _guid - .field private initonly class [mscorlib]System.Collections.ArrayList _references - .field private initonly class NAnt.VSNet.VcArgumentMap _clArgMap - .field private initonly class NAnt.VSNet.VcArgumentMap _linkerArgMap - .field private initonly class NAnt.VSNet.VcArgumentMap _midlArgMap - .field private initonly class [mscorlib]System.Collections.ArrayList _projectFiles - .field private static string[] _defaultLibraries - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map2' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0147: nop + IL_0148: ldc.i4.0 + IL_0149: stloc.s 6 + IL_014b: nop + IL_014c: ldloc.s 5 + IL_014e: ldc.i4.s 0x20 + IL_0150: ldc.i4.0 + IL_0151: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0156: stloc.s 8 + IL_0158: ldc.i4.0 + IL_0159: stloc.s 9 + IL_015b: br IL_01b5 + IL_0160: ldloc.s 8 + IL_0162: ldloc.s 9 + IL_0164: ldelem.ref + IL_0165: stloc.s 7 + IL_0167: nop + IL_0168: ldloc.s 7 + IL_016a: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_016f: ldstr ".obj" + IL_0174: call bool string::op_Equality(string, string) + IL_0179: brfalse IL_0199 - // method line 414 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0xde00 - // Code size 1034 (0x40a) - .maxstack 7 - .locals init ( - class [System.Xml]System.Xml.XmlNodeList V_0, - class [System.Xml]System.Xml.XmlElement V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class NAnt.VSNet.VcProjectConfiguration V_3, - class [mscorlib]System.IDisposable V_4, - class [System.Xml]System.Xml.XmlNodeList V_5, - class [System.Xml]System.Xml.XmlElement V_6, - class [mscorlib]System.Collections.IEnumerator V_7, - class NAnt.VSNet.ReferenceBase V_8, - class [mscorlib]System.IDisposable V_9, - class [System.Xml]System.Xml.XmlNodeList V_10, - class [System.Xml]System.Xml.XmlElement V_11, - class [mscorlib]System.Collections.IEnumerator V_12, - string V_13, - class [System.Xml]System.Xml.XmlNode V_14, - string V_15, - class [mscorlib]System.Collections.Hashtable V_16, - class [System.Xml]System.Xml.XmlNodeList V_17, - class [System.Xml]System.Xml.XmlElement V_18, - class [mscorlib]System.Collections.IEnumerator V_19, - class NAnt.VSNet.Configuration V_20, - class NAnt.VSNet.VcProjectConfiguration V_21, - class [mscorlib]System.IDisposable V_22, - string V_23, - class NAnt.VSNet.VcProjectConfiguration V_24, - class [mscorlib]System.Collections.IEnumerator V_25, - class [mscorlib]System.IDisposable V_26, - class [mscorlib]System.IDisposable V_27) - IL_0000: ldarg.0 - IL_0001: ldarg.3 - IL_0002: ldarg.s 4 - IL_0004: ldarg.s 5 - IL_0006: ldarg.s 6 - IL_0008: ldarg.s 7 - IL_000a: ldarg.s 8 - IL_000c: call instance void class NAnt.VSNet.ProjectBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0011: nop - IL_0012: ldarg.2 - IL_0013: brtrue IL_0024 + IL_017e: nop + IL_017f: ldarg.1 + IL_0180: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() + IL_0185: ldloc.s 6 + IL_0187: dup + IL_0188: ldc.i4.1 + IL_0189: add + IL_018a: stloc.s 6 + IL_018c: ldloc.s 7 + IL_018e: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) + IL_0193: nop + IL_0194: br IL_01ae - IL_0018: nop - IL_0019: ldstr "projectPath" - IL_001e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0023: throw - IL_0024: ldarg.0 - IL_0025: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_002a: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references - IL_002f: ldarg.0 - IL_0030: call class NAnt.VSNet.VcArgumentMap class NAnt.VSNet.VcArgumentMap::CreateCLArgumentMap() - IL_0035: stfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_clArgMap - IL_003a: ldarg.0 - IL_003b: call class NAnt.VSNet.VcArgumentMap class NAnt.VSNet.VcArgumentMap::CreateLinkerArgumentMap() - IL_0040: stfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_linkerArgMap - IL_0045: ldarg.0 - IL_0046: call class NAnt.VSNet.VcArgumentMap class NAnt.VSNet.VcArgumentMap::CreateMidlArgumentMap() - IL_004b: stfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_midlArgMap - IL_0050: ldarg.0 - IL_0051: ldarg.2 - IL_0052: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_0057: stfld string NAnt.VSNet.VcProject::_projectPath - IL_005c: ldarg.0 - IL_005d: ldarg.3 - IL_005e: ldstr "Name" - IL_0063: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0068: stfld string NAnt.VSNet.VcProject::_name - IL_006d: ldarg.0 - IL_006e: ldarg.3 - IL_006f: ldstr "ProjectGUID" - IL_0074: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0079: stfld string NAnt.VSNet.VcProject::_guid - IL_007e: ldarg.3 - IL_007f: ldstr "//Configurations/Configuration" - IL_0084: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0089: stloc.0 - IL_008a: nop - IL_008b: ldloc.0 - IL_008c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0091: stloc.2 + IL_0199: nop + IL_019a: ldloc.0 + IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_01a0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01a5: ldloc.s 7 + IL_01a7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_01ac: pop + IL_01ad: nop + IL_01ae: nop + IL_01af: ldloc.s 9 + IL_01b1: ldc.i4.1 + IL_01b2: add + IL_01b3: stloc.s 9 + IL_01b5: ldloc.s 9 + IL_01b7: ldloc.s 8 + IL_01b9: ldlen + IL_01ba: conv.i4 + IL_01bb: blt IL_0160 + + IL_01c0: nop + IL_01c1: nop + IL_01c2: ldarg.1 + IL_01c3: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() + IL_01c8: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_01cd: stloc.s 11 .try { // 0 - IL_0092: br IL_00d0 + IL_01cf: br IL_01f7 - IL_0097: ldloc.2 - IL_0098: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_009d: castclass [System.Xml]System.Xml.XmlElement - IL_00a2: stloc.1 - IL_00a3: nop - IL_00a4: ldloc.1 - IL_00a5: ldarg.0 - IL_00a6: ldarg.0 - IL_00a7: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() - IL_00ac: newobj instance void class NAnt.VSNet.VcProjectConfiguration::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.VcProject, class [mscorlib]System.IO.DirectoryInfo) - IL_00b1: stloc.3 - IL_00b2: ldarg.0 - IL_00b3: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() - IL_00b8: ldloc.3 - IL_00b9: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_00be: ldloc.3 - IL_00bf: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_PlatformName() - IL_00c4: newobj instance void class NAnt.VSNet.Configuration::'.ctor'(string, string) - IL_00c9: ldloc.3 - IL_00ca: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) - IL_00cf: nop - IL_00d0: ldloc.2 - IL_00d1: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00d6: brtrue IL_0097 + IL_01d4: ldloc.s 11 + IL_01d6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01db: castclass [mscorlib]System.String + IL_01e0: stloc.s 10 + IL_01e2: nop + IL_01e3: ldloc.0 + IL_01e4: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_01e9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01ee: ldloc.s 10 + IL_01f0: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_01f5: pop + IL_01f6: nop + IL_01f7: ldloc.s 11 + IL_01f9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01fe: brtrue IL_01d4 - IL_00db: leave IL_00f6 + IL_0203: leave IL_021f } // end .try 0 finally { // 0 - IL_00e0: ldloc.2 - IL_00e1: isinst [mscorlib]System.IDisposable - IL_00e6: dup - IL_00e7: stloc.s 4 - IL_00e9: brfalse IL_00f5 + IL_0208: ldloc.s 11 + IL_020a: isinst [mscorlib]System.IDisposable + IL_020f: dup + IL_0210: stloc.s 12 + IL_0212: brfalse IL_021e - IL_00ee: ldloc.s 4 - IL_00f0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f5: endfinally + IL_0217: ldloc.s 12 + IL_0219: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_021e: endfinally } // end handler 0 - IL_00f6: ldarg.3 - IL_00f7: ldstr "//References/child::*" - IL_00fc: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0101: stloc.s 5 - IL_0103: nop - IL_0104: ldloc.s 5 - IL_0106: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_010b: stloc.s 7 - .try { // 1 - IL_010d: br IL_013b + IL_021f: ldarg.1 + IL_0220: ldstr "VCLibrarianTool" + IL_0225: ldstr "ModuleDefinitionFile" + IL_022a: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_022f: stloc.s 13 + IL_0231: ldloc.s 13 + IL_0233: call bool string::IsNullOrEmpty(string) + IL_0238: brtrue IL_025c - IL_0112: ldloc.s 7 - IL_0114: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0119: castclass [System.Xml]System.Xml.XmlElement - IL_011e: stloc.s 6 - IL_0120: nop - IL_0121: ldarg.0 - IL_0122: ldarg.1 - IL_0123: ldloc.s 6 - IL_0125: callvirt instance class NAnt.VSNet.ReferenceBase class NAnt.VSNet.VcProject::CreateReference(class NAnt.VSNet.SolutionBase, class [System.Xml]System.Xml.XmlElement) - IL_012a: stloc.s 8 - IL_012c: ldarg.0 - IL_012d: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references - IL_0132: ldloc.s 8 - IL_0134: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0139: pop - IL_013a: nop - IL_013b: ldloc.s 7 - IL_013d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0142: brtrue IL_0112 + IL_023d: nop + IL_023e: ldloc.0 + IL_023f: ldarg.0 + IL_0240: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0245: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_024a: ldloc.s 13 + IL_024c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0251: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0256: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::set_ModuleDefinitionFile(class [mscorlib]System.IO.FileInfo) + IL_025b: nop + IL_025c: ldarg.1 + IL_025d: ldstr "VCLibrarianTool" + IL_0262: ldstr "IgnoreAllDefaultLibraries" + IL_0267: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_026c: stloc.s 14 + IL_026e: ldloc.s 14 + IL_0270: ldstr "TRUE" + IL_0275: ldc.i4.1 + IL_0276: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_027b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0280: brtrue IL_0292 - IL_0147: leave IL_0163 + IL_0285: nop + IL_0286: ldloc.0 + IL_0287: ldstr "/NODEFAULTLIB" + IL_028c: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::set_Options(string) + IL_0291: nop + IL_0292: ldarg.1 + IL_0293: ldstr "VCLibrarianTool" + IL_0298: ldstr "IgnoreDefaultLibraryNames" + IL_029d: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_02a2: stloc.s 15 + IL_02a4: ldloc.s 15 + IL_02a6: call bool string::IsNullOrEmpty(string) + IL_02ab: brtrue IL_02f4 - } // end .try 1 - finally { // 1 - IL_014c: ldloc.s 7 - IL_014e: isinst [mscorlib]System.IDisposable - IL_0153: dup - IL_0154: stloc.s 9 - IL_0156: brfalse IL_0162 + IL_02b0: nop + IL_02b1: nop + IL_02b2: ldloc.s 15 + IL_02b4: ldc.i4.s 0x3b + IL_02b6: ldc.i4.0 + IL_02b7: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_02bc: stloc.s 17 + IL_02be: ldc.i4.0 + IL_02bf: stloc.s 18 + IL_02c1: br IL_02e8 - IL_015b: ldloc.s 9 - IL_015d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0162: endfinally - } // end handler 1 - IL_0163: ldarg.3 - IL_0164: ldstr "//File" - IL_0169: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_016e: stloc.s 10 - IL_0170: ldarg.0 - IL_0171: ldloc.s 10 - IL_0173: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0178: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_017d: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles - IL_0182: nop - IL_0183: ldloc.s 10 - IL_0185: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_018a: stloc.s 12 - .try { // 4 - IL_018c: br IL_03e1 + IL_02c6: ldloc.s 17 + IL_02c8: ldloc.s 18 + IL_02ca: ldelem.ref + IL_02cb: stloc.s 16 + IL_02cd: nop + IL_02ce: ldloc.0 + IL_02cf: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_IgnoreLibraries() + IL_02d4: ldloc.s 16 + IL_02d6: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library::'.ctor'(string) + IL_02db: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library) + IL_02e0: pop + IL_02e1: nop + IL_02e2: ldloc.s 18 + IL_02e4: ldc.i4.1 + IL_02e5: add + IL_02e6: stloc.s 18 + IL_02e8: ldloc.s 18 + IL_02ea: ldloc.s 17 + IL_02ec: ldlen + IL_02ed: conv.i4 + IL_02ee: blt IL_02c6 - IL_0191: ldloc.s 12 - IL_0193: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0198: castclass [System.Xml]System.Xml.XmlElement - IL_019d: stloc.s 11 - IL_019f: nop - IL_01a0: ldarg.0 - IL_01a1: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_01a6: stloc.s 13 - IL_01a8: ldloc.s 11 - IL_01aa: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_ParentNode() - IL_01af: brfalse IL_01fb + IL_02f3: nop + IL_02f4: ldarg.1 + IL_02f5: ldstr "VCLibrarianTool" + IL_02fa: ldstr "ForceSymbolReferences" + IL_02ff: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0304: stloc.s 19 + IL_0306: ldloc.s 19 + IL_0308: call bool string::IsNullOrEmpty(string) + IL_030d: brtrue IL_0356 - IL_01b4: ldloc.s 11 - IL_01b6: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_ParentNode() - IL_01bb: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_01c0: ldstr "Filter" - IL_01c5: call bool string::op_Equality(string, string) - IL_01ca: brfalse IL_01fb + IL_0312: nop + IL_0313: nop + IL_0314: ldloc.s 19 + IL_0316: ldc.i4.s 0x3b + IL_0318: ldc.i4.0 + IL_0319: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_031e: stloc.s 21 + IL_0320: ldc.i4.0 + IL_0321: stloc.s 22 + IL_0323: br IL_034a - IL_01cf: nop - IL_01d0: ldloc.s 11 - IL_01d2: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_ParentNode() - IL_01d7: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_01dc: ldstr "Name" - IL_01e1: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) - IL_01e6: stloc.s 14 - IL_01e8: ldloc.s 14 - IL_01ea: brfalse IL_01fa + IL_0328: ldloc.s 21 + IL_032a: ldloc.s 22 + IL_032c: ldelem.ref + IL_032d: stloc.s 20 + IL_032f: nop + IL_0330: ldloc.0 + IL_0331: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Symbols() + IL_0336: ldloc.s 20 + IL_0338: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol::'.ctor'(string) + IL_033d: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol) + IL_0342: pop + IL_0343: nop + IL_0344: ldloc.s 22 + IL_0346: ldc.i4.1 + IL_0347: add + IL_0348: stloc.s 22 + IL_034a: ldloc.s 22 + IL_034c: ldloc.s 21 + IL_034e: ldlen + IL_034f: conv.i4 + IL_0350: blt IL_0328 - IL_01ef: nop - IL_01f0: ldloc.s 14 - IL_01f2: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_01f7: stloc.s 13 - IL_01f9: nop - IL_01fa: nop - IL_01fb: ldloc.s 11 - IL_01fd: ldstr "RelativePath" - IL_0202: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0207: stloc.s 15 - IL_0209: ldnull - IL_020a: stloc.s 16 - IL_020c: ldloc.s 11 - IL_020e: ldstr "FileConfiguration" - IL_0213: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlElement::GetElementsByTagName(string) - IL_0218: stloc.s 17 - IL_021a: ldloc.s 17 - IL_021c: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_0221: ldc.i4.0 - IL_0222: ble IL_02c2 + IL_0355: nop + IL_0356: ldarg.0 + IL_0357: ldloc.0 + IL_0358: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) + IL_035d: ret + } // end of method VcProject::RunLibrarian - IL_0227: nop - IL_0228: ldloc.s 17 - IL_022a: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_022f: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) - IL_0234: stloc.s 16 - IL_0236: nop - IL_0237: ldloc.s 17 - IL_0239: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_023e: stloc.s 19 - .try { // 2 - IL_0240: br IL_0299 + // method line 410 + .method private hidebysig + instance default void RunLinker (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0xece8 + // Code size 2833 (0xb11) + .maxstack 5 + .locals init ( + class NAnt.VSNet.VcProjectConfiguration V_0, + class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask V_1, + string V_2, + string V_3, + string[] V_4, + int32 V_5, + string V_6, + string[] V_7, + int32 V_8, + string V_9, + string[] V_10, + int32 V_11, + string V_12, + string V_13, + string[] V_14, + int32 V_15, + string V_16, + class [mscorlib]System.Collections.IEnumerator V_17, + class [mscorlib]System.IDisposable V_18, + class NAnt.VSNet.ProjectBaseCollection V_19, + class NAnt.VSNet.VcProject V_20, + class NAnt.VSNet.ProjectBaseEnumerator V_21, + class NAnt.VSNet.VcProjectConfiguration V_22, + valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_23, + class [mscorlib]System.IO.FileInfo V_24, + class [mscorlib]System.IDisposable V_25, + string V_26, + class [mscorlib]System.IO.FileInfo V_27, + class [NAnt.Core]NAnt.Core.Types.Argument V_28, + string V_29, + string V_30, + string[] V_31, + int32 V_32, + string V_33, + string V_34, + string[] V_35, + int32 V_36, + bool V_37, + class [NAnt.Core]NAnt.Core.Types.Argument V_38, + string V_39, + string V_40, + class [NAnt.Core]NAnt.Core.Types.Argument V_41, + string V_42, + string V_43, + class [NAnt.Core]NAnt.Core.Types.Argument V_44, + string V_45, + string V_46, + string V_47, + string[] V_48, + int32 V_49, + string V_50, + string V_51, + string[] V_52, + int32 V_53, + string V_54, + string V_55, + string[] V_56, + int32 V_57, + class [mscorlib]System.Collections.Hashtable V_58, + string V_59, + class [mscorlib]System.Collections.IEnumerator V_60, + class [NAnt.Core]NAnt.Core.Types.Argument V_61, + class [mscorlib]System.IDisposable V_62, + string V_63, + class [mscorlib]System.IO.StringReader V_64, + string V_65, + string V_66, + string[] V_67, + int32 V_68) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: castclass NAnt.VSNet.VcProjectConfiguration + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() + IL_0019: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_001e: brtrue IL_0039 + + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: ldc.i4 1000 + IL_002a: ldstr "No files to link." + IL_002f: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0034: br IL_0b10 - IL_0245: ldloc.s 19 - IL_0247: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_024c: castclass [System.Xml]System.Xml.XmlElement - IL_0251: stloc.s 18 - IL_0253: nop - IL_0254: ldloc.s 18 - IL_0256: ldstr "Name" - IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0260: call class NAnt.VSNet.Configuration class NAnt.VSNet.Configuration::Parse(string) - IL_0265: stloc.s 20 - IL_0267: ldarg.0 - IL_0268: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() - IL_026d: ldloc.s 20 - IL_026f: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0274: castclass NAnt.VSNet.VcProjectConfiguration - IL_0279: stloc.s 21 - IL_027b: ldloc.s 16 - IL_027d: ldloc.s 21 - IL_027f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_0284: ldloc.s 15 - IL_0286: ldloc.s 13 - IL_0288: ldloc.s 18 - IL_028a: ldloc.s 21 - IL_028c: ldarg.s 8 - IL_028e: newobj instance void class NAnt.VSNet.VcFileConfiguration::'.ctor'(string, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.VcProjectConfiguration, class [mscorlib]System.IO.DirectoryInfo) - IL_0293: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0298: nop - IL_0299: ldloc.s 19 - IL_029b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02a0: brtrue IL_0245 + IL_0039: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::'.ctor'() + IL_003e: stloc.1 + IL_003f: ldloc.1 + IL_0040: ldarg.0 + IL_0041: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_004b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0050: ldloc.1 + IL_0051: ldarg.0 + IL_0052: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0057: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_005c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0061: ldloc.1 + IL_0062: ldarg.0 + IL_0063: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0068: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_006d: ldloc.1 + IL_006e: ldarg.0 + IL_006f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0074: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_007e: ldloc.1 + IL_007f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0084: ldloc.1 + IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_008a: ldloc.1 + IL_008b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0090: ldloc.1 + IL_0091: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_0096: ldloc.1 + IL_0097: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_009c: ldloc.1 + IL_009d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_00a2: ldloc.1 + IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_00a8: ldloc.1 + IL_00a9: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_00ae: ldloc.1 + IL_00af: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00b4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00b9: ldloc.1 + IL_00ba: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_00bf: ldloc.1 + IL_00c0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00c5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00ca: ldloc.1 + IL_00cb: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_00d0: ldloc.1 + IL_00d1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00d6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00db: ldloc.1 + IL_00dc: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_00e1: ldloc.1 + IL_00e2: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00e7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00ec: ldloc.1 + IL_00ed: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_00f2: ldloc.1 + IL_00f3: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00f8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00fd: ldloc.1 + IL_00fe: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0103: ldloc.1 + IL_0104: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0109: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_010e: ldloc.1 + IL_010f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_0114: ldloc.1 + IL_0115: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_011a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_011f: ldloc.1 + IL_0120: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_0125: ldloc.1 + IL_0126: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_012b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0130: ldloc.1 + IL_0131: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_0136: ldloc.1 + IL_0137: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_013c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0141: ldloc.1 + IL_0142: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0147: ldarg.0 + IL_0148: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_014d: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0152: ldloc.1 + IL_0153: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_0158: ldarg.0 + IL_0159: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_015e: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0163: ldloc.1 + IL_0164: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_0169: ldarg.0 + IL_016a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_016f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0174: ldloc.1 + IL_0175: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_017a: ldarg.0 + IL_017b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0180: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0185: ldloc.0 + IL_0186: ldstr "VCLinkerTool" + IL_018b: ldstr "AdditionalDependencies" + IL_0190: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0195: stloc.2 + IL_0196: ldloc.2 + IL_0197: call bool string::IsNullOrEmpty(string) + IL_019c: brtrue IL_028a - IL_02a5: leave IL_02c1 + IL_01a1: nop + IL_01a2: ldloc.2 + IL_01a3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01a8: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_01ad: ldstr "$(noinherit)" + IL_01b2: callvirt instance int32 string::IndexOf(string) + IL_01b7: ldc.i4.m1 + IL_01b8: bne.un IL_01ff - } // end .try 2 - finally { // 2 - IL_02aa: ldloc.s 19 - IL_02ac: isinst [mscorlib]System.IDisposable - IL_02b1: dup - IL_02b2: stloc.s 22 - IL_02b4: brfalse IL_02c0 + IL_01bd: nop + IL_01be: nop + IL_01bf: ldsfld string[] NAnt.VSNet.VcProject::_defaultLibraries + IL_01c4: stloc.s 4 + IL_01c6: ldc.i4.0 + IL_01c7: stloc.s 5 + IL_01c9: br IL_01ee - IL_02b9: ldloc.s 22 - IL_02bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02c0: endfinally - } // end handler 2 - IL_02c1: nop - IL_02c2: ldloc.s 15 - IL_02c4: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_02c9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02ce: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_02d3: stloc.s 23 - IL_02d5: ldloc.s 23 - IL_02d7: brfalse IL_03b4 + IL_01ce: ldloc.s 4 + IL_01d0: ldloc.s 5 + IL_01d2: ldelem.ref + IL_01d3: stloc.3 + IL_01d4: nop + IL_01d5: ldloc.1 + IL_01d6: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_01db: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01e0: ldloc.3 + IL_01e1: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_01e6: pop + IL_01e7: nop + IL_01e8: ldloc.s 5 + IL_01ea: ldc.i4.1 + IL_01eb: add + IL_01ec: stloc.s 5 + IL_01ee: ldloc.s 5 + IL_01f0: ldloc.s 4 + IL_01f2: ldlen + IL_01f3: conv.i4 + IL_01f4: blt IL_01ce - IL_02dc: ldloc.s 23 - IL_02de: ldstr ".idl" - IL_02e3: call bool string::op_Equality(string, string) - IL_02e8: brtrue IL_0314 + IL_01f9: nop + IL_01fa: br IL_0227 - IL_02ed: ldloc.s 23 - IL_02ef: ldstr ".odl" - IL_02f4: call bool string::op_Equality(string, string) - IL_02f9: brtrue IL_0314 + IL_01ff: nop + IL_0200: ldloc.2 + IL_0201: ldloc.2 + IL_0202: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0207: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_020c: ldstr "$(noinherit)" + IL_0211: callvirt instance int32 string::IndexOf(string) + IL_0216: ldstr "$(noinherit)" + IL_021b: call instance int32 string::get_Length() + IL_0220: callvirt instance string string::Remove(int32, int32) + IL_0225: stloc.2 + IL_0226: nop + IL_0227: nop + IL_0228: ldloc.2 + IL_0229: ldc.i4.s 0x20 + IL_022b: ldc.i4.0 + IL_022c: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0231: stloc.s 7 + IL_0233: ldc.i4.0 + IL_0234: stloc.s 8 + IL_0236: br IL_0279 - IL_02fe: ldloc.s 23 - IL_0300: ldstr ".rc" - IL_0305: call bool string::op_Equality(string, string) - IL_030a: brtrue IL_0314 + IL_023b: ldloc.s 7 + IL_023d: ldloc.s 8 + IL_023f: ldelem.ref + IL_0240: stloc.s 6 + IL_0242: nop + IL_0243: ldloc.s 6 + IL_0245: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_024a: ldstr ".obj" + IL_024f: call bool string::op_Equality(string, string) + IL_0254: brfalse IL_025f - IL_030f: br IL_03b4 + IL_0259: nop + IL_025a: br IL_0273 - IL_0314: nop - IL_0315: ldarg.0 - IL_0316: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() - IL_031b: callvirt instance class [mscorlib]System.Collections.ICollection class NAnt.VSNet.ConfigurationDictionary::get_Values() - IL_0320: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0325: stloc.s 25 - .try { // 3 - IL_0327: br IL_0387 + IL_025f: ldloc.1 + IL_0260: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0265: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_026a: ldloc.s 6 + IL_026c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0271: pop + IL_0272: nop + IL_0273: ldloc.s 8 + IL_0275: ldc.i4.1 + IL_0276: add + IL_0277: stloc.s 8 + IL_0279: ldloc.s 8 + IL_027b: ldloc.s 7 + IL_027d: ldlen + IL_027e: conv.i4 + IL_027f: blt IL_023b - IL_032c: ldloc.s 25 - IL_032e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0333: castclass NAnt.VSNet.VcProjectConfiguration - IL_0338: stloc.s 24 - IL_033a: nop - IL_033b: ldloc.s 16 - IL_033d: brfalse IL_035b + IL_0284: nop + IL_0285: br IL_02c9 - IL_0342: ldloc.s 16 - IL_0344: ldloc.s 24 - IL_0346: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_034b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0350: brfalse IL_035b + IL_028a: nop + IL_028b: nop + IL_028c: ldsfld string[] NAnt.VSNet.VcProject::_defaultLibraries + IL_0291: stloc.s 10 + IL_0293: ldc.i4.0 + IL_0294: stloc.s 11 + IL_0296: br IL_02bd - IL_0355: nop - IL_0356: leave IL_0387 + IL_029b: ldloc.s 10 + IL_029d: ldloc.s 11 + IL_029f: ldelem.ref + IL_02a0: stloc.s 9 + IL_02a2: nop + IL_02a3: ldloc.1 + IL_02a4: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_02a9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_02ae: ldloc.s 9 + IL_02b0: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_02b5: pop + IL_02b6: nop + IL_02b7: ldloc.s 11 + IL_02b9: ldc.i4.1 + IL_02ba: add + IL_02bb: stloc.s 11 + IL_02bd: ldloc.s 11 + IL_02bf: ldloc.s 10 + IL_02c1: ldlen + IL_02c2: conv.i4 + IL_02c3: blt IL_029b - IL_035b: ldloc.s 16 - IL_035d: brtrue IL_036b + IL_02c8: nop + IL_02c9: ldloc.0 + IL_02ca: ldstr "VCLinkerTool" + IL_02cf: ldstr "DelayLoadDLLs" + IL_02d4: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_02d9: stloc.s 12 + IL_02db: ldloc.s 12 + IL_02dd: call bool string::IsNullOrEmpty(string) + IL_02e2: brtrue IL_032b - IL_0362: nop - IL_0363: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0368: stloc.s 16 - IL_036a: nop - IL_036b: ldloc.s 16 - IL_036d: ldloc.s 24 - IL_036f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() - IL_0374: ldloc.s 15 - IL_0376: ldloc.s 13 - IL_0378: ldloc.s 24 - IL_037a: ldarg.s 8 - IL_037c: newobj instance void class NAnt.VSNet.VcFileConfiguration::'.ctor'(string, string, class NAnt.VSNet.VcProjectConfiguration, class [mscorlib]System.IO.DirectoryInfo) - IL_0381: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0386: nop - IL_0387: ldloc.s 25 - IL_0389: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_038e: brtrue IL_032c + IL_02e7: nop + IL_02e8: nop + IL_02e9: ldloc.s 12 + IL_02eb: ldc.i4.s 0x3b + IL_02ed: ldc.i4.0 + IL_02ee: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_02f3: stloc.s 14 + IL_02f5: ldc.i4.0 + IL_02f6: stloc.s 15 + IL_02f8: br IL_031f - IL_0393: leave IL_03af + IL_02fd: ldloc.s 14 + IL_02ff: ldloc.s 15 + IL_0301: ldelem.ref + IL_0302: stloc.s 13 + IL_0304: nop + IL_0305: ldloc.1 + IL_0306: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_DelayLoadedDlls() + IL_030b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0310: ldloc.s 13 + IL_0312: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0317: pop + IL_0318: nop + IL_0319: ldloc.s 15 + IL_031b: ldc.i4.1 + IL_031c: add + IL_031d: stloc.s 15 + IL_031f: ldloc.s 15 + IL_0321: ldloc.s 14 + IL_0323: ldlen + IL_0324: conv.i4 + IL_0325: blt IL_02fd - } // end .try 3 - finally { // 3 - IL_0398: ldloc.s 25 - IL_039a: isinst [mscorlib]System.IDisposable - IL_039f: dup - IL_03a0: stloc.s 26 - IL_03a2: brfalse IL_03ae + IL_032a: nop + IL_032b: nop + IL_032c: ldloc.0 + IL_032d: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() + IL_0332: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0337: stloc.s 17 + .try { // 0 + IL_0339: br IL_0361 - IL_03a7: ldloc.s 26 - IL_03a9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_03ae: endfinally - } // end handler 3 - IL_03af: leave IL_03b4 + IL_033e: ldloc.s 17 + IL_0340: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0345: castclass [mscorlib]System.String + IL_034a: stloc.s 16 + IL_034c: nop + IL_034d: ldloc.1 + IL_034e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0353: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0358: ldloc.s 16 + IL_035a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_035f: pop + IL_0360: nop + IL_0361: ldloc.s 17 + IL_0363: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0368: brtrue IL_033e - IL_03b4: ldloc.s 16 - IL_03b6: brfalse IL_03d0 + IL_036d: leave IL_0389 - IL_03bb: nop - IL_03bc: ldarg.0 - IL_03bd: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles - IL_03c2: ldloc.s 16 - IL_03c4: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_03c9: pop - IL_03ca: nop - IL_03cb: br IL_03e0 + } // end .try 0 + finally { // 0 + IL_0372: ldloc.s 17 + IL_0374: isinst [mscorlib]System.IDisposable + IL_0379: dup + IL_037a: stloc.s 18 + IL_037c: brfalse IL_0388 - IL_03d0: nop - IL_03d1: ldarg.0 - IL_03d2: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles - IL_03d7: ldloc.s 15 - IL_03d9: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_03de: pop - IL_03df: nop - IL_03e0: nop - IL_03e1: ldloc.s 12 - IL_03e3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_03e8: brtrue IL_0191 + IL_0381: ldloc.s 18 + IL_0383: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0388: endfinally + } // end handler 0 + IL_0389: ldarg.0 + IL_038a: call instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.VcProject::GetVcProjectDependencies() + IL_038f: stloc.s 19 + IL_0391: nop + IL_0392: ldloc.s 19 + IL_0394: callvirt instance class NAnt.VSNet.ProjectBaseEnumerator class NAnt.VSNet.ProjectBaseCollection::GetEnumerator() + IL_0399: stloc.s 21 + .try { // 1 + IL_039b: br IL_043b - IL_03ed: leave IL_0409 + IL_03a0: ldloc.s 21 + IL_03a2: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseEnumerator::get_Current() + IL_03a7: castclass NAnt.VSNet.VcProject + IL_03ac: stloc.s 20 + IL_03ae: nop + IL_03af: ldloc.s 20 + IL_03b1: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_03b6: ldarg.1 + IL_03b7: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_03bc: isinst NAnt.VSNet.VcProjectConfiguration + IL_03c1: stloc.s 22 + IL_03c3: ldloc.s 22 + IL_03c5: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_03ca: stloc.s 23 + IL_03cc: ldloc.s 23 + IL_03ce: ldc.i4.1 + IL_03cf: beq IL_03e9 - } // end .try 4 - finally { // 4 - IL_03f2: ldloc.s 12 - IL_03f4: isinst [mscorlib]System.IDisposable - IL_03f9: dup - IL_03fa: stloc.s 27 - IL_03fc: brfalse IL_0408 + IL_03d4: ldloc.s 23 + IL_03d6: ldc.i4.2 + IL_03d7: beq IL_03e9 - IL_0401: ldloc.s 27 - IL_0403: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0408: endfinally - } // end handler 4 - IL_0409: ret - } // end of method VcProject::.ctor + IL_03dc: ldloc.s 23 + IL_03de: ldc.i4.4 + IL_03df: beq IL_041d - // method line 415 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xe294 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcProject::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_03e4: br IL_043a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProject::get_Name + IL_03e9: ldloc.s 22 + IL_03eb: callvirt instance class NAnt.VSNet.VcProjectConfiguration/LinkerConfig class NAnt.VSNet.VcProjectConfiguration::get_LinkerConfiguration() + IL_03f0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_ImportLibrary() + IL_03f5: stloc.s 24 + IL_03f7: ldloc.s 24 + IL_03f9: brfalse IL_0418 - // method line 416 - .method public virtual hidebysig specialname - instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed - { - // Method begins at RVA 0xe2b0 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProjectType V_0) - IL_0000: nop - IL_0001: ldc.i4.2 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_03fe: nop + IL_03ff: ldloc.1 + IL_0400: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0405: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_040a: ldloc.s 24 + IL_040c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0411: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0416: pop + IL_0417: nop + IL_0418: leave IL_043a - IL_0008: ldloc.0 - IL_0009: ret - } // end of method VcProject::get_Type + IL_041d: ldloc.1 + IL_041e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0423: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0428: ldloc.s 22 + IL_042a: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_042f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0434: pop + IL_0435: leave IL_043a - // method line 417 - .method public virtual hidebysig specialname - instance default string get_ProjectPath () cil managed - { - // Method begins at RVA 0xe2c8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcProject::_projectPath - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_043a: nop + IL_043b: ldloc.s 21 + IL_043d: callvirt instance bool class NAnt.VSNet.ProjectBaseEnumerator::MoveNext() + IL_0442: brtrue IL_03a0 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProject::get_ProjectPath + IL_0447: leave IL_0463 - // method line 418 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ProjectDirectory () cil managed - { - // Method begins at RVA 0xe2e4 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcProject::_projectPath - IL_0007: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_000c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0011: stloc.0 - IL_0012: br IL_0017 + } // end .try 1 + finally { // 1 + IL_044c: ldloc.s 21 + IL_044e: isinst [mscorlib]System.IDisposable + IL_0453: dup + IL_0454: stloc.s 25 + IL_0456: brfalse IL_0462 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method VcProject::get_ProjectDirectory + IL_045b: ldloc.s 25 + IL_045d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0462: endfinally + } // end handler 1 + IL_0463: ldloc.1 + IL_0464: ldloc.0 + IL_0465: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_046a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_046f: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_0474: ldloc.1 + IL_0475: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_047a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_047f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0484: brtrue IL_04ab - // method line 419 - .method public virtual hidebysig specialname - instance default valuetype NAnt.VSNet.ProjectLocation get_ProjectLocation () cil managed - { - // Method begins at RVA 0xe30c - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProjectLocation V_0) - IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0489: nop + IL_048a: ldloc.1 + IL_048b: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_0490: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0495: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_049a: ldloc.1 + IL_049b: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_04a0: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_04a5: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_04aa: nop + IL_04ab: ldloc.1 + IL_04ac: ldloc.0 + IL_04ad: ldstr "VCLinkerTool" + IL_04b2: ldstr "GenerateDebugInformation" + IL_04b7: ldstr "FALSE" + IL_04bc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_04c1: call bool bool::Parse(string) + IL_04c6: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::set_Debug(bool) + IL_04cb: ldloc.0 + IL_04cc: ldstr "VCLinkerTool" + IL_04d1: ldstr "ProgramDatabaseFile" + IL_04d6: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_04db: stloc.s 26 + IL_04dd: ldloc.s 26 + IL_04df: brtrue IL_04fe - IL_0008: ldloc.0 - IL_0009: ret - } // end of method VcProject::get_ProjectLocation + IL_04e4: ldloc.1 + IL_04e5: callvirt instance bool class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Debug() + IL_04ea: brfalse IL_04fe - // method line 420 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed - { - // Method begins at RVA 0xe324 - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: ldstr "temp" - IL_0011: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0016: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001b: stloc.0 - IL_001c: br IL_0021 + IL_04ef: nop + IL_04f0: ldloc.0 + IL_04f1: ldstr "$(OutDir)/$(ProjectName).pdb" + IL_04f6: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_04fb: stloc.s 26 + IL_04fd: nop + IL_04fe: ldloc.s 26 + IL_0500: call bool string::IsNullOrEmpty(string) + IL_0505: brtrue IL_0591 - IL_0021: ldloc.0 - IL_0022: ret - } // end of method VcProject::get_ObjectDir + IL_050a: nop + IL_050b: ldarg.0 + IL_050c: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() + IL_0511: brfalse IL_0536 - // method line 421 - .method public virtual hidebysig specialname - instance default string get_Guid () cil managed - { - // Method begins at RVA 0xe354 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcProject::_guid - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0516: nop + IL_0517: ldarg.0 + IL_0518: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() + IL_051d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0522: ldloc.s 26 + IL_0524: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0529: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_052e: stloc.s 26 + IL_0530: nop + IL_0531: br IL_054c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProject::get_Guid + IL_0536: nop + IL_0537: ldarg.0 + IL_0538: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_053d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0542: ldloc.s 26 + IL_0544: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0549: stloc.s 26 + IL_054b: nop + IL_054c: ldloc.1 + IL_054d: ldloc.s 26 + IL_054f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0554: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::set_ProgramDatabaseFile(class [mscorlib]System.IO.FileInfo) + IL_0559: ldloc.1 + IL_055a: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_055f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_0564: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0569: brtrue IL_0590 - // method line 422 - .method public virtual hidebysig specialname - instance default void set_Guid (string 'value') cil managed - { - // Method begins at RVA 0xe36f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VSNet.VcProject::_guid - IL_0008: ret - } // end of method VcProject::set_Guid + IL_056e: nop + IL_056f: ldloc.1 + IL_0570: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_0575: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_057a: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_057f: ldloc.1 + IL_0580: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_0585: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_058a: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_058f: nop + IL_0590: nop + IL_0591: ldloc.0 + IL_0592: callvirt instance class NAnt.VSNet.VcProjectConfiguration/LinkerConfig class NAnt.VSNet.VcProjectConfiguration::get_LinkerConfiguration() + IL_0597: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_ImportLibrary() + IL_059c: stloc.s 27 + IL_059e: ldloc.s 27 + IL_05a0: brfalse IL_0604 - // method line 423 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_References () cil managed - { - // Method begins at RVA 0xe37c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_05a5: nop + IL_05a6: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() + IL_05ab: stloc.s 28 + IL_05ad: ldloc.s 28 + IL_05af: ldstr "/IMPLIB:" + IL_05b4: ldloc.s 27 + IL_05b6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_05bb: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_05c0: call string string::Concat(string, string) + IL_05c5: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_05ca: ldloc.1 + IL_05cb: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_05d0: ldloc.s 28 + IL_05d2: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_05d7: pop + IL_05d8: ldloc.s 27 + IL_05da: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_05df: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_05e4: brtrue IL_0603 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProject::get_References + IL_05e9: nop + IL_05ea: ldloc.s 27 + IL_05ec: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_05f1: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_05f6: ldloc.s 27 + IL_05f8: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_05fd: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0602: nop + IL_0603: nop + IL_0604: ldloc.0 + IL_0605: ldstr "VCLinkerTool" + IL_060a: ldstr "IgnoreDefaultLibraryNames" + IL_060f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0614: stloc.s 29 + IL_0616: ldloc.s 29 + IL_0618: call bool string::IsNullOrEmpty(string) + IL_061d: brtrue IL_0666 - // method line 424 - .method public virtual hidebysig - instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project, bool isPrivateSpecified, bool isPrivate) cil managed - { - // Method begins at RVA 0xe398 - // Code size 18 (0x12) - .maxstack 4 - .locals init ( - class NAnt.VSNet.ProjectReferenceBase V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: ldarg.2 - IL_0004: ldarg.3 - IL_0005: newobj instance void class NAnt.VSNet.VcProjectReference::'.ctor'(class NAnt.VSNet.ProjectBase, class NAnt.VSNet.ProjectBase, bool, bool) - IL_000a: stloc.0 - IL_000b: br IL_0010 + IL_0622: nop + IL_0623: nop + IL_0624: ldloc.s 29 + IL_0626: ldc.i4.s 0x3b + IL_0628: ldc.i4.0 + IL_0629: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_062e: stloc.s 31 + IL_0630: ldc.i4.0 + IL_0631: stloc.s 32 + IL_0633: br IL_065a - IL_0010: ldloc.0 - IL_0011: ret - } // end of method VcProject::CreateProjectReference + IL_0638: ldloc.s 31 + IL_063a: ldloc.s 32 + IL_063c: ldelem.ref + IL_063d: stloc.s 30 + IL_063f: nop + IL_0640: ldloc.1 + IL_0641: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_IgnoreLibraries() + IL_0646: ldloc.s 30 + IL_0648: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library::'.ctor'(string) + IL_064d: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library) + IL_0652: pop + IL_0653: nop + IL_0654: ldloc.s 32 + IL_0656: ldc.i4.1 + IL_0657: add + IL_0658: stloc.s 32 + IL_065a: ldloc.s 32 + IL_065c: ldloc.s 31 + IL_065e: ldlen + IL_065f: conv.i4 + IL_0660: blt IL_0638 - // method line 425 - .method public virtual hidebysig - instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0xe3b8 - // Code size 60 (0x3c) - .maxstack 2 - .locals init ( - class NAnt.VSNet.VcProjectConfiguration V_0, - bool V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: castclass NAnt.VSNet.VcProjectConfiguration - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_0019: ldc.i4.2 - IL_001a: beq IL_002b + IL_0665: nop + IL_0666: ldloc.0 + IL_0667: ldstr "VCLinkerTool" + IL_066c: ldstr "ForceSymbolReferences" + IL_0671: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0676: stloc.s 33 + IL_0678: ldloc.s 33 + IL_067a: call bool string::IsNullOrEmpty(string) + IL_067f: brtrue IL_06c8 - IL_001f: ldloc.0 - IL_0020: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_0025: ldc.i4.1 - IL_0026: bne.un IL_0033 + IL_0684: nop + IL_0685: nop + IL_0686: ldloc.s 33 + IL_0688: ldc.i4.s 0x3b + IL_068a: ldc.i4.0 + IL_068b: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0690: stloc.s 35 + IL_0692: ldc.i4.0 + IL_0693: stloc.s 36 + IL_0695: br IL_06bc - IL_002b: ldloc.0 - IL_002c: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_ManagedExtensions() - IL_0031: br.s IL_0034 + IL_069a: ldloc.s 35 + IL_069c: ldloc.s 36 + IL_069e: ldelem.ref + IL_069f: stloc.s 34 + IL_06a1: nop + IL_06a2: ldloc.1 + IL_06a3: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Symbols() + IL_06a8: ldloc.s 34 + IL_06aa: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol::'.ctor'(string) + IL_06af: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol) + IL_06b4: pop + IL_06b5: nop + IL_06b6: ldloc.s 36 + IL_06b8: ldc.i4.1 + IL_06b9: add + IL_06ba: stloc.s 36 + IL_06bc: ldloc.s 36 + IL_06be: ldloc.s 35 + IL_06c0: ldlen + IL_06c1: conv.i4 + IL_06c2: blt IL_069a - IL_0033: ldc.i4.0 - IL_0034: stloc.1 - IL_0035: br IL_003a + IL_06c7: nop + IL_06c8: ldloc.0 + IL_06c9: ldstr "VCLinkerTool" + IL_06ce: ldstr "GenerateMapFile" + IL_06d3: ldstr "FALSE" + IL_06d8: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_06dd: call bool bool::Parse(string) + IL_06e2: stloc.s 37 + IL_06e4: ldloc.s 37 + IL_06e6: brfalse IL_074d - IL_003a: ldloc.1 - IL_003b: ret - } // end of method VcProject::IsManaged + IL_06eb: nop + IL_06ec: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() + IL_06f1: stloc.s 38 + IL_06f3: ldloc.0 + IL_06f4: ldstr "VCLinkerTool" + IL_06f9: ldstr "MapFileName" + IL_06fe: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0703: stloc.s 39 + IL_0705: ldloc.s 39 + IL_0707: call bool string::IsNullOrEmpty(string) + IL_070c: brtrue IL_0730 - // method line 426 - .method family virtual hidebysig - instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0xe400 - // Code size 46 (0x2e) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool class NAnt.VSNet.VcProject::IsSupported(class [System.Xml]System.Xml.XmlElement) - IL_0007: brtrue IL_002d + IL_0711: nop + IL_0712: ldloc.s 38 + IL_0714: ldstr "/MAP:" + IL_0719: ldloc.s 39 + IL_071b: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_0720: call string string::Concat(string, string) + IL_0725: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_072a: nop + IL_072b: br IL_073e - IL_000c: nop - IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0012: ldstr "Project '{0}' is not a valid Visual C++ project." - IL_0017: ldarg.0 - IL_0018: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0022: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0027: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_002c: throw - IL_002d: ret - } // end of method VcProject::VerifyProjectXml + IL_0730: nop + IL_0731: ldloc.s 38 + IL_0733: ldstr "/MAP" + IL_0738: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_073d: nop + IL_073e: ldloc.1 + IL_073f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0744: ldloc.s 38 + IL_0746: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_074b: pop + IL_074c: nop + IL_074d: ldloc.0 + IL_074e: ldstr "VCLinkerTool" + IL_0753: ldstr "HeapReserveSize" + IL_0758: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_075d: stloc.s 40 + IL_075f: ldloc.s 40 + IL_0761: call bool string::IsNullOrEmpty(string) + IL_0766: brtrue IL_07d6 - // method line 427 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0xe430 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProductVersion V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.VcProject::GetProductVersion(class [System.Xml]System.Xml.XmlElement) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_076b: nop + IL_076c: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() + IL_0771: stloc.s 41 + IL_0773: ldloc.0 + IL_0774: ldstr "VCLinkerTool" + IL_0779: ldstr "HeapCommitSize" + IL_077e: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0783: stloc.s 42 + IL_0785: ldloc.s 42 + IL_0787: call bool string::IsNullOrEmpty(string) + IL_078c: brtrue IL_07b2 + + IL_0791: nop + IL_0792: ldloc.s 41 + IL_0794: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0799: ldstr "/HEAP:{0},{1}" + IL_079e: ldloc.s 40 + IL_07a0: ldloc.s 42 + IL_07a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_07a7: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_07ac: nop + IL_07ad: br IL_07c7 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProject::DetermineProductVersion + IL_07b2: nop + IL_07b3: ldloc.s 41 + IL_07b5: ldstr "/HEAP:" + IL_07ba: ldloc.s 40 + IL_07bc: call string string::Concat(string, string) + IL_07c1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_07c6: nop + IL_07c7: ldloc.1 + IL_07c8: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_07cd: ldloc.s 41 + IL_07cf: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_07d4: pop + IL_07d5: nop + IL_07d6: ldloc.0 + IL_07d7: ldstr "VCLinkerTool" + IL_07dc: ldstr "StackReserveSize" + IL_07e1: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_07e6: stloc.s 43 + IL_07e8: ldloc.s 43 + IL_07ea: call bool string::IsNullOrEmpty(string) + IL_07ef: brtrue IL_085f - // method line 428 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.BuildResult Build (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0xe44c - // Code size 969 (0x3c9) - .maxstack 4 - .locals init ( - class NAnt.VSNet.VcProjectConfiguration V_0, - valuetype NAnt.VSNet.BuildResult V_1, - string V_2, - class NAnt.VSNet.VcConfigurationBase V_3, - class NAnt.VSNet.VcConfigurationBase V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class NAnt.VSNet.VcConfigurationBase V_7, - class [mscorlib]System.Collections.IEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - class NAnt.VSNet.VcConfigurationBase V_10, - class [mscorlib]System.Collections.IEnumerator V_11, - class [mscorlib]System.IDisposable V_12, - class NAnt.VSNet.VcConfigurationBase V_13, - class [mscorlib]System.Collections.IEnumerator V_14, - class [mscorlib]System.IDisposable V_15, - valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_16, - class NAnt.VSNet.ReferenceBase V_17, - class [mscorlib]System.Collections.IEnumerator V_18, - class [mscorlib]System.Collections.Hashtable V_19, - valuetype [mscorlib]System.Collections.DictionaryEntry V_20, - class [mscorlib]System.Collections.IDictionaryEnumerator V_21, - class [mscorlib]System.IO.FileInfo V_22, - class [mscorlib]System.IO.FileInfo V_23, - class [mscorlib]System.IDisposable V_24, - class [mscorlib]System.IDisposable V_25) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance void class NAnt.VSNet.ProjectBase::Prepare(class NAnt.VSNet.Configuration) - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_000e: ldarg.1 - IL_000f: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0014: castclass NAnt.VSNet.VcProjectConfiguration - IL_0019: stloc.0 - IL_001a: ldarg.0 - IL_001b: ldloc.0 - IL_001c: call instance bool class NAnt.VSNet.VcProject::PreBuild(class NAnt.VSNet.VcProjectConfiguration) - IL_0021: brtrue IL_002e + IL_07f4: nop + IL_07f5: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() + IL_07fa: stloc.s 44 + IL_07fc: ldloc.0 + IL_07fd: ldstr "VCLinkerTool" + IL_0802: ldstr "StackCommitSize" + IL_0807: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_080c: stloc.s 45 + IL_080e: ldloc.s 45 + IL_0810: call bool string::IsNullOrEmpty(string) + IL_0815: brtrue IL_083b - IL_0026: nop - IL_0027: ldc.i4.0 - IL_0028: stloc.1 - IL_0029: br IL_03c7 + IL_081a: nop + IL_081b: ldloc.s 44 + IL_081d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0822: ldstr "/STACK:{0},{1}" + IL_0827: ldloc.s 43 + IL_0829: ldloc.s 45 + IL_082b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0830: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_0835: nop + IL_0836: br IL_0850 - IL_002e: ldloc.0 - IL_002f: ldstr "VCNMakeTool" - IL_0034: ldstr "BuildCommandLine" - IL_0039: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_003e: stloc.2 - IL_003f: ldloc.2 - IL_0040: call bool string::IsNullOrEmpty(string) - IL_0045: brtrue IL_0059 + IL_083b: nop + IL_083c: ldloc.s 44 + IL_083e: ldstr "/STACK:" + IL_0843: ldloc.s 43 + IL_0845: call string string::Concat(string, string) + IL_084a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_084f: nop + IL_0850: ldloc.1 + IL_0851: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0856: ldloc.s 44 + IL_0858: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_085d: pop + IL_085e: nop + IL_085f: ldloc.0 + IL_0860: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_0865: ldc.i4.2 + IL_0866: bne.un IL_0883 - IL_004a: nop - IL_004b: ldarg.0 - IL_004c: ldloc.2 - IL_004d: call instance void class NAnt.VSNet.VcProject::RunNMake(string) - IL_0052: ldc.i4.1 - IL_0053: stloc.1 - IL_0054: br IL_03c7 + IL_086b: nop + IL_086c: ldloc.1 + IL_086d: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0872: ldstr "/DLL" + IL_0877: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_087c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0881: pop + IL_0882: nop + IL_0883: ldloc.0 + IL_0884: ldstr "VCLinkerTool" + IL_0889: ldstr "AdditionalLibraryDirectories" + IL_088e: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0893: stloc.s 46 + IL_0895: ldloc.s 46 + IL_0897: call bool string::IsNullOrEmpty(string) + IL_089c: brtrue IL_0904 - IL_0059: ldnull - IL_005a: stloc.3 - IL_005b: nop - IL_005c: ldloc.0 - IL_005d: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_IdlConfigs() - IL_0062: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_0067: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_006c: stloc.s 5 - .try { // 0 - IL_006e: br IL_009e + IL_08a1: nop + IL_08a2: nop + IL_08a3: ldloc.s 46 + IL_08a5: ldc.i4.2 + IL_08a6: newarr [mscorlib]System.Char + IL_08ab: dup + IL_08ac: ldc.i4.0 + IL_08ad: ldc.i4.s 0x2c + IL_08af: stelem.i2 + IL_08b0: dup + IL_08b1: ldc.i4.1 + IL_08b2: ldc.i4.s 0x3b + IL_08b4: stelem.i2 + IL_08b5: callvirt instance string[] string::Split(char[]) + IL_08ba: stloc.s 48 + IL_08bc: ldc.i4.0 + IL_08bd: stloc.s 49 + IL_08bf: br IL_08f8 - IL_0073: ldloc.s 5 - IL_0075: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_007a: castclass NAnt.VSNet.VcConfigurationBase - IL_007f: stloc.s 4 - IL_0081: nop - IL_0082: ldarg.0 - IL_0083: ldloc.0 - IL_0084: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_IdlConfigs() - IL_0089: ldloc.s 4 - IL_008b: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0090: castclass [mscorlib]System.Collections.ArrayList - IL_0095: ldloc.0 - IL_0096: ldloc.s 4 - IL_0098: call instance void class NAnt.VSNet.VcProject::BuildIDLFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase) - IL_009d: nop - IL_009e: ldloc.s 5 - IL_00a0: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00a5: brtrue IL_0073 + IL_08c4: ldloc.s 48 + IL_08c6: ldloc.s 49 + IL_08c8: ldelem.ref + IL_08c9: stloc.s 47 + IL_08cb: nop + IL_08cc: ldloc.s 47 + IL_08ce: callvirt instance int32 string::get_Length() + IL_08d3: brtrue IL_08de - IL_00aa: leave IL_00c6 + IL_08d8: nop + IL_08d9: br IL_08f2 - } // end .try 0 - finally { // 0 - IL_00af: ldloc.s 5 - IL_00b1: isinst [mscorlib]System.IDisposable - IL_00b6: dup - IL_00b7: stloc.s 6 - IL_00b9: brfalse IL_00c5 + IL_08de: ldloc.1 + IL_08df: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_08e4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_08e9: ldloc.s 47 + IL_08eb: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_08f0: pop + IL_08f1: nop + IL_08f2: ldloc.s 49 + IL_08f4: ldc.i4.1 + IL_08f5: add + IL_08f6: stloc.s 49 + IL_08f8: ldloc.s 49 + IL_08fa: ldloc.s 48 + IL_08fc: ldlen + IL_08fd: conv.i4 + IL_08fe: blt IL_08c4 - IL_00be: ldloc.s 6 - IL_00c0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c5: endfinally - } // end handler 0 - IL_00c6: nop - IL_00c7: ldloc.0 - IL_00c8: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() - IL_00cd: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_00d2: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_00d7: stloc.s 8 - .try { // 1 - IL_00d9: br IL_011b + IL_0903: nop + IL_0904: ldloc.0 + IL_0905: ldstr "VCLinkerTool" + IL_090a: ldstr "AddModuleNamesToAssembly" + IL_090f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0914: stloc.s 50 + IL_0916: ldloc.s 50 + IL_0918: call bool string::IsNullOrEmpty(string) + IL_091d: brtrue IL_0966 - IL_00de: ldloc.s 8 - IL_00e0: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00e5: castclass NAnt.VSNet.VcConfigurationBase - IL_00ea: stloc.s 7 - IL_00ec: nop - IL_00ed: ldloc.s 7 - IL_00ef: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() - IL_00f4: ldc.i4.1 - IL_00f5: bne.un IL_011a + IL_0922: nop + IL_0923: nop + IL_0924: ldloc.s 50 + IL_0926: ldc.i4.s 0x3b + IL_0928: ldc.i4.0 + IL_0929: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_092e: stloc.s 52 + IL_0930: ldc.i4.0 + IL_0931: stloc.s 53 + IL_0933: br IL_095a - IL_00fa: nop - IL_00fb: ldarg.0 - IL_00fc: ldloc.0 - IL_00fd: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() - IL_0102: ldloc.s 7 - IL_0104: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0109: castclass [mscorlib]System.Collections.ArrayList - IL_010e: ldarg.1 - IL_010f: ldloc.s 7 - IL_0111: call instance void class NAnt.VSNet.VcProject::BuildCPPFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.Configuration, class NAnt.VSNet.VcConfigurationBase) - IL_0116: ldloc.s 7 - IL_0118: stloc.3 - IL_0119: nop - IL_011a: nop - IL_011b: ldloc.s 8 - IL_011d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0122: brtrue IL_00de + IL_0938: ldloc.s 52 + IL_093a: ldloc.s 53 + IL_093c: ldelem.ref + IL_093d: stloc.s 51 + IL_093f: nop + IL_0940: ldloc.1 + IL_0941: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_0946: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_094b: ldloc.s 51 + IL_094d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0952: pop + IL_0953: nop + IL_0954: ldloc.s 53 + IL_0956: ldc.i4.1 + IL_0957: add + IL_0958: stloc.s 53 + IL_095a: ldloc.s 53 + IL_095c: ldloc.s 52 + IL_095e: ldlen + IL_095f: conv.i4 + IL_0960: blt IL_0938 - IL_0127: leave IL_0143 + IL_0965: nop + IL_0966: ldloc.0 + IL_0967: ldstr "VCLinkerTool" + IL_096c: ldstr "EmbedManagedResourceFile" + IL_0971: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0976: stloc.s 54 + IL_0978: ldloc.s 54 + IL_097a: call bool string::IsNullOrEmpty(string) + IL_097f: brtrue IL_09c8 - } // end .try 1 - finally { // 1 - IL_012c: ldloc.s 8 - IL_012e: isinst [mscorlib]System.IDisposable - IL_0133: dup - IL_0134: stloc.s 9 - IL_0136: brfalse IL_0142 + IL_0984: nop + IL_0985: nop + IL_0986: ldloc.s 54 + IL_0988: ldc.i4.s 0x3b + IL_098a: ldc.i4.0 + IL_098b: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0990: stloc.s 56 + IL_0992: ldc.i4.0 + IL_0993: stloc.s 57 + IL_0995: br IL_09bc - IL_013b: ldloc.s 9 - IL_013d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0142: endfinally - } // end handler 1 - IL_0143: nop - IL_0144: ldloc.0 - IL_0145: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() - IL_014a: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_014f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0154: stloc.s 11 - .try { // 2 - IL_0156: br IL_0190 + IL_099a: ldloc.s 56 + IL_099c: ldloc.s 57 + IL_099e: ldelem.ref + IL_099f: stloc.s 55 + IL_09a1: nop + IL_09a2: ldloc.1 + IL_09a3: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_09a8: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_09ad: ldloc.s 55 + IL_09af: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_09b4: pop + IL_09b5: nop + IL_09b6: ldloc.s 57 + IL_09b8: ldc.i4.1 + IL_09b9: add + IL_09ba: stloc.s 57 + IL_09bc: ldloc.s 57 + IL_09be: ldloc.s 56 + IL_09c0: ldlen + IL_09c1: conv.i4 + IL_09c2: blt IL_099a - IL_015b: ldloc.s 11 - IL_015d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0162: castclass NAnt.VSNet.VcConfigurationBase - IL_0167: stloc.s 10 - IL_0169: nop - IL_016a: ldloc.s 10 - IL_016c: ldloc.3 - IL_016d: beq IL_018f + IL_09c7: nop + IL_09c8: ldloc.0 + IL_09c9: ldstr "VCLinkerTool" + IL_09ce: ldarg.0 + IL_09cf: ldfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_linkerArgMap + IL_09d4: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap) + IL_09d9: stloc.s 58 + IL_09db: nop + IL_09dc: ldloc.s 58 + IL_09de: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_09e3: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_09e8: stloc.s 60 + .try { // 2 + IL_09ea: br IL_0a1d - IL_0172: nop - IL_0173: ldarg.0 - IL_0174: ldloc.0 - IL_0175: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs() - IL_017a: ldloc.s 10 - IL_017c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0181: castclass [mscorlib]System.Collections.ArrayList - IL_0186: ldarg.1 - IL_0187: ldloc.s 10 - IL_0189: call instance void class NAnt.VSNet.VcProject::BuildCPPFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.Configuration, class NAnt.VSNet.VcConfigurationBase) - IL_018e: nop - IL_018f: nop - IL_0190: ldloc.s 11 - IL_0192: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0197: brtrue IL_015b + IL_09ef: ldloc.s 60 + IL_09f1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_09f6: castclass [mscorlib]System.String + IL_09fb: stloc.s 59 + IL_09fd: nop + IL_09fe: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() + IL_0a03: stloc.s 61 + IL_0a05: ldloc.s 61 + IL_0a07: ldloc.s 59 + IL_0a09: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) + IL_0a0e: ldloc.1 + IL_0a0f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0a14: ldloc.s 61 + IL_0a16: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0a1b: pop + IL_0a1c: nop + IL_0a1d: ldloc.s 60 + IL_0a1f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0a24: brtrue IL_09ef - IL_019c: leave IL_01b8 + IL_0a29: leave IL_0a45 } // end .try 2 finally { // 2 - IL_01a1: ldloc.s 11 - IL_01a3: isinst [mscorlib]System.IDisposable - IL_01a8: dup - IL_01a9: stloc.s 12 - IL_01ab: brfalse IL_01b7 + IL_0a2e: ldloc.s 60 + IL_0a30: isinst [mscorlib]System.IDisposable + IL_0a35: dup + IL_0a36: stloc.s 62 + IL_0a38: brfalse IL_0a44 - IL_01b0: ldloc.s 12 - IL_01b2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01b7: endfinally + IL_0a3d: ldloc.s 62 + IL_0a3f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0a44: endfinally } // end handler 2 - IL_01b8: nop - IL_01b9: ldloc.0 - IL_01ba: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_RcConfigs() - IL_01bf: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_01c4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_01c9: stloc.s 14 + IL_0a45: ldloc.0 + IL_0a46: ldstr "VCLinkerTool" + IL_0a4b: ldstr "AdditionalOptions" + IL_0a50: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0a55: stloc.s 63 + IL_0a57: ldloc.s 63 + IL_0a59: call bool string::IsNullOrEmpty(string) + IL_0a5e: brtrue IL_0ae6 + + IL_0a63: nop + IL_0a64: ldloc.s 63 + IL_0a66: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) + IL_0a6b: stloc.s 64 .try { // 3 - IL_01cb: br IL_01fb + IL_0a6d: nop + IL_0a6e: ldloc.s 64 + IL_0a70: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0a75: stloc.s 65 + IL_0a77: br IL_0ac9 - IL_01d0: ldloc.s 14 - IL_01d2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01d7: castclass NAnt.VSNet.VcConfigurationBase - IL_01dc: stloc.s 13 - IL_01de: nop - IL_01df: ldarg.0 - IL_01e0: ldloc.0 - IL_01e1: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::get_RcConfigs() - IL_01e6: ldloc.s 13 - IL_01e8: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_01ed: castclass [mscorlib]System.Collections.ArrayList - IL_01f2: ldloc.0 - IL_01f3: ldloc.s 13 - IL_01f5: call instance void class NAnt.VSNet.VcProject::BuildResourceFiles(class [mscorlib]System.Collections.ArrayList, class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase) - IL_01fa: nop - IL_01fb: ldloc.s 14 - IL_01fd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0202: brtrue IL_01d0 + IL_0a7c: nop + IL_0a7d: nop + IL_0a7e: ldloc.s 65 + IL_0a80: ldc.i4.s 0x20 + IL_0a82: ldc.i4.0 + IL_0a83: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_0a88: stloc.s 67 + IL_0a8a: ldc.i4.0 + IL_0a8b: stloc.s 68 + IL_0a8d: br IL_0ab4 + + IL_0a92: ldloc.s 67 + IL_0a94: ldloc.s 68 + IL_0a96: ldelem.ref + IL_0a97: stloc.s 66 + IL_0a99: nop + IL_0a9a: ldloc.1 + IL_0a9b: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0aa0: ldloc.s 66 + IL_0aa2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0aa7: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0aac: pop + IL_0aad: nop + IL_0aae: ldloc.s 68 + IL_0ab0: ldc.i4.1 + IL_0ab1: add + IL_0ab2: stloc.s 68 + IL_0ab4: ldloc.s 68 + IL_0ab6: ldloc.s 67 + IL_0ab8: ldlen + IL_0ab9: conv.i4 + IL_0aba: blt IL_0a92 - IL_0207: leave IL_0223 + IL_0abf: ldloc.s 64 + IL_0ac1: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0ac6: stloc.s 65 + IL_0ac8: nop + IL_0ac9: ldloc.s 65 + IL_0acb: brtrue IL_0a7c + + IL_0ad0: nop + IL_0ad1: leave IL_0ae5 } // end .try 3 finally { // 3 - IL_020c: ldloc.s 14 - IL_020e: isinst [mscorlib]System.IDisposable - IL_0213: dup - IL_0214: stloc.s 15 - IL_0216: brfalse IL_0222 + IL_0ad6: ldloc.s 64 + IL_0ad8: brfalse IL_0ae4 - IL_021b: ldloc.s 15 - IL_021d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0222: endfinally + IL_0add: ldloc.s 64 + IL_0adf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0ae4: endfinally } // end handler 3 - IL_0223: ldloc.0 - IL_0224: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_0229: stloc.s 16 - IL_022b: ldloc.s 16 - IL_022d: ldc.i4.4 - IL_022e: beq IL_0248 + IL_0ae5: nop + IL_0ae6: ldloc.0 + IL_0ae7: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_WholeProgramOptimization() + IL_0aec: brfalse IL_0b09 - IL_0233: ldloc.s 16 - IL_0235: ldc.i4.1 - IL_0236: beq IL_0254 + IL_0af1: nop + IL_0af2: ldloc.1 + IL_0af3: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0af8: ldstr "/LTCG" + IL_0afd: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0b02: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0b07: pop + IL_0b08: nop + IL_0b09: ldarg.0 + IL_0b0a: ldloc.1 + IL_0b0b: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) + IL_0b10: ret + } // end of method VcProject::RunLinker - IL_023b: ldloc.s 16 - IL_023d: ldc.i4.2 - IL_023e: beq IL_0254 + // method line 411 + .method private hidebysig + instance default void ExecuteInProjectDirectory (class [NAnt.Core]NAnt.Core.Task task) cil managed + { + // Method begins at RVA 0xf83c + // Code size 101 (0x65) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000c: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0011: stloc.0 + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0018: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001d: ldarg.0 + IL_001e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0023: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Project::set_BaseDirectory(string) + .try { // 0 + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0034: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + IL_0039: ldarg.1 + IL_003a: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_003f: nop + IL_0040: leave IL_0064 - IL_0243: br IL_0274 + } // end .try 0 + finally { // 0 + IL_0045: nop + IL_0046: ldarg.0 + IL_0047: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_004c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0051: ldloc.0 + IL_0052: callvirt instance void class [NAnt.Core]NAnt.Core.Project::set_BaseDirectory(string) + IL_0057: ldarg.1 + IL_0058: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_005d: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0062: nop + IL_0063: endfinally + } // end handler 0 + IL_0064: ret + } // end of method VcProject::ExecuteInProjectDirectory - IL_0248: ldarg.0 - IL_0249: ldloc.0 - IL_024a: call instance void class NAnt.VSNet.VcProject::RunLibrarian(class NAnt.VSNet.VcProjectConfiguration) - IL_024f: br IL_0274 + // method line 412 + .method private hidebysig + instance default string MergeToolSetting (class NAnt.VSNet.VcProjectConfiguration projectConfig, class NAnt.VSNet.VcConfigurationBase fileConfig, string tool, string setting) cil managed + { + // Method begins at RVA 0xf8c0 + // Code size 291 (0x123) + .maxstack 3 + .locals init ( + string V_0, + string V_1, + string V_2, + string[] V_3, + class [mscorlib]System.Collections.Hashtable V_4, + string V_5, + string[] V_6, + int32 V_7) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: ldarg.s 4 + IL_0005: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_000a: stloc.0 + IL_000b: ldloc.0 + IL_000c: brfalse IL_0094 - IL_0254: ldarg.0 - IL_0255: ldloc.0 - IL_0256: call instance bool class NAnt.VSNet.VcProject::PreLink(class NAnt.VSNet.VcProjectConfiguration) - IL_025b: brtrue IL_0268 + IL_0011: nop + IL_0012: ldloc.0 + IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0018: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_001d: ldstr "$(noinherit)" + IL_0022: callvirt instance int32 string::IndexOf(string) + IL_0027: ldc.i4.m1 + IL_0028: bne.un IL_0066 - IL_0260: nop - IL_0261: ldc.i4.0 - IL_0262: stloc.1 - IL_0263: br IL_03c7 + IL_002d: nop + IL_002e: ldarg.1 + IL_002f: ldarg.2 + IL_0030: call bool object::ReferenceEquals(object, object) + IL_0035: brtrue IL_0060 - IL_0268: ldarg.0 - IL_0269: ldarg.1 - IL_026a: call instance void class NAnt.VSNet.VcProject::RunLinker(class NAnt.VSNet.Configuration) - IL_026f: br IL_0274 + IL_003a: nop + IL_003b: ldarg.1 + IL_003c: ldarg.3 + IL_003d: ldarg.s 4 + IL_003f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0044: stloc.1 + IL_0045: ldloc.1 + IL_0046: call bool string::IsNullOrEmpty(string) + IL_004b: brtrue IL_005f - IL_0274: ldarg.0 - IL_0275: ldc.i4 2000 - IL_027a: ldstr "Copying references:" - IL_027f: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0284: nop - IL_0285: ldarg.0 - IL_0286: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_references - IL_028b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0290: stloc.s 18 - .try { // 5 - IL_0292: br IL_036f + IL_0050: nop + IL_0051: ldloc.0 + IL_0052: ldstr ";" + IL_0057: ldloc.1 + IL_0058: call string string::Concat(string, string, string) + IL_005d: stloc.0 + IL_005e: nop + IL_005f: nop + IL_0060: nop + IL_0061: br IL_008e - IL_0297: ldloc.s 18 - IL_0299: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_029e: castclass NAnt.VSNet.ReferenceBase - IL_02a3: stloc.s 17 - IL_02a5: nop - IL_02a6: ldloc.s 17 - IL_02a8: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_CopyLocal() - IL_02ad: brfalse IL_036e + IL_0066: nop + IL_0067: ldloc.0 + IL_0068: ldloc.0 + IL_0069: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_006e: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0073: ldstr "$(noinherit)" + IL_0078: callvirt instance int32 string::IndexOf(string) + IL_007d: ldstr "$(noinherit)" + IL_0082: call instance int32 string::get_Length() + IL_0087: callvirt instance string string::Remove(int32, int32) + IL_008c: stloc.0 + IL_008d: nop + IL_008e: nop + IL_008f: br IL_009c - IL_02b2: nop - IL_02b3: ldarg.0 - IL_02b4: ldc.i4 2000 - IL_02b9: ldstr " - " - IL_02be: ldloc.s 17 - IL_02c0: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_02c5: call string string::Concat(string, string) - IL_02ca: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_02cf: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_02d4: stloc.s 19 - IL_02d6: ldloc.s 17 - IL_02d8: ldarg.1 - IL_02d9: ldloc.s 19 - IL_02db: callvirt instance void class NAnt.VSNet.ReferenceBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) - IL_02e0: nop - IL_02e1: ldloc.s 19 - IL_02e3: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_02e8: stloc.s 21 - .try { // 4 - IL_02ea: br IL_0345 + IL_0094: nop + IL_0095: ldnull + IL_0096: stloc.2 + IL_0097: br IL_0121 - IL_02ef: ldloc.s 21 - IL_02f1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_02f6: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_02fb: stloc.s 20 - IL_02fd: nop - IL_02fe: ldloca.s 20 - IL_0300: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0305: castclass [mscorlib]System.String - IL_030a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_030f: stloc.s 22 - IL_0311: ldloc.0 - IL_0312: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0317: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_031c: ldloca.s 20 - IL_031e: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0323: castclass [mscorlib]System.String - IL_0328: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_032d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0332: stloc.s 23 - IL_0334: ldarg.0 - IL_0335: ldloc.s 22 - IL_0337: ldloc.s 23 - IL_0339: ldarg.0 - IL_033a: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_033f: call instance void class NAnt.VSNet.ProjectBase::CopyFile(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo, class [NAnt.Core]NAnt.Core.Task) - IL_0344: nop - IL_0345: ldloc.s 21 - IL_0347: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_034c: brtrue IL_02ef + IL_009c: ldloc.0 + IL_009d: ldc.i4.s 0x3b + IL_009f: ldc.i4.0 + IL_00a0: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_00a5: stloc.3 + IL_00a6: ldsfld string [mscorlib]System.String::Empty + IL_00ab: stloc.0 + IL_00ac: ldloc.3 + IL_00ad: ldlen + IL_00ae: conv.i4 + IL_00af: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) + IL_00b4: stloc.s 4 + IL_00b6: nop + IL_00b7: ldloc.3 + IL_00b8: stloc.s 6 + IL_00ba: ldc.i4.0 + IL_00bb: stloc.s 7 + IL_00bd: br IL_010f - IL_0351: leave IL_036d + IL_00c2: ldloc.s 6 + IL_00c4: ldloc.s 7 + IL_00c6: ldelem.ref + IL_00c7: stloc.s 5 + IL_00c9: nop + IL_00ca: ldloc.s 4 + IL_00cc: ldloc.s 5 + IL_00ce: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_00d3: brtrue IL_0108 - } // end .try 4 - finally { // 4 - IL_0356: ldloc.s 21 - IL_0358: isinst [mscorlib]System.IDisposable - IL_035d: dup - IL_035e: stloc.s 24 - IL_0360: brfalse IL_036c + IL_00d8: nop + IL_00d9: ldloc.s 4 + IL_00db: ldloc.s 5 + IL_00dd: ldnull + IL_00de: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_00e3: ldloc.0 + IL_00e4: callvirt instance int32 string::get_Length() + IL_00e9: brfalse IL_00fe - IL_0365: ldloc.s 24 - IL_0367: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_036c: endfinally - } // end handler 4 - IL_036d: nop - IL_036e: nop - IL_036f: ldloc.s 18 - IL_0371: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0376: brtrue IL_0297 + IL_00ee: nop + IL_00ef: ldloc.0 + IL_00f0: ldc.i4.s 0x3b + IL_00f2: box [mscorlib]System.Char + IL_00f7: call string string::Concat(object, object) + IL_00fc: stloc.0 + IL_00fd: nop + IL_00fe: ldloc.0 + IL_00ff: ldloc.s 5 + IL_0101: call string string::Concat(string, string) + IL_0106: stloc.0 + IL_0107: nop + IL_0108: nop + IL_0109: ldloc.s 7 + IL_010b: ldc.i4.1 + IL_010c: add + IL_010d: stloc.s 7 + IL_010f: ldloc.s 7 + IL_0111: ldloc.s 6 + IL_0113: ldlen + IL_0114: conv.i4 + IL_0115: blt IL_00c2 - IL_037b: leave IL_0397 + IL_011a: ldloc.0 + IL_011b: stloc.2 + IL_011c: br IL_0121 - } // end .try 5 - finally { // 5 - IL_0380: ldloc.s 18 - IL_0382: isinst [mscorlib]System.IDisposable - IL_0387: dup - IL_0388: stloc.s 25 - IL_038a: brfalse IL_0396 + IL_0121: ldloc.2 + IL_0122: ret + } // end of method VcProject::MergeToolSetting - IL_038f: ldloc.s 25 - IL_0391: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0396: endfinally - } // end handler 5 - IL_0397: ldarg.0 - IL_0398: ldarg.1 - IL_0399: ldloc.0 - IL_039a: call instance bool class NAnt.VSNet.VcProject::RunCustomBuildStep(class NAnt.VSNet.Configuration, class NAnt.VSNet.VcProjectConfiguration) - IL_039f: brtrue IL_03ac + // method line 413 + .method private hidebysig + instance default bool PreBuild (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed + { + // Method begins at RVA 0xf9f0 + // Code size 134 (0x86) + .maxstack 4 + .locals init ( + string V_0, + bool V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "VCPreBuildEventTool" + IL_0007: ldstr "ExcludedFromBuild" + IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: brfalse IL_003d - IL_03a4: nop - IL_03a5: ldc.i4.0 - IL_03a6: stloc.1 - IL_03a7: br IL_03c7 + IL_0018: nop + IL_0019: ldloc.0 + IL_001a: callvirt instance string string::Trim() + IL_001f: ldstr "true" + IL_0024: ldc.i4.1 + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_002f: brtrue IL_003c - IL_03ac: ldarg.0 - IL_03ad: ldloc.0 - IL_03ae: call instance bool class NAnt.VSNet.VcProject::PostBuild(class NAnt.VSNet.VcProjectConfiguration) - IL_03b3: brtrue IL_03c0 + IL_0034: nop + IL_0035: ldc.i4.1 + IL_0036: stloc.1 + IL_0037: br IL_0084 - IL_03b8: nop - IL_03b9: ldc.i4.0 - IL_03ba: stloc.1 - IL_03bb: br IL_03c7 + IL_003c: nop + IL_003d: ldarg.1 + IL_003e: ldstr "VCPreBuildEventTool" + IL_0043: ldstr "CommandLine" + IL_0048: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_004d: stloc.2 + IL_004e: ldloc.2 + IL_004f: call bool string::IsNullOrEmpty(string) + IL_0054: brtrue IL_007d - IL_03c0: ldc.i4.1 - IL_03c1: stloc.1 - IL_03c2: br IL_03c7 + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldc.i4 3000 + IL_0060: ldstr "Performing Pre-Build Event..." + IL_0065: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_006a: ldarg.0 + IL_006b: ldstr "Pre-Build" + IL_0070: ldloc.2 + IL_0071: ldarg.1 + IL_0072: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) + IL_0077: stloc.1 + IL_0078: br IL_0084 - IL_03c7: ldloc.1 - IL_03c8: ret - } // end of method VcProject::Build + IL_007d: ldc.i4.1 + IL_007e: stloc.1 + IL_007f: br IL_0084 - // method line 429 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_ProjectFiles () cil managed + IL_0084: ldloc.1 + IL_0085: ret + } // end of method VcProject::PreBuild + + // method line 414 + .method private hidebysig + instance default bool PostBuild (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed { - // Method begins at RVA 0xe870 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xfa84 + // Code size 134 (0x86) + .maxstack 4 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + string V_0, + bool V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::_projectFiles - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: ldstr "VCPostBuildEventTool" + IL_0007: ldstr "ExcludedFromBuild" + IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: brfalse IL_003d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcProject::get_ProjectFiles + IL_0018: nop + IL_0019: ldloc.0 + IL_001a: callvirt instance string string::Trim() + IL_001f: ldstr "true" + IL_0024: ldc.i4.1 + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_002f: brtrue IL_003c - // method line 430 - .method famorassem virtual hidebysig - instance default string ExpandMacro (string macro) cil managed + IL_0034: nop + IL_0035: ldc.i4.1 + IL_0036: stloc.1 + IL_0037: br IL_0084 + + IL_003c: nop + IL_003d: ldarg.1 + IL_003e: ldstr "VCPostBuildEventTool" + IL_0043: ldstr "CommandLine" + IL_0048: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_004d: stloc.2 + IL_004e: ldloc.2 + IL_004f: call bool string::IsNullOrEmpty(string) + IL_0054: brtrue IL_007d + + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldc.i4 3000 + IL_0060: ldstr "Performing Post-Build Event..." + IL_0065: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_006a: ldarg.0 + IL_006b: ldstr "Post-Build" + IL_0070: ldloc.2 + IL_0071: ldarg.1 + IL_0072: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) + IL_0077: stloc.1 + IL_0078: br IL_0084 + + IL_007d: ldc.i4.1 + IL_007e: stloc.1 + IL_007f: br IL_0084 + + IL_0084: ldloc.1 + IL_0085: ret + } // end of method VcProject::PostBuild + + // method line 415 + .method private hidebysig + instance default bool PreLink (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed { - // Method begins at RVA 0xe88c - // Code size 326 (0x146) - .maxstack 3 + // Method begins at RVA 0xfb18 + // Code size 134 (0x86) + .maxstack 4 .locals init ( string V_0, - class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, - int32 V_2, - string V_3) + bool V_1, + string V_2) IL_0000: nop IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_0137 - - IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcProject::'<>f__switch$map2' - IL_0018: brtrue IL_007e - - IL_001d: ldc.i4.7 - IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) - IL_0023: stloc.1 - IL_0024: ldloc.1 - IL_0025: ldstr "inputdir" - IL_002a: ldc.i4.0 - IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0030: ldloc.1 - IL_0031: ldstr "inputname" - IL_0036: ldc.i4.1 - IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_003c: ldloc.1 - IL_003d: ldstr "inputpath" - IL_0042: ldc.i4.2 - IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0048: ldloc.1 - IL_0049: ldstr "inputfilename" - IL_004e: ldc.i4.3 - IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0054: ldloc.1 - IL_0055: ldstr "inputext" - IL_005a: ldc.i4.4 - IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0060: ldloc.1 - IL_0061: ldstr "safeparentname" - IL_0066: ldc.i4.5 - IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_006c: ldloc.1 - IL_006d: ldstr "safeinputname" - IL_0072: ldc.i4.6 - IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0078: ldloc.1 - IL_0079: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcProject::'<>f__switch$map2' - IL_007e: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcProject::'<>f__switch$map2' - IL_0083: ldloc.0 - IL_0084: ldloca.s 2 - IL_0086: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_008b: brfalse IL_0137 + IL_0002: ldstr "VCPreLinkEventTool" + IL_0007: ldstr "ExcludedFromBuild" + IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: brfalse IL_003d - IL_0090: ldloc.2 - IL_0091: switch ( - IL_00bb, - IL_00db, - IL_00ec, - IL_00f8, - IL_0109, - IL_011a, - IL_0126, - IL_0137) - IL_00b6: br IL_0137 + IL_0018: nop + IL_0019: ldloc.0 + IL_001a: callvirt instance string string::Trim() + IL_001f: ldstr "true" + IL_0024: ldc.i4.1 + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_002f: brtrue IL_003c - IL_00bb: ldarg.0 - IL_00bc: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_00c1: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00c6: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_00cb: box [mscorlib]System.Char - IL_00d0: call string string::Concat(object, object) - IL_00d5: stloc.3 - IL_00d6: br IL_0144 + IL_0034: nop + IL_0035: ldc.i4.1 + IL_0036: stloc.1 + IL_0037: br IL_0084 - IL_00db: ldarg.0 - IL_00dc: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_00e1: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_00e6: stloc.3 - IL_00e7: br IL_0144 + IL_003c: nop + IL_003d: ldarg.1 + IL_003e: ldstr "VCPreLinkEventTool" + IL_0043: ldstr "CommandLine" + IL_0048: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_004d: stloc.2 + IL_004e: ldloc.2 + IL_004f: call bool string::IsNullOrEmpty(string) + IL_0054: brtrue IL_007d - IL_00ec: ldarg.0 - IL_00ed: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_00f2: stloc.3 - IL_00f3: br IL_0144 + IL_0059: nop + IL_005a: ldarg.0 + IL_005b: ldc.i4 3000 + IL_0060: ldstr "Performing Pre-Link Event..." + IL_0065: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_006a: ldarg.0 + IL_006b: ldstr "Pre-Link" + IL_0070: ldloc.2 + IL_0071: ldarg.1 + IL_0072: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) + IL_0077: stloc.1 + IL_0078: br IL_0084 - IL_00f8: ldarg.0 - IL_00f9: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_00fe: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0103: stloc.3 - IL_0104: br IL_0144 + IL_007d: ldc.i4.1 + IL_007e: stloc.1 + IL_007f: br IL_0084 - IL_0109: ldarg.0 - IL_010a: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_010f: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0114: stloc.3 - IL_0115: br IL_0144 + IL_0084: ldloc.1 + IL_0085: ret + } // end of method VcProject::PreLink - IL_011a: ldarg.0 - IL_011b: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0120: stloc.3 - IL_0121: br IL_0144 + // method line 416 + .method private hidebysig + instance default bool ExecuteBuildEvent (string buildEvent, string buildCommandLine, class NAnt.VSNet.ConfigurationBase config) cil managed + { + // Method begins at RVA 0xfbac + // Code size 85 (0x55) + .maxstack 6 + .locals init ( + string V_0, + bool V_1) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: call void class [mscorlib]System.IO.File::Delete(string) + IL_0010: ldloc.0 + IL_0011: ldstr ".bat" + IL_0016: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_001b: stloc.0 + IL_001c: ldarg.0 + IL_001d: ldarg.1 + IL_001e: ldarg.2 + IL_001f: ldloc.0 + IL_0020: ldarg.0 + IL_0021: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0026: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002b: ldarg.3 + IL_002c: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) + IL_0031: stloc.1 + IL_0032: leave IL_0053 - IL_0126: ldarg.0 - IL_0127: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_012c: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0131: stloc.3 - IL_0132: br IL_0144 + } // end .try 0 + finally { // 0 + IL_0037: nop + IL_0038: ldloc.0 + IL_0039: brfalse IL_0051 - IL_0137: ldarg.0 - IL_0138: ldarg.1 - IL_0139: call instance string class NAnt.VSNet.ProjectBase::ExpandMacro(string) - IL_013e: stloc.3 - IL_013f: br IL_0144 + IL_003e: ldloc.0 + IL_003f: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0044: brfalse IL_0051 - IL_0144: ldloc.3 - IL_0145: ret - } // end of method VcProject::ExpandMacro + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: call void class [mscorlib]System.IO.File::Delete(string) + IL_0050: nop + IL_0051: nop + IL_0052: endfinally + } // end handler 0 + IL_0053: ldloc.1 + IL_0054: ret + } // end of method VcProject::ExecuteBuildEvent - // method line 431 - .method assembly hidebysig - instance default string GetObjOutputFile (string fileName, class NAnt.VSNet.VcConfigurationBase fileConfig, string intermediateDir) cil managed + // method line 417 + .method private hidebysig + instance default string GetObjectFile (class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed { - // Method begins at RVA 0xe9e0 - // Code size 34 (0x22) - .maxstack 2 + // Method begins at RVA 0xfc20 + // Code size 67 (0x43) + .maxstack 4 .locals init ( string V_0, string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.2 - IL_0003: call instance string class NAnt.VSNet.VcProject::GetObjectFile(class NAnt.VSNet.VcConfigurationBase) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: brtrue IL_0013 + IL_0001: ldarg.1 + IL_0002: ldstr "VCCLCompilerTool" + IL_0007: ldstr "ObjectFile" + IL_000c: ldstr "$(IntDir)/" + IL_0011: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: call bool string::IsNullOrEmpty(string) + IL_001d: brtrue IL_003a - IL_000f: nop - IL_0010: ldarg.3 - IL_0011: stloc.0 - IL_0012: nop - IL_0013: ldarg.1 - IL_0014: ldloc.0 - IL_0015: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::GetObjOutputFile(string, string) - IL_001a: stloc.1 - IL_001b: br IL_0020 + IL_0022: nop + IL_0023: ldarg.0 + IL_0024: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0029: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002e: ldloc.0 + IL_002f: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0034: stloc.1 + IL_0035: br IL_0041 - IL_0020: ldloc.1 - IL_0021: ret - } // end of method VcProject::GetObjOutputFile + IL_003a: ldnull + IL_003b: stloc.1 + IL_003c: br IL_0041 - // method line 432 - .method assembly hidebysig - instance default string GetResourceOutputFile (string fileName, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed + IL_0041: ldloc.1 + IL_0042: ret + } // end of method VcProject::GetObjectFile + + // method line 418 + .method private hidebysig + instance default class NAnt.VSNet.ProjectBaseCollection GetVcProjectDependencies () cil managed { - // Method begins at RVA 0xea10 - // Code size 46 (0x2e) - .maxstack 5 + // Method begins at RVA 0xfc70 + // Code size 254 (0xfe) + .maxstack 2 .locals init ( - string V_0) + class NAnt.VSNet.ProjectBaseCollection V_0, + class NAnt.VSNet.ProjectBase V_1, + class NAnt.VSNet.ProjectBaseEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.VSNet.ReferenceBase V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class NAnt.VSNet.ProjectReferenceBase V_6, + class NAnt.VSNet.VcProject V_7, + class [mscorlib]System.IDisposable V_8, + class NAnt.VSNet.ProjectBaseCollection V_9) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: ldarg.2 - IL_000d: ldstr "VCResourceCompilerTool" - IL_0012: ldstr "ResourceOutputFileName" - IL_0017: ldstr "$(IntDir)/$(InputName).res" - IL_001c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_0021: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0026: stloc.0 - IL_0027: br IL_002c + IL_0001: newobj instance void class NAnt.VSNet.ProjectBaseCollection::'.ctor'() + IL_0006: stloc.0 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() + IL_000e: callvirt instance class NAnt.VSNet.ProjectBaseEnumerator class NAnt.VSNet.ProjectBaseCollection::GetEnumerator() + IL_0013: stloc.2 + .try { // 0 + IL_0014: br IL_0037 - IL_002c: ldloc.0 - IL_002d: ret - } // end of method VcProject::GetResourceOutputFile + IL_0019: ldloc.2 + IL_001a: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseEnumerator::get_Current() + IL_001f: stloc.1 + IL_0020: nop + IL_0021: ldloc.1 + IL_0022: isinst NAnt.VSNet.VcProject + IL_0027: brfalse IL_0036 - // method line 433 - .method family virtual hidebysig newslot - instance default class NAnt.VSNet.ReferenceBase CreateReference (class NAnt.VSNet.SolutionBase solution, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed - { - // Method begins at RVA 0xea4c - // Code size 225 (0xe1) - .maxstack 7 - .locals init ( - string V_0, - class NAnt.VSNet.ReferenceBase V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_002c: nop + IL_002d: ldloc.0 + IL_002e: ldloc.1 + IL_002f: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_0034: pop + IL_0035: nop + IL_0036: nop + IL_0037: ldloc.2 + IL_0038: callvirt instance bool class NAnt.VSNet.ProjectBaseEnumerator::MoveNext() + IL_003d: brtrue IL_0019 - IL_0007: nop - IL_0008: ldstr "solution" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: brtrue IL_0025 + IL_0042: leave IL_005b - IL_0019: nop - IL_001a: ldstr "xmlDefinition" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.2 - IL_0026: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_002b: stloc.0 - IL_002c: ldloc.0 - IL_002d: brfalse IL_00bf + } // end .try 0 + finally { // 0 + IL_0047: ldloc.2 + IL_0048: isinst [mscorlib]System.IDisposable + IL_004d: dup + IL_004e: stloc.3 + IL_004f: brfalse IL_005a - IL_0032: ldloc.0 - IL_0033: ldstr "ProjectReference" - IL_0038: call bool string::op_Equality(string, string) - IL_003d: brtrue IL_0067 + IL_0054: ldloc.3 + IL_0055: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_005a: endfinally + } // end handler 0 + IL_005b: nop + IL_005c: ldarg.0 + IL_005d: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_0062: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0067: stloc.s 5 + .try { // 1 + IL_0069: br IL_00cb - IL_0042: ldloc.0 - IL_0043: ldstr "AssemblyReference" - IL_0048: call bool string::op_Equality(string, string) - IL_004d: brtrue IL_008d + IL_006e: ldloc.s 5 + IL_0070: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0075: castclass NAnt.VSNet.ReferenceBase + IL_007a: stloc.s 4 + IL_007c: nop + IL_007d: ldloc.s 4 + IL_007f: isinst NAnt.VSNet.ProjectReferenceBase + IL_0084: stloc.s 6 + IL_0086: ldloc.s 6 + IL_0088: brtrue IL_0093 - IL_0052: ldloc.0 - IL_0053: ldstr "ActiveXReference" - IL_0058: call bool string::op_Equality(string, string) - IL_005d: brtrue IL_00a6 + IL_008d: nop + IL_008e: leave IL_00cb - IL_0062: br IL_00bf + IL_0093: ldloc.s 6 + IL_0095: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_009a: isinst NAnt.VSNet.VcProject + IL_009f: stloc.s 7 + IL_00a1: ldloc.s 7 + IL_00a3: brtrue IL_00ae - IL_0067: ldarg.2 - IL_0068: ldarg.0 - IL_0069: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_006e: ldarg.0 - IL_006f: ldarg.1 - IL_0070: ldarg.1 - IL_0071: callvirt instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.SolutionBase::get_TemporaryFiles() - IL_0076: ldarg.0 - IL_0077: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_007c: ldarg.0 - IL_007d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() - IL_0082: newobj instance void class NAnt.VSNet.VcProjectReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo) - IL_0087: stloc.1 - IL_0088: br IL_00df + IL_00a8: nop + IL_00a9: leave IL_00cb - IL_008d: ldarg.2 - IL_008e: ldarg.0 - IL_008f: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_0094: ldarg.0 - IL_0095: ldarg.0 - IL_0096: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_009b: newobj instance void class NAnt.VSNet.VcAssemblyReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_00a0: stloc.1 - IL_00a1: br IL_00df + IL_00ae: ldloc.0 + IL_00af: ldloc.s 7 + IL_00b1: callvirt instance bool class NAnt.VSNet.ProjectBaseCollection::Contains(class NAnt.VSNet.ProjectBase) + IL_00b6: brfalse IL_00c1 - IL_00a6: ldarg.2 - IL_00a7: ldarg.0 - IL_00a8: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() - IL_00ad: ldarg.0 - IL_00ae: ldarg.0 - IL_00af: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() - IL_00b4: newobj instance void class NAnt.VSNet.VcWrapperReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_00b9: stloc.1 - IL_00ba: br IL_00df + IL_00bb: nop + IL_00bc: leave IL_00cb - IL_00bf: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c4: ldstr "\"{0}\" reference not supported." - IL_00c9: ldarg.2 - IL_00ca: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00cf: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00d4: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00d9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00de: throw - IL_00df: ldloc.1 - IL_00e0: ret - } // end of method VcProject::CreateReference + IL_00c1: ldloc.0 + IL_00c2: ldloc.s 7 + IL_00c4: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_00c9: pop + IL_00ca: nop + IL_00cb: ldloc.s 5 + IL_00cd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00d2: brtrue IL_006e - // method line 434 - .method private hidebysig - instance default void RunNMake (string nmakeCommand) cil managed - { - // Method begins at RVA 0xeb3c - // Code size 132 (0x84) - .maxstack 4 - .locals init ( - string V_0, - class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_1) - IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() - IL_0006: stloc.0 - .try { // 0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_000e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0013: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) - IL_0018: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::'.ctor'() - IL_001d: stloc.1 - IL_001e: ldloc.1 - IL_001f: ldarg.0 - IL_0020: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0025: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_002a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_002f: ldloc.1 - IL_0030: ldarg.0 - IL_0031: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0036: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_003b: ldloc.1 - IL_003c: ldarg.0 - IL_003d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0042: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_004c: ldloc.1 - IL_004d: ldstr "/c \"" - IL_0052: ldarg.1 - IL_0053: ldstr "\"" - IL_0058: call string string::Concat(string, string, string) - IL_005d: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::set_CommandLineArguments(string) - IL_0062: ldloc.1 - IL_0063: ldstr "cmd.exe" - IL_0068: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::set_FileName(string) - IL_006d: ldarg.0 - IL_006e: ldloc.1 - IL_006f: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) - IL_0074: nop - IL_0075: leave IL_0083 + IL_00d7: leave IL_00f3 + + } // end .try 1 + finally { // 1 + IL_00dc: ldloc.s 5 + IL_00de: isinst [mscorlib]System.IDisposable + IL_00e3: dup + IL_00e4: stloc.s 8 + IL_00e6: brfalse IL_00f2 - } // end .try 0 - finally { // 0 - IL_007a: nop - IL_007b: ldloc.0 - IL_007c: call void class [mscorlib]System.IO.Directory::SetCurrentDirectory(string) - IL_0081: nop - IL_0082: endfinally - } // end handler 0 - IL_0083: ret - } // end of method VcProject::RunNMake + IL_00eb: ldloc.s 8 + IL_00ed: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f2: endfinally + } // end handler 1 + IL_00f3: ldloc.0 + IL_00f4: stloc.s 9 + IL_00f6: br IL_00fb - // method line 435 - .method private hidebysig - instance default void BuildCPPFiles (class [mscorlib]System.Collections.ArrayList fileNames, class NAnt.VSNet.Configuration solutionConfiguration, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed + IL_00fb: ldloc.s 9 + IL_00fd: ret + } // end of method VcProject::GetVcProjectDependencies + + // method line 419 + .method public static hidebysig + default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed { - // Method begins at RVA 0xebdc - // Code size 3078 (0xc06) - .maxstack 5 + // Method begins at RVA 0xfd98 + // Code size 20 (0x14) + .maxstack 2 .locals init ( - class NAnt.VSNet.VcProjectConfiguration V_0, - string V_1, - class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask V_2, - string V_3, - string V_4, - valuetype NAnt.VSNet.Types.UsePrecompiledHeader V_5, - string V_6, - string V_7, - string[] V_8, - int32 V_9, - string V_10, - string V_11, - string[] V_12, - int32 V_13, - string V_14, - string V_15, - string[] V_16, - int32 V_17, - class NAnt.VSNet.ReferenceBase V_18, - class [mscorlib]System.Collections.IEnumerator V_19, - class [System]System.Collections.Specialized.StringCollection V_20, - string V_21, - class [System]System.Collections.Specialized.StringEnumerator V_22, - class [mscorlib]System.IDisposable V_23, - class [mscorlib]System.IDisposable V_24, - string V_25, - valuetype NAnt.VSNet.ProductVersion V_26, - string V_27, - string V_28, - string V_29, - string V_30, - class [mscorlib]System.Collections.IEnumerator V_31, - class [mscorlib]System.IDisposable V_32, - string V_33, - string V_34, - string[] V_35, - int32 V_36, - class [NAnt.Core]NAnt.Core.Types.Option V_37, - string V_38, - string V_39, - string[] V_40, - int32 V_41, - class [NAnt.Core]NAnt.Core.Types.Option V_42, - string V_43, - class [mscorlib]System.IO.StringReader V_44, - string V_45, - string V_46, - string[] V_47, - int32 V_48, - string V_49, - string V_50, - string V_51, - valuetype NAnt.VSNet.VcArgumentMap/ArgGroup V_52, - string V_53, - int32 V_54, - class [mscorlib]System.Collections.Hashtable V_55, - string V_56, - class [mscorlib]System.Collections.IEnumerator V_57, - class [NAnt.Core]NAnt.Core.Types.Argument V_58, - class [mscorlib]System.IDisposable V_59, - valuetype NAnt.VSNet.Types.UseOfATL V_60) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.2 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: castclass NAnt.VSNet.VcProjectConfiguration - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0019: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001e: ldloc.0 - IL_001f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() - IL_0024: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0029: stloc.1 - IL_002a: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::'.ctor'() - IL_002f: stloc.2 - IL_0030: ldloc.2 - IL_0031: ldarg.0 - IL_0032: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0037: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0041: ldloc.2 - IL_0042: ldarg.0 - IL_0043: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0048: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_004d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0052: ldloc.2 - IL_0053: ldarg.0 - IL_0054: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0059: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_005e: ldloc.2 - IL_005f: ldarg.0 - IL_0060: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0065: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_006a: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_006f: ldloc.2 - IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0075: ldloc.2 - IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_007b: ldloc.2 - IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0081: ldloc.2 - IL_0082: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0087: ldloc.2 - IL_0088: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_008d: ldloc.2 - IL_008e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() - IL_0093: ldloc.2 - IL_0094: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0099: ldloc.2 - IL_009a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_009f: ldloc.2 - IL_00a0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_00a5: ldloc.2 - IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_00ab: ldloc.2 - IL_00ac: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00b1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00b6: ldloc.2 - IL_00b7: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_00bc: ldloc.2 - IL_00bd: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00c2: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00c7: ldloc.2 - IL_00c8: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() - IL_00cd: ldloc.2 - IL_00ce: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00d3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00d8: ldloc.2 - IL_00d9: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_00de: ldloc.2 - IL_00df: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00e4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00e9: ldloc.2 - IL_00ea: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_00ef: ldloc.2 - IL_00f0: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_00f5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00fa: ldloc.2 - IL_00fb: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0100: ldloc.2 - IL_0101: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0106: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_010b: ldloc.2 - IL_010c: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() - IL_0111: ldloc.2 - IL_0112: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0117: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_011c: ldloc.2 - IL_011d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_0122: ldloc.2 - IL_0123: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0128: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_012d: ldloc.2 - IL_012e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_0133: ldarg.0 - IL_0134: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0139: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_013e: ldloc.2 - IL_013f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0144: ldarg.0 - IL_0145: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_014a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_014f: ldloc.2 - IL_0150: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() - IL_0155: ldarg.0 - IL_0156: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_015b: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0160: ldloc.2 - IL_0161: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_0166: ldarg.0 - IL_0167: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_016c: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0171: ldloc.2 - IL_0172: ldloc.1 - IL_0173: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0178: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_OutputDir(class [mscorlib]System.IO.DirectoryInfo) - IL_017d: ldarg.3 - IL_017e: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() - IL_0183: brfalse IL_0246 + IL_0002: ldstr "ProjectGUID" + IL_0007: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0188: ldarg.3 - IL_0189: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() - IL_018e: ldc.i4.m1 - IL_018f: beq IL_0246 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method VcProject::LoadGuid - IL_0194: nop - IL_0195: ldarg.3 - IL_0196: ldstr "VCCLCompilerTool" - IL_019b: ldstr "PrecompiledHeaderFile" - IL_01a0: ldstr "$(IntDir)/$(TargetName).pch" - IL_01a5: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_01aa: stloc.3 - IL_01ab: ldloc.3 - IL_01ac: call bool string::IsNullOrEmpty(string) - IL_01b1: brtrue IL_01cf + // method line 420 + .method public static hidebysig + default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0xfdb8 + // Code size 105 (0x69) + .maxstack 2 + .locals init ( + bool V_0, + class [System.Xml]System.Xml.XmlAttribute V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_000f - IL_01b6: nop - IL_01b7: ldloc.2 - IL_01b8: ldarg.0 - IL_01b9: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_01be: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01c3: ldloc.3 - IL_01c4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_01c9: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchFile(string) - IL_01ce: nop - IL_01cf: ldarg.3 - IL_01d0: ldstr "VCCLCompilerTool" - IL_01d5: ldstr "PrecompiledHeaderThrough" - IL_01da: ldstr "StdAfx.h" - IL_01df: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_01e4: stloc.s 4 - IL_01e6: ldloc.s 4 - IL_01e8: call bool string::IsNullOrEmpty(string) - IL_01ed: brtrue IL_01fc + IL_0007: nop + IL_0008: ldc.i4.0 + IL_0009: stloc.0 + IL_000a: br IL_0067 - IL_01f2: nop - IL_01f3: ldloc.2 - IL_01f4: ldloc.s 4 - IL_01f6: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchThroughFile(string) - IL_01fb: nop - IL_01fc: ldarg.3 - IL_01fd: callvirt instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader class NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader() - IL_0202: stloc.s 5 - IL_0204: ldloc.s 5 - IL_0206: ldc.i4.3 - IL_0207: beq IL_0221 + IL_000f: ldarg.0 + IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0015: ldstr "VisualStudioProject" + IL_001a: call bool string::op_Inequality(string, string) + IL_001f: brfalse IL_002c - IL_020c: ldloc.s 5 - IL_020e: ldc.i4.2 - IL_020f: beq IL_022d + IL_0024: nop + IL_0025: ldc.i4.0 + IL_0026: stloc.0 + IL_0027: br IL_0067 - IL_0214: ldloc.s 5 - IL_0216: ldc.i4.1 - IL_0217: beq IL_0239 + IL_002c: ldarg.0 + IL_002d: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0032: ldstr "ProjectType" + IL_0037: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_003c: stloc.1 + IL_003d: ldloc.1 + IL_003e: brfalse IL_0058 - IL_021c: br IL_0245 + IL_0043: ldloc.1 + IL_0044: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0049: ldstr "Visual C++" + IL_004e: call bool string::op_Inequality(string, string) + IL_0053: brfalse IL_0060 - IL_0221: ldloc.2 - IL_0222: ldc.i4.0 - IL_0223: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchMode(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode) - IL_0228: br IL_0245 + IL_0058: nop + IL_0059: ldc.i4.0 + IL_005a: stloc.0 + IL_005b: br IL_0067 - IL_022d: ldloc.2 - IL_022e: ldc.i4.2 - IL_022f: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchMode(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode) - IL_0234: br IL_0245 + IL_0060: ldc.i4.1 + IL_0061: stloc.0 + IL_0062: br IL_0067 - IL_0239: ldloc.2 - IL_023a: ldc.i4.1 - IL_023b: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_PchMode(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode) - IL_0240: br IL_0245 + IL_0067: ldloc.0 + IL_0068: ret + } // end of method VcProject::IsSupported - IL_0245: nop - IL_0246: ldloc.2 - IL_0247: ldloc.0 - IL_0248: callvirt instance valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet class NAnt.VSNet.VcProjectConfiguration::get_CharacterSet() - IL_024d: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_CharacterSet(valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet) - IL_0252: ldloc.2 - IL_0253: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_0258: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_025d: brtrue IL_027a + // method line 421 + .method private static hidebysig + default string CleanPath (string path) cil managed + { + // Method begins at RVA 0xfe30 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + string V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.s 0x22 + IL_0004: callvirt instance string [mscorlib]System.String::TrimStart(char) + IL_0009: stloc.0 + IL_000a: ldloc.0 + IL_000b: ldc.i4.s 0x22 + IL_000d: callvirt instance string [mscorlib]System.String::TrimEnd(char) + IL_0012: stloc.1 + IL_0013: br IL_0018 - IL_0262: nop - IL_0263: ldloc.2 - IL_0264: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_0269: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_026e: ldloc.2 - IL_026f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_0274: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0279: nop - IL_027a: ldarg.0 - IL_027b: ldloc.0 - IL_027c: ldarg.3 - IL_027d: ldstr "VCCLCompilerTool" - IL_0282: ldstr "AdditionalIncludeDirectories" - IL_0287: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_028c: stloc.s 6 - IL_028e: ldloc.s 6 - IL_0290: call bool string::IsNullOrEmpty(string) - IL_0295: brtrue IL_0312 + IL_0018: ldloc.1 + IL_0019: ret + } // end of method VcProject::CleanPath - IL_029a: nop - IL_029b: nop - IL_029c: ldloc.s 6 - IL_029e: ldc.i4.2 - IL_029f: newarr [mscorlib]System.Char - IL_02a4: dup - IL_02a5: ldc.i4.0 - IL_02a6: ldc.i4.s 0x2c - IL_02a8: stelem.i2 - IL_02a9: dup - IL_02aa: ldc.i4.1 - IL_02ab: ldc.i4.s 0x3b - IL_02ad: stelem.i2 - IL_02ae: callvirt instance string[] string::Split(char[]) - IL_02b3: stloc.s 8 - IL_02b5: ldc.i4.0 - IL_02b6: stloc.s 9 - IL_02b8: br IL_0306 + // method line 422 + .method private static hidebysig + default valuetype NAnt.VSNet.ProductVersion GetProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0xfe58 + // Code size 271 (0x10f) + .maxstack 3 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + class [mscorlib]System.Version V_1, + string V_2, + class [mscorlib]System.Exception V_3, + int32 V_4, + int32 V_5, + valuetype NAnt.VSNet.ProductVersion V_6) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_0013 - IL_02bd: ldloc.s 8 - IL_02bf: ldloc.s 9 - IL_02c1: ldelem.ref - IL_02c2: stloc.s 7 - IL_02c4: nop - IL_02c5: ldloc.s 7 - IL_02c7: callvirt instance int32 string::get_Length() - IL_02cc: brtrue IL_02d7 + IL_0007: nop + IL_0008: ldstr "docElement" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0019: ldstr "Version" + IL_001e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: brtrue IL_003b - IL_02d1: nop - IL_02d2: br IL_0300 + IL_002a: nop + IL_002b: ldstr "The \"Version\" attribute is missing from the node." + IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_003a: throw + IL_003b: ldnull + IL_003c: stloc.1 + .try { // 0 + IL_003d: nop + IL_003e: ldloc.0 + IL_003f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0044: stloc.2 + IL_0045: ldloc.2 + IL_0046: ldc.i4.s 0x2c + IL_0048: ldc.i4.s 0x2e + IL_004a: callvirt instance string string::Replace(char, char) + IL_004f: stloc.2 + IL_0050: ldloc.2 + IL_0051: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0056: stloc.1 + IL_0057: nop + IL_0058: leave IL_0080 - IL_02d7: ldloc.2 - IL_02d8: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_02dd: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_02e2: ldarg.0 - IL_02e3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_02e8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02ed: ldloc.s 7 - IL_02ef: call string class NAnt.VSNet.VcProject::CleanPath(string) - IL_02f4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_02f9: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_02fe: pop - IL_02ff: nop - IL_0300: ldloc.s 9 - IL_0302: ldc.i4.1 - IL_0303: add - IL_0304: stloc.s 9 - IL_0306: ldloc.s 9 - IL_0308: ldloc.s 8 - IL_030a: ldlen - IL_030b: conv.i4 - IL_030c: blt IL_02bd + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_005d: stloc.3 + IL_005e: nop + IL_005f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0064: ldstr "The value of the \"Version\" attribute ({0}) is not a valid version string." + IL_0069: ldloc.0 + IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_006f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0074: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0079: ldloc.3 + IL_007a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_007f: throw + } // end handler 0 + IL_0080: ldloc.1 + IL_0081: callvirt instance int32 class [mscorlib]System.Version::get_Major() + IL_0086: stloc.s 4 + IL_0088: ldloc.s 4 + IL_008a: ldc.i4.7 + IL_008b: beq IL_00a6 + + IL_0090: ldloc.s 4 + IL_0092: ldc.i4.8 + IL_0093: beq IL_00da + + IL_0098: ldloc.s 4 + IL_009a: ldc.i4.s 0x09 + IL_009c: beq IL_00e3 + + IL_00a1: br IL_00ec + + IL_00a6: ldloc.1 + IL_00a7: callvirt instance int32 class [mscorlib]System.Version::get_Minor() + IL_00ac: stloc.s 5 + IL_00ae: ldloc.s 5 + IL_00b0: brfalse IL_00c3 - IL_0311: nop - IL_0312: ldarg.0 - IL_0313: ldloc.0 - IL_0314: ldarg.3 - IL_0315: ldstr "VCCLCompilerTool" - IL_031a: ldstr "AdditionalUsingDirectories" - IL_031f: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_0324: stloc.s 10 - IL_0326: ldloc.s 10 - IL_0328: call bool string::IsNullOrEmpty(string) - IL_032d: brtrue IL_0393 + IL_00b5: ldloc.s 5 + IL_00b7: ldc.i4.s 0x0a + IL_00b9: beq IL_00cc - IL_0332: nop - IL_0333: nop - IL_0334: ldloc.s 10 - IL_0336: ldc.i4.s 0x3b - IL_0338: ldc.i4.0 - IL_0339: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_033e: stloc.s 12 - IL_0340: ldc.i4.0 - IL_0341: stloc.s 13 - IL_0343: br IL_0387 + IL_00be: br IL_00d5 - IL_0348: ldloc.s 12 - IL_034a: ldloc.s 13 - IL_034c: ldelem.ref - IL_034d: stloc.s 11 - IL_034f: nop - IL_0350: ldloc.s 11 - IL_0352: callvirt instance int32 string::get_Length() - IL_0357: brtrue IL_0362 + IL_00c3: ldc.i4.s 0x46 + IL_00c5: stloc.s 6 + IL_00c7: br IL_010c - IL_035c: nop - IL_035d: br IL_0381 + IL_00cc: ldc.i4.s 0x47 + IL_00ce: stloc.s 6 + IL_00d0: br IL_010c - IL_0362: ldloc.2 - IL_0363: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() - IL_0368: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_036d: ldarg.3 - IL_036e: ldloc.s 11 - IL_0370: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_0375: call string class NAnt.VSNet.VcProject::CleanPath(string) - IL_037a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_037f: pop - IL_0380: nop - IL_0381: ldloc.s 13 - IL_0383: ldc.i4.1 - IL_0384: add - IL_0385: stloc.s 13 - IL_0387: ldloc.s 13 - IL_0389: ldloc.s 12 - IL_038b: ldlen - IL_038c: conv.i4 - IL_038d: blt IL_0348 + IL_00d5: br IL_00ec - IL_0392: nop - IL_0393: ldarg.0 - IL_0394: ldloc.0 - IL_0395: ldarg.3 - IL_0396: ldstr "VCCLCompilerTool" - IL_039b: ldstr "ForcedUsingFiles" - IL_03a0: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_03a5: stloc.s 14 - IL_03a7: ldloc.s 14 - IL_03a9: call bool string::IsNullOrEmpty(string) - IL_03ae: brtrue IL_0414 + IL_00da: ldc.i4.s 0x50 + IL_00dc: stloc.s 6 + IL_00de: br IL_010c - IL_03b3: nop - IL_03b4: nop - IL_03b5: ldloc.s 14 - IL_03b7: ldc.i4.s 0x3b - IL_03b9: ldc.i4.0 - IL_03ba: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_03bf: stloc.s 16 - IL_03c1: ldc.i4.0 - IL_03c2: stloc.s 17 - IL_03c4: br IL_0408 + IL_00e3: ldc.i4.s 0x5a + IL_00e5: stloc.s 6 + IL_00e7: br IL_010c - IL_03c9: ldloc.s 16 - IL_03cb: ldloc.s 17 - IL_03cd: ldelem.ref - IL_03ce: stloc.s 15 - IL_03d0: nop - IL_03d1: ldloc.s 15 - IL_03d3: callvirt instance int32 string::get_Length() - IL_03d8: brtrue IL_03e3 + IL_00ec: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00f1: ldstr "Visual Studio version \"{0}\" is not supported." + IL_00f6: ldloc.1 + IL_00f7: callvirt instance string object::ToString() + IL_00fc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0101: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0106: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_010b: throw + IL_010c: ldloc.s 6 + IL_010e: ret + } // end of method VcProject::GetProductVersion - IL_03dd: nop - IL_03de: br IL_0402 + // method line 423 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0xff84 + // Code size 112 (0x70) + .maxstack 4 + IL_0000: ldc.i4.s 0x0c + IL_0002: newarr [mscorlib]System.String + IL_0007: dup + IL_0008: ldc.i4.0 + IL_0009: ldstr "kernel32.lib" + IL_000e: stelem.ref + IL_000f: dup + IL_0010: ldc.i4.1 + IL_0011: ldstr "user32.lib" + IL_0016: stelem.ref + IL_0017: dup + IL_0018: ldc.i4.2 + IL_0019: ldstr "gdi32.lib" + IL_001e: stelem.ref + IL_001f: dup + IL_0020: ldc.i4.3 + IL_0021: ldstr "winspool.lib" + IL_0026: stelem.ref + IL_0027: dup + IL_0028: ldc.i4.4 + IL_0029: ldstr "comdlg32.lib" + IL_002e: stelem.ref + IL_002f: dup + IL_0030: ldc.i4.5 + IL_0031: ldstr "advapi32.lib" + IL_0036: stelem.ref + IL_0037: dup + IL_0038: ldc.i4.6 + IL_0039: ldstr "shell32.lib" + IL_003e: stelem.ref + IL_003f: dup + IL_0040: ldc.i4.7 + IL_0041: ldstr "ole32.lib" + IL_0046: stelem.ref + IL_0047: dup + IL_0048: ldc.i4.8 + IL_0049: ldstr "oleaut32.lib" + IL_004e: stelem.ref + IL_004f: dup + IL_0050: ldc.i4.s 0x09 + IL_0052: ldstr "uuid.lib" + IL_0057: stelem.ref + IL_0058: dup + IL_0059: ldc.i4.s 0x0a + IL_005b: ldstr "odbc32.lib" + IL_0060: stelem.ref + IL_0061: dup + IL_0062: ldc.i4.s 0x0b + IL_0064: ldstr "odbccp32.lib" + IL_0069: stelem.ref + IL_006a: stsfld string[] NAnt.VSNet.VcProject::_defaultLibraries + IL_006f: ret + } // end of method VcProject::.cctor - IL_03e3: ldloc.2 - IL_03e4: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_03e9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_03ee: ldarg.3 - IL_03ef: ldloc.s 15 - IL_03f1: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_03f6: call string class NAnt.VSNet.VcProject::CleanPath(string) - IL_03fb: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0400: pop - IL_0401: nop - IL_0402: ldloc.s 17 - IL_0404: ldc.i4.1 - IL_0405: add - IL_0406: stloc.s 17 - IL_0408: ldloc.s 17 - IL_040a: ldloc.s 16 - IL_040c: ldlen - IL_040d: conv.i4 - IL_040e: blt IL_03c9 + .property instance string Name () + { + .get instance default string NAnt.VSNet.VcProject::get_Name () + } + .property instance valuetype NAnt.VSNet.ProjectType Type () + { + .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.VcProject::get_Type () + } + .property instance string ProjectPath () + { + .get instance default string NAnt.VSNet.VcProject::get_ProjectPath () + } + .property instance class [mscorlib]System.IO.DirectoryInfo ProjectDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcProject::get_ProjectDirectory () + } + .property instance valuetype NAnt.VSNet.ProjectLocation ProjectLocation () + { + .get instance default valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.VcProject::get_ProjectLocation () + } + .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcProject::get_ObjectDir () + } + .property instance string Guid () + { + .get instance default string NAnt.VSNet.VcProject::get_Guid () + .set instance default void NAnt.VSNet.VcProject::set_Guid (string 'value') + } + .property instance class [mscorlib]System.Collections.ArrayList References () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::get_References () + } + .property instance class [mscorlib]System.Collections.ArrayList ProjectFiles () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::get_ProjectFiles () + } + } // end of class NAnt.VSNet.VcProject +} - IL_0413: nop - IL_0414: nop - IL_0415: ldarg.0 - IL_0416: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_041b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0420: stloc.s 19 - .try { // 1 - IL_0422: br IL_04a9 +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit JSharpProject + extends NAnt.VSNet.ManagedProjectBase + { - IL_0427: ldloc.s 19 - IL_0429: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_042e: castclass NAnt.VSNet.ReferenceBase - IL_0433: stloc.s 18 - IL_0435: nop - IL_0436: ldloc.s 18 - IL_0438: ldarg.2 - IL_0439: callvirt instance bool class NAnt.VSNet.ReferenceBase::IsManaged(class NAnt.VSNet.Configuration) - IL_043e: brtrue IL_0449 + // method line 424 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x10000 + // Code size 21 (0x15) + .maxstack 9 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: ldarg.s 6 + IL_000a: ldarg.s 7 + IL_000c: ldarg.s 8 + IL_000e: call instance void class NAnt.VSNet.ManagedProjectBase::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0013: nop + IL_0014: ret + } // end of method JSharpProject::.ctor - IL_0443: nop - IL_0444: leave IL_04a9 + // method line 425 + .method public virtual hidebysig specialname + instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed + { + // Method begins at RVA 0x10024 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + valuetype NAnt.VSNet.ProjectType V_0) + IL_0000: nop + IL_0001: ldc.i4.3 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0449: ldloc.s 18 - IL_044b: ldarg.2 - IL_044c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_0451: stloc.s 20 - IL_0453: nop - IL_0454: ldloc.s 20 - IL_0456: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_045b: stloc.s 22 - .try { // 0 - IL_045d: br IL_0480 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method JSharpProject::get_Type - IL_0462: ldloc.s 22 - IL_0464: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0469: stloc.s 21 - IL_046b: nop - IL_046c: ldloc.2 - IL_046d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_0472: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0477: ldloc.s 21 - IL_0479: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_047e: pop - IL_047f: nop - IL_0480: ldloc.s 22 - IL_0482: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0487: brtrue IL_0462 + // method line 426 + .method family virtual hidebysig + instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0x1003a + // Code size 46 (0x2e) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call bool class NAnt.VSNet.JSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_0007: brtrue IL_002d - IL_048c: leave IL_04a8 + IL_000c: nop + IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0012: ldstr "Project '{0}' is not a valid J# project." + IL_0017: ldarg.0 + IL_0018: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0022: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0027: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_002c: throw + IL_002d: ret + } // end of method JSharpProject::VerifyProjectXml - } // end .try 0 - finally { // 0 - IL_0491: ldloc.s 22 - IL_0493: isinst [mscorlib]System.IDisposable - IL_0498: dup - IL_0499: stloc.s 23 - IL_049b: brfalse IL_04a7 + // method line 427 + .method family virtual hidebysig + instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0x1006c + // Code size 25 (0x19) + .maxstack 2 + .locals init ( + valuetype NAnt.VSNet.ProductVersion V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "./VISUALJSHARP" + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_000c: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_04a0: ldloc.s 23 - IL_04a2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_04a7: endfinally - } // end handler 0 - IL_04a8: nop - IL_04a9: ldloc.s 19 - IL_04ab: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_04b0: brtrue IL_0427 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method JSharpProject::DetermineProductVersion - IL_04b5: leave IL_04d1 + // method line 428 + .method family virtual hidebysig + instance default void Prepare (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x10094 + // Code size 55 (0x37) + .maxstack 2 + .locals init ( + class NAnt.VSNet.ConfigurationBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0019: brtrue IL_0036 - } // end .try 1 - finally { // 1 - IL_04ba: ldloc.s 19 - IL_04bc: isinst [mscorlib]System.IDisposable - IL_04c1: dup - IL_04c2: stloc.s 24 - IL_04c4: brfalse IL_04d0 + IL_001e: nop + IL_001f: ldloc.0 + IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0025: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_002a: ldloc.0 + IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0030: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0035: nop + IL_0036: ret + } // end of method JSharpProject::Prepare - IL_04c9: ldloc.s 24 - IL_04cb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_04d0: endfinally - } // end handler 1 - IL_04d1: ldarg.0 - IL_04d2: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() - IL_04d7: stloc.s 26 - IL_04d9: ldloc.s 26 - IL_04db: ldc.i4.s 0x50 - IL_04dd: beq IL_0511 + // method line 429 + .method family virtual hidebysig + instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed + { + // Method begins at RVA 0x100d8 + // Code size 137 (0x89) + .maxstack 4 + .locals init ( + class [System]System.Diagnostics.ProcessStartInfo V_0, + class [System]System.Diagnostics.ProcessStartInfo V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0011: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_0016: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001b: ldstr "vjc.exe" + IL_0020: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0025: ldstr "@\"" + IL_002a: ldarg.2 + IL_002b: ldstr "\"" + IL_0030: call string string::Concat(string, string, string) + IL_0035: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string, string) + IL_003a: stloc.0 + IL_003b: ldarg.0 + IL_003c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0041: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0046: brfalse IL_006d - IL_04e2: ldloc.s 26 - IL_04e4: ldc.i4.s 0x5a - IL_04e6: beq IL_0505 + IL_004b: nop + IL_004c: ldloc.0 + IL_004d: ldarg.0 + IL_004e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005d: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0062: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_0067: nop + IL_0068: br IL_0080 - IL_04eb: ldloc.s 26 - IL_04ed: ldc.i4.s 0x64 - IL_04ef: beq IL_04f9 + IL_006d: nop + IL_006e: ldloc.0 + IL_006f: ldarg.0 + IL_0070: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0075: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_007a: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_007f: nop + IL_0080: ldloc.0 + IL_0081: stloc.1 + IL_0082: br IL_0087 - IL_04f4: br IL_051d + IL_0087: ldloc.1 + IL_0088: ret + } // end of method JSharpProject::GetProcessStartInfo + + // method line 430 + .method family virtual hidebysig specialname + instance default string get_FileExtension () cil managed + { + // Method begins at RVA 0x10170 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr ".jsl" + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method JSharpProject::get_FileExtension + + // method line 431 + .method family virtual hidebysig + instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0x1018c + // Code size 25 (0x19) + .maxstack 2 + .locals init ( + valuetype NAnt.VSNet.ProjectLocation V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "./VISUALJSHARP" + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_000c: call valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::GetProjectLocation(class [System.Xml]System.Xml.XmlNode) + IL_0011: stloc.0 + IL_0012: br IL_0017 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method JSharpProject::DetermineProjectLocation + + // method line 432 + .method public static hidebysig + default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0x101b4 + // Code size 102 (0x66) + .maxstack 2 + .locals init ( + bool V_0, + class [System.Xml]System.Xml.XmlNode V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_000f - IL_04f9: ldstr "$(IntDir)/vc100.pdb" - IL_04fe: stloc.s 25 - IL_0500: br IL_0529 + IL_0007: nop + IL_0008: ldc.i4.0 + IL_0009: stloc.0 + IL_000a: br IL_0064 - IL_0505: ldstr "$(IntDir)/vc90.pdb" - IL_050a: stloc.s 25 - IL_050c: br IL_0529 + IL_000f: ldarg.0 + IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0015: ldstr "VisualStudioProject" + IL_001a: call bool string::op_Inequality(string, string) + IL_001f: brfalse IL_002c - IL_0511: ldstr "$(IntDir)/vc80.pdb" - IL_0516: stloc.s 25 - IL_0518: br IL_0529 + IL_0024: nop + IL_0025: ldc.i4.0 + IL_0026: stloc.0 + IL_0027: br IL_0064 - IL_051d: ldstr "$(IntDir)/vc70.pdb" - IL_0522: stloc.s 25 - IL_0524: br IL_0529 + IL_002c: ldarg.0 + IL_002d: ldstr "./VISUALJSHARP" + IL_0032: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0037: stloc.1 + IL_0038: ldloc.1 + IL_0039: brtrue IL_0046 - IL_0529: ldarg.3 - IL_052a: ldstr "VCCLCompilerTool" - IL_052f: ldstr "ProgramDataBaseFileName" - IL_0534: ldloc.s 25 - IL_0536: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_053b: stloc.s 27 - IL_053d: ldloc.s 27 - IL_053f: call bool string::IsNullOrEmpty(string) - IL_0544: brtrue IL_0563 + IL_003e: nop + IL_003f: ldc.i4.0 + IL_0040: stloc.0 + IL_0041: br IL_0064 - IL_0549: nop - IL_054a: ldloc.2 - IL_054b: ldarg.0 - IL_054c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0551: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0556: ldloc.s 27 - IL_0558: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_055d: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_ProgramDatabaseFile(string) - IL_0562: nop - IL_0563: ldloc.2 - IL_0564: ldarg.0 - IL_0565: ldarg.3 - IL_0566: call instance string class NAnt.VSNet.VcProject::GetObjectFile(class NAnt.VSNet.VcConfigurationBase) - IL_056b: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_ObjectFile(string) - IL_0570: ldarg.3 - IL_0571: ldstr "VCCLCompilerTool" - IL_0576: ldstr "AssemblerOutput" - IL_057b: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0580: stloc.s 28 - IL_0582: ldarg.3 - IL_0583: ldstr "VCCLCompilerTool" - IL_0588: ldstr "AssemblerListingLocation" - IL_058d: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0592: stloc.s 29 - IL_0594: ldloc.s 28 - IL_0596: call bool string::IsNullOrEmpty(string) - IL_059b: brtrue IL_05e1 + .try { // 0 + IL_0046: nop + IL_0047: ldloc.1 + IL_0048: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) + IL_004d: pop + IL_004e: nop + IL_004f: leave IL_005d - IL_05a0: ldloc.s 28 - IL_05a2: ldstr "0" - IL_05a7: call bool string::op_Inequality(string, string) - IL_05ac: brfalse IL_05e1 + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0054: pop + IL_0055: nop + IL_0056: ldc.i4.0 + IL_0057: stloc.0 + IL_0058: leave IL_0064 - IL_05b1: ldloc.s 29 - IL_05b3: call bool string::IsNullOrEmpty(string) - IL_05b8: brtrue IL_05e1 + } // end handler 0 + IL_005d: ldc.i4.1 + IL_005e: stloc.0 + IL_005f: br IL_0064 - IL_05bd: nop - IL_05be: ldloc.2 - IL_05bf: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_05c4: ldstr "/Fa\"" - IL_05c9: ldloc.s 29 - IL_05cb: ldstr "\"" - IL_05d0: call string string::Concat(string, string, string) - IL_05d5: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_05da: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_05df: pop - IL_05e0: nop - IL_05e1: nop - IL_05e2: ldarg.1 - IL_05e3: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_05e8: stloc.s 31 - .try { // 2 - IL_05ea: br IL_0622 + IL_0064: ldloc.0 + IL_0065: ret + } // end of method JSharpProject::IsSupported - IL_05ef: ldloc.s 31 - IL_05f1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_05f6: castclass [mscorlib]System.String - IL_05fb: stloc.s 30 - IL_05fd: nop - IL_05fe: ldloc.2 - IL_05ff: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0604: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0609: ldarg.0 - IL_060a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_060f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0614: ldloc.s 30 - IL_0616: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_061b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0620: pop - IL_0621: nop - IL_0622: ldloc.s 31 - IL_0624: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0629: brtrue IL_05ef + .property instance valuetype NAnt.VSNet.ProjectType Type () + { + .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.JSharpProject::get_Type () + } + .property instance string FileExtension () + { + .get instance default string NAnt.VSNet.JSharpProject::get_FileExtension () + } + } // end of class NAnt.VSNet.JSharpProject +} - IL_062e: leave IL_064a +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit VcConfigurationBase + extends NAnt.VSNet.ConfigurationBase + { + .field family initonly class [mscorlib]System.Collections.Hashtable Tools + .field private initonly string _name + .field private class [mscorlib]System.IO.DirectoryInfo _outputDir + .field assembly static literal string CLCompilerTool = "VCCLCompilerTool" + .field assembly static literal string CustomBuildTool = "VCCustomBuildTool" + .field assembly static literal string LinkerTool = "VCLinkerTool" + .field assembly static literal string LibTool = "VCLibrarianTool" + .field assembly static literal string ResourceCompilerTool = "VCResourceCompilerTool" + .field assembly static literal string MIDLTool = "VCMIDLTool" + .field assembly static literal string PreBuildEventTool = "VCPreBuildEventTool" + .field assembly static literal string PostBuildEventTool = "VCPostBuildEventTool" + .field assembly static literal string PreLinkEventTool = "VCPreLinkEventTool" + .field assembly static literal string NMakeTool = "VCNMakeTool" + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map2' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end .try 2 - finally { // 2 - IL_0633: ldloc.s 31 - IL_0635: isinst [mscorlib]System.IDisposable - IL_063a: dup - IL_063b: stloc.s 32 - IL_063d: brfalse IL_0649 - IL_0642: ldloc.s 32 - IL_0644: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0649: endfinally - } // end handler 2 - IL_064a: ldarg.0 - IL_064b: ldloc.0 - IL_064c: ldarg.3 - IL_064d: ldstr "VCCLCompilerTool" - IL_0652: ldstr "PreprocessorDefinitions" - IL_0657: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_065c: stloc.s 33 - IL_065e: ldloc.s 33 - IL_0660: call bool string::IsNullOrEmpty(string) - IL_0665: brtrue IL_06d4 + // method line 433 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement elem, class NAnt.VSNet.ProjectBase parentProject, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x10238 + // Code size 292 (0x124) + .maxstack 3 + .locals init ( + class [System.Xml]System.Xml.XmlNodeList V_0, + class [System.Xml]System.Xml.XmlElement V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + string V_3, + class [mscorlib]System.Collections.Hashtable V_4, + class [System.Xml]System.Xml.XmlAttribute V_5, + class [mscorlib]System.Collections.IEnumerator V_6, + class [mscorlib]System.IDisposable V_7, + class [mscorlib]System.IDisposable V_8) + IL_0000: ldarg.0 + IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0006: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools + IL_000b: ldarg.0 + IL_000c: ldarg.2 + IL_000d: call instance void class NAnt.VSNet.ConfigurationBase::'.ctor'(class NAnt.VSNet.ProjectBase) + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: brtrue IL_0025 - IL_066a: nop - IL_066b: nop - IL_066c: ldloc.s 33 - IL_066e: ldc.i4.2 - IL_066f: newarr [mscorlib]System.Char - IL_0674: dup - IL_0675: ldc.i4.0 - IL_0676: ldc.i4.s 0x3b - IL_0678: stelem.i2 - IL_0679: dup - IL_067a: ldc.i4.1 - IL_067b: ldc.i4.s 0x2c - IL_067d: stelem.i2 - IL_067e: callvirt instance string[] string::Split(char[]) - IL_0683: stloc.s 35 - IL_0685: ldc.i4.0 - IL_0686: stloc.s 36 - IL_0688: br IL_06c8 + IL_0019: nop + IL_001a: ldstr "elem" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.0 + IL_0026: ldarg.3 + IL_0027: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir + IL_002c: ldarg.0 + IL_002d: ldarg.1 + IL_002e: ldstr "Name" + IL_0033: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0038: stfld string NAnt.VSNet.VcConfigurationBase::_name + IL_003d: ldarg.1 + IL_003e: ldstr "Tool" + IL_0043: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlElement::GetElementsByTagName(string) + IL_0048: stloc.0 + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0050: stloc.2 + .try { // 1 + IL_0051: br IL_00fd - IL_068d: ldloc.s 35 - IL_068f: ldloc.s 36 - IL_0691: ldelem.ref - IL_0692: stloc.s 34 - IL_0694: nop - IL_0695: ldloc.s 34 - IL_0697: callvirt instance int32 string::get_Length() - IL_069c: brfalse IL_06c1 + IL_0056: ldloc.2 + IL_0057: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_005c: castclass [System.Xml]System.Xml.XmlElement + IL_0061: stloc.1 + IL_0062: nop + IL_0063: ldloc.1 + IL_0064: ldstr "Name" + IL_0069: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_006e: stloc.3 + IL_006f: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0074: stloc.s 4 + IL_0076: nop + IL_0077: ldloc.1 + IL_0078: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_007d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNamedNodeMap::GetEnumerator() + IL_0082: stloc.s 6 + .try { // 0 + IL_0084: br IL_00c6 - IL_06a1: nop - IL_06a2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() - IL_06a7: stloc.s 37 - IL_06a9: ldloc.s 37 - IL_06ab: ldloc.s 34 - IL_06ad: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) - IL_06b2: ldloc.2 - IL_06b3: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Defines() - IL_06b8: ldloc.s 37 - IL_06ba: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) - IL_06bf: pop - IL_06c0: nop - IL_06c1: nop - IL_06c2: ldloc.s 36 - IL_06c4: ldc.i4.1 - IL_06c5: add - IL_06c6: stloc.s 36 - IL_06c8: ldloc.s 36 - IL_06ca: ldloc.s 35 - IL_06cc: ldlen - IL_06cd: conv.i4 - IL_06ce: blt IL_068d + IL_0089: ldloc.s 6 + IL_008b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0090: castclass [System.Xml]System.Xml.XmlAttribute + IL_0095: stloc.s 5 + IL_0097: nop + IL_0098: ldloc.s 5 + IL_009a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_009f: ldstr "Name" + IL_00a4: call bool string::op_Inequality(string, string) + IL_00a9: brfalse IL_00c5 - IL_06d3: nop - IL_06d4: ldarg.0 - IL_06d5: ldloc.0 - IL_06d6: ldarg.3 - IL_06d7: ldstr "VCCLCompilerTool" - IL_06dc: ldstr "UndefinePreprocessorDefinitions" - IL_06e1: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_06e6: stloc.s 38 - IL_06e8: ldloc.s 38 - IL_06ea: call bool string::IsNullOrEmpty(string) - IL_06ef: brtrue IL_0750 + IL_00ae: nop + IL_00af: ldloc.s 4 + IL_00b1: ldloc.s 5 + IL_00b3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_00b8: ldloc.s 5 + IL_00ba: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00bf: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00c4: nop + IL_00c5: nop + IL_00c6: ldloc.s 6 + IL_00c8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00cd: brtrue IL_0089 - IL_06f4: nop - IL_06f5: nop - IL_06f6: ldloc.s 38 - IL_06f8: ldc.i4.2 - IL_06f9: newarr [mscorlib]System.Char - IL_06fe: dup - IL_06ff: ldc.i4.0 - IL_0700: ldc.i4.s 0x3b - IL_0702: stelem.i2 - IL_0703: dup - IL_0704: ldc.i4.1 - IL_0705: ldc.i4.s 0x2c - IL_0707: stelem.i2 - IL_0708: callvirt instance string[] string::Split(char[]) - IL_070d: stloc.s 40 - IL_070f: ldc.i4.0 - IL_0710: stloc.s 41 - IL_0712: br IL_0744 + IL_00d2: leave IL_00ee - IL_0717: ldloc.s 40 - IL_0719: ldloc.s 41 - IL_071b: ldelem.ref - IL_071c: stloc.s 39 - IL_071e: nop - IL_071f: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() - IL_0724: stloc.s 42 - IL_0726: ldloc.s 42 - IL_0728: ldloc.s 39 - IL_072a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) - IL_072f: ldloc.2 - IL_0730: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::get_Undefines() - IL_0735: ldloc.s 42 - IL_0737: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) - IL_073c: pop - IL_073d: nop - IL_073e: ldloc.s 41 - IL_0740: ldc.i4.1 - IL_0741: add - IL_0742: stloc.s 41 - IL_0744: ldloc.s 41 - IL_0746: ldloc.s 40 - IL_0748: ldlen - IL_0749: conv.i4 - IL_074a: blt IL_0717 + } // end .try 0 + finally { // 0 + IL_00d7: ldloc.s 6 + IL_00d9: isinst [mscorlib]System.IDisposable + IL_00de: dup + IL_00df: stloc.s 7 + IL_00e1: brfalse IL_00ed - IL_074f: nop - IL_0750: ldarg.3 - IL_0751: ldstr "VCCLCompilerTool" - IL_0756: ldstr "AdditionalOptions" - IL_075b: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0760: stloc.s 43 - IL_0762: ldloc.s 43 - IL_0764: call bool string::IsNullOrEmpty(string) - IL_0769: brtrue IL_07f1 + IL_00e6: ldloc.s 7 + IL_00e8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00ed: endfinally + } // end handler 0 + IL_00ee: ldarg.0 + IL_00ef: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools + IL_00f4: ldloc.3 + IL_00f5: ldloc.s 4 + IL_00f7: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00fc: nop + IL_00fd: ldloc.2 + IL_00fe: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0103: brtrue IL_0056 - IL_076e: nop - IL_076f: ldloc.s 43 - IL_0771: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) - IL_0776: stloc.s 44 - .try { // 3 - IL_0778: nop - IL_0779: ldloc.s 44 - IL_077b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0780: stloc.s 45 - IL_0782: br IL_07d4 + IL_0108: leave IL_0123 - IL_0787: nop - IL_0788: nop - IL_0789: ldloc.s 45 - IL_078b: ldc.i4.s 0x20 - IL_078d: ldc.i4.0 - IL_078e: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0793: stloc.s 47 - IL_0795: ldc.i4.0 - IL_0796: stloc.s 48 - IL_0798: br IL_07bf + } // end .try 1 + finally { // 1 + IL_010d: ldloc.2 + IL_010e: isinst [mscorlib]System.IDisposable + IL_0113: dup + IL_0114: stloc.s 8 + IL_0116: brfalse IL_0122 - IL_079d: ldloc.s 47 - IL_079f: ldloc.s 48 - IL_07a1: ldelem.ref - IL_07a2: stloc.s 46 - IL_07a4: nop - IL_07a5: ldloc.2 - IL_07a6: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_07ab: ldloc.s 46 - IL_07ad: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_07b2: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_07b7: pop - IL_07b8: nop - IL_07b9: ldloc.s 48 - IL_07bb: ldc.i4.1 - IL_07bc: add - IL_07bd: stloc.s 48 - IL_07bf: ldloc.s 48 - IL_07c1: ldloc.s 47 - IL_07c3: ldlen - IL_07c4: conv.i4 - IL_07c5: blt IL_079d + IL_011b: ldloc.s 8 + IL_011d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0122: endfinally + } // end handler 1 + IL_0123: ret + } // end of method VcConfigurationBase::.ctor - IL_07ca: ldloc.s 44 - IL_07cc: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_07d1: stloc.s 45 - IL_07d3: nop - IL_07d4: ldloc.s 45 - IL_07d6: brtrue IL_0787 + // method line 434 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (string configName, class NAnt.VSNet.ProjectBase parentProject, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x10384 + // Code size 34 (0x22) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0006: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools + IL_000b: ldarg.0 + IL_000c: ldarg.2 + IL_000d: call instance void class NAnt.VSNet.ConfigurationBase::'.ctor'(class NAnt.VSNet.ProjectBase) + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: stfld string NAnt.VSNet.VcConfigurationBase::_name + IL_001a: ldarg.0 + IL_001b: ldarg.3 + IL_001c: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir + IL_0021: ret + } // end of method VcConfigurationBase::.ctor - IL_07db: nop - IL_07dc: leave IL_07f0 + // method line 435 + .method public virtual hidebysig newslot abstract specialname + instance default string get_IntermediateDir () cil managed + { + // Method begins at RVA 0x0 + } // end of method VcConfigurationBase::get_IntermediateDir - } // end .try 3 - finally { // 3 - IL_07e1: ldloc.s 44 - IL_07e3: brfalse IL_07ef + // method line 436 + .method public virtual hidebysig newslot abstract specialname + instance default string get_ReferencesPath () cil managed + { + // Method begins at RVA 0x0 + } // end of method VcConfigurationBase::get_ReferencesPath - IL_07e8: ldloc.s 44 - IL_07ea: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_07ef: endfinally - } // end handler 3 - IL_07f0: nop - IL_07f1: ldarg.3 - IL_07f2: ldstr "VCCLCompilerTool" - IL_07f7: ldstr "ExceptionHandling" - IL_07fc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0801: stloc.s 49 - IL_0803: ldloc.s 49 - IL_0805: brtrue IL_0835 + // method line 437 + .method public hidebysig specialname + instance default valuetype NAnt.VSNet.Types.UsePrecompiledHeader get_UsePrecompiledHeader () cil managed + { + // Method begins at RVA 0x103a8 + // Code size 139 (0x8b) + .maxstack 3 + .locals init ( + string V_0, + valuetype NAnt.VSNet.Types.UsePrecompiledHeader V_1, + int32 V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldstr "VCCLCompilerTool" + IL_0007: ldstr "UsePrecompiledHeader" + IL_000c: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: brtrue IL_0020 - IL_080a: nop - IL_080b: ldarg.0 - IL_080c: call instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() - IL_0811: ldc.i4.s 0x50 - IL_0813: blt IL_0826 + IL_0018: nop + IL_0019: ldc.i4.m1 + IL_001a: stloc.1 + IL_001b: br IL_0089 - IL_0818: nop - IL_0819: ldstr "2" - IL_081e: stloc.s 49 - IL_0820: nop - IL_0821: br IL_082f + IL_0020: ldloc.0 + IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0026: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_002b: stloc.2 + IL_002c: ldarg.0 + IL_002d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0032: callvirt instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() + IL_0037: ldc.i4.s 0x50 + IL_0039: blt IL_006e - IL_0826: nop - IL_0827: ldstr "false" - IL_082c: stloc.s 49 - IL_082e: nop - IL_082f: nop - IL_0830: br IL_0840 + IL_003e: nop + IL_003f: ldloc.2 + IL_0040: brfalse IL_0058 - IL_0835: nop - IL_0836: ldloc.s 49 - IL_0838: callvirt instance string string::ToLower() - IL_083d: stloc.s 49 - IL_083f: nop - IL_0840: ldloc.s 49 - IL_0842: brfalse IL_08dc + IL_0045: ldloc.2 + IL_0046: ldc.i4.1 + IL_0047: beq IL_005f - IL_0847: ldloc.s 49 - IL_0849: ldstr "0" - IL_084e: call bool string::op_Equality(string, string) - IL_0853: brtrue IL_08a1 + IL_004c: ldloc.2 + IL_004d: ldc.i4.2 + IL_004e: beq IL_0066 - IL_0858: ldloc.s 49 - IL_085a: ldstr "false" - IL_085f: call bool string::op_Equality(string, string) - IL_0864: brtrue IL_08a1 + IL_0053: br IL_006d - IL_0869: ldloc.s 49 - IL_086b: ldstr "1" - IL_0870: call bool string::op_Equality(string, string) - IL_0875: brtrue IL_08a6 + IL_0058: ldc.i4.0 + IL_0059: stloc.1 + IL_005a: br IL_0089 - IL_087a: ldloc.s 49 - IL_087c: ldstr "true" - IL_0881: call bool string::op_Equality(string, string) - IL_0886: brtrue IL_08a6 + IL_005f: ldc.i4.1 + IL_0060: stloc.1 + IL_0061: br IL_0089 - IL_088b: ldloc.s 49 - IL_088d: ldstr "2" - IL_0892: call bool string::op_Equality(string, string) - IL_0897: brtrue IL_08c1 + IL_0066: ldc.i4.3 + IL_0067: stloc.1 + IL_0068: br IL_0089 - IL_089c: br IL_08dc + IL_006d: nop + IL_006e: ldtoken NAnt.VSNet.Types.UsePrecompiledHeader + IL_0073: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0078: ldloc.2 + IL_0079: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) + IL_007e: unbox.any NAnt.VSNet.Types.UsePrecompiledHeader + IL_0083: stloc.1 + IL_0084: br IL_0089 - IL_08a1: br IL_08dc + IL_0089: ldloc.1 + IL_008a: ret + } // end of method VcConfigurationBase::get_UsePrecompiledHeader - IL_08a6: ldloc.2 - IL_08a7: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_08ac: ldstr "/EHsc" - IL_08b1: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_08b6: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_08bb: pop - IL_08bc: br IL_08dc + // method line 438 + .method assembly hidebysig specialname + instance default string get_FullName () cil managed + { + // Method begins at RVA 0x10440 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_08c1: ldloc.2 - IL_08c2: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_08c7: ldstr "/EHa" - IL_08cc: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_08d1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_08d6: pop - IL_08d7: br IL_08dc + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcConfigurationBase::get_FullName - IL_08dc: ldarg.3 - IL_08dd: ldstr "VCCLCompilerTool" - IL_08e2: ldstr "BrowseInformation" - IL_08e7: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_08ec: stloc.s 50 - IL_08ee: ldloc.s 50 - IL_08f0: call bool string::IsNullOrEmpty(string) - IL_08f5: brtrue IL_0a19 + // method line 439 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed + { + // Method begins at RVA 0x1045c + // Code size 101 (0x65) + .maxstack 3 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir + IL_0007: brtrue IL_0057 - IL_08fa: ldloc.s 50 - IL_08fc: ldstr "0" - IL_0901: call bool string::op_Inequality(string, string) - IL_0906: brfalse IL_0a19 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() + IL_0013: brfalse IL_0045 - IL_090b: nop - IL_090c: ldarg.3 - IL_090d: ldstr "VCCLCompilerTool" - IL_0912: ldstr "BrowseInformationFile" - IL_0917: ldstr "$(IntDir)/" - IL_091c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_0921: stloc.s 51 - IL_0923: ldloc.s 51 - IL_0925: call bool string::IsNullOrEmpty(string) - IL_092a: brtrue IL_09b2 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldarg.0 + IL_001b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0025: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002a: ldarg.0 + IL_002b: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() + IL_0030: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0035: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_003a: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir + IL_003f: nop + IL_0040: br IL_0056 - IL_092f: nop - IL_0930: ldloc.s 50 - IL_0932: brfalse IL_09ac + IL_0045: nop + IL_0046: ldstr "The output directory could not be determined." + IL_004b: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0050: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0055: throw + IL_0056: nop + IL_0057: ldarg.0 + IL_0058: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir + IL_005d: stloc.0 + IL_005e: br IL_0063 - IL_0937: ldloc.s 50 - IL_0939: ldstr "1" - IL_093e: call bool string::op_Equality(string, string) - IL_0943: brtrue IL_095e + IL_0063: ldloc.0 + IL_0064: ret + } // end of method VcConfigurationBase::get_OutputDir - IL_0948: ldloc.s 50 - IL_094a: ldstr "2" - IL_094f: call bool string::op_Equality(string, string) - IL_0954: brtrue IL_0985 + // method line 440 + .method public virtual hidebysig specialname + instance default string get_BuildPath () cil managed + { + // Method begins at RVA 0x104d0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0959: br IL_09ac + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcConfigurationBase::get_BuildPath - IL_095e: ldloc.2 - IL_095f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0964: ldstr "/FR\"" - IL_0969: ldloc.s 51 - IL_096b: ldstr "\"" - IL_0970: call string string::Concat(string, string, string) - IL_0975: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_097a: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_097f: pop - IL_0980: br IL_09ac + // method line 441 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x104ec + // Code size 60 (0x3c) + .maxstack 3 + .locals init ( + int32 V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_0007: ldstr "|" + IL_000c: callvirt instance int32 string::IndexOf(string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: ldc.i4.0 + IL_0014: blt IL_002d - IL_0985: ldloc.2 - IL_0986: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_098b: ldstr "/Fr\"" - IL_0990: ldloc.s 51 - IL_0992: ldstr "\"" - IL_0997: call string string::Concat(string, string, string) - IL_099c: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_09a1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_09a6: pop - IL_09a7: br IL_09ac + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_0020: ldc.i4.0 + IL_0021: ldloc.0 + IL_0022: callvirt instance string string::Substring(int32, int32) + IL_0027: stloc.1 + IL_0028: br IL_003a - IL_09ac: nop - IL_09ad: br IL_0a18 + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_0034: stloc.1 + IL_0035: br IL_003a - IL_09b2: nop - IL_09b3: ldloc.s 50 - IL_09b5: brfalse IL_0a17 + IL_003a: ldloc.1 + IL_003b: ret + } // end of method VcConfigurationBase::get_Name - IL_09ba: ldloc.s 50 - IL_09bc: ldstr "1" - IL_09c1: call bool string::op_Equality(string, string) - IL_09c6: brtrue IL_09e1 + // method line 442 + .method public virtual hidebysig specialname + instance default string get_PlatformName () cil managed + { + // Method begins at RVA 0x10534 + // Code size 105 (0x69) + .maxstack 4 + .locals init ( + int32 V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_0007: ldstr "|" + IL_000c: callvirt instance int32 string::IndexOf(string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: ldc.i4.0 + IL_0014: blt IL_005b - IL_09cb: ldloc.s 50 - IL_09cd: ldstr "2" - IL_09d2: call bool string::op_Equality(string, string) - IL_09d7: brtrue IL_09fc + IL_0019: nop + IL_001a: ldloc.0 + IL_001b: ldarg.0 + IL_001c: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_0021: callvirt instance int32 string::get_Length() + IL_0026: bge IL_004f - IL_09dc: br IL_0a17 + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_0032: ldloc.0 + IL_0033: ldc.i4.1 + IL_0034: add + IL_0035: ldarg.0 + IL_0036: ldfld string NAnt.VSNet.VcConfigurationBase::_name + IL_003b: callvirt instance int32 string::get_Length() + IL_0040: ldc.i4.1 + IL_0041: sub + IL_0042: ldloc.0 + IL_0043: sub + IL_0044: callvirt instance string string::Substring(int32, int32) + IL_0049: stloc.1 + IL_004a: br IL_0067 - IL_09e1: ldloc.2 - IL_09e2: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_09e7: ldstr "/FR" - IL_09ec: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_09f1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_09f6: pop - IL_09f7: br IL_0a17 + IL_004f: nop + IL_0050: ldsfld string [mscorlib]System.String::Empty + IL_0055: stloc.1 + IL_0056: br IL_0067 - IL_09fc: ldloc.2 - IL_09fd: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0a02: ldstr "/Fr" - IL_0a07: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0a0c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0a11: pop - IL_0a12: br IL_0a17 + IL_005b: nop + IL_005c: ldsfld string [mscorlib]System.String::Empty + IL_0061: stloc.1 + IL_0062: br IL_0067 - IL_0a17: nop - IL_0a18: nop - IL_0a19: ldloc.0 - IL_0a1a: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_0a1f: ldc.i4.2 - IL_0a20: bne.un IL_0a53 + IL_0067: ldloc.1 + IL_0068: ret + } // end of method VcConfigurationBase::get_PlatformName - IL_0a25: nop - IL_0a26: ldloc.2 - IL_0a27: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0a2c: ldstr "/D" - IL_0a31: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0a36: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0a3b: pop - IL_0a3c: ldloc.2 - IL_0a3d: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0a42: ldstr "_WINDLL" - IL_0a47: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0a4c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0a51: pop - IL_0a52: nop - IL_0a53: ldloc.0 - IL_0a54: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_WholeProgramOptimization() - IL_0a59: brfalse IL_0a76 + // method line 443 + .method famorassem virtual hidebysig + instance default string ExpandMacro (string macro) cil managed + { + // Method begins at RVA 0x105ac + // Code size 480 (0x1e0) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, + int32 V_2, + string V_3, + string V_4) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_01b3 - IL_0a5e: nop - IL_0a5f: ldloc.2 - IL_0a60: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0a65: ldstr "/GL" - IL_0a6a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0a6f: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0a74: pop - IL_0a75: nop - IL_0a76: ldc.i4.0 - IL_0a77: stloc.s 52 - IL_0a79: ldarg.3 - IL_0a7a: ldstr "VCCLCompilerTool" - IL_0a7f: ldstr "Optimization" - IL_0a84: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0a89: stloc.s 53 - IL_0a8b: ldloc.s 53 - IL_0a8d: call bool string::IsNullOrEmpty(string) - IL_0a92: brtrue IL_0aba + IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcConfigurationBase::'<>f__switch$map2' + IL_0018: brtrue IL_007e - IL_0a97: nop - IL_0a98: ldloc.s 53 - IL_0a9a: call int32 int32::Parse(string) - IL_0a9f: stloc.s 54 - IL_0aa1: ldloc.s 54 - IL_0aa3: ldc.i4.1 - IL_0aa4: beq IL_0ab1 + IL_001d: ldc.i4.7 + IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) + IL_0023: stloc.1 + IL_0024: ldloc.1 + IL_0025: ldstr "noinherit" + IL_002a: ldc.i4.0 + IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0030: ldloc.1 + IL_0031: ldstr "intdir" + IL_0036: ldc.i4.1 + IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_003c: ldloc.1 + IL_003d: ldstr "vcinstalldir" + IL_0042: ldc.i4.2 + IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0048: ldloc.1 + IL_0049: ldstr "vsinstalldir" + IL_004e: ldc.i4.3 + IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0054: ldloc.1 + IL_0055: ldstr "frameworkdir" + IL_005a: ldc.i4.4 + IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0060: ldloc.1 + IL_0061: ldstr "frameworkversion" + IL_0066: ldc.i4.5 + IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_006c: ldloc.1 + IL_006d: ldstr "frameworksdkdir" + IL_0072: ldc.i4.6 + IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0078: ldloc.1 + IL_0079: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcConfigurationBase::'<>f__switch$map2' + IL_007e: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcConfigurationBase::'<>f__switch$map2' + IL_0083: ldloc.0 + IL_0084: ldloca.s 2 + IL_0086: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_008b: brfalse IL_01b3 - IL_0aa9: ldloc.s 54 - IL_0aab: ldc.i4.2 - IL_0aac: bne.un IL_0ab9 + IL_0090: ldloc.2 + IL_0091: switch ( + IL_00bb, + IL_00c6, + IL_00d2, + IL_00e8, + IL_00fe, + IL_0123, + IL_0148, + IL_01b3) + IL_00b6: br IL_01b3 - IL_0ab1: nop - IL_0ab2: ldloc.s 52 - IL_0ab4: ldc.i4.1 - IL_0ab5: or - IL_0ab6: stloc.s 52 - IL_0ab8: nop - IL_0ab9: nop - IL_0aba: ldarg.3 - IL_0abb: ldstr "VCCLCompilerTool" - IL_0ac0: ldarg.0 - IL_0ac1: ldfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_clArgMap - IL_0ac6: ldloc.s 52 - IL_0ac8: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) - IL_0acd: stloc.s 55 - IL_0acf: nop - IL_0ad0: ldloc.s 55 - IL_0ad2: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_0ad7: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0adc: stloc.s 57 - .try { // 4 - IL_0ade: br IL_0b11 + IL_00bb: ldstr "$(noinherit)" + IL_00c0: stloc.3 + IL_00c1: br IL_01de - IL_0ae3: ldloc.s 57 - IL_0ae5: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0aea: castclass [mscorlib]System.String - IL_0aef: stloc.s 56 - IL_0af1: nop - IL_0af2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() - IL_0af7: stloc.s 58 - IL_0af9: ldloc.s 58 - IL_0afb: ldloc.s 56 - IL_0afd: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_0b02: ldloc.2 - IL_0b03: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0b08: ldloc.s 58 - IL_0b0a: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0b0f: pop - IL_0b10: nop - IL_0b11: ldloc.s 57 - IL_0b13: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0b18: brtrue IL_0ae3 + IL_00c6: ldarg.0 + IL_00c7: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() + IL_00cc: stloc.3 + IL_00cd: br IL_01de - IL_0b1d: leave IL_0b39 + IL_00d2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00d7: ldstr "\"{0}\" macro is not yet implemented." + IL_00dc: ldarg.1 + IL_00dd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00e2: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'(string) + IL_00e7: throw + IL_00e8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ed: ldstr "\"{0}\" macro is not yet implemented." + IL_00f2: ldarg.1 + IL_00f3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00f8: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'(string) + IL_00fd: throw + IL_00fe: ldarg.0 + IL_00ff: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0104: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0109: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_010e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_0113: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.DirectoryInfo::get_Parent() + IL_0118: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_011d: stloc.3 + IL_011e: br IL_01de - } // end .try 4 - finally { // 4 - IL_0b22: ldloc.s 57 - IL_0b24: isinst [mscorlib]System.IDisposable - IL_0b29: dup - IL_0b2a: stloc.s 59 - IL_0b2c: brfalse IL_0b38 + IL_0123: ldstr "v" + IL_0128: ldarg.0 + IL_0129: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_012e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0133: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0138: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_013d: call string string::Concat(object, object) + IL_0142: stloc.3 + IL_0143: br IL_01de - IL_0b31: ldloc.s 59 - IL_0b33: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0b38: endfinally - } // end handler 4 - IL_0b39: ldloc.0 - IL_0b3a: callvirt instance valuetype NAnt.VSNet.Types.UseOfMFC class NAnt.VSNet.VcProjectConfiguration::get_UseOfMFC() - IL_0b3f: ldc.i4.2 - IL_0b40: bne.un IL_0b73 + IL_0148: ldarg.0 + IL_0149: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_014e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0153: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0158: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_015d: brfalse IL_0183 - IL_0b45: nop - IL_0b46: ldloc.2 - IL_0b47: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0b4c: ldstr "/D" - IL_0b51: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0b56: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0b5b: pop - IL_0b5c: ldloc.2 - IL_0b5d: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0b62: ldstr "_AFXDLL" - IL_0b67: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0b6c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0b71: pop - IL_0b72: nop - IL_0b73: ldloc.0 - IL_0b74: callvirt instance valuetype NAnt.VSNet.Types.UseOfATL class NAnt.VSNet.VcProjectConfiguration::get_UseOfATL() - IL_0b79: stloc.s 60 - IL_0b7b: ldloc.s 60 - IL_0b7d: ldc.i4.2 - IL_0b7e: beq IL_0b90 + IL_0162: nop + IL_0163: ldarg.0 + IL_0164: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0169: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_016e: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0173: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_SdkDirectory() + IL_0178: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_017d: stloc.3 + IL_017e: br IL_01de - IL_0b83: ldloc.s 60 - IL_0b85: ldc.i4.1 - IL_0b86: beq IL_0bc1 + IL_0183: nop + IL_0184: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0189: ldstr "Macro \"{0}\" cannot be expanded: the SDK for {0} is not installed." + IL_018e: ldarg.0 + IL_018f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0194: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0199: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_019e: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() + IL_01a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01a8: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_01ad: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_01b2: throw + .try { // 0 + IL_01b3: nop + IL_01b4: ldarg.0 + IL_01b5: ldarg.1 + IL_01b6: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacro(string) + IL_01bb: stloc.3 + IL_01bc: leave IL_01de - IL_0b8b: br IL_0bf2 + } // end .try 0 + catch class [NAnt.Core]NAnt.Core.BuildException { // 0 + IL_01c1: pop + IL_01c2: nop + IL_01c3: ldarg.1 + IL_01c4: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_01c9: stloc.s 4 + IL_01cb: ldloc.s 4 + IL_01cd: brfalse IL_01db - IL_0b90: ldloc.2 - IL_0b91: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0b96: ldstr "/D" - IL_0b9b: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0ba0: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0ba5: pop - IL_0ba6: ldloc.2 - IL_0ba7: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0bac: ldstr "_ATL_DLL" - IL_0bb1: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0bb6: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0bbb: pop - IL_0bbc: br IL_0bf2 + IL_01d2: nop + IL_01d3: ldloc.s 4 + IL_01d5: stloc.3 + IL_01d6: leave IL_01de - IL_0bc1: ldloc.2 - IL_0bc2: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0bc7: ldstr "/D" - IL_0bcc: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0bd1: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0bd6: pop - IL_0bd7: ldloc.2 - IL_0bd8: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0bdd: ldstr "_ATL_STATIC_REGISTRY" - IL_0be2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0be7: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0bec: pop - IL_0bed: br IL_0bf2 + IL_01db: nop + IL_01dc: rethrow + } // end handler 0 + IL_01de: ldloc.3 + IL_01df: ret + } // end of method VcConfigurationBase::ExpandMacro - IL_0bf2: ldloc.2 - IL_0bf3: ldloc.0 - IL_0bf4: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_ManagedExtensions() - IL_0bf9: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.ClTask::set_ManagedExtensions(bool) - IL_0bfe: ldarg.0 - IL_0bff: ldloc.2 - IL_0c00: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) - IL_0c05: ret - } // end of method VcProject::BuildCPPFiles + // method line 444 + .method public hidebysig + instance default string GetToolSetting (string toolName, string settingName) cil managed + { + // Method begins at RVA 0x107a8 + // Code size 18 (0x12) + .maxstack 4 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldnull + IL_0005: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_000a: stloc.0 + IL_000b: br IL_0010 - // method line 436 - .method private hidebysig - instance default void BuildResourceFiles (class [mscorlib]System.Collections.ArrayList fileNames, class NAnt.VSNet.VcProjectConfiguration projectConfig, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed + IL_0010: ldloc.0 + IL_0011: ret + } // end of method VcConfigurationBase::GetToolSetting + + // method line 445 + .method public virtual hidebysig newslot abstract + instance default string GetToolSetting (string toolName, string settingName, string defaultValue) cil managed { - // Method begins at RVA 0xf830 - // Code size 769 (0x301) - .maxstack 5 + // Method begins at RVA 0x0 + } // end of method VcConfigurationBase::GetToolSetting + + // method line 446 + .method public hidebysig + instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap) cil managed + { + // Method begins at RVA 0x107c8 + // Code size 18 (0x12) + .maxstack 4 .locals init ( - class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask V_0, - class [mscorlib]System.Text.StringBuilder V_1, - string V_2, - string V_3, - int32 V_4, - string V_5, - string V_6, - string[] V_7, - int32 V_8, - class [NAnt.Core]NAnt.Core.Types.Option V_9, - string V_10, - string V_11, - string V_12, - string[] V_13, - int32 V_14, - string V_15, - class [mscorlib]System.Collections.IEnumerator V_16, - class [mscorlib]System.IDisposable V_17) + class [mscorlib]System.Collections.Hashtable V_0) IL_0000: nop - IL_0001: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0018: ldloc.0 - IL_0019: ldarg.0 - IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0024: ldloc.0 - IL_0025: ldarg.0 - IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0041: ldloc.0 - IL_0042: ldarg.0 - IL_0043: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0048: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_004d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0052: ldloc.0 - IL_0053: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0058: ldloc.0 - IL_0059: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_005e: ldloc.0 - IL_005f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0064: ldloc.0 - IL_0065: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_006a: ldloc.0 - IL_006b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0075: ldloc.0 - IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_007b: ldloc.0 - IL_007c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0081: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0086: ldloc.0 - IL_0087: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_008c: ldarg.0 - IL_008d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0092: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0097: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_009c: stloc.1 - IL_009d: ldarg.3 - IL_009e: ldstr "VCResourceCompilerTool" - IL_00a3: ldstr "IgnoreStandardIncludePath" - IL_00a8: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_00ad: stloc.2 - IL_00ae: ldloc.2 - IL_00af: brfalse IL_00d8 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldc.i4.0 + IL_0005: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) + IL_000a: stloc.0 + IL_000b: br IL_0010 - IL_00b4: ldloc.2 - IL_00b5: ldstr "true" - IL_00ba: ldc.i4.1 - IL_00bb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c0: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_00c5: brtrue IL_00d8 + IL_0010: ldloc.0 + IL_0011: ret + } // end of method VcConfigurationBase::GetToolArguments - IL_00ca: nop - IL_00cb: ldloc.1 - IL_00cc: ldstr "/X " - IL_00d1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00d6: pop - IL_00d7: nop - IL_00d8: ldarg.3 - IL_00d9: ldstr "VCResourceCompilerTool" - IL_00de: ldstr "Culture" - IL_00e3: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_00e8: stloc.3 - IL_00e9: ldloc.3 - IL_00ea: call bool string::IsNullOrEmpty(string) - IL_00ef: brtrue IL_0106 + // method line 447 + .method public virtual hidebysig newslot abstract + instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup) cil managed + { + // Method begins at RVA 0x0 + } // end of method VcConfigurationBase::GetToolArguments - IL_00f4: nop - IL_00f5: ldloc.3 - IL_00f6: call int32 class [mscorlib]System.Convert::ToInt32(string) - IL_00fb: stloc.s 4 - IL_00fd: ldloc.0 - IL_00fe: ldloc.s 4 - IL_0100: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_LangId(int32) - IL_0105: nop - IL_0106: ldarg.3 - IL_0107: ldstr "VCResourceCompilerTool" - IL_010c: ldstr "PreprocessorDefinitions" - IL_0111: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0116: stloc.s 5 - IL_0118: ldloc.s 5 - IL_011a: call bool string::IsNullOrEmpty(string) - IL_011f: brtrue IL_0185 + .property instance string IntermediateDir () + { + .get instance default string NAnt.VSNet.VcConfigurationBase::get_IntermediateDir () + } + .property instance string ReferencesPath () + { + .get instance default string NAnt.VSNet.VcConfigurationBase::get_ReferencesPath () + } + .property instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader UsePrecompiledHeader () + { + .get instance default valuetype NAnt.VSNet.Types.UsePrecompiledHeader NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader () + } + .property instance string FullName () + { + .get instance default string NAnt.VSNet.VcConfigurationBase::get_FullName () + } + .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::get_OutputDir () + } + .property instance string BuildPath () + { + .get instance default string NAnt.VSNet.VcConfigurationBase::get_BuildPath () + } + .property instance string Name () + { + .get instance default string NAnt.VSNet.VcConfigurationBase::get_Name () + } + .property instance string PlatformName () + { + .get instance default string NAnt.VSNet.VcConfigurationBase::get_PlatformName () + } + .class nested public auto ansi sealed ExpansionHandler + extends [mscorlib]System.MulticastDelegate + { - IL_0124: nop - IL_0125: nop - IL_0126: ldloc.s 5 - IL_0128: ldc.i4.s 0x3b - IL_012a: ldc.i4.0 - IL_012b: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0130: stloc.s 7 - IL_0132: ldc.i4.0 - IL_0133: stloc.s 8 - IL_0135: br IL_0179 + // method line 448 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method ExpansionHandler::.ctor - IL_013a: ldloc.s 7 - IL_013c: ldloc.s 8 - IL_013e: ldelem.ref - IL_013f: stloc.s 6 - IL_0141: nop - IL_0142: ldloc.s 6 - IL_0144: callvirt instance int32 string::get_Length() - IL_0149: brtrue IL_0154 + // method line 449 + .method public virtual hidebysig newslot + instance default string Invoke (string 'value') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method ExpansionHandler::Invoke - IL_014e: nop - IL_014f: br IL_0173 + // method line 450 + .method public virtual hidebysig newslot + instance default class [mscorlib]System.IAsyncResult BeginInvoke (string 'value', class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method ExpansionHandler::BeginInvoke - IL_0154: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() - IL_0159: stloc.s 9 - IL_015b: ldloc.s 9 - IL_015d: ldloc.s 6 - IL_015f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) - IL_0164: ldloc.0 - IL_0165: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_Defines() - IL_016a: ldloc.s 9 - IL_016c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) - IL_0171: pop - IL_0172: nop - IL_0173: ldloc.s 8 - IL_0175: ldc.i4.1 - IL_0176: add - IL_0177: stloc.s 8 - IL_0179: ldloc.s 8 - IL_017b: ldloc.s 7 - IL_017d: ldlen - IL_017e: conv.i4 - IL_017f: blt IL_013a + // method line 451 + .method public virtual hidebysig newslot + instance default string EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + { + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method ExpansionHandler::EndInvoke - IL_0184: nop - IL_0185: ldarg.3 - IL_0186: ldstr "VCResourceCompilerTool" - IL_018b: ldstr "ShowProgress" - IL_0190: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0195: stloc.s 10 - IL_0197: ldloc.s 10 - IL_0199: brfalse IL_01be + } // end of class ExpansionHandler - IL_019e: ldloc.s 10 - IL_01a0: ldstr "true" - IL_01a5: ldc.i4.1 - IL_01a6: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01ab: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_01b0: brtrue IL_01be + } // end of class NAnt.VSNet.VcConfigurationBase +} - IL_01b5: nop - IL_01b6: ldloc.0 - IL_01b7: ldc.i4.1 - IL_01b8: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_01bd: nop - IL_01be: ldarg.0 - IL_01bf: ldarg.2 - IL_01c0: ldarg.3 - IL_01c1: ldstr "VCResourceCompilerTool" - IL_01c6: ldstr "AdditionalIncludeDirectories" - IL_01cb: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_01d0: stloc.s 11 - IL_01d2: ldloc.s 11 - IL_01d4: call bool string::IsNullOrEmpty(string) - IL_01d9: brtrue IL_0249 +.namespace NAnt.VSNet +{ + .class private auto ansi beforefieldinit VBProjectProvider + extends [mscorlib]System.Object + implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + + // method line 452 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x107e6 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method VBProjectProvider::.ctor + + // method line 453 + .method public final virtual hidebysig newslot + instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x107f0 + // Code size 52 (0x34) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr ".vbproj" + IL_0007: call bool string::op_Equality(string, string) + IL_000c: brfalse IL_0018 - IL_01de: nop - IL_01df: nop - IL_01e0: ldloc.s 11 - IL_01e2: ldc.i4.s 0x3b - IL_01e4: ldc.i4.0 - IL_01e5: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_01ea: stloc.s 13 - IL_01ec: ldc.i4.0 - IL_01ed: stloc.s 14 - IL_01ef: br IL_023d + IL_0011: ldc.i4.5 + IL_0012: stloc.0 + IL_0013: br IL_0032 - IL_01f4: ldloc.s 13 - IL_01f6: ldloc.s 14 - IL_01f8: ldelem.ref - IL_01f9: stloc.s 12 - IL_01fb: nop - IL_01fc: ldloc.s 12 - IL_01fe: callvirt instance int32 string::get_Length() - IL_0203: brtrue IL_020e + IL_0018: ldarg.2 + IL_0019: call bool class NAnt.VSNet.VBProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_001e: brfalse IL_002b - IL_0208: nop - IL_0209: br IL_0237 + IL_0023: ldc.i4.s 0x0a + IL_0025: stloc.0 + IL_0026: br IL_0032 - IL_020e: ldloc.0 - IL_020f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_0214: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0219: ldarg.0 - IL_021a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_021f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0224: ldloc.s 12 - IL_0226: call string class NAnt.VSNet.VcProject::CleanPath(string) - IL_022b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0230: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0235: pop - IL_0236: nop - IL_0237: ldloc.s 14 - IL_0239: ldc.i4.1 - IL_023a: add - IL_023b: stloc.s 14 - IL_023d: ldloc.s 14 - IL_023f: ldloc.s 13 - IL_0241: ldlen - IL_0242: conv.i4 - IL_0243: blt IL_01f4 + IL_002b: ldc.i4.0 + IL_002c: stloc.0 + IL_002d: br IL_0032 - IL_0248: nop - IL_0249: ldarg.2 - IL_024a: callvirt instance valuetype NAnt.VSNet.Types.UseOfMFC class NAnt.VSNet.VcProjectConfiguration::get_UseOfMFC() - IL_024f: ldc.i4.2 - IL_0250: bne.un IL_0268 + IL_0032: ldloc.0 + IL_0033: ret + } // end of method VBProjectProvider::IsSupported - IL_0255: nop - IL_0256: ldloc.1 - IL_0257: ldstr "/d \"_AFXDLL\"" - IL_025c: call !!0[] class [mscorlib]System.Array::Empty () - IL_0261: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object[]) - IL_0266: pop - IL_0267: nop - IL_0268: ldloc.1 - IL_0269: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_026e: ldc.i4.0 - IL_026f: ble IL_0282 + // method line 454 + .method public final virtual hidebysig newslot + instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x10830 + // Code size 27 (0x1b) + .maxstack 8 + .locals init ( + class NAnt.VSNet.ProjectBase V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: ldarg.s 6 + IL_000a: ldarg.s 7 + IL_000c: ldarg.s 8 + IL_000e: newobj instance void class NAnt.VSNet.VBProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_0274: nop - IL_0275: ldloc.0 - IL_0276: ldloc.1 - IL_0277: callvirt instance string object::ToString() - IL_027c: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_Options(string) - IL_0281: nop - IL_0282: nop - IL_0283: ldarg.1 - IL_0284: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0289: stloc.s 16 - .try { // 0 - IL_028b: br IL_02d8 + IL_0019: ldloc.0 + IL_001a: ret + } // end of method VBProjectProvider::GetInstance - IL_0290: ldloc.s 16 - IL_0292: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0297: castclass [mscorlib]System.String - IL_029c: stloc.s 15 - IL_029e: nop - IL_029f: ldloc.0 - IL_02a0: ldarg.0 - IL_02a1: ldloc.s 15 - IL_02a3: ldarg.3 - IL_02a4: call instance string class NAnt.VSNet.VcProject::GetResourceOutputFile(string, class NAnt.VSNet.VcConfigurationBase) - IL_02a9: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_02ae: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_02b3: ldloc.0 - IL_02b4: ldarg.0 - IL_02b5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_02ba: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02bf: ldloc.s 15 - IL_02c1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_02c6: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_02cb: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.RcTask::set_RcFile(class [mscorlib]System.IO.FileInfo) - IL_02d0: ldarg.0 - IL_02d1: ldloc.0 - IL_02d2: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) - IL_02d7: nop - IL_02d8: ldloc.s 16 - IL_02da: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02df: brtrue IL_0290 + // method line 455 + .method public final virtual hidebysig newslot + instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x10858 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlElement) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02e4: leave IL_0300 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VBProjectProvider::LoadGuid - } // end .try 0 - finally { // 0 - IL_02e9: ldloc.s 16 - IL_02eb: isinst [mscorlib]System.IDisposable - IL_02f0: dup - IL_02f1: stloc.s 17 - IL_02f3: brfalse IL_02ff + } // end of class NAnt.VSNet.VBProjectProvider +} - IL_02f8: ldloc.s 17 - IL_02fa: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02ff: endfinally - } // end handler 0 - IL_0300: ret - } // end of method VcProject::BuildResourceFiles +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit WrapperReferenceBase + extends NAnt.VSNet.FileReferenceBase + { + .field private bool _isCreated - // method line 437 - .method private hidebysig - instance default void BuildIDLFiles (class [mscorlib]System.Collections.ArrayList fileNames, class NAnt.VSNet.VcProjectConfiguration projectConfig, class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed + // method line 456 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed { - // Method begins at RVA 0xfb50 - // Code size 1677 (0x68d) - .maxstack 5 + // Method begins at RVA 0x8770 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: call instance void class NAnt.VSNet.FileReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_000b: nop + IL_000c: ret + } // end of method WrapperReferenceBase::.ctor + + // method line 457 + .method public virtual hidebysig specialname + instance default bool get_CopyLocal () cil managed + { + // Method begins at RVA 0x8780 + // Code size 25 (0x19) + .maxstack 2 .locals init ( - class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask V_0, - string V_1, - string V_2, - string V_3, - string V_4, - string V_5, - string V_6, - string V_7, - string V_8, - string[] V_9, - int32 V_10, - class [NAnt.Core]NAnt.Core.Types.Option V_11, - string V_12, - string V_13, - string[] V_14, - int32 V_15, - class [NAnt.Core]NAnt.Core.Types.Option V_16, - string V_17, - string V_18, - string[] V_19, - int32 V_20, - string V_21, - string V_22, - string[] V_23, - int32 V_24, - class [mscorlib]System.Collections.Hashtable V_25, - string V_26, - class [mscorlib]System.Collections.IEnumerator V_27, - class [NAnt.Core]NAnt.Core.Types.Argument V_28, - class [mscorlib]System.IDisposable V_29, - string V_30, - class [mscorlib]System.Collections.IEnumerator V_31, - class [mscorlib]System.IDisposable V_32) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0018: ldloc.0 - IL_0019: ldarg.0 - IL_001a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0024: ldloc.0 - IL_0025: ldarg.0 - IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0041: ldloc.0 - IL_0042: ldarg.0 - IL_0043: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0048: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_004d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0052: ldloc.0 - IL_0053: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0058: ldloc.0 - IL_0059: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() - IL_005e: ldloc.0 - IL_005f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0064: ldloc.0 - IL_0065: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() - IL_006a: ldloc.0 - IL_006b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0070: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0075: ldloc.0 - IL_0076: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() - IL_007b: ldloc.0 - IL_007c: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0081: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0086: ldloc.0 - IL_0087: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() - IL_008c: ldarg.0 - IL_008d: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0092: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0097: ldarg.3 - IL_0098: ldstr "VCMIDLTool" - IL_009d: ldstr "OutputDirectory" - IL_00a2: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_00a7: stloc.1 - IL_00a8: ldloc.1 - IL_00a9: call bool string::IsNullOrEmpty(string) - IL_00ae: brfalse IL_00c6 + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() + IL_0007: ldstr "primary" + IL_000c: call bool string::op_Inequality(string, string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_00b3: nop - IL_00b4: ldarg.0 - IL_00b5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_00ba: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00bf: stloc.1 - IL_00c0: nop - IL_00c1: br IL_00da + IL_0017: ldloc.0 + IL_0018: ret + } // end of method WrapperReferenceBase::get_CopyLocal - IL_00c6: nop - IL_00c7: ldarg.0 - IL_00c8: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_00cd: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00d2: ldloc.1 - IL_00d3: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00d8: stloc.1 - IL_00d9: nop - IL_00da: ldloc.1 - IL_00db: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_00e0: brtrue IL_00ee + // method line 458 + .method family virtual hidebysig specialname + instance default bool get_IsSystem () cil managed + { + // Method begins at RVA 0x87a8 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_00e5: nop - IL_00e6: ldloc.1 - IL_00e7: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_00ec: pop - IL_00ed: nop - IL_00ee: ldloc.0 - IL_00ef: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_00f4: ldstr "/out" - IL_00f9: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_00fe: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0103: pop - IL_0104: ldloc.0 - IL_0105: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_010a: ldloc.1 - IL_010b: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0110: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0115: pop - IL_0116: ldarg.3 - IL_0117: ldstr "VCMIDLTool" - IL_011c: ldstr "TypeLibraryName" - IL_0121: ldstr "$(IntDir)/$(ProjectName).tlb" - IL_0126: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_012b: stloc.2 - IL_012c: ldloc.2 - IL_012d: call bool string::IsNullOrEmpty(string) - IL_0132: brtrue IL_0182 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method WrapperReferenceBase::get_IsSystem - IL_0137: nop - IL_0138: ldloc.0 - IL_0139: ldloc.1 - IL_013a: ldloc.2 - IL_013b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0140: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0145: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Tlb(class [mscorlib]System.IO.FileInfo) - IL_014a: ldloc.0 - IL_014b: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Tlb() - IL_0150: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0155: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_015a: brtrue IL_0181 + // method line 459 + .method public virtual hidebysig + instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x87c0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_015f: nop - IL_0160: ldloc.0 - IL_0161: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Tlb() - IL_0166: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_016b: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0170: ldloc.0 - IL_0171: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Tlb() - IL_0176: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_017b: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0180: nop - IL_0181: nop - IL_0182: ldarg.3 - IL_0183: ldstr "VCMIDLTool" - IL_0188: ldstr "ProxyFileName" - IL_018d: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0192: stloc.3 - IL_0193: ldloc.3 - IL_0194: call bool string::IsNullOrEmpty(string) - IL_0199: brtrue IL_01e9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method WrapperReferenceBase::GetPrimaryOutputFile - IL_019e: nop - IL_019f: ldloc.0 - IL_01a0: ldloc.1 - IL_01a1: ldloc.3 - IL_01a2: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_01a7: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_01ac: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Proxy(class [mscorlib]System.IO.FileInfo) - IL_01b1: ldloc.0 - IL_01b2: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Proxy() - IL_01b7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_01bc: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_01c1: brtrue IL_01e8 + // method line 460 + .method public virtual hidebysig + instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + { + // Method begins at RVA 0x87dc + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + class NAnt.VSNet.ConfigurationBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0007: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_000c: ldarg.1 + IL_000d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: ldarg.0 + IL_0015: ldloc.0 + IL_0016: call instance string class NAnt.VSNet.WrapperReferenceBase::CreateWrapper(class NAnt.VSNet.ConfigurationBase) + IL_001b: ldarg.2 + IL_001c: call instance void class NAnt.VSNet.FileReferenceBase::GetAssemblyOutputFiles(string, class [mscorlib]System.Collections.Hashtable) + IL_0021: ret + } // end of method WrapperReferenceBase::GetOutputFiles - IL_01c6: nop - IL_01c7: ldloc.0 - IL_01c8: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Proxy() - IL_01cd: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_01d2: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_01d7: ldloc.0 - IL_01d8: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Proxy() - IL_01dd: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_01e2: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_01e7: nop - IL_01e8: nop - IL_01e9: ldarg.3 - IL_01ea: ldstr "VCMIDLTool" - IL_01ef: ldstr "InterfaceIdentifierFileName" - IL_01f4: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_01f9: stloc.s 4 - IL_01fb: ldloc.s 4 - IL_01fd: call bool string::IsNullOrEmpty(string) - IL_0202: brtrue IL_0253 + // method line 461 + .method public virtual hidebysig + instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x880c + // Code size 100 (0x64) + .maxstack 4 + .locals init ( + class NAnt.VSNet.ConfigurationBase V_0, + string V_1, + class [System]System.Collections.Specialized.StringCollection V_2, + class [System]System.Collections.Specialized.StringCollection V_3) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0007: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_000c: ldarg.1 + IL_000d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: ldloc.0 + IL_0015: call instance string class NAnt.VSNet.WrapperReferenceBase::CreateWrapper(class NAnt.VSNet.ConfigurationBase) + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0021: brtrue IL_004d + + IL_0026: nop + IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002c: ldstr "Couldn't find assembly \"{0}\", referenced by project \"{1}\"." + IL_0031: ldloc.1 + IL_0032: ldarg.0 + IL_0033: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0038: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0042: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0047: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_004c: throw + IL_004d: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0052: stloc.2 + IL_0053: ldloc.2 + IL_0054: ldloc.1 + IL_0055: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_005a: pop + IL_005b: ldloc.2 + IL_005c: stloc.3 + IL_005d: br IL_0062 + + IL_0062: ldloc.3 + IL_0063: ret + } // end of method WrapperReferenceBase::GetAssemblyReferences + + // method line 462 + .method public virtual hidebysig + instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + { + // Method begins at RVA 0x887c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + valuetype [mscorlib]System.DateTime V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0008: call instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetFileTimestamp(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0207: nop - IL_0208: ldloc.0 - IL_0209: ldloc.1 - IL_020a: ldloc.s 4 - IL_020c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0211: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0216: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Iid(class [mscorlib]System.IO.FileInfo) - IL_021b: ldloc.0 - IL_021c: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Iid() - IL_0221: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0226: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_022b: brtrue IL_0252 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method WrapperReferenceBase::GetTimestamp - IL_0230: nop - IL_0231: ldloc.0 - IL_0232: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Iid() - IL_0237: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_023c: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0241: ldloc.0 - IL_0242: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Iid() - IL_0247: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_024c: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0251: nop - IL_0252: nop - IL_0253: ldarg.3 - IL_0254: ldstr "VCMIDLTool" - IL_0259: ldstr "DLLDataFileName" - IL_025e: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0263: stloc.s 5 - IL_0265: ldloc.s 5 - IL_0267: call bool string::IsNullOrEmpty(string) - IL_026c: brtrue IL_02bd + // method line 463 + .method public virtual hidebysig newslot abstract specialname + instance default string get_WrapperTool () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::get_WrapperTool - IL_0271: nop - IL_0272: ldloc.0 - IL_0273: ldloc.1 - IL_0274: ldloc.s 5 - IL_0276: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_027b: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0280: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_DllData(class [mscorlib]System.IO.FileInfo) - IL_0285: ldloc.0 - IL_0286: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_DllData() - IL_028b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0290: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0295: brtrue IL_02bc + // method line 464 + .method public virtual hidebysig newslot abstract specialname + instance default string get_WrapperAssembly () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::get_WrapperAssembly - IL_029a: nop - IL_029b: ldloc.0 - IL_029c: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_DllData() - IL_02a1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_02a6: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_02ab: ldloc.0 - IL_02ac: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_DllData() - IL_02b1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_02b6: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_02bb: nop - IL_02bc: nop - IL_02bd: ldarg.3 - IL_02be: ldstr "VCMIDLTool" - IL_02c3: ldstr "HeaderFileName" - IL_02c8: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_02cd: stloc.s 6 - IL_02cf: ldloc.s 6 - IL_02d1: call bool string::IsNullOrEmpty(string) - IL_02d6: brtrue IL_0327 + // method line 465 + .method public hidebysig specialname + instance default bool get_IsCreated () cil managed + { + // Method begins at RVA 0x88a0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.WrapperReferenceBase::_isCreated + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02db: nop - IL_02dc: ldloc.0 - IL_02dd: ldloc.1 - IL_02de: ldloc.s 6 - IL_02e0: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_02e5: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_02ea: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Header(class [mscorlib]System.IO.FileInfo) - IL_02ef: ldloc.0 - IL_02f0: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Header() - IL_02f5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_02fa: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_02ff: brtrue IL_0326 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method WrapperReferenceBase::get_IsCreated - IL_0304: nop - IL_0305: ldloc.0 - IL_0306: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Header() - IL_030b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0310: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_0315: ldloc.0 - IL_0316: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Header() - IL_031b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0320: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0325: nop - IL_0326: nop - IL_0327: ldarg.0 - IL_0328: ldarg.2 - IL_0329: ldarg.3 - IL_032a: ldstr "VCMIDLTool" - IL_032f: ldstr "PreprocessorDefinitions" - IL_0334: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_0339: stloc.s 7 - IL_033b: ldloc.s 7 - IL_033d: call bool string::IsNullOrEmpty(string) - IL_0342: brtrue IL_03a8 + // method line 466 + .method family virtual hidebysig newslot abstract specialname + instance default string get_PrimaryInteropAssembly () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::get_PrimaryInteropAssembly - IL_0347: nop - IL_0348: nop - IL_0349: ldloc.s 7 - IL_034b: ldc.i4.s 0x3b - IL_034d: ldc.i4.0 - IL_034e: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0353: stloc.s 9 - IL_0355: ldc.i4.0 - IL_0356: stloc.s 10 - IL_0358: br IL_039c + // method line 467 + .method family virtual hidebysig newslot abstract specialname + instance default string get_TypeLibVersion () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::get_TypeLibVersion - IL_035d: ldloc.s 9 - IL_035f: ldloc.s 10 - IL_0361: ldelem.ref - IL_0362: stloc.s 8 - IL_0364: nop - IL_0365: ldloc.s 8 - IL_0367: callvirt instance int32 string::get_Length() - IL_036c: brtrue IL_0377 + // method line 468 + .method family virtual hidebysig newslot abstract specialname + instance default string get_TypeLibGuid () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::get_TypeLibGuid - IL_0371: nop - IL_0372: br IL_0396 + // method line 469 + .method family virtual hidebysig newslot abstract specialname + instance default string get_TypeLibLocale () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::get_TypeLibLocale - IL_0377: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() - IL_037c: stloc.s 11 - IL_037e: ldloc.s 11 - IL_0380: ldloc.s 8 - IL_0382: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) - IL_0387: ldloc.0 - IL_0388: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Defines() - IL_038d: ldloc.s 11 - IL_038f: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) - IL_0394: pop - IL_0395: nop - IL_0396: ldloc.s 10 - IL_0398: ldc.i4.1 - IL_0399: add - IL_039a: stloc.s 10 - IL_039c: ldloc.s 10 - IL_039e: ldloc.s 9 - IL_03a0: ldlen - IL_03a1: conv.i4 - IL_03a2: blt IL_035d + // method line 470 + .method family virtual hidebysig newslot specialname + instance default string get_TypeLibraryName () cil managed + { + // Method begins at RVA 0x88bc + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() + IL_0008: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibraryName(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_03a7: nop - IL_03a8: ldarg.0 - IL_03a9: ldarg.2 - IL_03aa: ldarg.3 - IL_03ab: ldstr "VCMIDLTool" - IL_03b0: ldstr "UndefinePreprocessorDefinitions" - IL_03b5: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_03ba: stloc.s 12 - IL_03bc: ldloc.s 12 - IL_03be: call bool string::IsNullOrEmpty(string) - IL_03c3: brtrue IL_0429 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method WrapperReferenceBase::get_TypeLibraryName - IL_03c8: nop - IL_03c9: nop - IL_03ca: ldloc.s 12 - IL_03cc: ldc.i4.s 0x3b - IL_03ce: ldc.i4.0 - IL_03cf: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_03d4: stloc.s 14 - IL_03d6: ldc.i4.0 - IL_03d7: stloc.s 15 - IL_03d9: br IL_041d + // method line 471 + .method family virtual hidebysig newslot abstract + instance default void ImportTypeLibrary () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::ImportTypeLibrary - IL_03de: ldloc.s 14 - IL_03e0: ldloc.s 15 - IL_03e2: ldelem.ref - IL_03e3: stloc.s 13 - IL_03e5: nop - IL_03e6: ldloc.s 13 - IL_03e8: callvirt instance int32 string::get_Length() - IL_03ed: brtrue IL_03f8 + // method line 472 + .method family virtual hidebysig newslot abstract + instance default void ImportActiveXLibrary () cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::ImportActiveXLibrary - IL_03f2: nop - IL_03f3: br IL_0417 + // method line 473 + .method family hidebysig + instance default string ResolveWrapperAssembly () cil managed + { + // Method begins at RVA 0x88e0 + // Code size 201 (0xc9) + .maxstack 4 + .locals init ( + string V_0, + string V_1, + string V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() + IL_0009: stloc.1 + IL_000a: ldloc.1 + IL_000b: brfalse IL_0090 - IL_03f8: newobj instance void class [NAnt.Core]NAnt.Core.Types.Option::'.ctor'() - IL_03fd: stloc.s 16 - IL_03ff: ldloc.s 16 - IL_0401: ldloc.s 13 - IL_0403: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Option::set_OptionName(string) - IL_0408: ldloc.0 - IL_0409: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_Undefines() - IL_040e: ldloc.s 16 - IL_0410: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.OptionCollection::Add(class [NAnt.Core]NAnt.Core.Types.Option) - IL_0415: pop - IL_0416: nop - IL_0417: ldloc.s 15 - IL_0419: ldc.i4.1 - IL_041a: add - IL_041b: stloc.s 15 - IL_041d: ldloc.s 15 - IL_041f: ldloc.s 14 - IL_0421: ldlen - IL_0422: conv.i4 - IL_0423: blt IL_03de + IL_0010: ldloc.1 + IL_0011: ldstr "primary" + IL_0016: call bool string::op_Equality(string, string) + IL_001b: brtrue IL_0035 - IL_0428: nop - IL_0429: ldarg.0 - IL_042a: ldarg.2 - IL_042b: ldarg.3 - IL_042c: ldstr "VCMIDLTool" - IL_0431: ldstr "AdditionalIncludeDirectories" - IL_0436: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_043b: stloc.s 17 - IL_043d: ldloc.s 17 - IL_043f: call bool string::IsNullOrEmpty(string) - IL_0444: brtrue IL_04b4 + IL_0020: ldloc.1 + IL_0021: ldstr "aximp" + IL_0026: call bool string::op_Equality(string, string) + IL_002b: brtrue IL_0075 - IL_0449: nop - IL_044a: nop - IL_044b: ldloc.s 17 - IL_044d: ldc.i4.s 0x3b - IL_044f: ldc.i4.0 - IL_0450: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0455: stloc.s 19 - IL_0457: ldc.i4.0 - IL_0458: stloc.s 20 - IL_045a: br IL_04a8 + IL_0030: br IL_0090 - IL_045f: ldloc.s 19 - IL_0461: ldloc.s 20 - IL_0463: ldelem.ref - IL_0464: stloc.s 18 - IL_0466: nop - IL_0467: ldloc.s 18 - IL_0469: callvirt instance int32 string::get_Length() - IL_046e: brtrue IL_0479 + IL_0035: ldarg.0 + IL_0036: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() + IL_003b: stloc.0 + IL_003c: ldloc.0 + IL_003d: brtrue IL_006e - IL_0473: nop - IL_0474: br IL_04a2 + IL_0042: nop + IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0048: ldstr "Couldn't find Primary Interop Assembly \"{0}\", referenced by project \"{1}\"." + IL_004d: ldarg.0 + IL_004e: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0053: ldarg.0 + IL_0054: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0059: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_005e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0063: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0068: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_006d: throw + IL_006e: ldloc.0 + IL_006f: stloc.2 + IL_0070: br IL_00c7 - IL_0479: ldloc.0 - IL_047a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::get_IncludeDirs() - IL_047f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0484: ldarg.0 - IL_0485: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_048a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_048f: ldloc.s 18 - IL_0491: call string class NAnt.VSNet.VcProject::CleanPath(string) - IL_0496: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_049b: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_04a0: pop - IL_04a1: nop - IL_04a2: ldloc.s 20 - IL_04a4: ldc.i4.1 - IL_04a5: add - IL_04a6: stloc.s 20 - IL_04a8: ldloc.s 20 - IL_04aa: ldloc.s 19 - IL_04ac: ldlen - IL_04ad: conv.i4 - IL_04ae: blt IL_045f + IL_0075: ldstr "AxInterop." + IL_007a: ldarg.0 + IL_007b: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() + IL_0080: ldstr ".dll" + IL_0085: call string string::Concat(string, string, string) + IL_008a: stloc.0 + IL_008b: br IL_00ab - IL_04b3: nop - IL_04b4: ldarg.0 - IL_04b5: ldarg.2 - IL_04b6: ldarg.3 - IL_04b7: ldstr "VCMIDLTool" - IL_04bc: ldstr "CPreprocessOptions" - IL_04c1: call instance string class NAnt.VSNet.VcProject::MergeToolSetting(class NAnt.VSNet.VcProjectConfiguration, class NAnt.VSNet.VcConfigurationBase, string, string) - IL_04c6: stloc.s 21 - IL_04c8: ldloc.s 21 - IL_04ca: call bool string::IsNullOrEmpty(string) - IL_04cf: brtrue IL_0534 + IL_0090: ldstr "Interop." + IL_0095: ldarg.0 + IL_0096: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() + IL_009b: ldstr ".dll" + IL_00a0: call string string::Concat(string, string, string) + IL_00a5: stloc.0 + IL_00a6: br IL_00ab - IL_04d4: nop - IL_04d5: nop - IL_04d6: ldloc.s 21 - IL_04d8: ldc.i4.s 0x3b - IL_04da: ldc.i4.0 - IL_04db: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_04e0: stloc.s 23 - IL_04e2: ldc.i4.0 - IL_04e3: stloc.s 24 - IL_04e5: br IL_0528 + IL_00ab: ldarg.0 + IL_00ac: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_00b1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() + IL_00b6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00bb: ldloc.0 + IL_00bc: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00c1: stloc.2 + IL_00c2: br IL_00c7 - IL_04ea: ldloc.s 23 - IL_04ec: ldloc.s 24 - IL_04ee: ldelem.ref - IL_04ef: stloc.s 22 - IL_04f1: nop - IL_04f2: ldloc.s 22 - IL_04f4: callvirt instance int32 string::get_Length() - IL_04f9: brtrue IL_0504 + IL_00c7: ldloc.2 + IL_00c8: ret + } // end of method WrapperReferenceBase::ResolveWrapperAssembly - IL_04fe: nop - IL_04ff: br IL_0522 + // method line 474 + .method family hidebysig + instance default string GetPrimaryInteropAssembly () cil managed + { + // Method begins at RVA 0x89b8 + // Code size 206 (0xce) + .maxstack 4 + .locals init ( + string V_0, + string V_1, + class [mscorlib]Microsoft.Win32.RegistryKey V_2, + string V_3, + class [mscorlib]System.Exception V_4, + string V_5) + IL_0000: nop + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldstr "TYPELIB\\{0}\\{1}" + IL_000b: ldarg.0 + IL_000c: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_0011: ldarg.0 + IL_0012: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_0017: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_001c: stloc.0 + IL_001d: ldnull + IL_001e: stloc.1 + IL_001f: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::ClassesRoot + IL_0024: ldloc.0 + IL_0025: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_002a: stloc.2 + .try { // 1 + IL_002b: nop + IL_002c: ldloc.2 + IL_002d: brfalse IL_00b0 - IL_0504: ldloc.0 - IL_0505: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_050a: ldstr "/cpp_opt\"{0}\"" - IL_050f: ldloc.s 22 - IL_0511: call string string::Format(string, object) - IL_0516: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_051b: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0520: pop - IL_0521: nop - IL_0522: ldloc.s 24 - IL_0524: ldc.i4.1 - IL_0525: add - IL_0526: stloc.s 24 - IL_0528: ldloc.s 24 - IL_052a: ldloc.s 23 - IL_052c: ldlen - IL_052d: conv.i4 - IL_052e: blt IL_04ea + IL_0032: ldloc.2 + IL_0033: ldstr "PrimaryInteropAssemblyName" + IL_0038: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_003d: brfalse IL_00b0 - IL_0533: nop - IL_0534: ldarg.3 - IL_0535: ldstr "VCMIDLTool" - IL_053a: ldarg.0 - IL_053b: ldfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_midlArgMap - IL_0540: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap) - IL_0545: stloc.s 25 - IL_0547: nop - IL_0548: ldloc.s 25 - IL_054a: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_054f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0554: stloc.s 27 - .try { // 0 - IL_0556: br IL_05fa + IL_0042: nop + IL_0043: ldloc.2 + IL_0044: ldstr "PrimaryInteropAssemblyName" + IL_0049: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_004e: castclass [mscorlib]System.String + IL_0053: stloc.3 + .try { // 0 + IL_0054: nop + IL_0055: ldarg.0 + IL_0056: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ReferenceBase::get_ReferencesResolver() + IL_005b: ldloc.3 + IL_005c: callvirt instance string class NAnt.VSNet.ReferencesResolver::GetAssemblyFileName(string) + IL_0061: stloc.1 + IL_0062: nop + IL_0063: leave IL_00af - IL_055b: ldloc.s 27 - IL_055d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0562: castclass [mscorlib]System.String - IL_0567: stloc.s 26 - IL_0569: nop - IL_056a: ldloc.s 26 - IL_056c: brfalse IL_05ca + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0068: stloc.s 4 + IL_006a: nop + IL_006b: ldarg.0 + IL_006c: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() + IL_0071: ldstr "primary" + IL_0076: call bool string::op_Equality(string, string) + IL_007b: brfalse IL_00a9 - IL_0571: ldloc.s 26 - IL_0573: ldstr "TargetEnvironment" - IL_0578: call bool string::op_Equality(string, string) - IL_057d: brtrue IL_0598 + IL_0080: nop + IL_0081: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0086: ldstr "Primary Interop Assembly \"{0}\", referenced by project \"{1}\", could not be loaded." + IL_008b: ldloc.3 + IL_008c: ldarg.0 + IL_008d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0092: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0097: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_009c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00a1: ldloc.s 4 + IL_00a3: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_00a8: throw + IL_00a9: nop + IL_00aa: leave IL_00af - IL_0582: ldloc.s 26 - IL_0584: ldstr "DefaultCharType" - IL_0589: call bool string::op_Equality(string, string) - IL_058e: brtrue IL_05b1 + } // end handler 0 + IL_00af: nop + IL_00b0: nop + IL_00b1: leave IL_00c3 - IL_0593: br IL_05ca + } // end .try 1 + finally { // 1 + IL_00b6: ldloc.2 + IL_00b7: brfalse IL_00c2 - IL_0598: ldloc.0 - IL_0599: ldloc.s 25 - IL_059b: ldloc.s 26 - IL_059d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_05a2: castclass [mscorlib]System.String - IL_05a7: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Env(string) - IL_05ac: leave IL_05f9 + IL_00bc: ldloc.2 + IL_00bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c2: endfinally + } // end handler 1 + IL_00c3: ldloc.1 + IL_00c4: stloc.s 5 + IL_00c6: br IL_00cb - IL_05b1: ldloc.0 - IL_05b2: ldloc.s 25 - IL_05b4: ldloc.s 26 - IL_05b6: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_05bb: castclass [mscorlib]System.String - IL_05c0: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Char(string) - IL_05c5: leave IL_05f9 + IL_00cb: ldloc.s 5 + IL_00cd: ret + } // end of method WrapperReferenceBase::GetPrimaryInteropAssembly - IL_05ca: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() - IL_05cf: stloc.s 28 - IL_05d1: ldloc.s 28 - IL_05d3: ldloc.s 25 - IL_05d5: ldloc.s 26 - IL_05d7: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_05dc: castclass [mscorlib]System.String - IL_05e1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_05e6: ldloc.0 - IL_05e7: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_05ec: ldloc.s 28 - IL_05ee: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_05f3: pop - IL_05f4: leave IL_05f9 + // method line 475 + .method family hidebysig + instance default string GetTypeLibrary () cil managed + { + // Method begins at RVA 0x8ab0 + // Code size 145 (0x91) + .maxstack 5 + .locals init ( + string V_0, + class [mscorlib]Microsoft.Win32.RegistryKey V_1, + string V_2, + string V_3, + string V_4) + IL_0000: nop + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldstr "TYPELIB\\{0}\\{1}\\{2}\\win32" + IL_000b: ldarg.0 + IL_000c: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_0011: ldarg.0 + IL_0012: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_0017: ldarg.0 + IL_0018: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibLocale() + IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0022: stloc.0 + IL_0023: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::ClassesRoot + IL_0028: ldloc.0 + IL_0029: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_002e: stloc.1 + .try { // 0 + IL_002f: nop + IL_0030: ldloc.1 + IL_0031: brtrue IL_003e - IL_05f9: nop - IL_05fa: ldloc.s 27 - IL_05fc: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0601: brtrue IL_055b + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.WrapperReferenceBase::CreateTypeLibraryNotRegisteredException() + IL_003d: throw + IL_003e: ldloc.1 + IL_003f: ldnull + IL_0040: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_0045: castclass [mscorlib]System.String + IL_004a: stloc.2 + IL_004b: ldloc.2 + IL_004c: call bool string::IsNullOrEmpty(string) + IL_0051: brfalse IL_005e - IL_0606: leave IL_0622 + IL_0056: nop + IL_0057: ldarg.0 + IL_0058: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.WrapperReferenceBase::CreateInvalidTypeLibraryRegistrationException() + IL_005d: throw + IL_005e: ldloc.2 + IL_005f: call string class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::ExtractTypeLibPath(string) + IL_0064: stloc.3 + IL_0065: ldloc.3 + IL_0066: call bool class [mscorlib]System.IO.File::Exists(string) + IL_006b: brtrue IL_0079 + + IL_0070: nop + IL_0071: ldarg.0 + IL_0072: ldloc.3 + IL_0073: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.WrapperReferenceBase::CreateTypeLibraryPathDoesNotExistException(string) + IL_0078: throw + IL_0079: ldloc.2 + IL_007a: stloc.s 4 + IL_007c: leave IL_008e } // end .try 0 finally { // 0 - IL_060b: ldloc.s 27 - IL_060d: isinst [mscorlib]System.IDisposable - IL_0612: dup - IL_0613: stloc.s 29 - IL_0615: brfalse IL_0621 + IL_0081: ldloc.1 + IL_0082: brfalse IL_008d - IL_061a: ldloc.s 29 - IL_061c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0621: endfinally + IL_0087: ldloc.1 + IL_0088: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_008d: endfinally } // end handler 0 - IL_0622: nop - IL_0623: ldarg.1 - IL_0624: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0629: stloc.s 31 - .try { // 1 - IL_062b: br IL_0664 + IL_008e: ldloc.s 4 + IL_0090: ret + } // end of method WrapperReferenceBase::GetTypeLibrary - IL_0630: ldloc.s 31 - IL_0632: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0637: castclass [mscorlib]System.String - IL_063c: stloc.s 30 - IL_063e: nop - IL_063f: ldloc.0 - IL_0640: ldarg.0 - IL_0641: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0646: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_064b: ldloc.s 30 - IL_064d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0652: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0657: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.MidlTask::set_Filename(class [mscorlib]System.IO.FileInfo) - IL_065c: ldarg.0 - IL_065d: ldloc.0 - IL_065e: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) - IL_0663: nop - IL_0664: ldloc.s 31 - IL_0666: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_066b: brtrue IL_0630 + // method line 476 + .method family hidebysig + instance default string GetTypeLibraryName (string typeLibraryPath) cil managed + { + // Method begins at RVA 0x8b60 + // Code size 100 (0x64) + .maxstack 3 + .locals init ( + object V_0, + class [mscorlib]System.Runtime.InteropServices.COMException V_1, + string V_2) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: ldc.i4.0 + IL_0004: ldloca.s 0 + IL_0006: call void class NAnt.VSNet.WrapperReferenceBase::LoadTypeLibEx(string, int32, [out] object&) + IL_000b: nop + IL_000c: leave IL_002f - IL_0670: leave IL_068c + } // end .try 0 + catch class [mscorlib]System.Runtime.InteropServices.COMException { // 0 + IL_0011: stloc.1 + IL_0012: nop + IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0018: ldstr "Type library \"{0}\" could not be loaded." + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0028: ldloc.1 + IL_0029: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_002e: throw + } // end handler 0 + IL_002f: ldloc.0 + IL_0030: brtrue IL_0051 - } // end .try 1 - finally { // 1 - IL_0675: ldloc.s 31 - IL_0677: isinst [mscorlib]System.IDisposable - IL_067c: dup - IL_067d: stloc.s 32 - IL_067f: brfalse IL_068b + IL_0035: nop + IL_0036: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003b: ldstr "Type library \"{0}\" could not be loaded." + IL_0040: ldarg.1 + IL_0041: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0046: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_004b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0050: throw + IL_0051: ldloc.0 + IL_0052: castclass [mscorlib]System.Runtime.InteropServices.ComTypes.ITypeLib + IL_0057: call string class [mscorlib]System.Runtime.InteropServices.Marshal::GetTypeLibName(class [mscorlib]System.Runtime.InteropServices.ComTypes.ITypeLib) + IL_005c: stloc.2 + IL_005d: br IL_0062 - IL_0684: ldloc.s 32 - IL_0686: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_068b: endfinally - } // end handler 1 - IL_068c: ret - } // end of method VcProject::BuildIDLFiles + IL_0062: ldloc.2 + IL_0063: ret + } // end of method WrapperReferenceBase::GetTypeLibraryName - // method line 438 + // method line 477 .method private hidebysig - instance default bool RunCustomBuildStep (class NAnt.VSNet.Configuration solutionConfiguration, class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed + instance default string CreateWrapper (class NAnt.VSNet.ConfigurationBase config) cil managed { - // Method begins at RVA 0x10208 - // Code size 517 (0x205) - .maxstack 4 + // Method begins at RVA 0x8be0 + // Code size 253 (0xfd) + .maxstack 7 .locals init ( string V_0, - bool V_1, - valuetype [mscorlib]System.DateTime V_2, - string V_3, - string V_4, - string[] V_5, - int32 V_6, - string V_7, - valuetype [mscorlib]System.DateTime V_8, - bool V_9, - string V_10, - valuetype [mscorlib]System.DateTime V_11, - string V_12, - string V_13, - string[] V_14, - int32 V_15, - string V_16, - valuetype [mscorlib]System.DateTime V_17, - string V_18) + string V_1) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldstr "VCCustomBuildTool" - IL_0007: ldstr "CommandLine" - IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: call bool string::IsNullOrEmpty(string) - IL_0018: brfalse IL_0025 - - IL_001d: nop - IL_001e: ldc.i4.1 - IL_001f: stloc.1 - IL_0020: br IL_0203 - - IL_0025: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue - IL_002a: stloc.2 - IL_002b: ldarg.2 - IL_002c: ldstr "VCCustomBuildTool" - IL_0031: ldstr "Outputs" - IL_0036: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_003b: stloc.3 - IL_003c: ldloc.3 - IL_003d: call bool string::IsNullOrEmpty(string) - IL_0042: brtrue IL_00d6 + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.VSNet.WrapperReferenceBase::get_IsCreated() + IL_0007: brfalse IL_0019 - IL_0047: nop - IL_0048: nop - IL_0049: ldloc.3 - IL_004a: ldc.i4.s 0x3b - IL_004c: ldc.i4.0 - IL_004d: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0052: stloc.s 5 - IL_0054: ldc.i4.0 - IL_0055: stloc.s 6 - IL_0057: br IL_00ca + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0013: stloc.0 + IL_0014: br IL_00fb - IL_005c: ldloc.s 5 - IL_005e: ldloc.s 6 - IL_0060: ldelem.ref - IL_0061: stloc.s 4 - IL_0063: nop - IL_0064: ldloc.s 4 - IL_0066: callvirt instance int32 string::get_Length() - IL_006b: brtrue IL_0076 + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: call instance void class NAnt.VSNet.WrapperReferenceBase::Sync(class NAnt.VSNet.ConfigurationBase) + IL_0020: ldarg.0 + IL_0021: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() + IL_0026: stloc.1 + IL_0027: ldloc.1 + IL_0028: brfalse IL_00b7 - IL_0070: nop - IL_0071: br IL_00c4 + IL_002d: ldloc.1 + IL_002e: ldstr "primary" + IL_0033: call bool string::op_Equality(string, string) + IL_0038: brtrue IL_0062 - IL_0076: ldarg.0 - IL_0077: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_007c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0081: ldloc.s 4 - IL_0083: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0088: stloc.s 7 - IL_008a: ldloc.s 7 - IL_008c: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0091: brfalse IL_00c3 + IL_003d: ldloc.1 + IL_003e: ldstr "tlbimp" + IL_0043: call bool string::op_Equality(string, string) + IL_0048: brtrue IL_0067 - IL_0096: nop - IL_0097: ldloc.s 7 - IL_0099: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_009e: stloc.s 8 - IL_00a0: ldloc.s 8 - IL_00a2: ldloc.2 - IL_00a3: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_00a8: brtrue IL_00bd + IL_004d: ldloc.1 + IL_004e: ldstr "aximp" + IL_0053: call bool string::op_Equality(string, string) + IL_0058: brtrue IL_00ac - IL_00ad: ldloc.2 - IL_00ae: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue - IL_00b3: call bool valuetype [mscorlib]System.DateTime::op_Equality(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_00b8: brfalse IL_00c2 + IL_005d: br IL_00b7 - IL_00bd: nop - IL_00be: ldloc.s 8 - IL_00c0: stloc.2 - IL_00c1: nop - IL_00c2: nop - IL_00c3: nop - IL_00c4: ldloc.s 6 - IL_00c6: ldc.i4.1 - IL_00c7: add - IL_00c8: stloc.s 6 - IL_00ca: ldloc.s 6 - IL_00cc: ldloc.s 5 - IL_00ce: ldlen - IL_00cf: conv.i4 - IL_00d0: blt IL_005c + IL_0062: br IL_00e8 - IL_00d5: nop - IL_00d6: ldc.i4.0 - IL_00d7: stloc.s 9 - IL_00d9: ldarg.0 - IL_00da: ldarg.1 - IL_00db: call instance string class NAnt.VSNet.ProjectBase::GetOutputPath(class NAnt.VSNet.Configuration) - IL_00e0: stloc.s 10 - IL_00e2: ldloc.s 10 - IL_00e4: brfalse IL_0112 + IL_0067: ldarg.0 + IL_0068: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() + IL_006d: brfalse IL_00a1 - IL_00e9: ldloc.s 10 - IL_00eb: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00f0: brfalse IL_0112 + IL_0072: nop + IL_0073: ldarg.0 + IL_0074: ldc.i4 4000 + IL_0079: ldstr "The component \"{0}\", referenced by project \"{1}\" has an updated custom wrapper available." + IL_007e: ldc.i4.2 + IL_007f: newarr [mscorlib]System.Object + IL_0084: dup + IL_0085: ldc.i4.0 + IL_0086: ldarg.0 + IL_0087: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_008c: stelem.ref + IL_008d: dup + IL_008e: ldc.i4.1 + IL_008f: ldarg.0 + IL_0090: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0095: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_009a: stelem.ref + IL_009b: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a0: nop + IL_00a1: ldarg.0 + IL_00a2: callvirt instance void class NAnt.VSNet.WrapperReferenceBase::ImportTypeLibrary() + IL_00a7: br IL_00e8 - IL_00f5: nop - IL_00f6: ldloc.s 10 - IL_00f8: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_00fd: stloc.s 11 - IL_00ff: ldloc.s 11 - IL_0101: ldloc.2 - IL_0102: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_0107: brfalse IL_0111 + IL_00ac: ldarg.0 + IL_00ad: callvirt instance void class NAnt.VSNet.WrapperReferenceBase::ImportActiveXLibrary() + IL_00b2: br IL_00e8 - IL_010c: nop - IL_010d: ldc.i4.1 - IL_010e: stloc.s 9 - IL_0110: nop - IL_0111: nop - IL_0112: ldloc.s 9 - IL_0114: brtrue IL_01bd + IL_00b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00bc: ldstr "Wrapper tool \"{0}\" for reference \"{1}\" in project \"{2}\" is not supported." + IL_00c1: ldarg.0 + IL_00c2: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() + IL_00c7: ldarg.0 + IL_00c8: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_00cd: ldarg.0 + IL_00ce: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_00d3: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_00d8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_00dd: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00e2: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00e7: throw + IL_00e8: ldarg.0 + IL_00e9: ldc.i4.1 + IL_00ea: stfld bool NAnt.VSNet.WrapperReferenceBase::_isCreated + IL_00ef: ldarg.0 + IL_00f0: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_00f5: stloc.0 + IL_00f6: br IL_00fb - IL_0119: nop - IL_011a: ldarg.2 - IL_011b: ldstr "VCCustomBuildTool" - IL_0120: ldstr "AdditionalDependencies" - IL_0125: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_012a: stloc.s 12 - IL_012c: ldloc.s 12 - IL_012e: call bool string::IsNullOrEmpty(string) - IL_0133: brtrue IL_01bc + IL_00fb: ldloc.0 + IL_00fc: ret + } // end of method WrapperReferenceBase::CreateWrapper - IL_0138: nop - IL_0139: nop - IL_013a: ldloc.s 12 - IL_013c: ldc.i4.s 0x3b - IL_013e: ldc.i4.0 - IL_013f: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0144: stloc.s 14 - IL_0146: ldc.i4.0 - IL_0147: stloc.s 15 - IL_0149: br IL_01b0 + // method line 478 + .method private hidebysig + instance default void Sync (class NAnt.VSNet.ConfigurationBase config) cil managed + { + // Method begins at RVA 0x8cec + // Code size 164 (0xa4) + .maxstack 2 + .locals init ( + string V_0, + valuetype [mscorlib]System.DateTime V_1, + class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_CopyLocal() + IL_0007: brfalse IL_001c - IL_014e: ldloc.s 14 - IL_0150: ldloc.s 15 - IL_0152: ldelem.ref - IL_0153: stloc.s 13 - IL_0155: nop - IL_0156: ldloc.s 13 - IL_0158: callvirt instance int32 string::get_Length() - IL_015d: brtrue IL_0168 + IL_000c: ldarg.0 + IL_000d: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0012: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0017: brtrue IL_0022 - IL_0162: nop - IL_0163: br IL_01aa + IL_001c: nop + IL_001d: br IL_00a3 - IL_0168: ldarg.0 - IL_0169: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_016e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0173: ldloc.s 13 - IL_0175: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_017a: stloc.s 16 - IL_017c: ldloc.s 16 - IL_017e: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0183: brfalse IL_01a9 + IL_0022: ldarg.1 + IL_0023: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0028: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002d: ldarg.0 + IL_002e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0033: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0038: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_003d: stloc.0 + IL_003e: ldarg.0 + IL_003f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0044: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_0049: stloc.1 + IL_004a: ldloc.0 + IL_004b: ldloc.1 + IL_004c: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0051: brfalse IL_00a3 - IL_0188: nop - IL_0189: ldloc.s 16 - IL_018b: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_0190: stloc.s 17 - IL_0192: ldloc.s 17 - IL_0194: ldloc.2 - IL_0195: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_019a: brfalse IL_01a8 + IL_0056: nop + IL_0057: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() + IL_005c: stloc.2 + IL_005d: ldloc.2 + IL_005e: ldarg.0 + IL_005f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0064: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0069: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_006e: ldloc.2 + IL_006f: ldarg.0 + IL_0070: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_007a: ldloc.2 + IL_007b: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0080: ldloc.2 + IL_0081: ldarg.0 + IL_0082: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0087: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_008c: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_File(class [mscorlib]System.IO.FileInfo) + IL_0091: ldloc.2 + IL_0092: ldc.i4 9999 + IL_0097: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_009c: ldloc.2 + IL_009d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_00a2: nop + IL_00a3: ret + } // end of method WrapperReferenceBase::Sync - IL_019f: nop - IL_01a0: ldc.i4.1 - IL_01a1: stloc.s 9 - IL_01a3: br IL_01bb + // method line 479 + .method private hidebysig + instance default class [NAnt.Core]NAnt.Core.BuildException CreateTypeLibraryNotRegisteredException () cil managed + { + // Method begins at RVA 0x8d9c + // Code size 149 (0x95) + .maxstack 6 + .locals init ( + string V_0, + class [NAnt.Core]NAnt.Core.BuildException V_1) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0009: call bool string::IsNullOrEmpty(string) + IL_000e: brfalse IL_0041 - IL_01a8: nop - IL_01a9: nop - IL_01aa: ldloc.s 15 - IL_01ac: ldc.i4.1 - IL_01ad: add - IL_01ae: stloc.s 15 - IL_01b0: ldloc.s 15 - IL_01b2: ldloc.s 14 - IL_01b4: ldlen - IL_01b5: conv.i4 - IL_01b6: blt IL_014e + IL_0013: nop + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: ldstr "Couldn't find type library \"{0}\" with version {1}, referenced by project \"{2}\"." + IL_001e: ldarg.0 + IL_001f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_0024: ldarg.0 + IL_0025: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_002a: ldarg.0 + IL_002b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0030: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_003a: stloc.0 + IL_003b: nop + IL_003c: br IL_0082 - IL_01bb: nop - IL_01bc: nop - IL_01bd: ldloc.s 9 - IL_01bf: brtrue IL_01cc + IL_0041: nop + IL_0042: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0047: ldstr "Couldn't find type library \"{0}\" ({1} with version {2}), referenced by project \"{3}\"." + IL_004c: ldc.i4.4 + IL_004d: newarr [mscorlib]System.Object + IL_0052: dup + IL_0053: ldc.i4.0 + IL_0054: ldarg.0 + IL_0055: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_005a: stelem.ref + IL_005b: dup + IL_005c: ldc.i4.1 + IL_005d: ldarg.0 + IL_005e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_0063: stelem.ref + IL_0064: dup + IL_0065: ldc.i4.2 + IL_0066: ldarg.0 + IL_0067: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_006c: stelem.ref + IL_006d: dup + IL_006e: ldc.i4.3 + IL_006f: ldarg.0 + IL_0070: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0075: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_007a: stelem.ref + IL_007b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0080: stloc.0 + IL_0081: nop + IL_0082: ldloc.0 + IL_0083: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0088: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_008d: stloc.1 + IL_008e: br IL_0093 - IL_01c4: nop - IL_01c5: ldc.i4.1 - IL_01c6: stloc.1 - IL_01c7: br IL_0203 + IL_0093: ldloc.1 + IL_0094: ret + } // end of method WrapperReferenceBase::CreateTypeLibraryNotRegisteredException - IL_01cc: ldarg.2 - IL_01cd: ldstr "VCCustomBuildTool" - IL_01d2: ldstr "Description" - IL_01d7: ldstr "Performing Custom Build Step" - IL_01dc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_01e1: stloc.s 18 - IL_01e3: ldarg.0 - IL_01e4: ldc.i4 3000 - IL_01e9: ldloc.s 18 - IL_01eb: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_01f0: ldarg.0 - IL_01f1: ldstr "Custom-Build" - IL_01f6: ldloc.0 - IL_01f7: ldarg.2 - IL_01f8: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) - IL_01fd: stloc.1 - IL_01fe: br IL_0203 + // method line 480 + .method private hidebysig + instance default class [NAnt.Core]NAnt.Core.BuildException CreateInvalidTypeLibraryRegistrationException () cil managed + { + // Method begins at RVA 0x8e40 + // Code size 149 (0x95) + .maxstack 6 + .locals init ( + string V_0, + class [NAnt.Core]NAnt.Core.BuildException V_1) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0009: call bool string::IsNullOrEmpty(string) + IL_000e: brfalse IL_0041 - IL_0203: ldloc.1 - IL_0204: ret - } // end of method VcProject::RunCustomBuildStep + IL_0013: nop + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: ldstr "Couldn't find path of type library \"{0}\" with version {1}, referenced by project \"{2}\". Ensure the type library is registeredcorrectly." + IL_001e: ldarg.0 + IL_001f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_0024: ldarg.0 + IL_0025: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_002a: ldarg.0 + IL_002b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0030: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_003a: stloc.0 + IL_003b: nop + IL_003c: br IL_0082 - // method line 439 + IL_0041: nop + IL_0042: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0047: ldstr "Couldn't find path of type library \"{0}\" ({1} with version {2}), referenced by project \"{3}\". Ensure the type library is registered correctly." + IL_004c: ldc.i4.4 + IL_004d: newarr [mscorlib]System.Object + IL_0052: dup + IL_0053: ldc.i4.0 + IL_0054: ldarg.0 + IL_0055: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_005a: stelem.ref + IL_005b: dup + IL_005c: ldc.i4.1 + IL_005d: ldarg.0 + IL_005e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_0063: stelem.ref + IL_0064: dup + IL_0065: ldc.i4.2 + IL_0066: ldarg.0 + IL_0067: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_006c: stelem.ref + IL_006d: dup + IL_006e: ldc.i4.3 + IL_006f: ldarg.0 + IL_0070: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0075: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_007a: stelem.ref + IL_007b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0080: stloc.0 + IL_0081: nop + IL_0082: ldloc.0 + IL_0083: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0088: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_008d: stloc.1 + IL_008e: br IL_0093 + + IL_0093: ldloc.1 + IL_0094: ret + } // end of method WrapperReferenceBase::CreateInvalidTypeLibraryRegistrationException + + // method line 481 .method private hidebysig - instance default void RunLibrarian (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed + instance default class [NAnt.Core]NAnt.Core.BuildException CreateTypeLibraryPathDoesNotExistException (string typeLibraryPath) cil managed { - // Method begins at RVA 0x1041c - // Code size 862 (0x35e) - .maxstack 5 + // Method begins at RVA 0x8ee4 + // Code size 172 (0xac) + .maxstack 6 .locals init ( - class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask V_0, - string V_1, - string V_2, - string[] V_3, - int32 V_4, - string V_5, - int32 V_6, - string V_7, - string[] V_8, - int32 V_9, - string V_10, - class [mscorlib]System.Collections.IEnumerator V_11, - class [mscorlib]System.IDisposable V_12, - string V_13, - string V_14, - string V_15, - string V_16, - string[] V_17, - int32 V_18, - string V_19, - string V_20, - string[] V_21, - int32 V_22) + string V_0, + class [NAnt.Core]NAnt.Core.BuildException V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_000c: brtrue IL_0027 + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0009: call bool string::IsNullOrEmpty(string) + IL_000e: brfalse IL_0054 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldc.i4 1000 - IL_0018: ldstr "No files to compile." - IL_001d: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0022: br IL_035d + IL_0013: nop + IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0019: ldstr "Type library \"{0}\" with version {1}, referenced by project \"{2}\", no longer exists at registered path \"{3}\"." + IL_001e: ldc.i4.4 + IL_001f: newarr [mscorlib]System.Object + IL_0024: dup + IL_0025: ldc.i4.0 + IL_0026: ldarg.0 + IL_0027: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_002c: stelem.ref + IL_002d: dup + IL_002e: ldc.i4.1 + IL_002f: ldarg.0 + IL_0030: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_0035: stelem.ref + IL_0036: dup + IL_0037: ldc.i4.2 + IL_0038: ldarg.0 + IL_0039: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_003e: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0043: stelem.ref + IL_0044: dup + IL_0045: ldc.i4.3 + IL_0046: ldarg.1 + IL_0047: stelem.ref + IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_004d: stloc.0 + IL_004e: nop + IL_004f: br IL_0099 - IL_0027: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::'.ctor'() - IL_002c: stloc.0 - IL_002d: ldloc.0 - IL_002e: ldarg.0 - IL_002f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0034: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_003e: ldloc.0 - IL_003f: ldarg.0 - IL_0040: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0045: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_004a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_004f: ldloc.0 - IL_0050: ldarg.0 - IL_0051: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0056: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_005b: ldloc.0 - IL_005c: ldarg.0 - IL_005d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0062: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0067: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_006c: ldloc.0 - IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0072: ldloc.0 - IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_0078: ldloc.0 - IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_007e: ldloc.0 - IL_007f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_0084: ldloc.0 - IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_008a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_008f: ldloc.0 - IL_0090: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_0095: ldloc.0 - IL_0096: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00a0: ldloc.0 - IL_00a1: ldarg.1 - IL_00a2: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_00a7: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00ac: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_00b1: ldarg.1 - IL_00b2: ldstr "VCLibrarianTool" - IL_00b7: ldstr "AdditionalLibraryDirectories" - IL_00bc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_00c1: stloc.1 - IL_00c2: ldloc.1 - IL_00c3: call bool string::IsNullOrEmpty(string) - IL_00c8: brtrue IL_0129 + IL_0054: nop + IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_005a: ldstr "Type library \"{0}\" ({1} with version {2}), referenced by project \"{3}\", no longer exists at registered path \"{4}\"." + IL_005f: ldc.i4.5 + IL_0060: newarr [mscorlib]System.Object + IL_0065: dup + IL_0066: ldc.i4.0 + IL_0067: ldarg.0 + IL_0068: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_006d: stelem.ref + IL_006e: dup + IL_006f: ldc.i4.1 + IL_0070: ldarg.0 + IL_0071: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() + IL_0076: stelem.ref + IL_0077: dup + IL_0078: ldc.i4.2 + IL_0079: ldarg.0 + IL_007a: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() + IL_007f: stelem.ref + IL_0080: dup + IL_0081: ldc.i4.3 + IL_0082: ldarg.0 + IL_0083: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0088: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_008d: stelem.ref + IL_008e: dup + IL_008f: ldc.i4.4 + IL_0090: ldarg.1 + IL_0091: stelem.ref + IL_0092: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) + IL_0097: stloc.0 + IL_0098: nop + IL_0099: ldloc.0 + IL_009a: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_009f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00a4: stloc.1 + IL_00a5: br IL_00aa - IL_00cd: nop - IL_00ce: nop - IL_00cf: ldloc.1 - IL_00d0: ldc.i4.2 - IL_00d1: newarr [mscorlib]System.Char - IL_00d6: dup - IL_00d7: ldc.i4.0 - IL_00d8: ldc.i4.s 0x2c - IL_00da: stelem.i2 - IL_00db: dup - IL_00dc: ldc.i4.1 - IL_00dd: ldc.i4.s 0x3b - IL_00df: stelem.i2 - IL_00e0: callvirt instance string[] string::Split(char[]) - IL_00e5: stloc.3 - IL_00e6: ldc.i4.0 - IL_00e7: stloc.s 4 - IL_00e9: br IL_011e + IL_00aa: ldloc.1 + IL_00ab: ret + } // end of method WrapperReferenceBase::CreateTypeLibraryPathDoesNotExistException - IL_00ee: ldloc.3 - IL_00ef: ldloc.s 4 - IL_00f1: ldelem.ref - IL_00f2: stloc.2 - IL_00f3: nop - IL_00f4: ldloc.2 - IL_00f5: callvirt instance int32 string::get_Length() - IL_00fa: brtrue IL_0105 + // method line 482 + .method private static hidebysig pinvokeimpl ("oleaut32.dll" as "LoadTypeLibEx" unicode winapi ) + default void LoadTypeLibEx (string strTypeLibName, int32 regKind, [out] object& marshal (interface) typeLib) cil managed + { + // Method begins at RVA 0x0 + } // end of method WrapperReferenceBase::LoadTypeLibEx + + .property instance bool CopyLocal () + { + .get instance default bool NAnt.VSNet.WrapperReferenceBase::get_CopyLocal () + } + .property instance bool IsSystem () + { + .get instance default bool NAnt.VSNet.WrapperReferenceBase::get_IsSystem () + } + .property instance string WrapperTool () + { + .get instance default string NAnt.VSNet.WrapperReferenceBase::get_WrapperTool () + } + .property instance string WrapperAssembly () + { + .get instance default string NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly () + } + .property instance bool IsCreated () + { + .get instance default bool NAnt.VSNet.WrapperReferenceBase::get_IsCreated () + } + .property instance string PrimaryInteropAssembly () + { + .get instance default string NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly () + } + .property instance string TypeLibVersion () + { + .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion () + } + .property instance string TypeLibGuid () + { + .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid () + } + .property instance string TypeLibLocale () + { + .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibLocale () + } + .property instance string TypeLibraryName () + { + .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName () + } + } // end of class NAnt.VSNet.WrapperReferenceBase +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ProjectSettings + extends [mscorlib]System.Object + { + .field private initonly class [mscorlib]System.Collections.ArrayList _settings + .field private initonly class [mscorlib]System.IO.FileInfo _applicationIcon + .field private initonly class NAnt.VSNet.ManagedProjectBase _project + .field private initonly string _assemblyName + .field private initonly string _assemblyOriginatorKeyFile + .field private initonly string _assemblyKeyContainerName + .field private initonly string _rootNamespace + .field private initonly string _guid + .field private initonly string _runPostBuildEvent + .field private initonly string _preBuildEvent + .field private initonly string _postBuildEvent + .field private initonly valuetype NAnt.VSNet.ManagedOutputType _outputType - IL_00ff: nop - IL_0100: br IL_0118 + // method line 483 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement elemRoot, class [System.Xml]System.Xml.XmlElement elemSettings, class NAnt.VSNet.ManagedProjectBase project) cil managed + { + // Method begins at RVA 0x10874 + // Code size 1181 (0x49d) + .maxstack 3 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0, + valuetype NAnt.VSNet.ManagedOutputType V_1, + string V_2, + valuetype [mscorlib]System.Collections.DictionaryEntry V_3, + class [mscorlib]System.Collections.IDictionaryEnumerator V_4, + string V_5, + class [mscorlib]System.IDisposable V_6) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.3 + IL_0009: stfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.ProjectSettings::_project + IL_000e: ldarg.0 + IL_000f: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0014: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_0019: ldarg.1 + IL_001a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_FirstChild() + IL_001f: brtrue IL_004a - IL_0105: ldloc.0 - IL_0106: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() - IL_010b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0110: ldloc.2 - IL_0111: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0116: pop - IL_0117: nop - IL_0118: ldloc.s 4 - IL_011a: ldc.i4.1 - IL_011b: add - IL_011c: stloc.s 4 - IL_011e: ldloc.s 4 - IL_0120: ldloc.3 - IL_0121: ldlen - IL_0122: conv.i4 - IL_0123: blt IL_00ee + IL_0024: nop + IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002a: ldstr "Project file '{0}' is not valid." + IL_002f: ldarg.0 + IL_0030: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() + IL_0035: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_003a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_003f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0044: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0049: throw + IL_004a: ldarg.0 + IL_004b: ldarg.3 + IL_004c: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_0051: ldarg.1 + IL_0052: call string class NAnt.VSNet.ProjectSettings::GetProjectGuid(string, class [System.Xml]System.Xml.XmlElement) + IL_0057: stfld string NAnt.VSNet.ProjectSettings::_guid + IL_005c: ldarg.0 + IL_005d: ldarg.0 + IL_005e: ldarg.2 + IL_005f: callvirt instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::GetOutputType(class [System.Xml]System.Xml.XmlElement) + IL_0064: stfld valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::_outputType + IL_0069: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_006e: stloc.0 + IL_006f: ldarg.0 + IL_0070: ldfld valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::_outputType + IL_0075: stloc.1 + IL_0076: ldloc.1 + IL_0077: ldc.i4.1 + IL_0078: beq IL_0090 - IL_0128: nop - IL_0129: ldarg.1 - IL_012a: ldstr "VCLibrarianTool" - IL_012f: ldstr "AdditionalDependencies" - IL_0134: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0139: stloc.s 5 - IL_013b: ldloc.s 5 - IL_013d: call bool string::IsNullOrEmpty(string) - IL_0142: brtrue IL_01c1 + IL_007d: ldloc.1 + IL_007e: ldc.i4.2 + IL_007f: beq IL_00a6 - IL_0147: nop - IL_0148: ldc.i4.0 - IL_0149: stloc.s 6 - IL_014b: nop - IL_014c: ldloc.s 5 - IL_014e: ldc.i4.s 0x20 - IL_0150: ldc.i4.0 - IL_0151: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0156: stloc.s 8 - IL_0158: ldc.i4.0 - IL_0159: stloc.s 9 - IL_015b: br IL_01b5 + IL_0084: ldloc.1 + IL_0085: ldc.i4.3 + IL_0086: beq IL_00cc - IL_0160: ldloc.s 8 - IL_0162: ldloc.s 9 - IL_0164: ldelem.ref - IL_0165: stloc.s 7 - IL_0167: nop - IL_0168: ldloc.s 7 - IL_016a: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_016f: ldstr ".obj" - IL_0174: call bool string::op_Equality(string, string) - IL_0179: brfalse IL_0199 + IL_008b: br IL_00f2 - IL_017e: nop - IL_017f: ldarg.1 - IL_0180: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() - IL_0185: ldloc.s 6 - IL_0187: dup - IL_0188: ldc.i4.1 - IL_0189: add - IL_018a: stloc.s 6 - IL_018c: ldloc.s 7 - IL_018e: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) - IL_0193: nop - IL_0194: br IL_01ae + IL_0090: ldarg.0 + IL_0091: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_0096: ldstr "/target:library" + IL_009b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00a0: pop + IL_00a1: br IL_00f2 - IL_0199: nop - IL_019a: ldloc.0 - IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_01a0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01a5: ldloc.s 7 - IL_01a7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_01ac: pop - IL_01ad: nop - IL_01ae: nop - IL_01af: ldloc.s 9 - IL_01b1: ldc.i4.1 - IL_01b2: add - IL_01b3: stloc.s 9 - IL_01b5: ldloc.s 9 - IL_01b7: ldloc.s 8 - IL_01b9: ldlen - IL_01ba: conv.i4 - IL_01bb: blt IL_0160 + IL_00a6: ldarg.0 + IL_00a7: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_00ac: ldstr "/target:exe" + IL_00b1: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00b6: pop + IL_00b7: ldloc.0 + IL_00b8: ldstr "StartupObject" + IL_00bd: ldstr "/main:\"{0}\"" + IL_00c2: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00c7: br IL_00f2 - IL_01c0: nop - IL_01c1: nop - IL_01c2: ldarg.1 - IL_01c3: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() - IL_01c8: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_01cd: stloc.s 11 - .try { // 0 - IL_01cf: br IL_01f7 + IL_00cc: ldarg.0 + IL_00cd: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_00d2: ldstr "/target:winexe" + IL_00d7: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00dc: pop + IL_00dd: ldloc.0 + IL_00de: ldstr "StartupObject" + IL_00e3: ldstr "/main:\"{0}\"" + IL_00e8: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00ed: br IL_00f2 - IL_01d4: ldloc.s 11 - IL_01d6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01db: castclass [mscorlib]System.String - IL_01e0: stloc.s 10 - IL_01e2: nop - IL_01e3: ldloc.0 - IL_01e4: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_01e9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01ee: ldloc.s 10 - IL_01f0: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_01f5: pop - IL_01f6: nop - IL_01f7: ldloc.s 11 - IL_01f9: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01fe: brtrue IL_01d4 + IL_00f2: ldarg.0 + IL_00f3: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_00f8: ldstr "/nologo" + IL_00fd: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0102: pop + IL_0103: ldarg.0 + IL_0104: ldarg.2 + IL_0105: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_010a: ldstr "AssemblyName" + IL_010f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0114: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0119: stfld string NAnt.VSNet.ProjectSettings::_assemblyName + IL_011e: ldarg.0 + IL_011f: ldarg.2 + IL_0120: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0125: ldstr "AssemblyOriginatorKeyFile" + IL_012a: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_012f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0134: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0139: stfld string NAnt.VSNet.ProjectSettings::_assemblyOriginatorKeyFile + IL_013e: ldarg.0 + IL_013f: ldarg.2 + IL_0140: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0145: ldstr "AssemblyKeyContainerName" + IL_014a: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_014f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0154: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0159: stfld string NAnt.VSNet.ProjectSettings::_assemblyKeyContainerName + IL_015e: ldarg.2 + IL_015f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0164: ldstr "RunPostBuildEvent" + IL_0169: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_016e: brfalse IL_0195 - IL_0203: leave IL_021f + IL_0173: nop + IL_0174: ldarg.0 + IL_0175: ldarg.2 + IL_0176: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_017b: ldstr "RunPostBuildEvent" + IL_0180: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0185: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_018a: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_018f: stfld string NAnt.VSNet.ProjectSettings::_runPostBuildEvent + IL_0194: nop + IL_0195: ldarg.2 + IL_0196: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_019b: ldstr "PreBuildEvent" + IL_01a0: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_01a5: brfalse IL_01cc - } // end .try 0 - finally { // 0 - IL_0208: ldloc.s 11 - IL_020a: isinst [mscorlib]System.IDisposable - IL_020f: dup - IL_0210: stloc.s 12 - IL_0212: brfalse IL_021e + IL_01aa: nop + IL_01ab: ldarg.0 + IL_01ac: ldarg.2 + IL_01ad: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_01b2: ldstr "PreBuildEvent" + IL_01b7: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_01bc: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_01c1: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_01c6: stfld string NAnt.VSNet.ProjectSettings::_preBuildEvent + IL_01cb: nop + IL_01cc: ldarg.2 + IL_01cd: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_01d2: ldstr "PostBuildEvent" + IL_01d7: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_01dc: brfalse IL_0203 - IL_0217: ldloc.s 12 - IL_0219: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_021e: endfinally - } // end handler 0 - IL_021f: ldarg.1 - IL_0220: ldstr "VCLibrarianTool" - IL_0225: ldstr "ModuleDefinitionFile" - IL_022a: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_022f: stloc.s 13 - IL_0231: ldloc.s 13 - IL_0233: call bool string::IsNullOrEmpty(string) - IL_0238: brtrue IL_025c + IL_01e1: nop + IL_01e2: ldarg.0 + IL_01e3: ldarg.2 + IL_01e4: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_01e9: ldstr "PostBuildEvent" + IL_01ee: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_01f3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_01f8: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_01fd: stfld string NAnt.VSNet.ProjectSettings::_postBuildEvent + IL_0202: nop + IL_0203: ldarg.2 + IL_0204: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0209: ldstr "RootNamespace" + IL_020e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0213: brfalse IL_0273 - IL_023d: nop - IL_023e: ldloc.0 - IL_023f: ldarg.0 - IL_0240: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0245: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_024a: ldloc.s 13 - IL_024c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0251: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0256: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::set_ModuleDefinitionFile(class [mscorlib]System.IO.FileInfo) - IL_025b: nop - IL_025c: ldarg.1 - IL_025d: ldstr "VCLibrarianTool" - IL_0262: ldstr "IgnoreAllDefaultLibraries" - IL_0267: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_026c: stloc.s 14 - IL_026e: ldloc.s 14 - IL_0270: ldstr "TRUE" - IL_0275: ldc.i4.1 - IL_0276: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_027b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0280: brtrue IL_0292 + IL_0218: nop + IL_0219: ldarg.0 + IL_021a: ldarg.2 + IL_021b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0220: ldstr "RootNamespace" + IL_0225: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_022a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_022f: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0234: stfld string NAnt.VSNet.ProjectSettings::_rootNamespace + IL_0239: ldarg.0 + IL_023a: call instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() + IL_023f: brfalse IL_0272 - IL_0285: nop - IL_0286: ldloc.0 - IL_0287: ldstr "/NODEFAULTLIB" - IL_028c: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::set_Options(string) - IL_0291: nop - IL_0292: ldarg.1 - IL_0293: ldstr "VCLibrarianTool" - IL_0298: ldstr "IgnoreDefaultLibraryNames" - IL_029d: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_02a2: stloc.s 15 - IL_02a4: ldloc.s 15 - IL_02a6: call bool string::IsNullOrEmpty(string) - IL_02ab: brtrue IL_02f4 + IL_0244: ldarg.0 + IL_0245: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() + IL_024a: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() + IL_024f: brtrue IL_0272 - IL_02b0: nop - IL_02b1: nop - IL_02b2: ldloc.s 15 - IL_02b4: ldc.i4.s 0x3b - IL_02b6: ldc.i4.0 - IL_02b7: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_02bc: stloc.s 17 - IL_02be: ldc.i4.0 - IL_02bf: stloc.s 18 - IL_02c1: br IL_02e8 + IL_0254: nop + IL_0255: ldarg.0 + IL_0256: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_025b: ldstr "/rootnamespace:" + IL_0260: ldarg.0 + IL_0261: ldfld string NAnt.VSNet.ProjectSettings::_rootNamespace + IL_0266: call string string::Concat(string, string) + IL_026b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0270: pop + IL_0271: nop + IL_0272: nop + IL_0273: ldarg.2 + IL_0274: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0279: ldstr "ApplicationIcon" + IL_027e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0283: brfalse IL_02ce - IL_02c6: ldloc.s 17 - IL_02c8: ldloc.s 18 - IL_02ca: ldelem.ref - IL_02cb: stloc.s 16 + IL_0288: nop + IL_0289: ldarg.2 + IL_028a: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_028f: ldstr "ApplicationIcon" + IL_0294: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0299: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_029e: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_02a3: stloc.2 + IL_02a4: ldloc.2 + IL_02a5: brfalse IL_02cd + + IL_02aa: nop + IL_02ab: ldarg.0 + IL_02ac: ldarg.0 + IL_02ad: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() + IL_02b2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_02b7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02bc: ldloc.2 + IL_02bd: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_02c2: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_02c7: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.ProjectSettings::_applicationIcon + IL_02cc: nop IL_02cd: nop - IL_02ce: ldloc.0 - IL_02cf: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_IgnoreLibraries() - IL_02d4: ldloc.s 16 - IL_02d6: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library::'.ctor'(string) - IL_02db: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library) - IL_02e0: pop - IL_02e1: nop - IL_02e2: ldloc.s 18 - IL_02e4: ldc.i4.1 - IL_02e5: add - IL_02e6: stloc.s 18 - IL_02e8: ldloc.s 18 - IL_02ea: ldloc.s 17 - IL_02ec: ldlen - IL_02ed: conv.i4 - IL_02ee: blt IL_02c6 + IL_02ce: ldarg.0 + IL_02cf: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() + IL_02d4: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() + IL_02d9: brtrue IL_0412 - IL_02f3: nop - IL_02f4: ldarg.1 - IL_02f5: ldstr "VCLibrarianTool" - IL_02fa: ldstr "ForceSymbolReferences" - IL_02ff: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0304: stloc.s 19 - IL_0306: ldloc.s 19 - IL_0308: call bool string::IsNullOrEmpty(string) - IL_030d: brtrue IL_0356 + IL_02de: nop + IL_02df: ldarg.2 + IL_02e0: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_02e5: ldstr "OptionExplicit" + IL_02ea: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_02ef: brfalse IL_0345 - IL_0312: nop - IL_0313: nop - IL_0314: ldloc.s 19 - IL_0316: ldc.i4.s 0x3b - IL_0318: ldc.i4.0 - IL_0319: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_031e: stloc.s 21 - IL_0320: ldc.i4.0 - IL_0321: stloc.s 22 - IL_0323: br IL_034a + IL_02f4: nop + IL_02f5: ldarg.2 + IL_02f6: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_02fb: ldstr "OptionExplicit" + IL_0300: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0305: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_030a: ldstr "Off" + IL_030f: call bool string::op_Equality(string, string) + IL_0314: brfalse IL_0331 - IL_0328: ldloc.s 21 - IL_032a: ldloc.s 22 - IL_032c: ldelem.ref - IL_032d: stloc.s 20 - IL_032f: nop - IL_0330: ldloc.0 - IL_0331: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LibTask::get_Symbols() - IL_0336: ldloc.s 20 - IL_0338: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol::'.ctor'(string) - IL_033d: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol) + IL_0319: nop + IL_031a: ldarg.0 + IL_031b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_0320: ldstr "/optionexplicit-" + IL_0325: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_032a: pop + IL_032b: nop + IL_032c: br IL_0344 + + IL_0331: nop + IL_0332: ldarg.0 + IL_0333: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_0338: ldstr "/optionexplicit+" + IL_033d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) IL_0342: pop IL_0343: nop - IL_0344: ldloc.s 22 - IL_0346: ldc.i4.1 - IL_0347: add - IL_0348: stloc.s 22 - IL_034a: ldloc.s 22 - IL_034c: ldloc.s 21 - IL_034e: ldlen - IL_034f: conv.i4 - IL_0350: blt IL_0328 + IL_0344: nop + IL_0345: ldarg.2 + IL_0346: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_034b: ldstr "OptionStrict" + IL_0350: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0355: brfalse IL_03ab - IL_0355: nop - IL_0356: ldarg.0 - IL_0357: ldloc.0 - IL_0358: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) - IL_035d: ret - } // end of method VcProject::RunLibrarian + IL_035a: nop + IL_035b: ldarg.2 + IL_035c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0361: ldstr "OptionStrict" + IL_0366: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_036b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0370: ldstr "Off" + IL_0375: call bool string::op_Equality(string, string) + IL_037a: brfalse IL_0397 + + IL_037f: nop + IL_0380: ldarg.0 + IL_0381: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_0386: ldstr "/optionstrict-" + IL_038b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0390: pop + IL_0391: nop + IL_0392: br IL_03aa - // method line 440 - .method private hidebysig - instance default void RunLinker (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x10798 - // Code size 2833 (0xb11) - .maxstack 5 - .locals init ( - class NAnt.VSNet.VcProjectConfiguration V_0, - class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask V_1, - string V_2, - string V_3, - string[] V_4, - int32 V_5, - string V_6, - string[] V_7, - int32 V_8, - string V_9, - string[] V_10, - int32 V_11, - string V_12, - string V_13, - string[] V_14, - int32 V_15, - string V_16, - class [mscorlib]System.Collections.IEnumerator V_17, - class [mscorlib]System.IDisposable V_18, - class NAnt.VSNet.ProjectBaseCollection V_19, - class NAnt.VSNet.VcProject V_20, - class NAnt.VSNet.ProjectBaseEnumerator V_21, - class NAnt.VSNet.VcProjectConfiguration V_22, - valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_23, - class [mscorlib]System.IO.FileInfo V_24, - class [mscorlib]System.IDisposable V_25, - string V_26, - class [mscorlib]System.IO.FileInfo V_27, - class [NAnt.Core]NAnt.Core.Types.Argument V_28, - string V_29, - string V_30, - string[] V_31, - int32 V_32, - string V_33, - string V_34, - string[] V_35, - int32 V_36, - bool V_37, - class [NAnt.Core]NAnt.Core.Types.Argument V_38, - string V_39, - string V_40, - class [NAnt.Core]NAnt.Core.Types.Argument V_41, - string V_42, - string V_43, - class [NAnt.Core]NAnt.Core.Types.Argument V_44, - string V_45, - string V_46, - string V_47, - string[] V_48, - int32 V_49, - string V_50, - string V_51, - string[] V_52, - int32 V_53, - string V_54, - string V_55, - string[] V_56, - int32 V_57, - class [mscorlib]System.Collections.Hashtable V_58, - string V_59, - class [mscorlib]System.Collections.IEnumerator V_60, - class [NAnt.Core]NAnt.Core.Types.Argument V_61, - class [mscorlib]System.IDisposable V_62, - string V_63, - class [mscorlib]System.IO.StringReader V_64, - string V_65, - string V_66, - string[] V_67, - int32 V_68) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_000d: castclass NAnt.VSNet.VcProjectConfiguration - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() - IL_0019: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_001e: brtrue IL_0039 + IL_0397: nop + IL_0398: ldarg.0 + IL_0399: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_039e: ldstr "/optionstrict+" + IL_03a3: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_03a8: pop + IL_03a9: nop + IL_03aa: nop + IL_03ab: ldarg.2 + IL_03ac: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_03b1: ldstr "OptionCompare" + IL_03b6: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_03bb: brfalse IL_0411 - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: ldc.i4 1000 - IL_002a: ldstr "No files to link." - IL_002f: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0034: br IL_0b10 + IL_03c0: nop + IL_03c1: ldarg.2 + IL_03c2: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_03c7: ldstr "OptionCompare" + IL_03cc: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_03d1: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_03d6: ldstr "Text" + IL_03db: call bool string::op_Equality(string, string) + IL_03e0: brfalse IL_03fd - IL_0039: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::'.ctor'() - IL_003e: stloc.1 - IL_003f: ldloc.1 - IL_0040: ldarg.0 - IL_0041: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_004b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0050: ldloc.1 - IL_0051: ldarg.0 - IL_0052: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0057: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_005c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0061: ldloc.1 - IL_0062: ldarg.0 - IL_0063: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0068: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_006d: ldloc.1 - IL_006e: ldarg.0 - IL_006f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0074: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_007e: ldloc.1 - IL_007f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0084: ldloc.1 - IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_008a: ldloc.1 - IL_008b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0090: ldloc.1 - IL_0091: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() - IL_0096: ldloc.1 - IL_0097: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_009c: ldloc.1 - IL_009d: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() - IL_00a2: ldloc.1 - IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_00a8: ldloc.1 - IL_00a9: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() - IL_00ae: ldloc.1 - IL_00af: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00b4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00b9: ldloc.1 - IL_00ba: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_00bf: ldloc.1 - IL_00c0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00c5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00ca: ldloc.1 - IL_00cb: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() - IL_00d0: ldloc.1 - IL_00d1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00d6: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00db: ldloc.1 - IL_00dc: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() - IL_00e1: ldloc.1 - IL_00e2: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00e7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00ec: ldloc.1 - IL_00ed: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() - IL_00f2: ldloc.1 - IL_00f3: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00f8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_00fd: ldloc.1 - IL_00fe: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_0103: ldloc.1 - IL_0104: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0109: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_010e: ldloc.1 - IL_010f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() - IL_0114: ldloc.1 - IL_0115: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_011a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_011f: ldloc.1 - IL_0120: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() - IL_0125: ldloc.1 - IL_0126: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_012b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0130: ldloc.1 - IL_0131: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() - IL_0136: ldloc.1 - IL_0137: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_013c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0141: ldloc.1 - IL_0142: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_0147: ldarg.0 - IL_0148: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_014d: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0152: ldloc.1 - IL_0153: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() - IL_0158: ldarg.0 - IL_0159: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_015e: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0163: ldloc.1 - IL_0164: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() - IL_0169: ldarg.0 - IL_016a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_016f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0174: ldloc.1 - IL_0175: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() - IL_017a: ldarg.0 - IL_017b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0180: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0185: ldloc.0 - IL_0186: ldstr "VCLinkerTool" - IL_018b: ldstr "AdditionalDependencies" - IL_0190: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0195: stloc.2 - IL_0196: ldloc.2 - IL_0197: call bool string::IsNullOrEmpty(string) - IL_019c: brtrue IL_028a + IL_03e5: nop + IL_03e6: ldarg.0 + IL_03e7: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_03ec: ldstr "/optioncompare:text" + IL_03f1: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_03f6: pop + IL_03f7: nop + IL_03f8: br IL_0410 - IL_01a1: nop - IL_01a2: ldloc.2 - IL_01a3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01a8: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_01ad: ldstr "$(noinherit)" - IL_01b2: callvirt instance int32 string::IndexOf(string) - IL_01b7: ldc.i4.m1 - IL_01b8: bne.un IL_01ff + IL_03fd: nop + IL_03fe: ldarg.0 + IL_03ff: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_0404: ldstr "/optioncompare:binary" + IL_0409: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_040e: pop + IL_040f: nop + IL_0410: nop + IL_0411: nop + IL_0412: nop + IL_0413: ldloc.0 + IL_0414: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0419: stloc.s 4 + .try { // 0 + IL_041b: br IL_0474 - IL_01bd: nop - IL_01be: nop - IL_01bf: ldsfld string[] NAnt.VSNet.VcProject::_defaultLibraries - IL_01c4: stloc.s 4 - IL_01c6: ldc.i4.0 - IL_01c7: stloc.s 5 - IL_01c9: br IL_01ee + IL_0420: ldloc.s 4 + IL_0422: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0427: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_042c: stloc.3 + IL_042d: nop + IL_042e: ldarg.2 + IL_042f: ldloca.s 3 + IL_0431: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0436: callvirt instance string object::ToString() + IL_043b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0440: stloc.s 5 + IL_0442: ldloc.s 5 + IL_0444: call bool string::IsNullOrEmpty(string) + IL_0449: brfalse IL_0454 - IL_01ce: ldloc.s 4 - IL_01d0: ldloc.s 5 - IL_01d2: ldelem.ref - IL_01d3: stloc.3 - IL_01d4: nop - IL_01d5: ldloc.1 - IL_01d6: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_01db: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01e0: ldloc.3 - IL_01e1: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_01e6: pop - IL_01e7: nop - IL_01e8: ldloc.s 5 - IL_01ea: ldc.i4.1 - IL_01eb: add - IL_01ec: stloc.s 5 - IL_01ee: ldloc.s 5 - IL_01f0: ldloc.s 4 - IL_01f2: ldlen - IL_01f3: conv.i4 - IL_01f4: blt IL_01ce + IL_044e: nop + IL_044f: leave IL_0474 - IL_01f9: nop - IL_01fa: br IL_0227 + IL_0454: ldarg.0 + IL_0455: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_045a: ldloca.s 3 + IL_045c: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0461: callvirt instance string object::ToString() + IL_0466: ldloc.s 5 + IL_0468: call string string::Format(string, object) + IL_046d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0472: pop + IL_0473: nop + IL_0474: ldloc.s 4 + IL_0476: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_047b: brtrue IL_0420 - IL_01ff: nop - IL_0200: ldloc.2 - IL_0201: ldloc.2 - IL_0202: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0207: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_020c: ldstr "$(noinherit)" - IL_0211: callvirt instance int32 string::IndexOf(string) - IL_0216: ldstr "$(noinherit)" - IL_021b: call instance int32 string::get_Length() - IL_0220: callvirt instance string string::Remove(int32, int32) - IL_0225: stloc.2 - IL_0226: nop - IL_0227: nop - IL_0228: ldloc.2 - IL_0229: ldc.i4.s 0x20 - IL_022b: ldc.i4.0 - IL_022c: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0231: stloc.s 7 - IL_0233: ldc.i4.0 - IL_0234: stloc.s 8 - IL_0236: br IL_0279 + IL_0480: leave IL_049c - IL_023b: ldloc.s 7 - IL_023d: ldloc.s 8 - IL_023f: ldelem.ref - IL_0240: stloc.s 6 - IL_0242: nop - IL_0243: ldloc.s 6 - IL_0245: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_024a: ldstr ".obj" - IL_024f: call bool string::op_Equality(string, string) - IL_0254: brfalse IL_025f + } // end .try 0 + finally { // 0 + IL_0485: ldloc.s 4 + IL_0487: isinst [mscorlib]System.IDisposable + IL_048c: dup + IL_048d: stloc.s 6 + IL_048f: brfalse IL_049b - IL_0259: nop - IL_025a: br IL_0273 + IL_0494: ldloc.s 6 + IL_0496: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_049b: endfinally + } // end handler 0 + IL_049c: ret + } // end of method ProjectSettings::.ctor - IL_025f: ldloc.1 - IL_0260: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_0265: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_026a: ldloc.s 6 - IL_026c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0271: pop - IL_0272: nop - IL_0273: ldloc.s 8 - IL_0275: ldc.i4.1 - IL_0276: add - IL_0277: stloc.s 8 - IL_0279: ldloc.s 8 - IL_027b: ldloc.s 7 - IL_027d: ldlen - IL_027e: conv.i4 - IL_027f: blt IL_023b + // method line 484 + .method public hidebysig specialname + instance default string[] get_Settings () cil managed + { + // Method begins at RVA 0x10d30 + // Code size 35 (0x23) + .maxstack 2 + .locals init ( + string[] V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings + IL_0007: ldtoken [mscorlib]System.String + IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0011: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_0016: castclass string[] + IL_001b: stloc.0 + IL_001c: br IL_0021 - IL_0284: nop - IL_0285: br IL_02c9 + IL_0021: ldloc.0 + IL_0022: ret + } // end of method ProjectSettings::get_Settings - IL_028a: nop - IL_028b: nop - IL_028c: ldsfld string[] NAnt.VSNet.VcProject::_defaultLibraries - IL_0291: stloc.s 10 - IL_0293: ldc.i4.0 - IL_0294: stloc.s 11 - IL_0296: br IL_02bd + // method line 485 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ApplicationIcon () cil managed + { + // Method begins at RVA 0x10d60 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.ProjectSettings::_applicationIcon + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_029b: ldloc.s 10 - IL_029d: ldloc.s 11 - IL_029f: ldelem.ref - IL_02a0: stloc.s 9 - IL_02a2: nop - IL_02a3: ldloc.1 - IL_02a4: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_02a9: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_02ae: ldloc.s 9 - IL_02b0: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_02b5: pop - IL_02b6: nop - IL_02b7: ldloc.s 11 - IL_02b9: ldc.i4.1 - IL_02ba: add - IL_02bb: stloc.s 11 - IL_02bd: ldloc.s 11 - IL_02bf: ldloc.s 10 - IL_02c1: ldlen - IL_02c2: conv.i4 - IL_02c3: blt IL_029b + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_ApplicationIcon - IL_02c8: nop - IL_02c9: ldloc.0 - IL_02ca: ldstr "VCLinkerTool" - IL_02cf: ldstr "DelayLoadDLLs" - IL_02d4: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_02d9: stloc.s 12 - IL_02db: ldloc.s 12 - IL_02dd: call bool string::IsNullOrEmpty(string) - IL_02e2: brtrue IL_032b + // method line 486 + .method public hidebysig specialname + instance default string get_AssemblyName () cil managed + { + // Method begins at RVA 0x10d7c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_assemblyName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_02e7: nop - IL_02e8: nop - IL_02e9: ldloc.s 12 - IL_02eb: ldc.i4.s 0x3b - IL_02ed: ldc.i4.0 - IL_02ee: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_02f3: stloc.s 14 - IL_02f5: ldc.i4.0 - IL_02f6: stloc.s 15 - IL_02f8: br IL_031f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_AssemblyName - IL_02fd: ldloc.s 14 - IL_02ff: ldloc.s 15 - IL_0301: ldelem.ref - IL_0302: stloc.s 13 - IL_0304: nop - IL_0305: ldloc.1 - IL_0306: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_DelayLoadedDlls() - IL_030b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0310: ldloc.s 13 - IL_0312: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0317: pop - IL_0318: nop - IL_0319: ldloc.s 15 - IL_031b: ldc.i4.1 - IL_031c: add - IL_031d: stloc.s 15 - IL_031f: ldloc.s 15 - IL_0321: ldloc.s 14 - IL_0323: ldlen - IL_0324: conv.i4 - IL_0325: blt IL_02fd + // method line 487 + .method public hidebysig specialname + instance default string get_AssemblyOriginatorKeyFile () cil managed + { + // Method begins at RVA 0x10d98 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_assemblyOriginatorKeyFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_032a: nop - IL_032b: nop - IL_032c: ldloc.0 - IL_032d: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProjectConfiguration::get_ObjFiles() - IL_0332: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0337: stloc.s 17 - .try { // 0 - IL_0339: br IL_0361 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_AssemblyOriginatorKeyFile - IL_033e: ldloc.s 17 - IL_0340: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0345: castclass [mscorlib]System.String - IL_034a: stloc.s 16 - IL_034c: nop - IL_034d: ldloc.1 - IL_034e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_0353: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0358: ldloc.s 16 - IL_035a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_035f: pop - IL_0360: nop - IL_0361: ldloc.s 17 - IL_0363: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0368: brtrue IL_033e + // method line 488 + .method public hidebysig specialname + instance default string get_AssemblyKeyContainerName () cil managed + { + // Method begins at RVA 0x10db4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_assemblyKeyContainerName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_036d: leave IL_0389 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_AssemblyKeyContainerName - } // end .try 0 - finally { // 0 - IL_0372: ldloc.s 17 - IL_0374: isinst [mscorlib]System.IDisposable - IL_0379: dup - IL_037a: stloc.s 18 - IL_037c: brfalse IL_0388 + // method line 489 + .method public hidebysig specialname + instance default class [System]System.CodeDom.Compiler.TempFileCollection get_TemporaryFiles () cil managed + { + // Method begins at RVA 0x10dd0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [System]System.CodeDom.Compiler.TempFileCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() + IL_0007: callvirt instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0381: ldloc.s 18 - IL_0383: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0388: endfinally - } // end handler 0 - IL_0389: ldarg.0 - IL_038a: call instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.VcProject::GetVcProjectDependencies() - IL_038f: stloc.s 19 - IL_0391: nop - IL_0392: ldloc.s 19 - IL_0394: callvirt instance class NAnt.VSNet.ProjectBaseEnumerator class NAnt.VSNet.ProjectBaseCollection::GetEnumerator() - IL_0399: stloc.s 21 - .try { // 1 - IL_039b: br IL_043b + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectSettings::get_TemporaryFiles - IL_03a0: ldloc.s 21 - IL_03a2: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseEnumerator::get_Current() - IL_03a7: castclass NAnt.VSNet.VcProject - IL_03ac: stloc.s 20 - IL_03ae: nop - IL_03af: ldloc.s 20 - IL_03b1: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_03b6: ldarg.1 - IL_03b7: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_03bc: isinst NAnt.VSNet.VcProjectConfiguration - IL_03c1: stloc.s 22 - IL_03c3: ldloc.s 22 - IL_03c5: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_03ca: stloc.s 23 - IL_03cc: ldloc.s 23 - IL_03ce: ldc.i4.1 - IL_03cf: beq IL_03e9 + // method line 490 + .method public hidebysig specialname + instance default string get_OutputFileName () cil managed + { + // Method begins at RVA 0x10df0 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance string class NAnt.VSNet.ProjectSettings::get_AssemblyName() + IL_0007: ldarg.0 + IL_0008: call instance string class NAnt.VSNet.ProjectSettings::get_OutputExtension() + IL_000d: call string string::Concat(string, string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_03d4: ldloc.s 23 - IL_03d6: ldc.i4.2 - IL_03d7: beq IL_03e9 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ProjectSettings::get_OutputFileName - IL_03dc: ldloc.s 23 - IL_03de: ldc.i4.4 - IL_03df: beq IL_041d + // method line 491 + .method public hidebysig specialname + instance default valuetype NAnt.VSNet.ManagedOutputType get_OutputType () cil managed + { + // Method begins at RVA 0x10e18 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.VSNet.ManagedOutputType V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::_outputType + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_03e4: br IL_043a + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_OutputType - IL_03e9: ldloc.s 22 - IL_03eb: callvirt instance class NAnt.VSNet.VcProjectConfiguration/LinkerConfig class NAnt.VSNet.VcProjectConfiguration::get_LinkerConfiguration() - IL_03f0: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_ImportLibrary() - IL_03f5: stloc.s 24 - IL_03f7: ldloc.s 24 - IL_03f9: brfalse IL_0418 + // method line 492 + .method public hidebysig specialname + instance default string get_OutputExtension () cil managed + { + // Method begins at RVA 0x10e34 + // Code size 57 (0x39) + .maxstack 2 + .locals init ( + valuetype NAnt.VSNet.ManagedOutputType V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::get_OutputType() + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldc.i4.1 + IL_000a: sub + IL_000b: switch ( + IL_0021, + IL_002c, + IL_002c) + IL_001c: br IL_002c - IL_03fe: nop - IL_03ff: ldloc.1 - IL_0400: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_0405: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_040a: ldloc.s 24 - IL_040c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0411: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0416: pop - IL_0417: nop - IL_0418: leave IL_043a + IL_0021: ldstr ".dll" + IL_0026: stloc.1 + IL_0027: br IL_0037 - IL_041d: ldloc.1 - IL_041e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_0423: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0428: ldloc.s 22 - IL_042a: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_042f: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0434: pop - IL_0435: leave IL_043a + IL_002c: ldstr ".exe" + IL_0031: stloc.1 + IL_0032: br IL_0037 - IL_043a: nop - IL_043b: ldloc.s 21 - IL_043d: callvirt instance bool class NAnt.VSNet.ProjectBaseEnumerator::MoveNext() - IL_0442: brtrue IL_03a0 + IL_0037: ldloc.1 + IL_0038: ret + } // end of method ProjectSettings::get_OutputExtension - IL_0447: leave IL_0463 + // method line 493 + .method public hidebysig specialname + instance default string get_RootNamespace () cil managed + { + // Method begins at RVA 0x10e7c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_rootNamespace + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 1 - finally { // 1 - IL_044c: ldloc.s 21 - IL_044e: isinst [mscorlib]System.IDisposable - IL_0453: dup - IL_0454: stloc.s 25 - IL_0456: brfalse IL_0462 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_RootNamespace - IL_045b: ldloc.s 25 - IL_045d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0462: endfinally - } // end handler 1 - IL_0463: ldloc.1 - IL_0464: ldloc.0 - IL_0465: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_046a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_046f: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_0474: ldloc.1 - IL_0475: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_047a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_047f: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0484: brtrue IL_04ab + // method line 494 + .method public hidebysig specialname + instance default string get_Guid () cil managed + { + // Method begins at RVA 0x10e98 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_guid + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0489: nop - IL_048a: ldloc.1 - IL_048b: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_0490: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0495: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_049a: ldloc.1 - IL_049b: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_04a0: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_04a5: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_04aa: nop - IL_04ab: ldloc.1 - IL_04ac: ldloc.0 - IL_04ad: ldstr "VCLinkerTool" - IL_04b2: ldstr "GenerateDebugInformation" - IL_04b7: ldstr "FALSE" - IL_04bc: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_04c1: call bool bool::Parse(string) - IL_04c6: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::set_Debug(bool) - IL_04cb: ldloc.0 - IL_04cc: ldstr "VCLinkerTool" - IL_04d1: ldstr "ProgramDatabaseFile" - IL_04d6: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_04db: stloc.s 26 - IL_04dd: ldloc.s 26 - IL_04df: brtrue IL_04fe + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_Guid - IL_04e4: ldloc.1 - IL_04e5: callvirt instance bool class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Debug() - IL_04ea: brfalse IL_04fe + // method line 495 + .method public hidebysig specialname + instance default string get_RunPostBuildEvent () cil managed + { + // Method begins at RVA 0x10eb4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_runPostBuildEvent + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_04ef: nop - IL_04f0: ldloc.0 - IL_04f1: ldstr "$(OutDir)/$(ProjectName).pdb" - IL_04f6: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) - IL_04fb: stloc.s 26 - IL_04fd: nop - IL_04fe: ldloc.s 26 - IL_0500: call bool string::IsNullOrEmpty(string) - IL_0505: brtrue IL_0591 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_RunPostBuildEvent - IL_050a: nop - IL_050b: ldarg.0 - IL_050c: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() - IL_0511: brfalse IL_0536 + // method line 496 + .method public hidebysig specialname + instance default string get_PreBuildEvent () cil managed + { + // Method begins at RVA 0x10ed0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_preBuildEvent + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0516: nop - IL_0517: ldarg.0 - IL_0518: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() - IL_051d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0522: ldloc.s 26 - IL_0524: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0529: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_052e: stloc.s 26 - IL_0530: nop - IL_0531: br IL_054c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_PreBuildEvent - IL_0536: nop - IL_0537: ldarg.0 - IL_0538: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_053d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0542: ldloc.s 26 - IL_0544: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0549: stloc.s 26 - IL_054b: nop - IL_054c: ldloc.1 - IL_054d: ldloc.s 26 - IL_054f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0554: callvirt instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::set_ProgramDatabaseFile(class [mscorlib]System.IO.FileInfo) - IL_0559: ldloc.1 - IL_055a: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_055f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_0564: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0569: brtrue IL_0590 + // method line 497 + .method public hidebysig specialname + instance default string get_PostBuildEvent () cil managed + { + // Method begins at RVA 0x10eec + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_postBuildEvent + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_056e: nop - IL_056f: ldloc.1 - IL_0570: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_0575: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_057a: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_057f: ldloc.1 - IL_0580: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_0585: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_058a: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_058f: nop - IL_0590: nop - IL_0591: ldloc.0 - IL_0592: callvirt instance class NAnt.VSNet.VcProjectConfiguration/LinkerConfig class NAnt.VSNet.VcProjectConfiguration::get_LinkerConfiguration() - IL_0597: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_ImportLibrary() - IL_059c: stloc.s 27 - IL_059e: ldloc.s 27 - IL_05a0: brfalse IL_0604 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_PostBuildEvent - IL_05a5: nop - IL_05a6: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() - IL_05ab: stloc.s 28 - IL_05ad: ldloc.s 28 - IL_05af: ldstr "/IMPLIB:" - IL_05b4: ldloc.s 27 - IL_05b6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_05bb: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_05c0: call string string::Concat(string, string) - IL_05c5: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_05ca: ldloc.1 - IL_05cb: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_05d0: ldloc.s 28 - IL_05d2: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_05d7: pop - IL_05d8: ldloc.s 27 - IL_05da: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_05df: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_05e4: brtrue IL_0603 + // method line 498 + .method private hidebysig specialname + instance default class NAnt.VSNet.ManagedProjectBase get_Project () cil managed + { + // Method begins at RVA 0x10f08 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ManagedProjectBase V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.ProjectSettings::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_05e9: nop - IL_05ea: ldloc.s 27 - IL_05ec: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_05f1: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_05f6: ldloc.s 27 - IL_05f8: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() - IL_05fd: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_0602: nop - IL_0603: nop - IL_0604: ldloc.0 - IL_0605: ldstr "VCLinkerTool" - IL_060a: ldstr "IgnoreDefaultLibraryNames" - IL_060f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0614: stloc.s 29 - IL_0616: ldloc.s 29 - IL_0618: call bool string::IsNullOrEmpty(string) - IL_061d: brtrue IL_0666 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectSettings::get_Project - IL_0622: nop - IL_0623: nop - IL_0624: ldloc.s 29 - IL_0626: ldc.i4.s 0x3b - IL_0628: ldc.i4.0 - IL_0629: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_062e: stloc.s 31 - IL_0630: ldc.i4.0 - IL_0631: stloc.s 32 - IL_0633: br IL_065a + // method line 499 + .method family virtual hidebysig newslot + instance default valuetype NAnt.VSNet.ManagedOutputType GetOutputType (class [System.Xml]System.Xml.XmlElement settingsXml) cil managed + { + // Method begins at RVA 0x10f24 + // Code size 204 (0xcc) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1, + valuetype NAnt.VSNet.ManagedOutputType V_2) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0007: ldstr "OutputType" + IL_000c: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: brtrue IL_003e - IL_0638: ldloc.s 31 - IL_063a: ldloc.s 32 - IL_063c: ldelem.ref - IL_063d: stloc.s 30 - IL_063f: nop - IL_0640: ldloc.1 - IL_0641: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_IgnoreLibraries() - IL_0646: ldloc.s 30 - IL_0648: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library::'.ctor'(string) - IL_064d: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.LibraryCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Library) - IL_0652: pop - IL_0653: nop - IL_0654: ldloc.s 32 - IL_0656: ldc.i4.1 - IL_0657: add - IL_0658: stloc.s 32 - IL_065a: ldloc.s 32 - IL_065c: ldloc.s 31 - IL_065e: ldlen - IL_065f: conv.i4 - IL_0660: blt IL_0638 + IL_0018: nop + IL_0019: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001e: ldstr "Project \"{0}\" is invalid: the output type is not set." + IL_0023: ldarg.0 + IL_0024: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() + IL_0029: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_002e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0033: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0038: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_003d: throw + IL_003e: ldloc.0 + IL_003f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0044: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0049: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_004e: stloc.1 + IL_004f: ldloc.1 + IL_0050: brfalse IL_009f + + IL_0055: ldloc.1 + IL_0056: ldstr "library" + IL_005b: call bool string::op_Equality(string, string) + IL_0060: brtrue IL_008a + + IL_0065: ldloc.1 + IL_0066: ldstr "exe" + IL_006b: call bool string::op_Equality(string, string) + IL_0070: brtrue IL_0091 - IL_0665: nop - IL_0666: ldloc.0 - IL_0667: ldstr "VCLinkerTool" - IL_066c: ldstr "ForceSymbolReferences" - IL_0671: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0676: stloc.s 33 - IL_0678: ldloc.s 33 - IL_067a: call bool string::IsNullOrEmpty(string) - IL_067f: brtrue IL_06c8 + IL_0075: ldloc.1 + IL_0076: ldstr "winexe" + IL_007b: call bool string::op_Equality(string, string) + IL_0080: brtrue IL_0098 - IL_0684: nop - IL_0685: nop - IL_0686: ldloc.s 33 - IL_0688: ldc.i4.s 0x3b - IL_068a: ldc.i4.0 - IL_068b: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0690: stloc.s 35 - IL_0692: ldc.i4.0 - IL_0693: stloc.s 36 - IL_0695: br IL_06bc + IL_0085: br IL_009f - IL_069a: ldloc.s 35 - IL_069c: ldloc.s 36 - IL_069e: ldelem.ref - IL_069f: stloc.s 34 - IL_06a1: nop - IL_06a2: ldloc.1 - IL_06a3: callvirt instance class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Symbols() - IL_06a8: ldloc.s 34 - IL_06aa: newobj instance void class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol::'.ctor'(string) - IL_06af: callvirt instance int32 class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.SymbolCollection::Add(class [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.Symbol) - IL_06b4: pop - IL_06b5: nop - IL_06b6: ldloc.s 36 - IL_06b8: ldc.i4.1 - IL_06b9: add - IL_06ba: stloc.s 36 - IL_06bc: ldloc.s 36 - IL_06be: ldloc.s 35 - IL_06c0: ldlen - IL_06c1: conv.i4 - IL_06c2: blt IL_069a + IL_008a: ldc.i4.1 + IL_008b: stloc.2 + IL_008c: br IL_00ca - IL_06c7: nop - IL_06c8: ldloc.0 - IL_06c9: ldstr "VCLinkerTool" - IL_06ce: ldstr "GenerateMapFile" - IL_06d3: ldstr "FALSE" - IL_06d8: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_06dd: call bool bool::Parse(string) - IL_06e2: stloc.s 37 - IL_06e4: ldloc.s 37 - IL_06e6: brfalse IL_074d + IL_0091: ldc.i4.2 + IL_0092: stloc.2 + IL_0093: br IL_00ca - IL_06eb: nop - IL_06ec: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() - IL_06f1: stloc.s 38 - IL_06f3: ldloc.0 - IL_06f4: ldstr "VCLinkerTool" - IL_06f9: ldstr "MapFileName" - IL_06fe: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0703: stloc.s 39 - IL_0705: ldloc.s 39 - IL_0707: call bool string::IsNullOrEmpty(string) - IL_070c: brtrue IL_0730 + IL_0098: ldc.i4.3 + IL_0099: stloc.2 + IL_009a: br IL_00ca - IL_0711: nop - IL_0712: ldloc.s 38 - IL_0714: ldstr "/MAP:" - IL_0719: ldloc.s 39 - IL_071b: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_0720: call string string::Concat(string, string) - IL_0725: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_072a: nop - IL_072b: br IL_073e + IL_009f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a4: ldstr "Output type \"{0}\" of project \"{1}\" is not supported." + IL_00a9: ldloc.0 + IL_00aa: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00af: ldarg.0 + IL_00b0: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() + IL_00b5: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_00ba: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00bf: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00c4: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00c9: throw + IL_00ca: ldloc.2 + IL_00cb: ret + } // end of method ProjectSettings::GetOutputType - IL_0730: nop - IL_0731: ldloc.s 38 - IL_0733: ldstr "/MAP" - IL_0738: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_073d: nop - IL_073e: ldloc.1 - IL_073f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0744: ldloc.s 38 - IL_0746: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_074b: pop - IL_074c: nop - IL_074d: ldloc.0 - IL_074e: ldstr "VCLinkerTool" - IL_0753: ldstr "HeapReserveSize" - IL_0758: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_075d: stloc.s 40 - IL_075f: ldloc.s 40 - IL_0761: call bool string::IsNullOrEmpty(string) - IL_0766: brtrue IL_07d6 + // method line 500 + .method public static hidebysig + default string GetProjectGuid (string projectFile, class [System.Xml]System.Xml.XmlElement elemRoot) cil managed + { + // Method begins at RVA 0x10ffc + // Code size 92 (0x5c) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_FirstChild() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_000c: ldstr "ProjectGuid" + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brtrue IL_0044 - IL_076b: nop - IL_076c: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() - IL_0771: stloc.s 41 - IL_0773: ldloc.0 - IL_0774: ldstr "VCLinkerTool" - IL_0779: ldstr "HeapCommitSize" - IL_077e: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0783: stloc.s 42 - IL_0785: ldloc.s 42 - IL_0787: call bool string::IsNullOrEmpty(string) - IL_078c: brtrue IL_07b2 + IL_001d: nop + IL_001e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0023: ldstr "Project file '{0}' is not valid. There's no \"ProjectGuid\" attribute on the <{1} ... /> node." + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_FirstChild() + IL_002f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0034: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0039: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_003e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0043: throw + IL_0044: ldloc.0 + IL_0045: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004f: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) + IL_0054: stloc.1 + IL_0055: br IL_005a - IL_0791: nop - IL_0792: ldloc.s 41 - IL_0794: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0799: ldstr "/HEAP:{0},{1}" - IL_079e: ldloc.s 40 - IL_07a0: ldloc.s 42 - IL_07a2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_07a7: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_07ac: nop - IL_07ad: br IL_07c7 + IL_005a: ldloc.1 + IL_005b: ret + } // end of method ProjectSettings::GetProjectGuid - IL_07b2: nop - IL_07b3: ldloc.s 41 - IL_07b5: ldstr "/HEAP:" - IL_07ba: ldloc.s 40 - IL_07bc: call string string::Concat(string, string) - IL_07c1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_07c6: nop - IL_07c7: ldloc.1 - IL_07c8: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_07cd: ldloc.s 41 - IL_07cf: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_07d4: pop - IL_07d5: nop - IL_07d6: ldloc.0 - IL_07d7: ldstr "VCLinkerTool" - IL_07dc: ldstr "StackReserveSize" - IL_07e1: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_07e6: stloc.s 43 - IL_07e8: ldloc.s 43 - IL_07ea: call bool string::IsNullOrEmpty(string) - IL_07ef: brtrue IL_085f + // method line 501 + .method public hidebysig + instance default string GetTemporaryFilename (string fileName) cil managed + { + // Method begins at RVA 0x11064 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectSettings::get_TemporaryFiles() + IL_0007: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_000c: ldarg.1 + IL_000d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_07f4: nop - IL_07f5: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() - IL_07fa: stloc.s 44 - IL_07fc: ldloc.0 - IL_07fd: ldstr "VCLinkerTool" - IL_0802: ldstr "StackCommitSize" - IL_0807: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_080c: stloc.s 45 - IL_080e: ldloc.s 45 - IL_0810: call bool string::IsNullOrEmpty(string) - IL_0815: brtrue IL_083b + IL_0018: ldloc.0 + IL_0019: ret + } // end of method ProjectSettings::GetTemporaryFilename - IL_081a: nop - IL_081b: ldloc.s 44 - IL_081d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0822: ldstr "/STACK:{0},{1}" - IL_0827: ldloc.s 43 - IL_0829: ldloc.s 45 - IL_082b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0830: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_0835: nop - IL_0836: br IL_0850 + .property instance string[] Settings () + { + .get instance default string[] NAnt.VSNet.ProjectSettings::get_Settings () + } + .property instance class [mscorlib]System.IO.FileInfo ApplicationIcon () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.ProjectSettings::get_ApplicationIcon () + } + .property instance string AssemblyName () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_AssemblyName () + } + .property instance string AssemblyOriginatorKeyFile () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile () + } + .property instance string AssemblyKeyContainerName () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName () + } + .property instance class [System]System.CodeDom.Compiler.TempFileCollection TemporaryFiles () + { + .get instance default class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectSettings::get_TemporaryFiles () + } + .property instance string OutputFileName () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_OutputFileName () + } + .property instance valuetype NAnt.VSNet.ManagedOutputType OutputType () + { + .get instance default valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::get_OutputType () + } + .property instance string OutputExtension () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_OutputExtension () + } + .property instance string RootNamespace () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_RootNamespace () + } + .property instance string Guid () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_Guid () + } + .property instance string RunPostBuildEvent () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_RunPostBuildEvent () + } + .property instance string PreBuildEvent () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_PreBuildEvent () + } + .property instance string PostBuildEvent () + { + .get instance default string NAnt.VSNet.ProjectSettings::get_PostBuildEvent () + } + .property instance class NAnt.VSNet.ManagedProjectBase Project () + { + .get instance default class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.ProjectSettings::get_Project () + } + } // end of class NAnt.VSNet.ProjectSettings +} - IL_083b: nop - IL_083c: ldloc.s 44 - IL_083e: ldstr "/STACK:" - IL_0843: ldloc.s 43 - IL_0845: call string string::Concat(string, string) - IL_084a: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_084f: nop - IL_0850: ldloc.1 - IL_0851: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0856: ldloc.s 44 - IL_0858: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_085d: pop - IL_085e: nop - IL_085f: ldloc.0 - IL_0860: callvirt instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() - IL_0865: ldc.i4.2 - IL_0866: bne.un IL_0883 +.namespace NAnt.VSNet +{ + .class private auto ansi sealed beforefieldinit ProjectFactory + extends [mscorlib]System.Object + { + .field private initonly class [mscorlib]System.Collections.Hashtable _cachedProjects + .field private initonly class [mscorlib]System.Collections.Hashtable _cachedProjectGuids + .field private initonly class [mscorlib]System.Collections.Hashtable _cachedProjectXml + .field private initonly class [mscorlib]System.Collections.ArrayList _projectprovs - IL_086b: nop - IL_086c: ldloc.1 - IL_086d: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0872: ldstr "/DLL" - IL_0877: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_087c: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0881: pop - IL_0882: nop - IL_0883: ldloc.0 - IL_0884: ldstr "VCLinkerTool" - IL_0889: ldstr "AdditionalLibraryDirectories" - IL_088e: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0893: stloc.s 46 - IL_0895: ldloc.s 46 - IL_0897: call bool string::IsNullOrEmpty(string) - IL_089c: brtrue IL_0904 + // method line 502 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Tasks.SolutionTask solutionTask) cil managed + { + // Method begins at RVA 0x1108a + // Code size 52 (0x34) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectFactory::_projectprovs + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0018: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects + IL_001d: ldarg.0 + IL_001e: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0023: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectGuids + IL_0028: ldarg.0 + IL_0029: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_002e: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml + IL_0033: ret + } // end of method ProjectFactory::.ctor - IL_08a1: nop - IL_08a2: nop - IL_08a3: ldloc.s 46 - IL_08a5: ldc.i4.2 - IL_08a6: newarr [mscorlib]System.Char - IL_08ab: dup - IL_08ac: ldc.i4.0 - IL_08ad: ldc.i4.s 0x2c - IL_08af: stelem.i2 - IL_08b0: dup - IL_08b1: ldc.i4.1 - IL_08b2: ldc.i4.s 0x3b - IL_08b4: stelem.i2 - IL_08b5: callvirt instance string[] string::Split(char[]) - IL_08ba: stloc.s 48 - IL_08bc: ldc.i4.0 - IL_08bd: stloc.s 49 - IL_08bf: br IL_08f8 + // method line 503 + .method public static hidebysig + default class NAnt.VSNet.ProjectFactory Create (class NAnt.VSNet.Tasks.SolutionTask solutionTask) cil managed + { + // Method begins at RVA 0x110c0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ProjectFactory V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.VSNet.ProjectFactory::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_08c4: ldloc.s 48 - IL_08c6: ldloc.s 49 - IL_08c8: ldelem.ref - IL_08c9: stloc.s 47 - IL_08cb: nop - IL_08cc: ldloc.s 47 - IL_08ce: callvirt instance int32 string::get_Length() - IL_08d3: brtrue IL_08de + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ProjectFactory::Create - IL_08d8: nop - IL_08d9: br IL_08f2 + // method line 504 + .method public static hidebysig + default bool IsUrl (string fileName) cil managed + { + // Method begins at RVA 0x110dc + // Code size 66 (0x42) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldsfld string [System]System.Uri::UriSchemeFile + IL_0007: callvirt instance bool string::StartsWith(string) + IL_000c: brtrue IL_0031 - IL_08de: ldloc.1 - IL_08df: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() - IL_08e4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_08e9: ldloc.s 47 - IL_08eb: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_08f0: pop - IL_08f1: nop - IL_08f2: ldloc.s 49 - IL_08f4: ldc.i4.1 - IL_08f5: add - IL_08f6: stloc.s 49 - IL_08f8: ldloc.s 49 - IL_08fa: ldloc.s 48 - IL_08fc: ldlen - IL_08fd: conv.i4 - IL_08fe: blt IL_08c4 + IL_0011: ldarg.0 + IL_0012: ldsfld string [System]System.Uri::UriSchemeHttp + IL_0017: callvirt instance bool string::StartsWith(string) + IL_001c: brtrue IL_0031 - IL_0903: nop - IL_0904: ldloc.0 - IL_0905: ldstr "VCLinkerTool" - IL_090a: ldstr "AddModuleNamesToAssembly" - IL_090f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0914: stloc.s 50 - IL_0916: ldloc.s 50 - IL_0918: call bool string::IsNullOrEmpty(string) - IL_091d: brtrue IL_0966 + IL_0021: ldarg.0 + IL_0022: ldsfld string [System]System.Uri::UriSchemeHttps + IL_0027: callvirt instance bool string::StartsWith(string) + IL_002c: brfalse IL_0039 - IL_0922: nop - IL_0923: nop - IL_0924: ldloc.s 50 - IL_0926: ldc.i4.s 0x3b - IL_0928: ldc.i4.0 - IL_0929: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_092e: stloc.s 52 - IL_0930: ldc.i4.0 - IL_0931: stloc.s 53 - IL_0933: br IL_095a + IL_0031: nop + IL_0032: ldc.i4.1 + IL_0033: stloc.0 + IL_0034: br IL_0040 + + IL_0039: ldc.i4.0 + IL_003a: stloc.0 + IL_003b: br IL_0040 + + IL_0040: ldloc.0 + IL_0041: ret + } // end of method ProjectFactory::IsUrl + + // method line 505 + .method public hidebysig + instance default class [System.Xml]System.Xml.XmlDocument LoadProjectXml (string path) cil managed + { + // Method begins at RVA 0x1112c + // Code size 220 (0xdc) + .maxstack 3 + .locals init ( + class [System.Xml]System.Xml.XmlDocument V_0, + class [mscorlib]System.IO.StreamReader V_1, + class [System]System.Uri V_2, + class [mscorlib]System.IO.StreamReader V_3, + class [System.Xml]System.Xml.XmlDocument V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_000d: brtrue IL_00c1 + + IL_0012: nop + IL_0013: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0018: stloc.0 + IL_0019: ldarg.1 + IL_001a: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) + IL_001f: brtrue IL_0053 + + IL_0024: nop + IL_0025: ldarg.1 + IL_0026: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_002b: ldc.i4.1 + IL_002c: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_0031: stloc.1 + .try { // 0 + IL_0032: nop + IL_0033: ldloc.0 + IL_0034: ldloc.1 + IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.TextReader) + IL_003a: nop + IL_003b: leave IL_004d - IL_0938: ldloc.s 52 - IL_093a: ldloc.s 53 - IL_093c: ldelem.ref - IL_093d: stloc.s 51 - IL_093f: nop - IL_0940: ldloc.1 - IL_0941: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_Modules() - IL_0946: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_094b: ldloc.s 51 - IL_094d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0952: pop - IL_0953: nop - IL_0954: ldloc.s 53 - IL_0956: ldc.i4.1 - IL_0957: add - IL_0958: stloc.s 53 - IL_095a: ldloc.s 53 - IL_095c: ldloc.s 52 - IL_095e: ldlen - IL_095f: conv.i4 - IL_0960: blt IL_0938 + } // end .try 0 + finally { // 0 + IL_0040: ldloc.1 + IL_0041: brfalse IL_004c - IL_0965: nop - IL_0966: ldloc.0 - IL_0967: ldstr "VCLinkerTool" - IL_096c: ldstr "EmbedManagedResourceFile" - IL_0971: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0976: stloc.s 54 - IL_0978: ldloc.s 54 - IL_097a: call bool string::IsNullOrEmpty(string) - IL_097f: brtrue IL_09c8 + IL_0046: ldloc.1 + IL_0047: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_004c: endfinally + } // end handler 0 + IL_004d: nop + IL_004e: br IL_00b3 - IL_0984: nop - IL_0985: nop - IL_0986: ldloc.s 54 - IL_0988: ldc.i4.s 0x3b - IL_098a: ldc.i4.0 - IL_098b: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0990: stloc.s 56 - IL_0992: ldc.i4.0 - IL_0993: stloc.s 57 - IL_0995: br IL_09bc + IL_0053: nop + IL_0054: ldarg.1 + IL_0055: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_005a: stloc.2 + IL_005b: ldloc.2 + IL_005c: callvirt instance string class [System]System.Uri::get_Scheme() + IL_0061: ldsfld string [System]System.Uri::UriSchemeFile + IL_0066: call bool string::op_Equality(string, string) + IL_006b: brfalse IL_00a4 - IL_099a: ldloc.s 56 - IL_099c: ldloc.s 57 - IL_099e: ldelem.ref - IL_099f: stloc.s 55 - IL_09a1: nop - IL_09a2: ldloc.1 - IL_09a3: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() - IL_09a8: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_09ad: ldloc.s 55 - IL_09af: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_09b4: pop - IL_09b5: nop - IL_09b6: ldloc.s 57 - IL_09b8: ldc.i4.1 - IL_09b9: add - IL_09ba: stloc.s 57 - IL_09bc: ldloc.s 57 - IL_09be: ldloc.s 56 - IL_09c0: ldlen - IL_09c1: conv.i4 - IL_09c2: blt IL_099a + IL_0070: nop + IL_0071: ldloc.2 + IL_0072: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_0077: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_007c: ldc.i4.1 + IL_007d: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_0082: stloc.3 + .try { // 1 + IL_0083: nop + IL_0084: ldloc.0 + IL_0085: ldloc.3 + IL_0086: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.TextReader) + IL_008b: nop + IL_008c: leave IL_009e - IL_09c7: nop - IL_09c8: ldloc.0 - IL_09c9: ldstr "VCLinkerTool" - IL_09ce: ldarg.0 - IL_09cf: ldfld class NAnt.VSNet.VcArgumentMap NAnt.VSNet.VcProject::_linkerArgMap - IL_09d4: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap) - IL_09d9: stloc.s 58 - IL_09db: nop - IL_09dc: ldloc.s 58 - IL_09de: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_09e3: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_09e8: stloc.s 60 - .try { // 2 - IL_09ea: br IL_0a1d + } // end .try 1 + finally { // 1 + IL_0091: ldloc.3 + IL_0092: brfalse IL_009d - IL_09ef: ldloc.s 60 - IL_09f1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_09f6: castclass [mscorlib]System.String - IL_09fb: stloc.s 59 - IL_09fd: nop - IL_09fe: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'() - IL_0a03: stloc.s 61 - IL_0a05: ldloc.s 61 - IL_0a07: ldloc.s 59 - IL_0a09: callvirt instance void class [NAnt.Core]NAnt.Core.Types.Argument::set_Line(string) - IL_0a0e: ldloc.1 - IL_0a0f: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0a14: ldloc.s 61 - IL_0a16: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0a1b: pop - IL_0a1c: nop - IL_0a1d: ldloc.s 60 - IL_0a1f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0a24: brtrue IL_09ef + IL_0097: ldloc.3 + IL_0098: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009d: endfinally + } // end handler 1 + IL_009e: nop + IL_009f: br IL_00b2 - IL_0a29: leave IL_0a45 + IL_00a4: nop + IL_00a5: ldloc.0 + IL_00a6: ldarg.1 + IL_00a7: call string class NAnt.VSNet.WebDavClient::GetFileContentsStatic(string) + IL_00ac: callvirt instance void class [System.Xml]System.Xml.XmlDocument::LoadXml(string) + IL_00b1: nop + IL_00b2: nop + IL_00b3: ldarg.0 + IL_00b4: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml + IL_00b9: ldarg.1 + IL_00ba: ldloc.0 + IL_00bb: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00c0: nop + IL_00c1: ldarg.0 + IL_00c2: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml + IL_00c7: ldarg.1 + IL_00c8: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_00cd: castclass [System.Xml]System.Xml.XmlDocument + IL_00d2: stloc.s 4 + IL_00d4: br IL_00d9 - } // end .try 2 - finally { // 2 - IL_0a2e: ldloc.s 60 - IL_0a30: isinst [mscorlib]System.IDisposable - IL_0a35: dup - IL_0a36: stloc.s 62 - IL_0a38: brfalse IL_0a44 + IL_00d9: ldloc.s 4 + IL_00db: ret + } // end of method ProjectFactory::LoadProjectXml - IL_0a3d: ldloc.s 62 - IL_0a3f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0a44: endfinally - } // end handler 2 - IL_0a45: ldloc.0 - IL_0a46: ldstr "VCLinkerTool" - IL_0a4b: ldstr "AdditionalOptions" - IL_0a50: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0a55: stloc.s 63 - IL_0a57: ldloc.s 63 - IL_0a59: call bool string::IsNullOrEmpty(string) - IL_0a5e: brtrue IL_0ae6 + // method line 506 + .method public hidebysig + instance default class NAnt.VSNet.ProjectBase LoadProject (class NAnt.VSNet.SolutionBase solution, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver referencesResolver, class [mscorlib]System.IO.DirectoryInfo outputDir, string path) cil managed + { + // Method begins at RVA 0x11230 + // Code size 79 (0x4f) + .maxstack 8 + .locals init ( + class NAnt.VSNet.ProjectBase V_0, + class NAnt.VSNet.ProjectBase V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects + IL_0007: ldarg.s 7 + IL_0009: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_000e: brtrue IL_0035 - IL_0a63: nop - IL_0a64: ldloc.s 63 - IL_0a66: newobj instance void class [mscorlib]System.IO.StringReader::'.ctor'(string) - IL_0a6b: stloc.s 64 - .try { // 3 - IL_0a6d: nop - IL_0a6e: ldloc.s 64 - IL_0a70: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0a75: stloc.s 65 - IL_0a77: br IL_0ac9 + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldarg.1 + IL_0016: ldarg.2 + IL_0017: ldarg.3 + IL_0018: ldarg.s 4 + IL_001a: ldarg.s 5 + IL_001c: ldarg.s 6 + IL_001e: ldarg.s 7 + IL_0020: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectFactory::CreateProject(class NAnt.VSNet.SolutionBase, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo, string) + IL_0025: stloc.0 + IL_0026: ldarg.0 + IL_0027: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects + IL_002c: ldarg.s 7 + IL_002e: ldloc.0 + IL_002f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0034: nop + IL_0035: ldarg.0 + IL_0036: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects + IL_003b: ldarg.s 7 + IL_003d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0042: castclass NAnt.VSNet.ProjectBase + IL_0047: stloc.1 + IL_0048: br IL_004d - IL_0a7c: nop - IL_0a7d: nop - IL_0a7e: ldloc.s 65 - IL_0a80: ldc.i4.s 0x20 - IL_0a82: ldc.i4.0 - IL_0a83: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_0a88: stloc.s 67 - IL_0a8a: ldc.i4.0 - IL_0a8b: stloc.s 68 - IL_0a8d: br IL_0ab4 + IL_004d: ldloc.1 + IL_004e: ret + } // end of method ProjectFactory::LoadProject - IL_0a92: ldloc.s 67 - IL_0a94: ldloc.s 68 - IL_0a96: ldelem.ref - IL_0a97: stloc.s 66 - IL_0a99: nop - IL_0a9a: ldloc.1 - IL_0a9b: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0aa0: ldloc.s 66 - IL_0aa2: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0aa7: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0aac: pop - IL_0aad: nop - IL_0aae: ldloc.s 68 - IL_0ab0: ldc.i4.1 - IL_0ab1: add - IL_0ab2: stloc.s 68 - IL_0ab4: ldloc.s 68 - IL_0ab6: ldloc.s 67 - IL_0ab8: ldlen - IL_0ab9: conv.i4 - IL_0aba: blt IL_0a92 + // method line 507 + .method public hidebysig + instance default string LoadGuid (string fileName) cil managed + { + // Method begins at RVA 0x1128c + // Code size 191 (0xbf) + .maxstack 4 + .locals init ( + string V_0, + string V_1, + string V_2, + class [System.Xml]System.Xml.XmlElement V_3, + class [System.Xml]System.Xml.XmlDocument V_4, + class [mscorlib]System.Exception V_5, + class NAnt.VSNet.Extensibility.IProjectBuildProvider V_6) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_000d: brfalse IL_002f - IL_0abf: ldloc.s 64 - IL_0ac1: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0ac6: stloc.s 65 - IL_0ac8: nop - IL_0ac9: ldloc.s 65 - IL_0acb: brtrue IL_0a7c + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects + IL_0019: ldarg.1 + IL_001a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_001f: castclass NAnt.VSNet.ProjectBase + IL_0024: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0029: stloc.0 + IL_002a: br IL_00bd - IL_0ad0: nop - IL_0ad1: leave IL_0ae5 + IL_002f: ldarg.1 + IL_0030: call string class NAnt.VSNet.ProjectFactory::GetProjectFileName(string) + IL_0035: stloc.1 + IL_0036: ldloc.1 + IL_0037: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0041: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0046: stloc.2 + .try { // 0 + IL_0047: nop + IL_0048: ldarg.0 + IL_0049: ldarg.1 + IL_004a: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.VSNet.ProjectFactory::LoadProjectXml(string) + IL_004f: stloc.s 4 + IL_0051: ldloc.s 4 + IL_0053: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0058: stloc.3 + IL_0059: nop + IL_005a: leave IL_007f - } // end .try 3 - finally { // 3 - IL_0ad6: ldloc.s 64 - IL_0ad8: brfalse IL_0ae4 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_005f: stloc.s 5 + IL_0061: nop + IL_0062: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0067: ldstr "Error loading project '{0}'." + IL_006c: ldarg.1 + IL_006d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0072: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0077: ldloc.s 5 + IL_0079: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_007e: throw + } // end handler 0 + IL_007f: ldarg.0 + IL_0080: ldloc.2 + IL_0081: ldloc.3 + IL_0082: call instance class NAnt.VSNet.Extensibility.IProjectBuildProvider class NAnt.VSNet.ProjectFactory::FindProvider(string, class [System.Xml]System.Xml.XmlElement) + IL_0087: stloc.s 6 + IL_0089: ldloc.s 6 + IL_008b: brfalse IL_00a6 - IL_0add: ldloc.s 64 - IL_0adf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0ae4: endfinally - } // end handler 3 - IL_0ae5: nop - IL_0ae6: ldloc.0 - IL_0ae7: callvirt instance bool class NAnt.VSNet.VcProjectConfiguration::get_WholeProgramOptimization() - IL_0aec: brfalse IL_0b09 + IL_0090: nop + IL_0091: ldarg.0 + IL_0092: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectGuids + IL_0097: ldarg.1 + IL_0098: ldloc.s 6 + IL_009a: ldloc.3 + IL_009b: callvirt instance string class NAnt.VSNet.Extensibility.IProjectBuildProvider::LoadGuid(class [System.Xml]System.Xml.XmlElement) + IL_00a0: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00a5: nop + IL_00a6: ldarg.0 + IL_00a7: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectGuids + IL_00ac: ldarg.1 + IL_00ad: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_00b2: castclass [mscorlib]System.String + IL_00b7: stloc.0 + IL_00b8: br IL_00bd - IL_0af1: nop - IL_0af2: ldloc.1 - IL_0af3: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0af8: ldstr "/LTCG" - IL_0afd: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0b02: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0b07: pop - IL_0b08: nop - IL_0b09: ldarg.0 - IL_0b0a: ldloc.1 - IL_0b0b: call instance void class NAnt.VSNet.VcProject::ExecuteInProjectDirectory(class [NAnt.Core]NAnt.Core.Task) - IL_0b10: ret - } // end of method VcProject::RunLinker + IL_00bd: ldloc.0 + IL_00be: ret + } // end of method ProjectFactory::LoadGuid - // method line 441 + // method line 508 + .method public hidebysig + instance default void RegisterProvider (class NAnt.VSNet.Extensibility.IProjectBuildProvider provider) cil managed + { + // Method begins at RVA 0x11368 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectFactory::_projectprovs + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_000d: pop + IL_000e: ret + } // end of method ProjectFactory::RegisterProvider + + // method line 509 .method private hidebysig - instance default void ExecuteInProjectDirectory (class [NAnt.Core]NAnt.Core.Task task) cil managed + instance default class NAnt.VSNet.ProjectBase CreateProject (class NAnt.VSNet.SolutionBase solution, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver referencesResolver, class [mscorlib]System.IO.DirectoryInfo outputDir, string projectPath) cil managed { - // Method begins at RVA 0x112ec - // Code size 101 (0x65) - .maxstack 2 + // Method begins at RVA 0x11378 + // Code size 181 (0xb5) + .maxstack 9 .locals init ( - string V_0) + string V_0, + string V_1, + class NAnt.VSNet.ProjectBase V_2, + class [System.Xml]System.Xml.XmlElement V_3, + class [System.Xml]System.Xml.XmlDocument V_4, + class [mscorlib]System.Exception V_5, + class NAnt.VSNet.Extensibility.IProjectBuildProvider V_6) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000c: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0011: stloc.0 - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0018: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001d: ldarg.0 - IL_001e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0023: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Project::set_BaseDirectory(string) + IL_0001: ldarg.s 7 + IL_0003: call string class NAnt.VSNet.ProjectFactory::GetProjectFileName(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_000f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0014: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0019: stloc.1 + IL_001a: ldloc.1 + IL_001b: ldstr ".vdproj" + IL_0020: call bool string::op_Equality(string, string) + IL_0025: brfalse IL_0032 + + IL_002a: nop + IL_002b: ldnull + IL_002c: stloc.2 + IL_002d: br IL_00b3 + .try { // 0 - IL_002d: nop - IL_002e: ldarg.1 - IL_002f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0034: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - IL_0039: ldarg.1 - IL_003a: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_003f: nop - IL_0040: leave IL_0064 + IL_0032: nop + IL_0033: ldarg.0 + IL_0034: ldarg.s 7 + IL_0036: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.VSNet.ProjectFactory::LoadProjectXml(string) + IL_003b: stloc.s 4 + IL_003d: ldloc.s 4 + IL_003f: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() + IL_0044: stloc.3 + IL_0045: nop + IL_0046: leave IL_006c } // end .try 0 - finally { // 0 - IL_0045: nop - IL_0046: ldarg.0 - IL_0047: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_004c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0051: ldloc.0 - IL_0052: callvirt instance void class [NAnt.Core]NAnt.Core.Project::set_BaseDirectory(string) - IL_0057: ldarg.1 - IL_0058: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_005d: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0062: nop - IL_0063: endfinally + catch class [mscorlib]System.Exception { // 0 + IL_004b: stloc.s 5 + IL_004d: nop + IL_004e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0053: ldstr "Error loading project '{0}'." + IL_0058: ldarg.s 7 + IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0064: ldloc.s 5 + IL_0066: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_006b: throw } // end handler 0 - IL_0064: ret - } // end of method VcProject::ExecuteInProjectDirectory + IL_006c: ldarg.0 + IL_006d: ldloc.1 + IL_006e: ldloc.3 + IL_006f: call instance class NAnt.VSNet.Extensibility.IProjectBuildProvider class NAnt.VSNet.ProjectFactory::FindProvider(string, class [System.Xml]System.Xml.XmlElement) + IL_0074: stloc.s 6 + IL_0076: ldloc.s 6 + IL_0078: brfalse IL_0097 + + IL_007d: nop + IL_007e: ldloc.s 6 + IL_0080: ldarg.1 + IL_0081: ldarg.s 7 + IL_0083: ldloc.3 + IL_0084: ldarg.2 + IL_0085: ldarg.3 + IL_0086: ldarg.s 4 + IL_0088: ldarg.s 5 + IL_008a: ldarg.s 6 + IL_008c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.Extensibility.IProjectBuildProvider::GetInstance(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0091: stloc.2 + IL_0092: br IL_00b3 - // method line 442 + IL_0097: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_009c: ldstr "Project '{0}' is invalid or not supported (at this time)." + IL_00a1: ldarg.s 7 + IL_00a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00a8: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00ad: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00b2: throw + IL_00b3: ldloc.2 + IL_00b4: ret + } // end of method ProjectFactory::CreateProject + + // method line 510 .method private hidebysig - instance default string MergeToolSetting (class NAnt.VSNet.VcProjectConfiguration projectConfig, class NAnt.VSNet.VcConfigurationBase fileConfig, string tool, string setting) cil managed + instance default class NAnt.VSNet.Extensibility.IProjectBuildProvider FindProvider (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed { - // Method begins at RVA 0x11370 - // Code size 291 (0x123) + // Method begins at RVA 0x1144c + // Code size 111 (0x6f) .maxstack 3 .locals init ( - string V_0, - string V_1, - string V_2, - string[] V_3, - class [mscorlib]System.Collections.Hashtable V_4, - string V_5, - string[] V_6, - int32 V_7) + int32 V_0, + class NAnt.VSNet.Extensibility.IProjectBuildProvider V_1, + class NAnt.VSNet.Extensibility.IProjectBuildProvider V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + int32 V_4, + class [mscorlib]System.IDisposable V_5, + class NAnt.VSNet.Extensibility.IProjectBuildProvider V_6) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: ldarg.3 - IL_0003: ldarg.s 4 - IL_0005: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_000a: stloc.0 - IL_000b: ldloc.0 - IL_000c: brfalse IL_0094 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldnull + IL_0004: stloc.1 + IL_0005: nop + IL_0006: ldarg.0 + IL_0007: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectFactory::_projectprovs + IL_000c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0011: stloc.3 + .try { // 0 + IL_0012: br IL_003e - IL_0011: nop - IL_0012: ldloc.0 - IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0018: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_001d: ldstr "$(noinherit)" - IL_0022: callvirt instance int32 string::IndexOf(string) - IL_0027: ldc.i4.m1 - IL_0028: bne.un IL_0066 + IL_0017: ldloc.3 + IL_0018: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001d: castclass NAnt.VSNet.Extensibility.IProjectBuildProvider + IL_0022: stloc.2 + IL_0023: nop + IL_0024: ldloc.2 + IL_0025: ldarg.1 + IL_0026: ldarg.2 + IL_0027: callvirt instance int32 class NAnt.VSNet.Extensibility.IProjectBuildProvider::IsSupported(string, class [System.Xml]System.Xml.XmlElement) + IL_002c: stloc.s 4 + IL_002e: ldloc.s 4 + IL_0030: ldloc.0 + IL_0031: ble IL_003d - IL_002d: nop - IL_002e: ldarg.1 - IL_002f: ldarg.2 - IL_0030: call bool object::ReferenceEquals(object, object) - IL_0035: brtrue IL_0060 + IL_0036: nop + IL_0037: ldloc.s 4 + IL_0039: stloc.0 + IL_003a: ldloc.2 + IL_003b: stloc.1 + IL_003c: nop + IL_003d: nop + IL_003e: ldloc.3 + IL_003f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0044: brtrue IL_0017 - IL_003a: nop - IL_003b: ldarg.1 - IL_003c: ldarg.3 - IL_003d: ldarg.s 4 - IL_003f: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0044: stloc.1 - IL_0045: ldloc.1 - IL_0046: call bool string::IsNullOrEmpty(string) - IL_004b: brtrue IL_005f + IL_0049: leave IL_0064 - IL_0050: nop - IL_0051: ldloc.0 - IL_0052: ldstr ";" - IL_0057: ldloc.1 - IL_0058: call string string::Concat(string, string, string) - IL_005d: stloc.0 - IL_005e: nop - IL_005f: nop - IL_0060: nop - IL_0061: br IL_008e + } // end .try 0 + finally { // 0 + IL_004e: ldloc.3 + IL_004f: isinst [mscorlib]System.IDisposable + IL_0054: dup + IL_0055: stloc.s 5 + IL_0057: brfalse IL_0063 - IL_0066: nop - IL_0067: ldloc.0 - IL_0068: ldloc.0 - IL_0069: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006e: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0073: ldstr "$(noinherit)" - IL_0078: callvirt instance int32 string::IndexOf(string) - IL_007d: ldstr "$(noinherit)" - IL_0082: call instance int32 string::get_Length() - IL_0087: callvirt instance string string::Remove(int32, int32) - IL_008c: stloc.0 - IL_008d: nop - IL_008e: nop - IL_008f: br IL_009c + IL_005c: ldloc.s 5 + IL_005e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0063: endfinally + } // end handler 0 + IL_0064: ldloc.1 + IL_0065: stloc.s 6 + IL_0067: br IL_006c - IL_0094: nop - IL_0095: ldnull - IL_0096: stloc.2 - IL_0097: br IL_0121 + IL_006c: ldloc.s 6 + IL_006e: ret + } // end of method ProjectFactory::FindProvider - IL_009c: ldloc.0 - IL_009d: ldc.i4.s 0x3b - IL_009f: ldc.i4.0 - IL_00a0: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_00a5: stloc.3 - IL_00a6: ldsfld string [mscorlib]System.String::Empty - IL_00ab: stloc.0 - IL_00ac: ldloc.3 - IL_00ad: ldlen - IL_00ae: conv.i4 - IL_00af: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) - IL_00b4: stloc.s 4 - IL_00b6: nop - IL_00b7: ldloc.3 - IL_00b8: stloc.s 6 - IL_00ba: ldc.i4.0 - IL_00bb: stloc.s 7 - IL_00bd: br IL_010f + // method line 511 + .method private static hidebysig + default string GetProjectFileName (string fileName) cil managed + { + // Method begins at RVA 0x114d8 + // Code size 53 (0x35) + .maxstack 1 + .locals init ( + string V_0, + class [System]System.Uri V_1, + string V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) + IL_0009: brfalse IL_0023 - IL_00c2: ldloc.s 6 - IL_00c4: ldloc.s 7 - IL_00c6: ldelem.ref - IL_00c7: stloc.s 5 - IL_00c9: nop - IL_00ca: ldloc.s 4 - IL_00cc: ldloc.s 5 - IL_00ce: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_00d3: brtrue IL_0108 + IL_000e: nop + IL_000f: ldarg.0 + IL_0010: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_0015: stloc.1 + IL_0016: ldloc.1 + IL_0017: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_001c: stloc.0 + IL_001d: nop + IL_001e: br IL_0027 - IL_00d8: nop - IL_00d9: ldloc.s 4 - IL_00db: ldloc.s 5 - IL_00dd: ldnull - IL_00de: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_00e3: ldloc.0 - IL_00e4: callvirt instance int32 string::get_Length() - IL_00e9: brfalse IL_00fe + IL_0023: nop + IL_0024: ldarg.0 + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldloc.0 + IL_0028: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_002d: stloc.2 + IL_002e: br IL_0033 - IL_00ee: nop - IL_00ef: ldloc.0 - IL_00f0: ldc.i4.s 0x3b - IL_00f2: box [mscorlib]System.Char - IL_00f7: call string string::Concat(object, object) - IL_00fc: stloc.0 - IL_00fd: nop - IL_00fe: ldloc.0 - IL_00ff: ldloc.s 5 - IL_0101: call string string::Concat(string, string) - IL_0106: stloc.0 - IL_0107: nop - IL_0108: nop - IL_0109: ldloc.s 7 - IL_010b: ldc.i4.1 - IL_010c: add - IL_010d: stloc.s 7 - IL_010f: ldloc.s 7 - IL_0111: ldloc.s 6 - IL_0113: ldlen - IL_0114: conv.i4 - IL_0115: blt IL_00c2 + IL_0033: ldloc.2 + IL_0034: ret + } // end of method ProjectFactory::GetProjectFileName - IL_011a: ldloc.0 - IL_011b: stloc.2 - IL_011c: br IL_0121 + } // end of class NAnt.VSNet.ProjectFactory +} - IL_0121: ldloc.2 - IL_0122: ret - } // end of method VcProject::MergeToolSetting +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit VcWrapperReference + extends NAnt.VSNet.WrapperReferenceBase + { + .field private initonly string _name + .field private initonly string _wrapperTool + .field private initonly string _wrapperAssembly + .field private initonly string _primaryInteropAssembly - // method line 443 - .method private hidebysig - instance default bool PreBuild (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed + // method line 512 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed { - // Method begins at RVA 0x114a0 - // Code size 134 (0x86) - .maxstack 4 + // Method begins at RVA 0x1151c + // Code size 150 (0x96) + .maxstack 5 .locals init ( - string V_0, - bool V_1, - string V_2) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "VCPreBuildEventTool" - IL_0007: ldstr "ExcludedFromBuild" - IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: brfalse IL_003d - - IL_0018: nop - IL_0019: ldloc.0 - IL_001a: callvirt instance string string::Trim() - IL_001f: ldstr "true" - IL_0024: ldc.i4.1 - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_002f: brtrue IL_003c + class [System.Xml]System.Xml.XmlAttribute V_0) + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.VSNet.VcWrapperReference::_name + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldarg.2 + IL_000e: ldarg.3 + IL_000f: ldarg.s 4 + IL_0011: call instance void class NAnt.VSNet.WrapperReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: ldarg.0 + IL_0019: ldarg.0 + IL_001a: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() + IL_001f: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibraryName(string) + IL_0024: stfld string NAnt.VSNet.VcWrapperReference::_name + IL_0029: ldarg.0 + IL_002a: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_002f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0034: ldstr "WrapperTool" + IL_0039: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_003e: stloc.0 + IL_003f: ldloc.0 + IL_0040: brtrue IL_0071 - IL_0034: nop - IL_0035: ldc.i4.1 - IL_0036: stloc.1 - IL_0037: br IL_0084 + IL_0045: nop + IL_0046: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004b: ldstr "Wrapper tool for reference \"{0}\" in project \"{1}\" could not be determined." + IL_0050: ldarg.0 + IL_0051: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0056: ldarg.0 + IL_0057: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_005c: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0061: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0066: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_006b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0070: throw + IL_0071: ldarg.0 + IL_0072: ldloc.0 + IL_0073: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0078: stfld string NAnt.VSNet.VcWrapperReference::_wrapperTool + IL_007d: ldarg.0 + IL_007e: ldarg.0 + IL_007f: call instance string class NAnt.VSNet.WrapperReferenceBase::GetPrimaryInteropAssembly() + IL_0084: stfld string NAnt.VSNet.VcWrapperReference::_primaryInteropAssembly + IL_0089: ldarg.0 + IL_008a: ldarg.0 + IL_008b: call instance string class NAnt.VSNet.WrapperReferenceBase::ResolveWrapperAssembly() + IL_0090: stfld string NAnt.VSNet.VcWrapperReference::_wrapperAssembly + IL_0095: ret + } // end of method VcWrapperReference::.ctor - IL_003c: nop - IL_003d: ldarg.1 - IL_003e: ldstr "VCPreBuildEventTool" - IL_0043: ldstr "CommandLine" - IL_0048: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_004d: stloc.2 - IL_004e: ldloc.2 - IL_004f: call bool string::IsNullOrEmpty(string) - IL_0054: brtrue IL_007d + // method line 513 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x115c0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldc.i4 3000 - IL_0060: ldstr "Performing Pre-Build Event..." - IL_0065: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_006a: ldarg.0 - IL_006b: ldstr "Pre-Build" - IL_0070: ldloc.2 - IL_0071: ldarg.1 - IL_0072: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) - IL_0077: stloc.1 - IL_0078: br IL_0084 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcWrapperReference::get_Name - IL_007d: ldc.i4.1 - IL_007e: stloc.1 - IL_007f: br IL_0084 + // method line 514 + .method public virtual hidebysig specialname + instance default string get_WrapperTool () cil managed + { + // Method begins at RVA 0x115dc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_wrapperTool + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0084: ldloc.1 - IL_0085: ret - } // end of method VcProject::PreBuild + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcWrapperReference::get_WrapperTool - // method line 444 - .method private hidebysig - instance default bool PostBuild (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed + // method line 515 + .method public virtual hidebysig specialname + instance default string get_WrapperAssembly () cil managed { - // Method begins at RVA 0x11534 - // Code size 134 (0x86) - .maxstack 4 + // Method begins at RVA 0x115f8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - bool V_1, - string V_2) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "VCPostBuildEventTool" - IL_0007: ldstr "ExcludedFromBuild" - IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: brfalse IL_003d + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_wrapperAssembly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: nop - IL_0019: ldloc.0 - IL_001a: callvirt instance string string::Trim() - IL_001f: ldstr "true" - IL_0024: ldc.i4.1 - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_002f: brtrue IL_003c + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcWrapperReference::get_WrapperAssembly - IL_0034: nop - IL_0035: ldc.i4.1 - IL_0036: stloc.1 - IL_0037: br IL_0084 + // method line 516 + .method family virtual hidebysig specialname + instance default string get_PrimaryInteropAssembly () cil managed + { + // Method begins at RVA 0x11614 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_primaryInteropAssembly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003c: nop - IL_003d: ldarg.1 - IL_003e: ldstr "VCPostBuildEventTool" - IL_0043: ldstr "CommandLine" - IL_0048: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_004d: stloc.2 - IL_004e: ldloc.2 - IL_004f: call bool string::IsNullOrEmpty(string) - IL_0054: brtrue IL_007d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcWrapperReference::get_PrimaryInteropAssembly - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldc.i4 3000 - IL_0060: ldstr "Performing Post-Build Event..." - IL_0065: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_006a: ldarg.0 - IL_006b: ldstr "Post-Build" - IL_0070: ldloc.2 - IL_0071: ldarg.1 - IL_0072: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) - IL_0077: stloc.1 - IL_0078: br IL_0084 + // method line 517 + .method family virtual hidebysig specialname + instance default string get_TypeLibVersion () cil managed + { + // Method begins at RVA 0x11630 + // Code size 111 (0x6f) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + class [mscorlib]System.Version V_1, + int32 V_2, + int32 V_3, + string V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_000c: ldstr "ControlVersion" + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brtrue IL_0029 - IL_007d: ldc.i4.1 - IL_007e: stloc.1 - IL_007f: br IL_0084 + IL_001d: nop + IL_001e: ldstr "The definition of the reference does not contain a \"ControlVersion\" attribute." + IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0028: throw + IL_0029: ldloc.0 + IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_002f: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0034: stloc.1 + IL_0035: ldloc.1 + IL_0036: callvirt instance int32 class [mscorlib]System.Version::get_Major() + IL_003b: stloc.2 + IL_003c: ldloca.s 2 + IL_003e: ldstr "x" + IL_0043: call instance string int32::ToString(string) + IL_0048: ldstr "." + IL_004d: ldloc.1 + IL_004e: callvirt instance int32 class [mscorlib]System.Version::get_Minor() + IL_0053: stloc.3 + IL_0054: ldloca.s 3 + IL_0056: ldstr "x" + IL_005b: call instance string int32::ToString(string) + IL_0060: call string string::Concat(string, string, string) + IL_0065: stloc.s 4 + IL_0067: br IL_006c - IL_0084: ldloc.1 - IL_0085: ret - } // end of method VcProject::PostBuild + IL_006c: ldloc.s 4 + IL_006e: ret + } // end of method VcWrapperReference::get_TypeLibVersion - // method line 445 - .method private hidebysig - instance default bool PreLink (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed + // method line 518 + .method family virtual hidebysig specialname + instance default string get_TypeLibGuid () cil managed { - // Method begins at RVA 0x115c8 - // Code size 134 (0x86) - .maxstack 4 + // Method begins at RVA 0x116ac + // Code size 55 (0x37) + .maxstack 2 .locals init ( - string V_0, - bool V_1, - string V_2) + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "VCPreLinkEventTool" - IL_0007: ldstr "ExcludedFromBuild" - IL_000c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: brfalse IL_003d + IL_0001: ldarg.0 + IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_000c: ldstr "ControlGUID" + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brtrue IL_0029 - IL_0018: nop - IL_0019: ldloc.0 - IL_001a: callvirt instance string string::Trim() - IL_001f: ldstr "true" - IL_0024: ldc.i4.1 - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_002f: brtrue IL_003c + IL_001d: nop + IL_001e: ldstr "The definition of the reference does not contain a \"ControlGUID\" attribute." + IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0028: throw + IL_0029: ldloc.0 + IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_002f: stloc.1 + IL_0030: br IL_0035 - IL_0034: nop - IL_0035: ldc.i4.1 - IL_0036: stloc.1 - IL_0037: br IL_0084 + IL_0035: ldloc.1 + IL_0036: ret + } // end of method VcWrapperReference::get_TypeLibGuid - IL_003c: nop - IL_003d: ldarg.1 - IL_003e: ldstr "VCPreLinkEventTool" - IL_0043: ldstr "CommandLine" - IL_0048: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_004d: stloc.2 - IL_004e: ldloc.2 - IL_004f: call bool string::IsNullOrEmpty(string) - IL_0054: brtrue IL_007d + // method line 519 + .method family virtual hidebysig specialname + instance default string get_TypeLibLocale () cil managed + { + // Method begins at RVA 0x116f0 + // Code size 73 (0x49) + .maxstack 2 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + int32 V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_000c: ldstr "ControlLocale" + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0016: stloc.0 + IL_0017: ldloc.0 + IL_0018: brfalse IL_003c - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldc.i4 3000 - IL_0060: ldstr "Performing Pre-Link Event..." - IL_0065: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_006a: ldarg.0 - IL_006b: ldstr "Pre-Link" - IL_0070: ldloc.2 - IL_0071: ldarg.1 - IL_0072: call instance bool class NAnt.VSNet.VcProject::ExecuteBuildEvent(string, string, class NAnt.VSNet.ConfigurationBase) - IL_0077: stloc.1 - IL_0078: br IL_0084 + IL_001d: nop + IL_001e: ldloc.0 + IL_001f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0024: call int32 int32::Parse(string) + IL_0029: stloc.1 + IL_002a: ldloca.s 1 + IL_002c: ldstr "x" + IL_0031: call instance string int32::ToString(string) + IL_0036: stloc.2 + IL_0037: br IL_0047 - IL_007d: ldc.i4.1 - IL_007e: stloc.1 - IL_007f: br IL_0084 + IL_003c: ldstr "0" + IL_0041: stloc.2 + IL_0042: br IL_0047 - IL_0084: ldloc.1 - IL_0085: ret - } // end of method VcProject::PreLink + IL_0047: ldloc.2 + IL_0048: ret + } // end of method VcWrapperReference::get_TypeLibLocale - // method line 446 - .method private hidebysig - instance default bool ExecuteBuildEvent (string buildEvent, string buildCommandLine, class NAnt.VSNet.ConfigurationBase config) cil managed + // method line 520 + .method family virtual hidebysig + instance default void ImportTypeLibrary () cil managed { - // Method begins at RVA 0x1165c - // Code size 85 (0x55) - .maxstack 6 + // Method begins at RVA 0x11748 + // Code size 298 (0x12a) + .maxstack 2 .locals init ( - string V_0, - bool V_1) + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask V_0, + class NAnt.VSNet.ReferenceBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class NAnt.VSNet.WrapperReferenceBase V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 + IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0024: ldloc.0 + IL_0025: ldarg.0 + IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0046: ldloc.0 + IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_004c: ldloc.0 + IL_004d: ldarg.0 + IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() + IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) + IL_005d: ldloc.0 + IL_005e: ldarg.0 + IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_006e: nop + IL_006f: ldarg.0 + IL_0070: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0075: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_007a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_007f: stloc.2 .try { // 0 - IL_0003: nop - IL_0004: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: call void class [mscorlib]System.IO.File::Delete(string) - IL_0010: ldloc.0 - IL_0011: ldstr ".bat" - IL_0016: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_001b: stloc.0 - IL_001c: ldarg.0 - IL_001d: ldarg.1 - IL_001e: ldarg.2 - IL_001f: ldloc.0 - IL_0020: ldarg.0 - IL_0021: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0026: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002b: ldarg.3 - IL_002c: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) - IL_0031: stloc.1 - IL_0032: leave IL_0053 + IL_0080: br IL_00dd + + IL_0085: ldloc.2 + IL_0086: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_008b: castclass NAnt.VSNet.ReferenceBase + IL_0090: stloc.1 + IL_0091: nop + IL_0092: ldloc.1 + IL_0093: isinst NAnt.VSNet.WrapperReferenceBase + IL_0098: stloc.3 + IL_0099: ldloc.3 + IL_009a: brfalse IL_00bf + + IL_009f: ldloc.3 + IL_00a0: callvirt instance bool class NAnt.VSNet.WrapperReferenceBase::get_IsCreated() + IL_00a5: brfalse IL_00bf + + IL_00aa: ldloc.3 + IL_00ab: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() + IL_00b0: ldstr "tlbimp" + IL_00b5: call bool string::op_Inequality(string, string) + IL_00ba: brfalse IL_00c5 + + IL_00bf: nop + IL_00c0: leave IL_00dd + + IL_00c5: ldloc.0 + IL_00c6: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::get_References() + IL_00cb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_00d0: ldloc.3 + IL_00d1: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_00d6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00db: pop + IL_00dc: nop + IL_00dd: ldloc.2 + IL_00de: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00e3: brtrue IL_0085 + + IL_00e8: leave IL_0103 } // end .try 0 finally { // 0 - IL_0037: nop - IL_0038: ldloc.0 - IL_0039: brfalse IL_0051 - - IL_003e: ldloc.0 - IL_003f: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0044: brfalse IL_0051 + IL_00ed: ldloc.2 + IL_00ee: isinst [mscorlib]System.IDisposable + IL_00f3: dup + IL_00f4: stloc.s 4 + IL_00f6: brfalse IL_0102 - IL_0049: nop - IL_004a: ldloc.0 - IL_004b: call void class [mscorlib]System.IO.File::Delete(string) - IL_0050: nop - IL_0051: nop - IL_0052: endfinally + IL_00fb: ldloc.s 4 + IL_00fd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0102: endfinally } // end handler 0 - IL_0053: ldloc.1 - IL_0054: ret - } // end of method VcProject::ExecuteBuildEvent + IL_0103: ldloc.0 + IL_0104: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0109: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 1 + IL_010e: nop + IL_010f: ldloc.0 + IL_0110: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0115: nop + IL_0116: leave IL_0129 - // method line 447 - .method private hidebysig - instance default string GetObjectFile (class NAnt.VSNet.VcConfigurationBase fileConfig) cil managed + } // end .try 1 + finally { // 1 + IL_011b: nop + IL_011c: ldloc.0 + IL_011d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0122: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0127: nop + IL_0128: endfinally + } // end handler 1 + IL_0129: ret + } // end of method VcWrapperReference::ImportTypeLibrary + + // method line 521 + .method family virtual hidebysig + instance default void ImportActiveXLibrary () cil managed { - // Method begins at RVA 0x116d0 - // Code size 67 (0x43) + // Method begins at RVA 0x1189c + // Code size 232 (0xe8) .maxstack 4 .locals init ( - string V_0, + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask V_0, string V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "VCCLCompilerTool" - IL_0007: ldstr "ObjectFile" - IL_000c: ldstr "$(IntDir)/" - IL_0011: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: call bool string::IsNullOrEmpty(string) - IL_001d: brtrue IL_003a + IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0024: ldloc.0 + IL_0025: ldarg.0 + IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0035: ldloc.0 + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0046: ldloc.0 + IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_004c: ldloc.0 + IL_004d: ldarg.0 + IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() + IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OcxFile(class [mscorlib]System.IO.FileInfo) + IL_005d: ldloc.0 + IL_005e: ldarg.0 + IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_006e: ldarg.0 + IL_006f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() + IL_0074: stloc.1 + IL_0075: ldloc.1 + IL_0076: brtrue IL_00a8 - IL_0022: nop - IL_0023: ldarg.0 - IL_0024: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0029: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002e: ldloc.0 - IL_002f: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0034: stloc.1 - IL_0035: br IL_0041 + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0082: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() + IL_0087: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_008c: ldstr "Interop." + IL_0091: ldarg.0 + IL_0092: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() + IL_0097: ldstr ".dll" + IL_009c: call string string::Concat(string, string, string) + IL_00a1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00a6: stloc.1 + IL_00a7: nop + IL_00a8: ldloc.1 + IL_00a9: call bool class [mscorlib]System.IO.File::Exists(string) + IL_00ae: brfalse IL_00c1 - IL_003a: ldnull - IL_003b: stloc.1 - IL_003c: br IL_0041 + IL_00b3: nop + IL_00b4: ldloc.0 + IL_00b5: ldloc.1 + IL_00b6: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00bb: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_RcwFile(class [mscorlib]System.IO.FileInfo) + IL_00c0: nop + IL_00c1: ldloc.0 + IL_00c2: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00c7: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 0 + IL_00cc: nop + IL_00cd: ldloc.0 + IL_00ce: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_00d3: nop + IL_00d4: leave IL_00e7 - IL_0041: ldloc.1 - IL_0042: ret - } // end of method VcProject::GetObjectFile + } // end .try 0 + finally { // 0 + IL_00d9: nop + IL_00da: ldloc.0 + IL_00db: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00e0: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_00e5: nop + IL_00e6: endfinally + } // end handler 0 + IL_00e7: ret + } // end of method VcWrapperReference::ImportActiveXLibrary - // method line 448 - .method private hidebysig - instance default class NAnt.VSNet.ProjectBaseCollection GetVcProjectDependencies () cil managed + .property instance string Name () + { + .get instance default string NAnt.VSNet.VcWrapperReference::get_Name () + } + .property instance string WrapperTool () + { + .get instance default string NAnt.VSNet.VcWrapperReference::get_WrapperTool () + } + .property instance string WrapperAssembly () + { + .get instance default string NAnt.VSNet.VcWrapperReference::get_WrapperAssembly () + } + .property instance string PrimaryInteropAssembly () + { + .get instance default string NAnt.VSNet.VcWrapperReference::get_PrimaryInteropAssembly () + } + .property instance string TypeLibVersion () + { + .get instance default string NAnt.VSNet.VcWrapperReference::get_TypeLibVersion () + } + .property instance string TypeLibGuid () + { + .get instance default string NAnt.VSNet.VcWrapperReference::get_TypeLibGuid () + } + .property instance string TypeLibLocale () + { + .get instance default string NAnt.VSNet.VcWrapperReference::get_TypeLibLocale () + } + } // end of class NAnt.VSNet.VcWrapperReference +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ManagedAssemblyReference + extends NAnt.VSNet.AssemblyReferenceBase + { + .field private initonly string _assemblyFile + .field private initonly bool _isPrivateSpecified + .field private initonly bool _isPrivate + .field private initonly string _name + + // method line 522 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed { - // Method begins at RVA 0x11720 - // Code size 254 (0xfe) - .maxstack 2 + // Method begins at RVA 0x119a0 + // Code size 127 (0x7f) + .maxstack 5 .locals init ( - class NAnt.VSNet.ProjectBaseCollection V_0, - class NAnt.VSNet.ProjectBase V_1, - class NAnt.VSNet.ProjectBaseEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.VSNet.ReferenceBase V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class NAnt.VSNet.ProjectReferenceBase V_6, - class NAnt.VSNet.VcProject V_7, - class [mscorlib]System.IDisposable V_8, - class NAnt.VSNet.ProjectBaseCollection V_9) - IL_0000: nop - IL_0001: newobj instance void class NAnt.VSNet.ProjectBaseCollection::'.ctor'() - IL_0006: stloc.0 - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() - IL_000e: callvirt instance class NAnt.VSNet.ProjectBaseEnumerator class NAnt.VSNet.ProjectBaseCollection::GetEnumerator() - IL_0013: stloc.2 - .try { // 0 - IL_0014: br IL_0037 + class [System.Xml]System.Xml.XmlAttribute V_0, + class [System.Xml]System.Xml.XmlAttribute V_1) + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.VSNet.ManagedAssemblyReference::_name + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldarg.2 + IL_000e: ldarg.3 + IL_000f: ldarg.s 4 + IL_0011: call instance void class NAnt.VSNet.AssemblyReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_0016: nop + IL_0017: ldarg.1 + IL_0018: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_001d: ldstr "Private" + IL_0022: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0027: stloc.0 + IL_0028: ldloc.0 + IL_0029: brfalse IL_0048 + + IL_002e: nop + IL_002f: ldarg.0 + IL_0030: ldc.i4.1 + IL_0031: stfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivateSpecified + IL_0036: ldarg.0 + IL_0037: ldloc.0 + IL_0038: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_003d: call bool bool::Parse(string) + IL_0042: stfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivate + IL_0047: nop + IL_0048: ldarg.0 + IL_0049: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_004e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0053: ldstr "AssemblyName" + IL_0058: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_005d: stloc.1 + IL_005e: ldloc.1 + IL_005f: brfalse IL_0072 - IL_0019: ldloc.2 - IL_001a: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseEnumerator::get_Current() - IL_001f: stloc.1 - IL_0020: nop - IL_0021: ldloc.1 - IL_0022: isinst NAnt.VSNet.VcProject - IL_0027: brfalse IL_0036 + IL_0064: nop + IL_0065: ldarg.0 + IL_0066: ldloc.1 + IL_0067: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_006c: stfld string NAnt.VSNet.ManagedAssemblyReference::_name + IL_0071: nop + IL_0072: ldarg.0 + IL_0073: ldarg.0 + IL_0074: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_0079: stfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile + IL_007e: ret + } // end of method ManagedAssemblyReference::.ctor - IL_002c: nop - IL_002d: ldloc.0 - IL_002e: ldloc.1 - IL_002f: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) - IL_0034: pop - IL_0035: nop - IL_0036: nop - IL_0037: ldloc.2 - IL_0038: callvirt instance bool class NAnt.VSNet.ProjectBaseEnumerator::MoveNext() - IL_003d: brtrue IL_0019 + // method line 523 + .method family virtual hidebysig specialname + instance default bool get_IsPrivate () cil managed + { + // Method begins at RVA 0x11a2c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivate + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0042: leave IL_005b + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedAssemblyReference::get_IsPrivate - } // end .try 0 - finally { // 0 - IL_0047: ldloc.2 - IL_0048: isinst [mscorlib]System.IDisposable - IL_004d: dup - IL_004e: stloc.3 - IL_004f: brfalse IL_005a + // method line 524 + .method family virtual hidebysig specialname + instance default bool get_IsPrivateSpecified () cil managed + { + // Method begins at RVA 0x11a48 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivateSpecified + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0054: ldloc.3 - IL_0055: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_005a: endfinally - } // end handler 0 - IL_005b: nop - IL_005c: ldarg.0 - IL_005d: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_0062: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0067: stloc.s 5 - .try { // 1 - IL_0069: br IL_00cb + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedAssemblyReference::get_IsPrivateSpecified - IL_006e: ldloc.s 5 - IL_0070: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0075: castclass NAnt.VSNet.ReferenceBase - IL_007a: stloc.s 4 - IL_007c: nop - IL_007d: ldloc.s 4 - IL_007f: isinst NAnt.VSNet.ProjectReferenceBase - IL_0084: stloc.s 6 - IL_0086: ldloc.s 6 - IL_0088: brtrue IL_0093 + // method line 525 + .method family virtual hidebysig + instance default string ResolveAssemblyReference () cil managed + { + // Method begins at RVA 0x11a64 + // Code size 153 (0x99) + .maxstack 3 + .locals init ( + string V_0, + class [System.Xml]System.Xml.XmlElement V_1, + string V_2, + string V_3) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile + IL_0007: brfalse IL_002b - IL_008d: nop - IL_008e: leave IL_00cb + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile + IL_0013: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0018: brfalse IL_002a - IL_0093: ldloc.s 6 - IL_0095: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_009a: isinst NAnt.VSNet.VcProject - IL_009f: stloc.s 7 - IL_00a1: ldloc.s 7 - IL_00a3: brtrue IL_00ae + IL_001d: nop + IL_001e: ldarg.0 + IL_001f: ldfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile + IL_0024: stloc.0 + IL_0025: br IL_0097 - IL_00a8: nop - IL_00a9: leave IL_00cb + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0031: stloc.1 + IL_0032: ldarg.0 + IL_0033: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0038: ldstr ".dll" + IL_003d: call string string::Concat(string, string) + IL_0042: stloc.2 + IL_0043: ldarg.0 + IL_0044: ldloc.2 + IL_0045: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFramework(string) + IL_004a: stloc.3 + IL_004b: ldloc.3 + IL_004c: brfalse IL_0059 - IL_00ae: ldloc.0 - IL_00af: ldloc.s 7 - IL_00b1: callvirt instance bool class NAnt.VSNet.ProjectBaseCollection::Contains(class NAnt.VSNet.ProjectBase) - IL_00b6: brfalse IL_00c1 + IL_0051: nop + IL_0052: ldloc.3 + IL_0053: stloc.0 + IL_0054: br IL_0097 - IL_00bb: nop - IL_00bc: leave IL_00cb + IL_0059: ldarg.0 + IL_005a: ldloc.1 + IL_005b: ldloc.2 + IL_005c: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromAssemblyFolders(class [System.Xml]System.Xml.XmlElement, string) + IL_0061: stloc.3 + IL_0062: ldloc.3 + IL_0063: brfalse IL_0070 - IL_00c1: ldloc.0 - IL_00c2: ldloc.s 7 - IL_00c4: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) - IL_00c9: pop - IL_00ca: nop - IL_00cb: ldloc.s 5 - IL_00cd: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00d2: brtrue IL_006e + IL_0068: nop + IL_0069: ldloc.3 + IL_006a: stloc.0 + IL_006b: br IL_0097 - IL_00d7: leave IL_00f3 + IL_0070: ldarg.0 + IL_0071: ldloc.1 + IL_0072: ldstr "HintPath" + IL_0077: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_007c: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromRelativePath(string) + IL_0081: stloc.3 + IL_0082: ldloc.3 + IL_0083: brfalse IL_0090 - } // end .try 1 - finally { // 1 - IL_00dc: ldloc.s 5 - IL_00de: isinst [mscorlib]System.IDisposable - IL_00e3: dup - IL_00e4: stloc.s 8 - IL_00e6: brfalse IL_00f2 + IL_0088: nop + IL_0089: ldloc.3 + IL_008a: stloc.0 + IL_008b: br IL_0097 - IL_00eb: ldloc.s 8 - IL_00ed: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00f2: endfinally - } // end handler 1 - IL_00f3: ldloc.0 - IL_00f4: stloc.s 9 - IL_00f6: br IL_00fb + IL_0090: ldnull + IL_0091: stloc.0 + IL_0092: br IL_0097 - IL_00fb: ldloc.s 9 - IL_00fd: ret - } // end of method VcProject::GetVcProjectDependencies + IL_0097: ldloc.0 + IL_0098: ret + } // end of method ManagedAssemblyReference::ResolveAssemblyReference - // method line 449 - .method public static hidebysig - default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + // method line 526 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x11848 - // Code size 20 (0x14) - .maxstack 2 + // Method begins at RVA 0x11b0c + // Code size 15 (0xf) + .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "ProjectGUID" - IL_0007: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld string NAnt.VSNet.ManagedAssemblyReference::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method VcProject::LoadGuid + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedAssemblyReference::get_Name - // method line 450 - .method public static hidebysig - default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed + // method line 527 + .method private hidebysig specialname + instance default string get_AssemblyFoldersKey () cil managed { - // Method begins at RVA 0x11868 - // Code size 105 (0x69) - .maxstack 2 + // Method begins at RVA 0x11b28 + // Code size 57 (0x39) + .maxstack 3 .locals init ( - bool V_0, - class [System.Xml]System.Xml.XmlAttribute V_1) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: brtrue IL_000f + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0007: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0011: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0016: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_VisualStudioVersion() + IL_001b: callvirt instance string object::ToString() + IL_0020: stloc.0 + IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0026: ldstr "SOFTWARE\\Microsoft\\VisualStudio\\{0}\\AssemblyFolders" + IL_002b: ldloc.0 + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: stloc.1 + IL_0032: br IL_0037 - IL_0007: nop - IL_0008: ldc.i4.0 - IL_0009: stloc.0 - IL_000a: br IL_0067 + IL_0037: ldloc.1 + IL_0038: ret + } // end of method ManagedAssemblyReference::get_AssemblyFoldersKey - IL_000f: ldarg.0 - IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0015: ldstr "VisualStudioProject" - IL_001a: call bool string::op_Inequality(string, string) - IL_001f: brfalse IL_002c + // method line 528 + .method private hidebysig + instance default string GetComponentAssemblyFolder (class [System.Xml]System.Xml.XmlElement referenceElement) cil managed + { + // Method begins at RVA 0x11b70 + // Code size 546 (0x222) + .maxstack 7 + .locals init ( + string V_0, + string V_1, + class [mscorlib]Microsoft.Win32.RegistryKey V_2, + string[] V_3, + string V_4, + class [mscorlib]Microsoft.Win32.RegistryKey V_5, + string V_6, + class [mscorlib]Microsoft.Win32.RegistryKey V_7, + string V_8, + string V_9) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.1 + IL_0004: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0009: ldstr "AssemblyFolderKey" + IL_000e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0013: brfalse IL_0217 - IL_0024: nop - IL_0025: ldc.i4.0 - IL_0026: stloc.0 - IL_0027: br IL_0067 + IL_0018: nop + IL_0019: ldarg.1 + IL_001a: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_001f: ldstr "AssemblyFolderKey" + IL_0024: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0029: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_002e: stloc.1 + IL_002f: ldnull + IL_0030: stloc.2 + IL_0031: ldloc.1 + IL_0032: ldc.i4.s 0x5c + IL_0034: ldc.i4.0 + IL_0035: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_003a: stloc.3 + IL_003b: ldloc.3 + IL_003c: ldlen + IL_003d: conv.i4 + IL_003e: ldc.i4.2 + IL_003f: blt IL_004d - IL_002c: ldarg.0 - IL_002d: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0032: ldstr "ProjectType" - IL_0037: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_003c: stloc.1 - IL_003d: ldloc.1 - IL_003e: brfalse IL_0058 + IL_0044: ldloc.3 + IL_0045: ldlen + IL_0046: conv.i4 + IL_0047: ldc.i4.3 + IL_0048: ble IL_007a - IL_0043: ldloc.1 - IL_0044: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0049: ldstr "Visual C++" - IL_004e: call bool string::op_Inequality(string, string) - IL_0053: brfalse IL_0060 + IL_004d: nop + IL_004e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0053: ldstr "Invalid AssemblyFolderKey \"{0}\" for assembly reference \"{1}\", referenced by project \"{2}\"." + IL_0058: ldloc.1 + IL_0059: ldarg.0 + IL_005a: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_005f: ldarg.0 + IL_0060: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0065: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_006a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_006f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0074: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0079: throw + IL_007a: ldloc.3 + IL_007b: ldc.i4.0 + IL_007c: ldelem.ref + IL_007d: stloc.s 4 + IL_007f: ldloc.s 4 + IL_0081: brfalse IL_00c3 - IL_0058: nop - IL_0059: ldc.i4.0 - IL_005a: stloc.0 - IL_005b: br IL_0067 + IL_0086: ldloc.s 4 + IL_0088: ldstr "hklm" + IL_008d: call bool string::op_Equality(string, string) + IL_0092: brtrue IL_00ad - IL_0060: ldc.i4.1 - IL_0061: stloc.0 - IL_0062: br IL_0067 + IL_0097: ldloc.s 4 + IL_0099: ldstr "hkcu" + IL_009e: call bool string::op_Equality(string, string) + IL_00a3: brtrue IL_00b8 - IL_0067: ldloc.0 - IL_0068: ret - } // end of method VcProject::IsSupported + IL_00a8: br IL_00c3 - // method line 451 - .method private static hidebysig - default string CleanPath (string path) cil managed - { - // Method begins at RVA 0x118e0 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - string V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.s 0x22 - IL_0004: callvirt instance string [mscorlib]System.String::TrimStart(char) - IL_0009: stloc.0 - IL_000a: ldloc.0 - IL_000b: ldc.i4.s 0x22 - IL_000d: callvirt instance string [mscorlib]System.String::TrimEnd(char) - IL_0012: stloc.1 - IL_0013: br IL_0018 + IL_00ad: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine + IL_00b2: stloc.2 + IL_00b3: br IL_00ef - IL_0018: ldloc.1 - IL_0019: ret - } // end of method VcProject::CleanPath + IL_00b8: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::CurrentUser + IL_00bd: stloc.2 + IL_00be: br IL_00ef - // method line 452 - .method private static hidebysig - default valuetype NAnt.VSNet.ProductVersion GetProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0x11908 - // Code size 271 (0x10f) - .maxstack 3 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - class [mscorlib]System.Version V_1, - string V_2, - class [mscorlib]System.Exception V_3, - int32 V_4, - int32 V_5, - valuetype NAnt.VSNet.ProductVersion V_6) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 + IL_00c3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00c8: ldstr "Invalid AssemblyFolderKey \"{0}\" for assembly reference \"{1}\", referenced by project \"{2}\"." + IL_00cd: ldloc.1 + IL_00ce: ldarg.0 + IL_00cf: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_00d4: ldarg.0 + IL_00d5: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_00da: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_00df: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_00e4: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00e9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00ee: throw + IL_00ef: ldnull + IL_00f0: stloc.s 5 + IL_00f2: ldloc.3 + IL_00f3: ldlen + IL_00f4: conv.i4 + IL_00f5: ldc.i4.3 + IL_00f6: bne.un IL_0162 - IL_0007: nop - IL_0008: ldstr "docElement" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0019: ldstr "Version" - IL_001e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0023: stloc.0 - IL_0024: ldloc.0 - IL_0025: brtrue IL_003b + IL_00fb: nop + IL_00fc: ldloc.3 + IL_00fd: ldc.i4.1 + IL_00fe: ldelem.ref + IL_00ff: stloc.s 6 + IL_0101: ldloc.s 6 + IL_0103: brfalse IL_0130 - IL_002a: nop - IL_002b: ldstr "The \"Version\" attribute is missing from the node." - IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_003a: throw - IL_003b: ldnull - IL_003c: stloc.1 - .try { // 0 - IL_003d: nop - IL_003e: ldloc.0 - IL_003f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0044: stloc.2 - IL_0045: ldloc.2 - IL_0046: ldc.i4.s 0x2c - IL_0048: ldc.i4.s 0x2e - IL_004a: callvirt instance string string::Replace(char, char) - IL_004f: stloc.2 - IL_0050: ldloc.2 - IL_0051: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0056: stloc.1 - IL_0057: nop - IL_0058: leave IL_0080 + IL_0108: ldloc.s 6 + IL_010a: ldstr "dn" + IL_010f: call bool string::op_Equality(string, string) + IL_0114: brtrue IL_011e - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_005d: stloc.3 - IL_005e: nop - IL_005f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0064: ldstr "The value of the \"Version\" attribute ({0}) is not a valid version string." - IL_0069: ldloc.0 - IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_006f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0074: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0079: ldloc.3 - IL_007a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_007f: throw - } // end handler 0 - IL_0080: ldloc.1 - IL_0081: callvirt instance int32 class [mscorlib]System.Version::get_Major() - IL_0086: stloc.s 4 - IL_0088: ldloc.s 4 - IL_008a: ldc.i4.7 - IL_008b: beq IL_00a6 + IL_0119: br IL_0130 - IL_0090: ldloc.s 4 - IL_0092: ldc.i4.8 - IL_0093: beq IL_00da + IL_011e: ldloc.2 + IL_011f: ldstr "SOFTWARE\\Microsoft\\.NETFramework\\AssemblyFolders" + IL_0124: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0129: stloc.s 5 + IL_012b: br IL_015c + + IL_0130: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0135: ldstr "Invalid AssemblyFolderKey \"{0}\" for assembly reference \"{1}\", referenced by project \"{2}\"." + IL_013a: ldloc.1 + IL_013b: ldarg.0 + IL_013c: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0141: ldarg.0 + IL_0142: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0147: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_014c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0151: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0156: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_015b: throw + IL_015c: nop + IL_015d: br IL_0172 - IL_0098: ldloc.s 4 - IL_009a: ldc.i4.s 0x09 - IL_009c: beq IL_00e3 + IL_0162: nop + IL_0163: ldloc.2 + IL_0164: ldarg.0 + IL_0165: call instance string class NAnt.VSNet.ManagedAssemblyReference::get_AssemblyFoldersKey() + IL_016a: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_016f: stloc.s 5 + IL_0171: nop + IL_0172: ldloc.s 5 + IL_0174: brfalse IL_01fa - IL_00a1: br IL_00ec + IL_0179: nop + IL_017a: ldloc.s 5 + IL_017c: ldloc.3 + IL_017d: ldloc.3 + IL_017e: ldlen + IL_017f: conv.i4 + IL_0180: ldc.i4.1 + IL_0181: sub + IL_0182: ldelem.ref + IL_0183: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0188: stloc.s 7 + IL_018a: ldloc.s 7 + IL_018c: brfalse IL_01d8 - IL_00a6: ldloc.1 - IL_00a7: callvirt instance int32 class [mscorlib]System.Version::get_Minor() - IL_00ac: stloc.s 5 - IL_00ae: ldloc.s 5 - IL_00b0: brfalse IL_00c3 + IL_0191: nop + IL_0192: ldloc.s 7 + IL_0194: ldsfld string [mscorlib]System.String::Empty + IL_0199: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_019e: isinst [mscorlib]System.String + IL_01a3: stloc.s 8 + IL_01a5: ldloc.s 8 + IL_01a7: brfalse IL_01b6 - IL_00b5: ldloc.s 5 - IL_00b7: ldc.i4.s 0x0a - IL_00b9: beq IL_00cc + IL_01ac: nop + IL_01ad: ldloc.s 8 + IL_01af: stloc.0 + IL_01b0: nop + IL_01b1: br IL_01d2 - IL_00be: br IL_00d5 + IL_01b6: nop + IL_01b7: ldarg.0 + IL_01b8: ldc.i4 1000 + IL_01bd: ldstr "Default value for AssemblyFolder \"{0}\" does not exist or is not a string value." + IL_01c2: ldc.i4.1 + IL_01c3: newarr [mscorlib]System.Object + IL_01c8: dup + IL_01c9: ldc.i4.0 + IL_01ca: ldloc.1 + IL_01cb: stelem.ref + IL_01cc: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01d1: nop + IL_01d2: nop + IL_01d3: br IL_01f4 - IL_00c3: ldc.i4.s 0x46 - IL_00c5: stloc.s 6 - IL_00c7: br IL_010c + IL_01d8: nop + IL_01d9: ldarg.0 + IL_01da: ldc.i4 1000 + IL_01df: ldstr "Component key for AssemblyFolder \"{0}\" does not exist." + IL_01e4: ldc.i4.1 + IL_01e5: newarr [mscorlib]System.Object + IL_01ea: dup + IL_01eb: ldc.i4.0 + IL_01ec: ldloc.1 + IL_01ed: stelem.ref + IL_01ee: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01f3: nop + IL_01f4: nop + IL_01f5: br IL_0216 - IL_00cc: ldc.i4.s 0x47 - IL_00ce: stloc.s 6 - IL_00d0: br IL_010c + IL_01fa: nop + IL_01fb: ldarg.0 + IL_01fc: ldc.i4 1000 + IL_0201: ldstr "Repository for AssemblyFolder \"{0}\" does not exist." + IL_0206: ldc.i4.1 + IL_0207: newarr [mscorlib]System.Object + IL_020c: dup + IL_020d: ldc.i4.0 + IL_020e: ldloc.1 + IL_020f: stelem.ref + IL_0210: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0215: nop + IL_0216: nop + IL_0217: ldloc.0 + IL_0218: stloc.s 9 + IL_021a: br IL_021f - IL_00d5: br IL_00ec + IL_021f: ldloc.s 9 + IL_0221: ret + } // end of method ManagedAssemblyReference::GetComponentAssemblyFolder - IL_00da: ldc.i4.s 0x50 - IL_00dc: stloc.s 6 - IL_00de: br IL_010c + // method line 529 + .method family virtual hidebysig + instance default string ResolveFromAssemblyFolders (class [System.Xml]System.Xml.XmlElement referenceElement, string fileName) cil managed + { + // Method begins at RVA 0x11da0 + // Code size 68 (0x44) + .maxstack 3 + .locals init ( + string V_0, + string V_1, + class [System]System.Collections.Specialized.StringCollection V_2, + string V_3) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: ldarg.1 + IL_0005: call instance string class NAnt.VSNet.ManagedAssemblyReference::GetComponentAssemblyFolder(class [System.Xml]System.Xml.XmlElement) + IL_000a: stloc.1 + IL_000b: ldloc.1 + IL_000c: brfalse IL_002a - IL_00e3: ldc.i4.s 0x5a - IL_00e5: stloc.s 6 - IL_00e7: br IL_010c + IL_0011: nop + IL_0012: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0017: stloc.2 + IL_0018: ldloc.2 + IL_0019: ldloc.1 + IL_001a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_001f: pop + IL_0020: ldarg.0 + IL_0021: ldloc.2 + IL_0022: ldarg.2 + IL_0023: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFolderList(class [System]System.Collections.Specialized.StringCollection, string) + IL_0028: stloc.0 + IL_0029: nop + IL_002a: ldloc.0 + IL_002b: brtrue IL_003b - IL_00ec: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00f1: ldstr "Visual Studio version \"{0}\" is not supported." - IL_00f6: ldloc.1 - IL_00f7: callvirt instance string object::ToString() - IL_00fc: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0101: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0106: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_010b: throw - IL_010c: ldloc.s 6 - IL_010e: ret - } // end of method VcProject::GetProductVersion + IL_0030: nop + IL_0031: ldarg.0 + IL_0032: ldarg.1 + IL_0033: ldarg.2 + IL_0034: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromAssemblyFolders(class [System.Xml]System.Xml.XmlElement, string) + IL_0039: stloc.0 + IL_003a: nop + IL_003b: ldloc.0 + IL_003c: stloc.3 + IL_003d: br IL_0042 - // method line 453 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x11a34 - // Code size 112 (0x70) - .maxstack 4 - IL_0000: ldc.i4.s 0x0c - IL_0002: newarr [mscorlib]System.String - IL_0007: dup - IL_0008: ldc.i4.0 - IL_0009: ldstr "kernel32.lib" - IL_000e: stelem.ref - IL_000f: dup - IL_0010: ldc.i4.1 - IL_0011: ldstr "user32.lib" - IL_0016: stelem.ref - IL_0017: dup - IL_0018: ldc.i4.2 - IL_0019: ldstr "gdi32.lib" - IL_001e: stelem.ref - IL_001f: dup - IL_0020: ldc.i4.3 - IL_0021: ldstr "winspool.lib" - IL_0026: stelem.ref - IL_0027: dup - IL_0028: ldc.i4.4 - IL_0029: ldstr "comdlg32.lib" - IL_002e: stelem.ref - IL_002f: dup - IL_0030: ldc.i4.5 - IL_0031: ldstr "advapi32.lib" - IL_0036: stelem.ref - IL_0037: dup - IL_0038: ldc.i4.6 - IL_0039: ldstr "shell32.lib" - IL_003e: stelem.ref - IL_003f: dup - IL_0040: ldc.i4.7 - IL_0041: ldstr "ole32.lib" - IL_0046: stelem.ref - IL_0047: dup - IL_0048: ldc.i4.8 - IL_0049: ldstr "oleaut32.lib" - IL_004e: stelem.ref - IL_004f: dup - IL_0050: ldc.i4.s 0x09 - IL_0052: ldstr "uuid.lib" - IL_0057: stelem.ref - IL_0058: dup - IL_0059: ldc.i4.s 0x0a - IL_005b: ldstr "odbc32.lib" - IL_0060: stelem.ref - IL_0061: dup - IL_0062: ldc.i4.s 0x0b - IL_0064: ldstr "odbccp32.lib" - IL_0069: stelem.ref - IL_006a: stsfld string[] NAnt.VSNet.VcProject::_defaultLibraries - IL_006f: ret - } // end of method VcProject::.cctor + IL_0042: ldloc.3 + IL_0043: ret + } // end of method ManagedAssemblyReference::ResolveFromAssemblyFolders - .property instance string Name () - { - .get instance default string NAnt.VSNet.VcProject::get_Name () - } - .property instance valuetype NAnt.VSNet.ProjectType Type () - { - .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.VcProject::get_Type () - } - .property instance string ProjectPath () - { - .get instance default string NAnt.VSNet.VcProject::get_ProjectPath () - } - .property instance class [mscorlib]System.IO.DirectoryInfo ProjectDirectory () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcProject::get_ProjectDirectory () - } - .property instance valuetype NAnt.VSNet.ProjectLocation ProjectLocation () - { - .get instance default valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.VcProject::get_ProjectLocation () - } - .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () + .property instance bool IsPrivate () { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcProject::get_ObjectDir () + .get instance default bool NAnt.VSNet.ManagedAssemblyReference::get_IsPrivate () } - .property instance string Guid () + .property instance bool IsPrivateSpecified () { - .get instance default string NAnt.VSNet.VcProject::get_Guid () - .set instance default void NAnt.VSNet.VcProject::set_Guid (string 'value') + .get instance default bool NAnt.VSNet.ManagedAssemblyReference::get_IsPrivateSpecified () } - .property instance class [mscorlib]System.Collections.ArrayList References () + .property instance string Name () { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::get_References () + .get instance default string NAnt.VSNet.ManagedAssemblyReference::get_Name () } - .property instance class [mscorlib]System.Collections.ArrayList ProjectFiles () + .property instance string AssemblyFoldersKey () { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProject::get_ProjectFiles () + .get instance default string NAnt.VSNet.ManagedAssemblyReference::get_AssemblyFoldersKey () } - } // end of class NAnt.VSNet.VcProject + } // end of class NAnt.VSNet.ManagedAssemblyReference } .namespace NAnt.VSNet { - .class public auto ansi beforefieldinit ProjectSettings + .class private auto ansi beforefieldinit CSharpProjectProvider extends [mscorlib]System.Object - { - .field private initonly class [mscorlib]System.Collections.ArrayList _settings - .field private initonly class [mscorlib]System.IO.FileInfo _applicationIcon - .field private initonly class NAnt.VSNet.ManagedProjectBase _project - .field private initonly string _assemblyName - .field private initonly string _assemblyOriginatorKeyFile - .field private initonly string _assemblyKeyContainerName - .field private initonly string _rootNamespace - .field private initonly string _guid - .field private initonly string _runPostBuildEvent - .field private initonly string _preBuildEvent - .field private initonly string _postBuildEvent - .field private initonly valuetype NAnt.VSNet.ManagedOutputType _outputType + implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - // method line 454 + // method line 530 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement elemRoot, class [System.Xml]System.Xml.XmlElement elemSettings, class NAnt.VSNet.ManagedProjectBase project) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11ab0 - // Code size 1181 (0x49d) - .maxstack 3 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - valuetype NAnt.VSNet.ManagedOutputType V_1, - string V_2, - valuetype [mscorlib]System.Collections.DictionaryEntry V_3, - class [mscorlib]System.Collections.IDictionaryEnumerator V_4, - string V_5, - class [mscorlib]System.IDisposable V_6) + // Method begins at RVA 0x11df0 + // Code size 7 (0x7) + .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.3 - IL_0009: stfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.ProjectSettings::_project - IL_000e: ldarg.0 - IL_000f: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0014: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_0019: ldarg.1 - IL_001a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_FirstChild() - IL_001f: brtrue IL_004a - - IL_0024: nop - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002a: ldstr "Project file '{0}' is not valid." - IL_002f: ldarg.0 - IL_0030: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() - IL_0035: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_003a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_003f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0044: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0049: throw - IL_004a: ldarg.0 - IL_004b: ldarg.3 - IL_004c: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_0051: ldarg.1 - IL_0052: call string class NAnt.VSNet.ProjectSettings::GetProjectGuid(string, class [System.Xml]System.Xml.XmlElement) - IL_0057: stfld string NAnt.VSNet.ProjectSettings::_guid - IL_005c: ldarg.0 - IL_005d: ldarg.0 - IL_005e: ldarg.2 - IL_005f: callvirt instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::GetOutputType(class [System.Xml]System.Xml.XmlElement) - IL_0064: stfld valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::_outputType - IL_0069: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_006e: stloc.0 - IL_006f: ldarg.0 - IL_0070: ldfld valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::_outputType - IL_0075: stloc.1 - IL_0076: ldloc.1 - IL_0077: ldc.i4.1 - IL_0078: beq IL_0090 - - IL_007d: ldloc.1 - IL_007e: ldc.i4.2 - IL_007f: beq IL_00a6 - - IL_0084: ldloc.1 - IL_0085: ldc.i4.3 - IL_0086: beq IL_00cc + IL_0006: ret + } // end of method CSharpProjectProvider::.ctor - IL_008b: br IL_00f2 + // method line 531 + .method public final virtual hidebysig newslot + instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x11df8 + // Code size 52 (0x34) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr ".csproj" + IL_0007: call bool string::op_Equality(string, string) + IL_000c: brfalse IL_0018 - IL_0090: ldarg.0 - IL_0091: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_0096: ldstr "/target:library" - IL_009b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00a0: pop - IL_00a1: br IL_00f2 + IL_0011: ldc.i4.5 + IL_0012: stloc.0 + IL_0013: br IL_0032 - IL_00a6: ldarg.0 - IL_00a7: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_00ac: ldstr "/target:exe" - IL_00b1: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00b6: pop - IL_00b7: ldloc.0 - IL_00b8: ldstr "StartupObject" - IL_00bd: ldstr "/main:\"{0}\"" - IL_00c2: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00c7: br IL_00f2 + IL_0018: ldarg.2 + IL_0019: call bool class NAnt.VSNet.CSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_001e: brfalse IL_002b - IL_00cc: ldarg.0 - IL_00cd: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_00d2: ldstr "/target:winexe" - IL_00d7: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_00dc: pop - IL_00dd: ldloc.0 - IL_00de: ldstr "StartupObject" - IL_00e3: ldstr "/main:\"{0}\"" - IL_00e8: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00ed: br IL_00f2 + IL_0023: ldc.i4.s 0x0a + IL_0025: stloc.0 + IL_0026: br IL_0032 - IL_00f2: ldarg.0 - IL_00f3: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_00f8: ldstr "/nologo" - IL_00fd: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0102: pop - IL_0103: ldarg.0 - IL_0104: ldarg.2 - IL_0105: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_010a: ldstr "AssemblyName" - IL_010f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0114: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0119: stfld string NAnt.VSNet.ProjectSettings::_assemblyName - IL_011e: ldarg.0 - IL_011f: ldarg.2 - IL_0120: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0125: ldstr "AssemblyOriginatorKeyFile" - IL_012a: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_012f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0134: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0139: stfld string NAnt.VSNet.ProjectSettings::_assemblyOriginatorKeyFile - IL_013e: ldarg.0 - IL_013f: ldarg.2 - IL_0140: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0145: ldstr "AssemblyKeyContainerName" - IL_014a: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_014f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0154: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0159: stfld string NAnt.VSNet.ProjectSettings::_assemblyKeyContainerName - IL_015e: ldarg.2 - IL_015f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0164: ldstr "RunPostBuildEvent" - IL_0169: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_016e: brfalse IL_0195 + IL_002b: ldc.i4.0 + IL_002c: stloc.0 + IL_002d: br IL_0032 - IL_0173: nop - IL_0174: ldarg.0 - IL_0175: ldarg.2 - IL_0176: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_017b: ldstr "RunPostBuildEvent" - IL_0180: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0185: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_018a: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_018f: stfld string NAnt.VSNet.ProjectSettings::_runPostBuildEvent - IL_0194: nop - IL_0195: ldarg.2 - IL_0196: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_019b: ldstr "PreBuildEvent" - IL_01a0: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_01a5: brfalse IL_01cc + IL_0032: ldloc.0 + IL_0033: ret + } // end of method CSharpProjectProvider::IsSupported - IL_01aa: nop - IL_01ab: ldarg.0 - IL_01ac: ldarg.2 - IL_01ad: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_01b2: ldstr "PreBuildEvent" - IL_01b7: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_01bc: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_01c1: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_01c6: stfld string NAnt.VSNet.ProjectSettings::_preBuildEvent - IL_01cb: nop - IL_01cc: ldarg.2 - IL_01cd: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_01d2: ldstr "PostBuildEvent" - IL_01d7: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_01dc: brfalse IL_0203 + // method line 532 + .method public final virtual hidebysig newslot + instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x11e38 + // Code size 27 (0x1b) + .maxstack 8 + .locals init ( + class NAnt.VSNet.ProjectBase V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: ldarg.s 6 + IL_000a: ldarg.s 7 + IL_000c: ldarg.s 8 + IL_000e: newobj instance void class NAnt.VSNet.CSharpProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_01e1: nop - IL_01e2: ldarg.0 - IL_01e3: ldarg.2 - IL_01e4: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_01e9: ldstr "PostBuildEvent" - IL_01ee: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_01f3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_01f8: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_01fd: stfld string NAnt.VSNet.ProjectSettings::_postBuildEvent - IL_0202: nop - IL_0203: ldarg.2 - IL_0204: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0209: ldstr "RootNamespace" - IL_020e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0213: brfalse IL_0273 + IL_0019: ldloc.0 + IL_001a: ret + } // end of method CSharpProjectProvider::GetInstance - IL_0218: nop - IL_0219: ldarg.0 - IL_021a: ldarg.2 - IL_021b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0220: ldstr "RootNamespace" - IL_0225: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_022a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_022f: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0234: stfld string NAnt.VSNet.ProjectSettings::_rootNamespace - IL_0239: ldarg.0 - IL_023a: call instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() - IL_023f: brfalse IL_0272 + // method line 533 + .method public final virtual hidebysig newslot + instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + { + // Method begins at RVA 0x11e60 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlElement) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0244: ldarg.0 - IL_0245: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() - IL_024a: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() - IL_024f: brtrue IL_0272 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CSharpProjectProvider::LoadGuid - IL_0254: nop - IL_0255: ldarg.0 - IL_0256: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_025b: ldstr "/rootnamespace:" - IL_0260: ldarg.0 - IL_0261: ldfld string NAnt.VSNet.ProjectSettings::_rootNamespace - IL_0266: call string string::Concat(string, string) - IL_026b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0270: pop - IL_0271: nop - IL_0272: nop - IL_0273: ldarg.2 - IL_0274: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0279: ldstr "ApplicationIcon" - IL_027e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0283: brfalse IL_02ce + } // end of class NAnt.VSNet.CSharpProjectProvider +} - IL_0288: nop - IL_0289: ldarg.2 - IL_028a: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_028f: ldstr "ApplicationIcon" - IL_0294: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0299: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_029e: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_02a3: stloc.2 - IL_02a4: ldloc.2 - IL_02a5: brfalse IL_02cd +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit GenericSolution + extends NAnt.VSNet.SolutionBase + { - IL_02aa: nop - IL_02ab: ldarg.0 - IL_02ac: ldarg.0 - IL_02ad: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() - IL_02b2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_02b7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02bc: ldloc.2 - IL_02bd: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_02c2: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_02c7: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.ProjectSettings::_applicationIcon - IL_02cc: nop - IL_02cd: nop - IL_02ce: ldarg.0 - IL_02cf: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() - IL_02d4: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() - IL_02d9: brtrue IL_0412 + // method line 534 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + { + // Method begins at RVA 0x11e7b + // Code size 13 (0xd) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: call instance void class NAnt.VSNet.SolutionBase::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_000b: nop + IL_000c: ret + } // end of method GenericSolution::.ctor - IL_02de: nop - IL_02df: ldarg.2 - IL_02e0: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_02e5: ldstr "OptionExplicit" - IL_02ea: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_02ef: brfalse IL_0345 + } // end of class NAnt.VSNet.GenericSolution +} - IL_02f4: nop - IL_02f5: ldarg.2 - IL_02f6: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_02fb: ldstr "OptionExplicit" - IL_0300: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0305: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_030a: ldstr "Off" - IL_030f: call bool string::op_Equality(string, string) - IL_0314: brfalse IL_0331 +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit VcArgumentMap + extends [mscorlib]System.Object + { + .field private class [mscorlib]System.Collections.Hashtable _htArgs - IL_0319: nop - IL_031a: ldarg.0 - IL_031b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_0320: ldstr "/optionexplicit-" - IL_0325: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_032a: pop - IL_032b: nop - IL_032c: br IL_0344 + // method line 535 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x11e89 + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0012: ret + } // end of method VcArgumentMap::.ctor - IL_0331: nop - IL_0332: ldarg.0 - IL_0333: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_0338: ldstr "/optionexplicit+" - IL_033d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0342: pop - IL_0343: nop - IL_0344: nop - IL_0345: ldarg.2 - IL_0346: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_034b: ldstr "OptionStrict" - IL_0350: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0355: brfalse IL_03ab + // method line 536 + .method public hidebysig + instance default void AddString (string propName, string argName) cil managed + { + // Method begins at RVA 0x11e9d + // Code size 11 (0xb) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_000a: ret + } // end of method VcArgumentMap::AddString - IL_035a: nop - IL_035b: ldarg.2 - IL_035c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0361: ldstr "OptionStrict" - IL_0366: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_036b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0370: ldstr "Off" - IL_0375: call bool string::op_Equality(string, string) - IL_037a: brfalse IL_0397 + // method line 537 + .method public hidebysig + instance default void AddString (string propName, string argName, bool ignoreEmptyValue) cil managed + { + // Method begins at RVA 0x11ea9 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: ldarg.3 + IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, bool) + IL_000b: ret + } // end of method VcArgumentMap::AddString - IL_037f: nop - IL_0380: ldarg.0 - IL_0381: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_0386: ldstr "/optionstrict-" - IL_038b: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0390: pop - IL_0391: nop - IL_0392: br IL_03aa + // method line 538 + .method public hidebysig + instance default void AddString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed + { + // Method begins at RVA 0x11eb6 + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) + IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0014: ret + } // end of method VcArgumentMap::AddString - IL_0397: nop - IL_0398: ldarg.0 - IL_0399: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_039e: ldstr "/optionstrict+" - IL_03a3: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_03a8: pop - IL_03a9: nop - IL_03aa: nop - IL_03ab: ldarg.2 - IL_03ac: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_03b1: ldstr "OptionCompare" - IL_03b6: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_03bb: brfalse IL_0411 + // method line 539 + .method public hidebysig + instance default void AddString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, bool ignoreEmptyValue) cil managed + { + // Method begins at RVA 0x11ecc + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: ldarg.s 4 + IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0016: ret + } // end of method VcArgumentMap::AddString - IL_03c0: nop - IL_03c1: ldarg.2 - IL_03c2: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_03c7: ldstr "OptionCompare" - IL_03cc: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_03d1: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_03d6: ldstr "Text" - IL_03db: call bool string::op_Equality(string, string) - IL_03e0: brfalse IL_03fd + // method line 540 + .method public hidebysig + instance default void AddLinkerString (string propName, string argName) cil managed + { + // Method begins at RVA 0x11ee4 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_000a: ret + } // end of method VcArgumentMap::AddLinkerString - IL_03e5: nop - IL_03e6: ldarg.0 - IL_03e7: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_03ec: ldstr "/optioncompare:text" - IL_03f1: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_03f6: pop - IL_03f7: nop - IL_03f8: br IL_0410 + // method line 541 + .method public hidebysig + instance default void AddLinkerString (string propName, string argName, bool ignoreEmptyValue) cil managed + { + // Method begins at RVA 0x11ef0 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: ldarg.3 + IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, bool) + IL_000b: ret + } // end of method VcArgumentMap::AddLinkerString - IL_03fd: nop - IL_03fe: ldarg.0 - IL_03ff: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_0404: ldstr "/optioncompare:binary" - IL_0409: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_040e: pop - IL_040f: nop - IL_0410: nop - IL_0411: nop - IL_0412: nop - IL_0413: ldloc.0 - IL_0414: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0419: stloc.s 4 - .try { // 0 - IL_041b: br IL_0474 + // method line 542 + .method public hidebysig + instance default void AddLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed + { + // Method begins at RVA 0x11efd + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/LinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) + IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0014: ret + } // end of method VcArgumentMap::AddLinkerString - IL_0420: ldloc.s 4 - IL_0422: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0427: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_042c: stloc.3 - IL_042d: nop - IL_042e: ldarg.2 - IL_042f: ldloca.s 3 - IL_0431: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0436: callvirt instance string object::ToString() - IL_043b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0440: stloc.s 5 - IL_0442: ldloc.s 5 - IL_0444: call bool string::IsNullOrEmpty(string) - IL_0449: brfalse IL_0454 + // method line 543 + .method public hidebysig + instance default void AddLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, bool ignoreEmptyValue) cil managed + { + // Method begins at RVA 0x11f13 + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: ldarg.s 4 + IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/LinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0016: ret + } // end of method VcArgumentMap::AddLinkerString - IL_044e: nop - IL_044f: leave IL_0474 + // method line 544 + .method public hidebysig + instance default void AddQuotedLinkerString (string propName, string argName) cil managed + { + // Method begins at RVA 0x11f2b + // Code size 11 (0xb) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_000a: ret + } // end of method VcArgumentMap::AddQuotedLinkerString - IL_0454: ldarg.0 - IL_0455: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_045a: ldloca.s 3 - IL_045c: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0461: callvirt instance string object::ToString() - IL_0466: ldloc.s 5 - IL_0468: call string string::Format(string, object) - IL_046d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0472: pop - IL_0473: nop - IL_0474: ldloc.s 4 - IL_0476: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_047b: brtrue IL_0420 + // method line 545 + .method public hidebysig + instance default void AddQuotedLinkerString (string propName, string argName, bool ignoreEmptyValue) cil managed + { + // Method begins at RVA 0x11f37 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: ldarg.3 + IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, bool) + IL_000b: ret + } // end of method VcArgumentMap::AddQuotedLinkerString - IL_0480: leave IL_049c + // method line 546 + .method public hidebysig + instance default void AddQuotedLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed + { + // Method begins at RVA 0x11f44 + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/QuotedLinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) + IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0014: ret + } // end of method VcArgumentMap::AddQuotedLinkerString - } // end .try 0 - finally { // 0 - IL_0485: ldloc.s 4 - IL_0487: isinst [mscorlib]System.IDisposable - IL_048c: dup - IL_048d: stloc.s 6 - IL_048f: brfalse IL_049b + // method line 547 + .method public hidebysig + instance default void AddQuotedLinkerString (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, bool ignoreEmptyValue) cil managed + { + // Method begins at RVA 0x11f5a + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: ldarg.s 4 + IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/QuotedLinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0016: ret + } // end of method VcArgumentMap::AddQuotedLinkerString - IL_0494: ldloc.s 6 - IL_0496: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_049b: endfinally - } // end handler 0 - IL_049c: ret - } // end of method ProjectSettings::.ctor + // method line 548 + .method public hidebysig + instance default void AddBool (string propName, string argName) cil managed + { + // Method begins at RVA 0x11f72 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: call instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_000a: ret + } // end of method VcArgumentMap::AddBool - // method line 455 - .method public hidebysig specialname - instance default string[] get_Settings () cil managed + // method line 549 + .method public hidebysig + instance default void AddBool (string propName, string argName, string match) cil managed { - // Method begins at RVA 0x11f6c - // Code size 35 (0x23) - .maxstack 2 - .locals init ( - string[] V_0) + // Method begins at RVA 0x11f7e + // Code size 12 (0xc) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectSettings::_settings - IL_0007: ldtoken [mscorlib]System.String - IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0011: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_0016: castclass string[] - IL_001b: stloc.0 - IL_001c: br IL_0021 + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: ldarg.3 + IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, string) + IL_000b: ret + } // end of method VcArgumentMap::AddBool - IL_0021: ldloc.0 - IL_0022: ret - } // end of method ProjectSettings::get_Settings + // method line 550 + .method public hidebysig + instance default void AddBool (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName) cil managed + { + // Method begins at RVA 0x11f8b + // Code size 21 (0x15) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: newobj instance void class NAnt.VSNet.VcArgumentMap/VcBoolArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) + IL_000f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0014: ret + } // end of method VcArgumentMap::AddBool - // method line 456 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ApplicationIcon () cil managed + // method line 551 + .method public hidebysig + instance default void AddBool (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, string match) cil managed { - // Method begins at RVA 0x11f9c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + // Method begins at RVA 0x11fa1 + // Code size 23 (0x17) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.ProjectSettings::_applicationIcon - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_ApplicationIcon + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: ldarg.s 4 + IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/VcBoolArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0016: ret + } // end of method VcArgumentMap::AddBool - // method line 457 - .method public hidebysig specialname - instance default string get_AssemblyName () cil managed + // method line 552 + .method public hidebysig + instance default void AddEnum (string propName, string argName, string[] values) cil managed { - // Method begins at RVA 0x11fb8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x11fb9 + // Code size 12 (0xc) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_assemblyName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.0 + IL_0003: ldarg.1 + IL_0004: ldarg.2 + IL_0005: ldarg.3 + IL_0006: call instance void class NAnt.VSNet.VcArgumentMap::AddEnum(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, string[]) + IL_000b: ret + } // end of method VcArgumentMap::AddEnum - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_AssemblyName + // method line 553 + .method public hidebysig + instance default void AddEnum (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string propName, string argName, string[] values) cil managed + { + .param [4] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 458 - .method public hidebysig specialname - instance default string get_AssemblyOriginatorKeyFile () cil managed + // Method begins at RVA 0x11fc6 + // Code size 23 (0x17) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.2 + IL_0008: ldarg.1 + IL_0009: ldarg.3 + IL_000a: ldarg.s 4 + IL_000c: newobj instance void class NAnt.VSNet.VcArgumentMap/VcEnumArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string[]) + IL_0011: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0016: ret + } // end of method VcArgumentMap::AddEnum + + // method line 554 + .method public hidebysig + instance default string GetArgument (string propName, string propValue, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup useIgnoreGroup) cil managed { - // Method begins at RVA 0x11fd4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x11fe0 + // Code size 80 (0x50) + .maxstack 2 .locals init ( - string V_0) + class NAnt.VSNet.VcArgumentMap/VcArgument V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_assemblyOriginatorKeyFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcArgumentMap::_htArgs + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000d: castclass NAnt.VSNet.VcArgumentMap/VcArgument + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: brtrue IL_0021 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_AssemblyOriginatorKeyFile + IL_0019: nop + IL_001a: ldnull + IL_001b: stloc.1 + IL_001c: br IL_004e - // method line 459 - .method public hidebysig specialname - instance default string get_AssemblyKeyContainerName () cil managed + IL_0021: ldloc.0 + IL_0022: callvirt instance valuetype NAnt.VSNet.VcArgumentMap/ArgGroup class NAnt.VSNet.VcArgumentMap/VcArgument::get_Group() + IL_0027: brfalse IL_0041 + + IL_002c: ldloc.0 + IL_002d: callvirt instance valuetype NAnt.VSNet.VcArgumentMap/ArgGroup class NAnt.VSNet.VcArgumentMap/VcArgument::get_Group() + IL_0032: ldarg.3 + IL_0033: and + IL_0034: brfalse IL_0041 + + IL_0039: nop + IL_003a: ldnull + IL_003b: stloc.1 + IL_003c: br IL_004e + + IL_0041: ldloc.0 + IL_0042: ldarg.2 + IL_0043: callvirt instance string class NAnt.VSNet.VcArgumentMap/VcArgument::MapValue(string) + IL_0048: stloc.1 + IL_0049: br IL_004e + + IL_004e: ldloc.1 + IL_004f: ret + } // end of method VcArgumentMap::GetArgument + + // method line 555 + .method public static hidebysig + default class NAnt.VSNet.VcArgumentMap CreateCLArgumentMap () cil managed { - // Method begins at RVA 0x11ff0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1203c + // Code size 1044 (0x414) + .maxstack 8 .locals init ( - string V_0) + class NAnt.VSNet.VcArgumentMap V_0, + class NAnt.VSNet.VcArgumentMap V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_assemblyKeyContainerName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: newobj instance void class NAnt.VSNet.VcArgumentMap::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldstr "DebugInformationFormat" + IL_000d: ldnull + IL_000e: ldc.i4.5 + IL_000f: newarr [mscorlib]System.String + IL_0014: dup + IL_0015: ldc.i4.1 + IL_0016: ldstr "/Z7" + IL_001b: stelem.ref + IL_001c: dup + IL_001d: ldc.i4.2 + IL_001e: ldstr "/Zd" + IL_0023: stelem.ref + IL_0024: dup + IL_0025: ldc.i4.3 + IL_0026: ldstr "/Zi" + IL_002b: stelem.ref + IL_002c: dup + IL_002d: ldc.i4.4 + IL_002e: ldstr "/ZI" + IL_0033: stelem.ref + IL_0034: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0039: ldloc.0 + IL_003a: ldstr "CompileAsManaged" + IL_003f: ldnull + IL_0040: ldc.i4.3 + IL_0041: newarr [mscorlib]System.String + IL_0046: dup + IL_0047: ldc.i4.2 + IL_0048: ldstr "/clr" + IL_004d: stelem.ref + IL_004e: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0053: ldloc.0 + IL_0054: ldstr "WarningLevel" + IL_0059: ldnull + IL_005a: ldc.i4.5 + IL_005b: newarr [mscorlib]System.String + IL_0060: dup + IL_0061: ldc.i4.0 + IL_0062: ldstr "/W0" + IL_0067: stelem.ref + IL_0068: dup + IL_0069: ldc.i4.1 + IL_006a: ldstr "/W1" + IL_006f: stelem.ref + IL_0070: dup + IL_0071: ldc.i4.2 + IL_0072: ldstr "/W2" + IL_0077: stelem.ref + IL_0078: dup + IL_0079: ldc.i4.3 + IL_007a: ldstr "/W3" + IL_007f: stelem.ref + IL_0080: dup + IL_0081: ldc.i4.4 + IL_0082: ldstr "/W4" + IL_0087: stelem.ref + IL_0088: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_008d: ldloc.0 + IL_008e: ldstr "Detect64BitPortabilityProblems" + IL_0093: ldstr "/Wp64" + IL_0098: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_009d: ldloc.0 + IL_009e: ldstr "WarnAsError" + IL_00a3: ldstr "/WX" + IL_00a8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_00ad: ldloc.0 + IL_00ae: ldstr "Optimization" + IL_00b3: ldnull + IL_00b4: ldc.i4.4 + IL_00b5: newarr [mscorlib]System.String + IL_00ba: dup + IL_00bb: ldc.i4.0 + IL_00bc: ldstr "/Od" + IL_00c1: stelem.ref + IL_00c2: dup + IL_00c3: ldc.i4.1 + IL_00c4: ldstr "/O1" + IL_00c9: stelem.ref + IL_00ca: dup + IL_00cb: ldc.i4.2 + IL_00cc: ldstr "/O2" + IL_00d1: stelem.ref + IL_00d2: dup + IL_00d3: ldc.i4.3 + IL_00d4: ldstr "/Ox" + IL_00d9: stelem.ref + IL_00da: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_00df: ldloc.0 + IL_00e0: ldc.i4.1 + IL_00e1: ldstr "GlobalOptimizations" + IL_00e6: ldstr "/Og" + IL_00eb: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_00f0: ldloc.0 + IL_00f1: ldc.i4.1 + IL_00f2: ldstr "InlineFunctionExpansion" + IL_00f7: ldnull + IL_00f8: ldc.i4.3 + IL_00f9: newarr [mscorlib]System.String + IL_00fe: dup + IL_00ff: ldc.i4.0 + IL_0100: ldstr "/Ob0" + IL_0105: stelem.ref + IL_0106: dup + IL_0107: ldc.i4.1 + IL_0108: ldstr "/Ob1" + IL_010d: stelem.ref + IL_010e: dup + IL_010f: ldc.i4.2 + IL_0110: ldstr "/Ob2" + IL_0115: stelem.ref + IL_0116: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string, string[]) + IL_011b: ldloc.0 + IL_011c: ldc.i4.1 + IL_011d: ldstr "EnableIntrinsicFunctions" + IL_0122: ldstr "/Oi" + IL_0127: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_012c: ldloc.0 + IL_012d: ldstr "ImproveFloatingPointConsistency" + IL_0132: ldstr "/Op" + IL_0137: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_013c: ldloc.0 + IL_013d: ldstr "FavorSizeOrSpeed" + IL_0142: ldnull + IL_0143: ldc.i4.3 + IL_0144: newarr [mscorlib]System.String + IL_0149: dup + IL_014a: ldc.i4.1 + IL_014b: ldstr "/Ot" + IL_0150: stelem.ref + IL_0151: dup + IL_0152: ldc.i4.2 + IL_0153: ldstr "/Os" + IL_0158: stelem.ref + IL_0159: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_015e: ldloc.0 + IL_015f: ldc.i4.1 + IL_0160: ldstr "OmitFramePointers" + IL_0165: ldstr "/Oy" + IL_016a: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_016f: ldloc.0 + IL_0170: ldstr "EnableFiberSafeOptimizations" + IL_0175: ldstr "/GT" + IL_017a: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_017f: ldloc.0 + IL_0180: ldstr "OptimizeForProcessor" + IL_0185: ldnull + IL_0186: ldc.i4.4 + IL_0187: newarr [mscorlib]System.String + IL_018c: dup + IL_018d: ldc.i4.1 + IL_018e: ldstr "/G5" + IL_0193: stelem.ref + IL_0194: dup + IL_0195: ldc.i4.2 + IL_0196: ldstr "/G6" + IL_019b: stelem.ref + IL_019c: dup + IL_019d: ldc.i4.3 + IL_019e: ldstr "/G7" + IL_01a3: stelem.ref + IL_01a4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_01a9: ldloc.0 + IL_01aa: ldstr "OptimizeForWindowsApplication" + IL_01af: ldstr "/GA" + IL_01b4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_01b9: ldloc.0 + IL_01ba: ldstr "IgnoreStandardIncludePath" + IL_01bf: ldstr "/X" + IL_01c4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_01c9: ldloc.0 + IL_01ca: ldstr "GeneratePreprocessedFile" + IL_01cf: ldnull + IL_01d0: ldc.i4.3 + IL_01d1: newarr [mscorlib]System.String + IL_01d6: dup + IL_01d7: ldc.i4.1 + IL_01d8: ldstr "/P" + IL_01dd: stelem.ref + IL_01de: dup + IL_01df: ldc.i4.2 + IL_01e0: ldstr "/EP /P" + IL_01e5: stelem.ref + IL_01e6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_01eb: ldloc.0 + IL_01ec: ldstr "KeepComments" + IL_01f1: ldstr "/C" + IL_01f6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_01fb: ldloc.0 + IL_01fc: ldc.i4.1 + IL_01fd: ldstr "StringPooling" + IL_0202: ldstr "/GF" + IL_0207: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_020c: ldloc.0 + IL_020d: ldstr "MinimalRebuild" + IL_0212: ldstr "/Gm" + IL_0217: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_021c: ldloc.0 + IL_021d: ldstr "SmallerTypeCheck" + IL_0222: ldstr "/RTCc" + IL_0227: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_022c: ldloc.0 + IL_022d: ldstr "BasicRuntimeChecks" + IL_0232: ldnull + IL_0233: ldc.i4.4 + IL_0234: newarr [mscorlib]System.String + IL_0239: dup + IL_023a: ldc.i4.1 + IL_023b: ldstr "/RTCs" + IL_0240: stelem.ref + IL_0241: dup + IL_0242: ldc.i4.2 + IL_0243: ldstr "/RTCu" + IL_0248: stelem.ref + IL_0249: dup + IL_024a: ldc.i4.3 + IL_024b: ldstr "/RTC1" + IL_0250: stelem.ref + IL_0251: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0256: ldloc.0 + IL_0257: ldstr "RuntimeLibrary" + IL_025c: ldnull + IL_025d: ldc.i4.6 + IL_025e: newarr [mscorlib]System.String + IL_0263: dup + IL_0264: ldc.i4.0 + IL_0265: ldstr "/MT" + IL_026a: stelem.ref + IL_026b: dup + IL_026c: ldc.i4.1 + IL_026d: ldstr "/MTd" + IL_0272: stelem.ref + IL_0273: dup + IL_0274: ldc.i4.2 + IL_0275: ldstr "/MD" + IL_027a: stelem.ref + IL_027b: dup + IL_027c: ldc.i4.3 + IL_027d: ldstr "/MDd" + IL_0282: stelem.ref + IL_0283: dup + IL_0284: ldc.i4.4 + IL_0285: ldstr "/ML" + IL_028a: stelem.ref + IL_028b: dup + IL_028c: ldc.i4.5 + IL_028d: ldstr "/MLd" + IL_0292: stelem.ref + IL_0293: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0298: ldloc.0 + IL_0299: ldstr "StructMemberAlignment" + IL_029e: ldnull + IL_029f: ldc.i4.6 + IL_02a0: newarr [mscorlib]System.String + IL_02a5: dup + IL_02a6: ldc.i4.1 + IL_02a7: ldstr "/Zp1" + IL_02ac: stelem.ref + IL_02ad: dup + IL_02ae: ldc.i4.2 + IL_02af: ldstr "/Zp2" + IL_02b4: stelem.ref + IL_02b5: dup + IL_02b6: ldc.i4.3 + IL_02b7: ldstr "/Zp4" + IL_02bc: stelem.ref + IL_02bd: dup + IL_02be: ldc.i4.4 + IL_02bf: ldstr "/Zp8" + IL_02c4: stelem.ref + IL_02c5: dup + IL_02c6: ldc.i4.5 + IL_02c7: ldstr "/Zp16" + IL_02cc: stelem.ref + IL_02cd: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_02d2: ldloc.0 + IL_02d3: ldstr "BufferSecurityCheck" + IL_02d8: ldstr "/GS" + IL_02dd: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_02e2: ldloc.0 + IL_02e3: ldc.i4.1 + IL_02e4: ldstr "EnableFunctionLevelLinking" + IL_02e9: ldstr "/Gy" + IL_02ee: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_02f3: ldloc.0 + IL_02f4: ldstr "EnableEnhancedInstructionSet" + IL_02f9: ldnull + IL_02fa: ldc.i4.3 + IL_02fb: newarr [mscorlib]System.String + IL_0300: dup + IL_0301: ldc.i4.1 + IL_0302: ldstr "/arch:SSE" + IL_0307: stelem.ref + IL_0308: dup + IL_0309: ldc.i4.2 + IL_030a: ldstr "/arch:SSE2" + IL_030f: stelem.ref + IL_0310: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0315: ldloc.0 + IL_0316: ldstr "DisableLanguageExtensions" + IL_031b: ldstr "/Za" + IL_0320: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0325: ldloc.0 + IL_0326: ldstr "DefaultCharIsUnsigned" + IL_032b: ldstr "/J" + IL_0330: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0335: ldloc.0 + IL_0336: ldstr "TreatWChar_tAsBuiltInType" + IL_033b: ldstr "/Zc:wchar_t" + IL_0340: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0345: ldloc.0 + IL_0346: ldstr "ForceConformanceInForLoopScope" + IL_034b: ldstr "/Zc:forScope" + IL_0350: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0355: ldloc.0 + IL_0356: ldstr "RuntimeTypeInfo" + IL_035b: ldstr "/GR" + IL_0360: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0365: ldloc.0 + IL_0366: ldstr "ExpandAttributedSource" + IL_036b: ldstr "/Fx" + IL_0370: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0375: ldloc.0 + IL_0376: ldstr "AssemblerOutput" + IL_037b: ldnull + IL_037c: ldc.i4.5 + IL_037d: newarr [mscorlib]System.String + IL_0382: dup + IL_0383: ldc.i4.1 + IL_0384: ldstr "/FA" + IL_0389: stelem.ref + IL_038a: dup + IL_038b: ldc.i4.2 + IL_038c: ldstr "/FAcs" + IL_0391: stelem.ref + IL_0392: dup + IL_0393: ldc.i4.3 + IL_0394: ldstr "/FAc" + IL_0399: stelem.ref + IL_039a: dup + IL_039b: ldc.i4.4 + IL_039c: ldstr "/FAs" + IL_03a1: stelem.ref + IL_03a2: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_03a7: ldloc.0 + IL_03a8: ldstr "CallingConvention" + IL_03ad: ldnull + IL_03ae: ldc.i4.3 + IL_03af: newarr [mscorlib]System.String + IL_03b4: dup + IL_03b5: ldc.i4.1 + IL_03b6: ldstr "/Gr" + IL_03bb: stelem.ref + IL_03bc: dup + IL_03bd: ldc.i4.2 + IL_03be: ldstr "/Gz" + IL_03c3: stelem.ref + IL_03c4: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_03c9: ldloc.0 + IL_03ca: ldstr "CompileAs" + IL_03cf: ldnull + IL_03d0: ldc.i4.3 + IL_03d1: newarr [mscorlib]System.String + IL_03d6: dup + IL_03d7: ldc.i4.1 + IL_03d8: ldstr "/TC" + IL_03dd: stelem.ref + IL_03de: dup + IL_03df: ldc.i4.2 + IL_03e0: ldstr "/TP" + IL_03e5: stelem.ref + IL_03e6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_03eb: ldloc.0 + IL_03ec: ldstr "ShowIncludes" + IL_03f1: ldstr "/showIncludes" + IL_03f6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_03fb: ldloc.0 + IL_03fc: ldstr "UndefineAllPreprocessorDefinitions" + IL_0401: ldstr "/u" + IL_0406: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_040b: ldloc.0 + IL_040c: stloc.1 + IL_040d: br IL_0412 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_AssemblyKeyContainerName + IL_0412: ldloc.1 + IL_0413: ret + } // end of method VcArgumentMap::CreateCLArgumentMap - // method line 460 - .method public hidebysig specialname - instance default class [System]System.CodeDom.Compiler.TempFileCollection get_TemporaryFiles () cil managed + // method line 556 + .method public static hidebysig + default class NAnt.VSNet.VcArgumentMap CreateLinkerArgumentMap () cil managed { - // Method begins at RVA 0x1200c - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x1245c + // Code size 693 (0x2b5) + .maxstack 7 .locals init ( - class [System]System.CodeDom.Compiler.TempFileCollection V_0) + class NAnt.VSNet.VcArgumentMap V_0, + class NAnt.VSNet.VcArgumentMap V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() - IL_0007: callvirt instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: newobj instance void class NAnt.VSNet.VcArgumentMap::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldstr "LinkIncremental" + IL_000d: ldnull + IL_000e: ldc.i4.3 + IL_000f: newarr [mscorlib]System.String + IL_0014: dup + IL_0015: ldc.i4.1 + IL_0016: ldstr "/INCREMENTAL:NO" + IL_001b: stelem.ref + IL_001c: dup + IL_001d: ldc.i4.2 + IL_001e: ldstr "/INCREMENTAL" + IL_0023: stelem.ref + IL_0024: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0029: ldloc.0 + IL_002a: ldstr "Version" + IL_002f: ldstr "/VERSION:" + IL_0034: ldc.i4.1 + IL_0035: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(string, string, bool) + IL_003a: ldloc.0 + IL_003b: ldstr "IgnoreAllDefaultLibraries" + IL_0040: ldstr "/NODEFAULTLIB" + IL_0045: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_004a: ldloc.0 + IL_004b: ldstr "ModuleDefinitionFile" + IL_0050: ldstr "/DEF:" + IL_0055: ldc.i4.1 + IL_0056: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_005b: ldloc.0 + IL_005c: ldstr "StripPrivateSymbols" + IL_0061: ldstr "/PDBSTRIPPED:" + IL_0066: ldc.i4.1 + IL_0067: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_006c: ldloc.0 + IL_006d: ldstr "MapExports" + IL_0072: ldstr "/MAPINFO:EXPORTS" + IL_0077: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_007c: ldloc.0 + IL_007d: ldstr "MapLines" + IL_0082: ldstr "/MAPINFO:LINES" + IL_0087: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_008c: ldloc.0 + IL_008d: ldstr "AssemblyDebug" + IL_0092: ldnull + IL_0093: ldc.i4.3 + IL_0094: newarr [mscorlib]System.String + IL_0099: dup + IL_009a: ldc.i4.1 + IL_009b: ldstr "/ASSEMBLYDEBUG" + IL_00a0: stelem.ref + IL_00a1: dup + IL_00a2: ldc.i4.2 + IL_00a3: ldstr "/ASSEMBLYDEBUG:DISABLE" + IL_00a8: stelem.ref + IL_00a9: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_00ae: ldloc.0 + IL_00af: ldstr "SubSystem" + IL_00b4: ldstr "/SUBSYSTEM:" + IL_00b9: ldc.i4.3 + IL_00ba: newarr [mscorlib]System.String + IL_00bf: dup + IL_00c0: ldc.i4.1 + IL_00c1: ldstr "CONSOLE" + IL_00c6: stelem.ref + IL_00c7: dup + IL_00c8: ldc.i4.2 + IL_00c9: ldstr "WINDOWS" + IL_00ce: stelem.ref + IL_00cf: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_00d4: ldloc.0 + IL_00d5: ldstr "LargeAddressAware" + IL_00da: ldnull + IL_00db: ldc.i4.3 + IL_00dc: newarr [mscorlib]System.String + IL_00e1: dup + IL_00e2: ldc.i4.1 + IL_00e3: ldstr "/LARGEADDRESSAWARE:NO" + IL_00e8: stelem.ref + IL_00e9: dup + IL_00ea: ldc.i4.2 + IL_00eb: ldstr "/LARGEADDRESSAWARE" + IL_00f0: stelem.ref + IL_00f1: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_00f6: ldloc.0 + IL_00f7: ldstr "TerminalServerAware" + IL_00fc: ldnull + IL_00fd: ldc.i4.3 + IL_00fe: newarr [mscorlib]System.String + IL_0103: dup + IL_0104: ldc.i4.1 + IL_0105: ldstr "/TSAWARE:NO" + IL_010a: stelem.ref + IL_010b: dup + IL_010c: ldc.i4.2 + IL_010d: ldstr "/TSAWARE" + IL_0112: stelem.ref + IL_0113: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0118: ldloc.0 + IL_0119: ldstr "SwapRunFromCD" + IL_011e: ldstr "/SWAPRUN:CD" + IL_0123: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0128: ldloc.0 + IL_0129: ldstr "SwapRunFromNet" + IL_012e: ldstr "/SWAPRUN:NET" + IL_0133: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0138: ldloc.0 + IL_0139: ldstr "OptimizeReferences" + IL_013e: ldstr "/OPT:" + IL_0143: ldc.i4.3 + IL_0144: newarr [mscorlib]System.String + IL_0149: dup + IL_014a: ldc.i4.1 + IL_014b: ldstr "NOREF" + IL_0150: stelem.ref + IL_0151: dup + IL_0152: ldc.i4.2 + IL_0153: ldstr "REF" + IL_0158: stelem.ref + IL_0159: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_015e: ldloc.0 + IL_015f: ldstr "EnableCOMDATFolding" + IL_0164: ldstr "/OPT:" + IL_0169: ldc.i4.3 + IL_016a: newarr [mscorlib]System.String + IL_016f: dup + IL_0170: ldc.i4.1 + IL_0171: ldstr "NOICF" + IL_0176: stelem.ref + IL_0177: dup + IL_0178: ldc.i4.2 + IL_0179: ldstr "ICF" + IL_017e: stelem.ref + IL_017f: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0184: ldloc.0 + IL_0185: ldstr "OptimizeForWindows98" + IL_018a: ldstr "/OPT:" + IL_018f: ldc.i4.3 + IL_0190: newarr [mscorlib]System.String + IL_0195: dup + IL_0196: ldc.i4.1 + IL_0197: ldstr "NOWIN98" + IL_019c: stelem.ref + IL_019d: dup + IL_019e: ldc.i4.2 + IL_019f: ldstr "WIN98" + IL_01a4: stelem.ref + IL_01a5: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_01aa: ldloc.0 + IL_01ab: ldstr "FunctionOrder" + IL_01b0: ldstr "/ORDER:" + IL_01b5: ldc.i4.1 + IL_01b6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_01bb: ldloc.0 + IL_01bc: ldstr "IgnoreEmbeddedIDL" + IL_01c1: ldstr "/IGNOREIDL" + IL_01c6: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_01cb: ldloc.0 + IL_01cc: ldstr "MergedIDLBaseFileName" + IL_01d1: ldstr "/IDLOUT:" + IL_01d6: ldc.i4.1 + IL_01d7: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_01dc: ldloc.0 + IL_01dd: ldstr "TypeLibraryFile" + IL_01e2: ldstr "/TLBOUT:" + IL_01e7: ldc.i4.1 + IL_01e8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_01ed: ldloc.0 + IL_01ee: ldstr "TypeLibraryResourceID" + IL_01f3: ldstr "/TLBID:" + IL_01f8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddLinkerString(string, string) + IL_01fd: ldloc.0 + IL_01fe: ldstr "EntryPointSymbol" + IL_0203: ldstr "/ENTRY:" + IL_0208: ldc.i4.1 + IL_0209: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_020e: ldloc.0 + IL_020f: ldstr "ResourceOnlyDLL" + IL_0214: ldstr "/NOENTRY" + IL_0219: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_021e: ldloc.0 + IL_021f: ldstr "SetChecksum" + IL_0224: ldstr "/RELEASE" + IL_0229: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_022e: ldloc.0 + IL_022f: ldstr "BaseAddress" + IL_0234: ldstr "/BASE:" + IL_0239: ldc.i4.1 + IL_023a: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_023f: ldloc.0 + IL_0240: ldstr "FixedBaseAddress" + IL_0245: ldnull + IL_0246: ldc.i4.3 + IL_0247: newarr [mscorlib]System.String + IL_024c: dup + IL_024d: ldc.i4.1 + IL_024e: ldstr "/FIXED:NO" + IL_0253: stelem.ref + IL_0254: dup + IL_0255: ldc.i4.2 + IL_0256: ldstr "/FIXED" + IL_025b: stelem.ref + IL_025c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0261: ldloc.0 + IL_0262: ldstr "TurnOffAssemblyGeneration" + IL_0267: ldstr "/NOASSEMBLY" + IL_026c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0271: ldloc.0 + IL_0272: ldstr "SupportUnloadOfDelayLoadedDLL" + IL_0277: ldstr "/DELAY:UNLOAD" + IL_027c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0281: ldloc.0 + IL_0282: ldstr "MergeSections" + IL_0287: ldstr "/MERGE:" + IL_028c: ldc.i4.1 + IL_028d: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddQuotedLinkerString(string, string, bool) + IL_0292: ldloc.0 + IL_0293: ldstr "TargetMachine" + IL_0298: ldnull + IL_0299: ldc.i4.2 + IL_029a: newarr [mscorlib]System.String + IL_029f: dup + IL_02a0: ldc.i4.1 + IL_02a1: ldstr "/MACHINE:X86" + IL_02a6: stelem.ref + IL_02a7: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_02ac: ldloc.0 + IL_02ad: stloc.1 + IL_02ae: br IL_02b3 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ProjectSettings::get_TemporaryFiles + IL_02b3: ldloc.1 + IL_02b4: ret + } // end of method VcArgumentMap::CreateLinkerArgumentMap - // method line 461 - .method public hidebysig specialname - instance default string get_OutputFileName () cil managed + // method line 557 + .method public static hidebysig + default class NAnt.VSNet.VcArgumentMap CreateMidlArgumentMap () cil managed { - // Method begins at RVA 0x1202c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x12720 + // Code size 419 (0x1a3) + .maxstack 7 .locals init ( - string V_0) + class NAnt.VSNet.VcArgumentMap V_0, + class NAnt.VSNet.VcArgumentMap V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.VSNet.ProjectSettings::get_AssemblyName() - IL_0007: ldarg.0 - IL_0008: call instance string class NAnt.VSNet.ProjectSettings::get_OutputExtension() - IL_000d: call string string::Concat(string, string) - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ProjectSettings::get_OutputFileName + IL_0001: newobj instance void class NAnt.VSNet.VcArgumentMap::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldstr "IgnoreStandardIncludePath" + IL_000d: ldstr "/no_def_idir" + IL_0012: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0017: ldloc.0 + IL_0018: ldstr "MkTypLibCompatible" + IL_001d: ldstr "/mktyplib203" + IL_0022: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0027: ldloc.0 + IL_0028: ldstr "WarningLevel" + IL_002d: ldnull + IL_002e: ldc.i4.5 + IL_002f: newarr [mscorlib]System.String + IL_0034: dup + IL_0035: ldc.i4.0 + IL_0036: ldstr "/W0" + IL_003b: stelem.ref + IL_003c: dup + IL_003d: ldc.i4.1 + IL_003e: ldstr "/W1" + IL_0043: stelem.ref + IL_0044: dup + IL_0045: ldc.i4.2 + IL_0046: ldstr "/W2" + IL_004b: stelem.ref + IL_004c: dup + IL_004d: ldc.i4.3 + IL_004e: ldstr "/W3" + IL_0053: stelem.ref + IL_0054: dup + IL_0055: ldc.i4.4 + IL_0056: ldstr "/W4" + IL_005b: stelem.ref + IL_005c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0061: ldloc.0 + IL_0062: ldstr "WarnAsError" + IL_0067: ldstr "/WX" + IL_006c: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0071: ldloc.0 + IL_0072: ldstr "DefaultCharType" + IL_0077: ldnull + IL_0078: ldc.i4.3 + IL_0079: newarr [mscorlib]System.String + IL_007e: dup + IL_007f: ldc.i4.0 + IL_0080: ldstr "unsigned" + IL_0085: stelem.ref + IL_0086: dup + IL_0087: ldc.i4.1 + IL_0088: ldstr "signed" + IL_008d: stelem.ref + IL_008e: dup + IL_008f: ldc.i4.2 + IL_0090: ldstr "ascii7" + IL_0095: stelem.ref + IL_0096: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_009b: ldloc.0 + IL_009c: ldstr "TargetEnvironment" + IL_00a1: ldnull + IL_00a2: ldc.i4.3 + IL_00a3: newarr [mscorlib]System.String + IL_00a8: dup + IL_00a9: ldc.i4.1 + IL_00aa: ldstr "win32" + IL_00af: stelem.ref + IL_00b0: dup + IL_00b1: ldc.i4.2 + IL_00b2: ldstr "win64" + IL_00b7: stelem.ref + IL_00b8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_00bd: ldloc.0 + IL_00be: ldstr "GenerateStublessProxies" + IL_00c3: ldstr "/Oicf" + IL_00c8: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_00cd: ldloc.0 + IL_00ce: ldstr "GenerateTypeLibrary" + IL_00d3: ldstr "/notlb" + IL_00d8: ldstr "false" + IL_00dd: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string, string) + IL_00e2: ldloc.0 + IL_00e3: ldstr "EnableErrorChecks" + IL_00e8: ldstr "/error " + IL_00ed: ldc.i4.3 + IL_00ee: newarr [mscorlib]System.String + IL_00f3: dup + IL_00f4: ldc.i4.1 + IL_00f5: ldstr "none" + IL_00fa: stelem.ref + IL_00fb: dup + IL_00fc: ldc.i4.2 + IL_00fd: ldstr "all" + IL_0102: stelem.ref + IL_0103: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_0108: ldloc.0 + IL_0109: ldstr "ErrorCheckAllocations" + IL_010e: ldstr "/error allocation" + IL_0113: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0118: ldloc.0 + IL_0119: ldstr "ErrorCheckBounds" + IL_011e: ldstr "/error bounds_check" + IL_0123: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0128: ldloc.0 + IL_0129: ldstr "ErrorCheckEnumRange" + IL_012e: ldstr "/error enum" + IL_0133: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0138: ldloc.0 + IL_0139: ldstr "ErrorCheckRefPointers" + IL_013e: ldstr "/error ref" + IL_0143: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0148: ldloc.0 + IL_0149: ldstr "ErrorCheckStubData" + IL_014e: ldstr "/error stub_data" + IL_0153: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0158: ldloc.0 + IL_0159: ldstr "ValidateParameters" + IL_015e: ldstr "/robust" + IL_0163: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddBool(string, string) + IL_0168: ldloc.0 + IL_0169: ldstr "StructMemberAlignment" + IL_016e: ldnull + IL_016f: ldc.i4.5 + IL_0170: newarr [mscorlib]System.String + IL_0175: dup + IL_0176: ldc.i4.1 + IL_0177: ldstr "/Zp1" + IL_017c: stelem.ref + IL_017d: dup + IL_017e: ldc.i4.2 + IL_017f: ldstr "/Zp2" + IL_0184: stelem.ref + IL_0185: dup + IL_0186: ldc.i4.3 + IL_0187: ldstr "/Zp4" + IL_018c: stelem.ref + IL_018d: dup + IL_018e: ldc.i4.4 + IL_018f: ldstr "/Zp8" + IL_0194: stelem.ref + IL_0195: callvirt instance void class NAnt.VSNet.VcArgumentMap::AddEnum(string, string, string[]) + IL_019a: ldloc.0 + IL_019b: stloc.1 + IL_019c: br IL_01a1 - // method line 462 - .method public hidebysig specialname - instance default valuetype NAnt.VSNet.ManagedOutputType get_OutputType () cil managed - { - // Method begins at RVA 0x12054 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ManagedOutputType V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::_outputType - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01a1: ldloc.1 + IL_01a2: ret + } // end of method VcArgumentMap::CreateMidlArgumentMap - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_OutputType + .class nested private auto ansi abstract beforefieldinit VcArgument + extends [mscorlib]System.Object + { + .field private string _name + .field private valuetype NAnt.VSNet.VcArgumentMap/ArgGroup _group - // method line 463 - .method public hidebysig specialname - instance default string get_OutputExtension () cil managed + // method line 558 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed { - // Method begins at RVA 0x12070 - // Code size 57 (0x39) - .maxstack 2 - .locals init ( - valuetype NAnt.VSNet.ManagedOutputType V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::get_OutputType() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: ldc.i4.1 - IL_000a: sub - IL_000b: switch ( - IL_0021, - IL_002c, - IL_002c) - IL_001c: br IL_002c - - IL_0021: ldstr ".dll" - IL_0026: stloc.1 - IL_0027: br IL_0037 - - IL_002c: ldstr ".exe" - IL_0031: stloc.1 - IL_0032: br IL_0037 - - IL_0037: ldloc.1 - IL_0038: ret - } // end of method ProjectSettings::get_OutputExtension + // Method begins at RVA 0x128cf + // Code size 22 (0x16) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.2 + IL_0009: stfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld valuetype NAnt.VSNet.VcArgumentMap/ArgGroup NAnt.VSNet.VcArgumentMap/VcArgument::_group + IL_0015: ret + } // end of method VcArgument::.ctor - // method line 464 + // method line 559 .method public hidebysig specialname - instance default string get_RootNamespace () cil managed + instance default string get_Name () cil managed { - // Method begins at RVA 0x120b8 + // Method begins at RVA 0x128e8 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_rootNamespace + IL_0002: ldfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectSettings::get_RootNamespace + } // end of method VcArgument::get_Name - // method line 465 + // method line 560 .method public hidebysig specialname - instance default string get_Guid () cil managed + instance default valuetype NAnt.VSNet.VcArgumentMap/ArgGroup get_Group () cil managed { - // Method begins at RVA 0x120d4 + // Method begins at RVA 0x12904 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype NAnt.VSNet.VcArgumentMap/ArgGroup V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_guid + IL_0002: ldfld valuetype NAnt.VSNet.VcArgumentMap/ArgGroup NAnt.VSNet.VcArgumentMap/VcArgument::_group IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectSettings::get_Guid + } // end of method VcArgument::get_Group - // method line 466 - .method public hidebysig specialname - instance default string get_RunPostBuildEvent () cil managed + // method line 561 + .method assembly virtual hidebysig newslot abstract + instance default string MapValue (string propValue) cil managed { - // Method begins at RVA 0x120f0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_runPostBuildEvent - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_RunPostBuildEvent + // Method begins at RVA 0x0 + } // end of method VcArgument::MapValue - // method line 467 - .method public hidebysig specialname - instance default string get_PreBuildEvent () cil managed + // method line 562 + .method family hidebysig + instance default string FormatOption (string 'value') cil managed { - // Method begins at RVA 0x1210c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x12920 + // Code size 40 (0x28) + .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_preBuildEvent - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name + IL_0007: brtrue IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_PreBuildEvent + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: stloc.0 + IL_000f: br IL_0026 - // method line 468 - .method public hidebysig specialname - instance default string get_PostBuildEvent () cil managed + IL_0014: ldarg.0 + IL_0015: ldfld string NAnt.VSNet.VcArgumentMap/VcArgument::_name + IL_001a: ldarg.1 + IL_001b: call string string::Concat(string, string) + IL_0020: stloc.0 + IL_0021: br IL_0026 + + IL_0026: ldloc.0 + IL_0027: ret + } // end of method VcArgument::FormatOption + + .property instance string Name () + { + .get instance default string NAnt.VSNet.VcArgumentMap/VcArgument::get_Name () + } + .property instance valuetype NAnt.VSNet.VcArgumentMap/ArgGroup Group () + { + .get instance default valuetype NAnt.VSNet.VcArgumentMap/ArgGroup NAnt.VSNet.VcArgumentMap/VcArgument::get_Group () + } + } // end of class VcArgument + + .class nested private auto ansi beforefieldinit VcStringArgument + extends NAnt.VSNet.VcArgumentMap/VcArgument + { + .field private bool _ignoreEmptyValue + + // method line 563 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed { - // Method begins at RVA 0x12128 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectSettings::_postBuildEvent - IL_0007: stloc.0 - IL_0008: br IL_000d + // Method begins at RVA 0x12954 + // Code size 11 (0xb) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldc.i4.0 + IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0009: nop + IL_000a: ret + } // end of method VcStringArgument::.ctor - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectSettings::get_PostBuildEvent + // method line 564 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, bool ignoreEmptyValue) cil managed + { + // Method begins at RVA 0x12960 + // Code size 17 (0x11) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.VSNet.VcArgumentMap/VcArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.3 + IL_000b: stfld bool NAnt.VSNet.VcArgumentMap/VcStringArgument::_ignoreEmptyValue + IL_0010: ret + } // end of method VcStringArgument::.ctor - // method line 469 - .method private hidebysig specialname - instance default class NAnt.VSNet.ManagedProjectBase get_Project () cil managed + // method line 565 + .method family hidebysig specialname + instance default bool get_IgnoreEmptyValue () cil managed { - // Method begins at RVA 0x12144 + // Method begins at RVA 0x12974 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ManagedProjectBase V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.ProjectSettings::_project + IL_0002: ldfld bool NAnt.VSNet.VcArgumentMap/VcStringArgument::_ignoreEmptyValue IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectSettings::get_Project - - // method line 470 - .method family virtual hidebysig newslot - instance default valuetype NAnt.VSNet.ManagedOutputType GetOutputType (class [System.Xml]System.Xml.XmlElement settingsXml) cil managed - { - // Method begins at RVA 0x12160 - // Code size 204 (0xcc) - .maxstack 4 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1, - valuetype NAnt.VSNet.ManagedOutputType V_2) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0007: ldstr "OutputType" - IL_000c: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: brtrue IL_003e - - IL_0018: nop - IL_0019: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001e: ldstr "Project \"{0}\" is invalid: the output type is not set." - IL_0023: ldarg.0 - IL_0024: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() - IL_0029: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_002e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0033: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0038: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_003d: throw - IL_003e: ldloc.0 - IL_003f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0044: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0049: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_004e: stloc.1 - IL_004f: ldloc.1 - IL_0050: brfalse IL_009f - - IL_0055: ldloc.1 - IL_0056: ldstr "library" - IL_005b: call bool string::op_Equality(string, string) - IL_0060: brtrue IL_008a - - IL_0065: ldloc.1 - IL_0066: ldstr "exe" - IL_006b: call bool string::op_Equality(string, string) - IL_0070: brtrue IL_0091 - - IL_0075: ldloc.1 - IL_0076: ldstr "winexe" - IL_007b: call bool string::op_Equality(string, string) - IL_0080: brtrue IL_0098 - - IL_0085: br IL_009f - - IL_008a: ldc.i4.1 - IL_008b: stloc.2 - IL_008c: br IL_00ca - - IL_0091: ldc.i4.2 - IL_0092: stloc.2 - IL_0093: br IL_00ca - - IL_0098: ldc.i4.3 - IL_0099: stloc.2 - IL_009a: br IL_00ca - - IL_009f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a4: ldstr "Output type \"{0}\" of project \"{1}\" is not supported." - IL_00a9: ldloc.0 - IL_00aa: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00af: ldarg.0 - IL_00b0: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.ProjectSettings::get_Project() - IL_00b5: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_00ba: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00bf: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00c4: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00c9: throw - IL_00ca: ldloc.2 - IL_00cb: ret - } // end of method ProjectSettings::GetOutputType - - // method line 471 - .method public static hidebysig - default string GetProjectGuid (string projectFile, class [System.Xml]System.Xml.XmlElement elemRoot) cil managed - { - // Method begins at RVA 0x12238 - // Code size 92 (0x5c) - .maxstack 4 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_FirstChild() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_000c: ldstr "ProjectGuid" - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brtrue IL_0044 - - IL_001d: nop - IL_001e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0023: ldstr "Project file '{0}' is not valid. There's no \"ProjectGuid\" attribute on the <{1} ... /> node." - IL_0028: ldarg.0 - IL_0029: ldarg.1 - IL_002a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::get_FirstChild() - IL_002f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0034: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0039: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_003e: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0043: throw - IL_0044: ldloc.0 - IL_0045: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_004a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004f: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) - IL_0054: stloc.1 - IL_0055: br IL_005a - - IL_005a: ldloc.1 - IL_005b: ret - } // end of method ProjectSettings::GetProjectGuid + } // end of method VcStringArgument::get_IgnoreEmptyValue - // method line 472 - .method public hidebysig - instance default string GetTemporaryFilename (string fileName) cil managed + // method line 566 + .method assembly virtual hidebysig + instance default string MapValue (string propValue) cil managed { - // Method begins at RVA 0x122a0 - // Code size 26 (0x1a) + // Method begins at RVA 0x12990 + // Code size 46 (0x2e) .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectSettings::get_TemporaryFiles() - IL_0007: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_0002: call instance bool class NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue() + IL_0007: brfalse IL_001f + IL_000c: ldarg.1 - IL_000d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_000d: call bool string::IsNullOrEmpty(string) + IL_0012: brfalse IL_001f - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ProjectSettings::GetTemporaryFilename + IL_0017: nop + IL_0018: ldnull + IL_0019: stloc.0 + IL_001a: br IL_002c - .property instance string[] Settings () - { - .get instance default string[] NAnt.VSNet.ProjectSettings::get_Settings () - } - .property instance class [mscorlib]System.IO.FileInfo ApplicationIcon () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.ProjectSettings::get_ApplicationIcon () - } - .property instance string AssemblyName () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_AssemblyName () - } - .property instance string AssemblyOriginatorKeyFile () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_AssemblyOriginatorKeyFile () - } - .property instance string AssemblyKeyContainerName () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_AssemblyKeyContainerName () - } - .property instance class [System]System.CodeDom.Compiler.TempFileCollection TemporaryFiles () - { - .get instance default class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.ProjectSettings::get_TemporaryFiles () - } - .property instance string OutputFileName () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_OutputFileName () - } - .property instance valuetype NAnt.VSNet.ManagedOutputType OutputType () - { - .get instance default valuetype NAnt.VSNet.ManagedOutputType NAnt.VSNet.ProjectSettings::get_OutputType () - } - .property instance string OutputExtension () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_OutputExtension () - } - .property instance string RootNamespace () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_RootNamespace () - } - .property instance string Guid () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_Guid () - } - .property instance string RunPostBuildEvent () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_RunPostBuildEvent () - } - .property instance string PreBuildEvent () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_PreBuildEvent () - } - .property instance string PostBuildEvent () - { - .get instance default string NAnt.VSNet.ProjectSettings::get_PostBuildEvent () - } - .property instance class NAnt.VSNet.ManagedProjectBase Project () + IL_001f: ldarg.0 + IL_0020: ldarg.1 + IL_0021: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::FormatOption(string) + IL_0026: stloc.0 + IL_0027: br IL_002c + + IL_002c: ldloc.0 + IL_002d: ret + } // end of method VcStringArgument::MapValue + + .property instance bool IgnoreEmptyValue () { - .get instance default class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.ProjectSettings::get_Project () + .get instance default bool NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue () } - } // end of class NAnt.VSNet.ProjectSettings -} - -.namespace NAnt.VSNet -{ - .class public auto ansi sealed beforefieldinit ConfigurationMap - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionary, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + } // end of class VcStringArgument - .field private initonly class [mscorlib]System.Collections.Hashtable _innerHash + .class nested private auto ansi beforefieldinit LinkerStringArgument + extends NAnt.VSNet.VcArgumentMap/VcStringArgument + { - // method line 473 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 567 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed { - // Method begins at RVA 0x122c6 - // Code size 19 (0x13) + // Method begins at RVA 0x129ca + // Code size 11 (0xb) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0012: ret - } // end of method ConfigurationMap::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldc.i4.0 + IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/LinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0009: nop + IL_000a: ret + } // end of method LinkerStringArgument::.ctor - // method line 474 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity) cil managed + // method line 568 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, bool ignoreEmptyValue) cil managed { - // Method begins at RVA 0x122da - // Code size 20 (0x14) + // Method begins at RVA 0x129d6 + // Code size 11 (0xb) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable(int32) - IL_000e: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0013: ret - } // end of method ConfigurationMap::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0009: nop + IL_000a: ret + } // end of method LinkerStringArgument::.ctor - // method line 475 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed + // method line 569 + .method assembly virtual hidebysig + instance default string MapValue (string 'value') cil managed { - // Method begins at RVA 0x122f0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x129e4 + // Code size 80 (0x50) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationMap::get_InnerHash + IL_0002: call instance bool class NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue() + IL_0007: brfalse IL_001f - // method line 476 - .method public hidebysig - instance default class NAnt.VSNet.ConfigurationMapEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x1230c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.ConfigurationMapEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VSNet.ConfigurationMapEnumerator::'.ctor'(class NAnt.VSNet.ConfigurationMap) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_000c: ldarg.1 + IL_000d: call bool string::IsNullOrEmpty(string) + IL_0012: brfalse IL_001f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationMap::GetEnumerator + IL_0017: nop + IL_0018: ldnull + IL_0019: stloc.0 + IL_001a: br IL_004e - // method line 477 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed - { - // Method begins at RVA 0x12328 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::GetEnumerator due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IDictionaryEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationMapEnumerator class NAnt.VSNet.ConfigurationMap::GetEnumerator() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_001f: ldarg.0 + IL_0020: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() + IL_0025: brtrue IL_0037 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationMap::System.Collections.IDictionary.GetEnumerator + IL_002a: nop + IL_002b: ldarg.1 + IL_002c: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) + IL_0031: stloc.0 + IL_0032: br IL_004e - // method line 478 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed - { - // Method begins at RVA 0x12344 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerable::GetEnumerator due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationMapEnumerator class NAnt.VSNet.ConfigurationMap::GetEnumerator() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0037: ldarg.0 + IL_0038: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() + IL_003d: ldarg.1 + IL_003e: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) + IL_0043: call string string::Concat(string, string) + IL_0048: stloc.0 + IL_0049: br IL_004e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationMap::System.Collections.IEnumerable.GetEnumerator + IL_004e: ldloc.0 + IL_004f: ret + } // end of method LinkerStringArgument::MapValue - // method line 479 - .method public hidebysig - instance default void Remove (class NAnt.VSNet.Configuration configuration) cil managed + } // end of class LinkerStringArgument + + .class nested private auto ansi beforefieldinit QuotedLinkerStringArgument + extends NAnt.VSNet.VcArgumentMap/VcStringArgument + { + + // method line 570 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed { - // Method begins at RVA 0x1235f - // Code size 14 (0xe) + // Method begins at RVA 0x12a40 + // Code size 11 (0xb) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_000d: ret - } // end of method ConfigurationMap::Remove + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldc.i4.0 + IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/QuotedLinkerStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0009: nop + IL_000a: ret + } // end of method QuotedLinkerStringArgument::.ctor - // method line 480 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Remove (object key) cil managed + // method line 571 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, bool ignoreEmptyValue) cil managed { - // Method begins at RVA 0x1236e - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Remove due to (null) - // Code size 14 (0xe) + // Method begins at RVA 0x12a4c + // Code size 11 (0xb) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: call instance void class NAnt.VSNet.ConfigurationMap::Remove(class NAnt.VSNet.Configuration) - IL_000d: ret - } // end of method ConfigurationMap::System.Collections.IDictionary.Remove + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: call instance void class NAnt.VSNet.VcArgumentMap/VcStringArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, bool) + IL_0009: nop + IL_000a: ret + } // end of method QuotedLinkerStringArgument::.ctor - // method line 481 - .method public hidebysig - instance default bool Contains (class NAnt.VSNet.Configuration key) cil managed + // method line 572 + .method assembly virtual hidebysig + instance default string MapValue (string 'value') cil managed { - // Method begins at RVA 0x12380 - // Code size 21 (0x15) + // Method begins at RVA 0x12a58 + // Code size 80 (0x50) .maxstack 2 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: call instance bool class NAnt.VSNet.VcArgumentMap/VcStringArgument::get_IgnoreEmptyValue() + IL_0007: brfalse IL_001f - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationMap::Contains + IL_000c: ldarg.1 + IL_000d: call bool string::IsNullOrEmpty(string) + IL_0012: brfalse IL_001f - // method line 482 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IDictionary.Contains (object key) cil managed - { - // Method begins at RVA 0x123a4 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Contains due to (null) - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: call instance bool class NAnt.VSNet.ConfigurationMap::Contains(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0017: nop + IL_0018: ldnull + IL_0019: stloc.0 + IL_001a: br IL_004e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationMap::System.Collections.IDictionary.Contains + IL_001f: ldarg.0 + IL_0020: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() + IL_0025: brtrue IL_0037 - // method line 483 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed - { - // Method begins at RVA 0x123c5 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() - IL_000c: ret - } // end of method ConfigurationMap::Clear + IL_002a: nop + IL_002b: ldarg.1 + IL_002c: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_0031: stloc.0 + IL_0032: br IL_004e - // method line 484 - .method public hidebysig - instance default void Add (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') cil managed + IL_0037: ldarg.0 + IL_0038: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::get_Name() + IL_003d: ldarg.1 + IL_003e: call string class [NAnt.VisualCppTasks]NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_0043: call string string::Concat(string, string) + IL_0048: stloc.0 + IL_0049: br IL_004e + + IL_004e: ldloc.0 + IL_004f: ret + } // end of method QuotedLinkerStringArgument::MapValue + + } // end of class QuotedLinkerStringArgument + + .class nested private auto ansi beforefieldinit VcBoolArgument + extends NAnt.VSNet.VcArgumentMap/VcArgument + { + .field private string _match + + // method line 573 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name) cil managed { - // Method begins at RVA 0x123d3 + // Method begins at RVA 0x12ab4 // Code size 15 (0xf) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldstr "true" + IL_0008: call instance void class NAnt.VSNet.VcArgumentMap/VcBoolArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string, string) + IL_000d: nop IL_000e: ret - } // end of method ConfigurationMap::Add + } // end of method VcBoolArgument::.ctor - // method line 485 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed + // method line 574 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, string match) cil managed { - // Method begins at RVA 0x123e3 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::Add due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x12ac4 + // Code size 28 (0x1c) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: ldarg.2 - IL_0009: castclass NAnt.VSNet.Configuration - IL_000e: call instance void class NAnt.VSNet.ConfigurationMap::Add(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) - IL_0013: ret - } // end of method ConfigurationMap::System.Collections.IDictionary.Add + IL_0000: ldarg.0 + IL_0001: ldstr "true" + IL_0006: stfld string NAnt.VSNet.VcArgumentMap/VcBoolArgument::_match + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldarg.2 + IL_000e: call instance void class NAnt.VSNet.VcArgumentMap/VcArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldarg.3 + IL_0016: stfld string NAnt.VSNet.VcArgumentMap/VcBoolArgument::_match + IL_001b: ret + } // end of method VcBoolArgument::.ctor - // method line 486 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsReadOnly () cil managed + // method line 575 + .method public hidebysig specialname + instance default string get_Match () cil managed { - // Method begins at RVA 0x123f8 - // Code size 20 (0x14) + // Method begins at RVA 0x12ae4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsReadOnly() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld string NAnt.VSNet.VcArgumentMap/VcBoolArgument::_match + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMap::get_IsReadOnly + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcBoolArgument::get_Match - // method line 487 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_Item (class NAnt.VSNet.Configuration key) cil managed + // method line 576 + .method assembly virtual hidebysig + instance default string MapValue (string propValue) cil managed { - // Method begins at RVA 0x12418 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x12b00 + // Code size 51 (0x33) + .maxstack 4 .locals init ( - class NAnt.VSNet.Configuration V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_000d: castclass NAnt.VSNet.Configuration - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: call instance string class NAnt.VSNet.VcArgumentMap/VcBoolArgument::get_Match() + IL_0008: ldc.i4.1 + IL_0009: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_000e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0013: brtrue IL_002a - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ConfigurationMap::get_Item + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: ldsfld string [mscorlib]System.String::Empty + IL_001f: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::FormatOption(string) + IL_0024: stloc.0 + IL_0025: br IL_0031 - // method line 488 - .method public hidebysig specialname - instance default void set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') cil managed - { - // Method begins at RVA 0x1243e - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_000e: ret - } // end of method ConfigurationMap::set_Item + IL_002a: ldnull + IL_002b: stloc.0 + IL_002c: br IL_0031 - // method line 489 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionary.get_Item (object key) cil managed - { - // Method begins at RVA 0x12450 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::get_Item due to (null) - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMap::get_Item(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0031: ldloc.0 + IL_0032: ret + } // end of method VcBoolArgument::MapValue - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ConfigurationMap::System.Collections.IDictionary.get_Item + .property instance string Match () + { + .get instance default string NAnt.VSNet.VcArgumentMap/VcBoolArgument::get_Match () + } + } // end of class VcBoolArgument - // method line 490 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed + .class nested private auto ansi beforefieldinit VcEnumArgument + extends NAnt.VSNet.VcArgumentMap/VcArgument + { + .field private string[] _values + + // method line 577 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.VSNet.VcArgumentMap/ArgGroup group, string name, string[] values) cil managed { - // Method begins at RVA 0x12471 - .override Could not decode method override class [mscorlib]System.Collections.IDictionary::set_Item due to (null) - // Code size 20 (0x14) + // Method begins at RVA 0x12b3f + // Code size 17 (0x11) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: castclass NAnt.VSNet.Configuration - IL_0008: ldarg.2 - IL_0009: castclass NAnt.VSNet.Configuration - IL_000e: call instance void class NAnt.VSNet.ConfigurationMap::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) - IL_0013: ret - } // end of method ConfigurationMap::System.Collections.IDictionary.set_Item + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.VSNet.VcArgumentMap/VcArgument::'.ctor'(valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, string) + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.3 + IL_000b: stfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values + IL_0010: ret + } // end of method VcEnumArgument::.ctor - // method line 491 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed + // method line 578 + .method assembly virtual hidebysig + instance default string MapValue (string propValue) cil managed { - // Method begins at RVA 0x12488 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x12b54 + // Code size 90 (0x5a) + .maxstack 3 .locals init ( - class [mscorlib]System.Collections.ICollection V_0) + int32 V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldc.i4.m1 + IL_0002: stloc.0 + .try { // 0 + IL_0003: nop + IL_0004: ldarg.1 + IL_0005: call int32 int32::Parse(string) + IL_000a: stloc.0 + IL_000b: nop + IL_000c: leave IL_001a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMap::get_Values + } // end .try 0 + catch class [mscorlib]System.FormatException { // 0 + IL_0011: pop + IL_0012: nop + IL_0013: ldnull + IL_0014: stloc.1 + IL_0015: leave IL_0058 - // method line 492 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed - { - // Method begins at RVA 0x124a8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.ICollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_000c: stloc.0 - IL_000d: br IL_0012 + } // end handler 0 + IL_001a: ldloc.0 + IL_001b: ldc.i4.0 + IL_001c: blt IL_003c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMap::get_Keys + IL_0021: ldloc.0 + IL_0022: ldarg.0 + IL_0023: ldfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values + IL_0028: ldlen + IL_0029: conv.i4 + IL_002a: bge IL_003c - // method line 493 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsFixedSize () cil managed - { - // Method begins at RVA 0x124c8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_002f: ldarg.0 + IL_0030: ldfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values + IL_0035: ldloc.0 + IL_0036: ldelem.ref + IL_0037: brtrue IL_0044 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMap::get_IsFixedSize + IL_003c: nop + IL_003d: ldnull + IL_003e: stloc.1 + IL_003f: br IL_0058 - // method line 494 - .method private final virtual hidebysig newslot - instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed - { - // Method begins at RVA 0x124e8 - .override Could not decode method override class [mscorlib]System.Collections.ICollection::CopyTo due to (null) - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method ConfigurationMap::System.Collections.ICollection.CopyTo + IL_0044: ldarg.0 + IL_0045: ldarg.0 + IL_0046: ldfld string[] NAnt.VSNet.VcArgumentMap/VcEnumArgument::_values + IL_004b: ldloc.0 + IL_004c: ldelem.ref + IL_004d: call instance string class NAnt.VSNet.VcArgumentMap/VcArgument::FormatOption(string) + IL_0052: stloc.1 + IL_0053: br IL_0058 - // method line 495 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsSynchronized () cil managed - { - // Method begins at RVA 0x124f8 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsSynchronized() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0058: ldloc.1 + IL_0059: ret + } // end of method VcEnumArgument::MapValue - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMap::get_IsSynchronized + } // end of class VcEnumArgument - // method line 496 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed + .class nested public auto ansi sealed ArgGroup + extends [mscorlib]System.Enum + { + .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.VcArgumentMap/ArgGroup Unassigned = int32(0x00000000) + .field public static literal valuetype NAnt.VSNet.VcArgumentMap/ArgGroup OptiIgnoreGroup = int32(0x00000001) + + } // end of class ArgGroup + + } // end of class NAnt.VSNet.VcArgumentMap +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit VcProjectReference + extends NAnt.VSNet.ProjectReferenceBase + { + .field private initonly class NAnt.VSNet.ProjectBase _project + .field private initonly bool _isPrivateSpecified + .field private initonly bool _isPrivate + + // method line 579 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class NAnt.VSNet.SolutionBase solution, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x12518 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x12bcc + // Code size 174 (0xae) + .maxstack 7 .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_000c: stloc.0 - IL_000d: br IL_0012 + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1) + IL_0000: ldarg.0 + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) + IL_0008: nop + IL_0009: ldarg.1 + IL_000a: brtrue IL_001b - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMap::get_Count + IL_000f: nop + IL_0010: ldstr "xmlDefinition" + IL_0015: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001a: throw + IL_001b: ldarg.s 4 + IL_001d: brtrue IL_002e - // method line 497 - .method public final virtual hidebysig newslot specialname - instance default object get_SyncRoot () cil managed - { - // Method begins at RVA 0x12538 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::_innerHash - IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0022: nop + IL_0023: ldstr "solution" + IL_0028: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002d: throw + IL_002e: ldarg.s 5 + IL_0030: brtrue IL_0041 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMap::get_SyncRoot + IL_0035: nop + IL_0036: ldstr "tfc" + IL_003b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0040: throw + IL_0041: ldarg.s 6 + IL_0043: brtrue IL_0054 - .property instance object System.Collections.IDictionary.Item (object) - { - .get instance default object NAnt.VSNet.ConfigurationMap::System.Collections.IDictionary.get_Item (object key) - .set instance default void NAnt.VSNet.ConfigurationMap::System.Collections.IDictionary.set_Item (object key, object 'value') - } - .property instance class [mscorlib]System.Collections.Hashtable InnerHash () - { - .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ConfigurationMap::get_InnerHash () - } - .property instance bool IsReadOnly () - { - .get instance default bool NAnt.VSNet.ConfigurationMap::get_IsReadOnly () - } - .property instance class NAnt.VSNet.Configuration Item (class NAnt.VSNet.Configuration) - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMap::get_Item (class NAnt.VSNet.Configuration key) - .set instance default void NAnt.VSNet.ConfigurationMap::set_Item (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') - } - .property instance class [mscorlib]System.Collections.ICollection Values () - { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationMap::get_Values () - } - .property instance class [mscorlib]System.Collections.ICollection Keys () - { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.VSNet.ConfigurationMap::get_Keys () - } - .property instance bool IsFixedSize () - { - .get instance default bool NAnt.VSNet.ConfigurationMap::get_IsFixedSize () - } - .property instance bool IsSynchronized () - { - .get instance default bool NAnt.VSNet.ConfigurationMap::get_IsSynchronized () - } - .property instance int32 Count () - { - .get instance default int32 NAnt.VSNet.ConfigurationMap::get_Count () - } - .property instance object SyncRoot () - { - .get instance default object NAnt.VSNet.ConfigurationMap::get_SyncRoot () - } - } // end of class NAnt.VSNet.ConfigurationMap -} + IL_0048: nop + IL_0049: ldstr "gacCache" + IL_004e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0053: throw + IL_0054: ldarg.1 + IL_0055: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_005a: ldstr "CopyLocal" + IL_005f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: brfalse IL_0085 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit ConfigurationMapEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { - .field private initonly class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator + IL_006b: nop + IL_006c: ldarg.0 + IL_006d: ldc.i4.1 + IL_006e: stfld bool NAnt.VSNet.VcProjectReference::_isPrivateSpecified + IL_0073: ldarg.0 + IL_0074: ldloc.0 + IL_0075: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_007a: call bool bool::Parse(string) + IL_007f: stfld bool NAnt.VSNet.VcProjectReference::_isPrivate + IL_0084: nop + IL_0085: ldarg.s 4 + IL_0087: ldarg.1 + IL_0088: ldstr "ReferencedProjectIdentifier" + IL_008d: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0092: callvirt instance string class NAnt.VSNet.SolutionBase::GetProjectFileFromGuid(string) + IL_0097: stloc.1 + IL_0098: ldarg.0 + IL_0099: ldarg.0 + IL_009a: ldarg.s 4 + IL_009c: ldarg.s 5 + IL_009e: ldarg.s 6 + IL_00a0: ldarg.s 7 + IL_00a2: ldloc.1 + IL_00a3: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::LoadProject(class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo, string) + IL_00a8: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::_project + IL_00ad: ret + } // end of method VcProjectReference::.ctor - // method line 498 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ConfigurationMap enumerable) cil managed + // method line 580 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ProjectBase project, class NAnt.VSNet.ProjectBase parent, bool isPrivateSpecified, bool isPrivate) cil managed { - // Method begins at RVA 0x12558 - // Code size 25 (0x19) + // Method begins at RVA 0x12c86 + // Code size 37 (0x25) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationMap::get_InnerHash() - IL_000e: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_0013: stfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator - IL_0018: ret - } // end of method ConfigurationMapEnumerator::.ctor + IL_0001: ldarg.1 + IL_0002: callvirt instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_0007: ldarg.2 + IL_0008: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::_project + IL_0015: ldarg.0 + IL_0016: ldarg.3 + IL_0017: stfld bool NAnt.VSNet.VcProjectReference::_isPrivateSpecified + IL_001c: ldarg.0 + IL_001d: ldarg.s 4 + IL_001f: stfld bool NAnt.VSNet.VcProjectReference::_isPrivate + IL_0024: ret + } // end of method VcProjectReference::.ctor - // method line 499 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_Key () cil managed + // method line 581 + .method public virtual hidebysig + instance default bool IsManaged (class NAnt.VSNet.Configuration config) cil managed { - // Method begins at RVA 0x12574 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x12cac + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.VSNet.Configuration V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() - IL_000c: castclass NAnt.VSNet.Configuration - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class NAnt.VSNet.ProjectBase::IsManaged(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ConfigurationMapEnumerator::get_Key + IL_0013: ldloc.0 + IL_0014: ret + } // end of method VcProjectReference::IsManaged - // method line 500 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed + // method line 582 + .method public virtual hidebysig specialname + instance default class NAnt.VSNet.ProjectBase get_Project () cil managed { - // Method begins at RVA 0x1259c - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key due to (null) + // Method begins at RVA 0x12cd0 // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + class NAnt.VSNet.ProjectBase V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Key() + IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::_project IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Key + } // end of method VcProjectReference::get_Project - // method line 501 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_Value () cil managed + // method line 583 + .method family virtual hidebysig specialname + instance default bool get_IsPrivate () cil managed { - // Method begins at RVA 0x125b8 - // Code size 25 (0x19) + // Method begins at RVA 0x12cec + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.Configuration V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value() - IL_000c: castclass NAnt.VSNet.Configuration - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld bool NAnt.VSNet.VcProjectReference::_isPrivate + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ConfigurationMapEnumerator::get_Value + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProjectReference::get_IsPrivate - // method line 502 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed + // method line 584 + .method family virtual hidebysig specialname + instance default bool get_IsPrivateSpecified () cil managed { - // Method begins at RVA 0x125e0 - .override Could not decode method override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value due to (null) + // Method begins at RVA 0x12d08 // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Value() + IL_0002: ldfld bool NAnt.VSNet.VcProjectReference::_isPrivateSpecified IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Value + } // end of method VcProjectReference::get_IsPrivateSpecified - // method line 503 - .method public final virtual hidebysig newslot specialname - instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed + .property instance class NAnt.VSNet.ProjectBase Project () + { + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.VcProjectReference::get_Project () + } + .property instance bool IsPrivate () + { + .get instance default bool NAnt.VSNet.VcProjectReference::get_IsPrivate () + } + .property instance bool IsPrivateSpecified () + { + .get instance default bool NAnt.VSNet.VcProjectReference::get_IsPrivateSpecified () + } + } // end of class NAnt.VSNet.VcProjectReference +} + +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit ManagedProjectBase + extends NAnt.VSNet.ProjectBase + { + .field private class [mscorlib]System.Collections.ArrayList _references + .field private initonly class [mscorlib]System.Collections.Hashtable _sourceFiles + .field private initonly class [mscorlib]System.Collections.ArrayList _neutralResources + .field private initonly class [mscorlib]System.Collections.ArrayList _localizedResources + .field private initonly string _projectPath + .field private initonly class [mscorlib]System.IO.DirectoryInfo _projectDirectory + .field private initonly string _webProjectBaseUrl + .field private initonly class NAnt.VSNet.ProjectSettings _projectSettings + .field private initonly valuetype NAnt.VSNet.ProjectLocation _projectLocation + .field private static literal string CommandFile = "compile-commands.txt" + + // method line 585 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x125fc - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x9d80 + // Code size 1192 (0x4a8) + .maxstack 7 .locals init ( - valuetype [mscorlib]System.Collections.DictionaryEntry V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Key() - IL_0007: ldarg.0 - IL_0008: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Value() - IL_000d: newobj instance void valuetype [mscorlib]System.Collections.DictionaryEntry::'.ctor'(object, object) - IL_0012: stloc.0 - IL_0013: br IL_0018 + string V_0, + class [System.Xml]System.Xml.XmlNodeList V_1, + class [System.Xml]System.Xml.XmlElement V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + class NAnt.VSNet.ConfigurationSettings V_4, + class [mscorlib]System.IDisposable V_5, + class [System.Xml]System.Xml.XmlNodeList V_6, + class [System.Xml]System.Xml.XmlElement V_7, + class [mscorlib]System.Collections.IEnumerator V_8, + class NAnt.VSNet.ReferenceBase V_9, + class [mscorlib]System.IDisposable V_10, + class [System.Xml]System.Xml.XmlNodeList V_11, + class [System.Xml]System.Xml.XmlElement V_12, + class [mscorlib]System.Collections.IEnumerator V_13, + string V_14, + string V_15, + class NAnt.VSNet.WebDavClient V_16, + class [mscorlib]System.IDisposable V_17) + IL_0000: ldarg.0 + IL_0001: ldarg.3 + IL_0002: ldarg.s 4 + IL_0004: ldarg.s 5 + IL_0006: ldarg.s 6 + IL_0008: ldarg.s 7 + IL_000a: ldarg.s 8 + IL_000c: call instance void class NAnt.VSNet.ProjectBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0011: nop + IL_0012: ldarg.2 + IL_0013: brtrue IL_0024 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ConfigurationMapEnumerator::get_Entry + IL_0018: nop + IL_0019: ldstr "projectPath" + IL_001e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0023: throw + IL_0024: ldarg.3 + IL_0025: brtrue IL_0036 - // method line 504 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - // Method begins at RVA 0x12622 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ConfigurationMapEnumerator::Reset + IL_002a: nop + IL_002b: ldstr "xmlDefinition" + IL_0030: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0035: throw + IL_0036: ldarg.0 + IL_0037: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_003c: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references + IL_0041: ldarg.0 + IL_0042: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0047: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources + IL_004c: ldarg.0 + IL_004d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0052: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources + IL_0057: ldarg.0 + IL_0058: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_005d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_0062: ldarg.0 + IL_0063: ldarg.2 + IL_0064: stfld string NAnt.VSNet.ManagedProjectBase::_projectPath + IL_0069: ldarg.0 + IL_006a: ldarg.0 + IL_006b: ldarg.3 + IL_006c: callvirt instance valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::DetermineProjectLocation(class [System.Xml]System.Xml.XmlElement) + IL_0071: stfld valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ManagedProjectBase::_projectLocation + IL_0076: ldarg.0 + IL_0077: call instance bool class NAnt.VSNet.ManagedProjectBase::get_IsWebProject() + IL_007c: brtrue IL_0099 - // method line 505 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x12630 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IDictionaryEnumerator NAnt.VSNet.ConfigurationMapEnumerator::_innerEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0081: nop + IL_0082: ldarg.0 + IL_0083: ldarg.2 + IL_0084: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0089: call instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.FileInfo::get_Directory() + IL_008e: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory + IL_0093: nop + IL_0094: br IL_012a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ConfigurationMapEnumerator::MoveNext + IL_0099: nop + IL_009a: ldarg.2 + IL_009b: ldstr ":" + IL_00a0: ldstr "_" + IL_00a5: callvirt instance string string::Replace(string, string) + IL_00aa: stloc.0 + IL_00ab: ldloc.0 + IL_00ac: ldstr "/" + IL_00b1: ldstr "_" + IL_00b6: callvirt instance string string::Replace(string, string) + IL_00bb: stloc.0 + IL_00bc: ldloc.0 + IL_00bd: ldstr "\\" + IL_00c2: ldstr "_" + IL_00c7: callvirt instance string string::Replace(string, string) + IL_00cc: stloc.0 + IL_00cd: ldarg.0 + IL_00ce: ldarg.0 + IL_00cf: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() + IL_00d4: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_00d9: ldloc.0 + IL_00da: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00df: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_00e4: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory + IL_00e9: ldarg.0 + IL_00ea: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory + IL_00ef: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_00f4: brtrue IL_0111 - // method line 506 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x12650 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ConfigurationMapEntry class NAnt.VSNet.ConfigurationMapEnumerator::get_Current() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00f9: nop + IL_00fa: ldarg.0 + IL_00fb: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory + IL_0100: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0105: ldarg.0 + IL_0106: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory + IL_010b: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0110: nop + IL_0111: ldarg.0 + IL_0112: ldarg.2 + IL_0113: ldc.i4.0 + IL_0114: ldarg.2 + IL_0115: ldstr "/" + IL_011a: callvirt instance int32 string::LastIndexOf(string) + IL_011f: callvirt instance string string::Substring(int32, int32) + IL_0124: stfld string NAnt.VSNet.ManagedProjectBase::_webProjectBaseUrl + IL_0129: nop + IL_012a: ldarg.0 + IL_012b: ldarg.3 + IL_012c: ldarg.3 + IL_012d: ldstr "//Build/Settings" + IL_0132: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0137: castclass [System.Xml]System.Xml.XmlElement + IL_013c: ldarg.0 + IL_013d: newobj instance void class NAnt.VSNet.ProjectSettings::'.ctor'(class [System.Xml]System.Xml.XmlElement, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ManagedProjectBase) + IL_0142: stfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedProjectBase::_projectSettings + IL_0147: ldarg.3 + IL_0148: ldstr "//Config" + IL_014d: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0152: stloc.1 + IL_0153: nop + IL_0154: ldloc.1 + IL_0155: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_015a: stloc.3 + .try { // 0 + IL_015b: br IL_0196 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationMapEnumerator::System.Collections.IEnumerator.get_Current + IL_0160: ldloc.3 + IL_0161: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0166: castclass [System.Xml]System.Xml.XmlElement + IL_016b: stloc.2 + IL_016c: nop + IL_016d: ldarg.0 + IL_016e: ldloc.2 + IL_016f: ldarg.0 + IL_0170: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() + IL_0175: newobj instance void class NAnt.VSNet.ConfigurationSettings::'.ctor'(class NAnt.VSNet.ManagedProjectBase, class [System.Xml]System.Xml.XmlElement, class [mscorlib]System.IO.DirectoryInfo) + IL_017a: stloc.s 4 + IL_017c: ldarg.0 + IL_017d: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() + IL_0182: ldloc.s 4 + IL_0184: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_0189: call class NAnt.VSNet.Configuration class NAnt.VSNet.Configuration::Parse(string) + IL_018e: ldloc.s 4 + IL_0190: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) + IL_0195: nop + IL_0196: ldloc.3 + IL_0197: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_019c: brtrue IL_0160 - // method line 507 - .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationMapEntry get_Current () cil managed - { - // Method begins at RVA 0x1266c - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.VSNet.ConfigurationMapEntry V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Key() - IL_0007: ldarg.0 - IL_0008: call instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEnumerator::get_Value() - IL_000d: newobj instance void class NAnt.VSNet.ConfigurationMapEntry::'.ctor'(class NAnt.VSNet.Configuration, class NAnt.VSNet.Configuration) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_01a1: leave IL_01bc + + } // end .try 0 + finally { // 0 + IL_01a6: ldloc.3 + IL_01a7: isinst [mscorlib]System.IDisposable + IL_01ac: dup + IL_01ad: stloc.s 5 + IL_01af: brfalse IL_01bb - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ConfigurationMapEnumerator::get_Current + IL_01b4: ldloc.s 5 + IL_01b6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01bb: endfinally + } // end handler 0 + IL_01bc: ldarg.3 + IL_01bd: ldstr "//References/Reference" + IL_01c2: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_01c7: stloc.s 6 + IL_01c9: nop + IL_01ca: ldloc.s 6 + IL_01cc: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_01d1: stloc.s 8 + .try { // 1 + IL_01d3: br IL_0201 - .property instance object System.Collections.IDictionaryEnumerator.Key () - { - .get instance default object NAnt.VSNet.ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Key () - } - .property instance object System.Collections.IDictionaryEnumerator.Value () - { - .get instance default object NAnt.VSNet.ConfigurationMapEnumerator::System.Collections.IDictionaryEnumerator.get_Value () - } - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.VSNet.ConfigurationMapEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.VSNet.Configuration Key () - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEnumerator::get_Key () - } - .property instance class NAnt.VSNet.Configuration Value () - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEnumerator::get_Value () - } - .property instance valuetype [mscorlib]System.Collections.DictionaryEntry Entry () - { - .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.VSNet.ConfigurationMapEnumerator::get_Entry () - } - .property instance class NAnt.VSNet.ConfigurationMapEntry Current () - { - .get instance default class NAnt.VSNet.ConfigurationMapEntry NAnt.VSNet.ConfigurationMapEnumerator::get_Current () - } - } // end of class NAnt.VSNet.ConfigurationMapEnumerator -} + IL_01d8: ldloc.s 8 + IL_01da: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01df: castclass [System.Xml]System.Xml.XmlElement + IL_01e4: stloc.s 7 + IL_01e6: nop + IL_01e7: ldarg.0 + IL_01e8: ldarg.1 + IL_01e9: ldloc.s 7 + IL_01eb: callvirt instance class NAnt.VSNet.ReferenceBase class NAnt.VSNet.ManagedProjectBase::CreateReference(class NAnt.VSNet.SolutionBase, class [System.Xml]System.Xml.XmlElement) + IL_01f0: stloc.s 9 + IL_01f2: ldarg.0 + IL_01f3: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references + IL_01f8: ldloc.s 9 + IL_01fa: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_01ff: pop + IL_0200: nop + IL_0201: ldloc.s 8 + IL_0203: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0208: brtrue IL_01d8 -.namespace NAnt.VSNet -{ - .class public auto ansi sealed beforefieldinit ConfigurationMapEntry - extends [mscorlib]System.Object - { - .field private initonly class NAnt.VSNet.Configuration _key - .field private initonly class NAnt.VSNet.Configuration _value + IL_020d: leave IL_0229 - // method line 508 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Configuration key, class NAnt.VSNet.Configuration 'value') cil managed - { - // Method begins at RVA 0x12692 - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_key - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_value - IL_0015: ret - } // end of method ConfigurationMapEntry::.ctor + } // end .try 1 + finally { // 1 + IL_0212: ldloc.s 8 + IL_0214: isinst [mscorlib]System.IDisposable + IL_0219: dup + IL_021a: stloc.s 10 + IL_021c: brfalse IL_0228 - // method line 509 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_Key () cil managed - { - // Method begins at RVA 0x126ac - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.Configuration V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_key - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0221: ldloc.s 10 + IL_0223: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0228: endfinally + } // end handler 1 + IL_0229: ldarg.3 + IL_022a: ldstr "//Files/Include/File" + IL_022f: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0234: stloc.s 11 + IL_0236: nop + IL_0237: ldloc.s 11 + IL_0239: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_023e: stloc.s 13 + .try { // 2 + IL_0240: br IL_047f - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationMapEntry::get_Key + IL_0245: ldloc.s 13 + IL_0247: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_024c: castclass [System.Xml]System.Xml.XmlElement + IL_0251: stloc.s 12 + IL_0253: nop + IL_0254: ldloc.s 12 + IL_0256: ldstr "BuildAction" + IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0260: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0265: stloc.s 14 + IL_0267: ldloc.s 12 + IL_0269: ldstr "Link" + IL_026e: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0273: call bool string::IsNullOrEmpty(string) + IL_0278: brtrue IL_02a7 - // method line 510 - .method public hidebysig specialname - instance default class NAnt.VSNet.Configuration get_Value () cil managed - { - // Method begins at RVA 0x126c8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.Configuration V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::_value - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_027d: nop + IL_027e: ldarg.0 + IL_027f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0284: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0289: ldloc.s 12 + IL_028b: ldstr "Link" + IL_0290: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0295: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_029a: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_029f: stloc.s 15 + IL_02a1: nop + IL_02a2: br IL_02cc - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ConfigurationMapEntry::get_Value + IL_02a7: nop + IL_02a8: ldarg.0 + IL_02a9: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_02ae: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02b3: ldloc.s 12 + IL_02b5: ldstr "RelPath" + IL_02ba: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_02bf: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_02c4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_02c9: stloc.s 15 + IL_02cb: nop + IL_02cc: ldarg.0 + IL_02cd: call instance bool class NAnt.VSNet.ManagedProjectBase::get_IsWebProject() + IL_02d2: brfalse IL_0391 - .property instance class NAnt.VSNet.Configuration Key () - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::get_Key () - } - .property instance class NAnt.VSNet.Configuration Value () - { - .get instance default class NAnt.VSNet.Configuration NAnt.VSNet.ConfigurationMapEntry::get_Value () - } - } // end of class NAnt.VSNet.ConfigurationMapEntry -} + IL_02d7: nop + IL_02d8: ldarg.0 + IL_02d9: ldfld string NAnt.VSNet.ManagedProjectBase::_webProjectBaseUrl + IL_02de: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_02e3: newobj instance void class NAnt.VSNet.WebDavClient::'.ctor'(class [System]System.Uri) + IL_02e8: stloc.s 16 + IL_02ea: ldloc.s 16 + IL_02ec: ldloc.s 15 + IL_02ee: ldloc.s 12 + IL_02f0: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_02f5: ldstr "RelPath" + IL_02fa: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_02ff: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0304: callvirt instance void class NAnt.VSNet.WebDavClient::DownloadFile(string, string) + IL_0309: ldloc.s 14 + IL_030b: brfalse IL_0359 -.namespace NAnt.VSNet -{ - .class public auto ansi abstract beforefieldinit ProjectReferenceBase - extends NAnt.VSNet.ReferenceBase - { - .field private static initonly class [mscorlib]System.Collections.Stack ProjectStack + IL_0310: ldloc.s 14 + IL_0312: ldstr "Compile" + IL_0317: call bool string::op_Equality(string, string) + IL_031c: brtrue IL_0337 - // method line 511 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent) cil managed - { - // Method begins at RVA 0x537b - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.VSNet.ReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) - IL_0008: nop - IL_0009: ret - } // end of method ProjectReferenceBase::.ctor + IL_0321: ldloc.s 14 + IL_0323: ldstr "EmbeddedResource" + IL_0328: call bool string::op_Equality(string, string) + IL_032d: brtrue IL_034a - // method line 512 - .method family virtual hidebysig newslot abstract specialname - instance default bool get_IsPrivate () cil managed - { - // Method begins at RVA 0x0 - } // end of method ProjectReferenceBase::get_IsPrivate + IL_0332: br IL_038b - // method line 513 - .method family virtual hidebysig newslot abstract specialname - instance default bool get_IsPrivateSpecified () cil managed - { - // Method begins at RVA 0x0 - } // end of method ProjectReferenceBase::get_IsPrivateSpecified + IL_0337: ldarg.0 + IL_0338: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_033d: ldloc.s 15 + IL_033f: ldnull + IL_0340: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0345: leave IL_038b - // method line 514 - .method public virtual hidebysig specialname - instance default bool get_CopyLocal () cil managed - { - // Method begins at RVA 0x5388 - // Code size 32 (0x20) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.VSNet.ProjectReferenceBase::get_IsPrivateSpecified() - IL_0007: brfalse IL_0017 + IL_034a: ldarg.0 + IL_034b: ldloc.s 15 + IL_034d: ldloc.s 12 + IL_034f: call instance void class NAnt.VSNet.ManagedProjectBase::RegisterEmbeddedResource(string, class [System.Xml]System.Xml.XmlElement) + IL_0354: leave IL_038b - IL_000c: ldarg.0 - IL_000d: callvirt instance bool class NAnt.VSNet.ProjectReferenceBase::get_IsPrivate() - IL_0012: br IL_0018 + IL_0359: ldloc.s 15 + IL_035b: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0360: ldarg.0 + IL_0361: callvirt instance string class NAnt.VSNet.ManagedProjectBase::get_FileExtension() + IL_0366: ldc.i4.1 + IL_0367: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_036c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0371: brtrue IL_0386 - IL_0017: ldc.i4.1 - IL_0018: stloc.0 - IL_0019: br IL_001e + IL_0376: nop + IL_0377: ldarg.0 + IL_0378: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_037d: ldloc.s 15 + IL_037f: ldnull + IL_0380: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0385: nop + IL_0386: leave IL_038b - IL_001e: ldloc.0 - IL_001f: ret - } // end of method ProjectReferenceBase::get_CopyLocal + IL_038b: nop + IL_038c: br IL_047e - // method line 515 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x53b4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0007: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0391: nop + IL_0392: ldloc.s 14 + IL_0394: brfalse IL_03e2 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ProjectReferenceBase::get_Name + IL_0399: ldloc.s 14 + IL_039b: ldstr "Compile" + IL_03a0: call bool string::op_Equality(string, string) + IL_03a5: brtrue IL_03c0 - // method line 516 - .method family virtual hidebysig specialname - instance default bool get_IsSystem () cil managed - { - // Method begins at RVA 0x53d4 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_03aa: ldloc.s 14 + IL_03ac: ldstr "EmbeddedResource" + IL_03b1: call bool string::op_Equality(string, string) + IL_03b6: brtrue IL_03d3 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ProjectReferenceBase::get_IsSystem + IL_03bb: br IL_0414 - // method line 517 - .method public virtual hidebysig - instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x53ec - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.VSNet.ProjectBase::GetOutputPath(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_03c0: ldarg.0 + IL_03c1: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_03c6: ldloc.s 15 + IL_03c8: ldnull + IL_03c9: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_03ce: leave IL_0414 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ProjectReferenceBase::GetPrimaryOutputFile + IL_03d3: ldarg.0 + IL_03d4: ldloc.s 15 + IL_03d6: ldloc.s 12 + IL_03d8: call instance void class NAnt.VSNet.ManagedProjectBase::RegisterEmbeddedResource(string, class [System.Xml]System.Xml.XmlElement) + IL_03dd: leave IL_0414 - // method line 518 - .method public virtual hidebysig - instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed - { - // Method begins at RVA 0x540d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) - IL_000e: ret - } // end of method ProjectReferenceBase::GetOutputFiles + IL_03e2: ldloc.s 15 + IL_03e4: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_03e9: ldarg.0 + IL_03ea: callvirt instance string class NAnt.VSNet.ManagedProjectBase::get_FileExtension() + IL_03ef: ldc.i4.1 + IL_03f0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_03f5: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_03fa: brtrue IL_040f - // method line 519 - .method public virtual hidebysig - instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x5420 - // Code size 128 (0x80) - .maxstack 2 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - class NAnt.VSNet.ConfigurationBase V_1, - string V_2, - class [System]System.Collections.Specialized.StringCollection V_3) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldtoken NAnt.VSNet.VBProject - IL_0008: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000d: ldarg.0 - IL_000e: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0013: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0018: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_001d: brfalse IL_0036 + IL_03ff: nop + IL_0400: ldarg.0 + IL_0401: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_0406: ldloc.s 15 + IL_0408: ldnull + IL_0409: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_040e: nop + IL_040f: leave IL_0414 - IL_0022: nop - IL_0023: ldarg.0 - IL_0024: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0029: ldarg.1 - IL_002a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ProjectBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_002f: stloc.0 - IL_0030: nop - IL_0031: br IL_003e + IL_0414: ldstr "App.config" + IL_0419: ldloc.s 12 + IL_041b: ldstr "RelPath" + IL_0420: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0425: ldc.i4.1 + IL_0426: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_042b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0430: brtrue IL_047d - IL_0036: nop - IL_0037: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_003c: stloc.0 - IL_003d: nop - IL_003e: ldarg.0 - IL_003f: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0044: ldarg.1 - IL_0045: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ProjectBase::GetConfiguration(class NAnt.VSNet.Configuration) - IL_004a: stloc.1 - IL_004b: ldloc.1 - IL_004c: brfalse IL_0077 + IL_0435: nop + IL_0436: ldarg.0 + IL_0437: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_043c: callvirt instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::get_OutputType() + IL_0441: ldc.i4.2 + IL_0442: beq IL_0458 - IL_0051: nop - IL_0052: ldloc.1 - IL_0053: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() - IL_0058: stloc.2 - IL_0059: ldloc.2 - IL_005a: brfalse IL_0076 + IL_0447: ldarg.0 + IL_0448: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_044d: callvirt instance valuetype NAnt.VSNet.ManagedOutputType class NAnt.VSNet.ProjectSettings::get_OutputType() + IL_0452: ldc.i4.3 + IL_0453: bne.un IL_047c - IL_005f: nop - IL_0060: ldloc.2 - IL_0061: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0066: brfalse IL_0075 + IL_0458: nop + IL_0459: ldarg.0 + IL_045a: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ProjectBase::get_ExtraOutputFiles() + IL_045f: ldloc.s 15 + IL_0461: ldarg.0 + IL_0462: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0467: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() + IL_046c: ldstr ".config" + IL_0471: call string string::Concat(string, string) + IL_0476: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_047b: nop + IL_047c: nop + IL_047d: nop + IL_047e: nop + IL_047f: ldloc.s 13 + IL_0481: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0486: brtrue IL_0245 - IL_006b: nop - IL_006c: ldloc.0 - IL_006d: ldloc.2 - IL_006e: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0073: pop - IL_0074: nop - IL_0075: nop - IL_0076: nop - IL_0077: ldloc.0 - IL_0078: stloc.3 - IL_0079: br IL_007e + IL_048b: leave IL_04a7 + + } // end .try 2 + finally { // 2 + IL_0490: ldloc.s 13 + IL_0492: isinst [mscorlib]System.IDisposable + IL_0497: dup + IL_0498: stloc.s 17 + IL_049a: brfalse IL_04a6 - IL_007e: ldloc.3 - IL_007f: ret - } // end of method ProjectReferenceBase::GetAssemblyReferences + IL_049f: ldloc.s 17 + IL_04a1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_04a6: endfinally + } // end handler 2 + IL_04a7: ret + } // end of method ManagedProjectBase::.ctor - // method line 520 - .method public virtual hidebysig - instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 586 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectSettings get_ProjectSettings () cil managed { - // Method begins at RVA 0x54ac - // Code size 48 (0x30) - .maxstack 2 + // Method begins at RVA 0xa280 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + class NAnt.VSNet.ProjectSettings V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.VSNet.ProjectBase::GetOutputPath(class NAnt.VSNet.Configuration) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: brfalse IL_0022 - - IL_0014: nop - IL_0015: ldarg.0 - IL_0016: ldloc.0 - IL_0017: call instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetFileTimestamp(string) - IL_001c: stloc.1 - IL_001d: br IL_002e - - IL_0022: nop - IL_0023: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue - IL_0028: stloc.1 - IL_0029: br IL_002e + IL_0002: ldfld class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedProjectBase::_projectSettings + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002e: ldloc.1 - IL_002f: ret - } // end of method ProjectReferenceBase::GetTimestamp + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedProjectBase::get_ProjectSettings - // method line 521 - .method public virtual hidebysig newslot abstract specialname - instance default class NAnt.VSNet.ProjectBase get_Project () cil managed + // method line 587 + .method family virtual hidebysig newslot abstract specialname + instance default string get_FileExtension () cil managed { // Method begins at RVA 0x0 - } // end of method ProjectReferenceBase::get_Project + } // end of method ManagedProjectBase::get_FileExtension - // method line 522 - .method family hidebysig - instance default class NAnt.VSNet.ProjectBase LoadProject (class NAnt.VSNet.SolutionBase solution, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class [mscorlib]System.IO.DirectoryInfo outputDir, string projectFile) cil managed + // method line 588 + .method private hidebysig specialname + instance default bool get_IsWebProject () cil managed { - // Method begins at RVA 0x54e8 - // Code size 160 (0xa0) - .maxstack 8 + // Method begins at RVA 0xa29c + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectBase V_0) + bool V_0) IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack - IL_0006: ldarg.s 5 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Stack::Contains(object) - IL_000d: brfalse IL_003f - - IL_0012: nop - IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0018: ldstr "Circular reference to \"{0}\" detected in project \"{1}\"." - IL_001d: ldarg.s 5 - IL_001f: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0024: ldarg.0 - IL_0025: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_002a: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_002f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0034: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0039: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_003e: throw - .try { // 0 - IL_003f: nop - IL_0040: ldsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack - IL_0045: ldarg.s 5 - IL_0047: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) - IL_004c: ldarg.0 - IL_004d: ldc.i4 2000 - IL_0052: ldstr "Loading referenced project '{0}'." - IL_0057: ldc.i4.1 - IL_0058: newarr [mscorlib]System.Object - IL_005d: dup - IL_005e: ldc.i4.0 - IL_005f: ldarg.s 5 - IL_0061: stelem.ref - IL_0062: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0067: ldarg.0 - IL_0068: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_006d: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() - IL_0072: ldarg.1 - IL_0073: ldarg.0 - IL_0074: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0079: ldarg.2 - IL_007a: ldarg.3 - IL_007b: ldarg.0 - IL_007c: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ReferenceBase::get_ReferencesResolver() - IL_0081: ldarg.s 4 - IL_0083: ldarg.s 5 - IL_0085: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectFactory::LoadProject(class NAnt.VSNet.SolutionBase, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo, string) - IL_008a: stloc.0 - IL_008b: leave IL_009e + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath + IL_0007: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) + IL_000c: stloc.0 + IL_000d: br IL_0012 - } // end .try 0 - finally { // 0 - IL_0090: nop - IL_0091: ldsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack - IL_0096: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() - IL_009b: pop - IL_009c: nop - IL_009d: endfinally - } // end handler 0 - IL_009e: ldloc.0 - IL_009f: ret - } // end of method ProjectReferenceBase::LoadProject + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ManagedProjectBase::get_IsWebProject - // method line 523 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 589 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x55a4 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() - IL_0005: stsfld class [mscorlib]System.Collections.Stack NAnt.VSNet.ProjectReferenceBase::ProjectStack - IL_000a: ret - } // end of method ProjectReferenceBase::.cctor + // Method begins at RVA 0xa2bc + // Code size 66 (0x42) + .maxstack 1 + .locals init ( + string V_0, + class [System]System.Uri V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath + IL_0007: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) + IL_000c: brfalse IL_002b - .property instance bool IsPrivate () - { - .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_IsPrivate () - } - .property instance bool IsPrivateSpecified () - { - .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_IsPrivateSpecified () - } - .property instance bool CopyLocal () - { - .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_CopyLocal () - } - .property instance string Name () - { - .get instance default string NAnt.VSNet.ProjectReferenceBase::get_Name () - } - .property instance bool IsSystem () - { - .get instance default bool NAnt.VSNet.ProjectReferenceBase::get_IsSystem () - } - .property instance class NAnt.VSNet.ProjectBase Project () - { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectReferenceBase::get_Project () - } - } // end of class NAnt.VSNet.ProjectReferenceBase -} + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath + IL_0018: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_001d: stloc.1 + IL_001e: ldloc.1 + IL_001f: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_0024: stloc.0 + IL_0025: nop + IL_0026: br IL_0034 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit Resource - extends [mscorlib]System.Object - { - .field private initonly class [mscorlib]System.Globalization.CultureInfo _culture - .field private initonly class [mscorlib]System.IO.FileInfo _resourceSourceFile - .field private initonly string _dependentFile - .field private initonly string _resourceSourceFileRelativePath - .field private initonly class NAnt.VSNet.ManagedProjectBase _project - .field private initonly class NAnt.VSNet.Tasks.SolutionTask _solutionTask + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_0032: stloc.0 + IL_0033: nop + IL_0034: ldloc.0 + IL_0035: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_003a: stloc.2 + IL_003b: br IL_0040 - // method line 524 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ManagedProjectBase project, class [mscorlib]System.IO.FileInfo resourceSourceFile, string resourceSourceFileRelativePath, string dependentFile, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed + IL_0040: ldloc.2 + IL_0041: ret + } // end of method ManagedProjectBase::get_Name + + // method line 590 + .method public virtual hidebysig specialname + instance default string get_ProjectPath () cil managed { - // Method begins at RVA 0x126e4 - // Code size 64 (0x40) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.Resource::_project - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::_resourceSourceFile - IL_0015: ldarg.0 - IL_0016: ldarg.3 - IL_0017: stfld string NAnt.VSNet.Resource::_resourceSourceFileRelativePath - IL_001c: ldarg.0 - IL_001d: ldarg.s 4 - IL_001f: stfld string NAnt.VSNet.Resource::_dependentFile - IL_0024: ldarg.0 - IL_0025: ldarg.s 5 - IL_0027: stfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_002c: ldarg.0 - IL_002d: ldarg.2 - IL_002e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0033: ldarg.s 4 - IL_0035: call class [mscorlib]System.Globalization.CultureInfo class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetResourceCulture(string, string) - IL_003a: stfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.Resource::_culture - IL_003f: ret - } // end of method Resource::.ctor + // Method begins at RVA 0xa30c + // Code size 50 (0x32) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath + IL_0007: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) + IL_000c: brfalse IL_001e - // method line 525 - .method public hidebysig specialname - instance default class [mscorlib]System.Globalization.CultureInfo get_Culture () cil managed + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath + IL_0018: stloc.0 + IL_0019: br IL_0030 + + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: ldfld string NAnt.VSNet.ManagedProjectBase::_projectPath + IL_0025: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_002a: stloc.0 + IL_002b: br IL_0030 + + IL_0030: ldloc.0 + IL_0031: ret + } // end of method ManagedProjectBase::get_ProjectPath + + // method line 591 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ProjectDirectory () cil managed { - // Method begins at RVA 0x12730 + // Method begins at RVA 0xa34c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Globalization.CultureInfo V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.Resource::_culture + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::_projectDirectory IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Resource::get_Culture + } // end of method ManagedProjectBase::get_ProjectDirectory - // method line 526 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_InputFile () cil managed + // method line 592 + .method public virtual hidebysig specialname + instance default valuetype NAnt.VSNet.ProjectLocation get_ProjectLocation () cil managed { - // Method begins at RVA 0x1274c + // Method begins at RVA 0xa368 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + valuetype NAnt.VSNet.ProjectLocation V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::_resourceSourceFile + IL_0002: ldfld valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ManagedProjectBase::_projectLocation IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Resource::get_InputFile + } // end of method ManagedProjectBase::get_ProjectLocation - // method line 527 - .method public hidebysig specialname - instance default class NAnt.VSNet.ManagedProjectBase get_Project () cil managed + // method line 593 + .method public virtual hidebysig specialname + instance default string get_Guid () cil managed + { + // Method begins at RVA 0xa384 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0007: callvirt instance string class NAnt.VSNet.ProjectSettings::get_Guid() + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ManagedProjectBase::get_Guid + + // method line 594 + .method public virtual hidebysig specialname + instance default void set_Guid (string 'value') cil managed + { + // Method begins at RVA 0xa3a4 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: nop + IL_0001: ldstr "It is not allowed to change the GUID of a C#/VB.NET project" + IL_0006: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'(string) + IL_000b: throw + } // end of method ManagedProjectBase::set_Guid + + // method line 595 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_References () cil managed { - // Method begins at RVA 0x12768 + // Method begins at RVA 0xa3b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ManagedProjectBase V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.Resource::_project + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Resource::get_Project + } // end of method ManagedProjectBase::get_References - // method line 528 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_LogicalFile () cil managed + // method line 596 + .method public virtual hidebysig + instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x12784 - // Code size 41 (0x29) - .maxstack 2 + // Method begins at RVA 0xa3d0 + // Code size 10 (0xa) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_0007: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_000c: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0011: ldarg.0 - IL_0012: ldfld string NAnt.VSNet.Resource::_resourceSourceFileRelativePath - IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_001c: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0021: stloc.0 - IL_0022: br IL_0027 + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0027: ldloc.0 - IL_0028: ret - } // end of method Resource::get_LogicalFile + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ManagedProjectBase::IsManaged - // method line 529 - .method public hidebysig specialname - instance default bool get_IsResX () cil managed + // method line 597 + .method family virtual hidebysig + instance default void Prepare (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x127bc - // Code size 40 (0x28) + // Method begins at RVA 0xa3e8 + // Code size 62 (0x3e) .maxstack 2 .locals init ( - bool V_0) + class NAnt.VSNet.ConfigurationBase V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() - IL_000c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0011: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0016: ldstr ".resx" - IL_001b: call bool string::op_Equality(string, string) - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0019: brtrue IL_0036 - IL_0026: ldloc.0 - IL_0027: ret - } // end of method Resource::get_IsResX + IL_001e: nop + IL_001f: ldloc.0 + IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0025: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_002a: ldloc.0 + IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0030: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: ldarg.1 + IL_0038: call instance void class NAnt.VSNet.ProjectBase::Prepare(class NAnt.VSNet.Configuration) + IL_003d: ret + } // end of method ManagedProjectBase::Prepare - // method line 530 - .method public hidebysig - instance default class [mscorlib]System.IO.FileInfo Compile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 598 + .method public virtual hidebysig + instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed { - // Method begins at RVA 0x127f0 - // Code size 116 (0x74) - .maxstack 2 + // Method begins at RVA 0xa434 + // Code size 245 (0xf5) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, + class NAnt.VSNet.ConfigurationSettings V_0, string V_1, - class [mscorlib]System.IO.FileInfo V_2) + class [mscorlib]System.Collections.Hashtable V_2, + class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet V_3, + class [mscorlib]System.Collections.IEnumerator V_4, + class [mscorlib]System.IO.FileInfo V_5, + string V_6, + class [mscorlib]System.IDisposable V_7) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_0009: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0013: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0018: stloc.1 - IL_0019: ldloc.1 - IL_001a: brfalse IL_005e + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: call instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) + IL_0009: ldarg.0 + IL_000a: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_000f: ldarg.1 + IL_0010: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0015: castclass NAnt.VSNet.ConfigurationSettings + IL_001a: stloc.0 + IL_001b: ldloc.0 + IL_001c: brtrue IL_0027 - IL_001f: ldloc.1 - IL_0020: ldstr ".resx" - IL_0025: call bool string::op_Equality(string, string) - IL_002a: brtrue IL_0044 + IL_0021: nop + IL_0022: br IL_00f4 - IL_002f: ldloc.1 - IL_0030: ldstr ".licx" - IL_0035: call bool string::op_Equality(string, string) - IL_003a: brtrue IL_0051 + IL_0027: ldloc.0 + IL_0028: callvirt instance bool class NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop() + IL_002d: brfalse IL_0057 - IL_003f: br IL_005e + IL_0032: nop + IL_0033: ldarg.0 + IL_0034: ldloc.0 + IL_0035: call instance string class NAnt.VSNet.ManagedProjectBase::GetTypeLibraryPath(class NAnt.VSNet.ConfigurationSettings) + IL_003a: stloc.1 + IL_003b: ldarg.2 + IL_003c: ldloc.1 + IL_003d: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0042: brtrue IL_0056 + + IL_0047: nop + IL_0048: ldarg.2 + IL_0049: ldloc.1 + IL_004a: ldloc.1 + IL_004b: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0050: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0055: nop + IL_0056: nop + IL_0057: ldarg.0 + IL_0058: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ManagedProjectBase::GetLocalizedResources() + IL_005d: stloc.2 + IL_005e: nop + IL_005f: ldloc.2 + IL_0060: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_0065: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_006a: stloc.s 4 + .try { // 0 + IL_006c: br IL_00cc + + IL_0071: ldloc.s 4 + IL_0073: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0078: castclass NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet + IL_007d: stloc.3 + IL_007e: nop + IL_007f: ldloc.3 + IL_0080: ldloc.0 + IL_0081: ldarg.0 + IL_0082: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0087: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteAssemblyPath(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.ProjectSettings) + IL_008c: stloc.s 5 + IL_008e: ldloc.s 5 + IL_0090: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0095: brfalse IL_00cb - IL_0044: ldarg.0 - IL_0045: ldarg.1 - IL_0046: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::CompileResx(class NAnt.VSNet.Configuration) - IL_004b: stloc.0 - IL_004c: br IL_006b + IL_009a: ldarg.2 + IL_009b: ldloc.s 5 + IL_009d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00a2: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_00a7: brtrue IL_00cb - IL_0051: ldarg.0 - IL_0052: ldarg.1 - IL_0053: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::CompileLicx(class NAnt.VSNet.Configuration) - IL_0058: stloc.0 - IL_0059: br IL_006b + IL_00ac: nop + IL_00ad: ldloc.3 + IL_00ae: ldarg.0 + IL_00af: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_00b4: callvirt instance string class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetRelativePath(class NAnt.VSNet.ProjectSettings) + IL_00b9: stloc.s 6 + IL_00bb: ldarg.2 + IL_00bc: ldloc.s 5 + IL_00be: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00c3: ldloc.s 6 + IL_00c5: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_00ca: nop + IL_00cb: nop + IL_00cc: ldloc.s 4 + IL_00ce: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00d3: brtrue IL_0071 - IL_005e: ldarg.0 - IL_005f: ldarg.1 - IL_0060: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::CompileResource(class NAnt.VSNet.Configuration) - IL_0065: stloc.0 - IL_0066: br IL_006b + IL_00d8: leave IL_00f4 - IL_006b: ldloc.0 - IL_006c: stloc.2 - IL_006d: br IL_0072 + } // end .try 0 + finally { // 0 + IL_00dd: ldloc.s 4 + IL_00df: isinst [mscorlib]System.IDisposable + IL_00e4: dup + IL_00e5: stloc.s 7 + IL_00e7: brfalse IL_00f3 - IL_0072: ldloc.2 - IL_0073: ret - } // end of method Resource::Compile + IL_00ec: ldloc.s 7 + IL_00ee: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f3: endfinally + } // end handler 0 + IL_00f4: ret + } // end of method ManagedProjectBase::GetOutputFiles - // method line 531 - .method public hidebysig - instance default class [mscorlib]System.IO.FileInfo GetCompiledResourceFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 599 + .method family virtual hidebysig + instance default valuetype NAnt.VSNet.BuildResult Build (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x12870 - // Code size 199 (0xc7) - .maxstack 3 + // Method begins at RVA 0xa548 + // Code size 1547 (0x60b) + .maxstack 7 .locals init ( - string V_0, - class NAnt.VSNet.ConfigurationSettings V_1, + bool V_0, + bool V_1, string V_2, - class [mscorlib]System.IO.FileInfo V_3) + class NAnt.VSNet.ConfigurationSettings V_3, + valuetype NAnt.VSNet.BuildResult V_4, + string V_5, + class [mscorlib]System.IO.StreamWriter V_6, + class [mscorlib]System.IO.StreamReader V_7, + string V_8, + class [System]System.Diagnostics.ProcessStartInfo V_9, + class [System]System.Diagnostics.Process V_10, + string V_11, + int32 V_12, + class [mscorlib]System.Collections.Hashtable V_13, + class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet V_14, + class [mscorlib]System.Collections.IEnumerator V_15, + class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask V_16, + class [mscorlib]System.IO.DirectoryInfo V_17, + class NAnt.VSNet.Resource V_18, + class [mscorlib]System.Collections.IEnumerator V_19, + class [mscorlib]System.IO.FileInfo V_20, + class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResource V_21, + class [mscorlib]System.IDisposable V_22, + class [mscorlib]System.IDisposable V_23, + string V_24, + string V_25, + class [mscorlib]System.Collections.Hashtable V_26, + valuetype [mscorlib]System.Collections.DictionaryEntry V_27, + class [mscorlib]System.Collections.IDictionaryEnumerator V_28, + string V_29, + string V_30, + class NAnt.VSNet.WebDavClient V_31, + class [mscorlib]System.IO.FileInfo V_32, + class [mscorlib]System.IDisposable V_33) IL_0000: nop - IL_0001: ldnull + IL_0001: ldc.i4.1 IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_0009: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_000e: ldarg.1 - IL_000f: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0014: castclass NAnt.VSNet.ConfigurationSettings - IL_0019: stloc.1 - IL_001a: ldarg.0 - IL_001b: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_0020: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002a: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_002f: stloc.2 - IL_0030: ldloc.2 - IL_0031: brfalse IL_00a8 - - IL_0036: ldloc.2 - IL_0037: ldstr ".resx" - IL_003c: call bool string::op_Equality(string, string) - IL_0041: brtrue IL_005b - - IL_0046: ldloc.2 - IL_0047: ldstr ".licx" - IL_004c: call bool string::op_Equality(string, string) - IL_0051: brtrue IL_0078 - - IL_0056: br IL_00a8 - - IL_005b: ldloc.1 - IL_005c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_0061: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0066: ldarg.0 - IL_0067: ldarg.1 - IL_0068: call instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) - IL_006d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0072: stloc.0 - IL_0073: br IL_00b9 - - IL_0078: ldloc.1 - IL_0079: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() - IL_007e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0083: ldarg.0 - IL_0084: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_0089: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_008e: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() - IL_0093: ldstr ".licenses" - IL_0098: call string string::Concat(string, string) - IL_009d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00a2: stloc.0 - IL_00a3: br IL_00b9 - - IL_00a8: ldarg.0 - IL_00a9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_00ae: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00b3: stloc.0 - IL_00b4: br IL_00b9 - - IL_00b9: ldloc.0 - IL_00ba: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00bf: stloc.3 - IL_00c0: br IL_00c5 + IL_0003: ldnull + IL_0004: stloc.2 + IL_0005: ldarg.0 + IL_0006: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_000b: callvirt instance void class [NAnt.Core]NAnt.Core.Util.GacCache::RecreateDomain() + .try { // 7 + IL_0010: nop + IL_0011: ldarg.0 + IL_0012: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0017: ldarg.1 + IL_0018: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_001d: castclass NAnt.VSNet.ConfigurationSettings + IL_0022: stloc.3 + IL_0023: ldarg.0 + IL_0024: ldloc.3 + IL_0025: call instance bool class NAnt.VSNet.ManagedProjectBase::PreBuild(class NAnt.VSNet.ConfigurationSettings) + IL_002a: brtrue IL_0038 - IL_00c5: ldloc.3 - IL_00c6: ret - } // end of method Resource::GetCompiledResourceFile + IL_002f: nop + IL_0030: ldc.i4.0 + IL_0031: stloc.s 4 + IL_0033: leave IL_0608 - // method line 532 - .method public hidebysig - instance default string GetManifestResourceName (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x12944 - // Code size 159 (0x9f) - .maxstack 3 - .locals init ( - class NAnt.VSNet.ConfigurationSettings V_0, - valuetype NAnt.VSNet.ProjectType V_1, - string V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_0007: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0012: castclass NAnt.VSNet.ConfigurationSettings - IL_0017: stloc.0 - IL_0018: ldarg.0 - IL_0019: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_001e: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() - IL_0023: stloc.1 - IL_0024: ldloc.1 - IL_0025: switch ( - IL_0052, - IL_003f, - IL_0078, - IL_0065) - IL_003a: br IL_0078 + IL_0038: ldarg.0 + IL_0039: ldloc.3 + IL_003a: ldarg.1 + IL_003b: call instance void class NAnt.VSNet.ManagedProjectBase::UnregisterForComInterop(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.Configuration) + IL_0040: ldarg.0 + IL_0041: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() + IL_0046: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_004b: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0050: brtrue IL_0068 - IL_003f: ldarg.0 - IL_0040: ldloc.0 - IL_0041: ldarg.0 - IL_0042: ldfld string NAnt.VSNet.Resource::_dependentFile - IL_0047: call instance string class NAnt.VSNet.Resource::GetManifestResourceNameCSharp(class NAnt.VSNet.ConfigurationSettings, string) - IL_004c: stloc.2 - IL_004d: br IL_009d + IL_0055: nop + IL_0056: ldarg.0 + IL_0057: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() + IL_005c: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_0061: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0066: pop + IL_0067: nop + IL_0068: ldarg.0 + IL_0069: ldarg.1 + IL_006a: call instance void class NAnt.VSNet.ManagedProjectBase::CompileResXFiles(class NAnt.VSNet.Configuration) + IL_006f: ldarg.0 + IL_0070: ldarg.1 + IL_0071: call instance bool class NAnt.VSNet.ManagedProjectBase::CheckUpToDate(class NAnt.VSNet.Configuration) + IL_0076: brfalse IL_0094 - IL_0052: ldarg.0 - IL_0053: ldloc.0 - IL_0054: ldarg.0 - IL_0055: ldfld string NAnt.VSNet.Resource::_dependentFile - IL_005a: call instance string class NAnt.VSNet.Resource::GetManifestResourceNameVB(class NAnt.VSNet.ConfigurationSettings, string) - IL_005f: stloc.2 - IL_0060: br IL_009d + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: ldc.i4 2000 + IL_0082: ldstr "Project is up-to-date." + IL_0087: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_008c: ldc.i4.0 + IL_008d: stloc.1 + IL_008e: nop + IL_008f: br IL_025c - IL_0065: ldarg.0 - IL_0066: ldloc.0 - IL_0067: ldarg.0 - IL_0068: ldfld string NAnt.VSNet.Resource::_dependentFile - IL_006d: call instance string class NAnt.VSNet.Resource::GetManifestResourceNameJSharp(class NAnt.VSNet.ConfigurationSettings, string) - IL_0072: stloc.2 - IL_0073: br IL_009d + IL_0094: nop + IL_0095: ldarg.0 + IL_0096: ldarg.1 + IL_0097: callvirt instance void class NAnt.VSNet.ProjectBase::Prepare(class NAnt.VSNet.Configuration) + IL_009c: ldarg.0 + IL_009d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_00a2: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_00a7: brtrue IL_00c1 - IL_0078: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007d: ldstr "Unsupported project type '{0}'." - IL_0082: ldarg.0 - IL_0083: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_0088: callvirt instance valuetype NAnt.VSNet.ProjectType class NAnt.VSNet.ProjectBase::get_Type() - IL_008d: box NAnt.VSNet.ProjectType - IL_0092: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0097: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_009c: throw - IL_009d: ldloc.2 - IL_009e: ret - } // end of method Resource::GetManifestResourceName + IL_00ac: nop + IL_00ad: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_00b2: stloc.2 + IL_00b3: ldarg.0 + IL_00b4: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_00b9: ldloc.2 + IL_00ba: ldnull + IL_00bb: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00c0: nop + IL_00c1: ldarg.0 + IL_00c2: call instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectBase::get_TemporaryFiles() + IL_00c7: callvirt instance string class [System]System.CodeDom.Compiler.TempFileCollection::get_BasePath() + IL_00cc: ldstr "compile-commands.txt" + IL_00d1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00d6: stloc.s 5 + IL_00d8: ldloc.s 5 + IL_00da: call class [mscorlib]System.IO.StreamWriter class [mscorlib]System.IO.File::CreateText(string) + IL_00df: stloc.s 6 + .try { // 0 + IL_00e1: nop + IL_00e2: ldarg.0 + IL_00e3: ldloc.s 6 + IL_00e5: ldarg.1 + IL_00e6: callvirt instance void class NAnt.VSNet.ManagedProjectBase::WriteCompilerOptions(class [mscorlib]System.IO.StreamWriter, class NAnt.VSNet.Configuration) + IL_00eb: nop + IL_00ec: leave IL_0100 - // method line 533 - .method private hidebysig - instance default string GetManifestResourceNameCSharp (class NAnt.VSNet.ConfigurationSettings configSetting, string dependentFile) cil managed - { - // Method begins at RVA 0x129f0 - // Code size 225 (0xe1) - .maxstack 5 - .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CscTask V_0, - class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet V_1, - string V_2) - IL_0000: nop - IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CscTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0018: ldloc.0 - IL_0019: ldarg.0 - IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0029: ldloc.0 - IL_002a: ldarg.1 - IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: ldarg.0 - IL_0036: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_003b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0040: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() - IL_0045: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_004a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_004f: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_0054: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::'.ctor'() - IL_0059: stloc.1 - IL_005a: ldloc.1 - IL_005b: ldarg.0 - IL_005c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_006b: ldloc.1 - IL_006c: ldarg.0 - IL_006d: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_0072: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_007c: ldloc.1 - IL_007d: ldloc.0 - IL_007e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0083: ldloc.1 - IL_0084: ldarg.0 - IL_0085: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_008a: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_008f: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0094: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0099: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_009e: ldloc.1 - IL_009f: ldarg.0 - IL_00a0: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_00a5: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_00aa: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() - IL_00af: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_Prefix(string) - IL_00b4: ldloc.1 - IL_00b5: ldc.i4.1 - IL_00b6: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix(bool) - IL_00bb: ldloc.0 - IL_00bc: ldloc.1 - IL_00bd: ldarg.0 - IL_00be: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_00c3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00c8: ldarg.0 - IL_00c9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_LogicalFile() - IL_00ce: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00d3: ldarg.2 - IL_00d4: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet, string, string, string) - IL_00d9: stloc.2 - IL_00da: br IL_00df + } // end .try 0 + finally { // 0 + IL_00f1: ldloc.s 6 + IL_00f3: brfalse IL_00ff - IL_00df: ldloc.2 - IL_00e0: ret - } // end of method Resource::GetManifestResourceNameCSharp + IL_00f8: ldloc.s 6 + IL_00fa: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00ff: endfinally + } // end handler 0 + IL_0100: ldarg.0 + IL_0101: ldc.i4 2000 + IL_0106: ldstr "Starting compiler..." + IL_010b: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0110: ldarg.0 + IL_0111: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0116: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_011b: brfalse IL_01b0 - // method line 534 - .method private hidebysig - instance default string GetManifestResourceNameVB (class NAnt.VSNet.ConfigurationSettings configSetting, string dependentFile) cil managed - { - // Method begins at RVA 0x12ae0 - // Code size 247 (0xf7) - .maxstack 5 - .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VbcTask V_0, - class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet V_1, - string V_2) - IL_0000: nop - IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VbcTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0018: ldloc.0 - IL_0019: ldarg.0 - IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0029: ldloc.0 - IL_002a: ldarg.1 - IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: ldarg.0 - IL_0036: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_003b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0040: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() - IL_0045: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_004a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_004f: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_0054: ldloc.0 - IL_0055: ldarg.0 - IL_0056: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_005b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0060: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() - IL_0065: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VbcTask::set_RootNamespace(string) - IL_006a: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::'.ctor'() - IL_006f: stloc.1 - IL_0070: ldloc.1 - IL_0071: ldarg.0 - IL_0072: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_0077: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0081: ldloc.1 - IL_0082: ldarg.0 - IL_0083: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_0088: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_008d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0092: ldloc.1 - IL_0093: ldloc.0 - IL_0094: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0099: ldloc.1 - IL_009a: ldarg.0 - IL_009b: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_00a0: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_00a5: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00aa: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00b4: ldloc.1 - IL_00b5: ldarg.0 - IL_00b6: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_00bb: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_00c0: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() - IL_00c5: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_Prefix(string) - IL_00ca: ldloc.1 - IL_00cb: ldc.i4.0 - IL_00cc: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix(bool) - IL_00d1: ldloc.0 - IL_00d2: ldloc.1 - IL_00d3: ldarg.0 - IL_00d4: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_00d9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00de: ldarg.0 - IL_00df: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_LogicalFile() - IL_00e4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00e9: ldarg.2 - IL_00ea: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet, string, string, string) - IL_00ef: stloc.2 - IL_00f0: br IL_00f5 + IL_0120: nop + IL_0121: ldloc.s 5 + IL_0123: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) + IL_0128: stloc.s 7 + .try { // 2 + IL_012a: nop + IL_012b: ldarg.0 + IL_012c: ldc.i4 2000 + IL_0131: ldstr "Commands:" + IL_0136: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_013b: ldarg.0 + IL_013c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0141: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0146: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 1 + IL_014b: nop + IL_014c: nop + IL_014d: nop + IL_014e: ldloc.s 7 + IL_0150: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0155: stloc.s 8 + IL_0157: ldloc.s 8 + IL_0159: brtrue IL_0164 - IL_00f5: ldloc.2 - IL_00f6: ret - } // end of method Resource::GetManifestResourceNameVB + IL_015e: nop + IL_015f: leave IL_0181 - // method line 535 - .method private hidebysig - instance default string GetManifestResourceNameJSharp (class NAnt.VSNet.ConfigurationSettings configSetting, string dependentFile) cil managed - { - // Method begins at RVA 0x12be4 - // Code size 225 (0xe1) - .maxstack 5 - .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VjcTask V_0, - class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet V_1, - string V_2) - IL_0000: nop - IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.VjcTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0018: ldloc.0 - IL_0019: ldarg.0 - IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0029: ldloc.0 - IL_002a: ldarg.1 - IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: ldarg.0 - IL_0036: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_003b: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0040: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() - IL_0045: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_004a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_004f: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_0054: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::'.ctor'() - IL_0059: stloc.1 - IL_005a: ldloc.1 - IL_005b: ldarg.0 - IL_005c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_0061: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_006b: ldloc.1 - IL_006c: ldarg.0 - IL_006d: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_0072: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0077: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_007c: ldloc.1 - IL_007d: ldloc.0 - IL_007e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0083: ldloc.1 - IL_0084: ldarg.0 - IL_0085: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_008a: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_008f: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0094: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0099: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_009e: ldloc.1 - IL_009f: ldarg.0 - IL_00a0: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_00a5: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_00aa: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RootNamespace() - IL_00af: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_Prefix(string) - IL_00b4: ldloc.1 - IL_00b5: ldc.i4.1 - IL_00b6: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet::set_DynamicPrefix(bool) - IL_00bb: ldloc.0 - IL_00bc: ldloc.1 - IL_00bd: ldarg.0 - IL_00be: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_00c3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00c8: ldarg.0 - IL_00c9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_LogicalFile() - IL_00ce: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00d3: ldarg.2 - IL_00d4: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.CompilerBase::GetManifestResourceName(class [NAnt.DotNetTasks]NAnt.DotNet.Types.ResourceFileSet, string, string, string) - IL_00d9: stloc.2 - IL_00da: br IL_00df + IL_0164: ldarg.0 + IL_0165: ldc.i4 2000 + IL_016a: ldstr " " + IL_016f: ldloc.s 8 + IL_0171: call string string::Concat(string, string) + IL_0176: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_017b: nop + IL_017c: br IL_014c - IL_00df: ldloc.2 - IL_00e0: ret - } // end of method Resource::GetManifestResourceNameJSharp + IL_0181: nop + IL_0182: leave IL_019a - // method line 536 - .method private hidebysig - instance default class [mscorlib]System.IO.FileInfo CompileResource (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x12cd4 - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) - IL_0008: stloc.0 - IL_0009: br IL_000e + } // end .try 1 + finally { // 1 + IL_0187: nop + IL_0188: ldarg.0 + IL_0189: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_018e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0193: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0198: nop + IL_0199: endfinally + } // end handler 1 + IL_019a: nop + IL_019b: leave IL_01af - IL_000e: ldloc.0 - IL_000f: ret - } // end of method Resource::CompileResource + } // end .try 2 + finally { // 2 + IL_01a0: ldloc.s 7 + IL_01a2: brfalse IL_01ae - // method line 537 - .method private hidebysig - instance default class [mscorlib]System.IO.FileInfo CompileLicx (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x12cf0 - // Code size 437 (0x1b5) - .maxstack 3 - .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask V_0, - class NAnt.VSNet.ReferenceBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [System]System.Collections.Specialized.StringCollection V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class [mscorlib]System.IDisposable V_7, - class [mscorlib]System.IO.FileInfo V_8) - IL_0000: nop - IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0013: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0018: ldloc.0 - IL_0019: ldarg.0 - IL_001a: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0024: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0029: ldloc.0 - IL_002a: ldarg.0 - IL_002b: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.Resource::_solutionTask - IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0046: ldloc.0 - IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_004c: ldloc.0 - IL_004d: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_0052: ldloc.0 - IL_0053: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0058: ldloc.0 - IL_0059: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_005e: ldloc.0 - IL_005f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0064: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0069: ldloc.0 - IL_006a: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_006f: ldloc.0 - IL_0070: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_007a: ldloc.0 - IL_007b: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_0080: ldarg.0 - IL_0081: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_0086: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_008b: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0090: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0095: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_009a: ldloc.0 - IL_009b: ldarg.0 - IL_009c: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() - IL_00a1: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::set_InputFile(class [mscorlib]System.IO.FileInfo) - IL_00a6: ldloc.0 - IL_00a7: ldarg.0 - IL_00a8: ldarg.1 - IL_00a9: call instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) - IL_00ae: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_00b3: ldloc.0 - IL_00b4: ldarg.0 - IL_00b5: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_00ba: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_00bf: callvirt instance string class NAnt.VSNet.ProjectSettings::get_OutputFileName() - IL_00c4: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_00c9: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ce: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) - IL_00d3: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::set_Target(string) - IL_00d8: nop - IL_00d9: ldarg.0 - IL_00da: call instance class NAnt.VSNet.ManagedProjectBase class NAnt.VSNet.Resource::get_Project() - IL_00df: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_00e4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_00e9: stloc.2 - .try { // 1 - IL_00ea: br IL_0159 + IL_01a7: ldloc.s 7 + IL_01a9: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01ae: endfinally + } // end handler 2 + IL_01af: nop + IL_01b0: ldarg.0 + IL_01b1: ldloc.3 + IL_01b2: ldloc.s 5 + IL_01b4: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class NAnt.VSNet.ManagedProjectBase::GetProcessStartInfo(class NAnt.VSNet.ConfigurationBase, string) + IL_01b9: stloc.s 9 + IL_01bb: ldloc.s 9 + IL_01bd: ldc.i4.0 + IL_01be: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_UseShellExecute(bool) + IL_01c3: ldloc.s 9 + IL_01c5: ldc.i4.1 + IL_01c6: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_RedirectStandardOutput(bool) + IL_01cb: ldloc.s 9 + IL_01cd: call class [System]System.Diagnostics.Process class [System]System.Diagnostics.Process::Start(class [System]System.Diagnostics.ProcessStartInfo) + IL_01d2: stloc.s 10 + IL_01d4: nop + IL_01d5: nop + IL_01d6: ldloc.s 10 + IL_01d8: callvirt instance class [mscorlib]System.IO.StreamReader class [System]System.Diagnostics.Process::get_StandardOutput() + IL_01dd: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_01e2: stloc.s 11 + IL_01e4: ldloc.s 11 + IL_01e6: brtrue IL_01f1 - IL_00ef: ldloc.2 - IL_00f0: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00f5: castclass NAnt.VSNet.ReferenceBase - IL_00fa: stloc.1 - IL_00fb: nop - IL_00fc: ldloc.1 - IL_00fd: ldarg.1 - IL_00fe: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) - IL_0103: stloc.3 - IL_0104: nop - IL_0105: ldloc.3 - IL_0106: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_010b: stloc.s 5 - .try { // 0 - IL_010d: br IL_0130 + IL_01eb: nop + IL_01ec: leave IL_0204 - IL_0112: ldloc.s 5 - IL_0114: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0119: stloc.s 4 - IL_011b: nop - IL_011c: ldloc.0 - IL_011d: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_Assemblies() - IL_0122: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0127: ldloc.s 4 - IL_0129: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_012e: pop - IL_012f: nop - IL_0130: ldloc.s 5 - IL_0132: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0137: brtrue IL_0112 + IL_01f1: ldarg.0 + IL_01f2: ldc.i4 3000 + IL_01f7: ldloc.s 11 + IL_01f9: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_01fe: nop + IL_01ff: br IL_01d4 - IL_013c: leave IL_0158 + IL_0204: ldloc.s 10 + IL_0206: callvirt instance void class [System]System.Diagnostics.Process::WaitForExit() + IL_020b: ldloc.s 10 + IL_020d: callvirt instance int32 class [System]System.Diagnostics.Process::get_ExitCode() + IL_0212: stloc.s 12 + IL_0214: ldarg.0 + IL_0215: ldc.i4 2000 + IL_021a: ldstr "{0}! (exit code = {1})" + IL_021f: ldc.i4.2 + IL_0220: newarr [mscorlib]System.Object + IL_0225: dup + IL_0226: ldc.i4.0 + IL_0227: ldloc.s 12 + IL_0229: brtrue IL_0238 - } // end .try 0 - finally { // 0 - IL_0141: ldloc.s 5 - IL_0143: isinst [mscorlib]System.IDisposable - IL_0148: dup - IL_0149: stloc.s 6 - IL_014b: brfalse IL_0157 + IL_022e: ldstr "Success" + IL_0233: br IL_023d - IL_0150: ldloc.s 6 - IL_0152: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0157: endfinally - } // end handler 0 - IL_0158: nop - IL_0159: ldloc.2 - IL_015a: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_015f: brtrue IL_00ef + IL_0238: ldstr "Failure" + IL_023d: stelem.ref + IL_023e: dup + IL_023f: ldc.i4.1 + IL_0240: ldloc.s 12 + IL_0242: box [mscorlib]System.Int32 + IL_0247: stelem.ref + IL_0248: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_024d: ldloc.s 12 + IL_024f: ldc.i4.0 + IL_0250: ble IL_0259 - IL_0164: leave IL_017f + IL_0255: nop + IL_0256: ldc.i4.0 + IL_0257: stloc.0 + IL_0258: nop + IL_0259: ldc.i4.1 + IL_025a: stloc.1 + IL_025b: nop + IL_025c: ldarg.0 + IL_025d: ldc.i4 2000 + IL_0262: ldstr "Building satellite assemblies..." + IL_0267: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_026c: ldarg.0 + IL_026d: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ManagedProjectBase::GetLocalizedResources() + IL_0272: stloc.s 13 + IL_0274: nop + IL_0275: ldloc.s 13 + IL_0277: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_027c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0281: stloc.s 15 + .try { // 5 + IL_0283: br IL_0437 - } // end .try 1 - finally { // 1 - IL_0169: ldloc.2 - IL_016a: isinst [mscorlib]System.IDisposable - IL_016f: dup - IL_0170: stloc.s 7 - IL_0172: brfalse IL_017e + IL_0288: ldloc.s 15 + IL_028a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_028f: castclass NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet + IL_0294: stloc.s 14 + IL_0296: nop + IL_0297: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::'.ctor'() + IL_029c: stloc.s 16 + IL_029e: ldloc.s 16 + IL_02a0: ldarg.0 + IL_02a1: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_02a6: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_02ab: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_02b0: ldloc.s 16 + IL_02b2: ldarg.0 + IL_02b3: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_02b8: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_02bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_02c2: ldloc.s 16 + IL_02c4: ldarg.0 + IL_02c5: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_02ca: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_02cf: ldloc.s 16 + IL_02d1: ldloc.3 + IL_02d2: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_02d7: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_02dc: ldloc.s 16 + IL_02de: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_02e3: ldloc.s 14 + IL_02e5: ldloc.3 + IL_02e6: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetBuildDirectory(class NAnt.VSNet.ConfigurationSettings) + IL_02eb: stloc.s 17 + IL_02ed: ldloc.s 17 + IL_02ef: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_02f4: brtrue IL_0302 + + IL_02f9: nop + IL_02fa: ldloc.s 17 + IL_02fc: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_0301: nop + IL_0302: ldloc.s 16 + IL_0304: ldloc.s 14 + IL_0306: ldloc.3 + IL_0307: ldarg.0 + IL_0308: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_030d: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteAssemblyPath(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.ProjectSettings) + IL_0312: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) + IL_0317: ldloc.s 16 + IL_0319: ldstr "lib" + IL_031e: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_OutputTarget(string) + IL_0323: ldloc.s 16 + IL_0325: ldloc.s 14 + IL_0327: callvirt instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture() + IL_032c: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_0331: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_Culture(string) + IL_0336: ldloc.s 16 + IL_0338: ldloc.3 + IL_0339: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_033e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0343: callvirt instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::set_TemplateFile(class [mscorlib]System.IO.FileInfo) + IL_0348: nop + IL_0349: ldloc.s 14 + IL_034b: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Resources() + IL_0350: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0355: stloc.s 19 + .try { // 3 + IL_0357: br IL_03bd + + IL_035c: ldloc.s 19 + IL_035e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0363: castclass NAnt.VSNet.Resource + IL_0368: stloc.s 18 + IL_036a: nop + IL_036b: ldnull + IL_036c: stloc.s 20 + IL_036e: ldloc.s 18 + IL_0370: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() + IL_0375: brfalse IL_038b + + IL_037a: nop + IL_037b: ldloc.s 18 + IL_037d: ldarg.1 + IL_037e: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) + IL_0383: stloc.s 20 + IL_0385: nop + IL_0386: br IL_0397 + + IL_038b: nop + IL_038c: ldloc.s 18 + IL_038e: ldarg.1 + IL_038f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::Compile(class NAnt.VSNet.Configuration) + IL_0394: stloc.s 20 + IL_0396: nop + IL_0397: ldloc.s 20 + IL_0399: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_039e: ldloc.s 18 + IL_03a0: ldarg.1 + IL_03a1: callvirt instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) + IL_03a6: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResource::'.ctor'(string, string) + IL_03ab: stloc.s 21 + IL_03ad: ldloc.s 16 + IL_03af: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResourceCollection class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::get_EmbeddedResources() + IL_03b4: ldloc.s 21 + IL_03b6: callvirt instance int32 class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResourceCollection::Add(class [NAnt.DotNetTasks]NAnt.DotNet.Types.EmbeddedResource) + IL_03bb: pop + IL_03bc: nop + IL_03bd: ldloc.s 19 + IL_03bf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_03c4: brtrue IL_035c + + IL_03c9: leave IL_03e5 + + } // end .try 3 + finally { // 3 + IL_03ce: ldloc.s 19 + IL_03d0: isinst [mscorlib]System.IDisposable + IL_03d5: dup + IL_03d6: stloc.s 22 + IL_03d8: brfalse IL_03e4 + + IL_03dd: ldloc.s 22 + IL_03df: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_03e4: endfinally + } // end handler 3 + IL_03e5: ldarg.0 + IL_03e6: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_03eb: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_03f0: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 4 + IL_03f5: nop + IL_03f6: ldarg.0 + IL_03f7: ldc.i4 2000 + IL_03fc: ldstr " - {0}" + IL_0401: ldc.i4.1 + IL_0402: newarr [mscorlib]System.Object + IL_0407: dup + IL_0408: ldc.i4.0 + IL_0409: ldloc.s 16 + IL_040b: callvirt instance string class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.AssemblyLinkerTask::get_Culture() + IL_0410: stelem.ref + IL_0411: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0416: ldloc.s 16 + IL_0418: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_041d: nop + IL_041e: leave IL_0436 - IL_0177: ldloc.s 7 - IL_0179: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_017e: endfinally - } // end handler 1 - IL_017f: ldloc.0 - IL_0180: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0185: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 2 - IL_018a: nop - IL_018b: ldloc.0 - IL_018c: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0191: nop - IL_0192: leave IL_01a5 + } // end .try 4 + finally { // 4 + IL_0423: nop + IL_0424: ldarg.0 + IL_0425: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_042a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_042f: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0434: nop + IL_0435: endfinally + } // end handler 4 + IL_0436: nop + IL_0437: ldloc.s 15 + IL_0439: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_043e: brtrue IL_0288 - } // end .try 2 - finally { // 2 - IL_0197: nop - IL_0198: ldloc.0 - IL_0199: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_019e: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_01a3: nop - IL_01a4: endfinally - } // end handler 2 - IL_01a5: ldloc.0 - IL_01a6: callvirt instance class [mscorlib]System.IO.FileInfo class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.LicenseTask::get_OutputFile() - IL_01ab: stloc.s 8 - IL_01ad: br IL_01b2 + IL_0443: leave IL_045f - IL_01b2: ldloc.s 8 - IL_01b4: ret - } // end of method Resource::CompileLicx + } // end .try 5 + finally { // 5 + IL_0448: ldloc.s 15 + IL_044a: isinst [mscorlib]System.IDisposable + IL_044f: dup + IL_0450: stloc.s 23 + IL_0452: brfalse IL_045e - // method line 538 - .method private hidebysig - instance default class [mscorlib]System.IO.FileInfo CompileResx (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x12edc - // Code size 7 (0x7) - .maxstack 8 - IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.InvalidOperationException::'.ctor'() - IL_0006: throw - } // end of method Resource::CompileResx + IL_0457: ldloc.s 23 + IL_0459: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_045e: endfinally + } // end handler 5 + IL_045f: ldloc.3 + IL_0460: callvirt instance bool class NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop() + IL_0465: brfalse IL_04ab - .property instance class [mscorlib]System.Globalization.CultureInfo Culture () - { - .get instance default class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.Resource::get_Culture () - } - .property instance class [mscorlib]System.IO.FileInfo InputFile () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::get_InputFile () - } - .property instance class NAnt.VSNet.ManagedProjectBase Project () - { - .get instance default class NAnt.VSNet.ManagedProjectBase NAnt.VSNet.Resource::get_Project () - } - .property instance class [mscorlib]System.IO.FileInfo LogicalFile () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.Resource::get_LogicalFile () - } - .property instance bool IsResX () - { - .get instance default bool NAnt.VSNet.Resource::get_IsResX () - } - } // end of class NAnt.VSNet.Resource -} + IL_046a: nop + IL_046b: ldarg.0 + IL_046c: ldloc.3 + IL_046d: call instance string class NAnt.VSNet.ManagedProjectBase::GetTypeLibraryPath(class NAnt.VSNet.ConfigurationSettings) + IL_0472: stloc.s 24 + IL_0474: ldarg.0 + IL_0475: ldloc.3 + IL_0476: ldarg.1 + IL_0477: ldloc.s 24 + IL_0479: call instance void class NAnt.VSNet.ManagedProjectBase::RegisterForComInterop(class NAnt.VSNet.ConfigurationSettings, class NAnt.VSNet.Configuration, string) + IL_047e: ldloc.3 + IL_047f: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_0484: ldstr ".tlb" + IL_0489: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_048e: stloc.s 25 + IL_0490: ldarg.0 + IL_0491: ldloc.s 24 + IL_0493: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0498: ldloc.s 25 + IL_049a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_049f: ldarg.0 + IL_04a0: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_04a5: call instance void class NAnt.VSNet.ProjectBase::CopyFile(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo, class [NAnt.Core]NAnt.Core.Task) + IL_04aa: nop + IL_04ab: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_04b0: stloc.s 26 + IL_04b2: ldarg.0 + IL_04b3: ldarg.1 + IL_04b4: ldloc.s 26 + IL_04b6: callvirt instance void class NAnt.VSNet.ProjectBase::GetOutputFiles(class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable) + IL_04bb: nop + IL_04bc: ldloc.s 26 + IL_04be: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_04c3: stloc.s 28 + .try { // 6 + IL_04c5: br IL_056f -.namespace NAnt.VSNet -{ - .class public auto ansi abstract beforefieldinit WrapperReferenceBase - extends NAnt.VSNet.FileReferenceBase - { - .field private bool _isCreated + IL_04ca: ldloc.s 28 + IL_04cc: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_04d1: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_04d6: stloc.s 27 + IL_04d8: nop + IL_04d9: ldloca.s 27 + IL_04db: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_04e0: castclass [mscorlib]System.String + IL_04e5: stloc.s 29 + IL_04e7: ldloca.s 27 + IL_04e9: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_04ee: castclass [mscorlib]System.String + IL_04f3: stloc.s 30 + IL_04f5: ldarg.0 + IL_04f6: call instance bool class NAnt.VSNet.ManagedProjectBase::get_IsWebProject() + IL_04fb: brfalse IL_053e - // method line 539 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed - { - // Method begins at RVA 0xb1fc - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: call instance void class NAnt.VSNet.FileReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_000b: nop - IL_000c: ret - } // end of method WrapperReferenceBase::.ctor + IL_0500: nop + IL_0501: ldarg.0 + IL_0502: ldfld string NAnt.VSNet.ManagedProjectBase::_webProjectBaseUrl + IL_0507: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_050c: newobj instance void class NAnt.VSNet.WebDavClient::'.ctor'(class [System]System.Uri) + IL_0511: stloc.s 31 + IL_0513: ldloc.s 31 + IL_0515: ldloc.s 29 + IL_0517: ldloc.3 + IL_0518: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() + IL_051d: ldloc.s 30 + IL_051f: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0524: ldstr "\\" + IL_0529: ldstr "/" + IL_052e: callvirt instance string string::Replace(string, string) + IL_0533: callvirt instance void class NAnt.VSNet.WebDavClient::UploadFile(string, string) + IL_0538: nop + IL_0539: br IL_056e - // method line 540 - .method public virtual hidebysig specialname - instance default bool get_CopyLocal () cil managed - { - // Method begins at RVA 0xb20c - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() - IL_0007: ldstr "primary" - IL_000c: call bool string::op_Inequality(string, string) - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_053e: nop + IL_053f: ldloc.3 + IL_0540: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0545: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_054a: ldloc.s 30 + IL_054c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0551: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0556: stloc.s 32 + IL_0558: ldarg.0 + IL_0559: ldloc.s 29 + IL_055b: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0560: ldloc.s 32 + IL_0562: ldarg.0 + IL_0563: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0568: call instance void class NAnt.VSNet.ProjectBase::CopyFile(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo, class [NAnt.Core]NAnt.Core.Task) + IL_056d: nop + IL_056e: nop + IL_056f: ldloc.s 28 + IL_0571: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0576: brtrue IL_04ca - IL_0017: ldloc.0 - IL_0018: ret - } // end of method WrapperReferenceBase::get_CopyLocal + IL_057b: leave IL_0597 - // method line 541 - .method family virtual hidebysig specialname - instance default bool get_IsSystem () cil managed - { - // Method begins at RVA 0xb234 - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + } // end .try 6 + finally { // 6 + IL_0580: ldloc.s 28 + IL_0582: isinst [mscorlib]System.IDisposable + IL_0587: dup + IL_0588: stloc.s 33 + IL_058a: brfalse IL_0596 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method WrapperReferenceBase::get_IsSystem + IL_058f: ldloc.s 33 + IL_0591: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0596: endfinally + } // end handler 6 + IL_0597: ldarg.0 + IL_0598: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_059d: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RunPostBuildEvent() + IL_05a2: brfalse IL_05c4 - // method line 542 - .method public virtual hidebysig - instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0xb24c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_05a7: nop + IL_05a8: ldarg.0 + IL_05a9: ldloc.3 + IL_05aa: ldloc.1 + IL_05ab: brfalse IL_05b3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method WrapperReferenceBase::GetPrimaryOutputFile + IL_05b0: ldloc.0 + IL_05b1: br.s IL_05b4 - // method line 543 - .method public virtual hidebysig - instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed - { - // Method begins at RVA 0xb268 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - class NAnt.VSNet.ConfigurationBase V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0007: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: ldarg.0 - IL_0015: ldloc.0 - IL_0016: call instance string class NAnt.VSNet.WrapperReferenceBase::CreateWrapper(class NAnt.VSNet.ConfigurationBase) - IL_001b: ldarg.2 - IL_001c: call instance void class NAnt.VSNet.FileReferenceBase::GetAssemblyOutputFiles(string, class [mscorlib]System.Collections.Hashtable) - IL_0021: ret - } // end of method WrapperReferenceBase::GetOutputFiles + IL_05b3: ldc.i4.1 + IL_05b4: ldloc.1 + IL_05b5: call instance bool class NAnt.VSNet.ManagedProjectBase::PostBuild(class NAnt.VSNet.ConfigurationSettings, bool, bool) + IL_05ba: brtrue IL_05c3 - // method line 544 - .method public virtual hidebysig - instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0xb298 - // Code size 100 (0x64) - .maxstack 4 - .locals init ( - class NAnt.VSNet.ConfigurationBase V_0, - string V_1, - class [System]System.Collections.Specialized.StringCollection V_2, - class [System]System.Collections.Specialized.StringCollection V_3) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0007: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: ldloc.0 - IL_0015: call instance string class NAnt.VSNet.WrapperReferenceBase::CreateWrapper(class NAnt.VSNet.ConfigurationBase) - IL_001a: stloc.1 - IL_001b: ldloc.1 - IL_001c: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0021: brtrue IL_004d + IL_05bf: nop + IL_05c0: ldc.i4.0 + IL_05c1: stloc.0 + IL_05c2: nop + IL_05c3: nop + IL_05c4: ldloc.0 + IL_05c5: brtrue IL_05e3 - IL_0026: nop - IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002c: ldstr "Couldn't find assembly \"{0}\", referenced by project \"{1}\"." - IL_0031: ldloc.1 - IL_0032: ldarg.0 - IL_0033: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0038: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0042: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0047: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_004c: throw - IL_004d: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0052: stloc.2 - IL_0053: ldloc.2 - IL_0054: ldloc.1 - IL_0055: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_005a: pop - IL_005b: ldloc.2 - IL_005c: stloc.3 - IL_005d: br IL_0062 + IL_05ca: nop + IL_05cb: ldarg.0 + IL_05cc: ldc.i4 5000 + IL_05d1: ldstr "Build failed." + IL_05d6: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_05db: ldc.i4.0 + IL_05dc: stloc.s 4 + IL_05de: leave IL_0608 - IL_0062: ldloc.3 - IL_0063: ret - } // end of method WrapperReferenceBase::GetAssemblyReferences + IL_05e3: ldloc.1 + IL_05e4: brfalse IL_05ef - // method line 545 - .method public virtual hidebysig - instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0xb308 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0008: call instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetFileTimestamp(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_05e9: ldc.i4.2 + IL_05ea: br IL_05f0 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method WrapperReferenceBase::GetTimestamp + IL_05ef: ldc.i4.1 + IL_05f0: stloc.s 4 + IL_05f2: leave IL_0608 - // method line 546 - .method public virtual hidebysig newslot abstract specialname - instance default string get_WrapperTool () cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::get_WrapperTool + } // end .try 7 + finally { // 7 + IL_05f7: nop + IL_05f8: ldloc.2 + IL_05f9: brfalse IL_0606 - // method line 547 - .method public virtual hidebysig newslot abstract specialname - instance default string get_WrapperAssembly () cil managed + IL_05fe: nop + IL_05ff: ldloc.2 + IL_0600: call void class [mscorlib]System.IO.File::Delete(string) + IL_0605: nop + IL_0606: nop + IL_0607: endfinally + } // end handler 7 + IL_0608: ldloc.s 4 + IL_060a: ret + } // end of method ManagedProjectBase::Build + + // method line 600 + .method family virtual hidebysig newslot abstract + instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed { // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::get_WrapperAssembly + } // end of method ManagedProjectBase::GetProcessStartInfo - // method line 548 - .method public hidebysig specialname - instance default bool get_IsCreated () cil managed + // method line 601 + .method family virtual hidebysig newslot + instance default class NAnt.VSNet.ReferenceBase CreateReference (class NAnt.VSNet.SolutionBase solution, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed { - // Method begins at RVA 0xb32c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xac24 + // Code size 183 (0xb7) + .maxstack 7 .locals init ( - bool V_0) + class NAnt.VSNet.ReferenceBase V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.WrapperReferenceBase::_isCreated - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method WrapperReferenceBase::get_IsCreated + IL_0007: nop + IL_0008: ldstr "solution" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: brtrue IL_0025 - // method line 549 - .method family virtual hidebysig newslot abstract specialname - instance default string get_PrimaryInteropAssembly () cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::get_PrimaryInteropAssembly + IL_0019: nop + IL_001a: ldstr "xmlDefinition" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.2 + IL_0026: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_002b: ldstr "Project" + IL_0030: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0035: brfalse IL_0066 - // method line 550 - .method family virtual hidebysig newslot abstract specialname - instance default string get_TypeLibVersion () cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::get_TypeLibVersion + IL_003a: nop + IL_003b: ldarg.2 + IL_003c: ldarg.0 + IL_003d: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_0042: ldarg.0 + IL_0043: ldarg.1 + IL_0044: ldarg.0 + IL_0045: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_004a: callvirt instance class [System]System.CodeDom.Compiler.TempFileCollection class NAnt.VSNet.ProjectSettings::get_TemporaryFiles() + IL_004f: ldarg.0 + IL_0050: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_0055: ldarg.0 + IL_0056: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_OutputDir() + IL_005b: newobj instance void class NAnt.VSNet.ManagedProjectReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo) + IL_0060: stloc.0 + IL_0061: br IL_00b5 - // method line 551 - .method family virtual hidebysig newslot abstract specialname - instance default string get_TypeLibGuid () cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::get_TypeLibGuid + IL_0066: ldarg.2 + IL_0067: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_006c: ldstr "WrapperTool" + IL_0071: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0076: brfalse IL_009b + + IL_007b: nop + IL_007c: ldarg.2 + IL_007d: ldarg.0 + IL_007e: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_0083: ldarg.0 + IL_0084: ldarg.0 + IL_0085: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_008a: ldarg.0 + IL_008b: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0090: newobj instance void class NAnt.VSNet.ManagedWrapperReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ProjectSettings) + IL_0095: stloc.0 + IL_0096: br IL_00b5 + + IL_009b: nop + IL_009c: ldarg.2 + IL_009d: ldarg.0 + IL_009e: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_00a3: ldarg.0 + IL_00a4: ldarg.0 + IL_00a5: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_00aa: newobj instance void class NAnt.VSNet.ManagedAssemblyReference::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_00af: stloc.0 + IL_00b0: br IL_00b5 - // method line 552 - .method family virtual hidebysig newslot abstract specialname - instance default string get_TypeLibLocale () cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::get_TypeLibLocale + IL_00b5: ldloc.0 + IL_00b6: ret + } // end of method ManagedProjectBase::CreateReference - // method line 553 - .method family virtual hidebysig newslot specialname - instance default string get_TypeLibraryName () cil managed + // method line 602 + .method public virtual hidebysig + instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project, bool isPrivateSpecified, bool isPrivate) cil managed { - // Method begins at RVA 0xb348 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xace8 + // Code size 18 (0x12) + .maxstack 4 .locals init ( - string V_0) + class NAnt.VSNet.ProjectReferenceBase V_0) IL_0000: nop - IL_0001: ldarg.0 + IL_0001: ldarg.1 IL_0002: ldarg.0 - IL_0003: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() - IL_0008: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibraryName(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method WrapperReferenceBase::get_TypeLibraryName - - // method line 554 - .method family virtual hidebysig newslot abstract - instance default void ImportTypeLibrary () cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::ImportTypeLibrary + IL_0003: ldarg.2 + IL_0004: ldarg.3 + IL_0005: newobj instance void class NAnt.VSNet.ManagedProjectReference::'.ctor'(class NAnt.VSNet.ProjectBase, class NAnt.VSNet.ProjectBase, bool, bool) + IL_000a: stloc.0 + IL_000b: br IL_0010 - // method line 555 - .method family virtual hidebysig newslot abstract - instance default void ImportActiveXLibrary () cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::ImportActiveXLibrary + IL_0010: ldloc.0 + IL_0011: ret + } // end of method ManagedProjectBase::CreateProjectReference - // method line 556 - .method family hidebysig - instance default string ResolveWrapperAssembly () cil managed + // method line 603 + .method family virtual hidebysig newslot + instance default void WriteCompilerOptions (class [mscorlib]System.IO.StreamWriter sw, class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xb36c - // Code size 201 (0xc9) + // Method begins at RVA 0xad08 + // Code size 383 (0x17f) .maxstack 4 .locals init ( - string V_0, + class NAnt.VSNet.ConfigurationSettings V_0, string V_1, - string V_2) + string[] V_2, + int32 V_3, + string V_4, + string[] V_5, + int32 V_6, + string V_7, + class [System]System.Collections.Specialized.StringEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + string V_10, + class [mscorlib]System.Collections.IEnumerator V_11, + class [mscorlib]System.IDisposable V_12) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() - IL_0009: stloc.1 - IL_000a: ldloc.1 - IL_000b: brfalse IL_0090 + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.2 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: castclass NAnt.VSNet.ConfigurationSettings + IL_0012: stloc.0 + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_001a: callvirt instance string[] class NAnt.VSNet.ProjectSettings::get_Settings() + IL_001f: stloc.2 + IL_0020: ldc.i4.0 + IL_0021: stloc.3 + IL_0022: br IL_0038 - IL_0010: ldloc.1 - IL_0011: ldstr "primary" - IL_0016: call bool string::op_Equality(string, string) - IL_001b: brtrue IL_0035 + IL_0027: ldloc.2 + IL_0028: ldloc.3 + IL_0029: ldelem.ref + IL_002a: stloc.1 + IL_002b: nop + IL_002c: ldarg.1 + IL_002d: ldloc.1 + IL_002e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0033: nop + IL_0034: ldloc.3 + IL_0035: ldc.i4.1 + IL_0036: add + IL_0037: stloc.3 + IL_0038: ldloc.3 + IL_0039: ldloc.2 + IL_003a: ldlen + IL_003b: conv.i4 + IL_003c: blt IL_0027 - IL_0020: ldloc.1 - IL_0021: ldstr "aximp" - IL_0026: call bool string::op_Equality(string, string) - IL_002b: brtrue IL_0075 + IL_0041: nop + IL_0042: ldloc.0 + IL_0043: callvirt instance string[] class NAnt.VSNet.ConfigurationSettings::get_Settings() + IL_0048: stloc.s 5 + IL_004a: ldc.i4.0 + IL_004b: stloc.s 6 + IL_004d: br IL_0069 - IL_0030: br IL_0090 + IL_0052: ldloc.s 5 + IL_0054: ldloc.s 6 + IL_0056: ldelem.ref + IL_0057: stloc.s 4 + IL_0059: nop + IL_005a: ldarg.1 + IL_005b: ldloc.s 4 + IL_005d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0062: nop + IL_0063: ldloc.s 6 + IL_0065: ldc.i4.1 + IL_0066: add + IL_0067: stloc.s 6 + IL_0069: ldloc.s 6 + IL_006b: ldloc.s 5 + IL_006d: ldlen + IL_006e: conv.i4 + IL_006f: blt IL_0052 - IL_0035: ldarg.0 - IL_0036: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() - IL_003b: stloc.0 - IL_003c: ldloc.0 - IL_003d: brtrue IL_006e + IL_0074: nop + IL_0075: ldarg.0 + IL_0076: ldarg.2 + IL_0077: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ProjectBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_007c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0081: stloc.s 8 + .try { // 0 + IL_0083: br IL_00a0 - IL_0042: nop - IL_0043: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0048: ldstr "Couldn't find Primary Interop Assembly \"{0}\", referenced by project \"{1}\"." - IL_004d: ldarg.0 - IL_004e: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0053: ldarg.0 - IL_0054: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0059: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_005e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0063: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0068: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_006d: throw - IL_006e: ldloc.0 - IL_006f: stloc.2 - IL_0070: br IL_00c7 + IL_0088: ldloc.s 8 + IL_008a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_008f: stloc.s 7 + IL_0091: nop + IL_0092: ldarg.1 + IL_0093: ldstr "/r:\"{0}\"" + IL_0098: ldloc.s 7 + IL_009a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_009f: nop + IL_00a0: ldloc.s 8 + IL_00a2: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00a7: brtrue IL_0088 - IL_0075: ldstr "AxInterop." - IL_007a: ldarg.0 - IL_007b: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() - IL_0080: ldstr ".dll" - IL_0085: call string string::Concat(string, string, string) - IL_008a: stloc.0 - IL_008b: br IL_00ab + IL_00ac: leave IL_00c8 - IL_0090: ldstr "Interop." - IL_0095: ldarg.0 - IL_0096: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() - IL_009b: ldstr ".dll" - IL_00a0: call string string::Concat(string, string, string) - IL_00a5: stloc.0 - IL_00a6: br IL_00ab + } // end .try 0 + finally { // 0 + IL_00b1: ldloc.s 8 + IL_00b3: isinst [mscorlib]System.IDisposable + IL_00b8: dup + IL_00b9: stloc.s 9 + IL_00bb: brfalse IL_00c7 - IL_00ab: ldarg.0 - IL_00ac: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_00b1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() - IL_00b6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00bb: ldloc.0 - IL_00bc: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00c1: stloc.2 - IL_00c2: br IL_00c7 + IL_00c0: ldloc.s 9 + IL_00c2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c7: endfinally + } // end handler 0 + IL_00c8: ldarg.0 + IL_00c9: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_00ce: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ProjectSettings::get_ApplicationIcon() + IL_00d3: brfalse IL_00f5 - IL_00c7: ldloc.2 - IL_00c8: ret - } // end of method WrapperReferenceBase::ResolveWrapperAssembly + IL_00d8: nop + IL_00d9: ldarg.1 + IL_00da: ldstr "/win32icon:\"{0}\"" + IL_00df: ldarg.0 + IL_00e0: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_00e5: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.ProjectSettings::get_ApplicationIcon() + IL_00ea: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00ef: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_00f4: nop + IL_00f5: ldarg.0 + IL_00f6: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources + IL_00fb: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_0100: ldc.i4.0 + IL_0101: ble IL_0110 - // method line 557 - .method family hidebysig - instance default string GetPrimaryInteropAssembly () cil managed - { - // Method begins at RVA 0xb444 - // Code size 206 (0xce) - .maxstack 4 - .locals init ( - string V_0, - string V_1, - class [mscorlib]Microsoft.Win32.RegistryKey V_2, - string V_3, - class [mscorlib]System.Exception V_4, - string V_5) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldstr "TYPELIB\\{0}\\{1}" - IL_000b: ldarg.0 - IL_000c: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_0011: ldarg.0 - IL_0012: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_0017: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_001c: stloc.0 - IL_001d: ldnull - IL_001e: stloc.1 - IL_001f: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::ClassesRoot - IL_0024: ldloc.0 - IL_0025: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_002a: stloc.2 + IL_0106: nop + IL_0107: ldarg.0 + IL_0108: ldarg.1 + IL_0109: ldarg.2 + IL_010a: call instance void class NAnt.VSNet.ManagedProjectBase::WriteNeutralResourceOptions(class [mscorlib]System.IO.StreamWriter, class NAnt.VSNet.Configuration) + IL_010f: nop + IL_0110: ldarg.0 + IL_0111: ldarg.1 + IL_0112: callvirt instance void class NAnt.VSNet.ManagedProjectBase::WriteProjectOptions(class [mscorlib]System.IO.StreamWriter) + IL_0117: nop + IL_0118: ldarg.0 + IL_0119: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_011e: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_0123: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0128: stloc.s 11 .try { // 1 - IL_002b: nop - IL_002c: ldloc.2 - IL_002d: brfalse IL_00b0 - - IL_0032: ldloc.2 - IL_0033: ldstr "PrimaryInteropAssemblyName" - IL_0038: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_003d: brfalse IL_00b0 - - IL_0042: nop - IL_0043: ldloc.2 - IL_0044: ldstr "PrimaryInteropAssemblyName" - IL_0049: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_004e: castclass [mscorlib]System.String - IL_0053: stloc.3 - .try { // 0 - IL_0054: nop - IL_0055: ldarg.0 - IL_0056: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ReferenceBase::get_ReferencesResolver() - IL_005b: ldloc.3 - IL_005c: callvirt instance string class NAnt.VSNet.ReferencesResolver::GetAssemblyFileName(string) - IL_0061: stloc.1 - IL_0062: nop - IL_0063: leave IL_00af - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0068: stloc.s 4 - IL_006a: nop - IL_006b: ldarg.0 - IL_006c: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() - IL_0071: ldstr "primary" - IL_0076: call bool string::op_Equality(string, string) - IL_007b: brfalse IL_00a9 + IL_012a: br IL_0156 - IL_0080: nop - IL_0081: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0086: ldstr "Primary Interop Assembly \"{0}\", referenced by project \"{1}\", could not be loaded." - IL_008b: ldloc.3 - IL_008c: ldarg.0 - IL_008d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0092: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0097: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_009c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00a1: ldloc.s 4 - IL_00a3: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00a8: throw - IL_00a9: nop - IL_00aa: leave IL_00af + IL_012f: ldloc.s 11 + IL_0131: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0136: castclass [mscorlib]System.String + IL_013b: stloc.s 10 + IL_013d: nop + IL_013e: ldarg.1 + IL_013f: ldstr "\"" + IL_0144: ldloc.s 10 + IL_0146: ldstr "\"" + IL_014b: call string string::Concat(string, string, string) + IL_0150: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0155: nop + IL_0156: ldloc.s 11 + IL_0158: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_015d: brtrue IL_012f - } // end handler 0 - IL_00af: nop - IL_00b0: nop - IL_00b1: leave IL_00c3 + IL_0162: leave IL_017e } // end .try 1 finally { // 1 - IL_00b6: ldloc.2 - IL_00b7: brfalse IL_00c2 + IL_0167: ldloc.s 11 + IL_0169: isinst [mscorlib]System.IDisposable + IL_016e: dup + IL_016f: stloc.s 12 + IL_0171: brfalse IL_017d - IL_00bc: ldloc.2 - IL_00bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00c2: endfinally + IL_0176: ldloc.s 12 + IL_0178: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_017d: endfinally } // end handler 1 - IL_00c3: ldloc.1 - IL_00c4: stloc.s 5 - IL_00c6: br IL_00cb - - IL_00cb: ldloc.s 5 - IL_00cd: ret - } // end of method WrapperReferenceBase::GetPrimaryInteropAssembly - - // method line 558 - .method family hidebysig - instance default string GetTypeLibrary () cil managed - { - // Method begins at RVA 0xb53c - // Code size 145 (0x91) - .maxstack 5 - .locals init ( - string V_0, - class [mscorlib]Microsoft.Win32.RegistryKey V_1, - string V_2, - string V_3, - string V_4) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldstr "TYPELIB\\{0}\\{1}\\{2}\\win32" - IL_000b: ldarg.0 - IL_000c: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_0011: ldarg.0 - IL_0012: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_0017: ldarg.0 - IL_0018: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibLocale() - IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0022: stloc.0 - IL_0023: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::ClassesRoot - IL_0028: ldloc.0 - IL_0029: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_002e: stloc.1 - .try { // 0 - IL_002f: nop - IL_0030: ldloc.1 - IL_0031: brtrue IL_003e - - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.WrapperReferenceBase::CreateTypeLibraryNotRegisteredException() - IL_003d: throw - IL_003e: ldloc.1 - IL_003f: ldnull - IL_0040: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_0045: castclass [mscorlib]System.String - IL_004a: stloc.2 - IL_004b: ldloc.2 - IL_004c: call bool string::IsNullOrEmpty(string) - IL_0051: brfalse IL_005e - - IL_0056: nop - IL_0057: ldarg.0 - IL_0058: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.WrapperReferenceBase::CreateInvalidTypeLibraryRegistrationException() - IL_005d: throw - IL_005e: ldloc.2 - IL_005f: call string class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::ExtractTypeLibPath(string) - IL_0064: stloc.3 - IL_0065: ldloc.3 - IL_0066: call bool class [mscorlib]System.IO.File::Exists(string) - IL_006b: brtrue IL_0079 - - IL_0070: nop - IL_0071: ldarg.0 - IL_0072: ldloc.3 - IL_0073: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.WrapperReferenceBase::CreateTypeLibraryPathDoesNotExistException(string) - IL_0078: throw - IL_0079: ldloc.2 - IL_007a: stloc.s 4 - IL_007c: leave IL_008e - - } // end .try 0 - finally { // 0 - IL_0081: ldloc.1 - IL_0082: brfalse IL_008d - - IL_0087: ldloc.1 - IL_0088: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_008d: endfinally - } // end handler 0 - IL_008e: ldloc.s 4 - IL_0090: ret - } // end of method WrapperReferenceBase::GetTypeLibrary + IL_017e: ret + } // end of method ManagedProjectBase::WriteCompilerOptions - // method line 559 - .method family hidebysig - instance default string GetTypeLibraryName (string typeLibraryPath) cil managed + // method line 604 + .method family virtual hidebysig newslot + instance default void WriteProjectOptions (class [mscorlib]System.IO.StreamWriter sw) cil managed { - // Method begins at RVA 0xb5ec - // Code size 100 (0x64) - .maxstack 3 - .locals init ( - object V_0, - class [mscorlib]System.Runtime.InteropServices.COMException V_1, - string V_2) + // Method begins at RVA 0xaeb0 + // Code size 2 (0x2) + .maxstack 8 IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: ldc.i4.0 - IL_0004: ldloca.s 0 - IL_0006: call void class NAnt.VSNet.WrapperReferenceBase::LoadTypeLibEx(string, int32, [out] object&) - IL_000b: nop - IL_000c: leave IL_002f - - } // end .try 0 - catch class [mscorlib]System.Runtime.InteropServices.COMException { // 0 - IL_0011: stloc.1 - IL_0012: nop - IL_0013: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0018: ldstr "Type library \"{0}\" could not be loaded." - IL_001d: ldarg.1 - IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0023: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0028: ldloc.1 - IL_0029: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_002e: throw - } // end handler 0 - IL_002f: ldloc.0 - IL_0030: brtrue IL_0051 - - IL_0035: nop - IL_0036: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003b: ldstr "Type library \"{0}\" could not be loaded." - IL_0040: ldarg.1 - IL_0041: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0046: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_004b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0050: throw - IL_0051: ldloc.0 - IL_0052: castclass [mscorlib]System.Runtime.InteropServices.ComTypes.ITypeLib - IL_0057: call string class [mscorlib]System.Runtime.InteropServices.Marshal::GetTypeLibName(class [mscorlib]System.Runtime.InteropServices.ComTypes.ITypeLib) - IL_005c: stloc.2 - IL_005d: br IL_0062 + IL_0001: ret + } // end of method ManagedProjectBase::WriteProjectOptions - IL_0062: ldloc.2 - IL_0063: ret - } // end of method WrapperReferenceBase::GetTypeLibraryName + // method line 605 + .method family virtual hidebysig newslot abstract + instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0x0 + } // end of method ManagedProjectBase::DetermineProjectLocation - // method line 560 + // method line 606 .method private hidebysig - instance default string CreateWrapper (class NAnt.VSNet.ConfigurationBase config) cil managed + instance default string GetTypeLibraryPath (class NAnt.VSNet.ConfigurationSettings config) cil managed { - // Method begins at RVA 0xb66c - // Code size 253 (0xfd) - .maxstack 7 + // Method begins at RVA 0xaeb4 + // Code size 43 (0x2b) + .maxstack 2 .locals init ( - string V_0, - string V_1) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.VSNet.WrapperReferenceBase::get_IsCreated() - IL_0007: brfalse IL_0019 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0013: stloc.0 - IL_0014: br IL_00fb + IL_0007: nop + IL_0008: ldstr "config" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_0019: ldstr ".tlb" + IL_001e: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_0023: stloc.0 + IL_0024: br IL_0029 - IL_0019: ldarg.0 - IL_001a: ldarg.1 - IL_001b: call instance void class NAnt.VSNet.WrapperReferenceBase::Sync(class NAnt.VSNet.ConfigurationBase) - IL_0020: ldarg.0 - IL_0021: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() - IL_0026: stloc.1 - IL_0027: ldloc.1 - IL_0028: brfalse IL_00b7 + IL_0029: ldloc.0 + IL_002a: ret + } // end of method ManagedProjectBase::GetTypeLibraryPath - IL_002d: ldloc.1 - IL_002e: ldstr "primary" - IL_0033: call bool string::op_Equality(string, string) - IL_0038: brtrue IL_0062 + // method line 607 + .method private hidebysig + instance default void RegisterForComInterop (class NAnt.VSNet.ConfigurationSettings config, class NAnt.VSNet.Configuration solutionConfiguration, string typelibPath) cil managed + { + // Method begins at RVA 0xaeec + // Code size 254 (0xfe) + .maxstack 3 + .locals init ( + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_0, + class NAnt.VSNet.ReferenceBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [System]System.Collections.Specialized.StringCollection V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class [mscorlib]System.IDisposable V_7) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Registering project output for COM Interop..." + IL_000c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0011: ldarg.0 + IL_0012: call instance class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask class NAnt.VSNet.ManagedProjectBase::CreateRegAsmTask() + IL_0017: stloc.0 + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_001f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0024: stloc.2 + .try { // 1 + IL_0025: br IL_0094 - IL_003d: ldloc.1 - IL_003e: ldstr "tlbimp" - IL_0043: call bool string::op_Equality(string, string) - IL_0048: brtrue IL_0067 + IL_002a: ldloc.2 + IL_002b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0030: castclass NAnt.VSNet.ReferenceBase + IL_0035: stloc.1 + IL_0036: nop + IL_0037: ldloc.1 + IL_0038: ldarg.2 + IL_0039: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_003e: stloc.3 + IL_003f: nop + IL_0040: ldloc.3 + IL_0041: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0046: stloc.s 5 + .try { // 0 + IL_0048: br IL_006b - IL_004d: ldloc.1 - IL_004e: ldstr "aximp" - IL_0053: call bool string::op_Equality(string, string) - IL_0058: brtrue IL_00ac + IL_004d: ldloc.s 5 + IL_004f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0054: stloc.s 4 + IL_0056: nop + IL_0057: ldloc.0 + IL_0058: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_005d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0062: ldloc.s 4 + IL_0064: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0069: pop + IL_006a: nop + IL_006b: ldloc.s 5 + IL_006d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0072: brtrue IL_004d - IL_005d: br IL_00b7 + IL_0077: leave IL_0093 - IL_0062: br IL_00e8 + } // end .try 0 + finally { // 0 + IL_007c: ldloc.s 5 + IL_007e: isinst [mscorlib]System.IDisposable + IL_0083: dup + IL_0084: stloc.s 6 + IL_0086: brfalse IL_0092 - IL_0067: ldarg.0 - IL_0068: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() - IL_006d: brfalse IL_00a1 + IL_008b: ldloc.s 6 + IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0092: endfinally + } // end handler 0 + IL_0093: nop + IL_0094: ldloc.2 + IL_0095: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_009a: brtrue IL_002a - IL_0072: nop - IL_0073: ldarg.0 - IL_0074: ldc.i4 4000 - IL_0079: ldstr "The component \"{0}\", referenced by project \"{1}\" has an updated custom wrapper available." - IL_007e: ldc.i4.2 - IL_007f: newarr [mscorlib]System.Object - IL_0084: dup - IL_0085: ldc.i4.0 - IL_0086: ldarg.0 - IL_0087: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_008c: stelem.ref - IL_008d: dup - IL_008e: ldc.i4.1 - IL_008f: ldarg.0 - IL_0090: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0095: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_009a: stelem.ref - IL_009b: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a0: nop - IL_00a1: ldarg.0 - IL_00a2: callvirt instance void class NAnt.VSNet.WrapperReferenceBase::ImportTypeLibrary() - IL_00a7: br IL_00e8 + IL_009f: leave IL_00ba - IL_00ac: ldarg.0 - IL_00ad: callvirt instance void class NAnt.VSNet.WrapperReferenceBase::ImportActiveXLibrary() - IL_00b2: br IL_00e8 + } // end .try 1 + finally { // 1 + IL_00a4: ldloc.2 + IL_00a5: isinst [mscorlib]System.IDisposable + IL_00aa: dup + IL_00ab: stloc.s 7 + IL_00ad: brfalse IL_00b9 - IL_00b7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00bc: ldstr "Wrapper tool \"{0}\" for reference \"{1}\" in project \"{2}\" is not supported." - IL_00c1: ldarg.0 - IL_00c2: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() - IL_00c7: ldarg.0 - IL_00c8: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_00cd: ldarg.0 - IL_00ce: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_00d3: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_00d8: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_00dd: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00e2: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00e7: throw - IL_00e8: ldarg.0 - IL_00e9: ldc.i4.1 - IL_00ea: stfld bool NAnt.VSNet.WrapperReferenceBase::_isCreated - IL_00ef: ldarg.0 - IL_00f0: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_00f5: stloc.0 - IL_00f6: br IL_00fb + IL_00b2: ldloc.s 7 + IL_00b4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b9: endfinally + } // end handler 1 + IL_00ba: ldloc.0 + IL_00bb: ldarg.1 + IL_00bc: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_00c1: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00c6: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_AssemblyFile(class [mscorlib]System.IO.FileInfo) + IL_00cb: ldloc.0 + IL_00cc: ldarg.3 + IL_00cd: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00d2: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) + IL_00d7: ldloc.0 + IL_00d8: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00dd: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 2 + IL_00e2: nop + IL_00e3: ldloc.0 + IL_00e4: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_00e9: nop + IL_00ea: leave IL_00fd - IL_00fb: ldloc.0 - IL_00fc: ret - } // end of method WrapperReferenceBase::CreateWrapper + } // end .try 2 + finally { // 2 + IL_00ef: nop + IL_00f0: ldloc.0 + IL_00f1: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00f6: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_00fb: nop + IL_00fc: endfinally + } // end handler 2 + IL_00fd: ret + } // end of method ManagedProjectBase::RegisterForComInterop - // method line 561 + // method line 608 .method private hidebysig - instance default void Sync (class NAnt.VSNet.ConfigurationBase config) cil managed + instance default void UnregisterForComInterop (class NAnt.VSNet.ConfigurationSettings config, class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0xb778 - // Code size 164 (0xa4) - .maxstack 2 + // Method begins at RVA 0xb020 + // Code size 318 (0x13e) + .maxstack 3 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1, - class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_2) + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_0, + class NAnt.VSNet.ReferenceBase V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [System]System.Collections.Specialized.StringCollection V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class [mscorlib]System.IDisposable V_7, + string V_8) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_CopyLocal() + IL_0001: ldarg.1 + IL_0002: callvirt instance bool class NAnt.VSNet.ConfigurationSettings::get_RegisterForComInterop() IL_0007: brfalse IL_001c - IL_000c: ldarg.0 - IL_000d: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() + IL_000c: ldarg.1 + IL_000d: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() IL_0012: call bool class [mscorlib]System.IO.File::Exists(string) IL_0017: brtrue IL_0022 IL_001c: nop - IL_001d: br IL_00a3 + IL_001d: br IL_013d - IL_0022: ldarg.1 - IL_0023: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_0028: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002d: ldarg.0 - IL_002e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0033: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0038: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_003d: stloc.0 - IL_003e: ldarg.0 - IL_003f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0044: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_0049: stloc.1 - IL_004a: ldloc.0 - IL_004b: ldloc.1 - IL_004c: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0051: brfalse IL_00a3 + IL_0022: ldarg.0 + IL_0023: ldc.i4 2000 + IL_0028: ldstr "Unregistering project output for COM Interop..." + IL_002d: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0032: ldarg.0 + IL_0033: call instance class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask class NAnt.VSNet.ManagedProjectBase::CreateRegAsmTask() + IL_0038: stloc.0 + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_0040: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0045: stloc.2 + .try { // 1 + IL_0046: br IL_00b5 - IL_0056: nop - IL_0057: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() - IL_005c: stloc.2 - IL_005d: ldloc.2 - IL_005e: ldarg.0 - IL_005f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0064: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0069: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_006e: ldloc.2 - IL_006f: ldarg.0 - IL_0070: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_007a: ldloc.2 - IL_007b: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0080: ldloc.2 - IL_0081: ldarg.0 - IL_0082: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0087: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_008c: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_File(class [mscorlib]System.IO.FileInfo) - IL_0091: ldloc.2 - IL_0092: ldc.i4 9999 - IL_0097: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_009c: ldloc.2 - IL_009d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_00a2: nop - IL_00a3: ret - } // end of method WrapperReferenceBase::Sync + IL_004b: ldloc.2 + IL_004c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0051: castclass NAnt.VSNet.ReferenceBase + IL_0056: stloc.1 + IL_0057: nop + IL_0058: ldloc.1 + IL_0059: ldarg.2 + IL_005a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_005f: stloc.3 + IL_0060: nop + IL_0061: ldloc.3 + IL_0062: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0067: stloc.s 5 + .try { // 0 + IL_0069: br IL_008c - // method line 562 - .method private hidebysig - instance default class [NAnt.Core]NAnt.Core.BuildException CreateTypeLibraryNotRegisteredException () cil managed - { - // Method begins at RVA 0xb828 - // Code size 149 (0x95) - .maxstack 6 - .locals init ( - string V_0, - class [NAnt.Core]NAnt.Core.BuildException V_1) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0009: call bool string::IsNullOrEmpty(string) - IL_000e: brfalse IL_0041 + IL_006e: ldloc.s 5 + IL_0070: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0075: stloc.s 4 + IL_0077: nop + IL_0078: ldloc.0 + IL_0079: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_007e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0083: ldloc.s 4 + IL_0085: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_008a: pop + IL_008b: nop + IL_008c: ldloc.s 5 + IL_008e: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0093: brtrue IL_006e - IL_0013: nop - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: ldstr "Couldn't find type library \"{0}\" with version {1}, referenced by project \"{2}\"." - IL_001e: ldarg.0 - IL_001f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_0024: ldarg.0 - IL_0025: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_002a: ldarg.0 - IL_002b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0030: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_003a: stloc.0 - IL_003b: nop - IL_003c: br IL_0082 + IL_0098: leave IL_00b4 - IL_0041: nop - IL_0042: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0047: ldstr "Couldn't find type library \"{0}\" ({1} with version {2}), referenced by project \"{3}\"." - IL_004c: ldc.i4.4 - IL_004d: newarr [mscorlib]System.Object - IL_0052: dup - IL_0053: ldc.i4.0 - IL_0054: ldarg.0 - IL_0055: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_005a: stelem.ref - IL_005b: dup - IL_005c: ldc.i4.1 - IL_005d: ldarg.0 - IL_005e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_0063: stelem.ref - IL_0064: dup - IL_0065: ldc.i4.2 - IL_0066: ldarg.0 - IL_0067: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_006c: stelem.ref - IL_006d: dup - IL_006e: ldc.i4.3 - IL_006f: ldarg.0 - IL_0070: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0075: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_007a: stelem.ref - IL_007b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0080: stloc.0 - IL_0081: nop - IL_0082: ldloc.0 - IL_0083: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0088: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_008d: stloc.1 - IL_008e: br IL_0093 + } // end .try 0 + finally { // 0 + IL_009d: ldloc.s 5 + IL_009f: isinst [mscorlib]System.IDisposable + IL_00a4: dup + IL_00a5: stloc.s 6 + IL_00a7: brfalse IL_00b3 - IL_0093: ldloc.1 - IL_0094: ret - } // end of method WrapperReferenceBase::CreateTypeLibraryNotRegisteredException + IL_00ac: ldloc.s 6 + IL_00ae: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b3: endfinally + } // end handler 0 + IL_00b4: nop + IL_00b5: ldloc.2 + IL_00b6: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00bb: brtrue IL_004b - // method line 563 - .method private hidebysig - instance default class [NAnt.Core]NAnt.Core.BuildException CreateInvalidTypeLibraryRegistrationException () cil managed - { - // Method begins at RVA 0xb8cc - // Code size 149 (0x95) - .maxstack 6 - .locals init ( - string V_0, - class [NAnt.Core]NAnt.Core.BuildException V_1) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0009: call bool string::IsNullOrEmpty(string) - IL_000e: brfalse IL_0041 + IL_00c0: leave IL_00db - IL_0013: nop - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: ldstr "Couldn't find path of type library \"{0}\" with version {1}, referenced by project \"{2}\". Ensure the type library is registeredcorrectly." - IL_001e: ldarg.0 - IL_001f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_0024: ldarg.0 - IL_0025: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_002a: ldarg.0 - IL_002b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0030: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0035: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_003a: stloc.0 - IL_003b: nop - IL_003c: br IL_0082 + } // end .try 1 + finally { // 1 + IL_00c5: ldloc.2 + IL_00c6: isinst [mscorlib]System.IDisposable + IL_00cb: dup + IL_00cc: stloc.s 7 + IL_00ce: brfalse IL_00da - IL_0041: nop - IL_0042: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0047: ldstr "Couldn't find path of type library \"{0}\" ({1} with version {2}), referenced by project \"{3}\". Ensure the type library is registered correctly." - IL_004c: ldc.i4.4 - IL_004d: newarr [mscorlib]System.Object - IL_0052: dup - IL_0053: ldc.i4.0 - IL_0054: ldarg.0 - IL_0055: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_005a: stelem.ref - IL_005b: dup - IL_005c: ldc.i4.1 - IL_005d: ldarg.0 - IL_005e: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_0063: stelem.ref - IL_0064: dup - IL_0065: ldc.i4.2 - IL_0066: ldarg.0 - IL_0067: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_006c: stelem.ref - IL_006d: dup - IL_006e: ldc.i4.3 - IL_006f: ldarg.0 - IL_0070: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0075: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_007a: stelem.ref - IL_007b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0080: stloc.0 - IL_0081: nop - IL_0082: ldloc.0 - IL_0083: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0088: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_008d: stloc.1 - IL_008e: br IL_0093 + IL_00d3: ldloc.s 7 + IL_00d5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00da: endfinally + } // end handler 1 + IL_00db: ldloc.0 + IL_00dc: ldc.i4.1 + IL_00dd: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_Unregister(bool) + IL_00e2: ldloc.0 + IL_00e3: ldarg.1 + IL_00e4: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_00e9: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00ee: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_AssemblyFile(class [mscorlib]System.IO.FileInfo) + IL_00f3: ldarg.0 + IL_00f4: ldarg.1 + IL_00f5: call instance string class NAnt.VSNet.ManagedProjectBase::GetTypeLibraryPath(class NAnt.VSNet.ConfigurationSettings) + IL_00fa: stloc.s 8 + IL_00fc: ldloc.s 8 + IL_00fe: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0103: brfalse IL_0117 - IL_0093: ldloc.1 - IL_0094: ret - } // end of method WrapperReferenceBase::CreateInvalidTypeLibraryRegistrationException + IL_0108: nop + IL_0109: ldloc.0 + IL_010a: ldloc.s 8 + IL_010c: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0111: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) + IL_0116: nop + IL_0117: ldloc.0 + IL_0118: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_011d: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 2 + IL_0122: nop + IL_0123: ldloc.0 + IL_0124: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0129: nop + IL_012a: leave IL_013d - // method line 564 + } // end .try 2 + finally { // 2 + IL_012f: nop + IL_0130: ldloc.0 + IL_0131: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0136: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_013b: nop + IL_013c: endfinally + } // end handler 2 + IL_013d: ret + } // end of method ManagedProjectBase::UnregisterForComInterop + + // method line 609 .method private hidebysig - instance default class [NAnt.Core]NAnt.Core.BuildException CreateTypeLibraryPathDoesNotExistException (string typeLibraryPath) cil managed + instance default void RegisterEmbeddedResource (string resourceFile, class [System.Xml]System.Xml.XmlElement elemFile) cil managed { - // Method begins at RVA 0xb970 - // Code size 172 (0xac) - .maxstack 6 + // Method begins at RVA 0xb194 + // Code size 243 (0xf3) + .maxstack 7 .locals init ( - string V_0, - class [NAnt.Core]NAnt.Core.BuildException V_1) + class [mscorlib]System.IO.FileInfo V_0, + string V_1, + class NAnt.VSNet.Resource V_2) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0009: call bool string::IsNullOrEmpty(string) - IL_000e: brfalse IL_0054 - - IL_0013: nop - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: ldstr "Type library \"{0}\" with version {1}, referenced by project \"{2}\", no longer exists at registered path \"{3}\"." - IL_001e: ldc.i4.4 - IL_001f: newarr [mscorlib]System.Object - IL_0024: dup - IL_0025: ldc.i4.0 - IL_0026: ldarg.0 - IL_0027: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_002c: stelem.ref - IL_002d: dup - IL_002e: ldc.i4.1 - IL_002f: ldarg.0 - IL_0030: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_0035: stelem.ref - IL_0036: dup - IL_0037: ldc.i4.2 - IL_0038: ldarg.0 - IL_0039: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_003e: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0043: stelem.ref - IL_0044: dup - IL_0045: ldc.i4.3 - IL_0046: ldarg.1 - IL_0047: stelem.ref - IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_004d: stloc.0 - IL_004e: nop - IL_004f: br IL_0099 + IL_0001: ldarg.1 + IL_0002: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000e: brfalse IL_005c - IL_0054: nop - IL_0055: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_005a: ldstr "Type library \"{0}\" ({1} with version {2}), referenced by project \"{3}\", no longer exists at registered path \"{4}\"." - IL_005f: ldc.i4.5 - IL_0060: newarr [mscorlib]System.Object - IL_0065: dup - IL_0066: ldc.i4.0 - IL_0067: ldarg.0 - IL_0068: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_006d: stelem.ref - IL_006e: dup - IL_006f: ldc.i4.1 - IL_0070: ldarg.0 - IL_0071: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid() - IL_0076: stelem.ref - IL_0077: dup - IL_0078: ldc.i4.2 - IL_0079: ldarg.0 - IL_007a: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion() - IL_007f: stelem.ref - IL_0080: dup - IL_0081: ldc.i4.3 - IL_0082: ldarg.0 - IL_0083: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0088: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_008d: stelem.ref - IL_008e: dup - IL_008f: ldc.i4.4 - IL_0090: ldarg.1 - IL_0091: stelem.ref - IL_0092: call string string::Format(class [mscorlib]System.IFormatProvider, string, object[]) - IL_0097: stloc.0 - IL_0098: nop - IL_0099: ldloc.0 - IL_009a: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_009f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00a4: stloc.1 - IL_00a5: br IL_00aa + IL_0013: ldstr ".resx" + IL_0018: ldloc.0 + IL_0019: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_Extension() + IL_001e: ldc.i4.1 + IL_001f: call int32 string::Compare(string, string, bool) + IL_0024: brtrue IL_005c - IL_00aa: ldloc.1 - IL_00ab: ret - } // end of method WrapperReferenceBase::CreateTypeLibraryPathDoesNotExistException + IL_0029: ldloc.0 + IL_002a: callvirt instance int64 class [mscorlib]System.IO.FileInfo::get_Length() + IL_002f: ldc.i4.0 + IL_0030: conv.i8 + IL_0031: bne.un IL_005c - // method line 565 - .method private static hidebysig pinvokeimpl ("oleaut32.dll" as "LoadTypeLibEx" unicode winapi ) - default void LoadTypeLibEx (string strTypeLibName, int32 regKind, [out] object& marshal (interface) typeLib) cil managed - { - // Method begins at RVA 0x0 - } // end of method WrapperReferenceBase::LoadTypeLibEx + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldc.i4 2000 + IL_003d: ldstr "Skipping zero-byte embedded resource '{0}'." + IL_0042: ldc.i4.1 + IL_0043: newarr [mscorlib]System.Object + IL_0048: dup + IL_0049: ldc.i4.0 + IL_004a: ldloc.0 + IL_004b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0050: stelem.ref + IL_0051: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0056: nop + IL_0057: br IL_00f2 - .property instance bool CopyLocal () - { - .get instance default bool NAnt.VSNet.WrapperReferenceBase::get_CopyLocal () - } - .property instance bool IsSystem () - { - .get instance default bool NAnt.VSNet.WrapperReferenceBase::get_IsSystem () - } - .property instance string WrapperTool () - { - .get instance default string NAnt.VSNet.WrapperReferenceBase::get_WrapperTool () - } - .property instance string WrapperAssembly () - { - .get instance default string NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly () - } - .property instance bool IsCreated () - { - .get instance default bool NAnt.VSNet.WrapperReferenceBase::get_IsCreated () - } - .property instance string PrimaryInteropAssembly () - { - .get instance default string NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly () - } - .property instance string TypeLibVersion () - { - .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibVersion () - } - .property instance string TypeLibGuid () - { - .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibGuid () - } - .property instance string TypeLibLocale () - { - .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibLocale () - } - .property instance string TypeLibraryName () - { - .get instance default string NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName () - } - } // end of class NAnt.VSNet.WrapperReferenceBase -} + IL_005c: nop + IL_005d: ldarg.2 + IL_005e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0063: ldstr "DependentUpon" + IL_0068: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_006d: brfalse IL_0097 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit ManagedAssemblyReference - extends NAnt.VSNet.AssemblyReferenceBase - { - .field private initonly string _assemblyFile - .field private initonly bool _isPrivateSpecified - .field private initonly bool _isPrivate - .field private initonly string _name + IL_0072: ldloc.0 + IL_0073: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_0078: ldarg.2 + IL_0079: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_007e: ldstr "DependentUpon" + IL_0083: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0088: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_008d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0092: br IL_0098 - // method line 566 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed - { - // Method begins at RVA 0x13310 - // Code size 127 (0x7f) - .maxstack 5 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - class [System.Xml]System.Xml.XmlAttribute V_1) - IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.VSNet.ManagedAssemblyReference::_name - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldarg.2 - IL_000e: ldarg.3 - IL_000f: ldarg.s 4 - IL_0011: call instance void class NAnt.VSNet.AssemblyReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_0016: nop - IL_0017: ldarg.1 - IL_0018: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_001d: ldstr "Private" - IL_0022: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0027: stloc.0 - IL_0028: ldloc.0 - IL_0029: brfalse IL_0048 + IL_0097: ldnull + IL_0098: stloc.1 + IL_0099: ldarg.0 + IL_009a: ldloc.0 + IL_009b: ldarg.2 + IL_009c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_00a1: ldstr "RelPath" + IL_00a6: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_00ab: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00b0: ldloc.1 + IL_00b1: ldarg.0 + IL_00b2: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_00b7: ldarg.0 + IL_00b8: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.ProjectBase::get_GacCache() + IL_00bd: newobj instance void class NAnt.VSNet.Resource::'.ctor'(class NAnt.VSNet.ManagedProjectBase, class [mscorlib]System.IO.FileInfo, string, string, class NAnt.VSNet.Tasks.SolutionTask, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_00c2: stloc.2 + IL_00c3: ldloc.2 + IL_00c4: callvirt instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.Resource::get_Culture() + IL_00c9: brfalse IL_00e2 - IL_002e: nop - IL_002f: ldarg.0 - IL_0030: ldc.i4.1 - IL_0031: stfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivateSpecified - IL_0036: ldarg.0 - IL_0037: ldloc.0 - IL_0038: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_003d: call bool bool::Parse(string) - IL_0042: stfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivate - IL_0047: nop - IL_0048: ldarg.0 - IL_0049: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_004e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0053: ldstr "AssemblyName" - IL_0058: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_005d: stloc.1 - IL_005e: ldloc.1 - IL_005f: brfalse IL_0072 + IL_00ce: nop + IL_00cf: ldarg.0 + IL_00d0: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources + IL_00d5: ldloc.2 + IL_00d6: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00db: pop + IL_00dc: nop + IL_00dd: br IL_00f1 - IL_0064: nop - IL_0065: ldarg.0 - IL_0066: ldloc.1 - IL_0067: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_006c: stfld string NAnt.VSNet.ManagedAssemblyReference::_name - IL_0071: nop - IL_0072: ldarg.0 - IL_0073: ldarg.0 - IL_0074: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_0079: stfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile - IL_007e: ret - } // end of method ManagedAssemblyReference::.ctor + IL_00e2: nop + IL_00e3: ldarg.0 + IL_00e4: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources + IL_00e9: ldloc.2 + IL_00ea: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_00ef: pop + IL_00f0: nop + IL_00f1: nop + IL_00f2: ret + } // end of method ManagedProjectBase::RegisterEmbeddedResource - // method line 567 - .method family virtual hidebysig specialname - instance default bool get_IsPrivate () cil managed + // method line 610 + .method private hidebysig + instance default void CompileResXFiles (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x1339c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xb294 + // Code size 812 (0x32c) + .maxstack 7 .locals init ( - bool V_0) + class [mscorlib]System.Collections.Hashtable V_0, + class NAnt.VSNet.Resource V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.IO.FileInfo V_3, + class [mscorlib]System.IDisposable V_4, + class NAnt.VSNet.Resource V_5, + class [mscorlib]System.Collections.IEnumerator V_6, + class [mscorlib]System.IO.FileInfo V_7, + class [mscorlib]System.IDisposable V_8, + class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask V_9, + valuetype [mscorlib]System.Collections.DictionaryEntry V_10, + class [mscorlib]System.Collections.IDictionaryEnumerator V_11, + class NAnt.VSNet.Resource V_12, + class [mscorlib]System.IO.FileInfo V_13, + class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.QualifiedResource V_14, + class [mscorlib]System.IDisposable V_15, + class NAnt.VSNet.ReferenceBase V_16, + class [mscorlib]System.Collections.IEnumerator V_17, + class [System]System.Collections.Specialized.StringCollection V_18, + string V_19, + class [System]System.Collections.Specialized.StringEnumerator V_20, + class [mscorlib]System.IDisposable V_21, + class [mscorlib]System.IDisposable V_22) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivate - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Compiling resources:" + IL_000c: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0011: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0016: stloc.0 + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources + IL_001e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0023: stloc.2 + .try { // 0 + IL_0024: br IL_0077 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedAssemblyReference::get_IsPrivate + IL_0029: ldloc.2 + IL_002a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_002f: castclass NAnt.VSNet.Resource + IL_0034: stloc.1 + IL_0035: nop + IL_0036: ldloc.1 + IL_0037: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() + IL_003c: brtrue IL_0047 - // method line 568 - .method family virtual hidebysig specialname - instance default bool get_IsPrivateSpecified () cil managed - { - // Method begins at RVA 0x133b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.ManagedAssemblyReference::_isPrivateSpecified - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0041: nop + IL_0042: leave IL_0077 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedAssemblyReference::get_IsPrivateSpecified + IL_0047: ldarg.0 + IL_0048: ldc.i4 2000 + IL_004d: ldstr " - {0}" + IL_0052: ldc.i4.1 + IL_0053: newarr [mscorlib]System.Object + IL_0058: dup + IL_0059: ldc.i4.0 + IL_005a: ldloc.1 + IL_005b: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_0060: stelem.ref + IL_0061: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0066: ldloc.1 + IL_0067: ldarg.1 + IL_0068: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) + IL_006d: stloc.3 + IL_006e: ldloc.0 + IL_006f: ldloc.1 + IL_0070: ldloc.3 + IL_0071: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0076: nop + IL_0077: ldloc.2 + IL_0078: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_007d: brtrue IL_0029 - // method line 569 - .method family virtual hidebysig - instance default string ResolveAssemblyReference () cil managed - { - // Method begins at RVA 0x133d4 - // Code size 153 (0x99) - .maxstack 3 - .locals init ( - string V_0, - class [System.Xml]System.Xml.XmlElement V_1, - string V_2, - string V_3) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile - IL_0007: brfalse IL_002b + IL_0082: leave IL_009d + + } // end .try 0 + finally { // 0 + IL_0087: ldloc.2 + IL_0088: isinst [mscorlib]System.IDisposable + IL_008d: dup + IL_008e: stloc.s 4 + IL_0090: brfalse IL_009c + + IL_0095: ldloc.s 4 + IL_0097: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009c: endfinally + } // end handler 0 + IL_009d: nop + IL_009e: ldarg.0 + IL_009f: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources + IL_00a4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_00a9: stloc.s 6 + .try { // 1 + IL_00ab: br IL_0106 + + IL_00b0: ldloc.s 6 + IL_00b2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00b7: castclass NAnt.VSNet.Resource + IL_00bc: stloc.s 5 + IL_00be: nop + IL_00bf: ldloc.s 5 + IL_00c1: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() + IL_00c6: brtrue IL_00d1 + + IL_00cb: nop + IL_00cc: leave IL_0106 + + IL_00d1: ldarg.0 + IL_00d2: ldc.i4 2000 + IL_00d7: ldstr " - {0}" + IL_00dc: ldc.i4.1 + IL_00dd: newarr [mscorlib]System.Object + IL_00e2: dup + IL_00e3: ldc.i4.0 + IL_00e4: ldloc.s 5 + IL_00e6: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_00eb: stelem.ref + IL_00ec: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00f1: ldloc.s 5 + IL_00f3: ldarg.1 + IL_00f4: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) + IL_00f9: stloc.s 7 + IL_00fb: ldloc.0 + IL_00fc: ldloc.s 5 + IL_00fe: ldloc.s 7 + IL_0100: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0105: nop + IL_0106: ldloc.s 6 + IL_0108: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_010d: brtrue IL_00b0 + + IL_0112: leave IL_012e + + } // end .try 1 + finally { // 1 + IL_0117: ldloc.s 6 + IL_0119: isinst [mscorlib]System.IDisposable + IL_011e: dup + IL_011f: stloc.s 8 + IL_0121: brfalse IL_012d + + IL_0126: ldloc.s 8 + IL_0128: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_012d: endfinally + } // end handler 1 + IL_012e: ldloc.0 + IL_012f: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_0134: brtrue IL_013f - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile - IL_0013: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0018: brfalse IL_002a + IL_0139: nop + IL_013a: br IL_032b - IL_001d: nop - IL_001e: ldarg.0 - IL_001f: ldfld string NAnt.VSNet.ManagedAssemblyReference::_assemblyFile - IL_0024: stloc.0 - IL_0025: br IL_0097 + IL_013f: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::'.ctor'() + IL_0144: stloc.s 9 + IL_0146: ldloc.s 9 + IL_0148: ldarg.0 + IL_0149: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_014e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0153: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0158: ldloc.s 9 + IL_015a: ldarg.0 + IL_015b: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0160: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_0165: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_016a: ldloc.s 9 + IL_016c: ldarg.0 + IL_016d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0172: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0177: ldloc.s 9 + IL_0179: ldarg.0 + IL_017a: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_017f: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0184: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0189: ldloc.s 9 + IL_018b: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0190: ldloc.s 9 + IL_0192: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_0197: ldloc.s 9 + IL_0199: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_019e: ldloc.s 9 + IL_01a0: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_01a5: ldloc.s 9 + IL_01a7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_01ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_01b1: ldloc.s 9 + IL_01b3: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_01b8: ldloc.s 9 + IL_01ba: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_01bf: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_01c4: ldloc.s 9 + IL_01c6: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_01cb: ldarg.0 + IL_01cc: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_01d1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_01d6: nop + IL_01d7: ldloc.0 + IL_01d8: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_01dd: stloc.s 11 + .try { // 2 + IL_01df: br IL_022f - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0031: stloc.1 - IL_0032: ldarg.0 - IL_0033: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0038: ldstr ".dll" - IL_003d: call string string::Concat(string, string) - IL_0042: stloc.2 - IL_0043: ldarg.0 - IL_0044: ldloc.2 - IL_0045: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFramework(string) - IL_004a: stloc.3 - IL_004b: ldloc.3 - IL_004c: brfalse IL_0059 + IL_01e4: ldloc.s 11 + IL_01e6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01eb: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_01f0: stloc.s 10 + IL_01f2: nop + IL_01f3: ldloca.s 10 + IL_01f5: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_01fa: castclass NAnt.VSNet.Resource + IL_01ff: stloc.s 12 + IL_0201: ldloca.s 10 + IL_0203: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0208: castclass [mscorlib]System.IO.FileInfo + IL_020d: stloc.s 13 + IL_020f: ldloc.s 12 + IL_0211: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_0216: ldloc.s 13 + IL_0218: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.QualifiedResource::'.ctor'(class [mscorlib]System.IO.FileInfo, class [mscorlib]System.IO.FileInfo) + IL_021d: stloc.s 14 + IL_021f: ldloc.s 9 + IL_0221: callvirt instance class [mscorlib]System.Collections.ArrayList class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_QualifiedResources() + IL_0226: ldloc.s 14 + IL_0228: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_022d: pop + IL_022e: nop + IL_022f: ldloc.s 11 + IL_0231: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0236: brtrue IL_01e4 - IL_0051: nop - IL_0052: ldloc.3 - IL_0053: stloc.0 - IL_0054: br IL_0097 + IL_023b: leave IL_0257 - IL_0059: ldarg.0 - IL_005a: ldloc.1 - IL_005b: ldloc.2 - IL_005c: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromAssemblyFolders(class [System.Xml]System.Xml.XmlElement, string) - IL_0061: stloc.3 - IL_0062: ldloc.3 - IL_0063: brfalse IL_0070 + } // end .try 2 + finally { // 2 + IL_0240: ldloc.s 11 + IL_0242: isinst [mscorlib]System.IDisposable + IL_0247: dup + IL_0248: stloc.s 15 + IL_024a: brfalse IL_0256 - IL_0068: nop - IL_0069: ldloc.3 - IL_006a: stloc.0 - IL_006b: br IL_0097 + IL_024f: ldloc.s 15 + IL_0251: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0256: endfinally + } // end handler 2 + IL_0257: nop + IL_0258: ldarg.0 + IL_0259: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_025e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0263: stloc.s 17 + .try { // 4 + IL_0265: br IL_02da - IL_0070: ldarg.0 - IL_0071: ldloc.1 - IL_0072: ldstr "HintPath" - IL_0077: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_007c: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromRelativePath(string) - IL_0081: stloc.3 - IL_0082: ldloc.3 - IL_0083: brfalse IL_0090 + IL_026a: ldloc.s 17 + IL_026c: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0271: castclass NAnt.VSNet.ReferenceBase + IL_0276: stloc.s 16 + IL_0278: nop + IL_0279: ldloc.s 16 + IL_027b: ldarg.1 + IL_027c: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.ReferenceBase::GetAssemblyReferences(class NAnt.VSNet.Configuration) + IL_0281: stloc.s 18 + IL_0283: nop + IL_0284: ldloc.s 18 + IL_0286: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_028b: stloc.s 20 + .try { // 3 + IL_028d: br IL_02b1 - IL_0088: nop - IL_0089: ldloc.3 - IL_008a: stloc.0 - IL_008b: br IL_0097 + IL_0292: ldloc.s 20 + IL_0294: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0299: stloc.s 19 + IL_029b: nop + IL_029c: ldloc.s 9 + IL_029e: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.DotNetTasks]NAnt.DotNet.Tasks.ResGenTask::get_Assemblies() + IL_02a3: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_02a8: ldloc.s 19 + IL_02aa: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_02af: pop + IL_02b0: nop + IL_02b1: ldloc.s 20 + IL_02b3: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_02b8: brtrue IL_0292 - IL_0090: ldnull - IL_0091: stloc.0 - IL_0092: br IL_0097 + IL_02bd: leave IL_02d9 - IL_0097: ldloc.0 - IL_0098: ret - } // end of method ManagedAssemblyReference::ResolveAssemblyReference + } // end .try 3 + finally { // 3 + IL_02c2: ldloc.s 20 + IL_02c4: isinst [mscorlib]System.IDisposable + IL_02c9: dup + IL_02ca: stloc.s 21 + IL_02cc: brfalse IL_02d8 - // method line 570 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x1347c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ManagedAssemblyReference::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_02d1: ldloc.s 21 + IL_02d3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02d8: endfinally + } // end handler 3 + IL_02d9: nop + IL_02da: ldloc.s 17 + IL_02dc: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02e1: brtrue IL_026a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedAssemblyReference::get_Name + IL_02e6: leave IL_0302 - // method line 571 - .method private hidebysig specialname - instance default string get_AssemblyFoldersKey () cil managed - { - // Method begins at RVA 0x13498 - // Code size 57 (0x39) - .maxstack 3 - .locals init ( - string V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0007: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0011: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0016: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_VisualStudioVersion() - IL_001b: callvirt instance string object::ToString() - IL_0020: stloc.0 - IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0026: ldstr "SOFTWARE\\Microsoft\\VisualStudio\\{0}\\AssemblyFolders" - IL_002b: ldloc.0 - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: stloc.1 - IL_0032: br IL_0037 + } // end .try 4 + finally { // 4 + IL_02eb: ldloc.s 17 + IL_02ed: isinst [mscorlib]System.IDisposable + IL_02f2: dup + IL_02f3: stloc.s 22 + IL_02f5: brfalse IL_0301 - IL_0037: ldloc.1 - IL_0038: ret - } // end of method ManagedAssemblyReference::get_AssemblyFoldersKey + IL_02fa: ldloc.s 22 + IL_02fc: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0301: endfinally + } // end handler 4 + IL_0302: ldloc.s 9 + IL_0304: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0309: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 5 + IL_030e: nop + IL_030f: ldloc.s 9 + IL_0311: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0316: nop + IL_0317: leave IL_032b - // method line 572 + } // end .try 5 + finally { // 5 + IL_031c: nop + IL_031d: ldloc.s 9 + IL_031f: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0324: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_0329: nop + IL_032a: endfinally + } // end handler 5 + IL_032b: ret + } // end of method ManagedProjectBase::CompileResXFiles + + // method line 611 .method private hidebysig - instance default string GetComponentAssemblyFolder (class [System.Xml]System.Xml.XmlElement referenceElement) cil managed + instance default void WriteNeutralResourceOptions (class [mscorlib]System.IO.StreamWriter sw, class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x134e0 - // Code size 546 (0x222) + // Method begins at RVA 0xb618 + // Code size 233 (0xe9) .maxstack 7 .locals init ( - string V_0, - string V_1, - class [mscorlib]Microsoft.Win32.RegistryKey V_2, - string[] V_3, - string V_4, - class [mscorlib]Microsoft.Win32.RegistryKey V_5, - string V_6, - class [mscorlib]Microsoft.Win32.RegistryKey V_7, - string V_8, - string V_9) + class NAnt.VSNet.Resource V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class [mscorlib]System.IO.FileInfo V_2, + string V_3, + class [mscorlib]System.IO.FileInfo V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.1 - IL_0004: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0009: ldstr "AssemblyFolderKey" - IL_000e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0013: brfalse IL_0217 + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_000c: brtrue IL_0017 - IL_0018: nop - IL_0019: ldarg.1 - IL_001a: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_001f: ldstr "AssemblyFolderKey" - IL_0024: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0029: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_002e: stloc.1 - IL_002f: ldnull - IL_0030: stloc.2 - IL_0031: ldloc.1 - IL_0032: ldc.i4.s 0x5c - IL_0034: ldc.i4.0 - IL_0035: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) - IL_003a: stloc.3 - IL_003b: ldloc.3 - IL_003c: ldlen - IL_003d: conv.i4 - IL_003e: ldc.i4.2 - IL_003f: blt IL_004d + IL_0011: nop + IL_0012: br IL_00e8 - IL_0044: ldloc.3 - IL_0045: ldlen - IL_0046: conv.i4 - IL_0047: ldc.i4.3 - IL_0048: ble IL_007a + IL_0017: nop + IL_0018: ldarg.0 + IL_0019: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources + IL_001e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0023: stloc.1 + .try { // 0 + IL_0024: br IL_00c2 - IL_004d: nop - IL_004e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0053: ldstr "Invalid AssemblyFolderKey \"{0}\" for assembly reference \"{1}\", referenced by project \"{2}\"." - IL_0058: ldloc.1 - IL_0059: ldarg.0 - IL_005a: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_005f: ldarg.0 - IL_0060: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0065: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_006a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_006f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0074: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0079: throw - IL_007a: ldloc.3 - IL_007b: ldc.i4.0 - IL_007c: ldelem.ref - IL_007d: stloc.s 4 - IL_007f: ldloc.s 4 - IL_0081: brfalse IL_00c3 + IL_0029: ldloc.1 + IL_002a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_002f: castclass NAnt.VSNet.Resource + IL_0034: stloc.0 + IL_0035: nop + IL_0036: ldarg.0 + IL_0037: ldc.i4 2000 + IL_003c: ldstr " - {0}" + IL_0041: ldc.i4.1 + IL_0042: newarr [mscorlib]System.Object + IL_0047: dup + IL_0048: ldc.i4.0 + IL_0049: ldloc.0 + IL_004a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_004f: stelem.ref + IL_0050: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0055: ldloc.0 + IL_0056: callvirt instance bool class NAnt.VSNet.Resource::get_IsResX() + IL_005b: brfalse IL_0093 - IL_0086: ldloc.s 4 - IL_0088: ldstr "hklm" - IL_008d: call bool string::op_Equality(string, string) - IL_0092: brtrue IL_00ad + IL_0060: nop + IL_0061: ldloc.0 + IL_0062: ldarg.2 + IL_0063: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) + IL_0068: stloc.2 + IL_0069: ldloc.0 + IL_006a: ldarg.2 + IL_006b: callvirt instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) + IL_0070: stloc.3 + IL_0071: ldarg.1 + IL_0072: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0077: ldstr "/res:\"{0}\",\"{1}\"" + IL_007c: ldloc.2 + IL_007d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0082: ldloc.3 + IL_0083: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0088: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_008d: nop + IL_008e: br IL_00c1 - IL_0097: ldloc.s 4 - IL_0099: ldstr "hkcu" - IL_009e: call bool string::op_Equality(string, string) - IL_00a3: brtrue IL_00b8 + IL_0093: nop + IL_0094: ldloc.0 + IL_0095: ldarg.2 + IL_0096: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::Compile(class NAnt.VSNet.Configuration) + IL_009b: stloc.s 4 + IL_009d: ldarg.1 + IL_009e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00a3: ldstr "/res:\"{0}\",\"{1}\"" + IL_00a8: ldloc.s 4 + IL_00aa: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00af: ldloc.0 + IL_00b0: ldarg.2 + IL_00b1: callvirt instance string class NAnt.VSNet.Resource::GetManifestResourceName(class NAnt.VSNet.Configuration) + IL_00b6: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00bb: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_00c0: nop + IL_00c1: nop + IL_00c2: ldloc.1 + IL_00c3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00c8: brtrue IL_0029 - IL_00a8: br IL_00c3 + IL_00cd: leave IL_00e8 - IL_00ad: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine - IL_00b2: stloc.2 - IL_00b3: br IL_00ef + } // end .try 0 + finally { // 0 + IL_00d2: ldloc.1 + IL_00d3: isinst [mscorlib]System.IDisposable + IL_00d8: dup + IL_00d9: stloc.s 5 + IL_00db: brfalse IL_00e7 - IL_00b8: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::CurrentUser - IL_00bd: stloc.2 - IL_00be: br IL_00ef + IL_00e0: ldloc.s 5 + IL_00e2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00e7: endfinally + } // end handler 0 + IL_00e8: ret + } // end of method ManagedProjectBase::WriteNeutralResourceOptions - IL_00c3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00c8: ldstr "Invalid AssemblyFolderKey \"{0}\" for assembly reference \"{1}\", referenced by project \"{2}\"." - IL_00cd: ldloc.1 - IL_00ce: ldarg.0 - IL_00cf: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_00d4: ldarg.0 - IL_00d5: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_00da: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_00df: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_00e4: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00e9: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00ee: throw - IL_00ef: ldnull - IL_00f0: stloc.s 5 - IL_00f2: ldloc.3 - IL_00f3: ldlen - IL_00f4: conv.i4 - IL_00f5: ldc.i4.3 - IL_00f6: bne.un IL_0162 + // method line 612 + .method private hidebysig + instance default bool PreBuild (class NAnt.VSNet.ConfigurationSettings cs) cil managed + { + // Method begins at RVA 0xb720 + // Code size 84 (0x54) + .maxstack 6 + .locals init ( + string V_0, + string V_1, + string V_2, + bool V_3) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0007: callvirt instance string class NAnt.VSNet.ProjectSettings::get_PreBuildEvent() + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_004b - IL_00fb: nop - IL_00fc: ldloc.3 - IL_00fd: ldc.i4.1 - IL_00fe: ldelem.ref - IL_00ff: stloc.s 6 - IL_0101: ldloc.s 6 - IL_0103: brfalse IL_0130 + IL_0013: nop + IL_0014: ldarg.1 + IL_0015: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001f: ldstr "PreBuildEvent.bat" + IL_0024: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0029: stloc.1 + IL_002a: ldarg.1 + IL_002b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0035: stloc.2 + IL_0036: ldarg.0 + IL_0037: ldstr "PreBuildEvent" + IL_003c: ldloc.0 + IL_003d: ldloc.1 + IL_003e: ldloc.2 + IL_003f: ldarg.1 + IL_0040: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) + IL_0045: stloc.3 + IL_0046: br IL_0052 - IL_0108: ldloc.s 6 - IL_010a: ldstr "dn" - IL_010f: call bool string::op_Equality(string, string) - IL_0114: brtrue IL_011e + IL_004b: ldc.i4.1 + IL_004c: stloc.3 + IL_004d: br IL_0052 - IL_0119: br IL_0130 + IL_0052: ldloc.3 + IL_0053: ret + } // end of method ManagedProjectBase::PreBuild - IL_011e: ldloc.2 - IL_011f: ldstr "SOFTWARE\\Microsoft\\.NETFramework\\AssemblyFolders" - IL_0124: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0129: stloc.s 5 - IL_012b: br IL_015c + // method line 613 + .method private hidebysig + instance default bool PostBuild (class NAnt.VSNet.ConfigurationSettings cs, bool bCompileSuccess, bool bOutputUpdated) cil managed + { + // Method begins at RVA 0xb780 + // Code size 359 (0x167) + .maxstack 7 + .locals init ( + string V_0, + string V_1, + string V_2, + bool V_3, + string V_4, + bool V_5) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0007: callvirt instance string class NAnt.VSNet.ProjectSettings::get_PostBuildEvent() + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_015c - IL_0130: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0135: ldstr "Invalid AssemblyFolderKey \"{0}\" for assembly reference \"{1}\", referenced by project \"{2}\"." - IL_013a: ldloc.1 - IL_013b: ldarg.0 - IL_013c: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0141: ldarg.0 - IL_0142: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0147: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_014c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0151: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0156: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_015b: throw - IL_015c: nop - IL_015d: br IL_0172 + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldc.i4 1000 + IL_001a: ldstr "PostBuild commandline: {0}" + IL_001f: ldc.i4.1 + IL_0020: newarr [mscorlib]System.Object + IL_0025: dup + IL_0026: ldc.i4.0 + IL_0027: ldloc.0 + IL_0028: stelem.ref + IL_0029: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_002e: ldarg.1 + IL_002f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_0034: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0039: ldstr "PostBuildEvent.bat" + IL_003e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0043: stloc.1 + IL_0044: ldarg.1 + IL_0045: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_004a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_004f: stloc.2 + IL_0050: ldarg.0 + IL_0051: call instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0056: callvirt instance string class NAnt.VSNet.ProjectSettings::get_RunPostBuildEvent() + IL_005b: stloc.s 4 + IL_005d: ldloc.s 4 + IL_005f: brfalse IL_014d - IL_0162: nop - IL_0163: ldloc.2 - IL_0164: ldarg.0 - IL_0165: call instance string class NAnt.VSNet.ManagedAssemblyReference::get_AssemblyFoldersKey() - IL_016a: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_016f: stloc.s 5 - IL_0171: nop - IL_0172: ldloc.s 5 - IL_0174: brfalse IL_01fa + IL_0064: ldloc.s 4 + IL_0066: ldstr "OnBuildSuccess" + IL_006b: call bool string::op_Equality(string, string) + IL_0070: brtrue IL_009c - IL_0179: nop - IL_017a: ldloc.s 5 - IL_017c: ldloc.3 - IL_017d: ldloc.3 - IL_017e: ldlen - IL_017f: conv.i4 - IL_0180: ldc.i4.1 - IL_0181: sub - IL_0182: ldelem.ref - IL_0183: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0188: stloc.s 7 - IL_018a: ldloc.s 7 - IL_018c: brfalse IL_01d8 + IL_0075: ldloc.s 4 + IL_0077: ldstr "Always" + IL_007c: call bool string::op_Equality(string, string) + IL_0081: brtrue IL_00e2 - IL_0191: nop - IL_0192: ldloc.s 7 - IL_0194: ldsfld string [mscorlib]System.String::Empty - IL_0199: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_019e: isinst [mscorlib]System.String - IL_01a3: stloc.s 8 - IL_01a5: ldloc.s 8 - IL_01a7: brfalse IL_01b6 + IL_0086: ldloc.s 4 + IL_0088: ldstr "OnOutputUpdated" + IL_008d: call bool string::op_Equality(string, string) + IL_0092: brtrue IL_0107 - IL_01ac: nop - IL_01ad: ldloc.s 8 - IL_01af: stloc.0 - IL_01b0: nop - IL_01b1: br IL_01d2 + IL_0097: br IL_014d - IL_01b6: nop - IL_01b7: ldarg.0 - IL_01b8: ldc.i4 1000 - IL_01bd: ldstr "Default value for AssemblyFolder \"{0}\" does not exist or is not a string value." - IL_01c2: ldc.i4.1 - IL_01c3: newarr [mscorlib]System.Object - IL_01c8: dup - IL_01c9: ldc.i4.0 - IL_01ca: ldloc.1 - IL_01cb: stelem.ref - IL_01cc: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01d1: nop - IL_01d2: nop - IL_01d3: br IL_01f4 + IL_009c: ldarg.2 + IL_009d: brfalse IL_00c9 - IL_01d8: nop - IL_01d9: ldarg.0 - IL_01da: ldc.i4 1000 - IL_01df: ldstr "Component key for AssemblyFolder \"{0}\" does not exist." - IL_01e4: ldc.i4.1 - IL_01e5: newarr [mscorlib]System.Object - IL_01ea: dup - IL_01eb: ldc.i4.0 - IL_01ec: ldloc.1 - IL_01ed: stelem.ref - IL_01ee: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01f3: nop - IL_01f4: nop - IL_01f5: br IL_0216 + IL_00a2: nop + IL_00a3: ldarg.0 + IL_00a4: ldc.i4 1000 + IL_00a9: ldstr "PostBuild+OnBuildSuccess+bCompileSuccess" + IL_00ae: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00b3: ldarg.0 + IL_00b4: ldstr "PostBuildEvent" + IL_00b9: ldloc.0 + IL_00ba: ldloc.1 + IL_00bb: ldloc.2 + IL_00bc: ldarg.1 + IL_00bd: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) + IL_00c2: stloc.3 + IL_00c3: nop + IL_00c4: br IL_00dd - IL_01fa: nop - IL_01fb: ldarg.0 - IL_01fc: ldc.i4 1000 - IL_0201: ldstr "Repository for AssemblyFolder \"{0}\" does not exist." - IL_0206: ldc.i4.1 - IL_0207: newarr [mscorlib]System.Object - IL_020c: dup - IL_020d: ldc.i4.0 - IL_020e: ldloc.1 - IL_020f: stelem.ref - IL_0210: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0215: nop - IL_0216: nop - IL_0217: ldloc.0 - IL_0218: stloc.s 9 - IL_021a: br IL_021f + IL_00c9: nop + IL_00ca: ldarg.0 + IL_00cb: ldc.i4 1000 + IL_00d0: ldstr "PostBuild+OnBuildSuccess" + IL_00d5: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00da: ldc.i4.1 + IL_00db: stloc.3 + IL_00dc: nop + IL_00dd: br IL_0154 - IL_021f: ldloc.s 9 - IL_0221: ret - } // end of method ManagedAssemblyReference::GetComponentAssemblyFolder + IL_00e2: ldarg.0 + IL_00e3: ldc.i4 1000 + IL_00e8: ldstr "PostBuild+Always" + IL_00ed: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_00f2: ldarg.0 + IL_00f3: ldstr "PostBuildEvent" + IL_00f8: ldloc.0 + IL_00f9: ldloc.1 + IL_00fa: ldloc.2 + IL_00fb: ldarg.1 + IL_00fc: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) + IL_0101: stloc.3 + IL_0102: br IL_0154 - // method line 573 - .method family virtual hidebysig - instance default string ResolveFromAssemblyFolders (class [System.Xml]System.Xml.XmlElement referenceElement, string fileName) cil managed - { - // Method begins at RVA 0x13710 - // Code size 68 (0x44) - .maxstack 3 - .locals init ( - string V_0, - string V_1, - class [System]System.Collections.Specialized.StringCollection V_2, - string V_3) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: ldarg.1 - IL_0005: call instance string class NAnt.VSNet.ManagedAssemblyReference::GetComponentAssemblyFolder(class [System.Xml]System.Xml.XmlElement) - IL_000a: stloc.1 - IL_000b: ldloc.1 - IL_000c: brfalse IL_002a + IL_0107: ldarg.3 + IL_0108: brfalse IL_0134 - IL_0011: nop - IL_0012: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0017: stloc.2 - IL_0018: ldloc.2 - IL_0019: ldloc.1 - IL_001a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_001f: pop - IL_0020: ldarg.0 - IL_0021: ldloc.2 - IL_0022: ldarg.2 - IL_0023: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFolderList(class [System]System.Collections.Specialized.StringCollection, string) - IL_0028: stloc.0 - IL_0029: nop - IL_002a: ldloc.0 - IL_002b: brtrue IL_003b + IL_010d: nop + IL_010e: ldarg.0 + IL_010f: ldc.i4 1000 + IL_0114: ldstr "PostBuild+OnOutputUpdated+bOutputUpdated" + IL_0119: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_011e: ldarg.0 + IL_011f: ldstr "PostBuildEvent" + IL_0124: ldloc.0 + IL_0125: ldloc.1 + IL_0126: ldloc.2 + IL_0127: ldarg.1 + IL_0128: call instance bool class NAnt.VSNet.ProjectBase::ExecuteBuildEvent(string, string, string, string, class NAnt.VSNet.ConfigurationBase) + IL_012d: stloc.3 + IL_012e: nop + IL_012f: br IL_0148 - IL_0030: nop - IL_0031: ldarg.0 - IL_0032: ldarg.1 - IL_0033: ldarg.2 - IL_0034: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromAssemblyFolders(class [System.Xml]System.Xml.XmlElement, string) - IL_0039: stloc.0 - IL_003a: nop - IL_003b: ldloc.0 - IL_003c: stloc.3 - IL_003d: br IL_0042 + IL_0134: nop + IL_0135: ldarg.0 + IL_0136: ldc.i4 1000 + IL_013b: ldstr "PostBuild+OnOutputUpdated" + IL_0140: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0145: ldc.i4.1 + IL_0146: stloc.3 + IL_0147: nop + IL_0148: br IL_0154 - IL_0042: ldloc.3 - IL_0043: ret - } // end of method ManagedAssemblyReference::ResolveFromAssemblyFolders + IL_014d: ldc.i4.0 + IL_014e: stloc.3 + IL_014f: br IL_0154 - .property instance bool IsPrivate () - { - .get instance default bool NAnt.VSNet.ManagedAssemblyReference::get_IsPrivate () - } - .property instance bool IsPrivateSpecified () - { - .get instance default bool NAnt.VSNet.ManagedAssemblyReference::get_IsPrivateSpecified () - } - .property instance string Name () - { - .get instance default string NAnt.VSNet.ManagedAssemblyReference::get_Name () - } - .property instance string AssemblyFoldersKey () - { - .get instance default string NAnt.VSNet.ManagedAssemblyReference::get_AssemblyFoldersKey () - } - } // end of class NAnt.VSNet.ManagedAssemblyReference -} + IL_0154: ldloc.3 + IL_0155: stloc.s 5 + IL_0157: br IL_0164 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit ReferencesResolver - extends [mscorlib]System.MarshalByRefObject - { + IL_015c: ldc.i4.1 + IL_015d: stloc.s 5 + IL_015f: br IL_0164 - // method line 574 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x13760 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.MarshalByRefObject::'.ctor'() - IL_0006: ret - } // end of method ReferencesResolver::.ctor + IL_0164: ldloc.s 5 + IL_0166: ret + } // end of method ManagedProjectBase::PostBuild - // method line 575 - .method public virtual hidebysig - instance default object InitializeLifetimeService () cil managed + // method line 614 + .method private hidebysig + instance default bool CheckUpToDate (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x13768 - // Code size 47 (0x2f) - .maxstack 2 + // Method begins at RVA 0xb8f4 + // Code size 603 (0x25b) + .maxstack 7 .locals init ( - class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, - object V_1) + valuetype [mscorlib]System.DateTime V_0, + class NAnt.VSNet.ConfigurationSettings V_1, + bool V_2, + string V_3, + string V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class NAnt.VSNet.Resource V_7, + class [mscorlib]System.Collections.IEnumerator V_8, + class [mscorlib]System.IO.FileInfo V_9, + class [mscorlib]System.IDisposable V_10, + class NAnt.VSNet.ReferenceBase V_11, + class [mscorlib]System.Collections.IEnumerator V_12, + class [mscorlib]System.IDisposable V_13, + valuetype [mscorlib]System.Collections.DictionaryEntry V_14, + class [mscorlib]System.Collections.IDictionaryEnumerator V_15, + string V_16, + class [mscorlib]System.IDisposable V_17) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() - IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() - IL_0013: ldc.i4.1 - IL_0014: bne.un IL_0026 + IL_0002: call instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_000d: castclass NAnt.VSNet.ConfigurationSettings + IL_0012: stloc.1 + IL_0013: ldloc.1 + IL_0014: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_0019: call bool class [mscorlib]System.IO.File::Exists(string) + IL_001e: brfalse IL_0036 - IL_0019: nop - IL_001a: ldloc.0 - IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero - IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) - IL_0025: nop - IL_0026: ldloc.0 - IL_0027: stloc.1 - IL_0028: br IL_002d + IL_0023: nop + IL_0024: ldloc.1 + IL_0025: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_BuildPath() + IL_002a: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_002f: stloc.0 + IL_0030: nop + IL_0031: br IL_003e - IL_002d: ldloc.1 - IL_002e: ret - } // end of method ReferencesResolver::InitializeLifetimeService + IL_0036: nop + IL_0037: ldc.i4.0 + IL_0038: stloc.2 + IL_0039: br IL_0259 - // method line 576 - .method public hidebysig - instance default void AppendReferencedModulesLocatedInGivenDirectory (string moduleDirectory, string moduleName, class [mscorlib]System.Collections.Hashtable& allReferences, class [mscorlib]System.Collections.Hashtable& unresolvedReferences) cil managed - { - // Method begins at RVA 0x137a4 - // Code size 139 (0x8b) - .maxstack 3 - .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - class [mscorlib]System.Reflection.AssemblyName[] V_1, - class [mscorlib]System.Reflection.AssemblyName V_2, - class [mscorlib]System.Reflection.AssemblyName[] V_3, - int32 V_4, - string V_5) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 + IL_003e: ldarg.0 + IL_003f: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_0044: ldloc.0 + IL_0045: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_004a: stloc.3 + IL_004b: ldloc.3 + IL_004c: brfalse IL_0073 + + IL_0051: nop + IL_0052: ldarg.0 + IL_0053: ldc.i4 1000 + IL_0058: ldstr "Project file \"0\" has been updated, recompiling." + IL_005d: ldc.i4.1 + IL_005e: newarr [mscorlib]System.Object + IL_0063: dup + IL_0064: ldc.i4.0 + IL_0065: ldloc.3 + IL_0066: stelem.ref + IL_0067: call instance void class NAnt.VSNet.ProjectBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_006c: ldc.i4.0 + IL_006d: stloc.2 + IL_006e: br IL_0259 + + IL_0073: nop + IL_0074: ldarg.0 + IL_0075: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ManagedProjectBase::_sourceFiles + IL_007a: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_007f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0084: stloc.s 5 .try { // 0 - IL_0003: nop - IL_0004: ldarg.2 - IL_0005: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_000a: stloc.0 - IL_000b: nop - IL_000c: leave IL_0018 + IL_0086: br IL_00b5 - } // end .try 0 - catch class [mscorlib]System.IO.FileLoadException { // 0 - IL_0011: pop - IL_0012: nop - IL_0013: leave IL_008a + IL_008b: ldloc.s 5 + IL_008d: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0092: castclass [mscorlib]System.String + IL_0097: stloc.s 4 + IL_0099: nop + IL_009a: ldloc.0 + IL_009b: ldloc.s 4 + IL_009d: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_00a2: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_00a7: brfalse IL_00b4 - } // end handler 0 - IL_0018: ldloc.0 - IL_0019: callvirt instance class [mscorlib]System.Reflection.AssemblyName[] class [mscorlib]System.Reflection.Assembly::GetReferencedAssemblies() - IL_001e: stloc.1 - IL_001f: nop - IL_0020: ldloc.1 - IL_0021: stloc.3 - IL_0022: ldc.i4.0 - IL_0023: stloc.s 4 - IL_0025: br IL_0080 + IL_00ac: nop + IL_00ad: ldc.i4.0 + IL_00ae: stloc.2 + IL_00af: leave IL_0259 - IL_002a: ldloc.3 - IL_002b: ldloc.s 4 - IL_002d: ldelem.ref - IL_002e: stloc.2 - IL_002f: nop - IL_0030: ldarg.1 - IL_0031: ldloc.2 - IL_0032: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_0037: ldstr ".dll" - IL_003c: call string string::Concat(string, string) - IL_0041: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0046: stloc.s 5 - IL_0048: ldloc.s 5 - IL_004a: call bool class [mscorlib]System.IO.File::Exists(string) - IL_004f: brfalse IL_0079 + IL_00b4: nop + IL_00b5: ldloc.s 5 + IL_00b7: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00bc: brtrue IL_008b - IL_0054: ldarg.3 - IL_0055: ldind.ref - IL_0056: ldloc.s 5 - IL_0058: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_005d: brtrue IL_0079 + IL_00c1: leave IL_00dd + + } // end .try 0 + finally { // 0 + IL_00c6: ldloc.s 5 + IL_00c8: isinst [mscorlib]System.IDisposable + IL_00cd: dup + IL_00ce: stloc.s 6 + IL_00d0: brfalse IL_00dc - IL_0062: nop - IL_0063: ldarg.3 - IL_0064: ldind.ref - IL_0065: ldloc.s 5 - IL_0067: ldnull - IL_0068: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_006d: ldarg.s 4 - IL_006f: ldind.ref - IL_0070: ldloc.s 5 - IL_0072: ldnull - IL_0073: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0078: nop - IL_0079: nop - IL_007a: ldloc.s 4 - IL_007c: ldc.i4.1 - IL_007d: add - IL_007e: stloc.s 4 - IL_0080: ldloc.s 4 - IL_0082: ldloc.3 - IL_0083: ldlen - IL_0084: conv.i4 - IL_0085: blt IL_002a + IL_00d5: ldloc.s 6 + IL_00d7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00dc: endfinally + } // end handler 0 + IL_00dd: nop + IL_00de: ldarg.0 + IL_00df: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_neutralResources + IL_00e4: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_00e9: stloc.s 8 + .try { // 1 + IL_00eb: br IL_0157 - IL_008a: ret - } // end of method ReferencesResolver::AppendReferencedModulesLocatedInGivenDirectory + IL_00f0: ldloc.s 8 + IL_00f2: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00f7: castclass NAnt.VSNet.Resource + IL_00fc: stloc.s 7 + IL_00fe: nop + IL_00ff: ldloc.0 + IL_0100: ldloc.s 7 + IL_0102: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::get_InputFile() + IL_0107: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_010c: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0111: brfalse IL_011e - // method line 577 - .method public hidebysig - instance default string GetAssemblyFileName (string assemblyName) cil managed - { - // Method begins at RVA 0x1384c - // Code size 32 (0x20) - .maxstack 1 - .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::Load(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_CodeBase() - IL_000e: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0013: call instance string class [System]System.Uri::get_LocalPath() - IL_0018: stloc.1 - IL_0019: br IL_001e + IL_0116: nop + IL_0117: ldc.i4.0 + IL_0118: stloc.2 + IL_0119: leave IL_0259 - IL_001e: ldloc.1 - IL_001f: ret - } // end of method ReferencesResolver::GetAssemblyFileName + IL_011e: ldloc.s 7 + IL_0120: ldarg.1 + IL_0121: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Resource::GetCompiledResourceFile(class NAnt.VSNet.Configuration) + IL_0126: stloc.s 9 + IL_0128: ldloc.s 9 + IL_012a: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_012f: brtrue IL_013c - } // end of class NAnt.VSNet.ReferencesResolver -} + IL_0134: nop + IL_0135: ldc.i4.0 + IL_0136: stloc.2 + IL_0137: leave IL_0259 -.namespace NAnt.VSNet -{ - .class public auto ansi abstract beforefieldinit AssemblyReferenceBase - extends NAnt.VSNet.FileReferenceBase - { + IL_013c: ldloc.0 + IL_013d: ldloc.s 9 + IL_013f: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0144: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_0149: brfalse IL_0156 - // method line 578 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed - { - // Method begins at RVA 0x12ee4 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: call instance void class NAnt.VSNet.FileReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_000b: nop - IL_000c: ret - } // end of method AssemblyReferenceBase::.ctor + IL_014e: nop + IL_014f: ldc.i4.0 + IL_0150: stloc.2 + IL_0151: leave IL_0259 - // method line 579 - .method family virtual hidebysig newslot abstract specialname - instance default bool get_IsPrivate () cil managed - { - // Method begins at RVA 0x0 - } // end of method AssemblyReferenceBase::get_IsPrivate + IL_0156: nop + IL_0157: ldloc.s 8 + IL_0159: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_015e: brtrue IL_00f0 - // method line 580 - .method family virtual hidebysig newslot abstract specialname - instance default bool get_IsPrivateSpecified () cil managed - { - // Method begins at RVA 0x0 - } // end of method AssemblyReferenceBase::get_IsPrivateSpecified + IL_0163: leave IL_017f - // method line 581 - .method public virtual hidebysig specialname - instance default bool get_CopyLocal () cil managed - { - // Method begins at RVA 0x12ef4 - // Code size 76 (0x4c) - .maxstack 2 - .locals init ( - bool V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivateSpecified() - IL_0007: brfalse IL_0019 + } // end .try 1 + finally { // 1 + IL_0168: ldloc.s 8 + IL_016a: isinst [mscorlib]System.IDisposable + IL_016f: dup + IL_0170: stloc.s 10 + IL_0172: brfalse IL_017e - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivate() - IL_0013: stloc.0 - IL_0014: br IL_004a + IL_0177: ldloc.s 10 + IL_0179: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_017e: endfinally + } // end handler 1 + IL_017f: nop + IL_0180: ldarg.0 + IL_0181: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_references + IL_0186: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_018b: stloc.s 12 + .try { // 2 + IL_018d: br IL_01bd - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_0020: stloc.1 - IL_0021: ldloc.1 - IL_0022: brfalse IL_0043 + IL_0192: ldloc.s 12 + IL_0194: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0199: castclass NAnt.VSNet.ReferenceBase + IL_019e: stloc.s 11 + IL_01a0: nop + IL_01a1: ldloc.0 + IL_01a2: ldloc.s 11 + IL_01a4: ldarg.1 + IL_01a5: callvirt instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetTimestamp(class NAnt.VSNet.Configuration) + IL_01aa: call bool valuetype [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_01af: brfalse IL_01bc - IL_0027: ldarg.0 - IL_0028: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_IsSystem() - IL_002d: brtrue IL_0043 + IL_01b4: nop + IL_01b5: ldc.i4.0 + IL_01b6: stloc.2 + IL_01b7: leave IL_0259 - IL_0032: ldarg.0 - IL_0033: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.FileReferenceBase::get_GacCache() - IL_0038: ldloc.1 - IL_0039: callvirt instance bool class [NAnt.Core]NAnt.Core.Util.GacCache::IsAssemblyInGac(string) - IL_003e: ldc.i4.0 - IL_003f: ceq - IL_0041: br.s IL_0044 + IL_01bc: nop + IL_01bd: ldloc.s 12 + IL_01bf: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01c4: brtrue IL_0192 - IL_0043: ldc.i4.0 - IL_0044: stloc.0 - IL_0045: br IL_004a + IL_01c9: leave IL_01e5 - IL_004a: ldloc.0 - IL_004b: ret - } // end of method AssemblyReferenceBase::get_CopyLocal + } // end .try 2 + finally { // 2 + IL_01ce: ldloc.s 12 + IL_01d0: isinst [mscorlib]System.IDisposable + IL_01d5: dup + IL_01d6: stloc.s 13 + IL_01d8: brfalse IL_01e4 - // method line 582 - .method family virtual hidebysig specialname - instance default bool get_IsSystem () cil managed - { - // Method begins at RVA 0x12f4c - // Code size 76 (0x4c) - .maxstack 4 - .locals init ( - string V_0, - bool V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brtrue IL_0016 + IL_01dd: ldloc.s 13 + IL_01df: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01e4: endfinally + } // end handler 2 + IL_01e5: nop + IL_01e6: ldloc.1 + IL_01e7: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.ConfigurationBase::get_ExtraOutputFiles() + IL_01ec: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_01f1: stloc.s 15 + .try { // 3 + IL_01f3: br IL_022a - IL_000e: nop - IL_000f: ldc.i4.0 - IL_0010: stloc.1 - IL_0011: br IL_004a + IL_01f8: ldloc.s 15 + IL_01fa: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01ff: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0204: stloc.s 14 + IL_0206: nop + IL_0207: ldloca.s 14 + IL_0209: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_020e: castclass [mscorlib]System.String + IL_0213: stloc.s 16 + IL_0215: ldloc.s 16 + IL_0217: call bool class [mscorlib]System.IO.File::Exists(string) + IL_021c: brtrue IL_0229 - IL_0016: ldloc.0 - IL_0017: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_001c: ldarg.0 - IL_001d: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0022: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0027: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_002c: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory() - IL_0031: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0036: ldc.i4.1 - IL_0037: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_003c: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0041: ldc.i4.0 - IL_0042: ceq - IL_0044: stloc.1 - IL_0045: br IL_004a + IL_0221: nop + IL_0222: ldc.i4.0 + IL_0223: stloc.2 + IL_0224: leave IL_0259 - IL_004a: ldloc.1 - IL_004b: ret - } // end of method AssemblyReferenceBase::get_IsSystem + IL_0229: nop + IL_022a: ldloc.s 15 + IL_022c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0231: brtrue IL_01f8 - // method line 583 - .method public virtual hidebysig - instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x12fa4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0236: leave IL_0252 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyReferenceBase::GetPrimaryOutputFile + } // end .try 3 + finally { // 3 + IL_023b: ldloc.s 15 + IL_023d: isinst [mscorlib]System.IDisposable + IL_0242: dup + IL_0243: stloc.s 17 + IL_0245: brfalse IL_0251 - // method line 584 - .method public virtual hidebysig - instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed - { - // Method begins at RVA 0x12fc0 - // Code size 25 (0x19) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brfalse IL_0018 + IL_024a: ldloc.s 17 + IL_024c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0251: endfinally + } // end handler 3 + IL_0252: ldc.i4.1 + IL_0253: stloc.2 + IL_0254: br IL_0259 - IL_000e: nop - IL_000f: ldarg.0 - IL_0010: ldloc.0 - IL_0011: ldarg.2 - IL_0012: call instance void class NAnt.VSNet.FileReferenceBase::GetAssemblyOutputFiles(string, class [mscorlib]System.Collections.Hashtable) - IL_0017: nop - IL_0018: ret - } // end of method AssemblyReferenceBase::GetOutputFiles + IL_0259: ldloc.2 + IL_025a: ret + } // end of method ManagedProjectBase::CheckUpToDate - // method line 585 - .method public virtual hidebysig - instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + // method line 615 + .method private hidebysig + instance default class [mscorlib]System.Collections.Hashtable GetLocalizedResources () cil managed { - // Method begins at RVA 0x12fe8 + // Method begins at RVA 0xbb90 // Code size 149 (0x95) - .maxstack 7 + .maxstack 3 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - string V_1, - class [System]System.Collections.Specialized.StringCollection V_2) + class [mscorlib]System.Collections.Hashtable V_0, + class NAnt.VSNet.Resource V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [mscorlib]System.Globalization.CultureInfo V_3, + class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet V_4, + class [mscorlib]System.IDisposable V_5, + class [mscorlib]System.Collections.Hashtable V_6) IL_0000: nop - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0001: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_000d: stloc.1 - IL_000e: ldloc.1 - IL_000f: brtrue IL_0049 - - IL_0014: nop - IL_0015: ldarg.0 - IL_0016: ldc.i4 4000 - IL_001b: ldstr "Assembly \"{0}\", referenced by project \"{1}\", could not be resolved." - IL_0020: ldc.i4.2 - IL_0021: newarr [mscorlib]System.Object - IL_0026: dup - IL_0027: ldc.i4.0 - IL_0028: ldarg.0 - IL_0029: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_002e: stelem.ref - IL_002f: dup - IL_0030: ldc.i4.1 - IL_0031: ldarg.0 - IL_0032: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0037: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_003c: stelem.ref - IL_003d: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0042: ldloc.0 - IL_0043: stloc.2 - IL_0044: br IL_0093 - - IL_0049: ldloc.1 - IL_004a: call bool class [mscorlib]System.IO.File::Exists(string) - IL_004f: brtrue IL_0084 - - IL_0054: nop - IL_0055: ldarg.0 - IL_0056: ldc.i4 4000 - IL_005b: ldstr "Assembly \"{0}\", referenced by project \"{1}\", does not exist." - IL_0060: ldc.i4.2 - IL_0061: newarr [mscorlib]System.Object - IL_0066: dup - IL_0067: ldc.i4.0 - IL_0068: ldloc.1 - IL_0069: stelem.ref - IL_006a: dup - IL_006b: ldc.i4.1 - IL_006c: ldarg.0 - IL_006d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0072: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0077: stelem.ref - IL_0078: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007d: ldloc.0 - IL_007e: stloc.2 - IL_007f: br IL_0093 + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::_localizedResources + IL_000e: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0013: stloc.2 + .try { // 0 + IL_0014: br IL_0064 - IL_0084: ldloc.0 - IL_0085: ldloc.1 - IL_0086: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_008b: pop - IL_008c: ldloc.0 - IL_008d: stloc.2 - IL_008e: br IL_0093 + IL_0019: ldloc.2 + IL_001a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_001f: castclass NAnt.VSNet.Resource + IL_0024: stloc.1 + IL_0025: nop + IL_0026: ldloc.1 + IL_0027: callvirt instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.Resource::get_Culture() + IL_002c: stloc.3 + IL_002d: ldloc.0 + IL_002e: ldloc.3 + IL_002f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0034: castclass NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet + IL_0039: stloc.s 4 + IL_003b: ldloc.s 4 + IL_003d: brtrue IL_0055 - IL_0093: ldloc.2 - IL_0094: ret - } // end of method AssemblyReferenceBase::GetAssemblyReferences + IL_0042: nop + IL_0043: ldloc.3 + IL_0044: newobj instance void class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::'.ctor'(class [mscorlib]System.Globalization.CultureInfo) + IL_0049: stloc.s 4 + IL_004b: ldloc.0 + IL_004c: ldloc.3 + IL_004d: ldloc.s 4 + IL_004f: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0054: nop + IL_0055: ldloc.s 4 + IL_0057: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Resources() + IL_005c: ldloc.1 + IL_005d: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0062: pop + IL_0063: nop + IL_0064: ldloc.2 + IL_0065: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_006a: brtrue IL_0019 - // method line 586 - .method public virtual hidebysig - instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x1308c - // Code size 41 (0x29) - .maxstack 2 - .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: brtrue IL_001a + IL_006f: leave IL_008a - IL_000e: nop - IL_000f: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue - IL_0014: stloc.1 - IL_0015: br IL_0027 + } // end .try 0 + finally { // 0 + IL_0074: ldloc.2 + IL_0075: isinst [mscorlib]System.IDisposable + IL_007a: dup + IL_007b: stloc.s 5 + IL_007d: brfalse IL_0089 - IL_001a: ldarg.0 - IL_001b: ldloc.0 - IL_001c: call instance valuetype [mscorlib]System.DateTime class NAnt.VSNet.ReferenceBase::GetFileTimestamp(string) - IL_0021: stloc.1 - IL_0022: br IL_0027 + IL_0082: ldloc.s 5 + IL_0084: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0089: endfinally + } // end handler 0 + IL_008a: ldloc.0 + IL_008b: stloc.s 6 + IL_008d: br IL_0092 - IL_0027: ldloc.1 - IL_0028: ret - } // end of method AssemblyReferenceBase::GetTimestamp + IL_0092: ldloc.s 6 + IL_0094: ret + } // end of method ManagedProjectBase::GetLocalizedResources - // method line 587 - .method public hidebysig - instance default class NAnt.VSNet.ProjectReferenceBase CreateProjectReference (class NAnt.VSNet.ProjectBase project) cil managed + // method line 616 + .method private hidebysig + instance default class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask CreateRegAsmTask () cil managed { - // Method begins at RVA 0x130c4 - // Code size 28 (0x1c) - .maxstack 4 + // Method begins at RVA 0xbc44 + // Code size 244 (0xf4) + .maxstack 3 .locals init ( - class NAnt.VSNet.ProjectReferenceBase V_0) + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_0, + class [NAnt.Core]NAnt.Core.Project V_1, + class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask V_2) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.1 - IL_0003: ldarg.0 - IL_0004: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivateSpecified() - IL_0009: ldarg.0 - IL_000a: callvirt instance bool class NAnt.VSNet.AssemblyReferenceBase::get_IsPrivate() - IL_000f: callvirt instance class NAnt.VSNet.ProjectReferenceBase class NAnt.VSNet.ProjectBase::CreateProjectReference(class NAnt.VSNet.ProjectBase, bool, bool) - IL_0014: stloc.0 - IL_0015: br IL_001a + IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001f: stloc.1 + IL_0020: ldloc.0 + IL_0021: ldloc.1 + IL_0022: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0027: ldloc.1 + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_002d: ldloc.0 + IL_002e: ldarg.0 + IL_002f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0034: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_003e: ldloc.0 + IL_003f: ldarg.0 + IL_0040: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0045: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_004a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_004f: ldloc.0 + IL_0050: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0055: ldloc.0 + IL_0056: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_005b: ldloc.0 + IL_005c: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0061: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0066: ldloc.0 + IL_0067: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_006c: ldloc.0 + IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0072: ldloc.0 + IL_0073: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_0078: ldloc.0 + IL_0079: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_007e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0083: ldloc.0 + IL_0084: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_0089: ldarg.0 + IL_008a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_008f: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0094: ldloc.0 + IL_0095: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_009a: ldloc.0 + IL_009b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00a0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_00a5: ldloc.0 + IL_00a6: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_00ab: ldloc.0 + IL_00ac: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_00b1: ldloc.0 + IL_00b2: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_00b7: ldloc.0 + IL_00b8: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_00bd: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00c2: ldloc.0 + IL_00c3: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_00c8: ldarg.0 + IL_00c9: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_00ce: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00d3: ldloc.0 + IL_00d4: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_00d9: brtrue IL_00eb - IL_001a: ldloc.0 - IL_001b: ret - } // end of method AssemblyReferenceBase::CreateProjectReference + IL_00de: nop + IL_00df: ldloc.0 + IL_00e0: ldc.i4 4000 + IL_00e5: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_00ea: nop + IL_00eb: ldloc.0 + IL_00ec: stloc.2 + IL_00ed: br IL_00f2 - // method line 588 - .method family virtual hidebysig newslot abstract - instance default string ResolveAssemblyReference () cil managed - { - // Method begins at RVA 0x0 - } // end of method AssemblyReferenceBase::ResolveAssemblyReference + IL_00f2: ldloc.2 + IL_00f3: ret + } // end of method ManagedProjectBase::CreateRegAsmTask - // method line 589 - .method family hidebysig - instance default string ResolveFromFolderList (class [System]System.Collections.Specialized.StringCollection folderList, string fileName) cil managed + // method line 617 + .method public static hidebysig + default bool IsEnterpriseTemplateProject (string fileName) cil managed { - // Method begins at RVA 0x130ec - // Code size 267 (0x10b) - .maxstack 7 + // Method begins at RVA 0xbd44 + // Code size 138 (0x8a) + .maxstack 3 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - string V_2, - string V_3, - class [mscorlib]System.Exception V_4, - class [mscorlib]System.IDisposable V_5) + class [mscorlib]System.IO.StreamReader V_0, + class [System.Xml]System.Xml.XmlTextReader V_1, + bool V_2, + class [mscorlib]System.Exception V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4 1000 - IL_0007: ldstr "Attempting to resolve \"{0}\" in AssemblyFolders..." - IL_000c: ldc.i4.1 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldarg.2 - IL_0015: stelem.ref - IL_0016: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_001b: nop - IL_001c: ldarg.1 - IL_001d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0022: stloc.1 .try { // 1 - IL_0023: br IL_00dc - - IL_0028: ldloc.1 - IL_0029: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_002e: stloc.0 - IL_002f: nop - IL_0030: ldarg.0 - IL_0031: ldc.i4 1000 - IL_0036: ldstr "Checking \"{0}\"..." - IL_003b: ldc.i4.1 - IL_003c: newarr [mscorlib]System.Object - IL_0041: dup - IL_0042: ldc.i4.0 - IL_0043: ldloc.0 - IL_0044: stelem.ref - IL_0045: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_0008: ldc.i4.1 + IL_0009: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_000e: stloc.0 .try { // 0 - IL_004a: nop - IL_004b: ldloc.0 - IL_004c: ldarg.2 - IL_004d: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0052: stloc.2 - IL_0053: ldloc.2 - IL_0054: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0059: brfalse IL_0080 + IL_000f: nop + IL_0010: ldloc.0 + IL_0011: newobj instance void class [System.Xml]System.Xml.XmlTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) + IL_0016: stloc.1 + IL_0017: ldloc.1 + IL_0018: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::MoveToContent() + IL_001d: pop + IL_001e: ldloc.1 + IL_001f: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_0024: ldc.i4.1 + IL_0025: bne.un IL_0047 - IL_005e: nop - IL_005f: ldarg.0 - IL_0060: ldc.i4 1000 - IL_0065: ldstr "Assembly found in \"{0}\"." - IL_006a: ldc.i4.1 - IL_006b: newarr [mscorlib]System.Object - IL_0070: dup - IL_0071: ldc.i4.0 - IL_0072: ldloc.0 - IL_0073: stelem.ref - IL_0074: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0079: ldloc.2 - IL_007a: stloc.3 - IL_007b: leave IL_0109 + IL_002a: ldloc.1 + IL_002b: callvirt instance string class [System.Xml]System.Xml.XmlReader::get_LocalName() + IL_0030: ldstr "EFPROJECT" + IL_0035: call bool string::op_Equality(string, string) + IL_003a: brfalse IL_0047 - IL_0080: nop - IL_0081: ldarg.0 - IL_0082: ldc.i4 1000 - IL_0087: ldstr "Assembly not found in \"{0}\"." - IL_008c: ldc.i4.1 - IL_008d: newarr [mscorlib]System.Object - IL_0092: dup - IL_0093: ldc.i4.0 - IL_0094: ldloc.0 - IL_0095: stelem.ref - IL_0096: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_009b: nop - IL_009c: nop - IL_009d: leave IL_00db + IL_003f: nop + IL_0040: ldc.i4.1 + IL_0041: stloc.2 + IL_0042: leave IL_0088 + + IL_0047: nop + IL_0048: leave IL_005a } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_00a2: stloc.s 4 - IL_00a4: nop - IL_00a5: ldarg.0 - IL_00a6: ldc.i4 2000 - IL_00ab: ldstr "Error resolving reference to \"{0}\" in directory \"{1}\"." - IL_00b0: ldc.i4.2 - IL_00b1: newarr [mscorlib]System.Object - IL_00b6: dup - IL_00b7: ldc.i4.0 - IL_00b8: ldarg.2 - IL_00b9: stelem.ref - IL_00ba: dup - IL_00bb: ldc.i4.1 - IL_00bc: ldloc.0 - IL_00bd: stelem.ref - IL_00be: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00c3: ldarg.0 - IL_00c4: ldc.i4 1000 - IL_00c9: ldloc.s 4 - IL_00cb: callvirt instance string object::ToString() - IL_00d0: call instance void class NAnt.VSNet.ReferenceBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_00d5: nop - IL_00d6: leave IL_00db + finally { // 0 + IL_004d: ldloc.0 + IL_004e: brfalse IL_0059 + IL_0053: ldloc.0 + IL_0054: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0059: endfinally } // end handler 0 - IL_00db: nop - IL_00dc: ldloc.1 - IL_00dd: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00e2: brtrue IL_0028 - - IL_00e7: leave IL_0102 + IL_005a: ldc.i4.0 + IL_005b: stloc.2 + IL_005c: leave IL_0088 } // end .try 1 - finally { // 1 - IL_00ec: ldloc.1 - IL_00ed: isinst [mscorlib]System.IDisposable - IL_00f2: dup - IL_00f3: stloc.s 5 - IL_00f5: brfalse IL_0101 + catch class [System.Xml]System.Xml.XmlException { // 1 + IL_0061: pop + IL_0062: nop + IL_0063: ldc.i4.0 + IL_0064: stloc.2 + IL_0065: leave IL_0088 - IL_00fa: ldloc.s 5 - IL_00fc: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0101: endfinally } // end handler 1 - IL_0102: ldnull - IL_0103: stloc.3 - IL_0104: br IL_0109 - - IL_0109: ldloc.3 - IL_010a: ret - } // end of method AssemblyReferenceBase::ResolveFromFolderList + catch class [mscorlib]System.Exception { // 2 + IL_006a: stloc.3 + IL_006b: nop + IL_006c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0071: ldstr "Error checking whether '{0}' is an enterprise template project." + IL_0076: ldarg.0 + IL_0077: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_007c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0081: ldloc.3 + IL_0082: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0087: throw + } // end handler 2 + IL_0088: ldloc.2 + IL_0089: ret + } // end of method ManagedProjectBase::IsEnterpriseTemplateProject - // method line 590 - .method family hidebysig - instance default string ResolveFromFramework (string fileName) cil managed + // method line 618 + .method public static hidebysig + default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed { - // Method begins at RVA 0x13220 - // Code size 52 (0x34) - .maxstack 2 + // Method begins at RVA 0xbe04 + // Code size 22 (0x16) + .maxstack 1 .locals init ( - string V_0, + class [System.Xml]System.Xml.XmlReader V_0, string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0011: ldarg.1 - IL_0012: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::ResolveAssembly(string) - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: call bool class [mscorlib]System.IO.File::Exists(string) - IL_001e: brfalse IL_002b + IL_0002: newobj instance void class [System.Xml]System.Xml.XmlNodeReader::'.ctor'(class [System.Xml]System.Xml.XmlNode) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlReader) + IL_000e: stloc.1 + IL_000f: br IL_0014 - IL_0023: nop - IL_0024: ldloc.0 - IL_0025: stloc.1 - IL_0026: br IL_0032 + IL_0014: ldloc.1 + IL_0015: ret + } // end of method ManagedProjectBase::LoadGuid - IL_002b: ldnull - IL_002c: stloc.1 - IL_002d: br IL_0032 + // method line 619 + .method private static hidebysig + default string LoadGuid (class [System.Xml]System.Xml.XmlReader guidReader) cil managed + { + // Method begins at RVA 0xbe28 + // Code size 111 (0x6f) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: br IL_0052 - IL_0032: ldloc.1 - IL_0033: ret - } // end of method AssemblyReferenceBase::ResolveFromFramework + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_000d: ldc.i4.1 + IL_000e: bne.un IL_0051 - // method line 591 - .method family hidebysig - instance default string ResolveFromRelativePath (string relativePath) cil managed + IL_0013: nop + IL_0014: br IL_0045 + + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: callvirt instance valuetype [System.Xml]System.Xml.XmlNodeType class [System.Xml]System.Xml.XmlReader::get_NodeType() + IL_0020: ldc.i4.1 + IL_0021: bne.un IL_0044 + + IL_0026: nop + IL_0027: ldarg.0 + IL_0028: ldstr "ProjectGuid" + IL_002d: callvirt instance bool class [System.Xml]System.Xml.XmlReader::MoveToAttribute(string) + IL_0032: brfalse IL_0043 + + IL_0037: ldarg.0 + IL_0038: callvirt instance string class [System.Xml]System.Xml.XmlReader::get_Value() + IL_003d: stloc.0 + IL_003e: br IL_006d + + IL_0043: nop + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() + IL_004b: brtrue IL_0019 + + IL_0050: nop + IL_0051: nop + IL_0052: ldarg.0 + IL_0053: callvirt instance bool class [System.Xml]System.Xml.XmlReader::Read() + IL_0058: brtrue IL_0006 + + IL_005d: ldstr "Couldn't locate project GUID." + IL_0062: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0067: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_006c: throw + IL_006d: ldloc.0 + IL_006e: ret + } // end of method ManagedProjectBase::LoadGuid + + // method line 620 + .method family static hidebysig + default valuetype NAnt.VSNet.ProductVersion GetProductVersion (class [System.Xml]System.Xml.XmlNode projectNode) cil managed { - // Method begins at RVA 0x13260 - // Code size 105 (0x69) - .maxstack 5 + // Method begins at RVA 0xbea4 + // Code size 208 (0xd0) + .maxstack 3 .locals init ( - string V_0, - string V_1, - class [mscorlib]System.IO.PathTooLongException V_2) + class [System.Xml]System.Xml.XmlAttribute V_0, + class [mscorlib]System.Version V_1, + class [mscorlib]System.Exception V_2, + int32 V_3, + valuetype NAnt.VSNet.ProductVersion V_4) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_0060 + IL_0001: ldarg.0 + IL_0002: brtrue IL_0013 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0013: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0018: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001d: ldarg.1 - IL_001e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0007: nop + IL_0008: ldstr "projectNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0019: ldstr "ProductVersion" + IL_001e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: brtrue IL_003b + + IL_002a: nop + IL_002b: ldstr "The \"ProductVersion\" attribute is missing from the project node." + IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_003a: throw + IL_003b: ldnull + IL_003c: stloc.1 .try { // 0 - IL_0024: nop - IL_0025: ldloc.0 - IL_0026: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_002b: stloc.1 - IL_002c: leave IL_0067 + IL_003d: nop + IL_003e: ldloc.0 + IL_003f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0044: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0049: stloc.1 + IL_004a: nop + IL_004b: leave IL_0073 } // end .try 0 - catch class [mscorlib]System.IO.PathTooLongException { // 0 - IL_0031: stloc.2 - IL_0032: nop - IL_0033: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0038: ldstr "Assembly \"{0}\", referenced by project \"{1}\", could not be resolved using path \"{2}\"." - IL_003d: ldarg.0 - IL_003e: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0043: ldarg.0 - IL_0044: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0049: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_004e: ldloc.0 - IL_004f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0054: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0059: ldloc.2 - IL_005a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_005f: throw + catch class [mscorlib]System.Exception { // 0 + IL_0050: stloc.2 + IL_0051: nop + IL_0052: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0057: ldstr "The value of the \"Version\" attribute ({0}) is not a valid version string." + IL_005c: ldloc.0 + IL_005d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0062: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0067: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_006c: ldloc.2 + IL_006d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_0072: throw } // end handler 0 - IL_0060: ldnull - IL_0061: stloc.1 - IL_0062: br IL_0067 + IL_0073: ldloc.1 + IL_0074: callvirt instance int32 class [mscorlib]System.Version::get_Major() + IL_0079: ldc.i4.7 + IL_007a: bne.un IL_00ad + + IL_007f: nop + IL_0080: ldloc.1 + IL_0081: callvirt instance int32 class [mscorlib]System.Version::get_Minor() + IL_0086: stloc.3 + IL_0087: ldloc.3 + IL_0088: brfalse IL_009a + + IL_008d: ldloc.3 + IL_008e: ldc.i4.s 0x0a + IL_0090: beq IL_00a3 + + IL_0095: br IL_00ac + + IL_009a: ldc.i4.s 0x46 + IL_009c: stloc.s 4 + IL_009e: br IL_00cd - IL_0067: ldloc.1 - IL_0068: ret - } // end of method AssemblyReferenceBase::ResolveFromRelativePath + IL_00a3: ldc.i4.s 0x47 + IL_00a5: stloc.s 4 + IL_00a7: br IL_00cd - // method line 592 - .method family virtual hidebysig newslot - instance default string ResolveFromAssemblyFolders (class [System.Xml]System.Xml.XmlElement referenceElement, string fileName) cil managed + IL_00ac: nop + IL_00ad: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00b2: ldstr "Visual Studio version \"{0\" is not supported." + IL_00b7: ldloc.1 + IL_00b8: callvirt instance string object::ToString() + IL_00bd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00c2: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_00c7: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_00cc: throw + IL_00cd: ldloc.s 4 + IL_00cf: ret + } // end of method ManagedProjectBase::GetProductVersion + + // method line 621 + .method family static hidebysig + default valuetype NAnt.VSNet.ProjectLocation GetProjectLocation (class [System.Xml]System.Xml.XmlNode projectNode) cil managed { - // Method begins at RVA 0x132e8 - // Code size 27 (0x1b) + // Method begins at RVA 0xbf90 + // Code size 130 (0x82) .maxstack 3 .locals init ( - string V_0) + class [System.Xml]System.Xml.XmlAttribute V_0, + valuetype NAnt.VSNet.ProjectLocation V_1, + class [mscorlib]System.Exception V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolderList() - IL_000d: ldarg.2 - IL_000e: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFolderList(class [System]System.Collections.Specialized.StringCollection, string) - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_0002: brtrue IL_0013 - IL_0019: ldloc.0 - IL_001a: ret - } // end of method AssemblyReferenceBase::ResolveFromAssemblyFolders + IL_0007: nop + IL_0008: ldstr "projectNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0019: ldstr "ProjectType" + IL_001e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0023: stloc.0 + IL_0024: ldloc.0 + IL_0025: brtrue IL_003b - .property instance bool IsPrivate () + IL_002a: nop + IL_002b: ldstr "The \"ProjectType\" attribute is missing from the project node." + IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_003a: throw + .try { // 0 + IL_003b: nop + IL_003c: ldtoken NAnt.VSNet.ProjectLocation + IL_0041: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0046: ldloc.0 + IL_0047: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_004c: ldc.i4.1 + IL_004d: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_0052: unbox.any NAnt.VSNet.ProjectLocation + IL_0057: stloc.1 + IL_0058: leave IL_0080 + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_005d: stloc.2 + IL_005e: nop + IL_005f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0064: ldstr "The value of the \"ProjectType\" attribute ({0}) is not a valid location string." + IL_0069: ldloc.0 + IL_006a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_006f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0074: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0079: ldloc.2 + IL_007a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_007f: throw + } // end handler 0 + IL_0080: ldloc.1 + IL_0081: ret + } // end of method ManagedProjectBase::GetProjectLocation + + .property instance class NAnt.VSNet.ProjectSettings ProjectSettings () { - .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_IsPrivate () + .get instance default class NAnt.VSNet.ProjectSettings NAnt.VSNet.ManagedProjectBase::get_ProjectSettings () } - .property instance bool IsPrivateSpecified () + .property instance string FileExtension () { - .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_IsPrivateSpecified () + .get instance default string NAnt.VSNet.ManagedProjectBase::get_FileExtension () } - .property instance bool CopyLocal () + .property instance bool IsWebProject () { - .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_CopyLocal () + .get instance default bool NAnt.VSNet.ManagedProjectBase::get_IsWebProject () } - .property instance bool IsSystem () + .property instance string Name () { - .get instance default bool NAnt.VSNet.AssemblyReferenceBase::get_IsSystem () + .get instance default string NAnt.VSNet.ManagedProjectBase::get_Name () } - } // end of class NAnt.VSNet.AssemblyReferenceBase -} - -.namespace NAnt.VSNet -{ - .class public auto ansi abstract beforefieldinit ReferenceBase + .property instance string ProjectPath () + { + .get instance default string NAnt.VSNet.ManagedProjectBase::get_ProjectPath () + } + .property instance class [mscorlib]System.IO.DirectoryInfo ProjectDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.ManagedProjectBase::get_ProjectDirectory () + } + .property instance valuetype NAnt.VSNet.ProjectLocation ProjectLocation () + { + .get instance default valuetype NAnt.VSNet.ProjectLocation NAnt.VSNet.ManagedProjectBase::get_ProjectLocation () + } + .property instance string Guid () + { + .get instance default string NAnt.VSNet.ManagedProjectBase::get_Guid () + .set instance default void NAnt.VSNet.ManagedProjectBase::set_Guid (string 'value') + } + .property instance class [mscorlib]System.Collections.ArrayList References () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase::get_References () + } + .class nested private auto ansi beforefieldinit LocalizedResourceSet extends [mscorlib]System.Object { - .field private class NAnt.VSNet.ProjectBase _parent - .field private class NAnt.VSNet.ReferencesResolver _referencesResolver + .field private initonly class [mscorlib]System.Globalization.CultureInfo _culture + .field private initonly class [mscorlib]System.Collections.ArrayList _resources - // method line 593 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent) cil managed + // method line 622 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Globalization.CultureInfo culture) cil managed { - // Method begins at RVA 0x51b0 - // Code size 22 (0x16) + // Method begins at RVA 0xc030 + // Code size 44 (0x2c) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ReferenceBase::_referencesResolver - IL_000e: ldarg.0 - IL_000f: ldarg.2 - IL_0010: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ReferenceBase::_parent - IL_0015: ret - } // end of method ReferenceBase::.ctor - - // method line 594 - .method public virtual hidebysig newslot abstract specialname - instance default bool get_CopyLocal () cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::get_CopyLocal - - // method line 595 - .method family virtual hidebysig newslot abstract specialname - instance default bool get_IsSystem () cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::get_IsSystem + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - // method line 596 - .method public virtual hidebysig newslot abstract specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::get_Name + IL_000d: nop + IL_000e: ldstr "culture" + IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0018: throw + IL_0019: ldarg.0 + IL_001a: ldarg.1 + IL_001b: stfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_culture + IL_0020: ldarg.0 + IL_0021: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0026: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_resources + IL_002b: ret + } // end of method LocalizedResourceSet::.ctor - // method line 597 - .method family hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Parent () cil managed + // method line 623 + .method public hidebysig specialname + instance default class [mscorlib]System.Globalization.CultureInfo get_Culture () cil managed { - // Method begins at RVA 0x51c8 + // Method begins at RVA 0xc060 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectBase V_0) + class [mscorlib]System.Globalization.CultureInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ReferenceBase::_parent + IL_0002: ldfld class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_culture IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ReferenceBase::get_Parent - - // method line 598 - .method family hidebysig specialname - instance default class NAnt.VSNet.Tasks.SolutionTask get_SolutionTask () cil managed - { - // Method begins at RVA 0x51e4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class NAnt.VSNet.Tasks.SolutionTask V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0007: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ReferenceBase::get_SolutionTask + } // end of method LocalizedResourceSet::get_Culture - // method line 599 - .method family hidebysig specialname - instance default class NAnt.VSNet.ReferencesResolver get_ReferencesResolver () cil managed + // method line 624 + .method public hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_Resources () cil managed { - // Method begins at RVA 0x5204 + // Method begins at RVA 0xc07c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ReferencesResolver V_0) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ReferenceBase::_referencesResolver + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::_resources IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ReferenceBase::get_ReferencesResolver - - // method line 600 - .method public virtual hidebysig newslot abstract - instance default string GetPrimaryOutputFile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::GetPrimaryOutputFile - - // method line 601 - .method public virtual hidebysig newslot abstract - instance default void GetOutputFiles (class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::GetOutputFiles - - // method line 602 - .method public virtual hidebysig newslot abstract - instance default class [System]System.Collections.Specialized.StringCollection GetAssemblyReferences (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::GetAssemblyReferences - - // method line 603 - .method public virtual hidebysig newslot abstract - instance default valuetype [mscorlib]System.DateTime GetTimestamp (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::GetTimestamp - - // method line 604 - .method public virtual hidebysig newslot abstract - instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x0 - } // end of method ReferenceBase::IsManaged + } // end of method LocalizedResourceSet::get_Resources - // method line 605 - .method family hidebysig - instance default valuetype [mscorlib]System.DateTime GetFileTimestamp (string fileName) cil managed + // method line 625 + .method public hidebysig + instance default class [mscorlib]System.IO.DirectoryInfo GetBuildDirectory (class NAnt.VSNet.ConfigurationSettings projectConfig) cil managed { - // Method begins at RVA 0x5220 - // Code size 38 (0x26) - .maxstack 1 + // Method begins at RVA 0xc098 + // Code size 41 (0x29) + .maxstack 2 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.1 - IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0007: brtrue IL_0018 - - IL_000c: nop - IL_000d: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue - IL_0012: stloc.0 - IL_0013: br IL_0024 - - IL_0018: ldarg.1 - IL_0019: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_001e: stloc.0 - IL_001f: br IL_0024 + IL_0002: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_ObjectDir() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture() + IL_0012: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_001c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0021: stloc.0 + IL_0022: br IL_0027 - IL_0024: ldloc.0 - IL_0025: ret - } // end of method ReferenceBase::GetFileTimestamp + IL_0027: ldloc.0 + IL_0028: ret + } // end of method LocalizedResourceSet::GetBuildDirectory - // method line 606 - .method family hidebysig - instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message) cil managed + // method line 626 + .method public hidebysig + instance default class [mscorlib]System.IO.FileInfo GetSatelliteAssemblyPath (class NAnt.VSNet.ConfigurationSettings projectConfig, class NAnt.VSNet.ProjectSettings projectSettings) cil managed { - // Method begins at RVA 0x5252 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0xc0d0 + // Code size 40 (0x28) + .maxstack 3 + .locals init ( + class [mscorlib]System.IO.DirectoryInfo V_0, + class [mscorlib]System.IO.FileInfo V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_000e: ret - } // end of method ReferenceBase::Log - - // method line 607 - .method family hidebysig - instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message, object[] args) cil managed - { - .param [3] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0002: ldarg.1 + IL_0003: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetBuildDirectory(class NAnt.VSNet.ConfigurationSettings) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_000f: ldarg.0 + IL_0010: ldarg.2 + IL_0011: call instance string class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteFileName(class NAnt.VSNet.ProjectSettings) + IL_0016: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_001b: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0020: stloc.1 + IL_0021: br IL_0026 - // Method begins at RVA 0x5262 - // Code size 16 (0x10) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: ldarg.3 - IL_000a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_000f: ret - } // end of method ReferenceBase::Log + IL_0026: ldloc.1 + IL_0027: ret + } // end of method LocalizedResourceSet::GetSatelliteAssemblyPath - // method line 608 - .method public static hidebysig - default void GetRelatedFiles (string file, class [mscorlib]System.Collections.Hashtable relatedFiles) cil managed + // method line 627 + .method public hidebysig + instance default string GetRelativePath (class NAnt.VSNet.ProjectSettings projectSettings) cil managed { - // Method begins at RVA 0x5274 - // Code size 251 (0xfb) - .maxstack 4 + // Method begins at RVA 0xc104 + // Code size 32 (0x20) + .maxstack 3 .locals init ( - string V_0, - string V_1, - string V_2, - string[] V_3, - int32 V_4, - string V_5) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0007: stloc.0 - IL_0008: ldloc.0 - IL_0009: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_000e: brfalse IL_001e - - IL_0013: ldloc.0 - IL_0014: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0019: brtrue IL_0024 - - IL_001e: nop - IL_001f: br IL_00fa - - IL_0024: ldarg.1 - IL_0025: ldarg.0 - IL_0026: ldarg.0 - IL_0027: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_002c: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0031: ldarg.0 - IL_0032: ldstr ".*" - IL_0037: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_003c: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0041: stloc.1 - IL_0042: nop - IL_0043: ldarg.0 - IL_0044: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0049: ldloc.1 - IL_004a: call string[] class [mscorlib]System.IO.Directory::GetFiles(string, string) - IL_004f: stloc.3 - IL_0050: ldc.i4.0 - IL_0051: stloc.s 4 - IL_0053: br IL_00f0 - - IL_0058: ldloc.3 - IL_0059: ldloc.s 4 - IL_005b: ldelem.ref - IL_005c: stloc.2 - IL_005d: nop - IL_005e: ldloc.2 - IL_005f: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0064: ldarg.0 - IL_0065: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_006a: ldc.i4.1 - IL_006b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0070: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0075: brfalse IL_0080 - - IL_007a: nop - IL_007b: br IL_00ea - - IL_0080: ldloc.2 - IL_0081: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_0086: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_008b: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0090: stloc.s 5 - IL_0092: ldloc.s 5 - IL_0094: ldstr ".dll" - IL_0099: call bool string::op_Inequality(string, string) - IL_009e: brfalse IL_00dc - - IL_00a3: ldloc.s 5 - IL_00a5: ldstr ".xml" - IL_00aa: call bool string::op_Inequality(string, string) - IL_00af: brfalse IL_00dc - - IL_00b4: ldloc.s 5 - IL_00b6: ldstr ".pdb" - IL_00bb: call bool string::op_Inequality(string, string) - IL_00c0: brfalse IL_00dc - - IL_00c5: ldloc.s 5 - IL_00c7: ldstr ".mdb" - IL_00cc: call bool string::op_Inequality(string, string) - IL_00d1: brfalse IL_00dc - - IL_00d6: nop - IL_00d7: br IL_00ea + IL_0002: call instance class [mscorlib]System.Globalization.CultureInfo class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture() + IL_0007: callvirt instance string class [mscorlib]System.Globalization.CultureInfo::get_Name() + IL_000c: ldarg.0 + IL_000d: ldarg.1 + IL_000e: call instance string class NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::GetSatelliteFileName(class NAnt.VSNet.ProjectSettings) + IL_0013: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0018: stloc.0 + IL_0019: br IL_001e - IL_00dc: ldarg.1 - IL_00dd: ldloc.2 - IL_00de: ldloc.2 - IL_00df: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_00e4: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00e9: nop - IL_00ea: ldloc.s 4 - IL_00ec: ldc.i4.1 - IL_00ed: add - IL_00ee: stloc.s 4 - IL_00f0: ldloc.s 4 - IL_00f2: ldloc.3 - IL_00f3: ldlen - IL_00f4: conv.i4 - IL_00f5: blt IL_0058 + IL_001e: ldloc.0 + IL_001f: ret + } // end of method LocalizedResourceSet::GetRelativePath - IL_00fa: ret - } // end of method ReferenceBase::GetRelatedFiles + // method line 628 + .method private hidebysig + instance default string GetSatelliteFileName (class NAnt.VSNet.ProjectSettings projectSettings) cil managed + { + // Method begins at RVA 0xc130 + // Code size 30 (0x1e) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldstr "{0}.resources.dll" + IL_000b: ldarg.1 + IL_000c: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyName() + IL_0011: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0016: stloc.0 + IL_0017: br IL_001c - .property instance bool CopyLocal () - { - .get instance default bool NAnt.VSNet.ReferenceBase::get_CopyLocal () - } - .property instance bool IsSystem () - { - .get instance default bool NAnt.VSNet.ReferenceBase::get_IsSystem () - } - .property instance string Name () - { - .get instance default string NAnt.VSNet.ReferenceBase::get_Name () - } - .property instance class NAnt.VSNet.ProjectBase Parent () - { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ReferenceBase::get_Parent () - } - .property instance class NAnt.VSNet.Tasks.SolutionTask SolutionTask () + IL_001c: ldloc.0 + IL_001d: ret + } // end of method LocalizedResourceSet::GetSatelliteFileName + + .property instance class [mscorlib]System.Globalization.CultureInfo Culture () { - .get instance default class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.ReferenceBase::get_SolutionTask () + .get instance default class [mscorlib]System.Globalization.CultureInfo NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Culture () } - .property instance class NAnt.VSNet.ReferencesResolver ReferencesResolver () + .property instance class [mscorlib]System.Collections.ArrayList Resources () { - .get instance default class NAnt.VSNet.ReferencesResolver NAnt.VSNet.ReferenceBase::get_ReferencesResolver () + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ManagedProjectBase/LocalizedResourceSet::get_Resources () } - } // end of class NAnt.VSNet.ReferenceBase + } // end of class LocalizedResourceSet + + } // end of class NAnt.VSNet.ManagedProjectBase } .namespace NAnt.VSNet { - .class public auto ansi beforefieldinit VcWrapperReference - extends NAnt.VSNet.WrapperReferenceBase + .class public auto ansi sealed ManagedOutputType + extends [mscorlib]System.Enum { - .field private initonly string _name - .field private initonly string _wrapperTool - .field private initonly string _wrapperAssembly - .field private initonly string _primaryInteropAssembly + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.ManagedOutputType Library = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.ManagedOutputType Executable = int32(0x00000002) + .field public static literal valuetype NAnt.VSNet.ManagedOutputType WindowsExecutable = int32(0x00000003) - // method line 609 + } // end of class NAnt.VSNet.ManagedOutputType +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit ManagedProjectReference + extends NAnt.VSNet.ProjectReferenceBase + { + .field private initonly class NAnt.VSNet.ProjectBase _project + .field private initonly bool _isPrivateSpecified + .field private initonly bool _isPrivate + + // method line 629 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class NAnt.VSNet.SolutionBase solution, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x13878 - // Code size 150 (0x96) - .maxstack 5 + // Method begins at RVA 0x12d24 + // Code size 174 (0xae) + .maxstack 7 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0) + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1) IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.VSNet.VcWrapperReference::_name - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldarg.2 - IL_000e: ldarg.3 - IL_000f: ldarg.s 4 - IL_0011: call instance void class NAnt.VSNet.WrapperReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: ldarg.0 - IL_0019: ldarg.0 - IL_001a: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() - IL_001f: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibraryName(string) - IL_0024: stfld string NAnt.VSNet.VcWrapperReference::_name - IL_0029: ldarg.0 - IL_002a: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_002f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0034: ldstr "WrapperTool" - IL_0039: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_003e: stloc.0 - IL_003f: ldloc.0 - IL_0040: brtrue IL_0071 + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) + IL_0008: nop + IL_0009: ldarg.1 + IL_000a: brtrue IL_001b - IL_0045: nop - IL_0046: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004b: ldstr "Wrapper tool for reference \"{0}\" in project \"{1}\" could not be determined." - IL_0050: ldarg.0 - IL_0051: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0056: ldarg.0 - IL_0057: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_005c: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0061: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0066: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_006b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0070: throw - IL_0071: ldarg.0 - IL_0072: ldloc.0 - IL_0073: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0078: stfld string NAnt.VSNet.VcWrapperReference::_wrapperTool - IL_007d: ldarg.0 - IL_007e: ldarg.0 - IL_007f: call instance string class NAnt.VSNet.WrapperReferenceBase::GetPrimaryInteropAssembly() - IL_0084: stfld string NAnt.VSNet.VcWrapperReference::_primaryInteropAssembly - IL_0089: ldarg.0 - IL_008a: ldarg.0 - IL_008b: call instance string class NAnt.VSNet.WrapperReferenceBase::ResolveWrapperAssembly() - IL_0090: stfld string NAnt.VSNet.VcWrapperReference::_wrapperAssembly - IL_0095: ret - } // end of method VcWrapperReference::.ctor + IL_000f: nop + IL_0010: ldstr "xmlDefinition" + IL_0015: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001a: throw + IL_001b: ldarg.s 4 + IL_001d: brtrue IL_002e - // method line 610 + IL_0022: nop + IL_0023: ldstr "solution" + IL_0028: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002d: throw + IL_002e: ldarg.s 5 + IL_0030: brtrue IL_0041 + + IL_0035: nop + IL_0036: ldstr "tfc" + IL_003b: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0040: throw + IL_0041: ldarg.s 6 + IL_0043: brtrue IL_0054 + + IL_0048: nop + IL_0049: ldstr "gacCache" + IL_004e: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0053: throw + IL_0054: ldarg.1 + IL_0055: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_005a: ldstr "Private" + IL_005f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: brfalse IL_0085 + + IL_006b: nop + IL_006c: ldarg.0 + IL_006d: ldc.i4.1 + IL_006e: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivateSpecified + IL_0073: ldarg.0 + IL_0074: ldloc.0 + IL_0075: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_007a: call bool bool::Parse(string) + IL_007f: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivate + IL_0084: nop + IL_0085: ldarg.s 4 + IL_0087: ldarg.1 + IL_0088: ldstr "Project" + IL_008d: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0092: callvirt instance string class NAnt.VSNet.SolutionBase::GetProjectFileFromGuid(string) + IL_0097: stloc.1 + IL_0098: ldarg.0 + IL_0099: ldarg.0 + IL_009a: ldarg.s 4 + IL_009c: ldarg.s 5 + IL_009e: ldarg.s 6 + IL_00a0: ldarg.s 7 + IL_00a2: ldloc.1 + IL_00a3: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::LoadProject(class NAnt.VSNet.SolutionBase, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class [mscorlib]System.IO.DirectoryInfo, string) + IL_00a8: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::_project + IL_00ad: ret + } // end of method ManagedProjectReference::.ctor + + // method line 630 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.ProjectBase project, class NAnt.VSNet.ProjectBase parent, bool isPrivateSpecified, bool isPrivate) cil managed + { + // Method begins at RVA 0x12dde + // Code size 37 (0x25) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: callvirt instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ProjectBase::get_ReferencesResolver() + IL_0007: ldarg.2 + IL_0008: call instance void class NAnt.VSNet.ProjectReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) + IL_000d: nop + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::_project + IL_0015: ldarg.0 + IL_0016: ldarg.3 + IL_0017: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivateSpecified + IL_001c: ldarg.0 + IL_001d: ldarg.s 4 + IL_001f: stfld bool NAnt.VSNet.ManagedProjectReference::_isPrivate + IL_0024: ret + } // end of method ManagedProjectReference::.ctor + + // method line 631 .method public virtual hidebysig specialname - instance default string get_Name () cil managed + instance default class NAnt.VSNet.ProjectBase get_Project () cil managed { - // Method begins at RVA 0x1391c + // Method begins at RVA 0x12e04 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.VSNet.ProjectBase V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_name + IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::_project IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VcWrapperReference::get_Name + } // end of method ManagedProjectReference::get_Project - // method line 611 - .method public virtual hidebysig specialname - instance default string get_WrapperTool () cil managed + // method line 632 + .method family virtual hidebysig specialname + instance default bool get_IsPrivate () cil managed { - // Method begins at RVA 0x13938 + // Method begins at RVA 0x12e20 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_wrapperTool + IL_0002: ldfld bool NAnt.VSNet.ManagedProjectReference::_isPrivate IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VcWrapperReference::get_WrapperTool + } // end of method ManagedProjectReference::get_IsPrivate - // method line 612 - .method public virtual hidebysig specialname - instance default string get_WrapperAssembly () cil managed + // method line 633 + .method family virtual hidebysig specialname + instance default bool get_IsPrivateSpecified () cil managed { - // Method begins at RVA 0x13954 + // Method begins at RVA 0x12e3c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_wrapperAssembly + IL_0002: ldfld bool NAnt.VSNet.ManagedProjectReference::_isPrivateSpecified IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VcWrapperReference::get_WrapperAssembly + } // end of method ManagedProjectReference::get_IsPrivateSpecified - // method line 613 - .method family virtual hidebysig specialname - instance default string get_PrimaryInteropAssembly () cil managed + // method line 634 + .method public virtual hidebysig + instance default bool IsManaged (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x13970 - // Code size 15 (0xf) + // Method begins at RVA 0x12e58 + // Code size 10 (0xa) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcWrapperReference::_primaryInteropAssembly - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcWrapperReference::get_PrimaryInteropAssembly + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ManagedProjectReference::IsManaged - // method line 614 - .method family virtual hidebysig specialname - instance default string get_TypeLibVersion () cil managed + .property instance class NAnt.VSNet.ProjectBase Project () + { + .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ManagedProjectReference::get_Project () + } + .property instance bool IsPrivate () + { + .get instance default bool NAnt.VSNet.ManagedProjectReference::get_IsPrivate () + } + .property instance bool IsPrivateSpecified () + { + .get instance default bool NAnt.VSNet.ManagedProjectReference::get_IsPrivateSpecified () + } + } // end of class NAnt.VSNet.ManagedProjectReference +} + +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit VcAssemblyReference + extends NAnt.VSNet.AssemblyReferenceBase + { + .field private string _assemblyFile + .field private initonly bool _isPrivateSpecified + .field private initonly bool _isPrivate + .field private initonly string _name + .field private initonly class [System]System.Text.RegularExpressions.Regex _rxMacro + + // method line 635 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed { - // Method begins at RVA 0x1398c - // Code size 111 (0x6f) - .maxstack 4 + // Method begins at RVA 0x12e70 + // Code size 148 (0x94) + .maxstack 5 .locals init ( class [System.Xml]System.Xml.XmlAttribute V_0, - class [mscorlib]System.Version V_1, - int32 V_2, - int32 V_3, - string V_4) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_000c: ldstr "ControlVersion" - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brtrue IL_0029 + class [System.Xml]System.Xml.XmlAttribute V_1) + IL_0000: ldarg.0 + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stfld string NAnt.VSNet.VcAssemblyReference::_name + IL_000b: ldarg.0 + IL_000c: ldstr "\\$\\((\\w+)\\)" + IL_0011: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_0016: stfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.VcAssemblyReference::_rxMacro + IL_001b: ldarg.0 + IL_001c: ldarg.1 + IL_001d: ldarg.2 + IL_001e: ldarg.3 + IL_001f: ldarg.s 4 + IL_0021: call instance void class NAnt.VSNet.AssemblyReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_002d: ldstr "CopyLocal" + IL_0032: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0037: stloc.0 + IL_0038: ldloc.0 + IL_0039: brfalse IL_0058 - IL_001d: nop - IL_001e: ldstr "The definition of the reference does not contain a \"ControlVersion\" attribute." - IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0028: throw - IL_0029: ldloc.0 - IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_002f: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0034: stloc.1 - IL_0035: ldloc.1 - IL_0036: callvirt instance int32 class [mscorlib]System.Version::get_Major() - IL_003b: stloc.2 - IL_003c: ldloca.s 2 - IL_003e: ldstr "x" - IL_0043: call instance string int32::ToString(string) - IL_0048: ldstr "." - IL_004d: ldloc.1 - IL_004e: callvirt instance int32 class [mscorlib]System.Version::get_Minor() - IL_0053: stloc.3 - IL_0054: ldloca.s 3 - IL_0056: ldstr "x" - IL_005b: call instance string int32::ToString(string) - IL_0060: call string string::Concat(string, string, string) - IL_0065: stloc.s 4 - IL_0067: br IL_006c + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: ldc.i4.1 + IL_0041: stfld bool NAnt.VSNet.VcAssemblyReference::_isPrivateSpecified + IL_0046: ldarg.0 + IL_0047: ldloc.0 + IL_0048: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_004d: call bool bool::Parse(string) + IL_0052: stfld bool NAnt.VSNet.VcAssemblyReference::_isPrivate + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_005e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0063: ldstr "RelativePath" + IL_0068: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_006d: stloc.1 + IL_006e: ldloc.1 + IL_006f: brfalse IL_0087 - IL_006c: ldloc.s 4 - IL_006e: ret - } // end of method VcWrapperReference::get_TypeLibVersion + IL_0074: nop + IL_0075: ldarg.0 + IL_0076: ldloc.1 + IL_0077: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_007c: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0081: stfld string NAnt.VSNet.VcAssemblyReference::_name + IL_0086: nop + IL_0087: ldarg.0 + IL_0088: ldarg.0 + IL_0089: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() + IL_008e: stfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile + IL_0093: ret + } // end of method VcAssemblyReference::.ctor - // method line 615 + // method line 636 .method family virtual hidebysig specialname - instance default string get_TypeLibGuid () cil managed + instance default bool get_IsPrivate () cil managed { - // Method begins at RVA 0x13a08 - // Code size 55 (0x37) - .maxstack 2 + // Method begins at RVA 0x12f10 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_000c: ldstr "ControlGUID" - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brtrue IL_0029 - - IL_001d: nop - IL_001e: ldstr "The definition of the reference does not contain a \"ControlGUID\" attribute." - IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0028: throw - IL_0029: ldloc.0 - IL_002a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_002f: stloc.1 - IL_0030: br IL_0035 + IL_0002: ldfld bool NAnt.VSNet.VcAssemblyReference::_isPrivate + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0035: ldloc.1 - IL_0036: ret - } // end of method VcWrapperReference::get_TypeLibGuid + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcAssemblyReference::get_IsPrivate - // method line 616 + // method line 637 .method family virtual hidebysig specialname - instance default string get_TypeLibLocale () cil managed + instance default bool get_IsPrivateSpecified () cil managed { - // Method begins at RVA 0x13a4c - // Code size 73 (0x49) - .maxstack 2 + // Method begins at RVA 0x12f2c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - int32 V_1, - string V_2) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_000c: ldstr "ControlLocale" - IL_0011: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0016: stloc.0 - IL_0017: ldloc.0 - IL_0018: brfalse IL_003c - - IL_001d: nop - IL_001e: ldloc.0 - IL_001f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0024: call int32 int32::Parse(string) - IL_0029: stloc.1 - IL_002a: ldloca.s 1 - IL_002c: ldstr "x" - IL_0031: call instance string int32::ToString(string) - IL_0036: stloc.2 - IL_0037: br IL_0047 - - IL_003c: ldstr "0" - IL_0041: stloc.2 - IL_0042: br IL_0047 + IL_0002: ldfld bool NAnt.VSNet.VcAssemblyReference::_isPrivateSpecified + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0047: ldloc.2 - IL_0048: ret - } // end of method VcWrapperReference::get_TypeLibLocale + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcAssemblyReference::get_IsPrivateSpecified - // method line 617 + // method line 638 .method family virtual hidebysig - instance default void ImportTypeLibrary () cil managed + instance default string ResolveAssemblyReference () cil managed { - // Method begins at RVA 0x13aa4 - // Code size 298 (0x12a) - .maxstack 2 + // Method begins at RVA 0x12f48 + // Code size 215 (0xd7) + .maxstack 4 .locals init ( - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask V_0, - class NAnt.VSNet.ReferenceBase V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class NAnt.VSNet.WrapperReferenceBase V_3, - class [mscorlib]System.IDisposable V_4) + string V_0, + class [System.Xml]System.Xml.XmlElement V_1, + string V_2, + string V_3, + string V_4) IL_0000: nop - IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0024: ldloc.0 - IL_0025: ldarg.0 - IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0046: ldloc.0 - IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_004c: ldloc.0 - IL_004d: ldarg.0 - IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() - IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_TypeLib(class [mscorlib]System.IO.FileInfo) - IL_005d: ldloc.0 - IL_005e: ldarg.0 - IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_006e: nop - IL_006f: ldarg.0 - IL_0070: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0075: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_007a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_007f: stloc.2 - .try { // 0 - IL_0080: br IL_00dd + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile + IL_0007: brfalse IL_002b - IL_0085: ldloc.2 - IL_0086: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_008b: castclass NAnt.VSNet.ReferenceBase - IL_0090: stloc.1 - IL_0091: nop - IL_0092: ldloc.1 - IL_0093: isinst NAnt.VSNet.WrapperReferenceBase - IL_0098: stloc.3 - IL_0099: ldloc.3 - IL_009a: brfalse IL_00bf + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile + IL_0013: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0018: brfalse IL_002a - IL_009f: ldloc.3 - IL_00a0: callvirt instance bool class NAnt.VSNet.WrapperReferenceBase::get_IsCreated() - IL_00a5: brfalse IL_00bf + IL_001d: nop + IL_001e: ldarg.0 + IL_001f: ldfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile + IL_0024: stloc.0 + IL_0025: br IL_00d5 - IL_00aa: ldloc.3 - IL_00ab: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperTool() - IL_00b0: ldstr "tlbimp" - IL_00b5: call bool string::op_Inequality(string, string) - IL_00ba: brfalse IL_00c5 + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() + IL_0031: stloc.1 + IL_0032: ldnull + IL_0033: stloc.2 + IL_0034: ldloc.1 + IL_0035: ldstr "RelativePath" + IL_003a: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_003f: stloc.3 + IL_0040: ldloc.3 + IL_0041: brtrue IL_0057 - IL_00bf: nop - IL_00c0: leave IL_00dd + IL_0046: nop + IL_0047: ldstr "For Visual C++ projects only assembly references using relative paths are supported." + IL_004c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0051: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0056: throw + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: ldfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.VcAssemblyReference::_rxMacro + IL_005e: ldloc.3 + IL_005f: ldarg.0 + IL_0060: ldftn instance string class NAnt.VSNet.VcAssemblyReference::EvaluateMacro(class [System]System.Text.RegularExpressions.Match) + IL_0066: newobj instance void class [System]System.Text.RegularExpressions.MatchEvaluator::'.ctor'(object, native int) + IL_006b: callvirt instance string class [System]System.Text.RegularExpressions.Regex::Replace(string, class [System]System.Text.RegularExpressions.MatchEvaluator) + IL_0070: stloc.2 + IL_0071: ldloc.2 + IL_0072: ldstr "{ReferencesPath}\\" + IL_0077: ldsfld string [mscorlib]System.String::Empty + IL_007c: callvirt instance string string::Replace(string, string) + IL_0081: stloc.2 + IL_0082: nop + IL_0083: ldloc.2 + IL_0084: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0089: brfalse IL_0096 - IL_00c5: ldloc.0 - IL_00c6: callvirt instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class [NAnt.Win32Tasks]NAnt.Win32.Tasks.TlbImpTask::get_References() - IL_00cb: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_00d0: ldloc.3 - IL_00d1: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_00d6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00db: pop - IL_00dc: nop - IL_00dd: ldloc.2 - IL_00de: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00e3: brtrue IL_0085 + IL_008e: nop + IL_008f: ldloc.2 + IL_0090: stloc.0 + IL_0091: br IL_00d5 - IL_00e8: leave IL_0103 + IL_0096: ldarg.0 + IL_0097: ldloc.2 + IL_0098: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFramework(string) + IL_009d: stloc.s 4 + IL_009f: ldloc.s 4 + IL_00a1: brfalse IL_00af - } // end .try 0 - finally { // 0 - IL_00ed: ldloc.2 - IL_00ee: isinst [mscorlib]System.IDisposable - IL_00f3: dup - IL_00f4: stloc.s 4 - IL_00f6: brfalse IL_0102 + IL_00a6: nop + IL_00a7: ldloc.s 4 + IL_00a9: stloc.0 + IL_00aa: br IL_00d5 - IL_00fb: ldloc.s 4 - IL_00fd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0102: endfinally - } // end handler 0 - IL_0103: ldloc.0 - IL_0104: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0109: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 1 - IL_010e: nop - IL_010f: ldloc.0 - IL_0110: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0115: nop - IL_0116: leave IL_0129 + IL_00af: ldarg.0 + IL_00b0: ldloc.1 + IL_00b1: ldloc.2 + IL_00b2: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_00b7: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromAssemblyFolders(class [System.Xml]System.Xml.XmlElement, string) + IL_00bc: stloc.s 4 + IL_00be: ldloc.s 4 + IL_00c0: brfalse IL_00ce - } // end .try 1 - finally { // 1 - IL_011b: nop - IL_011c: ldloc.0 - IL_011d: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0122: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_0127: nop - IL_0128: endfinally - } // end handler 1 - IL_0129: ret - } // end of method VcWrapperReference::ImportTypeLibrary + IL_00c5: nop + IL_00c6: ldloc.s 4 + IL_00c8: stloc.0 + IL_00c9: br IL_00d5 - // method line 618 - .method family virtual hidebysig - instance default void ImportActiveXLibrary () cil managed + IL_00ce: ldnull + IL_00cf: stloc.0 + IL_00d0: br IL_00d5 + + IL_00d5: ldloc.0 + IL_00d6: ret + } // end of method VcAssemblyReference::ResolveAssemblyReference + + // method line 639 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x13bf8 - // Code size 232 (0xe8) - .maxstack 4 + // Method begins at RVA 0x1302c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask V_0, - string V_1) + string V_0) IL_0000: nop - IL_0001: newobj instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_001a: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001f: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0024: ldloc.0 - IL_0025: ldarg.0 - IL_0026: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_002b: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_003c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0046: ldloc.0 - IL_0047: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_004c: ldloc.0 - IL_004d: ldarg.0 - IL_004e: call instance string class NAnt.VSNet.WrapperReferenceBase::GetTypeLibrary() - IL_0053: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0058: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OcxFile(class [mscorlib]System.IO.FileInfo) - IL_005d: ldloc.0 - IL_005e: ldarg.0 - IL_005f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_WrapperAssembly() - IL_0064: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0069: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_OutputFile(class [mscorlib]System.IO.FileInfo) - IL_006e: ldarg.0 - IL_006f: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_PrimaryInteropAssembly() - IL_0074: stloc.1 - IL_0075: ldloc.1 - IL_0076: brtrue IL_00a8 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcAssemblyReference::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0082: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ObjectDir() - IL_0087: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_008c: ldstr "Interop." - IL_0091: ldarg.0 - IL_0092: callvirt instance string class NAnt.VSNet.WrapperReferenceBase::get_TypeLibraryName() - IL_0097: ldstr ".dll" - IL_009c: call string string::Concat(string, string, string) - IL_00a1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00a6: stloc.1 - IL_00a7: nop - IL_00a8: ldloc.1 - IL_00a9: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00ae: brfalse IL_00c1 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcAssemblyReference::get_Name - IL_00b3: nop - IL_00b4: ldloc.0 - IL_00b5: ldloc.1 - IL_00b6: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_00bb: callvirt instance void class [NAnt.Win32Tasks]NAnt.Win32.Tasks.AxImpTask::set_RcwFile(class [mscorlib]System.IO.FileInfo) - IL_00c0: nop - IL_00c1: ldloc.0 - IL_00c2: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00c7: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 0 - IL_00cc: nop - IL_00cd: ldloc.0 - IL_00ce: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_00d3: nop - IL_00d4: leave IL_00e7 + // method line 640 + .method private hidebysig + instance default string EvaluateMacro (class [System]System.Text.RegularExpressions.Match m) cil managed + { + // Method begins at RVA 0x13048 + // Code size 119 (0x77) + .maxstack 5 + .locals init ( + string V_0, + string V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0007: ldc.i4.1 + IL_0008: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) + IL_000d: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0012: stloc.0 + IL_0013: ldarg.0 + IL_0014: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() + IL_0019: ldloc.0 + IL_001a: callvirt instance string class NAnt.VSNet.Tasks.SolutionTask::ExpandMacro(string) + IL_001f: stloc.1 + IL_0020: ldloc.1 + IL_0021: brfalse IL_002e - } // end .try 0 - finally { // 0 - IL_00d9: nop - IL_00da: ldloc.0 - IL_00db: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00e0: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_00e5: nop - IL_00e6: endfinally - } // end handler 0 - IL_00e7: ret - } // end of method VcWrapperReference::ImportActiveXLibrary + IL_0026: nop + IL_0027: ldloc.1 + IL_0028: stloc.2 + IL_0029: br IL_0075 - .property instance string Name () - { - .get instance default string NAnt.VSNet.VcWrapperReference::get_Name () - } - .property instance string WrapperTool () - { - .get instance default string NAnt.VSNet.VcWrapperReference::get_WrapperTool () - } - .property instance string WrapperAssembly () - { - .get instance default string NAnt.VSNet.VcWrapperReference::get_WrapperAssembly () - } - .property instance string PrimaryInteropAssembly () - { - .get instance default string NAnt.VSNet.VcWrapperReference::get_PrimaryInteropAssembly () - } - .property instance string TypeLibVersion () + IL_002e: ldarg.0 + IL_002f: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0034: ldloc.0 + IL_0035: callvirt instance string class NAnt.VSNet.ProjectBase::ExpandMacro(string) + IL_003a: stloc.1 + IL_003b: ldloc.1 + IL_003c: brfalse IL_0049 + + IL_0041: nop + IL_0042: ldloc.1 + IL_0043: stloc.2 + IL_0044: br IL_0075 + + IL_0049: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004e: ldstr "Macro \"{0}\", used by assembly reference \"{1}\" in project \"{2}\" is not supported in assembly references." + IL_0053: ldloc.0 + IL_0054: ldarg.0 + IL_0055: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_005a: ldarg.0 + IL_005b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() + IL_0060: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_006a: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_006f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0074: throw + IL_0075: ldloc.2 + IL_0076: ret + } // end of method VcAssemblyReference::EvaluateMacro + + .property instance bool IsPrivate () { - .get instance default string NAnt.VSNet.VcWrapperReference::get_TypeLibVersion () + .get instance default bool NAnt.VSNet.VcAssemblyReference::get_IsPrivate () } - .property instance string TypeLibGuid () + .property instance bool IsPrivateSpecified () { - .get instance default string NAnt.VSNet.VcWrapperReference::get_TypeLibGuid () + .get instance default bool NAnt.VSNet.VcAssemblyReference::get_IsPrivateSpecified () } - .property instance string TypeLibLocale () + .property instance string Name () { - .get instance default string NAnt.VSNet.VcWrapperReference::get_TypeLibLocale () + .get instance default string NAnt.VSNet.VcAssemblyReference::get_Name () } - } // end of class NAnt.VSNet.VcWrapperReference + } // end of class NAnt.VSNet.VcAssemblyReference } .namespace NAnt.VSNet { - .class private auto ansi sealed beforefieldinit SolutionFactory + .class public auto ansi beforefieldinit WebDavClient extends [mscorlib]System.Object { - .field private initonly class [mscorlib]System.Collections.ArrayList _projectProviders + .field private string _webProjectBaseUrl - // method line 619 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 641 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [System]System.Uri uriBase) cil managed { - // Method begins at RVA 0x13cfc - // Code size 19 (0x13) + // Method begins at RVA 0x130cb + // Code size 20 (0x14) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.SolutionFactory::_projectProviders - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: nop - IL_0012: ret - } // end of method SolutionFactory::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: callvirt instance string object::ToString() + IL_000e: stfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl + IL_0013: ret + } // end of method WebDavClient::.ctor - // method line 620 - .method assembly static hidebysig - default class NAnt.VSNet.SolutionFactory Create () cil managed + // method line 642 + .method public hidebysig + instance default void UploadFile (string localFileName, string remoteFileName) cil managed { - // Method begins at RVA 0x13d10 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x130e0 + // Code size 276 (0x114) + .maxstack 4 .locals init ( - class NAnt.VSNet.SolutionFactory V_0) + class [System]System.Net.WebRequest V_0, + class [mscorlib]System.IO.FileInfo V_1, + int32 V_2, + unsigned int8[] V_3, + class [mscorlib]System.IO.FileStream V_4, + class [mscorlib]System.IO.Stream V_5, + int32 V_6, + class [System]System.Net.WebResponse V_7, + class [System]System.Net.WebException V_8, + class [System]System.Net.HttpWebResponse V_9) IL_0000: nop - IL_0001: newobj instance void class NAnt.VSNet.SolutionFactory::'.ctor'() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl + IL_0007: ldstr "/" + IL_000c: ldarg.2 + IL_000d: call string string::Concat(string, string, string) + IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldstr "PUT" + IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) + IL_0023: ldloc.0 + IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() + IL_0029: ldstr "Translate: f" + IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) + IL_0033: ldloc.0 + IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() + IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) + IL_003e: ldarg.1 + IL_003f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0044: stloc.1 + IL_0045: ldloc.0 + IL_0046: ldloc.1 + IL_0047: callvirt instance int64 class [mscorlib]System.IO.FileInfo::get_Length() + IL_004c: callvirt instance void class [System]System.Net.WebRequest::set_ContentLength(int64) + IL_0051: ldc.i4 102400 + IL_0056: stloc.2 + IL_0057: ldloc.2 + IL_0058: newarr [mscorlib]System.Byte + IL_005d: stloc.3 + IL_005e: ldloc.1 + IL_005f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0064: ldc.i4.3 + IL_0065: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) + IL_006a: stloc.s 4 + .try { // 1 + IL_006c: nop + IL_006d: ldloc.0 + IL_006e: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebRequest::GetRequestStream() + IL_0073: stloc.s 5 + .try { // 0 + IL_0075: nop + IL_0076: nop + IL_0077: ldloc.s 4 + IL_0079: ldloc.3 + IL_007a: ldc.i4.0 + IL_007b: ldloc.2 + IL_007c: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) + IL_0081: stloc.s 6 + IL_0083: ldloc.s 5 + IL_0085: ldloc.3 + IL_0086: ldc.i4.0 + IL_0087: ldloc.s 6 + IL_0089: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_008e: nop + IL_008f: ldloc.s 6 + IL_0091: ldc.i4.0 + IL_0092: bgt IL_0076 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method SolutionFactory::Create + IL_0097: nop + IL_0098: leave IL_00ac + + } // end .try 0 + finally { // 0 + IL_009d: ldloc.s 5 + IL_009f: brfalse IL_00ab + + IL_00a4: ldloc.s 5 + IL_00a6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00ab: endfinally + } // end handler 0 + IL_00ac: nop + IL_00ad: leave IL_00c1 + + } // end .try 1 + finally { // 1 + IL_00b2: ldloc.s 4 + IL_00b4: brfalse IL_00c0 + + IL_00b9: ldloc.s 4 + IL_00bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c0: endfinally + } // end handler 1 + IL_00c1: ldnull + IL_00c2: stloc.3 + .try { // 3 + IL_00c3: nop + IL_00c4: ldloc.0 + IL_00c5: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_00ca: stloc.s 7 + .try { // 2 + IL_00cc: nop + IL_00cd: nop + IL_00ce: leave IL_00e2 + + } // end .try 2 + finally { // 2 + IL_00d3: ldloc.s 7 + IL_00d5: brfalse IL_00e1 + + IL_00da: ldloc.s 7 + IL_00dc: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00e1: endfinally + } // end handler 2 + IL_00e2: nop + IL_00e3: leave IL_0113 + + } // end .try 3 + catch class [System]System.Net.WebException { // 3 + IL_00e8: stloc.s 8 + IL_00ea: nop + IL_00eb: ldloc.s 8 + IL_00ed: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebException::get_Response() + IL_00f2: castclass [System]System.Net.HttpWebResponse + IL_00f7: stloc.s 9 + IL_00f9: ldloc.s 9 + IL_00fb: callvirt instance valuetype [System]System.Net.HttpStatusCode class [System]System.Net.HttpWebResponse::get_StatusCode() + IL_0100: ldc.i4 423 + IL_0105: beq IL_010d + + IL_010a: nop + IL_010b: rethrow + IL_010d: nop + IL_010e: leave IL_0113 + + } // end handler 3 + IL_0113: ret + } // end of method WebDavClient::UploadFile - // method line 621 + // method line 643 .method public hidebysig - instance default class NAnt.VSNet.SolutionBase LoadSolution (class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + instance default void DeleteFile (string localFileName, string remoteFileName) cil managed { - // Method begins at RVA 0x13d2c - // Code size 147 (0x93) - .maxstack 6 + // Method begins at RVA 0x13234 + // Code size 90 (0x5a) + .maxstack 3 .locals init ( - class NAnt.VSNet.SolutionBase V_0, - string V_1, - class [mscorlib]System.IO.StreamReader V_2, - class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_3) + class [System]System.Net.WebRequest V_0, + class [System]System.Net.WebResponse V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0007: brtrue IL_001d - - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: ldarg.2 - IL_000f: ldarg.3 - IL_0010: ldarg.s 4 - IL_0012: newobj instance void class NAnt.VSNet.GenericSolution::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl + IL_0007: ldstr "/" + IL_000c: ldarg.2 + IL_000d: call string string::Concat(string, string, string) + IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) IL_0017: stloc.0 - IL_0018: br IL_0091 - - IL_001d: nop - IL_001e: ldarg.1 - IL_001f: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0024: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0029: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_002e: ldc.i4.1 - IL_002f: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_0034: stloc.2 + IL_0018: ldloc.0 + IL_0019: ldstr "DELETE" + IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) + IL_0023: ldloc.0 + IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() + IL_0029: ldstr "Translate: f" + IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) + IL_0033: ldloc.0 + IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() + IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) + IL_003e: ldloc.0 + IL_003f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_0044: stloc.1 .try { // 0 - IL_0035: nop - IL_0036: ldloc.2 - IL_0037: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_003c: stloc.1 - IL_003d: nop - IL_003e: leave IL_0050 + IL_0045: nop + IL_0046: nop + IL_0047: leave IL_0059 } // end .try 0 finally { // 0 - IL_0043: ldloc.2 - IL_0044: brfalse IL_004f + IL_004c: ldloc.1 + IL_004d: brfalse IL_0058 - IL_0049: ldloc.2 - IL_004a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_004f: endfinally + IL_0052: ldloc.1 + IL_0053: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0058: endfinally } // end handler 0 - IL_0050: ldarg.0 - IL_0051: ldloc.1 - IL_0052: call instance class NAnt.VSNet.Extensibility.ISolutionBuildProvider class NAnt.VSNet.SolutionFactory::FindProvider(string) - IL_0057: stloc.3 - IL_0058: ldloc.3 - IL_0059: brfalse IL_0071 - - IL_005e: nop - IL_005f: ldloc.3 - IL_0060: ldloc.1 - IL_0061: ldarg.1 - IL_0062: ldarg.2 - IL_0063: ldarg.3 - IL_0064: ldarg.s 4 - IL_0066: callvirt instance class NAnt.VSNet.SolutionBase class NAnt.VSNet.Extensibility.ISolutionBuildProvider::GetInstance(string, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) - IL_006b: stloc.0 - IL_006c: br IL_0091 - - IL_0071: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0076: ldstr "Solution format of file '{0}' is not supported." - IL_007b: ldarg.1 - IL_007c: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0081: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0086: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_008b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0090: throw - IL_0091: ldloc.0 - IL_0092: ret - } // end of method SolutionFactory::LoadSolution + IL_0059: ret + } // end of method WebDavClient::DeleteFile - // method line 622 + // method line 644 .method public hidebysig - instance default void RegisterProvider (class NAnt.VSNet.Extensibility.ISolutionBuildProvider provider) cil managed + instance default void DownloadFile (string localFileName, string remoteFileName) cil managed { - // Method begins at RVA 0x13ddc - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x132ac + // Code size 219 (0xdb) + .maxstack 4 + .locals init ( + class [System]System.Net.WebRequest V_0, + class [mscorlib]System.IO.FileInfo V_1, + int32 V_2, + unsigned int8[] V_3, + class [mscorlib]System.IO.FileStream V_4, + class [mscorlib]System.IO.Stream V_5, + int32 V_6) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.SolutionFactory::_projectProviders - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_000d: pop - IL_000e: ret - } // end of method SolutionFactory::RegisterProvider + IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl + IL_0007: ldstr "/" + IL_000c: ldarg.2 + IL_000d: call string string::Concat(string, string, string) + IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldstr "GET" + IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) + IL_0023: ldloc.0 + IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() + IL_0029: ldstr "Translate: f" + IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) + IL_0033: ldloc.0 + IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() + IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) + IL_003e: ldarg.1 + IL_003f: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0044: stloc.1 + IL_0045: ldloc.1 + IL_0046: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_004b: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0050: brtrue IL_0063 - // method line 623 - .method private hidebysig - instance default class NAnt.VSNet.Extensibility.ISolutionBuildProvider FindProvider (string fileContents) cil managed + IL_0055: nop + IL_0056: ldloc.1 + IL_0057: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_005c: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0061: pop + IL_0062: nop + IL_0063: ldc.i4 102400 + IL_0068: stloc.2 + IL_0069: ldloc.2 + IL_006a: newarr [mscorlib]System.Byte + IL_006f: stloc.3 + IL_0070: ldloc.1 + IL_0071: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0076: ldc.i4.4 + IL_0077: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode) + IL_007c: stloc.s 4 + .try { // 1 + IL_007e: nop + IL_007f: ldloc.0 + IL_0080: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_0085: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() + IL_008a: stloc.s 5 + .try { // 0 + IL_008c: nop + IL_008d: nop + IL_008e: ldloc.s 5 + IL_0090: ldloc.3 + IL_0091: ldc.i4.0 + IL_0092: ldloc.2 + IL_0093: callvirt instance int32 class [mscorlib]System.IO.Stream::Read(unsigned int8[], int32, int32) + IL_0098: stloc.s 6 + IL_009a: ldloc.s 4 + IL_009c: ldloc.3 + IL_009d: ldc.i4.0 + IL_009e: ldloc.s 6 + IL_00a0: callvirt instance void class [mscorlib]System.IO.Stream::Write(unsigned int8[], int32, int32) + IL_00a5: nop + IL_00a6: ldloc.s 6 + IL_00a8: ldc.i4.0 + IL_00a9: bgt IL_008d + + IL_00ae: nop + IL_00af: leave IL_00c3 + + } // end .try 0 + finally { // 0 + IL_00b4: ldloc.s 5 + IL_00b6: brfalse IL_00c2 + + IL_00bb: ldloc.s 5 + IL_00bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c2: endfinally + } // end handler 0 + IL_00c3: nop + IL_00c4: leave IL_00d8 + + } // end .try 1 + finally { // 1 + IL_00c9: ldloc.s 4 + IL_00cb: brfalse IL_00d7 + + IL_00d0: ldloc.s 4 + IL_00d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d7: endfinally + } // end handler 1 + IL_00d8: ldnull + IL_00d9: stloc.3 + IL_00da: ret + } // end of method WebDavClient::DownloadFile + + // method line 645 + .method public hidebysig + instance default string GetFileContents (string remoteFileName) cil managed { - // Method begins at RVA 0x13dec - // Code size 110 (0x6e) - .maxstack 2 + // Method begins at RVA 0x133b0 + // Code size 107 (0x6b) + .maxstack 3 .locals init ( - int32 V_0, - class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_1, - class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - int32 V_4, - class [mscorlib]System.IDisposable V_5, - class NAnt.VSNet.Extensibility.ISolutionBuildProvider V_6) + class [System]System.Net.WebRequest V_0, + class [mscorlib]System.IO.StreamReader V_1, + string V_2) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: nop - IL_0006: ldarg.0 - IL_0007: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.SolutionFactory::_projectProviders - IL_000c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0011: stloc.3 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.WebDavClient::_webProjectBaseUrl + IL_0007: ldstr "/" + IL_000c: ldarg.1 + IL_000d: call string string::Concat(string, string, string) + IL_0012: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldstr "GET" + IL_001e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) + IL_0023: ldloc.0 + IL_0024: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() + IL_0029: ldstr "Translate: f" + IL_002e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) + IL_0033: ldloc.0 + IL_0034: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() + IL_0039: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) + IL_003e: ldloc.0 + IL_003f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_0044: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() + IL_0049: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_004e: stloc.1 .try { // 0 - IL_0012: br IL_003d + IL_004f: nop + IL_0050: ldloc.1 + IL_0051: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0056: stloc.2 + IL_0057: leave IL_0069 - IL_0017: ldloc.3 - IL_0018: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001d: castclass NAnt.VSNet.Extensibility.ISolutionBuildProvider - IL_0022: stloc.2 - IL_0023: nop - IL_0024: ldloc.2 - IL_0025: ldarg.1 - IL_0026: callvirt instance int32 class NAnt.VSNet.Extensibility.ISolutionBuildProvider::IsSupported(string) - IL_002b: stloc.s 4 - IL_002d: ldloc.s 4 - IL_002f: ldloc.0 - IL_0030: ble IL_003c + } // end .try 0 + finally { // 0 + IL_005c: ldloc.1 + IL_005d: brfalse IL_0068 - IL_0035: nop - IL_0036: ldloc.s 4 - IL_0038: stloc.0 - IL_0039: ldloc.2 - IL_003a: stloc.1 - IL_003b: nop - IL_003c: nop - IL_003d: ldloc.3 - IL_003e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0043: brtrue IL_0017 + IL_0062: ldloc.1 + IL_0063: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0068: endfinally + } // end handler 0 + IL_0069: ldloc.2 + IL_006a: ret + } // end of method WebDavClient::GetFileContents - IL_0048: leave IL_0063 + // method line 646 + .method public static hidebysig + default string GetFileContentsStatic (string remoteFileName) cil managed + { + // Method begins at RVA 0x13438 + // Code size 91 (0x5b) + .maxstack 2 + .locals init ( + class [System]System.Net.WebRequest V_0, + class [mscorlib]System.IO.StreamReader V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call class [System]System.Net.WebRequest class [System]System.Net.WebRequest::Create(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: ldstr "GET" + IL_000e: callvirt instance void class [System]System.Net.WebRequest::set_Method(string) + IL_0013: ldloc.0 + IL_0014: callvirt instance class [System]System.Net.WebHeaderCollection class [System]System.Net.WebRequest::get_Headers() + IL_0019: ldstr "Translate: f" + IL_001e: callvirt instance void class [System]System.Net.WebHeaderCollection::Add(string) + IL_0023: ldloc.0 + IL_0024: call class [System]System.Net.ICredentials class [System]System.Net.CredentialCache::get_DefaultCredentials() + IL_0029: callvirt instance void class [System]System.Net.WebRequest::set_Credentials(class [System]System.Net.ICredentials) + IL_002e: ldloc.0 + IL_002f: callvirt instance class [System]System.Net.WebResponse class [System]System.Net.WebRequest::GetResponse() + IL_0034: callvirt instance class [mscorlib]System.IO.Stream class [System]System.Net.WebResponse::GetResponseStream() + IL_0039: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_003e: stloc.1 + .try { // 0 + IL_003f: nop + IL_0040: ldloc.1 + IL_0041: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0046: stloc.2 + IL_0047: leave IL_0059 } // end .try 0 finally { // 0 - IL_004d: ldloc.3 - IL_004e: isinst [mscorlib]System.IDisposable - IL_0053: dup - IL_0054: stloc.s 5 - IL_0056: brfalse IL_0062 + IL_004c: ldloc.1 + IL_004d: brfalse IL_0058 - IL_005b: ldloc.s 5 - IL_005d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0062: endfinally + IL_0052: ldloc.1 + IL_0053: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0058: endfinally } // end handler 0 - IL_0063: ldloc.1 - IL_0064: stloc.s 6 - IL_0066: br IL_006b - - IL_006b: ldloc.s 6 - IL_006d: ret - } // end of method SolutionFactory::FindProvider + IL_0059: ldloc.2 + IL_005a: ret + } // end of method WebDavClient::GetFileContentsStatic - } // end of class NAnt.VSNet.SolutionFactory + } // end of class NAnt.VSNet.WebDavClient } .namespace NAnt.VSNet { - .class public auto ansi beforefieldinit GenericSolution - extends NAnt.VSNet.SolutionBase + .class public auto ansi beforefieldinit VcProjectConfiguration + extends NAnt.VSNet.VcConfigurationBase { + .field private initonly string _rawRelativeOutputDir + .field private initonly string _rawIntermediateDir + .field private initonly string _rawReferencesPath + .field private initonly valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType _type + .field private initonly bool _wholeProgramOptimization + .field private initonly bool _managedExtensions + .field private initonly valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet _characterSet + .field private initonly valuetype NAnt.VSNet.Types.UseOfMFC _useOfMFC + .field private initonly valuetype NAnt.VSNet.Types.UseOfATL _useOfATL + .field private initonly class NAnt.VSNet.VcProjectConfiguration/LinkerConfig _linkerConfiguration + .field private bool _initialized + .field private string _outputPath + .field private initonly class [mscorlib]System.Collections.ArrayList _objFiles + .field private initonly class [mscorlib]System.Collections.Hashtable _sourceConfigs + .field private initonly class [mscorlib]System.Collections.Hashtable _rcConfigs + .field private initonly class [mscorlib]System.Collections.Hashtable _idlConfigs - // method line 624 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + // method line 647 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement elem, class NAnt.VSNet.VcProject parentProject, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x13e78 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x134b0 + // Code size 647 (0x287) + .maxstack 5 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + class [System.Xml]System.Xml.XmlAttribute V_1, + class [System.Xml]System.Xml.XmlAttribute V_2, + string V_3, + string V_4, + string V_5, + string V_6, + string V_7, + string V_8, + string V_9) IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: call instance void class NAnt.VSNet.SolutionBase::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver) - IL_000b: nop - IL_000c: ret - } // end of method GenericSolution::.ctor + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::_characterSet + IL_0007: ldarg.0 + IL_0008: ldc.i4.0 + IL_0009: stfld valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::_useOfMFC + IL_000e: ldarg.0 + IL_000f: ldc.i4.0 + IL_0010: stfld valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::_useOfATL + IL_0015: ldarg.0 + IL_0016: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_001b: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_0020: ldarg.0 + IL_0021: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0026: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs + IL_002b: ldarg.0 + IL_002c: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0031: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs + IL_0036: ldarg.0 + IL_0037: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_003c: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs + IL_0041: ldarg.0 + IL_0042: ldarg.1 + IL_0043: ldarg.2 + IL_0044: ldarg.3 + IL_0045: call instance void class NAnt.VSNet.VcConfigurationBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ProjectBase, class [mscorlib]System.IO.DirectoryInfo) + IL_004a: nop + IL_004b: ldarg.1 + IL_004c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0051: ldstr "OutputDirectory" + IL_0056: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_005b: stloc.0 + IL_005c: ldloc.0 + IL_005d: brfalse IL_0070 + + IL_0062: nop + IL_0063: ldarg.0 + IL_0064: ldloc.0 + IL_0065: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_006a: stfld string NAnt.VSNet.VcProjectConfiguration::_rawRelativeOutputDir + IL_006f: nop + IL_0070: ldarg.1 + IL_0071: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0076: ldstr "IntermediateDirectory" + IL_007b: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0080: stloc.1 + IL_0081: ldloc.1 + IL_0082: brfalse IL_0095 + + IL_0087: nop + IL_0088: ldarg.0 + IL_0089: ldloc.1 + IL_008a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_008f: stfld string NAnt.VSNet.VcProjectConfiguration::_rawIntermediateDir + IL_0094: nop + IL_0095: ldarg.1 + IL_0096: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_009b: ldstr "ReferencesPath" + IL_00a0: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_00a5: stloc.2 + IL_00a6: ldloc.2 + IL_00a7: brfalse IL_00bf + + IL_00ac: nop + IL_00ad: ldarg.0 + IL_00ae: ldloc.2 + IL_00af: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00b4: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_00b9: stfld string NAnt.VSNet.VcProjectConfiguration::_rawReferencesPath + IL_00be: nop + IL_00bf: ldarg.1 + IL_00c0: ldstr "ManagedExtensions" + IL_00c5: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_00ca: stloc.3 + IL_00cb: ldloc.3 + IL_00cc: brfalse IL_0154 + + IL_00d1: nop + IL_00d2: ldloc.3 + IL_00d3: callvirt instance string string::ToLower() + IL_00d8: stloc.s 4 + IL_00da: ldloc.s 4 + IL_00dc: brfalse IL_0142 + + IL_00e1: ldloc.s 4 + IL_00e3: ldstr "false" + IL_00e8: call bool string::op_Equality(string, string) + IL_00ed: brtrue IL_012a + + IL_00f2: ldloc.s 4 + IL_00f4: ldstr "0" + IL_00f9: call bool string::op_Equality(string, string) + IL_00fe: brtrue IL_012a + + IL_0103: ldloc.s 4 + IL_0105: ldstr "true" + IL_010a: call bool string::op_Equality(string, string) + IL_010f: brtrue IL_0136 - } // end of class NAnt.VSNet.GenericSolution -} + IL_0114: ldloc.s 4 + IL_0116: ldstr "1" + IL_011b: call bool string::op_Equality(string, string) + IL_0120: brtrue IL_0136 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit ProjectEntry - extends [mscorlib]System.Object - { - .field private initonly string _guid - .field private initonly string _path - .field private class NAnt.VSNet.ProjectBase _project - .field private class NAnt.VSNet.ConfigurationMap _buildConfigurations + IL_0125: br IL_0142 - // method line 625 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string guid, string path) cil managed - { - // Method begins at RVA 0x13e86 - // Code size 58 (0x3a) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 + IL_012a: ldarg.0 + IL_012b: ldc.i4.0 + IL_012c: stfld bool NAnt.VSNet.VcProjectConfiguration::_managedExtensions + IL_0131: br IL_0153 - IL_000d: nop - IL_000e: ldstr "guid" - IL_0013: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0018: throw - IL_0019: ldarg.2 - IL_001a: brtrue IL_002b + IL_0136: ldarg.0 + IL_0137: ldc.i4.1 + IL_0138: stfld bool NAnt.VSNet.VcProjectConfiguration::_managedExtensions + IL_013d: br IL_0153 - IL_001f: nop - IL_0020: ldstr "path" - IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002a: throw - IL_002b: ldarg.0 - IL_002c: ldarg.1 - IL_002d: stfld string NAnt.VSNet.ProjectEntry::_guid - IL_0032: ldarg.0 - IL_0033: ldarg.2 - IL_0034: stfld string NAnt.VSNet.ProjectEntry::_path - IL_0039: ret - } // end of method ProjectEntry::.ctor + IL_0142: ldstr "ManagedExtensions '{0}' is not supported yet." + IL_0147: ldloc.3 + IL_0148: call string string::Format(string, object) + IL_014d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0152: throw + IL_0153: nop + IL_0154: ldarg.1 + IL_0155: ldstr "ConfigurationType" + IL_015a: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_015f: stloc.s 5 + IL_0161: ldloc.s 5 + IL_0163: brfalse IL_0190 - // method line 626 - .method public hidebysig specialname - instance default string get_Guid () cil managed - { - // Method begins at RVA 0x13ec4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectEntry::_guid - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0168: nop + IL_0169: ldarg.0 + IL_016a: ldtoken NAnt.VSNet.VcProjectConfiguration/ConfigurationType + IL_016f: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0174: ldloc.s 5 + IL_0176: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_017b: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_0180: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) + IL_0185: unbox.any NAnt.VSNet.VcProjectConfiguration/ConfigurationType + IL_018a: stfld valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType NAnt.VSNet.VcProjectConfiguration::_type + IL_018f: nop + IL_0190: ldarg.1 + IL_0191: ldstr "WholeProgramOptimization" + IL_0196: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_019b: stloc.s 6 + IL_019d: ldloc.s 6 + IL_019f: brfalse IL_01c6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectEntry::get_Guid + IL_01a4: nop + IL_01a5: ldarg.0 + IL_01a6: ldloc.s 6 + IL_01a8: callvirt instance string string::Trim() + IL_01ad: ldstr "true" + IL_01b2: ldc.i4.1 + IL_01b3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01b8: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_01bd: ldc.i4.0 + IL_01be: ceq + IL_01c0: stfld bool NAnt.VSNet.VcProjectConfiguration::_wholeProgramOptimization + IL_01c5: nop + IL_01c6: ldarg.1 + IL_01c7: ldstr "CharacterSet" + IL_01cc: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_01d1: stloc.s 7 + IL_01d3: ldloc.s 7 + IL_01d5: brfalse IL_0202 - // method line 627 - .method public hidebysig specialname - instance default string get_Path () cil managed - { - // Method begins at RVA 0x13ee0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.ProjectEntry::_path - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_01da: nop + IL_01db: ldarg.0 + IL_01dc: ldtoken [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet + IL_01e1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01e6: ldloc.s 7 + IL_01e8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01ed: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_01f2: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) + IL_01f7: unbox.any [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet + IL_01fc: stfld valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::_characterSet + IL_0201: nop + IL_0202: ldarg.1 + IL_0203: ldstr "UseOfMFC" + IL_0208: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_020d: stloc.s 8 + IL_020f: ldloc.s 8 + IL_0211: brfalse IL_023e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectEntry::get_Path + IL_0216: nop + IL_0217: ldarg.0 + IL_0218: ldtoken NAnt.VSNet.Types.UseOfMFC + IL_021d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0222: ldloc.s 8 + IL_0224: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0229: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_022e: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) + IL_0233: unbox.any NAnt.VSNet.Types.UseOfMFC + IL_0238: stfld valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::_useOfMFC + IL_023d: nop + IL_023e: ldarg.1 + IL_023f: ldstr "UseOfATL" + IL_0244: call string class NAnt.VSNet.VcProjectConfiguration::GetXmlAttributeValue(class [System.Xml]System.Xml.XmlNode, string) + IL_0249: stloc.s 9 + IL_024b: ldloc.s 9 + IL_024d: brfalse IL_027a - // method line 628 + IL_0252: nop + IL_0253: ldarg.0 + IL_0254: ldtoken NAnt.VSNet.Types.UseOfATL + IL_0259: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_025e: ldloc.s 9 + IL_0260: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0265: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) + IL_026a: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) + IL_026f: unbox.any NAnt.VSNet.Types.UseOfATL + IL_0274: stfld valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::_useOfATL + IL_0279: nop + IL_027a: ldarg.0 + IL_027b: ldarg.0 + IL_027c: newobj instance void class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::'.ctor'(class NAnt.VSNet.VcProjectConfiguration) + IL_0281: stfld class NAnt.VSNet.VcProjectConfiguration/LinkerConfig NAnt.VSNet.VcProjectConfiguration::_linkerConfiguration + IL_0286: ret + } // end of method VcProjectConfiguration::.ctor + + // method line 648 .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectBase get_Project () cil managed + instance default valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType get_Type () cil managed { - // Method begins at RVA 0x13efc + // Method begins at RVA 0x13744 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectBase V_0) + valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectEntry::_project + IL_0002: ldfld valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType NAnt.VSNet.VcProjectConfiguration::_type IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectEntry::get_Project - - // method line 629 - .method public hidebysig specialname - instance default void set_Project (class NAnt.VSNet.ProjectBase 'value') cil managed - { - // Method begins at RVA 0x13f18 - // Code size 90 (0x5a) - .maxstack 5 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0052 - - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: call instance string class NAnt.VSNet.ProjectEntry::get_Guid() - IL_000e: ldarg.1 - IL_000f: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0014: ldc.i4.1 - IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001a: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_001f: brfalse IL_0051 - - IL_0024: nop - IL_0025: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002a: ldstr "GUID corruption detected for project '{0}'. GUID values in project file and solution file do not match ('{1}' and '{2}'). Please correct this manually." - IL_002f: ldarg.1 - IL_0030: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0035: ldarg.1 - IL_0036: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_003b: ldarg.0 - IL_003c: call instance string class NAnt.VSNet.ProjectEntry::get_Guid() - IL_0041: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0046: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_004b: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0050: throw - IL_0051: nop - IL_0052: ldarg.0 - IL_0053: ldarg.1 - IL_0054: stfld class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectEntry::_project - IL_0059: ret - } // end of method ProjectEntry::set_Project + } // end of method VcProjectConfiguration::get_Type - // method line 630 + // method line 649 .method public hidebysig specialname - instance default class NAnt.VSNet.ConfigurationMap get_BuildConfigurations () cil managed + instance default bool get_WholeProgramOptimization () cil managed { - // Method begins at RVA 0x13f80 + // Method begins at RVA 0x13760 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ConfigurationMap V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ConfigurationMap NAnt.VSNet.ProjectEntry::_buildConfigurations + IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_wholeProgramOptimization IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectEntry::get_BuildConfigurations - - // method line 631 - .method public hidebysig specialname - instance default void set_BuildConfigurations (class NAnt.VSNet.ConfigurationMap 'value') cil managed - { - // Method begins at RVA 0x13f9b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.VSNet.ConfigurationMap NAnt.VSNet.ProjectEntry::_buildConfigurations - IL_0008: ret - } // end of method ProjectEntry::set_BuildConfigurations - - .property instance string Guid () - { - .get instance default string NAnt.VSNet.ProjectEntry::get_Guid () - } - .property instance string Path () - { - .get instance default string NAnt.VSNet.ProjectEntry::get_Path () - } - .property instance class NAnt.VSNet.ProjectBase Project () - { - .get instance default class NAnt.VSNet.ProjectBase NAnt.VSNet.ProjectEntry::get_Project () - .set instance default void NAnt.VSNet.ProjectEntry::set_Project (class NAnt.VSNet.ProjectBase 'value') - } - .property instance class NAnt.VSNet.ConfigurationMap BuildConfigurations () - { - .get instance default class NAnt.VSNet.ConfigurationMap NAnt.VSNet.ProjectEntry::get_BuildConfigurations () - .set instance default void NAnt.VSNet.ProjectEntry::set_BuildConfigurations (class NAnt.VSNet.ConfigurationMap 'value') - } - } // end of class NAnt.VSNet.ProjectEntry -} - -.namespace NAnt.VSNet -{ - .class public auto ansi serializable beforefieldinit ProjectEntryCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - - - // method line 632 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x13fa5 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method ProjectEntryCollection::.ctor - - // method line 633 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectEntryCollection 'value') cil managed - { - // Method begins at RVA 0x13fae - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VSNet.ProjectEntryCollection::AddRange(class NAnt.VSNet.ProjectEntryCollection) - IL_000e: ret - } // end of method ProjectEntryCollection::.ctor - - // method line 634 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectEntry[] 'value') cil managed - { - // Method begins at RVA 0x13fbe - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VSNet.ProjectEntryCollection::AddRange(class NAnt.VSNet.ProjectEntry[]) - IL_000e: ret - } // end of method ProjectEntryCollection::.ctor - - // method line 635 - .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectEntry get_Item (int32 index) cil managed - { - // Method begins at RVA 0x13fd0 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.VSNet.ProjectEntry V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.VSNet.ProjectEntry - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ProjectEntryCollection::get_Item - - // method line 636 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.VSNet.ProjectEntry 'value') cil managed - { - // Method begins at RVA 0x13ff6 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method ProjectEntryCollection::set_Item - - // method line 637 - .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectEntry get_Item (string guid) cil managed - { - // Method begins at RVA 0x14008 - // Code size 92 (0x5c) - .maxstack 4 - .locals init ( - int32 V_0, - class NAnt.VSNet.ProjectEntry V_1, - class NAnt.VSNet.ProjectEntry V_2) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0053 - - IL_0007: nop - IL_0008: ldc.i4.0 - IL_0009: stloc.0 - IL_000a: br IL_0046 - - IL_000f: nop - IL_0010: ldarg.0 - IL_0011: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0016: ldloc.0 - IL_0017: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_001c: castclass NAnt.VSNet.ProjectEntry - IL_0021: stloc.1 - IL_0022: ldloc.1 - IL_0023: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() - IL_0028: ldarg.1 - IL_0029: ldc.i4.1 - IL_002a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002f: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0034: brtrue IL_0041 - - IL_0039: nop - IL_003a: ldloc.1 - IL_003b: stloc.2 - IL_003c: br IL_005a - - IL_0041: nop - IL_0042: ldloc.0 - IL_0043: ldc.i4.1 - IL_0044: add - IL_0045: stloc.0 - IL_0046: ldloc.0 - IL_0047: ldarg.0 - IL_0048: call instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_004d: blt IL_000f - - IL_0052: nop - IL_0053: ldnull - IL_0054: stloc.2 - IL_0055: br IL_005a - - IL_005a: ldloc.2 - IL_005b: ret - } // end of method ProjectEntryCollection::get_Item - - // method line 638 - .method public hidebysig specialname - instance default void set_Item (string guid, class NAnt.VSNet.ProjectEntry 'value') cil managed - { - // Method begins at RVA 0x14070 - // Code size 60 (0x3c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "guid" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: brtrue IL_0025 - - IL_0019: nop - IL_001a: ldstr "value" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.0 - IL_0026: ldarg.1 - IL_0027: call instance bool class NAnt.VSNet.ProjectEntryCollection::Contains(string) - IL_002c: brtrue IL_003b - - IL_0031: nop - IL_0032: ldarg.0 - IL_0033: ldarg.2 - IL_0034: call instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) - IL_0039: pop - IL_003a: nop - IL_003b: ret - } // end of method ProjectEntryCollection::set_Item - - // method line 639 - .method public hidebysig - instance default int32 Add (class NAnt.VSNet.ProjectEntry item) cil managed - { - // Method begins at RVA 0x140b0 - // Code size 97 (0x61) - .maxstack 4 - .locals init ( - class NAnt.VSNet.ProjectEntry V_0, - int32 V_1) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "item" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() - IL_001a: call instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_001f: stloc.0 - IL_0020: ldloc.0 - IL_0021: brfalse IL_004d - - IL_0026: nop - IL_0027: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002c: ldstr "The GUIDs of projects \"{0}\" and \"{1}\" are identical. Please correct this manually." - IL_0031: ldarg.1 - IL_0032: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() - IL_0037: ldloc.0 - IL_0038: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() - IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0042: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0047: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_004c: throw - IL_004d: ldarg.0 - IL_004e: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0053: ldarg.1 - IL_0054: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_0059: stloc.1 - IL_005a: br IL_005f - - IL_005f: ldloc.1 - IL_0060: ret - } // end of method ProjectEntryCollection::Add + } // end of method VcProjectConfiguration::get_WholeProgramOptimization - // method line 640 - .method public hidebysig - instance default void AddRange (class NAnt.VSNet.ProjectEntry[] items) cil managed + // method line 650 + .method public hidebysig specialname + instance default valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet get_CharacterSet () cil managed { - // Method begins at RVA 0x14120 - // Code size 34 (0x22) - .maxstack 3 + // Method begins at RVA 0x1377c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::_characterSet + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0021: ret - } // end of method ProjectEntryCollection::AddRange + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProjectConfiguration::get_CharacterSet - // method line 641 - .method public hidebysig - instance default void AddRange (class NAnt.VSNet.ProjectEntryCollection items) cil managed + // method line 651 + .method public hidebysig specialname + instance default bool get_ManagedExtensions () cil managed { - // Method begins at RVA 0x14150 - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0x13798 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_managedExtensions + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0028: ret - } // end of method ProjectEntryCollection::AddRange + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProjectConfiguration::get_ManagedExtensions - // method line 642 - .method public hidebysig - instance default bool Contains (class NAnt.VSNet.ProjectEntry item) cil managed + // method line 652 + .method public hidebysig specialname + instance default valuetype NAnt.VSNet.Types.UseOfMFC get_UseOfMFC () cil managed { - // Method begins at RVA 0x14188 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x137b4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.VSNet.Types.UseOfMFC V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::_useOfMFC + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ProjectEntryCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProjectConfiguration::get_UseOfMFC - // method line 643 - .method public hidebysig - instance default bool Contains (string 'value') cil managed + // method line 653 + .method public hidebysig specialname + instance default valuetype NAnt.VSNet.Types.UseOfATL get_UseOfATL () cil managed { - // Method begins at RVA 0x141ac - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0x137d0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.VSNet.Types.UseOfATL V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0002: ldfld valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::_useOfATL + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0014: ldloc.0 - IL_0015: ret - } // end of method ProjectEntryCollection::Contains + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProjectConfiguration::get_UseOfATL - // method line 644 - .method public hidebysig - instance default void CopyTo (class NAnt.VSNet.ProjectEntry[] 'array', int32 index) cil managed + // method line 654 + .method assembly hidebysig specialname + instance default string get_RawRelativeOutputDir () cil managed { - // Method begins at RVA 0x141ce + // Method begins at RVA 0x137ec // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_0002: ldfld string NAnt.VSNet.VcProjectConfiguration::_rawRelativeOutputDir + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectEntryCollection::CopyTo + } // end of method VcProjectConfiguration::get_RawRelativeOutputDir - // method line 645 - .method public hidebysig - instance default int32 IndexOf (class NAnt.VSNet.ProjectEntry item) cil managed + // method line 655 + .method assembly hidebysig specialname + instance default string get_RawIntermediateDir () cil managed { - // Method begins at RVA 0x141e0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x13808 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld string NAnt.VSNet.VcProjectConfiguration::_rawIntermediateDir + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method ProjectEntryCollection::IndexOf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcProjectConfiguration::get_RawIntermediateDir - // method line 646 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.VSNet.ProjectEntry item) cil managed + // method line 656 + .method assembly hidebysig specialname + instance default string get_RawReferencesPath () cil managed { - // Method begins at RVA 0x14201 + // Method begins at RVA 0x13824 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_0002: ldfld string NAnt.VSNet.VcProjectConfiguration::_rawReferencesPath + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectEntryCollection::Insert + } // end of method VcProjectConfiguration::get_RawReferencesPath - // method line 647 - .method public hidebysig - instance default class NAnt.VSNet.ProjectEntryEnumerator GetEnumerator () cil managed + // method line 657 + .method assembly hidebysig specialname + instance default class NAnt.VSNet.VcProjectConfiguration/LinkerConfig get_LinkerConfiguration () cil managed { - // Method begins at RVA 0x14214 + // Method begins at RVA 0x13840 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VSNet.ProjectEntryEnumerator V_0) + class NAnt.VSNet.VcProjectConfiguration/LinkerConfig V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VSNet.ProjectEntryEnumerator::'.ctor'(class NAnt.VSNet.ProjectEntryCollection) + IL_0002: ldfld class NAnt.VSNet.VcProjectConfiguration/LinkerConfig NAnt.VSNet.VcProjectConfiguration::_linkerConfiguration IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ProjectEntryCollection::GetEnumerator + } // end of method VcProjectConfiguration::get_LinkerConfiguration - // method line 648 - .method public hidebysig - instance default void Remove (class NAnt.VSNet.ProjectEntry item) cil managed + // method line 658 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_ObjFiles () cil managed { - // Method begins at RVA 0x1422f - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x1385c + // Code size 34 (0x22) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method ProjectEntryCollection::Remove + IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized + IL_0007: brtrue IL_0014 - .property instance class NAnt.VSNet.ProjectEntry Item (int32) - { - .get instance default class NAnt.VSNet.ProjectEntry NAnt.VSNet.ProjectEntryCollection::get_Item (int32 index) - .set instance default void NAnt.VSNet.ProjectEntryCollection::set_Item (int32 index, class NAnt.VSNet.ProjectEntry 'value') - } - .property instance class NAnt.VSNet.ProjectEntry Item (string) - { - .get instance default class NAnt.VSNet.ProjectEntry NAnt.VSNet.ProjectEntryCollection::get_Item (string guid) - .set instance default void NAnt.VSNet.ProjectEntryCollection::set_Item (string guid, class NAnt.VSNet.ProjectEntry 'value') - } - } // end of class NAnt.VSNet.ProjectEntryCollection -} + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_001a: stloc.0 + IL_001b: br IL_0020 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit ProjectEntryEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0020: ldloc.0 + IL_0021: ret + } // end of method VcProjectConfiguration::get_ObjFiles - // method line 649 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.ProjectEntryCollection arguments) cil managed + // method line 659 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_SourceConfigs () cil managed { - // Method begins at RVA 0x14240 - // Code size 22 (0x16) + // Method begins at RVA 0x1388c + // Code size 34 (0x22) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized + IL_0007: brtrue IL_0014 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs + IL_001a: stloc.0 + IL_001b: br IL_0020 + + IL_0020: ldloc.0 + IL_0021: ret + } // end of method VcProjectConfiguration::get_SourceConfigs + + // method line 660 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_RcConfigs () cil managed + { + // Method begins at RVA 0x138bc + // Code size 34 (0x22) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized + IL_0007: brtrue IL_0014 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs + IL_001a: stloc.0 + IL_001b: br IL_0020 + + IL_0020: ldloc.0 + IL_0021: ret + } // end of method VcProjectConfiguration::get_RcConfigs + + // method line 661 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_IdlConfigs () cil managed + { + // Method begins at RVA 0x138ec + // Code size 34 (0x22) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.Hashtable V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized + IL_0007: brtrue IL_0014 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs + IL_001a: stloc.0 + IL_001b: br IL_0020 + + IL_0020: ldloc.0 + IL_0021: ret + } // end of method VcProjectConfiguration::get_IdlConfigs + + // method line 662 + .method private hidebysig specialname + instance default string get_TargetPath () cil managed + { + // Method begins at RVA 0x1391c + // Code size 344 (0x158) + .maxstack 3 + .locals init ( + string V_0, + valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_1, + string V_2, + string V_3, + string V_4, + string V_5, + string V_6) + IL_0000: nop + IL_0001: ldsfld string [mscorlib]System.String::Empty + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: call instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_000d: stloc.1 + IL_000e: ldloc.1 + IL_000f: switch ( + IL_010b, + IL_0035, + IL_007b, + IL_0028, + IL_00c1) + IL_0028: ldloc.1 + IL_0029: ldc.i4.s 0x0a + IL_002b: beq IL_0148 + + IL_0030: br IL_014d + + IL_0035: ldarg.0 + IL_0036: ldstr "VCLinkerTool" + IL_003b: ldstr "OutputFile" + IL_0040: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0045: stloc.2 + IL_0046: ldloc.2 + IL_0047: call bool string::IsNullOrEmpty(string) + IL_004c: brfalse IL_005f + + IL_0051: nop + IL_0052: ldarg.0 + IL_0053: ldstr "$(OutDir)/$(ProjectName).exe" + IL_0058: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_005d: stloc.2 + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0065: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_006a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_006f: ldloc.2 + IL_0070: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0075: stloc.0 + IL_0076: br IL_014d + + IL_007b: ldarg.0 + IL_007c: ldstr "VCLinkerTool" + IL_0081: ldstr "OutputFile" + IL_0086: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_008b: stloc.3 + IL_008c: ldloc.3 + IL_008d: call bool string::IsNullOrEmpty(string) + IL_0092: brfalse IL_00a5 + + IL_0097: nop + IL_0098: ldarg.0 + IL_0099: ldstr "$(OutDir)/$(ProjectName).dll" + IL_009e: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_00a3: stloc.3 + IL_00a4: nop + IL_00a5: ldarg.0 + IL_00a6: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_00ab: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_00b0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00b5: ldloc.3 + IL_00b6: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00bb: stloc.0 + IL_00bc: br IL_014d + + IL_00c1: ldarg.0 + IL_00c2: ldstr "VCLibrarianTool" + IL_00c7: ldstr "OutputFile" + IL_00cc: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_00d1: stloc.s 4 + IL_00d3: ldloc.s 4 + IL_00d5: call bool string::IsNullOrEmpty(string) + IL_00da: brfalse IL_00ee + + IL_00df: nop + IL_00e0: ldarg.0 + IL_00e1: ldstr "$(OutDir)/$(ProjectName).lib" + IL_00e6: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_00eb: stloc.s 4 + IL_00ed: nop + IL_00ee: ldarg.0 + IL_00ef: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_00f4: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_00f9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00fe: ldloc.s 4 + IL_0100: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0105: stloc.0 + IL_0106: br IL_014d + + IL_010b: ldarg.0 + IL_010c: ldstr "VCNMakeTool" + IL_0111: ldstr "Output" + IL_0116: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_011b: stloc.s 5 + IL_011d: ldloc.s 5 + IL_011f: call bool string::IsNullOrEmpty(string) + IL_0124: brtrue IL_0143 + + IL_0129: nop + IL_012a: ldarg.0 + IL_012b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0130: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0135: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_013a: ldloc.s 5 + IL_013c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0141: stloc.0 + IL_0142: nop + IL_0143: br IL_014d + + IL_0148: br IL_014d + + IL_014d: ldloc.0 + IL_014e: stloc.s 6 + IL_0150: br IL_0155 + + IL_0155: ldloc.s 6 + IL_0157: ret + } // end of method VcProjectConfiguration::get_TargetPath + + // method line 663 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ObjectDir () cil managed + { + // Method begins at RVA 0x13a80 + // Code size 41 (0x29) .maxstack 2 .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator - IL_0015: ret - } // end of method ProjectEntryEnumerator::.ctor + class [mscorlib]System.IO.DirectoryInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_000c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0011: ldarg.0 + IL_0012: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() + IL_0017: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_001c: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0021: stloc.0 + IL_0022: br IL_0027 + + IL_0027: ldloc.0 + IL_0028: ret + } // end of method VcProjectConfiguration::get_ObjectDir - // method line 650 - .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectEntry get_Current () cil managed + // method line 664 + .method public virtual hidebysig specialname + instance default string get_RelativeOutputDir () cil managed { - // Method begins at RVA 0x14264 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x13ab8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.VSNet.ProjectEntry V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.VSNet.ProjectEntry - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldarg.0 + IL_0003: call instance string class NAnt.VSNet.VcProjectConfiguration::get_RawRelativeOutputDir() + IL_0008: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectEntryEnumerator::get_Current + IL_0013: ldloc.0 + IL_0014: ret + } // end of method VcProjectConfiguration::get_RelativeOutputDir - // method line 651 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 665 + .method public virtual hidebysig specialname + instance default string get_IntermediateDir () cil managed { - // Method begins at RVA 0x1428c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x13adc + // Code size 21 (0x15) + .maxstack 2 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldarg.0 + IL_0003: call instance string class NAnt.VSNet.VcProjectConfiguration::get_RawIntermediateDir() + IL_0008: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ProjectEntryEnumerator::System.Collections.IEnumerator.get_Current + IL_0013: ldloc.0 + IL_0014: ret + } // end of method VcProjectConfiguration::get_IntermediateDir - // method line 652 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 666 + .method public virtual hidebysig specialname + instance default string get_OutputPath () cil managed { - // Method begins at RVA 0x142ac - // Code size 20 (0x14) + // Method begins at RVA 0x13b00 + // Code size 34 (0x22) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld bool NAnt.VSNet.VcProjectConfiguration::_initialized + IL_0007: brtrue IL_0014 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ProjectEntryEnumerator::MoveNext + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance void class NAnt.VSNet.VcProjectConfiguration::Initialize() + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldfld string NAnt.VSNet.VcProjectConfiguration::_outputPath + IL_001a: stloc.0 + IL_001b: br IL_0020 - // method line 653 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + IL_0020: ldloc.0 + IL_0021: ret + } // end of method VcProjectConfiguration::get_OutputPath + + // method line 667 + .method public virtual hidebysig specialname + instance default string get_ReferencesPath () cil managed { - // Method begins at RVA 0x142cc - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x13b30 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldarg.0 + IL_0003: call instance string class NAnt.VSNet.VcProjectConfiguration::get_RawReferencesPath() + IL_0008: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ProjectEntryEnumerator::System.Collections.IEnumerator.MoveNext + IL_0013: ldloc.0 + IL_0014: ret + } // end of method VcProjectConfiguration::get_ReferencesPath - // method line 654 - .method public hidebysig - instance default void Reset () cil managed + // method line 668 + .method assembly hidebysig + instance default string GetToolSetting (string toolName, string settingName, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler expander) cil managed { - // Method begins at RVA 0x142ec - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x13b54 + // Code size 19 (0x13) + .maxstack 5 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ProjectEntryEnumerator::Reset + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldnull + IL_0005: ldarg.3 + IL_0006: call instance string class NAnt.VSNet.VcProjectConfiguration::GetToolSetting(string, string, string, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) + IL_000b: stloc.0 + IL_000c: br IL_0011 - // method line 655 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + IL_0011: ldloc.0 + IL_0012: ret + } // end of method VcProjectConfiguration::GetToolSetting + + // method line 669 + .method public virtual hidebysig + instance default string GetToolSetting (string toolName, string settingName, string defaultValue) cil managed { - // Method begins at RVA 0x142fa - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x13b74 + // Code size 30 (0x1e) + .maxstack 6 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VSNet.ProjectEntryEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ProjectEntryEnumerator::System.Collections.IEnumerator.Reset - - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.VSNet.ProjectEntryEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.VSNet.ProjectEntry Current () - { - .get instance default class NAnt.VSNet.ProjectEntry NAnt.VSNet.ProjectEntryEnumerator::get_Current () - } - } // end of class NAnt.VSNet.ProjectEntryEnumerator -} + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldarg.3 + IL_0005: ldarg.0 + IL_0006: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_000c: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) + IL_0011: call instance string class NAnt.VSNet.VcProjectConfiguration::GetToolSetting(string, string, string, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) + IL_0016: stloc.0 + IL_0017: br IL_001c -.namespace NAnt.VSNet -{ - .class public auto ansi abstract beforefieldinit SolutionBase - extends [mscorlib]System.Object - { - .field private initonly class [mscorlib]System.IO.FileInfo _file - .field private initonly class NAnt.VSNet.ProjectEntryCollection _projectEntries - .field private initonly class [mscorlib]System.Collections.Hashtable _htOutputFiles - .field private initonly class [mscorlib]System.Collections.Hashtable _htReferenceProjects - .field private initonly class NAnt.VSNet.Tasks.SolutionTask _solutionTask - .field private initonly class NAnt.VSNet.Types.WebMapCollection _webMaps - .field private initonly class [mscorlib]System.IO.DirectoryInfo _outputDir - .field private initonly class [System]System.CodeDom.Compiler.TempFileCollection _tfc + IL_001c: ldloc.0 + IL_001d: ret + } // end of method VcProjectConfiguration::GetToolSetting - // method line 656 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + // method line 670 + .method assembly hidebysig + instance default string GetToolSetting (string toolName, string settingName, string defaultValue, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler expander) cil managed { - // Method begins at RVA 0x20f0 - // Code size 102 (0x66) - .maxstack 4 - IL_0000: ldarg.0 - IL_0001: ldarg.2 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.VSNet.SolutionBase::'.ctor'(class [System]System.CodeDom.Compiler.TempFileCollection, class NAnt.VSNet.Tasks.SolutionTask) - IL_0008: nop + // Method begins at RVA 0x13ba0 + // Code size 99 (0x63) + .maxstack 2 + .locals init ( + string V_0, + class [mscorlib]System.Collections.Hashtable V_1, + string V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools IL_0009: ldarg.1 - IL_000a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_000f: brfalse IL_0027 + IL_000a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000f: castclass [mscorlib]System.Collections.Hashtable + IL_0014: stloc.1 + IL_0015: ldloc.1 + IL_0016: brfalse IL_003f - IL_0014: nop - IL_0015: ldarg.0 - IL_0016: ldarg.1 - IL_0017: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_001c: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.SolutionBase::_file - IL_0021: nop - IL_0022: br IL_0065 + IL_001b: nop + IL_001c: ldloc.1 + IL_001d: ldarg.2 + IL_001e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0023: castclass [mscorlib]System.String + IL_0028: stloc.0 + IL_0029: ldloc.0 + IL_002a: brfalse IL_003e - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldarg.1 - IL_002a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() - IL_002f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0034: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) - IL_0039: ldc.i4.0 - IL_003a: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) - IL_003f: ldarg.0 - IL_0040: ldarg.1 - IL_0041: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() - IL_0046: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_004b: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) - IL_0050: ldc.i4.1 - IL_0051: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) - IL_0056: ldarg.0 - IL_0057: ldarg.3 - IL_0058: ldarg.s 4 - IL_005a: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_005f: call instance void class NAnt.VSNet.SolutionBase::LoadProjects(class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.Collections.Hashtable) - IL_0064: nop - IL_0065: ret - } // end of method SolutionBase::.ctor + IL_002f: nop + IL_0030: ldarg.s 4 + IL_0032: ldloc.0 + IL_0033: callvirt instance string class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::Invoke(string) + IL_0038: stloc.2 + IL_0039: br IL_0061 - // method line 657 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' (class [System]System.CodeDom.Compiler.TempFileCollection tfc, class NAnt.VSNet.Tasks.SolutionTask solutionTask) cil managed - { - // Method begins at RVA 0x2164 - // Code size 79 (0x4f) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles - IL_0012: ldarg.0 - IL_0013: newobj instance void class NAnt.VSNet.ProjectEntryCollection::'.ctor'() - IL_0018: stfld class NAnt.VSNet.ProjectEntryCollection NAnt.VSNet.SolutionBase::_projectEntries - IL_001d: ldarg.0 - IL_001e: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0023: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htReferenceProjects - IL_0028: ldarg.0 - IL_0029: ldarg.1 - IL_002a: stfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::_tfc - IL_002f: ldarg.0 - IL_0030: ldarg.2 - IL_0031: stfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0036: ldarg.0 - IL_0037: ldarg.2 - IL_0038: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() - IL_003d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir - IL_0042: ldarg.0 - IL_0043: ldarg.2 - IL_0044: callvirt instance class NAnt.VSNet.Types.WebMapCollection class NAnt.VSNet.Tasks.SolutionTask::get_WebMaps() - IL_0049: stfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::_webMaps - IL_004e: ret - } // end of method SolutionBase::.ctor + IL_003e: nop + IL_003f: ldloc.0 + IL_0040: brtrue IL_005a - // method line 658 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + IL_0045: ldarg.3 + IL_0046: brfalse IL_005a + + IL_004b: nop + IL_004c: ldarg.s 4 + IL_004e: ldarg.3 + IL_004f: callvirt instance string class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::Invoke(string) + IL_0054: stloc.2 + IL_0055: br IL_0061 + + IL_005a: ldloc.0 + IL_005b: stloc.2 + IL_005c: br IL_0061 + + IL_0061: ldloc.2 + IL_0062: ret + } // end of method VcProjectConfiguration::GetToolSetting + + // method line 671 + .method public virtual hidebysig + instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup) cil managed { - // Method begins at RVA 0x21c0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13c10 + // Code size 30 (0x1e) + .maxstack 6 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [mscorlib]System.Collections.Hashtable V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.SolutionBase::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldarg.3 + IL_0005: ldarg.0 + IL_0006: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_000c: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) + IL_0011: call instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) + IL_0016: stloc.0 + IL_0017: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionBase::get_File + IL_001c: ldloc.0 + IL_001d: ret + } // end of method VcProjectConfiguration::GetToolArguments - // method line 659 - .method public hidebysig specialname - instance default class [System]System.CodeDom.Compiler.TempFileCollection get_TemporaryFiles () cil managed + // method line 672 + .method assembly hidebysig + instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler expander) cil managed { - // Method begins at RVA 0x21dc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13c3c + // Code size 178 (0xb2) + .maxstack 4 .locals init ( - class [System]System.CodeDom.Compiler.TempFileCollection V_0) + class [mscorlib]System.Collections.Hashtable V_0, + class [mscorlib]System.Collections.Hashtable V_1, + valuetype [mscorlib]System.Collections.DictionaryEntry V_2, + class [mscorlib]System.Collections.IDictionaryEnumerator V_3, + string V_4, + class [mscorlib]System.IDisposable V_5, + class [mscorlib]System.Collections.Hashtable V_6) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::_tfc - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools + IL_000d: ldarg.1 + IL_000e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0013: castclass [mscorlib]System.Collections.Hashtable + IL_0018: stloc.1 + IL_0019: ldloc.1 + IL_001a: brfalse IL_00a7 + + IL_001f: nop + IL_0020: nop + IL_0021: ldloc.1 + IL_0022: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0027: stloc.3 + .try { // 0 + IL_0028: br IL_0080 + + IL_002d: ldloc.3 + IL_002e: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0033: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_0038: stloc.2 + IL_0039: nop + IL_003a: ldarg.2 + IL_003b: ldloca.s 2 + IL_003d: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0042: castclass [mscorlib]System.String + IL_0047: ldarg.s 4 + IL_0049: ldloca.s 2 + IL_004b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0050: castclass [mscorlib]System.String + IL_0055: callvirt instance string class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::Invoke(string) + IL_005a: ldarg.3 + IL_005b: callvirt instance string class NAnt.VSNet.VcArgumentMap::GetArgument(string, string, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) + IL_0060: stloc.s 4 + IL_0062: ldloc.s 4 + IL_0064: brfalse IL_007f + + IL_0069: nop + IL_006a: ldloc.0 + IL_006b: ldloca.s 2 + IL_006d: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0072: castclass [mscorlib]System.String + IL_0077: ldloc.s 4 + IL_0079: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_007e: nop + IL_007f: nop + IL_0080: ldloc.3 + IL_0081: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0086: brtrue IL_002d + + IL_008b: leave IL_00a6 + + } // end .try 0 + finally { // 0 + IL_0090: ldloc.3 + IL_0091: isinst [mscorlib]System.IDisposable + IL_0096: dup + IL_0097: stloc.s 5 + IL_0099: brfalse IL_00a5 + + IL_009e: ldloc.s 5 + IL_00a0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00a5: endfinally + } // end handler 0 + IL_00a6: nop + IL_00a7: ldloc.0 + IL_00a8: stloc.s 6 + IL_00aa: br IL_00af + + IL_00af: ldloc.s 6 + IL_00b1: ret + } // end of method VcProjectConfiguration::GetToolArguments + + // method line 673 + .method famorassem virtual hidebysig + instance default string ExpandMacro (string macro) cil managed + { + // Method begins at RVA 0x13d0c + // Code size 271 (0x10f) + .maxstack 4 + .locals init ( + string V_0, + string V_1, + char V_2, + char V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_0100 + + IL_0013: ldloc.0 + IL_0014: ldstr "targetname" + IL_0019: call bool string::op_Equality(string, string) + IL_001e: brtrue IL_0068 + + IL_0023: ldloc.0 + IL_0024: ldstr "targetpath" + IL_0029: call bool string::op_Equality(string, string) + IL_002e: brtrue IL_007e + + IL_0033: ldloc.0 + IL_0034: ldstr "targetext" + IL_0039: call bool string::op_Equality(string, string) + IL_003e: brtrue IL_008a + + IL_0043: ldloc.0 + IL_0044: ldstr "targetfilename" + IL_0049: call bool string::op_Equality(string, string) + IL_004e: brtrue IL_009b + + IL_0053: ldloc.0 + IL_0054: ldstr "targetdir" + IL_0059: call bool string::op_Equality(string, string) + IL_005e: brtrue IL_00ac + + IL_0063: br IL_0100 + + IL_0068: ldarg.0 + IL_0069: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() + IL_006e: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0073: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0078: stloc.1 + IL_0079: br IL_010d + + IL_007e: ldarg.0 + IL_007f: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() + IL_0084: stloc.1 + IL_0085: br IL_010d + + IL_008a: ldarg.0 + IL_008b: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() + IL_0090: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0095: stloc.1 + IL_0096: br IL_010d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionBase::get_TemporaryFiles + IL_009b: ldarg.0 + IL_009c: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() + IL_00a1: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_00a6: stloc.1 + IL_00a7: br IL_010d - // method line 660 - .method family hidebysig specialname - instance default class NAnt.VSNet.Types.WebMapCollection get_WebMaps () cil managed - { - // Method begins at RVA 0x21f8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.Types.WebMapCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::_webMaps - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00ac: ldarg.0 + IL_00ad: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() + IL_00b2: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00b7: ldarg.0 + IL_00b8: call instance string class NAnt.VSNet.VcProjectConfiguration::get_TargetPath() + IL_00bd: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00c2: stloc.2 + IL_00c3: ldloca.s 2 + IL_00c5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ca: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_00cf: callvirt instance bool string::EndsWith(string) + IL_00d4: brfalse IL_00e3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionBase::get_WebMaps + IL_00d9: ldsfld string [mscorlib]System.String::Empty + IL_00de: br IL_00f5 - // method line 661 - .method public hidebysig specialname - instance default class NAnt.VSNet.ProjectEntryCollection get_ProjectEntries () cil managed - { - // Method begins at RVA 0x2214 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.ProjectEntryCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.ProjectEntryCollection NAnt.VSNet.SolutionBase::_projectEntries - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00e3: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00e8: stloc.3 + IL_00e9: ldloca.s 3 + IL_00eb: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00f0: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_00f5: call string string::Concat(string, string) + IL_00fa: stloc.1 + IL_00fb: br IL_010d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SolutionBase::get_ProjectEntries + IL_0100: ldarg.0 + IL_0101: ldarg.1 + IL_0102: call instance string class NAnt.VSNet.VcConfigurationBase::ExpandMacro(string) + IL_0107: stloc.1 + IL_0108: br IL_010d - // method line 662 - .method public hidebysig - instance default void RecursiveLoadTemplateProject (string fileName) cil managed + IL_010d: ldloc.1 + IL_010e: ret + } // end of method VcProjectConfiguration::ExpandMacro + + // method line 674 + .method private hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x2230 - // Code size 494 (0x1ee) - .maxstack 7 + // Method begins at RVA 0x13e28 + // Code size 831 (0x33f) + .maxstack 5 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class [System.Xml]System.Xml.XmlNode V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class [System.Xml]System.Xml.XmlNode V_3, - class [System.Xml]System.Xml.XmlNode V_4, - string V_5, - string V_6, - string V_7, - class [System]System.Uri V_8, - class [mscorlib]System.IDisposable V_9) + class NAnt.VSNet.VcProject V_0, + string V_1, + object V_2, + class [mscorlib]System.Collections.IEnumerator V_3, + string V_4, + class NAnt.VSNet.VcConfigurationBase V_5, + class [mscorlib]System.Collections.Hashtable V_6, + class NAnt.VSNet.VcFileConfiguration V_7, + valuetype [mscorlib]System.Collections.DictionaryEntry V_8, + class [mscorlib]System.Collections.IDictionaryEnumerator V_9, + class [mscorlib]System.IDisposable V_10, + string V_11, + class [mscorlib]System.IDisposable V_12, + valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_13, + string V_14) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0007: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() - IL_000c: ldarg.1 - IL_000d: callvirt instance class [System.Xml]System.Xml.XmlDocument class NAnt.VSNet.ProjectFactory::LoadProjectXml(string) - IL_0012: stloc.0 - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldstr "//Reference" - IL_001a: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_001f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0024: stloc.2 + IL_0002: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0007: castclass NAnt.VSNet.VcProject + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0018: ldarg.0 + IL_0019: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() + IL_001e: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0023: stloc.1 + IL_0024: nop + IL_0025: ldloc.0 + IL_0026: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.VcProject::get_ProjectFiles() + IL_002b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0030: stloc.3 .try { // 1 - IL_0025: br IL_01c7 + IL_0031: br IL_0284 - IL_002a: ldloc.2 - IL_002b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0030: castclass [System.Xml]System.Xml.XmlNode - IL_0035: stloc.1 - IL_0036: nop - IL_0037: ldloc.1 - IL_0038: ldstr "GUIDPROJECTID" - IL_003d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0042: stloc.3 - IL_0043: ldloc.1 - IL_0044: ldstr "FILE" - IL_0049: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_004e: stloc.s 4 - IL_0050: ldloc.s 4 - IL_0052: brtrue IL_006d + IL_0036: ldloc.3 + IL_0037: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_003c: stloc.2 + IL_003d: nop + IL_003e: ldnull + IL_003f: stloc.s 4 + IL_0041: ldnull + IL_0042: stloc.s 5 + IL_0044: ldloc.2 + IL_0045: isinst [mscorlib]System.String + IL_004a: brfalse IL_005e - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: ldc.i4 4000 - IL_005e: ldstr "Reference with missing node. Skipping." - IL_0063: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0068: leave IL_01c7 + IL_004f: nop + IL_0050: ldloc.2 + IL_0051: castclass [mscorlib]System.String + IL_0056: stloc.s 4 + IL_0058: nop + IL_0059: br IL_0104 - IL_006d: ldloc.3 - IL_006e: brfalse IL_01a4 + IL_005e: nop + IL_005f: ldloc.2 + IL_0060: castclass [mscorlib]System.Collections.Hashtable + IL_0065: stloc.s 6 + IL_0067: ldloc.s 6 + IL_0069: ldarg.0 + IL_006a: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_006f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0074: castclass NAnt.VSNet.VcFileConfiguration + IL_0079: stloc.s 7 + IL_007b: ldloc.s 7 + IL_007d: brfalse IL_0094 - IL_0073: nop - IL_0074: ldloc.1 - IL_0075: ldstr "FILE" - IL_007a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_007f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_0084: stloc.s 5 - IL_0086: ldarg.0 - IL_0087: ldfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::_webMaps - IL_008c: ldloc.s 5 - IL_008e: callvirt instance string class NAnt.VSNet.Types.WebMapCollection::FindBestMatch(string) - IL_0093: stloc.s 7 - IL_0095: ldloc.s 7 - IL_0097: brfalse IL_00c2 + IL_0082: ldloc.s 7 + IL_0084: callvirt instance bool class NAnt.VSNet.VcFileConfiguration::get_ExcludeFromBuild() + IL_0089: brfalse IL_0094 - IL_009c: nop - IL_009d: ldarg.0 - IL_009e: ldc.i4 1000 - IL_00a3: ldstr "Found webmap match '{0}' for '{1}." - IL_00a8: ldc.i4.2 - IL_00a9: newarr [mscorlib]System.Object - IL_00ae: dup - IL_00af: ldc.i4.0 - IL_00b0: ldloc.s 7 - IL_00b2: stelem.ref - IL_00b3: dup - IL_00b4: ldc.i4.1 - IL_00b5: ldloc.s 5 - IL_00b7: stelem.ref - IL_00b8: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00bd: ldloc.s 7 - IL_00bf: stloc.s 5 - IL_00c1: nop + IL_008e: nop + IL_008f: leave IL_0284 + + IL_0094: ldloc.s 7 + IL_0096: stloc.s 5 + IL_0098: ldloc.s 7 + IL_009a: brtrue IL_00fa + + IL_009f: nop + IL_00a0: nop + IL_00a1: ldloc.s 6 + IL_00a3: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_00a8: stloc.s 9 .try { // 0 - IL_00c2: nop - IL_00c3: ldloc.s 5 - IL_00c5: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_00ca: stloc.s 8 - IL_00cc: ldloc.s 8 - IL_00ce: callvirt instance string class [System]System.Uri::get_Scheme() - IL_00d3: ldsfld string [System]System.Uri::UriSchemeFile - IL_00d8: call bool string::op_Equality(string, string) - IL_00dd: brfalse IL_0102 + IL_00aa: br IL_00d1 - IL_00e2: nop - IL_00e3: ldarg.1 - IL_00e4: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_00e9: ldloc.s 8 - IL_00eb: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_00f0: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00f5: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_00fa: stloc.s 6 - IL_00fc: nop - IL_00fd: br IL_0130 + IL_00af: ldloc.s 9 + IL_00b1: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00b6: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_00bb: stloc.s 8 + IL_00bd: nop + IL_00be: ldloca.s 8 + IL_00c0: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_00c5: castclass NAnt.VSNet.VcFileConfiguration + IL_00ca: stloc.s 7 + IL_00cc: leave IL_00dd - IL_0102: nop - IL_0103: ldloc.s 5 - IL_0105: stloc.s 6 - IL_0107: ldarg.0 - IL_0108: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_010d: callvirt instance bool class NAnt.VSNet.Tasks.SolutionTask::get_EnableWebDav() - IL_0112: brtrue IL_012f + IL_00d1: ldloc.s 9 + IL_00d3: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00d8: brtrue IL_00af - IL_0117: nop - IL_0118: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_011d: ldstr "Cannot build web project '{0}'. Please use to map the given URL to a project-relative path, or specify enablewebdav=\"true\" on the task element to use WebDAV." - IL_0122: ldloc.s 6 - IL_0124: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0129: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_012e: throw - IL_012f: nop - IL_0130: nop - IL_0131: leave IL_0152 + IL_00dd: leave IL_00f9 } // end .try 0 - catch class [System]System.UriFormatException { // 0 - IL_0136: pop - IL_0137: nop - IL_0138: ldarg.1 - IL_0139: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_013e: ldloc.s 5 - IL_0140: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0145: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_014a: stloc.s 6 - IL_014c: nop - IL_014d: leave IL_0152 + finally { // 0 + IL_00e2: ldloc.s 9 + IL_00e4: isinst [mscorlib]System.IDisposable + IL_00e9: dup + IL_00ea: stloc.s 10 + IL_00ec: brfalse IL_00f8 + IL_00f1: ldloc.s 10 + IL_00f3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00f8: endfinally } // end handler 0 - IL_0152: ldloc.s 6 - IL_0154: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0159: brtrue IL_0168 + IL_00f9: nop + IL_00fa: ldloc.s 7 + IL_00fc: callvirt instance string class NAnt.VSNet.VcFileConfiguration::get_RelativePath() + IL_0101: stloc.s 4 + IL_0103: nop + IL_0104: ldloc.s 4 + IL_0106: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_010b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0110: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0115: stloc.s 11 + IL_0117: ldloc.s 5 + IL_0119: brtrue IL_0123 - IL_015e: nop - IL_015f: ldarg.0 - IL_0160: ldloc.s 6 - IL_0162: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.SolutionBase::CreateProjectDoesNotExistException(string) - IL_0167: throw - IL_0168: ldloc.s 6 - IL_016a: call bool class NAnt.VSNet.ManagedProjectBase::IsEnterpriseTemplateProject(string) - IL_016f: brfalse IL_0183 + IL_011e: nop + IL_011f: ldarg.0 + IL_0120: stloc.s 5 + IL_0122: nop + IL_0123: ldloc.s 11 + IL_0125: brfalse IL_0283 - IL_0174: nop - IL_0175: ldarg.0 - IL_0176: ldloc.s 6 - IL_0178: call instance void class NAnt.VSNet.SolutionBase::RecursiveLoadTemplateProject(string) - IL_017d: nop - IL_017e: br IL_019e + IL_012a: ldloc.s 11 + IL_012c: ldstr ".cpp" + IL_0131: call bool string::op_Equality(string, string) + IL_0136: brtrue IL_0184 + + IL_013b: ldloc.s 11 + IL_013d: ldstr ".c" + IL_0142: call bool string::op_Equality(string, string) + IL_0147: brtrue IL_0184 + + IL_014c: ldloc.s 11 + IL_014e: ldstr ".rc" + IL_0153: call bool string::op_Equality(string, string) + IL_0158: brtrue IL_01e1 + + IL_015d: ldloc.s 11 + IL_015f: ldstr ".idl" + IL_0164: call bool string::op_Equality(string, string) + IL_0169: brtrue IL_023d + + IL_016e: ldloc.s 11 + IL_0170: ldstr ".odl" + IL_0175: call bool string::op_Equality(string, string) + IL_017a: brtrue IL_023d + + IL_017f: br IL_0283 - IL_0183: nop IL_0184: ldarg.0 - IL_0185: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_018a: ldloc.3 - IL_018b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_0190: ldloc.s 6 - IL_0192: newobj instance void class NAnt.VSNet.ProjectEntry::'.ctor'(string, string) - IL_0197: callvirt instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) - IL_019c: pop - IL_019d: nop - IL_019e: nop - IL_019f: br IL_01c6 + IL_0185: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs + IL_018a: ldloc.s 5 + IL_018c: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0191: brtrue IL_01ab - IL_01a4: nop - IL_01a5: ldarg.0 - IL_01a6: ldc.i4 2000 - IL_01ab: ldstr "Skipping file reference '{0}'." - IL_01b0: ldc.i4.1 - IL_01b1: newarr [mscorlib]System.Object - IL_01b6: dup - IL_01b7: ldc.i4.0 - IL_01b8: ldloc.s 4 - IL_01ba: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_01bf: stelem.ref - IL_01c0: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01c5: nop - IL_01c6: nop - IL_01c7: ldloc.2 - IL_01c8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01cd: brtrue IL_002a + IL_0196: nop + IL_0197: ldarg.0 + IL_0198: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs + IL_019d: ldloc.s 5 + IL_019f: ldc.i4.1 + IL_01a0: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_01a5: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_01aa: nop + IL_01ab: ldarg.0 + IL_01ac: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_sourceConfigs + IL_01b1: ldloc.s 5 + IL_01b3: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_01b8: castclass [mscorlib]System.Collections.ArrayList + IL_01bd: ldloc.s 4 + IL_01bf: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_01c4: pop + IL_01c5: ldarg.0 + IL_01c6: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_01cb: ldloc.0 + IL_01cc: ldloc.s 4 + IL_01ce: ldloc.s 5 + IL_01d0: ldloc.1 + IL_01d1: callvirt instance string class NAnt.VSNet.VcProject::GetObjOutputFile(string, class NAnt.VSNet.VcConfigurationBase, string) + IL_01d6: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_01db: pop + IL_01dc: leave IL_0283 + + IL_01e1: ldarg.0 + IL_01e2: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs + IL_01e7: ldloc.s 5 + IL_01e9: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_01ee: brtrue IL_0208 + + IL_01f3: nop + IL_01f4: ldarg.0 + IL_01f5: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs + IL_01fa: ldloc.s 5 + IL_01fc: ldc.i4.1 + IL_01fd: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0202: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0207: nop + IL_0208: ldarg.0 + IL_0209: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_rcConfigs + IL_020e: ldloc.s 5 + IL_0210: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0215: castclass [mscorlib]System.Collections.ArrayList + IL_021a: ldloc.s 4 + IL_021c: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0221: pop + IL_0222: ldarg.0 + IL_0223: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_0228: ldloc.0 + IL_0229: ldloc.s 4 + IL_022b: ldloc.s 5 + IL_022d: callvirt instance string class NAnt.VSNet.VcProject::GetResourceOutputFile(string, class NAnt.VSNet.VcConfigurationBase) + IL_0232: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0237: pop + IL_0238: leave IL_0283 + + IL_023d: ldarg.0 + IL_023e: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs + IL_0243: ldloc.s 5 + IL_0245: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_024a: brtrue IL_0264 + + IL_024f: nop + IL_0250: ldarg.0 + IL_0251: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs + IL_0256: ldloc.s 5 + IL_0258: ldc.i4.1 + IL_0259: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_025e: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0263: nop + IL_0264: ldarg.0 + IL_0265: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::_idlConfigs + IL_026a: ldloc.s 5 + IL_026c: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0271: castclass [mscorlib]System.Collections.ArrayList + IL_0276: ldloc.s 4 + IL_0278: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_027d: pop + IL_027e: leave IL_0283 + + IL_0283: nop + IL_0284: ldloc.3 + IL_0285: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_028a: brtrue IL_0036 + + IL_028f: leave IL_02aa + + } // end .try 1 + finally { // 1 + IL_0294: ldloc.3 + IL_0295: isinst [mscorlib]System.IDisposable + IL_029a: dup + IL_029b: stloc.s 12 + IL_029d: brfalse IL_02a9 + + IL_02a2: ldloc.s 12 + IL_02a4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02a9: endfinally + } // end handler 1 + IL_02aa: ldarg.0 + IL_02ab: call instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_02b0: stloc.s 13 + IL_02b2: ldloc.s 13 + IL_02b4: switch ( + IL_02f5, + IL_02e4, + IL_02e4, + IL_0337, + IL_02d2) + IL_02cd: br IL_0337 - IL_01d2: leave IL_01ed + IL_02d2: ldarg.0 + IL_02d3: ldarg.0 + IL_02d4: ldloc.1 + IL_02d5: call instance string class NAnt.VSNet.VcProjectConfiguration::GetLibrarianOutputFile(string) + IL_02da: stfld string NAnt.VSNet.VcProjectConfiguration::_outputPath + IL_02df: br IL_0337 - } // end .try 1 - finally { // 1 - IL_01d7: ldloc.2 - IL_01d8: isinst [mscorlib]System.IDisposable - IL_01dd: dup - IL_01de: stloc.s 9 - IL_01e0: brfalse IL_01ec + IL_02e4: ldarg.0 + IL_02e5: ldarg.0 + IL_02e6: call instance string class NAnt.VSNet.VcProjectConfiguration::GetLinkerOutputFile() + IL_02eb: stfld string NAnt.VSNet.VcProjectConfiguration::_outputPath + IL_02f0: br IL_0337 - IL_01e5: ldloc.s 9 - IL_01e7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01ec: endfinally - } // end handler 1 - IL_01ed: ret - } // end of method SolutionBase::RecursiveLoadTemplateProject + IL_02f5: ldarg.0 + IL_02f6: ldstr "VCNMakeTool" + IL_02fb: ldstr "Output" + IL_0300: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0305: stloc.s 14 + IL_0307: ldloc.s 14 + IL_0309: call bool string::IsNullOrEmpty(string) + IL_030e: brtrue IL_0332 - // method line 663 - .method public hidebysig - instance default string GetProjectFileFromGuid (string projectGuid) cil managed + IL_0313: nop + IL_0314: ldarg.0 + IL_0315: ldarg.0 + IL_0316: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_031b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0320: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0325: ldloc.s 14 + IL_0327: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_032c: stfld string NAnt.VSNet.VcProjectConfiguration::_outputPath + IL_0331: nop + IL_0332: br IL_0337 + + IL_0337: ldarg.0 + IL_0338: ldc.i4.1 + IL_0339: stfld bool NAnt.VSNet.VcProjectConfiguration::_initialized + IL_033e: ret + } // end of method VcProjectConfiguration::Initialize + + // method line 675 + .method private hidebysig + instance default string GetLibrarianOutputFile (string intermediateDir) cil managed { - // Method begins at RVA 0x2460 - // Code size 62 (0x3e) - .maxstack 3 + // Method begins at RVA 0x141a8 + // Code size 138 (0x8a) + .maxstack 4 .locals init ( - class NAnt.VSNet.ProjectEntry V_0, + string V_0, string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: brtrue IL_0030 + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_000c: brtrue IL_0019 - IL_0014: nop - IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001a: ldstr "Project with GUID '{0}' must be included for the build to work." - IL_001f: ldarg.1 - IL_0020: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0025: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_002a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() - IL_0036: stloc.1 - IL_0037: br IL_003c + IL_0011: nop + IL_0012: ldnull + IL_0013: stloc.0 + IL_0014: br IL_0088 - IL_003c: ldloc.1 - IL_003d: ret - } // end of method SolutionBase::GetProjectFileFromGuid + IL_0019: ldarg.0 + IL_001a: ldstr "VCLibrarianTool" + IL_001f: ldstr "OutputFile" + IL_0024: ldstr "$(OutDir)/$(ProjectName).lib" + IL_0029: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_002e: stloc.1 + IL_002f: ldloc.1 + IL_0030: call bool string::IsNullOrEmpty(string) + IL_0035: brfalse IL_0068 - // method line 664 - .method public hidebysig - instance default class NAnt.VSNet.ProjectBase GetProjectFromGuid (string projectGuid) cil managed + IL_003a: nop + IL_003b: ldarg.1 + IL_003c: ldarg.0 + IL_003d: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_0042: ldc.i4.0 + IL_0043: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_0048: castclass [mscorlib]System.String + IL_004d: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0052: ldstr ".lib" + IL_0057: call string string::Concat(string, string) + IL_005c: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0061: stloc.1 + IL_0062: nop + IL_0063: br IL_0081 + + IL_0068: nop + IL_0069: ldarg.0 + IL_006a: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_006f: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0074: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0079: ldloc.1 + IL_007a: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_007f: stloc.1 + IL_0080: nop + IL_0081: ldloc.1 + IL_0082: stloc.0 + IL_0083: br IL_0088 + + IL_0088: ldloc.0 + IL_0089: ret + } // end of method VcProjectConfiguration::GetLibrarianOutputFile + + // method line 676 + .method private hidebysig + instance default string GetLinkerOutputFile () cil managed { - // Method begins at RVA 0x24ac - // Code size 73 (0x49) - .maxstack 3 + // Method begins at RVA 0x14240 + // Code size 443 (0x1bb) + .maxstack 5 .locals init ( - class NAnt.VSNet.ProjectEntry V_0, - class NAnt.VSNet.ProjectBase V_1) + string V_0, + string[] V_1, + int32 V_2, + string V_3, + string V_4, + string V_5, + valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType V_6, + string V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0007: ldarg.1 - IL_0008: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: brfalse IL_001f + IL_0002: ldstr "VCLinkerTool" + IL_0007: ldstr "AdditionalDependencies" + IL_000c: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: call bool string::IsNullOrEmpty(string) + IL_0018: brtrue IL_00aa - IL_0014: ldloc.0 - IL_0015: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_001a: brtrue IL_003b + IL_001d: nop + IL_001e: ldloc.0 + IL_001f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0024: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0029: ldstr "$(noinherit)" + IL_002e: callvirt instance int32 string::IndexOf(string) + IL_0033: ldc.i4.m1 + IL_0034: beq IL_0061 - IL_001f: nop - IL_0020: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0025: ldstr "Project with GUID '{0}' is not loaded." - IL_002a: ldarg.1 - IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_003a: throw + IL_0039: nop + IL_003a: ldloc.0 IL_003b: ldloc.0 - IL_003c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0041: stloc.1 - IL_0042: br IL_0047 + IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0041: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_0046: ldstr "$(noinherit)" + IL_004b: callvirt instance int32 string::IndexOf(string) + IL_0050: ldstr "$(noinherit)" + IL_0055: call instance int32 string::get_Length() + IL_005a: callvirt instance string string::Remove(int32, int32) + IL_005f: stloc.0 + IL_0060: nop + IL_0061: ldloc.0 + IL_0062: ldc.i4.s 0x20 + IL_0064: ldc.i4.0 + IL_0065: callvirt instance string[] [mscorlib]System.String::Split(char, valuetype [mscorlib]System.StringSplitOptions) + IL_006a: stloc.1 + IL_006b: ldc.i4.0 + IL_006c: stloc.2 + IL_006d: br IL_00a0 - IL_0047: ldloc.1 - IL_0048: ret - } // end of method SolutionBase::GetProjectFromGuid + IL_0072: nop + IL_0073: ldloc.1 + IL_0074: ldloc.2 + IL_0075: ldelem.ref + IL_0076: stloc.3 + IL_0077: ldloc.3 + IL_0078: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_007d: ldstr ".obj" + IL_0082: call bool string::op_Equality(string, string) + IL_0087: brfalse IL_009b - // method line 665 - .method public hidebysig - instance default bool Compile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed - { - // Method begins at RVA 0x2504 - // Code size 765 (0x2fd) - .maxstack 7 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class [mscorlib]System.Collections.Hashtable V_1, - class [mscorlib]System.Collections.ArrayList V_2, - bool V_3, - bool V_4, - class NAnt.VSNet.ProjectEntry V_5, - class NAnt.VSNet.ProjectEntryEnumerator V_6, - class NAnt.VSNet.ProjectBase V_7, - bool V_8, - class NAnt.VSNet.ProjectEntry V_9, - class NAnt.VSNet.ProjectEntryEnumerator V_10, - class NAnt.VSNet.ProjectBase V_11, - class [mscorlib]System.IDisposable V_12, - class [mscorlib]System.Exception V_13, - class [mscorlib]System.IDisposable V_14, - string V_15, - class [mscorlib]System.Collections.IEnumerator V_16, - class [mscorlib]System.IDisposable V_17, - bool V_18) - IL_0000: nop - IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0006: stloc.0 - IL_0007: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_000c: stloc.1 - IL_000d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0012: stloc.2 - IL_0013: ldc.i4.1 - IL_0014: stloc.3 - IL_0015: ldarg.0 - IL_0016: ldarg.1 - IL_0017: call instance void class NAnt.VSNet.SolutionBase::GetDependenciesFromProjects(class NAnt.VSNet.Configuration) - IL_001c: nop - IL_001d: nop - IL_001e: ldc.i4.0 - IL_001f: stloc.s 4 - IL_0021: nop - IL_0022: ldarg.0 - IL_0023: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0028: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() - IL_002d: stloc.s 6 - .try { // 3 - IL_002f: br IL_0207 + IL_008c: nop + IL_008d: ldarg.0 + IL_008e: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_0093: ldloc.2 + IL_0094: ldloc.3 + IL_0095: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) + IL_009a: nop + IL_009b: nop + IL_009c: ldloc.2 + IL_009d: ldc.i4.1 + IL_009e: add + IL_009f: stloc.2 + IL_00a0: ldloc.2 + IL_00a1: ldloc.1 + IL_00a2: ldlen + IL_00a3: conv.i4 + IL_00a4: blt IL_0072 - IL_0034: ldloc.s 6 - IL_0036: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() - IL_003b: stloc.s 5 - IL_003d: nop - IL_003e: ldloc.s 5 - IL_0040: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0045: stloc.s 7 - IL_0047: ldloc.s 7 - IL_0049: brtrue IL_0062 + IL_00a9: nop + IL_00aa: ldarg.0 + IL_00ab: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_00b0: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_00b5: brtrue IL_00c3 - IL_004e: nop - IL_004f: ldloc.0 - IL_0050: ldloc.s 5 - IL_0052: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() - IL_0057: ldnull - IL_0058: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_005d: leave IL_0207 + IL_00ba: nop + IL_00bb: ldnull + IL_00bc: stloc.s 4 + IL_00be: br IL_01b8 - IL_0062: ldloc.0 - IL_0063: ldloc.s 7 - IL_0065: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_006a: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_006f: brfalse IL_007a + IL_00c3: ldsfld string [mscorlib]System.String::Empty + IL_00c8: stloc.s 5 + IL_00ca: ldarg.0 + IL_00cb: call instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType class NAnt.VSNet.VcProjectConfiguration::get_Type() + IL_00d0: stloc.s 6 + IL_00d2: ldloc.s 6 + IL_00d4: ldc.i4.1 + IL_00d5: beq IL_00e7 - IL_0074: nop - IL_0075: leave IL_0207 + IL_00da: ldloc.s 6 + IL_00dc: ldc.i4.2 + IL_00dd: beq IL_00f3 - IL_007a: ldloc.1 - IL_007b: ldloc.s 7 - IL_007d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0082: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_0087: stloc.s 8 - IL_0089: ldloc.s 8 - IL_008b: brtrue IL_00b5 + IL_00e2: br IL_00ff - IL_0090: nop - IL_0091: ldarg.0 - IL_0092: ldloc.s 7 - IL_0094: ldarg.1 - IL_0095: ldloc.0 - IL_0096: ldloc.1 - IL_0097: call instance bool class NAnt.VSNet.SolutionBase::FixProjectReferences(class NAnt.VSNet.ProjectBase, class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Hashtable) - IL_009c: brfalse IL_00b4 + IL_00e7: ldstr ".exe" + IL_00ec: stloc.s 5 + IL_00ee: br IL_00ff - IL_00a1: nop - IL_00a2: ldc.i4.1 - IL_00a3: stloc.s 8 - IL_00a5: ldloc.1 - IL_00a6: ldloc.s 7 - IL_00a8: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_00ad: ldnull - IL_00ae: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00b3: nop - IL_00b4: nop - IL_00b5: ldarg.0 - IL_00b6: ldloc.s 7 - IL_00b8: ldloc.0 - IL_00b9: call instance bool class NAnt.VSNet.SolutionBase::HasDirtyProjectDependency(class NAnt.VSNet.ProjectBase, class [mscorlib]System.Collections.Hashtable) - IL_00be: brtrue IL_0206 + IL_00f3: ldstr ".dll" + IL_00f8: stloc.s 5 + IL_00fa: br IL_00ff - IL_00c3: nop - .try { // 1 - IL_00c4: nop - IL_00c5: ldarg.0 - IL_00c6: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htReferenceProjects - IL_00cb: ldloc.s 7 - IL_00cd: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_00d2: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_00d7: brtrue IL_01c4 + IL_00ff: ldarg.0 + IL_0100: ldstr "VCLinkerTool" + IL_0105: ldstr "OutputFile" + IL_010a: ldstr "$(OutDir)/$(ProjectName)" + IL_010f: ldloc.s 5 + IL_0111: call string string::Concat(string, string) + IL_0116: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_011b: stloc.s 7 + IL_011d: ldloc.s 7 + IL_011f: call bool string::IsNullOrEmpty(string) + IL_0124: brfalse IL_015f - IL_00dc: ldloc.s 8 - IL_00de: brtrue IL_00f0 + IL_0129: nop + IL_012a: ldarg.0 + IL_012b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0130: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0135: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_013a: ldarg.0 + IL_013b: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::_objFiles + IL_0140: ldc.i4.0 + IL_0141: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_0146: castclass [mscorlib]System.String + IL_014b: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0150: ldloc.s 5 + IL_0152: call string string::Concat(string, string) + IL_0157: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_015c: stloc.s 7 + IL_015e: nop + IL_015f: ldarg.0 + IL_0160: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0165: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() + IL_016a: brfalse IL_0194 - IL_00e3: ldloc.s 7 - IL_00e5: ldarg.1 - IL_00e6: callvirt instance bool class NAnt.VSNet.ProjectBase::Compile(class NAnt.VSNet.Configuration) - IL_00eb: brtrue IL_01c4 + IL_016f: nop + IL_0170: ldarg.0 + IL_0171: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0176: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() + IL_017b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0180: ldloc.s 7 + IL_0182: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0187: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_018c: stloc.s 7 + IL_018e: nop + IL_018f: br IL_01af - IL_00f0: nop - IL_00f1: ldloc.s 8 - IL_00f3: brtrue IL_0138 + IL_0194: nop + IL_0195: ldarg.0 + IL_0196: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_019b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_01a0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01a5: ldloc.s 7 + IL_01a7: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_01ac: stloc.s 7 + IL_01ae: nop + IL_01af: ldloc.s 7 + IL_01b1: stloc.s 4 + IL_01b3: br IL_01b8 + + IL_01b8: ldloc.s 4 + IL_01ba: ret + } // end of method VcProjectConfiguration::GetLinkerOutputFile + + // method line 677 + .method private static hidebysig + default string GetXmlAttributeValue (class [System.Xml]System.Xml.XmlNode xmlNode, string attributeName) cil managed + { + // Method begins at RVA 0x14408 + // Code size 58 (0x3a) + .maxstack 2 + .locals init ( + string V_0, + class [System.Xml]System.Xml.XmlAttribute V_1, + string V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: brfalse IL_0031 + + IL_0009: nop + IL_000a: ldarg.0 + IL_000b: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0010: ldarg.1 + IL_0011: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNamedNodeMap::GetNamedItem(string) + IL_0016: castclass [System.Xml]System.Xml.XmlAttribute + IL_001b: stloc.1 + IL_001c: ldloc.1 + IL_001d: brfalse IL_0030 + + IL_0022: nop + IL_0023: ldloc.1 + IL_0024: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0029: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_002e: stloc.0 + IL_002f: nop + IL_0030: nop + IL_0031: ldloc.0 + IL_0032: stloc.2 + IL_0033: br IL_0038 + + IL_0038: ldloc.2 + IL_0039: ret + } // end of method VcProjectConfiguration::GetXmlAttributeValue + + .property instance valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Type () + { + .get instance default valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType NAnt.VSNet.VcProjectConfiguration::get_Type () + } + .property instance bool WholeProgramOptimization () + { + .get instance default bool NAnt.VSNet.VcProjectConfiguration::get_WholeProgramOptimization () + } + .property instance valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet CharacterSet () + { + .get instance default valuetype [NAnt.VisualCppTasks]NAnt.VisualCpp.Types.CharacterSet NAnt.VSNet.VcProjectConfiguration::get_CharacterSet () + } + .property instance bool ManagedExtensions () + { + .get instance default bool NAnt.VSNet.VcProjectConfiguration::get_ManagedExtensions () + } + .property instance valuetype NAnt.VSNet.Types.UseOfMFC UseOfMFC () + { + .get instance default valuetype NAnt.VSNet.Types.UseOfMFC NAnt.VSNet.VcProjectConfiguration::get_UseOfMFC () + } + .property instance valuetype NAnt.VSNet.Types.UseOfATL UseOfATL () + { + .get instance default valuetype NAnt.VSNet.Types.UseOfATL NAnt.VSNet.VcProjectConfiguration::get_UseOfATL () + } + .property instance string RawRelativeOutputDir () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RawRelativeOutputDir () + } + .property instance string RawIntermediateDir () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RawIntermediateDir () + } + .property instance string RawReferencesPath () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RawReferencesPath () + } + .property instance class NAnt.VSNet.VcProjectConfiguration/LinkerConfig LinkerConfiguration () + { + .get instance default class NAnt.VSNet.VcProjectConfiguration/LinkerConfig NAnt.VSNet.VcProjectConfiguration::get_LinkerConfiguration () + } + .property instance class [mscorlib]System.Collections.ArrayList ObjFiles () + { + .get instance default class [mscorlib]System.Collections.ArrayList NAnt.VSNet.VcProjectConfiguration::get_ObjFiles () + } + .property instance class [mscorlib]System.Collections.Hashtable SourceConfigs () + { + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::get_SourceConfigs () + } + .property instance class [mscorlib]System.Collections.Hashtable RcConfigs () + { + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::get_RcConfigs () + } + .property instance class [mscorlib]System.Collections.Hashtable IdlConfigs () + { + .get instance default class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcProjectConfiguration::get_IdlConfigs () + } + .property instance string TargetPath () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_TargetPath () + } + .property instance class [mscorlib]System.IO.DirectoryInfo ObjectDir () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcProjectConfiguration::get_ObjectDir () + } + .property instance string RelativeOutputDir () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_RelativeOutputDir () + } + .property instance string IntermediateDir () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_IntermediateDir () + } + .property instance string OutputPath () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_OutputPath () + } + .property instance string ReferencesPath () + { + .get instance default string NAnt.VSNet.VcProjectConfiguration::get_ReferencesPath () + } + .class nested public auto ansi sealed ConfigurationType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Makefile = int32(0x00000000) + .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Application = int32(0x00000001) + .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType DynamicLibrary = int32(0x00000002) + .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType StaticLibrary = int32(0x00000004) + .field public static literal valuetype NAnt.VSNet.VcProjectConfiguration/ConfigurationType Utility = int32(0x0000000a) - IL_00f8: nop - IL_00f9: ldarg.0 - IL_00fa: ldc.i4 5000 - IL_00ff: ldstr "Project '{0}' failed!" - IL_0104: ldc.i4.1 - IL_0105: newarr [mscorlib]System.Object - IL_010a: dup - IL_010b: ldc.i4.0 - IL_010c: ldloc.s 7 - IL_010e: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0113: stelem.ref - IL_0114: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0119: ldarg.0 - IL_011a: ldc.i4 5000 - IL_011f: ldstr "Continuing build with non-dependent projects." - IL_0124: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0129: ldloc.2 - IL_012a: ldloc.s 7 - IL_012c: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0131: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0136: pop - IL_0137: nop - IL_0138: ldc.i4.0 - IL_0139: stloc.3 - IL_013a: ldloc.1 - IL_013b: ldloc.s 7 - IL_013d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0142: ldnull - IL_0143: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0148: nop - IL_0149: ldarg.0 - IL_014a: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_014f: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() - IL_0154: stloc.s 10 - .try { // 0 - IL_0156: br IL_019b + } // end of class ConfigurationType - IL_015b: ldloc.s 10 - IL_015d: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() - IL_0162: stloc.s 9 - IL_0164: nop - IL_0165: ldloc.s 9 - IL_0167: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_016c: stloc.s 11 - IL_016e: ldloc.s 11 - IL_0170: brtrue IL_0177 + .class nested assembly auto ansi beforefieldinit LinkerConfig + extends [mscorlib]System.Object + { + .field private initonly class NAnt.VSNet.VcProjectConfiguration _projectConfig - IL_0175: nop - IL_0176: nop - IL_0177: ldloc.s 11 - IL_0179: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() - IL_017e: ldloc.s 7 - IL_0180: callvirt instance bool class NAnt.VSNet.ProjectBaseCollection::Contains(class NAnt.VSNet.ProjectBase) - IL_0185: brfalse IL_019a + // method line 678 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.VcProjectConfiguration projectConfig) cil managed + { + // Method begins at RVA 0x1444e + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig + IL_000e: ret + } // end of method LinkerConfig::.ctor - IL_018a: nop - IL_018b: ldloc.1 - IL_018c: ldloc.s 11 - IL_018e: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0193: ldnull - IL_0194: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0199: nop - IL_019a: nop - IL_019b: ldloc.s 10 - IL_019d: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() - IL_01a2: brtrue IL_015b + // method line 679 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ImportLibrary () cil managed + { + // Method begins at RVA 0x14460 + // Code size 185 (0xb9) + .maxstack 4 + .locals init ( + string V_0, + string V_1, + class [mscorlib]System.IO.FileInfo V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: call instance class NAnt.VSNet.VcProject class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_Project() + IL_0009: ldarg.0 + IL_000a: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig + IL_000f: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0014: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.Tasks.SolutionTask::get_SolutionConfig() + IL_0019: callvirt instance bool class NAnt.VSNet.ProjectBase::IsManaged(class NAnt.VSNet.Configuration) + IL_001e: brtrue IL_002b - IL_01a7: leave IL_01c3 + IL_0023: nop + IL_0024: ldstr "$(OutDir)/$(TargetName).lib" + IL_0029: stloc.0 + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig + IL_0031: ldstr "VCLinkerTool" + IL_0036: ldstr "ImportLibrary" + IL_003b: ldloc.0 + IL_003c: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) + IL_0041: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0046: stloc.1 + IL_0047: ldloc.1 + IL_0048: brtrue IL_0055 - } // end .try 0 - finally { // 0 - IL_01ac: ldloc.s 10 - IL_01ae: isinst [mscorlib]System.IDisposable - IL_01b3: dup - IL_01b4: stloc.s 12 - IL_01b6: brfalse IL_01c2 + IL_004d: nop + IL_004e: ldnull + IL_004f: stloc.2 + IL_0050: br IL_00b7 - IL_01bb: ldloc.s 12 - IL_01bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01c2: endfinally - } // end handler 0 - IL_01c3: nop - IL_01c4: nop - IL_01c5: leave IL_01f4 + IL_0055: ldarg.0 + IL_0056: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig + IL_005b: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0060: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() + IL_0065: brfalse IL_0092 - } // end .try 1 - catch class [NAnt.Core]NAnt.Core.BuildException { // 1 - IL_01ca: pop - IL_01cb: nop - IL_01cc: rethrow - } // end handler 1 - catch class [mscorlib]System.Exception { // 2 - IL_01ce: stloc.s 13 - IL_01d0: nop - IL_01d1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01d6: ldstr "Unexpected error while compiling project '{0}'" - IL_01db: ldloc.s 7 - IL_01dd: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_01e2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01e7: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_01ec: ldloc.s 13 - IL_01ee: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_01f3: throw - } // end handler 2 - IL_01f4: ldc.i4.1 - IL_01f5: stloc.s 4 - IL_01f7: ldloc.0 - IL_01f8: ldloc.s 7 - IL_01fa: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_01ff: ldnull - IL_0200: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0205: nop - IL_0206: nop - IL_0207: ldloc.s 6 - IL_0209: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() - IL_020e: brtrue IL_0034 + IL_006a: nop + IL_006b: ldarg.0 + IL_006c: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig + IL_0071: callvirt instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() + IL_0076: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() + IL_007b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0080: ldloc.1 + IL_0081: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0086: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_008b: stloc.1 + IL_008c: nop + IL_008d: br IL_00ab - IL_0213: leave IL_022f + IL_0092: nop + IL_0093: ldarg.0 + IL_0094: call instance class NAnt.VSNet.VcProject class NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_Project() + IL_0099: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_009e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00a3: ldloc.1 + IL_00a4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00a9: stloc.1 + IL_00aa: nop + IL_00ab: ldloc.1 + IL_00ac: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_00b1: stloc.2 + IL_00b2: br IL_00b7 - } // end .try 3 - finally { // 3 - IL_0218: ldloc.s 6 - IL_021a: isinst [mscorlib]System.IDisposable - IL_021f: dup - IL_0220: stloc.s 14 - IL_0222: brfalse IL_022e + IL_00b7: ldloc.2 + IL_00b8: ret + } // end of method LinkerConfig::get_ImportLibrary - IL_0227: ldloc.s 14 - IL_0229: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_022e: endfinally - } // end handler 3 - IL_022f: ldarg.0 - IL_0230: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0235: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_023a: ldloc.0 - IL_023b: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() - IL_0240: bne.un IL_024b + // method line 680 + .method private hidebysig specialname + instance default class NAnt.VSNet.VcProject get_Project () cil managed + { + // Method begins at RVA 0x14528 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.VSNet.VcProject V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcProjectConfiguration/LinkerConfig::_projectConfig + IL_0007: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_000c: castclass NAnt.VSNet.VcProject + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0245: nop - IL_0246: br IL_0269 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method LinkerConfig::get_Project - IL_024b: ldloc.s 4 - IL_024d: brtrue IL_0263 + .property instance class [mscorlib]System.IO.FileInfo ImportLibrary () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_ImportLibrary () + } + .property instance class NAnt.VSNet.VcProject Project () + { + .get instance default class NAnt.VSNet.VcProject NAnt.VSNet.VcProjectConfiguration/LinkerConfig::get_Project () + } + } // end of class LinkerConfig - IL_0252: nop - IL_0253: ldstr "Circular dependency detected." - IL_0258: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_025d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0262: throw - IL_0263: nop - IL_0264: br IL_001c + } // end of class NAnt.VSNet.VcProjectConfiguration +} - IL_0269: ldloc.2 - IL_026a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_026f: ldc.i4.0 - IL_0270: ble IL_02f2 +.namespace NAnt.VSNet +{ + .class public auto ansi beforefieldinit VcFileConfiguration + extends NAnt.VSNet.VcConfigurationBase + { + .field private initonly string _relativePath + .field private initonly string _parentName + .field private initonly bool _excludeFromBuild + .field private initonly class NAnt.VSNet.VcProjectConfiguration _parentConfig + .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map3' + .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0275: nop - IL_0276: ldarg.0 - IL_0277: ldc.i4 5000 - IL_027c: ldsfld string [mscorlib]System.String::Empty - IL_0281: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0286: ldarg.0 - IL_0287: ldc.i4 5000 - IL_028c: ldstr "Solution failed to build! Failed projects were:" - IL_0291: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0296: nop - IL_0297: ldloc.2 - IL_0298: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_029d: stloc.s 16 - .try { // 4 - IL_029f: br IL_02c9 - IL_02a4: ldloc.s 16 - IL_02a6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_02ab: castclass [mscorlib]System.String - IL_02b0: stloc.s 15 - IL_02b2: ldarg.0 - IL_02b3: ldc.i4 5000 - IL_02b8: ldstr " - " - IL_02bd: ldloc.s 15 - IL_02bf: call string string::Concat(string, string) - IL_02c4: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_02c9: ldloc.s 16 - IL_02cb: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02d0: brtrue IL_02a4 + // method line 681 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (string relativePath, string parentName, class [System.Xml]System.Xml.XmlElement elem, class NAnt.VSNet.VcProjectConfiguration parentConfig, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + { + // Method begins at RVA 0x14550 + // Code size 151 (0x97) + .maxstack 5 + .locals init ( + string V_0) + IL_0000: ldarg.0 + IL_0001: ldarg.3 + IL_0002: ldarg.s 4 + IL_0004: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0009: ldarg.s 5 + IL_000b: call instance void class NAnt.VSNet.VcConfigurationBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ProjectBase, class [mscorlib]System.IO.DirectoryInfo) + IL_0010: nop + IL_0011: ldarg.1 + IL_0012: brtrue IL_0023 - IL_02d5: leave IL_02f1 + IL_0017: nop + IL_0018: ldstr "relativePath" + IL_001d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0022: throw + IL_0023: ldarg.2 + IL_0024: brtrue IL_0035 - } // end .try 4 - finally { // 4 - IL_02da: ldloc.s 16 - IL_02dc: isinst [mscorlib]System.IDisposable - IL_02e1: dup - IL_02e2: stloc.s 17 - IL_02e4: brfalse IL_02f0 + IL_0029: nop + IL_002a: ldstr "parentName" + IL_002f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0034: throw + IL_0035: ldarg.s 4 + IL_0037: brtrue IL_0048 - IL_02e9: ldloc.s 17 - IL_02eb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02f0: endfinally - } // end handler 4 - IL_02f1: nop - IL_02f2: ldloc.3 - IL_02f3: stloc.s 18 - IL_02f5: br IL_02fa + IL_003c: nop + IL_003d: ldstr "parentConfig" + IL_0042: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0047: throw + IL_0048: ldarg.0 + IL_0049: ldarg.1 + IL_004a: stfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_004f: ldarg.0 + IL_0050: ldarg.2 + IL_0051: stfld string NAnt.VSNet.VcFileConfiguration::_parentName + IL_0056: ldarg.3 + IL_0057: ldstr "ExcludedFromBuild" + IL_005c: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_0061: stloc.0 + IL_0062: ldloc.0 + IL_0063: callvirt instance int32 string::get_Length() + IL_0068: brfalse IL_008e - IL_02fa: ldloc.s 18 - IL_02fc: ret - } // end of method SolutionBase::Compile + IL_006d: nop + IL_006e: ldarg.0 + IL_006f: ldloc.0 + IL_0070: callvirt instance string string::Trim() + IL_0075: ldstr "true" + IL_007a: ldc.i4.1 + IL_007b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0080: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0085: ldc.i4.0 + IL_0086: ceq + IL_0088: stfld bool NAnt.VSNet.VcFileConfiguration::_excludeFromBuild + IL_008d: nop + IL_008e: ldarg.0 + IL_008f: ldarg.s 4 + IL_0091: stfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0096: ret + } // end of method VcFileConfiguration::.ctor - // method line 666 - .method family hidebysig - instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message) cil managed + // method line 682 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (string relativePath, string parentName, class NAnt.VSNet.VcProjectConfiguration parentConfig, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x288c - // Code size 28 (0x1c) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0007: brfalse IL_001b + // Method begins at RVA 0x145f4 + // Code size 97 (0x61) + .maxstack 4 + IL_0000: ldarg.0 + IL_0001: ldarg.3 + IL_0002: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_Name() + IL_0007: ldarg.3 + IL_0008: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_000d: ldarg.s 4 + IL_000f: call instance void class NAnt.VSNet.VcConfigurationBase::'.ctor'(string, class NAnt.VSNet.ProjectBase, class [mscorlib]System.IO.DirectoryInfo) + IL_0014: nop + IL_0015: ldarg.1 + IL_0016: brtrue IL_0027 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_001a: nop - IL_001b: ret - } // end of method SolutionBase::Log + IL_001b: nop + IL_001c: ldstr "relativePath" + IL_0021: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0026: throw + IL_0027: ldarg.2 + IL_0028: brtrue IL_0039 - // method line 667 - .method family hidebysig - instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message, object[] args) cil managed - { - .param [3] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_002d: nop + IL_002e: ldstr "parentName" + IL_0033: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0038: throw + IL_0039: ldarg.3 + IL_003a: brtrue IL_004b + + IL_003f: nop + IL_0040: ldstr "parentConfig" + IL_0045: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_004a: throw + IL_004b: ldarg.0 + IL_004c: ldarg.1 + IL_004d: stfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_0052: ldarg.0 + IL_0053: ldarg.2 + IL_0054: stfld string NAnt.VSNet.VcFileConfiguration::_parentName + IL_0059: ldarg.0 + IL_005a: ldarg.3 + IL_005b: stfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0060: ret + } // end of method VcFileConfiguration::.ctor - // Method begins at RVA 0x28a9 - // Code size 29 (0x1d) - .maxstack 8 + // method line 683 + .method public hidebysig specialname + instance default bool get_ExcludeFromBuild () cil managed + { + // Method begins at RVA 0x14664 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0007: brfalse IL_001c + IL_0002: ldfld bool NAnt.VSNet.VcFileConfiguration::_excludeFromBuild + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: ldarg.3 - IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_001b: nop - IL_001c: ret - } // end of method SolutionBase::Log + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcFileConfiguration::get_ExcludeFromBuild - // method line 668 - .method family hidebysig - instance default void LoadProjectGuids (class [mscorlib]System.Collections.ArrayList projects, bool isReferenceProject) cil managed + // method line 684 + .method public hidebysig specialname + instance default string get_RelativePath () cil managed { - // Method begins at RVA 0x28c8 - // Code size 172 (0xac) - .maxstack 5 + // Method begins at RVA 0x14680 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - string V_2, - class NAnt.VSNet.ProjectEntry V_3, - class [mscorlib]System.IDisposable V_4) + string V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0008: stloc.1 - .try { // 0 - IL_0009: br IL_0085 - - IL_000e: ldloc.1 - IL_000f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0014: castclass [mscorlib]System.String - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0021: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() - IL_0026: ldloc.0 - IL_0027: callvirt instance string class NAnt.VSNet.ProjectFactory::LoadGuid(string) - IL_002c: stloc.2 - IL_002d: ldarg.0 - IL_002e: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0033: ldloc.2 - IL_0034: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_0039: stloc.3 - IL_003a: ldloc.3 - IL_003b: brfalse IL_005e - - IL_0040: nop - IL_0041: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0046: ldstr "Error loading project {0}. Project GUID {1} already exists! Conflicting project is {2}." - IL_004b: ldloc.0 - IL_004c: ldloc.2 - IL_004d: ldloc.3 - IL_004e: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() - IL_0053: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_0058: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_005d: throw - IL_005e: ldarg.0 - IL_005f: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0064: ldloc.2 - IL_0065: ldloc.0 - IL_0066: newobj instance void class NAnt.VSNet.ProjectEntry::'.ctor'(string, string) - IL_006b: callvirt instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) - IL_0070: pop - IL_0071: ldarg.2 - IL_0072: brfalse IL_0084 - - IL_0077: ldarg.0 - IL_0078: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htReferenceProjects - IL_007d: ldloc.2 - IL_007e: ldnull - IL_007f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0084: nop - IL_0085: ldloc.1 - IL_0086: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_008b: brtrue IL_000e - - IL_0090: leave IL_00ab - - } // end .try 0 - finally { // 0 - IL_0095: ldloc.1 - IL_0096: isinst [mscorlib]System.IDisposable - IL_009b: dup - IL_009c: stloc.s 4 - IL_009e: brfalse IL_00aa + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00a3: ldloc.s 4 - IL_00a5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00aa: endfinally - } // end handler 0 - IL_00ab: ret - } // end of method SolutionBase::LoadProjectGuids + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VcFileConfiguration::get_RelativePath - // method line 669 - .method family hidebysig - instance default void LoadProjects (class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.Collections.Hashtable explicitProjectDependencies) cil managed + // method line 685 + .method public virtual hidebysig specialname + instance default string get_RelativeOutputDir () cil managed { - // Method begins at RVA 0x2990 - // Code size 822 (0x336) - .maxstack 8 + // Method begins at RVA 0x1469c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0, - class NAnt.VSNet.ProjectEntry V_1, - class NAnt.VSNet.ProjectEntryEnumerator V_2, - string V_3, - string V_4, - bool V_5, - bool V_6, - string V_7, - class [System]System.Collections.Specialized.StringEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - class NAnt.VSNet.ProjectBase V_10, - class [mscorlib]System.IDisposable V_11, - valuetype [mscorlib]System.Collections.DictionaryEntry V_12, - class [mscorlib]System.Collections.IDictionaryEnumerator V_13, - string V_14, - class [mscorlib]System.Collections.Hashtable V_15, - class NAnt.VSNet.ProjectEntry V_16, - class NAnt.VSNet.ProjectBase V_17, - string V_18, - class [mscorlib]System.Collections.IEnumerator V_19, - class NAnt.VSNet.ProjectEntry V_20, - class [mscorlib]System.IDisposable V_21, - class [mscorlib]System.IDisposable V_22) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Loading projects..." - IL_000c: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0011: ldarg.0 - IL_0012: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0017: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ExcludeProjects() - IL_001c: stloc.0 - IL_001d: nop - IL_001e: ldarg.0 - IL_001f: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0024: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() - IL_0029: stloc.2 - .try { // 1 - IL_002a: br IL_01a0 - - IL_002f: ldloc.2 - IL_0030: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() - IL_0035: stloc.1 - IL_0036: nop - IL_0037: ldloc.1 - IL_0038: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() - IL_003d: stloc.3 - IL_003e: ldloc.1 - IL_003f: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() - IL_0044: stloc.s 4 - IL_0046: ldloc.3 - IL_0047: call bool class [NAnt.Core]NAnt.Core.PlatformHelper::IsVolumeCaseSensitive(string) - IL_004c: stloc.s 5 - IL_004e: ldc.i4.0 - IL_004f: stloc.s 6 - IL_0051: nop - IL_0052: ldloc.0 - IL_0053: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0058: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_005d: stloc.s 8 - .try { // 0 - IL_005f: br IL_00a9 - - IL_0064: ldloc.s 8 - IL_0066: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_006b: stloc.s 7 - IL_006d: nop - IL_006e: ldloc.s 7 - IL_0070: ldloc.3 - IL_0071: ldloc.s 5 - IL_0073: ldc.i4.0 - IL_0074: ceq - IL_0076: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_0080: brtrue IL_00a8 - - IL_0085: nop - IL_0086: ldarg.0 - IL_0087: ldc.i4 2000 - IL_008c: ldstr "Excluding project '{0}'." - IL_0091: ldc.i4.1 - IL_0092: newarr [mscorlib]System.Object - IL_0097: dup - IL_0098: ldc.i4.0 - IL_0099: ldloc.3 - IL_009a: stelem.ref - IL_009b: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a0: ldc.i4.1 - IL_00a1: stloc.s 6 - IL_00a3: leave IL_00b5 - - IL_00a8: nop - IL_00a9: ldloc.s 8 - IL_00ab: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00b0: brtrue IL_0064 - - IL_00b5: leave IL_00d1 - - } // end .try 0 - finally { // 0 - IL_00ba: ldloc.s 8 - IL_00bc: isinst [mscorlib]System.IDisposable - IL_00c1: dup - IL_00c2: stloc.s 9 - IL_00c4: brfalse IL_00d0 - - IL_00c9: ldloc.s 9 - IL_00cb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d0: endfinally - } // end handler 0 - IL_00d1: ldloc.s 6 - IL_00d3: brfalse IL_00f5 + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0008: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::get_RawRelativeOutputDir() + IL_000d: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_00d8: nop - IL_00d9: ldarg.3 - IL_00da: ldloc.s 4 - IL_00dc: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_00e1: brfalse IL_00f0 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method VcFileConfiguration::get_RelativeOutputDir - IL_00e6: nop - IL_00e7: ldarg.3 - IL_00e8: ldloc.s 4 - IL_00ea: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) - IL_00ef: nop - IL_00f0: leave IL_01a0 + // method line 686 + .method famorassem virtual hidebysig + instance default string ExpandMacro (string macro) cil managed + { + // Method begins at RVA 0x146c4 + // Code size 388 (0x184) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, + int32 V_2, + string V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: brfalse IL_0170 - IL_00f5: ldarg.0 - IL_00f6: ldc.i4 2000 - IL_00fb: ldstr "Loading project '{0}'." - IL_0100: ldc.i4.1 - IL_0101: newarr [mscorlib]System.Object - IL_0106: dup - IL_0107: ldc.i4.0 - IL_0108: ldloc.3 - IL_0109: stelem.ref - IL_010a: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_010f: ldarg.0 - IL_0110: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0115: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() - IL_011a: ldarg.0 - IL_011b: ldarg.0 - IL_011c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_0121: ldarg.0 - IL_0122: ldfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::_tfc - IL_0127: ldarg.1 - IL_0128: ldarg.2 - IL_0129: ldarg.0 - IL_012a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir - IL_012f: ldloc.3 - IL_0130: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectFactory::LoadProject(class NAnt.VSNet.SolutionBase, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo, string) - IL_0135: stloc.s 10 - IL_0137: ldloc.s 10 - IL_0139: brtrue IL_015e + IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcFileConfiguration::'<>f__switch$map3' + IL_0018: brtrue IL_007e - IL_013e: nop - IL_013f: ldarg.0 - IL_0140: ldc.i4 4000 - IL_0145: ldstr "Project '{0}' is of unsupported type. Skipping." - IL_014a: ldc.i4.1 - IL_014b: newarr [mscorlib]System.Object - IL_0150: dup - IL_0151: ldc.i4.0 - IL_0152: ldloc.3 - IL_0153: stelem.ref - IL_0154: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0159: leave IL_01a0 + IL_001d: ldc.i4.7 + IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) + IL_0023: stloc.1 + IL_0024: ldloc.1 + IL_0025: ldstr "inputdir" + IL_002a: ldc.i4.0 + IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0030: ldloc.1 + IL_0031: ldstr "inputname" + IL_0036: ldc.i4.1 + IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_003c: ldloc.1 + IL_003d: ldstr "inputpath" + IL_0042: ldc.i4.2 + IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0048: ldloc.1 + IL_0049: ldstr "inputfilename" + IL_004e: ldc.i4.3 + IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0054: ldloc.1 + IL_0055: ldstr "inputext" + IL_005a: ldc.i4.4 + IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0060: ldloc.1 + IL_0061: ldstr "safeparentname" + IL_0066: ldc.i4.5 + IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_006c: ldloc.1 + IL_006d: ldstr "safeinputname" + IL_0072: ldc.i4.6 + IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) + IL_0078: ldloc.1 + IL_0079: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcFileConfiguration::'<>f__switch$map3' + IL_007e: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcFileConfiguration::'<>f__switch$map3' + IL_0083: ldloc.0 + IL_0084: ldloca.s 2 + IL_0086: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) + IL_008b: brfalse IL_0170 - IL_015e: ldloc.s 10 - IL_0160: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0165: brfalse IL_0180 + IL_0090: ldloc.2 + IL_0091: switch ( + IL_00bb, + IL_00f0, + IL_0101, + IL_0122, + IL_0133, + IL_0144, + IL_015f, + IL_0170) + IL_00b6: br IL_0170 - IL_016a: ldloc.s 10 - IL_016c: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0171: ldsfld string [mscorlib]System.String::Empty - IL_0176: call bool string::op_Equality(string, string) - IL_017b: brfalse IL_0190 + IL_00bb: ldarg.0 + IL_00bc: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_00c1: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_00c6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00cb: ldarg.0 + IL_00cc: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_00d1: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00d6: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00db: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_00e0: box [mscorlib]System.Char + IL_00e5: call string string::Concat(object, object) + IL_00ea: stloc.3 + IL_00eb: br IL_0182 - IL_0180: nop - IL_0181: ldloc.s 10 - IL_0183: ldarg.0 - IL_0184: ldloc.3 - IL_0185: call instance string class NAnt.VSNet.SolutionBase::FindGuidFromPath(string) - IL_018a: callvirt instance void class NAnt.VSNet.ProjectBase::set_Guid(string) - IL_018f: nop - IL_0190: ldloc.1 - IL_0191: ldloc.s 10 - IL_0193: callvirt instance void class NAnt.VSNet.ProjectEntry::set_Project(class NAnt.VSNet.ProjectBase) - IL_0198: ldarg.0 - IL_0199: ldloc.1 - IL_019a: callvirt instance void class NAnt.VSNet.SolutionBase::SetProjectBuildConfiguration(class NAnt.VSNet.ProjectEntry) - IL_019f: nop - IL_01a0: ldloc.2 - IL_01a1: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() - IL_01a6: brtrue IL_002f + IL_00f0: ldarg.0 + IL_00f1: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_00f6: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_00fb: stloc.3 + IL_00fc: br IL_0182 - IL_01ab: leave IL_01c6 + IL_0101: ldarg.0 + IL_0102: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() + IL_0107: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_010c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0111: ldarg.0 + IL_0112: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_0117: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_011c: stloc.3 + IL_011d: br IL_0182 - } // end .try 1 - finally { // 1 - IL_01b0: ldloc.2 - IL_01b1: isinst [mscorlib]System.IDisposable - IL_01b6: dup - IL_01b7: stloc.s 11 - IL_01b9: brfalse IL_01c5 + IL_0122: ldarg.0 + IL_0123: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_0128: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_012d: stloc.3 + IL_012e: br IL_0182 - IL_01be: ldloc.s 11 - IL_01c0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01c5: endfinally - } // end handler 1 - IL_01c6: nop - IL_01c7: ldarg.3 - IL_01c8: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_01cd: stloc.s 13 - .try { // 3 - IL_01cf: br IL_030d + IL_0133: ldarg.0 + IL_0134: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_0139: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_013e: stloc.3 + IL_013f: br IL_0182 - IL_01d4: ldloc.s 13 - IL_01d6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_01db: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_01e0: stloc.s 12 - IL_01e2: nop - IL_01e3: ldloca.s 12 - IL_01e5: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_01ea: castclass [mscorlib]System.String - IL_01ef: stloc.s 14 - IL_01f1: ldloca.s 12 - IL_01f3: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_01f8: castclass [mscorlib]System.Collections.Hashtable - IL_01fd: stloc.s 15 - IL_01ff: ldarg.0 - IL_0200: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0205: ldloc.s 14 - IL_0207: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_020c: stloc.s 16 - IL_020e: ldloc.s 16 - IL_0210: brtrue IL_0232 + IL_0144: ldarg.0 + IL_0145: ldfld string NAnt.VSNet.VcFileConfiguration::_parentName + IL_014a: ldstr " " + IL_014f: ldsfld string [mscorlib]System.String::Empty + IL_0154: callvirt instance string string::Replace(string, string) + IL_0159: stloc.3 + IL_015a: br IL_0182 - IL_0215: nop - IL_0216: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_021b: ldstr "Dependencies for project '{0}' could not be analyzed. Project is not included." - IL_0220: ldloc.s 14 - IL_0222: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0227: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_022c: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0231: throw - IL_0232: ldloc.s 16 - IL_0234: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0239: stloc.s 17 - IL_023b: ldloc.s 17 - IL_023d: brtrue IL_025f + IL_015f: ldarg.0 + IL_0160: ldfld string NAnt.VSNet.VcFileConfiguration::_relativePath + IL_0165: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_016a: stloc.3 + IL_016b: br IL_0182 - IL_0242: nop - IL_0243: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0248: ldstr "Dependencies for project '{0}' could not be analyzed. Project is not loaded." - IL_024d: ldloc.s 14 - IL_024f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0254: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0259: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_025e: throw - IL_025f: nop - IL_0260: ldloc.s 15 - IL_0262: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() - IL_0267: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_026c: stloc.s 19 - .try { // 2 - IL_026e: br IL_02e4 + IL_0170: ldarg.0 + IL_0171: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0176: ldarg.1 + IL_0177: callvirt instance string class NAnt.VSNet.ConfigurationBase::ExpandMacro(string) + IL_017c: stloc.3 + IL_017d: br IL_0182 - IL_0273: ldloc.s 19 - IL_0275: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_027a: castclass [mscorlib]System.String - IL_027f: stloc.s 18 - IL_0281: nop - IL_0282: ldarg.0 - IL_0283: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0288: ldloc.s 18 - IL_028a: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_028f: stloc.s 20 - IL_0291: ldloc.s 20 - IL_0293: brfalse IL_02a4 + IL_0182: ldloc.3 + IL_0183: ret + } // end of method VcFileConfiguration::ExpandMacro - IL_0298: ldloc.s 20 - IL_029a: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_029f: brtrue IL_02cf + // method line 687 + .method public virtual hidebysig specialname + instance default string get_IntermediateDir () cil managed + { + // Method begins at RVA 0x14854 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0008: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::get_RawIntermediateDir() + IL_000d: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_02a4: nop - IL_02a5: ldarg.0 - IL_02a6: ldc.i4 4000 - IL_02ab: ldstr "Project \"{0}\": ignored dependency on project \"{1}\", which is not included." - IL_02b0: ldc.i4.2 - IL_02b1: newarr [mscorlib]System.Object - IL_02b6: dup - IL_02b7: ldc.i4.0 - IL_02b8: ldloc.s 17 - IL_02ba: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_02bf: stelem.ref - IL_02c0: dup - IL_02c1: ldc.i4.1 - IL_02c2: ldloc.s 18 - IL_02c4: stelem.ref - IL_02c5: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_02ca: leave IL_02e4 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method VcFileConfiguration::get_IntermediateDir - IL_02cf: ldloc.s 17 - IL_02d1: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() - IL_02d6: ldloc.s 20 - IL_02d8: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_02dd: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) - IL_02e2: pop - IL_02e3: nop - IL_02e4: ldloc.s 19 - IL_02e6: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02eb: brtrue IL_0273 + // method line 688 + .method public virtual hidebysig specialname + instance default string get_OutputPath () cil managed + { + // Method begins at RVA 0x1487c + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0007: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_02f0: leave IL_030c + IL_0012: ldloc.0 + IL_0013: ret + } // end of method VcFileConfiguration::get_OutputPath - } // end .try 2 - finally { // 2 - IL_02f5: ldloc.s 19 - IL_02f7: isinst [mscorlib]System.IDisposable - IL_02fc: dup - IL_02fd: stloc.s 21 - IL_02ff: brfalse IL_030b + // method line 689 + .method public virtual hidebysig specialname + instance default string get_ReferencesPath () cil managed + { + // Method begins at RVA 0x1489c + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0008: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::get_RawReferencesPath() + IL_000d: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0304: ldloc.s 21 - IL_0306: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_030b: endfinally - } // end handler 2 - IL_030c: nop - IL_030d: ldloc.s 13 - IL_030f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0314: brtrue IL_01d4 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method VcFileConfiguration::get_ReferencesPath - IL_0319: leave IL_0335 + // method line 690 + .method public virtual hidebysig + instance default string GetToolSetting (string toolName, string settingName, string projectDefault) cil managed + { + // Method begins at RVA 0x148c4 + // Code size 98 (0x62) + .maxstack 6 + .locals init ( + string V_0, + class [mscorlib]System.Collections.Hashtable V_1, + string V_2) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools + IL_0009: ldarg.1 + IL_000a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_000f: castclass [mscorlib]System.Collections.Hashtable + IL_0014: stloc.1 + IL_0015: ldloc.1 + IL_0016: brfalse IL_003e - } // end .try 3 - finally { // 3 - IL_031e: ldloc.s 13 - IL_0320: isinst [mscorlib]System.IDisposable - IL_0325: dup - IL_0326: stloc.s 22 - IL_0328: brfalse IL_0334 + IL_001b: nop + IL_001c: ldloc.1 + IL_001d: ldarg.2 + IL_001e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0023: castclass [mscorlib]System.String + IL_0028: stloc.0 + IL_0029: ldloc.0 + IL_002a: brfalse IL_003d - IL_032d: ldloc.s 22 - IL_032f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0334: endfinally - } // end handler 3 - IL_0335: ret - } // end of method SolutionBase::LoadProjects + IL_002f: nop + IL_0030: ldarg.0 + IL_0031: ldloc.0 + IL_0032: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0037: stloc.2 + IL_0038: br IL_0060 - // method line 670 - .method family hidebysig - instance default void GetDependenciesFromProjects (class NAnt.VSNet.Configuration solutionConfiguration) cil managed + IL_003d: nop + IL_003e: ldarg.0 + IL_003f: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0044: ldarg.1 + IL_0045: ldarg.2 + IL_0046: ldarg.3 + IL_0047: ldarg.0 + IL_0048: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_004e: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) + IL_0053: callvirt instance string class NAnt.VSNet.VcProjectConfiguration::GetToolSetting(string, string, string, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) + IL_0058: stloc.0 + IL_0059: ldloc.0 + IL_005a: stloc.2 + IL_005b: br IL_0060 + + IL_0060: ldloc.2 + IL_0061: ret + } // end of method VcFileConfiguration::GetToolSetting + + // method line 691 + .method public virtual hidebysig + instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup) cil managed { - // Method begins at RVA 0x2d38 - // Code size 770 (0x302) - .maxstack 3 + // Method begins at RVA 0x14934 + // Code size 230 (0xe6) + .maxstack 5 .locals init ( - class NAnt.VSNet.ProjectEntry V_0, - class NAnt.VSNet.ProjectEntryEnumerator V_1, - class NAnt.VSNet.ProjectBase V_2, - class NAnt.VSNet.ConfigurationBase V_3, - class [mscorlib]System.Collections.IEnumerator V_4, + class NAnt.VSNet.VcConfigurationBase/ExpansionHandler V_0, + class [mscorlib]System.Collections.Hashtable V_1, + class [mscorlib]System.Collections.Hashtable V_2, + valuetype [mscorlib]System.Collections.DictionaryEntry V_3, + class [mscorlib]System.Collections.IDictionaryEnumerator V_4, string V_5, class [mscorlib]System.IDisposable V_6, - class [mscorlib]System.IDisposable V_7, - class [mscorlib]System.Collections.Hashtable V_8, - valuetype [mscorlib]System.Collections.DictionaryEntry V_9, - class [mscorlib]System.Collections.IDictionaryEnumerator V_10, - string V_11, - string V_12, - class [mscorlib]System.IDisposable V_13, - class NAnt.VSNet.ProjectEntry V_14, - class NAnt.VSNet.ProjectEntryEnumerator V_15, - class NAnt.VSNet.ProjectBase V_16, - class NAnt.VSNet.ConfigurationBase V_17, - class NAnt.VSNet.ReferenceBase V_18, - class [mscorlib]System.Collections.IEnumerator V_19, - class NAnt.VSNet.ProjectReferenceBase V_20, - string V_21, - string V_22, - class NAnt.VSNet.ProjectEntry V_23, - class [mscorlib]System.IDisposable V_24, - class [mscorlib]System.IDisposable V_25) + class [mscorlib]System.Collections.Hashtable V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 2000 - IL_0007: ldstr "Gathering additional dependencies..." - IL_000c: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0018: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() - IL_001d: stloc.1 - .try { // 1 - IL_001e: br IL_00b2 - - IL_0023: ldloc.1 - IL_0024: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() - IL_0029: stloc.0 - IL_002a: nop - IL_002b: ldloc.0 - IL_002c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0031: stloc.2 - IL_0032: ldloc.2 - IL_0033: brtrue IL_003e - - IL_0038: nop - IL_0039: leave IL_00b2 - - IL_003e: nop - IL_003f: ldloc.2 - IL_0040: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() - IL_0045: callvirt instance class [mscorlib]System.Collections.ICollection class NAnt.VSNet.ConfigurationDictionary::get_Values() - IL_004a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_004f: stloc.s 4 - .try { // 0 - IL_0051: br IL_0089 + IL_0002: ldftn instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_0008: newobj instance void class NAnt.VSNet.VcConfigurationBase/ExpansionHandler::'.ctor'(object, native int) + IL_000d: stloc.0 + IL_000e: ldarg.0 + IL_000f: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0014: brfalse IL_0030 - IL_0056: ldloc.s 4 - IL_0058: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_005d: castclass NAnt.VSNet.ConfigurationBase - IL_0062: stloc.3 - IL_0063: nop - IL_0064: ldloc.3 - IL_0065: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_006a: stloc.s 5 - IL_006c: ldloc.s 5 - IL_006e: brfalse IL_0088 + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldfld class NAnt.VSNet.VcProjectConfiguration NAnt.VSNet.VcFileConfiguration::_parentConfig + IL_0020: ldarg.1 + IL_0021: ldarg.2 + IL_0022: ldarg.3 + IL_0023: ldloc.0 + IL_0024: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcProjectConfiguration::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup, class NAnt.VSNet.VcConfigurationBase/ExpansionHandler) + IL_0029: stloc.1 + IL_002a: nop + IL_002b: br IL_0038 - IL_0073: nop - IL_0074: ldarg.0 - IL_0075: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles - IL_007a: ldloc.s 5 - IL_007c: ldloc.2 - IL_007d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0082: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0087: nop - IL_0088: nop - IL_0089: ldloc.s 4 - IL_008b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0090: brtrue IL_0056 + IL_0030: nop + IL_0031: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0036: stloc.1 + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools + IL_003e: ldarg.1 + IL_003f: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0044: castclass [mscorlib]System.Collections.Hashtable + IL_0049: stloc.2 + IL_004a: ldloc.2 + IL_004b: brfalse IL_00db - IL_0095: leave IL_00b1 + IL_0050: nop + IL_0051: nop + IL_0052: ldloc.2 + IL_0053: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0058: stloc.s 4 + .try { // 0 + IL_005a: br IL_00b2 - } // end .try 0 - finally { // 0 - IL_009a: ldloc.s 4 - IL_009c: isinst [mscorlib]System.IDisposable - IL_00a1: dup - IL_00a2: stloc.s 6 - IL_00a4: brfalse IL_00b0 + IL_005f: ldloc.s 4 + IL_0061: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0066: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_006b: stloc.3 + IL_006c: nop + IL_006d: ldarg.2 + IL_006e: ldloca.s 3 + IL_0070: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0075: castclass [mscorlib]System.String + IL_007a: ldarg.0 + IL_007b: ldloca.s 3 + IL_007d: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0082: castclass [mscorlib]System.String + IL_0087: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacros(string) + IL_008c: ldarg.3 + IL_008d: callvirt instance string class NAnt.VSNet.VcArgumentMap::GetArgument(string, string, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) + IL_0092: stloc.s 5 + IL_0094: ldloc.s 5 + IL_0096: brfalse IL_00b1 - IL_00a9: ldloc.s 6 - IL_00ab: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00b0: endfinally - } // end handler 0 + IL_009b: nop + IL_009c: ldloc.1 + IL_009d: ldloca.s 3 + IL_009f: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_00a4: castclass [mscorlib]System.String + IL_00a9: ldloc.s 5 + IL_00ab: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00b0: nop IL_00b1: nop - IL_00b2: ldloc.1 - IL_00b3: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() - IL_00b8: brtrue IL_0023 + IL_00b2: ldloc.s 4 + IL_00b4: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00b9: brtrue IL_005f - IL_00bd: leave IL_00d8 + IL_00be: leave IL_00da - } // end .try 1 - finally { // 1 - IL_00c2: ldloc.1 - IL_00c3: isinst [mscorlib]System.IDisposable - IL_00c8: dup - IL_00c9: stloc.s 7 - IL_00cb: brfalse IL_00d7 + } // end .try 0 + finally { // 0 + IL_00c3: ldloc.s 4 + IL_00c5: isinst [mscorlib]System.IDisposable + IL_00ca: dup + IL_00cb: stloc.s 6 + IL_00cd: brfalse IL_00d9 - IL_00d0: ldloc.s 7 - IL_00d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00d7: endfinally - } // end handler 1 - IL_00d8: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_00dd: stloc.s 8 - IL_00df: nop - IL_00e0: ldarg.0 - IL_00e1: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles - IL_00e6: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() - IL_00eb: stloc.s 10 - .try { // 2 - IL_00ed: br IL_014c + IL_00d2: ldloc.s 6 + IL_00d4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d9: endfinally + } // end handler 0 + IL_00da: nop + IL_00db: ldloc.1 + IL_00dc: stloc.s 7 + IL_00de: br IL_00e3 - IL_00f2: ldloc.s 10 - IL_00f4: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_00f9: unbox.any [mscorlib]System.Collections.DictionaryEntry - IL_00fe: stloc.s 9 - IL_0100: nop - IL_0101: ldloca.s 9 - IL_0103: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() - IL_0108: castclass [mscorlib]System.String - IL_010d: stloc.s 11 - IL_010f: ldloc.s 11 - IL_0111: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0116: stloc.s 12 - IL_0118: ldarg.0 - IL_0119: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_011e: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolderList() - IL_0123: ldloc.s 12 - IL_0125: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) - IL_012a: brfalse IL_014b + IL_00e3: ldloc.s 7 + IL_00e5: ret + } // end of method VcFileConfiguration::GetToolArguments - IL_012f: nop - IL_0130: ldloc.s 8 - IL_0132: ldloc.s 11 - IL_0134: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0139: ldloca.s 9 - IL_013b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() - IL_0140: castclass [mscorlib]System.String - IL_0145: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_014a: nop - IL_014b: nop - IL_014c: ldloc.s 10 - IL_014e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0153: brtrue IL_00f2 + .property instance bool ExcludeFromBuild () + { + .get instance default bool NAnt.VSNet.VcFileConfiguration::get_ExcludeFromBuild () + } + .property instance string RelativePath () + { + .get instance default string NAnt.VSNet.VcFileConfiguration::get_RelativePath () + } + .property instance string RelativeOutputDir () + { + .get instance default string NAnt.VSNet.VcFileConfiguration::get_RelativeOutputDir () + } + .property instance string IntermediateDir () + { + .get instance default string NAnt.VSNet.VcFileConfiguration::get_IntermediateDir () + } + .property instance string OutputPath () + { + .get instance default string NAnt.VSNet.VcFileConfiguration::get_OutputPath () + } + .property instance string ReferencesPath () + { + .get instance default string NAnt.VSNet.VcFileConfiguration::get_ReferencesPath () + } + } // end of class NAnt.VSNet.VcFileConfiguration +} - IL_0158: leave IL_0174 +.namespace NAnt.VSNet +{ + .class public auto ansi abstract beforefieldinit SolutionBase + extends [mscorlib]System.Object + { + .field private initonly class [mscorlib]System.IO.FileInfo _file + .field private initonly class NAnt.VSNet.ProjectEntryCollection _projectEntries + .field private initonly class [mscorlib]System.Collections.Hashtable _htOutputFiles + .field private initonly class [mscorlib]System.Collections.Hashtable _htReferenceProjects + .field private initonly class NAnt.VSNet.Tasks.SolutionTask _solutionTask + .field private initonly class NAnt.VSNet.Types.WebMapCollection _webMaps + .field private initonly class [mscorlib]System.IO.DirectoryInfo _outputDir + .field private initonly class [System]System.CodeDom.Compiler.TempFileCollection _tfc - } // end .try 2 - finally { // 2 - IL_015d: ldloc.s 10 - IL_015f: isinst [mscorlib]System.IDisposable - IL_0164: dup - IL_0165: stloc.s 13 - IL_0167: brfalse IL_0173 + // method line 692 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver) cil managed + { + // Method begins at RVA 0x2b80 + // Code size 102 (0x66) + .maxstack 4 + IL_0000: ldarg.0 + IL_0001: ldarg.2 + IL_0002: ldarg.1 + IL_0003: call instance void class NAnt.VSNet.SolutionBase::'.ctor'(class [System]System.CodeDom.Compiler.TempFileCollection, class NAnt.VSNet.Tasks.SolutionTask) + IL_0008: nop + IL_0009: ldarg.1 + IL_000a: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_000f: brfalse IL_0027 - IL_016c: ldloc.s 13 - IL_016e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0173: endfinally - } // end handler 2 - IL_0174: nop - IL_0175: ldarg.0 - IL_0176: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_017b: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() - IL_0180: stloc.s 15 - .try { // 4 - IL_0182: br IL_02d9 + IL_0014: nop + IL_0015: ldarg.0 + IL_0016: ldarg.1 + IL_0017: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_001c: stfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.SolutionBase::_file + IL_0021: nop + IL_0022: br IL_0065 - IL_0187: ldloc.s 15 - IL_0189: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() - IL_018e: stloc.s 14 - IL_0190: nop - IL_0191: ldloc.s 14 - IL_0193: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0198: stloc.s 16 - IL_019a: ldloc.s 16 - IL_019c: brtrue IL_01a7 + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_Projects() + IL_002f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0034: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) + IL_0039: ldc.i4.0 + IL_003a: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) + IL_003f: ldarg.0 + IL_0040: ldarg.1 + IL_0041: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ReferenceProjects() + IL_0046: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_004b: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(class [mscorlib]System.Collections.ICollection) + IL_0050: ldc.i4.1 + IL_0051: call instance void class NAnt.VSNet.SolutionBase::LoadProjectGuids(class [mscorlib]System.Collections.ArrayList, bool) + IL_0056: ldarg.0 + IL_0057: ldarg.3 + IL_0058: ldarg.s 4 + IL_005a: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_005f: call instance void class NAnt.VSNet.SolutionBase::LoadProjects(class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.Collections.Hashtable) + IL_0064: nop + IL_0065: ret + } // end of method SolutionBase::.ctor - IL_01a1: nop - IL_01a2: leave IL_02d9 + // method line 693 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' (class [System]System.CodeDom.Compiler.TempFileCollection tfc, class NAnt.VSNet.Tasks.SolutionTask solutionTask) cil managed + { + // Method begins at RVA 0x2bf4 + // Code size 79 (0x4f) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles + IL_0012: ldarg.0 + IL_0013: newobj instance void class NAnt.VSNet.ProjectEntryCollection::'.ctor'() + IL_0018: stfld class NAnt.VSNet.ProjectEntryCollection NAnt.VSNet.SolutionBase::_projectEntries + IL_001d: ldarg.0 + IL_001e: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0023: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htReferenceProjects + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: stfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::_tfc + IL_002f: ldarg.0 + IL_0030: ldarg.2 + IL_0031: stfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0036: ldarg.0 + IL_0037: ldarg.2 + IL_0038: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.Tasks.SolutionTask::get_OutputDir() + IL_003d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir + IL_0042: ldarg.0 + IL_0043: ldarg.2 + IL_0044: callvirt instance class NAnt.VSNet.Types.WebMapCollection class NAnt.VSNet.Tasks.SolutionTask::get_WebMaps() + IL_0049: stfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::_webMaps + IL_004e: ret + } // end of method SolutionBase::.ctor - IL_01a7: ldloc.s 16 - IL_01a9: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_01ae: ldarg.1 - IL_01af: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_01b4: stloc.s 17 - IL_01b6: ldloc.s 17 - IL_01b8: brtrue IL_01c3 + // method line 694 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + { + // Method begins at RVA 0x2c50 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VSNet.SolutionBase::_file + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01bd: nop - IL_01be: leave IL_02d9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionBase::get_File - IL_01c3: ldloc.s 17 - IL_01c5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_01ca: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_01cf: brtrue IL_01ee + // method line 695 + .method public hidebysig specialname + instance default class [System]System.CodeDom.Compiler.TempFileCollection get_TemporaryFiles () cil managed + { + // Method begins at RVA 0x2c6c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [System]System.CodeDom.Compiler.TempFileCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::_tfc + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01d4: nop - IL_01d5: ldloc.s 17 - IL_01d7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_01dc: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() - IL_01e1: ldloc.s 17 - IL_01e3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() - IL_01e8: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() - IL_01ed: nop - IL_01ee: nop - IL_01ef: ldloc.s 16 - IL_01f1: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_01f6: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_01fb: stloc.s 19 - .try { // 3 - IL_01fd: br IL_02b0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionBase::get_TemporaryFiles - IL_0202: ldloc.s 19 - IL_0204: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0209: castclass NAnt.VSNet.ReferenceBase - IL_020e: stloc.s 18 - IL_0210: nop - IL_0211: ldloc.s 18 - IL_0213: isinst NAnt.VSNet.ProjectReferenceBase - IL_0218: stloc.s 20 - IL_021a: ldloc.s 20 - IL_021c: brfalse IL_023c + // method line 696 + .method family hidebysig specialname + instance default class NAnt.VSNet.Types.WebMapCollection get_WebMaps () cil managed + { + // Method begins at RVA 0x2c88 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.Types.WebMapCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::_webMaps + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0221: nop - IL_0222: ldloc.s 16 - IL_0224: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() - IL_0229: ldloc.s 20 - IL_022b: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0230: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) - IL_0235: pop - IL_0236: nop - IL_0237: br IL_02af + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionBase::get_WebMaps - IL_023c: nop - IL_023d: ldloc.s 18 - IL_023f: ldarg.1 - IL_0240: callvirt instance string class NAnt.VSNet.ReferenceBase::GetPrimaryOutputFile(class NAnt.VSNet.Configuration) - IL_0245: stloc.s 21 - IL_0247: ldloc.s 21 - IL_0249: brtrue IL_0254 + // method line 697 + .method public hidebysig specialname + instance default class NAnt.VSNet.ProjectEntryCollection get_ProjectEntries () cil managed + { + // Method begins at RVA 0x2ca4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VSNet.ProjectEntryCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.ProjectEntryCollection NAnt.VSNet.SolutionBase::_projectEntries + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_024e: nop - IL_024f: leave IL_02b0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method SolutionBase::get_ProjectEntries - IL_0254: ldloc.s 8 - IL_0256: ldloc.s 21 - IL_0258: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_025d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0262: castclass [mscorlib]System.String - IL_0267: stloc.s 22 - IL_0269: ldloc.s 22 - IL_026b: brtrue IL_0276 + // method line 698 + .method public hidebysig + instance default void RecursiveLoadTemplateProject (string fileName) cil managed + { + // Method begins at RVA 0x2cc0 + // Code size 494 (0x1ee) + .maxstack 7 + .locals init ( + class [System.Xml]System.Xml.XmlDocument V_0, + class [System.Xml]System.Xml.XmlNode V_1, + class [mscorlib]System.Collections.IEnumerator V_2, + class [System.Xml]System.Xml.XmlNode V_3, + class [System.Xml]System.Xml.XmlNode V_4, + string V_5, + string V_6, + string V_7, + class [System]System.Uri V_8, + class [mscorlib]System.IDisposable V_9) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0007: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() + IL_000c: ldarg.1 + IL_000d: callvirt instance class [System.Xml]System.Xml.XmlDocument class NAnt.VSNet.ProjectFactory::LoadProjectXml(string) + IL_0012: stloc.0 + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldstr "//Reference" + IL_001a: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_001f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0024: stloc.2 + .try { // 1 + IL_0025: br IL_01c7 - IL_0270: nop - IL_0271: leave IL_02b0 + IL_002a: ldloc.2 + IL_002b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0030: castclass [System.Xml]System.Xml.XmlNode + IL_0035: stloc.1 + IL_0036: nop + IL_0037: ldloc.1 + IL_0038: ldstr "GUIDPROJECTID" + IL_003d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0042: stloc.3 + IL_0043: ldloc.1 + IL_0044: ldstr "FILE" + IL_0049: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_004e: stloc.s 4 + IL_0050: ldloc.s 4 + IL_0052: brtrue IL_006d - IL_0276: ldarg.0 - IL_0277: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_027c: ldloc.s 22 - IL_027e: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_0283: stloc.s 23 - IL_0285: ldloc.s 23 - IL_0287: brfalse IL_02ae + IL_0057: nop + IL_0058: ldarg.0 + IL_0059: ldc.i4 4000 + IL_005e: ldstr "Reference with missing node. Skipping." + IL_0063: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0068: leave IL_01c7 - IL_028c: ldloc.s 23 - IL_028e: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0293: brfalse IL_02ae + IL_006d: ldloc.3 + IL_006e: brfalse IL_01a4 - IL_0298: nop - IL_0299: ldloc.s 16 - IL_029b: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() - IL_02a0: ldloc.s 23 - IL_02a2: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_02a7: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) - IL_02ac: pop - IL_02ad: nop - IL_02ae: nop - IL_02af: nop - IL_02b0: ldloc.s 19 - IL_02b2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02b7: brtrue IL_0202 + IL_0073: nop + IL_0074: ldloc.1 + IL_0075: ldstr "FILE" + IL_007a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_007f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_0084: stloc.s 5 + IL_0086: ldarg.0 + IL_0087: ldfld class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::_webMaps + IL_008c: ldloc.s 5 + IL_008e: callvirt instance string class NAnt.VSNet.Types.WebMapCollection::FindBestMatch(string) + IL_0093: stloc.s 7 + IL_0095: ldloc.s 7 + IL_0097: brfalse IL_00c2 - IL_02bc: leave IL_02d8 + IL_009c: nop + IL_009d: ldarg.0 + IL_009e: ldc.i4 1000 + IL_00a3: ldstr "Found webmap match '{0}' for '{1}." + IL_00a8: ldc.i4.2 + IL_00a9: newarr [mscorlib]System.Object + IL_00ae: dup + IL_00af: ldc.i4.0 + IL_00b0: ldloc.s 7 + IL_00b2: stelem.ref + IL_00b3: dup + IL_00b4: ldc.i4.1 + IL_00b5: ldloc.s 5 + IL_00b7: stelem.ref + IL_00b8: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00bd: ldloc.s 7 + IL_00bf: stloc.s 5 + IL_00c1: nop + .try { // 0 + IL_00c2: nop + IL_00c3: ldloc.s 5 + IL_00c5: newobj instance void class [System]System.Uri::'.ctor'(string) + IL_00ca: stloc.s 8 + IL_00cc: ldloc.s 8 + IL_00ce: callvirt instance string class [System]System.Uri::get_Scheme() + IL_00d3: ldsfld string [System]System.Uri::UriSchemeFile + IL_00d8: call bool string::op_Equality(string, string) + IL_00dd: brfalse IL_0102 - } // end .try 3 - finally { // 3 - IL_02c1: ldloc.s 19 - IL_02c3: isinst [mscorlib]System.IDisposable - IL_02c8: dup - IL_02c9: stloc.s 24 - IL_02cb: brfalse IL_02d7 + IL_00e2: nop + IL_00e3: ldarg.1 + IL_00e4: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_00e9: ldloc.s 8 + IL_00eb: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_00f0: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00f5: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_00fa: stloc.s 6 + IL_00fc: nop + IL_00fd: br IL_0130 - IL_02d0: ldloc.s 24 - IL_02d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02d7: endfinally - } // end handler 3 - IL_02d8: nop - IL_02d9: ldloc.s 15 - IL_02db: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() - IL_02e0: brtrue IL_0187 + IL_0102: nop + IL_0103: ldloc.s 5 + IL_0105: stloc.s 6 + IL_0107: ldarg.0 + IL_0108: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_010d: callvirt instance bool class NAnt.VSNet.Tasks.SolutionTask::get_EnableWebDav() + IL_0112: brtrue IL_012f - IL_02e5: leave IL_0301 + IL_0117: nop + IL_0118: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_011d: ldstr "Cannot build web project '{0}'. Please use to map the given URL to a project-relative path, or specify enablewebdav=\"true\" on the task element to use WebDAV." + IL_0122: ldloc.s 6 + IL_0124: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0129: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_012e: throw + IL_012f: nop + IL_0130: nop + IL_0131: leave IL_0152 - } // end .try 4 - finally { // 4 - IL_02ea: ldloc.s 15 - IL_02ec: isinst [mscorlib]System.IDisposable - IL_02f1: dup - IL_02f2: stloc.s 25 - IL_02f4: brfalse IL_0300 + } // end .try 0 + catch class [System]System.UriFormatException { // 0 + IL_0136: pop + IL_0137: nop + IL_0138: ldarg.1 + IL_0139: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_013e: ldloc.s 5 + IL_0140: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0145: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_014a: stloc.s 6 + IL_014c: nop + IL_014d: leave IL_0152 - IL_02f9: ldloc.s 25 - IL_02fb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0300: endfinally - } // end handler 4 - IL_0301: ret - } // end of method SolutionBase::GetDependenciesFromProjects + } // end handler 0 + IL_0152: ldloc.s 6 + IL_0154: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0159: brtrue IL_0168 - // method line 671 - .method family hidebysig - instance default string TranslateProjectPath (string solutionDir, string projectPath) cil managed - { - // Method begins at RVA 0x30c4 - // Code size 269 (0x10d) - .maxstack 7 - .locals init ( - string V_0, - string V_1, - class [System]System.Uri V_2, - string V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_015e: nop + IL_015f: ldarg.0 + IL_0160: ldloc.s 6 + IL_0162: call instance class [NAnt.Core]NAnt.Core.BuildException class NAnt.VSNet.SolutionBase::CreateProjectDoesNotExistException(string) + IL_0167: throw + IL_0168: ldloc.s 6 + IL_016a: call bool class NAnt.VSNet.ManagedProjectBase::IsEnterpriseTemplateProject(string) + IL_016f: brfalse IL_0183 - IL_0007: nop - IL_0008: ldstr "solutionDir" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: brtrue IL_0025 + IL_0174: nop + IL_0175: ldarg.0 + IL_0176: ldloc.s 6 + IL_0178: call instance void class NAnt.VSNet.SolutionBase::RecursiveLoadTemplateProject(string) + IL_017d: nop + IL_017e: br IL_019e - IL_0019: nop - IL_001a: ldstr "projectPath" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldnull - IL_0026: stloc.0 - IL_0027: ldarg.0 - IL_0028: call instance class NAnt.VSNet.Types.WebMapCollection class NAnt.VSNet.SolutionBase::get_WebMaps() - IL_002d: ldarg.2 - IL_002e: callvirt instance string class NAnt.VSNet.Types.WebMapCollection::FindBestMatch(string) - IL_0033: stloc.1 - IL_0034: ldloc.1 - IL_0035: brfalse IL_0061 + IL_0183: nop + IL_0184: ldarg.0 + IL_0185: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_018a: ldloc.3 + IL_018b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_0190: ldloc.s 6 + IL_0192: newobj instance void class NAnt.VSNet.ProjectEntry::'.ctor'(string, string) + IL_0197: callvirt instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) + IL_019c: pop + IL_019d: nop + IL_019e: nop + IL_019f: br IL_01c6 - IL_003a: nop - IL_003b: ldarg.0 - IL_003c: ldc.i4 1000 - IL_0041: ldstr "Found webmap match '{0}' for '{1}." - IL_0046: ldc.i4.2 - IL_0047: newarr [mscorlib]System.Object - IL_004c: dup - IL_004d: ldc.i4.0 - IL_004e: ldloc.1 - IL_004f: stelem.ref - IL_0050: dup - IL_0051: ldc.i4.1 - IL_0052: ldarg.2 - IL_0053: stelem.ref - IL_0054: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0059: ldloc.1 - IL_005a: stloc.0 - IL_005b: nop - IL_005c: br IL_0065 + IL_01a4: nop + IL_01a5: ldarg.0 + IL_01a6: ldc.i4 2000 + IL_01ab: ldstr "Skipping file reference '{0}'." + IL_01b0: ldc.i4.1 + IL_01b1: newarr [mscorlib]System.Object + IL_01b6: dup + IL_01b7: ldc.i4.0 + IL_01b8: ldloc.s 4 + IL_01ba: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_01bf: stelem.ref + IL_01c0: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01c5: nop + IL_01c6: nop + IL_01c7: ldloc.2 + IL_01c8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01cd: brtrue IL_002a - IL_0061: nop - IL_0062: ldarg.2 - IL_0063: stloc.0 - IL_0064: nop - .try { // 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: ldloc.0 - IL_0069: ldc.i4.1 - IL_006a: ldloca.s 2 - IL_006c: call bool class [System]System.Uri::TryCreate(string, valuetype [System]System.UriKind, [out] class [System]System.Uri&) - IL_0071: pop - IL_0072: ldloc.2 - IL_0073: ldnull - IL_0074: call bool class [System]System.Uri::op_Equality(class [System]System.Uri, class [System]System.Uri) - IL_0079: brfalse IL_0092 + IL_01d2: leave IL_01ed + + } // end .try 1 + finally { // 1 + IL_01d7: ldloc.2 + IL_01d8: isinst [mscorlib]System.IDisposable + IL_01dd: dup + IL_01de: stloc.s 9 + IL_01e0: brfalse IL_01ec - IL_007e: nop - IL_007f: ldarg.1 - IL_0080: ldloc.0 - IL_0081: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0086: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_008b: stloc.0 - IL_008c: nop - IL_008d: br IL_00e9 + IL_01e5: ldloc.s 9 + IL_01e7: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01ec: endfinally + } // end handler 1 + IL_01ed: ret + } // end of method SolutionBase::RecursiveLoadTemplateProject - IL_0092: ldloc.2 - IL_0093: callvirt instance string class [System]System.Uri::get_Scheme() - IL_0098: ldsfld string [System]System.Uri::UriSchemeFile - IL_009d: call bool string::op_Equality(string, string) - IL_00a2: brfalse IL_00c0 + // method line 699 + .method public hidebysig + instance default string GetProjectFileFromGuid (string projectGuid) cil managed + { + // Method begins at RVA 0x2ef0 + // Code size 62 (0x3e) + .maxstack 3 + .locals init ( + class NAnt.VSNet.ProjectEntry V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: brtrue IL_0030 - IL_00a7: nop - IL_00a8: ldarg.1 - IL_00a9: ldloc.2 - IL_00aa: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_00af: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00b4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_00b9: stloc.0 - IL_00ba: nop - IL_00bb: br IL_00e9 + IL_0014: nop + IL_0015: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001a: ldstr "Project with GUID '{0}' must be included for the build to work." + IL_001f: ldarg.1 + IL_0020: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0025: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_002a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() + IL_0036: stloc.1 + IL_0037: br IL_003c - IL_00c0: nop - IL_00c1: ldarg.0 - IL_00c2: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask - IL_00c7: callvirt instance bool class NAnt.VSNet.Tasks.SolutionTask::get_EnableWebDav() - IL_00cc: brtrue IL_00e8 + IL_003c: ldloc.1 + IL_003d: ret + } // end of method SolutionBase::GetProjectFileFromGuid - IL_00d1: nop - IL_00d2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00d7: ldstr "Cannot build web project '{0}'. Please use to map the given URL to a project-relative path, or specify enablewebdav=\"true\" on the task element to use WebDAV." - IL_00dc: ldloc.0 - IL_00dd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00e2: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_00e7: throw - IL_00e8: nop - IL_00e9: nop - IL_00ea: leave IL_0104 + // method line 700 + .method public hidebysig + instance default class NAnt.VSNet.ProjectBase GetProjectFromGuid (string projectGuid) cil managed + { + // Method begins at RVA 0x2f3c + // Code size 73 (0x49) + .maxstack 3 + .locals init ( + class NAnt.VSNet.ProjectEntry V_0, + class NAnt.VSNet.ProjectBase V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: brfalse IL_001f - } // end .try 0 - catch class [System]System.UriFormatException { // 0 - IL_00ef: pop - IL_00f0: nop - IL_00f1: ldarg.1 - IL_00f2: ldloc.0 - IL_00f3: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00f8: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) - IL_00fd: stloc.0 - IL_00fe: nop - IL_00ff: leave IL_0104 + IL_0014: ldloc.0 + IL_0015: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_001a: brtrue IL_003b - } // end handler 0 - IL_0104: ldloc.0 - IL_0105: stloc.3 - IL_0106: br IL_010b + IL_001f: nop + IL_0020: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0025: ldstr "Project with GUID '{0}' is not loaded." + IL_002a: ldarg.1 + IL_002b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0030: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0035: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_003a: throw + IL_003b: ldloc.0 + IL_003c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0041: stloc.1 + IL_0042: br IL_0047 - IL_010b: ldloc.3 - IL_010c: ret - } // end of method SolutionBase::TranslateProjectPath + IL_0047: ldloc.1 + IL_0048: ret + } // end of method SolutionBase::GetProjectFromGuid - // method line 672 - .method family hidebysig - instance default bool FixProjectReferences (class NAnt.VSNet.ProjectBase project, class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable builtProjects, class [mscorlib]System.Collections.Hashtable failedProjects) cil managed + // method line 701 + .method public hidebysig + instance default bool Compile (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x31f0 - // Code size 685 (0x2ad) + // Method begins at RVA 0x2f94 + // Code size 765 (0x2fd) .maxstack 7 .locals init ( - bool V_0, - class NAnt.VSNet.ConfigurationBase V_1, + class [mscorlib]System.Collections.Hashtable V_0, + class [mscorlib]System.Collections.Hashtable V_1, class [mscorlib]System.Collections.ArrayList V_2, bool V_3, - class NAnt.VSNet.ReferenceBase V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class NAnt.VSNet.AssemblyReferenceBase V_6, + bool V_4, + class NAnt.VSNet.ProjectEntry V_5, + class NAnt.VSNet.ProjectEntryEnumerator V_6, class NAnt.VSNet.ProjectBase V_7, - string V_8, - string V_9, - class NAnt.VSNet.ProjectEntry V_10, - class NAnt.VSNet.ProjectEntryEnumerator V_11, - class NAnt.VSNet.ManagedProjectBase V_12, - class [mscorlib]System.IDisposable V_13, - class NAnt.VSNet.ProjectReferenceBase V_14, - class [mscorlib]System.IDisposable V_15) + bool V_8, + class NAnt.VSNet.ProjectEntry V_9, + class NAnt.VSNet.ProjectEntryEnumerator V_10, + class NAnt.VSNet.ProjectBase V_11, + class [mscorlib]System.IDisposable V_12, + class [mscorlib]System.Exception V_13, + class [mscorlib]System.IDisposable V_14, + string V_15, + class [mscorlib]System.Collections.IEnumerator V_16, + class [mscorlib]System.IDisposable V_17, + bool V_18) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.3 - IL_0004: call instance bool class NAnt.VSNet.SolutionBase::HasDirtyProjectDependency(class NAnt.VSNet.ProjectBase, class [mscorlib]System.Collections.Hashtable) - IL_0009: brfalse IL_0016 + IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0006: stloc.0 + IL_0007: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_000c: stloc.1 + IL_000d: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0012: stloc.2 + IL_0013: ldc.i4.1 + IL_0014: stloc.3 + IL_0015: ldarg.0 + IL_0016: ldarg.1 + IL_0017: call instance void class NAnt.VSNet.SolutionBase::GetDependenciesFromProjects(class NAnt.VSNet.Configuration) + IL_001c: nop + IL_001d: nop + IL_001e: ldc.i4.0 + IL_001f: stloc.s 4 + IL_0021: nop + IL_0022: ldarg.0 + IL_0023: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0028: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() + IL_002d: stloc.s 6 + .try { // 3 + IL_002f: br IL_0207 - IL_000e: nop - IL_000f: ldc.i4.0 - IL_0010: stloc.0 - IL_0011: br IL_02ab + IL_0034: ldloc.s 6 + IL_0036: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() + IL_003b: stloc.s 5 + IL_003d: nop + IL_003e: ldloc.s 5 + IL_0040: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0045: stloc.s 7 + IL_0047: ldloc.s 7 + IL_0049: brtrue IL_0062 - IL_0016: ldarg.1 - IL_0017: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_001c: ldarg.2 - IL_001d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_0022: stloc.1 - IL_0023: ldloc.1 - IL_0024: brtrue IL_0031 + IL_004e: nop + IL_004f: ldloc.0 + IL_0050: ldloc.s 5 + IL_0052: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() + IL_0057: ldnull + IL_0058: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_005d: leave IL_0207 - IL_0029: nop - IL_002a: ldc.i4.0 - IL_002b: stloc.0 - IL_002c: br IL_02ab + IL_0062: ldloc.0 + IL_0063: ldloc.s 7 + IL_0065: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_006a: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_006f: brfalse IL_007a - IL_0031: ldarg.0 - IL_0032: ldc.i4 2000 - IL_0037: ldstr "Fixing up references..." - IL_003c: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_0041: ldarg.1 - IL_0042: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_0047: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() - IL_004c: castclass [mscorlib]System.Collections.ArrayList - IL_0051: stloc.2 - IL_0052: ldc.i4.0 - IL_0053: stloc.3 - IL_0054: nop - IL_0055: ldloc.2 - IL_0056: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_005b: stloc.s 5 - .try { // 1 - IL_005d: br IL_027c + IL_0074: nop + IL_0075: leave IL_0207 - IL_0062: ldloc.s 5 - IL_0064: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0069: castclass NAnt.VSNet.ReferenceBase - IL_006e: stloc.s 4 - IL_0070: nop - IL_0071: ldloc.s 4 - IL_0073: isinst NAnt.VSNet.AssemblyReferenceBase - IL_0078: stloc.s 6 - IL_007a: ldloc.s 6 - IL_007c: brtrue IL_0087 + IL_007a: ldloc.1 + IL_007b: ldloc.s 7 + IL_007d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0082: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0087: stloc.s 8 + IL_0089: ldloc.s 8 + IL_008b: brtrue IL_00b5 - IL_0081: nop - IL_0082: leave IL_027c + IL_0090: nop + IL_0091: ldarg.0 + IL_0092: ldloc.s 7 + IL_0094: ldarg.1 + IL_0095: ldloc.0 + IL_0096: ldloc.1 + IL_0097: call instance bool class NAnt.VSNet.SolutionBase::FixProjectReferences(class NAnt.VSNet.ProjectBase, class NAnt.VSNet.Configuration, class [mscorlib]System.Collections.Hashtable, class [mscorlib]System.Collections.Hashtable) + IL_009c: brfalse IL_00b4 - IL_0087: ldnull - IL_0088: stloc.s 7 - IL_008a: ldloc.s 6 - IL_008c: ldarg.2 - IL_008d: callvirt instance string class NAnt.VSNet.ReferenceBase::GetPrimaryOutputFile(class NAnt.VSNet.Configuration) - IL_0092: stloc.s 8 - IL_0094: ldloc.s 8 - IL_0096: brtrue IL_00a1 + IL_00a1: nop + IL_00a2: ldc.i4.1 + IL_00a3: stloc.s 8 + IL_00a5: ldloc.1 + IL_00a6: ldloc.s 7 + IL_00a8: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_00ad: ldnull + IL_00ae: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_00b3: nop + IL_00b4: nop + IL_00b5: ldarg.0 + IL_00b6: ldloc.s 7 + IL_00b8: ldloc.0 + IL_00b9: call instance bool class NAnt.VSNet.SolutionBase::HasDirtyProjectDependency(class NAnt.VSNet.ProjectBase, class [mscorlib]System.Collections.Hashtable) + IL_00be: brtrue IL_0206 - IL_009b: nop - IL_009c: leave IL_027c + IL_00c3: nop + .try { // 1 + IL_00c4: nop + IL_00c5: ldarg.0 + IL_00c6: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htReferenceProjects + IL_00cb: ldloc.s 7 + IL_00cd: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_00d2: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_00d7: brtrue IL_01c4 - IL_00a1: ldarg.0 - IL_00a2: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles - IL_00a7: ldloc.s 8 - IL_00a9: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_00ae: brfalse IL_00de + IL_00dc: ldloc.s 8 + IL_00de: brtrue IL_00f0 - IL_00b3: nop - IL_00b4: ldarg.0 - IL_00b5: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_00ba: ldarg.0 - IL_00bb: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles - IL_00c0: ldloc.s 8 - IL_00c2: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_00c7: castclass [mscorlib]System.String - IL_00cc: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_00d1: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_00d6: stloc.s 7 - IL_00d8: nop - IL_00d9: br IL_013c + IL_00e3: ldloc.s 7 + IL_00e5: ldarg.1 + IL_00e6: callvirt instance bool class NAnt.VSNet.ProjectBase::Compile(class NAnt.VSNet.Configuration) + IL_00eb: brtrue IL_01c4 - IL_00de: ldarg.0 - IL_00df: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir - IL_00e4: brfalse IL_013c + IL_00f0: nop + IL_00f1: ldloc.s 8 + IL_00f3: brtrue IL_0138 - IL_00e9: nop - IL_00ea: ldarg.0 - IL_00eb: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir - IL_00f0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00f5: ldloc.s 8 - IL_00f7: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_00fc: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0101: stloc.s 9 - IL_0103: ldarg.0 - IL_0104: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles - IL_0109: ldloc.s 9 - IL_010b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_0110: brfalse IL_013b + IL_00f8: nop + IL_00f9: ldarg.0 + IL_00fa: ldc.i4 5000 + IL_00ff: ldstr "Project '{0}' failed!" + IL_0104: ldc.i4.1 + IL_0105: newarr [mscorlib]System.Object + IL_010a: dup + IL_010b: ldc.i4.0 + IL_010c: ldloc.s 7 + IL_010e: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0113: stelem.ref + IL_0114: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0119: ldarg.0 + IL_011a: ldc.i4 5000 + IL_011f: ldstr "Continuing build with non-dependent projects." + IL_0124: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0129: ldloc.2 + IL_012a: ldloc.s 7 + IL_012c: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_0131: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_0136: pop + IL_0137: nop + IL_0138: ldc.i4.0 + IL_0139: stloc.3 + IL_013a: ldloc.1 + IL_013b: ldloc.s 7 + IL_013d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0142: ldnull + IL_0143: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0148: nop + IL_0149: ldarg.0 + IL_014a: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_014f: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() + IL_0154: stloc.s 10 + .try { // 0 + IL_0156: br IL_019b - IL_0115: nop - IL_0116: ldarg.0 - IL_0117: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_011c: ldarg.0 - IL_011d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles - IL_0122: ldloc.s 9 - IL_0124: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0129: castclass [mscorlib]System.String - IL_012e: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) - IL_0133: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0138: stloc.s 7 - IL_013a: nop - IL_013b: nop - IL_013c: ldloc.s 7 - IL_013e: brtrue IL_01d9 + IL_015b: ldloc.s 10 + IL_015d: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() + IL_0162: stloc.s 9 + IL_0164: nop + IL_0165: ldloc.s 9 + IL_0167: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_016c: stloc.s 11 + IL_016e: ldloc.s 11 + IL_0170: brtrue IL_0177 - IL_0143: ldloc.s 8 - IL_0145: call bool class [mscorlib]System.IO.File::Exists(string) - IL_014a: brtrue IL_01d9 + IL_0175: nop + IL_0176: nop + IL_0177: ldloc.s 11 + IL_0179: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() + IL_017e: ldloc.s 7 + IL_0180: callvirt instance bool class NAnt.VSNet.ProjectBaseCollection::Contains(class NAnt.VSNet.ProjectBase) + IL_0185: brfalse IL_019a - IL_014f: nop - IL_0150: nop - IL_0151: ldarg.0 - IL_0152: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0157: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() - IL_015c: stloc.s 11 - .try { // 0 - IL_015e: br IL_01b0 + IL_018a: nop + IL_018b: ldloc.1 + IL_018c: ldloc.s 11 + IL_018e: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0193: ldnull + IL_0194: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0199: nop + IL_019a: nop + IL_019b: ldloc.s 10 + IL_019d: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() + IL_01a2: brtrue IL_015b - IL_0163: ldloc.s 11 - IL_0165: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() - IL_016a: stloc.s 10 - IL_016c: nop - IL_016d: ldloc.s 10 - IL_016f: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0174: isinst NAnt.VSNet.ManagedProjectBase - IL_0179: stloc.s 12 - IL_017b: ldloc.s 12 - IL_017d: brtrue IL_0188 + IL_01a7: leave IL_01c3 + + } // end .try 0 + finally { // 0 + IL_01ac: ldloc.s 10 + IL_01ae: isinst [mscorlib]System.IDisposable + IL_01b3: dup + IL_01b4: stloc.s 12 + IL_01b6: brfalse IL_01c2 + + IL_01bb: ldloc.s 12 + IL_01bd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01c2: endfinally + } // end handler 0 + IL_01c3: nop + IL_01c4: nop + IL_01c5: leave IL_01f4 + + } // end .try 1 + catch class [NAnt.Core]NAnt.Core.BuildException { // 1 + IL_01ca: pop + IL_01cb: nop + IL_01cc: rethrow + } // end handler 1 + catch class [mscorlib]System.Exception { // 2 + IL_01ce: stloc.s 13 + IL_01d0: nop + IL_01d1: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01d6: ldstr "Unexpected error while compiling project '{0}'" + IL_01db: ldloc.s 7 + IL_01dd: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_01e2: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01e7: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_01ec: ldloc.s 13 + IL_01ee: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_01f3: throw + } // end handler 2 + IL_01f4: ldc.i4.1 + IL_01f5: stloc.s 4 + IL_01f7: ldloc.0 + IL_01f8: ldloc.s 7 + IL_01fa: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_01ff: ldnull + IL_0200: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0205: nop + IL_0206: nop + IL_0207: ldloc.s 6 + IL_0209: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() + IL_020e: brtrue IL_0034 + + IL_0213: leave IL_022f + + } // end .try 3 + finally { // 3 + IL_0218: ldloc.s 6 + IL_021a: isinst [mscorlib]System.IDisposable + IL_021f: dup + IL_0220: stloc.s 14 + IL_0222: brfalse IL_022e + + IL_0227: ldloc.s 14 + IL_0229: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_022e: endfinally + } // end handler 3 + IL_022f: ldarg.0 + IL_0230: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0235: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_023a: ldloc.0 + IL_023b: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_0240: bne.un IL_024b - IL_0182: nop - IL_0183: leave IL_01b0 + IL_0245: nop + IL_0246: br IL_0269 - IL_0188: ldloc.s 6 - IL_018a: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_018f: ldloc.s 12 - IL_0191: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() - IL_0196: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyName() - IL_019b: call bool string::op_Equality(string, string) - IL_01a0: brfalse IL_01af + IL_024b: ldloc.s 4 + IL_024d: brtrue IL_0263 - IL_01a5: nop - IL_01a6: ldloc.s 12 - IL_01a8: stloc.s 7 - IL_01aa: leave IL_01bc + IL_0252: nop + IL_0253: ldstr "Circular dependency detected." + IL_0258: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_025d: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0262: throw + IL_0263: nop + IL_0264: br IL_001c - IL_01af: nop - IL_01b0: ldloc.s 11 - IL_01b2: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() - IL_01b7: brtrue IL_0163 + IL_0269: ldloc.2 + IL_026a: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_026f: ldc.i4.0 + IL_0270: ble IL_02f2 - IL_01bc: leave IL_01d8 + IL_0275: nop + IL_0276: ldarg.0 + IL_0277: ldc.i4 5000 + IL_027c: ldsfld string [mscorlib]System.String::Empty + IL_0281: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0286: ldarg.0 + IL_0287: ldc.i4 5000 + IL_028c: ldstr "Solution failed to build! Failed projects were:" + IL_0291: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0296: nop + IL_0297: ldloc.2 + IL_0298: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_029d: stloc.s 16 + .try { // 4 + IL_029f: br IL_02c9 - } // end .try 0 - finally { // 0 - IL_01c1: ldloc.s 11 - IL_01c3: isinst [mscorlib]System.IDisposable - IL_01c8: dup - IL_01c9: stloc.s 13 - IL_01cb: brfalse IL_01d7 + IL_02a4: ldloc.s 16 + IL_02a6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_02ab: castclass [mscorlib]System.String + IL_02b0: stloc.s 15 + IL_02b2: ldarg.0 + IL_02b3: ldc.i4 5000 + IL_02b8: ldstr " - " + IL_02bd: ldloc.s 15 + IL_02bf: call string string::Concat(string, string) + IL_02c4: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_02c9: ldloc.s 16 + IL_02cb: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02d0: brtrue IL_02a4 - IL_01d0: ldloc.s 13 - IL_01d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01d7: endfinally - } // end handler 0 - IL_01d8: nop - IL_01d9: ldloc.s 7 - IL_01db: brfalse IL_027b + IL_02d5: leave IL_02f1 - IL_01e0: nop - IL_01e1: ldloc.3 - IL_01e2: brtrue IL_01fe + } // end .try 4 + finally { // 4 + IL_02da: ldloc.s 16 + IL_02dc: isinst [mscorlib]System.IDisposable + IL_02e1: dup + IL_02e2: stloc.s 17 + IL_02e4: brfalse IL_02f0 - IL_01e7: ldarg.s 4 - IL_01e9: ldloc.s 7 - IL_01eb: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_01f0: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_01f5: brfalse IL_01fe + IL_02e9: ldloc.s 17 + IL_02eb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02f0: endfinally + } // end handler 4 + IL_02f1: nop + IL_02f2: ldloc.3 + IL_02f3: stloc.s 18 + IL_02f5: br IL_02fa - IL_01fa: nop - IL_01fb: ldc.i4.1 - IL_01fc: stloc.3 - IL_01fd: nop - IL_01fe: ldloc.s 6 - IL_0200: ldloc.s 7 - IL_0202: callvirt instance class NAnt.VSNet.ProjectReferenceBase class NAnt.VSNet.AssemblyReferenceBase::CreateProjectReference(class NAnt.VSNet.ProjectBase) - IL_0207: stloc.s 14 - IL_0209: ldarg.0 - IL_020a: ldc.i4 2000 - IL_020f: ldstr "Converted assembly reference to project reference: {0} -> {1}" - IL_0214: ldc.i4.2 - IL_0215: newarr [mscorlib]System.Object - IL_021a: dup - IL_021b: ldc.i4.0 - IL_021c: ldloc.s 6 - IL_021e: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_0223: stelem.ref - IL_0224: dup - IL_0225: ldc.i4.1 - IL_0226: ldloc.s 14 - IL_0228: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_022d: stelem.ref - IL_022e: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0233: ldarg.1 - IL_0234: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_0239: ldloc.s 6 - IL_023b: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) - IL_0240: ldarg.1 - IL_0241: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() - IL_0246: ldloc.s 14 - IL_0248: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_024d: pop - IL_024e: ldarg.3 - IL_024f: ldloc.s 14 - IL_0251: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0256: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_025b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_0260: brtrue IL_027a + IL_02fa: ldloc.s 18 + IL_02fc: ret + } // end of method SolutionBase::Compile - IL_0265: nop - IL_0266: ldarg.1 - IL_0267: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() - IL_026c: ldloc.s 14 - IL_026e: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() - IL_0273: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) - IL_0278: pop - IL_0279: nop - IL_027a: nop - IL_027b: nop - IL_027c: ldloc.s 5 - IL_027e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0283: brtrue IL_0062 + // method line 702 + .method family hidebysig + instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message) cil managed + { + // Method begins at RVA 0x331c + // Code size 28 (0x1c) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0007: brfalse IL_001b - IL_0288: leave IL_02a4 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_001a: nop + IL_001b: ret + } // end of method SolutionBase::Log - } // end .try 1 - finally { // 1 - IL_028d: ldloc.s 5 - IL_028f: isinst [mscorlib]System.IDisposable - IL_0294: dup - IL_0295: stloc.s 15 - IL_0297: brfalse IL_02a3 + // method line 703 + .method family hidebysig + instance default void Log (valuetype [NAnt.Core]NAnt.Core.Level messageLevel, string message, object[] args) cil managed + { + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_029c: ldloc.s 15 - IL_029e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02a3: endfinally - } // end handler 1 - IL_02a4: ldloc.3 - IL_02a5: stloc.0 - IL_02a6: br IL_02ab + // Method begins at RVA 0x3339 + // Code size 29 (0x1d) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0007: brfalse IL_001c - IL_02ab: ldloc.0 - IL_02ac: ret - } // end of method SolutionBase::FixProjectReferences + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: ldarg.3 + IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_001b: nop + IL_001c: ret + } // end of method SolutionBase::Log - // method line 673 + // method line 704 .method family hidebysig - instance default class [NAnt.Core]NAnt.Core.BuildException CreateProjectDoesNotExistException (string projectPath) cil managed + instance default void LoadProjectGuids (class [mscorlib]System.Collections.ArrayList projects, bool isReferenceProject) cil managed { - // Method begins at RVA 0x34e0 - // Code size 30 (0x1e) - .maxstack 3 + // Method begins at RVA 0x3358 + // Code size 172 (0xac) + .maxstack 5 .locals init ( - class [NAnt.Core]NAnt.Core.BuildException V_0) + string V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + string V_2, + class NAnt.VSNet.ProjectEntry V_3, + class [mscorlib]System.IDisposable V_4) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: ldstr "Project '{0}' does not exist." - IL_000b: ldarg.1 - IL_000c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0011: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0016: stloc.0 - IL_0017: br IL_001c + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0008: stloc.1 + .try { // 0 + IL_0009: br IL_0085 - IL_001c: ldloc.0 - IL_001d: ret - } // end of method SolutionBase::CreateProjectDoesNotExistException + IL_000e: ldloc.1 + IL_000f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0014: castclass [mscorlib]System.String + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0021: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() + IL_0026: ldloc.0 + IL_0027: callvirt instance string class NAnt.VSNet.ProjectFactory::LoadGuid(string) + IL_002c: stloc.2 + IL_002d: ldarg.0 + IL_002e: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0033: ldloc.2 + IL_0034: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_0039: stloc.3 + IL_003a: ldloc.3 + IL_003b: brfalse IL_005e - // method line 674 - .method family virtual hidebysig newslot - instance default void SetProjectBuildConfiguration (class NAnt.VSNet.ProjectEntry projectEntry) cil managed + IL_0040: nop + IL_0041: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0046: ldstr "Error loading project {0}. Project GUID {1} already exists! Conflicting project is {2}." + IL_004b: ldloc.0 + IL_004c: ldloc.2 + IL_004d: ldloc.3 + IL_004e: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() + IL_0053: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) + IL_0058: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_005d: throw + IL_005e: ldarg.0 + IL_005f: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0064: ldloc.2 + IL_0065: ldloc.0 + IL_0066: newobj instance void class NAnt.VSNet.ProjectEntry::'.ctor'(string, string) + IL_006b: callvirt instance int32 class NAnt.VSNet.ProjectEntryCollection::Add(class NAnt.VSNet.ProjectEntry) + IL_0070: pop + IL_0071: ldarg.2 + IL_0072: brfalse IL_0084 + + IL_0077: ldarg.0 + IL_0078: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htReferenceProjects + IL_007d: ldloc.2 + IL_007e: ldnull + IL_007f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0084: nop + IL_0085: ldloc.1 + IL_0086: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_008b: brtrue IL_000e + + IL_0090: leave IL_00ab + + } // end .try 0 + finally { // 0 + IL_0095: ldloc.1 + IL_0096: isinst [mscorlib]System.IDisposable + IL_009b: dup + IL_009c: stloc.s 4 + IL_009e: brfalse IL_00aa + + IL_00a3: ldloc.s 4 + IL_00a5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00aa: endfinally + } // end handler 0 + IL_00ab: ret + } // end of method SolutionBase::LoadProjectGuids + + // method line 705 + .method family hidebysig + instance default void LoadProjects (class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.Collections.Hashtable explicitProjectDependencies) cil managed { - // Method begins at RVA 0x350c - // Code size 263 (0x107) - .maxstack 3 + // Method begins at RVA 0x3420 + // Code size 822 (0x336) + .maxstack 8 .locals init ( - class NAnt.VSNet.ProjectBase V_0, - class NAnt.VSNet.ConfigurationDictionaryEntry V_1, - class NAnt.VSNet.ConfigurationDictionaryEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.VSNet.ProjectBase V_4, - class NAnt.VSNet.ConfigurationMapEntry V_5, - class NAnt.VSNet.ConfigurationMapEnumerator V_6, - class NAnt.VSNet.Configuration V_7, - class NAnt.VSNet.Configuration V_8, - class NAnt.VSNet.ConfigurationBase V_9, - class [mscorlib]System.IDisposable V_10) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0, + class NAnt.VSNet.ProjectEntry V_1, + class NAnt.VSNet.ProjectEntryEnumerator V_2, + string V_3, + string V_4, + bool V_5, + bool V_6, + string V_7, + class [System]System.Collections.Specialized.StringEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + class NAnt.VSNet.ProjectBase V_10, + class [mscorlib]System.IDisposable V_11, + valuetype [mscorlib]System.Collections.DictionaryEntry V_12, + class [mscorlib]System.Collections.IDictionaryEnumerator V_13, + string V_14, + class [mscorlib]System.Collections.Hashtable V_15, + class NAnt.VSNet.ProjectEntry V_16, + class NAnt.VSNet.ProjectBase V_17, + string V_18, + class [mscorlib]System.Collections.IEnumerator V_19, + class NAnt.VSNet.ProjectEntry V_20, + class [mscorlib]System.IDisposable V_21, + class [mscorlib]System.IDisposable V_22) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance class NAnt.VSNet.ConfigurationMap class NAnt.VSNet.ProjectEntry::get_BuildConfigurations() - IL_0007: brtrue IL_007b + IL_0001: ldarg.0 + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Loading projects..." + IL_000c: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0011: ldarg.0 + IL_0012: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0017: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VSNet.Tasks.SolutionTask::get_ExcludeProjects() + IL_001c: stloc.0 + IL_001d: nop + IL_001e: ldarg.0 + IL_001f: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0024: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() + IL_0029: stloc.2 + .try { // 1 + IL_002a: br IL_01a0 - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0013: stloc.0 - IL_0014: ldloc.0 - IL_0015: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_001a: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::Clear() - IL_001f: nop - IL_0020: ldloc.0 - IL_0021: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() - IL_0026: callvirt instance class NAnt.VSNet.ConfigurationDictionaryEnumerator class NAnt.VSNet.ConfigurationDictionary::GetEnumerator() - IL_002b: stloc.2 - .try { // 0 - IL_002c: br IL_0051 + IL_002f: ldloc.2 + IL_0030: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() + IL_0035: stloc.1 + IL_0036: nop + IL_0037: ldloc.1 + IL_0038: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() + IL_003d: stloc.3 + IL_003e: ldloc.1 + IL_003f: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() + IL_0044: stloc.s 4 + IL_0046: ldloc.3 + IL_0047: call bool class [NAnt.Core]NAnt.Core.PlatformHelper::IsVolumeCaseSensitive(string) + IL_004c: stloc.s 5 + IL_004e: ldc.i4.0 + IL_004f: stloc.s 6 + IL_0051: nop + IL_0052: ldloc.0 + IL_0053: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0058: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_005d: stloc.s 8 + .try { // 0 + IL_005f: br IL_00a9 - IL_0031: ldloc.2 - IL_0032: callvirt instance class NAnt.VSNet.ConfigurationDictionaryEntry class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Current() - IL_0037: stloc.1 - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_003f: ldloc.1 - IL_0040: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEntry::get_Name() - IL_0045: ldloc.1 - IL_0046: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEntry::get_Config() - IL_004b: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) - IL_0050: nop - IL_0051: ldloc.2 - IL_0052: callvirt instance bool class NAnt.VSNet.ConfigurationDictionaryEnumerator::MoveNext() - IL_0057: brtrue IL_0031 + IL_0064: ldloc.s 8 + IL_0066: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_006b: stloc.s 7 + IL_006d: nop + IL_006e: ldloc.s 7 + IL_0070: ldloc.3 + IL_0071: ldloc.s 5 + IL_0073: ldc.i4.0 + IL_0074: ceq + IL_0076: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007b: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0080: brtrue IL_00a8 - IL_005c: leave IL_0075 + IL_0085: nop + IL_0086: ldarg.0 + IL_0087: ldc.i4 2000 + IL_008c: ldstr "Excluding project '{0}'." + IL_0091: ldc.i4.1 + IL_0092: newarr [mscorlib]System.Object + IL_0097: dup + IL_0098: ldc.i4.0 + IL_0099: ldloc.3 + IL_009a: stelem.ref + IL_009b: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a0: ldc.i4.1 + IL_00a1: stloc.s 6 + IL_00a3: leave IL_00b5 - } // end .try 0 - finally { // 0 - IL_0061: ldloc.2 - IL_0062: isinst [mscorlib]System.IDisposable - IL_0067: dup - IL_0068: stloc.3 - IL_0069: brfalse IL_0074 + IL_00a8: nop + IL_00a9: ldloc.s 8 + IL_00ab: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00b0: brtrue IL_0064 + + IL_00b5: leave IL_00d1 + + } // end .try 0 + finally { // 0 + IL_00ba: ldloc.s 8 + IL_00bc: isinst [mscorlib]System.IDisposable + IL_00c1: dup + IL_00c2: stloc.s 9 + IL_00c4: brfalse IL_00d0 + + IL_00c9: ldloc.s 9 + IL_00cb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d0: endfinally + } // end handler 0 + IL_00d1: ldloc.s 6 + IL_00d3: brfalse IL_00f5 + + IL_00d8: nop + IL_00d9: ldarg.3 + IL_00da: ldloc.s 4 + IL_00dc: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_00e1: brfalse IL_00f0 + + IL_00e6: nop + IL_00e7: ldarg.3 + IL_00e8: ldloc.s 4 + IL_00ea: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_00ef: nop + IL_00f0: leave IL_01a0 + + IL_00f5: ldarg.0 + IL_00f6: ldc.i4 2000 + IL_00fb: ldstr "Loading project '{0}'." + IL_0100: ldc.i4.1 + IL_0101: newarr [mscorlib]System.Object + IL_0106: dup + IL_0107: ldc.i4.0 + IL_0108: ldloc.3 + IL_0109: stelem.ref + IL_010a: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_010f: ldarg.0 + IL_0110: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0115: callvirt instance class NAnt.VSNet.ProjectFactory class NAnt.VSNet.Tasks.SolutionTask::get_ProjectFactory() + IL_011a: ldarg.0 + IL_011b: ldarg.0 + IL_011c: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_0121: ldarg.0 + IL_0122: ldfld class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::_tfc + IL_0127: ldarg.1 + IL_0128: ldarg.2 + IL_0129: ldarg.0 + IL_012a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir + IL_012f: ldloc.3 + IL_0130: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectFactory::LoadProject(class NAnt.VSNet.SolutionBase, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo, string) + IL_0135: stloc.s 10 + IL_0137: ldloc.s 10 + IL_0139: brtrue IL_015e - IL_006e: ldloc.3 - IL_006f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0074: endfinally - } // end handler 0 - IL_0075: nop - IL_0076: br IL_0106 + IL_013e: nop + IL_013f: ldarg.0 + IL_0140: ldc.i4 4000 + IL_0145: ldstr "Project '{0}' is of unsupported type. Skipping." + IL_014a: ldc.i4.1 + IL_014b: newarr [mscorlib]System.Object + IL_0150: dup + IL_0151: ldc.i4.0 + IL_0152: ldloc.3 + IL_0153: stelem.ref + IL_0154: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0159: leave IL_01a0 - IL_007b: nop - IL_007c: ldarg.1 - IL_007d: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() - IL_0082: stloc.s 4 - IL_0084: nop - IL_0085: ldarg.1 - IL_0086: callvirt instance class NAnt.VSNet.ConfigurationMap class NAnt.VSNet.ProjectEntry::get_BuildConfigurations() - IL_008b: callvirt instance class NAnt.VSNet.ConfigurationMapEnumerator class NAnt.VSNet.ConfigurationMap::GetEnumerator() - IL_0090: stloc.s 6 - .try { // 1 - IL_0092: br IL_00dd + IL_015e: ldloc.s 10 + IL_0160: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0165: brfalse IL_0180 - IL_0097: ldloc.s 6 - IL_0099: callvirt instance class NAnt.VSNet.ConfigurationMapEntry class NAnt.VSNet.ConfigurationMapEnumerator::get_Current() - IL_009e: stloc.s 5 - IL_00a0: nop - IL_00a1: ldloc.s 5 - IL_00a3: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEntry::get_Key() - IL_00a8: stloc.s 7 - IL_00aa: ldloc.s 5 - IL_00ac: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEntry::get_Value() - IL_00b1: stloc.s 8 - IL_00b3: ldloc.s 4 - IL_00b5: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() - IL_00ba: ldloc.s 8 - IL_00bc: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) - IL_00c1: stloc.s 9 - IL_00c3: ldloc.s 9 - IL_00c5: brfalse IL_00dc + IL_016a: ldloc.s 10 + IL_016c: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0171: ldsfld string [mscorlib]System.String::Empty + IL_0176: call bool string::op_Equality(string, string) + IL_017b: brfalse IL_0190 - IL_00ca: nop - IL_00cb: ldloc.s 4 - IL_00cd: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() - IL_00d2: ldloc.s 7 - IL_00d4: ldloc.s 9 - IL_00d6: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) - IL_00db: nop - IL_00dc: nop - IL_00dd: ldloc.s 6 - IL_00df: callvirt instance bool class NAnt.VSNet.ConfigurationMapEnumerator::MoveNext() - IL_00e4: brtrue IL_0097 + IL_0180: nop + IL_0181: ldloc.s 10 + IL_0183: ldarg.0 + IL_0184: ldloc.3 + IL_0185: call instance string class NAnt.VSNet.SolutionBase::FindGuidFromPath(string) + IL_018a: callvirt instance void class NAnt.VSNet.ProjectBase::set_Guid(string) + IL_018f: nop + IL_0190: ldloc.1 + IL_0191: ldloc.s 10 + IL_0193: callvirt instance void class NAnt.VSNet.ProjectEntry::set_Project(class NAnt.VSNet.ProjectBase) + IL_0198: ldarg.0 + IL_0199: ldloc.1 + IL_019a: callvirt instance void class NAnt.VSNet.SolutionBase::SetProjectBuildConfiguration(class NAnt.VSNet.ProjectEntry) + IL_019f: nop + IL_01a0: ldloc.2 + IL_01a1: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() + IL_01a6: brtrue IL_002f - IL_00e9: leave IL_0105 + IL_01ab: leave IL_01c6 } // end .try 1 finally { // 1 - IL_00ee: ldloc.s 6 - IL_00f0: isinst [mscorlib]System.IDisposable - IL_00f5: dup - IL_00f6: stloc.s 10 - IL_00f8: brfalse IL_0104 + IL_01b0: ldloc.2 + IL_01b1: isinst [mscorlib]System.IDisposable + IL_01b6: dup + IL_01b7: stloc.s 11 + IL_01b9: brfalse IL_01c5 - IL_00fd: ldloc.s 10 - IL_00ff: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0104: endfinally + IL_01be: ldloc.s 11 + IL_01c0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01c5: endfinally } // end handler 1 - IL_0105: nop - IL_0106: ret - } // end of method SolutionBase::SetProjectBuildConfiguration + IL_01c6: nop + IL_01c7: ldarg.3 + IL_01c8: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_01cd: stloc.s 13 + .try { // 3 + IL_01cf: br IL_030d - // method line 675 - .method private hidebysig - instance default bool HasDirtyProjectDependency (class NAnt.VSNet.ProjectBase project, class [mscorlib]System.Collections.Hashtable builtProjects) cil managed - { - // Method begins at RVA 0x363c - // Code size 98 (0x62) - .maxstack 2 - .locals init ( - class NAnt.VSNet.ProjectBase V_0, - class NAnt.VSNet.ProjectBaseEnumerator V_1, - bool V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() - IL_0008: callvirt instance class NAnt.VSNet.ProjectBaseEnumerator class NAnt.VSNet.ProjectBaseCollection::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_0035 + IL_01d4: ldloc.s 13 + IL_01d6: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_01db: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_01e0: stloc.s 12 + IL_01e2: nop + IL_01e3: ldloca.s 12 + IL_01e5: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_01ea: castclass [mscorlib]System.String + IL_01ef: stloc.s 14 + IL_01f1: ldloca.s 12 + IL_01f3: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_01f8: castclass [mscorlib]System.Collections.Hashtable + IL_01fd: stloc.s 15 + IL_01ff: ldarg.0 + IL_0200: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0205: ldloc.s 14 + IL_0207: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_020c: stloc.s 16 + IL_020e: ldloc.s 16 + IL_0210: brtrue IL_0232 - IL_0013: ldloc.1 - IL_0014: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseEnumerator::get_Current() - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldarg.2 - IL_001c: ldloc.0 - IL_001d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0022: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_0027: brtrue IL_0034 + IL_0215: nop + IL_0216: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_021b: ldstr "Dependencies for project '{0}' could not be analyzed. Project is not included." + IL_0220: ldloc.s 14 + IL_0222: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0227: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_022c: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_0231: throw + IL_0232: ldloc.s 16 + IL_0234: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0239: stloc.s 17 + IL_023b: ldloc.s 17 + IL_023d: brtrue IL_025f - IL_002c: nop - IL_002d: ldc.i4.1 - IL_002e: stloc.2 - IL_002f: leave IL_0060 + IL_0242: nop + IL_0243: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0248: ldstr "Dependencies for project '{0}' could not be analyzed. Project is not loaded." + IL_024d: ldloc.s 14 + IL_024f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0254: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0259: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_025e: throw + IL_025f: nop + IL_0260: ldloc.s 15 + IL_0262: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_0267: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_026c: stloc.s 19 + .try { // 2 + IL_026e: br IL_02e4 - IL_0034: nop - IL_0035: ldloc.1 - IL_0036: callvirt instance bool class NAnt.VSNet.ProjectBaseEnumerator::MoveNext() - IL_003b: brtrue IL_0013 + IL_0273: ldloc.s 19 + IL_0275: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_027a: castclass [mscorlib]System.String + IL_027f: stloc.s 18 + IL_0281: nop + IL_0282: ldarg.0 + IL_0283: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0288: ldloc.s 18 + IL_028a: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_028f: stloc.s 20 + IL_0291: ldloc.s 20 + IL_0293: brfalse IL_02a4 - IL_0040: leave IL_0059 + IL_0298: ldloc.s 20 + IL_029a: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_029f: brtrue IL_02cf - } // end .try 0 - finally { // 0 - IL_0045: ldloc.1 - IL_0046: isinst [mscorlib]System.IDisposable - IL_004b: dup - IL_004c: stloc.3 - IL_004d: brfalse IL_0058 + IL_02a4: nop + IL_02a5: ldarg.0 + IL_02a6: ldc.i4 4000 + IL_02ab: ldstr "Project \"{0}\": ignored dependency on project \"{1}\", which is not included." + IL_02b0: ldc.i4.2 + IL_02b1: newarr [mscorlib]System.Object + IL_02b6: dup + IL_02b7: ldc.i4.0 + IL_02b8: ldloc.s 17 + IL_02ba: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() + IL_02bf: stelem.ref + IL_02c0: dup + IL_02c1: ldc.i4.1 + IL_02c2: ldloc.s 18 + IL_02c4: stelem.ref + IL_02c5: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_02ca: leave IL_02e4 - IL_0052: ldloc.3 - IL_0053: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0058: endfinally - } // end handler 0 - IL_0059: ldc.i4.0 - IL_005a: stloc.2 - IL_005b: br IL_0060 + IL_02cf: ldloc.s 17 + IL_02d1: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() + IL_02d6: ldloc.s 20 + IL_02d8: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_02dd: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_02e2: pop + IL_02e3: nop + IL_02e4: ldloc.s 19 + IL_02e6: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02eb: brtrue IL_0273 - IL_0060: ldloc.2 - IL_0061: ret - } // end of method SolutionBase::HasDirtyProjectDependency + IL_02f0: leave IL_030c - // method line 676 - .method private hidebysig - instance default string FindGuidFromPath (string projectPath) cil managed + } // end .try 2 + finally { // 2 + IL_02f5: ldloc.s 19 + IL_02f7: isinst [mscorlib]System.IDisposable + IL_02fc: dup + IL_02fd: stloc.s 21 + IL_02ff: brfalse IL_030b + + IL_0304: ldloc.s 21 + IL_0306: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_030b: endfinally + } // end handler 2 + IL_030c: nop + IL_030d: ldloc.s 13 + IL_030f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0314: brtrue IL_01d4 + + IL_0319: leave IL_0335 + + } // end .try 3 + finally { // 3 + IL_031e: ldloc.s 13 + IL_0320: isinst [mscorlib]System.IDisposable + IL_0325: dup + IL_0326: stloc.s 22 + IL_0328: brfalse IL_0334 + + IL_032d: ldloc.s 22 + IL_032f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0334: endfinally + } // end handler 3 + IL_0335: ret + } // end of method SolutionBase::LoadProjects + + // method line 706 + .method family hidebysig + instance default void GetDependenciesFromProjects (class NAnt.VSNet.Configuration solutionConfiguration) cil managed { - // Method begins at RVA 0x36bc - // Code size 113 (0x71) - .maxstack 4 + // Method begins at RVA 0x37c8 + // Code size 770 (0x302) + .maxstack 3 .locals init ( class NAnt.VSNet.ProjectEntry V_0, class NAnt.VSNet.ProjectEntryEnumerator V_1, - string V_2, - class [mscorlib]System.IDisposable V_3) + class NAnt.VSNet.ProjectBase V_2, + class NAnt.VSNet.ConfigurationBase V_3, + class [mscorlib]System.Collections.IEnumerator V_4, + string V_5, + class [mscorlib]System.IDisposable V_6, + class [mscorlib]System.IDisposable V_7, + class [mscorlib]System.Collections.Hashtable V_8, + valuetype [mscorlib]System.Collections.DictionaryEntry V_9, + class [mscorlib]System.Collections.IDictionaryEnumerator V_10, + string V_11, + string V_12, + class [mscorlib]System.IDisposable V_13, + class NAnt.VSNet.ProjectEntry V_14, + class NAnt.VSNet.ProjectEntryEnumerator V_15, + class NAnt.VSNet.ProjectBase V_16, + class NAnt.VSNet.ConfigurationBase V_17, + class NAnt.VSNet.ReferenceBase V_18, + class [mscorlib]System.Collections.IEnumerator V_19, + class NAnt.VSNet.ProjectReferenceBase V_20, + string V_21, + string V_22, + class NAnt.VSNet.ProjectEntry V_23, + class [mscorlib]System.IDisposable V_24, + class [mscorlib]System.IDisposable V_25) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() - IL_0008: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() - IL_000d: stloc.1 - .try { // 0 - IL_000e: br IL_0040 + IL_0001: ldarg.0 + IL_0002: ldc.i4 2000 + IL_0007: ldstr "Gathering additional dependencies..." + IL_000c: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0018: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() + IL_001d: stloc.1 + .try { // 1 + IL_001e: br IL_00b2 - IL_0013: ldloc.1 - IL_0014: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() - IL_0021: ldarg.1 - IL_0022: ldc.i4.1 - IL_0023: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0028: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) - IL_002d: brtrue IL_003f + IL_0023: ldloc.1 + IL_0024: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() + IL_0029: stloc.0 + IL_002a: nop + IL_002b: ldloc.0 + IL_002c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0031: stloc.2 + IL_0032: ldloc.2 + IL_0033: brtrue IL_003e - IL_0032: nop - IL_0033: ldloc.0 - IL_0034: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() - IL_0039: stloc.2 - IL_003a: leave IL_006f + IL_0038: nop + IL_0039: leave IL_00b2 - IL_003f: nop - IL_0040: ldloc.1 - IL_0041: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() - IL_0046: brtrue IL_0013 + IL_003e: nop + IL_003f: ldloc.2 + IL_0040: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() + IL_0045: callvirt instance class [mscorlib]System.Collections.ICollection class NAnt.VSNet.ConfigurationDictionary::get_Values() + IL_004a: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_004f: stloc.s 4 + .try { // 0 + IL_0051: br IL_0089 - IL_004b: leave IL_0064 + IL_0056: ldloc.s 4 + IL_0058: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_005d: castclass NAnt.VSNet.ConfigurationBase + IL_0062: stloc.3 + IL_0063: nop + IL_0064: ldloc.3 + IL_0065: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() + IL_006a: stloc.s 5 + IL_006c: ldloc.s 5 + IL_006e: brfalse IL_0088 - } // end .try 0 - finally { // 0 - IL_0050: ldloc.1 - IL_0051: isinst [mscorlib]System.IDisposable - IL_0056: dup - IL_0057: stloc.3 - IL_0058: brfalse IL_0063 + IL_0073: nop + IL_0074: ldarg.0 + IL_0075: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles + IL_007a: ldloc.s 5 + IL_007c: ldloc.2 + IL_007d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0082: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0087: nop + IL_0088: nop + IL_0089: ldloc.s 4 + IL_008b: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0090: brtrue IL_0056 - IL_005d: ldloc.3 - IL_005e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0063: endfinally - } // end handler 0 - IL_0064: ldsfld string [mscorlib]System.String::Empty - IL_0069: stloc.2 - IL_006a: br IL_006f + IL_0095: leave IL_00b1 - IL_006f: ldloc.2 - IL_0070: ret - } // end of method SolutionBase::FindGuidFromPath + } // end .try 0 + finally { // 0 + IL_009a: ldloc.s 4 + IL_009c: isinst [mscorlib]System.IDisposable + IL_00a1: dup + IL_00a2: stloc.s 6 + IL_00a4: brfalse IL_00b0 - .property instance class [mscorlib]System.IO.FileInfo File () - { - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.SolutionBase::get_File () - } - .property instance class [System]System.CodeDom.Compiler.TempFileCollection TemporaryFiles () - { - .get instance default class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::get_TemporaryFiles () - } - .property instance class NAnt.VSNet.Types.WebMapCollection WebMaps () - { - .get instance default class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::get_WebMaps () - } - .property instance class NAnt.VSNet.ProjectEntryCollection ProjectEntries () - { - .get instance default class NAnt.VSNet.ProjectEntryCollection NAnt.VSNet.SolutionBase::get_ProjectEntries () - } - } // end of class NAnt.VSNet.SolutionBase -} + IL_00a9: ldloc.s 6 + IL_00ab: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b0: endfinally + } // end handler 0 + IL_00b1: nop + IL_00b2: ldloc.1 + IL_00b3: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() + IL_00b8: brtrue IL_0023 -.namespace NAnt.VSNet -{ - .class public auto ansi beforefieldinit CSharpProject - extends NAnt.VSNet.ManagedProjectBase - { + IL_00bd: leave IL_00d8 - // method line 677 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0x14308 - // Code size 21 (0x15) - .maxstack 9 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: ldarg.s 6 - IL_000a: ldarg.s 7 - IL_000c: ldarg.s 8 - IL_000e: call instance void class NAnt.VSNet.ManagedProjectBase::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0013: nop - IL_0014: ret - } // end of method CSharpProject::.ctor + } // end .try 1 + finally { // 1 + IL_00c2: ldloc.1 + IL_00c3: isinst [mscorlib]System.IDisposable + IL_00c8: dup + IL_00c9: stloc.s 7 + IL_00cb: brfalse IL_00d7 - // method line 678 - .method public virtual hidebysig specialname - instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed - { - // Method begins at RVA 0x1432c - // Code size 10 (0xa) - .maxstack 1 - .locals init ( - valuetype NAnt.VSNet.ProjectType V_0) - IL_0000: nop - IL_0001: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_00d0: ldloc.s 7 + IL_00d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00d7: endfinally + } // end handler 1 + IL_00d8: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_00dd: stloc.s 8 + IL_00df: nop + IL_00e0: ldarg.0 + IL_00e1: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles + IL_00e6: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_00eb: stloc.s 10 + .try { // 2 + IL_00ed: br IL_014c - IL_0008: ldloc.0 - IL_0009: ret - } // end of method CSharpProject::get_Type + IL_00f2: ldloc.s 10 + IL_00f4: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_00f9: unbox.any [mscorlib]System.Collections.DictionaryEntry + IL_00fe: stloc.s 9 + IL_0100: nop + IL_0101: ldloca.s 9 + IL_0103: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Key() + IL_0108: castclass [mscorlib]System.String + IL_010d: stloc.s 11 + IL_010f: ldloc.s 11 + IL_0111: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_0116: stloc.s 12 + IL_0118: ldarg.0 + IL_0119: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_011e: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.VSNet.Tasks.SolutionTask::get_AssemblyFolderList() + IL_0123: ldloc.s 12 + IL_0125: callvirt instance bool class [System]System.Collections.Specialized.StringCollection::Contains(string) + IL_012a: brfalse IL_014b - // method line 679 - .method family virtual hidebysig - instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0x14342 - // Code size 46 (0x2e) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool class NAnt.VSNet.CSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) - IL_0007: brtrue IL_002d + IL_012f: nop + IL_0130: ldloc.s 8 + IL_0132: ldloc.s 11 + IL_0134: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0139: ldloca.s 9 + IL_013b: call instance object valuetype [mscorlib]System.Collections.DictionaryEntry::get_Value() + IL_0140: castclass [mscorlib]System.String + IL_0145: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_014a: nop + IL_014b: nop + IL_014c: ldloc.s 10 + IL_014e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0153: brtrue IL_00f2 - IL_000c: nop - IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0012: ldstr "Project '{0}' is not a valid C# project." - IL_0017: ldarg.0 - IL_0018: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() - IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0022: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0027: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_002c: throw - IL_002d: ret - } // end of method CSharpProject::VerifyProjectXml + IL_0158: leave IL_0174 - // method line 680 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0x14374 - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - valuetype NAnt.VSNet.ProductVersion V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "./CSHARP" - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_000c: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) - IL_0011: stloc.0 - IL_0012: br IL_0017 + } // end .try 2 + finally { // 2 + IL_015d: ldloc.s 10 + IL_015f: isinst [mscorlib]System.IDisposable + IL_0164: dup + IL_0165: stloc.s 13 + IL_0167: brfalse IL_0173 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CSharpProject::DetermineProductVersion + IL_016c: ldloc.s 13 + IL_016e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0173: endfinally + } // end handler 2 + IL_0174: nop + IL_0175: ldarg.0 + IL_0176: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_017b: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() + IL_0180: stloc.s 15 + .try { // 4 + IL_0182: br IL_02d9 - // method line 681 - .method family virtual hidebysig - instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed - { - // Method begins at RVA 0x1439c - // Code size 137 (0x89) - .maxstack 4 - .locals init ( - class [System]System.Diagnostics.ProcessStartInfo V_0, - class [System]System.Diagnostics.ProcessStartInfo V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0011: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_0016: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001b: ldstr "csc.exe" - IL_0020: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0025: ldstr "/noconfig @\"" - IL_002a: ldarg.2 - IL_002b: ldstr "\"" - IL_0030: call string string::Concat(string, string, string) - IL_0035: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string, string) - IL_003a: stloc.0 - IL_003b: ldarg.0 - IL_003c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0041: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0046: brfalse IL_006d + IL_0187: ldloc.s 15 + IL_0189: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() + IL_018e: stloc.s 14 + IL_0190: nop + IL_0191: ldloc.s 14 + IL_0193: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0198: stloc.s 16 + IL_019a: ldloc.s 16 + IL_019c: brtrue IL_01a7 - IL_004b: nop - IL_004c: ldloc.0 - IL_004d: ldarg.0 - IL_004e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() - IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() - IL_0058: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005d: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) - IL_0062: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_0067: nop - IL_0068: br IL_0080 + IL_01a1: nop + IL_01a2: leave IL_02d9 - IL_006d: nop - IL_006e: ldloc.0 - IL_006f: ldarg.0 - IL_0070: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0075: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_007a: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) - IL_007f: nop - IL_0080: ldloc.0 - IL_0081: stloc.1 - IL_0082: br IL_0087 + IL_01a7: ldloc.s 16 + IL_01a9: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_01ae: ldarg.1 + IL_01af: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_01b4: stloc.s 17 + IL_01b6: ldloc.s 17 + IL_01b8: brtrue IL_01c3 - IL_0087: ldloc.1 - IL_0088: ret - } // end of method CSharpProject::GetProcessStartInfo + IL_01bd: nop + IL_01be: leave IL_02d9 - // method line 682 - .method family virtual hidebysig specialname - instance default string get_FileExtension () cil managed - { - // Method begins at RVA 0x14434 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldstr ".cs" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_01c3: ldloc.s 17 + IL_01c5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_01ca: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_01cf: brtrue IL_01ee - IL_000c: ldloc.0 - IL_000d: ret - } // end of method CSharpProject::get_FileExtension + IL_01d4: nop + IL_01d5: ldloc.s 17 + IL_01d7: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_01dc: callvirt instance void class [mscorlib]System.IO.DirectoryInfo::Create() + IL_01e1: ldloc.s 17 + IL_01e3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ConfigurationBase::get_OutputDir() + IL_01e8: callvirt instance void class [mscorlib]System.IO.FileSystemInfo::Refresh() + IL_01ed: nop + IL_01ee: nop + IL_01ef: ldloc.s 16 + IL_01f1: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_01f6: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_01fb: stloc.s 19 + .try { // 3 + IL_01fd: br IL_02b0 - // method line 683 - .method family virtual hidebysig - instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0x14450 - // Code size 25 (0x19) - .maxstack 2 - .locals init ( - valuetype NAnt.VSNet.ProjectLocation V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "./CSHARP" - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_000c: call valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::GetProjectLocation(class [System.Xml]System.Xml.XmlNode) - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0202: ldloc.s 19 + IL_0204: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0209: castclass NAnt.VSNet.ReferenceBase + IL_020e: stloc.s 18 + IL_0210: nop + IL_0211: ldloc.s 18 + IL_0213: isinst NAnt.VSNet.ProjectReferenceBase + IL_0218: stloc.s 20 + IL_021a: ldloc.s 20 + IL_021c: brfalse IL_023c - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CSharpProject::DetermineProjectLocation + IL_0221: nop + IL_0222: ldloc.s 16 + IL_0224: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() + IL_0229: ldloc.s 20 + IL_022b: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0230: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_0235: pop + IL_0236: nop + IL_0237: br IL_02af - // method line 684 - .method public static hidebysig - default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed - { - // Method begins at RVA 0x14478 - // Code size 102 (0x66) - .maxstack 2 - .locals init ( - bool V_0, - class [System.Xml]System.Xml.XmlNode V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_000f + IL_023c: nop + IL_023d: ldloc.s 18 + IL_023f: ldarg.1 + IL_0240: callvirt instance string class NAnt.VSNet.ReferenceBase::GetPrimaryOutputFile(class NAnt.VSNet.Configuration) + IL_0245: stloc.s 21 + IL_0247: ldloc.s 21 + IL_0249: brtrue IL_0254 - IL_0007: nop - IL_0008: ldc.i4.0 - IL_0009: stloc.0 - IL_000a: br IL_0064 + IL_024e: nop + IL_024f: leave IL_02b0 - IL_000f: ldarg.0 - IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_0015: ldstr "VisualStudioProject" - IL_001a: call bool string::op_Inequality(string, string) - IL_001f: brfalse IL_002c + IL_0254: ldloc.s 8 + IL_0256: ldloc.s 21 + IL_0258: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_025d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0262: castclass [mscorlib]System.String + IL_0267: stloc.s 22 + IL_0269: ldloc.s 22 + IL_026b: brtrue IL_0276 - IL_0024: nop - IL_0025: ldc.i4.0 - IL_0026: stloc.0 - IL_0027: br IL_0064 + IL_0270: nop + IL_0271: leave IL_02b0 - IL_002c: ldarg.0 - IL_002d: ldstr "./CSHARP" - IL_0032: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0037: stloc.1 - IL_0038: ldloc.1 - IL_0039: brtrue IL_0046 + IL_0276: ldarg.0 + IL_0277: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_027c: ldloc.s 22 + IL_027e: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_0283: stloc.s 23 + IL_0285: ldloc.s 23 + IL_0287: brfalse IL_02ae - IL_003e: nop - IL_003f: ldc.i4.0 - IL_0040: stloc.0 - IL_0041: br IL_0064 + IL_028c: ldloc.s 23 + IL_028e: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0293: brfalse IL_02ae - .try { // 0 - IL_0046: nop - IL_0047: ldloc.1 - IL_0048: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) - IL_004d: pop - IL_004e: nop - IL_004f: leave IL_005d + IL_0298: nop + IL_0299: ldloc.s 16 + IL_029b: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() + IL_02a0: ldloc.s 23 + IL_02a2: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_02a7: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_02ac: pop + IL_02ad: nop + IL_02ae: nop + IL_02af: nop + IL_02b0: ldloc.s 19 + IL_02b2: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02b7: brtrue IL_0202 - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0054: pop - IL_0055: nop - IL_0056: ldc.i4.0 - IL_0057: stloc.0 - IL_0058: leave IL_0064 + IL_02bc: leave IL_02d8 - } // end handler 0 - IL_005d: ldc.i4.1 - IL_005e: stloc.0 - IL_005f: br IL_0064 + } // end .try 3 + finally { // 3 + IL_02c1: ldloc.s 19 + IL_02c3: isinst [mscorlib]System.IDisposable + IL_02c8: dup + IL_02c9: stloc.s 24 + IL_02cb: brfalse IL_02d7 - IL_0064: ldloc.0 - IL_0065: ret - } // end of method CSharpProject::IsSupported + IL_02d0: ldloc.s 24 + IL_02d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02d7: endfinally + } // end handler 3 + IL_02d8: nop + IL_02d9: ldloc.s 15 + IL_02db: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() + IL_02e0: brtrue IL_0187 - .property instance valuetype NAnt.VSNet.ProjectType Type () - { - .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.CSharpProject::get_Type () - } - .property instance string FileExtension () - { - .get instance default string NAnt.VSNet.CSharpProject::get_FileExtension () - } - } // end of class NAnt.VSNet.CSharpProject -} + IL_02e5: leave IL_0301 -.namespace NAnt.VSNet -{ - .class private auto ansi beforefieldinit JSharpProjectProvider - extends [mscorlib]System.Object - implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + } // end .try 4 + finally { // 4 + IL_02ea: ldloc.s 15 + IL_02ec: isinst [mscorlib]System.IDisposable + IL_02f1: dup + IL_02f2: stloc.s 25 + IL_02f4: brfalse IL_0300 - // method line 685 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x144fc - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method JSharpProjectProvider::.ctor + IL_02f9: ldloc.s 25 + IL_02fb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0300: endfinally + } // end handler 4 + IL_0301: ret + } // end of method SolutionBase::GetDependenciesFromProjects - // method line 686 - .method public final virtual hidebysig newslot - instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + // method line 707 + .method family hidebysig + instance default string TranslateProjectPath (string solutionDir, string projectPath) cil managed { - // Method begins at RVA 0x14504 - // Code size 52 (0x34) - .maxstack 2 + // Method begins at RVA 0x3b54 + // Code size 269 (0x10d) + .maxstack 7 .locals init ( - int32 V_0) + string V_0, + string V_1, + class [System]System.Uri V_2, + string V_3) IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldstr ".vjsproj" - IL_0007: call bool string::op_Equality(string, string) - IL_000c: brfalse IL_0018 - - IL_0011: ldc.i4.5 - IL_0012: stloc.0 - IL_0013: br IL_0032 + IL_0002: brtrue IL_0013 - IL_0018: ldarg.2 - IL_0019: call bool class NAnt.VSNet.JSharpProject::IsSupported(class [System.Xml]System.Xml.XmlElement) - IL_001e: brfalse IL_002b + IL_0007: nop + IL_0008: ldstr "solutionDir" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: brtrue IL_0025 - IL_0023: ldc.i4.s 0x0a - IL_0025: stloc.0 - IL_0026: br IL_0032 + IL_0019: nop + IL_001a: ldstr "projectPath" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldnull + IL_0026: stloc.0 + IL_0027: ldarg.0 + IL_0028: call instance class NAnt.VSNet.Types.WebMapCollection class NAnt.VSNet.SolutionBase::get_WebMaps() + IL_002d: ldarg.2 + IL_002e: callvirt instance string class NAnt.VSNet.Types.WebMapCollection::FindBestMatch(string) + IL_0033: stloc.1 + IL_0034: ldloc.1 + IL_0035: brfalse IL_0061 - IL_002b: ldc.i4.0 - IL_002c: stloc.0 - IL_002d: br IL_0032 + IL_003a: nop + IL_003b: ldarg.0 + IL_003c: ldc.i4 1000 + IL_0041: ldstr "Found webmap match '{0}' for '{1}." + IL_0046: ldc.i4.2 + IL_0047: newarr [mscorlib]System.Object + IL_004c: dup + IL_004d: ldc.i4.0 + IL_004e: ldloc.1 + IL_004f: stelem.ref + IL_0050: dup + IL_0051: ldc.i4.1 + IL_0052: ldarg.2 + IL_0053: stelem.ref + IL_0054: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0059: ldloc.1 + IL_005a: stloc.0 + IL_005b: nop + IL_005c: br IL_0065 - IL_0032: ldloc.0 - IL_0033: ret - } // end of method JSharpProjectProvider::IsSupported + IL_0061: nop + IL_0062: ldarg.2 + IL_0063: stloc.0 + IL_0064: nop + .try { // 0 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: ldloc.0 + IL_0069: ldc.i4.1 + IL_006a: ldloca.s 2 + IL_006c: call bool class [System]System.Uri::TryCreate(string, valuetype [System]System.UriKind, [out] class [System]System.Uri&) + IL_0071: pop + IL_0072: ldloc.2 + IL_0073: ldnull + IL_0074: call bool class [System]System.Uri::op_Equality(class [System]System.Uri, class [System]System.Uri) + IL_0079: brfalse IL_0092 - // method line 687 - .method public final virtual hidebysig newslot - instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0x14544 - // Code size 27 (0x1b) - .maxstack 8 - .locals init ( - class NAnt.VSNet.ProjectBase V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: ldarg.s 6 - IL_000a: ldarg.s 7 - IL_000c: ldarg.s 8 - IL_000e: newobj instance void class NAnt.VSNet.JSharpProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_007e: nop + IL_007f: ldarg.1 + IL_0080: ldloc.0 + IL_0081: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0086: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_008b: stloc.0 + IL_008c: nop + IL_008d: br IL_00e9 - IL_0019: ldloc.0 - IL_001a: ret - } // end of method JSharpProjectProvider::GetInstance + IL_0092: ldloc.2 + IL_0093: callvirt instance string class [System]System.Uri::get_Scheme() + IL_0098: ldsfld string [System]System.Uri::UriSchemeFile + IL_009d: call bool string::op_Equality(string, string) + IL_00a2: brfalse IL_00c0 - // method line 688 - .method public final virtual hidebysig newslot - instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed - { - // Method begins at RVA 0x1456c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlElement) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00a7: nop + IL_00a8: ldarg.1 + IL_00a9: ldloc.2 + IL_00aa: callvirt instance string class [System]System.Uri::get_LocalPath() + IL_00af: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00b4: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_00b9: stloc.0 + IL_00ba: nop + IL_00bb: br IL_00e9 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method JSharpProjectProvider::LoadGuid + IL_00c0: nop + IL_00c1: ldarg.0 + IL_00c2: ldfld class NAnt.VSNet.Tasks.SolutionTask NAnt.VSNet.SolutionBase::_solutionTask + IL_00c7: callvirt instance bool class NAnt.VSNet.Tasks.SolutionTask::get_EnableWebDav() + IL_00cc: brtrue IL_00e8 - } // end of class NAnt.VSNet.JSharpProjectProvider -} + IL_00d1: nop + IL_00d2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00d7: ldstr "Cannot build web project '{0}'. Please use to map the given URL to a project-relative path, or specify enablewebdav=\"true\" on the task element to use WebDAV." + IL_00dc: ldloc.0 + IL_00dd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00e2: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_00e7: throw + IL_00e8: nop + IL_00e9: nop + IL_00ea: leave IL_0104 -.namespace NAnt.VSNet -{ - .class private auto ansi beforefieldinit VBProjectProvider - extends [mscorlib]System.Object - implements NAnt.VSNet.Extensibility.IProjectBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { + } // end .try 0 + catch class [System]System.UriFormatException { // 0 + IL_00ef: pop + IL_00f0: nop + IL_00f1: ldarg.1 + IL_00f2: ldloc.0 + IL_00f3: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00f8: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_00fd: stloc.0 + IL_00fe: nop + IL_00ff: leave IL_0104 - // method line 689 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x14587 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method VBProjectProvider::.ctor + } // end handler 0 + IL_0104: ldloc.0 + IL_0105: stloc.3 + IL_0106: br IL_010b - // method line 690 - .method public final virtual hidebysig newslot - instance default int32 IsSupported (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + IL_010b: ldloc.3 + IL_010c: ret + } // end of method SolutionBase::TranslateProjectPath + + // method line 708 + .method family hidebysig + instance default bool FixProjectReferences (class NAnt.VSNet.ProjectBase project, class NAnt.VSNet.Configuration solutionConfiguration, class [mscorlib]System.Collections.Hashtable builtProjects, class [mscorlib]System.Collections.Hashtable failedProjects) cil managed { - // Method begins at RVA 0x14590 - // Code size 52 (0x34) - .maxstack 2 + // Method begins at RVA 0x3c80 + // Code size 685 (0x2ad) + .maxstack 7 .locals init ( - int32 V_0) + bool V_0, + class NAnt.VSNet.ConfigurationBase V_1, + class [mscorlib]System.Collections.ArrayList V_2, + bool V_3, + class NAnt.VSNet.ReferenceBase V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class NAnt.VSNet.AssemblyReferenceBase V_6, + class NAnt.VSNet.ProjectBase V_7, + string V_8, + string V_9, + class NAnt.VSNet.ProjectEntry V_10, + class NAnt.VSNet.ProjectEntryEnumerator V_11, + class NAnt.VSNet.ManagedProjectBase V_12, + class [mscorlib]System.IDisposable V_13, + class NAnt.VSNet.ProjectReferenceBase V_14, + class [mscorlib]System.IDisposable V_15) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr ".vbproj" - IL_0007: call bool string::op_Equality(string, string) - IL_000c: brfalse IL_0018 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.3 + IL_0004: call instance bool class NAnt.VSNet.SolutionBase::HasDirtyProjectDependency(class NAnt.VSNet.ProjectBase, class [mscorlib]System.Collections.Hashtable) + IL_0009: brfalse IL_0016 - IL_0011: ldc.i4.5 - IL_0012: stloc.0 - IL_0013: br IL_0032 + IL_000e: nop + IL_000f: ldc.i4.0 + IL_0010: stloc.0 + IL_0011: br IL_02ab - IL_0018: ldarg.2 - IL_0019: call bool class NAnt.VSNet.VBProject::IsSupported(class [System.Xml]System.Xml.XmlElement) - IL_001e: brfalse IL_002b + IL_0016: ldarg.1 + IL_0017: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_001c: ldarg.2 + IL_001d: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_0022: stloc.1 + IL_0023: ldloc.1 + IL_0024: brtrue IL_0031 - IL_0023: ldc.i4.s 0x0a - IL_0025: stloc.0 - IL_0026: br IL_0032 + IL_0029: nop + IL_002a: ldc.i4.0 + IL_002b: stloc.0 + IL_002c: br IL_02ab - IL_002b: ldc.i4.0 - IL_002c: stloc.0 - IL_002d: br IL_0032 + IL_0031: ldarg.0 + IL_0032: ldc.i4 2000 + IL_0037: ldstr "Fixing up references..." + IL_003c: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_0041: ldarg.1 + IL_0042: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_0047: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() + IL_004c: castclass [mscorlib]System.Collections.ArrayList + IL_0051: stloc.2 + IL_0052: ldc.i4.0 + IL_0053: stloc.3 + IL_0054: nop + IL_0055: ldloc.2 + IL_0056: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_005b: stloc.s 5 + .try { // 1 + IL_005d: br IL_027c - IL_0032: ldloc.0 - IL_0033: ret - } // end of method VBProjectProvider::IsSupported + IL_0062: ldloc.s 5 + IL_0064: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0069: castclass NAnt.VSNet.ReferenceBase + IL_006e: stloc.s 4 + IL_0070: nop + IL_0071: ldloc.s 4 + IL_0073: isinst NAnt.VSNet.AssemblyReferenceBase + IL_0078: stloc.s 6 + IL_007a: ldloc.s 6 + IL_007c: brtrue IL_0087 - // method line 691 - .method public final virtual hidebysig newslot - instance default class NAnt.VSNet.ProjectBase GetInstance (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed - { - // Method begins at RVA 0x145d0 - // Code size 27 (0x1b) - .maxstack 8 - .locals init ( - class NAnt.VSNet.ProjectBase V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: ldarg.s 6 - IL_000a: ldarg.s 7 - IL_000c: ldarg.s 8 - IL_000e: newobj instance void class NAnt.VSNet.VBProject::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_0081: nop + IL_0082: leave IL_027c - IL_0019: ldloc.0 - IL_001a: ret - } // end of method VBProjectProvider::GetInstance + IL_0087: ldnull + IL_0088: stloc.s 7 + IL_008a: ldloc.s 6 + IL_008c: ldarg.2 + IL_008d: callvirt instance string class NAnt.VSNet.ReferenceBase::GetPrimaryOutputFile(class NAnt.VSNet.Configuration) + IL_0092: stloc.s 8 + IL_0094: ldloc.s 8 + IL_0096: brtrue IL_00a1 - // method line 692 - .method public final virtual hidebysig newslot - instance default string LoadGuid (class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed - { - // Method begins at RVA 0x145f8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call string class NAnt.VSNet.ManagedProjectBase::LoadGuid(class [System.Xml]System.Xml.XmlElement) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_009b: nop + IL_009c: leave IL_027c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VBProjectProvider::LoadGuid + IL_00a1: ldarg.0 + IL_00a2: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles + IL_00a7: ldloc.s 8 + IL_00a9: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_00ae: brfalse IL_00de - } // end of class NAnt.VSNet.VBProjectProvider -} + IL_00b3: nop + IL_00b4: ldarg.0 + IL_00b5: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_00ba: ldarg.0 + IL_00bb: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles + IL_00c0: ldloc.s 8 + IL_00c2: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_00c7: castclass [mscorlib]System.String + IL_00cc: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_00d1: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_00d6: stloc.s 7 + IL_00d8: nop + IL_00d9: br IL_013c -.namespace NAnt.VSNet -{ - .class private auto ansi sealed beforefieldinit ProjectFactory - extends [mscorlib]System.Object - { - .field private initonly class [mscorlib]System.Collections.Hashtable _cachedProjects - .field private initonly class [mscorlib]System.Collections.Hashtable _cachedProjectGuids - .field private initonly class [mscorlib]System.Collections.Hashtable _cachedProjectXml - .field private initonly class [mscorlib]System.Collections.ArrayList _projectprovs + IL_00de: ldarg.0 + IL_00df: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir + IL_00e4: brfalse IL_013c - // method line 693 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VSNet.Tasks.SolutionTask solutionTask) cil managed - { - // Method begins at RVA 0x14613 - // Code size 52 (0x34) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectFactory::_projectprovs - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0018: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects - IL_001d: ldarg.0 - IL_001e: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0023: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectGuids - IL_0028: ldarg.0 - IL_0029: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_002e: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml - IL_0033: ret - } // end of method ProjectFactory::.ctor + IL_00e9: nop + IL_00ea: ldarg.0 + IL_00eb: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.SolutionBase::_outputDir + IL_00f0: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00f5: ldloc.s 8 + IL_00f7: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_00fc: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0101: stloc.s 9 + IL_0103: ldarg.0 + IL_0104: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles + IL_0109: ldloc.s 9 + IL_010b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0110: brfalse IL_013b - // method line 694 - .method public static hidebysig - default class NAnt.VSNet.ProjectFactory Create (class NAnt.VSNet.Tasks.SolutionTask solutionTask) cil managed - { - // Method begins at RVA 0x14648 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VSNet.ProjectFactory V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VSNet.ProjectFactory::'.ctor'(class NAnt.VSNet.Tasks.SolutionTask) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0115: nop + IL_0116: ldarg.0 + IL_0117: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_011c: ldarg.0 + IL_011d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.SolutionBase::_htOutputFiles + IL_0122: ldloc.s 9 + IL_0124: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0129: castclass [mscorlib]System.String + IL_012e: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryCollection::get_Item(string) + IL_0133: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0138: stloc.s 7 + IL_013a: nop + IL_013b: nop + IL_013c: ldloc.s 7 + IL_013e: brtrue IL_01d9 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ProjectFactory::Create + IL_0143: ldloc.s 8 + IL_0145: call bool class [mscorlib]System.IO.File::Exists(string) + IL_014a: brtrue IL_01d9 - // method line 695 - .method public static hidebysig - default bool IsUrl (string fileName) cil managed - { - // Method begins at RVA 0x14664 - // Code size 66 (0x42) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldsfld string [System]System.Uri::UriSchemeFile - IL_0007: callvirt instance bool string::StartsWith(string) - IL_000c: brtrue IL_0031 + IL_014f: nop + IL_0150: nop + IL_0151: ldarg.0 + IL_0152: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0157: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() + IL_015c: stloc.s 11 + .try { // 0 + IL_015e: br IL_01b0 - IL_0011: ldarg.0 - IL_0012: ldsfld string [System]System.Uri::UriSchemeHttp - IL_0017: callvirt instance bool string::StartsWith(string) - IL_001c: brtrue IL_0031 + IL_0163: ldloc.s 11 + IL_0165: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() + IL_016a: stloc.s 10 + IL_016c: nop + IL_016d: ldloc.s 10 + IL_016f: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0174: isinst NAnt.VSNet.ManagedProjectBase + IL_0179: stloc.s 12 + IL_017b: ldloc.s 12 + IL_017d: brtrue IL_0188 - IL_0021: ldarg.0 - IL_0022: ldsfld string [System]System.Uri::UriSchemeHttps - IL_0027: callvirt instance bool string::StartsWith(string) - IL_002c: brfalse IL_0039 + IL_0182: nop + IL_0183: leave IL_01b0 - IL_0031: nop - IL_0032: ldc.i4.1 - IL_0033: stloc.0 - IL_0034: br IL_0040 + IL_0188: ldloc.s 6 + IL_018a: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_018f: ldloc.s 12 + IL_0191: callvirt instance class NAnt.VSNet.ProjectSettings class NAnt.VSNet.ManagedProjectBase::get_ProjectSettings() + IL_0196: callvirt instance string class NAnt.VSNet.ProjectSettings::get_AssemblyName() + IL_019b: call bool string::op_Equality(string, string) + IL_01a0: brfalse IL_01af - IL_0039: ldc.i4.0 - IL_003a: stloc.0 - IL_003b: br IL_0040 + IL_01a5: nop + IL_01a6: ldloc.s 12 + IL_01a8: stloc.s 7 + IL_01aa: leave IL_01bc - IL_0040: ldloc.0 - IL_0041: ret - } // end of method ProjectFactory::IsUrl + IL_01af: nop + IL_01b0: ldloc.s 11 + IL_01b2: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() + IL_01b7: brtrue IL_0163 - // method line 696 - .method public hidebysig - instance default class [System.Xml]System.Xml.XmlDocument LoadProjectXml (string path) cil managed - { - // Method begins at RVA 0x146b4 - // Code size 220 (0xdc) - .maxstack 3 - .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class [mscorlib]System.IO.StreamReader V_1, - class [System]System.Uri V_2, - class [mscorlib]System.IO.StreamReader V_3, - class [System.Xml]System.Xml.XmlDocument V_4) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_000d: brtrue IL_00c1 + IL_01bc: leave IL_01d8 - IL_0012: nop - IL_0013: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0018: stloc.0 - IL_0019: ldarg.1 - IL_001a: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) - IL_001f: brtrue IL_0053 + } // end .try 0 + finally { // 0 + IL_01c1: ldloc.s 11 + IL_01c3: isinst [mscorlib]System.IDisposable + IL_01c8: dup + IL_01c9: stloc.s 13 + IL_01cb: brfalse IL_01d7 - IL_0024: nop - IL_0025: ldarg.1 - IL_0026: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_002b: ldc.i4.1 - IL_002c: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_0031: stloc.1 - .try { // 0 - IL_0032: nop - IL_0033: ldloc.0 - IL_0034: ldloc.1 - IL_0035: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.TextReader) - IL_003a: nop - IL_003b: leave IL_004d + IL_01d0: ldloc.s 13 + IL_01d2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01d7: endfinally + } // end handler 0 + IL_01d8: nop + IL_01d9: ldloc.s 7 + IL_01db: brfalse IL_027b - } // end .try 0 - finally { // 0 - IL_0040: ldloc.1 - IL_0041: brfalse IL_004c + IL_01e0: nop + IL_01e1: ldloc.3 + IL_01e2: brtrue IL_01fe - IL_0046: ldloc.1 - IL_0047: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_004c: endfinally - } // end handler 0 - IL_004d: nop - IL_004e: br IL_00b3 + IL_01e7: ldarg.s 4 + IL_01e9: ldloc.s 7 + IL_01eb: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_01f0: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_01f5: brfalse IL_01fe + + IL_01fa: nop + IL_01fb: ldc.i4.1 + IL_01fc: stloc.3 + IL_01fd: nop + IL_01fe: ldloc.s 6 + IL_0200: ldloc.s 7 + IL_0202: callvirt instance class NAnt.VSNet.ProjectReferenceBase class NAnt.VSNet.AssemblyReferenceBase::CreateProjectReference(class NAnt.VSNet.ProjectBase) + IL_0207: stloc.s 14 + IL_0209: ldarg.0 + IL_020a: ldc.i4 2000 + IL_020f: ldstr "Converted assembly reference to project reference: {0} -> {1}" + IL_0214: ldc.i4.2 + IL_0215: newarr [mscorlib]System.Object + IL_021a: dup + IL_021b: ldc.i4.0 + IL_021c: ldloc.s 6 + IL_021e: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_0223: stelem.ref + IL_0224: dup + IL_0225: ldc.i4.1 + IL_0226: ldloc.s 14 + IL_0228: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() + IL_022d: stelem.ref + IL_022e: call instance void class NAnt.VSNet.SolutionBase::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0233: ldarg.1 + IL_0234: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_0239: ldloc.s 6 + IL_023b: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) + IL_0240: ldarg.1 + IL_0241: callvirt instance class [mscorlib]System.Collections.ArrayList class NAnt.VSNet.ProjectBase::get_References() + IL_0246: ldloc.s 14 + IL_0248: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_024d: pop + IL_024e: ldarg.3 + IL_024f: ldloc.s 14 + IL_0251: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0256: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_025b: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0260: brtrue IL_027a - IL_0053: nop - IL_0054: ldarg.1 - IL_0055: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_005a: stloc.2 - IL_005b: ldloc.2 - IL_005c: callvirt instance string class [System]System.Uri::get_Scheme() - IL_0061: ldsfld string [System]System.Uri::UriSchemeFile - IL_0066: call bool string::op_Equality(string, string) - IL_006b: brfalse IL_00a4 + IL_0265: nop + IL_0266: ldarg.1 + IL_0267: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() + IL_026c: ldloc.s 14 + IL_026e: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectReferenceBase::get_Project() + IL_0273: callvirt instance int32 class NAnt.VSNet.ProjectBaseCollection::Add(class NAnt.VSNet.ProjectBase) + IL_0278: pop + IL_0279: nop + IL_027a: nop + IL_027b: nop + IL_027c: ldloc.s 5 + IL_027e: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0283: brtrue IL_0062 - IL_0070: nop - IL_0071: ldloc.2 - IL_0072: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_0077: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_007c: ldc.i4.1 - IL_007d: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_0082: stloc.3 - .try { // 1 - IL_0083: nop - IL_0084: ldloc.0 - IL_0085: ldloc.3 - IL_0086: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.TextReader) - IL_008b: nop - IL_008c: leave IL_009e + IL_0288: leave IL_02a4 } // end .try 1 finally { // 1 - IL_0091: ldloc.3 - IL_0092: brfalse IL_009d + IL_028d: ldloc.s 5 + IL_028f: isinst [mscorlib]System.IDisposable + IL_0294: dup + IL_0295: stloc.s 15 + IL_0297: brfalse IL_02a3 - IL_0097: ldloc.3 - IL_0098: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009d: endfinally + IL_029c: ldloc.s 15 + IL_029e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02a3: endfinally } // end handler 1 - IL_009e: nop - IL_009f: br IL_00b2 - - IL_00a4: nop - IL_00a5: ldloc.0 - IL_00a6: ldarg.1 - IL_00a7: call string class NAnt.VSNet.WebDavClient::GetFileContentsStatic(string) - IL_00ac: callvirt instance void class [System.Xml]System.Xml.XmlDocument::LoadXml(string) - IL_00b1: nop - IL_00b2: nop - IL_00b3: ldarg.0 - IL_00b4: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml - IL_00b9: ldarg.1 - IL_00ba: ldloc.0 - IL_00bb: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00c0: nop - IL_00c1: ldarg.0 - IL_00c2: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectXml - IL_00c7: ldarg.1 - IL_00c8: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_00cd: castclass [System.Xml]System.Xml.XmlDocument - IL_00d2: stloc.s 4 - IL_00d4: br IL_00d9 + IL_02a4: ldloc.3 + IL_02a5: stloc.0 + IL_02a6: br IL_02ab - IL_00d9: ldloc.s 4 - IL_00db: ret - } // end of method ProjectFactory::LoadProjectXml + IL_02ab: ldloc.0 + IL_02ac: ret + } // end of method SolutionBase::FixProjectReferences - // method line 697 - .method public hidebysig - instance default class NAnt.VSNet.ProjectBase LoadProject (class NAnt.VSNet.SolutionBase solution, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver referencesResolver, class [mscorlib]System.IO.DirectoryInfo outputDir, string path) cil managed + // method line 709 + .method family hidebysig + instance default class [NAnt.Core]NAnt.Core.BuildException CreateProjectDoesNotExistException (string projectPath) cil managed { - // Method begins at RVA 0x147b8 - // Code size 79 (0x4f) - .maxstack 8 + // Method begins at RVA 0x3f70 + // Code size 30 (0x1e) + .maxstack 3 .locals init ( - class NAnt.VSNet.ProjectBase V_0, - class NAnt.VSNet.ProjectBase V_1) + class [NAnt.Core]NAnt.Core.BuildException V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects - IL_0007: ldarg.s 7 - IL_0009: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_000e: brtrue IL_0035 - - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldarg.1 - IL_0016: ldarg.2 - IL_0017: ldarg.3 - IL_0018: ldarg.s 4 - IL_001a: ldarg.s 5 - IL_001c: ldarg.s 6 - IL_001e: ldarg.s 7 - IL_0020: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectFactory::CreateProject(class NAnt.VSNet.SolutionBase, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo, string) - IL_0025: stloc.0 - IL_0026: ldarg.0 - IL_0027: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects - IL_002c: ldarg.s 7 - IL_002e: ldloc.0 - IL_002f: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0034: nop - IL_0035: ldarg.0 - IL_0036: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects - IL_003b: ldarg.s 7 - IL_003d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0042: castclass NAnt.VSNet.ProjectBase - IL_0047: stloc.1 - IL_0048: br IL_004d + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: ldstr "Project '{0}' does not exist." + IL_000b: ldarg.1 + IL_000c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0011: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0016: stloc.0 + IL_0017: br IL_001c - IL_004d: ldloc.1 - IL_004e: ret - } // end of method ProjectFactory::LoadProject + IL_001c: ldloc.0 + IL_001d: ret + } // end of method SolutionBase::CreateProjectDoesNotExistException - // method line 698 - .method public hidebysig - instance default string LoadGuid (string fileName) cil managed + // method line 710 + .method family virtual hidebysig newslot + instance default void SetProjectBuildConfiguration (class NAnt.VSNet.ProjectEntry projectEntry) cil managed { - // Method begins at RVA 0x14814 - // Code size 191 (0xbf) - .maxstack 4 + // Method begins at RVA 0x3f9c + // Code size 263 (0x107) + .maxstack 3 .locals init ( - string V_0, - string V_1, - string V_2, - class [System.Xml]System.Xml.XmlElement V_3, - class [System.Xml]System.Xml.XmlDocument V_4, - class [mscorlib]System.Exception V_5, - class NAnt.VSNet.Extensibility.IProjectBuildProvider V_6) + class NAnt.VSNet.ProjectBase V_0, + class NAnt.VSNet.ConfigurationDictionaryEntry V_1, + class NAnt.VSNet.ConfigurationDictionaryEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.VSNet.ProjectBase V_4, + class NAnt.VSNet.ConfigurationMapEntry V_5, + class NAnt.VSNet.ConfigurationMapEnumerator V_6, + class NAnt.VSNet.Configuration V_7, + class NAnt.VSNet.Configuration V_8, + class NAnt.VSNet.ConfigurationBase V_9, + class [mscorlib]System.IDisposable V_10) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) - IL_000d: brfalse IL_002f - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjects - IL_0019: ldarg.1 - IL_001a: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_001f: castclass NAnt.VSNet.ProjectBase - IL_0024: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() - IL_0029: stloc.0 - IL_002a: br IL_00bd + IL_0001: ldarg.1 + IL_0002: callvirt instance class NAnt.VSNet.ConfigurationMap class NAnt.VSNet.ProjectEntry::get_BuildConfigurations() + IL_0007: brtrue IL_007b - IL_002f: ldarg.1 - IL_0030: call string class NAnt.VSNet.ProjectFactory::GetProjectFileName(string) - IL_0035: stloc.1 - IL_0036: ldloc.1 - IL_0037: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_003c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0041: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0046: stloc.2 + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0013: stloc.0 + IL_0014: ldloc.0 + IL_0015: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_001a: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::Clear() + IL_001f: nop + IL_0020: ldloc.0 + IL_0021: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() + IL_0026: callvirt instance class NAnt.VSNet.ConfigurationDictionaryEnumerator class NAnt.VSNet.ConfigurationDictionary::GetEnumerator() + IL_002b: stloc.2 .try { // 0 - IL_0047: nop - IL_0048: ldarg.0 - IL_0049: ldarg.1 - IL_004a: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.VSNet.ProjectFactory::LoadProjectXml(string) - IL_004f: stloc.s 4 - IL_0051: ldloc.s 4 - IL_0053: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0058: stloc.3 - IL_0059: nop - IL_005a: leave IL_007f + IL_002c: br IL_0051 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_005f: stloc.s 5 - IL_0061: nop - IL_0062: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0067: ldstr "Error loading project '{0}'." - IL_006c: ldarg.1 - IL_006d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0072: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0077: ldloc.s 5 - IL_0079: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_007e: throw - } // end handler 0 - IL_007f: ldarg.0 - IL_0080: ldloc.2 - IL_0081: ldloc.3 - IL_0082: call instance class NAnt.VSNet.Extensibility.IProjectBuildProvider class NAnt.VSNet.ProjectFactory::FindProvider(string, class [System.Xml]System.Xml.XmlElement) - IL_0087: stloc.s 6 - IL_0089: ldloc.s 6 - IL_008b: brfalse IL_00a6 + IL_0031: ldloc.2 + IL_0032: callvirt instance class NAnt.VSNet.ConfigurationDictionaryEntry class NAnt.VSNet.ConfigurationDictionaryEnumerator::get_Current() + IL_0037: stloc.1 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_003f: ldloc.1 + IL_0040: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationDictionaryEntry::get_Name() + IL_0045: ldloc.1 + IL_0046: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionaryEntry::get_Config() + IL_004b: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) + IL_0050: nop + IL_0051: ldloc.2 + IL_0052: callvirt instance bool class NAnt.VSNet.ConfigurationDictionaryEnumerator::MoveNext() + IL_0057: brtrue IL_0031 - IL_0090: nop - IL_0091: ldarg.0 - IL_0092: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectGuids - IL_0097: ldarg.1 - IL_0098: ldloc.s 6 - IL_009a: ldloc.3 - IL_009b: callvirt instance string class NAnt.VSNet.Extensibility.IProjectBuildProvider::LoadGuid(class [System.Xml]System.Xml.XmlElement) - IL_00a0: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00a5: nop - IL_00a6: ldarg.0 - IL_00a7: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.ProjectFactory::_cachedProjectGuids - IL_00ac: ldarg.1 - IL_00ad: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_00b2: castclass [mscorlib]System.String - IL_00b7: stloc.0 - IL_00b8: br IL_00bd + IL_005c: leave IL_0075 - IL_00bd: ldloc.0 - IL_00be: ret - } // end of method ProjectFactory::LoadGuid + } // end .try 0 + finally { // 0 + IL_0061: ldloc.2 + IL_0062: isinst [mscorlib]System.IDisposable + IL_0067: dup + IL_0068: stloc.3 + IL_0069: brfalse IL_0074 - // method line 699 - .method public hidebysig - instance default void RegisterProvider (class NAnt.VSNet.Extensibility.IProjectBuildProvider provider) cil managed - { - // Method begins at RVA 0x148f0 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectFactory::_projectprovs - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_000d: pop - IL_000e: ret - } // end of method ProjectFactory::RegisterProvider + IL_006e: ldloc.3 + IL_006f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0074: endfinally + } // end handler 0 + IL_0075: nop + IL_0076: br IL_0106 - // method line 700 - .method private hidebysig - instance default class NAnt.VSNet.ProjectBase CreateProject (class NAnt.VSNet.SolutionBase solution, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver referencesResolver, class [mscorlib]System.IO.DirectoryInfo outputDir, string projectPath) cil managed - { - // Method begins at RVA 0x14900 - // Code size 181 (0xb5) - .maxstack 9 - .locals init ( - string V_0, - string V_1, - class NAnt.VSNet.ProjectBase V_2, - class [System.Xml]System.Xml.XmlElement V_3, - class [System.Xml]System.Xml.XmlDocument V_4, - class [mscorlib]System.Exception V_5, - class NAnt.VSNet.Extensibility.IProjectBuildProvider V_6) - IL_0000: nop - IL_0001: ldarg.s 7 - IL_0003: call string class NAnt.VSNet.ProjectFactory::GetProjectFileName(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_000f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0014: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_0019: stloc.1 - IL_001a: ldloc.1 - IL_001b: ldstr ".vdproj" - IL_0020: call bool string::op_Equality(string, string) - IL_0025: brfalse IL_0032 + IL_007b: nop + IL_007c: ldarg.1 + IL_007d: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectEntry::get_Project() + IL_0082: stloc.s 4 + IL_0084: nop + IL_0085: ldarg.1 + IL_0086: callvirt instance class NAnt.VSNet.ConfigurationMap class NAnt.VSNet.ProjectEntry::get_BuildConfigurations() + IL_008b: callvirt instance class NAnt.VSNet.ConfigurationMapEnumerator class NAnt.VSNet.ConfigurationMap::GetEnumerator() + IL_0090: stloc.s 6 + .try { // 1 + IL_0092: br IL_00dd - IL_002a: nop - IL_002b: ldnull - IL_002c: stloc.2 - IL_002d: br IL_00b3 + IL_0097: ldloc.s 6 + IL_0099: callvirt instance class NAnt.VSNet.ConfigurationMapEntry class NAnt.VSNet.ConfigurationMapEnumerator::get_Current() + IL_009e: stloc.s 5 + IL_00a0: nop + IL_00a1: ldloc.s 5 + IL_00a3: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEntry::get_Key() + IL_00a8: stloc.s 7 + IL_00aa: ldloc.s 5 + IL_00ac: callvirt instance class NAnt.VSNet.Configuration class NAnt.VSNet.ConfigurationMapEntry::get_Value() + IL_00b1: stloc.s 8 + IL_00b3: ldloc.s 4 + IL_00b5: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_ProjectConfigurations() + IL_00ba: ldloc.s 8 + IL_00bc: callvirt instance class NAnt.VSNet.ConfigurationBase class NAnt.VSNet.ConfigurationDictionary::get_Item(class NAnt.VSNet.Configuration) + IL_00c1: stloc.s 9 + IL_00c3: ldloc.s 9 + IL_00c5: brfalse IL_00dc - .try { // 0 - IL_0032: nop - IL_0033: ldarg.0 - IL_0034: ldarg.s 7 - IL_0036: call instance class [System.Xml]System.Xml.XmlDocument class NAnt.VSNet.ProjectFactory::LoadProjectXml(string) - IL_003b: stloc.s 4 - IL_003d: ldloc.s 4 - IL_003f: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0044: stloc.3 - IL_0045: nop - IL_0046: leave IL_006c + IL_00ca: nop + IL_00cb: ldloc.s 4 + IL_00cd: callvirt instance class NAnt.VSNet.ConfigurationDictionary class NAnt.VSNet.ProjectBase::get_BuildConfigurations() + IL_00d2: ldloc.s 7 + IL_00d4: ldloc.s 9 + IL_00d6: callvirt instance void class NAnt.VSNet.ConfigurationDictionary::set_Item(class NAnt.VSNet.Configuration, class NAnt.VSNet.ConfigurationBase) + IL_00db: nop + IL_00dc: nop + IL_00dd: ldloc.s 6 + IL_00df: callvirt instance bool class NAnt.VSNet.ConfigurationMapEnumerator::MoveNext() + IL_00e4: brtrue IL_0097 - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_004b: stloc.s 5 - IL_004d: nop - IL_004e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0053: ldstr "Error loading project '{0}'." - IL_0058: ldarg.s 7 - IL_005a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_005f: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0064: ldloc.s 5 - IL_0066: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_006b: throw - } // end handler 0 - IL_006c: ldarg.0 - IL_006d: ldloc.1 - IL_006e: ldloc.3 - IL_006f: call instance class NAnt.VSNet.Extensibility.IProjectBuildProvider class NAnt.VSNet.ProjectFactory::FindProvider(string, class [System.Xml]System.Xml.XmlElement) - IL_0074: stloc.s 6 - IL_0076: ldloc.s 6 - IL_0078: brfalse IL_0097 + IL_00e9: leave IL_0105 - IL_007d: nop - IL_007e: ldloc.s 6 - IL_0080: ldarg.1 - IL_0081: ldarg.s 7 - IL_0083: ldloc.3 - IL_0084: ldarg.2 - IL_0085: ldarg.3 - IL_0086: ldarg.s 4 - IL_0088: ldarg.s 5 - IL_008a: ldarg.s 6 - IL_008c: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.Extensibility.IProjectBuildProvider::GetInstance(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) - IL_0091: stloc.2 - IL_0092: br IL_00b3 + } // end .try 1 + finally { // 1 + IL_00ee: ldloc.s 6 + IL_00f0: isinst [mscorlib]System.IDisposable + IL_00f5: dup + IL_00f6: stloc.s 10 + IL_00f8: brfalse IL_0104 - IL_0097: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_009c: ldstr "Project '{0}' is invalid or not supported (at this time)." - IL_00a1: ldarg.s 7 - IL_00a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00a8: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_00ad: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_00b2: throw - IL_00b3: ldloc.2 - IL_00b4: ret - } // end of method ProjectFactory::CreateProject + IL_00fd: ldloc.s 10 + IL_00ff: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0104: endfinally + } // end handler 1 + IL_0105: nop + IL_0106: ret + } // end of method SolutionBase::SetProjectBuildConfiguration - // method line 701 + // method line 711 .method private hidebysig - instance default class NAnt.VSNet.Extensibility.IProjectBuildProvider FindProvider (string projectExt, class [System.Xml]System.Xml.XmlElement xmlDefinition) cil managed + instance default bool HasDirtyProjectDependency (class NAnt.VSNet.ProjectBase project, class [mscorlib]System.Collections.Hashtable builtProjects) cil managed { - // Method begins at RVA 0x149d4 - // Code size 111 (0x6f) - .maxstack 3 + // Method begins at RVA 0x40cc + // Code size 98 (0x62) + .maxstack 2 .locals init ( - int32 V_0, - class NAnt.VSNet.Extensibility.IProjectBuildProvider V_1, - class NAnt.VSNet.Extensibility.IProjectBuildProvider V_2, - class [mscorlib]System.Collections.IEnumerator V_3, - int32 V_4, - class [mscorlib]System.IDisposable V_5, - class NAnt.VSNet.Extensibility.IProjectBuildProvider V_6) + class NAnt.VSNet.ProjectBase V_0, + class NAnt.VSNet.ProjectBaseEnumerator V_1, + bool V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldnull - IL_0004: stloc.1 - IL_0005: nop - IL_0006: ldarg.0 - IL_0007: ldfld class [mscorlib]System.Collections.ArrayList NAnt.VSNet.ProjectFactory::_projectprovs - IL_000c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0011: stloc.3 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: callvirt instance class NAnt.VSNet.ProjectBaseCollection class NAnt.VSNet.ProjectBase::get_ProjectDependencies() + IL_0008: callvirt instance class NAnt.VSNet.ProjectBaseEnumerator class NAnt.VSNet.ProjectBaseCollection::GetEnumerator() + IL_000d: stloc.1 .try { // 0 - IL_0012: br IL_003e + IL_000e: br IL_0035 - IL_0017: ldloc.3 - IL_0018: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_001d: castclass NAnt.VSNet.Extensibility.IProjectBuildProvider - IL_0022: stloc.2 - IL_0023: nop - IL_0024: ldloc.2 - IL_0025: ldarg.1 - IL_0026: ldarg.2 - IL_0027: callvirt instance int32 class NAnt.VSNet.Extensibility.IProjectBuildProvider::IsSupported(string, class [System.Xml]System.Xml.XmlElement) - IL_002c: stloc.s 4 - IL_002e: ldloc.s 4 - IL_0030: ldloc.0 - IL_0031: ble IL_003d + IL_0013: ldloc.1 + IL_0014: callvirt instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ProjectBaseEnumerator::get_Current() + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldarg.2 + IL_001c: ldloc.0 + IL_001d: callvirt instance string class NAnt.VSNet.ProjectBase::get_Guid() + IL_0022: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0027: brtrue IL_0034 - IL_0036: nop - IL_0037: ldloc.s 4 - IL_0039: stloc.0 - IL_003a: ldloc.2 - IL_003b: stloc.1 - IL_003c: nop - IL_003d: nop - IL_003e: ldloc.3 - IL_003f: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0044: brtrue IL_0017 + IL_002c: nop + IL_002d: ldc.i4.1 + IL_002e: stloc.2 + IL_002f: leave IL_0060 + + IL_0034: nop + IL_0035: ldloc.1 + IL_0036: callvirt instance bool class NAnt.VSNet.ProjectBaseEnumerator::MoveNext() + IL_003b: brtrue IL_0013 - IL_0049: leave IL_0064 + IL_0040: leave IL_0059 } // end .try 0 finally { // 0 - IL_004e: ldloc.3 - IL_004f: isinst [mscorlib]System.IDisposable - IL_0054: dup - IL_0055: stloc.s 5 - IL_0057: brfalse IL_0063 + IL_0045: ldloc.1 + IL_0046: isinst [mscorlib]System.IDisposable + IL_004b: dup + IL_004c: stloc.3 + IL_004d: brfalse IL_0058 - IL_005c: ldloc.s 5 - IL_005e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0063: endfinally + IL_0052: ldloc.3 + IL_0053: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0058: endfinally } // end handler 0 - IL_0064: ldloc.1 - IL_0065: stloc.s 6 - IL_0067: br IL_006c + IL_0059: ldc.i4.0 + IL_005a: stloc.2 + IL_005b: br IL_0060 - IL_006c: ldloc.s 6 - IL_006e: ret - } // end of method ProjectFactory::FindProvider + IL_0060: ldloc.2 + IL_0061: ret + } // end of method SolutionBase::HasDirtyProjectDependency - // method line 702 - .method private static hidebysig - default string GetProjectFileName (string fileName) cil managed + // method line 712 + .method private hidebysig + instance default string FindGuidFromPath (string projectPath) cil managed { - // Method begins at RVA 0x14a60 - // Code size 53 (0x35) - .maxstack 1 + // Method begins at RVA 0x414c + // Code size 113 (0x71) + .maxstack 4 .locals init ( - string V_0, - class [System]System.Uri V_1, - string V_2) + class NAnt.VSNet.ProjectEntry V_0, + class NAnt.VSNet.ProjectEntryEnumerator V_1, + string V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call bool class NAnt.VSNet.ProjectFactory::IsUrl(string) - IL_0009: brfalse IL_0023 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class NAnt.VSNet.ProjectEntryCollection class NAnt.VSNet.SolutionBase::get_ProjectEntries() + IL_0008: callvirt instance class NAnt.VSNet.ProjectEntryEnumerator class NAnt.VSNet.ProjectEntryCollection::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_0040 - IL_000e: nop - IL_000f: ldarg.0 - IL_0010: newobj instance void class [System]System.Uri::'.ctor'(string) - IL_0015: stloc.1 - IL_0016: ldloc.1 - IL_0017: callvirt instance string class [System]System.Uri::get_LocalPath() - IL_001c: stloc.0 - IL_001d: nop - IL_001e: br IL_0027 + IL_0013: ldloc.1 + IL_0014: callvirt instance class NAnt.VSNet.ProjectEntry class NAnt.VSNet.ProjectEntryEnumerator::get_Current() + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Path() + IL_0021: ldarg.1 + IL_0022: ldc.i4.1 + IL_0023: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0028: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_002d: brtrue IL_003f - IL_0023: nop - IL_0024: ldarg.0 - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_002d: stloc.2 - IL_002e: br IL_0033 + IL_0032: nop + IL_0033: ldloc.0 + IL_0034: callvirt instance string class NAnt.VSNet.ProjectEntry::get_Guid() + IL_0039: stloc.2 + IL_003a: leave IL_006f - IL_0033: ldloc.2 - IL_0034: ret - } // end of method ProjectFactory::GetProjectFileName + IL_003f: nop + IL_0040: ldloc.1 + IL_0041: callvirt instance bool class NAnt.VSNet.ProjectEntryEnumerator::MoveNext() + IL_0046: brtrue IL_0013 - } // end of class NAnt.VSNet.ProjectFactory + IL_004b: leave IL_0064 + + } // end .try 0 + finally { // 0 + IL_0050: ldloc.1 + IL_0051: isinst [mscorlib]System.IDisposable + IL_0056: dup + IL_0057: stloc.3 + IL_0058: brfalse IL_0063 + + IL_005d: ldloc.3 + IL_005e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0063: endfinally + } // end handler 0 + IL_0064: ldsfld string [mscorlib]System.String::Empty + IL_0069: stloc.2 + IL_006a: br IL_006f + + IL_006f: ldloc.2 + IL_0070: ret + } // end of method SolutionBase::FindGuidFromPath + + .property instance class [mscorlib]System.IO.FileInfo File () + { + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VSNet.SolutionBase::get_File () + } + .property instance class [System]System.CodeDom.Compiler.TempFileCollection TemporaryFiles () + { + .get instance default class [System]System.CodeDom.Compiler.TempFileCollection NAnt.VSNet.SolutionBase::get_TemporaryFiles () + } + .property instance class NAnt.VSNet.Types.WebMapCollection WebMaps () + { + .get instance default class NAnt.VSNet.Types.WebMapCollection NAnt.VSNet.SolutionBase::get_WebMaps () + } + .property instance class NAnt.VSNet.ProjectEntryCollection ProjectEntries () + { + .get instance default class NAnt.VSNet.ProjectEntryCollection NAnt.VSNet.SolutionBase::get_ProjectEntries () + } + } // end of class NAnt.VSNet.SolutionBase } .namespace NAnt.VSNet { - .class public auto ansi beforefieldinit VcAssemblyReference - extends NAnt.VSNet.AssemblyReferenceBase + .class public auto ansi abstract beforefieldinit FileReferenceBase + extends NAnt.VSNet.ReferenceBase { - .field private string _assemblyFile - .field private initonly bool _isPrivateSpecified - .field private initonly bool _isPrivate - .field private initonly string _name - .field private initonly class [System]System.Text.RegularExpressions.Regex _rxMacro + .field private initonly class [System.Xml]System.Xml.XmlElement _xmlDefinition + .field private initonly class [NAnt.Core]NAnt.Core.Util.GacCache _gacCache - // method line 703 - .method public hidebysig specialname rtspecialname + // method line 713 + .method family hidebysig specialname rtspecialname instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.ReferencesResolver referencesResolver, class NAnt.VSNet.ProjectBase parent, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache) cil managed { - // Method begins at RVA 0x14aa4 - // Code size 148 (0x94) - .maxstack 5 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - class [System.Xml]System.Xml.XmlAttribute V_1) + // Method begins at RVA 0x7f07 + // Code size 62 (0x3e) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.VSNet.VcAssemblyReference::_name - IL_000b: ldarg.0 - IL_000c: ldstr "\\$\\((\\w+)\\)" - IL_0011: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_0016: stfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.VcAssemblyReference::_rxMacro - IL_001b: ldarg.0 - IL_001c: ldarg.1 - IL_001d: ldarg.2 - IL_001e: ldarg.3 - IL_001f: ldarg.s 4 - IL_0021: call instance void class NAnt.VSNet.AssemblyReferenceBase::'.ctor'(class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase, class [NAnt.Core]NAnt.Core.Util.GacCache) - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_002d: ldstr "CopyLocal" - IL_0032: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0037: stloc.0 - IL_0038: ldloc.0 - IL_0039: brfalse IL_0058 + IL_0001: ldarg.2 + IL_0002: ldarg.3 + IL_0003: call instance void class NAnt.VSNet.ReferenceBase::'.ctor'(class NAnt.VSNet.ReferencesResolver, class NAnt.VSNet.ProjectBase) + IL_0008: nop + IL_0009: ldarg.1 + IL_000a: brtrue IL_001b - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: ldc.i4.1 - IL_0041: stfld bool NAnt.VSNet.VcAssemblyReference::_isPrivateSpecified - IL_0046: ldarg.0 - IL_0047: ldloc.0 - IL_0048: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_004d: call bool bool::Parse(string) - IL_0052: stfld bool NAnt.VSNet.VcAssemblyReference::_isPrivate - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_005e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0063: ldstr "RelativePath" - IL_0068: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_006d: stloc.1 - IL_006e: ldloc.1 - IL_006f: brfalse IL_0087 + IL_000f: nop + IL_0010: ldstr "xmlDefinition" + IL_0015: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001a: throw + IL_001b: ldarg.s 4 + IL_001d: brtrue IL_002e - IL_0074: nop - IL_0075: ldarg.0 - IL_0076: ldloc.1 - IL_0077: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_007c: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0081: stfld string NAnt.VSNet.VcAssemblyReference::_name - IL_0086: nop - IL_0087: ldarg.0 - IL_0088: ldarg.0 - IL_0089: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveAssemblyReference() - IL_008e: stfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile - IL_0093: ret - } // end of method VcAssemblyReference::.ctor + IL_0022: nop + IL_0023: ldstr "gacCache" + IL_0028: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002d: throw + IL_002e: ldarg.0 + IL_002f: ldarg.1 + IL_0030: stfld class [System.Xml]System.Xml.XmlElement NAnt.VSNet.FileReferenceBase::_xmlDefinition + IL_0035: ldarg.0 + IL_0036: ldarg.s 4 + IL_0038: stfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.FileReferenceBase::_gacCache + IL_003d: ret + } // end of method FileReferenceBase::.ctor - // method line 704 - .method family virtual hidebysig specialname - instance default bool get_IsPrivate () cil managed + // method line 714 + .method family hidebysig specialname + instance default class [System.Xml]System.Xml.XmlElement get_XmlDefinition () cil managed { - // Method begins at RVA 0x14b44 + // Method begins at RVA 0x7f48 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [System.Xml]System.Xml.XmlElement V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcAssemblyReference::_isPrivate + IL_0002: ldfld class [System.Xml]System.Xml.XmlElement NAnt.VSNet.FileReferenceBase::_xmlDefinition IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VcAssemblyReference::get_IsPrivate + } // end of method FileReferenceBase::get_XmlDefinition - // method line 705 - .method family virtual hidebysig specialname - instance default bool get_IsPrivateSpecified () cil managed + // method line 715 + .method family hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Util.GacCache get_GacCache () cil managed { - // Method begins at RVA 0x14b60 + // Method begins at RVA 0x7f64 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [NAnt.Core]NAnt.Core.Util.GacCache V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VSNet.VcAssemblyReference::_isPrivateSpecified + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.FileReferenceBase::_gacCache IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VcAssemblyReference::get_IsPrivateSpecified + } // end of method FileReferenceBase::get_GacCache - // method line 706 - .method family virtual hidebysig - instance default string ResolveAssemblyReference () cil managed + // method line 716 + .method public virtual hidebysig + instance default bool IsManaged (class NAnt.VSNet.Configuration config) cil managed { - // Method begins at RVA 0x14b7c - // Code size 215 (0xd7) - .maxstack 4 + // Method begins at RVA 0x7f80 + // Code size 10 (0xa) + .maxstack 1 .locals init ( - string V_0, - class [System.Xml]System.Xml.XmlElement V_1, - string V_2, - string V_3, - string V_4) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile - IL_0007: brfalse IL_002b - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile - IL_0013: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0018: brfalse IL_002a - - IL_001d: nop - IL_001e: ldarg.0 - IL_001f: ldfld string NAnt.VSNet.VcAssemblyReference::_assemblyFile - IL_0024: stloc.0 - IL_0025: br IL_00d5 + IL_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: call instance class [System.Xml]System.Xml.XmlElement class NAnt.VSNet.FileReferenceBase::get_XmlDefinition() - IL_0031: stloc.1 - IL_0032: ldnull - IL_0033: stloc.2 - IL_0034: ldloc.1 - IL_0035: ldstr "RelativePath" - IL_003a: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_003f: stloc.3 - IL_0040: ldloc.3 - IL_0041: brtrue IL_0057 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method FileReferenceBase::IsManaged - IL_0046: nop - IL_0047: ldstr "For Visual C++ projects only assembly references using relative paths are supported." - IL_004c: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0051: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0056: throw - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: ldfld class [System]System.Text.RegularExpressions.Regex NAnt.VSNet.VcAssemblyReference::_rxMacro - IL_005e: ldloc.3 - IL_005f: ldarg.0 - IL_0060: ldftn instance string class NAnt.VSNet.VcAssemblyReference::EvaluateMacro(class [System]System.Text.RegularExpressions.Match) - IL_0066: newobj instance void class [System]System.Text.RegularExpressions.MatchEvaluator::'.ctor'(object, native int) - IL_006b: callvirt instance string class [System]System.Text.RegularExpressions.Regex::Replace(string, class [System]System.Text.RegularExpressions.MatchEvaluator) - IL_0070: stloc.2 - IL_0071: ldloc.2 - IL_0072: ldstr "{ReferencesPath}\\" - IL_0077: ldsfld string [mscorlib]System.String::Empty - IL_007c: callvirt instance string string::Replace(string, string) - IL_0081: stloc.2 - IL_0082: nop - IL_0083: ldloc.2 - IL_0084: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_0089: brfalse IL_0096 + // method line 717 + .method family hidebysig + instance default void GetAssemblyOutputFiles (string assemblyFile, class [mscorlib]System.Collections.Hashtable outputFiles) cil managed + { + // Method begins at RVA 0x7f98 + // Code size 131 (0x83) + .maxstack 4 + .locals init ( + string[] V_0, + string V_1, + string[] V_2, + int32 V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0007: brtrue IL_0012 - IL_008e: nop - IL_008f: ldloc.2 - IL_0090: stloc.0 - IL_0091: br IL_00d5 + IL_000c: nop + IL_000d: br IL_0082 - IL_0096: ldarg.0 - IL_0097: ldloc.2 - IL_0098: call instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromFramework(string) - IL_009d: stloc.s 4 - IL_009f: ldloc.s 4 - IL_00a1: brfalse IL_00af + IL_0012: ldarg.2 + IL_0013: ldarg.1 + IL_0014: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_0019: brtrue IL_0082 - IL_00a6: nop - IL_00a7: ldloc.s 4 - IL_00a9: stloc.0 - IL_00aa: br IL_00d5 + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: ldarg.1 + IL_0021: call instance string[] class NAnt.VSNet.FileReferenceBase::GetAllReferencedModules(string) + IL_0026: stloc.0 + IL_0027: nop + IL_0028: ldloc.0 + IL_0029: stloc.2 + IL_002a: ldc.i4.0 + IL_002b: stloc.3 + IL_002c: br IL_0078 - IL_00af: ldarg.0 - IL_00b0: ldloc.1 - IL_00b1: ldloc.2 - IL_00b2: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_00b7: callvirt instance string class NAnt.VSNet.AssemblyReferenceBase::ResolveFromAssemblyFolders(class [System.Xml]System.Xml.XmlElement, string) - IL_00bc: stloc.s 4 - IL_00be: ldloc.s 4 - IL_00c0: brfalse IL_00ce + IL_0031: ldloc.2 + IL_0032: ldloc.3 + IL_0033: ldelem.ref + IL_0034: stloc.1 + IL_0035: nop + IL_0036: ldloc.1 + IL_0037: ldarg.1 + IL_0038: ldc.i4.1 + IL_0039: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003e: call int32 string::Compare(string, string, bool, class [mscorlib]System.Globalization.CultureInfo) + IL_0043: brfalse IL_006c - IL_00c5: nop - IL_00c6: ldloc.s 4 - IL_00c8: stloc.0 - IL_00c9: br IL_00d5 + IL_0048: nop + IL_0049: ldarg.0 + IL_004a: callvirt instance bool class NAnt.VSNet.ReferenceBase::get_IsSystem() + IL_004f: brtrue IL_0065 - IL_00ce: ldnull - IL_00cf: stloc.0 - IL_00d0: br IL_00d5 + IL_0054: ldarg.0 + IL_0055: call instance class [NAnt.Core]NAnt.Core.Util.GacCache class NAnt.VSNet.FileReferenceBase::get_GacCache() + IL_005a: ldloc.1 + IL_005b: callvirt instance bool class [NAnt.Core]NAnt.Core.Util.GacCache::IsAssemblyInGac(string) + IL_0060: brfalse IL_006b - IL_00d5: ldloc.0 - IL_00d6: ret - } // end of method VcAssemblyReference::ResolveAssemblyReference + IL_0065: nop + IL_0066: br IL_0074 - // method line 707 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x14c60 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcAssemblyReference::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_006b: nop + IL_006c: ldloc.1 + IL_006d: ldarg.2 + IL_006e: call void class NAnt.VSNet.ReferenceBase::GetRelatedFiles(string, class [mscorlib]System.Collections.Hashtable) + IL_0073: nop + IL_0074: ldloc.3 + IL_0075: ldc.i4.1 + IL_0076: add + IL_0077: stloc.3 + IL_0078: ldloc.3 + IL_0079: ldloc.2 + IL_007a: ldlen + IL_007b: conv.i4 + IL_007c: blt IL_0031 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcAssemblyReference::get_Name + IL_0081: nop + IL_0082: ret + } // end of method FileReferenceBase::GetAssemblyOutputFiles - // method line 708 + // method line 718 .method private hidebysig - instance default string EvaluateMacro (class [System]System.Text.RegularExpressions.Match m) cil managed + instance default string[] GetAllReferencedModules (string module) cil managed { - // Method begins at RVA 0x14c7c - // Code size 119 (0x77) + // Method begins at RVA 0x8028 + // Code size 201 (0xc9) .maxstack 5 .locals init ( string V_0, string V_1, - string V_2) + class [mscorlib]System.Collections.Hashtable V_2, + class [mscorlib]System.Collections.Hashtable V_3, + class [mscorlib]System.Collections.IDictionaryEnumerator V_4, + string V_5, + class [mscorlib]System.Exception V_6, + string[] V_7, + string[] V_8) IL_0000: nop IL_0001: ldarg.1 - IL_0002: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0007: ldc.i4.1 - IL_0008: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(int32) - IL_000d: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0012: stloc.0 - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ReferenceBase::get_SolutionTask() - IL_0019: ldloc.0 - IL_001a: callvirt instance string class NAnt.VSNet.Tasks.SolutionTask::ExpandMacro(string) - IL_001f: stloc.1 - IL_0020: ldloc.1 - IL_0021: brfalse IL_002e + IL_0002: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::GetFullPath(string) + IL_0007: stloc.0 + IL_0008: ldloc.0 + IL_0009: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) + IL_000e: stloc.1 + IL_000f: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_0014: stloc.2 + IL_0015: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_001a: stloc.3 + .try { // 0 + IL_001b: nop + IL_001c: ldloc.2 + IL_001d: ldloc.0 + IL_001e: ldnull + IL_001f: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0024: ldloc.3 + IL_0025: ldloc.0 + IL_0026: ldnull + IL_0027: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_002c: br IL_006b - IL_0026: nop - IL_0027: ldloc.1 - IL_0028: stloc.2 - IL_0029: br IL_0075 + IL_0031: nop + IL_0032: ldloc.3 + IL_0033: callvirt instance class [mscorlib]System.Collections.IDictionaryEnumerator class [mscorlib]System.Collections.Hashtable::GetEnumerator() + IL_0038: stloc.s 4 + IL_003a: ldloc.s 4 + IL_003c: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0041: pop + IL_0042: ldloc.s 4 + IL_0044: callvirt instance object class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key() + IL_0049: castclass [mscorlib]System.String + IL_004e: stloc.s 5 + IL_0050: ldloc.3 + IL_0051: ldloc.s 5 + IL_0053: callvirt instance void class [mscorlib]System.Collections.Hashtable::Remove(object) + IL_0058: ldarg.0 + IL_0059: call instance class NAnt.VSNet.ReferencesResolver class NAnt.VSNet.ReferenceBase::get_ReferencesResolver() + IL_005e: ldloc.1 + IL_005f: ldloc.s 5 + IL_0061: ldloca.s 2 + IL_0063: ldloca.s 3 + IL_0065: callvirt instance void class NAnt.VSNet.ReferencesResolver::AppendReferencedModulesLocatedInGivenDirectory(string, string, [out] class [mscorlib]System.Collections.Hashtable&, [out] class [mscorlib]System.Collections.Hashtable&) + IL_006a: nop + IL_006b: ldloc.3 + IL_006c: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_0071: ldc.i4.0 + IL_0072: bgt IL_0031 - IL_002e: ldarg.0 - IL_002f: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0034: ldloc.0 - IL_0035: callvirt instance string class NAnt.VSNet.ProjectBase::ExpandMacro(string) - IL_003a: stloc.1 - IL_003b: ldloc.1 - IL_003c: brfalse IL_0049 + IL_0077: nop + IL_0078: leave IL_009d - IL_0041: nop - IL_0042: ldloc.1 - IL_0043: stloc.2 - IL_0044: br IL_0075 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_007d: stloc.s 6 + IL_007f: nop + IL_0080: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0085: ldstr "Error resolving module references of '{0}'." + IL_008a: ldloc.0 + IL_008b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0090: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0095: ldloc.s 6 + IL_0097: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_009c: throw + } // end handler 0 + IL_009d: ldloc.2 + IL_009e: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_00a3: callvirt instance int32 class [mscorlib]System.Collections.ICollection::get_Count() + IL_00a8: newarr [mscorlib]System.String + IL_00ad: stloc.s 7 + IL_00af: ldloc.2 + IL_00b0: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Keys() + IL_00b5: ldloc.s 7 + IL_00b7: ldc.i4.0 + IL_00b8: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_00bd: ldloc.s 7 + IL_00bf: stloc.s 8 + IL_00c1: br IL_00c6 - IL_0049: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004e: ldstr "Macro \"{0}\", used by assembly reference \"{1}\" in project \"{2}\" is not supported in assembly references." - IL_0053: ldloc.0 - IL_0054: ldarg.0 - IL_0055: callvirt instance string class NAnt.VSNet.ReferenceBase::get_Name() - IL_005a: ldarg.0 - IL_005b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ReferenceBase::get_Parent() - IL_0060: callvirt instance string class NAnt.VSNet.ProjectBase::get_Name() - IL_0065: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object, object) - IL_006a: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_006f: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0074: throw - IL_0075: ldloc.2 - IL_0076: ret - } // end of method VcAssemblyReference::EvaluateMacro + IL_00c6: ldloc.s 8 + IL_00c8: ret + } // end of method FileReferenceBase::GetAllReferencedModules - .property instance bool IsPrivate () - { - .get instance default bool NAnt.VSNet.VcAssemblyReference::get_IsPrivate () - } - .property instance bool IsPrivateSpecified () + .property instance class [System.Xml]System.Xml.XmlElement XmlDefinition () { - .get instance default bool NAnt.VSNet.VcAssemblyReference::get_IsPrivateSpecified () + .get instance default class [System.Xml]System.Xml.XmlElement NAnt.VSNet.FileReferenceBase::get_XmlDefinition () } - .property instance string Name () + .property instance class [NAnt.Core]NAnt.Core.Util.GacCache GacCache () { - .get instance default string NAnt.VSNet.VcAssemblyReference::get_Name () + .get instance default class [NAnt.Core]NAnt.Core.Util.GacCache NAnt.VSNet.FileReferenceBase::get_GacCache () } - } // end of class NAnt.VSNet.VcAssemblyReference + } // end of class NAnt.VSNet.FileReferenceBase } .namespace NAnt.VSNet { - .class public auto ansi abstract beforefieldinit VcConfigurationBase - extends NAnt.VSNet.ConfigurationBase + .class public auto ansi beforefieldinit VBProject + extends NAnt.VSNet.ManagedProjectBase { - .field family initonly class [mscorlib]System.Collections.Hashtable Tools - .field private initonly string _name - .field private class [mscorlib]System.IO.DirectoryInfo _outputDir - .field assembly static literal string CLCompilerTool = "VCCLCompilerTool" - .field assembly static literal string CustomBuildTool = "VCCustomBuildTool" - .field assembly static literal string LinkerTool = "VCLinkerTool" - .field assembly static literal string LibTool = "VCLibrarianTool" - .field assembly static literal string ResourceCompilerTool = "VCResourceCompilerTool" - .field assembly static literal string MIDLTool = "VCMIDLTool" - .field assembly static literal string PreBuildEventTool = "VCPreBuildEventTool" - .field assembly static literal string PostBuildEventTool = "VCPostBuildEventTool" - .field assembly static literal string PreLinkEventTool = "VCPreLinkEventTool" - .field assembly static literal string NMakeTool = "VCNMakeTool" - .field private static class [mscorlib]System.Collections.Generic.Dictionary`2 '<>f__switch$map3' - .custom instance void class [mscorlib]System.Runtime.CompilerServices.CompilerGeneratedAttribute::'.ctor'() = (01 00 00 00 ) // .... - + .field private initonly class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection _imports - // method line 709 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlElement elem, class NAnt.VSNet.ProjectBase parentProject, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + // method line 719 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VSNet.SolutionBase solution, string projectPath, class [System.Xml]System.Xml.XmlElement xmlDefinition, class NAnt.VSNet.Tasks.SolutionTask solutionTask, class [System]System.CodeDom.Compiler.TempFileCollection tfc, class [NAnt.Core]NAnt.Core.Util.GacCache gacCache, class NAnt.VSNet.ReferencesResolver refResolver, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed { - // Method begins at RVA 0x56fc - // Code size 292 (0x124) - .maxstack 3 + // Method begins at RVA 0x14a38 + // Code size 171 (0xab) + .maxstack 9 .locals init ( class [System.Xml]System.Xml.XmlNodeList V_0, class [System.Xml]System.Xml.XmlElement V_1, class [mscorlib]System.Collections.IEnumerator V_2, - string V_3, - class [mscorlib]System.Collections.Hashtable V_4, - class [System.Xml]System.Xml.XmlAttribute V_5, - class [mscorlib]System.Collections.IEnumerator V_6, - class [mscorlib]System.IDisposable V_7, - class [mscorlib]System.IDisposable V_8) + class [System.Xml]System.Xml.XmlAttribute V_3, + string V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: ldarg.0 - IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0006: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools - IL_000b: ldarg.0 - IL_000c: ldarg.2 - IL_000d: call instance void class NAnt.VSNet.ConfigurationBase::'.ctor'(class NAnt.VSNet.ProjectBase) - IL_0012: nop - IL_0013: ldarg.1 - IL_0014: brtrue IL_0025 - - IL_0019: nop - IL_001a: ldstr "elem" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.0 - IL_0026: ldarg.3 - IL_0027: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir - IL_002c: ldarg.0 - IL_002d: ldarg.1 - IL_002e: ldstr "Name" - IL_0033: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_0038: stfld string NAnt.VSNet.VcConfigurationBase::_name - IL_003d: ldarg.1 - IL_003e: ldstr "Tool" - IL_0043: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlElement::GetElementsByTagName(string) - IL_0048: stloc.0 - IL_0049: nop - IL_004a: ldloc.0 - IL_004b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_0050: stloc.2 - .try { // 1 - IL_0051: br IL_00fd - - IL_0056: ldloc.2 - IL_0057: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_005c: castclass [System.Xml]System.Xml.XmlElement - IL_0061: stloc.1 - IL_0062: nop - IL_0063: ldloc.1 - IL_0064: ldstr "Name" - IL_0069: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_006e: stloc.3 - IL_006f: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0074: stloc.s 4 - IL_0076: nop - IL_0077: ldloc.1 - IL_0078: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_007d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNamedNodeMap::GetEnumerator() - IL_0082: stloc.s 6 - .try { // 0 - IL_0084: br IL_00c6 - - IL_0089: ldloc.s 6 - IL_008b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0090: castclass [System.Xml]System.Xml.XmlAttribute - IL_0095: stloc.s 5 - IL_0097: nop - IL_0098: ldloc.s 5 - IL_009a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_009f: ldstr "Name" - IL_00a4: call bool string::op_Inequality(string, string) - IL_00a9: brfalse IL_00c5 - - IL_00ae: nop - IL_00af: ldloc.s 4 - IL_00b1: ldloc.s 5 - IL_00b3: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() - IL_00b8: ldloc.s 5 - IL_00ba: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00bf: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00c4: nop - IL_00c5: nop - IL_00c6: ldloc.s 6 - IL_00c8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00cd: brtrue IL_0089 - - IL_00d2: leave IL_00ee + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: ldarg.s 6 + IL_000a: ldarg.s 7 + IL_000c: ldarg.s 8 + IL_000e: call instance void class NAnt.VSNet.ManagedProjectBase::'.ctor'(class NAnt.VSNet.SolutionBase, string, class [System.Xml]System.Xml.XmlElement, class NAnt.VSNet.Tasks.SolutionTask, class [System]System.CodeDom.Compiler.TempFileCollection, class [NAnt.Core]NAnt.Core.Util.GacCache, class NAnt.VSNet.ReferencesResolver, class [mscorlib]System.IO.DirectoryInfo) + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection::'.ctor'() + IL_001a: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports + IL_001f: ldarg.3 + IL_0020: ldstr "//Imports/Import" + IL_0025: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_002a: stloc.0 + IL_002b: nop + IL_002c: ldloc.0 + IL_002d: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_0032: stloc.2 + .try { // 0 + IL_0033: br IL_0084 - } // end .try 0 - finally { // 0 - IL_00d7: ldloc.s 6 - IL_00d9: isinst [mscorlib]System.IDisposable - IL_00de: dup - IL_00df: stloc.s 7 - IL_00e1: brfalse IL_00ed + IL_0038: ldloc.2 + IL_0039: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_003e: castclass [System.Xml]System.Xml.XmlElement + IL_0043: stloc.1 + IL_0044: nop + IL_0045: ldloc.1 + IL_0046: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_004b: ldstr "Namespace" + IL_0050: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0055: stloc.3 + IL_0056: ldloc.3 + IL_0057: brfalse IL_0083 - IL_00e6: ldloc.s 7 - IL_00e8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00ed: endfinally - } // end handler 0 - IL_00ee: ldarg.0 - IL_00ef: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools - IL_00f4: ldloc.3 - IL_00f5: ldloc.s 4 - IL_00f7: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_00fc: nop - IL_00fd: ldloc.2 - IL_00fe: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0103: brtrue IL_0056 + IL_005c: nop + IL_005d: ldloc.3 + IL_005e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0063: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0068: callvirt instance string string::ToString(class [mscorlib]System.IFormatProvider) + IL_006d: stloc.s 4 + IL_006f: ldarg.0 + IL_0070: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports + IL_0075: ldloc.s 4 + IL_0077: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImport::'.ctor'(string) + IL_007c: callvirt instance int32 class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection::Add(class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImport) + IL_0081: pop + IL_0082: nop + IL_0083: nop + IL_0084: ldloc.2 + IL_0085: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_008a: brtrue IL_0038 - IL_0108: leave IL_0123 + IL_008f: leave IL_00aa - } // end .try 1 - finally { // 1 - IL_010d: ldloc.2 - IL_010e: isinst [mscorlib]System.IDisposable - IL_0113: dup - IL_0114: stloc.s 8 - IL_0116: brfalse IL_0122 + } // end .try 0 + finally { // 0 + IL_0094: ldloc.2 + IL_0095: isinst [mscorlib]System.IDisposable + IL_009a: dup + IL_009b: stloc.s 5 + IL_009d: brfalse IL_00a9 - IL_011b: ldloc.s 8 - IL_011d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0122: endfinally - } // end handler 1 - IL_0123: ret - } // end of method VcConfigurationBase::.ctor + IL_00a2: ldloc.s 5 + IL_00a4: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00a9: endfinally + } // end handler 0 + IL_00aa: ret + } // end of method VBProject::.ctor - // method line 710 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (string configName, class NAnt.VSNet.ProjectBase parentProject, class [mscorlib]System.IO.DirectoryInfo outputDir) cil managed + // method line 720 + .method family virtual hidebysig + instance default void WriteProjectOptions (class [mscorlib]System.IO.StreamWriter sw) cil managed { - // Method begins at RVA 0x5848 - // Code size 34 (0x22) + // Method begins at RVA 0x14b00 + // Code size 43 (0x2b) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0006: stfld class [mscorlib]System.Collections.Hashtable NAnt.VSNet.VcConfigurationBase::Tools - IL_000b: ldarg.0 - IL_000c: ldarg.2 - IL_000d: call instance void class NAnt.VSNet.ConfigurationBase::'.ctor'(class NAnt.VSNet.ProjectBase) - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: stfld string NAnt.VSNet.VcConfigurationBase::_name - IL_001a: ldarg.0 - IL_001b: ldarg.3 - IL_001c: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir - IL_0021: ret - } // end of method VcConfigurationBase::.ctor - - // method line 711 - .method public virtual hidebysig newslot abstract specialname - instance default string get_IntermediateDir () cil managed - { - // Method begins at RVA 0x0 - } // end of method VcConfigurationBase::get_IntermediateDir - - // method line 712 - .method public virtual hidebysig newslot abstract specialname - instance default string get_ReferencesPath () cil managed - { - // Method begins at RVA 0x0 - } // end of method VcConfigurationBase::get_ReferencesPath - - // method line 713 - .method public hidebysig specialname - instance default valuetype NAnt.VSNet.Types.UsePrecompiledHeader get_UsePrecompiledHeader () cil managed - { - // Method begins at RVA 0x586c - // Code size 139 (0x8b) - .maxstack 3 - .locals init ( - string V_0, - valuetype NAnt.VSNet.Types.UsePrecompiledHeader V_1, - int32 V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldstr "VCCLCompilerTool" - IL_0007: ldstr "UsePrecompiledHeader" - IL_000c: call instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: brtrue IL_0020 - - IL_0018: nop - IL_0019: ldc.i4.m1 - IL_001a: stloc.1 - IL_001b: br IL_0089 - - IL_0020: ldloc.0 - IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0026: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_002b: stloc.2 - IL_002c: ldarg.0 - IL_002d: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0032: callvirt instance valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ProjectBase::get_ProductVersion() - IL_0037: ldc.i4.s 0x50 - IL_0039: blt IL_006e - - IL_003e: nop - IL_003f: ldloc.2 - IL_0040: brfalse IL_0058 - - IL_0045: ldloc.2 - IL_0046: ldc.i4.1 - IL_0047: beq IL_005f - - IL_004c: ldloc.2 - IL_004d: ldc.i4.2 - IL_004e: beq IL_0066 - - IL_0053: br IL_006d - - IL_0058: ldc.i4.0 - IL_0059: stloc.1 - IL_005a: br IL_0089 - - IL_005f: ldc.i4.1 - IL_0060: stloc.1 - IL_0061: br IL_0089 - - IL_0066: ldc.i4.3 - IL_0067: stloc.1 - IL_0068: br IL_0089 - - IL_006d: nop - IL_006e: ldtoken NAnt.VSNet.Types.UsePrecompiledHeader - IL_0073: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0078: ldloc.2 - IL_0079: call object class [mscorlib]System.Enum::ToObject(class [mscorlib]System.Type, int32) - IL_007e: unbox.any NAnt.VSNet.Types.UsePrecompiledHeader - IL_0083: stloc.1 - IL_0084: br IL_0089 + IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports + IL_0007: callvirt instance int32 class [NAnt.DotNetTasks]NAnt.DotNet.Types.DataTypeCollectionBase::get_Count() + IL_000c: ldc.i4.0 + IL_000d: ble IL_002a - IL_0089: ldloc.1 - IL_008a: ret - } // end of method VcConfigurationBase::get_UsePrecompiledHeader + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: ldstr "/imports:{0}" + IL_0019: ldarg.0 + IL_001a: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.NamespaceImportCollection NAnt.VSNet.VBProject::_imports + IL_001f: callvirt instance string object::ToString() + IL_0024: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0029: nop + IL_002a: ret + } // end of method VBProject::WriteProjectOptions - // method line 714 - .method assembly hidebysig specialname - instance default string get_FullName () cil managed + // method line 721 + .method public virtual hidebysig specialname + instance default valuetype NAnt.VSNet.ProjectType get_Type () cil managed { - // Method begins at RVA 0x5904 - // Code size 15 (0xf) + // Method begins at RVA 0x14b2c + // Code size 10 (0xa) .maxstack 1 .locals init ( - string V_0) + valuetype NAnt.VSNet.ProjectType V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcConfigurationBase::get_FullName + IL_0008: ldloc.0 + IL_0009: ret + } // end of method VBProject::get_Type - // method line 715 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed + // method line 722 + .method family virtual hidebysig + instance default void VerifyProjectXml (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0x5920 - // Code size 101 (0x65) - .maxstack 3 - .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + // Method begins at RVA 0x14b42 + // Code size 46 (0x2e) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir - IL_0007: brtrue IL_0057 + IL_0001: ldarg.1 + IL_0002: call bool class NAnt.VSNet.VBProject::IsSupported(class [System.Xml]System.Xml.XmlElement) + IL_0007: brtrue IL_002d IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() - IL_0013: brfalse IL_0045 - - IL_0018: nop - IL_0019: ldarg.0 - IL_001a: ldarg.0 - IL_001b: call instance class NAnt.VSNet.ProjectBase class NAnt.VSNet.ConfigurationBase::get_Project() - IL_0020: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() - IL_0025: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002a: ldarg.0 - IL_002b: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_RelativeOutputDir() - IL_0030: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0035: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_003a: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir - IL_003f: nop - IL_0040: br IL_0056 + IL_000d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0012: ldstr "Project '{0}' is not a valid VB.NET project." + IL_0017: ldarg.0 + IL_0018: callvirt instance string class NAnt.VSNet.ProjectBase::get_ProjectPath() + IL_001d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0022: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation + IL_0027: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) + IL_002c: throw + IL_002d: ret + } // end of method VBProject::VerifyProjectXml - IL_0045: nop - IL_0046: ldstr "The output directory could not be determined." - IL_004b: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_0050: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_0055: throw - IL_0056: nop - IL_0057: ldarg.0 - IL_0058: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::_outputDir - IL_005d: stloc.0 - IL_005e: br IL_0063 + // method line 723 + .method family virtual hidebysig + instance default valuetype NAnt.VSNet.ProductVersion DetermineProductVersion (class [System.Xml]System.Xml.XmlElement docElement) cil managed + { + // Method begins at RVA 0x14b74 + // Code size 43 (0x2b) + .maxstack 2 + .locals init ( + valuetype NAnt.VSNet.ProductVersion V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0063: ldloc.0 - IL_0064: ret - } // end of method VcConfigurationBase::get_OutputDir + IL_0007: nop + IL_0008: ldstr "docElement" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: ldstr "./VisualBasic" + IL_0019: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_001e: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) + IL_0023: stloc.0 + IL_0024: br IL_0029 - // method line 716 - .method public virtual hidebysig specialname - instance default string get_BuildPath () cil managed + IL_0029: ldloc.0 + IL_002a: ret + } // end of method VBProject::DetermineProductVersion + + // method line 724 + .method family virtual hidebysig specialname + instance default string get_FileExtension () cil managed { - // Method begins at RVA 0x5994 - // Code size 15 (0xf) + // Method begins at RVA 0x14bac + // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class NAnt.VSNet.ConfigurationBase::get_OutputPath() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldstr ".vb" + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VcConfigurationBase::get_BuildPath + IL_000c: ldloc.0 + IL_000d: ret + } // end of method VBProject::get_FileExtension - // method line 717 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed + // method line 725 + .method family virtual hidebysig + instance default valuetype NAnt.VSNet.ProjectLocation DetermineProjectLocation (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0x59b0 - // Code size 60 (0x3c) - .maxstack 3 + // Method begins at RVA 0x14bc8 + // Code size 25 (0x19) + .maxstack 2 .locals init ( - int32 V_0, - string V_1) + valuetype NAnt.VSNet.ProjectLocation V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_0007: ldstr "|" - IL_000c: callvirt instance int32 string::IndexOf(string) + IL_0001: ldarg.1 + IL_0002: ldstr "./VisualBasic" + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_000c: call valuetype NAnt.VSNet.ProjectLocation class NAnt.VSNet.ManagedProjectBase::GetProjectLocation(class [System.Xml]System.Xml.XmlNode) IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: ldc.i4.0 - IL_0014: blt IL_002d - - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_0020: ldc.i4.0 - IL_0021: ldloc.0 - IL_0022: callvirt instance string string::Substring(int32, int32) - IL_0027: stloc.1 - IL_0028: br IL_003a - - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_0034: stloc.1 - IL_0035: br IL_003a + IL_0012: br IL_0017 - IL_003a: ldloc.1 - IL_003b: ret - } // end of method VcConfigurationBase::get_Name + IL_0017: ldloc.0 + IL_0018: ret + } // end of method VBProject::DetermineProjectLocation - // method line 718 - .method public virtual hidebysig specialname - instance default string get_PlatformName () cil managed + // method line 726 + .method family virtual hidebysig + instance default class [System]System.Diagnostics.ProcessStartInfo GetProcessStartInfo (class NAnt.VSNet.ConfigurationBase config, string responseFile) cil managed { - // Method begins at RVA 0x59f8 - // Code size 105 (0x69) + // Method begins at RVA 0x14bf0 + // Code size 132 (0x84) .maxstack 4 .locals init ( - int32 V_0, - string V_1) + class [System]System.Diagnostics.ProcessStartInfo V_0, + class [System]System.Diagnostics.ProcessStartInfo V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_0007: ldstr "|" - IL_000c: callvirt instance int32 string::IndexOf(string) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: ldc.i4.0 - IL_0014: blt IL_005b - - IL_0019: nop - IL_001a: ldloc.0 - IL_001b: ldarg.0 - IL_001c: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_0021: callvirt instance int32 string::get_Length() - IL_0026: bge IL_004f - - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_0032: ldloc.0 - IL_0033: ldc.i4.1 - IL_0034: add - IL_0035: ldarg.0 - IL_0036: ldfld string NAnt.VSNet.VcConfigurationBase::_name - IL_003b: callvirt instance int32 string::get_Length() - IL_0040: ldc.i4.1 - IL_0041: sub - IL_0042: ldloc.0 - IL_0043: sub - IL_0044: callvirt instance string string::Substring(int32, int32) - IL_0049: stloc.1 - IL_004a: br IL_0067 + IL_0002: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0007: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_000c: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() + IL_0011: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() + IL_0016: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001b: ldstr "vbc.exe" + IL_0020: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0025: ldstr "@\"" + IL_002a: ldarg.2 + IL_002b: ldstr "\"" + IL_0030: call string string::Concat(string, string, string) + IL_0035: newobj instance void class [System]System.Diagnostics.ProcessStartInfo::'.ctor'(string, string) + IL_003a: stloc.0 + IL_003b: ldarg.0 + IL_003c: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0041: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0046: brfalse IL_0068 - IL_004f: nop - IL_0050: ldsfld string [mscorlib]System.String::Empty - IL_0055: stloc.1 - IL_0056: br IL_0067 + IL_004b: nop + IL_004c: ldloc.0 + IL_004d: ldarg.0 + IL_004e: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ProjectBase::get_SolutionTask() + IL_0053: callvirt instance class [mscorlib]System.IO.FileInfo class NAnt.VSNet.Tasks.SolutionTask::get_SolutionFile() + IL_0058: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_005d: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_0062: nop + IL_0063: br IL_007b - IL_005b: nop - IL_005c: ldsfld string [mscorlib]System.String::Empty - IL_0061: stloc.1 - IL_0062: br IL_0067 + IL_0068: nop + IL_0069: ldloc.0 + IL_006a: ldarg.0 + IL_006b: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VSNet.ProjectBase::get_ProjectDirectory() + IL_0070: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0075: callvirt instance void class [System]System.Diagnostics.ProcessStartInfo::set_WorkingDirectory(string) + IL_007a: nop + IL_007b: ldloc.0 + IL_007c: stloc.1 + IL_007d: br IL_0082 - IL_0067: ldloc.1 - IL_0068: ret - } // end of method VcConfigurationBase::get_PlatformName + IL_0082: ldloc.1 + IL_0083: ret + } // end of method VBProject::GetProcessStartInfo - // method line 719 - .method famorassem virtual hidebysig - instance default string ExpandMacro (string macro) cil managed + // method line 727 + .method public static hidebysig + default bool IsSupported (class [System.Xml]System.Xml.XmlElement docElement) cil managed { - // Method begins at RVA 0x5a70 - // Code size 480 (0x1e0) - .maxstack 3 + // Method begins at RVA 0x14c80 + // Code size 102 (0x66) + .maxstack 2 .locals init ( - string V_0, - class [mscorlib]System.Collections.Generic.Dictionary`2 V_1, - int32 V_2, - string V_3, - string V_4) + bool V_0, + class [System.Xml]System.Xml.XmlNode V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brfalse IL_01b3 - - IL_0013: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcConfigurationBase::'<>f__switch$map3' - IL_0018: brtrue IL_007e - - IL_001d: ldc.i4.7 - IL_001e: newobj instance void class [mscorlib]System.Collections.Generic.Dictionary`2::'.ctor'(int32) - IL_0023: stloc.1 - IL_0024: ldloc.1 - IL_0025: ldstr "noinherit" - IL_002a: ldc.i4.0 - IL_002b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0030: ldloc.1 - IL_0031: ldstr "intdir" - IL_0036: ldc.i4.1 - IL_0037: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_003c: ldloc.1 - IL_003d: ldstr "vcinstalldir" - IL_0042: ldc.i4.2 - IL_0043: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0048: ldloc.1 - IL_0049: ldstr "vsinstalldir" - IL_004e: ldc.i4.3 - IL_004f: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0054: ldloc.1 - IL_0055: ldstr "frameworkdir" - IL_005a: ldc.i4.4 - IL_005b: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0060: ldloc.1 - IL_0061: ldstr "frameworkversion" - IL_0066: ldc.i4.5 - IL_0067: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_006c: ldloc.1 - IL_006d: ldstr "frameworksdkdir" - IL_0072: ldc.i4.6 - IL_0073: callvirt instance void class [mscorlib]System.Collections.Generic.Dictionary`2::Add(!0, !1) - IL_0078: ldloc.1 - IL_0079: stsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcConfigurationBase::'<>f__switch$map3' - IL_007e: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.VSNet.VcConfigurationBase::'<>f__switch$map3' - IL_0083: ldloc.0 - IL_0084: ldloca.s 2 - IL_0086: callvirt instance bool class [mscorlib]System.Collections.Generic.Dictionary`2::TryGetValue(!0, [out] !1&) - IL_008b: brfalse IL_01b3 - - IL_0090: ldloc.2 - IL_0091: switch ( - IL_00bb, - IL_00c6, - IL_00d2, - IL_00e8, - IL_00fe, - IL_0123, - IL_0148, - IL_01b3) - IL_00b6: br IL_01b3 - - IL_00bb: ldstr "$(noinherit)" - IL_00c0: stloc.3 - IL_00c1: br IL_01de + IL_0001: ldarg.0 + IL_0002: brtrue IL_000f - IL_00c6: ldarg.0 - IL_00c7: callvirt instance string class NAnt.VSNet.VcConfigurationBase::get_IntermediateDir() - IL_00cc: stloc.3 - IL_00cd: br IL_01de + IL_0007: nop + IL_0008: ldc.i4.0 + IL_0009: stloc.0 + IL_000a: br IL_0064 - IL_00d2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00d7: ldstr "\"{0}\" macro is not yet implemented." - IL_00dc: ldarg.1 - IL_00dd: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00e2: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'(string) - IL_00e7: throw - IL_00e8: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ed: ldstr "\"{0}\" macro is not yet implemented." - IL_00f2: ldarg.1 - IL_00f3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00f8: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'(string) - IL_00fd: throw - IL_00fe: ldarg.0 - IL_00ff: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0104: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0109: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_010e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_0113: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.DirectoryInfo::get_Parent() - IL_0118: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_011d: stloc.3 - IL_011e: br IL_01de + IL_000f: ldarg.0 + IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Name() + IL_0015: ldstr "VisualStudioProject" + IL_001a: call bool string::op_Inequality(string, string) + IL_001f: brfalse IL_002c - IL_0123: ldstr "v" - IL_0128: ldarg.0 - IL_0129: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_012e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0133: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0138: callvirt instance class [mscorlib]System.Version class [NAnt.Core]NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_013d: call string string::Concat(object, object) - IL_0142: stloc.3 - IL_0143: br IL_01de + IL_0024: nop + IL_0025: ldc.i4.0 + IL_0026: stloc.0 + IL_0027: br IL_0064 - IL_0148: ldarg.0 - IL_0149: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_014e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0153: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0158: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_015d: brfalse IL_0183 + IL_002c: ldarg.0 + IL_002d: ldstr "./VisualBasic" + IL_0032: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0037: stloc.1 + IL_0038: ldloc.1 + IL_0039: brtrue IL_0046 - IL_0162: nop - IL_0163: ldarg.0 - IL_0164: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0169: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_016e: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_0173: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_0178: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_017d: stloc.3 - IL_017e: br IL_01de + IL_003e: nop + IL_003f: ldc.i4.0 + IL_0040: stloc.0 + IL_0041: br IL_0064 - IL_0183: nop - IL_0184: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0189: ldstr "Macro \"{0}\" cannot be expanded: the SDK for {0} is not installed." - IL_018e: ldarg.0 - IL_018f: call instance class NAnt.VSNet.Tasks.SolutionTask class NAnt.VSNet.ConfigurationBase::get_SolutionTask() - IL_0194: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0199: callvirt instance class [NAnt.Core]NAnt.Core.FrameworkInfo class [NAnt.Core]NAnt.Core.Project::get_TargetFramework() - IL_019e: callvirt instance string class [NAnt.Core]NAnt.Core.FrameworkInfo::get_Description() - IL_01a3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01a8: ldsfld class [NAnt.Core]NAnt.Core.Location [NAnt.Core]NAnt.Core.Location::UnknownLocation - IL_01ad: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location) - IL_01b2: throw .try { // 0 - IL_01b3: nop - IL_01b4: ldarg.0 - IL_01b5: ldarg.1 - IL_01b6: call instance string class NAnt.VSNet.ConfigurationBase::ExpandMacro(string) - IL_01bb: stloc.3 - IL_01bc: leave IL_01de + IL_0046: nop + IL_0047: ldloc.1 + IL_0048: call valuetype NAnt.VSNet.ProductVersion class NAnt.VSNet.ManagedProjectBase::GetProductVersion(class [System.Xml]System.Xml.XmlNode) + IL_004d: pop + IL_004e: nop + IL_004f: leave IL_005d } // end .try 0 - catch class [NAnt.Core]NAnt.Core.BuildException { // 0 - IL_01c1: pop - IL_01c2: nop - IL_01c3: ldarg.1 - IL_01c4: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_01c9: stloc.s 4 - IL_01cb: ldloc.s 4 - IL_01cd: brfalse IL_01db - - IL_01d2: nop - IL_01d3: ldloc.s 4 - IL_01d5: stloc.3 - IL_01d6: leave IL_01de + catch class [mscorlib]System.Object { // 0 + IL_0054: pop + IL_0055: nop + IL_0056: ldc.i4.0 + IL_0057: stloc.0 + IL_0058: leave IL_0064 - IL_01db: nop - IL_01dc: rethrow } // end handler 0 - IL_01de: ldloc.3 - IL_01df: ret - } // end of method VcConfigurationBase::ExpandMacro - - // method line 720 - .method public hidebysig - instance default string GetToolSetting (string toolName, string settingName) cil managed - { - // Method begins at RVA 0x5c6c - // Code size 18 (0x12) - .maxstack 4 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldnull - IL_0005: callvirt instance string class NAnt.VSNet.VcConfigurationBase::GetToolSetting(string, string, string) - IL_000a: stloc.0 - IL_000b: br IL_0010 - - IL_0010: ldloc.0 - IL_0011: ret - } // end of method VcConfigurationBase::GetToolSetting - - // method line 721 - .method public virtual hidebysig newslot abstract - instance default string GetToolSetting (string toolName, string settingName, string defaultValue) cil managed - { - // Method begins at RVA 0x0 - } // end of method VcConfigurationBase::GetToolSetting - - // method line 722 - .method public hidebysig - instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap) cil managed - { - // Method begins at RVA 0x5c8c - // Code size 18 (0x12) - .maxstack 4 - .locals init ( - class [mscorlib]System.Collections.Hashtable V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: ldc.i4.0 - IL_0005: callvirt instance class [mscorlib]System.Collections.Hashtable class NAnt.VSNet.VcConfigurationBase::GetToolArguments(string, class NAnt.VSNet.VcArgumentMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup) - IL_000a: stloc.0 - IL_000b: br IL_0010 - - IL_0010: ldloc.0 - IL_0011: ret - } // end of method VcConfigurationBase::GetToolArguments + IL_005d: ldc.i4.1 + IL_005e: stloc.0 + IL_005f: br IL_0064 - // method line 723 - .method public virtual hidebysig newslot abstract - instance default class [mscorlib]System.Collections.Hashtable GetToolArguments (string toolName, class NAnt.VSNet.VcArgumentMap argMap, valuetype NAnt.VSNet.VcArgumentMap/ArgGroup ignoreGroup) cil managed - { - // Method begins at RVA 0x0 - } // end of method VcConfigurationBase::GetToolArguments + IL_0064: ldloc.0 + IL_0065: ret + } // end of method VBProject::IsSupported - .property instance string IntermediateDir () - { - .get instance default string NAnt.VSNet.VcConfigurationBase::get_IntermediateDir () - } - .property instance string ReferencesPath () - { - .get instance default string NAnt.VSNet.VcConfigurationBase::get_ReferencesPath () - } - .property instance valuetype NAnt.VSNet.Types.UsePrecompiledHeader UsePrecompiledHeader () - { - .get instance default valuetype NAnt.VSNet.Types.UsePrecompiledHeader NAnt.VSNet.VcConfigurationBase::get_UsePrecompiledHeader () - } - .property instance string FullName () - { - .get instance default string NAnt.VSNet.VcConfigurationBase::get_FullName () - } - .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () - { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VSNet.VcConfigurationBase::get_OutputDir () - } - .property instance string BuildPath () - { - .get instance default string NAnt.VSNet.VcConfigurationBase::get_BuildPath () - } - .property instance string Name () + .property instance valuetype NAnt.VSNet.ProjectType Type () { - .get instance default string NAnt.VSNet.VcConfigurationBase::get_Name () + .get instance default valuetype NAnt.VSNet.ProjectType NAnt.VSNet.VBProject::get_Type () } - .property instance string PlatformName () + .property instance string FileExtension () { - .get instance default string NAnt.VSNet.VcConfigurationBase::get_PlatformName () + .get instance default string NAnt.VSNet.VBProject::get_FileExtension () } - .class nested public auto ansi sealed ExpansionHandler - extends [mscorlib]System.MulticastDelegate - { - - // method line 724 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (object 'object', native int 'method') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method ExpansionHandler::.ctor - - // method line 725 - .method public virtual hidebysig newslot - instance default string Invoke (string 'value') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method ExpansionHandler::Invoke - - // method line 726 - .method public virtual hidebysig newslot - instance default class [mscorlib]System.IAsyncResult BeginInvoke (string 'value', class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method ExpansionHandler::BeginInvoke - - // method line 727 - .method public virtual hidebysig newslot - instance default string EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed - { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method ExpansionHandler::EndInvoke - - } // end of class ExpansionHandler - - } // end of class NAnt.VSNet.VcConfigurationBase + } // end of class NAnt.VSNet.VBProject } /usr/share/NAnt/bin/NAnt.VSNetTasks.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.VSNetTasks.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.VSNetTasks.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,151 +4,290 @@ NAnt.VSNetTasks - + - Analyses Microsoft Visual Studio .NET 2003 (Everett) solution files. + Compiles VS.NET solutions (or sets of projects), automatically determining + project dependencies from inter-project references. + + + This task support the following projects: + + + + Visual Basic .NET + + + Visual C# .NET + + + Visual J# .NET + + + Visual C++ .NET + + + + Right now, only Microsoft Visual Studio .NET 2002 and 2003 solutions + and projects are supported. Support for .NET Compact Framework projects + is also not available at this time. + + + The also supports the model of referencing + projects by their output filenames, rather than referencing them inside + the solution. It will automatically detect the existance of a file + reference and convert it to a project reference. For example, if project + "A" references the file in the release output directory of + project "B", the will automatically + convert this to a project dependency on project "B" and will + reference the appropriate configuration output directory at the final + build time (ie: reference the debug version of "B" if the + solution is built as debug). + + + The expects all project files to be valid + XML files. + +

Resx Files

+ + When building a project for a down-level target framework, special care + should be given to resx files. Resx files (can) contain references to + a specific version of CLR types, and as such are only upward compatible. + + + For example: if you want to be able to build a project both as a .NET 1.0 + and .NET 1.1 assembly, the resx files should only contain references to + .NET 1.0 CLR types. Failure to do this may result in a + failure at runtime on machines with only the .NET Framework 1.0 installed. + +
+ + + Compiles all of the projects in test.sln, in release mode, in + the proper order. + + + + ]]> + + + + + Compiles all of the projects in projects.txt, in the proper + order. + + + + + + +
+ ]]> + + + + + Compiles projects A, B and C, using the output of project X as a + reference. + + + + + + + + + + + +
+ ]]> + + + + + Compiles all of the projects in the solution except for project A. + + + + + + +
+ ]]> + + + + + Compiles all of the projects in the solution mapping the specific project at + http://localhost/A/A.csproj to c:\inetpub\wwwroot\A\A.csproj and any URLs under + http://localhost/B/[remainder] to c:\other\B\[remainder]. This allows the build + to work without WebDAV. + + + + + + + +
+ ]]> + + + + + Compiles all of the projects in the solution placing compiled outputs + in c:\temp. + + + ]]> + + - + - Defines how the project is using the MFC library. + Private var containing custom properties. - + - Don't use MFC. + Initializes a new instance of the class. - + - Use MFC in a Static Library. + The projects to build. - + - Use MFC in a Shared DLL. + The projects to scan, but not build. + + These projects are used to resolve project references and are + generally external to the solution being built. References to + these project's output files are converted to use the appropriate + solution configuration at build time. + - + - Defines how the project is using the ATL library. + The name of the VS.NET solution file to build. + + + The can be used instead to supply a list + of Visual Studio.NET projects that should be built. + + PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.VisualCppTasks.dll /usr/share/NAnt/bin/NAnt.VisualCppTasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.VisualCppTasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.VisualCppTasks.dll (monodis) @@ -57,1806 +57,1968 @@ .module NAnt.VisualCppTasks.dll // GUID = { 42 } -.namespace NAnt.VisualCpp.Types +.namespace NAnt.VisualCpp.Tasks { - .class public auto ansi serializable beforefieldinit LibraryCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit LinkTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6C 69 6E 6B 00 00 ) // ...link.. + .field private string _responseFileName + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private class [mscorlib]System.IO.FileInfo _pdbFile + .field private class [mscorlib]System.IO.FileInfo _moduleDefinition + .field private bool _debug + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _libdirs + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _modules + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _delayLoadedDlls + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _embeddedResources + .field private class NAnt.VisualCpp.Types.SymbolCollection _symbols + .field private class NAnt.VisualCpp.Types.LibraryCollection _ignoreLibraries + .field private string _options // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { // Method begins at RVA 0x2050 - // Code size 8 (0x8) - .maxstack 8 + // Code size 84 (0x54) + .maxstack 2 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method LibraryCollection::.ctor + IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_sources + IL_000b: ldarg.0 + IL_000c: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0011: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_libdirs + IL_0016: ldarg.0 + IL_0017: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_001c: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_modules + IL_0021: ldarg.0 + IL_0022: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0027: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_delayLoadedDlls + IL_002c: ldarg.0 + IL_002d: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0032: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_embeddedResources + IL_0037: ldarg.0 + IL_0038: newobj instance void class NAnt.VisualCpp.Types.SymbolCollection::'.ctor'() + IL_003d: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::_symbols + IL_0042: ldarg.0 + IL_0043: newobj instance void class NAnt.VisualCpp.Types.LibraryCollection::'.ctor'() + IL_0048: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::_ignoreLibraries + IL_004d: ldarg.0 + IL_004e: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0053: ret + } // end of method LinkTask::.ctor // method line 2 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VisualCpp.Types.LibraryCollection 'value') cil managed + .method public hidebysig specialname + instance default string get_Options () cil managed { - // Method begins at RVA 0x2059 + // Method begins at RVA 0x20b0 // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VisualCpp.Types.LibraryCollection::AddRange(class NAnt.VisualCpp.Types.LibraryCollection) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_options + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method LibraryCollection::.ctor + } // end of method LinkTask::get_Options // method line 3 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VisualCpp.Types.Library[] 'value') cil managed + .method public hidebysig specialname + instance default void set_Options (string 'value') cil managed { - // Method begins at RVA 0x2069 - // Code size 15 (0xf) + // Method begins at RVA 0x20cb + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VisualCpp.Types.LibraryCollection::AddRange(class NAnt.VisualCpp.Types.Library[]) - IL_000e: ret - } // end of method LibraryCollection::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.VisualCpp.Tasks.LinkTask::_options + IL_0008: ret + } // end of method LinkTask::set_Options // method line 4 .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.Library get_Item (int32 index) cil managed + instance default bool get_Debug () cil managed { - // Method begins at RVA 0x207c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x20d8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.VisualCpp.Types.Library V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.VisualCpp.Types.Library - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld bool NAnt.VisualCpp.Tasks.LinkTask::_debug + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method LibraryCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LinkTask::get_Debug // method line 5 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.VisualCpp.Types.Library 'value') cil managed + instance default void set_Debug (bool 'value') cil managed { - // Method begins at RVA 0x20a2 - // Code size 15 (0xf) + // Method begins at RVA 0x20f3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method LibraryCollection::set_Item + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.VisualCpp.Tasks.LinkTask::_debug + IL_0008: ret + } // end of method LinkTask::set_Debug // method line 6 - .method public hidebysig - instance default int32 Add (class NAnt.VisualCpp.Types.Library item) cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x20b4 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x2100 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_outputFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method LibraryCollection::Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LinkTask::get_OutputFile // method line 7 - .method public hidebysig - instance default void AddRange (class NAnt.VisualCpp.Types.Library[] items) cil managed + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x20d8 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x211b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.VisualCpp.Types.LibraryCollection::Add(class NAnt.VisualCpp.Types.Library) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 - - IL_0021: ret - } // end of method LibraryCollection::AddRange + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_outputFile + IL_0008: ret + } // end of method LinkTask::set_OutputFile // method line 8 - .method public hidebysig - instance default void AddRange (class NAnt.VisualCpp.Types.LibraryCollection items) cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ProgramDatabaseFile () cil managed { - // Method begins at RVA 0x2108 - // Code size 41 (0x29) + // Method begins at RVA 0x2128 + // Code size 71 (0x47) .maxstack 3 .locals init ( - int32 V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.VisualCpp.Tasks.LinkTask::get_Debug() + IL_0007: brfalse IL_0039 + + IL_000c: ldarg.0 + IL_000d: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile + IL_0012: brtrue IL_0039 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.VisualCpp.Types.Library class NAnt.VisualCpp.Types.LibraryCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.VisualCpp.Types.LibraryCollection::Add(class NAnt.VisualCpp.Types.Library) - IL_0016: pop IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0018: ldarg.0 + IL_0019: ldarg.0 + IL_001a: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_001f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0024: ldstr ".pdb" + IL_0029: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_002e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0033: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile + IL_0038: nop + IL_0039: ldarg.0 + IL_003a: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile + IL_003f: stloc.0 + IL_0040: br IL_0045 - IL_0028: ret - } // end of method LibraryCollection::AddRange + IL_0045: ldloc.0 + IL_0046: ret + } // end of method LinkTask::get_ProgramDatabaseFile // method line 9 - .method public hidebysig - instance default bool Contains (class NAnt.VisualCpp.Types.Library item) cil managed + .method public hidebysig specialname + instance default void set_ProgramDatabaseFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2140 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x217b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method LibraryCollection::Contains + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile + IL_0008: ret + } // end of method LinkTask::set_ProgramDatabaseFile // method line 10 - .method public hidebysig - instance default void CopyTo (class NAnt.VisualCpp.Types.Library[] 'array', int32 index) cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ModuleDefinition () cil managed { - // Method begins at RVA 0x2161 + // Method begins at RVA 0x2188 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_moduleDefinition + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method LibraryCollection::CopyTo + } // end of method LinkTask::get_ModuleDefinition // method line 11 - .method public hidebysig - instance default int32 IndexOf (class NAnt.VisualCpp.Types.Library item) cil managed + .method public hidebysig specialname + instance default void set_ModuleDefinition (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2174 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) + // Method begins at RVA 0x21a3 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method LibraryCollection::IndexOf + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_moduleDefinition + IL_0008: ret + } // end of method LinkTask::set_ModuleDefinition // method line 12 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.VisualCpp.Types.Library item) cil managed + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_DelayLoadedDlls () cil managed { - // Method begins at RVA 0x2195 + // Method begins at RVA 0x21b0 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_delayLoadedDlls + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method LibraryCollection::Insert + } // end of method LinkTask::get_DelayLoadedDlls // method line 13 - .method public hidebysig - instance default class NAnt.VisualCpp.Types.LibraryEnumerator GetEnumerator () cil managed + .method public hidebysig specialname + instance default void set_DelayLoadedDlls (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x21cb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_delayLoadedDlls + IL_0008: ret + } // end of method LinkTask::set_DelayLoadedDlls + + // method line 14 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed { - // Method begins at RVA 0x21a8 + // Method begins at RVA 0x21d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VisualCpp.Types.LibraryEnumerator V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VisualCpp.Types.LibraryEnumerator::'.ctor'(class NAnt.VisualCpp.Types.LibraryCollection) + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_sources IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LibraryCollection::GetEnumerator + } // end of method LinkTask::get_Sources - // method line 14 - .method public hidebysig - instance default void Remove (class NAnt.VisualCpp.Types.Library item) cil managed + // method line 15 + .method public hidebysig specialname + instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x21c3 - // Code size 14 (0xe) + // Method begins at RVA 0x21f3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method LibraryCollection::Remove - - .property instance class NAnt.VisualCpp.Types.Library Item (int32) - { - .get instance default class NAnt.VisualCpp.Types.Library NAnt.VisualCpp.Types.LibraryCollection::get_Item (int32 index) - .set instance default void NAnt.VisualCpp.Types.LibraryCollection::set_Item (int32 index, class NAnt.VisualCpp.Types.Library 'value') - } - } // end of class NAnt.VisualCpp.Types.LibraryCollection -} - -.namespace NAnt.VisualCpp.Types -{ - .class public auto ansi beforefieldinit LibraryEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - - // method line 15 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VisualCpp.Types.LibraryCollection arguments) cil managed - { - // Method begins at RVA 0x21d4 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator - IL_0015: ret - } // end of method LibraryEnumerator::.ctor + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_sources + IL_0008: ret + } // end of method LinkTask::set_Sources // method line 16 .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.Library get_Current () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_LibDirs () cil managed { - // Method begins at RVA 0x21f8 - // Code size 25 (0x19) + // Method begins at RVA 0x2200 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VisualCpp.Types.Library V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.VisualCpp.Types.Library - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_libdirs + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method LibraryEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LinkTask::get_LibDirs // method line 17 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + .method public hidebysig specialname + instance default void set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x2220 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0x221b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method LibraryEnumerator::System.Collections.IEnumerator.get_Current + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_libdirs + IL_0008: ret + } // end of method LinkTask::set_LibDirs // method line 18 - .method public hidebysig - instance default bool MoveNext () cil managed + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Modules () cil managed { - // Method begins at RVA 0x2240 - // Code size 20 (0x14) + // Method begins at RVA 0x2228 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_modules + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method LibraryEnumerator::MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LinkTask::get_Modules // method line 19 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + .method public hidebysig specialname + instance default void set_Modules (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x2260 - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x2243 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method LibraryEnumerator::System.Collections.IEnumerator.MoveNext + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_modules + IL_0008: ret + } // end of method LinkTask::set_Modules // method line 20 - .method public hidebysig - instance default void Reset () cil managed + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_EmbeddedResources () cil managed { - // Method begins at RVA 0x2280 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x2250 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method LibraryEnumerator::Reset - - // method line 21 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x228e - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method LibraryEnumerator::System.Collections.IEnumerator.Reset - - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.VisualCpp.Types.LibraryEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.VisualCpp.Types.Library Current () - { - .get instance default class NAnt.VisualCpp.Types.Library NAnt.VisualCpp.Types.LibraryEnumerator::get_Current () - } - } // end of class NAnt.VisualCpp.Types.LibraryEnumerator -} - -.namespace NAnt.VisualCpp.Types -{ - .class public auto ansi beforefieldinit Library - extends [NAnt.Core]NAnt.Core.Element - { - .field private string _libraryName - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 22 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x229c - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.VisualCpp.Types.Library::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Library::.ctor - - // method line 23 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0x22ac - // Code size 40 (0x28) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.VisualCpp.Types.Library::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: brtrue IL_0020 - - IL_0014: nop - IL_0015: ldstr "name" - IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001f: throw - IL_0020: ldarg.0 - IL_0021: ldarg.1 - IL_0022: stfld string NAnt.VisualCpp.Types.Library::_libraryName - IL_0027: ret - } // end of method Library::.ctor - - // method line 24 - .method public hidebysig specialname - instance default string get_LibraryName () cil managed - { - // Method begins at RVA 0x22d8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Types.Library::_libraryName - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_embeddedResources + IL_0007: stloc.0 + IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Library::get_LibraryName + } // end of method LinkTask::get_EmbeddedResources - // method line 25 + // method line 21 .method public hidebysig specialname - instance default void set_LibraryName (string 'value') cil managed + instance default void set_EmbeddedResources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x22f3 + // Method begins at RVA 0x226b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VisualCpp.Types.Library::_libraryName + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_embeddedResources IL_0008: ret - } // end of method Library::set_LibraryName + } // end of method LinkTask::set_EmbeddedResources - // method line 26 + // method line 22 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default class NAnt.VisualCpp.Types.SymbolCollection get_Symbols () cil managed { - // Method begins at RVA 0x2300 + // Method begins at RVA 0x2278 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.VisualCpp.Types.SymbolCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VisualCpp.Types.Library::_ifDefined + IL_0002: ldfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::_symbols IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Library::get_IfDefined + } // end of method LinkTask::get_Symbols - // method line 27 + // method line 23 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') cil managed { - // Method begins at RVA 0x231b + // Method begins at RVA 0x2293 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VisualCpp.Types.Library::_ifDefined + IL_0003: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::_symbols IL_0008: ret - } // end of method Library::set_IfDefined + } // end of method LinkTask::set_Symbols - // method line 28 + // method line 24 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class NAnt.VisualCpp.Types.LibraryCollection get_IgnoreLibraries () cil managed { - // Method begins at RVA 0x2328 + // Method begins at RVA 0x22a0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.VisualCpp.Types.LibraryCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VisualCpp.Types.Library::_unlessDefined + IL_0002: ldfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::_ignoreLibraries IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Library::get_UnlessDefined + } // end of method LinkTask::get_IgnoreLibraries - // method line 29 + // method line 25 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') cil managed { - // Method begins at RVA 0x2343 + // Method begins at RVA 0x22bb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VisualCpp.Types.Library::_unlessDefined + IL_0003: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::_ignoreLibraries IL_0008: ret - } // end of method Library::set_UnlessDefined - - .property instance string LibraryName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.VisualCpp.Types.Library::get_LibraryName () - .set instance default void NAnt.VisualCpp.Types.Library::set_LibraryName (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.VisualCpp.Types.Library::get_IfDefined () - .set instance default void NAnt.VisualCpp.Types.Library::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.VisualCpp.Types.Library::get_UnlessDefined () - .set instance default void NAnt.VisualCpp.Types.Library::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.VisualCpp.Types.Library -} - -.namespace NAnt.VisualCpp.Types -{ - .class public auto ansi sealed CharacterSet - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VisualCpp.Types.CharacterSet NotSet = int32(0x00000000) - .field public static literal valuetype NAnt.VisualCpp.Types.CharacterSet Unicode = int32(0x00000001) - .field public static literal valuetype NAnt.VisualCpp.Types.CharacterSet MultiByte = int32(0x00000002) - - } // end of class NAnt.VisualCpp.Types.CharacterSet -} - -.namespace NAnt.VisualCpp.Types -{ - .class public auto ansi beforefieldinit Symbol - extends [NAnt.Core]NAnt.Core.Element - { - .field private string _symbolName - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 30 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x234d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Symbol::.ctor - - // method line 31 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0x235d - // Code size 40 (0x28) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: brtrue IL_0020 - - IL_0014: nop - IL_0015: ldstr "name" - IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_001f: throw - IL_0020: ldarg.0 - IL_0021: ldarg.1 - IL_0022: stfld string NAnt.VisualCpp.Types.Symbol::_symbolName - IL_0027: ret - } // end of method Symbol::.ctor + } // end of method LinkTask::set_IgnoreLibraries - // method line 32 - .method public hidebysig specialname - instance default string get_SymbolName () cil managed + // method line 26 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed { - // Method begins at RVA 0x2388 + // Method begins at RVA 0x22c8 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Types.Symbol::_symbolName + IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Symbol::get_SymbolName + } // end of method LinkTask::get_ProgramFileName - // method line 33 - .method public hidebysig specialname - instance default void set_SymbolName (string 'value') cil managed + // method line 27 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x23a3 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x22e4 + // Code size 30 (0x1e) + .maxstack 3 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VisualCpp.Types.Symbol::_symbolName - IL_0008: ret - } // end of method Symbol::set_SymbolName - - // method line 34 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x23b0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Symbol::get_IfDefined + IL_0001: ldstr "@\"" + IL_0006: ldarg.0 + IL_0007: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName + IL_000c: ldstr "\"" + IL_0011: call string string::Concat(string, string, string) + IL_0016: stloc.0 + IL_0017: br IL_001c - // method line 35 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x23cb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined - IL_0008: ret - } // end of method Symbol::set_IfDefined + IL_001c: ldloc.0 + IL_001d: ret + } // end of method LinkTask::get_ProgramArguments - // method line 36 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 28 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x23d8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2310 + // Code size 1239 (0x4d7) + .maxstack 7 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VisualCpp.Types.Symbol::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Symbol::get_UnlessDefined - - // method line 37 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x23f3 - // Code size 9 (0x9) - .maxstack 8 + class [mscorlib]System.IO.StreamWriter V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + string V_7, + class [System]System.Collections.Specialized.StringEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + string V_10, + class [System]System.Collections.Specialized.StringEnumerator V_11, + class [mscorlib]System.IDisposable V_12, + class NAnt.VisualCpp.Types.Symbol V_13, + class NAnt.VisualCpp.Types.SymbolEnumerator V_14, + class [mscorlib]System.IDisposable V_15, + class NAnt.VisualCpp.Types.Library V_16, + class NAnt.VisualCpp.Types.LibraryEnumerator V_17, + class [mscorlib]System.IDisposable V_18, + string V_19, + class [System]System.Collections.Specialized.StringEnumerator V_20, + class [mscorlib]System.IDisposable V_21, + class [mscorlib]System.IO.StreamReader V_22) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VisualCpp.Types.Symbol::_unlessDefined - IL_0008: ret - } // end of method Symbol::set_UnlessDefined + IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - .property instance string SymbolName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0018: ldarg.0 + IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0039: brtrue IL_005b - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_0045: ldarg.0 + IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0055: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_005a: nop + IL_005b: ldarg.0 + IL_005c: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_0061: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0066: brtrue IL_0088 - .get instance default string NAnt.VisualCpp.Types.Symbol::get_SymbolName () - .set instance default void NAnt.VisualCpp.Types.Symbol::set_SymbolName (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + IL_006b: nop + IL_006c: ldarg.0 + IL_006d: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_0072: ldarg.0 + IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0078: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_007d: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0082: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0087: nop + IL_0088: ldarg.0 + IL_0089: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_008e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0093: brtrue IL_00b5 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0098: nop + IL_0099: ldarg.0 + IL_009a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_009f: ldarg.0 + IL_00a0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_00a5: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_00aa: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00b4: nop + IL_00b5: ldarg.0 + IL_00b6: callvirt instance bool class NAnt.VisualCpp.Tasks.LinkTask::NeedsLinking() + IL_00bb: brfalse IL_04d6 - .get instance default bool NAnt.VisualCpp.Types.Symbol::get_IfDefined () - .set instance default void NAnt.VisualCpp.Types.Symbol::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + IL_00c0: nop + IL_00c1: ldarg.0 + IL_00c2: ldc.i4 3000 + IL_00c7: ldstr "Linking {0} files." + IL_00cc: ldc.i4.1 + IL_00cd: newarr [mscorlib]System.Object + IL_00d2: dup + IL_00d3: ldc.i4.0 + IL_00d4: ldarg.0 + IL_00d5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_00da: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00df: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00e4: box [mscorlib]System.Int32 + IL_00e9: stelem.ref + IL_00ea: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00ef: ldarg.0 + IL_00f0: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_00f5: stfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName + IL_00fa: ldarg.0 + IL_00fb: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName + IL_0100: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_0105: stloc.0 + .try { // 7 + IL_0106: nop + IL_0107: ldloc.0 + IL_0108: ldstr "/OUT:\"{0}\"" + IL_010d: ldarg.0 + IL_010e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_0113: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0118: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_011d: ldarg.0 + IL_011e: call instance string class NAnt.VisualCpp.Tasks.LinkTask::get_Options() + IL_0123: brfalse IL_0136 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0128: nop + IL_0129: ldloc.0 + IL_012a: ldarg.0 + IL_012b: call instance string class NAnt.VisualCpp.Tasks.LinkTask::get_Options() + IL_0130: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0135: nop + IL_0136: ldarg.0 + IL_0137: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() + IL_013c: brfalse IL_0159 - .get instance default bool NAnt.VisualCpp.Types.Symbol::get_UnlessDefined () - .set instance default void NAnt.VisualCpp.Types.Symbol::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.VisualCpp.Types.Symbol -} + IL_0141: nop + IL_0142: ldloc.0 + IL_0143: ldstr "/DEF:\"{0}\"" + IL_0148: ldarg.0 + IL_0149: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() + IL_014e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0153: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0158: nop + IL_0159: nop + IL_015a: ldarg.0 + IL_015b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_0160: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0165: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_016a: stloc.2 + .try { // 0 + IL_016b: br IL_018a -.namespace NAnt.VisualCpp.Types -{ - .class public auto ansi serializable beforefieldinit SymbolCollection - extends [mscorlib]System.Collections.CollectionBase - { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + IL_0170: ldloc.2 + IL_0171: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0176: stloc.1 + IL_0177: nop + IL_0178: ldloc.0 + IL_0179: ldstr "/LIBPATH:{0}" + IL_017e: ldloc.1 + IL_017f: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_0184: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0189: nop + IL_018a: ldloc.2 + IL_018b: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0190: brtrue IL_0170 + IL_0195: leave IL_01ae - // method line 38 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x23fd - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method SymbolCollection::.ctor - - // method line 39 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VisualCpp.Types.SymbolCollection 'value') cil managed - { - // Method begins at RVA 0x2406 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VisualCpp.Types.SymbolCollection::AddRange(class NAnt.VisualCpp.Types.SymbolCollection) - IL_000e: ret - } // end of method SymbolCollection::.ctor + } // end .try 0 + finally { // 0 + IL_019a: ldloc.2 + IL_019b: isinst [mscorlib]System.IDisposable + IL_01a0: dup + IL_01a1: stloc.3 + IL_01a2: brfalse IL_01ad - // method line 40 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VisualCpp.Types.Symbol[] 'value') cil managed - { - // Method begins at RVA 0x2416 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.VisualCpp.Types.SymbolCollection::AddRange(class NAnt.VisualCpp.Types.Symbol[]) - IL_000e: ret - } // end of method SymbolCollection::.ctor + IL_01a7: ldloc.3 + IL_01a8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01ad: endfinally + } // end handler 0 + IL_01ae: nop + IL_01af: ldarg.0 + IL_01b0: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_01b5: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01ba: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_01bf: stloc.s 5 + .try { // 1 + IL_01c1: br IL_01e3 - // method line 41 - .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.Symbol get_Item (int32 index) cil managed - { - // Method begins at RVA 0x2428 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.VisualCpp.Types.Symbol V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.VisualCpp.Types.Symbol - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_01c6: ldloc.s 5 + IL_01c8: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_01cd: stloc.s 4 + IL_01cf: nop + IL_01d0: ldloc.0 + IL_01d1: ldstr "/ASSEMBLYMODULE:{0}" + IL_01d6: ldloc.s 4 + IL_01d8: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_01dd: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_01e2: nop + IL_01e3: ldloc.s 5 + IL_01e5: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_01ea: brtrue IL_01c6 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method SymbolCollection::get_Item + IL_01ef: leave IL_020b - // method line 42 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.VisualCpp.Types.Symbol 'value') cil managed - { - // Method begins at RVA 0x244e - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method SymbolCollection::set_Item + } // end .try 1 + finally { // 1 + IL_01f4: ldloc.s 5 + IL_01f6: isinst [mscorlib]System.IDisposable + IL_01fb: dup + IL_01fc: stloc.s 6 + IL_01fe: brfalse IL_020a - // method line 43 - .method public hidebysig - instance default int32 Add (class NAnt.VisualCpp.Types.Symbol item) cil managed - { - // Method begins at RVA 0x2460 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0203: ldloc.s 6 + IL_0205: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_020a: endfinally + } // end handler 1 + IL_020b: nop + IL_020c: ldarg.0 + IL_020d: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_DelayLoadedDlls() + IL_0212: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0217: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_021c: stloc.s 8 + .try { // 2 + IL_021e: br IL_0240 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method SymbolCollection::Add + IL_0223: ldloc.s 8 + IL_0225: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_022a: stloc.s 7 + IL_022c: nop + IL_022d: ldloc.0 + IL_022e: ldstr "/DELAYLOAD:{0}" + IL_0233: ldloc.s 7 + IL_0235: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_023a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_023f: nop + IL_0240: ldloc.s 8 + IL_0242: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0247: brtrue IL_0223 - // method line 44 - .method public hidebysig - instance default void AddRange (class NAnt.VisualCpp.Types.Symbol[] items) cil managed - { - // Method begins at RVA 0x2484 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 + IL_024c: leave IL_0268 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.VisualCpp.Types.SymbolCollection::Add(class NAnt.VisualCpp.Types.Symbol) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + } // end .try 2 + finally { // 2 + IL_0251: ldloc.s 8 + IL_0253: isinst [mscorlib]System.IDisposable + IL_0258: dup + IL_0259: stloc.s 9 + IL_025b: brfalse IL_0267 - IL_0021: ret - } // end of method SymbolCollection::AddRange + IL_0260: ldloc.s 9 + IL_0262: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0267: endfinally + } // end handler 2 + IL_0268: nop + IL_0269: ldarg.0 + IL_026a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_026f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0274: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0279: stloc.s 11 + .try { // 3 + IL_027b: br IL_029d - // method line 45 - .method public hidebysig - instance default void AddRange (class NAnt.VisualCpp.Types.SymbolCollection items) cil managed - { - // Method begins at RVA 0x24b4 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c + IL_0280: ldloc.s 11 + IL_0282: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0287: stloc.s 10 + IL_0289: nop + IL_028a: ldloc.0 + IL_028b: ldstr "/ASSEMBLYRESOURCE:{0}" + IL_0290: ldloc.s 10 + IL_0292: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_0297: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_029c: nop + IL_029d: ldloc.s 11 + IL_029f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_02a4: brtrue IL_0280 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.VisualCpp.Types.Symbol class NAnt.VisualCpp.Types.SymbolCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.VisualCpp.Types.SymbolCollection::Add(class NAnt.VisualCpp.Types.Symbol) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_02a9: leave IL_02c5 - IL_0028: ret - } // end of method SymbolCollection::AddRange + } // end .try 3 + finally { // 3 + IL_02ae: ldloc.s 11 + IL_02b0: isinst [mscorlib]System.IDisposable + IL_02b5: dup + IL_02b6: stloc.s 12 + IL_02b8: brfalse IL_02c4 - // method line 46 - .method public hidebysig - instance default bool Contains (class NAnt.VisualCpp.Types.Symbol item) cil managed - { - // Method begins at RVA 0x24ec - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method SymbolCollection::Contains + IL_02bd: ldloc.s 12 + IL_02bf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02c4: endfinally + } // end handler 3 + IL_02c5: nop + IL_02c6: ldarg.0 + IL_02c7: call instance class NAnt.VisualCpp.Types.SymbolCollection class NAnt.VisualCpp.Tasks.LinkTask::get_Symbols() + IL_02cc: callvirt instance class NAnt.VisualCpp.Types.SymbolEnumerator class NAnt.VisualCpp.Types.SymbolCollection::GetEnumerator() + IL_02d1: stloc.s 14 + .try { // 4 + IL_02d3: br IL_0314 - // method line 47 - .method public hidebysig - instance default void CopyTo (class NAnt.VisualCpp.Types.Symbol[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x250d - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method SymbolCollection::CopyTo + IL_02d8: ldloc.s 14 + IL_02da: callvirt instance class NAnt.VisualCpp.Types.Symbol class NAnt.VisualCpp.Types.SymbolEnumerator::get_Current() + IL_02df: stloc.s 13 + IL_02e1: nop + IL_02e2: ldloc.s 13 + IL_02e4: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_IfDefined() + IL_02e9: brfalse IL_0313 - // method line 48 - .method public hidebysig - instance default int32 IndexOf (class NAnt.VisualCpp.Types.Symbol item) cil managed - { - // Method begins at RVA 0x2520 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_02ee: ldloc.s 13 + IL_02f0: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_UnlessDefined() + IL_02f5: brtrue IL_0313 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method SymbolCollection::IndexOf + IL_02fa: nop + IL_02fb: ldloc.0 + IL_02fc: ldstr "/INCLUDE:{0}" + IL_0301: ldloc.s 13 + IL_0303: callvirt instance string class NAnt.VisualCpp.Types.Symbol::get_SymbolName() + IL_0308: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_030d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0312: nop + IL_0313: nop + IL_0314: ldloc.s 14 + IL_0316: callvirt instance bool class NAnt.VisualCpp.Types.SymbolEnumerator::MoveNext() + IL_031b: brtrue IL_02d8 - // method line 49 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.VisualCpp.Types.Symbol item) cil managed - { - // Method begins at RVA 0x2541 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method SymbolCollection::Insert + IL_0320: leave IL_033c - // method line 50 - .method public hidebysig - instance default class NAnt.VisualCpp.Types.SymbolEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x2554 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VisualCpp.Types.SymbolEnumerator V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.VisualCpp.Types.SymbolEnumerator::'.ctor'(class NAnt.VisualCpp.Types.SymbolCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 4 + finally { // 4 + IL_0325: ldloc.s 14 + IL_0327: isinst [mscorlib]System.IDisposable + IL_032c: dup + IL_032d: stloc.s 15 + IL_032f: brfalse IL_033b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method SymbolCollection::GetEnumerator + IL_0334: ldloc.s 15 + IL_0336: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_033b: endfinally + } // end handler 4 + IL_033c: nop + IL_033d: ldarg.0 + IL_033e: call instance class NAnt.VisualCpp.Types.LibraryCollection class NAnt.VisualCpp.Tasks.LinkTask::get_IgnoreLibraries() + IL_0343: callvirt instance class NAnt.VisualCpp.Types.LibraryEnumerator class NAnt.VisualCpp.Types.LibraryCollection::GetEnumerator() + IL_0348: stloc.s 17 + .try { // 5 + IL_034a: br IL_038b - // method line 51 - .method public hidebysig - instance default void Remove (class NAnt.VisualCpp.Types.Symbol item) cil managed - { - // Method begins at RVA 0x256f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) - IL_000d: ret - } // end of method SymbolCollection::Remove + IL_034f: ldloc.s 17 + IL_0351: callvirt instance class NAnt.VisualCpp.Types.Library class NAnt.VisualCpp.Types.LibraryEnumerator::get_Current() + IL_0356: stloc.s 16 + IL_0358: nop + IL_0359: ldloc.s 16 + IL_035b: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_IfDefined() + IL_0360: brfalse IL_038a - .property instance class NAnt.VisualCpp.Types.Symbol Item (int32) - { - .get instance default class NAnt.VisualCpp.Types.Symbol NAnt.VisualCpp.Types.SymbolCollection::get_Item (int32 index) - .set instance default void NAnt.VisualCpp.Types.SymbolCollection::set_Item (int32 index, class NAnt.VisualCpp.Types.Symbol 'value') - } - } // end of class NAnt.VisualCpp.Types.SymbolCollection -} + IL_0365: ldloc.s 16 + IL_0367: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_UnlessDefined() + IL_036c: brtrue IL_038a -.namespace NAnt.VisualCpp.Types -{ - .class public auto ansi beforefieldinit SymbolEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_0371: nop + IL_0372: ldloc.0 + IL_0373: ldstr "/NODEFAULTLIB:{0}" + IL_0378: ldloc.s 16 + IL_037a: callvirt instance string class NAnt.VisualCpp.Types.Library::get_LibraryName() + IL_037f: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_0384: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0389: nop + IL_038a: nop + IL_038b: ldloc.s 17 + IL_038d: callvirt instance bool class NAnt.VisualCpp.Types.LibraryEnumerator::MoveNext() + IL_0392: brtrue IL_034f - // method line 52 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.VisualCpp.Types.SymbolCollection arguments) cil managed - { - // Method begins at RVA 0x2580 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator - IL_0015: ret - } // end of method SymbolEnumerator::.ctor + IL_0397: leave IL_03b3 - // method line 53 - .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.Symbol get_Current () cil managed - { - // Method begins at RVA 0x25a4 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.VisualCpp.Types.Symbol V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.VisualCpp.Types.Symbol - IL_0011: stloc.0 - IL_0012: br IL_0017 + } // end .try 5 + finally { // 5 + IL_039c: ldloc.s 17 + IL_039e: isinst [mscorlib]System.IDisposable + IL_03a3: dup + IL_03a4: stloc.s 18 + IL_03a6: brfalse IL_03b2 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method SymbolEnumerator::get_Current + IL_03ab: ldloc.s 18 + IL_03ad: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_03b2: endfinally + } // end handler 5 + IL_03b3: ldarg.0 + IL_03b4: call instance bool class NAnt.VisualCpp.Tasks.LinkTask::get_Debug() + IL_03b9: brfalse IL_03cb - // method line 54 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x25cc - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_03be: nop + IL_03bf: ldloc.0 + IL_03c0: ldstr "/DEBUG" + IL_03c5: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_03ca: nop + IL_03cb: ldarg.0 + IL_03cc: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_03d1: brfalse IL_03f3 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method SymbolEnumerator::System.Collections.IEnumerator.get_Current - - // method line 55 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x25ec - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method SymbolEnumerator::MoveNext - - // method line 56 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x260c - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method SymbolEnumerator::System.Collections.IEnumerator.MoveNext + IL_03d6: nop + IL_03d7: ldloc.0 + IL_03d8: ldstr "/PDB:{0}" + IL_03dd: ldarg.0 + IL_03de: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_03e3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_03e8: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_03ed: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_03f2: nop + IL_03f3: ldloc.0 + IL_03f4: ldstr "/nologo" + IL_03f9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_03fe: nop + IL_03ff: ldarg.0 + IL_0400: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0405: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_040a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_040f: stloc.s 20 + .try { // 6 + IL_0411: br IL_042e - // method line 57 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x262c - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method SymbolEnumerator::Reset + IL_0416: ldloc.s 20 + IL_0418: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_041d: stloc.s 19 + IL_041f: nop + IL_0420: ldloc.0 + IL_0421: ldloc.s 19 + IL_0423: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) + IL_0428: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_042d: nop + IL_042e: ldloc.s 20 + IL_0430: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0435: brtrue IL_0416 - // method line 58 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x263a - .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method SymbolEnumerator::System.Collections.IEnumerator.Reset + IL_043a: leave IL_0456 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.VisualCpp.Types.SymbolEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.VisualCpp.Types.Symbol Current () - { - .get instance default class NAnt.VisualCpp.Types.Symbol NAnt.VisualCpp.Types.SymbolEnumerator::get_Current () - } - } // end of class NAnt.VisualCpp.Types.SymbolEnumerator -} + } // end .try 6 + finally { // 6 + IL_043f: ldloc.s 20 + IL_0441: isinst [mscorlib]System.IDisposable + IL_0446: dup + IL_0447: stloc.s 21 + IL_0449: brfalse IL_0455 -.namespace NAnt.VisualCpp.Tasks -{ - .class public auto ansi beforefieldinit LinkTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6C 69 6E 6B 00 00 ) // ...link.. + IL_044e: ldloc.s 21 + IL_0450: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0455: endfinally + } // end handler 6 + IL_0456: ldloc.0 + IL_0457: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_045c: ldarg.0 + IL_045d: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0462: brfalse IL_04ae - .field private string _responseFileName - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private class [mscorlib]System.IO.FileInfo _pdbFile - .field private class [mscorlib]System.IO.FileInfo _moduleDefinition - .field private bool _debug - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _libdirs - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _modules - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _delayLoadedDlls - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _embeddedResources - .field private class NAnt.VisualCpp.Types.SymbolCollection _symbols - .field private class NAnt.VisualCpp.Types.LibraryCollection _ignoreLibraries - .field private string _options + IL_0467: nop + IL_0468: ldarg.0 + IL_0469: ldc.i4 3000 + IL_046e: ldstr "Contents of {0}." + IL_0473: ldc.i4.1 + IL_0474: newarr [mscorlib]System.Object + IL_0479: dup + IL_047a: ldc.i4.0 + IL_047b: ldarg.0 + IL_047c: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName + IL_0481: stelem.ref + IL_0482: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0487: ldarg.0 + IL_0488: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName + IL_048d: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) + IL_0492: stloc.s 22 + IL_0494: ldarg.0 + IL_0495: ldc.i4 3000 + IL_049a: ldloc.s 22 + IL_049c: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_04a1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_04a6: ldloc.s 22 + IL_04a8: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_04ad: nop + IL_04ae: ldarg.0 + IL_04af: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_04b4: nop + IL_04b5: leave IL_04d5 - // method line 59 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2648 - // Code size 84 (0x54) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_sources - IL_000b: ldarg.0 - IL_000c: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0011: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_libdirs - IL_0016: ldarg.0 - IL_0017: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_001c: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_modules - IL_0021: ldarg.0 - IL_0022: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0027: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_delayLoadedDlls - IL_002c: ldarg.0 - IL_002d: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0032: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_embeddedResources - IL_0037: ldarg.0 - IL_0038: newobj instance void class NAnt.VisualCpp.Types.SymbolCollection::'.ctor'() - IL_003d: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::_symbols - IL_0042: ldarg.0 - IL_0043: newobj instance void class NAnt.VisualCpp.Types.LibraryCollection::'.ctor'() - IL_0048: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::_ignoreLibraries - IL_004d: ldarg.0 - IL_004e: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0053: ret - } // end of method LinkTask::.ctor + } // end .try 7 + finally { // 7 + IL_04ba: nop + IL_04bb: ldloc.0 + IL_04bc: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_04c1: ldarg.0 + IL_04c2: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName + IL_04c7: call void class [mscorlib]System.IO.File::Delete(string) + IL_04cc: ldarg.0 + IL_04cd: ldnull + IL_04ce: stfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName + IL_04d3: nop + IL_04d4: endfinally + } // end handler 7 + IL_04d5: nop + IL_04d6: ret + } // end of method LinkTask::ExecuteTask - // method line 60 - .method public hidebysig specialname - instance default string get_Options () cil managed + // method line 29 + .method family virtual hidebysig newslot + instance default bool NeedsLinking () cil managed { - // Method begins at RVA 0x26a8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x28b8 + // Code size 365 (0x16d) + .maxstack 7 .locals init ( - string V_0) + string V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_options - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_0007: brfalse IL_008e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LinkTask::get_Options + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_0013: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0018: brtrue IL_0049 - // method line 61 - .method public hidebysig specialname - instance default void set_Options (string 'value') cil managed - { - // Method begins at RVA 0x26c3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VisualCpp.Tasks.LinkTask::_options - IL_0008: ret - } // end of method LinkTask::set_Options + IL_001d: nop + IL_001e: ldarg.0 + IL_001f: ldc.i4 2000 + IL_0024: ldstr "PDB file '{0}' does not exist, relinking." + IL_0029: ldc.i4.1 + IL_002a: newarr [mscorlib]System.Object + IL_002f: dup + IL_0030: ldc.i4.0 + IL_0031: ldarg.0 + IL_0032: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_0037: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_003c: stelem.ref + IL_003d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0042: ldc.i4.1 + IL_0043: stloc.1 + IL_0044: br IL_016b - // method line 62 - .method public hidebysig specialname - instance default bool get_Debug () cil managed - { - // Method begins at RVA 0x26d0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VisualCpp.Tasks.LinkTask::_debug - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0049: ldarg.0 + IL_004a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_004f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0054: ldarg.0 + IL_0055: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() + IL_005a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_005f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0064: stloc.0 + IL_0065: ldloc.0 + IL_0066: brfalse IL_008d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LinkTask::get_Debug + IL_006b: nop + IL_006c: ldarg.0 + IL_006d: ldc.i4 2000 + IL_0072: ldstr "'{0}' has been updated, relinking." + IL_0077: ldc.i4.1 + IL_0078: newarr [mscorlib]System.Object + IL_007d: dup + IL_007e: ldc.i4.0 + IL_007f: ldloc.0 + IL_0080: stelem.ref + IL_0081: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0086: ldc.i4.1 + IL_0087: stloc.1 + IL_0088: br IL_016b - // method line 63 - .method public hidebysig specialname - instance default void set_Debug (bool 'value') cil managed - { - // Method begins at RVA 0x26eb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VisualCpp.Tasks.LinkTask::_debug - IL_0008: ret - } // end of method LinkTask::set_Debug + IL_008d: nop + IL_008e: ldarg.0 + IL_008f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_0094: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0099: brtrue IL_00ca - // method line 64 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed - { - // Method begins at RVA 0x26f8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_009e: nop + IL_009f: ldarg.0 + IL_00a0: ldc.i4 2000 + IL_00a5: ldstr "Output file '{0}' does not exist, relinking." + IL_00aa: ldc.i4.1 + IL_00ab: newarr [mscorlib]System.Object + IL_00b0: dup + IL_00b1: ldc.i4.0 + IL_00b2: ldarg.0 + IL_00b3: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_00b8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00bd: stelem.ref + IL_00be: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00c3: ldc.i4.1 + IL_00c4: stloc.1 + IL_00c5: br IL_016b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LinkTask::get_OutputFile + IL_00ca: ldarg.0 + IL_00cb: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_00d0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00d5: ldarg.0 + IL_00d6: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_00db: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00e0: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_00e5: stloc.0 + IL_00e6: ldloc.0 + IL_00e7: brfalse IL_010e - // method line 65 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2713 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_outputFile - IL_0008: ret - } // end of method LinkTask::set_OutputFile + IL_00ec: nop + IL_00ed: ldarg.0 + IL_00ee: ldc.i4 2000 + IL_00f3: ldstr "'{0}' has been updated, relinking." + IL_00f8: ldc.i4.1 + IL_00f9: newarr [mscorlib]System.Object + IL_00fe: dup + IL_00ff: ldc.i4.0 + IL_0100: ldloc.0 + IL_0101: stelem.ref + IL_0102: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0107: ldc.i4.1 + IL_0108: stloc.1 + IL_0109: br IL_016b - // method line 66 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ProgramDatabaseFile () cil managed - { - // Method begins at RVA 0x2720 - // Code size 71 (0x47) - .maxstack 3 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.VisualCpp.Tasks.LinkTask::get_Debug() - IL_0007: brfalse IL_0039 + IL_010e: ldarg.0 + IL_010f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() + IL_0114: brfalse IL_0164 - IL_000c: ldarg.0 - IL_000d: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile - IL_0012: brtrue IL_0039 + IL_0119: nop + IL_011a: ldarg.0 + IL_011b: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() + IL_0120: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0125: ldarg.0 + IL_0126: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() + IL_012b: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0130: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0135: stloc.0 + IL_0136: ldloc.0 + IL_0137: brfalse IL_0163 - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: ldarg.0 - IL_001a: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_001f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0024: ldstr ".pdb" - IL_0029: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_002e: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0033: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile - IL_0038: nop - IL_0039: ldarg.0 - IL_003a: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile - IL_003f: stloc.0 - IL_0040: br IL_0045 + IL_013c: nop + IL_013d: ldarg.0 + IL_013e: ldc.i4 2000 + IL_0143: ldstr "String_FileHasBeenUpdated" + IL_0148: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) + IL_014d: ldc.i4.1 + IL_014e: newarr [mscorlib]System.Object + IL_0153: dup + IL_0154: ldc.i4.0 + IL_0155: ldloc.0 + IL_0156: stelem.ref + IL_0157: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_015c: ldc.i4.1 + IL_015d: stloc.1 + IL_015e: br IL_016b - IL_0045: ldloc.0 - IL_0046: ret - } // end of method LinkTask::get_ProgramDatabaseFile + IL_0163: nop + IL_0164: ldc.i4.0 + IL_0165: stloc.1 + IL_0166: br IL_016b - // method line 67 - .method public hidebysig specialname - instance default void set_ProgramDatabaseFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2773 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_pdbFile - IL_0008: ret - } // end of method LinkTask::set_ProgramDatabaseFile + IL_016b: ldloc.1 + IL_016c: ret + } // end of method LinkTask::NeedsLinking - // method line 68 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ModuleDefinition () cil managed + // method line 30 + .method public static hidebysig + default string QuoteArgumentValue (string 'value') cil managed { - // Method begins at RVA 0x2780 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2a34 + // Code size 16 (0x10) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_moduleDefinition - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.1 + IL_0003: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LinkTask::get_ModuleDefinition + IL_000e: ldloc.0 + IL_000f: ret + } // end of method LinkTask::QuoteArgumentValue - // method line 69 - .method public hidebysig specialname - instance default void set_ModuleDefinition (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x279b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::_moduleDefinition - IL_0008: ret - } // end of method LinkTask::set_ModuleDefinition + .property instance string Options () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. - // method line 70 + .get instance default string NAnt.VisualCpp.Tasks.LinkTask::get_Options () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Options (string 'value') + } + .property instance bool Debug () + { + .get instance default bool NAnt.VisualCpp.Tasks.LinkTask::get_Debug () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Debug (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo ProgramDatabaseFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 64 62 66 69 6C 65 00 00 ) // ...pdbfile.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_ProgramDatabaseFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo ModuleDefinition () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 10 6D 6F 64 75 6C 65 64 65 66 69 6E 69 74 // ...moduledefinit + 69 6F 6E 00 00 ) // ion.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_ModuleDefinition (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet DelayLoadedDlls () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 64 65 6C 61 79 6C 6F 61 64 65 64 00 00 ) // ...delayloaded.. + + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_DelayLoadedDlls () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_DelayLoadedDlls (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 73 6F 75 72 63 65 73 00 00 ) // ...sources.. + + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_Sources () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet LibDirs () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6C 69 62 64 69 72 73 00 00 ) // ...libdirs.. + + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Modules () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6D 6F 64 75 6C 65 73 00 00 ) // ...modules.. + + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_Modules () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Modules (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet EmbeddedResources () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 11 65 6D 62 65 64 64 65 64 72 65 73 6F 75 // ...embeddedresou + 72 63 65 73 00 00 ) // rces.. + + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_EmbeddedResources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class NAnt.VisualCpp.Types.SymbolCollection Symbols () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 07 73 79 6D 62 6F 6C 73 06 73 79 6D 62 6F // ...symbols.symbo + 6C 00 00 ) // l.. + + .get instance default class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::get_Symbols () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') + } + .property instance class NAnt.VisualCpp.Types.LibraryCollection IgnoreLibraries () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 0F 69 67 6E 6F 72 65 6C 69 62 72 61 72 69 // ...ignorelibrari + 65 73 07 6C 69 62 72 61 72 79 00 00 ) // es.library.. + + .get instance default class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::get_IgnoreLibraries () + .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') + } + .property instance string ProgramFileName () + { + .get instance default string NAnt.VisualCpp.Tasks.LinkTask::get_ProgramFileName () + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.VisualCpp.Tasks.LinkTask::get_ProgramArguments () + } + } // end of class NAnt.VisualCpp.Tasks.LinkTask +} + +.namespace NAnt.VisualCpp.Tasks +{ + .class public auto ansi beforefieldinit ClTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 63 6C 00 00 ) // ...cl.. + + .field private string _responseFileName + .field private class [mscorlib]System.IO.DirectoryInfo _outputDir + .field private string _pchFile + .field private valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode _precompileHeaderMode + .field private string _pchThroughFile + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _includeDirs + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _metaDataIncludeDirs + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _forcedUsingFiles + .field private bool _managedExtensions + .field private valuetype NAnt.VisualCpp.Types.CharacterSet _characterSet + .field private string _options + .field private class [NAnt.Core]NAnt.Core.Types.OptionCollection _defines + .field private class [NAnt.Core]NAnt.Core.Types.OptionCollection _undefines + .field private string _objectFile + .field private string _pdbFile + .field private class [mscorlib]System.Collections.Hashtable _resolvedIncludes + .field private class [System]System.Text.RegularExpressions.Regex _includeRegex + .field private class [System]System.Collections.Specialized.StringCollection _dirtySources + + // method line 31 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x2a50 + // Code size 126 (0x7e) + .maxstack 2 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::_precompileHeaderMode + IL_0007: ldarg.0 + IL_0008: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_000d: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_sources + IL_0012: ldarg.0 + IL_0013: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0018: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_includeDirs + IL_001d: ldarg.0 + IL_001e: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0023: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_metaDataIncludeDirs + IL_0028: ldarg.0 + IL_0029: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_002e: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_forcedUsingFiles + IL_0033: ldarg.0 + IL_0034: ldc.i4.0 + IL_0035: stfld valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::_characterSet + IL_003a: ldarg.0 + IL_003b: newobj instance void class [NAnt.Core]NAnt.Core.Types.OptionCollection::'.ctor'() + IL_0040: stfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_defines + IL_0045: ldarg.0 + IL_0046: newobj instance void class [NAnt.Core]NAnt.Core.Types.OptionCollection::'.ctor'() + IL_004b: stfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_undefines + IL_0050: ldarg.0 + IL_0051: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0056: stfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources + IL_005b: ldarg.0 + IL_005c: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0061: nop + IL_0062: ldarg.0 + IL_0063: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0068: stfld class [mscorlib]System.Collections.Hashtable NAnt.VisualCpp.Tasks.ClTask::_resolvedIncludes + IL_006d: ldarg.0 + IL_006e: ldstr "^[\\s]*#include[\\s]*[\"<](?'includefile'[^\">]+)[\">][\\S\\s]*$" + IL_0073: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) + IL_0078: stfld class [System]System.Text.RegularExpressions.Regex NAnt.VisualCpp.Tasks.ClTask::_includeRegex + IL_007d: ret + } // end of method ClTask::.ctor + + // method line 32 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_DelayLoadedDlls () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed { - // Method begins at RVA 0x27a8 + // Method begins at RVA 0x2adc // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_delayLoadedDlls + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VisualCpp.Tasks.ClTask::_outputDir IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LinkTask::get_DelayLoadedDlls + } // end of method ClTask::get_OutputDir - // method line 71 + // method line 33 .method public hidebysig specialname - instance default void set_DelayLoadedDlls (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x27c3 + // Method begins at RVA 0x2af7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_delayLoadedDlls + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VisualCpp.Tasks.ClTask::_outputDir IL_0008: ret - } // end of method LinkTask::set_DelayLoadedDlls + } // end of method ClTask::set_OutputDir - // method line 72 + // method line 34 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed + instance default string get_PchFile () cil managed { - // Method begins at RVA 0x27d0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2b04 + // Code size 48 (0x30) + .maxstack 2 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_sources - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pchFile + IL_0007: brfalse IL_0027 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LinkTask::get_Sources + IL_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0017: ldarg.0 + IL_0018: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pchFile + IL_001d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0022: br IL_0028 - // method line 73 + IL_0027: ldnull + IL_0028: stloc.0 + IL_0029: br IL_002e + + IL_002e: ldloc.0 + IL_002f: ret + } // end of method ClTask::get_PchFile + + // method line 35 .method public hidebysig specialname - instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_PchFile (string 'value') cil managed { - // Method begins at RVA 0x27eb - // Code size 9 (0x9) + // Method begins at RVA 0x2b40 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_sources - IL_0008: ret - } // end of method LinkTask::set_Sources + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_pchFile + IL_000d: ret + } // end of method ClTask::set_PchFile - // method line 74 + // method line 36 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_LibDirs () cil managed + instance default string get_PchThroughFile () cil managed { - // Method begins at RVA 0x27f8 + // Method begins at RVA 0x2b50 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_libdirs + IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pchThroughFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LinkTask::get_LibDirs + } // end of method ClTask::get_PchThroughFile - // method line 75 + // method line 37 .method public hidebysig specialname - instance default void set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_PchThroughFile (string 'value') cil managed + { + // Method begins at RVA 0x2b6b + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_pchThroughFile + IL_000d: ret + } // end of method ClTask::set_PchThroughFile + + // method line 38 + .method public hidebysig specialname + instance default valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode get_PchMode () cil managed + { + // Method begins at RVA 0x2b7c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::_precompileHeaderMode + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ClTask::get_PchMode + + // method line 39 + .method public hidebysig specialname + instance default void set_PchMode (valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode 'value') cil managed + { + // Method begins at RVA 0x2b98 + // Code size 65 (0x41) + .maxstack 3 + IL_0000: nop + IL_0001: ldtoken NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: box NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode + IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0016: brtrue IL_0037 + + IL_001b: nop + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: ldstr "An invalid type {0} was specified." + IL_0026: ldarg.1 + IL_0027: box NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0036: throw + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldarg.1 + IL_003a: stfld valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::_precompileHeaderMode + IL_003f: nop + IL_0040: ret + } // end of method ClTask::set_PchMode + + // method line 40 + .method public hidebysig specialname + instance default bool get_ManagedExtensions () cil managed + { + // Method begins at RVA 0x2be8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VisualCpp.Tasks.ClTask::_managedExtensions + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ClTask::get_ManagedExtensions + + // method line 41 + .method public hidebysig specialname + instance default void set_ManagedExtensions (bool 'value') cil managed { - // Method begins at RVA 0x2813 + // Method begins at RVA 0x2c03 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_libdirs + IL_0003: stfld bool NAnt.VisualCpp.Tasks.ClTask::_managedExtensions IL_0008: ret - } // end of method LinkTask::set_LibDirs + } // end of method ClTask::set_ManagedExtensions - // method line 76 + // method line 42 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Modules () cil managed + instance default valuetype NAnt.VisualCpp.Types.CharacterSet get_CharacterSet () cil managed { - // Method begins at RVA 0x2820 + // Method begins at RVA 0x2c10 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + valuetype NAnt.VisualCpp.Types.CharacterSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_modules + IL_0002: ldfld valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::_characterSet IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LinkTask::get_Modules + } // end of method ClTask::get_CharacterSet - // method line 77 + // method line 43 .method public hidebysig specialname - instance default void set_Modules (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_CharacterSet (valuetype NAnt.VisualCpp.Types.CharacterSet 'value') cil managed + { + // Method begins at RVA 0x2c2c + // Code size 65 (0x41) + .maxstack 3 + IL_0000: nop + IL_0001: ldtoken NAnt.VisualCpp.Types.CharacterSet + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.1 + IL_000c: box NAnt.VisualCpp.Types.CharacterSet + IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) + IL_0016: brtrue IL_0037 + + IL_001b: nop + IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0021: ldstr "An invalid character set '{0}' was specified." + IL_0026: ldarg.1 + IL_0027: box NAnt.VisualCpp.Types.CharacterSet + IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0036: throw + IL_0037: nop + IL_0038: ldarg.0 + IL_0039: ldarg.1 + IL_003a: stfld valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::_characterSet + IL_003f: nop + IL_0040: ret + } // end of method ClTask::set_CharacterSet + + // method line 44 + .method public hidebysig specialname + instance default string get_Options () cil managed + { + // Method begins at RVA 0x2c7c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_options + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ClTask::get_Options + + // method line 45 + .method public hidebysig specialname + instance default void set_Options (string 'value') cil managed { - // Method begins at RVA 0x283b + // Method begins at RVA 0x2c97 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_modules + IL_0003: stfld string NAnt.VisualCpp.Tasks.ClTask::_options IL_0008: ret - } // end of method LinkTask::set_Modules + } // end of method ClTask::set_Options - // method line 78 + // method line 46 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_EmbeddedResources () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed { - // Method begins at RVA 0x2848 + // Method begins at RVA 0x2ca4 // Code size 15 (0xf) .maxstack 1 .locals init ( class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_embeddedResources + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_sources IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LinkTask::get_EmbeddedResources + } // end of method ClTask::get_Sources - // method line 79 + // method line 47 .method public hidebysig specialname - instance default void set_EmbeddedResources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x2863 + // Method begins at RVA 0x2cbf // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::_embeddedResources + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_sources IL_0008: ret - } // end of method LinkTask::set_EmbeddedResources + } // end of method ClTask::set_Sources - // method line 80 + // method line 48 .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.SymbolCollection get_Symbols () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_IncludeDirs () cil managed { - // Method begins at RVA 0x2870 + // Method begins at RVA 0x2ccc // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VisualCpp.Types.SymbolCollection V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::_symbols + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_includeDirs IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LinkTask::get_Symbols + } // end of method ClTask::get_IncludeDirs - // method line 81 + // method line 49 .method public hidebysig specialname - instance default void set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') cil managed + instance default void set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x288b + // Method begins at RVA 0x2ce7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::_symbols + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_includeDirs IL_0008: ret - } // end of method LinkTask::set_Symbols + } // end of method ClTask::set_IncludeDirs - // method line 82 + // method line 50 .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.LibraryCollection get_IgnoreLibraries () cil managed + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_MetaDataIncludeDirs () cil managed { - // Method begins at RVA 0x2898 + // Method begins at RVA 0x2cf4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.VisualCpp.Types.LibraryCollection V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::_ignoreLibraries + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_metaDataIncludeDirs IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LinkTask::get_IgnoreLibraries + } // end of method ClTask::get_MetaDataIncludeDirs - // method line 83 + // method line 51 .method public hidebysig specialname - instance default void set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') cil managed + instance default void set_MetaDataIncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x28b3 + // Method begins at RVA 0x2d0f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::_ignoreLibraries + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_metaDataIncludeDirs IL_0008: ret - } // end of method LinkTask::set_IgnoreLibraries + } // end of method ClTask::set_MetaDataIncludeDirs - // method line 84 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed + // method line 52 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ForcedUsingFiles () cil managed { - // Method begins at RVA 0x28c0 + // Method begins at RVA 0x2d1c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_forcedUsingFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LinkTask::get_ProgramFileName + } // end of method ClTask::get_ForcedUsingFiles - // method line 85 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + // method line 53 + .method public hidebysig specialname + instance default void set_ForcedUsingFiles (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x28dc - // Code size 30 (0x1e) - .maxstack 3 - .locals init ( - string V_0) + // Method begins at RVA 0x2d37 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldstr "@\"" - IL_0006: ldarg.0 - IL_0007: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName - IL_000c: ldstr "\"" - IL_0011: call string string::Concat(string, string, string) - IL_0016: stloc.0 - IL_0017: br IL_001c - - IL_001c: ldloc.0 - IL_001d: ret - } // end of method LinkTask::get_ProgramArguments + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_forcedUsingFiles + IL_0008: ret + } // end of method ClTask::set_ForcedUsingFiles - // method line 86 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 54 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Defines () cil managed { - // Method begins at RVA 0x2908 - // Code size 1239 (0x4d7) - .maxstack 7 + // Method begins at RVA 0x2d44 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.StreamWriter V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, + class [NAnt.Core]NAnt.Core.Types.OptionCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_defines + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ClTask::get_Defines + + // method line 55 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Undefines () cil managed + { + // Method begins at RVA 0x2d60 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.OptionCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_undefines + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ClTask::get_Undefines + + // method line 56 + .method public hidebysig specialname + instance default string get_ObjectFile () cil managed + { + // Method begins at RVA 0x2d7c + // Code size 68 (0x44) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_objectFile + IL_0007: brfalse IL_0027 + + IL_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0017: ldarg.0 + IL_0018: ldfld string NAnt.VisualCpp.Tasks.ClTask::_objectFile + IL_001d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0022: br IL_003c + + IL_0027: ldarg.0 + IL_0028: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_002d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0032: ldstr "/" + IL_0037: call string string::Concat(string, string) + IL_003c: stloc.0 + IL_003d: br IL_0042 + + IL_0042: ldloc.0 + IL_0043: ret + } // end of method ClTask::get_ObjectFile + + // method line 57 + .method public hidebysig specialname + instance default void set_ObjectFile (string 'value') cil managed + { + // Method begins at RVA 0x2dcc + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_objectFile + IL_000d: ret + } // end of method ClTask::set_ObjectFile + + // method line 58 + .method public hidebysig specialname + instance default string get_ProgramDatabaseFile () cil managed + { + // Method begins at RVA 0x2ddc + // Code size 68 (0x44) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pdbFile + IL_0007: brfalse IL_0027 + + IL_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0017: ldarg.0 + IL_0018: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pdbFile + IL_001d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0022: br IL_003c + + IL_0027: ldarg.0 + IL_0028: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_002d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0032: ldstr "/" + IL_0037: call string string::Concat(string, string) + IL_003c: stloc.0 + IL_003d: br IL_0042 + + IL_0042: ldloc.0 + IL_0043: ret + } // end of method ClTask::get_ProgramDatabaseFile + + // method line 59 + .method public hidebysig specialname + instance default void set_ProgramDatabaseFile (string 'value') cil managed + { + // Method begins at RVA 0x2e2c + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_pdbFile + IL_000d: ret + } // end of method ClTask::set_ProgramDatabaseFile + + // method line 60 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed + { + // Method begins at RVA 0x2e3c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ClTask::get_ProgramFileName + + // method line 61 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed + { + // Method begins at RVA 0x2e58 + // Code size 30 (0x1e) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr "@\"" + IL_0006: ldarg.0 + IL_0007: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName + IL_000c: ldstr "\"" + IL_0011: call string string::Concat(string, string, string) + IL_0016: stloc.0 + IL_0017: br IL_001c + + IL_001c: ldloc.0 + IL_001d: ret + } // end of method ClTask::get_ProgramArguments + + // method line 62 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x2e84 + // Code size 1429 (0x595) + .maxstack 7 + .locals init ( + class [mscorlib]System.IO.StreamWriter V_0, + class [NAnt.Core]NAnt.Core.Types.Option V_1, + class [NAnt.Core]NAnt.Core.Types.OptionEnumerator V_2, class [mscorlib]System.IDisposable V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, + class [NAnt.Core]NAnt.Core.Types.Option V_4, + class [NAnt.Core]NAnt.Core.Types.OptionEnumerator V_5, class [mscorlib]System.IDisposable V_6, string V_7, class [System]System.Collections.Specialized.StringEnumerator V_8, @@ -1864,25 +2026,24 @@ string V_10, class [System]System.Collections.Specialized.StringEnumerator V_11, class [mscorlib]System.IDisposable V_12, - class NAnt.VisualCpp.Types.Symbol V_13, - class NAnt.VisualCpp.Types.SymbolEnumerator V_14, + string V_13, + class [System]System.Collections.Specialized.StringEnumerator V_14, class [mscorlib]System.IDisposable V_15, - class NAnt.VisualCpp.Types.Library V_16, - class NAnt.VisualCpp.Types.LibraryEnumerator V_17, - class [mscorlib]System.IDisposable V_18, - string V_19, - class [System]System.Collections.Specialized.StringEnumerator V_20, - class [mscorlib]System.IDisposable V_21, - class [mscorlib]System.IO.StreamReader V_22) + valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode V_16, + string V_17, + class [System]System.Collections.Specialized.StringEnumerator V_18, + class [mscorlib]System.IDisposable V_19, + valuetype NAnt.VisualCpp.Types.CharacterSet V_20, + class [mscorlib]System.IO.StreamReader V_21) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() IL_000c: brtrue IL_002e IL_0011: nop IL_0012: ldarg.0 - IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() + IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() IL_0018: ldarg.0 IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() @@ -1890,13 +2051,13 @@ IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) IL_002d: nop IL_002e: ldarg.0 - IL_002f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_002f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() IL_0039: brtrue IL_005b IL_003e: nop IL_003f: ldarg.0 - IL_0040: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() + IL_0040: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() IL_0045: ldarg.0 IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() @@ -1904,13 +2065,13 @@ IL_0055: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) IL_005a: nop IL_005b: ldarg.0 - IL_005c: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_005c: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() IL_0061: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() IL_0066: brtrue IL_0088 IL_006b: nop IL_006c: ldarg.0 - IL_006d: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Modules() + IL_006d: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() IL_0072: ldarg.0 IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() IL_0078: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() @@ -1918,13 +2079,13 @@ IL_0082: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) IL_0087: nop IL_0088: ldarg.0 - IL_0089: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_0089: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() IL_008e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() IL_0093: brtrue IL_00b5 IL_0098: nop IL_0099: ldarg.0 - IL_009a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() + IL_009a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() IL_009f: ldarg.0 IL_00a0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() IL_00a5: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() @@ -1932,2866 +2093,2998 @@ IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) IL_00b4: nop IL_00b5: ldarg.0 - IL_00b6: callvirt instance bool class NAnt.VisualCpp.Tasks.LinkTask::NeedsLinking() - IL_00bb: brfalse IL_04d6 + IL_00b6: callvirt instance bool class NAnt.VisualCpp.Tasks.ClTask::NeedsCompiling() + IL_00bb: brfalse IL_0594 IL_00c0: nop IL_00c1: ldarg.0 IL_00c2: ldc.i4 3000 - IL_00c7: ldstr "Linking {0} files." - IL_00cc: ldc.i4.1 + IL_00c7: ldstr "Compiling {0} files to '{1}'." + IL_00cc: ldc.i4.2 IL_00cd: newarr [mscorlib]System.Object IL_00d2: dup IL_00d3: ldc.i4.0 IL_00d4: ldarg.0 - IL_00d5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_00da: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00df: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00e4: box [mscorlib]System.Int32 - IL_00e9: stelem.ref - IL_00ea: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00ef: ldarg.0 - IL_00f0: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_00f5: stfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName - IL_00fa: ldarg.0 - IL_00fb: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName - IL_0100: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) - IL_0105: stloc.0 - .try { // 7 - IL_0106: nop - IL_0107: ldloc.0 - IL_0108: ldstr "/OUT:\"{0}\"" - IL_010d: ldarg.0 - IL_010e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_0113: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0118: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_011d: ldarg.0 - IL_011e: call instance string class NAnt.VisualCpp.Tasks.LinkTask::get_Options() - IL_0123: brfalse IL_0136 - - IL_0128: nop - IL_0129: ldloc.0 - IL_012a: ldarg.0 - IL_012b: call instance string class NAnt.VisualCpp.Tasks.LinkTask::get_Options() - IL_0130: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0135: nop - IL_0136: ldarg.0 - IL_0137: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() - IL_013c: brfalse IL_0159 - - IL_0141: nop - IL_0142: ldloc.0 - IL_0143: ldstr "/DEF:\"{0}\"" - IL_0148: ldarg.0 - IL_0149: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() - IL_014e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0153: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0158: nop - IL_0159: nop - IL_015a: ldarg.0 - IL_015b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs() - IL_0160: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0165: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_016a: stloc.2 + IL_00d5: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources + IL_00da: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00df: box [mscorlib]System.Int32 + IL_00e4: stelem.ref + IL_00e5: dup + IL_00e6: ldc.i4.1 + IL_00e7: ldarg.0 + IL_00e8: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() + IL_00ed: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00f2: stelem.ref + IL_00f3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00f8: ldarg.0 + IL_00f9: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_00fe: stfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName + IL_0103: ldarg.0 + IL_0104: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName + IL_0109: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_010e: stloc.0 + .try { // 6 + IL_010f: nop + IL_0110: ldloc.0 + IL_0111: ldstr "/c" + IL_0116: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_011b: ldarg.0 + IL_011c: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_Options() + IL_0121: brfalse IL_0134 + + IL_0126: nop + IL_0127: ldloc.0 + IL_0128: ldarg.0 + IL_0129: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_Options() + IL_012e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_0133: nop + IL_0134: ldarg.0 + IL_0135: call instance bool class NAnt.VisualCpp.Tasks.ClTask::get_ManagedExtensions() + IL_013a: brfalse IL_014c + + IL_013f: nop + IL_0140: ldloc.0 + IL_0141: ldstr "/clr" + IL_0146: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_014b: nop + IL_014c: nop + IL_014d: ldarg.0 + IL_014e: call instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class NAnt.VisualCpp.Tasks.ClTask::get_Defines() + IL_0153: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionEnumerator class [NAnt.Core]NAnt.Core.Types.OptionCollection::GetEnumerator() + IL_0158: stloc.2 .try { // 0 - IL_016b: br IL_018a + IL_0159: br IL_01e2 - IL_0170: ldloc.2 - IL_0171: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0176: stloc.1 - IL_0177: nop - IL_0178: ldloc.0 - IL_0179: ldstr "/LIBPATH:{0}" - IL_017e: ldloc.1 - IL_017f: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_0184: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0189: nop - IL_018a: ldloc.2 - IL_018b: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0190: brtrue IL_0170 + IL_015e: ldloc.2 + IL_015f: callvirt instance class [NAnt.Core]NAnt.Core.Types.Option class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::get_Current() + IL_0164: stloc.1 + IL_0165: nop + IL_0166: ldloc.1 + IL_0167: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_016c: brfalse IL_017c - IL_0195: leave IL_01ae + IL_0171: ldloc.1 + IL_0172: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_UnlessDefined() + IL_0177: brfalse IL_0182 + + IL_017c: nop + IL_017d: leave IL_01e2 + + IL_0182: ldloc.1 + IL_0183: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0188: brtrue IL_01af + + IL_018d: nop + IL_018e: ldloc.0 + IL_018f: ldstr "/D " + IL_0194: ldloc.1 + IL_0195: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() + IL_019a: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_019f: call string string::Concat(string, string) + IL_01a4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_01a9: nop + IL_01aa: br IL_01e1 + + IL_01af: nop + IL_01b0: ldloc.0 + IL_01b1: ldstr "/D " + IL_01b6: ldloc.1 + IL_01b7: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() + IL_01bc: ldstr "=" + IL_01c1: ldloc.1 + IL_01c2: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_01c7: call string class NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) + IL_01cc: call string string::Concat(string, string, string) + IL_01d1: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_01d6: call string string::Concat(string, string) + IL_01db: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_01e0: nop + IL_01e1: nop + IL_01e2: ldloc.2 + IL_01e3: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::MoveNext() + IL_01e8: brtrue IL_015e + + IL_01ed: leave IL_0206 } // end .try 0 finally { // 0 - IL_019a: ldloc.2 - IL_019b: isinst [mscorlib]System.IDisposable - IL_01a0: dup - IL_01a1: stloc.3 - IL_01a2: brfalse IL_01ad + IL_01f2: ldloc.2 + IL_01f3: isinst [mscorlib]System.IDisposable + IL_01f8: dup + IL_01f9: stloc.3 + IL_01fa: brfalse IL_0205 - IL_01a7: ldloc.3 - IL_01a8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01ad: endfinally + IL_01ff: ldloc.3 + IL_0200: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0205: endfinally } // end handler 0 - IL_01ae: nop - IL_01af: ldarg.0 - IL_01b0: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Modules() - IL_01b5: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01ba: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_01bf: stloc.s 5 + IL_0206: nop + IL_0207: ldarg.0 + IL_0208: call instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class NAnt.VisualCpp.Tasks.ClTask::get_Undefines() + IL_020d: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionEnumerator class [NAnt.Core]NAnt.Core.Types.OptionCollection::GetEnumerator() + IL_0212: stloc.s 5 .try { // 1 - IL_01c1: br IL_01e3 + IL_0214: br IL_025e - IL_01c6: ldloc.s 5 - IL_01c8: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_01cd: stloc.s 4 - IL_01cf: nop - IL_01d0: ldloc.0 - IL_01d1: ldstr "/ASSEMBLYMODULE:{0}" - IL_01d6: ldloc.s 4 - IL_01d8: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_01dd: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_01e2: nop - IL_01e3: ldloc.s 5 - IL_01e5: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_01ea: brtrue IL_01c6 + IL_0219: ldloc.s 5 + IL_021b: callvirt instance class [NAnt.Core]NAnt.Core.Types.Option class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::get_Current() + IL_0220: stloc.s 4 + IL_0222: nop + IL_0223: ldloc.s 4 + IL_0225: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_022a: brfalse IL_023b - IL_01ef: leave IL_020b + IL_022f: ldloc.s 4 + IL_0231: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_UnlessDefined() + IL_0236: brfalse IL_0241 + + IL_023b: nop + IL_023c: leave IL_025e + + IL_0241: ldloc.0 + IL_0242: ldstr "/U " + IL_0247: ldloc.s 4 + IL_0249: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() + IL_024e: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_0253: call string string::Concat(string, string) + IL_0258: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_025d: nop + IL_025e: ldloc.s 5 + IL_0260: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::MoveNext() + IL_0265: brtrue IL_0219 + + IL_026a: leave IL_0286 } // end .try 1 finally { // 1 - IL_01f4: ldloc.s 5 - IL_01f6: isinst [mscorlib]System.IDisposable - IL_01fb: dup - IL_01fc: stloc.s 6 - IL_01fe: brfalse IL_020a + IL_026f: ldloc.s 5 + IL_0271: isinst [mscorlib]System.IDisposable + IL_0276: dup + IL_0277: stloc.s 6 + IL_0279: brfalse IL_0285 - IL_0203: ldloc.s 6 - IL_0205: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_020a: endfinally + IL_027e: ldloc.s 6 + IL_0280: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0285: endfinally } // end handler 1 - IL_020b: nop - IL_020c: ldarg.0 - IL_020d: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_DelayLoadedDlls() - IL_0212: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0217: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_021c: stloc.s 8 + IL_0286: nop + IL_0287: ldarg.0 + IL_0288: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() + IL_028d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0292: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0297: stloc.s 8 .try { // 2 - IL_021e: br IL_0240 + IL_0299: br IL_02bb - IL_0223: ldloc.s 8 - IL_0225: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_022a: stloc.s 7 - IL_022c: nop - IL_022d: ldloc.0 - IL_022e: ldstr "/DELAYLOAD:{0}" - IL_0233: ldloc.s 7 - IL_0235: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_023a: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_023f: nop - IL_0240: ldloc.s 8 - IL_0242: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0247: brtrue IL_0223 + IL_029e: ldloc.s 8 + IL_02a0: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_02a5: stloc.s 7 + IL_02a7: nop + IL_02a8: ldloc.0 + IL_02a9: ldstr "/I {0}" + IL_02ae: ldloc.s 7 + IL_02b0: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_02b5: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_02ba: nop + IL_02bb: ldloc.s 8 + IL_02bd: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_02c2: brtrue IL_029e - IL_024c: leave IL_0268 + IL_02c7: leave IL_02e3 } // end .try 2 finally { // 2 - IL_0251: ldloc.s 8 - IL_0253: isinst [mscorlib]System.IDisposable - IL_0258: dup - IL_0259: stloc.s 9 - IL_025b: brfalse IL_0267 + IL_02cc: ldloc.s 8 + IL_02ce: isinst [mscorlib]System.IDisposable + IL_02d3: dup + IL_02d4: stloc.s 9 + IL_02d6: brfalse IL_02e2 - IL_0260: ldloc.s 9 - IL_0262: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0267: endfinally + IL_02db: ldloc.s 9 + IL_02dd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02e2: endfinally } // end handler 2 - IL_0268: nop - IL_0269: ldarg.0 - IL_026a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources() - IL_026f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0274: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0279: stloc.s 11 + IL_02e3: nop + IL_02e4: ldarg.0 + IL_02e5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() + IL_02ea: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_02ef: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_02f4: stloc.s 11 .try { // 3 - IL_027b: br IL_029d + IL_02f6: br IL_0318 - IL_0280: ldloc.s 11 - IL_0282: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0287: stloc.s 10 - IL_0289: nop - IL_028a: ldloc.0 - IL_028b: ldstr "/ASSEMBLYRESOURCE:{0}" - IL_0290: ldloc.s 10 - IL_0292: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_0297: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_029c: nop - IL_029d: ldloc.s 11 - IL_029f: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_02a4: brtrue IL_0280 + IL_02fb: ldloc.s 11 + IL_02fd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0302: stloc.s 10 + IL_0304: nop + IL_0305: ldloc.0 + IL_0306: ldstr "/AI {0}" + IL_030b: ldloc.s 10 + IL_030d: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_0312: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0317: nop + IL_0318: ldloc.s 11 + IL_031a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_031f: brtrue IL_02fb - IL_02a9: leave IL_02c5 + IL_0324: leave IL_0340 } // end .try 3 finally { // 3 - IL_02ae: ldloc.s 11 - IL_02b0: isinst [mscorlib]System.IDisposable - IL_02b5: dup - IL_02b6: stloc.s 12 - IL_02b8: brfalse IL_02c4 + IL_0329: ldloc.s 11 + IL_032b: isinst [mscorlib]System.IDisposable + IL_0330: dup + IL_0331: stloc.s 12 + IL_0333: brfalse IL_033f - IL_02bd: ldloc.s 12 - IL_02bf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02c4: endfinally + IL_0338: ldloc.s 12 + IL_033a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_033f: endfinally } // end handler 3 - IL_02c5: nop - IL_02c6: ldarg.0 - IL_02c7: call instance class NAnt.VisualCpp.Types.SymbolCollection class NAnt.VisualCpp.Tasks.LinkTask::get_Symbols() - IL_02cc: callvirt instance class NAnt.VisualCpp.Types.SymbolEnumerator class NAnt.VisualCpp.Types.SymbolCollection::GetEnumerator() - IL_02d1: stloc.s 14 + IL_0340: nop + IL_0341: ldarg.0 + IL_0342: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_0347: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_034c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0351: stloc.s 14 .try { // 4 - IL_02d3: br IL_0314 - - IL_02d8: ldloc.s 14 - IL_02da: callvirt instance class NAnt.VisualCpp.Types.Symbol class NAnt.VisualCpp.Types.SymbolEnumerator::get_Current() - IL_02df: stloc.s 13 - IL_02e1: nop - IL_02e2: ldloc.s 13 - IL_02e4: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_IfDefined() - IL_02e9: brfalse IL_0313 - - IL_02ee: ldloc.s 13 - IL_02f0: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_UnlessDefined() - IL_02f5: brtrue IL_0313 + IL_0353: br IL_0375 - IL_02fa: nop - IL_02fb: ldloc.0 - IL_02fc: ldstr "/INCLUDE:{0}" - IL_0301: ldloc.s 13 - IL_0303: callvirt instance string class NAnt.VisualCpp.Types.Symbol::get_SymbolName() - IL_0308: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_030d: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0312: nop - IL_0313: nop - IL_0314: ldloc.s 14 - IL_0316: callvirt instance bool class NAnt.VisualCpp.Types.SymbolEnumerator::MoveNext() - IL_031b: brtrue IL_02d8 + IL_0358: ldloc.s 14 + IL_035a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_035f: stloc.s 13 + IL_0361: nop + IL_0362: ldloc.0 + IL_0363: ldstr "/FU {0}" + IL_0368: ldloc.s 13 + IL_036a: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_036f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0374: nop + IL_0375: ldloc.s 14 + IL_0377: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_037c: brtrue IL_0358 - IL_0320: leave IL_033c + IL_0381: leave IL_039d } // end .try 4 finally { // 4 - IL_0325: ldloc.s 14 - IL_0327: isinst [mscorlib]System.IDisposable - IL_032c: dup - IL_032d: stloc.s 15 - IL_032f: brfalse IL_033b + IL_0386: ldloc.s 14 + IL_0388: isinst [mscorlib]System.IDisposable + IL_038d: dup + IL_038e: stloc.s 15 + IL_0390: brfalse IL_039c - IL_0334: ldloc.s 15 - IL_0336: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_033b: endfinally + IL_0395: ldloc.s 15 + IL_0397: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_039c: endfinally } // end handler 4 - IL_033c: nop - IL_033d: ldarg.0 - IL_033e: call instance class NAnt.VisualCpp.Types.LibraryCollection class NAnt.VisualCpp.Tasks.LinkTask::get_IgnoreLibraries() - IL_0343: callvirt instance class NAnt.VisualCpp.Types.LibraryEnumerator class NAnt.VisualCpp.Types.LibraryCollection::GetEnumerator() - IL_0348: stloc.s 17 - .try { // 5 - IL_034a: br IL_038b + IL_039d: ldloc.0 + IL_039e: ldstr "/Fd{0}" + IL_03a3: ldarg.0 + IL_03a4: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_ProgramDatabaseFile() + IL_03a9: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_03ae: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_03b3: ldloc.0 + IL_03b4: ldstr "/Fo{0}" + IL_03b9: ldarg.0 + IL_03ba: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_ObjectFile() + IL_03bf: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_03c4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_03c9: ldarg.0 + IL_03ca: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() + IL_03cf: brfalse IL_0463 - IL_034f: ldloc.s 17 - IL_0351: callvirt instance class NAnt.VisualCpp.Types.Library class NAnt.VisualCpp.Types.LibraryEnumerator::get_Current() - IL_0356: stloc.s 16 - IL_0358: nop - IL_0359: ldloc.s 16 - IL_035b: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_IfDefined() - IL_0360: brfalse IL_038a + IL_03d4: nop + IL_03d5: ldloc.0 + IL_03d6: ldstr "/Fp{0}" + IL_03db: ldarg.0 + IL_03dc: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() + IL_03e1: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_03e6: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_03eb: ldarg.0 + IL_03ec: call instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode class NAnt.VisualCpp.Tasks.ClTask::get_PchMode() + IL_03f1: stloc.s 16 + IL_03f3: ldloc.s 16 + IL_03f5: brfalse IL_040f - IL_0365: ldloc.s 16 - IL_0367: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_UnlessDefined() - IL_036c: brtrue IL_038a + IL_03fa: ldloc.s 16 + IL_03fc: ldc.i4.1 + IL_03fd: beq IL_041f - IL_0371: nop - IL_0372: ldloc.0 - IL_0373: ldstr "/NODEFAULTLIB:{0}" - IL_0378: ldloc.s 16 - IL_037a: callvirt instance string class NAnt.VisualCpp.Types.Library::get_LibraryName() - IL_037f: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_0384: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0389: nop - IL_038a: nop - IL_038b: ldloc.s 17 - IL_038d: callvirt instance bool class NAnt.VisualCpp.Types.LibraryEnumerator::MoveNext() - IL_0392: brtrue IL_034f + IL_0402: ldloc.s 16 + IL_0404: ldc.i4.2 + IL_0405: beq IL_042f - IL_0397: leave IL_03b3 + IL_040a: br IL_043f - } // end .try 5 - finally { // 5 - IL_039c: ldloc.s 17 - IL_039e: isinst [mscorlib]System.IDisposable - IL_03a3: dup - IL_03a4: stloc.s 18 - IL_03a6: brfalse IL_03b2 + IL_040f: ldloc.0 + IL_0410: ldstr "/Yu" + IL_0415: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_041a: leave IL_043f - IL_03ab: ldloc.s 18 - IL_03ad: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_03b2: endfinally - } // end handler 5 - IL_03b3: ldarg.0 - IL_03b4: call instance bool class NAnt.VisualCpp.Tasks.LinkTask::get_Debug() - IL_03b9: brfalse IL_03cb + IL_041f: ldloc.0 + IL_0420: ldstr "/Yc" + IL_0425: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_042a: leave IL_043f - IL_03be: nop - IL_03bf: ldloc.0 - IL_03c0: ldstr "/DEBUG" - IL_03c5: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_03ca: nop - IL_03cb: ldarg.0 - IL_03cc: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_03d1: brfalse IL_03f3 + IL_042f: ldloc.0 + IL_0430: ldstr "/YX" + IL_0435: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) + IL_043a: leave IL_043f - IL_03d6: nop - IL_03d7: ldloc.0 - IL_03d8: ldstr "/PDB:{0}" - IL_03dd: ldarg.0 - IL_03de: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_03e3: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_03e8: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_03ed: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_03f2: nop - IL_03f3: ldloc.0 - IL_03f4: ldstr "/nologo" - IL_03f9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_03fe: nop - IL_03ff: ldarg.0 - IL_0400: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_0405: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_040a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_040f: stloc.s 20 - .try { // 6 - IL_0411: br IL_042e + IL_043f: ldarg.0 + IL_0440: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchThroughFile() + IL_0445: brfalse IL_0462 - IL_0416: ldloc.s 20 - IL_0418: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_041d: stloc.s 19 - IL_041f: nop - IL_0420: ldloc.0 - IL_0421: ldloc.s 19 - IL_0423: call string class NAnt.VisualCpp.Tasks.LinkTask::QuoteArgumentValue(string) - IL_0428: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_042d: nop - IL_042e: ldloc.s 20 - IL_0430: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0435: brtrue IL_0416 + IL_044a: nop + IL_044b: ldloc.0 + IL_044c: ldstr "{0}" + IL_0451: ldarg.0 + IL_0452: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchThroughFile() + IL_0457: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_045c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0461: nop + IL_0462: nop + IL_0463: nop + IL_0464: ldarg.0 + IL_0465: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources + IL_046a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_046f: stloc.s 18 + .try { // 5 + IL_0471: br IL_048e - IL_043a: leave IL_0456 + IL_0476: ldloc.s 18 + IL_0478: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_047d: stloc.s 17 + IL_047f: nop + IL_0480: ldloc.0 + IL_0481: ldloc.s 17 + IL_0483: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) + IL_0488: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_048d: nop + IL_048e: ldloc.s 18 + IL_0490: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0495: brtrue IL_0476 - } // end .try 6 - finally { // 6 - IL_043f: ldloc.s 20 - IL_0441: isinst [mscorlib]System.IDisposable - IL_0446: dup - IL_0447: stloc.s 21 - IL_0449: brfalse IL_0455 + IL_049a: leave IL_04b6 - IL_044e: ldloc.s 21 - IL_0450: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0455: endfinally - } // end handler 6 - IL_0456: ldloc.0 - IL_0457: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_045c: ldarg.0 - IL_045d: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0462: brfalse IL_04ae + } // end .try 5 + finally { // 5 + IL_049f: ldloc.s 18 + IL_04a1: isinst [mscorlib]System.IDisposable + IL_04a6: dup + IL_04a7: stloc.s 19 + IL_04a9: brfalse IL_04b5 - IL_0467: nop - IL_0468: ldarg.0 - IL_0469: ldc.i4 3000 - IL_046e: ldstr "Contents of {0}." - IL_0473: ldc.i4.1 - IL_0474: newarr [mscorlib]System.Object - IL_0479: dup - IL_047a: ldc.i4.0 - IL_047b: ldarg.0 - IL_047c: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName - IL_0481: stelem.ref - IL_0482: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0487: ldarg.0 - IL_0488: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName - IL_048d: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) - IL_0492: stloc.s 22 - IL_0494: ldarg.0 - IL_0495: ldc.i4 3000 - IL_049a: ldloc.s 22 - IL_049c: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_04a1: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_04a6: ldloc.s 22 - IL_04a8: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_04ad: nop - IL_04ae: ldarg.0 - IL_04af: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_04b4: nop - IL_04b5: leave IL_04d5 + IL_04ae: ldloc.s 19 + IL_04b0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_04b5: endfinally + } // end handler 5 + IL_04b6: ldarg.0 + IL_04b7: call instance valuetype NAnt.VisualCpp.Types.CharacterSet class NAnt.VisualCpp.Tasks.ClTask::get_CharacterSet() + IL_04bc: stloc.s 20 + IL_04be: ldloc.s 20 + IL_04c0: ldc.i4.1 + IL_04c1: beq IL_04d3 - } // end .try 7 - finally { // 7 - IL_04ba: nop - IL_04bb: ldloc.0 - IL_04bc: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_04c1: ldarg.0 - IL_04c2: ldfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName - IL_04c7: call void class [mscorlib]System.IO.File::Delete(string) - IL_04cc: ldarg.0 - IL_04cd: ldnull - IL_04ce: stfld string NAnt.VisualCpp.Tasks.LinkTask::_responseFileName - IL_04d3: nop - IL_04d4: endfinally - } // end handler 7 - IL_04d5: nop - IL_04d6: ret - } // end of method LinkTask::ExecuteTask + IL_04c6: ldloc.s 20 + IL_04c8: ldc.i4.2 + IL_04c9: beq IL_04ee - // method line 87 + IL_04ce: br IL_04fe + + IL_04d3: ldloc.0 + IL_04d4: ldstr "/D \"_UNICODE\"" + IL_04d9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_04de: ldloc.0 + IL_04df: ldstr "/D \"UNICODE\"" + IL_04e4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_04e9: leave IL_04fe + + IL_04ee: ldloc.0 + IL_04ef: ldstr "/D \"_MBCS\"" + IL_04f4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_04f9: leave IL_04fe + + IL_04fe: ldloc.0 + IL_04ff: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0504: ldarg.0 + IL_0505: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_050a: brfalse IL_0556 + + IL_050f: nop + IL_0510: ldarg.0 + IL_0511: ldc.i4 3000 + IL_0516: ldstr "Contents of {0}." + IL_051b: ldc.i4.1 + IL_051c: newarr [mscorlib]System.Object + IL_0521: dup + IL_0522: ldc.i4.0 + IL_0523: ldarg.0 + IL_0524: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName + IL_0529: stelem.ref + IL_052a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_052f: ldarg.0 + IL_0530: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName + IL_0535: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) + IL_053a: stloc.s 21 + IL_053c: ldarg.0 + IL_053d: ldc.i4 3000 + IL_0542: ldloc.s 21 + IL_0544: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0549: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_054e: ldloc.s 21 + IL_0550: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_0555: nop + IL_0556: ldarg.0 + IL_0557: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_055c: ldstr "/nologo" + IL_0561: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0566: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_056b: pop + IL_056c: ldarg.0 + IL_056d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_0572: nop + IL_0573: leave IL_0593 + + } // end .try 6 + finally { // 6 + IL_0578: nop + IL_0579: ldloc.0 + IL_057a: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_057f: ldarg.0 + IL_0580: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName + IL_0585: call void class [mscorlib]System.IO.File::Delete(string) + IL_058a: ldarg.0 + IL_058b: ldnull + IL_058c: stfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName + IL_0591: nop + IL_0592: endfinally + } // end handler 6 + IL_0593: nop + IL_0594: ret + } // end of method ClTask::ExecuteTask + + // method line 63 .method family virtual hidebysig newslot - instance default bool NeedsLinking () cil managed + instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x2eb0 - // Code size 365 (0x16d) - .maxstack 7 + // Method begins at RVA 0x34d4 + // Code size 75 (0x4b) + .maxstack 3 .locals init ( - string V_0, - bool V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_0007: brfalse IL_008e + IL_0002: call instance bool class NAnt.VisualCpp.Tasks.ClTask::IsPchfileUpToDate() + IL_0007: brtrue IL_003a IL_000c: nop IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_0013: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0018: brtrue IL_0049 - - IL_001d: nop + IL_000e: ldc.i4 2000 + IL_0013: ldstr "PCH out of date, recompiling all sources." + IL_0018: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_001d: ldarg.0 IL_001e: ldarg.0 - IL_001f: ldc.i4 2000 - IL_0024: ldstr "PDB file '{0}' does not exist, relinking." - IL_0029: ldc.i4.1 - IL_002a: newarr [mscorlib]System.Object - IL_002f: dup - IL_0030: ldc.i4.0 - IL_0031: ldarg.0 - IL_0032: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_0037: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003c: stelem.ref - IL_003d: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0042: ldc.i4.1 - IL_0043: stloc.1 - IL_0044: br IL_016b - - IL_0049: ldarg.0 - IL_004a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_004f: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0054: ldarg.0 - IL_0055: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile() - IL_005a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_005f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0064: stloc.0 - IL_0065: ldloc.0 - IL_0066: brfalse IL_008d + IL_001f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0029: call class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Util.StringUtils::Clone(class [System]System.Collections.Specialized.StringCollection) + IL_002e: stfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources + IL_0033: ldc.i4.1 + IL_0034: stloc.0 + IL_0035: br IL_0049 - IL_006b: nop - IL_006c: ldarg.0 - IL_006d: ldc.i4 2000 - IL_0072: ldstr "'{0}' has been updated, relinking." - IL_0077: ldc.i4.1 - IL_0078: newarr [mscorlib]System.Object - IL_007d: dup - IL_007e: ldc.i4.0 - IL_007f: ldloc.0 - IL_0080: stelem.ref - IL_0081: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0086: ldc.i4.1 - IL_0087: stloc.1 - IL_0088: br IL_016b - - IL_008d: nop - IL_008e: ldarg.0 - IL_008f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_0094: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0099: brtrue IL_00ca - - IL_009e: nop - IL_009f: ldarg.0 - IL_00a0: ldc.i4 2000 - IL_00a5: ldstr "Output file '{0}' does not exist, relinking." - IL_00aa: ldc.i4.1 - IL_00ab: newarr [mscorlib]System.Object - IL_00b0: dup - IL_00b1: ldc.i4.0 - IL_00b2: ldarg.0 - IL_00b3: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_00b8: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00bd: stelem.ref - IL_00be: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00c3: ldc.i4.1 - IL_00c4: stloc.1 - IL_00c5: br IL_016b - - IL_00ca: ldarg.0 - IL_00cb: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LinkTask::get_Sources() - IL_00d0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00d5: ldarg.0 - IL_00d6: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_00db: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00e0: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_00e5: stloc.0 - IL_00e6: ldloc.0 - IL_00e7: brfalse IL_010e - - IL_00ec: nop - IL_00ed: ldarg.0 - IL_00ee: ldc.i4 2000 - IL_00f3: ldstr "'{0}' has been updated, relinking." - IL_00f8: ldc.i4.1 - IL_00f9: newarr [mscorlib]System.Object - IL_00fe: dup - IL_00ff: ldc.i4.0 - IL_0100: ldloc.0 - IL_0101: stelem.ref - IL_0102: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0107: ldc.i4.1 - IL_0108: stloc.1 - IL_0109: br IL_016b - - IL_010e: ldarg.0 - IL_010f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() - IL_0114: brfalse IL_0164 - - IL_0119: nop - IL_011a: ldarg.0 - IL_011b: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition() - IL_0120: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0125: ldarg.0 - IL_0126: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile() - IL_012b: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0130: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0135: stloc.0 - IL_0136: ldloc.0 - IL_0137: brfalse IL_0163 - - IL_013c: nop - IL_013d: ldarg.0 - IL_013e: ldc.i4 2000 - IL_0143: ldstr "String_FileHasBeenUpdated" - IL_0148: call string class [NAnt.Core]NAnt.Core.Util.ResourceUtils::GetString(string) - IL_014d: ldc.i4.1 - IL_014e: newarr [mscorlib]System.Object - IL_0153: dup - IL_0154: ldc.i4.0 - IL_0155: ldloc.0 - IL_0156: stelem.ref - IL_0157: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_015c: ldc.i4.1 - IL_015d: stloc.1 - IL_015e: br IL_016b - - IL_0163: nop - IL_0164: ldc.i4.0 - IL_0165: stloc.1 - IL_0166: br IL_016b + IL_003a: ldarg.0 + IL_003b: call instance bool class NAnt.VisualCpp.Tasks.ClTask::AreObjsUpToDate() + IL_0040: ldc.i4.0 + IL_0041: ceq + IL_0043: stloc.0 + IL_0044: br IL_0049 - IL_016b: ldloc.1 - IL_016c: ret - } // end of method LinkTask::NeedsLinking + IL_0049: ldloc.0 + IL_004a: ret + } // end of method ClTask::NeedsCompiling - // method line 88 - .method public static hidebysig - default string QuoteArgumentValue (string 'value') cil managed + // method line 64 + .method private hidebysig + instance default bool IsPchfileUpToDate () cil managed { - // Method begins at RVA 0x302c - // Code size 16 (0x10) - .maxstack 2 + // Method begins at RVA 0x352c + // Code size 364 (0x16c) + .maxstack 7 .locals init ( - string V_0) + bool V_0, + class [mscorlib]System.IO.FileInfo V_1, + string V_2, + string V_3, + class [System]System.Collections.Specialized.StringEnumerator V_4, + class [mscorlib]System.IDisposable V_5) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0002: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() + IL_0007: brtrue IL_0014 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method LinkTask::QuoteArgumentValue + IL_000c: nop + IL_000d: ldc.i4.1 + IL_000e: stloc.0 + IL_000f: br IL_016a - .property instance string Options () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. + IL_0014: ldarg.0 + IL_0015: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() + IL_001a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_001f: stloc.1 + IL_0020: ldloc.1 + IL_0021: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0026: brtrue IL_0052 - .get instance default string NAnt.VisualCpp.Tasks.LinkTask::get_Options () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Options (string 'value') - } - .property instance bool Debug () - { - .get instance default bool NAnt.VisualCpp.Tasks.LinkTask::get_Debug () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Debug (bool 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: ldc.i4 2000 + IL_0032: ldstr "'{0}' does not exist, recompiling." + IL_0037: ldc.i4.1 + IL_0038: newarr [mscorlib]System.Object + IL_003d: dup + IL_003e: ldc.i4.0 + IL_003f: ldloc.1 + IL_0040: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0045: stelem.ref + IL_0046: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_004b: ldc.i4.0 + IL_004c: stloc.0 + IL_004d: br IL_016a - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::get_OutputFile () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo ProgramDatabaseFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 64 62 66 69 6C 65 00 00 ) // ...pdbfile.. + IL_0052: ldarg.0 + IL_0053: call instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode class NAnt.VisualCpp.Tasks.ClTask::get_PchMode() + IL_0058: brtrue IL_0065 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::get_ProgramDatabaseFile () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_ProgramDatabaseFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo ModuleDefinition () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 6D 6F 64 75 6C 65 64 65 66 69 6E 69 74 // ...moduledefinit - 69 6F 6E 00 00 ) // ion.. + IL_005d: nop + IL_005e: ldc.i4.1 + IL_005f: stloc.0 + IL_0060: br IL_016a - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LinkTask::get_ModuleDefinition () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_ModuleDefinition (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet DelayLoadedDlls () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 64 65 6C 61 79 6C 6F 61 64 65 64 00 00 ) // ...delayloaded.. + IL_0065: ldarg.0 + IL_0066: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_006b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0070: ldloc.1 + IL_0071: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0076: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_007b: stloc.2 + IL_007c: ldloc.2 + IL_007d: brfalse IL_00a4 - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_DelayLoadedDlls () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_DelayLoadedDlls (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 73 6F 75 72 63 65 73 00 00 ) // ...sources.. + IL_0082: nop + IL_0083: ldarg.0 + IL_0084: ldc.i4 2000 + IL_0089: ldstr "'{0}' is newer than pch file, recompiling." + IL_008e: ldc.i4.1 + IL_008f: newarr [mscorlib]System.Object + IL_0094: dup + IL_0095: ldc.i4.0 + IL_0096: ldloc.2 + IL_0097: stelem.ref + IL_0098: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_009d: ldc.i4.0 + IL_009e: stloc.0 + IL_009f: br IL_016a - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_Sources () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet LibDirs () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6C 69 62 64 69 72 73 00 00 ) // ...libdirs.. + IL_00a4: ldarg.0 + IL_00a5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_00aa: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00af: ldloc.1 + IL_00b0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00b5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_00ba: stloc.2 + IL_00bb: ldloc.2 + IL_00bc: brfalse IL_00e3 - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_LibDirs () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Modules () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6D 6F 64 75 6C 65 73 00 00 ) // ...modules.. + IL_00c1: nop + IL_00c2: ldarg.0 + IL_00c3: ldc.i4 2000 + IL_00c8: ldstr "'{0}' is newer than pch file, recompiling." + IL_00cd: ldc.i4.1 + IL_00ce: newarr [mscorlib]System.Object + IL_00d3: dup + IL_00d4: ldc.i4.0 + IL_00d5: ldloc.2 + IL_00d6: stelem.ref + IL_00d7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00dc: ldc.i4.0 + IL_00dd: stloc.0 + IL_00de: br IL_016a - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_Modules () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Modules (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet EmbeddedResources () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 11 65 6D 62 65 64 64 65 64 72 65 73 6F 75 // ...embeddedresou - 72 63 65 73 00 00 ) // rces.. + IL_00e3: nop + IL_00e4: ldarg.0 + IL_00e5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_00ea: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00ef: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00f4: stloc.s 4 + .try { // 0 + IL_00f6: br IL_013b - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LinkTask::get_EmbeddedResources () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_EmbeddedResources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.VisualCpp.Types.SymbolCollection Symbols () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 07 73 79 6D 62 6F 6C 73 06 73 79 6D 62 6F // ...symbols.symbo - 6C 00 00 ) // l.. + IL_00fb: ldloc.s 4 + IL_00fd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0102: stloc.3 + IL_0103: nop + IL_0104: ldarg.0 + IL_0105: ldloc.3 + IL_0106: ldloc.1 + IL_0107: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_010c: call instance string class NAnt.VisualCpp.Tasks.ClTask::FindUpdatedInclude(string, valuetype [mscorlib]System.DateTime) + IL_0111: stloc.2 + IL_0112: ldloc.2 + IL_0113: brfalse IL_013a - .get instance default class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LinkTask::get_Symbols () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') - } - .property instance class NAnt.VisualCpp.Types.LibraryCollection IgnoreLibraries () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0F 69 67 6E 6F 72 65 6C 69 62 72 61 72 69 // ...ignorelibrari - 65 73 07 6C 69 62 72 61 72 79 00 00 ) // es.library.. + IL_0118: nop + IL_0119: ldarg.0 + IL_011a: ldc.i4 2000 + IL_011f: ldstr "'{0}' has been updated, recompiling." + IL_0124: ldc.i4.1 + IL_0125: newarr [mscorlib]System.Object + IL_012a: dup + IL_012b: ldc.i4.0 + IL_012c: ldloc.2 + IL_012d: stelem.ref + IL_012e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0133: ldc.i4.0 + IL_0134: stloc.0 + IL_0135: leave IL_016a - .get instance default class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LinkTask::get_IgnoreLibraries () - .set instance default void NAnt.VisualCpp.Tasks.LinkTask::set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') - } - .property instance string ProgramFileName () - { - .get instance default string NAnt.VisualCpp.Tasks.LinkTask::get_ProgramFileName () - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.VisualCpp.Tasks.LinkTask::get_ProgramArguments () - } - } // end of class NAnt.VisualCpp.Tasks.LinkTask -} + IL_013a: nop + IL_013b: ldloc.s 4 + IL_013d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0142: brtrue IL_00fb -.namespace NAnt.VisualCpp.Tasks -{ - .class public auto ansi beforefieldinit ClTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 63 6C 00 00 ) // ...cl.. + IL_0147: leave IL_0163 - .field private string _responseFileName - .field private class [mscorlib]System.IO.DirectoryInfo _outputDir - .field private string _pchFile - .field private valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode _precompileHeaderMode - .field private string _pchThroughFile - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _includeDirs - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _metaDataIncludeDirs - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _forcedUsingFiles - .field private bool _managedExtensions - .field private valuetype NAnt.VisualCpp.Types.CharacterSet _characterSet - .field private string _options - .field private class [NAnt.Core]NAnt.Core.Types.OptionCollection _defines - .field private class [NAnt.Core]NAnt.Core.Types.OptionCollection _undefines - .field private string _objectFile - .field private string _pdbFile - .field private class [mscorlib]System.Collections.Hashtable _resolvedIncludes - .field private class [System]System.Text.RegularExpressions.Regex _includeRegex - .field private class [System]System.Collections.Specialized.StringCollection _dirtySources + } // end .try 0 + finally { // 0 + IL_014c: ldloc.s 4 + IL_014e: isinst [mscorlib]System.IDisposable + IL_0153: dup + IL_0154: stloc.s 5 + IL_0156: brfalse IL_0162 - // method line 89 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x3048 - // Code size 126 (0x7e) - .maxstack 2 - IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::_precompileHeaderMode - IL_0007: ldarg.0 - IL_0008: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_000d: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_sources - IL_0012: ldarg.0 - IL_0013: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0018: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_includeDirs - IL_001d: ldarg.0 - IL_001e: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0023: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_metaDataIncludeDirs - IL_0028: ldarg.0 - IL_0029: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_002e: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_forcedUsingFiles - IL_0033: ldarg.0 - IL_0034: ldc.i4.0 - IL_0035: stfld valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::_characterSet - IL_003a: ldarg.0 - IL_003b: newobj instance void class [NAnt.Core]NAnt.Core.Types.OptionCollection::'.ctor'() - IL_0040: stfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_defines - IL_0045: ldarg.0 - IL_0046: newobj instance void class [NAnt.Core]NAnt.Core.Types.OptionCollection::'.ctor'() - IL_004b: stfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_undefines - IL_0050: ldarg.0 - IL_0051: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0056: stfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources - IL_005b: ldarg.0 - IL_005c: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0061: nop - IL_0062: ldarg.0 - IL_0063: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0068: stfld class [mscorlib]System.Collections.Hashtable NAnt.VisualCpp.Tasks.ClTask::_resolvedIncludes - IL_006d: ldarg.0 - IL_006e: ldstr "^[\\s]*#include[\\s]*[\"<](?'includefile'[^\">]+)[\">][\\S\\s]*$" - IL_0073: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string) - IL_0078: stfld class [System]System.Text.RegularExpressions.Regex NAnt.VisualCpp.Tasks.ClTask::_includeRegex - IL_007d: ret - } // end of method ClTask::.ctor + IL_015b: ldloc.s 5 + IL_015d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0162: endfinally + } // end handler 0 + IL_0163: ldc.i4.1 + IL_0164: stloc.0 + IL_0165: br IL_016a - // method line 90 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_OutputDir () cil managed + IL_016a: ldloc.0 + IL_016b: ret + } // end of method ClTask::IsPchfileUpToDate + + // method line 65 + .method private hidebysig + instance default bool IsObjUpToDate (string srcFileName) cil managed { - // Method begins at RVA 0x30d4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x36b4 + // Code size 330 (0x14a) + .maxstack 7 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class [mscorlib]System.IO.FileInfo V_0, + bool V_1, + string V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.VisualCpp.Tasks.ClTask::_outputDir - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_ObjectFile() + IL_0008: call string class NAnt.VisualCpp.Tasks.ClTask::GetObjOutputFile(string, string) + IL_000d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0019: brtrue IL_0045 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_OutputDir + IL_001e: nop + IL_001f: ldarg.0 + IL_0020: ldc.i4 2000 + IL_0025: ldstr "'{0}' does not exist, recompiling." + IL_002a: ldc.i4.1 + IL_002b: newarr [mscorlib]System.Object + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldloc.0 + IL_0033: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0038: stelem.ref + IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_003e: ldc.i4.0 + IL_003f: stloc.1 + IL_0040: br IL_0148 - // method line 91 - .method public hidebysig specialname - instance default void set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x30ef - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.VisualCpp.Tasks.ClTask::_outputDir - IL_0008: ret - } // end of method ClTask::set_OutputDir + IL_0045: ldarg.1 + IL_0046: ldloc.0 + IL_0047: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_004c: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0051: stloc.2 + IL_0052: ldloc.2 + IL_0053: brfalse IL_007a - // method line 92 - .method public hidebysig specialname - instance default string get_PchFile () cil managed - { - // Method begins at RVA 0x30fc - // Code size 48 (0x30) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pchFile - IL_0007: brfalse IL_0027 - - IL_000c: ldarg.0 - IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0017: ldarg.0 - IL_0018: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pchFile - IL_001d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0022: br IL_0028 + IL_0058: nop + IL_0059: ldarg.0 + IL_005a: ldc.i4 2000 + IL_005f: ldstr "'{0}' has been updated, recompiling." + IL_0064: ldc.i4.1 + IL_0065: newarr [mscorlib]System.Object + IL_006a: dup + IL_006b: ldc.i4.0 + IL_006c: ldloc.2 + IL_006d: stelem.ref + IL_006e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0073: ldc.i4.0 + IL_0074: stloc.1 + IL_0075: br IL_0148 - IL_0027: ldnull - IL_0028: stloc.0 - IL_0029: br IL_002e + IL_007a: ldarg.0 + IL_007b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() + IL_0080: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0085: ldloc.0 + IL_0086: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_008b: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0090: stloc.2 + IL_0091: ldloc.2 + IL_0092: brfalse IL_00b9 - IL_002e: ldloc.0 - IL_002f: ret - } // end of method ClTask::get_PchFile + IL_0097: nop + IL_0098: ldarg.0 + IL_0099: ldc.i4 2000 + IL_009e: ldstr "'{0}' has been updated, recompiling." + IL_00a3: ldc.i4.1 + IL_00a4: newarr [mscorlib]System.Object + IL_00a9: dup + IL_00aa: ldc.i4.0 + IL_00ab: ldloc.2 + IL_00ac: stelem.ref + IL_00ad: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00b2: ldc.i4.0 + IL_00b3: stloc.1 + IL_00b4: br IL_0148 - // method line 93 - .method public hidebysig specialname - instance default void set_PchFile (string 'value') cil managed - { - // Method begins at RVA 0x3138 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_pchFile - IL_000d: ret - } // end of method ClTask::set_PchFile + IL_00b9: ldarg.0 + IL_00ba: ldarg.1 + IL_00bb: ldloc.0 + IL_00bc: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00c1: call instance string class NAnt.VisualCpp.Tasks.ClTask::FindUpdatedInclude(string, valuetype [mscorlib]System.DateTime) + IL_00c6: stloc.2 + IL_00c7: ldloc.2 + IL_00c8: brfalse IL_00ef - // method line 94 - .method public hidebysig specialname - instance default string get_PchThroughFile () cil managed - { - // Method begins at RVA 0x3148 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pchThroughFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00cd: nop + IL_00ce: ldarg.0 + IL_00cf: ldc.i4 2000 + IL_00d4: ldstr "'{0}' has been updated, recompiling." + IL_00d9: ldc.i4.1 + IL_00da: newarr [mscorlib]System.Object + IL_00df: dup + IL_00e0: ldc.i4.0 + IL_00e1: ldloc.2 + IL_00e2: stelem.ref + IL_00e3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00e8: ldc.i4.0 + IL_00e9: stloc.1 + IL_00ea: br IL_0148 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_PchThroughFile + IL_00ef: ldarg.0 + IL_00f0: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() + IL_00f5: brfalse IL_0141 - // method line 95 - .method public hidebysig specialname - instance default void set_PchThroughFile (string 'value') cil managed - { - // Method begins at RVA 0x3163 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_pchThroughFile - IL_000d: ret - } // end of method ClTask::set_PchThroughFile + IL_00fa: ldarg.0 + IL_00fb: call instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode class NAnt.VisualCpp.Tasks.ClTask::get_PchMode() + IL_0100: brtrue IL_0141 - // method line 96 - .method public hidebysig specialname - instance default valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode get_PchMode () cil managed - { - // Method begins at RVA 0x3174 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::_precompileHeaderMode - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0105: nop + IL_0106: ldarg.0 + IL_0107: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() + IL_010c: ldloc.0 + IL_010d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0112: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0117: stloc.2 + IL_0118: ldloc.2 + IL_0119: brfalse IL_0140 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_PchMode + IL_011e: nop + IL_011f: ldarg.0 + IL_0120: ldc.i4 2000 + IL_0125: ldstr "'{0}' has been updated, recompiling." + IL_012a: ldc.i4.1 + IL_012b: newarr [mscorlib]System.Object + IL_0130: dup + IL_0131: ldc.i4.0 + IL_0132: ldloc.2 + IL_0133: stelem.ref + IL_0134: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0139: ldc.i4.0 + IL_013a: stloc.1 + IL_013b: br IL_0148 - // method line 97 - .method public hidebysig specialname - instance default void set_PchMode (valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode 'value') cil managed - { - // Method begins at RVA 0x3190 - // Code size 65 (0x41) - .maxstack 3 - IL_0000: nop - IL_0001: ldtoken NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: box NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode - IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0016: brtrue IL_0037 + IL_0140: nop + IL_0141: ldc.i4.1 + IL_0142: stloc.1 + IL_0143: br IL_0148 - IL_001b: nop - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: ldstr "An invalid type {0} was specified." - IL_0026: ldarg.1 - IL_0027: box NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0036: throw - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldarg.1 - IL_003a: stfld valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::_precompileHeaderMode - IL_003f: nop - IL_0040: ret - } // end of method ClTask::set_PchMode + IL_0148: ldloc.1 + IL_0149: ret + } // end of method ClTask::IsObjUpToDate - // method line 98 - .method public hidebysig specialname - instance default bool get_ManagedExtensions () cil managed + // method line 66 + .method private hidebysig + instance default bool AreObjsUpToDate () cil managed { - // Method begins at RVA 0x31e0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x380c + // Code size 178 (0xb2) + .maxstack 7 .locals init ( - bool V_0) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + bool V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.VisualCpp.Tasks.ClTask::_managedExtensions - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_ManagedExtensions + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() + IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_000d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0012: stloc.1 + .try { // 0 + IL_0013: br IL_0078 - // method line 99 - .method public hidebysig specialname - instance default void set_ManagedExtensions (bool 'value') cil managed - { - // Method begins at RVA 0x31fb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.VisualCpp.Tasks.ClTask::_managedExtensions - IL_0008: ret - } // end of method ClTask::set_ManagedExtensions + IL_0018: ldloc.1 + IL_0019: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_001e: stloc.0 + IL_001f: nop + IL_0020: ldloc.0 + IL_0021: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0026: brtrue IL_0058 - // method line 100 - .method public hidebysig specialname - instance default valuetype NAnt.VisualCpp.Types.CharacterSet get_CharacterSet () cil managed - { - // Method begins at RVA 0x3208 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.VisualCpp.Types.CharacterSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::_characterSet - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_CharacterSet - - // method line 101 - .method public hidebysig specialname - instance default void set_CharacterSet (valuetype NAnt.VisualCpp.Types.CharacterSet 'value') cil managed - { - // Method begins at RVA 0x3224 - // Code size 65 (0x41) - .maxstack 3 - IL_0000: nop - IL_0001: ldtoken NAnt.VisualCpp.Types.CharacterSet - IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_000b: ldarg.1 - IL_000c: box NAnt.VisualCpp.Types.CharacterSet - IL_0011: call bool class [mscorlib]System.Enum::IsDefined(class [mscorlib]System.Type, object) - IL_0016: brtrue IL_0037 + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: ldc.i4 2000 + IL_0032: ldstr "'{0}' does not exist, recompiling." + IL_0037: ldc.i4.1 + IL_0038: newarr [mscorlib]System.Object + IL_003d: dup + IL_003e: ldc.i4.0 + IL_003f: ldloc.0 + IL_0040: stelem.ref + IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0046: ldarg.0 + IL_0047: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources + IL_004c: ldloc.0 + IL_004d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0052: pop + IL_0053: leave IL_0078 - IL_001b: nop - IL_001c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0021: ldstr "An invalid character set '{0}' was specified." - IL_0026: ldarg.1 - IL_0027: box NAnt.VisualCpp.Types.CharacterSet - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0036: throw - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: ldarg.1 - IL_003a: stfld valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::_characterSet - IL_003f: nop - IL_0040: ret - } // end of method ClTask::set_CharacterSet + IL_0058: ldarg.0 + IL_0059: ldloc.0 + IL_005a: call instance bool class NAnt.VisualCpp.Tasks.ClTask::IsObjUpToDate(string) + IL_005f: brtrue IL_0077 - // method line 102 - .method public hidebysig specialname - instance default string get_Options () cil managed - { - // Method begins at RVA 0x3274 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_options - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0064: nop + IL_0065: ldarg.0 + IL_0066: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources + IL_006b: ldloc.0 + IL_006c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0071: pop + IL_0072: leave IL_0078 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_Options + IL_0077: nop + IL_0078: ldloc.1 + IL_0079: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_007e: brtrue IL_0018 - // method line 103 - .method public hidebysig specialname - instance default void set_Options (string 'value') cil managed - { - // Method begins at RVA 0x328f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VisualCpp.Tasks.ClTask::_options - IL_0008: ret - } // end of method ClTask::set_Options + IL_0083: leave IL_009c - // method line 104 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed - { - // Method begins at RVA 0x329c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_sources - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_0088: ldloc.1 + IL_0089: isinst [mscorlib]System.IDisposable + IL_008e: dup + IL_008f: stloc.2 + IL_0090: brfalse IL_009b - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_Sources + IL_0095: ldloc.2 + IL_0096: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009b: endfinally + } // end handler 0 + IL_009c: ldarg.0 + IL_009d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources + IL_00a2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00a7: ldc.i4.0 + IL_00a8: ceq + IL_00aa: stloc.3 + IL_00ab: br IL_00b0 - // method line 105 - .method public hidebysig specialname - instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x32b7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_sources - IL_0008: ret - } // end of method ClTask::set_Sources + IL_00b0: ldloc.3 + IL_00b1: ret + } // end of method ClTask::AreObjsUpToDate - // method line 106 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_IncludeDirs () cil managed + // method line 67 + .method private hidebysig + instance default string FindUpdatedInclude (string srcFileName, valuetype [mscorlib]System.DateTime objLastWriteTime) cil managed { - // Method begins at RVA 0x32c4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x38dc + // Code size 585 (0x249) + .maxstack 7 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + string V_0, + class [mscorlib]System.IO.StreamReader V_1, + class [System]System.Text.RegularExpressions.Match V_2, + string V_3, + string V_4, + string V_5, + class [System]System.Collections.Specialized.StringEnumerator V_6, + string V_7, + class [mscorlib]System.IDisposable V_8, + class [NAnt.Core]NAnt.Core.PathScanner V_9, + class [System]System.Collections.Specialized.StringCollection V_10, + string V_11, + string V_12) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_includeDirs - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4 1000 + IL_0007: ldstr "Checking whether includes of \"{0}\" have been updated." + IL_000c: ldc.i4.1 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.1 + IL_0015: stelem.ref + IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_001b: ldarg.1 + IL_001c: ldc.i4.1 + IL_001d: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, bool) + IL_0022: stloc.1 + .try { // 1 + IL_0023: nop + IL_0024: br IL_021e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_IncludeDirs + IL_0029: nop + IL_002a: ldarg.0 + IL_002b: ldfld class [System]System.Text.RegularExpressions.Regex NAnt.VisualCpp.Tasks.ClTask::_includeRegex + IL_0030: ldloc.0 + IL_0031: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0036: stloc.2 + IL_0037: ldloc.2 + IL_0038: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_003d: callvirt instance int32 class [System]System.Text.RegularExpressions.GroupCollection::get_Count() + IL_0042: ldc.i4.2 + IL_0043: beq IL_004e - // method line 107 - .method public hidebysig specialname - instance default void set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x32df - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_includeDirs - IL_0008: ret - } // end of method ClTask::set_IncludeDirs + IL_0048: nop + IL_0049: leave IL_021e - // method line 108 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_MetaDataIncludeDirs () cil managed - { - // Method begins at RVA 0x32ec - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_metaDataIncludeDirs - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_004e: ldloc.2 + IL_004f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0054: ldstr "includefile" + IL_0059: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_005e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0063: stloc.3 + IL_0064: ldarg.0 + IL_0065: ldc.i4 1000 + IL_006a: ldstr "Checking include \"{0}\"..." + IL_006f: ldc.i4.1 + IL_0070: newarr [mscorlib]System.Object + IL_0075: dup + IL_0076: ldc.i4.0 + IL_0077: ldloc.3 + IL_0078: stelem.ref + IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007e: ldarg.0 + IL_007f: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VisualCpp.Tasks.ClTask::_resolvedIncludes + IL_0084: ldloc.3 + IL_0085: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_008a: isinst [mscorlib]System.String + IL_008f: stloc.s 4 + IL_0091: ldloc.s 4 + IL_0093: brtrue IL_01d7 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_MetaDataIncludeDirs + IL_0098: nop + IL_0099: nop + IL_009a: ldarg.0 + IL_009b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() + IL_00a0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_00a5: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00aa: stloc.s 6 + .try { // 0 + IL_00ac: br IL_00f6 - // method line 109 - .method public hidebysig specialname - instance default void set_MetaDataIncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x3307 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_metaDataIncludeDirs - IL_0008: ret - } // end of method ClTask::set_MetaDataIncludeDirs + IL_00b1: ldloc.s 6 + IL_00b3: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00b8: stloc.s 5 + IL_00ba: nop + IL_00bb: ldloc.s 5 + IL_00bd: ldloc.3 + IL_00be: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_00c3: stloc.s 7 + IL_00c5: ldloc.s 7 + IL_00c7: call bool class [mscorlib]System.IO.File::Exists(string) + IL_00cc: brfalse IL_00f5 - // method line 110 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_ForcedUsingFiles () cil managed - { - // Method begins at RVA 0x3314 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_forcedUsingFiles - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00d1: nop + IL_00d2: ldarg.0 + IL_00d3: ldc.i4 1000 + IL_00d8: ldstr "Found include \"{0}\" in includedirs." + IL_00dd: ldc.i4.1 + IL_00de: newarr [mscorlib]System.Object + IL_00e3: dup + IL_00e4: ldc.i4.0 + IL_00e5: ldloc.3 + IL_00e6: stelem.ref + IL_00e7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00ec: ldloc.s 7 + IL_00ee: stloc.s 4 + IL_00f0: leave IL_0102 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_ForcedUsingFiles + IL_00f5: nop + IL_00f6: ldloc.s 6 + IL_00f8: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00fd: brtrue IL_00b1 - // method line 111 - .method public hidebysig specialname - instance default void set_ForcedUsingFiles (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x332f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::_forcedUsingFiles - IL_0008: ret - } // end of method ClTask::set_ForcedUsingFiles + IL_0102: leave IL_011e - // method line 112 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Defines () cil managed - { - // Method begins at RVA 0x333c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.OptionCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_defines - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_0107: ldloc.s 6 + IL_0109: isinst [mscorlib]System.IDisposable + IL_010e: dup + IL_010f: stloc.s 8 + IL_0111: brfalse IL_011d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_Defines + IL_0116: ldloc.s 8 + IL_0118: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_011d: endfinally + } // end handler 0 + IL_011e: ldloc.s 4 + IL_0120: brtrue IL_0177 - // method line 113 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Undefines () cil managed - { - // Method begins at RVA 0x3358 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.OptionCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::_undefines - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0125: nop + IL_0126: newobj instance void class [NAnt.Core]NAnt.Core.PathScanner::'.ctor'() + IL_012b: stloc.s 9 + IL_012d: ldloc.s 9 + IL_012f: ldloc.3 + IL_0130: callvirt instance void class [NAnt.Core]NAnt.Core.PathScanner::Add(string) + IL_0135: ldloc.s 9 + IL_0137: ldstr "INCLUDE" + IL_013c: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.PathScanner::Scan(string) + IL_0141: stloc.s 10 + IL_0143: ldloc.s 10 + IL_0145: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_014a: ldc.i4.0 + IL_014b: ble IL_0176 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_Undefines + IL_0150: nop + IL_0151: ldarg.0 + IL_0152: ldc.i4 1000 + IL_0157: ldstr "Found include \"{0}\" in INCLUDE." + IL_015c: ldc.i4.1 + IL_015d: newarr [mscorlib]System.Object + IL_0162: dup + IL_0163: ldc.i4.0 + IL_0164: ldloc.3 + IL_0165: stelem.ref + IL_0166: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_016b: ldloc.s 10 + IL_016d: ldc.i4.0 + IL_016e: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) + IL_0173: stloc.s 4 + IL_0175: nop + IL_0176: nop + IL_0177: ldloc.s 4 + IL_0179: brtrue IL_01bf - // method line 114 - .method public hidebysig specialname - instance default string get_ObjectFile () cil managed - { - // Method begins at RVA 0x3374 - // Code size 68 (0x44) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_objectFile - IL_0007: brfalse IL_0027 + IL_017e: nop + IL_017f: ldarg.0 + IL_0180: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0185: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_018a: ldloc.3 + IL_018b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0190: stloc.s 11 + IL_0192: ldloc.s 11 + IL_0194: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0199: brfalse IL_01be - IL_000c: ldarg.0 - IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0017: ldarg.0 - IL_0018: ldfld string NAnt.VisualCpp.Tasks.ClTask::_objectFile - IL_001d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0022: br IL_003c + IL_019e: nop + IL_019f: ldarg.0 + IL_01a0: ldc.i4 1000 + IL_01a5: ldstr "Found include \"{0}\" in working directory." + IL_01aa: ldc.i4.1 + IL_01ab: newarr [mscorlib]System.Object + IL_01b0: dup + IL_01b1: ldc.i4.0 + IL_01b2: ldloc.3 + IL_01b3: stelem.ref + IL_01b4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_01b9: ldloc.s 11 + IL_01bb: stloc.s 4 + IL_01bd: nop + IL_01be: nop + IL_01bf: ldloc.s 4 + IL_01c1: brfalse IL_01d6 - IL_0027: ldarg.0 - IL_0028: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_002d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0032: ldstr "/" - IL_0037: call string string::Concat(string, string) - IL_003c: stloc.0 - IL_003d: br IL_0042 + IL_01c6: nop + IL_01c7: ldarg.0 + IL_01c8: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VisualCpp.Tasks.ClTask::_resolvedIncludes + IL_01cd: ldloc.3 + IL_01ce: ldloc.s 4 + IL_01d0: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_01d5: nop + IL_01d6: nop + IL_01d7: ldloc.s 4 + IL_01d9: brfalse IL_0201 - IL_0042: ldloc.0 - IL_0043: ret - } // end of method ClTask::get_ObjectFile + IL_01de: nop + IL_01df: ldloc.s 4 + IL_01e1: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) + IL_01e6: ldarg.2 + IL_01e7: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) + IL_01ec: brfalse IL_01fb - // method line 115 - .method public hidebysig specialname - instance default void set_ObjectFile (string 'value') cil managed - { - // Method begins at RVA 0x33c4 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_objectFile - IL_000d: ret - } // end of method ClTask::set_ObjectFile + IL_01f1: nop + IL_01f2: ldloc.s 4 + IL_01f4: stloc.s 12 + IL_01f6: leave IL_0246 - // method line 116 - .method public hidebysig specialname - instance default string get_ProgramDatabaseFile () cil managed - { - // Method begins at RVA 0x33d4 - // Code size 68 (0x44) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pdbFile - IL_0007: brfalse IL_0027 + IL_01fb: nop + IL_01fc: br IL_021d - IL_000c: ldarg.0 - IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_0012: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0017: ldarg.0 - IL_0018: ldfld string NAnt.VisualCpp.Tasks.ClTask::_pdbFile - IL_001d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0022: br IL_003c + IL_0201: nop + IL_0202: ldarg.0 + IL_0203: ldc.i4 1000 + IL_0208: ldstr "Include \"{0}\" could not be located." + IL_020d: ldc.i4.1 + IL_020e: newarr [mscorlib]System.Object + IL_0213: dup + IL_0214: ldc.i4.0 + IL_0215: ldloc.3 + IL_0216: stelem.ref + IL_0217: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_021c: nop + IL_021d: nop + IL_021e: ldloc.1 + IL_021f: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0224: dup + IL_0225: stloc.0 + IL_0226: brtrue IL_0029 - IL_0027: ldarg.0 - IL_0028: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_002d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0032: ldstr "/" - IL_0037: call string string::Concat(string, string) - IL_003c: stloc.0 - IL_003d: br IL_0042 + IL_022b: nop + IL_022c: leave IL_023e - IL_0042: ldloc.0 - IL_0043: ret - } // end of method ClTask::get_ProgramDatabaseFile + } // end .try 1 + finally { // 1 + IL_0231: ldloc.1 + IL_0232: brfalse IL_023d - // method line 117 - .method public hidebysig specialname - instance default void set_ProgramDatabaseFile (string 'value') cil managed - { - // Method begins at RVA 0x3424 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.VisualCpp.Tasks.ClTask::_pdbFile - IL_000d: ret - } // end of method ClTask::set_ProgramDatabaseFile + IL_0237: ldloc.1 + IL_0238: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_023d: endfinally + } // end handler 1 + IL_023e: ldnull + IL_023f: stloc.s 12 + IL_0241: br IL_0246 - // method line 118 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed + IL_0246: ldloc.s 12 + IL_0248: ret + } // end of method ClTask::FindUpdatedInclude + + // method line 68 + .method public static hidebysig + default string QuoteArgumentValue (string 'value') cil managed { - // Method begins at RVA 0x3434 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x3b68 + // Code size 16 (0x10) + .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.1 + IL_0003: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ClTask::get_ProgramFileName + IL_000e: ldloc.0 + IL_000f: ret + } // end of method ClTask::QuoteArgumentValue - // method line 119 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + // method line 69 + .method public static hidebysig + default string GetObjOutputFile (string srcFile, string objectPath) cil managed { - // Method begins at RVA 0x3450 - // Code size 30 (0x1e) + // Method begins at RVA 0x3b84 + // Code size 143 (0x8f) .maxstack 3 .locals init ( string V_0) IL_0000: nop - IL_0001: ldstr "@\"" - IL_0006: ldarg.0 - IL_0007: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName - IL_000c: ldstr "\"" - IL_0011: call string string::Concat(string, string, string) - IL_0016: stloc.0 - IL_0017: br IL_001c + IL_0001: ldarg.0 + IL_0002: brtrue IL_0013 - IL_001c: ldloc.0 - IL_001d: ret - } // end of method ClTask::get_ProgramArguments + IL_0007: nop + IL_0008: ldstr "srcFile" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: brtrue IL_0025 - // method line 120 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x347c - // Code size 1429 (0x595) - .maxstack 7 - .locals init ( - class [mscorlib]System.IO.StreamWriter V_0, - class [NAnt.Core]NAnt.Core.Types.Option V_1, - class [NAnt.Core]NAnt.Core.Types.OptionEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class [NAnt.Core]NAnt.Core.Types.Option V_4, - class [NAnt.Core]NAnt.Core.Types.OptionEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - string V_7, - class [System]System.Collections.Specialized.StringEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - string V_10, - class [System]System.Collections.Specialized.StringEnumerator V_11, - class [mscorlib]System.IDisposable V_12, - string V_13, - class [System]System.Collections.Specialized.StringEnumerator V_14, - class [mscorlib]System.IDisposable V_15, - valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode V_16, - string V_17, - class [System]System.Collections.Specialized.StringEnumerator V_18, - class [mscorlib]System.IDisposable V_19, - valuetype NAnt.VisualCpp.Types.CharacterSet V_20, - class [mscorlib]System.IO.StreamReader V_21) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e + IL_0019: nop + IL_001a: ldstr "objectPath" + IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0024: throw + IL_0025: ldarg.1 + IL_0026: ldstr "/" + IL_002b: callvirt instance bool string::EndsWith(string) + IL_0030: brtrue IL_0070 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0018: ldarg.0 - IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0039: brtrue IL_005b + IL_0035: ldarg.1 + IL_0036: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_003b: callvirt instance int32 string::get_Length() + IL_0040: brfalse IL_0070 - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_0045: ldarg.0 - IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0055: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_005a: nop - IL_005b: ldarg.0 - IL_005c: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() - IL_0061: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0066: brtrue IL_0088 + IL_0045: nop + IL_0046: ldarg.1 + IL_0047: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_004c: callvirt instance int32 string::get_Length() + IL_0051: brtrue IL_0068 - IL_006b: nop - IL_006c: ldarg.0 - IL_006d: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() + IL_0056: nop + IL_0057: ldarg.1 + IL_0058: ldstr ".obj" + IL_005d: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_0062: stloc.0 + IL_0063: br IL_008d + + IL_0068: nop + IL_0069: ldarg.1 + IL_006a: stloc.0 + IL_006b: br IL_008d + + IL_0070: nop + IL_0071: ldarg.1 IL_0072: ldarg.0 - IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0078: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_007d: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0082: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0087: nop - IL_0088: ldarg.0 - IL_0089: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_008e: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0093: brtrue IL_00b5 + IL_0073: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + IL_0078: ldstr ".obj" + IL_007d: call string string::Concat(string, string) + IL_0082: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0087: stloc.0 + IL_0088: br IL_008d - IL_0098: nop - IL_0099: ldarg.0 - IL_009a: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_009f: ldarg.0 - IL_00a0: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_00a5: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_00aa: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_00af: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00b4: nop - IL_00b5: ldarg.0 - IL_00b6: callvirt instance bool class NAnt.VisualCpp.Tasks.ClTask::NeedsCompiling() - IL_00bb: brfalse IL_0594 + IL_008d: ldloc.0 + IL_008e: ret + } // end of method ClTask::GetObjOutputFile - IL_00c0: nop - IL_00c1: ldarg.0 - IL_00c2: ldc.i4 3000 - IL_00c7: ldstr "Compiling {0} files to '{1}'." - IL_00cc: ldc.i4.2 - IL_00cd: newarr [mscorlib]System.Object - IL_00d2: dup - IL_00d3: ldc.i4.0 - IL_00d4: ldarg.0 - IL_00d5: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources - IL_00da: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00df: box [mscorlib]System.Int32 - IL_00e4: stelem.ref - IL_00e5: dup - IL_00e6: ldc.i4.1 - IL_00e7: ldarg.0 - IL_00e8: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.VisualCpp.Tasks.ClTask::get_OutputDir() - IL_00ed: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00f2: stelem.ref - IL_00f3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00f8: ldarg.0 - IL_00f9: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_00fe: stfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName - IL_0103: ldarg.0 - IL_0104: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName - IL_0109: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) - IL_010e: stloc.0 - .try { // 6 - IL_010f: nop - IL_0110: ldloc.0 - IL_0111: ldstr "/c" - IL_0116: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_011b: ldarg.0 - IL_011c: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_Options() - IL_0121: brfalse IL_0134 + .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 09 6F 75 74 70 75 74 64 69 72 01 00 54 02 // ...outputdir..T. + 08 52 65 71 75 69 72 65 64 01 ) // .Required. - IL_0126: nop - IL_0127: ldloc.0 - IL_0128: ldarg.0 - IL_0129: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_Options() - IL_012e: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_0133: nop - IL_0134: ldarg.0 - IL_0135: call instance bool class NAnt.VisualCpp.Tasks.ClTask::get_ManagedExtensions() - IL_013a: brfalse IL_014c + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VisualCpp.Tasks.ClTask::get_OutputDir () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance string PchFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 63 68 66 69 6C 65 00 00 ) // ...pchfile.. - IL_013f: nop - IL_0140: ldloc.0 - IL_0141: ldstr "/clr" - IL_0146: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_014b: nop - IL_014c: nop - IL_014d: ldarg.0 - IL_014e: call instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class NAnt.VisualCpp.Tasks.ClTask::get_Defines() - IL_0153: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionEnumerator class [NAnt.Core]NAnt.Core.Types.OptionCollection::GetEnumerator() - IL_0158: stloc.2 - .try { // 0 - IL_0159: br IL_01e2 + .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_PchFile () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_PchFile (string 'value') + } + .property instance string PchThroughFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 70 63 68 74 68 72 6F 75 67 68 66 69 6C // ...pchthroughfil + 65 00 00 ) // e.. - IL_015e: ldloc.2 - IL_015f: callvirt instance class [NAnt.Core]NAnt.Core.Types.Option class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::get_Current() - IL_0164: stloc.1 - IL_0165: nop - IL_0166: ldloc.1 - IL_0167: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_016c: brfalse IL_017c + .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_PchThroughFile () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_PchThroughFile (string 'value') + } + .property instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode PchMode () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 63 68 6D 6F 64 65 00 00 ) // ...pchmode.. - IL_0171: ldloc.1 - IL_0172: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_UnlessDefined() - IL_0177: brfalse IL_0182 + .get instance default valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::get_PchMode () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_PchMode (valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode 'value') + } + .property instance bool ManagedExtensions () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 11 6D 61 6E 61 67 65 64 65 78 74 65 6E 73 // ...managedextens + 69 6F 6E 73 00 00 ) // ions.. - IL_017c: nop - IL_017d: leave IL_01e2 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0182: ldloc.1 - IL_0183: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_0188: brtrue IL_01af + .get instance default bool NAnt.VisualCpp.Tasks.ClTask::get_ManagedExtensions () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ManagedExtensions (bool 'value') + } + .property instance valuetype NAnt.VisualCpp.Types.CharacterSet CharacterSet () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 63 68 61 72 61 63 74 65 72 73 65 74 01 // ...characterset. + 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. - IL_018d: nop - IL_018e: ldloc.0 - IL_018f: ldstr "/D " - IL_0194: ldloc.1 - IL_0195: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() - IL_019a: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_019f: call string string::Concat(string, string) - IL_01a4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_01a9: nop - IL_01aa: br IL_01e1 + .get instance default valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::get_CharacterSet () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_CharacterSet (valuetype NAnt.VisualCpp.Types.CharacterSet 'value') + } + .property instance string Options () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. - IL_01af: nop - IL_01b0: ldloc.0 - IL_01b1: ldstr "/D " - IL_01b6: ldloc.1 - IL_01b7: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() - IL_01bc: ldstr "=" - IL_01c1: ldloc.1 - IL_01c2: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_01c7: call string class NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) - IL_01cc: call string string::Concat(string, string, string) - IL_01d1: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_01d6: call string string::Concat(string, string) - IL_01db: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_01e0: nop - IL_01e1: nop - IL_01e2: ldloc.2 - IL_01e3: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::MoveNext() - IL_01e8: brtrue IL_015e + .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_Options () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_Options (string 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 73 6F 75 72 63 65 73 00 00 ) // ...sources.. - IL_01ed: leave IL_0206 + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_Sources () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet IncludeDirs () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 69 6E 63 6C 75 64 65 64 69 72 73 00 00 ) // ...includedirs.. - } // end .try 0 - finally { // 0 - IL_01f2: ldloc.2 - IL_01f3: isinst [mscorlib]System.IDisposable - IL_01f8: dup - IL_01f9: stloc.3 - IL_01fa: brfalse IL_0205 + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet MetaDataIncludeDirs () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 13 6D 65 74 61 64 61 74 61 69 6E 63 6C 75 // ...metadatainclu + 64 65 64 69 72 73 00 00 ) // dedirs.. - IL_01ff: ldloc.3 - IL_0200: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0205: endfinally - } // end handler 0 - IL_0206: nop - IL_0207: ldarg.0 - IL_0208: call instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class NAnt.VisualCpp.Tasks.ClTask::get_Undefines() - IL_020d: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionEnumerator class [NAnt.Core]NAnt.Core.Types.OptionCollection::GetEnumerator() - IL_0212: stloc.s 5 - .try { // 1 - IL_0214: br IL_025e + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_MetaDataIncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ForcedUsingFiles () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 10 66 6F 72 63 65 64 75 73 69 6E 67 66 69 // ...forcedusingfi + 6C 65 73 00 00 ) // les.. - IL_0219: ldloc.s 5 - IL_021b: callvirt instance class [NAnt.Core]NAnt.Core.Types.Option class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::get_Current() - IL_0220: stloc.s 4 - IL_0222: nop - IL_0223: ldloc.s 4 - IL_0225: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_022a: brfalse IL_023b + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ForcedUsingFiles (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.OptionCollection Defines () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 07 64 65 66 69 6E 65 73 06 64 65 66 69 6E // ...defines.defin + 65 00 00 ) // e.. - IL_022f: ldloc.s 4 - IL_0231: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_UnlessDefined() - IL_0236: brfalse IL_0241 + .get instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::get_Defines () + } + .property instance class [NAnt.Core]NAnt.Core.Types.OptionCollection Undefines () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 09 75 6E 64 65 66 69 6E 65 73 08 75 6E 64 // ...undefines.und + 65 66 69 6E 65 00 00 ) // efine.. - IL_023b: nop - IL_023c: leave IL_025e + .get instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::get_Undefines () + } + .property instance string ObjectFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 6F 62 6A 65 63 74 66 69 6C 65 00 00 ) // ...objectfile.. - IL_0241: ldloc.0 - IL_0242: ldstr "/U " - IL_0247: ldloc.s 4 - IL_0249: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() - IL_024e: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_0253: call string string::Concat(string, string) - IL_0258: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_025d: nop - IL_025e: ldloc.s 5 - IL_0260: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::MoveNext() - IL_0265: brtrue IL_0219 + .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ObjectFile () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ObjectFile (string 'value') + } + .property instance string ProgramDatabaseFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 64 62 66 69 6C 65 00 00 ) // ...pdbfile.. - IL_026a: leave IL_0286 + .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ProgramDatabaseFile () + .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ProgramDatabaseFile (string 'value') + } + .property instance string ProgramFileName () + { + .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ProgramFileName () + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ProgramArguments () + } + .class nested public auto ansi sealed PrecompiledHeaderMode + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode Create = int32(0x00000001) + .field public static literal valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode AutoCreate = int32(0x00000002) + .field public static literal valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode Use = int32(0x00000000) - } // end .try 1 - finally { // 1 - IL_026f: ldloc.s 5 - IL_0271: isinst [mscorlib]System.IDisposable - IL_0276: dup - IL_0277: stloc.s 6 - IL_0279: brfalse IL_0285 - - IL_027e: ldloc.s 6 - IL_0280: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0285: endfinally - } // end handler 1 - IL_0286: nop - IL_0287: ldarg.0 - IL_0288: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_028d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0292: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0297: stloc.s 8 - .try { // 2 - IL_0299: br IL_02bb - - IL_029e: ldloc.s 8 - IL_02a0: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_02a5: stloc.s 7 - IL_02a7: nop - IL_02a8: ldloc.0 - IL_02a9: ldstr "/I {0}" - IL_02ae: ldloc.s 7 - IL_02b0: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_02b5: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_02ba: nop - IL_02bb: ldloc.s 8 - IL_02bd: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_02c2: brtrue IL_029e + } // end of class PrecompiledHeaderMode - IL_02c7: leave IL_02e3 + } // end of class NAnt.VisualCpp.Tasks.ClTask +} - } // end .try 2 - finally { // 2 - IL_02cc: ldloc.s 8 - IL_02ce: isinst [mscorlib]System.IDisposable - IL_02d3: dup - IL_02d4: stloc.s 9 - IL_02d6: brfalse IL_02e2 +.namespace NAnt.VisualCpp.Tasks +{ + .class public auto ansi beforefieldinit RcTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 72 63 00 00 ) // ...rc.. - IL_02db: ldloc.s 9 - IL_02dd: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02e2: endfinally - } // end handler 2 - IL_02e3: nop - IL_02e4: ldarg.0 - IL_02e5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs() - IL_02ea: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_02ef: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_02f4: stloc.s 11 - .try { // 3 - IL_02f6: br IL_0318 + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private string _options + .field private int32 _langId + .field private class [mscorlib]System.IO.FileInfo _rcFile + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _includeDirs + .field private class [NAnt.Core]NAnt.Core.Types.OptionCollection _defines - IL_02fb: ldloc.s 11 - IL_02fd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0302: stloc.s 10 - IL_0304: nop - IL_0305: ldloc.0 - IL_0306: ldstr "/AI {0}" - IL_030b: ldloc.s 10 - IL_030d: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_0312: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0317: nop - IL_0318: ldloc.s 11 - IL_031a: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_031f: brtrue IL_02fb + // method line 70 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x3c1f + // Code size 36 (0x24) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.0 + IL_0002: stfld int32 NAnt.VisualCpp.Tasks.RcTask::_langId + IL_0007: ldarg.0 + IL_0008: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_000d: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::_includeDirs + IL_0012: ldarg.0 + IL_0013: newobj instance void class [NAnt.Core]NAnt.Core.Types.OptionCollection::'.ctor'() + IL_0018: stfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.RcTask::_defines + IL_001d: ldarg.0 + IL_001e: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0023: ret + } // end of method RcTask::.ctor - IL_0324: leave IL_0340 + // method line 71 + .method public hidebysig specialname + instance default string get_Options () cil managed + { + // Method begins at RVA 0x3c44 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VisualCpp.Tasks.RcTask::_options + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 3 - finally { // 3 - IL_0329: ldloc.s 11 - IL_032b: isinst [mscorlib]System.IDisposable - IL_0330: dup - IL_0331: stloc.s 12 - IL_0333: brfalse IL_033f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RcTask::get_Options - IL_0338: ldloc.s 12 - IL_033a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_033f: endfinally - } // end handler 3 - IL_0340: nop - IL_0341: ldarg.0 - IL_0342: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_0347: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_034c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0351: stloc.s 14 - .try { // 4 - IL_0353: br IL_0375 + // method line 72 + .method public hidebysig specialname + instance default void set_Options (string 'value') cil managed + { + // Method begins at RVA 0x3c5f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.VisualCpp.Tasks.RcTask::_options + IL_0008: ret + } // end of method RcTask::set_Options - IL_0358: ldloc.s 14 - IL_035a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_035f: stloc.s 13 - IL_0361: nop - IL_0362: ldloc.0 - IL_0363: ldstr "/FU {0}" - IL_0368: ldloc.s 13 - IL_036a: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_036f: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0374: nop - IL_0375: ldloc.s 14 - IL_0377: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_037c: brtrue IL_0358 + // method line 73 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + { + // Method begins at RVA 0x3c6c + // Code size 60 (0x3c) + .maxstack 3 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile + IL_0007: brtrue IL_002e - IL_0381: leave IL_039d + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() + IL_0014: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0019: ldstr "RES" + IL_001e: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_0023: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) + IL_0028: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile + IL_0034: stloc.0 + IL_0035: br IL_003a - } // end .try 4 - finally { // 4 - IL_0386: ldloc.s 14 - IL_0388: isinst [mscorlib]System.IDisposable - IL_038d: dup - IL_038e: stloc.s 15 - IL_0390: brfalse IL_039c + IL_003a: ldloc.0 + IL_003b: ret + } // end of method RcTask::get_OutputFile - IL_0395: ldloc.s 15 - IL_0397: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_039c: endfinally - } // end handler 4 - IL_039d: ldloc.0 - IL_039e: ldstr "/Fd{0}" - IL_03a3: ldarg.0 - IL_03a4: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_ProgramDatabaseFile() - IL_03a9: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_03ae: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_03b3: ldloc.0 - IL_03b4: ldstr "/Fo{0}" - IL_03b9: ldarg.0 - IL_03ba: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_ObjectFile() - IL_03bf: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_03c4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_03c9: ldarg.0 - IL_03ca: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() - IL_03cf: brfalse IL_0463 + // method line 74 + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x3cb4 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile + IL_0008: ret + } // end of method RcTask::set_OutputFile - IL_03d4: nop - IL_03d5: ldloc.0 - IL_03d6: ldstr "/Fp{0}" - IL_03db: ldarg.0 - IL_03dc: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() - IL_03e1: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_03e6: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_03eb: ldarg.0 - IL_03ec: call instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode class NAnt.VisualCpp.Tasks.ClTask::get_PchMode() - IL_03f1: stloc.s 16 - IL_03f3: ldloc.s 16 - IL_03f5: brfalse IL_040f + // method line 75 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_RcFile () cil managed + { + // Method begins at RVA 0x3cc0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_rcFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_03fa: ldloc.s 16 - IL_03fc: ldc.i4.1 - IL_03fd: beq IL_041f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RcTask::get_RcFile - IL_0402: ldloc.s 16 - IL_0404: ldc.i4.2 - IL_0405: beq IL_042f - - IL_040a: br IL_043f + // method line 76 + .method public hidebysig specialname + instance default void set_RcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x3cdb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_rcFile + IL_0008: ret + } // end of method RcTask::set_RcFile - IL_040f: ldloc.0 - IL_0410: ldstr "/Yu" - IL_0415: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_041a: leave IL_043f + // method line 77 + .method public hidebysig specialname + instance default int32 get_LangId () cil managed + { + // Method begins at RVA 0x3ce8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.VisualCpp.Tasks.RcTask::_langId + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_041f: ldloc.0 - IL_0420: ldstr "/Yc" - IL_0425: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_042a: leave IL_043f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RcTask::get_LangId - IL_042f: ldloc.0 - IL_0430: ldstr "/YX" - IL_0435: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(string) - IL_043a: leave IL_043f + // method line 78 + .method public hidebysig specialname + instance default void set_LangId (int32 'value') cil managed + { + // Method begins at RVA 0x3d03 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.VisualCpp.Tasks.RcTask::_langId + IL_0008: ret + } // end of method RcTask::set_LangId - IL_043f: ldarg.0 - IL_0440: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchThroughFile() - IL_0445: brfalse IL_0462 + // method line 79 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_IncludeDirs () cil managed + { + // Method begins at RVA 0x3d10 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::_includeDirs + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_044a: nop - IL_044b: ldloc.0 - IL_044c: ldstr "{0}" - IL_0451: ldarg.0 - IL_0452: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchThroughFile() - IL_0457: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_045c: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0461: nop - IL_0462: nop - IL_0463: nop - IL_0464: ldarg.0 - IL_0465: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources - IL_046a: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_046f: stloc.s 18 - .try { // 5 - IL_0471: br IL_048e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RcTask::get_IncludeDirs - IL_0476: ldloc.s 18 - IL_0478: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_047d: stloc.s 17 - IL_047f: nop - IL_0480: ldloc.0 - IL_0481: ldloc.s 17 - IL_0483: call string class NAnt.VisualCpp.Tasks.ClTask::QuoteArgumentValue(string) - IL_0488: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_048d: nop - IL_048e: ldloc.s 18 - IL_0490: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0495: brtrue IL_0476 + // method line 80 + .method public hidebysig specialname + instance default void set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x3d2b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::_includeDirs + IL_0008: ret + } // end of method RcTask::set_IncludeDirs - IL_049a: leave IL_04b6 + // method line 81 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Defines () cil managed + { + // Method begins at RVA 0x3d38 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.OptionCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.RcTask::_defines + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 5 - finally { // 5 - IL_049f: ldloc.s 18 - IL_04a1: isinst [mscorlib]System.IDisposable - IL_04a6: dup - IL_04a7: stloc.s 19 - IL_04a9: brfalse IL_04b5 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RcTask::get_Defines - IL_04ae: ldloc.s 19 - IL_04b0: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_04b5: endfinally - } // end handler 5 - IL_04b6: ldarg.0 - IL_04b7: call instance valuetype NAnt.VisualCpp.Types.CharacterSet class NAnt.VisualCpp.Tasks.ClTask::get_CharacterSet() - IL_04bc: stloc.s 20 - IL_04be: ldloc.s 20 - IL_04c0: ldc.i4.1 - IL_04c1: beq IL_04d3 + // method line 82 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed + { + // Method begins at RVA 0x3d54 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_04c6: ldloc.s 20 - IL_04c8: ldc.i4.2 - IL_04c9: beq IL_04ee + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RcTask::get_ProgramFileName - IL_04ce: br IL_04fe + // method line 83 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed + { + // Method begins at RVA 0x3d70 + // Code size 439 (0x1b7) + .maxstack 4 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class [NAnt.Core]NAnt.Core.Types.Option V_4, + class [NAnt.Core]NAnt.Core.Types.OptionEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + string V_7) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_000d: brfalse IL_0020 - IL_04d3: ldloc.0 - IL_04d4: ldstr "/D \"_UNICODE\"" - IL_04d9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_04de: ldloc.0 - IL_04df: ldstr "/D \"UNICODE\"" - IL_04e4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_04e9: leave IL_04fe + IL_0012: nop + IL_0013: ldloc.0 + IL_0014: ldstr "/v " + IL_0019: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_001e: pop + IL_001f: nop + IL_0020: ldloc.0 + IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0026: ldstr "/fo\"{0}\" " + IL_002b: ldarg.0 + IL_002c: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() + IL_0031: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0036: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_003b: pop + IL_003c: ldarg.0 + IL_003d: call instance string class NAnt.VisualCpp.Tasks.RcTask::get_Options() + IL_0042: brfalse IL_0060 - IL_04ee: ldloc.0 - IL_04ef: ldstr "/D \"_MBCS\"" - IL_04f4: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_04f9: leave IL_04fe + IL_0047: nop + IL_0048: ldloc.0 + IL_0049: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004e: ldstr "{0} " + IL_0053: ldarg.0 + IL_0054: call instance string class NAnt.VisualCpp.Tasks.RcTask::get_Options() + IL_0059: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_005e: pop + IL_005f: nop + IL_0060: ldarg.0 + IL_0061: call instance int32 class NAnt.VisualCpp.Tasks.RcTask::get_LangId() + IL_0066: brfalse IL_0084 - IL_04fe: ldloc.0 - IL_04ff: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0504: ldarg.0 - IL_0505: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_050a: brfalse IL_0556 + IL_006b: nop + IL_006c: ldloc.0 + IL_006d: ldstr "/l 0x{0:X} " + IL_0072: ldarg.0 + IL_0073: call instance int32 class NAnt.VisualCpp.Tasks.RcTask::get_LangId() + IL_0078: box [mscorlib]System.Int32 + IL_007d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0082: pop + IL_0083: nop + IL_0084: nop + IL_0085: ldarg.0 + IL_0086: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_008b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_0090: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0095: stloc.2 + .try { // 0 + IL_0096: br IL_00b7 - IL_050f: nop - IL_0510: ldarg.0 - IL_0511: ldc.i4 3000 - IL_0516: ldstr "Contents of {0}." - IL_051b: ldc.i4.1 - IL_051c: newarr [mscorlib]System.Object - IL_0521: dup - IL_0522: ldc.i4.0 - IL_0523: ldarg.0 - IL_0524: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName - IL_0529: stelem.ref - IL_052a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_052f: ldarg.0 - IL_0530: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName - IL_0535: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) - IL_053a: stloc.s 21 - IL_053c: ldarg.0 - IL_053d: ldc.i4 3000 - IL_0542: ldloc.s 21 - IL_0544: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0549: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_054e: ldloc.s 21 - IL_0550: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_0555: nop - IL_0556: ldarg.0 - IL_0557: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_055c: ldstr "/nologo" - IL_0561: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0566: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_056b: pop - IL_056c: ldarg.0 - IL_056d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_0572: nop - IL_0573: leave IL_0593 + IL_009b: ldloc.2 + IL_009c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00a1: stloc.1 + IL_00a2: nop + IL_00a3: ldloc.0 + IL_00a4: ldstr "/i {0} " + IL_00a9: ldloc.1 + IL_00aa: ldc.i4.1 + IL_00ab: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) + IL_00b0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_00b5: pop + IL_00b6: nop + IL_00b7: ldloc.2 + IL_00b8: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00bd: brtrue IL_009b - } // end .try 6 - finally { // 6 - IL_0578: nop - IL_0579: ldloc.0 - IL_057a: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_057f: ldarg.0 - IL_0580: ldfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName - IL_0585: call void class [mscorlib]System.IO.File::Delete(string) - IL_058a: ldarg.0 - IL_058b: ldnull - IL_058c: stfld string NAnt.VisualCpp.Tasks.ClTask::_responseFileName - IL_0591: nop - IL_0592: endfinally - } // end handler 6 - IL_0593: nop - IL_0594: ret - } // end of method ClTask::ExecuteTask + IL_00c2: leave IL_00db - // method line 121 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling () cil managed + } // end .try 0 + finally { // 0 + IL_00c7: ldloc.2 + IL_00c8: isinst [mscorlib]System.IDisposable + IL_00cd: dup + IL_00ce: stloc.3 + IL_00cf: brfalse IL_00da + + IL_00d4: ldloc.3 + IL_00d5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00da: endfinally + } // end handler 0 + IL_00db: nop + IL_00dc: ldarg.0 + IL_00dd: call instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class NAnt.VisualCpp.Tasks.RcTask::get_Defines() + IL_00e2: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionEnumerator class [NAnt.Core]NAnt.Core.Types.OptionCollection::GetEnumerator() + IL_00e7: stloc.s 5 + .try { // 1 + IL_00e9: br IL_0163 + + IL_00ee: ldloc.s 5 + IL_00f0: callvirt instance class [NAnt.Core]NAnt.Core.Types.Option class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::get_Current() + IL_00f5: stloc.s 4 + IL_00f7: nop + IL_00f8: ldloc.s 4 + IL_00fa: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() + IL_00ff: brfalse IL_0110 + + IL_0104: ldloc.s 4 + IL_0106: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_UnlessDefined() + IL_010b: brfalse IL_0116 + + IL_0110: nop + IL_0111: leave IL_0163 + + IL_0116: ldloc.s 4 + IL_0118: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_011d: brtrue IL_0141 + + IL_0122: nop + IL_0123: ldloc.0 + IL_0124: ldstr "/d {0} " + IL_0129: ldloc.s 4 + IL_012b: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() + IL_0130: call string class NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) + IL_0135: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_013a: pop + IL_013b: nop + IL_013c: br IL_0162 + + IL_0141: nop + IL_0142: ldloc.0 + IL_0143: ldstr "/d {0}={1} " + IL_0148: ldloc.s 4 + IL_014a: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() + IL_014f: ldloc.s 4 + IL_0151: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() + IL_0156: call string class NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) + IL_015b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object, object) + IL_0160: pop + IL_0161: nop + IL_0162: nop + IL_0163: ldloc.s 5 + IL_0165: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::MoveNext() + IL_016a: brtrue IL_00ee + + IL_016f: leave IL_018b + + } // end .try 1 + finally { // 1 + IL_0174: ldloc.s 5 + IL_0176: isinst [mscorlib]System.IDisposable + IL_017b: dup + IL_017c: stloc.s 6 + IL_017e: brfalse IL_018a + + IL_0183: ldloc.s 6 + IL_0185: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_018a: endfinally + } // end handler 1 + IL_018b: ldloc.0 + IL_018c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0191: ldstr "\"{0}\" " + IL_0196: ldarg.0 + IL_0197: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() + IL_019c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01a1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_01a6: pop + IL_01a7: ldloc.0 + IL_01a8: callvirt instance string object::ToString() + IL_01ad: stloc.s 7 + IL_01af: br IL_01b4 + + IL_01b4: ldloc.s 7 + IL_01b6: ret + } // end of method RcTask::get_ProgramArguments + + // method line 84 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x3acc - // Code size 75 (0x4b) - .maxstack 3 - .locals init ( - bool V_0) + // Method begins at RVA 0x3f50 + // Code size 116 (0x74) + .maxstack 7 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.VisualCpp.Tasks.ClTask::IsPchfileUpToDate() - IL_0007: brtrue IL_003a + IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldc.i4 2000 - IL_0013: ldstr "PCH out of date, recompiling all sources." - IL_0018: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_001d: ldarg.0 - IL_001e: ldarg.0 - IL_001f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0024: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0029: call class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Util.StringUtils::Clone(class [System]System.Collections.Specialized.StringCollection) - IL_002e: stfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources - IL_0033: ldc.i4.1 - IL_0034: stloc.0 - IL_0035: br IL_0049 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() + IL_0018: ldarg.0 + IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: callvirt instance bool class NAnt.VisualCpp.Tasks.RcTask::NeedsCompiling() + IL_0034: brfalse IL_0073 + IL_0039: nop IL_003a: ldarg.0 - IL_003b: call instance bool class NAnt.VisualCpp.Tasks.ClTask::AreObjsUpToDate() - IL_0040: ldc.i4.0 - IL_0041: ceq - IL_0043: stloc.0 - IL_0044: br IL_0049 - - IL_0049: ldloc.0 - IL_004a: ret - } // end of method ClTask::NeedsCompiling + IL_003b: ldc.i4 3000 + IL_0040: ldstr "Compiling \"{0}\" to \"{1}\"." + IL_0045: ldc.i4.2 + IL_0046: newarr [mscorlib]System.Object + IL_004b: dup + IL_004c: ldc.i4.0 + IL_004d: ldarg.0 + IL_004e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() + IL_0053: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0058: stelem.ref + IL_0059: dup + IL_005a: ldc.i4.1 + IL_005b: ldarg.0 + IL_005c: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() + IL_0061: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0066: stelem.ref + IL_0067: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_006c: ldarg.0 + IL_006d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_0072: nop + IL_0073: ret + } // end of method RcTask::ExecuteTask - // method line 122 - .method private hidebysig - instance default bool IsPchfileUpToDate () cil managed + // method line 85 + .method family virtual hidebysig newslot + instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x3b24 - // Code size 364 (0x16c) + // Method begins at RVA 0x3fd0 + // Code size 443 (0x1bb) .maxstack 7 .locals init ( bool V_0, - class [mscorlib]System.IO.FileInfo V_1, - string V_2, - string V_3, - class [System]System.Collections.Specialized.StringEnumerator V_4, - class [mscorlib]System.IDisposable V_5) + string V_1, + class [System]System.Text.RegularExpressions.Regex V_2, + class [System]System.Text.RegularExpressions.Regex V_3, + class [System]System.Text.RegularExpressions.Regex V_4, + class [mscorlib]System.IO.StreamReader V_5, + string V_6, + class [System]System.Text.RegularExpressions.Match V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() - IL_0007: brtrue IL_0014 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_003d - IL_000c: nop - IL_000d: ldc.i4.1 - IL_000e: stloc.0 - IL_000f: br IL_016a + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldc.i4 2000 + IL_0018: ldstr "'{0}' does not exist, recompiling." + IL_001d: ldc.i4.1 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldarg.0 + IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() + IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0030: stelem.ref + IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0036: ldc.i4.1 + IL_0037: stloc.0 + IL_0038: br IL_01b9 - IL_0014: ldarg.0 - IL_0015: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() - IL_001a: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_001f: stloc.1 - IL_0020: ldloc.1 - IL_0021: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0026: brtrue IL_0052 + IL_003d: ldarg.0 + IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() + IL_0043: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0048: ldarg.0 + IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() + IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0058: stloc.1 + IL_0059: ldloc.1 + IL_005a: brfalse IL_0081 - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: ldc.i4 2000 - IL_0032: ldstr "'{0}' does not exist, recompiling." - IL_0037: ldc.i4.1 - IL_0038: newarr [mscorlib]System.Object - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldloc.1 - IL_0040: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0045: stelem.ref - IL_0046: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_004b: ldc.i4.0 - IL_004c: stloc.0 - IL_004d: br IL_016a + IL_005f: nop + IL_0060: ldarg.0 + IL_0061: ldc.i4 2000 + IL_0066: ldstr "'{0}' is out of date, recompiling." + IL_006b: ldc.i4.1 + IL_006c: newarr [mscorlib]System.Object + IL_0071: dup + IL_0072: ldc.i4.0 + IL_0073: ldloc.1 + IL_0074: stelem.ref + IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007a: ldc.i4.1 + IL_007b: stloc.0 + IL_007c: br IL_01b9 - IL_0052: ldarg.0 - IL_0053: call instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode class NAnt.VisualCpp.Tasks.ClTask::get_PchMode() - IL_0058: brtrue IL_0065 + IL_0081: ldarg.0 + IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() + IL_0087: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_008c: brtrue IL_0099 - IL_005d: nop - IL_005e: ldc.i4.1 - IL_005f: stloc.0 - IL_0060: br IL_016a + IL_0091: nop + IL_0092: ldc.i4.1 + IL_0093: stloc.0 + IL_0094: br IL_01b9 - IL_0065: ldarg.0 - IL_0066: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_006b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0070: ldloc.1 - IL_0071: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0076: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_007b: stloc.2 - IL_007c: ldloc.2 - IL_007d: brfalse IL_00a4 + IL_0099: ldstr "IDB_(?\\w+)\\s+BITMAP\\s+\\\"(?[^\\\"]+)\\\"" + IL_009e: ldc.i4.s 0x11 + IL_00a0: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_00a5: stloc.2 + IL_00a6: ldstr "IDI_(?\\w+)\\s+ICON\\s+\\\"(?[^\\\"]+)\\\"" + IL_00ab: ldc.i4.s 0x11 + IL_00ad: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_00b2: stloc.3 + IL_00b3: ldstr "IDR_(?\\w+)\\s+(?\\w+)\\s+\\\"(?[^\\\"]+)\\\"" + IL_00b8: ldc.i4.s 0x11 + IL_00ba: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_00bf: stloc.s 4 + IL_00c1: ldarg.0 + IL_00c2: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() + IL_00c7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00cc: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) + IL_00d1: stloc.s 5 + .try { // 0 + IL_00d3: nop + IL_00d4: br IL_0190 - IL_0082: nop - IL_0083: ldarg.0 - IL_0084: ldc.i4 2000 - IL_0089: ldstr "'{0}' is newer than pch file, recompiling." - IL_008e: ldc.i4.1 - IL_008f: newarr [mscorlib]System.Object - IL_0094: dup - IL_0095: ldc.i4.0 - IL_0096: ldloc.2 - IL_0097: stelem.ref - IL_0098: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_009d: ldc.i4.0 - IL_009e: stloc.0 - IL_009f: br IL_016a + IL_00d9: nop + IL_00da: ldloc.s 5 + IL_00dc: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_00e1: stloc.s 6 + IL_00e3: ldloc.2 + IL_00e4: ldloc.s 6 + IL_00e6: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_00eb: stloc.s 7 + IL_00ed: ldloc.s 7 + IL_00ef: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_00f4: brfalse IL_011c - IL_00a4: ldarg.0 - IL_00a5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_00aa: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00af: ldloc.1 - IL_00b0: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00b5: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_00ba: stloc.2 - IL_00bb: ldloc.2 - IL_00bc: brfalse IL_00e3 + IL_00f9: nop + IL_00fa: ldarg.0 + IL_00fb: ldloc.s 7 + IL_00fd: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0102: ldstr "file" + IL_0107: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_010c: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0111: call instance bool class NAnt.VisualCpp.Tasks.RcTask::CheckResourceTimeStamp(string) + IL_0116: stloc.0 + IL_0117: leave IL_01b9 - IL_00c1: nop - IL_00c2: ldarg.0 - IL_00c3: ldc.i4 2000 - IL_00c8: ldstr "'{0}' is newer than pch file, recompiling." - IL_00cd: ldc.i4.1 - IL_00ce: newarr [mscorlib]System.Object - IL_00d3: dup - IL_00d4: ldc.i4.0 - IL_00d5: ldloc.2 - IL_00d6: stelem.ref - IL_00d7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00dc: ldc.i4.0 - IL_00dd: stloc.0 - IL_00de: br IL_016a + IL_011c: ldloc.3 + IL_011d: ldloc.s 6 + IL_011f: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_0124: stloc.s 7 + IL_0126: ldloc.s 7 + IL_0128: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_012d: brfalse IL_0155 - IL_00e3: nop - IL_00e4: ldarg.0 - IL_00e5: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_00ea: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00ef: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00f4: stloc.s 4 - .try { // 0 - IL_00f6: br IL_013b + IL_0132: nop + IL_0133: ldarg.0 + IL_0134: ldloc.s 7 + IL_0136: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_013b: ldstr "file" + IL_0140: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_0145: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_014a: call instance bool class NAnt.VisualCpp.Tasks.RcTask::CheckResourceTimeStamp(string) + IL_014f: stloc.0 + IL_0150: leave IL_01b9 - IL_00fb: ldloc.s 4 - IL_00fd: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0102: stloc.3 - IL_0103: nop - IL_0104: ldarg.0 - IL_0105: ldloc.3 - IL_0106: ldloc.1 - IL_0107: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_010c: call instance string class NAnt.VisualCpp.Tasks.ClTask::FindUpdatedInclude(string, valuetype [mscorlib]System.DateTime) - IL_0111: stloc.2 - IL_0112: ldloc.2 - IL_0113: brfalse IL_013a + IL_0155: ldloc.s 4 + IL_0157: ldloc.s 6 + IL_0159: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) + IL_015e: stloc.s 7 + IL_0160: ldloc.s 7 + IL_0162: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_0167: brfalse IL_018f - IL_0118: nop - IL_0119: ldarg.0 - IL_011a: ldc.i4 2000 - IL_011f: ldstr "'{0}' has been updated, recompiling." - IL_0124: ldc.i4.1 - IL_0125: newarr [mscorlib]System.Object - IL_012a: dup - IL_012b: ldc.i4.0 - IL_012c: ldloc.2 - IL_012d: stelem.ref - IL_012e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0133: ldc.i4.0 - IL_0134: stloc.0 - IL_0135: leave IL_016a + IL_016c: nop + IL_016d: ldarg.0 + IL_016e: ldloc.s 7 + IL_0170: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() + IL_0175: ldstr "file" + IL_017a: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) + IL_017f: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() + IL_0184: call instance bool class NAnt.VisualCpp.Tasks.RcTask::CheckResourceTimeStamp(string) + IL_0189: stloc.0 + IL_018a: leave IL_01b9 - IL_013a: nop - IL_013b: ldloc.s 4 - IL_013d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0142: brtrue IL_00fb + IL_018f: nop + IL_0190: ldloc.s 5 + IL_0192: callvirt instance int32 class [mscorlib]System.IO.TextReader::Peek() + IL_0197: ldc.i4.m1 + IL_0198: bne.un IL_00d9 - IL_0147: leave IL_0163 + IL_019d: nop + IL_019e: leave IL_01b2 } // end .try 0 finally { // 0 - IL_014c: ldloc.s 4 - IL_014e: isinst [mscorlib]System.IDisposable - IL_0153: dup - IL_0154: stloc.s 5 - IL_0156: brfalse IL_0162 + IL_01a3: ldloc.s 5 + IL_01a5: brfalse IL_01b1 - IL_015b: ldloc.s 5 - IL_015d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0162: endfinally + IL_01aa: ldloc.s 5 + IL_01ac: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01b1: endfinally } // end handler 0 - IL_0163: ldc.i4.1 - IL_0164: stloc.0 - IL_0165: br IL_016a + IL_01b2: ldc.i4.0 + IL_01b3: stloc.0 + IL_01b4: br IL_01b9 - IL_016a: ldloc.0 - IL_016b: ret - } // end of method ClTask::IsPchfileUpToDate + IL_01b9: ldloc.0 + IL_01ba: ret + } // end of method RcTask::NeedsCompiling - // method line 123 + // method line 86 .method private hidebysig - instance default bool IsObjUpToDate (string srcFileName) cil managed + instance default bool CheckResourceTimeStamp (string filePath) cil managed { - // Method begins at RVA 0x3cac - // Code size 330 (0x14a) + // Method begins at RVA 0x41a8 + // Code size 86 (0x56) .maxstack 7 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - bool V_1, - string V_2) + string V_0, + string V_1, + bool V_2) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_ObjectFile() - IL_0008: call string class NAnt.VisualCpp.Tasks.ClTask::GetObjOutputFile(string, string) - IL_000d: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0019: brtrue IL_0045 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() + IL_0007: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() + IL_000c: ldarg.1 + IL_000d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0012: stloc.1 + IL_0013: ldloc.1 + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() + IL_001a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_001f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0024: stloc.0 + IL_0025: ldloc.0 + IL_0026: brfalse IL_004d - IL_001e: nop - IL_001f: ldarg.0 - IL_0020: ldc.i4 2000 - IL_0025: ldstr "'{0}' does not exist, recompiling." - IL_002a: ldc.i4.1 - IL_002b: newarr [mscorlib]System.Object - IL_0030: dup - IL_0031: ldc.i4.0 - IL_0032: ldloc.0 - IL_0033: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0038: stelem.ref - IL_0039: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_002b: nop + IL_002c: ldarg.0 + IL_002d: ldc.i4 2000 + IL_0032: ldstr "'{0}' has been updated, recompiling." + IL_0037: ldc.i4.1 + IL_0038: newarr [mscorlib]System.Object + IL_003d: dup IL_003e: ldc.i4.0 - IL_003f: stloc.1 - IL_0040: br IL_0148 + IL_003f: ldloc.0 + IL_0040: stelem.ref + IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0046: ldc.i4.1 + IL_0047: stloc.2 + IL_0048: br IL_0054 - IL_0045: ldarg.1 - IL_0046: ldloc.0 - IL_0047: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_004c: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0051: stloc.2 - IL_0052: ldloc.2 - IL_0053: brfalse IL_007a + IL_004d: ldc.i4.0 + IL_004e: stloc.2 + IL_004f: br IL_0054 - IL_0058: nop - IL_0059: ldarg.0 - IL_005a: ldc.i4 2000 - IL_005f: ldstr "'{0}' has been updated, recompiling." - IL_0064: ldc.i4.1 - IL_0065: newarr [mscorlib]System.Object - IL_006a: dup - IL_006b: ldc.i4.0 - IL_006c: ldloc.2 - IL_006d: stelem.ref - IL_006e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0073: ldc.i4.0 - IL_0074: stloc.1 - IL_0075: br IL_0148 + IL_0054: ldloc.2 + IL_0055: ret + } // end of method RcTask::CheckResourceTimeStamp - IL_007a: ldarg.0 - IL_007b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles() - IL_0080: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0085: ldloc.0 - IL_0086: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_008b: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0090: stloc.2 - IL_0091: ldloc.2 - IL_0092: brfalse IL_00b9 + .property instance string Options () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. - IL_0097: nop - IL_0098: ldarg.0 - IL_0099: ldc.i4 2000 - IL_009e: ldstr "'{0}' has been updated, recompiling." - IL_00a3: ldc.i4.1 - IL_00a4: newarr [mscorlib]System.Object - IL_00a9: dup - IL_00aa: ldc.i4.0 - IL_00ab: ldloc.2 - IL_00ac: stelem.ref - IL_00ad: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00b2: ldc.i4.0 - IL_00b3: stloc.1 - IL_00b4: br IL_0148 + .get instance default string NAnt.VisualCpp.Tasks.RcTask::get_Options () + .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_Options (string 'value') + } + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6F 75 74 70 75 74 00 00 ) // ...output.. - IL_00b9: ldarg.0 - IL_00ba: ldarg.1 - IL_00bb: ldloc.0 - IL_00bc: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00c1: call instance string class NAnt.VisualCpp.Tasks.ClTask::FindUpdatedInclude(string, valuetype [mscorlib]System.DateTime) - IL_00c6: stloc.2 - IL_00c7: ldloc.2 - IL_00c8: brfalse IL_00ef + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::get_OutputFile () + .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo RcFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 72 63 66 69 6C 65 01 00 54 02 08 52 65 // ...rcfile..T..Re + 71 75 69 72 65 64 01 ) // quired. - IL_00cd: nop - IL_00ce: ldarg.0 - IL_00cf: ldc.i4 2000 - IL_00d4: ldstr "'{0}' has been updated, recompiling." - IL_00d9: ldc.i4.1 - IL_00da: newarr [mscorlib]System.Object - IL_00df: dup - IL_00e0: ldc.i4.0 - IL_00e1: ldloc.2 - IL_00e2: stelem.ref - IL_00e3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00e8: ldc.i4.0 - IL_00e9: stloc.1 - IL_00ea: br IL_0148 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::get_RcFile () + .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_RcFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance int32 LangId () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6C 61 6E 67 69 64 01 00 54 02 08 52 65 // ...langid..T..Re + 71 75 69 72 65 64 00 ) // quired. - IL_00ef: ldarg.0 - IL_00f0: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() - IL_00f5: brfalse IL_0141 + .get instance default int32 NAnt.VisualCpp.Tasks.RcTask::get_LangId () + .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_LangId (int32 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet IncludeDirs () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 69 6E 63 6C 75 64 65 64 69 72 73 00 00 ) // ...includedirs.. - IL_00fa: ldarg.0 - IL_00fb: call instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode class NAnt.VisualCpp.Tasks.ClTask::get_PchMode() - IL_0100: brtrue IL_0141 + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs () + .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + } + .property instance class [NAnt.Core]NAnt.Core.Types.OptionCollection Defines () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( + 01 00 07 64 65 66 69 6E 65 73 06 64 65 66 69 6E // ...defines.defin + 65 00 00 ) // e.. - IL_0105: nop - IL_0106: ldarg.0 - IL_0107: call instance string class NAnt.VisualCpp.Tasks.ClTask::get_PchFile() - IL_010c: ldloc.0 - IL_010d: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0112: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0117: stloc.2 - IL_0118: ldloc.2 - IL_0119: brfalse IL_0140 + .get instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.RcTask::get_Defines () + } + .property instance string ProgramFileName () + { + .get instance default string NAnt.VisualCpp.Tasks.RcTask::get_ProgramFileName () + } + .property instance string ProgramArguments () + { + .get instance default string NAnt.VisualCpp.Tasks.RcTask::get_ProgramArguments () + } + } // end of class NAnt.VisualCpp.Tasks.RcTask +} - IL_011e: nop - IL_011f: ldarg.0 - IL_0120: ldc.i4 2000 - IL_0125: ldstr "'{0}' has been updated, recompiling." - IL_012a: ldc.i4.1 - IL_012b: newarr [mscorlib]System.Object - IL_0130: dup - IL_0131: ldc.i4.0 - IL_0132: ldloc.2 - IL_0133: stelem.ref - IL_0134: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0139: ldc.i4.0 - IL_013a: stloc.1 - IL_013b: br IL_0148 +.namespace NAnt.VisualCpp.Tasks +{ + .class public auto ansi beforefieldinit LibTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 6C 69 62 00 00 ) // ...lib.. - IL_0140: nop - IL_0141: ldc.i4.1 - IL_0142: stloc.1 - IL_0143: br IL_0148 + .field private string _responseFileName + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private class [mscorlib]System.IO.FileInfo _moduleDefinitionFile + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources + .field private class NAnt.VisualCpp.Types.SymbolCollection _symbols + .field private class NAnt.VisualCpp.Types.LibraryCollection _ignoreLibraries + .field private class [NAnt.Core]NAnt.Core.Types.FileSet _libdirs + .field private string _options - IL_0148: ldloc.1 - IL_0149: ret - } // end of method ClTask::IsObjUpToDate + // method line 87 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x420a + // Code size 51 (0x33) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0006: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_sources + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.VisualCpp.Types.SymbolCollection::'.ctor'() + IL_0011: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::_symbols + IL_0016: ldarg.0 + IL_0017: newobj instance void class NAnt.VisualCpp.Types.LibraryCollection::'.ctor'() + IL_001c: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::_ignoreLibraries + IL_0021: ldarg.0 + IL_0022: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() + IL_0027: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_libdirs + IL_002c: ldarg.0 + IL_002d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0032: ret + } // end of method LibTask::.ctor - // method line 124 - .method private hidebysig - instance default bool AreObjsUpToDate () cil managed + // method line 88 + .method public hidebysig specialname + instance default string get_Options () cil managed { - // Method begins at RVA 0x3e04 - // Code size 178 (0xb2) - .maxstack 7 + // Method begins at RVA 0x4240 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - bool V_3) + string V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_Sources() - IL_0008: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_000d: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0012: stloc.1 - .try { // 0 - IL_0013: br IL_0078 - - IL_0018: ldloc.1 - IL_0019: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_001e: stloc.0 - IL_001f: nop - IL_0020: ldloc.0 - IL_0021: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0026: brtrue IL_0058 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.VisualCpp.Tasks.LibTask::_options + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: ldc.i4 2000 - IL_0032: ldstr "'{0}' does not exist, recompiling." - IL_0037: ldc.i4.1 - IL_0038: newarr [mscorlib]System.Object - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldloc.0 - IL_0040: stelem.ref - IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0046: ldarg.0 - IL_0047: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources - IL_004c: ldloc.0 - IL_004d: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0052: pop - IL_0053: leave IL_0078 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_Options - IL_0058: ldarg.0 - IL_0059: ldloc.0 - IL_005a: call instance bool class NAnt.VisualCpp.Tasks.ClTask::IsObjUpToDate(string) - IL_005f: brtrue IL_0077 + // method line 89 + .method public hidebysig specialname + instance default void set_Options (string 'value') cil managed + { + // Method begins at RVA 0x425b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.VisualCpp.Tasks.LibTask::_options + IL_0008: ret + } // end of method LibTask::set_Options - IL_0064: nop - IL_0065: ldarg.0 - IL_0066: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources - IL_006b: ldloc.0 - IL_006c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0071: pop - IL_0072: leave IL_0078 + // method line 90 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + { + // Method begins at RVA 0x4268 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_outputFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0077: nop - IL_0078: ldloc.1 - IL_0079: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_007e: brtrue IL_0018 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_OutputFile - IL_0083: leave IL_009c + // method line 91 + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x4283 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_outputFile + IL_0008: ret + } // end of method LibTask::set_OutputFile - } // end .try 0 - finally { // 0 - IL_0088: ldloc.1 - IL_0089: isinst [mscorlib]System.IDisposable - IL_008e: dup - IL_008f: stloc.2 - IL_0090: brfalse IL_009b + // method line 92 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ModuleDefinitionFile () cil managed + { + // Method begins at RVA 0x4290 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_moduleDefinitionFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0095: ldloc.2 - IL_0096: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009b: endfinally - } // end handler 0 - IL_009c: ldarg.0 - IL_009d: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.VisualCpp.Tasks.ClTask::_dirtySources - IL_00a2: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00a7: ldc.i4.0 - IL_00a8: ceq - IL_00aa: stloc.3 - IL_00ab: br IL_00b0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_ModuleDefinitionFile - IL_00b0: ldloc.3 - IL_00b1: ret - } // end of method ClTask::AreObjsUpToDate + // method line 93 + .method public hidebysig specialname + instance default void set_ModuleDefinitionFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x42ab + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_moduleDefinitionFile + IL_0008: ret + } // end of method LibTask::set_ModuleDefinitionFile - // method line 125 - .method private hidebysig - instance default string FindUpdatedInclude (string srcFileName, valuetype [mscorlib]System.DateTime objLastWriteTime) cil managed + // method line 94 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed { - // Method begins at RVA 0x3ed4 - // Code size 585 (0x249) - .maxstack 7 + // Method begins at RVA 0x42b8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.IO.StreamReader V_1, - class [System]System.Text.RegularExpressions.Match V_2, - string V_3, - string V_4, - string V_5, - class [System]System.Collections.Specialized.StringEnumerator V_6, - string V_7, - class [mscorlib]System.IDisposable V_8, - class [NAnt.Core]NAnt.Core.PathScanner V_9, - class [System]System.Collections.Specialized.StringCollection V_10, - string V_11, - string V_12) + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 1000 - IL_0007: ldstr "Checking whether includes of \"{0}\" have been updated." - IL_000c: ldc.i4.1 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldarg.1 - IL_0015: stelem.ref - IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_001b: ldarg.1 - IL_001c: ldc.i4.1 - IL_001d: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, bool) - IL_0022: stloc.1 - .try { // 1 - IL_0023: nop - IL_0024: br IL_021e + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_sources + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: ldfld class [System]System.Text.RegularExpressions.Regex NAnt.VisualCpp.Tasks.ClTask::_includeRegex - IL_0030: ldloc.0 - IL_0031: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0036: stloc.2 - IL_0037: ldloc.2 - IL_0038: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_003d: callvirt instance int32 class [System]System.Text.RegularExpressions.GroupCollection::get_Count() - IL_0042: ldc.i4.2 - IL_0043: beq IL_004e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_Sources - IL_0048: nop - IL_0049: leave IL_021e + // method line 95 + .method public hidebysig specialname + instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x42d3 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_sources + IL_0008: ret + } // end of method LibTask::set_Sources - IL_004e: ldloc.2 - IL_004f: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0054: ldstr "includefile" - IL_0059: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_005e: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0063: stloc.3 - IL_0064: ldarg.0 - IL_0065: ldc.i4 1000 - IL_006a: ldstr "Checking include \"{0}\"..." - IL_006f: ldc.i4.1 - IL_0070: newarr [mscorlib]System.Object - IL_0075: dup - IL_0076: ldc.i4.0 - IL_0077: ldloc.3 - IL_0078: stelem.ref - IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007e: ldarg.0 - IL_007f: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VisualCpp.Tasks.ClTask::_resolvedIncludes - IL_0084: ldloc.3 - IL_0085: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_008a: isinst [mscorlib]System.String - IL_008f: stloc.s 4 - IL_0091: ldloc.s 4 - IL_0093: brtrue IL_01d7 + // method line 96 + .method public hidebysig specialname + instance default class NAnt.VisualCpp.Types.SymbolCollection get_Symbols () cil managed + { + // Method begins at RVA 0x42e0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VisualCpp.Types.SymbolCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::_symbols + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0098: nop - IL_0099: nop - IL_009a: ldarg.0 - IL_009b: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs() - IL_00a0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_00a5: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00aa: stloc.s 6 - .try { // 0 - IL_00ac: br IL_00f6 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_Symbols - IL_00b1: ldloc.s 6 - IL_00b3: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00b8: stloc.s 5 - IL_00ba: nop - IL_00bb: ldloc.s 5 - IL_00bd: ldloc.3 - IL_00be: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_00c3: stloc.s 7 - IL_00c5: ldloc.s 7 - IL_00c7: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00cc: brfalse IL_00f5 + // method line 97 + .method public hidebysig specialname + instance default void set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') cil managed + { + // Method begins at RVA 0x42fb + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::_symbols + IL_0008: ret + } // end of method LibTask::set_Symbols - IL_00d1: nop - IL_00d2: ldarg.0 - IL_00d3: ldc.i4 1000 - IL_00d8: ldstr "Found include \"{0}\" in includedirs." - IL_00dd: ldc.i4.1 - IL_00de: newarr [mscorlib]System.Object - IL_00e3: dup - IL_00e4: ldc.i4.0 - IL_00e5: ldloc.3 - IL_00e6: stelem.ref - IL_00e7: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00ec: ldloc.s 7 - IL_00ee: stloc.s 4 - IL_00f0: leave IL_0102 + // method line 98 + .method public hidebysig specialname + instance default class NAnt.VisualCpp.Types.LibraryCollection get_IgnoreLibraries () cil managed + { + // Method begins at RVA 0x4308 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VisualCpp.Types.LibraryCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::_ignoreLibraries + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00f5: nop - IL_00f6: ldloc.s 6 - IL_00f8: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00fd: brtrue IL_00b1 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_IgnoreLibraries - IL_0102: leave IL_011e + // method line 99 + .method public hidebysig specialname + instance default void set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') cil managed + { + // Method begins at RVA 0x4323 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::_ignoreLibraries + IL_0008: ret + } // end of method LibTask::set_IgnoreLibraries - } // end .try 0 - finally { // 0 - IL_0107: ldloc.s 6 - IL_0109: isinst [mscorlib]System.IDisposable - IL_010e: dup - IL_010f: stloc.s 8 - IL_0111: brfalse IL_011d + // method line 100 + .method public hidebysig specialname + instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_LibDirs () cil managed + { + // Method begins at RVA 0x4330 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_libdirs + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0116: ldloc.s 8 - IL_0118: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_011d: endfinally - } // end handler 0 - IL_011e: ldloc.s 4 - IL_0120: brtrue IL_0177 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_LibDirs - IL_0125: nop - IL_0126: newobj instance void class [NAnt.Core]NAnt.Core.PathScanner::'.ctor'() - IL_012b: stloc.s 9 - IL_012d: ldloc.s 9 - IL_012f: ldloc.3 - IL_0130: callvirt instance void class [NAnt.Core]NAnt.Core.PathScanner::Add(string) - IL_0135: ldloc.s 9 - IL_0137: ldstr "INCLUDE" - IL_013c: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.PathScanner::Scan(string) - IL_0141: stloc.s 10 - IL_0143: ldloc.s 10 - IL_0145: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_014a: ldc.i4.0 - IL_014b: ble IL_0176 + // method line 101 + .method public hidebysig specialname + instance default void set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x434b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_libdirs + IL_0008: ret + } // end of method LibTask::set_LibDirs - IL_0150: nop - IL_0151: ldarg.0 - IL_0152: ldc.i4 1000 - IL_0157: ldstr "Found include \"{0}\" in INCLUDE." - IL_015c: ldc.i4.1 - IL_015d: newarr [mscorlib]System.Object - IL_0162: dup - IL_0163: ldc.i4.0 - IL_0164: ldloc.3 - IL_0165: stelem.ref - IL_0166: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_016b: ldloc.s 10 - IL_016d: ldc.i4.0 - IL_016e: callvirt instance string class [System]System.Collections.Specialized.StringCollection::get_Item(int32) - IL_0173: stloc.s 4 - IL_0175: nop - IL_0176: nop - IL_0177: ldloc.s 4 - IL_0179: brtrue IL_01bf + // method line 102 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed + { + // Method begins at RVA 0x4358 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_017e: nop - IL_017f: ldarg.0 - IL_0180: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0185: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_018a: ldloc.3 - IL_018b: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0190: stloc.s 11 - IL_0192: ldloc.s 11 - IL_0194: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0199: brfalse IL_01be + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibTask::get_ProgramFileName - IL_019e: nop - IL_019f: ldarg.0 - IL_01a0: ldc.i4 1000 - IL_01a5: ldstr "Found include \"{0}\" in working directory." - IL_01aa: ldc.i4.1 - IL_01ab: newarr [mscorlib]System.Object - IL_01b0: dup - IL_01b1: ldc.i4.0 - IL_01b2: ldloc.3 - IL_01b3: stelem.ref - IL_01b4: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_01b9: ldloc.s 11 - IL_01bb: stloc.s 4 - IL_01bd: nop - IL_01be: nop - IL_01bf: ldloc.s 4 - IL_01c1: brfalse IL_01d6 + // method line 103 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed + { + // Method begins at RVA 0x4374 + // Code size 30 (0x1e) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr "@\"" + IL_0006: ldarg.0 + IL_0007: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName + IL_000c: ldstr "\"" + IL_0011: call string string::Concat(string, string, string) + IL_0016: stloc.0 + IL_0017: br IL_001c - IL_01c6: nop - IL_01c7: ldarg.0 - IL_01c8: ldfld class [mscorlib]System.Collections.Hashtable NAnt.VisualCpp.Tasks.ClTask::_resolvedIncludes - IL_01cd: ldloc.3 - IL_01ce: ldloc.s 4 - IL_01d0: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_01d5: nop - IL_01d6: nop - IL_01d7: ldloc.s 4 - IL_01d9: brfalse IL_0201 + IL_001c: ldloc.0 + IL_001d: ret + } // end of method LibTask::get_ProgramArguments - IL_01de: nop - IL_01df: ldloc.s 4 - IL_01e1: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.File::GetLastWriteTime(string) - IL_01e6: ldarg.2 - IL_01e7: call bool valuetype [mscorlib]System.DateTime::op_GreaterThan(valuetype [mscorlib]System.DateTime, valuetype [mscorlib]System.DateTime) - IL_01ec: brfalse IL_01fb + // method line 104 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x43a0 + // Code size 828 (0x33c) + .maxstack 7 + .locals init ( + class [mscorlib]System.IO.StreamWriter V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.VisualCpp.Types.Symbol V_4, + class NAnt.VisualCpp.Types.SymbolEnumerator V_5, + class [mscorlib]System.IDisposable V_6, + class NAnt.VisualCpp.Types.Library V_7, + class NAnt.VisualCpp.Types.LibraryEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + string V_10, + class [System]System.Collections.Specialized.StringEnumerator V_11, + class [mscorlib]System.IDisposable V_12, + class [mscorlib]System.IO.StreamReader V_13) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - IL_01f1: nop - IL_01f2: ldloc.s 4 - IL_01f4: stloc.s 12 - IL_01f6: leave IL_0246 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_0018: ldarg.0 + IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() + IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_0039: brtrue IL_005b + + IL_003e: nop + IL_003f: ldarg.0 + IL_0040: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() + IL_0045: ldarg.0 + IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0055: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_005a: nop + IL_005b: ldarg.0 + IL_005c: callvirt instance bool class NAnt.VisualCpp.Tasks.LibTask::NeedsCompiling() + IL_0061: brtrue IL_006c + + IL_0066: nop + IL_0067: br IL_033b + + IL_006c: ldarg.0 + IL_006d: ldc.i4 3000 + IL_0072: ldstr "Combining {0} files to '{1}'." + IL_0077: ldc.i4.2 + IL_0078: newarr [mscorlib]System.Object + IL_007d: dup + IL_007e: ldc.i4.0 + IL_007f: ldarg.0 + IL_0080: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_0085: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_008a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_008f: box [mscorlib]System.Int32 + IL_0094: stelem.ref + IL_0095: dup + IL_0096: ldc.i4.1 + IL_0097: ldarg.0 + IL_0098: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() + IL_009d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00a2: stelem.ref + IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00a8: ldarg.0 + IL_00a9: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_00ae: stfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName + IL_00b3: ldarg.0 + IL_00b4: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName + IL_00b9: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) + IL_00be: stloc.0 + .try { // 4 + IL_00bf: nop + IL_00c0: ldloc.0 + IL_00c1: ldstr "/OUT:\"{0}\"" + IL_00c6: ldarg.0 + IL_00c7: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() + IL_00cc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00d1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_00d6: ldarg.0 + IL_00d7: call instance string class NAnt.VisualCpp.Tasks.LibTask::get_Options() + IL_00dc: brfalse IL_00ef + + IL_00e1: nop + IL_00e2: ldloc.0 + IL_00e3: ldarg.0 + IL_00e4: call instance string class NAnt.VisualCpp.Tasks.LibTask::get_Options() + IL_00e9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_00ee: nop + IL_00ef: nop + IL_00f0: ldarg.0 + IL_00f1: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_00f6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00fb: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0100: stloc.2 + .try { // 0 + IL_0101: br IL_011c + + IL_0106: ldloc.2 + IL_0107: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_010c: stloc.1 + IL_010d: nop + IL_010e: ldloc.0 + IL_010f: ldloc.1 + IL_0110: ldc.i4.0 + IL_0111: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) + IL_0116: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_011b: nop + IL_011c: ldloc.2 + IL_011d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0122: brtrue IL_0106 + + IL_0127: leave IL_0140 + + } // end .try 0 + finally { // 0 + IL_012c: ldloc.2 + IL_012d: isinst [mscorlib]System.IDisposable + IL_0132: dup + IL_0133: stloc.3 + IL_0134: brfalse IL_013f + + IL_0139: ldloc.3 + IL_013a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_013f: endfinally + } // end handler 0 + IL_0140: nop + IL_0141: ldarg.0 + IL_0142: call instance class NAnt.VisualCpp.Types.SymbolCollection class NAnt.VisualCpp.Tasks.LibTask::get_Symbols() + IL_0147: callvirt instance class NAnt.VisualCpp.Types.SymbolEnumerator class NAnt.VisualCpp.Types.SymbolCollection::GetEnumerator() + IL_014c: stloc.s 5 + .try { // 1 + IL_014e: br IL_0190 + + IL_0153: ldloc.s 5 + IL_0155: callvirt instance class NAnt.VisualCpp.Types.Symbol class NAnt.VisualCpp.Types.SymbolEnumerator::get_Current() + IL_015a: stloc.s 4 + IL_015c: nop + IL_015d: ldloc.s 4 + IL_015f: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_IfDefined() + IL_0164: brfalse IL_018f + + IL_0169: ldloc.s 4 + IL_016b: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_UnlessDefined() + IL_0170: brtrue IL_018f + + IL_0175: nop + IL_0176: ldloc.0 + IL_0177: ldstr "/INCLUDE:{0}" + IL_017c: ldloc.s 4 + IL_017e: callvirt instance string class NAnt.VisualCpp.Types.Symbol::get_SymbolName() + IL_0183: ldc.i4.1 + IL_0184: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) + IL_0189: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_018e: nop + IL_018f: nop + IL_0190: ldloc.s 5 + IL_0192: callvirt instance bool class NAnt.VisualCpp.Types.SymbolEnumerator::MoveNext() + IL_0197: brtrue IL_0153 + + IL_019c: leave IL_01b8 - IL_01fb: nop - IL_01fc: br IL_021d + } // end .try 1 + finally { // 1 + IL_01a1: ldloc.s 5 + IL_01a3: isinst [mscorlib]System.IDisposable + IL_01a8: dup + IL_01a9: stloc.s 6 + IL_01ab: brfalse IL_01b7 - IL_0201: nop - IL_0202: ldarg.0 - IL_0203: ldc.i4 1000 - IL_0208: ldstr "Include \"{0}\" could not be located." - IL_020d: ldc.i4.1 - IL_020e: newarr [mscorlib]System.Object - IL_0213: dup - IL_0214: ldc.i4.0 - IL_0215: ldloc.3 - IL_0216: stelem.ref - IL_0217: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_021c: nop - IL_021d: nop - IL_021e: ldloc.1 - IL_021f: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0224: dup - IL_0225: stloc.0 - IL_0226: brtrue IL_0029 + IL_01b0: ldloc.s 6 + IL_01b2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01b7: endfinally + } // end handler 1 + IL_01b8: nop + IL_01b9: ldarg.0 + IL_01ba: call instance class NAnt.VisualCpp.Types.LibraryCollection class NAnt.VisualCpp.Tasks.LibTask::get_IgnoreLibraries() + IL_01bf: callvirt instance class NAnt.VisualCpp.Types.LibraryEnumerator class NAnt.VisualCpp.Types.LibraryCollection::GetEnumerator() + IL_01c4: stloc.s 8 + .try { // 2 + IL_01c6: br IL_0208 - IL_022b: nop - IL_022c: leave IL_023e + IL_01cb: ldloc.s 8 + IL_01cd: callvirt instance class NAnt.VisualCpp.Types.Library class NAnt.VisualCpp.Types.LibraryEnumerator::get_Current() + IL_01d2: stloc.s 7 + IL_01d4: nop + IL_01d5: ldloc.s 7 + IL_01d7: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_IfDefined() + IL_01dc: brfalse IL_0207 - } // end .try 1 - finally { // 1 - IL_0231: ldloc.1 - IL_0232: brfalse IL_023d + IL_01e1: ldloc.s 7 + IL_01e3: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_UnlessDefined() + IL_01e8: brtrue IL_0207 - IL_0237: ldloc.1 - IL_0238: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_023d: endfinally - } // end handler 1 - IL_023e: ldnull - IL_023f: stloc.s 12 - IL_0241: br IL_0246 + IL_01ed: nop + IL_01ee: ldloc.0 + IL_01ef: ldstr "/NODEFAULTLIB:{0}" + IL_01f4: ldloc.s 7 + IL_01f6: callvirt instance string class NAnt.VisualCpp.Types.Library::get_LibraryName() + IL_01fb: ldc.i4.1 + IL_01fc: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) + IL_0201: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0206: nop + IL_0207: nop + IL_0208: ldloc.s 8 + IL_020a: callvirt instance bool class NAnt.VisualCpp.Types.LibraryEnumerator::MoveNext() + IL_020f: brtrue IL_01cb - IL_0246: ldloc.s 12 - IL_0248: ret - } // end of method ClTask::FindUpdatedInclude + IL_0214: leave IL_0230 - // method line 126 - .method public static hidebysig - default string QuoteArgumentValue (string 'value') cil managed - { - // Method begins at RVA 0x4160 - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) - IL_0008: stloc.0 - IL_0009: br IL_000e + } // end .try 2 + finally { // 2 + IL_0219: ldloc.s 8 + IL_021b: isinst [mscorlib]System.IDisposable + IL_0220: dup + IL_0221: stloc.s 9 + IL_0223: brfalse IL_022f - IL_000e: ldloc.0 - IL_000f: ret - } // end of method ClTask::QuoteArgumentValue + IL_0228: ldloc.s 9 + IL_022a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_022f: endfinally + } // end handler 2 + IL_0230: nop + IL_0231: ldarg.0 + IL_0232: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() + IL_0237: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() + IL_023c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0241: stloc.s 11 + .try { // 3 + IL_0243: br IL_0266 - // method line 127 - .method public static hidebysig - default string GetObjOutputFile (string srcFile, string objectPath) cil managed - { - // Method begins at RVA 0x417c - // Code size 143 (0x8f) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 + IL_0248: ldloc.s 11 + IL_024a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_024f: stloc.s 10 + IL_0251: nop + IL_0252: ldloc.0 + IL_0253: ldstr "/LIBPATH:{0}" + IL_0258: ldloc.s 10 + IL_025a: ldc.i4.0 + IL_025b: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) + IL_0260: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_0265: nop + IL_0266: ldloc.s 11 + IL_0268: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_026d: brtrue IL_0248 - IL_0007: nop - IL_0008: ldstr "srcFile" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: brtrue IL_0025 + IL_0272: leave IL_028e - IL_0019: nop - IL_001a: ldstr "objectPath" - IL_001f: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0024: throw - IL_0025: ldarg.1 - IL_0026: ldstr "/" - IL_002b: callvirt instance bool string::EndsWith(string) - IL_0030: brtrue IL_0070 + } // end .try 3 + finally { // 3 + IL_0277: ldloc.s 11 + IL_0279: isinst [mscorlib]System.IDisposable + IL_027e: dup + IL_027f: stloc.s 12 + IL_0281: brfalse IL_028d - IL_0035: ldarg.1 - IL_0036: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_003b: callvirt instance int32 string::get_Length() - IL_0040: brfalse IL_0070 + IL_0286: ldloc.s 12 + IL_0288: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_028d: endfinally + } // end handler 3 + IL_028e: ldarg.0 + IL_028f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_ModuleDefinitionFile() + IL_0294: brfalse IL_02b1 - IL_0045: nop - IL_0046: ldarg.1 - IL_0047: call string class [mscorlib]System.IO.Path::GetExtension(string) - IL_004c: callvirt instance int32 string::get_Length() - IL_0051: brtrue IL_0068 + IL_0299: nop + IL_029a: ldloc.0 + IL_029b: ldstr "/DEF:\"{0}\"" + IL_02a0: ldarg.0 + IL_02a1: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_ModuleDefinitionFile() + IL_02a6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_02ab: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) + IL_02b0: nop + IL_02b1: ldloc.0 + IL_02b2: ldstr "/nologo" + IL_02b7: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) + IL_02bc: ldloc.0 + IL_02bd: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_02c2: ldarg.0 + IL_02c3: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_02c8: brfalse IL_0314 - IL_0056: nop - IL_0057: ldarg.1 - IL_0058: ldstr ".obj" - IL_005d: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_0062: stloc.0 - IL_0063: br IL_008d + IL_02cd: nop + IL_02ce: ldarg.0 + IL_02cf: ldc.i4 3000 + IL_02d4: ldstr "Contents of {0}." + IL_02d9: ldc.i4.1 + IL_02da: newarr [mscorlib]System.Object + IL_02df: dup + IL_02e0: ldc.i4.0 + IL_02e1: ldarg.0 + IL_02e2: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName + IL_02e7: stelem.ref + IL_02e8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_02ed: ldarg.0 + IL_02ee: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName + IL_02f3: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) + IL_02f8: stloc.s 13 + IL_02fa: ldarg.0 + IL_02fb: ldc.i4 3000 + IL_0300: ldloc.s 13 + IL_0302: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0307: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) + IL_030c: ldloc.s 13 + IL_030e: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_0313: nop + IL_0314: ldarg.0 + IL_0315: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_031a: nop + IL_031b: leave IL_033b - IL_0068: nop - IL_0069: ldarg.1 - IL_006a: stloc.0 - IL_006b: br IL_008d + } // end .try 4 + finally { // 4 + IL_0320: nop + IL_0321: ldloc.0 + IL_0322: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() + IL_0327: ldarg.0 + IL_0328: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName + IL_032d: call void class [mscorlib]System.IO.File::Delete(string) + IL_0332: ldarg.0 + IL_0333: ldnull + IL_0334: stfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName + IL_0339: nop + IL_033a: endfinally + } // end handler 4 + IL_033b: ret + } // end of method LibTask::ExecuteTask + + // method line 105 + .method family virtual hidebysig newslot + instance default bool NeedsCompiling () cil managed + { + // Method begins at RVA 0x4764 + // Code size 138 (0x8a) + .maxstack 7 + .locals init ( + bool V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_003d - IL_0070: nop - IL_0071: ldarg.1 - IL_0072: ldarg.0 - IL_0073: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) - IL_0078: ldstr ".obj" - IL_007d: call string string::Concat(string, string) - IL_0082: call string class [NAnt.Core]NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0087: stloc.0 - IL_0088: br IL_008d + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldc.i4 2000 + IL_0018: ldstr "Output file '{0}' does not exist, rebuilding library." + IL_001d: ldc.i4.1 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldarg.0 + IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() + IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0030: stelem.ref + IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0036: ldc.i4.1 + IL_0037: stloc.0 + IL_0038: br IL_0088 - IL_008d: ldloc.0 - IL_008e: ret - } // end of method ClTask::GetObjOutputFile + IL_003d: ldarg.0 + IL_003e: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() + IL_0043: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0048: ldarg.0 + IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() + IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_0058: stloc.1 + IL_0059: ldloc.1 + IL_005a: brfalse IL_0081 - .property instance class [mscorlib]System.IO.DirectoryInfo OutputDir () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 09 6F 75 74 70 75 74 64 69 72 01 00 54 02 // ...outputdir..T. - 08 52 65 71 75 69 72 65 64 01 ) // .Required. + IL_005f: nop + IL_0060: ldarg.0 + IL_0061: ldc.i4 2000 + IL_0066: ldstr "'{0}' has been updated, relinking." + IL_006b: ldc.i4.1 + IL_006c: newarr [mscorlib]System.Object + IL_0071: dup + IL_0072: ldc.i4.0 + IL_0073: ldloc.1 + IL_0074: stelem.ref + IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007a: ldc.i4.1 + IL_007b: stloc.0 + IL_007c: br IL_0088 - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.VisualCpp.Tasks.ClTask::get_OutputDir () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_OutputDir (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance string PchFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 63 68 66 69 6C 65 00 00 ) // ...pchfile.. + IL_0081: ldc.i4.0 + IL_0082: stloc.0 + IL_0083: br IL_0088 - .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_PchFile () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_PchFile (string 'value') - } - .property instance string PchThroughFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 70 63 68 74 68 72 6F 75 67 68 66 69 6C // ...pchthroughfil - 65 00 00 ) // e.. + IL_0088: ldloc.0 + IL_0089: ret + } // end of method LibTask::NeedsCompiling - .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_PchThroughFile () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_PchThroughFile (string 'value') - } - .property instance valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode PchMode () + .property instance string Options () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 63 68 6D 6F 64 65 00 00 ) // ...pchmode.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. - .get instance default valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode NAnt.VisualCpp.Tasks.ClTask::get_PchMode () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_PchMode (valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode 'value') + .get instance default string NAnt.VisualCpp.Tasks.LibTask::get_Options () + .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_Options (string 'value') } - .property instance bool ManagedExtensions () + .property instance class [mscorlib]System.IO.FileInfo OutputFile () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 11 6D 61 6E 61 67 65 64 65 78 74 65 6E 73 // ...managedextens - 69 6F 6E 73 00 00 ) // ions.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - .get instance default bool NAnt.VisualCpp.Tasks.ClTask::get_ManagedExtensions () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ManagedExtensions (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::get_OutputFile () + .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance valuetype NAnt.VisualCpp.Types.CharacterSet CharacterSet () + .property instance class [mscorlib]System.IO.FileInfo ModuleDefinitionFile () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 63 68 61 72 61 63 74 65 72 73 65 74 01 // ...characterset. - 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // .T..Required. - - .get instance default valuetype NAnt.VisualCpp.Types.CharacterSet NAnt.VisualCpp.Tasks.ClTask::get_CharacterSet () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_CharacterSet (valuetype NAnt.VisualCpp.Types.CharacterSet 'value') - } - .property instance string Options () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. + 01 00 10 6D 6F 64 75 6C 65 64 65 66 69 6E 69 74 // ...moduledefinit + 69 6F 6E 00 00 ) // ion.. - .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_Options () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_Options (string 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::get_ModuleDefinitionFile () + .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_ModuleDefinitionFile (class [mscorlib]System.IO.FileInfo 'value') } .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 73 6F 75 72 63 65 73 00 00 ) // ...sources.. - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_Sources () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet IncludeDirs () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 69 6E 63 6C 75 64 65 64 69 72 73 00 00 ) // ...includedirs.. - - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_IncludeDirs () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet MetaDataIncludeDirs () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 13 6D 65 74 61 64 61 74 61 69 6E 63 6C 75 // ...metadatainclu - 64 65 64 69 72 73 00 00 ) // dedirs.. - - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_MetaDataIncludeDirs () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_MetaDataIncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet ForcedUsingFiles () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 10 66 6F 72 63 65 64 75 73 69 6E 67 66 69 // ...forcedusingfi - 6C 65 73 00 00 ) // les.. - - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.ClTask::get_ForcedUsingFiles () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ForcedUsingFiles (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::get_Sources () + .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') } - .property instance class [NAnt.Core]NAnt.Core.Types.OptionCollection Defines () + .property instance class NAnt.VisualCpp.Types.SymbolCollection Symbols () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 07 64 65 66 69 6E 65 73 06 64 65 66 69 6E // ...defines.defin - 65 00 00 ) // e.. + 01 00 07 73 79 6D 62 6F 6C 73 06 73 79 6D 62 6F // ...symbols.symbo + 6C 00 00 ) // l.. - .get instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::get_Defines () + .get instance default class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::get_Symbols () + .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') } - .property instance class [NAnt.Core]NAnt.Core.Types.OptionCollection Undefines () + .property instance class NAnt.VisualCpp.Types.LibraryCollection IgnoreLibraries () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 09 75 6E 64 65 66 69 6E 65 73 08 75 6E 64 // ...undefines.und - 65 66 69 6E 65 00 00 ) // efine.. - - .get instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.ClTask::get_Undefines () - } - .property instance string ObjectFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 6F 62 6A 65 63 74 66 69 6C 65 00 00 ) // ...objectfile.. + 01 00 0F 69 67 6E 6F 72 65 6C 69 62 72 61 72 69 // ...ignorelibrari + 65 73 07 6C 69 62 72 61 72 79 00 00 ) // es.library.. - .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ObjectFile () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ObjectFile (string 'value') + .get instance default class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::get_IgnoreLibraries () + .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') } - .property instance string ProgramDatabaseFile () + .property instance class [NAnt.Core]NAnt.Core.Types.FileSet LibDirs () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 64 62 66 69 6C 65 00 00 ) // ...pdbfile.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6C 69 62 64 69 72 73 00 00 ) // ...libdirs.. - .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ProgramDatabaseFile () - .set instance default void NAnt.VisualCpp.Tasks.ClTask::set_ProgramDatabaseFile (string 'value') + .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::get_LibDirs () + .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') } .property instance string ProgramFileName () { - .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ProgramFileName () + .get instance default string NAnt.VisualCpp.Tasks.LibTask::get_ProgramFileName () } .property instance string ProgramArguments () { - .get instance default string NAnt.VisualCpp.Tasks.ClTask::get_ProgramArguments () + .get instance default string NAnt.VisualCpp.Tasks.LibTask::get_ProgramArguments () } - .class nested public auto ansi sealed PrecompiledHeaderMode - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode Create = int32(0x00000001) - .field public static literal valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode AutoCreate = int32(0x00000002) - .field public static literal valuetype NAnt.VisualCpp.Tasks.ClTask/PrecompiledHeaderMode Use = int32(0x00000000) - - } // end of class PrecompiledHeaderMode - - } // end of class NAnt.VisualCpp.Tasks.ClTask + } // end of class NAnt.VisualCpp.Tasks.LibTask } .namespace NAnt.VisualCpp.Tasks @@ -4822,11 +5115,11 @@ .field private class [NAnt.Core]NAnt.Core.Types.FileSet _includeDirs .field private static literal string PROG_FILE_NAME = "midl.exe" - // method line 128 + // method line 106 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4217 + // Method begins at RVA 0x47fa // Code size 62 (0x3e) .maxstack 8 IL_0000: ldarg.0 @@ -4849,11 +5142,11 @@ IL_003d: ret } // end of method MidlTask::.ctor - // method line 129 + // method line 107 .method public hidebysig specialname instance default string get_Acf () cil managed { - // Method begins at RVA 0x4258 + // Method begins at RVA 0x483c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4868,11 +5161,11 @@ IL_000e: ret } // end of method MidlTask::get_Acf - // method line 130 + // method line 108 .method public hidebysig specialname instance default void set_Acf (string 'value') cil managed { - // Method begins at RVA 0x4273 + // Method begins at RVA 0x4857 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -4882,11 +5175,11 @@ IL_0008: ret } // end of method MidlTask::set_Acf - // method line 131 + // method line 109 .method public hidebysig specialname instance default string get_Align () cil managed { - // Method begins at RVA 0x4280 + // Method begins at RVA 0x4864 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4901,11 +5194,11 @@ IL_000e: ret } // end of method MidlTask::get_Align - // method line 132 + // method line 110 .method public hidebysig specialname instance default void set_Align (string 'value') cil managed { - // Method begins at RVA 0x429b + // Method begins at RVA 0x487f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -4915,11 +5208,11 @@ IL_0008: ret } // end of method MidlTask::set_Align - // method line 133 + // method line 111 .method public hidebysig specialname instance default bool get_AppConfig () cil managed { - // Method begins at RVA 0x42a8 + // Method begins at RVA 0x488c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4934,11 +5227,11 @@ IL_000e: ret } // end of method MidlTask::get_AppConfig - // method line 134 + // method line 112 .method public hidebysig specialname instance default void set_AppConfig (bool 'value') cil managed { - // Method begins at RVA 0x42c3 + // Method begins at RVA 0x48a7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -4948,11 +5241,11 @@ IL_0008: ret } // end of method MidlTask::set_AppConfig - // method line 135 + // method line 113 .method public hidebysig specialname instance default string get_Char () cil managed { - // Method begins at RVA 0x42d0 + // Method begins at RVA 0x48b4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4967,11 +5260,11 @@ IL_000e: ret } // end of method MidlTask::get_Char - // method line 136 + // method line 114 .method public hidebysig specialname instance default void set_Char (string 'value') cil managed { - // Method begins at RVA 0x42eb + // Method begins at RVA 0x48cf // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -4981,11 +5274,11 @@ IL_0008: ret } // end of method MidlTask::set_Char - // method line 137 + // method line 115 .method public hidebysig specialname instance default string get_Client () cil managed { - // Method begins at RVA 0x42f8 + // Method begins at RVA 0x48dc // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5000,11 +5293,11 @@ IL_000e: ret } // end of method MidlTask::get_Client - // method line 138 + // method line 116 .method public hidebysig specialname instance default void set_Client (string 'value') cil managed { - // Method begins at RVA 0x4313 + // Method begins at RVA 0x48f7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5014,11 +5307,11 @@ IL_0008: ret } // end of method MidlTask::set_Client - // method line 139 + // method line 117 .method public hidebysig specialname instance default string get_CStub () cil managed { - // Method begins at RVA 0x4320 + // Method begins at RVA 0x4904 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5033,11 +5326,11 @@ IL_000e: ret } // end of method MidlTask::get_CStub - // method line 140 + // method line 118 .method public hidebysig specialname instance default void set_CStub (string 'value') cil managed { - // Method begins at RVA 0x433b + // Method begins at RVA 0x491f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5047,11 +5340,11 @@ IL_0008: ret } // end of method MidlTask::set_CStub - // method line 141 + // method line 119 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_DllData () cil managed { - // Method begins at RVA 0x4348 + // Method begins at RVA 0x492c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5066,11 +5359,11 @@ IL_000e: ret } // end of method MidlTask::get_DllData - // method line 142 + // method line 120 .method public hidebysig specialname instance default void set_DllData (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x4363 + // Method begins at RVA 0x4947 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5080,11 +5373,11 @@ IL_0008: ret } // end of method MidlTask::set_DllData - // method line 143 + // method line 121 .method public hidebysig specialname instance default string get_Env () cil managed { - // Method begins at RVA 0x4370 + // Method begins at RVA 0x4954 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5099,11 +5392,11 @@ IL_000e: ret } // end of method MidlTask::get_Env - // method line 144 + // method line 122 .method public hidebysig specialname instance default void set_Env (string 'value') cil managed { - // Method begins at RVA 0x438b + // Method begins at RVA 0x496f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5113,11 +5406,11 @@ IL_0008: ret } // end of method MidlTask::set_Env - // method line 145 + // method line 123 .method public hidebysig specialname instance default string get_Oi () cil managed { - // Method begins at RVA 0x4398 + // Method begins at RVA 0x497c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5132,11 +5425,11 @@ IL_000e: ret } // end of method MidlTask::get_Oi - // method line 146 + // method line 124 .method public hidebysig specialname instance default void set_Oi (string 'value') cil managed { - // Method begins at RVA 0x43b3 + // Method begins at RVA 0x4997 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5146,11 +5439,11 @@ IL_0008: ret } // end of method MidlTask::set_Oi - // method line 147 + // method line 125 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_Tlb () cil managed { - // Method begins at RVA 0x43c0 + // Method begins at RVA 0x49a4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5165,11 +5458,11 @@ IL_000e: ret } // end of method MidlTask::get_Tlb - // method line 148 + // method line 126 .method public hidebysig specialname instance default void set_Tlb (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x43db + // Method begins at RVA 0x49bf // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5179,11 +5472,11 @@ IL_0008: ret } // end of method MidlTask::set_Tlb - // method line 149 + // method line 127 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_Header () cil managed { - // Method begins at RVA 0x43e8 + // Method begins at RVA 0x49cc // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5198,11 +5491,11 @@ IL_000e: ret } // end of method MidlTask::get_Header - // method line 150 + // method line 128 .method public hidebysig specialname instance default void set_Header (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x4403 + // Method begins at RVA 0x49e7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5212,11 +5505,11 @@ IL_0008: ret } // end of method MidlTask::set_Header - // method line 151 + // method line 129 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_Iid () cil managed { - // Method begins at RVA 0x4410 + // Method begins at RVA 0x49f4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5231,11 +5524,11 @@ IL_000e: ret } // end of method MidlTask::get_Iid - // method line 152 + // method line 130 .method public hidebysig specialname instance default void set_Iid (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x442b + // Method begins at RVA 0x4a0f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5245,11 +5538,11 @@ IL_0008: ret } // end of method MidlTask::set_Iid - // method line 153 + // method line 131 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_Proxy () cil managed { - // Method begins at RVA 0x4438 + // Method begins at RVA 0x4a1c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5264,11 +5557,11 @@ IL_000e: ret } // end of method MidlTask::get_Proxy - // method line 154 + // method line 132 .method public hidebysig specialname instance default void set_Proxy (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x4453 + // Method begins at RVA 0x4a37 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5278,11 +5571,11 @@ IL_0008: ret } // end of method MidlTask::set_Proxy - // method line 155 + // method line 133 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_Filename () cil managed { - // Method begins at RVA 0x4460 + // Method begins at RVA 0x4a44 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5297,11 +5590,11 @@ IL_000e: ret } // end of method MidlTask::get_Filename - // method line 156 + // method line 134 .method public hidebysig specialname instance default void set_Filename (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x447b + // Method begins at RVA 0x4a5f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5311,11 +5604,11 @@ IL_0008: ret } // end of method MidlTask::set_Filename - // method line 157 + // method line 135 .method public hidebysig specialname instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Options () cil managed { - // Method begins at RVA 0x4488 + // Method begins at RVA 0x4a6c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5330,11 +5623,11 @@ IL_000e: ret } // end of method MidlTask::get_Options - // method line 158 + // method line 136 .method public hidebysig specialname instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Defines () cil managed { - // Method begins at RVA 0x44a4 + // Method begins at RVA 0x4a88 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5349,11 +5642,11 @@ IL_000e: ret } // end of method MidlTask::get_Defines - // method line 159 + // method line 137 .method public hidebysig specialname instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Undefines () cil managed { - // Method begins at RVA 0x44c0 + // Method begins at RVA 0x4aa4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5368,11 +5661,11 @@ IL_000e: ret } // end of method MidlTask::get_Undefines - // method line 160 + // method line 138 .method public hidebysig specialname instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_IncludeDirs () cil managed { - // Method begins at RVA 0x44dc + // Method begins at RVA 0x4ac0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5387,11 +5680,11 @@ IL_000e: ret } // end of method MidlTask::get_IncludeDirs - // method line 161 + // method line 139 .method public hidebysig specialname instance default void set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x44f7 + // Method begins at RVA 0x4adb // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -5401,11 +5694,11 @@ IL_0008: ret } // end of method MidlTask::set_IncludeDirs - // method line 162 + // method line 140 .method public virtual hidebysig specialname instance default string get_ProgramFileName () cil managed { - // Method begins at RVA 0x4504 + // Method begins at RVA 0x4ae8 // Code size 14 (0xe) .maxstack 1 .locals init ( @@ -5419,11 +5712,11 @@ IL_000d: ret } // end of method MidlTask::get_ProgramFileName - // method line 163 + // method line 141 .method public virtual hidebysig specialname instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x4520 + // Method begins at RVA 0x4b04 // Code size 30 (0x1e) .maxstack 3 .locals init ( @@ -5441,11 +5734,11 @@ IL_001d: ret } // end of method MidlTask::get_ProgramArguments - // method line 164 + // method line 142 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x454c + // Method begins at RVA 0x4b30 // Code size 219 (0xdb) .maxstack 4 .locals init ( @@ -5542,11 +5835,11 @@ IL_00da: ret } // end of method MidlTask::ExecuteTask - // method line 165 + // method line 143 .method private hidebysig instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x4650 + // Method begins at RVA 0x4c34 // Code size 118 (0x76) .maxstack 2 .locals init ( @@ -5605,11 +5898,11 @@ IL_0075: ret } // end of method MidlTask::NeedsCompiling - // method line 166 + // method line 144 .method private hidebysig instance default bool NeedsCompiling (class [mscorlib]System.IO.FileInfo outputFile) cil managed { - // Method begins at RVA 0x46d4 + // Method begins at RVA 0x4cb8 // Code size 123 (0x7b) .maxstack 7 .locals init ( @@ -5669,11 +5962,11 @@ IL_007a: ret } // end of method MidlTask::NeedsCompiling - // method line 167 + // method line 145 .method private hidebysig instance default void WriteResponseFile (class [mscorlib]System.IO.TextWriter writer) cil managed { - // Method begins at RVA 0x475c + // Method begins at RVA 0x4d40 // Code size 972 (0x3cc) .maxstack 5 .locals init ( @@ -6199,11 +6492,11 @@ .field private string _options .field private class [mscorlib]System.IO.FileInfo _mcFile - // method line 168 + // method line 146 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4b68 + // Method begins at RVA 0x514c // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -6211,11 +6504,11 @@ IL_0006: ret } // end of method McTask::.ctor - // method line 169 + // method line 147 .method public hidebysig specialname instance default string get_Options () cil managed { - // Method begins at RVA 0x4b70 + // Method begins at RVA 0x5154 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -6230,11 +6523,11 @@ IL_000e: ret } // end of method McTask::get_Options - // method line 170 + // method line 148 .method public hidebysig specialname instance default void set_Options (string 'value') cil managed { - // Method begins at RVA 0x4b8b + // Method begins at RVA 0x516f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -6244,11 +6537,11 @@ IL_0008: ret } // end of method McTask::set_Options - // method line 171 + // method line 149 .method public hidebysig specialname instance default class [mscorlib]System.IO.DirectoryInfo get_HeaderPath () cil managed { - // Method begins at RVA 0x4b98 + // Method begins at RVA 0x517c // Code size 49 (0x31) .maxstack 1 .locals init ( @@ -6275,11 +6568,11 @@ IL_0030: ret } // end of method McTask::get_HeaderPath - // method line 172 + // method line 150 .method public hidebysig specialname instance default void set_HeaderPath (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x4bd5 + // Method begins at RVA 0x51b9 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -6289,11 +6582,11 @@ IL_0008: ret } // end of method McTask::set_HeaderPath - // method line 173 + // method line 151 .method public hidebysig specialname instance default class [mscorlib]System.IO.DirectoryInfo get_RCPath () cil managed { - // Method begins at RVA 0x4be0 + // Method begins at RVA 0x51c4 // Code size 49 (0x31) .maxstack 1 .locals init ( @@ -6320,11 +6613,11 @@ IL_0030: ret } // end of method McTask::get_RCPath - // method line 174 + // method line 152 .method public hidebysig specialname instance default void set_RCPath (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x4c1d + // Method begins at RVA 0x5201 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -6334,11 +6627,11 @@ IL_0008: ret } // end of method McTask::set_RCPath - // method line 175 + // method line 153 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_McFile () cil managed { - // Method begins at RVA 0x4c28 + // Method begins at RVA 0x520c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -6353,11 +6646,11 @@ IL_000e: ret } // end of method McTask::get_McFile - // method line 176 + // method line 154 .method public hidebysig specialname instance default void set_McFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x4c43 + // Method begins at RVA 0x5227 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -6367,11 +6660,11 @@ IL_0008: ret } // end of method McTask::set_McFile - // method line 177 + // method line 155 .method public virtual hidebysig specialname instance default string get_ProgramFileName () cil managed { - // Method begins at RVA 0x4c50 + // Method begins at RVA 0x5234 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -6386,11 +6679,11 @@ IL_000e: ret } // end of method McTask::get_ProgramFileName - // method line 178 + // method line 156 .method public virtual hidebysig specialname instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x4c6c + // Method begins at RVA 0x5250 // Code size 212 (0xd4) .maxstack 4 .locals init ( @@ -6471,11 +6764,11 @@ IL_00d3: ret } // end of method McTask::get_ProgramArguments - // method line 179 + // method line 157 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x4d4c + // Method begins at RVA 0x5330 // Code size 313 (0x139) .maxstack 7 .locals init ( @@ -6589,11 +6882,11 @@ IL_0138: ret } // end of method McTask::ExecuteTask - // method line 180 + // method line 158 .method private hidebysig instance default bool NeedsCompiling (string destinationFile) cil managed { - // Method begins at RVA 0x4e94 + // Method begins at RVA 0x5478 // Code size 136 (0x88) .maxstack 7 .locals init ( @@ -6696,1574 +6989,1281 @@ } // end of class NAnt.VisualCpp.Tasks.McTask } -.namespace NAnt.VisualCpp.Tasks +.namespace NAnt.VisualCpp.Types { - .class public auto ansi beforefieldinit RcTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + .class public auto ansi sealed CharacterSet + extends [mscorlib]System.Enum { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 72 63 00 00 ) // ...rc.. + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.VisualCpp.Types.CharacterSet NotSet = int32(0x00000000) + .field public static literal valuetype NAnt.VisualCpp.Types.CharacterSet Unicode = int32(0x00000001) + .field public static literal valuetype NAnt.VisualCpp.Types.CharacterSet MultiByte = int32(0x00000002) - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private string _options - .field private int32 _langId - .field private class [mscorlib]System.IO.FileInfo _rcFile - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _includeDirs - .field private class [NAnt.Core]NAnt.Core.Types.OptionCollection _defines + } // end of class NAnt.VisualCpp.Types.CharacterSet +} - // method line 181 +.namespace NAnt.VisualCpp.Types +{ + .class public auto ansi beforefieldinit Symbol + extends [NAnt.Core]NAnt.Core.Element + { + .field private string _symbolName + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 159 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4f28 - // Code size 36 (0x24) + // Method begins at RVA 0x550c + // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld int32 NAnt.VisualCpp.Tasks.RcTask::_langId + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined IL_0007: ldarg.0 - IL_0008: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_000d: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::_includeDirs - IL_0012: ldarg.0 - IL_0013: newobj instance void class [NAnt.Core]NAnt.Core.Types.OptionCollection::'.ctor'() - IL_0018: stfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.RcTask::_defines - IL_001d: ldarg.0 - IL_001e: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0023: ret - } // end of method RcTask::.ctor - - // method line 182 - .method public hidebysig specialname - instance default string get_Options () cil managed - { - // Method begins at RVA 0x4f50 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.RcTask::_options - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RcTask::get_Options - - // method line 183 - .method public hidebysig specialname - instance default void set_Options (string 'value') cil managed - { - // Method begins at RVA 0x4f6b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VisualCpp.Tasks.RcTask::_options - IL_0008: ret - } // end of method RcTask::set_Options - - // method line 184 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed - { - // Method begins at RVA 0x4f78 - // Code size 60 (0x3c) - .maxstack 3 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile - IL_0007: brtrue IL_002e - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() - IL_0014: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0019: ldstr "RES" - IL_001e: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) - IL_0023: newobj instance void class [mscorlib]System.IO.FileInfo::'.ctor'(string) - IL_0028: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile - IL_0034: stloc.0 - IL_0035: br IL_003a - - IL_003a: ldloc.0 - IL_003b: ret - } // end of method RcTask::get_OutputFile - - // method line 185 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x4fc0 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_outputFile - IL_0008: ret - } // end of method RcTask::set_OutputFile - - // method line 186 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_RcFile () cil managed - { - // Method begins at RVA 0x4fcc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_rcFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: nop IL_000e: ret - } // end of method RcTask::get_RcFile + } // end of method Symbol::.ctor - // method line 187 - .method public hidebysig specialname - instance default void set_RcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 160 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed { - // Method begins at RVA 0x4fe7 - // Code size 9 (0x9) + // Method begins at RVA 0x551c + // Code size 40 (0x28) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::_rcFile - IL_0008: ret - } // end of method RcTask::set_RcFile - - // method line 188 - .method public hidebysig specialname - instance default int32 get_LangId () cil managed - { - // Method begins at RVA 0x4ff4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.VisualCpp.Tasks.RcTask::_langId - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RcTask::get_LangId + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: brtrue IL_0020 - // method line 189 - .method public hidebysig specialname - instance default void set_LangId (int32 'value') cil managed - { - // Method begins at RVA 0x500f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.VisualCpp.Tasks.RcTask::_langId - IL_0008: ret - } // end of method RcTask::set_LangId + IL_0014: nop + IL_0015: ldstr "name" + IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001f: throw + IL_0020: ldarg.0 + IL_0021: ldarg.1 + IL_0022: stfld string NAnt.VisualCpp.Types.Symbol::_symbolName + IL_0027: ret + } // end of method Symbol::.ctor - // method line 190 + // method line 161 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_IncludeDirs () cil managed + instance default string get_SymbolName () cil managed { - // Method begins at RVA 0x501c + // Method begins at RVA 0x5548 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::_includeDirs + IL_0002: ldfld string NAnt.VisualCpp.Types.Symbol::_symbolName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RcTask::get_IncludeDirs + } // end of method Symbol::get_SymbolName - // method line 191 + // method line 162 .method public hidebysig specialname - instance default void set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_SymbolName (string 'value') cil managed { - // Method begins at RVA 0x5037 + // Method begins at RVA 0x5563 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::_includeDirs + IL_0003: stfld string NAnt.VisualCpp.Types.Symbol::_symbolName IL_0008: ret - } // end of method RcTask::set_IncludeDirs + } // end of method Symbol::set_SymbolName - // method line 192 + // method line 163 .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection get_Defines () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x5044 + // Method begins at RVA 0x5570 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.OptionCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.RcTask::_defines + IL_0002: ldfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RcTask::get_Defines + } // end of method Symbol::get_IfDefined - // method line 193 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed + // method line 164 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x558b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.VisualCpp.Types.Symbol::_ifDefined + IL_0008: ret + } // end of method Symbol::set_IfDefined + + // method line 165 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x5060 + // Method begins at RVA 0x5598 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() + IL_0002: ldfld bool NAnt.VisualCpp.Types.Symbol::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RcTask::get_ProgramFileName + } // end of method Symbol::get_UnlessDefined - // method line 194 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + // method line 166 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x507c - // Code size 439 (0x1b7) - .maxstack 4 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class [NAnt.Core]NAnt.Core.Types.Option V_4, - class [NAnt.Core]NAnt.Core.Types.OptionEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - string V_7) + // Method begins at RVA 0x55b3 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_000d: brfalse IL_0020 - - IL_0012: nop - IL_0013: ldloc.0 - IL_0014: ldstr "/v " - IL_0019: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_001e: pop - IL_001f: nop - IL_0020: ldloc.0 - IL_0021: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0026: ldstr "/fo\"{0}\" " - IL_002b: ldarg.0 - IL_002c: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() - IL_0031: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0036: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_003b: pop - IL_003c: ldarg.0 - IL_003d: call instance string class NAnt.VisualCpp.Tasks.RcTask::get_Options() - IL_0042: brfalse IL_0060 - - IL_0047: nop - IL_0048: ldloc.0 - IL_0049: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_004e: ldstr "{0} " - IL_0053: ldarg.0 - IL_0054: call instance string class NAnt.VisualCpp.Tasks.RcTask::get_Options() - IL_0059: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_005e: pop - IL_005f: nop - IL_0060: ldarg.0 - IL_0061: call instance int32 class NAnt.VisualCpp.Tasks.RcTask::get_LangId() - IL_0066: brfalse IL_0084 - - IL_006b: nop - IL_006c: ldloc.0 - IL_006d: ldstr "/l 0x{0:X} " - IL_0072: ldarg.0 - IL_0073: call instance int32 class NAnt.VisualCpp.Tasks.RcTask::get_LangId() - IL_0078: box [mscorlib]System.Int32 - IL_007d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0082: pop - IL_0083: nop - IL_0084: nop - IL_0085: ldarg.0 - IL_0086: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_008b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_0090: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0095: stloc.2 - .try { // 0 - IL_0096: br IL_00b7 - - IL_009b: ldloc.2 - IL_009c: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00a1: stloc.1 - IL_00a2: nop - IL_00a3: ldloc.0 - IL_00a4: ldstr "/i {0} " - IL_00a9: ldloc.1 - IL_00aa: ldc.i4.1 - IL_00ab: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) - IL_00b0: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_00b5: pop - IL_00b6: nop - IL_00b7: ldloc.2 - IL_00b8: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00bd: brtrue IL_009b - - IL_00c2: leave IL_00db - - } // end .try 0 - finally { // 0 - IL_00c7: ldloc.2 - IL_00c8: isinst [mscorlib]System.IDisposable - IL_00cd: dup - IL_00ce: stloc.3 - IL_00cf: brfalse IL_00da + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.VisualCpp.Types.Symbol::_unlessDefined + IL_0008: ret + } // end of method Symbol::set_UnlessDefined - IL_00d4: ldloc.3 - IL_00d5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00da: endfinally - } // end handler 0 - IL_00db: nop - IL_00dc: ldarg.0 - IL_00dd: call instance class [NAnt.Core]NAnt.Core.Types.OptionCollection class NAnt.VisualCpp.Tasks.RcTask::get_Defines() - IL_00e2: callvirt instance class [NAnt.Core]NAnt.Core.Types.OptionEnumerator class [NAnt.Core]NAnt.Core.Types.OptionCollection::GetEnumerator() - IL_00e7: stloc.s 5 - .try { // 1 - IL_00e9: br IL_0163 + .property instance string SymbolName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - IL_00ee: ldloc.s 5 - IL_00f0: callvirt instance class [NAnt.Core]NAnt.Core.Types.Option class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::get_Current() - IL_00f5: stloc.s 4 - IL_00f7: nop - IL_00f8: ldloc.s 4 - IL_00fa: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_IfDefined() - IL_00ff: brfalse IL_0110 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_0104: ldloc.s 4 - IL_0106: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.Option::get_UnlessDefined() - IL_010b: brfalse IL_0116 + .get instance default string NAnt.VisualCpp.Types.Symbol::get_SymbolName () + .set instance default void NAnt.VisualCpp.Types.Symbol::set_SymbolName (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_0110: nop - IL_0111: leave IL_0163 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0116: ldloc.s 4 - IL_0118: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_011d: brtrue IL_0141 + .get instance default bool NAnt.VisualCpp.Types.Symbol::get_IfDefined () + .set instance default void NAnt.VisualCpp.Types.Symbol::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_0122: nop - IL_0123: ldloc.0 - IL_0124: ldstr "/d {0} " - IL_0129: ldloc.s 4 - IL_012b: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() - IL_0130: call string class NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) - IL_0135: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_013a: pop - IL_013b: nop - IL_013c: br IL_0162 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0141: nop - IL_0142: ldloc.0 - IL_0143: ldstr "/d {0}={1} " - IL_0148: ldloc.s 4 - IL_014a: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_OptionName() - IL_014f: ldloc.s 4 - IL_0151: callvirt instance string class [NAnt.Core]NAnt.Core.Types.Option::get_Value() - IL_0156: call string class NAnt.VisualCpp.Util.ArgumentUtils::DuplicateTrailingBackslash(string) - IL_015b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object, object) - IL_0160: pop - IL_0161: nop - IL_0162: nop - IL_0163: ldloc.s 5 - IL_0165: callvirt instance bool class [NAnt.Core]NAnt.Core.Types.OptionEnumerator::MoveNext() - IL_016a: brtrue IL_00ee + .get instance default bool NAnt.VisualCpp.Types.Symbol::get_UnlessDefined () + .set instance default void NAnt.VisualCpp.Types.Symbol::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.VisualCpp.Types.Symbol +} - IL_016f: leave IL_018b +.namespace NAnt.VisualCpp.Types +{ + .class public auto ansi beforefieldinit Library + extends [NAnt.Core]NAnt.Core.Element + { + .field private string _libraryName + .field private bool _ifDefined + .field private bool _unlessDefined - } // end .try 1 - finally { // 1 - IL_0174: ldloc.s 5 - IL_0176: isinst [mscorlib]System.IDisposable - IL_017b: dup - IL_017c: stloc.s 6 - IL_017e: brfalse IL_018a + // method line 167 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x55bd + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.VisualCpp.Types.Library::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ret + } // end of method Library::.ctor - IL_0183: ldloc.s 6 - IL_0185: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_018a: endfinally - } // end handler 1 - IL_018b: ldloc.0 - IL_018c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0191: ldstr "\"{0}\" " - IL_0196: ldarg.0 - IL_0197: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() - IL_019c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01a1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_01a6: pop - IL_01a7: ldloc.0 - IL_01a8: callvirt instance string object::ToString() - IL_01ad: stloc.s 7 - IL_01af: br IL_01b4 + // method line 168 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed + { + // Method begins at RVA 0x55cd + // Code size 40 (0x28) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.VisualCpp.Types.Library::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Element::'.ctor'() + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: brtrue IL_0020 - IL_01b4: ldloc.s 7 - IL_01b6: ret - } // end of method RcTask::get_ProgramArguments + IL_0014: nop + IL_0015: ldstr "name" + IL_001a: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001f: throw + IL_0020: ldarg.0 + IL_0021: ldarg.1 + IL_0022: stfld string NAnt.VisualCpp.Types.Library::_libraryName + IL_0027: ret + } // end of method Library::.ctor - // method line 195 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 169 + .method public hidebysig specialname + instance default string get_LibraryName () cil managed { - // Method begins at RVA 0x525c - // Code size 116 (0x74) - .maxstack 7 + // Method begins at RVA 0x55f8 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e + IL_0002: ldfld string NAnt.VisualCpp.Types.Library::_libraryName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs() - IL_0018: ldarg.0 - IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: callvirt instance bool class NAnt.VisualCpp.Tasks.RcTask::NeedsCompiling() - IL_0034: brfalse IL_0073 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Library::get_LibraryName - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: ldc.i4 3000 - IL_0040: ldstr "Compiling \"{0}\" to \"{1}\"." - IL_0045: ldc.i4.2 - IL_0046: newarr [mscorlib]System.Object - IL_004b: dup - IL_004c: ldc.i4.0 - IL_004d: ldarg.0 - IL_004e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() - IL_0053: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0058: stelem.ref - IL_0059: dup - IL_005a: ldc.i4.1 - IL_005b: ldarg.0 - IL_005c: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() - IL_0061: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0066: stelem.ref - IL_0067: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_006c: ldarg.0 - IL_006d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_0072: nop - IL_0073: ret - } // end of method RcTask::ExecuteTask + // method line 170 + .method public hidebysig specialname + instance default void set_LibraryName (string 'value') cil managed + { + // Method begins at RVA 0x5613 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.VisualCpp.Types.Library::_libraryName + IL_0008: ret + } // end of method Library::set_LibraryName - // method line 196 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling () cil managed + // method line 171 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x52dc - // Code size 443 (0x1bb) - .maxstack 7 + // Method begins at RVA 0x5620 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0, - string V_1, - class [System]System.Text.RegularExpressions.Regex V_2, - class [System]System.Text.RegularExpressions.Regex V_3, - class [System]System.Text.RegularExpressions.Regex V_4, - class [mscorlib]System.IO.StreamReader V_5, - string V_6, - class [System]System.Text.RegularExpressions.Match V_7) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_003d + IL_0002: ldfld bool NAnt.VisualCpp.Types.Library::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldc.i4 2000 - IL_0018: ldstr "'{0}' does not exist, recompiling." - IL_001d: ldc.i4.1 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 - IL_0025: ldarg.0 - IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() - IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0030: stelem.ref - IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0036: ldc.i4.1 - IL_0037: stloc.0 - IL_0038: br IL_01b9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Library::get_IfDefined - IL_003d: ldarg.0 - IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() - IL_0043: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0048: ldarg.0 - IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() - IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0058: stloc.1 - IL_0059: ldloc.1 - IL_005a: brfalse IL_0081 + // method line 172 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x563b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.VisualCpp.Types.Library::_ifDefined + IL_0008: ret + } // end of method Library::set_IfDefined - IL_005f: nop - IL_0060: ldarg.0 - IL_0061: ldc.i4 2000 - IL_0066: ldstr "'{0}' is out of date, recompiling." - IL_006b: ldc.i4.1 - IL_006c: newarr [mscorlib]System.Object - IL_0071: dup - IL_0072: ldc.i4.0 - IL_0073: ldloc.1 - IL_0074: stelem.ref - IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007a: ldc.i4.1 - IL_007b: stloc.0 - IL_007c: br IL_01b9 + // method line 173 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x5648 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.VisualCpp.Types.Library::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0081: ldarg.0 - IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() - IL_0087: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_008c: brtrue IL_0099 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Library::get_UnlessDefined - IL_0091: nop - IL_0092: ldc.i4.1 - IL_0093: stloc.0 - IL_0094: br IL_01b9 + // method line 174 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x5663 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.VisualCpp.Types.Library::_unlessDefined + IL_0008: ret + } // end of method Library::set_UnlessDefined - IL_0099: ldstr "IDB_(?\\w+)\\s+BITMAP\\s+\\\"(?[^\\\"]+)\\\"" - IL_009e: ldc.i4.s 0x11 - IL_00a0: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_00a5: stloc.2 - IL_00a6: ldstr "IDI_(?\\w+)\\s+ICON\\s+\\\"(?[^\\\"]+)\\\"" - IL_00ab: ldc.i4.s 0x11 - IL_00ad: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_00b2: stloc.3 - IL_00b3: ldstr "IDR_(?\\w+)\\s+(?\\w+)\\s+\\\"(?[^\\\"]+)\\\"" - IL_00b8: ldc.i4.s 0x11 - IL_00ba: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_00bf: stloc.s 4 - IL_00c1: ldarg.0 - IL_00c2: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() - IL_00c7: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00cc: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string) - IL_00d1: stloc.s 5 - .try { // 0 - IL_00d3: nop - IL_00d4: br IL_0190 + .property instance string LibraryName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. - IL_00d9: nop - IL_00da: ldloc.s 5 - IL_00dc: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_00e1: stloc.s 6 - IL_00e3: ldloc.2 - IL_00e4: ldloc.s 6 - IL_00e6: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_00eb: stloc.s 7 - IL_00ed: ldloc.s 7 - IL_00ef: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_00f4: brfalse IL_011c + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_00f9: nop - IL_00fa: ldarg.0 - IL_00fb: ldloc.s 7 - IL_00fd: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0102: ldstr "file" - IL_0107: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_010c: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0111: call instance bool class NAnt.VisualCpp.Tasks.RcTask::CheckResourceTimeStamp(string) - IL_0116: stloc.0 - IL_0117: leave IL_01b9 + .get instance default string NAnt.VisualCpp.Types.Library::get_LibraryName () + .set instance default void NAnt.VisualCpp.Types.Library::set_LibraryName (string 'value') + } + .property instance bool IfDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - IL_011c: ldloc.3 - IL_011d: ldloc.s 6 - IL_011f: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_0124: stloc.s 7 - IL_0126: ldloc.s 7 - IL_0128: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_012d: brfalse IL_0155 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0132: nop - IL_0133: ldarg.0 - IL_0134: ldloc.s 7 - IL_0136: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_013b: ldstr "file" - IL_0140: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_0145: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_014a: call instance bool class NAnt.VisualCpp.Tasks.RcTask::CheckResourceTimeStamp(string) - IL_014f: stloc.0 - IL_0150: leave IL_01b9 + .get instance default bool NAnt.VisualCpp.Types.Library::get_IfDefined () + .set instance default void NAnt.VisualCpp.Types.Library::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - IL_0155: ldloc.s 4 - IL_0157: ldloc.s 6 - IL_0159: callvirt instance class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string) - IL_015e: stloc.s 7 - IL_0160: ldloc.s 7 - IL_0162: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() - IL_0167: brfalse IL_018f + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_016c: nop - IL_016d: ldarg.0 - IL_016e: ldloc.s 7 - IL_0170: callvirt instance class [System]System.Text.RegularExpressions.GroupCollection class [System]System.Text.RegularExpressions.Match::get_Groups() - IL_0175: ldstr "file" - IL_017a: callvirt instance class [System]System.Text.RegularExpressions.Group class [System]System.Text.RegularExpressions.GroupCollection::get_Item(string) - IL_017f: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() - IL_0184: call instance bool class NAnt.VisualCpp.Tasks.RcTask::CheckResourceTimeStamp(string) - IL_0189: stloc.0 - IL_018a: leave IL_01b9 + .get instance default bool NAnt.VisualCpp.Types.Library::get_UnlessDefined () + .set instance default void NAnt.VisualCpp.Types.Library::set_UnlessDefined (bool 'value') + } + } // end of class NAnt.VisualCpp.Types.Library +} - IL_018f: nop - IL_0190: ldloc.s 5 - IL_0192: callvirt instance int32 class [mscorlib]System.IO.TextReader::Peek() - IL_0197: ldc.i4.m1 - IL_0198: bne.un IL_00d9 +.namespace NAnt.VisualCpp.Types +{ + .class public auto ansi serializable beforefieldinit SymbolCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - IL_019d: nop - IL_019e: leave IL_01b2 - } // end .try 0 - finally { // 0 - IL_01a3: ldloc.s 5 - IL_01a5: brfalse IL_01b1 + // method line 175 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x566d + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method SymbolCollection::.ctor - IL_01aa: ldloc.s 5 - IL_01ac: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01b1: endfinally - } // end handler 0 - IL_01b2: ldc.i4.0 - IL_01b3: stloc.0 - IL_01b4: br IL_01b9 + // method line 176 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VisualCpp.Types.SymbolCollection 'value') cil managed + { + // Method begins at RVA 0x5676 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VisualCpp.Types.SymbolCollection::AddRange(class NAnt.VisualCpp.Types.SymbolCollection) + IL_000e: ret + } // end of method SymbolCollection::.ctor - IL_01b9: ldloc.0 - IL_01ba: ret - } // end of method RcTask::NeedsCompiling + // method line 177 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VisualCpp.Types.Symbol[] 'value') cil managed + { + // Method begins at RVA 0x5686 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VisualCpp.Types.SymbolCollection::AddRange(class NAnt.VisualCpp.Types.Symbol[]) + IL_000e: ret + } // end of method SymbolCollection::.ctor - // method line 197 - .method private hidebysig - instance default bool CheckResourceTimeStamp (string filePath) cil managed + // method line 178 + .method public hidebysig specialname + instance default class NAnt.VisualCpp.Types.Symbol get_Item (int32 index) cil managed { - // Method begins at RVA 0x54b4 - // Code size 86 (0x56) - .maxstack 7 + // Method begins at RVA 0x5698 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0, - string V_1, - bool V_2) + class NAnt.VisualCpp.Types.Symbol V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_RcFile() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileInfo::get_DirectoryName() - IL_000c: ldarg.1 - IL_000d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0012: stloc.1 - IL_0013: ldloc.1 - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.RcTask::get_OutputFile() - IL_001a: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_001f: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0024: stloc.0 - IL_0025: ldloc.0 - IL_0026: brfalse IL_004d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.VisualCpp.Types.Symbol + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_002b: nop - IL_002c: ldarg.0 - IL_002d: ldc.i4 2000 - IL_0032: ldstr "'{0}' has been updated, recompiling." - IL_0037: ldc.i4.1 - IL_0038: newarr [mscorlib]System.Object - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldloc.0 - IL_0040: stelem.ref - IL_0041: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0046: ldc.i4.1 - IL_0047: stloc.2 - IL_0048: br IL_0054 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method SymbolCollection::get_Item - IL_004d: ldc.i4.0 - IL_004e: stloc.2 - IL_004f: br IL_0054 + // method line 179 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.VisualCpp.Types.Symbol 'value') cil managed + { + // Method begins at RVA 0x56be + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) + IL_000e: ret + } // end of method SymbolCollection::set_Item - IL_0054: ldloc.2 - IL_0055: ret - } // end of method RcTask::CheckResourceTimeStamp + // method line 180 + .method public hidebysig + instance default int32 Add (class NAnt.VisualCpp.Types.Symbol item) cil managed + { + // Method begins at RVA 0x56d0 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .property instance string Options () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method SymbolCollection::Add - .get instance default string NAnt.VisualCpp.Tasks.RcTask::get_Options () - .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_Options (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6F 75 74 70 75 74 00 00 ) // ...output.. + // method line 181 + .method public hidebysig + instance default void AddRange (class NAnt.VisualCpp.Types.Symbol[] items) cil managed + { + // Method begins at RVA 0x56f4 + // Code size 34 (0x22) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::get_OutputFile () - .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo RcFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 72 63 66 69 6C 65 01 00 54 02 08 52 65 // ...rcfile..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.VisualCpp.Types.SymbolCollection::Add(class NAnt.VisualCpp.Types.Symbol) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.RcTask::get_RcFile () - .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_RcFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance int32 LangId () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6C 61 6E 67 69 64 01 00 54 02 08 52 65 // ...langid..T..Re - 71 75 69 72 65 64 00 ) // quired. + IL_0021: ret + } // end of method SymbolCollection::AddRange - .get instance default int32 NAnt.VisualCpp.Tasks.RcTask::get_LangId () - .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_LangId (int32 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet IncludeDirs () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 69 6E 63 6C 75 64 65 64 69 72 73 00 00 ) // ...includedirs.. + // method line 182 + .method public hidebysig + instance default void AddRange (class NAnt.VisualCpp.Types.SymbolCollection items) cil managed + { + // Method begins at RVA 0x5724 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.RcTask::get_IncludeDirs () - .set instance default void NAnt.VisualCpp.Tasks.RcTask::set_IncludeDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.OptionCollection Defines () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 07 64 65 66 69 6E 65 73 06 64 65 66 69 6E // ...defines.defin - 65 00 00 ) // e.. + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.VisualCpp.Types.Symbol class NAnt.VisualCpp.Types.SymbolCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.VisualCpp.Types.SymbolCollection::Add(class NAnt.VisualCpp.Types.Symbol) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - .get instance default class [NAnt.Core]NAnt.Core.Types.OptionCollection NAnt.VisualCpp.Tasks.RcTask::get_Defines () - } - .property instance string ProgramFileName () - { - .get instance default string NAnt.VisualCpp.Tasks.RcTask::get_ProgramFileName () - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.VisualCpp.Tasks.RcTask::get_ProgramArguments () - } - } // end of class NAnt.VisualCpp.Tasks.RcTask -} + IL_0028: ret + } // end of method SymbolCollection::AddRange -.namespace NAnt.VisualCpp.Tasks -{ - .class public auto ansi beforefieldinit LibTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 6C 69 62 00 00 ) // ...lib.. + // method line 183 + .method public hidebysig + instance default bool Contains (class NAnt.VisualCpp.Types.Symbol item) cil managed + { + // Method begins at RVA 0x575c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .field private string _responseFileName - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private class [mscorlib]System.IO.FileInfo _moduleDefinitionFile - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _sources - .field private class NAnt.VisualCpp.Types.SymbolCollection _symbols - .field private class NAnt.VisualCpp.Types.LibraryCollection _ignoreLibraries - .field private class [NAnt.Core]NAnt.Core.Types.FileSet _libdirs - .field private string _options + IL_0013: ldloc.0 + IL_0014: ret + } // end of method SymbolCollection::Contains - // method line 198 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 184 + .method public hidebysig + instance default void CopyTo (class NAnt.VisualCpp.Types.Symbol[] 'array', int32 index) cil managed { - // Method begins at RVA 0x5516 - // Code size 51 (0x33) + // Method begins at RVA 0x577d + // Code size 15 (0xf) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0006: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_sources - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.VisualCpp.Types.SymbolCollection::'.ctor'() - IL_0011: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::_symbols - IL_0016: ldarg.0 - IL_0017: newobj instance void class NAnt.VisualCpp.Types.LibraryCollection::'.ctor'() - IL_001c: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::_ignoreLibraries - IL_0021: ldarg.0 - IL_0022: newobj instance void class [NAnt.Core]NAnt.Core.Types.FileSet::'.ctor'() - IL_0027: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_libdirs - IL_002c: ldarg.0 - IL_002d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0032: ret - } // end of method LibTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method SymbolCollection::CopyTo - // method line 199 - .method public hidebysig specialname - instance default string get_Options () cil managed + // method line 185 + .method public hidebysig + instance default int32 IndexOf (class NAnt.VisualCpp.Types.Symbol item) cil managed { - // Method begins at RVA 0x554c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5790 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.VisualCpp.Tasks.LibTask::_options - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LibTask::get_Options + IL_0013: ldloc.0 + IL_0014: ret + } // end of method SymbolCollection::IndexOf - // method line 200 - .method public hidebysig specialname - instance default void set_Options (string 'value') cil managed + // method line 186 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.VisualCpp.Types.Symbol item) cil managed { - // Method begins at RVA 0x5567 - // Code size 9 (0x9) + // Method begins at RVA 0x57b1 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.VisualCpp.Tasks.LibTask::_options - IL_0008: ret - } // end of method LibTask::set_Options + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method SymbolCollection::Insert - // method line 201 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + // method line 187 + .method public hidebysig + instance default class NAnt.VisualCpp.Types.SymbolEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x5574 + // Method begins at RVA 0x57c4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.VisualCpp.Types.SymbolEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_outputFile + IL_0002: newobj instance void class NAnt.VisualCpp.Types.SymbolEnumerator::'.ctor'(class NAnt.VisualCpp.Types.SymbolCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LibTask::get_OutputFile + } // end of method SymbolCollection::GetEnumerator - // method line 202 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 188 + .method public hidebysig + instance default void Remove (class NAnt.VisualCpp.Types.Symbol item) cil managed { - // Method begins at RVA 0x558f - // Code size 9 (0x9) + // Method begins at RVA 0x57df + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_outputFile - IL_0008: ret - } // end of method LibTask::set_OutputFile + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method SymbolCollection::Remove + + .property instance class NAnt.VisualCpp.Types.Symbol Item (int32) + { + .get instance default class NAnt.VisualCpp.Types.Symbol NAnt.VisualCpp.Types.SymbolCollection::get_Item (int32 index) + .set instance default void NAnt.VisualCpp.Types.SymbolCollection::set_Item (int32 index, class NAnt.VisualCpp.Types.Symbol 'value') + } + } // end of class NAnt.VisualCpp.Types.SymbolCollection +} + +.namespace NAnt.VisualCpp.Types +{ + .class public auto ansi beforefieldinit SymbolEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + + // method line 189 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VisualCpp.Types.SymbolCollection arguments) cil managed + { + // Method begins at RVA 0x57f0 + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator + IL_0015: ret + } // end of method SymbolEnumerator::.ctor - // method line 203 + // method line 190 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ModuleDefinitionFile () cil managed + instance default class NAnt.VisualCpp.Types.Symbol get_Current () cil managed { - // Method begins at RVA 0x559c - // Code size 15 (0xf) + // Method begins at RVA 0x5814 + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.VisualCpp.Types.Symbol V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_moduleDefinitionFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LibTask::get_ModuleDefinitionFile + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.VisualCpp.Types.Symbol + IL_0011: stloc.0 + IL_0012: br IL_0017 - // method line 204 - .method public hidebysig specialname - instance default void set_ModuleDefinitionFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x55b7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::_moduleDefinitionFile - IL_0008: ret - } // end of method LibTask::set_ModuleDefinitionFile + IL_0017: ldloc.0 + IL_0018: ret + } // end of method SymbolEnumerator::get_Current - // method line 205 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_Sources () cil managed + // method line 191 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x55c4 - // Code size 15 (0xf) + // Method begins at RVA 0x583c + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_sources - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LibTask::get_Sources + IL_0012: ldloc.0 + IL_0013: ret + } // end of method SymbolEnumerator::System.Collections.IEnumerator.get_Current - // method line 206 - .method public hidebysig specialname - instance default void set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + // method line 192 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x55df - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x585c + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_sources - IL_0008: ret - } // end of method LibTask::set_Sources + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 207 - .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.SymbolCollection get_Symbols () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method SymbolEnumerator::MoveNext + + // method line 193 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x55ec - // Code size 15 (0xf) + // Method begins at RVA 0x587c + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.VisualCpp.Types.SymbolCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::_symbols - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LibTask::get_Symbols + IL_0012: ldloc.0 + IL_0013: ret + } // end of method SymbolEnumerator::System.Collections.IEnumerator.MoveNext - // method line 208 - .method public hidebysig specialname - instance default void set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') cil managed + // method line 194 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x5607 - // Code size 9 (0x9) + // Method begins at RVA 0x589c + // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::_symbols - IL_0008: ret - } // end of method LibTask::set_Symbols + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method SymbolEnumerator::Reset - // method line 209 - .method public hidebysig specialname - instance default class NAnt.VisualCpp.Types.LibraryCollection get_IgnoreLibraries () cil managed + // method line 195 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x5614 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.VisualCpp.Types.LibraryCollection V_0) + // Method begins at RVA 0x58aa + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::_ignoreLibraries - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.SymbolEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method SymbolEnumerator::System.Collections.IEnumerator.Reset - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LibTask::get_IgnoreLibraries + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.VisualCpp.Types.SymbolEnumerator::System.Collections.IEnumerator.get_Current () + } + .property instance class NAnt.VisualCpp.Types.Symbol Current () + { + .get instance default class NAnt.VisualCpp.Types.Symbol NAnt.VisualCpp.Types.SymbolEnumerator::get_Current () + } + } // end of class NAnt.VisualCpp.Types.SymbolEnumerator +} - // method line 210 - .method public hidebysig specialname - instance default void set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') cil managed +.namespace NAnt.VisualCpp.Types +{ + .class public auto ansi serializable beforefieldinit LibraryCollection + extends [mscorlib]System.Collections.CollectionBase + { + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + + + // method line 196 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x562f - // Code size 9 (0x9) + // Method begins at RVA 0x58b8 + // Code size 8 (0x8) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::_ignoreLibraries - IL_0008: ret - } // end of method LibTask::set_IgnoreLibraries + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method LibraryCollection::.ctor - // method line 211 - .method public hidebysig specialname - instance default class [NAnt.Core]NAnt.Core.Types.FileSet get_LibDirs () cil managed + // method line 197 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VisualCpp.Types.LibraryCollection 'value') cil managed { - // Method begins at RVA 0x563c + // Method begins at RVA 0x58c1 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [NAnt.Core]NAnt.Core.Types.FileSet V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_libdirs - IL_0007: stloc.0 - IL_0008: br IL_000d + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VisualCpp.Types.LibraryCollection::AddRange(class NAnt.VisualCpp.Types.LibraryCollection) + IL_000e: ret + } // end of method LibraryCollection::.ctor - IL_000d: ldloc.0 + // method line 198 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VisualCpp.Types.Library[] 'value') cil managed + { + // Method begins at RVA 0x58d1 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.VisualCpp.Types.LibraryCollection::AddRange(class NAnt.VisualCpp.Types.Library[]) IL_000e: ret - } // end of method LibTask::get_LibDirs + } // end of method LibraryCollection::.ctor - // method line 212 + // method line 199 .method public hidebysig specialname - instance default void set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') cil managed + instance default class NAnt.VisualCpp.Types.Library get_Item (int32 index) cil managed { - // Method begins at RVA 0x5657 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x58e4 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.VisualCpp.Types.Library V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::_libdirs - IL_0008: ret - } // end of method LibTask::set_LibDirs + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.VisualCpp.Types.Library + IL_0012: stloc.0 + IL_0013: br IL_0018 - // method line 213 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed + IL_0018: ldloc.0 + IL_0019: ret + } // end of method LibraryCollection::get_Item + + // method line 200 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.VisualCpp.Types.Library 'value') cil managed { - // Method begins at RVA 0x5664 + // Method begins at RVA 0x590a // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [NAnt.Core]NAnt.Core.Element::get_Name() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) IL_000e: ret - } // end of method LibTask::get_ProgramFileName + } // end of method LibraryCollection::set_Item - // method line 214 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed + // method line 201 + .method public hidebysig + instance default int32 Add (class NAnt.VisualCpp.Types.Library item) cil managed { - // Method begins at RVA 0x5680 - // Code size 30 (0x1e) - .maxstack 3 + // Method begins at RVA 0x591c + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldstr "@\"" - IL_0006: ldarg.0 - IL_0007: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName - IL_000c: ldstr "\"" - IL_0011: call string string::Concat(string, string, string) - IL_0016: stloc.0 - IL_0017: br IL_001c + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_001c: ldloc.0 - IL_001d: ret - } // end of method LibTask::get_ProgramArguments + IL_0013: ldloc.0 + IL_0014: ret + } // end of method LibraryCollection::Add - // method line 215 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 202 + .method public hidebysig + instance default void AddRange (class NAnt.VisualCpp.Types.Library[] items) cil managed { - // Method begins at RVA 0x56ac - // Code size 828 (0x33c) - .maxstack 7 + // Method begins at RVA 0x5940 + // Code size 34 (0x22) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.StreamWriter V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.VisualCpp.Types.Symbol V_4, - class NAnt.VisualCpp.Types.SymbolEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - class NAnt.VisualCpp.Types.Library V_7, - class NAnt.VisualCpp.Types.LibraryEnumerator V_8, - class [mscorlib]System.IDisposable V_9, - string V_10, - class [System]System.Collections.Specialized.StringEnumerator V_11, - class [mscorlib]System.IDisposable V_12, - class [mscorlib]System.IO.StreamReader V_13) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e - - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_0018: ldarg.0 - IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() - IL_0034: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_0039: brtrue IL_005b - - IL_003e: nop - IL_003f: ldarg.0 - IL_0040: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() - IL_0045: ldarg.0 - IL_0046: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_004b: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0050: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0055: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_005a: nop - IL_005b: ldarg.0 - IL_005c: callvirt instance bool class NAnt.VisualCpp.Tasks.LibTask::NeedsCompiling() - IL_0061: brtrue IL_006c - - IL_0066: nop - IL_0067: br IL_033b - - IL_006c: ldarg.0 - IL_006d: ldc.i4 3000 - IL_0072: ldstr "Combining {0} files to '{1}'." - IL_0077: ldc.i4.2 - IL_0078: newarr [mscorlib]System.Object - IL_007d: dup - IL_007e: ldc.i4.0 - IL_007f: ldarg.0 - IL_0080: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_0085: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_008a: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_008f: box [mscorlib]System.Int32 - IL_0094: stelem.ref - IL_0095: dup - IL_0096: ldc.i4.1 - IL_0097: ldarg.0 - IL_0098: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() - IL_009d: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00a2: stelem.ref - IL_00a3: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00a8: ldarg.0 - IL_00a9: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_00ae: stfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName - IL_00b3: ldarg.0 - IL_00b4: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName - IL_00b9: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string) - IL_00be: stloc.0 - .try { // 4 - IL_00bf: nop - IL_00c0: ldloc.0 - IL_00c1: ldstr "/OUT:\"{0}\"" - IL_00c6: ldarg.0 - IL_00c7: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() - IL_00cc: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00d1: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_00d6: ldarg.0 - IL_00d7: call instance string class NAnt.VisualCpp.Tasks.LibTask::get_Options() - IL_00dc: brfalse IL_00ef - - IL_00e1: nop - IL_00e2: ldloc.0 - IL_00e3: ldarg.0 - IL_00e4: call instance string class NAnt.VisualCpp.Tasks.LibTask::get_Options() - IL_00e9: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_00ee: nop - IL_00ef: nop - IL_00f0: ldarg.0 - IL_00f1: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_00f6: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00fb: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0100: stloc.2 - .try { // 0 - IL_0101: br IL_011c - - IL_0106: ldloc.2 - IL_0107: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_010c: stloc.1 - IL_010d: nop - IL_010e: ldloc.0 - IL_010f: ldloc.1 - IL_0110: ldc.i4.0 - IL_0111: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) - IL_0116: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_011b: nop - IL_011c: ldloc.2 - IL_011d: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0122: brtrue IL_0106 - - IL_0127: leave IL_0140 - - } // end .try 0 - finally { // 0 - IL_012c: ldloc.2 - IL_012d: isinst [mscorlib]System.IDisposable - IL_0132: dup - IL_0133: stloc.3 - IL_0134: brfalse IL_013f - - IL_0139: ldloc.3 - IL_013a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_013f: endfinally - } // end handler 0 - IL_0140: nop - IL_0141: ldarg.0 - IL_0142: call instance class NAnt.VisualCpp.Types.SymbolCollection class NAnt.VisualCpp.Tasks.LibTask::get_Symbols() - IL_0147: callvirt instance class NAnt.VisualCpp.Types.SymbolEnumerator class NAnt.VisualCpp.Types.SymbolCollection::GetEnumerator() - IL_014c: stloc.s 5 - .try { // 1 - IL_014e: br IL_0190 - - IL_0153: ldloc.s 5 - IL_0155: callvirt instance class NAnt.VisualCpp.Types.Symbol class NAnt.VisualCpp.Types.SymbolEnumerator::get_Current() - IL_015a: stloc.s 4 - IL_015c: nop - IL_015d: ldloc.s 4 - IL_015f: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_IfDefined() - IL_0164: brfalse IL_018f - - IL_0169: ldloc.s 4 - IL_016b: callvirt instance bool class NAnt.VisualCpp.Types.Symbol::get_UnlessDefined() - IL_0170: brtrue IL_018f - - IL_0175: nop - IL_0176: ldloc.0 - IL_0177: ldstr "/INCLUDE:{0}" - IL_017c: ldloc.s 4 - IL_017e: callvirt instance string class NAnt.VisualCpp.Types.Symbol::get_SymbolName() - IL_0183: ldc.i4.1 - IL_0184: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) - IL_0189: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_018e: nop - IL_018f: nop - IL_0190: ldloc.s 5 - IL_0192: callvirt instance bool class NAnt.VisualCpp.Types.SymbolEnumerator::MoveNext() - IL_0197: brtrue IL_0153 - - IL_019c: leave IL_01b8 - - } // end .try 1 - finally { // 1 - IL_01a1: ldloc.s 5 - IL_01a3: isinst [mscorlib]System.IDisposable - IL_01a8: dup - IL_01a9: stloc.s 6 - IL_01ab: brfalse IL_01b7 - - IL_01b0: ldloc.s 6 - IL_01b2: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01b7: endfinally - } // end handler 1 - IL_01b8: nop - IL_01b9: ldarg.0 - IL_01ba: call instance class NAnt.VisualCpp.Types.LibraryCollection class NAnt.VisualCpp.Tasks.LibTask::get_IgnoreLibraries() - IL_01bf: callvirt instance class NAnt.VisualCpp.Types.LibraryEnumerator class NAnt.VisualCpp.Types.LibraryCollection::GetEnumerator() - IL_01c4: stloc.s 8 - .try { // 2 - IL_01c6: br IL_0208 - - IL_01cb: ldloc.s 8 - IL_01cd: callvirt instance class NAnt.VisualCpp.Types.Library class NAnt.VisualCpp.Types.LibraryEnumerator::get_Current() - IL_01d2: stloc.s 7 - IL_01d4: nop - IL_01d5: ldloc.s 7 - IL_01d7: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_IfDefined() - IL_01dc: brfalse IL_0207 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - IL_01e1: ldloc.s 7 - IL_01e3: callvirt instance bool class NAnt.VisualCpp.Types.Library::get_UnlessDefined() - IL_01e8: brtrue IL_0207 + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: ldelem.ref + IL_000d: call instance int32 class NAnt.VisualCpp.Types.LibraryCollection::Add(class NAnt.VisualCpp.Types.Library) + IL_0012: pop + IL_0013: nop + IL_0014: ldloc.0 + IL_0015: ldc.i4.1 + IL_0016: add + IL_0017: stloc.0 + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_01ed: nop - IL_01ee: ldloc.0 - IL_01ef: ldstr "/NODEFAULTLIB:{0}" - IL_01f4: ldloc.s 7 - IL_01f6: callvirt instance string class NAnt.VisualCpp.Types.Library::get_LibraryName() - IL_01fb: ldc.i4.1 - IL_01fc: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) - IL_0201: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0206: nop - IL_0207: nop - IL_0208: ldloc.s 8 - IL_020a: callvirt instance bool class NAnt.VisualCpp.Types.LibraryEnumerator::MoveNext() - IL_020f: brtrue IL_01cb + IL_0021: ret + } // end of method LibraryCollection::AddRange - IL_0214: leave IL_0230 + // method line 203 + .method public hidebysig + instance default void AddRange (class NAnt.VisualCpp.Types.LibraryCollection items) cil managed + { + // Method begins at RVA 0x5970 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - } // end .try 2 - finally { // 2 - IL_0219: ldloc.s 8 - IL_021b: isinst [mscorlib]System.IDisposable - IL_0220: dup - IL_0221: stloc.s 9 - IL_0223: brfalse IL_022f + IL_0008: nop + IL_0009: ldarg.0 + IL_000a: ldarg.1 + IL_000b: ldloc.0 + IL_000c: callvirt instance class NAnt.VisualCpp.Types.Library class NAnt.VisualCpp.Types.LibraryCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.VisualCpp.Types.LibraryCollection::Add(class NAnt.VisualCpp.Types.Library) + IL_0016: pop + IL_0017: nop + IL_0018: ldloc.0 + IL_0019: ldc.i4.1 + IL_001a: add + IL_001b: stloc.0 + IL_001c: ldloc.0 + IL_001d: ldarg.1 + IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0023: blt IL_0008 - IL_0228: ldloc.s 9 - IL_022a: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_022f: endfinally - } // end handler 2 - IL_0230: nop - IL_0231: ldarg.0 - IL_0232: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_LibDirs() - IL_0237: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_DirectoryNames() - IL_023c: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0241: stloc.s 11 - .try { // 3 - IL_0243: br IL_0266 + IL_0028: ret + } // end of method LibraryCollection::AddRange - IL_0248: ldloc.s 11 - IL_024a: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_024f: stloc.s 10 - IL_0251: nop - IL_0252: ldloc.0 - IL_0253: ldstr "/LIBPATH:{0}" - IL_0258: ldloc.s 10 - IL_025a: ldc.i4.0 - IL_025b: call string class NAnt.VisualCpp.Util.ArgumentUtils::QuoteArgumentValue(string, valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod) - IL_0260: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_0265: nop - IL_0266: ldloc.s 11 - IL_0268: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_026d: brtrue IL_0248 + // method line 204 + .method public hidebysig + instance default bool Contains (class NAnt.VisualCpp.Types.Library item) cil managed + { + // Method begins at RVA 0x59a8 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0272: leave IL_028e + IL_0013: ldloc.0 + IL_0014: ret + } // end of method LibraryCollection::Contains - } // end .try 3 - finally { // 3 - IL_0277: ldloc.s 11 - IL_0279: isinst [mscorlib]System.IDisposable - IL_027e: dup - IL_027f: stloc.s 12 - IL_0281: brfalse IL_028d + // method line 205 + .method public hidebysig + instance default void CopyTo (class NAnt.VisualCpp.Types.Library[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x59c9 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_000e: ret + } // end of method LibraryCollection::CopyTo - IL_0286: ldloc.s 12 - IL_0288: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_028d: endfinally - } // end handler 3 - IL_028e: ldarg.0 - IL_028f: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_ModuleDefinitionFile() - IL_0294: brfalse IL_02b1 + // method line 206 + .method public hidebysig + instance default int32 IndexOf (class NAnt.VisualCpp.Types.Library item) cil managed + { + // Method begins at RVA 0x59dc + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0299: nop - IL_029a: ldloc.0 - IL_029b: ldstr "/DEF:\"{0}\"" - IL_02a0: ldarg.0 - IL_02a1: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_ModuleDefinitionFile() - IL_02a6: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_02ab: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string, object) - IL_02b0: nop - IL_02b1: ldloc.0 - IL_02b2: ldstr "/nologo" - IL_02b7: callvirt instance void class [mscorlib]System.IO.TextWriter::WriteLine(string) - IL_02bc: ldloc.0 - IL_02bd: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_02c2: ldarg.0 - IL_02c3: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_02c8: brfalse IL_0314 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method LibraryCollection::IndexOf - IL_02cd: nop - IL_02ce: ldarg.0 - IL_02cf: ldc.i4 3000 - IL_02d4: ldstr "Contents of {0}." - IL_02d9: ldc.i4.1 - IL_02da: newarr [mscorlib]System.Object - IL_02df: dup - IL_02e0: ldc.i4.0 - IL_02e1: ldarg.0 - IL_02e2: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName - IL_02e7: stelem.ref - IL_02e8: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_02ed: ldarg.0 - IL_02ee: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName - IL_02f3: call class [mscorlib]System.IO.StreamReader class [mscorlib]System.IO.File::OpenText(string) - IL_02f8: stloc.s 13 - IL_02fa: ldarg.0 - IL_02fb: ldc.i4 3000 - IL_0300: ldloc.s 13 - IL_0302: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0307: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string) - IL_030c: ldloc.s 13 - IL_030e: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_0313: nop - IL_0314: ldarg.0 - IL_0315: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_031a: nop - IL_031b: leave IL_033b + // method line 207 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.VisualCpp.Types.Library item) cil managed + { + // Method begins at RVA 0x59fd + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method LibraryCollection::Insert - } // end .try 4 - finally { // 4 - IL_0320: nop - IL_0321: ldloc.0 - IL_0322: callvirt instance void class [mscorlib]System.IO.TextWriter::Close() - IL_0327: ldarg.0 - IL_0328: ldfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName - IL_032d: call void class [mscorlib]System.IO.File::Delete(string) - IL_0332: ldarg.0 - IL_0333: ldnull - IL_0334: stfld string NAnt.VisualCpp.Tasks.LibTask::_responseFileName - IL_0339: nop - IL_033a: endfinally - } // end handler 4 - IL_033b: ret - } // end of method LibTask::ExecuteTask + // method line 208 + .method public hidebysig + instance default class NAnt.VisualCpp.Types.LibraryEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x5a10 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.VisualCpp.Types.LibraryEnumerator V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NAnt.VisualCpp.Types.LibraryEnumerator::'.ctor'(class NAnt.VisualCpp.Types.LibraryCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LibraryCollection::GetEnumerator - // method line 216 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling () cil managed + // method line 209 + .method public hidebysig + instance default void Remove (class NAnt.VisualCpp.Types.Library item) cil managed { - // Method begins at RVA 0x5a70 - // Code size 138 (0x8a) - .maxstack 7 - .locals init ( - bool V_0, - string V_1) + // Method begins at RVA 0x5a2b + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_003d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) + IL_000d: ret + } // end of method LibraryCollection::Remove - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldc.i4 2000 - IL_0018: ldstr "Output file '{0}' does not exist, rebuilding library." - IL_001d: ldc.i4.1 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 - IL_0025: ldarg.0 - IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() - IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0030: stelem.ref - IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0036: ldc.i4.1 - IL_0037: stloc.0 - IL_0038: br IL_0088 + .property instance class NAnt.VisualCpp.Types.Library Item (int32) + { + .get instance default class NAnt.VisualCpp.Types.Library NAnt.VisualCpp.Types.LibraryCollection::get_Item (int32 index) + .set instance default void NAnt.VisualCpp.Types.LibraryCollection::set_Item (int32 index, class NAnt.VisualCpp.Types.Library 'value') + } + } // end of class NAnt.VisualCpp.Types.LibraryCollection +} - IL_003d: ldarg.0 - IL_003e: call instance class [NAnt.Core]NAnt.Core.Types.FileSet class NAnt.VisualCpp.Tasks.LibTask::get_Sources() - IL_0043: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0048: ldarg.0 - IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.VisualCpp.Tasks.LibTask::get_OutputFile() - IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_0058: stloc.1 - IL_0059: ldloc.1 - IL_005a: brfalse IL_0081 +.namespace NAnt.VisualCpp.Types +{ + .class public auto ansi beforefieldinit LibraryEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - IL_005f: nop - IL_0060: ldarg.0 - IL_0061: ldc.i4 2000 - IL_0066: ldstr "'{0}' has been updated, relinking." - IL_006b: ldc.i4.1 - IL_006c: newarr [mscorlib]System.Object - IL_0071: dup - IL_0072: ldc.i4.0 - IL_0073: ldloc.1 - IL_0074: stelem.ref - IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007a: ldc.i4.1 - IL_007b: stloc.0 - IL_007c: br IL_0088 + // method line 210 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.VisualCpp.Types.LibraryCollection arguments) cil managed + { + // Method begins at RVA 0x5a3c + // Code size 22 (0x16) + .maxstack 2 + .locals init ( + class [mscorlib]System.Collections.IEnumerable V_0) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: stloc.0 + IL_0009: ldarg.0 + IL_000a: ldloc.0 + IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator + IL_0015: ret + } // end of method LibraryEnumerator::.ctor - IL_0081: ldc.i4.0 - IL_0082: stloc.0 - IL_0083: br IL_0088 + // method line 211 + .method public hidebysig specialname + instance default class NAnt.VisualCpp.Types.Library get_Current () cil managed + { + // Method begins at RVA 0x5a60 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.VisualCpp.Types.Library V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: castclass NAnt.VisualCpp.Types.Library + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0088: ldloc.0 - IL_0089: ret - } // end of method LibTask::NeedsCompiling + IL_0017: ldloc.0 + IL_0018: ret + } // end of method LibraryEnumerator::get_Current - .property instance string Options () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6F 70 74 69 6F 6E 73 00 00 ) // ...options.. + // method line 212 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x5a88 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::get_Current due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default string NAnt.VisualCpp.Tasks.LibTask::get_Options () - .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_Options (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method LibraryEnumerator::System.Collections.IEnumerator.get_Current - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::get_OutputFile () - .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo ModuleDefinitionFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 10 6D 6F 64 75 6C 65 64 65 66 69 6E 69 74 // ...moduledefinit - 69 6F 6E 00 00 ) // ion.. + // method line 213 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x5aa8 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.VisualCpp.Tasks.LibTask::get_ModuleDefinitionFile () - .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_ModuleDefinitionFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet Sources () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 73 6F 75 72 63 65 73 00 00 ) // ...sources.. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method LibraryEnumerator::MoveNext - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::get_Sources () - .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_Sources (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance class NAnt.VisualCpp.Types.SymbolCollection Symbols () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 07 73 79 6D 62 6F 6C 73 06 73 79 6D 62 6F // ...symbols.symbo - 6C 00 00 ) // l.. + // method line 214 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x5ac8 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::MoveNext due to (null) + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default class NAnt.VisualCpp.Types.SymbolCollection NAnt.VisualCpp.Tasks.LibTask::get_Symbols () - .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_Symbols (class NAnt.VisualCpp.Types.SymbolCollection 'value') - } - .property instance class NAnt.VisualCpp.Types.LibraryCollection IgnoreLibraries () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute::'.ctor'(string, string) = ( - 01 00 0F 69 67 6E 6F 72 65 6C 69 62 72 61 72 69 // ...ignorelibrari - 65 73 07 6C 69 62 72 61 72 79 00 00 ) // es.library.. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method LibraryEnumerator::System.Collections.IEnumerator.MoveNext - .get instance default class NAnt.VisualCpp.Types.LibraryCollection NAnt.VisualCpp.Tasks.LibTask::get_IgnoreLibraries () - .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_IgnoreLibraries (class NAnt.VisualCpp.Types.LibraryCollection 'value') - } - .property instance class [NAnt.Core]NAnt.Core.Types.FileSet LibDirs () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 07 6C 69 62 64 69 72 73 00 00 ) // ...libdirs.. + // method line 215 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x5ae8 + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method LibraryEnumerator::Reset - .get instance default class [NAnt.Core]NAnt.Core.Types.FileSet NAnt.VisualCpp.Tasks.LibTask::get_LibDirs () - .set instance default void NAnt.VisualCpp.Tasks.LibTask::set_LibDirs (class [NAnt.Core]NAnt.Core.Types.FileSet 'value') - } - .property instance string ProgramFileName () + // method line 216 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x5af6 + .override Could not decode method override class [mscorlib]System.Collections.IEnumerator::Reset due to (null) + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.VisualCpp.Types.LibraryEnumerator::_baseEnumerator + IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() + IL_000c: ret + } // end of method LibraryEnumerator::System.Collections.IEnumerator.Reset + + .property instance object System.Collections.IEnumerator.Current () { - .get instance default string NAnt.VisualCpp.Tasks.LibTask::get_ProgramFileName () + .get instance default object NAnt.VisualCpp.Types.LibraryEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance string ProgramArguments () + .property instance class NAnt.VisualCpp.Types.Library Current () { - .get instance default string NAnt.VisualCpp.Tasks.LibTask::get_ProgramArguments () + .get instance default class NAnt.VisualCpp.Types.Library NAnt.VisualCpp.Types.LibraryEnumerator::get_Current () } - } // end of class NAnt.VisualCpp.Tasks.LibTask + } // end of class NAnt.VisualCpp.Types.LibraryEnumerator } .namespace NAnt.VisualCpp.Util @@ -8290,7 +8290,7 @@ .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x5b06 + // Method begins at RVA 0x5b04 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -8302,7 +8302,7 @@ .method public static hidebysig default string ProcessTrailingBackslash (string 'value', valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod processingMethod) cil managed { - // Method begins at RVA 0x5b10 + // Method begins at RVA 0x5b0c // Code size 104 (0x68) .maxstack 3 .locals init ( @@ -8356,7 +8356,7 @@ .method public static hidebysig default string DuplicateTrailingBackslash (string 'value') cil managed { - // Method begins at RVA 0x5b84 + // Method begins at RVA 0x5b80 // Code size 151 (0x97) .maxstack 3 .locals init ( @@ -8437,7 +8437,7 @@ .method public static hidebysig default string FixTrailingBackslash (string 'value') cil managed { - // Method begins at RVA 0x5c28 + // Method begins at RVA 0x5c24 // Code size 134 (0x86) .maxstack 3 .locals init ( @@ -8506,7 +8506,7 @@ .method public static hidebysig default string CleanTrailingBackslash (string 'value') cil managed { - // Method begins at RVA 0x5cbc + // Method begins at RVA 0x5cb8 // Code size 35 (0x23) .maxstack 2 .locals init ( @@ -8533,7 +8533,7 @@ .method public static hidebysig default string QuoteArgumentValue (string 'value', valuetype NAnt.VisualCpp.Util.BackslashProcessingMethod processingMethod) cil managed { - // Method begins at RVA 0x5cec + // Method begins at RVA 0x5ce8 // Code size 74 (0x4a) .maxstack 3 .locals init ( /usr/share/NAnt/bin/NAnt.VisualCppTasks.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.VisualCppTasks.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.VisualCppTasks.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,698 +4,510 @@ NAnt.VisualCppTasks - + - Contains a collection of elements. + Links files using link.exe, Microsoft's Incremental Linker. + + This task is intended for version 7.00.9466 of link.exe. + + + + Combine all object files in the current directory into helloworld.exe. + + + + + + + + ]]> + + - + - Initializes a new instance of the class. + Options to pass to the compiler. - + - Initializes a new instance of the class - with the specified instance. + Create debugging information for the .exe file or DLL. The default is + . - + - Initializes a new instance of the class - with the specified array of instances. + The output file. - + - Gets or sets the element at the specified index. + A user-specified name for the program database (PDB) that the linker + creates. The default file name for the PDB has the base name of the + and the extension .pdb. - The zero-based index of the element to get or set. - + - Adds a to the end of the collection. + The name of a module-definition file (.def) to be passed to the + linker. - The to be added to the end of the collection. - The position into which the new element was inserted. - + - Adds the elements of a array to the end of the collection. + Specified DLLs for delay loading. - The array of elements to be added to the end of the collection. - + - Adds the elements of a to the end of the collection. + The list of files to combine into the output file. - The to be added to the end of the collection. - + - Determines whether a is in the collection. + The list of additional library directories to search. - The to locate in the collection. - - if is found in the - collection; otherwise, . - - + - Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. + Link the specified modules into this assembly. - The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing. - The zero-based index in at which copying begins. - + - Retrieves the index of a specified object in the collection. + Embed the specified resources into this assembly. - The object for which the index is returned. - - The index of the specified . If the is not currently a member of the collection, it returns -1. - - + - Inserts a into the collection at the specified index. + Symbols to add to the symbol table. - The zero-based index at which should be inserted. - The to insert. - + - Returns an enumerator that can iterate through the collection. + Names of libraries that you want the linker to ignore when it + resolves external references. - - A for the entire collection. - - + - Removes a member from the collection. + Gets the filename of the external program to start. - The to remove from the collection. + The filename of the external program. - + - Enumerates the elements of a . + Gets the command-line arguments for the external program. + + The command-line arguments for the external program. + - + - Initializes a new instance of the class - with the specified . + Links the sources. - The collection that should be enumerated. - + - Gets the current element in the collection. + Determines if the output needs linking. - - The current element in the collection. - - + - Advances the enumerator to the next element of the collection. + Quotes an argument value and duplicates trailing backslahes. + The argument value to quote. - if the enumerator was successfully advanced - to the next element; if the enumerator has - passed the end of the collection. + The quotes argument value. - + - Sets the enumerator to its initial position, which is before the - first element in the collection. + Compiles C/C++ programs using cl.exe, Microsoft's C/C++ compiler. PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.Win32Tasks.dll /usr/share/NAnt/bin/NAnt.Win32Tasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.Win32Tasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.Win32Tasks.dll (monodis) @@ -66,1509 +66,1197 @@ .module NAnt.Win32Tasks.dll // GUID = { 42 } -.namespace NAnt.Win32.Functions +.namespace NAnt.Win32.Tasks { - .class public auto ansi beforefieldinit CygpathFunctions - extends [NAnt.Core]NAnt.Core.FunctionSetBase + .class private auto ansi beforefieldinit LocateSdkTask + extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 07 63 79 67 70 61 74 68 0B 55 6E 69 78 2F // ...cygpath.Unix/ - 43 79 67 77 69 6E 00 00 ) // Cygwin.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 09 6C 6F 63 61 74 65 73 64 6B 00 00 ) // ...locatesdk.. + .field private string _propName + .field private string _minWinSdkVer + .field private string _maxWinSdkVer + .field private string _minNetFxVer + .field private string _maxNetFxVer + .field private initonly string _registryBase + .field private initonly string _regexNetFxTools // method line 1 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [NAnt.Core]NAnt.Core.Project project, class [NAnt.Core]NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' () cil managed { // Method begins at RVA 0x2050 - // Code size 10 (0xa) + // Code size 51 (0x33) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class [NAnt.Core]NAnt.Core.FunctionSetBase::'.ctor'(class [NAnt.Core]NAnt.Core.Project, class [NAnt.Core]NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method CygpathFunctions::.ctor + IL_0001: ldstr "v6.0" + IL_0006: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer + IL_000b: ldarg.0 + IL_000c: ldstr "2.0" + IL_0011: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer + IL_0016: ldarg.0 + IL_0017: ldstr "SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows" + IL_001c: stfld string NAnt.Win32.Tasks.LocateSdkTask::_registryBase + IL_0021: ldarg.0 + IL_0022: ldstr "^WinSDK.*NetFx.*Tools.*$" + IL_0027: stfld string NAnt.Win32.Tasks.LocateSdkTask::_regexNetFxTools + IL_002c: ldarg.0 + IL_002d: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0032: ret + } // end of method LocateSdkTask::.ctor // method line 2 - .method public hidebysig - instance default string GetDosPath (string path) cil managed + .method public virtual hidebysig newslot specialname + instance default string get_PropertyName () cil managed { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 64 6F 73 2D 70 61 74 68 00 // ...get-dos-path. - 00 ) // . - - // Method begins at RVA 0x205c - // Code size 45 (0x2d) - .maxstack 7 + // Method begins at RVA 0x2084 + // Code size 15 (0xf) + .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: newarr [NAnt.Core]NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--dos \"" - IL_000f: ldarg.1 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: call instance string class NAnt.Win32.Functions.CygpathFunctions::RunCygpathString(class [NAnt.Core]NAnt.Core.Types.Argument[]) - IL_0025: stloc.0 - IL_0026: br IL_002b + IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_propName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002b: ldloc.0 - IL_002c: ret - } // end of method CygpathFunctions::GetDosPath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LocateSdkTask::get_PropertyName // method line 3 - .method public hidebysig - instance default string GetUnixPath (string path) cil managed + .method public virtual hidebysig newslot specialname + instance default void set_PropertyName (string 'value') cil managed { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 75 6E 69 78 2D 70 61 74 68 // ...get-unix-path - 00 00 ) // .. + // Method begins at RVA 0x209f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_propName + IL_0008: ret + } // end of method LocateSdkTask::set_PropertyName - // Method begins at RVA 0x2098 - // Code size 45 (0x2d) - .maxstack 7 + // method line 4 + .method public hidebysig specialname + instance default string get_MinWinSdkVersion () cil managed + { + // Method begins at RVA 0x20ac + // Code size 15 (0xf) + .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: newarr [NAnt.Core]NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--unix \"" - IL_000f: ldarg.1 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: call instance string class NAnt.Win32.Functions.CygpathFunctions::RunCygpathString(class [NAnt.Core]NAnt.Core.Types.Argument[]) - IL_0025: stloc.0 - IL_0026: br IL_002b + IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002b: ldloc.0 - IL_002c: ret - } // end of method CygpathFunctions::GetUnixPath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LocateSdkTask::get_MinWinSdkVersion - // method line 4 - .method public hidebysig - instance default string GetWindowsPath (string path) cil managed + // method line 5 + .method public hidebysig specialname + instance default void set_MinWinSdkVersion (string 'value') cil managed { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 10 67 65 74 2D 77 69 6E 64 6F 77 73 2D 70 // ...get-windows-p - 61 74 68 00 00 ) // ath.. + // Method begins at RVA 0x20c7 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer + IL_0008: ret + } // end of method LocateSdkTask::set_MinWinSdkVersion + // method line 6 + .method public hidebysig specialname + instance default string get_MaxWinSdkVersion () cil managed + { // Method begins at RVA 0x20d4 - // Code size 45 (0x2d) - .maxstack 7 + // Code size 15 (0xf) + .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: newarr [NAnt.Core]NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--windows \"" - IL_000f: ldarg.1 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: call instance string class NAnt.Win32.Functions.CygpathFunctions::RunCygpathString(class [NAnt.Core]NAnt.Core.Types.Argument[]) - IL_0025: stloc.0 - IL_0026: br IL_002b + IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxWinSdkVer + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002b: ldloc.0 - IL_002c: ret - } // end of method CygpathFunctions::GetWindowsPath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LocateSdkTask::get_MaxWinSdkVersion - // method line 5 - .method private hidebysig - instance default string RunCygpathString (class [NAnt.Core]NAnt.Core.Types.Argument[] args) cil managed + // method line 7 + .method public hidebysig specialname + instance default void set_MaxWinSdkVersion (string 'value') cil managed { - // Method begins at RVA 0x2110 - // Code size 134 (0x86) - .maxstack 2 + // Method begins at RVA 0x20ef + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_maxWinSdkVer + IL_0008: ret + } // end of method LocateSdkTask::set_MaxWinSdkVersion + + // method line 8 + .method public hidebysig specialname + instance default string get_MinNetFxVersion () cil managed + { + // Method begins at RVA 0x20fc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.MemoryStream V_0, - class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_1, - class [mscorlib]System.IO.StreamReader V_2, - string V_3, - string V_4, - class [mscorlib]System.Exception V_5, - class [mscorlib]System.IO.StreamReader V_6, - string V_7) + string V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance class [NAnt.Core]NAnt.Core.Tasks.ExecTask class NAnt.Win32.Functions.CygpathFunctions::GetTask(class [mscorlib]System.IO.Stream) - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0015: ldarg.1 - IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::AddRange(class [NAnt.Core]NAnt.Core.Types.Argument[]) - .try { // 0 - IL_001b: nop - IL_001c: ldloc.1 - IL_001d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_0022: ldloc.0 - IL_0023: ldc.i4.0 - IL_0024: conv.i8 - IL_0025: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_002a: ldloc.0 - IL_002b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_0030: stloc.2 - IL_0031: ldloc.2 - IL_0032: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0037: stloc.3 - IL_0038: ldloc.2 - IL_0039: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_003e: ldloc.3 - IL_003f: stloc.s 4 - IL_0041: leave IL_0083 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0046: stloc.s 5 - IL_0048: nop - IL_0049: ldloc.0 - IL_004a: ldc.i4.0 - IL_004b: conv.i8 - IL_004c: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) - IL_0051: ldloc.0 - IL_0052: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_0057: stloc.s 6 - IL_0059: ldloc.s 6 - IL_005b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_0060: stloc.s 7 - IL_0062: ldloc.s 6 - IL_0064: callvirt instance void class [mscorlib]System.IO.TextReader::Close() - IL_0069: ldloc.s 7 - IL_006b: callvirt instance int32 string::get_Length() - IL_0070: brfalse IL_0080 - - IL_0075: nop - IL_0076: ldloc.s 7 - IL_0078: ldloc.s 5 - IL_007a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) - IL_007f: throw - IL_0080: nop - IL_0081: rethrow - } // end handler 0 - IL_0083: ldloc.s 4 - IL_0085: ret - } // end of method CygpathFunctions::RunCygpathString - - // method line 6 - .method private hidebysig - instance default class [NAnt.Core]NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed - { - // Method begins at RVA 0x21b4 - // Code size 83 (0x53) - .maxstack 3 - .locals init ( - class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_0, - class [mscorlib]System.IO.TextWriter V_1, - class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_2) - IL_0000: nop - IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldarg.0 - IL_0009: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.FunctionSetBase::get_Project() - IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0013: ldloc.0 - IL_0014: ldarg.0 - IL_0015: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.FunctionSetBase::get_Project() - IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_001f: ldloc.0 - IL_0020: ldstr "cygpath" - IL_0025: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::set_FileName(string) - IL_002a: ldloc.0 - IL_002b: ldc.i4 9999 - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_0035: ldloc.0 - IL_0036: ldarg.1 - IL_0037: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream) - IL_003c: stloc.1 - IL_003d: ldloc.0 - IL_003e: ldloc.1 - IL_003f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_OutputWriter(class [mscorlib]System.IO.TextWriter) - IL_0044: ldloc.1 - IL_0045: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_ErrorWriter(class [mscorlib]System.IO.TextWriter) - IL_004a: ldloc.0 - IL_004b: stloc.2 - IL_004c: br IL_0051 - - IL_0051: ldloc.2 - IL_0052: ret - } // end of method CygpathFunctions::GetTask - - } // end of class NAnt.Win32.Functions.CygpathFunctions -} - -.namespace NAnt.Win32.Tasks -{ - .class public auto ansi beforefieldinit TlbExpTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 74 6C 62 65 78 70 00 00 ) // ...tlbexp.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - - .field private class [mscorlib]System.IO.FileInfo _assemblyFile - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private class [mscorlib]System.IO.FileInfo _namesFile - .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder - - // method line 7 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2213 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0006: ret - } // end of method TlbExpTask::.ctor - - // method line 8 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed - { - // Method begins at RVA 0x221c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_assemblyFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbExpTask::get_AssemblyFile + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LocateSdkTask::get_MinNetFxVersion // method line 9 .method public hidebysig specialname - instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_MinNetFxVersion (string 'value') cil managed { - // Method begins at RVA 0x2237 + // Method begins at RVA 0x2117 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_assemblyFile + IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer IL_0008: ret - } // end of method TlbExpTask::set_AssemblyFile + } // end of method LocateSdkTask::set_MinNetFxVersion // method line 10 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + instance default string get_MaxNetFxVersion () cil managed { - // Method begins at RVA 0x2244 + // Method begins at RVA 0x2124 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_outputFile + IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxNetFxVer IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbExpTask::get_OutputFile + } // end of method LocateSdkTask::get_MaxNetFxVersion // method line 11 .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_MaxNetFxVersion (string 'value') cil managed { - // Method begins at RVA 0x225f + // Method begins at RVA 0x213f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_outputFile + IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_maxNetFxVer IL_0008: ret - } // end of method TlbExpTask::set_OutputFile + } // end of method LocateSdkTask::set_MaxNetFxVersion // method line 12 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_NamesFile () cil managed + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x226c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x214c + // Code size 631 (0x277) + .maxstack 6 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [mscorlib]System.Version V_0, + class [mscorlib]System.Version V_1, + class [mscorlib]System.Version V_2, + class [mscorlib]System.Version V_3, + class [mscorlib]System.Version V_4, + class [mscorlib]System.Version V_5, + bool V_6, + class [mscorlib]Microsoft.Win32.RegistryKey V_7, + string[] V_8, + int32 V_9, + string[] V_10, + int32 V_11, + string[] V_12, + string V_13, + string[] V_14, + int32 V_15, + string V_16, + class [System.Xml]System.Xml.XmlDocument V_17, + class [System.Xml]System.Xml.XmlNode V_18, + class [System.Xml]System.Xml.XmlAttribute V_19) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_namesFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbExpTask::get_NamesFile + IL_0002: ldarg.0 + IL_0003: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer + IL_0008: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) + IL_000d: stloc.0 + IL_000e: ldarg.0 + IL_000f: ldarg.0 + IL_0010: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxWinSdkVer + IL_0015: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) + IL_001a: stloc.1 + IL_001b: ldnull + IL_001c: stloc.2 + IL_001d: ldarg.0 + IL_001e: ldarg.0 + IL_001f: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer + IL_0024: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) + IL_0029: stloc.3 + IL_002a: ldarg.0 + IL_002b: ldarg.0 + IL_002c: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxNetFxVer + IL_0031: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) + IL_0036: stloc.s 4 + IL_0038: ldnull + IL_0039: stloc.s 5 + IL_003b: ldc.i4.0 + IL_003c: stloc.s 6 + IL_003e: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine + IL_0043: ldarg.0 + IL_0044: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_registryBase + IL_0049: ldc.i4.0 + IL_004a: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string, bool) + IL_004f: stloc.s 7 + IL_0051: ldloc.s 7 + IL_0053: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() + IL_0058: stloc.s 8 + IL_005a: ldloc.s 8 + IL_005c: call void class [mscorlib]System.Array::Sort (!!0[]) + IL_0061: ldloc.s 8 + IL_0063: call Could not decode method token 0x11 due to Could not find method with signature !!0[] assembly:/usr/lib/mono/4.5/mscorlib.dll type:Array member:Reverse + IL_0068: ldc.i4.0 + IL_0069: stloc.s 9 + IL_006b: br IL_0248 - // method line 13 - .method public hidebysig specialname - instance default void set_NamesFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2287 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_namesFile - IL_0008: ret - } // end of method TlbExpTask::set_NamesFile + IL_0070: nop + IL_0071: ldarg.0 + IL_0072: ldloc.s 8 + IL_0074: ldloc.s 9 + IL_0076: ldelem.ref + IL_0077: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) + IL_007c: stloc.2 + IL_007d: ldloc.1 + IL_007e: ldnull + IL_007f: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_0084: brfalse IL_009d - // method line 14 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed - { - // Method begins at RVA 0x2294 - // Code size 40 (0x28) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_0007: brfalse IL_001e + IL_0089: nop + IL_008a: ldloc.2 + IL_008b: ldloc.1 + IL_008c: call bool class [mscorlib]System.Version::op_GreaterThan(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_0091: brfalse IL_009c - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_0013: callvirt instance string object::ToString() - IL_0018: stloc.0 - IL_0019: br IL_0026 + IL_0096: nop + IL_0097: br IL_0242 - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_009c: nop + IL_009d: ldloc.0 + IL_009e: ldloc.2 + IL_009f: call bool class [mscorlib]System.Version::op_LessThanOrEqual(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_00a4: brfalse IL_0241 - IL_0026: ldloc.0 - IL_0027: ret - } // end of method TlbExpTask::get_ProgramArguments - - // method line 15 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x22c8 - // Code size 210 (0xd2) - .maxstack 4 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance bool class NAnt.Win32.Tasks.TlbExpTask::NeedsCompiling() - IL_0007: brfalse IL_00d1 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0013: stfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_0018: ldarg.0 - IL_0019: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_001e: ldstr "\"" - IL_0023: ldarg.0 - IL_0024: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_AssemblyFile() - IL_0029: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002e: ldstr "\"" - IL_0033: call string string::Concat(string, string, string) - IL_0038: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_003d: pop - IL_003e: ldarg.0 - IL_003f: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_0044: ldstr " /out:\"{0}\"" - IL_0049: ldarg.0 - IL_004a: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() - IL_004f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0054: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0059: pop - IL_005a: ldarg.0 - IL_005b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_0060: ldstr " /nologo" - IL_0065: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_006a: pop - IL_006b: ldarg.0 - IL_006c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0071: brfalse IL_008e - - IL_0076: nop - IL_0077: ldarg.0 - IL_0078: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_007d: ldstr " /verbose" - IL_0082: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0087: pop - IL_0088: nop - IL_0089: br IL_00a1 - - IL_008e: nop - IL_008f: ldarg.0 - IL_0090: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_0095: ldstr " /silent" - IL_009a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_009f: pop - IL_00a0: nop - IL_00a1: ldarg.0 - IL_00a2: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() - IL_00a7: brfalse IL_00ca - - IL_00ac: nop - IL_00ad: ldarg.0 - IL_00ae: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder - IL_00b3: ldstr " /names:\"{0}\"" - IL_00b8: ldarg.0 - IL_00b9: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() - IL_00be: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00c3: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_00c8: pop - IL_00c9: nop - IL_00ca: ldarg.0 - IL_00cb: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_00d0: nop - IL_00d1: ret - } // end of method TlbExpTask::ExecuteTask - - // method line 16 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling () cil managed - { - // Method begins at RVA 0x23a8 - // Code size 219 (0xdb) - .maxstack 7 - .locals init ( - bool V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_003d - - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldc.i4 2000 - IL_0018: ldstr "Output file '{0}' does not exist, recompiling." - IL_001d: ldc.i4.1 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 - IL_0025: ldarg.0 - IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() - IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0030: stelem.ref - IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0036: ldc.i4.1 - IL_0037: stloc.0 - IL_0038: br IL_00d9 + IL_00a9: nop + IL_00aa: ldloc.s 7 + IL_00ac: ldloc.s 8 + IL_00ae: ldloc.s 9 + IL_00b0: ldelem.ref + IL_00b1: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_00b6: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() + IL_00bb: stloc.s 10 + IL_00bd: ldloc.s 10 + IL_00bf: call void class [mscorlib]System.Array::Sort (!!0[]) + IL_00c4: ldloc.s 10 + IL_00c6: call Could not decode method token 0x11 due to Could not find method with signature !!0[] assembly:/usr/lib/mono/4.5/mscorlib.dll type:Array member:Reverse + IL_00cb: ldc.i4.0 + IL_00cc: stloc.s 11 + IL_00ce: br IL_0228 - IL_003d: ldarg.0 - IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_AssemblyFile() - IL_0043: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0048: ldarg.0 - IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() - IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0058: stloc.1 - IL_0059: ldloc.1 - IL_005a: brfalse IL_0081 + IL_00d3: nop + IL_00d4: ldloc.s 10 + IL_00d6: ldloc.s 11 + IL_00d8: ldelem.ref + IL_00d9: ldarg.0 + IL_00da: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_regexNetFxTools + IL_00df: call bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string, string) + IL_00e4: brfalse IL_0221 - IL_005f: nop - IL_0060: ldarg.0 - IL_0061: ldc.i4 2000 - IL_0066: ldstr "'{0}' has been updated, recompiling." - IL_006b: ldc.i4.1 - IL_006c: newarr [mscorlib]System.Object - IL_0071: dup - IL_0072: ldc.i4.0 - IL_0073: ldloc.1 - IL_0074: stelem.ref - IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007a: ldc.i4.1 - IL_007b: stloc.0 - IL_007c: br IL_00d9 + IL_00e9: nop + IL_00ea: ldc.i4.2 + IL_00eb: newarr [mscorlib]System.String + IL_00f0: dup + IL_00f1: ldc.i4.0 + IL_00f2: ldloc.s 7 + IL_00f4: ldloc.s 8 + IL_00f6: ldloc.s 9 + IL_00f8: ldelem.ref + IL_00f9: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_00fe: ldloc.s 10 + IL_0100: ldloc.s 11 + IL_0102: ldelem.ref + IL_0103: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0108: ldstr "InstallationFolder" + IL_010d: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_0112: callvirt instance string object::ToString() + IL_0117: stelem.ref + IL_0118: dup + IL_0119: ldc.i4.1 + IL_011a: ldloc.s 7 + IL_011c: ldloc.s 8 + IL_011e: ldloc.s 9 + IL_0120: ldelem.ref + IL_0121: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0126: ldloc.s 10 + IL_0128: ldloc.s 11 + IL_012a: ldelem.ref + IL_012b: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0130: ldstr "InstallationFolder" + IL_0135: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) + IL_013a: callvirt instance string object::ToString() + IL_013f: ldstr "bin" + IL_0144: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0149: stelem.ref + IL_014a: stloc.s 12 + IL_014c: nop + IL_014d: ldloc.s 12 + IL_014f: stloc.s 14 + IL_0151: ldc.i4.0 + IL_0152: stloc.s 15 + IL_0154: br IL_0215 - IL_0081: ldarg.0 - IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() - IL_0087: brfalse IL_00d2 + IL_0159: ldloc.s 14 + IL_015b: ldloc.s 15 + IL_015d: ldelem.ref + IL_015e: stloc.s 13 + IL_0160: nop + IL_0161: ldloc.s 13 + IL_0163: ldstr "gacutil.exe.config" + IL_0168: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_016d: stloc.s 16 + IL_016f: ldloc.s 16 + IL_0171: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0176: brfalse IL_020e - IL_008c: nop - IL_008d: ldarg.0 - IL_008e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() - IL_0093: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0098: ldarg.0 - IL_0099: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() - IL_009e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00a3: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_00a8: stloc.1 - IL_00a9: ldloc.1 - IL_00aa: brfalse IL_00d1 + IL_017b: nop + IL_017c: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0181: stloc.s 17 + IL_0183: ldloc.s 17 + IL_0185: ldloc.s 16 + IL_0187: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) + IL_018c: ldloc.s 17 + IL_018e: ldstr "/configuration/startup/requiredRuntime" + IL_0193: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0198: stloc.s 18 + IL_019a: ldloc.s 18 + IL_019c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_01a1: ldstr "version" + IL_01a6: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_01ab: stloc.s 19 + IL_01ad: ldarg.0 + IL_01ae: ldloc.s 19 + IL_01b0: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_01b5: callvirt instance string object::ToString() + IL_01ba: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) + IL_01bf: stloc.s 5 + IL_01c1: ldloc.s 4 + IL_01c3: ldnull + IL_01c4: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_01c9: brfalse IL_01e4 - IL_00af: nop - IL_00b0: ldarg.0 - IL_00b1: ldc.i4 2000 - IL_00b6: ldstr "'{0}' has been updated, recompiling." - IL_00bb: ldc.i4.1 - IL_00bc: newarr [mscorlib]System.Object - IL_00c1: dup - IL_00c2: ldc.i4.0 - IL_00c3: ldloc.1 - IL_00c4: stelem.ref - IL_00c5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00ca: ldc.i4.1 - IL_00cb: stloc.0 - IL_00cc: br IL_00d9 + IL_01ce: nop + IL_01cf: ldloc.s 5 + IL_01d1: ldloc.s 4 + IL_01d3: call bool class [mscorlib]System.Version::op_GreaterThan(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_01d8: brfalse IL_01e3 - IL_00d1: nop - IL_00d2: ldc.i4.0 - IL_00d3: stloc.0 - IL_00d4: br IL_00d9 + IL_01dd: nop + IL_01de: br IL_020f - IL_00d9: ldloc.0 - IL_00da: ret - } // end of method TlbExpTask::NeedsCompiling + IL_01e3: nop + IL_01e4: ldloc.3 + IL_01e5: ldloc.s 5 + IL_01e7: call bool class [mscorlib]System.Version::op_LessThanOrEqual(class [mscorlib]System.Version, class [mscorlib]System.Version) + IL_01ec: brfalse IL_020d - .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + IL_01f1: nop + IL_01f2: ldarg.0 + IL_01f3: callvirt instance class [NAnt.Core]NAnt.Core.PropertyDictionary class [NAnt.Core]NAnt.Core.Element::get_Properties() + IL_01f8: ldarg.0 + IL_01f9: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_propName + IL_01fe: ldloc.s 13 + IL_0200: callvirt instance void class [NAnt.Core]NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0205: ldc.i4.1 + IL_0206: stloc.s 6 + IL_0208: br IL_0220 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::get_AssemblyFile () - .set instance default void NAnt.Win32.Tasks.TlbExpTask::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_020d: nop + IL_020e: nop + IL_020f: ldloc.s 15 + IL_0211: ldc.i4.1 + IL_0212: add + IL_0213: stloc.s 15 + IL_0215: ldloc.s 15 + IL_0217: ldloc.s 14 + IL_0219: ldlen + IL_021a: conv.i4 + IL_021b: blt IL_0159 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::get_OutputFile () - .set instance default void NAnt.Win32.Tasks.TlbExpTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo NamesFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 6E 61 6D 65 73 00 00 ) // ...names.. + IL_0220: nop + IL_0221: nop + IL_0222: ldloc.s 11 + IL_0224: ldc.i4.1 + IL_0225: add + IL_0226: stloc.s 11 + IL_0228: ldloc.s 11 + IL_022a: ldloc.s 10 + IL_022c: ldlen + IL_022d: conv.i4 + IL_022e: blt IL_00d3 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::get_NamesFile () - .set instance default void NAnt.Win32.Tasks.TlbExpTask::set_NamesFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string ProgramArguments () - { - .get instance default string NAnt.Win32.Tasks.TlbExpTask::get_ProgramArguments () - } - } // end of class NAnt.Win32.Tasks.TlbExpTask -} + IL_0233: ldloc.s 6 + IL_0235: brfalse IL_0240 -.namespace NAnt.Win32.Tasks -{ - .class public auto ansi beforefieldinit TlbImpTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 74 6C 62 69 6D 70 00 00 ) // ...tlbimp.. + IL_023a: nop + IL_023b: br IL_0253 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ + IL_0240: nop + IL_0241: nop + IL_0242: ldloc.s 9 + IL_0244: ldc.i4.1 + IL_0245: add + IL_0246: stloc.s 9 + IL_0248: ldloc.s 9 + IL_024a: ldloc.s 8 + IL_024c: ldlen + IL_024d: conv.i4 + IL_024e: blt IL_0070 - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private string _namespace - .field private string _asmVersion - .field private bool _delaySign - .field private bool _primary - .field private class [mscorlib]System.IO.FileInfo _publicKeyFile - .field private class [mscorlib]System.IO.FileInfo _keyFile - .field private string _keyContainer - .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _references - .field private bool _strictref - .field private bool _sysarray - .field private string _transform - .field private bool _unsafe - .field private class [mscorlib]System.IO.FileInfo _typelib - .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder - .field private bool _supportsTransform + IL_0253: ldloc.s 6 + IL_0255: brtrue IL_0276 - // method line 17 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x248f - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0006: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::_references - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.Win32.Tasks.TlbImpTask::_supportsTransform - IL_0012: ldarg.0 - IL_0013: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0018: ret - } // end of method TlbImpTask::.ctor + IL_025a: nop + IL_025b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0260: ldstr "System does not have minimum specified Windows SDK {0}!" + IL_0265: ldarg.0 + IL_0266: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer + IL_026b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0270: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) + IL_0275: throw + IL_0276: ret + } // end of method LocateSdkTask::ExecuteTask - // method line 18 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + // method line 13 + .method private hidebysig + instance default class [mscorlib]System.Version StringToVersion (string sdkVersion) cil managed { - // Method begins at RVA 0x24ac - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x23d0 + // Code size 163 (0xa3) + .maxstack 5 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0, + int32 V_1, + class [mscorlib]System.Version V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_0099 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbImpTask::get_OutputFile + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: callvirt instance string string::Trim() + IL_0013: callvirt instance string string::ToUpper() + IL_0018: starg.s 1 + IL_001a: ldarg.1 + IL_001b: ldstr "V" + IL_0020: callvirt instance bool string::StartsWith(string) + IL_0025: brfalse IL_0035 - // method line 19 - .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x24c7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_outputFile - IL_0008: ret - } // end of method TlbImpTask::set_OutputFile + IL_002a: nop + IL_002b: ldarg.1 + IL_002c: ldc.i4.1 + IL_002d: callvirt instance string string::Substring(int32) + IL_0032: starg.s 1 + IL_0034: nop + IL_0035: ldarg.1 + IL_0036: ldarg.1 + IL_0037: callvirt instance int32 string::get_Length() + IL_003c: ldc.i4.1 + IL_003d: sub + IL_003e: call bool char::IsNumber(string, int32) + IL_0043: brtrue IL_008c + + IL_0048: nop + IL_0049: ldarg.1 + IL_004a: ldc.i4.0 + IL_004b: ldarg.1 + IL_004c: callvirt instance int32 string::get_Length() + IL_0051: ldc.i4.1 + IL_0052: sub + IL_0053: callvirt instance string string::Substring(int32, int32) + IL_0058: ldstr "." + IL_005d: ldarg.1 + IL_005e: callvirt instance char[] string::ToCharArray() + IL_0063: ldarg.1 + IL_0064: callvirt instance int32 string::get_Length() + IL_0069: ldc.i4.1 + IL_006a: sub + IL_006b: ldelem.u2 + IL_006c: stloc.1 + IL_006d: ldloca.s 1 + IL_006f: constrained. [mscorlib]System.Int32 + IL_0075: callvirt instance string object::ToString() + IL_007a: call string string::Concat(string, string, string) + IL_007f: stloc.0 + IL_0080: ldloc.0 + IL_0081: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0086: stloc.2 + IL_0087: br IL_00a1 + + IL_008c: nop + IL_008d: ldarg.1 + IL_008e: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0093: stloc.2 + IL_0094: br IL_00a1 + + IL_0099: nop + IL_009a: ldnull + IL_009b: stloc.2 + IL_009c: br IL_00a1 - // method line 20 - .method public hidebysig specialname - instance default string get_Namespace () cil managed - { - // Method begins at RVA 0x24d4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_namespace - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00a1: ldloc.2 + IL_00a2: ret + } // end of method LocateSdkTask::StringToVersion - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbImpTask::get_Namespace + .property instance string PropertyName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - // method line 21 - .method public hidebysig specialname - instance default void set_Namespace (string 'value') cil managed - { - // Method begins at RVA 0x24ef - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_namespace - IL_000d: ret - } // end of method TlbImpTask::set_Namespace + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - // method line 22 - .method public hidebysig specialname - instance default string get_AsmVersion () cil managed - { - // Method begins at RVA 0x2500 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_asmVersion - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_PropertyName () + .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_PropertyName (string 'value') + } + .property instance string MinWinSdkVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6D 69 6E 77 69 6E 73 64 6B 76 65 72 00 // ...minwinsdkver. + 00 ) // . - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbImpTask::get_AsmVersion + .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MinWinSdkVersion () + .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MinWinSdkVersion (string 'value') + } + .property instance string MaxWinSdkVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6D 61 78 77 69 6E 73 64 6B 76 65 72 00 // ...maxwinsdkver. + 00 ) // . - // method line 23 - .method public hidebysig specialname - instance default void set_AsmVersion (string 'value') cil managed - { - // Method begins at RVA 0x251b - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_asmVersion - IL_000d: ret - } // end of method TlbImpTask::set_AsmVersion + .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MaxWinSdkVersion () + .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MaxWinSdkVersion (string 'value') + } + .property instance string MinNetFxVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 6D 69 6E 6E 65 74 66 78 76 65 72 00 00 ) // ...minnetfxver.. - // method line 24 - .method public hidebysig specialname - instance default bool get_DelaySign () cil managed - { - // Method begins at RVA 0x252c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_delaySign - IL_0007: stloc.0 - IL_0008: br IL_000d + .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MinNetFxVersion () + .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MinNetFxVersion (string 'value') + } + .property instance string MaxNetFxVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0B 6D 61 78 6E 65 74 66 78 76 65 72 00 00 ) // ...maxnetfxver.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbImpTask::get_DelaySign + .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MaxNetFxVersion () + .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MaxNetFxVersion (string 'value') + } + } // end of class NAnt.Win32.Tasks.LocateSdkTask +} - // method line 25 - .method public hidebysig specialname - instance default void set_DelaySign (bool 'value') cil managed - { - // Method begins at RVA 0x2547 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_delaySign - IL_0008: ret - } // end of method TlbImpTask::set_DelaySign +.namespace NAnt.Win32.Tasks +{ + .class public auto ansi beforefieldinit AxImpTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 61 78 69 6D 70 00 00 ) // ...aximp.. - // method line 26 - .method public hidebysig specialname - instance default bool get_Primary () cil managed - { - // Method begins at RVA 0x2554 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_primary - IL_0007: stloc.0 - IL_0008: br IL_000d + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbImpTask::get_Primary + .field private class [mscorlib]System.IO.FileInfo _ocxFile + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private class [mscorlib]System.IO.FileInfo _publicKeyFile + .field private class [mscorlib]System.IO.FileInfo _keyFile + .field private class [mscorlib]System.IO.FileInfo _rcwFile + .field private string _keyContainer + .field private bool _delaySign + .field private bool _generateSource + .field private bool _supportsRcw - // method line 27 - .method public hidebysig specialname - instance default void set_Primary (bool 'value') cil managed + // method line 14 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x256f - // Code size 9 (0x9) + // Method begins at RVA 0x247f + // Code size 14 (0xe) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_primary - IL_0008: ret - } // end of method TlbImpTask::set_Primary + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Win32.Tasks.AxImpTask::_supportsRcw + IL_0007: ldarg.0 + IL_0008: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_000d: ret + } // end of method AxImpTask::.ctor - // method line 28 + // method line 15 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_PublicKeyFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_OcxFile () cil managed { - // Method begins at RVA 0x257c + // Method begins at RVA 0x2490 // Code size 15 (0xf) .maxstack 1 .locals init ( class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_publicKeyFile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_ocxFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_PublicKeyFile + } // end of method AxImpTask::get_OcxFile - // method line 29 + // method line 16 .method public hidebysig specialname - instance default void set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_OcxFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2597 + // Method begins at RVA 0x24ab // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_publicKeyFile + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_ocxFile IL_0008: ret - } // end of method TlbImpTask::set_PublicKeyFile + } // end of method AxImpTask::set_OcxFile - // method line 30 + // method line 17 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x25a4 + // Method begins at RVA 0x24b8 // Code size 15 (0xf) .maxstack 1 .locals init ( class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_keyFile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_outputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_KeyFile + } // end of method AxImpTask::get_OutputFile - // method line 31 + // method line 18 .method public hidebysig specialname - instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x25bf + // Method begins at RVA 0x24d3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_keyFile + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_outputFile IL_0008: ret - } // end of method TlbImpTask::set_KeyFile - - // method line 32 - .method public hidebysig specialname - instance default string get_KeyContainer () cil managed - { - // Method begins at RVA 0x25cc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_keyContainer - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TlbImpTask::get_KeyContainer - - // method line 33 - .method public hidebysig specialname - instance default void set_KeyContainer (string 'value') cil managed - { - // Method begins at RVA 0x25e7 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_keyContainer - IL_000d: ret - } // end of method TlbImpTask::set_KeyContainer + } // end of method AxImpTask::set_OutputFile - // method line 34 + // method line 19 .method public hidebysig specialname - instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed + instance default class [mscorlib]System.IO.FileInfo get_PublicKeyFile () cil managed { - // Method begins at RVA 0x25f8 + // Method begins at RVA 0x24e0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::_references + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_publicKeyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_References + } // end of method AxImpTask::get_PublicKeyFile - // method line 35 + // method line 20 .method public hidebysig specialname - instance default void set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + instance default void set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2613 + // Method begins at RVA 0x24fb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::_references + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_publicKeyFile IL_0008: ret - } // end of method TlbImpTask::set_References + } // end of method AxImpTask::set_PublicKeyFile - // method line 36 + // method line 21 .method public hidebysig specialname - instance default bool get_StrictRef () cil managed + instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed { - // Method begins at RVA 0x2620 + // Method begins at RVA 0x2508 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_strictref + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_keyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_StrictRef + } // end of method AxImpTask::get_KeyFile - // method line 37 + // method line 22 .method public hidebysig specialname - instance default void set_StrictRef (bool 'value') cil managed + instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x263b + // Method begins at RVA 0x2523 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_strictref + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_keyFile IL_0008: ret - } // end of method TlbImpTask::set_StrictRef + } // end of method AxImpTask::set_KeyFile - // method line 38 + // method line 23 .method public hidebysig specialname - instance default bool get_SysArray () cil managed + instance default string get_KeyContainer () cil managed { - // Method begins at RVA 0x2648 + // Method begins at RVA 0x2530 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_sysarray + IL_0002: ldfld string NAnt.Win32.Tasks.AxImpTask::_keyContainer IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_SysArray + } // end of method AxImpTask::get_KeyContainer - // method line 39 + // method line 24 .method public hidebysig specialname - instance default void set_SysArray (bool 'value') cil managed + instance default void set_KeyContainer (string 'value') cil managed { - // Method begins at RVA 0x2663 - // Code size 9 (0x9) + // Method begins at RVA 0x254b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_sysarray - IL_0008: ret - } // end of method TlbImpTask::set_SysArray + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Win32.Tasks.AxImpTask::_keyContainer + IL_000d: ret + } // end of method AxImpTask::set_KeyContainer - // method line 40 + // method line 25 .method public hidebysig specialname - instance default string get_Transform () cil managed + instance default bool get_DelaySign () cil managed { - // Method begins at RVA 0x2670 + // Method begins at RVA 0x255c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_transform + IL_0002: ldfld bool NAnt.Win32.Tasks.AxImpTask::_delaySign IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_Transform + } // end of method AxImpTask::get_DelaySign - // method line 41 + // method line 26 .method public hidebysig specialname - instance default void set_Transform (string 'value') cil managed + instance default void set_DelaySign (bool 'value') cil managed { - // Method begins at RVA 0x268b - // Code size 14 (0xe) + // Method begins at RVA 0x2577 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_transform - IL_000d: ret - } // end of method TlbImpTask::set_Transform + IL_0003: stfld bool NAnt.Win32.Tasks.AxImpTask::_delaySign + IL_0008: ret + } // end of method AxImpTask::set_DelaySign - // method line 42 + // method line 27 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_TypeLib () cil managed + instance default bool get_GenerateSource () cil managed { - // Method begins at RVA 0x269c + // Method begins at RVA 0x2584 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_typelib + IL_0002: ldfld bool NAnt.Win32.Tasks.AxImpTask::_generateSource IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_TypeLib + } // end of method AxImpTask::get_GenerateSource - // method line 43 + // method line 28 .method public hidebysig specialname - instance default void set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_GenerateSource (bool 'value') cil managed { - // Method begins at RVA 0x26b7 + // Method begins at RVA 0x259f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_typelib + IL_0003: stfld bool NAnt.Win32.Tasks.AxImpTask::_generateSource IL_0008: ret - } // end of method TlbImpTask::set_TypeLib + } // end of method AxImpTask::set_GenerateSource - // method line 44 + // method line 29 .method public hidebysig specialname - instance default bool get_Unsafe () cil managed + instance default class [mscorlib]System.IO.FileInfo get_RcwFile () cil managed { - // Method begins at RVA 0x26c4 + // Method begins at RVA 0x25ac // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_unsafe + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_rcwFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_Unsafe + } // end of method AxImpTask::get_RcwFile - // method line 45 + // method line 30 .method public hidebysig specialname - instance default void set_Unsafe (bool 'value') cil managed + instance default void set_RcwFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x26df + // Method begins at RVA 0x25c7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_unsafe + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_rcwFile IL_0008: ret - } // end of method TlbImpTask::set_Unsafe + } // end of method AxImpTask::set_RcwFile - // method line 46 + // method line 31 .method public hidebysig specialname - instance default bool get_SupportsTransform () cil managed + instance default bool get_SupportsRcw () cil managed { - // Method begins at RVA 0x26ec + // Method begins at RVA 0x25d4 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_supportsTransform + IL_0002: ldfld bool NAnt.Win32.Tasks.AxImpTask::_supportsRcw IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TlbImpTask::get_SupportsTransform + } // end of method AxImpTask::get_SupportsRcw - // method line 47 + // method line 32 .method public hidebysig specialname - instance default void set_SupportsTransform (bool 'value') cil managed + instance default void set_SupportsRcw (bool 'value') cil managed { - // Method begins at RVA 0x2707 + // Method begins at RVA 0x25ef // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_supportsTransform + IL_0003: stfld bool NAnt.Win32.Tasks.AxImpTask::_supportsRcw IL_0008: ret - } // end of method TlbImpTask::set_SupportsTransform + } // end of method AxImpTask::set_SupportsRcw - // method line 48 + // method line 33 .method public virtual hidebysig specialname instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x2714 - // Code size 40 (0x28) + // Method begins at RVA 0x25fc + // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0007: brfalse IL_001e - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0013: callvirt instance string object::ToString() - IL_0018: stloc.0 - IL_0019: br IL_0026 - - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_0001: ldstr "" + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0026: ldloc.0 - IL_0027: ret - } // end of method TlbImpTask::get_ProgramArguments + IL_000c: ldloc.0 + IL_000d: ret + } // end of method AxImpTask::get_ProgramArguments - // method line 49 + // method line 34 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x2748 - // Code size 689 (0x2b1) - .maxstack 4 + // Method begins at RVA 0x2618 + // Code size 576 (0x240) + .maxstack 7 .locals init ( - string V_0, - class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + class [mscorlib]System.Exception V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() - IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_000c: brtrue IL_002e + IL_0002: ldc.i4 3000 + IL_0007: ldstr "Generating Windows Forms Control wrapping '{0}'." + IL_000c: ldc.i4.1 + IL_000d: newarr [mscorlib]System.Object + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldarg.0 + IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() + IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001f: stelem.ref + IL_0020: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0025: ldarg.0 + IL_0026: callvirt instance bool class NAnt.Win32.Tasks.AxImpTask::NeedsCompiling() + IL_002b: brtrue IL_0036 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() - IL_0018: ldarg.0 - IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() - IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_002d: nop - IL_002e: ldarg.0 - IL_002f: callvirt instance bool class NAnt.Win32.Tasks.TlbImpTask::NeedsCompiling() - IL_0034: brfalse IL_02b0 + IL_0030: nop + IL_0031: br IL_023f - IL_0039: nop - IL_003a: ldarg.0 - IL_003b: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0040: stfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0045: ldarg.0 - IL_0046: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_004b: ldstr "\"" - IL_0050: ldarg.0 - IL_0051: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_TypeLib() - IL_0056: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_005b: ldstr "\"" - IL_0060: call string string::Concat(string, string, string) - IL_0065: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_006a: pop - IL_006b: ldarg.0 - IL_006c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0071: ldstr " /out:\"{0}\"" - IL_0076: ldarg.0 - IL_0077: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() - IL_007c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0081: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0086: pop - IL_0087: ldarg.0 - IL_0088: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_008d: ldstr " /nologo" - IL_0092: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0097: pop - IL_0098: ldarg.0 - IL_0099: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_AsmVersion() - IL_009e: brfalse IL_00bc + IL_0036: ldarg.0 + IL_0037: call instance bool class NAnt.Win32.Tasks.AxImpTask::get_DelaySign() + IL_003c: brfalse IL_0059 + + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0048: ldstr "/delaysign" + IL_004d: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0052: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0057: pop + IL_0058: nop + IL_0059: ldarg.0 + IL_005a: call instance bool class NAnt.Win32.Tasks.AxImpTask::get_GenerateSource() + IL_005f: brfalse IL_007c + + IL_0064: nop + IL_0065: ldarg.0 + IL_0066: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_006b: ldstr "/source" + IL_0070: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0075: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_007a: pop + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0082: brfalse IL_00a4 + + IL_0087: nop + IL_0088: ldarg.0 + IL_0089: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_008e: ldstr "/verbose" + IL_0093: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0098: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_009d: pop + IL_009e: nop + IL_009f: br IL_00bc - IL_00a3: nop - IL_00a4: ldarg.0 - IL_00a5: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_00aa: ldstr " /asmversion:\"{0}\"" - IL_00af: ldarg.0 - IL_00b0: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_AsmVersion() - IL_00b5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_00a4: nop + IL_00a5: ldarg.0 + IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_00ab: ldstr "/silent" + IL_00b0: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_00b5: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) IL_00ba: pop IL_00bb: nop IL_00bc: ldarg.0 - IL_00bd: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Namespace() - IL_00c2: brfalse IL_00e0 + IL_00bd: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() + IL_00c2: brfalse IL_00f4 IL_00c7: nop IL_00c8: ldarg.0 - IL_00c9: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_00ce: ldstr " /namespace:\"{0}\"" - IL_00d3: ldarg.0 - IL_00d4: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Namespace() - IL_00d9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_00de: pop - IL_00df: nop - IL_00e0: ldarg.0 - IL_00e1: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_Primary() - IL_00e6: brfalse IL_00fe - - IL_00eb: nop - IL_00ec: ldarg.0 - IL_00ed: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_00f2: ldstr " /primary" - IL_00f7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00fc: pop - IL_00fd: nop - IL_00fe: ldarg.0 - IL_00ff: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_Unsafe() - IL_0104: brfalse IL_011c - - IL_0109: nop - IL_010a: ldarg.0 - IL_010b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0110: ldstr " /unsafe" - IL_0115: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_011a: pop - IL_011b: nop - IL_011c: ldarg.0 - IL_011d: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_DelaySign() - IL_0122: brfalse IL_013a + IL_00c9: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_00ce: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00d3: ldstr "/out:\"{0}\"" + IL_00d8: ldarg.0 + IL_00d9: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() + IL_00de: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00e3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00e8: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_00ed: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_00f2: pop + IL_00f3: nop + IL_00f4: ldarg.0 + IL_00f5: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() + IL_00fa: brfalse IL_012c - IL_0127: nop - IL_0128: ldarg.0 - IL_0129: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_012e: ldstr " /delaysign" - IL_0133: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0138: pop - IL_0139: nop - IL_013a: ldarg.0 - IL_013b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_PublicKeyFile() - IL_0140: brfalse IL_0163 + IL_00ff: nop + IL_0100: ldarg.0 + IL_0101: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0106: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_010b: ldstr "/publickey:\"{0}\"" + IL_0110: ldarg.0 + IL_0111: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() + IL_0116: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_011b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0120: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0125: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_012a: pop + IL_012b: nop + IL_012c: ldarg.0 + IL_012d: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() + IL_0132: brfalse IL_0164 - IL_0145: nop - IL_0146: ldarg.0 - IL_0147: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_014c: ldstr " /publickey:\"{0}\"" - IL_0151: ldarg.0 - IL_0152: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_PublicKeyFile() - IL_0157: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_015c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0161: pop - IL_0162: nop - IL_0163: ldarg.0 - IL_0164: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_KeyFile() - IL_0169: brfalse IL_018c + IL_0137: nop + IL_0138: ldarg.0 + IL_0139: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_013e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0143: ldstr "/keyfile:\"{0}\"" + IL_0148: ldarg.0 + IL_0149: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() + IL_014e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0153: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0158: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_015d: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0162: pop + IL_0163: nop + IL_0164: ldarg.0 + IL_0165: call instance string class NAnt.Win32.Tasks.AxImpTask::get_KeyContainer() + IL_016a: brfalse IL_0197 - IL_016e: nop - IL_016f: ldarg.0 - IL_0170: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0175: ldstr " /keyfile:\"{0}\"" - IL_017a: ldarg.0 - IL_017b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_KeyFile() - IL_0180: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0185: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_018a: pop - IL_018b: nop - IL_018c: ldarg.0 - IL_018d: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_KeyContainer() - IL_0192: brfalse IL_01b0 + IL_016f: nop + IL_0170: ldarg.0 + IL_0171: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0176: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_017b: ldstr "/keycontainer:\"{0}\"" + IL_0180: ldarg.0 + IL_0181: call instance string class NAnt.Win32.Tasks.AxImpTask::get_KeyContainer() + IL_0186: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_018b: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_0190: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0195: pop + IL_0196: nop + IL_0197: ldarg.0 + IL_0198: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() + IL_019d: brfalse IL_01dc - IL_0197: nop - IL_0198: ldarg.0 - IL_0199: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_019e: ldstr " /keycontainer:\"{0}\"" + IL_01a2: nop IL_01a3: ldarg.0 - IL_01a4: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_KeyContainer() - IL_01a9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_01ae: pop - IL_01af: nop - IL_01b0: ldarg.0 - IL_01b1: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_StrictRef() - IL_01b6: brfalse IL_01ce - - IL_01bb: nop - IL_01bc: ldarg.0 - IL_01bd: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_01c2: ldstr " /strictref" - IL_01c7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01cc: pop - IL_01cd: nop - IL_01ce: ldarg.0 - IL_01cf: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_SysArray() - IL_01d4: brfalse IL_01ec - - IL_01d9: nop - IL_01da: ldarg.0 - IL_01db: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_01e0: ldstr " /sysarray" - IL_01e5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_01ea: pop - IL_01eb: nop - IL_01ec: ldarg.0 - IL_01ed: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Transform() - IL_01f2: brfalse IL_021d + IL_01a4: call instance bool class NAnt.Win32.Tasks.AxImpTask::get_SupportsRcw() + IL_01a9: brfalse IL_01db - IL_01f7: nop + IL_01ae: nop + IL_01af: ldarg.0 + IL_01b0: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_01b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01ba: ldstr "/rcw:\"{0}\"" + IL_01bf: ldarg.0 + IL_01c0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() + IL_01c5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01ca: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01cf: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_01d4: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_01d9: pop + IL_01da: nop + IL_01db: nop + IL_01dc: ldarg.0 + IL_01dd: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_01e2: ldstr "/nologo" + IL_01e7: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_01ec: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_01f1: pop + IL_01f2: ldarg.0 + IL_01f3: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() IL_01f8: ldarg.0 - IL_01f9: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_SupportsTransform() - IL_01fe: brfalse IL_021c - - IL_0203: nop - IL_0204: ldarg.0 - IL_0205: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_020a: ldstr " /transform:\"{0}\"" - IL_020f: ldarg.0 - IL_0210: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Transform() - IL_0215: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_021a: pop - IL_021b: nop - IL_021c: nop - IL_021d: ldarg.0 - IL_021e: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0223: brfalse IL_0240 - - IL_0228: nop - IL_0229: ldarg.0 - IL_022a: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_022f: ldstr " /verbose" - IL_0234: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0239: pop - IL_023a: nop - IL_023b: br IL_0253 - - IL_0240: nop - IL_0241: ldarg.0 - IL_0242: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0247: ldstr " /silent" - IL_024c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0251: pop - IL_0252: nop - IL_0253: nop - IL_0254: ldarg.0 - IL_0255: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() - IL_025a: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_025f: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0264: stloc.1 + IL_01f9: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() + IL_01fe: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(class [mscorlib]System.IO.FileInfo) + IL_0203: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) + IL_0208: pop .try { // 0 - IL_0265: br IL_0285 - - IL_026a: ldloc.1 - IL_026b: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0270: stloc.0 - IL_0271: nop - IL_0272: ldarg.0 - IL_0273: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder - IL_0278: ldstr " /reference:\"{0}\"" - IL_027d: ldloc.0 - IL_027e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0283: pop - IL_0284: nop - IL_0285: ldloc.1 - IL_0286: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_028b: brtrue IL_026a - - IL_0290: leave IL_02a9 + IL_0209: nop + IL_020a: ldarg.0 + IL_020b: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_0210: nop + IL_0211: leave IL_023f } // end .try 0 - finally { // 0 - IL_0295: ldloc.1 - IL_0296: isinst [mscorlib]System.IDisposable - IL_029b: dup - IL_029c: stloc.2 - IL_029d: brfalse IL_02a8 - - IL_02a2: ldloc.2 - IL_02a3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02a8: endfinally + catch class [mscorlib]System.Exception { // 0 + IL_0216: stloc.0 + IL_0217: nop + IL_0218: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_021d: ldstr "Error importing ActiveX control from '{0}'." + IL_0222: ldarg.0 + IL_0223: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() + IL_0228: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_022d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0232: ldarg.0 + IL_0233: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() + IL_0238: ldloc.0 + IL_0239: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) + IL_023e: throw } // end handler 0 - IL_02a9: ldarg.0 - IL_02aa: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_02af: nop - IL_02b0: ret - } // end of method TlbImpTask::ExecuteTask - - // method line 50 - .method public static hidebysig - default string ExtractTypeLibPath (string path) cil managed - { - // Method begins at RVA 0x2a18 - // Code size 60 (0x3c) - .maxstack 4 - .locals init ( - class [System]System.Text.RegularExpressions.Regex V_0, - string V_1) - IL_0000: nop - IL_0001: ldstr "^.*\\\\\\d+$" - IL_0006: ldc.i4.s 0x23 - IL_0008: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldarg.0 - IL_0010: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) - IL_0015: brfalse IL_0033 - - IL_001a: nop - IL_001b: ldarg.0 - IL_001c: ldc.i4.0 - IL_001d: ldarg.0 - IL_001e: ldstr "\\" - IL_0023: callvirt instance int32 string::LastIndexOf(string) - IL_0028: callvirt instance string string::Substring(int32, int32) - IL_002d: stloc.1 - IL_002e: br IL_003a - - IL_0033: ldarg.0 - IL_0034: stloc.1 - IL_0035: br IL_003a - - IL_003a: ldloc.1 - IL_003b: ret - } // end of method TlbImpTask::ExtractTypeLibPath + IL_023f: ret + } // end of method AxImpTask::ExecuteTask - // method line 51 + // method line 35 .method family virtual hidebysig newslot instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x2a60 - // Code size 213 (0xd5) + // Method begins at RVA 0x2874 + // Code size 381 (0x17d) .maxstack 7 .locals init ( bool V_0, - string V_1, - string V_2) + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() IL_000c: brtrue IL_003d @@ -1581,131 +1269,173 @@ IL_0023: dup IL_0024: ldc.i4.0 IL_0025: ldarg.0 - IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() + IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() IL_0030: stelem.ref IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) IL_0036: ldc.i4.1 IL_0037: stloc.0 - IL_0038: br IL_00d3 + IL_0038: br IL_017b IL_003d: ldarg.0 - IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_TypeLib() + IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() IL_0043: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0048: call string class NAnt.Win32.Tasks.TlbImpTask::ExtractTypeLibPath(string) - IL_004d: stloc.1 - IL_004e: ldloc.1 - IL_004f: ldarg.0 - IL_0050: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() - IL_0055: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_005a: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_005f: stloc.2 - IL_0060: ldloc.2 - IL_0061: brfalse IL_0088 + IL_0048: ldarg.0 + IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() + IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0058: stloc.1 + IL_0059: ldloc.1 + IL_005a: brfalse IL_0081 - IL_0066: nop - IL_0067: ldarg.0 - IL_0068: ldc.i4 2000 - IL_006d: ldstr "'{0}' has been updated, recompiling." - IL_0072: ldc.i4.1 - IL_0073: newarr [mscorlib]System.Object - IL_0078: dup - IL_0079: ldc.i4.0 - IL_007a: ldloc.2 - IL_007b: stelem.ref - IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0081: ldc.i4.1 - IL_0082: stloc.0 - IL_0083: br IL_00d3 + IL_005f: nop + IL_0060: ldarg.0 + IL_0061: ldc.i4 2000 + IL_0066: ldstr "'{0}' has been updated, recompiling." + IL_006b: ldc.i4.1 + IL_006c: newarr [mscorlib]System.Object + IL_0071: dup + IL_0072: ldc.i4.0 + IL_0073: ldloc.1 + IL_0074: stelem.ref + IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007a: ldc.i4.1 + IL_007b: stloc.0 + IL_007c: br IL_017b - IL_0088: ldarg.0 - IL_0089: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() - IL_008e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0093: ldarg.0 - IL_0094: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() - IL_0099: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_009e: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) - IL_00a3: stloc.2 - IL_00a4: ldloc.2 - IL_00a5: brfalse IL_00cc + IL_0081: ldarg.0 + IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() + IL_0087: brfalse IL_00d2 - IL_00aa: nop - IL_00ab: ldarg.0 - IL_00ac: ldc.i4 2000 - IL_00b1: ldstr "'{0}' has been updated, recompiling." - IL_00b6: ldc.i4.1 - IL_00b7: newarr [mscorlib]System.Object - IL_00bc: dup - IL_00bd: ldc.i4.0 - IL_00be: ldloc.2 - IL_00bf: stelem.ref - IL_00c0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00c5: ldc.i4.1 - IL_00c6: stloc.0 - IL_00c7: br IL_00d3 + IL_008c: nop + IL_008d: ldarg.0 + IL_008e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() + IL_0093: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0098: ldarg.0 + IL_0099: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() + IL_009e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00a3: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_00a8: stloc.1 + IL_00a9: ldloc.1 + IL_00aa: brfalse IL_00d1 - IL_00cc: ldc.i4.0 - IL_00cd: stloc.0 - IL_00ce: br IL_00d3 + IL_00af: nop + IL_00b0: ldarg.0 + IL_00b1: ldc.i4 2000 + IL_00b6: ldstr "'{0}' has been updated, recompiling." + IL_00bb: ldc.i4.1 + IL_00bc: newarr [mscorlib]System.Object + IL_00c1: dup + IL_00c2: ldc.i4.0 + IL_00c3: ldloc.1 + IL_00c4: stelem.ref + IL_00c5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00ca: ldc.i4.1 + IL_00cb: stloc.0 + IL_00cc: br IL_017b - IL_00d3: ldloc.0 - IL_00d4: ret - } // end of method TlbImpTask::NeedsCompiling + IL_00d1: nop + IL_00d2: ldarg.0 + IL_00d3: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() + IL_00d8: brfalse IL_0123 + + IL_00dd: nop + IL_00de: ldarg.0 + IL_00df: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() + IL_00e4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00e9: ldarg.0 + IL_00ea: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() + IL_00ef: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00f4: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_00f9: stloc.1 + IL_00fa: ldloc.1 + IL_00fb: brfalse IL_0122 + + IL_0100: nop + IL_0101: ldarg.0 + IL_0102: ldc.i4 2000 + IL_0107: ldstr "'{0}' has been updated, recompiling." + IL_010c: ldc.i4.1 + IL_010d: newarr [mscorlib]System.Object + IL_0112: dup + IL_0113: ldc.i4.0 + IL_0114: ldloc.1 + IL_0115: stelem.ref + IL_0116: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_011b: ldc.i4.1 + IL_011c: stloc.0 + IL_011d: br IL_017b + + IL_0122: nop + IL_0123: ldarg.0 + IL_0124: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() + IL_0129: brfalse IL_0174 + + IL_012e: nop + IL_012f: ldarg.0 + IL_0130: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() + IL_0135: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_013a: ldarg.0 + IL_013b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() + IL_0140: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0145: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_014a: stloc.1 + IL_014b: ldloc.1 + IL_014c: brfalse IL_0173 - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re - 71 75 69 72 65 64 01 ) // quired. + IL_0151: nop + IL_0152: ldarg.0 + IL_0153: ldc.i4 2000 + IL_0158: ldstr "'{0}' has been updated, recompiling." + IL_015d: ldc.i4.1 + IL_015e: newarr [mscorlib]System.Object + IL_0163: dup + IL_0164: ldc.i4.0 + IL_0165: ldloc.1 + IL_0166: stelem.ref + IL_0167: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_016c: ldc.i4.1 + IL_016d: stloc.0 + IL_016e: br IL_017b - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_OutputFile () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance string Namespace () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 6E 61 6D 65 73 70 61 63 65 00 00 ) // ...namespace.. + IL_0173: nop + IL_0174: ldc.i4.0 + IL_0175: stloc.0 + IL_0176: br IL_017b - .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_Namespace () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Namespace (string 'value') - } - .property instance string AsmVersion () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 61 73 6D 76 65 72 73 69 6F 6E 00 00 ) // ...asmversion.. + IL_017b: ldloc.0 + IL_017c: ret + } // end of method AxImpTask::NeedsCompiling - .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_AsmVersion () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_AsmVersion (string 'value') - } - .property instance bool DelaySign () + .property instance class [mscorlib]System.IO.FileInfo OcxFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 65 6C 61 79 73 69 67 6E 00 00 ) // ...delaysign.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 03 6F 63 78 01 00 54 02 08 52 65 71 75 69 // ...ocx..T..Requi + 72 65 64 01 ) // red. - .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_DelaySign () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_DelaySign (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_OcxFile () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_OcxFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool Primary () + .property instance class [mscorlib]System.IO.FileInfo OutputFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 72 69 6D 61 72 79 00 00 ) // ...primary.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6F 75 74 70 75 74 00 00 ) // ...output.. - .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_Primary () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Primary (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_OutputFile () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') } .property instance class [mscorlib]System.IO.FileInfo PublicKeyFile () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 70 75 62 6C 69 63 6B 65 79 00 00 ) // ...publickey.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_PublicKeyFile () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') } .property instance class [mscorlib]System.IO.FileInfo KeyFile () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_KeyFile () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_KeyFile () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') } .property instance string KeyContainer () { @@ -1713,2661 +1443,2680 @@ 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. 00 ) // . - .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_KeyContainer () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_KeyContainer (string 'value') - } - .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet References () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - - .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::get_References () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') + .get instance default string NAnt.Win32.Tasks.AxImpTask::get_KeyContainer () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_KeyContainer (string 'value') } - .property instance bool StrictRef () + .property instance bool DelaySign () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 73 74 72 69 63 74 72 65 66 00 00 ) // ...strictref.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 65 6C 61 79 73 69 67 6E 00 00 ) // ...delaysign.. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_StrictRef () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_StrictRef (bool 'value') + .get instance default bool NAnt.Win32.Tasks.AxImpTask::get_DelaySign () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_DelaySign (bool 'value') } - .property instance bool SysArray () + .property instance bool GenerateSource () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 73 79 73 61 72 72 61 79 00 00 ) // ...sysarray.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0E 67 65 6E 65 72 61 74 65 73 6F 75 72 63 // ...generatesourc + 65 00 00 ) // e.. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_SysArray () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_SysArray (bool 'value') - } - .property instance string Transform () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 74 72 61 6E 73 66 6F 72 6D 00 00 ) // ...transform.. - - .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_Transform () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Transform (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo TypeLib () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 74 79 70 65 6C 69 62 01 00 54 02 08 52 // ...typelib..T..R - 65 71 75 69 72 65 64 01 ) // equired. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_TypeLib () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') + .get instance default bool NAnt.Win32.Tasks.AxImpTask::get_GenerateSource () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_GenerateSource (bool 'value') } - .property instance bool Unsafe () + .property instance class [mscorlib]System.IO.FileInfo RcwFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 73 61 66 65 00 00 ) // ...unsafe.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 72 63 77 00 00 ) // ...rcw.. - .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_Unsafe () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Unsafe (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_RcwFile () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_RcwFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance bool SupportsTransform () + .property instance bool SupportsRcw () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 11 73 75 70 70 6F 72 74 73 74 72 61 6E 73 // ...supportstrans - 66 6F 72 6D 00 00 ) // form.. + 01 00 0B 73 75 70 70 6F 72 74 73 72 63 77 00 00 ) // ...supportsrcw.. - .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_SupportsTransform () - .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_SupportsTransform (bool 'value') + .get instance default bool NAnt.Win32.Tasks.AxImpTask::get_SupportsRcw () + .set instance default void NAnt.Win32.Tasks.AxImpTask::set_SupportsRcw (bool 'value') } .property instance string ProgramArguments () { - .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_ProgramArguments () + .get instance default string NAnt.Win32.Tasks.AxImpTask::get_ProgramArguments () } - } // end of class NAnt.Win32.Tasks.TlbImpTask + } // end of class NAnt.Win32.Tasks.AxImpTask } .namespace NAnt.Win32.Tasks { - .class public auto ansi beforefieldinit AxImpTask + .class public auto ansi beforefieldinit RegAsmTask extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 61 78 69 6D 70 00 00 ) // ...aximp.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 72 65 67 61 73 6D 00 00 ) // ...regasm.. - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ - .field private class [mscorlib]System.IO.FileInfo _ocxFile - .field private class [mscorlib]System.IO.FileInfo _outputFile - .field private class [mscorlib]System.IO.FileInfo _publicKeyFile - .field private class [mscorlib]System.IO.FileInfo _keyFile - .field private class [mscorlib]System.IO.FileInfo _rcwFile - .field private string _keyContainer - .field private bool _delaySign - .field private bool _generateSource - .field private bool _supportsRcw + .field private class [mscorlib]System.Text.StringBuilder _arguments + .field private string _programFileName + .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory + .field private class [mscorlib]System.IO.FileInfo _assemblyFile + .field private class [mscorlib]System.IO.FileInfo _regfile + .field private class [mscorlib]System.IO.FileInfo _typelib + .field private bool _codebase + .field private bool _unregister + .field private bool _registered + .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _assemblies + .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _references - // method line 52 + // method line 36 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2b41 - // Code size 14 (0xe) + // Method begins at RVA 0x29fd + // Code size 40 (0x28) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Win32.Tasks.AxImpTask::_supportsRcw - IL_0007: ldarg.0 - IL_0008: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_000d: ret - } // end of method AxImpTask::.ctor + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_000b: ldarg.0 + IL_000c: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0011: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_assemblies + IL_0016: ldarg.0 + IL_0017: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_001c: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_references + IL_0021: ldarg.0 + IL_0022: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0027: ret + } // end of method RegAsmTask::.ctor - // method line 53 + // method line 37 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OcxFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed { - // Method begins at RVA 0x2b50 + // Method begins at RVA 0x2a28 // Code size 15 (0xf) .maxstack 1 .locals init ( class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_ocxFile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_assemblyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_OcxFile + } // end of method RegAsmTask::get_AssemblyFile - // method line 54 + // method line 38 .method public hidebysig specialname - instance default void set_OcxFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2b6b + // Method begins at RVA 0x2a43 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_ocxFile + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_assemblyFile IL_0008: ret - } // end of method AxImpTask::set_OcxFile + } // end of method RegAsmTask::set_AssemblyFile - // method line 55 + // method line 39 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_RegistryFile () cil managed { - // Method begins at RVA 0x2b78 + // Method begins at RVA 0x2a50 // Code size 15 (0xf) .maxstack 1 .locals init ( class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_outputFile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_regfile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_OutputFile + } // end of method RegAsmTask::get_RegistryFile - // method line 56 + // method line 40 .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_RegistryFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2b93 + // Method begins at RVA 0x2a6b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_outputFile + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_regfile IL_0008: ret - } // end of method AxImpTask::set_OutputFile + } // end of method RegAsmTask::set_RegistryFile - // method line 57 + // method line 41 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_PublicKeyFile () cil managed + instance default bool get_CodeBase () cil managed { - // Method begins at RVA 0x2ba0 + // Method begins at RVA 0x2a78 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_publicKeyFile + IL_0002: ldfld bool NAnt.Win32.Tasks.RegAsmTask::_codebase IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_PublicKeyFile + } // end of method RegAsmTask::get_CodeBase - // method line 58 + // method line 42 .method public hidebysig specialname - instance default void set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_CodeBase (bool 'value') cil managed { - // Method begins at RVA 0x2bbb + // Method begins at RVA 0x2a93 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_publicKeyFile + IL_0003: stfld bool NAnt.Win32.Tasks.RegAsmTask::_codebase IL_0008: ret - } // end of method AxImpTask::set_PublicKeyFile + } // end of method RegAsmTask::set_CodeBase - // method line 59 + // method line 43 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed + instance default bool get_Registered () cil managed { - // Method begins at RVA 0x2bc8 + // Method begins at RVA 0x2aa0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_keyFile + IL_0002: ldfld bool NAnt.Win32.Tasks.RegAsmTask::_registered IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_KeyFile + } // end of method RegAsmTask::get_Registered - // method line 60 + // method line 44 .method public hidebysig specialname - instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Registered (bool 'value') cil managed { - // Method begins at RVA 0x2be3 + // Method begins at RVA 0x2abb // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_keyFile + IL_0003: stfld bool NAnt.Win32.Tasks.RegAsmTask::_registered IL_0008: ret - } // end of method AxImpTask::set_KeyFile + } // end of method RegAsmTask::set_Registered - // method line 61 + // method line 45 .method public hidebysig specialname - instance default string get_KeyContainer () cil managed + instance default class [mscorlib]System.IO.FileInfo get_TypeLib () cil managed { - // Method begins at RVA 0x2bf0 + // Method begins at RVA 0x2ac8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.AxImpTask::_keyContainer + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_typelib IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_KeyContainer + } // end of method RegAsmTask::get_TypeLib - // method line 62 + // method line 46 .method public hidebysig specialname - instance default void set_KeyContainer (string 'value') cil managed + instance default void set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2c0b - // Code size 14 (0xe) + // Method begins at RVA 0x2ae3 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Win32.Tasks.AxImpTask::_keyContainer - IL_000d: ret - } // end of method AxImpTask::set_KeyContainer + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_typelib + IL_0008: ret + } // end of method RegAsmTask::set_TypeLib - // method line 63 + // method line 47 .method public hidebysig specialname - instance default bool get_DelaySign () cil managed + instance default bool get_Unregister () cil managed { - // Method begins at RVA 0x2c1c + // Method begins at RVA 0x2af0 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.AxImpTask::_delaySign + IL_0002: ldfld bool NAnt.Win32.Tasks.RegAsmTask::_unregister IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_DelaySign + } // end of method RegAsmTask::get_Unregister - // method line 64 + // method line 48 .method public hidebysig specialname - instance default void set_DelaySign (bool 'value') cil managed + instance default void set_Unregister (bool 'value') cil managed { - // Method begins at RVA 0x2c37 + // Method begins at RVA 0x2b0b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.AxImpTask::_delaySign + IL_0003: stfld bool NAnt.Win32.Tasks.RegAsmTask::_unregister IL_0008: ret - } // end of method AxImpTask::set_DelaySign + } // end of method RegAsmTask::set_Unregister - // method line 65 + // method line 49 .method public hidebysig specialname - instance default bool get_GenerateSource () cil managed + instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed { - // Method begins at RVA 0x2c44 + // Method begins at RVA 0x2b18 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.AxImpTask::_generateSource + IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_assemblies IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_GenerateSource + } // end of method RegAsmTask::get_Assemblies - // method line 66 + // method line 50 .method public hidebysig specialname - instance default void set_GenerateSource (bool 'value') cil managed + instance default void set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x2c5f + // Method begins at RVA 0x2b33 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.AxImpTask::_generateSource + IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_assemblies IL_0008: ret - } // end of method AxImpTask::set_GenerateSource + } // end of method RegAsmTask::set_Assemblies - // method line 67 + // method line 51 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_RcwFile () cil managed + instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed { - // Method begins at RVA 0x2c6c + // Method begins at RVA 0x2b40 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_rcwFile + IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_references IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AxImpTask::get_RcwFile + } // end of method RegAsmTask::get_References - // method line 68 + // method line 52 .method public hidebysig specialname - instance default void set_RcwFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x2c87 + // Method begins at RVA 0x2b5b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::_rcwFile + IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_references IL_0008: ret - } // end of method AxImpTask::set_RcwFile + } // end of method RegAsmTask::set_References - // method line 69 - .method public hidebysig specialname - instance default bool get_SupportsRcw () cil managed + // method line 53 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0x2c94 - // Code size 15 (0xf) + // Method begins at RVA 0x2b68 + // Code size 39 (0x27) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.AxImpTask::_supportsRcw - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory + IL_0007: brtrue IL_0019 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AxImpTask::get_SupportsRcw + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_0013: stloc.0 + IL_0014: br IL_0025 - // method line 70 - .method public hidebysig specialname - instance default void set_SupportsRcw (bool 'value') cil managed + IL_0019: ldarg.0 + IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory + IL_001f: stloc.0 + IL_0020: br IL_0025 + + IL_0025: ldloc.0 + IL_0026: ret + } // end of method RegAsmTask::get_BaseDirectory + + // method line 54 + .method public virtual hidebysig specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x2caf + // Method begins at RVA 0x2b9b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.AxImpTask::_supportsRcw + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory IL_0008: ret - } // end of method AxImpTask::set_SupportsRcw + } // end of method RegAsmTask::set_BaseDirectory - // method line 71 + // method line 55 .method public virtual hidebysig specialname instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x2cbc - // Code size 14 (0xe) + // Method begins at RVA 0x2ba8 + // Code size 20 (0x14) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldstr "" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_0007: callvirt instance string object::ToString() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method AxImpTask::get_ProgramArguments + IL_0012: ldloc.0 + IL_0013: ret + } // end of method RegAsmTask::get_ProgramArguments - // method line 72 + // method line 56 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed + { + // Method begins at RVA 0x2bc8 + // Code size 40 (0x28) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName + IL_0007: brtrue IL_001a + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_0014: stfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName + IL_0019: nop + IL_001a: ldarg.0 + IL_001b: ldfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName + IL_0020: stloc.0 + IL_0021: br IL_0026 + + IL_0026: ldloc.0 + IL_0027: ret + } // end of method RegAsmTask::get_ProgramFileName + + // method line 57 .method family virtual hidebysig - instance default void ExecuteTask () cil managed + instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed { - // Method begins at RVA 0x2cd8 - // Code size 576 (0x240) - .maxstack 7 + // Method begins at RVA 0x2bfc + // Code size 524 (0x20c) + .maxstack 3 .locals init ( - class [mscorlib]System.Exception V_0) + class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0, + string V_1, + class [System]System.Collections.Specialized.StringEnumerator V_2, + class [mscorlib]System.IDisposable V_3, + string V_4, + class [System]System.Collections.Specialized.StringEnumerator V_5, + class [mscorlib]System.IDisposable V_6) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4 3000 - IL_0007: ldstr "Generating Windows Forms Control wrapping '{0}'." - IL_000c: ldc.i4.1 - IL_000d: newarr [mscorlib]System.Object - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldarg.0 - IL_0015: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() - IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001f: stelem.ref - IL_0020: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0025: ldarg.0 - IL_0026: callvirt instance bool class NAnt.Win32.Tasks.AxImpTask::NeedsCompiling() - IL_002b: brtrue IL_0036 + IL_0002: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0011: brtrue IL_0023 - IL_0030: nop - IL_0031: br IL_023f + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: ldarg.1 + IL_0019: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) + IL_001e: br IL_020b + IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() + IL_0028: stloc.0 + IL_0029: ldloc.0 + IL_002a: ldarg.0 + IL_002b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_0035: ldloc.0 IL_0036: ldarg.0 - IL_0037: call instance bool class NAnt.Win32.Tasks.AxImpTask::get_DelaySign() - IL_003c: brfalse IL_0059 - - IL_0041: nop + IL_0037: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_0041: ldloc.0 IL_0042: ldarg.0 - IL_0043: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0048: ldstr "/delaysign" - IL_004d: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0052: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0057: pop - IL_0058: nop - IL_0059: ldarg.0 - IL_005a: call instance bool class NAnt.Win32.Tasks.AxImpTask::get_GenerateSource() - IL_005f: brfalse IL_007c + IL_0043: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0048: ldloc.0 + IL_0049: ldarg.0 + IL_004a: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_004f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) + IL_0054: ldloc.0 + IL_0055: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_005a: brtrue IL_006c - IL_0064: nop - IL_0065: ldarg.0 - IL_0066: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_006b: ldstr "/source" - IL_0070: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0075: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_007a: pop - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0082: brfalse IL_00a4 + IL_005f: nop + IL_0060: ldloc.0 + IL_0061: ldc.i4 4000 + IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_006b: nop + IL_006c: ldloc.0 + IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_0072: ldloc.0 + IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0078: ldloc.0 + IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_007e: ldloc.0 + IL_007f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0084: ldloc.0 + IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_008a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_008f: ldloc.0 + IL_0090: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0095: ldloc.0 + IL_0096: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() + IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) + IL_00a0: ldloc.0 + IL_00a1: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_00a6: ldarg.0 + IL_00a7: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_00ac: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_00b1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_00b6: ldloc.0 + IL_00b7: ldc.i4.1 + IL_00b8: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_Flatten(bool) + IL_00bd: nop + IL_00be: ldarg.0 + IL_00bf: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_00c4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_00c9: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_00ce: stloc.2 + .try { // 0 + IL_00cf: br IL_00ef - IL_0087: nop - IL_0088: ldarg.0 - IL_0089: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_008e: ldstr "/verbose" - IL_0093: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0098: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_009d: pop - IL_009e: nop - IL_009f: br IL_00bc + IL_00d4: ldloc.2 + IL_00d5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_00da: stloc.1 + IL_00db: nop + IL_00dc: ldloc.0 + IL_00dd: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_00e2: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_00e7: ldloc.1 + IL_00e8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00ed: pop + IL_00ee: nop + IL_00ef: ldloc.2 + IL_00f0: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_00f5: brtrue IL_00d4 - IL_00a4: nop - IL_00a5: ldarg.0 - IL_00a6: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_00ab: ldstr "/silent" - IL_00b0: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_00b5: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_00ba: pop - IL_00bb: nop - IL_00bc: ldarg.0 - IL_00bd: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_00c2: brfalse IL_00f4 + IL_00fa: leave IL_0113 - IL_00c7: nop - IL_00c8: ldarg.0 - IL_00c9: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_00ce: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00d3: ldstr "/out:\"{0}\"" - IL_00d8: ldarg.0 - IL_00d9: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_00de: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00e3: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_00e8: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_00ed: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_00f2: pop - IL_00f3: nop - IL_00f4: ldarg.0 - IL_00f5: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() - IL_00fa: brfalse IL_012c + } // end .try 0 + finally { // 0 + IL_00ff: ldloc.2 + IL_0100: isinst [mscorlib]System.IDisposable + IL_0105: dup + IL_0106: stloc.3 + IL_0107: brfalse IL_0112 - IL_00ff: nop - IL_0100: ldarg.0 - IL_0101: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0106: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_010b: ldstr "/publickey:\"{0}\"" - IL_0110: ldarg.0 - IL_0111: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() - IL_0116: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_011b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0120: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0125: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_012a: pop - IL_012b: nop - IL_012c: ldarg.0 - IL_012d: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() - IL_0132: brfalse IL_0164 + IL_010c: ldloc.3 + IL_010d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0112: endfinally + } // end handler 0 + IL_0113: nop + IL_0114: ldarg.0 + IL_0115: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_011a: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_011f: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0124: stloc.s 5 + .try { // 1 + IL_0126: br IL_0149 - IL_0137: nop - IL_0138: ldarg.0 - IL_0139: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_013e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0143: ldstr "/keyfile:\"{0}\"" - IL_0148: ldarg.0 - IL_0149: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() - IL_014e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0153: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0158: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_015d: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0162: pop - IL_0163: nop - IL_0164: ldarg.0 - IL_0165: call instance string class NAnt.Win32.Tasks.AxImpTask::get_KeyContainer() - IL_016a: brfalse IL_0197 + IL_012b: ldloc.s 5 + IL_012d: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0132: stloc.s 4 + IL_0134: nop + IL_0135: ldloc.0 + IL_0136: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_013b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0140: ldloc.s 4 + IL_0142: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0147: pop + IL_0148: nop + IL_0149: ldloc.s 5 + IL_014b: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0150: brtrue IL_012b - IL_016f: nop - IL_0170: ldarg.0 - IL_0171: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_0176: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_017b: ldstr "/keycontainer:\"{0}\"" - IL_0180: ldarg.0 - IL_0181: call instance string class NAnt.Win32.Tasks.AxImpTask::get_KeyContainer() - IL_0186: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_018b: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_0190: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0195: pop - IL_0196: nop - IL_0197: ldarg.0 - IL_0198: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() - IL_019d: brfalse IL_01dc + IL_0155: leave IL_0171 - IL_01a2: nop - IL_01a3: ldarg.0 - IL_01a4: call instance bool class NAnt.Win32.Tasks.AxImpTask::get_SupportsRcw() - IL_01a9: brfalse IL_01db + } // end .try 1 + finally { // 1 + IL_015a: ldloc.s 5 + IL_015c: isinst [mscorlib]System.IDisposable + IL_0161: dup + IL_0162: stloc.s 6 + IL_0164: brfalse IL_0170 - IL_01ae: nop - IL_01af: ldarg.0 - IL_01b0: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_01b5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01ba: ldstr "/rcw:\"{0}\"" - IL_01bf: ldarg.0 - IL_01c0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() - IL_01c5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01ca: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01cf: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_01d4: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_01d9: pop - IL_01da: nop - IL_01db: nop - IL_01dc: ldarg.0 - IL_01dd: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_01e2: ldstr "/nologo" - IL_01e7: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) - IL_01ec: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_01f1: pop - IL_01f2: ldarg.0 - IL_01f3: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() - IL_01f8: ldarg.0 - IL_01f9: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() - IL_01fe: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(class [mscorlib]System.IO.FileInfo) - IL_0203: callvirt instance int32 class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::Add(class [NAnt.Core]NAnt.Core.Types.Argument) - IL_0208: pop - .try { // 0 - IL_0209: nop - IL_020a: ldarg.0 - IL_020b: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_0210: nop - IL_0211: leave IL_023f + IL_0169: ldloc.s 6 + IL_016b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0170: endfinally + } // end handler 1 + IL_0171: ldarg.0 + IL_0172: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() + IL_0177: brfalse IL_019a - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_0216: stloc.0 - IL_0217: nop - IL_0218: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_021d: ldstr "Error importing ActiveX control from '{0}'." - IL_0222: ldarg.0 - IL_0223: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() - IL_0228: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_022d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0232: ldarg.0 - IL_0233: callvirt instance class [NAnt.Core]NAnt.Core.Location class [NAnt.Core]NAnt.Core.Element::get_Location() - IL_0238: ldloc.0 - IL_0239: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [NAnt.Core]NAnt.Core.Location, class [mscorlib]System.Exception) - IL_023e: throw - } // end handler 0 - IL_023f: ret - } // end of method AxImpTask::ExecuteTask + IL_017c: nop + IL_017d: ldloc.0 + IL_017e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_0183: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_0188: ldarg.0 + IL_0189: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() + IL_018e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0193: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0198: pop + IL_0199: nop + IL_019a: ldloc.0 + IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() + IL_01a0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() + IL_01a5: ldarg.0 + IL_01a6: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_01ab: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_01b0: pop + IL_01b1: ldloc.0 + IL_01b2: ldarg.0 + IL_01b3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_01b8: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_01bd: ldloc.0 + IL_01be: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_01c3: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() + .try { // 2 + IL_01c8: nop + IL_01c9: ldloc.0 + IL_01ca: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_01cf: nop + IL_01d0: leave IL_01e3 - // method line 73 - .method family virtual hidebysig newslot - instance default bool NeedsCompiling () cil managed + } // end .try 2 + finally { // 2 + IL_01d5: nop + IL_01d6: ldloc.0 + IL_01d7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_01dc: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() + IL_01e1: nop + IL_01e2: endfinally + } // end handler 2 + IL_01e3: ldarg.0 + IL_01e4: ldarg.0 + IL_01e5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() + IL_01ea: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01ef: ldarg.0 + IL_01f0: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() + IL_01f5: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_01fa: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_01ff: stfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName + IL_0204: ldarg.0 + IL_0205: ldarg.1 + IL_0206: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) + IL_020b: ret + } // end of method RegAsmTask::PrepareProcess + + // method line 58 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x2f34 - // Code size 381 (0x17d) + // Method begins at RVA 0x2e3c + // Code size 757 (0x2f5) .maxstack 7 .locals init ( - bool V_0, - string V_1) + string V_0, + class [System]System.Collections.Specialized.StringEnumerator V_1, + class [mscorlib]System.IDisposable V_2, + class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_3) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_003d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() + IL_0007: brtrue IL_0027 - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: ldc.i4 2000 - IL_0018: ldstr "Output file '{0}' does not exist, recompiling." - IL_001d: ldc.i4.1 - IL_001e: newarr [mscorlib]System.Object - IL_0023: dup - IL_0024: ldc.i4.0 - IL_0025: ldarg.0 - IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0030: stelem.ref - IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0036: ldc.i4.1 - IL_0037: stloc.0 - IL_0038: br IL_017b + IL_000c: ldarg.0 + IL_000d: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_0012: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0017: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_001c: brtrue IL_0027 + + IL_0021: nop + IL_0022: br IL_02f4 + IL_0027: ldarg.0 + IL_0028: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_References() + IL_002d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0032: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0037: brfalse IL_0049 + + IL_003c: nop IL_003d: ldarg.0 - IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OcxFile() - IL_0043: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0048: ldarg.0 - IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_0058: stloc.1 - IL_0059: ldloc.1 - IL_005a: brfalse IL_0081 + IL_003e: call class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Util.FileUtils::GetTempDirectory() + IL_0043: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0048: nop + IL_0049: ldarg.0 + IL_004a: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() + IL_004f: brfalse IL_0067 - IL_005f: nop - IL_0060: ldarg.0 - IL_0061: ldc.i4 2000 - IL_0066: ldstr "'{0}' has been updated, recompiling." - IL_006b: ldc.i4.1 - IL_006c: newarr [mscorlib]System.Object - IL_0071: dup - IL_0072: ldc.i4.0 - IL_0073: ldloc.1 - IL_0074: stelem.ref - IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_007a: ldc.i4.1 - IL_007b: stloc.0 - IL_007c: br IL_017b + IL_0054: nop + IL_0055: ldarg.0 + IL_0056: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_005b: ldstr " /unregister" + IL_0060: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0065: pop + IL_0066: nop + IL_0067: ldarg.0 + IL_0068: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_TypeLib() + IL_006d: brfalse IL_0095 - IL_0081: ldarg.0 - IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() - IL_0087: brfalse IL_00d2 + IL_0072: nop + IL_0073: ldarg.0 + IL_0074: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_0079: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_007e: ldstr " /tlb:\"{0}\"" + IL_0083: ldarg.0 + IL_0084: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_TypeLib() + IL_0089: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_008e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_0093: pop + IL_0094: nop + IL_0095: ldarg.0 + IL_0096: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_CodeBase() + IL_009b: brfalse IL_00b3 + + IL_00a0: nop + IL_00a1: ldarg.0 + IL_00a2: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_00a7: ldstr " /codebase" + IL_00ac: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00b1: pop + IL_00b2: nop + IL_00b3: ldarg.0 + IL_00b4: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_RegistryFile() + IL_00b9: brfalse IL_00e1 + + IL_00be: nop + IL_00bf: ldarg.0 + IL_00c0: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_00c5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00ca: ldstr " /regfile:\"{0}\"" + IL_00cf: ldarg.0 + IL_00d0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_RegistryFile() + IL_00d5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00da: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_00df: pop + IL_00e0: nop + IL_00e1: ldarg.0 + IL_00e2: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Registered() + IL_00e7: brfalse IL_00ff + + IL_00ec: nop + IL_00ed: ldarg.0 + IL_00ee: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_00f3: ldstr " /registered" + IL_00f8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00fd: pop + IL_00fe: nop + IL_00ff: ldarg.0 + IL_0100: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0105: brfalse IL_0122 + + IL_010a: nop + IL_010b: ldarg.0 + IL_010c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_0111: ldstr " /verbose" + IL_0116: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_011b: pop + IL_011c: nop + IL_011d: br IL_0135 + + IL_0122: nop + IL_0123: ldarg.0 + IL_0124: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_0129: ldstr " /silent" + IL_012e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0133: pop + IL_0134: nop + IL_0135: ldarg.0 + IL_0136: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_013b: ldstr " /nologo" + IL_0140: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0145: pop + IL_0146: ldarg.0 + IL_0147: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() + IL_014c: brfalse IL_01bb + + IL_0151: nop + IL_0152: ldarg.0 + IL_0153: ldc.i4 3000 + IL_0158: ldstr "{0} '{1}' for COM Interop" + IL_015d: ldc.i4.2 + IL_015e: newarr [mscorlib]System.Object + IL_0163: dup + IL_0164: ldc.i4.0 + IL_0165: ldarg.0 + IL_0166: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() + IL_016b: brfalse IL_017a + + IL_0170: ldstr "Unregistering" + IL_0175: br IL_017f + + IL_017a: ldstr "Registering" + IL_017f: stelem.ref + IL_0180: dup + IL_0181: ldc.i4.1 + IL_0182: ldarg.0 + IL_0183: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() + IL_0188: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_018d: stelem.ref + IL_018e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0193: ldarg.0 + IL_0194: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_0199: ldstr " \"{0}\"" + IL_019e: ldarg.0 + IL_019f: ldarg.0 + IL_01a0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() + IL_01a5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_01aa: call instance string class NAnt.Win32.Tasks.RegAsmTask::GetAssemblyPath(string) + IL_01af: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_01b4: pop + IL_01b5: nop + IL_01b6: br IL_029b + + IL_01bb: nop + IL_01bc: ldarg.0 + IL_01bd: ldc.i4 3000 + IL_01c2: ldstr "{0} {1} files for COM interop" + IL_01c7: ldc.i4.2 + IL_01c8: newarr [mscorlib]System.Object + IL_01cd: dup + IL_01ce: ldc.i4.0 + IL_01cf: ldarg.0 + IL_01d0: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() + IL_01d5: brfalse IL_01e4 + + IL_01da: ldstr "UnRegistering" + IL_01df: br IL_01e9 + + IL_01e4: ldstr "Registering" + IL_01e9: stelem.ref + IL_01ea: dup + IL_01eb: ldc.i4.1 + IL_01ec: ldarg.0 + IL_01ed: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_01f2: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_01f7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_01fc: box [mscorlib]System.Int32 + IL_0201: stelem.ref + IL_0202: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0207: nop + IL_0208: ldarg.0 + IL_0209: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() + IL_020e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0213: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0218: stloc.1 + .try { // 0 + IL_0219: br IL_0276 - IL_008c: nop - IL_008d: ldarg.0 - IL_008e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile() - IL_0093: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0098: ldarg.0 - IL_0099: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_009e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00a3: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_00a8: stloc.1 - IL_00a9: ldloc.1 - IL_00aa: brfalse IL_00d1 + IL_021e: ldloc.1 + IL_021f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0224: stloc.0 + IL_0225: nop + IL_0226: ldarg.0 + IL_0227: ldc.i4 2000 + IL_022c: ldstr "{0} '{1}' for COM Interop" + IL_0231: ldc.i4.2 + IL_0232: newarr [mscorlib]System.Object + IL_0237: dup + IL_0238: ldc.i4.0 + IL_0239: ldarg.0 + IL_023a: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() + IL_023f: brfalse IL_024e - IL_00af: nop - IL_00b0: ldarg.0 - IL_00b1: ldc.i4 2000 - IL_00b6: ldstr "'{0}' has been updated, recompiling." - IL_00bb: ldc.i4.1 - IL_00bc: newarr [mscorlib]System.Object - IL_00c1: dup - IL_00c2: ldc.i4.0 - IL_00c3: ldloc.1 - IL_00c4: stelem.ref - IL_00c5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_00ca: ldc.i4.1 - IL_00cb: stloc.0 - IL_00cc: br IL_017b + IL_0244: ldstr "UnRegistering" + IL_0249: br IL_0253 - IL_00d1: nop - IL_00d2: ldarg.0 - IL_00d3: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() - IL_00d8: brfalse IL_0123 + IL_024e: ldstr "Registering" + IL_0253: stelem.ref + IL_0254: dup + IL_0255: ldc.i4.1 + IL_0256: ldloc.0 + IL_0257: stelem.ref + IL_0258: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_025d: ldarg.0 + IL_025e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments + IL_0263: ldstr " \"{0}\"" + IL_0268: ldarg.0 + IL_0269: ldloc.0 + IL_026a: call instance string class NAnt.Win32.Tasks.RegAsmTask::GetAssemblyPath(string) + IL_026f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0274: pop + IL_0275: nop + IL_0276: ldloc.1 + IL_0277: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_027c: brtrue IL_021e - IL_00dd: nop - IL_00de: ldarg.0 - IL_00df: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_KeyFile() - IL_00e4: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00e9: ldarg.0 - IL_00ea: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_00ef: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_00f4: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_00f9: stloc.1 - IL_00fa: ldloc.1 - IL_00fb: brfalse IL_0122 + IL_0281: leave IL_029a - IL_0100: nop - IL_0101: ldarg.0 - IL_0102: ldc.i4 2000 - IL_0107: ldstr "'{0}' has been updated, recompiling." - IL_010c: ldc.i4.1 - IL_010d: newarr [mscorlib]System.Object - IL_0112: dup - IL_0113: ldc.i4.0 - IL_0114: ldloc.1 - IL_0115: stelem.ref - IL_0116: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_011b: ldc.i4.1 - IL_011c: stloc.0 - IL_011d: br IL_017b + } // end .try 0 + finally { // 0 + IL_0286: ldloc.1 + IL_0287: isinst [mscorlib]System.IDisposable + IL_028c: dup + IL_028d: stloc.2 + IL_028e: brfalse IL_0299 - IL_0122: nop - IL_0123: ldarg.0 - IL_0124: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() - IL_0129: brfalse IL_0174 + IL_0293: ldloc.2 + IL_0294: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0299: endfinally + } // end handler 0 + IL_029a: nop + .try { // 1 + IL_029b: nop + IL_029c: ldarg.0 + IL_029d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_02a2: nop + IL_02a3: leave IL_02f4 - IL_012e: nop - IL_012f: ldarg.0 - IL_0130: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_RcwFile() - IL_0135: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_013a: ldarg.0 - IL_013b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.AxImpTask::get_OutputFile() - IL_0140: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() - IL_0145: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) - IL_014a: stloc.1 - IL_014b: ldloc.1 - IL_014c: brfalse IL_0173 + } // end .try 1 + finally { // 1 + IL_02a8: nop + IL_02a9: ldarg.0 + IL_02aa: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory + IL_02af: brfalse IL_02f2 - IL_0151: nop - IL_0152: ldarg.0 - IL_0153: ldc.i4 2000 - IL_0158: ldstr "'{0}' has been updated, recompiling." - IL_015d: ldc.i4.1 - IL_015e: newarr [mscorlib]System.Object - IL_0163: dup - IL_0164: ldc.i4.0 - IL_0165: ldloc.1 - IL_0166: stelem.ref - IL_0167: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_016c: ldc.i4.1 - IL_016d: stloc.0 - IL_016e: br IL_017b + IL_02b4: nop + IL_02b5: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() + IL_02ba: stloc.3 + IL_02bb: ldloc.3 + IL_02bc: ldarg.0 + IL_02bd: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_02c2: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_02c7: ldloc.3 + IL_02c8: ldarg.0 + IL_02c9: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_02ce: ldloc.3 + IL_02cf: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() + IL_02d4: ldloc.3 + IL_02d5: ldarg.0 + IL_02d6: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory + IL_02db: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) + IL_02e0: ldloc.3 + IL_02e1: ldc.i4 9999 + IL_02e6: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_02eb: ldloc.3 + IL_02ec: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_02f1: nop + IL_02f2: nop + IL_02f3: endfinally + } // end handler 1 + IL_02f4: ret + } // end of method RegAsmTask::ExecuteTask - IL_0173: nop - IL_0174: ldc.i4.0 - IL_0175: stloc.0 - IL_0176: br IL_017b + // method line 59 + .method private hidebysig + instance default string GetAssemblyPath (string 'assembly') cil managed + { + // Method begins at RVA 0x315c + // Code size 50 (0x32) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory + IL_0007: brtrue IL_0014 - IL_017b: ldloc.0 - IL_017c: ret - } // end of method AxImpTask::NeedsCompiling + IL_000c: nop + IL_000d: ldarg.1 + IL_000e: stloc.0 + IL_000f: br IL_0030 - .property instance class [mscorlib]System.IO.FileInfo OcxFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 03 6F 63 78 01 00 54 02 08 52 65 71 75 69 // ...ocx..T..Requi - 72 65 64 01 ) // red. + IL_0014: ldarg.0 + IL_0015: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory + IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001f: ldarg.1 + IL_0020: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_0025: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_002a: stloc.0 + IL_002b: br IL_0030 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_OcxFile () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_OcxFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo OutputFile () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 6F 75 74 70 75 74 00 00 ) // ...output.. + IL_0030: ldloc.0 + IL_0031: ret + } // end of method RegAsmTask::GetAssemblyPath - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_OutputFile () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.FileInfo PublicKeyFile () + .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 70 75 62 6C 69 63 6B 65 79 00 00 ) // ...publickey.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 61 73 73 65 6D 62 6C 79 00 00 ) // ...assembly.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_PublicKeyFile () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class [mscorlib]System.IO.FileInfo KeyFile () + .property instance class [mscorlib]System.IO.FileInfo RegistryFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 67 66 69 6C 65 00 00 ) // ...regfile.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_KeyFile () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::get_RegistryFile () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_RegistryFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string KeyContainer () + .property instance bool CodeBase () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. - 00 ) // . + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 62 61 73 65 00 00 ) // ...codebase.. - .get instance default string NAnt.Win32.Tasks.AxImpTask::get_KeyContainer () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_KeyContainer (string 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .get instance default bool NAnt.Win32.Tasks.RegAsmTask::get_CodeBase () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_CodeBase (bool 'value') } - .property instance bool DelaySign () + .property instance bool Registered () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 65 6C 61 79 73 69 67 6E 00 00 ) // ...delaysign.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 72 65 67 69 73 74 65 72 65 64 00 00 ) // ...registered.. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Win32.Tasks.AxImpTask::get_DelaySign () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_DelaySign (bool 'value') + .get instance default bool NAnt.Win32.Tasks.RegAsmTask::get_Registered () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_Registered (bool 'value') } - .property instance bool GenerateSource () + .property instance class [mscorlib]System.IO.FileInfo TypeLib () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0E 67 65 6E 65 72 61 74 65 73 6F 75 72 63 // ...generatesourc - 65 00 00 ) // e.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 74 79 70 65 6C 69 62 00 00 ) // ...typelib.. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::get_TypeLib () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance bool Unregister () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 75 6E 72 65 67 69 73 74 65 72 00 00 ) // ...unregister.. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Win32.Tasks.AxImpTask::get_GenerateSource () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_GenerateSource (bool 'value') + .get instance default bool NAnt.Win32.Tasks.RegAsmTask::get_Unregister () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_Unregister (bool 'value') } - .property instance class [mscorlib]System.IO.FileInfo RcwFile () + .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet Assemblies () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 72 63 77 00 00 ) // ...rcw.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.AxImpTask::get_RcwFile () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_RcwFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::get_Assemblies () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') } - .property instance bool SupportsRcw () + .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet References () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( - 01 00 0B 73 75 70 70 6F 72 74 73 72 63 77 00 00 ) // ...supportsrcw.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - .get instance default bool NAnt.Win32.Tasks.AxImpTask::get_SupportsRcw () - .set instance default void NAnt.Win32.Tasks.AxImpTask::set_SupportsRcw (bool 'value') + .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::get_References () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + { + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::get_BaseDirectory () + .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') } .property instance string ProgramArguments () { - .get instance default string NAnt.Win32.Tasks.AxImpTask::get_ProgramArguments () + .get instance default string NAnt.Win32.Tasks.RegAsmTask::get_ProgramArguments () } - } // end of class NAnt.Win32.Tasks.AxImpTask + .property instance string ProgramFileName () + { + .get instance default string NAnt.Win32.Tasks.RegAsmTask::get_ProgramFileName () + } + } // end of class NAnt.Win32.Tasks.RegAsmTask } .namespace NAnt.Win32.Tasks { - .class private auto ansi beforefieldinit MonoRegistryTask - extends [NAnt.Core]NAnt.Core.Task + .class public auto ansi beforefieldinit TlbImpTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( - 01 00 0C 6D 6F 6E 6F 72 65 67 69 73 74 72 79 00 // ...monoregistry. - 00 ) // . + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 74 6C 62 69 6D 70 00 00 ) // ...tlbimp.. - .field private static literal string _defaultRegKey = "SOFTWARE\\Mono" - .field private string _propName - .field private string[] _regKeys + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ - // method line 74 + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private string _namespace + .field private string _asmVersion + .field private bool _delaySign + .field private bool _primary + .field private class [mscorlib]System.IO.FileInfo _publicKeyFile + .field private class [mscorlib]System.IO.FileInfo _keyFile + .field private string _keyContainer + .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _references + .field private bool _strictref + .field private bool _sysarray + .field private string _transform + .field private bool _unsafe + .field private class [mscorlib]System.IO.FileInfo _typelib + .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder + .field private bool _supportsTransform + + // method line 60 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x30bd - // Code size 35 (0x23) + // Method begins at RVA 0x319a + // Code size 25 (0x19) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.2 - IL_0002: newarr [mscorlib]System.String - IL_0007: dup - IL_0008: ldc.i4.0 - IL_0009: ldstr "SOFTWARE\\Wow6432Node\\Novell\\Mono" - IL_000e: stelem.ref - IL_000f: dup - IL_0010: ldc.i4.1 - IL_0011: ldstr "SOFTWARE\\Novell\\Mono" - IL_0016: stelem.ref - IL_0017: stfld string[] NAnt.Win32.Tasks.MonoRegistryTask::_regKeys - IL_001c: ldarg.0 - IL_001d: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0022: ret - } // end of method MonoRegistryTask::.ctor + IL_0001: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() + IL_0006: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::_references + IL_000b: ldarg.0 + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.Win32.Tasks.TlbImpTask::_supportsTransform + IL_0012: ldarg.0 + IL_0013: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0018: ret + } // end of method TlbImpTask::.ctor - // method line 75 - .method public virtual hidebysig newslot specialname - instance default string get_PropertyName () cil managed + // method line 61 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x30e4 + // Method begins at RVA 0x31b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_outputFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MonoRegistryTask::get_PropertyName + } // end of method TlbImpTask::get_OutputFile - // method line 76 - .method public virtual hidebysig newslot specialname - instance default void set_PropertyName (string 'value') cil managed + // method line 62 + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x30ff + // Method begins at RVA 0x31cf // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_outputFile IL_0008: ret - } // end of method MonoRegistryTask::set_PropertyName + } // end of method TlbImpTask::set_OutputFile - // method line 77 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 63 + .method public hidebysig specialname + instance default string get_Namespace () cil managed { - // Method begins at RVA 0x310c - // Code size 100 (0x64) - .maxstack 3 + // Method begins at RVA 0x31dc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - string[] V_1, - int32 V_2, - class [mscorlib]Microsoft.Win32.RegistryKey V_3) + string V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldfld string[] NAnt.Win32.Tasks.MonoRegistryTask::_regKeys - IL_0008: stloc.1 - IL_0009: ldc.i4.0 - IL_000a: stloc.2 - IL_000b: br IL_0044 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_namespace + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0010: ldloc.1 - IL_0011: ldloc.2 - IL_0012: ldelem.ref - IL_0013: stloc.0 - IL_0014: nop - IL_0015: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine - IL_001a: ldloc.0 - IL_001b: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0020: stloc.3 - IL_0021: ldloc.3 - IL_0022: brfalse IL_003f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbImpTask::get_Namespace - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: callvirt instance class [NAnt.Core]NAnt.Core.PropertyDictionary class [NAnt.Core]NAnt.Core.Element::get_Properties() - IL_002e: ldarg.0 - IL_002f: ldfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName - IL_0034: ldloc.0 - IL_0035: callvirt instance void class [NAnt.Core]NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_003a: br IL_0063 + // method line 64 + .method public hidebysig specialname + instance default void set_Namespace (string 'value') cil managed + { + // Method begins at RVA 0x31f7 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_namespace + IL_000d: ret + } // end of method TlbImpTask::set_Namespace - IL_003f: nop - IL_0040: ldloc.2 - IL_0041: ldc.i4.1 - IL_0042: add - IL_0043: stloc.2 - IL_0044: ldloc.2 - IL_0045: ldloc.1 - IL_0046: ldlen - IL_0047: conv.i4 - IL_0048: blt IL_0010 + // method line 65 + .method public hidebysig specialname + instance default string get_AsmVersion () cil managed + { + // Method begins at RVA 0x3208 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_asmVersion + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_004d: ldarg.0 - IL_004e: callvirt instance class [NAnt.Core]NAnt.Core.PropertyDictionary class [NAnt.Core]NAnt.Core.Element::get_Properties() - IL_0053: ldarg.0 - IL_0054: ldfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName - IL_0059: ldstr "SOFTWARE\\Mono" - IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0063: ret - } // end of method MonoRegistryTask::ExecuteTask + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbImpTask::get_AsmVersion - .property instance string PropertyName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + // method line 66 + .method public hidebysig specialname + instance default void set_AsmVersion (string 'value') cil managed + { + // Method begins at RVA 0x3223 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_asmVersion + IL_000d: ret + } // end of method TlbImpTask::set_AsmVersion - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + // method line 67 + .method public hidebysig specialname + instance default bool get_DelaySign () cil managed + { + // Method begins at RVA 0x3234 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_delaySign + IL_0007: stloc.0 + IL_0008: br IL_000d - .get instance default string NAnt.Win32.Tasks.MonoRegistryTask::get_PropertyName () - .set instance default void NAnt.Win32.Tasks.MonoRegistryTask::set_PropertyName (string 'value') - } - } // end of class NAnt.Win32.Tasks.MonoRegistryTask -} + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbImpTask::get_DelaySign -.namespace NAnt.Win32.Tasks -{ - .class public auto ansi beforefieldinit RegAsmTask - extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 72 65 67 61 73 6D 00 00 ) // ...regasm.. + // method line 68 + .method public hidebysig specialname + instance default void set_DelaySign (bool 'value') cil managed + { + // Method begins at RVA 0x324f + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_delaySign + IL_0008: ret + } // end of method TlbImpTask::set_DelaySign - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 00 00 00 00 00 00 ) // ........ + // method line 69 + .method public hidebysig specialname + instance default bool get_Primary () cil managed + { + // Method begins at RVA 0x325c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_primary + IL_0007: stloc.0 + IL_0008: br IL_000d - .field private class [mscorlib]System.Text.StringBuilder _arguments - .field private string _programFileName - .field private class [mscorlib]System.IO.DirectoryInfo _workingDirectory - .field private class [mscorlib]System.IO.FileInfo _assemblyFile - .field private class [mscorlib]System.IO.FileInfo _regfile - .field private class [mscorlib]System.IO.FileInfo _typelib - .field private bool _codebase - .field private bool _unregister - .field private bool _registered - .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _assemblies - .field private class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet _references + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbImpTask::get_Primary - // method line 78 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 70 + .method public hidebysig specialname + instance default void set_Primary (bool 'value') cil managed { - // Method begins at RVA 0x317c - // Code size 40 (0x28) + // Method begins at RVA 0x3277 + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_000b: ldarg.0 - IL_000c: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_0011: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_assemblies - IL_0016: ldarg.0 - IL_0017: newobj instance void class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet::'.ctor'() - IL_001c: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_references - IL_0021: ldarg.0 - IL_0022: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() - IL_0027: ret - } // end of method RegAsmTask::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_primary + IL_0008: ret + } // end of method TlbImpTask::set_Primary - // method line 79 + // method line 71 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_PublicKeyFile () cil managed { - // Method begins at RVA 0x31a8 + // Method begins at RVA 0x3284 // Code size 15 (0xf) .maxstack 1 .locals init ( class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_assemblyFile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_publicKeyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_AssemblyFile + } // end of method TlbImpTask::get_PublicKeyFile - // method line 80 + // method line 72 .method public hidebysig specialname - instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x31c3 + // Method begins at RVA 0x329f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_assemblyFile + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_publicKeyFile IL_0008: ret - } // end of method RegAsmTask::set_AssemblyFile + } // end of method TlbImpTask::set_PublicKeyFile - // method line 81 + // method line 73 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_RegistryFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_KeyFile () cil managed { - // Method begins at RVA 0x31d0 + // Method begins at RVA 0x32ac // Code size 15 (0xf) .maxstack 1 .locals init ( class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_regfile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_keyFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_RegistryFile + } // end of method TlbImpTask::get_KeyFile - // method line 82 + // method line 74 .method public hidebysig specialname - instance default void set_RegistryFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x31eb + // Method begins at RVA 0x32c7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_regfile + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_keyFile IL_0008: ret - } // end of method RegAsmTask::set_RegistryFile + } // end of method TlbImpTask::set_KeyFile - // method line 83 + // method line 75 .method public hidebysig specialname - instance default bool get_CodeBase () cil managed + instance default string get_KeyContainer () cil managed { - // Method begins at RVA 0x31f8 + // Method begins at RVA 0x32d4 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.RegAsmTask::_codebase + IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_keyContainer IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_CodeBase + } // end of method TlbImpTask::get_KeyContainer - // method line 84 + // method line 76 .method public hidebysig specialname - instance default void set_CodeBase (bool 'value') cil managed + instance default void set_KeyContainer (string 'value') cil managed { - // Method begins at RVA 0x3213 - // Code size 9 (0x9) + // Method begins at RVA 0x32ef + // Code size 14 (0xe) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.RegAsmTask::_codebase - IL_0008: ret - } // end of method RegAsmTask::set_CodeBase + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_keyContainer + IL_000d: ret + } // end of method TlbImpTask::set_KeyContainer - // method line 85 + // method line 77 .method public hidebysig specialname - instance default bool get_Registered () cil managed + instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed { - // Method begins at RVA 0x3220 + // Method begins at RVA 0x3300 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.RegAsmTask::_registered + IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::_references IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_Registered + } // end of method TlbImpTask::get_References - // method line 86 + // method line 78 .method public hidebysig specialname - instance default void set_Registered (bool 'value') cil managed + instance default void set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed { - // Method begins at RVA 0x323b + // Method begins at RVA 0x331b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.RegAsmTask::_registered + IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::_references IL_0008: ret - } // end of method RegAsmTask::set_Registered + } // end of method TlbImpTask::set_References - // method line 87 + // method line 79 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_TypeLib () cil managed + instance default bool get_StrictRef () cil managed { - // Method begins at RVA 0x3248 + // Method begins at RVA 0x3328 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_typelib + IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_strictref IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_TypeLib + } // end of method TlbImpTask::get_StrictRef - // method line 88 + // method line 80 .method public hidebysig specialname - instance default void set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_StrictRef (bool 'value') cil managed { - // Method begins at RVA 0x3263 + // Method begins at RVA 0x3343 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::_typelib + IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_strictref IL_0008: ret - } // end of method RegAsmTask::set_TypeLib + } // end of method TlbImpTask::set_StrictRef - // method line 89 + // method line 81 .method public hidebysig specialname - instance default bool get_Unregister () cil managed + instance default bool get_SysArray () cil managed { - // Method begins at RVA 0x3270 + // Method begins at RVA 0x3350 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Win32.Tasks.RegAsmTask::_unregister + IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_sysarray IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_Unregister + } // end of method TlbImpTask::get_SysArray - // method line 90 + // method line 82 .method public hidebysig specialname - instance default void set_Unregister (bool 'value') cil managed + instance default void set_SysArray (bool 'value') cil managed { - // Method begins at RVA 0x328b + // Method begins at RVA 0x336b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Win32.Tasks.RegAsmTask::_unregister + IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_sysarray IL_0008: ret - } // end of method RegAsmTask::set_Unregister + } // end of method TlbImpTask::set_SysArray - // method line 91 + // method line 83 .method public hidebysig specialname - instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_Assemblies () cil managed + instance default string get_Transform () cil managed { - // Method begins at RVA 0x3298 + // Method begins at RVA 0x3378 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_assemblies + IL_0002: ldfld string NAnt.Win32.Tasks.TlbImpTask::_transform IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_Assemblies + } // end of method TlbImpTask::get_Transform - // method line 92 + // method line 84 .method public hidebysig specialname - instance default void set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + instance default void set_Transform (string 'value') cil managed + { + // Method begins at RVA 0x3393 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Win32.Tasks.TlbImpTask::_transform + IL_000d: ret + } // end of method TlbImpTask::set_Transform + + // method line 85 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_TypeLib () cil managed + { + // Method begins at RVA 0x33a4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_typelib + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbImpTask::get_TypeLib + + // method line 86 + .method public hidebysig specialname + instance default void set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x32b3 + // Method begins at RVA 0x33bf // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_assemblies + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::_typelib IL_0008: ret - } // end of method RegAsmTask::set_Assemblies + } // end of method TlbImpTask::set_TypeLib - // method line 93 + // method line 87 .method public hidebysig specialname - instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet get_References () cil managed + instance default bool get_Unsafe () cil managed { - // Method begins at RVA 0x32c0 + // Method begins at RVA 0x33cc // Code size 15 (0xf) .maxstack 1 .locals init ( - class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_references + IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_unsafe IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method RegAsmTask::get_References + } // end of method TlbImpTask::get_Unsafe - // method line 94 + // method line 88 .method public hidebysig specialname - instance default void set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') cil managed + instance default void set_Unsafe (bool 'value') cil managed { - // Method begins at RVA 0x32db + // Method begins at RVA 0x33e7 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::_references + IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_unsafe IL_0008: ret - } // end of method RegAsmTask::set_References + } // end of method TlbImpTask::set_Unsafe - // method line 95 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + // method line 89 + .method public hidebysig specialname + instance default bool get_SupportsTransform () cil managed { - // Method begins at RVA 0x32e8 - // Code size 39 (0x27) + // Method begins at RVA 0x33f4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory - IL_0007: brtrue IL_0019 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_0013: stloc.0 - IL_0014: br IL_0025 - - IL_0019: ldarg.0 - IL_001a: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_0002: ldfld bool NAnt.Win32.Tasks.TlbImpTask::_supportsTransform + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0025: ldloc.0 - IL_0026: ret - } // end of method RegAsmTask::get_BaseDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbImpTask::get_SupportsTransform - // method line 96 - .method public virtual hidebysig specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 90 + .method public hidebysig specialname + instance default void set_SupportsTransform (bool 'value') cil managed { - // Method begins at RVA 0x331b + // Method begins at RVA 0x340f // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory + IL_0003: stfld bool NAnt.Win32.Tasks.TlbImpTask::_supportsTransform IL_0008: ret - } // end of method RegAsmTask::set_BaseDirectory + } // end of method TlbImpTask::set_SupportsTransform - // method line 97 + // method line 91 .method public virtual hidebysig specialname instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x3328 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_0007: callvirt instance string object::ToString() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method RegAsmTask::get_ProgramArguments - - // method line 98 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed - { - // Method begins at RVA 0x3348 + // Method begins at RVA 0x341c // Code size 40 (0x28) - .maxstack 2 + .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName - IL_0007: brtrue IL_001a + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0007: brfalse IL_001e IL_000c: nop IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_0014: stfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: ldfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName - IL_0020: stloc.0 - IL_0021: br IL_0026 - - IL_0026: ldloc.0 - IL_0027: ret - } // end of method RegAsmTask::get_ProgramFileName - - // method line 99 - .method family virtual hidebysig - instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed - { - // Method begins at RVA 0x337c - // Code size 524 (0x20c) - .maxstack 3 - .locals init ( - class [NAnt.Core]NAnt.Core.Tasks.CopyTask V_0, - string V_1, - class [System]System.Collections.Specialized.StringEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - string V_4, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_000c: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0011: brtrue IL_0023 - - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: ldarg.1 - IL_0019: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) - IL_001e: br IL_020b - - IL_0023: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::'.ctor'() - IL_0028: stloc.0 - IL_0029: ldloc.0 - IL_002a: ldarg.0 - IL_002b: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_0035: ldloc.0 - IL_0036: ldarg.0 - IL_0037: call instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_003c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_0041: ldloc.0 - IL_0042: ldarg.0 - IL_0043: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_0048: ldloc.0 - IL_0049: ldarg.0 - IL_004a: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_004f: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Verbose(bool) - IL_0054: ldloc.0 - IL_0055: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_005a: brtrue IL_006c - - IL_005f: nop - IL_0060: ldloc.0 - IL_0061: ldc.i4 4000 - IL_0066: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_006b: nop - IL_006c: ldloc.0 - IL_006d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_0072: ldloc.0 - IL_0073: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0078: ldloc.0 - IL_0079: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_007e: ldloc.0 - IL_007f: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0084: ldloc.0 - IL_0085: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_008a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_008f: ldloc.0 - IL_0090: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0095: ldloc.0 - IL_0096: callvirt instance class [System.Xml]System.Xml.XmlNamespaceManager class [NAnt.Core]NAnt.Core.Element::get_NamespaceManager() - IL_009b: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_NamespaceManager(class [System.Xml]System.Xml.XmlNamespaceManager) - IL_00a0: ldloc.0 - IL_00a1: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_00a6: ldarg.0 - IL_00a7: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_00ac: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() - IL_00b1: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_00b6: ldloc.0 - IL_00b7: ldc.i4.1 - IL_00b8: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_Flatten(bool) - IL_00bd: nop - IL_00be: ldarg.0 - IL_00bf: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_00c4: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_00c9: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_00ce: stloc.2 - .try { // 0 - IL_00cf: br IL_00ef - - IL_00d4: ldloc.2 - IL_00d5: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_00da: stloc.1 - IL_00db: nop - IL_00dc: ldloc.0 - IL_00dd: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_00e2: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_00e7: ldloc.1 - IL_00e8: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00ed: pop - IL_00ee: nop - IL_00ef: ldloc.2 - IL_00f0: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_00f5: brtrue IL_00d4 - - IL_00fa: leave IL_0113 - - } // end .try 0 - finally { // 0 - IL_00ff: ldloc.2 - IL_0100: isinst [mscorlib]System.IDisposable - IL_0105: dup - IL_0106: stloc.3 - IL_0107: brfalse IL_0112 - - IL_010c: ldloc.3 - IL_010d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0112: endfinally - } // end handler 0 - IL_0113: nop - IL_0114: ldarg.0 - IL_0115: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_011a: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_011f: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0124: stloc.s 5 - .try { // 1 - IL_0126: br IL_0149 - - IL_012b: ldloc.s 5 - IL_012d: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0132: stloc.s 4 - IL_0134: nop - IL_0135: ldloc.0 - IL_0136: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_013b: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0140: ldloc.s 4 - IL_0142: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0147: pop - IL_0148: nop - IL_0149: ldloc.s 5 - IL_014b: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_0150: brtrue IL_012b - - IL_0155: leave IL_0171 - - } // end .try 1 - finally { // 1 - IL_015a: ldloc.s 5 - IL_015c: isinst [mscorlib]System.IDisposable - IL_0161: dup - IL_0162: stloc.s 6 - IL_0164: brfalse IL_0170 - - IL_0169: ldloc.s 6 - IL_016b: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0170: endfinally - } // end handler 1 - IL_0171: ldarg.0 - IL_0172: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() - IL_0177: brfalse IL_019a + IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0013: callvirt instance string object::ToString() + IL_0018: stloc.0 + IL_0019: br IL_0026 - IL_017c: nop - IL_017d: ldloc.0 - IL_017e: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_0183: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_0188: ldarg.0 - IL_0189: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() - IL_018e: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0193: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0198: pop - IL_0199: nop - IL_019a: ldloc.0 - IL_019b: callvirt instance class [NAnt.Core]NAnt.Core.Types.FileSet class [NAnt.Core]NAnt.Core.Tasks.CopyTask::get_CopyFileSet() - IL_01a0: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_Includes() - IL_01a5: ldarg.0 - IL_01a6: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_01ab: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_01b0: pop - IL_01b1: ldloc.0 - IL_01b2: ldarg.0 - IL_01b3: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_01b8: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_01bd: ldloc.0 - IL_01be: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_01c3: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Indent() - .try { // 2 - IL_01c8: nop - IL_01c9: ldloc.0 - IL_01ca: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_01cf: nop - IL_01d0: leave IL_01e3 + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 - } // end .try 2 - finally { // 2 - IL_01d5: nop - IL_01d6: ldloc.0 - IL_01d7: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_01dc: callvirt instance void class [NAnt.Core]NAnt.Core.Project::Unindent() - IL_01e1: nop - IL_01e2: endfinally - } // end handler 2 - IL_01e3: ldarg.0 - IL_01e4: ldarg.0 - IL_01e5: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_BaseDirectory() - IL_01ea: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01ef: ldarg.0 - IL_01f0: call instance string class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName() - IL_01f5: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_01fa: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_01ff: stfld string NAnt.Win32.Tasks.RegAsmTask::_programFileName - IL_0204: ldarg.0 - IL_0205: ldarg.1 - IL_0206: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::PrepareProcess(class [System]System.Diagnostics.Process) - IL_020b: ret - } // end of method RegAsmTask::PrepareProcess + IL_0026: ldloc.0 + IL_0027: ret + } // end of method TlbImpTask::get_ProgramArguments - // method line 100 + // method line 92 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x35bc - // Code size 757 (0x2f5) - .maxstack 7 + // Method begins at RVA 0x3450 + // Code size 689 (0x2b1) + .maxstack 4 .locals init ( string V_0, class [System]System.Collections.Specialized.StringEnumerator V_1, - class [mscorlib]System.IDisposable V_2, - class [NAnt.Core]NAnt.Core.Tasks.DeleteTask V_3) + class [mscorlib]System.IDisposable V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() - IL_0007: brtrue IL_0027 + IL_0002: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() + IL_0007: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_000c: brtrue IL_002e - IL_000c: ldarg.0 - IL_000d: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_0012: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0017: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_001c: brtrue IL_0027 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() + IL_0018: ldarg.0 + IL_0019: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() + IL_001e: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() + IL_0023: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_0028: callvirt instance void class [NAnt.Core]NAnt.Core.Types.FileSet::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_002d: nop + IL_002e: ldarg.0 + IL_002f: callvirt instance bool class NAnt.Win32.Tasks.TlbImpTask::NeedsCompiling() + IL_0034: brfalse IL_02b0 - IL_0021: nop - IL_0022: br IL_02f4 + IL_0039: nop + IL_003a: ldarg.0 + IL_003b: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0040: stfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0045: ldarg.0 + IL_0046: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_004b: ldstr "\"" + IL_0050: ldarg.0 + IL_0051: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_TypeLib() + IL_0056: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_005b: ldstr "\"" + IL_0060: call string string::Concat(string, string, string) + IL_0065: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_006a: pop + IL_006b: ldarg.0 + IL_006c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0071: ldstr " /out:\"{0}\"" + IL_0076: ldarg.0 + IL_0077: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() + IL_007c: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0081: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0086: pop + IL_0087: ldarg.0 + IL_0088: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_008d: ldstr " /nologo" + IL_0092: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0097: pop + IL_0098: ldarg.0 + IL_0099: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_AsmVersion() + IL_009e: brfalse IL_00bc - IL_0027: ldarg.0 - IL_0028: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_References() - IL_002d: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0032: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0037: brfalse IL_0049 + IL_00a3: nop + IL_00a4: ldarg.0 + IL_00a5: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_00aa: ldstr " /asmversion:\"{0}\"" + IL_00af: ldarg.0 + IL_00b0: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_AsmVersion() + IL_00b5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_00ba: pop + IL_00bb: nop + IL_00bc: ldarg.0 + IL_00bd: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Namespace() + IL_00c2: brfalse IL_00e0 + + IL_00c7: nop + IL_00c8: ldarg.0 + IL_00c9: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_00ce: ldstr " /namespace:\"{0}\"" + IL_00d3: ldarg.0 + IL_00d4: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Namespace() + IL_00d9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_00de: pop + IL_00df: nop + IL_00e0: ldarg.0 + IL_00e1: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_Primary() + IL_00e6: brfalse IL_00fe + + IL_00eb: nop + IL_00ec: ldarg.0 + IL_00ed: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_00f2: ldstr " /primary" + IL_00f7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00fc: pop + IL_00fd: nop + IL_00fe: ldarg.0 + IL_00ff: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_Unsafe() + IL_0104: brfalse IL_011c + + IL_0109: nop + IL_010a: ldarg.0 + IL_010b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0110: ldstr " /unsafe" + IL_0115: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_011a: pop + IL_011b: nop + IL_011c: ldarg.0 + IL_011d: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_DelaySign() + IL_0122: brfalse IL_013a + + IL_0127: nop + IL_0128: ldarg.0 + IL_0129: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_012e: ldstr " /delaysign" + IL_0133: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0138: pop + IL_0139: nop + IL_013a: ldarg.0 + IL_013b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_PublicKeyFile() + IL_0140: brfalse IL_0163 + + IL_0145: nop + IL_0146: ldarg.0 + IL_0147: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_014c: ldstr " /publickey:\"{0}\"" + IL_0151: ldarg.0 + IL_0152: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_PublicKeyFile() + IL_0157: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_015c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0161: pop + IL_0162: nop + IL_0163: ldarg.0 + IL_0164: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_KeyFile() + IL_0169: brfalse IL_018c + + IL_016e: nop + IL_016f: ldarg.0 + IL_0170: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0175: ldstr " /keyfile:\"{0}\"" + IL_017a: ldarg.0 + IL_017b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_KeyFile() + IL_0180: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0185: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_018a: pop + IL_018b: nop + IL_018c: ldarg.0 + IL_018d: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_KeyContainer() + IL_0192: brfalse IL_01b0 + + IL_0197: nop + IL_0198: ldarg.0 + IL_0199: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_019e: ldstr " /keycontainer:\"{0}\"" + IL_01a3: ldarg.0 + IL_01a4: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_KeyContainer() + IL_01a9: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_01ae: pop + IL_01af: nop + IL_01b0: ldarg.0 + IL_01b1: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_StrictRef() + IL_01b6: brfalse IL_01ce + + IL_01bb: nop + IL_01bc: ldarg.0 + IL_01bd: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_01c2: ldstr " /strictref" + IL_01c7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01cc: pop + IL_01cd: nop + IL_01ce: ldarg.0 + IL_01cf: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_SysArray() + IL_01d4: brfalse IL_01ec + + IL_01d9: nop + IL_01da: ldarg.0 + IL_01db: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_01e0: ldstr " /sysarray" + IL_01e5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_01ea: pop + IL_01eb: nop + IL_01ec: ldarg.0 + IL_01ed: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Transform() + IL_01f2: brfalse IL_021d + + IL_01f7: nop + IL_01f8: ldarg.0 + IL_01f9: call instance bool class NAnt.Win32.Tasks.TlbImpTask::get_SupportsTransform() + IL_01fe: brfalse IL_021c + + IL_0203: nop + IL_0204: ldarg.0 + IL_0205: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_020a: ldstr " /transform:\"{0}\"" + IL_020f: ldarg.0 + IL_0210: call instance string class NAnt.Win32.Tasks.TlbImpTask::get_Transform() + IL_0215: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_021a: pop + IL_021b: nop + IL_021c: nop + IL_021d: ldarg.0 + IL_021e: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0223: brfalse IL_0240 - IL_003c: nop - IL_003d: ldarg.0 - IL_003e: call class [mscorlib]System.IO.DirectoryInfo class [NAnt.Core]NAnt.Core.Util.FileUtils::GetTempDirectory() - IL_0043: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_BaseDirectory(class [mscorlib]System.IO.DirectoryInfo) - IL_0048: nop - IL_0049: ldarg.0 - IL_004a: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() - IL_004f: brfalse IL_0067 + IL_0228: nop + IL_0229: ldarg.0 + IL_022a: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_022f: ldstr " /verbose" + IL_0234: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0239: pop + IL_023a: nop + IL_023b: br IL_0253 - IL_0054: nop - IL_0055: ldarg.0 - IL_0056: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_005b: ldstr " /unregister" - IL_0060: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0065: pop - IL_0066: nop - IL_0067: ldarg.0 - IL_0068: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_TypeLib() - IL_006d: brfalse IL_0095 + IL_0240: nop + IL_0241: ldarg.0 + IL_0242: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0247: ldstr " /silent" + IL_024c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0251: pop + IL_0252: nop + IL_0253: nop + IL_0254: ldarg.0 + IL_0255: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() + IL_025a: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_025f: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() + IL_0264: stloc.1 + .try { // 0 + IL_0265: br IL_0285 - IL_0072: nop - IL_0073: ldarg.0 - IL_0074: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_0079: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_007e: ldstr " /tlb:\"{0}\"" - IL_0083: ldarg.0 - IL_0084: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_TypeLib() - IL_0089: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_008e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_0093: pop - IL_0094: nop - IL_0095: ldarg.0 - IL_0096: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_CodeBase() - IL_009b: brfalse IL_00b3 + IL_026a: ldloc.1 + IL_026b: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() + IL_0270: stloc.0 + IL_0271: nop + IL_0272: ldarg.0 + IL_0273: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbImpTask::_argumentBuilder + IL_0278: ldstr " /reference:\"{0}\"" + IL_027d: ldloc.0 + IL_027e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0283: pop + IL_0284: nop + IL_0285: ldloc.1 + IL_0286: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_028b: brtrue IL_026a - IL_00a0: nop - IL_00a1: ldarg.0 - IL_00a2: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_00a7: ldstr " /codebase" - IL_00ac: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00b1: pop - IL_00b2: nop - IL_00b3: ldarg.0 - IL_00b4: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_RegistryFile() - IL_00b9: brfalse IL_00e1 + IL_0290: leave IL_02a9 - IL_00be: nop - IL_00bf: ldarg.0 - IL_00c0: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_00c5: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00ca: ldstr " /regfile:\"{0}\"" - IL_00cf: ldarg.0 - IL_00d0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_RegistryFile() - IL_00d5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00da: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_00df: pop - IL_00e0: nop - IL_00e1: ldarg.0 - IL_00e2: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Registered() - IL_00e7: brfalse IL_00ff + } // end .try 0 + finally { // 0 + IL_0295: ldloc.1 + IL_0296: isinst [mscorlib]System.IDisposable + IL_029b: dup + IL_029c: stloc.2 + IL_029d: brfalse IL_02a8 - IL_00ec: nop - IL_00ed: ldarg.0 - IL_00ee: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_00f3: ldstr " /registered" - IL_00f8: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00fd: pop - IL_00fe: nop - IL_00ff: ldarg.0 - IL_0100: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() - IL_0105: brfalse IL_0122 + IL_02a2: ldloc.2 + IL_02a3: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02a8: endfinally + } // end handler 0 + IL_02a9: ldarg.0 + IL_02aa: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_02af: nop + IL_02b0: ret + } // end of method TlbImpTask::ExecuteTask - IL_010a: nop - IL_010b: ldarg.0 - IL_010c: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_0111: ldstr " /verbose" - IL_0116: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_011b: pop - IL_011c: nop - IL_011d: br IL_0135 + // method line 93 + .method public static hidebysig + default string ExtractTypeLibPath (string path) cil managed + { + // Method begins at RVA 0x3720 + // Code size 60 (0x3c) + .maxstack 4 + .locals init ( + class [System]System.Text.RegularExpressions.Regex V_0, + string V_1) + IL_0000: nop + IL_0001: ldstr "^.*\\\\\\d+$" + IL_0006: ldc.i4.s 0x23 + IL_0008: newobj instance void class [System]System.Text.RegularExpressions.Regex::'.ctor'(string, valuetype [System]System.Text.RegularExpressions.RegexOptions) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldarg.0 + IL_0010: callvirt instance bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string) + IL_0015: brfalse IL_0033 - IL_0122: nop - IL_0123: ldarg.0 - IL_0124: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_0129: ldstr " /silent" - IL_012e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0133: pop - IL_0134: nop - IL_0135: ldarg.0 - IL_0136: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_013b: ldstr " /nologo" - IL_0140: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0145: pop - IL_0146: ldarg.0 - IL_0147: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() - IL_014c: brfalse IL_01bb + IL_001a: nop + IL_001b: ldarg.0 + IL_001c: ldc.i4.0 + IL_001d: ldarg.0 + IL_001e: ldstr "\\" + IL_0023: callvirt instance int32 string::LastIndexOf(string) + IL_0028: callvirt instance string string::Substring(int32, int32) + IL_002d: stloc.1 + IL_002e: br IL_003a - IL_0151: nop - IL_0152: ldarg.0 - IL_0153: ldc.i4 3000 - IL_0158: ldstr "{0} '{1}' for COM Interop" - IL_015d: ldc.i4.2 - IL_015e: newarr [mscorlib]System.Object - IL_0163: dup - IL_0164: ldc.i4.0 - IL_0165: ldarg.0 - IL_0166: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() - IL_016b: brfalse IL_017a + IL_0033: ldarg.0 + IL_0034: stloc.1 + IL_0035: br IL_003a - IL_0170: ldstr "Unregistering" - IL_0175: br IL_017f + IL_003a: ldloc.1 + IL_003b: ret + } // end of method TlbImpTask::ExtractTypeLibPath - IL_017a: ldstr "Registering" - IL_017f: stelem.ref - IL_0180: dup - IL_0181: ldc.i4.1 - IL_0182: ldarg.0 - IL_0183: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() - IL_0188: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_018d: stelem.ref - IL_018e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0193: ldarg.0 - IL_0194: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_0199: ldstr " \"{0}\"" - IL_019e: ldarg.0 - IL_019f: ldarg.0 - IL_01a0: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile() - IL_01a5: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_01aa: call instance string class NAnt.Win32.Tasks.RegAsmTask::GetAssemblyPath(string) - IL_01af: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_01b4: pop - IL_01b5: nop - IL_01b6: br IL_029b + // method line 94 + .method family virtual hidebysig newslot + instance default bool NeedsCompiling () cil managed + { + // Method begins at RVA 0x3768 + // Code size 213 (0xd5) + .maxstack 7 + .locals init ( + bool V_0, + string V_1, + string V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_003d - IL_01bb: nop - IL_01bc: ldarg.0 - IL_01bd: ldc.i4 3000 - IL_01c2: ldstr "{0} {1} files for COM interop" - IL_01c7: ldc.i4.2 - IL_01c8: newarr [mscorlib]System.Object - IL_01cd: dup - IL_01ce: ldc.i4.0 - IL_01cf: ldarg.0 - IL_01d0: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() - IL_01d5: brfalse IL_01e4 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldc.i4 2000 + IL_0018: ldstr "Output file '{0}' does not exist, recompiling." + IL_001d: ldc.i4.1 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldarg.0 + IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() + IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0030: stelem.ref + IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0036: ldc.i4.1 + IL_0037: stloc.0 + IL_0038: br IL_00d3 - IL_01da: ldstr "UnRegistering" - IL_01df: br IL_01e9 + IL_003d: ldarg.0 + IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_TypeLib() + IL_0043: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0048: call string class NAnt.Win32.Tasks.TlbImpTask::ExtractTypeLibPath(string) + IL_004d: stloc.1 + IL_004e: ldloc.1 + IL_004f: ldarg.0 + IL_0050: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() + IL_0055: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_005a: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_005f: stloc.2 + IL_0060: ldloc.2 + IL_0061: brfalse IL_0088 - IL_01e4: ldstr "Registering" - IL_01e9: stelem.ref - IL_01ea: dup - IL_01eb: ldc.i4.1 - IL_01ec: ldarg.0 - IL_01ed: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_01f2: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_01f7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_01fc: box [mscorlib]System.Int32 - IL_0201: stelem.ref - IL_0202: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_0207: nop - IL_0208: ldarg.0 - IL_0209: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.RegAsmTask::get_Assemblies() - IL_020e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() - IL_0213: callvirt instance class [System]System.Collections.Specialized.StringEnumerator class [System]System.Collections.Specialized.StringCollection::GetEnumerator() - IL_0218: stloc.1 - .try { // 0 - IL_0219: br IL_0276 + IL_0066: nop + IL_0067: ldarg.0 + IL_0068: ldc.i4 2000 + IL_006d: ldstr "'{0}' has been updated, recompiling." + IL_0072: ldc.i4.1 + IL_0073: newarr [mscorlib]System.Object + IL_0078: dup + IL_0079: ldc.i4.0 + IL_007a: ldloc.2 + IL_007b: stelem.ref + IL_007c: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0081: ldc.i4.1 + IL_0082: stloc.0 + IL_0083: br IL_00d3 - IL_021e: ldloc.1 - IL_021f: callvirt instance string class [System]System.Collections.Specialized.StringEnumerator::get_Current() - IL_0224: stloc.0 - IL_0225: nop - IL_0226: ldarg.0 - IL_0227: ldc.i4 2000 - IL_022c: ldstr "{0} '{1}' for COM Interop" - IL_0231: ldc.i4.2 - IL_0232: newarr [mscorlib]System.Object - IL_0237: dup - IL_0238: ldc.i4.0 - IL_0239: ldarg.0 - IL_023a: call instance bool class NAnt.Win32.Tasks.RegAsmTask::get_Unregister() - IL_023f: brfalse IL_024e + IL_0088: ldarg.0 + IL_0089: call instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet class NAnt.Win32.Tasks.TlbImpTask::get_References() + IL_008e: callvirt instance class [System]System.Collections.Specialized.StringCollection class [NAnt.Core]NAnt.Core.Types.FileSet::get_FileNames() + IL_0093: ldarg.0 + IL_0094: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbImpTask::get_OutputFile() + IL_0099: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_009e: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(class [System]System.Collections.Specialized.StringCollection, valuetype [mscorlib]System.DateTime) + IL_00a3: stloc.2 + IL_00a4: ldloc.2 + IL_00a5: brfalse IL_00cc - IL_0244: ldstr "UnRegistering" - IL_0249: br IL_0253 + IL_00aa: nop + IL_00ab: ldarg.0 + IL_00ac: ldc.i4 2000 + IL_00b1: ldstr "'{0}' has been updated, recompiling." + IL_00b6: ldc.i4.1 + IL_00b7: newarr [mscorlib]System.Object + IL_00bc: dup + IL_00bd: ldc.i4.0 + IL_00be: ldloc.2 + IL_00bf: stelem.ref + IL_00c0: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00c5: ldc.i4.1 + IL_00c6: stloc.0 + IL_00c7: br IL_00d3 - IL_024e: ldstr "Registering" - IL_0253: stelem.ref - IL_0254: dup - IL_0255: ldc.i4.1 - IL_0256: ldloc.0 - IL_0257: stelem.ref - IL_0258: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) - IL_025d: ldarg.0 - IL_025e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.RegAsmTask::_arguments - IL_0263: ldstr " \"{0}\"" - IL_0268: ldarg.0 - IL_0269: ldloc.0 - IL_026a: call instance string class NAnt.Win32.Tasks.RegAsmTask::GetAssemblyPath(string) - IL_026f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) - IL_0274: pop - IL_0275: nop - IL_0276: ldloc.1 - IL_0277: callvirt instance bool class [System]System.Collections.Specialized.StringEnumerator::MoveNext() - IL_027c: brtrue IL_021e + IL_00cc: ldc.i4.0 + IL_00cd: stloc.0 + IL_00ce: br IL_00d3 - IL_0281: leave IL_029a + IL_00d3: ldloc.0 + IL_00d4: ret + } // end of method TlbImpTask::NeedsCompiling - } // end .try 0 - finally { // 0 - IL_0286: ldloc.1 - IL_0287: isinst [mscorlib]System.IDisposable - IL_028c: dup - IL_028d: stloc.2 - IL_028e: brfalse IL_0299 + .property instance class [mscorlib]System.IO.FileInfo OutputFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - IL_0293: ldloc.2 - IL_0294: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0299: endfinally - } // end handler 0 - IL_029a: nop - .try { // 1 - IL_029b: nop - IL_029c: ldarg.0 - IL_029d: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() - IL_02a2: nop - IL_02a3: leave IL_02f4 + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_OutputFile () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string Namespace () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 6E 61 6D 65 73 70 61 63 65 00 00 ) // ...namespace.. - } // end .try 1 - finally { // 1 - IL_02a8: nop - IL_02a9: ldarg.0 - IL_02aa: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory - IL_02af: brfalse IL_02f2 + .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_Namespace () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Namespace (string 'value') + } + .property instance string AsmVersion () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 61 73 6D 76 65 72 73 69 6F 6E 00 00 ) // ...asmversion.. - IL_02b4: nop - IL_02b5: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::'.ctor'() - IL_02ba: stloc.3 - IL_02bb: ldloc.3 - IL_02bc: ldarg.0 - IL_02bd: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() - IL_02c2: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) - IL_02c7: ldloc.3 - IL_02c8: ldarg.0 - IL_02c9: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) - IL_02ce: ldloc.3 - IL_02cf: callvirt instance void class [NAnt.Core]NAnt.Core.Task::InitializeTaskConfiguration() - IL_02d4: ldloc.3 - IL_02d5: ldarg.0 - IL_02d6: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory - IL_02db: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.DeleteTask::set_Directory(class [mscorlib]System.IO.DirectoryInfo) - IL_02e0: ldloc.3 - IL_02e1: ldc.i4 9999 - IL_02e6: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) - IL_02eb: ldloc.3 - IL_02ec: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() - IL_02f1: nop - IL_02f2: nop - IL_02f3: endfinally - } // end handler 1 - IL_02f4: ret - } // end of method RegAsmTask::ExecuteTask + .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_AsmVersion () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_AsmVersion (string 'value') + } + .property instance bool DelaySign () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 64 65 6C 61 79 73 69 67 6E 00 00 ) // ...delaysign.. - // method line 101 - .method private hidebysig - instance default string GetAssemblyPath (string 'assembly') cil managed - { - // Method begins at RVA 0x38dc - // Code size 50 (0x32) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory - IL_0007: brtrue IL_0014 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: stloc.0 - IL_000f: br IL_0030 + .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_DelaySign () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_DelaySign (bool 'value') + } + .property instance bool Primary () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 70 72 69 6D 61 72 79 00 00 ) // ...primary.. - IL_0014: ldarg.0 - IL_0015: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::_workingDirectory - IL_001a: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001f: ldarg.1 - IL_0020: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_0025: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_002a: stloc.0 - IL_002b: br IL_0030 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_0030: ldloc.0 - IL_0031: ret - } // end of method RegAsmTask::GetAssemblyPath + .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_Primary () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Primary (bool 'value') + } + .property instance class [mscorlib]System.IO.FileInfo PublicKeyFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 70 75 62 6C 69 63 6B 65 79 00 00 ) // ...publickey.. - .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_PublicKeyFile () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_PublicKeyFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.FileInfo KeyFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 61 73 73 65 6D 62 6C 79 00 00 ) // ...assembly.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6B 65 79 66 69 6C 65 00 00 ) // ...keyfile.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::get_AssemblyFile () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_KeyFile () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_KeyFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance string KeyContainer () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 0C 6B 65 79 63 6F 6E 74 61 69 6E 65 72 00 // ...keycontainer. + 00 ) // . + + .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_KeyContainer () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_KeyContainer (string 'value') } - .property instance class [mscorlib]System.IO.FileInfo RegistryFile () + .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet References () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 72 65 67 66 69 6C 65 00 00 ) // ...regfile.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::get_RegistryFile () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_RegistryFile (class [mscorlib]System.IO.FileInfo 'value') + .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.TlbImpTask::get_References () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') } - .property instance bool CodeBase () + .property instance bool StrictRef () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 63 6F 64 65 62 61 73 65 00 00 ) // ...codebase.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 73 74 72 69 63 74 72 65 66 00 00 ) // ...strictref.. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Win32.Tasks.RegAsmTask::get_CodeBase () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_CodeBase (bool 'value') + .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_StrictRef () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_StrictRef (bool 'value') } - .property instance bool Registered () + .property instance bool SysArray () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 72 65 67 69 73 74 65 72 65 64 00 00 ) // ...registered.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 73 79 73 61 72 72 61 79 00 00 ) // ...sysarray.. .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default bool NAnt.Win32.Tasks.RegAsmTask::get_Registered () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_Registered (bool 'value') + .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_SysArray () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_SysArray (bool 'value') } - .property instance class [mscorlib]System.IO.FileInfo TypeLib () + .property instance string Transform () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 74 79 70 65 6C 69 62 00 00 ) // ...typelib.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 09 74 72 61 6E 73 66 6F 72 6D 00 00 ) // ...transform.. - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.RegAsmTask::get_TypeLib () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') + .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_Transform () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Transform (string 'value') } - .property instance bool Unregister () + .property instance class [mscorlib]System.IO.FileInfo TypeLib () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 75 6E 72 65 67 69 73 74 65 72 00 00 ) // ...unregister.. - - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 74 79 70 65 6C 69 62 01 00 54 02 08 52 // ...typelib..T..R + 65 71 75 69 72 65 64 01 ) // equired. - .get instance default bool NAnt.Win32.Tasks.RegAsmTask::get_Unregister () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_Unregister (bool 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbImpTask::get_TypeLib () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_TypeLib (class [mscorlib]System.IO.FileInfo 'value') } - .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet Assemblies () + .property instance bool Unsafe () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 61 73 73 65 6D 62 6C 69 65 73 00 00 ) // ...assemblies.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 73 61 66 65 00 00 ) // ...unsafe.. - .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::get_Assemblies () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_Assemblies (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') - } - .property instance class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet References () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 72 65 66 65 72 65 6E 63 65 73 00 00 ) // ...references.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet NAnt.Win32.Tasks.RegAsmTask::get_References () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_References (class [NAnt.DotNetTasks]NAnt.DotNet.Types.AssemblyFileSet 'value') + .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_Unsafe () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_Unsafe (bool 'value') } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + .property instance bool SupportsTransform () { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Win32.Tasks.RegAsmTask::get_BaseDirectory () - .set instance default void NAnt.Win32.Tasks.RegAsmTask::set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute::'.ctor'(string) = ( + 01 00 11 73 75 70 70 6F 72 74 73 74 72 61 6E 73 // ...supportstrans + 66 6F 72 6D 00 00 ) // form.. + + .get instance default bool NAnt.Win32.Tasks.TlbImpTask::get_SupportsTransform () + .set instance default void NAnt.Win32.Tasks.TlbImpTask::set_SupportsTransform (bool 'value') } .property instance string ProgramArguments () { - .get instance default string NAnt.Win32.Tasks.RegAsmTask::get_ProgramArguments () - } - .property instance string ProgramFileName () - { - .get instance default string NAnt.Win32.Tasks.RegAsmTask::get_ProgramFileName () + .get instance default string NAnt.Win32.Tasks.TlbImpTask::get_ProgramArguments () } - } // end of class NAnt.Win32.Tasks.RegAsmTask + } // end of class NAnt.Win32.Tasks.TlbImpTask } .namespace NAnt.Win32.Tasks { - .class private auto ansi beforefieldinit LocateSdkTask + .class private auto ansi beforefieldinit MonoRegistryTask extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 09 6C 6F 63 61 74 65 73 64 6B 00 00 ) // ...locatesdk.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = ( + 01 00 0C 6D 6F 6E 6F 72 65 67 69 73 74 72 79 00 // ...monoregistry. + 00 ) // . + .field private static literal string _defaultRegKey = "SOFTWARE\\Mono" .field private string _propName - .field private string _minWinSdkVer - .field private string _maxWinSdkVer - .field private string _minNetFxVer - .field private string _maxNetFxVer - .field private initonly string _registryBase - .field private initonly string _regexNetFxTools + .field private string[] _regKeys - // method line 102 + // method line 95 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x391a - // Code size 51 (0x33) + // Method begins at RVA 0x3849 + // Code size 35 (0x23) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldstr "v6.0" - IL_0006: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer - IL_000b: ldarg.0 - IL_000c: ldstr "2.0" - IL_0011: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer - IL_0016: ldarg.0 - IL_0017: ldstr "SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows" - IL_001c: stfld string NAnt.Win32.Tasks.LocateSdkTask::_registryBase - IL_0021: ldarg.0 - IL_0022: ldstr "^WinSDK.*NetFx.*Tools.*$" - IL_0027: stfld string NAnt.Win32.Tasks.LocateSdkTask::_regexNetFxTools - IL_002c: ldarg.0 - IL_002d: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0032: ret - } // end of method LocateSdkTask::.ctor + IL_0001: ldc.i4.2 + IL_0002: newarr [mscorlib]System.String + IL_0007: dup + IL_0008: ldc.i4.0 + IL_0009: ldstr "SOFTWARE\\Wow6432Node\\Novell\\Mono" + IL_000e: stelem.ref + IL_000f: dup + IL_0010: ldc.i4.1 + IL_0011: ldstr "SOFTWARE\\Novell\\Mono" + IL_0016: stelem.ref + IL_0017: stfld string[] NAnt.Win32.Tasks.MonoRegistryTask::_regKeys + IL_001c: ldarg.0 + IL_001d: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() + IL_0022: ret + } // end of method MonoRegistryTask::.ctor - // method line 103 + // method line 96 .method public virtual hidebysig newslot specialname instance default string get_PropertyName () cil managed { - // Method begins at RVA 0x3950 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_propName - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LocateSdkTask::get_PropertyName - - // method line 104 - .method public virtual hidebysig newslot specialname - instance default void set_PropertyName (string 'value') cil managed - { - // Method begins at RVA 0x396b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_propName - IL_0008: ret - } // end of method LocateSdkTask::set_PropertyName - - // method line 105 - .method public hidebysig specialname - instance default string get_MinWinSdkVersion () cil managed - { - // Method begins at RVA 0x3978 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LocateSdkTask::get_MinWinSdkVersion - - // method line 106 - .method public hidebysig specialname - instance default void set_MinWinSdkVersion (string 'value') cil managed - { - // Method begins at RVA 0x3993 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer - IL_0008: ret - } // end of method LocateSdkTask::set_MinWinSdkVersion - - // method line 107 - .method public hidebysig specialname - instance default string get_MaxWinSdkVersion () cil managed - { - // Method begins at RVA 0x39a0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxWinSdkVer - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LocateSdkTask::get_MaxWinSdkVersion - - // method line 108 - .method public hidebysig specialname - instance default void set_MaxWinSdkVersion (string 'value') cil managed - { - // Method begins at RVA 0x39bb - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_maxWinSdkVer - IL_0008: ret - } // end of method LocateSdkTask::set_MaxWinSdkVersion - - // method line 109 - .method public hidebysig specialname - instance default string get_MinNetFxVersion () cil managed - { - // Method begins at RVA 0x39c8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LocateSdkTask::get_MinNetFxVersion - - // method line 110 - .method public hidebysig specialname - instance default void set_MinNetFxVersion (string 'value') cil managed - { - // Method begins at RVA 0x39e3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer - IL_0008: ret - } // end of method LocateSdkTask::set_MinNetFxVersion - - // method line 111 - .method public hidebysig specialname - instance default string get_MaxNetFxVersion () cil managed - { - // Method begins at RVA 0x39f0 + // Method begins at RVA 0x3870 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxNetFxVer + IL_0002: ldfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LocateSdkTask::get_MaxNetFxVersion + } // end of method MonoRegistryTask::get_PropertyName - // method line 112 - .method public hidebysig specialname - instance default void set_MaxNetFxVersion (string 'value') cil managed + // method line 97 + .method public virtual hidebysig newslot specialname + instance default void set_PropertyName (string 'value') cil managed { - // Method begins at RVA 0x3a0b + // Method begins at RVA 0x388b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Win32.Tasks.LocateSdkTask::_maxNetFxVer + IL_0003: stfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName IL_0008: ret - } // end of method LocateSdkTask::set_MaxNetFxVersion + } // end of method MonoRegistryTask::set_PropertyName - // method line 113 + // method line 98 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x3a18 - // Code size 631 (0x277) - .maxstack 6 + // Method begins at RVA 0x3898 + // Code size 100 (0x64) + .maxstack 3 .locals init ( - class [mscorlib]System.Version V_0, - class [mscorlib]System.Version V_1, - class [mscorlib]System.Version V_2, - class [mscorlib]System.Version V_3, - class [mscorlib]System.Version V_4, - class [mscorlib]System.Version V_5, - bool V_6, - class [mscorlib]Microsoft.Win32.RegistryKey V_7, - string[] V_8, - int32 V_9, - string[] V_10, - int32 V_11, - string[] V_12, - string V_13, - string[] V_14, - int32 V_15, - string V_16, - class [System.Xml]System.Xml.XmlDocument V_17, - class [System.Xml]System.Xml.XmlNode V_18, - class [System.Xml]System.Xml.XmlAttribute V_19) + string V_0, + string[] V_1, + int32 V_2, + class [mscorlib]Microsoft.Win32.RegistryKey V_3) IL_0000: nop - IL_0001: ldarg.0 + IL_0001: nop IL_0002: ldarg.0 - IL_0003: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer - IL_0008: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) - IL_000d: stloc.0 - IL_000e: ldarg.0 - IL_000f: ldarg.0 - IL_0010: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxWinSdkVer - IL_0015: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) - IL_001a: stloc.1 - IL_001b: ldnull - IL_001c: stloc.2 - IL_001d: ldarg.0 - IL_001e: ldarg.0 - IL_001f: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minNetFxVer - IL_0024: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) - IL_0029: stloc.3 - IL_002a: ldarg.0 - IL_002b: ldarg.0 - IL_002c: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_maxNetFxVer - IL_0031: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) - IL_0036: stloc.s 4 - IL_0038: ldnull - IL_0039: stloc.s 5 - IL_003b: ldc.i4.0 - IL_003c: stloc.s 6 - IL_003e: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine - IL_0043: ldarg.0 - IL_0044: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_registryBase - IL_0049: ldc.i4.0 - IL_004a: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string, bool) - IL_004f: stloc.s 7 - IL_0051: ldloc.s 7 - IL_0053: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() - IL_0058: stloc.s 8 - IL_005a: ldloc.s 8 - IL_005c: call void class [mscorlib]System.Array::Sort (!!0[]) - IL_0061: ldloc.s 8 - IL_0063: call Could not decode method token 0xc7 due to Could not find method with signature !!0[] assembly:/usr/lib/mono/4.5/mscorlib.dll type:Array member:Reverse - IL_0068: ldc.i4.0 - IL_0069: stloc.s 9 - IL_006b: br IL_0248 + IL_0003: ldfld string[] NAnt.Win32.Tasks.MonoRegistryTask::_regKeys + IL_0008: stloc.1 + IL_0009: ldc.i4.0 + IL_000a: stloc.2 + IL_000b: br IL_0044 - IL_0070: nop - IL_0071: ldarg.0 - IL_0072: ldloc.s 8 - IL_0074: ldloc.s 9 - IL_0076: ldelem.ref - IL_0077: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) - IL_007c: stloc.2 - IL_007d: ldloc.1 - IL_007e: ldnull - IL_007f: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_0084: brfalse IL_009d + IL_0010: ldloc.1 + IL_0011: ldloc.2 + IL_0012: ldelem.ref + IL_0013: stloc.0 + IL_0014: nop + IL_0015: ldsfld class [mscorlib]Microsoft.Win32.RegistryKey [mscorlib]Microsoft.Win32.Registry::LocalMachine + IL_001a: ldloc.0 + IL_001b: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) + IL_0020: stloc.3 + IL_0021: ldloc.3 + IL_0022: brfalse IL_003f - IL_0089: nop - IL_008a: ldloc.2 - IL_008b: ldloc.1 - IL_008c: call bool class [mscorlib]System.Version::op_GreaterThan(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_0091: brfalse IL_009c + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: callvirt instance class [NAnt.Core]NAnt.Core.PropertyDictionary class [NAnt.Core]NAnt.Core.Element::get_Properties() + IL_002e: ldarg.0 + IL_002f: ldfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName + IL_0034: ldloc.0 + IL_0035: callvirt instance void class [NAnt.Core]NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_003a: br IL_0063 - IL_0096: nop - IL_0097: br IL_0242 + IL_003f: nop + IL_0040: ldloc.2 + IL_0041: ldc.i4.1 + IL_0042: add + IL_0043: stloc.2 + IL_0044: ldloc.2 + IL_0045: ldloc.1 + IL_0046: ldlen + IL_0047: conv.i4 + IL_0048: blt IL_0010 - IL_009c: nop - IL_009d: ldloc.0 - IL_009e: ldloc.2 - IL_009f: call bool class [mscorlib]System.Version::op_LessThanOrEqual(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_00a4: brfalse IL_0241 + IL_004d: ldarg.0 + IL_004e: callvirt instance class [NAnt.Core]NAnt.Core.PropertyDictionary class [NAnt.Core]NAnt.Core.Element::get_Properties() + IL_0053: ldarg.0 + IL_0054: ldfld string NAnt.Win32.Tasks.MonoRegistryTask::_propName + IL_0059: ldstr "SOFTWARE\\Mono" + IL_005e: callvirt instance void class [NAnt.Core]NAnt.Core.PropertyDictionary::set_Item(string, string) + IL_0063: ret + } // end of method MonoRegistryTask::ExecuteTask - IL_00a9: nop - IL_00aa: ldloc.s 7 - IL_00ac: ldloc.s 8 - IL_00ae: ldloc.s 9 - IL_00b0: ldelem.ref - IL_00b1: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_00b6: callvirt instance string[] class [mscorlib]Microsoft.Win32.RegistryKey::GetSubKeyNames() - IL_00bb: stloc.s 10 - IL_00bd: ldloc.s 10 - IL_00bf: call void class [mscorlib]System.Array::Sort (!!0[]) - IL_00c4: ldloc.s 10 - IL_00c6: call Could not decode method token 0xc7 due to Could not find method with signature !!0[] assembly:/usr/lib/mono/4.5/mscorlib.dll type:Array member:Reverse - IL_00cb: ldc.i4.0 - IL_00cc: stloc.s 11 - IL_00ce: br IL_0228 + .property instance string PropertyName () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - IL_00d3: nop - IL_00d4: ldloc.s 10 - IL_00d6: ldloc.s 11 - IL_00d8: ldelem.ref - IL_00d9: ldarg.0 - IL_00da: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_regexNetFxTools - IL_00df: call bool class [System]System.Text.RegularExpressions.Regex::IsMatch(string, string) - IL_00e4: brfalse IL_0221 + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( + 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt + 79 00 ) // y. - IL_00e9: nop - IL_00ea: ldc.i4.2 - IL_00eb: newarr [mscorlib]System.String - IL_00f0: dup - IL_00f1: ldc.i4.0 - IL_00f2: ldloc.s 7 - IL_00f4: ldloc.s 8 - IL_00f6: ldloc.s 9 - IL_00f8: ldelem.ref - IL_00f9: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_00fe: ldloc.s 10 - IL_0100: ldloc.s 11 - IL_0102: ldelem.ref - IL_0103: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0108: ldstr "InstallationFolder" - IL_010d: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_0112: callvirt instance string object::ToString() - IL_0117: stelem.ref - IL_0118: dup - IL_0119: ldc.i4.1 - IL_011a: ldloc.s 7 - IL_011c: ldloc.s 8 - IL_011e: ldloc.s 9 - IL_0120: ldelem.ref - IL_0121: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0126: ldloc.s 10 - IL_0128: ldloc.s 11 - IL_012a: ldelem.ref - IL_012b: callvirt instance class [mscorlib]Microsoft.Win32.RegistryKey class [mscorlib]Microsoft.Win32.RegistryKey::OpenSubKey(string) - IL_0130: ldstr "InstallationFolder" - IL_0135: callvirt instance object class [mscorlib]Microsoft.Win32.RegistryKey::GetValue(string) - IL_013a: callvirt instance string object::ToString() - IL_013f: ldstr "bin" - IL_0144: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0149: stelem.ref - IL_014a: stloc.s 12 - IL_014c: nop - IL_014d: ldloc.s 12 - IL_014f: stloc.s 14 - IL_0151: ldc.i4.0 - IL_0152: stloc.s 15 - IL_0154: br IL_0215 + .get instance default string NAnt.Win32.Tasks.MonoRegistryTask::get_PropertyName () + .set instance default void NAnt.Win32.Tasks.MonoRegistryTask::set_PropertyName (string 'value') + } + } // end of class NAnt.Win32.Tasks.MonoRegistryTask +} + +.namespace NAnt.Win32.Tasks +{ + .class public auto ansi beforefieldinit TlbExpTask + extends [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 74 6C 62 65 78 70 00 00 ) // ...tlbexp.. + + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.ProgramLocationAttribute::'.ctor'(valuetype [NAnt.Core]NAnt.Core.Attributes.LocationType) = (01 00 01 00 00 00 00 00 ) // ........ + + .field private class [mscorlib]System.IO.FileInfo _assemblyFile + .field private class [mscorlib]System.IO.FileInfo _outputFile + .field private class [mscorlib]System.IO.FileInfo _namesFile + .field private class [mscorlib]System.Text.StringBuilder _argumentBuilder + + // method line 99 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x3908 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::'.ctor'() + IL_0006: ret + } // end of method TlbExpTask::.ctor + + // method line 100 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_AssemblyFile () cil managed + { + // Method begins at RVA 0x3910 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_assemblyFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0159: ldloc.s 14 - IL_015b: ldloc.s 15 - IL_015d: ldelem.ref - IL_015e: stloc.s 13 - IL_0160: nop - IL_0161: ldloc.s 13 - IL_0163: ldstr "gacutil.exe.config" - IL_0168: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_016d: stloc.s 16 - IL_016f: ldloc.s 16 - IL_0171: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0176: brfalse IL_020e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbExpTask::get_AssemblyFile - IL_017b: nop - IL_017c: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0181: stloc.s 17 - IL_0183: ldloc.s 17 - IL_0185: ldloc.s 16 - IL_0187: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(string) - IL_018c: ldloc.s 17 - IL_018e: ldstr "/configuration/startup/requiredRuntime" - IL_0193: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0198: stloc.s 18 - IL_019a: ldloc.s 18 - IL_019c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_01a1: ldstr "version" - IL_01a6: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_01ab: stloc.s 19 - IL_01ad: ldarg.0 - IL_01ae: ldloc.s 19 - IL_01b0: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_01b5: callvirt instance string object::ToString() - IL_01ba: call instance class [mscorlib]System.Version class NAnt.Win32.Tasks.LocateSdkTask::StringToVersion(string) - IL_01bf: stloc.s 5 - IL_01c1: ldloc.s 4 - IL_01c3: ldnull - IL_01c4: call bool class [mscorlib]System.Version::op_Inequality(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_01c9: brfalse IL_01e4 + // method line 101 + .method public hidebysig specialname + instance default void set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x392b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_assemblyFile + IL_0008: ret + } // end of method TlbExpTask::set_AssemblyFile - IL_01ce: nop - IL_01cf: ldloc.s 5 - IL_01d1: ldloc.s 4 - IL_01d3: call bool class [mscorlib]System.Version::op_GreaterThan(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_01d8: brfalse IL_01e3 + // method line 102 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + { + // Method begins at RVA 0x3938 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_outputFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_01dd: nop - IL_01de: br IL_020f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbExpTask::get_OutputFile - IL_01e3: nop - IL_01e4: ldloc.3 - IL_01e5: ldloc.s 5 - IL_01e7: call bool class [mscorlib]System.Version::op_LessThanOrEqual(class [mscorlib]System.Version, class [mscorlib]System.Version) - IL_01ec: brfalse IL_020d + // method line 103 + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x3953 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_outputFile + IL_0008: ret + } // end of method TlbExpTask::set_OutputFile - IL_01f1: nop - IL_01f2: ldarg.0 - IL_01f3: callvirt instance class [NAnt.Core]NAnt.Core.PropertyDictionary class [NAnt.Core]NAnt.Core.Element::get_Properties() - IL_01f8: ldarg.0 - IL_01f9: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_propName - IL_01fe: ldloc.s 13 - IL_0200: callvirt instance void class [NAnt.Core]NAnt.Core.PropertyDictionary::set_Item(string, string) - IL_0205: ldc.i4.1 - IL_0206: stloc.s 6 - IL_0208: br IL_0220 + // method line 104 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_NamesFile () cil managed + { + // Method begins at RVA 0x3960 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_namesFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_020d: nop - IL_020e: nop - IL_020f: ldloc.s 15 - IL_0211: ldc.i4.1 - IL_0212: add - IL_0213: stloc.s 15 - IL_0215: ldloc.s 15 - IL_0217: ldloc.s 14 - IL_0219: ldlen - IL_021a: conv.i4 - IL_021b: blt IL_0159 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TlbExpTask::get_NamesFile - IL_0220: nop - IL_0221: nop - IL_0222: ldloc.s 11 - IL_0224: ldc.i4.1 - IL_0225: add - IL_0226: stloc.s 11 - IL_0228: ldloc.s 11 - IL_022a: ldloc.s 10 - IL_022c: ldlen - IL_022d: conv.i4 - IL_022e: blt IL_00d3 + // method line 105 + .method public hidebysig specialname + instance default void set_NamesFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x397b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::_namesFile + IL_0008: ret + } // end of method TlbExpTask::set_NamesFile - IL_0233: ldloc.s 6 - IL_0235: brfalse IL_0240 + // method line 106 + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed + { + // Method begins at RVA 0x3988 + // Code size 40 (0x28) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_0007: brfalse IL_001e - IL_023a: nop - IL_023b: br IL_0253 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_0013: callvirt instance string object::ToString() + IL_0018: stloc.0 + IL_0019: br IL_0026 - IL_0240: nop - IL_0241: nop - IL_0242: ldloc.s 9 - IL_0244: ldc.i4.1 - IL_0245: add - IL_0246: stloc.s 9 - IL_0248: ldloc.s 9 - IL_024a: ldloc.s 8 - IL_024c: ldlen - IL_024d: conv.i4 - IL_024e: blt IL_0070 + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 - IL_0253: ldloc.s 6 - IL_0255: brtrue IL_0276 + IL_0026: ldloc.0 + IL_0027: ret + } // end of method TlbExpTask::get_ProgramArguments + + // method line 107 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x39bc + // Code size 210 (0xd2) + .maxstack 4 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance bool class NAnt.Win32.Tasks.TlbExpTask::NeedsCompiling() + IL_0007: brfalse IL_00d1 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0013: stfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_0018: ldarg.0 + IL_0019: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_001e: ldstr "\"" + IL_0023: ldarg.0 + IL_0024: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_AssemblyFile() + IL_0029: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_002e: ldstr "\"" + IL_0033: call string string::Concat(string, string, string) + IL_0038: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_003d: pop + IL_003e: ldarg.0 + IL_003f: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_0044: ldstr " /out:\"{0}\"" + IL_0049: ldarg.0 + IL_004a: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() + IL_004f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0054: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_0059: pop + IL_005a: ldarg.0 + IL_005b: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_0060: ldstr " /nologo" + IL_0065: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_006a: pop + IL_006b: ldarg.0 + IL_006c: callvirt instance bool class [NAnt.Core]NAnt.Core.Task::get_Verbose() + IL_0071: brfalse IL_008e + + IL_0076: nop + IL_0077: ldarg.0 + IL_0078: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_007d: ldstr " /verbose" + IL_0082: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0087: pop + IL_0088: nop + IL_0089: br IL_00a1 + + IL_008e: nop + IL_008f: ldarg.0 + IL_0090: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_0095: ldstr " /silent" + IL_009a: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_009f: pop + IL_00a0: nop + IL_00a1: ldarg.0 + IL_00a2: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() + IL_00a7: brfalse IL_00ca - IL_025a: nop - IL_025b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0260: ldstr "System does not have minimum specified Windows SDK {0}!" - IL_0265: ldarg.0 - IL_0266: ldfld string NAnt.Win32.Tasks.LocateSdkTask::_minWinSdkVer - IL_026b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0270: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string) - IL_0275: throw - IL_0276: ret - } // end of method LocateSdkTask::ExecuteTask + IL_00ac: nop + IL_00ad: ldarg.0 + IL_00ae: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Win32.Tasks.TlbExpTask::_argumentBuilder + IL_00b3: ldstr " /names:\"{0}\"" + IL_00b8: ldarg.0 + IL_00b9: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() + IL_00be: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_00c3: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(string, object) + IL_00c8: pop + IL_00c9: nop + IL_00ca: ldarg.0 + IL_00cb: call instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::ExecuteTask() + IL_00d0: nop + IL_00d1: ret + } // end of method TlbExpTask::ExecuteTask - // method line 114 - .method private hidebysig - instance default class [mscorlib]System.Version StringToVersion (string sdkVersion) cil managed + // method line 108 + .method family virtual hidebysig newslot + instance default bool NeedsCompiling () cil managed { - // Method begins at RVA 0x3c9c - // Code size 163 (0xa3) - .maxstack 5 + // Method begins at RVA 0x3a9c + // Code size 219 (0xdb) + .maxstack 7 .locals init ( - string V_0, - int32 V_1, - class [mscorlib]System.Version V_2) + bool V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_0099 + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() + IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_000c: brtrue IL_003d - IL_000c: nop - IL_000d: ldarg.1 - IL_000e: callvirt instance string string::Trim() - IL_0013: callvirt instance string string::ToUpper() - IL_0018: starg.s 1 - IL_001a: ldarg.1 - IL_001b: ldstr "V" - IL_0020: callvirt instance bool string::StartsWith(string) - IL_0025: brfalse IL_0035 + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldc.i4 2000 + IL_0018: ldstr "Output file '{0}' does not exist, recompiling." + IL_001d: ldc.i4.1 + IL_001e: newarr [mscorlib]System.Object + IL_0023: dup + IL_0024: ldc.i4.0 + IL_0025: ldarg.0 + IL_0026: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() + IL_002b: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0030: stelem.ref + IL_0031: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_0036: ldc.i4.1 + IL_0037: stloc.0 + IL_0038: br IL_00d9 - IL_002a: nop - IL_002b: ldarg.1 - IL_002c: ldc.i4.1 - IL_002d: callvirt instance string string::Substring(int32) - IL_0032: starg.s 1 - IL_0034: nop - IL_0035: ldarg.1 - IL_0036: ldarg.1 - IL_0037: callvirt instance int32 string::get_Length() - IL_003c: ldc.i4.1 - IL_003d: sub - IL_003e: call bool char::IsNumber(string, int32) - IL_0043: brtrue IL_008c + IL_003d: ldarg.0 + IL_003e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_AssemblyFile() + IL_0043: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0048: ldarg.0 + IL_0049: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() + IL_004e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_0053: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_0058: stloc.1 + IL_0059: ldloc.1 + IL_005a: brfalse IL_0081 - IL_0048: nop - IL_0049: ldarg.1 - IL_004a: ldc.i4.0 - IL_004b: ldarg.1 - IL_004c: callvirt instance int32 string::get_Length() - IL_0051: ldc.i4.1 - IL_0052: sub - IL_0053: callvirt instance string string::Substring(int32, int32) - IL_0058: ldstr "." - IL_005d: ldarg.1 - IL_005e: callvirt instance char[] string::ToCharArray() - IL_0063: ldarg.1 - IL_0064: callvirt instance int32 string::get_Length() - IL_0069: ldc.i4.1 - IL_006a: sub - IL_006b: ldelem.u2 - IL_006c: stloc.1 - IL_006d: ldloca.s 1 - IL_006f: constrained. [mscorlib]System.Int32 - IL_0075: callvirt instance string object::ToString() - IL_007a: call string string::Concat(string, string, string) - IL_007f: stloc.0 - IL_0080: ldloc.0 - IL_0081: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0086: stloc.2 - IL_0087: br IL_00a1 + IL_005f: nop + IL_0060: ldarg.0 + IL_0061: ldc.i4 2000 + IL_0066: ldstr "'{0}' has been updated, recompiling." + IL_006b: ldc.i4.1 + IL_006c: newarr [mscorlib]System.Object + IL_0071: dup + IL_0072: ldc.i4.0 + IL_0073: ldloc.1 + IL_0074: stelem.ref + IL_0075: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_007a: ldc.i4.1 + IL_007b: stloc.0 + IL_007c: br IL_00d9 - IL_008c: nop - IL_008d: ldarg.1 - IL_008e: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0093: stloc.2 - IL_0094: br IL_00a1 + IL_0081: ldarg.0 + IL_0082: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() + IL_0087: brfalse IL_00d2 - IL_0099: nop - IL_009a: ldnull - IL_009b: stloc.2 - IL_009c: br IL_00a1 + IL_008c: nop + IL_008d: ldarg.0 + IL_008e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_NamesFile() + IL_0093: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0098: ldarg.0 + IL_0099: call instance class [mscorlib]System.IO.FileInfo class NAnt.Win32.Tasks.TlbExpTask::get_OutputFile() + IL_009e: callvirt instance valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.FileSystemInfo::get_LastWriteTime() + IL_00a3: call string class [NAnt.Core]NAnt.Core.Types.FileSet::FindMoreRecentLastWriteTime(string, valuetype [mscorlib]System.DateTime) + IL_00a8: stloc.1 + IL_00a9: ldloc.1 + IL_00aa: brfalse IL_00d1 - IL_00a1: ldloc.2 - IL_00a2: ret - } // end of method LocateSdkTask::StringToVersion + IL_00af: nop + IL_00b0: ldarg.0 + IL_00b1: ldc.i4 2000 + IL_00b6: ldstr "'{0}' has been updated, recompiling." + IL_00bb: ldc.i4.1 + IL_00bc: newarr [mscorlib]System.Object + IL_00c1: dup + IL_00c2: ldc.i4.0 + IL_00c3: ldloc.1 + IL_00c4: stelem.ref + IL_00c5: callvirt instance void class [NAnt.Core]NAnt.Core.Element::Log(valuetype [NAnt.Core]NAnt.Core.Level, string, object[]) + IL_00ca: ldc.i4.1 + IL_00cb: stloc.0 + IL_00cc: br IL_00d9 - .property instance string PropertyName () - { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 01 00 54 02 08 // ...property..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. + IL_00d1: nop + IL_00d2: ldc.i4.0 + IL_00d3: stloc.0 + IL_00d4: br IL_00d9 - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. + IL_00d9: ldloc.0 + IL_00da: ret + } // end of method TlbExpTask::NeedsCompiling - .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_PropertyName () - .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_PropertyName (string 'value') - } - .property instance string MinWinSdkVersion () + .property instance class [mscorlib]System.IO.FileInfo AssemblyFile () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6D 69 6E 77 69 6E 73 64 6B 76 65 72 00 // ...minwinsdkver. - 00 ) // . + 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. + 52 65 71 75 69 72 65 64 01 ) // Required. - .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MinWinSdkVersion () - .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MinWinSdkVersion (string 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::get_AssemblyFile () + .set instance default void NAnt.Win32.Tasks.TlbExpTask::set_AssemblyFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string MaxWinSdkVersion () + .property instance class [mscorlib]System.IO.FileInfo OutputFile () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6D 61 78 77 69 6E 73 64 6B 76 65 72 00 // ...maxwinsdkver. - 00 ) // . + 01 00 06 6F 75 74 70 75 74 01 00 54 02 08 52 65 // ...output..T..Re + 71 75 69 72 65 64 01 ) // quired. - .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MaxWinSdkVersion () - .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MaxWinSdkVersion (string 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::get_OutputFile () + .set instance default void NAnt.Win32.Tasks.TlbExpTask::set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string MinNetFxVersion () + .property instance class [mscorlib]System.IO.FileInfo NamesFile () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 6D 69 6E 6E 65 74 66 78 76 65 72 00 00 ) // ...minnetfxver.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 6E 61 6D 65 73 00 00 ) // ...names.. - .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MinNetFxVersion () - .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MinNetFxVersion (string 'value') + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Win32.Tasks.TlbExpTask::get_NamesFile () + .set instance default void NAnt.Win32.Tasks.TlbExpTask::set_NamesFile (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string MaxNetFxVersion () + .property instance string ProgramArguments () { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0B 6D 61 78 6E 65 74 66 78 76 65 72 00 00 ) // ...maxnetfxver.. - - .get instance default string NAnt.Win32.Tasks.LocateSdkTask::get_MaxNetFxVersion () - .set instance default void NAnt.Win32.Tasks.LocateSdkTask::set_MaxNetFxVersion (string 'value') + .get instance default string NAnt.Win32.Tasks.TlbExpTask::get_ProgramArguments () } - } // end of class NAnt.Win32.Tasks.LocateSdkTask + } // end of class NAnt.Win32.Tasks.TlbExpTask } .namespace NAnt.Win32.Tasks @@ -4386,11 +4135,11 @@ .field private valuetype [mscorlib]Microsoft.Win32.RegistryHive[] _regHive .field private string _regHiveString - // method line 115 + // method line 109 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3d4c + // Method begins at RVA 0x3b84 // Code size 52 (0x34) .maxstack 5 .locals init ( @@ -4415,11 +4164,11 @@ IL_0033: ret } // end of method ReadRegistryTask::.ctor - // method line 116 + // method line 110 .method public virtual hidebysig newslot specialname instance default string get_PropertyName () cil managed { - // Method begins at RVA 0x3d8c + // Method begins at RVA 0x3bc4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4434,11 +4183,11 @@ IL_000e: ret } // end of method ReadRegistryTask::get_PropertyName - // method line 117 + // method line 111 .method public virtual hidebysig newslot specialname instance default void set_PropertyName (string 'value') cil managed { - // Method begins at RVA 0x3da7 + // Method begins at RVA 0x3bdf // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -4448,11 +4197,11 @@ IL_0008: ret } // end of method ReadRegistryTask::set_PropertyName - // method line 118 + // method line 112 .method public virtual hidebysig newslot specialname instance default string get_PropertyPrefix () cil managed { - // Method begins at RVA 0x3db4 + // Method begins at RVA 0x3bec // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4467,11 +4216,11 @@ IL_000e: ret } // end of method ReadRegistryTask::get_PropertyPrefix - // method line 119 + // method line 113 .method public virtual hidebysig newslot specialname instance default void set_PropertyPrefix (string 'value') cil managed { - // Method begins at RVA 0x3dcf + // Method begins at RVA 0x3c07 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -4481,11 +4230,11 @@ IL_0008: ret } // end of method ReadRegistryTask::set_PropertyPrefix - // method line 120 + // method line 114 .method public virtual hidebysig newslot specialname instance default string get_RegistryKey () cil managed { - // Method begins at RVA 0x3ddc + // Method begins at RVA 0x3c14 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4500,11 +4249,11 @@ IL_000e: ret } // end of method ReadRegistryTask::get_RegistryKey - // method line 121 + // method line 115 .method public virtual hidebysig newslot specialname instance default void set_RegistryKey (string 'value') cil managed { - // Method begins at RVA 0x3df8 + // Method begins at RVA 0x3c30 // Code size 96 (0x60) .maxstack 5 .locals init ( @@ -4557,11 +4306,11 @@ IL_005f: ret } // end of method ReadRegistryTask::set_RegistryKey - // method line 122 + // method line 116 .method public virtual hidebysig newslot specialname instance default string get_RegistryHiveName () cil managed { - // Method begins at RVA 0x3e64 + // Method begins at RVA 0x3c9c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -4576,11 +4325,11 @@ IL_000e: ret } // end of method ReadRegistryTask::get_RegistryHiveName - // method line 123 + // method line 117 .method public virtual hidebysig newslot specialname instance default void set_RegistryHiveName (string 'value') cil managed { - // Method begins at RVA 0x3e80 + // Method begins at RVA 0x3cb8 // Code size 117 (0x75) .maxstack 5 .locals init ( @@ -4639,11 +4388,11 @@ IL_0074: ret } // end of method ReadRegistryTask::set_RegistryHiveName - // method line 124 + // method line 118 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x3f04 + // Method begins at RVA 0x3d3c // Code size 309 (0x135) .maxstack 5 .locals init ( @@ -4778,11 +4527,11 @@ IL_0134: ret } // end of method ReadRegistryTask::ExecuteTask - // method line 125 + // method line 119 .method family hidebysig instance default class [mscorlib]Microsoft.Win32.RegistryKey LookupRegKey (string key, valuetype [mscorlib]Microsoft.Win32.RegistryHive[] registries) cil managed { - // Method begins at RVA 0x4048 + // Method begins at RVA 0x3e80 // Code size 133 (0x85) .maxstack 7 .locals init ( @@ -4858,11 +4607,11 @@ IL_0084: ret } // end of method ReadRegistryTask::LookupRegKey - // method line 126 + // method line 120 .method family hidebysig instance default class [mscorlib]Microsoft.Win32.RegistryKey GetHiveKey (valuetype [mscorlib]Microsoft.Win32.RegistryHive hive) cil managed { - // Method begins at RVA 0x40dc + // Method begins at RVA 0x3f14 // Code size 125 (0x7d) .maxstack 7 .locals init ( @@ -4951,3 +4700,254 @@ } // end of class NAnt.Win32.Tasks.ReadRegistryTask } +.namespace NAnt.Win32.Functions +{ + .class public auto ansi beforefieldinit CygpathFunctions + extends [NAnt.Core]NAnt.Core.FunctionSetBase + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 63 79 67 70 61 74 68 0B 55 6E 69 78 2F // ...cygpath.Unix/ + 43 79 67 77 69 6E 00 00 ) // Cygwin.. + + + // method line 121 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [NAnt.Core]NAnt.Core.Project project, class [NAnt.Core]NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x3f9d + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class [NAnt.Core]NAnt.Core.FunctionSetBase::'.ctor'(class [NAnt.Core]NAnt.Core.Project, class [NAnt.Core]NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method CygpathFunctions::.ctor + + // method line 122 + .method public hidebysig + instance default string GetDosPath (string path) cil managed + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 64 6F 73 2D 70 61 74 68 00 // ...get-dos-path. + 00 ) // . + + // Method begins at RVA 0x3fa8 + // Code size 45 (0x2d) + .maxstack 7 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.1 + IL_0003: newarr [NAnt.Core]NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--dos \"" + IL_000f: ldarg.1 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: call instance string class NAnt.Win32.Functions.CygpathFunctions::RunCygpathString(class [NAnt.Core]NAnt.Core.Types.Argument[]) + IL_0025: stloc.0 + IL_0026: br IL_002b + + IL_002b: ldloc.0 + IL_002c: ret + } // end of method CygpathFunctions::GetDosPath + + // method line 123 + .method public hidebysig + instance default string GetUnixPath (string path) cil managed + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 75 6E 69 78 2D 70 61 74 68 // ...get-unix-path + 00 00 ) // .. + + // Method begins at RVA 0x3fe4 + // Code size 45 (0x2d) + .maxstack 7 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.1 + IL_0003: newarr [NAnt.Core]NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--unix \"" + IL_000f: ldarg.1 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: call instance string class NAnt.Win32.Functions.CygpathFunctions::RunCygpathString(class [NAnt.Core]NAnt.Core.Types.Argument[]) + IL_0025: stloc.0 + IL_0026: br IL_002b + + IL_002b: ldloc.0 + IL_002c: ret + } // end of method CygpathFunctions::GetUnixPath + + // method line 124 + .method public hidebysig + instance default string GetWindowsPath (string path) cil managed + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 67 65 74 2D 77 69 6E 64 6F 77 73 2D 70 // ...get-windows-p + 61 74 68 00 00 ) // ath.. + + // Method begins at RVA 0x4020 + // Code size 45 (0x2d) + .maxstack 7 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.1 + IL_0003: newarr [NAnt.Core]NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--windows \"" + IL_000f: ldarg.1 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class [NAnt.Core]NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: call instance string class NAnt.Win32.Functions.CygpathFunctions::RunCygpathString(class [NAnt.Core]NAnt.Core.Types.Argument[]) + IL_0025: stloc.0 + IL_0026: br IL_002b + + IL_002b: ldloc.0 + IL_002c: ret + } // end of method CygpathFunctions::GetWindowsPath + + // method line 125 + .method private hidebysig + instance default string RunCygpathString (class [NAnt.Core]NAnt.Core.Types.Argument[] args) cil managed + { + // Method begins at RVA 0x405c + // Code size 134 (0x86) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.MemoryStream V_0, + class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_1, + class [mscorlib]System.IO.StreamReader V_2, + string V_3, + string V_4, + class [mscorlib]System.Exception V_5, + class [mscorlib]System.IO.StreamReader V_6, + string V_7) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance class [NAnt.Core]NAnt.Core.Tasks.ExecTask class NAnt.Win32.Functions.CygpathFunctions::GetTask(class [mscorlib]System.IO.Stream) + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class [NAnt.Core]NAnt.Core.Types.ArgumentCollection class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0015: ldarg.1 + IL_0016: callvirt instance void class [NAnt.Core]NAnt.Core.Types.ArgumentCollection::AddRange(class [NAnt.Core]NAnt.Core.Types.Argument[]) + .try { // 0 + IL_001b: nop + IL_001c: ldloc.1 + IL_001d: callvirt instance void class [NAnt.Core]NAnt.Core.Task::Execute() + IL_0022: ldloc.0 + IL_0023: ldc.i4.0 + IL_0024: conv.i8 + IL_0025: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_002a: ldloc.0 + IL_002b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_0030: stloc.2 + IL_0031: ldloc.2 + IL_0032: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0037: stloc.3 + IL_0038: ldloc.2 + IL_0039: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_003e: ldloc.3 + IL_003f: stloc.s 4 + IL_0041: leave IL_0083 + + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_0046: stloc.s 5 + IL_0048: nop + IL_0049: ldloc.0 + IL_004a: ldc.i4.0 + IL_004b: conv.i8 + IL_004c: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_0051: ldloc.0 + IL_0052: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_0057: stloc.s 6 + IL_0059: ldloc.s 6 + IL_005b: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_0060: stloc.s 7 + IL_0062: ldloc.s 6 + IL_0064: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_0069: ldloc.s 7 + IL_006b: callvirt instance int32 string::get_Length() + IL_0070: brfalse IL_0080 + + IL_0075: nop + IL_0076: ldloc.s 7 + IL_0078: ldloc.s 5 + IL_007a: newobj instance void class [NAnt.Core]NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) + IL_007f: throw + IL_0080: nop + IL_0081: rethrow + } // end handler 0 + IL_0083: ldloc.s 4 + IL_0085: ret + } // end of method CygpathFunctions::RunCygpathString + + // method line 126 + .method private hidebysig + instance default class [NAnt.Core]NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed + { + // Method begins at RVA 0x4100 + // Code size 83 (0x53) + .maxstack 3 + .locals init ( + class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_0, + class [mscorlib]System.IO.TextWriter V_1, + class [NAnt.Core]NAnt.Core.Tasks.ExecTask V_2) + IL_0000: nop + IL_0001: newobj instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.FunctionSetBase::get_Project() + IL_000e: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.FunctionSetBase::get_Project() + IL_001a: callvirt instance void class [NAnt.Core]NAnt.Core.Element::set_Project(class [NAnt.Core]NAnt.Core.Project) + IL_001f: ldloc.0 + IL_0020: ldstr "cygpath" + IL_0025: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExecTask::set_FileName(string) + IL_002a: ldloc.0 + IL_002b: ldc.i4 9999 + IL_0030: callvirt instance void class [NAnt.Core]NAnt.Core.Task::set_Threshold(valuetype [NAnt.Core]NAnt.Core.Level) + IL_0035: ldloc.0 + IL_0036: ldarg.1 + IL_0037: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream) + IL_003c: stloc.1 + IL_003d: ldloc.0 + IL_003e: ldloc.1 + IL_003f: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_OutputWriter(class [mscorlib]System.IO.TextWriter) + IL_0044: ldloc.1 + IL_0045: callvirt instance void class [NAnt.Core]NAnt.Core.Tasks.ExternalProgramBase::set_ErrorWriter(class [mscorlib]System.IO.TextWriter) + IL_004a: ldloc.0 + IL_004b: stloc.2 + IL_004c: br IL_0051 + + IL_0051: ldloc.2 + IL_0052: ret + } // end of method CygpathFunctions::GetTask + + } // end of class NAnt.Win32.Functions.CygpathFunctions +} + /usr/share/NAnt/bin/NAnt.Win32Tasks.xml differs (XML document text) --- old//usr/share/NAnt/bin/NAnt.Win32Tasks.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NAnt.Win32Tasks.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,203 +4,360 @@ NAnt.Win32Tasks - + - Groups a set of functions that convert Windows native filenames to - Cygwin POSIX-style pathnames and vice versa. + Reads the most recent Windows SDK InstallationFolder key into a NAnt property - - It can be used when a Cygwin program needs to pass a file name to a - native Windows program, or expects to get a file name from a native - Windows program. - + + + + ]]> + + - + - Initializes a new instance of the - class with the specified and properties. + + The property to set to the value stored in the InstalledFolder key of the located WinSDK version. + - The in which the class is used. - The set of properties to use for macro expansion. - + - Gets the DOS (short) form of the specified path. + + The minimum acceptable Windows SDK version. + - The path to convert. - - The DOS (short) form of the specified path. - - cygpath could not be started. - could not be converted to a short form. - + - Gets the Unix form of the specified path. + + The maximum acceptable Windows SDK version. + - The path to convert. - - The Unix form of the specified path. - - cygpath could not be started. - could not be converted to a Unix form. - + - Gets the Windows form of the specified path. + + The minimum acceptable .NET sdk version. + - The path to convert. - - The Windows form of the specified path. - - cygpath could not be started. - could not be converted to a Windows form. - + - Runs cygpath with the specified arguments and returns the result - as a . + + The maximum acceptable .NET sdk version. + - The arguments to pass to cygpath. - - The result of running cygpath with the specified arguments. - - + - Factory method to return a new instance of ExecTask + locate the most recent WinSDK installed - - - + - Exports a .NET assembly to a type library that can be used from unmanaged - code (wraps Microsoft's tlbexp.exe). + Converts a version expressed as a string into a Version object + + + A containing the version to convert. + + + A object representing the version string. + + + + + Generates a Windows Forms Control that wraps ActiveX Controls defined + in an OCX. - - - See the Microsoft.NET Framework SDK documentation for details. - - - Export DotNetAssembly.dll to LegacyCOM.dll. + ]]> - + - Specifies the assembly for which to export a type library. + Filename of the .ocx file. + + + + + Filename of the generated assembly. + + + + + Specifies the file containing the public key to use to sign the + resulting assembly. - The assembly for which to export a type library. + The file containing the public key to use to sign the resulting + assembly. - See the Microsoft.NET Framework SDK documentation for details. - + - Specifies the name of the type library file to generate. + Specifies the publisher's official public/private key pair with which + the resulting assembly should be signed with a strong name. - The name of the type library file to generate. + The keyfile to use to sign the resulting assembly with a strong name. - See the Microsoft.NET Framework SDK documentation for details. + See the Microsoft.NET Framework SDK documentation for details. - + - Specifies the file used to determine capitalization of names in a - type library. + Specifies the key container in which the public/private key pair + should be found that should be used to sign the resulting assembly + with a strong name. - The file used to determine capitalization of names in a type library. + The key container containing a public/private key pair that should + be used to sign the resulting assembly. - See the Microsoft.NET Framework SDK documentation for details. - + - Gets the command line arguments for the external program. + Specifies to sign the resulting control using delayed signing. + PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll /usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll (monodis) +++ new /usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll (monodis) @@ -1,9 +1,9 @@ -.assembly extern System.Xml +.assembly extern System { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern System +.assembly extern System.Xml { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. @@ -69,31 +69,31 @@ .hash algorithm 0x00008004 .ver 0:93:1:0 } -.mresource public 'Documenter.xslt.function-doc.xslt' +.mresource public 'Documenter.xslt.task-index.xslt' { } -.mresource public 'Documenter.xslt.task-index.xslt' +.mresource public 'Documenter.xslt.nant-attributes.xslt' { } -.mresource public 'Documenter.xslt.type-index.xslt' +.mresource public 'Documenter.xslt.common.xslt' { } -.mresource public 'Documenter.xslt.function-index.xslt' +.mresource public 'Documenter.xslt.type-index.xslt' { } -.mresource public 'Documenter.xslt.common.xslt' +.mresource public 'Documenter.xslt.function-index.xslt' { } .mresource public 'Documenter.xslt.tags.xslt' { } -.mresource public 'Documenter.xslt.filter-index.xslt' +.mresource public 'Documenter.xslt.type-doc.xslt' { } -.mresource public 'Documenter.xslt.type-doc.xslt' +.mresource public 'Documenter.xslt.function-doc.xslt' { } -.mresource public 'Documenter.xslt.nant-attributes.xslt' +.mresource public 'Documenter.xslt.filter-index.xslt' { } .module NDoc.Documenter.NAnt.dll // GUID = { 42 } @@ -101,2210 +101,1633 @@ .namespace NDoc.Documenter.NAnt { - .class public auto ansi beforefieldinit NAntDocumenter - extends [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenter + .class public auto ansi beforefieldinit NAntXsltUtilities + extends [mscorlib]System.Object { - .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltTaskIndex - .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltTypeIndex - .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltFunctionIndex - .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltFilterIndex - .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltTypeDoc - .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltFunctionDoc - .field private class [System.Xml]System.Xml.XmlDocument _xmlDocumentation - .field private string _resourceDirectory - .field private class [System]System.Collections.Specialized.StringDictionary _writtenFiles + .field private string _sdkDocBaseUrl + .field private string _sdkDocExt + .field private class [System]System.Collections.Specialized.StringDictionary _elementNames + .field private class [System.Xml]System.Xml.XmlDocument _doc + .field private member:> _config + .field private static literal string SdkDoc10BaseUrl = "ms-help://MS.NETFrameworkSDK/cpref/html/frlrf" + .field private static literal string SdkDoc11BaseUrl = "ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrf" + .field private static literal string SdkDocPageExt = ".htm" + .field private static literal string MsdnOnlineSdkBaseUrl = "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf" + .field private static literal string MsdnOnlineSdkPageExt = ".asp" + .field private static literal string SystemPrefix = "System." + .field private static literal string MicrosoftWin32Prefix = "Microsoft.Win32." + .field private static class [mscorlib]System.Collections.ArrayList Instances // method line 1 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method private hidebysig specialname rtspecialname + instance default void '.ctor' (class [System.Xml]System.Xml.XmlDocument doc, class NDoc.Documenter.NAnt.NAntDocumenterConfig config) cil managed { // Method begins at RVA 0x2050 - // Code size 30 (0x1e) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [System]System.Collections.Specialized.StringDictionary::'.ctor'() - IL_0006: stfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntDocumenter::_writtenFiles - IL_000b: ldarg.0 - IL_000c: ldstr "NAnt" - IL_0011: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenter::.ctor(string) - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: callvirt instance void [NDoc.Core]NDoc.Core.BaseDocumenter::Clear() - IL_001d: ret - } // end of method NAntDocumenter::.ctor + } // end of method NAntXsltUtilities::.ctor // method line 2 .method public hidebysig specialname - instance default string get_OutputDirectory () cil managed + instance default string get_SdkDocBaseUrl () cil managed { - // Method begins at RVA 0x2070 - // Code size 25 (0x19) + // Method begins at RVA 0x235c + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() - IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig - IL_000c: callvirt instance string() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntXsltUtilities::_sdkDocBaseUrl + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method NAntDocumenter::get_OutputDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntXsltUtilities::get_SdkDocBaseUrl // method line 3 .method public hidebysig specialname - instance default string get_NamespaceFilter () cil managed + instance default string get_SdkDocExt () cil managed { - // Method begins at RVA 0x2098 - // Code size 25 (0x19) + // Method begins at RVA 0x2378 + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() - IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig - IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NamespaceFilter() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntXsltUtilities::_sdkDocExt + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method NAntDocumenter::get_NamespaceFilter + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntXsltUtilities::get_SdkDocExt // method line 4 - .method public hidebysig specialname - instance default string get_ProductName () cil managed + .method private hidebysig specialname + instance default class [System.Xml]System.Xml.XmlDocument get_Document () cil managed { - // Method begins at RVA 0x20c0 - // Code size 25 (0x19) + // Method begins at RVA 0x2394 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [System.Xml]System.Xml.XmlDocument V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() - IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig - IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductName() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntXsltUtilities::_doc + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method NAntDocumenter::get_ProductName + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntXsltUtilities::get_Document // method line 5 - .method public hidebysig specialname - instance default string get_ProductVersion () cil managed + .method private hidebysig specialname + instance default class NDoc.Documenter.NAnt.NAntDocumenterConfig get_Config () cil managed { - // Method begins at RVA 0x20e8 - // Code size 25 (0x19) + // Method begins at RVA 0x23b0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NDoc.Documenter.NAnt.NAntDocumenterConfig V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() - IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig - IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductVersion() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class NDoc.Documenter.NAnt.NAntDocumenterConfig NDoc.Documenter.NAnt.NAntXsltUtilities::_config + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method NAntDocumenter::get_ProductVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntXsltUtilities::get_Config // method line 6 - .method public hidebysig specialname - instance default string get_ProductUrl () cil managed + .method public hidebysig + instance default string GetNamespaceFilter () cil managed { - // Method begins at RVA 0x2110 - // Code size 25 (0x19) + // Method begins at RVA 0x23cc + // Code size 20 (0x14) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() - IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig - IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductUrl() - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: call instance class NDoc.Documenter.NAnt.NAntDocumenterConfig class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Config() + IL_0007: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NamespaceFilter() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method NAntDocumenter::get_ProductUrl + IL_0012: ldloc.0 + IL_0013: ret + } // end of method NAntXsltUtilities::GetNamespaceFilter // method line 7 - .method public virtual hidebysig specialname - instance default string get_MainOutputFile () cil managed + .method public hidebysig + instance default class [System.Xml]System.Xml.XPath.XPathNodeIterator GetClassNode (string id) cil managed { - // Method begins at RVA 0x2138 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x23ec + // Code size 98 (0x62) + .maxstack 4 .locals init ( - string V_0) + class [System.Xml]System.Xml.XmlNode V_0, + class [System.Xml]System.Xml.XPath.XPathNodeIterator V_1) IL_0000: nop - IL_0001: ldstr "" - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.1 + IL_0002: ldstr "T:" + IL_0007: callvirt instance bool string::StartsWith(string) + IL_000c: brtrue IL_0020 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method NAntDocumenter::get_MainOutputFile + IL_0011: nop + IL_0012: ldstr "T:" + IL_0017: ldarg.1 + IL_0018: call string string::Concat(string, string) + IL_001d: starg.s 1 + IL_001f: nop + IL_0020: ldarg.0 + IL_0021: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() + IL_0026: ldstr "//class[@id='" + IL_002b: ldarg.1 + IL_002c: ldstr "']" + IL_0031: call string string::Concat(string, string, string) + IL_0036: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_003b: stloc.0 + IL_003c: ldloc.0 + IL_003d: brtrue IL_004a - // method line 8 - .method public virtual hidebysig - instance default void Clear () cil managed - { - // Method begins at RVA 0x2152 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NDoc.Documenter.NAnt.NAntDocumenterConfig::'.ctor'() - IL_0007: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::set_Config( member:>) - IL_000c: ret - } // end of method NAntDocumenter::Clear + IL_0042: nop + IL_0043: ldnull + IL_0044: stloc.1 + IL_0045: br IL_0060 - // method line 9 - .method public virtual hidebysig - (null) cil managed + IL_004a: ldloc.0 + IL_004b: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XmlNode::CreateNavigator() + IL_0050: ldstr "." + IL_0055: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) + IL_005a: stloc.1 + IL_005b: br IL_0060 + + IL_0060: ldloc.1 + IL_0061: ret + } // end of method NAntXsltUtilities::GetClassNode + + // method line 8 + .method public hidebysig + instance default string GetHRef (string cref) cil managed { - // Method begins at RVA 0x2160 - // Code size 865 (0x361) + // Method begins at RVA 0x245c + // Code size 569 (0x239) .maxstack 4 .locals init ( - int32 V_0, - class [mscorlib]System.Reflection.Assembly V_1, - class [mscorlib]System.Exception V_2, - string V_3, - class [mscorlib]System.IO.FileStream V_4, - class [System.Xml]System.Xml.Xsl.XsltArgumentList V_5, - class NDoc.Documenter.NAnt.NAntXsltUtilities V_6, - class [System.Xml]System.Xml.XmlNodeList V_7, - class [System.Xml]System.Xml.XmlNode V_8, - class [mscorlib]System.Collections.IEnumerator V_9, - valuetype NDoc.Documenter.NAnt.ElementDocType V_10, - class [mscorlib]System.IDisposable V_11, - class [System.Xml]System.Xml.XmlNodeList V_12, - class [System.Xml]System.Xml.XmlElement V_13, - class [mscorlib]System.Collections.IEnumerator V_14, - class [mscorlib]System.IDisposable V_15) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: ldloc.0 - IL_0005: ldstr "Initializing..." - IL_000a: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_000f: ldarg.0 - IL_0010: ldc.i4.s 0x1a - IL_0012: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_0017: ldstr "NDoc" - IL_001c: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0021: ldstr "NAnt" - IL_0026: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_002b: stfld string NDoc.Documenter.NAnt.NAntDocumenter::_resourceDirectory - IL_0030: ldarg.0 - IL_0031: call instance class [mscorlib]System.Type object::GetType() - IL_0036: callvirt instance class [mscorlib]System.Reflection.Module class [mscorlib]System.Type::get_Module() - IL_003b: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Module::get_Assembly() - IL_0040: stloc.1 - IL_0041: ldloc.1 - IL_0042: ldstr "Documenter.xslt" - IL_0047: ldarg.0 - IL_0048: ldfld string NDoc.Documenter.NAnt.NAntDocumenter::_resourceDirectory - IL_004d: ldstr "xslt" - IL_0052: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0057: call void [NDoc.Core]NDoc.Core.EmbeddedResources::WriteEmbeddedResources(class [mscorlib]System.Reflection.Assembly, string, string) - .try { // 0 - IL_005c: nop - IL_005d: ldarg.0 - IL_005e: call instance string() - IL_0063: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0068: pop - IL_0069: ldarg.0 - IL_006a: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() - IL_006f: ldstr "elements" - IL_0074: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0079: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_007e: pop - IL_007f: ldarg.0 - IL_0080: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() - IL_0085: ldstr "functions" - IL_008a: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_008f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0094: pop - IL_0095: ldarg.0 - IL_0096: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() - IL_009b: ldstr "types" - IL_00a0: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00a5: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_00aa: pop - IL_00ab: ldarg.0 - IL_00ac: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() - IL_00b1: ldstr "tasks" - IL_00b6: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00bb: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_00c0: pop - IL_00c1: ldarg.0 - IL_00c2: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() - IL_00c7: ldstr "enums" - IL_00cc: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00d1: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_00d6: pop - IL_00d7: ldarg.0 - IL_00d8: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() - IL_00dd: ldstr "filters" - IL_00e2: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_00e7: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_00ec: pop - IL_00ed: nop - IL_00ee: leave IL_0101 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_00f3: stloc.2 - IL_00f4: nop - IL_00f5: ldstr "The output directories could not be created." - IL_00fa: ldloc.2 - IL_00fb: newobj instance void [NDoc.Core]NDoc.Core.DocumenterException::.ctor(string, class [mscorlib]System.Exception) - IL_0100: throw - } // end handler 0 - IL_0101: ldloc.0 - IL_0102: ldc.i4.s 0x0a - IL_0104: add - IL_0105: stloc.0 - IL_0106: ldarg.0 - IL_0107: ldloc.0 - IL_0108: ldstr "Merging XML documentation..." - IL_010d: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_0112: ldarg.0 - IL_0113: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransforms() - IL_0118: ldnull - IL_0119: stloc.3 - .try { // 2 - IL_011a: nop - IL_011b: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_0120: stloc.3 - IL_0121: ldarg.0 - IL_0122: ldarg.1 - IL_0123: ldloc.3 - IL_0124: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenter::MakeXmlFile( member:>, string) - IL_0129: ldloc.3 - IL_012a: ldc.i4.3 - IL_012b: ldc.i4.1 - IL_012c: ldc.i4.1 - IL_012d: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) - IL_0132: stloc.s 4 - .try { // 1 - IL_0134: nop - IL_0135: ldarg.0 - IL_0136: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_013b: stfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation - IL_0140: ldarg.0 - IL_0141: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation - IL_0146: ldloc.s 4 - IL_0148: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.Stream) - IL_014d: nop - IL_014e: leave IL_0162 - - } // end .try 1 - finally { // 1 - IL_0153: ldloc.s 4 - IL_0155: brfalse IL_0161 - - IL_015a: ldloc.s 4 - IL_015c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0161: endfinally - } // end handler 1 - IL_0162: nop - IL_0163: leave IL_0179 - - } // end .try 2 - finally { // 2 - IL_0168: nop - IL_0169: ldloc.3 - IL_016a: brfalse IL_0177 - - IL_016f: nop - IL_0170: ldloc.3 - IL_0171: call void class [mscorlib]System.IO.File::Delete(string) - IL_0176: nop - IL_0177: nop - IL_0178: endfinally - } // end handler 2 - IL_0179: ldloc.0 - IL_017a: ldc.i4.s 0x0f - IL_017c: add - IL_017d: stloc.0 - IL_017e: ldarg.0 - IL_017f: ldloc.0 - IL_0180: ldstr "Building mapping..." - IL_0185: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_018a: ldarg.0 - IL_018b: call instance class [System.Xml]System.Xml.Xsl.XsltArgumentList class NDoc.Documenter.NAnt.NAntDocumenter::CreateXsltArgumentList() - IL_0190: stloc.s 5 - IL_0192: ldarg.0 - IL_0193: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation - IL_0198: ldarg.0 - IL_0199: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() - IL_019e: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig - IL_01a3: call class NDoc.Documenter.NAnt.NAntXsltUtilities class NDoc.Documenter.NAnt.NAntXsltUtilities::CreateInstance(class [System.Xml]System.Xml.XmlDocument, class NDoc.Documenter.NAnt.NAntDocumenterConfig) - IL_01a8: stloc.s 6 - IL_01aa: ldloc.s 5 - IL_01ac: ldstr "urn:NAntUtil" - IL_01b1: ldloc.s 6 - IL_01b3: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) - IL_01b8: ldloc.0 - IL_01b9: ldc.i4.s 0x0f - IL_01bb: add - IL_01bc: stloc.0 - IL_01bd: ldarg.0 - IL_01be: ldloc.0 - IL_01bf: ldstr "Creating Task Index Page..." - IL_01c4: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_01c9: ldarg.0 - IL_01ca: ldarg.0 - IL_01cb: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTaskIndex - IL_01d0: ldloc.s 5 - IL_01d2: ldstr "tasks/index.html" - IL_01d7: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) - IL_01dc: ldloc.0 - IL_01dd: ldc.i4.s 0x0a - IL_01df: add - IL_01e0: stloc.0 - IL_01e1: ldarg.0 - IL_01e2: ldloc.0 - IL_01e3: ldstr "Creating Type Index Page..." - IL_01e8: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_01ed: ldarg.0 - IL_01ee: ldarg.0 - IL_01ef: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeIndex - IL_01f4: ldloc.s 5 - IL_01f6: ldstr "types/index.html" - IL_01fb: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) - IL_0200: ldloc.0 - IL_0201: ldc.i4.s 0x0a - IL_0203: add - IL_0204: stloc.0 - IL_0205: ldarg.0 - IL_0206: ldloc.0 - IL_0207: ldstr "Creating Filter Index Page..." - IL_020c: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_0211: ldarg.0 - IL_0212: ldarg.0 - IL_0213: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFilterIndex - IL_0218: ldloc.s 5 - IL_021a: ldstr "filters/index.html" - IL_021f: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) - IL_0224: ldarg.0 - IL_0225: ldloc.0 - IL_0226: ldstr "Creating Function Index Page..." - IL_022b: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_0230: ldarg.0 - IL_0231: ldarg.0 - IL_0232: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionIndex - IL_0237: ldloc.s 5 - IL_0239: ldstr "functions/index.html" - IL_023e: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) - IL_0243: ldloc.0 - IL_0244: ldc.i4.s 0x0a - IL_0246: add - IL_0247: stloc.0 - IL_0248: ldarg.0 - IL_0249: ldloc.0 - IL_024a: ldstr "Generating Task Documents..." - IL_024f: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_0254: ldarg.0 - IL_0255: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation - IL_025a: ldstr "//class[starts-with(substring(@id, 3, string-length(@id) - 2), '" - IL_025f: ldarg.0 - IL_0260: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter() - IL_0265: ldstr "')]" - IL_026a: call string string::Concat(string, string, string) - IL_026f: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0274: stloc.s 7 - IL_0276: nop - IL_0277: ldloc.s 7 - IL_0279: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_027e: stloc.s 9 - .try { // 3 - IL_0280: br IL_02ac - - IL_0285: ldloc.s 9 - IL_0287: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_028c: castclass [System.Xml]System.Xml.XmlNode - IL_0291: stloc.s 8 - IL_0293: nop - IL_0294: ldloc.s 6 - IL_0296: ldloc.s 8 - IL_0298: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) - IL_029d: stloc.s 10 - IL_029f: ldarg.0 - IL_02a0: ldloc.s 8 - IL_02a2: ldloc.s 10 - IL_02a4: ldloc.s 6 - IL_02a6: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) - IL_02ab: nop - IL_02ac: ldloc.s 9 - IL_02ae: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02b3: brtrue IL_0285 - - IL_02b8: leave IL_02d4 - - } // end .try 3 - finally { // 3 - IL_02bd: ldloc.s 9 - IL_02bf: isinst [mscorlib]System.IDisposable - IL_02c4: dup - IL_02c5: stloc.s 11 - IL_02c7: brfalse IL_02d3 - - IL_02cc: ldloc.s 11 - IL_02ce: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02d3: endfinally - } // end handler 3 - IL_02d4: ldarg.0 - IL_02d5: ldloc.0 - IL_02d6: ldstr "Generating Function Documents..." - IL_02db: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_02e0: ldarg.0 - IL_02e1: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation - IL_02e6: ldstr "//method[attribute/@name = 'NAnt.Core.Attributes.FunctionAttribute' and ancestor::class[starts-with(substring(@id, 3, string-length(@id) - 2), '" - IL_02eb: ldarg.0 - IL_02ec: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter() - IL_02f1: ldstr "')]]" - IL_02f6: call string string::Concat(string, string, string) - IL_02fb: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0300: stloc.s 12 - IL_0302: nop - IL_0303: ldloc.s 12 - IL_0305: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_030a: stloc.s 14 - .try { // 4 - IL_030c: br IL_032b - - IL_0311: ldloc.s 14 - IL_0313: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0318: castclass [System.Xml]System.Xml.XmlElement - IL_031d: stloc.s 13 - IL_031f: nop - IL_0320: ldarg.0 - IL_0321: ldloc.s 13 - IL_0323: ldloc.s 6 - IL_0325: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentFunction(class [System.Xml]System.Xml.XmlElement, class NDoc.Documenter.NAnt.NAntXsltUtilities) - IL_032a: nop - IL_032b: ldloc.s 14 - IL_032d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0332: brtrue IL_0311 - - IL_0337: leave IL_0353 - - } // end .try 4 - finally { // 4 - IL_033c: ldloc.s 14 - IL_033e: isinst [mscorlib]System.IDisposable - IL_0343: dup - IL_0344: stloc.s 15 - IL_0346: brfalse IL_0352 - - IL_034b: ldloc.s 15 - IL_034d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0352: endfinally - } // end handler 4 - IL_0353: ldarg.0 - IL_0354: ldc.i4.s 0x64 - IL_0356: ldstr "Complete" - IL_035b: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) - IL_0360: ret - } // end of method NAntDocumenter:: - - // method line 10 - .method private hidebysig - instance default void DocumentType (class [System.Xml]System.Xml.XmlNode typeNode, valuetype NDoc.Documenter.NAnt.ElementDocType docType, class NDoc.Documenter.NAnt.NAntXsltUtilities utilities) cil managed - { - // Method begins at RVA 0x2510 - // Code size 733 (0x2dd) - .maxstack 4 - .locals init ( - string V_0, - string V_1, - class [System.Xml]System.Xml.Xsl.XsltArgumentList V_2, - string V_3, - class [System.Xml]System.Xml.XmlNode V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - string V_6, - string V_7, - class [System.Xml]System.Xml.XmlNode V_8, - class [System.Xml]System.Xml.XmlAttribute V_9, - class [System.Xml]System.Xml.XmlNode V_10, - class [System.Xml]System.Xml.XmlNode V_11, - valuetype NDoc.Documenter.NAnt.ElementDocType V_12, - class [mscorlib]System.IDisposable V_13) + string V_0, + string V_1, + string V_2, + string V_3) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "typeNode" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: brfalse IL_0020 - - IL_0019: ldarg.2 - IL_001a: ldc.i4.6 - IL_001b: bne.un IL_0026 - - IL_0020: nop - IL_0021: br IL_02dc - - IL_0026: ldarg.1 - IL_0027: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_002c: ldstr "id" - IL_0031: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0036: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_003b: stloc.0 - IL_003c: ldloc.0 - IL_003d: ldc.i4.2 - IL_003e: callvirt instance string string::Substring(int32) - IL_0043: ldarg.0 - IL_0044: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter() - IL_0049: callvirt instance bool string::StartsWith(string) - IL_004e: brtrue IL_0059 - - IL_0053: nop - IL_0054: br IL_02dc - - IL_0059: ldarg.3 - IL_005a: ldarg.1 - IL_005b: ldc.i4.0 - IL_005c: callvirt instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForType(class [System.Xml]System.Xml.XmlNode, bool) - IL_0061: stloc.1 - IL_0062: ldloc.1 - IL_0063: brtrue IL_006e - - IL_0068: nop - IL_0069: br IL_02dc - - IL_006e: ldarg.0 - IL_006f: ldfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntDocumenter::_writtenFiles - IL_0074: ldloc.0 - IL_0075: callvirt instance bool class [System]System.Collections.Specialized.StringDictionary::ContainsValue(string) - IL_007a: brfalse IL_0085 - - IL_007f: nop - IL_0080: br IL_02dc - - IL_0085: nop - IL_0086: ldarg.0 - IL_0087: ldfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntDocumenter::_writtenFiles - IL_008c: ldloc.1 - IL_008d: ldloc.0 - IL_008e: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::Add(string, string) - IL_0093: nop - IL_0094: ldarg.0 - IL_0095: call instance class [System.Xml]System.Xml.Xsl.XsltArgumentList class NDoc.Documenter.NAnt.NAntDocumenter::CreateXsltArgumentList() - IL_009a: stloc.2 - IL_009b: ldloc.2 - IL_009c: ldstr "class-id" - IL_00a1: ldsfld string [mscorlib]System.String::Empty - IL_00a6: ldloc.0 - IL_00a7: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_00ac: ldarg.2 - IL_00ad: ldc.i4.1 - IL_00ae: sub - IL_00af: switch ( - IL_00e3, - IL_00cd, - IL_00d8, - IL_00ee, - IL_00f9) - IL_00c8: br IL_0104 - - IL_00cd: ldstr "Type" - IL_00d2: stloc.3 - IL_00d3: br IL_010f - - IL_00d8: ldstr "Element" - IL_00dd: stloc.3 - IL_00de: br IL_010f - - IL_00e3: ldstr "Task" - IL_00e8: stloc.3 - IL_00e9: br IL_010f + IL_0002: callvirt instance int32 string::get_Length() + IL_0007: ldc.i4.2 + IL_0008: blt IL_001b - IL_00ee: ldstr "Enum" - IL_00f3: stloc.3 - IL_00f4: br IL_010f + IL_000d: ldarg.1 + IL_000e: ldc.i4.1 + IL_000f: callvirt instance char string::get_Chars(int32) + IL_0014: ldc.i4.s 0x3a + IL_0016: beq IL_0027 - IL_00f9: ldstr "Filter" - IL_00fe: stloc.3 - IL_00ff: br IL_010f + IL_001b: nop + IL_001c: ldsfld string [mscorlib]System.String::Empty + IL_0021: stloc.0 + IL_0022: br IL_0237 - IL_0104: ldstr "Other?" - IL_0109: stloc.3 - IL_010a: br IL_010f + IL_0027: ldarg.1 + IL_0028: ldstr "[]" + IL_002d: callvirt instance bool string::EndsWith(string) + IL_0032: brfalse IL_004b - IL_010f: ldloc.2 - IL_0110: ldstr "refType" - IL_0115: ldsfld string [mscorlib]System.String::Empty - IL_011a: ldloc.3 - IL_011b: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_0120: ldloc.2 - IL_0121: ldstr "urn:NAntUtil" - IL_0126: ldarg.3 - IL_0127: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) - IL_012c: nop - IL_012d: ldarg.1 - IL_012e: ldstr "property[attribute]" - IL_0133: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0138: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_013d: stloc.s 5 - .try { // 0 - IL_013f: br IL_02a6 + IL_0037: nop + IL_0038: ldarg.1 + IL_0039: ldstr "[]" + IL_003e: ldstr "" + IL_0043: callvirt instance string string::Replace(string, string) + IL_0048: starg.s 1 + IL_004a: nop + IL_004b: ldarg.1 + IL_004c: callvirt instance int32 string::get_Length() + IL_0051: ldc.i4.s 0x09 + IL_0053: blt IL_0084 - IL_0144: ldloc.s 5 - IL_0146: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_014b: castclass [System.Xml]System.Xml.XmlNode - IL_0150: stloc.s 4 - IL_0152: nop - IL_0153: ldarg.3 - IL_0154: ldloc.s 4 - IL_0156: callvirt instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementNameForProperty(class [System.Xml]System.Xml.XmlNode) - IL_015b: stloc.s 6 - IL_015d: ldloc.s 6 - IL_015f: brfalse IL_02a5 + IL_0058: ldarg.1 + IL_0059: ldc.i4.2 + IL_005a: callvirt instance string string::Substring(int32) + IL_005f: ldstr "System." + IL_0064: callvirt instance bool string::StartsWith(string) + IL_0069: brtrue IL_0140 - IL_0164: nop - IL_0165: ldstr "T:" - IL_016a: ldloc.s 4 - IL_016c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0171: ldstr "type" - IL_0176: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_017b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0180: ldstr "[]" - IL_0185: ldstr "" - IL_018a: callvirt instance string string::Replace(string, string) - IL_018f: call string string::Concat(string, string) - IL_0194: stloc.s 7 - IL_0196: ldloc.s 4 - IL_0198: ldstr "attribute[@name='" - IL_019d: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute - IL_01a2: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01a7: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01ac: ldstr "']" - IL_01b1: call string string::Concat(string, string, string) - IL_01b6: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_01bb: stloc.s 8 - IL_01bd: ldloc.s 8 - IL_01bf: brtrue IL_01ed + IL_006e: ldarg.1 + IL_006f: ldc.i4.2 + IL_0070: callvirt instance string string::Substring(int32) + IL_0075: ldstr "Microsoft.Win32." + IL_007a: callvirt instance bool string::StartsWith(string) + IL_007f: brtrue IL_0140 - IL_01c4: nop - IL_01c5: ldloc.s 4 - IL_01c7: ldstr "attribute[@name='" - IL_01cc: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute - IL_01d1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01d6: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01db: ldstr "']" - IL_01e0: call string string::Concat(string, string, string) - IL_01e5: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_01ea: stloc.s 8 - IL_01ec: nop - IL_01ed: ldloc.s 8 - IL_01ef: brfalse IL_0273 + IL_0084: nop + IL_0085: ldnull + IL_0086: stloc.1 + IL_0087: ldarg.1 + IL_0088: ldc.i4.0 + IL_0089: ldc.i4.2 + IL_008a: callvirt instance string string::Substring(int32, int32) + IL_008f: stloc.2 + IL_0090: ldloc.2 + IL_0091: brfalse IL_00d7 - IL_01f4: nop - IL_01f5: ldarg.0 - IL_01f6: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation - IL_01fb: ldstr "//class[@id='" - IL_0200: ldloc.s 7 - IL_0202: ldstr "']/method[@name='Add']/parameter/@type" - IL_0207: call string string::Concat(string, string, string) - IL_020c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0211: isinst [System.Xml]System.Xml.XmlAttribute - IL_0216: stloc.s 9 - IL_0218: ldloc.s 9 - IL_021a: brfalse IL_0234 + IL_0096: ldloc.2 + IL_0097: ldstr "T:" + IL_009c: call bool string::op_Equality(string, string) + IL_00a1: brtrue IL_00bb - IL_021f: nop - IL_0220: ldstr "T:" - IL_0225: ldloc.s 9 - IL_0227: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_022c: call string string::Concat(string, string) - IL_0231: stloc.s 7 - IL_0233: nop - IL_0234: ldloc.s 4 - IL_0236: ldstr "attribute/property[@ElementType]" - IL_023b: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0240: stloc.s 10 - IL_0242: ldloc.s 10 - IL_0244: brfalse IL_0272 + IL_00a6: ldloc.2 + IL_00a7: ldstr "M:" + IL_00ac: call bool string::op_Equality(string, string) + IL_00b1: brtrue IL_00c9 - IL_0249: nop - IL_024a: ldloc.s 10 - IL_024c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0251: ldstr "value" - IL_0256: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0260: ldstr "+" - IL_0265: ldstr "." - IL_026a: callvirt instance string string::Replace(string, string) - IL_026f: stloc.s 7 - IL_0271: nop - IL_0272: nop - IL_0273: ldarg.3 - IL_0274: ldloc.s 7 - IL_0276: callvirt instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) - IL_027b: stloc.s 11 - IL_027d: ldloc.s 11 - IL_027f: brfalse IL_02a4 + IL_00b6: br IL_00d7 - IL_0284: nop - IL_0285: ldarg.3 - IL_0286: ldloc.s 11 - IL_0288: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) - IL_028d: stloc.s 12 - IL_028f: ldloc.s 12 - IL_0291: brfalse IL_02a3 + IL_00bb: ldarg.0 + IL_00bc: ldarg.1 + IL_00bd: ldc.i4.1 + IL_00be: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForType(string, bool) + IL_00c3: stloc.1 + IL_00c4: br IL_00d7 - IL_0296: nop - IL_0297: ldarg.0 - IL_0298: ldloc.s 11 - IL_029a: ldloc.s 12 - IL_029c: ldarg.3 - IL_029d: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) - IL_02a2: nop - IL_02a3: nop - IL_02a4: nop - IL_02a5: nop - IL_02a6: ldloc.s 5 - IL_02a8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_02ad: brtrue IL_0144 + IL_00c9: ldarg.0 + IL_00ca: ldarg.1 + IL_00cb: ldc.i4.1 + IL_00cc: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForFunction(string, bool) + IL_00d1: stloc.1 + IL_00d2: br IL_00d7 - IL_02b2: leave IL_02ce + IL_00d7: ldloc.1 + IL_00d8: brtrue IL_00e9 - } // end .try 0 - finally { // 0 - IL_02b7: ldloc.s 5 - IL_02b9: isinst [mscorlib]System.IDisposable - IL_02be: dup - IL_02bf: stloc.s 13 - IL_02c1: brfalse IL_02cd + IL_00dd: nop + IL_00de: ldsfld string [mscorlib]System.String::Empty + IL_00e3: stloc.0 + IL_00e4: br IL_0237 - IL_02c6: ldloc.s 13 - IL_02c8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02cd: endfinally - } // end handler 0 - IL_02ce: ldarg.0 - IL_02cf: ldarg.0 - IL_02d0: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeDoc - IL_02d5: ldloc.2 - IL_02d6: ldloc.1 - IL_02d7: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) - IL_02dc: ret - } // end of method NAntDocumenter::DocumentType + IL_00e9: nop + IL_00ea: ldarg.1 + IL_00eb: ldc.i4.2 + IL_00ec: callvirt instance string string::Substring(int32) + IL_00f1: ldstr "NAnt." + IL_00f6: callvirt instance bool string::StartsWith(string) + IL_00fb: brfalse IL_012e - // method line 11 - .method private hidebysig - instance default void DocumentFunction (class [System.Xml]System.Xml.XmlElement functionElement, class NDoc.Documenter.NAnt.NAntXsltUtilities utilities) cil managed - { - // Method begins at RVA 0x2818 - // Code size 380 (0x17c) - .maxstack 5 - .locals init ( - string V_0, - string V_1, - class [System.Xml]System.Xml.Xsl.XsltArgumentList V_2, - class [System.Xml]System.Xml.XmlAttribute V_3, - class [mscorlib]System.Collections.IEnumerator V_4, - string V_5, - class [System.Xml]System.Xml.XmlNode V_6, - valuetype NDoc.Documenter.NAnt.ElementDocType V_7, - class [mscorlib]System.IDisposable V_8, - class [System.Xml]System.Xml.XmlAttribute V_9, - string V_10, - class [System.Xml]System.Xml.XmlNode V_11, - valuetype NDoc.Documenter.NAnt.ElementDocType V_12) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0100: ldarg.1 + IL_0101: ldc.i4.2 + IL_0102: callvirt instance string string::Substring(int32) + IL_0107: ldstr "NAnt.Contrib" + IL_010c: callvirt instance bool string::StartsWith(string) + IL_0111: brtrue IL_012e - IL_0007: nop - IL_0008: ldstr "functionElement" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: ldstr "id" - IL_0019: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_001e: stloc.0 - IL_001f: ldarg.2 - IL_0020: ldarg.1 - IL_0021: ldc.i4.0 - IL_0022: callvirt instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForFunction(class [System.Xml]System.Xml.XmlNode, bool) - IL_0027: stloc.1 - IL_0028: ldarg.0 - IL_0029: call instance class [System.Xml]System.Xml.Xsl.XsltArgumentList class NDoc.Documenter.NAnt.NAntDocumenter::CreateXsltArgumentList() - IL_002e: stloc.2 - IL_002f: ldloc.2 - IL_0030: ldstr "method-id" - IL_0035: ldsfld string [mscorlib]System.String::Empty - IL_003a: ldloc.0 - IL_003b: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_0040: ldloc.2 - IL_0041: ldstr "refType" - IL_0046: ldsfld string [mscorlib]System.String::Empty - IL_004b: ldstr "Function" - IL_0050: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_0055: ldloc.2 - IL_0056: ldstr "functionName" - IL_005b: ldsfld string [mscorlib]System.String::Empty - IL_0060: ldarg.1 - IL_0061: ldstr "name" - IL_0066: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_006b: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_0070: ldloc.2 - IL_0071: ldstr "urn:NAntUtil" - IL_0076: ldarg.2 - IL_0077: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) - IL_007c: nop - IL_007d: ldarg.1 - IL_007e: ldstr "parameter/@type" - IL_0083: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_0088: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() - IL_008d: stloc.s 4 - .try { // 0 - IL_008f: br IL_00e6 + IL_0116: nop + IL_0117: ldarg.0 + IL_0118: call instance class NDoc.Documenter.NAnt.NAntDocumenterConfig class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Config() + IL_011d: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NAntBaseUri() + IL_0122: ldloc.1 + IL_0123: call string string::Concat(string, string) + IL_0128: stloc.0 + IL_0129: br IL_0237 + + IL_012e: nop + IL_012f: ldstr "../" + IL_0134: ldloc.1 + IL_0135: call string string::Concat(string, string) + IL_013a: stloc.0 + IL_013b: br IL_0237 - IL_0094: ldloc.s 4 - IL_0096: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_009b: castclass [System.Xml]System.Xml.XmlAttribute - IL_00a0: stloc.3 - IL_00a1: nop - IL_00a2: ldstr "T:" - IL_00a7: ldloc.3 - IL_00a8: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00ad: call string string::Concat(string, string) - IL_00b2: stloc.s 5 - IL_00b4: ldarg.2 - IL_00b5: ldloc.s 5 - IL_00b7: callvirt instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) - IL_00bc: stloc.s 6 - IL_00be: ldloc.s 6 - IL_00c0: brfalse IL_00e5 + IL_0140: nop + IL_0141: ldarg.1 + IL_0142: ldc.i4.0 + IL_0143: ldc.i4.2 + IL_0144: callvirt instance string string::Substring(int32, int32) + IL_0149: stloc.3 + IL_014a: ldloc.3 + IL_014b: brfalse IL_022c - IL_00c5: nop - IL_00c6: ldarg.2 - IL_00c7: ldloc.s 6 - IL_00c9: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) - IL_00ce: stloc.s 7 - IL_00d0: ldloc.s 7 - IL_00d2: brfalse IL_00e4 + IL_0150: ldloc.3 + IL_0151: ldstr "N:" + IL_0156: call bool string::op_Equality(string, string) + IL_015b: brtrue IL_01b5 - IL_00d7: nop - IL_00d8: ldarg.0 - IL_00d9: ldloc.s 6 - IL_00db: ldloc.s 7 - IL_00dd: ldarg.2 - IL_00de: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) - IL_00e3: nop - IL_00e4: nop - IL_00e5: nop - IL_00e6: ldloc.s 4 - IL_00e8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00ed: brtrue IL_0094 + IL_0160: ldloc.3 + IL_0161: ldstr "T:" + IL_0166: call bool string::op_Equality(string, string) + IL_016b: brtrue IL_01e2 - IL_00f2: leave IL_010e + IL_0170: ldloc.3 + IL_0171: ldstr "F:" + IL_0176: call bool string::op_Equality(string, string) + IL_017b: brtrue IL_0214 - } // end .try 0 - finally { // 0 - IL_00f7: ldloc.s 4 - IL_00f9: isinst [mscorlib]System.IDisposable - IL_00fe: dup - IL_00ff: stloc.s 8 - IL_0101: brfalse IL_010d + IL_0180: ldloc.3 + IL_0181: ldstr "P:" + IL_0186: call bool string::op_Equality(string, string) + IL_018b: brtrue IL_021f - IL_0106: ldloc.s 8 - IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010d: endfinally - } // end handler 0 - IL_010e: ldarg.1 - IL_010f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0114: ldstr "returnType" - IL_0119: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_011e: stloc.s 9 - IL_0120: ldloc.s 9 - IL_0122: brfalse IL_016d + IL_0190: ldloc.3 + IL_0191: ldstr "M:" + IL_0196: call bool string::op_Equality(string, string) + IL_019b: brtrue IL_021f - IL_0127: nop - IL_0128: ldstr "T:" - IL_012d: ldloc.s 9 - IL_012f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0134: call string string::Concat(string, string) - IL_0139: stloc.s 10 - IL_013b: ldarg.2 - IL_013c: ldloc.s 10 - IL_013e: callvirt instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) - IL_0143: stloc.s 11 - IL_0145: ldloc.s 11 - IL_0147: brfalse IL_016c + IL_01a0: ldloc.3 + IL_01a1: ldstr "E:" + IL_01a6: call bool string::op_Equality(string, string) + IL_01ab: brtrue IL_021f - IL_014c: nop - IL_014d: ldarg.2 - IL_014e: ldloc.s 11 - IL_0150: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) - IL_0155: stloc.s 12 - IL_0157: ldloc.s 12 - IL_0159: brfalse IL_016b + IL_01b0: br IL_022c - IL_015e: nop - IL_015f: ldarg.0 - IL_0160: ldloc.s 11 - IL_0162: ldloc.s 12 - IL_0164: ldarg.2 - IL_0165: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) - IL_016a: nop - IL_016b: nop - IL_016c: nop - IL_016d: ldarg.0 - IL_016e: ldarg.0 - IL_016f: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionDoc - IL_0174: ldloc.2 - IL_0175: ldloc.1 - IL_0176: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) - IL_017b: ret - } // end of method NAntDocumenter::DocumentFunction + IL_01b5: ldarg.0 + IL_01b6: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl() + IL_01bb: ldarg.1 + IL_01bc: ldc.i4.2 + IL_01bd: callvirt instance string string::Substring(int32) + IL_01c2: ldstr "." + IL_01c7: ldstr "" + IL_01cc: callvirt instance string string::Replace(string, string) + IL_01d1: ldarg.0 + IL_01d2: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt() + IL_01d7: call string string::Concat(string, string, string) + IL_01dc: stloc.0 + IL_01dd: br IL_0237 - // method line 12 - .method private hidebysig - instance default void MakeTransforms () cil managed - { - // Method begins at RVA 0x29b0 - // Code size 225 (0xe1) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) - IL_0008: ldarg.0 - IL_0009: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_000e: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTaskIndex - IL_0013: ldarg.0 - IL_0014: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_0019: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeIndex - IL_001e: ldarg.0 - IL_001f: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_0024: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionIndex - IL_0029: ldarg.0 - IL_002a: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_002f: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFilterIndex - IL_0034: ldarg.0 - IL_0035: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_003a: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeDoc - IL_003f: ldarg.0 - IL_0040: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() - IL_0045: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionDoc - IL_004a: ldarg.0 - IL_004b: ldarg.0 - IL_004c: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTaskIndex - IL_0051: ldstr "task-index.xslt" - IL_0056: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) - IL_005b: ldarg.0 - IL_005c: ldc.i4.s 0x14 - IL_005e: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) - IL_0063: ldarg.0 - IL_0064: ldarg.0 - IL_0065: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeIndex - IL_006a: ldstr "type-index.xslt" - IL_006f: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) - IL_0074: ldarg.0 - IL_0075: ldc.i4.s 0x28 - IL_0077: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) - IL_007c: ldarg.0 - IL_007d: ldarg.0 - IL_007e: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFilterIndex - IL_0083: ldstr "filter-index.xslt" - IL_0088: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) - IL_008d: ldarg.0 - IL_008e: ldc.i4.s 0x32 - IL_0090: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) - IL_0095: ldarg.0 - IL_0096: ldarg.0 - IL_0097: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionIndex - IL_009c: ldstr "function-index.xslt" - IL_00a1: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) - IL_00a6: ldarg.0 - IL_00a7: ldc.i4.s 0x3c - IL_00a9: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) - IL_00ae: ldarg.0 - IL_00af: ldarg.0 - IL_00b0: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeDoc - IL_00b5: ldstr "type-doc.xslt" - IL_00ba: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) - IL_00bf: ldarg.0 - IL_00c0: ldc.i4.s 0x50 - IL_00c2: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) - IL_00c7: ldarg.0 - IL_00c8: ldarg.0 - IL_00c9: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionDoc - IL_00ce: ldstr "function-doc.xslt" - IL_00d3: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) - IL_00d8: ldarg.0 - IL_00d9: ldc.i4.s 0x64 - IL_00db: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) - IL_00e0: ret - } // end of method NAntDocumenter::MakeTransforms + IL_01e2: ldarg.0 + IL_01e3: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl() + IL_01e8: ldarg.1 + IL_01e9: ldc.i4.2 + IL_01ea: callvirt instance string string::Substring(int32) + IL_01ef: ldstr "." + IL_01f4: ldstr "" + IL_01f9: callvirt instance string string::Replace(string, string) + IL_01fe: ldstr "ClassTopic" + IL_0203: ldarg.0 + IL_0204: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt() + IL_0209: call string string::Concat(string, string, string, string) + IL_020e: stloc.0 + IL_020f: br IL_0237 - // method line 13 - .method private hidebysig - instance default void MakeTransform (class [System.Xml]System.Xml.Xsl.XslCompiledTransform transform, string fileName) cil managed - { - // Method begins at RVA 0x2a9d - // Code size 30 (0x1e) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldarg.0 - IL_0003: ldfld string NDoc.Documenter.NAnt.NAntDocumenter::_resourceDirectory - IL_0008: ldstr "xslt" - IL_000d: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0012: ldarg.2 - IL_0013: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0018: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Load(string) - IL_001d: ret - } // end of method NAntDocumenter::MakeTransform + IL_0214: ldsfld string [mscorlib]System.String::Empty + IL_0219: stloc.0 + IL_021a: br IL_0237 + + IL_021f: ldarg.0 + IL_0220: ldarg.1 + IL_0221: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFilenameForSystemMember(string) + IL_0226: stloc.0 + IL_0227: br IL_0237 - // method line 14 - .method private hidebysig - instance default class [System.Xml]System.Xml.Xsl.XsltArgumentList CreateXsltArgumentList () cil managed - { - // Method begins at RVA 0x2abc - // Code size 82 (0x52) - .maxstack 4 - .locals init ( - class [System.Xml]System.Xml.Xsl.XsltArgumentList V_0, - class [System.Xml]System.Xml.Xsl.XsltArgumentList V_1) - IL_0000: nop - IL_0001: newobj instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: ldstr "productName" - IL_000d: ldsfld string [mscorlib]System.String::Empty - IL_0012: ldarg.0 - IL_0013: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_ProductName() - IL_0018: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_001d: ldloc.0 - IL_001e: ldstr "productVersion" - IL_0023: ldsfld string [mscorlib]System.String::Empty - IL_0028: ldarg.0 - IL_0029: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_ProductVersion() - IL_002e: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_0033: ldloc.0 - IL_0034: ldstr "productUrl" - IL_0039: ldsfld string [mscorlib]System.String::Empty - IL_003e: ldarg.0 - IL_003f: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_ProductUrl() - IL_0044: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) - IL_0049: ldloc.0 - IL_004a: stloc.1 - IL_004b: br IL_0050 + IL_022c: ldsfld string [mscorlib]System.String::Empty + IL_0231: stloc.0 + IL_0232: br IL_0237 - IL_0050: ldloc.1 - IL_0051: ret - } // end of method NAntDocumenter::CreateXsltArgumentList + IL_0237: ldloc.0 + IL_0238: ret + } // end of method NAntXsltUtilities::GetHRef - // method line 15 - .method private hidebysig - instance default void TransformAndWriteResult (class [System.Xml]System.Xml.Xsl.XslCompiledTransform transform, class [System.Xml]System.Xml.Xsl.XsltArgumentList arguments, string filename) cil managed + // method line 9 + .method public hidebysig + instance default string GetName (string cref) cil managed { - // Method begins at RVA 0x2b1c - // Code size 62 (0x3e) + // Method begins at RVA 0x26a4 + // Code size 237 (0xed) .maxstack 4 .locals init ( string V_0, - class [mscorlib]System.IO.StreamWriter V_1) + string V_1, + int32 V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() - IL_0007: ldarg.3 - IL_0008: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: ldc.i4.0 - IL_0010: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() - IL_0015: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool, class [mscorlib]System.Text.Encoding) - IL_001a: stloc.1 - .try { // 0 - IL_001b: nop - IL_001c: ldarg.1 - IL_001d: ldarg.0 - IL_001e: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation - IL_0023: ldarg.2 - IL_0024: ldloc.1 - IL_0025: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Transform(class [System.Xml]System.Xml.XPath.IXPathNavigable, class [System.Xml]System.Xml.Xsl.XsltArgumentList, class [mscorlib]System.IO.TextWriter) - IL_002a: nop - IL_002b: leave IL_003d - - } // end .try 0 - finally { // 0 - IL_0030: ldloc.1 - IL_0031: brfalse IL_003c + IL_0001: ldarg.1 + IL_0002: callvirt instance int32 string::get_Length() + IL_0007: ldc.i4.2 + IL_0008: bge IL_0015 - IL_0036: ldloc.1 - IL_0037: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_003c: endfinally - } // end handler 0 - IL_003d: ret - } // end of method NAntDocumenter::TransformAndWriteResult + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: stloc.0 + IL_0010: br IL_00eb - .property instance string OutputDirectory () - { - .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory () - } - .property instance string NamespaceFilter () - { - .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter () - } - .property instance string ProductName () - { - .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_ProductName () - } - .property instance string ProductVersion () - { - .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_ProductVersion () - } - .property instance string ProductUrl () - { - .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_ProductUrl () - } - .property instance string MainOutputFile () - { - .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_MainOutputFile () - } - } // end of class NDoc.Documenter.NAnt.NAntDocumenter -} + IL_0015: ldarg.1 + IL_0016: ldc.i4.1 + IL_0017: callvirt instance char string::get_Chars(int32) + IL_001c: ldc.i4.s 0x3a + IL_001e: bne.un IL_00d2 -.namespace NDoc.Documenter.NAnt -{ - .class public auto ansi sealed ElementDocType - extends [mscorlib]System.Enum - { - .field public specialname rtspecialname int32 value__ - .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType None = int32(0x00000000) - .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Task = int32(0x00000001) - .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType DataTypeElement = int32(0x00000002) - .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Element = int32(0x00000003) - .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Enum = int32(0x00000004) - .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Filter = int32(0x00000005) - .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType FunctionSet = int32(0x00000006) + IL_0023: nop + IL_0024: ldarg.1 + IL_0025: callvirt instance int32 string::get_Length() + IL_002a: ldc.i4.s 0x09 + IL_002c: blt IL_005d - } // end of class NDoc.Documenter.NAnt.ElementDocType -} + IL_0031: ldarg.1 + IL_0032: ldc.i4.2 + IL_0033: callvirt instance string string::Substring(int32) + IL_0038: ldstr "System." + IL_003d: callvirt instance bool string::StartsWith(string) + IL_0042: brtrue IL_007a -.namespace NDoc.Documenter.NAnt -{ - .class public auto ansi beforefieldinit NAntDocumenterConfig - extends [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig - { - .field private string _outputDirectory - .field private bool _sdkLinksOnWeb - .field private string _productName - .field private string _productVersion - .field private string _productUrl - .field private string _nantBaseUri - .field private string _namespaceFilter + IL_0047: ldarg.1 + IL_0048: ldc.i4.2 + IL_0049: callvirt instance string string::Substring(int32) + IL_004e: ldstr "Microsoft.Win32." + IL_0053: callvirt instance bool string::StartsWith(string) + IL_0058: brtrue IL_007a - // method line 16 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2b78 - // Code size 213 (0xd5) - .maxstack 4 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) - IL_0000: ldarg.0 - IL_0001: ldstr "doc/help/tasks" - IL_0006: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_outputDirectory - IL_000b: ldarg.0 - IL_000c: ldstr "NAnt" - IL_0011: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productName - IL_0016: ldarg.0 - IL_0017: ldstr "" - IL_001c: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productVersion - IL_0021: ldarg.0 - IL_0022: ldstr "" - IL_0027: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productUrl - IL_002c: ldarg.0 - IL_002d: ldstr "" - IL_0032: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_nantBaseUri - IL_0037: ldarg.0 - IL_0038: ldstr "" - IL_003d: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_namespaceFilter - IL_0042: ldarg.0 - IL_0043: ldstr "NAnt" - IL_0048: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::.ctor(string) - IL_004d: nop - IL_004e: ldarg.0 - IL_004f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0054: ldstr "Copyright (C) 2001-{0} Gerry Shaw" - IL_0059: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_005e: stloc.0 - IL_005f: ldloca.s 0 - IL_0061: call instance int32 valuetype [mscorlib]System.DateTime::get_Year() - IL_0066: box [mscorlib]System.Int32 - IL_006b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0070: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_CopyrightText(string) - IL_0075: ldarg.0 - IL_0076: ldstr "http://nant.sourceforge.net/" - IL_007b: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_CopyrightHref(string) - IL_0080: ldarg.0 - IL_0081: ldc.i4.0 - IL_0082: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingParams(bool) - IL_0087: ldarg.0 - IL_0088: ldc.i4.0 - IL_0089: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingRemarks(bool) - IL_008e: ldarg.0 - IL_008f: ldc.i4.0 - IL_0090: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingReturns(bool) - IL_0095: ldarg.0 - IL_0096: ldc.i4.0 - IL_0097: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingSummaries(bool) - IL_009c: ldarg.0 - IL_009d: ldc.i4.0 - IL_009e: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingValues(bool) - IL_00a3: ldarg.0 - IL_00a4: ldc.i4.1 - IL_00a5: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentAttributes(bool) - IL_00aa: ldarg.0 - IL_00ab: ldc.i4.0 - IL_00ac: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentEmptyNamespaces(bool) - IL_00b1: ldarg.0 - IL_00b2: ldc.i4.0 - IL_00b3: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentInternals(bool) - IL_00b8: ldarg.0 - IL_00b9: ldc.i4.0 - IL_00ba: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentPrivates(bool) - IL_00bf: ldarg.0 - IL_00c0: ldc.i4.1 - IL_00c1: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentProtected(bool) - IL_00c6: ldarg.0 - IL_00c7: ldc.i4.0 - IL_00c8: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_SkipNamespacesWithoutSummaries(bool) - IL_00cd: ldarg.0 - IL_00ce: ldc.i4.2 - IL_00cf: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_EditorBrowsableFilter( member:>) - IL_00d4: ret - } // end of method NAntDocumenterConfig::.ctor + IL_005d: nop + IL_005e: ldarg.0 + IL_005f: ldfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntXsltUtilities::_elementNames + IL_0064: ldarg.1 + IL_0065: callvirt instance string class [System]System.Collections.Specialized.StringDictionary::get_Item(string) + IL_006a: stloc.1 + IL_006b: ldloc.1 + IL_006c: brfalse IL_0079 - // method line 17 - .method public hidebysig specialname - instance default string get_OutputDirectory () cil managed - { - // Method begins at RVA 0x2c5c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_outputDirectory - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0071: nop + IL_0072: ldloc.1 + IL_0073: stloc.0 + IL_0074: br IL_00eb - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntDocumenterConfig::get_OutputDirectory + IL_0079: nop + IL_007a: ldarg.1 + IL_007b: ldstr ".#c" + IL_0080: callvirt instance int32 string::IndexOf(string) + IL_0085: dup + IL_0086: stloc.2 + IL_0087: ldc.i4.0 + IL_0088: blt IL_00a0 - // method line 18 - .method public hidebysig specialname - instance default void set_OutputDirectory (string 'value') cil managed - { - // Method begins at RVA 0x2c77 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_outputDirectory - IL_0008: ldarg.0 - IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() - IL_000e: ret - } // end of method NAntDocumenterConfig::set_OutputDirectory + IL_008d: nop + IL_008e: ldarg.1 + IL_008f: ldc.i4.2 + IL_0090: ldloc.2 + IL_0091: ldc.i4.2 + IL_0092: sub + IL_0093: callvirt instance string string::Substring(int32, int32) + IL_0098: starg.s 1 + IL_009a: nop + IL_009b: br IL_00d1 - // method line 19 - .method public hidebysig specialname - instance default bool get_SdkLinksOnWeb () cil managed - { - // Method begins at RVA 0x2c88 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NDoc.Documenter.NAnt.NAntDocumenterConfig::_sdkLinksOnWeb - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_00a0: ldarg.1 + IL_00a1: ldstr "(" + IL_00a6: callvirt instance int32 string::IndexOf(string) + IL_00ab: dup + IL_00ac: stloc.2 + IL_00ad: ldc.i4.0 + IL_00ae: blt IL_00c6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntDocumenterConfig::get_SdkLinksOnWeb + IL_00b3: nop + IL_00b4: ldarg.1 + IL_00b5: ldc.i4.2 + IL_00b6: ldloc.2 + IL_00b7: ldc.i4.2 + IL_00b8: sub + IL_00b9: callvirt instance string string::Substring(int32, int32) + IL_00be: starg.s 1 + IL_00c0: nop + IL_00c1: br IL_00d1 - // method line 20 - .method public hidebysig specialname - instance default void set_SdkLinksOnWeb (bool 'value') cil managed - { - // Method begins at RVA 0x2ca3 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NDoc.Documenter.NAnt.NAntDocumenterConfig::_sdkLinksOnWeb - IL_0008: ldarg.0 - IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() - IL_000e: ret - } // end of method NAntDocumenterConfig::set_SdkLinksOnWeb + IL_00c6: nop + IL_00c7: ldarg.1 + IL_00c8: ldc.i4.2 + IL_00c9: callvirt instance string string::Substring(int32) + IL_00ce: starg.s 1 + IL_00d0: nop + IL_00d1: nop + IL_00d2: ldarg.1 + IL_00d3: ldarg.1 + IL_00d4: ldstr "." + IL_00d9: callvirt instance int32 string::LastIndexOf(string) + IL_00de: ldc.i4.1 + IL_00df: add + IL_00e0: callvirt instance string string::Substring(int32) + IL_00e5: stloc.0 + IL_00e6: br IL_00eb - // method line 21 - .method public hidebysig specialname - instance default string get_ProductName () cil managed + IL_00eb: ldloc.0 + IL_00ec: ret + } // end of method NAntXsltUtilities::GetName + + // method line 10 + .method public hidebysig + instance default string GetTaskName (string cref) cil managed { - // Method begins at RVA 0x2cb4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x27a0 + // Code size 22 (0x16) + .maxstack 3 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productName - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntDocumenterConfig::get_ProductName + IL_0002: ldarg.0 + IL_0003: ldarg.1 + IL_0004: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) + IL_0009: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) + IL_000e: stloc.0 + IL_000f: br IL_0014 - // method line 22 - .method public hidebysig specialname - instance default void set_ProductName (string 'value') cil managed - { - // Method begins at RVA 0x2ccf - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productName - IL_0008: ldarg.0 - IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() - IL_000e: ret - } // end of method NAntDocumenterConfig::set_ProductName + IL_0014: ldloc.0 + IL_0015: ret + } // end of method NAntXsltUtilities::GetTaskName - // method line 23 - .method public hidebysig specialname - instance default string get_ProductVersion () cil managed + // method line 11 + .method public hidebysig + instance default string GetElementName (string cref) cil managed { - // Method begins at RVA 0x2ce0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x27c4 + // Code size 22 (0x16) + .maxstack 3 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productVersion - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.0 + IL_0003: ldarg.1 + IL_0004: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) + IL_0009: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementNameForType(class [System.Xml]System.Xml.XmlNode) + IL_000e: stloc.0 + IL_000f: br IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntDocumenterConfig::get_ProductVersion + IL_0014: ldloc.0 + IL_0015: ret + } // end of method NAntXsltUtilities::GetElementName - // method line 24 - .method public hidebysig specialname - instance default void set_ProductVersion (string 'value') cil managed + // method line 12 + .method public hidebysig + instance default class [System.Xml]System.Xml.XmlNode GetTypeNodeByID (string cref) cil managed { - // Method begins at RVA 0x2cfb - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x27e8 + // Code size 143 (0x8f) + .maxstack 4 + .locals init ( + class [System.Xml]System.Xml.XmlNode V_0, + class [System.Xml]System.Xml.XmlNode V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productVersion - IL_0008: ldarg.0 - IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() - IL_000e: ret - } // end of method NAntDocumenterConfig::set_ProductVersion + IL_0001: ldarg.1 + IL_0002: ldc.i4.1 + IL_0003: callvirt instance char string::get_Chars(int32) + IL_0008: ldc.i4.s 0x3a + IL_000a: bne.un IL_0027 + + IL_000f: ldarg.1 + IL_0010: ldstr "T:" + IL_0015: callvirt instance bool string::StartsWith(string) + IL_001a: brtrue IL_0027 + + IL_001f: nop + IL_0020: ldnull + IL_0021: stloc.0 + IL_0022: br IL_008d + + IL_0027: ldarg.1 + IL_0028: ldstr "T:" + IL_002d: callvirt instance bool string::StartsWith(string) + IL_0032: brtrue IL_0046 + + IL_0037: nop + IL_0038: ldstr "T:" + IL_003d: ldarg.1 + IL_003e: call string string::Concat(string, string) + IL_0043: starg.s 1 + IL_0045: nop + IL_0046: ldarg.0 + IL_0047: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() + IL_004c: ldstr "//class[@id='" + IL_0051: ldarg.1 + IL_0052: ldstr "']" + IL_0057: call string string::Concat(string, string, string) + IL_005c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0061: stloc.1 + IL_0062: ldloc.1 + IL_0063: brtrue IL_0086 + + IL_0068: nop + IL_0069: ldarg.0 + IL_006a: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() + IL_006f: ldstr "//enumeration[@id='" + IL_0074: ldarg.1 + IL_0075: ldstr "']" + IL_007a: call string string::Concat(string, string, string) + IL_007f: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0084: stloc.1 + IL_0085: nop + IL_0086: ldloc.1 + IL_0087: stloc.0 + IL_0088: br IL_008d - // method line 25 - .method public hidebysig specialname - instance default string get_ProductUrl () cil managed + IL_008d: ldloc.0 + IL_008e: ret + } // end of method NAntXsltUtilities::GetTypeNodeByID + + // method line 13 + .method public hidebysig + instance default class [System.Xml]System.Xml.XmlNode GetMethodNodeByID (string cref) cil managed { - // Method begins at RVA 0x2d0c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2884 + // Code size 105 (0x69) + .maxstack 4 .locals init ( - string V_0) + class [System.Xml]System.Xml.XmlNode V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productUrl - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: ldc.i4.1 + IL_0003: callvirt instance char string::get_Chars(int32) + IL_0008: ldc.i4.s 0x3a + IL_000a: bne.un IL_0027 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntDocumenterConfig::get_ProductUrl + IL_000f: ldarg.1 + IL_0010: ldstr "M:" + IL_0015: callvirt instance bool string::StartsWith(string) + IL_001a: brtrue IL_0027 - // method line 26 - .method public hidebysig specialname - instance default void set_ProductUrl (string 'value') cil managed - { - // Method begins at RVA 0x2d27 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productUrl - IL_0008: ldarg.0 - IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() - IL_000e: ret - } // end of method NAntDocumenterConfig::set_ProductUrl + IL_001f: nop + IL_0020: ldnull + IL_0021: stloc.0 + IL_0022: br IL_0067 - // method line 27 - .method public hidebysig specialname - instance default string get_NAntBaseUri () cil managed - { - // Method begins at RVA 0x2d38 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_nantBaseUri - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0027: ldarg.1 + IL_0028: ldstr "M:" + IL_002d: callvirt instance bool string::StartsWith(string) + IL_0032: brtrue IL_0046 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntDocumenterConfig::get_NAntBaseUri + IL_0037: nop + IL_0038: ldstr "M:" + IL_003d: ldarg.1 + IL_003e: call string string::Concat(string, string) + IL_0043: starg.s 1 + IL_0045: nop + IL_0046: ldarg.0 + IL_0047: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() + IL_004c: ldstr "//method[@id='" + IL_0051: ldarg.1 + IL_0052: ldstr "']" + IL_0057: call string string::Concat(string, string, string) + IL_005c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0061: stloc.0 + IL_0062: br IL_0067 - // method line 28 - .method public hidebysig specialname - instance default void set_NAntBaseUri (string 'value') cil managed - { - // Method begins at RVA 0x2d53 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_nantBaseUri - IL_0008: ldarg.0 - IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() - IL_000e: ret - } // end of method NAntDocumenterConfig::set_NAntBaseUri + IL_0067: ldloc.0 + IL_0068: ret + } // end of method NAntXsltUtilities::GetMethodNodeByID - // method line 29 - .method public hidebysig specialname - instance default string get_NamespaceFilter () cil managed + // method line 14 + .method public hidebysig + instance default valuetype NDoc.Documenter.NAnt.ElementDocType GetElementDocType (class [System.Xml]System.Xml.XmlNode typeNode) cil managed { - // Method begins at RVA 0x2d64 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x28fc + // Code size 369 (0x171) + .maxstack 4 .locals init ( - string V_0) + valuetype NDoc.Documenter.NAnt.ElementDocType V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_namespaceFilter - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntDocumenterConfig::get_NamespaceFilter + IL_0001: ldarg.1 + IL_0002: brtrue IL_000f - // method line 30 - .method public hidebysig specialname - instance default void set_NamespaceFilter (string 'value') cil managed - { - // Method begins at RVA 0x2d7f - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_namespaceFilter - IL_0008: ldarg.0 - IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() - IL_000e: ret - } // end of method NAntDocumenterConfig::set_NamespaceFilter + IL_0007: nop + IL_0008: ldc.i4.0 + IL_0009: stloc.0 + IL_000a: br IL_016f - .property instance string OutputDirectory () - { - .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = ( - 01 00 1B 44 6F 63 75 6D 65 6E 74 61 74 69 6F 6E // ...Documentation - 20 4D 61 69 6E 20 53 65 74 74 69 6E 67 73 00 00 ) // Main Settings.. + IL_000f: ldarg.1 + IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() + IL_0015: ldstr "enumeration" + IL_001a: call bool string::op_Equality(string, string) + IL_001f: brfalse IL_002c - .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( - 01 00 49 54 68 65 20 70 61 74 68 20 74 6F 20 74 // ..IThe path to t - 68 65 20 6F 75 74 70 75 74 20 64 69 72 65 63 74 // he output direct - 6F 72 79 20 77 68 65 72 65 20 74 68 65 20 67 65 // ory where the ge - 6E 65 72 61 74 65 64 20 64 6F 63 73 20 77 69 6C // nerated docs wil - 6C 20 62 65 20 70 6C 61 63 65 64 2E 00 00 ) // l be placed... + IL_0024: nop + IL_0025: ldc.i4.4 + IL_0026: stloc.0 + IL_0027: br IL_016f - .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_OutputDirectory () - .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_OutputDirectory (string 'value') - } - .property instance bool SdkLinksOnWeb () - { - .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = ( - 01 00 1B 44 6F 63 75 6D 65 6E 74 61 74 69 6F 6E // ...Documentation - 20 4D 61 69 6E 20 53 65 74 74 69 6E 67 73 00 00 ) // Main Settings.. + IL_002c: ldarg.0 + IL_002d: ldarg.1 + IL_002e: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) + IL_0033: brfalse IL_0040 - .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( - 01 00 48 54 75 72 6E 69 6E 67 20 74 68 69 73 20 // ..HTurning this - 66 6C 61 67 20 6F 6E 20 77 69 6C 6C 20 70 6F 69 // flag on will poi - 6E 74 20 61 6C 6C 20 53 44 4B 20 6C 69 6E 6B 73 // nt all SDK links - 20 74 6F 20 74 68 65 20 6F 6E 6C 69 6E 65 20 4D // to the online M - 53 44 4E 20 6C 69 62 72 61 72 79 00 00 ) // SDN library.. + IL_0038: nop + IL_0039: ldc.i4.1 + IL_003a: stloc.0 + IL_003b: br IL_016f - .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(bool) = (01 00 00 00 00 ) // ..... + IL_0040: ldarg.1 + IL_0041: ldstr "descendant::base[@id='T:" + IL_0046: ldtoken [NAnt.Core]NAnt.Core.DataTypeBase + IL_004b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0050: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0055: ldstr "']" + IL_005a: call string string::Concat(string, string, string) + IL_005f: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0064: brfalse IL_00a3 - .get instance default bool NDoc.Documenter.NAnt.NAntDocumenterConfig::get_SdkLinksOnWeb () - .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_SdkLinksOnWeb (bool 'value') - } - .property instance string ProductName () - { - .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. + IL_0069: nop + IL_006a: ldarg.1 + IL_006b: ldstr "attribute[@name='" + IL_0070: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute + IL_0075: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_007a: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_007f: ldstr "']" + IL_0084: call string string::Concat(string, string, string) + IL_0089: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_008e: brfalse IL_009b - .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( - 01 00 44 54 68 65 20 6E 61 6D 65 20 6F 66 20 74 // ..DThe name of t - 68 65 20 70 72 6F 64 75 63 74 20 66 6F 72 20 77 // he product for w - 68 69 63 68 20 64 6F 63 75 6D 65 6E 74 61 74 69 // hich documentati - 6F 6E 20 73 68 6F 75 6C 64 20 62 65 20 67 65 6E // on should be gen - 65 72 61 74 65 64 2E 00 00 ) // erated... + IL_0093: nop + IL_0094: ldc.i4.2 + IL_0095: stloc.0 + IL_0096: br IL_016f - .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(string) = (01 00 04 4E 41 6E 74 00 00 ) // ...NAnt.. + IL_009b: nop + IL_009c: ldc.i4.3 + IL_009d: stloc.0 + IL_009e: br IL_016f - .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductName () - .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_ProductName (string 'value') - } - .property instance string ProductVersion () - { - .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. + IL_00a3: ldarg.1 + IL_00a4: ldstr "descendant::base[@id='T:" + IL_00a9: ldtoken [NAnt.Core]NAnt.Core.Filters.Filter + IL_00ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00b3: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00b8: ldstr "']" + IL_00bd: call string string::Concat(string, string, string) + IL_00c2: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_00c7: brfalse IL_0106 - .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( - 01 00 47 54 68 65 20 76 65 72 73 69 6F 6E 20 6F // ..GThe version o - 66 20 74 68 65 20 70 72 6F 64 75 63 74 20 66 6F // f the product fo - 72 20 77 68 69 63 68 20 64 6F 63 75 6D 65 6E 74 // r which document - 61 74 69 6F 6E 20 73 68 6F 75 6C 64 20 62 65 20 // ation should be - 67 65 6E 65 72 61 74 65 64 2E 00 00 ) // generated... + IL_00cc: nop + IL_00cd: ldarg.1 + IL_00ce: ldstr "attribute[@name='" + IL_00d3: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute + IL_00d8: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00dd: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00e2: ldstr "']" + IL_00e7: call string string::Concat(string, string, string) + IL_00ec: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_00f1: brfalse IL_00fe - .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(string) = (01 00 00 00 00 ) // ..... + IL_00f6: nop + IL_00f7: ldc.i4.5 + IL_00f8: stloc.0 + IL_00f9: br IL_016f - .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductVersion () - .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_ProductVersion (string 'value') - } - .property instance string ProductUrl () - { - .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. + IL_00fe: nop + IL_00ff: ldc.i4.3 + IL_0100: stloc.0 + IL_0101: br IL_016f - .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( - 01 00 52 54 68 65 20 55 52 4C 20 6F 66 20 74 68 // ..RThe URL of th - 65 20 77 65 62 73 69 74 65 20 6F 66 20 74 68 65 // e website of the - 20 70 72 6F 64 75 63 74 20 66 6F 72 20 77 68 69 // product for whi - 63 68 20 64 6F 63 75 6D 65 6E 74 61 74 69 6F 6E // ch documentation - 20 73 68 6F 75 6C 64 20 62 65 20 67 65 6E 65 72 // should be gener - 61 74 65 64 2E 00 00 ) // ated... + IL_0106: ldarg.1 + IL_0107: ldstr "descendant::base[@id='T:" + IL_010c: ldtoken [NAnt.Core]NAnt.Core.Element + IL_0111: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0116: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_011b: ldstr "']" + IL_0120: call string string::Concat(string, string, string) + IL_0125: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_012a: brfalse IL_0137 - .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(string) = (01 00 00 00 00 ) // ..... + IL_012f: nop + IL_0130: ldc.i4.3 + IL_0131: stloc.0 + IL_0132: br IL_016f - .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductUrl () - .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_ProductUrl (string 'value') - } - .property instance string NAntBaseUri () - { - .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. + IL_0137: ldarg.1 + IL_0138: ldstr "attribute[@name='" + IL_013d: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute + IL_0142: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0147: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_014c: ldstr "']/property[@name='Prefix']/@value" + IL_0151: call string string::Concat(string, string, string) + IL_0156: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_015b: brfalse IL_0168 - .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( - 01 00 26 54 68 65 20 62 61 73 65 20 55 52 49 20 // ..&The base URI - 66 6F 72 20 6C 69 6E 6B 69 6E 67 20 74 6F 20 4E // for linking to N - 41 6E 74 20 64 6F 63 73 2E 00 00 ) // Ant docs... + IL_0160: nop + IL_0161: ldc.i4.6 + IL_0162: stloc.0 + IL_0163: br IL_016f - .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NAntBaseUri () - .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_NAntBaseUri (string 'value') - } - .property instance string NamespaceFilter () - { - .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. + IL_0168: ldc.i4.0 + IL_0169: stloc.0 + IL_016a: br IL_016f - .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( - 01 00 4E 54 68 65 20 72 6F 6F 74 20 6E 61 6D 65 // ..NThe root name - 73 70 61 63 65 20 74 6F 20 64 6F 63 75 6D 65 6E // space to documen - 74 2C 20 6F 72 20 61 6E 20 65 6D 70 74 79 20 73 // t, or an empty s - 74 72 69 6E 67 20 74 6F 20 64 6F 63 75 6D 65 6E // tring to documen - 74 20 61 6C 6C 20 6E 61 6D 65 73 70 61 63 65 73 // t all namespaces - 2E 00 00 ) // ... + IL_016f: ldloc.0 + IL_0170: ret + } // end of method NAntXsltUtilities::GetElementDocType - .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NamespaceFilter () - .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_NamespaceFilter (string 'value') - } - } // end of class NDoc.Documenter.NAnt.NAntDocumenterConfig -} + // method line 15 + .method public hidebysig + instance default valuetype NDoc.Documenter.NAnt.ElementDocType GetElementDocTypeByID (string cref) cil managed + { + // Method begins at RVA 0x2a7c + // Code size 22 (0x16) + .maxstack 3 + .locals init ( + valuetype NDoc.Documenter.NAnt.ElementDocType V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.0 + IL_0003: ldarg.1 + IL_0004: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) + IL_0009: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) + IL_000e: stloc.0 + IL_000f: br IL_0014 -.namespace NDoc.Documenter.NAnt -{ - .class public auto ansi beforefieldinit NAntXsltUtilities - extends [mscorlib]System.Object - { - .field private string _sdkDocBaseUrl - .field private string _sdkDocExt - .field private class [System]System.Collections.Specialized.StringDictionary _elementNames - .field private class [System.Xml]System.Xml.XmlDocument _doc - .field private class NDoc.Documenter.NAnt.NAntDocumenterConfig _config - .field private static literal string SdkDoc10BaseUrl = "ms-help://MS.NETFrameworkSDK/cpref/html/frlrf" - .field private static literal string SdkDoc11BaseUrl = "ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrf" - .field private static literal string SdkDocPageExt = ".htm" - .field private static literal string MsdnOnlineSdkBaseUrl = "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrf" - .field private static literal string MsdnOnlineSdkPageExt = ".asp" - .field private static literal string SystemPrefix = "System." - .field private static literal string MicrosoftWin32Prefix = "Microsoft.Win32." - .field private static class [mscorlib]System.Collections.ArrayList Instances + IL_0014: ldloc.0 + IL_0015: ret + } // end of method NAntXsltUtilities::GetElementDocTypeByID - // method line 31 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' (class [System.Xml]System.Xml.XmlDocument doc, class NDoc.Documenter.NAnt.NAntDocumenterConfig config) cil managed + // method line 16 + .method public hidebysig + instance default bool IsDataType (string cref) cil managed { - // Method begins at RVA 0x2d90 - } // end of method NAntXsltUtilities::.ctor + // Method begins at RVA 0x2aa0 + // Code size 19 (0x13) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) + IL_0008: ldc.i4.2 + IL_0009: ceq + IL_000b: stloc.0 + IL_000c: br IL_0011 - // method line 32 - .method public hidebysig specialname - instance default string get_SdkDocBaseUrl () cil managed + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntXsltUtilities::IsDataType + + // method line 17 + .method public hidebysig + instance default bool IsElement (string cref) cil managed { - // Method begins at RVA 0x309c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2ac0 + // Code size 19 (0x13) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntXsltUtilities::_sdkDocBaseUrl - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) + IL_0008: ldc.i4.3 + IL_0009: ceq + IL_000b: stloc.0 + IL_000c: br IL_0011 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntXsltUtilities::get_SdkDocBaseUrl + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntXsltUtilities::IsElement - // method line 33 - .method public hidebysig specialname - instance default string get_SdkDocExt () cil managed + // method line 18 + .method public hidebysig + instance default bool IsFilter (string cref) cil managed { - // Method begins at RVA 0x30b8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2ae0 + // Code size 19 (0x13) + .maxstack 2 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NDoc.Documenter.NAnt.NAntXsltUtilities::_sdkDocExt - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) + IL_0008: ldc.i4.5 + IL_0009: ceq + IL_000b: stloc.0 + IL_000c: br IL_0011 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntXsltUtilities::get_SdkDocExt + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntXsltUtilities::IsFilter - // method line 34 - .method private hidebysig specialname - instance default class [System.Xml]System.Xml.XmlDocument get_Document () cil managed + // method line 19 + .method public hidebysig + instance default bool IsTask (string cref) cil managed { - // Method begins at RVA 0x30d4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2b00 + // Code size 19 (0x13) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntXsltUtilities::_doc - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) + IL_0008: ldc.i4.1 + IL_0009: ceq + IL_000b: stloc.0 + IL_000c: br IL_0011 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntXsltUtilities::get_Document + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntXsltUtilities::IsTask - // method line 35 - .method private hidebysig specialname - instance default class NDoc.Documenter.NAnt.NAntDocumenterConfig get_Config () cil managed + // method line 20 + .method public hidebysig + instance default bool IsFunctionSet (string cref) cil managed { - // Method begins at RVA 0x30f0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2b20 + // Code size 19 (0x13) + .maxstack 2 .locals init ( - class NDoc.Documenter.NAnt.NAntDocumenterConfig V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NDoc.Documenter.NAnt.NAntDocumenterConfig NDoc.Documenter.NAnt.NAntXsltUtilities::_config - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) + IL_0008: ldc.i4.6 + IL_0009: ceq + IL_000b: stloc.0 + IL_000c: br IL_0011 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntXsltUtilities::get_Config + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntXsltUtilities::IsFunctionSet - // method line 36 + // method line 21 .method public hidebysig - instance default string GetNamespaceFilter () cil managed + instance default string UrlEncode (string 'value') cil managed { - // Method begins at RVA 0x310c + // Method begins at RVA 0x2b40 // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NDoc.Documenter.NAnt.NAntDocumenterConfig class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Config() - IL_0007: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NamespaceFilter() + IL_0001: ldarg.1 + IL_0002: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() + IL_0007: call string class [System.Web]System.Web.HttpUtility::UrlEncode(string, class [mscorlib]System.Text.Encoding) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method NAntXsltUtilities::GetNamespaceFilter + } // end of method NAntXsltUtilities::UrlEncode - // method line 37 - .method public hidebysig - instance default class [System.Xml]System.Xml.XPath.XPathNodeIterator GetClassNode (string id) cil managed + // method line 22 + .method assembly hidebysig + instance default string GetElementNameForProperty (class [System.Xml]System.Xml.XmlNode propertyNode) cil managed { - // Method begins at RVA 0x312c - // Code size 98 (0x62) + // Method begins at RVA 0x2b60 + // Code size 321 (0x141) .maxstack 4 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [System.Xml]System.Xml.XPath.XPathNodeIterator V_1) + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1, + class [System.Xml]System.Xml.XmlAttribute V_2, + class [System.Xml]System.Xml.XmlAttribute V_3, + class [System.Xml]System.Xml.XmlAttribute V_4, + class [System.Xml]System.Xml.XmlAttribute V_5) IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldstr "T:" - IL_0007: callvirt instance bool string::StartsWith(string) - IL_000c: brtrue IL_0020 + IL_0002: ldstr "attribute[@name='" + IL_0007: ldtoken [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute + IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0011: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0016: ldstr "']/property[@name='Name']/@value" + IL_001b: call string string::Concat(string, string, string) + IL_0020: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0025: isinst [System.Xml]System.Xml.XmlAttribute + IL_002a: stloc.0 + IL_002b: ldloc.0 + IL_002c: brfalse IL_003e - IL_0011: nop - IL_0012: ldstr "T:" - IL_0017: ldarg.1 - IL_0018: call string string::Concat(string, string) - IL_001d: starg.s 1 - IL_001f: nop - IL_0020: ldarg.0 - IL_0021: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() - IL_0026: ldstr "//class[@id='" - IL_002b: ldarg.1 - IL_002c: ldstr "']" - IL_0031: call string string::Concat(string, string, string) - IL_0036: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_003b: stloc.0 + IL_0031: nop + IL_0032: ldloc.0 + IL_0033: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0038: stloc.1 + IL_0039: br IL_013f + + IL_003e: ldarg.1 + IL_003f: ldstr "attribute[@name='" + IL_0044: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute + IL_0049: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_004e: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0053: ldstr "']/property[@name='Name']/@value" + IL_0058: call string string::Concat(string, string, string) + IL_005d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0062: isinst [System.Xml]System.Xml.XmlAttribute + IL_0067: stloc.2 + IL_0068: ldloc.2 + IL_0069: brfalse IL_007b + + IL_006e: nop + IL_006f: ldloc.2 + IL_0070: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0075: stloc.1 + IL_0076: br IL_013f + + IL_007b: ldarg.1 + IL_007c: ldstr "attribute[@name='" + IL_0081: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute + IL_0086: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_008b: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0090: ldstr "']/property[@name='Name']/@value" + IL_0095: call string string::Concat(string, string, string) + IL_009a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_009f: isinst [System.Xml]System.Xml.XmlAttribute + IL_00a4: stloc.3 + IL_00a5: ldloc.3 + IL_00a6: brfalse IL_00b8 + + IL_00ab: nop + IL_00ac: ldloc.3 + IL_00ad: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00b2: stloc.1 + IL_00b3: br IL_013f + + IL_00b8: ldarg.1 + IL_00b9: ldstr "attribute[@name='" + IL_00be: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute + IL_00c3: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00c8: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00cd: ldstr "']/property[@name='Name']/@value" + IL_00d2: call string string::Concat(string, string, string) + IL_00d7: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_00dc: isinst [System.Xml]System.Xml.XmlAttribute + IL_00e1: stloc.s 4 + IL_00e3: ldloc.s 4 + IL_00e5: brfalse IL_00f8 + + IL_00ea: nop + IL_00eb: ldloc.s 4 + IL_00ed: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00f2: stloc.1 + IL_00f3: br IL_013f + + IL_00f8: ldarg.1 + IL_00f9: ldstr "attribute[@name='" + IL_00fe: ldtoken [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute + IL_0103: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0108: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_010d: ldstr "']/property[@name='Name']/@value" + IL_0112: call string string::Concat(string, string, string) + IL_0117: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_011c: isinst [System.Xml]System.Xml.XmlAttribute + IL_0121: stloc.s 5 + IL_0123: ldloc.s 5 + IL_0125: brfalse IL_0138 + + IL_012a: nop + IL_012b: ldloc.s 5 + IL_012d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0132: stloc.1 + IL_0133: br IL_013f + + IL_0138: ldnull + IL_0139: stloc.1 + IL_013a: br IL_013f + + IL_013f: ldloc.1 + IL_0140: ret + } // end of method NAntXsltUtilities::GetElementNameForProperty + + // method line 23 + .method assembly hidebysig + instance default string GetFileNameForFunction (class [System.Xml]System.Xml.XmlNode functionNode, bool urlEncode) cil managed + { + // Method begins at RVA 0x2cb0 + // Code size 317 (0x13d) + .maxstack 3 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + class [System.Xml]System.Xml.XmlNode V_1, + class [System.Xml]System.Xml.XmlNodeList V_2, + int32 V_3, + class [System.Xml]System.Xml.XmlElement V_4, + string V_5, + string V_6) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.1 + IL_0008: ldstr "../attribute[@name='NAnt.Core.Attributes.FunctionSetAttribute']/property[@name='Prefix']/@value" + IL_000d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0012: stloc.1 + IL_0013: ldloc.1 + IL_0014: brfalse IL_0046 + + IL_0019: ldloc.1 + IL_001a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_001f: ldstr "" + IL_0024: call bool string::op_Inequality(string, string) + IL_0029: brfalse IL_0046 + + IL_002e: nop + IL_002f: ldloc.0 + IL_0030: ldloc.1 + IL_0031: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_0036: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_003b: pop IL_003c: ldloc.0 - IL_003d: brtrue IL_004a + IL_003d: ldc.i4.s 0x2e + IL_003f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0044: pop + IL_0045: nop + IL_0046: ldarg.1 + IL_0047: ldstr "attribute[@name='NAnt.Core.Attributes.FunctionAttribute']/property[@name='Name']/@value" + IL_004c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0051: stloc.1 + IL_0052: ldloc.1 + IL_0053: brfalse IL_0081 + + IL_0058: ldloc.1 + IL_0059: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_005e: ldstr "" + IL_0063: call bool string::op_Inequality(string, string) + IL_0068: brfalse IL_0081 + + IL_006d: nop + IL_006e: ldloc.0 + IL_006f: ldloc.1 + IL_0070: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_0075: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_007a: pop + IL_007b: nop + IL_007c: br IL_009f + + IL_0081: nop + IL_0082: ldloc.0 + IL_0083: ldarg.1 + IL_0084: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0089: ldstr "name" + IL_008e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0093: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0098: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_009d: pop + IL_009e: nop + IL_009f: ldloc.0 + IL_00a0: ldc.i4.s 0x28 + IL_00a2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_00a7: pop + IL_00a8: ldarg.1 + IL_00a9: ldstr "parameter" + IL_00ae: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_00b3: stloc.2 + IL_00b4: ldc.i4.0 + IL_00b5: stloc.3 + IL_00b6: br IL_00f2 + + IL_00bb: nop + IL_00bc: ldloc.3 + IL_00bd: ldc.i4.0 + IL_00be: ble IL_00cc + + IL_00c3: ldloc.0 + IL_00c4: ldc.i4.s 0x2c + IL_00c6: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_00cb: pop + IL_00cc: ldloc.2 + IL_00cd: ldloc.3 + IL_00ce: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) + IL_00d3: castclass [System.Xml]System.Xml.XmlElement + IL_00d8: stloc.s 4 + IL_00da: ldloc.0 + IL_00db: ldloc.s 4 + IL_00dd: ldstr "type" + IL_00e2: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_00e7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ec: pop + IL_00ed: nop + IL_00ee: ldloc.3 + IL_00ef: ldc.i4.1 + IL_00f0: add + IL_00f1: stloc.3 + IL_00f2: ldloc.3 + IL_00f3: ldloc.2 + IL_00f4: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_00f9: blt IL_00bb - IL_0042: nop - IL_0043: ldnull - IL_0044: stloc.1 - IL_0045: br IL_0060 + IL_00fe: ldloc.0 + IL_00ff: ldc.i4.s 0x29 + IL_0101: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_0106: pop + IL_0107: ldloc.0 + IL_0108: callvirt instance string object::ToString() + IL_010d: stloc.s 5 + IL_010f: ldstr "functions/" + IL_0114: ldarg.2 + IL_0115: brfalse IL_0127 - IL_004a: ldloc.0 - IL_004b: callvirt instance class [System.Xml]System.Xml.XPath.XPathNavigator class [System.Xml]System.Xml.XmlNode::CreateNavigator() - IL_0050: ldstr "." - IL_0055: callvirt instance class [System.Xml]System.Xml.XPath.XPathNodeIterator class [System.Xml]System.Xml.XPath.XPathNavigator::Select(string) - IL_005a: stloc.1 - IL_005b: br IL_0060 + IL_011a: ldarg.0 + IL_011b: ldloc.s 5 + IL_011d: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_0122: br IL_0129 - IL_0060: ldloc.1 - IL_0061: ret - } // end of method NAntXsltUtilities::GetClassNode + IL_0127: ldloc.s 5 + IL_0129: ldstr ".html" + IL_012e: call string string::Concat(string, string, string) + IL_0133: stloc.s 6 + IL_0135: br IL_013a - // method line 38 - .method public hidebysig - instance default string GetHRef (string cref) cil managed + IL_013a: ldloc.s 6 + IL_013c: ret + } // end of method NAntXsltUtilities::GetFileNameForFunction + + // method line 24 + .method assembly hidebysig + instance default string GetFileNameForType (class [System.Xml]System.Xml.XmlNode typeNode, bool urlEncode) cil managed { - // Method begins at RVA 0x319c - // Code size 569 (0x239) + // Method begins at RVA 0x2dfc + // Code size 660 (0x294) .maxstack 4 .locals init ( string V_0, string V_1, string V_2, - string V_3) + string V_3, + class [System.Xml]System.Xml.XmlAttribute V_4, + string V_5, + class [System.Xml]System.Xml.XmlAttribute V_6, + string V_7, + string V_8, + string V_9) IL_0000: nop IL_0001: ldarg.1 - IL_0002: callvirt instance int32 string::get_Length() - IL_0007: ldc.i4.2 - IL_0008: blt IL_001b - - IL_000d: ldarg.1 - IL_000e: ldc.i4.1 - IL_000f: callvirt instance char string::get_Chars(int32) - IL_0014: ldc.i4.s 0x3a - IL_0016: beq IL_0027 - - IL_001b: nop - IL_001c: ldsfld string [mscorlib]System.String::Empty - IL_0021: stloc.0 - IL_0022: br IL_0237 - - IL_0027: ldarg.1 - IL_0028: ldstr "[]" - IL_002d: callvirt instance bool string::EndsWith(string) - IL_0032: brfalse IL_004b + IL_0002: brtrue IL_000f - IL_0037: nop - IL_0038: ldarg.1 - IL_0039: ldstr "[]" - IL_003e: ldstr "" - IL_0043: callvirt instance string string::Replace(string, string) - IL_0048: starg.s 1 - IL_004a: nop - IL_004b: ldarg.1 - IL_004c: callvirt instance int32 string::get_Length() - IL_0051: ldc.i4.s 0x09 - IL_0053: blt IL_0084 + IL_0007: nop + IL_0008: ldnull + IL_0009: stloc.0 + IL_000a: br IL_0292 - IL_0058: ldarg.1 - IL_0059: ldc.i4.2 - IL_005a: callvirt instance string string::Substring(int32) - IL_005f: ldstr "System." - IL_0064: callvirt instance bool string::StartsWith(string) - IL_0069: brtrue IL_0140 + IL_000f: ldnull + IL_0010: stloc.1 + IL_0011: ldarg.0 + IL_0012: ldarg.1 + IL_0013: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) + IL_0018: stloc.2 + IL_0019: ldloc.2 + IL_001a: brfalse IL_0048 - IL_006e: ldarg.1 - IL_006f: ldc.i4.2 - IL_0070: callvirt instance string string::Substring(int32) - IL_0075: ldstr "Microsoft.Win32." - IL_007a: callvirt instance bool string::StartsWith(string) - IL_007f: brtrue IL_0140 + IL_001f: nop + IL_0020: ldstr "tasks/" + IL_0025: ldarg.2 + IL_0026: brfalse IL_0037 - IL_0084: nop - IL_0085: ldnull - IL_0086: stloc.1 - IL_0087: ldarg.1 - IL_0088: ldc.i4.0 - IL_0089: ldc.i4.2 - IL_008a: callvirt instance string string::Substring(int32, int32) - IL_008f: stloc.2 - IL_0090: ldloc.2 - IL_0091: brfalse IL_00d7 + IL_002b: ldarg.0 + IL_002c: ldloc.2 + IL_002d: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_0032: br IL_0038 - IL_0096: ldloc.2 - IL_0097: ldstr "T:" - IL_009c: call bool string::op_Equality(string, string) - IL_00a1: brtrue IL_00bb + IL_0037: ldloc.2 + IL_0038: ldstr ".html" + IL_003d: call string string::Concat(string, string, string) + IL_0042: stloc.0 + IL_0043: br IL_0292 - IL_00a6: ldloc.2 - IL_00a7: ldstr "M:" - IL_00ac: call bool string::op_Equality(string, string) - IL_00b1: brtrue IL_00c9 + IL_0048: ldarg.1 + IL_0049: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() + IL_004e: ldstr "enumeration" + IL_0053: call bool string::op_Equality(string, string) + IL_0058: brfalse IL_00a2 - IL_00b6: br IL_00d7 + IL_005d: nop + IL_005e: ldarg.1 + IL_005f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0064: ldstr "id" + IL_0069: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_006e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0073: ldc.i4.2 + IL_0074: callvirt instance string string::Substring(int32) + IL_0079: stloc.3 + IL_007a: ldstr "enums/" + IL_007f: ldarg.2 + IL_0080: brfalse IL_0091 - IL_00bb: ldarg.0 - IL_00bc: ldarg.1 - IL_00bd: ldc.i4.1 - IL_00be: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForType(string, bool) - IL_00c3: stloc.1 - IL_00c4: br IL_00d7 + IL_0085: ldarg.0 + IL_0086: ldloc.3 + IL_0087: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_008c: br IL_0092 - IL_00c9: ldarg.0 - IL_00ca: ldarg.1 - IL_00cb: ldc.i4.1 - IL_00cc: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForFunction(string, bool) - IL_00d1: stloc.1 - IL_00d2: br IL_00d7 + IL_0091: ldloc.3 + IL_0092: ldstr ".html" + IL_0097: call string string::Concat(string, string, string) + IL_009c: stloc.0 + IL_009d: br IL_0292 - IL_00d7: ldloc.1 - IL_00d8: brtrue IL_00e9 + IL_00a2: ldarg.1 + IL_00a3: ldstr "descendant::base[@id='T:" + IL_00a8: ldtoken [NAnt.Core]NAnt.Core.DataTypeBase + IL_00ad: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00b2: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00b7: ldstr "']" + IL_00bc: call string string::Concat(string, string, string) + IL_00c1: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_00c6: brfalse IL_0133 - IL_00dd: nop - IL_00de: ldsfld string [mscorlib]System.String::Empty - IL_00e3: stloc.0 - IL_00e4: br IL_0237 + IL_00cb: nop + IL_00cc: ldarg.1 + IL_00cd: ldstr "attribute[@name='" + IL_00d2: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute + IL_00d7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00dc: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00e1: ldstr "']/property[@name='Name']/@value" + IL_00e6: call string string::Concat(string, string, string) + IL_00eb: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_00f0: isinst [System.Xml]System.Xml.XmlAttribute + IL_00f5: stloc.s 4 + IL_00f7: ldloc.s 4 + IL_00f9: brfalse IL_0132 - IL_00e9: nop - IL_00ea: ldarg.1 - IL_00eb: ldc.i4.2 - IL_00ec: callvirt instance string string::Substring(int32) - IL_00f1: ldstr "NAnt." - IL_00f6: callvirt instance bool string::StartsWith(string) - IL_00fb: brfalse IL_012e + IL_00fe: nop + IL_00ff: ldloc.s 4 + IL_0101: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0106: stloc.s 5 + IL_0108: ldstr "types/" + IL_010d: ldarg.2 + IL_010e: brfalse IL_0120 - IL_0100: ldarg.1 - IL_0101: ldc.i4.2 - IL_0102: callvirt instance string string::Substring(int32) - IL_0107: ldstr "NAnt.Contrib" - IL_010c: callvirt instance bool string::StartsWith(string) - IL_0111: brtrue IL_012e + IL_0113: ldarg.0 + IL_0114: ldloc.s 5 + IL_0116: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_011b: br IL_0122 - IL_0116: nop - IL_0117: ldarg.0 - IL_0118: call instance class NDoc.Documenter.NAnt.NAntDocumenterConfig class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Config() - IL_011d: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NAntBaseUri() - IL_0122: ldloc.1 - IL_0123: call string string::Concat(string, string) - IL_0128: stloc.0 - IL_0129: br IL_0237 + IL_0120: ldloc.s 5 + IL_0122: ldstr ".html" + IL_0127: call string string::Concat(string, string, string) + IL_012c: stloc.0 + IL_012d: br IL_0292 - IL_012e: nop - IL_012f: ldstr "../" - IL_0134: ldloc.1 - IL_0135: call string string::Concat(string, string) - IL_013a: stloc.0 - IL_013b: br IL_0237 + IL_0132: nop + IL_0133: ldarg.1 + IL_0134: ldstr "descendant::base[@id='T:" + IL_0139: ldtoken [NAnt.Core]NAnt.Core.Filters.Filter + IL_013e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0143: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0148: ldstr "']" + IL_014d: call string string::Concat(string, string, string) + IL_0152: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0157: brfalse IL_01c4 - IL_0140: nop - IL_0141: ldarg.1 - IL_0142: ldc.i4.0 - IL_0143: ldc.i4.2 - IL_0144: callvirt instance string string::Substring(int32, int32) - IL_0149: stloc.3 - IL_014a: ldloc.3 - IL_014b: brfalse IL_022c + IL_015c: nop + IL_015d: ldarg.1 + IL_015e: ldstr "attribute[@name='" + IL_0163: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute + IL_0168: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_016d: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0172: ldstr "']/property[@name='Name']/@value" + IL_0177: call string string::Concat(string, string, string) + IL_017c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0181: isinst [System.Xml]System.Xml.XmlAttribute + IL_0186: stloc.s 6 + IL_0188: ldloc.s 6 + IL_018a: brfalse IL_01c3 - IL_0150: ldloc.3 - IL_0151: ldstr "N:" - IL_0156: call bool string::op_Equality(string, string) - IL_015b: brtrue IL_01b5 + IL_018f: nop + IL_0190: ldloc.s 6 + IL_0192: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0197: stloc.s 7 + IL_0199: ldstr "filters/" + IL_019e: ldarg.2 + IL_019f: brfalse IL_01b1 - IL_0160: ldloc.3 - IL_0161: ldstr "T:" - IL_0166: call bool string::op_Equality(string, string) - IL_016b: brtrue IL_01e2 + IL_01a4: ldarg.0 + IL_01a5: ldloc.s 7 + IL_01a7: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_01ac: br IL_01b3 - IL_0170: ldloc.3 - IL_0171: ldstr "F:" - IL_0176: call bool string::op_Equality(string, string) - IL_017b: brtrue IL_0214 + IL_01b1: ldloc.s 7 + IL_01b3: ldstr ".html" + IL_01b8: call string string::Concat(string, string, string) + IL_01bd: stloc.0 + IL_01be: br IL_0292 - IL_0180: ldloc.3 - IL_0181: ldstr "P:" - IL_0186: call bool string::op_Equality(string, string) - IL_018b: brtrue IL_021f + IL_01c3: nop + IL_01c4: ldarg.0 + IL_01c5: ldarg.1 + IL_01c6: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetHRefForFunctionSet(class [System.Xml]System.Xml.XmlNode) + IL_01cb: stloc.1 + IL_01cc: ldloc.1 + IL_01cd: brfalse IL_01da - IL_0190: ldloc.3 - IL_0191: ldstr "M:" - IL_0196: call bool string::op_Equality(string, string) - IL_019b: brtrue IL_021f + IL_01d2: nop + IL_01d3: ldloc.1 + IL_01d4: stloc.0 + IL_01d5: br IL_0292 - IL_01a0: ldloc.3 - IL_01a1: ldstr "E:" - IL_01a6: call bool string::op_Equality(string, string) - IL_01ab: brtrue IL_021f + IL_01da: ldarg.1 + IL_01db: ldstr "descendant::base[@id='T:" + IL_01e0: ldtoken [NAnt.Core]NAnt.Core.Element + IL_01e5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01ea: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01ef: ldstr "']" + IL_01f4: call string string::Concat(string, string, string) + IL_01f9: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_01fe: brfalse IL_024b - IL_01b0: br IL_022c + IL_0203: nop + IL_0204: ldarg.1 + IL_0205: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_020a: ldstr "id" + IL_020f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0214: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0219: ldc.i4.2 + IL_021a: callvirt instance string string::Substring(int32) + IL_021f: stloc.s 8 + IL_0221: ldstr "elements/" + IL_0226: ldarg.2 + IL_0227: brfalse IL_0239 - IL_01b5: ldarg.0 - IL_01b6: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl() - IL_01bb: ldarg.1 - IL_01bc: ldc.i4.2 - IL_01bd: callvirt instance string string::Substring(int32) - IL_01c2: ldstr "." - IL_01c7: ldstr "" - IL_01cc: callvirt instance string string::Replace(string, string) - IL_01d1: ldarg.0 - IL_01d2: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt() - IL_01d7: call string string::Concat(string, string, string) - IL_01dc: stloc.0 - IL_01dd: br IL_0237 + IL_022c: ldarg.0 + IL_022d: ldloc.s 8 + IL_022f: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_0234: br IL_023b - IL_01e2: ldarg.0 - IL_01e3: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl() - IL_01e8: ldarg.1 - IL_01e9: ldc.i4.2 - IL_01ea: callvirt instance string string::Substring(int32) - IL_01ef: ldstr "." - IL_01f4: ldstr "" - IL_01f9: callvirt instance string string::Replace(string, string) - IL_01fe: ldstr "ClassTopic" - IL_0203: ldarg.0 - IL_0204: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt() - IL_0209: call string string::Concat(string, string, string, string) - IL_020e: stloc.0 - IL_020f: br IL_0237 + IL_0239: ldloc.s 8 + IL_023b: ldstr ".html" + IL_0240: call string string::Concat(string, string, string) + IL_0245: stloc.0 + IL_0246: br IL_0292 - IL_0214: ldsfld string [mscorlib]System.String::Empty - IL_0219: stloc.0 - IL_021a: br IL_0237 + IL_024b: ldarg.1 + IL_024c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0251: ldstr "id" + IL_0256: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0260: ldc.i4.2 + IL_0261: callvirt instance string string::Substring(int32) + IL_0266: stloc.s 9 + IL_0268: ldstr "../sdk/" + IL_026d: ldarg.2 + IL_026e: brfalse IL_0280 - IL_021f: ldarg.0 - IL_0220: ldarg.1 - IL_0221: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFilenameForSystemMember(string) - IL_0226: stloc.0 - IL_0227: br IL_0237 + IL_0273: ldarg.0 + IL_0274: ldloc.s 9 + IL_0276: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_027b: br IL_0282 - IL_022c: ldsfld string [mscorlib]System.String::Empty - IL_0231: stloc.0 - IL_0232: br IL_0237 + IL_0280: ldloc.s 9 + IL_0282: ldstr ".html" + IL_0287: call string string::Concat(string, string, string) + IL_028c: stloc.0 + IL_028d: br IL_0292 - IL_0237: ldloc.0 - IL_0238: ret - } // end of method NAntXsltUtilities::GetHRef + IL_0292: ldloc.0 + IL_0293: ret + } // end of method NAntXsltUtilities::GetFileNameForType - // method line 39 - .method public hidebysig - instance default string GetName (string cref) cil managed + // method line 25 + .method private hidebysig + instance default string GetElementNameForType (class [System.Xml]System.Xml.XmlNode typeNode) cil managed { - // Method begins at RVA 0x33e4 - // Code size 237 (0xed) + // Method begins at RVA 0x309c + // Code size 314 (0x13a) .maxstack 4 .locals init ( string V_0, string V_1, - int32 V_2) + class [System.Xml]System.Xml.XmlAttribute V_2, + class [System.Xml]System.Xml.XmlAttribute V_3) IL_0000: nop IL_0001: ldarg.1 - IL_0002: callvirt instance int32 string::get_Length() - IL_0007: ldc.i4.2 - IL_0008: bge IL_0015 - - IL_000d: nop - IL_000e: ldarg.1 - IL_000f: stloc.0 - IL_0010: br IL_00eb + IL_0002: brtrue IL_0013 - IL_0015: ldarg.1 - IL_0016: ldc.i4.1 - IL_0017: callvirt instance char string::get_Chars(int32) - IL_001c: ldc.i4.s 0x3a - IL_001e: bne.un IL_00d2 + IL_0007: nop + IL_0008: ldsfld string [mscorlib]System.String::Empty + IL_000d: stloc.0 + IL_000e: br IL_0138 - IL_0023: nop - IL_0024: ldarg.1 - IL_0025: callvirt instance int32 string::get_Length() - IL_002a: ldc.i4.s 0x09 - IL_002c: blt IL_005d + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: brfalse IL_0038 - IL_0031: ldarg.1 - IL_0032: ldc.i4.2 - IL_0033: callvirt instance string string::Substring(int32) - IL_0038: ldstr "System." - IL_003d: callvirt instance bool string::StartsWith(string) - IL_0042: brtrue IL_007a + IL_0021: nop + IL_0022: ldstr "<" + IL_0027: ldloc.1 + IL_0028: ldstr ">" + IL_002d: call string string::Concat(string, string, string) + IL_0032: stloc.0 + IL_0033: br IL_0138 - IL_0047: ldarg.1 - IL_0048: ldc.i4.2 - IL_0049: callvirt instance string string::Substring(int32) - IL_004e: ldstr "Microsoft.Win32." - IL_0053: callvirt instance bool string::StartsWith(string) - IL_0058: brtrue IL_007a + IL_0038: ldarg.1 + IL_0039: ldstr "attribute[@name='" + IL_003e: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute + IL_0043: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0048: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_004d: ldstr "']/property[@name='Name']/@value" + IL_0052: call string string::Concat(string, string, string) + IL_0057: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_005c: isinst [System.Xml]System.Xml.XmlAttribute + IL_0061: stloc.2 + IL_0062: ldloc.2 + IL_0063: brfalse IL_00f4 - IL_005d: nop - IL_005e: ldarg.0 - IL_005f: ldfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntXsltUtilities::_elementNames - IL_0064: ldarg.1 - IL_0065: callvirt instance string class [System]System.Collections.Specialized.StringDictionary::get_Item(string) - IL_006a: stloc.1 - IL_006b: ldloc.1 - IL_006c: brfalse IL_0079 + IL_0068: nop + IL_0069: ldarg.1 + IL_006a: ldstr "descendant::base[@id='T:" + IL_006f: ldtoken [NAnt.Core]NAnt.Core.DataTypeBase + IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0079: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_007e: ldstr "']" + IL_0083: call string string::Concat(string, string, string) + IL_0088: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_008d: brfalse IL_00ae - IL_0071: nop - IL_0072: ldloc.1 - IL_0073: stloc.0 - IL_0074: br IL_00eb + IL_0092: nop + IL_0093: ldstr "<" + IL_0098: ldloc.2 + IL_0099: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_009e: ldstr ">" + IL_00a3: call string string::Concat(string, string, string) + IL_00a8: stloc.0 + IL_00a9: br IL_0138 - IL_0079: nop - IL_007a: ldarg.1 - IL_007b: ldstr ".#c" - IL_0080: callvirt instance int32 string::IndexOf(string) - IL_0085: dup - IL_0086: stloc.2 - IL_0087: ldc.i4.0 - IL_0088: blt IL_00a0 + IL_00ae: ldarg.1 + IL_00af: ldstr "descendant::base[@id='T:" + IL_00b4: ldtoken [NAnt.Core]NAnt.Core.Filters.Filter + IL_00b9: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00be: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_00c3: ldstr "']" + IL_00c8: call string string::Concat(string, string, string) + IL_00cd: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_00d2: brfalse IL_00f3 - IL_008d: nop - IL_008e: ldarg.1 - IL_008f: ldc.i4.2 - IL_0090: ldloc.2 - IL_0091: ldc.i4.2 - IL_0092: sub - IL_0093: callvirt instance string string::Substring(int32, int32) - IL_0098: starg.s 1 - IL_009a: nop - IL_009b: br IL_00d1 + IL_00d7: nop + IL_00d8: ldstr "<" + IL_00dd: ldloc.2 + IL_00de: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00e3: ldstr ">" + IL_00e8: call string string::Concat(string, string, string) + IL_00ed: stloc.0 + IL_00ee: br IL_0138 - IL_00a0: ldarg.1 - IL_00a1: ldstr "(" - IL_00a6: callvirt instance int32 string::IndexOf(string) - IL_00ab: dup - IL_00ac: stloc.2 - IL_00ad: ldc.i4.0 - IL_00ae: blt IL_00c6 + IL_00f3: nop + IL_00f4: ldarg.1 + IL_00f5: ldstr "attribute[@name='" + IL_00fa: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute + IL_00ff: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0104: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0109: ldstr "']/property[@name='Category']/@value" + IL_010e: call string string::Concat(string, string, string) + IL_0113: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0118: isinst [System.Xml]System.Xml.XmlAttribute + IL_011d: stloc.3 + IL_011e: ldloc.3 + IL_011f: brfalse IL_0131 - IL_00b3: nop - IL_00b4: ldarg.1 - IL_00b5: ldc.i4.2 - IL_00b6: ldloc.2 - IL_00b7: ldc.i4.2 - IL_00b8: sub - IL_00b9: callvirt instance string string::Substring(int32, int32) - IL_00be: starg.s 1 - IL_00c0: nop - IL_00c1: br IL_00d1 + IL_0124: nop + IL_0125: ldloc.3 + IL_0126: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_012b: stloc.0 + IL_012c: br IL_0138 - IL_00c6: nop - IL_00c7: ldarg.1 - IL_00c8: ldc.i4.2 - IL_00c9: callvirt instance string string::Substring(int32) - IL_00ce: starg.s 1 - IL_00d0: nop - IL_00d1: nop - IL_00d2: ldarg.1 - IL_00d3: ldarg.1 - IL_00d4: ldstr "." - IL_00d9: callvirt instance int32 string::LastIndexOf(string) - IL_00de: ldc.i4.1 - IL_00df: add - IL_00e0: callvirt instance string string::Substring(int32) - IL_00e5: stloc.0 - IL_00e6: br IL_00eb + IL_0131: ldnull + IL_0132: stloc.0 + IL_0133: br IL_0138 - IL_00eb: ldloc.0 - IL_00ec: ret - } // end of method NAntXsltUtilities::GetName + IL_0138: ldloc.0 + IL_0139: ret + } // end of method NAntXsltUtilities::GetElementNameForType - // method line 40 - .method public hidebysig - instance default string GetTaskName (string cref) cil managed + // method line 26 + .method private hidebysig + instance default string GetFileNameForFunction (string 'type', bool urlEncode) cil managed { - // Method begins at RVA 0x34e0 - // Code size 22 (0x16) + // Method begins at RVA 0x31e4 + // Code size 39 (0x27) .maxstack 3 .locals init ( - string V_0) + class [System.Xml]System.Xml.XmlNode V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldarg.1 - IL_0004: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) - IL_0009: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0002: ldarg.1 + IL_0003: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetMethodNodeByID(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: brfalse IL_001e - IL_0014: ldloc.0 - IL_0015: ret - } // end of method NAntXsltUtilities::GetTaskName + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: ldloc.0 + IL_0012: ldc.i4.1 + IL_0013: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForFunction(class [System.Xml]System.Xml.XmlNode, bool) + IL_0018: stloc.1 + IL_0019: br IL_0025 - // method line 41 - .method public hidebysig - instance default string GetElementName (string cref) cil managed + IL_001e: ldnull + IL_001f: stloc.1 + IL_0020: br IL_0025 + + IL_0025: ldloc.1 + IL_0026: ret + } // end of method NAntXsltUtilities::GetFileNameForFunction + + // method line 27 + .method private hidebysig + instance default string GetFileNameForType (string 'type', bool urlEncode) cil managed { - // Method begins at RVA 0x3504 - // Code size 22 (0x16) + // Method begins at RVA 0x3218 + // Code size 23 (0x17) .maxstack 3 .locals init ( string V_0) @@ -2313,1418 +1736,1995 @@ IL_0002: ldarg.0 IL_0003: ldarg.1 IL_0004: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) - IL_0009: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementNameForType(class [System.Xml]System.Xml.XmlNode) - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0009: ldarg.2 + IL_000a: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForType(class [System.Xml]System.Xml.XmlNode, bool) + IL_000f: stloc.0 + IL_0010: br IL_0015 - IL_0014: ldloc.0 - IL_0015: ret - } // end of method NAntXsltUtilities::GetElementName + IL_0015: ldloc.0 + IL_0016: ret + } // end of method NAntXsltUtilities::GetFileNameForType - // method line 42 - .method public hidebysig - instance default class [System.Xml]System.Xml.XmlNode GetTypeNodeByID (string cref) cil managed + // method line 28 + .method private hidebysig + instance default string GetFilenameForSystemMember (string cref) cil managed { - // Method begins at RVA 0x3528 - // Code size 143 (0x8f) - .maxstack 4 + // Method begins at RVA 0x323c + // Code size 204 (0xcc) + .maxstack 6 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - class [System.Xml]System.Xml.XmlNode V_1) + string V_0, + int32 V_1, + string V_2, + string V_3, + string V_4) IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldc.i4.1 - IL_0003: callvirt instance char string::get_Chars(int32) - IL_0008: ldc.i4.s 0x3a - IL_000a: bne.un IL_0027 - - IL_000f: ldarg.1 - IL_0010: ldstr "T:" - IL_0015: callvirt instance bool string::StartsWith(string) - IL_001a: brtrue IL_0027 + IL_0002: ldstr ".#c" + IL_0007: callvirt instance int32 string::IndexOf(string) + IL_000c: dup + IL_000d: stloc.1 + IL_000e: ldc.i4.0 + IL_000f: blt IL_0030 - IL_001f: nop - IL_0020: ldnull - IL_0021: stloc.0 - IL_0022: br IL_008d + IL_0014: nop + IL_0015: ldarg.1 + IL_0016: ldc.i4.2 + IL_0017: ldloc.1 + IL_0018: ldc.i4.2 + IL_0019: sub + IL_001a: callvirt instance string string::Substring(int32, int32) + IL_001f: ldstr ".ctor" + IL_0024: call string string::Concat(string, string) + IL_0029: stloc.0 + IL_002a: nop + IL_002b: br IL_005f - IL_0027: ldarg.1 - IL_0028: ldstr "T:" - IL_002d: callvirt instance bool string::StartsWith(string) - IL_0032: brtrue IL_0046 + IL_0030: ldarg.1 + IL_0031: ldstr "(" + IL_0036: callvirt instance int32 string::IndexOf(string) + IL_003b: dup + IL_003c: stloc.1 + IL_003d: ldc.i4.0 + IL_003e: blt IL_0055 - IL_0037: nop - IL_0038: ldstr "T:" - IL_003d: ldarg.1 - IL_003e: call string string::Concat(string, string) - IL_0043: starg.s 1 - IL_0045: nop - IL_0046: ldarg.0 - IL_0047: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() - IL_004c: ldstr "//class[@id='" - IL_0051: ldarg.1 - IL_0052: ldstr "']" - IL_0057: call string string::Concat(string, string, string) - IL_005c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0061: stloc.1 - IL_0062: ldloc.1 - IL_0063: brtrue IL_0086 + IL_0043: nop + IL_0044: ldarg.1 + IL_0045: ldc.i4.2 + IL_0046: ldloc.1 + IL_0047: ldc.i4.2 + IL_0048: sub + IL_0049: callvirt instance string string::Substring(int32, int32) + IL_004e: stloc.0 + IL_004f: nop + IL_0050: br IL_005f - IL_0068: nop - IL_0069: ldarg.0 - IL_006a: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() - IL_006f: ldstr "//enumeration[@id='" - IL_0074: ldarg.1 - IL_0075: ldstr "']" - IL_007a: call string string::Concat(string, string, string) - IL_007f: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0084: stloc.1 - IL_0085: nop - IL_0086: ldloc.1 - IL_0087: stloc.0 - IL_0088: br IL_008d + IL_0055: nop + IL_0056: ldarg.1 + IL_0057: ldc.i4.2 + IL_0058: callvirt instance string string::Substring(int32) + IL_005d: stloc.0 + IL_005e: nop + IL_005f: ldloc.0 + IL_0060: ldstr "." + IL_0065: callvirt instance int32 string::LastIndexOf(string) + IL_006a: stloc.1 + IL_006b: ldloc.0 + IL_006c: ldc.i4.0 + IL_006d: ldloc.1 + IL_006e: callvirt instance string string::Substring(int32, int32) + IL_0073: stloc.2 + IL_0074: ldloc.0 + IL_0075: ldloc.1 + IL_0076: ldc.i4.1 + IL_0077: add + IL_0078: callvirt instance string string::Substring(int32) + IL_007d: stloc.3 + IL_007e: ldc.i4.6 + IL_007f: newarr [mscorlib]System.String + IL_0084: dup + IL_0085: ldc.i4.0 + IL_0086: ldarg.0 + IL_0087: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl() + IL_008c: stelem.ref + IL_008d: dup + IL_008e: ldc.i4.1 + IL_008f: ldloc.2 + IL_0090: ldstr "." + IL_0095: ldstr "" + IL_009a: callvirt instance string string::Replace(string, string) + IL_009f: stelem.ref + IL_00a0: dup + IL_00a1: ldc.i4.2 + IL_00a2: ldstr "Class" + IL_00a7: stelem.ref + IL_00a8: dup + IL_00a9: ldc.i4.3 + IL_00aa: ldloc.3 + IL_00ab: stelem.ref + IL_00ac: dup + IL_00ad: ldc.i4.4 + IL_00ae: ldstr "Topic" + IL_00b3: stelem.ref + IL_00b4: dup + IL_00b5: ldc.i4.5 + IL_00b6: ldarg.0 + IL_00b7: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt() + IL_00bc: stelem.ref + IL_00bd: call string string::Concat(string[]) + IL_00c2: stloc.s 4 + IL_00c4: br IL_00c9 - IL_008d: ldloc.0 - IL_008e: ret - } // end of method NAntXsltUtilities::GetTypeNodeByID + IL_00c9: ldloc.s 4 + IL_00cb: ret + } // end of method NAntXsltUtilities::GetFilenameForSystemMember - // method line 43 - .method public hidebysig - instance default class [System.Xml]System.Xml.XmlNode GetMethodNodeByID (string cref) cil managed + // method line 29 + .method private hidebysig + instance default string GetTaskNameForType (class [System.Xml]System.Xml.XmlNode typeNode) cil managed { - // Method begins at RVA 0x35c4 - // Code size 105 (0x69) + // Method begins at RVA 0x3314 + // Code size 128 (0x80) .maxstack 4 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0) + string V_0, + class [System.Xml]System.Xml.XmlAttribute V_1) IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldc.i4.1 - IL_0003: callvirt instance char string::get_Chars(int32) - IL_0008: ldc.i4.s 0x3a - IL_000a: bne.un IL_0027 + IL_0002: brtrue IL_000f + + IL_0007: nop + IL_0008: ldnull + IL_0009: stloc.0 + IL_000a: br IL_007e IL_000f: ldarg.1 - IL_0010: ldstr "M:" - IL_0015: callvirt instance bool string::StartsWith(string) - IL_001a: brtrue IL_0027 + IL_0010: ldstr "descendant::base[@id='T:" + IL_0015: ldtoken [NAnt.Core]NAnt.Core.Task + IL_001a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_001f: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0024: ldstr "']" + IL_0029: call string string::Concat(string, string, string) + IL_002e: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0033: brfalse IL_0077 - IL_001f: nop - IL_0020: ldnull - IL_0021: stloc.0 - IL_0022: br IL_0067 + IL_0038: nop + IL_0039: ldarg.1 + IL_003a: ldstr "attribute[@name='" + IL_003f: ldtoken [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute + IL_0044: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0049: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_004e: ldstr "']/property[@name='Name']/@value" + IL_0053: call string string::Concat(string, string, string) + IL_0058: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_005d: isinst [System.Xml]System.Xml.XmlAttribute + IL_0062: stloc.1 + IL_0063: ldloc.1 + IL_0064: brfalse IL_0076 - IL_0027: ldarg.1 - IL_0028: ldstr "M:" - IL_002d: callvirt instance bool string::StartsWith(string) - IL_0032: brtrue IL_0046 + IL_0069: nop + IL_006a: ldloc.1 + IL_006b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0070: stloc.0 + IL_0071: br IL_007e - IL_0037: nop - IL_0038: ldstr "M:" - IL_003d: ldarg.1 - IL_003e: call string string::Concat(string, string) - IL_0043: starg.s 1 - IL_0045: nop - IL_0046: ldarg.0 - IL_0047: call instance class [System.Xml]System.Xml.XmlDocument class NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document() - IL_004c: ldstr "//method[@id='" - IL_0051: ldarg.1 - IL_0052: ldstr "']" - IL_0057: call string string::Concat(string, string, string) - IL_005c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0061: stloc.0 - IL_0062: br IL_0067 + IL_0076: nop + IL_0077: ldnull + IL_0078: stloc.0 + IL_0079: br IL_007e - IL_0067: ldloc.0 - IL_0068: ret - } // end of method NAntXsltUtilities::GetMethodNodeByID + IL_007e: ldloc.0 + IL_007f: ret + } // end of method NAntXsltUtilities::GetTaskNameForType - // method line 44 - .method public hidebysig - instance default valuetype NDoc.Documenter.NAnt.ElementDocType GetElementDocType (class [System.Xml]System.Xml.XmlNode typeNode) cil managed + // method line 30 + .method private hidebysig + instance default string GetElementNameForMethod (class [System.Xml]System.Xml.XmlNode methodNode) cil managed { - // Method begins at RVA 0x363c - // Code size 369 (0x171) + // Method begins at RVA 0x33a0 + // Code size 178 (0xb2) .maxstack 4 .locals init ( - valuetype NDoc.Documenter.NAnt.ElementDocType V_0) + class [System.Xml]System.Xml.XmlNode V_0, + string V_1, + class [System.Xml]System.Xml.XmlNode V_2) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_000f - - IL_0007: nop - IL_0008: ldc.i4.0 - IL_0009: stloc.0 - IL_000a: br IL_016f - - IL_000f: ldarg.1 - IL_0010: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() - IL_0015: ldstr "enumeration" - IL_001a: call bool string::op_Equality(string, string) - IL_001f: brfalse IL_002c - - IL_0024: nop - IL_0025: ldc.i4.4 - IL_0026: stloc.0 - IL_0027: br IL_016f + IL_0002: ldstr "attribute[@name='" + IL_0007: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute + IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0011: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_0016: ldstr "']/property[@name='Name']/@value" + IL_001b: call string string::Concat(string, string, string) + IL_0020: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0025: stloc.0 + IL_0026: ldloc.0 + IL_0027: brtrue IL_0048 - IL_002c: ldarg.0 + IL_002c: nop IL_002d: ldarg.1 - IL_002e: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) - IL_0033: brfalse IL_0040 + IL_002e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0033: ldstr "name" + IL_0038: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_003d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0042: stloc.1 + IL_0043: br IL_00b0 - IL_0038: nop - IL_0039: ldc.i4.1 - IL_003a: stloc.0 - IL_003b: br IL_016f + IL_0048: ldarg.1 + IL_0049: ldstr "../attribute[@name='" + IL_004e: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute + IL_0053: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0058: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_005d: ldstr "']/property[@name='Prefix']/@value" + IL_0062: call string string::Concat(string, string, string) + IL_0067: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_006c: stloc.2 + IL_006d: ldloc.2 + IL_006e: brtrue IL_008f - IL_0040: ldarg.1 - IL_0041: ldstr "descendant::base[@id='T:" - IL_0046: ldtoken [NAnt.Core]NAnt.Core.DataTypeBase - IL_004b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0050: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0055: ldstr "']" - IL_005a: call string string::Concat(string, string, string) - IL_005f: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0064: brfalse IL_00a3 + IL_0073: nop + IL_0074: ldarg.1 + IL_0075: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_007a: ldstr "name" + IL_007f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0084: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0089: stloc.1 + IL_008a: br IL_00b0 - IL_0069: nop - IL_006a: ldarg.1 - IL_006b: ldstr "attribute[@name='" - IL_0070: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute - IL_0075: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_007a: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_007f: ldstr "']" - IL_0084: call string string::Concat(string, string, string) - IL_0089: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_008e: brfalse IL_009b + IL_008f: ldloc.2 + IL_0090: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_0095: ldstr "::" + IL_009a: ldloc.0 + IL_009b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() + IL_00a0: ldstr "()" + IL_00a5: call string string::Concat(string, string, string, string) + IL_00aa: stloc.1 + IL_00ab: br IL_00b0 - IL_0093: nop - IL_0094: ldc.i4.2 - IL_0095: stloc.0 - IL_0096: br IL_016f + IL_00b0: ldloc.1 + IL_00b1: ret + } // end of method NAntXsltUtilities::GetElementNameForMethod - IL_009b: nop - IL_009c: ldc.i4.3 - IL_009d: stloc.0 - IL_009e: br IL_016f + // method line 31 + .method private hidebysig + instance default string GetHRefForFunctionSet (class [System.Xml]System.Xml.XmlNode functionNode) cil managed + { + // Method begins at RVA 0x3460 + // Code size 83 (0x53) + .maxstack 3 + .locals init ( + class [System.Xml]System.Xml.XmlAttribute V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldstr "attribute[@name='NAnt.Core.Attributes.FunctionSetAttribute']/property[@name='Category']/@value" + IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_000c: isinst [System.Xml]System.Xml.XmlAttribute + IL_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: brfalse IL_004a - IL_00a3: ldarg.1 - IL_00a4: ldstr "descendant::base[@id='T:" - IL_00a9: ldtoken [NAnt.Core]NAnt.Core.Filters.Filter - IL_00ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00b3: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00b8: ldstr "']" - IL_00bd: call string string::Concat(string, string, string) - IL_00c2: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_00c7: brfalse IL_0106 + IL_0018: ldloc.0 + IL_0019: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_001e: ldstr "" + IL_0023: call bool string::op_Inequality(string, string) + IL_0028: brfalse IL_004a - IL_00cc: nop - IL_00cd: ldarg.1 - IL_00ce: ldstr "attribute[@name='" - IL_00d3: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute - IL_00d8: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00dd: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00e2: ldstr "']" - IL_00e7: call string string::Concat(string, string, string) - IL_00ec: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_00f1: brfalse IL_00fe + IL_002d: nop + IL_002e: ldstr "functions/index.html#" + IL_0033: ldarg.0 + IL_0034: ldloc.0 + IL_0035: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_003a: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) + IL_003f: call string string::Concat(string, string) + IL_0044: stloc.1 + IL_0045: br IL_0051 - IL_00f6: nop - IL_00f7: ldc.i4.5 - IL_00f8: stloc.0 - IL_00f9: br IL_016f + IL_004a: ldnull + IL_004b: stloc.1 + IL_004c: br IL_0051 - IL_00fe: nop - IL_00ff: ldc.i4.3 - IL_0100: stloc.0 - IL_0101: br IL_016f + IL_0051: ldloc.1 + IL_0052: ret + } // end of method NAntXsltUtilities::GetHRefForFunctionSet - IL_0106: ldarg.1 - IL_0107: ldstr "descendant::base[@id='T:" - IL_010c: ldtoken [NAnt.Core]NAnt.Core.Element - IL_0111: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0116: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_011b: ldstr "']" - IL_0120: call string string::Concat(string, string, string) - IL_0125: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_012a: brfalse IL_0137 + // method line 32 + .method assembly static hidebysig + default class NDoc.Documenter.NAnt.NAntXsltUtilities CreateInstance (class [System.Xml]System.Xml.XmlDocument doc, class NDoc.Documenter.NAnt.NAntDocumenterConfig config) cil managed + { + // Method begins at RVA 0x34c0 + } // end of method NAntXsltUtilities::CreateInstance - IL_012f: nop - IL_0130: ldc.i4.3 - IL_0131: stloc.0 - IL_0132: br IL_016f + // method line 33 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x35c0 + // Code size 12 (0xc) + .maxstack 8 + IL_0000: ldc.i4.3 + IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) + IL_0006: stsfld class [mscorlib]System.Collections.ArrayList NDoc.Documenter.NAnt.NAntXsltUtilities::Instances + IL_000b: ret + } // end of method NAntXsltUtilities::.cctor - IL_0137: ldarg.1 - IL_0138: ldstr "attribute[@name='" - IL_013d: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute - IL_0142: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0147: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_014c: ldstr "']/property[@name='Prefix']/@value" - IL_0151: call string string::Concat(string, string, string) - IL_0156: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_015b: brfalse IL_0168 + .property instance string SdkDocBaseUrl () + { + .get instance default string NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl () + } + .property instance string SdkDocExt () + { + .get instance default string NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt () + } + .property instance class [System.Xml]System.Xml.XmlDocument Document () + { + .get instance default class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document () + } + .property instance class NDoc.Documenter.NAnt.NAntDocumenterConfig Config () + { + .get instance default class NDoc.Documenter.NAnt.NAntDocumenterConfig NDoc.Documenter.NAnt.NAntXsltUtilities::get_Config () + } + } // end of class NDoc.Documenter.NAnt.NAntXsltUtilities +} - IL_0160: nop - IL_0161: ldc.i4.6 - IL_0162: stloc.0 - IL_0163: br IL_016f +.namespace NDoc.Documenter.NAnt +{ + .class public auto ansi beforefieldinit NAntDocumenterConfig + extends [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig + { + .field private string _outputDirectory + .field private bool _sdkLinksOnWeb + .field private string _productName + .field private string _productVersion + .field private string _productUrl + .field private string _nantBaseUri + .field private string _namespaceFilter - IL_0168: ldc.i4.0 - IL_0169: stloc.0 - IL_016a: br IL_016f + // method line 34 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x35d0 + // Code size 213 (0xd5) + .maxstack 4 + .locals init ( + valuetype [mscorlib]System.DateTime V_0) + IL_0000: ldarg.0 + IL_0001: ldstr "doc/help/tasks" + IL_0006: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_outputDirectory + IL_000b: ldarg.0 + IL_000c: ldstr "NAnt" + IL_0011: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productName + IL_0016: ldarg.0 + IL_0017: ldstr "" + IL_001c: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productVersion + IL_0021: ldarg.0 + IL_0022: ldstr "" + IL_0027: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productUrl + IL_002c: ldarg.0 + IL_002d: ldstr "" + IL_0032: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_nantBaseUri + IL_0037: ldarg.0 + IL_0038: ldstr "" + IL_003d: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_namespaceFilter + IL_0042: ldarg.0 + IL_0043: ldstr "NAnt" + IL_0048: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::.ctor(string) + IL_004d: nop + IL_004e: ldarg.0 + IL_004f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0054: ldstr "Copyright (C) 2001-{0} Gerry Shaw" + IL_0059: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_005e: stloc.0 + IL_005f: ldloca.s 0 + IL_0061: call instance int32 valuetype [mscorlib]System.DateTime::get_Year() + IL_0066: box [mscorlib]System.Int32 + IL_006b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0070: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_CopyrightText(string) + IL_0075: ldarg.0 + IL_0076: ldstr "http://nant.sourceforge.net/" + IL_007b: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_CopyrightHref(string) + IL_0080: ldarg.0 + IL_0081: ldc.i4.0 + IL_0082: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingParams(bool) + IL_0087: ldarg.0 + IL_0088: ldc.i4.0 + IL_0089: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingRemarks(bool) + IL_008e: ldarg.0 + IL_008f: ldc.i4.0 + IL_0090: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingReturns(bool) + IL_0095: ldarg.0 + IL_0096: ldc.i4.0 + IL_0097: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingSummaries(bool) + IL_009c: ldarg.0 + IL_009d: ldc.i4.0 + IL_009e: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_ShowMissingValues(bool) + IL_00a3: ldarg.0 + IL_00a4: ldc.i4.1 + IL_00a5: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentAttributes(bool) + IL_00aa: ldarg.0 + IL_00ab: ldc.i4.0 + IL_00ac: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentEmptyNamespaces(bool) + IL_00b1: ldarg.0 + IL_00b2: ldc.i4.0 + IL_00b3: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentInternals(bool) + IL_00b8: ldarg.0 + IL_00b9: ldc.i4.0 + IL_00ba: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentPrivates(bool) + IL_00bf: ldarg.0 + IL_00c0: ldc.i4.1 + IL_00c1: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_DocumentProtected(bool) + IL_00c6: ldarg.0 + IL_00c7: ldc.i4.0 + IL_00c8: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_SkipNamespacesWithoutSummaries(bool) + IL_00cd: ldarg.0 + IL_00ce: ldc.i4.2 + IL_00cf: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenterConfig::set_EditorBrowsableFilter( member:>) + IL_00d4: ret + } // end of method NAntDocumenterConfig::.ctor - IL_016f: ldloc.0 - IL_0170: ret - } // end of method NAntXsltUtilities::GetElementDocType + // method line 35 + .method public hidebysig specialname + instance default string get_OutputDirectory () cil managed + { + // Method begins at RVA 0x36b4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_outputDirectory + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntDocumenterConfig::get_OutputDirectory + + // method line 36 + .method public hidebysig specialname + instance default void set_OutputDirectory (string 'value') cil managed + { + // Method begins at RVA 0x36cf + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_outputDirectory + IL_0008: ldarg.0 + IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() + IL_000e: ret + } // end of method NAntDocumenterConfig::set_OutputDirectory - // method line 45 - .method public hidebysig - instance default valuetype NDoc.Documenter.NAnt.ElementDocType GetElementDocTypeByID (string cref) cil managed + // method line 37 + .method public hidebysig specialname + instance default bool get_SdkLinksOnWeb () cil managed { - // Method begins at RVA 0x37bc - // Code size 22 (0x16) - .maxstack 3 + // Method begins at RVA 0x36e0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - valuetype NDoc.Documenter.NAnt.ElementDocType V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldarg.1 - IL_0004: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) - IL_0009: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0002: ldfld bool NDoc.Documenter.NAnt.NAntDocumenterConfig::_sdkLinksOnWeb + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0014: ldloc.0 - IL_0015: ret - } // end of method NAntXsltUtilities::GetElementDocTypeByID + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntDocumenterConfig::get_SdkLinksOnWeb - // method line 46 - .method public hidebysig - instance default bool IsDataType (string cref) cil managed + // method line 38 + .method public hidebysig specialname + instance default void set_SdkLinksOnWeb (bool 'value') cil managed { - // Method begins at RVA 0x37e0 - // Code size 19 (0x13) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x36fb + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) - IL_0008: ldc.i4.2 - IL_0009: ceq - IL_000b: stloc.0 - IL_000c: br IL_0011 - - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntXsltUtilities::IsDataType + IL_0003: stfld bool NDoc.Documenter.NAnt.NAntDocumenterConfig::_sdkLinksOnWeb + IL_0008: ldarg.0 + IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() + IL_000e: ret + } // end of method NAntDocumenterConfig::set_SdkLinksOnWeb - // method line 47 - .method public hidebysig - instance default bool IsElement (string cref) cil managed + // method line 39 + .method public hidebysig specialname + instance default string get_ProductName () cil managed { - // Method begins at RVA 0x3800 - // Code size 19 (0x13) - .maxstack 2 + // Method begins at RVA 0x370c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) - IL_0008: ldc.i4.3 - IL_0009: ceq - IL_000b: stloc.0 - IL_000c: br IL_0011 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntXsltUtilities::IsElement + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntDocumenterConfig::get_ProductName - // method line 48 - .method public hidebysig - instance default bool IsFilter (string cref) cil managed + // method line 40 + .method public hidebysig specialname + instance default void set_ProductName (string 'value') cil managed { - // Method begins at RVA 0x3820 - // Code size 19 (0x13) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x3727 + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) - IL_0008: ldc.i4.5 - IL_0009: ceq - IL_000b: stloc.0 - IL_000c: br IL_0011 - - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntXsltUtilities::IsFilter + IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productName + IL_0008: ldarg.0 + IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() + IL_000e: ret + } // end of method NAntDocumenterConfig::set_ProductName - // method line 49 - .method public hidebysig - instance default bool IsTask (string cref) cil managed + // method line 41 + .method public hidebysig specialname + instance default string get_ProductVersion () cil managed { - // Method begins at RVA 0x3840 - // Code size 19 (0x13) - .maxstack 2 + // Method begins at RVA 0x3738 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) - IL_0008: ldc.i4.1 - IL_0009: ceq - IL_000b: stloc.0 - IL_000c: br IL_0011 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productVersion + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntXsltUtilities::IsTask + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntDocumenterConfig::get_ProductVersion - // method line 50 - .method public hidebysig - instance default bool IsFunctionSet (string cref) cil managed + // method line 42 + .method public hidebysig specialname + instance default void set_ProductVersion (string 'value') cil managed { - // Method begins at RVA 0x3860 - // Code size 19 (0x13) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x3753 + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocTypeByID(string) - IL_0008: ldc.i4.6 - IL_0009: ceq - IL_000b: stloc.0 - IL_000c: br IL_0011 - - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntXsltUtilities::IsFunctionSet + IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productVersion + IL_0008: ldarg.0 + IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() + IL_000e: ret + } // end of method NAntDocumenterConfig::set_ProductVersion - // method line 51 - .method public hidebysig - instance default string UrlEncode (string 'value') cil managed + // method line 43 + .method public hidebysig specialname + instance default string get_ProductUrl () cil managed { - // Method begins at RVA 0x3880 - // Code size 20 (0x14) - .maxstack 2 + // Method begins at RVA 0x3764 + // Code size 15 (0xf) + .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() - IL_0007: call string class [System.Web]System.Web.HttpUtility::UrlEncode(string, class [mscorlib]System.Text.Encoding) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldarg.0 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productUrl + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method NAntXsltUtilities::UrlEncode + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntDocumenterConfig::get_ProductUrl - // method line 52 - .method assembly hidebysig - instance default string GetElementNameForProperty (class [System.Xml]System.Xml.XmlNode propertyNode) cil managed + // method line 44 + .method public hidebysig specialname + instance default void set_ProductUrl (string 'value') cil managed { - // Method begins at RVA 0x38a0 - // Code size 321 (0x141) - .maxstack 4 - .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1, - class [System.Xml]System.Xml.XmlAttribute V_2, - class [System.Xml]System.Xml.XmlAttribute V_3, - class [System.Xml]System.Xml.XmlAttribute V_4, - class [System.Xml]System.Xml.XmlAttribute V_5) + // Method begins at RVA 0x377f + // Code size 15 (0xf) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "attribute[@name='" - IL_0007: ldtoken [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute - IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0011: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0016: ldstr "']/property[@name='Name']/@value" - IL_001b: call string string::Concat(string, string, string) - IL_0020: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0025: isinst [System.Xml]System.Xml.XmlAttribute - IL_002a: stloc.0 - IL_002b: ldloc.0 - IL_002c: brfalse IL_003e - - IL_0031: nop - IL_0032: ldloc.0 - IL_0033: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0038: stloc.1 - IL_0039: br IL_013f + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_productUrl + IL_0008: ldarg.0 + IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() + IL_000e: ret + } // end of method NAntDocumenterConfig::set_ProductUrl - IL_003e: ldarg.1 - IL_003f: ldstr "attribute[@name='" - IL_0044: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute - IL_0049: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_004e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0053: ldstr "']/property[@name='Name']/@value" - IL_0058: call string string::Concat(string, string, string) - IL_005d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0062: isinst [System.Xml]System.Xml.XmlAttribute - IL_0067: stloc.2 - IL_0068: ldloc.2 - IL_0069: brfalse IL_007b + // method line 45 + .method public hidebysig specialname + instance default string get_NAntBaseUri () cil managed + { + // Method begins at RVA 0x3790 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_nantBaseUri + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_006e: nop - IL_006f: ldloc.2 - IL_0070: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0075: stloc.1 - IL_0076: br IL_013f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntDocumenterConfig::get_NAntBaseUri - IL_007b: ldarg.1 - IL_007c: ldstr "attribute[@name='" - IL_0081: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute - IL_0086: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_008b: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0090: ldstr "']/property[@name='Name']/@value" - IL_0095: call string string::Concat(string, string, string) - IL_009a: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_009f: isinst [System.Xml]System.Xml.XmlAttribute - IL_00a4: stloc.3 - IL_00a5: ldloc.3 - IL_00a6: brfalse IL_00b8 + // method line 46 + .method public hidebysig specialname + instance default void set_NAntBaseUri (string 'value') cil managed + { + // Method begins at RVA 0x37ab + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_nantBaseUri + IL_0008: ldarg.0 + IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() + IL_000e: ret + } // end of method NAntDocumenterConfig::set_NAntBaseUri - IL_00ab: nop - IL_00ac: ldloc.3 - IL_00ad: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00b2: stloc.1 - IL_00b3: br IL_013f + // method line 47 + .method public hidebysig specialname + instance default string get_NamespaceFilter () cil managed + { + // Method begins at RVA 0x37bc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_namespaceFilter + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00b8: ldarg.1 - IL_00b9: ldstr "attribute[@name='" - IL_00be: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementAttribute - IL_00c3: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00c8: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00cd: ldstr "']/property[@name='Name']/@value" - IL_00d2: call string string::Concat(string, string, string) - IL_00d7: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_00dc: isinst [System.Xml]System.Xml.XmlAttribute - IL_00e1: stloc.s 4 - IL_00e3: ldloc.s 4 - IL_00e5: brfalse IL_00f8 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntDocumenterConfig::get_NamespaceFilter - IL_00ea: nop - IL_00eb: ldloc.s 4 - IL_00ed: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00f2: stloc.1 - IL_00f3: br IL_013f + // method line 48 + .method public hidebysig specialname + instance default void set_NamespaceFilter (string 'value') cil managed + { + // Method begins at RVA 0x37d7 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NDoc.Documenter.NAnt.NAntDocumenterConfig::_namespaceFilter + IL_0008: ldarg.0 + IL_0009: call instance void [NDoc.Core]NDoc.Core.BaseDocumenterConfig::SetDirty() + IL_000e: ret + } // end of method NAntDocumenterConfig::set_NamespaceFilter - IL_00f8: ldarg.1 - IL_00f9: ldstr "attribute[@name='" - IL_00fe: ldtoken [NAnt.Core]NAnt.Core.Attributes.FrameworkConfigurableAttribute - IL_0103: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0108: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_010d: ldstr "']/property[@name='Name']/@value" - IL_0112: call string string::Concat(string, string, string) - IL_0117: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_011c: isinst [System.Xml]System.Xml.XmlAttribute - IL_0121: stloc.s 5 - IL_0123: ldloc.s 5 - IL_0125: brfalse IL_0138 + .property instance string OutputDirectory () + { + .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = ( + 01 00 1B 44 6F 63 75 6D 65 6E 74 61 74 69 6F 6E // ...Documentation + 20 4D 61 69 6E 20 53 65 74 74 69 6E 67 73 00 00 ) // Main Settings.. - IL_012a: nop - IL_012b: ldloc.s 5 - IL_012d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0132: stloc.1 - IL_0133: br IL_013f + .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( + 01 00 49 54 68 65 20 70 61 74 68 20 74 6F 20 74 // ..IThe path to t + 68 65 20 6F 75 74 70 75 74 20 64 69 72 65 63 74 // he output direct + 6F 72 79 20 77 68 65 72 65 20 74 68 65 20 67 65 // ory where the ge + 6E 65 72 61 74 65 64 20 64 6F 63 73 20 77 69 6C // nerated docs wil + 6C 20 62 65 20 70 6C 61 63 65 64 2E 00 00 ) // l be placed... - IL_0138: ldnull - IL_0139: stloc.1 - IL_013a: br IL_013f + .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_OutputDirectory () + .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_OutputDirectory (string 'value') + } + .property instance bool SdkLinksOnWeb () + { + .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = ( + 01 00 1B 44 6F 63 75 6D 65 6E 74 61 74 69 6F 6E // ...Documentation + 20 4D 61 69 6E 20 53 65 74 74 69 6E 67 73 00 00 ) // Main Settings.. - IL_013f: ldloc.1 - IL_0140: ret - } // end of method NAntXsltUtilities::GetElementNameForProperty + .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( + 01 00 48 54 75 72 6E 69 6E 67 20 74 68 69 73 20 // ..HTurning this + 66 6C 61 67 20 6F 6E 20 77 69 6C 6C 20 70 6F 69 // flag on will poi + 6E 74 20 61 6C 6C 20 53 44 4B 20 6C 69 6E 6B 73 // nt all SDK links + 20 74 6F 20 74 68 65 20 6F 6E 6C 69 6E 65 20 4D // to the online M + 53 44 4E 20 6C 69 62 72 61 72 79 00 00 ) // SDN library.. - // method line 53 - .method assembly hidebysig - instance default string GetFileNameForFunction (class [System.Xml]System.Xml.XmlNode functionNode, bool urlEncode) cil managed - { - // Method begins at RVA 0x39f0 - // Code size 317 (0x13d) - .maxstack 3 - .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - class [System.Xml]System.Xml.XmlNode V_1, - class [System.Xml]System.Xml.XmlNodeList V_2, - int32 V_3, - class [System.Xml]System.Xml.XmlElement V_4, - string V_5, - string V_6) - IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stloc.0 - IL_0007: ldarg.1 - IL_0008: ldstr "../attribute[@name='NAnt.Core.Attributes.FunctionSetAttribute']/property[@name='Prefix']/@value" - IL_000d: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0012: stloc.1 - IL_0013: ldloc.1 - IL_0014: brfalse IL_0046 + .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(bool) = (01 00 00 00 00 ) // ..... - IL_0019: ldloc.1 - IL_001a: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_001f: ldstr "" - IL_0024: call bool string::op_Inequality(string, string) - IL_0029: brfalse IL_0046 + .get instance default bool NDoc.Documenter.NAnt.NAntDocumenterConfig::get_SdkLinksOnWeb () + .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_SdkLinksOnWeb (bool 'value') + } + .property instance string ProductName () + { + .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. - IL_002e: nop - IL_002f: ldloc.0 - IL_0030: ldloc.1 - IL_0031: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_0036: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_003b: pop - IL_003c: ldloc.0 - IL_003d: ldc.i4.s 0x2e - IL_003f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0044: pop - IL_0045: nop - IL_0046: ldarg.1 - IL_0047: ldstr "attribute[@name='NAnt.Core.Attributes.FunctionAttribute']/property[@name='Name']/@value" - IL_004c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0051: stloc.1 - IL_0052: ldloc.1 - IL_0053: brfalse IL_0081 + .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( + 01 00 44 54 68 65 20 6E 61 6D 65 20 6F 66 20 74 // ..DThe name of t + 68 65 20 70 72 6F 64 75 63 74 20 66 6F 72 20 77 // he product for w + 68 69 63 68 20 64 6F 63 75 6D 65 6E 74 61 74 69 // hich documentati + 6F 6E 20 73 68 6F 75 6C 64 20 62 65 20 67 65 6E // on should be gen + 65 72 61 74 65 64 2E 00 00 ) // erated... - IL_0058: ldloc.1 - IL_0059: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_005e: ldstr "" - IL_0063: call bool string::op_Inequality(string, string) - IL_0068: brfalse IL_0081 + .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(string) = (01 00 04 4E 41 6E 74 00 00 ) // ...NAnt.. - IL_006d: nop - IL_006e: ldloc.0 - IL_006f: ldloc.1 - IL_0070: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_0075: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_007a: pop - IL_007b: nop - IL_007c: br IL_009f + .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductName () + .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_ProductName (string 'value') + } + .property instance string ProductVersion () + { + .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. - IL_0081: nop - IL_0082: ldloc.0 - IL_0083: ldarg.1 - IL_0084: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0089: ldstr "name" - IL_008e: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0093: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0098: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_009d: pop - IL_009e: nop - IL_009f: ldloc.0 - IL_00a0: ldc.i4.s 0x28 - IL_00a2: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00a7: pop - IL_00a8: ldarg.1 - IL_00a9: ldstr "parameter" - IL_00ae: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) - IL_00b3: stloc.2 - IL_00b4: ldc.i4.0 - IL_00b5: stloc.3 - IL_00b6: br IL_00f2 + .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( + 01 00 47 54 68 65 20 76 65 72 73 69 6F 6E 20 6F // ..GThe version o + 66 20 74 68 65 20 70 72 6F 64 75 63 74 20 66 6F // f the product fo + 72 20 77 68 69 63 68 20 64 6F 63 75 6D 65 6E 74 // r which document + 61 74 69 6F 6E 20 73 68 6F 75 6C 64 20 62 65 20 // ation should be + 67 65 6E 65 72 61 74 65 64 2E 00 00 ) // generated... - IL_00bb: nop - IL_00bc: ldloc.3 - IL_00bd: ldc.i4.0 - IL_00be: ble IL_00cc + .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(string) = (01 00 00 00 00 ) // ..... + + .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductVersion () + .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_ProductVersion (string 'value') + } + .property instance string ProductUrl () + { + .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. - IL_00c3: ldloc.0 - IL_00c4: ldc.i4.s 0x2c - IL_00c6: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_00cb: pop - IL_00cc: ldloc.2 - IL_00cd: ldloc.3 - IL_00ce: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNodeList::get_ItemOf(int32) - IL_00d3: castclass [System.Xml]System.Xml.XmlElement - IL_00d8: stloc.s 4 - IL_00da: ldloc.0 - IL_00db: ldloc.s 4 - IL_00dd: ldstr "type" - IL_00e2: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) - IL_00e7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00ec: pop - IL_00ed: nop - IL_00ee: ldloc.3 - IL_00ef: ldc.i4.1 - IL_00f0: add - IL_00f1: stloc.3 - IL_00f2: ldloc.3 - IL_00f3: ldloc.2 - IL_00f4: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_00f9: blt IL_00bb + .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( + 01 00 52 54 68 65 20 55 52 4C 20 6F 66 20 74 68 // ..RThe URL of th + 65 20 77 65 62 73 69 74 65 20 6F 66 20 74 68 65 // e website of the + 20 70 72 6F 64 75 63 74 20 66 6F 72 20 77 68 69 // product for whi + 63 68 20 64 6F 63 75 6D 65 6E 74 61 74 69 6F 6E // ch documentation + 20 73 68 6F 75 6C 64 20 62 65 20 67 65 6E 65 72 // should be gener + 61 74 65 64 2E 00 00 ) // ated... - IL_00fe: ldloc.0 - IL_00ff: ldc.i4.s 0x29 - IL_0101: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0106: pop - IL_0107: ldloc.0 - IL_0108: callvirt instance string object::ToString() - IL_010d: stloc.s 5 - IL_010f: ldstr "functions/" - IL_0114: ldarg.2 - IL_0115: brfalse IL_0127 + .custom instance void class [System]System.ComponentModel.DefaultValueAttribute::'.ctor'(string) = (01 00 00 00 00 ) // ..... - IL_011a: ldarg.0 - IL_011b: ldloc.s 5 - IL_011d: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_0122: br IL_0129 + .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductUrl () + .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_ProductUrl (string 'value') + } + .property instance string NAntBaseUri () + { + .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. - IL_0127: ldloc.s 5 - IL_0129: ldstr ".html" - IL_012e: call string string::Concat(string, string, string) - IL_0133: stloc.s 6 - IL_0135: br IL_013a + .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( + 01 00 26 54 68 65 20 62 61 73 65 20 55 52 49 20 // ..&The base URI + 66 6F 72 20 6C 69 6E 6B 69 6E 67 20 74 6F 20 4E // for linking to N + 41 6E 74 20 64 6F 63 73 2E 00 00 ) // Ant docs... - IL_013a: ldloc.s 6 - IL_013c: ret - } // end of method NAntXsltUtilities::GetFileNameForFunction + .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NAntBaseUri () + .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_NAntBaseUri (string 'value') + } + .property instance string NamespaceFilter () + { + .custom instance void class [System]System.ComponentModel.CategoryAttribute::'.ctor'(string) = (01 00 06 4F 75 74 70 75 74 00 00 ) // ...Output.. - // method line 54 - .method assembly hidebysig - instance default string GetFileNameForType (class [System.Xml]System.Xml.XmlNode typeNode, bool urlEncode) cil managed - { - // Method begins at RVA 0x3b3c - // Code size 660 (0x294) - .maxstack 4 - .locals init ( - string V_0, - string V_1, - string V_2, - string V_3, - class [System.Xml]System.Xml.XmlAttribute V_4, - string V_5, - class [System.Xml]System.Xml.XmlAttribute V_6, - string V_7, - string V_8, - string V_9) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_000f + .custom instance void class [System]System.ComponentModel.DescriptionAttribute::'.ctor'(string) = ( + 01 00 4E 54 68 65 20 72 6F 6F 74 20 6E 61 6D 65 // ..NThe root name + 73 70 61 63 65 20 74 6F 20 64 6F 63 75 6D 65 6E // space to documen + 74 2C 20 6F 72 20 61 6E 20 65 6D 70 74 79 20 73 // t, or an empty s + 74 72 69 6E 67 20 74 6F 20 64 6F 63 75 6D 65 6E // tring to documen + 74 20 61 6C 6C 20 6E 61 6D 65 73 70 61 63 65 73 // t all namespaces + 2E 00 00 ) // ... - IL_0007: nop - IL_0008: ldnull - IL_0009: stloc.0 - IL_000a: br IL_0292 + .get instance default string NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NamespaceFilter () + .set instance default void NDoc.Documenter.NAnt.NAntDocumenterConfig::set_NamespaceFilter (string 'value') + } + } // end of class NDoc.Documenter.NAnt.NAntDocumenterConfig +} - IL_000f: ldnull - IL_0010: stloc.1 - IL_0011: ldarg.0 - IL_0012: ldarg.1 - IL_0013: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) - IL_0018: stloc.2 - IL_0019: ldloc.2 - IL_001a: brfalse IL_0048 +.namespace NDoc.Documenter.NAnt +{ + .class public auto ansi beforefieldinit NAntDocumenter + extends [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenter + { + .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltTaskIndex + .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltTypeIndex + .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltFunctionIndex + .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltFilterIndex + .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltTypeDoc + .field private class [System.Xml]System.Xml.Xsl.XslCompiledTransform _xsltFunctionDoc + .field private class [System.Xml]System.Xml.XmlDocument _xmlDocumentation + .field private string _resourceDirectory + .field private class [System]System.Collections.Specialized.StringDictionary _writtenFiles - IL_001f: nop - IL_0020: ldstr "tasks/" - IL_0025: ldarg.2 - IL_0026: brfalse IL_0037 + // method line 49 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x37e7 + // Code size 30 (0x1e) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [System]System.Collections.Specialized.StringDictionary::'.ctor'() + IL_0006: stfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntDocumenter::_writtenFiles + IL_000b: ldarg.0 + IL_000c: ldstr "NAnt" + IL_0011: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenter::.ctor(string) + IL_0016: nop + IL_0017: ldarg.0 + IL_0018: callvirt instance void [NDoc.Core]NDoc.Core.BaseDocumenter::Clear() + IL_001d: ret + } // end of method NAntDocumenter::.ctor - IL_002b: ldarg.0 - IL_002c: ldloc.2 - IL_002d: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_0032: br IL_0038 + // method line 50 + .method public hidebysig specialname + instance default string get_OutputDirectory () cil managed + { + // Method begins at RVA 0x3808 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() + IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig + IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_OutputDirectory() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0037: ldloc.2 - IL_0038: ldstr ".html" - IL_003d: call string string::Concat(string, string, string) - IL_0042: stloc.0 - IL_0043: br IL_0292 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method NAntDocumenter::get_OutputDirectory - IL_0048: ldarg.1 - IL_0049: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_LocalName() - IL_004e: ldstr "enumeration" - IL_0053: call bool string::op_Equality(string, string) - IL_0058: brfalse IL_00a2 + // method line 51 + .method public hidebysig specialname + instance default string get_NamespaceFilter () cil managed + { + // Method begins at RVA 0x3830 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() + IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig + IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_NamespaceFilter() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_005d: nop - IL_005e: ldarg.1 - IL_005f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0064: ldstr "id" - IL_0069: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_006e: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0073: ldc.i4.2 - IL_0074: callvirt instance string string::Substring(int32) - IL_0079: stloc.3 - IL_007a: ldstr "enums/" - IL_007f: ldarg.2 - IL_0080: brfalse IL_0091 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method NAntDocumenter::get_NamespaceFilter - IL_0085: ldarg.0 - IL_0086: ldloc.3 - IL_0087: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_008c: br IL_0092 + // method line 52 + .method public hidebysig specialname + instance default string get_ProductName () cil managed + { + // Method begins at RVA 0x3858 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() + IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig + IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductName() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0091: ldloc.3 - IL_0092: ldstr ".html" - IL_0097: call string string::Concat(string, string, string) - IL_009c: stloc.0 - IL_009d: br IL_0292 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method NAntDocumenter::get_ProductName - IL_00a2: ldarg.1 - IL_00a3: ldstr "descendant::base[@id='T:" - IL_00a8: ldtoken [NAnt.Core]NAnt.Core.DataTypeBase - IL_00ad: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00b2: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00b7: ldstr "']" - IL_00bc: call string string::Concat(string, string, string) - IL_00c1: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_00c6: brfalse IL_0133 + // method line 53 + .method public hidebysig specialname + instance default string get_ProductVersion () cil managed + { + // Method begins at RVA 0x3880 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() + IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig + IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductVersion() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_00cb: nop - IL_00cc: ldarg.1 - IL_00cd: ldstr "attribute[@name='" - IL_00d2: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute - IL_00d7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00dc: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00e1: ldstr "']/property[@name='Name']/@value" - IL_00e6: call string string::Concat(string, string, string) - IL_00eb: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_00f0: isinst [System.Xml]System.Xml.XmlAttribute - IL_00f5: stloc.s 4 - IL_00f7: ldloc.s 4 - IL_00f9: brfalse IL_0132 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method NAntDocumenter::get_ProductVersion - IL_00fe: nop - IL_00ff: ldloc.s 4 - IL_0101: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0106: stloc.s 5 - IL_0108: ldstr "types/" - IL_010d: ldarg.2 - IL_010e: brfalse IL_0120 + // method line 54 + .method public hidebysig specialname + instance default string get_ProductUrl () cil managed + { + // Method begins at RVA 0x38a8 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() + IL_0007: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig + IL_000c: callvirt instance string class NDoc.Documenter.NAnt.NAntDocumenterConfig::get_ProductUrl() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0113: ldarg.0 - IL_0114: ldloc.s 5 - IL_0116: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_011b: br IL_0122 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method NAntDocumenter::get_ProductUrl - IL_0120: ldloc.s 5 - IL_0122: ldstr ".html" - IL_0127: call string string::Concat(string, string, string) - IL_012c: stloc.0 - IL_012d: br IL_0292 + // method line 55 + .method public virtual hidebysig specialname + instance default string get_MainOutputFile () cil managed + { + // Method begins at RVA 0x38d0 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldstr "" + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0132: nop - IL_0133: ldarg.1 - IL_0134: ldstr "descendant::base[@id='T:" - IL_0139: ldtoken [NAnt.Core]NAnt.Core.Filters.Filter - IL_013e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0143: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0148: ldstr "']" - IL_014d: call string string::Concat(string, string, string) - IL_0152: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0157: brfalse IL_01c4 + IL_000c: ldloc.0 + IL_000d: ret + } // end of method NAntDocumenter::get_MainOutputFile - IL_015c: nop - IL_015d: ldarg.1 - IL_015e: ldstr "attribute[@name='" - IL_0163: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute - IL_0168: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_016d: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0172: ldstr "']/property[@name='Name']/@value" - IL_0177: call string string::Concat(string, string, string) - IL_017c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0181: isinst [System.Xml]System.Xml.XmlAttribute - IL_0186: stloc.s 6 - IL_0188: ldloc.s 6 - IL_018a: brfalse IL_01c3 + // method line 56 + .method public virtual hidebysig + instance default void Clear () cil managed + { + // Method begins at RVA 0x38ea + // Code size 13 (0xd) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: newobj instance void class NDoc.Documenter.NAnt.NAntDocumenterConfig::'.ctor'() + IL_0007: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::set_Config( member:>) + IL_000c: ret + } // end of method NAntDocumenter::Clear - IL_018f: nop - IL_0190: ldloc.s 6 - IL_0192: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0197: stloc.s 7 - IL_0199: ldstr "filters/" - IL_019e: ldarg.2 - IL_019f: brfalse IL_01b1 + // method line 57 + .method public virtual hidebysig + (null) cil managed + { + // Method begins at RVA 0x38f8 + // Code size 865 (0x361) + .maxstack 4 + .locals init ( + int32 V_0, + class [mscorlib]System.Reflection.Assembly V_1, + class [mscorlib]System.Exception V_2, + string V_3, + class [mscorlib]System.IO.FileStream V_4, + class [System.Xml]System.Xml.Xsl.XsltArgumentList V_5, + class NDoc.Documenter.NAnt.NAntXsltUtilities V_6, + class [System.Xml]System.Xml.XmlNodeList V_7, + class [System.Xml]System.Xml.XmlNode V_8, + class [mscorlib]System.Collections.IEnumerator V_9, + valuetype NDoc.Documenter.NAnt.ElementDocType V_10, + class [mscorlib]System.IDisposable V_11, + class [System.Xml]System.Xml.XmlNodeList V_12, + class [System.Xml]System.Xml.XmlElement V_13, + class [mscorlib]System.Collections.IEnumerator V_14, + class [mscorlib]System.IDisposable V_15) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: ldloc.0 + IL_0005: ldstr "Initializing..." + IL_000a: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_000f: ldarg.0 + IL_0010: ldc.i4.s 0x1a + IL_0012: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_0017: ldstr "NDoc" + IL_001c: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0021: ldstr "NAnt" + IL_0026: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_002b: stfld string NDoc.Documenter.NAnt.NAntDocumenter::_resourceDirectory + IL_0030: ldarg.0 + IL_0031: call instance class [mscorlib]System.Type object::GetType() + IL_0036: callvirt instance class [mscorlib]System.Reflection.Module class [mscorlib]System.Type::get_Module() + IL_003b: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Module::get_Assembly() + IL_0040: stloc.1 + IL_0041: ldloc.1 + IL_0042: ldstr "Documenter.xslt" + IL_0047: ldarg.0 + IL_0048: ldfld string NDoc.Documenter.NAnt.NAntDocumenter::_resourceDirectory + IL_004d: ldstr "xslt" + IL_0052: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0057: call void [NDoc.Core]NDoc.Core.EmbeddedResources::WriteEmbeddedResources(class [mscorlib]System.Reflection.Assembly, string, string) + .try { // 0 + IL_005c: nop + IL_005d: ldarg.0 + IL_005e: call instance string() + IL_0063: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0068: pop + IL_0069: ldarg.0 + IL_006a: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() + IL_006f: ldstr "elements" + IL_0074: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0079: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_007e: pop + IL_007f: ldarg.0 + IL_0080: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() + IL_0085: ldstr "functions" + IL_008a: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_008f: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0094: pop + IL_0095: ldarg.0 + IL_0096: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() + IL_009b: ldstr "types" + IL_00a0: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00a5: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_00aa: pop + IL_00ab: ldarg.0 + IL_00ac: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() + IL_00b1: ldstr "tasks" + IL_00b6: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00bb: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_00c0: pop + IL_00c1: ldarg.0 + IL_00c2: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() + IL_00c7: ldstr "enums" + IL_00cc: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00d1: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_00d6: pop + IL_00d7: ldarg.0 + IL_00d8: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() + IL_00dd: ldstr "filters" + IL_00e2: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_00e7: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_00ec: pop + IL_00ed: nop + IL_00ee: leave IL_0101 - IL_01a4: ldarg.0 - IL_01a5: ldloc.s 7 - IL_01a7: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_01ac: br IL_01b3 + } // end .try 0 + catch class [mscorlib]System.Exception { // 0 + IL_00f3: stloc.2 + IL_00f4: nop + IL_00f5: ldstr "The output directories could not be created." + IL_00fa: ldloc.2 + IL_00fb: newobj instance void [NDoc.Core]NDoc.Core.DocumenterException::.ctor(string, class [mscorlib]System.Exception) + IL_0100: throw + } // end handler 0 + IL_0101: ldloc.0 + IL_0102: ldc.i4.s 0x0a + IL_0104: add + IL_0105: stloc.0 + IL_0106: ldarg.0 + IL_0107: ldloc.0 + IL_0108: ldstr "Merging XML documentation..." + IL_010d: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_0112: ldarg.0 + IL_0113: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransforms() + IL_0118: ldnull + IL_0119: stloc.3 + .try { // 2 + IL_011a: nop + IL_011b: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0120: stloc.3 + IL_0121: ldarg.0 + IL_0122: ldarg.1 + IL_0123: ldloc.3 + IL_0124: call instance void [NDoc.Core]NDoc.Core.Reflection.BaseReflectionDocumenter::MakeXmlFile( member:>, string) + IL_0129: ldloc.3 + IL_012a: ldc.i4.3 + IL_012b: ldc.i4.1 + IL_012c: ldc.i4.1 + IL_012d: newobj instance void class [mscorlib]System.IO.FileStream::'.ctor'(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) + IL_0132: stloc.s 4 + .try { // 1 + IL_0134: nop + IL_0135: ldarg.0 + IL_0136: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_013b: stfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation + IL_0140: ldarg.0 + IL_0141: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation + IL_0146: ldloc.s 4 + IL_0148: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.Stream) + IL_014d: nop + IL_014e: leave IL_0162 - IL_01b1: ldloc.s 7 - IL_01b3: ldstr ".html" - IL_01b8: call string string::Concat(string, string, string) - IL_01bd: stloc.0 - IL_01be: br IL_0292 + } // end .try 1 + finally { // 1 + IL_0153: ldloc.s 4 + IL_0155: brfalse IL_0161 - IL_01c3: nop - IL_01c4: ldarg.0 - IL_01c5: ldarg.1 - IL_01c6: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetHRefForFunctionSet(class [System.Xml]System.Xml.XmlNode) - IL_01cb: stloc.1 - IL_01cc: ldloc.1 - IL_01cd: brfalse IL_01da + IL_015a: ldloc.s 4 + IL_015c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0161: endfinally + } // end handler 1 + IL_0162: nop + IL_0163: leave IL_0179 - IL_01d2: nop - IL_01d3: ldloc.1 - IL_01d4: stloc.0 - IL_01d5: br IL_0292 + } // end .try 2 + finally { // 2 + IL_0168: nop + IL_0169: ldloc.3 + IL_016a: brfalse IL_0177 - IL_01da: ldarg.1 - IL_01db: ldstr "descendant::base[@id='T:" - IL_01e0: ldtoken [NAnt.Core]NAnt.Core.Element - IL_01e5: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01ea: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01ef: ldstr "']" - IL_01f4: call string string::Concat(string, string, string) - IL_01f9: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_01fe: brfalse IL_024b + IL_016f: nop + IL_0170: ldloc.3 + IL_0171: call void class [mscorlib]System.IO.File::Delete(string) + IL_0176: nop + IL_0177: nop + IL_0178: endfinally + } // end handler 2 + IL_0179: ldloc.0 + IL_017a: ldc.i4.s 0x0f + IL_017c: add + IL_017d: stloc.0 + IL_017e: ldarg.0 + IL_017f: ldloc.0 + IL_0180: ldstr "Building mapping..." + IL_0185: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_018a: ldarg.0 + IL_018b: call instance class [System.Xml]System.Xml.Xsl.XsltArgumentList class NDoc.Documenter.NAnt.NAntDocumenter::CreateXsltArgumentList() + IL_0190: stloc.s 5 + IL_0192: ldarg.0 + IL_0193: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation + IL_0198: ldarg.0 + IL_0199: call instance member:> [NDoc.Core]NDoc.Core.BaseDocumenter::get_Config() + IL_019e: castclass NDoc.Documenter.NAnt.NAntDocumenterConfig + IL_01a3: call class NDoc.Documenter.NAnt.NAntXsltUtilities class NDoc.Documenter.NAnt.NAntXsltUtilities::CreateInstance(class [System.Xml]System.Xml.XmlDocument, class NDoc.Documenter.NAnt.NAntDocumenterConfig) + IL_01a8: stloc.s 6 + IL_01aa: ldloc.s 5 + IL_01ac: ldstr "urn:NAntUtil" + IL_01b1: ldloc.s 6 + IL_01b3: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) + IL_01b8: ldloc.0 + IL_01b9: ldc.i4.s 0x0f + IL_01bb: add + IL_01bc: stloc.0 + IL_01bd: ldarg.0 + IL_01be: ldloc.0 + IL_01bf: ldstr "Creating Task Index Page..." + IL_01c4: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_01c9: ldarg.0 + IL_01ca: ldarg.0 + IL_01cb: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTaskIndex + IL_01d0: ldloc.s 5 + IL_01d2: ldstr "tasks/index.html" + IL_01d7: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) + IL_01dc: ldloc.0 + IL_01dd: ldc.i4.s 0x0a + IL_01df: add + IL_01e0: stloc.0 + IL_01e1: ldarg.0 + IL_01e2: ldloc.0 + IL_01e3: ldstr "Creating Type Index Page..." + IL_01e8: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_01ed: ldarg.0 + IL_01ee: ldarg.0 + IL_01ef: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeIndex + IL_01f4: ldloc.s 5 + IL_01f6: ldstr "types/index.html" + IL_01fb: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) + IL_0200: ldloc.0 + IL_0201: ldc.i4.s 0x0a + IL_0203: add + IL_0204: stloc.0 + IL_0205: ldarg.0 + IL_0206: ldloc.0 + IL_0207: ldstr "Creating Filter Index Page..." + IL_020c: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_0211: ldarg.0 + IL_0212: ldarg.0 + IL_0213: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFilterIndex + IL_0218: ldloc.s 5 + IL_021a: ldstr "filters/index.html" + IL_021f: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) + IL_0224: ldarg.0 + IL_0225: ldloc.0 + IL_0226: ldstr "Creating Function Index Page..." + IL_022b: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_0230: ldarg.0 + IL_0231: ldarg.0 + IL_0232: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionIndex + IL_0237: ldloc.s 5 + IL_0239: ldstr "functions/index.html" + IL_023e: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) + IL_0243: ldloc.0 + IL_0244: ldc.i4.s 0x0a + IL_0246: add + IL_0247: stloc.0 + IL_0248: ldarg.0 + IL_0249: ldloc.0 + IL_024a: ldstr "Generating Task Documents..." + IL_024f: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_0254: ldarg.0 + IL_0255: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation + IL_025a: ldstr "//class[starts-with(substring(@id, 3, string-length(@id) - 2), '" + IL_025f: ldarg.0 + IL_0260: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter() + IL_0265: ldstr "')]" + IL_026a: call string string::Concat(string, string, string) + IL_026f: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0274: stloc.s 7 + IL_0276: nop + IL_0277: ldloc.s 7 + IL_0279: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_027e: stloc.s 9 + .try { // 3 + IL_0280: br IL_02ac - IL_0203: nop - IL_0204: ldarg.1 - IL_0205: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_020a: ldstr "id" - IL_020f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0214: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0219: ldc.i4.2 - IL_021a: callvirt instance string string::Substring(int32) - IL_021f: stloc.s 8 - IL_0221: ldstr "elements/" - IL_0226: ldarg.2 - IL_0227: brfalse IL_0239 + IL_0285: ldloc.s 9 + IL_0287: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_028c: castclass [System.Xml]System.Xml.XmlNode + IL_0291: stloc.s 8 + IL_0293: nop + IL_0294: ldloc.s 6 + IL_0296: ldloc.s 8 + IL_0298: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) + IL_029d: stloc.s 10 + IL_029f: ldarg.0 + IL_02a0: ldloc.s 8 + IL_02a2: ldloc.s 10 + IL_02a4: ldloc.s 6 + IL_02a6: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) + IL_02ab: nop + IL_02ac: ldloc.s 9 + IL_02ae: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02b3: brtrue IL_0285 - IL_022c: ldarg.0 - IL_022d: ldloc.s 8 - IL_022f: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_0234: br IL_023b + IL_02b8: leave IL_02d4 - IL_0239: ldloc.s 8 - IL_023b: ldstr ".html" - IL_0240: call string string::Concat(string, string, string) - IL_0245: stloc.0 - IL_0246: br IL_0292 + } // end .try 3 + finally { // 3 + IL_02bd: ldloc.s 9 + IL_02bf: isinst [mscorlib]System.IDisposable + IL_02c4: dup + IL_02c5: stloc.s 11 + IL_02c7: brfalse IL_02d3 - IL_024b: ldarg.1 - IL_024c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0251: ldstr "id" - IL_0256: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0260: ldc.i4.2 - IL_0261: callvirt instance string string::Substring(int32) - IL_0266: stloc.s 9 - IL_0268: ldstr "../sdk/" - IL_026d: ldarg.2 - IL_026e: brfalse IL_0280 + IL_02cc: ldloc.s 11 + IL_02ce: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02d3: endfinally + } // end handler 3 + IL_02d4: ldarg.0 + IL_02d5: ldloc.0 + IL_02d6: ldstr "Generating Function Documents..." + IL_02db: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_02e0: ldarg.0 + IL_02e1: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation + IL_02e6: ldstr "//method[attribute/@name = 'NAnt.Core.Attributes.FunctionAttribute' and ancestor::class[starts-with(substring(@id, 3, string-length(@id) - 2), '" + IL_02eb: ldarg.0 + IL_02ec: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter() + IL_02f1: ldstr "')]]" + IL_02f6: call string string::Concat(string, string, string) + IL_02fb: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0300: stloc.s 12 + IL_0302: nop + IL_0303: ldloc.s 12 + IL_0305: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_030a: stloc.s 14 + .try { // 4 + IL_030c: br IL_032b - IL_0273: ldarg.0 - IL_0274: ldloc.s 9 - IL_0276: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_027b: br IL_0282 + IL_0311: ldloc.s 14 + IL_0313: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0318: castclass [System.Xml]System.Xml.XmlElement + IL_031d: stloc.s 13 + IL_031f: nop + IL_0320: ldarg.0 + IL_0321: ldloc.s 13 + IL_0323: ldloc.s 6 + IL_0325: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentFunction(class [System.Xml]System.Xml.XmlElement, class NDoc.Documenter.NAnt.NAntXsltUtilities) + IL_032a: nop + IL_032b: ldloc.s 14 + IL_032d: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0332: brtrue IL_0311 - IL_0280: ldloc.s 9 - IL_0282: ldstr ".html" - IL_0287: call string string::Concat(string, string, string) - IL_028c: stloc.0 - IL_028d: br IL_0292 + IL_0337: leave IL_0353 - IL_0292: ldloc.0 - IL_0293: ret - } // end of method NAntXsltUtilities::GetFileNameForType + } // end .try 4 + finally { // 4 + IL_033c: ldloc.s 14 + IL_033e: isinst [mscorlib]System.IDisposable + IL_0343: dup + IL_0344: stloc.s 15 + IL_0346: brfalse IL_0352 - // method line 55 + IL_034b: ldloc.s 15 + IL_034d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0352: endfinally + } // end handler 4 + IL_0353: ldarg.0 + IL_0354: ldc.i4.s 0x64 + IL_0356: ldstr "Complete" + IL_035b: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingStep(int32, string) + IL_0360: ret + } // end of method NAntDocumenter:: + + // method line 58 .method private hidebysig - instance default string GetElementNameForType (class [System.Xml]System.Xml.XmlNode typeNode) cil managed + instance default void DocumentType (class [System.Xml]System.Xml.XmlNode typeNode, valuetype NDoc.Documenter.NAnt.ElementDocType docType, class NDoc.Documenter.NAnt.NAntXsltUtilities utilities) cil managed { - // Method begins at RVA 0x3ddc - // Code size 314 (0x13a) + // Method begins at RVA 0x3ca8 + // Code size 733 (0x2dd) .maxstack 4 .locals init ( string V_0, string V_1, - class [System.Xml]System.Xml.XmlAttribute V_2, - class [System.Xml]System.Xml.XmlAttribute V_3) + class [System.Xml]System.Xml.Xsl.XsltArgumentList V_2, + string V_3, + class [System.Xml]System.Xml.XmlNode V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + string V_6, + string V_7, + class [System.Xml]System.Xml.XmlNode V_8, + class [System.Xml]System.Xml.XmlAttribute V_9, + class [System.Xml]System.Xml.XmlNode V_10, + class [System.Xml]System.Xml.XmlNode V_11, + valuetype NDoc.Documenter.NAnt.ElementDocType V_12, + class [mscorlib]System.IDisposable V_13) IL_0000: nop IL_0001: ldarg.1 IL_0002: brtrue IL_0013 IL_0007: nop - IL_0008: ldsfld string [mscorlib]System.String::Empty - IL_000d: stloc.0 - IL_000e: br IL_0138 + IL_0008: ldstr "typeNode" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.2 + IL_0014: brfalse IL_0020 - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTaskNameForType(class [System.Xml]System.Xml.XmlNode) - IL_001a: stloc.1 - IL_001b: ldloc.1 - IL_001c: brfalse IL_0038 + IL_0019: ldarg.2 + IL_001a: ldc.i4.6 + IL_001b: bne.un IL_0026 - IL_0021: nop - IL_0022: ldstr "<" - IL_0027: ldloc.1 - IL_0028: ldstr ">" - IL_002d: call string string::Concat(string, string, string) - IL_0032: stloc.0 - IL_0033: br IL_0138 + IL_0020: nop + IL_0021: br IL_02dc - IL_0038: ldarg.1 - IL_0039: ldstr "attribute[@name='" - IL_003e: ldtoken [NAnt.Core]NAnt.Core.Attributes.ElementNameAttribute - IL_0043: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0048: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_004d: ldstr "']/property[@name='Name']/@value" - IL_0052: call string string::Concat(string, string, string) - IL_0057: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_005c: isinst [System.Xml]System.Xml.XmlAttribute - IL_0061: stloc.2 - IL_0062: ldloc.2 - IL_0063: brfalse IL_00f4 + IL_0026: ldarg.1 + IL_0027: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_002c: ldstr "id" + IL_0031: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_0036: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_003b: stloc.0 + IL_003c: ldloc.0 + IL_003d: ldc.i4.2 + IL_003e: callvirt instance string string::Substring(int32) + IL_0043: ldarg.0 + IL_0044: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter() + IL_0049: callvirt instance bool string::StartsWith(string) + IL_004e: brtrue IL_0059 + + IL_0053: nop + IL_0054: br IL_02dc + + IL_0059: ldarg.3 + IL_005a: ldarg.1 + IL_005b: ldc.i4.0 + IL_005c: callvirt instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForType(class [System.Xml]System.Xml.XmlNode, bool) + IL_0061: stloc.1 + IL_0062: ldloc.1 + IL_0063: brtrue IL_006e IL_0068: nop - IL_0069: ldarg.1 - IL_006a: ldstr "descendant::base[@id='T:" - IL_006f: ldtoken [NAnt.Core]NAnt.Core.DataTypeBase - IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0079: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_007e: ldstr "']" - IL_0083: call string string::Concat(string, string, string) - IL_0088: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_008d: brfalse IL_00ae + IL_0069: br IL_02dc - IL_0092: nop - IL_0093: ldstr "<" - IL_0098: ldloc.2 - IL_0099: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_009e: ldstr ">" - IL_00a3: call string string::Concat(string, string, string) - IL_00a8: stloc.0 - IL_00a9: br IL_0138 + IL_006e: ldarg.0 + IL_006f: ldfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntDocumenter::_writtenFiles + IL_0074: ldloc.0 + IL_0075: callvirt instance bool class [System]System.Collections.Specialized.StringDictionary::ContainsValue(string) + IL_007a: brfalse IL_0085 - IL_00ae: ldarg.1 - IL_00af: ldstr "descendant::base[@id='T:" - IL_00b4: ldtoken [NAnt.Core]NAnt.Core.Filters.Filter - IL_00b9: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_00be: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_00c3: ldstr "']" - IL_00c8: call string string::Concat(string, string, string) - IL_00cd: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_00d2: brfalse IL_00f3 + IL_007f: nop + IL_0080: br IL_02dc - IL_00d7: nop - IL_00d8: ldstr "<" - IL_00dd: ldloc.2 - IL_00de: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_00e3: ldstr ">" - IL_00e8: call string string::Concat(string, string, string) - IL_00ed: stloc.0 - IL_00ee: br IL_0138 + IL_0085: nop + IL_0086: ldarg.0 + IL_0087: ldfld class [System]System.Collections.Specialized.StringDictionary NDoc.Documenter.NAnt.NAntDocumenter::_writtenFiles + IL_008c: ldloc.1 + IL_008d: ldloc.0 + IL_008e: callvirt instance void class [System]System.Collections.Specialized.StringDictionary::Add(string, string) + IL_0093: nop + IL_0094: ldarg.0 + IL_0095: call instance class [System.Xml]System.Xml.Xsl.XsltArgumentList class NDoc.Documenter.NAnt.NAntDocumenter::CreateXsltArgumentList() + IL_009a: stloc.2 + IL_009b: ldloc.2 + IL_009c: ldstr "class-id" + IL_00a1: ldsfld string [mscorlib]System.String::Empty + IL_00a6: ldloc.0 + IL_00a7: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_00ac: ldarg.2 + IL_00ad: ldc.i4.1 + IL_00ae: sub + IL_00af: switch ( + IL_00e3, + IL_00cd, + IL_00d8, + IL_00ee, + IL_00f9) + IL_00c8: br IL_0104 - IL_00f3: nop - IL_00f4: ldarg.1 - IL_00f5: ldstr "attribute[@name='" - IL_00fa: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute - IL_00ff: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0104: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0109: ldstr "']/property[@name='Category']/@value" - IL_010e: call string string::Concat(string, string, string) - IL_0113: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0118: isinst [System.Xml]System.Xml.XmlAttribute - IL_011d: stloc.3 - IL_011e: ldloc.3 - IL_011f: brfalse IL_0131 + IL_00cd: ldstr "Type" + IL_00d2: stloc.3 + IL_00d3: br IL_010f - IL_0124: nop - IL_0125: ldloc.3 - IL_0126: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_012b: stloc.0 - IL_012c: br IL_0138 + IL_00d8: ldstr "Element" + IL_00dd: stloc.3 + IL_00de: br IL_010f - IL_0131: ldnull - IL_0132: stloc.0 - IL_0133: br IL_0138 + IL_00e3: ldstr "Task" + IL_00e8: stloc.3 + IL_00e9: br IL_010f - IL_0138: ldloc.0 - IL_0139: ret - } // end of method NAntXsltUtilities::GetElementNameForType + IL_00ee: ldstr "Enum" + IL_00f3: stloc.3 + IL_00f4: br IL_010f - // method line 56 - .method private hidebysig - instance default string GetFileNameForFunction (string 'type', bool urlEncode) cil managed - { - // Method begins at RVA 0x3f24 - // Code size 39 (0x27) - .maxstack 3 - .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetMethodNodeByID(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: brfalse IL_001e + IL_00f9: ldstr "Filter" + IL_00fe: stloc.3 + IL_00ff: br IL_010f - IL_000f: nop - IL_0010: ldarg.0 - IL_0011: ldloc.0 - IL_0012: ldc.i4.1 - IL_0013: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForFunction(class [System.Xml]System.Xml.XmlNode, bool) - IL_0018: stloc.1 - IL_0019: br IL_0025 + IL_0104: ldstr "Other?" + IL_0109: stloc.3 + IL_010a: br IL_010f + + IL_010f: ldloc.2 + IL_0110: ldstr "refType" + IL_0115: ldsfld string [mscorlib]System.String::Empty + IL_011a: ldloc.3 + IL_011b: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_0120: ldloc.2 + IL_0121: ldstr "urn:NAntUtil" + IL_0126: ldarg.3 + IL_0127: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) + IL_012c: nop + IL_012d: ldarg.1 + IL_012e: ldstr "property[attribute]" + IL_0133: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0138: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_013d: stloc.s 5 + .try { // 0 + IL_013f: br IL_02a6 + + IL_0144: ldloc.s 5 + IL_0146: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_014b: castclass [System.Xml]System.Xml.XmlNode + IL_0150: stloc.s 4 + IL_0152: nop + IL_0153: ldarg.3 + IL_0154: ldloc.s 4 + IL_0156: callvirt instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementNameForProperty(class [System.Xml]System.Xml.XmlNode) + IL_015b: stloc.s 6 + IL_015d: ldloc.s 6 + IL_015f: brfalse IL_02a5 - IL_001e: ldnull - IL_001f: stloc.1 - IL_0020: br IL_0025 + IL_0164: nop + IL_0165: ldstr "T:" + IL_016a: ldloc.s 4 + IL_016c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0171: ldstr "type" + IL_0176: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_017b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0180: ldstr "[]" + IL_0185: ldstr "" + IL_018a: callvirt instance string string::Replace(string, string) + IL_018f: call string string::Concat(string, string) + IL_0194: stloc.s 7 + IL_0196: ldloc.s 4 + IL_0198: ldstr "attribute[@name='" + IL_019d: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementArrayAttribute + IL_01a2: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01a7: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01ac: ldstr "']" + IL_01b1: call string string::Concat(string, string, string) + IL_01b6: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_01bb: stloc.s 8 + IL_01bd: ldloc.s 8 + IL_01bf: brtrue IL_01ed - IL_0025: ldloc.1 - IL_0026: ret - } // end of method NAntXsltUtilities::GetFileNameForFunction + IL_01c4: nop + IL_01c5: ldloc.s 4 + IL_01c7: ldstr "attribute[@name='" + IL_01cc: ldtoken [NAnt.Core]NAnt.Core.Attributes.BuildElementCollectionAttribute + IL_01d1: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01d6: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01db: ldstr "']" + IL_01e0: call string string::Concat(string, string, string) + IL_01e5: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_01ea: stloc.s 8 + IL_01ec: nop + IL_01ed: ldloc.s 8 + IL_01ef: brfalse IL_0273 - // method line 57 - .method private hidebysig - instance default string GetFileNameForType (string 'type', bool urlEncode) cil managed - { - // Method begins at RVA 0x3f58 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.0 - IL_0003: ldarg.1 - IL_0004: call instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) - IL_0009: ldarg.2 - IL_000a: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForType(class [System.Xml]System.Xml.XmlNode, bool) - IL_000f: stloc.0 - IL_0010: br IL_0015 + IL_01f4: nop + IL_01f5: ldarg.0 + IL_01f6: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation + IL_01fb: ldstr "//class[@id='" + IL_0200: ldloc.s 7 + IL_0202: ldstr "']/method[@name='Add']/parameter/@type" + IL_0207: call string string::Concat(string, string, string) + IL_020c: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0211: isinst [System.Xml]System.Xml.XmlAttribute + IL_0216: stloc.s 9 + IL_0218: ldloc.s 9 + IL_021a: brfalse IL_0234 - IL_0015: ldloc.0 - IL_0016: ret - } // end of method NAntXsltUtilities::GetFileNameForType + IL_021f: nop + IL_0220: ldstr "T:" + IL_0225: ldloc.s 9 + IL_0227: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_022c: call string string::Concat(string, string) + IL_0231: stloc.s 7 + IL_0233: nop + IL_0234: ldloc.s 4 + IL_0236: ldstr "attribute/property[@ElementType]" + IL_023b: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) + IL_0240: stloc.s 10 + IL_0242: ldloc.s 10 + IL_0244: brfalse IL_0272 - // method line 58 - .method private hidebysig - instance default string GetFilenameForSystemMember (string cref) cil managed - { - // Method begins at RVA 0x3f7c - // Code size 204 (0xcc) - .maxstack 6 - .locals init ( - string V_0, - int32 V_1, - string V_2, - string V_3, - string V_4) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr ".#c" - IL_0007: callvirt instance int32 string::IndexOf(string) - IL_000c: dup - IL_000d: stloc.1 - IL_000e: ldc.i4.0 - IL_000f: blt IL_0030 + IL_0249: nop + IL_024a: ldloc.s 10 + IL_024c: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0251: ldstr "value" + IL_0256: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_025b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0260: ldstr "+" + IL_0265: ldstr "." + IL_026a: callvirt instance string string::Replace(string, string) + IL_026f: stloc.s 7 + IL_0271: nop + IL_0272: nop + IL_0273: ldarg.3 + IL_0274: ldloc.s 7 + IL_0276: callvirt instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) + IL_027b: stloc.s 11 + IL_027d: ldloc.s 11 + IL_027f: brfalse IL_02a4 - IL_0014: nop - IL_0015: ldarg.1 - IL_0016: ldc.i4.2 - IL_0017: ldloc.1 - IL_0018: ldc.i4.2 - IL_0019: sub - IL_001a: callvirt instance string string::Substring(int32, int32) - IL_001f: ldstr ".ctor" - IL_0024: call string string::Concat(string, string) - IL_0029: stloc.0 - IL_002a: nop - IL_002b: br IL_005f + IL_0284: nop + IL_0285: ldarg.3 + IL_0286: ldloc.s 11 + IL_0288: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) + IL_028d: stloc.s 12 + IL_028f: ldloc.s 12 + IL_0291: brfalse IL_02a3 - IL_0030: ldarg.1 - IL_0031: ldstr "(" - IL_0036: callvirt instance int32 string::IndexOf(string) - IL_003b: dup - IL_003c: stloc.1 - IL_003d: ldc.i4.0 - IL_003e: blt IL_0055 + IL_0296: nop + IL_0297: ldarg.0 + IL_0298: ldloc.s 11 + IL_029a: ldloc.s 12 + IL_029c: ldarg.3 + IL_029d: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) + IL_02a2: nop + IL_02a3: nop + IL_02a4: nop + IL_02a5: nop + IL_02a6: ldloc.s 5 + IL_02a8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_02ad: brtrue IL_0144 - IL_0043: nop - IL_0044: ldarg.1 - IL_0045: ldc.i4.2 - IL_0046: ldloc.1 - IL_0047: ldc.i4.2 - IL_0048: sub - IL_0049: callvirt instance string string::Substring(int32, int32) - IL_004e: stloc.0 - IL_004f: nop - IL_0050: br IL_005f + IL_02b2: leave IL_02ce - IL_0055: nop - IL_0056: ldarg.1 - IL_0057: ldc.i4.2 - IL_0058: callvirt instance string string::Substring(int32) - IL_005d: stloc.0 - IL_005e: nop - IL_005f: ldloc.0 - IL_0060: ldstr "." - IL_0065: callvirt instance int32 string::LastIndexOf(string) - IL_006a: stloc.1 - IL_006b: ldloc.0 - IL_006c: ldc.i4.0 - IL_006d: ldloc.1 - IL_006e: callvirt instance string string::Substring(int32, int32) - IL_0073: stloc.2 - IL_0074: ldloc.0 - IL_0075: ldloc.1 - IL_0076: ldc.i4.1 - IL_0077: add - IL_0078: callvirt instance string string::Substring(int32) - IL_007d: stloc.3 - IL_007e: ldc.i4.6 - IL_007f: newarr [mscorlib]System.String - IL_0084: dup - IL_0085: ldc.i4.0 - IL_0086: ldarg.0 - IL_0087: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl() - IL_008c: stelem.ref - IL_008d: dup - IL_008e: ldc.i4.1 - IL_008f: ldloc.2 - IL_0090: ldstr "." - IL_0095: ldstr "" - IL_009a: callvirt instance string string::Replace(string, string) - IL_009f: stelem.ref - IL_00a0: dup - IL_00a1: ldc.i4.2 - IL_00a2: ldstr "Class" - IL_00a7: stelem.ref - IL_00a8: dup - IL_00a9: ldc.i4.3 - IL_00aa: ldloc.3 - IL_00ab: stelem.ref - IL_00ac: dup - IL_00ad: ldc.i4.4 - IL_00ae: ldstr "Topic" - IL_00b3: stelem.ref - IL_00b4: dup - IL_00b5: ldc.i4.5 - IL_00b6: ldarg.0 - IL_00b7: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt() - IL_00bc: stelem.ref - IL_00bd: call string string::Concat(string[]) - IL_00c2: stloc.s 4 - IL_00c4: br IL_00c9 + } // end .try 0 + finally { // 0 + IL_02b7: ldloc.s 5 + IL_02b9: isinst [mscorlib]System.IDisposable + IL_02be: dup + IL_02bf: stloc.s 13 + IL_02c1: brfalse IL_02cd - IL_00c9: ldloc.s 4 - IL_00cb: ret - } // end of method NAntXsltUtilities::GetFilenameForSystemMember + IL_02c6: ldloc.s 13 + IL_02c8: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02cd: endfinally + } // end handler 0 + IL_02ce: ldarg.0 + IL_02cf: ldarg.0 + IL_02d0: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeDoc + IL_02d5: ldloc.2 + IL_02d6: ldloc.1 + IL_02d7: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) + IL_02dc: ret + } // end of method NAntDocumenter::DocumentType // method line 59 .method private hidebysig - instance default string GetTaskNameForType (class [System.Xml]System.Xml.XmlNode typeNode) cil managed + instance default void DocumentFunction (class [System.Xml]System.Xml.XmlElement functionElement, class NDoc.Documenter.NAnt.NAntXsltUtilities utilities) cil managed { - // Method begins at RVA 0x4054 - // Code size 128 (0x80) - .maxstack 4 + // Method begins at RVA 0x3fb0 + // Code size 380 (0x17c) + .maxstack 5 .locals init ( string V_0, - class [System.Xml]System.Xml.XmlAttribute V_1) + string V_1, + class [System.Xml]System.Xml.Xsl.XsltArgumentList V_2, + class [System.Xml]System.Xml.XmlAttribute V_3, + class [mscorlib]System.Collections.IEnumerator V_4, + string V_5, + class [System.Xml]System.Xml.XmlNode V_6, + valuetype NDoc.Documenter.NAnt.ElementDocType V_7, + class [mscorlib]System.IDisposable V_8, + class [System.Xml]System.Xml.XmlAttribute V_9, + string V_10, + class [System.Xml]System.Xml.XmlNode V_11, + valuetype NDoc.Documenter.NAnt.ElementDocType V_12) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_000f + IL_0002: brtrue IL_0013 IL_0007: nop - IL_0008: ldnull - IL_0009: stloc.0 - IL_000a: br IL_007e + IL_0008: ldstr "functionElement" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.1 + IL_0014: ldstr "id" + IL_0019: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_001e: stloc.0 + IL_001f: ldarg.2 + IL_0020: ldarg.1 + IL_0021: ldc.i4.0 + IL_0022: callvirt instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::GetFileNameForFunction(class [System.Xml]System.Xml.XmlNode, bool) + IL_0027: stloc.1 + IL_0028: ldarg.0 + IL_0029: call instance class [System.Xml]System.Xml.Xsl.XsltArgumentList class NDoc.Documenter.NAnt.NAntDocumenter::CreateXsltArgumentList() + IL_002e: stloc.2 + IL_002f: ldloc.2 + IL_0030: ldstr "method-id" + IL_0035: ldsfld string [mscorlib]System.String::Empty + IL_003a: ldloc.0 + IL_003b: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_0040: ldloc.2 + IL_0041: ldstr "refType" + IL_0046: ldsfld string [mscorlib]System.String::Empty + IL_004b: ldstr "Function" + IL_0050: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_0055: ldloc.2 + IL_0056: ldstr "functionName" + IL_005b: ldsfld string [mscorlib]System.String::Empty + IL_0060: ldarg.1 + IL_0061: ldstr "name" + IL_0066: callvirt instance string class [System.Xml]System.Xml.XmlElement::GetAttribute(string) + IL_006b: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_0070: ldloc.2 + IL_0071: ldstr "urn:NAntUtil" + IL_0076: ldarg.2 + IL_0077: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddExtensionObject(string, object) + IL_007c: nop + IL_007d: ldarg.1 + IL_007e: ldstr "parameter/@type" + IL_0083: callvirt instance class [System.Xml]System.Xml.XmlNodeList class [System.Xml]System.Xml.XmlNode::SelectNodes(string) + IL_0088: callvirt instance class [mscorlib]System.Collections.IEnumerator class [System.Xml]System.Xml.XmlNodeList::GetEnumerator() + IL_008d: stloc.s 4 + .try { // 0 + IL_008f: br IL_00e6 - IL_000f: ldarg.1 - IL_0010: ldstr "descendant::base[@id='T:" - IL_0015: ldtoken [NAnt.Core]NAnt.Core.Task - IL_001a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_001f: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0024: ldstr "']" - IL_0029: call string string::Concat(string, string, string) - IL_002e: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0033: brfalse IL_0077 + IL_0094: ldloc.s 4 + IL_0096: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_009b: castclass [System.Xml]System.Xml.XmlAttribute + IL_00a0: stloc.3 + IL_00a1: nop + IL_00a2: ldstr "T:" + IL_00a7: ldloc.3 + IL_00a8: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_00ad: call string string::Concat(string, string) + IL_00b2: stloc.s 5 + IL_00b4: ldarg.2 + IL_00b5: ldloc.s 5 + IL_00b7: callvirt instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) + IL_00bc: stloc.s 6 + IL_00be: ldloc.s 6 + IL_00c0: brfalse IL_00e5 - IL_0038: nop - IL_0039: ldarg.1 - IL_003a: ldstr "attribute[@name='" - IL_003f: ldtoken [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute - IL_0044: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0049: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_004e: ldstr "']/property[@name='Name']/@value" - IL_0053: call string string::Concat(string, string, string) - IL_0058: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_005d: isinst [System.Xml]System.Xml.XmlAttribute - IL_0062: stloc.1 - IL_0063: ldloc.1 - IL_0064: brfalse IL_0076 + IL_00c5: nop + IL_00c6: ldarg.2 + IL_00c7: ldloc.s 6 + IL_00c9: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) + IL_00ce: stloc.s 7 + IL_00d0: ldloc.s 7 + IL_00d2: brfalse IL_00e4 - IL_0069: nop - IL_006a: ldloc.1 - IL_006b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0070: stloc.0 - IL_0071: br IL_007e + IL_00d7: nop + IL_00d8: ldarg.0 + IL_00d9: ldloc.s 6 + IL_00db: ldloc.s 7 + IL_00dd: ldarg.2 + IL_00de: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) + IL_00e3: nop + IL_00e4: nop + IL_00e5: nop + IL_00e6: ldloc.s 4 + IL_00e8: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00ed: brtrue IL_0094 - IL_0076: nop - IL_0077: ldnull - IL_0078: stloc.0 - IL_0079: br IL_007e + IL_00f2: leave IL_010e + + } // end .try 0 + finally { // 0 + IL_00f7: ldloc.s 4 + IL_00f9: isinst [mscorlib]System.IDisposable + IL_00fe: dup + IL_00ff: stloc.s 8 + IL_0101: brfalse IL_010d + + IL_0106: ldloc.s 8 + IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_010d: endfinally + } // end handler 0 + IL_010e: ldarg.1 + IL_010f: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() + IL_0114: ldstr "returnType" + IL_0119: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) + IL_011e: stloc.s 9 + IL_0120: ldloc.s 9 + IL_0122: brfalse IL_016d + + IL_0127: nop + IL_0128: ldstr "T:" + IL_012d: ldloc.s 9 + IL_012f: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() + IL_0134: call string string::Concat(string, string) + IL_0139: stloc.s 10 + IL_013b: ldarg.2 + IL_013c: ldloc.s 10 + IL_013e: callvirt instance class [System.Xml]System.Xml.XmlNode class NDoc.Documenter.NAnt.NAntXsltUtilities::GetTypeNodeByID(string) + IL_0143: stloc.s 11 + IL_0145: ldloc.s 11 + IL_0147: brfalse IL_016c + + IL_014c: nop + IL_014d: ldarg.2 + IL_014e: ldloc.s 11 + IL_0150: callvirt instance valuetype NDoc.Documenter.NAnt.ElementDocType class NDoc.Documenter.NAnt.NAntXsltUtilities::GetElementDocType(class [System.Xml]System.Xml.XmlNode) + IL_0155: stloc.s 12 + IL_0157: ldloc.s 12 + IL_0159: brfalse IL_016b + + IL_015e: nop + IL_015f: ldarg.0 + IL_0160: ldloc.s 11 + IL_0162: ldloc.s 12 + IL_0164: ldarg.2 + IL_0165: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::DocumentType(class [System.Xml]System.Xml.XmlNode, valuetype NDoc.Documenter.NAnt.ElementDocType, class NDoc.Documenter.NAnt.NAntXsltUtilities) + IL_016a: nop + IL_016b: nop + IL_016c: nop + IL_016d: ldarg.0 + IL_016e: ldarg.0 + IL_016f: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionDoc + IL_0174: ldloc.2 + IL_0175: ldloc.1 + IL_0176: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::TransformAndWriteResult(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, class [System.Xml]System.Xml.Xsl.XsltArgumentList, string) + IL_017b: ret + } // end of method NAntDocumenter::DocumentFunction + + // method line 60 + .method private hidebysig + instance default void MakeTransforms () cil managed + { + // Method begins at RVA 0x4148 + // Code size 225 (0xe1) + .maxstack 3 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) + IL_0008: ldarg.0 + IL_0009: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_000e: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTaskIndex + IL_0013: ldarg.0 + IL_0014: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_0019: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeIndex + IL_001e: ldarg.0 + IL_001f: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_0024: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionIndex + IL_0029: ldarg.0 + IL_002a: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_002f: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFilterIndex + IL_0034: ldarg.0 + IL_0035: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_003a: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeDoc + IL_003f: ldarg.0 + IL_0040: newobj instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::'.ctor'() + IL_0045: stfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionDoc + IL_004a: ldarg.0 + IL_004b: ldarg.0 + IL_004c: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTaskIndex + IL_0051: ldstr "task-index.xslt" + IL_0056: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) + IL_005b: ldarg.0 + IL_005c: ldc.i4.s 0x14 + IL_005e: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) + IL_0063: ldarg.0 + IL_0064: ldarg.0 + IL_0065: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeIndex + IL_006a: ldstr "type-index.xslt" + IL_006f: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) + IL_0074: ldarg.0 + IL_0075: ldc.i4.s 0x28 + IL_0077: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) + IL_007c: ldarg.0 + IL_007d: ldarg.0 + IL_007e: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFilterIndex + IL_0083: ldstr "filter-index.xslt" + IL_0088: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) + IL_008d: ldarg.0 + IL_008e: ldc.i4.s 0x32 + IL_0090: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) + IL_0095: ldarg.0 + IL_0096: ldarg.0 + IL_0097: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionIndex + IL_009c: ldstr "function-index.xslt" + IL_00a1: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) + IL_00a6: ldarg.0 + IL_00a7: ldc.i4.s 0x3c + IL_00a9: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) + IL_00ae: ldarg.0 + IL_00af: ldarg.0 + IL_00b0: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltTypeDoc + IL_00b5: ldstr "type-doc.xslt" + IL_00ba: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) + IL_00bf: ldarg.0 + IL_00c0: ldc.i4.s 0x50 + IL_00c2: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) + IL_00c7: ldarg.0 + IL_00c8: ldarg.0 + IL_00c9: ldfld class [System.Xml]System.Xml.Xsl.XslCompiledTransform NDoc.Documenter.NAnt.NAntDocumenter::_xsltFunctionDoc + IL_00ce: ldstr "function-doc.xslt" + IL_00d3: call instance void class NDoc.Documenter.NAnt.NAntDocumenter::MakeTransform(class [System.Xml]System.Xml.Xsl.XslCompiledTransform, string) + IL_00d8: ldarg.0 + IL_00d9: ldc.i4.s 0x64 + IL_00db: call instance void [NDoc.Core]NDoc.Core.BaseDocumenter::OnDocBuildingProgress(int32) + IL_00e0: ret + } // end of method NAntDocumenter::MakeTransforms - IL_007e: ldloc.0 - IL_007f: ret - } // end of method NAntXsltUtilities::GetTaskNameForType + // method line 61 + .method private hidebysig + instance default void MakeTransform (class [System.Xml]System.Xml.Xsl.XslCompiledTransform transform, string fileName) cil managed + { + // Method begins at RVA 0x4235 + // Code size 30 (0x1e) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldarg.0 + IL_0003: ldfld string NDoc.Documenter.NAnt.NAntDocumenter::_resourceDirectory + IL_0008: ldstr "xslt" + IL_000d: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0012: ldarg.2 + IL_0013: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0018: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Load(string) + IL_001d: ret + } // end of method NAntDocumenter::MakeTransform - // method line 60 + // method line 62 .method private hidebysig - instance default string GetElementNameForMethod (class [System.Xml]System.Xml.XmlNode methodNode) cil managed + instance default class [System.Xml]System.Xml.Xsl.XsltArgumentList CreateXsltArgumentList () cil managed { - // Method begins at RVA 0x40e0 - // Code size 178 (0xb2) + // Method begins at RVA 0x4254 + // Code size 82 (0x52) .maxstack 4 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0, - string V_1, - class [System.Xml]System.Xml.XmlNode V_2) + class [System.Xml]System.Xml.Xsl.XsltArgumentList V_0, + class [System.Xml]System.Xml.Xsl.XsltArgumentList V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "attribute[@name='" - IL_0007: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute - IL_000c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0011: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0016: ldstr "']/property[@name='Name']/@value" - IL_001b: call string string::Concat(string, string, string) - IL_0020: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_0025: stloc.0 - IL_0026: ldloc.0 - IL_0027: brtrue IL_0048 - - IL_002c: nop - IL_002d: ldarg.1 - IL_002e: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_0033: ldstr "name" - IL_0038: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_003d: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0042: stloc.1 - IL_0043: br IL_00b0 - - IL_0048: ldarg.1 - IL_0049: ldstr "../attribute[@name='" - IL_004e: ldtoken [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute - IL_0053: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0058: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_005d: ldstr "']/property[@name='Prefix']/@value" - IL_0062: call string string::Concat(string, string, string) - IL_0067: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_006c: stloc.2 - IL_006d: ldloc.2 - IL_006e: brtrue IL_008f - - IL_0073: nop - IL_0074: ldarg.1 - IL_0075: callvirt instance class [System.Xml]System.Xml.XmlAttributeCollection class [System.Xml]System.Xml.XmlNode::get_Attributes() - IL_007a: ldstr "name" - IL_007f: callvirt instance class [System.Xml]System.Xml.XmlAttribute class [System.Xml]System.Xml.XmlAttributeCollection::get_ItemOf(string) - IL_0084: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_0089: stloc.1 - IL_008a: br IL_00b0 - - IL_008f: ldloc.2 - IL_0090: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_0095: ldstr "::" - IL_009a: ldloc.0 - IL_009b: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_InnerText() - IL_00a0: ldstr "()" - IL_00a5: call string string::Concat(string, string, string, string) - IL_00aa: stloc.1 - IL_00ab: br IL_00b0 + IL_0001: newobj instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldstr "productName" + IL_000d: ldsfld string [mscorlib]System.String::Empty + IL_0012: ldarg.0 + IL_0013: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_ProductName() + IL_0018: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_001d: ldloc.0 + IL_001e: ldstr "productVersion" + IL_0023: ldsfld string [mscorlib]System.String::Empty + IL_0028: ldarg.0 + IL_0029: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_ProductVersion() + IL_002e: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_0033: ldloc.0 + IL_0034: ldstr "productUrl" + IL_0039: ldsfld string [mscorlib]System.String::Empty + IL_003e: ldarg.0 + IL_003f: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_ProductUrl() + IL_0044: callvirt instance void class [System.Xml]System.Xml.Xsl.XsltArgumentList::AddParam(string, string, object) + IL_0049: ldloc.0 + IL_004a: stloc.1 + IL_004b: br IL_0050 - IL_00b0: ldloc.1 - IL_00b1: ret - } // end of method NAntXsltUtilities::GetElementNameForMethod + IL_0050: ldloc.1 + IL_0051: ret + } // end of method NAntDocumenter::CreateXsltArgumentList - // method line 61 + // method line 63 .method private hidebysig - instance default string GetHRefForFunctionSet (class [System.Xml]System.Xml.XmlNode functionNode) cil managed + instance default void TransformAndWriteResult (class [System.Xml]System.Xml.Xsl.XslCompiledTransform transform, class [System.Xml]System.Xml.Xsl.XsltArgumentList arguments, string filename) cil managed { - // Method begins at RVA 0x41a0 - // Code size 83 (0x53) - .maxstack 3 + // Method begins at RVA 0x42b4 + // Code size 62 (0x3e) + .maxstack 4 .locals init ( - class [System.Xml]System.Xml.XmlAttribute V_0, - string V_1) + string V_0, + class [mscorlib]System.IO.StreamWriter V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldstr "attribute[@name='NAnt.Core.Attributes.FunctionSetAttribute']/property[@name='Category']/@value" - IL_0007: callvirt instance class [System.Xml]System.Xml.XmlNode class [System.Xml]System.Xml.XmlNode::SelectSingleNode(string) - IL_000c: isinst [System.Xml]System.Xml.XmlAttribute - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: brfalse IL_004a - - IL_0018: ldloc.0 - IL_0019: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_001e: ldstr "" - IL_0023: call bool string::op_Inequality(string, string) - IL_0028: brfalse IL_004a - - IL_002d: nop - IL_002e: ldstr "functions/index.html#" - IL_0033: ldarg.0 - IL_0034: ldloc.0 - IL_0035: callvirt instance string class [System.Xml]System.Xml.XmlNode::get_Value() - IL_003a: call instance string class NDoc.Documenter.NAnt.NAntXsltUtilities::UrlEncode(string) - IL_003f: call string string::Concat(string, string) - IL_0044: stloc.1 - IL_0045: br IL_0051 - - IL_004a: ldnull - IL_004b: stloc.1 - IL_004c: br IL_0051 - - IL_0051: ldloc.1 - IL_0052: ret - } // end of method NAntXsltUtilities::GetHRefForFunctionSet + IL_0001: ldarg.0 + IL_0002: call instance string class NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory() + IL_0007: ldarg.3 + IL_0008: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.0 + IL_0010: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() + IL_0015: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool, class [mscorlib]System.Text.Encoding) + IL_001a: stloc.1 + .try { // 0 + IL_001b: nop + IL_001c: ldarg.1 + IL_001d: ldarg.0 + IL_001e: ldfld class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntDocumenter::_xmlDocumentation + IL_0023: ldarg.2 + IL_0024: ldloc.1 + IL_0025: callvirt instance void class [System.Xml]System.Xml.Xsl.XslCompiledTransform::Transform(class [System.Xml]System.Xml.XPath.IXPathNavigable, class [System.Xml]System.Xml.Xsl.XsltArgumentList, class [mscorlib]System.IO.TextWriter) + IL_002a: nop + IL_002b: leave IL_003d - // method line 62 - .method assembly static hidebysig - default class NDoc.Documenter.NAnt.NAntXsltUtilities CreateInstance (class [System.Xml]System.Xml.XmlDocument doc, class NDoc.Documenter.NAnt.NAntDocumenterConfig config) cil managed - { - // Method begins at RVA 0x4200 - } // end of method NAntXsltUtilities::CreateInstance + } // end .try 0 + finally { // 0 + IL_0030: ldloc.1 + IL_0031: brfalse IL_003c - // method line 63 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x4300 - // Code size 12 (0xc) - .maxstack 8 - IL_0000: ldc.i4.3 - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0006: stsfld class [mscorlib]System.Collections.ArrayList NDoc.Documenter.NAnt.NAntXsltUtilities::Instances - IL_000b: ret - } // end of method NAntXsltUtilities::.cctor + IL_0036: ldloc.1 + IL_0037: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_003c: endfinally + } // end handler 0 + IL_003d: ret + } // end of method NAntDocumenter::TransformAndWriteResult - .property instance string SdkDocBaseUrl () + .property instance string OutputDirectory () { - .get instance default string NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocBaseUrl () + .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_OutputDirectory () } - .property instance string SdkDocExt () + .property instance string NamespaceFilter () { - .get instance default string NDoc.Documenter.NAnt.NAntXsltUtilities::get_SdkDocExt () + .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_NamespaceFilter () } - .property instance class [System.Xml]System.Xml.XmlDocument Document () + .property instance string ProductName () { - .get instance default class [System.Xml]System.Xml.XmlDocument NDoc.Documenter.NAnt.NAntXsltUtilities::get_Document () + .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_ProductName () } - .property instance class NDoc.Documenter.NAnt.NAntDocumenterConfig Config () + .property instance string ProductVersion () { - .get instance default class NDoc.Documenter.NAnt.NAntDocumenterConfig NDoc.Documenter.NAnt.NAntXsltUtilities::get_Config () + .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_ProductVersion () } - } // end of class NDoc.Documenter.NAnt.NAntXsltUtilities + .property instance string ProductUrl () + { + .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_ProductUrl () + } + .property instance string MainOutputFile () + { + .get instance default string NDoc.Documenter.NAnt.NAntDocumenter::get_MainOutputFile () + } + } // end of class NDoc.Documenter.NAnt.NAntDocumenter +} + +.namespace NDoc.Documenter.NAnt +{ + .class public auto ansi sealed ElementDocType + extends [mscorlib]System.Enum + { + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType None = int32(0x00000000) + .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Task = int32(0x00000001) + .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType DataTypeElement = int32(0x00000002) + .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Element = int32(0x00000003) + .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Enum = int32(0x00000004) + .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType Filter = int32(0x00000005) + .field public static literal valuetype NDoc.Documenter.NAnt.ElementDocType FunctionSet = int32(0x00000006) + + } // end of class NDoc.Documenter.NAnt.ElementDocType } /usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml differs (XML document text) --- old//usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 2018-06-14 00:00:00.000000000 +0000 @@ -4,152 +4,6 @@ NDoc.Documenter.NAnt - - - NDoc Documenter for building custom NAnt User documentation. - - - - - Initializes a new instance of the class. - - - - - Gets the documenter's output directory. - - - The documenter's output directory. - - - - - Gets or sets the root namespace to document. - - - The root namespace to document, or a empty - if no restriction should be set on the namespace to document. - - - - - Gets the name of the product for which documentation should be - generated. - - - The name of the product for which documentation should be - generated. - - - - - Gets the version of the product for which documentation should be - generated. - - - The version of the product for which documentation should be - generated. - - - - - Gets the URL of the website of the product for which documentation - should be generated. - - - The URL of the website of the product for which documentation should - be generated. - - - - - Gets the documenter's main output file. - - - The documenter's main output file. - - - - - Resets the documenter to a clean state. - - - - - Builds the documentation. - - - - - NDoc configuration class for . - - - - - Initializes a new instance of the - class. - - - - - Gets or sets the output directory. - - - The output directory. - - - - - Gets or sets a value indicating whether .NET Framework SDK links - should point to the online MSDN library. - - - - - Gets or sets the name of the product for which documentation - should be generated. - - - The name of the product for which documentation should be - generated. The default is "NAnt". - - - - - Gets or sets the version of the product for which documentation - should be generated. - - - The version of the product for which documentation should be - generated. - - - - - Gets or sets the URL of product website. - - - The URL of the website of the product for which documentation should - be generated. - - - - - Gets or sets the base URI for linking to NAnt docs. - - - The base URI for linking to NAnt docs. - - - - - Gets or sets the root namespace to document. - - - The root namespace to document, or a empty - if no restriction should be set on the namespace to document. - - Provides an extension object for the XSLT transformations. @@ -369,5 +223,151 @@ The "Class" element to find the filename for. + + + NDoc configuration class for . + + + + + Initializes a new instance of the + class. + + + + + Gets or sets the output directory. + + + The output directory. + + + + + Gets or sets a value indicating whether .NET Framework SDK links + should point to the online MSDN library. + + + + + Gets or sets the name of the product for which documentation + should be generated. + + + The name of the product for which documentation should be + generated. The default is "NAnt". + + + + + Gets or sets the version of the product for which documentation + should be generated. + + PE32 Mono/.Net assembly: /usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll /usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll (monodis) +++ new /usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll (monodis) @@ -68,42 +68,15 @@ .namespace NAnt.VSNet { - .class private auto ansi beforefieldinit OrcasSolution - extends NAnt.VSNet.WhidbeySolution - { - - // method line 1 - .method public hidebysig specialname rtspecialname - (null) cil managed - { - // Method begins at RVA 0x238c - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: call instance void(string, member:>, class [System]System.CodeDom.Compiler.TempFileCollection, member:>, member:>) - IL_000d: nop - IL_000e: ret - } // end of method OrcasSolution:: - - } // end of class NAnt.VSNet.OrcasSolution -} - -.namespace NAnt.VSNet -{ .class private auto ansi beforefieldinit OrcasSolutionProvider extends [mscorlib]System.Object implements [NAnt.VSNetTasks]NAnt.VSNet.Extensibility.ISolutionBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - // method line 2 + // method line 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x239c + // Method begins at RVA 0x2050 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -111,11 +84,11 @@ IL_0006: ret } // end of method OrcasSolutionProvider::.ctor - // method line 3 + // method line 2 .method public final virtual hidebysig newslot instance default int32 IsSupported (string fileContents) cil managed { - // Method begins at RVA 0x23a4 + // Method begins at RVA 0x2058 // Code size 103 (0x67) .maxstack 2 .locals init ( @@ -167,16 +140,335 @@ IL_0066: ret } // end of method OrcasSolutionProvider::IsSupported - // method line 4 + // method line 3 .method public final virtual hidebysig newslot (null) cil managed { - // Method begins at RVA 0x2418 + // Method begins at RVA 0x20cc } // end of method OrcasSolutionProvider:: } // end of class NAnt.VSNet.OrcasSolutionProvider } +.namespace NAnt.VSNet +{ + .class private auto ansi beforefieldinit OrcasSolution + extends NAnt.VSNet.WhidbeySolution + { + + // method line 4 + .method public hidebysig specialname rtspecialname + (null) cil managed + { + // Method begins at RVA 0x242c + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: ldarg.3 + IL_0004: ldarg.s 4 + IL_0006: ldarg.s 5 + IL_0008: call instance void(string, member:>, class [System]System.CodeDom.Compiler.TempFileCollection, member:>, member:>) + IL_000d: nop + IL_000e: ret + } // end of method OrcasSolution:: + + } // end of class NAnt.VSNet.OrcasSolution +} + +.namespace NAnt.MSBuild.Functions +{ + .class public auto ansi beforefieldinit MSBuildFunctions + extends [NAnt.Core]NAnt.Core.FunctionSetBase + { + .custom instance void [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute::.ctor(string, string) = ( + 01 00 07 6D 73 62 75 69 6C 64 07 4D 53 42 75 69 // ...msbuild.MSBui + 6C 64 00 00 ) // ld.. + + + // method line 5 + .method public hidebysig specialname rtspecialname + (null) cil managed + { + // Method begins at RVA 0x243c + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void [NAnt.Core]NAnt.Core.FunctionSetBase::.ctor( member:>, member:>) + IL_0008: nop + IL_0009: ret + } // end of method MSBuildFunctions:: + + // method line 6 + .method public hidebysig + instance default bool IsMsbuildProject (string project) cil managed + { + .custom instance void [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::.ctor(string) = ( + 01 00 12 69 73 2D 6D 73 62 75 69 6C 64 2D 70 72 // ...is-msbuild-pr + 6F 6A 65 63 74 00 00 ) // oject.. + + // Method begins at RVA 0x2448 + // Code size 75 (0x4b) + .maxstack 4 + .locals init ( + class [mscorlib]System.IO.StreamReader V_0, + class [System.Xml]System.Xml.XmlDocument V_1, + string V_2, + bool V_3) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: ldc.i4.3 + IL_0003: ldc.i4.1 + IL_0004: ldc.i4.3 + IL_0005: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::Open(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) + IL_000a: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_000f: stloc.0 + .try { // 0 + IL_0010: nop + IL_0011: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() + IL_0016: stloc.1 + IL_0017: ldloc.1 + IL_0018: ldloc.0 + IL_0019: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.TextReader) + IL_001e: ldloc.1 + IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNameTable class [System.Xml]System.Xml.XmlDocument::get_NameTable() + IL_0024: ldstr "http://schemas.microsoft.com/developer/msbuild/2003" + IL_0029: callvirt instance string class [System.Xml]System.Xml.XmlNameTable::Get(string) + IL_002e: stloc.2 + IL_002f: ldloc.2 + IL_0030: ldnull + IL_0031: ceq + IL_0033: ldc.i4.0 + IL_0034: ceq + IL_0036: stloc.3 + IL_0037: leave IL_0049 + + } // end .try 0 + finally { // 0 + IL_003c: ldloc.0 + IL_003d: brfalse IL_0048 + + IL_0042: ldloc.0 + IL_0043: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0048: endfinally + } // end handler 0 + IL_0049: ldloc.3 + IL_004a: ret + } // end of method MSBuildFunctions::IsMsbuildProject + + } // end of class NAnt.MSBuild.Functions.MSBuildFunctions +} + +.namespace NAnt.MSBuild.BuildEngine +{ + .class private auto ansi beforefieldinit BuildPropertyGroup + extends [mscorlib]System.Object + { + .field private object _obj + .field private class [mscorlib]System.Type _t + + // method line 7 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (object o) cil managed + { + // Method begins at RVA 0x24b0 + // Code size 32 (0x20) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld object NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_obj + IL_000e: ldarg.0 + IL_000f: ldarg.0 + IL_0010: ldfld object NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_obj + IL_0015: callvirt instance class [mscorlib]System.Type object::GetType() + IL_001a: stfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_t + IL_001f: ret + } // end of method BuildPropertyGroup::.ctor + + // method line 8 + .method public hidebysig + instance default void SetProperty (string propertyName, string propertyValue) cil managed + { + // Method begins at RVA 0x24d4 + // Code size 76 (0x4c) + .maxstack 6 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_t + IL_0007: ldstr "SetProperty" + IL_000c: ldc.i4.2 + IL_000d: newarr [mscorlib]System.Type + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldtoken [mscorlib]System.String + IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_001e: stelem.ref + IL_001f: dup + IL_0020: ldc.i4.1 + IL_0021: ldtoken [mscorlib]System.String + IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002b: stelem.ref + IL_002c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, class [mscorlib]System.Type[]) + IL_0031: ldarg.0 + IL_0032: ldfld object NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_obj + IL_0037: ldc.i4.2 + IL_0038: newarr [mscorlib]System.Object + IL_003d: dup + IL_003e: ldc.i4.0 + IL_003f: ldarg.1 + IL_0040: stelem.ref + IL_0041: dup + IL_0042: ldc.i4.1 + IL_0043: ldarg.2 + IL_0044: stelem.ref + IL_0045: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_004a: pop + IL_004b: ret + } // end of method BuildPropertyGroup::SetProperty + + } // end of class NAnt.MSBuild.BuildEngine.BuildPropertyGroup +} + +.namespace NAnt.MSBuild.BuildEngine +{ + .class private auto ansi beforefieldinit BuildItem + extends [mscorlib]System.Object + { + .field private object _obj + .field private class [mscorlib]System.Type _t + + // method line 9 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (object o) cil managed + { + // Method begins at RVA 0x252c + // Code size 32 (0x20) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj + IL_000e: ldarg.0 + IL_000f: ldarg.0 + IL_0010: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj + IL_0015: callvirt instance class [mscorlib]System.Type object::GetType() + IL_001a: stfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t + IL_001f: ret + } // end of method BuildItem::.ctor + + // method line 10 + .method public hidebysig specialname + instance default string get_FinalItemSpec () cil managed + { + // Method begins at RVA 0x2550 + // Code size 42 (0x2a) + .maxstack 3 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t + IL_0007: ldstr "FinalItemSpec" + IL_000c: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string) + IL_0011: ldarg.0 + IL_0012: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj + IL_0017: ldnull + IL_0018: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, object[]) + IL_001d: castclass [mscorlib]System.String + IL_0022: stloc.0 + IL_0023: br IL_0028 + + IL_0028: ldloc.0 + IL_0029: ret + } // end of method BuildItem::get_FinalItemSpec + + // method line 11 + .method public hidebysig + instance default string GetMetadata (string metadataName) cil managed + { + // Method begins at RVA 0x2588 + // Code size 51 (0x33) + .maxstack 6 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t + IL_0007: ldstr "GetMetadata" + IL_000c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0011: ldarg.0 + IL_0012: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj + IL_0017: ldc.i4.1 + IL_0018: newarr [mscorlib]System.Object + IL_001d: dup + IL_001e: ldc.i4.0 + IL_001f: ldarg.1 + IL_0020: stelem.ref + IL_0021: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_0026: castclass [mscorlib]System.String + IL_002b: stloc.0 + IL_002c: br IL_0031 + + IL_0031: ldloc.0 + IL_0032: ret + } // end of method BuildItem::GetMetadata + + // method line 12 + .method public hidebysig + instance default void SetMetadata (string metadataName, string metadataValue) cil managed + { + // Method begins at RVA 0x25c8 + // Code size 76 (0x4c) + .maxstack 6 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t + IL_0007: ldstr "SetMetadata" + IL_000c: ldc.i4.2 + IL_000d: newarr [mscorlib]System.Type + IL_0012: dup + IL_0013: ldc.i4.0 + IL_0014: ldtoken [mscorlib]System.String + IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_001e: stelem.ref + IL_001f: dup + IL_0020: ldc.i4.1 + IL_0021: ldtoken [mscorlib]System.String + IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002b: stelem.ref + IL_002c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, class [mscorlib]System.Type[]) + IL_0031: ldarg.0 + IL_0032: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj + IL_0037: ldc.i4.2 + IL_0038: newarr [mscorlib]System.Object + IL_003d: dup + IL_003e: ldc.i4.0 + IL_003f: ldarg.1 + IL_0040: stelem.ref + IL_0041: dup + IL_0042: ldc.i4.1 + IL_0043: ldarg.2 + IL_0044: stelem.ref + IL_0045: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_004a: pop + IL_004b: ret + } // end of method BuildItem::SetMetadata + + .property instance string FinalItemSpec () + { + .get instance default string NAnt.MSBuild.BuildEngine.BuildItem::get_FinalItemSpec () + } + } // end of class NAnt.MSBuild.BuildEngine.BuildItem +} + .namespace NAnt.MSBuild.BuildEngine { .class private auto ansi beforefieldinit BuildItemGroup @@ -185,11 +477,11 @@ .field private object _obj .field private class [mscorlib]System.Type _t - // method line 5 + // method line 13 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (object o) cil managed { - // Method begins at RVA 0x2439 + // Method begins at RVA 0x2620 // Code size 32 (0x20) .maxstack 8 IL_0000: ldarg.0 @@ -206,11 +498,11 @@ IL_001f: ret } // end of method BuildItemGroup::.ctor - // method line 6 + // method line 14 .method public hidebysig instance default class [mscorlib]System.Collections.IEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x245c + // Method begins at RVA 0x2644 // Code size 47 (0x2f) .maxstack 3 .locals init ( @@ -233,11 +525,11 @@ IL_002e: ret } // end of method BuildItemGroup::GetEnumerator - // method line 7 + // method line 15 .method public hidebysig instance default class NAnt.MSBuild.BuildEngine.BuildItem AddNewItem (string itemName, string itemInclude) cil managed { - // Method begins at RVA 0x2498 + // Method begins at RVA 0x2680 // Code size 87 (0x57) .maxstack 6 .locals init ( @@ -285,11 +577,11 @@ implements [mscorlib]System.Collections.IEnumerator { .field private class [mscorlib]System.Collections.IEnumerator _po - // method line 8 + // method line 16 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (class [mscorlib]System.Collections.IEnumerator po) cil managed { - // Method begins at RVA 0x24fb + // Method begins at RVA 0x26e3 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -301,11 +593,11 @@ IL_000e: ret } // end of method BuildItemEnumerator::.ctor - // method line 9 + // method line 17 .method public final virtual hidebysig newslot specialname instance default object get_Current () cil managed { - // Method begins at RVA 0x250c + // Method begins at RVA 0x26f4 // Code size 25 (0x19) .maxstack 1 .locals init ( @@ -322,11 +614,11 @@ IL_0018: ret } // end of method BuildItemEnumerator::get_Current - // method line 10 + // method line 18 .method public final virtual hidebysig newslot instance default bool MoveNext () cil managed { - // Method begins at RVA 0x2534 + // Method begins at RVA 0x271c // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -342,11 +634,11 @@ IL_0013: ret } // end of method BuildItemEnumerator::MoveNext - // method line 11 + // method line 19 .method public final virtual hidebysig newslot instance default void Reset () cil managed { - // Method begins at RVA 0x2554 + // Method begins at RVA 0x273c // Code size 13 (0xd) .maxstack 8 IL_0000: nop @@ -373,11 +665,11 @@ .field private object _obj .field private class [mscorlib]System.Type _t - // method line 12 + // method line 20 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.MSBuild.BuildEngine.Engine engine) cil managed { - // Method begins at RVA 0x2562 + // Method begins at RVA 0x274a // Code size 62 (0x3e) .maxstack 8 IL_0000: ldarg.0 @@ -404,11 +696,11 @@ IL_003d: ret } // end of method Project::.ctor - // method line 13 + // method line 21 .method public hidebysig specialname instance default string get_FullFileName () cil managed { - // Method begins at RVA 0x25a4 + // Method begins at RVA 0x278c // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -430,11 +722,11 @@ IL_0029: ret } // end of method Project::get_FullFileName - // method line 14 + // method line 22 .method public hidebysig specialname instance default void set_FullFileName (string 'value') cil managed { - // Method begins at RVA 0x25da + // Method begins at RVA 0x27c2 // Code size 31 (0x1f) .maxstack 8 IL_0000: nop @@ -450,11 +742,11 @@ IL_001e: ret } // end of method Project::set_FullFileName - // method line 15 + // method line 23 .method private hidebysig specialname instance default class [mscorlib]System.Reflection.PropertyInfo get_ToolsVersionPI () cil managed { - // Method begins at RVA 0x25fc + // Method begins at RVA 0x27e4 // Code size 25 (0x19) .maxstack 2 .locals init ( @@ -471,11 +763,11 @@ IL_0018: ret } // end of method Project::get_ToolsVersionPI - // method line 16 + // method line 24 .method public hidebysig specialname instance default string get_ToolsVersion () cil managed { - // Method begins at RVA 0x2624 + // Method begins at RVA 0x280c // Code size 57 (0x39) .maxstack 3 .locals init ( @@ -507,11 +799,11 @@ IL_0038: ret } // end of method Project::get_ToolsVersion - // method line 17 + // method line 25 .method public hidebysig specialname instance default void set_ToolsVersion (string 'value') cil managed { - // Method begins at RVA 0x266c + // Method begins at RVA 0x2854 // Code size 40 (0x28) .maxstack 4 .locals init ( @@ -536,11 +828,11 @@ IL_0027: ret } // end of method Project::set_ToolsVersion - // method line 18 + // method line 26 .method public hidebysig instance default void LoadXml (string projectXml) cil managed { - // Method begins at RVA 0x26a0 + // Method begins at RVA 0x2888 // Code size 59 (0x3b) .maxstack 8 IL_0000: nop @@ -568,11 +860,11 @@ IL_003a: ret } // end of method Project::LoadXml - // method line 19 + // method line 27 .method public hidebysig specialname instance default class NAnt.MSBuild.BuildEngine.BuildPropertyGroup get_GlobalProperties () cil managed { - // Method begins at RVA 0x26dc + // Method begins at RVA 0x28c4 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -594,11 +886,11 @@ IL_0029: ret } // end of method Project::get_GlobalProperties - // method line 20 + // method line 28 .method public hidebysig instance default string GetEvaluatedProperty (string propertyName) cil managed { - // Method begins at RVA 0x2714 + // Method begins at RVA 0x28fc // Code size 51 (0x33) .maxstack 6 .locals init ( @@ -625,11 +917,11 @@ IL_0032: ret } // end of method Project::GetEvaluatedProperty - // method line 21 + // method line 29 .method public hidebysig instance default class NAnt.MSBuild.BuildEngine.BuildItemGroup GetEvaluatedItemsByName (string itemName) cil managed { - // Method begins at RVA 0x2754 + // Method begins at RVA 0x293c // Code size 51 (0x33) .maxstack 6 .locals init ( @@ -656,311 +948,104 @@ IL_0032: ret } // end of method Project::GetEvaluatedItemsByName - // method line 22 - .method public hidebysig - instance default void RemoveItemsByName (string itemName) cil managed - { - // Method begins at RVA 0x2793 - // Code size 40 (0x28) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.Project::_t - IL_0007: ldstr "RemoveItemsByName" - IL_000c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0011: ldarg.0 - IL_0012: ldfld object NAnt.MSBuild.BuildEngine.Project::_obj - IL_0017: ldc.i4.1 - IL_0018: newarr [mscorlib]System.Object - IL_001d: dup - IL_001e: ldc.i4.0 - IL_001f: ldarg.1 - IL_0020: stelem.ref - IL_0021: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_0026: pop - IL_0027: ret - } // end of method Project::RemoveItemsByName - - // method line 23 - .method public hidebysig - instance default class NAnt.MSBuild.BuildEngine.BuildItemGroup AddNewItemGroup () cil managed - { - // Method begins at RVA 0x27bc - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - class NAnt.MSBuild.BuildEngine.BuildItemGroup V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.Project::_t - IL_0007: ldstr "AddNewItemGroup" - IL_000c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0011: ldarg.0 - IL_0012: ldfld object NAnt.MSBuild.BuildEngine.Project::_obj - IL_0017: ldnull - IL_0018: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_001d: newobj instance void class NAnt.MSBuild.BuildEngine.BuildItemGroup::'.ctor'(object) - IL_0022: stloc.0 - IL_0023: br IL_0028 - - IL_0028: ldloc.0 - IL_0029: ret - } // end of method Project::AddNewItemGroup - - // method line 24 - .method public hidebysig - instance default bool Build () cil managed - { - // Method begins at RVA 0x27f4 - // Code size 48 (0x30) - .maxstack 3 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.Project::_t - IL_0007: ldstr "Build" - IL_000c: ldc.i4.0 - IL_000d: newarr [mscorlib]System.Type - IL_0012: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, class [mscorlib]System.Type[]) - IL_0017: ldarg.0 - IL_0018: ldfld object NAnt.MSBuild.BuildEngine.Project::_obj - IL_001d: ldnull - IL_001e: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_0023: unbox.any [mscorlib]System.Boolean - IL_0028: stloc.0 - IL_0029: br IL_002e - - IL_002e: ldloc.0 - IL_002f: ret - } // end of method Project::Build - - .property instance string FullFileName () - { - .get instance default string NAnt.MSBuild.BuildEngine.Project::get_FullFileName () - .set instance default void NAnt.MSBuild.BuildEngine.Project::set_FullFileName (string 'value') - } - .property instance class [mscorlib]System.Reflection.PropertyInfo ToolsVersionPI () - { - .get instance default class [mscorlib]System.Reflection.PropertyInfo NAnt.MSBuild.BuildEngine.Project::get_ToolsVersionPI () - } - .property instance string ToolsVersion () - { - .get instance default string NAnt.MSBuild.BuildEngine.Project::get_ToolsVersion () - .set instance default void NAnt.MSBuild.BuildEngine.Project::set_ToolsVersion (string 'value') - } - .property instance class NAnt.MSBuild.BuildEngine.BuildPropertyGroup GlobalProperties () - { - .get instance default class NAnt.MSBuild.BuildEngine.BuildPropertyGroup NAnt.MSBuild.BuildEngine.Project::get_GlobalProperties () - } - } // end of class NAnt.MSBuild.BuildEngine.Project -} - -.namespace NAnt.MSBuild.BuildEngine -{ - .class private auto ansi beforefieldinit BuildItem - extends [mscorlib]System.Object - { - .field private object _obj - .field private class [mscorlib]System.Type _t - - // method line 25 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (object o) cil managed - { - // Method begins at RVA 0x2830 - // Code size 32 (0x20) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj - IL_000e: ldarg.0 - IL_000f: ldarg.0 - IL_0010: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj - IL_0015: callvirt instance class [mscorlib]System.Type object::GetType() - IL_001a: stfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t - IL_001f: ret - } // end of method BuildItem::.ctor - - // method line 26 - .method public hidebysig specialname - instance default string get_FinalItemSpec () cil managed - { - // Method begins at RVA 0x2854 - // Code size 42 (0x2a) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t - IL_0007: ldstr "FinalItemSpec" - IL_000c: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string) - IL_0011: ldarg.0 - IL_0012: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj - IL_0017: ldnull - IL_0018: callvirt instance object class [mscorlib]System.Reflection.PropertyInfo::GetValue(object, object[]) - IL_001d: castclass [mscorlib]System.String - IL_0022: stloc.0 - IL_0023: br IL_0028 - - IL_0028: ldloc.0 - IL_0029: ret - } // end of method BuildItem::get_FinalItemSpec - - // method line 27 - .method public hidebysig - instance default string GetMetadata (string metadataName) cil managed - { - // Method begins at RVA 0x288c - // Code size 51 (0x33) - .maxstack 6 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t - IL_0007: ldstr "GetMetadata" - IL_000c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) - IL_0011: ldarg.0 - IL_0012: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj - IL_0017: ldc.i4.1 - IL_0018: newarr [mscorlib]System.Object - IL_001d: dup - IL_001e: ldc.i4.0 - IL_001f: ldarg.1 - IL_0020: stelem.ref - IL_0021: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_0026: castclass [mscorlib]System.String - IL_002b: stloc.0 - IL_002c: br IL_0031 - - IL_0031: ldloc.0 - IL_0032: ret - } // end of method BuildItem::GetMetadata - - // method line 28 - .method public hidebysig - instance default void SetMetadata (string metadataName, string metadataValue) cil managed - { - // Method begins at RVA 0x28cc - // Code size 76 (0x4c) - .maxstack 6 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildItem::_t - IL_0007: ldstr "SetMetadata" - IL_000c: ldc.i4.2 - IL_000d: newarr [mscorlib]System.Type - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldtoken [mscorlib]System.String - IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_001e: stelem.ref - IL_001f: dup - IL_0020: ldc.i4.1 - IL_0021: ldtoken [mscorlib]System.String - IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002b: stelem.ref - IL_002c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, class [mscorlib]System.Type[]) - IL_0031: ldarg.0 - IL_0032: ldfld object NAnt.MSBuild.BuildEngine.BuildItem::_obj - IL_0037: ldc.i4.2 - IL_0038: newarr [mscorlib]System.Object - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldarg.1 - IL_0040: stelem.ref - IL_0041: dup - IL_0042: ldc.i4.1 - IL_0043: ldarg.2 - IL_0044: stelem.ref - IL_0045: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_004a: pop - IL_004b: ret - } // end of method BuildItem::SetMetadata - - .property instance string FinalItemSpec () - { - .get instance default string NAnt.MSBuild.BuildEngine.BuildItem::get_FinalItemSpec () - } - } // end of class NAnt.MSBuild.BuildEngine.BuildItem -} - -.namespace NAnt.MSBuild.BuildEngine -{ - .class private auto ansi beforefieldinit BuildPropertyGroup - extends [mscorlib]System.Object - { - .field private object _obj - .field private class [mscorlib]System.Type _t - - // method line 29 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (object o) cil managed + // method line 30 + .method public hidebysig + instance default void RemoveItemsByName (string itemName) cil managed { - // Method begins at RVA 0x2924 - // Code size 32 (0x20) + // Method begins at RVA 0x297b + // Code size 40 (0x28) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld object NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_obj - IL_000e: ldarg.0 - IL_000f: ldarg.0 - IL_0010: ldfld object NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_obj - IL_0015: callvirt instance class [mscorlib]System.Type object::GetType() - IL_001a: stfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_t - IL_001f: ret - } // end of method BuildPropertyGroup::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.Project::_t + IL_0007: ldstr "RemoveItemsByName" + IL_000c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0011: ldarg.0 + IL_0012: ldfld object NAnt.MSBuild.BuildEngine.Project::_obj + IL_0017: ldc.i4.1 + IL_0018: newarr [mscorlib]System.Object + IL_001d: dup + IL_001e: ldc.i4.0 + IL_001f: ldarg.1 + IL_0020: stelem.ref + IL_0021: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_0026: pop + IL_0027: ret + } // end of method Project::RemoveItemsByName - // method line 30 + // method line 31 .method public hidebysig - instance default void SetProperty (string propertyName, string propertyValue) cil managed + instance default class NAnt.MSBuild.BuildEngine.BuildItemGroup AddNewItemGroup () cil managed { - // Method begins at RVA 0x2948 - // Code size 76 (0x4c) - .maxstack 6 + // Method begins at RVA 0x29a4 + // Code size 42 (0x2a) + .maxstack 3 + .locals init ( + class NAnt.MSBuild.BuildEngine.BuildItemGroup V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_t - IL_0007: ldstr "SetProperty" - IL_000c: ldc.i4.2 + IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.Project::_t + IL_0007: ldstr "AddNewItemGroup" + IL_000c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string) + IL_0011: ldarg.0 + IL_0012: ldfld object NAnt.MSBuild.BuildEngine.Project::_obj + IL_0017: ldnull + IL_0018: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_001d: newobj instance void class NAnt.MSBuild.BuildEngine.BuildItemGroup::'.ctor'(object) + IL_0022: stloc.0 + IL_0023: br IL_0028 + + IL_0028: ldloc.0 + IL_0029: ret + } // end of method Project::AddNewItemGroup + + // method line 32 + .method public hidebysig + instance default bool Build () cil managed + { + // Method begins at RVA 0x29dc + // Code size 48 (0x30) + .maxstack 3 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.MSBuild.BuildEngine.Project::_t + IL_0007: ldstr "Build" + IL_000c: ldc.i4.0 IL_000d: newarr [mscorlib]System.Type - IL_0012: dup - IL_0013: ldc.i4.0 - IL_0014: ldtoken [mscorlib]System.String - IL_0019: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_001e: stelem.ref - IL_001f: dup - IL_0020: ldc.i4.1 - IL_0021: ldtoken [mscorlib]System.String - IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002b: stelem.ref - IL_002c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, class [mscorlib]System.Type[]) - IL_0031: ldarg.0 - IL_0032: ldfld object NAnt.MSBuild.BuildEngine.BuildPropertyGroup::_obj - IL_0037: ldc.i4.2 - IL_0038: newarr [mscorlib]System.Object - IL_003d: dup - IL_003e: ldc.i4.0 - IL_003f: ldarg.1 - IL_0040: stelem.ref - IL_0041: dup - IL_0042: ldc.i4.1 - IL_0043: ldarg.2 - IL_0044: stelem.ref - IL_0045: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) - IL_004a: pop - IL_004b: ret - } // end of method BuildPropertyGroup::SetProperty + IL_0012: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, class [mscorlib]System.Type[]) + IL_0017: ldarg.0 + IL_0018: ldfld object NAnt.MSBuild.BuildEngine.Project::_obj + IL_001d: ldnull + IL_001e: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, object[]) + IL_0023: unbox.any [mscorlib]System.Boolean + IL_0028: stloc.0 + IL_0029: br IL_002e - } // end of class NAnt.MSBuild.BuildEngine.BuildPropertyGroup + IL_002e: ldloc.0 + IL_002f: ret + } // end of method Project::Build + + .property instance string FullFileName () + { + .get instance default string NAnt.MSBuild.BuildEngine.Project::get_FullFileName () + .set instance default void NAnt.MSBuild.BuildEngine.Project::set_FullFileName (string 'value') + } + .property instance class [mscorlib]System.Reflection.PropertyInfo ToolsVersionPI () + { + .get instance default class [mscorlib]System.Reflection.PropertyInfo NAnt.MSBuild.BuildEngine.Project::get_ToolsVersionPI () + } + .property instance string ToolsVersion () + { + .get instance default string NAnt.MSBuild.BuildEngine.Project::get_ToolsVersion () + .set instance default void NAnt.MSBuild.BuildEngine.Project::set_ToolsVersion (string 'value') + } + .property instance class NAnt.MSBuild.BuildEngine.BuildPropertyGroup GlobalProperties () + { + .get instance default class NAnt.MSBuild.BuildEngine.BuildPropertyGroup NAnt.MSBuild.BuildEngine.Project::get_GlobalProperties () + } + } // end of class NAnt.MSBuild.BuildEngine.Project } .namespace NAnt.MSBuild.BuildEngine @@ -972,11 +1057,11 @@ .field private class [mscorlib]System.Type _t .field private class [mscorlib]System.Reflection.Assembly _a - // method line 31 + // method line 33 .method private hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x29a0 + // Method begins at RVA 0x2a18 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -985,11 +1070,11 @@ IL_0007: ret } // end of method Engine::.ctor - // method line 32 + // method line 34 .method public static hidebysig (null) cil managed { - // Method begins at RVA 0x29ac + // Method begins at RVA 0x2a24 // Code size 34 (0x22) .maxstack 2 .locals init ( @@ -1012,33 +1097,33 @@ IL_0021: ret } // end of method Engine:: - // method line 33 + // method line 35 .method private static hidebysig default void executionAD_AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed { - // Method begins at RVA 0x29da + // Method begins at RVA 0x2a52 // Code size 2 (0x2) .maxstack 8 IL_0000: nop IL_0001: ret } // end of method Engine::executionAD_AssemblyLoad - // method line 34 + // method line 36 .method private static hidebysig default void CurrentDomain_AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed { - // Method begins at RVA 0x29dd + // Method begins at RVA 0x2a55 // Code size 2 (0x2) .maxstack 8 IL_0000: nop IL_0001: ret } // end of method Engine::CurrentDomain_AssemblyLoad - // method line 35 + // method line 37 .method assembly hidebysig specialname instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed { - // Method begins at RVA 0x29e0 + // Method begins at RVA 0x2a58 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1053,11 +1138,11 @@ IL_000e: ret } // end of method Engine::get_Assembly - // method line 36 + // method line 38 .method assembly hidebysig specialname instance default object get_Object () cil managed { - // Method begins at RVA 0x29fc + // Method begins at RVA 0x2a74 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1072,11 +1157,11 @@ IL_000e: ret } // end of method Engine::get_Object - // method line 37 + // method line 39 .method public hidebysig instance default void UnregisterAllLoggers () cil managed { - // Method begins at RVA 0x2a17 + // Method begins at RVA 0x2a8f // Code size 31 (0x1f) .maxstack 8 IL_0000: nop @@ -1092,11 +1177,11 @@ IL_001e: ret } // end of method Engine::UnregisterAllLoggers - // method line 38 + // method line 40 .method public hidebysig instance default void RegisterLogger (object logger) cil managed { - // Method begins at RVA 0x2a37 + // Method begins at RVA 0x2aaf // Code size 40 (0x28) .maxstack 8 IL_0000: nop @@ -1131,11 +1216,11 @@ .field public member:> framework .field public class NAnt.MSBuild.BuildEngine.Engine engine - // method line 39 + // method line 41 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2a60 + // Method begins at RVA 0x2ad8 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -1143,11 +1228,11 @@ IL_0006: ret } // end of method Loader::.ctor - // method line 40 + // method line 42 .method public hidebysig instance default void DoLoad () cil managed { - // Method begins at RVA 0x2a68 + // Method begins at RVA 0x2ae0 // Code size 331 (0x14b) .maxstack 5 .locals init ( @@ -1258,114 +1343,46 @@ } // end of class NAnt.MSBuild.BuildEngine.Engine } -.namespace NAnt.MSBuild.Functions +.namespace NAnt.VSNet { - .class public auto ansi beforefieldinit MSBuildFunctions - extends [NAnt.Core]NAnt.Core.FunctionSetBase + .class private auto ansi beforefieldinit WhidbeySolution + extends [NAnt.VSNetTasks]NAnt.VSNet.SolutionBase { - .custom instance void [NAnt.Core]NAnt.Core.Attributes.FunctionSetAttribute::.ctor(string, string) = ( - 01 00 07 6D 73 62 75 69 6C 64 07 4D 53 42 75 69 // ...msbuild.MSBui - 6C 64 00 00 ) // ld.. - + .field private static literal string SolutionFolder_GUID = "{2150E333-8FDC-42A3-9474-1A3956D46DE8}" - // method line 41 + // method line 43 .method public hidebysig specialname rtspecialname (null) cil managed { - // Method begins at RVA 0x2bbf - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void [NAnt.Core]NAnt.Core.FunctionSetBase::.ctor( member:>, member:>) - IL_0008: nop - IL_0009: ret - } // end of method MSBuildFunctions:: - - // method line 42 - .method public hidebysig - instance default bool IsMsbuildProject (string project) cil managed - { - .custom instance void [NAnt.Core]NAnt.Core.Attributes.FunctionAttribute::.ctor(string) = ( - 01 00 12 69 73 2D 6D 73 62 75 69 6C 64 2D 70 72 // ...is-msbuild-pr - 6F 6A 65 63 74 00 00 ) // oject.. - - // Method begins at RVA 0x2bcc - // Code size 75 (0x4b) - .maxstack 4 - .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - class [System.Xml]System.Xml.XmlDocument V_1, - string V_2, - bool V_3) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: ldc.i4.3 - IL_0003: ldc.i4.1 - IL_0004: ldc.i4.3 - IL_0005: call class [mscorlib]System.IO.FileStream class [mscorlib]System.IO.File::Open(string, valuetype [mscorlib]System.IO.FileMode, valuetype [mscorlib]System.IO.FileAccess, valuetype [mscorlib]System.IO.FileShare) - IL_000a: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) - IL_000f: stloc.0 - .try { // 0 - IL_0010: nop - IL_0011: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0016: stloc.1 - IL_0017: ldloc.1 - IL_0018: ldloc.0 - IL_0019: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.TextReader) - IL_001e: ldloc.1 - IL_001f: callvirt instance class [System.Xml]System.Xml.XmlNameTable class [System.Xml]System.Xml.XmlDocument::get_NameTable() - IL_0024: ldstr "http://schemas.microsoft.com/developer/msbuild/2003" - IL_0029: callvirt instance string class [System.Xml]System.Xml.XmlNameTable::Get(string) - IL_002e: stloc.2 - IL_002f: ldloc.2 - IL_0030: ldnull - IL_0031: ceq - IL_0033: ldc.i4.0 - IL_0034: ceq - IL_0036: stloc.3 - IL_0037: leave IL_0049 - - } // end .try 0 - finally { // 0 - IL_003c: ldloc.0 - IL_003d: brfalse IL_0048 + // Method begins at RVA 0x20f0 + } // end of method WhidbeySolution:: - IL_0042: ldloc.0 - IL_0043: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0048: endfinally - } // end handler 0 - IL_0049: ldloc.3 - IL_004a: ret - } // end of method MSBuildFunctions::IsMsbuildProject - - } // end of class NAnt.MSBuild.Functions.MSBuildFunctions + } // end of class NAnt.VSNet.WhidbeySolution } .namespace NAnt.VSNet { - .class private auto ansi beforefieldinit RosarioSolutionProvider + .class private auto ansi beforefieldinit WhidbeySolutionProvider extends [mscorlib]System.Object implements [NAnt.VSNetTasks]NAnt.VSNet.Extensibility.ISolutionBuildProvider, [NAnt.Core]NAnt.Core.Extensibility.IPlugin { - // method line 43 + // method line 44 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2c34 + // Method begins at RVA 0x2c37 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 IL_0001: call instance void object::'.ctor'() IL_0006: ret - } // end of method RosarioSolutionProvider::.ctor + } // end of method WhidbeySolutionProvider::.ctor - // method line 44 + // method line 45 .method public final virtual hidebysig newslot instance default int32 IsSupported (string fileContents) cil managed { - // Method begins at RVA 0x2c3c + // Method begins at RVA 0x2c40 // Code size 103 (0x67) .maxstack 2 .locals init ( @@ -1400,7 +1417,7 @@ IL_003f: callvirt instance string class [System]System.Text.RegularExpressions.Capture::get_Value() IL_0044: stloc.3 IL_0045: ldloc.3 - IL_0046: ldstr "11.00" + IL_0046: ldstr "9.00" IL_004b: call bool string::op_Equality(string, string) IL_0050: brfalse IL_005e @@ -1415,35 +1432,19 @@ IL_0065: ldloc.2 IL_0066: ret - } // end of method RosarioSolutionProvider::IsSupported + } // end of method WhidbeySolutionProvider::IsSupported - // method line 45 + // method line 46 .method public final virtual hidebysig newslot (null) cil managed { - // Method begins at RVA 0x2cb0 - } // end of method RosarioSolutionProvider:: + // Method begins at RVA 0x2cb4 + } // end of method WhidbeySolutionProvider:: - } // end of class NAnt.VSNet.RosarioSolutionProvider + } // end of class NAnt.VSNet.WhidbeySolutionProvider } .namespace NAnt.VSNet { - .class private auto ansi beforefieldinit RosarioSolution - extends NAnt.VSNet.WhidbeySolution - { - - // method line 46 - .method public hidebysig specialname rtspecialname - (null) cil managed - { - // Method begins at RVA 0x2cd1 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: ldarg.3 - IL_0004: ldarg.s 4 - IL_0006: ldarg.s 5 - IL_0008: call Could not load signature of NAnt.VSNet.WhidbeySolution:.ctor due to: Could not load file or assembly or one of its dependencies. assembly:NAnt.VSNetTasks, V \ No newline at end of file + .class private auto ansi beforefieldinit RosarioSolutionProvider + ext \ No newline at end of file /usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml differs (XML document text) --- old//usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml 2018-06-14 00:00:00.000000000 +0000 +++ new//usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml 2018-06-14 00:00:00.000000000 +0000 @@ -26,15 +26,46 @@ True, if it is msbuild project, False otherwise. + + + Analyses Microsoft Visual Studio .NET 2005 (Whidbey) solution files. + + Analyses Microsoft Visual Studio .NET 2010 (Rosario) solution files. - + - Analyses Microsoft Visual Studio .NET 2005 (Whidbey) solution files. + Determines the version of the target msbuild file. + + + This method identifies the msbuild version by reviewing the following tags in order: + + + + <ProductVersion> + + + <TargetFrameworkVersion> + + + ToolsVersion attribute + + + + + A representing the msbuild project file. + + + A enum value indicating the msbuild project + file version. + + + version string found in the tags listed above is not recognized. + @@ -77,36 +108,5 @@ Test method. - - - Determines the version of the target msbuild file. - - - - This method identifies the msbuild version by reviewing the following tags in order: - - - - <ProductVersion> - - - <TargetFrameworkVersion> - - - ToolsVersion attribute - - - - - A representing the msbuild project file. - - - A enum value indicating the msbuild project - file version. - - - version string found in the tags listed above is not recognized. - - overalldiffered=1 (not bit-by-bit identical) overall=1